@versini/sassysaint 5.4.2 → 5.4.4
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.CyJDRVTr.js → LazyApp.cIKe00HD.js} +412 -356
- package/dist/chunks/{LazyHeader.AXOCM40c.js → LazyHeader.C-PVExEQ.js} +642 -587
- package/dist/chunks/{LazyMarkdownWithExtra.Bs7cqF8Z.js → LazyMarkdownWithExtra.BEPUVoKN.js} +3 -3
- package/dist/chunks/{LazyMessageAssistant.1QKtMcJd.js → LazyMessageAssistant.cGZrKUGF.js} +195 -181
- package/dist/chunks/{index.CyxsXeHs.js → index.7zCJNQU6.js} +631 -535
- package/dist/chunks/{index.XSSbqo_5.js → index.DTvyH-fG.js} +359 -307
- package/dist/chunks/index.DaIz2ggm.CWKMlVvg.js +99 -0
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +4 -4
- package/dist/chunks/index.MEUopFRx.6qFMhBMt.js +0 -258
|
@@ -1,23 +1,37 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as Zt } from "react/jsx-runtime";
|
|
2
|
-
import { le as at } from "./LazyApp.
|
|
3
|
-
import { E as hi } from "./index.
|
|
2
|
+
import { le as at } from "./LazyApp.cIKe00HD.js";
|
|
3
|
+
import { E as hi } from "./index.DTvyH-fG.js";
|
|
4
4
|
import sn from "clsx";
|
|
5
5
|
import { lazy as mi, useContext as gi, Suspense as di } from "react";
|
|
6
|
-
import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.
|
|
6
|
+
import { AppContext as yi, LOCAL_STORAGE_PREFIX as ki, LOCAL_STORAGE_CHAT_DETAILS as xi, durationFormatter as bi } from "./index.7zCJNQU6.js";
|
|
7
7
|
/*!
|
|
8
|
-
@versini/ui-spinner v1.
|
|
8
|
+
@versini/ui-spinner v1.4.0
|
|
9
9
|
© 2024 gizmette.com
|
|
10
10
|
*/
|
|
11
11
|
try {
|
|
12
12
|
window.__VERSINI_UI_SPINNER__ || (window.__VERSINI_UI_SPINNER__ = {
|
|
13
|
-
version: "1.
|
|
14
|
-
buildTime: "12/
|
|
13
|
+
version: "1.4.0",
|
|
14
|
+
buildTime: "12/26/2024 06:05 PM EST",
|
|
15
15
|
homepage: "https://github.com/aversini/ui-components",
|
|
16
16
|
license: "MIT"
|
|
17
17
|
});
|
|
18
18
|
} catch {
|
|
19
19
|
}
|
|
20
|
-
const ut = "av-spinner"
|
|
20
|
+
const ut = "av-spinner";
|
|
21
|
+
/*!
|
|
22
|
+
@versini/ui-spacing v1.1.0
|
|
23
|
+
© 2024 gizmette.com
|
|
24
|
+
*/
|
|
25
|
+
try {
|
|
26
|
+
window.__VERSINI_UI_SPACING__ || (window.__VERSINI_UI_SPACING__ = {
|
|
27
|
+
version: "1.1.0",
|
|
28
|
+
buildTime: "12/26/2024 06:05 PM EST",
|
|
29
|
+
homepage: "https://github.com/aversini/ui-components",
|
|
30
|
+
license: "MIT"
|
|
31
|
+
});
|
|
32
|
+
} catch {
|
|
33
|
+
}
|
|
34
|
+
const st = (e) => {
|
|
21
35
|
let t = "";
|
|
22
36
|
if (typeof e == "number" || typeof e == "string")
|
|
23
37
|
t = "m-" + e;
|
|
@@ -132,11 +146,11 @@ le.prototype.commaOrSpaceSeparated = !1;
|
|
|
132
146
|
le.prototype.mustUseProperty = !1;
|
|
133
147
|
le.prototype.defined = !1;
|
|
134
148
|
let Pi = 0;
|
|
135
|
-
const M = Ae(), W = Ae(), nr = Ae(), E = Ae(), V = Ae(),
|
|
149
|
+
const M = Ae(), W = Ae(), nr = Ae(), E = Ae(), V = Ae(), ze = Ae(), ne = Ae();
|
|
136
150
|
function Ae() {
|
|
137
151
|
return 2 ** ++Pi;
|
|
138
152
|
}
|
|
139
|
-
const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: M, booleanish: W, commaOrSpaceSeparated: ne, commaSeparated:
|
|
153
|
+
const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: M, booleanish: W, commaOrSpaceSeparated: ne, commaSeparated: ze, number: E, overloadedBoolean: nr, spaceSeparated: V }, Symbol.toStringTag, { value: "Module" })), cn = Object.keys(Ln);
|
|
140
154
|
class Nn extends le {
|
|
141
155
|
/**
|
|
142
156
|
* @constructor
|
|
@@ -159,7 +173,7 @@ function pt(e, t, n) {
|
|
|
159
173
|
n && (e[t] = n);
|
|
160
174
|
}
|
|
161
175
|
const Li = {}.hasOwnProperty;
|
|
162
|
-
function
|
|
176
|
+
function De(e) {
|
|
163
177
|
const t = {}, n = {};
|
|
164
178
|
let r;
|
|
165
179
|
for (r in e.properties)
|
|
@@ -174,7 +188,7 @@ function Oe(e) {
|
|
|
174
188
|
}
|
|
175
189
|
return new $e(t, n, e.space);
|
|
176
190
|
}
|
|
177
|
-
const tr =
|
|
191
|
+
const tr = De({
|
|
178
192
|
space: "xlink",
|
|
179
193
|
transform(e, t) {
|
|
180
194
|
return "xlink:" + t.slice(5).toLowerCase();
|
|
@@ -188,7 +202,7 @@ const tr = Oe({
|
|
|
188
202
|
xLinkTitle: null,
|
|
189
203
|
xLinkType: null
|
|
190
204
|
}
|
|
191
|
-
}), rr =
|
|
205
|
+
}), rr = De({
|
|
192
206
|
space: "xml",
|
|
193
207
|
transform(e, t) {
|
|
194
208
|
return "xml:" + t.slice(3).toLowerCase();
|
|
@@ -201,12 +215,12 @@ function ir(e, t) {
|
|
|
201
215
|
function lr(e, t) {
|
|
202
216
|
return ir(e, t.toLowerCase());
|
|
203
217
|
}
|
|
204
|
-
const or =
|
|
218
|
+
const or = De({
|
|
205
219
|
space: "xmlns",
|
|
206
220
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
207
221
|
transform: lr,
|
|
208
222
|
properties: { xmlns: null, xmlnsXLink: null }
|
|
209
|
-
}), ar =
|
|
223
|
+
}), ar = De({
|
|
210
224
|
transform(e, t) {
|
|
211
225
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
212
226
|
},
|
|
@@ -261,7 +275,7 @@ const or = Oe({
|
|
|
261
275
|
ariaValueText: null,
|
|
262
276
|
role: null
|
|
263
277
|
}
|
|
264
|
-
}), vi =
|
|
278
|
+
}), vi = De({
|
|
265
279
|
space: "html",
|
|
266
280
|
attributes: {
|
|
267
281
|
acceptcharset: "accept-charset",
|
|
@@ -274,7 +288,7 @@ const or = Oe({
|
|
|
274
288
|
properties: {
|
|
275
289
|
// Standard Properties.
|
|
276
290
|
abbr: null,
|
|
277
|
-
accept:
|
|
291
|
+
accept: ze,
|
|
278
292
|
acceptCharset: V,
|
|
279
293
|
accessKey: V,
|
|
280
294
|
action: null,
|
|
@@ -301,7 +315,7 @@ const or = Oe({
|
|
|
301
315
|
contentEditable: W,
|
|
302
316
|
controls: M,
|
|
303
317
|
controlsList: V,
|
|
304
|
-
coords: E |
|
|
318
|
+
coords: E | ze,
|
|
305
319
|
crossOrigin: null,
|
|
306
320
|
data: null,
|
|
307
321
|
dateTime: null,
|
|
@@ -620,7 +634,7 @@ const or = Oe({
|
|
|
620
634
|
security: null,
|
|
621
635
|
unselectable: null
|
|
622
636
|
}
|
|
623
|
-
}), zi =
|
|
637
|
+
}), zi = De({
|
|
624
638
|
space: "svg",
|
|
625
639
|
attributes: {
|
|
626
640
|
accentHeight: "accent-height",
|
|
@@ -881,9 +895,9 @@ const or = Oe({
|
|
|
881
895
|
from: null,
|
|
882
896
|
fx: null,
|
|
883
897
|
fy: null,
|
|
884
|
-
g1:
|
|
885
|
-
g2:
|
|
886
|
-
glyphName:
|
|
898
|
+
g1: ze,
|
|
899
|
+
g2: ze,
|
|
900
|
+
glyphName: ze,
|
|
887
901
|
glyphOrientationHorizontal: null,
|
|
888
902
|
glyphOrientationVertical: null,
|
|
889
903
|
glyphRef: null,
|
|
@@ -1187,12 +1201,12 @@ function Fi(e, t) {
|
|
|
1187
1201
|
return e.property[e.normal[n]];
|
|
1188
1202
|
if (n.length > 4 && n.slice(0, 4) === "data" && Di.test(t)) {
|
|
1189
1203
|
if (t.charAt(4) === "-") {
|
|
1190
|
-
const o = t.slice(5).replace(ht,
|
|
1204
|
+
const o = t.slice(5).replace(ht, Ri);
|
|
1191
1205
|
r = "data" + o.charAt(0).toUpperCase() + o.slice(1);
|
|
1192
1206
|
} else {
|
|
1193
1207
|
const o = t.slice(4);
|
|
1194
1208
|
if (!ht.test(o)) {
|
|
1195
|
-
let l = o.replace(Oi,
|
|
1209
|
+
let l = o.replace(Oi, _i);
|
|
1196
1210
|
l.charAt(0) !== "-" && (l = "-" + l), t = "data" + l;
|
|
1197
1211
|
}
|
|
1198
1212
|
}
|
|
@@ -1200,10 +1214,10 @@ function Fi(e, t) {
|
|
|
1200
1214
|
}
|
|
1201
1215
|
return new i(r, t);
|
|
1202
1216
|
}
|
|
1203
|
-
function
|
|
1217
|
+
function _i(e) {
|
|
1204
1218
|
return "-" + e.toLowerCase();
|
|
1205
1219
|
}
|
|
1206
|
-
function
|
|
1220
|
+
function Ri(e) {
|
|
1207
1221
|
return e.charAt(1).toUpperCase();
|
|
1208
1222
|
}
|
|
1209
1223
|
const Mi = {
|
|
@@ -1235,7 +1249,7 @@ function Bi(e) {
|
|
|
1235
1249
|
function ur(e) {
|
|
1236
1250
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1237
1251
|
}
|
|
1238
|
-
var
|
|
1252
|
+
var Me = {}, fn, mt;
|
|
1239
1253
|
function ji() {
|
|
1240
1254
|
if (mt) return fn;
|
|
1241
1255
|
mt = 1;
|
|
@@ -1269,7 +1283,7 @@ function ji() {
|
|
|
1269
1283
|
);
|
|
1270
1284
|
if (T.reason = v, T.filename = S.source, T.line = k, T.column = C, T.source = x, !S.silent) throw T;
|
|
1271
1285
|
}
|
|
1272
|
-
function
|
|
1286
|
+
function R(v) {
|
|
1273
1287
|
var T = v.exec(x);
|
|
1274
1288
|
if (T) {
|
|
1275
1289
|
var F = T[0];
|
|
@@ -1277,7 +1291,7 @@ function ji() {
|
|
|
1277
1291
|
}
|
|
1278
1292
|
}
|
|
1279
1293
|
function U() {
|
|
1280
|
-
|
|
1294
|
+
R(n);
|
|
1281
1295
|
}
|
|
1282
1296
|
function H(v) {
|
|
1283
1297
|
var T;
|
|
@@ -1300,15 +1314,15 @@ function ji() {
|
|
|
1300
1314
|
}
|
|
1301
1315
|
}
|
|
1302
1316
|
function P() {
|
|
1303
|
-
var v = D(), T =
|
|
1317
|
+
var v = D(), T = R(r);
|
|
1304
1318
|
if (T) {
|
|
1305
|
-
if (y(), !
|
|
1306
|
-
var F =
|
|
1319
|
+
if (y(), !R(i)) return w("property missing ':'");
|
|
1320
|
+
var F = R(o), Q = v({
|
|
1307
1321
|
type: p,
|
|
1308
1322
|
property: d(T[0].replace(e, c)),
|
|
1309
1323
|
value: F ? d(F[0].replace(e, c)) : c
|
|
1310
1324
|
});
|
|
1311
|
-
return
|
|
1325
|
+
return R(l), Q;
|
|
1312
1326
|
}
|
|
1313
1327
|
}
|
|
1314
1328
|
function L() {
|
|
@@ -1327,12 +1341,12 @@ function ji() {
|
|
|
1327
1341
|
}
|
|
1328
1342
|
var gt;
|
|
1329
1343
|
function Hi() {
|
|
1330
|
-
if (gt) return
|
|
1344
|
+
if (gt) return Me;
|
|
1331
1345
|
gt = 1;
|
|
1332
|
-
var e =
|
|
1346
|
+
var e = Me.__importDefault || function(r) {
|
|
1333
1347
|
return r && r.__esModule ? r : { default: r };
|
|
1334
1348
|
};
|
|
1335
|
-
Object.defineProperty(
|
|
1349
|
+
Object.defineProperty(Me, "__esModule", { value: !0 });
|
|
1336
1350
|
var t = e(/* @__PURE__ */ ji());
|
|
1337
1351
|
function n(r, i) {
|
|
1338
1352
|
var o = null;
|
|
@@ -1346,7 +1360,7 @@ function Hi() {
|
|
|
1346
1360
|
}
|
|
1347
1361
|
}), o;
|
|
1348
1362
|
}
|
|
1349
|
-
return
|
|
1363
|
+
return Me.default = n, Me;
|
|
1350
1364
|
}
|
|
1351
1365
|
var Ui = /* @__PURE__ */ Hi();
|
|
1352
1366
|
const dt = /* @__PURE__ */ ur(Ui), $i = dt.default || dt, sr = cr("end"), jn = cr("start");
|
|
@@ -1901,7 +1915,7 @@ function be(e) {
|
|
|
1901
1915
|
return n !== null && n > -1 && e.test(String.fromCharCode(n));
|
|
1902
1916
|
}
|
|
1903
1917
|
}
|
|
1904
|
-
function
|
|
1918
|
+
function Oe(e) {
|
|
1905
1919
|
const t = [];
|
|
1906
1920
|
let n = -1, r = 0, i = 0;
|
|
1907
1921
|
for (; ++n < e.length; ) {
|
|
@@ -1998,15 +2012,15 @@ function Cl(e) {
|
|
|
1998
2012
|
break;
|
|
1999
2013
|
}
|
|
2000
2014
|
k(r);
|
|
2001
|
-
let
|
|
2002
|
-
for (;
|
|
2003
|
-
t.events[
|
|
2015
|
+
let R = D;
|
|
2016
|
+
for (; R < t.events.length; )
|
|
2017
|
+
t.events[R][1].end = Object.assign({}, w), R++;
|
|
2004
2018
|
return te(
|
|
2005
2019
|
t.events,
|
|
2006
2020
|
O + 1,
|
|
2007
2021
|
0,
|
|
2008
2022
|
t.events.slice(D)
|
|
2009
|
-
), t.events.length =
|
|
2023
|
+
), t.events.length = R, u(I);
|
|
2010
2024
|
}
|
|
2011
2025
|
return a(I);
|
|
2012
2026
|
}
|
|
@@ -2070,8 +2084,8 @@ function Cl(e) {
|
|
|
2070
2084
|
i.events[w][1].end.offset > l)
|
|
2071
2085
|
)
|
|
2072
2086
|
return;
|
|
2073
|
-
const
|
|
2074
|
-
let U =
|
|
2087
|
+
const R = t.events.length;
|
|
2088
|
+
let U = R, H, y;
|
|
2075
2089
|
for (; U--; )
|
|
2076
2090
|
if (t.events[U][0] === "exit" && t.events[U][1].type === "chunkFlow") {
|
|
2077
2091
|
if (H) {
|
|
@@ -2080,13 +2094,13 @@ function Cl(e) {
|
|
|
2080
2094
|
}
|
|
2081
2095
|
H = !0;
|
|
2082
2096
|
}
|
|
2083
|
-
for (k(r), w =
|
|
2097
|
+
for (k(r), w = R; w < t.events.length; )
|
|
2084
2098
|
t.events[w][1].end = Object.assign({}, y), w++;
|
|
2085
2099
|
te(
|
|
2086
2100
|
t.events,
|
|
2087
2101
|
U + 1,
|
|
2088
2102
|
0,
|
|
2089
|
-
t.events.slice(
|
|
2103
|
+
t.events.slice(R)
|
|
2090
2104
|
), t.events.length = w;
|
|
2091
2105
|
}
|
|
2092
2106
|
}
|
|
@@ -2338,14 +2352,14 @@ function Fl(e, t, n) {
|
|
|
2338
2352
|
}
|
|
2339
2353
|
}
|
|
2340
2354
|
const Et = {
|
|
2341
|
-
tokenize:
|
|
2355
|
+
tokenize: Rl,
|
|
2342
2356
|
partial: !0
|
|
2343
2357
|
}, It = {
|
|
2344
2358
|
name: "codeFenced",
|
|
2345
|
-
tokenize:
|
|
2359
|
+
tokenize: _l,
|
|
2346
2360
|
concrete: !0
|
|
2347
2361
|
};
|
|
2348
|
-
function
|
|
2362
|
+
function _l(e, t, n) {
|
|
2349
2363
|
const r = this, i = {
|
|
2350
2364
|
tokenize: O,
|
|
2351
2365
|
partial: !0
|
|
@@ -2356,8 +2370,8 @@ function Rl(e, t, n) {
|
|
|
2356
2370
|
return u(w);
|
|
2357
2371
|
}
|
|
2358
2372
|
function u(w) {
|
|
2359
|
-
const
|
|
2360
|
-
return o =
|
|
2373
|
+
const R = r.events[r.events.length - 1];
|
|
2374
|
+
return o = R && R[1].type === "linePrefix" ? R[2].sliceSerialize(R[1], !0).length : 0, a = w, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), f(w);
|
|
2361
2375
|
}
|
|
2362
2376
|
function f(w) {
|
|
2363
2377
|
return w === a ? (l++, e.consume(w), f) : l < 3 ? n(w) : (e.exit("codeFencedFenceSequence"), N(w) ? j(e, c, "whitespace")(w) : c(w));
|
|
@@ -2401,7 +2415,7 @@ function Rl(e, t, n) {
|
|
|
2401
2415
|
function D(w) {
|
|
2402
2416
|
return e.exit("codeFenced"), t(w);
|
|
2403
2417
|
}
|
|
2404
|
-
function O(w,
|
|
2418
|
+
function O(w, R, U) {
|
|
2405
2419
|
let H = 0;
|
|
2406
2420
|
return y;
|
|
2407
2421
|
function y(F) {
|
|
@@ -2422,11 +2436,11 @@ function Rl(e, t, n) {
|
|
|
2422
2436
|
return F === a ? (H++, w.consume(F), v) : H >= l ? (w.exit("codeFencedFenceSequence"), N(F) ? j(w, T, "whitespace")(F) : T(F)) : U(F);
|
|
2423
2437
|
}
|
|
2424
2438
|
function T(F) {
|
|
2425
|
-
return F === null || z(F) ? (w.exit("codeFencedFence"),
|
|
2439
|
+
return F === null || z(F) ? (w.exit("codeFencedFence"), R(F)) : U(F);
|
|
2426
2440
|
}
|
|
2427
2441
|
}
|
|
2428
2442
|
}
|
|
2429
|
-
function
|
|
2443
|
+
function Rl(e, t, n) {
|
|
2430
2444
|
const r = this;
|
|
2431
2445
|
return i;
|
|
2432
2446
|
function i(l) {
|
|
@@ -2954,10 +2968,10 @@ function co(e, t, n) {
|
|
|
2954
2968
|
return g === 61 ? (e.consume(g), w) : N(g) ? (e.consume(g), O) : I(g);
|
|
2955
2969
|
}
|
|
2956
2970
|
function w(g) {
|
|
2957
|
-
return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), s = g,
|
|
2971
|
+
return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), s = g, R) : N(g) ? (e.consume(g), w) : U(g);
|
|
2958
2972
|
}
|
|
2959
|
-
function
|
|
2960
|
-
return g === s ? (e.consume(g), s = null, H) : g === null || z(g) ? n(g) : (e.consume(g),
|
|
2973
|
+
function R(g) {
|
|
2974
|
+
return g === s ? (e.consume(g), s = null, H) : g === null || z(g) ? n(g) : (e.consume(g), R);
|
|
2961
2975
|
}
|
|
2962
2976
|
function U(g) {
|
|
2963
2977
|
return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || q(g) ? O(g) : (e.consume(g), U);
|
|
@@ -3088,10 +3102,10 @@ function mo(e, t, n) {
|
|
|
3088
3102
|
return J(m) ? (e.consume(m), w) : n(m);
|
|
3089
3103
|
}
|
|
3090
3104
|
function w(m) {
|
|
3091
|
-
return m === 45 || Y(m) ? (e.consume(m), w) :
|
|
3105
|
+
return m === 45 || Y(m) ? (e.consume(m), w) : R(m);
|
|
3092
3106
|
}
|
|
3093
|
-
function
|
|
3094
|
-
return z(m) ? (l =
|
|
3107
|
+
function R(m) {
|
|
3108
|
+
return z(m) ? (l = R, G(m)) : N(m) ? (e.consume(m), R) : Q(m);
|
|
3095
3109
|
}
|
|
3096
3110
|
function U(m) {
|
|
3097
3111
|
return m === 45 || Y(m) ? (e.consume(m), U) : m === 47 || m === 62 || q(m) ? H(m) : n(m);
|
|
@@ -3389,12 +3403,12 @@ const Z = {
|
|
|
3389
3403
|
continuation: {
|
|
3390
3404
|
tokenize: Fo
|
|
3391
3405
|
},
|
|
3392
|
-
exit:
|
|
3406
|
+
exit: Ro
|
|
3393
3407
|
}, zo = {
|
|
3394
3408
|
tokenize: Mo,
|
|
3395
3409
|
partial: !0
|
|
3396
3410
|
}, Do = {
|
|
3397
|
-
tokenize:
|
|
3411
|
+
tokenize: _o,
|
|
3398
3412
|
partial: !0
|
|
3399
3413
|
};
|
|
3400
3414
|
function Oo(e, t, n) {
|
|
@@ -3461,7 +3475,7 @@ function Fo(e, t, n) {
|
|
|
3461
3475
|
)(a);
|
|
3462
3476
|
}
|
|
3463
3477
|
}
|
|
3464
|
-
function
|
|
3478
|
+
function _o(e, t, n) {
|
|
3465
3479
|
const r = this;
|
|
3466
3480
|
return j(
|
|
3467
3481
|
e,
|
|
@@ -3474,7 +3488,7 @@ function Ro(e, t, n) {
|
|
|
3474
3488
|
return l && l[1].type === "listItemIndent" && l[2].sliceSerialize(l[1], !0).length === r.containerState.size ? t(o) : n(o);
|
|
3475
3489
|
}
|
|
3476
3490
|
}
|
|
3477
|
-
function
|
|
3491
|
+
function Ro(e) {
|
|
3478
3492
|
e.exit(this.containerState.type);
|
|
3479
3493
|
}
|
|
3480
3494
|
function Mo(e, t, n) {
|
|
@@ -3686,9 +3700,9 @@ function Wo(e, t, n) {
|
|
|
3686
3700
|
consume: C,
|
|
3687
3701
|
enter: I,
|
|
3688
3702
|
exit: D,
|
|
3689
|
-
attempt:
|
|
3690
|
-
check:
|
|
3691
|
-
interrupt:
|
|
3703
|
+
attempt: R(O),
|
|
3704
|
+
check: R(w),
|
|
3705
|
+
interrupt: R(w, {
|
|
3692
3706
|
interrupt: !0
|
|
3693
3707
|
})
|
|
3694
3708
|
}, u = {
|
|
@@ -3758,7 +3772,7 @@ function Wo(e, t, n) {
|
|
|
3758
3772
|
function w(P, L) {
|
|
3759
3773
|
L.restore();
|
|
3760
3774
|
}
|
|
3761
|
-
function
|
|
3775
|
+
function R(P, L) {
|
|
3762
3776
|
return v;
|
|
3763
3777
|
function v(T, F, Q) {
|
|
3764
3778
|
let G, oe, he, m;
|
|
@@ -3767,8 +3781,8 @@ function Wo(e, t, n) {
|
|
|
3767
3781
|
me([T])
|
|
3768
3782
|
) : ae(T);
|
|
3769
3783
|
function ae(X) {
|
|
3770
|
-
return
|
|
3771
|
-
function
|
|
3784
|
+
return Fe;
|
|
3785
|
+
function Fe(ke) {
|
|
3772
3786
|
const Te = ke !== null && X[ke], Se = ke !== null && X.null, un = [
|
|
3773
3787
|
// To do: add more extension tests.
|
|
3774
3788
|
/* c8 ignore next 2 */
|
|
@@ -3782,8 +3796,8 @@ function Wo(e, t, n) {
|
|
|
3782
3796
|
return G = X, oe = 0, X.length === 0 ? Q : g(X[oe]);
|
|
3783
3797
|
}
|
|
3784
3798
|
function g(X) {
|
|
3785
|
-
return
|
|
3786
|
-
function
|
|
3799
|
+
return Fe;
|
|
3800
|
+
function Fe(ke) {
|
|
3787
3801
|
return m = H(), he = X, X.partial || (u.currentConstruct = X), X.name && u.parser.constructs.disable.null.includes(X.name) ? we() : X.tokenize.call(
|
|
3788
3802
|
// If we do have fields, create an object w/ `context` as its
|
|
3789
3803
|
// prototype.
|
|
@@ -4069,7 +4083,7 @@ function pa(e) {
|
|
|
4069
4083
|
atxHeadingSequence: O,
|
|
4070
4084
|
autolink: s(),
|
|
4071
4085
|
autolinkEmail: ke,
|
|
4072
|
-
autolinkProtocol:
|
|
4086
|
+
autolinkProtocol: Fe,
|
|
4073
4087
|
blockQuote: s(),
|
|
4074
4088
|
characterEscapeValue: y,
|
|
4075
4089
|
characterReferenceMarkerHexadecimal: we,
|
|
@@ -4109,7 +4123,7 @@ function pa(e) {
|
|
|
4109
4123
|
resourceTitleString: ae,
|
|
4110
4124
|
resource: me,
|
|
4111
4125
|
setextHeading: s(U),
|
|
4112
|
-
setextHeadingLineSequence:
|
|
4126
|
+
setextHeadingLineSequence: R,
|
|
4113
4127
|
setextHeadingText: w,
|
|
4114
4128
|
strong: s(),
|
|
4115
4129
|
thematicBreak: s()
|
|
@@ -4123,7 +4137,7 @@ function pa(e) {
|
|
|
4123
4137
|
type: "root",
|
|
4124
4138
|
children: []
|
|
4125
4139
|
};
|
|
4126
|
-
const
|
|
4140
|
+
const _ = {
|
|
4127
4141
|
stack: [A],
|
|
4128
4142
|
tokenStack: [],
|
|
4129
4143
|
config: t,
|
|
@@ -4149,14 +4163,14 @@ function pa(e) {
|
|
|
4149
4163
|
{
|
|
4150
4164
|
sliceSerialize: b[$][2].sliceSerialize
|
|
4151
4165
|
},
|
|
4152
|
-
|
|
4166
|
+
_
|
|
4153
4167
|
),
|
|
4154
4168
|
b[$][1]
|
|
4155
4169
|
);
|
|
4156
4170
|
}
|
|
4157
|
-
if (
|
|
4158
|
-
const se =
|
|
4159
|
-
(se[1] || Lt).call(
|
|
4171
|
+
if (_.tokenStack.length > 0) {
|
|
4172
|
+
const se = _.tokenStack[_.tokenStack.length - 1];
|
|
4173
|
+
(se[1] || Lt).call(_, void 0, se[0]);
|
|
4160
4174
|
}
|
|
4161
4175
|
for (A.position = {
|
|
4162
4176
|
start: xe(
|
|
@@ -4177,19 +4191,19 @@ function pa(e) {
|
|
|
4177
4191
|
A = t.transforms[$](A) || A;
|
|
4178
4192
|
return A;
|
|
4179
4193
|
}
|
|
4180
|
-
function i(b, A,
|
|
4181
|
-
let B = A - 1, $ = -1, se = !1, Ce, ge, _e,
|
|
4182
|
-
for (; ++B <=
|
|
4194
|
+
function i(b, A, _) {
|
|
4195
|
+
let B = A - 1, $ = -1, se = !1, Ce, ge, _e, Re;
|
|
4196
|
+
for (; ++B <= _; ) {
|
|
4183
4197
|
const ee = b[B];
|
|
4184
4198
|
switch (ee[1].type) {
|
|
4185
4199
|
case "listUnordered":
|
|
4186
4200
|
case "listOrdered":
|
|
4187
4201
|
case "blockQuote": {
|
|
4188
|
-
ee[0] === "enter" ? $++ : $--,
|
|
4202
|
+
ee[0] === "enter" ? $++ : $--, Re = void 0;
|
|
4189
4203
|
break;
|
|
4190
4204
|
}
|
|
4191
4205
|
case "lineEndingBlank": {
|
|
4192
|
-
ee[0] === "enter" && (Ce && !
|
|
4206
|
+
ee[0] === "enter" && (Ce && !Re && !$ && !_e && (_e = B), Re = void 0);
|
|
4193
4207
|
break;
|
|
4194
4208
|
}
|
|
4195
4209
|
case "linePrefix":
|
|
@@ -4199,7 +4213,7 @@ function pa(e) {
|
|
|
4199
4213
|
case "listItemPrefixWhitespace":
|
|
4200
4214
|
break;
|
|
4201
4215
|
default:
|
|
4202
|
-
|
|
4216
|
+
Re = void 0;
|
|
4203
4217
|
}
|
|
4204
4218
|
if (!$ && ee[0] === "enter" && ee[1].type === "listItemPrefix" || $ === -1 && ee[0] === "exit" && (ee[1].type === "listUnordered" || ee[1].type === "listOrdered")) {
|
|
4205
4219
|
if (Ce) {
|
|
@@ -4214,7 +4228,7 @@ function pa(e) {
|
|
|
4214
4228
|
_e && (!ge || _e < ge) && (Ce._spread = !0), Ce.end = Object.assign(
|
|
4215
4229
|
{},
|
|
4216
4230
|
ge ? b[ge][1].start : ee[1].end
|
|
4217
|
-
), b.splice(ge || B, 0, ["exit", Ce, ee[2]]), B++,
|
|
4231
|
+
), b.splice(ge || B, 0, ["exit", Ce, ee[2]]), B++, _++;
|
|
4218
4232
|
}
|
|
4219
4233
|
if (ee[1].type === "listItemPrefix") {
|
|
4220
4234
|
const Pe = {
|
|
@@ -4224,15 +4238,15 @@ function pa(e) {
|
|
|
4224
4238
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
4225
4239
|
end: void 0
|
|
4226
4240
|
};
|
|
4227
|
-
Ce = Pe, b.splice(B, 0, ["enter", Pe, ee[2]]), B++,
|
|
4241
|
+
Ce = Pe, b.splice(B, 0, ["enter", Pe, ee[2]]), B++, _++, _e = void 0, Re = !0;
|
|
4228
4242
|
}
|
|
4229
4243
|
}
|
|
4230
4244
|
}
|
|
4231
|
-
return b[A][1]._spread = se,
|
|
4245
|
+
return b[A][1]._spread = se, _;
|
|
4232
4246
|
}
|
|
4233
4247
|
function o(b, A) {
|
|
4234
|
-
return
|
|
4235
|
-
function
|
|
4248
|
+
return _;
|
|
4249
|
+
function _(B) {
|
|
4236
4250
|
a.call(this, b(B), B), A && A.call(this, B);
|
|
4237
4251
|
}
|
|
4238
4252
|
}
|
|
@@ -4242,8 +4256,8 @@ function pa(e) {
|
|
|
4242
4256
|
children: []
|
|
4243
4257
|
});
|
|
4244
4258
|
}
|
|
4245
|
-
function a(b, A,
|
|
4246
|
-
this.stack[this.stack.length - 1].children.push(b), this.stack.push(b), this.tokenStack.push([A,
|
|
4259
|
+
function a(b, A, _) {
|
|
4260
|
+
this.stack[this.stack.length - 1].children.push(b), this.stack.push(b), this.tokenStack.push([A, _]), b.position = {
|
|
4247
4261
|
start: xe(A.start),
|
|
4248
4262
|
// @ts-expect-error: `end` will be patched later.
|
|
4249
4263
|
end: void 0
|
|
@@ -4251,12 +4265,12 @@ function pa(e) {
|
|
|
4251
4265
|
}
|
|
4252
4266
|
function s(b) {
|
|
4253
4267
|
return A;
|
|
4254
|
-
function A(
|
|
4255
|
-
b && b.call(this,
|
|
4268
|
+
function A(_) {
|
|
4269
|
+
b && b.call(this, _), u.call(this, _);
|
|
4256
4270
|
}
|
|
4257
4271
|
}
|
|
4258
4272
|
function u(b, A) {
|
|
4259
|
-
const
|
|
4273
|
+
const _ = this.stack.pop(), B = this.tokenStack.pop();
|
|
4260
4274
|
if (B)
|
|
4261
4275
|
B[0].type !== b.type && (A ? A.call(this, b, B[0]) : (B[1] || Lt).call(this, b, B[0]));
|
|
4262
4276
|
else throw new Error(
|
|
@@ -4265,7 +4279,7 @@ function pa(e) {
|
|
|
4265
4279
|
end: b.end
|
|
4266
4280
|
}) + "): it’s not open"
|
|
4267
4281
|
);
|
|
4268
|
-
|
|
4282
|
+
_.position.end = xe(b.end);
|
|
4269
4283
|
}
|
|
4270
4284
|
function f() {
|
|
4271
4285
|
return qn(this.stack.pop());
|
|
@@ -4299,8 +4313,8 @@ function pa(e) {
|
|
|
4299
4313
|
A.value = b.replace(/(\r?\n|\r)$/g, "");
|
|
4300
4314
|
}
|
|
4301
4315
|
function C(b) {
|
|
4302
|
-
const A = this.resume(),
|
|
4303
|
-
|
|
4316
|
+
const A = this.resume(), _ = this.stack[this.stack.length - 1];
|
|
4317
|
+
_.label = A, _.identifier = ce(
|
|
4304
4318
|
this.sliceSerialize(b)
|
|
4305
4319
|
).toLowerCase();
|
|
4306
4320
|
}
|
|
@@ -4315,14 +4329,14 @@ function pa(e) {
|
|
|
4315
4329
|
function O(b) {
|
|
4316
4330
|
const A = this.stack[this.stack.length - 1];
|
|
4317
4331
|
if (!A.depth) {
|
|
4318
|
-
const
|
|
4319
|
-
A.depth =
|
|
4332
|
+
const _ = this.sliceSerialize(b).length;
|
|
4333
|
+
A.depth = _;
|
|
4320
4334
|
}
|
|
4321
4335
|
}
|
|
4322
4336
|
function w() {
|
|
4323
4337
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
4324
4338
|
}
|
|
4325
|
-
function
|
|
4339
|
+
function R(b) {
|
|
4326
4340
|
const A = this.stack[this.stack.length - 1];
|
|
4327
4341
|
A.depth = this.sliceSerialize(b).codePointAt(0) === 61 ? 1 : 2;
|
|
4328
4342
|
}
|
|
@@ -4330,13 +4344,13 @@ function pa(e) {
|
|
|
4330
4344
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
4331
4345
|
}
|
|
4332
4346
|
function H(b) {
|
|
4333
|
-
const
|
|
4334
|
-
let B =
|
|
4347
|
+
const _ = this.stack[this.stack.length - 1].children;
|
|
4348
|
+
let B = _[_.length - 1];
|
|
4335
4349
|
(!B || B.type !== "text") && (B = fi(), B.position = {
|
|
4336
4350
|
start: xe(b.start),
|
|
4337
4351
|
// @ts-expect-error: we’ll add `end` later.
|
|
4338
4352
|
end: void 0
|
|
4339
|
-
},
|
|
4353
|
+
}, _.push(B)), this.stack.push(B);
|
|
4340
4354
|
}
|
|
4341
4355
|
function y(b) {
|
|
4342
4356
|
const A = this.stack.pop();
|
|
@@ -4345,8 +4359,8 @@ function pa(e) {
|
|
|
4345
4359
|
function P(b) {
|
|
4346
4360
|
const A = this.stack[this.stack.length - 1];
|
|
4347
4361
|
if (this.data.atHardBreak) {
|
|
4348
|
-
const
|
|
4349
|
-
|
|
4362
|
+
const _ = A.children[A.children.length - 1];
|
|
4363
|
+
_.position.end = xe(b.end), this.data.atHardBreak = void 0;
|
|
4350
4364
|
return;
|
|
4351
4365
|
}
|
|
4352
4366
|
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(A.type) && (H.call(this, b), y.call(this, b));
|
|
@@ -4385,16 +4399,16 @@ function pa(e) {
|
|
|
4385
4399
|
this.data.referenceType = void 0;
|
|
4386
4400
|
}
|
|
4387
4401
|
function oe(b) {
|
|
4388
|
-
const A = this.sliceSerialize(b),
|
|
4389
|
-
|
|
4402
|
+
const A = this.sliceSerialize(b), _ = this.stack[this.stack.length - 2];
|
|
4403
|
+
_.label = sa(A), _.identifier = ce(A).toLowerCase();
|
|
4390
4404
|
}
|
|
4391
4405
|
function he() {
|
|
4392
|
-
const b = this.stack[this.stack.length - 1], A = this.resume(),
|
|
4393
|
-
if (this.data.inReference = !0,
|
|
4406
|
+
const b = this.stack[this.stack.length - 1], A = this.resume(), _ = this.stack[this.stack.length - 1];
|
|
4407
|
+
if (this.data.inReference = !0, _.type === "link") {
|
|
4394
4408
|
const B = b.children;
|
|
4395
|
-
|
|
4409
|
+
_.children = B;
|
|
4396
4410
|
} else
|
|
4397
|
-
|
|
4411
|
+
_.alt = A;
|
|
4398
4412
|
}
|
|
4399
4413
|
function m() {
|
|
4400
4414
|
const b = this.resume(), A = this.stack[this.stack.length - 1];
|
|
@@ -4411,8 +4425,8 @@ function pa(e) {
|
|
|
4411
4425
|
this.data.referenceType = "collapsed";
|
|
4412
4426
|
}
|
|
4413
4427
|
function ue(b) {
|
|
4414
|
-
const A = this.resume(),
|
|
4415
|
-
|
|
4428
|
+
const A = this.resume(), _ = this.stack[this.stack.length - 1];
|
|
4429
|
+
_.label = A, _.identifier = ce(
|
|
4416
4430
|
this.sliceSerialize(b)
|
|
4417
4431
|
).toLowerCase(), this.data.referenceType = "full";
|
|
4418
4432
|
}
|
|
@@ -4420,16 +4434,16 @@ function pa(e) {
|
|
|
4420
4434
|
this.data.characterReferenceType = b.type;
|
|
4421
4435
|
}
|
|
4422
4436
|
function X(b) {
|
|
4423
|
-
const A = this.sliceSerialize(b),
|
|
4437
|
+
const A = this.sliceSerialize(b), _ = this.data.characterReferenceType;
|
|
4424
4438
|
let B;
|
|
4425
|
-
|
|
4439
|
+
_ ? (B = yr(
|
|
4426
4440
|
A,
|
|
4427
|
-
|
|
4441
|
+
_ === "characterReferenceMarkerNumeric" ? 10 : 16
|
|
4428
4442
|
), this.data.characterReferenceType = void 0) : B = Vn(A);
|
|
4429
4443
|
const $ = this.stack.pop();
|
|
4430
4444
|
$.value += B, $.position.end = xe(b.end);
|
|
4431
4445
|
}
|
|
4432
|
-
function
|
|
4446
|
+
function Fe(b) {
|
|
4433
4447
|
y.call(this, b);
|
|
4434
4448
|
const A = this.stack[this.stack.length - 1];
|
|
4435
4449
|
A.url = this.sliceSerialize(b);
|
|
@@ -4663,7 +4677,7 @@ function xa(e, t) {
|
|
|
4663
4677
|
return e.patch(t, n), e.applyData(t, n);
|
|
4664
4678
|
}
|
|
4665
4679
|
function ba(e, t) {
|
|
4666
|
-
const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), i =
|
|
4680
|
+
const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), i = Oe(r.toLowerCase()), o = e.footnoteOrder.indexOf(r);
|
|
4667
4681
|
let l, a = e.footnoteCounts.get(r);
|
|
4668
4682
|
a === void 0 ? (a = 0, e.footnoteOrder.push(r), l = e.footnoteOrder.length) : l = o + 1, a += 1, e.footnoteCounts.set(r, a);
|
|
4669
4683
|
const s = {
|
|
@@ -4715,13 +4729,13 @@ function Ca(e, t) {
|
|
|
4715
4729
|
const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
|
|
4716
4730
|
if (!r)
|
|
4717
4731
|
return Lr(e, t);
|
|
4718
|
-
const i = { src:
|
|
4732
|
+
const i = { src: Oe(r.url || ""), alt: t.alt };
|
|
4719
4733
|
r.title !== null && r.title !== void 0 && (i.title = r.title);
|
|
4720
4734
|
const o = { type: "element", tagName: "img", properties: i, children: [] };
|
|
4721
4735
|
return e.patch(t, o), e.applyData(t, o);
|
|
4722
4736
|
}
|
|
4723
4737
|
function Ea(e, t) {
|
|
4724
|
-
const n = { src:
|
|
4738
|
+
const n = { src: Oe(t.url) };
|
|
4725
4739
|
t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
|
|
4726
4740
|
const r = { type: "element", tagName: "img", properties: n, children: [] };
|
|
4727
4741
|
return e.patch(t, r), e.applyData(t, r);
|
|
@@ -4741,7 +4755,7 @@ function Aa(e, t) {
|
|
|
4741
4755
|
const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
|
|
4742
4756
|
if (!r)
|
|
4743
4757
|
return Lr(e, t);
|
|
4744
|
-
const i = { href:
|
|
4758
|
+
const i = { href: Oe(r.url || "") };
|
|
4745
4759
|
r.title !== null && r.title !== void 0 && (i.title = r.title);
|
|
4746
4760
|
const o = {
|
|
4747
4761
|
type: "element",
|
|
@@ -4752,7 +4766,7 @@ function Aa(e, t) {
|
|
|
4752
4766
|
return e.patch(t, o), e.applyData(t, o);
|
|
4753
4767
|
}
|
|
4754
4768
|
function Ta(e, t) {
|
|
4755
|
-
const n = { href:
|
|
4769
|
+
const n = { href: Oe(t.url) };
|
|
4756
4770
|
t.title !== null && t.title !== void 0 && (n.title = t.title);
|
|
4757
4771
|
const r = {
|
|
4758
4772
|
type: "element",
|
|
@@ -4869,7 +4883,7 @@ function Fa(e, t) {
|
|
|
4869
4883
|
};
|
|
4870
4884
|
return e.patch(t, o), e.applyData(t, o);
|
|
4871
4885
|
}
|
|
4872
|
-
function
|
|
4886
|
+
function _a(e, t, n) {
|
|
4873
4887
|
const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", l = n && n.type === "table" ? n.align : void 0, a = l ? l.length : t.children.length;
|
|
4874
4888
|
let s = -1;
|
|
4875
4889
|
const u = [];
|
|
@@ -4887,7 +4901,7 @@ function Ra(e, t, n) {
|
|
|
4887
4901
|
};
|
|
4888
4902
|
return e.patch(t, f), e.applyData(t, f);
|
|
4889
4903
|
}
|
|
4890
|
-
function
|
|
4904
|
+
function Ra(e, t) {
|
|
4891
4905
|
const n = {
|
|
4892
4906
|
type: "element",
|
|
4893
4907
|
tagName: "td",
|
|
@@ -4957,8 +4971,8 @@ const ja = {
|
|
|
4957
4971
|
root: Da,
|
|
4958
4972
|
strong: Oa,
|
|
4959
4973
|
table: Fa,
|
|
4960
|
-
tableCell:
|
|
4961
|
-
tableRow:
|
|
4974
|
+
tableCell: Ra,
|
|
4975
|
+
tableRow: _a,
|
|
4962
4976
|
text: Na,
|
|
4963
4977
|
thematicBreak: Ba,
|
|
4964
4978
|
toml: We,
|
|
@@ -5019,24 +5033,24 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, Dr = 7, O
|
|
|
5019
5033
|
return n(new Ot[o](l), i);
|
|
5020
5034
|
};
|
|
5021
5035
|
return r;
|
|
5022
|
-
}, Ft = (e) => Ha(/* @__PURE__ */ new Map(), e)(0),
|
|
5036
|
+
}, Ft = (e) => Ha(/* @__PURE__ */ new Map(), e)(0), Le = "", { toString: Ua } = {}, { keys: $a } = Object, Ne = (e) => {
|
|
5023
5037
|
const t = typeof e;
|
|
5024
5038
|
if (t !== "object" || !e)
|
|
5025
5039
|
return [ln, t];
|
|
5026
5040
|
const n = Ua.call(e).slice(8, -1);
|
|
5027
5041
|
switch (n) {
|
|
5028
5042
|
case "Array":
|
|
5029
|
-
return [Ze,
|
|
5043
|
+
return [Ze, Le];
|
|
5030
5044
|
case "Object":
|
|
5031
|
-
return [en,
|
|
5045
|
+
return [en, Le];
|
|
5032
5046
|
case "Date":
|
|
5033
|
-
return [Qn,
|
|
5047
|
+
return [Qn, Le];
|
|
5034
5048
|
case "RegExp":
|
|
5035
|
-
return [Gn,
|
|
5049
|
+
return [Gn, Le];
|
|
5036
5050
|
case "Map":
|
|
5037
|
-
return [Xn,
|
|
5051
|
+
return [Xn, Le];
|
|
5038
5052
|
case "Set":
|
|
5039
|
-
return [Yn,
|
|
5053
|
+
return [Yn, Le];
|
|
5040
5054
|
}
|
|
5041
5055
|
return n.includes("Array") ? [Ze, n] : n.includes("Error") ? [Dr, n] : [en, n];
|
|
5042
5056
|
}, Qe = ([e, t]) => e === ln && (t === "function" || t === "symbol"), qa = (e, t, n, r) => {
|
|
@@ -5113,13 +5127,13 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, Dr = 7, O
|
|
|
5113
5127
|
return i([a, { name: s, message: u }], l);
|
|
5114
5128
|
};
|
|
5115
5129
|
return o;
|
|
5116
|
-
},
|
|
5130
|
+
}, _t = (e, { json: t, lossy: n } = {}) => {
|
|
5117
5131
|
const r = [];
|
|
5118
5132
|
return qa(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
|
|
5119
5133
|
}, nn = typeof structuredClone == "function" ? (
|
|
5120
5134
|
/* c8 ignore start */
|
|
5121
|
-
(e, t) => t && ("json" in t || "lossy" in t) ? Ft(
|
|
5122
|
-
) : (e, t) => Ft(
|
|
5135
|
+
(e, t) => t && ("json" in t || "lossy" in t) ? Ft(_t(e, t)) : structuredClone(e)
|
|
5136
|
+
) : (e, t) => Ft(_t(e, t));
|
|
5123
5137
|
function Va(e, t) {
|
|
5124
5138
|
const n = [{ type: "text", value: "↩" }];
|
|
5125
5139
|
return t > 1 && n.push({
|
|
@@ -5141,7 +5155,7 @@ function Qa(e) {
|
|
|
5141
5155
|
const u = e.footnoteById.get(e.footnoteOrder[s]);
|
|
5142
5156
|
if (!u)
|
|
5143
5157
|
continue;
|
|
5144
|
-
const f = e.all(u), c = String(u.identifier).toUpperCase(), h =
|
|
5158
|
+
const f = e.all(u), c = String(u.identifier).toUpperCase(), h = Oe(c.toLowerCase());
|
|
5145
5159
|
let p = 0;
|
|
5146
5160
|
const d = [], x = e.footnoteCounts.get(c);
|
|
5147
5161
|
for (; x !== void 0 && ++p <= x; ) {
|
|
@@ -5283,7 +5297,7 @@ function Ja(e) {
|
|
|
5283
5297
|
return e !== null && typeof e == "object" && "type" in e;
|
|
5284
5298
|
}
|
|
5285
5299
|
const Fr = [], Za = !0, On = !1, eu = "skip";
|
|
5286
|
-
function
|
|
5300
|
+
function _r(e, t, n, r) {
|
|
5287
5301
|
let i;
|
|
5288
5302
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
|
|
5289
5303
|
const o = on(i), l = r ? -1 : 1;
|
|
@@ -5332,7 +5346,7 @@ function nu(e) {
|
|
|
5332
5346
|
}
|
|
5333
5347
|
function Kn(e, t, n, r) {
|
|
5334
5348
|
let i, o, l;
|
|
5335
|
-
typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, i = n) : (o = t, l = n, i = r),
|
|
5349
|
+
typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, i = n) : (o = t, l = n, i = r), _r(e, o, a, i);
|
|
5336
5350
|
function a(s, u) {
|
|
5337
5351
|
const f = u[u.length - 1], c = f ? f.children.indexOf(s) : void 0;
|
|
5338
5352
|
return l(s, c, f);
|
|
@@ -5380,9 +5394,9 @@ function ru(e, t) {
|
|
|
5380
5394
|
for (; ++p < h.length; ) {
|
|
5381
5395
|
const d = a.one(h[p], f);
|
|
5382
5396
|
if (d) {
|
|
5383
|
-
if (p && h[p - 1].type === "break" && (!Array.isArray(d) && d.type === "text" && (d.value =
|
|
5397
|
+
if (p && h[p - 1].type === "break" && (!Array.isArray(d) && d.type === "text" && (d.value = Rt(d.value)), !Array.isArray(d) && d.type === "element")) {
|
|
5384
5398
|
const x = d.children[0];
|
|
5385
|
-
x && x.type === "text" && (x.value =
|
|
5399
|
+
x && x.type === "text" && (x.value = Rt(x.value));
|
|
5386
5400
|
}
|
|
5387
5401
|
Array.isArray(d) ? c.push(...d) : c.push(d);
|
|
5388
5402
|
}
|
|
@@ -5428,7 +5442,7 @@ function au(e, t) {
|
|
|
5428
5442
|
return t && e.length > 0 && n.push({ type: "text", value: `
|
|
5429
5443
|
` }), n;
|
|
5430
5444
|
}
|
|
5431
|
-
function
|
|
5445
|
+
function Rt(e) {
|
|
5432
5446
|
let t = 0, n = e.charCodeAt(t);
|
|
5433
5447
|
for (; n === 9 || n === 32; )
|
|
5434
5448
|
t++, n = e.charCodeAt(t);
|
|
@@ -5499,7 +5513,7 @@ function su() {
|
|
|
5499
5513
|
}
|
|
5500
5514
|
var cu = /* @__PURE__ */ su();
|
|
5501
5515
|
const dn = /* @__PURE__ */ ur(cu);
|
|
5502
|
-
function
|
|
5516
|
+
function _n(e) {
|
|
5503
5517
|
if (typeof e != "object" || e === null)
|
|
5504
5518
|
return !1;
|
|
5505
5519
|
const t = Object.getPrototypeOf(e);
|
|
@@ -5674,14 +5688,14 @@ const xu = { cwd: bu };
|
|
|
5674
5688
|
function bu() {
|
|
5675
5689
|
return "/";
|
|
5676
5690
|
}
|
|
5677
|
-
function
|
|
5691
|
+
function Rn(e) {
|
|
5678
5692
|
return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
|
|
5679
5693
|
e.auth === void 0);
|
|
5680
5694
|
}
|
|
5681
5695
|
function wu(e) {
|
|
5682
5696
|
if (typeof e == "string")
|
|
5683
5697
|
e = new URL(e);
|
|
5684
|
-
else if (!
|
|
5698
|
+
else if (!Rn(e)) {
|
|
5685
5699
|
const t = new TypeError(
|
|
5686
5700
|
'The "path" argument must be of type string or an instance of URL. Received `' + e + "`"
|
|
5687
5701
|
);
|
|
@@ -5725,7 +5739,7 @@ const yn = (
|
|
|
5725
5739
|
"dirname"
|
|
5726
5740
|
]
|
|
5727
5741
|
);
|
|
5728
|
-
class
|
|
5742
|
+
class Rr {
|
|
5729
5743
|
/**
|
|
5730
5744
|
* Create a new virtual file.
|
|
5731
5745
|
*
|
|
@@ -5750,7 +5764,7 @@ class _r {
|
|
|
5750
5764
|
*/
|
|
5751
5765
|
constructor(t) {
|
|
5752
5766
|
let n;
|
|
5753
|
-
t ?
|
|
5767
|
+
t ? Rn(t) ? n = { path: t } : typeof t == "string" || Cu(t) ? n = { value: t } : n = t : n = {}, this.cwd = xu.cwd(), this.data = {}, this.history = [], this.messages = [];
|
|
5754
5768
|
let r = -1;
|
|
5755
5769
|
for (; ++r < yn.length; ) {
|
|
5756
5770
|
const o = yn[r];
|
|
@@ -5858,7 +5872,7 @@ class _r {
|
|
|
5858
5872
|
* Nothing.
|
|
5859
5873
|
*/
|
|
5860
5874
|
set path(t) {
|
|
5861
|
-
|
|
5875
|
+
Rn(t) && (t = wu(t)), xn(t, "path"), this.path !== t && this.history.push(t);
|
|
5862
5876
|
}
|
|
5863
5877
|
/**
|
|
5864
5878
|
* Get the stem (basename w/o extname) (example: `'index.min'`).
|
|
@@ -6616,7 +6630,7 @@ class Jn extends Eu {
|
|
|
6616
6630
|
else if (f.length > 0) {
|
|
6617
6631
|
let [p, ...d] = f;
|
|
6618
6632
|
const x = r[h][1];
|
|
6619
|
-
|
|
6633
|
+
_n(x) && _n(p) && (p = dn(!0, x, p)), r[h] = [u, p, ...d];
|
|
6620
6634
|
}
|
|
6621
6635
|
}
|
|
6622
6636
|
}
|
|
@@ -6637,7 +6651,7 @@ function Sn(e, t) {
|
|
|
6637
6651
|
);
|
|
6638
6652
|
}
|
|
6639
6653
|
function Ht(e) {
|
|
6640
|
-
if (!
|
|
6654
|
+
if (!_n(e) || typeof e.type != "string")
|
|
6641
6655
|
throw new TypeError("Expected node, got `" + e + "`");
|
|
6642
6656
|
}
|
|
6643
6657
|
function Ut(e, t, n) {
|
|
@@ -6647,7 +6661,7 @@ function Ut(e, t, n) {
|
|
|
6647
6661
|
);
|
|
6648
6662
|
}
|
|
6649
6663
|
function Ge(e) {
|
|
6650
|
-
return Tu(e) ? e : new
|
|
6664
|
+
return Tu(e) ? e : new Rr(e);
|
|
6651
6665
|
}
|
|
6652
6666
|
function Tu(e) {
|
|
6653
6667
|
return !!(e && typeof e == "object" && "message" in e && "messages" in e);
|
|
@@ -6692,7 +6706,7 @@ const $t = [], qt = { allowDangerousHtml: !0 }, vu = /^(https?|ircs?|mailto|xmpp
|
|
|
6692
6706
|
{ from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
|
|
6693
6707
|
];
|
|
6694
6708
|
function Du(e) {
|
|
6695
|
-
const t = e.allowedElements, n = e.allowElement, r = e.children || "", i = e.className, o = e.components, l = e.disallowedElements, a = e.rehypePlugins || $t, s = e.remarkPlugins || $t, u = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...qt } : qt, f = e.skipHtml, c = e.unwrapDisallowed, h = e.urlTransform || Ou, p = Au().use(ma).use(s).use(uu, u).use(a), d = new
|
|
6709
|
+
const t = e.allowedElements, n = e.allowElement, r = e.children || "", i = e.className, o = e.components, l = e.disallowedElements, a = e.rehypePlugins || $t, s = e.remarkPlugins || $t, u = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...qt } : qt, f = e.skipHtml, c = e.unwrapDisallowed, h = e.urlTransform || Ou, p = Au().use(ma).use(s).use(uu, u).use(a), d = new Rr();
|
|
6696
6710
|
typeof r == "string" && (d.value = r);
|
|
6697
6711
|
for (const C of zu)
|
|
6698
6712
|
;
|
|
@@ -6723,8 +6737,8 @@ function Du(e) {
|
|
|
6723
6737
|
let O;
|
|
6724
6738
|
for (O in pn)
|
|
6725
6739
|
if (Object.hasOwn(pn, O) && Object.hasOwn(C.properties, O)) {
|
|
6726
|
-
const w = C.properties[O],
|
|
6727
|
-
(
|
|
6740
|
+
const w = C.properties[O], R = pn[O];
|
|
6741
|
+
(R === null || R.includes(C.tagName)) && (C.properties[O] = h(String(w || ""), O, C));
|
|
6728
6742
|
}
|
|
6729
6743
|
}
|
|
6730
6744
|
if (C.type === "element") {
|
|
@@ -6757,11 +6771,11 @@ function Fu(e) {
|
|
|
6757
6771
|
throw new TypeError("Expected a string");
|
|
6758
6772
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
6759
6773
|
}
|
|
6760
|
-
function
|
|
6761
|
-
const i = on(
|
|
6774
|
+
function _u(e, t, n) {
|
|
6775
|
+
const i = on(n.ignore || []), o = Ru(t);
|
|
6762
6776
|
let l = -1;
|
|
6763
6777
|
for (; ++l < o.length; )
|
|
6764
|
-
|
|
6778
|
+
_r(e, "text", a);
|
|
6765
6779
|
function a(u, f) {
|
|
6766
6780
|
let c = -1, h;
|
|
6767
6781
|
for (; ++c < f.length; ) {
|
|
@@ -6801,7 +6815,7 @@ function Ru(e, t, n) {
|
|
|
6801
6815
|
return k ? (d < u.value.length && C.push({ type: "text", value: u.value.slice(d) }), c.children.splice(S, 1, ...C)) : C = [u], S + C.length;
|
|
6802
6816
|
}
|
|
6803
6817
|
}
|
|
6804
|
-
function
|
|
6818
|
+
function Ru(e) {
|
|
6805
6819
|
const t = [];
|
|
6806
6820
|
if (!Array.isArray(e))
|
|
6807
6821
|
throw new TypeError("Expected find and replace tuple or list of tuples");
|
|
@@ -6887,7 +6901,7 @@ function Vu(e) {
|
|
|
6887
6901
|
this.exit(e);
|
|
6888
6902
|
}
|
|
6889
6903
|
function Wu(e) {
|
|
6890
|
-
|
|
6904
|
+
_u(
|
|
6891
6905
|
e,
|
|
6892
6906
|
[
|
|
6893
6907
|
[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Qu],
|
|
@@ -7402,7 +7416,7 @@ function $r(e, t, n, r) {
|
|
|
7402
7416
|
function Fs() {
|
|
7403
7417
|
return "!";
|
|
7404
7418
|
}
|
|
7405
|
-
qr.peek =
|
|
7419
|
+
qr.peek = _s;
|
|
7406
7420
|
function qr(e, t, n) {
|
|
7407
7421
|
let r = e.value || "", i = "`", o = -1;
|
|
7408
7422
|
for (; new RegExp("(^|[^`])" + i + "([^`]|$)").test(r); )
|
|
@@ -7418,7 +7432,7 @@ function qr(e, t, n) {
|
|
|
7418
7432
|
}
|
|
7419
7433
|
return i + r + i;
|
|
7420
7434
|
}
|
|
7421
|
-
function
|
|
7435
|
+
function _s() {
|
|
7422
7436
|
return "`";
|
|
7423
7437
|
}
|
|
7424
7438
|
function Vr(e, t) {
|
|
@@ -7432,7 +7446,7 @@ function Vr(e, t) {
|
|
|
7432
7446
|
// references don’t work), space, or angle brackets…
|
|
7433
7447
|
!/[\0- <>\u007F]/.test(e.url));
|
|
7434
7448
|
}
|
|
7435
|
-
Wr.peek =
|
|
7449
|
+
Wr.peek = Rs;
|
|
7436
7450
|
function Wr(e, t, n, r) {
|
|
7437
7451
|
const i = Zn(n), o = i === '"' ? "Quote" : "Apostrophe", l = n.createTracker(r);
|
|
7438
7452
|
let a, s;
|
|
@@ -7474,7 +7488,7 @@ function Wr(e, t, n, r) {
|
|
|
7474
7488
|
})
|
|
7475
7489
|
), u += l.move(i), s()), u += l.move(")"), a(), u;
|
|
7476
7490
|
}
|
|
7477
|
-
function
|
|
7491
|
+
function Rs(e, t, n) {
|
|
7478
7492
|
return Vr(e, n) ? "<" : "[";
|
|
7479
7493
|
}
|
|
7480
7494
|
Qr.peek = Ms;
|
|
@@ -7739,7 +7753,7 @@ function tc(e, t) {
|
|
|
7739
7753
|
return t === "|" ? t : e;
|
|
7740
7754
|
}
|
|
7741
7755
|
function rc(e) {
|
|
7742
|
-
const t = e
|
|
7756
|
+
const t = e, n = t.tableCellPadding, r = t.tablePipeAlign, i = t.stringLength, o = n ? " " : "|";
|
|
7743
7757
|
return {
|
|
7744
7758
|
unsafe: [
|
|
7745
7759
|
{ character: "\r", inConstruct: "tableCell" },
|
|
@@ -8270,7 +8284,7 @@ function Lc(e, t, n) {
|
|
|
8270
8284
|
}
|
|
8271
8285
|
}
|
|
8272
8286
|
function vc(e) {
|
|
8273
|
-
let n =
|
|
8287
|
+
let n = e.singleTilde;
|
|
8274
8288
|
const r = {
|
|
8275
8289
|
tokenize: o,
|
|
8276
8290
|
resolveAll: i
|
|
@@ -8438,13 +8452,13 @@ function Fc() {
|
|
|
8438
8452
|
return {
|
|
8439
8453
|
flow: {
|
|
8440
8454
|
null: {
|
|
8441
|
-
tokenize:
|
|
8442
|
-
resolveAll:
|
|
8455
|
+
tokenize: _c,
|
|
8456
|
+
resolveAll: Rc
|
|
8443
8457
|
}
|
|
8444
8458
|
}
|
|
8445
8459
|
};
|
|
8446
8460
|
}
|
|
8447
|
-
function
|
|
8461
|
+
function _c(e, t, n) {
|
|
8448
8462
|
const r = this;
|
|
8449
8463
|
let i = 0, o = 0, l;
|
|
8450
8464
|
return a;
|
|
@@ -8508,19 +8522,19 @@ function Rc(e, t, n) {
|
|
|
8508
8522
|
return n(y);
|
|
8509
8523
|
}
|
|
8510
8524
|
function w(y) {
|
|
8511
|
-
return e.enter("tableRow"),
|
|
8525
|
+
return e.enter("tableRow"), R(y);
|
|
8512
8526
|
}
|
|
8513
|
-
function
|
|
8514
|
-
return y === 124 ? (e.enter("tableCellDivider"), e.consume(y), e.exit("tableCellDivider"),
|
|
8527
|
+
function R(y) {
|
|
8528
|
+
return y === 124 ? (e.enter("tableCellDivider"), e.consume(y), e.exit("tableCellDivider"), R) : y === null || z(y) ? (e.exit("tableRow"), t(y)) : N(y) ? j(e, R, "whitespace")(y) : (e.enter("data"), U(y));
|
|
8515
8529
|
}
|
|
8516
8530
|
function U(y) {
|
|
8517
|
-
return y === null || y === 124 || q(y) ? (e.exit("data"),
|
|
8531
|
+
return y === null || y === 124 || q(y) ? (e.exit("data"), R(y)) : (e.consume(y), y === 92 ? H : U);
|
|
8518
8532
|
}
|
|
8519
8533
|
function H(y) {
|
|
8520
8534
|
return y === 92 || y === 124 ? (e.consume(y), U) : U(y);
|
|
8521
8535
|
}
|
|
8522
8536
|
}
|
|
8523
|
-
function
|
|
8537
|
+
function Rc(e, t) {
|
|
8524
8538
|
let n = -1, r = !0, i = 0, o = [0, 0, 0, 0], l = [0, 0, 0, 0], a = !1, s = 0, u, f, c;
|
|
8525
8539
|
const h = new zc();
|
|
8526
8540
|
for (; ++n < e.length; ) {
|
|
@@ -8566,15 +8580,15 @@ function _c(e, t) {
|
|
|
8566
8580
|
}
|
|
8567
8581
|
function Xe(e, t, n, r, i, o) {
|
|
8568
8582
|
const l = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", a = "tableContent";
|
|
8569
|
-
n[0] !== 0 && (o.end = Object.assign({},
|
|
8570
|
-
const s =
|
|
8583
|
+
n[0] !== 0 && (o.end = Object.assign({}, ve(t.events, n[0])), e.add(n[0], 0, [["exit", o, t]]));
|
|
8584
|
+
const s = ve(t.events, n[1]);
|
|
8571
8585
|
if (o = {
|
|
8572
8586
|
type: l,
|
|
8573
8587
|
start: Object.assign({}, s),
|
|
8574
8588
|
// Note: correct end is set later.
|
|
8575
8589
|
end: Object.assign({}, s)
|
|
8576
8590
|
}, e.add(n[1], 0, [["enter", o, t]]), n[2] !== 0) {
|
|
8577
|
-
const u =
|
|
8591
|
+
const u = ve(t.events, n[2]), f = ve(t.events, n[3]), c = {
|
|
8578
8592
|
type: a,
|
|
8579
8593
|
start: Object.assign({}, u),
|
|
8580
8594
|
end: Object.assign({}, f)
|
|
@@ -8588,13 +8602,13 @@ function Xe(e, t, n, r, i, o) {
|
|
|
8588
8602
|
}
|
|
8589
8603
|
e.add(n[3] + 1, 0, [["exit", c, t]]);
|
|
8590
8604
|
}
|
|
8591
|
-
return i !== void 0 && (o.end = Object.assign({},
|
|
8605
|
+
return i !== void 0 && (o.end = Object.assign({}, ve(t.events, i)), e.add(i, 0, [["exit", o, t]]), o = void 0), o;
|
|
8592
8606
|
}
|
|
8593
8607
|
function Kt(e, t, n, r, i) {
|
|
8594
|
-
const o = [], l =
|
|
8608
|
+
const o = [], l = ve(t.events, n);
|
|
8595
8609
|
i && (i.end = Object.assign({}, l), o.push(["exit", i, t])), r.end = Object.assign({}, l), o.push(["exit", r, t]), e.add(n + 1, 0, o);
|
|
8596
8610
|
}
|
|
8597
|
-
function
|
|
8611
|
+
function ve(e, t) {
|
|
8598
8612
|
const n = e[t], r = n[0] === "enter" ? "start" : "end";
|
|
8599
8613
|
return n[1][r];
|
|
8600
8614
|
}
|
|
@@ -8661,7 +8675,7 @@ function $c(e) {
|
|
|
8661
8675
|
const qc = mi(
|
|
8662
8676
|
() => import(
|
|
8663
8677
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8664
|
-
"./LazyMarkdownWithExtra.
|
|
8678
|
+
"./LazyMarkdownWithExtra.BEPUVoKN.js"
|
|
8665
8679
|
)
|
|
8666
8680
|
), Tn = {
|
|
8667
8681
|
MODEL: "Model",
|
|
@@ -8714,5 +8728,5 @@ export {
|
|
|
8714
8728
|
$c as remarkGfm,
|
|
8715
8729
|
Bn as svg,
|
|
8716
8730
|
Kn as visit,
|
|
8717
|
-
|
|
8731
|
+
_r as visitParents
|
|
8718
8732
|
};
|