@box/box-ai-content-answers 0.150.0 → 0.152.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/chunks/markdown.module.js +19 -0
  2. package/dist/esm/lib/components/answer/answer.js +123 -127
  3. package/dist/esm/lib/components/answer/messages.js +4 -0
  4. package/dist/esm/lib/components/answer/thumb-buttons.js +31 -31
  5. package/dist/esm/lib/components/common/inline-citation.js +47 -0
  6. package/dist/esm/lib/components/common/markdown-react.js +81 -59
  7. package/dist/esm/lib/components/common/markdown.js +723 -721
  8. package/dist/esm/lib/utils/inlineCitationsUtils.js +36 -0
  9. package/dist/i18n/bn-IN.js +1 -0
  10. package/dist/i18n/bn-IN.properties +2 -0
  11. package/dist/i18n/da-DK.js +1 -0
  12. package/dist/i18n/da-DK.properties +2 -0
  13. package/dist/i18n/de-DE.js +1 -0
  14. package/dist/i18n/de-DE.properties +2 -0
  15. package/dist/i18n/en-AU.js +1 -0
  16. package/dist/i18n/en-AU.properties +2 -0
  17. package/dist/i18n/en-CA.js +1 -0
  18. package/dist/i18n/en-CA.properties +2 -0
  19. package/dist/i18n/en-GB.js +1 -0
  20. package/dist/i18n/en-GB.properties +2 -0
  21. package/dist/i18n/en-US.js +1 -0
  22. package/dist/i18n/en-US.properties +2 -0
  23. package/dist/i18n/en-x-pseudo.js +79 -78
  24. package/dist/i18n/en-x-pseudo.properties +80 -78
  25. package/dist/i18n/es-419.js +1 -0
  26. package/dist/i18n/es-419.properties +2 -0
  27. package/dist/i18n/es-ES.js +1 -0
  28. package/dist/i18n/es-ES.properties +2 -0
  29. package/dist/i18n/fi-FI.js +1 -0
  30. package/dist/i18n/fi-FI.properties +2 -0
  31. package/dist/i18n/fr-CA.js +1 -0
  32. package/dist/i18n/fr-CA.properties +2 -0
  33. package/dist/i18n/fr-FR.js +1 -0
  34. package/dist/i18n/fr-FR.properties +2 -0
  35. package/dist/i18n/hi-IN.js +1 -0
  36. package/dist/i18n/hi-IN.properties +2 -0
  37. package/dist/i18n/it-IT.js +1 -0
  38. package/dist/i18n/it-IT.properties +2 -0
  39. package/dist/i18n/ja-JP.js +1 -0
  40. package/dist/i18n/ja-JP.properties +2 -0
  41. package/dist/i18n/json/src/lib/components/answer/messages.json +1 -1
  42. package/dist/i18n/ko-KR.js +1 -0
  43. package/dist/i18n/ko-KR.properties +2 -0
  44. package/dist/i18n/nb-NO.js +1 -0
  45. package/dist/i18n/nb-NO.properties +2 -0
  46. package/dist/i18n/nl-NL.js +1 -0
  47. package/dist/i18n/nl-NL.properties +2 -0
  48. package/dist/i18n/pl-PL.js +1 -0
  49. package/dist/i18n/pl-PL.properties +2 -0
  50. package/dist/i18n/pt-BR.js +1 -0
  51. package/dist/i18n/pt-BR.properties +2 -0
  52. package/dist/i18n/ru-RU.js +1 -0
  53. package/dist/i18n/ru-RU.properties +2 -0
  54. package/dist/i18n/sv-SE.js +1 -0
  55. package/dist/i18n/sv-SE.properties +2 -0
  56. package/dist/i18n/tr-TR.js +1 -0
  57. package/dist/i18n/tr-TR.properties +2 -0
  58. package/dist/i18n/zh-CN.js +1 -0
  59. package/dist/i18n/zh-CN.properties +2 -0
  60. package/dist/i18n/zh-TW.js +1 -0
  61. package/dist/i18n/zh-TW.properties +2 -0
  62. package/dist/styles/markdown.css +1 -7
  63. package/dist/styles/markdown2.css +7 -0
  64. package/dist/types/lib/components/answer/answer.d.ts +1 -2
  65. package/dist/types/lib/components/answer/messages.d.ts +5 -0
  66. package/dist/types/lib/components/answer/stories/shared.d.ts +15 -3
  67. package/dist/types/lib/components/common/inline-citation.d.ts +7 -0
  68. package/dist/types/lib/utils/inlineCitationsUtils.d.ts +17 -0
  69. package/package.json +3 -3
  70. package/dist/esm/lib/utils/getBoxLinks.js +0 -13
  71. package/dist/types/lib/utils/getBoxLinks.d.ts +0 -15
@@ -1,5 +1,7 @@
1
1
  import { Remarkable as wt } from "remarkable";
