juneau 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +25 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +307 -306
- package/dist/index.js.map +1 -1
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ async function Nn(e, n, t) {
|
|
|
11
11
|
for await (const r of e)
|
|
12
12
|
if (t?.aborted || (n(r), r.type === "done" || r.type === "error")) break;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function Pr(e) {
|
|
15
15
|
return e.type === "proposal";
|
|
16
16
|
}
|
|
17
17
|
const el = 1;
|
|
@@ -24,7 +24,7 @@ function Xh(e) {
|
|
|
24
24
|
}));
|
|
25
25
|
}
|
|
26
26
|
function tl(e) {
|
|
27
|
-
return
|
|
27
|
+
return Pr(e) && !e.proposal.resolved ? { ...e, proposal: { ...e.proposal, resolved: "expired" } } : e;
|
|
28
28
|
}
|
|
29
29
|
function Gh(e) {
|
|
30
30
|
return e.map(({ v: n, ...t }) => ({
|
|
@@ -207,7 +207,7 @@ async function* ee(e, n) {
|
|
|
207
207
|
for (let r = 0; r < e.length; r += 3)
|
|
208
208
|
yield { type: "text", text: e.slice(r, r + 3) }, await K(n);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function zr(e) {
|
|
211
211
|
if (!e || e === "[DONE]") return [];
|
|
212
212
|
let n;
|
|
213
213
|
try {
|
|
@@ -307,7 +307,7 @@ async function* cl(e, n) {
|
|
|
307
307
|
}
|
|
308
308
|
const fl = (e) => {
|
|
309
309
|
if (!e || e === "[DONE]") return [];
|
|
310
|
-
const n =
|
|
310
|
+
const n = zr(e);
|
|
311
311
|
if (n.length > 0) return n;
|
|
312
312
|
try {
|
|
313
313
|
const t = JSON.parse(e);
|
|
@@ -383,7 +383,7 @@ async function* pl(e, n) {
|
|
|
383
383
|
yield { type: "done" };
|
|
384
384
|
}
|
|
385
385
|
const hl = (e) => {
|
|
386
|
-
const n =
|
|
386
|
+
const n = zr(e);
|
|
387
387
|
return n.length > 0 ? n : e ? [{ type: "text", text: e }] : [];
|
|
388
388
|
};
|
|
389
389
|
let dl = 0;
|
|
@@ -533,18 +533,18 @@ function ml({
|
|
|
533
533
|
y.current?.abort(), h(!1), g(!1);
|
|
534
534
|
}, []), T = de((v) => {
|
|
535
535
|
y.current?.abort(), I.current = !0, s(v ?? []), f(""), S(null), h(!1), g(!1);
|
|
536
|
-
}, []),
|
|
536
|
+
}, []), P = de((v, R) => {
|
|
537
537
|
I.current = !0, s((B) => B.map((Q) => ({
|
|
538
538
|
...Q,
|
|
539
539
|
parts: Q.parts.map(
|
|
540
|
-
(W) =>
|
|
540
|
+
(W) => Pr(W) && W.proposal.id === v ? { ...W, proposal: { ...W.proposal, resolved: R } } : W
|
|
541
541
|
)
|
|
542
542
|
})));
|
|
543
543
|
}, []), U = de((v, R) => {
|
|
544
|
-
|
|
545
|
-
}, [t,
|
|
546
|
-
|
|
547
|
-
}, [r,
|
|
544
|
+
P(v, "confirmed"), t?.(v, R);
|
|
545
|
+
}, [t, P]), z = de((v) => {
|
|
546
|
+
P(v, "cancelled"), r?.(v);
|
|
547
|
+
}, [r, P]);
|
|
548
548
|
return Ar(() => ({
|
|
549
549
|
messages: a,
|
|
550
550
|
input: u,
|
|
@@ -558,7 +558,7 @@ function ml({
|
|
|
558
558
|
error: C,
|
|
559
559
|
reset: T,
|
|
560
560
|
confirmProposal: U,
|
|
561
|
-
cancelProposal:
|
|
561
|
+
cancelProposal: z
|
|
562
562
|
}), [
|
|
563
563
|
a,
|
|
564
564
|
u,
|
|
@@ -571,7 +571,7 @@ function ml({
|
|
|
571
571
|
C,
|
|
572
572
|
T,
|
|
573
573
|
U,
|
|
574
|
-
|
|
574
|
+
z
|
|
575
575
|
]);
|
|
576
576
|
}
|
|
577
577
|
const Lr = {
|
|
@@ -605,7 +605,7 @@ const Lr = {
|
|
|
605
605
|
function Te() {
|
|
606
606
|
return sn(Dr);
|
|
607
607
|
}
|
|
608
|
-
const gl = "
|
|
608
|
+
const gl = "_root_14q8g_1", yl = {
|
|
609
609
|
root: gl
|
|
610
610
|
};
|
|
611
611
|
function td({ children: e, theme: n, labels: t, defaultTitle: r, className: i, style: o }) {
|
|
@@ -885,9 +885,9 @@ function Tl(e, n) {
|
|
|
885
885
|
(t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
|
|
886
886
|
).trim();
|
|
887
887
|
}
|
|
888
|
-
const
|
|
888
|
+
const Pl = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, zl = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Ll = {};
|
|
889
889
|
function Fn(e, n) {
|
|
890
|
-
return (Ll.jsx ?
|
|
890
|
+
return (Ll.jsx ? zl : Pl).test(e);
|
|
891
891
|
}
|
|
892
892
|
const Dl = /[ \t\n\f\r]/g;
|
|
893
893
|
function Nl(e) {
|
|
@@ -2051,7 +2051,7 @@ function $l(e, n) {
|
|
|
2051
2051
|
return e.property[e.normal[t]];
|
|
2052
2052
|
if (t.length > 4 && t.slice(0, 4) === "data" && jl.test(n)) {
|
|
2053
2053
|
if (n.charAt(4) === "-") {
|
|
2054
|
-
const o = n.slice(5).replace(jn,
|
|
2054
|
+
const o = n.slice(5).replace(jn, ql);
|
|
2055
2055
|
r = "data" + o.charAt(0).toUpperCase() + o.slice(1);
|
|
2056
2056
|
} else {
|
|
2057
2057
|
const o = n.slice(4);
|
|
@@ -2067,17 +2067,17 @@ function $l(e, n) {
|
|
|
2067
2067
|
function Hl(e) {
|
|
2068
2068
|
return "-" + e.toLowerCase();
|
|
2069
2069
|
}
|
|
2070
|
-
function
|
|
2070
|
+
function ql(e) {
|
|
2071
2071
|
return e.charAt(1).toUpperCase();
|
|
2072
2072
|
}
|
|
2073
|
-
const
|
|
2073
|
+
const Vl = Rr([Mr, Ml, Br, jr, $r], "html"), pn = Rr([Mr, Fl, Br, jr, $r], "svg");
|
|
2074
2074
|
function Ul(e) {
|
|
2075
2075
|
return e.join(" ").trim();
|
|
2076
2076
|
}
|
|
2077
2077
|
function Hr(e) {
|
|
2078
2078
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2079
2079
|
}
|
|
2080
|
-
var
|
|
2080
|
+
var qe = {}, Nt, $n;
|
|
2081
2081
|
function Wl() {
|
|
2082
2082
|
if ($n) return Nt;
|
|
2083
2083
|
$n = 1;
|
|
@@ -2089,30 +2089,30 @@ function Wl() {
|
|
|
2089
2089
|
if (!S) return [];
|
|
2090
2090
|
y = y || {};
|
|
2091
2091
|
var I = 1, _ = 1;
|
|
2092
|
-
function L(
|
|
2093
|
-
var v =
|
|
2092
|
+
function L(z) {
|
|
2093
|
+
var v = z.match(n);
|
|
2094
2094
|
v && (I += v.length);
|
|
2095
|
-
var R =
|
|
2096
|
-
_ = ~R ?
|
|
2095
|
+
var R = z.lastIndexOf(s);
|
|
2096
|
+
_ = ~R ? z.length - R : _ + z.length;
|
|
2097
2097
|
}
|
|
2098
2098
|
function N() {
|
|
2099
|
-
var
|
|
2099
|
+
var z = { line: I, column: _ };
|
|
2100
2100
|
return function(v) {
|
|
2101
|
-
return v.position = new x(
|
|
2101
|
+
return v.position = new x(z), j(), v;
|
|
2102
2102
|
};
|
|
2103
2103
|
}
|
|
2104
|
-
function x(
|
|
2105
|
-
this.start =
|
|
2104
|
+
function x(z) {
|
|
2105
|
+
this.start = z, this.end = { line: I, column: _ }, this.source = y.source;
|
|
2106
2106
|
}
|
|
2107
2107
|
x.prototype.content = S;
|
|
2108
|
-
function O(
|
|
2108
|
+
function O(z) {
|
|
2109
2109
|
var v = new Error(
|
|
2110
|
-
y.source + ":" + I + ":" + _ + ": " +
|
|
2110
|
+
y.source + ":" + I + ":" + _ + ": " + z
|
|
2111
2111
|
);
|
|
2112
|
-
if (v.reason =
|
|
2112
|
+
if (v.reason = z, v.filename = y.source, v.line = I, v.column = _, v.source = S, !y.silent) throw v;
|
|
2113
2113
|
}
|
|
2114
|
-
function H(
|
|
2115
|
-
var v =
|
|
2114
|
+
function H(z) {
|
|
2115
|
+
var v = z.exec(S);
|
|
2116
2116
|
if (v) {
|
|
2117
2117
|
var R = v[0];
|
|
2118
2118
|
return L(R), S = S.slice(R.length), v;
|
|
@@ -2121,31 +2121,31 @@ function Wl() {
|
|
|
2121
2121
|
function j() {
|
|
2122
2122
|
H(t);
|
|
2123
2123
|
}
|
|
2124
|
-
function k(
|
|
2124
|
+
function k(z) {
|
|
2125
2125
|
var v;
|
|
2126
|
-
for (
|
|
2127
|
-
v !== !1 &&
|
|
2128
|
-
return
|
|
2126
|
+
for (z = z || []; v = T(); )
|
|
2127
|
+
v !== !1 && z.push(v);
|
|
2128
|
+
return z;
|
|
2129
2129
|
}
|
|
2130
2130
|
function T() {
|
|
2131
|
-
var
|
|
2131
|
+
var z = N();
|
|
2132
2132
|
if (!(u != S.charAt(0) || f != S.charAt(1))) {
|
|
2133
2133
|
for (var v = 2; c != S.charAt(v) && (f != S.charAt(v) || u != S.charAt(v + 1)); )
|
|
2134
2134
|
++v;
|
|
2135
2135
|
if (v += 2, c === S.charAt(v - 1))
|
|
2136
2136
|
return O("End of comment missing");
|
|
2137
2137
|
var R = S.slice(2, v - 2);
|
|
2138
|
-
return _ += 2, L(R), S = S.slice(v), _ += 2,
|
|
2138
|
+
return _ += 2, L(R), S = S.slice(v), _ += 2, z({
|
|
2139
2139
|
type: h,
|
|
2140
2140
|
comment: R
|
|
2141
2141
|
});
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
|
-
function
|
|
2145
|
-
var
|
|
2144
|
+
function P() {
|
|
2145
|
+
var z = N(), v = H(r);
|
|
2146
2146
|
if (v) {
|
|
2147
2147
|
if (T(), !H(i)) return O("property missing ':'");
|
|
2148
|
-
var R = H(o), B =
|
|
2148
|
+
var R = H(o), B = z({
|
|
2149
2149
|
type: p,
|
|
2150
2150
|
property: C(v[0].replace(e, c)),
|
|
2151
2151
|
value: R ? C(R[0].replace(e, c)) : c
|
|
@@ -2154,11 +2154,11 @@ function Wl() {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
}
|
|
2156
2156
|
function U() {
|
|
2157
|
-
var
|
|
2158
|
-
k(
|
|
2159
|
-
for (var v; v =
|
|
2160
|
-
v !== !1 && (
|
|
2161
|
-
return
|
|
2157
|
+
var z = [];
|
|
2158
|
+
k(z);
|
|
2159
|
+
for (var v; v = P(); )
|
|
2160
|
+
v !== !1 && (z.push(v), k(z));
|
|
2161
|
+
return z;
|
|
2162
2162
|
}
|
|
2163
2163
|
return j(), U();
|
|
2164
2164
|
}
|
|
@@ -2169,12 +2169,12 @@ function Wl() {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
var Hn;
|
|
2171
2171
|
function Yl() {
|
|
2172
|
-
if (Hn) return
|
|
2172
|
+
if (Hn) return qe;
|
|
2173
2173
|
Hn = 1;
|
|
2174
|
-
var e =
|
|
2174
|
+
var e = qe && qe.__importDefault || function(r) {
|
|
2175
2175
|
return r && r.__esModule ? r : { default: r };
|
|
2176
2176
|
};
|
|
2177
|
-
Object.defineProperty(
|
|
2177
|
+
Object.defineProperty(qe, "__esModule", { value: !0 }), qe.default = t;
|
|
2178
2178
|
const n = e(Wl());
|
|
2179
2179
|
function t(r, i) {
|
|
2180
2180
|
let o = null;
|
|
@@ -2188,12 +2188,12 @@ function Yl() {
|
|
|
2188
2188
|
a ? i(u, f, s) : f && (o = o || {}, o[u] = f);
|
|
2189
2189
|
}), o;
|
|
2190
2190
|
}
|
|
2191
|
-
return
|
|
2191
|
+
return qe;
|
|
2192
2192
|
}
|
|
2193
|
-
var Ke = {},
|
|
2193
|
+
var Ke = {}, qn;
|
|
2194
2194
|
function Ql() {
|
|
2195
|
-
if (
|
|
2196
|
-
|
|
2195
|
+
if (qn) return Ke;
|
|
2196
|
+
qn = 1, Object.defineProperty(Ke, "__esModule", { value: !0 }), Ke.camelCase = void 0;
|
|
2197
2197
|
var e = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, t = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, i = /^-(ms)-/, o = function(u) {
|
|
2198
2198
|
return !u || t.test(u) || e.test(u);
|
|
2199
2199
|
}, l = function(u, f) {
|
|
@@ -2205,10 +2205,10 @@ function Ql() {
|
|
|
2205
2205
|
};
|
|
2206
2206
|
return Ke.camelCase = s, Ke;
|
|
2207
2207
|
}
|
|
2208
|
-
var Ze,
|
|
2208
|
+
var Ze, Vn;
|
|
2209
2209
|
function Xl() {
|
|
2210
|
-
if (
|
|
2211
|
-
|
|
2210
|
+
if (Vn) return Ze;
|
|
2211
|
+
Vn = 1;
|
|
2212
2212
|
var e = Ze && Ze.__importDefault || function(i) {
|
|
2213
2213
|
return i && i.__esModule ? i : { default: i };
|
|
2214
2214
|
}, n = e(Yl()), t = Ql();
|
|
@@ -2221,8 +2221,8 @@ function Xl() {
|
|
|
2221
2221
|
return r.default = r, Ze = r, Ze;
|
|
2222
2222
|
}
|
|
2223
2223
|
var Gl = Xl();
|
|
2224
|
-
const Jl = /* @__PURE__ */ Hr(Gl),
|
|
2225
|
-
function
|
|
2224
|
+
const Jl = /* @__PURE__ */ Hr(Gl), qr = Vr("end"), hn = Vr("start");
|
|
2225
|
+
function Vr(e) {
|
|
2226
2226
|
return n;
|
|
2227
2227
|
function n(t) {
|
|
2228
2228
|
const r = t && t.position && t.position[e] || {};
|
|
@@ -2235,7 +2235,7 @@ function qr(e) {
|
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
2237
2237
|
function Kl(e) {
|
|
2238
|
-
const n = hn(e), t =
|
|
2238
|
+
const n = hn(e), t = qr(e);
|
|
2239
2239
|
if (n && t)
|
|
2240
2240
|
return { start: n, end: t };
|
|
2241
2241
|
}
|
|
@@ -2368,7 +2368,7 @@ function ro(e, n) {
|
|
|
2368
2368
|
ignoreInvalidStyle: n.ignoreInvalidStyle || !1,
|
|
2369
2369
|
passKeys: n.passKeys !== !1,
|
|
2370
2370
|
passNode: n.passNode || !1,
|
|
2371
|
-
schema: n.space === "svg" ? pn :
|
|
2371
|
+
schema: n.space === "svg" ? pn : Vl,
|
|
2372
2372
|
stylePropertyNameCase: n.stylePropertyNameCase || "dom",
|
|
2373
2373
|
tableCellAlignToStyle: n.tableCellAlignToStyle !== !1
|
|
2374
2374
|
}, o = Wr(i, e, void 0);
|
|
@@ -2741,7 +2741,7 @@ function Jr(e, n) {
|
|
|
2741
2741
|
function ke(e) {
|
|
2742
2742
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
2743
2743
|
}
|
|
2744
|
-
const ae =
|
|
2744
|
+
const ae = Pe(/[A-Za-z]/), ie = Pe(/[\dA-Za-z]/), vo = Pe(/[#-'*+\--9=?A-Z^-~]/);
|
|
2745
2745
|
function vt(e) {
|
|
2746
2746
|
return (
|
|
2747
2747
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -2749,7 +2749,7 @@ function vt(e) {
|
|
|
2749
2749
|
e !== null && (e < 32 || e === 127)
|
|
2750
2750
|
);
|
|
2751
2751
|
}
|
|
2752
|
-
const en =
|
|
2752
|
+
const en = Pe(/\d/), _o = Pe(/[\dA-Fa-f]/), Eo = Pe(/[!-/:-@[-`{-~]/);
|
|
2753
2753
|
function D(e) {
|
|
2754
2754
|
return e !== null && e < -2;
|
|
2755
2755
|
}
|
|
@@ -2759,8 +2759,8 @@ function J(e) {
|
|
|
2759
2759
|
function $(e) {
|
|
2760
2760
|
return e === -2 || e === -1 || e === 32;
|
|
2761
2761
|
}
|
|
2762
|
-
const At =
|
|
2763
|
-
function
|
|
2762
|
+
const At = Pe(/\p{P}|\p{S}/u), Oe = Pe(/\s/);
|
|
2763
|
+
function Pe(e) {
|
|
2764
2764
|
return n;
|
|
2765
2765
|
function n(t) {
|
|
2766
2766
|
return t !== null && t > -1 && e.test(String.fromCharCode(t));
|
|
@@ -2785,7 +2785,7 @@ function Qe(e) {
|
|
|
2785
2785
|
}
|
|
2786
2786
|
return n.join("") + e.slice(r);
|
|
2787
2787
|
}
|
|
2788
|
-
function
|
|
2788
|
+
function V(e, n, t, r) {
|
|
2789
2789
|
const i = r ? r - 1 : Number.POSITIVE_INFINITY;
|
|
2790
2790
|
let o = 0;
|
|
2791
2791
|
return l;
|
|
@@ -2808,7 +2808,7 @@ function Ao(e) {
|
|
|
2808
2808
|
e.consume(a);
|
|
2809
2809
|
return;
|
|
2810
2810
|
}
|
|
2811
|
-
return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"),
|
|
2811
|
+
return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), V(e, n, "linePrefix");
|
|
2812
2812
|
}
|
|
2813
2813
|
function i(a) {
|
|
2814
2814
|
return e.enter("paragraph"), o(a);
|
|
@@ -2829,11 +2829,11 @@ function Ao(e) {
|
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
2831
|
const To = {
|
|
2832
|
-
tokenize: zo
|
|
2833
|
-
}, Gn = {
|
|
2834
2832
|
tokenize: Po
|
|
2833
|
+
}, Gn = {
|
|
2834
|
+
tokenize: zo
|
|
2835
2835
|
};
|
|
2836
|
-
function
|
|
2836
|
+
function Po(e) {
|
|
2837
2837
|
const n = this, t = [];
|
|
2838
2838
|
let r = 0, i, o, l;
|
|
2839
2839
|
return a;
|
|
@@ -2945,8 +2945,8 @@ function zo(e) {
|
|
|
2945
2945
|
i.write([null]), o = void 0, i = void 0, n.containerState._closeFlow = void 0;
|
|
2946
2946
|
}
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2949
|
-
return
|
|
2948
|
+
function zo(e, n, t) {
|
|
2949
|
+
return V(e, e.attempt(this.parser.constructs.document, n, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
2950
2950
|
}
|
|
2951
2951
|
function We(e) {
|
|
2952
2952
|
if (e === null || J(e) || Oe(e))
|
|
@@ -3086,7 +3086,7 @@ const ft = {
|
|
|
3086
3086
|
function Mo(e, n, t) {
|
|
3087
3087
|
return r;
|
|
3088
3088
|
function r(o) {
|
|
3089
|
-
return $(o) ?
|
|
3089
|
+
return $(o) ? V(e, i, "linePrefix")(o) : i(o);
|
|
3090
3090
|
}
|
|
3091
3091
|
function i(o) {
|
|
3092
3092
|
return o === null || D(o) ? n(o) : t(o);
|
|
@@ -3120,7 +3120,7 @@ function Oo(e, n, t) {
|
|
|
3120
3120
|
const r = this;
|
|
3121
3121
|
return i;
|
|
3122
3122
|
function i(l) {
|
|
3123
|
-
return $(l) ?
|
|
3123
|
+
return $(l) ? V(e, o, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(l) : o(l);
|
|
3124
3124
|
}
|
|
3125
3125
|
function o(l) {
|
|
3126
3126
|
return e.attempt(Kr, n, t)(l);
|
|
@@ -3169,7 +3169,7 @@ function $o(e, n, t) {
|
|
|
3169
3169
|
}
|
|
3170
3170
|
const Kn = {
|
|
3171
3171
|
partial: !0,
|
|
3172
|
-
tokenize:
|
|
3172
|
+
tokenize: qo
|
|
3173
3173
|
}, Zn = {
|
|
3174
3174
|
concrete: !0,
|
|
3175
3175
|
name: "codeFenced",
|
|
@@ -3190,7 +3190,7 @@ function Ho(e, n, t) {
|
|
|
3190
3190
|
return o = O && O[1].type === "linePrefix" ? O[2].sliceSerialize(O[1], !0).length : 0, a = x, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), f(x);
|
|
3191
3191
|
}
|
|
3192
3192
|
function f(x) {
|
|
3193
|
-
return x === a ? (l++, e.consume(x), f) : l < 3 ? t(x) : (e.exit("codeFencedFenceSequence"), $(x) ?
|
|
3193
|
+
return x === a ? (l++, e.consume(x), f) : l < 3 ? t(x) : (e.exit("codeFencedFenceSequence"), $(x) ? V(e, c, "whitespace")(x) : c(x));
|
|
3194
3194
|
}
|
|
3195
3195
|
function c(x) {
|
|
3196
3196
|
return x === null || D(x) ? (e.exit("codeFencedFence"), r.interrupt ? n(x) : e.check(Kn, C, L)(x)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
@@ -3198,7 +3198,7 @@ function Ho(e, n, t) {
|
|
|
3198
3198
|
}), h(x));
|
|
3199
3199
|
}
|
|
3200
3200
|
function h(x) {
|
|
3201
|
-
return x === null || D(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), c(x)) : $(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"),
|
|
3201
|
+
return x === null || D(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), c(x)) : $(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), V(e, p, "whitespace")(x)) : x === 96 && x === a ? t(x) : (e.consume(x), h);
|
|
3202
3202
|
}
|
|
3203
3203
|
function p(x) {
|
|
3204
3204
|
return x === null || D(x) ? c(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
@@ -3215,7 +3215,7 @@ function Ho(e, n, t) {
|
|
|
3215
3215
|
return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), y;
|
|
3216
3216
|
}
|
|
3217
3217
|
function y(x) {
|
|
3218
|
-
return o > 0 && $(x) ?
|
|
3218
|
+
return o > 0 && $(x) ? V(e, I, "linePrefix", o + 1)(x) : I(x);
|
|
3219
3219
|
}
|
|
3220
3220
|
function I(x) {
|
|
3221
3221
|
return x === null || D(x) ? e.check(Kn, C, L)(x) : (e.enter("codeFlowValue"), _(x));
|
|
@@ -3233,20 +3233,20 @@ function Ho(e, n, t) {
|
|
|
3233
3233
|
return x.enter("lineEnding"), x.consume(v), x.exit("lineEnding"), T;
|
|
3234
3234
|
}
|
|
3235
3235
|
function T(v) {
|
|
3236
|
-
return x.enter("codeFencedFence"), $(v) ?
|
|
3236
|
+
return x.enter("codeFencedFence"), $(v) ? V(x, P, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(v) : P(v);
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3238
|
+
function P(v) {
|
|
3239
3239
|
return v === a ? (x.enter("codeFencedFenceSequence"), U(v)) : H(v);
|
|
3240
3240
|
}
|
|
3241
3241
|
function U(v) {
|
|
3242
|
-
return v === a ? (j++, x.consume(v), U) : j >= l ? (x.exit("codeFencedFenceSequence"), $(v) ?
|
|
3242
|
+
return v === a ? (j++, x.consume(v), U) : j >= l ? (x.exit("codeFencedFenceSequence"), $(v) ? V(x, z, "whitespace")(v) : z(v)) : H(v);
|
|
3243
3243
|
}
|
|
3244
|
-
function
|
|
3244
|
+
function z(v) {
|
|
3245
3245
|
return v === null || D(v) ? (x.exit("codeFencedFence"), O(v)) : H(v);
|
|
3246
3246
|
}
|
|
3247
3247
|
}
|
|
3248
3248
|
}
|
|
3249
|
-
function
|
|
3249
|
+
function qo(e, n, t) {
|
|
3250
3250
|
const r = this;
|
|
3251
3251
|
return i;
|
|
3252
3252
|
function i(l) {
|
|
@@ -3259,7 +3259,7 @@ function Vo(e, n, t) {
|
|
|
3259
3259
|
const Mt = {
|
|
3260
3260
|
name: "codeIndented",
|
|
3261
3261
|
tokenize: Uo
|
|
3262
|
-
},
|
|
3262
|
+
}, Vo = {
|
|
3263
3263
|
partial: !0,
|
|
3264
3264
|
tokenize: Wo
|
|
3265
3265
|
};
|
|
@@ -3267,14 +3267,14 @@ function Uo(e, n, t) {
|
|
|
3267
3267
|
const r = this;
|
|
3268
3268
|
return i;
|
|
3269
3269
|
function i(u) {
|
|
3270
|
-
return e.enter("codeIndented"),
|
|
3270
|
+
return e.enter("codeIndented"), V(e, o, "linePrefix", 5)(u);
|
|
3271
3271
|
}
|
|
3272
3272
|
function o(u) {
|
|
3273
3273
|
const f = r.events[r.events.length - 1];
|
|
3274
3274
|
return f && f[1].type === "linePrefix" && f[2].sliceSerialize(f[1], !0).length >= 4 ? l(u) : t(u);
|
|
3275
3275
|
}
|
|
3276
3276
|
function l(u) {
|
|
3277
|
-
return u === null ? s(u) : D(u) ? e.attempt(
|
|
3277
|
+
return u === null ? s(u) : D(u) ? e.attempt(Vo, l, s)(u) : (e.enter("codeFlowValue"), a(u));
|
|
3278
3278
|
}
|
|
3279
3279
|
function a(u) {
|
|
3280
3280
|
return u === null || D(u) ? (e.exit("codeFlowValue"), l(u)) : (e.consume(u), a);
|
|
@@ -3287,7 +3287,7 @@ function Wo(e, n, t) {
|
|
|
3287
3287
|
const r = this;
|
|
3288
3288
|
return i;
|
|
3289
3289
|
function i(l) {
|
|
3290
|
-
return r.parser.lazy[r.now().line] ? t(l) : D(l) ? (e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), i) :
|
|
3290
|
+
return r.parser.lazy[r.now().line] ? t(l) : D(l) ? (e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), i) : V(e, o, "linePrefix", 5)(l);
|
|
3291
3291
|
}
|
|
3292
3292
|
function o(l) {
|
|
3293
3293
|
const a = r.events[r.events.length - 1];
|
|
@@ -3591,7 +3591,7 @@ function ra(e, n, t) {
|
|
|
3591
3591
|
const r = this;
|
|
3592
3592
|
return i;
|
|
3593
3593
|
function i(l) {
|
|
3594
|
-
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"),
|
|
3594
|
+
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), V(e, o, "linePrefix");
|
|
3595
3595
|
}
|
|
3596
3596
|
function o(l) {
|
|
3597
3597
|
if (l === null || D(l))
|
|
@@ -3661,7 +3661,7 @@ function ii(e, n, t, r, i, o) {
|
|
|
3661
3661
|
return h === l ? (e.enter(i), e.consume(h), e.exit(i), e.exit(r), n) : (e.enter(o), u(h));
|
|
3662
3662
|
}
|
|
3663
3663
|
function u(h) {
|
|
3664
|
-
return h === l ? (e.exit(o), s(l)) : h === null ? t(h) : D(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"),
|
|
3664
|
+
return h === l ? (e.exit(o), s(l)) : h === null ? t(h) : D(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), V(e, u, "linePrefix")) : (e.enter("chunkString", {
|
|
3665
3665
|
contentType: "string"
|
|
3666
3666
|
}), f(h));
|
|
3667
3667
|
}
|
|
@@ -3676,7 +3676,7 @@ function ot(e, n) {
|
|
|
3676
3676
|
let t;
|
|
3677
3677
|
return r;
|
|
3678
3678
|
function r(i) {
|
|
3679
|
-
return D(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t = !0, r) : $(i) ?
|
|
3679
|
+
return D(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t = !0, r) : $(i) ? V(e, r, t ? "linePrefix" : "lineSuffix")(i) : n(i);
|
|
3680
3680
|
}
|
|
3681
3681
|
}
|
|
3682
3682
|
const ia = {
|
|
@@ -3728,7 +3728,7 @@ function oa(e, n, t) {
|
|
|
3728
3728
|
return e.attempt(la, c, c)(p);
|
|
3729
3729
|
}
|
|
3730
3730
|
function c(p) {
|
|
3731
|
-
return $(p) ?
|
|
3731
|
+
return $(p) ? V(e, h, "whitespace")(p) : h(p);
|
|
3732
3732
|
}
|
|
3733
3733
|
function h(p) {
|
|
3734
3734
|
return p === null || D(p) ? (e.exit("definition"), r.parser.defined.push(i), n(p)) : t(p);
|
|
@@ -3743,7 +3743,7 @@ function aa(e, n, t) {
|
|
|
3743
3743
|
return ii(e, o, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
|
|
3744
3744
|
}
|
|
3745
3745
|
function o(a) {
|
|
3746
|
-
return $(a) ?
|
|
3746
|
+
return $(a) ? V(e, l, "whitespace")(a) : l(a);
|
|
3747
3747
|
}
|
|
3748
3748
|
function l(a) {
|
|
3749
3749
|
return a === null || D(a) ? n(a) : t(a);
|
|
@@ -3793,7 +3793,7 @@ function pa(e, n, t) {
|
|
|
3793
3793
|
return f === 35 && r++ < 6 ? (e.consume(f), l) : f === null || J(f) ? (e.exit("atxHeadingSequence"), a(f)) : t(f);
|
|
3794
3794
|
}
|
|
3795
3795
|
function a(f) {
|
|
3796
|
-
return f === 35 ? (e.enter("atxHeadingSequence"), s(f)) : f === null || D(f) ? (e.exit("atxHeading"), n(f)) : $(f) ?
|
|
3796
|
+
return f === 35 ? (e.enter("atxHeadingSequence"), s(f)) : f === null || D(f) ? (e.exit("atxHeading"), n(f)) : $(f) ? V(e, a, "whitespace")(f) : (e.enter("atxHeadingText"), u(f));
|
|
3797
3797
|
}
|
|
3798
3798
|
function s(f) {
|
|
3799
3799
|
return f === 35 ? (e.consume(f), s) : (e.exit("atxHeadingSequence"), a(f));
|
|
@@ -3904,20 +3904,20 @@ function ka(e, n, t) {
|
|
|
3904
3904
|
}
|
|
3905
3905
|
function g(m) {
|
|
3906
3906
|
const ne = "CDATA[";
|
|
3907
|
-
return m === ne.charCodeAt(a++) ? (e.consume(m), a === ne.length ? r.interrupt ? n :
|
|
3907
|
+
return m === ne.charCodeAt(a++) ? (e.consume(m), a === ne.length ? r.interrupt ? n : P : g) : t(m);
|
|
3908
3908
|
}
|
|
3909
3909
|
function C(m) {
|
|
3910
3910
|
return ae(m) ? (e.consume(m), l = String.fromCharCode(m), S) : t(m);
|
|
3911
3911
|
}
|
|
3912
3912
|
function S(m) {
|
|
3913
3913
|
if (m === null || m === 47 || m === 62 || J(m)) {
|
|
3914
|
-
const ne = m === 47,
|
|
3915
|
-
return !ne && !o && er.includes(
|
|
3914
|
+
const ne = m === 47, ze = l.toLowerCase();
|
|
3915
|
+
return !ne && !o && er.includes(ze) ? (i = 1, r.interrupt ? n(m) : P(m)) : ha.includes(l.toLowerCase()) ? (i = 6, ne ? (e.consume(m), y) : r.interrupt ? n(m) : P(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : o ? I(m) : _(m));
|
|
3916
3916
|
}
|
|
3917
3917
|
return m === 45 || ie(m) ? (e.consume(m), l += String.fromCharCode(m), S) : t(m);
|
|
3918
3918
|
}
|
|
3919
3919
|
function y(m) {
|
|
3920
|
-
return m === 62 ? (e.consume(m), r.interrupt ? n :
|
|
3920
|
+
return m === 62 ? (e.consume(m), r.interrupt ? n : P) : t(m);
|
|
3921
3921
|
}
|
|
3922
3922
|
function I(m) {
|
|
3923
3923
|
return $(m) ? (e.consume(m), I) : k(m);
|
|
@@ -3947,38 +3947,38 @@ function ka(e, n, t) {
|
|
|
3947
3947
|
return m === 62 ? (e.consume(m), T) : t(m);
|
|
3948
3948
|
}
|
|
3949
3949
|
function T(m) {
|
|
3950
|
-
return m === null || D(m) ?
|
|
3950
|
+
return m === null || D(m) ? P(m) : $(m) ? (e.consume(m), T) : t(m);
|
|
3951
3951
|
}
|
|
3952
|
-
function
|
|
3953
|
-
return m === 45 && i === 2 ? (e.consume(m), R) : m === 60 && i === 1 ? (e.consume(m), B) : m === 62 && i === 4 ? (e.consume(m), se) : m === 63 && i === 3 ? (e.consume(m), d) : m === 93 && i === 5 ? (e.consume(m), W) : D(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(ma, te, U)(m)) : m === null || D(m) ? (e.exit("htmlFlowData"), U(m)) : (e.consume(m),
|
|
3952
|
+
function P(m) {
|
|
3953
|
+
return m === 45 && i === 2 ? (e.consume(m), R) : m === 60 && i === 1 ? (e.consume(m), B) : m === 62 && i === 4 ? (e.consume(m), se) : m === 63 && i === 3 ? (e.consume(m), d) : m === 93 && i === 5 ? (e.consume(m), W) : D(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(ma, te, U)(m)) : m === null || D(m) ? (e.exit("htmlFlowData"), U(m)) : (e.consume(m), P);
|
|
3954
3954
|
}
|
|
3955
3955
|
function U(m) {
|
|
3956
|
-
return e.check(ga,
|
|
3956
|
+
return e.check(ga, z, te)(m);
|
|
3957
3957
|
}
|
|
3958
|
-
function
|
|
3958
|
+
function z(m) {
|
|
3959
3959
|
return e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), v;
|
|
3960
3960
|
}
|
|
3961
3961
|
function v(m) {
|
|
3962
|
-
return m === null || D(m) ? U(m) : (e.enter("htmlFlowData"),
|
|
3962
|
+
return m === null || D(m) ? U(m) : (e.enter("htmlFlowData"), P(m));
|
|
3963
3963
|
}
|
|
3964
3964
|
function R(m) {
|
|
3965
|
-
return m === 45 ? (e.consume(m), d) :
|
|
3965
|
+
return m === 45 ? (e.consume(m), d) : P(m);
|
|
3966
3966
|
}
|
|
3967
3967
|
function B(m) {
|
|
3968
|
-
return m === 47 ? (e.consume(m), l = "", Q) :
|
|
3968
|
+
return m === 47 ? (e.consume(m), l = "", Q) : P(m);
|
|
3969
3969
|
}
|
|
3970
3970
|
function Q(m) {
|
|
3971
3971
|
if (m === 62) {
|
|
3972
3972
|
const ne = l.toLowerCase();
|
|
3973
|
-
return er.includes(ne) ? (e.consume(m), se) :
|
|
3973
|
+
return er.includes(ne) ? (e.consume(m), se) : P(m);
|
|
3974
3974
|
}
|
|
3975
|
-
return ae(m) && l.length < 8 ? (e.consume(m), l += String.fromCharCode(m), Q) :
|
|
3975
|
+
return ae(m) && l.length < 8 ? (e.consume(m), l += String.fromCharCode(m), Q) : P(m);
|
|
3976
3976
|
}
|
|
3977
3977
|
function W(m) {
|
|
3978
|
-
return m === 93 ? (e.consume(m), d) :
|
|
3978
|
+
return m === 93 ? (e.consume(m), d) : P(m);
|
|
3979
3979
|
}
|
|
3980
3980
|
function d(m) {
|
|
3981
|
-
return m === 62 ? (e.consume(m), se) : m === 45 && i === 2 ? (e.consume(m), d) :
|
|
3981
|
+
return m === 62 ? (e.consume(m), se) : m === 45 && i === 2 ? (e.consume(m), d) : P(m);
|
|
3982
3982
|
}
|
|
3983
3983
|
function se(m) {
|
|
3984
3984
|
return m === null || D(m) ? (e.exit("htmlFlowData"), te(m)) : (e.consume(m), se);
|
|
@@ -4073,16 +4073,16 @@ function Ca(e, n, t) {
|
|
|
4073
4073
|
return d === 45 || d === 46 || d === 58 || d === 95 || ie(d) ? (e.consume(d), k) : T(d);
|
|
4074
4074
|
}
|
|
4075
4075
|
function T(d) {
|
|
4076
|
-
return d === 61 ? (e.consume(d),
|
|
4076
|
+
return d === 61 ? (e.consume(d), P) : D(d) ? (l = T, B(d)) : $(d) ? (e.consume(d), T) : j(d);
|
|
4077
4077
|
}
|
|
4078
|
-
function
|
|
4079
|
-
return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? t(d) : d === 34 || d === 39 ? (e.consume(d), i = d, U) : D(d) ? (l =
|
|
4078
|
+
function P(d) {
|
|
4079
|
+
return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? t(d) : d === 34 || d === 39 ? (e.consume(d), i = d, U) : D(d) ? (l = P, B(d)) : $(d) ? (e.consume(d), P) : (e.consume(d), z);
|
|
4080
4080
|
}
|
|
4081
4081
|
function U(d) {
|
|
4082
4082
|
return d === i ? (e.consume(d), i = void 0, v) : d === null ? t(d) : D(d) ? (l = U, B(d)) : (e.consume(d), U);
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4085
|
-
return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? t(d) : d === 47 || d === 62 || J(d) ? j(d) : (e.consume(d),
|
|
4084
|
+
function z(d) {
|
|
4085
|
+
return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? t(d) : d === 47 || d === 62 || J(d) ? j(d) : (e.consume(d), z);
|
|
4086
4086
|
}
|
|
4087
4087
|
function v(d) {
|
|
4088
4088
|
return d === 47 || d === 62 || J(d) ? j(d) : t(d);
|
|
@@ -4094,7 +4094,7 @@ function Ca(e, n, t) {
|
|
|
4094
4094
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), Q;
|
|
4095
4095
|
}
|
|
4096
4096
|
function Q(d) {
|
|
4097
|
-
return $(d) ?
|
|
4097
|
+
return $(d) ? V(e, W, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(d) : W(d);
|
|
4098
4098
|
}
|
|
4099
4099
|
function W(d) {
|
|
4100
4100
|
return e.enter("htmlTextData"), l(d);
|
|
@@ -4108,9 +4108,9 @@ const xn = {
|
|
|
4108
4108
|
}, Sa = {
|
|
4109
4109
|
tokenize: Ta
|
|
4110
4110
|
}, va = {
|
|
4111
|
-
tokenize: za
|
|
4112
|
-
}, _a = {
|
|
4113
4111
|
tokenize: Pa
|
|
4112
|
+
}, _a = {
|
|
4113
|
+
tokenize: za
|
|
4114
4114
|
};
|
|
4115
4115
|
function Ea(e) {
|
|
4116
4116
|
let n = -1;
|
|
@@ -4219,7 +4219,7 @@ function Ta(e, n, t) {
|
|
|
4219
4219
|
return c === 41 ? (e.enter("resourceMarker"), e.consume(c), e.exit("resourceMarker"), e.exit("resource"), n) : t(c);
|
|
4220
4220
|
}
|
|
4221
4221
|
}
|
|
4222
|
-
function
|
|
4222
|
+
function Pa(e, n, t) {
|
|
4223
4223
|
const r = this;
|
|
4224
4224
|
return i;
|
|
4225
4225
|
function i(a) {
|
|
@@ -4232,7 +4232,7 @@ function za(e, n, t) {
|
|
|
4232
4232
|
return t(a);
|
|
4233
4233
|
}
|
|
4234
4234
|
}
|
|
4235
|
-
function
|
|
4235
|
+
function za(e, n, t) {
|
|
4236
4236
|
return r;
|
|
4237
4237
|
function r(o) {
|
|
4238
4238
|
return e.enter("reference"), e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), i;
|
|
@@ -4281,7 +4281,7 @@ const Ft = {
|
|
|
4281
4281
|
function Ma(e, n) {
|
|
4282
4282
|
return t;
|
|
4283
4283
|
function t(r) {
|
|
4284
|
-
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"),
|
|
4284
|
+
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), V(e, n, "linePrefix");
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
4287
|
const Ct = {
|
|
@@ -4301,19 +4301,19 @@ function Fa(e, n, t) {
|
|
|
4301
4301
|
return u === i ? (e.enter("thematicBreakSequence"), s(u)) : r >= 3 && (u === null || D(u)) ? (e.exit("thematicBreak"), n(u)) : t(u);
|
|
4302
4302
|
}
|
|
4303
4303
|
function s(u) {
|
|
4304
|
-
return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), $(u) ?
|
|
4304
|
+
return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), $(u) ? V(e, a, "whitespace")(u) : a(u));
|
|
4305
4305
|
}
|
|
4306
4306
|
}
|
|
4307
4307
|
const ue = {
|
|
4308
4308
|
continuation: {
|
|
4309
4309
|
tokenize: $a
|
|
4310
4310
|
},
|
|
4311
|
-
exit:
|
|
4311
|
+
exit: qa,
|
|
4312
4312
|
name: "list",
|
|
4313
4313
|
tokenize: ja
|
|
4314
4314
|
}, Oa = {
|
|
4315
4315
|
partial: !0,
|
|
4316
|
-
tokenize:
|
|
4316
|
+
tokenize: Va
|
|
4317
4317
|
}, Ba = {
|
|
4318
4318
|
partial: !0,
|
|
4319
4319
|
tokenize: Ha
|
|
@@ -4359,29 +4359,29 @@ function $a(e, n, t) {
|
|
|
4359
4359
|
const r = this;
|
|
4360
4360
|
return r.containerState._closeFlow = void 0, e.check(ft, i, o);
|
|
4361
4361
|
function i(a) {
|
|
4362
|
-
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine,
|
|
4362
|
+
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, V(e, n, "listItemIndent", r.containerState.size + 1)(a);
|
|
4363
4363
|
}
|
|
4364
4364
|
function o(a) {
|
|
4365
4365
|
return r.containerState.furtherBlankLines || !$(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, l(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Ba, n, l)(a));
|
|
4366
4366
|
}
|
|
4367
4367
|
function l(a) {
|
|
4368
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0,
|
|
4368
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, V(e, e.attempt(ue, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
|
|
4369
4369
|
}
|
|
4370
4370
|
}
|
|
4371
4371
|
function Ha(e, n, t) {
|
|
4372
4372
|
const r = this;
|
|
4373
|
-
return
|
|
4373
|
+
return V(e, i, "listItemIndent", r.containerState.size + 1);
|
|
4374
4374
|
function i(o) {
|
|
4375
4375
|
const l = r.events[r.events.length - 1];
|
|
4376
4376
|
return l && l[1].type === "listItemIndent" && l[2].sliceSerialize(l[1], !0).length === r.containerState.size ? n(o) : t(o);
|
|
4377
4377
|
}
|
|
4378
4378
|
}
|
|
4379
|
-
function
|
|
4379
|
+
function qa(e) {
|
|
4380
4380
|
e.exit(this.containerState.type);
|
|
4381
4381
|
}
|
|
4382
|
-
function
|
|
4382
|
+
function Va(e, n, t) {
|
|
4383
4383
|
const r = this;
|
|
4384
|
-
return
|
|
4384
|
+
return V(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
|
4385
4385
|
function i(o) {
|
|
4386
4386
|
const l = r.events[r.events.length - 1];
|
|
4387
4387
|
return !$(o) && l && l[1].type === "listItemPrefixWhitespace" ? n(o) : t(o);
|
|
@@ -4433,7 +4433,7 @@ function Wa(e, n, t) {
|
|
|
4433
4433
|
return e.enter("setextHeadingLineSequence"), a(u);
|
|
4434
4434
|
}
|
|
4435
4435
|
function a(u) {
|
|
4436
|
-
return u === i ? (e.consume(u), a) : (e.exit("setextHeadingLineSequence"), $(u) ?
|
|
4436
|
+
return u === i ? (e.consume(u), a) : (e.exit("setextHeadingLineSequence"), $(u) ? V(e, s, "lineSuffix")(u) : s(u));
|
|
4437
4437
|
}
|
|
4438
4438
|
function s(u) {
|
|
4439
4439
|
return u === null || D(u) ? (e.exit("setextHeadingLine"), n(u)) : t(u);
|
|
@@ -4448,7 +4448,7 @@ function Qa(e) {
|
|
|
4448
4448
|
ft,
|
|
4449
4449
|
r,
|
|
4450
4450
|
// Try to parse initial flow (essentially, only code).
|
|
4451
|
-
e.attempt(this.parser.constructs.flowInitial, i,
|
|
4451
|
+
e.attempt(this.parser.constructs.flowInitial, i, V(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Zo, i)), "linePrefix"))
|
|
4452
4452
|
);
|
|
4453
4453
|
return t;
|
|
4454
4454
|
function r(o) {
|
|
@@ -4656,8 +4656,8 @@ function us(e, n, t) {
|
|
|
4656
4656
|
function c(T) {
|
|
4657
4657
|
return l = me(l, T), S(), l[l.length - 1] !== null ? [] : (H(n, 0), u.events = Tt(o, u.events, u), u.events);
|
|
4658
4658
|
}
|
|
4659
|
-
function h(T,
|
|
4660
|
-
return fs(p(T),
|
|
4659
|
+
function h(T, P) {
|
|
4660
|
+
return fs(p(T), P);
|
|
4661
4661
|
}
|
|
4662
4662
|
function p(T) {
|
|
4663
4663
|
return cs(l, T);
|
|
@@ -4665,16 +4665,16 @@ function us(e, n, t) {
|
|
|
4665
4665
|
function g() {
|
|
4666
4666
|
const {
|
|
4667
4667
|
_bufferIndex: T,
|
|
4668
|
-
_index:
|
|
4668
|
+
_index: P,
|
|
4669
4669
|
line: U,
|
|
4670
|
-
column:
|
|
4670
|
+
column: z,
|
|
4671
4671
|
offset: v
|
|
4672
4672
|
} = r;
|
|
4673
4673
|
return {
|
|
4674
4674
|
_bufferIndex: T,
|
|
4675
|
-
_index:
|
|
4675
|
+
_index: P,
|
|
4676
4676
|
line: U,
|
|
4677
|
-
column:
|
|
4677
|
+
column: z,
|
|
4678
4678
|
offset: v
|
|
4679
4679
|
};
|
|
4680
4680
|
}
|
|
@@ -4684,12 +4684,12 @@ function us(e, n, t) {
|
|
|
4684
4684
|
function S() {
|
|
4685
4685
|
let T;
|
|
4686
4686
|
for (; r._index < l.length; ) {
|
|
4687
|
-
const
|
|
4688
|
-
if (typeof
|
|
4689
|
-
for (T = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === T && r._bufferIndex <
|
|
4690
|
-
y(
|
|
4687
|
+
const P = l[r._index];
|
|
4688
|
+
if (typeof P == "string")
|
|
4689
|
+
for (T = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === T && r._bufferIndex < P.length; )
|
|
4690
|
+
y(P.charCodeAt(r._bufferIndex));
|
|
4691
4691
|
else
|
|
4692
|
-
y(
|
|
4692
|
+
y(P);
|
|
4693
4693
|
}
|
|
4694
4694
|
}
|
|
4695
4695
|
function y(T) {
|
|
@@ -4701,34 +4701,34 @@ function us(e, n, t) {
|
|
|
4701
4701
|
/** @type {string} */
|
|
4702
4702
|
l[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = T;
|
|
4703
4703
|
}
|
|
4704
|
-
function _(T,
|
|
4705
|
-
const U =
|
|
4704
|
+
function _(T, P) {
|
|
4705
|
+
const U = P || {};
|
|
4706
4706
|
return U.type = T, U.start = g(), u.events.push(["enter", U, u]), a.push(U), U;
|
|
4707
4707
|
}
|
|
4708
4708
|
function L(T) {
|
|
4709
|
-
const
|
|
4710
|
-
return
|
|
4709
|
+
const P = a.pop();
|
|
4710
|
+
return P.end = g(), u.events.push(["exit", P, u]), P;
|
|
4711
4711
|
}
|
|
4712
|
-
function N(T,
|
|
4713
|
-
H(T,
|
|
4712
|
+
function N(T, P) {
|
|
4713
|
+
H(T, P.from);
|
|
4714
4714
|
}
|
|
4715
|
-
function x(T,
|
|
4716
|
-
|
|
4715
|
+
function x(T, P) {
|
|
4716
|
+
P.restore();
|
|
4717
4717
|
}
|
|
4718
|
-
function O(T,
|
|
4718
|
+
function O(T, P) {
|
|
4719
4719
|
return U;
|
|
4720
|
-
function U(
|
|
4720
|
+
function U(z, v, R) {
|
|
4721
4721
|
let B, Q, W, d;
|
|
4722
|
-
return Array.isArray(
|
|
4722
|
+
return Array.isArray(z) ? (
|
|
4723
4723
|
/* c8 ignore next 1 */
|
|
4724
|
-
te(
|
|
4725
|
-
) : "tokenize" in
|
|
4724
|
+
te(z)
|
|
4725
|
+
) : "tokenize" in z ? (
|
|
4726
4726
|
// Looks like a construct.
|
|
4727
4727
|
te([
|
|
4728
4728
|
/** @type {Construct} */
|
|
4729
|
-
|
|
4729
|
+
z
|
|
4730
4730
|
])
|
|
4731
|
-
) : se(
|
|
4731
|
+
) : se(z);
|
|
4732
4732
|
function se(re) {
|
|
4733
4733
|
return Xe;
|
|
4734
4734
|
function Xe(Ie) {
|
|
@@ -4747,36 +4747,36 @@ function us(e, n, t) {
|
|
|
4747
4747
|
function m(re) {
|
|
4748
4748
|
return Xe;
|
|
4749
4749
|
function Xe(Ie) {
|
|
4750
|
-
return d = j(), W = re, re.partial || (u.currentConstruct = re), re.name && u.parser.constructs.disable.null.includes(re.name) ?
|
|
4750
|
+
return d = j(), W = re, re.partial || (u.currentConstruct = re), re.name && u.parser.constructs.disable.null.includes(re.name) ? ze() : re.tokenize.call(
|
|
4751
4751
|
// If we do have fields, create an object w/ `context` as its
|
|
4752
4752
|
// prototype.
|
|
4753
4753
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
4754
|
-
|
|
4754
|
+
P ? Object.assign(Object.create(u), P) : u,
|
|
4755
4755
|
s,
|
|
4756
4756
|
ne,
|
|
4757
|
-
|
|
4757
|
+
ze
|
|
4758
4758
|
)(Ie);
|
|
4759
4759
|
}
|
|
4760
4760
|
}
|
|
4761
4761
|
function ne(re) {
|
|
4762
4762
|
return T(W, d), v;
|
|
4763
4763
|
}
|
|
4764
|
-
function
|
|
4764
|
+
function ze(re) {
|
|
4765
4765
|
return d.restore(), ++Q < B.length ? m(B[Q]) : R;
|
|
4766
4766
|
}
|
|
4767
4767
|
}
|
|
4768
4768
|
}
|
|
4769
|
-
function H(T,
|
|
4770
|
-
T.resolveAll && !o.includes(T) && o.push(T), T.resolve && he(u.events,
|
|
4769
|
+
function H(T, P) {
|
|
4770
|
+
T.resolveAll && !o.includes(T) && o.push(T), T.resolve && he(u.events, P, u.events.length - P, T.resolve(u.events.slice(P), u)), T.resolveTo && (u.events = T.resolveTo(u.events, u));
|
|
4771
4771
|
}
|
|
4772
4772
|
function j() {
|
|
4773
|
-
const T = g(),
|
|
4773
|
+
const T = g(), P = u.previous, U = u.currentConstruct, z = u.events.length, v = Array.from(a);
|
|
4774
4774
|
return {
|
|
4775
|
-
from:
|
|
4775
|
+
from: z,
|
|
4776
4776
|
restore: R
|
|
4777
4777
|
};
|
|
4778
4778
|
function R() {
|
|
4779
|
-
r = T, u.previous =
|
|
4779
|
+
r = T, u.previous = P, u.currentConstruct = U, u.events.length = z, a = v, k();
|
|
4780
4780
|
}
|
|
4781
4781
|
}
|
|
4782
4782
|
function k() {
|
|
@@ -4933,20 +4933,20 @@ function xs(e) {
|
|
|
4933
4933
|
codeFencedFenceInfo: l,
|
|
4934
4934
|
codeFencedFenceMeta: l,
|
|
4935
4935
|
codeIndented: o(ht, l),
|
|
4936
|
-
codeText: o(
|
|
4936
|
+
codeText: o(qi, l),
|
|
4937
4937
|
codeTextData: j,
|
|
4938
4938
|
data: j,
|
|
4939
4939
|
codeFlowValue: j,
|
|
4940
|
-
definition: o(
|
|
4940
|
+
definition: o(Vi),
|
|
4941
4941
|
definitionDestinationString: l,
|
|
4942
4942
|
definitionLabelString: l,
|
|
4943
4943
|
definitionTitleString: l,
|
|
4944
4944
|
emphasis: o(Ui),
|
|
4945
|
-
hardBreakEscape: o(
|
|
4946
|
-
hardBreakTrailing: o(
|
|
4947
|
-
htmlFlow: o(
|
|
4945
|
+
hardBreakEscape: o(Pn),
|
|
4946
|
+
hardBreakTrailing: o(Pn),
|
|
4947
|
+
htmlFlow: o(zn, l),
|
|
4948
4948
|
htmlFlowData: j,
|
|
4949
|
-
htmlText: o(
|
|
4949
|
+
htmlText: o(zn, l),
|
|
4950
4950
|
htmlTextData: j,
|
|
4951
4951
|
image: o(Wi),
|
|
4952
4952
|
label: l,
|
|
@@ -4972,8 +4972,8 @@ function xs(e) {
|
|
|
4972
4972
|
autolinkProtocol: Ie,
|
|
4973
4973
|
blockQuote: s(),
|
|
4974
4974
|
characterEscapeValue: k,
|
|
4975
|
-
characterReferenceMarkerHexadecimal:
|
|
4976
|
-
characterReferenceMarkerNumeric:
|
|
4975
|
+
characterReferenceMarkerHexadecimal: ze,
|
|
4976
|
+
characterReferenceMarkerNumeric: ze,
|
|
4977
4977
|
characterReferenceValue: re,
|
|
4978
4978
|
characterReference: Xe,
|
|
4979
4979
|
codeFenced: s(S),
|
|
@@ -4990,11 +4990,11 @@ function xs(e) {
|
|
|
4990
4990
|
definitionLabelString: I,
|
|
4991
4991
|
definitionTitleString: _,
|
|
4992
4992
|
emphasis: s(),
|
|
4993
|
-
hardBreakEscape: s(
|
|
4994
|
-
hardBreakTrailing: s(
|
|
4993
|
+
hardBreakEscape: s(P),
|
|
4994
|
+
hardBreakTrailing: s(P),
|
|
4995
4995
|
htmlFlow: s(U),
|
|
4996
4996
|
htmlFlowData: k,
|
|
4997
|
-
htmlText: s(
|
|
4997
|
+
htmlText: s(z),
|
|
4998
4998
|
htmlTextData: k,
|
|
4999
4999
|
image: s(B),
|
|
5000
5000
|
label: W,
|
|
@@ -5033,14 +5033,14 @@ function xs(e) {
|
|
|
5033
5033
|
buffer: l,
|
|
5034
5034
|
resume: f,
|
|
5035
5035
|
data: t
|
|
5036
|
-
},
|
|
5036
|
+
}, q = [];
|
|
5037
5037
|
let X = -1;
|
|
5038
5038
|
for (; ++X < w.length; )
|
|
5039
5039
|
if (w[X][1].type === "listOrdered" || w[X][1].type === "listUnordered")
|
|
5040
5040
|
if (w[X][0] === "enter")
|
|
5041
|
-
|
|
5041
|
+
q.push(X);
|
|
5042
5042
|
else {
|
|
5043
|
-
const ge =
|
|
5043
|
+
const ge = q.pop();
|
|
5044
5044
|
X = i(w, ge, X);
|
|
5045
5045
|
}
|
|
5046
5046
|
for (X = -1; ++X < w.length; ) {
|
|
@@ -5069,9 +5069,9 @@ function xs(e) {
|
|
|
5069
5069
|
return A;
|
|
5070
5070
|
}
|
|
5071
5071
|
function i(w, A, F) {
|
|
5072
|
-
let
|
|
5073
|
-
for (; ++
|
|
5074
|
-
const fe = w[
|
|
5072
|
+
let q = A - 1, X = -1, ge = !1, Le, Ce, Ge, Je;
|
|
5073
|
+
for (; ++q <= F; ) {
|
|
5074
|
+
const fe = w[q];
|
|
5075
5075
|
switch (fe[1].type) {
|
|
5076
5076
|
case "listUnordered":
|
|
5077
5077
|
case "listOrdered":
|
|
@@ -5080,7 +5080,7 @@ function xs(e) {
|
|
|
5080
5080
|
break;
|
|
5081
5081
|
}
|
|
5082
5082
|
case "lineEndingBlank": {
|
|
5083
|
-
fe[0] === "enter" && (Le && !Je && !X && !Ge && (Ge =
|
|
5083
|
+
fe[0] === "enter" && (Le && !Je && !X && !Ge && (Ge = q), Je = void 0);
|
|
5084
5084
|
break;
|
|
5085
5085
|
}
|
|
5086
5086
|
case "linePrefix":
|
|
@@ -5094,7 +5094,7 @@ function xs(e) {
|
|
|
5094
5094
|
}
|
|
5095
5095
|
if (!X && fe[0] === "enter" && fe[1].type === "listItemPrefix" || X === -1 && fe[0] === "exit" && (fe[1].type === "listUnordered" || fe[1].type === "listOrdered")) {
|
|
5096
5096
|
if (Le) {
|
|
5097
|
-
let He =
|
|
5097
|
+
let He = q;
|
|
5098
5098
|
for (Ce = void 0; He--; ) {
|
|
5099
5099
|
const Se = w[He];
|
|
5100
5100
|
if (Se[1].type === "lineEnding" || Se[1].type === "lineEndingBlank") {
|
|
@@ -5102,7 +5102,7 @@ function xs(e) {
|
|
|
5102
5102
|
Ce && (w[Ce][1].type = "lineEndingBlank", ge = !0), Se[1].type = "lineEnding", Ce = He;
|
|
5103
5103
|
} else if (!(Se[1].type === "linePrefix" || Se[1].type === "blockQuotePrefix" || Se[1].type === "blockQuotePrefixWhitespace" || Se[1].type === "blockQuoteMarker" || Se[1].type === "listItemIndent")) break;
|
|
5104
5104
|
}
|
|
5105
|
-
Ge && (!Ce || Ge < Ce) && (Le._spread = !0), Le.end = Object.assign({}, Ce ? w[Ce][1].start : fe[1].end), w.splice(Ce ||
|
|
5105
|
+
Ge && (!Ce || Ge < Ce) && (Le._spread = !0), Le.end = Object.assign({}, Ce ? w[Ce][1].start : fe[1].end), w.splice(Ce || q, 0, ["exit", Le, fe[2]]), q++, F++;
|
|
5106
5106
|
}
|
|
5107
5107
|
if (fe[1].type === "listItemPrefix") {
|
|
5108
5108
|
const He = {
|
|
@@ -5112,7 +5112,7 @@ function xs(e) {
|
|
|
5112
5112
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
5113
5113
|
end: void 0
|
|
5114
5114
|
};
|
|
5115
|
-
Le = He, w.splice(
|
|
5115
|
+
Le = He, w.splice(q, 0, ["enter", He, fe[2]]), q++, F++, Ge = void 0, Je = !0;
|
|
5116
5116
|
}
|
|
5117
5117
|
}
|
|
5118
5118
|
}
|
|
@@ -5120,8 +5120,8 @@ function xs(e) {
|
|
|
5120
5120
|
}
|
|
5121
5121
|
function o(w, A) {
|
|
5122
5122
|
return F;
|
|
5123
|
-
function F(
|
|
5124
|
-
a.call(this, w(
|
|
5123
|
+
function F(q) {
|
|
5124
|
+
a.call(this, w(q), q), A && A.call(this, q);
|
|
5125
5125
|
}
|
|
5126
5126
|
}
|
|
5127
5127
|
function l() {
|
|
@@ -5144,9 +5144,9 @@ function xs(e) {
|
|
|
5144
5144
|
}
|
|
5145
5145
|
}
|
|
5146
5146
|
function u(w, A) {
|
|
5147
|
-
const F = this.stack.pop(),
|
|
5148
|
-
if (
|
|
5149
|
-
|
|
5147
|
+
const F = this.stack.pop(), q = this.tokenStack.pop();
|
|
5148
|
+
if (q)
|
|
5149
|
+
q[0].type !== w.type && (A ? A.call(this, w, q[0]) : (q[1] || rr).call(this, w, q[0]));
|
|
5150
5150
|
else throw new Error("Cannot close `" + w.type + "` (" + lt({
|
|
5151
5151
|
start: w.start,
|
|
5152
5152
|
end: w.end
|
|
@@ -5215,12 +5215,12 @@ function xs(e) {
|
|
|
5215
5215
|
}
|
|
5216
5216
|
function j(w) {
|
|
5217
5217
|
const F = this.stack[this.stack.length - 1].children;
|
|
5218
|
-
let
|
|
5219
|
-
(!
|
|
5218
|
+
let q = F[F.length - 1];
|
|
5219
|
+
(!q || q.type !== "text") && (q = Gi(), q.position = {
|
|
5220
5220
|
start: Ae(w.start),
|
|
5221
5221
|
// @ts-expect-error: we’ll add `end` later.
|
|
5222
5222
|
end: void 0
|
|
5223
|
-
}, F.push(
|
|
5223
|
+
}, F.push(q)), this.stack.push(q);
|
|
5224
5224
|
}
|
|
5225
5225
|
function k(w) {
|
|
5226
5226
|
const A = this.stack.pop();
|
|
@@ -5235,14 +5235,14 @@ function xs(e) {
|
|
|
5235
5235
|
}
|
|
5236
5236
|
!this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(A.type) && (j.call(this, w), k.call(this, w));
|
|
5237
5237
|
}
|
|
5238
|
-
function
|
|
5238
|
+
function P() {
|
|
5239
5239
|
this.data.atHardBreak = !0;
|
|
5240
5240
|
}
|
|
5241
5241
|
function U() {
|
|
5242
5242
|
const w = this.resume(), A = this.stack[this.stack.length - 1];
|
|
5243
5243
|
A.value = w;
|
|
5244
5244
|
}
|
|
5245
|
-
function
|
|
5245
|
+
function z() {
|
|
5246
5246
|
const w = this.resume(), A = this.stack[this.stack.length - 1];
|
|
5247
5247
|
A.value = w;
|
|
5248
5248
|
}
|
|
@@ -5275,8 +5275,8 @@ function xs(e) {
|
|
|
5275
5275
|
function W() {
|
|
5276
5276
|
const w = this.stack[this.stack.length - 1], A = this.resume(), F = this.stack[this.stack.length - 1];
|
|
5277
5277
|
if (this.data.inReference = !0, F.type === "link") {
|
|
5278
|
-
const
|
|
5279
|
-
F.children =
|
|
5278
|
+
const q = w.children;
|
|
5279
|
+
F.children = q;
|
|
5280
5280
|
} else
|
|
5281
5281
|
F.alt = A;
|
|
5282
5282
|
}
|
|
@@ -5298,15 +5298,15 @@ function xs(e) {
|
|
|
5298
5298
|
const A = this.resume(), F = this.stack[this.stack.length - 1];
|
|
5299
5299
|
F.label = A, F.identifier = ke(this.sliceSerialize(w)).toLowerCase(), this.data.referenceType = "full";
|
|
5300
5300
|
}
|
|
5301
|
-
function
|
|
5301
|
+
function ze(w) {
|
|
5302
5302
|
this.data.characterReferenceType = w.type;
|
|
5303
5303
|
}
|
|
5304
5304
|
function re(w) {
|
|
5305
5305
|
const A = this.sliceSerialize(w), F = this.data.characterReferenceType;
|
|
5306
|
-
let
|
|
5307
|
-
F ? (
|
|
5306
|
+
let q;
|
|
5307
|
+
F ? (q = Jr(A, F === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : q = kn(A);
|
|
5308
5308
|
const X = this.stack[this.stack.length - 1];
|
|
5309
|
-
X.value +=
|
|
5309
|
+
X.value += q;
|
|
5310
5310
|
}
|
|
5311
5311
|
function Xe(w) {
|
|
5312
5312
|
const A = this.stack.pop();
|
|
@@ -5336,13 +5336,13 @@ function xs(e) {
|
|
|
5336
5336
|
value: ""
|
|
5337
5337
|
};
|
|
5338
5338
|
}
|
|
5339
|
-
function
|
|
5339
|
+
function qi() {
|
|
5340
5340
|
return {
|
|
5341
5341
|
type: "inlineCode",
|
|
5342
5342
|
value: ""
|
|
5343
5343
|
};
|
|
5344
5344
|
}
|
|
5345
|
-
function
|
|
5345
|
+
function Vi() {
|
|
5346
5346
|
return {
|
|
5347
5347
|
type: "definition",
|
|
5348
5348
|
identifier: "",
|
|
@@ -5365,12 +5365,12 @@ function xs(e) {
|
|
|
5365
5365
|
children: []
|
|
5366
5366
|
};
|
|
5367
5367
|
}
|
|
5368
|
-
function
|
|
5368
|
+
function Pn() {
|
|
5369
5369
|
return {
|
|
5370
5370
|
type: "break"
|
|
5371
5371
|
};
|
|
5372
5372
|
}
|
|
5373
|
-
function
|
|
5373
|
+
function zn() {
|
|
5374
5374
|
return {
|
|
5375
5375
|
type: "html",
|
|
5376
5376
|
value: ""
|
|
@@ -5590,7 +5590,7 @@ function ui(e, n) {
|
|
|
5590
5590
|
const l = i[i.length - 1];
|
|
5591
5591
|
return l && l.type === "text" ? l.value += r : i.push({ type: "text", value: r }), i;
|
|
5592
5592
|
}
|
|
5593
|
-
function
|
|
5593
|
+
function Ps(e, n) {
|
|
5594
5594
|
const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
|
|
5595
5595
|
if (!r)
|
|
5596
5596
|
return ui(e, n);
|
|
@@ -5599,7 +5599,7 @@ function zs(e, n) {
|
|
|
5599
5599
|
const o = { type: "element", tagName: "img", properties: i, children: [] };
|
|
5600
5600
|
return e.patch(n, o), e.applyData(n, o);
|
|
5601
5601
|
}
|
|
5602
|
-
function
|
|
5602
|
+
function zs(e, n) {
|
|
5603
5603
|
const t = { src: Qe(n.url) };
|
|
5604
5604
|
n.alt !== null && n.alt !== void 0 && (t.alt = n.alt), n.title !== null && n.title !== void 0 && (t.title = n.title);
|
|
5605
5605
|
const r = { type: "element", tagName: "img", properties: t, children: [] };
|
|
@@ -5737,7 +5737,7 @@ function $s(e, n) {
|
|
|
5737
5737
|
tagName: "tbody",
|
|
5738
5738
|
properties: {},
|
|
5739
5739
|
children: e.wrap(t, !0)
|
|
5740
|
-
}, a = hn(n.children[1]), s =
|
|
5740
|
+
}, a = hn(n.children[1]), s = qr(n.children[n.children.length - 1]);
|
|
5741
5741
|
a && s && (l.position = { start: a, end: s }), i.push(l);
|
|
5742
5742
|
}
|
|
5743
5743
|
const o = {
|
|
@@ -5766,7 +5766,7 @@ function Hs(e, n, t) {
|
|
|
5766
5766
|
};
|
|
5767
5767
|
return e.patch(n, f), e.applyData(n, f);
|
|
5768
5768
|
}
|
|
5769
|
-
function
|
|
5769
|
+
function qs(e, n) {
|
|
5770
5770
|
const t = {
|
|
5771
5771
|
type: "element",
|
|
5772
5772
|
tagName: "td",
|
|
@@ -5777,7 +5777,7 @@ function Vs(e, n) {
|
|
|
5777
5777
|
return e.patch(n, t), e.applyData(n, t);
|
|
5778
5778
|
}
|
|
5779
5779
|
const ir = 9, lr = 32;
|
|
5780
|
-
function
|
|
5780
|
+
function Vs(e) {
|
|
5781
5781
|
const n = String(e), t = /\r?\n|\r/g;
|
|
5782
5782
|
let r = t.exec(n), i = 0;
|
|
5783
5783
|
const o = [];
|
|
@@ -5803,7 +5803,7 @@ function or(e, n, t) {
|
|
|
5803
5803
|
return i > r ? e.slice(r, i) : "";
|
|
5804
5804
|
}
|
|
5805
5805
|
function Us(e, n) {
|
|
5806
|
-
const t = { type: "text", value:
|
|
5806
|
+
const t = { type: "text", value: Vs(String(n.value)) };
|
|
5807
5807
|
return e.patch(n, t), e.applyData(n, t);
|
|
5808
5808
|
}
|
|
5809
5809
|
function Ws(e, n) {
|
|
@@ -5824,8 +5824,8 @@ const Ys = {
|
|
|
5824
5824
|
footnoteReference: Is,
|
|
5825
5825
|
heading: As,
|
|
5826
5826
|
html: Ts,
|
|
5827
|
-
imageReference:
|
|
5828
|
-
image:
|
|
5827
|
+
imageReference: Ps,
|
|
5828
|
+
image: zs,
|
|
5829
5829
|
inlineCode: Ls,
|
|
5830
5830
|
linkReference: Ds,
|
|
5831
5831
|
link: Ns,
|
|
@@ -5836,7 +5836,7 @@ const Ys = {
|
|
|
5836
5836
|
root: Bs,
|
|
5837
5837
|
strong: js,
|
|
5838
5838
|
table: $s,
|
|
5839
|
-
tableCell:
|
|
5839
|
+
tableCell: qs,
|
|
5840
5840
|
tableRow: Hs,
|
|
5841
5841
|
text: Us,
|
|
5842
5842
|
thematicBreak: Ws,
|
|
@@ -5847,7 +5847,7 @@ const Ys = {
|
|
|
5847
5847
|
};
|
|
5848
5848
|
function mt() {
|
|
5849
5849
|
}
|
|
5850
|
-
const fi = -1,
|
|
5850
|
+
const fi = -1, Pt = 0, at = 1, _t = 2, bn = 3, wn = 4, Cn = 5, Sn = 6, pi = 7, hi = 8, di = typeof self == "object" ? self : globalThis, ar = (e, n) => {
|
|
5851
5851
|
switch (e) {
|
|
5852
5852
|
case "Function":
|
|
5853
5853
|
case "SharedWorker":
|
|
@@ -5864,7 +5864,7 @@ const fi = -1, zt = 0, at = 1, _t = 2, bn = 3, wn = 4, Cn = 5, Sn = 6, pi = 7, h
|
|
|
5864
5864
|
return e.get(i);
|
|
5865
5865
|
const [o, l] = n[i];
|
|
5866
5866
|
switch (o) {
|
|
5867
|
-
case
|
|
5867
|
+
case Pt:
|
|
5868
5868
|
case fi:
|
|
5869
5869
|
return t(l, i);
|
|
5870
5870
|
case at: {
|
|
@@ -5921,7 +5921,7 @@ const fi = -1, zt = 0, at = 1, _t = 2, bn = 3, wn = 4, Cn = 5, Sn = 6, pi = 7, h
|
|
|
5921
5921
|
}, sr = (e) => Qs(/* @__PURE__ */ new Map(), e)(0), Re = "", { toString: Xs } = {}, { keys: Gs } = Object, tt = (e) => {
|
|
5922
5922
|
const n = typeof e;
|
|
5923
5923
|
if (n !== "object" || !e)
|
|
5924
|
-
return [
|
|
5924
|
+
return [Pt, n];
|
|
5925
5925
|
const t = Xs.call(e).slice(8, -1);
|
|
5926
5926
|
switch (t) {
|
|
5927
5927
|
case "Array":
|
|
@@ -5940,7 +5940,7 @@ const fi = -1, zt = 0, at = 1, _t = 2, bn = 3, wn = 4, Cn = 5, Sn = 6, pi = 7, h
|
|
|
5940
5940
|
return [at, t];
|
|
5941
5941
|
}
|
|
5942
5942
|
return t.includes("Array") ? [at, t] : e instanceof Error ? [pi, e.name || "Error"] : [_t, t];
|
|
5943
|
-
}, gt = ([e, n]) => e ===
|
|
5943
|
+
}, gt = ([e, n]) => e === Pt && (n === "function" || n === "symbol"), Js = (e, n, t, r) => {
|
|
5944
5944
|
const i = (l, a) => {
|
|
5945
5945
|
const s = r.push(l) - 1;
|
|
5946
5946
|
return t.set(a, s), s;
|
|
@@ -5949,7 +5949,7 @@ const fi = -1, zt = 0, at = 1, _t = 2, bn = 3, wn = 4, Cn = 5, Sn = 6, pi = 7, h
|
|
|
5949
5949
|
return t.get(l);
|
|
5950
5950
|
let [a, s] = tt(l);
|
|
5951
5951
|
switch (a) {
|
|
5952
|
-
case
|
|
5952
|
+
case Pt: {
|
|
5953
5953
|
let f = l;
|
|
5954
5954
|
switch (s) {
|
|
5955
5955
|
case "bigint":
|
|
@@ -6106,7 +6106,7 @@ function eu(e) {
|
|
|
6106
6106
|
]
|
|
6107
6107
|
};
|
|
6108
6108
|
}
|
|
6109
|
-
const
|
|
6109
|
+
const zt = (
|
|
6110
6110
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
6111
6111
|
/**
|
|
6112
6112
|
* @type {(
|
|
@@ -6144,7 +6144,7 @@ function tu(e) {
|
|
|
6144
6144
|
const n = [];
|
|
6145
6145
|
let t = -1;
|
|
6146
6146
|
for (; ++t < e.length; )
|
|
6147
|
-
n[t] =
|
|
6147
|
+
n[t] = zt(e[t]);
|
|
6148
6148
|
return Lt(r);
|
|
6149
6149
|
function r(...i) {
|
|
6150
6150
|
let o = -1;
|
|
@@ -6198,7 +6198,7 @@ const mi = [], ou = !0, nn = !1, au = "skip";
|
|
|
6198
6198
|
function gi(e, n, t, r) {
|
|
6199
6199
|
let i;
|
|
6200
6200
|
typeof n == "function" && typeof t != "function" ? (r = t, t = n) : i = n;
|
|
6201
|
-
const o =
|
|
6201
|
+
const o = zt(i), l = r ? -1 : 1;
|
|
6202
6202
|
a(e, void 0, [])();
|
|
6203
6203
|
function a(s, u, f) {
|
|
6204
6204
|
const c = (
|
|
@@ -6662,7 +6662,7 @@ class yi {
|
|
|
6662
6662
|
*/
|
|
6663
6663
|
constructor(n) {
|
|
6664
6664
|
let t;
|
|
6665
|
-
n ? on(n) ? t = { path: n } : typeof n == "string" ||
|
|
6665
|
+
n ? on(n) ? t = { path: n } : typeof n == "string" || Pu(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : Eu.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
|
|
6666
6666
|
let r = -1;
|
|
6667
6667
|
for (; ++r < jt.length; ) {
|
|
6668
6668
|
const o = jt[r];
|
|
@@ -7021,10 +7021,10 @@ function dr(e, n) {
|
|
|
7021
7021
|
if (!e)
|
|
7022
7022
|
throw new Error("Setting `" + n + "` requires `path` to be set too");
|
|
7023
7023
|
}
|
|
7024
|
-
function
|
|
7024
|
+
function Pu(e) {
|
|
7025
7025
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
7026
7026
|
}
|
|
7027
|
-
const
|
|
7027
|
+
const zu = (
|
|
7028
7028
|
/**
|
|
7029
7029
|
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
7030
7030
|
*/
|
|
@@ -7046,7 +7046,7 @@ const Pu = (
|
|
|
7046
7046
|
return Object.setPrototypeOf(o, r), o;
|
|
7047
7047
|
})
|
|
7048
7048
|
), Lu = {}.hasOwnProperty;
|
|
7049
|
-
class _n extends
|
|
7049
|
+
class _n extends zu {
|
|
7050
7050
|
/**
|
|
7051
7051
|
* Create a processor.
|
|
7052
7052
|
*/
|
|
@@ -7190,7 +7190,7 @@ class _n extends Pu {
|
|
|
7190
7190
|
parse(n) {
|
|
7191
7191
|
this.freeze();
|
|
7192
7192
|
const t = yt(n), r = this.parser || this.Parser;
|
|
7193
|
-
return
|
|
7193
|
+
return qt("parse", r), r(String(t), t);
|
|
7194
7194
|
}
|
|
7195
7195
|
/**
|
|
7196
7196
|
* Process the given file as configured on the processor.
|
|
@@ -7236,7 +7236,7 @@ class _n extends Pu {
|
|
|
7236
7236
|
*/
|
|
7237
7237
|
process(n, t) {
|
|
7238
7238
|
const r = this;
|
|
7239
|
-
return this.freeze(),
|
|
7239
|
+
return this.freeze(), qt("process", this.parser || this.Parser), Vt("process", this.compiler || this.Compiler), t ? i(void 0, t) : new Promise(i);
|
|
7240
7240
|
function i(o, l) {
|
|
7241
7241
|
const a = yt(n), s = (
|
|
7242
7242
|
/** @type {HeadTree extends undefined ? Node : HeadTree} */
|
|
@@ -7295,7 +7295,7 @@ class _n extends Pu {
|
|
|
7295
7295
|
*/
|
|
7296
7296
|
processSync(n) {
|
|
7297
7297
|
let t = !1, r;
|
|
7298
|
-
return this.freeze(),
|
|
7298
|
+
return this.freeze(), qt("processSync", this.parser || this.Parser), Vt("processSync", this.compiler || this.Compiler), this.process(n, i), gr("processSync", "process", t), r;
|
|
7299
7299
|
function i(o, l) {
|
|
7300
7300
|
t = !0, pr(o), r = l;
|
|
7301
7301
|
}
|
|
@@ -7410,7 +7410,7 @@ class _n extends Pu {
|
|
|
7410
7410
|
stringify(n, t) {
|
|
7411
7411
|
this.freeze();
|
|
7412
7412
|
const r = yt(t), i = this.compiler || this.Compiler;
|
|
7413
|
-
return
|
|
7413
|
+
return Vt("stringify", i), mr(n), i(n, r);
|
|
7414
7414
|
}
|
|
7415
7415
|
/**
|
|
7416
7416
|
* Configure the processor to use a plugin, a list of usable values, or a
|
|
@@ -7528,11 +7528,11 @@ class _n extends Pu {
|
|
|
7528
7528
|
}
|
|
7529
7529
|
}
|
|
7530
7530
|
const Du = new _n().freeze();
|
|
7531
|
-
function
|
|
7531
|
+
function qt(e, n) {
|
|
7532
7532
|
if (typeof n != "function")
|
|
7533
7533
|
throw new TypeError("Cannot `" + e + "` without `parser`");
|
|
7534
7534
|
}
|
|
7535
|
-
function
|
|
7535
|
+
function Vt(e, n) {
|
|
7536
7536
|
if (typeof n != "function")
|
|
7537
7537
|
throw new TypeError("Cannot `" + e + "` without `compiler`");
|
|
7538
7538
|
}
|
|
@@ -7600,7 +7600,7 @@ const Fu = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
|
|
|
7600
7600
|
];
|
|
7601
7601
|
function ju(e) {
|
|
7602
7602
|
const n = $u(e), t = Hu(e);
|
|
7603
|
-
return
|
|
7603
|
+
return qu(n.runSync(n.parse(t), t), e);
|
|
7604
7604
|
}
|
|
7605
7605
|
function $u(e) {
|
|
7606
7606
|
const n = e.rehypePlugins || yr, t = e.remarkPlugins || yr, r = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...kr } : kr;
|
|
@@ -7610,8 +7610,8 @@ function Hu(e) {
|
|
|
7610
7610
|
const n = e.children || "", t = new yi();
|
|
7611
7611
|
return typeof n == "string" && (t.value = n), t;
|
|
7612
7612
|
}
|
|
7613
|
-
function
|
|
7614
|
-
const t = n.allowedElements, r = n.allowElement, i = n.components, o = n.disallowedElements, l = n.skipHtml, a = n.unwrapDisallowed, s = n.urlTransform ||
|
|
7613
|
+
function qu(e, n) {
|
|
7614
|
+
const t = n.allowedElements, r = n.allowElement, i = n.components, o = n.disallowedElements, l = n.skipHtml, a = n.unwrapDisallowed, s = n.urlTransform || Vu;
|
|
7615
7615
|
for (const f of Bu)
|
|
7616
7616
|
Object.hasOwn(n, f.from) && ("" + f.from + (f.to ? "use `" + f.to + "` instead" : "remove it") + Fu + f.id, void 0);
|
|
7617
7617
|
return vn(e, u), ro(e, {
|
|
@@ -7641,7 +7641,7 @@ function Vu(e, n) {
|
|
|
7641
7641
|
}
|
|
7642
7642
|
}
|
|
7643
7643
|
}
|
|
7644
|
-
function
|
|
7644
|
+
function Vu(e) {
|
|
7645
7645
|
const n = e.indexOf(":"), t = e.indexOf("?"), r = e.indexOf("#"), i = e.indexOf("/");
|
|
7646
7646
|
return (
|
|
7647
7647
|
// If there is no protocol, it’s relative.
|
|
@@ -7665,7 +7665,7 @@ function Uu(e) {
|
|
|
7665
7665
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
7666
7666
|
}
|
|
7667
7667
|
function Wu(e, n, t) {
|
|
7668
|
-
const i =
|
|
7668
|
+
const i = zt((t || {}).ignore || []), o = Yu(n);
|
|
7669
7669
|
let l = -1;
|
|
7670
7670
|
for (; ++l < o.length; )
|
|
7671
7671
|
gi(e, "text", a);
|
|
@@ -8062,14 +8062,14 @@ function Tc(e, n, t, r) {
|
|
|
8062
8062
|
o.move("> "), o.shift(2);
|
|
8063
8063
|
const l = t.indentLines(
|
|
8064
8064
|
t.containerFlow(e, o.current()),
|
|
8065
|
-
|
|
8065
|
+
Pc
|
|
8066
8066
|
);
|
|
8067
8067
|
return i(), l;
|
|
8068
8068
|
}
|
|
8069
|
-
function
|
|
8069
|
+
function Pc(e, n, t) {
|
|
8070
8070
|
return ">" + (t ? "" : " ") + e;
|
|
8071
8071
|
}
|
|
8072
|
-
function
|
|
8072
|
+
function zc(e, n) {
|
|
8073
8073
|
return wr(e, n.inConstruct, !0) && !wr(e, n.notInConstruct, !1);
|
|
8074
8074
|
}
|
|
8075
8075
|
function wr(e, n, t) {
|
|
@@ -8085,7 +8085,7 @@ function Cr(e, n, t, r) {
|
|
|
8085
8085
|
let i = -1;
|
|
8086
8086
|
for (; ++i < t.unsafe.length; )
|
|
8087
8087
|
if (t.unsafe[i].character === `
|
|
8088
|
-
` &&
|
|
8088
|
+
` && zc(t.stack, t.unsafe[i]))
|
|
8089
8089
|
return /[ \t]/.test(r.before) ? "" : " ";
|
|
8090
8090
|
return `\\
|
|
8091
8091
|
`;
|
|
@@ -8303,7 +8303,7 @@ function Si(e) {
|
|
|
8303
8303
|
function Hc() {
|
|
8304
8304
|
return "<";
|
|
8305
8305
|
}
|
|
8306
|
-
vi.peek =
|
|
8306
|
+
vi.peek = qc;
|
|
8307
8307
|
function vi(e, n, t, r) {
|
|
8308
8308
|
const i = En(t), o = i === '"' ? "Quote" : "Apostrophe", l = t.enter("image");
|
|
8309
8309
|
let a = t.enter("label");
|
|
@@ -8329,10 +8329,10 @@ function vi(e, n, t, r) {
|
|
|
8329
8329
|
})
|
|
8330
8330
|
), u += s.move(i), a()), u += s.move(")"), l(), u;
|
|
8331
8331
|
}
|
|
8332
|
-
function
|
|
8332
|
+
function qc() {
|
|
8333
8333
|
return "!";
|
|
8334
8334
|
}
|
|
8335
|
-
_i.peek =
|
|
8335
|
+
_i.peek = Vc;
|
|
8336
8336
|
function _i(e, n, t, r) {
|
|
8337
8337
|
const i = e.referenceType, o = t.enter("imageReference");
|
|
8338
8338
|
let l = t.enter("label");
|
|
@@ -8353,7 +8353,7 @@ function _i(e, n, t, r) {
|
|
|
8353
8353
|
});
|
|
8354
8354
|
return l(), t.stack = f, o(), i === "full" || !u || u !== c ? s += a.move(c + "]") : i === "shortcut" ? s = s.slice(0, -1) : s += a.move("]"), s;
|
|
8355
8355
|
}
|
|
8356
|
-
function
|
|
8356
|
+
function Vc() {
|
|
8357
8357
|
return "!";
|
|
8358
8358
|
}
|
|
8359
8359
|
Ei.peek = Uc;
|
|
@@ -8485,7 +8485,7 @@ function Xc(e) {
|
|
|
8485
8485
|
);
|
|
8486
8486
|
return n;
|
|
8487
8487
|
}
|
|
8488
|
-
function
|
|
8488
|
+
function Pi(e) {
|
|
8489
8489
|
const n = e.options.rule || "*";
|
|
8490
8490
|
if (n !== "*" && n !== "-" && n !== "_")
|
|
8491
8491
|
throw new Error(
|
|
@@ -8505,7 +8505,7 @@ function Gc(e, n, t, r) {
|
|
|
8505
8505
|
(l === "*" || l === "-") && // Empty first list item:
|
|
8506
8506
|
f && (!f.children || !f.children[0]) && // Directly in two other list items:
|
|
8507
8507
|
t.stack[t.stack.length - 1] === "list" && t.stack[t.stack.length - 2] === "listItem" && t.stack[t.stack.length - 3] === "list" && t.stack[t.stack.length - 4] === "listItem" && // That are each the first child.
|
|
8508
|
-
t.indexStack[t.indexStack.length - 1] === 0 && t.indexStack[t.indexStack.length - 2] === 0 && t.indexStack[t.indexStack.length - 3] === 0 && (s = !0),
|
|
8508
|
+
t.indexStack[t.indexStack.length - 1] === 0 && t.indexStack[t.indexStack.length - 2] === 0 && t.indexStack[t.indexStack.length - 3] === 0 && (s = !0), Pi(t) === l && f
|
|
8509
8509
|
) {
|
|
8510
8510
|
let c = -1;
|
|
8511
8511
|
for (; ++c < e.children.length; ) {
|
|
@@ -8552,7 +8552,7 @@ function Zc(e, n, t, r) {
|
|
|
8552
8552
|
}
|
|
8553
8553
|
const ef = (
|
|
8554
8554
|
/** @type {(node?: unknown) => node is Exclude<PhrasingContent, Html>} */
|
|
8555
|
-
|
|
8555
|
+
zt([
|
|
8556
8556
|
"break",
|
|
8557
8557
|
"delete",
|
|
8558
8558
|
"emphasis",
|
|
@@ -8589,8 +8589,8 @@ function nf(e) {
|
|
|
8589
8589
|
);
|
|
8590
8590
|
return n;
|
|
8591
8591
|
}
|
|
8592
|
-
|
|
8593
|
-
function
|
|
8592
|
+
zi.peek = rf;
|
|
8593
|
+
function zi(e, n, t, r) {
|
|
8594
8594
|
const i = nf(t), o = t.enter("strong"), l = t.createTracker(r), a = l.move(i + i);
|
|
8595
8595
|
let s = l.move(
|
|
8596
8596
|
t.containerPhrasing(e, {
|
|
@@ -8628,7 +8628,7 @@ function of(e) {
|
|
|
8628
8628
|
return n;
|
|
8629
8629
|
}
|
|
8630
8630
|
function af(e, n, t) {
|
|
8631
|
-
const r = (
|
|
8631
|
+
const r = (Pi(t) + (t.options.ruleSpaces ? " " : "")).repeat(of(t));
|
|
8632
8632
|
return t.options.ruleSpaces ? r.slice(0, -1) : r;
|
|
8633
8633
|
}
|
|
8634
8634
|
const Li = {
|
|
@@ -8649,7 +8649,7 @@ const Li = {
|
|
|
8649
8649
|
listItem: Kc,
|
|
8650
8650
|
paragraph: Zc,
|
|
8651
8651
|
root: tf,
|
|
8652
|
-
strong:
|
|
8652
|
+
strong: zi,
|
|
8653
8653
|
text: lf,
|
|
8654
8654
|
thematicBreak: af
|
|
8655
8655
|
};
|
|
@@ -8863,10 +8863,10 @@ const wf = {
|
|
|
8863
8863
|
tokenize: Tf,
|
|
8864
8864
|
partial: !0
|
|
8865
8865
|
}, Ri = {
|
|
8866
|
-
tokenize:
|
|
8866
|
+
tokenize: Pf,
|
|
8867
8867
|
partial: !0
|
|
8868
8868
|
}, Cf = {
|
|
8869
|
-
tokenize:
|
|
8869
|
+
tokenize: zf,
|
|
8870
8870
|
partial: !0
|
|
8871
8871
|
}, Mi = {
|
|
8872
8872
|
name: "wwwAutolink",
|
|
@@ -8987,7 +8987,7 @@ function Tf(e, n) {
|
|
|
8987
8987
|
return l === 41 && r++, e.consume(l), i;
|
|
8988
8988
|
}
|
|
8989
8989
|
}
|
|
8990
|
-
function
|
|
8990
|
+
function Pf(e, n, t) {
|
|
8991
8991
|
return r;
|
|
8992
8992
|
function r(a) {
|
|
8993
8993
|
return a === 33 || a === 34 || a === 39 || a === 41 || a === 42 || a === 44 || a === 46 || a === 58 || a === 59 || a === 63 || a === 95 || a === 126 ? (e.consume(a), r) : a === 38 ? (e.consume(a), o) : a === 93 ? (e.consume(a), i) : (
|
|
@@ -9006,7 +9006,7 @@ function zf(e, n, t) {
|
|
|
9006
9006
|
return a === 59 ? (e.consume(a), r) : ae(a) ? (e.consume(a), l) : t(a);
|
|
9007
9007
|
}
|
|
9008
9008
|
}
|
|
9009
|
-
function
|
|
9009
|
+
function zf(e, n, t) {
|
|
9010
9010
|
return r;
|
|
9011
9011
|
function r(o) {
|
|
9012
9012
|
return e.consume(o), i;
|
|
@@ -9207,7 +9207,7 @@ function Ff(e, n, t) {
|
|
|
9207
9207
|
return g === 91 || g === 92 || g === 93 ? (e.consume(g), l++, f) : f(g);
|
|
9208
9208
|
}
|
|
9209
9209
|
function h(g) {
|
|
9210
|
-
return g === 58 ? (e.enter("definitionMarker"), e.consume(g), e.exit("definitionMarker"), i.includes(o) || i.push(o),
|
|
9210
|
+
return g === 58 ? (e.enter("definitionMarker"), e.consume(g), e.exit("definitionMarker"), i.includes(o) || i.push(o), V(e, p, "gfmFootnoteDefinitionWhitespace")) : t(g);
|
|
9211
9211
|
}
|
|
9212
9212
|
function p(g) {
|
|
9213
9213
|
return n(g);
|
|
@@ -9221,7 +9221,7 @@ function Bf(e) {
|
|
|
9221
9221
|
}
|
|
9222
9222
|
function jf(e, n, t) {
|
|
9223
9223
|
const r = this;
|
|
9224
|
-
return
|
|
9224
|
+
return V(e, i, "gfmFootnoteDefinitionIndent", 5);
|
|
9225
9225
|
function i(o) {
|
|
9226
9226
|
const l = r.events[r.events.length - 1];
|
|
9227
9227
|
return l && l[1].type === "gfmFootnoteDefinitionIndent" && l[2].sliceSerialize(l[1], !0).length === 4 ? n(o) : t(o);
|
|
@@ -9304,7 +9304,7 @@ class Hf {
|
|
|
9304
9304
|
* @returns {undefined}
|
|
9305
9305
|
*/
|
|
9306
9306
|
add(n, t, r) {
|
|
9307
|
-
|
|
9307
|
+
qf(this, n, t, r);
|
|
9308
9308
|
}
|
|
9309
9309
|
// To do: add this when moving to `micromark`.
|
|
9310
9310
|
// /**
|
|
@@ -9343,7 +9343,7 @@ class Hf {
|
|
|
9343
9343
|
this.map.length = 0;
|
|
9344
9344
|
}
|
|
9345
9345
|
}
|
|
9346
|
-
function
|
|
9346
|
+
function qf(e, n, t, r) {
|
|
9347
9347
|
let i = 0;
|
|
9348
9348
|
if (!(t === 0 && r.length === 0)) {
|
|
9349
9349
|
for (; i < e.map.length; ) {
|
|
@@ -9356,7 +9356,7 @@ function Vf(e, n, t, r) {
|
|
|
9356
9356
|
e.map.push([n, t, r]);
|
|
9357
9357
|
}
|
|
9358
9358
|
}
|
|
9359
|
-
function
|
|
9359
|
+
function Vf(e, n) {
|
|
9360
9360
|
let t = !1;
|
|
9361
9361
|
const r = [];
|
|
9362
9362
|
for (; n < e.length; ) {
|
|
@@ -9394,12 +9394,12 @@ function Wf(e, n, t) {
|
|
|
9394
9394
|
function a(k) {
|
|
9395
9395
|
let T = r.events.length - 1;
|
|
9396
9396
|
for (; T > -1; ) {
|
|
9397
|
-
const
|
|
9398
|
-
if (
|
|
9399
|
-
|
|
9397
|
+
const z = r.events[T][1].type;
|
|
9398
|
+
if (z === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
|
|
9399
|
+
z === "linePrefix") T--;
|
|
9400
9400
|
else break;
|
|
9401
9401
|
}
|
|
9402
|
-
const
|
|
9402
|
+
const P = T > -1 ? r.events[T][1].type : null, U = P === "tableHead" || P === "tableRow" ? x : s;
|
|
9403
9403
|
return U === x && r.parser.lazy[r.now().line] ? t(k) : U(k);
|
|
9404
9404
|
}
|
|
9405
9405
|
function s(k) {
|
|
@@ -9409,7 +9409,7 @@ function Wf(e, n, t) {
|
|
|
9409
9409
|
return k === 124 || (l = !0, o += 1), f(k);
|
|
9410
9410
|
}
|
|
9411
9411
|
function f(k) {
|
|
9412
|
-
return k === null ? t(k) : D(k) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), p) : t(k) : $(k) ?
|
|
9412
|
+
return k === null ? t(k) : D(k) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), p) : t(k) : $(k) ? V(e, f, "whitespace")(k) : (o += 1, l && (l = !1, i += 1), k === 124 ? (e.enter("tableCellDivider"), e.consume(k), e.exit("tableCellDivider"), l = !0, f) : (e.enter("data"), c(k)));
|
|
9413
9413
|
}
|
|
9414
9414
|
function c(k) {
|
|
9415
9415
|
return k === null || k === 124 || J(k) ? (e.exit("data"), f(k)) : (e.consume(k), k === 92 ? h : c);
|
|
@@ -9418,13 +9418,13 @@ function Wf(e, n, t) {
|
|
|
9418
9418
|
return k === 92 || k === 124 ? (e.consume(k), c) : c(k);
|
|
9419
9419
|
}
|
|
9420
9420
|
function p(k) {
|
|
9421
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? t(k) : (e.enter("tableDelimiterRow"), l = !1, $(k) ?
|
|
9421
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? t(k) : (e.enter("tableDelimiterRow"), l = !1, $(k) ? V(e, g, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(k) : g(k));
|
|
9422
9422
|
}
|
|
9423
9423
|
function g(k) {
|
|
9424
9424
|
return k === 45 || k === 58 ? S(k) : k === 124 ? (l = !0, e.enter("tableCellDivider"), e.consume(k), e.exit("tableCellDivider"), C) : N(k);
|
|
9425
9425
|
}
|
|
9426
9426
|
function C(k) {
|
|
9427
|
-
return $(k) ?
|
|
9427
|
+
return $(k) ? V(e, S, "whitespace")(k) : S(k);
|
|
9428
9428
|
}
|
|
9429
9429
|
function S(k) {
|
|
9430
9430
|
return k === 58 ? (o += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(k), e.exit("tableDelimiterMarker"), y) : k === 45 ? (o += 1, y(k)) : k === null || D(k) ? L(k) : N(k);
|
|
@@ -9436,7 +9436,7 @@ function Wf(e, n, t) {
|
|
|
9436
9436
|
return k === 45 ? (e.consume(k), I) : k === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(k), e.exit("tableDelimiterMarker"), _) : (e.exit("tableDelimiterFiller"), _(k));
|
|
9437
9437
|
}
|
|
9438
9438
|
function _(k) {
|
|
9439
|
-
return $(k) ?
|
|
9439
|
+
return $(k) ? V(e, L, "whitespace")(k) : L(k);
|
|
9440
9440
|
}
|
|
9441
9441
|
function L(k) {
|
|
9442
9442
|
return k === 124 ? g(k) : k === null || D(k) ? !l || i !== o ? N(k) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), n(k)) : N(k);
|
|
@@ -9448,7 +9448,7 @@ function Wf(e, n, t) {
|
|
|
9448
9448
|
return e.enter("tableRow"), O(k);
|
|
9449
9449
|
}
|
|
9450
9450
|
function O(k) {
|
|
9451
|
-
return k === 124 ? (e.enter("tableCellDivider"), e.consume(k), e.exit("tableCellDivider"), O) : k === null || D(k) ? (e.exit("tableRow"), n(k)) : $(k) ?
|
|
9451
|
+
return k === 124 ? (e.enter("tableCellDivider"), e.consume(k), e.exit("tableCellDivider"), O) : k === null || D(k) ? (e.exit("tableRow"), n(k)) : $(k) ? V(e, O, "whitespace")(k) : (e.enter("data"), H(k));
|
|
9452
9452
|
}
|
|
9453
9453
|
function H(k) {
|
|
9454
9454
|
return k === null || k === 124 || J(k) ? (e.exit("data"), O(k)) : (e.consume(k), k === 92 ? j : H);
|
|
@@ -9476,21 +9476,21 @@ function Yf(e, n) {
|
|
|
9476
9476
|
}
|
|
9477
9477
|
for (s !== 0 && _r(h, n, s, u, f), h.consume(n.events), t = -1; ++t < n.events.length; ) {
|
|
9478
9478
|
const p = n.events[t];
|
|
9479
|
-
p[0] === "enter" && p[1].type === "table" && (p[1]._align =
|
|
9479
|
+
p[0] === "enter" && p[1].type === "table" && (p[1]._align = Vf(n.events, t));
|
|
9480
9480
|
}
|
|
9481
9481
|
return e;
|
|
9482
9482
|
}
|
|
9483
9483
|
function kt(e, n, t, r, i, o) {
|
|
9484
9484
|
const l = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", a = "tableContent";
|
|
9485
|
-
t[0] !== 0 && (o.end = Object.assign({},
|
|
9486
|
-
const s =
|
|
9485
|
+
t[0] !== 0 && (o.end = Object.assign({}, Ve(n.events, t[0])), e.add(t[0], 0, [["exit", o, n]]));
|
|
9486
|
+
const s = Ve(n.events, t[1]);
|
|
9487
9487
|
if (o = {
|
|
9488
9488
|
type: l,
|
|
9489
9489
|
start: Object.assign({}, s),
|
|
9490
9490
|
// Note: correct end is set later.
|
|
9491
9491
|
end: Object.assign({}, s)
|
|
9492
9492
|
}, e.add(t[1], 0, [["enter", o, n]]), t[2] !== 0) {
|
|
9493
|
-
const u =
|
|
9493
|
+
const u = Ve(n.events, t[2]), f = Ve(n.events, t[3]), c = {
|
|
9494
9494
|
type: a,
|
|
9495
9495
|
start: Object.assign({}, u),
|
|
9496
9496
|
end: Object.assign({}, f)
|
|
@@ -9504,13 +9504,13 @@ function kt(e, n, t, r, i, o) {
|
|
|
9504
9504
|
}
|
|
9505
9505
|
e.add(t[3] + 1, 0, [["exit", c, n]]);
|
|
9506
9506
|
}
|
|
9507
|
-
return i !== void 0 && (o.end = Object.assign({},
|
|
9507
|
+
return i !== void 0 && (o.end = Object.assign({}, Ve(n.events, i)), e.add(i, 0, [["exit", o, n]]), o = void 0), o;
|
|
9508
9508
|
}
|
|
9509
9509
|
function _r(e, n, t, r, i) {
|
|
9510
|
-
const o = [], l =
|
|
9510
|
+
const o = [], l = Ve(n.events, t);
|
|
9511
9511
|
i && (i.end = Object.assign({}, l), o.push(["exit", i, n])), r.end = Object.assign({}, l), o.push(["exit", r, n]), e.add(t + 1, 0, o);
|
|
9512
9512
|
}
|
|
9513
|
-
function
|
|
9513
|
+
function Ve(e, n) {
|
|
9514
9514
|
const t = e[n], r = t[0] === "enter" ? "start" : "end";
|
|
9515
9515
|
return t[1][r];
|
|
9516
9516
|
}
|
|
@@ -9549,7 +9549,7 @@ function Gf(e, n, t) {
|
|
|
9549
9549
|
}
|
|
9550
9550
|
}
|
|
9551
9551
|
function Jf(e, n, t) {
|
|
9552
|
-
return
|
|
9552
|
+
return V(e, r, "whitespace");
|
|
9553
9553
|
function r(i) {
|
|
9554
9554
|
return i === null ? t(i) : n(i);
|
|
9555
9555
|
}
|
|
@@ -9571,7 +9571,7 @@ function ep(e) {
|
|
|
9571
9571
|
), t = e || Zf, r = n.data(), i = r.micromarkExtensions || (r.micromarkExtensions = []), o = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), l = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
9572
9572
|
i.push(Kf(t)), o.push(xf()), l.push(bf(t));
|
|
9573
9573
|
}
|
|
9574
|
-
const tp = "
|
|
9574
|
+
const tp = "_wrapper_v5oy7_1", np = "_table_v5oy7_8", rp = "_th_v5oy7_14", ip = "_tr_v5oy7_24", lp = "_td_v5oy7_32", nt = {
|
|
9575
9575
|
wrapper: tp,
|
|
9576
9576
|
table: np,
|
|
9577
9577
|
th: rp,
|
|
@@ -9584,7 +9584,7 @@ function op({ part: e }) {
|
|
|
9584
9584
|
/* @__PURE__ */ b("tbody", { children: e.rows.map((n, t) => /* @__PURE__ */ b("tr", { className: nt.tr, children: e.columns.map((r) => /* @__PURE__ */ b("td", { className: nt.td, children: String(n[r] ?? "") }, r)) }, t)) })
|
|
9585
9585
|
] }) });
|
|
9586
9586
|
}
|
|
9587
|
-
const ap = "
|
|
9587
|
+
const ap = "_card_83cdc_1", sp = "_header_83cdc_9", up = "_icon_83cdc_16", cp = "_title_83cdc_23", fp = "_description_83cdc_29", pp = "_cardResolved_83cdc_36", hp = "_resolvedBadge_83cdc_40", dp = "_actions_83cdc_51", mp = "_confirm_83cdc_56", gp = "_cancel_83cdc_72", ye = {
|
|
9588
9588
|
card: ap,
|
|
9589
9589
|
header: sp,
|
|
9590
9590
|
icon: up,
|
|
@@ -9624,7 +9624,7 @@ function yp({ part: e, onConfirm: n, onCancel: t }) {
|
|
|
9624
9624
|
] })
|
|
9625
9625
|
] });
|
|
9626
9626
|
}
|
|
9627
|
-
const kp = "
|
|
9627
|
+
const kp = "_activity_2jjfs_1", xp = "_indicator_2jjfs_13", bp = "_content_2jjfs_36", wp = "_title_2jjfs_40", Cp = "_description_2jjfs_45", rt = {
|
|
9628
9628
|
activity: kp,
|
|
9629
9629
|
indicator: xp,
|
|
9630
9630
|
content: bp,
|
|
@@ -9640,15 +9640,15 @@ function Sp({ part: e }) {
|
|
|
9640
9640
|
] })
|
|
9641
9641
|
] });
|
|
9642
9642
|
}
|
|
9643
|
-
const vp = "_card_jwkcu_1", _p = "_cardClickable_jwkcu_14", Ep = "_header_jwkcu_24", Ip = "_title_jwkcu_30", Ap = "_subtitle_jwkcu_36", Tp = "_fields_jwkcu_41",
|
|
9643
|
+
const vp = "_card_jwkcu_1", _p = "_cardClickable_jwkcu_14", Ep = "_header_jwkcu_24", Ip = "_title_jwkcu_30", Ap = "_subtitle_jwkcu_36", Tp = "_fields_jwkcu_41", Pp = "_fieldRow_jwkcu_48", zp = "_fieldLabel_jwkcu_55", Lp = "_fieldValue_jwkcu_61", Dp = "_badge_jwkcu_68", Np = "_badgeSuccess_jwkcu_76", Rp = "_badgeWarning_jwkcu_81", Mp = "_badgeDanger_jwkcu_86", Fp = "_badgeNeutral_jwkcu_91", oe = {
|
|
9644
9644
|
card: vp,
|
|
9645
9645
|
cardClickable: _p,
|
|
9646
9646
|
header: Ep,
|
|
9647
9647
|
title: Ip,
|
|
9648
9648
|
subtitle: Ap,
|
|
9649
9649
|
fields: Tp,
|
|
9650
|
-
fieldRow:
|
|
9651
|
-
fieldLabel:
|
|
9650
|
+
fieldRow: Pp,
|
|
9651
|
+
fieldLabel: zp,
|
|
9652
9652
|
fieldValue: Lp,
|
|
9653
9653
|
badge: Dp,
|
|
9654
9654
|
badgeSuccess: Np,
|
|
@@ -9699,10 +9699,10 @@ function $p({ part: e, onEntityClick: n }) {
|
|
|
9699
9699
|
))
|
|
9700
9700
|
] });
|
|
9701
9701
|
}
|
|
9702
|
-
const Hp = "
|
|
9702
|
+
const Hp = "_markdown_1yi3y_1", qp = "_unknownPart_1yi3y_84", Vp = "_errorText_1yi3y_98", Up = "_errorIcon_1yi3y_106", xt = {
|
|
9703
9703
|
markdown: Hp,
|
|
9704
|
-
unknownPart:
|
|
9705
|
-
errorText:
|
|
9704
|
+
unknownPart: qp,
|
|
9705
|
+
errorText: Vp,
|
|
9706
9706
|
errorIcon: Up
|
|
9707
9707
|
};
|
|
9708
9708
|
function Wp({ part: e, onProposalConfirm: n, onProposalCancel: t, onEntityClick: r, renderPart: i }) {
|
|
@@ -9800,7 +9800,7 @@ function rh({ message: e, onProposalConfirm: n, onProposalCancel: t, onEntityCli
|
|
|
9800
9800
|
a && /* @__PURE__ */ b("div", { className: xe.avatar, children: l.userLabel })
|
|
9801
9801
|
] });
|
|
9802
9802
|
}
|
|
9803
|
-
const ih = "
|
|
9803
|
+
const ih = "_wrapper_1dvvu_1", lh = "_dot_1dvvu_8", oh = "_connectingLabel_1dvvu_19", it = {
|
|
9804
9804
|
wrapper: ih,
|
|
9805
9805
|
dot: lh,
|
|
9806
9806
|
connectingLabel: oh
|
|
@@ -9821,7 +9821,7 @@ function ah({ connecting: e = !1 }) {
|
|
|
9821
9821
|
}
|
|
9822
9822
|
);
|
|
9823
9823
|
}
|
|
9824
|
-
const sh = "
|
|
9824
|
+
const sh = "_list_1f8gn_1", uh = "_empty_1f8gn_11", ch = "_hint_1f8gn_24", fh = "_typing_1f8gn_31", bt = {
|
|
9825
9825
|
list: sh,
|
|
9826
9826
|
empty: uh,
|
|
9827
9827
|
hint: ch,
|
|
@@ -9852,7 +9852,7 @@ function ph({ messages: e, isLoading: n, isConnecting: t, onProposalConfirm: r,
|
|
|
9852
9852
|
/* @__PURE__ */ b("div", { ref: u })
|
|
9853
9853
|
] });
|
|
9854
9854
|
}
|
|
9855
|
-
const hh = "
|
|
9855
|
+
const hh = "_wrapper_v8iyr_1", dh = "_textarea_v8iyr_11", mh = "_toolbar_v8iyr_35", gh = "_actions_v8iyr_45", yh = "_actionBtn_v8iyr_52", kh = "_sendBtn_v8iyr_85", xh = "_spinnerIcon_v8iyr_116", bh = "_stopBtn_v8iyr_126", wh = "_stopIcon_v8iyr_149", ve = {
|
|
9856
9856
|
wrapper: hh,
|
|
9857
9857
|
textarea: dh,
|
|
9858
9858
|
toolbar: mh,
|
|
@@ -9936,7 +9936,7 @@ function Ch({ value: e, onChange: n, onSend: t, onStop: r, isLoading: i, placeho
|
|
|
9936
9936
|
] })
|
|
9937
9937
|
] });
|
|
9938
9938
|
}
|
|
9939
|
-
const Sh = "
|
|
9939
|
+
const Sh = "_wrapper_1kefv_1", vh = "_icon_1kefv_14", _h = "_message_1kefv_20", Eh = "_dismiss_1kefv_24", wt = {
|
|
9940
9940
|
wrapper: Sh,
|
|
9941
9941
|
icon: vh,
|
|
9942
9942
|
message: _h,
|
|
@@ -9950,10 +9950,10 @@ function Ih({ message: e, onDismiss: n }) {
|
|
|
9950
9950
|
n && /* @__PURE__ */ b("button", { className: wt.dismiss, onClick: n, "aria-label": t.errorDismiss, children: /* @__PURE__ */ b("svg", { viewBox: "0 0 16 16", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ b("path", { d: "M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z" }) }) })
|
|
9951
9951
|
] });
|
|
9952
9952
|
}
|
|
9953
|
-
const Ah = "
|
|
9953
|
+
const Ah = "_chat_1acbe_1", Th = {
|
|
9954
9954
|
chat: Ah
|
|
9955
9955
|
};
|
|
9956
|
-
function
|
|
9956
|
+
function Ph({
|
|
9957
9957
|
messages: e,
|
|
9958
9958
|
input: n,
|
|
9959
9959
|
isLoading: t,
|
|
@@ -10010,8 +10010,8 @@ function zh({
|
|
|
10010
10010
|
}
|
|
10011
10011
|
);
|
|
10012
10012
|
}
|
|
10013
|
-
const
|
|
10014
|
-
header:
|
|
10013
|
+
const zh = "_header_f9hy1_1", Lh = "_left_f9hy1_12", Dh = "_icon_f9hy1_18", Nh = "_title_f9hy1_23", Rh = "_resetBtn_f9hy1_29", Mh = "_actions_f9hy1_50", Ne = {
|
|
10014
|
+
header: zh,
|
|
10015
10015
|
left: Lh,
|
|
10016
10016
|
icon: Dh,
|
|
10017
10017
|
title: Nh,
|
|
@@ -10057,7 +10057,7 @@ function Fh({
|
|
|
10057
10057
|
] })
|
|
10058
10058
|
] });
|
|
10059
10059
|
}
|
|
10060
|
-
const Oh = "
|
|
10060
|
+
const Oh = "_sidebar_17ski_1", Bh = "_minimized_17ski_20", Ir = {
|
|
10061
10061
|
sidebar: Oh,
|
|
10062
10062
|
minimized: Bh
|
|
10063
10063
|
};
|
|
@@ -10107,7 +10107,7 @@ function ld({
|
|
|
10107
10107
|
}
|
|
10108
10108
|
),
|
|
10109
10109
|
!c && /* @__PURE__ */ b(
|
|
10110
|
-
|
|
10110
|
+
Ph,
|
|
10111
10111
|
{
|
|
10112
10112
|
messages: p,
|
|
10113
10113
|
input: g,
|
|
@@ -10130,14 +10130,14 @@ function ld({
|
|
|
10130
10130
|
}
|
|
10131
10131
|
);
|
|
10132
10132
|
}
|
|
10133
|
-
const jh = "
|
|
10133
|
+
const jh = "_list_180ms_1", $h = "_item_180ms_10", Hh = "_chat_180ms_16", qh = "_chatActive_180ms_36", Vh = "_title_180ms_40", Uh = "_date_180ms_50", Wh = "_empty_180ms_82", _e = {
|
|
10134
10134
|
list: jh,
|
|
10135
10135
|
item: $h,
|
|
10136
10136
|
chat: Hh,
|
|
10137
|
-
chatActive:
|
|
10138
|
-
title:
|
|
10137
|
+
chatActive: qh,
|
|
10138
|
+
title: Vh,
|
|
10139
10139
|
date: Uh,
|
|
10140
|
-
delete: "
|
|
10140
|
+
delete: "_delete_180ms_56",
|
|
10141
10141
|
empty: Wh
|
|
10142
10142
|
};
|
|
10143
10143
|
function od({ chats: e, onSelect: n, activeChatId: t, onDelete: r }) {
|
|
@@ -10167,8 +10167,9 @@ function od({ chats: e, onSelect: n, activeChatId: t, onDelete: r }) {
|
|
|
10167
10167
|
}
|
|
10168
10168
|
export {
|
|
10169
10169
|
Sp as AiActivityPart,
|
|
10170
|
-
|
|
10170
|
+
Ph as AiChat,
|
|
10171
10171
|
cn as AiChatContext,
|
|
10172
|
+
Fh as AiChatHeader,
|
|
10172
10173
|
od as AiChatHistoryList,
|
|
10173
10174
|
rd as AiChatProvider,
|
|
10174
10175
|
$i as AiEntityCard,
|
|
@@ -10189,11 +10190,11 @@ export {
|
|
|
10189
10190
|
K as delay,
|
|
10190
10191
|
Gh as deserializeMessages,
|
|
10191
10192
|
Zi as getMessageText,
|
|
10192
|
-
|
|
10193
|
+
Pr as isProposalPart,
|
|
10193
10194
|
id as juneauCs,
|
|
10194
10195
|
Lr as juneauEn,
|
|
10195
10196
|
Kh as mockAdapter,
|
|
10196
|
-
|
|
10197
|
+
zr as parseJuneauWire,
|
|
10197
10198
|
Xh as serializeForStorage,
|
|
10198
10199
|
Ki as serializeMessages,
|
|
10199
10200
|
Jh as trimChats,
|