@mdsvex/render 1.0.0-next.5 → 1.1.0
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/component.d.ts +64 -2
- package/dist/component.js +66 -25
- package/dist/html_cursor.d.ts +6 -0
- package/dist/html_cursor.js +1151 -1131
- package/dist/index.d.ts +1 -1
- package/dist/sourcemap.js +268 -244
- package/package.json +2 -2
- package/src/Node.svelte +741 -26
- package/src/component.ts +164 -2
- package/src/html_cursor.ts +68 -11
- package/src/index.ts +7 -1
- package/src/sourcemap.ts +27 -9
package/dist/html_cursor.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Cursor as
|
|
2
|
-
import { is_raw_text_tag as
|
|
3
|
-
import { footnote_index as
|
|
4
|
-
import { MapSink as
|
|
5
|
-
import { trace_records_to_v3 as
|
|
6
|
-
import { top_block as
|
|
7
|
-
function
|
|
1
|
+
import { Cursor as ir } from "@mdsvex/parse/cursor";
|
|
2
|
+
import { is_raw_text_tag as je, unread_spans as os, spans_text as dl, spans_have as hl } from "@mdsvex/parse/utils";
|
|
3
|
+
import { footnote_index as ss, footnote_id as xr, footnote_ref_id as yr, buf_code as Er } from "@mdsvex/parse/buf-utils";
|
|
4
|
+
import { MapSink as Sr, record_mappings as gl, RecordMapping as sn, record_data as _l } from "./mappings.js";
|
|
5
|
+
import { trace_records_to_v3 as bl, trace_room as ml, trace_free_at as wl, trace_take as vl, trace_of_records as pl, reserve_trace as xl, records_by_offset as yl } from "./sourcemap.js";
|
|
6
|
+
import { top_block as El } from "./component.js";
|
|
7
|
+
function Sl(t, e, n, s, o) {
|
|
8
8
|
const r = [];
|
|
9
9
|
if (n !== void 0) {
|
|
10
10
|
const l = Object.keys(n).sort();
|
|
@@ -12,8 +12,8 @@ function pl(t, e, n, s, o) {
|
|
|
12
12
|
}
|
|
13
13
|
return JSON.stringify([t, e, r, s, o]);
|
|
14
14
|
}
|
|
15
|
-
const
|
|
16
|
-
class
|
|
15
|
+
const ls = /^[A-Za-z_$][\w$]*$/;
|
|
16
|
+
class Al {
|
|
17
17
|
/**
|
|
18
18
|
* sources are lowest precedence first so a later one replaces a name,
|
|
19
19
|
* suffix keeps the locals of different scopes apart
|
|
@@ -41,37 +41,37 @@ class xl {
|
|
|
41
41
|
}
|
|
42
42
|
local_for(e, n) {
|
|
43
43
|
const s = e.charAt(0).toUpperCase() + e.slice(1).replace(/[^\w$]/g, "_") + "_MDSVEX_" + n;
|
|
44
|
-
let o =
|
|
44
|
+
let o = ls.test(s) ? s : "_" + s;
|
|
45
45
|
for (let r = 1; this.locals.has(o); r++) o = s + r;
|
|
46
46
|
return this.locals.add(o), o;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return "import " +
|
|
49
|
+
function ql(t) {
|
|
50
|
+
return "import " + is(t) + `;
|
|
51
51
|
`;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function is(t) {
|
|
54
54
|
return /^[\w$@#:./~+%-]*$/.test(t) ? "'" + t + "'" : JSON.stringify(t);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function as(t, e) {
|
|
57
57
|
const n = /* @__PURE__ */ new Map();
|
|
58
58
|
e !== void 0 && n.set(e.specifier, []);
|
|
59
59
|
for (let o = 0; o < t.length; o++) {
|
|
60
60
|
const { name: r, specifier: l, local: a } = t[o];
|
|
61
61
|
let f = n.get(l);
|
|
62
62
|
f === void 0 && n.set(l, f = []), f.push(
|
|
63
|
-
(
|
|
63
|
+
(ls.test(r) ? r : JSON.stringify(r)) + " as " + a
|
|
64
64
|
);
|
|
65
65
|
}
|
|
66
66
|
let s = "";
|
|
67
67
|
for (const [o, r] of n) {
|
|
68
68
|
let l = r.length === 0 ? "" : "{ " + r.join(", ") + " }";
|
|
69
|
-
e !== void 0 && o === e.specifier && (l = l === "" ? e.local : e.local + ", " + l), s += "import " + l + " from " +
|
|
69
|
+
e !== void 0 && o === e.specifier && (l = l === "" ? e.local : e.local + ", " + l), s += "import " + l + " from " + is(o) + `;
|
|
70
70
|
`;
|
|
71
71
|
}
|
|
72
72
|
return s;
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const Ll = `
|
|
75
75
|
AElig AMP Aacute Abreve Acirc Acy Afr Agrave Alpha Amacr And Aogon Aopf
|
|
76
76
|
ApplyFunction Aring Ascr Assign Atilde Auml Backslash Barv Barwed Bcy Because
|
|
77
77
|
Bernoullis Beta Bfr Bopf Breve Bscr Bumpeq CHcy COPY Cacute Cap
|
|
@@ -287,23 +287,23 @@ xharr xi xlArr xlarr xmap xnis xodot xopf xoplus xotime xrArr xrarr xscr xsqcup
|
|
|
287
287
|
xuplus xutri xvee xwedge yacute yacy ycirc ycy yen yfr yicy yopf yscr yucy yuml
|
|
288
288
|
zacute zcaron zcy zdot zeetrf zeta zfr zhcy zigrarr zopf zscr zwj zwnj
|
|
289
289
|
`;
|
|
290
|
-
let
|
|
291
|
-
function
|
|
292
|
-
return
|
|
290
|
+
let Yn = null;
|
|
291
|
+
function Tl(t) {
|
|
292
|
+
return Yn === null && (Yn = new Set(Ll.trim().split(/\s+/))), Yn.has(t);
|
|
293
293
|
}
|
|
294
|
-
const W = String.prototype.indexOf,
|
|
294
|
+
const W = String.prototype.indexOf, fs = /[&<>"]/, Cl = /[&<>"]/g, Ol = {
|
|
295
295
|
"&": "&",
|
|
296
296
|
"<": "<",
|
|
297
297
|
">": ">",
|
|
298
298
|
'"': """
|
|
299
299
|
};
|
|
300
|
-
function
|
|
301
|
-
return
|
|
300
|
+
function Dl(t) {
|
|
301
|
+
return Ol[t];
|
|
302
302
|
}
|
|
303
|
-
function
|
|
304
|
-
return
|
|
303
|
+
function ve(t) {
|
|
304
|
+
return fs.test(t) ? t.replace(Cl, Dl) : t;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function cs(t, e, n) {
|
|
307
307
|
let s = e + 1;
|
|
308
308
|
if (s >= n) return -1;
|
|
309
309
|
let o = t.charCodeAt(s);
|
|
@@ -321,17 +321,17 @@ function ls(t, e, n) {
|
|
|
321
321
|
const r = s;
|
|
322
322
|
for (; s < n && s - r < 32 && (o = t.charCodeAt(s), (o | 32) >= 97 && (o | 32) <= 122 || s > r && o >= 48 && o <= 57); )
|
|
323
323
|
s++;
|
|
324
|
-
return s - r < 2 || s >= n || t.charCodeAt(s) !== 59 ? -1 :
|
|
324
|
+
return s - r < 2 || s >= n || t.charCodeAt(s) !== 59 ? -1 : Tl(t.slice(r, s)) ? s + 1 : -1;
|
|
325
325
|
}
|
|
326
326
|
function D(t) {
|
|
327
|
-
if (!
|
|
327
|
+
if (!fs.test(t)) return t;
|
|
328
328
|
let e = "", n = 0;
|
|
329
329
|
const s = t.length;
|
|
330
330
|
for (let o = 0; o < s; o++) {
|
|
331
331
|
const r = t.charCodeAt(o);
|
|
332
332
|
let l;
|
|
333
333
|
if (r === 38) {
|
|
334
|
-
if (
|
|
334
|
+
if (cs(t, o, s) !== -1) continue;
|
|
335
335
|
l = "&";
|
|
336
336
|
} else if (r === 60) l = "<";
|
|
337
337
|
else if (r === 62) l = ">";
|
|
@@ -341,7 +341,7 @@ function D(t) {
|
|
|
341
341
|
}
|
|
342
342
|
return n === 0 ? t : e + t.slice(n);
|
|
343
343
|
}
|
|
344
|
-
const
|
|
344
|
+
const us = /[&<>"{}]/, Nl = /[&<>"{}]/g, Rl = {
|
|
345
345
|
"&": "&",
|
|
346
346
|
"<": "<",
|
|
347
347
|
">": ">",
|
|
@@ -349,29 +349,34 @@ const is = /[&<>"{}]/, Tl = /[&<>"{}]/g, Cl = {
|
|
|
349
349
|
"{": "{",
|
|
350
350
|
"}": "}"
|
|
351
351
|
};
|
|
352
|
-
function
|
|
353
|
-
return
|
|
354
|
-
}
|
|
355
|
-
function st(t) {
|
|
356
|
-
return is.test(t) ? t.replace(Tl, yr) : t;
|
|
352
|
+
function Ar(t) {
|
|
353
|
+
return Rl[t];
|
|
357
354
|
}
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
function Da() {
|
|
361
|
-
return sr ? (sr = !1, !0) : !1;
|
|
355
|
+
function Rt(t) {
|
|
356
|
+
return us.test(t) ? t.replace(Nl, Ar) : t;
|
|
362
357
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
365
|
-
const e = Ke(t);
|
|
366
|
-
return as.test(e) ? e.replace(fs, yr) : e;
|
|
358
|
+
function ee(t) {
|
|
359
|
+
return St === -1 ? Rt(t) : ve(t);
|
|
367
360
|
}
|
|
368
|
-
const
|
|
369
|
-
|
|
370
|
-
|
|
361
|
+
const ds = /[{}]/, hs = /[{}]/g;
|
|
362
|
+
let ar = !1;
|
|
363
|
+
function Ba() {
|
|
364
|
+
return ar ? (ar = !1, !0) : !1;
|
|
371
365
|
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
366
|
+
function ze(t) {
|
|
367
|
+
if (t === "math" && (ar = !0), !us.test(t)) return t;
|
|
368
|
+
const e = ve(t);
|
|
369
|
+
return ds.test(e) ? e.replace(hs, Ar) : e;
|
|
370
|
+
}
|
|
371
|
+
const Pl = /"/g;
|
|
372
|
+
function Qt(t, e) {
|
|
373
|
+
return e ? W.call(t, '"') === -1 ? t : t.replace(Pl, """) : ve(t);
|
|
374
|
+
}
|
|
375
|
+
let Fe = "", $t = 0, De = 0, Nt = -1, it = -1, at = -1, ft = -1, bt = -1, mt = -1, St = -1;
|
|
376
|
+
const Zn = 1073741823;
|
|
377
|
+
let Ft = !0, ne = null;
|
|
378
|
+
const Bl = 1024;
|
|
379
|
+
function Ul(t) {
|
|
375
380
|
const e = new Uint8Array((t.size >>> 3) + 1), n = t._strings;
|
|
376
381
|
for (const s in n) {
|
|
377
382
|
const o = +s;
|
|
@@ -379,99 +384,103 @@ function Nl(t) {
|
|
|
379
384
|
}
|
|
380
385
|
return e;
|
|
381
386
|
}
|
|
382
|
-
function
|
|
387
|
+
function dn(t) {
|
|
383
388
|
const e = t._strings.length;
|
|
384
|
-
e === 0 ?
|
|
389
|
+
e === 0 ? Ft = !1 : e > Bl && (ne = Ul(t));
|
|
390
|
+
}
|
|
391
|
+
function Ne(t) {
|
|
392
|
+
Fe = t, $t = t.length, De = 0, Nt = -1, it = -1, at = -1, ft = -1, bt = St, mt = St;
|
|
385
393
|
}
|
|
386
|
-
function
|
|
387
|
-
|
|
394
|
+
function So() {
|
|
395
|
+
St = Zn, bt = Zn, mt = Zn;
|
|
388
396
|
}
|
|
389
397
|
function M(t, e) {
|
|
390
|
-
const n =
|
|
391
|
-
return n === -1 ?
|
|
398
|
+
const n = Fe.indexOf(t, e);
|
|
399
|
+
return n === -1 ? $t : n;
|
|
392
400
|
}
|
|
393
|
-
function
|
|
394
|
-
return
|
|
401
|
+
function Il(t) {
|
|
402
|
+
return gt(t, t.index, t.value_start, t.value_end, !1);
|
|
395
403
|
}
|
|
396
|
-
function
|
|
397
|
-
return B !== null ?
|
|
404
|
+
function Sn(t) {
|
|
405
|
+
return B !== null ? Js(t) : Pt(t);
|
|
398
406
|
}
|
|
399
|
-
function
|
|
407
|
+
function An(t) {
|
|
400
408
|
return t.words[
|
|
401
409
|
t.index * 12 + 8
|
|
402
410
|
/* first_child */
|
|
403
411
|
] !== 4294967295;
|
|
404
412
|
}
|
|
405
|
-
function
|
|
406
|
-
return
|
|
413
|
+
function Pt(t) {
|
|
414
|
+
return An(t) ? Er(t.buffer, t.index, t.source) : t.text();
|
|
407
415
|
}
|
|
408
|
-
function
|
|
409
|
-
if (B !== null) return
|
|
410
|
-
if (
|
|
416
|
+
function $e(t) {
|
|
417
|
+
if (B !== null) return ee(Js(t));
|
|
418
|
+
if (An(t))
|
|
419
|
+
return ee(Er(t.buffer, t.index, t.source));
|
|
411
420
|
const e = t.prebuilt;
|
|
412
|
-
return e === void 0 ?
|
|
421
|
+
return e === void 0 ? qr(t) : ee(e);
|
|
413
422
|
}
|
|
414
|
-
function
|
|
415
|
-
return
|
|
423
|
+
function qr(t) {
|
|
424
|
+
return gt(t, t.index, t.value_start, t.value_end, !0);
|
|
416
425
|
}
|
|
417
|
-
function
|
|
418
|
-
return
|
|
426
|
+
function ke(t) {
|
|
427
|
+
return An(t) ? ee(Er(t.buffer, t.index, t.source)) : qr(t);
|
|
419
428
|
}
|
|
420
|
-
function
|
|
421
|
-
return
|
|
429
|
+
function Hl(t, e, n, s) {
|
|
430
|
+
return bt < e && (bt = M("{", e)), mt < e && (mt = M("}", e)), bt < s && (s = bt), mt < s && (s = mt), s >= n ? t.slice(e, n) : Vl(t, e, n, s);
|
|
422
431
|
}
|
|
423
|
-
function
|
|
432
|
+
function Vl(t, e, n, s) {
|
|
424
433
|
let o = "", r = e;
|
|
425
434
|
for (; s < n; ) {
|
|
426
435
|
const l = t.charCodeAt(s);
|
|
427
|
-
o += t.slice(r, s), l === 38 ? (o += "&", Nt = M("&", s + 1)) : l === 60 ? (o += "<",
|
|
436
|
+
o += t.slice(r, s), l === 38 ? (o += "&", Nt = M("&", s + 1)) : l === 60 ? (o += "<", it = M("<", s + 1)) : l === 62 ? (o += ">", at = M(">", s + 1)) : l === 34 ? (o += """, ft = M('"', s + 1)) : l === 123 ? (o += "{", bt = M("{", s + 1)) : (o += "}", mt = M("}", s + 1)), r = s + 1, s = Nt, it < s && (s = it), at < s && (s = at), ft < s && (s = ft), bt < s && (s = bt), mt < s && (s = mt);
|
|
428
437
|
}
|
|
429
|
-
return
|
|
438
|
+
return De = n, o + t.slice(r, n);
|
|
430
439
|
}
|
|
431
|
-
function
|
|
432
|
-
if (
|
|
433
|
-
const f =
|
|
440
|
+
function gt(t, e, n, s, o) {
|
|
441
|
+
if (Ft) {
|
|
442
|
+
const f = ne;
|
|
434
443
|
if (f === null || (f[e >>> 3] & 1 << (e & 7)) !== 0) {
|
|
435
444
|
const c = t.prebuilt_at(e);
|
|
436
|
-
if (c !== void 0) return
|
|
445
|
+
if (c !== void 0) return Kl(t, e, c, o);
|
|
437
446
|
}
|
|
438
447
|
}
|
|
439
448
|
if (n === 4294967295 || s === 4294967295 || s <= n) return "";
|
|
440
449
|
const r = t.source;
|
|
441
|
-
if (r !==
|
|
442
|
-
n <
|
|
450
|
+
if (r !== Fe && Ne(r), s > $t) return _a(t, e, n, s, o);
|
|
451
|
+
n < De && Ne(r), Nt < n && (Nt = M("&", n)), it < n && (it = M("<", n)), at < n && (at = M(">", n)), ft < n && (ft = M('"', n)), De = n;
|
|
443
452
|
let l = Nt;
|
|
444
|
-
if (
|
|
453
|
+
if (it < l && (l = it), at < l && (l = at), ft < l && (l = ft), o) return Hl(r, n, s, l);
|
|
445
454
|
const a = r.charCodeAt(n);
|
|
446
|
-
return (a === 123 || a === 125) &&
|
|
455
|
+
return (a === 123 || a === 125) && pe(r, n) ? Gl(t, e, n, s, a) : l >= s ? r.slice(n, s) : Ml(r, n, s, l);
|
|
447
456
|
}
|
|
448
|
-
function
|
|
449
|
-
return s
|
|
457
|
+
function Kl(t, e, n, s) {
|
|
458
|
+
return s ? ee(n) : (t.words[
|
|
450
459
|
e * 12 + 10
|
|
451
460
|
/* pending */
|
|
452
|
-
] & 2) !== 0 ?
|
|
461
|
+
] & 2) !== 0 ? Rt(n) : D(n);
|
|
453
462
|
}
|
|
454
|
-
function
|
|
455
|
-
return (o === 123 ? "{" : "}") +
|
|
463
|
+
function Gl(t, e, n, s, o) {
|
|
464
|
+
return (o === 123 ? "{" : "}") + gt(t, e, n + 1, s, !1);
|
|
456
465
|
}
|
|
457
|
-
function
|
|
466
|
+
function pe(t, e) {
|
|
458
467
|
let n = e;
|
|
459
468
|
for (; n > 0 && t.charCodeAt(n - 1) === 92; ) n--;
|
|
460
469
|
return (e - n & 1) === 1;
|
|
461
470
|
}
|
|
462
|
-
function
|
|
463
|
-
return s === e && s > 0 && t.charCodeAt(s - 1) === 92 ? !1 :
|
|
471
|
+
function gs(t, e, n, s) {
|
|
472
|
+
return s === e && s > 0 && t.charCodeAt(s - 1) === 92 ? !1 : cs(t, s, n) !== -1;
|
|
464
473
|
}
|
|
465
|
-
function
|
|
474
|
+
function Ml(t, e, n, s) {
|
|
466
475
|
let o = "", r = e;
|
|
467
476
|
for (; s < n; ) {
|
|
468
477
|
const l = t.charCodeAt(s);
|
|
469
|
-
o += t.slice(r, s), r = s + 1, l === 38 ? (Nt = M("&", s + 1),
|
|
478
|
+
o += t.slice(r, s), r = s + 1, l === 38 ? (Nt = M("&", s + 1), gs(t, e, n, s) ? r = s : o += "&") : l === 60 ? (o += "<", it = M("<", s + 1)) : l === 62 ? (o += ">", at = M(">", s + 1)) : (o += """, ft = M('"', s + 1)), s = Nt, it < s && (s = it), at < s && (s = at), ft < s && (s = ft);
|
|
470
479
|
}
|
|
471
|
-
return
|
|
480
|
+
return De = n, o + t.slice(r, n);
|
|
472
481
|
}
|
|
473
|
-
const
|
|
474
|
-
function
|
|
482
|
+
const Ua = 0, Ia = 1, Ha = 2, Va = 3, Ka = 5, Ga = 6, Ma = 7, ja = 8, za = 9, Fa = 10, $a = 11, ka = 12, Wa = 13, Ja = 14, Qa = 15, Ya = 16, Za = 17, Xa = 18, tf = 19, ef = 20, nf = 21, rf = 22, of = 23, sf = 24, lf = 25, af = 26, ff = 27, cf = 28, uf = 29, df = 4, hf = 30, gf = 31, _f = 32, bf = 33, mf = 34, wf = 35, vf = 4294967295;
|
|
483
|
+
function jl(t, e, n, s, o, r, l) {
|
|
475
484
|
if (n > e && s !== 4294967295) {
|
|
476
485
|
let a = t.rec;
|
|
477
486
|
const f = t.n;
|
|
@@ -488,7 +497,7 @@ function S(t, e, n, s, o, r, l) {
|
|
|
488
497
|
function L(t, e, n, s, o, r, l) {
|
|
489
498
|
const a = r.start, f = r.value_start, c = r.value_end, u = c > f, d = r.end, h = u ? c : d;
|
|
490
499
|
if (a === 4294967295 || h === 4294967295 || !t.syntax) {
|
|
491
|
-
|
|
500
|
+
zl(t, e, n, s, o, r, l);
|
|
492
501
|
return;
|
|
493
502
|
}
|
|
494
503
|
const v = r.index, E = u ? f : a;
|
|
@@ -496,7 +505,7 @@ function L(t, e, n, s, o, r, l) {
|
|
|
496
505
|
const p = t.n;
|
|
497
506
|
p + 18 > g.length && (g = t.grow()), g[p] = e, g[p + 1] = o - e, g[p + 2] = a, g[p + 3] = d > a ? d - a : 0, g[p + 4] = v, g[p + 5] = l << 2, g[p + 6] = e, g[p + 7] = n - e, g[p + 8] = a, g[p + 9] = E > a ? E - a : 0, g[p + 10] = v, g[p + 11] = 14, g[p + 12] = s, g[p + 13] = o - s, g[p + 14] = h, g[p + 15] = d > h ? d - h : 0, g[p + 16] = v, g[p + 17] = 15, t.n = p + 18;
|
|
498
507
|
}
|
|
499
|
-
function
|
|
508
|
+
function zl(t, e, n, s, o, r, l) {
|
|
500
509
|
const a = r.index, f = r.start, c = r.end;
|
|
501
510
|
if (c === 4294967295 || (S(t, e, o, f, c, a, l << 2), !t.syntax)) return;
|
|
502
511
|
const u = r.value_start, d = r.value_end, h = d > u;
|
|
@@ -520,7 +529,7 @@ function Gl(t, e, n, s, o, r, l) {
|
|
|
520
529
|
/* STRUCTURE_CLOSE */
|
|
521
530
|
);
|
|
522
531
|
}
|
|
523
|
-
const
|
|
532
|
+
const Fl = ["", "<h1", "<h2", "<h3", "<h4", "<h5", "<h6"], $l = ["", "<h1>", "<h2>", "<h3>", "<h4>", "<h5>", "<h6>"], kl = ["", "</h1>", "</h2>", "</h3>", "</h4>", "</h5>", "</h6>"], Lr = /* @__PURE__ */ new Set([
|
|
524
533
|
// list semantics
|
|
525
534
|
"ordered",
|
|
526
535
|
"tight",
|
|
@@ -546,18 +555,18 @@ const Kl = ["", "<h1", "<h2", "<h3", "<h4", "<h5", "<h6"], Ml = ["", "<h1>", "<h
|
|
|
546
555
|
function O(t) {
|
|
547
556
|
return t == null ? "" : typeof t == "string" ? t : `${t}`;
|
|
548
557
|
}
|
|
549
|
-
const
|
|
550
|
-
function
|
|
551
|
-
return typeof e == "object" && e !== null && e.value === t && !
|
|
558
|
+
const _s = /^[A-Za-z_$]/;
|
|
559
|
+
function Wl(t, e) {
|
|
560
|
+
return typeof e == "object" && e !== null && e.value === t && !_s.test(t);
|
|
552
561
|
}
|
|
553
|
-
function
|
|
554
|
-
return e === t && !
|
|
562
|
+
function xe(t, e) {
|
|
563
|
+
return e === t && !_s.test(t) ? " {" + t + "}" : " " + t + "={" + e + "}";
|
|
555
564
|
}
|
|
556
|
-
function
|
|
565
|
+
function We(t, e) {
|
|
557
566
|
let n = "";
|
|
558
567
|
for (let s = 0; s < t.length; s++) {
|
|
559
568
|
const o = t[s][0], r = t[s][1];
|
|
560
|
-
r === !0 ? n += " " + o : typeof r == "object" && r !== null ? n +=
|
|
569
|
+
r === !0 ? n += " " + o : typeof r == "object" && r !== null ? n += xe(o, O(r.value)) : n += " " + o + '="' + Qt(O(r), e) + '"';
|
|
561
570
|
}
|
|
562
571
|
return n;
|
|
563
572
|
}
|
|
@@ -566,37 +575,37 @@ function T(t, e) {
|
|
|
566
575
|
if (!n) return "";
|
|
567
576
|
let s = "";
|
|
568
577
|
for (const o in n) {
|
|
569
|
-
if (
|
|
578
|
+
if (Lr.has(o) || e !== void 0 && e.has(o)) continue;
|
|
570
579
|
const r = n[o];
|
|
571
|
-
r === !0 ? s += " " + o : r !== !1 && r != null && (typeof r == "object" && r.type === "expression" ? s += " " + o + "={" + O(r.value) + "}" : s += " " + o + '="' +
|
|
580
|
+
r === !0 ? s += " " + o : r !== !1 && r != null && (typeof r == "object" && r.type === "expression" ? s += " " + o + "={" + O(r.value) + "}" : s += " " + o + '="' + ve(String(r)) + '"');
|
|
572
581
|
}
|
|
573
582
|
return s;
|
|
574
583
|
}
|
|
575
584
|
let i = "";
|
|
576
|
-
function
|
|
585
|
+
function K(t, e, n, s) {
|
|
577
586
|
const o = T(t);
|
|
578
587
|
o.length !== 0 ? i = i + e + o + s : i += n;
|
|
579
588
|
}
|
|
580
|
-
let
|
|
581
|
-
const
|
|
582
|
-
let I = 0,
|
|
583
|
-
const
|
|
584
|
-
let
|
|
585
|
-
const
|
|
586
|
-
let
|
|
589
|
+
let _t = !1, Je = !1, z = null, Re = null, nt = !1, Pe = null, bn = !1, re = "";
|
|
590
|
+
const Oe = /* @__PURE__ */ new Set(), Be = [];
|
|
591
|
+
let I = 0, Qe = !1;
|
|
592
|
+
const Ue = [], Tr = Object.freeze([]);
|
|
593
|
+
let Ce = Tr, st = "", ut = "";
|
|
594
|
+
const Bt = [], mn = /* @__PURE__ */ new Set();
|
|
595
|
+
let dt = -1, Ht = -1;
|
|
587
596
|
const rt = [];
|
|
588
|
-
let
|
|
597
|
+
let wt = "", vt = -1, Vt = `<script>
|
|
589
598
|
`;
|
|
590
|
-
function
|
|
591
|
-
|
|
599
|
+
function bs() {
|
|
600
|
+
dt = -1, Ht = -1, Vt = `<script>
|
|
592
601
|
`, rt.length !== 0 && (rt.length = 0);
|
|
593
602
|
}
|
|
594
|
-
function
|
|
595
|
-
const s =
|
|
596
|
-
rt.length === 0 &&
|
|
603
|
+
function Xn(t, e, n) {
|
|
604
|
+
const s = ms(e);
|
|
605
|
+
rt.length === 0 && st === "" && !n || (n && (st += Vn), ws(t, e, s), dt === -1 && Ht === -1 && (ut = Vt + st + "<\/script>"));
|
|
597
606
|
}
|
|
598
|
-
function
|
|
599
|
-
|
|
607
|
+
function ms(t) {
|
|
608
|
+
bs();
|
|
600
609
|
const e = t._n;
|
|
601
610
|
let n = e[
|
|
602
611
|
8
|
|
@@ -618,7 +627,7 @@ function hs(t) {
|
|
|
618
627
|
}
|
|
619
628
|
return n;
|
|
620
629
|
}
|
|
621
|
-
function
|
|
630
|
+
function ws(t, e, n) {
|
|
622
631
|
const s = e._n;
|
|
623
632
|
let o = !1;
|
|
624
633
|
for (; n !== 4294967295; ) {
|
|
@@ -634,8 +643,8 @@ function gs(t, e, n) {
|
|
|
634
643
|
], a = l === 0 ? void 0 : e._meta[l - 1];
|
|
635
644
|
if (a !== void 0 && a.tag === "script" && !a.self_closing) {
|
|
636
645
|
const f = a.attributes;
|
|
637
|
-
if (!
|
|
638
|
-
|
|
646
|
+
if (!Yl(f)) {
|
|
647
|
+
dt = n;
|
|
639
648
|
return;
|
|
640
649
|
}
|
|
641
650
|
f.src === void 0 && f.lang === "ts" && (o = !0);
|
|
@@ -646,10 +655,10 @@ function gs(t, e, n) {
|
|
|
646
655
|
/* next */
|
|
647
656
|
];
|
|
648
657
|
}
|
|
649
|
-
rt.length !== 0 && (
|
|
658
|
+
rt.length !== 0 && (Ht = rt[0]);
|
|
650
659
|
for (let r = 0; !o && r < rt.length; r++) {
|
|
651
660
|
const l = rt[r] * 12;
|
|
652
|
-
o =
|
|
661
|
+
o = Jl.test(t.slice(s[
|
|
653
662
|
l + 3
|
|
654
663
|
/* value_start */
|
|
655
664
|
], s[
|
|
@@ -657,35 +666,35 @@ function gs(t, e, n) {
|
|
|
657
666
|
/* value_end */
|
|
658
667
|
]));
|
|
659
668
|
}
|
|
660
|
-
o && (
|
|
669
|
+
o && (Vt = `<script lang="ts">
|
|
661
670
|
`);
|
|
662
671
|
}
|
|
663
|
-
const
|
|
664
|
-
function
|
|
665
|
-
|
|
666
|
-
let n =
|
|
667
|
-
if (
|
|
668
|
-
const o =
|
|
672
|
+
const Jl = /^import\s+type(?:\s*[{*]|\s+(?!from\b)[\w$])|[{,]\s*type\s+(?!as\b)[\w$]/;
|
|
673
|
+
function Ql(t, e) {
|
|
674
|
+
ws(t, e, ms(e));
|
|
675
|
+
let n = zo, s = !0;
|
|
676
|
+
if (dt !== -1) {
|
|
677
|
+
const o = dt * 12, r = t.words, l = t.slice(r[
|
|
669
678
|
o + 3
|
|
670
679
|
/* value_start */
|
|
671
680
|
], r[
|
|
672
681
|
o + 4
|
|
673
682
|
/* value_end */
|
|
674
683
|
]);
|
|
675
|
-
if (l.indexOf("$props") !== -1 &&
|
|
684
|
+
if (l.indexOf("$props") !== -1 && na.test(l)) {
|
|
676
685
|
s = !1;
|
|
677
|
-
const a =
|
|
686
|
+
const a = ra.exec(l);
|
|
678
687
|
n = a === null ? "" : a[1];
|
|
679
688
|
}
|
|
680
689
|
}
|
|
681
|
-
|
|
682
|
-
specifier:
|
|
683
|
-
local:
|
|
684
|
-
}) +
|
|
685
|
-
`),
|
|
686
|
-
}
|
|
687
|
-
function
|
|
688
|
-
|
|
690
|
+
st = as(Bt, {
|
|
691
|
+
specifier: bo,
|
|
692
|
+
local: ur
|
|
693
|
+
}) + re + Vn, s && (st += "let " + zo + ` = $props();
|
|
694
|
+
`), wo = "<" + ur + (mo ? " {...metadata}" : "") + (xn === "" ? "" : " {" + xn + "}") + (n === "" ? "" : " {..." + n + "}") + ">", dt === -1 && Ht === -1 && (ut = Vt + st + "<\/script>");
|
|
695
|
+
}
|
|
696
|
+
function hn(t, e) {
|
|
697
|
+
wt = e;
|
|
689
698
|
const n = t._n;
|
|
690
699
|
let s = n[
|
|
691
700
|
8
|
|
@@ -703,7 +712,7 @@ function un(t, e) {
|
|
|
703
712
|
/* meta */
|
|
704
713
|
], l = r === 0 ? void 0 : t._meta[r - 1], a = l !== void 0 && l.tag === "script" && !l.self_closing, f = a ? l.attributes : void 0;
|
|
705
714
|
if (a && f !== void 0 && f.src === void 0 && (f.module !== void 0 || f.context === "module")) {
|
|
706
|
-
|
|
715
|
+
vt = s;
|
|
707
716
|
return;
|
|
708
717
|
}
|
|
709
718
|
}
|
|
@@ -713,8 +722,8 @@ function un(t, e) {
|
|
|
713
722
|
];
|
|
714
723
|
}
|
|
715
724
|
}
|
|
716
|
-
function
|
|
717
|
-
if (
|
|
725
|
+
function Ao(t, e) {
|
|
726
|
+
if (hn(t, e), vt !== -1) return;
|
|
718
727
|
const n = t._n, s = n[
|
|
719
728
|
8
|
|
720
729
|
/* first_child */
|
|
@@ -722,34 +731,34 @@ function xo(t, e) {
|
|
|
722
731
|
(s === 4294967295 || (n[
|
|
723
732
|
s * 12
|
|
724
733
|
/* stride */
|
|
725
|
-
] & 255) !== 33) && (
|
|
734
|
+
] & 255) !== 33) && (ut += Ie());
|
|
726
735
|
}
|
|
727
|
-
function
|
|
728
|
-
|
|
736
|
+
function ln() {
|
|
737
|
+
wt = "", vt = -1, ut = "";
|
|
729
738
|
}
|
|
730
|
-
function
|
|
731
|
-
return
|
|
732
|
-
` +
|
|
739
|
+
function Ie() {
|
|
740
|
+
return vt !== -1 ? "" : `<script module>
|
|
741
|
+
` + wt + `
|
|
733
742
|
<\/script>`;
|
|
734
743
|
}
|
|
735
|
-
function
|
|
744
|
+
function Yl(t) {
|
|
736
745
|
return t !== void 0 && (t.src !== void 0 || t.module !== void 0 || t.context === "module");
|
|
737
746
|
}
|
|
738
|
-
function
|
|
747
|
+
function Ye(t, e) {
|
|
739
748
|
if (e !== "script" || t.parent_kind !== 0) return !1;
|
|
740
749
|
const n = t.meta().attributes;
|
|
741
750
|
return n !== void 0 && n.src !== void 0 && t.text().trim() === "";
|
|
742
751
|
}
|
|
743
|
-
function
|
|
752
|
+
function qn(t) {
|
|
744
753
|
let e = '<svelte:element this={"script"}';
|
|
745
754
|
const n = t.meta().attributes, s = !t.synthetic;
|
|
746
755
|
for (const o in n) {
|
|
747
756
|
const r = n[o];
|
|
748
|
-
r === !0 ? e += " " + o : typeof r == "object" && r.type === "expression" ? e +=
|
|
757
|
+
r === !0 ? e += " " + o : typeof r == "object" && r.type === "expression" ? e += xe(o, O(r.value)) : e += " " + o + '="' + Qt(r, s) + '"';
|
|
749
758
|
}
|
|
750
759
|
return e + "></svelte:element>";
|
|
751
760
|
}
|
|
752
|
-
function
|
|
761
|
+
function ae(t, e, n) {
|
|
753
762
|
const s = t.words;
|
|
754
763
|
for (let o = 0; o < rt.length; o++) {
|
|
755
764
|
const r = rt[o], l = r * 12, a = s[
|
|
@@ -775,9 +784,9 @@ function le(t, e, n) {
|
|
|
775
784
|
i = i + c + `
|
|
776
785
|
`;
|
|
777
786
|
}
|
|
778
|
-
i +=
|
|
787
|
+
i += st;
|
|
779
788
|
}
|
|
780
|
-
function
|
|
789
|
+
function vs(t) {
|
|
781
790
|
const e = t.words;
|
|
782
791
|
let n = "";
|
|
783
792
|
for (let s = 0; s < rt.length; s++) {
|
|
@@ -791,11 +800,11 @@ function _s(t) {
|
|
|
791
800
|
])) + `
|
|
792
801
|
`;
|
|
793
802
|
}
|
|
794
|
-
return n +
|
|
803
|
+
return n + st;
|
|
795
804
|
}
|
|
796
|
-
const
|
|
797
|
-
let
|
|
798
|
-
function
|
|
805
|
+
const Ze = /* @__PURE__ */ new Set(["href", "title"]), Xe = /* @__PURE__ */ new Set(["title"]), ps = '<input type="checkbox" disabled /> ', xs = '<input type="checkbox" checked disabled /> ';
|
|
806
|
+
let kt = -1, Ln = "";
|
|
807
|
+
function Tn(t) {
|
|
799
808
|
const e = t.words, n = t.index, s = e[
|
|
800
809
|
n * 12 + 8
|
|
801
810
|
/* first_child */
|
|
@@ -822,8 +831,8 @@ function An(t) {
|
|
|
822
831
|
] & 255) === 1) return 4294967295;
|
|
823
832
|
return s;
|
|
824
833
|
}
|
|
825
|
-
function
|
|
826
|
-
const s = n ?
|
|
834
|
+
function Zl(t, e, n) {
|
|
835
|
+
const s = n ? xs : ps, o = Tn(t);
|
|
827
836
|
if (o === 4294967295) {
|
|
828
837
|
i += s, R(t, e);
|
|
829
838
|
return;
|
|
@@ -831,7 +840,7 @@ function Wl(t, e, n) {
|
|
|
831
840
|
const r = t.words, l = t.index;
|
|
832
841
|
t.move_to(o);
|
|
833
842
|
const a = i.length;
|
|
834
|
-
|
|
843
|
+
K(t, "<p", "<p>", ">");
|
|
835
844
|
const f = i.length;
|
|
836
845
|
i += s, R(t, e);
|
|
837
846
|
const c = i.length;
|
|
@@ -857,7 +866,7 @@ function Wl(t, e, n) {
|
|
|
857
866
|
u * 12 + 6
|
|
858
867
|
/* next */
|
|
859
868
|
];
|
|
860
|
-
t.move_to(u),
|
|
869
|
+
t.move_to(u), Cn(t, e), u = d;
|
|
861
870
|
}
|
|
862
871
|
t.move_to(l);
|
|
863
872
|
}
|
|
@@ -881,7 +890,7 @@ function R(t, e) {
|
|
|
881
890
|
], c = n[
|
|
882
891
|
r + 4
|
|
883
892
|
/* value_end */
|
|
884
|
-
], u =
|
|
893
|
+
], u = gt(t, s, f, c, !1);
|
|
885
894
|
if (e && f !== 4294967295 && c > f) {
|
|
886
895
|
const d = i.length;
|
|
887
896
|
S(
|
|
@@ -896,7 +905,7 @@ function R(t, e) {
|
|
|
896
905
|
);
|
|
897
906
|
}
|
|
898
907
|
i += u;
|
|
899
|
-
} else l !== 6 && (t.move_to(s),
|
|
908
|
+
} else l !== 6 && (t.move_to(s), Cn(t, e));
|
|
900
909
|
const a = n[
|
|
901
910
|
r + 6
|
|
902
911
|
/* next */
|
|
@@ -909,19 +918,19 @@ function R(t, e) {
|
|
|
909
918
|
}
|
|
910
919
|
t.move_to(o !== 4294967295 ? o : s);
|
|
911
920
|
}
|
|
912
|
-
function
|
|
921
|
+
function ye(t) {
|
|
913
922
|
if (!t.goto_first_child()) return "";
|
|
914
923
|
let e = "";
|
|
915
924
|
do
|
|
916
925
|
if (t.kind === 1) {
|
|
917
926
|
const n = t.text(), s = t.value_start, o = n.charCodeAt(0);
|
|
918
|
-
(o === 123 || o === 125) && s !== 4294967295 && t.source.charCodeAt(s) === o &&
|
|
927
|
+
(o === 123 || o === 125) && s !== 4294967295 && t.source.charCodeAt(s) === o && pe(t.source, s) ? e += (o === 123 ? "{" : "}") + n.slice(1) : e += n;
|
|
919
928
|
} else
|
|
920
|
-
e +=
|
|
929
|
+
e += ye(t);
|
|
921
930
|
while (t.goto_next_sibling());
|
|
922
931
|
return t.goto_parent(), e;
|
|
923
932
|
}
|
|
924
|
-
function
|
|
933
|
+
function yt(t, e, n, s) {
|
|
925
934
|
const o = i.length;
|
|
926
935
|
S(
|
|
927
936
|
t,
|
|
@@ -933,9 +942,9 @@ function xt(t, e, n, s) {
|
|
|
933
942
|
s
|
|
934
943
|
);
|
|
935
944
|
}
|
|
936
|
-
function
|
|
945
|
+
function ys(t, e, n, s, o) {
|
|
937
946
|
const r = t.prebuilt;
|
|
938
|
-
if (r === void 0 || B !== null && B.has(t.index) ||
|
|
947
|
+
if (r === void 0 || B !== null && B.has(t.index) || An(t))
|
|
939
948
|
return !1;
|
|
940
949
|
const l = t.source, a = t.value_end;
|
|
941
950
|
let f = t.value_start, c = 0, u = 0;
|
|
@@ -962,10 +971,10 @@ function ws(t, e, n, s, o) {
|
|
|
962
971
|
c = d, u = h, f = v + 1;
|
|
963
972
|
}
|
|
964
973
|
}
|
|
965
|
-
function
|
|
974
|
+
function Cr(t, e, n, s, o) {
|
|
966
975
|
n !== 0 && (i += b[n]);
|
|
967
976
|
const r = i.length;
|
|
968
|
-
return
|
|
977
|
+
return ys(t, e, r, s, o) || (o ? F(e, r, r + s.length, t.value_start, t.value_end) : S(
|
|
969
978
|
e,
|
|
970
979
|
r,
|
|
971
980
|
r + s.length,
|
|
@@ -976,7 +985,7 @@ function Ar(t, e, n, s, o) {
|
|
|
976
985
|
/* CODE_CONTENT */
|
|
977
986
|
)), i += s, 0;
|
|
978
987
|
}
|
|
979
|
-
function
|
|
988
|
+
function Cn(t, e) {
|
|
980
989
|
var n, s;
|
|
981
990
|
switch (t.kind) {
|
|
982
991
|
case 0:
|
|
@@ -984,11 +993,11 @@ function Ln(t, e) {
|
|
|
984
993
|
break;
|
|
985
994
|
case 3: {
|
|
986
995
|
const o = i.length, r = t.extra, l = r >= 1 && r <= 6 ? r : 0;
|
|
987
|
-
|
|
996
|
+
K(t, Fl[l], $l[l], ">");
|
|
988
997
|
const a = i.length;
|
|
989
998
|
R(t, e);
|
|
990
999
|
const f = i.length;
|
|
991
|
-
i +=
|
|
1000
|
+
i += kl[l], e && L(
|
|
992
1001
|
e,
|
|
993
1002
|
o,
|
|
994
1003
|
a,
|
|
@@ -1005,7 +1014,7 @@ function Ln(t, e) {
|
|
|
1005
1014
|
R(t, e);
|
|
1006
1015
|
else {
|
|
1007
1016
|
const o = i.length;
|
|
1008
|
-
|
|
1017
|
+
K(t, "<p", "<p>", ">");
|
|
1009
1018
|
const r = i.length;
|
|
1010
1019
|
R(t, e);
|
|
1011
1020
|
const l = i.length;
|
|
@@ -1023,7 +1032,7 @@ function Ln(t, e) {
|
|
|
1023
1032
|
break;
|
|
1024
1033
|
case 9: {
|
|
1025
1034
|
const o = i.length;
|
|
1026
|
-
|
|
1035
|
+
K(t, "<em", "<em>", ">");
|
|
1027
1036
|
const r = i.length;
|
|
1028
1037
|
R(t, e);
|
|
1029
1038
|
const l = i.length;
|
|
@@ -1041,7 +1050,7 @@ function Ln(t, e) {
|
|
|
1041
1050
|
}
|
|
1042
1051
|
case 10: {
|
|
1043
1052
|
const o = i.length;
|
|
1044
|
-
|
|
1053
|
+
K(t, "<strong", "<strong>", ">");
|
|
1045
1054
|
const r = i.length;
|
|
1046
1055
|
R(t, e);
|
|
1047
1056
|
const l = i.length;
|
|
@@ -1059,18 +1068,18 @@ function Ln(t, e) {
|
|
|
1059
1068
|
}
|
|
1060
1069
|
case 8: {
|
|
1061
1070
|
if (C !== null) {
|
|
1062
|
-
const f =
|
|
1071
|
+
const f = rn(t);
|
|
1063
1072
|
if (f !== null) {
|
|
1064
|
-
|
|
1073
|
+
dr(t, e, zn(t, f), f.body, Fn(f), null);
|
|
1065
1074
|
break;
|
|
1066
1075
|
}
|
|
1067
1076
|
}
|
|
1068
1077
|
const o = i.length;
|
|
1069
|
-
|
|
1078
|
+
K(t, "<code", "<code>", ">");
|
|
1070
1079
|
const r = i.length;
|
|
1071
|
-
let l =
|
|
1080
|
+
let l = ke(t);
|
|
1072
1081
|
W.call(l, `
|
|
1073
|
-
`) !== -1 && (l = l.replace(/\n/g, " ")), e &&
|
|
1082
|
+
`) !== -1 && (l = l.replace(/\n/g, " ")), e && yt(
|
|
1074
1083
|
e,
|
|
1075
1084
|
t,
|
|
1076
1085
|
l,
|
|
@@ -1091,18 +1100,18 @@ function Ln(t, e) {
|
|
|
1091
1100
|
break;
|
|
1092
1101
|
}
|
|
1093
1102
|
case 5: {
|
|
1094
|
-
const o =
|
|
1103
|
+
const o = Kt(t, t.meta());
|
|
1095
1104
|
if (C !== null) {
|
|
1096
|
-
const c =
|
|
1105
|
+
const c = nn(t, o);
|
|
1097
1106
|
if (c !== null) {
|
|
1098
|
-
|
|
1107
|
+
dr(t, e, Mn(t, c), c.body, jn(c), c.live);
|
|
1099
1108
|
break;
|
|
1100
1109
|
}
|
|
1101
1110
|
}
|
|
1102
1111
|
const r = i.length;
|
|
1103
|
-
o ? (i += '<pre><code class="language-' +
|
|
1104
|
-
const l = i.length, a =
|
|
1105
|
-
e && !
|
|
1112
|
+
o ? (i += '<pre><code class="language-' + ze(Gt(o)), K(t, '"', '">', ">")) : K(t, "<pre><code", "<pre><code>", ">");
|
|
1113
|
+
const l = i.length, a = $e(t);
|
|
1114
|
+
e && !ys(t, e, i.length, a, !1) && yt(
|
|
1106
1115
|
e,
|
|
1107
1116
|
t,
|
|
1108
1117
|
a,
|
|
@@ -1124,7 +1133,7 @@ function Ln(t, e) {
|
|
|
1124
1133
|
}
|
|
1125
1134
|
case 14: {
|
|
1126
1135
|
const o = i.length;
|
|
1127
|
-
|
|
1136
|
+
K(t, "<blockquote", `<blockquote>
|
|
1128
1137
|
`, `>
|
|
1129
1138
|
`);
|
|
1130
1139
|
const r = i.length;
|
|
@@ -1146,7 +1155,7 @@ function Ln(t, e) {
|
|
|
1146
1155
|
case 12: {
|
|
1147
1156
|
const o = i.length, r = t.meta();
|
|
1148
1157
|
let l = "<a";
|
|
1149
|
-
r != null && r.href && (l +=
|
|
1158
|
+
r != null && r.href && (l += Ge(r.href, !1)), r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Ze) + ">";
|
|
1150
1159
|
const a = i.length;
|
|
1151
1160
|
R(t, e);
|
|
1152
1161
|
const f = i.length;
|
|
@@ -1164,17 +1173,17 @@ function Ln(t, e) {
|
|
|
1164
1173
|
}
|
|
1165
1174
|
case 13: {
|
|
1166
1175
|
const o = i.length, r = t.meta();
|
|
1167
|
-
let l =
|
|
1168
|
-
l += ' alt="' + D(
|
|
1176
|
+
let l = Kn(r == null ? void 0 : r.src);
|
|
1177
|
+
l += ' alt="' + D(ye(t)) + '"', r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Xe) + b[_e], e && S(e, o, i.length, t.start, t.end, t.index, 0);
|
|
1169
1178
|
break;
|
|
1170
1179
|
}
|
|
1171
1180
|
case 15: {
|
|
1172
1181
|
const o = i.length, r = t.meta(), l = !!(r != null && r.ordered), a = r == null ? void 0 : r.start;
|
|
1173
|
-
l && a != null && a !== 1 ? (i += '<ol start="' + String(a),
|
|
1182
|
+
l && a != null && a !== 1 ? (i += '<ol start="' + String(a), K(t, '"', `">
|
|
1174
1183
|
`, `>
|
|
1175
|
-
`)) : l ?
|
|
1184
|
+
`)) : l ? K(t, "<ol", `<ol>
|
|
1176
1185
|
`, `>
|
|
1177
|
-
`) :
|
|
1186
|
+
`) : K(t, "<ul", `<ul>
|
|
1178
1187
|
`, `>
|
|
1179
1188
|
`);
|
|
1180
1189
|
const f = i.length;
|
|
@@ -1196,9 +1205,9 @@ function Ln(t, e) {
|
|
|
1196
1205
|
}
|
|
1197
1206
|
case 16: {
|
|
1198
1207
|
const o = i.length;
|
|
1199
|
-
|
|
1208
|
+
K(t, "<li", "<li>", ">");
|
|
1200
1209
|
const r = i.length, l = (n = t.meta()) == null ? void 0 : n.checked;
|
|
1201
|
-
typeof l == "boolean" ?
|
|
1210
|
+
typeof l == "boolean" ? Zl(t, e, l) : R(t, e);
|
|
1202
1211
|
const a = i.length;
|
|
1203
1212
|
i += `</li>
|
|
1204
1213
|
`, e && L(
|
|
@@ -1251,7 +1260,7 @@ function Ln(t, e) {
|
|
|
1251
1260
|
break;
|
|
1252
1261
|
case 19: {
|
|
1253
1262
|
const o = i.length;
|
|
1254
|
-
|
|
1263
|
+
K(t, "<del", "<del>", ">");
|
|
1255
1264
|
const r = i.length;
|
|
1256
1265
|
R(t, e);
|
|
1257
1266
|
const l = i.length;
|
|
@@ -1269,7 +1278,7 @@ function Ln(t, e) {
|
|
|
1269
1278
|
}
|
|
1270
1279
|
case 20: {
|
|
1271
1280
|
const o = i.length;
|
|
1272
|
-
|
|
1281
|
+
K(t, "<sup", "<sup>", ">");
|
|
1273
1282
|
const r = i.length;
|
|
1274
1283
|
R(t, e);
|
|
1275
1284
|
const l = i.length;
|
|
@@ -1287,7 +1296,7 @@ function Ln(t, e) {
|
|
|
1287
1296
|
}
|
|
1288
1297
|
case 21: {
|
|
1289
1298
|
const o = i.length;
|
|
1290
|
-
|
|
1299
|
+
K(t, "<sub", "<sub>", ">");
|
|
1291
1300
|
const r = i.length;
|
|
1292
1301
|
R(t, e);
|
|
1293
1302
|
const l = i.length;
|
|
@@ -1305,8 +1314,8 @@ function Ln(t, e) {
|
|
|
1305
1314
|
}
|
|
1306
1315
|
case 2: {
|
|
1307
1316
|
const o = i.length, r = t.meta(), l = r == null ? void 0 : r.tag;
|
|
1308
|
-
if (
|
|
1309
|
-
i +=
|
|
1317
|
+
if (Ye(t, l)) {
|
|
1318
|
+
i += qn(t), e && S(
|
|
1310
1319
|
e,
|
|
1311
1320
|
o,
|
|
1312
1321
|
i.length,
|
|
@@ -1328,9 +1337,9 @@ function Ln(t, e) {
|
|
|
1328
1337
|
const d = !t.synthetic;
|
|
1329
1338
|
for (const h in u) {
|
|
1330
1339
|
const v = u[h];
|
|
1331
|
-
v === !0 ? c += " " + h : typeof v == "object" && v.type === "expression" ? c +=
|
|
1340
|
+
v === !0 ? c += " " + h : typeof v == "object" && v.type === "expression" ? c += xe(h, O(v.value)) : c += " " + h + '="' + Qt(v, d) + '"';
|
|
1332
1341
|
}
|
|
1333
|
-
r.repeated !== void 0 && (c +=
|
|
1342
|
+
r.repeated !== void 0 && (c += We(r.repeated, d));
|
|
1334
1343
|
}
|
|
1335
1344
|
i += a ? c + " />" : c + ">";
|
|
1336
1345
|
}
|
|
@@ -1347,13 +1356,13 @@ function Ln(t, e) {
|
|
|
1347
1356
|
);
|
|
1348
1357
|
else {
|
|
1349
1358
|
const c = i.length;
|
|
1350
|
-
if (
|
|
1351
|
-
t.index ===
|
|
1352
|
-
`,
|
|
1353
|
-
` +
|
|
1359
|
+
if (je(l)) {
|
|
1360
|
+
t.index === dt ? (i += `
|
|
1361
|
+
`, ae(t, e, !1)) : t.index === vt && (i = i + `
|
|
1362
|
+
` + wt + `
|
|
1354
1363
|
`);
|
|
1355
1364
|
const d = t.text();
|
|
1356
|
-
e &&
|
|
1365
|
+
e && yt(
|
|
1357
1366
|
e,
|
|
1358
1367
|
t,
|
|
1359
1368
|
d,
|
|
@@ -1379,8 +1388,8 @@ function Ln(t, e) {
|
|
|
1379
1388
|
case 26: {
|
|
1380
1389
|
const o = i.length;
|
|
1381
1390
|
i += "<!--";
|
|
1382
|
-
const r = i.length, l =
|
|
1383
|
-
e &&
|
|
1391
|
+
const r = i.length, l = Pt(t);
|
|
1392
|
+
e && yt(
|
|
1384
1393
|
e,
|
|
1385
1394
|
t,
|
|
1386
1395
|
l,
|
|
@@ -1404,7 +1413,7 @@ function Ln(t, e) {
|
|
|
1404
1413
|
const o = i.length;
|
|
1405
1414
|
i += "{";
|
|
1406
1415
|
const r = i.length, l = t.text();
|
|
1407
|
-
e &&
|
|
1416
|
+
e && yt(
|
|
1408
1417
|
e,
|
|
1409
1418
|
t,
|
|
1410
1419
|
l,
|
|
@@ -1428,7 +1437,7 @@ function Ln(t, e) {
|
|
|
1428
1437
|
const o = i.length, r = t.meta(), l = r == null ? void 0 : r.tag, a = t.text();
|
|
1429
1438
|
i = i + "{@" + O(l), a && (i += " ");
|
|
1430
1439
|
const f = i.length;
|
|
1431
|
-
a && (e &&
|
|
1440
|
+
a && (e && yt(
|
|
1432
1441
|
e,
|
|
1433
1442
|
t,
|
|
1434
1443
|
a,
|
|
@@ -1455,7 +1464,7 @@ function Ln(t, e) {
|
|
|
1455
1464
|
do
|
|
1456
1465
|
if (t.kind === 29) {
|
|
1457
1466
|
const f = t.text();
|
|
1458
|
-
a ? (i = i + "{#" + l, a = !1) : i = i + "{:" + O((s = t.meta()) == null ? void 0 : s.tag), f && (i += " ", e &&
|
|
1467
|
+
a ? (i = i + "{#" + l, a = !1) : i = i + "{:" + O((s = t.meta()) == null ? void 0 : s.tag), f && (i += " ", e && yt(
|
|
1459
1468
|
e,
|
|
1460
1469
|
t,
|
|
1461
1470
|
f,
|
|
@@ -1463,7 +1472,7 @@ function Ln(t, e) {
|
|
|
1463
1472
|
/* SVELTE_CONTENT */
|
|
1464
1473
|
), i += f), i += `}
|
|
1465
1474
|
`, R(t, e);
|
|
1466
|
-
} else t.kind !== 6 &&
|
|
1475
|
+
} else t.kind !== 6 && Cn(t, e);
|
|
1467
1476
|
while (t.goto_next_sibling());
|
|
1468
1477
|
t.goto_parent();
|
|
1469
1478
|
}
|
|
@@ -1481,11 +1490,11 @@ function Ln(t, e) {
|
|
|
1481
1490
|
}
|
|
1482
1491
|
case 22: {
|
|
1483
1492
|
const o = i.length;
|
|
1484
|
-
|
|
1493
|
+
K(t, "<table", `<table>
|
|
1485
1494
|
`, `>
|
|
1486
1495
|
`);
|
|
1487
1496
|
const r = i.length;
|
|
1488
|
-
|
|
1497
|
+
Xl(t, e);
|
|
1489
1498
|
const l = i.length;
|
|
1490
1499
|
i += `
|
|
1491
1500
|
</table>`, e && L(
|
|
@@ -1503,59 +1512,59 @@ function Ln(t, e) {
|
|
|
1503
1512
|
case 6:
|
|
1504
1513
|
break;
|
|
1505
1514
|
case 34:
|
|
1506
|
-
t.index ===
|
|
1515
|
+
t.index === Ht && (i += Vt, ae(t, e, !1), i += "<\/script>");
|
|
1507
1516
|
break;
|
|
1508
1517
|
case 33:
|
|
1509
|
-
|
|
1518
|
+
wt !== "" && (i += Ie());
|
|
1510
1519
|
break;
|
|
1511
1520
|
default:
|
|
1512
1521
|
if (t.kind < 35) R(t, e);
|
|
1513
1522
|
else if (t.kind === 36) {
|
|
1514
1523
|
const o = i.length;
|
|
1515
|
-
i +=
|
|
1524
|
+
i += Qn(t), e && S(e, o, i.length, t.start, t.end, t.index, 0);
|
|
1516
1525
|
}
|
|
1517
1526
|
break;
|
|
1518
1527
|
}
|
|
1519
1528
|
}
|
|
1520
|
-
function
|
|
1521
|
-
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o =
|
|
1529
|
+
function Xl(t, e) {
|
|
1530
|
+
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o = Se(n, s);
|
|
1522
1531
|
let r = !1;
|
|
1523
1532
|
if (t.goto_first_child()) {
|
|
1524
1533
|
do
|
|
1525
1534
|
t.kind === 23 ? (i += `<thead>
|
|
1526
1535
|
<tr>
|
|
1527
|
-
`, o ?
|
|
1536
|
+
`, o ? qo(t, "th", s, 0, Ee, e) : Lo(t, "th", s, e), i += `</tr>
|
|
1528
1537
|
</thead>
|
|
1529
1538
|
`) : t.kind === 24 && (r || (i += `<tbody>
|
|
1530
1539
|
`, r = !0), i += `<tr>
|
|
1531
|
-
`, o ?
|
|
1540
|
+
`, o ? qo(t, "td", s, Yt, Zt, e) : Lo(t, "td", s, e), i += `</tr>
|
|
1532
1541
|
`);
|
|
1533
1542
|
while (t.goto_next_sibling());
|
|
1534
1543
|
t.goto_parent(), r && (i += "</tbody>");
|
|
1535
1544
|
}
|
|
1536
1545
|
}
|
|
1537
|
-
let
|
|
1538
|
-
function
|
|
1546
|
+
let Yt = 0, Zt = 0, Ee = 0, Es = !1;
|
|
1547
|
+
function Se(t, e) {
|
|
1539
1548
|
if (t === void 0) return !1;
|
|
1540
1549
|
const n = t.header_columns, s = t.spans === !0;
|
|
1541
1550
|
if (n === void 0 && !s) return !1;
|
|
1542
1551
|
const o = t.col_count ?? e.length;
|
|
1543
|
-
return
|
|
1552
|
+
return Ee = o, Yt = n === void 0 ? 0 : n[0], Zt = n === void 0 ? o : o - n[1], Es = s, !0;
|
|
1544
1553
|
}
|
|
1545
|
-
function
|
|
1554
|
+
function tn(t, e, n) {
|
|
1546
1555
|
const s = n[e];
|
|
1547
1556
|
let o = s && s !== "none" ? ' align="' + s + '"' : "";
|
|
1548
|
-
if (
|
|
1557
|
+
if (Es) {
|
|
1549
1558
|
const r = t.meta();
|
|
1550
1559
|
r !== void 0 && (r.colspan !== void 0 && (o += ' colspan="' + r.colspan + '"'), r.rowspan !== void 0 && (o += ' rowspan="' + r.rowspan + '"'));
|
|
1551
1560
|
}
|
|
1552
1561
|
return o;
|
|
1553
1562
|
}
|
|
1554
|
-
function
|
|
1563
|
+
function qo(t, e, n, s, o, r) {
|
|
1555
1564
|
if (t.goto_first_child()) {
|
|
1556
1565
|
do
|
|
1557
1566
|
if (t.kind === 25) {
|
|
1558
|
-
const l = t.extra, a = l < s || l >= o, f =
|
|
1567
|
+
const l = t.extra, a = l < s || l >= o, f = tn(t, l, n);
|
|
1559
1568
|
i += a ? '<th scope="row"' + f + ">" : "<" + e + f + ">", R(t, r), i += a || e === "th" ? `</th>
|
|
1560
1569
|
` : `</td>
|
|
1561
1570
|
`;
|
|
@@ -1564,7 +1573,7 @@ function yo(t, e, n, s, o, r) {
|
|
|
1564
1573
|
t.goto_parent();
|
|
1565
1574
|
}
|
|
1566
1575
|
}
|
|
1567
|
-
function
|
|
1576
|
+
function Ss(t) {
|
|
1568
1577
|
return [
|
|
1569
1578
|
`<${t}>`,
|
|
1570
1579
|
`<${t} align="left">`,
|
|
@@ -1572,9 +1581,9 @@ function ps(t) {
|
|
|
1572
1581
|
`<${t} align="right">`
|
|
1573
1582
|
];
|
|
1574
1583
|
}
|
|
1575
|
-
const
|
|
1576
|
-
function
|
|
1577
|
-
const o = e === "th" ?
|
|
1584
|
+
const ti = Ss("th"), ei = Ss("td");
|
|
1585
|
+
function Lo(t, e, n, s) {
|
|
1586
|
+
const o = e === "th" ? ti : ei, r = e === "th" ? `</th>
|
|
1578
1587
|
` : `</td>
|
|
1579
1588
|
`;
|
|
1580
1589
|
let l = 0;
|
|
@@ -1588,34 +1597,34 @@ function Eo(t, e, n, s) {
|
|
|
1588
1597
|
t.goto_parent();
|
|
1589
1598
|
}
|
|
1590
1599
|
}
|
|
1591
|
-
const b = [""],
|
|
1600
|
+
const b = [""], fe = /* @__PURE__ */ new Map(), w = new Uint16Array(1024);
|
|
1592
1601
|
function m(t) {
|
|
1593
|
-
let e =
|
|
1594
|
-
return e === void 0 && (e = b.length, b.push(t),
|
|
1595
|
-
}
|
|
1596
|
-
const
|
|
1597
|
-
`),
|
|
1598
|
-
`),
|
|
1599
|
-
`),
|
|
1600
|
-
`),
|
|
1601
|
-
</ol>`),
|
|
1602
|
-
`),
|
|
1603
|
-
</ul>`),
|
|
1604
|
-
`),
|
|
1605
|
-
`),
|
|
1606
|
-
`),
|
|
1607
|
-
</table>`),
|
|
1602
|
+
let e = fe.get(t);
|
|
1603
|
+
return e === void 0 && (e = b.length, b.push(t), fe.set(t, e), w[e] = t.length), e;
|
|
1604
|
+
}
|
|
1605
|
+
const Wt = m(" "), As = m('="'), lt = m('"'), qs = m("={"), Z = m("}"), q = m(">"), ot = m(`>
|
|
1606
|
+
`), Or = m('">'), Dr = m(`">
|
|
1607
|
+
`), Nr = m(`
|
|
1608
|
+
`), To = m("<"), Rr = m("<code"), Pr = m("<code>"), wn = m("</code>"), ni = m('<pre><code class="language-'), Br = m("<pre><code"), Ur = m("<pre><code>"), vn = m("</code></pre>"), ri = m("<a"), oi = m(' href="'), Ls = m(' title="'), Ir = m("</a>"), si = m("<img"), li = m(' src="'), ii = m(' alt="'), Ut = m(" />"), ai = m(" /></picture>"), fi = m('<ol start="'), Hr = m("<ol"), Vr = m(`<ol>
|
|
1609
|
+
`), Kr = m(`
|
|
1610
|
+
</ol>`), Gr = m("<ul"), Mr = m(`<ul>
|
|
1611
|
+
`), jr = m(`
|
|
1612
|
+
</ul>`), zr = m("<hr />"), Fr = m(`<br />
|
|
1613
|
+
`), ci = m("</"), $r = m("<!--"), pn = m("-->"), kr = m("{"), ui = m("{@"), di = m("{#"), hi = m("{:"), gi = m("{/"), Wr = m(`}
|
|
1614
|
+
`), Jr = m("<table"), Qr = m(`<table>
|
|
1615
|
+
`), Yr = m(`
|
|
1616
|
+
</table>`), Zr = m(`<thead>
|
|
1608
1617
|
<tr>
|
|
1609
|
-
`),
|
|
1618
|
+
`), Xr = m(`</tr>
|
|
1610
1619
|
</thead>
|
|
1611
|
-
`),
|
|
1612
|
-
`),
|
|
1613
|
-
`),
|
|
1614
|
-
`),
|
|
1615
|
-
`),
|
|
1616
|
-
`),
|
|
1617
|
-
`),
|
|
1618
|
-
function
|
|
1620
|
+
`), to = m(`<tbody>
|
|
1621
|
+
`), eo = m("</tbody>"), no = m(`<tr>
|
|
1622
|
+
`), ro = m(`</tr>
|
|
1623
|
+
`), Ae = m(`</th>
|
|
1624
|
+
`), qe = m(`</td>
|
|
1625
|
+
`), He = m("<p"), Ve = m("<p>"), Mt = m("</p>"), oo = m("<li"), ce = m("<li>"), Ke = m(`</li>
|
|
1626
|
+
`), so = m(ps), lo = m(xs);
|
|
1627
|
+
function Ts(t) {
|
|
1619
1628
|
return Uint8Array.of(
|
|
1620
1629
|
m(`<${t}>`),
|
|
1621
1630
|
m(`<${t} align="left">`),
|
|
@@ -1623,17 +1632,17 @@ function Ss(t) {
|
|
|
1623
1632
|
m(`<${t} align="right">`)
|
|
1624
1633
|
);
|
|
1625
1634
|
}
|
|
1626
|
-
const
|
|
1627
|
-
function
|
|
1628
|
-
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1635
|
+
const io = Ts("th"), ao = Ts("td"), On = 48, It = 40, Dn = new Uint8Array(On), Nn = new Uint8Array(On), Rn = new Uint8Array(On), Pn = new Uint8Array(On);
|
|
1636
|
+
function pt(t, e, n, s, o) {
|
|
1637
|
+
Dn[t] = m(e), Nn[t] = m(n), Rn[t] = m(s), Pn[t] = m(o);
|
|
1638
|
+
}
|
|
1639
|
+
pt(7, "<p", "<p>", ">", "</p>");
|
|
1640
|
+
pt(9, "<em", "<em>", ">", "</em>");
|
|
1641
|
+
pt(10, "<strong", "<strong>", ">", "</strong>");
|
|
1642
|
+
pt(19, "<del", "<del>", ">", "</del>");
|
|
1643
|
+
pt(20, "<sup", "<sup>", ">", "</sup>");
|
|
1644
|
+
pt(21, "<sub", "<sub>", ">", "</sub>");
|
|
1645
|
+
pt(
|
|
1637
1646
|
14,
|
|
1638
1647
|
"<blockquote",
|
|
1639
1648
|
`<blockquote>
|
|
@@ -1643,58 +1652,58 @@ vt(
|
|
|
1643
1652
|
`
|
|
1644
1653
|
</blockquote>`
|
|
1645
1654
|
);
|
|
1646
|
-
|
|
1655
|
+
pt(It, "", "", ">", "");
|
|
1647
1656
|
for (let t = 1; t <= 6; t++)
|
|
1648
|
-
|
|
1649
|
-
|
|
1657
|
+
pt(
|
|
1658
|
+
It + t,
|
|
1650
1659
|
`<h${t}`,
|
|
1651
1660
|
`<h${t}>`,
|
|
1652
1661
|
">",
|
|
1653
1662
|
`</h${t}>`
|
|
1654
1663
|
);
|
|
1655
|
-
const
|
|
1656
|
-
if (
|
|
1657
|
-
if (w.length <
|
|
1664
|
+
const _i = b.length, Bn = 1024, Cs = 128;
|
|
1665
|
+
if (_i > 128) throw new Error("too many static literals");
|
|
1666
|
+
if (w.length < Bn)
|
|
1658
1667
|
throw new Error("FOLD_LEN smaller than the fold table");
|
|
1659
|
-
const
|
|
1668
|
+
const Un = new Uint16Array(Bn << 7);
|
|
1660
1669
|
let j = "";
|
|
1661
|
-
const
|
|
1670
|
+
const fr = new Uint16Array(1);
|
|
1662
1671
|
function _(t, e) {
|
|
1663
1672
|
if (t === 0) return e;
|
|
1664
|
-
const n =
|
|
1665
|
-
return n !== 0 ? n :
|
|
1673
|
+
const n = Un[t << 7 | e];
|
|
1674
|
+
return n !== 0 ? n : bi(t, e);
|
|
1666
1675
|
}
|
|
1667
1676
|
function y(t, e) {
|
|
1668
1677
|
return t !== 0 && (j += b[t]), j += e, 0;
|
|
1669
1678
|
}
|
|
1670
|
-
function
|
|
1679
|
+
function bi(t, e) {
|
|
1671
1680
|
const n = b[t], s = b[e];
|
|
1672
|
-
if (n.length + s.length >
|
|
1681
|
+
if (n.length + s.length > Cs || b.length >= Bn)
|
|
1673
1682
|
return j += n, e;
|
|
1674
1683
|
const o = Object.keys({ [n + s]: 0 })[0];
|
|
1675
|
-
let r =
|
|
1676
|
-
return r === void 0 && (r = b.length, b.push(o),
|
|
1684
|
+
let r = fe.get(o);
|
|
1685
|
+
return r === void 0 && (r = b.length, b.push(o), fe.set(o, r), w[r] = o.length), Un[t << 7 | e] = r, r;
|
|
1677
1686
|
}
|
|
1678
|
-
function
|
|
1687
|
+
function Os(t) {
|
|
1679
1688
|
for (const e in t) {
|
|
1680
|
-
if (
|
|
1689
|
+
if (Lr.has(e)) continue;
|
|
1681
1690
|
const n = t[e];
|
|
1682
1691
|
if (n !== !1 && n != null) return !0;
|
|
1683
1692
|
}
|
|
1684
1693
|
return !1;
|
|
1685
1694
|
}
|
|
1686
|
-
function
|
|
1695
|
+
function fo(t, e, n) {
|
|
1687
1696
|
if (!t) return e;
|
|
1688
1697
|
for (const s in t) {
|
|
1689
|
-
if (
|
|
1698
|
+
if (Lr.has(s) || n !== void 0 && n.has(s)) continue;
|
|
1690
1699
|
const o = t[s];
|
|
1691
|
-
o === !0 ? (e = _(e,
|
|
1700
|
+
o === !0 ? (e = _(e, Wt), e = y(e, s)) : o !== !1 && o != null && (e = _(e, Wt), e = y(e, s), typeof o == "object" && o.type === "expression" ? (e = _(e, qs), e = y(e, o.value), e = _(e, Z)) : (e = _(e, As), e = y(e, ta(String(o))), e = _(e, lt)));
|
|
1692
1701
|
}
|
|
1693
1702
|
return e;
|
|
1694
1703
|
}
|
|
1695
|
-
function
|
|
1704
|
+
function ct(t, e, n, s, o) {
|
|
1696
1705
|
const r = t.meta();
|
|
1697
|
-
return !r || !
|
|
1706
|
+
return !r || !Os(r) ? _(e, s) : (e = _(e, n), e = fo(r, e), _(e, o));
|
|
1698
1707
|
}
|
|
1699
1708
|
function J(t, e) {
|
|
1700
1709
|
const n = t.words;
|
|
@@ -1719,13 +1728,13 @@ function J(t, e) {
|
|
|
1719
1728
|
r + 4
|
|
1720
1729
|
/* value_end */
|
|
1721
1730
|
];
|
|
1722
|
-
if (a !== 4294967295 && !
|
|
1731
|
+
if (a !== 4294967295 && !Ft) {
|
|
1723
1732
|
const u = n[
|
|
1724
1733
|
a * 12
|
|
1725
1734
|
/* stride */
|
|
1726
1735
|
] & 255;
|
|
1727
1736
|
if (u === 1 || u === 18) {
|
|
1728
|
-
s =
|
|
1737
|
+
s = mi(n, s, o, t.source);
|
|
1729
1738
|
const d = s * 12;
|
|
1730
1739
|
c = n[
|
|
1731
1740
|
d + 4
|
|
@@ -1738,12 +1747,12 @@ function J(t, e) {
|
|
|
1738
1747
|
}
|
|
1739
1748
|
e = y(
|
|
1740
1749
|
e,
|
|
1741
|
-
|
|
1750
|
+
gt(t, f, n[
|
|
1742
1751
|
r + 3
|
|
1743
1752
|
/* value_start */
|
|
1744
1753
|
], c, !1)
|
|
1745
1754
|
);
|
|
1746
|
-
} else l !== 6 && (t.move_to(s), e =
|
|
1755
|
+
} else l !== 6 && (t.move_to(s), e = ue(t, e));
|
|
1747
1756
|
if (a === 4294967295 || n[
|
|
1748
1757
|
a * 12 + 5
|
|
1749
1758
|
/* parent */
|
|
@@ -1752,7 +1761,7 @@ function J(t, e) {
|
|
|
1752
1761
|
}
|
|
1753
1762
|
return t.move_to(o !== 4294967295 ? o : s), e;
|
|
1754
1763
|
}
|
|
1755
|
-
function
|
|
1764
|
+
function mi(t, e, n, s) {
|
|
1756
1765
|
let o = e, r = e * 12, l = t[
|
|
1757
1766
|
r + 4
|
|
1758
1767
|
/* value_end */
|
|
@@ -1807,10 +1816,10 @@ function hi(t, e, n, s) {
|
|
|
1807
1816
|
o = a, r = f, l = u;
|
|
1808
1817
|
}
|
|
1809
1818
|
}
|
|
1810
|
-
function
|
|
1811
|
-
if (
|
|
1812
|
-
const s =
|
|
1813
|
-
if (s !== null) return
|
|
1819
|
+
function ue(t, e) {
|
|
1820
|
+
if (_t) {
|
|
1821
|
+
const s = Xt(t);
|
|
1822
|
+
if (s !== null) return uo(t, void 0, e, s);
|
|
1814
1823
|
}
|
|
1815
1824
|
let n = t.kind;
|
|
1816
1825
|
switch (n) {
|
|
@@ -1829,79 +1838,79 @@ function fe(t, e) {
|
|
|
1829
1838
|
case 21: {
|
|
1830
1839
|
if (n === 3) {
|
|
1831
1840
|
const s = t.extra;
|
|
1832
|
-
n = s >= 1 && s <= 6 ?
|
|
1841
|
+
n = s >= 1 && s <= 6 ? It + s : It;
|
|
1833
1842
|
}
|
|
1834
|
-
return e =
|
|
1843
|
+
return e = ct(t, e, Dn[n], Nn[n], Rn[n]), e = J(t, e), _(e, Pn[n]);
|
|
1835
1844
|
}
|
|
1836
1845
|
case 16: {
|
|
1837
1846
|
const s = t.meta();
|
|
1838
|
-
if (s === void 0) e = _(e,
|
|
1839
|
-
else if (e =
|
|
1840
|
-
return
|
|
1841
|
-
return e = J(t, e), _(e,
|
|
1847
|
+
if (s === void 0) e = _(e, ce);
|
|
1848
|
+
else if (e = ct(t, e, oo, ce, q), typeof s.checked == "boolean")
|
|
1849
|
+
return wi(t, e, s.checked);
|
|
1850
|
+
return e = J(t, e), _(e, Ke);
|
|
1842
1851
|
}
|
|
1843
1852
|
case 8: {
|
|
1844
1853
|
if (C !== null) {
|
|
1845
|
-
const o =
|
|
1854
|
+
const o = rn(t);
|
|
1846
1855
|
if (o !== null)
|
|
1847
|
-
return
|
|
1856
|
+
return Zs(e, zn(t, o), o.body, Fn(o));
|
|
1848
1857
|
}
|
|
1849
|
-
e =
|
|
1850
|
-
const s =
|
|
1858
|
+
e = ct(t, e, Rr, Pr, q);
|
|
1859
|
+
const s = ke(t);
|
|
1851
1860
|
return e = y(
|
|
1852
1861
|
e,
|
|
1853
1862
|
s.indexOf(`
|
|
1854
1863
|
`) === -1 ? s : s.replace(/\n/g, " ")
|
|
1855
|
-
), _(e,
|
|
1864
|
+
), _(e, wn);
|
|
1856
1865
|
}
|
|
1857
1866
|
case 5:
|
|
1858
|
-
return
|
|
1867
|
+
return vi(t, e);
|
|
1859
1868
|
case 12:
|
|
1860
|
-
return
|
|
1869
|
+
return pi(t, e);
|
|
1861
1870
|
case 13:
|
|
1862
|
-
return
|
|
1871
|
+
return xi(t, e);
|
|
1863
1872
|
case 15:
|
|
1864
|
-
return
|
|
1873
|
+
return yi(t, e);
|
|
1865
1874
|
case 11:
|
|
1866
|
-
return _(e,
|
|
1875
|
+
return _(e, zr);
|
|
1867
1876
|
case 17:
|
|
1868
|
-
return _(e,
|
|
1877
|
+
return _(e, Fr);
|
|
1869
1878
|
case 18:
|
|
1870
|
-
return _(e,
|
|
1879
|
+
return _(e, Nr);
|
|
1871
1880
|
case 2:
|
|
1872
|
-
return
|
|
1881
|
+
return Ei(t, e);
|
|
1873
1882
|
case 26:
|
|
1874
|
-
return e = _(e,
|
|
1883
|
+
return e = _(e, $r), e = y(e, Pt(t)), _(e, pn);
|
|
1875
1884
|
case 4:
|
|
1876
|
-
return e = _(e,
|
|
1885
|
+
return e = _(e, kr), e = y(e, t.text()), _(e, Z);
|
|
1877
1886
|
case 27:
|
|
1878
|
-
return
|
|
1887
|
+
return Si(t, e);
|
|
1879
1888
|
case 28:
|
|
1880
|
-
return
|
|
1889
|
+
return Ai(t, e);
|
|
1881
1890
|
case 22:
|
|
1882
|
-
return e =
|
|
1891
|
+
return e = ct(t, e, Jr, Qr, ot), e = qi(t, e), _(e, Yr);
|
|
1883
1892
|
case 6:
|
|
1884
1893
|
return e;
|
|
1885
1894
|
// only a root child renders alone, its parent renders text in fold_children
|
|
1886
1895
|
case 1:
|
|
1887
1896
|
return y(
|
|
1888
1897
|
e,
|
|
1889
|
-
|
|
1898
|
+
gt(t, t.index, t.value_start, t.value_end, !1)
|
|
1890
1899
|
);
|
|
1891
1900
|
case 34:
|
|
1892
|
-
return t.index !==
|
|
1901
|
+
return t.index !== Ht ? e : y(e, Vt + vs(t) + "<\/script>");
|
|
1893
1902
|
case 33:
|
|
1894
|
-
return
|
|
1903
|
+
return wt === "" ? e : y(e, Ie());
|
|
1895
1904
|
default:
|
|
1896
|
-
return t.kind >= 35 ? t.kind === 36 ? y(e,
|
|
1905
|
+
return t.kind >= 35 ? t.kind === 36 ? y(e, Qn(t)) : e : (nt && ho(t), J(t, e));
|
|
1897
1906
|
}
|
|
1898
1907
|
}
|
|
1899
|
-
function
|
|
1900
|
-
const s = n ?
|
|
1908
|
+
function wi(t, e, n) {
|
|
1909
|
+
const s = n ? lo : so, o = Tn(t);
|
|
1901
1910
|
if (o === 4294967295)
|
|
1902
|
-
return e = _(e, s), e = J(t, e), _(e,
|
|
1911
|
+
return e = _(e, s), e = J(t, e), _(e, Ke);
|
|
1903
1912
|
const r = t.words, l = t.index;
|
|
1904
|
-
t.move_to(o),
|
|
1913
|
+
t.move_to(o), _t && Xt(t) !== null ? (kt = o, Ln = b[s], e = ue(t, e), kt = -1) : (e = ct(t, e, He, Ve, q), e = _(e, s), e = J(t, e), e = _(e, Mt));
|
|
1905
1914
|
let a = r[
|
|
1906
1915
|
o * 12 + 6
|
|
1907
1916
|
/* next */
|
|
@@ -1914,63 +1923,63 @@ function gi(t, e, n) {
|
|
|
1914
1923
|
a * 12 + 6
|
|
1915
1924
|
/* next */
|
|
1916
1925
|
];
|
|
1917
|
-
t.move_to(a), e =
|
|
1926
|
+
t.move_to(a), e = ue(t, e), a = f;
|
|
1918
1927
|
}
|
|
1919
|
-
return t.move_to(l), _(e,
|
|
1928
|
+
return t.move_to(l), _(e, Ke);
|
|
1920
1929
|
}
|
|
1921
|
-
function
|
|
1922
|
-
const n =
|
|
1930
|
+
function vi(t, e) {
|
|
1931
|
+
const n = Kt(t, t.meta());
|
|
1923
1932
|
if (C !== null) {
|
|
1924
|
-
const s =
|
|
1925
|
-
if (s !== null) return
|
|
1933
|
+
const s = nn(t, n);
|
|
1934
|
+
if (s !== null) return Zs(e, Mn(t, s), s.body, jn(s));
|
|
1926
1935
|
}
|
|
1927
|
-
return n ? (e = _(e,
|
|
1936
|
+
return n ? (e = _(e, ni), e = y(e, ze(Gt(n))), e = ct(t, e, lt, Or, q)) : e = ct(t, e, Br, Ur, q), e = y(e, $e(t)), _(e, vn);
|
|
1928
1937
|
}
|
|
1929
|
-
function
|
|
1938
|
+
function pi(t, e) {
|
|
1930
1939
|
const n = t.meta();
|
|
1931
|
-
return e = _(e,
|
|
1940
|
+
return e = _(e, ri), n != null && n.href && (e = $s(e, n.href, !1)), n != null && n.title && (e = _(e, Ls), e = y(e, D(n.title)), e = _(e, lt)), e = fo(n, e, Ze), e = _(e, q), e = J(t, e), _(e, Ir);
|
|
1932
1941
|
}
|
|
1933
|
-
function
|
|
1942
|
+
function xi(t, e) {
|
|
1934
1943
|
const n = t.meta();
|
|
1935
|
-
let s =
|
|
1936
|
-
return Y === null ? (e = _(e,
|
|
1944
|
+
let s = Ut;
|
|
1945
|
+
return Y === null ? (e = _(e, si), n != null && n.src && (e = $s(e, n.src, !0))) : (e = y(e, Kn(n == null ? void 0 : n.src)), s = _e), e = _(e, ii), e = y(e, D(ye(t))), e = _(e, lt), n != null && n.title && (e = _(e, Ls), e = y(e, D(n.title)), e = _(e, lt)), e = fo(n, e, Xe), _(e, s);
|
|
1937
1946
|
}
|
|
1938
|
-
function
|
|
1947
|
+
function yi(t, e) {
|
|
1939
1948
|
const n = t.meta(), s = !!(n != null && n.ordered), o = n == null ? void 0 : n.start;
|
|
1940
|
-
return s && o != null && o !== 1 ? (e = _(e,
|
|
1949
|
+
return s && o != null && o !== 1 ? (e = _(e, fi), e = y(e, String(o)), e = ct(t, e, lt, Dr, ot)) : s ? e = ct(t, e, Hr, Vr, ot) : e = ct(t, e, Gr, Mr, ot), e = J(t, e), _(e, s ? Kr : jr);
|
|
1941
1950
|
}
|
|
1942
|
-
function
|
|
1951
|
+
function Co(t, e, n) {
|
|
1943
1952
|
for (const s in t) {
|
|
1944
1953
|
const o = t[s];
|
|
1945
|
-
if (
|
|
1954
|
+
if (Wl(s, o)) {
|
|
1946
1955
|
n = y(n, " {" + s + "}");
|
|
1947
1956
|
continue;
|
|
1948
1957
|
}
|
|
1949
|
-
n = _(n,
|
|
1958
|
+
n = _(n, Wt), n = y(n, s), o !== !0 && (typeof o == "object" && o.type === "expression" ? (n = _(n, qs), n = y(n, o.value), n = _(n, Z)) : (n = _(n, As), n = y(n, Qt(o, e)), n = _(n, lt)));
|
|
1950
1959
|
}
|
|
1951
1960
|
return n;
|
|
1952
1961
|
}
|
|
1953
|
-
function
|
|
1962
|
+
function Ei(t, e) {
|
|
1954
1963
|
const n = t.meta(), s = n == null ? void 0 : n.tag;
|
|
1955
|
-
if (
|
|
1956
|
-
const o = t.synthetic ? void 0 :
|
|
1964
|
+
if (Ye(t, s)) return y(e, qn(t));
|
|
1965
|
+
const o = t.synthetic ? void 0 : os(n), r = o !== void 0 && o.canonical ? dl(o) : void 0, l = r === void 0 ? n == null ? void 0 : n.attributes : void 0;
|
|
1957
1966
|
if (n != null && n.self_closing) {
|
|
1958
1967
|
const a = !t.synthetic && t.end > t.start ? t.slice(t.start, t.end) : "";
|
|
1959
|
-
return a ? y(e, a) : (e = _(e,
|
|
1968
|
+
return a ? y(e, a) : (e = _(e, To), e = y(e, s), r !== void 0 ? e = y(e, r) : l && (e = Co(l, !t.synthetic, e)), _(e, Ut));
|
|
1960
1969
|
}
|
|
1961
|
-
return e = _(e,
|
|
1970
|
+
return e = _(e, To), e = y(e, s), r !== void 0 ? e = y(e, r) : l && (e = Co(l, !t.synthetic, e), n.repeated !== void 0 && (e = y(
|
|
1962
1971
|
e,
|
|
1963
|
-
|
|
1964
|
-
))), e = _(e,
|
|
1965
|
-
` +
|
|
1966
|
-
` +
|
|
1967
|
-
`)), e = y(e, t.text())) : e = J(t, e), e = _(e,
|
|
1972
|
+
We(n.repeated, !t.synthetic)
|
|
1973
|
+
))), e = _(e, q), je(s) ? (t.index === dt ? e = y(e, `
|
|
1974
|
+
` + vs(t)) : t.index === vt && (e = y(e, `
|
|
1975
|
+
` + wt + `
|
|
1976
|
+
`)), e = y(e, t.text())) : e = J(t, e), e = _(e, ci), e = y(e, s), _(e, q);
|
|
1968
1977
|
}
|
|
1969
|
-
function
|
|
1978
|
+
function Si(t, e) {
|
|
1970
1979
|
const n = t.meta(), s = n == null ? void 0 : n.tag, o = t.text();
|
|
1971
|
-
return e = _(e,
|
|
1980
|
+
return e = _(e, ui), e = y(e, s), o && (e = _(e, Wt), e = y(e, o)), _(e, Z);
|
|
1972
1981
|
}
|
|
1973
|
-
function
|
|
1982
|
+
function Ai(t, e) {
|
|
1974
1983
|
const n = t.meta(), s = n == null ? void 0 : n.tag;
|
|
1975
1984
|
if (t.goto_first_child()) {
|
|
1976
1985
|
let o = !0;
|
|
@@ -1978,29 +1987,29 @@ function xi(t, e) {
|
|
|
1978
1987
|
if (t.kind === 29) {
|
|
1979
1988
|
const r = t.text();
|
|
1980
1989
|
if (o)
|
|
1981
|
-
e = _(e,
|
|
1990
|
+
e = _(e, di), e = y(e, s), o = !1;
|
|
1982
1991
|
else {
|
|
1983
1992
|
const l = t.meta();
|
|
1984
|
-
e = _(e,
|
|
1993
|
+
e = _(e, hi), e = y(e, l == null ? void 0 : l.tag);
|
|
1985
1994
|
}
|
|
1986
|
-
r && (e = _(e,
|
|
1987
|
-
} else t.kind !== 6 && (e =
|
|
1995
|
+
r && (e = _(e, Wt), e = y(e, r)), e = _(e, Wr), e = J(t, e);
|
|
1996
|
+
} else t.kind !== 6 && (e = ue(t, e));
|
|
1988
1997
|
while (t.goto_next_sibling());
|
|
1989
1998
|
t.goto_parent();
|
|
1990
1999
|
}
|
|
1991
|
-
return e = _(e,
|
|
2000
|
+
return e = _(e, gi), e = y(e, s), _(e, Z);
|
|
1992
2001
|
}
|
|
1993
|
-
function
|
|
1994
|
-
if (
|
|
1995
|
-
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o =
|
|
2002
|
+
function qi(t, e) {
|
|
2003
|
+
if (Je) return Hn(t, void 0, e);
|
|
2004
|
+
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o = Se(n, s);
|
|
1996
2005
|
let r = !1;
|
|
1997
2006
|
if (!t.goto_first_child()) return e;
|
|
1998
2007
|
do
|
|
1999
|
-
t.kind === 23 ? (e = _(e,
|
|
2008
|
+
t.kind === 23 ? (e = _(e, Zr), e = o ? Do(t, "th", s, 0, Ee, e) : Oo(t, io, Ae, "th", s, e), e = _(e, Xr)) : t.kind === 24 && (r || (e = _(e, to), r = !0), e = _(e, no), e = o ? Do(t, "td", s, Yt, Zt, e) : Oo(t, ao, qe, "td", s, e), e = _(e, ro));
|
|
2000
2009
|
while (t.goto_next_sibling());
|
|
2001
|
-
return t.goto_parent(), r && (e = _(e,
|
|
2010
|
+
return t.goto_parent(), r && (e = _(e, eo)), e;
|
|
2002
2011
|
}
|
|
2003
|
-
function
|
|
2012
|
+
function Oo(t, e, n, s, o, r) {
|
|
2004
2013
|
let l = 0;
|
|
2005
2014
|
if (!t.goto_first_child()) return r;
|
|
2006
2015
|
do
|
|
@@ -2011,17 +2020,17 @@ function Ao(t, e, n, s, o, r) {
|
|
|
2011
2020
|
while (t.goto_next_sibling());
|
|
2012
2021
|
return t.goto_parent(), r;
|
|
2013
2022
|
}
|
|
2014
|
-
function
|
|
2023
|
+
function Do(t, e, n, s, o, r) {
|
|
2015
2024
|
if (!t.goto_first_child()) return r;
|
|
2016
2025
|
do
|
|
2017
2026
|
if (t.kind === 25) {
|
|
2018
|
-
const l = t.extra, a = l < s || l >= o, f =
|
|
2019
|
-
r = y(r, a ? '<th scope="row"' + f + ">" : "<" + e + f + ">"), r = J(t, r), r = _(r, a || e === "th" ?
|
|
2027
|
+
const l = t.extra, a = l < s || l >= o, f = tn(t, l, n);
|
|
2028
|
+
r = y(r, a ? '<th scope="row"' + f + ">" : "<" + e + f + ">"), r = J(t, r), r = _(r, a || e === "th" ? Ae : qe);
|
|
2020
2029
|
}
|
|
2021
2030
|
while (t.goto_next_sibling());
|
|
2022
2031
|
return t.goto_parent(), r;
|
|
2023
2032
|
}
|
|
2024
|
-
function
|
|
2033
|
+
function In(t, e, n) {
|
|
2025
2034
|
if (n !== 4294967295) {
|
|
2026
2035
|
let s = t.rec;
|
|
2027
2036
|
const o = t.n;
|
|
@@ -2029,7 +2038,7 @@ function Bn(t, e, n) {
|
|
|
2029
2038
|
}
|
|
2030
2039
|
}
|
|
2031
2040
|
function U(t, e, n) {
|
|
2032
|
-
n.end !== 4294967295 &&
|
|
2041
|
+
n.end !== 4294967295 && In(t, e, n.start);
|
|
2033
2042
|
}
|
|
2034
2043
|
function F(t, e, n, s, o) {
|
|
2035
2044
|
if (s !== 4294967295) {
|
|
@@ -2046,22 +2055,22 @@ function F(t, e, n, s, o) {
|
|
|
2046
2055
|
}
|
|
2047
2056
|
function x(t, e) {
|
|
2048
2057
|
if (t === 0) return e;
|
|
2049
|
-
const n =
|
|
2050
|
-
return n !== 0 ? n :
|
|
2058
|
+
const n = Un[t << 7 | e];
|
|
2059
|
+
return n !== 0 ? n : Li(t, e);
|
|
2051
2060
|
}
|
|
2052
|
-
function
|
|
2061
|
+
function Li(t, e) {
|
|
2053
2062
|
const n = b[t], s = b[e];
|
|
2054
|
-
if (n.length + s.length >
|
|
2063
|
+
if (n.length + s.length > Cs || b.length >= Bn)
|
|
2055
2064
|
return i += n, e;
|
|
2056
2065
|
const o = Object.keys({ [n + s]: 0 })[0];
|
|
2057
|
-
let r =
|
|
2058
|
-
return r === void 0 && (r = b.length, b.push(o),
|
|
2066
|
+
let r = fe.get(o);
|
|
2067
|
+
return r === void 0 && (r = b.length, b.push(o), fe.set(o, r), w[r] = o.length), Un[t << 7 | e] = r, r;
|
|
2059
2068
|
}
|
|
2060
2069
|
function P(t, e, n, s, o) {
|
|
2061
2070
|
const r = t.meta();
|
|
2062
|
-
return r === void 0 || !
|
|
2071
|
+
return r === void 0 || !Os(r) ? x(e, s) : (e !== 0 && (i += b[e]), i = i + b[n] + T(t), o);
|
|
2063
2072
|
}
|
|
2064
|
-
function
|
|
2073
|
+
function jt(t, e, n, s, o) {
|
|
2065
2074
|
n !== 0 && (i += b[n]);
|
|
2066
2075
|
const r = i.length;
|
|
2067
2076
|
return S(
|
|
@@ -2074,7 +2083,7 @@ function Mt(t, e, n, s, o) {
|
|
|
2074
2083
|
o
|
|
2075
2084
|
), i += s, 0;
|
|
2076
2085
|
}
|
|
2077
|
-
function
|
|
2086
|
+
function zt(t, e, n, s) {
|
|
2078
2087
|
n !== 0 && (i += b[n]);
|
|
2079
2088
|
const o = i.length;
|
|
2080
2089
|
return F(e, o, o + s.length, t.value_start, t.value_end), i += s, 0;
|
|
@@ -2099,13 +2108,13 @@ function $(t, e, n) {
|
|
|
2099
2108
|
], u = s[
|
|
2100
2109
|
l + 4
|
|
2101
2110
|
/* value_end */
|
|
2102
|
-
], d =
|
|
2111
|
+
], d = gt(t, o, c, u, !1);
|
|
2103
2112
|
if (n !== 0 && (i += b[n], n = 0), c !== 4294967295 && u > c) {
|
|
2104
2113
|
const h = i.length;
|
|
2105
2114
|
F(e, h, h + d.length, c, u);
|
|
2106
2115
|
}
|
|
2107
2116
|
i += d;
|
|
2108
|
-
} else a !== 6 && (t.move_to(o), n =
|
|
2117
|
+
} else a !== 6 && (t.move_to(o), n = de(t, e, n));
|
|
2109
2118
|
const f = s[
|
|
2110
2119
|
l + 6
|
|
2111
2120
|
/* next */
|
|
@@ -2118,10 +2127,10 @@ function $(t, e, n) {
|
|
|
2118
2127
|
}
|
|
2119
2128
|
return t.move_to(r !== 4294967295 ? r : o), n;
|
|
2120
2129
|
}
|
|
2121
|
-
function
|
|
2122
|
-
if (
|
|
2123
|
-
const o =
|
|
2124
|
-
if (o !== null) return
|
|
2130
|
+
function de(t, e, n) {
|
|
2131
|
+
if (_t) {
|
|
2132
|
+
const o = Xt(t);
|
|
2133
|
+
if (o !== null) return uo(t, e, n, o);
|
|
2125
2134
|
}
|
|
2126
2135
|
let s = t.kind;
|
|
2127
2136
|
switch (s) {
|
|
@@ -2140,101 +2149,101 @@ function ce(t, e, n) {
|
|
|
2140
2149
|
case 21: {
|
|
2141
2150
|
if (s === 3) {
|
|
2142
2151
|
const r = t.extra;
|
|
2143
|
-
s = r >= 1 && r <= 6 ?
|
|
2152
|
+
s = r >= 1 && r <= 6 ? It + r : It;
|
|
2144
2153
|
}
|
|
2145
2154
|
const o = i.length + w[n];
|
|
2146
|
-
return n = P(t, n,
|
|
2155
|
+
return n = P(t, n, Dn[s], Nn[s], Rn[s]), n = $(t, e, n), n = x(n, Pn[s]), U(e, o, t), n;
|
|
2147
2156
|
}
|
|
2148
2157
|
case 16: {
|
|
2149
2158
|
const o = i.length + w[n], r = t.meta();
|
|
2150
|
-
return r === void 0 ? n = x(n,
|
|
2159
|
+
return r === void 0 ? n = x(n, ce) : n = P(t, n, oo, ce, q), r !== void 0 && typeof r.checked == "boolean" ? n = Ti(t, e, n, r.checked) : n = $(t, e, n), n = x(n, Ke), U(e, o, t), n;
|
|
2151
2160
|
}
|
|
2152
2161
|
case 8: {
|
|
2153
2162
|
if (C !== null) {
|
|
2154
|
-
const l =
|
|
2163
|
+
const l = rn(t);
|
|
2155
2164
|
if (l !== null)
|
|
2156
|
-
return
|
|
2165
|
+
return Xs(
|
|
2157
2166
|
t,
|
|
2158
2167
|
e,
|
|
2159
2168
|
n,
|
|
2160
|
-
|
|
2169
|
+
zn(t, l),
|
|
2161
2170
|
l.body,
|
|
2162
|
-
|
|
2171
|
+
Fn(l),
|
|
2163
2172
|
null
|
|
2164
2173
|
);
|
|
2165
2174
|
}
|
|
2166
2175
|
const o = i.length + w[n];
|
|
2167
|
-
n = P(t, n,
|
|
2168
|
-
let r =
|
|
2176
|
+
n = P(t, n, Rr, Pr, q);
|
|
2177
|
+
let r = ke(t);
|
|
2169
2178
|
return W.call(r, `
|
|
2170
|
-
`) !== -1 && (r = r.replace(/\n/g, " ")),
|
|
2179
|
+
`) !== -1 && (r = r.replace(/\n/g, " ")), zt(t, e, n, r), U(e, o, t), wn;
|
|
2171
2180
|
}
|
|
2172
2181
|
case 15: {
|
|
2173
2182
|
const o = i.length + w[n], r = t.meta(), l = !!(r != null && r.ordered), a = r == null ? void 0 : r.start;
|
|
2174
|
-
return l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0,
|
|
2183
|
+
return l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0, lt, Dr, ot)) : l ? n = P(t, n, Hr, Vr, ot) : n = P(t, n, Gr, Mr, ot), n = $(t, e, n), n = x(n, l ? Kr : jr), U(e, o, t), n;
|
|
2175
2184
|
}
|
|
2176
2185
|
case 11: {
|
|
2177
2186
|
const o = i.length + w[n];
|
|
2178
|
-
return n = x(n,
|
|
2187
|
+
return n = x(n, zr), U(e, o, t), n;
|
|
2179
2188
|
}
|
|
2180
2189
|
case 17:
|
|
2181
|
-
return x(n,
|
|
2190
|
+
return x(n, Fr);
|
|
2182
2191
|
case 18:
|
|
2183
|
-
return x(n,
|
|
2192
|
+
return x(n, Nr);
|
|
2184
2193
|
case 22: {
|
|
2185
2194
|
const o = i.length + w[n];
|
|
2186
|
-
return n = P(t, n,
|
|
2195
|
+
return n = P(t, n, Jr, Qr, ot), n = Ni(t, e, n), n = x(n, Yr), U(e, o, t), n;
|
|
2187
2196
|
}
|
|
2188
2197
|
case 6:
|
|
2189
2198
|
return n;
|
|
2190
2199
|
case 2:
|
|
2191
|
-
return
|
|
2200
|
+
return Oi(t, e, n);
|
|
2192
2201
|
case 28:
|
|
2193
|
-
return
|
|
2202
|
+
return Di(t, e, n);
|
|
2194
2203
|
case 5:
|
|
2195
|
-
return
|
|
2204
|
+
return Ci(t, e, n);
|
|
2196
2205
|
case 12: {
|
|
2197
2206
|
const o = i.length + w[n];
|
|
2198
2207
|
n !== 0 && (i += b[n]);
|
|
2199
2208
|
const r = t.meta();
|
|
2200
2209
|
let l = "<a";
|
|
2201
|
-
return r != null && r.href && (l +=
|
|
2210
|
+
return r != null && r.href && (l += Ge(r.href, !1)), r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Ze), n = $(t, e, q), n = x(n, Ir), U(e, o, t), n;
|
|
2202
2211
|
}
|
|
2203
2212
|
case 13: {
|
|
2204
2213
|
const o = i.length + w[n];
|
|
2205
2214
|
n !== 0 && (i += b[n]);
|
|
2206
2215
|
const r = t.meta();
|
|
2207
|
-
let l =
|
|
2208
|
-
return l += ' alt="' + D(
|
|
2216
|
+
let l = Kn(r == null ? void 0 : r.src);
|
|
2217
|
+
return l += ' alt="' + D(ye(t)) + '"', r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Xe), U(e, o, t), _e;
|
|
2209
2218
|
}
|
|
2210
2219
|
case 26: {
|
|
2211
2220
|
const o = i.length + w[n];
|
|
2212
|
-
return n = x(n,
|
|
2221
|
+
return n = x(n, $r), zt(t, e, n, Pt(t)), U(e, o, t), pn;
|
|
2213
2222
|
}
|
|
2214
2223
|
case 4: {
|
|
2215
2224
|
const o = i.length + w[n];
|
|
2216
|
-
return n = x(n,
|
|
2225
|
+
return n = x(n, kr), zt(t, e, n, t.text()), U(e, o, t), Z;
|
|
2217
2226
|
}
|
|
2218
2227
|
case 27: {
|
|
2219
2228
|
n !== 0 && (i += b[n]);
|
|
2220
2229
|
const o = i.length, r = t.meta(), l = r == null ? void 0 : r.tag, a = t.text();
|
|
2221
|
-
return i = i + "{@" + O(l), a &&
|
|
2230
|
+
return i = i + "{@" + O(l), a && zt(t, e, Wt, a), U(e, o, t), Z;
|
|
2222
2231
|
}
|
|
2223
2232
|
case 34:
|
|
2224
|
-
return t.index !==
|
|
2233
|
+
return t.index !== Ht ? n : (n !== 0 && (i += b[n]), i += Vt, ae(t, e, !0), i += "<\/script>", 0);
|
|
2225
2234
|
default:
|
|
2226
|
-
return t.kind >= 35 ? t.kind === 36 ?
|
|
2235
|
+
return t.kind >= 35 ? t.kind === 36 ? cl(t, e, n, !0) : n : (nt && ho(t), $(t, e, n));
|
|
2227
2236
|
}
|
|
2228
2237
|
}
|
|
2229
|
-
function
|
|
2230
|
-
const o = s ?
|
|
2238
|
+
function Ti(t, e, n, s) {
|
|
2239
|
+
const o = s ? lo : so, r = Tn(t);
|
|
2231
2240
|
if (r === 4294967295) return $(t, e, x(n, o));
|
|
2232
2241
|
const l = t.words, a = t.index;
|
|
2233
|
-
if (t.move_to(r),
|
|
2234
|
-
|
|
2242
|
+
if (t.move_to(r), _t && Xt(t) !== null)
|
|
2243
|
+
kt = r, Ln = b[o], n = de(t, e, n), kt = -1;
|
|
2235
2244
|
else {
|
|
2236
2245
|
const c = i.length + w[n];
|
|
2237
|
-
n = P(t, n,
|
|
2246
|
+
n = P(t, n, He, Ve, q), n = x(n, o), n = $(t, e, n), n = x(n, Mt), U(e, c, t);
|
|
2238
2247
|
}
|
|
2239
2248
|
let f = l[
|
|
2240
2249
|
r * 12 + 6
|
|
@@ -2248,25 +2257,25 @@ function Si(t, e, n, s) {
|
|
|
2248
2257
|
f * 12 + 6
|
|
2249
2258
|
/* next */
|
|
2250
2259
|
];
|
|
2251
|
-
t.move_to(f), n =
|
|
2260
|
+
t.move_to(f), n = de(t, e, n), f = c;
|
|
2252
2261
|
}
|
|
2253
2262
|
return t.move_to(a), n;
|
|
2254
2263
|
}
|
|
2255
|
-
function
|
|
2256
|
-
const s =
|
|
2264
|
+
function Ci(t, e, n) {
|
|
2265
|
+
const s = Kt(t, t.meta());
|
|
2257
2266
|
if (C !== null) {
|
|
2258
|
-
const r =
|
|
2267
|
+
const r = nn(t, s);
|
|
2259
2268
|
if (r !== null)
|
|
2260
|
-
return
|
|
2269
|
+
return Xs(t, e, n, Mn(t, r), r.body, jn(r), r.live);
|
|
2261
2270
|
}
|
|
2262
2271
|
const o = i.length + w[n];
|
|
2263
|
-
return s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' +
|
|
2272
|
+
return s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' + ze(Gt(s)), n = P(t, 0, lt, Or, q)) : n = P(t, n, Br, Ur, q), Cr(t, e, n, $e(t), !0), U(e, o, t), vn;
|
|
2264
2273
|
}
|
|
2265
|
-
function
|
|
2274
|
+
function Oi(t, e, n) {
|
|
2266
2275
|
n !== 0 && (i += b[n]);
|
|
2267
2276
|
const s = i.length, o = t.meta(), r = o == null ? void 0 : o.tag;
|
|
2268
|
-
if (
|
|
2269
|
-
return i +=
|
|
2277
|
+
if (Ye(t, r))
|
|
2278
|
+
return i += qn(t), F(e, s, i.length, t.start, t.end), 0;
|
|
2270
2279
|
const l = !!(o != null && o.self_closing), a = l && !t.synthetic && t.end > t.start ? t.slice(t.start, t.end) : "";
|
|
2271
2280
|
if (a)
|
|
2272
2281
|
i += a;
|
|
@@ -2277,28 +2286,28 @@ function Ai(t, e, n) {
|
|
|
2277
2286
|
const u = !t.synthetic;
|
|
2278
2287
|
for (const d in c) {
|
|
2279
2288
|
const h = c[d];
|
|
2280
|
-
h === !0 ? f += " " + d : typeof h == "object" && h.type === "expression" ? f +=
|
|
2289
|
+
h === !0 ? f += " " + d : typeof h == "object" && h.type === "expression" ? f += xe(d, O(h.value)) : f += " " + d + '="' + Qt(h, u) + '"';
|
|
2281
2290
|
}
|
|
2282
|
-
o.repeated !== void 0 && (f +=
|
|
2291
|
+
o.repeated !== void 0 && (f += We(o.repeated, u));
|
|
2283
2292
|
}
|
|
2284
2293
|
if (l)
|
|
2285
|
-
return i += f, F(e, s, i.length + w[
|
|
2294
|
+
return i += f, F(e, s, i.length + w[Ut], t.start, t.end), Ut;
|
|
2286
2295
|
i += f;
|
|
2287
2296
|
}
|
|
2288
2297
|
if (l)
|
|
2289
2298
|
return F(e, s, i.length, t.start, t.end), 0;
|
|
2290
|
-
if (
|
|
2291
|
-
t.index ===
|
|
2292
|
-
`,
|
|
2293
|
-
` +
|
|
2294
|
-
`,
|
|
2299
|
+
if (je(r))
|
|
2300
|
+
t.index === dt ? (i = i + b[q] + `
|
|
2301
|
+
`, ae(t, e, !0), zt(t, e, 0, t.text())) : t.index === vt ? (i = i + b[q] + `
|
|
2302
|
+
` + wt + `
|
|
2303
|
+
`, zt(t, e, 0, t.text())) : zt(t, e, q, t.text());
|
|
2295
2304
|
else {
|
|
2296
|
-
const f = $(t, e,
|
|
2305
|
+
const f = $(t, e, q);
|
|
2297
2306
|
f !== 0 && (i += b[f]);
|
|
2298
2307
|
}
|
|
2299
|
-
return i = i + "</" + O(r), U(e, s, t),
|
|
2308
|
+
return i = i + "</" + O(r), U(e, s, t), q;
|
|
2300
2309
|
}
|
|
2301
|
-
function
|
|
2310
|
+
function Di(t, e, n) {
|
|
2302
2311
|
var l;
|
|
2303
2312
|
n !== 0 && (i += b[n]), n = 0;
|
|
2304
2313
|
const s = i.length, o = t.meta(), r = O(o == null ? void 0 : o.tag);
|
|
@@ -2313,24 +2322,24 @@ function Li(t, e, n) {
|
|
|
2313
2322
|
i.length + f.length,
|
|
2314
2323
|
t.value_start,
|
|
2315
2324
|
t.value_end
|
|
2316
|
-
), i += f), n = $(t, e,
|
|
2317
|
-
} else t.kind !== 6 && (n =
|
|
2325
|
+
), i += f), n = $(t, e, Wr);
|
|
2326
|
+
} else t.kind !== 6 && (n = de(t, e, n));
|
|
2318
2327
|
while (t.goto_next_sibling());
|
|
2319
2328
|
t.goto_parent();
|
|
2320
2329
|
}
|
|
2321
2330
|
return n !== 0 && (i += b[n]), i = i + "{/" + r, U(e, s, t), Z;
|
|
2322
2331
|
}
|
|
2323
|
-
function
|
|
2324
|
-
if (
|
|
2325
|
-
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r =
|
|
2332
|
+
function Ni(t, e, n) {
|
|
2333
|
+
if (Je) return Hn(t, e, n);
|
|
2334
|
+
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r = Se(s, o);
|
|
2326
2335
|
let l = !1;
|
|
2327
2336
|
if (!t.goto_first_child()) return n;
|
|
2328
2337
|
do
|
|
2329
|
-
t.kind === 23 ? (n = x(n,
|
|
2338
|
+
t.kind === 23 ? (n = x(n, Zr), n = r ? Ro(t, e, "th", o, 0, Ee, n) : No(t, e, io, Ae, "th", o, n), n = x(n, Xr)) : t.kind === 24 && (l || (n = x(n, to), l = !0), n = x(n, no), n = r ? Ro(t, e, "td", o, Yt, Zt, n) : No(t, e, ao, qe, "td", o, n), n = x(n, ro));
|
|
2330
2339
|
while (t.goto_next_sibling());
|
|
2331
|
-
return t.goto_parent(), l && (n = x(n,
|
|
2340
|
+
return t.goto_parent(), l && (n = x(n, eo)), n;
|
|
2332
2341
|
}
|
|
2333
|
-
function
|
|
2342
|
+
function No(t, e, n, s, o, r, l) {
|
|
2334
2343
|
let a = 0;
|
|
2335
2344
|
if (!t.goto_first_child()) return l;
|
|
2336
2345
|
do
|
|
@@ -2341,12 +2350,12 @@ function To(t, e, n, s, o, r, l) {
|
|
|
2341
2350
|
while (t.goto_next_sibling());
|
|
2342
2351
|
return t.goto_parent(), l;
|
|
2343
2352
|
}
|
|
2344
|
-
function
|
|
2353
|
+
function Ro(t, e, n, s, o, r, l) {
|
|
2345
2354
|
if (!t.goto_first_child()) return l;
|
|
2346
2355
|
do
|
|
2347
2356
|
if (t.kind === 25) {
|
|
2348
|
-
const a = t.extra, f = a < o || a >= r, c =
|
|
2349
|
-
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l = $(t, e, 0), l = x(l, f || n === "th" ?
|
|
2357
|
+
const a = t.extra, f = a < o || a >= r, c = tn(t, a, s);
|
|
2358
|
+
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l = $(t, e, 0), l = x(l, f || n === "th" ? Ae : qe);
|
|
2350
2359
|
}
|
|
2351
2360
|
while (t.goto_next_sibling());
|
|
2352
2361
|
return t.goto_parent(), l;
|
|
@@ -2371,7 +2380,7 @@ function k(t, e, n) {
|
|
|
2371
2380
|
], u = s[
|
|
2372
2381
|
l + 4
|
|
2373
2382
|
/* value_end */
|
|
2374
|
-
], d =
|
|
2383
|
+
], d = gt(t, o, c, u, !1);
|
|
2375
2384
|
if (n !== 0 && (i += b[n], n = 0), c !== 4294967295 && u > c) {
|
|
2376
2385
|
const h = i.length;
|
|
2377
2386
|
S(
|
|
@@ -2386,7 +2395,7 @@ function k(t, e, n) {
|
|
|
2386
2395
|
);
|
|
2387
2396
|
}
|
|
2388
2397
|
i += d;
|
|
2389
|
-
} else a !== 6 && (t.move_to(o), n =
|
|
2398
|
+
} else a !== 6 && (t.move_to(o), n = he(t, e, n));
|
|
2390
2399
|
const f = s[
|
|
2391
2400
|
l + 6
|
|
2392
2401
|
/* next */
|
|
@@ -2399,10 +2408,10 @@ function k(t, e, n) {
|
|
|
2399
2408
|
}
|
|
2400
2409
|
return t.move_to(r !== 4294967295 ? r : o), n;
|
|
2401
2410
|
}
|
|
2402
|
-
function
|
|
2403
|
-
if (
|
|
2404
|
-
const o =
|
|
2405
|
-
if (o !== null) return
|
|
2411
|
+
function he(t, e, n) {
|
|
2412
|
+
if (_t) {
|
|
2413
|
+
const o = Xt(t);
|
|
2414
|
+
if (o !== null) return uo(t, e, n, o);
|
|
2406
2415
|
}
|
|
2407
2416
|
let s = t.kind;
|
|
2408
2417
|
switch (s) {
|
|
@@ -2421,14 +2430,14 @@ function ue(t, e, n) {
|
|
|
2421
2430
|
case 21: {
|
|
2422
2431
|
if (s === 3) {
|
|
2423
2432
|
const a = t.extra;
|
|
2424
|
-
s = a >= 1 && a <= 6 ?
|
|
2433
|
+
s = a >= 1 && a <= 6 ? It + a : It;
|
|
2425
2434
|
}
|
|
2426
2435
|
const o = i.length + w[n];
|
|
2427
|
-
n = P(t, n,
|
|
2436
|
+
n = P(t, n, Dn[s], Nn[s], Rn[s]);
|
|
2428
2437
|
const r = i.length + w[n];
|
|
2429
2438
|
n = k(t, e, n);
|
|
2430
2439
|
const l = i.length + w[n];
|
|
2431
|
-
return n = x(n,
|
|
2440
|
+
return n = x(n, Pn[s]), L(
|
|
2432
2441
|
e,
|
|
2433
2442
|
o,
|
|
2434
2443
|
r,
|
|
@@ -2441,11 +2450,11 @@ function ue(t, e, n) {
|
|
|
2441
2450
|
}
|
|
2442
2451
|
case 16: {
|
|
2443
2452
|
const o = i.length + w[n], r = t.meta();
|
|
2444
|
-
r === void 0 ? n = x(n,
|
|
2453
|
+
r === void 0 ? n = x(n, ce) : n = P(t, n, oo, ce, q);
|
|
2445
2454
|
const l = i.length + w[n];
|
|
2446
|
-
r !== void 0 && typeof r.checked == "boolean" ? n =
|
|
2455
|
+
r !== void 0 && typeof r.checked == "boolean" ? n = Ri(t, e, n, r.checked) : n = k(t, e, n);
|
|
2447
2456
|
const a = i.length + w[n];
|
|
2448
|
-
return n = x(n,
|
|
2457
|
+
return n = x(n, Ke), L(
|
|
2449
2458
|
e,
|
|
2450
2459
|
o,
|
|
2451
2460
|
l,
|
|
@@ -2458,24 +2467,24 @@ function ue(t, e, n) {
|
|
|
2458
2467
|
}
|
|
2459
2468
|
case 8: {
|
|
2460
2469
|
if (C !== null) {
|
|
2461
|
-
const f =
|
|
2470
|
+
const f = rn(t);
|
|
2462
2471
|
if (f !== null)
|
|
2463
|
-
return
|
|
2472
|
+
return tl(
|
|
2464
2473
|
t,
|
|
2465
2474
|
e,
|
|
2466
2475
|
n,
|
|
2467
|
-
|
|
2476
|
+
zn(t, f),
|
|
2468
2477
|
f.body,
|
|
2469
|
-
|
|
2478
|
+
Fn(f),
|
|
2470
2479
|
null
|
|
2471
2480
|
);
|
|
2472
2481
|
}
|
|
2473
2482
|
const o = i.length + w[n];
|
|
2474
|
-
n = P(t, n,
|
|
2483
|
+
n = P(t, n, Rr, Pr, q);
|
|
2475
2484
|
const r = i.length + w[n];
|
|
2476
|
-
let l =
|
|
2485
|
+
let l = ke(t);
|
|
2477
2486
|
W.call(l, `
|
|
2478
|
-
`) !== -1 && (l = l.replace(/\n/g, " ")),
|
|
2487
|
+
`) !== -1 && (l = l.replace(/\n/g, " ")), jt(
|
|
2479
2488
|
t,
|
|
2480
2489
|
e,
|
|
2481
2490
|
n,
|
|
@@ -2489,19 +2498,19 @@ function ue(t, e, n) {
|
|
|
2489
2498
|
o,
|
|
2490
2499
|
r,
|
|
2491
2500
|
a,
|
|
2492
|
-
a + w[
|
|
2501
|
+
a + w[wn],
|
|
2493
2502
|
t,
|
|
2494
2503
|
1
|
|
2495
2504
|
/* CODE */
|
|
2496
|
-
),
|
|
2505
|
+
), wn;
|
|
2497
2506
|
}
|
|
2498
2507
|
case 15: {
|
|
2499
2508
|
const o = i.length + w[n], r = t.meta(), l = !!(r != null && r.ordered), a = r == null ? void 0 : r.start;
|
|
2500
|
-
l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0,
|
|
2509
|
+
l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0, lt, Dr, ot)) : l ? n = P(t, n, Hr, Vr, ot) : n = P(t, n, Gr, Mr, ot);
|
|
2501
2510
|
const f = i.length + w[n];
|
|
2502
2511
|
n = k(t, e, n);
|
|
2503
2512
|
const c = i.length + w[n];
|
|
2504
|
-
return n = x(n, l ?
|
|
2513
|
+
return n = x(n, l ? Kr : jr), L(
|
|
2505
2514
|
e,
|
|
2506
2515
|
o,
|
|
2507
2516
|
f,
|
|
@@ -2514,7 +2523,7 @@ function ue(t, e, n) {
|
|
|
2514
2523
|
}
|
|
2515
2524
|
case 11: {
|
|
2516
2525
|
const o = i.length + w[n];
|
|
2517
|
-
n = x(n,
|
|
2526
|
+
n = x(n, zr);
|
|
2518
2527
|
const r = i.length + w[n];
|
|
2519
2528
|
if (S(
|
|
2520
2529
|
e,
|
|
@@ -2540,16 +2549,16 @@ function ue(t, e, n) {
|
|
|
2540
2549
|
return n;
|
|
2541
2550
|
}
|
|
2542
2551
|
case 17:
|
|
2543
|
-
return x(n,
|
|
2552
|
+
return x(n, Fr);
|
|
2544
2553
|
case 18:
|
|
2545
|
-
return x(n,
|
|
2554
|
+
return x(n, Nr);
|
|
2546
2555
|
case 22: {
|
|
2547
2556
|
const o = i.length + w[n];
|
|
2548
|
-
n = P(t, n,
|
|
2557
|
+
n = P(t, n, Jr, Qr, ot);
|
|
2549
2558
|
const r = i.length + w[n];
|
|
2550
|
-
n =
|
|
2559
|
+
n = Ii(t, e, n);
|
|
2551
2560
|
const l = i.length + w[n];
|
|
2552
|
-
return n = x(n,
|
|
2561
|
+
return n = x(n, Yr), L(
|
|
2553
2562
|
e,
|
|
2554
2563
|
o,
|
|
2555
2564
|
r,
|
|
@@ -2563,21 +2572,21 @@ function ue(t, e, n) {
|
|
|
2563
2572
|
case 6:
|
|
2564
2573
|
return n;
|
|
2565
2574
|
case 2:
|
|
2566
|
-
return
|
|
2575
|
+
return Bi(t, e, n);
|
|
2567
2576
|
case 28:
|
|
2568
|
-
return
|
|
2577
|
+
return Ui(t, e, n);
|
|
2569
2578
|
case 5:
|
|
2570
|
-
return
|
|
2579
|
+
return Pi(t, e, n);
|
|
2571
2580
|
case 12: {
|
|
2572
2581
|
const o = i.length + w[n];
|
|
2573
2582
|
n !== 0 && (i += b[n]);
|
|
2574
2583
|
const r = t.meta();
|
|
2575
2584
|
let l = "<a";
|
|
2576
|
-
r != null && r.href && (l +=
|
|
2577
|
-
const a = i.length + w[
|
|
2578
|
-
n = k(t, e,
|
|
2585
|
+
r != null && r.href && (l += Ge(r.href, !1)), r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Ze);
|
|
2586
|
+
const a = i.length + w[q];
|
|
2587
|
+
n = k(t, e, q);
|
|
2579
2588
|
const f = i.length + w[n];
|
|
2580
|
-
return n = x(n,
|
|
2589
|
+
return n = x(n, Ir), L(
|
|
2581
2590
|
e,
|
|
2582
2591
|
o,
|
|
2583
2592
|
a,
|
|
@@ -2592,9 +2601,9 @@ function ue(t, e, n) {
|
|
|
2592
2601
|
const o = i.length + w[n];
|
|
2593
2602
|
n !== 0 && (i += b[n]);
|
|
2594
2603
|
const r = t.meta();
|
|
2595
|
-
let l =
|
|
2596
|
-
l += ' alt="' + D(
|
|
2597
|
-
const a =
|
|
2604
|
+
let l = Kn(r == null ? void 0 : r.src);
|
|
2605
|
+
l += ' alt="' + D(ye(t)) + '"', r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Xe);
|
|
2606
|
+
const a = _e;
|
|
2598
2607
|
return S(
|
|
2599
2608
|
e,
|
|
2600
2609
|
o,
|
|
@@ -2607,13 +2616,13 @@ function ue(t, e, n) {
|
|
|
2607
2616
|
}
|
|
2608
2617
|
case 26: {
|
|
2609
2618
|
const o = i.length + w[n];
|
|
2610
|
-
n = x(n,
|
|
2619
|
+
n = x(n, $r);
|
|
2611
2620
|
const r = i.length + w[n];
|
|
2612
|
-
|
|
2621
|
+
jt(
|
|
2613
2622
|
t,
|
|
2614
2623
|
e,
|
|
2615
2624
|
n,
|
|
2616
|
-
|
|
2625
|
+
Pt(t),
|
|
2617
2626
|
1
|
|
2618
2627
|
/* TEXT_CONTENT */
|
|
2619
2628
|
);
|
|
@@ -2623,17 +2632,17 @@ function ue(t, e, n) {
|
|
|
2623
2632
|
o,
|
|
2624
2633
|
r,
|
|
2625
2634
|
l,
|
|
2626
|
-
l + w[
|
|
2635
|
+
l + w[pn],
|
|
2627
2636
|
t,
|
|
2628
2637
|
0
|
|
2629
2638
|
/* TEXT */
|
|
2630
|
-
),
|
|
2639
|
+
), pn;
|
|
2631
2640
|
}
|
|
2632
2641
|
case 4: {
|
|
2633
2642
|
const o = i.length + w[n];
|
|
2634
|
-
n = x(n,
|
|
2643
|
+
n = x(n, kr);
|
|
2635
2644
|
const r = i.length + w[n];
|
|
2636
|
-
|
|
2645
|
+
jt(
|
|
2637
2646
|
t,
|
|
2638
2647
|
e,
|
|
2639
2648
|
n,
|
|
@@ -2658,10 +2667,10 @@ function ue(t, e, n) {
|
|
|
2658
2667
|
const o = i.length, r = t.meta(), l = r == null ? void 0 : r.tag, a = t.text();
|
|
2659
2668
|
i = i + "{@" + O(l);
|
|
2660
2669
|
let f = i.length;
|
|
2661
|
-
a && (f += 1,
|
|
2670
|
+
a && (f += 1, jt(
|
|
2662
2671
|
t,
|
|
2663
2672
|
e,
|
|
2664
|
-
|
|
2673
|
+
Wt,
|
|
2665
2674
|
a,
|
|
2666
2675
|
9
|
|
2667
2676
|
/* SVELTE_CONTENT */
|
|
@@ -2679,24 +2688,24 @@ function ue(t, e, n) {
|
|
|
2679
2688
|
), Z;
|
|
2680
2689
|
}
|
|
2681
2690
|
case 34:
|
|
2682
|
-
return t.index !==
|
|
2691
|
+
return t.index !== Ht ? n : (n !== 0 && (i += b[n]), i += Vt, ae(t, e, !1), i += "<\/script>", 0);
|
|
2683
2692
|
default:
|
|
2684
|
-
return t.kind >= 35 ? t.kind === 36 ?
|
|
2693
|
+
return t.kind >= 35 ? t.kind === 36 ? cl(t, e, n, !1) : n : (nt && ho(t), k(t, e, n));
|
|
2685
2694
|
}
|
|
2686
2695
|
}
|
|
2687
|
-
function
|
|
2688
|
-
const o = s ?
|
|
2696
|
+
function Ri(t, e, n, s) {
|
|
2697
|
+
const o = s ? lo : so, r = Tn(t);
|
|
2689
2698
|
if (r === 4294967295) return k(t, e, x(n, o));
|
|
2690
2699
|
const l = t.words, a = t.index;
|
|
2691
|
-
if (t.move_to(r),
|
|
2692
|
-
|
|
2700
|
+
if (t.move_to(r), _t && Xt(t) !== null)
|
|
2701
|
+
kt = r, Ln = b[o], n = he(t, e, n), kt = -1;
|
|
2693
2702
|
else {
|
|
2694
2703
|
const c = i.length + w[n];
|
|
2695
|
-
n = P(t, n,
|
|
2704
|
+
n = P(t, n, He, Ve, q);
|
|
2696
2705
|
const u = i.length + w[n];
|
|
2697
2706
|
n = x(n, o), n = k(t, e, n);
|
|
2698
2707
|
const d = i.length + w[n];
|
|
2699
|
-
n = x(n,
|
|
2708
|
+
n = x(n, Mt), L(
|
|
2700
2709
|
e,
|
|
2701
2710
|
c,
|
|
2702
2711
|
u,
|
|
@@ -2719,38 +2728,38 @@ function Ci(t, e, n, s) {
|
|
|
2719
2728
|
f * 12 + 6
|
|
2720
2729
|
/* next */
|
|
2721
2730
|
];
|
|
2722
|
-
t.move_to(f), n =
|
|
2731
|
+
t.move_to(f), n = he(t, e, n), f = c;
|
|
2723
2732
|
}
|
|
2724
2733
|
return t.move_to(a), n;
|
|
2725
2734
|
}
|
|
2726
|
-
function
|
|
2727
|
-
const s =
|
|
2735
|
+
function Pi(t, e, n) {
|
|
2736
|
+
const s = Kt(t, t.meta());
|
|
2728
2737
|
if (C !== null) {
|
|
2729
|
-
const a =
|
|
2738
|
+
const a = nn(t, s);
|
|
2730
2739
|
if (a !== null)
|
|
2731
|
-
return
|
|
2740
|
+
return tl(t, e, n, Mn(t, a), a.body, jn(a), a.live);
|
|
2732
2741
|
}
|
|
2733
2742
|
const o = i.length + w[n];
|
|
2734
|
-
s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' +
|
|
2743
|
+
s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' + ze(Gt(s)), n = P(t, 0, lt, Or, q)) : n = P(t, n, Br, Ur, q);
|
|
2735
2744
|
const r = i.length + w[n];
|
|
2736
|
-
|
|
2745
|
+
Cr(t, e, n, $e(t), !1);
|
|
2737
2746
|
const l = i.length;
|
|
2738
2747
|
return L(
|
|
2739
2748
|
e,
|
|
2740
2749
|
o,
|
|
2741
2750
|
r,
|
|
2742
2751
|
l,
|
|
2743
|
-
l + w[
|
|
2752
|
+
l + w[vn],
|
|
2744
2753
|
t,
|
|
2745
2754
|
1
|
|
2746
2755
|
/* CODE */
|
|
2747
|
-
),
|
|
2756
|
+
), vn;
|
|
2748
2757
|
}
|
|
2749
|
-
function
|
|
2758
|
+
function Bi(t, e, n) {
|
|
2750
2759
|
n !== 0 && (i += b[n]);
|
|
2751
2760
|
const s = i.length, o = t.meta(), r = o == null ? void 0 : o.tag;
|
|
2752
|
-
if (
|
|
2753
|
-
return i +=
|
|
2761
|
+
if (Ye(t, r))
|
|
2762
|
+
return i += qn(t), S(
|
|
2754
2763
|
e,
|
|
2755
2764
|
s,
|
|
2756
2765
|
i.length,
|
|
@@ -2770,21 +2779,21 @@ function Di(t, e, n) {
|
|
|
2770
2779
|
const h = !t.synthetic;
|
|
2771
2780
|
for (const v in d) {
|
|
2772
2781
|
const E = d[v];
|
|
2773
|
-
E === !0 ? u += " " + v : typeof E == "object" && E.type === "expression" ? u +=
|
|
2782
|
+
E === !0 ? u += " " + v : typeof E == "object" && E.type === "expression" ? u += xe(v, O(E.value)) : u += " " + v + '="' + Qt(E, h) + '"';
|
|
2774
2783
|
}
|
|
2775
|
-
o.repeated !== void 0 && (u +=
|
|
2784
|
+
o.repeated !== void 0 && (u += We(o.repeated, h));
|
|
2776
2785
|
}
|
|
2777
2786
|
if (i += u, l)
|
|
2778
2787
|
return S(
|
|
2779
2788
|
e,
|
|
2780
2789
|
s,
|
|
2781
|
-
i.length + w[
|
|
2790
|
+
i.length + w[Ut],
|
|
2782
2791
|
t.start,
|
|
2783
2792
|
t.end,
|
|
2784
2793
|
t.index,
|
|
2785
2794
|
9
|
|
2786
2795
|
/* SVELTE_CONTENT */
|
|
2787
|
-
),
|
|
2796
|
+
), Ut;
|
|
2788
2797
|
}
|
|
2789
2798
|
if (l)
|
|
2790
2799
|
return S(
|
|
@@ -2797,35 +2806,35 @@ function Di(t, e, n) {
|
|
|
2797
2806
|
9
|
|
2798
2807
|
/* SVELTE_CONTENT */
|
|
2799
2808
|
), 0;
|
|
2800
|
-
const f = i.length + w[
|
|
2801
|
-
if (
|
|
2802
|
-
t.index ===
|
|
2803
|
-
`,
|
|
2809
|
+
const f = i.length + w[q];
|
|
2810
|
+
if (je(r))
|
|
2811
|
+
t.index === dt ? (i = i + b[q] + `
|
|
2812
|
+
`, ae(t, e, !1), jt(
|
|
2804
2813
|
t,
|
|
2805
2814
|
e,
|
|
2806
2815
|
0,
|
|
2807
2816
|
t.text(),
|
|
2808
2817
|
9
|
|
2809
2818
|
/* SVELTE_CONTENT */
|
|
2810
|
-
)) : t.index ===
|
|
2811
|
-
` +
|
|
2812
|
-
`,
|
|
2819
|
+
)) : t.index === vt ? (i = i + b[q] + `
|
|
2820
|
+
` + wt + `
|
|
2821
|
+
`, jt(
|
|
2813
2822
|
t,
|
|
2814
2823
|
e,
|
|
2815
2824
|
0,
|
|
2816
2825
|
t.text(),
|
|
2817
2826
|
9
|
|
2818
2827
|
/* SVELTE_CONTENT */
|
|
2819
|
-
)) :
|
|
2828
|
+
)) : jt(
|
|
2820
2829
|
t,
|
|
2821
2830
|
e,
|
|
2822
|
-
|
|
2831
|
+
q,
|
|
2823
2832
|
t.text(),
|
|
2824
2833
|
9
|
|
2825
2834
|
/* SVELTE_CONTENT */
|
|
2826
2835
|
);
|
|
2827
2836
|
else {
|
|
2828
|
-
const u = k(t, e,
|
|
2837
|
+
const u = k(t, e, q);
|
|
2829
2838
|
u !== 0 && (i += b[u]);
|
|
2830
2839
|
}
|
|
2831
2840
|
const c = i.length;
|
|
@@ -2834,13 +2843,13 @@ function Di(t, e, n) {
|
|
|
2834
2843
|
s,
|
|
2835
2844
|
f,
|
|
2836
2845
|
c,
|
|
2837
|
-
i.length + w[
|
|
2846
|
+
i.length + w[q],
|
|
2838
2847
|
t,
|
|
2839
2848
|
0
|
|
2840
2849
|
/* TEXT */
|
|
2841
|
-
),
|
|
2850
|
+
), q;
|
|
2842
2851
|
}
|
|
2843
|
-
function
|
|
2852
|
+
function Ui(t, e, n) {
|
|
2844
2853
|
var l;
|
|
2845
2854
|
n !== 0 && (i += b[n]), n = 0;
|
|
2846
2855
|
const s = i.length, o = t.meta(), r = O(o == null ? void 0 : o.tag);
|
|
@@ -2858,8 +2867,8 @@ function Ni(t, e, n) {
|
|
|
2858
2867
|
t.index,
|
|
2859
2868
|
9
|
|
2860
2869
|
/* SVELTE_CONTENT */
|
|
2861
|
-
), i += f), n = k(t, e,
|
|
2862
|
-
} else t.kind !== 6 && (n =
|
|
2870
|
+
), i += f), n = k(t, e, Wr);
|
|
2871
|
+
} else t.kind !== 6 && (n = he(t, e, n));
|
|
2863
2872
|
while (t.goto_next_sibling());
|
|
2864
2873
|
t.goto_parent();
|
|
2865
2874
|
}
|
|
@@ -2874,17 +2883,17 @@ function Ni(t, e, n) {
|
|
|
2874
2883
|
/* SVELTE_NODE */
|
|
2875
2884
|
), Z;
|
|
2876
2885
|
}
|
|
2877
|
-
function
|
|
2878
|
-
if (
|
|
2879
|
-
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r =
|
|
2886
|
+
function Ii(t, e, n) {
|
|
2887
|
+
if (Je) return Hn(t, e, n);
|
|
2888
|
+
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r = Se(s, o);
|
|
2880
2889
|
let l = !1;
|
|
2881
2890
|
if (!t.goto_first_child()) return n;
|
|
2882
2891
|
do
|
|
2883
|
-
t.kind === 23 ? (n = x(n,
|
|
2892
|
+
t.kind === 23 ? (n = x(n, Zr), n = r ? Bo(t, e, "th", o, 0, Ee, n) : Po(t, e, io, Ae, "th", o, n), n = x(n, Xr)) : t.kind === 24 && (l || (n = x(n, to), l = !0), n = x(n, no), n = r ? Bo(t, e, "td", o, Yt, Zt, n) : Po(t, e, ao, qe, "td", o, n), n = x(n, ro));
|
|
2884
2893
|
while (t.goto_next_sibling());
|
|
2885
|
-
return t.goto_parent(), l && (n = x(n,
|
|
2894
|
+
return t.goto_parent(), l && (n = x(n, eo)), n;
|
|
2886
2895
|
}
|
|
2887
|
-
function
|
|
2896
|
+
function Po(t, e, n, s, o, r, l) {
|
|
2888
2897
|
let a = 0;
|
|
2889
2898
|
if (!t.goto_first_child()) return l;
|
|
2890
2899
|
do
|
|
@@ -2895,31 +2904,31 @@ function Oo(t, e, n, s, o, r, l) {
|
|
|
2895
2904
|
while (t.goto_next_sibling());
|
|
2896
2905
|
return t.goto_parent(), l;
|
|
2897
2906
|
}
|
|
2898
|
-
function
|
|
2907
|
+
function Bo(t, e, n, s, o, r, l) {
|
|
2899
2908
|
if (!t.goto_first_child()) return l;
|
|
2900
2909
|
do
|
|
2901
2910
|
if (t.kind === 25) {
|
|
2902
|
-
const a = t.extra, f = a < o || a >= r, c =
|
|
2903
|
-
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l = k(t, e, 0), l = x(l, f || n === "th" ?
|
|
2911
|
+
const a = t.extra, f = a < o || a >= r, c = tn(t, a, s);
|
|
2912
|
+
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l = k(t, e, 0), l = x(l, f || n === "th" ? Ae : qe);
|
|
2904
2913
|
}
|
|
2905
2914
|
while (t.goto_next_sibling());
|
|
2906
2915
|
return t.goto_parent(), l;
|
|
2907
2916
|
}
|
|
2908
|
-
function
|
|
2909
|
-
j =
|
|
2910
|
-
const e = et ?
|
|
2917
|
+
function Ds(t) {
|
|
2918
|
+
j = ut;
|
|
2919
|
+
const e = et ? Eo(t, void 0, 0, 0, !1) : ue(t, 0);
|
|
2911
2920
|
let n = j;
|
|
2912
|
-
return j = "", e !== 0 && (n += b[e]), n.length !== 0 && (
|
|
2921
|
+
return j = "", e !== 0 && (n += b[e]), n.length !== 0 && (fr[0] = n.charCodeAt(0)), n;
|
|
2913
2922
|
}
|
|
2914
|
-
const
|
|
2915
|
-
function
|
|
2923
|
+
const Hi = ["", "h1", "h2", "h3", "h4", "h5", "h6"], Uo = ["thead", "tbody", "tr", "th", "td"];
|
|
2924
|
+
function Ns(t) {
|
|
2916
2925
|
var e;
|
|
2917
2926
|
switch (t.kind) {
|
|
2918
2927
|
case 7:
|
|
2919
2928
|
return t.pending && t.parent_kind === 16 ? "" : "p";
|
|
2920
2929
|
case 3: {
|
|
2921
2930
|
const n = t.extra;
|
|
2922
|
-
return n >= 1 && n <= 6 ?
|
|
2931
|
+
return n >= 1 && n <= 6 ? Hi[n] : "";
|
|
2923
2932
|
}
|
|
2924
2933
|
case 9:
|
|
2925
2934
|
return "em";
|
|
@@ -2940,7 +2949,7 @@ function Ts(t) {
|
|
|
2940
2949
|
case 8:
|
|
2941
2950
|
return t.extra === 1 && C !== null && C.math === !0 ? "math" : "code";
|
|
2942
2951
|
case 5:
|
|
2943
|
-
return C !== null && C.math === !0 &&
|
|
2952
|
+
return C !== null && C.math === !0 && aa(t) ? "math" : "pre";
|
|
2944
2953
|
case 12:
|
|
2945
2954
|
return "a";
|
|
2946
2955
|
case 13:
|
|
@@ -2954,21 +2963,21 @@ function Ts(t) {
|
|
|
2954
2963
|
case 22:
|
|
2955
2964
|
return "table";
|
|
2956
2965
|
case 2:
|
|
2957
|
-
return
|
|
2966
|
+
return Qe ? Rs(t) : Ki(t);
|
|
2958
2967
|
default:
|
|
2959
2968
|
return "";
|
|
2960
2969
|
}
|
|
2961
2970
|
}
|
|
2962
|
-
const
|
|
2963
|
-
function
|
|
2964
|
-
return t.synthetic ?
|
|
2971
|
+
const Vi = /^[a-z][a-z0-9-]*$/;
|
|
2972
|
+
function Ki(t) {
|
|
2973
|
+
return t.synthetic ? Rs(t) : "";
|
|
2965
2974
|
}
|
|
2966
|
-
function
|
|
2975
|
+
function Rs(t) {
|
|
2967
2976
|
var n;
|
|
2968
2977
|
const e = (n = t.meta()) == null ? void 0 : n.tag;
|
|
2969
|
-
return typeof e != "string" || e === "script" || e === "style" ? "" :
|
|
2978
|
+
return typeof e != "string" || e === "script" || e === "style" ? "" : Vi.test(e) ? e : "";
|
|
2970
2979
|
}
|
|
2971
|
-
const
|
|
2980
|
+
const Io = [
|
|
2972
2981
|
"bind:",
|
|
2973
2982
|
"on:",
|
|
2974
2983
|
"use:",
|
|
@@ -2980,138 +2989,138 @@ const Ro = [
|
|
|
2980
2989
|
"animate:",
|
|
2981
2990
|
"let:"
|
|
2982
2991
|
];
|
|
2983
|
-
function
|
|
2992
|
+
function Ps(t) {
|
|
2984
2993
|
var n;
|
|
2985
2994
|
const e = (n = t.meta()) == null ? void 0 : n.attributes;
|
|
2986
2995
|
if (e === void 0) return "";
|
|
2987
2996
|
for (const s in e) {
|
|
2988
2997
|
const o = W.call(s, ":");
|
|
2989
2998
|
if (o !== -1)
|
|
2990
|
-
for (let r = 0; r <
|
|
2991
|
-
const l =
|
|
2999
|
+
for (let r = 0; r < Io.length; r++) {
|
|
3000
|
+
const l = Io[r];
|
|
2992
3001
|
if (l.length === o + 1 && s.startsWith(l)) return s;
|
|
2993
3002
|
}
|
|
2994
3003
|
}
|
|
2995
3004
|
return "";
|
|
2996
3005
|
}
|
|
2997
|
-
function
|
|
3006
|
+
function Xt(t) {
|
|
2998
3007
|
const e = t.kind;
|
|
2999
3008
|
if (e >= 30 && e <= 32)
|
|
3000
|
-
return
|
|
3001
|
-
const n =
|
|
3009
|
+
return Re.get(en(t)) ?? null;
|
|
3010
|
+
const n = Ns(t);
|
|
3002
3011
|
if (n === "") return null;
|
|
3003
3012
|
const s = z.get(n);
|
|
3004
|
-
return s === void 0 ||
|
|
3013
|
+
return s === void 0 || Qe && t.kind === 2 && Ps(t) !== "" ? null : s;
|
|
3005
3014
|
}
|
|
3006
|
-
function
|
|
3015
|
+
function en(t) {
|
|
3007
3016
|
var n;
|
|
3008
3017
|
const e = (n = t.meta()) == null ? void 0 : n.name;
|
|
3009
3018
|
return typeof e == "string" ? e : "";
|
|
3010
3019
|
}
|
|
3011
|
-
function
|
|
3012
|
-
|
|
3020
|
+
function Bs(t) {
|
|
3021
|
+
mn.has(t) || (mn.add(t), Bt.push(t));
|
|
3013
3022
|
}
|
|
3014
|
-
function
|
|
3023
|
+
function At(t) {
|
|
3015
3024
|
const e = z.get(t);
|
|
3016
|
-
return e !== void 0 &&
|
|
3025
|
+
return e !== void 0 && Bs(e), e;
|
|
3017
3026
|
}
|
|
3018
|
-
function
|
|
3027
|
+
function Gi(t, e) {
|
|
3019
3028
|
if (z.get(e) === void 0) return;
|
|
3020
|
-
const n =
|
|
3021
|
-
n === "" ?
|
|
3029
|
+
const n = Ps(t);
|
|
3030
|
+
n === "" ? At(e) : Ue.push({ tag: e, directive: n, start: t.start });
|
|
3022
3031
|
}
|
|
3023
|
-
function
|
|
3024
|
-
|
|
3032
|
+
function Mi(t, e) {
|
|
3033
|
+
bn = !0, Oe.has(t.specifier) || (Oe.add(t.specifier), Be.push(t.specifier));
|
|
3025
3034
|
const n = e.imports;
|
|
3026
3035
|
if (n !== void 0)
|
|
3027
3036
|
for (let s = 0; s < n.length; s++) {
|
|
3028
3037
|
const o = n[s];
|
|
3029
|
-
|
|
3038
|
+
Oe.has(o) || (Oe.add(o), re += o);
|
|
3030
3039
|
}
|
|
3031
3040
|
}
|
|
3032
|
-
function
|
|
3041
|
+
function co(t) {
|
|
3033
3042
|
if (t.goto_first_child()) {
|
|
3034
3043
|
do {
|
|
3035
3044
|
const e = t.kind;
|
|
3036
3045
|
if (!(e === 1 || e === 6)) {
|
|
3037
3046
|
if (e >= 30 && e <= 32) {
|
|
3038
|
-
const n =
|
|
3047
|
+
const n = Re.get(en(t));
|
|
3039
3048
|
if (n !== void 0) {
|
|
3040
|
-
const s = n.static === !0 ?
|
|
3041
|
-
s === void 0 ?
|
|
3049
|
+
const s = n.static === !0 ? Gs(t, n) : void 0;
|
|
3050
|
+
s === void 0 ? Bs(n) : Mi(n, s);
|
|
3042
3051
|
}
|
|
3043
3052
|
} else if (e === 37)
|
|
3044
|
-
|
|
3053
|
+
At("footnotes");
|
|
3045
3054
|
else {
|
|
3046
|
-
const n =
|
|
3047
|
-
n !== "" && (
|
|
3055
|
+
const n = Ns(t);
|
|
3056
|
+
n !== "" && (Qe && e === 2 ? Gi(t, n) : At(n));
|
|
3048
3057
|
}
|
|
3049
|
-
e === 22 ?
|
|
3058
|
+
e === 22 ? ji(t) : e !== 13 && e !== 8 && e !== 5 && co(t);
|
|
3050
3059
|
}
|
|
3051
3060
|
} while (t.goto_next_sibling());
|
|
3052
3061
|
t.goto_parent();
|
|
3053
3062
|
}
|
|
3054
3063
|
}
|
|
3055
|
-
function
|
|
3064
|
+
function ji(t) {
|
|
3056
3065
|
const e = t.meta();
|
|
3057
3066
|
let n = 0, s = 2147483647;
|
|
3058
|
-
if (
|
|
3067
|
+
if (Se(e, (e == null ? void 0 : e.alignments) ?? []) && (n = Yt, s = Zt), !t.goto_first_child()) return;
|
|
3059
3068
|
let o = !1;
|
|
3060
3069
|
do {
|
|
3061
3070
|
const r = t.kind;
|
|
3062
|
-
r === 23 ? (
|
|
3071
|
+
r === 23 ? (At("thead"), At("tr"), Ho(t, "th", 0, 2147483647)) : r === 24 && (o || (At("tbody"), o = !0), At("tr"), Ho(t, "td", n, s));
|
|
3063
3072
|
} while (t.goto_next_sibling());
|
|
3064
3073
|
t.goto_parent();
|
|
3065
3074
|
}
|
|
3066
|
-
function
|
|
3075
|
+
function Ho(t, e, n, s) {
|
|
3067
3076
|
if (t.goto_first_child()) {
|
|
3068
3077
|
do
|
|
3069
3078
|
if (t.kind === 25) {
|
|
3070
3079
|
const o = t.extra;
|
|
3071
|
-
|
|
3080
|
+
At(o < n || o >= s ? "th" : e), co(t);
|
|
3072
3081
|
}
|
|
3073
3082
|
while (t.goto_next_sibling());
|
|
3074
3083
|
t.goto_parent();
|
|
3075
3084
|
}
|
|
3076
3085
|
}
|
|
3077
|
-
const
|
|
3078
|
-
function
|
|
3079
|
-
z = e ??
|
|
3080
|
-
const l =
|
|
3081
|
-
if (
|
|
3082
|
-
|
|
3083
|
-
for (let a = 0; a <
|
|
3084
|
-
const f = z.get(
|
|
3085
|
-
f !== void 0 &&
|
|
3086
|
+
const Vo = new Al([], "");
|
|
3087
|
+
function tr(t, e, n, s, o, r) {
|
|
3088
|
+
z = e ?? Vo, Re = n ?? Vo, r !== void 0 && Re.has_static && (Pe = r), I = s, Qe = o, co(t);
|
|
3089
|
+
const l = Ue.length === 0 ? Tr : Ue.splice(0);
|
|
3090
|
+
if (Bt.length === 0 && !bn) return l;
|
|
3091
|
+
_t = !0;
|
|
3092
|
+
for (let a = 0; a < Uo.length; a++) {
|
|
3093
|
+
const f = z.get(Uo[a]);
|
|
3094
|
+
f !== void 0 && mn.has(f) && (Je = !0);
|
|
3086
3095
|
}
|
|
3087
|
-
return
|
|
3096
|
+
return bn && (re = zi() + re), st = as(Bt) + re, l;
|
|
3088
3097
|
}
|
|
3089
|
-
function
|
|
3098
|
+
function zi() {
|
|
3090
3099
|
let t = "";
|
|
3091
|
-
for (let e = 0; e <
|
|
3092
|
-
const n =
|
|
3100
|
+
for (let e = 0; e < Be.length; e++) {
|
|
3101
|
+
const n = Be[e];
|
|
3093
3102
|
let s = !1;
|
|
3094
|
-
for (let o = 0; o <
|
|
3095
|
-
if (
|
|
3103
|
+
for (let o = 0; o < Bt.length; o++)
|
|
3104
|
+
if (Bt[o].specifier === n) {
|
|
3096
3105
|
s = !0;
|
|
3097
3106
|
break;
|
|
3098
3107
|
}
|
|
3099
|
-
s || (t +=
|
|
3108
|
+
s || (t += ql(n));
|
|
3100
3109
|
}
|
|
3101
3110
|
return t;
|
|
3102
3111
|
}
|
|
3103
|
-
function
|
|
3104
|
-
|
|
3112
|
+
function er() {
|
|
3113
|
+
_t = !1, Je = !1, z = null, Re = null, Pe = null, bn = !1, Be.length !== 0 && (Be.length = 0, Oe.clear(), re = ""), I = 0, Qe = !1, st = "", ut = "", Ue.length !== 0 && (Ue.length = 0), Bt.length !== 0 && (Bt.length = 0, mn.clear());
|
|
3105
3114
|
}
|
|
3106
|
-
function
|
|
3115
|
+
function A(t, e) {
|
|
3107
3116
|
return I === 0 ? y(t, e) : (t !== 0 && (i += b[t]), i += e, 0);
|
|
3108
3117
|
}
|
|
3109
|
-
function
|
|
3118
|
+
function Jt(t, e, n) {
|
|
3110
3119
|
if (I === 0) return J(t, n);
|
|
3111
3120
|
const s = I === 1 ? $(t, e, n) : k(t, e, n);
|
|
3112
3121
|
return s !== 0 && (i += b[s]), 0;
|
|
3113
3122
|
}
|
|
3114
|
-
function
|
|
3123
|
+
function cr(t, e, n, s, o = 5) {
|
|
3115
3124
|
if (I === 0) return y(n, s);
|
|
3116
3125
|
n !== 0 && (i += b[n]);
|
|
3117
3126
|
const r = i.length;
|
|
@@ -3125,10 +3134,10 @@ function ir(t, e, n, s, o = 5) {
|
|
|
3125
3134
|
o
|
|
3126
3135
|
), i += s, 0;
|
|
3127
3136
|
}
|
|
3128
|
-
function
|
|
3137
|
+
function oe(t, e, n, s, o, r, l) {
|
|
3129
3138
|
I === 1 ? U(e, n, t) : I === 2 && L(e, n, s, o, r, t, l);
|
|
3130
3139
|
}
|
|
3131
|
-
function
|
|
3140
|
+
function se(t, e, n, s) {
|
|
3132
3141
|
if (I === 1) U(e, n, t);
|
|
3133
3142
|
else if (I === 2) {
|
|
3134
3143
|
const o = i.length;
|
|
@@ -3147,21 +3156,21 @@ function re(t, e, n, s) {
|
|
|
3147
3156
|
}
|
|
3148
3157
|
}
|
|
3149
3158
|
}
|
|
3150
|
-
let
|
|
3151
|
-
function
|
|
3159
|
+
let gn = 0;
|
|
3160
|
+
function an(t, e) {
|
|
3152
3161
|
for (; ; ) {
|
|
3153
3162
|
const n = t.charCodeAt(e);
|
|
3154
3163
|
if (n !== 32 && n !== 9 && n !== 10) return e;
|
|
3155
3164
|
e++;
|
|
3156
3165
|
}
|
|
3157
3166
|
}
|
|
3158
|
-
function
|
|
3167
|
+
function Fi(t, e, n) {
|
|
3159
3168
|
const s = t.source;
|
|
3160
3169
|
let o = t.start + 1;
|
|
3161
3170
|
if (!s.startsWith(e, o)) return -1;
|
|
3162
3171
|
if (o += e.length, n !== void 0)
|
|
3163
3172
|
for (const l in n) {
|
|
3164
|
-
const a = n[l], f =
|
|
3173
|
+
const a = n[l], f = an(s, o);
|
|
3165
3174
|
if (f === o) return -1;
|
|
3166
3175
|
if (o = f, s.charCodeAt(o) === 123) {
|
|
3167
3176
|
if (typeof a != "object" || a === null || a.value !== l || !s.startsWith(l, o + 1) || s.charCodeAt(o + 1 + l.length) !== 125)
|
|
@@ -3171,8 +3180,8 @@ function Ki(t, e, n) {
|
|
|
3171
3180
|
}
|
|
3172
3181
|
if (!s.startsWith(l, o)) return -1;
|
|
3173
3182
|
if (o += l.length, a === !0) continue;
|
|
3174
|
-
if (o =
|
|
3175
|
-
o =
|
|
3183
|
+
if (o = an(s, o), s.charCodeAt(o) !== 61) return -1;
|
|
3184
|
+
o = an(s, o + 1);
|
|
3176
3185
|
let c, u = -1, d = -1;
|
|
3177
3186
|
if (typeof a == "string") {
|
|
3178
3187
|
c = a;
|
|
@@ -3191,23 +3200,23 @@ function Ki(t, e, n) {
|
|
|
3191
3200
|
o++;
|
|
3192
3201
|
}
|
|
3193
3202
|
}
|
|
3194
|
-
|
|
3203
|
+
gn = o, o = an(s, o);
|
|
3195
3204
|
const r = s.charCodeAt(o);
|
|
3196
3205
|
return r === 62 ? o + 1 : r === 47 && s.charCodeAt(o + 1) === 62 ? o + 2 : -1;
|
|
3197
3206
|
}
|
|
3198
|
-
function
|
|
3207
|
+
function $i(t, e, n) {
|
|
3199
3208
|
if (t.length === 2 && t.charCodeAt(0) === 104) {
|
|
3200
3209
|
const s = t.charCodeAt(1) - 48;
|
|
3201
|
-
if (s >= 1 && s <= 6 && !
|
|
3210
|
+
if (s >= 1 && s <= 6 && !Ko(e, n, "level"))
|
|
3202
3211
|
return " level={" + s + "}";
|
|
3203
|
-
} else if (t === "ol" && !
|
|
3212
|
+
} else if (t === "ol" && !Ko(e, n, "start"))
|
|
3204
3213
|
return " start={1}";
|
|
3205
3214
|
return "";
|
|
3206
3215
|
}
|
|
3207
|
-
function
|
|
3208
|
-
return e !== void 0 ?
|
|
3216
|
+
function Ko(t, e, n) {
|
|
3217
|
+
return e !== void 0 ? hl(e, n) : t !== void 0 && n in t;
|
|
3209
3218
|
}
|
|
3210
|
-
function
|
|
3219
|
+
function ki(t, e, n, s, o, r, l) {
|
|
3211
3220
|
if (I === 0) return;
|
|
3212
3221
|
const a = n + (o - s);
|
|
3213
3222
|
I === 1 ? (F(e, n, a, s, o), F(e, a, r, o, l)) : (o > s && S(
|
|
@@ -3233,8 +3242,8 @@ function ji(t, e, n, s, o, r, l) {
|
|
|
3233
3242
|
function X(t, e) {
|
|
3234
3243
|
return " " + t + "={" + JSON.stringify(e) + "}";
|
|
3235
3244
|
}
|
|
3236
|
-
function
|
|
3237
|
-
if (B !== null) return
|
|
3245
|
+
function Kt(t, e) {
|
|
3246
|
+
if (B !== null) return ia(t, e);
|
|
3238
3247
|
let n = e == null ? void 0 : e.info;
|
|
3239
3248
|
if (!n) {
|
|
3240
3249
|
const s = e == null ? void 0 : e.info_start, o = e == null ? void 0 : e.info_end;
|
|
@@ -3242,12 +3251,12 @@ function Vt(t, e) {
|
|
|
3242
3251
|
}
|
|
3243
3252
|
return n;
|
|
3244
3253
|
}
|
|
3245
|
-
function
|
|
3254
|
+
function uo(t, e, n, s) {
|
|
3246
3255
|
var E;
|
|
3247
3256
|
I !== 0 && n !== 0 && (i += b[n], n = 0);
|
|
3248
3257
|
const o = t.kind;
|
|
3249
3258
|
if (o >= 30 && o <= 32)
|
|
3250
|
-
return
|
|
3259
|
+
return Yi(t, e, n, s);
|
|
3251
3260
|
const r = i.length, l = s.local;
|
|
3252
3261
|
let a = "<" + l, f = "", c = "</" + l + ">", u = 0, d = !1;
|
|
3253
3262
|
switch (o) {
|
|
@@ -3256,12 +3265,12 @@ function ao(t, e, n, s) {
|
|
|
3256
3265
|
break;
|
|
3257
3266
|
case 12: {
|
|
3258
3267
|
const g = t.meta();
|
|
3259
|
-
g != null && g.href && (a +=
|
|
3268
|
+
g != null && g.href && (a += Ge(g.href, !1)), g != null && g.title && (a += ' title="' + D(g.title) + '"'), a += T(t, Ze);
|
|
3260
3269
|
break;
|
|
3261
3270
|
}
|
|
3262
3271
|
case 13: {
|
|
3263
3272
|
const g = t.meta();
|
|
3264
|
-
return g != null && g.src && (a +=
|
|
3273
|
+
return g != null && g.src && (a += Ge(g.src, !0)), a += ' alt="' + D(ye(t)) + '"', g != null && g.title && (a += ' title="' + D(g.title) + '"'), n = A(n, a + T(t, Xe) + " />"), se(
|
|
3265
3274
|
t,
|
|
3266
3275
|
e,
|
|
3267
3276
|
r,
|
|
@@ -3270,7 +3279,7 @@ function ao(t, e, n, s) {
|
|
|
3270
3279
|
), n;
|
|
3271
3280
|
}
|
|
3272
3281
|
case 11:
|
|
3273
|
-
return n =
|
|
3282
|
+
return n = A(n, a + T(t) + " />"), se(
|
|
3274
3283
|
t,
|
|
3275
3284
|
e,
|
|
3276
3285
|
r,
|
|
@@ -3278,12 +3287,12 @@ function ao(t, e, n, s) {
|
|
|
3278
3287
|
/* STRUCTURE */
|
|
3279
3288
|
), n;
|
|
3280
3289
|
case 17:
|
|
3281
|
-
return
|
|
3290
|
+
return A(n, a + T(t) + ` />
|
|
3282
3291
|
`);
|
|
3283
3292
|
case 36:
|
|
3284
|
-
return
|
|
3293
|
+
return qa(t, e, n, r, a, c);
|
|
3285
3294
|
case 7:
|
|
3286
|
-
a += T(t), t.index ===
|
|
3295
|
+
a += T(t), t.index === kt && (f = Ln);
|
|
3287
3296
|
break;
|
|
3288
3297
|
case 15: {
|
|
3289
3298
|
const g = t.meta();
|
|
@@ -3314,17 +3323,17 @@ function ao(t, e, n, s) {
|
|
|
3314
3323
|
break;
|
|
3315
3324
|
case 8: {
|
|
3316
3325
|
if (C !== null) {
|
|
3317
|
-
const V =
|
|
3326
|
+
const V = rn(t);
|
|
3318
3327
|
if (V !== null)
|
|
3319
|
-
return s.name === "math" ?
|
|
3328
|
+
return s.name === "math" ? ua(t, e, n, V, a, c) : da(t, e, n, V, a, c);
|
|
3320
3329
|
}
|
|
3321
|
-
n =
|
|
3330
|
+
n = A(n, a + T(t) + ">");
|
|
3322
3331
|
const g = i.length;
|
|
3323
|
-
let p =
|
|
3332
|
+
let p = ke(t);
|
|
3324
3333
|
W.call(p, `
|
|
3325
|
-
`) !== -1 && (p = p.replace(/\n/g, " ")), n =
|
|
3334
|
+
`) !== -1 && (p = p.replace(/\n/g, " ")), n = cr(t, e, n, p);
|
|
3326
3335
|
const N = i.length;
|
|
3327
|
-
return n =
|
|
3336
|
+
return n = A(n, c), oe(
|
|
3328
3337
|
t,
|
|
3329
3338
|
e,
|
|
3330
3339
|
r,
|
|
@@ -3336,21 +3345,21 @@ function ao(t, e, n, s) {
|
|
|
3336
3345
|
), n;
|
|
3337
3346
|
}
|
|
3338
3347
|
case 5: {
|
|
3339
|
-
const g =
|
|
3348
|
+
const g = Kt(t, t.meta());
|
|
3340
3349
|
if (C !== null) {
|
|
3341
|
-
const H =
|
|
3350
|
+
const H = nn(t, g);
|
|
3342
3351
|
if (H !== null)
|
|
3343
|
-
return s.name === "math" ?
|
|
3352
|
+
return s.name === "math" ? ca(t, e, n, H, g, a, c) : fa(t, e, n, H, g, a, c);
|
|
3344
3353
|
}
|
|
3345
3354
|
a += T(t);
|
|
3346
3355
|
let p = "<code>";
|
|
3347
3356
|
if (g) {
|
|
3348
|
-
const H = Gt(g), tt =
|
|
3349
|
-
a += X("lang", H), tt && (a += X("meta", tt),
|
|
3357
|
+
const H = Gt(g), tt = Gn(g);
|
|
3358
|
+
a += X("lang", H), tt && (a += X("meta", tt), Et !== null && (a += Et.pre_props(tt, t.start))), p = '<code class="language-' + ze(H) + '">';
|
|
3350
3359
|
}
|
|
3351
|
-
B !== null && (a +=
|
|
3352
|
-
const N = i.length, V =
|
|
3353
|
-
n = I === 0 ? y(n, V) :
|
|
3360
|
+
B !== null && (a += Qs(t)), n = A(n, a + X("code", Sn(t)) + "><pre>" + p);
|
|
3361
|
+
const N = i.length, V = $e(t);
|
|
3362
|
+
n = I === 0 ? y(n, V) : Cr(
|
|
3354
3363
|
t,
|
|
3355
3364
|
e,
|
|
3356
3365
|
n,
|
|
@@ -3358,69 +3367,69 @@ function ao(t, e, n, s) {
|
|
|
3358
3367
|
I === 1
|
|
3359
3368
|
/* TRACE */
|
|
3360
3369
|
);
|
|
3361
|
-
const
|
|
3362
|
-
return n =
|
|
3370
|
+
const ht = i.length;
|
|
3371
|
+
return n = A(n, "</code></pre>" + c), oe(
|
|
3363
3372
|
t,
|
|
3364
3373
|
e,
|
|
3365
3374
|
r,
|
|
3366
3375
|
N,
|
|
3367
|
-
|
|
3376
|
+
ht,
|
|
3368
3377
|
i.length,
|
|
3369
3378
|
1
|
|
3370
3379
|
/* CODE */
|
|
3371
3380
|
), n;
|
|
3372
3381
|
}
|
|
3373
3382
|
case 2: {
|
|
3374
|
-
const g = t.meta(), p = g.tag, N = !t.synthetic, V = N ?
|
|
3383
|
+
const g = t.meta(), p = g.tag, N = !t.synthetic, V = N ? os(g) : void 0, ht = V !== void 0 && V.name_start === t.start + 1, H = ht ? void 0 : g.attributes;
|
|
3375
3384
|
let tt = -1;
|
|
3376
|
-
|
|
3377
|
-
const
|
|
3378
|
-
if (tt !== -1) a += t.slice(
|
|
3385
|
+
ht ? (tt = V.open_end, gn = V.attrs_end) : N && (tt = Fi(t, p, H));
|
|
3386
|
+
const te = t.start + 1 + p.length, Le = r + a.length;
|
|
3387
|
+
if (tt !== -1) a += t.slice(te, gn);
|
|
3379
3388
|
else if (H) {
|
|
3380
|
-
for (const
|
|
3381
|
-
const
|
|
3382
|
-
|
|
3389
|
+
for (const xt in H) {
|
|
3390
|
+
const Te = H[xt];
|
|
3391
|
+
Te === !0 ? a += " " + xt : typeof Te == "object" && Te.type === "expression" ? a += xe(xt, O(Te.value)) : a += " " + xt + '="' + Qt(O(Te), N) + '"';
|
|
3383
3392
|
}
|
|
3384
|
-
g.repeated !== void 0 && (a +=
|
|
3393
|
+
g.repeated !== void 0 && (a += We(g.repeated, N));
|
|
3385
3394
|
}
|
|
3386
|
-
N && (a +=
|
|
3387
|
-
const
|
|
3388
|
-
if (tt !== -1 &&
|
|
3395
|
+
N && (a += $i(p, H, ht ? V : void 0));
|
|
3396
|
+
const on = g.self_closing ? " />" : ">";
|
|
3397
|
+
if (tt !== -1 && ki(
|
|
3389
3398
|
t,
|
|
3390
3399
|
e,
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
r + a.length +
|
|
3400
|
+
Le,
|
|
3401
|
+
te,
|
|
3402
|
+
gn,
|
|
3403
|
+
r + a.length + on.length,
|
|
3395
3404
|
tt
|
|
3396
3405
|
), g.self_closing)
|
|
3397
|
-
return n =
|
|
3406
|
+
return n = A(n, a + on), se(
|
|
3398
3407
|
t,
|
|
3399
3408
|
e,
|
|
3400
3409
|
r,
|
|
3401
3410
|
0
|
|
3402
3411
|
/* TEXT */
|
|
3403
3412
|
), n;
|
|
3404
|
-
d =
|
|
3413
|
+
d = je(p);
|
|
3405
3414
|
break;
|
|
3406
3415
|
}
|
|
3407
3416
|
default:
|
|
3408
3417
|
a += T(t);
|
|
3409
3418
|
}
|
|
3410
|
-
n =
|
|
3419
|
+
n = A(n, a + ">" + f);
|
|
3411
3420
|
const h = i.length;
|
|
3412
|
-
d ? n =
|
|
3421
|
+
d ? n = cr(
|
|
3413
3422
|
t,
|
|
3414
3423
|
e,
|
|
3415
3424
|
n,
|
|
3416
3425
|
t.text(),
|
|
3417
3426
|
9
|
|
3418
3427
|
/* SVELTE_CONTENT */
|
|
3419
|
-
) : n = o === 22 ?
|
|
3428
|
+
) : n = o === 22 ? Hn(t, e, n) : Jt(t, e, n);
|
|
3420
3429
|
const v = i.length;
|
|
3421
|
-
return n =
|
|
3430
|
+
return n = A(n, c), oe(t, e, r, h, v, i.length, u), n;
|
|
3422
3431
|
}
|
|
3423
|
-
class
|
|
3432
|
+
class Us extends Error {
|
|
3424
3433
|
constructor(e, n) {
|
|
3425
3434
|
const s = e.start, o = e.source;
|
|
3426
3435
|
let r = 1, l = 0;
|
|
@@ -3428,42 +3437,42 @@ class Ns extends Error {
|
|
|
3428
3437
|
`); c !== -1 && c < s; c = o.indexOf(`
|
|
3429
3438
|
`, c + 1))
|
|
3430
3439
|
r++, l = c + 1;
|
|
3431
|
-
const a = s - l + 1, f =
|
|
3440
|
+
const a = s - l + 1, f = Wi(e);
|
|
3432
3441
|
super(n.replace("%", f + " at " + r + ":" + a)), this.name = "DirectiveError", this.directive = f, this.start = s, this.line = r, this.column = a;
|
|
3433
3442
|
}
|
|
3434
3443
|
}
|
|
3435
|
-
function
|
|
3444
|
+
function Wi(t) {
|
|
3436
3445
|
const e = t.kind;
|
|
3437
|
-
return (e === 30 ? ":" : e === 31 ? "::" : ":::") +
|
|
3446
|
+
return (e === 30 ? ":" : e === 31 ? "::" : ":::") + en(t);
|
|
3438
3447
|
}
|
|
3439
|
-
function
|
|
3448
|
+
function ho(t) {
|
|
3440
3449
|
const e = t.kind;
|
|
3441
|
-
e >= 30 && e <= 32 &&
|
|
3450
|
+
e >= 30 && e <= 32 && Ji(t);
|
|
3442
3451
|
}
|
|
3443
|
-
function
|
|
3452
|
+
function Ji(t) {
|
|
3444
3453
|
const e = t.kind, n = e === 30 ? "directive_inline" : e === 31 ? "directive_leaf" : "directive_container";
|
|
3445
|
-
throw new
|
|
3454
|
+
throw new Us(
|
|
3446
3455
|
t,
|
|
3447
|
-
"no component renders the directive %. Export a component named " + JSON.stringify(
|
|
3456
|
+
"no component renders the directive %. Export a component named " + JSON.stringify(en(t)) + " from a directives module (export * as directives from './directives.ts'), or replace the " + n + " node in a parse plugin"
|
|
3448
3457
|
);
|
|
3449
3458
|
}
|
|
3450
|
-
function
|
|
3459
|
+
function Is(t, e) {
|
|
3451
3460
|
var o;
|
|
3452
3461
|
const n = (o = t.meta()) == null ? void 0 : o.args;
|
|
3453
3462
|
if (n === void 0) return "";
|
|
3454
3463
|
let s = "";
|
|
3455
3464
|
for (const r in n) {
|
|
3456
3465
|
if (r === "children" || r === "label" && e !== 30)
|
|
3457
|
-
throw new
|
|
3466
|
+
throw new Us(
|
|
3458
3467
|
t,
|
|
3459
3468
|
"the directive % has an argument named " + r + ", which its component receives as a snippet"
|
|
3460
3469
|
);
|
|
3461
3470
|
const l = n[r];
|
|
3462
|
-
s += l.indexOf("{") === -1 && l.indexOf("}") === -1 ? " " + r + '="' +
|
|
3471
|
+
s += l.indexOf("{") === -1 && l.indexOf("}") === -1 ? " " + r + '="' + ve(l) + '"' : X(r, l);
|
|
3463
3472
|
}
|
|
3464
3473
|
return s;
|
|
3465
3474
|
}
|
|
3466
|
-
function
|
|
3475
|
+
function Hs(t) {
|
|
3467
3476
|
const e = t.words;
|
|
3468
3477
|
let n = e[
|
|
3469
3478
|
t.index * 12 + 8
|
|
@@ -3486,7 +3495,7 @@ function Ps(t) {
|
|
|
3486
3495
|
} while (n !== 4294967295);
|
|
3487
3496
|
return !1;
|
|
3488
3497
|
}
|
|
3489
|
-
function
|
|
3498
|
+
function go(t) {
|
|
3490
3499
|
const e = t.words, n = e[
|
|
3491
3500
|
t.index * 12 + 8
|
|
3492
3501
|
/* first_child */
|
|
@@ -3498,35 +3507,35 @@ function co(t) {
|
|
|
3498
3507
|
/* parent */
|
|
3499
3508
|
] === t.index && (e[s] & 255) === 35 ? n : 4294967295;
|
|
3500
3509
|
}
|
|
3501
|
-
function
|
|
3502
|
-
n =
|
|
3510
|
+
function Qi(t, e, n, s) {
|
|
3511
|
+
n = A(n, "{#snippet label()}");
|
|
3503
3512
|
const o = t.index;
|
|
3504
|
-
return t.move_to(s), n =
|
|
3513
|
+
return t.move_to(s), n = Jt(t, e, n), t.move_to(o), A(n, "{/snippet}");
|
|
3505
3514
|
}
|
|
3506
|
-
function
|
|
3507
|
-
if (s.static === !0 &&
|
|
3508
|
-
const v =
|
|
3509
|
-
if (v !== void 0) return
|
|
3515
|
+
function Yi(t, e, n, s) {
|
|
3516
|
+
if (s.static === !0 && Pe !== null) {
|
|
3517
|
+
const v = Gs(t, s);
|
|
3518
|
+
if (v !== void 0) return Zi(t, e, n, v);
|
|
3510
3519
|
}
|
|
3511
|
-
const o = i.length, r = t.kind, l = s.local, a = "<" + l +
|
|
3520
|
+
const o = i.length, r = t.kind, l = s.local, a = "<" + l + Is(t, r), f = r === 30 ? 4294967295 : go(t), c = f !== 4294967295, u = r === 30 ? t.words[
|
|
3512
3521
|
t.index * 12 + 8
|
|
3513
3522
|
/* first_child */
|
|
3514
|
-
] !== 4294967295 : r === 32 &&
|
|
3523
|
+
] !== 4294967295 : r === 32 && Hs(t);
|
|
3515
3524
|
if (!c && !u)
|
|
3516
|
-
return n =
|
|
3525
|
+
return n = A(n, a + " />"), se(
|
|
3517
3526
|
t,
|
|
3518
3527
|
e,
|
|
3519
3528
|
o,
|
|
3520
3529
|
3
|
|
3521
3530
|
/* STRUCTURE */
|
|
3522
3531
|
), n;
|
|
3523
|
-
n =
|
|
3532
|
+
n = A(n, a + ">"), c && (n = Qi(t, e, n, f));
|
|
3524
3533
|
const d = i.length;
|
|
3525
|
-
u && (r === 32 && (n =
|
|
3526
|
-
`)), n =
|
|
3534
|
+
u && (r === 32 && (n = A(n, `
|
|
3535
|
+
`)), n = Jt(t, e, n), r === 32 && (n = A(n, `
|
|
3527
3536
|
`)));
|
|
3528
3537
|
const h = i.length;
|
|
3529
|
-
return n =
|
|
3538
|
+
return n = A(n, "</" + l + ">"), oe(
|
|
3530
3539
|
t,
|
|
3531
3540
|
e,
|
|
3532
3541
|
o,
|
|
@@ -3537,7 +3546,7 @@ function ki(t, e, n, s) {
|
|
|
3537
3546
|
/* STRUCTURE */
|
|
3538
3547
|
), n;
|
|
3539
3548
|
}
|
|
3540
|
-
function
|
|
3549
|
+
function Vs(t) {
|
|
3541
3550
|
const e = t.kind;
|
|
3542
3551
|
return e === 30 ? {
|
|
3543
3552
|
label: 4294967295,
|
|
@@ -3547,16 +3556,16 @@ function Bs(t) {
|
|
|
3547
3556
|
] !== 4294967295
|
|
3548
3557
|
/* NONE */
|
|
3549
3558
|
} : {
|
|
3550
|
-
label:
|
|
3551
|
-
children: e === 32 &&
|
|
3559
|
+
label: go(t),
|
|
3560
|
+
children: e === 32 && Hs(t)
|
|
3552
3561
|
};
|
|
3553
3562
|
}
|
|
3554
|
-
function
|
|
3563
|
+
function Ks(t, e) {
|
|
3555
3564
|
var r;
|
|
3556
3565
|
const n = t.kind;
|
|
3557
|
-
|
|
3558
|
-
const { label: s, children: o } =
|
|
3559
|
-
return
|
|
3566
|
+
Is(t, n);
|
|
3567
|
+
const { label: s, children: o } = Vs(t);
|
|
3568
|
+
return Sl(
|
|
3560
3569
|
e.specifier,
|
|
3561
3570
|
e.name,
|
|
3562
3571
|
(r = t.meta()) == null ? void 0 : r.args,
|
|
@@ -3564,13 +3573,13 @@ function Us(t, e) {
|
|
|
3564
3573
|
o
|
|
3565
3574
|
);
|
|
3566
3575
|
}
|
|
3567
|
-
function
|
|
3568
|
-
return
|
|
3576
|
+
function Gs(t, e) {
|
|
3577
|
+
return Pe === null ? void 0 : Pe.get(Ks(t, e));
|
|
3569
3578
|
}
|
|
3570
|
-
function
|
|
3579
|
+
function Zi(t, e, n, s) {
|
|
3571
3580
|
const o = i.length, r = t.kind, { html: l, holes: a } = s;
|
|
3572
|
-
if (n =
|
|
3573
|
-
return
|
|
3581
|
+
if (n = A(n, l[0]), a.length === 0)
|
|
3582
|
+
return se(
|
|
3574
3583
|
t,
|
|
3575
3584
|
e,
|
|
3576
3585
|
o,
|
|
@@ -3581,12 +3590,12 @@ function Wi(t, e, n, s) {
|
|
|
3581
3590
|
for (let c = 0; c < a.length; c++) {
|
|
3582
3591
|
if (a[c] === "label") {
|
|
3583
3592
|
const u = t.index;
|
|
3584
|
-
t.move_to(
|
|
3593
|
+
t.move_to(go(t)), n = Jt(t, e, n), t.move_to(u);
|
|
3585
3594
|
} else
|
|
3586
|
-
n =
|
|
3595
|
+
n = Jt(t, e, n);
|
|
3587
3596
|
if (c === a.length - 1) {
|
|
3588
3597
|
const u = i.length;
|
|
3589
|
-
n =
|
|
3598
|
+
n = A(n, l[c + 1]), oe(
|
|
3590
3599
|
t,
|
|
3591
3600
|
e,
|
|
3592
3601
|
o,
|
|
@@ -3596,25 +3605,25 @@ function Wi(t, e, n, s) {
|
|
|
3596
3605
|
r === 30 ? 0 : 3
|
|
3597
3606
|
/* STRUCTURE */
|
|
3598
3607
|
);
|
|
3599
|
-
} else n =
|
|
3608
|
+
} else n = A(n, l[c + 1]);
|
|
3600
3609
|
}
|
|
3601
3610
|
return n;
|
|
3602
3611
|
}
|
|
3603
|
-
function
|
|
3612
|
+
function pf(t, e, n, s) {
|
|
3604
3613
|
const o = [];
|
|
3605
3614
|
if (!n.has_static) return o;
|
|
3606
|
-
const r = new
|
|
3615
|
+
const r = new ir(t, e), l = /* @__PURE__ */ new Set(), a = () => {
|
|
3607
3616
|
var f;
|
|
3608
3617
|
if (r.goto_first_child()) {
|
|
3609
3618
|
do {
|
|
3610
3619
|
const c = r.kind;
|
|
3611
3620
|
if (c >= 30 && c <= 32) {
|
|
3612
|
-
const u = n.get(
|
|
3621
|
+
const u = n.get(en(r));
|
|
3613
3622
|
if (u !== void 0 && u.static === !0) {
|
|
3614
|
-
const d =
|
|
3623
|
+
const d = Ks(r, u);
|
|
3615
3624
|
if (!l.has(d) && (s == null ? void 0 : s.get(d)) === void 0) {
|
|
3616
3625
|
l.add(d);
|
|
3617
|
-
const { label: h, children: v } =
|
|
3626
|
+
const { label: h, children: v } = Vs(r), E = (f = r.meta()) == null ? void 0 : f.args;
|
|
3618
3627
|
o.push({
|
|
3619
3628
|
key: d,
|
|
3620
3629
|
specifier: u.specifier,
|
|
@@ -3634,8 +3643,8 @@ function bf(t, e, n, s) {
|
|
|
3634
3643
|
};
|
|
3635
3644
|
return a(), o;
|
|
3636
3645
|
}
|
|
3637
|
-
function
|
|
3638
|
-
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r =
|
|
3646
|
+
function Hn(t, e, n) {
|
|
3647
|
+
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r = Se(s, o), l = z.get("thead"), a = z.get("tbody"), f = z.get("tr"), c = f ? "<" + f.local + `>
|
|
3639
3648
|
` : `<tr>
|
|
3640
3649
|
`, u = f ? "</" + f.local + `>
|
|
3641
3650
|
` : `</tr>
|
|
@@ -3644,9 +3653,9 @@ function Un(t, e, n) {
|
|
|
3644
3653
|
if (!t.goto_first_child()) return n;
|
|
3645
3654
|
do
|
|
3646
3655
|
if (t.kind === 23)
|
|
3647
|
-
n =
|
|
3656
|
+
n = A(n, (l ? "<" + l.local + `>
|
|
3648
3657
|
` : `<thead>
|
|
3649
|
-
`) + c), n = r ?
|
|
3658
|
+
`) + c), n = r ? Mo(t, e, n, "th", o, 0, Ee) : Go(t, e, n, "th", o), n = A(
|
|
3650
3659
|
n,
|
|
3651
3660
|
u + (l ? "</" + l.local + `>
|
|
3652
3661
|
` : `</thead>
|
|
@@ -3656,75 +3665,75 @@ function Un(t, e, n) {
|
|
|
3656
3665
|
let h = c;
|
|
3657
3666
|
d || (h = (a ? "<" + a.local + `>
|
|
3658
3667
|
` : `<tbody>
|
|
3659
|
-
`) + h, d = !0), n =
|
|
3668
|
+
`) + h, d = !0), n = A(n, h), n = r ? Mo(t, e, n, "td", o, Yt, Zt) : Go(t, e, n, "td", o), n = A(n, u);
|
|
3660
3669
|
}
|
|
3661
3670
|
while (t.goto_next_sibling());
|
|
3662
|
-
return t.goto_parent(), d && (n =
|
|
3671
|
+
return t.goto_parent(), d && (n = A(n, a ? "</" + a.local + ">" : "</tbody>")), n;
|
|
3663
3672
|
}
|
|
3664
|
-
function
|
|
3673
|
+
function Go(t, e, n, s, o) {
|
|
3665
3674
|
const r = z.get(s), l = r ? r.local : s;
|
|
3666
3675
|
let a = 0;
|
|
3667
3676
|
if (!t.goto_first_child()) return n;
|
|
3668
3677
|
do
|
|
3669
3678
|
if (t.kind === 25) {
|
|
3670
3679
|
const f = o[a];
|
|
3671
|
-
n =
|
|
3680
|
+
n = A(
|
|
3672
3681
|
n,
|
|
3673
3682
|
f && f !== "none" ? "<" + l + ' align="' + f + '">' : "<" + l + ">"
|
|
3674
|
-
), n =
|
|
3683
|
+
), n = Jt(t, e, n), n = A(n, "</" + l + `>
|
|
3675
3684
|
`), a++;
|
|
3676
3685
|
}
|
|
3677
3686
|
while (t.goto_next_sibling());
|
|
3678
3687
|
return t.goto_parent(), n;
|
|
3679
3688
|
}
|
|
3680
|
-
function
|
|
3689
|
+
function Mo(t, e, n, s, o, r, l) {
|
|
3681
3690
|
const a = z.get(s), f = a ? a.local : s, c = s === "th" ? void 0 : z.get("th"), u = c ? c.local : "th";
|
|
3682
3691
|
if (!t.goto_first_child()) return n;
|
|
3683
3692
|
do
|
|
3684
3693
|
if (t.kind === 25) {
|
|
3685
|
-
const d = t.extra, h = d < r || d >= l, v =
|
|
3686
|
-
n =
|
|
3694
|
+
const d = t.extra, h = d < r || d >= l, v = tn(t, d, o), E = h ? u : f;
|
|
3695
|
+
n = A(
|
|
3687
3696
|
n,
|
|
3688
3697
|
h ? "<" + E + ' scope="row"' + v + ">" : "<" + E + v + ">"
|
|
3689
|
-
), n =
|
|
3698
|
+
), n = Jt(t, e, n), n = A(n, "</" + E + `>
|
|
3690
3699
|
`);
|
|
3691
3700
|
}
|
|
3692
3701
|
while (t.goto_next_sibling());
|
|
3693
3702
|
return t.goto_parent(), n;
|
|
3694
3703
|
}
|
|
3695
|
-
let
|
|
3696
|
-
function
|
|
3704
|
+
let nr = new Uint32Array(0);
|
|
3705
|
+
function Ms(t, e) {
|
|
3697
3706
|
const n = t.length + 1;
|
|
3698
3707
|
let s;
|
|
3699
3708
|
if (e !== void 0 && e.length >= n)
|
|
3700
3709
|
s = e;
|
|
3701
3710
|
else {
|
|
3702
|
-
if (
|
|
3711
|
+
if (nr.length < n) {
|
|
3703
3712
|
let o = 16;
|
|
3704
3713
|
for (; o < n; ) o <<= 1;
|
|
3705
|
-
|
|
3714
|
+
nr = new Uint32Array(o);
|
|
3706
3715
|
}
|
|
3707
|
-
s =
|
|
3716
|
+
s = nr;
|
|
3708
3717
|
}
|
|
3709
3718
|
s[0] = 0;
|
|
3710
3719
|
for (let o = 0; o < t.length; o++)
|
|
3711
3720
|
s[o + 1] = s[o] + (t[o] + "").length;
|
|
3712
3721
|
return s;
|
|
3713
3722
|
}
|
|
3714
|
-
function
|
|
3715
|
-
const n = new
|
|
3716
|
-
return n.syntax = t.syntax, n.rec =
|
|
3723
|
+
function js(t, e) {
|
|
3724
|
+
const n = new Sr();
|
|
3725
|
+
return n.syntax = t.syntax, n.rec = yl(t.rec, t.n, Ms(e)), n.n = t.n, n;
|
|
3717
3726
|
}
|
|
3718
|
-
function
|
|
3719
|
-
const n = t.n, s =
|
|
3727
|
+
function zs(t, e) {
|
|
3728
|
+
const n = t.n, s = xl(n, 0, e), o = s.buf, r = s.start, l = t.rec;
|
|
3720
3729
|
if (n > 64) o.set(l.subarray(0, n), r);
|
|
3721
3730
|
else for (let a = 0; a < n; a++) o[r + a] = l[a];
|
|
3722
3731
|
return s;
|
|
3723
3732
|
}
|
|
3724
|
-
function
|
|
3725
|
-
return
|
|
3733
|
+
function _o(t) {
|
|
3734
|
+
return gl(t.rec, t.n);
|
|
3726
3735
|
}
|
|
3727
|
-
function
|
|
3736
|
+
function jo(t, e, n) {
|
|
3728
3737
|
const s = t.length;
|
|
3729
3738
|
let o, r;
|
|
3730
3739
|
if (n < s && t[n] < e) {
|
|
@@ -3760,38 +3769,38 @@ function Vo(t, e, n) {
|
|
|
3760
3769
|
}
|
|
3761
3770
|
return o;
|
|
3762
3771
|
}
|
|
3763
|
-
function
|
|
3772
|
+
function Xi(t, e) {
|
|
3764
3773
|
const n = t.rec, s = t.n, o = e.length, r = new Array(
|
|
3765
3774
|
s / 6
|
|
3766
3775
|
/* SIZE */
|
|
3767
3776
|
);
|
|
3768
3777
|
let l = 0;
|
|
3769
|
-
const a =
|
|
3778
|
+
const a = _l;
|
|
3770
3779
|
let f = 0;
|
|
3771
3780
|
for (let c = 0; c < s; c += 6) {
|
|
3772
3781
|
const u = n[c + 3], d = n[c], h = n[c + 1];
|
|
3773
3782
|
let v = n[c + 2];
|
|
3774
3783
|
const E = v + u, g = h === u;
|
|
3775
|
-
f =
|
|
3784
|
+
f = jo(e, v, f);
|
|
3776
3785
|
const p = n[c + 5], N = n[c + 4] | 0, V = (N + 1) * 16 + p;
|
|
3777
3786
|
if (g) {
|
|
3778
3787
|
if (f < o && e[f] + 1 < E) {
|
|
3779
|
-
const H = [], tt = [],
|
|
3780
|
-
let
|
|
3788
|
+
const H = [], tt = [], te = [];
|
|
3789
|
+
let Le = d;
|
|
3781
3790
|
for (; f < o && e[f] + 1 < E; ) {
|
|
3782
|
-
const
|
|
3783
|
-
H.push(v + f), tt.push(
|
|
3791
|
+
const xt = e[f] + 1;
|
|
3792
|
+
H.push(v + f), tt.push(Le), te.push(xt - v), Le += xt - v, v = xt, f++;
|
|
3784
3793
|
}
|
|
3785
|
-
H.push(v + f), tt.push(
|
|
3786
|
-
const
|
|
3794
|
+
H.push(v + f), tt.push(Le), te.push(E - v);
|
|
3795
|
+
const on = {
|
|
3787
3796
|
sourceOffsets: H,
|
|
3788
3797
|
generatedOffsets: tt,
|
|
3789
|
-
lengths:
|
|
3798
|
+
lengths: te,
|
|
3790
3799
|
data: a(p, N)
|
|
3791
3800
|
};
|
|
3792
|
-
r[l++] = new
|
|
3801
|
+
r[l++] = new sn(0, 0, 0, 0, V, on);
|
|
3793
3802
|
} else
|
|
3794
|
-
r[l++] = new
|
|
3803
|
+
r[l++] = new sn(
|
|
3795
3804
|
v + f,
|
|
3796
3805
|
d,
|
|
3797
3806
|
u,
|
|
@@ -3801,12 +3810,12 @@ function Ji(t, e) {
|
|
|
3801
3810
|
);
|
|
3802
3811
|
continue;
|
|
3803
3812
|
}
|
|
3804
|
-
let
|
|
3805
|
-
if (f < o && e[f] < E && (
|
|
3806
|
-
r[l++] = new
|
|
3813
|
+
let ht = u;
|
|
3814
|
+
if (f < o && e[f] < E && (ht = E + jo(e, E, f) - v - f), ht !== h)
|
|
3815
|
+
r[l++] = new sn(
|
|
3807
3816
|
v + f,
|
|
3808
3817
|
d,
|
|
3809
|
-
|
|
3818
|
+
ht,
|
|
3810
3819
|
h,
|
|
3811
3820
|
V,
|
|
3812
3821
|
null
|
|
@@ -3815,24 +3824,24 @@ function Ji(t, e) {
|
|
|
3815
3824
|
const H = {
|
|
3816
3825
|
sourceOffsets: [v + f],
|
|
3817
3826
|
generatedOffsets: [d],
|
|
3818
|
-
lengths: [
|
|
3827
|
+
lengths: [ht],
|
|
3819
3828
|
data: a(p, N),
|
|
3820
3829
|
generatedLengths: [h]
|
|
3821
3830
|
};
|
|
3822
|
-
r[l++] = new
|
|
3831
|
+
r[l++] = new sn(0, 0, 0, 0, V, H);
|
|
3823
3832
|
}
|
|
3824
3833
|
}
|
|
3825
3834
|
return r;
|
|
3826
3835
|
}
|
|
3827
|
-
const
|
|
3828
|
-
function
|
|
3829
|
-
const n =
|
|
3830
|
-
return s.rec =
|
|
3836
|
+
const ta = ve, xf = Il, yf = Rt, Ef = qr, Sf = D, Af = jl, qf = R, Lf = Cn, Tf = Ms;
|
|
3837
|
+
function Cf(t, e) {
|
|
3838
|
+
const n = js(t, e), s = new Sr();
|
|
3839
|
+
return s.rec = pl(n.rec, n.n), s.n = s.rec.length, zs(s, { buf: s.rec, start: 0, split: 0, end: 0 });
|
|
3831
3840
|
}
|
|
3832
|
-
function
|
|
3833
|
-
return
|
|
3841
|
+
function Of(t, e) {
|
|
3842
|
+
return _o(js(e, t));
|
|
3834
3843
|
}
|
|
3835
|
-
const
|
|
3844
|
+
const fn = new Sr(), ea = 16384, ur = "Template_MDSVEX", zo = "__mdsvex_props", na = /\$props\s*\(\s*\)/, ra = /\b(?:let|const|var)\s+([A-Za-z_$][\w$]*)\s*(?::[^=;]*)?=\s*\$props\s*\(\s*\)/, oa = /* @__PURE__ */ new Set([
|
|
3836
3845
|
"script",
|
|
3837
3846
|
"style",
|
|
3838
3847
|
"svelte:head",
|
|
@@ -3841,24 +3850,24 @@ const ln = new xr(), Yi = 16384, ar = "Template_MDSVEX", Go = "__mdsvex_props",
|
|
|
3841
3850
|
"svelte:document",
|
|
3842
3851
|
"svelte:options"
|
|
3843
3852
|
]);
|
|
3844
|
-
let
|
|
3845
|
-
function
|
|
3846
|
-
|
|
3853
|
+
let bo = "", mo = !1, xn = "", wo = "", ge = 0;
|
|
3854
|
+
function sa(t, e) {
|
|
3855
|
+
bo = t.specifier, mo = t.metadata;
|
|
3847
3856
|
const n = t.data;
|
|
3848
|
-
n !== void 0 && (
|
|
3857
|
+
n !== void 0 && (xn = n), ge = e;
|
|
3849
3858
|
}
|
|
3850
|
-
function
|
|
3851
|
-
|
|
3859
|
+
function la() {
|
|
3860
|
+
bo = "", mo = !1, xn = "", wo = "", ge = 0, st = "", ut = "";
|
|
3852
3861
|
}
|
|
3853
|
-
function
|
|
3862
|
+
function Fs(t, e) {
|
|
3854
3863
|
var s;
|
|
3855
3864
|
if (e === 34 || e === 33) return !0;
|
|
3856
3865
|
if (e !== 2) return !1;
|
|
3857
3866
|
const n = (s = t.meta()) == null ? void 0 : s.tag;
|
|
3858
|
-
return typeof n == "string" &&
|
|
3859
|
-
!
|
|
3867
|
+
return typeof n == "string" && oa.has(n) && // an external script renders as an element, it is markup
|
|
3868
|
+
!Ye(t, n);
|
|
3860
3869
|
}
|
|
3861
|
-
function
|
|
3870
|
+
function Fo(t, e, n, s) {
|
|
3862
3871
|
const o = t.words;
|
|
3863
3872
|
let r = o[
|
|
3864
3873
|
8
|
|
@@ -3871,15 +3880,15 @@ function Ko(t, e, n, s) {
|
|
|
3871
3880
|
/* parent */
|
|
3872
3881
|
] !== 0) break;
|
|
3873
3882
|
const a = o[l] & 255;
|
|
3874
|
-
a !== 6 && (t.move_to(r),
|
|
3883
|
+
a !== 6 && (t.move_to(r), Fs(t, a) === s && (n = vo(t, e, n, ge, r, a))), r = o[
|
|
3875
3884
|
l + 6
|
|
3876
3885
|
/* next */
|
|
3877
3886
|
];
|
|
3878
3887
|
}
|
|
3879
3888
|
return t.move_to(0), n;
|
|
3880
3889
|
}
|
|
3881
|
-
function
|
|
3882
|
-
if (s === 0) return
|
|
3890
|
+
function vo(t, e, n, s, o, r) {
|
|
3891
|
+
if (s === 0) return ue(t, n);
|
|
3883
3892
|
if (r === 1) {
|
|
3884
3893
|
const l = t.words, a = o * 12, f = l[
|
|
3885
3894
|
a + 3
|
|
@@ -3887,7 +3896,7 @@ function bo(t, e, n, s, o, r) {
|
|
|
3887
3896
|
], c = l[
|
|
3888
3897
|
a + 4
|
|
3889
3898
|
/* value_end */
|
|
3890
|
-
], u =
|
|
3899
|
+
], u = gt(t, o, f, c, !1);
|
|
3891
3900
|
if (n !== 0 && (i += b[n]), f !== 4294967295 && c > f) {
|
|
3892
3901
|
const d = i.length;
|
|
3893
3902
|
s === 1 ? F(e, d, d + u.length, f, c) : S(
|
|
@@ -3903,64 +3912,64 @@ function bo(t, e, n, s, o, r) {
|
|
|
3903
3912
|
}
|
|
3904
3913
|
return i += u, 0;
|
|
3905
3914
|
}
|
|
3906
|
-
return s === 1 ?
|
|
3915
|
+
return s === 1 ? de(t, e, n) : he(t, e, n);
|
|
3907
3916
|
}
|
|
3908
|
-
function
|
|
3909
|
-
return n =
|
|
3917
|
+
function $o(t, e, n) {
|
|
3918
|
+
return n = Fo(t, e, n, !0), n = ko(n, wo), n = et ? Eo(t, e, n, ge, !0) : Fo(t, e, n, !1), G !== null && (n = yo(t, e, n, ge)), ko(n, "</" + ur + ">");
|
|
3910
3919
|
}
|
|
3911
|
-
function
|
|
3912
|
-
return
|
|
3920
|
+
function ko(t, e) {
|
|
3921
|
+
return ge === 0 ? y(t, e) : (t !== 0 && (i += b[t]), i += e, 0);
|
|
3913
3922
|
}
|
|
3914
|
-
function
|
|
3915
|
-
return
|
|
3923
|
+
function Wo(t) {
|
|
3924
|
+
return Ds(t);
|
|
3916
3925
|
}
|
|
3917
|
-
const
|
|
3918
|
-
class
|
|
3926
|
+
const Jo = -1;
|
|
3927
|
+
class Df {
|
|
3919
3928
|
constructor(e) {
|
|
3920
3929
|
this.blocks = [], this.html = "", this.closed = null, this.cursor = null, this.out = [], this.scope = null, this.replace_typed = !1, this.directives = null, this.highlight = null, this.pre_meta = null, this.strict_directives = !1, this.noted = !1, this.cache = (e == null ? void 0 : e.cache) ?? !0, this.cache && (this.closed = /* @__PURE__ */ new Set());
|
|
3921
3930
|
}
|
|
3922
3931
|
/** elements the last render with a scope kept for a directive, a render without one stores nothing */
|
|
3923
3932
|
get warnings() {
|
|
3924
|
-
return
|
|
3933
|
+
return Ce;
|
|
3925
3934
|
}
|
|
3926
3935
|
/**
|
|
3927
3936
|
* @param code code the module script starts with, it goes into the top
|
|
3928
3937
|
* level module script or a new one in place of the frontmatter
|
|
3929
3938
|
*/
|
|
3930
3939
|
update(e, n, s) {
|
|
3931
|
-
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new
|
|
3940
|
+
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new ir(e, n);
|
|
3932
3941
|
const o = this.cursor;
|
|
3933
|
-
o.reset(),
|
|
3942
|
+
o.reset(), Ne(n);
|
|
3934
3943
|
const r = this.smart_punctuation;
|
|
3935
|
-
r !== void 0 &&
|
|
3944
|
+
r !== void 0 && Zo(r), this.code_braces === !1 && So(), C = this.highlight, Et = this.pre_meta;
|
|
3936
3945
|
const l = this.urls;
|
|
3937
3946
|
l !== void 0 && (Y = l);
|
|
3938
3947
|
const a = this.fences;
|
|
3939
3948
|
a !== void 0 && (B = a);
|
|
3940
3949
|
const f = this.footnotes;
|
|
3941
|
-
if (f !== void 0 && (
|
|
3950
|
+
if (f !== void 0 && (G = f), !this.cache) {
|
|
3942
3951
|
const c = this.scope, u = this.directives;
|
|
3943
3952
|
if (this.template !== void 0)
|
|
3944
3953
|
return this.html = this.render_wrapped(o, e, null, !1, s), this.blocks;
|
|
3945
3954
|
const d = this.imports, h = d !== void 0 && d.length !== 0;
|
|
3946
3955
|
try {
|
|
3947
|
-
(c !== null && c.size !== 0 || u !== null && u.size !== 0) && (
|
|
3956
|
+
(c !== null && c.size !== 0 || u !== null && u.size !== 0) && (Ce = tr(
|
|
3948
3957
|
o,
|
|
3949
3958
|
c,
|
|
3950
3959
|
u,
|
|
3951
3960
|
0,
|
|
3952
3961
|
this.replace_typed,
|
|
3953
3962
|
this.shells
|
|
3954
|
-
)), h &&
|
|
3963
|
+
)), h && rr(d), this.strict_directives && (nt = !0), this.wrap_static === !0 && (et = !0), Xn(o, e, h), s && Ao(e, s), dn(e), this.html = Ds(o), G !== null && (this.html += es(o));
|
|
3955
3964
|
} finally {
|
|
3956
|
-
|
|
3965
|
+
G = null, C = null, Et = null, l !== void 0 && (Y = null), a !== void 0 && (B = null), r !== void 0 && cn(), Ft = !0, ne = null, St = -1, nt && (nt = !1), et && (et = !1), z !== null && er(), h && or(), s && ln();
|
|
3957
3966
|
}
|
|
3958
3967
|
return this.blocks;
|
|
3959
3968
|
}
|
|
3960
3969
|
try {
|
|
3961
|
-
|
|
3970
|
+
Xn(o, e, !1), s && hn(e, s), this.noted && G === null && (G = ss(e, !0)), this.update_blocks(o);
|
|
3962
3971
|
} finally {
|
|
3963
|
-
|
|
3972
|
+
G = null, C = null, Et = null, l !== void 0 && (Y = null), a !== void 0 && (B = null), r !== void 0 && cn(), St = -1, s && ln();
|
|
3964
3973
|
}
|
|
3965
3974
|
return this.blocks;
|
|
3966
3975
|
}
|
|
@@ -3968,47 +3977,47 @@ class Lf {
|
|
|
3968
3977
|
update_blocks(e) {
|
|
3969
3978
|
if (!e.goto_first_child()) return;
|
|
3970
3979
|
const n = this.blocks;
|
|
3971
|
-
n.length !== 0 && n[n.length - 1].idx ===
|
|
3980
|
+
n.length !== 0 && n[n.length - 1].idx === Jo && n.pop();
|
|
3972
3981
|
let s = 0;
|
|
3973
3982
|
do {
|
|
3974
3983
|
if (e.kind === 6) continue;
|
|
3975
|
-
const o = e.index, r = e.closed && e.kind !== 34 && e.kind !== 33 && o !==
|
|
3976
|
-
s >= this.blocks.length ? (this.blocks.push({ idx: o, html:
|
|
3984
|
+
const o = e.index, r = e.closed && e.kind !== 34 && e.kind !== 33 && o !== dt && o !== vt;
|
|
3985
|
+
s >= this.blocks.length ? (this.blocks.push({ idx: o, html: Wo(e) }), r && this.closed.add(o)) : this.closed.has(o) || (this.blocks[s].html = Wo(e), r && this.closed.add(o)), s++;
|
|
3977
3986
|
} while (e.goto_next_sibling());
|
|
3978
|
-
if (e.goto_parent(),
|
|
3987
|
+
if (e.goto_parent(), G !== null) {
|
|
3979
3988
|
this.noted = !0;
|
|
3980
|
-
const o =
|
|
3981
|
-
o !== "" && n.push({ idx:
|
|
3989
|
+
const o = es(e);
|
|
3990
|
+
o !== "" && n.push({ idx: Jo, html: o });
|
|
3982
3991
|
}
|
|
3983
3992
|
this.html = this.blocks.map((o) => o.html).join("");
|
|
3984
3993
|
}
|
|
3985
3994
|
/** trace renders with no syntax records, see tr_node */
|
|
3986
3995
|
render_mapped(e, n, s, o, r) {
|
|
3987
|
-
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new
|
|
3996
|
+
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new ir(e, n);
|
|
3988
3997
|
const l = this.cursor;
|
|
3989
|
-
l.reset(),
|
|
3998
|
+
l.reset(), Ne(n);
|
|
3990
3999
|
const a = this.smart_punctuation;
|
|
3991
|
-
a !== void 0 &&
|
|
4000
|
+
a !== void 0 && Zo(a), this.code_braces === !1 && So(), C = this.highlight, Et = this.pre_meta;
|
|
3992
4001
|
const f = this.urls;
|
|
3993
4002
|
f !== void 0 && (Y = f);
|
|
3994
4003
|
const c = this.fences;
|
|
3995
4004
|
c !== void 0 && (B = c);
|
|
3996
4005
|
const u = this.footnotes;
|
|
3997
|
-
if (u !== void 0 && (
|
|
4006
|
+
if (u !== void 0 && (G = u), this.template !== void 0) {
|
|
3998
4007
|
this.html = this.render_wrapped(l, e, s, o, r);
|
|
3999
4008
|
return;
|
|
4000
4009
|
}
|
|
4001
4010
|
const d = this.scope, h = this.directives, v = this.imports, E = v !== void 0 && v.length !== 0;
|
|
4002
4011
|
let g = 0;
|
|
4003
4012
|
try {
|
|
4004
|
-
(d !== null && d.size !== 0 || h !== null && h.size !== 0) && (
|
|
4013
|
+
(d !== null && d.size !== 0 || h !== null && h.size !== 0) && (Ce = tr(
|
|
4005
4014
|
l,
|
|
4006
4015
|
d,
|
|
4007
4016
|
h,
|
|
4008
4017
|
o ? 1 : 2,
|
|
4009
4018
|
this.replace_typed,
|
|
4010
4019
|
this.shells
|
|
4011
|
-
)), E &&
|
|
4020
|
+
)), E && rr(v), this.strict_directives && (nt = !0), this.wrap_static === !0 && (et = !0), Xn(l, e, E), i = ut, r && (hn(e, r), i += Ie()), dn(e), et ? g = Eo(l, s, 0, o ? 1 : 2, !1) : o ? g = de(l, s, 0) : g = he(l, s, 0), G !== null && (g = yo(
|
|
4012
4021
|
l,
|
|
4013
4022
|
s,
|
|
4014
4023
|
g,
|
|
@@ -4016,10 +4025,10 @@ class Lf {
|
|
|
4016
4025
|
/* MAPPED */
|
|
4017
4026
|
));
|
|
4018
4027
|
} finally {
|
|
4019
|
-
|
|
4028
|
+
G = null, C = null, Et = null, f !== void 0 && (Y = null), c !== void 0 && (B = null), a !== void 0 && cn(), Ft = !0, ne = null, St = -1, nt && (nt = !1), et && (et = !1), z !== null && er(), E && or(), r && ln();
|
|
4020
4029
|
}
|
|
4021
4030
|
let p = i;
|
|
4022
|
-
i = "", g !== 0 && (p += b[g]), p.length !== 0 && (
|
|
4031
|
+
i = "", g !== 0 && (p += b[g]), p.length !== 0 && (fr[0] = p.charCodeAt(0)), this.html = p;
|
|
4023
4032
|
}
|
|
4024
4033
|
/**
|
|
4025
4034
|
* a render wrapped in the template, kept apart so a plain render pays one
|
|
@@ -4029,35 +4038,35 @@ class Lf {
|
|
|
4029
4038
|
const l = this.scope, a = this.directives, f = this.imports, c = f !== void 0 && f.length !== 0, u = s === null ? 0 : o ? 1 : 2;
|
|
4030
4039
|
let d;
|
|
4031
4040
|
try {
|
|
4032
|
-
if ((l !== null && l.size !== 0 || a !== null && a.size !== 0) && (
|
|
4041
|
+
if ((l !== null && l.size !== 0 || a !== null && a.size !== 0) && (Ce = tr(
|
|
4033
4042
|
e,
|
|
4034
4043
|
l,
|
|
4035
4044
|
a,
|
|
4036
4045
|
u,
|
|
4037
4046
|
this.replace_typed,
|
|
4038
4047
|
this.shells
|
|
4039
|
-
)), c &&
|
|
4040
|
-
j =
|
|
4041
|
-
const h =
|
|
4048
|
+
)), c && rr(f), this.strict_directives && (nt = !0), this.wrap_static === !0 && (et = !0), sa(this.template, u), Ql(e, n), r && (s === null ? Ao(n, r) : hn(n, r)), dn(n), s === null) {
|
|
4049
|
+
j = ut;
|
|
4050
|
+
const h = $o(e, void 0, 0);
|
|
4042
4051
|
d = j, j = "", h !== 0 && (d += b[h]);
|
|
4043
4052
|
} else {
|
|
4044
|
-
i =
|
|
4045
|
-
const h =
|
|
4053
|
+
i = ut, r && (i += Ie());
|
|
4054
|
+
const h = $o(e, s, 0);
|
|
4046
4055
|
d = i, i = "", h !== 0 && (d += b[h]);
|
|
4047
4056
|
}
|
|
4048
4057
|
} finally {
|
|
4049
|
-
|
|
4058
|
+
G = null, C = null, Et = null, Y = null, B = null, $n && cn(), Ft = !0, ne = null, St = -1, nt && (nt = !1), et && (et = !1), z !== null && er(), c && or(), la(), r && ln(), this.template = void 0;
|
|
4050
4059
|
}
|
|
4051
|
-
return d.length !== 0 && (
|
|
4060
|
+
return d.length !== 0 && (fr[0] = d.charCodeAt(0)), d;
|
|
4052
4061
|
}
|
|
4053
4062
|
/**
|
|
4054
4063
|
* render with source mapping. always full render (no caching).
|
|
4055
4064
|
* collapsed moves the source offsets onto raw
|
|
4056
4065
|
*/
|
|
4057
4066
|
update_mapped(e, n, s, o) {
|
|
4058
|
-
const r =
|
|
4067
|
+
const r = fn;
|
|
4059
4068
|
r.begin(!0), this.render_mapped(e, n, r, !1, o);
|
|
4060
|
-
const l = s == null || s.length === 0 ?
|
|
4069
|
+
const l = s == null || s.length === 0 ? _o(r) : Xi(r, s);
|
|
4061
4070
|
return r.release(), { blocks: this.blocks, mappings: l };
|
|
4062
4071
|
}
|
|
4063
4072
|
/**
|
|
@@ -4065,15 +4074,15 @@ class Lf {
|
|
|
4065
4074
|
* without collapsing any crlf, but builds no Mapping objects
|
|
4066
4075
|
*/
|
|
4067
4076
|
update_v3(e, n, s, o, r) {
|
|
4068
|
-
const l =
|
|
4077
|
+
const l = fn;
|
|
4069
4078
|
l.begin(!1), this.render_mapped(e, n, l, !0, r);
|
|
4070
|
-
const a =
|
|
4079
|
+
const a = bl(l, s, this.html, o);
|
|
4071
4080
|
return l.release(), a;
|
|
4072
4081
|
}
|
|
4073
4082
|
/** trace_to_v3 over the trace with the same arguments equals update_v3 */
|
|
4074
4083
|
update_trace(e, n, s) {
|
|
4075
4084
|
const o = {
|
|
4076
|
-
buf:
|
|
4085
|
+
buf: fn.rec,
|
|
4077
4086
|
start: 0,
|
|
4078
4087
|
split: 0,
|
|
4079
4088
|
end: 0
|
|
@@ -4082,20 +4091,20 @@ class Lf {
|
|
|
4082
4091
|
}
|
|
4083
4092
|
/** update_trace filling out instead of a new trace */
|
|
4084
4093
|
update_trace_into(e, n, s, o) {
|
|
4085
|
-
const r =
|
|
4086
|
-
if (l <=
|
|
4094
|
+
const r = fn, l = e.size * 6;
|
|
4095
|
+
if (l <= ea) {
|
|
4087
4096
|
const a = r.rec;
|
|
4088
|
-
r.rec =
|
|
4089
|
-
const f =
|
|
4097
|
+
r.rec = ml(l);
|
|
4098
|
+
const f = wl();
|
|
4090
4099
|
r.n = f, r.syntax = !1;
|
|
4091
4100
|
try {
|
|
4092
|
-
this.render_mapped(e, n, r, !0, o),
|
|
4101
|
+
this.render_mapped(e, n, r, !0, o), vl(r.rec, f, r.n, s);
|
|
4093
4102
|
return;
|
|
4094
4103
|
} finally {
|
|
4095
4104
|
r.rec = a, r.n = 0;
|
|
4096
4105
|
}
|
|
4097
4106
|
}
|
|
4098
|
-
r.begin(!1), this.render_mapped(e, n, r, !0, o),
|
|
4107
|
+
r.begin(!1), this.render_mapped(e, n, r, !0, o), zs(r, s), r.release();
|
|
4099
4108
|
}
|
|
4100
4109
|
/**
|
|
4101
4110
|
* the nodes changed after their block was rendered, as the node of a
|
|
@@ -4107,7 +4116,7 @@ class Lf {
|
|
|
4107
4116
|
const s = this.closed;
|
|
4108
4117
|
if (s !== null)
|
|
4109
4118
|
for (let o = 0; o < n.length; o++) {
|
|
4110
|
-
const r =
|
|
4119
|
+
const r = El(e, n[o]);
|
|
4111
4120
|
r !== 4294967295 && s.delete(r);
|
|
4112
4121
|
}
|
|
4113
4122
|
}
|
|
@@ -4120,60 +4129,60 @@ class Lf {
|
|
|
4120
4129
|
var n;
|
|
4121
4130
|
this.html = "", this.blocks.length !== 0 && (this.blocks.length = 0);
|
|
4122
4131
|
const e = this.closed;
|
|
4123
|
-
e !== null && e.size !== 0 && e.clear(), (n = this.cursor) == null || n.release(), this.scope = null, this.directives = null, this.highlight = null, this.pre_meta = null, this.replace_typed = !1,
|
|
4132
|
+
e !== null && e.size !== 0 && e.clear(), (n = this.cursor) == null || n.release(), this.scope = null, this.directives = null, this.highlight = null, this.pre_meta = null, this.replace_typed = !1, Ce = Tr, this.template !== void 0 && (this.template = void 0), this.imports !== void 0 && (this.imports = void 0), this.urls !== void 0 && (this.urls = void 0), this.fences !== void 0 && (this.fences = void 0), this.smart_punctuation !== void 0 && (this.smart_punctuation = void 0), this.footnotes !== void 0 && (this.footnotes = void 0), this.wrap_static !== void 0 && (this.wrap_static = void 0), this.shells !== void 0 && (this.shells = void 0), this.noted = !1, Fe = "", $t = 0;
|
|
4124
4133
|
}
|
|
4125
4134
|
}
|
|
4126
|
-
function
|
|
4127
|
-
|
|
4135
|
+
function Nf(t, e, n, s = null) {
|
|
4136
|
+
Ne(e), dn(t), bs(), Y = s, i = n;
|
|
4128
4137
|
}
|
|
4129
|
-
function
|
|
4130
|
-
|
|
4138
|
+
function Rf() {
|
|
4139
|
+
Ft = !0, ne = null, Y = null;
|
|
4131
4140
|
const t = i;
|
|
4132
4141
|
return i = "", t;
|
|
4133
4142
|
}
|
|
4134
|
-
function
|
|
4135
|
-
return
|
|
4143
|
+
function Pf(t) {
|
|
4144
|
+
return _o(t);
|
|
4136
4145
|
}
|
|
4137
|
-
let C = null,
|
|
4138
|
-
function
|
|
4146
|
+
let C = null, Et = null, Vn = "";
|
|
4147
|
+
function rr(t) {
|
|
4139
4148
|
let e = "";
|
|
4140
4149
|
for (let n = 0; n < t.length; n++) e = e + t[n] + `
|
|
4141
4150
|
`;
|
|
4142
|
-
|
|
4151
|
+
Vn = e;
|
|
4143
4152
|
}
|
|
4144
|
-
function
|
|
4145
|
-
|
|
4153
|
+
function or() {
|
|
4154
|
+
Vn = "", st = "", ut = "";
|
|
4146
4155
|
}
|
|
4147
4156
|
let Y = null;
|
|
4148
|
-
function
|
|
4149
|
-
return Y === null ? (e ? ' src="' : ' href="') + D(t) + '"' :
|
|
4157
|
+
function Ge(t, e) {
|
|
4158
|
+
return Y === null ? (e ? ' src="' : ' href="') + D(t) + '"' : ks(t, e);
|
|
4150
4159
|
}
|
|
4151
|
-
function
|
|
4152
|
-
return Y !== null ? y(t,
|
|
4160
|
+
function $s(t, e, n) {
|
|
4161
|
+
return Y !== null ? y(t, ks(e, n)) : (t = _(t, n ? li : oi), t = y(t, D(e)), _(t, lt));
|
|
4153
4162
|
}
|
|
4154
|
-
function
|
|
4155
|
-
return
|
|
4163
|
+
function ks(t, e) {
|
|
4164
|
+
return Ws(e ? " src=" : " href=", t, Y(t, e));
|
|
4156
4165
|
}
|
|
4157
|
-
function
|
|
4166
|
+
function Ws(t, e, n) {
|
|
4158
4167
|
return n == null && (n = e), typeof n != "string" ? t + "{" + n.value + "}" : n === "" ? "" : t + '"' + D(n) + '"';
|
|
4159
4168
|
}
|
|
4160
|
-
let
|
|
4161
|
-
function
|
|
4162
|
-
if (
|
|
4169
|
+
let _e = Ut;
|
|
4170
|
+
function Kn(t) {
|
|
4171
|
+
if (_e = Ut, !t) return "<img";
|
|
4163
4172
|
if (Y === null) return '<img src="' + D(t) + '"';
|
|
4164
4173
|
const e = Y(t, !0);
|
|
4165
4174
|
if (e == null || typeof e == "string" || e.type !== "picture")
|
|
4166
|
-
return "<img" +
|
|
4167
|
-
|
|
4175
|
+
return "<img" + Ws(" src=", t, e);
|
|
4176
|
+
_e = ai;
|
|
4168
4177
|
const n = e.value;
|
|
4169
4178
|
return "<picture>{#each Object.entries(" + n + ".sources) as [format, srcset]}<source {srcset} type={'image/' + format} />{/each}<img src={" + n + ".img.src} width={" + n + ".img.w} height={" + n + ".img.h}";
|
|
4170
4179
|
}
|
|
4171
4180
|
let B = null;
|
|
4172
|
-
function
|
|
4181
|
+
function Js(t) {
|
|
4173
4182
|
const e = B.get(t.index);
|
|
4174
|
-
return e !== void 0 ? e.text :
|
|
4183
|
+
return e !== void 0 ? e.text : Pt(t);
|
|
4175
4184
|
}
|
|
4176
|
-
function
|
|
4185
|
+
function ia(t, e) {
|
|
4177
4186
|
var o;
|
|
4178
4187
|
const n = (o = B.get(t.index)) == null ? void 0 : o.info;
|
|
4179
4188
|
if (n !== void 0) return n;
|
|
@@ -4184,12 +4193,12 @@ function ra(t, e) {
|
|
|
4184
4193
|
}
|
|
4185
4194
|
return s;
|
|
4186
4195
|
}
|
|
4187
|
-
function
|
|
4196
|
+
function Qs(t) {
|
|
4188
4197
|
var n;
|
|
4189
4198
|
const e = (n = B.get(t.index)) == null ? void 0 : n.props;
|
|
4190
4199
|
return e === void 0 ? "" : e;
|
|
4191
4200
|
}
|
|
4192
|
-
function
|
|
4201
|
+
function Ys(t) {
|
|
4193
4202
|
for (let e = 0; e < t.length; e++) {
|
|
4194
4203
|
const n = t.charCodeAt(e);
|
|
4195
4204
|
if (n === 32 || n === 9) return e;
|
|
@@ -4197,57 +4206,57 @@ function ks(t) {
|
|
|
4197
4206
|
return -1;
|
|
4198
4207
|
}
|
|
4199
4208
|
function Gt(t) {
|
|
4200
|
-
const e =
|
|
4209
|
+
const e = Ys(t);
|
|
4201
4210
|
return e === -1 ? t : t.slice(0, e);
|
|
4202
4211
|
}
|
|
4203
|
-
function
|
|
4204
|
-
const e =
|
|
4212
|
+
function Gn(t) {
|
|
4213
|
+
const e = Ys(t);
|
|
4205
4214
|
return e === -1 ? "" : t.slice(e).trim();
|
|
4206
4215
|
}
|
|
4207
|
-
function
|
|
4208
|
-
const e =
|
|
4216
|
+
function aa(t) {
|
|
4217
|
+
const e = Kt(t, t.meta());
|
|
4209
4218
|
return e !== void 0 && Gt(e) === "math";
|
|
4210
4219
|
}
|
|
4211
|
-
function
|
|
4220
|
+
function nn(t, e) {
|
|
4212
4221
|
return C.block(
|
|
4213
|
-
|
|
4222
|
+
Sn(t),
|
|
4214
4223
|
e ? Gt(e) : "",
|
|
4215
|
-
e ?
|
|
4224
|
+
e ? Gn(e) : "",
|
|
4216
4225
|
t.start
|
|
4217
4226
|
);
|
|
4218
4227
|
}
|
|
4219
|
-
function
|
|
4228
|
+
function rn(t) {
|
|
4220
4229
|
if (t.extra === 1)
|
|
4221
|
-
return C.math === !0 ? C.inline_math(
|
|
4222
|
-
const e =
|
|
4230
|
+
return C.math === !0 ? C.inline_math(Pt(t), t.start) : null;
|
|
4231
|
+
const e = Kt(t, t.meta());
|
|
4223
4232
|
if (!e) return null;
|
|
4224
|
-
let n =
|
|
4233
|
+
let n = Pt(t);
|
|
4225
4234
|
return W.call(n, `
|
|
4226
4235
|
`) !== -1 && (n = n.replace(/\n/g, " ")), C.inline(n, e, t.start);
|
|
4227
4236
|
}
|
|
4228
|
-
function
|
|
4237
|
+
function Mn(t, e) {
|
|
4229
4238
|
return e.attributes === null ? e.before : e.before + "<pre" + e.attributes + T(t) + ">";
|
|
4230
4239
|
}
|
|
4231
|
-
function
|
|
4240
|
+
function jn(t) {
|
|
4232
4241
|
return t.attributes === null ? t.after : "</pre>" + t.after;
|
|
4233
4242
|
}
|
|
4234
|
-
function
|
|
4243
|
+
function zn(t, e) {
|
|
4235
4244
|
return e.attributes === null ? "" : "<code" + e.attributes + T(t) + ">";
|
|
4236
4245
|
}
|
|
4237
|
-
function
|
|
4246
|
+
function Fn(t) {
|
|
4238
4247
|
return t.attributes === null ? "" : "</code>";
|
|
4239
4248
|
}
|
|
4240
|
-
function
|
|
4249
|
+
function dr(t, e, n, s, o, r) {
|
|
4241
4250
|
const l = i.length;
|
|
4242
4251
|
i += n;
|
|
4243
4252
|
const a = i.length;
|
|
4244
|
-
e && (r === null ?
|
|
4253
|
+
e && (r === null ? yt(
|
|
4245
4254
|
e,
|
|
4246
4255
|
t,
|
|
4247
4256
|
s,
|
|
4248
4257
|
5
|
|
4249
4258
|
/* CODE_CONTENT */
|
|
4250
|
-
) :
|
|
4259
|
+
) : nl(e, t, a, s, r)), i += s;
|
|
4251
4260
|
const f = i.length;
|
|
4252
4261
|
i += o, e && L(
|
|
4253
4262
|
e,
|
|
@@ -4260,23 +4269,23 @@ function fr(t, e, n, s, o, r) {
|
|
|
4260
4269
|
/* CODE */
|
|
4261
4270
|
);
|
|
4262
4271
|
}
|
|
4263
|
-
function
|
|
4272
|
+
function Zs(t, e, n, s) {
|
|
4264
4273
|
return y(t, e + n + s);
|
|
4265
4274
|
}
|
|
4266
|
-
function
|
|
4275
|
+
function Xs(t, e, n, s, o, r, l) {
|
|
4267
4276
|
n !== 0 && (i += b[n]);
|
|
4268
4277
|
const a = i.length;
|
|
4269
|
-
return i += s, l !== null ?
|
|
4278
|
+
return i += s, l !== null ? rl(e, t, i.length, o, l) : o.length !== 0 && In(e, i.length, t.value_start), i += o + r, U(e, a, t), 0;
|
|
4270
4279
|
}
|
|
4271
|
-
function
|
|
4272
|
-
return n !== 0 && (i += b[n]),
|
|
4280
|
+
function tl(t, e, n, s, o, r, l) {
|
|
4281
|
+
return n !== 0 && (i += b[n]), dr(t, e, s, o, r, l), 0;
|
|
4273
4282
|
}
|
|
4274
|
-
function
|
|
4275
|
-
n =
|
|
4283
|
+
function be(t, e, n, s, o, r, l, a) {
|
|
4284
|
+
n = A(n, o);
|
|
4276
4285
|
const f = i.length;
|
|
4277
|
-
a === null || I === 0 ? n =
|
|
4286
|
+
a === null || I === 0 ? n = cr(t, e, n, r) : (I === 1 ? rl(e, t, f, r, a) : nl(e, t, f, r, a), i += r);
|
|
4278
4287
|
const c = i.length;
|
|
4279
|
-
return n =
|
|
4288
|
+
return n = A(n, l), oe(
|
|
4280
4289
|
t,
|
|
4281
4290
|
e,
|
|
4282
4291
|
s,
|
|
@@ -4287,18 +4296,18 @@ function ge(t, e, n, s, o, r, l, a) {
|
|
|
4287
4296
|
/* CODE */
|
|
4288
4297
|
), n;
|
|
4289
4298
|
}
|
|
4290
|
-
function
|
|
4299
|
+
function fa(t, e, n, s, o, r, l) {
|
|
4291
4300
|
const a = i.length;
|
|
4292
4301
|
if (o) {
|
|
4293
4302
|
r += X("lang", Gt(o));
|
|
4294
|
-
const c =
|
|
4303
|
+
const c = Gn(o);
|
|
4295
4304
|
c && (r += X("meta", c));
|
|
4296
4305
|
}
|
|
4297
4306
|
const f = s.dropped;
|
|
4298
4307
|
if (f !== null)
|
|
4299
4308
|
for (let c = 0; c < f.length; c++)
|
|
4300
4309
|
C.warn("meta_prop_ignored", f[c], t.start);
|
|
4301
|
-
return B !== null && (r +=
|
|
4310
|
+
return B !== null && (r += Qs(t)), r += s.props + (s.code_template === null ? X("code", s.code) : " code={" + s.code_template + "}") + T(t) + ">", s.attributes === null ? be(t, e, n, a, r, s.body, l, s.live) : be(
|
|
4302
4311
|
t,
|
|
4303
4312
|
e,
|
|
4304
4313
|
n,
|
|
@@ -4309,23 +4318,23 @@ function sa(t, e, n, s, o, r, l) {
|
|
|
4309
4318
|
s.live
|
|
4310
4319
|
);
|
|
4311
4320
|
}
|
|
4312
|
-
function
|
|
4313
|
-
const a = i.length, f =
|
|
4314
|
-
return r += s.props + X("code", s.code), f && (r += X("meta", f)),
|
|
4321
|
+
function ca(t, e, n, s, o, r, l) {
|
|
4322
|
+
const a = i.length, f = Gn(o);
|
|
4323
|
+
return r += s.props + X("code", s.code), f && (r += X("meta", f)), be(t, e, n, a, r + T(t) + ">", s.body, l, null);
|
|
4315
4324
|
}
|
|
4316
|
-
function
|
|
4325
|
+
function ua(t, e, n, s, o, r) {
|
|
4317
4326
|
const l = i.length;
|
|
4318
|
-
return o += X("code", t.text()) + T(t) + ">",
|
|
4327
|
+
return o += X("code", t.text()) + T(t) + ">", be(t, e, n, l, o, s.body, r, null);
|
|
4319
4328
|
}
|
|
4320
|
-
function
|
|
4329
|
+
function da(t, e, n, s, o, r) {
|
|
4321
4330
|
const l = i.length;
|
|
4322
4331
|
return s.attributes === null ? (C.warn(
|
|
4323
4332
|
"code_replacement_skipped",
|
|
4324
4333
|
"the highlighter output is not a single <code> element, so the code component does not replace it",
|
|
4325
4334
|
t.start
|
|
4326
|
-
),
|
|
4335
|
+
), be(t, e, n, l, "", s.body, "", null)) : (o += X("lang", Kt(t, t.meta())) + s.attributes + T(t) + ">", be(t, e, n, l, o, s.body, r, null));
|
|
4327
4336
|
}
|
|
4328
|
-
function
|
|
4337
|
+
function el(t, e, n, s) {
|
|
4329
4338
|
const o = t.value_start;
|
|
4330
4339
|
if (t.prebuilt === void 0) return o + n;
|
|
4331
4340
|
const r = t.source, l = t.value_end;
|
|
@@ -4344,7 +4353,7 @@ function Ys(t, e, n, s) {
|
|
|
4344
4353
|
const u = c - (f - n);
|
|
4345
4354
|
return u < a || r.slice(u, u + s) !== e.slice(n, n + s) ? -1 : u;
|
|
4346
4355
|
}
|
|
4347
|
-
function
|
|
4356
|
+
function nl(t, e, n, s, o) {
|
|
4348
4357
|
const r = e.index;
|
|
4349
4358
|
if (B !== null && B.has(r)) {
|
|
4350
4359
|
S(
|
|
@@ -4359,10 +4368,10 @@ function Zs(t, e, n, s, o) {
|
|
|
4359
4368
|
);
|
|
4360
4369
|
return;
|
|
4361
4370
|
}
|
|
4362
|
-
const l =
|
|
4371
|
+
const l = Sn(e);
|
|
4363
4372
|
let a = n, f = e.value_start;
|
|
4364
4373
|
for (let u = 0; u < o.length; u += 3) {
|
|
4365
|
-
const d = o[u + 2], h =
|
|
4374
|
+
const d = o[u + 2], h = el(e, l, o[u + 1], d);
|
|
4366
4375
|
if (h === -1 || h < f) continue;
|
|
4367
4376
|
const v = n + o[u];
|
|
4368
4377
|
v > a && S(
|
|
@@ -4397,15 +4406,15 @@ function Zs(t, e, n, s, o) {
|
|
|
4397
4406
|
/* CODE_CONTENT */
|
|
4398
4407
|
);
|
|
4399
4408
|
}
|
|
4400
|
-
function
|
|
4409
|
+
function rl(t, e, n, s, o) {
|
|
4401
4410
|
if (B !== null && B.has(e.index)) {
|
|
4402
|
-
s.length !== 0 &&
|
|
4411
|
+
s.length !== 0 && In(t, n, e.value_start);
|
|
4403
4412
|
return;
|
|
4404
4413
|
}
|
|
4405
|
-
const r =
|
|
4414
|
+
const r = Sn(e);
|
|
4406
4415
|
let l = n, a = e.value_start;
|
|
4407
4416
|
for (let c = 0; c < o.length; c += 3) {
|
|
4408
|
-
const u = o[c + 2], d =
|
|
4417
|
+
const u = o[c + 2], d = el(e, r, o[c + 1], u);
|
|
4409
4418
|
if (d === -1 || d < a) continue;
|
|
4410
4419
|
const h = n + o[c];
|
|
4411
4420
|
h > l && F(t, l, h, a, d), F(t, h, h + u, d, d + u), l = h + u, a = d + u;
|
|
@@ -4413,8 +4422,8 @@ function Xs(t, e, n, s, o) {
|
|
|
4413
4422
|
const f = n + s.length;
|
|
4414
4423
|
f > l && F(t, l, f, a, e.value_end);
|
|
4415
4424
|
}
|
|
4416
|
-
let
|
|
4417
|
-
const
|
|
4425
|
+
let $n = !1, hr, me = !1, yn = !1, En = !1, gr = "“", _r = "”", br = "‘", mr = "’", kn = "", Me = 0, Wn = 0, le = -1, qt = -1, Lt = -1, Tt = -1, Ct = -1, Ot = -1, Dt = -1, Jn = -1, wr = -1, Qo = !1, vr = 4294967295, Yo = 4294967295;
|
|
4426
|
+
const ha = /* @__PURE__ */ new Set([
|
|
4418
4427
|
"address",
|
|
4419
4428
|
"article",
|
|
4420
4429
|
"aside",
|
|
@@ -4456,7 +4465,7 @@ const fa = /* @__PURE__ */ new Set([
|
|
|
4456
4465
|
"thead",
|
|
4457
4466
|
"tr",
|
|
4458
4467
|
"ul"
|
|
4459
|
-
]),
|
|
4468
|
+
]), ga = /* @__PURE__ */ new Set([
|
|
4460
4469
|
"code",
|
|
4461
4470
|
"kbd",
|
|
4462
4471
|
"pre",
|
|
@@ -4467,76 +4476,76 @@ const fa = /* @__PURE__ */ new Set([
|
|
|
4467
4476
|
"script",
|
|
4468
4477
|
"style"
|
|
4469
4478
|
]);
|
|
4470
|
-
function
|
|
4471
|
-
return
|
|
4479
|
+
function _a(t, e, n, s, o) {
|
|
4480
|
+
return $n ? o ? ee(t.source.slice(n, s)) : wa(t, e, n, s) : $t <= n ? "" : gt(t, e, n, $t, o);
|
|
4472
4481
|
}
|
|
4473
|
-
function
|
|
4474
|
-
t !==
|
|
4482
|
+
function Zo(t) {
|
|
4483
|
+
t !== hr && ba(t), (me || yn || En) && ($n = !0, wr = -1, vr = 4294967295, $t = 0);
|
|
4475
4484
|
}
|
|
4476
|
-
function
|
|
4477
|
-
|
|
4485
|
+
function cn() {
|
|
4486
|
+
$n = !1, kn = "", Me = 0, Fe = "";
|
|
4478
4487
|
}
|
|
4479
|
-
function
|
|
4488
|
+
function un(t) {
|
|
4480
4489
|
if (typeof t != "string")
|
|
4481
4490
|
throw new TypeError("smart_punctuation.quotes takes four strings");
|
|
4482
4491
|
const e = D(t);
|
|
4483
|
-
return
|
|
4492
|
+
return ds.test(e) ? e.replace(hs, Ar) : e;
|
|
4484
4493
|
}
|
|
4485
|
-
function
|
|
4486
|
-
if (
|
|
4487
|
-
|
|
4494
|
+
function ba(t) {
|
|
4495
|
+
if (hr = void 0, gr = "“", _r = "”", br = "‘", mr = "’", typeof t == "boolean")
|
|
4496
|
+
me = yn = En = t;
|
|
4488
4497
|
else {
|
|
4489
4498
|
const e = t.quotes;
|
|
4490
|
-
if (
|
|
4499
|
+
if (me = e !== !1, yn = t.dashes !== !1, En = t.ellipses !== !1, typeof e == "object") {
|
|
4491
4500
|
if (!Array.isArray(e) || e.length !== 4)
|
|
4492
4501
|
throw new TypeError("smart_punctuation.quotes takes four strings");
|
|
4493
|
-
|
|
4502
|
+
gr = un(e[0]), _r = un(e[1]), br = un(e[2]), mr = un(e[3]);
|
|
4494
4503
|
}
|
|
4495
4504
|
}
|
|
4496
|
-
|
|
4505
|
+
hr = t;
|
|
4497
4506
|
}
|
|
4498
|
-
function
|
|
4499
|
-
|
|
4500
|
-
const e =
|
|
4501
|
-
|
|
4507
|
+
function ma(t) {
|
|
4508
|
+
kn = t;
|
|
4509
|
+
const e = Me = t.length;
|
|
4510
|
+
Wn = 0, le = -1, qt = -1, Lt = -1, Tt = -1, Ct = me ? -1 : e, Ot = yn ? -1 : e, Dt = En ? -1 : e, Jn = -1;
|
|
4502
4511
|
}
|
|
4503
4512
|
function Q(t, e) {
|
|
4504
|
-
const n =
|
|
4505
|
-
return n === -1 ?
|
|
4513
|
+
const n = kn.indexOf(t, e);
|
|
4514
|
+
return n === -1 ? Me : n;
|
|
4506
4515
|
}
|
|
4507
|
-
function
|
|
4516
|
+
function wa(t, e, n, s) {
|
|
4508
4517
|
const o = t.source;
|
|
4509
|
-
if ((o !==
|
|
4518
|
+
if ((o !== kn || n < Wn) && ma(o), s > Me && (s = Me, s <= n))
|
|
4510
4519
|
return "";
|
|
4511
|
-
let r =
|
|
4512
|
-
r < s && (r =
|
|
4520
|
+
let r = Jn;
|
|
4521
|
+
r < s && (r = va(n));
|
|
4513
4522
|
const l = o.charCodeAt(n);
|
|
4514
|
-
if ((l === 123 || l === 125) &&
|
|
4523
|
+
if ((l === 123 || l === 125) && pe(o, n)) {
|
|
4515
4524
|
const a = l === 123 ? "{" : "}";
|
|
4516
|
-
return r >= s ? a + o.slice(n + 1, s) : a +
|
|
4525
|
+
return r >= s ? a + o.slice(n + 1, s) : a + Xo(t, e, o, n, s, r, n + 1);
|
|
4517
4526
|
}
|
|
4518
|
-
return r >= s ? o.slice(n, s) :
|
|
4527
|
+
return r >= s ? o.slice(n, s) : Xo(t, e, o, n, s, r, n);
|
|
4519
4528
|
}
|
|
4520
|
-
function
|
|
4521
|
-
|
|
4522
|
-
let e =
|
|
4523
|
-
return
|
|
4529
|
+
function va(t) {
|
|
4530
|
+
le < t && (le = Q("&", t)), qt < t && (qt = Q("<", t)), Lt < t && (Lt = Q(">", t)), Tt < t && (Tt = Q('"', t)), Ct < t && (Ct = Q("'", t)), Ot < t && (Ot = Q("--", t)), Dt < t && (Dt = Q("...", t)), Wn = t;
|
|
4531
|
+
let e = le;
|
|
4532
|
+
return qt < e && (e = qt), Lt < e && (e = Lt), Tt < e && (e = Tt), Ct < e && (e = Ct), Ot < e && (e = Ot), Dt < e && (e = Dt), Jn = e;
|
|
4524
4533
|
}
|
|
4525
|
-
function
|
|
4526
|
-
const a = !
|
|
4534
|
+
function Xo(t, e, n, s, o, r, l) {
|
|
4535
|
+
const a = !ll(t, e), f = pe(n, s);
|
|
4527
4536
|
let c = "";
|
|
4528
4537
|
for (; r < o; ) {
|
|
4529
4538
|
const u = n.charCodeAt(r);
|
|
4530
4539
|
if (c += n.slice(l, r), l = r + 1, u === 38)
|
|
4531
|
-
|
|
4540
|
+
le = Q("&", r + 1), gs(n, s, o, r) ? l = r : c += "&";
|
|
4532
4541
|
else if (u === 60)
|
|
4533
|
-
c += "<",
|
|
4542
|
+
c += "<", qt = Q("<", r + 1);
|
|
4534
4543
|
else if (u === 62)
|
|
4535
4544
|
c += ">", Lt = Q(">", r + 1);
|
|
4536
4545
|
else if (u === 34 || u === 39) {
|
|
4537
4546
|
u === 34 ? Tt = Q('"', r + 1) : Ct = Q("'", r + 1);
|
|
4538
|
-
const d = a &&
|
|
4539
|
-
d === 0 ? u === 34 ? c += """ : l = r : d === 1 ? c += u === 34 ?
|
|
4547
|
+
const d = a && me && !(f && r === s) ? ol(t, e, n, s, o, r) : 0;
|
|
4548
|
+
d === 0 ? u === 34 ? c += """ : l = r : d === 1 ? c += u === 34 ? gr : br : u === 34 ? c += _r : c += d === 3 ? "’" : mr;
|
|
4540
4549
|
} else {
|
|
4541
4550
|
let d = r + 1;
|
|
4542
4551
|
for (; d < o && n.charCodeAt(d) === u; ) d++;
|
|
@@ -4544,18 +4553,18 @@ function Jo(t, e, n, s, o, r, l) {
|
|
|
4544
4553
|
h ? Ot = Q("--", d) : Dt = Q("...", d);
|
|
4545
4554
|
const v = d - r;
|
|
4546
4555
|
a && (v === 3 || v === 2 && h) && !(f && r === s) && // the run goes on in the next text node, behind a backslash
|
|
4547
|
-
!(d === o && n.charCodeAt(o) === 92 && n.charCodeAt(o + 1) === u) && !(v === 2 &&
|
|
4556
|
+
!(d === o && n.charCodeAt(o) === 92 && n.charCodeAt(o + 1) === u) && !(v === 2 && pa(t, e, n, s, o, r)) ? c += h ? v === 2 ? "–" : "—" : "…" : c += n.slice(r, d), l = d;
|
|
4548
4557
|
}
|
|
4549
|
-
r =
|
|
4558
|
+
r = le, qt < r && (r = qt), Lt < r && (r = Lt), Tt < r && (r = Tt), Ct < r && (r = Ct), Ot < r && (r = Ot), Dt < r && (r = Dt);
|
|
4550
4559
|
}
|
|
4551
|
-
return
|
|
4560
|
+
return Wn = o, Jn = r, c + n.slice(l, o);
|
|
4552
4561
|
}
|
|
4553
|
-
function
|
|
4562
|
+
function pa(t, e, n, s, o, r) {
|
|
4554
4563
|
if (r + 2 >= o) return !1;
|
|
4555
4564
|
const l = n.charCodeAt(r + 2) | 32;
|
|
4556
|
-
return l < 97 || l > 122 ? !1 : (r > s ?
|
|
4565
|
+
return l < 97 || l > 122 ? !1 : (r > s ? ie(n.charCodeAt(r - 1)) : sl(t, e)) === 0;
|
|
4557
4566
|
}
|
|
4558
|
-
function
|
|
4567
|
+
function ol(t, e, n, s, o, r) {
|
|
4559
4568
|
let l = r;
|
|
4560
4569
|
for (; l > s; ) {
|
|
4561
4570
|
const c = n.charCodeAt(l - 1);
|
|
@@ -4563,11 +4572,11 @@ function tl(t, e, n, s, o, r) {
|
|
|
4563
4572
|
l--;
|
|
4564
4573
|
}
|
|
4565
4574
|
let a;
|
|
4566
|
-
l > s ? a =
|
|
4567
|
-
const f = r + 1 < o ?
|
|
4575
|
+
l > s ? a = ie(n.charCodeAt(l - 1)) : l < r && pe(n, s) ? (a = 3, l = r) : a = sl(t, e);
|
|
4576
|
+
const f = r + 1 < o ? ie(n.charCodeAt(r + 1)) : ya(t, xa(t, e, o));
|
|
4568
4577
|
return l < r ? (a === 0 || a === 1) && f !== 0 ? 1 : 2 : a === 0 ? f === 0 ? 0 : 1 : a === 1 && f !== 0 ? 1 : a === 2 && f === 2 ? 3 : 2;
|
|
4569
4578
|
}
|
|
4570
|
-
function
|
|
4579
|
+
function ie(t) {
|
|
4571
4580
|
if (t <= 32 || t === 160) return 0;
|
|
4572
4581
|
if (t < 128) {
|
|
4573
4582
|
if (t === 40 || t === 91 || t === 123 || t === 45) return 1;
|
|
@@ -4577,7 +4586,7 @@ function se(t) {
|
|
|
4577
4586
|
}
|
|
4578
4587
|
return t === 8211 || t === 8212 ? 1 : t < 192 ? 3 : t >= 8192 && t <= 8303 ? t <= 8202 || t === 8232 || t === 8233 || t === 8239 || t === 8287 ? 0 : 3 : t === 5760 || t === 12288 ? 0 : t > 12288 && t <= 12351 ? 3 : 2;
|
|
4579
4588
|
}
|
|
4580
|
-
function
|
|
4589
|
+
function po(t, e) {
|
|
4581
4590
|
var s;
|
|
4582
4591
|
const n = t.words[
|
|
4583
4592
|
e * 12
|
|
@@ -4587,11 +4596,11 @@ function mo(t, e) {
|
|
|
4587
4596
|
const o = t.index;
|
|
4588
4597
|
t.move_to(e);
|
|
4589
4598
|
const r = (s = t.meta()) == null ? void 0 : s.tag;
|
|
4590
|
-
return t.move_to(o), typeof r != "string" || !
|
|
4599
|
+
return t.move_to(o), typeof r != "string" || !ha.has(r);
|
|
4591
4600
|
}
|
|
4592
4601
|
return n === 9 || n === 10 || n === 19 || n === 20 || n === 21 || n === 12 || n === 30;
|
|
4593
4602
|
}
|
|
4594
|
-
function
|
|
4603
|
+
function ts(t, e) {
|
|
4595
4604
|
const n = t[
|
|
4596
4605
|
e * 12 + 5
|
|
4597
4606
|
/* parent */
|
|
@@ -4601,7 +4610,7 @@ function Qo(t, e) {
|
|
|
4601
4610
|
n * 12 + 8
|
|
4602
4611
|
/* first_child */
|
|
4603
4612
|
];
|
|
4604
|
-
let o =
|
|
4613
|
+
let o = vr, r = Yo;
|
|
4605
4614
|
(o === 4294967295 || t[
|
|
4606
4615
|
o * 12 + 5
|
|
4607
4616
|
/* parent */
|
|
@@ -4612,7 +4621,7 @@ function Qo(t, e) {
|
|
|
4612
4621
|
/* parent */
|
|
4613
4622
|
] === n; ) {
|
|
4614
4623
|
if (o === e)
|
|
4615
|
-
return
|
|
4624
|
+
return vr = o, Yo = r, r;
|
|
4616
4625
|
r = o, o = t[
|
|
4617
4626
|
o * 12 + 6
|
|
4618
4627
|
/* next */
|
|
@@ -4622,24 +4631,24 @@ function Qo(t, e) {
|
|
|
4622
4631
|
}
|
|
4623
4632
|
return 4294967295;
|
|
4624
4633
|
}
|
|
4625
|
-
function
|
|
4634
|
+
function sl(t, e) {
|
|
4626
4635
|
const n = t.words;
|
|
4627
4636
|
for (; ; ) {
|
|
4628
|
-
let s =
|
|
4637
|
+
let s = ts(n, e);
|
|
4629
4638
|
for (; s !== 4294967295; ) {
|
|
4630
|
-
const r =
|
|
4639
|
+
const r = xo(t, s, !0);
|
|
4631
4640
|
if (r !== -1) return r;
|
|
4632
|
-
s =
|
|
4641
|
+
s = ts(n, s);
|
|
4633
4642
|
}
|
|
4634
4643
|
const o = n[
|
|
4635
4644
|
e * 12 + 5
|
|
4636
4645
|
/* parent */
|
|
4637
4646
|
];
|
|
4638
|
-
if (o === 4294967295 || !
|
|
4647
|
+
if (o === 4294967295 || !po(t, o)) return 0;
|
|
4639
4648
|
e = o;
|
|
4640
4649
|
}
|
|
4641
4650
|
}
|
|
4642
|
-
function
|
|
4651
|
+
function xa(t, e, n) {
|
|
4643
4652
|
const s = t.words, o = s[
|
|
4644
4653
|
e * 12 + 5
|
|
4645
4654
|
/* parent */
|
|
@@ -4664,7 +4673,7 @@ function ma(t, e, n) {
|
|
|
4664
4673
|
e = a;
|
|
4665
4674
|
}
|
|
4666
4675
|
}
|
|
4667
|
-
function
|
|
4676
|
+
function ya(t, e) {
|
|
4668
4677
|
const n = t.words;
|
|
4669
4678
|
for (; ; ) {
|
|
4670
4679
|
const s = n[
|
|
@@ -4679,23 +4688,23 @@ function wa(t, e) {
|
|
|
4679
4688
|
o * 12 + 5
|
|
4680
4689
|
/* parent */
|
|
4681
4690
|
] === s; ) {
|
|
4682
|
-
const r =
|
|
4691
|
+
const r = xo(t, o, !1);
|
|
4683
4692
|
if (r !== -1) return r;
|
|
4684
4693
|
o = n[
|
|
4685
4694
|
o * 12 + 6
|
|
4686
4695
|
/* next */
|
|
4687
4696
|
];
|
|
4688
4697
|
}
|
|
4689
|
-
if (s === 4294967295 || !
|
|
4698
|
+
if (s === 4294967295 || !po(t, s)) return 0;
|
|
4690
4699
|
e = s;
|
|
4691
4700
|
}
|
|
4692
4701
|
}
|
|
4693
|
-
function
|
|
4702
|
+
function xo(t, e, n) {
|
|
4694
4703
|
const s = t.words, o = e * 12, r = s[o] & 255;
|
|
4695
4704
|
if (r === 1) {
|
|
4696
4705
|
const f = t.prebuilt_at(e);
|
|
4697
4706
|
if (f !== void 0)
|
|
4698
|
-
return f.length === 0 ? -1 :
|
|
4707
|
+
return f.length === 0 ? -1 : ie(f.charCodeAt(n ? f.length - 1 : 0));
|
|
4699
4708
|
const c = s[
|
|
4700
4709
|
o + 3
|
|
4701
4710
|
/* value_start */
|
|
@@ -4706,16 +4715,16 @@ function wo(t, e, n) {
|
|
|
4706
4715
|
];
|
|
4707
4716
|
const d = t.source;
|
|
4708
4717
|
if (u !== 4294967295 && u > d.length && (u = d.length), c === 4294967295 || u === 4294967295 || u <= c) return -1;
|
|
4709
|
-
if (!n) return
|
|
4718
|
+
if (!n) return ie(d.charCodeAt(c));
|
|
4710
4719
|
const h = d.charCodeAt(u - 1);
|
|
4711
|
-
return (h === 34 || h === 39) &&
|
|
4720
|
+
return (h === 34 || h === 39) && me && !(u - 1 === c && pe(d, c)) && !ll(t, e) ? ol(t, e, d, c, u, u - 1) === 1 ? 1 : 3 : ie(h);
|
|
4712
4721
|
}
|
|
4713
4722
|
if (r === 18 || r === 17 || r === 6)
|
|
4714
4723
|
return 0;
|
|
4715
4724
|
if (r === 26) return -1;
|
|
4716
4725
|
if (r === 8 || r === 4 || r === 13 || r === 27)
|
|
4717
4726
|
return 2;
|
|
4718
|
-
if (!
|
|
4727
|
+
if (!po(t, e)) return 0;
|
|
4719
4728
|
let l = s[
|
|
4720
4729
|
o + 8
|
|
4721
4730
|
/* first_child */
|
|
@@ -4733,18 +4742,18 @@ function wo(t, e, n) {
|
|
|
4733
4742
|
] !== e) break;
|
|
4734
4743
|
l = f;
|
|
4735
4744
|
}
|
|
4736
|
-
const a =
|
|
4745
|
+
const a = xo(t, l, n);
|
|
4737
4746
|
return a === -1 ? 2 : a;
|
|
4738
4747
|
}
|
|
4739
|
-
function
|
|
4748
|
+
function ll(t, e) {
|
|
4740
4749
|
var l;
|
|
4741
4750
|
const n = t.words;
|
|
4742
4751
|
let s = n[
|
|
4743
4752
|
e * 12 + 5
|
|
4744
4753
|
/* parent */
|
|
4745
4754
|
];
|
|
4746
|
-
if (s ===
|
|
4747
|
-
|
|
4755
|
+
if (s === wr) return Qo;
|
|
4756
|
+
wr = s;
|
|
4748
4757
|
let o = !1;
|
|
4749
4758
|
s !== 4294967295 && (n[
|
|
4750
4759
|
s * 12
|
|
@@ -4761,66 +4770,66 @@ function nl(t, e) {
|
|
|
4761
4770
|
] & 255) === 2) {
|
|
4762
4771
|
t.move_to(s);
|
|
4763
4772
|
const a = (l = t.meta()) == null ? void 0 : l.tag;
|
|
4764
|
-
typeof a == "string" &&
|
|
4773
|
+
typeof a == "string" && ga.has(a) && (o = !0);
|
|
4765
4774
|
}
|
|
4766
4775
|
s = n[
|
|
4767
4776
|
s * 12 + 5
|
|
4768
4777
|
/* parent */
|
|
4769
4778
|
];
|
|
4770
4779
|
}
|
|
4771
|
-
return t.move_to(r),
|
|
4780
|
+
return t.move_to(r), Qo = o;
|
|
4772
4781
|
}
|
|
4773
|
-
let
|
|
4774
|
-
function
|
|
4775
|
-
if (
|
|
4776
|
-
const e =
|
|
4777
|
-
return
|
|
4782
|
+
let G = null;
|
|
4783
|
+
function il(t) {
|
|
4784
|
+
if (G !== null) return G;
|
|
4785
|
+
const e = ss(t.buffer, !0);
|
|
4786
|
+
return G = e, e;
|
|
4778
4787
|
}
|
|
4779
|
-
function
|
|
4788
|
+
function al(t) {
|
|
4780
4789
|
try {
|
|
4781
4790
|
return encodeURIComponent(t);
|
|
4782
4791
|
} catch {
|
|
4783
4792
|
return t;
|
|
4784
4793
|
}
|
|
4785
4794
|
}
|
|
4786
|
-
function
|
|
4787
|
-
return
|
|
4795
|
+
function fl(t) {
|
|
4796
|
+
return Rt(al(t));
|
|
4788
4797
|
}
|
|
4789
|
-
function
|
|
4798
|
+
function we(t, e) {
|
|
4790
4799
|
const n = t.moved;
|
|
4791
4800
|
return n == null ? e : n.get(e) ?? e;
|
|
4792
4801
|
}
|
|
4793
|
-
function
|
|
4794
|
-
const e =
|
|
4802
|
+
function Qn(t) {
|
|
4803
|
+
const e = il(t), n = e.references.get(t.index);
|
|
4795
4804
|
if (n === void 0) return "";
|
|
4796
4805
|
const s = Math.floor(n / 65536);
|
|
4797
|
-
return '<sup><a href="#' +
|
|
4806
|
+
return '<sup><a href="#' + fl(we(e, xr(e.labels[s - 1]))) + '" id="' + Rt(we(e, yr(s, n % 65536))) + '" role="doc-noteref">' + s + "</a></sup>";
|
|
4798
4807
|
}
|
|
4799
|
-
function
|
|
4800
|
-
const o =
|
|
4808
|
+
function cl(t, e, n, s) {
|
|
4809
|
+
const o = Qn(t);
|
|
4801
4810
|
n !== 0 && (i += b[n]);
|
|
4802
4811
|
const r = i.length;
|
|
4803
4812
|
return i += o, s ? U(e, r, t) : S(e, r, i.length, t.start, t.end, t.index, 0), 0;
|
|
4804
4813
|
}
|
|
4805
|
-
function
|
|
4814
|
+
function _n(t, e, n) {
|
|
4806
4815
|
return n === 0 ? y(t, e) : (t !== 0 && (i += b[t]), i += e, 0);
|
|
4807
4816
|
}
|
|
4808
|
-
function
|
|
4809
|
-
const s =
|
|
4817
|
+
function Ea(t, e, n) {
|
|
4818
|
+
const s = Rt(t.back_label ?? "Back to reference {n}");
|
|
4810
4819
|
let o = "";
|
|
4811
4820
|
for (let r = 1; r <= n; r++) {
|
|
4812
4821
|
const l = r === 1 ? "" + e : e + "-" + r;
|
|
4813
|
-
o += ' <a href="#' +
|
|
4822
|
+
o += ' <a href="#' + fl(we(t, yr(e, r))) + '" role="doc-backlink" aria-label="' + s.replace("{n}", l) + // the selector keeps the arrow from being drawn as an emoji
|
|
4814
4823
|
'">↩︎' + (r === 1 ? "" : "<sup>" + r + "</sup>") + "</a>";
|
|
4815
4824
|
}
|
|
4816
4825
|
return o;
|
|
4817
4826
|
}
|
|
4818
|
-
function
|
|
4827
|
+
function Sa(t, e, n, s, o) {
|
|
4819
4828
|
if (s === 0)
|
|
4820
|
-
return n =
|
|
4829
|
+
return n = ct(t, n, He, Ve, q), n = J(t, n), _(y(n, o), Mt);
|
|
4821
4830
|
const r = i.length + w[n], l = t.start;
|
|
4822
|
-
if (n = P(t, n,
|
|
4823
|
-
return n = $(t, e, n), n !== 0 && (i += b[n]), i += o,
|
|
4831
|
+
if (n = P(t, n, He, Ve, q), s === 1)
|
|
4832
|
+
return n = $(t, e, n), n !== 0 && (i += b[n]), i += o, In(e, r, l), Mt;
|
|
4824
4833
|
const a = i.length + w[n];
|
|
4825
4834
|
n = k(t, e, n), n !== 0 && (i += b[n]), i += o;
|
|
4826
4835
|
const f = i.length;
|
|
@@ -4829,13 +4838,13 @@ function pa(t, e, n, s, o) {
|
|
|
4829
4838
|
r,
|
|
4830
4839
|
a,
|
|
4831
4840
|
f,
|
|
4832
|
-
f + w[
|
|
4841
|
+
f + w[Mt],
|
|
4833
4842
|
t,
|
|
4834
4843
|
0
|
|
4835
4844
|
/* TEXT */
|
|
4836
|
-
),
|
|
4845
|
+
), Mt;
|
|
4837
4846
|
}
|
|
4838
|
-
function
|
|
4847
|
+
function ul(t, e, n, s, o, r) {
|
|
4839
4848
|
const l = t.words, a = l[
|
|
4840
4849
|
o * 12 + 8
|
|
4841
4850
|
/* first_child */
|
|
@@ -4864,32 +4873,32 @@ function il(t, e, n, s, o, r) {
|
|
|
4864
4873
|
u * 12
|
|
4865
4874
|
/* stride */
|
|
4866
4875
|
] & 255;
|
|
4867
|
-
d !== 6 && (t.move_to(u), u === f && d === 7 && !(
|
|
4876
|
+
d !== 6 && (t.move_to(u), u === f && d === 7 && !(_t && Xt(t) !== null) ? (n = Sa(t, e, n, s, r), c = !0) : n = vo(t, e, n, s, u, d));
|
|
4868
4877
|
}
|
|
4869
|
-
return c ? n :
|
|
4878
|
+
return c ? n : _n(n, r, s);
|
|
4870
4879
|
}
|
|
4871
|
-
function
|
|
4872
|
-
const o =
|
|
4880
|
+
function yo(t, e, n, s) {
|
|
4881
|
+
const o = G, r = o.definitions, l = _t ? z.get("footnotes") : void 0;
|
|
4873
4882
|
let a = l !== void 0 ? "<" + l.local + `>
|
|
4874
4883
|
<ol>
|
|
4875
|
-
` : '<section class="footnotes" role="doc-endnotes" aria-label="' +
|
|
4884
|
+
` : '<section class="footnotes" role="doc-endnotes" aria-label="' + Rt(o.label ?? "Footnotes") + `">
|
|
4876
4885
|
<ol>
|
|
4877
4886
|
`, f = 1;
|
|
4878
4887
|
for (let c = 0; c < r.length; c++) {
|
|
4879
4888
|
const u = r[c];
|
|
4880
4889
|
if (u === 4294967295) continue;
|
|
4881
|
-
let d = a + '<li id="' +
|
|
4882
|
-
a = "", c + 1 !== f && (d += ' value="' + (c + 1) + '"'), f = c + 2, n =
|
|
4890
|
+
let d = a + '<li id="' + Rt(we(o, xr(o.labels[c]))) + '"';
|
|
4891
|
+
a = "", c + 1 !== f && (d += ' value="' + (c + 1) + '"'), f = c + 2, n = _n(n, d + ">", s), n = ul(
|
|
4883
4892
|
t,
|
|
4884
4893
|
e,
|
|
4885
4894
|
n,
|
|
4886
4895
|
s,
|
|
4887
4896
|
u,
|
|
4888
|
-
|
|
4889
|
-
), n =
|
|
4897
|
+
Ea(o, c + 1, o.counts[c])
|
|
4898
|
+
), n = _n(n, `</li>
|
|
4890
4899
|
`, s);
|
|
4891
4900
|
}
|
|
4892
|
-
return t.move_to(0), a !== "" ? n :
|
|
4901
|
+
return t.move_to(0), a !== "" ? n : _n(
|
|
4893
4902
|
n,
|
|
4894
4903
|
l !== void 0 ? `</ol>
|
|
4895
4904
|
</` + l.local + ">" : `</ol>
|
|
@@ -4897,27 +4906,27 @@ function vo(t, e, n, s) {
|
|
|
4897
4906
|
s
|
|
4898
4907
|
);
|
|
4899
4908
|
}
|
|
4900
|
-
const
|
|
4901
|
-
let
|
|
4902
|
-
function
|
|
4903
|
-
const l =
|
|
4909
|
+
const Aa = /* @__PURE__ */ new Set(["label"]);
|
|
4910
|
+
let sr = !1;
|
|
4911
|
+
function qa(t, e, n, s, o, r) {
|
|
4912
|
+
const l = il(t), a = l.references.get(t.index);
|
|
4904
4913
|
if (a === void 0) return n;
|
|
4905
4914
|
const f = Math.floor(a / 65536), c = l.labels[f - 1], u = t.index;
|
|
4906
|
-
n =
|
|
4915
|
+
n = A(
|
|
4907
4916
|
n,
|
|
4908
|
-
o + X("label", c) + " number={" + f + "}" + X("href", "#" +
|
|
4917
|
+
o + X("label", c) + " number={" + f + "}" + X("href", "#" + al(we(l, xr(c)))) + X("id", we(l, yr(f, a % 65536))) + T(t, Aa) + ">"
|
|
4909
4918
|
);
|
|
4910
4919
|
const d = l.definitions[f - 1];
|
|
4911
|
-
if (d !== 4294967295 && !
|
|
4912
|
-
|
|
4920
|
+
if (d !== 4294967295 && !sr) {
|
|
4921
|
+
sr = !0;
|
|
4913
4922
|
try {
|
|
4914
|
-
n =
|
|
4923
|
+
n = A(n, "{#snippet note()}"), n = ul(t, e, n, I, d, ""), n = A(n, "{/snippet}");
|
|
4915
4924
|
} finally {
|
|
4916
|
-
|
|
4925
|
+
sr = !1;
|
|
4917
4926
|
}
|
|
4918
4927
|
t.move_to(u);
|
|
4919
4928
|
}
|
|
4920
|
-
return n =
|
|
4929
|
+
return n = A(n, Qn(t) + r), se(
|
|
4921
4930
|
t,
|
|
4922
4931
|
e,
|
|
4923
4932
|
s,
|
|
@@ -4925,9 +4934,9 @@ function ya(t, e, n, s, o, r) {
|
|
|
4925
4934
|
/* TEXT */
|
|
4926
4935
|
), n;
|
|
4927
4936
|
}
|
|
4928
|
-
function
|
|
4937
|
+
function es(t) {
|
|
4929
4938
|
j = "";
|
|
4930
|
-
const e =
|
|
4939
|
+
const e = yo(
|
|
4931
4940
|
t,
|
|
4932
4941
|
void 0,
|
|
4933
4942
|
0,
|
|
@@ -4938,8 +4947,8 @@ function Yo(t) {
|
|
|
4938
4947
|
return j = "", e !== 0 && (n += b[e]), n;
|
|
4939
4948
|
}
|
|
4940
4949
|
let et = !1;
|
|
4941
|
-
const
|
|
4942
|
-
function
|
|
4950
|
+
const ns = '<div style="display: contents">', La = "</div>";
|
|
4951
|
+
function Eo(t, e, n, s, o) {
|
|
4943
4952
|
const r = s === 0, l = s === 1 ? 3 : 6;
|
|
4944
4953
|
let a = r ? j : i;
|
|
4945
4954
|
n !== 0 && (a += b[n]);
|
|
@@ -4956,11 +4965,11 @@ function po(t, e, n, s, o) {
|
|
|
4956
4965
|
/* parent */
|
|
4957
4966
|
] !== 0) break;
|
|
4958
4967
|
const g = d[E] & 255;
|
|
4959
|
-
if (g !== 6 && (t.move_to(h), !o || !
|
|
4968
|
+
if (g !== 6 && (t.move_to(h), !o || !Fs(t, g))) {
|
|
4960
4969
|
const p = e === void 0 ? 0 : e.n;
|
|
4961
|
-
r ? j = "" : i = "", n =
|
|
4970
|
+
r ? j = "" : i = "", n = vo(t, e, 0, s, h, g);
|
|
4962
4971
|
let N = r ? j : i;
|
|
4963
|
-
n !== 0 && (N += b[n]), N.length === 0 && c === 0 ?
|
|
4972
|
+
n !== 0 && (N += b[n]), N.length === 0 && c === 0 ? lr(e, p, l, a.length) : N.length === 0 || Ta(N) ? (c === 0 && (u = p), lr(e, p, l, f.length), N.length !== 0 && (f += N, c++)) : (a = rs(a, f, c, e, u, p, l), f = "", c = 0, lr(e, p, l, a.length), a += N);
|
|
4964
4973
|
}
|
|
4965
4974
|
h = d[
|
|
4966
4975
|
E + 6
|
|
@@ -4968,20 +4977,20 @@ function po(t, e, n, s, o) {
|
|
|
4968
4977
|
];
|
|
4969
4978
|
}
|
|
4970
4979
|
const v = e === void 0 ? 0 : e.n;
|
|
4971
|
-
return a =
|
|
4980
|
+
return a = rs(a, f, c, e, u, v, l), r ? j = a : i = a, t.move_to(0), 0;
|
|
4972
4981
|
}
|
|
4973
|
-
function
|
|
4974
|
-
return n === 0 ? t : n === 1 ? (
|
|
4982
|
+
function rs(t, e, n, s, o, r, l) {
|
|
4983
|
+
return n === 0 ? t : n === 1 ? (pr(s, o, r, l, t.length), t + e) : (pr(s, o, r, l, t.length + ns.length), t + ns + e + La);
|
|
4975
4984
|
}
|
|
4976
|
-
function
|
|
4977
|
-
t !== void 0 &&
|
|
4985
|
+
function lr(t, e, n, s) {
|
|
4986
|
+
t !== void 0 && pr(t, e, t.n, n, s);
|
|
4978
4987
|
}
|
|
4979
|
-
function
|
|
4988
|
+
function pr(t, e, n, s, o) {
|
|
4980
4989
|
if (t === void 0 || o === 0) return;
|
|
4981
4990
|
const r = t.rec;
|
|
4982
4991
|
for (let l = e; l < n; l += s) r[l] += o;
|
|
4983
4992
|
}
|
|
4984
|
-
function
|
|
4993
|
+
function Ta(t) {
|
|
4985
4994
|
const e = t.length;
|
|
4986
4995
|
let n = t.indexOf("{"), s = 0;
|
|
4987
4996
|
for (; ; ) {
|
|
@@ -5000,14 +5009,22 @@ function Sa(t) {
|
|
|
5000
5009
|
s = o + 2;
|
|
5001
5010
|
continue;
|
|
5002
5011
|
}
|
|
5012
|
+
const a = r;
|
|
5003
5013
|
for (; l < e; l++) {
|
|
5004
5014
|
if (r = t.charCodeAt(l), r >= 65 && r <= 90 || r === 46 || r === 58) return !1;
|
|
5005
5015
|
if (!(r >= 97 && r <= 122 || r >= 48 && r <= 57 || r === 45))
|
|
5006
5016
|
break;
|
|
5007
5017
|
}
|
|
5008
5018
|
if (l === o + 1) return !1;
|
|
5009
|
-
|
|
5010
|
-
|
|
5019
|
+
if (a === 115) {
|
|
5020
|
+
const c = l - o - 1;
|
|
5021
|
+
if (c === 4 && t.charCodeAt(o + 2) === 108 && t.charCodeAt(o + 3) === 111 && t.charCodeAt(o + 4) === 116 || c === 5 && t.charCodeAt(o + 2) === 116 && t.charCodeAt(o + 3) === 121 && t.charCodeAt(o + 4) === 108 && t.charCodeAt(o + 5) === 101 || c === 6 && t.charCodeAt(o + 2) === 99 && t.charCodeAt(o + 3) === 114 && t.charCodeAt(o + 4) === 105 && t.charCodeAt(o + 5) === 112 && t.charCodeAt(o + 6) === 116)
|
|
5022
|
+
return !1;
|
|
5023
|
+
}
|
|
5024
|
+
if (r === 62) {
|
|
5025
|
+
s = l + 1;
|
|
5026
|
+
continue;
|
|
5027
|
+
}
|
|
5011
5028
|
let f = 0;
|
|
5012
5029
|
for (; l < e; l++) {
|
|
5013
5030
|
if (r = t.charCodeAt(l), r === 123) return !1;
|
|
@@ -5016,72 +5033,75 @@ function Sa(t) {
|
|
|
5016
5033
|
else if (r === 34 || r === 39) f = r;
|
|
5017
5034
|
else {
|
|
5018
5035
|
if (r === 58) return !1;
|
|
5019
|
-
if (r === 62)
|
|
5036
|
+
if (r === 62) {
|
|
5037
|
+
l++;
|
|
5038
|
+
break;
|
|
5039
|
+
}
|
|
5020
5040
|
}
|
|
5021
5041
|
}
|
|
5022
5042
|
s = l;
|
|
5023
5043
|
}
|
|
5024
5044
|
}
|
|
5025
5045
|
export {
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5046
|
+
Al as ComponentScope,
|
|
5047
|
+
Df as CursorHTMLRenderer,
|
|
5048
|
+
Us as DirectiveError,
|
|
5049
|
+
Jo as FOOTNOTES_BLOCK,
|
|
5050
|
+
Ja as K_BLOCK_QUOTE,
|
|
5051
|
+
Ka as K_CODE_FENCE,
|
|
5052
|
+
ja as K_CODE_SPAN,
|
|
5053
|
+
_f as K_DIRECTIVE_CONTAINER,
|
|
5054
|
+
hf as K_DIRECTIVE_INLINE,
|
|
5055
|
+
wf as K_DIRECTIVE_LABEL,
|
|
5056
|
+
gf as K_DIRECTIVE_LEAF,
|
|
5057
|
+
za as K_EMPHASIS,
|
|
5058
|
+
bf as K_FRONTMATTER,
|
|
5059
|
+
Za as K_HARD_BREAK,
|
|
5060
|
+
Va as K_HEADING,
|
|
5061
|
+
Ha as K_HTML,
|
|
5062
|
+
af as K_HTML_COMMENT,
|
|
5063
|
+
Wa as K_IMAGE,
|
|
5064
|
+
mf as K_IMPORT_STATEMENT,
|
|
5065
|
+
Ga as K_LINE_BREAK,
|
|
5066
|
+
ka as K_LINK,
|
|
5067
|
+
Qa as K_LIST,
|
|
5068
|
+
Ya as K_LIST_ITEM,
|
|
5069
|
+
df as K_MUSTACHE,
|
|
5070
|
+
Ma as K_PARAGRAPH,
|
|
5071
|
+
Ua as K_ROOT,
|
|
5072
|
+
Xa as K_SOFT_BREAK,
|
|
5073
|
+
tf as K_STRIKETHROUGH,
|
|
5074
|
+
Fa as K_STRONG,
|
|
5075
|
+
nf as K_SUBSCRIPT,
|
|
5076
|
+
ef as K_SUPERSCRIPT,
|
|
5077
|
+
cf as K_SVELTE_BLOCK,
|
|
5078
|
+
uf as K_SVELTE_BRANCH,
|
|
5079
|
+
ff as K_SVELTE_TAG,
|
|
5080
|
+
rf as K_TABLE,
|
|
5081
|
+
lf as K_TABLE_CELL,
|
|
5082
|
+
of as K_TABLE_HEADER,
|
|
5083
|
+
sf as K_TABLE_ROW,
|
|
5084
|
+
Ia as K_TEXT,
|
|
5085
|
+
$a as K_THEMATIC_BREAK,
|
|
5086
|
+
Sr as MapSink,
|
|
5087
|
+
vf as NONE,
|
|
5088
|
+
Cf as _capture_trace,
|
|
5089
|
+
qf as _children,
|
|
5090
|
+
Af as _emit,
|
|
5091
|
+
yf as _escape_code,
|
|
5092
|
+
Ef as _escape_code_text,
|
|
5093
|
+
Sf as _escape_text_html,
|
|
5094
|
+
Nf as _mapped_begin,
|
|
5095
|
+
Rf as _mapped_end,
|
|
5096
|
+
Lf as _node,
|
|
5097
|
+
Tf as _out_offsets,
|
|
5098
|
+
Of as _resolve_mappings,
|
|
5099
|
+
Pf as _resolve_offset_mappings,
|
|
5100
|
+
as as component_imports,
|
|
5101
|
+
ta as escape,
|
|
5102
|
+
xf as escape_text,
|
|
5103
|
+
Tl as is_entity_name,
|
|
5104
|
+
Sl as shell_key,
|
|
5105
|
+
pf as shell_requests,
|
|
5106
|
+
Ba as take_plain_math
|
|
5087
5107
|
};
|