@opentiny/tiny-robot 0.3.0-alpha.13 → 0.3.0-alpha.15

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.
@@ -1,13 +1,652 @@
1
- import { defineComponent as c0, useCssVars as L0, unref as P0, useSlots as O0, computed as au, createElementBlock as L, openBlock as S, normalizeClass as i0, createCommentVNode as _u, createElementVNode as Z, createBlock as yu, resolveDynamicComponent as o0, renderSlot as mu, toDisplayString as N0, ref as $0, watch as j0, Fragment as U0, renderList as Ou, mergeProps as Nu, createSlots as Z0, withCtx as H0 } from "vue";
2
- import { t as V0 } from "../utils.js";
3
- import { _ as a0 } from "../_plugin-vue_export-helper.js";
4
- import { u as G0 } from "../index3.js";
5
- const $u = {};
6
- function W0(u) {
7
- let e = $u[u];
1
+ var hn = Object.defineProperty;
2
+ var pn = (u, e, t) => e in u ? hn(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t;
3
+ var be = (u, e, t) => pn(u, typeof e != "symbol" ? e + "" : e, t);
4
+ import { defineComponent as Cu, ref as i0, createElementBlock as H, openBlock as S, createElementVNode as Z, createVNode as At, toDisplayString as Pu, unref as bu, normalizeClass as Mu, withDirectives as bn, vShow as _n, computed as Eu, useCssModule as mn, createCommentVNode as Lu, createBlock as uu, resolveDynamicComponent as mu, createTextVNode as xn, h as $0, inject as j0, useAttrs as gn, normalizeProps as Ce, mergeProps as Ou, useSlots as kn, normalizeStyle as En, renderSlot as ke, Fragment as De, renderList as Ee, watch as An, createSlots as G0, withCtx as W0, guardReactiveProps as Cn, provide as Z0 } from "vue";
5
+ import { _ as Dn } from "../loading.js";
6
+ import { t as yn } from "../utils.js";
7
+ import { g as Fn, _ as V0, a as Tn, V as Sn, F as wn, P as vn } from "../tiny-robot-svgs.js";
8
+ import { _ as re } from "../_plugin-vue_export-helper.js";
9
+ import { u as Rn } from "../index3.js";
10
+ class a0 {
11
+ }
12
+ const In = { class: "tr-bubble__step-text" }, Mn = { class: "tr-bubble__step-text-title" }, Ln = { class: "tr-bubble__step-text-content-wrapper" }, On = /* @__PURE__ */ Cu({
13
+ __name: "collapsible-text",
14
+ props: {
15
+ title: {},
16
+ content: {}
17
+ },
18
+ setup(u) {
19
+ const e = u, t = i0(!1);
20
+ return (n, r) => (S(), H("div", In, [
21
+ Z("div", Mn, [
22
+ Z("span", null, Pu(e.title), 1),
23
+ At(bu(Fn), {
24
+ class: Mu(["expand-icon", { "rotate-180": t.value }]),
25
+ onClick: r[0] || (r[0] = (c) => t.value = !t.value)
26
+ }, null, 8, ["class"])
27
+ ]),
28
+ Z("div", Ln, [
29
+ bn(Z("div", { class: "tr-bubble__step-text-content" }, Pu(e.content), 513), [
30
+ [_n, !t.value]
31
+ ])
32
+ ])
33
+ ]));
34
+ }
35
+ }), Nn = /* @__PURE__ */ re(On, [["__scopeId", "data-v-20805c77"]]), Pn = Nn, Bn = { class: "tr-bubble__text" }, zn = /* @__PURE__ */ Cu({
36
+ __name: "text",
37
+ props: {
38
+ content: {}
39
+ },
40
+ setup(u) {
41
+ const e = u;
42
+ return (t, n) => (S(), H("span", Bn, Pu(e.content), 1));
43
+ }
44
+ }), qn = /* @__PURE__ */ re(zn, [["__scopeId", "data-v-5658bc8d"]]), s0 = qn, Un = { class: "tr-bubble__step-tool" }, Hn = { class: "tr-bubble__step-tool-header" }, $n = { class: "tr-bubble__step-tool-left" }, jn = { class: "tr-bubble__step-tool-title" }, Gn = { class: "tr-bubble__step-tool-name" }, Wn = { class: "tr-bubble__step-tool-expand" }, Zn = {
45
+ key: 0,
46
+ class: "tr-bubble__step-tool-params"
47
+ }, Vn = ["innerHTML"], Yn = /* @__PURE__ */ Cu({
48
+ __name: "tool",
49
+ props: {
50
+ name: {},
51
+ status: {},
52
+ content: {},
53
+ formatPretty: { type: Boolean }
54
+ },
55
+ setup(u) {
56
+ const e = u, t = i0(!1), n = /* @__PURE__ */ new Map([
57
+ ["running", { text: "正在调用", icon: Sn }],
58
+ ["success", { text: "已调用", icon: V0 }],
59
+ ["failed", { text: "调用失败", icon: wn }],
60
+ ["cancelled", { text: "已取消", icon: vn }]
61
+ ]), r = Eu(() => n.get(e.status) || { text: "", icon: V0 }), c = mn(), i = (o) => {
62
+ if (!o)
63
+ return "";
64
+ let a = "";
65
+ const s = e.formatPretty ? 2 : 0;
66
+ try {
67
+ typeof o == "string" ? a = JSON.stringify(JSON.parse(o), null, s) : a = JSON.stringify(o, null, s);
68
+ } catch (f) {
69
+ console.warn(f);
70
+ }
71
+ return a = a.replace(
72
+ /("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g,
73
+ (f) => {
74
+ let d = "number";
75
+ return /^"/.test(f) ? d = /:$/.test(f) ? "key" : "string" : /true|false/.test(f) ? d = "boolean" : /null/.test(f) && (d = "null"), `<span class="${c[d]}">${f}</span>`;
76
+ }
77
+ ), a;
78
+ };
79
+ return (o, a) => (S(), H("div", Un, [
80
+ Z("div", Hn, [
81
+ Z("div", $n, [
82
+ (S(), uu(mu(r.value.icon), {
83
+ class: Mu(["tr-bubble__step-tool-icon", `icon-${e.status}`])
84
+ }, null, 8, ["class"])),
85
+ Z("span", jn, [
86
+ xn(Pu(r.value.text) + " ", 1),
87
+ Z("span", Gn, Pu(e.name), 1)
88
+ ])
89
+ ]),
90
+ Z("div", Wn, [
91
+ At(bu(Tn), {
92
+ class: Mu(["expand-icon", { "-rotate-90": !t.value }]),
93
+ onClick: a[0] || (a[0] = (s) => t.value = !t.value)
94
+ }, null, 8, ["class"])
95
+ ])
96
+ ]),
97
+ t.value ? (S(), H("div", Zn, [
98
+ a[1] || (a[1] = Z("hr", { class: "tr-bubble__step-tool-hr" }, null, -1)),
99
+ Z("div", {
100
+ class: "tr-bubble__step-tool-params-content",
101
+ innerHTML: i(e.content)
102
+ }, null, 8, Vn)
103
+ ])) : Lu("", !0)
104
+ ]));
105
+ }
106
+ }), Xn = "_number_jtifp_2", Jn = "_key_jtifp_6", Qn = "_string_jtifp_10", Kn = "_boolean_jtifp_14", ur = {
107
+ number: Xn,
108
+ key: Jn,
109
+ string: Qn,
110
+ boolean: Kn,
111
+ null: "_null_jtifp_18"
112
+ }, er = {
113
+ $style: ur
114
+ }, tr = /* @__PURE__ */ re(Yn, [["__cssModules", er], ["__scopeId", "data-v-8bb9c32d"]]), nr = tr, Ct = /* @__PURE__ */ new Map([
115
+ ["text", s0],
116
+ ["tool", nr],
117
+ ["collapsible-text", Pn]
118
+ ]), Dt = Symbol("bubbleContentRendererMap"), yt = Symbol("bubbleContentFallbackRenderer");
119
+ /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
120
+ const {
121
+ entries: Ft,
122
+ setPrototypeOf: Y0,
123
+ isFrozen: rr,
124
+ getPrototypeOf: cr,
125
+ getOwnPropertyDescriptor: or
126
+ } = Object;
127
+ let {
128
+ freeze: j,
129
+ seal: J,
130
+ create: Tt
131
+ } = Object, {
132
+ apply: t0,
133
+ construct: n0
134
+ } = typeof Reflect < "u" && Reflect;
135
+ j || (j = function(e) {
136
+ return e;
137
+ });
138
+ J || (J = function(e) {
139
+ return e;
140
+ });
141
+ t0 || (t0 = function(e, t, n) {
142
+ return e.apply(t, n);
143
+ });
144
+ n0 || (n0 = function(e, t) {
145
+ return new e(...t);
146
+ });
147
+ const _e = G(Array.prototype.forEach), ir = G(Array.prototype.lastIndexOf), X0 = G(Array.prototype.pop), Zu = G(Array.prototype.push), ar = G(Array.prototype.splice), Ae = G(String.prototype.toLowerCase), je = G(String.prototype.toString), J0 = G(String.prototype.match), Vu = G(String.prototype.replace), sr = G(String.prototype.indexOf), lr = G(String.prototype.trim), K = G(Object.prototype.hasOwnProperty), $ = G(RegExp.prototype.test), Yu = fr(TypeError);
148
+ function G(u) {
149
+ return function(e) {
150
+ e instanceof RegExp && (e.lastIndex = 0);
151
+ for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
152
+ n[r - 1] = arguments[r];
153
+ return t0(u, e, n);
154
+ };
155
+ }
156
+ function fr(u) {
157
+ return function() {
158
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
159
+ t[n] = arguments[n];
160
+ return n0(u, t);
161
+ };
162
+ }
163
+ function F(u, e) {
164
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ae;
165
+ Y0 && Y0(u, null);
166
+ let n = e.length;
167
+ for (; n--; ) {
168
+ let r = e[n];
169
+ if (typeof r == "string") {
170
+ const c = t(r);
171
+ c !== r && (rr(e) || (e[n] = c), r = c);
172
+ }
173
+ u[r] = !0;
174
+ }
175
+ return u;
176
+ }
177
+ function dr(u) {
178
+ for (let e = 0; e < u.length; e++)
179
+ K(u, e) || (u[e] = null);
180
+ return u;
181
+ }
182
+ function fu(u) {
183
+ const e = Tt(null);
184
+ for (const [t, n] of Ft(u))
185
+ K(u, t) && (Array.isArray(n) ? e[t] = dr(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = fu(n) : e[t] = n);
186
+ return e;
187
+ }
188
+ function Xu(u, e) {
189
+ for (; u !== null; ) {
190
+ const n = or(u, e);
191
+ if (n) {
192
+ if (n.get)
193
+ return G(n.get);
194
+ if (typeof n.value == "function")
195
+ return G(n.value);
196
+ }
197
+ u = cr(u);
198
+ }
199
+ function t() {
200
+ return null;
201
+ }
202
+ return t;
203
+ }
204
+ const Q0 = j(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ge = j(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), We = j(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), hr = j(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ze = j(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), pr = j(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), K0 = j(["#text"]), ut = j(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ve = j(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), et = j(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), me = j(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), br = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), _r = J(/<%[\w\W]*|[\w\W]*%>/gm), mr = J(/\$\{[\w\W]*/gm), xr = J(/^data-[\-\w.\u00B7-\uFFFF]+$/), gr = J(/^aria-[\-\w]+$/), St = J(
205
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
206
+ // eslint-disable-line no-useless-escape
207
+ ), kr = J(/^(?:\w+script|data):/i), Er = J(
208
+ /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
209
+ // eslint-disable-line no-control-regex
210
+ ), wt = J(/^html$/i), Ar = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
211
+ var tt = /* @__PURE__ */ Object.freeze({
212
+ __proto__: null,
213
+ ARIA_ATTR: gr,
214
+ ATTR_WHITESPACE: Er,
215
+ CUSTOM_ELEMENT: Ar,
216
+ DATA_ATTR: xr,
217
+ DOCTYPE_NAME: wt,
218
+ ERB_EXPR: _r,
219
+ IS_ALLOWED_URI: St,
220
+ IS_SCRIPT_OR_DATA: kr,
221
+ MUSTACHE_EXPR: br,
222
+ TMPLIT_EXPR: mr
223
+ });
224
+ const Ju = {
225
+ element: 1,
226
+ text: 3,
227
+ // Deprecated
228
+ progressingInstruction: 7,
229
+ comment: 8,
230
+ document: 9
231
+ }, Cr = function() {
232
+ return typeof window > "u" ? null : window;
233
+ }, Dr = function(e, t) {
234
+ if (typeof e != "object" || typeof e.createPolicy != "function")
235
+ return null;
236
+ let n = null;
237
+ const r = "data-tt-policy-suffix";
238
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
239
+ const c = "dompurify" + (n ? "#" + n : "");
240
+ try {
241
+ return e.createPolicy(c, {
242
+ createHTML(i) {
243
+ return i;
244
+ },
245
+ createScriptURL(i) {
246
+ return i;
247
+ }
248
+ });
249
+ } catch {
250
+ return console.warn("TrustedTypes policy " + c + " could not be created."), null;
251
+ }
252
+ }, nt = function() {
253
+ return {
254
+ afterSanitizeAttributes: [],
255
+ afterSanitizeElements: [],
256
+ afterSanitizeShadowDOM: [],
257
+ beforeSanitizeAttributes: [],
258
+ beforeSanitizeElements: [],
259
+ beforeSanitizeShadowDOM: [],
260
+ uponSanitizeAttribute: [],
261
+ uponSanitizeElement: [],
262
+ uponSanitizeShadowNode: []
263
+ };
264
+ };
265
+ function vt() {
266
+ let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Cr();
267
+ const e = (g) => vt(g);
268
+ if (e.version = "3.2.6", e.removed = [], !u || !u.document || u.document.nodeType !== Ju.document || !u.Element)
269
+ return e.isSupported = !1, e;
270
+ let {
271
+ document: t
272
+ } = u;
273
+ const n = t, r = n.currentScript, {
274
+ DocumentFragment: c,
275
+ HTMLTemplateElement: i,
276
+ Node: o,
277
+ Element: a,
278
+ NodeFilter: s,
279
+ NamedNodeMap: f = u.NamedNodeMap || u.MozNamedAttrMap,
280
+ HTMLFormElement: d,
281
+ DOMParser: _,
282
+ trustedTypes: p
283
+ } = u, h = a.prototype, C = Xu(h, "cloneNode"), D = Xu(h, "remove"), T = Xu(h, "nextSibling"), E = Xu(h, "childNodes"), k = Xu(h, "parentNode");
284
+ if (typeof i == "function") {
285
+ const g = t.createElement("template");
286
+ g.content && g.content.ownerDocument && (t = g.content.ownerDocument);
287
+ }
288
+ let m, A = "";
289
+ const {
290
+ implementation: y,
291
+ createNodeIterator: I,
292
+ createDocumentFragment: Y,
293
+ getElementsByTagName: tu
294
+ } = t, {
295
+ importNode: gu
296
+ } = n;
297
+ let M = nt();
298
+ e.isSupported = typeof Ft == "function" && typeof k == "function" && y && y.createHTMLDocument !== void 0;
299
+ const {
300
+ MUSTACHE_EXPR: Uu,
301
+ ERB_EXPR: Hu,
302
+ TMPLIT_EXPR: Du,
303
+ DATA_ATTR: du,
304
+ ARIA_ATTR: Ie,
305
+ IS_SCRIPT_OR_DATA: tn,
306
+ ATTR_WHITESPACE: x0,
307
+ CUSTOM_ELEMENT: nn
308
+ } = tt;
309
+ let {
310
+ IS_ALLOWED_URI: g0
311
+ } = tt, O = null;
312
+ const k0 = F({}, [...Q0, ...Ge, ...We, ...Ze, ...K0]);
313
+ let z = null;
314
+ const E0 = F({}, [...ut, ...Ve, ...et, ...me]);
315
+ let R = Object.seal(Tt(null, {
316
+ tagNameCheck: {
317
+ writable: !0,
318
+ configurable: !1,
319
+ enumerable: !0,
320
+ value: null
321
+ },
322
+ attributeNameCheck: {
323
+ writable: !0,
324
+ configurable: !1,
325
+ enumerable: !0,
326
+ value: null
327
+ },
328
+ allowCustomizedBuiltInElements: {
329
+ writable: !0,
330
+ configurable: !1,
331
+ enumerable: !0,
332
+ value: !1
333
+ }
334
+ })), $u = null, Me = null, A0 = !0, Le = !0, C0 = !1, D0 = !0, yu = !1, ae = !0, ku = !1, Oe = !1, Ne = !1, Fu = !1, se = !1, le = !1, y0 = !0, F0 = !1;
335
+ const rn = "user-content-";
336
+ let Pe = !0, ju = !1, Tu = {}, Su = null;
337
+ const T0 = F({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
338
+ let S0 = null;
339
+ const w0 = F({}, ["audio", "video", "img", "source", "image", "track"]);
340
+ let Be = null;
341
+ const v0 = F({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), fe = "http://www.w3.org/1998/Math/MathML", de = "http://www.w3.org/2000/svg", au = "http://www.w3.org/1999/xhtml";
342
+ let wu = au, ze = !1, qe = null;
343
+ const cn = F({}, [fe, de, au], je);
344
+ let he = F({}, ["mi", "mo", "mn", "ms", "mtext"]), pe = F({}, ["annotation-xml"]);
345
+ const on = F({}, ["title", "style", "font", "a", "script"]);
346
+ let Gu = null;
347
+ const an = ["application/xhtml+xml", "text/html"], sn = "text/html";
348
+ let N = null, vu = null;
349
+ const ln = t.createElement("form"), R0 = function(l) {
350
+ return l instanceof RegExp || l instanceof Function;
351
+ }, Ue = function() {
352
+ let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
353
+ if (!(vu && vu === l)) {
354
+ if ((!l || typeof l != "object") && (l = {}), l = fu(l), Gu = // eslint-disable-next-line unicorn/prefer-includes
355
+ an.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? sn : l.PARSER_MEDIA_TYPE, N = Gu === "application/xhtml+xml" ? je : Ae, O = K(l, "ALLOWED_TAGS") ? F({}, l.ALLOWED_TAGS, N) : k0, z = K(l, "ALLOWED_ATTR") ? F({}, l.ALLOWED_ATTR, N) : E0, qe = K(l, "ALLOWED_NAMESPACES") ? F({}, l.ALLOWED_NAMESPACES, je) : cn, Be = K(l, "ADD_URI_SAFE_ATTR") ? F(fu(v0), l.ADD_URI_SAFE_ATTR, N) : v0, S0 = K(l, "ADD_DATA_URI_TAGS") ? F(fu(w0), l.ADD_DATA_URI_TAGS, N) : w0, Su = K(l, "FORBID_CONTENTS") ? F({}, l.FORBID_CONTENTS, N) : T0, $u = K(l, "FORBID_TAGS") ? F({}, l.FORBID_TAGS, N) : fu({}), Me = K(l, "FORBID_ATTR") ? F({}, l.FORBID_ATTR, N) : fu({}), Tu = K(l, "USE_PROFILES") ? l.USE_PROFILES : !1, A0 = l.ALLOW_ARIA_ATTR !== !1, Le = l.ALLOW_DATA_ATTR !== !1, C0 = l.ALLOW_UNKNOWN_PROTOCOLS || !1, D0 = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, yu = l.SAFE_FOR_TEMPLATES || !1, ae = l.SAFE_FOR_XML !== !1, ku = l.WHOLE_DOCUMENT || !1, Fu = l.RETURN_DOM || !1, se = l.RETURN_DOM_FRAGMENT || !1, le = l.RETURN_TRUSTED_TYPE || !1, Ne = l.FORCE_BODY || !1, y0 = l.SANITIZE_DOM !== !1, F0 = l.SANITIZE_NAMED_PROPS || !1, Pe = l.KEEP_CONTENT !== !1, ju = l.IN_PLACE || !1, g0 = l.ALLOWED_URI_REGEXP || St, wu = l.NAMESPACE || au, he = l.MATHML_TEXT_INTEGRATION_POINTS || he, pe = l.HTML_INTEGRATION_POINTS || pe, R = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && R0(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && R0(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (R.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), yu && (Le = !1), se && (Fu = !0), Tu && (O = F({}, K0), z = [], Tu.html === !0 && (F(O, Q0), F(z, ut)), Tu.svg === !0 && (F(O, Ge), F(z, Ve), F(z, me)), Tu.svgFilters === !0 && (F(O, We), F(z, Ve), F(z, me)), Tu.mathMl === !0 && (F(O, Ze), F(z, et), F(z, me))), l.ADD_TAGS && (O === k0 && (O = fu(O)), F(O, l.ADD_TAGS, N)), l.ADD_ATTR && (z === E0 && (z = fu(z)), F(z, l.ADD_ATTR, N)), l.ADD_URI_SAFE_ATTR && F(Be, l.ADD_URI_SAFE_ATTR, N), l.FORBID_CONTENTS && (Su === T0 && (Su = fu(Su)), F(Su, l.FORBID_CONTENTS, N)), Pe && (O["#text"] = !0), ku && F(O, ["html", "head", "body"]), O.table && (F(O, ["tbody"]), delete $u.tbody), l.TRUSTED_TYPES_POLICY) {
356
+ if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
357
+ throw Yu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
358
+ if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
359
+ throw Yu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
360
+ m = l.TRUSTED_TYPES_POLICY, A = m.createHTML("");
361
+ } else
362
+ m === void 0 && (m = Dr(p, r)), m !== null && typeof A == "string" && (A = m.createHTML(""));
363
+ j && j(l), vu = l;
364
+ }
365
+ }, I0 = F({}, [...Ge, ...We, ...hr]), M0 = F({}, [...Ze, ...pr]), fn = function(l) {
366
+ let b = k(l);
367
+ (!b || !b.tagName) && (b = {
368
+ namespaceURI: wu,
369
+ tagName: "template"
370
+ });
371
+ const x = Ae(l.tagName), v = Ae(b.tagName);
372
+ return qe[l.namespaceURI] ? l.namespaceURI === de ? b.namespaceURI === au ? x === "svg" : b.namespaceURI === fe ? x === "svg" && (v === "annotation-xml" || he[v]) : !!I0[x] : l.namespaceURI === fe ? b.namespaceURI === au ? x === "math" : b.namespaceURI === de ? x === "math" && pe[v] : !!M0[x] : l.namespaceURI === au ? b.namespaceURI === de && !pe[v] || b.namespaceURI === fe && !he[v] ? !1 : !M0[x] && (on[x] || !I0[x]) : !!(Gu === "application/xhtml+xml" && qe[l.namespaceURI]) : !1;
373
+ }, nu = function(l) {
374
+ Zu(e.removed, {
375
+ element: l
376
+ });
377
+ try {
378
+ k(l).removeChild(l);
379
+ } catch {
380
+ D(l);
381
+ }
382
+ }, Ru = function(l, b) {
383
+ try {
384
+ Zu(e.removed, {
385
+ attribute: b.getAttributeNode(l),
386
+ from: b
387
+ });
388
+ } catch {
389
+ Zu(e.removed, {
390
+ attribute: null,
391
+ from: b
392
+ });
393
+ }
394
+ if (b.removeAttribute(l), l === "is")
395
+ if (Fu || se)
396
+ try {
397
+ nu(b);
398
+ } catch {
399
+ }
400
+ else
401
+ try {
402
+ b.setAttribute(l, "");
403
+ } catch {
404
+ }
405
+ }, L0 = function(l) {
406
+ let b = null, x = null;
407
+ if (Ne)
408
+ l = "<remove></remove>" + l;
409
+ else {
410
+ const L = J0(l, /^[\r\n\t ]+/);
411
+ x = L && L[0];
412
+ }
413
+ Gu === "application/xhtml+xml" && wu === au && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
414
+ const v = m ? m.createHTML(l) : l;
415
+ if (wu === au)
416
+ try {
417
+ b = new _().parseFromString(v, Gu);
418
+ } catch {
419
+ }
420
+ if (!b || !b.documentElement) {
421
+ b = y.createDocument(wu, "template", null);
422
+ try {
423
+ b.documentElement.innerHTML = ze ? A : v;
424
+ } catch {
425
+ }
426
+ }
427
+ const q = b.body || b.documentElement;
428
+ return l && x && q.insertBefore(t.createTextNode(x), q.childNodes[0] || null), wu === au ? tu.call(b, ku ? "html" : "body")[0] : ku ? b.documentElement : q;
429
+ }, O0 = function(l) {
430
+ return I.call(
431
+ l.ownerDocument || l,
432
+ l,
433
+ // eslint-disable-next-line no-bitwise
434
+ s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
435
+ null
436
+ );
437
+ }, He = function(l) {
438
+ return l instanceof d && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof f) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
439
+ }, N0 = function(l) {
440
+ return typeof o == "function" && l instanceof o;
441
+ };
442
+ function su(g, l, b) {
443
+ _e(g, (x) => {
444
+ x.call(e, l, b, vu);
445
+ });
446
+ }
447
+ const P0 = function(l) {
448
+ let b = null;
449
+ if (su(M.beforeSanitizeElements, l, null), He(l))
450
+ return nu(l), !0;
451
+ const x = N(l.nodeName);
452
+ if (su(M.uponSanitizeElement, l, {
453
+ tagName: x,
454
+ allowedTags: O
455
+ }), ae && l.hasChildNodes() && !N0(l.firstElementChild) && $(/<[/\w!]/g, l.innerHTML) && $(/<[/\w!]/g, l.textContent) || l.nodeType === Ju.progressingInstruction || ae && l.nodeType === Ju.comment && $(/<[/\w]/g, l.data))
456
+ return nu(l), !0;
457
+ if (!O[x] || $u[x]) {
458
+ if (!$u[x] && z0(x) && (R.tagNameCheck instanceof RegExp && $(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
459
+ return !1;
460
+ if (Pe && !Su[x]) {
461
+ const v = k(l) || l.parentNode, q = E(l) || l.childNodes;
462
+ if (q && v) {
463
+ const L = q.length;
464
+ for (let W = L - 1; W >= 0; --W) {
465
+ const lu = C(q[W], !0);
466
+ lu.__removalCount = (l.__removalCount || 0) + 1, v.insertBefore(lu, T(l));
467
+ }
468
+ }
469
+ }
470
+ return nu(l), !0;
471
+ }
472
+ return l instanceof a && !fn(l) || (x === "noscript" || x === "noembed" || x === "noframes") && $(/<\/no(script|embed|frames)/i, l.innerHTML) ? (nu(l), !0) : (yu && l.nodeType === Ju.text && (b = l.textContent, _e([Uu, Hu, Du], (v) => {
473
+ b = Vu(b, v, " ");
474
+ }), l.textContent !== b && (Zu(e.removed, {
475
+ element: l.cloneNode()
476
+ }), l.textContent = b)), su(M.afterSanitizeElements, l, null), !1);
477
+ }, B0 = function(l, b, x) {
478
+ if (y0 && (b === "id" || b === "name") && (x in t || x in ln))
479
+ return !1;
480
+ if (!(Le && !Me[b] && $(du, b))) {
481
+ if (!(A0 && $(Ie, b))) {
482
+ if (!z[b] || Me[b]) {
483
+ if (
484
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
485
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
486
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
487
+ !(z0(l) && (R.tagNameCheck instanceof RegExp && $(R.tagNameCheck, l) || R.tagNameCheck instanceof Function && R.tagNameCheck(l)) && (R.attributeNameCheck instanceof RegExp && $(R.attributeNameCheck, b) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(b)) || // Alternative, second condition checks if it's an `is`-attribute, AND
488
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
489
+ b === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && $(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
490
+ ) return !1;
491
+ } else if (!Be[b]) {
492
+ if (!$(g0, Vu(x, x0, ""))) {
493
+ if (!((b === "src" || b === "xlink:href" || b === "href") && l !== "script" && sr(x, "data:") === 0 && S0[l])) {
494
+ if (!(C0 && !$(tn, Vu(x, x0, "")))) {
495
+ if (x)
496
+ return !1;
497
+ }
498
+ }
499
+ }
500
+ }
501
+ }
502
+ }
503
+ return !0;
504
+ }, z0 = function(l) {
505
+ return l !== "annotation-xml" && J0(l, nn);
506
+ }, q0 = function(l) {
507
+ su(M.beforeSanitizeAttributes, l, null);
508
+ const {
509
+ attributes: b
510
+ } = l;
511
+ if (!b || He(l))
512
+ return;
513
+ const x = {
514
+ attrName: "",
515
+ attrValue: "",
516
+ keepAttr: !0,
517
+ allowedAttributes: z,
518
+ forceKeepAttr: void 0
519
+ };
520
+ let v = b.length;
521
+ for (; v--; ) {
522
+ const q = b[v], {
523
+ name: L,
524
+ namespaceURI: W,
525
+ value: lu
526
+ } = q, Wu = N(L), $e = lu;
527
+ let U = L === "value" ? $e : lr($e);
528
+ if (x.attrName = Wu, x.attrValue = U, x.keepAttr = !0, x.forceKeepAttr = void 0, su(M.uponSanitizeAttribute, l, x), U = x.attrValue, F0 && (Wu === "id" || Wu === "name") && (Ru(L, l), U = rn + U), ae && $(/((--!?|])>)|<\/(style|title)/i, U)) {
529
+ Ru(L, l);
530
+ continue;
531
+ }
532
+ if (x.forceKeepAttr)
533
+ continue;
534
+ if (!x.keepAttr) {
535
+ Ru(L, l);
536
+ continue;
537
+ }
538
+ if (!D0 && $(/\/>/i, U)) {
539
+ Ru(L, l);
540
+ continue;
541
+ }
542
+ yu && _e([Uu, Hu, Du], (H0) => {
543
+ U = Vu(U, H0, " ");
544
+ });
545
+ const U0 = N(l.nodeName);
546
+ if (!B0(U0, Wu, U)) {
547
+ Ru(L, l);
548
+ continue;
549
+ }
550
+ if (m && typeof p == "object" && typeof p.getAttributeType == "function" && !W)
551
+ switch (p.getAttributeType(U0, Wu)) {
552
+ case "TrustedHTML": {
553
+ U = m.createHTML(U);
554
+ break;
555
+ }
556
+ case "TrustedScriptURL": {
557
+ U = m.createScriptURL(U);
558
+ break;
559
+ }
560
+ }
561
+ if (U !== $e)
562
+ try {
563
+ W ? l.setAttributeNS(W, L, U) : l.setAttribute(L, U), He(l) ? nu(l) : X0(e.removed);
564
+ } catch {
565
+ Ru(L, l);
566
+ }
567
+ }
568
+ su(M.afterSanitizeAttributes, l, null);
569
+ }, dn = function g(l) {
570
+ let b = null;
571
+ const x = O0(l);
572
+ for (su(M.beforeSanitizeShadowDOM, l, null); b = x.nextNode(); )
573
+ su(M.uponSanitizeShadowNode, b, null), P0(b), q0(b), b.content instanceof c && g(b.content);
574
+ su(M.afterSanitizeShadowDOM, l, null);
575
+ };
576
+ return e.sanitize = function(g) {
577
+ let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = null, x = null, v = null, q = null;
578
+ if (ze = !g, ze && (g = "<!-->"), typeof g != "string" && !N0(g))
579
+ if (typeof g.toString == "function") {
580
+ if (g = g.toString(), typeof g != "string")
581
+ throw Yu("dirty is not a string, aborting");
582
+ } else
583
+ throw Yu("toString is not a function");
584
+ if (!e.isSupported)
585
+ return g;
586
+ if (Oe || Ue(l), e.removed = [], typeof g == "string" && (ju = !1), ju) {
587
+ if (g.nodeName) {
588
+ const lu = N(g.nodeName);
589
+ if (!O[lu] || $u[lu])
590
+ throw Yu("root node is forbidden and cannot be sanitized in-place");
591
+ }
592
+ } else if (g instanceof o)
593
+ b = L0("<!---->"), x = b.ownerDocument.importNode(g, !0), x.nodeType === Ju.element && x.nodeName === "BODY" || x.nodeName === "HTML" ? b = x : b.appendChild(x);
594
+ else {
595
+ if (!Fu && !yu && !ku && // eslint-disable-next-line unicorn/prefer-includes
596
+ g.indexOf("<") === -1)
597
+ return m && le ? m.createHTML(g) : g;
598
+ if (b = L0(g), !b)
599
+ return Fu ? null : le ? A : "";
600
+ }
601
+ b && Ne && nu(b.firstChild);
602
+ const L = O0(ju ? g : b);
603
+ for (; v = L.nextNode(); )
604
+ P0(v), q0(v), v.content instanceof c && dn(v.content);
605
+ if (ju)
606
+ return g;
607
+ if (Fu) {
608
+ if (se)
609
+ for (q = Y.call(b.ownerDocument); b.firstChild; )
610
+ q.appendChild(b.firstChild);
611
+ else
612
+ q = b;
613
+ return (z.shadowroot || z.shadowrootmode) && (q = gu.call(n, q, !0)), q;
614
+ }
615
+ let W = ku ? b.outerHTML : b.innerHTML;
616
+ return ku && O["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && $(wt, b.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + b.ownerDocument.doctype.name + `>
617
+ ` + W), yu && _e([Uu, Hu, Du], (lu) => {
618
+ W = Vu(W, lu, " ");
619
+ }), m && le ? m.createHTML(W) : W;
620
+ }, e.setConfig = function() {
621
+ let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
622
+ Ue(g), Oe = !0;
623
+ }, e.clearConfig = function() {
624
+ vu = null, Oe = !1;
625
+ }, e.isValidAttribute = function(g, l, b) {
626
+ vu || Ue({});
627
+ const x = N(g), v = N(l);
628
+ return B0(x, v, b);
629
+ }, e.addHook = function(g, l) {
630
+ typeof l == "function" && Zu(M[g], l);
631
+ }, e.removeHook = function(g, l) {
632
+ if (l !== void 0) {
633
+ const b = ir(M[g], l);
634
+ return b === -1 ? void 0 : ar(M[g], b, 1)[0];
635
+ }
636
+ return X0(M[g]);
637
+ }, e.removeHooks = function(g) {
638
+ M[g] = [];
639
+ }, e.removeAllHooks = function() {
640
+ M = nt();
641
+ }, e;
642
+ }
643
+ var yr = vt();
644
+ const rt = {};
645
+ function Fr(u) {
646
+ let e = rt[u];
8
647
  if (e)
9
648
  return e;
10
- e = $u[u] = [];
649
+ e = rt[u] = [];
11
650
  for (let t = 0; t < 128; t++) {
12
651
  const n = String.fromCharCode(t);
13
652
  e.push(n);
@@ -18,37 +657,37 @@ function W0(u) {
18
657
  }
19
658
  return e;
20
659
  }
21
- function G(u, e) {
22
- typeof e != "string" && (e = G.defaultChars);
23
- const t = W0(e);
660
+ function Bu(u, e) {
661
+ typeof e != "string" && (e = Bu.defaultChars);
662
+ const t = Fr(e);
24
663
  return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
25
664
  let r = "";
26
- for (let c = 0, o = n.length; c < o; c += 3) {
27
- const i = parseInt(n.slice(c + 1, c + 3), 16);
28
- if (i < 128) {
29
- r += t[i];
665
+ for (let c = 0, i = n.length; c < i; c += 3) {
666
+ const o = parseInt(n.slice(c + 1, c + 3), 16);
667
+ if (o < 128) {
668
+ r += t[o];
30
669
  continue;
31
670
  }
32
- if ((i & 224) === 192 && c + 3 < o) {
671
+ if ((o & 224) === 192 && c + 3 < i) {
33
672
  const a = parseInt(n.slice(c + 4, c + 6), 16);
34
673
  if ((a & 192) === 128) {
35
- const s = i << 6 & 1984 | a & 63;
674
+ const s = o << 6 & 1984 | a & 63;
36
675
  s < 128 ? r += "��" : r += String.fromCharCode(s), c += 3;
37
676
  continue;
38
677
  }
39
678
  }
40
- if ((i & 240) === 224 && c + 6 < o) {
679
+ if ((o & 240) === 224 && c + 6 < i) {
41
680
  const a = parseInt(n.slice(c + 4, c + 6), 16), s = parseInt(n.slice(c + 7, c + 9), 16);
42
681
  if ((a & 192) === 128 && (s & 192) === 128) {
43
- const f = i << 12 & 61440 | a << 6 & 4032 | s & 63;
682
+ const f = o << 12 & 61440 | a << 6 & 4032 | s & 63;
44
683
  f < 2048 || f >= 55296 && f <= 57343 ? r += "���" : r += String.fromCharCode(f), c += 6;
45
684
  continue;
46
685
  }
47
686
  }
48
- if ((i & 248) === 240 && c + 9 < o) {
687
+ if ((o & 248) === 240 && c + 9 < i) {
49
688
  const a = parseInt(n.slice(c + 4, c + 6), 16), s = parseInt(n.slice(c + 7, c + 9), 16), f = parseInt(n.slice(c + 10, c + 12), 16);
50
689
  if ((a & 192) === 128 && (s & 192) === 128 && (f & 192) === 128) {
51
- let d = i << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | f & 63;
690
+ let d = o << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | f & 63;
52
691
  d < 65536 || d > 1114111 ? r += "����" : (d -= 65536, r += String.fromCharCode(55296 + (d >> 10), 56320 + (d & 1023))), c += 9;
53
692
  continue;
54
693
  }
@@ -58,14 +697,14 @@ function G(u, e) {
58
697
  return r;
59
698
  });
60
699
  }
61
- G.defaultChars = ";/?:@&=+$,#";
62
- G.componentChars = "";
63
- const ju = {};
64
- function J0(u) {
65
- let e = ju[u];
700
+ Bu.defaultChars = ";/?:@&=+$,#";
701
+ Bu.componentChars = "";
702
+ const ct = {};
703
+ function Tr(u) {
704
+ let e = ct[u];
66
705
  if (e)
67
706
  return e;
68
- e = ju[u] = [];
707
+ e = ct[u] = [];
69
708
  for (let t = 0; t < 128; t++) {
70
709
  const n = String.fromCharCode(t);
71
710
  /^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
@@ -74,22 +713,22 @@ function J0(u) {
74
713
  e[u.charCodeAt(t)] = u[t];
75
714
  return e;
76
715
  }
77
- function ru(u, e, t) {
78
- typeof e != "string" && (t = e, e = ru.defaultChars), typeof t > "u" && (t = !0);
79
- const n = J0(e);
716
+ function ce(u, e, t) {
717
+ typeof e != "string" && (t = e, e = ce.defaultChars), typeof t > "u" && (t = !0);
718
+ const n = Tr(e);
80
719
  let r = "";
81
- for (let c = 0, o = u.length; c < o; c++) {
82
- const i = u.charCodeAt(c);
83
- if (t && i === 37 && c + 2 < o && /^[0-9a-f]{2}$/i.test(u.slice(c + 1, c + 3))) {
720
+ for (let c = 0, i = u.length; c < i; c++) {
721
+ const o = u.charCodeAt(c);
722
+ if (t && o === 37 && c + 2 < i && /^[0-9a-f]{2}$/i.test(u.slice(c + 1, c + 3))) {
84
723
  r += u.slice(c, c + 3), c += 2;
85
724
  continue;
86
725
  }
87
- if (i < 128) {
88
- r += n[i];
726
+ if (o < 128) {
727
+ r += n[o];
89
728
  continue;
90
729
  }
91
- if (i >= 55296 && i <= 57343) {
92
- if (i >= 55296 && i <= 56319 && c + 1 < o) {
730
+ if (o >= 55296 && o <= 57343) {
731
+ if (o >= 55296 && o <= 56319 && c + 1 < i) {
93
732
  const a = u.charCodeAt(c + 1);
94
733
  if (a >= 56320 && a <= 57343) {
95
734
  r += encodeURIComponent(u[c] + u[c + 1]), c++;
@@ -103,20 +742,20 @@ function ru(u, e, t) {
103
742
  }
104
743
  return r;
105
744
  }
106
- ru.defaultChars = ";/?:@&=+$,-_.!~*'()#";
107
- ru.componentChars = "-_.!~*'()";
108
- function Bu(u) {
745
+ ce.defaultChars = ";/?:@&=+$,-_.!~*'()#";
746
+ ce.componentChars = "-_.!~*'()";
747
+ function l0(u) {
109
748
  let e = "";
110
749
  return e += u.protocol || "", e += u.slashes ? "//" : "", e += u.auth ? u.auth + "@" : "", u.hostname && u.hostname.indexOf(":") !== -1 ? e += "[" + u.hostname + "]" : e += u.hostname || "", e += u.port ? ":" + u.port : "", e += u.pathname || "", e += u.search || "", e += u.hash || "", e;
111
750
  }
112
- function su() {
751
+ function ye() {
113
752
  this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
114
753
  }
115
- const Q0 = /^([a-z0-9.+-]+:)/i, X0 = /:[0-9]*$/, Y0 = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, K0 = ["<", ">", '"', "`", " ", "\r", `
116
- `, " "], ue = ["{", "}", "|", "\\", "^", "`"].concat(K0), ee = ["'"].concat(ue), Uu = ["%", "/", "?", ";", "#"].concat(ee), Zu = ["/", "?", "#"], te = 255, Hu = /^[+a-z0-9A-Z_-]{0,63}$/, re = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Vu = {
754
+ const Sr = /^([a-z0-9.+-]+:)/i, wr = /:[0-9]*$/, vr = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Rr = ["<", ">", '"', "`", " ", "\r", `
755
+ `, " "], Ir = ["{", "}", "|", "\\", "^", "`"].concat(Rr), Mr = ["'"].concat(Ir), ot = ["%", "/", "?", ";", "#"].concat(Mr), it = ["/", "?", "#"], Lr = 255, at = /^[+a-z0-9A-Z_-]{0,63}$/, Or = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, st = {
117
756
  javascript: !0,
118
757
  "javascript:": !0
119
- }, Gu = {
758
+ }, lt = {
120
759
  http: !0,
121
760
  https: !0,
122
761
  ftp: !0,
@@ -128,81 +767,81 @@ const Q0 = /^([a-z0-9.+-]+:)/i, X0 = /:[0-9]*$/, Y0 = /^(\/\/?(?!\/)[^\?\s]*)(\?
128
767
  "gopher:": !0,
129
768
  "file:": !0
130
769
  };
131
- function Tu(u, e) {
132
- if (u && u instanceof su) return u;
133
- const t = new su();
770
+ function f0(u, e) {
771
+ if (u && u instanceof ye) return u;
772
+ const t = new ye();
134
773
  return t.parse(u, e), t;
135
774
  }
136
- su.prototype.parse = function(u, e) {
775
+ ye.prototype.parse = function(u, e) {
137
776
  let t, n, r, c = u;
138
777
  if (c = c.trim(), !e && u.split("#").length === 1) {
139
- const s = Y0.exec(c);
778
+ const s = vr.exec(c);
140
779
  if (s)
141
780
  return this.pathname = s[1], s[2] && (this.search = s[2]), this;
142
781
  }
143
- let o = Q0.exec(c);
144
- if (o && (o = o[0], t = o.toLowerCase(), this.protocol = o, c = c.substr(o.length)), (e || o || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(o && Vu[o]) && (c = c.substr(2), this.slashes = !0)), !Vu[o] && (r || o && !Gu[o])) {
782
+ let i = Sr.exec(c);
783
+ if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, c = c.substr(i.length)), (e || i || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(i && st[i]) && (c = c.substr(2), this.slashes = !0)), !st[i] && (r || i && !lt[i])) {
145
784
  let s = -1;
146
- for (let l = 0; l < Zu.length; l++)
147
- n = c.indexOf(Zu[l]), n !== -1 && (s === -1 || n < s) && (s = n);
785
+ for (let h = 0; h < it.length; h++)
786
+ n = c.indexOf(it[h]), n !== -1 && (s === -1 || n < s) && (s = n);
148
787
  let f, d;
149
788
  s === -1 ? d = c.lastIndexOf("@") : d = c.lastIndexOf("@", s), d !== -1 && (f = c.slice(0, d), c = c.slice(d + 1), this.auth = f), s = -1;
150
- for (let l = 0; l < Uu.length; l++)
151
- n = c.indexOf(Uu[l]), n !== -1 && (s === -1 || n < s) && (s = n);
789
+ for (let h = 0; h < ot.length; h++)
790
+ n = c.indexOf(ot[h]), n !== -1 && (s === -1 || n < s) && (s = n);
152
791
  s === -1 && (s = c.length), c[s - 1] === ":" && s--;
153
- const h = c.slice(0, s);
154
- c = c.slice(s), this.parseHost(h), this.hostname = this.hostname || "";
155
- const b = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
156
- if (!b) {
157
- const l = this.hostname.split(/\./);
158
- for (let k = 0, g = l.length; k < g; k++) {
159
- const C = l[k];
160
- if (C && !C.match(Hu)) {
161
- let p = "";
162
- for (let _ = 0, x = C.length; _ < x; _++)
163
- C.charCodeAt(_) > 127 ? p += "x" : p += C[_];
164
- if (!p.match(Hu)) {
165
- const _ = l.slice(0, k), x = l.slice(k + 1), m = C.match(re);
166
- m && (_.push(m[1]), x.unshift(m[2])), x.length && (c = x.join(".") + c), this.hostname = _.join(".");
792
+ const _ = c.slice(0, s);
793
+ c = c.slice(s), this.parseHost(_), this.hostname = this.hostname || "";
794
+ const p = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
795
+ if (!p) {
796
+ const h = this.hostname.split(/\./);
797
+ for (let C = 0, D = h.length; C < D; C++) {
798
+ const T = h[C];
799
+ if (T && !T.match(at)) {
800
+ let E = "";
801
+ for (let k = 0, m = T.length; k < m; k++)
802
+ T.charCodeAt(k) > 127 ? E += "x" : E += T[k];
803
+ if (!E.match(at)) {
804
+ const k = h.slice(0, C), m = h.slice(C + 1), A = T.match(Or);
805
+ A && (k.push(A[1]), m.unshift(A[2])), m.length && (c = m.join(".") + c), this.hostname = k.join(".");
167
806
  break;
168
807
  }
169
808
  }
170
809
  }
171
810
  }
172
- this.hostname.length > te && (this.hostname = ""), b && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
811
+ this.hostname.length > Lr && (this.hostname = ""), p && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
173
812
  }
174
- const i = c.indexOf("#");
175
- i !== -1 && (this.hash = c.substr(i), c = c.slice(0, i));
813
+ const o = c.indexOf("#");
814
+ o !== -1 && (this.hash = c.substr(o), c = c.slice(0, o));
176
815
  const a = c.indexOf("?");
177
- return a !== -1 && (this.search = c.substr(a), c = c.slice(0, a)), c && (this.pathname = c), Gu[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
816
+ return a !== -1 && (this.search = c.substr(a), c = c.slice(0, a)), c && (this.pathname = c), lt[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
178
817
  };
179
- su.prototype.parseHost = function(u) {
180
- let e = X0.exec(u);
818
+ ye.prototype.parseHost = function(u) {
819
+ let e = wr.exec(u);
181
820
  e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
182
821
  };
183
- const ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
822
+ const Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
184
823
  __proto__: null,
185
- decode: G,
186
- encode: ru,
187
- format: Bu,
188
- parse: Tu
189
- }, Symbol.toStringTag, { value: "Module" })), s0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, f0 = /[\0-\x1F\x7F-\x9F]/, ce = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, zu = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, l0 = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, d0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
824
+ decode: Bu,
825
+ encode: ce,
826
+ format: l0,
827
+ parse: f0
828
+ }, Symbol.toStringTag, { value: "Module" })), Rt = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, It = /[\0-\x1F\x7F-\x9F]/, Pr = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, d0 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, Mt = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Lt = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
190
829
  __proto__: null,
191
- Any: s0,
192
- Cc: f0,
193
- Cf: ce,
194
- P: zu,
195
- S: l0,
196
- Z: d0
197
- }, Symbol.toStringTag, { value: "Module" })), oe = new Uint16Array(
830
+ Any: Rt,
831
+ Cc: It,
832
+ Cf: Pr,
833
+ P: d0,
834
+ S: Mt,
835
+ Z: Lt
836
+ }, Symbol.toStringTag, { value: "Module" })), zr = new Uint16Array(
198
837
  // prettier-ignore
199
838
  'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((u) => u.charCodeAt(0))
200
- ), ae = new Uint16Array(
839
+ ), qr = new Uint16Array(
201
840
  // prettier-ignore
202
841
  "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
203
842
  );
204
- var ku;
205
- const se = /* @__PURE__ */ new Map([
843
+ var Ye;
844
+ const Ur = /* @__PURE__ */ new Map([
206
845
  [0, 65533],
207
846
  // C1 Unicode control character reference replacements
208
847
  [128, 8364],
@@ -232,53 +871,53 @@ const se = /* @__PURE__ */ new Map([
232
871
  [156, 339],
233
872
  [158, 382],
234
873
  [159, 376]
235
- ]), fe = (
874
+ ]), Hr = (
236
875
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
237
- (ku = String.fromCodePoint) !== null && ku !== void 0 ? ku : function(u) {
876
+ (Ye = String.fromCodePoint) !== null && Ye !== void 0 ? Ye : function(u) {
238
877
  let e = "";
239
878
  return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
240
879
  }
241
880
  );
242
- function le(u) {
881
+ function $r(u) {
243
882
  var e;
244
- return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = se.get(u)) !== null && e !== void 0 ? e : u;
883
+ return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = Ur.get(u)) !== null && e !== void 0 ? e : u;
245
884
  }
246
- var A;
885
+ var B;
247
886
  (function(u) {
248
887
  u[u.NUM = 35] = "NUM", u[u.SEMI = 59] = "SEMI", u[u.EQUALS = 61] = "EQUALS", u[u.ZERO = 48] = "ZERO", u[u.NINE = 57] = "NINE", u[u.LOWER_A = 97] = "LOWER_A", u[u.LOWER_F = 102] = "LOWER_F", u[u.LOWER_X = 120] = "LOWER_X", u[u.LOWER_Z = 122] = "LOWER_Z", u[u.UPPER_A = 65] = "UPPER_A", u[u.UPPER_F = 70] = "UPPER_F", u[u.UPPER_Z = 90] = "UPPER_Z";
249
- })(A || (A = {}));
250
- const de = 32;
251
- var $;
888
+ })(B || (B = {}));
889
+ const jr = 32;
890
+ var _u;
252
891
  (function(u) {
253
892
  u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
254
- })($ || ($ = {}));
255
- function wu(u) {
256
- return u >= A.ZERO && u <= A.NINE;
893
+ })(_u || (_u = {}));
894
+ function r0(u) {
895
+ return u >= B.ZERO && u <= B.NINE;
257
896
  }
258
- function be(u) {
259
- return u >= A.UPPER_A && u <= A.UPPER_F || u >= A.LOWER_A && u <= A.LOWER_F;
897
+ function Gr(u) {
898
+ return u >= B.UPPER_A && u <= B.UPPER_F || u >= B.LOWER_A && u <= B.LOWER_F;
260
899
  }
261
- function he(u) {
262
- return u >= A.UPPER_A && u <= A.UPPER_Z || u >= A.LOWER_A && u <= A.LOWER_Z || wu(u);
900
+ function Wr(u) {
901
+ return u >= B.UPPER_A && u <= B.UPPER_Z || u >= B.LOWER_A && u <= B.LOWER_Z || r0(u);
263
902
  }
264
- function pe(u) {
265
- return u === A.EQUALS || he(u);
903
+ function Zr(u) {
904
+ return u === B.EQUALS || Wr(u);
266
905
  }
267
- var F;
906
+ var P;
268
907
  (function(u) {
269
908
  u[u.EntityStart = 0] = "EntityStart", u[u.NumericStart = 1] = "NumericStart", u[u.NumericDecimal = 2] = "NumericDecimal", u[u.NumericHex = 3] = "NumericHex", u[u.NamedEntity = 4] = "NamedEntity";
270
- })(F || (F = {}));
271
- var N;
909
+ })(P || (P = {}));
910
+ var pu;
272
911
  (function(u) {
273
912
  u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
274
- })(N || (N = {}));
275
- class xe {
913
+ })(pu || (pu = {}));
914
+ class Vr {
276
915
  constructor(e, t, n) {
277
- this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = F.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = N.Strict;
916
+ this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = P.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = pu.Strict;
278
917
  }
279
918
  /** Resets the instance to make it reusable. */
280
919
  startEntity(e) {
281
- this.decodeMode = e, this.state = F.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
920
+ this.decodeMode = e, this.state = P.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
282
921
  }
283
922
  /**
284
923
  * Write an entity to the decoder. This can be called multiple times with partial entities.
@@ -293,15 +932,15 @@ class xe {
293
932
  */
294
933
  write(e, t) {
295
934
  switch (this.state) {
296
- case F.EntityStart:
297
- return e.charCodeAt(t) === A.NUM ? (this.state = F.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = F.NamedEntity, this.stateNamedEntity(e, t));
298
- case F.NumericStart:
935
+ case P.EntityStart:
936
+ return e.charCodeAt(t) === B.NUM ? (this.state = P.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = P.NamedEntity, this.stateNamedEntity(e, t));
937
+ case P.NumericStart:
299
938
  return this.stateNumericStart(e, t);
300
- case F.NumericDecimal:
939
+ case P.NumericDecimal:
301
940
  return this.stateNumericDecimal(e, t);
302
- case F.NumericHex:
941
+ case P.NumericHex:
303
942
  return this.stateNumericHex(e, t);
304
- case F.NamedEntity:
943
+ case P.NamedEntity:
305
944
  return this.stateNamedEntity(e, t);
306
945
  }
307
946
  }
@@ -315,7 +954,7 @@ class xe {
315
954
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
316
955
  */
317
956
  stateNumericStart(e, t) {
318
- return t >= e.length ? -1 : (e.charCodeAt(t) | de) === A.LOWER_X ? (this.state = F.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = F.NumericDecimal, this.stateNumericDecimal(e, t));
957
+ return t >= e.length ? -1 : (e.charCodeAt(t) | jr) === B.LOWER_X ? (this.state = P.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = P.NumericDecimal, this.stateNumericDecimal(e, t));
319
958
  }
320
959
  addToNumericResult(e, t, n, r) {
321
960
  if (t !== n) {
@@ -336,7 +975,7 @@ class xe {
336
975
  const n = t;
337
976
  for (; t < e.length; ) {
338
977
  const r = e.charCodeAt(t);
339
- if (wu(r) || be(r))
978
+ if (r0(r) || Gr(r))
340
979
  t += 1;
341
980
  else
342
981
  return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
@@ -356,7 +995,7 @@ class xe {
356
995
  const n = t;
357
996
  for (; t < e.length; ) {
358
997
  const r = e.charCodeAt(t);
359
- if (wu(r))
998
+ if (r0(r))
360
999
  t += 1;
361
1000
  else
362
1001
  return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
@@ -380,11 +1019,11 @@ class xe {
380
1019
  var n;
381
1020
  if (this.consumed <= t)
382
1021
  return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
383
- if (e === A.SEMI)
1022
+ if (e === B.SEMI)
384
1023
  this.consumed += 1;
385
- else if (this.decodeMode === N.Strict)
1024
+ else if (this.decodeMode === pu.Strict)
386
1025
  return 0;
387
- return this.emitCodePoint(le(this.result), this.consumed), this.errors && (e !== A.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
1026
+ return this.emitCodePoint($r(this.result), this.consumed), this.errors && (e !== B.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
388
1027
  }
389
1028
  /**
390
1029
  * Parses a named entity.
@@ -397,18 +1036,18 @@ class xe {
397
1036
  */
398
1037
  stateNamedEntity(e, t) {
399
1038
  const { decodeTree: n } = this;
400
- let r = n[this.treeIndex], c = (r & $.VALUE_LENGTH) >> 14;
1039
+ let r = n[this.treeIndex], c = (r & _u.VALUE_LENGTH) >> 14;
401
1040
  for (; t < e.length; t++, this.excess++) {
402
- const o = e.charCodeAt(t);
403
- if (this.treeIndex = _e(n, r, this.treeIndex + Math.max(1, c), o), this.treeIndex < 0)
1041
+ const i = e.charCodeAt(t);
1042
+ if (this.treeIndex = Yr(n, r, this.treeIndex + Math.max(1, c), i), this.treeIndex < 0)
404
1043
  return this.result === 0 || // If we are parsing an attribute
405
- this.decodeMode === N.Attribute && // We shouldn't have consumed any characters after the entity,
1044
+ this.decodeMode === pu.Attribute && // We shouldn't have consumed any characters after the entity,
406
1045
  (c === 0 || // And there should be no invalid characters.
407
- pe(o)) ? 0 : this.emitNotTerminatedNamedEntity();
408
- if (r = n[this.treeIndex], c = (r & $.VALUE_LENGTH) >> 14, c !== 0) {
409
- if (o === A.SEMI)
1046
+ Zr(i)) ? 0 : this.emitNotTerminatedNamedEntity();
1047
+ if (r = n[this.treeIndex], c = (r & _u.VALUE_LENGTH) >> 14, c !== 0) {
1048
+ if (i === B.SEMI)
410
1049
  return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
411
- this.decodeMode !== N.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1050
+ this.decodeMode !== pu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
412
1051
  }
413
1052
  }
414
1053
  return -1;
@@ -420,7 +1059,7 @@ class xe {
420
1059
  */
421
1060
  emitNotTerminatedNamedEntity() {
422
1061
  var e;
423
- const { result: t, decodeTree: n } = this, r = (n[t] & $.VALUE_LENGTH) >> 14;
1062
+ const { result: t, decodeTree: n } = this, r = (n[t] & _u.VALUE_LENGTH) >> 14;
424
1063
  return this.emitNamedEntityData(t, r, this.consumed), (e = this.errors) === null || e === void 0 || e.missingSemicolonAfterCharacterReference(), this.consumed;
425
1064
  }
426
1065
  /**
@@ -434,7 +1073,7 @@ class xe {
434
1073
  */
435
1074
  emitNamedEntityData(e, t, n) {
436
1075
  const { decodeTree: r } = this;
437
- return this.emitCodePoint(t === 1 ? r[e] & ~$.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
1076
+ return this.emitCodePoint(t === 1 ? r[e] & ~_u.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
438
1077
  }
439
1078
  /**
440
1079
  * Signal to the parser that the end of the input was reached.
@@ -446,77 +1085,77 @@ class xe {
446
1085
  end() {
447
1086
  var e;
448
1087
  switch (this.state) {
449
- case F.NamedEntity:
450
- return this.result !== 0 && (this.decodeMode !== N.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
451
- case F.NumericDecimal:
1088
+ case P.NamedEntity:
1089
+ return this.result !== 0 && (this.decodeMode !== pu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
1090
+ case P.NumericDecimal:
452
1091
  return this.emitNumericEntity(0, 2);
453
- case F.NumericHex:
1092
+ case P.NumericHex:
454
1093
  return this.emitNumericEntity(0, 3);
455
- case F.NumericStart:
1094
+ case P.NumericStart:
456
1095
  return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
457
- case F.EntityStart:
1096
+ case P.EntityStart:
458
1097
  return 0;
459
1098
  }
460
1099
  }
461
1100
  }
462
- function b0(u) {
1101
+ function Ot(u) {
463
1102
  let e = "";
464
- const t = new xe(u, (n) => e += fe(n));
1103
+ const t = new Vr(u, (n) => e += Hr(n));
465
1104
  return function(r, c) {
466
- let o = 0, i = 0;
467
- for (; (i = r.indexOf("&", i)) >= 0; ) {
468
- e += r.slice(o, i), t.startEntity(c);
1105
+ let i = 0, o = 0;
1106
+ for (; (o = r.indexOf("&", o)) >= 0; ) {
1107
+ e += r.slice(i, o), t.startEntity(c);
469
1108
  const s = t.write(
470
1109
  r,
471
1110
  // Skip the "&"
472
- i + 1
1111
+ o + 1
473
1112
  );
474
1113
  if (s < 0) {
475
- o = i + t.end();
1114
+ i = o + t.end();
476
1115
  break;
477
1116
  }
478
- o = i + s, i = s === 0 ? o + 1 : o;
1117
+ i = o + s, o = s === 0 ? i + 1 : i;
479
1118
  }
480
- const a = e + r.slice(o);
1119
+ const a = e + r.slice(i);
481
1120
  return e = "", a;
482
1121
  };
483
1122
  }
484
- function _e(u, e, t, n) {
485
- const r = (e & $.BRANCH_LENGTH) >> 7, c = e & $.JUMP_TABLE;
1123
+ function Yr(u, e, t, n) {
1124
+ const r = (e & _u.BRANCH_LENGTH) >> 7, c = e & _u.JUMP_TABLE;
486
1125
  if (r === 0)
487
1126
  return c !== 0 && n === c ? t : -1;
488
1127
  if (c) {
489
1128
  const a = n - c;
490
1129
  return a < 0 || a >= r ? -1 : u[t + a] - 1;
491
1130
  }
492
- let o = t, i = o + r - 1;
493
- for (; o <= i; ) {
494
- const a = o + i >>> 1, s = u[a];
1131
+ let i = t, o = i + r - 1;
1132
+ for (; i <= o; ) {
1133
+ const a = i + o >>> 1, s = u[a];
495
1134
  if (s < n)
496
- o = a + 1;
1135
+ i = a + 1;
497
1136
  else if (s > n)
498
- i = a - 1;
1137
+ o = a - 1;
499
1138
  else
500
1139
  return u[a + r];
501
1140
  }
502
1141
  return -1;
503
1142
  }
504
- const me = b0(oe);
505
- b0(ae);
506
- function h0(u, e = N.Legacy) {
507
- return me(u, e);
1143
+ const Xr = Ot(zr);
1144
+ Ot(qr);
1145
+ function Nt(u, e = pu.Legacy) {
1146
+ return Xr(u, e);
508
1147
  }
509
- function ke(u) {
1148
+ function Jr(u) {
510
1149
  return Object.prototype.toString.call(u);
511
1150
  }
512
- function Iu(u) {
513
- return ke(u) === "[object String]";
1151
+ function h0(u) {
1152
+ return Jr(u) === "[object String]";
514
1153
  }
515
- const ge = Object.prototype.hasOwnProperty;
516
- function De(u, e) {
517
- return ge.call(u, e);
1154
+ const Qr = Object.prototype.hasOwnProperty;
1155
+ function Kr(u, e) {
1156
+ return Qr.call(u, e);
518
1157
  }
519
- function du(u) {
1158
+ function Se(u) {
520
1159
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
521
1160
  if (t) {
522
1161
  if (typeof t != "object")
@@ -527,13 +1166,13 @@ function du(u) {
527
1166
  }
528
1167
  }), u;
529
1168
  }
530
- function p0(u, e, t) {
1169
+ function Pt(u, e, t) {
531
1170
  return [].concat(u.slice(0, e), t, u.slice(e + 1));
532
1171
  }
533
- function Mu(u) {
1172
+ function p0(u) {
534
1173
  return !(u >= 55296 && u <= 57343 || u >= 64976 && u <= 65007 || (u & 65535) === 65535 || (u & 65535) === 65534 || u >= 0 && u <= 8 || u === 11 || u >= 14 && u <= 31 || u >= 127 && u <= 159 || u > 1114111);
535
1174
  }
536
- function fu(u) {
1175
+ function Fe(u) {
537
1176
  if (u > 65535) {
538
1177
  u -= 65536;
539
1178
  const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
@@ -541,40 +1180,40 @@ function fu(u) {
541
1180
  }
542
1181
  return String.fromCharCode(u);
543
1182
  }
544
- const x0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, Ce = /&([a-z#][a-z0-9]{1,31});/gi, Ee = new RegExp(x0.source + "|" + Ce.source, "gi"), Fe = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
545
- function Ae(u, e) {
546
- if (e.charCodeAt(0) === 35 && Fe.test(e)) {
1183
+ const Bt = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, uc = /&([a-z#][a-z0-9]{1,31});/gi, ec = new RegExp(Bt.source + "|" + uc.source, "gi"), tc = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
1184
+ function nc(u, e) {
1185
+ if (e.charCodeAt(0) === 35 && tc.test(e)) {
547
1186
  const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
548
- return Mu(n) ? fu(n) : u;
1187
+ return p0(n) ? Fe(n) : u;
549
1188
  }
550
- const t = h0(u);
1189
+ const t = Nt(u);
551
1190
  return t !== u ? t : u;
552
1191
  }
553
- function ye(u) {
554
- return u.indexOf("\\") < 0 ? u : u.replace(x0, "$1");
1192
+ function rc(u) {
1193
+ return u.indexOf("\\") < 0 ? u : u.replace(Bt, "$1");
555
1194
  }
556
- function W(u) {
557
- return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(Ee, function(e, t, n) {
558
- return t || Ae(e, n);
1195
+ function zu(u) {
1196
+ return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(ec, function(e, t, n) {
1197
+ return t || nc(e, n);
559
1198
  });
560
1199
  }
561
- const we = /[&<>"]/, ve = /[&<>"]/g, Se = {
1200
+ const cc = /[&<>"]/, oc = /[&<>"]/g, ic = {
562
1201
  "&": "&amp;",
563
1202
  "<": "&lt;",
564
1203
  ">": "&gt;",
565
1204
  '"': "&quot;"
566
1205
  };
567
- function Be(u) {
568
- return Se[u];
1206
+ function ac(u) {
1207
+ return ic[u];
569
1208
  }
570
- function j(u) {
571
- return we.test(u) ? u.replace(ve, Be) : u;
1209
+ function xu(u) {
1210
+ return cc.test(u) ? u.replace(oc, ac) : u;
572
1211
  }
573
- const Te = /[.?*+^$[\]\\(){}|-]/g;
574
- function ze(u) {
575
- return u.replace(Te, "\\$&");
1212
+ const sc = /[.?*+^$[\]\\(){}|-]/g;
1213
+ function lc(u) {
1214
+ return u.replace(sc, "\\$&");
576
1215
  }
577
- function E(u) {
1216
+ function w(u) {
578
1217
  switch (u) {
579
1218
  case 9:
580
1219
  case 32:
@@ -582,7 +1221,7 @@ function E(u) {
582
1221
  }
583
1222
  return !1;
584
1223
  }
585
- function Y(u) {
1224
+ function Qu(u) {
586
1225
  if (u >= 8192 && u <= 8202)
587
1226
  return !0;
588
1227
  switch (u) {
@@ -601,10 +1240,10 @@ function Y(u) {
601
1240
  }
602
1241
  return !1;
603
1242
  }
604
- function K(u) {
605
- return zu.test(u) || l0.test(u);
1243
+ function Ku(u) {
1244
+ return d0.test(u) || Mt.test(u);
606
1245
  }
607
- function uu(u) {
1246
+ function ue(u) {
608
1247
  switch (u) {
609
1248
  case 33:
610
1249
  case 34:
@@ -643,38 +1282,38 @@ function uu(u) {
643
1282
  return !1;
644
1283
  }
645
1284
  }
646
- function bu(u) {
1285
+ function we(u) {
647
1286
  return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
648
1287
  }
649
- const Ie = { mdurl: ne, ucmicro: ie }, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1288
+ const fc = { mdurl: Nr, ucmicro: Br }, dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
650
1289
  __proto__: null,
651
- arrayReplaceAt: p0,
652
- assign: du,
653
- escapeHtml: j,
654
- escapeRE: ze,
655
- fromCodePoint: fu,
656
- has: De,
657
- isMdAsciiPunct: uu,
658
- isPunctChar: K,
659
- isSpace: E,
660
- isString: Iu,
661
- isValidEntityCode: Mu,
662
- isWhiteSpace: Y,
663
- lib: Ie,
664
- normalizeReference: bu,
665
- unescapeAll: W,
666
- unescapeMd: ye
1290
+ arrayReplaceAt: Pt,
1291
+ assign: Se,
1292
+ escapeHtml: xu,
1293
+ escapeRE: lc,
1294
+ fromCodePoint: Fe,
1295
+ has: Kr,
1296
+ isMdAsciiPunct: ue,
1297
+ isPunctChar: Ku,
1298
+ isSpace: w,
1299
+ isString: h0,
1300
+ isValidEntityCode: p0,
1301
+ isWhiteSpace: Qu,
1302
+ lib: fc,
1303
+ normalizeReference: we,
1304
+ unescapeAll: zu,
1305
+ unescapeMd: rc
667
1306
  }, Symbol.toStringTag, { value: "Module" }));
668
- function qe(u, e, t) {
669
- let n, r, c, o;
670
- const i = u.posMax, a = u.pos;
671
- for (u.pos = e + 1, n = 1; u.pos < i; ) {
1307
+ function hc(u, e, t) {
1308
+ let n, r, c, i;
1309
+ const o = u.posMax, a = u.pos;
1310
+ for (u.pos = e + 1, n = 1; u.pos < o; ) {
672
1311
  if (c = u.src.charCodeAt(u.pos), c === 93 && (n--, n === 0)) {
673
1312
  r = !0;
674
1313
  break;
675
1314
  }
676
- if (o = u.pos, u.md.inline.skipToken(u), c === 91) {
677
- if (o === u.pos - 1)
1315
+ if (i = u.pos, u.md.inline.skipToken(u), c === 91) {
1316
+ if (i === u.pos - 1)
678
1317
  n++;
679
1318
  else if (t)
680
1319
  return u.pos = a, -1;
@@ -683,7 +1322,7 @@ function qe(u, e, t) {
683
1322
  let s = -1;
684
1323
  return r && (s = u.pos), u.pos = a, s;
685
1324
  }
686
- function Re(u, e, t) {
1325
+ function pc(u, e, t) {
687
1326
  let n, r = e;
688
1327
  const c = {
689
1328
  ok: !1,
@@ -695,7 +1334,7 @@ function Re(u, e, t) {
695
1334
  if (n = u.charCodeAt(r), n === 10 || n === 60)
696
1335
  return c;
697
1336
  if (n === 62)
698
- return c.pos = r + 1, c.str = W(u.slice(e + 1, r)), c.ok = !0, c;
1337
+ return c.pos = r + 1, c.str = zu(u.slice(e + 1, r)), c.ok = !0, c;
699
1338
  if (n === 92 && r + 1 < t) {
700
1339
  r += 2;
701
1340
  continue;
@@ -704,7 +1343,7 @@ function Re(u, e, t) {
704
1343
  }
705
1344
  return c;
706
1345
  }
707
- let o = 0;
1346
+ let i = 0;
708
1347
  for (; r < t && (n = u.charCodeAt(r), !(n === 32 || n < 32 || n === 127)); ) {
709
1348
  if (n === 92 && r + 1 < t) {
710
1349
  if (u.charCodeAt(r + 1) === 32)
@@ -712,20 +1351,20 @@ function Re(u, e, t) {
712
1351
  r += 2;
713
1352
  continue;
714
1353
  }
715
- if (n === 40 && (o++, o > 32))
1354
+ if (n === 40 && (i++, i > 32))
716
1355
  return c;
717
1356
  if (n === 41) {
718
- if (o === 0)
1357
+ if (i === 0)
719
1358
  break;
720
- o--;
1359
+ i--;
721
1360
  }
722
1361
  r++;
723
1362
  }
724
- return e === r || o !== 0 || (c.str = W(u.slice(e, r)), c.pos = r, c.ok = !0), c;
1363
+ return e === r || i !== 0 || (c.str = zu(u.slice(e, r)), c.pos = r, c.ok = !0), c;
725
1364
  }
726
- function Le(u, e, t, n) {
1365
+ function bc(u, e, t, n) {
727
1366
  let r, c = e;
728
- const o = {
1367
+ const i = {
729
1368
  // if `true`, this is a valid link title
730
1369
  ok: !1,
731
1370
  // if `true`, this link can be continued on the next line
@@ -738,122 +1377,122 @@ function Le(u, e, t, n) {
738
1377
  marker: 0
739
1378
  };
740
1379
  if (n)
741
- o.str = n.str, o.marker = n.marker;
1380
+ i.str = n.str, i.marker = n.marker;
742
1381
  else {
743
1382
  if (c >= t)
744
- return o;
745
- let i = u.charCodeAt(c);
746
- if (i !== 34 && i !== 39 && i !== 40)
747
- return o;
748
- e++, c++, i === 40 && (i = 41), o.marker = i;
1383
+ return i;
1384
+ let o = u.charCodeAt(c);
1385
+ if (o !== 34 && o !== 39 && o !== 40)
1386
+ return i;
1387
+ e++, c++, o === 40 && (o = 41), i.marker = o;
749
1388
  }
750
1389
  for (; c < t; ) {
751
- if (r = u.charCodeAt(c), r === o.marker)
752
- return o.pos = c + 1, o.str += W(u.slice(e, c)), o.ok = !0, o;
753
- if (r === 40 && o.marker === 41)
754
- return o;
1390
+ if (r = u.charCodeAt(c), r === i.marker)
1391
+ return i.pos = c + 1, i.str += zu(u.slice(e, c)), i.ok = !0, i;
1392
+ if (r === 40 && i.marker === 41)
1393
+ return i;
755
1394
  r === 92 && c + 1 < t && c++, c++;
756
1395
  }
757
- return o.can_continue = !0, o.str += W(u.slice(e, c)), o;
1396
+ return i.can_continue = !0, i.str += zu(u.slice(e, c)), i;
758
1397
  }
759
- const Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1398
+ const _c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
760
1399
  __proto__: null,
761
- parseLinkDestination: Re,
762
- parseLinkLabel: qe,
763
- parseLinkTitle: Le
764
- }, Symbol.toStringTag, { value: "Module" })), q = {};
765
- q.code_inline = function(u, e, t, n, r) {
1400
+ parseLinkDestination: pc,
1401
+ parseLinkLabel: hc,
1402
+ parseLinkTitle: bc
1403
+ }, Symbol.toStringTag, { value: "Module" })), ou = {};
1404
+ ou.code_inline = function(u, e, t, n, r) {
766
1405
  const c = u[e];
767
- return "<code" + r.renderAttrs(c) + ">" + j(c.content) + "</code>";
1406
+ return "<code" + r.renderAttrs(c) + ">" + xu(c.content) + "</code>";
768
1407
  };
769
- q.code_block = function(u, e, t, n, r) {
1408
+ ou.code_block = function(u, e, t, n, r) {
770
1409
  const c = u[e];
771
- return "<pre" + r.renderAttrs(c) + "><code>" + j(u[e].content) + `</code></pre>
1410
+ return "<pre" + r.renderAttrs(c) + "><code>" + xu(u[e].content) + `</code></pre>
772
1411
  `;
773
1412
  };
774
- q.fence = function(u, e, t, n, r) {
775
- const c = u[e], o = c.info ? W(c.info).trim() : "";
776
- let i = "", a = "";
777
- if (o) {
778
- const f = o.split(/(\s+)/g);
779
- i = f[0], a = f.slice(2).join("");
1413
+ ou.fence = function(u, e, t, n, r) {
1414
+ const c = u[e], i = c.info ? zu(c.info).trim() : "";
1415
+ let o = "", a = "";
1416
+ if (i) {
1417
+ const f = i.split(/(\s+)/g);
1418
+ o = f[0], a = f.slice(2).join("");
780
1419
  }
781
1420
  let s;
782
- if (t.highlight ? s = t.highlight(c.content, i, a) || j(c.content) : s = j(c.content), s.indexOf("<pre") === 0)
1421
+ if (t.highlight ? s = t.highlight(c.content, o, a) || xu(c.content) : s = xu(c.content), s.indexOf("<pre") === 0)
783
1422
  return s + `
784
1423
  `;
785
- if (o) {
1424
+ if (i) {
786
1425
  const f = c.attrIndex("class"), d = c.attrs ? c.attrs.slice() : [];
787
- f < 0 ? d.push(["class", t.langPrefix + i]) : (d[f] = d[f].slice(), d[f][1] += " " + t.langPrefix + i);
788
- const h = {
1426
+ f < 0 ? d.push(["class", t.langPrefix + o]) : (d[f] = d[f].slice(), d[f][1] += " " + t.langPrefix + o);
1427
+ const _ = {
789
1428
  attrs: d
790
1429
  };
791
- return `<pre><code${r.renderAttrs(h)}>${s}</code></pre>
1430
+ return `<pre><code${r.renderAttrs(_)}>${s}</code></pre>
792
1431
  `;
793
1432
  }
794
1433
  return `<pre><code${r.renderAttrs(c)}>${s}</code></pre>
795
1434
  `;
796
1435
  };
797
- q.image = function(u, e, t, n, r) {
1436
+ ou.image = function(u, e, t, n, r) {
798
1437
  const c = u[e];
799
1438
  return c.attrs[c.attrIndex("alt")][1] = r.renderInlineAsText(c.children, t, n), r.renderToken(u, e, t);
800
1439
  };
801
- q.hardbreak = function(u, e, t) {
1440
+ ou.hardbreak = function(u, e, t) {
802
1441
  return t.xhtmlOut ? `<br />
803
1442
  ` : `<br>
804
1443
  `;
805
1444
  };
806
- q.softbreak = function(u, e, t) {
1445
+ ou.softbreak = function(u, e, t) {
807
1446
  return t.breaks ? t.xhtmlOut ? `<br />
808
1447
  ` : `<br>
809
1448
  ` : `
810
1449
  `;
811
1450
  };
812
- q.text = function(u, e) {
813
- return j(u[e].content);
1451
+ ou.text = function(u, e) {
1452
+ return xu(u[e].content);
814
1453
  };
815
- q.html_block = function(u, e) {
1454
+ ou.html_block = function(u, e) {
816
1455
  return u[e].content;
817
1456
  };
818
- q.html_inline = function(u, e) {
1457
+ ou.html_inline = function(u, e) {
819
1458
  return u[e].content;
820
1459
  };
821
- function Q() {
822
- this.rules = du({}, q);
1460
+ function qu() {
1461
+ this.rules = Se({}, ou);
823
1462
  }
824
- Q.prototype.renderAttrs = function(e) {
1463
+ qu.prototype.renderAttrs = function(e) {
825
1464
  let t, n, r;
826
1465
  if (!e.attrs)
827
1466
  return "";
828
1467
  for (r = "", t = 0, n = e.attrs.length; t < n; t++)
829
- r += " " + j(e.attrs[t][0]) + '="' + j(e.attrs[t][1]) + '"';
1468
+ r += " " + xu(e.attrs[t][0]) + '="' + xu(e.attrs[t][1]) + '"';
830
1469
  return r;
831
1470
  };
832
- Q.prototype.renderToken = function(e, t, n) {
1471
+ qu.prototype.renderToken = function(e, t, n) {
833
1472
  const r = e[t];
834
1473
  let c = "";
835
1474
  if (r.hidden)
836
1475
  return "";
837
1476
  r.block && r.nesting !== -1 && t && e[t - 1].hidden && (c += `
838
1477
  `), c += (r.nesting === -1 ? "</" : "<") + r.tag, c += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (c += " /");
839
- let o = !1;
840
- if (r.block && (o = !0, r.nesting === 1 && t + 1 < e.length)) {
841
- const i = e[t + 1];
842
- (i.type === "inline" || i.hidden || i.nesting === -1 && i.tag === r.tag) && (o = !1);
1478
+ let i = !1;
1479
+ if (r.block && (i = !0, r.nesting === 1 && t + 1 < e.length)) {
1480
+ const o = e[t + 1];
1481
+ (o.type === "inline" || o.hidden || o.nesting === -1 && o.tag === r.tag) && (i = !1);
843
1482
  }
844
- return c += o ? `>
1483
+ return c += i ? `>
845
1484
  ` : ">", c;
846
1485
  };
847
- Q.prototype.renderInline = function(u, e, t) {
1486
+ qu.prototype.renderInline = function(u, e, t) {
848
1487
  let n = "";
849
1488
  const r = this.rules;
850
- for (let c = 0, o = u.length; c < o; c++) {
851
- const i = u[c].type;
852
- typeof r[i] < "u" ? n += r[i](u, c, e, t, this) : n += this.renderToken(u, c, e);
1489
+ for (let c = 0, i = u.length; c < i; c++) {
1490
+ const o = u[c].type;
1491
+ typeof r[o] < "u" ? n += r[o](u, c, e, t, this) : n += this.renderToken(u, c, e);
853
1492
  }
854
1493
  return n;
855
1494
  };
856
- Q.prototype.renderInlineAsText = function(u, e, t) {
1495
+ qu.prototype.renderInlineAsText = function(u, e, t) {
857
1496
  let n = "";
858
1497
  for (let r = 0, c = u.length; r < c; r++)
859
1498
  switch (u[r].type) {
@@ -875,25 +1514,25 @@ Q.prototype.renderInlineAsText = function(u, e, t) {
875
1514
  }
876
1515
  return n;
877
1516
  };
878
- Q.prototype.render = function(u, e, t) {
1517
+ qu.prototype.render = function(u, e, t) {
879
1518
  let n = "";
880
1519
  const r = this.rules;
881
- for (let c = 0, o = u.length; c < o; c++) {
882
- const i = u[c].type;
883
- i === "inline" ? n += this.renderInline(u[c].children, e, t) : typeof r[i] < "u" ? n += r[i](u, c, e, t, this) : n += this.renderToken(u, c, e, t);
1520
+ for (let c = 0, i = u.length; c < i; c++) {
1521
+ const o = u[c].type;
1522
+ o === "inline" ? n += this.renderInline(u[c].children, e, t) : typeof r[o] < "u" ? n += r[o](u, c, e, t, this) : n += this.renderToken(u, c, e, t);
884
1523
  }
885
1524
  return n;
886
1525
  };
887
- function w() {
1526
+ function V() {
888
1527
  this.__rules__ = [], this.__cache__ = null;
889
1528
  }
890
- w.prototype.__find__ = function(u) {
1529
+ V.prototype.__find__ = function(u) {
891
1530
  for (let e = 0; e < this.__rules__.length; e++)
892
1531
  if (this.__rules__[e].name === u)
893
1532
  return e;
894
1533
  return -1;
895
1534
  };
896
- w.prototype.__compile__ = function() {
1535
+ V.prototype.__compile__ = function() {
897
1536
  const u = this, e = [""];
898
1537
  u.__rules__.forEach(function(t) {
899
1538
  t.enabled && t.alt.forEach(function(n) {
@@ -905,13 +1544,13 @@ w.prototype.__compile__ = function() {
905
1544
  });
906
1545
  });
907
1546
  };
908
- w.prototype.at = function(u, e, t) {
1547
+ V.prototype.at = function(u, e, t) {
909
1548
  const n = this.__find__(u), r = t || {};
910
1549
  if (n === -1)
911
1550
  throw new Error("Parser rule not found: " + u);
912
1551
  this.__rules__[n].fn = e, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
913
1552
  };
914
- w.prototype.before = function(u, e, t, n) {
1553
+ V.prototype.before = function(u, e, t, n) {
915
1554
  const r = this.__find__(u), c = n || {};
916
1555
  if (r === -1)
917
1556
  throw new Error("Parser rule not found: " + u);
@@ -922,7 +1561,7 @@ w.prototype.before = function(u, e, t, n) {
922
1561
  alt: c.alt || []
923
1562
  }), this.__cache__ = null;
924
1563
  };
925
- w.prototype.after = function(u, e, t, n) {
1564
+ V.prototype.after = function(u, e, t, n) {
926
1565
  const r = this.__find__(u), c = n || {};
927
1566
  if (r === -1)
928
1567
  throw new Error("Parser rule not found: " + u);
@@ -933,7 +1572,7 @@ w.prototype.after = function(u, e, t, n) {
933
1572
  alt: c.alt || []
934
1573
  }), this.__cache__ = null;
935
1574
  };
936
- w.prototype.push = function(u, e, t) {
1575
+ V.prototype.push = function(u, e, t) {
937
1576
  const n = t || {};
938
1577
  this.__rules__.push({
939
1578
  name: u,
@@ -942,7 +1581,7 @@ w.prototype.push = function(u, e, t) {
942
1581
  alt: n.alt || []
943
1582
  }), this.__cache__ = null;
944
1583
  };
945
- w.prototype.enable = function(u, e) {
1584
+ V.prototype.enable = function(u, e) {
946
1585
  Array.isArray(u) || (u = [u]);
947
1586
  const t = [];
948
1587
  return u.forEach(function(n) {
@@ -955,12 +1594,12 @@ w.prototype.enable = function(u, e) {
955
1594
  this.__rules__[r].enabled = !0, t.push(n);
956
1595
  }, this), this.__cache__ = null, t;
957
1596
  };
958
- w.prototype.enableOnly = function(u, e) {
1597
+ V.prototype.enableOnly = function(u, e) {
959
1598
  Array.isArray(u) || (u = [u]), this.__rules__.forEach(function(t) {
960
1599
  t.enabled = !1;
961
1600
  }), this.enable(u, e);
962
1601
  };
963
- w.prototype.disable = function(u, e) {
1602
+ V.prototype.disable = function(u, e) {
964
1603
  Array.isArray(u) || (u = [u]);
965
1604
  const t = [];
966
1605
  return u.forEach(function(n) {
@@ -973,13 +1612,13 @@ w.prototype.disable = function(u, e) {
973
1612
  this.__rules__[r].enabled = !1, t.push(n);
974
1613
  }, this), this.__cache__ = null, t;
975
1614
  };
976
- w.prototype.getRules = function(u) {
1615
+ V.prototype.getRules = function(u) {
977
1616
  return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
978
1617
  };
979
- function z(u, e, t) {
1618
+ function eu(u, e, t) {
980
1619
  this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
981
1620
  }
982
- z.prototype.attrIndex = function(e) {
1621
+ eu.prototype.attrIndex = function(e) {
983
1622
  if (!this.attrs)
984
1623
  return -1;
985
1624
  const t = this.attrs;
@@ -988,284 +1627,284 @@ z.prototype.attrIndex = function(e) {
988
1627
  return n;
989
1628
  return -1;
990
1629
  };
991
- z.prototype.attrPush = function(e) {
1630
+ eu.prototype.attrPush = function(e) {
992
1631
  this.attrs ? this.attrs.push(e) : this.attrs = [e];
993
1632
  };
994
- z.prototype.attrSet = function(e, t) {
1633
+ eu.prototype.attrSet = function(e, t) {
995
1634
  const n = this.attrIndex(e), r = [e, t];
996
1635
  n < 0 ? this.attrPush(r) : this.attrs[n] = r;
997
1636
  };
998
- z.prototype.attrGet = function(e) {
1637
+ eu.prototype.attrGet = function(e) {
999
1638
  const t = this.attrIndex(e);
1000
1639
  let n = null;
1001
1640
  return t >= 0 && (n = this.attrs[t][1]), n;
1002
1641
  };
1003
- z.prototype.attrJoin = function(e, t) {
1642
+ eu.prototype.attrJoin = function(e, t) {
1004
1643
  const n = this.attrIndex(e);
1005
1644
  n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
1006
1645
  };
1007
- function _0(u, e, t) {
1646
+ function zt(u, e, t) {
1008
1647
  this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
1009
1648
  }
1010
- _0.prototype.Token = z;
1011
- const Oe = /\r\n?|\n/g, Ne = /\0/g;
1012
- function $e(u) {
1649
+ zt.prototype.Token = eu;
1650
+ const mc = /\r\n?|\n/g, xc = /\0/g;
1651
+ function gc(u) {
1013
1652
  let e;
1014
- e = u.src.replace(Oe, `
1015
- `), e = e.replace(Ne, "�"), u.src = e;
1653
+ e = u.src.replace(mc, `
1654
+ `), e = e.replace(xc, "�"), u.src = e;
1016
1655
  }
1017
- function je(u) {
1656
+ function kc(u) {
1018
1657
  let e;
1019
1658
  u.inlineMode ? (e = new u.Token("inline", "", 0), e.content = u.src, e.map = [0, 1], e.children = [], u.tokens.push(e)) : u.md.block.parse(u.src, u.md, u.env, u.tokens);
1020
1659
  }
1021
- function Ue(u) {
1660
+ function Ec(u) {
1022
1661
  const e = u.tokens;
1023
1662
  for (let t = 0, n = e.length; t < n; t++) {
1024
1663
  const r = e[t];
1025
1664
  r.type === "inline" && u.md.inline.parse(r.content, u.md, u.env, r.children);
1026
1665
  }
1027
1666
  }
1028
- function Ze(u) {
1667
+ function Ac(u) {
1029
1668
  return /^<a[>\s]/i.test(u);
1030
1669
  }
1031
- function He(u) {
1670
+ function Cc(u) {
1032
1671
  return /^<\/a\s*>/i.test(u);
1033
1672
  }
1034
- function Ve(u) {
1673
+ function Dc(u) {
1035
1674
  const e = u.tokens;
1036
1675
  if (u.md.options.linkify)
1037
1676
  for (let t = 0, n = e.length; t < n; t++) {
1038
1677
  if (e[t].type !== "inline" || !u.md.linkify.pretest(e[t].content))
1039
1678
  continue;
1040
1679
  let r = e[t].children, c = 0;
1041
- for (let o = r.length - 1; o >= 0; o--) {
1042
- const i = r[o];
1043
- if (i.type === "link_close") {
1044
- for (o--; r[o].level !== i.level && r[o].type !== "link_open"; )
1045
- o--;
1680
+ for (let i = r.length - 1; i >= 0; i--) {
1681
+ const o = r[i];
1682
+ if (o.type === "link_close") {
1683
+ for (i--; r[i].level !== o.level && r[i].type !== "link_open"; )
1684
+ i--;
1046
1685
  continue;
1047
1686
  }
1048
- if (i.type === "html_inline" && (Ze(i.content) && c > 0 && c--, He(i.content) && c++), !(c > 0) && i.type === "text" && u.md.linkify.test(i.content)) {
1049
- const a = i.content;
1687
+ if (o.type === "html_inline" && (Ac(o.content) && c > 0 && c--, Cc(o.content) && c++), !(c > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
1688
+ const a = o.content;
1050
1689
  let s = u.md.linkify.match(a);
1051
1690
  const f = [];
1052
- let d = i.level, h = 0;
1053
- s.length > 0 && s[0].index === 0 && o > 0 && r[o - 1].type === "text_special" && (s = s.slice(1));
1054
- for (let b = 0; b < s.length; b++) {
1055
- const l = s[b].url, k = u.md.normalizeLink(l);
1056
- if (!u.md.validateLink(k))
1691
+ let d = o.level, _ = 0;
1692
+ s.length > 0 && s[0].index === 0 && i > 0 && r[i - 1].type === "text_special" && (s = s.slice(1));
1693
+ for (let p = 0; p < s.length; p++) {
1694
+ const h = s[p].url, C = u.md.normalizeLink(h);
1695
+ if (!u.md.validateLink(C))
1057
1696
  continue;
1058
- let g = s[b].text;
1059
- s[b].schema ? s[b].schema === "mailto:" && !/^mailto:/i.test(g) ? g = u.md.normalizeLinkText("mailto:" + g).replace(/^mailto:/, "") : g = u.md.normalizeLinkText(g) : g = u.md.normalizeLinkText("http://" + g).replace(/^http:\/\//, "");
1060
- const C = s[b].index;
1061
- if (C > h) {
1062
- const m = new u.Token("text", "", 0);
1063
- m.content = a.slice(h, C), m.level = d, f.push(m);
1697
+ let D = s[p].text;
1698
+ s[p].schema ? s[p].schema === "mailto:" && !/^mailto:/i.test(D) ? D = u.md.normalizeLinkText("mailto:" + D).replace(/^mailto:/, "") : D = u.md.normalizeLinkText(D) : D = u.md.normalizeLinkText("http://" + D).replace(/^http:\/\//, "");
1699
+ const T = s[p].index;
1700
+ if (T > _) {
1701
+ const A = new u.Token("text", "", 0);
1702
+ A.content = a.slice(_, T), A.level = d, f.push(A);
1064
1703
  }
1065
- const p = new u.Token("link_open", "a", 1);
1066
- p.attrs = [["href", k]], p.level = d++, p.markup = "linkify", p.info = "auto", f.push(p);
1067
- const _ = new u.Token("text", "", 0);
1068
- _.content = g, _.level = d, f.push(_);
1069
- const x = new u.Token("link_close", "a", -1);
1070
- x.level = --d, x.markup = "linkify", x.info = "auto", f.push(x), h = s[b].lastIndex;
1704
+ const E = new u.Token("link_open", "a", 1);
1705
+ E.attrs = [["href", C]], E.level = d++, E.markup = "linkify", E.info = "auto", f.push(E);
1706
+ const k = new u.Token("text", "", 0);
1707
+ k.content = D, k.level = d, f.push(k);
1708
+ const m = new u.Token("link_close", "a", -1);
1709
+ m.level = --d, m.markup = "linkify", m.info = "auto", f.push(m), _ = s[p].lastIndex;
1071
1710
  }
1072
- if (h < a.length) {
1073
- const b = new u.Token("text", "", 0);
1074
- b.content = a.slice(h), b.level = d, f.push(b);
1711
+ if (_ < a.length) {
1712
+ const p = new u.Token("text", "", 0);
1713
+ p.content = a.slice(_), p.level = d, f.push(p);
1075
1714
  }
1076
- e[t].children = r = p0(r, o, f);
1715
+ e[t].children = r = Pt(r, i, f);
1077
1716
  }
1078
1717
  }
1079
1718
  }
1080
1719
  }
1081
- const m0 = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ge = /\((c|tm|r)\)/i, We = /\((c|tm|r)\)/ig, Je = {
1720
+ const qt = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, yc = /\((c|tm|r)\)/i, Fc = /\((c|tm|r)\)/ig, Tc = {
1082
1721
  c: "©",
1083
1722
  r: "®",
1084
1723
  tm: "™"
1085
1724
  };
1086
- function Qe(u, e) {
1087
- return Je[e.toLowerCase()];
1725
+ function Sc(u, e) {
1726
+ return Tc[e.toLowerCase()];
1088
1727
  }
1089
- function Xe(u) {
1728
+ function wc(u) {
1090
1729
  let e = 0;
1091
1730
  for (let t = u.length - 1; t >= 0; t--) {
1092
1731
  const n = u[t];
1093
- n.type === "text" && !e && (n.content = n.content.replace(We, Qe)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1732
+ n.type === "text" && !e && (n.content = n.content.replace(Fc, Sc)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1094
1733
  }
1095
1734
  }
1096
- function Ye(u) {
1735
+ function vc(u) {
1097
1736
  let e = 0;
1098
1737
  for (let t = u.length - 1; t >= 0; t--) {
1099
1738
  const n = u[t];
1100
- n.type === "text" && !e && m0.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1739
+ n.type === "text" && !e && qt.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1101
1740
  }
1102
1741
  }
1103
- function Ke(u) {
1742
+ function Rc(u) {
1104
1743
  let e;
1105
1744
  if (u.md.options.typographer)
1106
1745
  for (e = u.tokens.length - 1; e >= 0; e--)
1107
- u.tokens[e].type === "inline" && (Ge.test(u.tokens[e].content) && Xe(u.tokens[e].children), m0.test(u.tokens[e].content) && Ye(u.tokens[e].children));
1746
+ u.tokens[e].type === "inline" && (yc.test(u.tokens[e].content) && wc(u.tokens[e].children), qt.test(u.tokens[e].content) && vc(u.tokens[e].children));
1108
1747
  }
1109
- const ut = /['"]/, Wu = /['"]/g, Ju = "’";
1110
- function iu(u, e, t) {
1748
+ const Ic = /['"]/, ft = /['"]/g, dt = "’";
1749
+ function xe(u, e, t) {
1111
1750
  return u.slice(0, e) + t + u.slice(e + 1);
1112
1751
  }
1113
- function et(u, e) {
1752
+ function Mc(u, e) {
1114
1753
  let t;
1115
1754
  const n = [];
1116
1755
  for (let r = 0; r < u.length; r++) {
1117
- const c = u[r], o = u[r].level;
1118
- for (t = n.length - 1; t >= 0 && !(n[t].level <= o); t--)
1756
+ const c = u[r], i = u[r].level;
1757
+ for (t = n.length - 1; t >= 0 && !(n[t].level <= i); t--)
1119
1758
  ;
1120
1759
  if (n.length = t + 1, c.type !== "text")
1121
1760
  continue;
1122
- let i = c.content, a = 0, s = i.length;
1761
+ let o = c.content, a = 0, s = o.length;
1123
1762
  u:
1124
1763
  for (; a < s; ) {
1125
- Wu.lastIndex = a;
1126
- const f = Wu.exec(i);
1764
+ ft.lastIndex = a;
1765
+ const f = ft.exec(o);
1127
1766
  if (!f)
1128
1767
  break;
1129
- let d = !0, h = !0;
1768
+ let d = !0, _ = !0;
1130
1769
  a = f.index + 1;
1131
- const b = f[0] === "'";
1132
- let l = 32;
1770
+ const p = f[0] === "'";
1771
+ let h = 32;
1133
1772
  if (f.index - 1 >= 0)
1134
- l = i.charCodeAt(f.index - 1);
1773
+ h = o.charCodeAt(f.index - 1);
1135
1774
  else
1136
1775
  for (t = r - 1; t >= 0 && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t--)
1137
1776
  if (u[t].content) {
1138
- l = u[t].content.charCodeAt(u[t].content.length - 1);
1777
+ h = u[t].content.charCodeAt(u[t].content.length - 1);
1139
1778
  break;
1140
1779
  }
1141
- let k = 32;
1780
+ let C = 32;
1142
1781
  if (a < s)
1143
- k = i.charCodeAt(a);
1782
+ C = o.charCodeAt(a);
1144
1783
  else
1145
1784
  for (t = r + 1; t < u.length && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t++)
1146
1785
  if (u[t].content) {
1147
- k = u[t].content.charCodeAt(0);
1786
+ C = u[t].content.charCodeAt(0);
1148
1787
  break;
1149
1788
  }
1150
- const g = uu(l) || K(String.fromCharCode(l)), C = uu(k) || K(String.fromCharCode(k)), p = Y(l), _ = Y(k);
1151
- if (_ ? d = !1 : C && (p || g || (d = !1)), p ? h = !1 : g && (_ || C || (h = !1)), k === 34 && f[0] === '"' && l >= 48 && l <= 57 && (h = d = !1), d && h && (d = g, h = C), !d && !h) {
1152
- b && (c.content = iu(c.content, f.index, Ju));
1789
+ const D = ue(h) || Ku(String.fromCharCode(h)), T = ue(C) || Ku(String.fromCharCode(C)), E = Qu(h), k = Qu(C);
1790
+ if (k ? d = !1 : T && (E || D || (d = !1)), E ? _ = !1 : D && (k || T || (_ = !1)), C === 34 && f[0] === '"' && h >= 48 && h <= 57 && (_ = d = !1), d && _ && (d = D, _ = T), !d && !_) {
1791
+ p && (c.content = xe(c.content, f.index, dt));
1153
1792
  continue;
1154
1793
  }
1155
- if (h)
1794
+ if (_)
1156
1795
  for (t = n.length - 1; t >= 0; t--) {
1157
- let x = n[t];
1158
- if (n[t].level < o)
1796
+ let m = n[t];
1797
+ if (n[t].level < i)
1159
1798
  break;
1160
- if (x.single === b && n[t].level === o) {
1161
- x = n[t];
1162
- let m, D;
1163
- b ? (m = e.md.options.quotes[2], D = e.md.options.quotes[3]) : (m = e.md.options.quotes[0], D = e.md.options.quotes[1]), c.content = iu(c.content, f.index, D), u[x.token].content = iu(
1164
- u[x.token].content,
1165
- x.pos,
1166
- m
1167
- ), a += D.length - 1, x.token === r && (a += m.length - 1), i = c.content, s = i.length, n.length = t;
1799
+ if (m.single === p && n[t].level === i) {
1800
+ m = n[t];
1801
+ let A, y;
1802
+ p ? (A = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (A = e.md.options.quotes[0], y = e.md.options.quotes[1]), c.content = xe(c.content, f.index, y), u[m.token].content = xe(
1803
+ u[m.token].content,
1804
+ m.pos,
1805
+ A
1806
+ ), a += y.length - 1, m.token === r && (a += A.length - 1), o = c.content, s = o.length, n.length = t;
1168
1807
  continue u;
1169
1808
  }
1170
1809
  }
1171
1810
  d ? n.push({
1172
1811
  token: r,
1173
1812
  pos: f.index,
1174
- single: b,
1175
- level: o
1176
- }) : h && b && (c.content = iu(c.content, f.index, Ju));
1813
+ single: p,
1814
+ level: i
1815
+ }) : _ && p && (c.content = xe(c.content, f.index, dt));
1177
1816
  }
1178
1817
  }
1179
1818
  }
1180
- function tt(u) {
1819
+ function Lc(u) {
1181
1820
  if (u.md.options.typographer)
1182
1821
  for (let e = u.tokens.length - 1; e >= 0; e--)
1183
- u.tokens[e].type !== "inline" || !ut.test(u.tokens[e].content) || et(u.tokens[e].children, u);
1822
+ u.tokens[e].type !== "inline" || !Ic.test(u.tokens[e].content) || Mc(u.tokens[e].children, u);
1184
1823
  }
1185
- function rt(u) {
1824
+ function Oc(u) {
1186
1825
  let e, t;
1187
1826
  const n = u.tokens, r = n.length;
1188
1827
  for (let c = 0; c < r; c++) {
1189
1828
  if (n[c].type !== "inline") continue;
1190
- const o = n[c].children, i = o.length;
1191
- for (e = 0; e < i; e++)
1192
- o[e].type === "text_special" && (o[e].type = "text");
1193
- for (e = t = 0; e < i; e++)
1194
- o[e].type === "text" && e + 1 < i && o[e + 1].type === "text" ? o[e + 1].content = o[e].content + o[e + 1].content : (e !== t && (o[t] = o[e]), t++);
1195
- e !== t && (o.length = t);
1196
- }
1197
- }
1198
- const gu = [
1199
- ["normalize", $e],
1200
- ["block", je],
1201
- ["inline", Ue],
1202
- ["linkify", Ve],
1203
- ["replacements", Ke],
1204
- ["smartquotes", tt],
1829
+ const i = n[c].children, o = i.length;
1830
+ for (e = 0; e < o; e++)
1831
+ i[e].type === "text_special" && (i[e].type = "text");
1832
+ for (e = t = 0; e < o; e++)
1833
+ i[e].type === "text" && e + 1 < o && i[e + 1].type === "text" ? i[e + 1].content = i[e].content + i[e + 1].content : (e !== t && (i[t] = i[e]), t++);
1834
+ e !== t && (i.length = t);
1835
+ }
1836
+ }
1837
+ const Xe = [
1838
+ ["normalize", gc],
1839
+ ["block", kc],
1840
+ ["inline", Ec],
1841
+ ["linkify", Dc],
1842
+ ["replacements", Rc],
1843
+ ["smartquotes", Lc],
1205
1844
  // `text_join` finds `text_special` tokens (for escape sequences)
1206
1845
  // and joins them with the rest of the text
1207
- ["text_join", rt]
1846
+ ["text_join", Oc]
1208
1847
  ];
1209
- function qu() {
1210
- this.ruler = new w();
1211
- for (let u = 0; u < gu.length; u++)
1212
- this.ruler.push(gu[u][0], gu[u][1]);
1848
+ function b0() {
1849
+ this.ruler = new V();
1850
+ for (let u = 0; u < Xe.length; u++)
1851
+ this.ruler.push(Xe[u][0], Xe[u][1]);
1213
1852
  }
1214
- qu.prototype.process = function(u) {
1853
+ b0.prototype.process = function(u) {
1215
1854
  const e = this.ruler.getRules("");
1216
1855
  for (let t = 0, n = e.length; t < n; t++)
1217
1856
  e[t](u);
1218
1857
  };
1219
- qu.prototype.State = _0;
1220
- function R(u, e, t, n) {
1858
+ b0.prototype.State = zt;
1859
+ function iu(u, e, t, n) {
1221
1860
  this.src = u, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
1222
1861
  const r = this.src;
1223
- for (let c = 0, o = 0, i = 0, a = 0, s = r.length, f = !1; o < s; o++) {
1224
- const d = r.charCodeAt(o);
1862
+ for (let c = 0, i = 0, o = 0, a = 0, s = r.length, f = !1; i < s; i++) {
1863
+ const d = r.charCodeAt(i);
1225
1864
  if (!f)
1226
- if (E(d)) {
1227
- i++, d === 9 ? a += 4 - a % 4 : a++;
1865
+ if (w(d)) {
1866
+ o++, d === 9 ? a += 4 - a % 4 : a++;
1228
1867
  continue;
1229
1868
  } else
1230
1869
  f = !0;
1231
- (d === 10 || o === s - 1) && (d !== 10 && o++, this.bMarks.push(c), this.eMarks.push(o), this.tShift.push(i), this.sCount.push(a), this.bsCount.push(0), f = !1, i = 0, a = 0, c = o + 1);
1870
+ (d === 10 || i === s - 1) && (d !== 10 && i++, this.bMarks.push(c), this.eMarks.push(i), this.tShift.push(o), this.sCount.push(a), this.bsCount.push(0), f = !1, o = 0, a = 0, c = i + 1);
1232
1871
  }
1233
1872
  this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
1234
1873
  }
1235
- R.prototype.push = function(u, e, t) {
1236
- const n = new z(u, e, t);
1874
+ iu.prototype.push = function(u, e, t) {
1875
+ const n = new eu(u, e, t);
1237
1876
  return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
1238
1877
  };
1239
- R.prototype.isEmpty = function(e) {
1878
+ iu.prototype.isEmpty = function(e) {
1240
1879
  return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
1241
1880
  };
1242
- R.prototype.skipEmptyLines = function(e) {
1881
+ iu.prototype.skipEmptyLines = function(e) {
1243
1882
  for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++)
1244
1883
  ;
1245
1884
  return e;
1246
1885
  };
1247
- R.prototype.skipSpaces = function(e) {
1886
+ iu.prototype.skipSpaces = function(e) {
1248
1887
  for (let t = this.src.length; e < t; e++) {
1249
1888
  const n = this.src.charCodeAt(e);
1250
- if (!E(n))
1889
+ if (!w(n))
1251
1890
  break;
1252
1891
  }
1253
1892
  return e;
1254
1893
  };
1255
- R.prototype.skipSpacesBack = function(e, t) {
1894
+ iu.prototype.skipSpacesBack = function(e, t) {
1256
1895
  if (e <= t)
1257
1896
  return e;
1258
1897
  for (; e > t; )
1259
- if (!E(this.src.charCodeAt(--e)))
1898
+ if (!w(this.src.charCodeAt(--e)))
1260
1899
  return e + 1;
1261
1900
  return e;
1262
1901
  };
1263
- R.prototype.skipChars = function(e, t) {
1902
+ iu.prototype.skipChars = function(e, t) {
1264
1903
  for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++)
1265
1904
  ;
1266
1905
  return e;
1267
1906
  };
1268
- R.prototype.skipCharsBack = function(e, t, n) {
1907
+ iu.prototype.skipCharsBack = function(e, t, n) {
1269
1908
  if (e <= n)
1270
1909
  return e;
1271
1910
  for (; e > n; )
@@ -1273,42 +1912,42 @@ R.prototype.skipCharsBack = function(e, t, n) {
1273
1912
  return e + 1;
1274
1913
  return e;
1275
1914
  };
1276
- R.prototype.getLines = function(e, t, n, r) {
1915
+ iu.prototype.getLines = function(e, t, n, r) {
1277
1916
  if (e >= t)
1278
1917
  return "";
1279
1918
  const c = new Array(t - e);
1280
- for (let o = 0, i = e; i < t; i++, o++) {
1919
+ for (let i = 0, o = e; o < t; o++, i++) {
1281
1920
  let a = 0;
1282
- const s = this.bMarks[i];
1921
+ const s = this.bMarks[o];
1283
1922
  let f = s, d;
1284
- for (i + 1 < t || r ? d = this.eMarks[i] + 1 : d = this.eMarks[i]; f < d && a < n; ) {
1285
- const h = this.src.charCodeAt(f);
1286
- if (E(h))
1287
- h === 9 ? a += 4 - (a + this.bsCount[i]) % 4 : a++;
1288
- else if (f - s < this.tShift[i])
1923
+ for (o + 1 < t || r ? d = this.eMarks[o] + 1 : d = this.eMarks[o]; f < d && a < n; ) {
1924
+ const _ = this.src.charCodeAt(f);
1925
+ if (w(_))
1926
+ _ === 9 ? a += 4 - (a + this.bsCount[o]) % 4 : a++;
1927
+ else if (f - s < this.tShift[o])
1289
1928
  a++;
1290
1929
  else
1291
1930
  break;
1292
1931
  f++;
1293
1932
  }
1294
- a > n ? c[o] = new Array(a - n + 1).join(" ") + this.src.slice(f, d) : c[o] = this.src.slice(f, d);
1933
+ a > n ? c[i] = new Array(a - n + 1).join(" ") + this.src.slice(f, d) : c[i] = this.src.slice(f, d);
1295
1934
  }
1296
1935
  return c.join("");
1297
1936
  };
1298
- R.prototype.Token = z;
1299
- const nt = 65536;
1300
- function Du(u, e) {
1937
+ iu.prototype.Token = eu;
1938
+ const Nc = 65536;
1939
+ function Je(u, e) {
1301
1940
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
1302
1941
  return u.src.slice(t, n);
1303
1942
  }
1304
- function Qu(u) {
1943
+ function ht(u) {
1305
1944
  const e = [], t = u.length;
1306
- let n = 0, r = u.charCodeAt(n), c = !1, o = 0, i = "";
1945
+ let n = 0, r = u.charCodeAt(n), c = !1, i = 0, o = "";
1307
1946
  for (; n < t; )
1308
- r === 124 && (c ? (i += u.substring(o, n - 1), o = n) : (e.push(i + u.substring(o, n)), i = "", o = n + 1)), c = r === 92, n++, r = u.charCodeAt(n);
1309
- return e.push(i + u.substring(o)), e;
1947
+ r === 124 && (c ? (o += u.substring(i, n - 1), i = n) : (e.push(o + u.substring(i, n)), o = "", i = n + 1)), c = r === 92, n++, r = u.charCodeAt(n);
1948
+ return e.push(o + u.substring(i)), e;
1310
1949
  }
1311
- function ct(u, e, t, n) {
1950
+ function Pc(u, e, t, n) {
1312
1951
  if (e + 2 > t)
1313
1952
  return !1;
1314
1953
  let r = e + 1;
@@ -1317,81 +1956,81 @@ function ct(u, e, t, n) {
1317
1956
  let c = u.bMarks[r] + u.tShift[r];
1318
1957
  if (c >= u.eMarks[r])
1319
1958
  return !1;
1320
- const o = u.src.charCodeAt(c++);
1321
- if (o !== 124 && o !== 45 && o !== 58 || c >= u.eMarks[r])
1322
- return !1;
1323
1959
  const i = u.src.charCodeAt(c++);
1324
- if (i !== 124 && i !== 45 && i !== 58 && !E(i) || o === 45 && E(i))
1960
+ if (i !== 124 && i !== 45 && i !== 58 || c >= u.eMarks[r])
1961
+ return !1;
1962
+ const o = u.src.charCodeAt(c++);
1963
+ if (o !== 124 && o !== 45 && o !== 58 && !w(o) || i === 45 && w(o))
1325
1964
  return !1;
1326
1965
  for (; c < u.eMarks[r]; ) {
1327
- const x = u.src.charCodeAt(c);
1328
- if (x !== 124 && x !== 45 && x !== 58 && !E(x))
1966
+ const m = u.src.charCodeAt(c);
1967
+ if (m !== 124 && m !== 45 && m !== 58 && !w(m))
1329
1968
  return !1;
1330
1969
  c++;
1331
1970
  }
1332
- let a = Du(u, e + 1), s = a.split("|");
1971
+ let a = Je(u, e + 1), s = a.split("|");
1333
1972
  const f = [];
1334
- for (let x = 0; x < s.length; x++) {
1335
- const m = s[x].trim();
1336
- if (!m) {
1337
- if (x === 0 || x === s.length - 1)
1973
+ for (let m = 0; m < s.length; m++) {
1974
+ const A = s[m].trim();
1975
+ if (!A) {
1976
+ if (m === 0 || m === s.length - 1)
1338
1977
  continue;
1339
1978
  return !1;
1340
1979
  }
1341
- if (!/^:?-+:?$/.test(m))
1980
+ if (!/^:?-+:?$/.test(A))
1342
1981
  return !1;
1343
- m.charCodeAt(m.length - 1) === 58 ? f.push(m.charCodeAt(0) === 58 ? "center" : "right") : m.charCodeAt(0) === 58 ? f.push("left") : f.push("");
1982
+ A.charCodeAt(A.length - 1) === 58 ? f.push(A.charCodeAt(0) === 58 ? "center" : "right") : A.charCodeAt(0) === 58 ? f.push("left") : f.push("");
1344
1983
  }
1345
- if (a = Du(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
1984
+ if (a = Je(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
1346
1985
  return !1;
1347
- s = Qu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
1986
+ s = ht(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
1348
1987
  const d = s.length;
1349
1988
  if (d === 0 || d !== f.length)
1350
1989
  return !1;
1351
1990
  if (n)
1352
1991
  return !0;
1353
- const h = u.parentType;
1992
+ const _ = u.parentType;
1354
1993
  u.parentType = "table";
1355
- const b = u.md.block.ruler.getRules("blockquote"), l = u.push("table_open", "table", 1), k = [e, 0];
1356
- l.map = k;
1357
- const g = u.push("thead_open", "thead", 1);
1358
- g.map = [e, e + 1];
1359
- const C = u.push("tr_open", "tr", 1);
1360
- C.map = [e, e + 1];
1361
- for (let x = 0; x < s.length; x++) {
1362
- const m = u.push("th_open", "th", 1);
1363
- f[x] && (m.attrs = [["style", "text-align:" + f[x]]]);
1364
- const D = u.push("inline", "", 0);
1365
- D.content = s[x].trim(), D.children = [], u.push("th_close", "th", -1);
1994
+ const p = u.md.block.ruler.getRules("blockquote"), h = u.push("table_open", "table", 1), C = [e, 0];
1995
+ h.map = C;
1996
+ const D = u.push("thead_open", "thead", 1);
1997
+ D.map = [e, e + 1];
1998
+ const T = u.push("tr_open", "tr", 1);
1999
+ T.map = [e, e + 1];
2000
+ for (let m = 0; m < s.length; m++) {
2001
+ const A = u.push("th_open", "th", 1);
2002
+ f[m] && (A.attrs = [["style", "text-align:" + f[m]]]);
2003
+ const y = u.push("inline", "", 0);
2004
+ y.content = s[m].trim(), y.children = [], u.push("th_close", "th", -1);
1366
2005
  }
1367
2006
  u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
1368
- let p, _ = 0;
2007
+ let E, k = 0;
1369
2008
  for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
1370
- let x = !1;
1371
- for (let D = 0, y = b.length; D < y; D++)
1372
- if (b[D](u, r, t, !0)) {
1373
- x = !0;
2009
+ let m = !1;
2010
+ for (let y = 0, I = p.length; y < I; y++)
2011
+ if (p[y](u, r, t, !0)) {
2012
+ m = !0;
1374
2013
  break;
1375
2014
  }
1376
- if (x || (a = Du(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = Qu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), _ += d - s.length, _ > nt))
2015
+ if (m || (a = Je(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = ht(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), k += d - s.length, k > Nc))
1377
2016
  break;
1378
2017
  if (r === e + 2) {
1379
- const D = u.push("tbody_open", "tbody", 1);
1380
- D.map = p = [e + 2, 0];
2018
+ const y = u.push("tbody_open", "tbody", 1);
2019
+ y.map = E = [e + 2, 0];
1381
2020
  }
1382
- const m = u.push("tr_open", "tr", 1);
1383
- m.map = [r, r + 1];
1384
- for (let D = 0; D < d; D++) {
1385
- const y = u.push("td_open", "td", 1);
1386
- f[D] && (y.attrs = [["style", "text-align:" + f[D]]]);
1387
- const T = u.push("inline", "", 0);
1388
- T.content = s[D] ? s[D].trim() : "", T.children = [], u.push("td_close", "td", -1);
2021
+ const A = u.push("tr_open", "tr", 1);
2022
+ A.map = [r, r + 1];
2023
+ for (let y = 0; y < d; y++) {
2024
+ const I = u.push("td_open", "td", 1);
2025
+ f[y] && (I.attrs = [["style", "text-align:" + f[y]]]);
2026
+ const Y = u.push("inline", "", 0);
2027
+ Y.content = s[y] ? s[y].trim() : "", Y.children = [], u.push("td_close", "td", -1);
1389
2028
  }
1390
2029
  u.push("tr_close", "tr", -1);
1391
2030
  }
1392
- return p && (u.push("tbody_close", "tbody", -1), p[1] = r), u.push("table_close", "table", -1), k[1] = r, u.parentType = h, u.line = r, !0;
2031
+ return E && (u.push("tbody_close", "tbody", -1), E[1] = r), u.push("table_close", "table", -1), C[1] = r, u.parentType = _, u.line = r, !0;
1393
2032
  }
1394
- function it(u, e, t) {
2033
+ function Bc(u, e, t) {
1395
2034
  if (u.sCount[e] - u.blkIndent < 4)
1396
2035
  return !1;
1397
2036
  let n = e + 1, r = n;
@@ -1411,112 +2050,112 @@ function it(u, e, t) {
1411
2050
  return c.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
1412
2051
  `, c.map = [e, u.line], !0;
1413
2052
  }
1414
- function ot(u, e, t, n) {
2053
+ function zc(u, e, t, n) {
1415
2054
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
1416
2055
  if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > c)
1417
2056
  return !1;
1418
- const o = u.src.charCodeAt(r);
1419
- if (o !== 126 && o !== 96)
2057
+ const i = u.src.charCodeAt(r);
2058
+ if (i !== 126 && i !== 96)
1420
2059
  return !1;
1421
- let i = r;
1422
- r = u.skipChars(r, o);
1423
- let a = r - i;
2060
+ let o = r;
2061
+ r = u.skipChars(r, i);
2062
+ let a = r - o;
1424
2063
  if (a < 3)
1425
2064
  return !1;
1426
- const s = u.src.slice(i, r), f = u.src.slice(r, c);
1427
- if (o === 96 && f.indexOf(String.fromCharCode(o)) >= 0)
2065
+ const s = u.src.slice(o, r), f = u.src.slice(r, c);
2066
+ if (i === 96 && f.indexOf(String.fromCharCode(i)) >= 0)
1428
2067
  return !1;
1429
2068
  if (n)
1430
2069
  return !0;
1431
- let d = e, h = !1;
1432
- for (; d++, !(d >= t || (r = i = u.bMarks[d] + u.tShift[d], c = u.eMarks[d], r < c && u.sCount[d] < u.blkIndent)); )
1433
- if (u.src.charCodeAt(r) === o && !(u.sCount[d] - u.blkIndent >= 4) && (r = u.skipChars(r, o), !(r - i < a) && (r = u.skipSpaces(r), !(r < c)))) {
1434
- h = !0;
2070
+ let d = e, _ = !1;
2071
+ for (; d++, !(d >= t || (r = o = u.bMarks[d] + u.tShift[d], c = u.eMarks[d], r < c && u.sCount[d] < u.blkIndent)); )
2072
+ if (u.src.charCodeAt(r) === i && !(u.sCount[d] - u.blkIndent >= 4) && (r = u.skipChars(r, i), !(r - o < a) && (r = u.skipSpaces(r), !(r < c)))) {
2073
+ _ = !0;
1435
2074
  break;
1436
2075
  }
1437
- a = u.sCount[e], u.line = d + (h ? 1 : 0);
1438
- const b = u.push("fence", "code", 0);
1439
- return b.info = f, b.content = u.getLines(e + 1, d, a, !0), b.markup = s, b.map = [e, u.line], !0;
2076
+ a = u.sCount[e], u.line = d + (_ ? 1 : 0);
2077
+ const p = u.push("fence", "code", 0);
2078
+ return p.info = f, p.content = u.getLines(e + 1, d, a, !0), p.markup = s, p.map = [e, u.line], !0;
1440
2079
  }
1441
- function at(u, e, t, n) {
2080
+ function qc(u, e, t, n) {
1442
2081
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
1443
- const o = u.lineMax;
2082
+ const i = u.lineMax;
1444
2083
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
1445
2084
  return !1;
1446
2085
  if (n)
1447
2086
  return !0;
1448
- const i = [], a = [], s = [], f = [], d = u.md.block.ruler.getRules("blockquote"), h = u.parentType;
2087
+ const o = [], a = [], s = [], f = [], d = u.md.block.ruler.getRules("blockquote"), _ = u.parentType;
1449
2088
  u.parentType = "blockquote";
1450
- let b = !1, l;
1451
- for (l = e; l < t; l++) {
1452
- const _ = u.sCount[l] < u.blkIndent;
1453
- if (r = u.bMarks[l] + u.tShift[l], c = u.eMarks[l], r >= c)
2089
+ let p = !1, h;
2090
+ for (h = e; h < t; h++) {
2091
+ const k = u.sCount[h] < u.blkIndent;
2092
+ if (r = u.bMarks[h] + u.tShift[h], c = u.eMarks[h], r >= c)
1454
2093
  break;
1455
- if (u.src.charCodeAt(r++) === 62 && !_) {
1456
- let m = u.sCount[l] + 1, D, y;
1457
- u.src.charCodeAt(r) === 32 ? (r++, m++, y = !1, D = !0) : u.src.charCodeAt(r) === 9 ? (D = !0, (u.bsCount[l] + m) % 4 === 3 ? (r++, m++, y = !1) : y = !0) : D = !1;
1458
- let T = m;
1459
- for (i.push(u.bMarks[l]), u.bMarks[l] = r; r < c; ) {
1460
- const P = u.src.charCodeAt(r);
1461
- if (E(P))
1462
- P === 9 ? T += 4 - (T + u.bsCount[l] + (y ? 1 : 0)) % 4 : T++;
2094
+ if (u.src.charCodeAt(r++) === 62 && !k) {
2095
+ let A = u.sCount[h] + 1, y, I;
2096
+ u.src.charCodeAt(r) === 32 ? (r++, A++, I = !1, y = !0) : u.src.charCodeAt(r) === 9 ? (y = !0, (u.bsCount[h] + A) % 4 === 3 ? (r++, A++, I = !1) : I = !0) : y = !1;
2097
+ let Y = A;
2098
+ for (o.push(u.bMarks[h]), u.bMarks[h] = r; r < c; ) {
2099
+ const tu = u.src.charCodeAt(r);
2100
+ if (w(tu))
2101
+ tu === 9 ? Y += 4 - (Y + u.bsCount[h] + (I ? 1 : 0)) % 4 : Y++;
1463
2102
  else
1464
2103
  break;
1465
2104
  r++;
1466
2105
  }
1467
- b = r >= c, a.push(u.bsCount[l]), u.bsCount[l] = u.sCount[l] + 1 + (D ? 1 : 0), s.push(u.sCount[l]), u.sCount[l] = T - m, f.push(u.tShift[l]), u.tShift[l] = r - u.bMarks[l];
2106
+ p = r >= c, a.push(u.bsCount[h]), u.bsCount[h] = u.sCount[h] + 1 + (y ? 1 : 0), s.push(u.sCount[h]), u.sCount[h] = Y - A, f.push(u.tShift[h]), u.tShift[h] = r - u.bMarks[h];
1468
2107
  continue;
1469
2108
  }
1470
- if (b)
2109
+ if (p)
1471
2110
  break;
1472
- let x = !1;
1473
- for (let m = 0, D = d.length; m < D; m++)
1474
- if (d[m](u, l, t, !0)) {
1475
- x = !0;
2111
+ let m = !1;
2112
+ for (let A = 0, y = d.length; A < y; A++)
2113
+ if (d[A](u, h, t, !0)) {
2114
+ m = !0;
1476
2115
  break;
1477
2116
  }
1478
- if (x) {
1479
- u.lineMax = l, u.blkIndent !== 0 && (i.push(u.bMarks[l]), a.push(u.bsCount[l]), f.push(u.tShift[l]), s.push(u.sCount[l]), u.sCount[l] -= u.blkIndent);
2117
+ if (m) {
2118
+ u.lineMax = h, u.blkIndent !== 0 && (o.push(u.bMarks[h]), a.push(u.bsCount[h]), f.push(u.tShift[h]), s.push(u.sCount[h]), u.sCount[h] -= u.blkIndent);
1480
2119
  break;
1481
2120
  }
1482
- i.push(u.bMarks[l]), a.push(u.bsCount[l]), f.push(u.tShift[l]), s.push(u.sCount[l]), u.sCount[l] = -1;
2121
+ o.push(u.bMarks[h]), a.push(u.bsCount[h]), f.push(u.tShift[h]), s.push(u.sCount[h]), u.sCount[h] = -1;
1483
2122
  }
1484
- const k = u.blkIndent;
2123
+ const C = u.blkIndent;
1485
2124
  u.blkIndent = 0;
1486
- const g = u.push("blockquote_open", "blockquote", 1);
1487
- g.markup = ">";
1488
- const C = [e, 0];
1489
- g.map = C, u.md.block.tokenize(u, e, l);
1490
- const p = u.push("blockquote_close", "blockquote", -1);
1491
- p.markup = ">", u.lineMax = o, u.parentType = h, C[1] = u.line;
1492
- for (let _ = 0; _ < f.length; _++)
1493
- u.bMarks[_ + e] = i[_], u.tShift[_ + e] = f[_], u.sCount[_ + e] = s[_], u.bsCount[_ + e] = a[_];
1494
- return u.blkIndent = k, !0;
1495
- }
1496
- function st(u, e, t, n) {
2125
+ const D = u.push("blockquote_open", "blockquote", 1);
2126
+ D.markup = ">";
2127
+ const T = [e, 0];
2128
+ D.map = T, u.md.block.tokenize(u, e, h);
2129
+ const E = u.push("blockquote_close", "blockquote", -1);
2130
+ E.markup = ">", u.lineMax = i, u.parentType = _, T[1] = u.line;
2131
+ for (let k = 0; k < f.length; k++)
2132
+ u.bMarks[k + e] = o[k], u.tShift[k + e] = f[k], u.sCount[k + e] = s[k], u.bsCount[k + e] = a[k];
2133
+ return u.blkIndent = C, !0;
2134
+ }
2135
+ function Uc(u, e, t, n) {
1497
2136
  const r = u.eMarks[e];
1498
2137
  if (u.sCount[e] - u.blkIndent >= 4)
1499
2138
  return !1;
1500
2139
  let c = u.bMarks[e] + u.tShift[e];
1501
- const o = u.src.charCodeAt(c++);
1502
- if (o !== 42 && o !== 45 && o !== 95)
2140
+ const i = u.src.charCodeAt(c++);
2141
+ if (i !== 42 && i !== 45 && i !== 95)
1503
2142
  return !1;
1504
- let i = 1;
2143
+ let o = 1;
1505
2144
  for (; c < r; ) {
1506
2145
  const s = u.src.charCodeAt(c++);
1507
- if (s !== o && !E(s))
2146
+ if (s !== i && !w(s))
1508
2147
  return !1;
1509
- s === o && i++;
2148
+ s === i && o++;
1510
2149
  }
1511
- if (i < 3)
2150
+ if (o < 3)
1512
2151
  return !1;
1513
2152
  if (n)
1514
2153
  return !0;
1515
2154
  u.line = e + 1;
1516
2155
  const a = u.push("hr", "hr", 0);
1517
- return a.map = [e, u.line], a.markup = Array(i + 1).join(String.fromCharCode(o)), !0;
2156
+ return a.map = [e, u.line], a.markup = Array(o + 1).join(String.fromCharCode(i)), !0;
1518
2157
  }
1519
- function Xu(u, e) {
2158
+ function pt(u, e) {
1520
2159
  const t = u.eMarks[e];
1521
2160
  let n = u.bMarks[e] + u.tShift[e];
1522
2161
  const r = u.src.charCodeAt(n++);
@@ -1524,12 +2163,12 @@ function Xu(u, e) {
1524
2163
  return -1;
1525
2164
  if (n < t) {
1526
2165
  const c = u.src.charCodeAt(n);
1527
- if (!E(c))
2166
+ if (!w(c))
1528
2167
  return -1;
1529
2168
  }
1530
2169
  return n;
1531
2170
  }
1532
- function Yu(u, e) {
2171
+ function bt(u, e) {
1533
2172
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
1534
2173
  let r = t;
1535
2174
  if (r + 1 >= n)
@@ -1549,129 +2188,129 @@ function Yu(u, e) {
1549
2188
  break;
1550
2189
  return -1;
1551
2190
  }
1552
- return r < n && (c = u.src.charCodeAt(r), !E(c)) ? -1 : r;
2191
+ return r < n && (c = u.src.charCodeAt(r), !w(c)) ? -1 : r;
1553
2192
  }
1554
- function ft(u, e) {
2193
+ function Hc(u, e) {
1555
2194
  const t = u.level + 2;
1556
2195
  for (let n = e + 2, r = u.tokens.length - 2; n < r; n++)
1557
2196
  u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
1558
2197
  }
1559
- function lt(u, e, t, n) {
1560
- let r, c, o, i, a = e, s = !0;
2198
+ function $c(u, e, t, n) {
2199
+ let r, c, i, o, a = e, s = !0;
1561
2200
  if (u.sCount[a] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[a] - u.listIndent >= 4 && u.sCount[a] < u.blkIndent)
1562
2201
  return !1;
1563
2202
  let f = !1;
1564
2203
  n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (f = !0);
1565
- let d, h, b;
1566
- if ((b = Yu(u, a)) >= 0) {
1567
- if (d = !0, o = u.bMarks[a] + u.tShift[a], h = Number(u.src.slice(o, b - 1)), f && h !== 1) return !1;
1568
- } else if ((b = Xu(u, a)) >= 0)
2204
+ let d, _, p;
2205
+ if ((p = bt(u, a)) >= 0) {
2206
+ if (d = !0, i = u.bMarks[a] + u.tShift[a], _ = Number(u.src.slice(i, p - 1)), f && _ !== 1) return !1;
2207
+ } else if ((p = pt(u, a)) >= 0)
1569
2208
  d = !1;
1570
2209
  else
1571
2210
  return !1;
1572
- if (f && u.skipSpaces(b) >= u.eMarks[a])
2211
+ if (f && u.skipSpaces(p) >= u.eMarks[a])
1573
2212
  return !1;
1574
2213
  if (n)
1575
2214
  return !0;
1576
- const l = u.src.charCodeAt(b - 1), k = u.tokens.length;
1577
- d ? (i = u.push("ordered_list_open", "ol", 1), h !== 1 && (i.attrs = [["start", h]])) : i = u.push("bullet_list_open", "ul", 1);
1578
- const g = [a, 0];
1579
- i.map = g, i.markup = String.fromCharCode(l);
1580
- let C = !1;
1581
- const p = u.md.block.ruler.getRules("list"), _ = u.parentType;
2215
+ const h = u.src.charCodeAt(p - 1), C = u.tokens.length;
2216
+ d ? (o = u.push("ordered_list_open", "ol", 1), _ !== 1 && (o.attrs = [["start", _]])) : o = u.push("bullet_list_open", "ul", 1);
2217
+ const D = [a, 0];
2218
+ o.map = D, o.markup = String.fromCharCode(h);
2219
+ let T = !1;
2220
+ const E = u.md.block.ruler.getRules("list"), k = u.parentType;
1582
2221
  for (u.parentType = "list"; a < t; ) {
1583
- c = b, r = u.eMarks[a];
1584
- const x = u.sCount[a] + b - (u.bMarks[a] + u.tShift[a]);
1585
- let m = x;
2222
+ c = p, r = u.eMarks[a];
2223
+ const m = u.sCount[a] + p - (u.bMarks[a] + u.tShift[a]);
2224
+ let A = m;
1586
2225
  for (; c < r; ) {
1587
- const U = u.src.charCodeAt(c);
1588
- if (U === 9)
1589
- m += 4 - (m + u.bsCount[a]) % 4;
1590
- else if (U === 32)
1591
- m++;
2226
+ const du = u.src.charCodeAt(c);
2227
+ if (du === 9)
2228
+ A += 4 - (A + u.bsCount[a]) % 4;
2229
+ else if (du === 32)
2230
+ A++;
1592
2231
  else
1593
2232
  break;
1594
2233
  c++;
1595
2234
  }
1596
- const D = c;
1597
- let y;
1598
- D >= r ? y = 1 : y = m - x, y > 4 && (y = 1);
1599
- const T = x + y;
1600
- i = u.push("list_item_open", "li", 1), i.markup = String.fromCharCode(l);
1601
- const P = [a, 0];
1602
- i.map = P, d && (i.info = u.src.slice(o, b - 1));
1603
- const X = u.tight, xu = u.tShift[a], M0 = u.sCount[a], q0 = u.listIndent;
1604
- if (u.listIndent = u.blkIndent, u.blkIndent = T, u.tight = !0, u.tShift[a] = D - u.bMarks[a], u.sCount[a] = m, D >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || C) && (s = !1), C = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = q0, u.tShift[a] = xu, u.sCount[a] = M0, u.tight = X, i = u.push("list_item_close", "li", -1), i.markup = String.fromCharCode(l), a = u.line, P[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
2235
+ const y = c;
2236
+ let I;
2237
+ y >= r ? I = 1 : I = A - m, I > 4 && (I = 1);
2238
+ const Y = m + I;
2239
+ o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(h);
2240
+ const tu = [a, 0];
2241
+ o.map = tu, d && (o.info = u.src.slice(i, p - 1));
2242
+ const gu = u.tight, M = u.tShift[a], Uu = u.sCount[a], Hu = u.listIndent;
2243
+ if (u.listIndent = u.blkIndent, u.blkIndent = Y, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] = A, y >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || T) && (s = !1), T = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = Hu, u.tShift[a] = M, u.sCount[a] = Uu, u.tight = gu, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(h), a = u.line, tu[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
1605
2244
  break;
1606
- let Pu = !1;
1607
- for (let U = 0, R0 = p.length; U < R0; U++)
1608
- if (p[U](u, a, t, !0)) {
1609
- Pu = !0;
2245
+ let Du = !1;
2246
+ for (let du = 0, Ie = E.length; du < Ie; du++)
2247
+ if (E[du](u, a, t, !0)) {
2248
+ Du = !0;
1610
2249
  break;
1611
2250
  }
1612
- if (Pu)
2251
+ if (Du)
1613
2252
  break;
1614
2253
  if (d) {
1615
- if (b = Yu(u, a), b < 0)
2254
+ if (p = bt(u, a), p < 0)
1616
2255
  break;
1617
- o = u.bMarks[a] + u.tShift[a];
1618
- } else if (b = Xu(u, a), b < 0)
2256
+ i = u.bMarks[a] + u.tShift[a];
2257
+ } else if (p = pt(u, a), p < 0)
1619
2258
  break;
1620
- if (l !== u.src.charCodeAt(b - 1))
2259
+ if (h !== u.src.charCodeAt(p - 1))
1621
2260
  break;
1622
2261
  }
1623
- return d ? i = u.push("ordered_list_close", "ol", -1) : i = u.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(l), g[1] = a, u.line = a, u.parentType = _, s && ft(u, k), !0;
2262
+ return d ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(h), D[1] = a, u.line = a, u.parentType = k, s && Hc(u, C), !0;
1624
2263
  }
1625
- function dt(u, e, t, n) {
1626
- let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e], o = e + 1;
2264
+ function jc(u, e, t, n) {
2265
+ let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e], i = e + 1;
1627
2266
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
1628
2267
  return !1;
1629
- function i(p) {
1630
- const _ = u.lineMax;
1631
- if (p >= _ || u.isEmpty(p))
2268
+ function o(E) {
2269
+ const k = u.lineMax;
2270
+ if (E >= k || u.isEmpty(E))
1632
2271
  return null;
1633
- let x = !1;
1634
- if (u.sCount[p] - u.blkIndent > 3 && (x = !0), u.sCount[p] < 0 && (x = !0), !x) {
1635
- const y = u.md.block.ruler.getRules("reference"), T = u.parentType;
2272
+ let m = !1;
2273
+ if (u.sCount[E] - u.blkIndent > 3 && (m = !0), u.sCount[E] < 0 && (m = !0), !m) {
2274
+ const I = u.md.block.ruler.getRules("reference"), Y = u.parentType;
1636
2275
  u.parentType = "reference";
1637
- let P = !1;
1638
- for (let X = 0, xu = y.length; X < xu; X++)
1639
- if (y[X](u, p, _, !0)) {
1640
- P = !0;
2276
+ let tu = !1;
2277
+ for (let gu = 0, M = I.length; gu < M; gu++)
2278
+ if (I[gu](u, E, k, !0)) {
2279
+ tu = !0;
1641
2280
  break;
1642
2281
  }
1643
- if (u.parentType = T, P)
2282
+ if (u.parentType = Y, tu)
1644
2283
  return null;
1645
2284
  }
1646
- const m = u.bMarks[p] + u.tShift[p], D = u.eMarks[p];
1647
- return u.src.slice(m, D + 1);
2285
+ const A = u.bMarks[E] + u.tShift[E], y = u.eMarks[E];
2286
+ return u.src.slice(A, y + 1);
1648
2287
  }
1649
2288
  let a = u.src.slice(r, c + 1);
1650
2289
  c = a.length;
1651
2290
  let s = -1;
1652
2291
  for (r = 1; r < c; r++) {
1653
- const p = a.charCodeAt(r);
1654
- if (p === 91)
2292
+ const E = a.charCodeAt(r);
2293
+ if (E === 91)
1655
2294
  return !1;
1656
- if (p === 93) {
2295
+ if (E === 93) {
1657
2296
  s = r;
1658
2297
  break;
1659
- } else if (p === 10) {
1660
- const _ = i(o);
1661
- _ !== null && (a += _, c = a.length, o++);
1662
- } else if (p === 92 && (r++, r < c && a.charCodeAt(r) === 10)) {
1663
- const _ = i(o);
1664
- _ !== null && (a += _, c = a.length, o++);
2298
+ } else if (E === 10) {
2299
+ const k = o(i);
2300
+ k !== null && (a += k, c = a.length, i++);
2301
+ } else if (E === 92 && (r++, r < c && a.charCodeAt(r) === 10)) {
2302
+ const k = o(i);
2303
+ k !== null && (a += k, c = a.length, i++);
1665
2304
  }
1666
2305
  }
1667
2306
  if (s < 0 || a.charCodeAt(s + 1) !== 58)
1668
2307
  return !1;
1669
2308
  for (r = s + 2; r < c; r++) {
1670
- const p = a.charCodeAt(r);
1671
- if (p === 10) {
1672
- const _ = i(o);
1673
- _ !== null && (a += _, c = a.length, o++);
1674
- } else if (!E(p)) break;
2309
+ const E = a.charCodeAt(r);
2310
+ if (E === 10) {
2311
+ const k = o(i);
2312
+ k !== null && (a += k, c = a.length, i++);
2313
+ } else if (!w(E)) break;
1675
2314
  }
1676
2315
  const f = u.md.helpers.parseLinkDestination(a, r, c);
1677
2316
  if (!f.ok)
@@ -1680,40 +2319,40 @@ function dt(u, e, t, n) {
1680
2319
  if (!u.md.validateLink(d))
1681
2320
  return !1;
1682
2321
  r = f.pos;
1683
- const h = r, b = o, l = r;
2322
+ const _ = r, p = i, h = r;
1684
2323
  for (; r < c; r++) {
1685
- const p = a.charCodeAt(r);
1686
- if (p === 10) {
1687
- const _ = i(o);
1688
- _ !== null && (a += _, c = a.length, o++);
1689
- } else if (!E(p)) break;
1690
- }
1691
- let k = u.md.helpers.parseLinkTitle(a, r, c);
1692
- for (; k.can_continue; ) {
1693
- const p = i(o);
1694
- if (p === null) break;
1695
- a += p, r = c, c = a.length, o++, k = u.md.helpers.parseLinkTitle(a, r, c, k);
1696
- }
1697
- let g;
1698
- for (r < c && l !== r && k.ok ? (g = k.str, r = k.pos) : (g = "", r = h, o = b); r < c; ) {
1699
- const p = a.charCodeAt(r);
1700
- if (!E(p))
2324
+ const E = a.charCodeAt(r);
2325
+ if (E === 10) {
2326
+ const k = o(i);
2327
+ k !== null && (a += k, c = a.length, i++);
2328
+ } else if (!w(E)) break;
2329
+ }
2330
+ let C = u.md.helpers.parseLinkTitle(a, r, c);
2331
+ for (; C.can_continue; ) {
2332
+ const E = o(i);
2333
+ if (E === null) break;
2334
+ a += E, r = c, c = a.length, i++, C = u.md.helpers.parseLinkTitle(a, r, c, C);
2335
+ }
2336
+ let D;
2337
+ for (r < c && h !== r && C.ok ? (D = C.str, r = C.pos) : (D = "", r = _, i = p); r < c; ) {
2338
+ const E = a.charCodeAt(r);
2339
+ if (!w(E))
1701
2340
  break;
1702
2341
  r++;
1703
2342
  }
1704
- if (r < c && a.charCodeAt(r) !== 10 && g)
1705
- for (g = "", r = h, o = b; r < c; ) {
1706
- const p = a.charCodeAt(r);
1707
- if (!E(p))
2343
+ if (r < c && a.charCodeAt(r) !== 10 && D)
2344
+ for (D = "", r = _, i = p; r < c; ) {
2345
+ const E = a.charCodeAt(r);
2346
+ if (!w(E))
1708
2347
  break;
1709
2348
  r++;
1710
2349
  }
1711
2350
  if (r < c && a.charCodeAt(r) !== 10)
1712
2351
  return !1;
1713
- const C = bu(a.slice(1, s));
1714
- return C ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[C] > "u" && (u.env.references[C] = { title: g, href: d }), u.line = o), !0) : !1;
2352
+ const T = we(a.slice(1, s));
2353
+ return T ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[T] > "u" && (u.env.references[T] = { title: D, href: d }), u.line = i), !0) : !1;
1715
2354
  }
1716
- const bt = [
2355
+ const Gc = [
1717
2356
  "address",
1718
2357
  "article",
1719
2358
  "aside",
@@ -1776,31 +2415,31 @@ const bt = [
1776
2415
  "tr",
1777
2416
  "track",
1778
2417
  "ul"
1779
- ], ht = "[a-zA-Z_:][a-zA-Z0-9:._-]*", pt = "[^\"'=<>`\\x00-\\x20]+", xt = "'[^']*'", _t = '"[^"]*"', mt = "(?:" + pt + "|" + xt + "|" + _t + ")", kt = "(?:\\s+" + ht + "(?:\\s*=\\s*" + mt + ")?)", k0 = "<[A-Za-z][A-Za-z0-9\\-]*" + kt + "*\\s*\\/?>", g0 = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", gt = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Dt = "<[?][\\s\\S]*?[?]>", Ct = "<![A-Za-z][^>]*>", Et = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Ft = new RegExp("^(?:" + k0 + "|" + g0 + "|" + gt + "|" + Dt + "|" + Ct + "|" + Et + ")"), At = new RegExp("^(?:" + k0 + "|" + g0 + ")"), H = [
2418
+ ], Wc = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Zc = "[^\"'=<>`\\x00-\\x20]+", Vc = "'[^']*'", Yc = '"[^"]*"', Xc = "(?:" + Zc + "|" + Vc + "|" + Yc + ")", Jc = "(?:\\s+" + Wc + "(?:\\s*=\\s*" + Xc + ")?)", Ut = "<[A-Za-z][A-Za-z0-9\\-]*" + Jc + "*\\s*\\/?>", Ht = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", Qc = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Kc = "<[?][\\s\\S]*?[?]>", uo = "<![A-Za-z][^>]*>", eo = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", to = new RegExp("^(?:" + Ut + "|" + Ht + "|" + Qc + "|" + Kc + "|" + uo + "|" + eo + ")"), no = new RegExp("^(?:" + Ut + "|" + Ht + ")"), Iu = [
1780
2419
  [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
1781
2420
  [/^<!--/, /-->/, !0],
1782
2421
  [/^<\?/, /\?>/, !0],
1783
2422
  [/^<![A-Z]/, />/, !0],
1784
2423
  [/^<!\[CDATA\[/, /\]\]>/, !0],
1785
- [new RegExp("^</?(" + bt.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
1786
- [new RegExp(At.source + "\\s*$"), /^$/, !1]
2424
+ [new RegExp("^</?(" + Gc.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2425
+ [new RegExp(no.source + "\\s*$"), /^$/, !1]
1787
2426
  ];
1788
- function yt(u, e, t, n) {
2427
+ function ro(u, e, t, n) {
1789
2428
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
1790
2429
  if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
1791
2430
  return !1;
1792
- let o = u.src.slice(r, c), i = 0;
1793
- for (; i < H.length && !H[i][0].test(o); i++)
2431
+ let i = u.src.slice(r, c), o = 0;
2432
+ for (; o < Iu.length && !Iu[o][0].test(i); o++)
1794
2433
  ;
1795
- if (i === H.length)
2434
+ if (o === Iu.length)
1796
2435
  return !1;
1797
2436
  if (n)
1798
- return H[i][2];
2437
+ return Iu[o][2];
1799
2438
  let a = e + 1;
1800
- if (!H[i][1].test(o)) {
2439
+ if (!Iu[o][1].test(i)) {
1801
2440
  for (; a < t && !(u.sCount[a] < u.blkIndent); a++)
1802
- if (r = u.bMarks[a] + u.tShift[a], c = u.eMarks[a], o = u.src.slice(r, c), H[i][1].test(o)) {
1803
- o.length !== 0 && a++;
2441
+ if (r = u.bMarks[a] + u.tShift[a], c = u.eMarks[a], i = u.src.slice(r, c), Iu[o][1].test(i)) {
2442
+ i.length !== 0 && a++;
1804
2443
  break;
1805
2444
  }
1806
2445
  }
@@ -1808,71 +2447,71 @@ function yt(u, e, t, n) {
1808
2447
  const s = u.push("html_block", "", 0);
1809
2448
  return s.map = [e, a], s.content = u.getLines(e, a, u.blkIndent, !0), !0;
1810
2449
  }
1811
- function wt(u, e, t, n) {
2450
+ function co(u, e, t, n) {
1812
2451
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
1813
2452
  if (u.sCount[e] - u.blkIndent >= 4)
1814
2453
  return !1;
1815
- let o = u.src.charCodeAt(r);
1816
- if (o !== 35 || r >= c)
2454
+ let i = u.src.charCodeAt(r);
2455
+ if (i !== 35 || r >= c)
1817
2456
  return !1;
1818
- let i = 1;
1819
- for (o = u.src.charCodeAt(++r); o === 35 && r < c && i <= 6; )
1820
- i++, o = u.src.charCodeAt(++r);
1821
- if (i > 6 || r < c && !E(o))
2457
+ let o = 1;
2458
+ for (i = u.src.charCodeAt(++r); i === 35 && r < c && o <= 6; )
2459
+ o++, i = u.src.charCodeAt(++r);
2460
+ if (o > 6 || r < c && !w(i))
1822
2461
  return !1;
1823
2462
  if (n)
1824
2463
  return !0;
1825
2464
  c = u.skipSpacesBack(c, r);
1826
2465
  const a = u.skipCharsBack(c, 35, r);
1827
- a > r && E(u.src.charCodeAt(a - 1)) && (c = a), u.line = e + 1;
1828
- const s = u.push("heading_open", "h" + String(i), 1);
1829
- s.markup = "########".slice(0, i), s.map = [e, u.line];
2466
+ a > r && w(u.src.charCodeAt(a - 1)) && (c = a), u.line = e + 1;
2467
+ const s = u.push("heading_open", "h" + String(o), 1);
2468
+ s.markup = "########".slice(0, o), s.map = [e, u.line];
1830
2469
  const f = u.push("inline", "", 0);
1831
2470
  f.content = u.src.slice(r, c).trim(), f.map = [e, u.line], f.children = [];
1832
- const d = u.push("heading_close", "h" + String(i), -1);
1833
- return d.markup = "########".slice(0, i), !0;
2471
+ const d = u.push("heading_close", "h" + String(o), -1);
2472
+ return d.markup = "########".slice(0, o), !0;
1834
2473
  }
1835
- function vt(u, e, t) {
2474
+ function oo(u, e, t) {
1836
2475
  const n = u.md.block.ruler.getRules("paragraph");
1837
2476
  if (u.sCount[e] - u.blkIndent >= 4)
1838
2477
  return !1;
1839
2478
  const r = u.parentType;
1840
2479
  u.parentType = "paragraph";
1841
- let c = 0, o, i = e + 1;
1842
- for (; i < t && !u.isEmpty(i); i++) {
1843
- if (u.sCount[i] - u.blkIndent > 3)
2480
+ let c = 0, i, o = e + 1;
2481
+ for (; o < t && !u.isEmpty(o); o++) {
2482
+ if (u.sCount[o] - u.blkIndent > 3)
1844
2483
  continue;
1845
- if (u.sCount[i] >= u.blkIndent) {
1846
- let b = u.bMarks[i] + u.tShift[i];
1847
- const l = u.eMarks[i];
1848
- if (b < l && (o = u.src.charCodeAt(b), (o === 45 || o === 61) && (b = u.skipChars(b, o), b = u.skipSpaces(b), b >= l))) {
1849
- c = o === 61 ? 1 : 2;
2484
+ if (u.sCount[o] >= u.blkIndent) {
2485
+ let p = u.bMarks[o] + u.tShift[o];
2486
+ const h = u.eMarks[o];
2487
+ if (p < h && (i = u.src.charCodeAt(p), (i === 45 || i === 61) && (p = u.skipChars(p, i), p = u.skipSpaces(p), p >= h))) {
2488
+ c = i === 61 ? 1 : 2;
1850
2489
  break;
1851
2490
  }
1852
2491
  }
1853
- if (u.sCount[i] < 0)
2492
+ if (u.sCount[o] < 0)
1854
2493
  continue;
1855
- let h = !1;
1856
- for (let b = 0, l = n.length; b < l; b++)
1857
- if (n[b](u, i, t, !0)) {
1858
- h = !0;
2494
+ let _ = !1;
2495
+ for (let p = 0, h = n.length; p < h; p++)
2496
+ if (n[p](u, o, t, !0)) {
2497
+ _ = !0;
1859
2498
  break;
1860
2499
  }
1861
- if (h)
2500
+ if (_)
1862
2501
  break;
1863
2502
  }
1864
2503
  if (!c)
1865
2504
  return !1;
1866
- const a = u.getLines(e, i, u.blkIndent, !1).trim();
1867
- u.line = i + 1;
2505
+ const a = u.getLines(e, o, u.blkIndent, !1).trim();
2506
+ u.line = o + 1;
1868
2507
  const s = u.push("heading_open", "h" + String(c), 1);
1869
- s.markup = String.fromCharCode(o), s.map = [e, u.line];
2508
+ s.markup = String.fromCharCode(i), s.map = [e, u.line];
1870
2509
  const f = u.push("inline", "", 0);
1871
2510
  f.content = a, f.map = [e, u.line - 1], f.children = [];
1872
2511
  const d = u.push("heading_close", "h" + String(c), -1);
1873
- return d.markup = String.fromCharCode(o), u.parentType = r, !0;
2512
+ return d.markup = String.fromCharCode(i), u.parentType = r, !0;
1874
2513
  }
1875
- function St(u, e, t) {
2514
+ function io(u, e, t) {
1876
2515
  const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
1877
2516
  let c = e + 1;
1878
2517
  for (u.parentType = "paragraph"; c < t && !u.isEmpty(c); c++) {
@@ -1887,37 +2526,37 @@ function St(u, e, t) {
1887
2526
  if (s)
1888
2527
  break;
1889
2528
  }
1890
- const o = u.getLines(e, c, u.blkIndent, !1).trim();
2529
+ const i = u.getLines(e, c, u.blkIndent, !1).trim();
1891
2530
  u.line = c;
1892
- const i = u.push("paragraph_open", "p", 1);
1893
- i.map = [e, u.line];
2531
+ const o = u.push("paragraph_open", "p", 1);
2532
+ o.map = [e, u.line];
1894
2533
  const a = u.push("inline", "", 0);
1895
- return a.content = o, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
2534
+ return a.content = i, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
1896
2535
  }
1897
- const ou = [
2536
+ const ge = [
1898
2537
  // First 2 params - rule name & source. Secondary array - list of rules,
1899
2538
  // which can be terminated by this one.
1900
- ["table", ct, ["paragraph", "reference"]],
1901
- ["code", it],
1902
- ["fence", ot, ["paragraph", "reference", "blockquote", "list"]],
1903
- ["blockquote", at, ["paragraph", "reference", "blockquote", "list"]],
1904
- ["hr", st, ["paragraph", "reference", "blockquote", "list"]],
1905
- ["list", lt, ["paragraph", "reference", "blockquote"]],
1906
- ["reference", dt],
1907
- ["html_block", yt, ["paragraph", "reference", "blockquote"]],
1908
- ["heading", wt, ["paragraph", "reference", "blockquote"]],
1909
- ["lheading", vt],
1910
- ["paragraph", St]
2539
+ ["table", Pc, ["paragraph", "reference"]],
2540
+ ["code", Bc],
2541
+ ["fence", zc, ["paragraph", "reference", "blockquote", "list"]],
2542
+ ["blockquote", qc, ["paragraph", "reference", "blockquote", "list"]],
2543
+ ["hr", Uc, ["paragraph", "reference", "blockquote", "list"]],
2544
+ ["list", $c, ["paragraph", "reference", "blockquote"]],
2545
+ ["reference", jc],
2546
+ ["html_block", ro, ["paragraph", "reference", "blockquote"]],
2547
+ ["heading", co, ["paragraph", "reference", "blockquote"]],
2548
+ ["lheading", oo],
2549
+ ["paragraph", io]
1911
2550
  ];
1912
- function hu() {
1913
- this.ruler = new w();
1914
- for (let u = 0; u < ou.length; u++)
1915
- this.ruler.push(ou[u][0], ou[u][1], { alt: (ou[u][2] || []).slice() });
2551
+ function ve() {
2552
+ this.ruler = new V();
2553
+ for (let u = 0; u < ge.length; u++)
2554
+ this.ruler.push(ge[u][0], ge[u][1], { alt: (ge[u][2] || []).slice() });
1916
2555
  }
1917
- hu.prototype.tokenize = function(u, e, t) {
2556
+ ve.prototype.tokenize = function(u, e, t) {
1918
2557
  const n = this.ruler.getRules(""), r = n.length, c = u.md.options.maxNesting;
1919
- let o = e, i = !1;
1920
- for (; o < t && (u.line = o = u.skipEmptyLines(o), !(o >= t || u.sCount[o] < u.blkIndent)); ) {
2558
+ let i = e, o = !1;
2559
+ for (; i < t && (u.line = i = u.skipEmptyLines(i), !(i >= t || u.sCount[i] < u.blkIndent)); ) {
1921
2560
  if (u.level >= c) {
1922
2561
  u.line = t;
1923
2562
  break;
@@ -1925,45 +2564,45 @@ hu.prototype.tokenize = function(u, e, t) {
1925
2564
  const a = u.line;
1926
2565
  let s = !1;
1927
2566
  for (let f = 0; f < r; f++)
1928
- if (s = n[f](u, o, t, !1), s) {
2567
+ if (s = n[f](u, i, t, !1), s) {
1929
2568
  if (a >= u.line)
1930
2569
  throw new Error("block rule didn't increment state.line");
1931
2570
  break;
1932
2571
  }
1933
2572
  if (!s) throw new Error("none of the block rules matched");
1934
- u.tight = !i, u.isEmpty(u.line - 1) && (i = !0), o = u.line, o < t && u.isEmpty(o) && (i = !0, o++, u.line = o);
2573
+ u.tight = !o, u.isEmpty(u.line - 1) && (o = !0), i = u.line, i < t && u.isEmpty(i) && (o = !0, i++, u.line = i);
1935
2574
  }
1936
2575
  };
1937
- hu.prototype.parse = function(u, e, t, n) {
2576
+ ve.prototype.parse = function(u, e, t, n) {
1938
2577
  if (!u)
1939
2578
  return;
1940
2579
  const r = new this.State(u, e, t, n);
1941
2580
  this.tokenize(r, r.line, r.lineMax);
1942
2581
  };
1943
- hu.prototype.State = R;
1944
- function nu(u, e, t, n) {
2582
+ ve.prototype.State = iu;
2583
+ function oe(u, e, t, n) {
1945
2584
  this.src = u, this.env = t, this.md = e, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
1946
2585
  }
1947
- nu.prototype.pushPending = function() {
1948
- const u = new z("text", "", 0);
2586
+ oe.prototype.pushPending = function() {
2587
+ const u = new eu("text", "", 0);
1949
2588
  return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
1950
2589
  };
1951
- nu.prototype.push = function(u, e, t) {
2590
+ oe.prototype.push = function(u, e, t) {
1952
2591
  this.pending && this.pushPending();
1953
- const n = new z(u, e, t);
2592
+ const n = new eu(u, e, t);
1954
2593
  let r = null;
1955
2594
  return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
1956
2595
  };
1957
- nu.prototype.scanDelims = function(u, e) {
2596
+ oe.prototype.scanDelims = function(u, e) {
1958
2597
  const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
1959
2598
  let c = u;
1960
2599
  for (; c < t && this.src.charCodeAt(c) === n; )
1961
2600
  c++;
1962
- const o = c - u, i = c < t ? this.src.charCodeAt(c) : 32, a = uu(r) || K(String.fromCharCode(r)), s = uu(i) || K(String.fromCharCode(i)), f = Y(r), d = Y(i), h = !d && (!s || f || a), b = !f && (!a || d || s);
1963
- return { can_open: h && (e || !b || a), can_close: b && (e || !h || s), length: o };
2601
+ const i = c - u, o = c < t ? this.src.charCodeAt(c) : 32, a = ue(r) || Ku(String.fromCharCode(r)), s = ue(o) || Ku(String.fromCharCode(o)), f = Qu(r), d = Qu(o), _ = !d && (!s || f || a), p = !f && (!a || d || s);
2602
+ return { can_open: _ && (e || !p || a), can_close: p && (e || !_ || s), length: i };
1964
2603
  };
1965
- nu.prototype.Token = z;
1966
- function Bt(u) {
2604
+ oe.prototype.Token = eu;
2605
+ function ao(u) {
1967
2606
  switch (u) {
1968
2607
  case 10:
1969
2608
  case 33:
@@ -1993,38 +2632,38 @@ function Bt(u) {
1993
2632
  return !1;
1994
2633
  }
1995
2634
  }
1996
- function Tt(u, e) {
2635
+ function so(u, e) {
1997
2636
  let t = u.pos;
1998
- for (; t < u.posMax && !Bt(u.src.charCodeAt(t)); )
2637
+ for (; t < u.posMax && !ao(u.src.charCodeAt(t)); )
1999
2638
  t++;
2000
2639
  return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
2001
2640
  }
2002
- const zt = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
2003
- function It(u, e) {
2641
+ const lo = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
2642
+ function fo(u, e) {
2004
2643
  if (!u.md.options.linkify || u.linkLevel > 0) return !1;
2005
2644
  const t = u.pos, n = u.posMax;
2006
2645
  if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
2007
- const r = u.pending.match(zt);
2646
+ const r = u.pending.match(lo);
2008
2647
  if (!r) return !1;
2009
- const c = r[1], o = u.md.linkify.matchAtStart(u.src.slice(t - c.length));
2010
- if (!o) return !1;
2011
- let i = o.url;
2012
- if (i.length <= c.length) return !1;
2013
- i = i.replace(/\*+$/, "");
2014
- const a = u.md.normalizeLink(i);
2648
+ const c = r[1], i = u.md.linkify.matchAtStart(u.src.slice(t - c.length));
2649
+ if (!i) return !1;
2650
+ let o = i.url;
2651
+ if (o.length <= c.length) return !1;
2652
+ o = o.replace(/\*+$/, "");
2653
+ const a = u.md.normalizeLink(o);
2015
2654
  if (!u.md.validateLink(a)) return !1;
2016
2655
  if (!e) {
2017
2656
  u.pending = u.pending.slice(0, -c.length);
2018
2657
  const s = u.push("link_open", "a", 1);
2019
2658
  s.attrs = [["href", a]], s.markup = "linkify", s.info = "auto";
2020
2659
  const f = u.push("text", "", 0);
2021
- f.content = u.md.normalizeLinkText(i);
2660
+ f.content = u.md.normalizeLinkText(o);
2022
2661
  const d = u.push("link_close", "a", -1);
2023
2662
  d.markup = "linkify", d.info = "auto";
2024
2663
  }
2025
- return u.pos += i.length - c.length, !0;
2664
+ return u.pos += o.length - c.length, !0;
2026
2665
  }
2027
- function Mt(u, e) {
2666
+ function ho(u, e) {
2028
2667
  let t = u.pos;
2029
2668
  if (u.src.charCodeAt(t) !== 10)
2030
2669
  return !1;
@@ -2039,39 +2678,39 @@ function Mt(u, e) {
2039
2678
  u.pending = u.pending.slice(0, -1), u.push("softbreak", "br", 0);
2040
2679
  else
2041
2680
  u.push("softbreak", "br", 0);
2042
- for (t++; t < r && E(u.src.charCodeAt(t)); )
2681
+ for (t++; t < r && w(u.src.charCodeAt(t)); )
2043
2682
  t++;
2044
2683
  return u.pos = t, !0;
2045
2684
  }
2046
- const Ru = [];
2685
+ const _0 = [];
2047
2686
  for (let u = 0; u < 256; u++)
2048
- Ru.push(0);
2687
+ _0.push(0);
2049
2688
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
2050
- Ru[u.charCodeAt(0)] = 1;
2689
+ _0[u.charCodeAt(0)] = 1;
2051
2690
  });
2052
- function qt(u, e) {
2691
+ function po(u, e) {
2053
2692
  let t = u.pos;
2054
2693
  const n = u.posMax;
2055
2694
  if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
2056
2695
  let r = u.src.charCodeAt(t);
2057
2696
  if (r === 10) {
2058
- for (e || u.push("hardbreak", "br", 0), t++; t < n && (r = u.src.charCodeAt(t), !!E(r)); )
2697
+ for (e || u.push("hardbreak", "br", 0), t++; t < n && (r = u.src.charCodeAt(t), !!w(r)); )
2059
2698
  t++;
2060
2699
  return u.pos = t, !0;
2061
2700
  }
2062
2701
  let c = u.src[t];
2063
2702
  if (r >= 55296 && r <= 56319 && t + 1 < n) {
2064
- const i = u.src.charCodeAt(t + 1);
2065
- i >= 56320 && i <= 57343 && (c += u.src[t + 1], t++);
2703
+ const o = u.src.charCodeAt(t + 1);
2704
+ o >= 56320 && o <= 57343 && (c += u.src[t + 1], t++);
2066
2705
  }
2067
- const o = "\\" + c;
2706
+ const i = "\\" + c;
2068
2707
  if (!e) {
2069
- const i = u.push("text_special", "", 0);
2070
- r < 256 && Ru[r] !== 0 ? i.content = c : i.content = o, i.markup = o, i.info = "escape";
2708
+ const o = u.push("text_special", "", 0);
2709
+ r < 256 && _0[r] !== 0 ? o.content = c : o.content = i, o.markup = i, o.info = "escape";
2071
2710
  }
2072
2711
  return u.pos = t + 1, !0;
2073
2712
  }
2074
- function Rt(u, e) {
2713
+ function bo(u, e) {
2075
2714
  let t = u.pos;
2076
2715
  if (u.src.charCodeAt(t) !== 96)
2077
2716
  return !1;
@@ -2080,38 +2719,38 @@ function Rt(u, e) {
2080
2719
  const c = u.posMax;
2081
2720
  for (; t < c && u.src.charCodeAt(t) === 96; )
2082
2721
  t++;
2083
- const o = u.src.slice(r, t), i = o.length;
2084
- if (u.backticksScanned && (u.backticks[i] || 0) <= r)
2085
- return e || (u.pending += o), u.pos += i, !0;
2722
+ const i = u.src.slice(r, t), o = i.length;
2723
+ if (u.backticksScanned && (u.backticks[o] || 0) <= r)
2724
+ return e || (u.pending += i), u.pos += o, !0;
2086
2725
  let a = t, s;
2087
2726
  for (; (s = u.src.indexOf("`", a)) !== -1; ) {
2088
2727
  for (a = s + 1; a < c && u.src.charCodeAt(a) === 96; )
2089
2728
  a++;
2090
2729
  const f = a - s;
2091
- if (f === i) {
2730
+ if (f === o) {
2092
2731
  if (!e) {
2093
2732
  const d = u.push("code_inline", "code", 0);
2094
- d.markup = o, d.content = u.src.slice(t, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
2733
+ d.markup = i, d.content = u.src.slice(t, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
2095
2734
  }
2096
2735
  return u.pos = a, !0;
2097
2736
  }
2098
2737
  u.backticks[f] = s;
2099
2738
  }
2100
- return u.backticksScanned = !0, e || (u.pending += o), u.pos += i, !0;
2739
+ return u.backticksScanned = !0, e || (u.pending += i), u.pos += o, !0;
2101
2740
  }
2102
- function Lt(u, e) {
2741
+ function _o(u, e) {
2103
2742
  const t = u.pos, n = u.src.charCodeAt(t);
2104
2743
  if (e || n !== 126)
2105
2744
  return !1;
2106
2745
  const r = u.scanDelims(u.pos, !0);
2107
2746
  let c = r.length;
2108
- const o = String.fromCharCode(n);
2747
+ const i = String.fromCharCode(n);
2109
2748
  if (c < 2)
2110
2749
  return !1;
2111
- let i;
2112
- c % 2 && (i = u.push("text", "", 0), i.content = o, c--);
2750
+ let o;
2751
+ c % 2 && (o = u.push("text", "", 0), o.content = i, c--);
2113
2752
  for (let a = 0; a < c; a += 2)
2114
- i = u.push("text", "", 0), i.content = o + o, u.delimiters.push({
2753
+ o = u.push("text", "", 0), o.content = i + i, u.delimiters.push({
2115
2754
  marker: n,
2116
2755
  length: 0,
2117
2756
  // disable "rule of 3" length checks meant for emphasis
@@ -2122,42 +2761,42 @@ function Lt(u, e) {
2122
2761
  });
2123
2762
  return u.pos += r.length, !0;
2124
2763
  }
2125
- function Ku(u, e) {
2764
+ function _t(u, e) {
2126
2765
  let t;
2127
2766
  const n = [], r = e.length;
2128
2767
  for (let c = 0; c < r; c++) {
2129
- const o = e[c];
2130
- if (o.marker !== 126 || o.end === -1)
2768
+ const i = e[c];
2769
+ if (i.marker !== 126 || i.end === -1)
2131
2770
  continue;
2132
- const i = e[o.end];
2133
- t = u.tokens[o.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[i.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[i.token - 1].type === "text" && u.tokens[i.token - 1].content === "~" && n.push(i.token - 1);
2771
+ const o = e[i.end];
2772
+ t = u.tokens[i.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[o.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[o.token - 1].type === "text" && u.tokens[o.token - 1].content === "~" && n.push(o.token - 1);
2134
2773
  }
2135
2774
  for (; n.length; ) {
2136
2775
  const c = n.pop();
2137
- let o = c + 1;
2138
- for (; o < u.tokens.length && u.tokens[o].type === "s_close"; )
2139
- o++;
2140
- o--, c !== o && (t = u.tokens[o], u.tokens[o] = u.tokens[c], u.tokens[c] = t);
2776
+ let i = c + 1;
2777
+ for (; i < u.tokens.length && u.tokens[i].type === "s_close"; )
2778
+ i++;
2779
+ i--, c !== i && (t = u.tokens[i], u.tokens[i] = u.tokens[c], u.tokens[c] = t);
2141
2780
  }
2142
2781
  }
2143
- function Pt(u) {
2782
+ function mo(u) {
2144
2783
  const e = u.tokens_meta, t = u.tokens_meta.length;
2145
- Ku(u, u.delimiters);
2784
+ _t(u, u.delimiters);
2146
2785
  for (let n = 0; n < t; n++)
2147
- e[n] && e[n].delimiters && Ku(u, e[n].delimiters);
2786
+ e[n] && e[n].delimiters && _t(u, e[n].delimiters);
2148
2787
  }
2149
- const D0 = {
2150
- tokenize: Lt,
2151
- postProcess: Pt
2788
+ const $t = {
2789
+ tokenize: _o,
2790
+ postProcess: mo
2152
2791
  };
2153
- function Ot(u, e) {
2792
+ function xo(u, e) {
2154
2793
  const t = u.pos, n = u.src.charCodeAt(t);
2155
2794
  if (e || n !== 95 && n !== 42)
2156
2795
  return !1;
2157
2796
  const r = u.scanDelims(u.pos, n === 42);
2158
2797
  for (let c = 0; c < r.length; c++) {
2159
- const o = u.push("text", "", 0);
2160
- o.content = String.fromCharCode(n), u.delimiters.push({
2798
+ const i = u.push("text", "", 0);
2799
+ i.content = String.fromCharCode(n), u.delimiters.push({
2161
2800
  // Char code of the starting marker (number).
2162
2801
  //
2163
2802
  marker: n,
@@ -2180,130 +2819,130 @@ function Ot(u, e) {
2180
2819
  }
2181
2820
  return u.pos += r.length, !0;
2182
2821
  }
2183
- function u0(u, e) {
2822
+ function mt(u, e) {
2184
2823
  const t = e.length;
2185
2824
  for (let n = t - 1; n >= 0; n--) {
2186
2825
  const r = e[n];
2187
2826
  if (r.marker !== 95 && r.marker !== 42 || r.end === -1)
2188
2827
  continue;
2189
- const c = e[r.end], o = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
2828
+ const c = e[r.end], i = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
2190
2829
  e[n - 1].marker === r.marker && e[n - 1].token === r.token - 1 && // check that last two markers are adjacent (we can safely assume they match)
2191
- e[r.end + 1].token === c.token + 1, i = String.fromCharCode(r.marker), a = u.tokens[r.token];
2192
- a.type = o ? "strong_open" : "em_open", a.tag = o ? "strong" : "em", a.nesting = 1, a.markup = o ? i + i : i, a.content = "";
2830
+ e[r.end + 1].token === c.token + 1, o = String.fromCharCode(r.marker), a = u.tokens[r.token];
2831
+ a.type = i ? "strong_open" : "em_open", a.tag = i ? "strong" : "em", a.nesting = 1, a.markup = i ? o + o : o, a.content = "";
2193
2832
  const s = u.tokens[c.token];
2194
- s.type = o ? "strong_close" : "em_close", s.tag = o ? "strong" : "em", s.nesting = -1, s.markup = o ? i + i : i, s.content = "", o && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
2833
+ s.type = i ? "strong_close" : "em_close", s.tag = i ? "strong" : "em", s.nesting = -1, s.markup = i ? o + o : o, s.content = "", i && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
2195
2834
  }
2196
2835
  }
2197
- function Nt(u) {
2836
+ function go(u) {
2198
2837
  const e = u.tokens_meta, t = u.tokens_meta.length;
2199
- u0(u, u.delimiters);
2838
+ mt(u, u.delimiters);
2200
2839
  for (let n = 0; n < t; n++)
2201
- e[n] && e[n].delimiters && u0(u, e[n].delimiters);
2840
+ e[n] && e[n].delimiters && mt(u, e[n].delimiters);
2202
2841
  }
2203
- const C0 = {
2204
- tokenize: Ot,
2205
- postProcess: Nt
2842
+ const jt = {
2843
+ tokenize: xo,
2844
+ postProcess: go
2206
2845
  };
2207
- function $t(u, e) {
2208
- let t, n, r, c, o = "", i = "", a = u.pos, s = !0;
2846
+ function ko(u, e) {
2847
+ let t, n, r, c, i = "", o = "", a = u.pos, s = !0;
2209
2848
  if (u.src.charCodeAt(u.pos) !== 91)
2210
2849
  return !1;
2211
- const f = u.pos, d = u.posMax, h = u.pos + 1, b = u.md.helpers.parseLinkLabel(u, u.pos, !0);
2212
- if (b < 0)
2850
+ const f = u.pos, d = u.posMax, _ = u.pos + 1, p = u.md.helpers.parseLinkLabel(u, u.pos, !0);
2851
+ if (p < 0)
2213
2852
  return !1;
2214
- let l = b + 1;
2215
- if (l < d && u.src.charCodeAt(l) === 40) {
2216
- for (s = !1, l++; l < d && (t = u.src.charCodeAt(l), !(!E(t) && t !== 10)); l++)
2853
+ let h = p + 1;
2854
+ if (h < d && u.src.charCodeAt(h) === 40) {
2855
+ for (s = !1, h++; h < d && (t = u.src.charCodeAt(h), !(!w(t) && t !== 10)); h++)
2217
2856
  ;
2218
- if (l >= d)
2857
+ if (h >= d)
2219
2858
  return !1;
2220
- if (a = l, r = u.md.helpers.parseLinkDestination(u.src, l, u.posMax), r.ok) {
2221
- for (o = u.md.normalizeLink(r.str), u.md.validateLink(o) ? l = r.pos : o = "", a = l; l < d && (t = u.src.charCodeAt(l), !(!E(t) && t !== 10)); l++)
2859
+ if (a = h, r = u.md.helpers.parseLinkDestination(u.src, h, u.posMax), r.ok) {
2860
+ for (i = u.md.normalizeLink(r.str), u.md.validateLink(i) ? h = r.pos : i = "", a = h; h < d && (t = u.src.charCodeAt(h), !(!w(t) && t !== 10)); h++)
2222
2861
  ;
2223
- if (r = u.md.helpers.parseLinkTitle(u.src, l, u.posMax), l < d && a !== l && r.ok)
2224
- for (i = r.str, l = r.pos; l < d && (t = u.src.charCodeAt(l), !(!E(t) && t !== 10)); l++)
2862
+ if (r = u.md.helpers.parseLinkTitle(u.src, h, u.posMax), h < d && a !== h && r.ok)
2863
+ for (o = r.str, h = r.pos; h < d && (t = u.src.charCodeAt(h), !(!w(t) && t !== 10)); h++)
2225
2864
  ;
2226
2865
  }
2227
- (l >= d || u.src.charCodeAt(l) !== 41) && (s = !0), l++;
2866
+ (h >= d || u.src.charCodeAt(h) !== 41) && (s = !0), h++;
2228
2867
  }
2229
2868
  if (s) {
2230
2869
  if (typeof u.env.references > "u")
2231
2870
  return !1;
2232
- if (l < d && u.src.charCodeAt(l) === 91 ? (a = l + 1, l = u.md.helpers.parseLinkLabel(u, l), l >= 0 ? n = u.src.slice(a, l++) : l = b + 1) : l = b + 1, n || (n = u.src.slice(h, b)), c = u.env.references[bu(n)], !c)
2871
+ if (h < d && u.src.charCodeAt(h) === 91 ? (a = h + 1, h = u.md.helpers.parseLinkLabel(u, h), h >= 0 ? n = u.src.slice(a, h++) : h = p + 1) : h = p + 1, n || (n = u.src.slice(_, p)), c = u.env.references[we(n)], !c)
2233
2872
  return u.pos = f, !1;
2234
- o = c.href, i = c.title;
2873
+ i = c.href, o = c.title;
2235
2874
  }
2236
2875
  if (!e) {
2237
- u.pos = h, u.posMax = b;
2238
- const k = u.push("link_open", "a", 1), g = [["href", o]];
2239
- k.attrs = g, i && g.push(["title", i]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
2876
+ u.pos = _, u.posMax = p;
2877
+ const C = u.push("link_open", "a", 1), D = [["href", i]];
2878
+ C.attrs = D, o && D.push(["title", o]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
2240
2879
  }
2241
- return u.pos = l, u.posMax = d, !0;
2880
+ return u.pos = h, u.posMax = d, !0;
2242
2881
  }
2243
- function jt(u, e) {
2244
- let t, n, r, c, o, i, a, s, f = "";
2245
- const d = u.pos, h = u.posMax;
2882
+ function Eo(u, e) {
2883
+ let t, n, r, c, i, o, a, s, f = "";
2884
+ const d = u.pos, _ = u.posMax;
2246
2885
  if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
2247
2886
  return !1;
2248
- const b = u.pos + 2, l = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
2249
- if (l < 0)
2887
+ const p = u.pos + 2, h = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
2888
+ if (h < 0)
2250
2889
  return !1;
2251
- if (c = l + 1, c < h && u.src.charCodeAt(c) === 40) {
2252
- for (c++; c < h && (t = u.src.charCodeAt(c), !(!E(t) && t !== 10)); c++)
2890
+ if (c = h + 1, c < _ && u.src.charCodeAt(c) === 40) {
2891
+ for (c++; c < _ && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
2253
2892
  ;
2254
- if (c >= h)
2893
+ if (c >= _)
2255
2894
  return !1;
2256
- for (s = c, i = u.md.helpers.parseLinkDestination(u.src, c, u.posMax), i.ok && (f = u.md.normalizeLink(i.str), u.md.validateLink(f) ? c = i.pos : f = ""), s = c; c < h && (t = u.src.charCodeAt(c), !(!E(t) && t !== 10)); c++)
2895
+ for (s = c, o = u.md.helpers.parseLinkDestination(u.src, c, u.posMax), o.ok && (f = u.md.normalizeLink(o.str), u.md.validateLink(f) ? c = o.pos : f = ""), s = c; c < _ && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
2257
2896
  ;
2258
- if (i = u.md.helpers.parseLinkTitle(u.src, c, u.posMax), c < h && s !== c && i.ok)
2259
- for (a = i.str, c = i.pos; c < h && (t = u.src.charCodeAt(c), !(!E(t) && t !== 10)); c++)
2897
+ if (o = u.md.helpers.parseLinkTitle(u.src, c, u.posMax), c < _ && s !== c && o.ok)
2898
+ for (a = o.str, c = o.pos; c < _ && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
2260
2899
  ;
2261
2900
  else
2262
2901
  a = "";
2263
- if (c >= h || u.src.charCodeAt(c) !== 41)
2902
+ if (c >= _ || u.src.charCodeAt(c) !== 41)
2264
2903
  return u.pos = d, !1;
2265
2904
  c++;
2266
2905
  } else {
2267
2906
  if (typeof u.env.references > "u")
2268
2907
  return !1;
2269
- if (c < h && u.src.charCodeAt(c) === 91 ? (s = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(s, c++) : c = l + 1) : c = l + 1, r || (r = u.src.slice(b, l)), o = u.env.references[bu(r)], !o)
2908
+ if (c < _ && u.src.charCodeAt(c) === 91 ? (s = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(s, c++) : c = h + 1) : c = h + 1, r || (r = u.src.slice(p, h)), i = u.env.references[we(r)], !i)
2270
2909
  return u.pos = d, !1;
2271
- f = o.href, a = o.title;
2910
+ f = i.href, a = i.title;
2272
2911
  }
2273
2912
  if (!e) {
2274
- n = u.src.slice(b, l);
2275
- const k = [];
2913
+ n = u.src.slice(p, h);
2914
+ const C = [];
2276
2915
  u.md.inline.parse(
2277
2916
  n,
2278
2917
  u.md,
2279
2918
  u.env,
2280
- k
2919
+ C
2281
2920
  );
2282
- const g = u.push("image", "img", 0), C = [["src", f], ["alt", ""]];
2283
- g.attrs = C, g.children = k, g.content = n, a && C.push(["title", a]);
2921
+ const D = u.push("image", "img", 0), T = [["src", f], ["alt", ""]];
2922
+ D.attrs = T, D.children = C, D.content = n, a && T.push(["title", a]);
2284
2923
  }
2285
- return u.pos = c, u.posMax = h, !0;
2924
+ return u.pos = c, u.posMax = _, !0;
2286
2925
  }
2287
- const Ut = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, Zt = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
2288
- function Ht(u, e) {
2926
+ const Ao = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, Co = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
2927
+ function Do(u, e) {
2289
2928
  let t = u.pos;
2290
2929
  if (u.src.charCodeAt(t) !== 60)
2291
2930
  return !1;
2292
2931
  const n = u.pos, r = u.posMax;
2293
2932
  for (; ; ) {
2294
2933
  if (++t >= r) return !1;
2295
- const o = u.src.charCodeAt(t);
2296
- if (o === 60) return !1;
2297
- if (o === 62) break;
2934
+ const i = u.src.charCodeAt(t);
2935
+ if (i === 60) return !1;
2936
+ if (i === 62) break;
2298
2937
  }
2299
2938
  const c = u.src.slice(n + 1, t);
2300
- if (Zt.test(c)) {
2301
- const o = u.md.normalizeLink(c);
2302
- if (!u.md.validateLink(o))
2939
+ if (Co.test(c)) {
2940
+ const i = u.md.normalizeLink(c);
2941
+ if (!u.md.validateLink(i))
2303
2942
  return !1;
2304
2943
  if (!e) {
2305
- const i = u.push("link_open", "a", 1);
2306
- i.attrs = [["href", o]], i.markup = "autolink", i.info = "auto";
2944
+ const o = u.push("link_open", "a", 1);
2945
+ o.attrs = [["href", i]], o.markup = "autolink", o.info = "auto";
2307
2946
  const a = u.push("text", "", 0);
2308
2947
  a.content = u.md.normalizeLinkText(c);
2309
2948
  const s = u.push("link_close", "a", -1);
@@ -2311,13 +2950,13 @@ function Ht(u, e) {
2311
2950
  }
2312
2951
  return u.pos += c.length + 2, !0;
2313
2952
  }
2314
- if (Ut.test(c)) {
2315
- const o = u.md.normalizeLink("mailto:" + c);
2316
- if (!u.md.validateLink(o))
2953
+ if (Ao.test(c)) {
2954
+ const i = u.md.normalizeLink("mailto:" + c);
2955
+ if (!u.md.validateLink(i))
2317
2956
  return !1;
2318
2957
  if (!e) {
2319
- const i = u.push("link_open", "a", 1);
2320
- i.attrs = [["href", o]], i.markup = "autolink", i.info = "auto";
2958
+ const o = u.push("link_open", "a", 1);
2959
+ o.attrs = [["href", i]], o.markup = "autolink", o.info = "auto";
2321
2960
  const a = u.push("text", "", 0);
2322
2961
  a.content = u.md.normalizeLinkText(c);
2323
2962
  const s = u.push("link_close", "a", -1);
@@ -2327,55 +2966,55 @@ function Ht(u, e) {
2327
2966
  }
2328
2967
  return !1;
2329
2968
  }
2330
- function Vt(u) {
2969
+ function yo(u) {
2331
2970
  return /^<a[>\s]/i.test(u);
2332
2971
  }
2333
- function Gt(u) {
2972
+ function Fo(u) {
2334
2973
  return /^<\/a\s*>/i.test(u);
2335
2974
  }
2336
- function Wt(u) {
2975
+ function To(u) {
2337
2976
  const e = u | 32;
2338
2977
  return e >= 97 && e <= 122;
2339
2978
  }
2340
- function Jt(u, e) {
2979
+ function So(u, e) {
2341
2980
  if (!u.md.options.html)
2342
2981
  return !1;
2343
2982
  const t = u.posMax, n = u.pos;
2344
2983
  if (u.src.charCodeAt(n) !== 60 || n + 2 >= t)
2345
2984
  return !1;
2346
2985
  const r = u.src.charCodeAt(n + 1);
2347
- if (r !== 33 && r !== 63 && r !== 47 && !Wt(r))
2986
+ if (r !== 33 && r !== 63 && r !== 47 && !To(r))
2348
2987
  return !1;
2349
- const c = u.src.slice(n).match(Ft);
2988
+ const c = u.src.slice(n).match(to);
2350
2989
  if (!c)
2351
2990
  return !1;
2352
2991
  if (!e) {
2353
- const o = u.push("html_inline", "", 0);
2354
- o.content = c[0], Vt(o.content) && u.linkLevel++, Gt(o.content) && u.linkLevel--;
2992
+ const i = u.push("html_inline", "", 0);
2993
+ i.content = c[0], yo(i.content) && u.linkLevel++, Fo(i.content) && u.linkLevel--;
2355
2994
  }
2356
2995
  return u.pos += c[0].length, !0;
2357
2996
  }
2358
- const Qt = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Xt = /^&([a-z][a-z0-9]{1,31});/i;
2359
- function Yt(u, e) {
2997
+ const wo = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, vo = /^&([a-z][a-z0-9]{1,31});/i;
2998
+ function Ro(u, e) {
2360
2999
  const t = u.pos, n = u.posMax;
2361
3000
  if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
2362
3001
  if (u.src.charCodeAt(t + 1) === 35) {
2363
- const c = u.src.slice(t).match(Qt);
3002
+ const c = u.src.slice(t).match(wo);
2364
3003
  if (c) {
2365
3004
  if (!e) {
2366
- const o = c[1][0].toLowerCase() === "x" ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), i = u.push("text_special", "", 0);
2367
- i.content = Mu(o) ? fu(o) : fu(65533), i.markup = c[0], i.info = "entity";
3005
+ const i = c[1][0].toLowerCase() === "x" ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), o = u.push("text_special", "", 0);
3006
+ o.content = p0(i) ? Fe(i) : Fe(65533), o.markup = c[0], o.info = "entity";
2368
3007
  }
2369
3008
  return u.pos += c[0].length, !0;
2370
3009
  }
2371
3010
  } else {
2372
- const c = u.src.slice(t).match(Xt);
3011
+ const c = u.src.slice(t).match(vo);
2373
3012
  if (c) {
2374
- const o = h0(c[0]);
2375
- if (o !== c[0]) {
3013
+ const i = Nt(c[0]);
3014
+ if (i !== c[0]) {
2376
3015
  if (!e) {
2377
- const i = u.push("text_special", "", 0);
2378
- i.content = o, i.markup = c[0], i.info = "entity";
3016
+ const o = u.push("text_special", "", 0);
3017
+ o.content = i, o.markup = c[0], o.info = "entity";
2379
3018
  }
2380
3019
  return u.pos += c[0].length, !0;
2381
3020
  }
@@ -2383,105 +3022,105 @@ function Yt(u, e) {
2383
3022
  }
2384
3023
  return !1;
2385
3024
  }
2386
- function e0(u) {
3025
+ function xt(u) {
2387
3026
  const e = {}, t = u.length;
2388
3027
  if (!t) return;
2389
3028
  let n = 0, r = -2;
2390
3029
  const c = [];
2391
- for (let o = 0; o < t; o++) {
2392
- const i = u[o];
2393
- if (c.push(0), (u[n].marker !== i.marker || r !== i.token - 1) && (n = o), r = i.token, i.length = i.length || 0, !i.close) continue;
2394
- e.hasOwnProperty(i.marker) || (e[i.marker] = [-1, -1, -1, -1, -1, -1]);
2395
- const a = e[i.marker][(i.open ? 3 : 0) + i.length % 3];
3030
+ for (let i = 0; i < t; i++) {
3031
+ const o = u[i];
3032
+ if (c.push(0), (u[n].marker !== o.marker || r !== o.token - 1) && (n = i), r = o.token, o.length = o.length || 0, !o.close) continue;
3033
+ e.hasOwnProperty(o.marker) || (e[o.marker] = [-1, -1, -1, -1, -1, -1]);
3034
+ const a = e[o.marker][(o.open ? 3 : 0) + o.length % 3];
2396
3035
  let s = n - c[n] - 1, f = s;
2397
3036
  for (; s > a; s -= c[s] + 1) {
2398
3037
  const d = u[s];
2399
- if (d.marker === i.marker && d.open && d.end < 0) {
2400
- let h = !1;
2401
- if ((d.close || i.open) && (d.length + i.length) % 3 === 0 && (d.length % 3 !== 0 || i.length % 3 !== 0) && (h = !0), !h) {
2402
- const b = s > 0 && !u[s - 1].open ? c[s - 1] + 1 : 0;
2403
- c[o] = o - s + b, c[s] = b, i.open = !1, d.end = o, d.close = !1, f = -1, r = -2;
3038
+ if (d.marker === o.marker && d.open && d.end < 0) {
3039
+ let _ = !1;
3040
+ if ((d.close || o.open) && (d.length + o.length) % 3 === 0 && (d.length % 3 !== 0 || o.length % 3 !== 0) && (_ = !0), !_) {
3041
+ const p = s > 0 && !u[s - 1].open ? c[s - 1] + 1 : 0;
3042
+ c[i] = i - s + p, c[s] = p, o.open = !1, d.end = i, d.close = !1, f = -1, r = -2;
2404
3043
  break;
2405
3044
  }
2406
3045
  }
2407
3046
  }
2408
- f !== -1 && (e[i.marker][(i.open ? 3 : 0) + (i.length || 0) % 3] = f);
3047
+ f !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = f);
2409
3048
  }
2410
3049
  }
2411
- function Kt(u) {
3050
+ function Io(u) {
2412
3051
  const e = u.tokens_meta, t = u.tokens_meta.length;
2413
- e0(u.delimiters);
3052
+ xt(u.delimiters);
2414
3053
  for (let n = 0; n < t; n++)
2415
- e[n] && e[n].delimiters && e0(e[n].delimiters);
3054
+ e[n] && e[n].delimiters && xt(e[n].delimiters);
2416
3055
  }
2417
- function ur(u) {
3056
+ function Mo(u) {
2418
3057
  let e, t, n = 0;
2419
3058
  const r = u.tokens, c = u.tokens.length;
2420
3059
  for (e = t = 0; e < c; e++)
2421
3060
  r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < c && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
2422
3061
  e !== t && (r.length = t);
2423
3062
  }
2424
- const Cu = [
2425
- ["text", Tt],
2426
- ["linkify", It],
2427
- ["newline", Mt],
2428
- ["escape", qt],
2429
- ["backticks", Rt],
2430
- ["strikethrough", D0.tokenize],
2431
- ["emphasis", C0.tokenize],
2432
- ["link", $t],
2433
- ["image", jt],
2434
- ["autolink", Ht],
2435
- ["html_inline", Jt],
2436
- ["entity", Yt]
2437
- ], Eu = [
2438
- ["balance_pairs", Kt],
2439
- ["strikethrough", D0.postProcess],
2440
- ["emphasis", C0.postProcess],
3063
+ const Qe = [
3064
+ ["text", so],
3065
+ ["linkify", fo],
3066
+ ["newline", ho],
3067
+ ["escape", po],
3068
+ ["backticks", bo],
3069
+ ["strikethrough", $t.tokenize],
3070
+ ["emphasis", jt.tokenize],
3071
+ ["link", ko],
3072
+ ["image", Eo],
3073
+ ["autolink", Do],
3074
+ ["html_inline", So],
3075
+ ["entity", Ro]
3076
+ ], Ke = [
3077
+ ["balance_pairs", Io],
3078
+ ["strikethrough", $t.postProcess],
3079
+ ["emphasis", jt.postProcess],
2441
3080
  // rules for pairs separate '**' into its own text tokens, which may be left unused,
2442
3081
  // rule below merges unused segments back with the rest of the text
2443
- ["fragments_join", ur]
3082
+ ["fragments_join", Mo]
2444
3083
  ];
2445
- function cu() {
2446
- this.ruler = new w();
2447
- for (let u = 0; u < Cu.length; u++)
2448
- this.ruler.push(Cu[u][0], Cu[u][1]);
2449
- this.ruler2 = new w();
2450
- for (let u = 0; u < Eu.length; u++)
2451
- this.ruler2.push(Eu[u][0], Eu[u][1]);
2452
- }
2453
- cu.prototype.skipToken = function(u) {
3084
+ function ie() {
3085
+ this.ruler = new V();
3086
+ for (let u = 0; u < Qe.length; u++)
3087
+ this.ruler.push(Qe[u][0], Qe[u][1]);
3088
+ this.ruler2 = new V();
3089
+ for (let u = 0; u < Ke.length; u++)
3090
+ this.ruler2.push(Ke[u][0], Ke[u][1]);
3091
+ }
3092
+ ie.prototype.skipToken = function(u) {
2454
3093
  const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, c = u.cache;
2455
3094
  if (typeof c[e] < "u") {
2456
3095
  u.pos = c[e];
2457
3096
  return;
2458
3097
  }
2459
- let o = !1;
3098
+ let i = !1;
2460
3099
  if (u.level < r) {
2461
- for (let i = 0; i < n; i++)
2462
- if (u.level++, o = t[i](u, !0), u.level--, o) {
3100
+ for (let o = 0; o < n; o++)
3101
+ if (u.level++, i = t[o](u, !0), u.level--, i) {
2463
3102
  if (e >= u.pos)
2464
3103
  throw new Error("inline rule didn't increment state.pos");
2465
3104
  break;
2466
3105
  }
2467
3106
  } else
2468
3107
  u.pos = u.posMax;
2469
- o || u.pos++, c[e] = u.pos;
3108
+ i || u.pos++, c[e] = u.pos;
2470
3109
  };
2471
- cu.prototype.tokenize = function(u) {
3110
+ ie.prototype.tokenize = function(u) {
2472
3111
  const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
2473
3112
  for (; u.pos < n; ) {
2474
3113
  const c = u.pos;
2475
- let o = !1;
3114
+ let i = !1;
2476
3115
  if (u.level < r) {
2477
- for (let i = 0; i < t; i++)
2478
- if (o = e[i](u, !1), o) {
3116
+ for (let o = 0; o < t; o++)
3117
+ if (i = e[o](u, !1), i) {
2479
3118
  if (c >= u.pos)
2480
3119
  throw new Error("inline rule didn't increment state.pos");
2481
3120
  break;
2482
3121
  }
2483
3122
  }
2484
- if (o) {
3123
+ if (i) {
2485
3124
  if (u.pos >= n)
2486
3125
  break;
2487
3126
  continue;
@@ -2490,17 +3129,17 @@ cu.prototype.tokenize = function(u) {
2490
3129
  }
2491
3130
  u.pending && u.pushPending();
2492
3131
  };
2493
- cu.prototype.parse = function(u, e, t, n) {
3132
+ ie.prototype.parse = function(u, e, t, n) {
2494
3133
  const r = new this.State(u, e, t, n);
2495
3134
  this.tokenize(r);
2496
- const c = this.ruler2.getRules(""), o = c.length;
2497
- for (let i = 0; i < o; i++)
2498
- c[i](r);
3135
+ const c = this.ruler2.getRules(""), i = c.length;
3136
+ for (let o = 0; o < i; o++)
3137
+ c[o](r);
2499
3138
  };
2500
- cu.prototype.State = nu;
2501
- function er(u) {
3139
+ ie.prototype.State = oe;
3140
+ function Lo(u) {
2502
3141
  const e = {};
2503
- u = u || {}, e.src_Any = s0.source, e.src_Cc = f0.source, e.src_Z = d0.source, e.src_P = zu.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3142
+ u = u || {}, e.src_Any = Rt.source, e.src_Cc = It.source, e.src_Z = Lt.source, e.src_P = d0.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
2504
3143
  const t = "[><|]";
2505
3144
  return e.src_pseudo_letter = "(?:(?!" + t + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!" + (u["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]|$)|" + (u["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
2506
3145
  ",(?!" + e.src_ZCc + "|$)|;(?!" + e.src_ZCc + "|$)|\\!+(?!" + e.src_ZCc + "|[!]|$)|\\?(?!" + e.src_ZCc + "|[?]|$))+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
@@ -2510,42 +3149,42 @@ function er(u) {
2510
3149
  // but can start with > (markdown blockquote)
2511
3150
  "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
2512
3151
  }
2513
- function vu(u) {
3152
+ function c0(u) {
2514
3153
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
2515
3154
  t && Object.keys(t).forEach(function(n) {
2516
3155
  u[n] = t[n];
2517
3156
  });
2518
3157
  }), u;
2519
3158
  }
2520
- function pu(u) {
3159
+ function Re(u) {
2521
3160
  return Object.prototype.toString.call(u);
2522
3161
  }
2523
- function tr(u) {
2524
- return pu(u) === "[object String]";
3162
+ function Oo(u) {
3163
+ return Re(u) === "[object String]";
2525
3164
  }
2526
- function rr(u) {
2527
- return pu(u) === "[object Object]";
3165
+ function No(u) {
3166
+ return Re(u) === "[object Object]";
2528
3167
  }
2529
- function nr(u) {
2530
- return pu(u) === "[object RegExp]";
3168
+ function Po(u) {
3169
+ return Re(u) === "[object RegExp]";
2531
3170
  }
2532
- function t0(u) {
2533
- return pu(u) === "[object Function]";
3171
+ function gt(u) {
3172
+ return Re(u) === "[object Function]";
2534
3173
  }
2535
- function cr(u) {
3174
+ function Bo(u) {
2536
3175
  return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
2537
3176
  }
2538
- const E0 = {
3177
+ const Gt = {
2539
3178
  fuzzyLink: !0,
2540
3179
  fuzzyEmail: !0,
2541
3180
  fuzzyIP: !1
2542
3181
  };
2543
- function ir(u) {
3182
+ function zo(u) {
2544
3183
  return Object.keys(u || {}).reduce(function(e, t) {
2545
- return e || E0.hasOwnProperty(t);
3184
+ return e || Gt.hasOwnProperty(t);
2546
3185
  }, !1);
2547
3186
  }
2548
- const or = {
3187
+ const qo = {
2549
3188
  "http:": {
2550
3189
  validate: function(u, e, t) {
2551
3190
  const n = u.slice(e);
@@ -2577,81 +3216,81 @@ const or = {
2577
3216
  )), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
2578
3217
  }
2579
3218
  }
2580
- }, ar = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", sr = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
2581
- function fr(u) {
3219
+ }, Uo = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", Ho = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3220
+ function $o(u) {
2582
3221
  u.__index__ = -1, u.__text_cache__ = "";
2583
3222
  }
2584
- function lr(u) {
3223
+ function jo(u) {
2585
3224
  return function(e, t) {
2586
3225
  const n = e.slice(t);
2587
3226
  return u.test(n) ? n.match(u)[0].length : 0;
2588
3227
  };
2589
3228
  }
2590
- function r0() {
3229
+ function kt() {
2591
3230
  return function(u, e) {
2592
3231
  e.normalize(u);
2593
3232
  };
2594
3233
  }
2595
- function lu(u) {
2596
- const e = u.re = er(u.__opts__), t = u.__tlds__.slice();
2597
- u.onCompile(), u.__tlds_replaced__ || t.push(ar), t.push(e.src_xn), e.src_tlds = t.join("|");
2598
- function n(i) {
2599
- return i.replace("%TLDS%", e.src_tlds);
3234
+ function Te(u) {
3235
+ const e = u.re = Lo(u.__opts__), t = u.__tlds__.slice();
3236
+ u.onCompile(), u.__tlds_replaced__ || t.push(Uo), t.push(e.src_xn), e.src_tlds = t.join("|");
3237
+ function n(o) {
3238
+ return o.replace("%TLDS%", e.src_tlds);
2600
3239
  }
2601
3240
  e.email_fuzzy = RegExp(n(e.tpl_email_fuzzy), "i"), e.link_fuzzy = RegExp(n(e.tpl_link_fuzzy), "i"), e.link_no_ip_fuzzy = RegExp(n(e.tpl_link_no_ip_fuzzy), "i"), e.host_fuzzy_test = RegExp(n(e.tpl_host_fuzzy_test), "i");
2602
3241
  const r = [];
2603
3242
  u.__compiled__ = {};
2604
- function c(i, a) {
2605
- throw new Error('(LinkifyIt) Invalid schema "' + i + '": ' + a);
3243
+ function c(o, a) {
3244
+ throw new Error('(LinkifyIt) Invalid schema "' + o + '": ' + a);
2606
3245
  }
2607
- Object.keys(u.__schemas__).forEach(function(i) {
2608
- const a = u.__schemas__[i];
3246
+ Object.keys(u.__schemas__).forEach(function(o) {
3247
+ const a = u.__schemas__[o];
2609
3248
  if (a === null)
2610
3249
  return;
2611
3250
  const s = { validate: null, link: null };
2612
- if (u.__compiled__[i] = s, rr(a)) {
2613
- nr(a.validate) ? s.validate = lr(a.validate) : t0(a.validate) ? s.validate = a.validate : c(i, a), t0(a.normalize) ? s.normalize = a.normalize : a.normalize ? c(i, a) : s.normalize = r0();
3251
+ if (u.__compiled__[o] = s, No(a)) {
3252
+ Po(a.validate) ? s.validate = jo(a.validate) : gt(a.validate) ? s.validate = a.validate : c(o, a), gt(a.normalize) ? s.normalize = a.normalize : a.normalize ? c(o, a) : s.normalize = kt();
2614
3253
  return;
2615
3254
  }
2616
- if (tr(a)) {
2617
- r.push(i);
3255
+ if (Oo(a)) {
3256
+ r.push(o);
2618
3257
  return;
2619
3258
  }
2620
- c(i, a);
2621
- }), r.forEach(function(i) {
2622
- u.__compiled__[u.__schemas__[i]] && (u.__compiled__[i].validate = u.__compiled__[u.__schemas__[i]].validate, u.__compiled__[i].normalize = u.__compiled__[u.__schemas__[i]].normalize);
2623
- }), u.__compiled__[""] = { validate: null, normalize: r0() };
2624
- const o = Object.keys(u.__compiled__).filter(function(i) {
2625
- return i.length > 0 && u.__compiled__[i];
2626
- }).map(cr).join("|");
2627
- u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + o + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + o + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
3259
+ c(o, a);
3260
+ }), r.forEach(function(o) {
3261
+ u.__compiled__[u.__schemas__[o]] && (u.__compiled__[o].validate = u.__compiled__[u.__schemas__[o]].validate, u.__compiled__[o].normalize = u.__compiled__[u.__schemas__[o]].normalize);
3262
+ }), u.__compiled__[""] = { validate: null, normalize: kt() };
3263
+ const i = Object.keys(u.__compiled__).filter(function(o) {
3264
+ return o.length > 0 && u.__compiled__[o];
3265
+ }).map(Bo).join("|");
3266
+ u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + i + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + i + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
2628
3267
  "(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
2629
3268
  "i"
2630
- ), fr(u);
3269
+ ), $o(u);
2631
3270
  }
2632
- function dr(u, e) {
3271
+ function Go(u, e) {
2633
3272
  const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
2634
3273
  this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
2635
3274
  }
2636
- function Su(u, e) {
2637
- const t = new dr(u, e);
3275
+ function o0(u, e) {
3276
+ const t = new Go(u, e);
2638
3277
  return u.__compiled__[t.schema].normalize(t, u), t;
2639
3278
  }
2640
- function v(u, e) {
2641
- if (!(this instanceof v))
2642
- return new v(u, e);
2643
- e || ir(u) && (e = u, u = {}), this.__opts__ = vu({}, E0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = vu({}, or, u), this.__compiled__ = {}, this.__tlds__ = sr, this.__tlds_replaced__ = !1, this.re = {}, lu(this);
3279
+ function X(u, e) {
3280
+ if (!(this instanceof X))
3281
+ return new X(u, e);
3282
+ e || zo(u) && (e = u, u = {}), this.__opts__ = c0({}, Gt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = c0({}, qo, u), this.__compiled__ = {}, this.__tlds__ = Ho, this.__tlds_replaced__ = !1, this.re = {}, Te(this);
2644
3283
  }
2645
- v.prototype.add = function(e, t) {
2646
- return this.__schemas__[e] = t, lu(this), this;
3284
+ X.prototype.add = function(e, t) {
3285
+ return this.__schemas__[e] = t, Te(this), this;
2647
3286
  };
2648
- v.prototype.set = function(e) {
2649
- return this.__opts__ = vu(this.__opts__, e), this;
3287
+ X.prototype.set = function(e) {
3288
+ return this.__opts__ = c0(this.__opts__, e), this;
2650
3289
  };
2651
- v.prototype.test = function(e) {
3290
+ X.prototype.test = function(e) {
2652
3291
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
2653
3292
  return !1;
2654
- let t, n, r, c, o, i, a, s, f;
3293
+ let t, n, r, c, i, o, a, s, f;
2655
3294
  if (this.re.schema_test.test(e)) {
2656
3295
  for (a = this.re.schema_search, a.lastIndex = 0; (t = a.exec(e)) !== null; )
2657
3296
  if (c = this.testSchemaAt(e, t[2], a.lastIndex), c) {
@@ -2659,63 +3298,63 @@ v.prototype.test = function(e) {
2659
3298
  break;
2660
3299
  }
2661
3300
  }
2662
- return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (s = e.search(this.re.host_fuzzy_test), s >= 0 && (this.__index__ < 0 || s < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (o = n.index + n[1].length, (this.__index__ < 0 || o < this.__index__) && (this.__schema__ = "", this.__index__ = o, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (f = e.indexOf("@"), f >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (o = r.index + r[1].length, i = r.index + r[0].length, (this.__index__ < 0 || o < this.__index__ || o === this.__index__ && i > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = o, this.__last_index__ = i))), this.__index__ >= 0;
3301
+ return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (s = e.search(this.re.host_fuzzy_test), s >= 0 && (this.__index__ < 0 || s < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (i = n.index + n[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (f = e.indexOf("@"), f >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (i = r.index + r[1].length, o = r.index + r[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && o > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = o))), this.__index__ >= 0;
2663
3302
  };
2664
- v.prototype.pretest = function(e) {
3303
+ X.prototype.pretest = function(e) {
2665
3304
  return this.re.pretest.test(e);
2666
3305
  };
2667
- v.prototype.testSchemaAt = function(e, t, n) {
3306
+ X.prototype.testSchemaAt = function(e, t, n) {
2668
3307
  return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0;
2669
3308
  };
2670
- v.prototype.match = function(e) {
3309
+ X.prototype.match = function(e) {
2671
3310
  const t = [];
2672
3311
  let n = 0;
2673
- this.__index__ >= 0 && this.__text_cache__ === e && (t.push(Su(this, n)), n = this.__last_index__);
3312
+ this.__index__ >= 0 && this.__text_cache__ === e && (t.push(o0(this, n)), n = this.__last_index__);
2674
3313
  let r = n ? e.slice(n) : e;
2675
3314
  for (; this.test(r); )
2676
- t.push(Su(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
3315
+ t.push(o0(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
2677
3316
  return t.length ? t : null;
2678
3317
  };
2679
- v.prototype.matchAtStart = function(e) {
3318
+ X.prototype.matchAtStart = function(e) {
2680
3319
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return null;
2681
3320
  const t = this.re.schema_at_start.exec(e);
2682
3321
  if (!t) return null;
2683
3322
  const n = this.testSchemaAt(e, t[2], t[0].length);
2684
- return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, Su(this, 0)) : null;
3323
+ return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, o0(this, 0)) : null;
2685
3324
  };
2686
- v.prototype.tlds = function(e, t) {
3325
+ X.prototype.tlds = function(e, t) {
2687
3326
  return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, c) {
2688
3327
  return n !== c[r - 1];
2689
- }).reverse(), lu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, lu(this), this);
3328
+ }).reverse(), Te(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Te(this), this);
2690
3329
  };
2691
- v.prototype.normalize = function(e) {
3330
+ X.prototype.normalize = function(e) {
2692
3331
  e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
2693
3332
  };
2694
- v.prototype.onCompile = function() {
3333
+ X.prototype.onCompile = function() {
2695
3334
  };
2696
- const V = 2147483647, I = 36, Lu = 1, eu = 26, br = 38, hr = 700, F0 = 72, A0 = 128, y0 = "-", pr = /^xn--/, xr = /[^\0-\x7F]/, _r = /[\x2E\u3002\uFF0E\uFF61]/g, mr = {
3335
+ const Nu = 2147483647, ru = 36, m0 = 1, ee = 26, Wo = 38, Zo = 700, Wt = 72, Zt = 128, Vt = "-", Vo = /^xn--/, Yo = /[^\0-\x7F]/, Xo = /[\x2E\u3002\uFF0E\uFF61]/g, Jo = {
2697
3336
  overflow: "Overflow: input needs wider integers to process",
2698
3337
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2699
3338
  "invalid-input": "Invalid input"
2700
- }, Fu = I - Lu, M = Math.floor, Au = String.fromCharCode;
2701
- function O(u) {
2702
- throw new RangeError(mr[u]);
3339
+ }, u0 = ru - m0, cu = Math.floor, e0 = String.fromCharCode;
3340
+ function hu(u) {
3341
+ throw new RangeError(Jo[u]);
2703
3342
  }
2704
- function kr(u, e) {
3343
+ function Qo(u, e) {
2705
3344
  const t = [];
2706
3345
  let n = u.length;
2707
3346
  for (; n--; )
2708
3347
  t[n] = e(u[n]);
2709
3348
  return t;
2710
3349
  }
2711
- function w0(u, e) {
3350
+ function Yt(u, e) {
2712
3351
  const t = u.split("@");
2713
3352
  let n = "";
2714
- t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(_r, ".");
2715
- const r = u.split("."), c = kr(r, e).join(".");
3353
+ t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(Xo, ".");
3354
+ const r = u.split("."), c = Qo(r, e).join(".");
2716
3355
  return n + c;
2717
3356
  }
2718
- function v0(u) {
3357
+ function Xt(u) {
2719
3358
  const e = [];
2720
3359
  let t = 0;
2721
3360
  const n = u.length;
@@ -2729,78 +3368,78 @@ function v0(u) {
2729
3368
  }
2730
3369
  return e;
2731
3370
  }
2732
- const gr = (u) => String.fromCodePoint(...u), Dr = function(u) {
2733
- return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : I;
2734
- }, n0 = function(u, e) {
3371
+ const Ko = (u) => String.fromCodePoint(...u), ui = function(u) {
3372
+ return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : ru;
3373
+ }, Et = function(u, e) {
2735
3374
  return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
2736
- }, S0 = function(u, e, t) {
3375
+ }, Jt = function(u, e, t) {
2737
3376
  let n = 0;
2738
- for (u = t ? M(u / hr) : u >> 1, u += M(u / e); u > Fu * eu >> 1; n += I)
2739
- u = M(u / Fu);
2740
- return M(n + (Fu + 1) * u / (u + br));
2741
- }, B0 = function(u) {
3377
+ for (u = t ? cu(u / Zo) : u >> 1, u += cu(u / e); u > u0 * ee >> 1; n += ru)
3378
+ u = cu(u / u0);
3379
+ return cu(n + (u0 + 1) * u / (u + Wo));
3380
+ }, Qt = function(u) {
2742
3381
  const e = [], t = u.length;
2743
- let n = 0, r = A0, c = F0, o = u.lastIndexOf(y0);
2744
- o < 0 && (o = 0);
2745
- for (let i = 0; i < o; ++i)
2746
- u.charCodeAt(i) >= 128 && O("not-basic"), e.push(u.charCodeAt(i));
2747
- for (let i = o > 0 ? o + 1 : 0; i < t; ) {
3382
+ let n = 0, r = Zt, c = Wt, i = u.lastIndexOf(Vt);
3383
+ i < 0 && (i = 0);
3384
+ for (let o = 0; o < i; ++o)
3385
+ u.charCodeAt(o) >= 128 && hu("not-basic"), e.push(u.charCodeAt(o));
3386
+ for (let o = i > 0 ? i + 1 : 0; o < t; ) {
2748
3387
  const a = n;
2749
- for (let f = 1, d = I; ; d += I) {
2750
- i >= t && O("invalid-input");
2751
- const h = Dr(u.charCodeAt(i++));
2752
- h >= I && O("invalid-input"), h > M((V - n) / f) && O("overflow"), n += h * f;
2753
- const b = d <= c ? Lu : d >= c + eu ? eu : d - c;
2754
- if (h < b)
3388
+ for (let f = 1, d = ru; ; d += ru) {
3389
+ o >= t && hu("invalid-input");
3390
+ const _ = ui(u.charCodeAt(o++));
3391
+ _ >= ru && hu("invalid-input"), _ > cu((Nu - n) / f) && hu("overflow"), n += _ * f;
3392
+ const p = d <= c ? m0 : d >= c + ee ? ee : d - c;
3393
+ if (_ < p)
2755
3394
  break;
2756
- const l = I - b;
2757
- f > M(V / l) && O("overflow"), f *= l;
3395
+ const h = ru - p;
3396
+ f > cu(Nu / h) && hu("overflow"), f *= h;
2758
3397
  }
2759
3398
  const s = e.length + 1;
2760
- c = S0(n - a, s, a == 0), M(n / s) > V - r && O("overflow"), r += M(n / s), n %= s, e.splice(n++, 0, r);
3399
+ c = Jt(n - a, s, a == 0), cu(n / s) > Nu - r && hu("overflow"), r += cu(n / s), n %= s, e.splice(n++, 0, r);
2761
3400
  }
2762
3401
  return String.fromCodePoint(...e);
2763
- }, T0 = function(u) {
3402
+ }, Kt = function(u) {
2764
3403
  const e = [];
2765
- u = v0(u);
3404
+ u = Xt(u);
2766
3405
  const t = u.length;
2767
- let n = A0, r = 0, c = F0;
3406
+ let n = Zt, r = 0, c = Wt;
2768
3407
  for (const a of u)
2769
- a < 128 && e.push(Au(a));
2770
- const o = e.length;
2771
- let i = o;
2772
- for (o && e.push(y0); i < t; ) {
2773
- let a = V;
3408
+ a < 128 && e.push(e0(a));
3409
+ const i = e.length;
3410
+ let o = i;
3411
+ for (i && e.push(Vt); o < t; ) {
3412
+ let a = Nu;
2774
3413
  for (const f of u)
2775
3414
  f >= n && f < a && (a = f);
2776
- const s = i + 1;
2777
- a - n > M((V - r) / s) && O("overflow"), r += (a - n) * s, n = a;
3415
+ const s = o + 1;
3416
+ a - n > cu((Nu - r) / s) && hu("overflow"), r += (a - n) * s, n = a;
2778
3417
  for (const f of u)
2779
- if (f < n && ++r > V && O("overflow"), f === n) {
3418
+ if (f < n && ++r > Nu && hu("overflow"), f === n) {
2780
3419
  let d = r;
2781
- for (let h = I; ; h += I) {
2782
- const b = h <= c ? Lu : h >= c + eu ? eu : h - c;
2783
- if (d < b)
3420
+ for (let _ = ru; ; _ += ru) {
3421
+ const p = _ <= c ? m0 : _ >= c + ee ? ee : _ - c;
3422
+ if (d < p)
2784
3423
  break;
2785
- const l = d - b, k = I - b;
3424
+ const h = d - p, C = ru - p;
2786
3425
  e.push(
2787
- Au(n0(b + l % k, 0))
2788
- ), d = M(l / k);
3426
+ e0(Et(p + h % C, 0))
3427
+ ), d = cu(h / C);
2789
3428
  }
2790
- e.push(Au(n0(d, 0))), c = S0(r, s, i === o), r = 0, ++i;
3429
+ e.push(e0(Et(d, 0))), c = Jt(r, s, o === i), r = 0, ++o;
2791
3430
  }
2792
3431
  ++r, ++n;
2793
3432
  }
2794
3433
  return e.join("");
2795
- }, Cr = function(u) {
2796
- return w0(u, function(e) {
2797
- return pr.test(e) ? B0(e.slice(4).toLowerCase()) : e;
3434
+ }, ei = function(u) {
3435
+ return Yt(u, function(e) {
3436
+ return Vo.test(e) ? Qt(e.slice(4).toLowerCase()) : e;
2798
3437
  });
2799
- }, Er = function(u) {
2800
- return w0(u, function(e) {
2801
- return xr.test(e) ? "xn--" + T0(e) : e;
3438
+ }, ti = function(u) {
3439
+ return Yt(u, function(e) {
3440
+ return Yo.test(e) ? "xn--" + Kt(e) : e;
2802
3441
  });
2803
- }, z0 = {
3442
+ }, un = {
2804
3443
  /**
2805
3444
  * A string representing the current Punycode.js version number.
2806
3445
  * @memberOf punycode
@@ -2815,14 +3454,14 @@ const gr = (u) => String.fromCodePoint(...u), Dr = function(u) {
2815
3454
  * @type Object
2816
3455
  */
2817
3456
  ucs2: {
2818
- decode: v0,
2819
- encode: gr
3457
+ decode: Xt,
3458
+ encode: Ko
2820
3459
  },
2821
- decode: B0,
2822
- encode: T0,
2823
- toASCII: Er,
2824
- toUnicode: Cr
2825
- }, Fr = {
3460
+ decode: Qt,
3461
+ encode: Kt,
3462
+ toASCII: ti,
3463
+ toUnicode: ei
3464
+ }, ni = {
2826
3465
  options: {
2827
3466
  // Enable HTML tags in source
2828
3467
  html: !1,
@@ -2858,7 +3497,7 @@ const gr = (u) => String.fromCodePoint(...u), Dr = function(u) {
2858
3497
  block: {},
2859
3498
  inline: {}
2860
3499
  }
2861
- }, Ar = {
3500
+ }, ri = {
2862
3501
  options: {
2863
3502
  // Enable HTML tags in source
2864
3503
  html: !1,
@@ -2913,7 +3552,7 @@ const gr = (u) => String.fromCodePoint(...u), Dr = function(u) {
2913
3552
  ]
2914
3553
  }
2915
3554
  }
2916
- }, yr = {
3555
+ }, ci = {
2917
3556
  options: {
2918
3557
  // Enable HTML tags in source
2919
3558
  html: !0,
@@ -2987,47 +3626,47 @@ const gr = (u) => String.fromCodePoint(...u), Dr = function(u) {
2987
3626
  ]
2988
3627
  }
2989
3628
  }
2990
- }, wr = {
2991
- default: Fr,
2992
- zero: Ar,
2993
- commonmark: yr
2994
- }, vr = /^(vbscript|javascript|file|data):/, Sr = /^data:image\/(gif|png|jpeg|webp);/;
2995
- function Br(u) {
3629
+ }, oi = {
3630
+ default: ni,
3631
+ zero: ri,
3632
+ commonmark: ci
3633
+ }, ii = /^(vbscript|javascript|file|data):/, ai = /^data:image\/(gif|png|jpeg|webp);/;
3634
+ function si(u) {
2996
3635
  const e = u.trim().toLowerCase();
2997
- return vr.test(e) ? Sr.test(e) : !0;
3636
+ return ii.test(e) ? ai.test(e) : !0;
2998
3637
  }
2999
- const I0 = ["http:", "https:", "mailto:"];
3000
- function Tr(u) {
3001
- const e = Tu(u, !0);
3002
- if (e.hostname && (!e.protocol || I0.indexOf(e.protocol) >= 0))
3638
+ const en = ["http:", "https:", "mailto:"];
3639
+ function li(u) {
3640
+ const e = f0(u, !0);
3641
+ if (e.hostname && (!e.protocol || en.indexOf(e.protocol) >= 0))
3003
3642
  try {
3004
- e.hostname = z0.toASCII(e.hostname);
3643
+ e.hostname = un.toASCII(e.hostname);
3005
3644
  } catch {
3006
3645
  }
3007
- return ru(Bu(e));
3646
+ return ce(l0(e));
3008
3647
  }
3009
- function zr(u) {
3010
- const e = Tu(u, !0);
3011
- if (e.hostname && (!e.protocol || I0.indexOf(e.protocol) >= 0))
3648
+ function fi(u) {
3649
+ const e = f0(u, !0);
3650
+ if (e.hostname && (!e.protocol || en.indexOf(e.protocol) >= 0))
3012
3651
  try {
3013
- e.hostname = z0.toUnicode(e.hostname);
3652
+ e.hostname = un.toUnicode(e.hostname);
3014
3653
  } catch {
3015
3654
  }
3016
- return G(Bu(e), G.defaultChars + "%");
3655
+ return Bu(l0(e), Bu.defaultChars + "%");
3017
3656
  }
3018
- function B(u, e) {
3019
- if (!(this instanceof B))
3020
- return new B(u, e);
3021
- e || Iu(u) || (e = u || {}, u = "default"), this.inline = new cu(), this.block = new hu(), this.core = new qu(), this.renderer = new Q(), this.linkify = new v(), this.validateLink = Br, this.normalizeLink = Tr, this.normalizeLinkText = zr, this.utils = Me, this.helpers = du({}, Pe), this.options = {}, this.configure(u), e && this.set(e);
3657
+ function Q(u, e) {
3658
+ if (!(this instanceof Q))
3659
+ return new Q(u, e);
3660
+ e || h0(u) || (e = u || {}, u = "default"), this.inline = new ie(), this.block = new ve(), this.core = new b0(), this.renderer = new qu(), this.linkify = new X(), this.validateLink = si, this.normalizeLink = li, this.normalizeLinkText = fi, this.utils = dc, this.helpers = Se({}, _c), this.options = {}, this.configure(u), e && this.set(e);
3022
3661
  }
3023
- B.prototype.set = function(u) {
3024
- return du(this.options, u), this;
3662
+ Q.prototype.set = function(u) {
3663
+ return Se(this.options, u), this;
3025
3664
  };
3026
- B.prototype.configure = function(u) {
3665
+ Q.prototype.configure = function(u) {
3027
3666
  const e = this;
3028
- if (Iu(u)) {
3667
+ if (h0(u)) {
3029
3668
  const t = u;
3030
- if (u = wr[t], !u)
3669
+ if (u = oi[t], !u)
3031
3670
  throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
3032
3671
  }
3033
3672
  if (!u)
@@ -3036,7 +3675,7 @@ B.prototype.configure = function(u) {
3036
3675
  u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
3037
3676
  }), this;
3038
3677
  };
3039
- B.prototype.enable = function(u, e) {
3678
+ Q.prototype.enable = function(u, e) {
3040
3679
  let t = [];
3041
3680
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3042
3681
  t = t.concat(this[r].ruler.enable(u, !0));
@@ -3048,7 +3687,7 @@ B.prototype.enable = function(u, e) {
3048
3687
  throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
3049
3688
  return this;
3050
3689
  };
3051
- B.prototype.disable = function(u, e) {
3690
+ Q.prototype.disable = function(u, e) {
3052
3691
  let t = [];
3053
3692
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3054
3693
  t = t.concat(this[r].ruler.disable(u, !0));
@@ -3060,153 +3699,248 @@ B.prototype.disable = function(u, e) {
3060
3699
  throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
3061
3700
  return this;
3062
3701
  };
3063
- B.prototype.use = function(u) {
3702
+ Q.prototype.use = function(u) {
3064
3703
  const e = [this].concat(Array.prototype.slice.call(arguments, 1));
3065
3704
  return u.apply(u, e), this;
3066
3705
  };
3067
- B.prototype.parse = function(u, e) {
3706
+ Q.prototype.parse = function(u, e) {
3068
3707
  if (typeof u != "string")
3069
3708
  throw new Error("Input data should be a String");
3070
3709
  const t = new this.core.State(u, this, e);
3071
3710
  return this.core.process(t), t.tokens;
3072
3711
  };
3073
- B.prototype.render = function(u, e) {
3712
+ Q.prototype.render = function(u, e) {
3074
3713
  return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
3075
3714
  };
3076
- B.prototype.parseInline = function(u, e) {
3715
+ Q.prototype.parseInline = function(u, e) {
3077
3716
  const t = new this.core.State(u, this, e);
3078
3717
  return t.inlineMode = !0, this.core.process(t), t.tokens;
3079
3718
  };
3080
- B.prototype.renderInline = function(u, e) {
3719
+ Q.prototype.renderInline = function(u, e) {
3081
3720
  return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
3082
3721
  };
3083
- const Ir = {
3722
+ class Ri extends a0 {
3723
+ constructor(t, n) {
3724
+ super();
3725
+ be(this, "mdConfig");
3726
+ be(this, "dompurifyConfig");
3727
+ be(this, "md");
3728
+ this.mdConfig = t || {}, this.dompurifyConfig = n || {}, this.md = Q(this.mdConfig);
3729
+ }
3730
+ render(t) {
3731
+ let n = "";
3732
+ try {
3733
+ n = this.md.render(t.content ?? "");
3734
+ } catch (c) {
3735
+ console.error("Error rendering markdown:", c), n = t.content ?? "";
3736
+ }
3737
+ if (this.dompurifyConfig.disable)
3738
+ return console.warn("HTML sanitization is disabled, potential XSS risk"), $0("div", { innerHTML: n });
3739
+ const r = yr.sanitize(n, this.dompurifyConfig);
3740
+ return $0("div", { innerHTML: r });
3741
+ }
3742
+ }
3743
+ const di = /* @__PURE__ */ Cu({
3744
+ inheritAttrs: !1,
3745
+ __name: "ContentItem",
3746
+ props: {
3747
+ type: {}
3748
+ },
3749
+ setup(u) {
3750
+ const e = j0(Dt, Ct), t = j0(yt, s0), n = u, r = gn(), c = (a) => {
3751
+ const s = { ...r, ...n }, f = e.get(a) || t;
3752
+ return typeof f == "function" ? { isComponent: !1, vNodeOrComponent: f(s) } : f instanceof a0 ? { isComponent: !1, vNodeOrComponent: f.render(s) } : { isComponent: !0, vNodeOrComponent: f };
3753
+ }, { isComponent: i, vNodeOrComponent: o } = c(n.type);
3754
+ return (a, s) => bu(i) ? (S(), uu(mu(bu(o)), Ce(Ou({ key: 0 }, { ...n, ...bu(r) })), null, 16)) : (S(), uu(mu(bu(o)), { key: 1 }));
3755
+ }
3756
+ }), hi = {
3084
3757
  key: 0,
3085
3758
  class: "tr-bubble__avatar"
3086
- }, Mr = { class: "tr-bubble__content-wrapper" }, qr = {
3759
+ }, pi = { class: "tr-bubble__content-wrapper" }, bi = {
3760
+ key: 0,
3761
+ class: "tr-bubble__content-items"
3762
+ }, _i = {
3087
3763
  key: 1,
3088
- class: /* @__PURE__ */ i0(["tr-bubble__content"])
3089
- }, Rr = { class: "tr-bubbule__body" }, Lr = ["innerHTML"], Pr = { key: 1 }, Or = {
3764
+ class: "tr-bubble__body-text"
3765
+ }, mi = {
3090
3766
  key: 2,
3091
- class: "tr-bubbule__aborted"
3092
- }, Nr = {
3093
- key: 0,
3094
- class: "tr-bubbule__footer"
3095
- }, $r = /* @__PURE__ */ c0({
3767
+ class: "tr-bubble__aborted"
3768
+ }, xi = {
3769
+ key: 3,
3770
+ class: "tr-bubble__footer"
3771
+ }, gi = /* @__PURE__ */ Cu({
3096
3772
  __name: "Bubble",
3097
3773
  props: {
3098
3774
  content: { default: "" },
3099
3775
  id: {},
3100
- placement: { default: "start" },
3101
- avatar: {},
3102
3776
  role: {},
3103
- type: { default: "text" },
3104
3777
  loading: { type: Boolean },
3105
3778
  aborted: { type: Boolean },
3106
- mdConfig: {},
3779
+ placement: { default: "start" },
3780
+ avatar: {},
3781
+ shape: { default: "corner" },
3782
+ contentRenderer: {},
3783
+ hidden: { type: Boolean },
3107
3784
  maxWidth: { default: "80%" }
3108
3785
  },
3109
3786
  setup(u) {
3110
- L0((o) => ({
3111
- "2f6c8c8c": P0(V0)(e.maxWidth)
3112
- }));
3113
- const e = u, t = O0(), n = au(() => B(e.mdConfig || {})), r = au(() => e.type === "markdown" ? n.value.render(e.content) : e.content), c = au(() => e.placement === "start");
3114
- return (o, i) => (S(), L("div", {
3115
- class: i0([
3787
+ const e = u, t = kn(), n = Eu(() => {
3788
+ const o = e.contentRenderer;
3789
+ return o ? typeof o == "function" ? { isComponent: !1, vNodeOrComponent: o(e) } : o instanceof a0 ? { isComponent: !1, vNodeOrComponent: o.render(e) } : { isComponent: !0, vNodeOrComponent: o } : null;
3790
+ }), r = Eu(() => Array.isArray(e.content) ? "" : e.content), c = Eu(() => Array.isArray(e.content) ? e.content : []), i = Eu(() => e.placement === "start");
3791
+ return (o, a) => (S(), H("div", {
3792
+ class: Mu([
3116
3793
  "tr-bubble",
3117
3794
  {
3118
- "placement-start": c.value,
3119
- "placement-end": !c.value
3795
+ "placement-start": i.value,
3796
+ "placement-end": !i.value
3120
3797
  }
3121
- ])
3798
+ ]),
3799
+ style: En({ maxWidth: bu(yn)(e.maxWidth) })
3122
3800
  }, [
3123
- e.avatar ? (S(), L("div", Ir, [
3124
- (S(), yu(o0(e.avatar)))
3125
- ])) : _u("", !0),
3126
- Z("div", Mr, [
3127
- e.loading ? mu(o.$slots, "loading", {
3801
+ e.avatar ? (S(), H("div", hi, [
3802
+ (S(), uu(mu(e.avatar)))
3803
+ ])) : Lu("", !0),
3804
+ Z("div", pi, [
3805
+ e.loading ? ke(o.$slots, "loading", {
3128
3806
  key: 0,
3129
3807
  bubbleProps: e
3130
3808
  }, () => [
3131
- i[0] || (i[0] = Z("div", { class: "tr-bubble__loading" }, [
3132
- Z("span"),
3133
- Z("span"),
3134
- Z("span")
3135
- ], -1))
3136
- ], !0) : (S(), L("div", qr, [
3137
- Z("div", Rr, [
3138
- mu(o.$slots, "default", { bubbleProps: e }, () => [
3139
- e.type === "markdown" ? (S(), L("span", {
3140
- key: 0,
3141
- innerHTML: r.value
3142
- }, null, 8, Lr)) : (S(), L("span", Pr, N0(r.value), 1)),
3143
- e.aborted ? (S(), L("span", Or, "(用户停止)")) : _u("", !0)
3144
- ], !0)
3145
- ]),
3146
- t.footer ? (S(), L("div", Nr, [
3147
- mu(o.$slots, "footer", { bubbleProps: e }, void 0, !0)
3148
- ])) : _u("", !0)
3149
- ]))
3809
+ Z("div", {
3810
+ class: Mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
3811
+ }, a[0] || (a[0] = [
3812
+ Z("img", {
3813
+ src: Dn,
3814
+ alt: "loading",
3815
+ class: "tr-bubble__loading"
3816
+ }, null, -1)
3817
+ ]), 2)
3818
+ ], !0) : (S(), H("div", {
3819
+ key: 1,
3820
+ class: Mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
3821
+ }, [
3822
+ c.value.length ? (S(), H("div", bi, [
3823
+ (S(!0), H(De, null, Ee(c.value, (s, f) => (S(), uu(bu(di), Ou({ key: f }, { ref_for: !0 }, s), null, 16))), 128))
3824
+ ])) : ke(o.$slots, "default", {
3825
+ key: 1,
3826
+ bubbleProps: e
3827
+ }, () => [
3828
+ n.value ? (S(), H(De, { key: 0 }, [
3829
+ n.value.isComponent ? (S(), uu(mu(n.value.vNodeOrComponent), Ce(Ou({ key: 0 }, e)), null, 16)) : (S(), uu(mu(n.value.vNodeOrComponent), { key: 1 }))
3830
+ ], 64)) : (S(), H("span", _i, Pu(r.value), 1))
3831
+ ], !0),
3832
+ e.aborted ? (S(), H("span", mi, "(用户停止)")) : Lu("", !0),
3833
+ t.footer ? (S(), H("div", xi, [
3834
+ ke(o.$slots, "footer", { bubbleProps: e }, void 0, !0)
3835
+ ])) : Lu("", !0)
3836
+ ], 2))
3150
3837
  ])
3151
- ], 2));
3838
+ ], 6));
3152
3839
  }
3153
- }), J = /* @__PURE__ */ a0($r, [["__scopeId", "data-v-a0fefd10"]]), jr = /* @__PURE__ */ c0({
3840
+ }), Au = /* @__PURE__ */ re(gi, [["__scopeId", "data-v-95b9962c"]]), ki = /* @__PURE__ */ Cu({
3154
3841
  __name: "BubbleList",
3155
3842
  props: {
3156
3843
  items: {},
3157
3844
  roles: {},
3845
+ loading: { type: Boolean },
3846
+ loadingRole: {},
3158
3847
  autoScroll: { type: Boolean }
3159
3848
  },
3160
3849
  setup(u) {
3161
- const e = u, t = $0(null), { y: n } = G0(t, {
3850
+ const e = u, t = i0(null), { y: n } = Rn(t, {
3162
3851
  behavior: "smooth",
3163
3852
  throttle: 100
3164
- }), r = au(() => e.items.at(-1));
3165
- j0([() => e.items.length, () => {
3166
- var i;
3167
- return (i = r.value) == null ? void 0 : i.content;
3168
- }], () => {
3169
- !e.autoScroll || !t.value || (n.value = t.value.scrollHeight);
3853
+ }), r = Eu(() => e.items.at(-1));
3854
+ An(
3855
+ [() => e.items.length, () => {
3856
+ var a;
3857
+ return (a = r.value) == null ? void 0 : a.content;
3858
+ }],
3859
+ () => {
3860
+ !e.autoScroll || !t.value || (n.value = t.value.scrollHeight);
3861
+ },
3862
+ { deep: !0 }
3863
+ );
3864
+ const c = (a) => {
3865
+ var h;
3866
+ const s = a.role ? ((h = e.roles) == null ? void 0 : h[a.role]) || {} : {}, { slots: f, ...d } = s, { slots: _, ...p } = a;
3867
+ return { ...d, ...p };
3868
+ }, i = (a) => {
3869
+ var f;
3870
+ return { ...(a.role ? ((f = e.roles) == null ? void 0 : f[a.role]) || {} : {}).slots, ...a.slots };
3871
+ }, o = Eu(() => {
3872
+ var f;
3873
+ if (!(e.loading && e.loadingRole && ((f = e.roles) != null && f[e.loadingRole])))
3874
+ return null;
3875
+ const { slots: a, ...s } = e.roles[e.loadingRole];
3876
+ return { props: { ...s, loading: !0 }, slots: a };
3170
3877
  });
3171
- const c = (i) => {
3172
- var b;
3173
- const a = i.role ? ((b = e.roles) == null ? void 0 : b[i.role]) || {} : {}, { slots: s, ...f } = a, { slots: d, ...h } = i;
3174
- return { ...f, ...h };
3175
- }, o = (i) => {
3176
- var s;
3177
- return { ...(i.role ? ((s = e.roles) == null ? void 0 : s[i.role]) || {} : {}).slots, ...i.slots };
3178
- };
3179
- return (i, a) => (S(), L("div", {
3878
+ return (a, s) => (S(), H("div", {
3180
3879
  class: "tr-bubble-list",
3181
3880
  ref_key: "scrollContainerRef",
3182
3881
  ref: t
3183
3882
  }, [
3184
- (S(!0), L(U0, null, Ou(e.items, (s, f) => (S(), yu(J, Nu({
3185
- key: s.id || f
3186
- }, { ref_for: !0 }, c(s)), Z0({ _: 2 }, [
3187
- Ou(o(s), (d, h) => ({
3188
- name: h,
3189
- fn: H0((b) => [
3190
- (S(), yu(o0(o(s)[h]), Nu({ ref_for: !0 }, b), null, 16))
3883
+ (S(!0), H(De, null, Ee(e.items, (f, d) => (S(), H(De, {
3884
+ key: f.id || d
3885
+ }, [
3886
+ f.hidden ? Lu("", !0) : (S(), uu(Au, Ou({
3887
+ key: 0,
3888
+ ref_for: !0
3889
+ }, c(f)), G0({ _: 2 }, [
3890
+ Ee(i(f), (_, p) => ({
3891
+ name: p,
3892
+ fn: W0((h) => [
3893
+ (S(), uu(mu(_), Ou({ ref_for: !0 }, h), null, 16))
3894
+ ])
3895
+ }))
3896
+ ]), 1040))
3897
+ ], 64))), 128)),
3898
+ o.value ? (S(), uu(Au, Ce(Ou({ key: 0 }, o.value.props)), G0({ _: 2 }, [
3899
+ Ee(o.value.slots, (f, d) => ({
3900
+ name: d,
3901
+ fn: W0((_) => [
3902
+ (S(), uu(mu(f), Ce(Cn(_)), null, 16))
3191
3903
  ])
3192
3904
  }))
3193
- ]), 1040))), 128))
3905
+ ]), 1040)) : Lu("", !0)
3194
3906
  ], 512));
3195
3907
  }
3196
- }), tu = /* @__PURE__ */ a0(jr, [["__scopeId", "data-v-307d7ab0"]]);
3197
- J.name = "TrBubble";
3198
- const Ur = function(u) {
3199
- u.component(J.name, J);
3200
- };
3201
- J.install = Ur;
3202
- const Jr = J;
3203
- tu.name = "TrBubbleList";
3204
- const Zr = function(u) {
3205
- u.component(tu.name, tu);
3206
- };
3207
- tu.install = Zr;
3208
- const Qr = tu;
3908
+ }), te = /* @__PURE__ */ re(ki, [["__scopeId", "data-v-e1e12abe"]]), ne = /* @__PURE__ */ Cu({
3909
+ __name: "BubbleProvider",
3910
+ props: {
3911
+ contentRenderers: { default: () => ({}) }
3912
+ },
3913
+ setup(u) {
3914
+ const e = u, t = /* @__PURE__ */ new Map();
3915
+ for (const [n, r] of Ct.entries())
3916
+ t.set(n, r);
3917
+ for (const [n, r] of Object.entries(e.contentRenderers))
3918
+ t.set(n, r);
3919
+ return Z0(Dt, t), Z0(yt, s0), (n, r) => ke(n.$slots, "default");
3920
+ }
3921
+ });
3922
+ Au.name = "TrBubble";
3923
+ const Ei = function(u) {
3924
+ u.component(Au.name, Au);
3925
+ };
3926
+ Au.install = Ei;
3927
+ const Ii = Au;
3928
+ te.name = "TrBubbleList";
3929
+ const Ai = function(u) {
3930
+ u.component(te.name, te);
3931
+ };
3932
+ te.install = Ai;
3933
+ const Mi = te;
3934
+ ne.name = "TrBubbleProvider";
3935
+ const Ci = function(u) {
3936
+ u.component(ne.name, ne);
3937
+ };
3938
+ ne.install = Ci;
3939
+ const Li = ne;
3209
3940
  export {
3210
- Jr as Bubble,
3211
- Qr as BubbleList
3941
+ Ii as Bubble,
3942
+ a0 as BubbleContentClassRenderer,
3943
+ Mi as BubbleList,
3944
+ Ri as BubbleMarkdownContentRenderer,
3945
+ Li as BubbleProvider
3212
3946
  };