hexagon-editor 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +381 -52
- package/dist/MarkdownEditor.vue.d.ts +28 -4
- package/dist/MarkdownEditor.vue.d.ts.map +1 -1
- package/dist/{MarkdownEditorLinkForm-B9dEX3WT.js → MarkdownEditorLinkForm-nx1gDLpK.js} +17 -6
- package/dist/background-color-DJ1tENTK.js +80 -0
- package/dist/{base-BPdMUtQo.js → base-BOV5nzwj.js} +1005 -728
- package/dist/classname.d.ts.map +1 -1
- package/dist/{index-D_CMntQU.js → color-DYgeN76h.js} +530 -459
- package/dist/components/MarkdownEditorFloatingMenus.vue.d.ts +9 -1
- package/dist/components/MarkdownEditorFloatingMenus.vue.d.ts.map +1 -1
- package/dist/components/MarkdownEditorImageActions.vue.d.ts.map +1 -1
- package/dist/components/MarkdownEditorToolbar.vue.d.ts +8 -2
- package/dist/components/MarkdownEditorToolbar.vue.d.ts.map +1 -1
- package/dist/components/MarkdownEditorToolbarIcon.vue.d.ts.map +1 -1
- package/dist/composables/useFloatingPanel.d.ts.map +1 -1
- package/dist/composables/useMarkdownEditorValue.d.ts.map +1 -1
- package/dist/configure.d.ts.map +1 -1
- package/dist/core/actions.d.ts.map +1 -1
- package/dist/core/basic-editor-atomic-source.d.ts.map +1 -1
- package/dist/core/basic-editor-command-helpers.d.ts +4 -1
- package/dist/core/basic-editor-command-helpers.d.ts.map +1 -1
- package/dist/core/basic-editor-markdown.d.ts.map +1 -1
- package/dist/core/basic-editor-renderers.d.ts.map +1 -1
- package/dist/core/basic-editor-runtime-plugins.d.ts.map +1 -1
- package/dist/core/basic-editor-selection.d.ts.map +1 -1
- package/dist/core/basic-editor-table-controls.d.ts.map +1 -1
- package/dist/core/basic-editor-types.d.ts +4 -1
- package/dist/core/basic-editor-types.d.ts.map +1 -1
- package/dist/core/basic-editor.d.ts.map +1 -1
- package/dist/core/content-handler.d.ts.map +1 -1
- package/dist/core/editor-instance.d.ts.map +1 -1
- package/dist/core/events.d.ts.map +1 -1
- package/dist/core/extension-builder.d.ts +1 -1
- package/dist/core/extension-builder.d.ts.map +1 -1
- package/dist/core/extensions-manager.d.ts.map +1 -1
- package/dist/core/lists.d.ts.map +1 -1
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/markdown-parser.d.ts.map +1 -1
- package/dist/core/markdown.d.ts.map +1 -1
- package/dist/core/markup-commands.d.ts.map +1 -1
- package/dist/core/markup-editor.d.ts.map +1 -1
- package/dist/core/registries.d.ts.map +1 -1
- package/dist/core/schema-dynamic-modifier.d.ts.map +1 -1
- package/dist/core/vue-renderer.d.ts.map +1 -1
- package/dist/core.js +2 -2
- package/dist/directives.d.ts.map +1 -1
- package/dist/extensions/additional/folding-heading.d.ts.map +1 -1
- package/dist/extensions/additional/math.d.ts.map +1 -1
- package/dist/extensions/additional/mermaid.d.ts.map +1 -1
- package/dist/extensions/additional/quote-link.d.ts.map +1 -1
- package/dist/extensions/additional/yfm-html-block.d.ts.map +1 -1
- package/dist/extensions/base.d.ts.map +1 -1
- package/dist/extensions/behavior/clicks-on-edges.d.ts.map +1 -1
- package/dist/extensions/behavior/clipboard.d.ts.map +1 -1
- package/dist/extensions/behavior/cursor.d.ts.map +1 -1
- package/dist/extensions/behavior/editor-mode-keymap.d.ts.map +1 -1
- package/dist/extensions/behavior/history.d.ts.map +1 -1
- package/dist/extensions/behavior/placeholder.d.ts.map +1 -1
- package/dist/extensions/behavior/resizable.d.ts.map +1 -1
- package/dist/extensions/behavior/selection-commands.d.ts.map +1 -1
- package/dist/extensions/behavior/selection-context.d.ts.map +1 -1
- package/dist/extensions/behavior/selection.d.ts.map +1 -1
- package/dist/extensions/index.d.ts +1 -0
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/markdown/background-color.d.ts +16 -0
- package/dist/extensions/markdown/background-color.d.ts.map +1 -0
- package/dist/extensions/markdown/blockquote-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/blockquote.d.ts.map +1 -1
- package/dist/extensions/markdown/bold-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/bold.d.ts.map +1 -1
- package/dist/extensions/markdown/breaks-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/breaks.d.ts +1 -1
- package/dist/extensions/markdown/breaks.d.ts.map +1 -1
- package/dist/extensions/markdown/code-block-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/code-block.d.ts +1 -1
- package/dist/extensions/markdown/code-block.d.ts.map +1 -1
- package/dist/extensions/markdown/code-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/code.d.ts.map +1 -1
- package/dist/extensions/markdown/color.d.ts +16 -0
- package/dist/extensions/markdown/color.d.ts.map +1 -0
- package/dist/extensions/markdown/deflist-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/deflist.d.ts +1 -1
- package/dist/extensions/markdown/deflist.d.ts.map +1 -1
- package/dist/extensions/markdown/heading-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/heading.d.ts +1 -1
- package/dist/extensions/markdown/heading.d.ts.map +1 -1
- package/dist/extensions/markdown/horizontal-rule-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/horizontal-rule.d.ts.map +1 -1
- package/dist/extensions/markdown/html.d.ts.map +1 -1
- package/dist/extensions/markdown/image.d.ts +1 -1
- package/dist/extensions/markdown/image.d.ts.map +1 -1
- package/dist/extensions/markdown/italic-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/italic.d.ts +1 -1
- package/dist/extensions/markdown/italic.d.ts.map +1 -1
- package/dist/extensions/markdown/link-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/link.d.ts +1 -1
- package/dist/extensions/markdown/link.d.ts.map +1 -1
- package/dist/extensions/markdown/list-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/lists.d.ts.map +1 -1
- package/dist/extensions/markdown/mark.d.ts.map +1 -1
- package/dist/extensions/markdown/strike.d.ts.map +1 -1
- package/dist/extensions/markdown/subscript.d.ts.map +1 -1
- package/dist/extensions/markdown/table-actions.d.ts.map +1 -1
- package/dist/extensions/markdown/table-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/table.d.ts +2 -2
- package/dist/extensions/markdown/table.d.ts.map +1 -1
- package/dist/extensions/markdown/underline.d.ts.map +1 -1
- package/dist/extensions.js +121 -111
- package/dist/forms/MarkdownEditorForm.vue.d.ts.map +1 -1
- package/dist/forms/MarkdownEditorImageForm.vue.d.ts.map +1 -1
- package/dist/forms/MarkdownEditorLinkForm.vue.d.ts.map +1 -1
- package/dist/forms/MarkdownEditorTextInput.vue.d.ts.map +1 -1
- package/dist/forms/index.d.ts.map +1 -1
- package/dist/forms.js +1 -1
- package/dist/{full-Da8esvj2.js → full-s-sYdwp2.js} +1 -1
- package/dist/{full-specs-hXKoMF-0.js → full-specs-Cm3QffD5.js} +1 -1
- package/dist/{heading-specs-D7Bj4aIM.js → heading-specs-Dnjn5FYs.js} +136 -51
- package/dist/i18n/index.d.ts +17 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n.js +39 -5
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +960 -802
- package/dist/{markup-commands-BYsx8ADT.js → markup-commands-DW5NFQUO.js} +4082 -4411
- package/dist/presets/commonmark-specs.d.ts.map +1 -1
- package/dist/presets/commonmark.d.ts.map +1 -1
- package/dist/presets/default.d.ts.map +1 -1
- package/dist/presets/full-specs.d.ts.map +1 -1
- package/dist/presets/full.d.ts.map +1 -1
- package/dist/presets/index.d.ts.map +1 -1
- package/dist/presets/zero.d.ts.map +1 -1
- package/dist/presets.js +2 -2
- package/dist/public-types.d.ts.map +1 -1
- package/dist/renderer/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/renderer/index.d.ts.map +1 -1
- package/dist/renderer/markdown.d.ts.map +1 -1
- package/dist/renderer.css +1 -1
- package/dist/renderer.js +672 -568
- package/dist/specs.js +53 -14
- package/dist/toolbar/config.d.ts +2 -2
- package/dist/toolbar/config.d.ts.map +1 -1
- package/dist/toolbar/index.d.ts.map +1 -1
- package/dist/toolbar.js +21 -22
- package/dist/use-markdown-editor.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/package.json +1 -2
- package/dist/core/basic-editor-table-popover.d.ts +0 -5
- package/dist/core/basic-editor-table-popover.d.ts.map +0 -1
package/dist/renderer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as I0, ref as q0, getCurrentInstance as R0, computed as P0, watch as L0, nextTick as O0, onMounted as N0, onBeforeUnmount as j0, openBlock as H0, createElementBlock as U0, render as Iu, h as Z0 } from "vue";
|
|
2
2
|
const qu = {};
|
|
3
|
-
function
|
|
3
|
+
function V0(u) {
|
|
4
4
|
let e = qu[u];
|
|
5
5
|
if (e)
|
|
6
6
|
return e;
|
|
@@ -15,9 +15,9 @@ function j0(u) {
|
|
|
15
15
|
}
|
|
16
16
|
return e;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
typeof e != "string" && (e =
|
|
20
|
-
const n =
|
|
18
|
+
function V(u, e) {
|
|
19
|
+
typeof e != "string" && (e = V.defaultChars);
|
|
20
|
+
const n = V0(e);
|
|
21
21
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(t) {
|
|
22
22
|
let c = "";
|
|
23
23
|
for (let r = 0, i = t.length; r < i; r += 3) {
|
|
@@ -37,16 +37,16 @@ function G(u, e) {
|
|
|
37
37
|
if ((o & 240) === 224 && r + 6 < i) {
|
|
38
38
|
const a = parseInt(t.slice(r + 4, r + 6), 16), s = parseInt(t.slice(r + 7, r + 9), 16);
|
|
39
39
|
if ((a & 192) === 128 && (s & 192) === 128) {
|
|
40
|
-
const
|
|
41
|
-
|
|
40
|
+
const l = o << 12 & 61440 | a << 6 & 4032 | s & 63;
|
|
41
|
+
l < 2048 || l >= 55296 && l <= 57343 ? c += "���" : c += String.fromCharCode(l), r += 6;
|
|
42
42
|
continue;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
if ((o & 248) === 240 && r + 9 < i) {
|
|
46
|
-
const a = parseInt(t.slice(r + 4, r + 6), 16), s = parseInt(t.slice(r + 7, r + 9), 16),
|
|
47
|
-
if ((a & 192) === 128 && (s & 192) === 128 && (
|
|
48
|
-
let
|
|
49
|
-
|
|
46
|
+
const a = parseInt(t.slice(r + 4, r + 6), 16), s = parseInt(t.slice(r + 7, r + 9), 16), l = parseInt(t.slice(r + 10, r + 12), 16);
|
|
47
|
+
if ((a & 192) === 128 && (s & 192) === 128 && (l & 192) === 128) {
|
|
48
|
+
let f = o << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | l & 63;
|
|
49
|
+
f < 65536 || f > 1114111 ? c += "����" : (f -= 65536, c += String.fromCharCode(55296 + (f >> 10), 56320 + (f & 1023))), r += 9;
|
|
50
50
|
continue;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -55,10 +55,10 @@ function G(u, e) {
|
|
|
55
55
|
return c;
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
V.defaultChars = ";/?:@&=+$,#";
|
|
59
|
+
V.componentChars = "";
|
|
60
60
|
const Ru = {};
|
|
61
|
-
function
|
|
61
|
+
function G0(u) {
|
|
62
62
|
let e = Ru[u];
|
|
63
63
|
if (e)
|
|
64
64
|
return e;
|
|
@@ -73,7 +73,7 @@ function H0(u) {
|
|
|
73
73
|
}
|
|
74
74
|
function nu(u, e, n) {
|
|
75
75
|
typeof e != "string" && (n = e, e = nu.defaultChars), typeof n > "u" && (n = !0);
|
|
76
|
-
const t =
|
|
76
|
+
const t = G0(e);
|
|
77
77
|
let c = "";
|
|
78
78
|
for (let r = 0, i = u.length; r < i; r++) {
|
|
79
79
|
const o = u.charCodeAt(r);
|
|
@@ -109,8 +109,8 @@ function wu(u) {
|
|
|
109
109
|
function au() {
|
|
110
110
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
`, " "],
|
|
112
|
+
const W0 = /^([a-z0-9.+-]+:)/i, J0 = /:[0-9]*$/, Q0 = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, X0 = ["<", ">", '"', "`", " ", "\r", `
|
|
113
|
+
`, " "], K0 = ["{", "}", "|", "\\", "^", "`"].concat(X0), Y0 = ["'"].concat(K0), Pu = ["%", "/", "?", ";", "#"].concat(Y0), Lu = ["/", "?", "#"], ue = 255, Ou = /^[+a-z0-9A-Z_-]{0,63}$/, ee = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Nu = {
|
|
114
114
|
javascript: !0,
|
|
115
115
|
"javascript:": !0
|
|
116
116
|
}, ju = {
|
|
@@ -133,17 +133,17 @@ function vu(u, e) {
|
|
|
133
133
|
au.prototype.parse = function(u, e) {
|
|
134
134
|
let n, t, c, r = u;
|
|
135
135
|
if (r = r.trim(), !e && u.split("#").length === 1) {
|
|
136
|
-
const s =
|
|
136
|
+
const s = Q0.exec(r);
|
|
137
137
|
if (s)
|
|
138
138
|
return this.pathname = s[1], s[2] && (this.search = s[2]), this;
|
|
139
139
|
}
|
|
140
|
-
let i =
|
|
140
|
+
let i = W0.exec(r);
|
|
141
141
|
if (i && (i = i[0], n = i.toLowerCase(), this.protocol = i, r = r.substr(i.length)), (e || i || r.match(/^\/\/[^@\/]+@[^@\/]+/)) && (c = r.substr(0, 2) === "//", c && !(i && Nu[i]) && (r = r.substr(2), this.slashes = !0)), !Nu[i] && (c || i && !ju[i])) {
|
|
142
142
|
let s = -1;
|
|
143
143
|
for (let d = 0; d < Lu.length; d++)
|
|
144
144
|
t = r.indexOf(Lu[d]), t !== -1 && (s === -1 || t < s) && (s = t);
|
|
145
|
-
let
|
|
146
|
-
s === -1 ?
|
|
145
|
+
let l, f;
|
|
146
|
+
s === -1 ? f = r.lastIndexOf("@") : f = r.lastIndexOf("@", s), f !== -1 && (l = r.slice(0, f), r = r.slice(f + 1), this.auth = l), s = -1;
|
|
147
147
|
for (let d = 0; d < Pu.length; d++)
|
|
148
148
|
t = r.indexOf(Pu[d]), t !== -1 && (s === -1 || t < s) && (s = t);
|
|
149
149
|
s === -1 && (s = r.length), r[s - 1] === ":" && s--;
|
|
@@ -159,14 +159,14 @@ au.prototype.parse = function(u, e) {
|
|
|
159
159
|
for (let _ = 0, k = D.length; _ < k; _++)
|
|
160
160
|
D.charCodeAt(_) > 127 ? m += "x" : m += D[_];
|
|
161
161
|
if (!m.match(Ou)) {
|
|
162
|
-
const _ = d.slice(0, p), k = d.slice(p + 1), g = D.match(
|
|
162
|
+
const _ = d.slice(0, p), k = d.slice(p + 1), g = D.match(ee);
|
|
163
163
|
g && (_.push(g[1]), k.unshift(g[2])), k.length && (r = k.join(".") + r), this.hostname = _.join(".");
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
this.hostname.length >
|
|
169
|
+
this.hostname.length > ue && (this.hostname = ""), h && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
|
|
170
170
|
}
|
|
171
171
|
const o = r.indexOf("#");
|
|
172
172
|
o !== -1 && (this.hash = r.substr(o), r = r.slice(0, o));
|
|
@@ -174,32 +174,32 @@ au.prototype.parse = function(u, e) {
|
|
|
174
174
|
return a !== -1 && (this.search = r.substr(a), r = r.slice(0, a)), r && (this.pathname = r), ju[n] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
175
175
|
};
|
|
176
176
|
au.prototype.parseHost = function(u) {
|
|
177
|
-
let e =
|
|
177
|
+
let e = J0.exec(u);
|
|
178
178
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
|
|
179
179
|
};
|
|
180
|
-
const
|
|
180
|
+
const ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
181
181
|
__proto__: null,
|
|
182
|
-
decode:
|
|
182
|
+
decode: V,
|
|
183
183
|
encode: nu,
|
|
184
184
|
format: wu,
|
|
185
185
|
parse: vu
|
|
186
|
-
}, Symbol.toStringTag, { value: "Module" })), r0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, t0 = /[\0-\x1F\x7F-\x9F]/,
|
|
186
|
+
}, Symbol.toStringTag, { value: "Module" })), r0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, t0 = /[\0-\x1F\x7F-\x9F]/, re = /[\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]/, Su = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, c0 = /[\$\+<->\^`\|~\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]/, o0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
187
187
|
__proto__: null,
|
|
188
188
|
Any: r0,
|
|
189
189
|
Cc: t0,
|
|
190
|
-
Cf:
|
|
190
|
+
Cf: re,
|
|
191
191
|
P: Su,
|
|
192
192
|
S: c0,
|
|
193
193
|
Z: o0
|
|
194
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
194
|
+
}, Symbol.toStringTag, { value: "Module" })), ce = new Uint16Array(
|
|
195
195
|
// prettier-ignore
|
|
196
196
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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))
|
|
197
|
-
),
|
|
197
|
+
), oe = new Uint16Array(
|
|
198
198
|
// prettier-ignore
|
|
199
199
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
200
200
|
);
|
|
201
201
|
var mu;
|
|
202
|
-
const
|
|
202
|
+
const ie = /* @__PURE__ */ new Map([
|
|
203
203
|
[0, 65533],
|
|
204
204
|
// C1 Unicode control character reference replacements
|
|
205
205
|
[128, 8364],
|
|
@@ -229,22 +229,22 @@ const re = /* @__PURE__ */ new Map([
|
|
|
229
229
|
[156, 339],
|
|
230
230
|
[158, 382],
|
|
231
231
|
[159, 376]
|
|
232
|
-
]),
|
|
232
|
+
]), ae = (
|
|
233
233
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
234
234
|
(mu = String.fromCodePoint) !== null && mu !== void 0 ? mu : function(u) {
|
|
235
235
|
let e = "";
|
|
236
236
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
237
237
|
}
|
|
238
238
|
);
|
|
239
|
-
function
|
|
239
|
+
function se(u) {
|
|
240
240
|
var e;
|
|
241
|
-
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e =
|
|
241
|
+
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = ie.get(u)) !== null && e !== void 0 ? e : u;
|
|
242
242
|
}
|
|
243
243
|
var A;
|
|
244
244
|
(function(u) {
|
|
245
245
|
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";
|
|
246
246
|
})(A || (A = {}));
|
|
247
|
-
const
|
|
247
|
+
const le = 32;
|
|
248
248
|
var O;
|
|
249
249
|
(function(u) {
|
|
250
250
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
@@ -252,14 +252,14 @@ var O;
|
|
|
252
252
|
function Fu(u) {
|
|
253
253
|
return u >= A.ZERO && u <= A.NINE;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function fe(u) {
|
|
256
256
|
return u >= A.UPPER_A && u <= A.UPPER_F || u >= A.LOWER_A && u <= A.LOWER_F;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function de(u) {
|
|
259
259
|
return u >= A.UPPER_A && u <= A.UPPER_Z || u >= A.LOWER_A && u <= A.LOWER_Z || Fu(u);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
return u === A.EQUALS ||
|
|
261
|
+
function he(u) {
|
|
262
|
+
return u === A.EQUALS || de(u);
|
|
263
263
|
}
|
|
264
264
|
var F;
|
|
265
265
|
(function(u) {
|
|
@@ -269,7 +269,7 @@ var R;
|
|
|
269
269
|
(function(u) {
|
|
270
270
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
271
271
|
})(R || (R = {}));
|
|
272
|
-
class
|
|
272
|
+
class be {
|
|
273
273
|
constructor(e, n, t) {
|
|
274
274
|
this.decodeTree = e, this.emitCodePoint = n, this.errors = t, this.state = F.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = R.Strict;
|
|
275
275
|
}
|
|
@@ -312,7 +312,7 @@ class fe {
|
|
|
312
312
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
313
313
|
*/
|
|
314
314
|
stateNumericStart(e, n) {
|
|
315
|
-
return n >= e.length ? -1 : (e.charCodeAt(n) |
|
|
315
|
+
return n >= e.length ? -1 : (e.charCodeAt(n) | le) === A.LOWER_X ? (this.state = F.NumericHex, this.consumed += 1, this.stateNumericHex(e, n + 1)) : (this.state = F.NumericDecimal, this.stateNumericDecimal(e, n));
|
|
316
316
|
}
|
|
317
317
|
addToNumericResult(e, n, t, c) {
|
|
318
318
|
if (n !== t) {
|
|
@@ -333,7 +333,7 @@ class fe {
|
|
|
333
333
|
const t = n;
|
|
334
334
|
for (; n < e.length; ) {
|
|
335
335
|
const c = e.charCodeAt(n);
|
|
336
|
-
if (Fu(c) ||
|
|
336
|
+
if (Fu(c) || fe(c))
|
|
337
337
|
n += 1;
|
|
338
338
|
else
|
|
339
339
|
return this.addToNumericResult(e, t, n, 16), this.emitNumericEntity(c, 3);
|
|
@@ -381,7 +381,7 @@ class fe {
|
|
|
381
381
|
this.consumed += 1;
|
|
382
382
|
else if (this.decodeMode === R.Strict)
|
|
383
383
|
return 0;
|
|
384
|
-
return this.emitCodePoint(
|
|
384
|
+
return this.emitCodePoint(se(this.result), this.consumed), this.errors && (e !== A.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
385
385
|
}
|
|
386
386
|
/**
|
|
387
387
|
* Parses a named entity.
|
|
@@ -397,11 +397,11 @@ class fe {
|
|
|
397
397
|
let c = t[this.treeIndex], r = (c & O.VALUE_LENGTH) >> 14;
|
|
398
398
|
for (; n < e.length; n++, this.excess++) {
|
|
399
399
|
const i = e.charCodeAt(n);
|
|
400
|
-
if (this.treeIndex =
|
|
400
|
+
if (this.treeIndex = pe(t, c, this.treeIndex + Math.max(1, r), i), this.treeIndex < 0)
|
|
401
401
|
return this.result === 0 || // If we are parsing an attribute
|
|
402
402
|
this.decodeMode === R.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
403
403
|
(r === 0 || // And there should be no invalid characters.
|
|
404
|
-
|
|
404
|
+
he(i)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
405
405
|
if (c = t[this.treeIndex], r = (c & O.VALUE_LENGTH) >> 14, r !== 0) {
|
|
406
406
|
if (i === A.SEMI)
|
|
407
407
|
return this.emitNamedEntityData(this.treeIndex, r, this.consumed + this.excess);
|
|
@@ -459,7 +459,7 @@ class fe {
|
|
|
459
459
|
}
|
|
460
460
|
function i0(u) {
|
|
461
461
|
let e = "";
|
|
462
|
-
const n = new
|
|
462
|
+
const n = new be(u, (t) => e += ae(t));
|
|
463
463
|
return function(c, r) {
|
|
464
464
|
let i = 0, o = 0;
|
|
465
465
|
for (; (o = c.indexOf("&", o)) >= 0; ) {
|
|
@@ -479,7 +479,7 @@ function i0(u) {
|
|
|
479
479
|
return e = "", a;
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function pe(u, e, n, t) {
|
|
483
483
|
const c = (e & O.BRANCH_LENGTH) >> 7, r = e & O.JUMP_TABLE;
|
|
484
484
|
if (c === 0)
|
|
485
485
|
return r !== 0 && t === r ? n : -1;
|
|
@@ -499,25 +499,25 @@ function le(u, e, n, t) {
|
|
|
499
499
|
}
|
|
500
500
|
return -1;
|
|
501
501
|
}
|
|
502
|
-
const a0 = i0(
|
|
503
|
-
i0(
|
|
504
|
-
function
|
|
502
|
+
const a0 = i0(ce);
|
|
503
|
+
i0(oe);
|
|
504
|
+
function xe(u, e = R.Legacy) {
|
|
505
505
|
return a0(u, e);
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function me(u) {
|
|
508
508
|
return a0(u, R.Strict);
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function _e(u) {
|
|
511
511
|
return Object.prototype.toString.call(u);
|
|
512
512
|
}
|
|
513
|
-
function
|
|
514
|
-
return
|
|
513
|
+
function Tu(u) {
|
|
514
|
+
return _e(u) === "[object String]";
|
|
515
515
|
}
|
|
516
|
-
const
|
|
517
|
-
function
|
|
518
|
-
return
|
|
516
|
+
const ke = Object.prototype.hasOwnProperty;
|
|
517
|
+
function ge(u, e) {
|
|
518
|
+
return ke.call(u, e);
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function lu(u) {
|
|
521
521
|
return Array.prototype.slice.call(arguments, 1).forEach(function(n) {
|
|
522
522
|
if (n) {
|
|
523
523
|
if (typeof n != "object")
|
|
@@ -531,7 +531,7 @@ function fu(u) {
|
|
|
531
531
|
function s0(u, e, n) {
|
|
532
532
|
return [].concat(u.slice(0, e), n, u.slice(e + 1));
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function zu(u) {
|
|
535
535
|
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);
|
|
536
536
|
}
|
|
537
537
|
function X(u) {
|
|
@@ -542,38 +542,38 @@ function X(u) {
|
|
|
542
542
|
}
|
|
543
543
|
return String.fromCharCode(u);
|
|
544
544
|
}
|
|
545
|
-
const
|
|
546
|
-
function
|
|
547
|
-
if (e.charCodeAt(0) === 35 &&
|
|
545
|
+
const l0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, Ce = /&([a-z#][a-z0-9]{1,31});/gi, De = new RegExp(l0.source + "|" + Ce.source, "gi"), Ee = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
546
|
+
function ye(u, e) {
|
|
547
|
+
if (e.charCodeAt(0) === 35 && Ee.test(e)) {
|
|
548
548
|
const t = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
549
|
-
return
|
|
549
|
+
return zu(t) ? X(t) : u;
|
|
550
550
|
}
|
|
551
|
-
const n =
|
|
551
|
+
const n = xe(u);
|
|
552
552
|
return n !== u ? n : u;
|
|
553
553
|
}
|
|
554
|
-
function
|
|
555
|
-
return u.indexOf("\\") < 0 ? u : u.replace(
|
|
554
|
+
function Fe(u) {
|
|
555
|
+
return u.indexOf("\\") < 0 ? u : u.replace(l0, "$1");
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(
|
|
559
|
-
return n ||
|
|
557
|
+
function G(u) {
|
|
558
|
+
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(De, function(e, n, t) {
|
|
559
|
+
return n || ye(e, t);
|
|
560
560
|
});
|
|
561
561
|
}
|
|
562
|
-
const
|
|
562
|
+
const Ae = /[&<>"]/, we = /[&<>"]/g, ve = {
|
|
563
563
|
"&": "&",
|
|
564
564
|
"<": "<",
|
|
565
565
|
">": ">",
|
|
566
566
|
'"': """
|
|
567
567
|
};
|
|
568
|
-
function
|
|
569
|
-
return
|
|
568
|
+
function Se(u) {
|
|
569
|
+
return ve[u];
|
|
570
570
|
}
|
|
571
571
|
function N(u) {
|
|
572
|
-
return
|
|
572
|
+
return Ae.test(u) ? u.replace(we, Se) : u;
|
|
573
573
|
}
|
|
574
|
-
const
|
|
575
|
-
function
|
|
576
|
-
return u.replace(
|
|
574
|
+
const Te = /[.?*+^$[\]\\(){}|-]/g;
|
|
575
|
+
function ze(u) {
|
|
576
|
+
return u.replace(Te, "\\$&");
|
|
577
577
|
}
|
|
578
578
|
function E(u) {
|
|
579
579
|
switch (u) {
|
|
@@ -607,11 +607,11 @@ function K(u) {
|
|
|
607
607
|
}
|
|
608
608
|
return !1;
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function f0(u) {
|
|
611
611
|
return Su.test(u) || c0.test(u);
|
|
612
612
|
}
|
|
613
613
|
function Y(u) {
|
|
614
|
-
return
|
|
614
|
+
return f0(X(u));
|
|
615
615
|
}
|
|
616
616
|
function uu(u) {
|
|
617
617
|
switch (u) {
|
|
@@ -652,7 +652,7 @@ function uu(u) {
|
|
|
652
652
|
return !1;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function fu(u) {
|
|
656
656
|
return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
|
|
657
657
|
}
|
|
658
658
|
function Hu(u) {
|
|
@@ -667,28 +667,28 @@ function du(u) {
|
|
|
667
667
|
;
|
|
668
668
|
return u.slice(e, n + 1);
|
|
669
669
|
}
|
|
670
|
-
const
|
|
670
|
+
const $e = { mdurl: ne, ucmicro: te }, Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
671
671
|
__proto__: null,
|
|
672
672
|
arrayReplaceAt: s0,
|
|
673
673
|
asciiTrim: du,
|
|
674
|
-
assign:
|
|
674
|
+
assign: lu,
|
|
675
675
|
escapeHtml: N,
|
|
676
|
-
escapeRE:
|
|
676
|
+
escapeRE: ze,
|
|
677
677
|
fromCodePoint: X,
|
|
678
|
-
has:
|
|
678
|
+
has: ge,
|
|
679
679
|
isMdAsciiPunct: uu,
|
|
680
|
-
isPunctChar:
|
|
680
|
+
isPunctChar: f0,
|
|
681
681
|
isPunctCharCode: Y,
|
|
682
682
|
isSpace: E,
|
|
683
|
-
isString:
|
|
684
|
-
isValidEntityCode:
|
|
683
|
+
isString: Tu,
|
|
684
|
+
isValidEntityCode: zu,
|
|
685
685
|
isWhiteSpace: K,
|
|
686
|
-
lib:
|
|
687
|
-
normalizeReference:
|
|
688
|
-
unescapeAll:
|
|
689
|
-
unescapeMd:
|
|
686
|
+
lib: $e,
|
|
687
|
+
normalizeReference: fu,
|
|
688
|
+
unescapeAll: G,
|
|
689
|
+
unescapeMd: Fe
|
|
690
690
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
691
|
-
function
|
|
691
|
+
function Me(u, e, n) {
|
|
692
692
|
let t, c, r, i;
|
|
693
693
|
const o = u.posMax, a = u.pos;
|
|
694
694
|
for (u.pos = e + 1, t = 1; u.pos < o; ) {
|
|
@@ -706,7 +706,7 @@ function ze(u, e, n) {
|
|
|
706
706
|
let s = -1;
|
|
707
707
|
return c && (s = u.pos), u.pos = a, s;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Ie(u, e, n) {
|
|
710
710
|
let t, c = e;
|
|
711
711
|
const r = {
|
|
712
712
|
ok: !1,
|
|
@@ -718,7 +718,7 @@ function Te(u, e, n) {
|
|
|
718
718
|
if (t = u.charCodeAt(c), t === 10 || t === 60)
|
|
719
719
|
return r;
|
|
720
720
|
if (t === 62)
|
|
721
|
-
return r.pos = c + 1, r.str =
|
|
721
|
+
return r.pos = c + 1, r.str = G(u.slice(e + 1, c)), r.ok = !0, r;
|
|
722
722
|
if (t === 92 && c + 1 < n) {
|
|
723
723
|
c += 2;
|
|
724
724
|
continue;
|
|
@@ -744,9 +744,9 @@ function Te(u, e, n) {
|
|
|
744
744
|
}
|
|
745
745
|
c++;
|
|
746
746
|
}
|
|
747
|
-
return e === c || i !== 0 || (r.str =
|
|
747
|
+
return e === c || i !== 0 || (r.str = G(u.slice(e, c)), r.pos = c, r.ok = !0), r;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
749
|
+
function qe(u, e, n, t) {
|
|
750
750
|
let c, r = e;
|
|
751
751
|
const i = {
|
|
752
752
|
// if `true`, this is a valid link title
|
|
@@ -772,44 +772,44 @@ function Be(u, e, n, t) {
|
|
|
772
772
|
}
|
|
773
773
|
for (; r < n; ) {
|
|
774
774
|
if (c = u.charCodeAt(r), c === i.marker)
|
|
775
|
-
return i.pos = r + 1, i.str +=
|
|
775
|
+
return i.pos = r + 1, i.str += G(u.slice(e, r)), i.ok = !0, i;
|
|
776
776
|
if (c === 40 && i.marker === 41)
|
|
777
777
|
return i;
|
|
778
778
|
c === 92 && r + 1 < n && r++, r++;
|
|
779
779
|
}
|
|
780
|
-
return i.can_continue = !0, i.str +=
|
|
780
|
+
return i.can_continue = !0, i.str += G(u.slice(e, r)), i;
|
|
781
781
|
}
|
|
782
|
-
const
|
|
782
|
+
const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
783
783
|
__proto__: null,
|
|
784
|
-
parseLinkDestination:
|
|
785
|
-
parseLinkLabel:
|
|
786
|
-
parseLinkTitle:
|
|
787
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
788
|
-
|
|
784
|
+
parseLinkDestination: Ie,
|
|
785
|
+
parseLinkLabel: Me,
|
|
786
|
+
parseLinkTitle: qe
|
|
787
|
+
}, Symbol.toStringTag, { value: "Module" })), I = {};
|
|
788
|
+
I.code_inline = function(u, e, n, t, c) {
|
|
789
789
|
const r = u[e];
|
|
790
790
|
return "<code" + c.renderAttrs(r) + ">" + N(r.content) + "</code>";
|
|
791
791
|
};
|
|
792
|
-
|
|
792
|
+
I.code_block = function(u, e, n, t, c) {
|
|
793
793
|
const r = u[e];
|
|
794
794
|
return "<pre" + c.renderAttrs(r) + "><code>" + N(u[e].content) + `</code></pre>
|
|
795
795
|
`;
|
|
796
796
|
};
|
|
797
|
-
|
|
798
|
-
const r = u[e], i = r.info ?
|
|
797
|
+
I.fence = function(u, e, n, t, c) {
|
|
798
|
+
const r = u[e], i = r.info ? G(r.info).trim() : "";
|
|
799
799
|
let o = "", a = "";
|
|
800
800
|
if (i) {
|
|
801
|
-
const
|
|
802
|
-
o =
|
|
801
|
+
const l = i.split(/(\s+)/g);
|
|
802
|
+
o = l[0], a = l.slice(2).join("");
|
|
803
803
|
}
|
|
804
804
|
let s;
|
|
805
805
|
if (n.highlight ? s = n.highlight(r.content, o, a) || N(r.content) : s = N(r.content), s.indexOf("<pre") === 0)
|
|
806
806
|
return s + `
|
|
807
807
|
`;
|
|
808
808
|
if (i) {
|
|
809
|
-
const
|
|
810
|
-
|
|
809
|
+
const l = r.attrIndex("class"), f = r.attrs ? r.attrs.slice() : [];
|
|
810
|
+
l < 0 ? f.push(["class", n.langPrefix + o]) : (f[l] = f[l].slice(), f[l][1] += " " + n.langPrefix + o);
|
|
811
811
|
const b = {
|
|
812
|
-
attrs:
|
|
812
|
+
attrs: f
|
|
813
813
|
};
|
|
814
814
|
return `<pre><code${c.renderAttrs(b)}>${s}</code></pre>
|
|
815
815
|
`;
|
|
@@ -817,32 +817,32 @@ M.fence = function(u, e, n, t, c) {
|
|
|
817
817
|
return `<pre><code${c.renderAttrs(r)}>${s}</code></pre>
|
|
818
818
|
`;
|
|
819
819
|
};
|
|
820
|
-
|
|
820
|
+
I.image = function(u, e, n, t, c) {
|
|
821
821
|
const r = u[e];
|
|
822
822
|
return r.attrs[r.attrIndex("alt")][1] = c.renderInlineAsText(r.children, n, t), c.renderToken(u, e, n);
|
|
823
823
|
};
|
|
824
|
-
|
|
824
|
+
I.hardbreak = function(u, e, n) {
|
|
825
825
|
return n.xhtmlOut ? `<br />
|
|
826
826
|
` : `<br>
|
|
827
827
|
`;
|
|
828
828
|
};
|
|
829
|
-
|
|
829
|
+
I.softbreak = function(u, e, n) {
|
|
830
830
|
return n.breaks ? n.xhtmlOut ? `<br />
|
|
831
831
|
` : `<br>
|
|
832
832
|
` : `
|
|
833
833
|
`;
|
|
834
834
|
};
|
|
835
|
-
|
|
835
|
+
I.text = function(u, e) {
|
|
836
836
|
return N(u[e].content);
|
|
837
837
|
};
|
|
838
|
-
|
|
838
|
+
I.html_block = function(u, e) {
|
|
839
839
|
return u[e].content;
|
|
840
840
|
};
|
|
841
|
-
|
|
841
|
+
I.html_inline = function(u, e) {
|
|
842
842
|
return u[e].content;
|
|
843
843
|
};
|
|
844
844
|
function W() {
|
|
845
|
-
this.rules =
|
|
845
|
+
this.rules = lu({}, I);
|
|
846
846
|
}
|
|
847
847
|
W.prototype.renderAttrs = function(e) {
|
|
848
848
|
let n, t, c;
|
|
@@ -999,10 +999,10 @@ v.prototype.disable = function(u, e) {
|
|
|
999
999
|
v.prototype.getRules = function(u) {
|
|
1000
1000
|
return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
|
|
1001
1001
|
};
|
|
1002
|
-
function
|
|
1002
|
+
function z(u, e, n) {
|
|
1003
1003
|
this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = n, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
|
|
1004
1004
|
}
|
|
1005
|
-
|
|
1005
|
+
z.prototype.attrIndex = function(e) {
|
|
1006
1006
|
if (!this.attrs)
|
|
1007
1007
|
return -1;
|
|
1008
1008
|
const n = this.attrs;
|
|
@@ -1011,50 +1011,50 @@ T.prototype.attrIndex = function(e) {
|
|
|
1011
1011
|
return t;
|
|
1012
1012
|
return -1;
|
|
1013
1013
|
};
|
|
1014
|
-
|
|
1014
|
+
z.prototype.attrPush = function(e) {
|
|
1015
1015
|
this.attrs ? this.attrs.push(e) : this.attrs = [e];
|
|
1016
1016
|
};
|
|
1017
|
-
|
|
1017
|
+
z.prototype.attrSet = function(e, n) {
|
|
1018
1018
|
const t = this.attrIndex(e), c = [e, n];
|
|
1019
1019
|
t < 0 ? this.attrPush(c) : this.attrs[t] = c;
|
|
1020
1020
|
};
|
|
1021
|
-
|
|
1021
|
+
z.prototype.attrGet = function(e) {
|
|
1022
1022
|
const n = this.attrIndex(e);
|
|
1023
1023
|
let t = null;
|
|
1024
1024
|
return n >= 0 && (t = this.attrs[n][1]), t;
|
|
1025
1025
|
};
|
|
1026
|
-
|
|
1026
|
+
z.prototype.attrJoin = function(e, n) {
|
|
1027
1027
|
const t = this.attrIndex(e);
|
|
1028
1028
|
t < 0 ? this.attrPush([e, n]) : this.attrs[t][1] = this.attrs[t][1] + " " + n;
|
|
1029
1029
|
};
|
|
1030
1030
|
function d0(u, e, n) {
|
|
1031
1031
|
this.src = u, this.env = n, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
1032
1032
|
}
|
|
1033
|
-
d0.prototype.Token =
|
|
1034
|
-
const
|
|
1035
|
-
function
|
|
1033
|
+
d0.prototype.Token = z;
|
|
1034
|
+
const Pe = /\r\n?|\n/g, Le = /\0/g;
|
|
1035
|
+
function Oe(u) {
|
|
1036
1036
|
let e;
|
|
1037
|
-
e = u.src.replace(
|
|
1038
|
-
`), e = e.replace(
|
|
1037
|
+
e = u.src.replace(Pe, `
|
|
1038
|
+
`), e = e.replace(Le, "�"), u.src = e;
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Ne(u) {
|
|
1041
1041
|
let e;
|
|
1042
1042
|
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);
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function je(u) {
|
|
1045
1045
|
const e = u.tokens;
|
|
1046
1046
|
for (let n = 0, t = e.length; n < t; n++) {
|
|
1047
1047
|
const c = e[n];
|
|
1048
1048
|
c.type === "inline" && u.md.inline.parse(c.content, u.md, u.env, c.children);
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1051
|
+
function He(u) {
|
|
1052
1052
|
return /^<a[>\s]/i.test(u);
|
|
1053
1053
|
}
|
|
1054
|
-
function
|
|
1054
|
+
function Ue(u) {
|
|
1055
1055
|
return /^<\/a\s*>/i.test(u);
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function Ze(u) {
|
|
1058
1058
|
const e = u.tokens;
|
|
1059
1059
|
if (u.md.options.linkify)
|
|
1060
1060
|
for (let n = 0, t = e.length; n < t; n++) {
|
|
@@ -1068,11 +1068,11 @@ function Ne(u) {
|
|
|
1068
1068
|
i--;
|
|
1069
1069
|
continue;
|
|
1070
1070
|
}
|
|
1071
|
-
if (o.type === "html_inline" && (
|
|
1071
|
+
if (o.type === "html_inline" && (He(o.content) && r > 0 && r--, Ue(o.content) && r++), !(r > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
|
|
1072
1072
|
const a = o.content;
|
|
1073
1073
|
let s = u.md.linkify.match(a);
|
|
1074
|
-
const
|
|
1075
|
-
let
|
|
1074
|
+
const l = [];
|
|
1075
|
+
let f = o.level, b = 0;
|
|
1076
1076
|
s.length > 0 && s[0].index === 0 && i > 0 && c[i - 1].type === "text_special" && (s = s.slice(1));
|
|
1077
1077
|
for (let h = 0; h < s.length; h++) {
|
|
1078
1078
|
const d = s[h].url, p = u.md.normalizeLink(d);
|
|
@@ -1083,57 +1083,57 @@ function Ne(u) {
|
|
|
1083
1083
|
const D = s[h].index;
|
|
1084
1084
|
if (D > b) {
|
|
1085
1085
|
const g = new u.Token("text", "", 0);
|
|
1086
|
-
g.content = a.slice(b, D), g.level =
|
|
1086
|
+
g.content = a.slice(b, D), g.level = f, l.push(g);
|
|
1087
1087
|
}
|
|
1088
1088
|
const m = new u.Token("link_open", "a", 1);
|
|
1089
|
-
m.attrs = [["href", p]], m.level =
|
|
1089
|
+
m.attrs = [["href", p]], m.level = f++, m.markup = "linkify", m.info = "auto", l.push(m);
|
|
1090
1090
|
const _ = new u.Token("text", "", 0);
|
|
1091
|
-
_.content = x, _.level =
|
|
1091
|
+
_.content = x, _.level = f, l.push(_);
|
|
1092
1092
|
const k = new u.Token("link_close", "a", -1);
|
|
1093
|
-
k.level = --
|
|
1093
|
+
k.level = --f, k.markup = "linkify", k.info = "auto", l.push(k), b = s[h].lastIndex;
|
|
1094
1094
|
}
|
|
1095
1095
|
if (b < a.length) {
|
|
1096
1096
|
const h = new u.Token("text", "", 0);
|
|
1097
|
-
h.content = a.slice(b), h.level =
|
|
1097
|
+
h.content = a.slice(b), h.level = f, l.push(h);
|
|
1098
1098
|
}
|
|
1099
|
-
e[n].children = c = s0(c, i,
|
|
1099
|
+
e[n].children = c = s0(c, i, l);
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
const h0 = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/,
|
|
1104
|
+
const h0 = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ve = /\((c|tm|r)\)/i, Ge = /\((c|tm|r)\)/ig, We = {
|
|
1105
1105
|
c: "©",
|
|
1106
1106
|
r: "®",
|
|
1107
1107
|
tm: "™"
|
|
1108
1108
|
};
|
|
1109
|
-
function
|
|
1110
|
-
return
|
|
1109
|
+
function Je(u, e) {
|
|
1110
|
+
return We[e.toLowerCase()];
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function Qe(u) {
|
|
1113
1113
|
let e = 0;
|
|
1114
1114
|
for (let n = u.length - 1; n >= 0; n--) {
|
|
1115
1115
|
const t = u[n];
|
|
1116
|
-
t.type === "text" && !e && (t.content = t.content.replace(
|
|
1116
|
+
t.type === "text" && !e && (t.content = t.content.replace(Ge, Je)), t.type === "link_open" && t.info === "auto" && e--, t.type === "link_close" && t.info === "auto" && e++;
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Xe(u) {
|
|
1120
1120
|
let e = 0;
|
|
1121
1121
|
for (let n = u.length - 1; n >= 0; n--) {
|
|
1122
1122
|
const t = u[n];
|
|
1123
1123
|
t.type === "text" && !e && h0.test(t.content) && (t.content = t.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–")), t.type === "link_open" && t.info === "auto" && e--, t.type === "link_close" && t.info === "auto" && e++;
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
|
-
function
|
|
1126
|
+
function Ke(u) {
|
|
1127
1127
|
let e;
|
|
1128
1128
|
if (u.md.options.typographer)
|
|
1129
1129
|
for (e = u.tokens.length - 1; e >= 0; e--)
|
|
1130
|
-
u.tokens[e].type === "inline" && (
|
|
1130
|
+
u.tokens[e].type === "inline" && (Ve.test(u.tokens[e].content) && Qe(u.tokens[e].children), h0.test(u.tokens[e].content) && Xe(u.tokens[e].children));
|
|
1131
1131
|
}
|
|
1132
|
-
const
|
|
1132
|
+
const Ye = /['"]/, Uu = /['"]/g, Zu = "’";
|
|
1133
1133
|
function cu(u, e, n, t) {
|
|
1134
1134
|
u[e] || (u[e] = []), u[e].push({ pos: n, ch: t });
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function un(u, e) {
|
|
1137
1137
|
let n = "", t = 0;
|
|
1138
1138
|
e.sort((c, r) => c.pos - r.pos);
|
|
1139
1139
|
for (let c = 0; c < e.length; c++) {
|
|
@@ -1142,7 +1142,7 @@ function Qe(u, e) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
return n + u.slice(t);
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1145
|
+
function en(u, e) {
|
|
1146
1146
|
let n;
|
|
1147
1147
|
const t = [], c = {};
|
|
1148
1148
|
for (let r = 0; r < u.length; r++) {
|
|
@@ -1153,19 +1153,19 @@ function Xe(u, e) {
|
|
|
1153
1153
|
continue;
|
|
1154
1154
|
const a = i.content;
|
|
1155
1155
|
let s = 0;
|
|
1156
|
-
const
|
|
1156
|
+
const l = a.length;
|
|
1157
1157
|
u:
|
|
1158
|
-
for (; s <
|
|
1158
|
+
for (; s < l; ) {
|
|
1159
1159
|
Uu.lastIndex = s;
|
|
1160
|
-
const
|
|
1161
|
-
if (!
|
|
1160
|
+
const f = Uu.exec(a);
|
|
1161
|
+
if (!f)
|
|
1162
1162
|
break;
|
|
1163
1163
|
let b = !0, h = !0;
|
|
1164
|
-
s =
|
|
1165
|
-
const d =
|
|
1164
|
+
s = f.index + 1;
|
|
1165
|
+
const d = f[0] === "'";
|
|
1166
1166
|
let p = 32;
|
|
1167
|
-
if (
|
|
1168
|
-
p = a.charCodeAt(
|
|
1167
|
+
if (f.index - 1 >= 0)
|
|
1168
|
+
p = a.charCodeAt(f.index - 1);
|
|
1169
1169
|
else
|
|
1170
1170
|
for (n = r - 1; n >= 0 && !(u[n].type === "softbreak" || u[n].type === "hardbreak"); n--)
|
|
1171
1171
|
if (u[n].content) {
|
|
@@ -1173,7 +1173,7 @@ function Xe(u, e) {
|
|
|
1173
1173
|
break;
|
|
1174
1174
|
}
|
|
1175
1175
|
let x = 32;
|
|
1176
|
-
if (s <
|
|
1176
|
+
if (s < l)
|
|
1177
1177
|
x = a.charCodeAt(s);
|
|
1178
1178
|
else
|
|
1179
1179
|
for (n = r + 1; n < u.length && !(u[n].type === "softbreak" || u[n].type === "hardbreak"); n++)
|
|
@@ -1182,8 +1182,8 @@ function Xe(u, e) {
|
|
|
1182
1182
|
break;
|
|
1183
1183
|
}
|
|
1184
1184
|
const D = uu(p) || Y(p), m = uu(x) || Y(x), _ = K(p), k = K(x);
|
|
1185
|
-
if (k ? b = !1 : m && (_ || D || (b = !1)), _ ? h = !1 : D && (k || m || (h = !1)), x === 34 &&
|
|
1186
|
-
d && cu(c, r,
|
|
1185
|
+
if (k ? b = !1 : m && (_ || D || (b = !1)), _ ? h = !1 : D && (k || m || (h = !1)), x === 34 && f[0] === '"' && p >= 48 && p <= 57 && (h = b = !1), b && h && (b = D, h = m), !b && !h) {
|
|
1186
|
+
d && cu(c, r, f.index, Zu);
|
|
1187
1187
|
continue;
|
|
1188
1188
|
}
|
|
1189
1189
|
if (h)
|
|
@@ -1194,28 +1194,28 @@ function Xe(u, e) {
|
|
|
1194
1194
|
if (g.single === d && t[n].level === o) {
|
|
1195
1195
|
g = t[n];
|
|
1196
1196
|
let C, y;
|
|
1197
|
-
d ? (C = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (C = e.md.options.quotes[0], y = e.md.options.quotes[1]), cu(c, r,
|
|
1197
|
+
d ? (C = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (C = e.md.options.quotes[0], y = e.md.options.quotes[1]), cu(c, r, f.index, y), cu(c, g.token, g.pos, C), t.length = n;
|
|
1198
1198
|
continue u;
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
1201
|
b ? t.push({
|
|
1202
1202
|
token: r,
|
|
1203
|
-
pos:
|
|
1203
|
+
pos: f.index,
|
|
1204
1204
|
single: d,
|
|
1205
1205
|
level: o
|
|
1206
|
-
}) : h && d && cu(c, r,
|
|
1206
|
+
}) : h && d && cu(c, r, f.index, Zu);
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
1209
|
Object.keys(c).forEach(function(r) {
|
|
1210
|
-
u[r].content =
|
|
1210
|
+
u[r].content = un(u[r].content, c[r]);
|
|
1211
1211
|
});
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function nn(u) {
|
|
1214
1214
|
if (u.md.options.typographer)
|
|
1215
1215
|
for (let e = u.tokens.length - 1; e >= 0; e--)
|
|
1216
|
-
u.tokens[e].type !== "inline" || !
|
|
1216
|
+
u.tokens[e].type !== "inline" || !Ye.test(u.tokens[e].content) || en(u.tokens[e].children, u);
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function rn(u) {
|
|
1219
1219
|
let e, n;
|
|
1220
1220
|
const t = u.tokens, c = t.length;
|
|
1221
1221
|
for (let r = 0; r < c; r++) {
|
|
@@ -1229,44 +1229,44 @@ function Ye(u) {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
const _u = [
|
|
1232
|
-
["normalize",
|
|
1233
|
-
["block",
|
|
1234
|
-
["inline",
|
|
1235
|
-
["linkify",
|
|
1236
|
-
["replacements",
|
|
1237
|
-
["smartquotes",
|
|
1232
|
+
["normalize", Oe],
|
|
1233
|
+
["block", Ne],
|
|
1234
|
+
["inline", je],
|
|
1235
|
+
["linkify", Ze],
|
|
1236
|
+
["replacements", Ke],
|
|
1237
|
+
["smartquotes", nn],
|
|
1238
1238
|
// `text_join` finds `text_special` tokens (for escape sequences)
|
|
1239
1239
|
// and joins them with the rest of the text
|
|
1240
|
-
["text_join",
|
|
1240
|
+
["text_join", rn]
|
|
1241
1241
|
];
|
|
1242
|
-
function
|
|
1242
|
+
function $u() {
|
|
1243
1243
|
this.ruler = new v();
|
|
1244
1244
|
for (let u = 0; u < _u.length; u++)
|
|
1245
1245
|
this.ruler.push(_u[u][0], _u[u][1]);
|
|
1246
1246
|
}
|
|
1247
|
-
|
|
1247
|
+
$u.prototype.process = function(u) {
|
|
1248
1248
|
const e = this.ruler.getRules("");
|
|
1249
1249
|
for (let n = 0, t = e.length; n < t; n++)
|
|
1250
1250
|
e[n](u);
|
|
1251
1251
|
};
|
|
1252
|
-
|
|
1252
|
+
$u.prototype.State = d0;
|
|
1253
1253
|
function q(u, e, n, t) {
|
|
1254
1254
|
this.src = u, this.md = e, this.env = n, this.tokens = t, 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;
|
|
1255
1255
|
const c = this.src;
|
|
1256
|
-
for (let r = 0, i = 0, o = 0, a = 0, s = c.length,
|
|
1257
|
-
const
|
|
1258
|
-
if (!
|
|
1259
|
-
if (E(
|
|
1260
|
-
o++,
|
|
1256
|
+
for (let r = 0, i = 0, o = 0, a = 0, s = c.length, l = !1; i < s; i++) {
|
|
1257
|
+
const f = c.charCodeAt(i);
|
|
1258
|
+
if (!l)
|
|
1259
|
+
if (E(f)) {
|
|
1260
|
+
o++, f === 9 ? a += 4 - a % 4 : a++;
|
|
1261
1261
|
continue;
|
|
1262
1262
|
} else
|
|
1263
|
-
|
|
1264
|
-
(
|
|
1263
|
+
l = !0;
|
|
1264
|
+
(f === 10 || i === s - 1) && (f !== 10 && i++, this.bMarks.push(r), this.eMarks.push(i), this.tShift.push(o), this.sCount.push(a), this.bsCount.push(0), l = !1, o = 0, a = 0, r = i + 1);
|
|
1265
1265
|
}
|
|
1266
1266
|
this.bMarks.push(c.length), this.eMarks.push(c.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
1267
1267
|
}
|
|
1268
1268
|
q.prototype.push = function(u, e, n) {
|
|
1269
|
-
const t = new
|
|
1269
|
+
const t = new z(u, e, n);
|
|
1270
1270
|
return t.block = !0, n < 0 && this.level--, t.level = this.level, n > 0 && this.level++, this.tokens.push(t), t;
|
|
1271
1271
|
};
|
|
1272
1272
|
q.prototype.isEmpty = function(e) {
|
|
@@ -1313,35 +1313,35 @@ q.prototype.getLines = function(e, n, t, c) {
|
|
|
1313
1313
|
for (let i = 0, o = e; o < n; o++, i++) {
|
|
1314
1314
|
let a = 0;
|
|
1315
1315
|
const s = this.bMarks[o];
|
|
1316
|
-
let
|
|
1317
|
-
for (o + 1 < n || c ?
|
|
1318
|
-
const b = this.src.charCodeAt(
|
|
1316
|
+
let l = s, f;
|
|
1317
|
+
for (o + 1 < n || c ? f = this.eMarks[o] + 1 : f = this.eMarks[o]; l < f && a < t; ) {
|
|
1318
|
+
const b = this.src.charCodeAt(l);
|
|
1319
1319
|
if (E(b))
|
|
1320
1320
|
b === 9 ? a += 4 - (a + this.bsCount[o]) % 4 : a++;
|
|
1321
|
-
else if (
|
|
1321
|
+
else if (l - s < this.tShift[o])
|
|
1322
1322
|
a++;
|
|
1323
1323
|
else
|
|
1324
1324
|
break;
|
|
1325
|
-
|
|
1325
|
+
l++;
|
|
1326
1326
|
}
|
|
1327
|
-
a > t ? r[i] = new Array(a - t + 1).join(" ") + this.src.slice(
|
|
1327
|
+
a > t ? r[i] = new Array(a - t + 1).join(" ") + this.src.slice(l, f) : r[i] = this.src.slice(l, f);
|
|
1328
1328
|
}
|
|
1329
1329
|
return r.join("");
|
|
1330
1330
|
};
|
|
1331
|
-
q.prototype.Token =
|
|
1332
|
-
const
|
|
1331
|
+
q.prototype.Token = z;
|
|
1332
|
+
const tn = 65536;
|
|
1333
1333
|
function ku(u, e) {
|
|
1334
1334
|
const n = u.bMarks[e] + u.tShift[e], t = u.eMarks[e];
|
|
1335
1335
|
return u.src.slice(n, t);
|
|
1336
1336
|
}
|
|
1337
|
-
function
|
|
1337
|
+
function Vu(u) {
|
|
1338
1338
|
const e = [], n = u.length;
|
|
1339
1339
|
let t = 0, c = u.charCodeAt(t), r = !1, i = 0, o = "";
|
|
1340
1340
|
for (; t < n; )
|
|
1341
1341
|
c === 124 && (r ? (o += u.substring(i, t - 1), i = t) : (e.push(o + u.substring(i, t)), o = "", i = t + 1)), r = c === 92, t++, c = u.charCodeAt(t);
|
|
1342
1342
|
return e.push(o + u.substring(i)), e;
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1344
|
+
function cn(u, e, n, t) {
|
|
1345
1345
|
if (e + 2 > n)
|
|
1346
1346
|
return !1;
|
|
1347
1347
|
let c = e + 1;
|
|
@@ -1363,7 +1363,7 @@ function en(u, e, n, t) {
|
|
|
1363
1363
|
r++;
|
|
1364
1364
|
}
|
|
1365
1365
|
let a = ku(u, e + 1), s = a.split("|");
|
|
1366
|
-
const
|
|
1366
|
+
const l = [];
|
|
1367
1367
|
for (let k = 0; k < s.length; k++) {
|
|
1368
1368
|
const g = s[k].trim();
|
|
1369
1369
|
if (!g) {
|
|
@@ -1373,13 +1373,13 @@ function en(u, e, n, t) {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
if (!/^:?-+:?$/.test(g))
|
|
1375
1375
|
return !1;
|
|
1376
|
-
g.charCodeAt(g.length - 1) === 58 ?
|
|
1376
|
+
g.charCodeAt(g.length - 1) === 58 ? l.push(g.charCodeAt(0) === 58 ? "center" : "right") : g.charCodeAt(0) === 58 ? l.push("left") : l.push("");
|
|
1377
1377
|
}
|
|
1378
1378
|
if (a = ku(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
1379
1379
|
return !1;
|
|
1380
|
-
s =
|
|
1381
|
-
const
|
|
1382
|
-
if (
|
|
1380
|
+
s = Vu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
|
|
1381
|
+
const f = s.length;
|
|
1382
|
+
if (f === 0 || f !== l.length)
|
|
1383
1383
|
return !1;
|
|
1384
1384
|
if (t)
|
|
1385
1385
|
return !0;
|
|
@@ -1393,7 +1393,7 @@ function en(u, e, n, t) {
|
|
|
1393
1393
|
D.map = [e, e + 1];
|
|
1394
1394
|
for (let k = 0; k < s.length; k++) {
|
|
1395
1395
|
const g = u.push("th_open", "th", 1);
|
|
1396
|
-
|
|
1396
|
+
l[k] && (g.attrs = [["style", "text-align:" + l[k]]]);
|
|
1397
1397
|
const C = u.push("inline", "", 0);
|
|
1398
1398
|
C.content = s[k].trim(), C.children = [], u.push("th_close", "th", -1);
|
|
1399
1399
|
}
|
|
@@ -1406,7 +1406,7 @@ function en(u, e, n, t) {
|
|
|
1406
1406
|
k = !0;
|
|
1407
1407
|
break;
|
|
1408
1408
|
}
|
|
1409
|
-
if (k || (a = ku(u, c).trim(), !a) || u.sCount[c] - u.blkIndent >= 4 || (s =
|
|
1409
|
+
if (k || (a = ku(u, c).trim(), !a) || u.sCount[c] - u.blkIndent >= 4 || (s = Vu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), _ += f - s.length, _ > tn))
|
|
1410
1410
|
break;
|
|
1411
1411
|
if (c === e + 2) {
|
|
1412
1412
|
const C = u.push("tbody_open", "tbody", 1);
|
|
@@ -1414,9 +1414,9 @@ function en(u, e, n, t) {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
const g = u.push("tr_open", "tr", 1);
|
|
1416
1416
|
g.map = [c, c + 1];
|
|
1417
|
-
for (let C = 0; C <
|
|
1417
|
+
for (let C = 0; C < f; C++) {
|
|
1418
1418
|
const y = u.push("td_open", "td", 1);
|
|
1419
|
-
|
|
1419
|
+
l[C] && (y.attrs = [["style", "text-align:" + l[C]]]);
|
|
1420
1420
|
const w = u.push("inline", "", 0);
|
|
1421
1421
|
w.content = s[C] ? s[C].trim() : "", w.children = [], u.push("td_close", "td", -1);
|
|
1422
1422
|
}
|
|
@@ -1424,7 +1424,7 @@ function en(u, e, n, t) {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
return m && (u.push("tbody_close", "tbody", -1), m[1] = c), u.push("table_close", "table", -1), p[1] = c, u.parentType = b, u.line = c, !0;
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1427
|
+
function on(u, e, n) {
|
|
1428
1428
|
if (u.sCount[e] - u.blkIndent < 4)
|
|
1429
1429
|
return !1;
|
|
1430
1430
|
let t = e + 1, c = t;
|
|
@@ -1444,7 +1444,7 @@ function nn(u, e, n) {
|
|
|
1444
1444
|
return r.content = u.getLines(e, c, 4 + u.blkIndent, !1) + `
|
|
1445
1445
|
`, r.map = [e, u.line], !0;
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function an(u, e, n, t) {
|
|
1448
1448
|
let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
|
|
1449
1449
|
if (u.sCount[e] - u.blkIndent >= 4 || c + 3 > r)
|
|
1450
1450
|
return !1;
|
|
@@ -1456,29 +1456,29 @@ function rn(u, e, n, t) {
|
|
|
1456
1456
|
let a = c - o;
|
|
1457
1457
|
if (a < 3)
|
|
1458
1458
|
return !1;
|
|
1459
|
-
const s = u.src.slice(o, c),
|
|
1460
|
-
if (i === 96 &&
|
|
1459
|
+
const s = u.src.slice(o, c), l = u.src.slice(c, r);
|
|
1460
|
+
if (i === 96 && l.indexOf(String.fromCharCode(i)) >= 0)
|
|
1461
1461
|
return !1;
|
|
1462
1462
|
if (t)
|
|
1463
1463
|
return !0;
|
|
1464
|
-
let
|
|
1465
|
-
for (;
|
|
1466
|
-
if (u.src.charCodeAt(c) === i && !(u.sCount[
|
|
1464
|
+
let f = e, b = !1;
|
|
1465
|
+
for (; f++, !(f >= n || (c = o = u.bMarks[f] + u.tShift[f], r = u.eMarks[f], c < r && u.sCount[f] < u.blkIndent)); )
|
|
1466
|
+
if (u.src.charCodeAt(c) === i && !(u.sCount[f] - u.blkIndent >= 4) && (c = u.skipChars(c, i), !(c - o < a) && (c = u.skipSpaces(c), !(c < r)))) {
|
|
1467
1467
|
b = !0;
|
|
1468
1468
|
break;
|
|
1469
1469
|
}
|
|
1470
|
-
a = u.sCount[e], u.line =
|
|
1470
|
+
a = u.sCount[e], u.line = f + (b ? 1 : 0);
|
|
1471
1471
|
const h = u.push("fence", "code", 0);
|
|
1472
|
-
return h.info =
|
|
1472
|
+
return h.info = l, h.content = u.getLines(e + 1, f, a, !0), h.markup = s, h.map = [e, u.line], !0;
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1474
|
+
function sn(u, e, n, t) {
|
|
1475
1475
|
let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
|
|
1476
1476
|
const i = u.lineMax;
|
|
1477
1477
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(c) !== 62)
|
|
1478
1478
|
return !1;
|
|
1479
1479
|
if (t)
|
|
1480
1480
|
return !0;
|
|
1481
|
-
const o = [], a = [], s = [],
|
|
1481
|
+
const o = [], a = [], s = [], l = [], f = u.md.block.ruler.getRules("blockquote"), b = u.parentType;
|
|
1482
1482
|
u.parentType = "blockquote";
|
|
1483
1483
|
let h = !1, d;
|
|
1484
1484
|
for (d = e; d < n; d++) {
|
|
@@ -1490,29 +1490,29 @@ function tn(u, e, n, t) {
|
|
|
1490
1490
|
u.src.charCodeAt(c) === 32 ? (c++, g++, y = !1, C = !0) : u.src.charCodeAt(c) === 9 ? (C = !0, (u.bsCount[d] + g) % 4 === 3 ? (c++, g++, y = !1) : y = !0) : C = !1;
|
|
1491
1491
|
let w = g;
|
|
1492
1492
|
for (o.push(u.bMarks[d]), u.bMarks[d] = c; c < r; ) {
|
|
1493
|
-
const
|
|
1494
|
-
if (E(
|
|
1495
|
-
|
|
1493
|
+
const $ = u.src.charCodeAt(c);
|
|
1494
|
+
if (E($))
|
|
1495
|
+
$ === 9 ? w += 4 - (w + u.bsCount[d] + (y ? 1 : 0)) % 4 : w++;
|
|
1496
1496
|
else
|
|
1497
1497
|
break;
|
|
1498
1498
|
c++;
|
|
1499
1499
|
}
|
|
1500
|
-
h = c >= r, a.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (C ? 1 : 0), s.push(u.sCount[d]), u.sCount[d] = w - g,
|
|
1500
|
+
h = c >= r, a.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (C ? 1 : 0), s.push(u.sCount[d]), u.sCount[d] = w - g, l.push(u.tShift[d]), u.tShift[d] = c - u.bMarks[d];
|
|
1501
1501
|
continue;
|
|
1502
1502
|
}
|
|
1503
1503
|
if (h)
|
|
1504
1504
|
break;
|
|
1505
1505
|
let k = !1;
|
|
1506
|
-
for (let g = 0, C =
|
|
1507
|
-
if (
|
|
1506
|
+
for (let g = 0, C = f.length; g < C; g++)
|
|
1507
|
+
if (f[g](u, d, n, !0)) {
|
|
1508
1508
|
k = !0;
|
|
1509
1509
|
break;
|
|
1510
1510
|
}
|
|
1511
1511
|
if (k) {
|
|
1512
|
-
u.lineMax = d, u.blkIndent !== 0 && (o.push(u.bMarks[d]), a.push(u.bsCount[d]),
|
|
1512
|
+
u.lineMax = d, u.blkIndent !== 0 && (o.push(u.bMarks[d]), a.push(u.bsCount[d]), l.push(u.tShift[d]), s.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
|
|
1513
1513
|
break;
|
|
1514
1514
|
}
|
|
1515
|
-
o.push(u.bMarks[d]), a.push(u.bsCount[d]),
|
|
1515
|
+
o.push(u.bMarks[d]), a.push(u.bsCount[d]), l.push(u.tShift[d]), s.push(u.sCount[d]), u.sCount[d] = -1;
|
|
1516
1516
|
}
|
|
1517
1517
|
const p = u.blkIndent;
|
|
1518
1518
|
u.blkIndent = 0;
|
|
@@ -1522,11 +1522,11 @@ function tn(u, e, n, t) {
|
|
|
1522
1522
|
x.map = D, u.md.block.tokenize(u, e, d);
|
|
1523
1523
|
const m = u.push("blockquote_close", "blockquote", -1);
|
|
1524
1524
|
m.markup = ">", u.lineMax = i, u.parentType = b, D[1] = u.line;
|
|
1525
|
-
for (let _ = 0; _ <
|
|
1526
|
-
u.bMarks[_ + e] = o[_], u.tShift[_ + e] =
|
|
1525
|
+
for (let _ = 0; _ < l.length; _++)
|
|
1526
|
+
u.bMarks[_ + e] = o[_], u.tShift[_ + e] = l[_], u.sCount[_ + e] = s[_], u.bsCount[_ + e] = a[_];
|
|
1527
1527
|
return u.blkIndent = p, !0;
|
|
1528
1528
|
}
|
|
1529
|
-
function
|
|
1529
|
+
function ln(u, e, n, t) {
|
|
1530
1530
|
const c = u.eMarks[e];
|
|
1531
1531
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
1532
1532
|
return !1;
|
|
@@ -1549,7 +1549,7 @@ function cn(u, e, n, t) {
|
|
|
1549
1549
|
const a = u.push("hr", "hr", 0);
|
|
1550
1550
|
return a.map = [e, u.line], a.markup = Array(o + 1).join(String.fromCharCode(i)), !0;
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function Gu(u, e) {
|
|
1553
1553
|
const n = u.eMarks[e];
|
|
1554
1554
|
let t = u.bMarks[e] + u.tShift[e];
|
|
1555
1555
|
const c = u.src.charCodeAt(t++);
|
|
@@ -1584,30 +1584,30 @@ function Wu(u, e) {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
return c < t && (r = u.src.charCodeAt(c), !E(r)) ? -1 : c;
|
|
1586
1586
|
}
|
|
1587
|
-
function
|
|
1587
|
+
function fn(u, e) {
|
|
1588
1588
|
const n = u.level + 2;
|
|
1589
1589
|
for (let t = e + 2, c = u.tokens.length - 2; t < c; t++)
|
|
1590
1590
|
u.tokens[t].level === n && u.tokens[t].type === "paragraph_open" && (u.tokens[t + 2].hidden = !0, u.tokens[t].hidden = !0, t += 2);
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function dn(u, e, n, t) {
|
|
1593
1593
|
let c, r, i, o, a = e, s = !0;
|
|
1594
1594
|
if (u.sCount[a] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[a] - u.listIndent >= 4 && u.sCount[a] < u.blkIndent)
|
|
1595
1595
|
return !1;
|
|
1596
|
-
let
|
|
1597
|
-
t && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (
|
|
1598
|
-
let
|
|
1596
|
+
let l = !1;
|
|
1597
|
+
t && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (l = !0);
|
|
1598
|
+
let f, b, h;
|
|
1599
1599
|
if ((h = Wu(u, a)) >= 0) {
|
|
1600
|
-
if (
|
|
1601
|
-
} else if ((h =
|
|
1602
|
-
|
|
1600
|
+
if (f = !0, i = u.bMarks[a] + u.tShift[a], b = Number(u.src.slice(i, h - 1)), l && b !== 1) return !1;
|
|
1601
|
+
} else if ((h = Gu(u, a)) >= 0)
|
|
1602
|
+
f = !1;
|
|
1603
1603
|
else
|
|
1604
1604
|
return !1;
|
|
1605
|
-
if (
|
|
1605
|
+
if (l && u.skipSpaces(h) >= u.eMarks[a])
|
|
1606
1606
|
return !1;
|
|
1607
1607
|
if (t)
|
|
1608
1608
|
return !0;
|
|
1609
1609
|
const d = u.src.charCodeAt(h - 1), p = u.tokens.length;
|
|
1610
|
-
|
|
1610
|
+
f ? (o = u.push("ordered_list_open", "ol", 1), b !== 1 && (o.attrs = [["start", b]])) : o = u.push("bullet_list_open", "ul", 1);
|
|
1611
1611
|
const x = [a, 0];
|
|
1612
1612
|
o.map = x, o.markup = String.fromCharCode(d);
|
|
1613
1613
|
let D = !1;
|
|
@@ -1631,31 +1631,31 @@ function an(u, e, n, t) {
|
|
|
1631
1631
|
C >= c ? y = 1 : y = g - k, y > 4 && (y = 1);
|
|
1632
1632
|
const w = k + y;
|
|
1633
1633
|
o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(d);
|
|
1634
|
-
const
|
|
1635
|
-
o.map =
|
|
1634
|
+
const $ = [a, 0];
|
|
1635
|
+
o.map = $, f && (o.info = u.src.slice(i, h - 1));
|
|
1636
1636
|
const j = u.tight, J = u.tShift[a], pu = u.sCount[a], xu = u.listIndent;
|
|
1637
|
-
if (u.listIndent = u.blkIndent, u.blkIndent = w, u.tight = !0, u.tShift[a] = C - u.bMarks[a], u.sCount[a] = g, C >= c && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, n) : u.md.block.tokenize(u, a, n, !0), (!u.tight || D) && (s = !1), D = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = xu, u.tShift[a] = J, u.sCount[a] = pu, u.tight = j, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), a = u.line,
|
|
1637
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = w, u.tight = !0, u.tShift[a] = C - u.bMarks[a], u.sCount[a] = g, C >= c && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, n) : u.md.block.tokenize(u, a, n, !0), (!u.tight || D) && (s = !1), D = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = xu, u.tShift[a] = J, u.sCount[a] = pu, u.tight = j, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), a = u.line, $[1] = a, a >= n || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
|
|
1638
1638
|
break;
|
|
1639
1639
|
let Q = !1;
|
|
1640
|
-
for (let U = 0,
|
|
1640
|
+
for (let U = 0, M0 = m.length; U < M0; U++)
|
|
1641
1641
|
if (m[U](u, a, n, !0)) {
|
|
1642
1642
|
Q = !0;
|
|
1643
1643
|
break;
|
|
1644
1644
|
}
|
|
1645
1645
|
if (Q)
|
|
1646
1646
|
break;
|
|
1647
|
-
if (
|
|
1647
|
+
if (f) {
|
|
1648
1648
|
if (h = Wu(u, a), h < 0)
|
|
1649
1649
|
break;
|
|
1650
1650
|
i = u.bMarks[a] + u.tShift[a];
|
|
1651
|
-
} else if (h =
|
|
1651
|
+
} else if (h = Gu(u, a), h < 0)
|
|
1652
1652
|
break;
|
|
1653
1653
|
if (d !== u.src.charCodeAt(h - 1))
|
|
1654
1654
|
break;
|
|
1655
1655
|
}
|
|
1656
|
-
return
|
|
1656
|
+
return f ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), x[1] = a, u.line = a, u.parentType = _, s && fn(u, p), !0;
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function hn(u, e, n, t) {
|
|
1659
1659
|
let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e], i = e + 1;
|
|
1660
1660
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(c) !== 91)
|
|
1661
1661
|
return !1;
|
|
@@ -1667,13 +1667,13 @@ function sn(u, e, n, t) {
|
|
|
1667
1667
|
if (u.sCount[m] - u.blkIndent > 3 && (k = !0), u.sCount[m] < 0 && (k = !0), !k) {
|
|
1668
1668
|
const y = u.md.block.ruler.getRules("reference"), w = u.parentType;
|
|
1669
1669
|
u.parentType = "reference";
|
|
1670
|
-
let
|
|
1670
|
+
let $ = !1;
|
|
1671
1671
|
for (let j = 0, J = y.length; j < J; j++)
|
|
1672
1672
|
if (y[j](u, m, _, !0)) {
|
|
1673
|
-
|
|
1673
|
+
$ = !0;
|
|
1674
1674
|
break;
|
|
1675
1675
|
}
|
|
1676
|
-
if (u.parentType = w,
|
|
1676
|
+
if (u.parentType = w, $)
|
|
1677
1677
|
return null;
|
|
1678
1678
|
}
|
|
1679
1679
|
const g = u.bMarks[m] + u.tShift[m], C = u.eMarks[m];
|
|
@@ -1706,13 +1706,13 @@ function sn(u, e, n, t) {
|
|
|
1706
1706
|
_ !== null && (a += _, r = a.length, i++);
|
|
1707
1707
|
} else if (!E(m)) break;
|
|
1708
1708
|
}
|
|
1709
|
-
const
|
|
1710
|
-
if (!
|
|
1709
|
+
const l = u.md.helpers.parseLinkDestination(a, c, r);
|
|
1710
|
+
if (!l.ok)
|
|
1711
1711
|
return !1;
|
|
1712
|
-
const
|
|
1713
|
-
if (!u.md.validateLink(
|
|
1712
|
+
const f = u.md.normalizeLink(l.str);
|
|
1713
|
+
if (!u.md.validateLink(f))
|
|
1714
1714
|
return !1;
|
|
1715
|
-
c =
|
|
1715
|
+
c = l.pos;
|
|
1716
1716
|
const b = c, h = i, d = c;
|
|
1717
1717
|
for (; c < r; c++) {
|
|
1718
1718
|
const m = a.charCodeAt(c);
|
|
@@ -1743,10 +1743,10 @@ function sn(u, e, n, t) {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
if (c < r && a.charCodeAt(c) !== 10)
|
|
1745
1745
|
return !1;
|
|
1746
|
-
const D =
|
|
1747
|
-
return D ? (t || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[D] > "u" && (u.env.references[D] = { title: x, href:
|
|
1746
|
+
const D = fu(a.slice(1, s));
|
|
1747
|
+
return D ? (t || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[D] > "u" && (u.env.references[D] = { title: x, href: f }), u.line = i), !0) : !1;
|
|
1748
1748
|
}
|
|
1749
|
-
const
|
|
1749
|
+
const bn = [
|
|
1750
1750
|
"address",
|
|
1751
1751
|
"article",
|
|
1752
1752
|
"aside",
|
|
@@ -1809,16 +1809,16 @@ const fn = [
|
|
|
1809
1809
|
"tr",
|
|
1810
1810
|
"track",
|
|
1811
1811
|
"ul"
|
|
1812
|
-
],
|
|
1812
|
+
], pn = "[a-zA-Z_:][a-zA-Z0-9:._-]*", xn = "[^\"'=<>`\\x00-\\x20]+", mn = "'[^']*'", _n = '"[^"]*"', kn = "(?:" + xn + "|" + mn + "|" + _n + ")", gn = "(?:\\s+" + pn + "(?:\\s*=\\s*" + kn + ")?)", b0 = "<[A-Za-z][A-Za-z0-9\\-]*" + gn + "*\\s*\\/?>", p0 = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", Cn = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Dn = "<[?][\\s\\S]*?[?]>", En = "<![A-Za-z][^>]*>", yn = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Fn = new RegExp("^(?:" + b0 + "|" + p0 + "|" + Cn + "|" + Dn + "|" + En + "|" + yn + ")"), An = new RegExp("^(?:" + b0 + "|" + p0 + ")"), H = [
|
|
1813
1813
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
1814
1814
|
[/^<!--/, /-->/, !0],
|
|
1815
1815
|
[/^<\?/, /\?>/, !0],
|
|
1816
1816
|
[/^<![A-Z]/, />/, !0],
|
|
1817
1817
|
[/^<!\[CDATA\[/, /\]\]>/, !0],
|
|
1818
|
-
[new RegExp("^</?(" +
|
|
1819
|
-
[new RegExp(
|
|
1818
|
+
[new RegExp("^</?(" + bn.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
|
|
1819
|
+
[new RegExp(An.source + "\\s*$"), /^$/, !1]
|
|
1820
1820
|
];
|
|
1821
|
-
function
|
|
1821
|
+
function wn(u, e, n, t) {
|
|
1822
1822
|
let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
|
|
1823
1823
|
if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(c) !== 60)
|
|
1824
1824
|
return !1;
|
|
@@ -1839,10 +1839,10 @@ function En(u, e, n, t) {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
1841
|
u.line = a;
|
|
1842
|
-
const
|
|
1843
|
-
return
|
|
1842
|
+
const l = u.push("html_block", "", 0);
|
|
1843
|
+
return l.map = [e, a], l.content = u.getLines(e, a, u.blkIndent, !0), !0;
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function vn(u, e, n, t) {
|
|
1846
1846
|
let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
|
|
1847
1847
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
1848
1848
|
return !1;
|
|
@@ -1861,12 +1861,12 @@ function yn(u, e, n, t) {
|
|
|
1861
1861
|
a > c && E(u.src.charCodeAt(a - 1)) && (r = a), u.line = e + 1;
|
|
1862
1862
|
const s = u.push("heading_open", "h" + String(o), 1);
|
|
1863
1863
|
s.markup = "########".slice(0, o), s.map = [e, u.line];
|
|
1864
|
-
const
|
|
1865
|
-
|
|
1866
|
-
const
|
|
1867
|
-
return
|
|
1864
|
+
const l = u.push("inline", "", 0);
|
|
1865
|
+
l.content = du(u.src.slice(c, r)), l.map = [e, u.line], l.children = [];
|
|
1866
|
+
const f = u.push("heading_close", "h" + String(o), -1);
|
|
1867
|
+
return f.markup = "########".slice(0, o), !0;
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1869
|
+
function Sn(u, e, n) {
|
|
1870
1870
|
const t = u.md.block.ruler.getRules("paragraph");
|
|
1871
1871
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
1872
1872
|
return !1;
|
|
@@ -1901,20 +1901,20 @@ function Fn(u, e, n) {
|
|
|
1901
1901
|
u.line = o + 1;
|
|
1902
1902
|
const s = u.push("heading_open", "h" + String(r), 1);
|
|
1903
1903
|
s.markup = String.fromCharCode(i), s.map = [e, u.line];
|
|
1904
|
-
const
|
|
1905
|
-
|
|
1906
|
-
const
|
|
1907
|
-
return
|
|
1904
|
+
const l = u.push("inline", "", 0);
|
|
1905
|
+
l.content = a, l.map = [e, u.line - 1], l.children = [];
|
|
1906
|
+
const f = u.push("heading_close", "h" + String(r), -1);
|
|
1907
|
+
return f.markup = String.fromCharCode(i), u.parentType = c, !0;
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1909
|
+
function Tn(u, e, n) {
|
|
1910
1910
|
const t = u.md.block.ruler.getRules("paragraph"), c = u.parentType;
|
|
1911
1911
|
let r = e + 1;
|
|
1912
1912
|
for (u.parentType = "paragraph"; r < n && !u.isEmpty(r); r++) {
|
|
1913
1913
|
if (u.sCount[r] - u.blkIndent > 3 || u.sCount[r] < 0)
|
|
1914
1914
|
continue;
|
|
1915
1915
|
let s = !1;
|
|
1916
|
-
for (let
|
|
1917
|
-
if (t[
|
|
1916
|
+
for (let l = 0, f = t.length; l < f; l++)
|
|
1917
|
+
if (t[l](u, r, n, !0)) {
|
|
1918
1918
|
s = !0;
|
|
1919
1919
|
break;
|
|
1920
1920
|
}
|
|
@@ -1931,17 +1931,17 @@ function An(u, e, n) {
|
|
|
1931
1931
|
const ou = [
|
|
1932
1932
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
1933
1933
|
// which can be terminated by this one.
|
|
1934
|
-
["table",
|
|
1935
|
-
["code",
|
|
1936
|
-
["fence",
|
|
1937
|
-
["blockquote",
|
|
1938
|
-
["hr",
|
|
1939
|
-
["list",
|
|
1940
|
-
["reference",
|
|
1941
|
-
["html_block",
|
|
1942
|
-
["heading",
|
|
1943
|
-
["lheading",
|
|
1944
|
-
["paragraph",
|
|
1934
|
+
["table", cn, ["paragraph", "reference"]],
|
|
1935
|
+
["code", on],
|
|
1936
|
+
["fence", an, ["paragraph", "reference", "blockquote", "list"]],
|
|
1937
|
+
["blockquote", sn, ["paragraph", "reference", "blockquote", "list"]],
|
|
1938
|
+
["hr", ln, ["paragraph", "reference", "blockquote", "list"]],
|
|
1939
|
+
["list", dn, ["paragraph", "reference", "blockquote"]],
|
|
1940
|
+
["reference", hn],
|
|
1941
|
+
["html_block", wn, ["paragraph", "reference", "blockquote"]],
|
|
1942
|
+
["heading", vn, ["paragraph", "reference", "blockquote"]],
|
|
1943
|
+
["lheading", Sn],
|
|
1944
|
+
["paragraph", Tn]
|
|
1945
1945
|
];
|
|
1946
1946
|
function hu() {
|
|
1947
1947
|
this.ruler = new v();
|
|
@@ -1958,8 +1958,8 @@ hu.prototype.tokenize = function(u, e, n) {
|
|
|
1958
1958
|
}
|
|
1959
1959
|
const a = u.line;
|
|
1960
1960
|
let s = !1;
|
|
1961
|
-
for (let
|
|
1962
|
-
if (s = t[
|
|
1961
|
+
for (let l = 0; l < c; l++)
|
|
1962
|
+
if (s = t[l](u, i, n, !1), s) {
|
|
1963
1963
|
if (a >= u.line)
|
|
1964
1964
|
throw new Error("block rule didn't increment state.line");
|
|
1965
1965
|
break;
|
|
@@ -1979,12 +1979,12 @@ function ru(u, e, n, t) {
|
|
|
1979
1979
|
this.src = u, this.env = n, this.md = e, this.tokens = t, this.tokens_meta = Array(t.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;
|
|
1980
1980
|
}
|
|
1981
1981
|
ru.prototype.pushPending = function() {
|
|
1982
|
-
const u = new
|
|
1982
|
+
const u = new z("text", "", 0);
|
|
1983
1983
|
return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
|
|
1984
1984
|
};
|
|
1985
1985
|
ru.prototype.push = function(u, e, n) {
|
|
1986
1986
|
this.pending && this.pushPending();
|
|
1987
|
-
const t = new
|
|
1987
|
+
const t = new z(u, e, n);
|
|
1988
1988
|
let c = null;
|
|
1989
1989
|
return n < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), t.level = this.level, n > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], c = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(t), this.tokens_meta.push(c), t;
|
|
1990
1990
|
};
|
|
@@ -2008,11 +2008,11 @@ ru.prototype.scanDelims = function(u, e) {
|
|
|
2008
2008
|
const x = this.src.charCodeAt(r + 1);
|
|
2009
2009
|
o = (x & 64512) === 56320 ? 65536 + (o - 55296 << 10) + (x - 56320) : 65533;
|
|
2010
2010
|
} else (o & 64512) === 56320 && (o = 65533);
|
|
2011
|
-
const a = uu(c) || Y(c), s = uu(o) || Y(o),
|
|
2011
|
+
const a = uu(c) || Y(c), s = uu(o) || Y(o), l = K(c), f = K(o), b = !f && (!s || l || a), h = !l && (!a || f || s);
|
|
2012
2012
|
return { can_open: b && (e || !h || a), can_close: h && (e || !b || s), length: i };
|
|
2013
2013
|
};
|
|
2014
|
-
ru.prototype.Token =
|
|
2015
|
-
function
|
|
2014
|
+
ru.prototype.Token = z;
|
|
2015
|
+
function zn(u) {
|
|
2016
2016
|
switch (u) {
|
|
2017
2017
|
case 10:
|
|
2018
2018
|
case 33:
|
|
@@ -2042,18 +2042,18 @@ function wn(u) {
|
|
|
2042
2042
|
return !1;
|
|
2043
2043
|
}
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2045
|
+
function $n(u, e) {
|
|
2046
2046
|
let n = u.pos;
|
|
2047
|
-
for (; n < u.posMax && !
|
|
2047
|
+
for (; n < u.posMax && !zn(u.src.charCodeAt(n)); )
|
|
2048
2048
|
n++;
|
|
2049
2049
|
return n === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, n)), u.pos = n, !0);
|
|
2050
2050
|
}
|
|
2051
|
-
const
|
|
2052
|
-
function
|
|
2051
|
+
const Bn = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2052
|
+
function Mn(u, e) {
|
|
2053
2053
|
if (!u.md.options.linkify || u.linkLevel > 0) return !1;
|
|
2054
2054
|
const n = u.pos, t = u.posMax;
|
|
2055
2055
|
if (n + 3 > t || u.src.charCodeAt(n) !== 58 || u.src.charCodeAt(n + 1) !== 47 || u.src.charCodeAt(n + 2) !== 47) return !1;
|
|
2056
|
-
const c = u.pending.match(
|
|
2056
|
+
const c = u.pending.match(Bn);
|
|
2057
2057
|
if (!c) return !1;
|
|
2058
2058
|
const r = c[1], i = u.md.linkify.matchAtStart(u.src.slice(n - r.length));
|
|
2059
2059
|
if (!i) return !1;
|
|
@@ -2067,16 +2067,16 @@ function zn(u, e) {
|
|
|
2067
2067
|
if (!u.md.validateLink(s)) return !1;
|
|
2068
2068
|
if (!e) {
|
|
2069
2069
|
u.pending = u.pending.slice(0, -r.length);
|
|
2070
|
-
const
|
|
2071
|
-
|
|
2072
|
-
const
|
|
2073
|
-
|
|
2070
|
+
const l = u.push("link_open", "a", 1);
|
|
2071
|
+
l.attrs = [["href", s]], l.markup = "linkify", l.info = "auto";
|
|
2072
|
+
const f = u.push("text", "", 0);
|
|
2073
|
+
f.content = u.md.normalizeLinkText(o);
|
|
2074
2074
|
const b = u.push("link_close", "a", -1);
|
|
2075
2075
|
b.markup = "linkify", b.info = "auto";
|
|
2076
2076
|
}
|
|
2077
2077
|
return u.pos += o.length - r.length, !0;
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2079
|
+
function In(u, e) {
|
|
2080
2080
|
let n = u.pos;
|
|
2081
2081
|
if (u.src.charCodeAt(n) !== 10)
|
|
2082
2082
|
return !1;
|
|
@@ -2095,13 +2095,13 @@ function Tn(u, e) {
|
|
|
2095
2095
|
n++;
|
|
2096
2096
|
return u.pos = n, !0;
|
|
2097
2097
|
}
|
|
2098
|
-
const
|
|
2098
|
+
const Bu = [];
|
|
2099
2099
|
for (let u = 0; u < 256; u++)
|
|
2100
|
-
|
|
2100
|
+
Bu.push(0);
|
|
2101
2101
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2102
|
-
|
|
2102
|
+
Bu[u.charCodeAt(0)] = 1;
|
|
2103
2103
|
});
|
|
2104
|
-
function
|
|
2104
|
+
function qn(u, e) {
|
|
2105
2105
|
let n = u.pos;
|
|
2106
2106
|
const t = u.posMax;
|
|
2107
2107
|
if (u.src.charCodeAt(n) !== 92 || (n++, n >= t)) return !1;
|
|
@@ -2126,11 +2126,11 @@ function Bn(u, e) {
|
|
|
2126
2126
|
const i = "\\" + r;
|
|
2127
2127
|
if (!e) {
|
|
2128
2128
|
const o = u.push("text_special", "", 0);
|
|
2129
|
-
c < 256 &&
|
|
2129
|
+
c < 256 && Bu[c] !== 0 ? o.content = r : o.content = i, o.markup = i, o.info = "escape";
|
|
2130
2130
|
}
|
|
2131
2131
|
return u.pos = n + 1, !0;
|
|
2132
2132
|
}
|
|
2133
|
-
function
|
|
2133
|
+
function Rn(u, e) {
|
|
2134
2134
|
let n = u.pos;
|
|
2135
2135
|
if (u.src.charCodeAt(n) !== 96)
|
|
2136
2136
|
return !1;
|
|
@@ -2146,19 +2146,19 @@ function $n(u, e) {
|
|
|
2146
2146
|
for (; (s = u.src.indexOf("`", a)) !== -1; ) {
|
|
2147
2147
|
for (a = s + 1; a < r && u.src.charCodeAt(a) === 96; )
|
|
2148
2148
|
a++;
|
|
2149
|
-
const
|
|
2150
|
-
if (
|
|
2149
|
+
const l = a - s;
|
|
2150
|
+
if (l === o) {
|
|
2151
2151
|
if (!e) {
|
|
2152
|
-
const
|
|
2153
|
-
|
|
2152
|
+
const f = u.push("code_inline", "code", 0);
|
|
2153
|
+
f.markup = i, f.content = u.src.slice(n, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
|
|
2154
2154
|
}
|
|
2155
2155
|
return u.pos = a, !0;
|
|
2156
2156
|
}
|
|
2157
|
-
u.backticks[
|
|
2157
|
+
u.backticks[l] = s;
|
|
2158
2158
|
}
|
|
2159
2159
|
return u.backticksScanned = !0, e || (u.pending += i), u.pos += o, !0;
|
|
2160
2160
|
}
|
|
2161
|
-
function
|
|
2161
|
+
function Pn(u, e) {
|
|
2162
2162
|
const n = u.pos, t = u.src.charCodeAt(n);
|
|
2163
2163
|
if (e || t !== 126)
|
|
2164
2164
|
return !1;
|
|
@@ -2199,17 +2199,17 @@ function Ju(u, e) {
|
|
|
2199
2199
|
i--, r !== i && (n = u.tokens[i], u.tokens[i] = u.tokens[r], u.tokens[r] = n);
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
2202
|
-
function
|
|
2202
|
+
function Ln(u) {
|
|
2203
2203
|
const e = u.tokens_meta, n = u.tokens_meta.length;
|
|
2204
2204
|
Ju(u, u.delimiters);
|
|
2205
2205
|
for (let t = 0; t < n; t++)
|
|
2206
2206
|
e[t] && e[t].delimiters && Ju(u, e[t].delimiters);
|
|
2207
2207
|
}
|
|
2208
2208
|
const x0 = {
|
|
2209
|
-
tokenize:
|
|
2210
|
-
postProcess:
|
|
2209
|
+
tokenize: Pn,
|
|
2210
|
+
postProcess: Ln
|
|
2211
2211
|
};
|
|
2212
|
-
function
|
|
2212
|
+
function On(u, e) {
|
|
2213
2213
|
const n = u.pos, t = u.src.charCodeAt(n);
|
|
2214
2214
|
if (e || t !== 95 && t !== 42)
|
|
2215
2215
|
return !1;
|
|
@@ -2253,43 +2253,43 @@ function Qu(u, e) {
|
|
|
2253
2253
|
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[t - 1].token].content = "", u.tokens[e[c.end + 1].token].content = "", t--);
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
2256
|
-
function
|
|
2256
|
+
function Nn(u) {
|
|
2257
2257
|
const e = u.tokens_meta, n = u.tokens_meta.length;
|
|
2258
2258
|
Qu(u, u.delimiters);
|
|
2259
2259
|
for (let t = 0; t < n; t++)
|
|
2260
2260
|
e[t] && e[t].delimiters && Qu(u, e[t].delimiters);
|
|
2261
2261
|
}
|
|
2262
2262
|
const m0 = {
|
|
2263
|
-
tokenize:
|
|
2264
|
-
postProcess:
|
|
2263
|
+
tokenize: On,
|
|
2264
|
+
postProcess: Nn
|
|
2265
2265
|
};
|
|
2266
|
-
function
|
|
2266
|
+
function jn(u, e) {
|
|
2267
2267
|
let n, t, c, r, i = "", o = "", a = u.pos, s = !0;
|
|
2268
2268
|
if (u.src.charCodeAt(u.pos) !== 91)
|
|
2269
2269
|
return !1;
|
|
2270
|
-
const
|
|
2270
|
+
const l = u.pos, f = u.posMax, b = u.pos + 1, h = u.md.helpers.parseLinkLabel(u, u.pos, !0);
|
|
2271
2271
|
if (h < 0)
|
|
2272
2272
|
return !1;
|
|
2273
2273
|
let d = h + 1;
|
|
2274
|
-
if (d <
|
|
2275
|
-
for (s = !1, d++; d <
|
|
2274
|
+
if (d < f && u.src.charCodeAt(d) === 40) {
|
|
2275
|
+
for (s = !1, d++; d < f && (n = u.src.charCodeAt(d), !(!E(n) && n !== 10)); d++)
|
|
2276
2276
|
;
|
|
2277
|
-
if (d >=
|
|
2277
|
+
if (d >= f)
|
|
2278
2278
|
return !1;
|
|
2279
2279
|
if (a = d, c = u.md.helpers.parseLinkDestination(u.src, d, u.posMax), c.ok) {
|
|
2280
|
-
for (i = u.md.normalizeLink(c.str), u.md.validateLink(i) ? d = c.pos : i = "", a = d; d <
|
|
2280
|
+
for (i = u.md.normalizeLink(c.str), u.md.validateLink(i) ? d = c.pos : i = "", a = d; d < f && (n = u.src.charCodeAt(d), !(!E(n) && n !== 10)); d++)
|
|
2281
2281
|
;
|
|
2282
|
-
if (c = u.md.helpers.parseLinkTitle(u.src, d, u.posMax), d <
|
|
2283
|
-
for (o = c.str, d = c.pos; d <
|
|
2282
|
+
if (c = u.md.helpers.parseLinkTitle(u.src, d, u.posMax), d < f && a !== d && c.ok)
|
|
2283
|
+
for (o = c.str, d = c.pos; d < f && (n = u.src.charCodeAt(d), !(!E(n) && n !== 10)); d++)
|
|
2284
2284
|
;
|
|
2285
2285
|
}
|
|
2286
|
-
(d >=
|
|
2286
|
+
(d >= f || u.src.charCodeAt(d) !== 41) && (s = !0), d++;
|
|
2287
2287
|
}
|
|
2288
2288
|
if (s) {
|
|
2289
2289
|
if (typeof u.env.references > "u")
|
|
2290
2290
|
return !1;
|
|
2291
|
-
if (d <
|
|
2292
|
-
return u.pos =
|
|
2291
|
+
if (d < f && u.src.charCodeAt(d) === 91 ? (a = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? t = u.src.slice(a, d++) : d = h + 1) : d = h + 1, t || (t = u.src.slice(b, h)), r = u.env.references[fu(t)], !r)
|
|
2292
|
+
return u.pos = l, !1;
|
|
2293
2293
|
i = r.href, o = r.title;
|
|
2294
2294
|
}
|
|
2295
2295
|
if (!e) {
|
|
@@ -2297,11 +2297,11 @@ function Pn(u, e) {
|
|
|
2297
2297
|
const p = u.push("link_open", "a", 1), x = [["href", i]];
|
|
2298
2298
|
p.attrs = x, o && x.push(["title", o]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
|
|
2299
2299
|
}
|
|
2300
|
-
return u.pos = d, u.posMax =
|
|
2300
|
+
return u.pos = d, u.posMax = f, !0;
|
|
2301
2301
|
}
|
|
2302
|
-
function
|
|
2303
|
-
let n, t, c, r, i, o, a, s,
|
|
2304
|
-
const
|
|
2302
|
+
function Hn(u, e) {
|
|
2303
|
+
let n, t, c, r, i, o, a, s, l = "";
|
|
2304
|
+
const f = u.pos, b = u.posMax;
|
|
2305
2305
|
if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
|
|
2306
2306
|
return !1;
|
|
2307
2307
|
const h = u.pos + 2, d = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
|
|
@@ -2312,7 +2312,7 @@ function Ln(u, e) {
|
|
|
2312
2312
|
;
|
|
2313
2313
|
if (r >= b)
|
|
2314
2314
|
return !1;
|
|
2315
|
-
for (s = r, o = u.md.helpers.parseLinkDestination(u.src, r, u.posMax), o.ok && (
|
|
2315
|
+
for (s = r, o = u.md.helpers.parseLinkDestination(u.src, r, u.posMax), o.ok && (l = u.md.normalizeLink(o.str), u.md.validateLink(l) ? r = o.pos : l = ""), s = r; r < b && (n = u.src.charCodeAt(r), !(!E(n) && n !== 10)); r++)
|
|
2316
2316
|
;
|
|
2317
2317
|
if (o = u.md.helpers.parseLinkTitle(u.src, r, u.posMax), r < b && s !== r && o.ok)
|
|
2318
2318
|
for (a = o.str, r = o.pos; r < b && (n = u.src.charCodeAt(r), !(!E(n) && n !== 10)); r++)
|
|
@@ -2320,14 +2320,14 @@ function Ln(u, e) {
|
|
|
2320
2320
|
else
|
|
2321
2321
|
a = "";
|
|
2322
2322
|
if (r >= b || u.src.charCodeAt(r) !== 41)
|
|
2323
|
-
return u.pos =
|
|
2323
|
+
return u.pos = f, !1;
|
|
2324
2324
|
r++;
|
|
2325
2325
|
} else {
|
|
2326
2326
|
if (typeof u.env.references > "u")
|
|
2327
2327
|
return !1;
|
|
2328
|
-
if (r < b && u.src.charCodeAt(r) === 91 ? (s = r + 1, r = u.md.helpers.parseLinkLabel(u, r), r >= 0 ? c = u.src.slice(s, r++) : r = d + 1) : r = d + 1, c || (c = u.src.slice(h, d)), i = u.env.references[
|
|
2329
|
-
return u.pos =
|
|
2330
|
-
|
|
2328
|
+
if (r < b && u.src.charCodeAt(r) === 91 ? (s = r + 1, r = u.md.helpers.parseLinkLabel(u, r), r >= 0 ? c = u.src.slice(s, r++) : r = d + 1) : r = d + 1, c || (c = u.src.slice(h, d)), i = u.env.references[fu(c)], !i)
|
|
2329
|
+
return u.pos = f, !1;
|
|
2330
|
+
l = i.href, a = i.title;
|
|
2331
2331
|
}
|
|
2332
2332
|
if (!e) {
|
|
2333
2333
|
t = u.src.slice(h, d);
|
|
@@ -2338,13 +2338,13 @@ function Ln(u, e) {
|
|
|
2338
2338
|
u.env,
|
|
2339
2339
|
p
|
|
2340
2340
|
);
|
|
2341
|
-
const x = u.push("image", "img", 0), D = [["src",
|
|
2341
|
+
const x = u.push("image", "img", 0), D = [["src", l], ["alt", ""]];
|
|
2342
2342
|
x.attrs = D, x.children = p, x.content = t, a && D.push(["title", a]);
|
|
2343
2343
|
}
|
|
2344
2344
|
return u.pos = r, u.posMax = b, !0;
|
|
2345
2345
|
}
|
|
2346
|
-
const
|
|
2347
|
-
function
|
|
2346
|
+
const Un = /^([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])?)*)$/, Zn = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
2347
|
+
function Vn(u, e) {
|
|
2348
2348
|
let n = u.pos;
|
|
2349
2349
|
if (u.src.charCodeAt(n) !== 60)
|
|
2350
2350
|
return !1;
|
|
@@ -2356,7 +2356,7 @@ function jn(u, e) {
|
|
|
2356
2356
|
if (i === 62) break;
|
|
2357
2357
|
}
|
|
2358
2358
|
const r = u.src.slice(t + 1, n);
|
|
2359
|
-
if (
|
|
2359
|
+
if (Zn.test(r)) {
|
|
2360
2360
|
const i = u.md.normalizeLink(r);
|
|
2361
2361
|
if (!u.md.validateLink(i))
|
|
2362
2362
|
return !1;
|
|
@@ -2370,7 +2370,7 @@ function jn(u, e) {
|
|
|
2370
2370
|
}
|
|
2371
2371
|
return u.pos += r.length + 2, !0;
|
|
2372
2372
|
}
|
|
2373
|
-
if (
|
|
2373
|
+
if (Un.test(r)) {
|
|
2374
2374
|
const i = u.md.normalizeLink("mailto:" + r);
|
|
2375
2375
|
if (!u.md.validateLink(i))
|
|
2376
2376
|
return !1;
|
|
@@ -2386,51 +2386,51 @@ function jn(u, e) {
|
|
|
2386
2386
|
}
|
|
2387
2387
|
return !1;
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2389
|
+
function Gn(u) {
|
|
2390
2390
|
return /^<a[>\s]/i.test(u);
|
|
2391
2391
|
}
|
|
2392
|
-
function
|
|
2392
|
+
function Wn(u) {
|
|
2393
2393
|
return /^<\/a\s*>/i.test(u);
|
|
2394
2394
|
}
|
|
2395
|
-
function
|
|
2395
|
+
function Jn(u) {
|
|
2396
2396
|
const e = u | 32;
|
|
2397
2397
|
return e >= 97 && e <= 122;
|
|
2398
2398
|
}
|
|
2399
|
-
function
|
|
2399
|
+
function Qn(u, e) {
|
|
2400
2400
|
if (!u.md.options.html)
|
|
2401
2401
|
return !1;
|
|
2402
2402
|
const n = u.posMax, t = u.pos;
|
|
2403
2403
|
if (u.src.charCodeAt(t) !== 60 || t + 2 >= n)
|
|
2404
2404
|
return !1;
|
|
2405
2405
|
const c = u.src.charCodeAt(t + 1);
|
|
2406
|
-
if (c !== 33 && c !== 63 && c !== 47 && !
|
|
2406
|
+
if (c !== 33 && c !== 63 && c !== 47 && !Jn(c))
|
|
2407
2407
|
return !1;
|
|
2408
|
-
const r = u.src.slice(t).match(
|
|
2408
|
+
const r = u.src.slice(t).match(Fn);
|
|
2409
2409
|
if (!r)
|
|
2410
2410
|
return !1;
|
|
2411
2411
|
if (!e) {
|
|
2412
2412
|
const i = u.push("html_inline", "", 0);
|
|
2413
|
-
i.content = r[0],
|
|
2413
|
+
i.content = r[0], Gn(i.content) && u.linkLevel++, Wn(i.content) && u.linkLevel--;
|
|
2414
2414
|
}
|
|
2415
2415
|
return u.pos += r[0].length, !0;
|
|
2416
2416
|
}
|
|
2417
|
-
const
|
|
2418
|
-
function
|
|
2417
|
+
const Xn = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Kn = /^&([a-z][a-z0-9]{1,31});/i;
|
|
2418
|
+
function Yn(u, e) {
|
|
2419
2419
|
const n = u.pos, t = u.posMax;
|
|
2420
2420
|
if (u.src.charCodeAt(n) !== 38 || n + 1 >= t) return !1;
|
|
2421
2421
|
if (u.src.charCodeAt(n + 1) === 35) {
|
|
2422
|
-
const r = u.src.slice(n).match(
|
|
2422
|
+
const r = u.src.slice(n).match(Xn);
|
|
2423
2423
|
if (r) {
|
|
2424
2424
|
if (!e) {
|
|
2425
2425
|
const i = r[1][0].toLowerCase() === "x" ? parseInt(r[1].slice(1), 16) : parseInt(r[1], 10), o = u.push("text_special", "", 0);
|
|
2426
|
-
o.content =
|
|
2426
|
+
o.content = zu(i) ? X(i) : X(65533), o.markup = r[0], o.info = "entity";
|
|
2427
2427
|
}
|
|
2428
2428
|
return u.pos += r[0].length, !0;
|
|
2429
2429
|
}
|
|
2430
2430
|
} else {
|
|
2431
|
-
const r = u.src.slice(n).match(
|
|
2431
|
+
const r = u.src.slice(n).match(Kn);
|
|
2432
2432
|
if (r) {
|
|
2433
|
-
const i =
|
|
2433
|
+
const i = me(r[0]);
|
|
2434
2434
|
if (i !== r[0]) {
|
|
2435
2435
|
if (!e) {
|
|
2436
2436
|
const o = u.push("text_special", "", 0);
|
|
@@ -2452,28 +2452,28 @@ function Xu(u) {
|
|
|
2452
2452
|
if (r.push(0), (u[t].marker !== o.marker || c !== o.token - 1) && (t = i), c = o.token, o.length = o.length || 0, !o.close) continue;
|
|
2453
2453
|
e.hasOwnProperty(o.marker) || (e[o.marker] = [-1, -1, -1, -1, -1, -1]);
|
|
2454
2454
|
const a = e[o.marker][(o.open ? 3 : 0) + o.length % 3];
|
|
2455
|
-
let s = t - r[t] - 1,
|
|
2455
|
+
let s = t - r[t] - 1, l = s;
|
|
2456
2456
|
for (; s > a; s -= r[s] + 1) {
|
|
2457
|
-
const
|
|
2458
|
-
if (
|
|
2457
|
+
const f = u[s];
|
|
2458
|
+
if (f.marker === o.marker && f.open && f.end < 0) {
|
|
2459
2459
|
let b = !1;
|
|
2460
|
-
if ((
|
|
2460
|
+
if ((f.close || o.open) && (f.length + o.length) % 3 === 0 && (f.length % 3 !== 0 || o.length % 3 !== 0) && (b = !0), !b) {
|
|
2461
2461
|
const h = s > 0 && !u[s - 1].open ? r[s - 1] + 1 : 0;
|
|
2462
|
-
r[i] = i - s + h, r[s] = h, o.open = !1,
|
|
2462
|
+
r[i] = i - s + h, r[s] = h, o.open = !1, f.end = i, f.close = !1, l = -1, c = -2;
|
|
2463
2463
|
break;
|
|
2464
2464
|
}
|
|
2465
2465
|
}
|
|
2466
2466
|
}
|
|
2467
|
-
|
|
2467
|
+
l !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = l);
|
|
2468
2468
|
}
|
|
2469
2469
|
}
|
|
2470
|
-
function
|
|
2470
|
+
function ur(u) {
|
|
2471
2471
|
const e = u.tokens_meta, n = u.tokens_meta.length;
|
|
2472
2472
|
Xu(u.delimiters);
|
|
2473
2473
|
for (let t = 0; t < n; t++)
|
|
2474
2474
|
e[t] && e[t].delimiters && Xu(e[t].delimiters);
|
|
2475
2475
|
}
|
|
2476
|
-
function
|
|
2476
|
+
function er(u) {
|
|
2477
2477
|
let e, n, t = 0;
|
|
2478
2478
|
const c = u.tokens, r = u.tokens.length;
|
|
2479
2479
|
for (e = n = 0; e < r; e++)
|
|
@@ -2481,25 +2481,25 @@ function Xn(u) {
|
|
|
2481
2481
|
e !== n && (c.length = n);
|
|
2482
2482
|
}
|
|
2483
2483
|
const gu = [
|
|
2484
|
-
["text",
|
|
2485
|
-
["linkify",
|
|
2486
|
-
["newline",
|
|
2487
|
-
["escape",
|
|
2488
|
-
["backticks",
|
|
2484
|
+
["text", $n],
|
|
2485
|
+
["linkify", Mn],
|
|
2486
|
+
["newline", In],
|
|
2487
|
+
["escape", qn],
|
|
2488
|
+
["backticks", Rn],
|
|
2489
2489
|
["strikethrough", x0.tokenize],
|
|
2490
2490
|
["emphasis", m0.tokenize],
|
|
2491
|
-
["link",
|
|
2492
|
-
["image",
|
|
2493
|
-
["autolink",
|
|
2494
|
-
["html_inline",
|
|
2495
|
-
["entity",
|
|
2491
|
+
["link", jn],
|
|
2492
|
+
["image", Hn],
|
|
2493
|
+
["autolink", Vn],
|
|
2494
|
+
["html_inline", Qn],
|
|
2495
|
+
["entity", Yn]
|
|
2496
2496
|
], Cu = [
|
|
2497
|
-
["balance_pairs",
|
|
2497
|
+
["balance_pairs", ur],
|
|
2498
2498
|
["strikethrough", x0.postProcess],
|
|
2499
2499
|
["emphasis", m0.postProcess],
|
|
2500
2500
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
2501
2501
|
// rule below merges unused segments back with the rest of the text
|
|
2502
|
-
["fragments_join",
|
|
2502
|
+
["fragments_join", er]
|
|
2503
2503
|
];
|
|
2504
2504
|
function tu() {
|
|
2505
2505
|
this.ruler = new v();
|
|
@@ -2557,7 +2557,7 @@ tu.prototype.parse = function(u, e, n, t) {
|
|
|
2557
2557
|
r[o](c);
|
|
2558
2558
|
};
|
|
2559
2559
|
tu.prototype.State = ru;
|
|
2560
|
-
function
|
|
2560
|
+
function nr(u) {
|
|
2561
2561
|
const e = {};
|
|
2562
2562
|
u = u || {}, e.src_Any = r0.source, e.src_Cc = t0.source, e.src_Z = o0.source, e.src_P = Su.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
2563
2563
|
const n = "[><|]";
|
|
@@ -2579,19 +2579,19 @@ function Au(u) {
|
|
|
2579
2579
|
function bu(u) {
|
|
2580
2580
|
return Object.prototype.toString.call(u);
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function rr(u) {
|
|
2583
2583
|
return bu(u) === "[object String]";
|
|
2584
2584
|
}
|
|
2585
|
-
function
|
|
2585
|
+
function tr(u) {
|
|
2586
2586
|
return bu(u) === "[object Object]";
|
|
2587
2587
|
}
|
|
2588
|
-
function
|
|
2588
|
+
function cr(u) {
|
|
2589
2589
|
return bu(u) === "[object RegExp]";
|
|
2590
2590
|
}
|
|
2591
2591
|
function Ku(u) {
|
|
2592
2592
|
return bu(u) === "[object Function]";
|
|
2593
2593
|
}
|
|
2594
|
-
function
|
|
2594
|
+
function or(u) {
|
|
2595
2595
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
2596
2596
|
}
|
|
2597
2597
|
const _0 = {
|
|
@@ -2599,12 +2599,12 @@ const _0 = {
|
|
|
2599
2599
|
fuzzyEmail: !0,
|
|
2600
2600
|
fuzzyIP: !1
|
|
2601
2601
|
};
|
|
2602
|
-
function
|
|
2602
|
+
function ir(u) {
|
|
2603
2603
|
return Object.keys(u || {}).reduce(function(e, n) {
|
|
2604
2604
|
return e || _0.hasOwnProperty(n);
|
|
2605
2605
|
}, !1);
|
|
2606
2606
|
}
|
|
2607
|
-
const
|
|
2607
|
+
const ar = {
|
|
2608
2608
|
"http:": {
|
|
2609
2609
|
validate: function(u, e, n) {
|
|
2610
2610
|
const t = u.slice(e);
|
|
@@ -2636,8 +2636,8 @@ const tr = {
|
|
|
2636
2636
|
)), n.re.mailto.test(t) ? t.match(n.re.mailto)[0].length : 0;
|
|
2637
2637
|
}
|
|
2638
2638
|
}
|
|
2639
|
-
},
|
|
2640
|
-
function
|
|
2639
|
+
}, sr = "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]", lr = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
|
|
2640
|
+
function fr(u) {
|
|
2641
2641
|
return function(e, n) {
|
|
2642
2642
|
const t = e.slice(n);
|
|
2643
2643
|
return u.test(t) ? t.match(u)[0].length : 0;
|
|
@@ -2649,8 +2649,8 @@ function Yu() {
|
|
|
2649
2649
|
};
|
|
2650
2650
|
}
|
|
2651
2651
|
function su(u) {
|
|
2652
|
-
const e = u.re =
|
|
2653
|
-
u.onCompile(), u.__tlds_replaced__ || n.push(
|
|
2652
|
+
const e = u.re = nr(u.__opts__), n = u.__tlds__.slice();
|
|
2653
|
+
u.onCompile(), u.__tlds_replaced__ || n.push(sr), n.push(e.src_xn), e.src_tlds = n.join("|");
|
|
2654
2654
|
function t(o) {
|
|
2655
2655
|
return o.replace("%TLDS%", e.src_tlds);
|
|
2656
2656
|
}
|
|
@@ -2665,11 +2665,11 @@ function su(u) {
|
|
|
2665
2665
|
if (a === null)
|
|
2666
2666
|
return;
|
|
2667
2667
|
const s = { validate: null, link: null };
|
|
2668
|
-
if (u.__compiled__[o] = s,
|
|
2669
|
-
|
|
2668
|
+
if (u.__compiled__[o] = s, tr(a)) {
|
|
2669
|
+
cr(a.validate) ? s.validate = fr(a.validate) : Ku(a.validate) ? s.validate = a.validate : r(o, a), Ku(a.normalize) ? s.normalize = a.normalize : a.normalize ? r(o, a) : s.normalize = Yu();
|
|
2670
2670
|
return;
|
|
2671
2671
|
}
|
|
2672
|
-
if (
|
|
2672
|
+
if (rr(a)) {
|
|
2673
2673
|
c.push(o);
|
|
2674
2674
|
return;
|
|
2675
2675
|
}
|
|
@@ -2679,7 +2679,7 @@ function su(u) {
|
|
|
2679
2679
|
}), u.__compiled__[""] = { validate: null, normalize: Yu() };
|
|
2680
2680
|
const i = Object.keys(u.__compiled__).filter(function(o) {
|
|
2681
2681
|
return o.length > 0 && u.__compiled__[o];
|
|
2682
|
-
}).map(
|
|
2682
|
+
}).map(or).join("|");
|
|
2683
2683
|
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(
|
|
2684
2684
|
`(${u.re.schema_test.source})|(${u.re.host_fuzzy_test.source})|@`,
|
|
2685
2685
|
"i"
|
|
@@ -2692,7 +2692,7 @@ function k0(u, e, n, t) {
|
|
|
2692
2692
|
function S(u, e) {
|
|
2693
2693
|
if (!(this instanceof S))
|
|
2694
2694
|
return new S(u, e);
|
|
2695
|
-
e ||
|
|
2695
|
+
e || ir(u) && (e = u, u = {}), this.__opts__ = Au({}, _0, e), this.__schemas__ = Au({}, ar, u), this.__compiled__ = {}, this.__tlds__ = lr, this.__tlds_replaced__ = !1, this.re = {}, su(this);
|
|
2696
2696
|
}
|
|
2697
2697
|
S.prototype.add = function(e, n) {
|
|
2698
2698
|
return this.__schemas__[e] = n, su(this), this;
|
|
@@ -2746,20 +2746,20 @@ S.prototype.match = function(e) {
|
|
|
2746
2746
|
index: i.index + i[1].length,
|
|
2747
2747
|
lastIndex: i.index + i[0].length
|
|
2748
2748
|
});
|
|
2749
|
-
const
|
|
2750
|
-
let
|
|
2749
|
+
const l = [0, 0, 0];
|
|
2750
|
+
let f = 0;
|
|
2751
2751
|
for (; ; ) {
|
|
2752
2752
|
const b = [
|
|
2753
|
-
t[
|
|
2754
|
-
r[
|
|
2755
|
-
c[
|
|
2753
|
+
t[l[0]],
|
|
2754
|
+
r[l[1]],
|
|
2755
|
+
c[l[2]]
|
|
2756
2756
|
], h = s(s(b[0], b[1]), b[2]);
|
|
2757
2757
|
if (!h)
|
|
2758
2758
|
break;
|
|
2759
|
-
if (h === b[0] ?
|
|
2759
|
+
if (h === b[0] ? l[0]++ : h === b[1] ? l[1]++ : l[2]++, h.index < f)
|
|
2760
2760
|
continue;
|
|
2761
2761
|
const d = new k0(e, h.schema, h.index, h.lastIndex);
|
|
2762
|
-
this.__compiled__[d.schema].normalize(d, this), n.push(d),
|
|
2762
|
+
this.__compiled__[d.schema].normalize(d, this), n.push(d), f = h.lastIndex;
|
|
2763
2763
|
}
|
|
2764
2764
|
return n.length ? n : null;
|
|
2765
2765
|
};
|
|
@@ -2782,15 +2782,15 @@ S.prototype.normalize = function(e) {
|
|
|
2782
2782
|
};
|
|
2783
2783
|
S.prototype.onCompile = function() {
|
|
2784
2784
|
};
|
|
2785
|
-
const Z = 2147483647,
|
|
2785
|
+
const Z = 2147483647, B = 36, Mu = 1, eu = 26, dr = 38, hr = 700, g0 = 72, C0 = 128, D0 = "-", br = /^xn--/, pr = /[^\0-\x7F]/, xr = /[\x2E\u3002\uFF0E\uFF61]/g, mr = {
|
|
2786
2786
|
overflow: "Overflow: input needs wider integers to process",
|
|
2787
2787
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
2788
2788
|
"invalid-input": "Invalid input"
|
|
2789
|
-
}, Du =
|
|
2789
|
+
}, Du = B - Mu, M = Math.floor, Eu = String.fromCharCode;
|
|
2790
2790
|
function L(u) {
|
|
2791
|
-
throw new RangeError(
|
|
2791
|
+
throw new RangeError(mr[u]);
|
|
2792
2792
|
}
|
|
2793
|
-
function
|
|
2793
|
+
function _r(u, e) {
|
|
2794
2794
|
const n = [];
|
|
2795
2795
|
let t = u.length;
|
|
2796
2796
|
for (; t--; )
|
|
@@ -2800,8 +2800,8 @@ function br(u, e) {
|
|
|
2800
2800
|
function E0(u, e) {
|
|
2801
2801
|
const n = u.split("@");
|
|
2802
2802
|
let t = "";
|
|
2803
|
-
n.length > 1 && (t = n[0] + "@", u = n[1]), u = u.replace(
|
|
2804
|
-
const c = u.split("."), r =
|
|
2803
|
+
n.length > 1 && (t = n[0] + "@", u = n[1]), u = u.replace(xr, ".");
|
|
2804
|
+
const c = u.split("."), r = _r(c, e).join(".");
|
|
2805
2805
|
return t + r;
|
|
2806
2806
|
}
|
|
2807
2807
|
function y0(u) {
|
|
@@ -2818,15 +2818,15 @@ function y0(u) {
|
|
|
2818
2818
|
}
|
|
2819
2819
|
return e;
|
|
2820
2820
|
}
|
|
2821
|
-
const
|
|
2822
|
-
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 :
|
|
2821
|
+
const kr = (u) => String.fromCodePoint(...u), gr = function(u) {
|
|
2822
|
+
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : B;
|
|
2823
2823
|
}, u0 = function(u, e) {
|
|
2824
2824
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
2825
2825
|
}, F0 = function(u, e, n) {
|
|
2826
2826
|
let t = 0;
|
|
2827
|
-
for (u = n ?
|
|
2828
|
-
u =
|
|
2829
|
-
return
|
|
2827
|
+
for (u = n ? M(u / hr) : u >> 1, u += M(u / e); u > Du * eu >> 1; t += B)
|
|
2828
|
+
u = M(u / Du);
|
|
2829
|
+
return M(t + (Du + 1) * u / (u + dr));
|
|
2830
2830
|
}, A0 = function(u) {
|
|
2831
2831
|
const e = [], n = u.length;
|
|
2832
2832
|
let t = 0, c = C0, r = g0, i = u.lastIndexOf(D0);
|
|
@@ -2835,18 +2835,18 @@ const pr = (u) => String.fromCodePoint(...u), xr = function(u) {
|
|
|
2835
2835
|
u.charCodeAt(o) >= 128 && L("not-basic"), e.push(u.charCodeAt(o));
|
|
2836
2836
|
for (let o = i > 0 ? i + 1 : 0; o < n; ) {
|
|
2837
2837
|
const a = t;
|
|
2838
|
-
for (let
|
|
2838
|
+
for (let l = 1, f = B; ; f += B) {
|
|
2839
2839
|
o >= n && L("invalid-input");
|
|
2840
|
-
const b =
|
|
2841
|
-
b >=
|
|
2842
|
-
const h =
|
|
2840
|
+
const b = gr(u.charCodeAt(o++));
|
|
2841
|
+
b >= B && L("invalid-input"), b > M((Z - t) / l) && L("overflow"), t += b * l;
|
|
2842
|
+
const h = f <= r ? Mu : f >= r + eu ? eu : f - r;
|
|
2843
2843
|
if (b < h)
|
|
2844
2844
|
break;
|
|
2845
|
-
const d =
|
|
2846
|
-
|
|
2845
|
+
const d = B - h;
|
|
2846
|
+
l > M(Z / d) && L("overflow"), l *= d;
|
|
2847
2847
|
}
|
|
2848
2848
|
const s = e.length + 1;
|
|
2849
|
-
r = F0(t - a, s, a == 0),
|
|
2849
|
+
r = F0(t - a, s, a == 0), M(t / s) > Z - c && L("overflow"), c += M(t / s), t %= s, e.splice(t++, 0, c);
|
|
2850
2850
|
}
|
|
2851
2851
|
return String.fromCodePoint(...e);
|
|
2852
2852
|
}, w0 = function(u) {
|
|
@@ -2860,34 +2860,34 @@ const pr = (u) => String.fromCodePoint(...u), xr = function(u) {
|
|
|
2860
2860
|
let o = i;
|
|
2861
2861
|
for (i && e.push(D0); o < n; ) {
|
|
2862
2862
|
let a = Z;
|
|
2863
|
-
for (const
|
|
2864
|
-
|
|
2863
|
+
for (const l of u)
|
|
2864
|
+
l >= t && l < a && (a = l);
|
|
2865
2865
|
const s = o + 1;
|
|
2866
|
-
a - t >
|
|
2867
|
-
for (const
|
|
2868
|
-
if (
|
|
2869
|
-
let
|
|
2870
|
-
for (let b =
|
|
2871
|
-
const h = b <= r ?
|
|
2872
|
-
if (
|
|
2866
|
+
a - t > M((Z - c) / s) && L("overflow"), c += (a - t) * s, t = a;
|
|
2867
|
+
for (const l of u)
|
|
2868
|
+
if (l < t && ++c > Z && L("overflow"), l === t) {
|
|
2869
|
+
let f = c;
|
|
2870
|
+
for (let b = B; ; b += B) {
|
|
2871
|
+
const h = b <= r ? Mu : b >= r + eu ? eu : b - r;
|
|
2872
|
+
if (f < h)
|
|
2873
2873
|
break;
|
|
2874
|
-
const d =
|
|
2874
|
+
const d = f - h, p = B - h;
|
|
2875
2875
|
e.push(
|
|
2876
2876
|
Eu(u0(h + d % p, 0))
|
|
2877
|
-
),
|
|
2877
|
+
), f = M(d / p);
|
|
2878
2878
|
}
|
|
2879
|
-
e.push(Eu(u0(
|
|
2879
|
+
e.push(Eu(u0(f, 0))), r = F0(c, s, o === i), c = 0, ++o;
|
|
2880
2880
|
}
|
|
2881
2881
|
++c, ++t;
|
|
2882
2882
|
}
|
|
2883
2883
|
return e.join("");
|
|
2884
|
-
},
|
|
2884
|
+
}, Cr = function(u) {
|
|
2885
2885
|
return E0(u, function(e) {
|
|
2886
|
-
return
|
|
2886
|
+
return br.test(e) ? A0(e.slice(4).toLowerCase()) : e;
|
|
2887
2887
|
});
|
|
2888
|
-
},
|
|
2888
|
+
}, Dr = function(u) {
|
|
2889
2889
|
return E0(u, function(e) {
|
|
2890
|
-
return
|
|
2890
|
+
return pr.test(e) ? "xn--" + w0(e) : e;
|
|
2891
2891
|
});
|
|
2892
2892
|
}, v0 = {
|
|
2893
2893
|
/**
|
|
@@ -2905,13 +2905,13 @@ const pr = (u) => String.fromCodePoint(...u), xr = function(u) {
|
|
|
2905
2905
|
*/
|
|
2906
2906
|
ucs2: {
|
|
2907
2907
|
decode: y0,
|
|
2908
|
-
encode:
|
|
2908
|
+
encode: kr
|
|
2909
2909
|
},
|
|
2910
2910
|
decode: A0,
|
|
2911
2911
|
encode: w0,
|
|
2912
|
-
toASCII:
|
|
2913
|
-
toUnicode:
|
|
2914
|
-
},
|
|
2912
|
+
toASCII: Dr,
|
|
2913
|
+
toUnicode: Cr
|
|
2914
|
+
}, Er = {
|
|
2915
2915
|
options: {
|
|
2916
2916
|
// Enable HTML tags in source
|
|
2917
2917
|
html: !1,
|
|
@@ -2947,7 +2947,7 @@ const pr = (u) => String.fromCodePoint(...u), xr = function(u) {
|
|
|
2947
2947
|
block: {},
|
|
2948
2948
|
inline: {}
|
|
2949
2949
|
}
|
|
2950
|
-
},
|
|
2950
|
+
}, yr = {
|
|
2951
2951
|
options: {
|
|
2952
2952
|
// Enable HTML tags in source
|
|
2953
2953
|
html: !1,
|
|
@@ -3002,7 +3002,7 @@ const pr = (u) => String.fromCodePoint(...u), xr = function(u) {
|
|
|
3002
3002
|
]
|
|
3003
3003
|
}
|
|
3004
3004
|
}
|
|
3005
|
-
},
|
|
3005
|
+
}, Fr = {
|
|
3006
3006
|
options: {
|
|
3007
3007
|
// Enable HTML tags in source
|
|
3008
3008
|
html: !0,
|
|
@@ -3076,17 +3076,17 @@ const pr = (u) => String.fromCodePoint(...u), xr = function(u) {
|
|
|
3076
3076
|
]
|
|
3077
3077
|
}
|
|
3078
3078
|
}
|
|
3079
|
-
},
|
|
3080
|
-
default:
|
|
3081
|
-
zero:
|
|
3082
|
-
commonmark:
|
|
3083
|
-
},
|
|
3084
|
-
function
|
|
3079
|
+
}, Ar = {
|
|
3080
|
+
default: Er,
|
|
3081
|
+
zero: yr,
|
|
3082
|
+
commonmark: Fr
|
|
3083
|
+
}, wr = /^(vbscript|javascript|file|data):/, vr = /^data:image\/(gif|png|jpeg|webp);/;
|
|
3084
|
+
function Sr(u) {
|
|
3085
3085
|
const e = u.trim().toLowerCase();
|
|
3086
|
-
return
|
|
3086
|
+
return wr.test(e) ? vr.test(e) : !0;
|
|
3087
3087
|
}
|
|
3088
3088
|
const S0 = ["http:", "https:", "mailto:"];
|
|
3089
|
-
function
|
|
3089
|
+
function Tr(u) {
|
|
3090
3090
|
const e = vu(u, !0);
|
|
3091
3091
|
if (e.hostname && (!e.protocol || S0.indexOf(e.protocol) >= 0))
|
|
3092
3092
|
try {
|
|
@@ -3095,28 +3095,28 @@ function Ar(u) {
|
|
|
3095
3095
|
}
|
|
3096
3096
|
return nu(wu(e));
|
|
3097
3097
|
}
|
|
3098
|
-
function
|
|
3098
|
+
function zr(u) {
|
|
3099
3099
|
const e = vu(u, !0);
|
|
3100
3100
|
if (e.hostname && (!e.protocol || S0.indexOf(e.protocol) >= 0))
|
|
3101
3101
|
try {
|
|
3102
3102
|
e.hostname = v0.toUnicode(e.hostname);
|
|
3103
3103
|
} catch {
|
|
3104
3104
|
}
|
|
3105
|
-
return
|
|
3105
|
+
return V(wu(e), V.defaultChars + "%");
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3108
|
-
if (!(this instanceof
|
|
3109
|
-
return new
|
|
3110
|
-
e ||
|
|
3107
|
+
function T(u, e) {
|
|
3108
|
+
if (!(this instanceof T))
|
|
3109
|
+
return new T(u, e);
|
|
3110
|
+
e || Tu(u) || (e = u || {}, u = "default"), this.inline = new tu(), this.block = new hu(), this.core = new $u(), this.renderer = new W(), this.linkify = new S(), this.validateLink = Sr, this.normalizeLink = Tr, this.normalizeLinkText = zr, this.utils = Be, this.helpers = lu({}, Re), this.options = {}, this.configure(u), e && this.set(e);
|
|
3111
3111
|
}
|
|
3112
|
-
|
|
3113
|
-
return
|
|
3112
|
+
T.prototype.set = function(u) {
|
|
3113
|
+
return lu(this.options, u), this;
|
|
3114
3114
|
};
|
|
3115
|
-
|
|
3115
|
+
T.prototype.configure = function(u) {
|
|
3116
3116
|
const e = this;
|
|
3117
|
-
if (
|
|
3117
|
+
if (Tu(u)) {
|
|
3118
3118
|
const n = u;
|
|
3119
|
-
if (u =
|
|
3119
|
+
if (u = Ar[n], !u)
|
|
3120
3120
|
throw new Error('Wrong `markdown-it` preset "' + n + '", check name');
|
|
3121
3121
|
}
|
|
3122
3122
|
if (!u)
|
|
@@ -3125,7 +3125,7 @@ z.prototype.configure = function(u) {
|
|
|
3125
3125
|
u.components[n].rules && e[n].ruler.enableOnly(u.components[n].rules), u.components[n].rules2 && e[n].ruler2.enableOnly(u.components[n].rules2);
|
|
3126
3126
|
}), this;
|
|
3127
3127
|
};
|
|
3128
|
-
|
|
3128
|
+
T.prototype.enable = function(u, e) {
|
|
3129
3129
|
let n = [];
|
|
3130
3130
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(c) {
|
|
3131
3131
|
n = n.concat(this[c].ruler.enable(u, !0));
|
|
@@ -3137,7 +3137,7 @@ z.prototype.enable = function(u, e) {
|
|
|
3137
3137
|
throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + t);
|
|
3138
3138
|
return this;
|
|
3139
3139
|
};
|
|
3140
|
-
|
|
3140
|
+
T.prototype.disable = function(u, e) {
|
|
3141
3141
|
let n = [];
|
|
3142
3142
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(c) {
|
|
3143
3143
|
n = n.concat(this[c].ruler.disable(u, !0));
|
|
@@ -3149,28 +3149,28 @@ z.prototype.disable = function(u, e) {
|
|
|
3149
3149
|
throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + t);
|
|
3150
3150
|
return this;
|
|
3151
3151
|
};
|
|
3152
|
-
|
|
3152
|
+
T.prototype.use = function(u) {
|
|
3153
3153
|
const e = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
3154
3154
|
return u.apply(u, e), this;
|
|
3155
3155
|
};
|
|
3156
|
-
|
|
3156
|
+
T.prototype.parse = function(u, e) {
|
|
3157
3157
|
if (typeof u != "string")
|
|
3158
3158
|
throw new Error("Input data should be a String");
|
|
3159
3159
|
const n = new this.core.State(u, this, e);
|
|
3160
3160
|
return this.core.process(n), n.tokens;
|
|
3161
3161
|
};
|
|
3162
|
-
|
|
3162
|
+
T.prototype.render = function(u, e) {
|
|
3163
3163
|
return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
|
|
3164
3164
|
};
|
|
3165
|
-
|
|
3165
|
+
T.prototype.parseInline = function(u, e) {
|
|
3166
3166
|
const n = new this.core.State(u, this, e);
|
|
3167
3167
|
return n.inlineMode = !0, this.core.process(n), n.tokens;
|
|
3168
3168
|
};
|
|
3169
|
-
|
|
3169
|
+
T.prototype.renderInline = function(u, e) {
|
|
3170
3170
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3171
3171
|
};
|
|
3172
3172
|
const iu = /* @__PURE__ */ Symbol("markdown-it-deflist.ddDepth");
|
|
3173
|
-
function
|
|
3173
|
+
function $r(u) {
|
|
3174
3174
|
const e = u.utils.isSpace;
|
|
3175
3175
|
function n(r, i) {
|
|
3176
3176
|
let o = r.bMarks[i] + r.tShift[i];
|
|
@@ -3180,17 +3180,17 @@ function vr(u) {
|
|
|
3180
3180
|
const s = r.src.charCodeAt(o++);
|
|
3181
3181
|
if (s !== 126 && s !== 58)
|
|
3182
3182
|
return -1;
|
|
3183
|
-
const
|
|
3184
|
-
return o < a && o ===
|
|
3183
|
+
const l = r.skipSpaces(o);
|
|
3184
|
+
return o < a && o === l ? -1 : o;
|
|
3185
3185
|
}
|
|
3186
3186
|
function t(r, i, o, a) {
|
|
3187
3187
|
let s = -1;
|
|
3188
|
-
for (let
|
|
3189
|
-
const
|
|
3190
|
-
if (!(
|
|
3188
|
+
for (let l = i; l < o; l++) {
|
|
3189
|
+
const f = r.tokens[l];
|
|
3190
|
+
if (!(f.level !== a || !f.block || f.nesting < 0)) {
|
|
3191
3191
|
if (s >= 0)
|
|
3192
3192
|
return;
|
|
3193
|
-
s =
|
|
3193
|
+
s = l;
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
3196
3196
|
s < 0 || r.tokens[s].type !== "paragraph_open" || (r.tokens[s + 2].hidden = !0, r.tokens[s].hidden = !0);
|
|
@@ -3201,11 +3201,11 @@ function vr(u) {
|
|
|
3201
3201
|
let s = i + 1;
|
|
3202
3202
|
if (s >= o)
|
|
3203
3203
|
return !1;
|
|
3204
|
-
let
|
|
3205
|
-
if (r.isEmpty(s) && (s++,
|
|
3204
|
+
let l = !0;
|
|
3205
|
+
if (r.isEmpty(s) && (s++, l = !1, s >= o) || r.sCount[s] < r.blkIndent)
|
|
3206
3206
|
return !1;
|
|
3207
|
-
let
|
|
3208
|
-
if (
|
|
3207
|
+
let f = n(r, s);
|
|
3208
|
+
if (f < 0)
|
|
3209
3209
|
return !1;
|
|
3210
3210
|
const b = r.push("dl_open", "dl", 1), h = [i, 0];
|
|
3211
3211
|
b.map = h;
|
|
@@ -3218,9 +3218,9 @@ function vr(u) {
|
|
|
3218
3218
|
for (D.map = [d, d], D.content = r.getLines(d, d + 1, r.blkIndent, !1).trim(), D.children = [], r.push("dt_close", "dt", -1); ; ) {
|
|
3219
3219
|
const _ = r.tokens.length, k = r.push("dd_open", "dd", 1), g = [s, 0];
|
|
3220
3220
|
k.map = g;
|
|
3221
|
-
let C =
|
|
3221
|
+
let C = f;
|
|
3222
3222
|
const y = r.eMarks[p];
|
|
3223
|
-
let w = r.sCount[p] +
|
|
3223
|
+
let w = r.sCount[p] + f - (r.bMarks[p] + r.tShift[p]);
|
|
3224
3224
|
for (; C < y; ) {
|
|
3225
3225
|
const Q = r.src.charCodeAt(C);
|
|
3226
3226
|
if (e(Q))
|
|
@@ -3229,26 +3229,26 @@ function vr(u) {
|
|
|
3229
3229
|
break;
|
|
3230
3230
|
C++;
|
|
3231
3231
|
}
|
|
3232
|
-
|
|
3233
|
-
const
|
|
3234
|
-
if (r.blkIndent = r.sCount[p] + 2, r.tShift[p] =
|
|
3232
|
+
f = C;
|
|
3233
|
+
const $ = r.tight, j = r.blkIndent, J = r.tShift[p], pu = r.sCount[p], xu = r.parentType;
|
|
3234
|
+
if (r.blkIndent = r.sCount[p] + 2, r.tShift[p] = f - r.bMarks[p], r.sCount[p] = w, r.tight = !0, r.parentType = "deflist", r.env[iu] = (r.env[iu] || 0) + 1, r.md.block.tokenize(r, p, o, !0), r.env[iu]--, l && t(r, _, r.tokens.length, k.level + 1), r.tShift[p] = J, r.sCount[p] = pu, r.tight = $, r.parentType = xu, r.blkIndent = j, r.push("dd_close", "dd", -1), g[1] = s = r.line, s >= o || r.sCount[s] < r.blkIndent)
|
|
3235
3235
|
break u;
|
|
3236
|
-
if (
|
|
3236
|
+
if (f = n(r, s), f < 0)
|
|
3237
3237
|
break;
|
|
3238
3238
|
p = s;
|
|
3239
3239
|
}
|
|
3240
3240
|
if (s >= o || (d = s, r.isEmpty(d)) || r.sCount[d] < r.blkIndent || (p = d + 1, p >= o))
|
|
3241
3241
|
break;
|
|
3242
3242
|
const m = r.isEmpty(p);
|
|
3243
|
-
if (m && p++, p >= o || r.sCount[p] < r.blkIndent || (
|
|
3243
|
+
if (m && p++, p >= o || r.sCount[p] < r.blkIndent || (f = n(r, p), f < 0))
|
|
3244
3244
|
break;
|
|
3245
|
-
|
|
3245
|
+
l = !m;
|
|
3246
3246
|
}
|
|
3247
3247
|
return r.push("dl_close", "dl", -1), h[1] = s, r.line = s, !0;
|
|
3248
3248
|
}
|
|
3249
3249
|
u.block.ruler.before("paragraph", "deflist", c, { alt: ["paragraph", "reference", "blockquote"] });
|
|
3250
3250
|
}
|
|
3251
|
-
function
|
|
3251
|
+
function Br(u) {
|
|
3252
3252
|
function e(t, c) {
|
|
3253
3253
|
const r = t.pos, i = t.src.charCodeAt(r);
|
|
3254
3254
|
if (c || i !== 43)
|
|
@@ -3259,16 +3259,16 @@ function Sr(u) {
|
|
|
3259
3259
|
if (a < 2)
|
|
3260
3260
|
return !1;
|
|
3261
3261
|
if (a % 2) {
|
|
3262
|
-
const f = t.push("text", "", 0);
|
|
3263
|
-
f.content = s, a--;
|
|
3264
|
-
}
|
|
3265
|
-
for (let f = 0; f < a; f += 2) {
|
|
3266
3262
|
const l = t.push("text", "", 0);
|
|
3267
|
-
l.content = s
|
|
3263
|
+
l.content = s, a--;
|
|
3264
|
+
}
|
|
3265
|
+
for (let l = 0; l < a; l += 2) {
|
|
3266
|
+
const f = t.push("text", "", 0);
|
|
3267
|
+
f.content = s + s, !(!o.can_open && !o.can_close) && t.delimiters.push({
|
|
3268
3268
|
marker: i,
|
|
3269
3269
|
length: 0,
|
|
3270
3270
|
// disable "rule of 3" length checks meant for emphasis
|
|
3271
|
-
jump:
|
|
3271
|
+
jump: l / 2,
|
|
3272
3272
|
// 1 delimiter = 2 characters
|
|
3273
3273
|
token: t.tokens.length - 1,
|
|
3274
3274
|
end: -1,
|
|
@@ -3285,8 +3285,8 @@ function Sr(u) {
|
|
|
3285
3285
|
const s = c[a];
|
|
3286
3286
|
if (s.marker !== 43 || s.end === -1)
|
|
3287
3287
|
continue;
|
|
3288
|
-
const
|
|
3289
|
-
r = t.tokens[s.token], r.type = "ins_open", r.tag = "ins", r.nesting = 1, r.markup = "++", r.content = "", r = t.tokens[
|
|
3288
|
+
const l = c[s.end];
|
|
3289
|
+
r = t.tokens[s.token], r.type = "ins_open", r.tag = "ins", r.nesting = 1, r.markup = "++", r.content = "", r = t.tokens[l.token], r.type = "ins_close", r.tag = "ins", r.nesting = -1, r.markup = "++", r.content = "", t.tokens[l.token - 1].type === "text" && t.tokens[l.token - 1].content === "+" && i.push(l.token - 1);
|
|
3290
3290
|
}
|
|
3291
3291
|
for (; i.length; ) {
|
|
3292
3292
|
const a = i.pop();
|
|
@@ -3303,7 +3303,7 @@ function Sr(u) {
|
|
|
3303
3303
|
c[i] && c[i].delimiters && n(t, c[i].delimiters);
|
|
3304
3304
|
});
|
|
3305
3305
|
}
|
|
3306
|
-
function
|
|
3306
|
+
function Mr(u) {
|
|
3307
3307
|
function e(t, c) {
|
|
3308
3308
|
const r = t.pos, i = t.src.charCodeAt(r);
|
|
3309
3309
|
if (c || i !== 61)
|
|
@@ -3314,16 +3314,16 @@ function zr(u) {
|
|
|
3314
3314
|
if (a < 2)
|
|
3315
3315
|
return !1;
|
|
3316
3316
|
if (a % 2) {
|
|
3317
|
-
const f = t.push("text", "", 0);
|
|
3318
|
-
f.content = s, a--;
|
|
3319
|
-
}
|
|
3320
|
-
for (let f = 0; f < a; f += 2) {
|
|
3321
3317
|
const l = t.push("text", "", 0);
|
|
3322
|
-
l.content = s
|
|
3318
|
+
l.content = s, a--;
|
|
3319
|
+
}
|
|
3320
|
+
for (let l = 0; l < a; l += 2) {
|
|
3321
|
+
const f = t.push("text", "", 0);
|
|
3322
|
+
f.content = s + s, !(!o.can_open && !o.can_close) && t.delimiters.push({
|
|
3323
3323
|
marker: i,
|
|
3324
3324
|
length: 0,
|
|
3325
3325
|
// disable "rule of 3" length checks meant for emphasis
|
|
3326
|
-
jump:
|
|
3326
|
+
jump: l / 2,
|
|
3327
3327
|
// 1 delimiter = 2 characters
|
|
3328
3328
|
token: t.tokens.length - 1,
|
|
3329
3329
|
end: -1,
|
|
@@ -3339,10 +3339,10 @@ function zr(u) {
|
|
|
3339
3339
|
const a = c[o];
|
|
3340
3340
|
if (a.marker !== 61 || a.end === -1)
|
|
3341
3341
|
continue;
|
|
3342
|
-
const s = c[a.end],
|
|
3343
|
-
|
|
3344
|
-
const
|
|
3345
|
-
|
|
3342
|
+
const s = c[a.end], l = t.tokens[a.token];
|
|
3343
|
+
l.type = "mark_open", l.tag = "mark", l.nesting = 1, l.markup = "==", l.content = "";
|
|
3344
|
+
const f = t.tokens[s.token];
|
|
3345
|
+
f.type = "mark_close", f.tag = "mark", f.nesting = -1, f.markup = "==", f.content = "", t.tokens[s.token - 1].type === "text" && t.tokens[s.token - 1].content === "=" && r.push(s.token - 1);
|
|
3346
3346
|
}
|
|
3347
3347
|
for (; r.length; ) {
|
|
3348
3348
|
const o = r.pop();
|
|
@@ -3362,8 +3362,8 @@ function zr(u) {
|
|
|
3362
3362
|
r[c] && r[c].delimiters && n(t, r[c].delimiters);
|
|
3363
3363
|
});
|
|
3364
3364
|
}
|
|
3365
|
-
const
|
|
3366
|
-
function
|
|
3365
|
+
const Ir = /\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;
|
|
3366
|
+
function qr(u, e) {
|
|
3367
3367
|
const n = u.posMax, t = u.pos;
|
|
3368
3368
|
if (u.src.charCodeAt(t) !== 126 || e || t + 2 >= n)
|
|
3369
3369
|
return !1;
|
|
@@ -3385,24 +3385,120 @@ function Br(u, e) {
|
|
|
3385
3385
|
const i = u.push("sub_open", "sub", 1);
|
|
3386
3386
|
i.markup = "~";
|
|
3387
3387
|
const o = u.push("text", "", 0);
|
|
3388
|
-
o.content = r.replace(
|
|
3388
|
+
o.content = r.replace(Ir, "$1");
|
|
3389
3389
|
const a = u.push("sub_close", "sub", -1);
|
|
3390
3390
|
return a.markup = "~", u.pos = u.posMax + 1, u.posMax = n, !0;
|
|
3391
3391
|
}
|
|
3392
|
-
function
|
|
3393
|
-
u.inline.ruler.after("emphasis", "sub",
|
|
3392
|
+
function Rr(u) {
|
|
3393
|
+
u.inline.ruler.after("emphasis", "sub", qr);
|
|
3394
|
+
}
|
|
3395
|
+
const Pr = ["gray", "yellow", "orange", "red", "green", "blue", "violet"], Lr = {
|
|
3396
|
+
gray: "--markdown-editor-color-gray",
|
|
3397
|
+
yellow: "--markdown-editor-color-yellow",
|
|
3398
|
+
orange: "--markdown-editor-color-orange",
|
|
3399
|
+
red: "--markdown-editor-color-red",
|
|
3400
|
+
green: "--markdown-editor-color-green",
|
|
3401
|
+
blue: "--markdown-editor-color-blue",
|
|
3402
|
+
violet: "--markdown-editor-color-violet"
|
|
3403
|
+
};
|
|
3404
|
+
function T0(u) {
|
|
3405
|
+
return Pr.includes(u);
|
|
3406
|
+
}
|
|
3407
|
+
function Or(u) {
|
|
3408
|
+
const e = T0(u) ? u : "gray";
|
|
3409
|
+
return `var(${Lr[e]})`;
|
|
3410
|
+
}
|
|
3411
|
+
function Nr(u) {
|
|
3412
|
+
return u.inline.ruler.before("emphasis", "color", (e, n) => {
|
|
3413
|
+
const t = e.pos;
|
|
3414
|
+
if (e.src[t] !== "{" || z0(e.src, t)) return !1;
|
|
3415
|
+
const c = e.src.indexOf("}", t + 1);
|
|
3416
|
+
if (c < 0 || e.src[c + 1] !== "(") return !1;
|
|
3417
|
+
const r = e.src.slice(t + 1, c);
|
|
3418
|
+
if (!T0(r)) return !1;
|
|
3419
|
+
const i = c + 2, o = jr(e.src, i, e.posMax);
|
|
3420
|
+
if (o < 0) return !1;
|
|
3421
|
+
if (!n) {
|
|
3422
|
+
const a = e.push("color_open", "span", 1);
|
|
3423
|
+
a.attrSet("style", `color: ${Or(r)}`), a.meta = { color: r };
|
|
3424
|
+
const s = e.posMax;
|
|
3425
|
+
e.pos = i, e.posMax = o, e.md.inline.tokenize(e), e.posMax = s, e.push("color_close", "span", -1);
|
|
3426
|
+
}
|
|
3427
|
+
return e.pos = o + 1, !0;
|
|
3428
|
+
}), u;
|
|
3429
|
+
}
|
|
3430
|
+
function jr(u, e, n) {
|
|
3431
|
+
let t = 1;
|
|
3432
|
+
for (let c = e; c < n; c += 1)
|
|
3433
|
+
if (!z0(u, c) && (u[c] === "(" && (t += 1), u[c] === ")" && (t -= 1), t === 0))
|
|
3434
|
+
return c;
|
|
3435
|
+
return -1;
|
|
3394
3436
|
}
|
|
3395
|
-
|
|
3396
|
-
|
|
3437
|
+
function z0(u, e) {
|
|
3438
|
+
let n = 0;
|
|
3439
|
+
for (let t = e - 1; t >= 0 && u[t] === "\\"; t -= 1) n += 1;
|
|
3440
|
+
return n % 2 === 1;
|
|
3441
|
+
}
|
|
3442
|
+
const Hr = ["gray", "yellow", "orange", "red", "green", "blue", "violet"], Ur = {
|
|
3443
|
+
gray: "--markdown-editor-background-color-gray",
|
|
3444
|
+
yellow: "--markdown-editor-background-color-yellow",
|
|
3445
|
+
orange: "--markdown-editor-background-color-orange",
|
|
3446
|
+
red: "--markdown-editor-background-color-red",
|
|
3447
|
+
green: "--markdown-editor-background-color-green",
|
|
3448
|
+
blue: "--markdown-editor-background-color-blue",
|
|
3449
|
+
violet: "--markdown-editor-background-color-violet"
|
|
3450
|
+
};
|
|
3451
|
+
function $0(u) {
|
|
3452
|
+
return Hr.includes(u);
|
|
3453
|
+
}
|
|
3454
|
+
function Zr(u) {
|
|
3455
|
+
const e = $0(u) ? u : "gray";
|
|
3456
|
+
return `var(${Ur[e]})`;
|
|
3457
|
+
}
|
|
3458
|
+
function Vr(u) {
|
|
3459
|
+
return u.inline.ruler.before("emphasis", "background_color", (e, n) => {
|
|
3460
|
+
const t = e.pos;
|
|
3461
|
+
if (e.src[t] !== "{" || B0(e.src, t)) return !1;
|
|
3462
|
+
const c = e.src.indexOf("}", t + 1);
|
|
3463
|
+
if (c < 0 || e.src[c + 1] !== "(") return !1;
|
|
3464
|
+
const r = e.src.slice(t + 4, c);
|
|
3465
|
+
if (!e.src.startsWith("{bg-", t) || !$0(r)) return !1;
|
|
3466
|
+
const i = c + 2, o = Gr(e.src, i, e.posMax);
|
|
3467
|
+
if (o < 0) return !1;
|
|
3468
|
+
if (!n) {
|
|
3469
|
+
const a = e.push("background_color_open", "span", 1);
|
|
3470
|
+
a.attrSet("style", `background-color: ${Zr(r)}`), a.meta = { color: r };
|
|
3471
|
+
const s = e.posMax;
|
|
3472
|
+
e.pos = i, e.posMax = o, e.md.inline.tokenize(e), e.posMax = s, e.push("background_color_close", "span", -1);
|
|
3473
|
+
}
|
|
3474
|
+
return e.pos = o + 1, !0;
|
|
3475
|
+
}), u;
|
|
3476
|
+
}
|
|
3477
|
+
function Gr(u, e, n) {
|
|
3478
|
+
let t = 1;
|
|
3479
|
+
for (let c = e; c < n; c += 1)
|
|
3480
|
+
if (!B0(u, c) && (u[c] === "(" && (t += 1), u[c] === ")" && (t -= 1), t === 0))
|
|
3481
|
+
return c;
|
|
3482
|
+
return -1;
|
|
3483
|
+
}
|
|
3484
|
+
function B0(u, e) {
|
|
3485
|
+
let n = 0;
|
|
3486
|
+
for (let t = e - 1; t >= 0 && u[t] === "\\"; t -= 1) n += 1;
|
|
3487
|
+
return n % 2 === 1;
|
|
3488
|
+
}
|
|
3489
|
+
const P = new T().utils.escapeHtml;
|
|
3490
|
+
function Wr(u) {
|
|
3397
3491
|
u.inline.ruler.after("backticks", "inline_math", (e, n) => {
|
|
3398
|
-
if (e.src[e.pos] !== "$" || e.src[e.pos + 1] === "$" || n0(e.src, e.pos))
|
|
3492
|
+
if (e.src[e.pos] !== "$" || e.src[e.pos + 1] === "$" || n0(e.src, e.pos))
|
|
3493
|
+
return !1;
|
|
3399
3494
|
let t = e.pos + 1;
|
|
3400
3495
|
for (; t < e.posMax; ) {
|
|
3401
3496
|
if (t = e.src.indexOf("$", t), t < 0 || t >= e.posMax) return !1;
|
|
3402
3497
|
if (!n0(e.src, t)) break;
|
|
3403
3498
|
t += 1;
|
|
3404
3499
|
}
|
|
3405
|
-
if (t <= e.pos + 1 || /\s/.test(e.src[e.pos + 1] ?? "") || /\s/.test(e.src[t - 1] ?? ""))
|
|
3500
|
+
if (t <= e.pos + 1 || /\s/.test(e.src[e.pos + 1] ?? "") || /\s/.test(e.src[t - 1] ?? ""))
|
|
3501
|
+
return !1;
|
|
3406
3502
|
if (!n) {
|
|
3407
3503
|
const c = e.push("inline_math", "", 0);
|
|
3408
3504
|
c.content = e.src.slice(e.pos + 1, t);
|
|
@@ -3430,7 +3526,7 @@ function Ir(u) {
|
|
|
3430
3526
|
return e.line = o + 1, !0;
|
|
3431
3527
|
});
|
|
3432
3528
|
}
|
|
3433
|
-
function
|
|
3529
|
+
function Jr(u) {
|
|
3434
3530
|
u.block.ruler.before("fence", "yfm_html_block", (e, n, t, c) => {
|
|
3435
3531
|
if (e.getLines(n, n + 1, 0, !1).trim() !== ":::html") return !1;
|
|
3436
3532
|
let r = n + 1;
|
|
@@ -3454,7 +3550,7 @@ function Mr(u) {
|
|
|
3454
3550
|
return e.line = o + 1, !0;
|
|
3455
3551
|
});
|
|
3456
3552
|
}
|
|
3457
|
-
function
|
|
3553
|
+
function Qr(u) {
|
|
3458
3554
|
u.core.ruler.after("block", "mermaid_fences", (e) => {
|
|
3459
3555
|
for (const n of e.tokens)
|
|
3460
3556
|
n.type === "fence" && n.info.trim() === "mermaid" && (n.type = "mermaid");
|
|
@@ -3475,7 +3571,7 @@ function qr(u) {
|
|
|
3475
3571
|
}
|
|
3476
3572
|
}
|
|
3477
3573
|
const i = t?.children;
|
|
3478
|
-
i != null &&
|
|
3574
|
+
i != null && Xr(i);
|
|
3479
3575
|
}
|
|
3480
3576
|
});
|
|
3481
3577
|
}
|
|
@@ -3483,11 +3579,13 @@ function yu(u, e) {
|
|
|
3483
3579
|
const n = [];
|
|
3484
3580
|
u.md.inline.parse(e.content, u.md, u.env, n), e.children = n;
|
|
3485
3581
|
}
|
|
3486
|
-
function
|
|
3582
|
+
function Xr(u) {
|
|
3487
3583
|
for (let e = 0; e < u.length; e += 1) {
|
|
3488
3584
|
const n = u[e], t = u[e + 1];
|
|
3489
3585
|
if (n?.type === "image" && t?.type === "text") {
|
|
3490
|
-
const c = t.content.match(
|
|
3586
|
+
const c = t.content.match(
|
|
3587
|
+
/^\{width=(\d+%?)(?:\s+height=(\d+))?(?:\s+object-fit=(contain|cover|fill|none|scale-down))?}/
|
|
3588
|
+
);
|
|
3491
3589
|
c !== null && (n.attrSet("width", c[1] ?? ""), c[2] !== void 0 && n.attrSet("height", c[2]), c[3] !== void 0 && n.attrSet("data-image-object-fit", c[3]), t.content = t.content.slice(c[0].length));
|
|
3492
3590
|
}
|
|
3493
3591
|
if (n?.type === "link_close" && t?.type === "text") {
|
|
@@ -3503,17 +3601,20 @@ function Rr(u) {
|
|
|
3503
3601
|
}
|
|
3504
3602
|
}
|
|
3505
3603
|
}
|
|
3506
|
-
function
|
|
3604
|
+
function Kr(u) {
|
|
3507
3605
|
u.core.ruler.after("renderer_extensions", "quote_links", (e) => {
|
|
3508
3606
|
for (let n = 0; n < e.tokens.length; n += 1) {
|
|
3509
3607
|
const t = e.tokens[n], c = e.tokens[n + 1], r = e.tokens[n + 2], i = e.tokens[n + 3];
|
|
3510
|
-
if (t?.type !== "blockquote_open" || c?.type !== "paragraph_open" || r?.type !== "inline" || i?.type !== "paragraph_close")
|
|
3608
|
+
if (t?.type !== "blockquote_open" || c?.type !== "paragraph_open" || r?.type !== "inline" || i?.type !== "paragraph_close")
|
|
3609
|
+
continue;
|
|
3511
3610
|
const o = r.content.match(/^\[([^\]]+)]\(([^)]+)\)\{data-quotelink=true}$/);
|
|
3512
|
-
o === null || e.tokens.findIndex(
|
|
3611
|
+
o === null || e.tokens.findIndex(
|
|
3612
|
+
(s, l) => l > n && s.type === "blockquote_close"
|
|
3613
|
+
) < 0 || (t.attrSet("cite", o[2] ?? ""), t.attrSet("data-content", o[1] ?? ""), t.attrSet("data-quote-link", ""), e.tokens.splice(n + 1, 3));
|
|
3513
3614
|
}
|
|
3514
3615
|
});
|
|
3515
3616
|
}
|
|
3516
|
-
function
|
|
3617
|
+
function Yr(u) {
|
|
3517
3618
|
u.renderer.rules.inline_math = (c, r, i, o) => e0(c[r]?.content ?? "", !1, o.features), u.renderer.rules.math_block = (c, r, i, o) => e0(c[r]?.content ?? "", !0, o.features), u.renderer.rules.mermaid = (c, r) => `<div data-mermaid aria-busy="true"><pre>${P(c[r]?.content ?? "")}</pre></div>
|
|
3518
3619
|
`, u.renderer.rules.yfm_html_block = (c, r) => `<p data-yfm-html>:::html<br>${P(c[r]?.content ?? "")}<br>:::</p>
|
|
3519
3620
|
`, u.renderer.rules.directive = (c, r) => {
|
|
@@ -3522,19 +3623,19 @@ function Lr(u) {
|
|
|
3522
3623
|
` : `<div data-directive="${P(i?.info || "note")}">${P(i?.content ?? "")}</div>
|
|
3523
3624
|
`;
|
|
3524
3625
|
}, u.renderer.rules.html_block = (c, r) => `<div data-raw-html>${P(c[r]?.content ?? "")}</div>
|
|
3525
|
-
`, u.renderer.rules.html_inline = (c, r) =>
|
|
3626
|
+
`, u.renderer.rules.html_inline = (c, r) => ut(c[r]?.content ?? "");
|
|
3526
3627
|
const e = u.renderer.rules.image;
|
|
3527
3628
|
u.renderer.rules.image = (c, r, i, o, a) => {
|
|
3528
|
-
const s = c[r],
|
|
3529
|
-
return
|
|
3629
|
+
const s = c[r], l = s?.attrGet("width"), f = s?.attrGet("height"), b = s?.attrGet("data-image-object-fit"), h = [];
|
|
3630
|
+
return l != null && /^\d+%?$/.test(l) && h.push(`width: ${l.endsWith("%") ? l : `${l}px`}`), f != null && /^\d+$/.test(f) && h.push(`height: ${f}px`), b != null && h.push(`object-fit: ${b}`), h.length > 0 && s?.attrSet("style", h.join("; ")), e?.(c, r, i, o, a) ?? a.renderToken(c, r, i);
|
|
3530
3631
|
};
|
|
3531
3632
|
const n = u.renderer.rules.heading_open ?? ((c, r, i, o, a) => a.renderToken(c, r, i)), t = u.renderer.rules.heading_close ?? ((c, r, i, o, a) => a.renderToken(c, r, i));
|
|
3532
3633
|
u.renderer.rules.heading_open = (c, r, i, o, a) => {
|
|
3533
|
-
const s = c[r],
|
|
3634
|
+
const s = c[r], l = Number(s?.tag.slice(1)) || 1, f = o.foldingHeadings ??= [];
|
|
3534
3635
|
let b = "";
|
|
3535
|
-
for (; (
|
|
3536
|
-
|
|
3537
|
-
return s?.attrGet("data-folding") === "true" && (
|
|
3636
|
+
for (; (f.at(-1) ?? 0) >= l; )
|
|
3637
|
+
f.pop(), b += "</details>";
|
|
3638
|
+
return s?.attrGet("data-folding") === "true" && (f.push(l), b += "<details data-folding-section open><summary>"), b + n(c, r, i, o, a);
|
|
3538
3639
|
}, u.renderer.rules.heading_close = (c, r, i, o, a) => {
|
|
3539
3640
|
const s = c[r - 2];
|
|
3540
3641
|
return t(c, r, i, o, a) + (s?.attrGet("data-folding") === "true" ? "</summary>" : "");
|
|
@@ -3552,7 +3653,7 @@ $$` : `$${u}$`)}</${e ? "pre" : "span"}>`;
|
|
|
3552
3653
|
${u}
|
|
3553
3654
|
$$` : `$${u}$`)}</${e ? "pre" : "span"}>`;
|
|
3554
3655
|
}
|
|
3555
|
-
function
|
|
3656
|
+
function ut(u) {
|
|
3556
3657
|
if (/^<\/?u>$/.test(u) || u === "</span>") return u;
|
|
3557
3658
|
const e = u.match(/^<span style="color:\s*([^";<>]+)">$/i)?.[1]?.trim();
|
|
3558
3659
|
return e !== void 0 && /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\([^;<>]+\)|[a-z]+)$/i.test(e) ? `<span style="color: ${P(e)}">` : P(u);
|
|
@@ -3562,16 +3663,16 @@ function n0(u, e) {
|
|
|
3562
3663
|
for (let t = e - 1; t >= 0 && u[t] === "\\"; t -= 1) n += 1;
|
|
3563
3664
|
return n % 2 === 1;
|
|
3564
3665
|
}
|
|
3565
|
-
function
|
|
3566
|
-
const u = new
|
|
3567
|
-
return
|
|
3666
|
+
function et() {
|
|
3667
|
+
const u = new T("commonmark", { html: !0 }).enable("table").enable("strikethrough").use($r).use(Mr).use(Rr).use(Br);
|
|
3668
|
+
return Wr(u), Jr(u), Qr(u), Kr(u), Vr(u), Nr(u), Yr(u), u;
|
|
3568
3669
|
}
|
|
3569
|
-
const
|
|
3570
|
-
function
|
|
3571
|
-
const n = { features: e }, t =
|
|
3670
|
+
const nt = et();
|
|
3671
|
+
function rt(u, e = {}) {
|
|
3672
|
+
const n = { features: e }, t = nt.render(u, n), c = n.foldingHeadings?.length ?? 0;
|
|
3572
3673
|
return t + "</details>".repeat(c);
|
|
3573
3674
|
}
|
|
3574
|
-
const
|
|
3675
|
+
const tt = ["innerHTML"], ct = /* @__PURE__ */ I0({
|
|
3575
3676
|
name: "MarkdownRenderer",
|
|
3576
3677
|
__name: "MarkdownRenderer",
|
|
3577
3678
|
props: {
|
|
@@ -3580,29 +3681,29 @@ const Ur = ["innerHTML"], Zr = /* @__PURE__ */ T0({
|
|
|
3580
3681
|
features: {}
|
|
3581
3682
|
},
|
|
3582
3683
|
setup(u) {
|
|
3583
|
-
const e = u, n =
|
|
3684
|
+
const e = u, n = q0(), t = R0()?.appContext, c = P0(() => rt(e.content, e.features));
|
|
3584
3685
|
let r = 0, i = !1, o = [];
|
|
3585
3686
|
function a() {
|
|
3586
|
-
for (const
|
|
3687
|
+
for (const f of o) Iu(null, f);
|
|
3587
3688
|
o = [];
|
|
3588
3689
|
}
|
|
3589
3690
|
function s() {
|
|
3590
3691
|
if (a(), e.directiveComponents !== void 0)
|
|
3591
|
-
for (const
|
|
3592
|
-
const b =
|
|
3692
|
+
for (const f of n.value?.querySelectorAll("[data-directive]") ?? []) {
|
|
3693
|
+
const b = f.dataset.directive ?? "", h = e.directiveComponents[b];
|
|
3593
3694
|
if (h === void 0) continue;
|
|
3594
3695
|
const p = {
|
|
3595
|
-
content:
|
|
3696
|
+
content: f.textContent ?? "",
|
|
3596
3697
|
name: b,
|
|
3597
3698
|
readonly: !0,
|
|
3598
3699
|
updateContent: () => {
|
|
3599
3700
|
}
|
|
3600
|
-
}, x =
|
|
3601
|
-
x.appContext = t ?? null,
|
|
3701
|
+
}, x = Z0(h, p);
|
|
3702
|
+
x.appContext = t ?? null, Iu(x, f), o.push(f);
|
|
3602
3703
|
}
|
|
3603
3704
|
}
|
|
3604
|
-
async function
|
|
3605
|
-
const
|
|
3705
|
+
async function l() {
|
|
3706
|
+
const f = ++r, b = [...n.value?.querySelectorAll("[data-mermaid]") ?? []];
|
|
3606
3707
|
if (b.length === 0 || e.features?.mermaid === void 0) return;
|
|
3607
3708
|
let h;
|
|
3608
3709
|
try {
|
|
@@ -3611,39 +3712,42 @@ const Ur = ["innerHTML"], Zr = /* @__PURE__ */ T0({
|
|
|
3611
3712
|
return;
|
|
3612
3713
|
}
|
|
3613
3714
|
for (const d of b) {
|
|
3614
|
-
if (i ||
|
|
3715
|
+
if (i || f !== r || !d.isConnected) return;
|
|
3615
3716
|
const p = d.querySelector("pre")?.textContent ?? "";
|
|
3616
3717
|
try {
|
|
3617
|
-
const { bindFunctions: x, svg: D } = await h.render(
|
|
3618
|
-
|
|
3718
|
+
const { bindFunctions: x, svg: D } = await h.render(
|
|
3719
|
+
`markdown-renderer-mermaid-${f}-${b.indexOf(d)}`,
|
|
3720
|
+
p
|
|
3721
|
+
);
|
|
3722
|
+
if (i || f !== r || !d.isConnected) return;
|
|
3619
3723
|
d.innerHTML = D, d.removeAttribute("aria-busy"), x?.(d);
|
|
3620
3724
|
} catch {
|
|
3621
3725
|
d.removeAttribute("aria-busy"), d.setAttribute("data-mermaid-error", "");
|
|
3622
3726
|
}
|
|
3623
3727
|
}
|
|
3624
3728
|
}
|
|
3625
|
-
return
|
|
3729
|
+
return L0(
|
|
3626
3730
|
() => [e.content, e.directiveComponents],
|
|
3627
3731
|
async () => {
|
|
3628
|
-
r += 1, await
|
|
3732
|
+
r += 1, await O0(), s(), await l();
|
|
3629
3733
|
}
|
|
3630
|
-
),
|
|
3631
|
-
s(),
|
|
3632
|
-
}),
|
|
3734
|
+
), N0(() => {
|
|
3735
|
+
s(), l();
|
|
3736
|
+
}), j0(() => {
|
|
3633
3737
|
i = !0, r += 1, a();
|
|
3634
|
-
}), (
|
|
3738
|
+
}), (f, b) => (H0(), U0("div", {
|
|
3635
3739
|
ref_key: "root",
|
|
3636
3740
|
ref: n,
|
|
3637
3741
|
class: "markdown-renderer",
|
|
3638
3742
|
innerHTML: c.value
|
|
3639
|
-
}, null, 8,
|
|
3743
|
+
}, null, 8, tt));
|
|
3640
3744
|
}
|
|
3641
|
-
}),
|
|
3745
|
+
}), ot = (u, e) => {
|
|
3642
3746
|
const n = u.__vccOpts || u;
|
|
3643
3747
|
for (const [t, c] of e)
|
|
3644
3748
|
n[t] = c;
|
|
3645
3749
|
return n;
|
|
3646
|
-
},
|
|
3750
|
+
}, at = /* @__PURE__ */ ot(ct, [["__scopeId", "data-v-1e6eb72e"]]);
|
|
3647
3751
|
export {
|
|
3648
|
-
|
|
3752
|
+
at as MarkdownRenderer
|
|
3649
3753
|
};
|