2
- import '../../../../styles/markdown.css';function Rt(n) {
2
+ import { isBoxDomain as Rt } from "../../utils/inlineCitationsUtils.js";
3
+ import { s as fe } from "../../../../chunks/markdown.module.js";
4
+ import '../../../../styles/markdown2.css';function At(n) {
3
5
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
4
6
  }
5
7
  function ut(n) {
@@ -8,8 +10,8 @@ function ut(n) {
8
10
  } : n instanceof Set && (n.add = n.clear = n.delete = function() {
9
11
  throw new Error("set is read-only");
10
12
  }), Object.freeze(n), Object.getOwnPropertyNames(n).forEach((e) => {
11
- const t = n[e], s = typeof t;
12
- (s === "object" || s === "function") && !Object.isFrozen(t) && ut(t);
13
+ const t = n[e], a = typeof t;
14
+ (a === "object" || a === "function") && !Object.isFrozen(t) && ut(t);
13
15
  }), n;
14
16
  }
15
17
  class Tn {
@@ -28,27 +30,27 @@ function gt(n) {
28
30
  }
29
31
  function ue(n, ...e) {
30
32
  const t = /* @__PURE__ */ Object.create(null);
31
- for (const s in n)
32
- t[s] = n[s];
33
- return e.forEach(function(s) {
34
- for (const l in s)
35
- t[l] = s[l];
33
+ for (const a in n)
34
+ t[a] = n[a];
35
+ return e.forEach(function(a) {
36
+ for (const c in a)
37
+ t[c] = a[c];
36
38
  }), /** @type {T} */
37
39
  t;
38
40
  }
39
- const At = "</span>", Sn = (n) => !!n.scope, Mt = (n, { prefix: e }) => {
41
+ const Mt = "</span>", Sn = (n) => !!n.scope, Ct = (n, { prefix: e }) => {
40
42
  if (n.startsWith("language:"))
41
43
  return n.replace("language:", "language-");
42
44
  if (n.includes(".")) {
43
45
  const t = n.split(".");
44
46
  return [
45
47
  `${e}${t.shift()}`,
46
- ...t.map((s, l) => `${s}${"_".repeat(l + 1)}`)
48
+ ...t.map((a, c) => `${a}${"_".repeat(c + 1)}`)
47
49
  ].join(" ");
48
50
  }
49
51
  return `${e}${n}`;
50
52
  };
51
- class Ct {
53
+ class It {
52
54
  /**
53
55
  * Creates a new HTMLRenderer
54
56
  *
@@ -71,7 +73,7 @@ class Ct {
71
73
  * @param {Node} node */
72
74
  openNode(e) {
73
75
  if (!Sn(e)) return;
74
- const t = Mt(
76
+ const t = Ct(
75
77
  e.scope,
76
78
  { prefix: this.classPrefix }
77
79
  );
@@ -82,7 +84,7 @@ class Ct {
82
84
  *
83
85
  * @param {Node} node */
84
86
  closeNode(e) {
85
- Sn(e) && (this.buffer += At);
87
+ Sn(e) && (this.buffer += Mt);
86
88
  }
87
89
  /**
88
90
  * returns the accumulated buffer
@@ -144,7 +146,7 @@ class fn {
144
146
  * @param {Node} node
145
147
  */
146
148
  static _walk(e, t) {
147
- return typeof t == "string" ? e.addText(t) : t.children && (e.openNode(t), t.children.forEach((s) => this._walk(e, s)), e.closeNode(t)), e;
149
+ return typeof t == "string" ? e.addText(t) : t.children && (e.openNode(t), t.children.forEach((a) => this._walk(e, a)), e.closeNode(t)), e;
148
150
  }
149
151
  /**
150
152
  * @param {Node} node
@@ -155,7 +157,7 @@ class fn {
155
157
  }));
156
158
  }
157
159
  }
158
- class It extends fn {
160
+ class kt extends fn {
159
161
  /**
160
162
  * @param {*} options
161
163
  */
@@ -180,64 +182,64 @@ class It extends fn {
180
182
  * @param {string} name
181
183
  */
182
184
  __addSublanguage(e, t) {
183
- const s = e.root;
184
- t && (s.scope = `language:${t}`), this.add(s);
185
+ const a = e.root;
186
+ t && (a.scope = `language:${t}`), this.add(a);
185
187
  }
186
188
  toHTML() {
187
- return new Ct(this, this.options).value();
189
+ return new It(this, this.options).value();
188
190
  }
189
191
  finalize() {
190
192
  return this.closeAllNodes(), !0;
191
193
  }
192
194
  }
193
- function ye(n) {
195
+ function Te(n) {
194
196
  return n ? typeof n == "string" ? n : n.source : null;
195
197
  }
196
198
  function bt(n) {
197
199
  return pe("(?=", n, ")");
198
200
  }
199
- function kt(n) {
201
+ function xt(n) {
200
202
  return pe("(?:", n, ")*");
201
203
  }
202
- function xt(n) {
204
+ function Lt(n) {
203
205
  return pe("(?:", n, ")?");
204
206
  }
205
207
  function pe(...n) {
206
- return n.map((t) => ye(t)).join("");
208
+ return n.map((t) => Te(t)).join("");
207
209
  }
208
- function Lt(n) {
210
+ function Dt(n) {
209
211
  const e = n[n.length - 1];
210
212
  return typeof e == "object" && e.constructor === Object ? (n.splice(n.length - 1, 1), e) : {};
211
213
  }
212
214
  function hn(...n) {
213
- return "(" + (Lt(n).capture ? "" : "?:") + n.map((s) => ye(s)).join("|") + ")";
215
+ return "(" + (Dt(n).capture ? "" : "?:") + n.map((a) => Te(a)).join("|") + ")";
214
216
  }
215
217
  function pt(n) {
216
218
  return new RegExp(n.toString() + "|").exec("").length - 1;
217
219
  }
218
- function Dt(n, e) {
220
+ function Bt(n, e) {
219
221
  const t = n && n.exec(e);
220
222
  return t && t.index === 0;
221
223
  }
222
- const Bt = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
224
+ const Ut = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
223
225
  function Nn(n, { joinWith: e }) {
224
226
  let t = 0;
225
- return n.map((s) => {
227
+ return n.map((a) => {
226
228
  t += 1;
227
- const l = t;
228
- let o = ye(s), i = "";
229
+ const c = t;
230
+ let o = Te(a), s = "";
229
231
  for (; o.length > 0; ) {
230
- const r = Bt.exec(o);
232
+ const r = Ut.exec(o);
231
233
  if (!r) {
232
- i += o;
234
+ s += o;
233
235
  break;
234
236
  }
235
- i += o.substring(0, r.index), o = o.substring(r.index + r[0].length), r[0][0] === "\\" && r[1] ? i += "\\" + String(Number(r[1]) + l) : (i += r[0], r[0] === "(" && t++);
237
+ s += o.substring(0, r.index), o = o.substring(r.index + r[0].length), r[0][0] === "\\" && r[1] ? s += "\\" + String(Number(r[1]) + c) : (s += r[0], r[0] === "(" && t++);
236
238
  }
237
- return i;
238
- }).map((s) => `(${s})`).join(e);
239
+ return s;
240
+ }).map((a) => `(${a})`).join(e);
239
241
  }
240
- const Ut = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\\d+)?", Et = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", ft = "\\b(0b[01]+)", Pt = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Ft = (n = {}) => {
242
+ const Pt = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\\d+)?", Et = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", ft = "\\b(0b[01]+)", Ft = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", $t = (n = {}) => {
241
243
  const e = /^#![ ]*\//;
242
244
  return n.binary && (n.begin = pe(
243
245
  e,
@@ -250,29 +252,29 @@ const Ut = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\
250
252
  end: /$/,
251
253
  relevance: 0,
252
254
  /** @type {ModeCallback} */
253
- "on:begin": (t, s) => {
254
- t.index !== 0 && s.ignoreMatch();
255
+ "on:begin": (t, a) => {
256
+ t.index !== 0 && a.ignoreMatch();
255
257
  }
256
258
  }, n);
257
- }, Te = {
259
+ }, Se = {
258
260
  begin: "\\\\[\\s\\S]",
259
261
  relevance: 0
260
- }, $t = {
262
+ }, zt = {
261
263
  scope: "string",
262
264
  begin: "'",
263
265
  end: "'",
264
266
  illegal: "\\n",
265
- contains: [Te]
266
- }, zt = {
267
+ contains: [Se]
268
+ }, Kt = {
267
269
  scope: "string",
268
270
  begin: '"',
269
271
  end: '"',
270
272
  illegal: "\\n",
271
- contains: [Te]
272
- }, Kt = {
273
+ contains: [Se]
274
+ }, qt = {
273
275
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
274
276
  }, Ie = function(n, e, t = {}) {
275
- const s = ue(
277
+ const a = ue(
276
278
  {
277
279
  scope: "comment",
278
280
  begin: n,
@@ -281,7 +283,7 @@ const Ut = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\
281
283
  },
282
284
  t
283
285
  );
284
- s.contains.push({
286
+ a.contains.push({
285
287
  scope: "doctag",
286
288
  // hack to avoid the space from being included. the space is necessary to
287
289
  // match here to prevent the plain text rule below from gobbling up doctags
@@ -290,7 +292,7 @@ const Ut = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\
290
292
  excludeBegin: !0,
291
293
  relevance: 0
292
294
  });
293
- const l = hn(
295
+ const c = hn(
294
296
  // list of common 1 and 2 letter words in English
295
297
  "I",
296
298
  "a",
@@ -311,7 +313,7 @@ const Ut = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\
311
313
  /[A-Za-z][a-z]{2,}/
312
314
  // allow capitalized words at beginning of sentences
313
315
  );
314
- return s.contains.push(
316
+ return a.contains.push(
315
317
  {
316
318
  // TODO: how to include ", (, ) without breaking grammars that use these for
317
319
  // comment delimiters?
@@ -330,51 +332,51 @@ const Ut = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\
330
332
  /[ ]+/,
331
333
  // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
332
334
  "(",
333
- l,
335
+ c,
334
336
  /[.]?[:]?([.][ ]|[ ])/,
335
337
  "){3}"
336
338
  )
337
339
  // look for 3 words in a row
338
340
  }
339
- ), s;
340
- }, qt = Ie("//", "$"), Gt = Ie("/\\*", "\\*/"), Ht = Ie("#", "$"), Wt = {
341
+ ), a;
342
+ }, Gt = Ie("//", "$"), Ht = Ie("/\\*", "\\*/"), Wt = Ie("#", "$"), Yt = {
341
343
  scope: "number",
342
344
  begin: mt,
343
345
  relevance: 0
344
- }, Yt = {
346
+ }, Zt = {
345
347
  scope: "number",
346
348
  begin: Et,
347
349
  relevance: 0
348
- }, Zt = {
350
+ }, Xt = {
349
351
  scope: "number",
350
352
  begin: ft,
351
353
  relevance: 0
352
- }, Xt = {
354
+ }, Vt = {
353
355
  scope: "regexp",
354
356
  begin: /\/(?=[^/\n]*\/)/,
355
357
  end: /\/[gimuy]*/,
356
358
  contains: [
357
- Te,
359
+ Se,
358
360
  {
359
361
  begin: /\[/,
360
362
  end: /\]/,
361
363
  relevance: 0,
362
- contains: [Te]
364
+ contains: [Se]
363
365
  }
364
366
  ]
365
- }, Vt = {
367
+ }, Qt = {
366
368
  scope: "title",
367
369
  begin: _t,
368
370
  relevance: 0
369
- }, Qt = {
371
+ }, Jt = {
370
372
  scope: "title",
371
373
  begin: yn,
372
374
  relevance: 0
373
- }, Jt = {
375
+ }, jt = {
374
376
  // excludes method names from keyword processing
375
377
  begin: "\\.\\s*" + yn,
376
378
  relevance: 0
377
- }, jt = function(n) {
379
+ }, er = function(n) {
378
380
  return Object.assign(
379
381
  n,
380
382
  {
@@ -389,67 +391,67 @@ const Ut = /\b\B/, _t = "[a-zA-Z]\\w*", yn = "[a-zA-Z_]\\w*", mt = "\\b\\d+(\\.\
389
391
  }
390
392
  );
391
393
  };
392
- var Re = /* @__PURE__ */ Object.freeze({
394
+ var Ae = /* @__PURE__ */ Object.freeze({
393
395
  __proto__: null,
394
- APOS_STRING_MODE: $t,
395
- BACKSLASH_ESCAPE: Te,
396
- BINARY_NUMBER_MODE: Zt,
396
+ APOS_STRING_MODE: zt,
397
+ BACKSLASH_ESCAPE: Se,
398
+ BINARY_NUMBER_MODE: Xt,
397
399
  BINARY_NUMBER_RE: ft,
398
400
  COMMENT: Ie,
399
- C_BLOCK_COMMENT_MODE: Gt,
400
- C_LINE_COMMENT_MODE: qt,
401
- C_NUMBER_MODE: Yt,
401
+ C_BLOCK_COMMENT_MODE: Ht,
402
+ C_LINE_COMMENT_MODE: Gt,
403
+ C_NUMBER_MODE: Zt,
402
404
  C_NUMBER_RE: Et,
403
- END_SAME_AS_BEGIN: jt,
404
- HASH_COMMENT_MODE: Ht,
405
+ END_SAME_AS_BEGIN: er,
406
+ HASH_COMMENT_MODE: Wt,
405
407
  IDENT_RE: _t,
406
- MATCH_NOTHING_RE: Ut,
407
- METHOD_GUARD: Jt,
408
- NUMBER_MODE: Wt,
408
+ MATCH_NOTHING_RE: Pt,
409
+ METHOD_GUARD: jt,
410
+ NUMBER_MODE: Yt,
409
411
  NUMBER_RE: mt,
410
- PHRASAL_WORDS_MODE: Kt,
411
- QUOTE_STRING_MODE: zt,
412
- REGEXP_MODE: Xt,
413
- RE_STARTERS_RE: Pt,
414
- SHEBANG: Ft,
415
- TITLE_MODE: Vt,
412
+ PHRASAL_WORDS_MODE: qt,
413
+ QUOTE_STRING_MODE: Kt,
414
+ REGEXP_MODE: Vt,
415
+ RE_STARTERS_RE: Ft,
416
+ SHEBANG: $t,
417
+ TITLE_MODE: Qt,
416
418
  UNDERSCORE_IDENT_RE: yn,
417
- UNDERSCORE_TITLE_MODE: Qt
419
+ UNDERSCORE_TITLE_MODE: Jt
418
420
  });
419
- function er(n, e) {
420
- n.input[n.index - 1] === "." && e.ignoreMatch();
421
- }
422
421
  function nr(n, e) {
423
- n.className !== void 0 && (n.scope = n.className, delete n.className);
422
+ n.input[n.index - 1] === "." && e.ignoreMatch();
424
423
  }
425
424
  function tr(n, e) {
426
- e && n.beginKeywords && (n.begin = "\\b(" + n.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", n.__beforeBegin = er, n.keywords = n.keywords || n.beginKeywords, delete n.beginKeywords, n.relevance === void 0 && (n.relevance = 0));
425
+ n.className !== void 0 && (n.scope = n.className, delete n.className);
427
426
  }
428
427
  function rr(n, e) {
429
- Array.isArray(n.illegal) && (n.illegal = hn(...n.illegal));
428
+ e && n.beginKeywords && (n.begin = "\\b(" + n.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", n.__beforeBegin = nr, n.keywords = n.keywords || n.beginKeywords, delete n.beginKeywords, n.relevance === void 0 && (n.relevance = 0));
430
429
  }
431
430
  function ar(n, e) {
431
+ Array.isArray(n.illegal) && (n.illegal = hn(...n.illegal));
432
+ }
433
+ function ir(n, e) {
432
434
  if (n.match) {
433
435
  if (n.begin || n.end) throw new Error("begin & end are not supported with match");
434
436
  n.begin = n.match, delete n.match;
435
437
  }
436
438
  }
437
- function ir(n, e) {
439
+ function sr(n, e) {
438
440
  n.relevance === void 0 && (n.relevance = 1);
439
441
  }
440
- const sr = (n, e) => {
442
+ const or = (n, e) => {
441
443
  if (!n.beforeMatch) return;
442
444
  if (n.starts) throw new Error("beforeMatch cannot be used with starts");
443
445
  const t = Object.assign({}, n);
444
- Object.keys(n).forEach((s) => {
445
- delete n[s];
446
+ Object.keys(n).forEach((a) => {
447
+ delete n[a];
446
448
  }), n.keywords = t.keywords, n.begin = pe(t.beforeMatch, bt(t.begin)), n.starts = {
447
449
  relevance: 0,
448
450
  contains: [
449
451
  Object.assign(t, { endsParent: !0 })
450
452
  ]
451
453
  }, n.relevance = 0, delete t.beforeMatch;
452
- }, or = [
454
+ }, cr = [
453
455
  "of",
454
456
  "and",
455
457
  "for",
@@ -464,27 +466,27 @@ const sr = (n, e) => {
464
466
  // common variable name
465
467
  "value"
466
468
  // common variable name
467
- ], cr = "keyword";
468
- function ht(n, e, t = cr) {
469
- const s = /* @__PURE__ */ Object.create(null);
470
- return typeof n == "string" ? l(t, n.split(" ")) : Array.isArray(n) ? l(t, n) : Object.keys(n).forEach(function(o) {
469
+ ], lr = "keyword";
470
+ function ht(n, e, t = lr) {
471
+ const a = /* @__PURE__ */ Object.create(null);
472
+ return typeof n == "string" ? c(t, n.split(" ")) : Array.isArray(n) ? c(t, n) : Object.keys(n).forEach(function(o) {
471
473
  Object.assign(
472
- s,
474
+ a,
473
475
  ht(n[o], e, o)
474
476
  );
475
- }), s;
476
- function l(o, i) {
477
- e && (i = i.map((r) => r.toLowerCase())), i.forEach(function(r) {
478
- const a = r.split("|");
479
- s[a[0]] = [o, lr(a[0], a[1])];
477
+ }), a;
478
+ function c(o, s) {
479
+ e && (s = s.map((r) => r.toLowerCase())), s.forEach(function(r) {
480
+ const i = r.split("|");
481
+ a[i[0]] = [o, dr(i[0], i[1])];
480
482
  });
481
483
  }
482
484
  }
483
- function lr(n, e) {
484
- return e ? Number(e) : dr(n) ? 0 : 1;
485
+ function dr(n, e) {
486
+ return e ? Number(e) : ur(n) ? 0 : 1;
485
487
  }
486
- function dr(n) {
487
- return or.includes(n.toLowerCase());
488
+ function ur(n) {
489
+ return cr.includes(n.toLowerCase());
488
490
  }
489
491
  const On = {}, be = (n) => {
490
492
  console.error(n);
@@ -492,42 +494,42 @@ const On = {}, be = (n) => {
492
494
  console.log(`WARN: ${n}`, ...e);
493
495
  }, Ee = (n, e) => {
494
496
  On[`${n}/${e}`] || (console.log(`Deprecated as of ${n}. ${e}`), On[`${n}/${e}`] = !0);
495
- }, Me = new Error();
497
+ }, Ce = new Error();
496
498
  function Nt(n, e, { key: t }) {
497
- let s = 0;
498
- const l = n[t], o = {}, i = {};
499
+ let a = 0;
500
+ const c = n[t], o = {}, s = {};
499
501
  for (let r = 1; r <= e.length; r++)
500
- i[r + s] = l[r], o[r + s] = !0, s += pt(e[r - 1]);
501
- n[t] = i, n[t]._emit = o, n[t]._multi = !0;
502
+ s[r + a] = c[r], o[r + a] = !0, a += pt(e[r - 1]);
503
+ n[t] = s, n[t]._emit = o, n[t]._multi = !0;
502
504
  }
503
- function ur(n) {
505
+ function gr(n) {
504
506
  if (Array.isArray(n.begin)) {
505
507
  if (n.skip || n.excludeBegin || n.returnBegin)
506
- throw be("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Me;
508
+ throw be("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Ce;
507
509
  if (typeof n.beginScope != "object" || n.beginScope === null)
508
- throw be("beginScope must be object"), Me;
510
+ throw be("beginScope must be object"), Ce;
509
511
  Nt(n, n.begin, { key: "beginScope" }), n.begin = Nn(n.begin, { joinWith: "" });
510
512
  }
511
513
  }
512
- function gr(n) {
514
+ function br(n) {
513
515
  if (Array.isArray(n.end)) {
514
516
  if (n.skip || n.excludeEnd || n.returnEnd)
515
- throw be("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Me;
517
+ throw be("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Ce;
516
518
  if (typeof n.endScope != "object" || n.endScope === null)
517
- throw be("endScope must be object"), Me;
519
+ throw be("endScope must be object"), Ce;
518
520
  Nt(n, n.end, { key: "endScope" }), n.end = Nn(n.end, { joinWith: "" });
519
521
  }
520
522
  }
521
- function br(n) {
522
- n.scope && typeof n.scope == "object" && n.scope !== null && (n.beginScope = n.scope, delete n.scope);
523
- }
524
523
  function pr(n) {
525
- br(n), typeof n.beginScope == "string" && (n.beginScope = { _wrap: n.beginScope }), typeof n.endScope == "string" && (n.endScope = { _wrap: n.endScope }), ur(n), gr(n);
524
+ n.scope && typeof n.scope == "object" && n.scope !== null && (n.beginScope = n.scope, delete n.scope);
526
525
  }
527
526
  function _r(n) {
528
- function e(i, r) {
527
+ pr(n), typeof n.beginScope == "string" && (n.beginScope = { _wrap: n.beginScope }), typeof n.endScope == "string" && (n.endScope = { _wrap: n.endScope }), gr(n), br(n);
528
+ }
529
+ function mr(n) {
530
+ function e(s, r) {
529
531
  return new RegExp(
530
- ye(i),
532
+ Te(s),
531
533
  "m" + (n.case_insensitive ? "i" : "") + (n.unicodeRegex ? "u" : "") + (r ? "g" : "")
532
534
  );
533
535
  }
@@ -536,33 +538,33 @@ function _r(n) {
536
538
  this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
537
539
  }
538
540
  // @ts-ignore
539
- addRule(r, a) {
540
- a.position = this.position++, this.matchIndexes[this.matchAt] = a, this.regexes.push([a, r]), this.matchAt += pt(r) + 1;
541
+ addRule(r, i) {
542
+ i.position = this.position++, this.matchIndexes[this.matchAt] = i, this.regexes.push([i, r]), this.matchAt += pt(r) + 1;
541
543
  }
542
544
  compile() {
543
545
  this.regexes.length === 0 && (this.exec = () => null);
544
- const r = this.regexes.map((a) => a[1]);
546
+ const r = this.regexes.map((i) => i[1]);
545
547
  this.matcherRe = e(Nn(r, { joinWith: "|" }), !0), this.lastIndex = 0;
546
548
  }
547
549
  /** @param {string} s */
548
550
  exec(r) {
549
551
  this.matcherRe.lastIndex = this.lastIndex;
550
- const a = this.matcherRe.exec(r);
551
- if (!a)
552
+ const i = this.matcherRe.exec(r);
553
+ if (!i)
552
554
  return null;
553
- const d = a.findIndex((g, b) => b > 0 && g !== void 0), c = this.matchIndexes[d];
554
- return a.splice(0, d), Object.assign(a, c);
555
+ const d = i.findIndex((g, b) => b > 0 && g !== void 0), l = this.matchIndexes[d];
556
+ return i.splice(0, d), Object.assign(i, l);
555
557
  }
556
558
  }
557
- class s {
559
+ class a {
558
560
  constructor() {
559
561
  this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
560
562
  }
561
563
  // @ts-ignore
562
564
  getMatcher(r) {
563
565
  if (this.multiRegexes[r]) return this.multiRegexes[r];
564
- const a = new t();
565
- return this.rules.slice(r).forEach(([d, c]) => a.addRule(d, c)), a.compile(), this.multiRegexes[r] = a, a;
566
+ const i = new t();
567
+ return this.rules.slice(r).forEach(([d, l]) => i.addRule(d, l)), i.compile(), this.multiRegexes[r] = i, i;
566
568
  }
567
569
  resumingScanAtSamePosition() {
568
570
  return this.regexIndex !== 0;
@@ -571,59 +573,59 @@ function _r(n) {
571
573
  this.regexIndex = 0;
572
574
  }
573
575
  // @ts-ignore
574
- addRule(r, a) {
575
- this.rules.push([r, a]), a.type === "begin" && this.count++;
576
+ addRule(r, i) {
577
+ this.rules.push([r, i]), i.type === "begin" && this.count++;
576
578
  }
577
579
  /** @param {string} s */
578
580
  exec(r) {
579
- const a = this.getMatcher(this.regexIndex);
580
- a.lastIndex = this.lastIndex;
581
- let d = a.exec(r);
581
+ const i = this.getMatcher(this.regexIndex);
582
+ i.lastIndex = this.lastIndex;
583
+ let d = i.exec(r);
582
584
  if (this.resumingScanAtSamePosition() && !(d && d.index === this.lastIndex)) {
583
- const c = this.getMatcher(0);
584
- c.lastIndex = this.lastIndex + 1, d = c.exec(r);
585
+ const l = this.getMatcher(0);
586
+ l.lastIndex = this.lastIndex + 1, d = l.exec(r);
585
587
  }
586
588
  return d && (this.regexIndex += d.position + 1, this.regexIndex === this.count && this.considerAll()), d;
587
589
  }
588
590
  }
589
- function l(i) {
590
- const r = new s();
591
- return i.contains.forEach((a) => r.addRule(a.begin, { rule: a, type: "begin" })), i.terminatorEnd && r.addRule(i.terminatorEnd, { type: "end" }), i.illegal && r.addRule(i.illegal, { type: "illegal" }), r;
591
+ function c(s) {
592
+ const r = new a();
593
+ return s.contains.forEach((i) => r.addRule(i.begin, { rule: i, type: "begin" })), s.terminatorEnd && r.addRule(s.terminatorEnd, { type: "end" }), s.illegal && r.addRule(s.illegal, { type: "illegal" }), r;
592
594
  }
593
- function o(i, r) {
594
- const a = (
595
+ function o(s, r) {
596
+ const i = (
595
597
  /** @type CompiledMode */
596
- i
598
+ s
597
599
  );
598
- if (i.isCompiled) return a;
600
+ if (s.isCompiled) return i;
599
601
  [
600
- nr,
602
+ tr,
601
603
  // do this early so compiler extensions generally don't have to worry about
602
604
  // the distinction between match/begin
603
- ar,
604
- pr,
605
- sr
606
- ].forEach((c) => c(i, r)), n.compilerExtensions.forEach((c) => c(i, r)), i.__beforeBegin = null, [
607
- tr,
605
+ ir,
606
+ _r,
607
+ or
608
+ ].forEach((l) => l(s, r)), n.compilerExtensions.forEach((l) => l(s, r)), s.__beforeBegin = null, [
609
+ rr,
608
610
  // do this later so compiler extensions that come earlier have access to the
609
611
  // raw array if they wanted to perhaps manipulate it, etc.
610
- rr,
612
+ ar,
611
613
  // default to 1 relevance if not specified
612
- ir
613
- ].forEach((c) => c(i, r)), i.isCompiled = !0;
614
+ sr
615
+ ].forEach((l) => l(s, r)), s.isCompiled = !0;
614
616
  let d = null;
615
- return typeof i.keywords == "object" && i.keywords.$pattern && (i.keywords = Object.assign({}, i.keywords), d = i.keywords.$pattern, delete i.keywords.$pattern), d = d || /\w+/, i.keywords && (i.keywords = ht(i.keywords, n.case_insensitive)), a.keywordPatternRe = e(d, !0), r && (i.begin || (i.begin = /\B|\b/), a.beginRe = e(a.begin), !i.end && !i.endsWithParent && (i.end = /\B|\b/), i.end && (a.endRe = e(a.end)), a.terminatorEnd = ye(a.end) || "", i.endsWithParent && r.terminatorEnd && (a.terminatorEnd += (i.end ? "|" : "") + r.terminatorEnd)), i.illegal && (a.illegalRe = e(
617
+ return typeof s.keywords == "object" && s.keywords.$pattern && (s.keywords = Object.assign({}, s.keywords), d = s.keywords.$pattern, delete s.keywords.$pattern), d = d || /\w+/, s.keywords && (s.keywords = ht(s.keywords, n.case_insensitive)), i.keywordPatternRe = e(d, !0), r && (s.begin || (s.begin = /\B|\b/), i.beginRe = e(i.begin), !s.end && !s.endsWithParent && (s.end = /\B|\b/), s.end && (i.endRe = e(i.end)), i.terminatorEnd = Te(i.end) || "", s.endsWithParent && r.terminatorEnd && (i.terminatorEnd += (s.end ? "|" : "") + r.terminatorEnd)), s.illegal && (i.illegalRe = e(
616
618
  /** @type {RegExp | string} */
617
- i.illegal
618
- )), i.contains || (i.contains = []), i.contains = [].concat(...i.contains.map(function(c) {
619
- return mr(c === "self" ? i : c);
620
- })), i.contains.forEach(function(c) {
619
+ s.illegal
620
+ )), s.contains || (s.contains = []), s.contains = [].concat(...s.contains.map(function(l) {
621
+ return Er(l === "self" ? s : l);
622
+ })), s.contains.forEach(function(l) {
621
623
  o(
622
624
  /** @type Mode */
623
- c,
624
- a
625
+ l,
626
+ i
625
627
  );
626
- }), i.starts && o(i.starts, r), a.matcher = l(a), a;
628
+ }), s.starts && o(s.starts, r), i.matcher = c(i), i;
627
629
  }
628
630
  if (n.compilerExtensions || (n.compilerExtensions = []), n.contains && n.contains.includes("self"))
629
631
  throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
@@ -635,21 +637,21 @@ function _r(n) {
635
637
  function yt(n) {
636
638
  return n ? n.endsWithParent || yt(n.starts) : !1;
637
639
  }
638
- function mr(n) {
640
+ function Er(n) {
639
641
  return n.variants && !n.cachedVariants && (n.cachedVariants = n.variants.map(function(e) {
640
642
  return ue(n, { variants: null }, e);
641
643
  })), n.cachedVariants ? n.cachedVariants : yt(n) ? ue(n, { starts: n.starts ? ue(n.starts) : null }) : Object.isFrozen(n) ? ue(n) : n;
642
644
  }
643
- var Er = "11.9.0";
644
- class fr extends Error {
645
+ var fr = "11.9.0";
646
+ class hr extends Error {
645
647
  constructor(e, t) {
646
648
  super(e), this.name = "HTMLInjectionError", this.html = t;
647
649
  }
648
650
  }
649
- const Le = gt, Rn = ue, An = Symbol("nomatch"), hr = 7, Tt = function(n) {
650
- const e = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null), s = [];
651
- let l = !0;
652
- const o = "Could not find the language '{}', did you forget to load/include a language module?", i = { disableAutodetect: !0, name: "Plain text", contains: [] };
651
+ const Le = gt, Rn = ue, An = Symbol("nomatch"), Nr = 7, Tt = function(n) {
652
+ const e = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null), a = [];
653
+ let c = !0;
654
+ const o = "Could not find the language '{}', did you forget to load/include a language module?", s = { disableAutodetect: !0, name: "Plain text", contains: [] };
653
655
  let r = {
654
656
  ignoreUnescapedHTML: !1,
655
657
  throwUnescapedHTML: !1,
@@ -660,9 +662,9 @@ const Le = gt, Rn = ue, An = Symbol("nomatch"), hr = 7, Tt = function(n) {
660
662
  languages: null,
661
663
  // beta configuration options, subject to change, welcome to discuss
662
664
  // https://github.com/highlightjs/highlight.js/issues/1086
663
- __emitter: It
665
+ __emitter: kt
664
666
  };
665
- function a(u) {
667
+ function i(u) {
666
668
  return r.noHighlightRe.test(u);
667
669
  }
668
670
  function d(u) {
@@ -673,9 +675,9 @@ const Le = gt, Rn = ue, An = Symbol("nomatch"), hr = 7, Tt = function(n) {
673
675
  const k = I(w[1]);
674
676
  return k || (wn(o.replace("{}", w[1])), wn("Falling back to no-highlight mode for this block.", u)), k ? w[1] : "no-highlight";
675
677
  }
676
- return f.split(/\s+/).find((k) => a(k) || I(k));
678
+ return f.split(/\s+/).find((k) => i(k) || I(k));
677
679
  }
678
- function c(u, f, w) {
680
+ function l(u, f, w) {
679
681
  let k = "", U = "";
680
682
  typeof f == "object" ? (k = u, w = f.ignoreIllegals, U = f.language) : (Ee("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ee("10.7.0", `Please use highlight(code, options) instead.
681
683
  https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w === void 0 && (w = !0);
@@ -705,7 +707,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
705
707
  const x = re.case_insensitive ? y[0].toLowerCase() : y[0], X = Y(S, x);
706
708
  if (X) {
707
709
  const [se, ke] = X;
708
- if (G.addText(v), v = "", U[x] = (U[x] || 0) + 1, U[x] <= hr && (me += ke), se.startsWith("_"))
710
+ if (G.addText(v), v = "", U[x] = (U[x] || 0) + 1, U[x] <= Nr && (me += ke), se.startsWith("_"))
709
711
  v += y[0];
710
712
  else {
711
713
  const xe = re.classNameAliases[se] || se;
@@ -725,7 +727,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
725
727
  G.addText(P);
726
728
  return;
727
729
  }
728
- _ = g(S.subLanguage, P, !0, Oe[S.subLanguage]), Oe[S.subLanguage] = /** @type {CompiledMode} */
730
+ _ = g(S.subLanguage, P, !0, we[S.subLanguage]), we[S.subLanguage] = /** @type {CompiledMode} */
729
731
  _._top;
730
732
  } else
731
733
  _ = p(P, S.subLanguage.length ? S.subLanguage : null);
@@ -753,7 +755,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
753
755
  return _.scope && typeof _.scope == "string" && G.openNode(re.classNameAliases[_.scope] || _.scope), _.beginScope && (_.beginScope._wrap ? (Z(P, re.classNameAliases[_.beginScope._wrap] || _.beginScope._wrap), P = "") : _.beginScope._multi && (q(_.beginScope, y), P = "")), S = Object.create(_, { parent: { value: S } }), S;
754
756
  }
755
757
  function Q(_, y, v) {
756
- let x = Dt(_.endRe, v);
758
+ let x = Bt(_.endRe, v);
757
759
  if (x) {
758
760
  if (_["on:end"]) {
759
761
  const X = new Tn(_);
@@ -796,12 +798,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
796
798
  _.forEach((y) => G.openNode(y));
797
799
  }
798
800
  let ge = {};
799
- function Se(_, y) {
801
+ function ve(_, y) {
800
802
  const v = y && y[0];
801
803
  if (P += _, v == null)
802
804
  return z(), 0;
803
805
  if (ge.type === "begin" && y.type === "end" && ge.index === y.index && v === "") {
804
- if (P += f.slice(y.index, y.index + 1), !l) {
806
+ if (P += f.slice(y.index, y.index + 1), !c) {
805
807
  const x = new Error(`0 width match regex (${u})`);
806
808
  throw x.languageName = u, x.badRule = ge.rule, x;
807
809
  }
@@ -826,9 +828,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
826
828
  const re = I(u);
827
829
  if (!re)
828
830
  throw be(o.replace("{}", u)), new Error('Unknown language: "' + u + '"');
829
- const ve = _r(re);
830
- let _e = "", S = k || ve;
831
- const Oe = {}, G = new r.__emitter(r);
831
+ const Oe = mr(re);
832
+ let _e = "", S = k || Oe;
833
+ const we = {}, G = new r.__emitter(r);
832
834
  oe();
833
835
  let P = "", me = 0, le = 0, de = 0, ce = !1;
834
836
  try {
@@ -839,10 +841,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
839
841
  de++, ce ? ce = !1 : S.matcher.considerAll(), S.matcher.lastIndex = le;
840
842
  const _ = S.matcher.exec(f);
841
843
  if (!_) break;
842
- const y = f.substring(le, _.index), v = Se(y, _);
844
+ const y = f.substring(le, _.index), v = ve(y, _);
843
845
  le = _.index + v;
844
846
  }
845
- Se(f.substring(le));
847
+ ve(f.substring(le));
846
848
  }
847
849
  return G.finalize(), _e = G.toHTML(), {
848
850
  language: u,
@@ -868,7 +870,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
868
870
  },
869
871
  _emitter: G
870
872
  };
871
- if (l)
873
+ if (c)
872
874
  return {
873
875
  language: u,
874
876
  value: Le(f),
@@ -886,7 +888,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
886
888
  value: Le(u),
887
889
  illegal: !1,
888
890
  relevance: 0,
889
- _top: i,
891
+ _top: s,
890
892
  _emitter: new r.__emitter(r)
891
893
  };
892
894
  return f._emitter.addText(u), f;
@@ -916,7 +918,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
916
918
  function E(u) {
917
919
  let f = null;
918
920
  const w = d(u);
919
- if (a(w)) return;
921
+ if (i(w)) return;
920
922
  if (B(
921
923
  "before:highlightElement",
922
924
  { el: u, language: w }
@@ -925,12 +927,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
925
927
  return;
926
928
  }
927
929
  if (u.children.length > 0 && (r.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(u)), r.throwUnescapedHTML))
928
- throw new fr(
930
+ throw new hr(
929
931
  "One of your code blocks includes unescaped HTML.",
930
932
  u.innerHTML
931
933
  );
932
934
  f = u;
933
- const k = f.textContent, U = w ? c(k, { language: w, ignoreIllegals: !0 }) : p(k);
935
+ const k = f.textContent, U = w ? l(k, { language: w, ignoreIllegals: !0 }) : p(k);
934
936
  u.innerHTML = U.value, u.dataset.highlighted = "yes", m(u, w, U.language), u.result = {
935
937
  language: U.language,
936
938
  // TODO: remove with version 11.0
@@ -967,11 +969,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
967
969
  try {
968
970
  w = f(n);
969
971
  } catch (k) {
970
- if (be("Language definition for '{}' could not be registered.".replace("{}", u)), l)
972
+ if (be("Language definition for '{}' could not be registered.".replace("{}", u)), c)
971
973
  be(k);
972
974
  else
973
975
  throw k;
974
- w = i;
976
+ w = s;
975
977
  }
976
978
  w.name || (w.name = u), e[u] = w, w.rawDefinition = f.bind(null, n), w.aliases && H(w.aliases, { languageName: u });
977
979
  }
@@ -1007,15 +1009,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
1007
1009
  });
1008
1010
  }
1009
1011
  function ae(u) {
1010
- J(u), s.push(u);
1012
+ J(u), a.push(u);
1011
1013
  }
1012
1014
  function W(u) {
1013
- const f = s.indexOf(u);
1014
- f !== -1 && s.splice(f, 1);
1015
+ const f = a.indexOf(u);
1016
+ f !== -1 && a.splice(f, 1);
1015
1017
  }
1016
1018
  function B(u, f) {
1017
1019
  const w = u;
1018
- s.forEach(function(k) {
1020
+ a.forEach(function(k) {
1019
1021
  k[w] && k[w](f);
1020
1022
  });
1021
1023
  }
@@ -1023,7 +1025,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
1023
1025
  return Ee("10.7.0", "highlightBlock will be removed entirely in v12.0"), Ee("10.7.0", "Please use highlightElement now."), E(u);
1024
1026
  }
1025
1027
  Object.assign(n, {
1026
- highlight: c,
1028
+ highlight: l,
1027
1029
  highlightAuto: p,
1028
1030
  highlightAll: M,
1029
1031
  highlightElement: E,
@@ -1042,33 +1044,33 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = u, k = f), w ===
1042
1044
  addPlugin: ae,
1043
1045
  removePlugin: W
1044
1046
  }), n.debugMode = function() {
1045
- l = !1;
1047
+ c = !1;
1046
1048
  }, n.safeMode = function() {
1047
- l = !0;
1048
- }, n.versionString = Er, n.regex = {
1049
+ c = !0;
1050
+ }, n.versionString = fr, n.regex = {
1049
1051
  concat: pe,
1050
1052
  lookahead: bt,
1051
1053
  either: hn,
1052
- optional: xt,
1053
- anyNumberOfTimes: kt
1054
+ optional: Lt,
1055
+ anyNumberOfTimes: xt
1054
1056
  };
1055
- for (const u in Re)
1056
- typeof Re[u] == "object" && ut(Re[u]);
1057
- return Object.assign(n, Re), n;
1057
+ for (const u in Ae)
1058
+ typeof Ae[u] == "object" && ut(Ae[u]);
1059
+ return Object.assign(n, Ae), n;
1058
1060
  }, he = Tt({});
1059
1061
  he.newInstance = () => Tt({});
1060
- var Nr = he;
1062
+ var yr = he;
1061
1063
  he.HighlightJS = he;
1062
1064
  he.default = he;
1063
1065
  var De, Mn;
1064
- function yr() {
1066
+ function Tr() {
1065
1067
  if (Mn) return De;
1066
1068
  Mn = 1;
1067
1069
  function n(e) {
1068
- const t = e.regex, s = t.concat(/[\p{L}_]/u, t.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), l = /[\p{L}0-9._:-]+/u, o = {
1070
+ const t = e.regex, a = t.concat(/[\p{L}_]/u, t.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), c = /[\p{L}0-9._:-]+/u, o = {
1069
1071
  className: "symbol",
1070
1072
  begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
1071
- }, i = {
1073
+ }, s = {
1072
1074
  begin: /\s/,
1073
1075
  contains: [
1074
1076
  {
@@ -1077,17 +1079,17 @@ function yr() {
1077
1079
  illegal: /\n/
1078
1080
  }
1079
1081
  ]
1080
- }, r = e.inherit(i, {
1082
+ }, r = e.inherit(s, {
1081
1083
  begin: /\(/,
1082
1084
  end: /\)/
1083
- }), a = e.inherit(e.APOS_STRING_MODE, { className: "string" }), d = e.inherit(e.QUOTE_STRING_MODE, { className: "string" }), c = {
1085
+ }), i = e.inherit(e.APOS_STRING_MODE, { className: "string" }), d = e.inherit(e.QUOTE_STRING_MODE, { className: "string" }), l = {
1084
1086
  endsWithParent: !0,
1085
1087
  illegal: /</,
1086
1088
  relevance: 0,
1087
1089
  contains: [
1088
1090
  {
1089
1091
  className: "attr",
1090
- begin: l,
1092
+ begin: c,
1091
1093
  relevance: 0
1092
1094
  },
1093
1095
  {
@@ -1138,9 +1140,9 @@ function yr() {
1138
1140
  end: />/,
1139
1141
  relevance: 10,
1140
1142
  contains: [
1141
- i,
1143
+ s,
1142
1144
  d,
1143
- a,
1145
+ i,
1144
1146
  r,
1145
1147
  {
1146
1148
  begin: /\[/,
@@ -1151,10 +1153,10 @@ function yr() {
1151
1153
  begin: /<![a-z]/,
1152
1154
  end: />/,
1153
1155
  contains: [
1154
- i,
1156
+ s,
1155
1157
  r,
1156
1158
  d,
1157
- a
1159
+ i
1158
1160
  ]
1159
1161
  }
1160
1162
  ]
@@ -1199,7 +1201,7 @@ function yr() {
1199
1201
  begin: /<style(?=\s|>)/,
1200
1202
  end: />/,
1201
1203
  keywords: { name: "style" },
1202
- contains: [c],
1204
+ contains: [l],
1203
1205
  starts: {
1204
1206
  end: /<\/style>/,
1205
1207
  returnEnd: !0,
@@ -1215,7 +1217,7 @@ function yr() {
1215
1217
  begin: /<script(?=\s|>)/,
1216
1218
  end: />/,
1217
1219
  keywords: { name: "script" },
1218
- contains: [c],
1220
+ contains: [l],
1219
1221
  starts: {
1220
1222
  end: /<\/script>/,
1221
1223
  returnEnd: !0,
@@ -1237,7 +1239,7 @@ function yr() {
1237
1239
  begin: t.concat(
1238
1240
  /</,
1239
1241
  t.lookahead(t.concat(
1240
- s,
1242
+ a,
1241
1243
  // <tag/>
1242
1244
  // <tag>
1243
1245
  // <tag ...
@@ -1248,9 +1250,9 @@ function yr() {
1248
1250
  contains: [
1249
1251
  {
1250
1252
  className: "name",
1251
- begin: s,
1253
+ begin: a,
1252
1254
  relevance: 0,
1253
- starts: c
1255
+ starts: l
1254
1256
  }
1255
1257
  ]
1256
1258
  },
@@ -1260,14 +1262,14 @@ function yr() {
1260
1262
  begin: t.concat(
1261
1263
  /<\//,
1262
1264
  t.lookahead(t.concat(
1263
- s,
1265
+ a,
1264
1266
  />/
1265
1267
  ))
1266
1268
  ),
1267
1269
  contains: [
1268
1270
  {
1269
1271
  className: "name",
1270
- begin: s,
1272
+ begin: a,
1271
1273
  relevance: 0
1272
1274
  },
1273
1275
  {
@@ -1283,23 +1285,23 @@ function yr() {
1283
1285
  return De = n, De;
1284
1286
  }
1285
1287
  var Be, Cn;
1286
- function Tr() {
1288
+ function Sr() {
1287
1289
  if (Cn) return Be;
1288
1290
  Cn = 1;
1289
1291
  function n(e) {
1290
- const t = e.regex, s = {}, l = {
1292
+ const t = e.regex, a = {}, c = {
1291
1293
  begin: /\$\{/,
1292
1294
  end: /\}/,
1293
1295
  contains: [
1294
1296
  "self",
1295
1297
  {
1296
1298
  begin: /:-/,
1297
- contains: [s]
1299
+ contains: [a]
1298
1300
  }
1299
1301
  // default values
1300
1302
  ]
1301
1303
  };
1302
- Object.assign(s, {
1304
+ Object.assign(a, {
1303
1305
  className: "variable",
1304
1306
  variants: [
1305
1307
  { begin: t.concat(
@@ -1308,7 +1310,7 @@ function Tr() {
1308
1310
  // Perl at all like $ident$, @ident@, etc.
1309
1311
  "(?![\\w\\d])(?![$])"
1310
1312
  ) },
1311
- l
1313
+ c
1312
1314
  ]
1313
1315
  });
1314
1316
  const o = {
@@ -1316,7 +1318,7 @@ function Tr() {
1316
1318
  begin: /\$\(/,
1317
1319
  end: /\)/,
1318
1320
  contains: [e.BACKSLASH_ESCAPE]
1319
- }, i = {
1321
+ }, s = {
1320
1322
  begin: /<<-?\s*(?=\w+)/,
1321
1323
  starts: { contains: [
1322
1324
  e.END_SAME_AS_BEGIN({
@@ -1331,18 +1333,18 @@ function Tr() {
1331
1333
  end: /"/,
1332
1334
  contains: [
1333
1335
  e.BACKSLASH_ESCAPE,
1334
- s,
1336
+ a,
1335
1337
  o
1336
1338
  ]
1337
1339
  };
1338
1340
  o.contains.push(r);
1339
- const a = {
1341
+ const i = {
1340
1342
  match: /\\"/
1341
1343
  }, d = {
1342
1344
  className: "string",
1343
1345
  begin: /'/,
1344
1346
  end: /'/
1345
- }, c = {
1347
+ }, l = {
1346
1348
  match: /\\'/
1347
1349
  }, g = {
1348
1350
  begin: /\$?\(\(/,
@@ -1353,7 +1355,7 @@ function Tr() {
1353
1355
  className: "number"
1354
1356
  },
1355
1357
  e.NUMBER_MODE,
1356
- s
1358
+ a
1357
1359
  ]
1358
1360
  }, b = [
1359
1361
  "fish",
@@ -1633,30 +1635,30 @@ function Tr() {
1633
1635
  m,
1634
1636
  g,
1635
1637
  e.HASH_COMMENT_MODE,
1636
- i,
1638
+ s,
1637
1639
  h,
1638
1640
  r,
1639
- a,
1641
+ i,
1640
1642
  d,
1641
- c,
1642
- s
1643
+ l,
1644
+ a
1643
1645
  ]
1644
1646
  };
1645
1647
  }
1646
1648
  return Be = n, Be;
1647
1649
  }
1648
1650
  var Ue, In;
1649
- function Sr() {
1651
+ function vr() {
1650
1652
  if (In) return Ue;
1651
1653
  In = 1;
1652
1654
  function n(e) {
1653
- const t = e.regex, s = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), l = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", r = "(" + l + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
1655
+ const t = e.regex, a = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), c = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", r = "(" + c + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", i = {
1654
1656
  className: "type",
1655
1657
  variants: [
1656
1658
  { begin: "\\b[a-z\\d_]*_t\\b" },
1657
1659
  { match: /\batomic_[a-z]{3,6}\b/ }
1658
1660
  ]
1659
- }, c = {
1661
+ }, l = {
1660
1662
  className: "string",
1661
1663
  variants: [
1662
1664
  {
@@ -1693,12 +1695,12 @@ function Sr() {
1693
1695
  begin: /\\\n/,
1694
1696
  relevance: 0
1695
1697
  },
1696
- e.inherit(c, { className: "string" }),
1698
+ e.inherit(l, { className: "string" }),
1697
1699
  {
1698
1700
  className: "string",
1699
1701
  begin: /<.*?>/
1700
1702
  },
1701
- s,
1703
+ a,
1702
1704
  e.C_BLOCK_COMMENT_MODE
1703
1705
  ]
1704
1706
  }, p = {
@@ -1777,11 +1779,11 @@ function Sr() {
1777
1779
  built_in: "std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"
1778
1780
  }, O = [
1779
1781
  b,
1782
+ i,
1780
1783
  a,
1781
- s,
1782
1784
  e.C_BLOCK_COMMENT_MODE,
1783
1785
  g,
1784
- c
1786
+ l
1785
1787
  ], C = {
1786
1788
  // This mode covers expression context where we can't expect a function
1787
1789
  // definition and shouldn't highlight anything that looks like one:
@@ -1821,7 +1823,7 @@ function Sr() {
1821
1823
  contains: [
1822
1824
  {
1823
1825
  // to prevent it from being confused as the function title
1824
- begin: l,
1826
+ begin: c,
1825
1827
  keywords: h,
1826
1828
  relevance: 0
1827
1829
  },
@@ -1844,11 +1846,11 @@ function Sr() {
1844
1846
  keywords: h,
1845
1847
  relevance: 0,
1846
1848
  contains: [
1847
- s,
1849
+ a,
1848
1850
  e.C_BLOCK_COMMENT_MODE,
1849
- c,
1851
+ l,
1850
1852
  g,
1851
- a,
1853
+ i,
1852
1854
  // Count matching parentheses.
1853
1855
  {
1854
1856
  begin: /\(/,
@@ -1857,17 +1859,17 @@ function Sr() {
1857
1859
  relevance: 0,
1858
1860
  contains: [
1859
1861
  "self",
1860
- s,
1862
+ a,
1861
1863
  e.C_BLOCK_COMMENT_MODE,
1862
- c,
1864
+ l,
1863
1865
  g,
1864
- a
1866
+ i
1865
1867
  ]
1866
1868
  }
1867
1869
  ]
1868
1870
  },
1871
+ i,
1869
1872
  a,
1870
- s,
1871
1873
  e.C_BLOCK_COMMENT_MODE,
1872
1874
  b
1873
1875
  ]
@@ -1903,7 +1905,7 @@ function Sr() {
1903
1905
  ),
1904
1906
  exports: {
1905
1907
  preprocessor: b,
1906
- strings: c,
1908
+ strings: l,
1907
1909
  keywords: h
1908
1910
  }
1909
1911
  };
@@ -1911,14 +1913,14 @@ function Sr() {
1911
1913
  return Ue = n, Ue;
1912
1914
  }
1913
1915
  var Pe, kn;
1914
- function vr() {
1916
+ function Or() {
1915
1917
  if (kn) return Pe;
1916
1918
  kn = 1;
1917
1919
  function n(e) {
1918
- const t = e.regex, s = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), l = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", r = "(?!struct)(" + l + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
1920
+ const t = e.regex, a = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), c = "decltype\\(auto\\)", o = "[a-zA-Z_]\\w*::", r = "(?!struct)(" + c + "|" + t.optional(o) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", i = {
1919
1921
  className: "type",
1920
1922
  begin: "\\b[a-z\\d_]*_t\\b"
1921
- }, c = {
1923
+ }, l = {
1922
1924
  className: "string",
1923
1925
  variants: [
1924
1926
  {
@@ -1955,12 +1957,12 @@ function vr() {
1955
1957
  begin: /\\\n/,
1956
1958
  relevance: 0
1957
1959
  },
1958
- e.inherit(c, { className: "string" }),
1960
+ e.inherit(l, { className: "string" }),
1959
1961
  {
1960
1962
  className: "string",
1961
1963
  begin: /<.*?>/
1962
1964
  },
1963
- s,
1965
+ a,
1964
1966
  e.C_BLOCK_COMMENT_MODE
1965
1967
  ]
1966
1968
  }, p = {
@@ -2261,11 +2263,11 @@ function vr() {
2261
2263
  }, D = [
2262
2264
  L,
2263
2265
  b,
2266
+ i,
2264
2267
  a,
2265
- s,
2266
2268
  e.C_BLOCK_COMMENT_MODE,
2267
2269
  g,
2268
- c
2270
+ l
2269
2271
  ], T = {
2270
2272
  // This mode covers expression context where we can't expect a function
2271
2273
  // definition and shouldn't highlight anything that looks like one:
@@ -2306,7 +2308,7 @@ function vr() {
2306
2308
  contains: [
2307
2309
  {
2308
2310
  // to prevent it from being confused as the function title
2309
- begin: l,
2311
+ begin: c,
2310
2312
  keywords: A,
2311
2313
  relevance: 0
2312
2314
  },
@@ -2327,7 +2329,7 @@ function vr() {
2327
2329
  begin: /:/,
2328
2330
  endsWithParent: !0,
2329
2331
  contains: [
2330
- c,
2332
+ l,
2331
2333
  g
2332
2334
  ]
2333
2335
  },
@@ -2344,11 +2346,11 @@ function vr() {
2344
2346
  keywords: A,
2345
2347
  relevance: 0,
2346
2348
  contains: [
2347
- s,
2349
+ a,
2348
2350
  e.C_BLOCK_COMMENT_MODE,
2349
- c,
2351
+ l,
2350
2352
  g,
2351
- a,
2353
+ i,
2352
2354
  // Count matching parentheses.
2353
2355
  {
2354
2356
  begin: /\(/,
@@ -2357,17 +2359,17 @@ function vr() {
2357
2359
  relevance: 0,
2358
2360
  contains: [
2359
2361
  "self",
2360
- s,
2362
+ a,
2361
2363
  e.C_BLOCK_COMMENT_MODE,
2362
- c,
2364
+ l,
2363
2365
  g,
2364
- a
2366
+ i
2365
2367
  ]
2366
2368
  }
2367
2369
  ]
2368
2370
  },
2371
+ i,
2369
2372
  a,
2370
- s,
2371
2373
  e.C_BLOCK_COMMENT_MODE,
2372
2374
  b
2373
2375
  ]
@@ -2400,7 +2402,7 @@ function vr() {
2400
2402
  keywords: A,
2401
2403
  contains: [
2402
2404
  "self",
2403
- a
2405
+ i
2404
2406
  ]
2405
2407
  },
2406
2408
  {
@@ -2426,7 +2428,7 @@ function vr() {
2426
2428
  return Pe = n, Pe;
2427
2429
  }
2428
2430
  var Fe, xn;
2429
- function Or() {
2431
+ function wr() {
2430
2432
  if (xn) return Fe;
2431
2433
  xn = 1;
2432
2434
  function n(e) {
@@ -2451,7 +2453,7 @@ function Or() {
2451
2453
  "ulong",
2452
2454
  "uint",
2453
2455
  "ushort"
2454
- ], s = [
2456
+ ], a = [
2455
2457
  "public",
2456
2458
  "private",
2457
2459
  "protected",
@@ -2467,7 +2469,7 @@ function Or() {
2467
2469
  "new",
2468
2470
  "sealed",
2469
2471
  "partial"
2470
- ], l = [
2472
+ ], c = [
2471
2473
  "default",
2472
2474
  "false",
2473
2475
  "null",
@@ -2530,7 +2532,7 @@ function Or() {
2530
2532
  "void",
2531
2533
  "volatile",
2532
2534
  "while"
2533
- ], i = [
2535
+ ], s = [
2534
2536
  "add",
2535
2537
  "alias",
2536
2538
  "and",
@@ -2566,10 +2568,10 @@ function Or() {
2566
2568
  "with",
2567
2569
  "yield"
2568
2570
  ], r = {
2569
- keyword: o.concat(i),
2571
+ keyword: o.concat(s),
2570
2572
  built_in: t,
2571
- literal: l
2572
- }, a = e.inherit(e.TITLE_MODE, { begin: "[a-zA-Z](\\.?\\w)*" }), d = {
2573
+ literal: c
2574
+ }, i = e.inherit(e.TITLE_MODE, { begin: "[a-zA-Z](\\.?\\w)*" }), d = {
2573
2575
  className: "number",
2574
2576
  variants: [
2575
2577
  { begin: "\\b(0b[01']+)" },
@@ -2577,12 +2579,12 @@ function Or() {
2577
2579
  { begin: "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }
2578
2580
  ],
2579
2581
  relevance: 0
2580
- }, c = {
2582
+ }, l = {
2581
2583
  className: "string",
2582
2584
  begin: '@"',
2583
2585
  end: '"',
2584
2586
  contains: [{ begin: '""' }]
2585
- }, g = e.inherit(c, { illegal: /\n/ }), b = {
2587
+ }, g = e.inherit(l, { illegal: /\n/ }), b = {
2586
2588
  className: "subst",
2587
2589
  begin: /\{/,
2588
2590
  end: /\}/,
@@ -2620,7 +2622,7 @@ function Or() {
2620
2622
  b.contains = [
2621
2623
  E,
2622
2624
  m,
2623
- c,
2625
+ l,
2624
2626
  e.APOS_STRING_MODE,
2625
2627
  e.QUOTE_STRING_MODE,
2626
2628
  d,
@@ -2637,7 +2639,7 @@ function Or() {
2637
2639
  const h = { variants: [
2638
2640
  E,
2639
2641
  m,
2640
- c,
2642
+ l,
2641
2643
  e.APOS_STRING_MODE,
2642
2644
  e.QUOTE_STRING_MODE
2643
2645
  ] }, O = {
@@ -2645,7 +2647,7 @@ function Or() {
2645
2647
  end: ">",
2646
2648
  contains: [
2647
2649
  { beginKeywords: "in out" },
2648
- a
2650
+ i
2649
2651
  ]
2650
2652
  }, C = e.IDENT_RE + "(<" + e.IDENT_RE + "(\\s*,\\s*" + e.IDENT_RE + ")*>)?(\\[\\])?", M = {
2651
2653
  // prevents expressions like `@class` from incorrect flagging
@@ -2702,7 +2704,7 @@ function Or() {
2702
2704
  illegal: /[^\s:,]/,
2703
2705
  contains: [
2704
2706
  { beginKeywords: "where class" },
2705
- a,
2707
+ i,
2706
2708
  O,
2707
2709
  e.C_LINE_COMMENT_MODE,
2708
2710
  e.C_BLOCK_COMMENT_MODE
@@ -2714,7 +2716,7 @@ function Or() {
2714
2716
  end: /[{;=]/,
2715
2717
  illegal: /[^\s:]/,
2716
2718
  contains: [
2717
- a,
2719
+ i,
2718
2720
  e.C_LINE_COMMENT_MODE,
2719
2721
  e.C_BLOCK_COMMENT_MODE
2720
2722
  ]
@@ -2725,7 +2727,7 @@ function Or() {
2725
2727
  end: /[{;=]/,
2726
2728
  illegal: /[^\s:]/,
2727
2729
  contains: [
2728
- a,
2730
+ i,
2729
2731
  O,
2730
2732
  e.C_LINE_COMMENT_MODE,
2731
2733
  e.C_BLOCK_COMMENT_MODE
@@ -2762,7 +2764,7 @@ function Or() {
2762
2764
  contains: [
2763
2765
  // prevents these from being highlighted `title`
2764
2766
  {
2765
- beginKeywords: s.join(" "),
2767
+ beginKeywords: a.join(" "),
2766
2768
  relevance: 0
2767
2769
  },
2768
2770
  {
@@ -2800,7 +2802,7 @@ function Or() {
2800
2802
  return Fe = n, Fe;
2801
2803
  }
2802
2804
  var $e, Ln;
2803
- function wr() {
2805
+ function Rr() {
2804
2806
  if (Ln) return $e;
2805
2807
  Ln = 1;
2806
2808
  const n = (r) => ({
@@ -2944,7 +2946,7 @@ function wr() {
2944
2946
  "max-width",
2945
2947
  "min-height",
2946
2948
  "max-height"
2947
- ], s = [
2949
+ ], a = [
2948
2950
  "active",
2949
2951
  "any-link",
2950
2952
  "blank",
@@ -3018,7 +3020,7 @@ function wr() {
3018
3020
  "visited",
3019
3021
  "where"
3020
3022
  // where()
3021
- ], l = [
3023
+ ], c = [
3022
3024
  "after",
3023
3025
  "backdrop",
3024
3026
  "before",
@@ -3396,8 +3398,8 @@ function wr() {
3396
3398
  // reverse makes sure longer attributes `font-weight` are matched fully
3397
3399
  // instead of getting false positives on say `font`
3398
3400
  ].reverse();
3399
- function i(r) {
3400
- const a = r.regex, d = n(r), c = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, g = "and or not only", b = /@-?\w[\w]*(-\w+)*/, p = "[a-zA-Z-][a-zA-Z0-9_-]*", m = [
3401
+ function s(r) {
3402
+ const i = r.regex, d = n(r), l = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, g = "and or not only", b = /@-?\w[\w]*(-\w+)*/, p = "[a-zA-Z-][a-zA-Z0-9_-]*", m = [
3401
3403
  r.APOS_STRING_MODE,
3402
3404
  r.QUOTE_STRING_MODE
3403
3405
  ];
@@ -3413,7 +3415,7 @@ function wr() {
3413
3415
  },
3414
3416
  contains: [
3415
3417
  d.BLOCK_COMMENT,
3416
- c,
3418
+ l,
3417
3419
  // to recognize keyframe 40% etc which are outside the scope of our
3418
3420
  // attribute value mode
3419
3421
  d.CSS_NUMBER_MODE,
@@ -3431,8 +3433,8 @@ function wr() {
3431
3433
  {
3432
3434
  className: "selector-pseudo",
3433
3435
  variants: [
3434
- { begin: ":(" + s.join("|") + ")" },
3435
- { begin: ":(:)?(" + l.join("|") + ")" }
3436
+ { begin: ":(" + a.join("|") + ")" },
3437
+ { begin: ":(:)?(" + c.join("|") + ")" }
3436
3438
  ]
3437
3439
  },
3438
3440
  // we may actually need this (12/2020)
@@ -3481,7 +3483,7 @@ function wr() {
3481
3483
  ]
3482
3484
  },
3483
3485
  {
3484
- begin: a.lookahead(/@/),
3486
+ begin: i.lookahead(/@/),
3485
3487
  end: "[{;]",
3486
3488
  relevance: 0,
3487
3489
  illegal: /:/,
@@ -3519,19 +3521,19 @@ function wr() {
3519
3521
  ]
3520
3522
  };
3521
3523
  }
3522
- return $e = i, $e;
3524
+ return $e = s, $e;
3523
3525
  }
3524
3526
  var ze, Dn;
3525
- function Rr() {
3527
+ function Ar() {
3526
3528
  if (Dn) return ze;
3527
3529
  Dn = 1;
3528
3530
  function n(e) {
3529
- const t = e.regex, s = {
3531
+ const t = e.regex, a = {
3530
3532
  begin: /<\/?[A-Za-z_]/,
3531
3533
  end: ">",
3532
3534
  subLanguage: "xml",
3533
3535
  relevance: 0
3534
- }, l = {
3536
+ }, c = {
3535
3537
  begin: "^[-\\*]{3,}",
3536
3538
  end: "$"
3537
3539
  }, o = {
@@ -3563,7 +3565,7 @@ function Rr() {
3563
3565
  relevance: 0
3564
3566
  }
3565
3567
  ]
3566
- }, i = {
3568
+ }, s = {
3567
3569
  className: "bullet",
3568
3570
  begin: "^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",
3569
3571
  end: "\\s+",
@@ -3586,7 +3588,7 @@ function Rr() {
3586
3588
  excludeBegin: !0
3587
3589
  }
3588
3590
  ]
3589
- }, a = /[A-Za-z][A-Za-z0-9+.-]*/, d = {
3591
+ }, i = /[A-Za-z][A-Za-z0-9+.-]*/, d = {
3590
3592
  variants: [
3591
3593
  // too much like nested array access in so many languages
3592
3594
  // to have any real relevance
@@ -3600,7 +3602,7 @@ function Rr() {
3600
3602
  relevance: 2
3601
3603
  },
3602
3604
  {
3603
- begin: t.concat(/\[.+?\]\(/, a, /:\/\/.*?\)/),
3605
+ begin: t.concat(/\[.+?\]\(/, i, /:\/\/.*?\)/),
3604
3606
  relevance: 2
3605
3607
  },
3606
3608
  // relative urls
@@ -3645,7 +3647,7 @@ function Rr() {
3645
3647
  excludeEnd: !0
3646
3648
  }
3647
3649
  ]
3648
- }, c = {
3650
+ }, l = {
3649
3651
  className: "strong",
3650
3652
  contains: [],
3651
3653
  // defined later
@@ -3674,20 +3676,20 @@ function Rr() {
3674
3676
  relevance: 0
3675
3677
  }
3676
3678
  ]
3677
- }, b = e.inherit(c, { contains: [] }), p = e.inherit(g, { contains: [] });
3678
- c.contains.push(p), g.contains.push(b);
3679
+ }, b = e.inherit(l, { contains: [] }), p = e.inherit(g, { contains: [] });
3680
+ l.contains.push(p), g.contains.push(b);
3679
3681
  let m = [
3680
- s,
3682
+ a,
3681
3683
  d
3682
3684
  ];
3683
3685
  return [
3684
- c,
3686
+ l,
3685
3687
  g,
3686
3688
  b,
3687
3689
  p
3688
3690
  ].forEach((h) => {
3689
3691
  h.contains = h.contains.concat(m);
3690
- }), m = m.concat(c, g), {
3692
+ }), m = m.concat(l, g), {
3691
3693
  name: "Markdown",
3692
3694
  aliases: [
3693
3695
  "md",
@@ -3716,9 +3718,9 @@ function Rr() {
3716
3718
  }
3717
3719
  ]
3718
3720
  },
3721
+ a,
3719
3722
  s,
3720
- i,
3721
- c,
3723
+ l,
3722
3724
  g,
3723
3725
  {
3724
3726
  className: "quote",
@@ -3727,7 +3729,7 @@ function Rr() {
3727
3729
  end: "$"
3728
3730
  },
3729
3731
  o,
3730
- l,
3732
+ c,
3731
3733
  d,
3732
3734
  r
3733
3735
  ]
@@ -3736,7 +3738,7 @@ function Rr() {
3736
3738
  return ze = n, ze;
3737
3739
  }
3738
3740
  var Ke, Bn;
3739
- function Ar() {
3741
+ function Mr() {
3740
3742
  if (Bn) return Ke;
3741
3743
  Bn = 1;
3742
3744
  function n(e) {
@@ -3793,15 +3795,15 @@ function Ar() {
3793
3795
  return Ke = n, Ke;
3794
3796
  }
3795
3797
  var qe, Un;
3796
- function Mr() {
3798
+ function Cr() {
3797
3799
  if (Un) return qe;
3798
3800
  Un = 1;
3799
3801
  function n(e) {
3800
- const t = e.regex, s = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)", l = t.either(
3802
+ const t = e.regex, a = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)", c = t.either(
3801
3803
  /\b([A-Z]+[a-z0-9]+)+/,
3802
3804
  // ends in caps
3803
3805
  /\b([A-Z]+[a-z0-9]+)+[A-Z]+/
3804
- ), o = t.concat(l, /(::\w+)*/), r = {
3806
+ ), o = t.concat(c, /(::\w+)*/), r = {
3805
3807
  "variable.constant": [
3806
3808
  "__FILE__",
3807
3809
  "__LINE__",
@@ -3871,23 +3873,23 @@ function Mr() {
3871
3873
  "false",
3872
3874
  "nil"
3873
3875
  ]
3874
- }, a = {
3876
+ }, i = {
3875
3877
  className: "doctag",
3876
3878
  begin: "@[A-Za-z]+"
3877
3879
  }, d = {
3878
3880
  begin: "#<",
3879
3881
  end: ">"
3880
- }, c = [
3882
+ }, l = [
3881
3883
  e.COMMENT(
3882
3884
  "#",
3883
3885
  "$",
3884
- { contains: [a] }
3886
+ { contains: [i] }
3885
3887
  ),
3886
3888
  e.COMMENT(
3887
3889
  "^=begin",
3888
3890
  "^=end",
3889
3891
  {
3890
- contains: [a],
3892
+ contains: [i],
3891
3893
  relevance: 10
3892
3894
  }
3893
3895
  ),
@@ -4057,14 +4059,14 @@ function Mr() {
4057
4059
  },
4058
4060
  {
4059
4061
  relevance: 0,
4060
- match: l,
4062
+ match: c,
4061
4063
  scope: "title.class"
4062
4064
  },
4063
4065
  {
4064
4066
  match: [
4065
4067
  /def/,
4066
4068
  /\s+/,
4067
- s
4069
+ a
4068
4070
  ],
4069
4071
  scope: {
4070
4072
  1: "keyword",
@@ -4088,7 +4090,7 @@ function Mr() {
4088
4090
  begin: ":(?!\\s)",
4089
4091
  contains: [
4090
4092
  b,
4091
- { begin: s }
4093
+ { begin: a }
4092
4094
  ],
4093
4095
  relevance: 0
4094
4096
  },
@@ -4144,10 +4146,10 @@ function Mr() {
4144
4146
  }
4145
4147
  ]
4146
4148
  }
4147
- ].concat(d, c),
4149
+ ].concat(d, l),
4148
4150
  relevance: 0
4149
4151
  }
4150
- ].concat(d, c);
4152
+ ].concat(d, l);
4151
4153
  g.contains = D, N.contains = D;
4152
4154
  const F = [
4153
4155
  {
@@ -4167,7 +4169,7 @@ function Mr() {
4167
4169
  }
4168
4170
  }
4169
4171
  ];
4170
- return c.unshift(d), {
4172
+ return l.unshift(d), {
4171
4173
  name: "Ruby",
4172
4174
  aliases: [
4173
4175
  "rb",
@@ -4178,17 +4180,17 @@ function Mr() {
4178
4180
  ],
4179
4181
  keywords: r,
4180
4182
  illegal: /\/\*/,
4181
- contains: [e.SHEBANG({ binary: "ruby" })].concat(F).concat(c).concat(D)
4183
+ contains: [e.SHEBANG({ binary: "ruby" })].concat(F).concat(l).concat(D)
4182
4184
  };
4183
4185
  }
4184
4186
  return qe = n, qe;
4185
4187
  }
4186
4188
  var Ge, Pn;
4187
- function Cr() {
4189
+ function Ir() {
4188
4190
  if (Pn) return Ge;
4189
4191
  Pn = 1;
4190
4192
  function n(e) {
4191
- const i = {
4193
+ const s = {
4192
4194
  keyword: [
4193
4195
  "break",
4194
4196
  "case",
@@ -4265,7 +4267,7 @@ function Cr() {
4265
4267
  return {
4266
4268
  name: "Go",
4267
4269
  aliases: ["golang"],
4268
- keywords: i,
4270
+ keywords: s,
4269
4271
  illegal: "</",
4270
4272
  contains: [
4271
4273
  e.C_LINE_COMMENT_MODE,
@@ -4307,7 +4309,7 @@ function Cr() {
4307
4309
  begin: /\(/,
4308
4310
  end: /\)/,
4309
4311
  endsParent: !0,
4310
- keywords: i,
4312
+ keywords: s,
4311
4313
  illegal: /["']/
4312
4314
  }
4313
4315
  ]
@@ -4318,11 +4320,11 @@ function Cr() {
4318
4320
  return Ge = n, Ge;
4319
4321
  }
4320
4322
  var He, Fn;
4321
- function Ir() {
4323
+ function kr() {
4322
4324
  if (Fn) return He;
4323
4325
  Fn = 1;
4324
4326
  function n(e) {
4325
- const t = e.regex, s = /[_A-Za-z][_0-9A-Za-z]*/;
4327
+ const t = e.regex, a = /[_A-Za-z][_0-9A-Za-z]*/;
4326
4328
  return {
4327
4329
  name: "GraphQL",
4328
4330
  aliases: ["gql"],
@@ -4378,7 +4380,7 @@ function Ir() {
4378
4380
  },
4379
4381
  {
4380
4382
  scope: "symbol",
4381
- begin: t.concat(s, t.lookahead(/\s*:/)),
4383
+ begin: t.concat(a, t.lookahead(/\s*:/)),
4382
4384
  relevance: 0
4383
4385
  }
4384
4386
  ],
@@ -4391,19 +4393,19 @@ function Ir() {
4391
4393
  return He = n, He;
4392
4394
  }
4393
4395
  var We, $n;
4394
- function kr() {
4396
+ function xr() {
4395
4397
  if ($n) return We;
4396
4398
  $n = 1;
4397
4399
  function n(e) {
4398
- const t = e.regex, s = {
4400
+ const t = e.regex, a = {
4399
4401
  className: "number",
4400
4402
  relevance: 0,
4401
4403
  variants: [
4402
4404
  { begin: /([+-]+)?[\d]+_[\d_]+/ },
4403
4405
  { begin: e.NUMBER_RE }
4404
4406
  ]
4405
- }, l = e.COMMENT();
4406
- l.variants = [
4407
+ }, c = e.COMMENT();
4408
+ c.variants = [
4407
4409
  {
4408
4410
  begin: /;/,
4409
4411
  end: /$/
@@ -4419,7 +4421,7 @@ function kr() {
4419
4421
  { begin: /\$[\w\d"][\w\d_]*/ },
4420
4422
  { begin: /\$\{(.*?)\}/ }
4421
4423
  ]
4422
- }, i = {
4424
+ }, s = {
4423
4425
  className: "literal",
4424
4426
  begin: /\bon|off|true|false|yes|no\b/
4425
4427
  }, r = {
@@ -4445,21 +4447,21 @@ function kr() {
4445
4447
  end: "'"
4446
4448
  }
4447
4449
  ]
4448
- }, a = {
4450
+ }, i = {
4449
4451
  begin: /\[/,
4450
4452
  end: /\]/,
4451
4453
  contains: [
4452
- l,
4453
- i,
4454
+ c,
4455
+ s,
4454
4456
  o,
4455
4457
  r,
4456
- s,
4458
+ a,
4457
4459
  "self"
4458
4460
  ],
4459
4461
  relevance: 0
4460
- }, d = /[A-Za-z0-9_-]+/, c = /"(\\"|[^"])*"/, g = /'[^']*'/, b = t.either(
4462
+ }, d = /[A-Za-z0-9_-]+/, l = /"(\\"|[^"])*"/, g = /'[^']*'/, b = t.either(
4461
4463
  d,
4462
- c,
4464
+ l,
4463
4465
  g
4464
4466
  ), p = t.concat(
4465
4467
  b,
@@ -4474,7 +4476,7 @@ function kr() {
4474
4476
  case_insensitive: !0,
4475
4477
  illegal: /\S/,
4476
4478
  contains: [
4477
- l,
4479
+ c,
4478
4480
  {
4479
4481
  className: "section",
4480
4482
  begin: /\[+/,
@@ -4486,12 +4488,12 @@ function kr() {
4486
4488
  starts: {
4487
4489
  end: /$/,
4488
4490
  contains: [
4489
- l,
4490
- a,
4491
+ c,
4491
4492
  i,
4493
+ s,
4492
4494
  o,
4493
4495
  r,
4494
- s
4496
+ a
4495
4497
  ]
4496
4498
  }
4497
4499
  }
@@ -4501,10 +4503,10 @@ function kr() {
4501
4503
  return We = n, We;
4502
4504
  }
4503
4505
  var Ye, zn;
4504
- function xr() {
4506
+ function Lr() {
4505
4507
  if (zn) return Ye;
4506
4508
  zn = 1;
4507
- var n = "[0-9](_*[0-9])*", e = `\\.(${n})`, t = "[0-9a-fA-F](_*[0-9a-fA-F])*", s = {
4509
+ var n = "[0-9](_*[0-9])*", e = `\\.(${n})`, t = "[0-9a-fA-F](_*[0-9a-fA-F])*", a = {
4508
4510
  className: "number",
4509
4511
  variants: [
4510
4512
  // DecimalFloatingPointLiteral
@@ -4527,11 +4529,11 @@ function xr() {
4527
4529
  ],
4528
4530
  relevance: 0
4529
4531
  };
4530
- function l(i, r, a) {
4531
- return a === -1 ? "" : i.replace(r, (d) => l(i, r, a - 1));
4532
+ function c(s, r, i) {
4533
+ return i === -1 ? "" : s.replace(r, (d) => c(s, r, i - 1));
4532
4534
  }
4533
- function o(i) {
4534
- const r = i.regex, a = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", d = a + l("(?:<" + a + "~~~(?:\\s*,\\s*" + a + "~~~)*>)?", /~~~/g, 2), m = {
4535
+ function o(s) {
4536
+ const r = s.regex, i = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*", d = i + c("(?:<" + i + "~~~(?:\\s*,\\s*" + i + "~~~)*>)?", /~~~/g, 2), m = {
4535
4537
  keyword: [
4536
4538
  "synchronized",
4537
4539
  "abstract",
@@ -4597,7 +4599,7 @@ function xr() {
4597
4599
  ]
4598
4600
  }, E = {
4599
4601
  className: "meta",
4600
- begin: "@" + a,
4602
+ begin: "@" + i,
4601
4603
  contains: [
4602
4604
  {
4603
4605
  begin: /\(/,
@@ -4612,7 +4614,7 @@ function xr() {
4612
4614
  end: /\)/,
4613
4615
  keywords: m,
4614
4616
  relevance: 0,
4615
- contains: [i.C_BLOCK_COMMENT_MODE],
4617
+ contains: [s.C_BLOCK_COMMENT_MODE],
4616
4618
  endsParent: !0
4617
4619
  };
4618
4620
  return {
@@ -4621,7 +4623,7 @@ function xr() {
4621
4623
  keywords: m,
4622
4624
  illegal: /<\/|#/,
4623
4625
  contains: [
4624
- i.COMMENT(
4626
+ s.COMMENT(
4625
4627
  "/\\*\\*",
4626
4628
  "\\*/",
4627
4629
  {
@@ -4645,21 +4647,21 @@ function xr() {
4645
4647
  keywords: "import",
4646
4648
  relevance: 2
4647
4649
  },
4648
- i.C_LINE_COMMENT_MODE,
4649
- i.C_BLOCK_COMMENT_MODE,
4650
+ s.C_LINE_COMMENT_MODE,
4651
+ s.C_BLOCK_COMMENT_MODE,
4650
4652
  {
4651
4653
  begin: /"""/,
4652
4654
  end: /"""/,
4653
4655
  className: "string",
4654
- contains: [i.BACKSLASH_ESCAPE]
4656
+ contains: [s.BACKSLASH_ESCAPE]
4655
4657
  },
4656
- i.APOS_STRING_MODE,
4657
- i.QUOTE_STRING_MODE,
4658
+ s.APOS_STRING_MODE,
4659
+ s.QUOTE_STRING_MODE,
4658
4660
  {
4659
4661
  match: [
4660
4662
  /\b(?:class|interface|enum|extends|implements|new)/,
4661
4663
  /\s+/,
4662
- a
4664
+ i
4663
4665
  ],
4664
4666
  className: {
4665
4667
  1: "keyword",
@@ -4673,9 +4675,9 @@ function xr() {
4673
4675
  },
4674
4676
  {
4675
4677
  begin: [
4676
- r.concat(/(?!else)/, a),
4678
+ r.concat(/(?!else)/, i),
4677
4679
  /\s+/,
4678
- a,
4680
+ i,
4679
4681
  /\s+/,
4680
4682
  /=(?!=)/
4681
4683
  ],
@@ -4689,7 +4691,7 @@ function xr() {
4689
4691
  begin: [
4690
4692
  /record/,
4691
4693
  /\s+/,
4692
- a
4694
+ i
4693
4695
  ],
4694
4696
  className: {
4695
4697
  1: "keyword",
@@ -4697,8 +4699,8 @@ function xr() {
4697
4699
  },
4698
4700
  contains: [
4699
4701
  N,
4700
- i.C_LINE_COMMENT_MODE,
4701
- i.C_BLOCK_COMMENT_MODE
4702
+ s.C_LINE_COMMENT_MODE,
4703
+ s.C_BLOCK_COMMENT_MODE
4702
4704
  ]
4703
4705
  },
4704
4706
  {
@@ -4710,7 +4712,7 @@ function xr() {
4710
4712
  {
4711
4713
  begin: [
4712
4714
  "(?:" + d + "\\s+)",
4713
- i.UNDERSCORE_IDENT_RE,
4715
+ s.UNDERSCORE_IDENT_RE,
4714
4716
  /\s*(?=\()/
4715
4717
  ],
4716
4718
  className: { 2: "title.function" },
@@ -4724,17 +4726,17 @@ function xr() {
4724
4726
  relevance: 0,
4725
4727
  contains: [
4726
4728
  E,
4727
- i.APOS_STRING_MODE,
4728
- i.QUOTE_STRING_MODE,
4729
- s,
4730
- i.C_BLOCK_COMMENT_MODE
4729
+ s.APOS_STRING_MODE,
4730
+ s.QUOTE_STRING_MODE,
4731
+ a,
4732
+ s.C_BLOCK_COMMENT_MODE
4731
4733
  ]
4732
4734
  },
4733
- i.C_LINE_COMMENT_MODE,
4734
- i.C_BLOCK_COMMENT_MODE
4735
+ s.C_LINE_COMMENT_MODE,
4736
+ s.C_BLOCK_COMMENT_MODE
4735
4737
  ]
4736
4738
  },
4737
- s,
4739
+ a,
4738
4740
  E
4739
4741
  ]
4740
4742
  };
@@ -4742,7 +4744,7 @@ function xr() {
4742
4744
  return Ye = o, Ye;
4743
4745
  }
4744
4746
  var Ze, Kn;
4745
- function Lr() {
4747
+ function Dr() {
4746
4748
  if (Kn) return Ze;
4747
4749
  Kn = 1;
4748
4750
  const n = "[A-Za-z$_][0-9A-Za-z$_]*", e = [
@@ -4795,7 +4797,7 @@ function Lr() {
4795
4797
  "undefined",
4796
4798
  "NaN",
4797
4799
  "Infinity"
4798
- ], s = [
4800
+ ], a = [
4799
4801
  // Fundamental objects
4800
4802
  "Object",
4801
4803
  "Function",
@@ -4845,7 +4847,7 @@ function Lr() {
4845
4847
  "Intl",
4846
4848
  // WebAssembly
4847
4849
  "WebAssembly"
4848
- ], l = [
4850
+ ], c = [
4849
4851
  "Error",
4850
4852
  "EvalError",
4851
4853
  "InternalError",
@@ -4872,7 +4874,7 @@ function Lr() {
4872
4874
  "encodeURIComponent",
4873
4875
  "escape",
4874
4876
  "unescape"
4875
- ], i = [
4877
+ ], s = [
4876
4878
  "arguments",
4877
4879
  "this",
4878
4880
  "super",
@@ -4886,11 +4888,11 @@ function Lr() {
4886
4888
  // Node.js
4887
4889
  ], r = [].concat(
4888
4890
  o,
4889
- s,
4890
- l
4891
+ a,
4892
+ c
4891
4893
  );
4892
- function a(d) {
4893
- const c = d.regex, g = (q, { after: K }) => {
4894
+ function i(d) {
4895
+ const l = d.regex, g = (q, { after: K }) => {
4894
4896
  const Q = "</" + q[0].slice(1);
4895
4897
  return q.input.indexOf(Q, K) !== -1;
4896
4898
  }, b = n, p = {
@@ -4933,7 +4935,7 @@ function Lr() {
4933
4935
  keyword: e,
4934
4936
  literal: t,
4935
4937
  built_in: r,
4936
- "variable.language": i
4938
+ "variable.language": s
4937
4939
  }, h = "[0-9](_?[0-9])*", O = `\\.(${h})`, C = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", M = {
4938
4940
  className: "number",
4939
4941
  variants: [
@@ -5098,7 +5100,7 @@ function Lr() {
5098
5100
  /\s+/,
5099
5101
  /extends/,
5100
5102
  /\s+/,
5101
- c.concat(b, "(", c.concat(/\./, b), ")*")
5103
+ l.concat(b, "(", l.concat(/\./, b), ")*")
5102
5104
  ],
5103
5105
  scope: {
5104
5106
  1: "keyword",
@@ -5122,7 +5124,7 @@ function Lr() {
5122
5124
  ]
5123
5125
  }, u = {
5124
5126
  relevance: 0,
5125
- match: c.either(
5127
+ match: l.either(
5126
5128
  // Hard coded exceptions
5127
5129
  /\bJSON/,
5128
5130
  // Float32Array, OutT
@@ -5140,8 +5142,8 @@ function Lr() {
5140
5142
  keywords: {
5141
5143
  _: [
5142
5144
  // se we still get relevance credit for JS library classes
5143
- ...s,
5144
- ...l
5145
+ ...a,
5146
+ ...c
5145
5147
  ]
5146
5148
  }
5147
5149
  }, f = {
@@ -5180,10 +5182,10 @@ function Lr() {
5180
5182
  className: "variable.constant"
5181
5183
  };
5182
5184
  function U(q) {
5183
- return c.concat("(?!", q.join("|"), ")");
5185
+ return l.concat("(?!", q.join("|"), ")");
5184
5186
  }
5185
5187
  const Y = {
5186
- match: c.concat(
5188
+ match: l.concat(
5187
5189
  /\b/,
5188
5190
  U([
5189
5191
  ...o,
@@ -5191,13 +5193,13 @@ function Lr() {
5191
5193
  "import"
5192
5194
  ]),
5193
5195
  b,
5194
- c.lookahead(/\(/)
5196
+ l.lookahead(/\(/)
5195
5197
  ),
5196
5198
  className: "title.function",
5197
5199
  relevance: 0
5198
5200
  }, ne = {
5199
- begin: c.concat(/\./, c.lookahead(
5200
- c.concat(b, /(?![0-9A-Za-z$_(])/)
5201
+ begin: l.concat(/\./, l.lookahead(
5202
+ l.concat(b, /(?![0-9A-Za-z$_(])/)
5201
5203
  )),
5202
5204
  end: b,
5203
5205
  excludeBegin: !0,
@@ -5231,7 +5233,7 @@ function Lr() {
5231
5233
  /=\s*/,
5232
5234
  /(async\s*)?/,
5233
5235
  // async is optional
5234
- c.lookahead(z)
5236
+ l.lookahead(z)
5235
5237
  ],
5236
5238
  keywords: "async",
5237
5239
  className: {
@@ -5269,7 +5271,7 @@ function Lr() {
5269
5271
  u,
5270
5272
  {
5271
5273
  className: "attr",
5272
- begin: b + c.lookahead(":"),
5274
+ begin: b + l.lookahead(":"),
5273
5275
  relevance: 0
5274
5276
  },
5275
5277
  Z,
@@ -5396,10 +5398,10 @@ function Lr() {
5396
5398
  ]
5397
5399
  };
5398
5400
  }
5399
- return Ze = a, Ze;
5401
+ return Ze = i, Ze;
5400
5402
  }
5401
5403
  var Xe, qn;
5402
- function Dr() {
5404
+ function Br() {
5403
5405
  if (qn) return Xe;
5404
5406
  qn = 1;
5405
5407
  function n(e) {
@@ -5407,26 +5409,26 @@ function Dr() {
5407
5409
  className: "attr",
5408
5410
  begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
5409
5411
  relevance: 1.01
5410
- }, s = {
5412
+ }, a = {
5411
5413
  match: /[{}[\],:]/,
5412
5414
  className: "punctuation",
5413
5415
  relevance: 0
5414
- }, l = [
5416
+ }, c = [
5415
5417
  "true",
5416
5418
  "false",
5417
5419
  "null"
5418
5420
  ], o = {
5419
5421
  scope: "literal",
5420
- beginKeywords: l.join(" ")
5422
+ beginKeywords: c.join(" ")
5421
5423
  };
5422
5424
  return {
5423
5425
  name: "JSON",
5424
5426
  keywords: {
5425
- literal: l
5427
+ literal: c
5426
5428
  },
5427
5429
  contains: [
5428
5430
  t,
5429
- s,
5431
+ a,
5430
5432
  e.QUOTE_STRING_MODE,
5431
5433
  o,
5432
5434
  e.C_NUMBER_MODE,
@@ -5439,10 +5441,10 @@ function Dr() {
5439
5441
  return Xe = n, Xe;
5440
5442
  }
5441
5443
  var Ve, Gn;
5442
- function Br() {
5444
+ function Ur() {
5443
5445
  if (Gn) return Ve;
5444
5446
  Gn = 1;
5445
- var n = "[0-9](_*[0-9])*", e = `\\.(${n})`, t = "[0-9a-fA-F](_*[0-9a-fA-F])*", s = {
5447
+ var n = "[0-9](_*[0-9])*", e = `\\.(${n})`, t = "[0-9a-fA-F](_*[0-9a-fA-F])*", a = {
5446
5448
  className: "number",
5447
5449
  variants: [
5448
5450
  // DecimalFloatingPointLiteral
@@ -5465,8 +5467,8 @@ function Br() {
5465
5467
  ],
5466
5468
  relevance: 0
5467
5469
  };
5468
- function l(o) {
5469
- const i = {
5470
+ function c(o) {
5471
+ const s = {
5470
5472
  keyword: "abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",
5471
5473
  built_in: "Byte Short Char Int Long Boolean Float Double Void Unit Nothing",
5472
5474
  literal: "true false null"
@@ -5479,7 +5481,7 @@ function Br() {
5479
5481
  begin: /@\w+/
5480
5482
  }
5481
5483
  ] }
5482
- }, a = {
5484
+ }, i = {
5483
5485
  className: "symbol",
5484
5486
  begin: o.UNDERSCORE_IDENT_RE + "@"
5485
5487
  }, d = {
@@ -5487,7 +5489,7 @@ function Br() {
5487
5489
  begin: /\$\{/,
5488
5490
  end: /\}/,
5489
5491
  contains: [o.C_NUMBER_MODE]
5490
- }, c = {
5492
+ }, l = {
5491
5493
  className: "variable",
5492
5494
  begin: "\\$" + o.UNDERSCORE_IDENT_RE
5493
5495
  }, g = {
@@ -5497,7 +5499,7 @@ function Br() {
5497
5499
  begin: '"""',
5498
5500
  end: '"""(?=[^"])',
5499
5501
  contains: [
5500
- c,
5502
+ l,
5501
5503
  d
5502
5504
  ]
5503
5505
  },
@@ -5516,7 +5518,7 @@ function Br() {
5516
5518
  illegal: /\n/,
5517
5519
  contains: [
5518
5520
  o.BACKSLASH_ESCAPE,
5519
- c,
5521
+ l,
5520
5522
  d
5521
5523
  ]
5522
5524
  }
@@ -5539,7 +5541,7 @@ function Br() {
5539
5541
  ]
5540
5542
  }
5541
5543
  ]
5542
- }, m = s, E = o.COMMENT(
5544
+ }, m = a, E = o.COMMENT(
5543
5545
  "/\\*",
5544
5546
  "\\*/",
5545
5547
  { contains: [o.C_BLOCK_COMMENT_MODE] }
@@ -5561,7 +5563,7 @@ function Br() {
5561
5563
  "kt",
5562
5564
  "kts"
5563
5565
  ],
5564
- keywords: i,
5566
+ keywords: s,
5565
5567
  contains: [
5566
5568
  o.COMMENT(
5567
5569
  "/\\*\\*",
@@ -5579,7 +5581,7 @@ function Br() {
5579
5581
  o.C_LINE_COMMENT_MODE,
5580
5582
  E,
5581
5583
  r,
5582
- a,
5584
+ i,
5583
5585
  b,
5584
5586
  p,
5585
5587
  {
@@ -5588,7 +5590,7 @@ function Br() {
5588
5590
  end: "[(]|$",
5589
5591
  returnBegin: !0,
5590
5592
  excludeEnd: !0,
5591
- keywords: i,
5593
+ keywords: s,
5592
5594
  relevance: 5,
5593
5595
  contains: [
5594
5596
  {
@@ -5609,7 +5611,7 @@ function Br() {
5609
5611
  begin: /\(/,
5610
5612
  end: /\)/,
5611
5613
  endsParent: !0,
5612
- keywords: i,
5614
+ keywords: s,
5613
5615
  relevance: 0,
5614
5616
  contains: [
5615
5617
  {
@@ -5681,18 +5683,18 @@ function Br() {
5681
5683
  ]
5682
5684
  };
5683
5685
  }
5684
- return Ve = l, Ve;
5686
+ return Ve = c, Ve;
5685
5687
  }
5686
5688
  var Qe, Hn;
5687
- function Ur() {
5689
+ function Pr() {
5688
5690
  if (Hn) return Qe;
5689
5691
  Hn = 1;
5690
- const n = (a) => ({
5692
+ const n = (i) => ({
5691
5693
  IMPORTANT: {
5692
5694
  scope: "meta",
5693
5695
  begin: "!important"
5694
5696
  },
5695
- BLOCK_COMMENT: a.C_BLOCK_COMMENT_MODE,
5697
+ BLOCK_COMMENT: i.C_BLOCK_COMMENT_MODE,
5696
5698
  HEXCOLOR: {
5697
5699
  scope: "number",
5698
5700
  begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
@@ -5707,13 +5709,13 @@ function Ur() {
5707
5709
  end: /\]/,
5708
5710
  illegal: "$",
5709
5711
  contains: [
5710
- a.APOS_STRING_MODE,
5711
- a.QUOTE_STRING_MODE
5712
+ i.APOS_STRING_MODE,
5713
+ i.QUOTE_STRING_MODE
5712
5714
  ]
5713
5715
  },
5714
5716
  CSS_NUMBER_MODE: {
5715
5717
  scope: "number",
5716
- begin: a.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
5718
+ begin: i.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
5717
5719
  relevance: 0
5718
5720
  },
5719
5721
  CSS_VARIABLE: {
@@ -5828,7 +5830,7 @@ function Ur() {
5828
5830
  "max-width",
5829
5831
  "min-height",
5830
5832
  "max-height"
5831
- ], s = [
5833
+ ], a = [
5832
5834
  "active",
5833
5835
  "any-link",
5834
5836
  "blank",
@@ -5902,7 +5904,7 @@ function Ur() {
5902
5904
  "visited",
5903
5905
  "where"
5904
5906
  // where()
5905
- ], l = [
5907
+ ], c = [
5906
5908
  "after",
5907
5909
  "backdrop",
5908
5910
  "before",
@@ -6279,9 +6281,9 @@ function Ur() {
6279
6281
  "z-index"
6280
6282
  // reverse makes sure longer attributes `font-weight` are matched fully
6281
6283
  // instead of getting false positives on say `font`
6282
- ].reverse(), i = s.concat(l);
6283
- function r(a) {
6284
- const d = n(a), c = i, g = "and or not only", b = "[\\w-]+", p = "(" + b + "|@\\{" + b + "\\})", m = [], E = [], N = function(F) {
6284
+ ].reverse(), s = a.concat(c);
6285
+ function r(i) {
6286
+ const d = n(i), l = s, g = "and or not only", b = "[\\w-]+", p = "(" + b + "|@\\{" + b + "\\})", m = [], E = [], N = function(F) {
6285
6287
  return {
6286
6288
  // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
6287
6289
  className: "string",
@@ -6306,8 +6308,8 @@ function Ur() {
6306
6308
  relevance: 0
6307
6309
  };
6308
6310
  E.push(
6309
- a.C_LINE_COMMENT_MODE,
6310
- a.C_BLOCK_COMMENT_MODE,
6311
+ i.C_LINE_COMMENT_MODE,
6312
+ i.C_BLOCK_COMMENT_MODE,
6311
6313
  N("'"),
6312
6314
  N('"'),
6313
6315
  d.CSS_NUMBER_MODE,
@@ -6415,8 +6417,8 @@ function Ur() {
6415
6417
  illegal: `[<='$"]`,
6416
6418
  relevance: 0,
6417
6419
  contains: [
6418
- a.C_LINE_COMMENT_MODE,
6419
- a.C_BLOCK_COMMENT_MODE,
6420
+ i.C_LINE_COMMENT_MODE,
6421
+ i.C_BLOCK_COMMENT_MODE,
6420
6422
  A,
6421
6423
  h("keyword", "all\\b"),
6422
6424
  h("variable", "@\\{" + b + "\\}"),
@@ -6433,11 +6435,11 @@ function Ur() {
6433
6435
  d.ATTRIBUTE_SELECTOR_MODE,
6434
6436
  {
6435
6437
  className: "selector-pseudo",
6436
- begin: ":(" + s.join("|") + ")"
6438
+ begin: ":(" + a.join("|") + ")"
6437
6439
  },
6438
6440
  {
6439
6441
  className: "selector-pseudo",
6440
- begin: ":(:)?(" + l.join("|") + ")"
6442
+ begin: ":(:)?(" + c.join("|") + ")"
6441
6443
  },
6442
6444
  {
6443
6445
  begin: /\(/,
@@ -6451,13 +6453,13 @@ function Ur() {
6451
6453
  d.FUNCTION_DISPATCH
6452
6454
  ]
6453
6455
  }, H = {
6454
- begin: b + `:(:)?(${c.join("|")})`,
6456
+ begin: b + `:(:)?(${l.join("|")})`,
6455
6457
  returnBegin: !0,
6456
6458
  contains: [I]
6457
6459
  };
6458
6460
  return m.push(
6459
- a.C_LINE_COMMENT_MODE,
6460
- a.C_BLOCK_COMMENT_MODE,
6461
+ i.C_LINE_COMMENT_MODE,
6462
+ i.C_BLOCK_COMMENT_MODE,
6461
6463
  D,
6462
6464
  T,
6463
6465
  H,
@@ -6475,21 +6477,21 @@ function Ur() {
6475
6477
  return Qe = r, Qe;
6476
6478
  }
6477
6479
  var Je, Wn;
6478
- function Pr() {
6480
+ function Fr() {
6479
6481
  if (Wn) return Je;
6480
6482
  Wn = 1;
6481
6483
  function n(e) {
6482
- const t = "\\[=*\\[", s = "\\]=*\\]", l = {
6484
+ const t = "\\[=*\\[", a = "\\]=*\\]", c = {
6483
6485
  begin: t,
6484
- end: s,
6486
+ end: a,
6485
6487
  contains: ["self"]
6486
6488
  }, o = [
6487
6489
  e.COMMENT("--(?!" + t + ")", "$"),
6488
6490
  e.COMMENT(
6489
6491
  "--" + t,
6490
- s,
6492
+ a,
6491
6493
  {
6492
- contains: [l],
6494
+ contains: [c],
6493
6495
  relevance: 10
6494
6496
  }
6495
6497
  )
@@ -6526,8 +6528,8 @@ function Pr() {
6526
6528
  {
6527
6529
  className: "string",
6528
6530
  begin: t,
6529
- end: s,
6530
- contains: [l],
6531
+ end: a,
6532
+ contains: [c],
6531
6533
  relevance: 5
6532
6534
  }
6533
6535
  ])
@@ -6536,7 +6538,7 @@ function Pr() {
6536
6538
  return Je = n, Je;
6537
6539
  }
6538
6540
  var je, Yn;
6539
- function Fr() {
6541
+ function $r() {
6540
6542
  if (Yn) return je;
6541
6543
  Yn = 1;
6542
6544
  function n(e) {
@@ -6549,7 +6551,7 @@ function Fr() {
6549
6551
  },
6550
6552
  { begin: /\$[@%<?\^\+\*]/ }
6551
6553
  ]
6552
- }, s = {
6554
+ }, a = {
6553
6555
  className: "string",
6554
6556
  begin: /"/,
6555
6557
  end: /"/,
@@ -6557,13 +6559,13 @@ function Fr() {
6557
6559
  e.BACKSLASH_ESCAPE,
6558
6560
  t
6559
6561
  ]
6560
- }, l = {
6562
+ }, c = {
6561
6563
  className: "variable",
6562
6564
  begin: /\$\([\w-]+\s/,
6563
6565
  end: /\)/,
6564
6566
  keywords: { built_in: "subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value" },
6565
6567
  contains: [t]
6566
- }, o = { begin: "^" + e.UNDERSCORE_IDENT_RE + "\\s*(?=[:+?]?=)" }, i = {
6568
+ }, o = { begin: "^" + e.UNDERSCORE_IDENT_RE + "\\s*(?=[:+?]?=)" }, s = {
6567
6569
  className: "meta",
6568
6570
  begin: /^\.PHONY:/,
6569
6571
  end: /$/,
@@ -6591,10 +6593,10 @@ function Fr() {
6591
6593
  contains: [
6592
6594
  e.HASH_COMMENT_MODE,
6593
6595
  t,
6594
- s,
6595
- l,
6596
+ a,
6597
+ c,
6596
6598
  o,
6597
- i,
6599
+ s,
6598
6600
  r
6599
6601
  ]
6600
6602
  };
@@ -6602,11 +6604,11 @@ function Fr() {
6602
6604
  return je = n, je;
6603
6605
  }
6604
6606
  var en, Zn;
6605
- function $r() {
6607
+ function zr() {
6606
6608
  if (Zn) return en;
6607
6609
  Zn = 1;
6608
6610
  function n(e) {
6609
- const t = e.regex, s = [
6611
+ const t = e.regex, a = [
6610
6612
  "abs",
6611
6613
  "accept",
6612
6614
  "alarm",
@@ -6837,10 +6839,10 @@ function $r() {
6837
6839
  "x|0",
6838
6840
  "xor",
6839
6841
  "y|0"
6840
- ], l = /[dualxmsipngr]{0,12}/, o = {
6842
+ ], c = /[dualxmsipngr]{0,12}/, o = {
6841
6843
  $pattern: /[\w.]+/,
6842
- keyword: s.join(" ")
6843
- }, i = {
6844
+ keyword: a.join(" ")
6845
+ }, s = {
6844
6846
  className: "subst",
6845
6847
  begin: "[$@]\\{",
6846
6848
  end: "\\}",
@@ -6849,7 +6851,7 @@ function $r() {
6849
6851
  begin: /->\{/,
6850
6852
  end: /\}/
6851
6853
  // contains defined later
6852
- }, a = { variants: [
6854
+ }, i = { variants: [
6853
6855
  { begin: /\$\d/ },
6854
6856
  { begin: t.concat(
6855
6857
  /[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,
@@ -6863,9 +6865,9 @@ function $r() {
6863
6865
  }
6864
6866
  ] }, d = [
6865
6867
  e.BACKSLASH_ESCAPE,
6866
- i,
6867
- a
6868
- ], c = [
6868
+ s,
6869
+ i
6870
+ ], l = [
6869
6871
  /!/,
6870
6872
  /\//,
6871
6873
  /\|/,
@@ -6884,16 +6886,16 @@ function $r() {
6884
6886
  h,
6885
6887
  /(?:\\.|[^\\\/])*?/,
6886
6888
  N,
6887
- l
6889
+ c
6888
6890
  );
6889
6891
  }, b = (m, E, N) => t.concat(
6890
6892
  t.concat("(?:", m, ")"),
6891
6893
  E,
6892
6894
  /(?:\\.|[^\\\/])*?/,
6893
6895
  N,
6894
- l
6896
+ c
6895
6897
  ), p = [
6896
- a,
6898
+ i,
6897
6899
  e.HASH_COMMENT_MODE,
6898
6900
  e.COMMENT(
6899
6901
  /^=\w/,
@@ -6975,7 +6977,7 @@ function $r() {
6975
6977
  className: "regexp",
6976
6978
  variants: [
6977
6979
  // allow matching common delimiters
6978
- { begin: g("s|tr|y", t.either(...c, { capture: !0 })) },
6980
+ { begin: g("s|tr|y", t.either(...l, { capture: !0 })) },
6979
6981
  // and then paired delmis
6980
6982
  { begin: g("s|tr|y", "\\(", "\\)") },
6981
6983
  { begin: g("s|tr|y", "\\[", "\\]") },
@@ -6995,7 +6997,7 @@ function $r() {
6995
6997
  // prefix is optional with /regex/
6996
6998
  { begin: b("(?:m|qr)?", /\//, /\//) },
6997
6999
  // allow matching common delimiters
6998
- { begin: b("m|qr", t.either(...c, { capture: !0 }), /\1/) },
7000
+ { begin: b("m|qr", t.either(...l, { capture: !0 }), /\1/) },
6999
7001
  // allow common paired delmins
7000
7002
  { begin: b("m|qr", /\(/, /\)/) },
7001
7003
  { begin: b("m|qr", /\[/, /\]/) },
@@ -7029,7 +7031,7 @@ function $r() {
7029
7031
  ]
7030
7032
  }
7031
7033
  ];
7032
- return i.contains = p, r.contains = p, {
7034
+ return s.contains = p, r.contains = p, {
7033
7035
  name: "Perl",
7034
7036
  aliases: [
7035
7037
  "pl",
@@ -7042,19 +7044,19 @@ function $r() {
7042
7044
  return en = n, en;
7043
7045
  }
7044
7046
  var nn, Xn;
7045
- function zr() {
7047
+ function Kr() {
7046
7048
  if (Xn) return nn;
7047
7049
  Xn = 1;
7048
7050
  function n(e) {
7049
7051
  const t = {
7050
7052
  className: "built_in",
7051
7053
  begin: "\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"
7052
- }, s = /[a-zA-Z@][a-zA-Z0-9_]*/, a = {
7054
+ }, a = /[a-zA-Z@][a-zA-Z0-9_]*/, i = {
7053
7055
  "variable.language": [
7054
7056
  "this",
7055
7057
  "super"
7056
7058
  ],
7057
- $pattern: s,
7059
+ $pattern: a,
7058
7060
  keyword: [
7059
7061
  "while",
7060
7062
  "export",
@@ -7206,7 +7208,7 @@ function zr() {
7206
7208
  "_Bool"
7207
7209
  ]
7208
7210
  }, d = {
7209
- $pattern: s,
7211
+ $pattern: a,
7210
7212
  keyword: [
7211
7213
  "@interface",
7212
7214
  "@class",
@@ -7223,7 +7225,7 @@ function zr() {
7223
7225
  "obj-c++",
7224
7226
  "objective-c++"
7225
7227
  ],
7226
- keywords: a,
7228
+ keywords: i,
7227
7229
  illegal: "</",
7228
7230
  contains: [
7229
7231
  t,
@@ -7282,19 +7284,19 @@ function zr() {
7282
7284
  return nn = n, nn;
7283
7285
  }
7284
7286
  var tn, Vn;
7285
- function Kr() {
7287
+ function qr() {
7286
7288
  if (Vn) return tn;
7287
7289
  Vn = 1;
7288
7290
  function n(e) {
7289
- const t = e.regex, s = /(?![A-Za-z0-9])(?![$])/, l = t.concat(
7291
+ const t = e.regex, a = /(?![A-Za-z0-9])(?![$])/, c = t.concat(
7290
7292
  /[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,
7291
- s
7293
+ a
7292
7294
  ), o = t.concat(
7293
7295
  /(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,
7294
- s
7295
- ), i = {
7296
+ a
7297
+ ), s = {
7296
7298
  scope: "variable",
7297
- match: "\\$+" + l
7299
+ match: "\\$+" + c
7298
7300
  }, r = {
7299
7301
  scope: "meta",
7300
7302
  variants: [
@@ -7306,7 +7308,7 @@ function Kr() {
7306
7308
  { begin: /\?>/ }
7307
7309
  // end php tag
7308
7310
  ]
7309
- }, a = {
7311
+ }, i = {
7310
7312
  scope: "subst",
7311
7313
  variants: [
7312
7314
  { begin: /\$\w+/ },
@@ -7315,13 +7317,13 @@ function Kr() {
7315
7317
  end: /\}/
7316
7318
  }
7317
7319
  ]
7318
- }, d = e.inherit(e.APOS_STRING_MODE, { illegal: null }), c = e.inherit(e.QUOTE_STRING_MODE, {
7320
+ }, d = e.inherit(e.APOS_STRING_MODE, { illegal: null }), l = e.inherit(e.QUOTE_STRING_MODE, {
7319
7321
  illegal: null,
7320
- contains: e.QUOTE_STRING_MODE.contains.concat(a)
7322
+ contains: e.QUOTE_STRING_MODE.contains.concat(i)
7321
7323
  }), g = {
7322
7324
  begin: /<<<[ \t]*(?:(\w+)|"(\w+)")\n/,
7323
7325
  end: /[ \t]*(\w+)\b/,
7324
- contains: e.QUOTE_STRING_MODE.contains.concat(a),
7326
+ contains: e.QUOTE_STRING_MODE.contains.concat(i),
7325
7327
  "on:begin": (W, B) => {
7326
7328
  B.data._beginMatch = W[1] || W[2];
7327
7329
  },
@@ -7335,7 +7337,7 @@ function Kr() {
7335
7337
  ]`, m = {
7336
7338
  scope: "string",
7337
7339
  variants: [
7338
- c,
7340
+ l,
7339
7341
  d,
7340
7342
  g,
7341
7343
  b
@@ -7575,7 +7577,7 @@ function Kr() {
7575
7577
  4: "title.class"
7576
7578
  }
7577
7579
  }
7578
- ] }, D = t.concat(l, "\\b(?!\\()"), T = { variants: [
7580
+ ] }, D = t.concat(c, "\\b(?!\\()"), T = { variants: [
7579
7581
  {
7580
7582
  match: [
7581
7583
  t.concat(
@@ -7630,7 +7632,7 @@ function Kr() {
7630
7632
  }
7631
7633
  ] }, I = {
7632
7634
  scope: "attr",
7633
- match: t.concat(l, t.lookahead(":"), t.lookahead(/(?!::)/))
7635
+ match: t.concat(c, t.lookahead(":"), t.lookahead(/(?!::)/))
7634
7636
  }, H = {
7635
7637
  relevance: 0,
7636
7638
  begin: /\(/,
@@ -7638,7 +7640,7 @@ function Kr() {
7638
7640
  keywords: M,
7639
7641
  contains: [
7640
7642
  I,
7641
- i,
7643
+ s,
7642
7644
  T,
7643
7645
  e.C_BLOCK_COMMENT_MODE,
7644
7646
  m,
@@ -7651,7 +7653,7 @@ function Kr() {
7651
7653
  /\b/,
7652
7654
  // to prevent keywords from being confused as the function title
7653
7655
  t.concat("(?!fn\\b|function\\b|", A(h).join("\\b|"), "|", A(O).join("\\b|"), "\\b)"),
7654
- l,
7656
+ c,
7655
7657
  t.concat(p, "*"),
7656
7658
  t.lookahead(/(?=\()/)
7657
7659
  ],
@@ -7738,14 +7740,14 @@ function Kr() {
7738
7740
  scope: "variable.language",
7739
7741
  match: /\$this\b/
7740
7742
  },
7741
- i,
7743
+ s,
7742
7744
  F,
7743
7745
  T,
7744
7746
  {
7745
7747
  match: [
7746
7748
  /const/,
7747
7749
  /\s/,
7748
- l
7750
+ c
7749
7751
  ],
7750
7752
  scope: {
7751
7753
  1: "keyword",
@@ -7777,7 +7779,7 @@ function Kr() {
7777
7779
  keywords: M,
7778
7780
  contains: [
7779
7781
  "self",
7780
- i,
7782
+ s,
7781
7783
  T,
7782
7784
  e.C_BLOCK_COMMENT_MODE,
7783
7785
  m,
@@ -7838,7 +7840,7 @@ function Kr() {
7838
7840
  return tn = n, tn;
7839
7841
  }
7840
7842
  var rn, Qn;
7841
- function qr() {
7843
+ function Gr() {
7842
7844
  if (Qn) return rn;
7843
7845
  Qn = 1;
7844
7846
  function n(e) {
@@ -7888,7 +7890,7 @@ function qr() {
7888
7890
  return rn = n, rn;
7889
7891
  }
7890
7892
  var an, Jn;
7891
- function Gr() {
7893
+ function Hr() {
7892
7894
  if (Jn) return an;
7893
7895
  Jn = 1;
7894
7896
  function n(e) {
@@ -7904,11 +7906,11 @@ function Gr() {
7904
7906
  return an = n, an;
7905
7907
  }
7906
7908
  var sn, jn;
7907
- function Hr() {
7909
+ function Wr() {
7908
7910
  if (jn) return sn;
7909
7911
  jn = 1;
7910
7912
  function n(e) {
7911
- const t = e.regex, s = new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*", "u"), l = [
7913
+ const t = e.regex, a = new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*", "u"), c = [
7912
7914
  "and",
7913
7915
  "as",
7914
7916
  "assert",
@@ -7943,9 +7945,9 @@ function Hr() {
7943
7945
  "while",
7944
7946
  "with",
7945
7947
  "yield"
7946
- ], a = {
7948
+ ], i = {
7947
7949
  $pattern: /[A-Za-z]\w+|__\w+__/,
7948
- keyword: l,
7950
+ keyword: c,
7949
7951
  built_in: [
7950
7952
  "__import__",
7951
7953
  "abs",
@@ -8043,11 +8045,11 @@ function Hr() {
8043
8045
  }, d = {
8044
8046
  className: "meta",
8045
8047
  begin: /^(>>>|\.\.\.) /
8046
- }, c = {
8048
+ }, l = {
8047
8049
  className: "subst",
8048
8050
  begin: /\{/,
8049
8051
  end: /\}/,
8050
- keywords: a,
8052
+ keywords: i,
8051
8053
  illegal: /#/
8052
8054
  }, g = {
8053
8055
  begin: /\{\{/,
@@ -8081,7 +8083,7 @@ function Hr() {
8081
8083
  e.BACKSLASH_ESCAPE,
8082
8084
  d,
8083
8085
  g,
8084
- c
8086
+ l
8085
8087
  ]
8086
8088
  },
8087
8089
  {
@@ -8091,7 +8093,7 @@ function Hr() {
8091
8093
  e.BACKSLASH_ESCAPE,
8092
8094
  d,
8093
8095
  g,
8094
- c
8096
+ l
8095
8097
  ]
8096
8098
  },
8097
8099
  {
@@ -8118,7 +8120,7 @@ function Hr() {
8118
8120
  contains: [
8119
8121
  e.BACKSLASH_ESCAPE,
8120
8122
  g,
8121
- c
8123
+ l
8122
8124
  ]
8123
8125
  },
8124
8126
  {
@@ -8127,13 +8129,13 @@ function Hr() {
8127
8129
  contains: [
8128
8130
  e.BACKSLASH_ESCAPE,
8129
8131
  g,
8130
- c
8132
+ l
8131
8133
  ]
8132
8134
  },
8133
8135
  e.APOS_STRING_MODE,
8134
8136
  e.QUOTE_STRING_MODE
8135
8137
  ]
8136
- }, p = "[0-9](_?[0-9])*", m = `(\\b(${p}))?\\.(${p})|\\b(${p})\\.`, E = `\\b|${l.join("|")}`, N = {
8138
+ }, p = "[0-9](_?[0-9])*", m = `(\\b(${p}))?\\.(${p})|\\b(${p})\\.`, E = `\\b|${c.join("|")}`, N = {
8137
8139
  className: "number",
8138
8140
  relevance: 0,
8139
8141
  variants: [
@@ -8181,7 +8183,7 @@ function Hr() {
8181
8183
  className: "comment",
8182
8184
  begin: t.lookahead(/# type:/),
8183
8185
  end: /$/,
8184
- keywords: a,
8186
+ keywords: i,
8185
8187
  contains: [
8186
8188
  {
8187
8189
  // prevent keywords from coloring `type`
@@ -8208,7 +8210,7 @@ function Hr() {
8208
8210
  end: /\)/,
8209
8211
  excludeBegin: !0,
8210
8212
  excludeEnd: !0,
8211
- keywords: a,
8213
+ keywords: i,
8212
8214
  contains: [
8213
8215
  "self",
8214
8216
  d,
@@ -8219,7 +8221,7 @@ function Hr() {
8219
8221
  }
8220
8222
  ]
8221
8223
  };
8222
- return c.contains = [
8224
+ return l.contains = [
8223
8225
  b,
8224
8226
  N,
8225
8227
  d
@@ -8231,7 +8233,7 @@ function Hr() {
8231
8233
  "ipython"
8232
8234
  ],
8233
8235
  unicodeRegex: !0,
8234
- keywords: a,
8236
+ keywords: i,
8235
8237
  illegal: /(<\/|\?)|=>/,
8236
8238
  contains: [
8237
8239
  d,
@@ -8253,7 +8255,7 @@ function Hr() {
8253
8255
  match: [
8254
8256
  /\bdef/,
8255
8257
  /\s+/,
8256
- s
8258
+ a
8257
8259
  ],
8258
8260
  scope: {
8259
8261
  1: "keyword",
@@ -8267,10 +8269,10 @@ function Hr() {
8267
8269
  match: [
8268
8270
  /\bclass/,
8269
8271
  /\s+/,
8270
- s,
8272
+ a,
8271
8273
  /\s*/,
8272
8274
  /\(\s*/,
8273
- s,
8275
+ a,
8274
8276
  /\s*\)/
8275
8277
  ]
8276
8278
  },
@@ -8278,7 +8280,7 @@ function Hr() {
8278
8280
  match: [
8279
8281
  /\bclass/,
8280
8282
  /\s+/,
8281
- s
8283
+ a
8282
8284
  ]
8283
8285
  }
8284
8286
  ],
@@ -8304,7 +8306,7 @@ function Hr() {
8304
8306
  return sn = n, sn;
8305
8307
  }
8306
8308
  var on, et;
8307
- function Wr() {
8309
+ function Yr() {
8308
8310
  if (et) return on;
8309
8311
  et = 1;
8310
8312
  function n(e) {
@@ -8333,18 +8335,18 @@ function Wr() {
8333
8335
  return on = n, on;
8334
8336
  }
8335
8337
  var cn, nt;
8336
- function Yr() {
8338
+ function Zr() {
8337
8339
  if (nt) return cn;
8338
8340
  nt = 1;
8339
8341
  function n(e) {
8340
- const t = e.regex, s = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/, l = t.either(
8342
+ const t = e.regex, a = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/, c = t.either(
8341
8343
  // Special case: only hexadecimal binary powers can contain fractions
8342
8344
  /0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,
8343
8345
  // Hexadecimal numbers without fraction and optional binary power
8344
8346
  /0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,
8345
8347
  // Decimal numbers
8346
8348
  /(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/
8347
- ), o = /[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/, i = t.either(
8349
+ ), o = /[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/, s = t.either(
8348
8350
  /[()]/,
8349
8351
  /[{}]/,
8350
8352
  /\[\[/,
@@ -8355,7 +8357,7 @@ function Yr() {
8355
8357
  return {
8356
8358
  name: "R",
8357
8359
  keywords: {
8358
- $pattern: s,
8360
+ $pattern: a,
8359
8361
  keyword: "function if in break next repeat else for while",
8360
8362
  literal: "NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",
8361
8363
  built_in: (
@@ -8397,7 +8399,7 @@ function Yr() {
8397
8399
  {
8398
8400
  scope: "variable",
8399
8401
  variants: [
8400
- { match: s },
8402
+ { match: a },
8401
8403
  { match: /`(?:\\.|[^`\\])+`/ }
8402
8404
  ],
8403
8405
  endsParent: !0
@@ -8474,7 +8476,7 @@ function Yr() {
8474
8476
  },
8475
8477
  match: [
8476
8478
  o,
8477
- l
8479
+ c
8478
8480
  ]
8479
8481
  },
8480
8482
  {
@@ -8484,7 +8486,7 @@ function Yr() {
8484
8486
  },
8485
8487
  match: [
8486
8488
  /%[^%]*%/,
8487
- l
8489
+ c
8488
8490
  ]
8489
8491
  },
8490
8492
  {
@@ -8493,8 +8495,8 @@ function Yr() {
8493
8495
  2: "number"
8494
8496
  },
8495
8497
  match: [
8496
- i,
8497
- l
8498
+ s,
8499
+ c
8498
8500
  ]
8499
8501
  },
8500
8502
  {
@@ -8502,7 +8504,7 @@ function Yr() {
8502
8504
  match: [
8503
8505
  /[^a-zA-Z0-9._]|^/,
8504
8506
  // not part of an identifier, or start of document
8505
- l
8507
+ c
8506
8508
  ]
8507
8509
  }
8508
8510
  ]
@@ -8512,7 +8514,7 @@ function Yr() {
8512
8514
  // Relevance boost for the most common assignment form.
8513
8515
  scope: { 3: "operator" },
8514
8516
  match: [
8515
- s,
8517
+ a,
8516
8518
  /\s+/,
8517
8519
  /<-/,
8518
8520
  /\s+/
@@ -8529,7 +8531,7 @@ function Yr() {
8529
8531
  {
8530
8532
  scope: "punctuation",
8531
8533
  relevance: 0,
8532
- match: i
8534
+ match: s
8533
8535
  },
8534
8536
  {
8535
8537
  // Escaped identifier
@@ -8543,11 +8545,11 @@ function Yr() {
8543
8545
  return cn = n, cn;
8544
8546
  }
8545
8547
  var ln, tt;
8546
- function Zr() {
8548
+ function Xr() {
8547
8549
  if (tt) return ln;
8548
8550
  tt = 1;
8549
8551
  function n(e) {
8550
- const t = e.regex, s = {
8552
+ const t = e.regex, a = {
8551
8553
  className: "title.function.invoke",
8552
8554
  relevance: 0,
8553
8555
  begin: t.concat(
@@ -8556,7 +8558,7 @@ function Zr() {
8556
8558
  e.IDENT_RE,
8557
8559
  t.lookahead(/\s*\(/)
8558
8560
  )
8559
- }, l = "([ui](8|16|32|64|128|size)|f(32|64))?", o = [
8561
+ }, c = "([ui](8|16|32|64|128|size)|f(32|64))?", o = [
8560
8562
  "abstract",
8561
8563
  "as",
8562
8564
  "async",
@@ -8608,7 +8610,7 @@ function Zr() {
8608
8610
  "where",
8609
8611
  "while",
8610
8612
  "yield"
8611
- ], i = [
8613
+ ], s = [
8612
8614
  "true",
8613
8615
  "false",
8614
8616
  "Some",
@@ -8682,7 +8684,7 @@ function Zr() {
8682
8684
  "macro_rules!",
8683
8685
  "assert_ne!",
8684
8686
  "debug_assert_ne!"
8685
- ], a = [
8687
+ ], i = [
8686
8688
  "i8",
8687
8689
  "i16",
8688
8690
  "i32",
@@ -8711,9 +8713,9 @@ function Zr() {
8711
8713
  aliases: ["rs"],
8712
8714
  keywords: {
8713
8715
  $pattern: e.IDENT_RE + "!?",
8714
- type: a,
8716
+ type: i,
8715
8717
  keyword: o,
8716
- literal: i,
8718
+ literal: s,
8717
8719
  built_in: r
8718
8720
  },
8719
8721
  illegal: "</",
@@ -8738,10 +8740,10 @@ function Zr() {
8738
8740
  {
8739
8741
  className: "number",
8740
8742
  variants: [
8741
- { begin: "\\b0b([01_]+)" + l },
8742
- { begin: "\\b0o([0-7_]+)" + l },
8743
- { begin: "\\b0x([A-Fa-f0-9_]+)" + l },
8744
- { begin: "\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)" + l }
8743
+ { begin: "\\b0b([01_]+)" + c },
8744
+ { begin: "\\b0o([0-7_]+)" + c },
8745
+ { begin: "\\b0x([A-Fa-f0-9_]+)" + c },
8746
+ { begin: "\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)" + c }
8745
8747
  ],
8746
8748
  relevance: 0
8747
8749
  },
@@ -8823,21 +8825,21 @@ function Zr() {
8823
8825
  keywords: {
8824
8826
  keyword: "Self",
8825
8827
  built_in: r,
8826
- type: a
8828
+ type: i
8827
8829
  }
8828
8830
  },
8829
8831
  {
8830
8832
  className: "punctuation",
8831
8833
  begin: "->"
8832
8834
  },
8833
- s
8835
+ a
8834
8836
  ]
8835
8837
  };
8836
8838
  }
8837
8839
  return ln = n, ln;
8838
8840
  }
8839
8841
  var dn, rt;
8840
- function Xr() {
8842
+ function Vr() {
8841
8843
  if (rt) return dn;
8842
8844
  rt = 1;
8843
8845
  const n = (r) => ({
@@ -8981,7 +8983,7 @@ function Xr() {
8981
8983
  "max-width",
8982
8984
  "min-height",
8983
8985
  "max-height"
8984
- ], s = [
8986
+ ], a = [
8985
8987
  "active",
8986
8988
  "any-link",
8987
8989
  "blank",
@@ -9055,7 +9057,7 @@ function Xr() {
9055
9057
  "visited",
9056
9058
  "where"
9057
9059
  // where()
9058
- ], l = [
9060
+ ], c = [
9059
9061
  "after",
9060
9062
  "backdrop",
9061
9063
  "before",
@@ -9433,8 +9435,8 @@ function Xr() {
9433
9435
  // reverse makes sure longer attributes `font-weight` are matched fully
9434
9436
  // instead of getting false positives on say `font`
9435
9437
  ].reverse();
9436
- function i(r) {
9437
- const a = n(r), d = l, c = s, g = "@[a-z-]+", b = "and or not only", m = {
9438
+ function s(r) {
9439
+ const i = n(r), d = c, l = a, g = "@[a-z-]+", b = "and or not only", m = {
9438
9440
  className: "variable",
9439
9441
  begin: "(\\$" + "[a-zA-Z-][a-zA-Z0-9_-]*" + ")\\b",
9440
9442
  relevance: 0
@@ -9448,7 +9450,7 @@ function Xr() {
9448
9450
  r.C_BLOCK_COMMENT_MODE,
9449
9451
  // to recognize keyframe 40% etc which are outside the scope of our
9450
9452
  // attribute value mode
9451
- a.CSS_NUMBER_MODE,
9453
+ i.CSS_NUMBER_MODE,
9452
9454
  {
9453
9455
  className: "selector-id",
9454
9456
  begin: "#[A-Za-z0-9_-]+",
@@ -9459,7 +9461,7 @@ function Xr() {
9459
9461
  begin: "\\.[A-Za-z0-9_-]+",
9460
9462
  relevance: 0
9461
9463
  },
9462
- a.ATTRIBUTE_SELECTOR_MODE,
9464
+ i.ATTRIBUTE_SELECTOR_MODE,
9463
9465
  {
9464
9466
  className: "selector-tag",
9465
9467
  begin: "\\b(" + e.join("|") + ")\\b",
@@ -9468,7 +9470,7 @@ function Xr() {
9468
9470
  },
9469
9471
  {
9470
9472
  className: "selector-pseudo",
9471
- begin: ":(" + c.join("|") + ")"
9473
+ begin: ":(" + l.join("|") + ")"
9472
9474
  },
9473
9475
  {
9474
9476
  className: "selector-pseudo",
@@ -9479,9 +9481,9 @@ function Xr() {
9479
9481
  // pseudo-selector params
9480
9482
  begin: /\(/,
9481
9483
  end: /\)/,
9482
- contains: [a.CSS_NUMBER_MODE]
9484
+ contains: [i.CSS_NUMBER_MODE]
9483
9485
  },
9484
- a.CSS_VARIABLE,
9486
+ i.CSS_VARIABLE,
9485
9487
  {
9486
9488
  className: "attribute",
9487
9489
  begin: "\\b(" + o.join("|") + ")\\b"
@@ -9492,14 +9494,14 @@ function Xr() {
9492
9494
  end: /[;}{]/,
9493
9495
  relevance: 0,
9494
9496
  contains: [
9495
- a.BLOCK_COMMENT,
9497
+ i.BLOCK_COMMENT,
9496
9498
  m,
9497
- a.HEXCOLOR,
9498
- a.CSS_NUMBER_MODE,
9499
+ i.HEXCOLOR,
9500
+ i.CSS_NUMBER_MODE,
9499
9501
  r.QUOTE_STRING_MODE,
9500
9502
  r.APOS_STRING_MODE,
9501
- a.IMPORTANT,
9502
- a.FUNCTION_DISPATCH
9503
+ i.IMPORTANT,
9504
+ i.FUNCTION_DISPATCH
9503
9505
  ]
9504
9506
  },
9505
9507
  // matching these here allows us to treat them more like regular CSS
@@ -9533,18 +9535,18 @@ function Xr() {
9533
9535
  m,
9534
9536
  r.QUOTE_STRING_MODE,
9535
9537
  r.APOS_STRING_MODE,
9536
- a.HEXCOLOR,
9537
- a.CSS_NUMBER_MODE
9538
+ i.HEXCOLOR,
9539
+ i.CSS_NUMBER_MODE
9538
9540
  ]
9539
9541
  },
9540
- a.FUNCTION_DISPATCH
9542
+ i.FUNCTION_DISPATCH
9541
9543
  ]
9542
9544
  };
9543
9545
  }
9544
- return dn = i, dn;
9546
+ return dn = s, dn;
9545
9547
  }
9546
9548
  var un, at;
9547
- function Vr() {
9549
+ function Qr() {
9548
9550
  if (at) return un;
9549
9551
  at = 1;
9550
9552
  function n(e) {
@@ -9572,11 +9574,11 @@ function Vr() {
9572
9574
  return un = n, un;
9573
9575
  }
9574
9576
  var gn, it;
9575
- function Qr() {
9577
+ function Jr() {
9576
9578
  if (it) return gn;
9577
9579
  it = 1;
9578
9580
  function n(e) {
9579
- const t = e.regex, s = e.COMMENT("--", "$"), l = {
9581
+ const t = e.regex, a = e.COMMENT("--", "$"), c = {
9580
9582
  className: "string",
9581
9583
  variants: [
9582
9584
  {
@@ -9589,7 +9591,7 @@ function Qr() {
9589
9591
  begin: /"/,
9590
9592
  end: /"/,
9591
9593
  contains: [{ begin: /""/ }]
9592
- }, i = [
9594
+ }, s = [
9593
9595
  "true",
9594
9596
  "false",
9595
9597
  // Not sure it's correct to call NULL literal, and clauses like IS [NOT] NULL look strange that way.
@@ -9600,7 +9602,7 @@ function Qr() {
9600
9602
  "large object",
9601
9603
  "with timezone",
9602
9604
  "without timezone"
9603
- ], a = [
9605
+ ], i = [
9604
9606
  "bigint",
9605
9607
  "binary",
9606
9608
  "blob",
@@ -9638,7 +9640,7 @@ function Qr() {
9638
9640
  "first",
9639
9641
  "last",
9640
9642
  "view"
9641
- ], c = [
9643
+ ], l = [
9642
9644
  "abs",
9643
9645
  "acos",
9644
9646
  "all",
@@ -10125,7 +10127,7 @@ function Qr() {
10125
10127
  "depth first",
10126
10128
  "breadth first"
10127
10129
  ], m = g, E = [
10128
- ...c,
10130
+ ...l,
10129
10131
  ...d
10130
10132
  ].filter((M) => !g.includes(M)), N = {
10131
10133
  className: "variable",
@@ -10154,8 +10156,8 @@ function Qr() {
10154
10156
  keywords: {
10155
10157
  $pattern: /\b[\w\.]+/,
10156
10158
  keyword: C(E, { when: (M) => M.length < 3 }),
10157
- literal: i,
10158
- type: a,
10159
+ literal: s,
10160
+ type: i,
10159
10161
  built_in: b
10160
10162
  },
10161
10163
  contains: [
@@ -10165,8 +10167,8 @@ function Qr() {
10165
10167
  keywords: {
10166
10168
  $pattern: /[\w\.]+/,
10167
10169
  keyword: E.concat(p),
10168
- literal: i,
10169
- type: a
10170
+ literal: s,
10171
+ type: i
10170
10172
  }
10171
10173
  },
10172
10174
  {
@@ -10175,11 +10177,11 @@ function Qr() {
10175
10177
  },
10176
10178
  O,
10177
10179
  N,
10178
- l,
10180
+ c,
10179
10181
  o,
10180
10182
  e.C_NUMBER_MODE,
10181
10183
  e.C_BLOCK_COMMENT_MODE,
10182
- s,
10184
+ a,
10183
10185
  h
10184
10186
  ]
10185
10187
  };
@@ -10187,7 +10189,7 @@ function Qr() {
10187
10189
  return gn = n, gn;
10188
10190
  }
10189
10191
  var bn, st;
10190
- function Jr() {
10192
+ function jr() {
10191
10193
  if (st) return bn;
10192
10194
  st = 1;
10193
10195
  function n(T) {
@@ -10199,18 +10201,18 @@ function Jr() {
10199
10201
  function t(...T) {
10200
10202
  return T.map((H) => n(H)).join("");
10201
10203
  }
10202
- function s(T) {
10204
+ function a(T) {
10203
10205
  const I = T[T.length - 1];
10204
10206
  return typeof I == "object" && I.constructor === Object ? (T.splice(T.length - 1, 1), I) : {};
10205
10207
  }
10206
- function l(...T) {
10207
- return "(" + (s(T).capture ? "" : "?:") + T.map((F) => n(F)).join("|") + ")";
10208
+ function c(...T) {
10209
+ return "(" + (a(T).capture ? "" : "?:") + T.map((F) => n(F)).join("|") + ")";
10208
10210
  }
10209
10211
  const o = (T) => t(
10210
10212
  /\b/,
10211
10213
  T,
10212
10214
  /\w$/.test(T) ? /\b/ : /\B/
10213
- ), i = [
10215
+ ), s = [
10214
10216
  "Protocol",
10215
10217
  // contextual
10216
10218
  "Type"
@@ -10218,7 +10220,7 @@ function Jr() {
10218
10220
  ].map(o), r = [
10219
10221
  "init",
10220
10222
  "self"
10221
- ].map(o), a = [
10223
+ ].map(o), i = [
10222
10224
  "Any",
10223
10225
  "Self"
10224
10226
  ], d = [
@@ -10356,7 +10358,7 @@ function Jr() {
10356
10358
  "while",
10357
10359
  "willSet"
10358
10360
  // contextual
10359
- ], c = [
10361
+ ], l = [
10360
10362
  "false",
10361
10363
  "nil",
10362
10364
  "true"
@@ -10423,7 +10425,7 @@ function Jr() {
10423
10425
  "withVaList",
10424
10426
  "withoutActuallyEscaping",
10425
10427
  "zip"
10426
- ], m = l(
10428
+ ], m = c(
10427
10429
  /[/=\-+!*%<>&|^~?]/,
10428
10430
  /[\u00A1-\u00A7]/,
10429
10431
  /[\u00A9\u00AB]/,
@@ -10442,7 +10444,7 @@ function Jr() {
10442
10444
  /[\u3001-\u3003]/,
10443
10445
  /[\u3008-\u3020]/,
10444
10446
  /[\u3030]/
10445
- ), E = l(
10447
+ ), E = c(
10446
10448
  m,
10447
10449
  /[\u0300-\u036F]/,
10448
10450
  /[\u1DC0-\u1DFF]/,
@@ -10451,7 +10453,7 @@ function Jr() {
10451
10453
  /[\uFE20-\uFE2F]/
10452
10454
  // TODO: The following characters are also allowed, but the regex isn't supported yet.
10453
10455
  // /[\u{E0100}-\u{E01EF}]/u
10454
- ), N = t(m, E, "*"), h = l(
10456
+ ), N = t(m, E, "*"), h = c(
10455
10457
  /[a-zA-Z_]/,
10456
10458
  /[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,
10457
10459
  /[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,
@@ -10469,14 +10471,14 @@ function Jr() {
10469
10471
  // /[\u{50000}-\u{5FFFD}\u{60000-\u{6FFFD}\u{70000}-\u{7FFFD}\u{80000}-\u{8FFFD}]/u,
10470
10472
  // /[\u{90000}-\u{9FFFD}\u{A0000-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}]/u,
10471
10473
  // /[\u{D0000}-\u{DFFFD}\u{E0000-\u{EFFFD}]/u
10472
- ), O = l(
10474
+ ), O = c(
10473
10475
  h,
10474
10476
  /\d/,
10475
10477
  /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
10476
10478
  ), C = t(h, O, "*"), M = t(/[A-Z]/, O, "*"), A = [
10477
10479
  "attached",
10478
10480
  "autoclosure",
10479
- t(/convention\(/, l("swift", "block", "c"), /\)/),
10481
+ t(/convention\(/, c("swift", "block", "c"), /\)/),
10480
10482
  "discardableResult",
10481
10483
  "dynamicCallable",
10482
10484
  "dynamicMemberLookup",
@@ -10535,38 +10537,38 @@ function Jr() {
10535
10537
  ], J = {
10536
10538
  match: [
10537
10539
  /\./,
10538
- l(...i, ...r)
10540
+ c(...s, ...r)
10539
10541
  ],
10540
10542
  className: { 2: "keyword" }
10541
10543
  }, ae = {
10542
10544
  // Consume .keyword to prevent highlighting properties and methods as keywords.
10543
- match: t(/\./, l(...d)),
10545
+ match: t(/\./, c(...d)),
10544
10546
  relevance: 0
10545
- }, W = d.filter(($) => typeof $ == "string").concat(["_|0"]), B = d.filter(($) => typeof $ != "string").concat(a).map(o), V = { variants: [
10547
+ }, W = d.filter(($) => typeof $ == "string").concat(["_|0"]), B = d.filter(($) => typeof $ != "string").concat(i).map(o), V = { variants: [
10546
10548
  {
10547
10549
  className: "keyword",
10548
- match: l(...B, ...r)
10550
+ match: c(...B, ...r)
10549
10551
  }
10550
10552
  ] }, u = {
10551
- $pattern: l(
10553
+ $pattern: c(
10552
10554
  /\b\w+/,
10553
10555
  // regular keywords
10554
10556
  /#\w+/
10555
10557
  // number keywords
10556
10558
  ),
10557
10559
  keyword: W.concat(b),
10558
- literal: c
10560
+ literal: l
10559
10561
  }, f = [
10560
10562
  J,
10561
10563
  ae,
10562
10564
  V
10563
10565
  ], w = {
10564
10566
  // Consume .built_in to prevent highlighting properties and methods.
10565
- match: t(/\./, l(...p)),
10567
+ match: t(/\./, c(...p)),
10566
10568
  relevance: 0
10567
10569
  }, k = {
10568
10570
  className: "built_in",
10569
- match: t(/\b/, l(...p), /(?=\()/)
10571
+ match: t(/\b/, c(...p), /(?=\()/)
10570
10572
  }, U = [
10571
10573
  w,
10572
10574
  k
@@ -10651,14 +10653,14 @@ function Jr() {
10651
10653
  relevance: 0,
10652
10654
  contains: [T.BACKSLASH_ESCAPE]
10653
10655
  }
10654
- ], Se = {
10656
+ ], ve = {
10655
10657
  begin: /\/[^\s](?=[^/\n]*\/)/,
10656
10658
  end: /\//,
10657
10659
  contains: ge
10658
10660
  }, re = ($) => {
10659
- const we = t($, /\//), Ne = t(/\//, $);
10661
+ const Re = t($, /\//), Ne = t(/\//, $);
10660
10662
  return {
10661
- begin: we,
10663
+ begin: Re,
10662
10664
  end: Ne,
10663
10665
  contains: [
10664
10666
  ...ge,
@@ -10669,24 +10671,24 @@ function Jr() {
10669
10671
  }
10670
10672
  ]
10671
10673
  };
10672
- }, ve = {
10674
+ }, Oe = {
10673
10675
  scope: "regexp",
10674
10676
  variants: [
10675
10677
  re("###"),
10676
10678
  re("##"),
10677
10679
  re("#"),
10678
- Se
10680
+ ve
10679
10681
  ]
10680
10682
  }, _e = { match: t(/`/, C, /`/) }, S = {
10681
10683
  className: "variable",
10682
10684
  match: /\$\d+/
10683
- }, Oe = {
10685
+ }, we = {
10684
10686
  className: "variable",
10685
10687
  match: `\\$${O}+`
10686
10688
  }, G = [
10687
10689
  _e,
10688
10690
  S,
10689
- Oe
10691
+ we
10690
10692
  ], P = {
10691
10693
  match: /(@|#(un)?)available/,
10692
10694
  scope: "keyword",
@@ -10704,7 +10706,7 @@ function Jr() {
10704
10706
  ] }
10705
10707
  }, me = {
10706
10708
  scope: "keyword",
10707
- match: t(/@/, l(...A))
10709
+ match: t(/@/, c(...A))
10708
10710
  }, le = {
10709
10711
  scope: "meta",
10710
10712
  match: t(/@/, C)
@@ -10769,7 +10771,7 @@ function Jr() {
10769
10771
  "self",
10770
10772
  y,
10771
10773
  ...F,
10772
- ve,
10774
+ Oe,
10773
10775
  ...f,
10774
10776
  ...U,
10775
10777
  ...te,
@@ -10788,7 +10790,7 @@ function Jr() {
10788
10790
  ce
10789
10791
  ]
10790
10792
  }, X = {
10791
- begin: l(
10793
+ begin: c(
10792
10794
  e(t(C, /\s*:/)),
10793
10795
  e(t(C, /\s+/, C, /\s*:/))
10794
10796
  ),
@@ -10825,7 +10827,7 @@ function Jr() {
10825
10827
  match: [
10826
10828
  /(func|macro)/,
10827
10829
  /\s+/,
10828
- l(_e.match, C, N)
10830
+ c(_e.match, C, N)
10829
10831
  ],
10830
10832
  className: {
10831
10833
  1: "keyword",
@@ -10875,13 +10877,13 @@ function Jr() {
10875
10877
  contains: [ce],
10876
10878
  keywords: [
10877
10879
  ...g,
10878
- ...c
10880
+ ...l
10879
10881
  ],
10880
10882
  end: /}/
10881
10883
  };
10882
10884
  for (const $ of oe.variants) {
10883
- const we = $.contains.find((Ot) => Ot.label === "interpol");
10884
- we.keywords = u;
10885
+ const Re = $.contains.find((Ot) => Ot.label === "interpol");
10886
+ Re.keywords = u;
10885
10887
  const Ne = [
10886
10888
  ...f,
10887
10889
  ...U,
@@ -10890,7 +10892,7 @@ function Jr() {
10890
10892
  oe,
10891
10893
  ...G
10892
10894
  ];
10893
- we.contains = [
10895
+ Re.contains = [
10894
10896
  ...Ne,
10895
10897
  {
10896
10898
  begin: /\(/,
@@ -10930,7 +10932,7 @@ function Jr() {
10930
10932
  contains: [...F],
10931
10933
  relevance: 0
10932
10934
  },
10933
- ve,
10935
+ Oe,
10934
10936
  ...f,
10935
10937
  ...U,
10936
10938
  ...te,
@@ -10946,11 +10948,11 @@ function Jr() {
10946
10948
  return bn = D, bn;
10947
10949
  }
10948
10950
  var pn, ot;
10949
- function jr() {
10951
+ function ea() {
10950
10952
  if (ot) return pn;
10951
10953
  ot = 1;
10952
10954
  function n(e) {
10953
- const t = "true false yes no null", s = "[\\w#;/?:@&=+$,.~*'()[\\]]+", l = {
10955
+ const t = "true false yes no null", a = "[\\w#;/?:@&=+$,.~*'()[\\]]+", c = {
10954
10956
  className: "attr",
10955
10957
  variants: [
10956
10958
  { begin: "\\w[\\w :\\/.-]*:(?=[ ]|$)" },
@@ -10977,7 +10979,7 @@ function jr() {
10977
10979
  end: /\}/
10978
10980
  }
10979
10981
  ]
10980
- }, i = {
10982
+ }, s = {
10981
10983
  className: "string",
10982
10984
  relevance: 0,
10983
10985
  variants: [
@@ -10995,7 +10997,7 @@ function jr() {
10995
10997
  e.BACKSLASH_ESCAPE,
10996
10998
  o
10997
10999
  ]
10998
- }, r = e.inherit(i, { variants: [
11000
+ }, r = e.inherit(s, { variants: [
10999
11001
  {
11000
11002
  begin: /'/,
11001
11003
  end: /'/
@@ -11027,7 +11029,7 @@ function jr() {
11027
11029
  illegal: "\\n",
11028
11030
  relevance: 0
11029
11031
  }, N = [
11030
- l,
11032
+ c,
11031
11033
  {
11032
11034
  className: "meta",
11033
11035
  begin: "^---\\s*$",
@@ -11054,23 +11056,23 @@ function jr() {
11054
11056
  {
11055
11057
  // named tags
11056
11058
  className: "type",
11057
- begin: "!\\w+!" + s
11059
+ begin: "!\\w+!" + a
11058
11060
  },
11059
11061
  // https://yaml.org/spec/1.2/spec.html#id2784064
11060
11062
  {
11061
11063
  // verbatim tags
11062
11064
  className: "type",
11063
- begin: "!<" + s + ">"
11065
+ begin: "!<" + a + ">"
11064
11066
  },
11065
11067
  {
11066
11068
  // primary tags
11067
11069
  className: "type",
11068
- begin: "!" + s
11070
+ begin: "!" + a
11069
11071
  },
11070
11072
  {
11071
11073
  // secondary tags
11072
11074
  className: "type",
11073
- begin: "!!" + s
11075
+ begin: "!!" + a
11074
11076
  },
11075
11077
  {
11076
11078
  // fragment id &ref
@@ -11104,7 +11106,7 @@ function jr() {
11104
11106
  },
11105
11107
  m,
11106
11108
  E,
11107
- i
11109
+ s
11108
11110
  ], h = [...N];
11109
11111
  return h.pop(), h.push(r), p.contains = h, {
11110
11112
  name: "YAML",
@@ -11116,7 +11118,7 @@ function jr() {
11116
11118
  return pn = n, pn;
11117
11119
  }
11118
11120
  var _n, ct;
11119
- function ea() {
11121
+ function na() {
11120
11122
  if (ct) return _n;
11121
11123
  ct = 1;
11122
11124
  const n = "[A-Za-z$_][0-9A-Za-z$_]*", e = [
@@ -11169,7 +11171,7 @@ function ea() {
11169
11171
  "undefined",
11170
11172
  "NaN",
11171
11173
  "Infinity"
11172
- ], s = [
11174
+ ], a = [
11173
11175
  // Fundamental objects
11174
11176
  "Object",
11175
11177
  "Function",
@@ -11219,7 +11221,7 @@ function ea() {
11219
11221
  "Intl",
11220
11222
  // WebAssembly
11221
11223
  "WebAssembly"
11222
- ], l = [
11224
+ ], c = [
11223
11225
  "Error",
11224
11226
  "EvalError",
11225
11227
  "InternalError",
@@ -11246,7 +11248,7 @@ function ea() {
11246
11248
  "encodeURIComponent",
11247
11249
  "escape",
11248
11250
  "unescape"
11249
- ], i = [
11251
+ ], s = [
11250
11252
  "arguments",
11251
11253
  "this",
11252
11254
  "super",
@@ -11260,11 +11262,11 @@ function ea() {
11260
11262
  // Node.js
11261
11263
  ], r = [].concat(
11262
11264
  o,
11263
- s,
11264
- l
11265
+ a,
11266
+ c
11265
11267
  );
11266
- function a(c) {
11267
- const g = c.regex, b = (K, { after: Q }) => {
11268
+ function i(l) {
11269
+ const g = l.regex, b = (K, { after: Q }) => {
11268
11270
  const j = "</" + K[0].slice(1);
11269
11271
  return K.input.indexOf(j, Q) !== -1;
11270
11272
  }, p = n, m = {
@@ -11307,7 +11309,7 @@ function ea() {
11307
11309
  keyword: e,
11308
11310
  literal: t,
11309
11311
  built_in: r,
11310
- "variable.language": i
11312
+ "variable.language": s
11311
11313
  }, O = "[0-9](_?[0-9])*", C = `\\.(${O})`, M = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", A = {
11312
11314
  className: "number",
11313
11315
  variants: [
@@ -11339,7 +11341,7 @@ function ea() {
11339
11341
  end: "`",
11340
11342
  returnEnd: !1,
11341
11343
  contains: [
11342
- c.BACKSLASH_ESCAPE,
11344
+ l.BACKSLASH_ESCAPE,
11343
11345
  L
11344
11346
  ],
11345
11347
  subLanguage: "xml"
@@ -11351,7 +11353,7 @@ function ea() {
11351
11353
  end: "`",
11352
11354
  returnEnd: !1,
11353
11355
  contains: [
11354
- c.BACKSLASH_ESCAPE,
11356
+ l.BACKSLASH_ESCAPE,
11355
11357
  L
11356
11358
  ],
11357
11359
  subLanguage: "css"
@@ -11363,7 +11365,7 @@ function ea() {
11363
11365
  end: "`",
11364
11366
  returnEnd: !1,
11365
11367
  contains: [
11366
- c.BACKSLASH_ESCAPE,
11368
+ l.BACKSLASH_ESCAPE,
11367
11369
  L
11368
11370
  ],
11369
11371
  subLanguage: "graphql"
@@ -11373,13 +11375,13 @@ function ea() {
11373
11375
  begin: "`",
11374
11376
  end: "`",
11375
11377
  contains: [
11376
- c.BACKSLASH_ESCAPE,
11378
+ l.BACKSLASH_ESCAPE,
11377
11379
  L
11378
11380
  ]
11379
11381
  }, J = {
11380
11382
  className: "comment",
11381
11383
  variants: [
11382
- c.COMMENT(
11384
+ l.COMMENT(
11383
11385
  /\/\*\*(?!\/)/,
11384
11386
  "\\*/",
11385
11387
  {
@@ -11418,12 +11420,12 @@ function ea() {
11418
11420
  ]
11419
11421
  }
11420
11422
  ),
11421
- c.C_BLOCK_COMMENT_MODE,
11422
- c.C_LINE_COMMENT_MODE
11423
+ l.C_BLOCK_COMMENT_MODE,
11424
+ l.C_LINE_COMMENT_MODE
11423
11425
  ]
11424
11426
  }, ae = [
11425
- c.APOS_STRING_MODE,
11426
- c.QUOTE_STRING_MODE,
11427
+ l.APOS_STRING_MODE,
11428
+ l.QUOTE_STRING_MODE,
11427
11429
  D,
11428
11430
  T,
11429
11431
  I,
@@ -11514,8 +11516,8 @@ function ea() {
11514
11516
  keywords: {
11515
11517
  _: [
11516
11518
  // se we still get relevance credit for JS library classes
11517
- ...s,
11518
- ...l
11519
+ ...a,
11520
+ ...c
11519
11521
  ]
11520
11522
  }
11521
11523
  }, w = {
@@ -11596,7 +11598,7 @@ function ea() {
11596
11598
  },
11597
11599
  V
11598
11600
  ]
11599
- }, Z = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + c.UNDERSCORE_IDENT_RE + ")\\s*=>", q = {
11601
+ }, Z = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + l.UNDERSCORE_IDENT_RE + ")\\s*=>", q = {
11600
11602
  match: [
11601
11603
  /const|var|let/,
11602
11604
  /\s+/,
@@ -11624,14 +11626,14 @@ function ea() {
11624
11626
  exports: { PARAMS_CONTAINS: B, CLASS_REFERENCE: f },
11625
11627
  illegal: /#(?![$_A-z])/,
11626
11628
  contains: [
11627
- c.SHEBANG({
11629
+ l.SHEBANG({
11628
11630
  label: "shebang",
11629
11631
  binary: "node",
11630
11632
  relevance: 5
11631
11633
  }),
11632
11634
  w,
11633
- c.APOS_STRING_MODE,
11634
- c.QUOTE_STRING_MODE,
11635
+ l.APOS_STRING_MODE,
11636
+ l.QUOTE_STRING_MODE,
11635
11637
  D,
11636
11638
  T,
11637
11639
  I,
@@ -11649,12 +11651,12 @@ function ea() {
11649
11651
  q,
11650
11652
  {
11651
11653
  // "value" container
11652
- begin: "(" + c.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
11654
+ begin: "(" + l.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
11653
11655
  keywords: "return throw case",
11654
11656
  relevance: 0,
11655
11657
  contains: [
11656
11658
  J,
11657
- c.REGEXP_MODE,
11659
+ l.REGEXP_MODE,
11658
11660
  {
11659
11661
  className: "function",
11660
11662
  // we have to count the parens to make sure we actually have the
@@ -11668,7 +11670,7 @@ function ea() {
11668
11670
  className: "params",
11669
11671
  variants: [
11670
11672
  {
11671
- begin: c.UNDERSCORE_IDENT_RE,
11673
+ begin: l.UNDERSCORE_IDENT_RE,
11672
11674
  relevance: 0
11673
11675
  },
11674
11676
  {
@@ -11732,13 +11734,13 @@ function ea() {
11732
11734
  // we have to count the parens to make sure we actually have the correct
11733
11735
  // bounding ( ). There could be any number of sub-expressions inside
11734
11736
  // also surrounded by parens.
11735
- begin: "\\b(?!function)" + c.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
11737
+ begin: "\\b(?!function)" + l.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
11736
11738
  // end parens
11737
11739
  returnBegin: !0,
11738
11740
  label: "func.def",
11739
11741
  contains: [
11740
11742
  V,
11741
- c.inherit(c.TITLE_MODE, { begin: p, className: "title.function" })
11743
+ l.inherit(l.TITLE_MODE, { begin: p, className: "title.function" })
11742
11744
  ]
11743
11745
  },
11744
11746
  // catch ... so it won't trigger the property rule below
@@ -11770,8 +11772,8 @@ function ea() {
11770
11772
  ]
11771
11773
  };
11772
11774
  }
11773
- function d(c) {
11774
- const g = a(c), b = n, p = [
11775
+ function d(l) {
11776
+ const g = i(l), b = n, p = [
11775
11777
  "any",
11776
11778
  "void",
11777
11779
  "number",
@@ -11818,7 +11820,7 @@ function ea() {
11818
11820
  keyword: e.concat(h),
11819
11821
  literal: t,
11820
11822
  built_in: r.concat(p),
11821
- "variable.language": i
11823
+ "variable.language": s
11822
11824
  }, C = {
11823
11825
  className: "meta",
11824
11826
  begin: "@" + b
@@ -11832,7 +11834,7 @@ function ea() {
11832
11834
  C,
11833
11835
  m,
11834
11836
  E
11835
- ]), M(g, "shebang", c.SHEBANG()), M(g, "use_strict", N);
11837
+ ]), M(g, "shebang", l.SHEBANG()), M(g, "use_strict", N);
11836
11838
  const A = g.contains.find((L) => L.label === "func.def");
11837
11839
  return A.relevance = 0, Object.assign(g, {
11838
11840
  name: "TypeScript",
@@ -11847,14 +11849,14 @@ function ea() {
11847
11849
  return _n = d, _n;
11848
11850
  }
11849
11851
  var mn, lt;
11850
- function na() {
11852
+ function ta() {
11851
11853
  if (lt) return mn;
11852
11854
  lt = 1;
11853
11855
  function n(e) {
11854
- const t = e.regex, s = {
11856
+ const t = e.regex, a = {
11855
11857
  className: "string",
11856
11858
  begin: /"(""|[^/n])"C\b/
11857
- }, l = {
11859
+ }, c = {
11858
11860
  className: "string",
11859
11861
  begin: /"/,
11860
11862
  end: /"/,
@@ -11865,16 +11867,16 @@ function na() {
11865
11867
  begin: /""/
11866
11868
  }
11867
11869
  ]
11868
- }, o = /\d{1,2}\/\d{1,2}\/\d{4}/, i = /\d{4}-\d{1,2}-\d{1,2}/, r = /(\d|1[012])(:\d+){0,2} *(AM|PM)/, a = /\d{1,2}(:\d{1,2}){1,2}/, d = {
11870
+ }, o = /\d{1,2}\/\d{1,2}\/\d{4}/, s = /\d{4}-\d{1,2}-\d{1,2}/, r = /(\d|1[012])(:\d+){0,2} *(AM|PM)/, i = /\d{1,2}(:\d{1,2}){1,2}/, d = {
11869
11871
  className: "literal",
11870
11872
  variants: [
11871
11873
  {
11872
11874
  // #YYYY-MM-DD# (ISO-Date) or #M/D/YYYY# (US-Date)
11873
- begin: t.concat(/# */, t.either(i, o), / *#/)
11875
+ begin: t.concat(/# */, t.either(s, o), / *#/)
11874
11876
  },
11875
11877
  {
11876
11878
  // #H:mm[:ss]# (24h Time)
11877
- begin: t.concat(/# */, a, / *#/)
11879
+ begin: t.concat(/# */, i, / *#/)
11878
11880
  },
11879
11881
  {
11880
11882
  // #h[:mm[:ss]] A# (12h Time)
@@ -11884,14 +11886,14 @@ function na() {
11884
11886
  // date plus time
11885
11887
  begin: t.concat(
11886
11888
  /# */,
11887
- t.either(i, o),
11889
+ t.either(s, o),
11888
11890
  / +/,
11889
- t.either(r, a),
11891
+ t.either(r, i),
11890
11892
  / *#/
11891
11893
  )
11892
11894
  }
11893
11895
  ]
11894
- }, c = {
11896
+ }, l = {
11895
11897
  className: "number",
11896
11898
  relevance: 0,
11897
11899
  variants: [
@@ -11951,10 +11953,10 @@ function na() {
11951
11953
  },
11952
11954
  illegal: "//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",
11953
11955
  contains: [
11954
- s,
11955
- l,
11956
- d,
11956
+ a,
11957
11957
  c,
11958
+ d,
11959
+ l,
11958
11960
  g,
11959
11961
  b,
11960
11962
  p,
@@ -11972,14 +11974,14 @@ function na() {
11972
11974
  return mn = n, mn;
11973
11975
  }
11974
11976
  var En, dt;
11975
- function ta() {
11977
+ function ra() {
11976
11978
  if (dt) return En;
11977
11979
  dt = 1;
11978
11980
  function n(e) {
11979
11981
  e.regex;
11980
11982
  const t = e.COMMENT(/\(;/, /;\)/);
11981
11983
  t.contains.push("self");
11982
- const s = e.COMMENT(/;;/, /$/), l = [
11984
+ const a = e.COMMENT(/;;/, /$/), c = [
11983
11985
  "anyfunc",
11984
11986
  "block",
11985
11987
  "br",
@@ -12035,14 +12037,14 @@ function ta() {
12035
12037
  1: "keyword",
12036
12038
  3: "title.function"
12037
12039
  }
12038
- }, i = {
12040
+ }, s = {
12039
12041
  className: "variable",
12040
12042
  begin: /\$[\w_]+/
12041
12043
  }, r = {
12042
12044
  match: /(\((?!;)|\))+/,
12043
12045
  className: "punctuation",
12044
12046
  relevance: 0
12045
- }, a = {
12047
+ }, i = {
12046
12048
  className: "number",
12047
12049
  relevance: 0,
12048
12050
  // borrowed from Prism, TODO: split out into variants
@@ -12051,7 +12053,7 @@ function ta() {
12051
12053
  // look-ahead prevents us from gobbling up opcodes
12052
12054
  match: /(i32|i64|f32|f64)(?!\.)/,
12053
12055
  className: "type"
12054
- }, c = {
12056
+ }, l = {
12055
12057
  className: "keyword",
12056
12058
  // borrowed from Prism, TODO: split out into variants
12057
12059
  match: /\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/
@@ -12060,10 +12062,10 @@ function ta() {
12060
12062
  name: "WebAssembly",
12061
12063
  keywords: {
12062
12064
  $pattern: /[\w.]+/,
12063
- keyword: l
12065
+ keyword: c
12064
12066
  },
12065
12067
  contains: [
12066
- s,
12068
+ a,
12067
12069
  t,
12068
12070
  {
12069
12071
  match: [
@@ -12076,91 +12078,91 @@ function ta() {
12076
12078
  3: "operator"
12077
12079
  }
12078
12080
  },
12079
- i,
12081
+ s,
12080
12082
  r,
12081
12083
  o,
12082
12084
  e.QUOTE_STRING_MODE,
12083
12085
  d,
12084
- c,
12085
- a
12086
+ l,
12087
+ i
12086
12088
  ]
12087
12089
  };
12088
12090
  }
12089
12091
  return En = n, En;
12090
12092
  }
12091
- var R = Nr;
12092
- R.registerLanguage("xml", yr());
12093
- R.registerLanguage("bash", Tr());
12094
- R.registerLanguage("c", Sr());
12095
- R.registerLanguage("cpp", vr());
12096
- R.registerLanguage("csharp", Or());
12097
- R.registerLanguage("css", wr());
12098
- R.registerLanguage("markdown", Rr());
12099
- R.registerLanguage("diff", Ar());
12100
- R.registerLanguage("ruby", Mr());
12101
- R.registerLanguage("go", Cr());
12102
- R.registerLanguage("graphql", Ir());
12103
- R.registerLanguage("ini", kr());
12104
- R.registerLanguage("java", xr());
12105
- R.registerLanguage("javascript", Lr());
12106
- R.registerLanguage("json", Dr());
12107
- R.registerLanguage("kotlin", Br());
12108
- R.registerLanguage("less", Ur());
12109
- R.registerLanguage("lua", Pr());
12110
- R.registerLanguage("makefile", Fr());
12111
- R.registerLanguage("perl", $r());
12112
- R.registerLanguage("objectivec", zr());
12113
- R.registerLanguage("php", Kr());
12114
- R.registerLanguage("php-template", qr());
12115
- R.registerLanguage("plaintext", Gr());
12116
- R.registerLanguage("python", Hr());
12117
- R.registerLanguage("python-repl", Wr());
12118
- R.registerLanguage("r", Yr());
12119
- R.registerLanguage("rust", Zr());
12120
- R.registerLanguage("scss", Xr());
12121
- R.registerLanguage("shell", Vr());
12122
- R.registerLanguage("sql", Qr());
12123
- R.registerLanguage("swift", Jr());
12124
- R.registerLanguage("yaml", jr());
12125
- R.registerLanguage("typescript", ea());
12126
- R.registerLanguage("vbnet", na());
12127
- R.registerLanguage("wasm", ta());
12093
+ var R = yr;
12094
+ R.registerLanguage("xml", Tr());
12095
+ R.registerLanguage("bash", Sr());
12096
+ R.registerLanguage("c", vr());
12097
+ R.registerLanguage("cpp", Or());
12098
+ R.registerLanguage("csharp", wr());
12099
+ R.registerLanguage("css", Rr());
12100
+ R.registerLanguage("markdown", Ar());
12101
+ R.registerLanguage("diff", Mr());
12102
+ R.registerLanguage("ruby", Cr());
12103
+ R.registerLanguage("go", Ir());
12104
+ R.registerLanguage("graphql", kr());
12105
+ R.registerLanguage("ini", xr());
12106
+ R.registerLanguage("java", Lr());
12107
+ R.registerLanguage("javascript", Dr());
12108
+ R.registerLanguage("json", Br());
12109
+ R.registerLanguage("kotlin", Ur());
12110
+ R.registerLanguage("less", Pr());
12111
+ R.registerLanguage("lua", Fr());
12112
+ R.registerLanguage("makefile", $r());
12113
+ R.registerLanguage("perl", zr());
12114
+ R.registerLanguage("objectivec", Kr());
12115
+ R.registerLanguage("php", qr());
12116
+ R.registerLanguage("php-template", Gr());
12117
+ R.registerLanguage("plaintext", Hr());
12118
+ R.registerLanguage("python", Wr());
12119
+ R.registerLanguage("python-repl", Yr());
12120
+ R.registerLanguage("r", Zr());
12121
+ R.registerLanguage("rust", Xr());
12122
+ R.registerLanguage("scss", Vr());
12123
+ R.registerLanguage("shell", Qr());
12124
+ R.registerLanguage("sql", Jr());
12125
+ R.registerLanguage("swift", jr());
12126
+ R.registerLanguage("yaml", ea());
12127
+ R.registerLanguage("typescript", na());
12128
+ R.registerLanguage("vbnet", ta());
12129
+ R.registerLanguage("wasm", ra());
12128
12130
  R.HighlightJS = R;
12129
12131
  R.default = R;
12130
- var ra = R;
12131
- const Ae = /* @__PURE__ */ Rt(ra), aa = "_tableWrapper_15th0_1", ia = "_hljs_15th0_32", sa = "_hljsLanguage_15th0_44", oa = "_hljsContent_15th0_61", ca = "_hljsLine_15th0_66", la = "_hljsLineNumber_15th0_71", da = "_hljsLineContent_15th0_83", fe = {
12132
- tableWrapper: aa,
12133
- hljs: ia,
12134
- hljsLanguage: sa,
12135
- hljsContent: oa,
12136
- hljsLine: ca,
12137
- hljsLineNumber: la,
12138
- hljsLineContent: da
12139
- }, Ce = new wt({
12132
+ var aa = R;
12133
+ const Me = /* @__PURE__ */ At(aa), ye = new wt({
12140
12134
  breaks: !1,
12141
12135
  html: !1,
12142
12136
  linkTarget: "_blank",
12143
12137
  typographer: !0,
12144
12138
  xhtmlOut: !0,
12145
12139
  highlight(n, e) {
12146
- const t = (s) => s.trim().split(/\r?\n/).map((o, i) => `<div class="${fe.hljsLine}"><span class="${fe.hljsLineNumber}">${i + 1}</span><span class="${fe.hljsLineContent}">${o}</span></div>`).join(`
12140
+ const t = (a) => a.trim().split(/\r?\n/).map((o, s) => `<div class="${fe.hljsLine}"><span class="${fe.hljsLineNumber}">${s + 1}</span><span class="${fe.hljsLineContent}">${o}</span></div>`).join(`
12147
12141
  `);
12148
12142
  try {
12149
- const s = e && Ae.getLanguage(e) ? Ae.highlight(e, n).value : Ae.highlightAuto(n).value, l = e && Ae.getLanguage(e) ? e : "auto";
12150
- return `<pre class="${fe.hljs}" tabindex="0"><span class="${fe.hljsLanguage}">${l}</span><code>${t(s)}</code></pre>`;
12143
+ const a = e && Me.getLanguage(e) ? Me.highlight(e, n).value : Me.highlightAuto(n).value, c = e && Me.getLanguage(e) ? e : "auto";
12144
+ return `<pre class="${fe.hljs}" tabindex="0"><span class="${fe.hljsLanguage}">${c}</span><code>${t(a)}</code></pre>`;
12151
12145
  } catch {
12152
12146
  }
12153
12147
  return "";
12154
12148
  }
12155
12149
  });
12156
- Ce.renderer.rules.table_open = () => `<div class="${fe.tableWrapper}" tabindex="0"><table>`;
12157
- Ce.renderer.rules.table_close = () => "</table></div>";
12158
- Ce.renderer.rules.link_open = (n, e) => {
12150
+ ye.renderer.rules.table_open = () => `<div class="${fe.tableWrapper}" tabindex="0"><table>`;
12151
+ ye.renderer.rules.table_close = () => "</table></div>";
12152
+ ye.renderer.rules.link_open = (n, e) => {
12159
12153
  const {
12160
12154
  href: t
12161
12155
  } = n[e];
12162
- return Ce.renderer.rules.link_close = () => ` (${t})`, "";
12156
+ let a = "", c = !1;
12157
+ try {
12158
+ c = Rt(t), c ? a = `<a href="${t}" target="_blank">` : a = "";
12159
+ } catch {
12160
+ a = "", c = !1;
12161
+ } finally {
12162
+ c ? ye.renderer.rules.link_close = () => "</a>" : ye.renderer.rules.link_close = () => ` (${t})`;
12163
+ }
12164
+ return a;
12163
12165
  };
12164
12166
  export {
12165
- Ce as default
12167
+ ye as default
12166
12168
  };