@versini/sassysaint 5.3.15 → 5.3.16
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/chunks/{LazyApp.DLcaKEZm.js → LazyApp.By3JU--q.js} +57 -57
- package/dist/chunks/{LazyHeader.DF_XuYxS.js → LazyHeader.CtbnJfCu.js} +72 -69
- package/dist/chunks/{LazyMarkdownWithExtra.CFDuqeUh.js → LazyMarkdownWithExtra.5DIzO8pJ.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.BMarDoja.js → LazyMessageAssistant.DxbwaE9c.js} +305 -305
- package/dist/chunks/{index.p6kaA5n7.js → index.BnAnY2Vs.js} +164 -164
- package/dist/chunks/{index.Cox6Ux55.js → index.C_44Odxq.js} +282 -282
- package/dist/chunks/{index.AUArUGH7.FZU7Bha5.js → index.DfFZfYdy.DM48ssjd.js} +21 -21
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +4 -4
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { le as ot } from "./LazyApp.
|
|
3
|
-
import { E as wi } from "./index.
|
|
2
|
+
import { le as ot } from "./LazyApp.By3JU--q.js";
|
|
3
|
+
import { E as wi } from "./index.BnAnY2Vs.js";
|
|
4
4
|
import cn from "clsx";
|
|
5
5
|
import { lazy as Si, useContext as Ci, Suspense as Ei } from "react";
|
|
6
|
-
import { AppContext as
|
|
6
|
+
import { AppContext as Ii, LOCAL_STORAGE_PREFIX as Ai, LOCAL_STORAGE_CHAT_DETAILS as Ti, durationFormatter as Pi } from "./index.C_44Odxq.js";
|
|
7
7
|
var at = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
8
|
function Li(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10
10
|
}
|
|
11
11
|
/*!
|
|
12
|
-
@versini/ui-spinner v1.0.
|
|
12
|
+
@versini/ui-spinner v1.0.10
|
|
13
13
|
© 2024 gizmette.com
|
|
14
14
|
*/
|
|
15
15
|
try {
|
|
16
16
|
window.__VERSINI_UI_SPINNER__ || (window.__VERSINI_UI_SPINNER__ = {
|
|
17
|
-
version: "1.0.
|
|
18
|
-
buildTime: "
|
|
17
|
+
version: "1.0.10",
|
|
18
|
+
buildTime: "12/12/2024 05:56 PM EST",
|
|
19
19
|
homepage: "https://github.com/aversini/ui-components",
|
|
20
20
|
license: "MIT"
|
|
21
21
|
});
|
|
@@ -91,7 +91,7 @@ function Ri(e) {
|
|
|
91
91
|
function ft(e) {
|
|
92
92
|
return e.replace(_i, "") === "";
|
|
93
93
|
}
|
|
94
|
-
class
|
|
94
|
+
class $e {
|
|
95
95
|
/**
|
|
96
96
|
* @constructor
|
|
97
97
|
* @param {Properties} property
|
|
@@ -102,15 +102,15 @@ class Ue {
|
|
|
102
102
|
this.property = t, this.normal = n, r && (this.space = r);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
$e.prototype.property = {};
|
|
106
|
+
$e.prototype.normal = {};
|
|
107
|
+
$e.prototype.space = null;
|
|
108
108
|
function ar(e, t) {
|
|
109
109
|
const n = {}, r = {};
|
|
110
110
|
let i = -1;
|
|
111
111
|
for (; ++i < e.length; )
|
|
112
112
|
Object.assign(n, e[i].property), Object.assign(r, e[i].normal);
|
|
113
|
-
return new
|
|
113
|
+
return new $e(n, r, t);
|
|
114
114
|
}
|
|
115
115
|
function Tn(e) {
|
|
116
116
|
return e.toLowerCase();
|
|
@@ -136,11 +136,11 @@ le.prototype.commaOrSpaceSeparated = !1;
|
|
|
136
136
|
le.prototype.mustUseProperty = !1;
|
|
137
137
|
le.prototype.defined = !1;
|
|
138
138
|
let Mi = 0;
|
|
139
|
-
const O = Te(), W = Te(), ur = Te(), C = Te(),
|
|
139
|
+
const O = Te(), W = Te(), ur = Te(), C = Te(), $ = Te(), De = Te(), ne = Te();
|
|
140
140
|
function Te() {
|
|
141
141
|
return 2 ** ++Mi;
|
|
142
142
|
}
|
|
143
|
-
const Pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: O, booleanish: W, commaOrSpaceSeparated: ne, commaSeparated: De, number: C, overloadedBoolean: ur, spaceSeparated:
|
|
143
|
+
const Pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: O, booleanish: W, commaOrSpaceSeparated: ne, commaSeparated: De, number: C, overloadedBoolean: ur, spaceSeparated: $ }, Symbol.toStringTag, { value: "Module" })), fn = Object.keys(Pn);
|
|
144
144
|
class Mn extends le {
|
|
145
145
|
/**
|
|
146
146
|
* @constructor
|
|
@@ -176,7 +176,7 @@ function Oe(e) {
|
|
|
176
176
|
);
|
|
177
177
|
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), t[r] = o, n[Tn(r)] = r, n[Tn(o.attribute)] = r;
|
|
178
178
|
}
|
|
179
|
-
return new
|
|
179
|
+
return new $e(t, n, e.space);
|
|
180
180
|
}
|
|
181
181
|
const sr = Oe({
|
|
182
182
|
space: "xlink",
|
|
@@ -223,36 +223,36 @@ const hr = Oe({
|
|
|
223
223
|
ariaColCount: C,
|
|
224
224
|
ariaColIndex: C,
|
|
225
225
|
ariaColSpan: C,
|
|
226
|
-
ariaControls:
|
|
226
|
+
ariaControls: $,
|
|
227
227
|
ariaCurrent: null,
|
|
228
|
-
ariaDescribedBy:
|
|
228
|
+
ariaDescribedBy: $,
|
|
229
229
|
ariaDetails: null,
|
|
230
230
|
ariaDisabled: W,
|
|
231
|
-
ariaDropEffect:
|
|
231
|
+
ariaDropEffect: $,
|
|
232
232
|
ariaErrorMessage: null,
|
|
233
233
|
ariaExpanded: W,
|
|
234
|
-
ariaFlowTo:
|
|
234
|
+
ariaFlowTo: $,
|
|
235
235
|
ariaGrabbed: W,
|
|
236
236
|
ariaHasPopup: null,
|
|
237
237
|
ariaHidden: W,
|
|
238
238
|
ariaInvalid: null,
|
|
239
239
|
ariaKeyShortcuts: null,
|
|
240
240
|
ariaLabel: null,
|
|
241
|
-
ariaLabelledBy:
|
|
241
|
+
ariaLabelledBy: $,
|
|
242
242
|
ariaLevel: C,
|
|
243
243
|
ariaLive: null,
|
|
244
244
|
ariaModal: W,
|
|
245
245
|
ariaMultiLine: W,
|
|
246
246
|
ariaMultiSelectable: W,
|
|
247
247
|
ariaOrientation: null,
|
|
248
|
-
ariaOwns:
|
|
248
|
+
ariaOwns: $,
|
|
249
249
|
ariaPlaceholder: null,
|
|
250
250
|
ariaPosInSet: C,
|
|
251
251
|
ariaPressed: W,
|
|
252
252
|
ariaReadOnly: W,
|
|
253
253
|
ariaRelevant: null,
|
|
254
254
|
ariaRequired: W,
|
|
255
|
-
ariaRoleDescription:
|
|
255
|
+
ariaRoleDescription: $,
|
|
256
256
|
ariaRowCount: C,
|
|
257
257
|
ariaRowIndex: C,
|
|
258
258
|
ariaRowSpan: C,
|
|
@@ -279,8 +279,8 @@ const hr = Oe({
|
|
|
279
279
|
// Standard Properties.
|
|
280
280
|
abbr: null,
|
|
281
281
|
accept: De,
|
|
282
|
-
acceptCharset:
|
|
283
|
-
accessKey:
|
|
282
|
+
acceptCharset: $,
|
|
283
|
+
accessKey: $,
|
|
284
284
|
action: null,
|
|
285
285
|
allow: null,
|
|
286
286
|
allowFullScreen: O,
|
|
@@ -290,21 +290,21 @@ const hr = Oe({
|
|
|
290
290
|
as: null,
|
|
291
291
|
async: O,
|
|
292
292
|
autoCapitalize: null,
|
|
293
|
-
autoComplete:
|
|
293
|
+
autoComplete: $,
|
|
294
294
|
autoFocus: O,
|
|
295
295
|
autoPlay: O,
|
|
296
|
-
blocking:
|
|
296
|
+
blocking: $,
|
|
297
297
|
capture: null,
|
|
298
298
|
charSet: null,
|
|
299
299
|
checked: O,
|
|
300
300
|
cite: null,
|
|
301
|
-
className:
|
|
301
|
+
className: $,
|
|
302
302
|
cols: C,
|
|
303
303
|
colSpan: null,
|
|
304
304
|
content: null,
|
|
305
305
|
contentEditable: W,
|
|
306
306
|
controls: O,
|
|
307
|
-
controlsList:
|
|
307
|
+
controlsList: $,
|
|
308
308
|
coords: C | De,
|
|
309
309
|
crossOrigin: null,
|
|
310
310
|
data: null,
|
|
@@ -326,14 +326,14 @@ const hr = Oe({
|
|
|
326
326
|
formMethod: null,
|
|
327
327
|
formNoValidate: O,
|
|
328
328
|
formTarget: null,
|
|
329
|
-
headers:
|
|
329
|
+
headers: $,
|
|
330
330
|
height: C,
|
|
331
331
|
hidden: O,
|
|
332
332
|
high: C,
|
|
333
333
|
href: null,
|
|
334
334
|
hrefLang: null,
|
|
335
|
-
htmlFor:
|
|
336
|
-
httpEquiv:
|
|
335
|
+
htmlFor: $,
|
|
336
|
+
httpEquiv: $,
|
|
337
337
|
id: null,
|
|
338
338
|
imageSizes: null,
|
|
339
339
|
imageSrcSet: null,
|
|
@@ -343,10 +343,10 @@ const hr = Oe({
|
|
|
343
343
|
is: null,
|
|
344
344
|
isMap: O,
|
|
345
345
|
itemId: null,
|
|
346
|
-
itemProp:
|
|
347
|
-
itemRef:
|
|
346
|
+
itemProp: $,
|
|
347
|
+
itemRef: $,
|
|
348
348
|
itemScope: O,
|
|
349
|
-
itemType:
|
|
349
|
+
itemType: $,
|
|
350
350
|
kind: null,
|
|
351
351
|
label: null,
|
|
352
352
|
lang: null,
|
|
@@ -459,7 +459,7 @@ const hr = Oe({
|
|
|
459
459
|
open: O,
|
|
460
460
|
optimum: C,
|
|
461
461
|
pattern: null,
|
|
462
|
-
ping:
|
|
462
|
+
ping: $,
|
|
463
463
|
placeholder: null,
|
|
464
464
|
playsInline: O,
|
|
465
465
|
popover: null,
|
|
@@ -469,12 +469,12 @@ const hr = Oe({
|
|
|
469
469
|
preload: null,
|
|
470
470
|
readOnly: O,
|
|
471
471
|
referrerPolicy: null,
|
|
472
|
-
rel:
|
|
472
|
+
rel: $,
|
|
473
473
|
required: O,
|
|
474
474
|
reversed: O,
|
|
475
475
|
rows: C,
|
|
476
476
|
rowSpan: C,
|
|
477
|
-
sandbox:
|
|
477
|
+
sandbox: $,
|
|
478
478
|
scope: null,
|
|
479
479
|
scoped: O,
|
|
480
480
|
seamless: O,
|
|
@@ -510,7 +510,7 @@ const hr = Oe({
|
|
|
510
510
|
// Several. Use CSS `text-align` instead,
|
|
511
511
|
aLink: null,
|
|
512
512
|
// `<body>`. Use CSS `a:active {color}` instead
|
|
513
|
-
archive:
|
|
513
|
+
archive: $,
|
|
514
514
|
// `<object>`. List of URIs to archives
|
|
515
515
|
axis: null,
|
|
516
516
|
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
@@ -825,7 +825,7 @@ const hr = Oe({
|
|
|
825
825
|
by: null,
|
|
826
826
|
calcMode: null,
|
|
827
827
|
capHeight: C,
|
|
828
|
-
className:
|
|
828
|
+
className: $,
|
|
829
829
|
clip: null,
|
|
830
830
|
clipPath: null,
|
|
831
831
|
clipPathUnits: null,
|
|
@@ -1060,7 +1060,7 @@ const hr = Oe({
|
|
|
1060
1060
|
patternTransform: null,
|
|
1061
1061
|
patternUnits: null,
|
|
1062
1062
|
phase: null,
|
|
1063
|
-
ping:
|
|
1063
|
+
ping: $,
|
|
1064
1064
|
pitch: null,
|
|
1065
1065
|
playbackOrder: null,
|
|
1066
1066
|
pointerEvents: null,
|
|
@@ -1183,8 +1183,8 @@ const hr = Oe({
|
|
|
1183
1183
|
z: null,
|
|
1184
1184
|
zoomAndPan: null
|
|
1185
1185
|
}
|
|
1186
|
-
}), Hi = /^data[-\w.:]+$/i, ht = /-[a-z]/g,
|
|
1187
|
-
function
|
|
1186
|
+
}), Hi = /^data[-\w.:]+$/i, ht = /-[a-z]/g, Ui = /[A-Z]/g;
|
|
1187
|
+
function $i(e, t) {
|
|
1188
1188
|
const n = Tn(t);
|
|
1189
1189
|
let r = t, i = le;
|
|
1190
1190
|
if (n in e.normal)
|
|
@@ -1196,7 +1196,7 @@ function Ui(e, t) {
|
|
|
1196
1196
|
} else {
|
|
1197
1197
|
const o = t.slice(4);
|
|
1198
1198
|
if (!ht.test(o)) {
|
|
1199
|
-
let l = o.replace(
|
|
1199
|
+
let l = o.replace(Ui, qi);
|
|
1200
1200
|
l.charAt(0) !== "-" && (l = "-" + l), t = "data" + l;
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
@@ -1237,7 +1237,7 @@ function Gi(e) {
|
|
|
1237
1237
|
return e.join(" ").trim();
|
|
1238
1238
|
}
|
|
1239
1239
|
var gr = {}, mt = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xi = /\n/g, Yi = /^\s*/, Ki = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Ji = /^:\s*/, Zi = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, el = /^[;\s]*/, nl = /^\s+|\s+$/g, tl = `
|
|
1240
|
-
`, gt = "/", dt = "*",
|
|
1240
|
+
`, gt = "/", dt = "*", Ie = "", rl = "comment", il = "declaration", ll = function(e, t) {
|
|
1241
1241
|
if (typeof e != "string")
|
|
1242
1242
|
throw new TypeError("First argument must be a string");
|
|
1243
1243
|
if (!e) return [];
|
|
@@ -1284,9 +1284,9 @@ var gr = {}, mt = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xi = /\n/g, Yi = /^\s*/, Ki
|
|
|
1284
1284
|
function c() {
|
|
1285
1285
|
var d = o();
|
|
1286
1286
|
if (!(gt != e.charAt(0) || dt != e.charAt(1))) {
|
|
1287
|
-
for (var k = 2;
|
|
1287
|
+
for (var k = 2; Ie != e.charAt(k) && (dt != e.charAt(k) || gt != e.charAt(k + 1)); )
|
|
1288
1288
|
++k;
|
|
1289
|
-
if (k += 2,
|
|
1289
|
+
if (k += 2, Ie === e.charAt(k - 1))
|
|
1290
1290
|
return a("End of comment missing");
|
|
1291
1291
|
var S = e.slice(2, k - 2);
|
|
1292
1292
|
return r += 2, i(S), e = e.slice(k), r += 2, d({
|
|
@@ -1301,8 +1301,8 @@ var gr = {}, mt = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xi = /\n/g, Yi = /^\s*/, Ki
|
|
|
1301
1301
|
if (c(), !u(Ji)) return a("property missing ':'");
|
|
1302
1302
|
var S = u(Zi), x = d({
|
|
1303
1303
|
type: il,
|
|
1304
|
-
property: yt(k[0].replace(mt,
|
|
1305
|
-
value: S ? yt(S[0].replace(mt,
|
|
1304
|
+
property: yt(k[0].replace(mt, Ie)),
|
|
1305
|
+
value: S ? yt(S[0].replace(mt, Ie)) : Ie
|
|
1306
1306
|
});
|
|
1307
1307
|
return u(el), x;
|
|
1308
1308
|
}
|
|
@@ -1317,7 +1317,7 @@ var gr = {}, mt = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Xi = /\n/g, Yi = /^\s*/, Ki
|
|
|
1317
1317
|
return s(), p();
|
|
1318
1318
|
};
|
|
1319
1319
|
function yt(e) {
|
|
1320
|
-
return e ? e.replace(nl,
|
|
1320
|
+
return e ? e.replace(nl, Ie) : Ie;
|
|
1321
1321
|
}
|
|
1322
1322
|
var ol = at && at.__importDefault || function(e) {
|
|
1323
1323
|
return e && e.__esModule ? e : { default: e };
|
|
@@ -1513,8 +1513,8 @@ function yl(e, t, n) {
|
|
|
1513
1513
|
const r = e.schema;
|
|
1514
1514
|
let i = r;
|
|
1515
1515
|
t.tagName.toLowerCase() === "svg" && r.space === "html" && (i = Nn, e.schema = i), e.ancestors.push(t);
|
|
1516
|
-
const o = wr(e, t.tagName, !1), l =
|
|
1517
|
-
let a =
|
|
1516
|
+
const o = wr(e, t.tagName, !1), l = Il(e, t);
|
|
1517
|
+
let a = Un(e, t);
|
|
1518
1518
|
return ml.has(t.tagName) && (a = a.filter(function(u) {
|
|
1519
1519
|
return typeof u == "string" ? !Ri(u) : !0;
|
|
1520
1520
|
})), br(e, l, o, t), Hn(l, a), e.ancestors.pop(), e.schema = r, e.create(t, o, l, n);
|
|
@@ -1527,7 +1527,7 @@ function kl(e, t) {
|
|
|
1527
1527
|
e.evaluater.evaluateExpression(r.expression)
|
|
1528
1528
|
);
|
|
1529
1529
|
}
|
|
1530
|
-
|
|
1530
|
+
Ue(e, t.position);
|
|
1531
1531
|
}
|
|
1532
1532
|
function xl(e, t) {
|
|
1533
1533
|
if (t.data && t.data.estree && e.evaluater)
|
|
@@ -1535,18 +1535,18 @@ function xl(e, t) {
|
|
|
1535
1535
|
/** @type {Child | undefined} */
|
|
1536
1536
|
e.evaluater.evaluateProgram(t.data.estree)
|
|
1537
1537
|
);
|
|
1538
|
-
|
|
1538
|
+
Ue(e, t.position);
|
|
1539
1539
|
}
|
|
1540
1540
|
function bl(e, t, n) {
|
|
1541
1541
|
const r = e.schema;
|
|
1542
1542
|
let i = r;
|
|
1543
1543
|
t.name === "svg" && r.space === "html" && (i = Nn, e.schema = i), e.ancestors.push(t);
|
|
1544
|
-
const o = t.name === null ? e.Fragment : wr(e, t.name, !0), l =
|
|
1544
|
+
const o = t.name === null ? e.Fragment : wr(e, t.name, !0), l = Al(e, t), a = Un(e, t);
|
|
1545
1545
|
return br(e, l, o, t), Hn(l, a), e.ancestors.pop(), e.schema = r, e.create(t, o, l, n);
|
|
1546
1546
|
}
|
|
1547
1547
|
function wl(e, t, n) {
|
|
1548
1548
|
const r = {};
|
|
1549
|
-
return Hn(r,
|
|
1549
|
+
return Hn(r, Un(e, t)), e.create(t, e.Fragment, r, n);
|
|
1550
1550
|
}
|
|
1551
1551
|
function Sl(e, t) {
|
|
1552
1552
|
return t.value;
|
|
@@ -1585,7 +1585,7 @@ function El(e, t) {
|
|
|
1585
1585
|
);
|
|
1586
1586
|
}
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function Il(e, t) {
|
|
1589
1589
|
const n = {};
|
|
1590
1590
|
let r, i;
|
|
1591
1591
|
for (i in t.properties)
|
|
@@ -1605,7 +1605,7 @@ function Al(e, t) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
return n;
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function Al(e, t) {
|
|
1609
1609
|
const n = {};
|
|
1610
1610
|
for (const r of t.attributes)
|
|
1611
1611
|
if (r.type === "mdxJsxExpressionAttribute")
|
|
@@ -1616,7 +1616,7 @@ function Il(e, t) {
|
|
|
1616
1616
|
e.evaluater.evaluateExpression(a.argument)
|
|
1617
1617
|
);
|
|
1618
1618
|
} else
|
|
1619
|
-
|
|
1619
|
+
Ue(e, t.position);
|
|
1620
1620
|
else {
|
|
1621
1621
|
const i = r.name;
|
|
1622
1622
|
let o;
|
|
@@ -1625,7 +1625,7 @@ function Il(e, t) {
|
|
|
1625
1625
|
const a = r.value.data.estree.body[0];
|
|
1626
1626
|
o = e.evaluater.evaluateExpression(a.expression);
|
|
1627
1627
|
} else
|
|
1628
|
-
|
|
1628
|
+
Ue(e, t.position);
|
|
1629
1629
|
else
|
|
1630
1630
|
o = r.value === null ? !0 : r.value;
|
|
1631
1631
|
n[i] = /** @type {Props[keyof Props]} */
|
|
@@ -1633,7 +1633,7 @@ function Il(e, t) {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
return n;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function Un(e, t) {
|
|
1637
1637
|
const n = [];
|
|
1638
1638
|
let r = -1;
|
|
1639
1639
|
const i = e.passKeys ? /* @__PURE__ */ new Map() : fl;
|
|
@@ -1653,7 +1653,7 @@ function $n(e, t) {
|
|
|
1653
1653
|
return n;
|
|
1654
1654
|
}
|
|
1655
1655
|
function Tl(e, t, n) {
|
|
1656
|
-
const r =
|
|
1656
|
+
const r = $i(e.schema, t);
|
|
1657
1657
|
if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
|
|
1658
1658
|
if (Array.isArray(n) && (n = r.commaSeparated ? vi(n) : Gi(n)), r.property === "style") {
|
|
1659
1659
|
let i = typeof n == "object" ? n : Pl(e, String(n));
|
|
@@ -1718,9 +1718,9 @@ function wr(e, t, n) {
|
|
|
1718
1718
|
}
|
|
1719
1719
|
if (e.evaluater)
|
|
1720
1720
|
return e.evaluater.evaluateExpression(r);
|
|
1721
|
-
|
|
1721
|
+
Ue(e);
|
|
1722
1722
|
}
|
|
1723
|
-
function
|
|
1723
|
+
function Ue(e, t) {
|
|
1724
1724
|
const n = new K(
|
|
1725
1725
|
"Cannot handle MDX estrees without `createEvaluater`",
|
|
1726
1726
|
{
|
|
@@ -1772,7 +1772,7 @@ const pn = {
|
|
|
1772
1772
|
"video"
|
|
1773
1773
|
]
|
|
1774
1774
|
}, Ol = {};
|
|
1775
|
-
function
|
|
1775
|
+
function $n(e, t) {
|
|
1776
1776
|
const n = Ol, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
|
1777
1777
|
return Sr(e, r, i);
|
|
1778
1778
|
}
|
|
@@ -1876,13 +1876,13 @@ const zn = be(/\d/), Nl = be(/[\dA-Fa-f]/), Bl = be(/[!-/:-@[-`{-~]/);
|
|
|
1876
1876
|
function L(e) {
|
|
1877
1877
|
return e !== null && e < -2;
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1879
|
+
function U(e) {
|
|
1880
1880
|
return e !== null && (e < 0 || e === 32);
|
|
1881
1881
|
}
|
|
1882
1882
|
function F(e) {
|
|
1883
1883
|
return e === -2 || e === -1 || e === 32;
|
|
1884
1884
|
}
|
|
1885
|
-
const rn = be(new RegExp("\\p{P}|\\p{S}", "u")),
|
|
1885
|
+
const rn = be(new RegExp("\\p{P}|\\p{S}", "u")), Ae = be(/\s/);
|
|
1886
1886
|
function be(e) {
|
|
1887
1887
|
return t;
|
|
1888
1888
|
function t(n) {
|
|
@@ -1955,12 +1955,12 @@ function Hl(e) {
|
|
|
1955
1955
|
return L(a) ? (e.consume(a), e.exit("chunkText"), o) : (e.consume(a), l);
|
|
1956
1956
|
}
|
|
1957
1957
|
}
|
|
1958
|
-
const
|
|
1959
|
-
tokenize:
|
|
1958
|
+
const Ul = {
|
|
1959
|
+
tokenize: $l
|
|
1960
1960
|
}, Et = {
|
|
1961
1961
|
tokenize: ql
|
|
1962
1962
|
};
|
|
1963
|
-
function
|
|
1963
|
+
function $l(e) {
|
|
1964
1964
|
const t = this, n = [];
|
|
1965
1965
|
let r = 0, i, o, l;
|
|
1966
1966
|
return a;
|
|
@@ -1977,7 +1977,7 @@ function Ul(e) {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
function u(E) {
|
|
1979
1979
|
if (r++, t.containerState._closeFlow) {
|
|
1980
|
-
t.containerState._closeFlow = void 0, i &&
|
|
1980
|
+
t.containerState._closeFlow = void 0, i && I();
|
|
1981
1981
|
const z = t.events.length;
|
|
1982
1982
|
let v = z, w;
|
|
1983
1983
|
for (; v--; )
|
|
@@ -2013,7 +2013,7 @@ function Ul(e) {
|
|
|
2013
2013
|
)(E);
|
|
2014
2014
|
}
|
|
2015
2015
|
function f(E) {
|
|
2016
|
-
return i &&
|
|
2016
|
+
return i && I(), x(r), h(E);
|
|
2017
2017
|
}
|
|
2018
2018
|
function c(E) {
|
|
2019
2019
|
return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, d(E);
|
|
@@ -2030,7 +2030,7 @@ function Ul(e) {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
function d(E) {
|
|
2032
2032
|
if (E === null) {
|
|
2033
|
-
i &&
|
|
2033
|
+
i && I(), x(0), e.consume(E);
|
|
2034
2034
|
return;
|
|
2035
2035
|
}
|
|
2036
2036
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
|
@@ -2086,7 +2086,7 @@ function Ul(e) {
|
|
|
2086
2086
|
}
|
|
2087
2087
|
n.length = E;
|
|
2088
2088
|
}
|
|
2089
|
-
function
|
|
2089
|
+
function I() {
|
|
2090
2090
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
@@ -2099,7 +2099,7 @@ function ql(e, t, n) {
|
|
|
2099
2099
|
);
|
|
2100
2100
|
}
|
|
2101
2101
|
function Ze(e) {
|
|
2102
|
-
if (e === null ||
|
|
2102
|
+
if (e === null || U(e) || Ae(e))
|
|
2103
2103
|
return 1;
|
|
2104
2104
|
if (rn(e))
|
|
2105
2105
|
return 2;
|
|
@@ -2129,7 +2129,7 @@ function Vl(e, t) {
|
|
|
2129
2129
|
continue;
|
|
2130
2130
|
u = e[r][1].end.offset - e[r][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
|
|
2131
2131
|
const c = Object.assign({}, e[r][1].end), h = Object.assign({}, e[n][1].start);
|
|
2132
|
-
|
|
2132
|
+
It(c, -u), It(h, u), l = {
|
|
2133
2133
|
type: u > 1 ? "strongSequence" : "emphasisSequence",
|
|
2134
2134
|
start: c,
|
|
2135
2135
|
end: Object.assign({}, e[r][1].end)
|
|
@@ -2190,7 +2190,7 @@ function Wl(e, t) {
|
|
|
2190
2190
|
return s._open = !!(o === 42 ? c : c && (i || !h)), s._close = !!(o === 42 ? h : h && (f || !c)), t(u);
|
|
2191
2191
|
}
|
|
2192
2192
|
}
|
|
2193
|
-
function
|
|
2193
|
+
function It(e, t) {
|
|
2194
2194
|
e.column += t, e.offset += t, e._bufferIndex += t;
|
|
2195
2195
|
}
|
|
2196
2196
|
const Ql = {
|
|
@@ -2245,7 +2245,7 @@ function Xl(e, t, n) {
|
|
|
2245
2245
|
return o === null || L(o) ? t(o) : n(o);
|
|
2246
2246
|
}
|
|
2247
2247
|
}
|
|
2248
|
-
const
|
|
2248
|
+
const Ir = {
|
|
2249
2249
|
name: "blockQuote",
|
|
2250
2250
|
tokenize: Yl,
|
|
2251
2251
|
continuation: {
|
|
@@ -2281,13 +2281,13 @@ function Kl(e, t, n) {
|
|
|
2281
2281
|
)(l) : o(l);
|
|
2282
2282
|
}
|
|
2283
2283
|
function o(l) {
|
|
2284
|
-
return e.attempt(
|
|
2284
|
+
return e.attempt(Ir, t, n)(l);
|
|
2285
2285
|
}
|
|
2286
2286
|
}
|
|
2287
2287
|
function Jl(e) {
|
|
2288
2288
|
e.exit("blockQuote");
|
|
2289
2289
|
}
|
|
2290
|
-
const
|
|
2290
|
+
const Ar = {
|
|
2291
2291
|
name: "characterEscape",
|
|
2292
2292
|
tokenize: Zl
|
|
2293
2293
|
};
|
|
@@ -2325,7 +2325,7 @@ function eo(e, t, n) {
|
|
|
2325
2325
|
return l(c) && i++ < o ? (e.consume(c), f) : n(c);
|
|
2326
2326
|
}
|
|
2327
2327
|
}
|
|
2328
|
-
const
|
|
2328
|
+
const At = {
|
|
2329
2329
|
tokenize: to,
|
|
2330
2330
|
partial: !0
|
|
2331
2331
|
}, Tt = {
|
|
@@ -2351,7 +2351,7 @@ function no(e, t, n) {
|
|
|
2351
2351
|
return w === a ? (l++, e.consume(w), f) : l < 3 ? n(w) : (e.exit("codeFencedFenceSequence"), F(w) ? M(e, c, "whitespace")(w) : c(w));
|
|
2352
2352
|
}
|
|
2353
2353
|
function c(w) {
|
|
2354
|
-
return w === null || L(w) ? (e.exit("codeFencedFence"), r.interrupt ? t(w) : e.check(
|
|
2354
|
+
return w === null || L(w) ? (e.exit("codeFencedFence"), r.interrupt ? t(w) : e.check(At, k, z)(w)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
2355
2355
|
contentType: "string"
|
|
2356
2356
|
}), h(w));
|
|
2357
2357
|
}
|
|
@@ -2375,16 +2375,16 @@ function no(e, t, n) {
|
|
|
2375
2375
|
function x(w) {
|
|
2376
2376
|
return o > 0 && F(w) ? M(
|
|
2377
2377
|
e,
|
|
2378
|
-
|
|
2378
|
+
I,
|
|
2379
2379
|
"linePrefix",
|
|
2380
2380
|
o + 1
|
|
2381
|
-
)(w) :
|
|
2381
|
+
)(w) : I(w);
|
|
2382
2382
|
}
|
|
2383
|
-
function
|
|
2384
|
-
return w === null || L(w) ? e.check(
|
|
2383
|
+
function I(w) {
|
|
2384
|
+
return w === null || L(w) ? e.check(At, k, z)(w) : (e.enter("codeFlowValue"), E(w));
|
|
2385
2385
|
}
|
|
2386
2386
|
function E(w) {
|
|
2387
|
-
return w === null || L(w) ? (e.exit("codeFlowValue"),
|
|
2387
|
+
return w === null || L(w) ? (e.exit("codeFlowValue"), I(w)) : (e.consume(w), E);
|
|
2388
2388
|
}
|
|
2389
2389
|
function z(w) {
|
|
2390
2390
|
return e.exit("codeFenced"), t(w);
|
|
@@ -2537,8 +2537,8 @@ function co(e, t) {
|
|
|
2537
2537
|
// Find a void token that includes a break.
|
|
2538
2538
|
a[h][0] === "exit" && a[h - 1][0] === "enter" && a[h][1].type === a[h - 1][1].type && a[h][1].start.line !== a[h][1].end.line && (k = h + 1, S.push(k), p._tokenizer = void 0, p.previous = void 0, p = p.next);
|
|
2539
2539
|
for (l.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : S.pop(), h = S.length; h--; ) {
|
|
2540
|
-
const x = a.slice(S[h], S[h + 1]),
|
|
2541
|
-
u.unshift([
|
|
2540
|
+
const x = a.slice(S[h], S[h + 1]), I = o.pop();
|
|
2541
|
+
u.unshift([I, I + x.length - 1]), te(e, I, 2, x);
|
|
2542
2542
|
}
|
|
2543
2543
|
for (h = -1; ++h < u.length; )
|
|
2544
2544
|
s[d + u[h][0]] = d + u[h][1], d += u[h][1] - u[h][0] - 1;
|
|
@@ -2613,7 +2613,7 @@ function Lr(e, t, n, r, i, o, l, a, u) {
|
|
|
2613
2613
|
return x === 60 || x === 62 || x === 92 ? (e.consume(x), p) : p(x);
|
|
2614
2614
|
}
|
|
2615
2615
|
function k(x) {
|
|
2616
|
-
return !f && (x === null || x === 41 ||
|
|
2616
|
+
return !f && (x === null || x === 41 || U(x)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(x)) : f < s && x === 40 ? (e.consume(x), f++, k) : x === 41 ? (e.consume(x), f--, k) : x === null || x === 32 || x === 40 || Je(x) ? n(x) : (e.consume(x), x === 92 ? S : k);
|
|
2617
2617
|
}
|
|
2618
2618
|
function S(x) {
|
|
2619
2619
|
return x === 40 || x === 41 || x === 92 ? (e.consume(x), k) : k(x);
|
|
@@ -2707,7 +2707,7 @@ function xo(e, t, n) {
|
|
|
2707
2707
|
), p === 58 ? (e.enter("definitionMarker"), e.consume(p), e.exit("definitionMarker"), u) : n(p);
|
|
2708
2708
|
}
|
|
2709
2709
|
function u(p) {
|
|
2710
|
-
return
|
|
2710
|
+
return U(p) ? je(e, s)(p) : s(p);
|
|
2711
2711
|
}
|
|
2712
2712
|
function s(p) {
|
|
2713
2713
|
return Lr(
|
|
@@ -2735,7 +2735,7 @@ function xo(e, t, n) {
|
|
|
2735
2735
|
function bo(e, t, n) {
|
|
2736
2736
|
return r;
|
|
2737
2737
|
function r(a) {
|
|
2738
|
-
return
|
|
2738
|
+
return U(a) ? je(e, i)(a) : n(a);
|
|
2739
2739
|
}
|
|
2740
2740
|
function i(a) {
|
|
2741
2741
|
return vr(
|
|
@@ -2769,7 +2769,7 @@ function So(e, t, n) {
|
|
|
2769
2769
|
}
|
|
2770
2770
|
const Co = {
|
|
2771
2771
|
name: "headingAtx",
|
|
2772
|
-
tokenize:
|
|
2772
|
+
tokenize: Io,
|
|
2773
2773
|
resolve: Eo
|
|
2774
2774
|
};
|
|
2775
2775
|
function Eo(e, t) {
|
|
@@ -2790,7 +2790,7 @@ function Eo(e, t) {
|
|
|
2790
2790
|
["exit", i, t]
|
|
2791
2791
|
])), e;
|
|
2792
2792
|
}
|
|
2793
|
-
function
|
|
2793
|
+
function Io(e, t, n) {
|
|
2794
2794
|
let r = 0;
|
|
2795
2795
|
return i;
|
|
2796
2796
|
function i(f) {
|
|
@@ -2800,7 +2800,7 @@ function Ao(e, t, n) {
|
|
|
2800
2800
|
return e.enter("atxHeadingSequence"), l(f);
|
|
2801
2801
|
}
|
|
2802
2802
|
function l(f) {
|
|
2803
|
-
return f === 35 && r++ < 6 ? (e.consume(f), l) : f === null ||
|
|
2803
|
+
return f === 35 && r++ < 6 ? (e.consume(f), l) : f === null || U(f) ? (e.exit("atxHeadingSequence"), a(f)) : n(f);
|
|
2804
2804
|
}
|
|
2805
2805
|
function a(f) {
|
|
2806
2806
|
return f === 35 ? (e.enter("atxHeadingSequence"), u(f)) : f === null || L(f) ? (e.exit("atxHeading"), t(f)) : F(f) ? M(e, a, "whitespace")(f) : (e.enter("atxHeadingText"), s(f));
|
|
@@ -2809,10 +2809,10 @@ function Ao(e, t, n) {
|
|
|
2809
2809
|
return f === 35 ? (e.consume(f), u) : (e.exit("atxHeadingSequence"), a(f));
|
|
2810
2810
|
}
|
|
2811
2811
|
function s(f) {
|
|
2812
|
-
return f === null || f === 35 ||
|
|
2812
|
+
return f === null || f === 35 || U(f) ? (e.exit("atxHeadingText"), a(f)) : (e.consume(f), s);
|
|
2813
2813
|
}
|
|
2814
2814
|
}
|
|
2815
|
-
const
|
|
2815
|
+
const Ao = [
|
|
2816
2816
|
"address",
|
|
2817
2817
|
"article",
|
|
2818
2818
|
"aside",
|
|
@@ -2920,17 +2920,17 @@ function vo(e, t, n) {
|
|
|
2920
2920
|
return J(g) ? (e.consume(g), l = String.fromCharCode(g), S) : n(g);
|
|
2921
2921
|
}
|
|
2922
2922
|
function S(g) {
|
|
2923
|
-
if (g === null || g === 47 || g === 62 ||
|
|
2923
|
+
if (g === null || g === 47 || g === 62 || U(g)) {
|
|
2924
2924
|
const ue = g === 47, we = l.toLowerCase();
|
|
2925
|
-
return !ue && !o && Pt.includes(we) ? (i = 1, r.interrupt ? t(g) : P(g)) :
|
|
2925
|
+
return !ue && !o && Pt.includes(we) ? (i = 1, r.interrupt ? t(g) : P(g)) : Ao.includes(l.toLowerCase()) ? (i = 6, ue ? (e.consume(g), x) : r.interrupt ? t(g) : P(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? I(g) : E(g));
|
|
2926
2926
|
}
|
|
2927
2927
|
return g === 45 || Y(g) ? (e.consume(g), l += String.fromCharCode(g), S) : n(g);
|
|
2928
2928
|
}
|
|
2929
2929
|
function x(g) {
|
|
2930
2930
|
return g === 62 ? (e.consume(g), r.interrupt ? t : P) : n(g);
|
|
2931
2931
|
}
|
|
2932
|
-
function
|
|
2933
|
-
return F(g) ? (e.consume(g),
|
|
2932
|
+
function I(g) {
|
|
2933
|
+
return F(g) ? (e.consume(g), I) : y(g);
|
|
2934
2934
|
}
|
|
2935
2935
|
function E(g) {
|
|
2936
2936
|
return g === 47 ? (e.consume(g), y) : g === 58 || g === 95 || J(g) ? (e.consume(g), z) : F(g) ? (e.consume(g), E) : y(g);
|
|
@@ -2948,7 +2948,7 @@ function vo(e, t, n) {
|
|
|
2948
2948
|
return g === u ? (e.consume(g), u = null, B) : g === null || L(g) ? n(g) : (e.consume(g), _);
|
|
2949
2949
|
}
|
|
2950
2950
|
function q(g) {
|
|
2951
|
-
return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 ||
|
|
2951
|
+
return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || U(g) ? v(g) : (e.consume(g), q);
|
|
2952
2952
|
}
|
|
2953
2953
|
function B(g) {
|
|
2954
2954
|
return g === 47 || g === 62 || F(g) ? E(g) : n(g);
|
|
@@ -3036,7 +3036,7 @@ function _o(e, t, n) {
|
|
|
3036
3036
|
return m === 33 ? (e.consume(m), s) : m === 47 ? (e.consume(m), v) : m === 63 ? (e.consume(m), E) : J(m) ? (e.consume(m), q) : n(m);
|
|
3037
3037
|
}
|
|
3038
3038
|
function s(m) {
|
|
3039
|
-
return m === 45 ? (e.consume(m), f) : m === 91 ? (e.consume(m), o = 0, d) : J(m) ? (e.consume(m),
|
|
3039
|
+
return m === 45 ? (e.consume(m), f) : m === 91 ? (e.consume(m), o = 0, d) : J(m) ? (e.consume(m), I) : n(m);
|
|
3040
3040
|
}
|
|
3041
3041
|
function f(m) {
|
|
3042
3042
|
return m === 45 ? (e.consume(m), p) : n(m);
|
|
@@ -3063,8 +3063,8 @@ function _o(e, t, n) {
|
|
|
3063
3063
|
function x(m) {
|
|
3064
3064
|
return m === 62 ? X(m) : m === 93 ? (e.consume(m), x) : k(m);
|
|
3065
3065
|
}
|
|
3066
|
-
function
|
|
3067
|
-
return m === null || m === 62 ? X(m) : L(m) ? (l =
|
|
3066
|
+
function I(m) {
|
|
3067
|
+
return m === null || m === 62 ? X(m) : L(m) ? (l = I, Q(m)) : (e.consume(m), I);
|
|
3068
3068
|
}
|
|
3069
3069
|
function E(m) {
|
|
3070
3070
|
return m === null ? n(m) : m === 63 ? (e.consume(m), z) : L(m) ? (l = E, Q(m)) : (e.consume(m), E);
|
|
@@ -3082,7 +3082,7 @@ function _o(e, t, n) {
|
|
|
3082
3082
|
return L(m) ? (l = _, Q(m)) : F(m) ? (e.consume(m), _) : X(m);
|
|
3083
3083
|
}
|
|
3084
3084
|
function q(m) {
|
|
3085
|
-
return m === 45 || Y(m) ? (e.consume(m), q) : m === 47 || m === 62 ||
|
|
3085
|
+
return m === 45 || Y(m) ? (e.consume(m), q) : m === 47 || m === 62 || U(m) ? B(m) : n(m);
|
|
3086
3086
|
}
|
|
3087
3087
|
function B(m) {
|
|
3088
3088
|
return m === 47 ? (e.consume(m), X) : m === 58 || m === 95 || J(m) ? (e.consume(m), y) : L(m) ? (l = B, Q(m)) : F(m) ? (e.consume(m), B) : X(m);
|
|
@@ -3100,10 +3100,10 @@ function _o(e, t, n) {
|
|
|
3100
3100
|
return m === i ? (e.consume(m), i = void 0, N) : m === null ? n(m) : L(m) ? (l = H, Q(m)) : (e.consume(m), H);
|
|
3101
3101
|
}
|
|
3102
3102
|
function V(m) {
|
|
3103
|
-
return m === null || m === 34 || m === 39 || m === 60 || m === 61 || m === 96 ? n(m) : m === 47 || m === 62 ||
|
|
3103
|
+
return m === null || m === 34 || m === 39 || m === 60 || m === 61 || m === 96 ? n(m) : m === 47 || m === 62 || U(m) ? B(m) : (e.consume(m), V);
|
|
3104
3104
|
}
|
|
3105
3105
|
function N(m) {
|
|
3106
|
-
return m === 47 || m === 62 ||
|
|
3106
|
+
return m === 47 || m === 62 || U(m) ? B(m) : n(m);
|
|
3107
3107
|
}
|
|
3108
3108
|
function X(m) {
|
|
3109
3109
|
return m === 62 ? (e.consume(m), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(m);
|
|
@@ -3129,9 +3129,9 @@ const Vn = {
|
|
|
3129
3129
|
resolveTo: jo,
|
|
3130
3130
|
resolveAll: Bo
|
|
3131
3131
|
}, Ro = {
|
|
3132
|
-
tokenize: $o
|
|
3133
|
-
}, Mo = {
|
|
3134
3132
|
tokenize: Uo
|
|
3133
|
+
}, Mo = {
|
|
3134
|
+
tokenize: $o
|
|
3135
3135
|
}, No = {
|
|
3136
3136
|
tokenize: qo
|
|
3137
3137
|
};
|
|
@@ -3230,13 +3230,13 @@ function Ho(e, t, n) {
|
|
|
3230
3230
|
return o._balanced = !0, n(h);
|
|
3231
3231
|
}
|
|
3232
3232
|
}
|
|
3233
|
-
function
|
|
3233
|
+
function Uo(e, t, n) {
|
|
3234
3234
|
return r;
|
|
3235
3235
|
function r(c) {
|
|
3236
3236
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(c), e.exit("resourceMarker"), i;
|
|
3237
3237
|
}
|
|
3238
3238
|
function i(c) {
|
|
3239
|
-
return
|
|
3239
|
+
return U(c) ? je(e, o)(c) : o(c);
|
|
3240
3240
|
}
|
|
3241
3241
|
function o(c) {
|
|
3242
3242
|
return c === 41 ? f(c) : Lr(
|
|
@@ -3252,7 +3252,7 @@ function $o(e, t, n) {
|
|
|
3252
3252
|
)(c);
|
|
3253
3253
|
}
|
|
3254
3254
|
function l(c) {
|
|
3255
|
-
return
|
|
3255
|
+
return U(c) ? je(e, u)(c) : f(c);
|
|
3256
3256
|
}
|
|
3257
3257
|
function a(c) {
|
|
3258
3258
|
return n(c);
|
|
@@ -3268,13 +3268,13 @@ function $o(e, t, n) {
|
|
|
3268
3268
|
)(c) : f(c);
|
|
3269
3269
|
}
|
|
3270
3270
|
function s(c) {
|
|
3271
|
-
return
|
|
3271
|
+
return U(c) ? je(e, f)(c) : f(c);
|
|
3272
3272
|
}
|
|
3273
3273
|
function f(c) {
|
|
3274
3274
|
return c === 41 ? (e.enter("resourceMarker"), e.consume(c), e.exit("resourceMarker"), e.exit("resource"), t) : n(c);
|
|
3275
3275
|
}
|
|
3276
3276
|
}
|
|
3277
|
-
function
|
|
3277
|
+
function $o(e, t, n) {
|
|
3278
3278
|
const r = this;
|
|
3279
3279
|
return i;
|
|
3280
3280
|
function i(a) {
|
|
@@ -3671,7 +3671,7 @@ function pa(e, t, n) {
|
|
|
3671
3671
|
const i = {}, o = [];
|
|
3672
3672
|
let l = [], a = [];
|
|
3673
3673
|
const u = {
|
|
3674
|
-
consume:
|
|
3674
|
+
consume: I,
|
|
3675
3675
|
enter: E,
|
|
3676
3676
|
exit: z,
|
|
3677
3677
|
attempt: _(v),
|
|
@@ -3729,7 +3729,7 @@ function pa(e, t, n) {
|
|
|
3729
3729
|
function x(T) {
|
|
3730
3730
|
f = f(T);
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3732
|
+
function I(T) {
|
|
3733
3733
|
L(T) ? (r.line++, r.column = 1, r.offset += T === -3 ? 2 : 1, y()) : T !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === l[r._index].length && (r._bufferIndex = -1, r._index++)), s.previous = T;
|
|
3734
3734
|
}
|
|
3735
3735
|
function E(T, P) {
|
|
@@ -3882,7 +3882,7 @@ const ga = {
|
|
|
3882
3882
|
55: Z,
|
|
3883
3883
|
56: Z,
|
|
3884
3884
|
57: Z,
|
|
3885
|
-
62:
|
|
3885
|
+
62: Ir
|
|
3886
3886
|
}, da = {
|
|
3887
3887
|
91: yo
|
|
3888
3888
|
}, ya = {
|
|
@@ -3900,7 +3900,7 @@ const ga = {
|
|
|
3900
3900
|
126: Tt
|
|
3901
3901
|
}, xa = {
|
|
3902
3902
|
38: Tr,
|
|
3903
|
-
92:
|
|
3903
|
+
92: Ar
|
|
3904
3904
|
}, ba = {
|
|
3905
3905
|
[-5]: mn,
|
|
3906
3906
|
[-4]: mn,
|
|
@@ -3910,7 +3910,7 @@ const ga = {
|
|
|
3910
3910
|
42: vn,
|
|
3911
3911
|
60: [Ql, Fo],
|
|
3912
3912
|
91: Qo,
|
|
3913
|
-
92: [wo,
|
|
3913
|
+
92: [wo, Ar],
|
|
3914
3914
|
93: Vn,
|
|
3915
3915
|
95: vn,
|
|
3916
3916
|
96: oo
|
|
@@ -3921,7 +3921,7 @@ const ga = {
|
|
|
3921
3921
|
}, Ca = {
|
|
3922
3922
|
null: []
|
|
3923
3923
|
}, Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Sa, contentInitial: da, disable: Ca, document: ga, flow: ka, flowInitial: ya, insideSpan: wa, string: xa, text: ba }, Symbol.toStringTag, { value: "Module" }));
|
|
3924
|
-
function
|
|
3924
|
+
function Ia(e) {
|
|
3925
3925
|
const n = (
|
|
3926
3926
|
/** @type {FullNormalizedExtension} */
|
|
3927
3927
|
Cr([Ea, ...(e || {}).extensions || []])
|
|
@@ -3930,7 +3930,7 @@ function Aa(e) {
|
|
|
3930
3930
|
lazy: {},
|
|
3931
3931
|
constructs: n,
|
|
3932
3932
|
content: i(jl),
|
|
3933
|
-
document: i(
|
|
3933
|
+
document: i(Ul),
|
|
3934
3934
|
flow: i(oa),
|
|
3935
3935
|
string: i(sa),
|
|
3936
3936
|
text: i(ca)
|
|
@@ -3943,7 +3943,7 @@ function Aa(e) {
|
|
|
3943
3943
|
}
|
|
3944
3944
|
}
|
|
3945
3945
|
}
|
|
3946
|
-
function
|
|
3946
|
+
function Aa(e) {
|
|
3947
3947
|
for (; !Pr(e); )
|
|
3948
3948
|
;
|
|
3949
3949
|
return e;
|
|
@@ -4000,8 +4000,8 @@ function za(e, t, n) {
|
|
|
4000
4000
|
const Fr = {}.hasOwnProperty;
|
|
4001
4001
|
function va(e, t, n) {
|
|
4002
4002
|
return typeof t != "string" && (n = t, t = void 0), Da(n)(
|
|
4003
|
-
|
|
4004
|
-
|
|
4003
|
+
Aa(
|
|
4004
|
+
Ia(n).document().write(Ta()(e, t, !0))
|
|
4005
4005
|
)
|
|
4006
4006
|
);
|
|
4007
4007
|
}
|
|
@@ -4074,7 +4074,7 @@ function Da(e) {
|
|
|
4074
4074
|
data: y,
|
|
4075
4075
|
definition: u(),
|
|
4076
4076
|
definitionDestinationString: z,
|
|
4077
|
-
definitionLabelString:
|
|
4077
|
+
definitionLabelString: I,
|
|
4078
4078
|
definitionTitleString: E,
|
|
4079
4079
|
emphasis: u(),
|
|
4080
4080
|
hardBreakEscape: u(P),
|
|
@@ -4107,12 +4107,12 @@ function Da(e) {
|
|
|
4107
4107
|
const n = {};
|
|
4108
4108
|
return r;
|
|
4109
4109
|
function r(b) {
|
|
4110
|
-
let
|
|
4110
|
+
let A = {
|
|
4111
4111
|
type: "root",
|
|
4112
4112
|
children: []
|
|
4113
4113
|
};
|
|
4114
4114
|
const D = {
|
|
4115
|
-
stack: [
|
|
4115
|
+
stack: [A],
|
|
4116
4116
|
tokenStack: [],
|
|
4117
4117
|
config: t,
|
|
4118
4118
|
enter: a,
|
|
@@ -4146,7 +4146,7 @@ function Da(e) {
|
|
|
4146
4146
|
const se = D.tokenStack[D.tokenStack.length - 1];
|
|
4147
4147
|
(se[1] || vt).call(D, void 0, se[0]);
|
|
4148
4148
|
}
|
|
4149
|
-
for (
|
|
4149
|
+
for (A.position = {
|
|
4150
4150
|
start: xe(
|
|
4151
4151
|
b.length > 0 ? b[0][1].start : {
|
|
4152
4152
|
line: 1,
|
|
@@ -4162,11 +4162,11 @@ function Da(e) {
|
|
|
4162
4162
|
}
|
|
4163
4163
|
)
|
|
4164
4164
|
}, j = -1; ++j < t.transforms.length; )
|
|
4165
|
-
|
|
4166
|
-
return
|
|
4165
|
+
A = t.transforms[j](A) || A;
|
|
4166
|
+
return A;
|
|
4167
4167
|
}
|
|
4168
|
-
function i(b,
|
|
4169
|
-
let R =
|
|
4168
|
+
function i(b, A, D) {
|
|
4169
|
+
let R = A - 1, j = -1, se = !1, Ce, ge, Re, Me;
|
|
4170
4170
|
for (; ++R <= D; ) {
|
|
4171
4171
|
const ee = b[R];
|
|
4172
4172
|
switch (ee[1].type) {
|
|
@@ -4216,12 +4216,12 @@ function Da(e) {
|
|
|
4216
4216
|
}
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
|
-
return b[
|
|
4219
|
+
return b[A][1]._spread = se, D;
|
|
4220
4220
|
}
|
|
4221
|
-
function o(b,
|
|
4221
|
+
function o(b, A) {
|
|
4222
4222
|
return D;
|
|
4223
4223
|
function D(R) {
|
|
4224
|
-
a.call(this, b(R), R),
|
|
4224
|
+
a.call(this, b(R), R), A && A.call(this, R);
|
|
4225
4225
|
}
|
|
4226
4226
|
}
|
|
4227
4227
|
function l() {
|
|
@@ -4230,23 +4230,23 @@ function Da(e) {
|
|
|
4230
4230
|
children: []
|
|
4231
4231
|
});
|
|
4232
4232
|
}
|
|
4233
|
-
function a(b,
|
|
4234
|
-
this.stack[this.stack.length - 1].children.push(b), this.stack.push(b), this.tokenStack.push([
|
|
4235
|
-
start: xe(
|
|
4233
|
+
function a(b, A, D) {
|
|
4234
|
+
this.stack[this.stack.length - 1].children.push(b), this.stack.push(b), this.tokenStack.push([A, D]), b.position = {
|
|
4235
|
+
start: xe(A.start),
|
|
4236
4236
|
// @ts-expect-error: `end` will be patched later.
|
|
4237
4237
|
end: void 0
|
|
4238
4238
|
};
|
|
4239
4239
|
}
|
|
4240
4240
|
function u(b) {
|
|
4241
|
-
return
|
|
4242
|
-
function
|
|
4241
|
+
return A;
|
|
4242
|
+
function A(D) {
|
|
4243
4243
|
b && b.call(this, D), s.call(this, D);
|
|
4244
4244
|
}
|
|
4245
4245
|
}
|
|
4246
|
-
function s(b,
|
|
4246
|
+
function s(b, A) {
|
|
4247
4247
|
const D = this.stack.pop(), R = this.tokenStack.pop();
|
|
4248
4248
|
if (R)
|
|
4249
|
-
R[0].type !== b.type && (
|
|
4249
|
+
R[0].type !== b.type && (A ? A.call(this, b, R[0]) : (R[1] || vt).call(this, b, R[0]));
|
|
4250
4250
|
else throw new Error(
|
|
4251
4251
|
"Cannot close `" + b.type + "` (" + Be({
|
|
4252
4252
|
start: b.start,
|
|
@@ -4256,63 +4256,63 @@ function Da(e) {
|
|
|
4256
4256
|
D.position.end = xe(b.end);
|
|
4257
4257
|
}
|
|
4258
4258
|
function f() {
|
|
4259
|
-
return
|
|
4259
|
+
return $n(this.stack.pop());
|
|
4260
4260
|
}
|
|
4261
4261
|
function c() {
|
|
4262
4262
|
this.data.expectingFirstListItemValue = !0;
|
|
4263
4263
|
}
|
|
4264
4264
|
function h(b) {
|
|
4265
4265
|
if (this.data.expectingFirstListItemValue) {
|
|
4266
|
-
const
|
|
4267
|
-
|
|
4266
|
+
const A = this.stack[this.stack.length - 2];
|
|
4267
|
+
A.start = Number.parseInt(this.sliceSerialize(b), 10), this.data.expectingFirstListItemValue = void 0;
|
|
4268
4268
|
}
|
|
4269
4269
|
}
|
|
4270
4270
|
function p() {
|
|
4271
|
-
const b = this.resume(),
|
|
4272
|
-
|
|
4271
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4272
|
+
A.lang = b;
|
|
4273
4273
|
}
|
|
4274
4274
|
function d() {
|
|
4275
|
-
const b = this.resume(),
|
|
4276
|
-
|
|
4275
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4276
|
+
A.meta = b;
|
|
4277
4277
|
}
|
|
4278
4278
|
function k() {
|
|
4279
4279
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
4280
4280
|
}
|
|
4281
4281
|
function S() {
|
|
4282
|
-
const b = this.resume(),
|
|
4283
|
-
|
|
4282
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4283
|
+
A.value = b.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
4284
4284
|
}
|
|
4285
4285
|
function x() {
|
|
4286
|
-
const b = this.resume(),
|
|
4287
|
-
|
|
4286
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4287
|
+
A.value = b.replace(/(\r?\n|\r)$/g, "");
|
|
4288
4288
|
}
|
|
4289
|
-
function
|
|
4290
|
-
const
|
|
4291
|
-
D.label =
|
|
4289
|
+
function I(b) {
|
|
4290
|
+
const A = this.resume(), D = this.stack[this.stack.length - 1];
|
|
4291
|
+
D.label = A, D.identifier = ce(
|
|
4292
4292
|
this.sliceSerialize(b)
|
|
4293
4293
|
).toLowerCase();
|
|
4294
4294
|
}
|
|
4295
4295
|
function E() {
|
|
4296
|
-
const b = this.resume(),
|
|
4297
|
-
|
|
4296
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4297
|
+
A.title = b;
|
|
4298
4298
|
}
|
|
4299
4299
|
function z() {
|
|
4300
|
-
const b = this.resume(),
|
|
4301
|
-
|
|
4300
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4301
|
+
A.url = b;
|
|
4302
4302
|
}
|
|
4303
4303
|
function v(b) {
|
|
4304
|
-
const
|
|
4305
|
-
if (!
|
|
4304
|
+
const A = this.stack[this.stack.length - 1];
|
|
4305
|
+
if (!A.depth) {
|
|
4306
4306
|
const D = this.sliceSerialize(b).length;
|
|
4307
|
-
|
|
4307
|
+
A.depth = D;
|
|
4308
4308
|
}
|
|
4309
4309
|
}
|
|
4310
4310
|
function w() {
|
|
4311
4311
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
4312
4312
|
}
|
|
4313
4313
|
function _(b) {
|
|
4314
|
-
const
|
|
4315
|
-
|
|
4314
|
+
const A = this.stack[this.stack.length - 1];
|
|
4315
|
+
A.depth = this.sliceSerialize(b).codePointAt(0) === 61 ? 1 : 2;
|
|
4316
4316
|
}
|
|
4317
4317
|
function q() {
|
|
4318
4318
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
@@ -4327,38 +4327,38 @@ function Da(e) {
|
|
|
4327
4327
|
}, D.push(R)), this.stack.push(R);
|
|
4328
4328
|
}
|
|
4329
4329
|
function y(b) {
|
|
4330
|
-
const
|
|
4331
|
-
|
|
4330
|
+
const A = this.stack.pop();
|
|
4331
|
+
A.value += this.sliceSerialize(b), A.position.end = xe(b.end);
|
|
4332
4332
|
}
|
|
4333
4333
|
function T(b) {
|
|
4334
|
-
const
|
|
4334
|
+
const A = this.stack[this.stack.length - 1];
|
|
4335
4335
|
if (this.data.atHardBreak) {
|
|
4336
|
-
const D =
|
|
4336
|
+
const D = A.children[A.children.length - 1];
|
|
4337
4337
|
D.position.end = xe(b.end), this.data.atHardBreak = void 0;
|
|
4338
4338
|
return;
|
|
4339
4339
|
}
|
|
4340
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(
|
|
4340
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(A.type) && (B.call(this, b), y.call(this, b));
|
|
4341
4341
|
}
|
|
4342
4342
|
function P() {
|
|
4343
4343
|
this.data.atHardBreak = !0;
|
|
4344
4344
|
}
|
|
4345
4345
|
function H() {
|
|
4346
|
-
const b = this.resume(),
|
|
4347
|
-
|
|
4346
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4347
|
+
A.value = b;
|
|
4348
4348
|
}
|
|
4349
4349
|
function V() {
|
|
4350
|
-
const b = this.resume(),
|
|
4351
|
-
|
|
4350
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4351
|
+
A.value = b;
|
|
4352
4352
|
}
|
|
4353
4353
|
function N() {
|
|
4354
|
-
const b = this.resume(),
|
|
4355
|
-
|
|
4354
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4355
|
+
A.value = b;
|
|
4356
4356
|
}
|
|
4357
4357
|
function X() {
|
|
4358
4358
|
const b = this.stack[this.stack.length - 1];
|
|
4359
4359
|
if (this.data.inReference) {
|
|
4360
|
-
const
|
|
4361
|
-
b.type += "Reference", b.referenceType =
|
|
4360
|
+
const A = this.data.referenceType || "shortcut";
|
|
4361
|
+
b.type += "Reference", b.referenceType = A, delete b.url, delete b.title;
|
|
4362
4362
|
} else
|
|
4363
4363
|
delete b.identifier, delete b.label;
|
|
4364
4364
|
this.data.referenceType = void 0;
|
|
@@ -4366,31 +4366,31 @@ function Da(e) {
|
|
|
4366
4366
|
function Q() {
|
|
4367
4367
|
const b = this.stack[this.stack.length - 1];
|
|
4368
4368
|
if (this.data.inReference) {
|
|
4369
|
-
const
|
|
4370
|
-
b.type += "Reference", b.referenceType =
|
|
4369
|
+
const A = this.data.referenceType || "shortcut";
|
|
4370
|
+
b.type += "Reference", b.referenceType = A, delete b.url, delete b.title;
|
|
4371
4371
|
} else
|
|
4372
4372
|
delete b.identifier, delete b.label;
|
|
4373
4373
|
this.data.referenceType = void 0;
|
|
4374
4374
|
}
|
|
4375
4375
|
function oe(b) {
|
|
4376
|
-
const
|
|
4377
|
-
D.label = La(
|
|
4376
|
+
const A = this.sliceSerialize(b), D = this.stack[this.stack.length - 2];
|
|
4377
|
+
D.label = La(A), D.identifier = ce(A).toLowerCase();
|
|
4378
4378
|
}
|
|
4379
4379
|
function he() {
|
|
4380
|
-
const b = this.stack[this.stack.length - 1],
|
|
4380
|
+
const b = this.stack[this.stack.length - 1], A = this.resume(), D = this.stack[this.stack.length - 1];
|
|
4381
4381
|
if (this.data.inReference = !0, D.type === "link") {
|
|
4382
4382
|
const R = b.children;
|
|
4383
4383
|
D.children = R;
|
|
4384
4384
|
} else
|
|
4385
|
-
D.alt =
|
|
4385
|
+
D.alt = A;
|
|
4386
4386
|
}
|
|
4387
4387
|
function m() {
|
|
4388
|
-
const b = this.resume(),
|
|
4389
|
-
|
|
4388
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4389
|
+
A.url = b;
|
|
4390
4390
|
}
|
|
4391
4391
|
function ae() {
|
|
4392
|
-
const b = this.resume(),
|
|
4393
|
-
|
|
4392
|
+
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
4393
|
+
A.title = b;
|
|
4394
4394
|
}
|
|
4395
4395
|
function me() {
|
|
4396
4396
|
this.data.inReference = void 0;
|
|
@@ -4399,8 +4399,8 @@ function Da(e) {
|
|
|
4399
4399
|
this.data.referenceType = "collapsed";
|
|
4400
4400
|
}
|
|
4401
4401
|
function ue(b) {
|
|
4402
|
-
const
|
|
4403
|
-
D.label =
|
|
4402
|
+
const A = this.resume(), D = this.stack[this.stack.length - 1];
|
|
4403
|
+
D.label = A, D.identifier = ce(
|
|
4404
4404
|
this.sliceSerialize(b)
|
|
4405
4405
|
).toLowerCase(), this.data.referenceType = "full";
|
|
4406
4406
|
}
|
|
@@ -4408,24 +4408,24 @@ function Da(e) {
|
|
|
4408
4408
|
this.data.characterReferenceType = b.type;
|
|
4409
4409
|
}
|
|
4410
4410
|
function G(b) {
|
|
4411
|
-
const
|
|
4411
|
+
const A = this.sliceSerialize(b), D = this.data.characterReferenceType;
|
|
4412
4412
|
let R;
|
|
4413
4413
|
D ? (R = Er(
|
|
4414
|
-
|
|
4414
|
+
A,
|
|
4415
4415
|
D === "characterReferenceMarkerNumeric" ? 10 : 16
|
|
4416
|
-
), this.data.characterReferenceType = void 0) : R = qn(
|
|
4416
|
+
), this.data.characterReferenceType = void 0) : R = qn(A);
|
|
4417
4417
|
const j = this.stack.pop();
|
|
4418
4418
|
j.value += R, j.position.end = xe(b.end);
|
|
4419
4419
|
}
|
|
4420
4420
|
function _e(b) {
|
|
4421
4421
|
y.call(this, b);
|
|
4422
|
-
const
|
|
4423
|
-
|
|
4422
|
+
const A = this.stack[this.stack.length - 1];
|
|
4423
|
+
A.url = this.sliceSerialize(b);
|
|
4424
4424
|
}
|
|
4425
4425
|
function ke(b) {
|
|
4426
4426
|
y.call(this, b);
|
|
4427
|
-
const
|
|
4428
|
-
|
|
4427
|
+
const A = this.stack[this.stack.length - 1];
|
|
4428
|
+
A.url = "mailto:" + this.sliceSerialize(b);
|
|
4429
4429
|
}
|
|
4430
4430
|
function Pe() {
|
|
4431
4431
|
return {
|
|
@@ -4683,7 +4683,7 @@ function Ha(e, t) {
|
|
|
4683
4683
|
};
|
|
4684
4684
|
return e.patch(t, n), e.applyData(t, n);
|
|
4685
4685
|
}
|
|
4686
|
-
function
|
|
4686
|
+
function Ua(e, t) {
|
|
4687
4687
|
if (e.options.allowDangerousHtml) {
|
|
4688
4688
|
const n = { type: "raw", value: t.value };
|
|
4689
4689
|
return e.patch(t, n), e.applyData(t, n);
|
|
@@ -4699,7 +4699,7 @@ function Rr(e, t) {
|
|
|
4699
4699
|
const l = i[i.length - 1];
|
|
4700
4700
|
return l && l.type === "text" ? l.value += r : i.push({ type: "text", value: r }), i;
|
|
4701
4701
|
}
|
|
4702
|
-
function
|
|
4702
|
+
function $a(e, t) {
|
|
4703
4703
|
const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
|
|
4704
4704
|
if (!r)
|
|
4705
4705
|
return Rr(e, t);
|
|
@@ -4932,8 +4932,8 @@ const ou = {
|
|
|
4932
4932
|
emphasis: Ba,
|
|
4933
4933
|
footnoteReference: ja,
|
|
4934
4934
|
heading: Ha,
|
|
4935
|
-
html:
|
|
4936
|
-
imageReference:
|
|
4935
|
+
html: Ua,
|
|
4936
|
+
imageReference: $a,
|
|
4937
4937
|
image: qa,
|
|
4938
4938
|
inlineCode: Va,
|
|
4939
4939
|
linkReference: Wa,
|
|
@@ -5134,8 +5134,8 @@ function hu(e) {
|
|
|
5134
5134
|
const d = [], k = e.footnoteCounts.get(c);
|
|
5135
5135
|
for (; k !== void 0 && ++p <= k; ) {
|
|
5136
5136
|
d.length > 0 && d.push({ type: "text", value: " " });
|
|
5137
|
-
let
|
|
5138
|
-
typeof
|
|
5137
|
+
let I = typeof n == "string" ? n : n(u, p);
|
|
5138
|
+
typeof I == "string" && (I = { type: "text", value: I }), d.push({
|
|
5139
5139
|
type: "element",
|
|
5140
5140
|
tagName: "a",
|
|
5141
5141
|
properties: {
|
|
@@ -5144,13 +5144,13 @@ function hu(e) {
|
|
|
5144
5144
|
ariaLabel: typeof r == "string" ? r : r(u, p),
|
|
5145
5145
|
className: ["data-footnote-backref"]
|
|
5146
5146
|
},
|
|
5147
|
-
children: Array.isArray(
|
|
5147
|
+
children: Array.isArray(I) ? I : [I]
|
|
5148
5148
|
});
|
|
5149
5149
|
}
|
|
5150
5150
|
const S = f[f.length - 1];
|
|
5151
5151
|
if (S && S.type === "element" && S.tagName === "p") {
|
|
5152
|
-
const
|
|
5153
|
-
|
|
5152
|
+
const I = S.children[S.children.length - 1];
|
|
5153
|
+
I && I.type === "text" ? I.value += " " : S.children.push({ type: "text", value: " " }), S.children.push(...d);
|
|
5154
5154
|
} else
|
|
5155
5155
|
f.push(...d);
|
|
5156
5156
|
const x = {
|
|
@@ -5271,7 +5271,7 @@ function ku(e) {
|
|
|
5271
5271
|
return e !== null && typeof e == "object" && "type" in e;
|
|
5272
5272
|
}
|
|
5273
5273
|
const Hr = [], xu = !0, Dn = !1, bu = "skip";
|
|
5274
|
-
function
|
|
5274
|
+
function Ur(e, t, n, r) {
|
|
5275
5275
|
let i;
|
|
5276
5276
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
|
|
5277
5277
|
const o = an(i), l = r ? -1 : 1;
|
|
@@ -5305,8 +5305,8 @@ function $r(e, t, n, r) {
|
|
|
5305
5305
|
);
|
|
5306
5306
|
if (x.children && p[0] !== bu)
|
|
5307
5307
|
for (k = (r ? x.children.length : -1) + l, S = f.concat(x); k > -1 && k < x.children.length; ) {
|
|
5308
|
-
const
|
|
5309
|
-
if (d = a(
|
|
5308
|
+
const I = x.children[k];
|
|
5309
|
+
if (d = a(I, k, S)(), d[0] === Dn)
|
|
5310
5310
|
return d;
|
|
5311
5311
|
k = typeof d[1] == "number" ? d[1] : k + l;
|
|
5312
5312
|
}
|
|
@@ -5320,7 +5320,7 @@ function wu(e) {
|
|
|
5320
5320
|
}
|
|
5321
5321
|
function Yn(e, t, n, r) {
|
|
5322
5322
|
let i, o, l;
|
|
5323
|
-
typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, i = n) : (o = t, l = n, i = r),
|
|
5323
|
+
typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, i = n) : (o = t, l = n, i = r), Ur(e, o, a, i);
|
|
5324
5324
|
function a(u, s) {
|
|
5325
5325
|
const f = s[s.length - 1], c = f ? f.children.indexOf(u) : void 0;
|
|
5326
5326
|
return l(u, c, f);
|
|
@@ -5330,7 +5330,7 @@ const On = {}.hasOwnProperty, Su = {};
|
|
|
5330
5330
|
function Cu(e, t) {
|
|
5331
5331
|
const n = t || Su, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), l = { ...ou, ...n.handlers }, a = {
|
|
5332
5332
|
all: s,
|
|
5333
|
-
applyData:
|
|
5333
|
+
applyData: Iu,
|
|
5334
5334
|
definitionById: r,
|
|
5335
5335
|
footnoteById: i,
|
|
5336
5336
|
footnoteCounts: o,
|
|
@@ -5358,7 +5358,7 @@ function Cu(e, t) {
|
|
|
5358
5358
|
}
|
|
5359
5359
|
return tn(f);
|
|
5360
5360
|
}
|
|
5361
|
-
return (a.options.unknownHandler ||
|
|
5361
|
+
return (a.options.unknownHandler || Au)(a, f, c);
|
|
5362
5362
|
}
|
|
5363
5363
|
function s(f) {
|
|
5364
5364
|
const c = [];
|
|
@@ -5382,7 +5382,7 @@ function Cu(e, t) {
|
|
|
5382
5382
|
function Eu(e, t) {
|
|
5383
5383
|
e.position && (t.position = cl(e));
|
|
5384
5384
|
}
|
|
5385
|
-
function
|
|
5385
|
+
function Iu(e, t) {
|
|
5386
5386
|
let n = t;
|
|
5387
5387
|
if (e && e.data) {
|
|
5388
5388
|
const r = e.data.hName, i = e.data.hChildren, o = e.data.hProperties;
|
|
@@ -5397,7 +5397,7 @@ function Au(e, t) {
|
|
|
5397
5397
|
}
|
|
5398
5398
|
return n;
|
|
5399
5399
|
}
|
|
5400
|
-
function
|
|
5400
|
+
function Au(e, t) {
|
|
5401
5401
|
const n = t.data || {}, r = "value" in t && !(On.call(n, "hProperties") || On.call(n, "hChildren")) ? { type: "text", value: t.value } : {
|
|
5402
5402
|
type: "element",
|
|
5403
5403
|
tagName: "div",
|
|
@@ -5445,10 +5445,10 @@ function jt(e) {
|
|
|
5445
5445
|
if (e)
|
|
5446
5446
|
throw e;
|
|
5447
5447
|
}
|
|
5448
|
-
var Ke = Object.prototype.hasOwnProperty,
|
|
5449
|
-
return typeof Array.isArray == "function" ? Array.isArray(t) :
|
|
5448
|
+
var Ke = Object.prototype.hasOwnProperty, $r = Object.prototype.toString, Ht = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, $t = function(t) {
|
|
5449
|
+
return typeof Array.isArray == "function" ? Array.isArray(t) : $r.call(t) === "[object Array]";
|
|
5450
5450
|
}, qt = function(t) {
|
|
5451
|
-
if (!t ||
|
|
5451
|
+
if (!t || $r.call(t) !== "[object Object]")
|
|
5452
5452
|
return !1;
|
|
5453
5453
|
var n = Ke.call(t, "constructor"), r = t.constructor && t.constructor.prototype && Ke.call(t.constructor.prototype, "isPrototypeOf");
|
|
5454
5454
|
if (t.constructor && !n && !r)
|
|
@@ -5467,8 +5467,8 @@ var Ke = Object.prototype.hasOwnProperty, Ur = Object.prototype.toString, Ht = O
|
|
|
5467
5467
|
}, Wt = function(t, n) {
|
|
5468
5468
|
if (n === "__proto__")
|
|
5469
5469
|
if (Ke.call(t, n)) {
|
|
5470
|
-
if (
|
|
5471
|
-
return
|
|
5470
|
+
if (Ut)
|
|
5471
|
+
return Ut(t, n).value;
|
|
5472
5472
|
} else return;
|
|
5473
5473
|
return t[n];
|
|
5474
5474
|
}, Lu = function e() {
|
|
@@ -5476,7 +5476,7 @@ var Ke = Object.prototype.hasOwnProperty, Ur = Object.prototype.toString, Ht = O
|
|
|
5476
5476
|
for (typeof a == "boolean" && (f = a, a = arguments[1] || {}, u = 2), (a == null || typeof a != "object" && typeof a != "function") && (a = {}); u < s; ++u)
|
|
5477
5477
|
if (t = arguments[u], t != null)
|
|
5478
5478
|
for (n in t)
|
|
5479
|
-
r = Wt(a, n), i = Wt(t, n), a !== i && (f && i && (qt(i) || (o =
|
|
5479
|
+
r = Wt(a, n), i = Wt(t, n), a !== i && (f && i && (qt(i) || (o = $t(i))) ? (o ? (o = !1, l = r && $t(r) ? r : []) : l = r && qt(r) ? r : {}, Vt(a, { name: n, newValue: e(f, l, i) })) : typeof i < "u" && Vt(a, { name: n, newValue: i }));
|
|
5480
5480
|
return a;
|
|
5481
5481
|
};
|
|
5482
5482
|
const gn = /* @__PURE__ */ Li(Lu);
|
|
@@ -5731,7 +5731,7 @@ class qr {
|
|
|
5731
5731
|
*/
|
|
5732
5732
|
constructor(t) {
|
|
5733
5733
|
let n;
|
|
5734
|
-
t ? _n(t) ? n = { path: t } : typeof t == "string" ||
|
|
5734
|
+
t ? _n(t) ? n = { path: t } : typeof t == "string" || Uu(t) ? n = { value: t } : n = t : n = {}, this.cwd = Nu.cwd(), this.data = {}, this.history = [], this.messages = [];
|
|
5735
5735
|
let r = -1;
|
|
5736
5736
|
for (; ++r < dn.length; ) {
|
|
5737
5737
|
const o = dn[r];
|
|
@@ -6090,10 +6090,10 @@ function Qt(e, t) {
|
|
|
6090
6090
|
if (!e)
|
|
6091
6091
|
throw new Error("Setting `" + t + "` requires `path` to be set too");
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6093
|
+
function Uu(e) {
|
|
6094
6094
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
6095
6095
|
}
|
|
6096
|
-
const
|
|
6096
|
+
const $u = (
|
|
6097
6097
|
/**
|
|
6098
6098
|
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
6099
6099
|
*/
|
|
@@ -6121,7 +6121,7 @@ const Uu = (
|
|
|
6121
6121
|
return o;
|
|
6122
6122
|
}
|
|
6123
6123
|
), qu = {}.hasOwnProperty;
|
|
6124
|
-
class Kn extends
|
|
6124
|
+
class Kn extends $u {
|
|
6125
6125
|
/**
|
|
6126
6126
|
* Create a processor.
|
|
6127
6127
|
*/
|
|
@@ -6675,7 +6675,7 @@ const Yt = [], Kt = { allowDangerousHtml: !0 }, Xu = /^(https?|ircs?|mailto|xmpp
|
|
|
6675
6675
|
function Ku(e) {
|
|
6676
6676
|
const t = e.allowedElements, n = e.allowElement, r = e.children || "", i = e.className, o = e.components, l = e.disallowedElements, a = e.rehypePlugins || Yt, u = e.remarkPlugins || Yt, s = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...Kt } : Kt, f = e.skipHtml, c = e.unwrapDisallowed, h = e.urlTransform || Ju, p = Vu().use(Fa).use(u).use(Pu, s).use(a), d = new qr();
|
|
6677
6677
|
typeof r == "string" && (d.value = r);
|
|
6678
|
-
for (const
|
|
6678
|
+
for (const I of Yu)
|
|
6679
6679
|
;
|
|
6680
6680
|
const k = p.parse(d);
|
|
6681
6681
|
let S = p.runSync(k, d);
|
|
@@ -6697,21 +6697,21 @@ function Ku(e) {
|
|
|
6697
6697
|
passKeys: !0,
|
|
6698
6698
|
passNode: !0
|
|
6699
6699
|
});
|
|
6700
|
-
function x(
|
|
6701
|
-
if (
|
|
6702
|
-
return f ? z.children.splice(E, 1) : z.children[E] = { type: "text", value:
|
|
6703
|
-
if (
|
|
6700
|
+
function x(I, E, z) {
|
|
6701
|
+
if (I.type === "raw" && z && typeof E == "number")
|
|
6702
|
+
return f ? z.children.splice(E, 1) : z.children[E] = { type: "text", value: I.value }, E;
|
|
6703
|
+
if (I.type === "element") {
|
|
6704
6704
|
let v;
|
|
6705
6705
|
for (v in pn)
|
|
6706
|
-
if (Object.hasOwn(pn, v) && Object.hasOwn(
|
|
6707
|
-
const w =
|
|
6708
|
-
(_ === null || _.includes(
|
|
6706
|
+
if (Object.hasOwn(pn, v) && Object.hasOwn(I.properties, v)) {
|
|
6707
|
+
const w = I.properties[v], _ = pn[v];
|
|
6708
|
+
(_ === null || _.includes(I.tagName)) && (I.properties[v] = h(String(w || ""), v, I));
|
|
6709
6709
|
}
|
|
6710
6710
|
}
|
|
6711
|
-
if (
|
|
6712
|
-
let v = t ? !t.includes(
|
|
6713
|
-
if (!v && n && typeof E == "number" && (v = !n(
|
|
6714
|
-
return c &&
|
|
6711
|
+
if (I.type === "element") {
|
|
6712
|
+
let v = t ? !t.includes(I.tagName) : l ? l.includes(I.tagName) : !1;
|
|
6713
|
+
if (!v && n && typeof E == "number" && (v = !n(I, E, z)), v && z && typeof E == "number")
|
|
6714
|
+
return c && I.children ? z.children.splice(E, 1, ...I.children) : z.children.splice(E, 1), E;
|
|
6715
6715
|
}
|
|
6716
6716
|
}
|
|
6717
6717
|
}
|
|
@@ -6742,7 +6742,7 @@ function es(e, t, n) {
|
|
|
6742
6742
|
const i = an((n || {}).ignore || []), o = ns(t);
|
|
6743
6743
|
let l = -1;
|
|
6744
6744
|
for (; ++l < o.length; )
|
|
6745
|
-
|
|
6745
|
+
Ur(e, "text", a);
|
|
6746
6746
|
function a(s, f) {
|
|
6747
6747
|
let c = -1, h;
|
|
6748
6748
|
for (; ++c < f.length; ) {
|
|
@@ -6762,7 +6762,7 @@ function es(e, t, n) {
|
|
|
6762
6762
|
const c = f[f.length - 1], h = o[l][0], p = o[l][1];
|
|
6763
6763
|
let d = 0;
|
|
6764
6764
|
const S = c.children.indexOf(s);
|
|
6765
|
-
let x = !1,
|
|
6765
|
+
let x = !1, I = [];
|
|
6766
6766
|
h.lastIndex = 0;
|
|
6767
6767
|
let E = h.exec(s.value);
|
|
6768
6768
|
for (; E; ) {
|
|
@@ -6772,14 +6772,14 @@ function es(e, t, n) {
|
|
|
6772
6772
|
stack: [...f, s]
|
|
6773
6773
|
};
|
|
6774
6774
|
let w = p(...E, v);
|
|
6775
|
-
if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? h.lastIndex = z + 1 : (d !== z &&
|
|
6775
|
+
if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? h.lastIndex = z + 1 : (d !== z && I.push({
|
|
6776
6776
|
type: "text",
|
|
6777
6777
|
value: s.value.slice(d, z)
|
|
6778
|
-
}), Array.isArray(w) ?
|
|
6778
|
+
}), Array.isArray(w) ? I.push(...w) : w && I.push(w), d = z + E[0].length, x = !0), !h.global)
|
|
6779
6779
|
break;
|
|
6780
6780
|
E = h.exec(s.value);
|
|
6781
6781
|
}
|
|
6782
|
-
return x ? (d < s.value.length &&
|
|
6782
|
+
return x ? (d < s.value.length && I.push({ type: "text", value: s.value.slice(d) }), c.children.splice(S, 1, ...I)) : I = [s], S + I.length;
|
|
6783
6783
|
}
|
|
6784
6784
|
}
|
|
6785
6785
|
function ns(e) {
|
|
@@ -6921,9 +6921,9 @@ function gs(e) {
|
|
|
6921
6921
|
}
|
|
6922
6922
|
function Vr(e, t) {
|
|
6923
6923
|
const n = e.input.charCodeAt(e.index - 1);
|
|
6924
|
-
return (e.index === 0 ||
|
|
6924
|
+
return (e.index === 0 || Ae(n) || rn(n)) && (!t || n !== 47);
|
|
6925
6925
|
}
|
|
6926
|
-
Wr.peek =
|
|
6926
|
+
Wr.peek = As;
|
|
6927
6927
|
function ds() {
|
|
6928
6928
|
return {
|
|
6929
6929
|
enter: {
|
|
@@ -6935,7 +6935,7 @@ function ds() {
|
|
|
6935
6935
|
exit: {
|
|
6936
6936
|
gfmFootnoteDefinition: ws,
|
|
6937
6937
|
gfmFootnoteDefinitionLabelString: bs,
|
|
6938
|
-
gfmFootnoteCall:
|
|
6938
|
+
gfmFootnoteCall: Is,
|
|
6939
6939
|
gfmFootnoteCallString: Es
|
|
6940
6940
|
}
|
|
6941
6941
|
};
|
|
@@ -6977,7 +6977,7 @@ function Es(e) {
|
|
|
6977
6977
|
this.sliceSerialize(e)
|
|
6978
6978
|
).toLowerCase();
|
|
6979
6979
|
}
|
|
6980
|
-
function
|
|
6980
|
+
function Is(e) {
|
|
6981
6981
|
this.exit(e);
|
|
6982
6982
|
}
|
|
6983
6983
|
function Wr(e, t, n, r) {
|
|
@@ -6992,7 +6992,7 @@ function Wr(e, t, n, r) {
|
|
|
6992
6992
|
})
|
|
6993
6993
|
), a(), l(), o += i.move("]"), o;
|
|
6994
6994
|
}
|
|
6995
|
-
function
|
|
6995
|
+
function As() {
|
|
6996
6996
|
return "[";
|
|
6997
6997
|
}
|
|
6998
6998
|
function Ts(e, t, n, r) {
|
|
@@ -7069,8 +7069,8 @@ function _s(e, t = {}) {
|
|
|
7069
7069
|
for (e[s].length > u && (u = e[s].length); ++S < e[s].length; ) {
|
|
7070
7070
|
const x = Rs(e[s][S]);
|
|
7071
7071
|
if (t.alignDelimiters !== !1) {
|
|
7072
|
-
const
|
|
7073
|
-
k[S] =
|
|
7072
|
+
const I = r(x);
|
|
7073
|
+
k[S] = I, (a[S] === void 0 || I > a[S]) && (a[S] = I);
|
|
7074
7074
|
}
|
|
7075
7075
|
d.push(x);
|
|
7076
7076
|
}
|
|
@@ -7095,8 +7095,8 @@ function _s(e, t = {}) {
|
|
|
7095
7095
|
1,
|
|
7096
7096
|
a[f] - k.length - S.length
|
|
7097
7097
|
);
|
|
7098
|
-
const
|
|
7099
|
-
t.alignDelimiters !== !1 && (x = k.length + x + S.length, x > a[f] && (a[f] = x), h[f] = x), c[f] =
|
|
7098
|
+
const I = k + "-".repeat(x) + S;
|
|
7099
|
+
t.alignDelimiters !== !1 && (x = k.length + x + S.length, x > a[f] && (a[f] = x), h[f] = x), c[f] = I;
|
|
7100
7100
|
}
|
|
7101
7101
|
o.splice(1, 0, c), l.splice(1, 0, h), s = -1;
|
|
7102
7102
|
const p = [];
|
|
@@ -7106,14 +7106,14 @@ function _s(e, t = {}) {
|
|
|
7106
7106
|
const S = [];
|
|
7107
7107
|
for (; ++f < u; ) {
|
|
7108
7108
|
const x = d[f] || "";
|
|
7109
|
-
let
|
|
7109
|
+
let I = "", E = "";
|
|
7110
7110
|
if (t.alignDelimiters !== !1) {
|
|
7111
7111
|
const z = a[f] - (k[f] || 0), v = i[f];
|
|
7112
|
-
v === 114 ?
|
|
7112
|
+
v === 114 ? I = " ".repeat(z) : v === 99 ? z % 2 ? (I = " ".repeat(z / 2 + 0.5), E = " ".repeat(z / 2 - 0.5)) : (I = " ".repeat(z / 2), E = I) : E = " ".repeat(z);
|
|
7113
7113
|
}
|
|
7114
7114
|
t.delimiterStart !== !1 && !f && S.push("|"), t.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
7115
7115
|
// empty: there will be a closing space.
|
|
7116
|
-
!(t.alignDelimiters === !1 && x === "") && (t.delimiterStart !== !1 || f) && S.push(" "), t.alignDelimiters !== !1 && S.push(
|
|
7116
|
+
!(t.alignDelimiters === !1 && x === "") && (t.delimiterStart !== !1 || f) && S.push(" "), t.alignDelimiters !== !1 && S.push(I), S.push(x), t.alignDelimiters !== !1 && S.push(E), t.padding !== !1 && S.push(" "), (t.delimiterEnd !== !1 || f !== u - 1) && S.push("|");
|
|
7117
7117
|
}
|
|
7118
7118
|
p.push(
|
|
7119
7119
|
t.delimiterEnd === !1 ? S.join("").replace(/ +$/, "") : S.join("")
|
|
@@ -7174,13 +7174,13 @@ function Hs(e, t) {
|
|
|
7174
7174
|
r === i ? ++o > l && (l = o) : o = 1, i = r + t.length, r = n.indexOf(t, i);
|
|
7175
7175
|
return l;
|
|
7176
7176
|
}
|
|
7177
|
-
function
|
|
7177
|
+
function Us(e, t) {
|
|
7178
7178
|
return !!(t.options.fences === !1 && e.value && // If there’s no info…
|
|
7179
7179
|
!e.lang && // And there’s a non-whitespace character…
|
|
7180
7180
|
/[^ \r\n]/.test(e.value) && // And the value doesn’t start or end in a blank…
|
|
7181
7181
|
!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value));
|
|
7182
7182
|
}
|
|
7183
|
-
function
|
|
7183
|
+
function $s(e) {
|
|
7184
7184
|
const t = e.options.fence || "`";
|
|
7185
7185
|
if (t !== "`" && t !== "~")
|
|
7186
7186
|
throw new Error(
|
|
@@ -7189,8 +7189,8 @@ function Us(e) {
|
|
|
7189
7189
|
return t;
|
|
7190
7190
|
}
|
|
7191
7191
|
function qs(e, t, n, r) {
|
|
7192
|
-
const i =
|
|
7193
|
-
if (
|
|
7192
|
+
const i = $s(n), o = e.value || "", l = i === "`" ? "GraveAccent" : "Tilde";
|
|
7193
|
+
if (Us(e, n)) {
|
|
7194
7194
|
const c = n.enter("codeIndented"), h = n.indentLines(o, Vs);
|
|
7195
7195
|
return c(), h;
|
|
7196
7196
|
}
|
|
@@ -7292,7 +7292,7 @@ function Xs(e, t) {
|
|
|
7292
7292
|
return Yn(e, function(r) {
|
|
7293
7293
|
if ("value" in r && /\r?\n|\r/.test(r.value) || r.type === "break")
|
|
7294
7294
|
return n = !0, Dn;
|
|
7295
|
-
}), !!((!e.depth || e.depth < 3) &&
|
|
7295
|
+
}), !!((!e.depth || e.depth < 3) && $n(e) && (t.options.setext || n));
|
|
7296
7296
|
}
|
|
7297
7297
|
function Ys(e, t, n, r) {
|
|
7298
7298
|
const i = Math.max(Math.min(6, e.depth || 1), 1), o = n.createTracker(r);
|
|
@@ -7403,7 +7403,7 @@ function ec() {
|
|
|
7403
7403
|
return "`";
|
|
7404
7404
|
}
|
|
7405
7405
|
function Zr(e, t) {
|
|
7406
|
-
const n =
|
|
7406
|
+
const n = $n(e);
|
|
7407
7407
|
return !!(!t.options.resourceLink && // If there’s a url…
|
|
7408
7408
|
e.url && // And there’s a no title…
|
|
7409
7409
|
!e.title && // And the content of `node` is a single text node…
|
|
@@ -7679,9 +7679,9 @@ function dc() {
|
|
|
7679
7679
|
exit: {
|
|
7680
7680
|
codeText: bc,
|
|
7681
7681
|
table: kc,
|
|
7682
|
-
tableData:
|
|
7683
|
-
tableHeader:
|
|
7684
|
-
tableRow:
|
|
7682
|
+
tableData: In,
|
|
7683
|
+
tableHeader: In,
|
|
7684
|
+
tableRow: In
|
|
7685
7685
|
}
|
|
7686
7686
|
};
|
|
7687
7687
|
}
|
|
@@ -7704,7 +7704,7 @@ function kc(e) {
|
|
|
7704
7704
|
function xc(e) {
|
|
7705
7705
|
this.enter({ type: "tableRow", children: [] }, e);
|
|
7706
7706
|
}
|
|
7707
|
-
function
|
|
7707
|
+
function In(e) {
|
|
7708
7708
|
this.exit(e);
|
|
7709
7709
|
}
|
|
7710
7710
|
function tr(e) {
|
|
@@ -7752,17 +7752,17 @@ function Sc(e) {
|
|
|
7752
7752
|
return s(f(p, k, S), p.align);
|
|
7753
7753
|
}
|
|
7754
7754
|
function a(p, d, k, S) {
|
|
7755
|
-
const x = c(p, k, S),
|
|
7756
|
-
return
|
|
7755
|
+
const x = c(p, k, S), I = s([x]);
|
|
7756
|
+
return I.slice(0, I.indexOf(`
|
|
7757
7757
|
`));
|
|
7758
7758
|
}
|
|
7759
7759
|
function u(p, d, k, S) {
|
|
7760
|
-
const x = k.enter("tableCell"),
|
|
7760
|
+
const x = k.enter("tableCell"), I = k.enter("phrasing"), E = k.containerPhrasing(p, {
|
|
7761
7761
|
...S,
|
|
7762
7762
|
before: o,
|
|
7763
7763
|
after: o
|
|
7764
7764
|
});
|
|
7765
|
-
return
|
|
7765
|
+
return I(), x(), E;
|
|
7766
7766
|
}
|
|
7767
7767
|
function s(p, d) {
|
|
7768
7768
|
return _s(p, {
|
|
@@ -7778,18 +7778,18 @@ function Sc(e) {
|
|
|
7778
7778
|
function f(p, d, k) {
|
|
7779
7779
|
const S = p.children;
|
|
7780
7780
|
let x = -1;
|
|
7781
|
-
const
|
|
7781
|
+
const I = [], E = d.enter("table");
|
|
7782
7782
|
for (; ++x < S.length; )
|
|
7783
|
-
|
|
7784
|
-
return E(),
|
|
7783
|
+
I[x] = c(S[x], d, k);
|
|
7784
|
+
return E(), I;
|
|
7785
7785
|
}
|
|
7786
7786
|
function c(p, d, k) {
|
|
7787
7787
|
const S = p.children;
|
|
7788
7788
|
let x = -1;
|
|
7789
|
-
const
|
|
7789
|
+
const I = [], E = d.enter("tableRow");
|
|
7790
7790
|
for (; ++x < S.length; )
|
|
7791
|
-
|
|
7792
|
-
return E(),
|
|
7791
|
+
I[x] = u(S[x], p, d, k);
|
|
7792
|
+
return E(), I;
|
|
7793
7793
|
}
|
|
7794
7794
|
function h(p, d, k) {
|
|
7795
7795
|
let S = ii.inlineCode(p, d, k);
|
|
@@ -7801,21 +7801,21 @@ function Cc() {
|
|
|
7801
7801
|
exit: {
|
|
7802
7802
|
taskListCheckValueChecked: rr,
|
|
7803
7803
|
taskListCheckValueUnchecked: rr,
|
|
7804
|
-
paragraph:
|
|
7804
|
+
paragraph: Ic
|
|
7805
7805
|
}
|
|
7806
7806
|
};
|
|
7807
7807
|
}
|
|
7808
7808
|
function Ec() {
|
|
7809
7809
|
return {
|
|
7810
7810
|
unsafe: [{ atBreak: !0, character: "-", after: "[:|-]" }],
|
|
7811
|
-
handlers: { listItem:
|
|
7811
|
+
handlers: { listItem: Ac }
|
|
7812
7812
|
};
|
|
7813
7813
|
}
|
|
7814
7814
|
function rr(e) {
|
|
7815
7815
|
const t = this.stack[this.stack.length - 2];
|
|
7816
7816
|
t.checked = e.type === "taskListCheckValueChecked";
|
|
7817
7817
|
}
|
|
7818
|
-
function
|
|
7818
|
+
function Ic(e) {
|
|
7819
7819
|
const t = this.stack[this.stack.length - 2];
|
|
7820
7820
|
if (t && t.type === "listItem" && typeof t.checked == "boolean") {
|
|
7821
7821
|
const n = this.stack[this.stack.length - 1], r = n.children[0];
|
|
@@ -7834,7 +7834,7 @@ function Ac(e) {
|
|
|
7834
7834
|
}
|
|
7835
7835
|
this.exit(e);
|
|
7836
7836
|
}
|
|
7837
|
-
function
|
|
7837
|
+
function Ac(e, t, n, r) {
|
|
7838
7838
|
const i = e.children[0], o = typeof e.checked == "boolean" && i && i.type === "paragraph", l = "[" + (e.checked ? "x" : " ") + "] ", a = n.createTracker(r);
|
|
7839
7839
|
o && a.move(l);
|
|
7840
7840
|
let u = ii.listItem(e, t, n, {
|
|
@@ -7966,7 +7966,7 @@ function Fc(e, t, n) {
|
|
|
7966
7966
|
return c === 47 ? (e.consume(c), o ? s : (o = !0, u)) : n(c);
|
|
7967
7967
|
}
|
|
7968
7968
|
function s(c) {
|
|
7969
|
-
return c === null || Je(c) ||
|
|
7969
|
+
return c === null || Je(c) || U(c) || Ae(c) || rn(c) ? n(c) : e.attempt(li, e.attempt(oi, f), n)(c);
|
|
7970
7970
|
}
|
|
7971
7971
|
function f(c) {
|
|
7972
7972
|
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(c);
|
|
@@ -7986,7 +7986,7 @@ function Rc(e, t, n) {
|
|
|
7986
7986
|
let r, i, o;
|
|
7987
7987
|
return l;
|
|
7988
7988
|
function l(s) {
|
|
7989
|
-
return s === 46 || s === 95 ? e.check(ai, u, a)(s) : s === null ||
|
|
7989
|
+
return s === 46 || s === 95 ? e.check(ai, u, a)(s) : s === null || U(s) || Ae(s) || s !== 45 && rn(s) ? u(s) : (o = !0, e.consume(s), l);
|
|
7990
7990
|
}
|
|
7991
7991
|
function a(s) {
|
|
7992
7992
|
return s === 95 ? r = !0 : (i = r, r = void 0), e.consume(s), l;
|
|
@@ -7999,7 +7999,7 @@ function Mc(e, t) {
|
|
|
7999
7999
|
let n = 0, r = 0;
|
|
8000
8000
|
return i;
|
|
8001
8001
|
function i(l) {
|
|
8002
|
-
return l === 40 ? (n++, e.consume(l), i) : l === 41 && r < n ? o(l) : l === 33 || l === 34 || l === 38 || l === 39 || l === 41 || l === 42 || l === 44 || l === 46 || l === 58 || l === 59 || l === 60 || l === 63 || l === 93 || l === 95 || l === 126 ? e.check(ai, t, o)(l) : l === null ||
|
|
8002
|
+
return l === 40 ? (n++, e.consume(l), i) : l === 41 && r < n ? o(l) : l === 33 || l === 34 || l === 38 || l === 39 || l === 41 || l === 42 || l === 44 || l === 46 || l === 58 || l === 59 || l === 60 || l === 63 || l === 93 || l === 95 || l === 126 ? e.check(ai, t, o)(l) : l === null || U(l) || Ae(l) ? t(l) : (e.consume(l), i);
|
|
8003
8003
|
}
|
|
8004
8004
|
function o(l) {
|
|
8005
8005
|
return l === 41 && r++, e.consume(l), i;
|
|
@@ -8011,11 +8011,11 @@ function Nc(e, t, n) {
|
|
|
8011
8011
|
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) : (
|
|
8012
8012
|
// `<` is an end.
|
|
8013
8013
|
a === 60 || // So is whitespace.
|
|
8014
|
-
a === null ||
|
|
8014
|
+
a === null || U(a) || Ae(a) ? t(a) : n(a)
|
|
8015
8015
|
);
|
|
8016
8016
|
}
|
|
8017
8017
|
function i(a) {
|
|
8018
|
-
return a === null || a === 40 || a === 91 ||
|
|
8018
|
+
return a === null || a === 40 || a === 91 || U(a) || Ae(a) ? t(a) : r(a);
|
|
8019
8019
|
}
|
|
8020
8020
|
function o(a) {
|
|
8021
8021
|
return J(a) ? l(a) : n(a);
|
|
@@ -8034,7 +8034,7 @@ function Bc(e, t, n) {
|
|
|
8034
8034
|
}
|
|
8035
8035
|
}
|
|
8036
8036
|
function ci(e) {
|
|
8037
|
-
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 ||
|
|
8037
|
+
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || U(e);
|
|
8038
8038
|
}
|
|
8039
8039
|
function fi(e) {
|
|
8040
8040
|
return !J(e);
|
|
@@ -8081,13 +8081,13 @@ function Hc() {
|
|
|
8081
8081
|
},
|
|
8082
8082
|
93: {
|
|
8083
8083
|
add: "after",
|
|
8084
|
-
tokenize:
|
|
8085
|
-
resolveTo:
|
|
8084
|
+
tokenize: Uc,
|
|
8085
|
+
resolveTo: $c
|
|
8086
8086
|
}
|
|
8087
8087
|
}
|
|
8088
8088
|
};
|
|
8089
8089
|
}
|
|
8090
|
-
function
|
|
8090
|
+
function Uc(e, t, n) {
|
|
8091
8091
|
const r = this;
|
|
8092
8092
|
let i = r.events.length;
|
|
8093
8093
|
const o = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []);
|
|
@@ -8114,7 +8114,7 @@ function $c(e, t, n) {
|
|
|
8114
8114
|
return s.codePointAt(0) !== 94 || !o.includes(s.slice(1)) ? n(u) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(u), e.exit("gfmFootnoteCallLabelMarker"), t(u));
|
|
8115
8115
|
}
|
|
8116
8116
|
}
|
|
8117
|
-
function
|
|
8117
|
+
function $c(e, t) {
|
|
8118
8118
|
let n = e.length;
|
|
8119
8119
|
for (; n-- && !(e[n][1].type === "labelImage" && e[n][0] === "enter"); )
|
|
8120
8120
|
;
|
|
@@ -8177,7 +8177,7 @@ function qc(e, t, n) {
|
|
|
8177
8177
|
o > 999 || // Closing brace with nothing.
|
|
8178
8178
|
c === 93 && !l || // Space or tab is not supported by GFM for some reason.
|
|
8179
8179
|
// `\n` and `[` not being supported makes sense.
|
|
8180
|
-
c === null || c === 91 ||
|
|
8180
|
+
c === null || c === 91 || U(c)
|
|
8181
8181
|
)
|
|
8182
8182
|
return n(c);
|
|
8183
8183
|
if (c === 93) {
|
|
@@ -8185,7 +8185,7 @@ function qc(e, t, n) {
|
|
|
8185
8185
|
const h = e.exit("gfmFootnoteCallString");
|
|
8186
8186
|
return i.includes(ce(r.sliceSerialize(h))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(c), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(c);
|
|
8187
8187
|
}
|
|
8188
|
-
return
|
|
8188
|
+
return U(c) || (l = !0), o++, e.consume(c), c === 92 ? f : s;
|
|
8189
8189
|
}
|
|
8190
8190
|
function f(c) {
|
|
8191
8191
|
return c === 91 || c === 92 || c === 93 ? (e.consume(c), o++, s) : s(c);
|
|
@@ -8207,7 +8207,7 @@ function Vc(e, t, n) {
|
|
|
8207
8207
|
l > 999 || // Closing brace with nothing.
|
|
8208
8208
|
d === 93 && !a || // Space or tab is not supported by GFM for some reason.
|
|
8209
8209
|
// `\n` and `[` not being supported makes sense.
|
|
8210
|
-
d === null || d === 91 ||
|
|
8210
|
+
d === null || d === 91 || U(d)
|
|
8211
8211
|
)
|
|
8212
8212
|
return n(d);
|
|
8213
8213
|
if (d === 93) {
|
|
@@ -8215,7 +8215,7 @@ function Vc(e, t, n) {
|
|
|
8215
8215
|
const k = e.exit("gfmFootnoteDefinitionLabelString");
|
|
8216
8216
|
return o = ce(r.sliceSerialize(k)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(d), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), h;
|
|
8217
8217
|
}
|
|
8218
|
-
return
|
|
8218
|
+
return U(d) || (a = !0), l++, e.consume(d), d === 92 ? c : f;
|
|
8219
8219
|
}
|
|
8220
8220
|
function c(d) {
|
|
8221
8221
|
return d === 91 || d === 92 || d === 93 ? (e.consume(d), l++, f) : f(d);
|
|
@@ -8451,7 +8451,7 @@ function ef(e, t, n) {
|
|
|
8451
8451
|
return y === null ? n(y) : L(y) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), p) : n(y) : F(y) ? M(e, f, "whitespace")(y) : (o += 1, l && (l = !1, i += 1), y === 124 ? (e.enter("tableCellDivider"), e.consume(y), e.exit("tableCellDivider"), l = !0, f) : (e.enter("data"), c(y)));
|
|
8452
8452
|
}
|
|
8453
8453
|
function c(y) {
|
|
8454
|
-
return y === null || y === 124 ||
|
|
8454
|
+
return y === null || y === 124 || U(y) ? (e.exit("data"), f(y)) : (e.consume(y), y === 92 ? h : c);
|
|
8455
8455
|
}
|
|
8456
8456
|
function h(y) {
|
|
8457
8457
|
return y === 92 || y === 124 ? (e.consume(y), c) : c(y);
|
|
@@ -8474,10 +8474,10 @@ function ef(e, t, n) {
|
|
|
8474
8474
|
return y === 58 ? (o += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(y), e.exit("tableDelimiterMarker"), x) : y === 45 ? (o += 1, x(y)) : y === null || L(y) ? z(y) : v(y);
|
|
8475
8475
|
}
|
|
8476
8476
|
function x(y) {
|
|
8477
|
-
return y === 45 ? (e.enter("tableDelimiterFiller"),
|
|
8477
|
+
return y === 45 ? (e.enter("tableDelimiterFiller"), I(y)) : v(y);
|
|
8478
8478
|
}
|
|
8479
|
-
function
|
|
8480
|
-
return y === 45 ? (e.consume(y),
|
|
8479
|
+
function I(y) {
|
|
8480
|
+
return y === 45 ? (e.consume(y), I) : y === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(y), e.exit("tableDelimiterMarker"), E) : (e.exit("tableDelimiterFiller"), E(y));
|
|
8481
8481
|
}
|
|
8482
8482
|
function E(y) {
|
|
8483
8483
|
return F(y) ? M(e, z, "whitespace")(y) : z(y);
|
|
@@ -8495,7 +8495,7 @@ function ef(e, t, n) {
|
|
|
8495
8495
|
return y === 124 ? (e.enter("tableCellDivider"), e.consume(y), e.exit("tableCellDivider"), _) : y === null || L(y) ? (e.exit("tableRow"), t(y)) : F(y) ? M(e, _, "whitespace")(y) : (e.enter("data"), q(y));
|
|
8496
8496
|
}
|
|
8497
8497
|
function q(y) {
|
|
8498
|
-
return y === null || y === 124 ||
|
|
8498
|
+
return y === null || y === 124 || U(y) ? (e.exit("data"), _(y)) : (e.consume(y), y === 92 ? B : q);
|
|
8499
8499
|
}
|
|
8500
8500
|
function B(y) {
|
|
8501
8501
|
return y === 92 || y === 124 ? (e.consume(y), q) : q(y);
|
|
@@ -8601,7 +8601,7 @@ function lf(e, t, n) {
|
|
|
8601
8601
|
);
|
|
8602
8602
|
}
|
|
8603
8603
|
function o(u) {
|
|
8604
|
-
return
|
|
8604
|
+
return U(u) ? (e.enter("taskListCheckValueUnchecked"), e.consume(u), e.exit("taskListCheckValueUnchecked"), l) : u === 88 || u === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(u), e.exit("taskListCheckValueChecked"), l) : n(u);
|
|
8605
8605
|
}
|
|
8606
8606
|
function l(u) {
|
|
8607
8607
|
return u === 93 ? (e.enter("taskListCheckMarker"), e.consume(u), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), a) : n(u);
|
|
@@ -8642,9 +8642,9 @@ function sf(e) {
|
|
|
8642
8642
|
const cf = Si(
|
|
8643
8643
|
() => import(
|
|
8644
8644
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8645
|
-
"./LazyMarkdownWithExtra.
|
|
8645
|
+
"./LazyMarkdownWithExtra.5DIzO8pJ.js"
|
|
8646
8646
|
)
|
|
8647
|
-
),
|
|
8647
|
+
), An = {
|
|
8648
8648
|
MODEL: "Model",
|
|
8649
8649
|
PLUGIN: "Plugin",
|
|
8650
8650
|
PROCESSING_TIME: "Processing time"
|
|
@@ -8654,8 +8654,8 @@ const cf = Si(
|
|
|
8654
8654
|
loading: n,
|
|
8655
8655
|
processingTime: r
|
|
8656
8656
|
}) => {
|
|
8657
|
-
const { state: i } = Ci(
|
|
8658
|
-
key:
|
|
8657
|
+
const { state: i } = Ci(Ii), [o] = wi({
|
|
8658
|
+
key: Ai + Ti,
|
|
8659
8659
|
initialValue: !1
|
|
8660
8660
|
});
|
|
8661
8661
|
return /* @__PURE__ */ He(or, { children: [
|
|
@@ -8666,9 +8666,9 @@ const cf = Si(
|
|
|
8666
8666
|
copyToClipboard: e,
|
|
8667
8667
|
copyToClipboardFocusMode: "light",
|
|
8668
8668
|
footer: {
|
|
8669
|
-
[
|
|
8670
|
-
[
|
|
8671
|
-
[
|
|
8669
|
+
[An.MODEL]: i && i.model && !i.streaming && o ? i.model : null,
|
|
8670
|
+
[An.PLUGIN]: t && o ? t : null,
|
|
8671
|
+
[An.PROCESSING_TIME]: r && o ? Pi(r) : null
|
|
8672
8672
|
},
|
|
8673
8673
|
children: [
|
|
8674
8674
|
e && (e.includes("$$") || e.includes("```")) && /* @__PURE__ */ re(Ei, { fallback: /* @__PURE__ */ re("div", {}), children: /* @__PURE__ */ re(cf, { content: e }) }),
|
|
@@ -8684,7 +8684,7 @@ export {
|
|
|
8684
8684
|
bu as SKIP,
|
|
8685
8685
|
an as convert,
|
|
8686
8686
|
M as factorySpace,
|
|
8687
|
-
|
|
8687
|
+
$i as find,
|
|
8688
8688
|
Li as getDefaultExportFromCjs,
|
|
8689
8689
|
Qi as html,
|
|
8690
8690
|
Hs as longestStreak,
|
|
@@ -8695,5 +8695,5 @@ export {
|
|
|
8695
8695
|
sf as remarkGfm,
|
|
8696
8696
|
Nn as svg,
|
|
8697
8697
|
Yn as visit,
|
|
8698
|
-
|
|
8698
|
+
Ur as visitParents
|
|
8699
8699
|
};
|