// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
/**
* beautified version of:
* marked v12.0.2 - a markdown parser
* Copyright (c) 2011-2024, Christopher Jeffrey. (MIT Licensed)
* https://github.com/markedjs/marked
*/
!(function (e, t) {
"object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t(((e = "undefined" != typeof globalThis ? globalThis : e || self).marked = {}));
})(this, function (e) {
"use strict";
function t() {
return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
}
function n(t) {
e.defaults = t;
}
e.defaults = { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
const s = /[&<>"']/,
r = new RegExp(s.source, "g"),
i = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,
l = new RegExp(i.source, "g"),
o = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" },
a = (e) => o[e];
function c(e, t) {
if (t) {
if (s.test(e)) return e.replace(r, a);
} else if (i.test(e)) return e.replace(l, a);
return e;
}
const h = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;
function p(e) {
return e.replace(h, (e, t) => ("colon" === (t = t.toLowerCase()) ? ":" : "#" === t.charAt(0) ? ("x" === t.charAt(1) ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1))) : ""));
}
const u = /(^|[^\[])\^/g;
function k(e, t) {
let n = "string" == typeof e ? e : e.source;
t = t || "";
const s = {
replace: (e, t) => {
let r = "string" == typeof t ? t : t.source;
return (r = r.replace(u, "$1")), (n = n.replace(e, r)), s;
},
getRegex: () => new RegExp(n, t),
};
return s;
}
function g(e) {
try {
e = encodeURI(e).replace(/%25/g, "%");
} catch (e) {
return null;
}
return e;
}
const f = { exec: () => null };
function d(e, t) {
const n = e
.replace(/\|/g, (e, t, n) => {
let s = !1,
r = t;
for (; --r >= 0 && "\\" === n[r]; ) s = !s;
return s ? "|" : " |";
})
.split(/ \|/);
let s = 0;
if ((n[0].trim() || n.shift(), n.length > 0 && !n[n.length - 1].trim() && n.pop(), t))
if (n.length > t) n.splice(t);
else for (; n.length < t; ) n.push("");
for (; s < n.length; s++) n[s] = n[s].trim().replace(/\\\|/g, "|");
return n;
}
function x(e, t, n) {
const s = e.length;
if (0 === s) return "";
let r = 0;
for (; r < s; ) {
const i = e.charAt(s - r - 1);
if (i !== t || n) {
if (i === t || !n) break;
r++;
} else r++;
}
return e.slice(0, s - r);
}
function b(e, t, n, s) {
const r = t.href,
i = t.title ? c(t.title) : null,
l = e[1].replace(/\\([\[\]])/g, "$1");
if ("!" !== e[0].charAt(0)) {
s.state.inLink = !0;
const e = { type: "link", raw: n, href: r, title: i, text: l, tokens: s.inlineTokens(l) };
return (s.state.inLink = !1), e;
}
return { type: "image", raw: n, href: r, title: i, text: c(l) };
}
class w {
options;
rules;
lexer;
constructor(t) {
this.options = t || e.defaults;
}
space(e) {
const t = this.rules.block.newline.exec(e);
if (t && t[0].length > 0) return { type: "space", raw: t[0] };
}
code(e) {
const t = this.rules.block.code.exec(e);
if (t) {
const e = t[0].replace(/^ {1,4}/gm, "");
return { type: "code", raw: t[0], codeBlockStyle: "indented", text: this.options.pedantic ? e : x(e, "\n") };
}
}
fences(e) {
const t = this.rules.block.fences.exec(e);
if (t) {
const e = t[0],
n = (function (e, t) {
const n = e.match(/^(\s+)(?:```)/);
if (null === n) return t;
const s = n[1];
return t
.split("\n")
.map((e) => {
const t = e.match(/^\s+/);
if (null === t) return e;
const [n] = t;
return n.length >= s.length ? e.slice(s.length) : e;
})
.join("\n");
})(e, t[3] || "");
return { type: "code", raw: e, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: n };
}
}
heading(e) {
const t = this.rules.block.heading.exec(e);
if (t) {
let e = t[2].trim();
if (/#$/.test(e)) {
const t = x(e, "#");
this.options.pedantic ? (e = t.trim()) : (t && !/ $/.test(t)) || (e = t.trim());
}
return { type: "heading", raw: t[0], depth: t[1].length, text: e, tokens: this.lexer.inline(e) };
}
}
hr(e) {
const t = this.rules.block.hr.exec(e);
if (t) return { type: "hr", raw: t[0] };
}
blockquote(e) {
const t = this.rules.block.blockquote.exec(e);
if (t) {
let e = t[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g, "\n $1");
e = x(e.replace(/^ *>[ \t]?/gm, ""), "\n");
const n = this.lexer.state.top;
this.lexer.state.top = !0;
const s = this.lexer.blockTokens(e);
return (this.lexer.state.top = n), { type: "blockquote", raw: t[0], tokens: s, text: e };
}
}
list(e) {
let t = this.rules.block.list.exec(e);
if (t) {
let n = t[1].trim();
const s = n.length > 1,
r = { type: "list", raw: "", ordered: s, start: s ? +n.slice(0, -1) : "", loose: !1, items: [] };
(n = s ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`), this.options.pedantic && (n = s ? n : "[*+-]");
const i = new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);
let l = "",
o = "",
a = !1;
for (; e; ) {
let n = !1;
if (!(t = i.exec(e))) break;
if (this.rules.block.hr.test(e)) break;
(l = t[0]), (e = e.substring(l.length));
let s = t[2].split("\n", 1)[0].replace(/^\t+/, (e) => " ".repeat(3 * e.length)),
c = e.split("\n", 1)[0],
h = 0;
this.options.pedantic ? ((h = 2), (o = s.trimStart())) : ((h = t[2].search(/[^ ]/)), (h = h > 4 ? 1 : h), (o = s.slice(h)), (h += t[1].length));
let p = !1;
if ((!s && /^ *$/.test(c) && ((l += c + "\n"), (e = e.substring(c.length + 1)), (n = !0)), !n)) {
const t = new RegExp(`^ {0,${Math.min(3, h - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),
n = new RegExp(`^ {0,${Math.min(3, h - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),
r = new RegExp(`^ {0,${Math.min(3, h - 1)}}(?:\`\`\`|~~~)`),
i = new RegExp(`^ {0,${Math.min(3, h - 1)}}#`);
for (; e; ) {
const a = e.split("\n", 1)[0];
if (((c = a), this.options.pedantic && (c = c.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), r.test(c))) break;
if (i.test(c)) break;
if (t.test(c)) break;
if (n.test(e)) break;
if (c.search(/[^ ]/) >= h || !c.trim()) o += "\n" + c.slice(h);
else {
if (p) break;
if (s.search(/[^ ]/) >= 4) break;
if (r.test(s)) break;
if (i.test(s)) break;
if (n.test(s)) break;
o += "\n" + c;
}
p || c.trim() || (p = !0), (l += a + "\n"), (e = e.substring(a.length + 1)), (s = c.slice(h));
}
}
r.loose || (a ? (r.loose = !0) : /\n *\n *$/.test(l) && (a = !0));
let u,
k = null;
this.options.gfm && ((k = /^\[[ xX]\] /.exec(o)), k && ((u = "[ ] " !== k[0]), (o = o.replace(/^\[[ xX]\] +/, "")))),
r.items.push({ type: "list_item", raw: l, task: !!k, checked: u, loose: !1, text: o, tokens: [] }),
(r.raw += l);
}
(r.items[r.items.length - 1].raw = l.trimEnd()), (r.items[r.items.length - 1].text = o.trimEnd()), (r.raw = r.raw.trimEnd());
for (let e = 0; e < r.items.length; e++)
if (((this.lexer.state.top = !1), (r.items[e].tokens = this.lexer.blockTokens(r.items[e].text, [])), !r.loose)) {
const t = r.items[e].tokens.filter((e) => "space" === e.type),
n = t.length > 0 && t.some((e) => /\n.*\n/.test(e.raw));
r.loose = n;
}
if (r.loose) for (let e = 0; e < r.items.length; e++) r.items[e].loose = !0;
return r;
}
}
html(e) {
const t = this.rules.block.html.exec(e);
if (t) {
return { type: "html", block: !0, raw: t[0], pre: "pre" === t[1] || "script" === t[1] || "style" === t[1], text: t[0] };
}
}
def(e) {
const t = this.rules.block.def.exec(e);
if (t) {
const e = t[1].toLowerCase().replace(/\s+/g, " "),
n = t[2] ? t[2].replace(/^<(.*)>$/, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "",
s = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
return { type: "def", tag: e, raw: t[0], href: n, title: s };
}
}
table(e) {
const t = this.rules.block.table.exec(e);
if (!t) return;
if (!/[:|]/.test(t[2])) return;
const n = d(t[1]),
s = t[2].replace(/^\||\| *$/g, "").split("|"),
r = t[3] && t[3].trim() ? t[3].replace(/\n[ \t]*$/, "").split("\n") : [],
i = { type: "table", raw: t[0], header: [], align: [], rows: [] };
if (n.length === s.length) {
for (const e of s) /^ *-+: *$/.test(e) ? i.align.push("right") : /^ *:-+: *$/.test(e) ? i.align.push("center") : /^ *:-+ *$/.test(e) ? i.align.push("left") : i.align.push(null);
for (const e of n) i.header.push({ text: e, tokens: this.lexer.inline(e) });
for (const e of r) i.rows.push(d(e, i.header.length).map((e) => ({ text: e, tokens: this.lexer.inline(e) })));
return i;
}
}
lheading(e) {
const t = this.rules.block.lheading.exec(e);
if (t) return { type: "heading", raw: t[0], depth: "=" === t[2].charAt(0) ? 1 : 2, text: t[1], tokens: this.lexer.inline(t[1]) };
}
paragraph(e) {
const t = this.rules.block.paragraph.exec(e);
if (t) {
const e = "\n" === t[1].charAt(t[1].length - 1) ? t[1].slice(0, -1) : t[1];
return { type: "paragraph", raw: t[0], text: e, tokens: this.lexer.inline(e) };
}
}
text(e) {
const t = this.rules.block.text.exec(e);
if (t) return { type: "text", raw: t[0], text: t[0], tokens: this.lexer.inline(t[0]) };
}
escape(e) {
const t = this.rules.inline.escape.exec(e);
if (t) return { type: "escape", raw: t[0], text: c(t[1]) };
}
tag(e) {
const t = this.rules.inline.tag.exec(e);
if (t)
return (
!this.lexer.state.inLink && /^/i.test(t[0]) && (this.lexer.state.inLink = !1),
!this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(t[0])
? (this.lexer.state.inRawBlock = !0)
: this.lexer.state.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0]) && (this.lexer.state.inRawBlock = !1),
{ type: "html", raw: t[0], inLink: this.lexer.state.inLink, inRawBlock: this.lexer.state.inRawBlock, block: !1, text: t[0] }
);
}
link(e) {
const t = this.rules.inline.link.exec(e);
if (t) {
const e = t[2].trim();
if (!this.options.pedantic && /^$/.test(e)) return;
const t = x(e.slice(0, -1), "\\");
if ((e.length - t.length) % 2 == 0) return;
} else {
const e = (function (e, t) {
if (-1 === e.indexOf(t[1])) return -1;
let n = 0;
for (let s = 0; s < e.length; s++)
if ("\\" === e[s]) s++;
else if (e[s] === t[0]) n++;
else if (e[s] === t[1] && (n--, n < 0)) return s;
return -1;
})(t[2], "()");
if (e > -1) {
const n = (0 === t[0].indexOf("!") ? 5 : 4) + t[1].length + e;
(t[2] = t[2].substring(0, e)), (t[0] = t[0].substring(0, n).trim()), (t[3] = "");
}
}
let n = t[2],
s = "";
if (this.options.pedantic) {
const e = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);
e && ((n = e[1]), (s = e[3]));
} else s = t[3] ? t[3].slice(1, -1) : "";
return (
(n = n.trim()),
/^$/.test(e) ? n.slice(1) : n.slice(1, -1)),
b(t, { href: n ? n.replace(this.rules.inline.anyPunctuation, "$1") : n, title: s ? s.replace(this.rules.inline.anyPunctuation, "$1") : s }, t[0], this.lexer)
);
}
}
reflink(e, t) {
let n;
if ((n = this.rules.inline.reflink.exec(e)) || (n = this.rules.inline.nolink.exec(e))) {
const e = t[(n[2] || n[1]).replace(/\s+/g, " ").toLowerCase()];
if (!e) {
const e = n[0].charAt(0);
return { type: "text", raw: e, text: e };
}
return b(n, e, n[0], this.lexer);
}
}
emStrong(e, t, n = "") {
let s = this.rules.inline.emStrongLDelim.exec(e);
if (!s) return;
if (s[3] && n.match(/[\p{L}\p{N}]/u)) return;
if (!(s[1] || s[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
const n = [...s[0]].length - 1;
let r,
i,
l = n,
o = 0;
const a = "*" === s[0][0] ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
for (a.lastIndex = 0, t = t.slice(-1 * e.length + n); null != (s = a.exec(t)); ) {
if (((r = s[1] || s[2] || s[3] || s[4] || s[5] || s[6]), !r)) continue;
if (((i = [...r].length), s[3] || s[4])) {
l += i;
continue;
}
if ((s[5] || s[6]) && n % 3 && !((n + i) % 3)) {
o += i;
continue;
}
if (((l -= i), l > 0)) continue;
i = Math.min(i, i + l + o);
const t = [...s[0]][0].length,
a = e.slice(0, n + s.index + t + i);
if (Math.min(n, i) % 2) {
const e = a.slice(1, -1);
return { type: "em", raw: a, text: e, tokens: this.lexer.inlineTokens(e) };
}
const c = a.slice(2, -2);
return { type: "strong", raw: a, text: c, tokens: this.lexer.inlineTokens(c) };
}
}
}
codespan(e) {
const t = this.rules.inline.code.exec(e);
if (t) {
let e = t[2].replace(/\n/g, " ");
const n = /[^ ]/.test(e),
s = /^ /.test(e) && / $/.test(e);
return n && s && (e = e.substring(1, e.length - 1)), (e = c(e, !0)), { type: "codespan", raw: t[0], text: e };
}
}
br(e) {
const t = this.rules.inline.br.exec(e);
if (t) return { type: "br", raw: t[0] };
}
del(e) {
const t = this.rules.inline.del.exec(e);
if (t) return { type: "del", raw: t[0], text: t[2], tokens: this.lexer.inlineTokens(t[2]) };
}
autolink(e) {
const t = this.rules.inline.autolink.exec(e);
if (t) {
let e, n;
return "@" === t[2] ? ((e = c(t[1])), (n = "mailto:" + e)) : ((e = c(t[1])), (n = e)), { type: "link", raw: t[0], text: e, href: n, tokens: [{ type: "text", raw: e, text: e }] };
}
}
url(e) {
let t;
if ((t = this.rules.inline.url.exec(e))) {
let e, n;
if ("@" === t[2]) (e = c(t[0])), (n = "mailto:" + e);
else {
let s;
do {
(s = t[0]), (t[0] = this.rules.inline._backpedal.exec(t[0])?.[0] ?? "");
} while (s !== t[0]);
(e = c(t[0])), (n = "www." === t[1] ? "http://" + t[0] : t[0]);
}
return { type: "link", raw: t[0], text: e, href: n, tokens: [{ type: "text", raw: e, text: e }] };
}
}
inlineText(e) {
const t = this.rules.inline.text.exec(e);
if (t) {
let e;
return (e = this.lexer.state.inRawBlock ? t[0] : c(t[0])), { type: "text", raw: t[0], text: e };
}
}
}
const m = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,
y = /(?:[*+-]|\d{1,9}[.)])/,
$ = k(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/)
.replace(/bull/g, y)
.replace(/blockCode/g, / {4}/)
.replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/)
.replace(/blockquote/g, / {0,3}>/)
.replace(/heading/g, / {0,3}#{1,6}/)
.replace(/html/g, / {0,3}<[^\n>]+>\n/)
.getRegex(),
z = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,
T = /(?!\s*\])(?:\\.|[^\[\]\\])+/,
R = k(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/)
.replace("label", T)
.replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/)
.getRegex(),
_ = k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/)
.replace(/bull/g, y)
.getRegex(),
A =
"address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",
S = /|$))/,
I = k(
"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",
"i"
)
.replace("comment", S)
.replace("tag", A)
.replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/)
.getRegex(),
E = k(z)
.replace("hr", m)
.replace("heading", " {0,3}#{1,6}(?:\\s|$)")
.replace("|lheading", "")
.replace("|table", "")
.replace("blockquote", " {0,3}>")
.replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")
.replace("list", " {0,3}(?:[*+-]|1[.)]) ")
.replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")
.replace("tag", A)
.getRegex(),
q = {
blockquote: k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/)
.replace("paragraph", E)
.getRegex(),
code: /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,
def: R,
fences: /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,
hr: m,
html: I,
lheading: $,
list: _,
newline: /^(?: *(?:\n|$))+/,
paragraph: E,
table: f,
text: /^[^\n]+/,
},
Z = k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)")
.replace("hr", m)
.replace("heading", " {0,3}#{1,6}(?:\\s|$)")
.replace("blockquote", " {0,3}>")
.replace("code", " {4}[^\\n]")
.replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")
.replace("list", " {0,3}(?:[*+-]|1[.)]) ")
.replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")
.replace("tag", A)
.getRegex(),
L = {
...q,
table: Z,
paragraph: k(z)
.replace("hr", m)
.replace("heading", " {0,3}#{1,6}(?:\\s|$)")
.replace("|lheading", "")
.replace("table", Z)
.replace("blockquote", " {0,3}>")
.replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")
.replace("list", " {0,3}(?:[*+-]|1[.)]) ")
.replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")
.replace("tag", A)
.getRegex(),
},
P = {
...q,
html: k("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| ${e}
\n" : "' + (n ? e : c(e, !0)) + "
\n";
}
blockquote(e) {
return `" + (n ? e : c(e, !0)) + "
\n${e}
\n`;
}
html(e, t) {
return e;
}
heading(e, t, n) {
return `
\n";
}
list(e, t, n) {
const s = t ? "ol" : "ul";
return "<" + s + (t && 1 !== n ? ' start="' + n + '"' : "") + ">\n" + e + "" + s + ">\n";
}
listitem(e, t, n) {
return `
${e}
`;
}
br() {
return "An error occurred:
" + c(n.message + "", !0) + ""; return t ? Promise.resolve(e) : e; } if (t) return Promise.reject(n); throw n; }; } } const ae = new oe(); function ce(e, t) { return ae.parse(e, t); } (ce.options = ce.setOptions = function (e) { return ae.setOptions(e), (ce.defaults = ae.defaults), n(ce.defaults), ce; }), (ce.getDefaults = t), (ce.defaults = e.defaults), (ce.use = function (...e) { return ae.use(...e), (ce.defaults = ae.defaults), n(ce.defaults), ce; }), (ce.walkTokens = function (e, t) { return ae.walkTokens(e, t); }), (ce.parseInline = ae.parseInline), (ce.Parser = ie), (ce.parser = ie.parse), (ce.Renderer = se), (ce.TextRenderer = re), (ce.Lexer = ne), (ce.lexer = ne.lex), (ce.Tokenizer = w), (ce.Hooks = le), (ce.parse = ce); const he = ce.options, pe = ce.setOptions, ue = ce.use, ke = ce.walkTokens, ge = ce.parseInline, fe = ce, de = ie.parse, xe = ne.lex; (e.Hooks = le), (e.Lexer = ne), (e.Marked = oe), (e.Parser = ie), (e.Renderer = se), (e.TextRenderer = re), (e.Tokenizer = w), (e.getDefaults = t), (e.lexer = xe), (e.marked = ce), (e.options = he), (e.parse = fe), (e.parseInline = ge), (e.parser = de), (e.setOptions = pe), (e.use = ue), (e.walkTokens = ke); }); // @license-end