@kernelift/markdown 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -153,14 +153,14 @@ on.prototype.parse = function(e, t) {
153
153
  if (!p) {
154
154
  const d = this.hostname.split(/\./);
155
155
  for (let g = 0, S = d.length; g < S; g++) {
156
- const T = d[g];
157
- if (T && !T.match(es)) {
156
+ const b = d[g];
157
+ if (b && !b.match(es)) {
158
158
  let f = "";
159
- for (let b = 0, C = T.length; b < C; b++)
160
- T.charCodeAt(b) > 127 ? f += "x" : f += T[b];
159
+ for (let T = 0, C = b.length; T < C; T++)
160
+ b.charCodeAt(T) > 127 ? f += "x" : f += b[T];
161
161
  if (!f.match(es)) {
162
- const b = d.slice(0, g), C = d.slice(g + 1), N = T.match(pd);
163
- N && (b.push(N[1]), C.unshift(N[2])), C.length && (i = C.join(".") + i), this.hostname = b.join(".");
162
+ const T = d.slice(0, g), C = d.slice(g + 1), N = b.match(pd);
163
+ N && (T.push(N[1]), C.unshift(N[2])), C.length && (i = C.join(".") + i), this.hostname = T.join(".");
164
164
  break;
165
165
  }
166
166
  }
@@ -1060,15 +1060,15 @@ function np(e) {
1060
1060
  continue;
1061
1061
  let S = l[p].text;
1062
1062
  l[p].schema ? l[p].schema === "mailto:" && !/^mailto:/i.test(S) ? S = e.md.normalizeLinkText("mailto:" + S).replace(/^mailto:/, "") : S = e.md.normalizeLinkText(S) : S = e.md.normalizeLinkText("http://" + S).replace(/^http:\/\//, "");
1063
- const T = l[p].index;
1064
- if (T > m) {
1063
+ const b = l[p].index;
1064
+ if (b > m) {
1065
1065
  const N = new e.Token("text", "", 0);
1066
- N.content = c.slice(m, T), N.level = _, u.push(N);
1066
+ N.content = c.slice(m, b), N.level = _, u.push(N);
1067
1067
  }
1068
1068
  const f = new e.Token("link_open", "a", 1);
1069
1069
  f.attrs = [["href", g]], f.level = _++, f.markup = "linkify", f.info = "auto", u.push(f);
1070
- const b = new e.Token("text", "", 0);
1071
- b.content = S, b.level = _, u.push(b);
1070
+ const T = new e.Token("text", "", 0);
1071
+ T.content = S, T.level = _, u.push(T);
1072
1072
  const C = new e.Token("link_close", "a", -1);
1073
1073
  C.level = --_, C.markup = "linkify", C.info = "auto", u.push(C), m = l[p].lastIndex;
1074
1074
  }
@@ -1150,8 +1150,8 @@ function _p(e, t) {
1150
1150
  g = e[n].content.charCodeAt(0);
1151
1151
  break;
1152
1152
  }
1153
- const S = Ft(d) || kt(String.fromCharCode(d)), T = Ft(g) || kt(String.fromCharCode(g)), f = Pt(d), b = Pt(g);
1154
- if (b ? _ = !1 : T && (f || S || (_ = !1)), f ? m = !1 : S && (b || T || (m = !1)), g === 34 && u[0] === '"' && d >= 48 && d <= 57 && (m = _ = !1), _ && m && (_ = S, m = T), !_ && !m) {
1153
+ const S = Ft(d) || kt(String.fromCharCode(d)), b = Ft(g) || kt(String.fromCharCode(g)), f = Pt(d), T = Pt(g);
1154
+ if (T ? _ = !1 : b && (f || S || (_ = !1)), f ? m = !1 : S && (T || b || (m = !1)), g === 34 && u[0] === '"' && d >= 48 && d <= 57 && (m = _ = !1), _ && m && (_ = S, m = b), !_ && !m) {
1155
1155
  p && (i.content = rn(i.content, u.index, as));
1156
1156
  continue;
1157
1157
  }
@@ -1359,8 +1359,8 @@ function Ep(e, t, n, r) {
1359
1359
  d.map = g;
1360
1360
  const S = e.push("thead_open", "thead", 1);
1361
1361
  S.map = [t, t + 1];
1362
- const T = e.push("tr_open", "tr", 1);
1363
- T.map = [t, t + 1];
1362
+ const b = e.push("tr_open", "tr", 1);
1363
+ b.map = [t, t + 1];
1364
1364
  for (let C = 0; C < l.length; C++) {
1365
1365
  const N = e.push("th_open", "th", 1);
1366
1366
  u[C] && (N.attrs = [["style", "text-align:" + u[C]]]);
@@ -1368,7 +1368,7 @@ function Ep(e, t, n, r) {
1368
1368
  R.content = l[C].trim(), R.children = [], e.push("th_close", "th", -1);
1369
1369
  }
1370
1370
  e.push("tr_close", "tr", -1), e.push("thead_close", "thead", -1);
1371
- let f, b = 0;
1371
+ let f, T = 0;
1372
1372
  for (a = t + 2; a < n && !(e.sCount[a] < e.blkIndent); a++) {
1373
1373
  let C = !1;
1374
1374
  for (let R = 0, y = p.length; R < y; R++)
@@ -1376,7 +1376,7 @@ function Ep(e, t, n, r) {
1376
1376
  C = !0;
1377
1377
  break;
1378
1378
  }
1379
- if (C || (c = vn(e, a).trim(), !c) || e.sCount[a] - e.blkIndent >= 4 || (l = is(c), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), b += _ - l.length, b > mp))
1379
+ if (C || (c = vn(e, a).trim(), !c) || e.sCount[a] - e.blkIndent >= 4 || (l = is(c), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), T += _ - l.length, T > mp))
1380
1380
  break;
1381
1381
  if (a === t + 2) {
1382
1382
  const R = e.push("tbody_open", "tbody", 1);
@@ -1452,10 +1452,10 @@ function fp(e, t, n, r) {
1452
1452
  e.parentType = "blockquote";
1453
1453
  let p = !1, d;
1454
1454
  for (d = t; d < n; d++) {
1455
- const b = e.sCount[d] < e.blkIndent;
1455
+ const T = e.sCount[d] < e.blkIndent;
1456
1456
  if (a = e.bMarks[d] + e.tShift[d], i = e.eMarks[d], a >= i)
1457
1457
  break;
1458
- if (e.src.charCodeAt(a++) === 62 && !b) {
1458
+ if (e.src.charCodeAt(a++) === 62 && !T) {
1459
1459
  let N = e.sCount[d] + 1, R, y;
1460
1460
  e.src.charCodeAt(a) === 32 ? (a++, N++, y = !1, R = !0) : e.src.charCodeAt(a) === 9 ? (R = !0, (e.bsCount[d] + N) % 4 === 3 ? (a++, N++, y = !1) : y = !0) : R = !1;
1461
1461
  let v = N;
@@ -1488,12 +1488,12 @@ function fp(e, t, n, r) {
1488
1488
  e.blkIndent = 0;
1489
1489
  const S = e.push("blockquote_open", "blockquote", 1);
1490
1490
  S.markup = ">";
1491
- const T = [t, 0];
1492
- S.map = T, e.md.block.tokenize(e, t, d);
1491
+ const b = [t, 0];
1492
+ S.map = b, e.md.block.tokenize(e, t, d);
1493
1493
  const f = e.push("blockquote_close", "blockquote", -1);
1494
- f.markup = ">", e.lineMax = s, e.parentType = m, T[1] = e.line;
1495
- for (let b = 0; b < u.length; b++)
1496
- e.bMarks[b + t] = o[b], e.tShift[b + t] = u[b], e.sCount[b + t] = l[b], e.bsCount[b + t] = c[b];
1494
+ f.markup = ">", e.lineMax = s, e.parentType = m, b[1] = e.line;
1495
+ for (let T = 0; T < u.length; T++)
1496
+ e.bMarks[T + t] = o[T], e.tShift[T + t] = u[T], e.sCount[T + t] = l[T], e.bsCount[T + t] = c[T];
1497
1497
  return e.blkIndent = g, !0;
1498
1498
  }
1499
1499
  function bp(e, t, n, r) {
@@ -1580,8 +1580,8 @@ function Rp(e, t, n, r) {
1580
1580
  _ ? (o = e.push("ordered_list_open", "ol", 1), m !== 1 && (o.attrs = [["start", m]])) : o = e.push("bullet_list_open", "ul", 1);
1581
1581
  const S = [c, 0];
1582
1582
  o.map = S, o.markup = String.fromCharCode(d);
1583
- let T = !1;
1584
- const f = e.md.block.ruler.getRules("list"), b = e.parentType;
1583
+ let b = !1;
1584
+ const f = e.md.block.ruler.getRules("list"), T = e.parentType;
1585
1585
  for (e.parentType = "list"; c < n; ) {
1586
1586
  i = p, a = e.eMarks[c];
1587
1587
  const C = e.sCount[c] + p - (e.bMarks[c] + e.tShift[c]);
@@ -1604,7 +1604,7 @@ function Rp(e, t, n, r) {
1604
1604
  const U = [c, 0];
1605
1605
  o.map = U, _ && (o.info = e.src.slice(s, p - 1));
1606
1606
  const A = e.tight, O = e.tShift[c], M = e.sCount[c], P = e.listIndent;
1607
- if (e.listIndent = e.blkIndent, e.blkIndent = v, e.tight = !0, e.tShift[c] = R - e.bMarks[c], e.sCount[c] = N, R >= a && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, n) : e.md.block.tokenize(e, c, n, !0), (!e.tight || T) && (l = !1), T = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = P, e.tShift[c] = O, e.sCount[c] = M, e.tight = A, o = e.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), c = e.line, U[1] = c, c >= n || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4)
1607
+ if (e.listIndent = e.blkIndent, e.blkIndent = v, e.tight = !0, e.tShift[c] = R - e.bMarks[c], e.sCount[c] = N, R >= a && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, n) : e.md.block.tokenize(e, c, n, !0), (!e.tight || b) && (l = !1), b = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = P, e.tShift[c] = O, e.sCount[c] = M, e.tight = A, o = e.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), c = e.line, U[1] = c, c >= n || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4)
1608
1608
  break;
1609
1609
  let L = !1;
1610
1610
  for (let w = 0, F = f.length; w < F; w++)
@@ -1623,15 +1623,15 @@ function Rp(e, t, n, r) {
1623
1623
  if (d !== e.src.charCodeAt(p - 1))
1624
1624
  break;
1625
1625
  }
1626
- return _ ? o = e.push("ordered_list_close", "ol", -1) : o = e.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), S[1] = c, e.line = c, e.parentType = b, l && Tp(e, g), !0;
1626
+ return _ ? o = e.push("ordered_list_close", "ol", -1) : o = e.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), S[1] = c, e.line = c, e.parentType = T, l && Tp(e, g), !0;
1627
1627
  }
1628
1628
  function Cp(e, t, n, r) {
1629
1629
  let a = e.bMarks[t] + e.tShift[t], i = e.eMarks[t], s = t + 1;
1630
1630
  if (e.sCount[t] - e.blkIndent >= 4 || e.src.charCodeAt(a) !== 91)
1631
1631
  return !1;
1632
1632
  function o(f) {
1633
- const b = e.lineMax;
1634
- if (f >= b || e.isEmpty(f))
1633
+ const T = e.lineMax;
1634
+ if (f >= T || e.isEmpty(f))
1635
1635
  return null;
1636
1636
  let C = !1;
1637
1637
  if (e.sCount[f] - e.blkIndent > 3 && (C = !0), e.sCount[f] < 0 && (C = !0), !C) {
@@ -1639,7 +1639,7 @@ function Cp(e, t, n, r) {
1639
1639
  e.parentType = "reference";
1640
1640
  let U = !1;
1641
1641
  for (let A = 0, O = y.length; A < O; A++)
1642
- if (y[A](e, f, b, !0)) {
1642
+ if (y[A](e, f, T, !0)) {
1643
1643
  U = !0;
1644
1644
  break;
1645
1645
  }
@@ -1660,11 +1660,11 @@ function Cp(e, t, n, r) {
1660
1660
  l = a;
1661
1661
  break;
1662
1662
  } else if (f === 10) {
1663
- const b = o(s);
1664
- b !== null && (c += b, i = c.length, s++);
1663
+ const T = o(s);
1664
+ T !== null && (c += T, i = c.length, s++);
1665
1665
  } else if (f === 92 && (a++, a < i && c.charCodeAt(a) === 10)) {
1666
- const b = o(s);
1667
- b !== null && (c += b, i = c.length, s++);
1666
+ const T = o(s);
1667
+ T !== null && (c += T, i = c.length, s++);
1668
1668
  }
1669
1669
  }
1670
1670
  if (l < 0 || c.charCodeAt(l + 1) !== 58)
@@ -1672,8 +1672,8 @@ function Cp(e, t, n, r) {
1672
1672
  for (a = l + 2; a < i; a++) {
1673
1673
  const f = c.charCodeAt(a);
1674
1674
  if (f === 10) {
1675
- const b = o(s);
1676
- b !== null && (c += b, i = c.length, s++);
1675
+ const T = o(s);
1676
+ T !== null && (c += T, i = c.length, s++);
1677
1677
  } else if (!ne(f)) break;
1678
1678
  }
1679
1679
  const u = e.md.helpers.parseLinkDestination(c, a, i);
@@ -1687,8 +1687,8 @@ function Cp(e, t, n, r) {
1687
1687
  for (; a < i; a++) {
1688
1688
  const f = c.charCodeAt(a);
1689
1689
  if (f === 10) {
1690
- const b = o(s);
1691
- b !== null && (c += b, i = c.length, s++);
1690
+ const T = o(s);
1691
+ T !== null && (c += T, i = c.length, s++);
1692
1692
  } else if (!ne(f)) break;
1693
1693
  }
1694
1694
  let g = e.md.helpers.parseLinkTitle(c, a, i);
@@ -1713,8 +1713,8 @@ function Cp(e, t, n, r) {
1713
1713
  }
1714
1714
  if (a < i && c.charCodeAt(a) !== 10)
1715
1715
  return !1;
1716
- const T = dn(c.slice(1, l));
1717
- return T ? (r || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[T] > "u" && (e.env.references[T] = { title: S, href: _ }), e.line = s), !0) : !1;
1716
+ const b = dn(c.slice(1, l));
1717
+ return b ? (r || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[b] > "u" && (e.env.references[b] = { title: S, href: _ }), e.line = s), !0) : !1;
1718
1718
  }
1719
1719
  const Np = [
1720
1720
  "address",
@@ -2282,8 +2282,8 @@ function Jp(e, t) {
2282
2282
  e.env,
2283
2283
  g
2284
2284
  );
2285
- const S = e.push("image", "img", 0), T = [["src", u], ["alt", ""]];
2286
- S.attrs = T, S.children = g, S.content = r, c && T.push(["title", c]);
2285
+ const S = e.push("image", "img", 0), b = [["src", u], ["alt", ""]];
2286
+ S.attrs = b, S.children = g, S.content = r, c && b.push(["title", c]);
2287
2287
  }
2288
2288
  return e.pos = i, e.posMax = m, !0;
2289
2289
  }
@@ -3297,13 +3297,13 @@ function Vm() {
3297
3297
  const h = E[E.length - 1];
3298
3298
  return typeof h == "object" && h.constructor === Object ? (E.splice(E.length - 1, 1), h) : {};
3299
3299
  }
3300
- function T(...E) {
3300
+ function b(...E) {
3301
3301
  return "(" + (S(E).capture ? "" : "?:") + E.map((H) => _(H)).join("|") + ")";
3302
3302
  }
3303
3303
  function f(E) {
3304
3304
  return new RegExp(E.toString() + "|").exec("").length - 1;
3305
3305
  }
3306
- function b(E, h) {
3306
+ function T(E, h) {
3307
3307
  const D = E && E.exec(h);
3308
3308
  return D && D.index === 0;
3309
3309
  }
@@ -3378,7 +3378,7 @@ function Vm() {
3378
3378
  excludeBegin: !0,
3379
3379
  relevance: 0
3380
3380
  });
3381
- const se = T(
3381
+ const se = b(
3382
3382
  // list of common 1 and 2 letter words in English
3383
3383
  "I",
3384
3384
  "a",
@@ -3514,7 +3514,7 @@ function Vm() {
3514
3514
  h && E.beginKeywords && (E.begin = "\\b(" + E.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", E.__beforeBegin = _e, E.keywords = E.keywords || E.beginKeywords, delete E.beginKeywords, E.relevance === void 0 && (E.relevance = 0));
3515
3515
  }
3516
3516
  function Et(E, h) {
3517
- Array.isArray(E.illegal) && (E.illegal = T(...E.illegal));
3517
+ Array.isArray(E.illegal) && (E.illegal = b(...E.illegal));
3518
3518
  }
3519
3519
  function Vt(E, h) {
3520
3520
  if (E.match) {
@@ -3841,7 +3841,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = I, te = Y), $ ==
3841
3841
  return x.scope && typeof x.scope == "string" && Ee.openNode(xe.classNameAliases[x.scope] || x.scope), x.beginScope && (x.beginScope._wrap ? (Le(J, xe.classNameAliases[x.beginScope._wrap] || x.beginScope._wrap), J = "") : x.beginScope._multi && (Cn(x.beginScope, B), J = "")), V = Object.create(x, { parent: { value: V } }), V;
3842
3842
  }
3843
3843
  function On(x, B, W) {
3844
- let Q = b(x.endRe, W);
3844
+ let Q = T(x.endRe, W);
3845
3845
  if (Q) {
3846
3846
  if (x["on:end"]) {
3847
3847
  const ge = new t(x);
@@ -4136,7 +4136,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = I, te = Y), $ ==
4136
4136
  }, E.versionString = Xt, E.regex = {
4137
4137
  concat: g,
4138
4138
  lookahead: m,
4139
- either: T,
4139
+ either: b,
4140
4140
  optional: d,
4141
4141
  anyNumberOfTimes: p
4142
4142
  };
@@ -5701,7 +5701,7 @@ function eE() {
5701
5701
  "while",
5702
5702
  "xor",
5703
5703
  "xor_eq"
5704
- ], T = [
5704
+ ], b = [
5705
5705
  "bool",
5706
5706
  "char",
5707
5707
  "char16_t",
@@ -5776,7 +5776,7 @@ function eE() {
5776
5776
  "weak_ptr",
5777
5777
  "wstring",
5778
5778
  "wstring_view"
5779
- ], b = [
5779
+ ], T = [
5780
5780
  "abort",
5781
5781
  "abs",
5782
5782
  "acos",
@@ -5878,7 +5878,7 @@ function eE() {
5878
5878
  "vprintf",
5879
5879
  "vsprintf"
5880
5880
  ], R = {
5881
- type: T,
5881
+ type: b,
5882
5882
  keyword: S,
5883
5883
  literal: [
5884
5884
  "NULL",
@@ -5894,7 +5894,7 @@ function eE() {
5894
5894
  relevance: 0,
5895
5895
  keywords: {
5896
5896
  // Only for relevance, not highlighting.
5897
- _hint: b
5897
+ _hint: T
5898
5898
  },
5899
5899
  begin: r.concat(
5900
5900
  /\b/,
@@ -7872,10 +7872,10 @@ function uE() {
7872
7872
  "coproc",
7873
7873
  "function",
7874
7874
  "select"
7875
- ], T = [
7875
+ ], b = [
7876
7876
  "true",
7877
7877
  "false"
7878
- ], f = { match: /(\/[a-z._-]+)+/ }, b = [
7878
+ ], f = { match: /(\/[a-z._-]+)+/ }, T = [
7879
7879
  "break",
7880
7880
  "cd",
7881
7881
  "continue",
@@ -8100,9 +8100,9 @@ function uE() {
8100
8100
  keywords: {
8101
8101
  $pattern: /\b[a-z][a-z0-9._-]+\b/,
8102
8102
  keyword: S,
8103
- literal: T,
8103
+ literal: b,
8104
8104
  built_in: [
8105
- ...b,
8105
+ ...T,
8106
8106
  ...C,
8107
8107
  // Shell modifiers
8108
8108
  "set",
@@ -8507,7 +8507,7 @@ function mE() {
8507
8507
  className: "title",
8508
8508
  begin: n.optional(i) + t.IDENT_RE,
8509
8509
  relevance: 0
8510
- }, d = n.optional(i) + t.IDENT_RE + "\\s*\\(", T = {
8510
+ }, d = n.optional(i) + t.IDENT_RE + "\\s*\\(", b = {
8511
8511
  keyword: [
8512
8512
  "asm",
8513
8513
  "auto",
@@ -8598,7 +8598,7 @@ function mE() {
8598
8598
  t.C_BLOCK_COMMENT_MODE,
8599
8599
  _,
8600
8600
  u
8601
- ], b = {
8601
+ ], T = {
8602
8602
  // This mode covers expression context where we can't expect a function
8603
8603
  // definition and shouldn't highlight anything that looks like one:
8604
8604
  // `return some()`, `else if()`, `(x*sum(1, 2))`
@@ -8616,12 +8616,12 @@ function mE() {
8616
8616
  end: /;/
8617
8617
  }
8618
8618
  ],
8619
- keywords: T,
8619
+ keywords: b,
8620
8620
  contains: f.concat([
8621
8621
  {
8622
8622
  begin: /\(/,
8623
8623
  end: /\)/,
8624
- keywords: T,
8624
+ keywords: b,
8625
8625
  contains: f.concat(["self"]),
8626
8626
  relevance: 0
8627
8627
  }
@@ -8632,13 +8632,13 @@ function mE() {
8632
8632
  returnBegin: !0,
8633
8633
  end: /[{;=]/,
8634
8634
  excludeEnd: !0,
8635
- keywords: T,
8635
+ keywords: b,
8636
8636
  illegal: /[^\w\s\*&:<>.]/,
8637
8637
  contains: [
8638
8638
  {
8639
8639
  // to prevent it from being confused as the function title
8640
8640
  begin: a,
8641
- keywords: T,
8641
+ keywords: b,
8642
8642
  relevance: 0
8643
8643
  },
8644
8644
  {
@@ -8657,7 +8657,7 @@ function mE() {
8657
8657
  className: "params",
8658
8658
  begin: /\(/,
8659
8659
  end: /\)/,
8660
- keywords: T,
8660
+ keywords: b,
8661
8661
  relevance: 0,
8662
8662
  contains: [
8663
8663
  r,
@@ -8669,7 +8669,7 @@ function mE() {
8669
8669
  {
8670
8670
  begin: /\(/,
8671
8671
  end: /\)/,
8672
- keywords: T,
8672
+ keywords: b,
8673
8673
  relevance: 0,
8674
8674
  contains: [
8675
8675
  "self",
@@ -8691,20 +8691,20 @@ function mE() {
8691
8691
  return {
8692
8692
  name: "C",
8693
8693
  aliases: ["h"],
8694
- keywords: T,
8694
+ keywords: b,
8695
8695
  // Until differentiations are added between `c` and `cpp`, `c` will
8696
8696
  // not be auto-detected to avoid auto-detect conflicts between C and C++
8697
8697
  disableAutodetect: !0,
8698
8698
  illegal: "</",
8699
8699
  contains: [].concat(
8700
- b,
8700
+ T,
8701
8701
  C,
8702
8702
  f,
8703
8703
  [
8704
8704
  m,
8705
8705
  {
8706
8706
  begin: t.IDENT_RE + "::",
8707
- keywords: T
8707
+ keywords: b
8708
8708
  },
8709
8709
  {
8710
8710
  className: "class",
@@ -8720,7 +8720,7 @@ function mE() {
8720
8720
  exports: {
8721
8721
  preprocessor: m,
8722
8722
  strings: u,
8723
- keywords: T
8723
+ keywords: b
8724
8724
  }
8725
8725
  };
8726
8726
  }
@@ -9219,7 +9219,7 @@ function bE() {
9219
9219
  }, S = {
9220
9220
  begin: "\\(",
9221
9221
  end: "\\)"
9222
- }, T = {
9222
+ }, b = {
9223
9223
  endsWithParent: !0,
9224
9224
  relevance: 0
9225
9225
  }, f = {
@@ -9227,8 +9227,8 @@ function bE() {
9227
9227
  className: "name",
9228
9228
  begin: r,
9229
9229
  relevance: 0,
9230
- starts: T
9231
- }, b = [
9230
+ starts: b
9231
+ }, T = [
9232
9232
  _,
9233
9233
  S,
9234
9234
  c,
@@ -9256,13 +9256,13 @@ function bE() {
9256
9256
  // we can only have a single title
9257
9257
  endsParent: !0
9258
9258
  }
9259
- ].concat(b)
9259
+ ].concat(T)
9260
9260
  };
9261
9261
  return S.contains = [
9262
9262
  C,
9263
9263
  f,
9264
- T
9265
- ], T.contains = b, d.contains = b, {
9264
+ b
9265
+ ], b.contains = T, d.contains = T, {
9266
9266
  name: "Clojure",
9267
9267
  aliases: [
9268
9268
  "clj",
@@ -9589,7 +9589,7 @@ function CE() {
9589
9589
  }
9590
9590
  ];
9591
9591
  g.contains = S;
9592
- const T = o.inherit(o.TITLE_MODE, { begin: d }), f = "(\\(.*\\)\\s*)?\\B[-=]>", b = {
9592
+ const b = o.inherit(o.TITLE_MODE, { begin: d }), f = "(\\(.*\\)\\s*)?\\B[-=]>", T = {
9593
9593
  className: "params",
9594
9594
  begin: "\\([^\\(]",
9595
9595
  returnBegin: !0,
@@ -9641,8 +9641,8 @@ function CE() {
9641
9641
  end: "[-=]>",
9642
9642
  returnBegin: !0,
9643
9643
  contains: [
9644
- T,
9645
- b
9644
+ b,
9645
+ T
9646
9646
  ]
9647
9647
  },
9648
9648
  {
@@ -9655,7 +9655,7 @@ function CE() {
9655
9655
  begin: f,
9656
9656
  end: "[-=]>",
9657
9657
  returnBegin: !0,
9658
- contains: [b]
9658
+ contains: [T]
9659
9659
  }
9660
9660
  ]
9661
9661
  },
@@ -10374,7 +10374,7 @@ function hE() {
10374
10374
  "signed",
10375
10375
  "const",
10376
10376
  "static"
10377
- ], T = [
10377
+ ], b = [
10378
10378
  "any",
10379
10379
  "auto_ptr",
10380
10380
  "barrier",
@@ -10544,7 +10544,7 @@ function hE() {
10544
10544
  "true"
10545
10545
  ],
10546
10546
  built_in: ["_Pragma"],
10547
- _type_hints: T
10547
+ _type_hints: b
10548
10548
  }, R = {
10549
10549
  className: "function.dispatch",
10550
10550
  relevance: 0,
@@ -10846,11 +10846,11 @@ function IE() {
10846
10846
  ],
10847
10847
  keywords: o
10848
10848
  };
10849
- function _(f, b) {
10849
+ function _(f, T) {
10850
10850
  const C = [
10851
10851
  {
10852
10852
  begin: f,
10853
- end: b
10853
+ end: T
10854
10854
  }
10855
10855
  ];
10856
10856
  return C[0].contains = C, C;
@@ -10998,7 +10998,7 @@ function IE() {
10998
10998
  begin: "@\\[",
10999
10999
  end: "\\]",
11000
11000
  contains: [t.inherit(t.QUOTE_STRING_MODE, { className: "string" })]
11001
- }, T = [
11001
+ }, b = [
11002
11002
  u,
11003
11003
  m,
11004
11004
  p,
@@ -11090,11 +11090,11 @@ function IE() {
11090
11090
  relevance: 0
11091
11091
  }
11092
11092
  ];
11093
- return c.contains = T, u.contains = T.slice(1), {
11093
+ return c.contains = b, u.contains = b.slice(1), {
11094
11094
  name: "Crystal",
11095
11095
  aliases: ["cr"],
11096
11096
  keywords: o,
11097
- contains: T
11097
+ contains: b
11098
11098
  };
11099
11099
  }
11100
11100
  return gr = e, gr;
@@ -11292,7 +11292,7 @@ function vE() {
11292
11292
  { begin: '""' },
11293
11293
  p
11294
11294
  ]
11295
- }, T = t.inherit(S, {
11295
+ }, b = t.inherit(S, {
11296
11296
  illegal: /\n/,
11297
11297
  contains: [
11298
11298
  { begin: /\{\{/ },
@@ -11310,7 +11310,7 @@ function vE() {
11310
11310
  l,
11311
11311
  t.C_BLOCK_COMMENT_MODE
11312
11312
  ], d.contains = [
11313
- T,
11313
+ b,
11314
11314
  g,
11315
11315
  m,
11316
11316
  t.APOS_STRING_MODE,
@@ -11325,7 +11325,7 @@ function vE() {
11325
11325
  _,
11326
11326
  t.APOS_STRING_MODE,
11327
11327
  t.QUOTE_STRING_MODE
11328
- ] }, b = {
11328
+ ] }, T = {
11329
11329
  begin: "<",
11330
11330
  end: ">",
11331
11331
  contains: [
@@ -11388,7 +11388,7 @@ function vE() {
11388
11388
  contains: [
11389
11389
  { beginKeywords: "where class" },
11390
11390
  c,
11391
- b,
11391
+ T,
11392
11392
  t.C_LINE_COMMENT_MODE,
11393
11393
  t.C_BLOCK_COMMENT_MODE
11394
11394
  ]
@@ -11411,7 +11411,7 @@ function vE() {
11411
11411
  illegal: /[^\s:]/,
11412
11412
  contains: [
11413
11413
  c,
11414
- b,
11414
+ T,
11415
11415
  t.C_LINE_COMMENT_MODE,
11416
11416
  t.C_BLOCK_COMMENT_MODE
11417
11417
  ]
@@ -11455,7 +11455,7 @@ function vE() {
11455
11455
  returnBegin: !0,
11456
11456
  contains: [
11457
11457
  t.TITLE_MODE,
11458
- b
11458
+ T
11459
11459
  ],
11460
11460
  relevance: 0
11461
11461
  },
@@ -12491,7 +12491,7 @@ function xE() {
12491
12491
  relevance: 0
12492
12492
  }],
12493
12493
  end: '"[cwd]?'
12494
- }, b = {
12494
+ }, T = {
12495
12495
  className: "string",
12496
12496
  begin: '[rq]"',
12497
12497
  end: '"[cwd]?',
@@ -12538,7 +12538,7 @@ function xE() {
12538
12538
  A,
12539
12539
  N,
12540
12540
  f,
12541
- b,
12541
+ T,
12542
12542
  C,
12543
12543
  R,
12544
12544
  g,
@@ -14021,7 +14021,7 @@ function VE() {
14021
14021
  R,
14022
14022
  { contains: [d(R.end)] }
14023
14023
  ))
14024
- }, T = {
14024
+ }, b = {
14025
14025
  className: "regex",
14026
14026
  variants: [
14027
14027
  {
@@ -14099,7 +14099,7 @@ function VE() {
14099
14099
  end: /"/
14100
14100
  }
14101
14101
  ]
14102
- }, b = {
14102
+ }, T = {
14103
14103
  className: "function",
14104
14104
  beginKeywords: "def defp defmacro defmacrop",
14105
14105
  end: /\B\b/,
@@ -14110,18 +14110,18 @@ function VE() {
14110
14110
  endsParent: !0
14111
14111
  })
14112
14112
  ]
14113
- }, C = t.inherit(b, {
14113
+ }, C = t.inherit(T, {
14114
14114
  className: "class",
14115
14115
  beginKeywords: "defimpl defmodule defprotocol defrecord",
14116
14116
  end: /\bdo\b|$|;/
14117
14117
  }), N = [
14118
14118
  f,
14119
- T,
14119
+ b,
14120
14120
  S,
14121
14121
  g,
14122
14122
  t.HASH_COMMENT_MODE,
14123
14123
  C,
14124
- b,
14124
+ T,
14125
14125
  { begin: "::" },
14126
14126
  {
14127
14127
  className: "symbol",
@@ -14852,7 +14852,7 @@ function QE() {
14852
14852
  m,
14853
14853
  p
14854
14854
  ];
14855
- const T = [
14855
+ const b = [
14856
14856
  i,
14857
14857
  o,
14858
14858
  S,
@@ -14867,7 +14867,7 @@ function QE() {
14867
14867
  m,
14868
14868
  p
14869
14869
  ];
14870
- c.contains[1].contains = T, l.contains = T, m.contains[1].contains = T;
14870
+ c.contains[1].contains = b, l.contains = b, m.contains[1].contains = b;
14871
14871
  const f = [
14872
14872
  "-module",
14873
14873
  "-record",
@@ -14893,11 +14893,11 @@ function QE() {
14893
14893
  "-spec",
14894
14894
  "-on_load",
14895
14895
  "-nifs"
14896
- ], b = {
14896
+ ], T = {
14897
14897
  className: "params",
14898
14898
  begin: "\\(",
14899
14899
  end: "\\)",
14900
- contains: T
14900
+ contains: b
14901
14901
  };
14902
14902
  return {
14903
14903
  name: "Erlang",
@@ -14912,13 +14912,13 @@ function QE() {
14912
14912
  returnBegin: !0,
14913
14913
  illegal: "\\(|#|//|/\\*|\\\\|:|;",
14914
14914
  contains: [
14915
- b,
14915
+ T,
14916
14916
  t.inherit(t.TITLE_MODE, { begin: n })
14917
14917
  ],
14918
14918
  starts: {
14919
14919
  end: ";|\\.",
14920
14920
  keywords: a,
14921
- contains: T
14921
+ contains: b
14922
14922
  }
14923
14923
  },
14924
14924
  i,
@@ -14933,7 +14933,7 @@ function QE() {
14933
14933
  keyword: f.map((C) => `${C}|1.5`).join(" ")
14934
14934
  },
14935
14935
  contains: [
14936
- b,
14936
+ T,
14937
14937
  g,
14938
14938
  d,
14939
14939
  t.QUOTE_STRING_MODE
@@ -16399,14 +16399,14 @@ function eg() {
16399
16399
  "failwithf"
16400
16400
  ],
16401
16401
  "variable.constant": m
16402
- }, T = {
16402
+ }, b = {
16403
16403
  variants: [
16404
16404
  o.COMMENT(/\(\*(?!\))/, /\*\)/, {
16405
16405
  contains: ["self"]
16406
16406
  }),
16407
16407
  o.C_LINE_COMMENT_MODE
16408
16408
  ]
16409
- }, f = /[a-zA-Z_](\w|')*/, b = {
16409
+ }, f = /[a-zA-Z_](\w|')*/, T = {
16410
16410
  scope: "variable",
16411
16411
  begin: /``/,
16412
16412
  end: /``/
@@ -16494,9 +16494,9 @@ function eg() {
16494
16494
  // we need the known types, and we need the type constraint keywords and literals. e.g.: when 'a : null
16495
16495
  keywords: o.inherit(g, { type: p }),
16496
16496
  contains: [
16497
- T,
16497
+ b,
16498
16498
  N,
16499
- o.inherit(b, { scope: null }),
16499
+ o.inherit(T, { scope: null }),
16500
16500
  // match to avoid strange patterns inside that may break the parsing
16501
16501
  v
16502
16502
  ]
@@ -16517,8 +16517,8 @@ function eg() {
16517
16517
  keywords: g,
16518
16518
  // match keywords in type constraints. e.g.: when 'a : null
16519
16519
  contains: [
16520
- T,
16521
- o.inherit(b, { scope: null }),
16520
+ b,
16521
+ o.inherit(T, { scope: null }),
16522
16522
  // match to avoid strange patterns inside that may break the parsing
16523
16523
  N,
16524
16524
  {
@@ -16647,8 +16647,8 @@ function eg() {
16647
16647
  F,
16648
16648
  Re,
16649
16649
  l,
16650
- T,
16651
16650
  b,
16651
+ T,
16652
16652
  A,
16653
16653
  P,
16654
16654
  L,
@@ -16679,8 +16679,8 @@ function eg() {
16679
16679
  Re
16680
16680
  ]
16681
16681
  },
16682
- T,
16683
16682
  b,
16683
+ T,
16684
16684
  M,
16685
16685
  {
16686
16686
  // e.g. [<Attributes("")>] or [<``module``: MyCustomAttributeThatWorksOnModules>]
@@ -16690,7 +16690,7 @@ function eg() {
16690
16690
  end: />\]/,
16691
16691
  relevance: 2,
16692
16692
  contains: [
16693
- b,
16693
+ T,
16694
16694
  // can contain any constant value
16695
16695
  K,
16696
16696
  z,
@@ -21244,7 +21244,7 @@ function pg() {
21244
21244
  g
21245
21245
  ] }
21246
21246
  }
21247
- }, T = {
21247
+ }, b = {
21248
21248
  // parameters of the form '{{#with x as | y |}}...{{/with}}'
21249
21249
  begin: /as\s+\|/,
21250
21250
  keywords: { keyword: "as" },
@@ -21260,7 +21260,7 @@ function pg() {
21260
21260
  t.NUMBER_MODE,
21261
21261
  t.QUOTE_STRING_MODE,
21262
21262
  t.APOS_STRING_MODE,
21263
- T,
21263
+ b,
21264
21264
  S,
21265
21265
  d,
21266
21266
  g
@@ -21269,12 +21269,12 @@ function pg() {
21269
21269
  // the property "end" is defined through inheritance when the mode is used. If depends
21270
21270
  // on the surrounding mode, but "endsWithParent" does not work here (i.e. it includes the
21271
21271
  // end-token of the surrounding mode)
21272
- }, b = t.inherit(p, {
21272
+ }, T = t.inherit(p, {
21273
21273
  className: "name",
21274
21274
  keywords: r,
21275
21275
  starts: t.inherit(f, { end: /\)/ })
21276
21276
  });
21277
- g.contains = [b];
21277
+ g.contains = [T];
21278
21278
  const C = t.inherit(p, {
21279
21279
  keywords: r,
21280
21280
  className: "name",
@@ -21894,7 +21894,7 @@ function fg() {
21894
21894
  }, S = {
21895
21895
  endsWithParent: !0,
21896
21896
  relevance: 0
21897
- }, T = {
21897
+ }, b = {
21898
21898
  className: "name",
21899
21899
  relevance: 0,
21900
21900
  keywords: a,
@@ -21914,7 +21914,7 @@ function fg() {
21914
21914
  ];
21915
21915
  return g.contains = [
21916
21916
  t.COMMENT("comment", ""),
21917
- T,
21917
+ b,
21918
21918
  S
21919
21919
  ], S.contains = f, _.contains = f, {
21920
21920
  name: "Hy",
@@ -22710,12 +22710,12 @@ function Og() {
22710
22710
  literal: n,
22711
22711
  built_in: o,
22712
22712
  "variable.language": s
22713
- }, T = "[0-9](_?[0-9])*", f = `\\.(${T})`, b = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", C = {
22713
+ }, b = "[0-9](_?[0-9])*", f = `\\.(${b})`, T = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", C = {
22714
22714
  className: "number",
22715
22715
  variants: [
22716
22716
  // DecimalLiteral
22717
- { begin: `(\\b(${b})((${f})|\\.)?|(${f}))[eE][+-]?(${T})\\b` },
22718
- { begin: `\\b(${b})\\b((${f})\\b|\\.)?|(${f})\\b` },
22717
+ { begin: `(\\b(${T})((${f})|\\.)?|(${f}))[eE][+-]?(${b})\\b` },
22718
+ { begin: `\\b(${T})\\b((${f})\\b|\\.)?|(${f})\\b` },
22719
22719
  // DecimalBigIntegerLiteral
22720
22720
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
22721
22721
  // NonDecimalIntegerLiteral
@@ -23773,8 +23773,8 @@ function yg() {
23773
23773
  contains: []
23774
23774
  // defined later
23775
23775
  }
23776
- ] }, T = S;
23777
- return T.variants[1].contains = [S], S.variants[1].contains = [T], {
23776
+ ] }, b = S;
23777
+ return b.variants[1].contains = [S], S.variants[1].contains = [b], {
23778
23778
  name: "Kotlin",
23779
23779
  aliases: [
23780
23780
  "kt",
@@ -24179,12 +24179,12 @@ function xg() {
24179
24179
  d,
24180
24180
  ...p
24181
24181
  ]
24182
- }, T = {
24182
+ }, b = {
24183
24183
  begin: /\s+/,
24184
24184
  relevance: 0
24185
- }, f = [g], b = [S], C = function(O, M) {
24185
+ }, f = [g], T = [S], C = function(O, M) {
24186
24186
  return {
24187
- contains: [T],
24187
+ contains: [b],
24188
24188
  starts: {
24189
24189
  relevance: 0,
24190
24190
  contains: O,
@@ -24199,7 +24199,7 @@ function xg() {
24199
24199
  keyword: "\\" + O
24200
24200
  },
24201
24201
  relevance: 0,
24202
- contains: [T],
24202
+ contains: [b],
24203
24203
  starts: M
24204
24204
  };
24205
24205
  }, R = function(O, M) {
@@ -24262,7 +24262,7 @@ function xg() {
24262
24262
  U("link")
24263
24263
  ] }),
24264
24264
  N("hyperref", { contains: [U("link")] }),
24265
- N("href", C(b, { contains: [U("link")] })),
24265
+ N("href", C(T, { contains: [U("link")] })),
24266
24266
  ...[].concat(...[
24267
24267
  "",
24268
24268
  "\\*"
@@ -24274,10 +24274,10 @@ function xg() {
24274
24274
  "B",
24275
24275
  "L"
24276
24276
  ].map(
24277
- (M) => R(M + "Verbatim" + O, C(b, v(M + "Verbatim" + O)))
24277
+ (M) => R(M + "Verbatim" + O, C(T, v(M + "Verbatim" + O)))
24278
24278
  )
24279
24279
  ])),
24280
- R("minted", C(b, C(f, v("minted"))))
24280
+ R("minted", C(T, C(f, v("minted"))))
24281
24281
  ];
24282
24282
  return {
24283
24283
  name: "LaTeX",
@@ -25209,13 +25209,13 @@ function wg() {
25209
25209
  "zoom"
25210
25210
  ].sort().reverse(), c = i.concat(s).sort().reverse();
25211
25211
  function l(u) {
25212
- const _ = e(u), m = c, p = "and or not only", d = "[\\w-]+", g = "(" + d + "|@\\{" + d + "\\})", S = [], T = [], f = function(P) {
25212
+ const _ = e(u), m = c, p = "and or not only", d = "[\\w-]+", g = "(" + d + "|@\\{" + d + "\\})", S = [], b = [], f = function(P) {
25213
25213
  return {
25214
25214
  // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
25215
25215
  className: "string",
25216
25216
  begin: "~?" + P + ".*?" + P
25217
25217
  };
25218
- }, b = function(P, L, w) {
25218
+ }, T = function(P, L, w) {
25219
25219
  return {
25220
25220
  className: P,
25221
25221
  begin: L,
@@ -25229,11 +25229,11 @@ function wg() {
25229
25229
  // used only to properly balance nested parens inside mixin call, def. arg list
25230
25230
  begin: "\\(",
25231
25231
  end: "\\)",
25232
- contains: T,
25232
+ contains: b,
25233
25233
  keywords: C,
25234
25234
  relevance: 0
25235
25235
  };
25236
- T.push(
25236
+ b.push(
25237
25237
  u.C_LINE_COMMENT_MODE,
25238
25238
  u.C_BLOCK_COMMENT_MODE,
25239
25239
  f("'"),
@@ -25250,9 +25250,9 @@ function wg() {
25250
25250
  },
25251
25251
  _.HEXCOLOR,
25252
25252
  N,
25253
- b("variable", "@@?" + d, 10),
25254
- b("variable", "@\\{" + d + "\\}"),
25255
- b("built_in", "~?`[^`]*?`"),
25253
+ T("variable", "@@?" + d, 10),
25254
+ T("variable", "@\\{" + d + "\\}"),
25255
+ T("built_in", "~?`[^`]*?`"),
25256
25256
  // inline javascript (or whatever host language) *multiline* string
25257
25257
  {
25258
25258
  // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):
@@ -25266,14 +25266,14 @@ function wg() {
25266
25266
  { beginKeywords: "and not" },
25267
25267
  _.FUNCTION_DISPATCH
25268
25268
  );
25269
- const R = T.concat({
25269
+ const R = b.concat({
25270
25270
  begin: /\{/,
25271
25271
  end: /\}/,
25272
25272
  contains: S
25273
25273
  }), y = {
25274
25274
  beginKeywords: "when",
25275
25275
  endsWithParent: !0,
25276
- contains: [{ beginKeywords: "and not" }].concat(T)
25276
+ contains: [{ beginKeywords: "and not" }].concat(b)
25277
25277
  // using this form to override VALUE’s 'function' match
25278
25278
  }, v = {
25279
25279
  begin: g + "\\s*:",
@@ -25291,7 +25291,7 @@ function wg() {
25291
25291
  endsWithParent: !0,
25292
25292
  illegal: "[<=$]",
25293
25293
  relevance: 0,
25294
- contains: T
25294
+ contains: b
25295
25295
  }
25296
25296
  }
25297
25297
  ]
@@ -25302,7 +25302,7 @@ function wg() {
25302
25302
  end: "[;{}]",
25303
25303
  keywords: C,
25304
25304
  returnEnd: !0,
25305
- contains: T,
25305
+ contains: b,
25306
25306
  relevance: 0
25307
25307
  }
25308
25308
  }, A = {
@@ -25346,18 +25346,18 @@ function wg() {
25346
25346
  u.C_LINE_COMMENT_MODE,
25347
25347
  u.C_BLOCK_COMMENT_MODE,
25348
25348
  y,
25349
- b("keyword", "all\\b"),
25350
- b("variable", "@\\{" + d + "\\}"),
25349
+ T("keyword", "all\\b"),
25350
+ T("variable", "@\\{" + d + "\\}"),
25351
25351
  // otherwise it’s identified as tag
25352
25352
  {
25353
25353
  begin: "\\b(" + r.join("|") + ")\\b",
25354
25354
  className: "selector-tag"
25355
25355
  },
25356
25356
  _.CSS_NUMBER_MODE,
25357
- b("selector-tag", g, 0),
25358
- b("selector-id", "#" + g),
25359
- b("selector-class", "\\." + g, 0),
25360
- b("selector-tag", "&", 0),
25357
+ T("selector-tag", g, 0),
25358
+ T("selector-id", "#" + g),
25359
+ T("selector-class", "\\." + g, 0),
25360
+ T("selector-tag", "&", 0),
25361
25361
  _.ATTRIBUTE_SELECTOR_MODE,
25362
25362
  {
25363
25363
  className: "selector-pseudo",
@@ -25475,7 +25475,7 @@ function Pg() {
25475
25475
  ] }, S = {
25476
25476
  begin: "\\(\\s*",
25477
25477
  end: "\\)"
25478
- }, T = {
25478
+ }, b = {
25479
25479
  endsWithParent: !0,
25480
25480
  relevance: 0
25481
25481
  };
@@ -25490,8 +25490,8 @@ function Pg() {
25490
25490
  { begin: r }
25491
25491
  ]
25492
25492
  },
25493
- T
25494
- ], T.contains = [
25493
+ b
25494
+ ], b.contains = [
25495
25495
  d,
25496
25496
  g,
25497
25497
  S,
@@ -25888,7 +25888,7 @@ function Fg() {
25888
25888
  }
25889
25889
  ];
25890
25890
  d.contains = S;
25891
- const T = {
25891
+ const b = {
25892
25892
  className: "params",
25893
25893
  begin: "\\(",
25894
25894
  returnBegin: !0,
@@ -25902,7 +25902,7 @@ function Fg() {
25902
25902
  contains: ["self"].concat(S)
25903
25903
  }
25904
25904
  ]
25905
- }, f = { begin: "(#=>|=>|\\|>>|-?->|!->)" }, b = {
25905
+ }, f = { begin: "(#=>|=>|\\|>>|-?->|!->)" }, T = {
25906
25906
  variants: [
25907
25907
  { match: [
25908
25908
  /class\s+/,
@@ -25935,7 +25935,7 @@ function Fg() {
25935
25935
  className: "function",
25936
25936
  contains: [
25937
25937
  p,
25938
- T
25938
+ b
25939
25939
  ],
25940
25940
  returnBegin: !0,
25941
25941
  variants: [
@@ -25953,7 +25953,7 @@ function Fg() {
25953
25953
  }
25954
25954
  ]
25955
25955
  },
25956
- b,
25956
+ T,
25957
25957
  {
25958
25958
  begin: m + ":",
25959
25959
  end: ":",
@@ -33508,14 +33508,14 @@ function qg() {
33508
33508
  relevance: 0,
33509
33509
  begin: d
33510
33510
  }
33511
- ] }, T = {
33511
+ ] }, b = {
33512
33512
  className: "named-character",
33513
33513
  begin: /\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/
33514
33514
  }, f = {
33515
33515
  className: "operator",
33516
33516
  relevance: 0,
33517
33517
  begin: /[+\-*/,;.:@~=><&|_`'^?!%]+/
33518
- }, b = {
33518
+ }, T = {
33519
33519
  className: "pattern",
33520
33520
  relevance: 0,
33521
33521
  begin: /([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/
@@ -33549,11 +33549,11 @@ function qg() {
33549
33549
  },
33550
33550
  contains: [
33551
33551
  n.COMMENT(/\(\*/, /\*\)/, { contains: ["self"] }),
33552
- b,
33552
+ T,
33553
33553
  C,
33554
33554
  R,
33555
33555
  S,
33556
- T,
33556
+ b,
33557
33557
  n.QUOTE_STRING_MODE,
33558
33558
  p,
33559
33559
  f,
@@ -34194,20 +34194,20 @@ function Qg() {
34194
34194
  // valid but infrequent and weird
34195
34195
  /#/
34196
34196
  // valid but infrequent and weird
34197
- ], p = (S, T, f = "\\1") => {
34198
- const b = f === "\\1" ? f : n.concat(f, T);
34197
+ ], p = (S, b, f = "\\1") => {
34198
+ const T = f === "\\1" ? f : n.concat(f, b);
34199
34199
  return n.concat(
34200
34200
  n.concat("(?:", S, ")"),
34201
- T,
34202
- /(?:\\.|[^\\\/])*?/,
34203
34201
  b,
34204
34202
  /(?:\\.|[^\\\/])*?/,
34203
+ T,
34204
+ /(?:\\.|[^\\\/])*?/,
34205
34205
  f,
34206
34206
  a
34207
34207
  );
34208
- }, d = (S, T, f) => n.concat(
34208
+ }, d = (S, b, f) => n.concat(
34209
34209
  n.concat("(?:", S, ")"),
34210
- T,
34210
+ b,
34211
34211
  /(?:\\.|[^\\\/])*?/,
34212
34212
  f,
34213
34213
  a
@@ -35695,13 +35695,13 @@ function rS() {
35695
35695
  begin: /\$\{/,
35696
35696
  end: /\}/,
35697
35697
  keywords: r
35698
- }, T = {
35698
+ }, b = {
35699
35699
  scope: "char.escape",
35700
35700
  match: /'''/
35701
35701
  }, f = {
35702
35702
  scope: "char.escape",
35703
35703
  match: /\\(?!\$)./
35704
- }, b = {
35704
+ }, T = {
35705
35705
  scope: "string",
35706
35706
  variants: [
35707
35707
  {
@@ -35710,7 +35710,7 @@ function rS() {
35710
35710
  contains: [
35711
35711
  g,
35712
35712
  S,
35713
- T,
35713
+ b,
35714
35714
  f
35715
35715
  ]
35716
35716
  },
@@ -35740,7 +35740,7 @@ function rS() {
35740
35740
  }
35741
35741
  ),
35742
35742
  a,
35743
- b,
35743
+ T,
35744
35744
  s,
35745
35745
  c,
35746
35746
  C,
@@ -36262,7 +36262,7 @@ function iS() {
36262
36262
  "Win8",
36263
36263
  "WinVista",
36264
36264
  "zlib"
36265
- ], T = {
36265
+ ], b = {
36266
36266
  match: [
36267
36267
  /Function/,
36268
36268
  /\s+/,
@@ -36272,7 +36272,7 @@ function iS() {
36272
36272
  1: "keyword",
36273
36273
  3: "title.function"
36274
36274
  }
36275
- }, b = {
36275
+ }, T = {
36276
36276
  match: [
36277
36277
  /Var/,
36278
36278
  /\s+/,
@@ -36300,8 +36300,8 @@ function iS() {
36300
36300
  "$",
36301
36301
  { relevance: 0 }
36302
36302
  ),
36303
- b,
36304
36303
  T,
36304
+ b,
36305
36305
  { beginKeywords: "Function PageEx Section SectionGroup FunctionEnd SectionEnd" },
36306
36306
  d,
36307
36307
  _,
@@ -37192,7 +37192,7 @@ function pS() {
37192
37192
  { begin: "(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?" }
37193
37193
  ],
37194
37194
  relevance: 0
37195
- }, T = [
37195
+ }, b = [
37196
37196
  "false",
37197
37197
  "null",
37198
37198
  "true"
@@ -37296,7 +37296,7 @@ function pS() {
37296
37296
  "while",
37297
37297
  "xor",
37298
37298
  "yield"
37299
- ], b = [
37299
+ ], T = [
37300
37300
  // Standard PHP library:
37301
37301
  // <https://www.php.net/manual/en/book.spl.php>
37302
37302
  "Error|0",
@@ -37398,15 +37398,15 @@ function pS() {
37398
37398
  return w.forEach((z) => {
37399
37399
  F.push(z), z.toLowerCase() === z ? F.push(z.toUpperCase()) : F.push(z.toLowerCase());
37400
37400
  }), F;
37401
- })(T),
37402
- built_in: b
37401
+ })(b),
37402
+ built_in: T
37403
37403
  }, R = (w) => w.map((F) => F.replace(/\|\d+$/, "")), y = { variants: [
37404
37404
  {
37405
37405
  match: [
37406
37406
  /new/,
37407
37407
  n.concat(d, "+"),
37408
37408
  // to prevent built ins from being confused as the class constructor call
37409
- n.concat("(?!", R(b).join("\\b|"), "\\b)"),
37409
+ n.concat("(?!", R(T).join("\\b|"), "\\b)"),
37410
37410
  i
37411
37411
  ],
37412
37412
  scope: {
@@ -37489,7 +37489,7 @@ function pS() {
37489
37489
  match: [
37490
37490
  /\b/,
37491
37491
  // to prevent keywords from being confused as the function title
37492
- n.concat("(?!fn\\b|function\\b|", R(f).join("\\b|"), "|", R(b).join("\\b|"), "\\b)"),
37492
+ n.concat("(?!fn\\b|function\\b|", R(f).join("\\b|"), "|", R(T).join("\\b|"), "\\b)"),
37493
37493
  a,
37494
37494
  n.concat(d, "*"),
37495
37495
  n.lookahead(/(?=\()/)
@@ -37517,7 +37517,7 @@ function pS() {
37517
37517
  end: /]/,
37518
37518
  endScope: "meta",
37519
37519
  keywords: {
37520
- literal: T,
37520
+ literal: b,
37521
37521
  keyword: [
37522
37522
  "new",
37523
37523
  "array"
@@ -37528,7 +37528,7 @@ function pS() {
37528
37528
  begin: /\[/,
37529
37529
  end: /]/,
37530
37530
  keywords: {
37531
- literal: T,
37531
+ literal: b,
37532
37532
  keyword: [
37533
37533
  "new",
37534
37534
  "array"
@@ -37943,7 +37943,7 @@ function SS() {
37943
37943
  }
37944
37944
  // CMDLETS
37945
37945
  ]
37946
- }, T = {
37946
+ }, b = {
37947
37947
  begin: /using\s/,
37948
37948
  end: /$/,
37949
37949
  returnBegin: !0,
@@ -37966,7 +37966,7 @@ function SS() {
37966
37966
  begin: /(-){1,2}[\w\d-]+/,
37967
37967
  relevance: 0
37968
37968
  }
37969
- ] }, b = {
37969
+ ] }, T = {
37970
37970
  className: "selector-tag",
37971
37971
  begin: /@\B/,
37972
37972
  relevance: 0
@@ -38003,7 +38003,7 @@ function SS() {
38003
38003
  d,
38004
38004
  c,
38005
38005
  l,
38006
- b
38006
+ T
38007
38007
  ], R = {
38008
38008
  begin: /\[/,
38009
38009
  end: /\]/,
@@ -38037,7 +38037,7 @@ function SS() {
38037
38037
  contains: N.concat(
38038
38038
  g,
38039
38039
  S,
38040
- T,
38040
+ b,
38041
38041
  f,
38042
38042
  R
38043
38043
  )
@@ -39151,7 +39151,7 @@ function hS() {
39151
39151
  begin: `\\b(${p})[jJ](?=${g})`
39152
39152
  }
39153
39153
  ]
39154
- }, T = {
39154
+ }, b = {
39155
39155
  className: "comment",
39156
39156
  begin: n.lookahead(/# type:/),
39157
39157
  end: /$/,
@@ -39223,7 +39223,7 @@ function hS() {
39223
39223
  },
39224
39224
  { match: /\bor\b/, scope: "keyword" },
39225
39225
  m,
39226
- T,
39226
+ b,
39227
39227
  t.HASH_COMMENT_MODE,
39228
39228
  {
39229
39229
  match: [
@@ -45822,7 +45822,7 @@ function $S() {
45822
45822
  ].filter((R) => !_.includes(R)), S = {
45823
45823
  scope: "variable",
45824
45824
  match: /@[a-z0-9][a-z0-9_]*/
45825
- }, T = {
45825
+ }, b = {
45826
45826
  scope: "operator",
45827
45827
  match: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
45828
45828
  relevance: 0
@@ -45831,7 +45831,7 @@ function $S() {
45831
45831
  relevance: 0,
45832
45832
  keywords: { built_in: d }
45833
45833
  };
45834
- function b(R) {
45834
+ function T(R) {
45835
45835
  return n.concat(
45836
45836
  /\b/,
45837
45837
  n.either(...R.map((y) => y.replace(/\s+/, "\\s+"))),
@@ -45840,7 +45840,7 @@ function $S() {
45840
45840
  }
45841
45841
  const C = {
45842
45842
  scope: "keyword",
45843
- match: b(p),
45843
+ match: T(p),
45844
45844
  relevance: 0
45845
45845
  };
45846
45846
  function N(R, {
@@ -45865,7 +45865,7 @@ function $S() {
45865
45865
  contains: [
45866
45866
  {
45867
45867
  scope: "type",
45868
- match: b(o)
45868
+ match: T(o)
45869
45869
  },
45870
45870
  C,
45871
45871
  f,
@@ -45875,7 +45875,7 @@ function $S() {
45875
45875
  t.C_NUMBER_MODE,
45876
45876
  t.C_BLOCK_COMMENT_MODE,
45877
45877
  r,
45878
- T
45878
+ b
45879
45879
  ]
45880
45880
  };
45881
45881
  }
@@ -47741,7 +47741,7 @@ function jS() {
47741
47741
  /[\uFE20-\uFE2F]/
47742
47742
  // TODO: The following characters are also allowed, but the regex isn't supported yet.
47743
47743
  // /[\u{E0100}-\u{E01EF}]/u
47744
- ), S = n(d, g, "*"), T = a(
47744
+ ), S = n(d, g, "*"), b = a(
47745
47745
  /[a-zA-Z_]/,
47746
47746
  /[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,
47747
47747
  /[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,
@@ -47760,10 +47760,10 @@ function jS() {
47760
47760
  // /[\u{90000}-\u{9FFFD}\u{A0000-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}]/u,
47761
47761
  // /[\u{D0000}-\u{DFFFD}\u{E0000-\u{EFFFD}]/u
47762
47762
  ), f = a(
47763
- T,
47763
+ b,
47764
47764
  /\d/,
47765
47765
  /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
47766
- ), b = n(T, f, "*"), C = n(/[A-Z]/, f, "*"), N = [
47766
+ ), T = n(b, f, "*"), C = n(/[A-Z]/, f, "*"), N = [
47767
47767
  "attached",
47768
47768
  "autoclosure",
47769
47769
  n(/convention\(/, a("swift", "block", "c"), /\)/),
@@ -47785,7 +47785,7 @@ function jS() {
47785
47785
  "NSApplicationMain",
47786
47786
  "NSCopying",
47787
47787
  "NSManaged",
47788
- n(/objc\(/, b, /\)/),
47788
+ n(/objc\(/, T, /\)/),
47789
47789
  "objc",
47790
47790
  "objcMembers",
47791
47791
  "propertyWrapper",
@@ -47967,7 +47967,7 @@ function jS() {
47967
47967
  nt("#"),
47968
47968
  Vt
47969
47969
  ]
47970
- }, St = { match: n(/`/, b, /`/) }, zt = {
47970
+ }, St = { match: n(/`/, T, /`/) }, zt = {
47971
47971
  className: "variable",
47972
47972
  match: /\$\d+/
47973
47973
  }, ft = {
@@ -47997,7 +47997,7 @@ function jS() {
47997
47997
  match: n(/@/, a(...N), t(a(/\(/, /\s+/)))
47998
47998
  }, Pe = {
47999
47999
  scope: "meta",
48000
- match: n(/@/, b)
48000
+ match: n(/@/, T)
48001
48001
  }, We = [
48002
48002
  Wt,
48003
48003
  bt,
@@ -48047,7 +48047,7 @@ function jS() {
48047
48047
  };
48048
48048
  Ne.contains.push(Ze);
48049
48049
  const Tt = {
48050
- match: n(b, /\s*:/),
48050
+ match: n(T, /\s*:/),
48051
48051
  keywords: "_|0",
48052
48052
  relevance: 0
48053
48053
  }, Rt = {
@@ -48079,8 +48079,8 @@ function jS() {
48079
48079
  ]
48080
48080
  }, $t = {
48081
48081
  begin: a(
48082
- t(n(b, /\s*:/)),
48083
- t(n(b, /\s+/, b, /\s*:/))
48082
+ t(n(T, /\s*:/)),
48083
+ t(n(T, /\s+/, T, /\s*:/))
48084
48084
  ),
48085
48085
  end: /:/,
48086
48086
  relevance: 0,
@@ -48091,7 +48091,7 @@ function jS() {
48091
48091
  },
48092
48092
  {
48093
48093
  className: "params",
48094
- match: b
48094
+ match: T
48095
48095
  }
48096
48096
  ]
48097
48097
  }, Ct = {
@@ -48115,7 +48115,7 @@ function jS() {
48115
48115
  match: [
48116
48116
  /(func|macro)/,
48117
48117
  /\s+/,
48118
- a(St.match, b, S)
48118
+ a(St.match, T, S)
48119
48119
  ],
48120
48120
  className: {
48121
48121
  1: "keyword",
@@ -48195,7 +48195,7 @@ function jS() {
48195
48195
  begin: [
48196
48196
  /(struct|protocol|class|extension|enum|actor)/,
48197
48197
  /\s+/,
48198
- b,
48198
+ T,
48199
48199
  /\s*/
48200
48200
  ],
48201
48201
  beginScope: {
@@ -48419,7 +48419,7 @@ function tf() {
48419
48419
  contains: [d],
48420
48420
  illegal: "\\n",
48421
48421
  relevance: 0
48422
- }, T = [
48422
+ }, b = [
48423
48423
  a,
48424
48424
  {
48425
48425
  className: "meta",
@@ -48499,12 +48499,12 @@ function tf() {
48499
48499
  S,
48500
48500
  s,
48501
48501
  o
48502
- ], f = [...T];
48502
+ ], f = [...b];
48503
48503
  return f.pop(), f.push(c), d.contains = f, {
48504
48504
  name: "YAML",
48505
48505
  case_insensitive: !0,
48506
48506
  aliases: ["yml"],
48507
- contains: T
48507
+ contains: b
48508
48508
  };
48509
48509
  }
48510
48510
  return Vi = e, Vi;
@@ -49389,18 +49389,18 @@ function cf() {
49389
49389
  return;
49390
49390
  }
49391
49391
  }
49392
- }, T = {
49392
+ }, b = {
49393
49393
  $pattern: e,
49394
49394
  keyword: t,
49395
49395
  literal: n,
49396
49396
  built_in: o,
49397
49397
  "variable.language": s
49398
- }, f = "[0-9](_?[0-9])*", b = `\\.(${f})`, C = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", N = {
49398
+ }, f = "[0-9](_?[0-9])*", T = `\\.(${f})`, C = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", N = {
49399
49399
  className: "number",
49400
49400
  variants: [
49401
49401
  // DecimalLiteral
49402
- { begin: `(\\b(${C})((${b})|\\.)?|(${b}))[eE][+-]?(${f})\\b` },
49403
- { begin: `\\b(${C})\\b((${b})\\b|\\.)?|(${b})\\b` },
49402
+ { begin: `(\\b(${C})((${T})|\\.)?|(${T}))[eE][+-]?(${f})\\b` },
49403
+ { begin: `\\b(${C})\\b((${T})\\b|\\.)?|(${T})\\b` },
49404
49404
  // DecimalBigIntegerLiteral
49405
49405
  { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
49406
49406
  // NonDecimalIntegerLiteral
@@ -49416,7 +49416,7 @@ function cf() {
49416
49416
  className: "subst",
49417
49417
  begin: "\\$\\{",
49418
49418
  end: "\\}",
49419
- keywords: T,
49419
+ keywords: b,
49420
49420
  contains: []
49421
49421
  // defined later
49422
49422
  }, y = {
@@ -49527,7 +49527,7 @@ function cf() {
49527
49527
  // it from ending too early by matching another }
49528
49528
  begin: /\{/,
49529
49529
  end: /\}/,
49530
- keywords: T,
49530
+ keywords: b,
49531
49531
  contains: [
49532
49532
  "self"
49533
49533
  ].concat(P)
@@ -49537,7 +49537,7 @@ function cf() {
49537
49537
  {
49538
49538
  begin: /(\s*)\(/,
49539
49539
  end: /\)/,
49540
- keywords: T,
49540
+ keywords: b,
49541
49541
  contains: ["self"].concat(L)
49542
49542
  }
49543
49543
  ]), F = {
@@ -49548,7 +49548,7 @@ function cf() {
49548
49548
  end: /\)/,
49549
49549
  excludeBegin: !0,
49550
49550
  excludeEnd: !0,
49551
- keywords: T,
49551
+ keywords: b,
49552
49552
  contains: w
49553
49553
  }, z = {
49554
49554
  variants: [
@@ -49708,7 +49708,7 @@ function cf() {
49708
49708
  return {
49709
49709
  name: "JavaScript",
49710
49710
  aliases: ["js", "jsx", "mjs", "cjs"],
49711
- keywords: T,
49711
+ keywords: b,
49712
49712
  // this will be extended by TypeScript
49713
49713
  exports: { PARAMS_CONTAINS: w, CLASS_REFERENCE: K },
49714
49714
  illegal: /#(?![$_A-z])/,
@@ -49770,7 +49770,7 @@ function cf() {
49770
49770
  end: /\)/,
49771
49771
  excludeBegin: !0,
49772
49772
  excludeEnd: !0,
49773
- keywords: T,
49773
+ keywords: b,
49774
49774
  contains: w
49775
49775
  }
49776
49776
  ]
@@ -49890,7 +49890,7 @@ function cf() {
49890
49890
  built_in: d
49891
49891
  },
49892
49892
  contains: [m.exports.CLASS_REFERENCE]
49893
- }, T = {
49893
+ }, b = {
49894
49894
  className: "meta",
49895
49895
  relevance: 10,
49896
49896
  begin: /^\s*['"]use strict['"]/
@@ -49908,7 +49908,7 @@ function cf() {
49908
49908
  "enum",
49909
49909
  "override",
49910
49910
  "satisfies"
49911
- ], b = {
49911
+ ], T = {
49912
49912
  $pattern: e,
49913
49913
  keyword: t.concat(f),
49914
49914
  literal: n,
@@ -49923,7 +49923,7 @@ function cf() {
49923
49923
  throw new Error("can not find mode to replace");
49924
49924
  U.contains.splice(M, 1, O);
49925
49925
  };
49926
- Object.assign(m.keywords, b), m.exports.PARAMS_CONTAINS.push(C);
49926
+ Object.assign(m.keywords, T), m.exports.PARAMS_CONTAINS.push(C);
49927
49927
  const R = m.contains.find((U) => U.scope === "attr"), y = Object.assign(
49928
49928
  {},
49929
49929
  R,
@@ -49942,7 +49942,7 @@ function cf() {
49942
49942
  S,
49943
49943
  y
49944
49944
  // Added for optional property assignment highlighting
49945
- ]), N(m, "shebang", u.SHEBANG()), N(m, "use_strict", T);
49945
+ ]), N(m, "shebang", u.SHEBANG()), N(m, "use_strict", b);
49946
49946
  const v = m.contains.find((U) => U.label === "func.def");
49947
49947
  return v.relevance = 0, Object.assign(m, {
49948
49948
  name: "TypeScript",
@@ -51416,7 +51416,7 @@ function Sf() {
51416
51416
  match: /\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,
51417
51417
  scope: "title.class",
51418
51418
  keywords: { _: o }
51419
- }, T = t.C_NUMBER_MODE, f = {
51419
+ }, b = t.C_NUMBER_MODE, f = {
51420
51420
  match: [
51421
51421
  r,
51422
51422
  /\s*/,
@@ -51431,7 +51431,7 @@ function Sf() {
51431
51431
  3: "operator",
51432
51432
  6: "params"
51433
51433
  }
51434
- }, b = t.COMMENT(
51434
+ }, T = t.COMMENT(
51435
51435
  /\/\*\*/,
51436
51436
  /\*\//,
51437
51437
  { contains: [
@@ -51446,7 +51446,7 @@ function Sf() {
51446
51446
  begin: /%\(/,
51447
51447
  end: /\)/,
51448
51448
  contains: [
51449
- T,
51449
+ b,
51450
51450
  S,
51451
51451
  l,
51452
51452
  g,
@@ -51523,10 +51523,10 @@ function Sf() {
51523
51523
  }
51524
51524
  ]
51525
51525
  },
51526
- T,
51526
+ b,
51527
51527
  N,
51528
51528
  p,
51529
- b,
51529
+ T,
51530
51530
  t.C_LINE_COMMENT_MODE,
51531
51531
  t.C_BLOCK_COMMENT_MODE,
51532
51532
  S,
@@ -52775,7 +52775,8 @@ const ZT = ["data-theme"], JT = ["id"], jT = /* @__PURE__ */ $_({
52775
52775
  afterRender: {},
52776
52776
  themeMode: { default: "light" },
52777
52777
  incremental: { type: Boolean, default: !1 },
52778
- incrementalDebounce: { default: 16 }
52778
+ incrementalDebounce: { default: 16 },
52779
+ performanceLog: { type: Boolean, default: !1 }
52779
52780
  }, {
52780
52781
  modelValue: {},
52781
52782
  modelModifiers: {}
@@ -52954,7 +52955,7 @@ const ZT = ["data-theme"], JT = ["id"], jT = /* @__PURE__ */ $_({
52954
52955
  setTimeout(() => {
52955
52956
  d();
52956
52957
  }, 0);
52957
- }, S = (A, O) => O.startsWith(A) && O.length > A.length, T = (A) => {
52958
+ }, S = (A, O) => O.startsWith(A) && O.length > A.length, b = (A) => {
52958
52959
  if (!p.value || !m.value) return;
52959
52960
  const O = r.value, M = S(O, A);
52960
52961
  if (i.value = M, !O || !M) {
@@ -52987,14 +52988,17 @@ const ZT = ["data-theme"], JT = ["id"], jT = /* @__PURE__ */ $_({
52987
52988
  if (!p.value || !m.value) return;
52988
52989
  const O = p.value.render(A), M = u(O);
52989
52990
  m.value.innerHTML = "", m.value.appendChild(M), r.value = A, s.value = O, g();
52990
- }, b = (A) => {
52991
+ }, T = (A) => {
52991
52992
  if (a.value !== null && cancelAnimationFrame(a.value), n.incrementalDebounce <= 0) {
52992
52993
  if (n.incremental)
52993
52994
  try {
52994
- const O = performance.now();
52995
- T(A);
52996
- const M = performance.now();
52997
- console.log(`[kernelift](markdown) Incremental render took ${M - O} ms`);
52995
+ if (n.performanceLog) {
52996
+ const O = performance.now();
52997
+ b(A);
52998
+ const M = performance.now();
52999
+ console.log(`[kernelift](markdown) Incremental render took ${M - O} ms`);
53000
+ } else
53001
+ b(A);
52998
53002
  } catch (O) {
52999
53003
  console.warn(
53000
53004
  "[kernelift](markdown) Incremental rendering failed, falling back to full render",
@@ -53008,10 +53012,13 @@ const ZT = ["data-theme"], JT = ["id"], jT = /* @__PURE__ */ $_({
53008
53012
  a.value = requestAnimationFrame(() => {
53009
53013
  if (n.incremental)
53010
53014
  try {
53011
- const O = performance.now();
53012
- T(A);
53013
- const M = performance.now();
53014
- console.log(`[kernelift](markdown) Incremental render took ${M - O} ms`);
53015
+ if (n.performanceLog) {
53016
+ const O = performance.now();
53017
+ b(A);
53018
+ const M = performance.now();
53019
+ console.log(`[kernelift](markdown) Incremental render took ${M - O} ms`);
53020
+ } else
53021
+ b(A);
53015
53022
  } catch (O) {
53016
53023
  console.warn(
53017
53024
  "[kernelift](markdown) Incremental rendering failed, falling back to full render",
@@ -53051,7 +53058,7 @@ const ZT = ["data-theme"], JT = ["id"], jT = /* @__PURE__ */ $_({
53051
53058
  });
53052
53059
  };
53053
53060
  J_([() => o.value, () => p.value], ([A, O]) => {
53054
- O && m.value && b(A || "");
53061
+ O && m.value && T(A || "");
53055
53062
  });
53056
53063
  const R = (A) => {
53057
53064
  p.value && A(p.value);
@@ -53087,7 +53094,7 @@ const ZT = ["data-theme"], JT = ["id"], jT = /* @__PURE__ */ $_({
53087
53094
  for (const [r, a] of t)
53088
53095
  n[r] = a;
53089
53096
  return n;
53090
- }, nR = /* @__PURE__ */ eR(jT, [["__scopeId", "data-v-3441a21c"]]);
53097
+ }, nR = /* @__PURE__ */ eR(jT, [["__scopeId", "data-v-efa45a40"]]);
53091
53098
  export {
53092
53099
  nR as MdRender
53093
53100
  };