@zjlab-frontier/markdown 1.1.1-beta.0 → 1.1.1-beta.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/{arc-Dfq9Jv-e.mjs → arc-B-AeIGLN.mjs} +1 -1
- package/dist/{blockDiagram-c4efeb88-h3Jgp_l5.mjs → blockDiagram-c4efeb88-C_-7Uo_h.mjs} +5 -5
- package/dist/{c4Diagram-c83219d4-CvN77_US.mjs → c4Diagram-c83219d4-ZsHt3LPy.mjs} +2 -2
- package/dist/{channel-DCrOXqLD.mjs → channel-CVkVCVVm.mjs} +1 -1
- package/dist/{classDiagram-beda092f-JS2PAdOE.mjs → classDiagram-beda092f-BWoUP9jt.mjs} +5 -5
- package/dist/{classDiagram-v2-2358418a-CAxUF_cp.mjs → classDiagram-v2-2358418a-DOkIM90L.mjs} +5 -5
- package/dist/{clone-N1jlDK6-.mjs → clone-CMQWg0jE.mjs} +1 -1
- package/dist/{createText-1719965b-D6f1em0c.mjs → createText-1719965b-BYlDfw-H.mjs} +1 -1
- package/dist/{edges-96097737-BIwOTXGZ.mjs → edges-96097737-CCwtPbu5.mjs} +3 -3
- package/dist/{erDiagram-0228fc6a-BwZ3_BcJ.mjs → erDiagram-0228fc6a-DFl4DAxb.mjs} +4 -4
- package/dist/{flowDb-c6c81e3f-EbgKCXEB.mjs → flowDb-c6c81e3f-mMN-EdDG.mjs} +1 -1
- package/dist/{flowDiagram-50d868cf-CwVTSVFw.mjs → flowDiagram-50d868cf-BeMmTgQF.mjs} +6 -6
- package/dist/{flowDiagram-v2-4f6560a1-K-6NgNI9.mjs → flowDiagram-v2-4f6560a1-2ufFevZx.mjs} +5 -5
- package/dist/{flowchart-elk-definition-6af322e1-DbXPhfJH.mjs → flowchart-elk-definition-6af322e1-CWV2S2Ol.mjs} +4 -4
- package/dist/{ganttDiagram-a2739b55-DqRNukB6.mjs → ganttDiagram-a2739b55-BKdrG2Ob.mjs} +2 -2
- package/dist/{gitGraphDiagram-82fe8481-_eL1Wo-0.mjs → gitGraphDiagram-82fe8481-DJ5BhPTN.mjs} +1 -1
- package/dist/{graph-CMkjmo40.mjs → graph-Dkvc5zok.mjs} +1 -1
- package/dist/{index-5325376f-BS21MJix.mjs → index-5325376f-C7evlvXX.mjs} +6 -6
- package/dist/{index-CMH0GtjK.mjs → index-DHgY23xO.mjs} +723 -721
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -3
- package/dist/{infoDiagram-8eee0895-Cvvchoju.mjs → infoDiagram-8eee0895-BUJTJ0Ub.mjs} +1 -1
- package/dist/{journeyDiagram-c64418c1-C-eTKoM2.mjs → journeyDiagram-c64418c1-C4M9O44H.mjs} +3 -3
- package/dist/{layout-iR8SguDU.mjs → layout-BXCgB1Ja.mjs} +2 -2
- package/dist/{line-BB2lxYzY.mjs → line-BI_kVx8v.mjs} +1 -1
- package/dist/{linear-CjGoIQu_.mjs → linear-CIGZn-gU.mjs} +1 -1
- package/dist/{mindmap-definition-8da855dc-BDu5aHx2.mjs → mindmap-definition-8da855dc-C593bSOa.mjs} +2 -2
- package/dist/{pieDiagram-a8764435-Bj8u5njZ.mjs → pieDiagram-a8764435-ChIm4Jde.mjs} +2 -2
- package/dist/{quadrantDiagram-1e28029f-CBbo-Qdq.mjs → quadrantDiagram-1e28029f-DFLPz7rq.mjs} +2 -2
- package/dist/{requirementDiagram-08caed73-CS9bBXBW.mjs → requirementDiagram-08caed73-CCC5UtJ_.mjs} +4 -4
- package/dist/{sankeyDiagram-a04cb91d-BPqL9Z8J.mjs → sankeyDiagram-a04cb91d-CS5QJOMA.mjs} +1 -1
- package/dist/{sequenceDiagram-c5b8d532-BWbEVN8Z.mjs → sequenceDiagram-c5b8d532-DfyYJZ9x.mjs} +2 -2
- package/dist/{stateDiagram-1ecb1508-BoQtv1p9.mjs → stateDiagram-1ecb1508-Cpt4NJFu.mjs} +5 -5
- package/dist/{stateDiagram-v2-c2b004d7-CNt6GAi6.mjs → stateDiagram-v2-c2b004d7-BBsfF4nx.mjs} +5 -5
- package/dist/{styles-b4e223ce-Wn003tSu.mjs → styles-b4e223ce-FBeN3AGR.mjs} +1 -1
- package/dist/{styles-ca3715f6-L-g-3Cyz.mjs → styles-ca3715f6-Bbwf9B4M.mjs} +1 -1
- package/dist/{styles-d45a18b0-DGU9f1F_.mjs → styles-d45a18b0-u1qUEuMX.mjs} +4 -4
- package/dist/{svgDrawCommon-b86b1483-C1u6_bFK.mjs → svgDrawCommon-b86b1483-Cz_Ma4Lv.mjs} +1 -1
- package/dist/{timeline-definition-faaaa080-dpwqIzMm.mjs → timeline-definition-faaaa080-aMyalBdM.mjs} +2 -2
- package/dist/{xychartDiagram-f5964ef8-BJCEPvEI.mjs → xychartDiagram-f5964ef8-njygMMD_.mjs} +4 -4
- package/package.json +1 -1
|
@@ -18,9 +18,9 @@ function sp(t) {
|
|
|
18
18
|
r[r.length - 1] = r[r.length - 1].replace(/\r?\n([\t ]*)$/, "");
|
|
19
19
|
var i = r.reduce(function(l, s) {
|
|
20
20
|
var u = s.match(/\n([\t ]+|(?!\s).)/g);
|
|
21
|
-
return u ? l.concat(u.map(function(
|
|
22
|
-
var
|
|
23
|
-
return (f = (
|
|
21
|
+
return u ? l.concat(u.map(function(c) {
|
|
22
|
+
var h, f;
|
|
23
|
+
return (f = (h = c.match(/[\t ]/g)) === null || h === void 0 ? void 0 : h.length) !== null && f !== void 0 ? f : 0;
|
|
24
24
|
})) : l;
|
|
25
25
|
}, []);
|
|
26
26
|
if (i.length) {
|
|
@@ -34,13 +34,13 @@ function sp(t) {
|
|
|
34
34
|
r[0] = r[0].replace(/^\r?\n/, "");
|
|
35
35
|
var a = r[0];
|
|
36
36
|
return e.forEach(function(l, s) {
|
|
37
|
-
var u = a.match(/(?:^|\n)( *)$/),
|
|
37
|
+
var u = a.match(/(?:^|\n)( *)$/), c = u ? u[1] : "", h = l;
|
|
38
38
|
typeof l == "string" && l.includes(`
|
|
39
|
-
`) && (
|
|
39
|
+
`) && (h = String(l).split(`
|
|
40
40
|
`).map(function(f, d) {
|
|
41
|
-
return d === 0 ? f : "" +
|
|
41
|
+
return d === 0 ? f : "" + c + f;
|
|
42
42
|
}).join(`
|
|
43
|
-
`)), a +=
|
|
43
|
+
`)), a += h + r[s + 1];
|
|
44
44
|
}), a;
|
|
45
45
|
}
|
|
46
46
|
var AI = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -53,7 +53,7 @@ function cp() {
|
|
|
53
53
|
(function(n, r) {
|
|
54
54
|
t.exports = r();
|
|
55
55
|
})(up, (function() {
|
|
56
|
-
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", a = "second", l = "minute", s = "hour", u = "day",
|
|
56
|
+
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", a = "second", l = "minute", s = "hour", u = "day", c = "week", h = "month", f = "quarter", d = "year", p = "date", b = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, x = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(F) {
|
|
57
57
|
var S = ["th", "st", "nd", "rd"], E = F % 100;
|
|
58
58
|
return "[" + F + (S[(E - 20) % 10] || S[E] || S[0]) + "]";
|
|
59
59
|
} }, v = function(F, S, E) {
|
|
@@ -64,12 +64,12 @@ function cp() {
|
|
|
64
64
|
return (S <= 0 ? "+" : "-") + v(z, 2, "0") + ":" + v(D, 2, "0");
|
|
65
65
|
}, m: function F(S, E) {
|
|
66
66
|
if (S.date() < E.date()) return -F(E, S);
|
|
67
|
-
var z = 12 * (E.year() - S.year()) + (E.month() - S.month()), D = S.clone().add(z,
|
|
67
|
+
var z = 12 * (E.year() - S.year()) + (E.month() - S.month()), D = S.clone().add(z, h), q = E - D < 0, g = S.clone().add(z + (q ? -1 : 1), h);
|
|
68
68
|
return +(-(z + (E - D) / (q ? D - g : g - D)) || 0);
|
|
69
69
|
}, a: function(F) {
|
|
70
70
|
return F < 0 ? Math.ceil(F) || 0 : Math.floor(F);
|
|
71
71
|
}, p: function(F) {
|
|
72
|
-
return { M:
|
|
72
|
+
return { M: h, y: d, w: c, d: u, D: p, h: s, m: l, s: a, ms: o, Q: f }[F] || String(F || "").toLowerCase().replace(/s$/, "");
|
|
73
73
|
}, u: function(F) {
|
|
74
74
|
return F === void 0;
|
|
75
75
|
} }, R = "en", w = {};
|
|
@@ -147,9 +147,9 @@ function cp() {
|
|
|
147
147
|
switch (g) {
|
|
148
148
|
case d:
|
|
149
149
|
return q ? H(1, 0) : H(31, 11);
|
|
150
|
-
case c:
|
|
151
|
-
return q ? H(1, at) : H(0, at + 1);
|
|
152
150
|
case h:
|
|
151
|
+
return q ? H(1, at) : H(0, at + 1);
|
|
152
|
+
case c:
|
|
153
153
|
var wt = this.$locale().weekStart || 0, mt = (m < wt ? m + 7 : m) - wt;
|
|
154
154
|
return H(q ? Q - mt : Q + (6 - mt), at);
|
|
155
155
|
case u:
|
|
@@ -167,8 +167,8 @@ function cp() {
|
|
|
167
167
|
}, S.endOf = function(E) {
|
|
168
168
|
return this.startOf(E, !1);
|
|
169
169
|
}, S.$set = function(E, z) {
|
|
170
|
-
var D, q = L.p(E), g = "set" + (this.$u ? "UTC" : ""), H = (D = {}, D[u] = g + "Date", D[p] = g + "Date", D[
|
|
171
|
-
if (q ===
|
|
170
|
+
var D, q = L.p(E), g = "set" + (this.$u ? "UTC" : ""), H = (D = {}, D[u] = g + "Date", D[p] = g + "Date", D[h] = g + "Month", D[d] = g + "FullYear", D[s] = g + "Hours", D[l] = g + "Minutes", D[a] = g + "Seconds", D[o] = g + "Milliseconds", D)[q], ot = q === u ? this.$D + (z - this.$W) : z;
|
|
171
|
+
if (q === h || q === d) {
|
|
172
172
|
var m = this.clone().set(p, 1);
|
|
173
173
|
m.$d[H](ot), m.init(), this.$d = m.set(p, Math.min(this.$D, m.daysInMonth())).$d;
|
|
174
174
|
} else H && this.$d[H](ot);
|
|
@@ -184,10 +184,10 @@ function cp() {
|
|
|
184
184
|
var Q = T(q);
|
|
185
185
|
return L.w(Q.date(Q.date() + Math.round(at * E)), q);
|
|
186
186
|
};
|
|
187
|
-
if (g ===
|
|
187
|
+
if (g === h) return this.set(h, this.$M + E);
|
|
188
188
|
if (g === d) return this.set(d, this.$y + E);
|
|
189
189
|
if (g === u) return H(1);
|
|
190
|
-
if (g ===
|
|
190
|
+
if (g === c) return H(7);
|
|
191
191
|
var ot = (D = {}, D[l] = r, D[s] = i, D[a] = n, D)[g] || 1, m = this.$d.getTime() + E * ot;
|
|
192
192
|
return L.w(m, this);
|
|
193
193
|
}, S.subtract = function(E, z) {
|
|
@@ -268,13 +268,13 @@ function cp() {
|
|
|
268
268
|
case d:
|
|
269
269
|
q = Q() / 12;
|
|
270
270
|
break;
|
|
271
|
-
case
|
|
271
|
+
case h:
|
|
272
272
|
q = Q();
|
|
273
273
|
break;
|
|
274
274
|
case f:
|
|
275
275
|
q = Q() / 3;
|
|
276
276
|
break;
|
|
277
|
-
case
|
|
277
|
+
case c:
|
|
278
278
|
q = (at - m) / 6048e5;
|
|
279
279
|
break;
|
|
280
280
|
case u:
|
|
@@ -294,7 +294,7 @@ function cp() {
|
|
|
294
294
|
}
|
|
295
295
|
return D ? q : L.a(q);
|
|
296
296
|
}, S.daysInMonth = function() {
|
|
297
|
-
return this.endOf(
|
|
297
|
+
return this.endOf(h).$D;
|
|
298
298
|
}, S.$locale = function() {
|
|
299
299
|
return w[this.$L];
|
|
300
300
|
}, S.locale = function(E, z) {
|
|
@@ -313,7 +313,7 @@ function cp() {
|
|
|
313
313
|
return this.$d.toUTCString();
|
|
314
314
|
}, F;
|
|
315
315
|
})(), nt = N.prototype;
|
|
316
|
-
return T.prototype = nt, [["$ms", o], ["$s", a], ["$m", l], ["$H", s], ["$W", u], ["$M",
|
|
316
|
+
return T.prototype = nt, [["$ms", o], ["$s", a], ["$m", l], ["$H", s], ["$W", u], ["$M", h], ["$y", d], ["$D", p]].forEach((function(F) {
|
|
317
317
|
nt[F[1]] = function(S) {
|
|
318
318
|
return this.$g(S, F[0], F[1]);
|
|
319
319
|
};
|
|
@@ -333,28 +333,28 @@ function dp() {
|
|
|
333
333
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.sanitizeUrl = t.BLANK_URL = void 0;
|
|
334
334
|
var e = /^([^\w]*)(javascript|data|vbscript)/im, n = /&#(\w+)(^\w|;)?/g, r = /&(newline|tab);/gi, i = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, o = /^.+(:|:)/gim, a = [".", "/"];
|
|
335
335
|
t.BLANK_URL = "about:blank";
|
|
336
|
-
function l(
|
|
337
|
-
return a.indexOf(
|
|
336
|
+
function l(c) {
|
|
337
|
+
return a.indexOf(c[0]) > -1;
|
|
338
338
|
}
|
|
339
|
-
function s(
|
|
340
|
-
var
|
|
341
|
-
return
|
|
339
|
+
function s(c) {
|
|
340
|
+
var h = c.replace(i, "");
|
|
341
|
+
return h.replace(n, function(f, d) {
|
|
342
342
|
return String.fromCharCode(d);
|
|
343
343
|
});
|
|
344
344
|
}
|
|
345
|
-
function u(
|
|
346
|
-
if (!h)
|
|
347
|
-
return t.BLANK_URL;
|
|
348
|
-
var c = s(h).replace(r, "").replace(i, "").trim();
|
|
345
|
+
function u(c) {
|
|
349
346
|
if (!c)
|
|
350
347
|
return t.BLANK_URL;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
348
|
+
var h = s(c).replace(r, "").replace(i, "").trim();
|
|
349
|
+
if (!h)
|
|
350
|
+
return t.BLANK_URL;
|
|
351
|
+
if (l(h))
|
|
352
|
+
return h;
|
|
353
|
+
var f = h.match(o);
|
|
354
354
|
if (!f)
|
|
355
|
-
return
|
|
355
|
+
return h;
|
|
356
356
|
var d = f[0];
|
|
357
|
-
return e.test(d) ? t.BLANK_URL :
|
|
357
|
+
return e.test(d) ? t.BLANK_URL : h;
|
|
358
358
|
}
|
|
359
359
|
t.sanitizeUrl = u;
|
|
360
360
|
})(xo)), xo;
|
|
@@ -457,8 +457,8 @@ function Ha(t) {
|
|
|
457
457
|
function _p(t) {
|
|
458
458
|
typeof t != "function" && (t = Ha(t));
|
|
459
459
|
for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
|
|
460
|
-
for (var o = e[i], a = o.length, l = r[i] = new Array(a), s, u,
|
|
461
|
-
(s = o[
|
|
460
|
+
for (var o = e[i], a = o.length, l = r[i] = new Array(a), s, u, c = 0; c < a; ++c)
|
|
461
|
+
(s = o[c]) && (u = t.call(s, s.__data__, c, o)) && ("__data__" in s && (u.__data__ = s.__data__), l[c] = u);
|
|
462
462
|
return new Kt(r, this._parents);
|
|
463
463
|
}
|
|
464
464
|
function kp(t) {
|
|
@@ -561,12 +561,12 @@ function $p(t, e, n, r, i, o) {
|
|
|
561
561
|
(l = e[a]) && (i[a] = l);
|
|
562
562
|
}
|
|
563
563
|
function Rp(t, e, n, r, i, o, a) {
|
|
564
|
-
var l, s, u = /* @__PURE__ */ new Map(),
|
|
565
|
-
for (l = 0; l < h; ++l)
|
|
566
|
-
(s = e[l]) && (f[l] = d = a.call(s, s.__data__, l, e) + "", u.has(d) ? i[l] = s : u.set(d, s));
|
|
564
|
+
var l, s, u = /* @__PURE__ */ new Map(), c = e.length, h = o.length, f = new Array(c), d;
|
|
567
565
|
for (l = 0; l < c; ++l)
|
|
568
|
-
d = a.call(
|
|
566
|
+
(s = e[l]) && (f[l] = d = a.call(s, s.__data__, l, e) + "", u.has(d) ? i[l] = s : u.set(d, s));
|
|
569
567
|
for (l = 0; l < h; ++l)
|
|
568
|
+
d = a.call(t, o[l], l, o) + "", (s = u.get(d)) ? (r[l] = s, s.__data__ = o[l], u.delete(d)) : n[l] = new yi(t, o[l]);
|
|
569
|
+
for (l = 0; l < c; ++l)
|
|
570
570
|
(s = e[l]) && u.get(f[l]) === s && (i[l] = s);
|
|
571
571
|
}
|
|
572
572
|
function zp(t) {
|
|
@@ -577,8 +577,8 @@ function Np(t, e) {
|
|
|
577
577
|
var n = e ? Rp : $p, r = this._parents, i = this._groups;
|
|
578
578
|
typeof t != "function" && (t = Pp(t));
|
|
579
579
|
for (var o = i.length, a = new Array(o), l = new Array(o), s = new Array(o), u = 0; u < o; ++u) {
|
|
580
|
-
var
|
|
581
|
-
n(
|
|
580
|
+
var c = r[u], h = i[u], f = h.length, d = qp(t.call(c, c && c.__data__, u, r)), p = d.length, b = l[u] = new Array(p), C = a[u] = new Array(p), x = s[u] = new Array(f);
|
|
581
|
+
n(c, h, b, C, x, d, e);
|
|
582
582
|
for (var k = 0, v = 0, M, R; k < p; ++k)
|
|
583
583
|
if (M = b[k]) {
|
|
584
584
|
for (k >= v && (v = k + 1); !(R = C[v]) && ++v < p; ) ;
|
|
@@ -599,8 +599,8 @@ function Hp(t, e, n) {
|
|
|
599
599
|
}
|
|
600
600
|
function Wp(t) {
|
|
601
601
|
for (var e = t.selection ? t.selection() : t, n = this._groups, r = e._groups, i = n.length, o = r.length, a = Math.min(i, o), l = new Array(i), s = 0; s < a; ++s)
|
|
602
|
-
for (var u = n[s],
|
|
603
|
-
(d = u[p] ||
|
|
602
|
+
for (var u = n[s], c = r[s], h = u.length, f = l[s] = new Array(h), d, p = 0; p < h; ++p)
|
|
603
|
+
(d = u[p] || c[p]) && (f[p] = d);
|
|
604
604
|
for (; s < i; ++s)
|
|
605
605
|
l[s] = n[s];
|
|
606
606
|
return new Kt(l, this._parents);
|
|
@@ -613,12 +613,12 @@ function Up() {
|
|
|
613
613
|
}
|
|
614
614
|
function Vp(t) {
|
|
615
615
|
t || (t = Yp);
|
|
616
|
-
function e(
|
|
617
|
-
return
|
|
616
|
+
function e(h, f) {
|
|
617
|
+
return h && f ? t(h.__data__, f.__data__) : !h - !f;
|
|
618
618
|
}
|
|
619
619
|
for (var n = this._groups, r = n.length, i = new Array(r), o = 0; o < r; ++o) {
|
|
620
|
-
for (var a = n[o], l = a.length, s = i[o] = new Array(l), u,
|
|
621
|
-
(u = a[
|
|
620
|
+
for (var a = n[o], l = a.length, s = i[o] = new Array(l), u, c = 0; c < l; ++c)
|
|
621
|
+
(u = a[c]) && (s[c] = u);
|
|
622
622
|
s.sort(e);
|
|
623
623
|
}
|
|
624
624
|
return new Kt(i, this._parents).order();
|
|
@@ -911,10 +911,10 @@ function Wg(t, e, n) {
|
|
|
911
911
|
if (arguments.length < 2) {
|
|
912
912
|
var l = this.node().__on;
|
|
913
913
|
if (l) {
|
|
914
|
-
for (var s = 0, u = l.length,
|
|
915
|
-
for (i = 0,
|
|
916
|
-
if ((a = r[i]).type ===
|
|
917
|
-
return
|
|
914
|
+
for (var s = 0, u = l.length, c; s < u; ++s)
|
|
915
|
+
for (i = 0, c = l[s]; i < o; ++i)
|
|
916
|
+
if ((a = r[i]).type === c.type && a.name === c.name)
|
|
917
|
+
return c.value;
|
|
918
918
|
}
|
|
919
919
|
return;
|
|
920
920
|
}
|
|
@@ -1323,8 +1323,8 @@ const ps = (function t(e) {
|
|
|
1323
1323
|
var n = um(e);
|
|
1324
1324
|
function r(i, o) {
|
|
1325
1325
|
var a = n((i = na(i)).r, (o = na(o)).r), l = n(i.g, o.g), s = n(i.b, o.b), u = Rc(i.opacity, o.opacity);
|
|
1326
|
-
return function(
|
|
1327
|
-
return i.r = a(
|
|
1326
|
+
return function(c) {
|
|
1327
|
+
return i.r = a(c), i.g = l(c), i.b = s(c), i.opacity = u(c), i + "";
|
|
1328
1328
|
};
|
|
1329
1329
|
}
|
|
1330
1330
|
return r.gamma = t, r;
|
|
@@ -1350,7 +1350,7 @@ function fm(t, e) {
|
|
|
1350
1350
|
for (t = t + "", e = e + ""; (r = ra.exec(t)) && (i = Co.exec(e)); )
|
|
1351
1351
|
(o = i.index) > n && (o = e.slice(n, o), l[a] ? l[a] += o : l[++a] = o), (r = r[0]) === (i = i[0]) ? l[a] ? l[a] += i : l[++a] = i : (l[++a] = null, s.push({ i: a, x: qe(r, i) })), n = Co.lastIndex;
|
|
1352
1352
|
return n < e.length && (o = e.slice(n), l[a] ? l[a] += o : l[++a] = o), l.length < 2 ? s[0] ? hm(s[0].x) : cm(e) : (e = s.length, function(u) {
|
|
1353
|
-
for (var
|
|
1353
|
+
for (var c = 0, h; c < e; ++c) l[(h = s[c]).i] = h.x(u);
|
|
1354
1354
|
return l.join("");
|
|
1355
1355
|
});
|
|
1356
1356
|
}
|
|
@@ -1385,29 +1385,29 @@ function Nc(t, e, n, r) {
|
|
|
1385
1385
|
function i(u) {
|
|
1386
1386
|
return u.length ? u.pop() + " " : "";
|
|
1387
1387
|
}
|
|
1388
|
-
function o(u,
|
|
1389
|
-
if (u !==
|
|
1388
|
+
function o(u, c, h, f, d, p) {
|
|
1389
|
+
if (u !== h || c !== f) {
|
|
1390
1390
|
var b = d.push("translate(", null, e, null, n);
|
|
1391
|
-
p.push({ i: b - 4, x: qe(u,
|
|
1392
|
-
} else (
|
|
1391
|
+
p.push({ i: b - 4, x: qe(u, h) }, { i: b - 2, x: qe(c, f) });
|
|
1392
|
+
} else (h || f) && d.push("translate(" + h + e + f + n);
|
|
1393
1393
|
}
|
|
1394
|
-
function a(u,
|
|
1395
|
-
u !==
|
|
1394
|
+
function a(u, c, h, f) {
|
|
1395
|
+
u !== c ? (u - c > 180 ? c += 360 : c - u > 180 && (u += 360), f.push({ i: h.push(i(h) + "rotate(", null, r) - 2, x: qe(u, c) })) : c && h.push(i(h) + "rotate(" + c + r);
|
|
1396
1396
|
}
|
|
1397
|
-
function l(u,
|
|
1398
|
-
u !==
|
|
1397
|
+
function l(u, c, h, f) {
|
|
1398
|
+
u !== c ? f.push({ i: h.push(i(h) + "skewX(", null, r) - 2, x: qe(u, c) }) : c && h.push(i(h) + "skewX(" + c + r);
|
|
1399
1399
|
}
|
|
1400
|
-
function s(u,
|
|
1401
|
-
if (u !==
|
|
1400
|
+
function s(u, c, h, f, d, p) {
|
|
1401
|
+
if (u !== h || c !== f) {
|
|
1402
1402
|
var b = d.push(i(d) + "scale(", null, ",", null, ")");
|
|
1403
|
-
p.push({ i: b - 4, x: qe(u,
|
|
1404
|
-
} else (
|
|
1405
|
-
}
|
|
1406
|
-
return function(u,
|
|
1407
|
-
var
|
|
1408
|
-
return u = t(u),
|
|
1409
|
-
for (var p = -1, b = f.length, C; ++p < b; )
|
|
1410
|
-
return
|
|
1403
|
+
p.push({ i: b - 4, x: qe(u, h) }, { i: b - 2, x: qe(c, f) });
|
|
1404
|
+
} else (h !== 1 || f !== 1) && d.push(i(d) + "scale(" + h + "," + f + ")");
|
|
1405
|
+
}
|
|
1406
|
+
return function(u, c) {
|
|
1407
|
+
var h = [], f = [];
|
|
1408
|
+
return u = t(u), c = t(c), o(u.translateX, u.translateY, c.translateX, c.translateY, h, f), a(u.rotate, c.rotate, h, f), l(u.skewX, c.skewX, h, f), s(u.scaleX, u.scaleY, c.scaleX, c.scaleY, h, f), u = c = null, function(d) {
|
|
1409
|
+
for (var p = -1, b = f.length, C; ++p < b; ) h[(C = f[p]).i] = C.x(d);
|
|
1410
|
+
return h.join("");
|
|
1411
1411
|
};
|
|
1412
1412
|
};
|
|
1413
1413
|
}
|
|
@@ -1516,24 +1516,24 @@ function wm(t, e, n) {
|
|
|
1516
1516
|
n.state = xs, n.timer.restart(a, n.delay, n.time), n.delay <= u && a(u - n.delay);
|
|
1517
1517
|
}
|
|
1518
1518
|
function a(u) {
|
|
1519
|
-
var
|
|
1519
|
+
var c, h, f, d;
|
|
1520
1520
|
if (n.state !== xs) return s();
|
|
1521
|
-
for (
|
|
1522
|
-
if (d = r[
|
|
1521
|
+
for (c in r)
|
|
1522
|
+
if (d = r[c], d.name === n.name) {
|
|
1523
1523
|
if (d.state === ai) return ys(a);
|
|
1524
|
-
d.state === bs ? (d.state = li, d.timer.stop(), d.on.call("interrupt", t, t.__data__, d.index, d.group), delete r[
|
|
1524
|
+
d.state === bs ? (d.state = li, d.timer.stop(), d.on.call("interrupt", t, t.__data__, d.index, d.group), delete r[c]) : +c < e && (d.state = li, d.timer.stop(), d.on.call("cancel", t, t.__data__, d.index, d.group), delete r[c]);
|
|
1525
1525
|
}
|
|
1526
1526
|
if (ys(function() {
|
|
1527
1527
|
n.state === ai && (n.state = bs, n.timer.restart(l, n.delay, n.time), l(u));
|
|
1528
1528
|
}), n.state = aa, n.on.call("start", t, t.__data__, n.index, n.group), n.state === aa) {
|
|
1529
|
-
for (n.state = ai, i = new Array(f = n.tween.length),
|
|
1530
|
-
(d = n.tween[
|
|
1531
|
-
i.length =
|
|
1529
|
+
for (n.state = ai, i = new Array(f = n.tween.length), c = 0, h = -1; c < f; ++c)
|
|
1530
|
+
(d = n.tween[c].value.call(t, t.__data__, n.index, n.group)) && (i[++h] = d);
|
|
1531
|
+
i.length = h + 1;
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
1534
|
function l(u) {
|
|
1535
|
-
for (var
|
|
1536
|
-
i[
|
|
1535
|
+
for (var c = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(s), n.state = la, 1), h = -1, f = i.length; ++h < f; )
|
|
1536
|
+
i[h].call(t, c);
|
|
1537
1537
|
n.state === la && (n.on.call("end", t, t.__data__, n.index, n.group), s());
|
|
1538
1538
|
}
|
|
1539
1539
|
function s() {
|
|
@@ -1751,8 +1751,8 @@ function Jm(t) {
|
|
|
1751
1751
|
function Zm(t) {
|
|
1752
1752
|
if (t._id !== this._id) throw new Error();
|
|
1753
1753
|
for (var e = this._groups, n = t._groups, r = e.length, i = n.length, o = Math.min(r, i), a = new Array(r), l = 0; l < o; ++l)
|
|
1754
|
-
for (var s = e[l], u = n[l],
|
|
1755
|
-
(f = s[d] || u[d]) && (
|
|
1754
|
+
for (var s = e[l], u = n[l], c = s.length, h = a[l] = new Array(c), f, d = 0; d < c; ++d)
|
|
1755
|
+
(f = s[d] || u[d]) && (h[d] = f);
|
|
1756
1756
|
for (; l < r; ++l)
|
|
1757
1757
|
a[l] = e[l];
|
|
1758
1758
|
return new Oe(a, this._parents, this._name, this._id);
|
|
@@ -1788,19 +1788,19 @@ function iy(t) {
|
|
|
1788
1788
|
var e = this._name, n = this._id;
|
|
1789
1789
|
typeof t != "function" && (t = Ha(t));
|
|
1790
1790
|
for (var r = this._groups, i = r.length, o = new Array(i), a = 0; a < i; ++a)
|
|
1791
|
-
for (var l = r[a], s = l.length, u = o[a] = new Array(s),
|
|
1792
|
-
(
|
|
1791
|
+
for (var l = r[a], s = l.length, u = o[a] = new Array(s), c, h, f = 0; f < s; ++f)
|
|
1792
|
+
(c = l[f]) && (h = t.call(c, c.__data__, f, l)) && ("__data__" in c && (h.__data__ = c.__data__), u[f] = h, Vi(u[f], e, n, f, u, se(c, n)));
|
|
1793
1793
|
return new Oe(o, this._parents, e, n);
|
|
1794
1794
|
}
|
|
1795
1795
|
function oy(t) {
|
|
1796
1796
|
var e = this._name, n = this._id;
|
|
1797
1797
|
typeof t != "function" && (t = Tc(t));
|
|
1798
1798
|
for (var r = this._groups, i = r.length, o = [], a = [], l = 0; l < i; ++l)
|
|
1799
|
-
for (var s = r[l], u = s.length,
|
|
1800
|
-
if (
|
|
1801
|
-
for (var f = t.call(
|
|
1799
|
+
for (var s = r[l], u = s.length, c, h = 0; h < u; ++h)
|
|
1800
|
+
if (c = s[h]) {
|
|
1801
|
+
for (var f = t.call(c, c.__data__, h, s), d, p = se(c, n), b = 0, C = f.length; b < C; ++b)
|
|
1802
1802
|
(d = f[b]) && Vi(d, e, n, b, f, p);
|
|
1803
|
-
o.push(f), a.push(
|
|
1803
|
+
o.push(f), a.push(c);
|
|
1804
1804
|
}
|
|
1805
1805
|
return new Oe(o, a, e, n);
|
|
1806
1806
|
}
|
|
@@ -1837,8 +1837,8 @@ function cy(t, e, n) {
|
|
|
1837
1837
|
function hy(t, e) {
|
|
1838
1838
|
var n, r, i, o = "style." + e, a = "end." + o, l;
|
|
1839
1839
|
return function() {
|
|
1840
|
-
var s = we(this, t), u = s.on,
|
|
1841
|
-
(u !== n || i !==
|
|
1840
|
+
var s = we(this, t), u = s.on, c = s.value[o] == null ? l || (l = Vc(e)) : void 0;
|
|
1841
|
+
(u !== n || i !== c) && (r = (n = u).copy()).on(a, i = c), s.on = r;
|
|
1842
1842
|
};
|
|
1843
1843
|
}
|
|
1844
1844
|
function fy(t, e, n) {
|
|
@@ -1903,12 +1903,12 @@ function ky() {
|
|
|
1903
1903
|
for (var t = this._name, e = this._id, n = Yc(), r = this._groups, i = r.length, o = 0; o < i; ++o)
|
|
1904
1904
|
for (var a = r[o], l = a.length, s, u = 0; u < l; ++u)
|
|
1905
1905
|
if (s = a[u]) {
|
|
1906
|
-
var
|
|
1906
|
+
var c = se(s, e);
|
|
1907
1907
|
Vi(s, t, n, u, a, {
|
|
1908
|
-
time:
|
|
1908
|
+
time: c.time + c.delay + c.duration,
|
|
1909
1909
|
delay: 0,
|
|
1910
|
-
duration:
|
|
1911
|
-
ease:
|
|
1910
|
+
duration: c.duration,
|
|
1911
|
+
ease: c.ease
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
1914
1914
|
return new Oe(r, this._parents, t, n);
|
|
@@ -1920,8 +1920,8 @@ function wy() {
|
|
|
1920
1920
|
--i === 0 && o();
|
|
1921
1921
|
} };
|
|
1922
1922
|
n.each(function() {
|
|
1923
|
-
var u = we(this, r),
|
|
1924
|
-
|
|
1923
|
+
var u = we(this, r), c = u.on;
|
|
1924
|
+
c !== t && (e = (t = c).copy(), e._.cancel.push(l), e._.interrupt.push(l), e._.end.push(s)), u.on = e;
|
|
1925
1925
|
}), i === 0 && o();
|
|
1926
1926
|
});
|
|
1927
1927
|
}
|
|
@@ -2407,8 +2407,8 @@ function tl(t, e, n) {
|
|
|
2407
2407
|
r = (r * l - t._x0 * t._l12_2a + t._x2 * t._l01_2a) / s, i = (i * l - t._y0 * t._l12_2a + t._y2 * t._l01_2a) / s;
|
|
2408
2408
|
}
|
|
2409
2409
|
if (t._l23_a > Cs) {
|
|
2410
|
-
var u = 2 * t._l23_2a + 3 * t._l23_a * t._l12_a + t._l12_2a,
|
|
2411
|
-
o = (o * u + t._x1 * t._l23_2a - e * t._l12_2a) /
|
|
2410
|
+
var u = 2 * t._l23_2a + 3 * t._l23_a * t._l12_a + t._l12_2a, c = 3 * t._l23_a * (t._l23_a + t._l12_a);
|
|
2411
|
+
o = (o * u + t._x1 * t._l23_2a - e * t._l12_2a) / c, a = (a * u + t._y1 * t._l23_2a - n * t._l12_2a) / c;
|
|
2412
2412
|
}
|
|
2413
2413
|
t._context.bezierCurveTo(r, i, o, a, t._x2, t._y2);
|
|
2414
2414
|
}
|
|
@@ -2965,8 +2965,8 @@ function uh() {
|
|
|
2965
2965
|
Node: l,
|
|
2966
2966
|
Element: s,
|
|
2967
2967
|
NodeFilter: u,
|
|
2968
|
-
NamedNodeMap:
|
|
2969
|
-
HTMLFormElement:
|
|
2968
|
+
NamedNodeMap: c = t.NamedNodeMap || t.MozNamedAttrMap,
|
|
2969
|
+
HTMLFormElement: h,
|
|
2970
2970
|
DOMParser: f,
|
|
2971
2971
|
trustedTypes: d
|
|
2972
2972
|
} = t, p = s.prototype, b = tr(p, "cloneNode"), C = tr(p, "remove"), x = tr(p, "nextSibling"), k = tr(p, "childNodes"), v = tr(p, "parentNode");
|
|
@@ -3139,7 +3139,7 @@ function uh() {
|
|
|
3139
3139
|
null
|
|
3140
3140
|
);
|
|
3141
3141
|
}, mo = function(y) {
|
|
3142
|
-
return y instanceof
|
|
3142
|
+
return y instanceof h && (typeof y.nodeName != "string" || typeof y.textContent != "string" || typeof y.removeChild != "function" || !(y.attributes instanceof c) || typeof y.removeAttribute != "function" || typeof y.setAttribute != "function" || typeof y.namespaceURI != "string" || typeof y.insertBefore != "function" || typeof y.hasChildNodes != "function");
|
|
3143
3143
|
}, Xl = function(y) {
|
|
3144
3144
|
return typeof l == "function" && y instanceof l;
|
|
3145
3145
|
};
|
|
@@ -3543,12 +3543,12 @@ const Xi = new bx({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), En = {
|
|
|
3543
3543
|
const e = t.match(En.re);
|
|
3544
3544
|
if (!e)
|
|
3545
3545
|
return;
|
|
3546
|
-
const n = e[1], r = parseInt(n, 16), i = n.length, o = i % 4 === 0, a = i > 4, l = a ? 1 : 17, s = a ? 8 : 4, u = o ? 0 : -1,
|
|
3546
|
+
const n = e[1], r = parseInt(n, 16), i = n.length, o = i % 4 === 0, a = i > 4, l = a ? 1 : 17, s = a ? 8 : 4, u = o ? 0 : -1, c = a ? 255 : 15;
|
|
3547
3547
|
return Xi.set({
|
|
3548
|
-
r: (r >> s * (u + 3) &
|
|
3549
|
-
g: (r >> s * (u + 2) &
|
|
3550
|
-
b: (r >> s * (u + 1) &
|
|
3551
|
-
a: o ? (r &
|
|
3548
|
+
r: (r >> s * (u + 3) & c) * l,
|
|
3549
|
+
g: (r >> s * (u + 2) & c) * l,
|
|
3550
|
+
b: (r >> s * (u + 1) & c) * l,
|
|
3551
|
+
a: o ? (r & c) * l / 255 : 1
|
|
3552
3552
|
}, t);
|
|
3553
3553
|
},
|
|
3554
3554
|
stringify: (t) => {
|
|
@@ -3770,12 +3770,12 @@ const Xi = new bx({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), En = {
|
|
|
3770
3770
|
const n = t.match(fr.re);
|
|
3771
3771
|
if (!n)
|
|
3772
3772
|
return;
|
|
3773
|
-
const [, r, i, o, a, l, s, u,
|
|
3773
|
+
const [, r, i, o, a, l, s, u, c] = n;
|
|
3774
3774
|
return Xi.set({
|
|
3775
3775
|
r: K.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
|
|
3776
3776
|
g: K.channel.clamp.g(a ? parseFloat(o) * 2.55 : parseFloat(o)),
|
|
3777
3777
|
b: K.channel.clamp.b(s ? parseFloat(l) * 2.55 : parseFloat(l)),
|
|
3778
|
-
a: u ? K.channel.clamp.a(
|
|
3778
|
+
a: u ? K.channel.clamp.a(c ? parseFloat(u) / 100 : parseFloat(u)) : 1
|
|
3779
3779
|
}, t);
|
|
3780
3780
|
},
|
|
3781
3781
|
stringify: (t) => {
|
|
@@ -3829,7 +3829,7 @@ const Xi = new bx({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), En = {
|
|
|
3829
3829
|
e[i] && (r[i] = n[i] + e[i]);
|
|
3830
3830
|
return ch(t, r);
|
|
3831
3831
|
}, kx = (t, e, n = 50) => {
|
|
3832
|
-
const { r, g: i, b: o, a } = Ce.parse(t), { r: l, g: s, b: u, a:
|
|
3832
|
+
const { r, g: i, b: o, a } = Ce.parse(t), { r: l, g: s, b: u, a: c } = Ce.parse(e), h = n / 100, f = h * 2 - 1, d = a - c, b = ((f * d === -1 ? f : (f + d) / (1 + f * d)) + 1) / 2, C = 1 - b, x = r * b + l * C, k = i * b + s * C, v = o * b + u * C, M = a * h + c * (1 - h);
|
|
3833
3833
|
return pr(x, k, v, M);
|
|
3834
3834
|
}, $ = (t, e = 100) => {
|
|
3835
3835
|
const n = Ce.parse(t);
|
|
@@ -4268,12 +4268,12 @@ function $b(t, e, n, r, i, o, a) {
|
|
|
4268
4268
|
ha(t, n, u);
|
|
4269
4269
|
return;
|
|
4270
4270
|
}
|
|
4271
|
-
var
|
|
4272
|
-
if (
|
|
4271
|
+
var c = o ? o(l, s, n + "", t, e, a) : void 0, h = c === void 0;
|
|
4272
|
+
if (h) {
|
|
4273
4273
|
var f = Li(s), d = !f && rl(s), p = !f && !d && il(s);
|
|
4274
|
-
|
|
4274
|
+
c = s, f || d || p ? Li(l) ? c = l : z0(l) ? c = B0(l) : d ? (h = !1, c = E0(s, !0)) : p ? (h = !1, c = F0(s, !0)) : c = [] : G0(s) || Ei(s) ? (c = l, Ei(l) ? c = Pb(l) : (!un(l) || el(l)) && (c = O0(s))) : h = !1;
|
|
4275
4275
|
}
|
|
4276
|
-
|
|
4276
|
+
h && (a.set(s, c), i(c, s, r, o, a), a.delete(s)), ha(t, n, c);
|
|
4277
4277
|
}
|
|
4278
4278
|
function Th(t, e, n, r, i) {
|
|
4279
4279
|
t !== e && v0(e, function(o, a) {
|
|
@@ -4500,11 +4500,11 @@ function hC(t) {
|
|
|
4500
4500
|
return aC(fi("", null, null, null, [""], t = oC(t), 0, [0], t));
|
|
4501
4501
|
}
|
|
4502
4502
|
function fi(t, e, n, r, i, o, a, l, s) {
|
|
4503
|
-
for (var u = 0,
|
|
4503
|
+
for (var u = 0, c = 0, h = a, f = 0, d = 0, p = 0, b = 1, C = 1, x = 1, k = 0, v = "", M = i, R = o, w = r, P = v; C; )
|
|
4504
4504
|
switch (p = k, k = le()) {
|
|
4505
4505
|
// (
|
|
4506
4506
|
case 40:
|
|
4507
|
-
if (p != 108 && Ln(P,
|
|
4507
|
+
if (p != 108 && Ln(P, h - 1) == 58) {
|
|
4508
4508
|
eC(P += ci(Fo(k), "&", "&\f"), "&\f", Lh(u ? l[u - 1] : 0)) != -1 && (x = -1);
|
|
4509
4509
|
break;
|
|
4510
4510
|
}
|
|
@@ -4549,17 +4549,17 @@ function fi(t, e, n, r, i, o, a, l, s) {
|
|
|
4549
4549
|
case 125:
|
|
4550
4550
|
C = 0;
|
|
4551
4551
|
// ;
|
|
4552
|
-
case 59 +
|
|
4553
|
-
x == -1 && (P = ci(P, /\f/g, "")), d > 0 && (me(P) -
|
|
4552
|
+
case 59 + c:
|
|
4553
|
+
x == -1 && (P = ci(P, /\f/g, "")), d > 0 && (me(P) - h || b === 0 && p === 47) && Jr(d > 32 ? Gs(P + ";", r, n, h - 1, s) : Gs(ci(P, " ", "") + ";", r, n, h - 2, s), s);
|
|
4554
4554
|
break;
|
|
4555
4555
|
// @ ;
|
|
4556
4556
|
case 59:
|
|
4557
4557
|
P += ";";
|
|
4558
4558
|
// { rule/at-rule
|
|
4559
4559
|
default:
|
|
4560
|
-
if (Jr(w = Ys(P, e, n, u,
|
|
4561
|
-
if (
|
|
4562
|
-
fi(P, e, w, w, M, o,
|
|
4560
|
+
if (Jr(w = Ys(P, e, n, u, c, i, l, v, M = [], R = [], h, o), o), k === 123)
|
|
4561
|
+
if (c === 0)
|
|
4562
|
+
fi(P, e, w, w, M, o, h, l, R);
|
|
4563
4563
|
else {
|
|
4564
4564
|
switch (f) {
|
|
4565
4565
|
// c(ontainer)
|
|
@@ -4569,20 +4569,20 @@ function fi(t, e, n, r, i, o, a, l, s) {
|
|
|
4569
4569
|
case 108:
|
|
4570
4570
|
if (Ln(P, 2) === 97) break;
|
|
4571
4571
|
default:
|
|
4572
|
-
|
|
4572
|
+
c = 0;
|
|
4573
4573
|
// d(ocument) m(edia) s(upports)
|
|
4574
4574
|
case 100:
|
|
4575
4575
|
case 109:
|
|
4576
4576
|
case 115:
|
|
4577
4577
|
}
|
|
4578
|
-
|
|
4578
|
+
c ? fi(t, w, w, r && Jr(Ys(t, w, w, 0, 0, i, l, v, i, M = [], h, R), R), i, R, h, l, r ? M : R) : fi(P, w, w, w, [""], R, 0, l, R);
|
|
4579
4579
|
}
|
|
4580
4580
|
}
|
|
4581
|
-
u =
|
|
4581
|
+
u = c = d = 0, b = x = 1, v = P = "", h = a;
|
|
4582
4582
|
break;
|
|
4583
4583
|
// :
|
|
4584
4584
|
case 58:
|
|
4585
|
-
|
|
4585
|
+
h = 1 + me(P), d = p;
|
|
4586
4586
|
default:
|
|
4587
4587
|
if (b < 1) {
|
|
4588
4588
|
if (k == 123)
|
|
@@ -4593,7 +4593,7 @@ function fi(t, e, n, r, i, o, a, l, s) {
|
|
|
4593
4593
|
switch (P += ol(k), k * b) {
|
|
4594
4594
|
// &
|
|
4595
4595
|
case 38:
|
|
4596
|
-
x =
|
|
4596
|
+
x = c > 0 ? 1 : (P += "\f", -1);
|
|
4597
4597
|
break;
|
|
4598
4598
|
// ,
|
|
4599
4599
|
case 44:
|
|
@@ -4601,7 +4601,7 @@ function fi(t, e, n, r, i, o, a, l, s) {
|
|
|
4601
4601
|
break;
|
|
4602
4602
|
// @
|
|
4603
4603
|
case 64:
|
|
4604
|
-
je() === 45 && (P += Fo(le())), f = je(),
|
|
4604
|
+
je() === 45 && (P += Fo(le())), f = je(), c = h = me(v = P += cC(hi())), k++;
|
|
4605
4605
|
break;
|
|
4606
4606
|
// -
|
|
4607
4607
|
case 45:
|
|
@@ -4610,11 +4610,11 @@ function fi(t, e, n, r, i, o, a, l, s) {
|
|
|
4610
4610
|
}
|
|
4611
4611
|
return o;
|
|
4612
4612
|
}
|
|
4613
|
-
function Ys(t, e, n, r, i, o, a, l, s, u,
|
|
4613
|
+
function Ys(t, e, n, r, i, o, a, l, s, u, c, h) {
|
|
4614
4614
|
for (var f = i - 1, d = i === 0 ? o : [""], p = nC(d), b = 0, C = 0, x = 0; b < r; ++b)
|
|
4615
4615
|
for (var k = 0, v = Dn(t, f + 1, f = Lh(C = a[b])), M = t; k < p; ++k)
|
|
4616
4616
|
(M = Fh(C > 0 ? d[k] + " " + v : ci(v, /&\f/g, d[k]))) && (s[x++] = M);
|
|
4617
|
-
return al(t, e, n, i === 0 ? Ah : l, s, u,
|
|
4617
|
+
return al(t, e, n, i === 0 ? Ah : l, s, u, c, h);
|
|
4618
4618
|
}
|
|
4619
4619
|
function fC(t, e, n, r) {
|
|
4620
4620
|
return al(t, e, n, vh, ol(rC()), Dn(t, 2, -2), 0, r);
|
|
@@ -4821,7 +4821,7 @@ let jC = class {
|
|
|
4821
4821
|
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px";
|
|
4822
4822
|
}
|
|
4823
4823
|
updateColors() {
|
|
4824
|
-
var e, n, r, i, o, a, l, s, u,
|
|
4824
|
+
var e, n, r, i, o, a, l, s, u, c, h;
|
|
4825
4825
|
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || _(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || _(this.primaryColor, { h: 180, l: 5 }), this.primaryBorderColor = this.primaryBorderColor || Pt(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Pt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Pt(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Pt(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || $(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || $(this.tertiaryColor), this.lineColor = this.lineColor || $(this.background), this.arrowheadColor = this.arrowheadColor || $(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? G(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || "grey", this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || G(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || $(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || W(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || _(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || _(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || _(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || _(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || _(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || _(this.primaryColor, { h: 210, l: 150 }), this.cScale9 = this.cScale9 || _(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || _(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || _(this.primaryColor, { h: 330 }), this.darkMode)
|
|
4826
4826
|
for (let d = 0; d < this.THEME_COLOR_LIMIT; d++)
|
|
4827
4827
|
this["cScale" + d] = G(this["cScale" + d], 75);
|
|
@@ -4848,8 +4848,8 @@ let jC = class {
|
|
|
4848
4848
|
yAxisTitleColor: ((l = this.xyChart) == null ? void 0 : l.yAxisTitleColor) || this.primaryTextColor,
|
|
4849
4849
|
yAxisLabelColor: ((s = this.xyChart) == null ? void 0 : s.yAxisLabelColor) || this.primaryTextColor,
|
|
4850
4850
|
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
4851
|
-
yAxisLineColor: ((
|
|
4852
|
-
plotColorPalette: ((
|
|
4851
|
+
yAxisLineColor: ((c = this.xyChart) == null ? void 0 : c.yAxisLineColor) || this.primaryTextColor,
|
|
4852
|
+
plotColorPalette: ((h = this.xyChart) == null ? void 0 : h.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
4853
4853
|
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? G(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || _(this.primaryColor, { h: -30 }), this.git4 = this.git4 || _(this.primaryColor, { h: -60 }), this.git5 = this.git5 || _(this.primaryColor, { h: -90 }), this.git6 = this.git6 || _(this.primaryColor, { h: 60 }), this.git7 = this.git7 || _(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = W(this.git0, 25), this.git1 = W(this.git1, 25), this.git2 = W(this.git2, 25), this.git3 = W(this.git3, 25), this.git4 = W(this.git4, 25), this.git5 = W(this.git5, 25), this.git6 = W(this.git6, 25), this.git7 = W(this.git7, 25)) : (this.git0 = G(this.git0, 25), this.git1 = G(this.git1, 25), this.git2 = G(this.git2, 25), this.git3 = G(this.git3, 25), this.git4 = G(this.git4, 25), this.git5 = G(this.git5, 25), this.git6 = G(this.git6, 25), this.git7 = G(this.git7, 25)), this.gitInv0 = this.gitInv0 || $(this.git0), this.gitInv1 = this.gitInv1 || $(this.git1), this.gitInv2 = this.gitInv2 || $(this.git2), this.gitInv3 = this.gitInv3 || $(this.git3), this.gitInv4 = this.gitInv4 || $(this.git4), this.gitInv5 = this.gitInv5 || $(this.git5), this.gitInv6 = this.gitInv6 || $(this.git6), this.gitInv7 = this.gitInv7 || $(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || ro, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || io;
|
|
4854
4854
|
}
|
|
4855
4855
|
calculate(e) {
|
|
@@ -4874,7 +4874,7 @@ let WC = class {
|
|
|
4874
4874
|
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = W(this.primaryColor, 16), this.tertiaryColor = _(this.primaryColor, { h: -160 }), this.primaryBorderColor = $(this.background), this.secondaryBorderColor = Pt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Pt(this.tertiaryColor, this.darkMode), this.primaryTextColor = $(this.primaryColor), this.secondaryTextColor = $(this.secondaryColor), this.tertiaryTextColor = $(this.tertiaryColor), this.lineColor = $(this.background), this.textColor = $(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = W($("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#81B1DB", this.border2 = pr(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = G("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = G(this.sectionBkgColor, 10), this.taskBorderColor = pr(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = pr(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
|
|
4875
4875
|
}
|
|
4876
4876
|
updateColors() {
|
|
4877
|
-
var e, n, r, i, o, a, l, s, u,
|
|
4877
|
+
var e, n, r, i, o, a, l, s, u, c, h;
|
|
4878
4878
|
this.secondBkg = W(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = W(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.mainContrastColor, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = W(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = this.darkTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = _(this.primaryColor, { h: 64 }), this.fillType3 = _(this.secondaryColor, { h: 64 }), this.fillType4 = _(this.primaryColor, { h: -64 }), this.fillType5 = _(this.secondaryColor, { h: -64 }), this.fillType6 = _(this.primaryColor, { h: 128 }), this.fillType7 = _(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || _(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || _(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || _(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || _(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || _(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || _(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || _(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || _(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || _(this.primaryColor, { h: 330 });
|
|
4879
4879
|
for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
|
|
4880
4880
|
this["cScaleInv" + f] = this["cScaleInv" + f] || $(this["cScale" + f]);
|
|
@@ -4897,8 +4897,8 @@ let WC = class {
|
|
|
4897
4897
|
yAxisTitleColor: ((l = this.xyChart) == null ? void 0 : l.yAxisTitleColor) || this.primaryTextColor,
|
|
4898
4898
|
yAxisLabelColor: ((s = this.xyChart) == null ? void 0 : s.yAxisLabelColor) || this.primaryTextColor,
|
|
4899
4899
|
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
4900
|
-
yAxisLineColor: ((
|
|
4901
|
-
plotColorPalette: ((
|
|
4900
|
+
yAxisLineColor: ((c = this.xyChart) == null ? void 0 : c.yAxisLineColor) || this.primaryTextColor,
|
|
4901
|
+
plotColorPalette: ((h = this.xyChart) == null ? void 0 : h.plotColorPalette) || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
4902
4902
|
}, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? G(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = W(this.secondaryColor, 20), this.git1 = W(this.pie2 || this.secondaryColor, 20), this.git2 = W(this.pie3 || this.tertiaryColor, 20), this.git3 = W(this.pie4 || _(this.primaryColor, { h: -30 }), 20), this.git4 = W(this.pie5 || _(this.primaryColor, { h: -60 }), 20), this.git5 = W(this.pie6 || _(this.primaryColor, { h: -90 }), 10), this.git6 = W(this.pie7 || _(this.primaryColor, { h: 60 }), 10), this.git7 = W(this.pie8 || _(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || $(this.git0), this.gitInv1 = this.gitInv1 || $(this.git1), this.gitInv2 = this.gitInv2 || $(this.git2), this.gitInv3 = this.gitInv3 || $(this.git3), this.gitInv4 = this.gitInv4 || $(this.git4), this.gitInv5 = this.gitInv5 || $(this.git5), this.gitInv6 = this.gitInv6 || $(this.git6), this.gitInv7 = this.gitInv7 || $(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || $(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || $(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || W(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || W(this.background, 2);
|
|
4903
4903
|
}
|
|
4904
4904
|
calculate(e) {
|
|
@@ -4923,7 +4923,7 @@ let VC = class {
|
|
|
4923
4923
|
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = _(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = _(this.primaryColor, { h: -160 }), this.primaryBorderColor = Pt(this.primaryColor, this.darkMode), this.secondaryBorderColor = Pt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Pt(this.tertiaryColor, this.darkMode), this.primaryTextColor = $(this.primaryColor), this.secondaryTextColor = $(this.secondaryColor), this.tertiaryTextColor = $(this.tertiaryColor), this.lineColor = $(this.background), this.textColor = $(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#e8e8e8", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.sectionBkgColor = pr(102, 102, 255, 0.49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.updateColors();
|
|
4924
4924
|
}
|
|
4925
4925
|
updateColors() {
|
|
4926
|
-
var e, n, r, i, o, a, l, s, u,
|
|
4926
|
+
var e, n, r, i, o, a, l, s, u, c, h;
|
|
4927
4927
|
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || _(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || _(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || _(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || _(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || _(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || _(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || _(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || _(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || _(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || G(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || G(this.tertiaryColor, 40);
|
|
4928
4928
|
for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
|
|
4929
4929
|
this["cScale" + f] = G(this["cScale" + f], 10), this["cScalePeer" + f] = this["cScalePeer" + f] || G(this["cScale" + f], 25);
|
|
@@ -4946,8 +4946,8 @@ let VC = class {
|
|
|
4946
4946
|
yAxisTitleColor: ((l = this.xyChart) == null ? void 0 : l.yAxisTitleColor) || this.primaryTextColor,
|
|
4947
4947
|
yAxisLabelColor: ((s = this.xyChart) == null ? void 0 : s.yAxisLabelColor) || this.primaryTextColor,
|
|
4948
4948
|
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
4949
|
-
yAxisLineColor: ((
|
|
4950
|
-
plotColorPalette: ((
|
|
4949
|
+
yAxisLineColor: ((c = this.xyChart) == null ? void 0 : c.yAxisLineColor) || this.primaryTextColor,
|
|
4950
|
+
plotColorPalette: ((h = this.xyChart) == null ? void 0 : h.plotColorPalette) || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
4951
4951
|
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || _(this.primaryColor, { h: -30 }), this.git4 = this.git4 || _(this.primaryColor, { h: -60 }), this.git5 = this.git5 || _(this.primaryColor, { h: -90 }), this.git6 = this.git6 || _(this.primaryColor, { h: 60 }), this.git7 = this.git7 || _(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = W(this.git0, 25), this.git1 = W(this.git1, 25), this.git2 = W(this.git2, 25), this.git3 = W(this.git3, 25), this.git4 = W(this.git4, 25), this.git5 = W(this.git5, 25), this.git6 = W(this.git6, 25), this.git7 = W(this.git7, 25)) : (this.git0 = G(this.git0, 25), this.git1 = G(this.git1, 25), this.git2 = G(this.git2, 25), this.git3 = G(this.git3, 25), this.git4 = G(this.git4, 25), this.git5 = G(this.git5, 25), this.git6 = G(this.git6, 25), this.git7 = G(this.git7, 25)), this.gitInv0 = this.gitInv0 || G($(this.git0), 25), this.gitInv1 = this.gitInv1 || $(this.git1), this.gitInv2 = this.gitInv2 || $(this.git2), this.gitInv3 = this.gitInv3 || $(this.git3), this.gitInv4 = this.gitInv4 || $(this.git4), this.gitInv5 = this.gitInv5 || $(this.git5), this.gitInv6 = this.gitInv6 || $(this.git6), this.gitInv7 = this.gitInv7 || $(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || $(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || $(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || ro, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || io;
|
|
4952
4952
|
}
|
|
4953
4953
|
calculate(e) {
|
|
@@ -4972,7 +4972,7 @@ let GC = class {
|
|
|
4972
4972
|
this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = W("#cde498", 10), this.primaryBorderColor = Pt(this.primaryColor, this.darkMode), this.secondaryBorderColor = Pt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Pt(this.tertiaryColor, this.darkMode), this.primaryTextColor = $(this.primaryColor), this.secondaryTextColor = $(this.secondaryColor), this.tertiaryTextColor = $(this.primaryColor), this.lineColor = $(this.background), this.textColor = $(this.background), this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
4973
4973
|
}
|
|
4974
4974
|
updateColors() {
|
|
4975
|
-
var e, n, r, i, o, a, l, s, u,
|
|
4975
|
+
var e, n, r, i, o, a, l, s, u, c, h;
|
|
4976
4976
|
this.actorBorder = G(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || _(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || _(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || _(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || _(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || _(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || _(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || _(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || _(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || _(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || G(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || G(this.tertiaryColor, 40);
|
|
4977
4977
|
for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
|
|
4978
4978
|
this["cScale" + f] = G(this["cScale" + f], 10), this["cScalePeer" + f] = this["cScalePeer" + f] || G(this["cScale" + f], 25);
|
|
@@ -4993,8 +4993,8 @@ let GC = class {
|
|
|
4993
4993
|
yAxisTitleColor: ((l = this.xyChart) == null ? void 0 : l.yAxisTitleColor) || this.primaryTextColor,
|
|
4994
4994
|
yAxisLabelColor: ((s = this.xyChart) == null ? void 0 : s.yAxisLabelColor) || this.primaryTextColor,
|
|
4995
4995
|
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
4996
|
-
yAxisLineColor: ((
|
|
4997
|
-
plotColorPalette: ((
|
|
4996
|
+
yAxisLineColor: ((c = this.xyChart) == null ? void 0 : c.yAxisLineColor) || this.primaryTextColor,
|
|
4997
|
+
plotColorPalette: ((h = this.xyChart) == null ? void 0 : h.plotColorPalette) || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
4998
4998
|
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || _(this.primaryColor, { h: -30 }), this.git4 = this.git4 || _(this.primaryColor, { h: -60 }), this.git5 = this.git5 || _(this.primaryColor, { h: -90 }), this.git6 = this.git6 || _(this.primaryColor, { h: 60 }), this.git7 = this.git7 || _(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = W(this.git0, 25), this.git1 = W(this.git1, 25), this.git2 = W(this.git2, 25), this.git3 = W(this.git3, 25), this.git4 = W(this.git4, 25), this.git5 = W(this.git5, 25), this.git6 = W(this.git6, 25), this.git7 = W(this.git7, 25)) : (this.git0 = G(this.git0, 25), this.git1 = G(this.git1, 25), this.git2 = G(this.git2, 25), this.git3 = G(this.git3, 25), this.git4 = G(this.git4, 25), this.git5 = G(this.git5, 25), this.git6 = G(this.git6, 25), this.git7 = G(this.git7, 25)), this.gitInv0 = this.gitInv0 || $(this.git0), this.gitInv1 = this.gitInv1 || $(this.git1), this.gitInv2 = this.gitInv2 || $(this.git2), this.gitInv3 = this.gitInv3 || $(this.git3), this.gitInv4 = this.gitInv4 || $(this.git4), this.gitInv5 = this.gitInv5 || $(this.git5), this.gitInv6 = this.gitInv6 || $(this.git6), this.gitInv7 = this.gitInv7 || $(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || $(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || $(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || ro, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || io;
|
|
4999
4999
|
}
|
|
5000
5000
|
calculate(e) {
|
|
@@ -5019,7 +5019,7 @@ class KC {
|
|
|
5019
5019
|
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = W(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = _(this.primaryColor, { h: -160 }), this.primaryBorderColor = Pt(this.primaryColor, this.darkMode), this.secondaryBorderColor = Pt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Pt(this.tertiaryColor, this.darkMode), this.primaryTextColor = $(this.primaryColor), this.secondaryTextColor = $(this.secondaryColor), this.tertiaryTextColor = $(this.tertiaryColor), this.lineColor = $(this.background), this.textColor = $(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
5020
5020
|
}
|
|
5021
5021
|
updateColors() {
|
|
5022
|
-
var e, n, r, i, o, a, l, s, u,
|
|
5022
|
+
var e, n, r, i, o, a, l, s, u, c, h;
|
|
5023
5023
|
this.secondBkg = W(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = W(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.lineColor, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
|
|
5024
5024
|
for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
|
|
5025
5025
|
this["cScaleInv" + f] = this["cScaleInv" + f] || $(this["cScale" + f]);
|
|
@@ -5043,8 +5043,8 @@ class KC {
|
|
|
5043
5043
|
yAxisTitleColor: ((l = this.xyChart) == null ? void 0 : l.yAxisTitleColor) || this.primaryTextColor,
|
|
5044
5044
|
yAxisLabelColor: ((s = this.xyChart) == null ? void 0 : s.yAxisLabelColor) || this.primaryTextColor,
|
|
5045
5045
|
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
5046
|
-
yAxisLineColor: ((
|
|
5047
|
-
plotColorPalette: ((
|
|
5046
|
+
yAxisLineColor: ((c = this.xyChart) == null ? void 0 : c.yAxisLineColor) || this.primaryTextColor,
|
|
5047
|
+
plotColorPalette: ((h = this.xyChart) == null ? void 0 : h.plotColorPalette) || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
5048
5048
|
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = G(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || _(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || _(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || _(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || _(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || _(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || $(this.git0), this.gitInv1 = this.gitInv1 || $(this.git1), this.gitInv2 = this.gitInv2 || $(this.git2), this.gitInv3 = this.gitInv3 || $(this.git3), this.gitInv4 = this.gitInv4 || $(this.git4), this.gitInv5 = this.gitInv5 || $(this.git5), this.gitInv6 = this.gitInv6 || $(this.git6), this.gitInv7 = this.gitInv7 || $(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || ro, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || io;
|
|
5049
5049
|
}
|
|
5050
5050
|
calculate(e) {
|
|
@@ -6006,7 +6006,7 @@ const b1 = (t) => x1(t.length), C1 = function() {
|
|
|
6006
6006
|
return i.forEach((l, s) => {
|
|
6007
6007
|
const u = `${a}${l}`;
|
|
6008
6008
|
if (Bi(u, r) >= e) {
|
|
6009
|
-
const
|
|
6009
|
+
const h = s + 1, f = i.length === h, d = `${u}${n}`;
|
|
6010
6010
|
o.push(f ? u : d), a = "";
|
|
6011
6011
|
} else
|
|
6012
6012
|
a = u;
|
|
@@ -6028,23 +6028,23 @@ const cl = $r(
|
|
|
6028
6028
|
const [, o] = hl(n), a = ["sans-serif", r], l = t.split(sl.lineBreakRegex), s = [], u = Zt("body");
|
|
6029
6029
|
if (!u.remove)
|
|
6030
6030
|
return { width: 0, height: 0, lineHeight: 0 };
|
|
6031
|
-
const
|
|
6031
|
+
const c = u.append("svg");
|
|
6032
6032
|
for (const f of a) {
|
|
6033
6033
|
let d = 0;
|
|
6034
6034
|
const p = { width: 0, height: 0, lineHeight: 0 };
|
|
6035
6035
|
for (const b of l) {
|
|
6036
6036
|
const C = C1();
|
|
6037
6037
|
C.text = b || r1;
|
|
6038
|
-
const x = _1(
|
|
6038
|
+
const x = _1(c, C).style("font-size", o).style("font-weight", i).style("font-family", f), k = (x._groups || x)[0][0].getBBox();
|
|
6039
6039
|
if (k.width === 0 && k.height === 0)
|
|
6040
6040
|
throw new Error("svg element not in render tree");
|
|
6041
6041
|
p.width = Math.round(Math.max(p.width, k.width)), d = Math.round(k.height), p.height += d, p.lineHeight = Math.round(Math.max(p.lineHeight, d));
|
|
6042
6042
|
}
|
|
6043
6043
|
s.push(p);
|
|
6044
6044
|
}
|
|
6045
|
-
|
|
6046
|
-
const
|
|
6047
|
-
return s[
|
|
6045
|
+
c.remove();
|
|
6046
|
+
const h = isNaN(s[1].height) || isNaN(s[1].width) || isNaN(s[1].lineHeight) || s[0].height > s[1].height && s[0].width > s[1].width && s[0].lineHeight > s[1].lineHeight ? 0 : 1;
|
|
6047
|
+
return s[h];
|
|
6048
6048
|
},
|
|
6049
6049
|
(t, e) => `${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`
|
|
6050
6050
|
);
|
|
@@ -6145,7 +6145,7 @@ const ao = (t, e) => {
|
|
|
6145
6145
|
}, Xh = (t) => {
|
|
6146
6146
|
t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && D1("LAZY_LOAD_DEPRECATED");
|
|
6147
6147
|
}, Kh = "c4", P1 = (t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), $1 = async () => {
|
|
6148
|
-
const { diagram: t } = await import("./c4Diagram-c83219d4-
|
|
6148
|
+
const { diagram: t } = await import("./c4Diagram-c83219d4-ZsHt3LPy.mjs");
|
|
6149
6149
|
return { id: Kh, diagram: t };
|
|
6150
6150
|
}, R1 = {
|
|
6151
6151
|
id: Kh,
|
|
@@ -6155,7 +6155,7 @@ const ao = (t, e) => {
|
|
|
6155
6155
|
var n, r;
|
|
6156
6156
|
return ((n = e?.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" || ((r = e?.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t);
|
|
6157
6157
|
}, q1 = async () => {
|
|
6158
|
-
const { diagram: t } = await import("./flowDiagram-50d868cf-
|
|
6158
|
+
const { diagram: t } = await import("./flowDiagram-50d868cf-BeMmTgQF.mjs");
|
|
6159
6159
|
return { id: Jh, diagram: t };
|
|
6160
6160
|
}, j1 = {
|
|
6161
6161
|
id: Jh,
|
|
@@ -6165,70 +6165,70 @@ const ao = (t, e) => {
|
|
|
6165
6165
|
var n, r, i;
|
|
6166
6166
|
return ((n = e?.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-d3" || ((r = e?.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t) && ((i = e?.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t);
|
|
6167
6167
|
}, U1 = async () => {
|
|
6168
|
-
const { diagram: t } = await import("./flowDiagram-v2-4f6560a1-
|
|
6168
|
+
const { diagram: t } = await import("./flowDiagram-v2-4f6560a1-2ufFevZx.mjs");
|
|
6169
6169
|
return { id: Zh, diagram: t };
|
|
6170
6170
|
}, V1 = {
|
|
6171
6171
|
id: Zh,
|
|
6172
6172
|
detector: W1,
|
|
6173
6173
|
loader: U1
|
|
6174
6174
|
}, Y1 = V1, Qh = "er", G1 = (t) => /^\s*erDiagram/.test(t), X1 = async () => {
|
|
6175
|
-
const { diagram: t } = await import("./erDiagram-0228fc6a-
|
|
6175
|
+
const { diagram: t } = await import("./erDiagram-0228fc6a-DFl4DAxb.mjs");
|
|
6176
6176
|
return { id: Qh, diagram: t };
|
|
6177
6177
|
}, K1 = {
|
|
6178
6178
|
id: Qh,
|
|
6179
6179
|
detector: G1,
|
|
6180
6180
|
loader: X1
|
|
6181
6181
|
}, J1 = K1, tf = "gitGraph", Z1 = (t) => /^\s*gitGraph/.test(t), Q1 = async () => {
|
|
6182
|
-
const { diagram: t } = await import("./gitGraphDiagram-82fe8481-
|
|
6182
|
+
const { diagram: t } = await import("./gitGraphDiagram-82fe8481-DJ5BhPTN.mjs");
|
|
6183
6183
|
return { id: tf, diagram: t };
|
|
6184
6184
|
}, t_ = {
|
|
6185
6185
|
id: tf,
|
|
6186
6186
|
detector: Z1,
|
|
6187
6187
|
loader: Q1
|
|
6188
6188
|
}, e_ = t_, ef = "gantt", n_ = (t) => /^\s*gantt/.test(t), r_ = async () => {
|
|
6189
|
-
const { diagram: t } = await import("./ganttDiagram-a2739b55-
|
|
6189
|
+
const { diagram: t } = await import("./ganttDiagram-a2739b55-BKdrG2Ob.mjs");
|
|
6190
6190
|
return { id: ef, diagram: t };
|
|
6191
6191
|
}, i_ = {
|
|
6192
6192
|
id: ef,
|
|
6193
6193
|
detector: n_,
|
|
6194
6194
|
loader: r_
|
|
6195
6195
|
}, o_ = i_, nf = "info", a_ = (t) => /^\s*info/.test(t), l_ = async () => {
|
|
6196
|
-
const { diagram: t } = await import("./infoDiagram-8eee0895-
|
|
6196
|
+
const { diagram: t } = await import("./infoDiagram-8eee0895-BUJTJ0Ub.mjs");
|
|
6197
6197
|
return { id: nf, diagram: t };
|
|
6198
6198
|
}, s_ = {
|
|
6199
6199
|
id: nf,
|
|
6200
6200
|
detector: a_,
|
|
6201
6201
|
loader: l_
|
|
6202
6202
|
}, rf = "pie", u_ = (t) => /^\s*pie/.test(t), c_ = async () => {
|
|
6203
|
-
const { diagram: t } = await import("./pieDiagram-a8764435-
|
|
6203
|
+
const { diagram: t } = await import("./pieDiagram-a8764435-ChIm4Jde.mjs");
|
|
6204
6204
|
return { id: rf, diagram: t };
|
|
6205
6205
|
}, h_ = {
|
|
6206
6206
|
id: rf,
|
|
6207
6207
|
detector: u_,
|
|
6208
6208
|
loader: c_
|
|
6209
6209
|
}, of = "quadrantChart", f_ = (t) => /^\s*quadrantChart/.test(t), d_ = async () => {
|
|
6210
|
-
const { diagram: t } = await import("./quadrantDiagram-1e28029f-
|
|
6210
|
+
const { diagram: t } = await import("./quadrantDiagram-1e28029f-DFLPz7rq.mjs");
|
|
6211
6211
|
return { id: of, diagram: t };
|
|
6212
6212
|
}, p_ = {
|
|
6213
6213
|
id: of,
|
|
6214
6214
|
detector: f_,
|
|
6215
6215
|
loader: d_
|
|
6216
6216
|
}, g_ = p_, af = "xychart", m_ = (t) => /^\s*xychart-beta/.test(t), y_ = async () => {
|
|
6217
|
-
const { diagram: t } = await import("./xychartDiagram-f5964ef8-
|
|
6217
|
+
const { diagram: t } = await import("./xychartDiagram-f5964ef8-njygMMD_.mjs");
|
|
6218
6218
|
return { id: af, diagram: t };
|
|
6219
6219
|
}, x_ = {
|
|
6220
6220
|
id: af,
|
|
6221
6221
|
detector: m_,
|
|
6222
6222
|
loader: y_
|
|
6223
6223
|
}, b_ = x_, lf = "requirement", C_ = (t) => /^\s*requirement(Diagram)?/.test(t), __ = async () => {
|
|
6224
|
-
const { diagram: t } = await import("./requirementDiagram-08caed73-
|
|
6224
|
+
const { diagram: t } = await import("./requirementDiagram-08caed73-CCC5UtJ_.mjs");
|
|
6225
6225
|
return { id: lf, diagram: t };
|
|
6226
6226
|
}, k_ = {
|
|
6227
6227
|
id: lf,
|
|
6228
6228
|
detector: C_,
|
|
6229
6229
|
loader: __
|
|
6230
6230
|
}, w_ = k_, sf = "sequence", T_ = (t) => /^\s*sequenceDiagram/.test(t), S_ = async () => {
|
|
6231
|
-
const { diagram: t } = await import("./sequenceDiagram-c5b8d532-
|
|
6231
|
+
const { diagram: t } = await import("./sequenceDiagram-c5b8d532-DfyYJZ9x.mjs");
|
|
6232
6232
|
return { id: sf, diagram: t };
|
|
6233
6233
|
}, v_ = {
|
|
6234
6234
|
id: sf,
|
|
@@ -6238,7 +6238,7 @@ const ao = (t, e) => {
|
|
|
6238
6238
|
var n;
|
|
6239
6239
|
return ((n = e?.class) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
|
|
6240
6240
|
}, L_ = async () => {
|
|
6241
|
-
const { diagram: t } = await import("./classDiagram-beda092f-
|
|
6241
|
+
const { diagram: t } = await import("./classDiagram-beda092f-BWoUP9jt.mjs");
|
|
6242
6242
|
return { id: uf, diagram: t };
|
|
6243
6243
|
}, F_ = {
|
|
6244
6244
|
id: uf,
|
|
@@ -6248,7 +6248,7 @@ const ao = (t, e) => {
|
|
|
6248
6248
|
var n;
|
|
6249
6249
|
return /^\s*classDiagram/.test(t) && ((n = e?.class) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t);
|
|
6250
6250
|
}, M_ = async () => {
|
|
6251
|
-
const { diagram: t } = await import("./classDiagram-v2-2358418a-
|
|
6251
|
+
const { diagram: t } = await import("./classDiagram-v2-2358418a-DOkIM90L.mjs");
|
|
6252
6252
|
return { id: cf, diagram: t };
|
|
6253
6253
|
}, O_ = {
|
|
6254
6254
|
id: cf,
|
|
@@ -6258,7 +6258,7 @@ const ao = (t, e) => {
|
|
|
6258
6258
|
var n;
|
|
6259
6259
|
return ((n = e?.state) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
|
|
6260
6260
|
}, $_ = async () => {
|
|
6261
|
-
const { diagram: t } = await import("./stateDiagram-1ecb1508-
|
|
6261
|
+
const { diagram: t } = await import("./stateDiagram-1ecb1508-Cpt4NJFu.mjs");
|
|
6262
6262
|
return { id: hf, diagram: t };
|
|
6263
6263
|
}, R_ = {
|
|
6264
6264
|
id: hf,
|
|
@@ -6268,14 +6268,14 @@ const ao = (t, e) => {
|
|
|
6268
6268
|
var n;
|
|
6269
6269
|
return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((n = e?.state) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper");
|
|
6270
6270
|
}, q_ = async () => {
|
|
6271
|
-
const { diagram: t } = await import("./stateDiagram-v2-c2b004d7-
|
|
6271
|
+
const { diagram: t } = await import("./stateDiagram-v2-c2b004d7-BBsfF4nx.mjs");
|
|
6272
6272
|
return { id: ff, diagram: t };
|
|
6273
6273
|
}, j_ = {
|
|
6274
6274
|
id: ff,
|
|
6275
6275
|
detector: N_,
|
|
6276
6276
|
loader: q_
|
|
6277
6277
|
}, H_ = j_, df = "journey", W_ = (t) => /^\s*journey/.test(t), U_ = async () => {
|
|
6278
|
-
const { diagram: t } = await import("./journeyDiagram-c64418c1-
|
|
6278
|
+
const { diagram: t } = await import("./journeyDiagram-c64418c1-C4M9O44H.mjs");
|
|
6279
6279
|
return { id: df, diagram: t };
|
|
6280
6280
|
}, V_ = {
|
|
6281
6281
|
id: df,
|
|
@@ -6444,35 +6444,35 @@ const pk = (t) => {
|
|
|
6444
6444
|
/^\s*flowchart|graph/.test(t) && ((n = e?.flowchart) == null ? void 0 : n.defaultRenderer) === "elk")
|
|
6445
6445
|
);
|
|
6446
6446
|
}, Ck = async () => {
|
|
6447
|
-
const { diagram: t } = await import("./flowchart-elk-definition-6af322e1-
|
|
6447
|
+
const { diagram: t } = await import("./flowchart-elk-definition-6af322e1-CWV2S2Ol.mjs");
|
|
6448
6448
|
return { id: mf, diagram: t };
|
|
6449
6449
|
}, _k = {
|
|
6450
6450
|
id: mf,
|
|
6451
6451
|
detector: bk,
|
|
6452
6452
|
loader: Ck
|
|
6453
6453
|
}, kk = _k, yf = "timeline", wk = (t) => /^\s*timeline/.test(t), Tk = async () => {
|
|
6454
|
-
const { diagram: t } = await import("./timeline-definition-faaaa080-
|
|
6454
|
+
const { diagram: t } = await import("./timeline-definition-faaaa080-aMyalBdM.mjs");
|
|
6455
6455
|
return { id: yf, diagram: t };
|
|
6456
6456
|
}, Sk = {
|
|
6457
6457
|
id: yf,
|
|
6458
6458
|
detector: wk,
|
|
6459
6459
|
loader: Tk
|
|
6460
6460
|
}, vk = Sk, xf = "mindmap", Ak = (t) => /^\s*mindmap/.test(t), Ek = async () => {
|
|
6461
|
-
const { diagram: t } = await import("./mindmap-definition-8da855dc-
|
|
6461
|
+
const { diagram: t } = await import("./mindmap-definition-8da855dc-C593bSOa.mjs");
|
|
6462
6462
|
return { id: xf, diagram: t };
|
|
6463
6463
|
}, Lk = {
|
|
6464
6464
|
id: xf,
|
|
6465
6465
|
detector: Ak,
|
|
6466
6466
|
loader: Ek
|
|
6467
6467
|
}, Fk = Lk, bf = "sankey", Bk = (t) => /^\s*sankey-beta/.test(t), Ik = async () => {
|
|
6468
|
-
const { diagram: t } = await import("./sankeyDiagram-a04cb91d-
|
|
6468
|
+
const { diagram: t } = await import("./sankeyDiagram-a04cb91d-CS5QJOMA.mjs");
|
|
6469
6469
|
return { id: bf, diagram: t };
|
|
6470
6470
|
}, Mk = {
|
|
6471
6471
|
id: bf,
|
|
6472
6472
|
detector: Bk,
|
|
6473
6473
|
loader: Ik
|
|
6474
6474
|
}, Ok = Mk, Cf = "block", Dk = (t) => /^\s*block-beta/.test(t), Pk = async () => {
|
|
6475
|
-
const { diagram: t } = await import("./blockDiagram-c4efeb88-
|
|
6475
|
+
const { diagram: t } = await import("./blockDiagram-c4efeb88-C_-7Uo_h.mjs");
|
|
6476
6476
|
return { id: Cf, diagram: t };
|
|
6477
6477
|
}, $k = {
|
|
6478
6478
|
id: Cf,
|
|
@@ -6664,26 +6664,26 @@ function nw(t, e) {
|
|
|
6664
6664
|
for (var n = /\r?\n|\r|\0/g, r = [0], i = [], o, a = -1; o = n.exec(t.buffer); )
|
|
6665
6665
|
i.push(o.index), r.push(o.index + o[0].length), t.position <= o.index && a < 0 && (a = r.length - 2);
|
|
6666
6666
|
a < 0 && (a = r.length - 1);
|
|
6667
|
-
var l = "", s, u,
|
|
6667
|
+
var l = "", s, u, c = Math.min(t.line + e.linesAfter, i.length).toString().length, h = e.maxLength - (e.indent + c + 3);
|
|
6668
6668
|
for (s = 1; s <= e.linesBefore && !(a - s < 0); s++)
|
|
6669
6669
|
u = Io(
|
|
6670
6670
|
t.buffer,
|
|
6671
6671
|
r[a - s],
|
|
6672
6672
|
i[a - s],
|
|
6673
6673
|
t.position - (r[a] - r[a - s]),
|
|
6674
|
-
|
|
6675
|
-
), l = Dt.repeat(" ", e.indent) + Mo((t.line - s + 1).toString(),
|
|
6674
|
+
h
|
|
6675
|
+
), l = Dt.repeat(" ", e.indent) + Mo((t.line - s + 1).toString(), c) + " | " + u.str + `
|
|
6676
6676
|
` + l;
|
|
6677
|
-
for (u = Io(t.buffer, r[a], i[a], t.position,
|
|
6678
|
-
`, l += Dt.repeat("-", e.indent +
|
|
6677
|
+
for (u = Io(t.buffer, r[a], i[a], t.position, h), l += Dt.repeat(" ", e.indent) + Mo((t.line + 1).toString(), c) + " | " + u.str + `
|
|
6678
|
+
`, l += Dt.repeat("-", e.indent + c + 3 + u.pos) + `^
|
|
6679
6679
|
`, s = 1; s <= e.linesAfter && !(a + s >= i.length); s++)
|
|
6680
6680
|
u = Io(
|
|
6681
6681
|
t.buffer,
|
|
6682
6682
|
r[a + s],
|
|
6683
6683
|
i[a + s],
|
|
6684
6684
|
t.position - (r[a] - r[a + s]),
|
|
6685
|
-
|
|
6686
|
-
), l += Dt.repeat(" ", e.indent) + Mo((t.line + s + 1).toString(),
|
|
6685
|
+
h
|
|
6686
|
+
), l += Dt.repeat(" ", e.indent) + Mo((t.line + s + 1).toString(), c) + " | " + u.str + `
|
|
6687
6687
|
`;
|
|
6688
6688
|
return l.replace(/\n$/, "");
|
|
6689
6689
|
}
|
|
@@ -7040,7 +7040,7 @@ function $w(t) {
|
|
|
7040
7040
|
return t === null ? !1 : Sf.exec(t) !== null || vf.exec(t) !== null;
|
|
7041
7041
|
}
|
|
7042
7042
|
function Rw(t) {
|
|
7043
|
-
var e, n, r, i, o, a, l, s = 0, u = null,
|
|
7043
|
+
var e, n, r, i, o, a, l, s = 0, u = null, c, h, f;
|
|
7044
7044
|
if (e = Sf.exec(t), e === null && (e = vf.exec(t)), e === null)
|
|
7045
7045
|
throw new Error("Date resolve error");
|
|
7046
7046
|
if (n = +e[1], r = +e[2] - 1, i = +e[3], !e[4])
|
|
@@ -7050,7 +7050,7 @@ function Rw(t) {
|
|
|
7050
7050
|
s += "0";
|
|
7051
7051
|
s = +s;
|
|
7052
7052
|
}
|
|
7053
|
-
return e[9] && (
|
|
7053
|
+
return e[9] && (c = +e[10], h = +(e[11] || 0), u = (c * 60 + h) * 6e4, e[9] === "-" && (u = -u)), f = new Date(Date.UTC(n, r, i, o, a, l, s)), u && f.setTime(f.getTime() - u), f;
|
|
7054
7054
|
}
|
|
7055
7055
|
function zw(t) {
|
|
7056
7056
|
return t.toISOString();
|
|
@@ -7276,13 +7276,13 @@ function pu(t, e, n, r) {
|
|
|
7276
7276
|
o = i[a], Ue.call(e, o) || (e[o] = n[o], r[o] = !0);
|
|
7277
7277
|
}
|
|
7278
7278
|
function vn(t, e, n, r, i, o, a, l, s) {
|
|
7279
|
-
var u,
|
|
7279
|
+
var u, c;
|
|
7280
7280
|
if (Array.isArray(i))
|
|
7281
|
-
for (i = Array.prototype.slice.call(i), u = 0,
|
|
7281
|
+
for (i = Array.prototype.slice.call(i), u = 0, c = i.length; u < c; u += 1)
|
|
7282
7282
|
Array.isArray(i[u]) && U(t, "nested arrays are not supported inside keys"), typeof i == "object" && hu(i[u]) === "[object Object]" && (i[u] = "[object Object]");
|
|
7283
7283
|
if (typeof i == "object" && hu(i) === "[object Object]" && (i = "[object Object]"), i = String(i), e === null && (e = {}), r === "tag:yaml.org,2002:merge")
|
|
7284
7284
|
if (Array.isArray(o))
|
|
7285
|
-
for (u = 0,
|
|
7285
|
+
for (u = 0, c = o.length; u < c; u += 1)
|
|
7286
7286
|
pu(t, e, o[u], n);
|
|
7287
7287
|
else
|
|
7288
7288
|
pu(t, e, o, n);
|
|
@@ -7324,7 +7324,7 @@ function _l(t, e) {
|
|
|
7324
7324
|
`, e - 1));
|
|
7325
7325
|
}
|
|
7326
7326
|
function yT(t, e, n) {
|
|
7327
|
-
var r, i, o, a, l, s, u,
|
|
7327
|
+
var r, i, o, a, l, s, u, c, h = t.kind, f = t.result, d;
|
|
7328
7328
|
if (d = t.input.charCodeAt(t.position), Wt(d) || Sn(d) || d === 35 || d === 38 || d === 42 || d === 33 || d === 124 || d === 62 || d === 39 || d === 34 || d === 37 || d === 64 || d === 96 || (d === 63 || d === 45) && (i = t.input.charCodeAt(t.position + 1), Wt(i) || n && Sn(i)))
|
|
7329
7329
|
return !1;
|
|
7330
7330
|
for (t.kind = "scalar", t.result = "", o = a = t.position, l = !1; d !== 0; ) {
|
|
@@ -7338,17 +7338,17 @@ function yT(t, e, n) {
|
|
|
7338
7338
|
if (t.position === t.lineStart && lo(t) || n && Sn(d))
|
|
7339
7339
|
break;
|
|
7340
7340
|
if (be(d))
|
|
7341
|
-
if (s = t.line, u = t.lineStart,
|
|
7341
|
+
if (s = t.line, u = t.lineStart, c = t.lineIndent, _t(t, !1, -1), t.lineIndent >= e) {
|
|
7342
7342
|
l = !0, d = t.input.charCodeAt(t.position);
|
|
7343
7343
|
continue;
|
|
7344
7344
|
} else {
|
|
7345
|
-
t.position = a, t.line = s, t.lineStart = u, t.lineIndent =
|
|
7345
|
+
t.position = a, t.line = s, t.lineStart = u, t.lineIndent = c;
|
|
7346
7346
|
break;
|
|
7347
7347
|
}
|
|
7348
7348
|
}
|
|
7349
7349
|
l && (He(t, o, a, !1), _l(t, t.line - s), o = a = t.position, l = !1), on(d) || (a = t.position + 1), d = t.input.charCodeAt(++t.position);
|
|
7350
7350
|
}
|
|
7351
|
-
return He(t, o, a, !1), t.result ? !0 : (t.kind =
|
|
7351
|
+
return He(t, o, a, !1), t.result ? !0 : (t.kind = h, t.result = f, !1);
|
|
7352
7352
|
}
|
|
7353
7353
|
function xT(t, e) {
|
|
7354
7354
|
var n, r, i;
|
|
@@ -7387,48 +7387,48 @@ function bT(t, e) {
|
|
|
7387
7387
|
U(t, "unexpected end of the stream within a double quoted scalar");
|
|
7388
7388
|
}
|
|
7389
7389
|
function CT(t, e) {
|
|
7390
|
-
var n = !0, r, i, o, a = t.tag, l, s = t.anchor, u,
|
|
7390
|
+
var n = !0, r, i, o, a = t.tag, l, s = t.anchor, u, c, h, f, d, p = /* @__PURE__ */ Object.create(null), b, C, x, k;
|
|
7391
7391
|
if (k = t.input.charCodeAt(t.position), k === 91)
|
|
7392
|
-
|
|
7392
|
+
c = 93, d = !1, l = [];
|
|
7393
7393
|
else if (k === 123)
|
|
7394
|
-
|
|
7394
|
+
c = 125, d = !0, l = {};
|
|
7395
7395
|
else
|
|
7396
7396
|
return !1;
|
|
7397
7397
|
for (t.anchor !== null && (t.anchorMap[t.anchor] = l), k = t.input.charCodeAt(++t.position); k !== 0; ) {
|
|
7398
|
-
if (_t(t, !0, e), k = t.input.charCodeAt(t.position), k ===
|
|
7398
|
+
if (_t(t, !0, e), k = t.input.charCodeAt(t.position), k === c)
|
|
7399
7399
|
return t.position++, t.tag = a, t.anchor = s, t.kind = d ? "mapping" : "sequence", t.result = l, !0;
|
|
7400
|
-
n ? k === 44 && U(t, "expected the node content, but found ','") : U(t, "missed comma between flow collection entries"), C = b = x = null,
|
|
7400
|
+
n ? k === 44 && U(t, "expected the node content, but found ','") : U(t, "missed comma between flow collection entries"), C = b = x = null, h = f = !1, k === 63 && (u = t.input.charCodeAt(t.position + 1), Wt(u) && (h = f = !0, t.position++, _t(t, !0, e))), r = t.line, i = t.lineStart, o = t.position, qn(t, e, Di, !1, !0), C = t.tag, b = t.result, _t(t, !0, e), k = t.input.charCodeAt(t.position), (f || t.line === r) && k === 58 && (h = !0, k = t.input.charCodeAt(++t.position), _t(t, !0, e), qn(t, e, Di, !1, !0), x = t.result), d ? vn(t, l, p, C, b, x, r, i, o) : h ? l.push(vn(t, null, p, C, b, x, r, i, o)) : l.push(b), _t(t, !0, e), k = t.input.charCodeAt(t.position), k === 44 ? (n = !0, k = t.input.charCodeAt(++t.position)) : n = !1;
|
|
7401
7401
|
}
|
|
7402
7402
|
U(t, "unexpected end of the stream within a flow collection");
|
|
7403
7403
|
}
|
|
7404
7404
|
function _T(t, e) {
|
|
7405
|
-
var n, r, i = Oo, o = !1, a = !1, l = e, s = 0, u = !1,
|
|
7406
|
-
if (
|
|
7405
|
+
var n, r, i = Oo, o = !1, a = !1, l = e, s = 0, u = !1, c, h;
|
|
7406
|
+
if (h = t.input.charCodeAt(t.position), h === 124)
|
|
7407
7407
|
r = !1;
|
|
7408
|
-
else if (
|
|
7408
|
+
else if (h === 62)
|
|
7409
7409
|
r = !0;
|
|
7410
7410
|
else
|
|
7411
7411
|
return !1;
|
|
7412
|
-
for (t.kind = "scalar", t.result = "";
|
|
7413
|
-
if (
|
|
7414
|
-
Oo === i ? i =
|
|
7415
|
-
else if ((
|
|
7416
|
-
|
|
7412
|
+
for (t.kind = "scalar", t.result = ""; h !== 0; )
|
|
7413
|
+
if (h = t.input.charCodeAt(++t.position), h === 43 || h === 45)
|
|
7414
|
+
Oo === i ? i = h === 43 ? cu : sT : U(t, "repeat of a chomping mode identifier");
|
|
7415
|
+
else if ((c = pT(h)) >= 0)
|
|
7416
|
+
c === 0 ? U(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? U(t, "repeat of an indentation width identifier") : (l = e + c - 1, a = !0);
|
|
7417
7417
|
else
|
|
7418
7418
|
break;
|
|
7419
|
-
if (on(
|
|
7419
|
+
if (on(h)) {
|
|
7420
7420
|
do
|
|
7421
|
-
|
|
7422
|
-
while (on(
|
|
7423
|
-
if (
|
|
7421
|
+
h = t.input.charCodeAt(++t.position);
|
|
7422
|
+
while (on(h));
|
|
7423
|
+
if (h === 35)
|
|
7424
7424
|
do
|
|
7425
|
-
|
|
7426
|
-
while (!be(
|
|
7425
|
+
h = t.input.charCodeAt(++t.position);
|
|
7426
|
+
while (!be(h) && h !== 0);
|
|
7427
7427
|
}
|
|
7428
|
-
for (;
|
|
7429
|
-
for (Cl(t), t.lineIndent = 0,
|
|
7430
|
-
t.lineIndent++,
|
|
7431
|
-
if (!a && t.lineIndent > l && (l = t.lineIndent), be(
|
|
7428
|
+
for (; h !== 0; ) {
|
|
7429
|
+
for (Cl(t), t.lineIndent = 0, h = t.input.charCodeAt(t.position); (!a || t.lineIndent < l) && h === 32; )
|
|
7430
|
+
t.lineIndent++, h = t.input.charCodeAt(++t.position);
|
|
7431
|
+
if (!a && t.lineIndent > l && (l = t.lineIndent), be(h)) {
|
|
7432
7432
|
s++;
|
|
7433
7433
|
continue;
|
|
7434
7434
|
}
|
|
@@ -7438,12 +7438,12 @@ function _T(t, e) {
|
|
|
7438
7438
|
`);
|
|
7439
7439
|
break;
|
|
7440
7440
|
}
|
|
7441
|
-
for (r ? on(
|
|
7441
|
+
for (r ? on(h) ? (u = !0, t.result += Dt.repeat(`
|
|
7442
7442
|
`, o ? 1 + s : s)) : u ? (u = !1, t.result += Dt.repeat(`
|
|
7443
7443
|
`, s + 1)) : s === 0 ? o && (t.result += " ") : t.result += Dt.repeat(`
|
|
7444
7444
|
`, s) : t.result += Dt.repeat(`
|
|
7445
|
-
`, o ? 1 + s : s), o = !0, a = !0, s = 0, n = t.position; !be(
|
|
7446
|
-
|
|
7445
|
+
`, o ? 1 + s : s), o = !0, a = !0, s = 0, n = t.position; !be(h) && h !== 0; )
|
|
7446
|
+
h = t.input.charCodeAt(++t.position);
|
|
7447
7447
|
He(t, n, t.position, !1);
|
|
7448
7448
|
}
|
|
7449
7449
|
return !0;
|
|
@@ -7465,12 +7465,12 @@ function gu(t, e) {
|
|
|
7465
7465
|
return l ? (t.tag = r, t.anchor = i, t.kind = "sequence", t.result = o, !0) : !1;
|
|
7466
7466
|
}
|
|
7467
7467
|
function kT(t, e, n) {
|
|
7468
|
-
var r, i, o, a, l, s, u = t.tag,
|
|
7468
|
+
var r, i, o, a, l, s, u = t.tag, c = t.anchor, h = {}, f = /* @__PURE__ */ Object.create(null), d = null, p = null, b = null, C = !1, x = !1, k;
|
|
7469
7469
|
if (t.firstTabInLine !== -1)
|
|
7470
7470
|
return !1;
|
|
7471
|
-
for (t.anchor !== null && (t.anchorMap[t.anchor] =
|
|
7471
|
+
for (t.anchor !== null && (t.anchorMap[t.anchor] = h), k = t.input.charCodeAt(t.position); k !== 0; ) {
|
|
7472
7472
|
if (!C && t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, U(t, "tab characters must not be used in indentation")), r = t.input.charCodeAt(t.position + 1), o = t.line, (k === 63 || k === 58) && Wt(r))
|
|
7473
|
-
k === 63 ? (C && (vn(t,
|
|
7473
|
+
k === 63 ? (C && (vn(t, h, f, d, p, null, a, l, s), d = p = b = null), x = !0, C = !0, i = !0) : C ? (C = !1, i = !0) : U(t, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), t.position += 1, k = r;
|
|
7474
7474
|
else {
|
|
7475
7475
|
if (a = t.line, l = t.lineStart, s = t.position, !qn(t, n, Af, !1, !0))
|
|
7476
7476
|
break;
|
|
@@ -7478,22 +7478,22 @@ function kT(t, e, n) {
|
|
|
7478
7478
|
for (k = t.input.charCodeAt(t.position); on(k); )
|
|
7479
7479
|
k = t.input.charCodeAt(++t.position);
|
|
7480
7480
|
if (k === 58)
|
|
7481
|
-
k = t.input.charCodeAt(++t.position), Wt(k) || U(t, "a whitespace character is expected after the key-value separator within a block mapping"), C && (vn(t,
|
|
7481
|
+
k = t.input.charCodeAt(++t.position), Wt(k) || U(t, "a whitespace character is expected after the key-value separator within a block mapping"), C && (vn(t, h, f, d, p, null, a, l, s), d = p = b = null), x = !0, C = !1, i = !1, d = t.tag, p = t.result;
|
|
7482
7482
|
else if (x)
|
|
7483
7483
|
U(t, "can not read an implicit mapping pair; a colon is missed");
|
|
7484
7484
|
else
|
|
7485
|
-
return t.tag = u, t.anchor =
|
|
7485
|
+
return t.tag = u, t.anchor = c, !0;
|
|
7486
7486
|
} else if (x)
|
|
7487
7487
|
U(t, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
7488
7488
|
else
|
|
7489
|
-
return t.tag = u, t.anchor =
|
|
7489
|
+
return t.tag = u, t.anchor = c, !0;
|
|
7490
7490
|
}
|
|
7491
|
-
if ((t.line === o || t.lineIndent > e) && (C && (a = t.line, l = t.lineStart, s = t.position), qn(t, e, Pi, !0, i) && (C ? p = t.result : b = t.result), C || (vn(t,
|
|
7491
|
+
if ((t.line === o || t.lineIndent > e) && (C && (a = t.line, l = t.lineStart, s = t.position), qn(t, e, Pi, !0, i) && (C ? p = t.result : b = t.result), C || (vn(t, h, f, d, p, b, a, l, s), d = p = b = null), _t(t, !0, -1), k = t.input.charCodeAt(t.position)), (t.line === o || t.lineIndent > e) && k !== 0)
|
|
7492
7492
|
U(t, "bad indentation of a mapping entry");
|
|
7493
7493
|
else if (t.lineIndent < e)
|
|
7494
7494
|
break;
|
|
7495
7495
|
}
|
|
7496
|
-
return C && vn(t,
|
|
7496
|
+
return C && vn(t, h, f, d, p, null, a, l, s), x && (t.tag = u, t.anchor = c, t.kind = "mapping", t.result = h), x;
|
|
7497
7497
|
}
|
|
7498
7498
|
function wT(t) {
|
|
7499
7499
|
var e, n = !1, r = !1, i, o, a;
|
|
@@ -7534,15 +7534,15 @@ function ST(t) {
|
|
|
7534
7534
|
return t.position === e && U(t, "name of an alias node must contain at least one character"), n = t.input.slice(e, t.position), Ue.call(t.anchorMap, n) || U(t, 'unidentified alias "' + n + '"'), t.result = t.anchorMap[n], _t(t, !0, -1), !0;
|
|
7535
7535
|
}
|
|
7536
7536
|
function qn(t, e, n, r, i) {
|
|
7537
|
-
var o, a, l, s = 1, u = !1,
|
|
7537
|
+
var o, a, l, s = 1, u = !1, c = !1, h, f, d, p, b, C;
|
|
7538
7538
|
if (t.listener !== null && t.listener("open", t), t.tag = null, t.anchor = null, t.kind = null, t.result = null, o = a = l = Pi === n || Ef === n, r && _t(t, !0, -1) && (u = !0, t.lineIndent > e ? s = 1 : t.lineIndent === e ? s = 0 : t.lineIndent < e && (s = -1)), s === 1)
|
|
7539
7539
|
for (; wT(t) || TT(t); )
|
|
7540
7540
|
_t(t, !0, -1) ? (u = !0, l = o, t.lineIndent > e ? s = 1 : t.lineIndent === e ? s = 0 : t.lineIndent < e && (s = -1)) : l = !1;
|
|
7541
|
-
if (l && (l = u || i), (s === 1 || Pi === n) && (Di === n || Af === n ? b = e : b = e + 1, C = t.position - t.lineStart, s === 1 ? l && (gu(t, C) || kT(t, C, b)) || CT(t, b) ?
|
|
7541
|
+
if (l && (l = u || i), (s === 1 || Pi === n) && (Di === n || Af === n ? b = e : b = e + 1, C = t.position - t.lineStart, s === 1 ? l && (gu(t, C) || kT(t, C, b)) || CT(t, b) ? c = !0 : (a && _T(t, b) || xT(t, b) || bT(t, b) ? c = !0 : ST(t) ? (c = !0, (t.tag !== null || t.anchor !== null) && U(t, "alias node should not have any properties")) : yT(t, b, Di === n) && (c = !0, t.tag === null && (t.tag = "?")), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : s === 0 && (c = l && gu(t, C))), t.tag === null)
|
|
7542
7542
|
t.anchor !== null && (t.anchorMap[t.anchor] = t.result);
|
|
7543
7543
|
else if (t.tag === "?") {
|
|
7544
|
-
for (t.result !== null && t.kind !== "scalar" && U(t, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + t.kind + '"'),
|
|
7545
|
-
if (p = t.implicitTypes[
|
|
7544
|
+
for (t.result !== null && t.kind !== "scalar" && U(t, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + t.kind + '"'), h = 0, f = t.implicitTypes.length; h < f; h += 1)
|
|
7545
|
+
if (p = t.implicitTypes[h], p.resolve(t.result)) {
|
|
7546
7546
|
t.result = p.construct(t.result), t.tag = p.tag, t.anchor !== null && (t.anchorMap[t.anchor] = t.result);
|
|
7547
7547
|
break;
|
|
7548
7548
|
}
|
|
@@ -7550,14 +7550,14 @@ function qn(t, e, n, r, i) {
|
|
|
7550
7550
|
if (Ue.call(t.typeMap[t.kind || "fallback"], t.tag))
|
|
7551
7551
|
p = t.typeMap[t.kind || "fallback"][t.tag];
|
|
7552
7552
|
else
|
|
7553
|
-
for (p = null, d = t.typeMap.multi[t.kind || "fallback"],
|
|
7554
|
-
if (t.tag.slice(0, d[
|
|
7555
|
-
p = d[
|
|
7553
|
+
for (p = null, d = t.typeMap.multi[t.kind || "fallback"], h = 0, f = d.length; h < f; h += 1)
|
|
7554
|
+
if (t.tag.slice(0, d[h].tag.length) === d[h].tag) {
|
|
7555
|
+
p = d[h];
|
|
7556
7556
|
break;
|
|
7557
7557
|
}
|
|
7558
7558
|
p || U(t, "unknown tag !<" + t.tag + ">"), t.result !== null && p.kind !== t.kind && U(t, "unacceptable node kind for !<" + t.tag + '> tag; it should be "' + p.kind + '", not "' + t.kind + '"'), p.resolve(t.result, t.tag) ? (t.result = p.construct(t.result, t.tag), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : U(t, "cannot resolve a node with !<" + t.tag + "> explicit tag");
|
|
7559
7559
|
}
|
|
7560
|
-
return t.listener !== null && t.listener("close", t), t.tag !== null || t.anchor !== null ||
|
|
7560
|
+
return t.listener !== null && t.listener("close", t), t.tag !== null || t.anchor !== null || c;
|
|
7561
7561
|
}
|
|
7562
7562
|
function vT(t) {
|
|
7563
7563
|
var e = t.position, n, r, i, o = !1, a;
|
|
@@ -7680,8 +7680,8 @@ ${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
|
|
|
7680
7680
|
const l = t.htmlLabels || ((n = t.flowchart) == null ? void 0 : n.htmlLabels) ? ["> *", "span"] : ["rect", "polygon", "ellipse", "circle", "path"];
|
|
7681
7681
|
for (const s in e) {
|
|
7682
7682
|
const u = e[s];
|
|
7683
|
-
Bo(u.styles) || l.forEach((
|
|
7684
|
-
r += mu(u.id,
|
|
7683
|
+
Bo(u.styles) || l.forEach((c) => {
|
|
7684
|
+
r += mu(u.id, c, u.styles);
|
|
7685
7685
|
}), Bo(u.textStyles) || (r += mu(u.id, "tspan", u.textStyles));
|
|
7686
7686
|
}
|
|
7687
7687
|
}
|
|
@@ -7718,11 +7718,11 @@ const rS = (t, e, n, r) => {
|
|
|
7718
7718
|
xl();
|
|
7719
7719
|
const u = Df(e);
|
|
7720
7720
|
e = u.code;
|
|
7721
|
-
const
|
|
7722
|
-
Y.debug(
|
|
7723
|
-
const
|
|
7721
|
+
const c = _e();
|
|
7722
|
+
Y.debug(c), e.length > (c?.maxTextSize ?? $T) && (e = RT);
|
|
7723
|
+
const h = "#" + t, f = "i" + t, d = "#" + f, p = "d" + t, b = "#" + p;
|
|
7724
7724
|
let C = Zt("body");
|
|
7725
|
-
const x =
|
|
7725
|
+
const x = c.securityLevel === zT, k = c.securityLevel === NT, v = c.fontFamily;
|
|
7726
7726
|
if (n !== void 0) {
|
|
7727
7727
|
if (n && (n.innerHTML = ""), x) {
|
|
7728
7728
|
const q = xu(Zt(n), f);
|
|
@@ -7744,7 +7744,7 @@ const rS = (t, e, n, r) => {
|
|
|
7744
7744
|
} catch (q) {
|
|
7745
7745
|
M = new _f("error"), R = q;
|
|
7746
7746
|
}
|
|
7747
|
-
const w = C.select(b).node(), P = M.type, X = w.firstChild, tt = X.firstChild, T = (i = (r = M.renderer).getClasses) == null ? void 0 : i.call(r, e, M), L = tS(
|
|
7747
|
+
const w = C.select(b).node(), P = M.type, X = w.firstChild, tt = X.firstChild, T = (i = (r = M.renderer).getClasses) == null ? void 0 : i.call(r, e, M), L = tS(c, P, T, h), N = document.createElement("style");
|
|
7748
7748
|
N.innerHTML = L, X.insertBefore(N, tt);
|
|
7749
7749
|
try {
|
|
7750
7750
|
await M.renderer.draw(e, t, ou, M);
|
|
@@ -7754,7 +7754,7 @@ const rS = (t, e, n, r) => {
|
|
|
7754
7754
|
const nt = C.select(`${b} svg`), F = (a = (o = M.db).getAccTitle) == null ? void 0 : a.call(o), S = (s = (l = M.db).getAccDescription) == null ? void 0 : s.call(l);
|
|
7755
7755
|
aS(P, nt, F, S), C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", HT);
|
|
7756
7756
|
let E = C.select(b).node().innerHTML;
|
|
7757
|
-
if (Y.debug("config.arrowMarkerAbsolute",
|
|
7757
|
+
if (Y.debug("config.arrowMarkerAbsolute", c.arrowMarkerAbsolute), E = eS(E, x, Oh(c.arrowMarkerAbsolute)), x) {
|
|
7758
7758
|
const q = C.select(b + " svg").node();
|
|
7759
7759
|
E = nS(E, q);
|
|
7760
7760
|
} else k || (E = On.sanitize(E, {
|
|
@@ -7866,13 +7866,13 @@ const lS = async () => {
|
|
|
7866
7866
|
s.setAttribute("data-processed", "true");
|
|
7867
7867
|
const u = `mermaid-${o.next()}`;
|
|
7868
7868
|
a = s.innerHTML, a = sp(yr.entityDecode(a)).trim().replace(/<br\s*\/?>/gi, "<br/>");
|
|
7869
|
-
const
|
|
7870
|
-
|
|
7869
|
+
const c = yr.detectInit(a);
|
|
7870
|
+
c && Y.debug("Detected early reinit: ", c);
|
|
7871
7871
|
try {
|
|
7872
|
-
const { svg:
|
|
7873
|
-
s.innerHTML =
|
|
7874
|
-
} catch (
|
|
7875
|
-
sS(
|
|
7872
|
+
const { svg: h, bindFunctions: f } = await Nf(u, a, s);
|
|
7873
|
+
s.innerHTML = h, t && await t(u), f && f(s);
|
|
7874
|
+
} catch (h) {
|
|
7875
|
+
sS(h, l, ne.parseError);
|
|
7876
7876
|
}
|
|
7877
7877
|
}
|
|
7878
7878
|
if (l.length > 0)
|
|
@@ -9141,7 +9141,7 @@ function BS() {
|
|
|
9141
9141
|
if (wu) return $o;
|
|
9142
9142
|
wu = 1;
|
|
9143
9143
|
var t = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, e = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, o = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, a = /^[;\s]*/, l = /^\s+|\s+$/g, s = `
|
|
9144
|
-
`, u = "/",
|
|
9144
|
+
`, u = "/", c = "*", h = "", f = "comment", d = "declaration";
|
|
9145
9145
|
function p(C, x) {
|
|
9146
9146
|
if (typeof C != "string")
|
|
9147
9147
|
throw new TypeError("First argument must be a string");
|
|
@@ -9188,10 +9188,10 @@ function BS() {
|
|
|
9188
9188
|
}
|
|
9189
9189
|
function L() {
|
|
9190
9190
|
var F = R();
|
|
9191
|
-
if (!(u != C.charAt(0) ||
|
|
9192
|
-
for (var S = 2;
|
|
9191
|
+
if (!(u != C.charAt(0) || c != C.charAt(1))) {
|
|
9192
|
+
for (var S = 2; h != C.charAt(S) && (c != C.charAt(S) || u != C.charAt(S + 1)); )
|
|
9193
9193
|
++S;
|
|
9194
|
-
if (S += 2,
|
|
9194
|
+
if (S += 2, h === C.charAt(S - 1))
|
|
9195
9195
|
return P("End of comment missing");
|
|
9196
9196
|
var E = C.slice(2, S - 2);
|
|
9197
9197
|
return v += 2, M(E), C = C.slice(S), v += 2, F({
|
|
@@ -9206,8 +9206,8 @@ function BS() {
|
|
|
9206
9206
|
if (L(), !X(i)) return P("property missing ':'");
|
|
9207
9207
|
var E = X(o), z = F({
|
|
9208
9208
|
type: d,
|
|
9209
|
-
property: b(S[0].replace(t,
|
|
9210
|
-
value: E ? b(E[0].replace(t,
|
|
9209
|
+
property: b(S[0].replace(t, h)),
|
|
9210
|
+
value: E ? b(E[0].replace(t, h)) : h
|
|
9211
9211
|
});
|
|
9212
9212
|
return X(a), z;
|
|
9213
9213
|
}
|
|
@@ -9222,7 +9222,7 @@ function BS() {
|
|
|
9222
9222
|
return tt(), nt();
|
|
9223
9223
|
}
|
|
9224
9224
|
function b(C) {
|
|
9225
|
-
return C ? C.replace(l,
|
|
9225
|
+
return C ? C.replace(l, h) : h;
|
|
9226
9226
|
}
|
|
9227
9227
|
return $o = p, $o;
|
|
9228
9228
|
}
|
|
@@ -9243,8 +9243,8 @@ function IS() {
|
|
|
9243
9243
|
return a.forEach((s) => {
|
|
9244
9244
|
if (s.type !== "declaration")
|
|
9245
9245
|
return;
|
|
9246
|
-
const { property: u, value:
|
|
9247
|
-
l ? i(u,
|
|
9246
|
+
const { property: u, value: c } = s;
|
|
9247
|
+
l ? i(u, c, s) : c && (o = o || {}, o[u] = c);
|
|
9248
9248
|
}), o;
|
|
9249
9249
|
}
|
|
9250
9250
|
return bn;
|
|
@@ -9255,12 +9255,12 @@ function MS() {
|
|
|
9255
9255
|
Su = 1, Object.defineProperty(rr, "__esModule", { value: !0 }), rr.camelCase = void 0;
|
|
9256
9256
|
var t = /^--[a-zA-Z0-9_-]+$/, e = /-([a-z])/g, n = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, i = /^-(ms)-/, o = function(u) {
|
|
9257
9257
|
return !u || n.test(u) || t.test(u);
|
|
9258
|
-
}, a = function(u,
|
|
9259
|
-
return
|
|
9260
|
-
}, l = function(u,
|
|
9261
|
-
return "".concat(
|
|
9262
|
-
}, s = function(u,
|
|
9263
|
-
return
|
|
9258
|
+
}, a = function(u, c) {
|
|
9259
|
+
return c.toUpperCase();
|
|
9260
|
+
}, l = function(u, c) {
|
|
9261
|
+
return "".concat(c, "-");
|
|
9262
|
+
}, s = function(u, c) {
|
|
9263
|
+
return c === void 0 && (c = {}), o(u) ? u : (u = u.toLowerCase(), c.reactCompat ? u = u.replace(i, l) : u = u.replace(r, l), u.replace(e, a));
|
|
9264
9264
|
};
|
|
9265
9265
|
return rr.camelCase = s, rr;
|
|
9266
9266
|
}
|
|
@@ -9916,12 +9916,12 @@ function bv(t) {
|
|
|
9916
9916
|
return p(v);
|
|
9917
9917
|
e.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
|
9918
9918
|
}
|
|
9919
|
-
return e.containerState = {}, t.check(Iu,
|
|
9919
|
+
return e.containerState = {}, t.check(Iu, c, h)(v);
|
|
9920
9920
|
}
|
|
9921
|
-
function
|
|
9921
|
+
function c(v) {
|
|
9922
9922
|
return i && k(), x(r), f(v);
|
|
9923
9923
|
}
|
|
9924
|
-
function
|
|
9924
|
+
function h(v) {
|
|
9925
9925
|
return e.parser.lazy[e.now().line] = r !== n.length, a = e.now().offset, p(v);
|
|
9926
9926
|
}
|
|
9927
9927
|
function f(v) {
|
|
@@ -10013,7 +10013,7 @@ const La = {
|
|
|
10013
10013
|
tokenize: kv
|
|
10014
10014
|
};
|
|
10015
10015
|
function _v(t, e) {
|
|
10016
|
-
let n = -1, r, i, o, a, l, s, u,
|
|
10016
|
+
let n = -1, r, i, o, a, l, s, u, c;
|
|
10017
10017
|
for (; ++n < t.length; )
|
|
10018
10018
|
if (t[n][0] === "enter" && t[n][1].type === "attentionSequence" && t[n][1]._close) {
|
|
10019
10019
|
for (r = n; r--; )
|
|
@@ -10022,14 +10022,14 @@ function _v(t, e) {
|
|
|
10022
10022
|
if ((t[r][1]._close || t[n][1]._open) && (t[n][1].end.offset - t[n][1].start.offset) % 3 && !((t[r][1].end.offset - t[r][1].start.offset + t[n][1].end.offset - t[n][1].start.offset) % 3))
|
|
10023
10023
|
continue;
|
|
10024
10024
|
s = t[r][1].end.offset - t[r][1].start.offset > 1 && t[n][1].end.offset - t[n][1].start.offset > 1 ? 2 : 1;
|
|
10025
|
-
const
|
|
10025
|
+
const h = {
|
|
10026
10026
|
...t[r][1].end
|
|
10027
10027
|
}, f = {
|
|
10028
10028
|
...t[n][1].start
|
|
10029
10029
|
};
|
|
10030
|
-
Ou(
|
|
10030
|
+
Ou(h, -s), Ou(f, s), a = {
|
|
10031
10031
|
type: s > 1 ? "strongSequence" : "emphasisSequence",
|
|
10032
|
-
start:
|
|
10032
|
+
start: h,
|
|
10033
10033
|
end: {
|
|
10034
10034
|
...t[r][1].end
|
|
10035
10035
|
}
|
|
@@ -10059,7 +10059,7 @@ function _v(t, e) {
|
|
|
10059
10059
|
...a.start
|
|
10060
10060
|
}, t[n][1].start = {
|
|
10061
10061
|
...l.end
|
|
10062
|
-
}, u = [], t[r][1].end.offset - t[r][1].start.offset && (u = Qt(u, [["enter", t[r][1], e], ["exit", t[r][1], e]])), u = Qt(u, [["enter", i, e], ["enter", a, e], ["exit", a, e], ["enter", o, e]]), u = Qt(u, Fl(e.parser.constructs.insideSpan.null, t.slice(r + 1, n), e)), u = Qt(u, [["exit", o, e], ["enter", l, e], ["exit", l, e], ["exit", i, e]]), t[n][1].end.offset - t[n][1].start.offset ? (
|
|
10062
|
+
}, u = [], t[r][1].end.offset - t[r][1].start.offset && (u = Qt(u, [["enter", t[r][1], e], ["exit", t[r][1], e]])), u = Qt(u, [["enter", i, e], ["enter", a, e], ["exit", a, e], ["enter", o, e]]), u = Qt(u, Fl(e.parser.constructs.insideSpan.null, t.slice(r + 1, n), e)), u = Qt(u, [["exit", o, e], ["enter", l, e], ["exit", l, e], ["exit", i, e]]), t[n][1].end.offset - t[n][1].start.offset ? (c = 2, u = Qt(u, [["enter", t[n][1], e], ["exit", t[n][1], e]])) : c = 0, ke(t, r - 1, n - r + 3, u), n = r + u.length - c - 2;
|
|
10063
10063
|
break;
|
|
10064
10064
|
}
|
|
10065
10065
|
}
|
|
@@ -10077,8 +10077,8 @@ function kv(t, e) {
|
|
|
10077
10077
|
function l(s) {
|
|
10078
10078
|
if (s === o)
|
|
10079
10079
|
return t.consume(s), l;
|
|
10080
|
-
const u = t.exit("attentionSequence"),
|
|
10081
|
-
return u._open = !!(o === 42 ?
|
|
10080
|
+
const u = t.exit("attentionSequence"), c = Mu(s), h = !c || c === 2 && i || n.includes(s), f = !i || i === 2 && c || n.includes(r);
|
|
10081
|
+
return u._open = !!(o === 42 ? h : h && (i || !f)), u._close = !!(o === 42 ? f : f && (c || !h)), e(s);
|
|
10082
10082
|
}
|
|
10083
10083
|
}
|
|
10084
10084
|
function Ou(t, e) {
|
|
@@ -10107,17 +10107,17 @@ function Tv(t, e, n) {
|
|
|
10107
10107
|
return d === 62 ? (t.exit("autolinkProtocol"), t.enter("autolinkMarker"), t.consume(d), t.exit("autolinkMarker"), t.exit("autolink"), e) : d === null || d === 32 || d === 60 || Aa(d) ? n(d) : (t.consume(d), s);
|
|
10108
10108
|
}
|
|
10109
10109
|
function u(d) {
|
|
10110
|
-
return d === 64 ? (t.consume(d),
|
|
10111
|
-
}
|
|
10112
|
-
function h(d) {
|
|
10113
|
-
return ae(d) ? c(d) : n(d);
|
|
10110
|
+
return d === 64 ? (t.consume(d), c) : hv(d) ? (t.consume(d), u) : n(d);
|
|
10114
10111
|
}
|
|
10115
10112
|
function c(d) {
|
|
10116
|
-
return
|
|
10113
|
+
return ae(d) ? h(d) : n(d);
|
|
10114
|
+
}
|
|
10115
|
+
function h(d) {
|
|
10116
|
+
return d === 46 ? (t.consume(d), r = 0, c) : d === 62 ? (t.exit("autolinkProtocol").type = "autolinkEmail", t.enter("autolinkMarker"), t.consume(d), t.exit("autolinkMarker"), t.exit("autolink"), e) : f(d);
|
|
10117
10117
|
}
|
|
10118
10118
|
function f(d) {
|
|
10119
10119
|
if ((d === 45 || ae(d)) && r++ < 63) {
|
|
10120
|
-
const p = d === 45 ? f :
|
|
10120
|
+
const p = d === 45 ? f : h;
|
|
10121
10121
|
return t.consume(d), p;
|
|
10122
10122
|
}
|
|
10123
10123
|
return n(d);
|
|
@@ -10194,21 +10194,21 @@ function Fv(t, e, n) {
|
|
|
10194
10194
|
const r = this;
|
|
10195
10195
|
let i = 0, o, a;
|
|
10196
10196
|
return l;
|
|
10197
|
-
function l(
|
|
10198
|
-
return t.enter("characterReference"), t.enter("characterReferenceMarker"), t.consume(
|
|
10197
|
+
function l(h) {
|
|
10198
|
+
return t.enter("characterReference"), t.enter("characterReferenceMarker"), t.consume(h), t.exit("characterReferenceMarker"), s;
|
|
10199
10199
|
}
|
|
10200
|
-
function s(
|
|
10201
|
-
return
|
|
10200
|
+
function s(h) {
|
|
10201
|
+
return h === 35 ? (t.enter("characterReferenceMarkerNumeric"), t.consume(h), t.exit("characterReferenceMarkerNumeric"), u) : (t.enter("characterReferenceValue"), o = 31, a = ae, c(h));
|
|
10202
10202
|
}
|
|
10203
|
-
function u(
|
|
10204
|
-
return
|
|
10203
|
+
function u(h) {
|
|
10204
|
+
return h === 88 || h === 120 ? (t.enter("characterReferenceMarkerHexadecimal"), t.consume(h), t.exit("characterReferenceMarkerHexadecimal"), t.enter("characterReferenceValue"), o = 6, a = fv, c) : (t.enter("characterReferenceValue"), o = 7, a = Ea, c(h));
|
|
10205
10205
|
}
|
|
10206
|
-
function h
|
|
10207
|
-
if (
|
|
10206
|
+
function c(h) {
|
|
10207
|
+
if (h === 59 && i) {
|
|
10208
10208
|
const f = t.exit("characterReferenceValue");
|
|
10209
|
-
return a === ae && !Ll(r.sliceSerialize(f)) ? n(
|
|
10209
|
+
return a === ae && !Ll(r.sliceSerialize(f)) ? n(h) : (t.enter("characterReferenceMarker"), t.consume(h), t.exit("characterReferenceMarker"), t.exit("characterReference"), e);
|
|
10210
10210
|
}
|
|
10211
|
-
return a(
|
|
10211
|
+
return a(h) && i++ < o ? (t.consume(h), c) : n(h);
|
|
10212
10212
|
}
|
|
10213
10213
|
}
|
|
10214
10214
|
const Du = {
|
|
@@ -10231,26 +10231,26 @@ function Bv(t, e, n) {
|
|
|
10231
10231
|
}
|
|
10232
10232
|
function u(w) {
|
|
10233
10233
|
const P = r.events[r.events.length - 1];
|
|
10234
|
-
return o = P && P[1].type === "linePrefix" ? P[2].sliceSerialize(P[1], !0).length : 0, l = w, t.enter("codeFenced"), t.enter("codeFencedFence"), t.enter("codeFencedFenceSequence"),
|
|
10235
|
-
}
|
|
10236
|
-
function h(w) {
|
|
10237
|
-
return w === l ? (a++, t.consume(w), h) : a < 3 ? n(w) : (t.exit("codeFencedFenceSequence"), lt(w) ? ht(t, c, "whitespace")(w) : c(w));
|
|
10234
|
+
return o = P && P[1].type === "linePrefix" ? P[2].sliceSerialize(P[1], !0).length : 0, l = w, t.enter("codeFenced"), t.enter("codeFencedFence"), t.enter("codeFencedFenceSequence"), c(w);
|
|
10238
10235
|
}
|
|
10239
10236
|
function c(w) {
|
|
10237
|
+
return w === l ? (a++, t.consume(w), c) : a < 3 ? n(w) : (t.exit("codeFencedFenceSequence"), lt(w) ? ht(t, h, "whitespace")(w) : h(w));
|
|
10238
|
+
}
|
|
10239
|
+
function h(w) {
|
|
10240
10240
|
return w === null || J(w) ? (t.exit("codeFencedFence"), r.interrupt ? e(w) : t.check(Du, b, M)(w)) : (t.enter("codeFencedFenceInfo"), t.enter("chunkString", {
|
|
10241
10241
|
contentType: "string"
|
|
10242
10242
|
}), f(w));
|
|
10243
10243
|
}
|
|
10244
10244
|
function f(w) {
|
|
10245
|
-
return w === null || J(w) ? (t.exit("chunkString"), t.exit("codeFencedFenceInfo"),
|
|
10245
|
+
return w === null || J(w) ? (t.exit("chunkString"), t.exit("codeFencedFenceInfo"), h(w)) : lt(w) ? (t.exit("chunkString"), t.exit("codeFencedFenceInfo"), ht(t, d, "whitespace")(w)) : w === 96 && w === l ? n(w) : (t.consume(w), f);
|
|
10246
10246
|
}
|
|
10247
10247
|
function d(w) {
|
|
10248
|
-
return w === null || J(w) ?
|
|
10248
|
+
return w === null || J(w) ? h(w) : (t.enter("codeFencedFenceMeta"), t.enter("chunkString", {
|
|
10249
10249
|
contentType: "string"
|
|
10250
10250
|
}), p(w));
|
|
10251
10251
|
}
|
|
10252
10252
|
function p(w) {
|
|
10253
|
-
return w === null || J(w) ? (t.exit("chunkString"), t.exit("codeFencedFenceMeta"),
|
|
10253
|
+
return w === null || J(w) ? (t.exit("chunkString"), t.exit("codeFencedFenceMeta"), h(w)) : w === 96 && w === l ? n(w) : (t.consume(w), p);
|
|
10254
10254
|
}
|
|
10255
10255
|
function b(w) {
|
|
10256
10256
|
return t.attempt(i, M, C)(w);
|
|
@@ -10314,8 +10314,8 @@ function Ov(t, e, n) {
|
|
|
10314
10314
|
return t.enter("codeIndented"), ht(t, o, "linePrefix", 5)(u);
|
|
10315
10315
|
}
|
|
10316
10316
|
function o(u) {
|
|
10317
|
-
const
|
|
10318
|
-
return
|
|
10317
|
+
const c = r.events[r.events.length - 1];
|
|
10318
|
+
return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? a(u) : n(u);
|
|
10319
10319
|
}
|
|
10320
10320
|
function a(u) {
|
|
10321
10321
|
return u === null ? s(u) : J(u) ? t.attempt(Mv, a, s)(u) : (t.enter("codeFlowValue"), l(u));
|
|
@@ -10363,20 +10363,20 @@ function Rv(t) {
|
|
|
10363
10363
|
function zv(t, e, n) {
|
|
10364
10364
|
let r = 0, i, o;
|
|
10365
10365
|
return a;
|
|
10366
|
-
function a(
|
|
10367
|
-
return t.enter("codeText"), t.enter("codeTextSequence"), l(
|
|
10366
|
+
function a(h) {
|
|
10367
|
+
return t.enter("codeText"), t.enter("codeTextSequence"), l(h);
|
|
10368
10368
|
}
|
|
10369
|
-
function l(
|
|
10370
|
-
return
|
|
10369
|
+
function l(h) {
|
|
10370
|
+
return h === 96 ? (t.consume(h), r++, l) : (t.exit("codeTextSequence"), s(h));
|
|
10371
10371
|
}
|
|
10372
|
-
function s(
|
|
10373
|
-
return
|
|
10372
|
+
function s(h) {
|
|
10373
|
+
return h === null ? n(h) : h === 32 ? (t.enter("space"), t.consume(h), t.exit("space"), s) : h === 96 ? (o = t.enter("codeTextSequence"), i = 0, c(h)) : J(h) ? (t.enter("lineEnding"), t.consume(h), t.exit("lineEnding"), s) : (t.enter("codeTextData"), u(h));
|
|
10374
10374
|
}
|
|
10375
|
-
function u(
|
|
10376
|
-
return
|
|
10375
|
+
function u(h) {
|
|
10376
|
+
return h === null || h === 32 || h === 96 || J(h) ? (t.exit("codeTextData"), s(h)) : (t.consume(h), u);
|
|
10377
10377
|
}
|
|
10378
|
-
function h
|
|
10379
|
-
return
|
|
10378
|
+
function c(h) {
|
|
10379
|
+
return h === 96 ? (t.consume(h), i++, c) : i === r ? (t.exit("codeTextSequence"), t.exit("codeText"), e(h)) : (o.type = "codeTextData", u(h));
|
|
10380
10380
|
}
|
|
10381
10381
|
}
|
|
10382
10382
|
class Nv {
|
|
@@ -10554,26 +10554,26 @@ function or(t, e) {
|
|
|
10554
10554
|
function od(t) {
|
|
10555
10555
|
const e = {};
|
|
10556
10556
|
let n = -1, r, i, o, a, l, s, u;
|
|
10557
|
-
const
|
|
10558
|
-
for (; ++n <
|
|
10557
|
+
const c = new Nv(t);
|
|
10558
|
+
for (; ++n < c.length; ) {
|
|
10559
10559
|
for (; n in e; )
|
|
10560
10560
|
n = e[n];
|
|
10561
|
-
if (r =
|
|
10561
|
+
if (r = c.get(n), n && r[1].type === "chunkFlow" && c.get(n - 1)[1].type === "listItemPrefix" && (s = r[1]._tokenizer.events, o = 0, o < s.length && s[o][1].type === "lineEndingBlank" && (o += 2), o < s.length && s[o][1].type === "content"))
|
|
10562
10562
|
for (; ++o < s.length && s[o][1].type !== "content"; )
|
|
10563
10563
|
s[o][1].type === "chunkText" && (s[o][1]._isInFirstContentOfListItem = !0, o++);
|
|
10564
10564
|
if (r[0] === "enter")
|
|
10565
|
-
r[1].contentType && (Object.assign(e, qv(
|
|
10565
|
+
r[1].contentType && (Object.assign(e, qv(c, n)), n = e[n], u = !0);
|
|
10566
10566
|
else if (r[1]._container) {
|
|
10567
10567
|
for (o = n, i = void 0; o--; )
|
|
10568
|
-
if (a =
|
|
10569
|
-
a[0] === "enter" && (i && (
|
|
10568
|
+
if (a = c.get(o), a[1].type === "lineEnding" || a[1].type === "lineEndingBlank")
|
|
10569
|
+
a[0] === "enter" && (i && (c.get(i)[1].type = "lineEndingBlank"), a[1].type = "lineEnding", i = o);
|
|
10570
10570
|
else if (!(a[1].type === "linePrefix" || a[1].type === "listItemIndent")) break;
|
|
10571
10571
|
i && (r[1].end = {
|
|
10572
|
-
...
|
|
10573
|
-
}, l =
|
|
10572
|
+
...c.get(i)[1].start
|
|
10573
|
+
}, l = c.slice(i, n), l.unshift(r), c.splice(i, n - i + 1, l));
|
|
10574
10574
|
}
|
|
10575
10575
|
}
|
|
10576
|
-
return ke(t, 0, Number.POSITIVE_INFINITY,
|
|
10576
|
+
return ke(t, 0, Number.POSITIVE_INFINITY, c.slice(0)), !u;
|
|
10577
10577
|
}
|
|
10578
10578
|
function qv(t, e) {
|
|
10579
10579
|
const n = t.get(e)[1], r = t.get(e)[2];
|
|
@@ -10582,12 +10582,12 @@ function qv(t, e) {
|
|
|
10582
10582
|
let a = n._tokenizer;
|
|
10583
10583
|
a || (a = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (a._contentTypeTextTrailing = !0));
|
|
10584
10584
|
const l = a.events, s = [], u = {};
|
|
10585
|
-
let
|
|
10585
|
+
let c, h, f = -1, d = n, p = 0, b = 0;
|
|
10586
10586
|
const C = [b];
|
|
10587
10587
|
for (; d; ) {
|
|
10588
10588
|
for (; t.get(++i)[1] !== d; )
|
|
10589
10589
|
;
|
|
10590
|
-
o.push(i), d._tokenizer || (
|
|
10590
|
+
o.push(i), d._tokenizer || (c = r.sliceStream(d), d.next || c.push(null), h && a.defineSkip(d.start), d._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(c), d._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), h = d, d = d.next;
|
|
10591
10591
|
}
|
|
10592
10592
|
for (d = n; ++f < l.length; )
|
|
10593
10593
|
// Find a void token that includes a break.
|
|
@@ -10646,9 +10646,9 @@ function Vv(t, e, n) {
|
|
|
10646
10646
|
}
|
|
10647
10647
|
function ad(t, e, n, r, i, o, a, l, s) {
|
|
10648
10648
|
const u = s || Number.POSITIVE_INFINITY;
|
|
10649
|
-
let
|
|
10650
|
-
return
|
|
10651
|
-
function
|
|
10649
|
+
let c = 0;
|
|
10650
|
+
return h;
|
|
10651
|
+
function h(x) {
|
|
10652
10652
|
return x === 60 ? (t.enter(r), t.enter(i), t.enter(o), t.consume(x), t.exit(o), f) : x === null || x === 32 || x === 41 || Aa(x) ? n(x) : (t.enter(r), t.enter(a), t.enter(l), t.enter("chunkString", {
|
|
10653
10653
|
contentType: "string"
|
|
10654
10654
|
}), b(x));
|
|
@@ -10665,7 +10665,7 @@ function ad(t, e, n, r, i, o, a, l, s) {
|
|
|
10665
10665
|
return x === 60 || x === 62 || x === 92 ? (t.consume(x), d) : d(x);
|
|
10666
10666
|
}
|
|
10667
10667
|
function b(x) {
|
|
10668
|
-
return !
|
|
10668
|
+
return !c && (x === null || x === 41 || Ut(x)) ? (t.exit("chunkString"), t.exit(l), t.exit(a), t.exit(r), e(x)) : c < u && x === 40 ? (t.consume(x), c++, b) : x === 41 ? (t.consume(x), c--, b) : x === null || x === 32 || x === 40 || Aa(x) ? n(x) : (t.consume(x), x === 92 ? C : b);
|
|
10669
10669
|
}
|
|
10670
10670
|
function C(x) {
|
|
10671
10671
|
return x === 40 || x === 41 || x === 92 ? (t.consume(x), b) : b(x);
|
|
@@ -10676,23 +10676,23 @@ function ld(t, e, n, r, i, o) {
|
|
|
10676
10676
|
let l = 0, s;
|
|
10677
10677
|
return u;
|
|
10678
10678
|
function u(d) {
|
|
10679
|
-
return t.enter(r), t.enter(i), t.consume(d), t.exit(i), t.enter(o),
|
|
10679
|
+
return t.enter(r), t.enter(i), t.consume(d), t.exit(i), t.enter(o), c;
|
|
10680
10680
|
}
|
|
10681
|
-
function
|
|
10681
|
+
function c(d) {
|
|
10682
10682
|
return l > 999 || d === null || d === 91 || d === 93 && !s || // To do: remove in the future once we’ve switched from
|
|
10683
10683
|
// `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
|
|
10684
10684
|
// which doesn’t need this.
|
|
10685
10685
|
// Hidden footnotes hook.
|
|
10686
10686
|
/* c8 ignore next 3 */
|
|
10687
|
-
d === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(d) : d === 93 ? (t.exit(o), t.enter(i), t.consume(d), t.exit(i), t.exit(r), e) : J(d) ? (t.enter("lineEnding"), t.consume(d), t.exit("lineEnding"),
|
|
10687
|
+
d === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(d) : d === 93 ? (t.exit(o), t.enter(i), t.consume(d), t.exit(i), t.exit(r), e) : J(d) ? (t.enter("lineEnding"), t.consume(d), t.exit("lineEnding"), c) : (t.enter("chunkString", {
|
|
10688
10688
|
contentType: "string"
|
|
10689
|
-
}),
|
|
10689
|
+
}), h(d));
|
|
10690
10690
|
}
|
|
10691
|
-
function
|
|
10692
|
-
return d === null || d === 91 || d === 93 || J(d) || l++ > 999 ? (t.exit("chunkString"),
|
|
10691
|
+
function h(d) {
|
|
10692
|
+
return d === null || d === 91 || d === 93 || J(d) || l++ > 999 ? (t.exit("chunkString"), c(d)) : (t.consume(d), s || (s = !lt(d)), d === 92 ? f : h);
|
|
10693
10693
|
}
|
|
10694
10694
|
function f(d) {
|
|
10695
|
-
return d === 91 || d === 92 || d === 93 ? (t.consume(d), l++,
|
|
10695
|
+
return d === 91 || d === 92 || d === 93 ? (t.consume(d), l++, h) : h(d);
|
|
10696
10696
|
}
|
|
10697
10697
|
}
|
|
10698
10698
|
function sd(t, e, n, r, i, o) {
|
|
@@ -10707,13 +10707,13 @@ function sd(t, e, n, r, i, o) {
|
|
|
10707
10707
|
function u(f) {
|
|
10708
10708
|
return f === a ? (t.exit(o), s(a)) : f === null ? n(f) : J(f) ? (t.enter("lineEnding"), t.consume(f), t.exit("lineEnding"), ht(t, u, "linePrefix")) : (t.enter("chunkString", {
|
|
10709
10709
|
contentType: "string"
|
|
10710
|
-
}),
|
|
10711
|
-
}
|
|
10712
|
-
function h(f) {
|
|
10713
|
-
return f === a || f === null || J(f) ? (t.exit("chunkString"), u(f)) : (t.consume(f), f === 92 ? c : h);
|
|
10710
|
+
}), c(f));
|
|
10714
10711
|
}
|
|
10715
10712
|
function c(f) {
|
|
10716
|
-
return f === a || f ===
|
|
10713
|
+
return f === a || f === null || J(f) ? (t.exit("chunkString"), u(f)) : (t.consume(f), f === 92 ? h : c);
|
|
10714
|
+
}
|
|
10715
|
+
function h(f) {
|
|
10716
|
+
return f === a || f === 92 ? (t.consume(f), c) : c(f);
|
|
10717
10717
|
}
|
|
10718
10718
|
}
|
|
10719
10719
|
function br(t, e) {
|
|
@@ -10758,7 +10758,7 @@ function Xv(t, e, n) {
|
|
|
10758
10758
|
function u(d) {
|
|
10759
10759
|
return ad(
|
|
10760
10760
|
t,
|
|
10761
|
-
|
|
10761
|
+
c,
|
|
10762
10762
|
// Note: we don’t need to reset the way `markdown-rs` does.
|
|
10763
10763
|
n,
|
|
10764
10764
|
"definitionDestination",
|
|
@@ -10768,10 +10768,10 @@ function Xv(t, e, n) {
|
|
|
10768
10768
|
"definitionDestinationString"
|
|
10769
10769
|
)(d);
|
|
10770
10770
|
}
|
|
10771
|
-
function h(d) {
|
|
10772
|
-
return t.attempt(Gv, c, c)(d);
|
|
10773
|
-
}
|
|
10774
10771
|
function c(d) {
|
|
10772
|
+
return t.attempt(Gv, h, h)(d);
|
|
10773
|
+
}
|
|
10774
|
+
function h(d) {
|
|
10775
10775
|
return lt(d) ? ht(t, f, "whitespace")(d) : f(d);
|
|
10776
10776
|
}
|
|
10777
10777
|
function f(d) {
|
|
@@ -10827,23 +10827,23 @@ function tA(t, e) {
|
|
|
10827
10827
|
function eA(t, e, n) {
|
|
10828
10828
|
let r = 0;
|
|
10829
10829
|
return i;
|
|
10830
|
-
function i(
|
|
10831
|
-
return t.enter("atxHeading"), o(
|
|
10830
|
+
function i(c) {
|
|
10831
|
+
return t.enter("atxHeading"), o(c);
|
|
10832
10832
|
}
|
|
10833
|
-
function o(
|
|
10834
|
-
return t.enter("atxHeadingSequence"), a(
|
|
10833
|
+
function o(c) {
|
|
10834
|
+
return t.enter("atxHeadingSequence"), a(c);
|
|
10835
10835
|
}
|
|
10836
|
-
function a(
|
|
10837
|
-
return
|
|
10836
|
+
function a(c) {
|
|
10837
|
+
return c === 35 && r++ < 6 ? (t.consume(c), a) : c === null || Ut(c) ? (t.exit("atxHeadingSequence"), l(c)) : n(c);
|
|
10838
10838
|
}
|
|
10839
|
-
function l(
|
|
10840
|
-
return
|
|
10839
|
+
function l(c) {
|
|
10840
|
+
return c === 35 ? (t.enter("atxHeadingSequence"), s(c)) : c === null || J(c) ? (t.exit("atxHeading"), e(c)) : lt(c) ? ht(t, l, "whitespace")(c) : (t.enter("atxHeadingText"), u(c));
|
|
10841
10841
|
}
|
|
10842
|
-
function s(
|
|
10843
|
-
return
|
|
10842
|
+
function s(c) {
|
|
10843
|
+
return c === 35 ? (t.consume(c), s) : (t.exit("atxHeadingSequence"), l(c));
|
|
10844
10844
|
}
|
|
10845
|
-
function u(
|
|
10846
|
-
return
|
|
10845
|
+
function u(c) {
|
|
10846
|
+
return c === null || c === 35 || Ut(c) ? (t.exit("atxHeadingText"), l(c)) : (t.consume(c), u);
|
|
10847
10847
|
}
|
|
10848
10848
|
}
|
|
10849
10849
|
const nA = [
|
|
@@ -10932,12 +10932,12 @@ function lA(t, e, n) {
|
|
|
10932
10932
|
let i, o, a, l, s;
|
|
10933
10933
|
return u;
|
|
10934
10934
|
function u(m) {
|
|
10935
|
-
return
|
|
10936
|
-
}
|
|
10937
|
-
function h(m) {
|
|
10938
|
-
return t.enter("htmlFlow"), t.enter("htmlFlowData"), t.consume(m), c;
|
|
10935
|
+
return c(m);
|
|
10939
10936
|
}
|
|
10940
10937
|
function c(m) {
|
|
10938
|
+
return t.enter("htmlFlow"), t.enter("htmlFlowData"), t.consume(m), h;
|
|
10939
|
+
}
|
|
10940
|
+
function h(m) {
|
|
10941
10941
|
return m === 33 ? (t.consume(m), f) : m === 47 ? (t.consume(m), o = !0, b) : m === 63 ? (t.consume(m), i = 3, r.interrupt ? e : g) : ye(m) ? (t.consume(m), a = String.fromCharCode(m), C) : n(m);
|
|
10942
10942
|
}
|
|
10943
10943
|
function f(m) {
|
|
@@ -11062,19 +11062,19 @@ function hA(t, e, n) {
|
|
|
11062
11062
|
return g === 33 ? (t.consume(g), u) : g === 47 ? (t.consume(g), R) : g === 63 ? (t.consume(g), v) : ye(g) ? (t.consume(g), X) : n(g);
|
|
11063
11063
|
}
|
|
11064
11064
|
function u(g) {
|
|
11065
|
-
return g === 45 ? (t.consume(g),
|
|
11065
|
+
return g === 45 ? (t.consume(g), c) : g === 91 ? (t.consume(g), o = 0, p) : ye(g) ? (t.consume(g), k) : n(g);
|
|
11066
11066
|
}
|
|
11067
|
-
function
|
|
11067
|
+
function c(g) {
|
|
11068
11068
|
return g === 45 ? (t.consume(g), d) : n(g);
|
|
11069
11069
|
}
|
|
11070
|
-
function
|
|
11071
|
-
return g === null ? n(g) : g === 45 ? (t.consume(g), f) : J(g) ? (a =
|
|
11070
|
+
function h(g) {
|
|
11071
|
+
return g === null ? n(g) : g === 45 ? (t.consume(g), f) : J(g) ? (a = h, z(g)) : (t.consume(g), h);
|
|
11072
11072
|
}
|
|
11073
11073
|
function f(g) {
|
|
11074
|
-
return g === 45 ? (t.consume(g), d) :
|
|
11074
|
+
return g === 45 ? (t.consume(g), d) : h(g);
|
|
11075
11075
|
}
|
|
11076
11076
|
function d(g) {
|
|
11077
|
-
return g === 62 ? E(g) : g === 45 ? f(g) :
|
|
11077
|
+
return g === 62 ? E(g) : g === 45 ? f(g) : h(g);
|
|
11078
11078
|
}
|
|
11079
11079
|
function p(g) {
|
|
11080
11080
|
const H = "CDATA[";
|
|
@@ -11197,7 +11197,7 @@ function mA(t, e) {
|
|
|
11197
11197
|
end: {
|
|
11198
11198
|
...t[a][1].end
|
|
11199
11199
|
}
|
|
11200
|
-
},
|
|
11200
|
+
}, c = {
|
|
11201
11201
|
type: "labelText",
|
|
11202
11202
|
start: {
|
|
11203
11203
|
...t[o + r + 2][1].end
|
|
@@ -11206,7 +11206,7 @@ function mA(t, e) {
|
|
|
11206
11206
|
...t[a - 2][1].start
|
|
11207
11207
|
}
|
|
11208
11208
|
};
|
|
11209
|
-
return l = [["enter", s, e], ["enter", u, e]], l = Qt(l, t.slice(o + 1, o + r + 3)), l = Qt(l, [["enter",
|
|
11209
|
+
return l = [["enter", s, e], ["enter", u, e]], l = Qt(l, t.slice(o + 1, o + r + 3)), l = Qt(l, [["enter", c, e]]), l = Qt(l, Fl(e.parser.constructs.insideSpan.null, t.slice(o + r + 4, a - 3), e)), l = Qt(l, [["exit", c, e], t[a - 2], t[a - 1], ["exit", u, e]]), l = Qt(l, t.slice(a + 1)), l = Qt(l, [["exit", s, e]]), ke(t, o, t.length, l), t;
|
|
11210
11210
|
}
|
|
11211
11211
|
function yA(t, e, n) {
|
|
11212
11212
|
const r = this;
|
|
@@ -11218,49 +11218,49 @@ function yA(t, e, n) {
|
|
|
11218
11218
|
}
|
|
11219
11219
|
return l;
|
|
11220
11220
|
function l(f) {
|
|
11221
|
-
return o ? o._inactive ?
|
|
11221
|
+
return o ? o._inactive ? h(f) : (a = r.parser.defined.includes(Bn(r.sliceSerialize({
|
|
11222
11222
|
start: o.end,
|
|
11223
11223
|
end: r.now()
|
|
11224
11224
|
}))), t.enter("labelEnd"), t.enter("labelMarker"), t.consume(f), t.exit("labelMarker"), t.exit("labelEnd"), s) : n(f);
|
|
11225
11225
|
}
|
|
11226
11226
|
function s(f) {
|
|
11227
|
-
return f === 40 ? t.attempt(fA,
|
|
11227
|
+
return f === 40 ? t.attempt(fA, c, a ? c : h)(f) : f === 91 ? t.attempt(dA, c, a ? u : h)(f) : a ? c(f) : h(f);
|
|
11228
11228
|
}
|
|
11229
11229
|
function u(f) {
|
|
11230
|
-
return t.attempt(pA,
|
|
11230
|
+
return t.attempt(pA, c, h)(f);
|
|
11231
11231
|
}
|
|
11232
|
-
function
|
|
11232
|
+
function c(f) {
|
|
11233
11233
|
return e(f);
|
|
11234
11234
|
}
|
|
11235
|
-
function
|
|
11235
|
+
function h(f) {
|
|
11236
11236
|
return o._balanced = !0, n(f);
|
|
11237
11237
|
}
|
|
11238
11238
|
}
|
|
11239
11239
|
function xA(t, e, n) {
|
|
11240
11240
|
return r;
|
|
11241
|
-
function r(
|
|
11242
|
-
return t.enter("resource"), t.enter("resourceMarker"), t.consume(
|
|
11241
|
+
function r(h) {
|
|
11242
|
+
return t.enter("resource"), t.enter("resourceMarker"), t.consume(h), t.exit("resourceMarker"), i;
|
|
11243
11243
|
}
|
|
11244
|
-
function i(
|
|
11245
|
-
return Ut(
|
|
11244
|
+
function i(h) {
|
|
11245
|
+
return Ut(h) ? br(t, o)(h) : o(h);
|
|
11246
11246
|
}
|
|
11247
|
-
function o(
|
|
11248
|
-
return
|
|
11247
|
+
function o(h) {
|
|
11248
|
+
return h === 41 ? c(h) : ad(t, a, l, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(h);
|
|
11249
11249
|
}
|
|
11250
|
-
function a(
|
|
11251
|
-
return Ut(
|
|
11250
|
+
function a(h) {
|
|
11251
|
+
return Ut(h) ? br(t, s)(h) : c(h);
|
|
11252
11252
|
}
|
|
11253
|
-
function l(
|
|
11254
|
-
return n(
|
|
11253
|
+
function l(h) {
|
|
11254
|
+
return n(h);
|
|
11255
11255
|
}
|
|
11256
|
-
function s(
|
|
11257
|
-
return
|
|
11256
|
+
function s(h) {
|
|
11257
|
+
return h === 34 || h === 39 || h === 40 ? sd(t, u, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(h) : c(h);
|
|
11258
11258
|
}
|
|
11259
|
-
function u(
|
|
11260
|
-
return Ut(
|
|
11259
|
+
function u(h) {
|
|
11260
|
+
return Ut(h) ? br(t, c)(h) : c(h);
|
|
11261
11261
|
}
|
|
11262
|
-
function h
|
|
11263
|
-
return
|
|
11262
|
+
function c(h) {
|
|
11263
|
+
return h === 41 ? (t.enter("resourceMarker"), t.consume(h), t.exit("resourceMarker"), t.exit("resource"), e) : n(h);
|
|
11264
11264
|
}
|
|
11265
11265
|
}
|
|
11266
11266
|
function bA(t, e, n) {
|
|
@@ -11385,14 +11385,14 @@ function LA(t, e, n) {
|
|
|
11385
11385
|
return t.enter("listItemMarker"), t.consume(d), t.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || d, t.check(
|
|
11386
11386
|
so,
|
|
11387
11387
|
// Can’t be empty when interrupting.
|
|
11388
|
-
r.interrupt ? n :
|
|
11389
|
-
t.attempt(AA, f,
|
|
11388
|
+
r.interrupt ? n : c,
|
|
11389
|
+
t.attempt(AA, f, h)
|
|
11390
11390
|
);
|
|
11391
11391
|
}
|
|
11392
|
-
function
|
|
11392
|
+
function c(d) {
|
|
11393
11393
|
return r.containerState.initialBlankLine = !0, o++, f(d);
|
|
11394
11394
|
}
|
|
11395
|
-
function
|
|
11395
|
+
function h(d) {
|
|
11396
11396
|
return lt(d) ? (t.enter("listItemPrefixWhitespace"), t.consume(d), t.exit("listItemPrefixWhitespace"), f) : n(d);
|
|
11397
11397
|
}
|
|
11398
11398
|
function f(d) {
|
|
@@ -11465,13 +11465,13 @@ function DA(t, e, n) {
|
|
|
11465
11465
|
let i;
|
|
11466
11466
|
return o;
|
|
11467
11467
|
function o(u) {
|
|
11468
|
-
let
|
|
11469
|
-
for (;
|
|
11470
|
-
if (r.events[
|
|
11471
|
-
|
|
11468
|
+
let c = r.events.length, h;
|
|
11469
|
+
for (; c--; )
|
|
11470
|
+
if (r.events[c][1].type !== "lineEnding" && r.events[c][1].type !== "linePrefix" && r.events[c][1].type !== "content") {
|
|
11471
|
+
h = r.events[c][1].type === "paragraph";
|
|
11472
11472
|
break;
|
|
11473
11473
|
}
|
|
11474
|
-
return !r.parser.lazy[r.now().line] && (r.interrupt ||
|
|
11474
|
+
return !r.parser.lazy[r.now().line] && (r.interrupt || h) ? (t.enter("setextHeadingLine"), i = u, a(u)) : n(u);
|
|
11475
11475
|
}
|
|
11476
11476
|
function a(u) {
|
|
11477
11477
|
return t.enter("setextHeadingLineSequence"), l(u);
|
|
@@ -11521,27 +11521,27 @@ function ud(t) {
|
|
|
11521
11521
|
function e(n) {
|
|
11522
11522
|
const r = this, i = this.parser.constructs[t], o = n.attempt(i, a, l);
|
|
11523
11523
|
return a;
|
|
11524
|
-
function a(
|
|
11525
|
-
return u(
|
|
11524
|
+
function a(c) {
|
|
11525
|
+
return u(c) ? o(c) : l(c);
|
|
11526
11526
|
}
|
|
11527
|
-
function l(
|
|
11528
|
-
if (
|
|
11529
|
-
n.consume(
|
|
11527
|
+
function l(c) {
|
|
11528
|
+
if (c === null) {
|
|
11529
|
+
n.consume(c);
|
|
11530
11530
|
return;
|
|
11531
11531
|
}
|
|
11532
|
-
return n.enter("data"), n.consume(
|
|
11532
|
+
return n.enter("data"), n.consume(c), s;
|
|
11533
11533
|
}
|
|
11534
|
-
function s(
|
|
11535
|
-
return u(
|
|
11534
|
+
function s(c) {
|
|
11535
|
+
return u(c) ? (n.exit("data"), o(c)) : (n.consume(c), s);
|
|
11536
11536
|
}
|
|
11537
|
-
function u(
|
|
11538
|
-
if (
|
|
11537
|
+
function u(c) {
|
|
11538
|
+
if (c === null)
|
|
11539
11539
|
return !0;
|
|
11540
|
-
const
|
|
11540
|
+
const h = i[c];
|
|
11541
11541
|
let f = -1;
|
|
11542
|
-
if (
|
|
11543
|
-
for (; ++f <
|
|
11544
|
-
const d =
|
|
11542
|
+
if (h)
|
|
11543
|
+
for (; ++f < h.length; ) {
|
|
11544
|
+
const d = h[f];
|
|
11545
11545
|
if (!d.previous || d.previous.call(r, r.previous))
|
|
11546
11546
|
return !0;
|
|
11547
11547
|
}
|
|
@@ -11693,11 +11693,11 @@ function ZA(t, e, n) {
|
|
|
11693
11693
|
previous: null,
|
|
11694
11694
|
sliceSerialize: f,
|
|
11695
11695
|
sliceStream: d,
|
|
11696
|
-
write:
|
|
11696
|
+
write: h
|
|
11697
11697
|
};
|
|
11698
|
-
let
|
|
11698
|
+
let c = e.tokenize.call(u, s);
|
|
11699
11699
|
return e.resolveAll && o.push(e), u;
|
|
11700
|
-
function
|
|
11700
|
+
function h(L) {
|
|
11701
11701
|
return a = Qt(a, L), C(), a[a.length - 1] !== null ? [] : (X(e, 0), u.events = Fl(o, u.events, u), u.events);
|
|
11702
11702
|
}
|
|
11703
11703
|
function f(L, N) {
|
|
@@ -11737,7 +11737,7 @@ function ZA(t, e, n) {
|
|
|
11737
11737
|
}
|
|
11738
11738
|
}
|
|
11739
11739
|
function x(L) {
|
|
11740
|
-
|
|
11740
|
+
c = c(L);
|
|
11741
11741
|
}
|
|
11742
11742
|
function k(L) {
|
|
11743
11743
|
J(L) ? (r.line++, r.column = 1, r.offset += L === -3 ? 2 : 1, T()) : L !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
@@ -11914,22 +11914,22 @@ function rE() {
|
|
|
11914
11914
|
return i;
|
|
11915
11915
|
function i(o, a, l) {
|
|
11916
11916
|
const s = [];
|
|
11917
|
-
let u,
|
|
11918
|
-
for (o = e + (typeof o == "string" ? o.toString() : new TextDecoder(a || void 0).decode(o)),
|
|
11919
|
-
if (zu.lastIndex =
|
|
11920
|
-
e = o.slice(
|
|
11917
|
+
let u, c, h, f, d;
|
|
11918
|
+
for (o = e + (typeof o == "string" ? o.toString() : new TextDecoder(a || void 0).decode(o)), h = 0, e = "", n && (o.charCodeAt(0) === 65279 && h++, n = void 0); h < o.length; ) {
|
|
11919
|
+
if (zu.lastIndex = h, u = zu.exec(o), f = u && u.index !== void 0 ? u.index : o.length, d = o.charCodeAt(f), !u) {
|
|
11920
|
+
e = o.slice(h);
|
|
11921
11921
|
break;
|
|
11922
11922
|
}
|
|
11923
|
-
if (d === 10 &&
|
|
11923
|
+
if (d === 10 && h === f && r)
|
|
11924
11924
|
s.push(-3), r = void 0;
|
|
11925
11925
|
else
|
|
11926
|
-
switch (r && (s.push(-5), r = void 0),
|
|
11926
|
+
switch (r && (s.push(-5), r = void 0), h < f && (s.push(o.slice(h, f)), t += f - h), d) {
|
|
11927
11927
|
case 0: {
|
|
11928
11928
|
s.push(65533), t++;
|
|
11929
11929
|
break;
|
|
11930
11930
|
}
|
|
11931
11931
|
case 9: {
|
|
11932
|
-
for (
|
|
11932
|
+
for (c = Math.ceil(t / 4) * 4, s.push(-2); t++ < c; ) s.push(-1);
|
|
11933
11933
|
break;
|
|
11934
11934
|
}
|
|
11935
11935
|
case 10: {
|
|
@@ -11939,7 +11939,7 @@ function rE() {
|
|
|
11939
11939
|
default:
|
|
11940
11940
|
r = !0, t = 1;
|
|
11941
11941
|
}
|
|
11942
|
-
|
|
11942
|
+
h = f + 1;
|
|
11943
11943
|
}
|
|
11944
11944
|
return l && (r && s.push(-5), e && s.push(e), s.push(null)), s;
|
|
11945
11945
|
}
|
|
@@ -12009,7 +12009,7 @@ function sE(t) {
|
|
|
12009
12009
|
link: o(Ge),
|
|
12010
12010
|
listItem: o(jr),
|
|
12011
12011
|
listItemValue: f,
|
|
12012
|
-
listOrdered: o(Xe,
|
|
12012
|
+
listOrdered: o(Xe, h),
|
|
12013
12013
|
listUnordered: o(Xe),
|
|
12014
12014
|
paragraph: o(Hr),
|
|
12015
12015
|
reference: m,
|
|
@@ -12087,7 +12087,7 @@ function sE(t) {
|
|
|
12087
12087
|
enter: l,
|
|
12088
12088
|
exit: u,
|
|
12089
12089
|
buffer: a,
|
|
12090
|
-
resume:
|
|
12090
|
+
resume: c,
|
|
12091
12091
|
data: n
|
|
12092
12092
|
}, rt = [];
|
|
12093
12093
|
let ut = -1;
|
|
@@ -12209,10 +12209,10 @@ function sE(t) {
|
|
|
12209
12209
|
}) + "): it’s not open");
|
|
12210
12210
|
Z.position.end = Re(A.end);
|
|
12211
12211
|
}
|
|
12212
|
-
function
|
|
12212
|
+
function c() {
|
|
12213
12213
|
return av(this.stack.pop());
|
|
12214
12214
|
}
|
|
12215
|
-
function
|
|
12215
|
+
function h() {
|
|
12216
12216
|
this.data.expectingFirstListItemValue = !0;
|
|
12217
12217
|
}
|
|
12218
12218
|
function f(A) {
|
|
@@ -12726,9 +12726,9 @@ function TE(t, e) {
|
|
|
12726
12726
|
function SE(t, e, n) {
|
|
12727
12727
|
const r = t.all(e), i = n ? vE(n) : pd(e), o = {}, a = [];
|
|
12728
12728
|
if (typeof e.checked == "boolean") {
|
|
12729
|
-
const
|
|
12730
|
-
let
|
|
12731
|
-
|
|
12729
|
+
const c = r[0];
|
|
12730
|
+
let h;
|
|
12731
|
+
c && c.type === "element" && c.tagName === "p" ? h = c : (h = { type: "element", tagName: "p", properties: {}, children: [] }, r.unshift(h)), h.children.length > 0 && h.children.unshift({ type: "text", value: " " }), h.children.unshift({
|
|
12732
12732
|
type: "element",
|
|
12733
12733
|
tagName: "input",
|
|
12734
12734
|
properties: { type: "checkbox", checked: e.checked, disabled: !0 },
|
|
@@ -12737,9 +12737,9 @@ function SE(t, e, n) {
|
|
|
12737
12737
|
}
|
|
12738
12738
|
let l = -1;
|
|
12739
12739
|
for (; ++l < r.length; ) {
|
|
12740
|
-
const
|
|
12741
|
-
(i || l !== 0 ||
|
|
12742
|
-
` }),
|
|
12740
|
+
const c = r[l];
|
|
12741
|
+
(i || l !== 0 || c.type !== "element" || c.tagName !== "p") && a.push({ type: "text", value: `
|
|
12742
|
+
` }), c.type === "element" && c.tagName === "p" && !i ? a.push(...c.children) : a.push(c);
|
|
12743
12743
|
}
|
|
12744
12744
|
const s = r[r.length - 1];
|
|
12745
12745
|
s && (i || s.type !== "element" || s.tagName !== "p") && a.push({ type: "text", value: `
|
|
@@ -12835,18 +12835,18 @@ function IE(t, e, n) {
|
|
|
12835
12835
|
let s = -1;
|
|
12836
12836
|
const u = [];
|
|
12837
12837
|
for (; ++s < l; ) {
|
|
12838
|
-
const
|
|
12838
|
+
const h = e.children[s], f = {}, d = a ? a[s] : void 0;
|
|
12839
12839
|
d && (f.align = d);
|
|
12840
12840
|
let p = { type: "element", tagName: o, properties: f, children: [] };
|
|
12841
|
-
|
|
12841
|
+
h && (p.children = t.all(h), t.patch(h, p), p = t.applyData(h, p)), u.push(p);
|
|
12842
12842
|
}
|
|
12843
|
-
const
|
|
12843
|
+
const c = {
|
|
12844
12844
|
type: "element",
|
|
12845
12845
|
tagName: "tr",
|
|
12846
12846
|
properties: {},
|
|
12847
12847
|
children: t.wrap(u, !0)
|
|
12848
12848
|
};
|
|
12849
|
-
return t.patch(e,
|
|
12849
|
+
return t.patch(e, c), t.applyData(e, c);
|
|
12850
12850
|
}
|
|
12851
12851
|
function ME(t, e) {
|
|
12852
12852
|
const n = {
|
|
@@ -13018,31 +13018,31 @@ const gd = -1, uo = 0, Cr = 1, zi = 2, Il = 3, Ml = 4, Ol = 5, Dl = 6, md = 7, y
|
|
|
13018
13018
|
let [l, s] = ar(a);
|
|
13019
13019
|
switch (l) {
|
|
13020
13020
|
case uo: {
|
|
13021
|
-
let
|
|
13021
|
+
let c = a;
|
|
13022
13022
|
switch (s) {
|
|
13023
13023
|
case "bigint":
|
|
13024
|
-
l = yd,
|
|
13024
|
+
l = yd, c = a.toString();
|
|
13025
13025
|
break;
|
|
13026
13026
|
case "function":
|
|
13027
13027
|
case "symbol":
|
|
13028
13028
|
if (t)
|
|
13029
13029
|
throw new TypeError("unable to serialize " + s);
|
|
13030
|
-
|
|
13030
|
+
c = null;
|
|
13031
13031
|
break;
|
|
13032
13032
|
case "undefined":
|
|
13033
13033
|
return i([gd], a);
|
|
13034
13034
|
}
|
|
13035
|
-
return i([l,
|
|
13035
|
+
return i([l, c], a);
|
|
13036
13036
|
}
|
|
13037
13037
|
case Cr: {
|
|
13038
13038
|
if (s) {
|
|
13039
13039
|
let f = a;
|
|
13040
13040
|
return s === "DataView" ? f = new Uint8Array(a.buffer) : s === "ArrayBuffer" && (f = new Uint8Array(a)), i([s, [...f]], a);
|
|
13041
13041
|
}
|
|
13042
|
-
const
|
|
13042
|
+
const c = [], h = i([l, c], a);
|
|
13043
13043
|
for (const f of a)
|
|
13044
|
-
|
|
13045
|
-
return
|
|
13044
|
+
c.push(o(f));
|
|
13045
|
+
return h;
|
|
13046
13046
|
}
|
|
13047
13047
|
case zi: {
|
|
13048
13048
|
if (s)
|
|
@@ -13056,28 +13056,28 @@ const gd = -1, uo = 0, Cr = 1, zi = 2, Il = 3, Ml = 4, Ol = 5, Dl = 6, md = 7, y
|
|
|
13056
13056
|
}
|
|
13057
13057
|
if (e && "toJSON" in a)
|
|
13058
13058
|
return o(a.toJSON());
|
|
13059
|
-
const
|
|
13059
|
+
const c = [], h = i([l, c], a);
|
|
13060
13060
|
for (const f of NE(a))
|
|
13061
|
-
(t || !ti(ar(a[f]))) &&
|
|
13062
|
-
return
|
|
13061
|
+
(t || !ti(ar(a[f]))) && c.push([o(f), o(a[f])]);
|
|
13062
|
+
return h;
|
|
13063
13063
|
}
|
|
13064
13064
|
case Il:
|
|
13065
13065
|
return i([l, a.toISOString()], a);
|
|
13066
13066
|
case Ml: {
|
|
13067
|
-
const { source:
|
|
13068
|
-
return i([l, { source:
|
|
13067
|
+
const { source: c, flags: h } = a;
|
|
13068
|
+
return i([l, { source: c, flags: h }], a);
|
|
13069
13069
|
}
|
|
13070
13070
|
case Ol: {
|
|
13071
|
-
const
|
|
13071
|
+
const c = [], h = i([l, c], a);
|
|
13072
13072
|
for (const [f, d] of a)
|
|
13073
|
-
(t || !(ti(ar(f)) || ti(ar(d)))) &&
|
|
13074
|
-
return
|
|
13073
|
+
(t || !(ti(ar(f)) || ti(ar(d)))) && c.push([o(f), o(d)]);
|
|
13074
|
+
return h;
|
|
13075
13075
|
}
|
|
13076
13076
|
case Dl: {
|
|
13077
|
-
const
|
|
13077
|
+
const c = [], h = i([l, c], a);
|
|
13078
13078
|
for (const f of a)
|
|
13079
|
-
(t || !ti(ar(f))) &&
|
|
13080
|
-
return
|
|
13079
|
+
(t || !ti(ar(f))) && c.push(o(f));
|
|
13080
|
+
return h;
|
|
13081
13081
|
}
|
|
13082
13082
|
}
|
|
13083
13083
|
const { message: u } = a;
|
|
@@ -13114,9 +13114,9 @@ function WE(t) {
|
|
|
13114
13114
|
);
|
|
13115
13115
|
if (!u)
|
|
13116
13116
|
continue;
|
|
13117
|
-
const
|
|
13117
|
+
const c = t.all(u), h = String(u.identifier).toUpperCase(), f = Yn(h.toLowerCase());
|
|
13118
13118
|
let d = 0;
|
|
13119
|
-
const p = [], b = t.footnoteCounts.get(
|
|
13119
|
+
const p = [], b = t.footnoteCounts.get(h);
|
|
13120
13120
|
for (; b !== void 0 && ++d <= b; ) {
|
|
13121
13121
|
p.length > 0 && p.push({ type: "text", value: " " });
|
|
13122
13122
|
let k = typeof n == "string" ? n : n(s, d);
|
|
@@ -13132,17 +13132,17 @@ function WE(t) {
|
|
|
13132
13132
|
children: Array.isArray(k) ? k : [k]
|
|
13133
13133
|
});
|
|
13134
13134
|
}
|
|
13135
|
-
const C =
|
|
13135
|
+
const C = c[c.length - 1];
|
|
13136
13136
|
if (C && C.type === "element" && C.tagName === "p") {
|
|
13137
13137
|
const k = C.children[C.children.length - 1];
|
|
13138
13138
|
k && k.type === "text" ? k.value += " " : C.children.push({ type: "text", value: " " }), C.children.push(...p);
|
|
13139
13139
|
} else
|
|
13140
|
-
|
|
13140
|
+
c.push(...p);
|
|
13141
13141
|
const x = {
|
|
13142
13142
|
type: "element",
|
|
13143
13143
|
tagName: "li",
|
|
13144
13144
|
properties: { id: e + "fn-" + f },
|
|
13145
|
-
children: t.wrap(
|
|
13145
|
+
children: t.wrap(c, !0)
|
|
13146
13146
|
};
|
|
13147
13147
|
t.patch(u, x), l.push(x);
|
|
13148
13148
|
}
|
|
@@ -13268,17 +13268,17 @@ function bd(t, e, n, r) {
|
|
|
13268
13268
|
typeof e == "function" && typeof n != "function" ? (r = n, n = e) : i = e;
|
|
13269
13269
|
const o = co(i), a = r ? -1 : 1;
|
|
13270
13270
|
l(t, void 0, [])();
|
|
13271
|
-
function l(s, u,
|
|
13272
|
-
const
|
|
13271
|
+
function l(s, u, c) {
|
|
13272
|
+
const h = (
|
|
13273
13273
|
/** @type {Record<string, unknown>} */
|
|
13274
13274
|
s && typeof s == "object" ? s : {}
|
|
13275
13275
|
);
|
|
13276
|
-
if (typeof
|
|
13276
|
+
if (typeof h.type == "string") {
|
|
13277
13277
|
const d = (
|
|
13278
13278
|
// `hast`
|
|
13279
|
-
typeof
|
|
13279
|
+
typeof h.tagName == "string" ? h.tagName : (
|
|
13280
13280
|
// `xast`
|
|
13281
|
-
typeof
|
|
13281
|
+
typeof h.name == "string" ? h.name : void 0
|
|
13282
13282
|
)
|
|
13283
13283
|
);
|
|
13284
13284
|
Object.defineProperty(f, "name", {
|
|
@@ -13288,7 +13288,7 @@ function bd(t, e, n, r) {
|
|
|
13288
13288
|
return f;
|
|
13289
13289
|
function f() {
|
|
13290
13290
|
let d = xd, p, b, C;
|
|
13291
|
-
if ((!e || o(s, u,
|
|
13291
|
+
if ((!e || o(s, u, c[c.length - 1] || void 0)) && (d = ZE(n(s, c)), d[0] === Ba))
|
|
13292
13292
|
return d;
|
|
13293
13293
|
if ("children" in s && s.children) {
|
|
13294
13294
|
const x = (
|
|
@@ -13296,7 +13296,7 @@ function bd(t, e, n, r) {
|
|
|
13296
13296
|
s
|
|
13297
13297
|
);
|
|
13298
13298
|
if (x.children && d[0] !== JE)
|
|
13299
|
-
for (b = (r ? x.children.length : -1) + a, C =
|
|
13299
|
+
for (b = (r ? x.children.length : -1) + a, C = c.concat(x); b > -1 && b < x.children.length; ) {
|
|
13300
13300
|
const k = x.children[b];
|
|
13301
13301
|
if (p = l(k, b, C)(), p[0] === Ba)
|
|
13302
13302
|
return p;
|
|
@@ -13314,8 +13314,8 @@ function Pl(t, e, n, r) {
|
|
|
13314
13314
|
let i, o, a;
|
|
13315
13315
|
typeof e == "function" && typeof n != "function" ? (o = void 0, a = e, i = n) : (o = e, a = n, i = r), bd(t, o, l, i);
|
|
13316
13316
|
function l(s, u) {
|
|
13317
|
-
const
|
|
13318
|
-
return a(s,
|
|
13317
|
+
const c = u[u.length - 1], h = c ? c.children.indexOf(s) : void 0;
|
|
13318
|
+
return a(s, h, c);
|
|
13319
13319
|
}
|
|
13320
13320
|
}
|
|
13321
13321
|
const Ia = {}.hasOwnProperty, QE = {};
|
|
@@ -13333,42 +13333,42 @@ function tL(t, e) {
|
|
|
13333
13333
|
patch: eL,
|
|
13334
13334
|
wrap: iL
|
|
13335
13335
|
};
|
|
13336
|
-
return Pl(t, function(
|
|
13337
|
-
if (
|
|
13338
|
-
const
|
|
13339
|
-
|
|
13336
|
+
return Pl(t, function(c) {
|
|
13337
|
+
if (c.type === "definition" || c.type === "footnoteDefinition") {
|
|
13338
|
+
const h = c.type === "definition" ? r : i, f = String(c.identifier).toUpperCase();
|
|
13339
|
+
h.has(f) || h.set(f, c);
|
|
13340
13340
|
}
|
|
13341
13341
|
}), l;
|
|
13342
|
-
function s(
|
|
13343
|
-
const f =
|
|
13342
|
+
function s(c, h) {
|
|
13343
|
+
const f = c.type, d = l.handlers[f];
|
|
13344
13344
|
if (Ia.call(l.handlers, f) && d)
|
|
13345
|
-
return d(l,
|
|
13345
|
+
return d(l, c, h);
|
|
13346
13346
|
if (l.options.passThrough && l.options.passThrough.includes(f)) {
|
|
13347
|
-
if ("children" in
|
|
13348
|
-
const { children: b, ...C } =
|
|
13349
|
-
return x.children = l.all(
|
|
13347
|
+
if ("children" in c) {
|
|
13348
|
+
const { children: b, ...C } = c, x = Ni(C);
|
|
13349
|
+
return x.children = l.all(c), x;
|
|
13350
13350
|
}
|
|
13351
|
-
return Ni(
|
|
13351
|
+
return Ni(c);
|
|
13352
13352
|
}
|
|
13353
|
-
return (l.options.unknownHandler || rL)(l,
|
|
13353
|
+
return (l.options.unknownHandler || rL)(l, c, h);
|
|
13354
13354
|
}
|
|
13355
|
-
function u(
|
|
13356
|
-
const
|
|
13357
|
-
if ("children" in
|
|
13358
|
-
const f =
|
|
13355
|
+
function u(c) {
|
|
13356
|
+
const h = [];
|
|
13357
|
+
if ("children" in c) {
|
|
13358
|
+
const f = c.children;
|
|
13359
13359
|
let d = -1;
|
|
13360
13360
|
for (; ++d < f.length; ) {
|
|
13361
|
-
const p = l.one(f[d],
|
|
13361
|
+
const p = l.one(f[d], c);
|
|
13362
13362
|
if (p) {
|
|
13363
13363
|
if (d && f[d - 1].type === "break" && (!Array.isArray(p) && p.type === "text" && (p.value = Ku(p.value)), !Array.isArray(p) && p.type === "element")) {
|
|
13364
13364
|
const b = p.children[0];
|
|
13365
13365
|
b && b.type === "text" && (b.value = Ku(b.value));
|
|
13366
13366
|
}
|
|
13367
|
-
Array.isArray(p) ?
|
|
13367
|
+
Array.isArray(p) ? h.push(...p) : h.push(p);
|
|
13368
13368
|
}
|
|
13369
13369
|
}
|
|
13370
13370
|
}
|
|
13371
|
-
return
|
|
13371
|
+
return h;
|
|
13372
13372
|
}
|
|
13373
13373
|
}
|
|
13374
13374
|
function eL(t, e) {
|
|
@@ -13446,34 +13446,34 @@ function aL() {
|
|
|
13446
13446
|
}, o = function(u) {
|
|
13447
13447
|
if (!u || e.call(u) !== "[object Object]")
|
|
13448
13448
|
return !1;
|
|
13449
|
-
var
|
|
13450
|
-
if (u.constructor && !
|
|
13449
|
+
var c = t.call(u, "constructor"), h = u.constructor && u.constructor.prototype && t.call(u.constructor.prototype, "isPrototypeOf");
|
|
13450
|
+
if (u.constructor && !c && !h)
|
|
13451
13451
|
return !1;
|
|
13452
13452
|
var f;
|
|
13453
13453
|
for (f in u)
|
|
13454
13454
|
;
|
|
13455
13455
|
return typeof f > "u" || t.call(u, f);
|
|
13456
|
-
}, a = function(u,
|
|
13457
|
-
n &&
|
|
13456
|
+
}, a = function(u, c) {
|
|
13457
|
+
n && c.name === "__proto__" ? n(u, c.name, {
|
|
13458
13458
|
enumerable: !0,
|
|
13459
13459
|
configurable: !0,
|
|
13460
|
-
value:
|
|
13460
|
+
value: c.newValue,
|
|
13461
13461
|
writable: !0
|
|
13462
|
-
}) : u[
|
|
13463
|
-
}, l = function(u,
|
|
13464
|
-
if (
|
|
13465
|
-
if (t.call(u,
|
|
13462
|
+
}) : u[c.name] = c.newValue;
|
|
13463
|
+
}, l = function(u, c) {
|
|
13464
|
+
if (c === "__proto__")
|
|
13465
|
+
if (t.call(u, c)) {
|
|
13466
13466
|
if (r)
|
|
13467
|
-
return r(u,
|
|
13467
|
+
return r(u, c).value;
|
|
13468
13468
|
} else return;
|
|
13469
|
-
return u[
|
|
13469
|
+
return u[c];
|
|
13470
13470
|
};
|
|
13471
13471
|
return qo = function s() {
|
|
13472
|
-
var u,
|
|
13472
|
+
var u, c, h, f, d, p, b = arguments[0], C = 1, x = arguments.length, k = !1;
|
|
13473
13473
|
for (typeof b == "boolean" && (k = b, b = arguments[1] || {}, C = 2), (b == null || typeof b != "object" && typeof b != "function") && (b = {}); C < x; ++C)
|
|
13474
13474
|
if (u = arguments[C], u != null)
|
|
13475
|
-
for (
|
|
13476
|
-
|
|
13475
|
+
for (c in u)
|
|
13476
|
+
h = l(b, c), f = l(u, c), b !== f && (k && f && (o(f) || (d = i(f))) ? (d ? (d = !1, p = h && i(h) ? h : []) : p = h && o(h) ? h : {}, a(b, { name: c, newValue: s(k, p, f) })) : typeof f < "u" && a(b, { name: c, newValue: f }));
|
|
13477
13477
|
return b;
|
|
13478
13478
|
}, qo;
|
|
13479
13479
|
}
|
|
@@ -13495,15 +13495,15 @@ function sL() {
|
|
|
13495
13495
|
throw new TypeError("Expected function as last argument, not " + a);
|
|
13496
13496
|
l(null, ...i);
|
|
13497
13497
|
function l(s, ...u) {
|
|
13498
|
-
const
|
|
13499
|
-
let
|
|
13498
|
+
const c = t[++o];
|
|
13499
|
+
let h = -1;
|
|
13500
13500
|
if (s) {
|
|
13501
13501
|
a(s);
|
|
13502
13502
|
return;
|
|
13503
13503
|
}
|
|
13504
|
-
for (; ++
|
|
13505
|
-
(u[
|
|
13506
|
-
i = u,
|
|
13504
|
+
for (; ++h < i.length; )
|
|
13505
|
+
(u[h] === null || u[h] === void 0) && (u[h] = i[h]);
|
|
13506
|
+
i = u, c ? uL(c, l)(...u) : a(null, ...u);
|
|
13507
13507
|
}
|
|
13508
13508
|
}
|
|
13509
13509
|
function r(i) {
|
|
@@ -13524,13 +13524,13 @@ function uL(t, e) {
|
|
|
13524
13524
|
try {
|
|
13525
13525
|
s = t.apply(this, a);
|
|
13526
13526
|
} catch (u) {
|
|
13527
|
-
const
|
|
13527
|
+
const c = (
|
|
13528
13528
|
/** @type {Error} */
|
|
13529
13529
|
u
|
|
13530
13530
|
);
|
|
13531
13531
|
if (l && n)
|
|
13532
|
-
throw
|
|
13533
|
-
return i(
|
|
13532
|
+
throw c;
|
|
13533
|
+
return i(c);
|
|
13534
13534
|
}
|
|
13535
13535
|
l || (s && s.then && typeof s.then == "function" ? s.then(o, i) : s instanceof Error ? i(s) : o(s));
|
|
13536
13536
|
}
|
|
@@ -14311,22 +14311,22 @@ class $l extends _L {
|
|
|
14311
14311
|
/** @type {unknown} */
|
|
14312
14312
|
r.parse(l)
|
|
14313
14313
|
);
|
|
14314
|
-
r.run(s, l, function(
|
|
14315
|
-
if (
|
|
14316
|
-
return u(
|
|
14314
|
+
r.run(s, l, function(c, h, f) {
|
|
14315
|
+
if (c || !h || !f)
|
|
14316
|
+
return u(c);
|
|
14317
14317
|
const d = (
|
|
14318
14318
|
/** @type {CompileTree extends undefined ? Node : CompileTree} */
|
|
14319
14319
|
/** @type {unknown} */
|
|
14320
|
-
|
|
14320
|
+
h
|
|
14321
14321
|
), p = r.stringify(d, f);
|
|
14322
14322
|
SL(p) ? f.value = p : f.result = p, u(
|
|
14323
|
-
|
|
14323
|
+
c,
|
|
14324
14324
|
/** @type {VFileWithOutput<CompileResult>} */
|
|
14325
14325
|
f
|
|
14326
14326
|
);
|
|
14327
14327
|
});
|
|
14328
|
-
function u(
|
|
14329
|
-
|
|
14328
|
+
function u(c, h) {
|
|
14329
|
+
c || !h ? a(c) : o ? o(h) : n(void 0, h);
|
|
14330
14330
|
}
|
|
14331
14331
|
}
|
|
14332
14332
|
}
|
|
@@ -14413,12 +14413,12 @@ class $l extends _L {
|
|
|
14413
14413
|
function o(a, l) {
|
|
14414
14414
|
const s = ei(n);
|
|
14415
14415
|
i.run(e, s, u);
|
|
14416
|
-
function u(
|
|
14416
|
+
function u(c, h, f) {
|
|
14417
14417
|
const d = (
|
|
14418
14418
|
/** @type {TailTree extends undefined ? Node : TailTree} */
|
|
14419
|
-
|
|
14419
|
+
h || e
|
|
14420
14420
|
);
|
|
14421
|
-
|
|
14421
|
+
c ? l(c) : a ? a(d) : r(void 0, d, f);
|
|
14422
14422
|
}
|
|
14423
14423
|
}
|
|
14424
14424
|
}
|
|
@@ -14551,11 +14551,11 @@ class $l extends _L {
|
|
|
14551
14551
|
s(u, []);
|
|
14552
14552
|
else if (typeof u == "object")
|
|
14553
14553
|
if (Array.isArray(u)) {
|
|
14554
|
-
const [
|
|
14554
|
+
const [c, ...h] = (
|
|
14555
14555
|
/** @type {PluginTuple<Array<unknown>>} */
|
|
14556
14556
|
u
|
|
14557
14557
|
);
|
|
14558
|
-
s(
|
|
14558
|
+
s(c, h);
|
|
14559
14559
|
} else
|
|
14560
14560
|
a(u);
|
|
14561
14561
|
else
|
|
@@ -14569,26 +14569,26 @@ class $l extends _L {
|
|
|
14569
14569
|
l(u.plugins), u.settings && (i.settings = jo(!0, i.settings, u.settings));
|
|
14570
14570
|
}
|
|
14571
14571
|
function l(u) {
|
|
14572
|
-
let
|
|
14572
|
+
let c = -1;
|
|
14573
14573
|
if (u != null) if (Array.isArray(u))
|
|
14574
|
-
for (; ++
|
|
14575
|
-
const
|
|
14576
|
-
o(
|
|
14574
|
+
for (; ++c < u.length; ) {
|
|
14575
|
+
const h = u[c];
|
|
14576
|
+
o(h);
|
|
14577
14577
|
}
|
|
14578
14578
|
else
|
|
14579
14579
|
throw new TypeError("Expected a list of plugins, not `" + u + "`");
|
|
14580
14580
|
}
|
|
14581
|
-
function s(u,
|
|
14582
|
-
let
|
|
14583
|
-
for (; ++
|
|
14584
|
-
if (r[
|
|
14585
|
-
f =
|
|
14581
|
+
function s(u, c) {
|
|
14582
|
+
let h = -1, f = -1;
|
|
14583
|
+
for (; ++h < r.length; )
|
|
14584
|
+
if (r[h][0] === u) {
|
|
14585
|
+
f = h;
|
|
14586
14586
|
break;
|
|
14587
14587
|
}
|
|
14588
14588
|
if (f === -1)
|
|
14589
|
-
r.push([u, ...
|
|
14590
|
-
else if (
|
|
14591
|
-
let [d, ...p] =
|
|
14589
|
+
r.push([u, ...c]);
|
|
14590
|
+
else if (c.length > 0) {
|
|
14591
|
+
let [d, ...p] = c;
|
|
14592
14592
|
const b = r[f][1];
|
|
14593
14593
|
Ma(b) && Ma(d) && (d = jo(!0, b, d)), r[f] = [u, d, ...p];
|
|
14594
14594
|
}
|
|
@@ -14679,8 +14679,8 @@ function IL(t) {
|
|
|
14679
14679
|
}
|
|
14680
14680
|
function ML(t, e) {
|
|
14681
14681
|
const n = e.allowedElements, r = e.allowElement, i = e.components, o = e.disallowedElements, a = e.skipHtml, l = e.unwrapDisallowed, s = e.urlTransform || OL;
|
|
14682
|
-
for (const
|
|
14683
|
-
Object.hasOwn(e,
|
|
14682
|
+
for (const c of LL)
|
|
14683
|
+
Object.hasOwn(e, c.from) && ("" + c.from + (c.to ? "use `" + c.to + "` instead" : "remove it") + AL + c.id, void 0);
|
|
14684
14684
|
return e.className && (t = {
|
|
14685
14685
|
type: "element",
|
|
14686
14686
|
tagName: "div",
|
|
@@ -14702,21 +14702,21 @@ function ML(t, e) {
|
|
|
14702
14702
|
passKeys: !0,
|
|
14703
14703
|
passNode: !0
|
|
14704
14704
|
});
|
|
14705
|
-
function u(
|
|
14706
|
-
if (
|
|
14707
|
-
return a ? f.children.splice(
|
|
14708
|
-
if (
|
|
14705
|
+
function u(c, h, f) {
|
|
14706
|
+
if (c.type === "raw" && f && typeof h == "number")
|
|
14707
|
+
return a ? f.children.splice(h, 1) : f.children[h] = { type: "text", value: c.value }, h;
|
|
14708
|
+
if (c.type === "element") {
|
|
14709
14709
|
let d;
|
|
14710
14710
|
for (d in Ro)
|
|
14711
|
-
if (Object.hasOwn(Ro, d) && Object.hasOwn(
|
|
14712
|
-
const p =
|
|
14713
|
-
(b === null || b.includes(
|
|
14711
|
+
if (Object.hasOwn(Ro, d) && Object.hasOwn(c.properties, d)) {
|
|
14712
|
+
const p = c.properties[d], b = Ro[d];
|
|
14713
|
+
(b === null || b.includes(c.tagName)) && (c.properties[d] = s(String(p || ""), d, c));
|
|
14714
14714
|
}
|
|
14715
14715
|
}
|
|
14716
|
-
if (
|
|
14717
|
-
let d = n ? !n.includes(
|
|
14718
|
-
if (!d && r && typeof
|
|
14719
|
-
return l &&
|
|
14716
|
+
if (c.type === "element") {
|
|
14717
|
+
let d = n ? !n.includes(c.tagName) : o ? o.includes(c.tagName) : !1;
|
|
14718
|
+
if (!d && r && typeof h == "number" && (d = !r(c, h, f)), d && f && typeof h == "number")
|
|
14719
|
+
return l && c.children ? f.children.splice(h, 1, ...c.children) : f.children.splice(h, 1), h;
|
|
14720
14720
|
}
|
|
14721
14721
|
}
|
|
14722
14722
|
}
|
|
@@ -14739,10 +14739,10 @@ function _d(t, e, n) {
|
|
|
14739
14739
|
let a = -1;
|
|
14740
14740
|
for (; ++a < o.length; )
|
|
14741
14741
|
bd(t, "text", l);
|
|
14742
|
-
function l(u,
|
|
14743
|
-
let
|
|
14744
|
-
for (; ++
|
|
14745
|
-
const d = h
|
|
14742
|
+
function l(u, c) {
|
|
14743
|
+
let h = -1, f;
|
|
14744
|
+
for (; ++h < c.length; ) {
|
|
14745
|
+
const d = c[h], p = f ? f.children : void 0;
|
|
14746
14746
|
if (i(
|
|
14747
14747
|
d,
|
|
14748
14748
|
p ? p.indexOf(d) : void 0,
|
|
@@ -14752,12 +14752,12 @@ function _d(t, e, n) {
|
|
|
14752
14752
|
f = d;
|
|
14753
14753
|
}
|
|
14754
14754
|
if (f)
|
|
14755
|
-
return s(u,
|
|
14755
|
+
return s(u, c);
|
|
14756
14756
|
}
|
|
14757
|
-
function s(u,
|
|
14758
|
-
const
|
|
14757
|
+
function s(u, c) {
|
|
14758
|
+
const h = c[c.length - 1], f = o[a][0], d = o[a][1];
|
|
14759
14759
|
let p = 0;
|
|
14760
|
-
const C =
|
|
14760
|
+
const C = h.children.indexOf(u);
|
|
14761
14761
|
let x = !1, k = [];
|
|
14762
14762
|
f.lastIndex = 0;
|
|
14763
14763
|
let v = f.exec(u.value);
|
|
@@ -14765,7 +14765,7 @@ function _d(t, e, n) {
|
|
|
14765
14765
|
const M = v.index, R = {
|
|
14766
14766
|
index: v.index,
|
|
14767
14767
|
input: v.input,
|
|
14768
|
-
stack: [...
|
|
14768
|
+
stack: [...c, u]
|
|
14769
14769
|
};
|
|
14770
14770
|
let w = d(...v, R);
|
|
14771
14771
|
if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? f.lastIndex = M + 1 : (p !== M && k.push({
|
|
@@ -14775,7 +14775,7 @@ function _d(t, e, n) {
|
|
|
14775
14775
|
break;
|
|
14776
14776
|
v = f.exec(u.value);
|
|
14777
14777
|
}
|
|
14778
|
-
return x ? (p < u.value.length && k.push({ type: "text", value: u.value.slice(p) }),
|
|
14778
|
+
return x ? (p < u.value.length && k.push({ type: "text", value: u.value.slice(p) }), h.children.splice(C, 1, ...k)) : k = [u], C + k.length;
|
|
14779
14779
|
}
|
|
14780
14780
|
}
|
|
14781
14781
|
function PL(t) {
|
|
@@ -15021,10 +15021,10 @@ function fF(t) {
|
|
|
15021
15021
|
function n(r, i, o, a) {
|
|
15022
15022
|
const l = o.createTracker(a);
|
|
15023
15023
|
let s = l.move("[^");
|
|
15024
|
-
const u = o.enter("footnoteDefinition"),
|
|
15024
|
+
const u = o.enter("footnoteDefinition"), c = o.enter("label");
|
|
15025
15025
|
return s += l.move(
|
|
15026
15026
|
o.safe(o.associationId(r), { before: s, after: "]" })
|
|
15027
|
-
),
|
|
15027
|
+
), c(), s += l.move("]:"), r.children && r.children.length > 0 && (l.shift(4), s += l.move(
|
|
15028
15028
|
(e ? `
|
|
15029
15029
|
` : " ") + o.indentLines(
|
|
15030
15030
|
o.containerFlow(r, l.current()),
|
|
@@ -15090,58 +15090,58 @@ function CF(t) {
|
|
|
15090
15090
|
}
|
|
15091
15091
|
function _F(t, e) {
|
|
15092
15092
|
const n = e || {}, r = (n.align || []).concat(), i = n.stringLength || CF, o = [], a = [], l = [], s = [];
|
|
15093
|
-
let u = 0,
|
|
15094
|
-
for (; ++
|
|
15093
|
+
let u = 0, c = -1;
|
|
15094
|
+
for (; ++c < t.length; ) {
|
|
15095
15095
|
const b = [], C = [];
|
|
15096
15096
|
let x = -1;
|
|
15097
|
-
for (t[
|
|
15098
|
-
const k = kF(t[
|
|
15097
|
+
for (t[c].length > u && (u = t[c].length); ++x < t[c].length; ) {
|
|
15098
|
+
const k = kF(t[c][x]);
|
|
15099
15099
|
if (n.alignDelimiters !== !1) {
|
|
15100
15100
|
const v = i(k);
|
|
15101
15101
|
C[x] = v, (s[x] === void 0 || v > s[x]) && (s[x] = v);
|
|
15102
15102
|
}
|
|
15103
15103
|
b.push(k);
|
|
15104
15104
|
}
|
|
15105
|
-
a[
|
|
15105
|
+
a[c] = b, l[c] = C;
|
|
15106
15106
|
}
|
|
15107
|
-
let
|
|
15107
|
+
let h = -1;
|
|
15108
15108
|
if (typeof r == "object" && "length" in r)
|
|
15109
|
-
for (; ++
|
|
15110
|
-
o[
|
|
15109
|
+
for (; ++h < u; )
|
|
15110
|
+
o[h] = ac(r[h]);
|
|
15111
15111
|
else {
|
|
15112
15112
|
const b = ac(r);
|
|
15113
|
-
for (; ++
|
|
15114
|
-
o[
|
|
15113
|
+
for (; ++h < u; )
|
|
15114
|
+
o[h] = b;
|
|
15115
15115
|
}
|
|
15116
|
-
|
|
15116
|
+
h = -1;
|
|
15117
15117
|
const f = [], d = [];
|
|
15118
|
-
for (; ++
|
|
15119
|
-
const b = o[
|
|
15118
|
+
for (; ++h < u; ) {
|
|
15119
|
+
const b = o[h];
|
|
15120
15120
|
let C = "", x = "";
|
|
15121
15121
|
b === 99 ? (C = ":", x = ":") : b === 108 ? C = ":" : b === 114 && (x = ":");
|
|
15122
15122
|
let k = n.alignDelimiters === !1 ? 1 : Math.max(
|
|
15123
15123
|
1,
|
|
15124
|
-
s[
|
|
15124
|
+
s[h] - C.length - x.length
|
|
15125
15125
|
);
|
|
15126
15126
|
const v = C + "-".repeat(k) + x;
|
|
15127
|
-
n.alignDelimiters !== !1 && (k = C.length + k + x.length, k > s[
|
|
15127
|
+
n.alignDelimiters !== !1 && (k = C.length + k + x.length, k > s[h] && (s[h] = k), d[h] = k), f[h] = v;
|
|
15128
15128
|
}
|
|
15129
|
-
a.splice(1, 0, f), l.splice(1, 0, d),
|
|
15129
|
+
a.splice(1, 0, f), l.splice(1, 0, d), c = -1;
|
|
15130
15130
|
const p = [];
|
|
15131
|
-
for (; ++
|
|
15132
|
-
const b = a[
|
|
15133
|
-
|
|
15131
|
+
for (; ++c < a.length; ) {
|
|
15132
|
+
const b = a[c], C = l[c];
|
|
15133
|
+
h = -1;
|
|
15134
15134
|
const x = [];
|
|
15135
|
-
for (; ++
|
|
15136
|
-
const k = b[
|
|
15135
|
+
for (; ++h < u; ) {
|
|
15136
|
+
const k = b[h] || "";
|
|
15137
15137
|
let v = "", M = "";
|
|
15138
15138
|
if (n.alignDelimiters !== !1) {
|
|
15139
|
-
const R = s[
|
|
15139
|
+
const R = s[h] - (C[h] || 0), w = o[h];
|
|
15140
15140
|
w === 114 ? v = " ".repeat(R) : w === 99 ? R % 2 ? (v = " ".repeat(R / 2 + 0.5), M = " ".repeat(R / 2 - 0.5)) : (v = " ".repeat(R / 2), M = v) : M = " ".repeat(R);
|
|
15141
15141
|
}
|
|
15142
|
-
n.delimiterStart !== !1 && !
|
|
15142
|
+
n.delimiterStart !== !1 && !h && x.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
15143
15143
|
// empty: there will be a closing space.
|
|
15144
|
-
!(n.alignDelimiters === !1 && k === "") && (n.delimiterStart !== !1 ||
|
|
15144
|
+
!(n.alignDelimiters === !1 && k === "") && (n.delimiterStart !== !1 || h) && x.push(" "), n.alignDelimiters !== !1 && x.push(v), x.push(k), n.alignDelimiters !== !1 && x.push(M), n.padding !== !1 && x.push(" "), (n.delimiterEnd !== !1 || h !== u - 1) && x.push("|");
|
|
15145
15145
|
}
|
|
15146
15146
|
p.push(
|
|
15147
15147
|
n.delimiterEnd === !1 ? x.join("").replace(/ +$/, "") : x.join("")
|
|
@@ -15216,37 +15216,37 @@ function EF(t) {
|
|
|
15216
15216
|
function LF(t, e, n, r) {
|
|
15217
15217
|
const i = EF(n), o = t.value || "", a = i === "`" ? "GraveAccent" : "Tilde";
|
|
15218
15218
|
if (AF(t, n)) {
|
|
15219
|
-
const
|
|
15220
|
-
return
|
|
15219
|
+
const h = n.enter("codeIndented"), f = n.indentLines(o, FF);
|
|
15220
|
+
return h(), f;
|
|
15221
15221
|
}
|
|
15222
15222
|
const l = n.createTracker(r), s = i.repeat(Math.max(vF(o, i) + 1, 3)), u = n.enter("codeFenced");
|
|
15223
|
-
let
|
|
15223
|
+
let c = l.move(s);
|
|
15224
15224
|
if (t.lang) {
|
|
15225
|
-
const
|
|
15226
|
-
|
|
15225
|
+
const h = n.enter(`codeFencedLang${a}`);
|
|
15226
|
+
c += l.move(
|
|
15227
15227
|
n.safe(t.lang, {
|
|
15228
|
-
before:
|
|
15228
|
+
before: c,
|
|
15229
15229
|
after: " ",
|
|
15230
15230
|
encode: ["`"],
|
|
15231
15231
|
...l.current()
|
|
15232
15232
|
})
|
|
15233
|
-
),
|
|
15233
|
+
), h();
|
|
15234
15234
|
}
|
|
15235
15235
|
if (t.lang && t.meta) {
|
|
15236
|
-
const
|
|
15237
|
-
|
|
15236
|
+
const h = n.enter(`codeFencedMeta${a}`);
|
|
15237
|
+
c += l.move(" "), c += l.move(
|
|
15238
15238
|
n.safe(t.meta, {
|
|
15239
|
-
before:
|
|
15239
|
+
before: c,
|
|
15240
15240
|
after: `
|
|
15241
15241
|
`,
|
|
15242
15242
|
encode: ["`"],
|
|
15243
15243
|
...l.current()
|
|
15244
15244
|
})
|
|
15245
|
-
),
|
|
15245
|
+
), h();
|
|
15246
15246
|
}
|
|
15247
|
-
return
|
|
15248
|
-
`), o && (
|
|
15249
|
-
`)),
|
|
15247
|
+
return c += l.move(`
|
|
15248
|
+
`), o && (c += l.move(o + `
|
|
15249
|
+
`)), c += l.move(s), u(), c;
|
|
15250
15250
|
}
|
|
15251
15251
|
function FF(t, e, n) {
|
|
15252
15252
|
return (n ? "" : " ") + t;
|
|
@@ -15359,18 +15359,18 @@ function Ld(t, e, n, r) {
|
|
|
15359
15359
|
...a.current()
|
|
15360
15360
|
})
|
|
15361
15361
|
);
|
|
15362
|
-
const u = s.charCodeAt(0),
|
|
15362
|
+
const u = s.charCodeAt(0), c = qi(
|
|
15363
15363
|
r.before.charCodeAt(r.before.length - 1),
|
|
15364
15364
|
u,
|
|
15365
15365
|
i
|
|
15366
15366
|
);
|
|
15367
|
-
|
|
15368
|
-
const
|
|
15369
|
-
f.inside && (s = s.slice(0, -1) + Br(
|
|
15367
|
+
c.inside && (s = Br(u) + s.slice(1));
|
|
15368
|
+
const h = s.charCodeAt(s.length - 1), f = qi(r.after.charCodeAt(0), h, i);
|
|
15369
|
+
f.inside && (s = s.slice(0, -1) + Br(h));
|
|
15370
15370
|
const d = a.move(i);
|
|
15371
15371
|
return o(), n.attentionEncodeSurroundingInfo = {
|
|
15372
15372
|
after: f.outside,
|
|
15373
|
-
before:
|
|
15373
|
+
before: c.outside
|
|
15374
15374
|
}, l + s + d;
|
|
15375
15375
|
}
|
|
15376
15376
|
function PF(t, e, n) {
|
|
@@ -15412,14 +15412,14 @@ function zF(t, e) {
|
|
|
15412
15412
|
function NF(t, e, n, r) {
|
|
15413
15413
|
const i = Math.max(Math.min(6, t.depth || 1), 1), o = n.createTracker(r);
|
|
15414
15414
|
if (zF(t, n)) {
|
|
15415
|
-
const
|
|
15415
|
+
const c = n.enter("headingSetext"), h = n.enter("phrasing"), f = n.containerPhrasing(t, {
|
|
15416
15416
|
...o.current(),
|
|
15417
15417
|
before: `
|
|
15418
15418
|
`,
|
|
15419
15419
|
after: `
|
|
15420
15420
|
`
|
|
15421
15421
|
});
|
|
15422
|
-
return
|
|
15422
|
+
return h(), c(), f + `
|
|
15423
15423
|
` + (i === 1 ? "=" : "-").repeat(
|
|
15424
15424
|
// The whole size…
|
|
15425
15425
|
f.length - // Minus the position of the character after the last EOL (or
|
|
@@ -15486,14 +15486,14 @@ function Od(t, e, n, r) {
|
|
|
15486
15486
|
...l.current()
|
|
15487
15487
|
});
|
|
15488
15488
|
s += l.move(u + "]["), a();
|
|
15489
|
-
const
|
|
15489
|
+
const c = n.stack;
|
|
15490
15490
|
n.stack = [], a = n.enter("reference");
|
|
15491
|
-
const
|
|
15491
|
+
const h = n.safe(n.associationId(t), {
|
|
15492
15492
|
before: s,
|
|
15493
15493
|
after: "]",
|
|
15494
15494
|
...l.current()
|
|
15495
15495
|
});
|
|
15496
|
-
return a(), n.stack =
|
|
15496
|
+
return a(), n.stack = c, o(), i === "full" || !u || u !== h ? s += l.move(h + "]") : i === "shortcut" ? s = s.slice(0, -1) : s += l.move("]"), s;
|
|
15497
15497
|
}
|
|
15498
15498
|
function HF() {
|
|
15499
15499
|
return "!";
|
|
@@ -15533,16 +15533,16 @@ function $d(t, e, n, r) {
|
|
|
15533
15533
|
const i = Rl(n), o = i === '"' ? "Quote" : "Apostrophe", a = n.createTracker(r);
|
|
15534
15534
|
let l, s;
|
|
15535
15535
|
if (Pd(t, n)) {
|
|
15536
|
-
const
|
|
15536
|
+
const c = n.stack;
|
|
15537
15537
|
n.stack = [], l = n.enter("autolink");
|
|
15538
|
-
let
|
|
15539
|
-
return
|
|
15538
|
+
let h = a.move("<");
|
|
15539
|
+
return h += a.move(
|
|
15540
15540
|
n.containerPhrasing(t, {
|
|
15541
|
-
before:
|
|
15541
|
+
before: h,
|
|
15542
15542
|
after: ">",
|
|
15543
15543
|
...a.current()
|
|
15544
15544
|
})
|
|
15545
|
-
),
|
|
15545
|
+
), h += a.move(">"), l(), n.stack = c, h;
|
|
15546
15546
|
}
|
|
15547
15547
|
l = n.enter("link"), s = n.enter("label");
|
|
15548
15548
|
let u = a.move("[");
|
|
@@ -15585,14 +15585,14 @@ function Rd(t, e, n, r) {
|
|
|
15585
15585
|
...l.current()
|
|
15586
15586
|
});
|
|
15587
15587
|
s += l.move(u + "]["), a();
|
|
15588
|
-
const
|
|
15588
|
+
const c = n.stack;
|
|
15589
15589
|
n.stack = [], a = n.enter("reference");
|
|
15590
|
-
const
|
|
15590
|
+
const h = n.safe(n.associationId(t), {
|
|
15591
15591
|
before: s,
|
|
15592
15592
|
after: "]",
|
|
15593
15593
|
...l.current()
|
|
15594
15594
|
});
|
|
15595
|
-
return a(), n.stack =
|
|
15595
|
+
return a(), n.stack = c, o(), i === "full" || !u || u !== h ? s += l.move(h + "]") : i === "shortcut" ? s = s.slice(0, -1) : s += l.move("]"), s;
|
|
15596
15596
|
}
|
|
15597
15597
|
function VF() {
|
|
15598
15598
|
return "[";
|
|
@@ -15641,17 +15641,17 @@ function XF(t, e, n, r) {
|
|
|
15641
15641
|
const l = t.ordered ? a === "." ? ")" : "." : YF(n);
|
|
15642
15642
|
let s = e && n.bulletLastUsed ? a === n.bulletLastUsed : !1;
|
|
15643
15643
|
if (!t.ordered) {
|
|
15644
|
-
const
|
|
15644
|
+
const c = t.children ? t.children[0] : void 0;
|
|
15645
15645
|
if (
|
|
15646
15646
|
// Bullet could be used as a thematic break marker:
|
|
15647
15647
|
(a === "*" || a === "-") && // Empty first list item:
|
|
15648
|
-
|
|
15648
|
+
c && (!c.children || !c.children[0]) && // Directly in two other list items:
|
|
15649
15649
|
n.stack[n.stack.length - 1] === "list" && n.stack[n.stack.length - 2] === "listItem" && n.stack[n.stack.length - 3] === "list" && n.stack[n.stack.length - 4] === "listItem" && // That are each the first child.
|
|
15650
|
-
n.indexStack[n.indexStack.length - 1] === 0 && n.indexStack[n.indexStack.length - 2] === 0 && n.indexStack[n.indexStack.length - 3] === 0 && (s = !0), zd(n) === a &&
|
|
15650
|
+
n.indexStack[n.indexStack.length - 1] === 0 && n.indexStack[n.indexStack.length - 2] === 0 && n.indexStack[n.indexStack.length - 3] === 0 && (s = !0), zd(n) === a && c
|
|
15651
15651
|
) {
|
|
15652
|
-
let
|
|
15653
|
-
for (; ++
|
|
15654
|
-
const f = t.children[
|
|
15652
|
+
let h = -1;
|
|
15653
|
+
for (; ++h < t.children.length; ) {
|
|
15654
|
+
const f = t.children[h];
|
|
15655
15655
|
if (f && f.type === "listItem" && f.children && f.children[0] && f.children[0].type === "thematicBreak") {
|
|
15656
15656
|
s = !0;
|
|
15657
15657
|
break;
|
|
@@ -15681,11 +15681,11 @@ function JF(t, e, n, r) {
|
|
|
15681
15681
|
l.move(o + " ".repeat(a - o.length)), l.shift(a);
|
|
15682
15682
|
const s = n.enter("listItem"), u = n.indentLines(
|
|
15683
15683
|
n.containerFlow(t, l.current()),
|
|
15684
|
-
|
|
15684
|
+
c
|
|
15685
15685
|
);
|
|
15686
15686
|
return s(), u;
|
|
15687
|
-
function h
|
|
15688
|
-
return f ? (d ? "" : " ".repeat(a)) +
|
|
15687
|
+
function c(h, f, d) {
|
|
15688
|
+
return f ? (d ? "" : " ".repeat(a)) + h : (d ? o : o + " ".repeat(a - o.length)) + h;
|
|
15689
15689
|
}
|
|
15690
15690
|
}
|
|
15691
15691
|
function ZF(t, e, n, r) {
|
|
@@ -15741,18 +15741,18 @@ function Nd(t, e, n, r) {
|
|
|
15741
15741
|
...a.current()
|
|
15742
15742
|
})
|
|
15743
15743
|
);
|
|
15744
|
-
const u = s.charCodeAt(0),
|
|
15744
|
+
const u = s.charCodeAt(0), c = qi(
|
|
15745
15745
|
r.before.charCodeAt(r.before.length - 1),
|
|
15746
15746
|
u,
|
|
15747
15747
|
i
|
|
15748
15748
|
);
|
|
15749
|
-
|
|
15750
|
-
const
|
|
15751
|
-
f.inside && (s = s.slice(0, -1) + Br(
|
|
15749
|
+
c.inside && (s = Br(u) + s.slice(1));
|
|
15750
|
+
const h = s.charCodeAt(s.length - 1), f = qi(r.after.charCodeAt(0), h, i);
|
|
15751
|
+
f.inside && (s = s.slice(0, -1) + Br(h));
|
|
15752
15752
|
const d = a.move(i + i);
|
|
15753
15753
|
return o(), n.attentionEncodeSurroundingInfo = {
|
|
15754
15754
|
after: f.outside,
|
|
15755
|
-
before:
|
|
15755
|
+
before: c.outside
|
|
15756
15756
|
}, l + s + d;
|
|
15757
15757
|
}
|
|
15758
15758
|
function nB(t, e, n) {
|
|
@@ -15876,10 +15876,10 @@ function fB(t) {
|
|
|
15876
15876
|
}
|
|
15877
15877
|
};
|
|
15878
15878
|
function a(d, p, b, C) {
|
|
15879
|
-
return u(
|
|
15879
|
+
return u(c(d, b, C), d.align);
|
|
15880
15880
|
}
|
|
15881
15881
|
function l(d, p, b, C) {
|
|
15882
|
-
const x =
|
|
15882
|
+
const x = h(d, b, C), k = u([x]);
|
|
15883
15883
|
return k.slice(0, k.indexOf(`
|
|
15884
15884
|
`));
|
|
15885
15885
|
}
|
|
@@ -15902,15 +15902,15 @@ function fB(t) {
|
|
|
15902
15902
|
stringLength: i
|
|
15903
15903
|
});
|
|
15904
15904
|
}
|
|
15905
|
-
function
|
|
15905
|
+
function c(d, p, b) {
|
|
15906
15906
|
const C = d.children;
|
|
15907
15907
|
let x = -1;
|
|
15908
15908
|
const k = [], v = p.enter("table");
|
|
15909
15909
|
for (; ++x < C.length; )
|
|
15910
|
-
k[x] =
|
|
15910
|
+
k[x] = h(C[x], p, b);
|
|
15911
15911
|
return v(), k;
|
|
15912
15912
|
}
|
|
15913
|
-
function
|
|
15913
|
+
function h(d, p, b) {
|
|
15914
15914
|
const C = d.children;
|
|
15915
15915
|
let x = -1;
|
|
15916
15916
|
const k = [], v = p.enter("tableRow");
|
|
@@ -15971,8 +15971,8 @@ function mB(t, e, n, r) {
|
|
|
15971
15971
|
...l.current()
|
|
15972
15972
|
});
|
|
15973
15973
|
return o && (s = s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/, u)), s;
|
|
15974
|
-
function u(
|
|
15975
|
-
return
|
|
15974
|
+
function u(c) {
|
|
15975
|
+
return c + a;
|
|
15976
15976
|
}
|
|
15977
15977
|
}
|
|
15978
15978
|
function yB() {
|
|
@@ -16102,20 +16102,20 @@ function AB(t, e, n) {
|
|
|
16102
16102
|
const r = this;
|
|
16103
16103
|
let i, o;
|
|
16104
16104
|
return a;
|
|
16105
|
-
function a(
|
|
16106
|
-
return !Da(
|
|
16105
|
+
function a(h) {
|
|
16106
|
+
return !Da(h) || !Kd.call(r, r.previous) || ql(r.events) ? n(h) : (t.enter("literalAutolink"), t.enter("literalAutolinkEmail"), l(h));
|
|
16107
16107
|
}
|
|
16108
|
-
function l(
|
|
16109
|
-
return Da(
|
|
16108
|
+
function l(h) {
|
|
16109
|
+
return Da(h) ? (t.consume(h), l) : h === 64 ? (t.consume(h), s) : n(h);
|
|
16110
16110
|
}
|
|
16111
|
-
function s(
|
|
16112
|
-
return
|
|
16111
|
+
function s(h) {
|
|
16112
|
+
return h === 46 ? t.check(SB, c, u)(h) : h === 45 || h === 95 || Nl(h) ? (o = !0, t.consume(h), s) : c(h);
|
|
16113
16113
|
}
|
|
16114
|
-
function u(
|
|
16115
|
-
return t.consume(
|
|
16114
|
+
function u(h) {
|
|
16115
|
+
return t.consume(h), i = !0, s;
|
|
16116
16116
|
}
|
|
16117
|
-
function h
|
|
16118
|
-
return o && i && Ir(r.previous) ? (t.exit("literalAutolinkEmail"), t.exit("literalAutolink"), e(
|
|
16117
|
+
function c(h) {
|
|
16118
|
+
return o && i && Ir(r.previous) ? (t.exit("literalAutolinkEmail"), t.exit("literalAutolink"), e(h)) : n(h);
|
|
16119
16119
|
}
|
|
16120
16120
|
}
|
|
16121
16121
|
function EB(t, e, n) {
|
|
@@ -16132,27 +16132,27 @@ function LB(t, e, n) {
|
|
|
16132
16132
|
const r = this;
|
|
16133
16133
|
let i = "", o = !1;
|
|
16134
16134
|
return a;
|
|
16135
|
-
function a(
|
|
16136
|
-
return (
|
|
16135
|
+
function a(h) {
|
|
16136
|
+
return (h === 72 || h === 104) && Xd.call(r, r.previous) && !ql(r.events) ? (t.enter("literalAutolink"), t.enter("literalAutolinkHttp"), i += String.fromCodePoint(h), t.consume(h), l) : n(h);
|
|
16137
16137
|
}
|
|
16138
|
-
function l(
|
|
16139
|
-
if (Ir(
|
|
16140
|
-
return i += String.fromCodePoint(
|
|
16141
|
-
if (
|
|
16138
|
+
function l(h) {
|
|
16139
|
+
if (Ir(h) && i.length < 5)
|
|
16140
|
+
return i += String.fromCodePoint(h), t.consume(h), l;
|
|
16141
|
+
if (h === 58) {
|
|
16142
16142
|
const f = i.toLowerCase();
|
|
16143
16143
|
if (f === "http" || f === "https")
|
|
16144
|
-
return t.consume(
|
|
16144
|
+
return t.consume(h), s;
|
|
16145
16145
|
}
|
|
16146
|
-
return n(
|
|
16146
|
+
return n(h);
|
|
16147
16147
|
}
|
|
16148
|
-
function s(
|
|
16149
|
-
return
|
|
16148
|
+
function s(h) {
|
|
16149
|
+
return h === 47 ? (t.consume(h), o ? u : (o = !0, s)) : n(h);
|
|
16150
16150
|
}
|
|
16151
|
-
function u(
|
|
16152
|
-
return
|
|
16151
|
+
function u(h) {
|
|
16152
|
+
return h === null || wB(h) || jn(h) || Mr(h) || jd(h) ? n(h) : t.attempt(Hd, t.attempt(Wd, c), n)(h);
|
|
16153
16153
|
}
|
|
16154
|
-
function h
|
|
16155
|
-
return t.exit("literalAutolinkHttp"), t.exit("literalAutolink"), e(
|
|
16154
|
+
function c(h) {
|
|
16155
|
+
return t.exit("literalAutolinkHttp"), t.exit("literalAutolink"), e(h);
|
|
16156
16156
|
}
|
|
16157
16157
|
}
|
|
16158
16158
|
function FB(t, e, n) {
|
|
@@ -16388,30 +16388,30 @@ function jB(t, e, n) {
|
|
|
16388
16388
|
const r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []);
|
|
16389
16389
|
let o = 0, a;
|
|
16390
16390
|
return l;
|
|
16391
|
-
function l(
|
|
16392
|
-
return t.enter("gfmFootnoteCall"), t.enter("gfmFootnoteCallLabelMarker"), t.consume(
|
|
16391
|
+
function l(h) {
|
|
16392
|
+
return t.enter("gfmFootnoteCall"), t.enter("gfmFootnoteCallLabelMarker"), t.consume(h), t.exit("gfmFootnoteCallLabelMarker"), s;
|
|
16393
16393
|
}
|
|
16394
|
-
function s(
|
|
16395
|
-
return
|
|
16394
|
+
function s(h) {
|
|
16395
|
+
return h !== 94 ? n(h) : (t.enter("gfmFootnoteCallMarker"), t.consume(h), t.exit("gfmFootnoteCallMarker"), t.enter("gfmFootnoteCallString"), t.enter("chunkString").contentType = "string", u);
|
|
16396
16396
|
}
|
|
16397
|
-
function u(
|
|
16397
|
+
function u(h) {
|
|
16398
16398
|
if (
|
|
16399
16399
|
// Too long.
|
|
16400
16400
|
o > 999 || // Closing brace with nothing.
|
|
16401
|
-
|
|
16401
|
+
h === 93 && !a || // Space or tab is not supported by GFM for some reason.
|
|
16402
16402
|
// `\n` and `[` not being supported makes sense.
|
|
16403
|
-
|
|
16403
|
+
h === null || h === 91 || ji(h)
|
|
16404
16404
|
)
|
|
16405
|
-
return n(
|
|
16406
|
-
if (
|
|
16405
|
+
return n(h);
|
|
16406
|
+
if (h === 93) {
|
|
16407
16407
|
t.exit("chunkString");
|
|
16408
16408
|
const f = t.exit("gfmFootnoteCallString");
|
|
16409
|
-
return i.includes(Hl(r.sliceSerialize(f))) ? (t.enter("gfmFootnoteCallLabelMarker"), t.consume(
|
|
16409
|
+
return i.includes(Hl(r.sliceSerialize(f))) ? (t.enter("gfmFootnoteCallLabelMarker"), t.consume(h), t.exit("gfmFootnoteCallLabelMarker"), t.exit("gfmFootnoteCall"), e) : n(h);
|
|
16410
16410
|
}
|
|
16411
|
-
return ji(
|
|
16411
|
+
return ji(h) || (a = !0), o++, t.consume(h), h === 92 ? c : u;
|
|
16412
16412
|
}
|
|
16413
|
-
function h
|
|
16414
|
-
return
|
|
16413
|
+
function c(h) {
|
|
16414
|
+
return h === 91 || h === 92 || h === 93 ? (t.consume(h), o++, u) : u(h);
|
|
16415
16415
|
}
|
|
16416
16416
|
}
|
|
16417
16417
|
function HB(t, e, n) {
|
|
@@ -16422,9 +16422,9 @@ function HB(t, e, n) {
|
|
|
16422
16422
|
return t.enter("gfmFootnoteDefinition")._container = !0, t.enter("gfmFootnoteDefinitionLabel"), t.enter("gfmFootnoteDefinitionLabelMarker"), t.consume(p), t.exit("gfmFootnoteDefinitionLabelMarker"), u;
|
|
16423
16423
|
}
|
|
16424
16424
|
function u(p) {
|
|
16425
|
-
return p === 94 ? (t.enter("gfmFootnoteDefinitionMarker"), t.consume(p), t.exit("gfmFootnoteDefinitionMarker"), t.enter("gfmFootnoteDefinitionLabelString"), t.enter("chunkString").contentType = "string",
|
|
16425
|
+
return p === 94 ? (t.enter("gfmFootnoteDefinitionMarker"), t.consume(p), t.exit("gfmFootnoteDefinitionMarker"), t.enter("gfmFootnoteDefinitionLabelString"), t.enter("chunkString").contentType = "string", c) : n(p);
|
|
16426
16426
|
}
|
|
16427
|
-
function
|
|
16427
|
+
function c(p) {
|
|
16428
16428
|
if (
|
|
16429
16429
|
// Too long.
|
|
16430
16430
|
a > 999 || // Closing brace with nothing.
|
|
@@ -16438,10 +16438,10 @@ function HB(t, e, n) {
|
|
|
16438
16438
|
const b = t.exit("gfmFootnoteDefinitionLabelString");
|
|
16439
16439
|
return o = Hl(r.sliceSerialize(b)), t.enter("gfmFootnoteDefinitionLabelMarker"), t.consume(p), t.exit("gfmFootnoteDefinitionLabelMarker"), t.exit("gfmFootnoteDefinitionLabel"), f;
|
|
16440
16440
|
}
|
|
16441
|
-
return ji(p) || (l = !0), a++, t.consume(p), p === 92 ?
|
|
16441
|
+
return ji(p) || (l = !0), a++, t.consume(p), p === 92 ? h : c;
|
|
16442
16442
|
}
|
|
16443
|
-
function
|
|
16444
|
-
return p === 91 || p === 92 || p === 93 ? (t.consume(p), a++,
|
|
16443
|
+
function h(p) {
|
|
16444
|
+
return p === 91 || p === 92 || p === 93 ? (t.consume(p), a++, c) : c(p);
|
|
16445
16445
|
}
|
|
16446
16446
|
function f(p) {
|
|
16447
16447
|
return p === 58 ? (t.enter("definitionMarker"), t.consume(p), t.exit("definitionMarker"), i.includes(o) || i.push(o), jl(t, d, "gfmFootnoteDefinitionWhitespace")) : n(p);
|
|
@@ -16525,16 +16525,16 @@ function JB(t) {
|
|
|
16525
16525
|
if (a[u][0] === "exit" && a[u][1].type === "strikethroughSequenceTemporary" && a[u][1]._open && // If the sizes are the same:
|
|
16526
16526
|
a[s][1].end.offset - a[s][1].start.offset === a[u][1].end.offset - a[u][1].start.offset) {
|
|
16527
16527
|
a[s][1].type = "strikethroughSequence", a[u][1].type = "strikethroughSequence";
|
|
16528
|
-
const
|
|
16528
|
+
const c = {
|
|
16529
16529
|
type: "strikethrough",
|
|
16530
16530
|
start: Object.assign({}, a[u][1].start),
|
|
16531
16531
|
end: Object.assign({}, a[s][1].end)
|
|
16532
|
-
},
|
|
16532
|
+
}, h = {
|
|
16533
16533
|
type: "strikethroughText",
|
|
16534
16534
|
start: Object.assign({}, a[u][1].end),
|
|
16535
16535
|
end: Object.assign({}, a[s][1].start)
|
|
16536
|
-
}, f = [["enter",
|
|
16537
|
-
d && Qo(f, f.length, 0, KB(d, a.slice(u + 1, s), l)), Qo(f, f.length, 0, [["exit",
|
|
16536
|
+
}, f = [["enter", c, l], ["enter", a[u][1], l], ["exit", a[u][1], l], ["enter", h, l]], d = l.parser.constructs.insideSpan.null;
|
|
16537
|
+
d && Qo(f, f.length, 0, KB(d, a.slice(u + 1, s), l)), Qo(f, f.length, 0, [["exit", h, l], ["enter", a[s][1], l], ["exit", a[s][1], l], ["exit", c, l]]), Qo(a, u - 1, s - u + 3, f), s = u + f.length - 2;
|
|
16538
16538
|
break;
|
|
16539
16539
|
}
|
|
16540
16540
|
}
|
|
@@ -16543,17 +16543,17 @@ function JB(t) {
|
|
|
16543
16543
|
return a;
|
|
16544
16544
|
}
|
|
16545
16545
|
function o(a, l, s) {
|
|
16546
|
-
const u = this.previous,
|
|
16547
|
-
let
|
|
16546
|
+
const u = this.previous, c = this.events;
|
|
16547
|
+
let h = 0;
|
|
16548
16548
|
return f;
|
|
16549
16549
|
function f(p) {
|
|
16550
|
-
return u === 126 &&
|
|
16550
|
+
return u === 126 && c[c.length - 1][1].type !== "characterEscape" ? s(p) : (a.enter("strikethroughSequenceTemporary"), d(p));
|
|
16551
16551
|
}
|
|
16552
16552
|
function d(p) {
|
|
16553
16553
|
const b = pc(u);
|
|
16554
16554
|
if (p === 126)
|
|
16555
|
-
return
|
|
16556
|
-
if (
|
|
16555
|
+
return h > 1 ? s(p) : (a.consume(p), h++, d);
|
|
16556
|
+
if (h < 2 && !n) return s(p);
|
|
16557
16557
|
const C = a.exit("strikethroughSequenceTemporary"), x = pc(p);
|
|
16558
16558
|
return C._open = !x || x === 2 && !!b, C._close = !b || b === 2 && !!x, l(p);
|
|
16559
16559
|
}
|
|
@@ -16697,16 +16697,16 @@ function nI(t, e, n) {
|
|
|
16697
16697
|
return t.enter("tableHead"), t.enter("tableRow"), u(T);
|
|
16698
16698
|
}
|
|
16699
16699
|
function u(T) {
|
|
16700
|
-
return T === 124 || (a = !0, o += 1),
|
|
16701
|
-
}
|
|
16702
|
-
function h(T) {
|
|
16703
|
-
return T === null ? n(T) : ni(T) ? o > 1 ? (o = 0, r.interrupt = !0, t.exit("tableRow"), t.enter("lineEnding"), t.consume(T), t.exit("lineEnding"), d) : n(T) : tn(T) ? lr(t, h, "whitespace")(T) : (o += 1, a && (a = !1, i += 1), T === 124 ? (t.enter("tableCellDivider"), t.consume(T), t.exit("tableCellDivider"), a = !0, h) : (t.enter("data"), c(T)));
|
|
16700
|
+
return T === 124 || (a = !0, o += 1), c(T);
|
|
16704
16701
|
}
|
|
16705
16702
|
function c(T) {
|
|
16706
|
-
return T === null
|
|
16703
|
+
return T === null ? n(T) : ni(T) ? o > 1 ? (o = 0, r.interrupt = !0, t.exit("tableRow"), t.enter("lineEnding"), t.consume(T), t.exit("lineEnding"), d) : n(T) : tn(T) ? lr(t, c, "whitespace")(T) : (o += 1, a && (a = !1, i += 1), T === 124 ? (t.enter("tableCellDivider"), t.consume(T), t.exit("tableCellDivider"), a = !0, c) : (t.enter("data"), h(T)));
|
|
16704
|
+
}
|
|
16705
|
+
function h(T) {
|
|
16706
|
+
return T === null || T === 124 || gc(T) ? (t.exit("data"), c(T)) : (t.consume(T), T === 92 ? f : h);
|
|
16707
16707
|
}
|
|
16708
16708
|
function f(T) {
|
|
16709
|
-
return T === 92 || T === 124 ? (t.consume(T),
|
|
16709
|
+
return T === 92 || T === 124 ? (t.consume(T), h) : h(T);
|
|
16710
16710
|
}
|
|
16711
16711
|
function d(T) {
|
|
16712
16712
|
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(T) : (t.enter("tableDelimiterRow"), a = !1, tn(T) ? lr(t, p, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(T) : p(T));
|
|
@@ -16749,23 +16749,23 @@ function nI(t, e, n) {
|
|
|
16749
16749
|
}
|
|
16750
16750
|
}
|
|
16751
16751
|
function rI(t, e) {
|
|
16752
|
-
let n = -1, r = !0, i = 0, o = [0, 0, 0, 0], a = [0, 0, 0, 0], l = !1, s = 0, u,
|
|
16752
|
+
let n = -1, r = !0, i = 0, o = [0, 0, 0, 0], a = [0, 0, 0, 0], l = !1, s = 0, u, c, h;
|
|
16753
16753
|
const f = new ZB();
|
|
16754
16754
|
for (; ++n < t.length; ) {
|
|
16755
16755
|
const d = t[n], p = d[1];
|
|
16756
|
-
d[0] === "enter" ? p.type === "tableHead" ? (l = !1, s !== 0 && (mc(f, e, s, u,
|
|
16756
|
+
d[0] === "enter" ? p.type === "tableHead" ? (l = !1, s !== 0 && (mc(f, e, s, u, c), c = void 0, s = 0), u = {
|
|
16757
16757
|
type: "table",
|
|
16758
16758
|
start: Object.assign({}, p.start),
|
|
16759
16759
|
// Note: correct end is set later.
|
|
16760
16760
|
end: Object.assign({}, p.end)
|
|
16761
|
-
}, f.add(n, 0, [["enter", u, e]])) : p.type === "tableRow" || p.type === "tableDelimiterRow" ? (r = !0,
|
|
16761
|
+
}, f.add(n, 0, [["enter", u, e]])) : p.type === "tableRow" || p.type === "tableDelimiterRow" ? (r = !0, h = void 0, o = [0, 0, 0, 0], a = [0, n + 1, 0, 0], l && (l = !1, c = {
|
|
16762
16762
|
type: "tableBody",
|
|
16763
16763
|
start: Object.assign({}, p.start),
|
|
16764
16764
|
// Note: correct end is set later.
|
|
16765
16765
|
end: Object.assign({}, p.end)
|
|
16766
|
-
}, f.add(n, 0, [["enter",
|
|
16766
|
+
}, f.add(n, 0, [["enter", c, e]])), i = p.type === "tableDelimiterRow" ? 2 : c ? 3 : 1) : i && (p.type === "data" || p.type === "tableDelimiterMarker" || p.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (o[1] !== 0 && (a[0] = a[1], h = ri(f, e, o, i, void 0, h), o = [0, 0, 0, 0]), a[2] = n)) : p.type === "tableCellDivider" && (r ? r = !1 : (o[1] !== 0 && (a[0] = a[1], h = ri(f, e, o, i, void 0, h)), o = a, a = [o[1], n, 0, 0])) : p.type === "tableHead" ? (l = !0, s = n) : p.type === "tableRow" || p.type === "tableDelimiterRow" ? (s = n, o[1] !== 0 ? (a[0] = a[1], h = ri(f, e, o, i, n, h)) : a[1] !== 0 && (h = ri(f, e, a, i, n, h)), i = 0) : i && (p.type === "data" || p.type === "tableDelimiterMarker" || p.type === "tableDelimiterFiller") && (a[3] = n);
|
|
16767
16767
|
}
|
|
16768
|
-
for (s !== 0 && mc(f, e, s, u,
|
|
16768
|
+
for (s !== 0 && mc(f, e, s, u, c), f.consume(e.events), n = -1; ++n < e.events.length; ) {
|
|
16769
16769
|
const d = e.events[n];
|
|
16770
16770
|
d[0] === "enter" && d[1].type === "table" && (d[1]._align = tI(e.events, n));
|
|
16771
16771
|
}
|
|
@@ -16781,19 +16781,19 @@ function ri(t, e, n, r, i, o) {
|
|
|
16781
16781
|
// Note: correct end is set later.
|
|
16782
16782
|
end: Object.assign({}, s)
|
|
16783
16783
|
}, t.add(n[1], 0, [["enter", o, e]]), n[2] !== 0) {
|
|
16784
|
-
const u = Tn(e.events, n[2]),
|
|
16784
|
+
const u = Tn(e.events, n[2]), c = Tn(e.events, n[3]), h = {
|
|
16785
16785
|
type: l,
|
|
16786
16786
|
start: Object.assign({}, u),
|
|
16787
|
-
end: Object.assign({},
|
|
16787
|
+
end: Object.assign({}, c)
|
|
16788
16788
|
};
|
|
16789
|
-
if (t.add(n[2], 0, [["enter",
|
|
16789
|
+
if (t.add(n[2], 0, [["enter", h, e]]), r !== 2) {
|
|
16790
16790
|
const f = e.events[n[2]], d = e.events[n[3]];
|
|
16791
16791
|
if (f[1].end = Object.assign({}, d[1].end), f[1].type = "chunkText", f[1].contentType = "text", n[3] > n[2] + 1) {
|
|
16792
16792
|
const p = n[2] + 1, b = n[3] - n[2] - 1;
|
|
16793
16793
|
t.add(p, b, []);
|
|
16794
16794
|
}
|
|
16795
16795
|
}
|
|
16796
|
-
t.add(n[3] + 1, 0, [["exit",
|
|
16796
|
+
t.add(n[3] + 1, 0, [["exit", h, e]]);
|
|
16797
16797
|
}
|
|
16798
16798
|
return i !== void 0 && (o.end = Object.assign({}, Tn(e.events, i)), t.add(i, 0, [["exit", o, e]]), o = void 0), o;
|
|
16799
16799
|
}
|
|
@@ -16887,8 +16887,8 @@ var Ra = function() {
|
|
|
16887
16887
|
for (var e, n = 1, r = arguments.length; n < r; n++) for (var i in e = arguments[n]) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
|
|
16888
16888
|
return t;
|
|
16889
16889
|
}).apply(this, arguments);
|
|
16890
|
-
}, _n, kn, wn, za = op(void 0), yc = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_CHTML", xc = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.js", bc = "https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js", pI = function(
|
|
16891
|
-
var e =
|
|
16890
|
+
}, _n, kn, wn, za = op(void 0), yc = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_CHTML", xc = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.js", bc = "https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js", pI = function(h) {
|
|
16891
|
+
var e = h.config, n = h.version, n = n === void 0 ? 4 : n, r = h.src, r = r === void 0 ? n === 2 ? yc : n === 3 ? xc : bc : r, i = h.onStartup, o = h.onLoad, s = h.asyncLoad, a = s !== void 0 && s, l = h.onError, s = h.typesettingOptions, u = h.renderMode, u = u === void 0 ? "post" : u, c = h.hideUntilTypeset, h = h.children, d = Cc(za);
|
|
16892
16892
|
if (d?.version !== void 0 && d?.version !== n) throw Error("Cannot nest MathJaxContexts with different versions. MathJaxContexts should not be nested at all but if they are, they cannot have different versions. Stick with one version of MathJax in your app and avoid using more than one MathJaxContext.");
|
|
16893
16893
|
if (n === 2 && (kn !== void 0 || wn !== void 0) || n === 3 && (_n !== void 0 || wn !== void 0) || n === 4 && (_n !== void 0 || kn !== void 0)) throw Error("Cannot use two MathJax versions simultaneously in the same app due to how MathJax is set up in the browser; either you have multiple MathJaxContexts with different versions or you have mounted and unmounted MathJaxContexts with different versions. Please stick with one version of MathJax in your app. File an issue in the project Github page if you need this feature.");
|
|
16894
16894
|
var f = oe(d), d = oe(d?.version || null);
|
|
@@ -16905,7 +16905,7 @@ var Ra = function() {
|
|
|
16905
16905
|
return x(v);
|
|
16906
16906
|
}), document.getElementsByTagName("head")[0].appendChild(k);
|
|
16907
16907
|
}
|
|
16908
|
-
return f.current === void 0 && (d = { typesettingOptions: s, renderMode: u, hideUntilTypeset:
|
|
16908
|
+
return f.current === void 0 && (d = { typesettingOptions: s, renderMode: u, hideUntilTypeset: c }, n === 2 ? _n === void 0 && (typeof window < "u" ? (_n = new Promise(b)).catch(function(C) {
|
|
16909
16909
|
if (!l) throw Error("Failed to download MathJax version 2 from '".concat(p, "' due to: ").concat(JSON.stringify(C)));
|
|
16910
16910
|
l(C);
|
|
16911
16911
|
}) : (_n = Promise.reject()).catch(function(C) {
|
|
@@ -16917,7 +16917,7 @@ var Ra = function() {
|
|
|
16917
16917
|
if (!l) throw Error("Failed to download MathJax version 4 from '".concat(p, "' due to: ").concat(C));
|
|
16918
16918
|
l(C);
|
|
16919
16919
|
}) : (wn = Promise.reject()).catch(function(C) {
|
|
16920
|
-
})), f.current = Ra(Ra({}, d), n === 2 ? { version: 2, promise: _n } : n === 3 ? { version: 3, promise: kn } : { version: 4, promise: wn })), qa.createElement(za.Provider, { value: f.current },
|
|
16920
|
+
})), f.current = Ra(Ra({}, d), n === 2 ? { version: 2, promise: _n } : n === 3 ? { version: 3, promise: kn } : { version: 4, promise: wn })), qa.createElement(za.Provider, { value: f.current }, h);
|
|
16921
16921
|
}, Ne = function() {
|
|
16922
16922
|
return (Ne = Object.assign || function(t) {
|
|
16923
16923
|
for (var e, n = 1, r = arguments.length; n < r; n++) for (var i in e = arguments[n]) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
|
|
@@ -16933,9 +16933,9 @@ var Ra = function() {
|
|
|
16933
16933
|
}, mI = function(t) {
|
|
16934
16934
|
function e() {
|
|
16935
16935
|
var R;
|
|
16936
|
-
b === "every" && k && C === "post" && d.current !== null && (d.current.style.visibility = (R = (R =
|
|
16936
|
+
b === "every" && k && C === "post" && d.current !== null && (d.current.style.visibility = (R = (R = h.style) == null ? void 0 : R.visibility) != null ? R : "visible"), v.current || (b === "first" && d.current !== null && (d.current.style.visibility = "visible"), i && i(), v.current = !0), o && o(), M.current = !1;
|
|
16937
16937
|
}
|
|
16938
|
-
var r = t.inline, n = r !== void 0 && r, r = t.hideUntilTypeset, i = t.onInitTypeset, o = t.onTypeset, a = t.text, l = t.dynamic, s = t.typesettingOptions, u = t.renderMode,
|
|
16938
|
+
var r = t.inline, n = r !== void 0 && r, r = t.hideUntilTypeset, i = t.onInitTypeset, o = t.onTypeset, a = t.text, l = t.dynamic, s = t.typesettingOptions, u = t.renderMode, c = t.children, h = gI(t, ["inline", "hideUntilTypeset", "onInitTypeset", "onTypeset", "text", "dynamic", "typesettingOptions", "renderMode", "children"]), f = oe(""), d = oe(null), p = Cc(za), b = r ?? p?.hideUntilTypeset, C = u ?? p?.renderMode, x = s ?? p?.typesettingOptions, k = l !== !1 && (l || process.env.NODE_ENV !== "production"), v = oe(!1), M = oe(!1);
|
|
16939
16939
|
return !M.current && d.current !== null && k && b === "every" && C === "post" && (d.current.style.visibility = "hidden"), (typeof window < "u" ? ap : Hi)(function() {
|
|
16940
16940
|
if ((k || !v.current) && d.current !== null) {
|
|
16941
16941
|
if (!p) throw Error("MathJax was not loaded, did you use the MathJax component outside of a MathJaxContext?");
|
|
@@ -16971,7 +16971,7 @@ var Ra = function() {
|
|
|
16971
16971
|
}));
|
|
16972
16972
|
}
|
|
16973
16973
|
var R;
|
|
16974
|
-
}), qa.createElement("span", Ne({},
|
|
16974
|
+
}), qa.createElement("span", Ne({}, h, { style: Ne(Ne({ display: n ? "inline" : "block" }, h.style), { visibility: b ? "hidden" : (t = h.style) == null ? void 0 : t.visibility }), ref: d }), c);
|
|
16975
16975
|
};
|
|
16976
16976
|
ne.initialize({
|
|
16977
16977
|
startOnLoad: !1,
|
|
@@ -17066,8 +17066,8 @@ function bI(t) {
|
|
|
17066
17066
|
"tex",
|
|
17067
17067
|
"latex"
|
|
17068
17068
|
].includes(s) && (a.style.whiteSpace = "pre-wrap"), s === "mermaid") {
|
|
17069
|
-
const
|
|
17070
|
-
o((
|
|
17069
|
+
const c = a.innerText.trim();
|
|
17070
|
+
o((h) => h === c ? h : c);
|
|
17071
17071
|
}
|
|
17072
17072
|
}, [t.children]), /* @__PURE__ */ mi(Na, { children: [
|
|
17073
17073
|
/* @__PURE__ */ gt("div", { style: { position: "relative" }, children: /* @__PURE__ */ mi("pre", { ref: e, children: [
|
|
@@ -17189,28 +17189,30 @@ const _I = {
|
|
|
17189
17189
|
startup: { typeset: !1 }
|
|
17190
17190
|
}, kI = (t) => {
|
|
17191
17191
|
const e = [], n = (u) => {
|
|
17192
|
-
const
|
|
17193
|
-
return e.push(u),
|
|
17194
|
-
}, r = (u) => u.replace(/\\/g, "\\\\");
|
|
17195
|
-
t = t.replace(/(`{1,3})([\s\S]*?)\1/g, (u) => n(u)), t = t.replace(/\$\$
|
|
17196
|
-
|
|
17192
|
+
const c = `__PROTECTED_${e.length}__`;
|
|
17193
|
+
return e.push(u), c;
|
|
17194
|
+
}, r = (u) => u.replace(/\\/g, "\\\\").replace(/\*/g, "\\*");
|
|
17195
|
+
t = t.replace(/(`{1,3})([\s\S]*?)\1/g, (u) => n(u)), t = t.replace(/\$\$([\s\S]*?)\$\$(?:[ \t]*\r?\n){0,2}/g, (u, c) => {
|
|
17196
|
+
const h = c.replace(/\r?\n/g, " ");
|
|
17197
|
+
return n(`$$${r(h)}$$`);
|
|
17198
|
+
}), t = t.replace(/\$([^$\n]+?)\$/g, (u, c) => n(`$${r(c)}$`)), t = t.replace(/\\\[([\s\S]*?)\\\](?:[ \t]*\r?\n){0,2}/g, (u, c) => {
|
|
17199
|
+
const h = c.replace(/\r?\n/g, " ");
|
|
17200
|
+
return n(`\\\\[${r(h)}\\\\]`);
|
|
17201
|
+
}), t = t.replace(/\\\(([\s\S]*?)\\\)/g, (u, c) => n(`\\\\(${r(c)}\\\\)`));
|
|
17202
|
+
const i = /\\begin\{(align|gather|matrix|cases|split|aligned)\}([\s\S]*?)\\end\{\1\}(?:[ \t]*\r?\n){0,2}/g;
|
|
17197
17203
|
t = t.replace(i, (u) => {
|
|
17198
|
-
const
|
|
17199
|
-
return n(
|
|
17200
|
-
${h}
|
|
17201
|
-
$$`);
|
|
17204
|
+
const c = u.replace(/\r?\n/g, " ");
|
|
17205
|
+
return n(r(c));
|
|
17202
17206
|
});
|
|
17203
|
-
const o = "\\{(?:[^{}]|\\{(?:[^{}]|\\{[^{}]*\\})*\\})*\\}";
|
|
17204
|
-
t = t.replace(new RegExp(`\\\\(ce|boxed)${o}`, "g"), (u) => n(`$${
|
|
17205
|
-
const
|
|
17206
|
-
t = t.replace(
|
|
17207
|
-
const
|
|
17207
|
+
const o = "\\{(?:[^{}]|\\{(?:[^{}]|\\{[^{}]*\\})*\\})*\\}", a = (u) => u.replace(/\\/g, "\\\\");
|
|
17208
|
+
t = t.replace(new RegExp(`\\\\(ce|boxed)${o}`, "g"), (u) => n(`$${a(u)}$`));
|
|
17209
|
+
const l = /\\(sum|prod|int|lim)(?:_\{[^}]*\}|\^\{[^}]*\}|_[a-zA-Z0-9]|\^[a-zA-Z0-9]|[ \t])*/g;
|
|
17210
|
+
t = t.replace(l, (u) => n(`$${a(u.trim())}$`));
|
|
17211
|
+
const s = new RegExp(
|
|
17208
17212
|
`\\\\(frac|sqrt|text|mathbb|mathcal|mathbf|mathit|mathrm|textcolor|color)(?:\\[[^\\]]*\\])?(?:${o})*`,
|
|
17209
17213
|
"g"
|
|
17210
17214
|
);
|
|
17211
|
-
t = t.replace(
|
|
17212
|
-
const s = /\\(rightarrow|leftarrow|Rightarrow|Leftarrow|quad|qquad)\b/g;
|
|
17213
|
-
return t = t.replace(s, (u) => n(`$${r(u)}$`)), t = t.replace(/__PROTECTED_(\d+)__/g, (u, h) => e[parseInt(h)]), t;
|
|
17215
|
+
return t = t.replace(s, (u) => n(`$${a(u)}$`)), t = t.replace(/\\(rightarrow|leftarrow|Rightarrow|Leftarrow|quad|qquad)\b/g, (u) => n(`$${a(u)}$`)), t = t.replace(/__PROTECTED_(\d+)__/g, (u, c) => e[parseInt(c)]), t;
|
|
17214
17216
|
}, wI = ({ content: t }) => {
|
|
17215
17217
|
const e = kI(t);
|
|
17216
17218
|
return /* @__PURE__ */ gt(pI, { config: _I, version: 3, children: /* @__PURE__ */ gt(mI, { children: /* @__PURE__ */ gt(
|