@opentiny/tiny-robot 0.3.0-alpha.14 → 0.3.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-group/index.js +41 -44
- package/dist/bubble/index.js +1163 -1112
- package/dist/close.js +1 -1
- package/dist/container/index.js +30 -30
- package/dist/dropdown-menu/index.js +64 -151
- package/dist/feedback/index.js +52 -52
- package/dist/flow-layout-buttons/index.js +14 -17
- package/dist/history/index.js +49 -49
- package/dist/icon-button/index.js +19 -18
- package/dist/index.d.ts +911 -1152
- package/dist/index.js +77 -206
- package/dist/index2.js +530 -610
- package/dist/index3.js +297 -678
- package/dist/index4.js +622 -146
- package/dist/index5.js +2067 -227
- package/dist/index6.js +4653 -2256
- package/dist/question/index.js +35 -35
- package/dist/sender/index.js +1189 -1094
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +61 -61
- package/dist/suggestion-pills/index.js +155 -131
- package/dist/suggestion-popover/index.js +219 -250
- package/dist/tiny-robot-svgs.js +180 -679
- package/dist/utils.js +13 -8
- package/package.json +3 -10
- package/dist/attachments/index.js +0 -526
- package/dist/base-popper/index.js +0 -4
- package/dist/drag-overlay/index.js +0 -57
- package/dist/index7.js +0 -6654
- package/dist/mcp-server-picker/index.js +0 -29972
- package/dist/useSlotRefs.js +0 -36
package/dist/bubble/index.js
CHANGED
|
@@ -1,236 +1,449 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as
|
|
1
|
+
var bn = Object.defineProperty;
|
|
2
|
+
var _n = (u, e, t) => e in u ? bn(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t;
|
|
3
|
+
var Iu = (u, e, t) => _n(u, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { defineComponent as ku, ref as Se, createElementBlock as M, openBlock as T, createElementVNode as I, createVNode as ee, toDisplayString as xu, unref as uu, normalizeClass as mu, withDirectives as Ct, vShow as At, computed as Ou, useCssModule as mn, createCommentVNode as Nu, createTextVNode as xn, inject as j0, useAttrs as gn, createBlock as ru, resolveDynamicComponent as Au, mergeProps as Pu, useCssVars as kn, useSlots as En, renderSlot as Ae, Fragment as te, renderList as ue, normalizeProps as n0, watch as Cn, createSlots as G0, withCtx as W0, guardReactiveProps as An, h as Z0, provide as V0 } from "vue";
|
|
5
5
|
import { _ as Dn } from "../loading.js";
|
|
6
6
|
import { t as yn } from "../utils.js";
|
|
7
|
-
import {
|
|
8
|
-
import { _ as
|
|
9
|
-
import { u as
|
|
10
|
-
class
|
|
7
|
+
import { l as Dt, M as Fn, n as Tn, z as Sn } from "../tiny-robot-svgs.js";
|
|
8
|
+
import { _ as Uu } from "../_plugin-vue_export-helper.js";
|
|
9
|
+
import { u as wn } from "../index2.js";
|
|
10
|
+
class s0 {
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const vn = { class: "tr-bubble__step-text" }, Rn = { class: "tr-bubble__step-text-title" }, Mn = { class: "tr-bubble__step-text-content-wrapper" }, In = /* @__PURE__ */ ku({
|
|
13
13
|
__name: "collapsible-text",
|
|
14
14
|
props: {
|
|
15
15
|
title: {},
|
|
16
16
|
content: {}
|
|
17
17
|
},
|
|
18
18
|
setup(u) {
|
|
19
|
-
const e = u, t =
|
|
20
|
-
return (n, r) => (
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class:
|
|
19
|
+
const e = u, t = Se(!1);
|
|
20
|
+
return (n, r) => (T(), M("div", vn, [
|
|
21
|
+
I("div", Rn, [
|
|
22
|
+
I("span", null, xu(e.title), 1),
|
|
23
|
+
ee(uu(Dt), {
|
|
24
|
+
class: mu(["expand-icon", { "rotate-180": t.value }]),
|
|
25
25
|
onClick: r[0] || (r[0] = (c) => t.value = !t.value)
|
|
26
26
|
}, null, 8, ["class"])
|
|
27
27
|
]),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
[
|
|
28
|
+
I("div", Mn, [
|
|
29
|
+
Ct(I("div", { class: "tr-bubble__step-text-content" }, xu(e.content), 513), [
|
|
30
|
+
[At, !t.value]
|
|
31
31
|
])
|
|
32
32
|
])
|
|
33
33
|
]));
|
|
34
34
|
}
|
|
35
|
-
}),
|
|
35
|
+
}), Ln = /* @__PURE__ */ Uu(In, [["__scopeId", "data-v-08a61852"]]), On = Ln, Nn = { class: "tr-bubble__text" }, Pn = /* @__PURE__ */ ku({
|
|
36
36
|
__name: "text",
|
|
37
37
|
props: {
|
|
38
38
|
content: {}
|
|
39
39
|
},
|
|
40
40
|
setup(u) {
|
|
41
41
|
const e = u;
|
|
42
|
-
return (t, n) => (
|
|
42
|
+
return (t, n) => (T(), M("span", Nn, xu(e.content), 1));
|
|
43
43
|
}
|
|
44
|
-
}),
|
|
44
|
+
}), Bn = /* @__PURE__ */ Uu(Pn, [["__scopeId", "data-v-44822584"]]), l0 = Bn, zn = { class: "tr-bubble__step-tool" }, qn = { class: "tr-bubble__step-tool-header" }, Un = { class: "tr-bubble__step-tool-left" }, Hn = { class: "tr-bubble__step-tool-title" }, $n = { class: "tr-bubble__step-tool-name" }, jn = { class: "tr-bubble__step-tool-expand" }, Gn = {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: "tr-bubble__step-tool-params"
|
|
47
|
-
},
|
|
47
|
+
}, Wn = ["innerHTML"], Zn = /* @__PURE__ */ ku({
|
|
48
48
|
__name: "tool",
|
|
49
49
|
props: {
|
|
50
50
|
name: {},
|
|
51
51
|
status: {},
|
|
52
|
-
|
|
52
|
+
params: {},
|
|
53
53
|
formatPretty: { type: Boolean }
|
|
54
54
|
},
|
|
55
55
|
setup(u) {
|
|
56
|
-
const e = u, t =
|
|
57
|
-
|
|
58
|
-
["success", { text: "已调用", icon: V0 }],
|
|
59
|
-
["failed", { text: "调用失败", icon: wn }],
|
|
60
|
-
["cancelled", { text: "已取消", icon: vn }]
|
|
61
|
-
]), r = Eu(() => n.get(e.status) || { text: "", icon: V0 }), c = mn(), i = (o) => {
|
|
62
|
-
if (!o)
|
|
56
|
+
const e = u, t = Se(!1), n = Ou(() => e.status === "running" ? "正在调用" : e.status === "success" ? "已调用" : e.status === "failed" ? "调用失败" : "已取消"), r = mn(), c = (i) => {
|
|
57
|
+
if (!i)
|
|
63
58
|
return "";
|
|
64
|
-
let
|
|
65
|
-
const
|
|
59
|
+
let o = "";
|
|
60
|
+
const a = e.formatPretty ? 2 : 0;
|
|
66
61
|
try {
|
|
67
|
-
typeof
|
|
68
|
-
} catch (
|
|
69
|
-
console.warn(
|
|
62
|
+
typeof i == "string" ? o = JSON.stringify(JSON.parse(i), null, a) : o = JSON.stringify(i, null, a);
|
|
63
|
+
} catch (s) {
|
|
64
|
+
console.warn(s);
|
|
70
65
|
}
|
|
71
|
-
return
|
|
66
|
+
return o = o.replace(
|
|
72
67
|
/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g,
|
|
73
|
-
(
|
|
74
|
-
let
|
|
75
|
-
return /^"/.test(
|
|
68
|
+
(s) => {
|
|
69
|
+
let f = "number";
|
|
70
|
+
return /^"/.test(s) ? f = /:$/.test(s) ? "key" : "string" : /true|false/.test(s) ? f = "boolean" : /null/.test(s) && (f = "null"), `<span class="${r[f]}">${s}</span>`;
|
|
76
71
|
}
|
|
77
|
-
),
|
|
72
|
+
), o;
|
|
78
73
|
};
|
|
79
|
-
return (
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
xn(Pu(r.value.text) + " ", 1),
|
|
87
|
-
Z("span", Gn, Pu(e.name), 1)
|
|
74
|
+
return (i, o) => (T(), M("div", zn, [
|
|
75
|
+
I("div", qn, [
|
|
76
|
+
I("div", Un, [
|
|
77
|
+
ee(uu(Fn), { class: "tr-bubble__step-tool-icon" }),
|
|
78
|
+
I("span", Hn, [
|
|
79
|
+
xn(xu(n.value) + " ", 1),
|
|
80
|
+
I("span", $n, xu(e.name), 1)
|
|
88
81
|
])
|
|
89
82
|
]),
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
class:
|
|
93
|
-
onClick:
|
|
83
|
+
I("div", jn, [
|
|
84
|
+
ee(uu(Tn), {
|
|
85
|
+
class: mu(["expand-icon", { "-rotate-90": t.value }]),
|
|
86
|
+
onClick: o[0] || (o[0] = (a) => t.value = !t.value)
|
|
94
87
|
}, null, 8, ["class"])
|
|
95
88
|
])
|
|
96
89
|
]),
|
|
97
|
-
t.value ? (
|
|
98
|
-
|
|
99
|
-
|
|
90
|
+
t.value ? Nu("", !0) : (T(), M("div", Gn, [
|
|
91
|
+
o[1] || (o[1] = I("hr", { class: "tr-bubble__step-tool-hr" }, null, -1)),
|
|
92
|
+
I("div", {
|
|
100
93
|
class: "tr-bubble__step-tool-params-content",
|
|
101
|
-
innerHTML:
|
|
102
|
-
}, null, 8,
|
|
103
|
-
]))
|
|
94
|
+
innerHTML: c(e.params)
|
|
95
|
+
}, null, 8, Wn)
|
|
96
|
+
]))
|
|
104
97
|
]));
|
|
105
98
|
}
|
|
106
|
-
}),
|
|
107
|
-
number:
|
|
108
|
-
key:
|
|
109
|
-
string:
|
|
110
|
-
boolean:
|
|
99
|
+
}), Vn = "_number_jtifp_2", Yn = "_key_jtifp_6", Xn = "_string_jtifp_10", Jn = "_boolean_jtifp_14", Qn = {
|
|
100
|
+
number: Vn,
|
|
101
|
+
key: Yn,
|
|
102
|
+
string: Xn,
|
|
103
|
+
boolean: Jn,
|
|
111
104
|
null: "_null_jtifp_18"
|
|
112
|
-
},
|
|
113
|
-
$style:
|
|
114
|
-
},
|
|
115
|
-
["text",
|
|
116
|
-
["tool",
|
|
117
|
-
["collapsible-text",
|
|
118
|
-
]),
|
|
105
|
+
}, Kn = {
|
|
106
|
+
$style: Qn
|
|
107
|
+
}, ur = /* @__PURE__ */ Uu(Zn, [["__cssModules", Kn], ["__scopeId", "data-v-95e13117"]]), er = ur, yt = /* @__PURE__ */ new Map([
|
|
108
|
+
["text", l0],
|
|
109
|
+
["tool", er],
|
|
110
|
+
["collapsible-text", On]
|
|
111
|
+
]), Ft = Symbol("bubbleMessageRendererMap"), Tt = Symbol("bubbleMessageFallbackRenderer"), tr = /* @__PURE__ */ ku({
|
|
112
|
+
inheritAttrs: !1,
|
|
113
|
+
__name: "Message",
|
|
114
|
+
props: {
|
|
115
|
+
type: {}
|
|
116
|
+
},
|
|
117
|
+
setup(u) {
|
|
118
|
+
const e = j0(Ft, yt), t = j0(Tt, l0), n = u, r = gn(), c = (s) => {
|
|
119
|
+
const f = { ...r, ...n }, d = e.get(s) || t;
|
|
120
|
+
return typeof d == "function" ? { isComponent: !1, vNodeOrComponent: d(f) } : d instanceof s0 ? { isComponent: !1, vNodeOrComponent: d.render(f) } : typeof d == "object" && "component" in d ? { isComponent: !0, vNodeOrComponent: d.component, defaultProps: d.defaultProps } : { isComponent: !0, vNodeOrComponent: d };
|
|
121
|
+
}, { isComponent: i, vNodeOrComponent: o, defaultProps: a } = c(n.type);
|
|
122
|
+
return (s, f) => uu(i) ? (T(), ru(Au(uu(o)), Pu({ key: 0 }, { ...uu(a), ...n, ...uu(r) }, {
|
|
123
|
+
"data-type": n.type
|
|
124
|
+
}), null, 16, ["data-type"])) : (T(), ru(Au(uu(o)), {
|
|
125
|
+
key: 1,
|
|
126
|
+
"data-type": n.type
|
|
127
|
+
}, null, 8, ["data-type"]));
|
|
128
|
+
}
|
|
129
|
+
}), nr = {
|
|
130
|
+
key: 0,
|
|
131
|
+
class: "tr-bubble__avatar"
|
|
132
|
+
}, rr = { class: "tr-bubble__content-wrapper" }, cr = {
|
|
133
|
+
key: 0,
|
|
134
|
+
class: "tr-bubble__content-messages"
|
|
135
|
+
}, or = {
|
|
136
|
+
key: 1,
|
|
137
|
+
class: "tr-bubble__body-text"
|
|
138
|
+
}, ir = {
|
|
139
|
+
key: 2,
|
|
140
|
+
class: "tr-bubble__aborted"
|
|
141
|
+
}, ar = {
|
|
142
|
+
key: 3,
|
|
143
|
+
class: "tr-bubble__footer"
|
|
144
|
+
}, sr = /* @__PURE__ */ ku({
|
|
145
|
+
__name: "Bubble",
|
|
146
|
+
props: {
|
|
147
|
+
content: { default: "" },
|
|
148
|
+
messages: {},
|
|
149
|
+
id: {},
|
|
150
|
+
role: {},
|
|
151
|
+
loading: { type: Boolean },
|
|
152
|
+
aborted: { type: Boolean },
|
|
153
|
+
placement: { default: "start" },
|
|
154
|
+
avatar: {},
|
|
155
|
+
shape: { default: "corner" },
|
|
156
|
+
contentRenderer: {},
|
|
157
|
+
hidden: { type: Boolean },
|
|
158
|
+
maxWidth: { default: "80%" }
|
|
159
|
+
},
|
|
160
|
+
setup(u) {
|
|
161
|
+
kn((i) => ({
|
|
162
|
+
"555751ca": uu(yn)(e.maxWidth)
|
|
163
|
+
}));
|
|
164
|
+
const e = u, t = En(), n = Ou(() => {
|
|
165
|
+
const i = e.contentRenderer;
|
|
166
|
+
return i ? typeof i == "function" ? { isComponent: !1, vNodeOrComponent: i(e) } : i instanceof s0 ? { isComponent: !1, vNodeOrComponent: i.render(e) } : typeof i == "object" && "component" in i ? { isComponent: !0, vNodeOrComponent: i.component, defaultProps: i.defaultProps } : { isComponent: !0, vNodeOrComponent: i } : null;
|
|
167
|
+
}), r = Ou(() => e.content), c = Ou(() => e.placement === "start");
|
|
168
|
+
return (i, o) => {
|
|
169
|
+
var a;
|
|
170
|
+
return T(), M("div", {
|
|
171
|
+
class: mu([
|
|
172
|
+
"tr-bubble",
|
|
173
|
+
{
|
|
174
|
+
"placement-start": c.value,
|
|
175
|
+
"placement-end": !c.value
|
|
176
|
+
}
|
|
177
|
+
])
|
|
178
|
+
}, [
|
|
179
|
+
e.avatar ? (T(), M("div", nr, [
|
|
180
|
+
(T(), ru(Au(e.avatar)))
|
|
181
|
+
])) : Nu("", !0),
|
|
182
|
+
I("div", rr, [
|
|
183
|
+
e.loading ? Ae(i.$slots, "loading", {
|
|
184
|
+
key: 0,
|
|
185
|
+
bubbleProps: e
|
|
186
|
+
}, () => [
|
|
187
|
+
I("div", {
|
|
188
|
+
class: mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
|
|
189
|
+
}, o[0] || (o[0] = [
|
|
190
|
+
I("img", {
|
|
191
|
+
src: Dn,
|
|
192
|
+
alt: "loading",
|
|
193
|
+
class: "tr-bubble__loading"
|
|
194
|
+
}, null, -1)
|
|
195
|
+
]), 2)
|
|
196
|
+
], !0) : (T(), M("div", {
|
|
197
|
+
key: 1,
|
|
198
|
+
class: mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
|
|
199
|
+
}, [
|
|
200
|
+
(a = e.messages) != null && a.length ? (T(), M("div", cr, [
|
|
201
|
+
(T(!0), M(te, null, ue(e.messages, (s, f) => (T(), ru(tr, Pu({ key: f }, { ref_for: !0 }, s), null, 16))), 128))
|
|
202
|
+
])) : Ae(i.$slots, "default", {
|
|
203
|
+
key: 1,
|
|
204
|
+
bubbleProps: e
|
|
205
|
+
}, () => [
|
|
206
|
+
n.value ? (T(), M(te, { key: 0 }, [
|
|
207
|
+
n.value.isComponent ? (T(), ru(Au(n.value.vNodeOrComponent), n0(Pu({ key: 0 }, { ...n.value.defaultProps, ...e })), null, 16)) : (T(), ru(Au(n.value.vNodeOrComponent), { key: 1 }))
|
|
208
|
+
], 64)) : (T(), M("span", or, xu(r.value), 1))
|
|
209
|
+
], !0),
|
|
210
|
+
e.aborted ? (T(), M("span", ir, "(用户停止)")) : Nu("", !0),
|
|
211
|
+
t.footer ? (T(), M("div", ar, [
|
|
212
|
+
Ae(i.$slots, "footer", { bubbleProps: e }, void 0, !0)
|
|
213
|
+
])) : Nu("", !0)
|
|
214
|
+
], 2))
|
|
215
|
+
])
|
|
216
|
+
], 2);
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
}), Du = /* @__PURE__ */ Uu(sr, [["__scopeId", "data-v-7e75e225"]]), lr = /* @__PURE__ */ ku({
|
|
220
|
+
__name: "BubbleList",
|
|
221
|
+
props: {
|
|
222
|
+
items: {},
|
|
223
|
+
roles: {},
|
|
224
|
+
loading: { type: Boolean },
|
|
225
|
+
loadingRole: {},
|
|
226
|
+
autoScroll: { type: Boolean }
|
|
227
|
+
},
|
|
228
|
+
setup(u) {
|
|
229
|
+
const e = u, t = Se(null), { y: n } = wn(t, {
|
|
230
|
+
behavior: "smooth",
|
|
231
|
+
throttle: 100
|
|
232
|
+
}), r = Ou(() => e.items.at(-1));
|
|
233
|
+
Cn([() => e.items.length, () => {
|
|
234
|
+
var a;
|
|
235
|
+
return (a = r.value) == null ? void 0 : a.content;
|
|
236
|
+
}], () => {
|
|
237
|
+
!e.autoScroll || !t.value || (n.value = t.value.scrollHeight);
|
|
238
|
+
});
|
|
239
|
+
const c = (a) => {
|
|
240
|
+
var p;
|
|
241
|
+
const s = a.role ? ((p = e.roles) == null ? void 0 : p[a.role]) || {} : {}, { slots: f, ...d } = s, { slots: _, ...h } = a;
|
|
242
|
+
return { ...d, ...h };
|
|
243
|
+
}, i = (a) => {
|
|
244
|
+
var f;
|
|
245
|
+
return { ...(a.role ? ((f = e.roles) == null ? void 0 : f[a.role]) || {} : {}).slots, ...a.slots };
|
|
246
|
+
}, o = Ou(() => {
|
|
247
|
+
var f;
|
|
248
|
+
if (!(e.loading && e.loadingRole && ((f = e.roles) != null && f[e.loadingRole])))
|
|
249
|
+
return null;
|
|
250
|
+
const { slots: a, ...s } = e.roles[e.loadingRole];
|
|
251
|
+
return { props: { ...s, loading: !0 }, slots: a };
|
|
252
|
+
});
|
|
253
|
+
return (a, s) => (T(), M("div", {
|
|
254
|
+
class: "tr-bubble-list",
|
|
255
|
+
ref_key: "scrollContainerRef",
|
|
256
|
+
ref: t
|
|
257
|
+
}, [
|
|
258
|
+
(T(!0), M(te, null, ue(e.items, (f, d) => (T(), M(te, {
|
|
259
|
+
key: f.id || d
|
|
260
|
+
}, [
|
|
261
|
+
f.hidden ? Nu("", !0) : (T(), ru(Du, Pu({
|
|
262
|
+
key: 0,
|
|
263
|
+
ref_for: !0
|
|
264
|
+
}, c(f)), G0({ _: 2 }, [
|
|
265
|
+
ue(i(f), (_, h) => ({
|
|
266
|
+
name: h,
|
|
267
|
+
fn: W0((p) => [
|
|
268
|
+
(T(), ru(Au(_), Pu({ ref_for: !0 }, p), null, 16))
|
|
269
|
+
])
|
|
270
|
+
}))
|
|
271
|
+
]), 1040))
|
|
272
|
+
], 64))), 128)),
|
|
273
|
+
o.value ? (T(), ru(Du, n0(Pu({ key: 0 }, o.value.props)), G0({ _: 2 }, [
|
|
274
|
+
ue(o.value.slots, (f, d) => ({
|
|
275
|
+
name: d,
|
|
276
|
+
fn: W0((_) => [
|
|
277
|
+
(T(), ru(Au(f), n0(An(_)), null, 16))
|
|
278
|
+
])
|
|
279
|
+
}))
|
|
280
|
+
]), 1040)) : Nu("", !0)
|
|
281
|
+
], 512));
|
|
282
|
+
}
|
|
283
|
+
}), ne = /* @__PURE__ */ Uu(lr, [["__scopeId", "data-v-24c3a7d6"]]), fr = { class: "tr-chain-item__header" }, dr = { class: "tr-chain-item__icon" }, pr = { class: "tr-chain-item__title" }, hr = { class: "tr-chain-item__body" }, br = ["innerHTML"], _r = /* @__PURE__ */ ku({
|
|
284
|
+
__name: "chain",
|
|
285
|
+
props: {
|
|
286
|
+
items: {},
|
|
287
|
+
html: { type: Boolean, default: !0 },
|
|
288
|
+
contentClass: {},
|
|
289
|
+
contentRenderer: {}
|
|
290
|
+
},
|
|
291
|
+
setup(u) {
|
|
292
|
+
const e = u, t = Se({}), n = (c) => {
|
|
293
|
+
t.value[c] = !t.value[c];
|
|
294
|
+
}, r = (c) => e.contentRenderer ? e.contentRenderer(c) : c;
|
|
295
|
+
return (c, i) => (T(), M("div", {
|
|
296
|
+
class: "tr-chain-list",
|
|
297
|
+
key: e.items.length
|
|
298
|
+
}, [
|
|
299
|
+
(T(!0), M(te, null, ue(e.items, (o, a) => (T(), M("div", {
|
|
300
|
+
class: "tr-chain-item",
|
|
301
|
+
key: o.content
|
|
302
|
+
}, [
|
|
303
|
+
I("div", fr, [
|
|
304
|
+
I("div", dr, [
|
|
305
|
+
ee(uu(Sn))
|
|
306
|
+
]),
|
|
307
|
+
I("div", pr, xu(o.title), 1),
|
|
308
|
+
ee(uu(Dt), {
|
|
309
|
+
class: mu(["expand-icon", { "rotate-180": t.value[a] }]),
|
|
310
|
+
onClick: (s) => n(a)
|
|
311
|
+
}, null, 8, ["class", "onClick"])
|
|
312
|
+
]),
|
|
313
|
+
Ct(I("div", hr, [
|
|
314
|
+
i[0] || (i[0] = I("div", { class: "tr-chain-item__chain-line-wrapper" }, [
|
|
315
|
+
I("div", { class: "tr-chain-item__chain-line" })
|
|
316
|
+
], -1)),
|
|
317
|
+
e.html ? (T(), M("div", {
|
|
318
|
+
key: 1,
|
|
319
|
+
class: mu(["tr-chain-item__content", e.contentClass]),
|
|
320
|
+
innerHTML: r(o.content)
|
|
321
|
+
}, null, 10, br)) : (T(), M("div", {
|
|
322
|
+
key: 0,
|
|
323
|
+
class: mu(["tr-chain-item__content", e.contentClass])
|
|
324
|
+
}, xu(r(o.content)), 3))
|
|
325
|
+
], 512), [
|
|
326
|
+
[At, !t.value[a]]
|
|
327
|
+
])
|
|
328
|
+
]))), 128))
|
|
329
|
+
]));
|
|
330
|
+
}
|
|
331
|
+
}), mr = /* @__PURE__ */ Uu(_r, [["__scopeId", "data-v-145547c7"]]), Ni = mr;
|
|
119
332
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
120
333
|
const {
|
|
121
|
-
entries:
|
|
334
|
+
entries: St,
|
|
122
335
|
setPrototypeOf: Y0,
|
|
123
|
-
isFrozen:
|
|
124
|
-
getPrototypeOf:
|
|
125
|
-
getOwnPropertyDescriptor:
|
|
336
|
+
isFrozen: xr,
|
|
337
|
+
getPrototypeOf: gr,
|
|
338
|
+
getOwnPropertyDescriptor: kr
|
|
126
339
|
} = Object;
|
|
127
340
|
let {
|
|
128
|
-
freeze:
|
|
341
|
+
freeze: G,
|
|
129
342
|
seal: J,
|
|
130
|
-
create:
|
|
343
|
+
create: wt
|
|
131
344
|
} = Object, {
|
|
132
|
-
apply:
|
|
133
|
-
construct:
|
|
345
|
+
apply: r0,
|
|
346
|
+
construct: c0
|
|
134
347
|
} = typeof Reflect < "u" && Reflect;
|
|
135
|
-
|
|
348
|
+
G || (G = function(e) {
|
|
136
349
|
return e;
|
|
137
350
|
});
|
|
138
351
|
J || (J = function(e) {
|
|
139
352
|
return e;
|
|
140
353
|
});
|
|
141
|
-
|
|
354
|
+
r0 || (r0 = function(e, t, n) {
|
|
142
355
|
return e.apply(t, n);
|
|
143
356
|
});
|
|
144
|
-
|
|
357
|
+
c0 || (c0 = function(e, t) {
|
|
145
358
|
return new e(...t);
|
|
146
359
|
});
|
|
147
|
-
const
|
|
148
|
-
function
|
|
360
|
+
const ge = W(Array.prototype.forEach), Er = W(Array.prototype.lastIndexOf), X0 = W(Array.prototype.pop), Yu = W(Array.prototype.push), Cr = W(Array.prototype.splice), De = W(String.prototype.toLowerCase), Ge = W(String.prototype.toString), J0 = W(String.prototype.match), Xu = W(String.prototype.replace), Ar = W(String.prototype.indexOf), Dr = W(String.prototype.trim), K = W(Object.prototype.hasOwnProperty), j = W(RegExp.prototype.test), Ju = yr(TypeError);
|
|
361
|
+
function W(u) {
|
|
149
362
|
return function(e) {
|
|
150
363
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
151
364
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
152
365
|
n[r - 1] = arguments[r];
|
|
153
|
-
return
|
|
366
|
+
return r0(u, e, n);
|
|
154
367
|
};
|
|
155
368
|
}
|
|
156
|
-
function
|
|
369
|
+
function yr(u) {
|
|
157
370
|
return function() {
|
|
158
371
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
159
372
|
t[n] = arguments[n];
|
|
160
|
-
return
|
|
373
|
+
return c0(u, t);
|
|
161
374
|
};
|
|
162
375
|
}
|
|
163
376
|
function F(u, e) {
|
|
164
|
-
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
377
|
+
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : De;
|
|
165
378
|
Y0 && Y0(u, null);
|
|
166
379
|
let n = e.length;
|
|
167
380
|
for (; n--; ) {
|
|
168
381
|
let r = e[n];
|
|
169
382
|
if (typeof r == "string") {
|
|
170
383
|
const c = t(r);
|
|
171
|
-
c !== r && (
|
|
384
|
+
c !== r && (xr(e) || (e[n] = c), r = c);
|
|
172
385
|
}
|
|
173
386
|
u[r] = !0;
|
|
174
387
|
}
|
|
175
388
|
return u;
|
|
176
389
|
}
|
|
177
|
-
function
|
|
390
|
+
function Fr(u) {
|
|
178
391
|
for (let e = 0; e < u.length; e++)
|
|
179
392
|
K(u, e) || (u[e] = null);
|
|
180
393
|
return u;
|
|
181
394
|
}
|
|
182
|
-
function
|
|
183
|
-
const e =
|
|
184
|
-
for (const [t, n] of
|
|
185
|
-
K(u, t) && (Array.isArray(n) ? e[t] =
|
|
395
|
+
function du(u) {
|
|
396
|
+
const e = wt(null);
|
|
397
|
+
for (const [t, n] of St(u))
|
|
398
|
+
K(u, t) && (Array.isArray(n) ? e[t] = Fr(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = du(n) : e[t] = n);
|
|
186
399
|
return e;
|
|
187
400
|
}
|
|
188
|
-
function
|
|
401
|
+
function Qu(u, e) {
|
|
189
402
|
for (; u !== null; ) {
|
|
190
|
-
const n =
|
|
403
|
+
const n = kr(u, e);
|
|
191
404
|
if (n) {
|
|
192
405
|
if (n.get)
|
|
193
|
-
return
|
|
406
|
+
return W(n.get);
|
|
194
407
|
if (typeof n.value == "function")
|
|
195
|
-
return
|
|
408
|
+
return W(n.value);
|
|
196
409
|
}
|
|
197
|
-
u =
|
|
410
|
+
u = gr(u);
|
|
198
411
|
}
|
|
199
412
|
function t() {
|
|
200
413
|
return null;
|
|
201
414
|
}
|
|
202
415
|
return t;
|
|
203
416
|
}
|
|
204
|
-
const Q0 =
|
|
417
|
+
const Q0 = G(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), We = G(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ze = G(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Tr = G(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ve = G(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Sr = G(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), K0 = G(["#text"]), ut = G(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ye = G(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), et = G(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ke = G(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), wr = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), vr = J(/<%[\w\W]*|[\w\W]*%>/gm), Rr = J(/\$\{[\w\W]*/gm), Mr = J(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ir = J(/^aria-[\-\w]+$/), vt = J(
|
|
205
418
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
206
419
|
// eslint-disable-line no-useless-escape
|
|
207
|
-
),
|
|
420
|
+
), Lr = J(/^(?:\w+script|data):/i), Or = J(
|
|
208
421
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
209
422
|
// eslint-disable-line no-control-regex
|
|
210
|
-
),
|
|
423
|
+
), Rt = J(/^html$/i), Nr = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
211
424
|
var tt = /* @__PURE__ */ Object.freeze({
|
|
212
425
|
__proto__: null,
|
|
213
|
-
ARIA_ATTR:
|
|
214
|
-
ATTR_WHITESPACE:
|
|
215
|
-
CUSTOM_ELEMENT:
|
|
216
|
-
DATA_ATTR:
|
|
217
|
-
DOCTYPE_NAME:
|
|
218
|
-
ERB_EXPR:
|
|
219
|
-
IS_ALLOWED_URI:
|
|
220
|
-
IS_SCRIPT_OR_DATA:
|
|
221
|
-
MUSTACHE_EXPR:
|
|
222
|
-
TMPLIT_EXPR:
|
|
426
|
+
ARIA_ATTR: Ir,
|
|
427
|
+
ATTR_WHITESPACE: Or,
|
|
428
|
+
CUSTOM_ELEMENT: Nr,
|
|
429
|
+
DATA_ATTR: Mr,
|
|
430
|
+
DOCTYPE_NAME: Rt,
|
|
431
|
+
ERB_EXPR: vr,
|
|
432
|
+
IS_ALLOWED_URI: vt,
|
|
433
|
+
IS_SCRIPT_OR_DATA: Lr,
|
|
434
|
+
MUSTACHE_EXPR: wr,
|
|
435
|
+
TMPLIT_EXPR: Rr
|
|
223
436
|
});
|
|
224
|
-
const
|
|
437
|
+
const Ku = {
|
|
225
438
|
element: 1,
|
|
226
439
|
text: 3,
|
|
227
440
|
// Deprecated
|
|
228
441
|
progressingInstruction: 7,
|
|
229
442
|
comment: 8,
|
|
230
443
|
document: 9
|
|
231
|
-
},
|
|
444
|
+
}, Pr = function() {
|
|
232
445
|
return typeof window > "u" ? null : window;
|
|
233
|
-
},
|
|
446
|
+
}, Br = function(e, t) {
|
|
234
447
|
if (typeof e != "object" || typeof e.createPolicy != "function")
|
|
235
448
|
return null;
|
|
236
449
|
let n = null;
|
|
@@ -262,10 +475,10 @@ const Ju = {
|
|
|
262
475
|
uponSanitizeShadowNode: []
|
|
263
476
|
};
|
|
264
477
|
};
|
|
265
|
-
function
|
|
266
|
-
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
267
|
-
const e = (g) =>
|
|
268
|
-
if (e.version = "3.2.6", e.removed = [], !u || !u.document || u.document.nodeType !==
|
|
478
|
+
function Mt() {
|
|
479
|
+
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Pr();
|
|
480
|
+
const e = (g) => Mt(g);
|
|
481
|
+
if (e.version = "3.2.6", e.removed = [], !u || !u.document || u.document.nodeType !== Ku.document || !u.Element)
|
|
269
482
|
return e.isSupported = !1, e;
|
|
270
483
|
let {
|
|
271
484
|
document: t
|
|
@@ -279,40 +492,40 @@ function vt() {
|
|
|
279
492
|
NamedNodeMap: f = u.NamedNodeMap || u.MozNamedAttrMap,
|
|
280
493
|
HTMLFormElement: d,
|
|
281
494
|
DOMParser: _,
|
|
282
|
-
trustedTypes:
|
|
283
|
-
} = u,
|
|
495
|
+
trustedTypes: h
|
|
496
|
+
} = u, p = a.prototype, A = Qu(p, "cloneNode"), D = Qu(p, "remove"), S = Qu(p, "nextSibling"), E = Qu(p, "childNodes"), k = Qu(p, "parentNode");
|
|
284
497
|
if (typeof i == "function") {
|
|
285
498
|
const g = t.createElement("template");
|
|
286
499
|
g.content && g.content.ownerDocument && (t = g.content.ownerDocument);
|
|
287
500
|
}
|
|
288
|
-
let m,
|
|
501
|
+
let m, C = "";
|
|
289
502
|
const {
|
|
290
503
|
implementation: y,
|
|
291
|
-
createNodeIterator:
|
|
504
|
+
createNodeIterator: L,
|
|
292
505
|
createDocumentFragment: Y,
|
|
293
506
|
getElementsByTagName: tu
|
|
294
507
|
} = t, {
|
|
295
|
-
importNode:
|
|
508
|
+
importNode: Eu
|
|
296
509
|
} = n;
|
|
297
|
-
let
|
|
298
|
-
e.isSupported = typeof
|
|
510
|
+
let O = nt();
|
|
511
|
+
e.isSupported = typeof St == "function" && typeof k == "function" && y && y.createHTMLDocument !== void 0;
|
|
299
512
|
const {
|
|
300
|
-
MUSTACHE_EXPR:
|
|
301
|
-
ERB_EXPR:
|
|
302
|
-
TMPLIT_EXPR:
|
|
303
|
-
DATA_ATTR:
|
|
513
|
+
MUSTACHE_EXPR: $u,
|
|
514
|
+
ERB_EXPR: ju,
|
|
515
|
+
TMPLIT_EXPR: yu,
|
|
516
|
+
DATA_ATTR: pu,
|
|
304
517
|
ARIA_ATTR: Ie,
|
|
305
|
-
IS_SCRIPT_OR_DATA:
|
|
306
|
-
ATTR_WHITESPACE:
|
|
307
|
-
CUSTOM_ELEMENT:
|
|
518
|
+
IS_SCRIPT_OR_DATA: rn,
|
|
519
|
+
ATTR_WHITESPACE: g0,
|
|
520
|
+
CUSTOM_ELEMENT: cn
|
|
308
521
|
} = tt;
|
|
309
522
|
let {
|
|
310
|
-
IS_ALLOWED_URI:
|
|
311
|
-
} = tt,
|
|
312
|
-
const
|
|
313
|
-
let
|
|
314
|
-
const
|
|
315
|
-
let R = Object.seal(
|
|
523
|
+
IS_ALLOWED_URI: k0
|
|
524
|
+
} = tt, P = null;
|
|
525
|
+
const E0 = F({}, [...Q0, ...We, ...Ze, ...Ve, ...K0]);
|
|
526
|
+
let U = null;
|
|
527
|
+
const C0 = F({}, [...ut, ...Ye, ...et, ...ke]);
|
|
528
|
+
let R = Object.seal(wt(null, {
|
|
316
529
|
tagNameCheck: {
|
|
317
530
|
writable: !0,
|
|
318
531
|
configurable: !1,
|
|
@@ -331,47 +544,47 @@ function vt() {
|
|
|
331
544
|
enumerable: !0,
|
|
332
545
|
value: !1
|
|
333
546
|
}
|
|
334
|
-
})),
|
|
335
|
-
const
|
|
336
|
-
let
|
|
337
|
-
const
|
|
338
|
-
let
|
|
339
|
-
const
|
|
340
|
-
let
|
|
341
|
-
const
|
|
342
|
-
let
|
|
343
|
-
const
|
|
344
|
-
let
|
|
345
|
-
const
|
|
346
|
-
let
|
|
347
|
-
const
|
|
348
|
-
let
|
|
349
|
-
const
|
|
547
|
+
})), Gu = null, Le = null, A0 = !0, Oe = !0, D0 = !1, y0 = !0, Fu = !1, de = !0, Cu = !1, Ne = !1, Pe = !1, Tu = !1, pe = !1, he = !1, F0 = !0, T0 = !1;
|
|
548
|
+
const on = "user-content-";
|
|
549
|
+
let Be = !0, Wu = !1, Su = {}, wu = null;
|
|
550
|
+
const S0 = F({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
551
|
+
let w0 = null;
|
|
552
|
+
const v0 = F({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
553
|
+
let ze = null;
|
|
554
|
+
const R0 = F({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), be = "http://www.w3.org/1998/Math/MathML", _e = "http://www.w3.org/2000/svg", su = "http://www.w3.org/1999/xhtml";
|
|
555
|
+
let vu = su, qe = !1, Ue = null;
|
|
556
|
+
const an = F({}, [be, _e, su], Ge);
|
|
557
|
+
let me = F({}, ["mi", "mo", "mn", "ms", "mtext"]), xe = F({}, ["annotation-xml"]);
|
|
558
|
+
const sn = F({}, ["title", "style", "font", "a", "script"]);
|
|
559
|
+
let Zu = null;
|
|
560
|
+
const ln = ["application/xhtml+xml", "text/html"], fn = "text/html";
|
|
561
|
+
let B = null, Ru = null;
|
|
562
|
+
const dn = t.createElement("form"), M0 = function(l) {
|
|
350
563
|
return l instanceof RegExp || l instanceof Function;
|
|
351
|
-
},
|
|
564
|
+
}, He = function() {
|
|
352
565
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
353
|
-
if (!(
|
|
354
|
-
if ((!l || typeof l != "object") && (l = {}), l =
|
|
355
|
-
|
|
566
|
+
if (!(Ru && Ru === l)) {
|
|
567
|
+
if ((!l || typeof l != "object") && (l = {}), l = du(l), Zu = // eslint-disable-next-line unicorn/prefer-includes
|
|
568
|
+
ln.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? fn : l.PARSER_MEDIA_TYPE, B = Zu === "application/xhtml+xml" ? Ge : De, P = K(l, "ALLOWED_TAGS") ? F({}, l.ALLOWED_TAGS, B) : E0, U = K(l, "ALLOWED_ATTR") ? F({}, l.ALLOWED_ATTR, B) : C0, Ue = K(l, "ALLOWED_NAMESPACES") ? F({}, l.ALLOWED_NAMESPACES, Ge) : an, ze = K(l, "ADD_URI_SAFE_ATTR") ? F(du(R0), l.ADD_URI_SAFE_ATTR, B) : R0, w0 = K(l, "ADD_DATA_URI_TAGS") ? F(du(v0), l.ADD_DATA_URI_TAGS, B) : v0, wu = K(l, "FORBID_CONTENTS") ? F({}, l.FORBID_CONTENTS, B) : S0, Gu = K(l, "FORBID_TAGS") ? F({}, l.FORBID_TAGS, B) : du({}), Le = K(l, "FORBID_ATTR") ? F({}, l.FORBID_ATTR, B) : du({}), Su = K(l, "USE_PROFILES") ? l.USE_PROFILES : !1, A0 = l.ALLOW_ARIA_ATTR !== !1, Oe = l.ALLOW_DATA_ATTR !== !1, D0 = l.ALLOW_UNKNOWN_PROTOCOLS || !1, y0 = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Fu = l.SAFE_FOR_TEMPLATES || !1, de = l.SAFE_FOR_XML !== !1, Cu = l.WHOLE_DOCUMENT || !1, Tu = l.RETURN_DOM || !1, pe = l.RETURN_DOM_FRAGMENT || !1, he = l.RETURN_TRUSTED_TYPE || !1, Pe = l.FORCE_BODY || !1, F0 = l.SANITIZE_DOM !== !1, T0 = l.SANITIZE_NAMED_PROPS || !1, Be = l.KEEP_CONTENT !== !1, Wu = l.IN_PLACE || !1, k0 = l.ALLOWED_URI_REGEXP || vt, vu = l.NAMESPACE || su, me = l.MATHML_TEXT_INTEGRATION_POINTS || me, xe = l.HTML_INTEGRATION_POINTS || xe, R = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && M0(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && M0(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (R.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Fu && (Oe = !1), pe && (Tu = !0), Su && (P = F({}, K0), U = [], Su.html === !0 && (F(P, Q0), F(U, ut)), Su.svg === !0 && (F(P, We), F(U, Ye), F(U, ke)), Su.svgFilters === !0 && (F(P, Ze), F(U, Ye), F(U, ke)), Su.mathMl === !0 && (F(P, Ve), F(U, et), F(U, ke))), l.ADD_TAGS && (P === E0 && (P = du(P)), F(P, l.ADD_TAGS, B)), l.ADD_ATTR && (U === C0 && (U = du(U)), F(U, l.ADD_ATTR, B)), l.ADD_URI_SAFE_ATTR && F(ze, l.ADD_URI_SAFE_ATTR, B), l.FORBID_CONTENTS && (wu === S0 && (wu = du(wu)), F(wu, l.FORBID_CONTENTS, B)), Be && (P["#text"] = !0), Cu && F(P, ["html", "head", "body"]), P.table && (F(P, ["tbody"]), delete Gu.tbody), l.TRUSTED_TYPES_POLICY) {
|
|
356
569
|
if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
357
|
-
throw
|
|
570
|
+
throw Ju('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
358
571
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
359
|
-
throw
|
|
360
|
-
m = l.TRUSTED_TYPES_POLICY,
|
|
572
|
+
throw Ju('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
573
|
+
m = l.TRUSTED_TYPES_POLICY, C = m.createHTML("");
|
|
361
574
|
} else
|
|
362
|
-
m === void 0 && (m =
|
|
363
|
-
|
|
575
|
+
m === void 0 && (m = Br(h, r)), m !== null && typeof C == "string" && (C = m.createHTML(""));
|
|
576
|
+
G && G(l), Ru = l;
|
|
364
577
|
}
|
|
365
|
-
}, I0 = F({}, [...
|
|
578
|
+
}, I0 = F({}, [...We, ...Ze, ...Tr]), L0 = F({}, [...Ve, ...Sr]), pn = function(l) {
|
|
366
579
|
let b = k(l);
|
|
367
580
|
(!b || !b.tagName) && (b = {
|
|
368
|
-
namespaceURI:
|
|
581
|
+
namespaceURI: vu,
|
|
369
582
|
tagName: "template"
|
|
370
583
|
});
|
|
371
|
-
const x =
|
|
372
|
-
return
|
|
584
|
+
const x = De(l.tagName), v = De(b.tagName);
|
|
585
|
+
return Ue[l.namespaceURI] ? l.namespaceURI === _e ? b.namespaceURI === su ? x === "svg" : b.namespaceURI === be ? x === "svg" && (v === "annotation-xml" || me[v]) : !!I0[x] : l.namespaceURI === be ? b.namespaceURI === su ? x === "math" : b.namespaceURI === _e ? x === "math" && xe[v] : !!L0[x] : l.namespaceURI === su ? b.namespaceURI === _e && !xe[v] || b.namespaceURI === be && !me[v] ? !1 : !L0[x] && (sn[x] || !I0[x]) : !!(Zu === "application/xhtml+xml" && Ue[l.namespaceURI]) : !1;
|
|
373
586
|
}, nu = function(l) {
|
|
374
|
-
|
|
587
|
+
Yu(e.removed, {
|
|
375
588
|
element: l
|
|
376
589
|
});
|
|
377
590
|
try {
|
|
@@ -379,20 +592,20 @@ function vt() {
|
|
|
379
592
|
} catch {
|
|
380
593
|
D(l);
|
|
381
594
|
}
|
|
382
|
-
},
|
|
595
|
+
}, Mu = function(l, b) {
|
|
383
596
|
try {
|
|
384
|
-
|
|
597
|
+
Yu(e.removed, {
|
|
385
598
|
attribute: b.getAttributeNode(l),
|
|
386
599
|
from: b
|
|
387
600
|
});
|
|
388
601
|
} catch {
|
|
389
|
-
|
|
602
|
+
Yu(e.removed, {
|
|
390
603
|
attribute: null,
|
|
391
604
|
from: b
|
|
392
605
|
});
|
|
393
606
|
}
|
|
394
607
|
if (b.removeAttribute(l), l === "is")
|
|
395
|
-
if (
|
|
608
|
+
if (Tu || pe)
|
|
396
609
|
try {
|
|
397
610
|
nu(b);
|
|
398
611
|
} catch {
|
|
@@ -402,96 +615,96 @@ function vt() {
|
|
|
402
615
|
b.setAttribute(l, "");
|
|
403
616
|
} catch {
|
|
404
617
|
}
|
|
405
|
-
},
|
|
618
|
+
}, O0 = function(l) {
|
|
406
619
|
let b = null, x = null;
|
|
407
|
-
if (
|
|
620
|
+
if (Pe)
|
|
408
621
|
l = "<remove></remove>" + l;
|
|
409
622
|
else {
|
|
410
|
-
const
|
|
411
|
-
x =
|
|
623
|
+
const N = J0(l, /^[\r\n\t ]+/);
|
|
624
|
+
x = N && N[0];
|
|
412
625
|
}
|
|
413
|
-
|
|
626
|
+
Zu === "application/xhtml+xml" && vu === su && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
|
|
414
627
|
const v = m ? m.createHTML(l) : l;
|
|
415
|
-
if (
|
|
628
|
+
if (vu === su)
|
|
416
629
|
try {
|
|
417
|
-
b = new _().parseFromString(v,
|
|
630
|
+
b = new _().parseFromString(v, Zu);
|
|
418
631
|
} catch {
|
|
419
632
|
}
|
|
420
633
|
if (!b || !b.documentElement) {
|
|
421
|
-
b = y.createDocument(
|
|
634
|
+
b = y.createDocument(vu, "template", null);
|
|
422
635
|
try {
|
|
423
|
-
b.documentElement.innerHTML =
|
|
636
|
+
b.documentElement.innerHTML = qe ? C : v;
|
|
424
637
|
} catch {
|
|
425
638
|
}
|
|
426
639
|
}
|
|
427
|
-
const
|
|
428
|
-
return l && x &&
|
|
429
|
-
},
|
|
430
|
-
return
|
|
640
|
+
const H = b.body || b.documentElement;
|
|
641
|
+
return l && x && H.insertBefore(t.createTextNode(x), H.childNodes[0] || null), vu === su ? tu.call(b, Cu ? "html" : "body")[0] : Cu ? b.documentElement : H;
|
|
642
|
+
}, N0 = function(l) {
|
|
643
|
+
return L.call(
|
|
431
644
|
l.ownerDocument || l,
|
|
432
645
|
l,
|
|
433
646
|
// eslint-disable-next-line no-bitwise
|
|
434
647
|
s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
|
|
435
648
|
null
|
|
436
649
|
);
|
|
437
|
-
},
|
|
650
|
+
}, $e = function(l) {
|
|
438
651
|
return l instanceof d && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof f) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
|
|
439
|
-
},
|
|
652
|
+
}, P0 = function(l) {
|
|
440
653
|
return typeof o == "function" && l instanceof o;
|
|
441
654
|
};
|
|
442
|
-
function
|
|
443
|
-
|
|
444
|
-
x.call(e, l, b,
|
|
655
|
+
function lu(g, l, b) {
|
|
656
|
+
ge(g, (x) => {
|
|
657
|
+
x.call(e, l, b, Ru);
|
|
445
658
|
});
|
|
446
659
|
}
|
|
447
|
-
const
|
|
660
|
+
const B0 = function(l) {
|
|
448
661
|
let b = null;
|
|
449
|
-
if (
|
|
662
|
+
if (lu(O.beforeSanitizeElements, l, null), $e(l))
|
|
450
663
|
return nu(l), !0;
|
|
451
|
-
const x =
|
|
452
|
-
if (
|
|
664
|
+
const x = B(l.nodeName);
|
|
665
|
+
if (lu(O.uponSanitizeElement, l, {
|
|
453
666
|
tagName: x,
|
|
454
|
-
allowedTags:
|
|
455
|
-
}),
|
|
667
|
+
allowedTags: P
|
|
668
|
+
}), de && l.hasChildNodes() && !P0(l.firstElementChild) && j(/<[/\w!]/g, l.innerHTML) && j(/<[/\w!]/g, l.textContent) || l.nodeType === Ku.progressingInstruction || de && l.nodeType === Ku.comment && j(/<[/\w]/g, l.data))
|
|
456
669
|
return nu(l), !0;
|
|
457
|
-
if (!
|
|
458
|
-
if (
|
|
670
|
+
if (!P[x] || Gu[x]) {
|
|
671
|
+
if (!Gu[x] && q0(x) && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
|
|
459
672
|
return !1;
|
|
460
|
-
if (
|
|
461
|
-
const v = k(l) || l.parentNode,
|
|
462
|
-
if (
|
|
463
|
-
const
|
|
464
|
-
for (let
|
|
465
|
-
const
|
|
466
|
-
|
|
673
|
+
if (Be && !wu[x]) {
|
|
674
|
+
const v = k(l) || l.parentNode, H = E(l) || l.childNodes;
|
|
675
|
+
if (H && v) {
|
|
676
|
+
const N = H.length;
|
|
677
|
+
for (let Z = N - 1; Z >= 0; --Z) {
|
|
678
|
+
const fu = A(H[Z], !0);
|
|
679
|
+
fu.__removalCount = (l.__removalCount || 0) + 1, v.insertBefore(fu, S(l));
|
|
467
680
|
}
|
|
468
681
|
}
|
|
469
682
|
}
|
|
470
683
|
return nu(l), !0;
|
|
471
684
|
}
|
|
472
|
-
return l instanceof a && !
|
|
473
|
-
b =
|
|
474
|
-
}), l.textContent !== b && (
|
|
685
|
+
return l instanceof a && !pn(l) || (x === "noscript" || x === "noembed" || x === "noframes") && j(/<\/no(script|embed|frames)/i, l.innerHTML) ? (nu(l), !0) : (Fu && l.nodeType === Ku.text && (b = l.textContent, ge([$u, ju, yu], (v) => {
|
|
686
|
+
b = Xu(b, v, " ");
|
|
687
|
+
}), l.textContent !== b && (Yu(e.removed, {
|
|
475
688
|
element: l.cloneNode()
|
|
476
|
-
}), l.textContent = b)),
|
|
477
|
-
},
|
|
478
|
-
if (
|
|
689
|
+
}), l.textContent = b)), lu(O.afterSanitizeElements, l, null), !1);
|
|
690
|
+
}, z0 = function(l, b, x) {
|
|
691
|
+
if (F0 && (b === "id" || b === "name") && (x in t || x in dn))
|
|
479
692
|
return !1;
|
|
480
|
-
if (!(
|
|
481
|
-
if (!(A0 &&
|
|
482
|
-
if (!
|
|
693
|
+
if (!(Oe && !Le[b] && j(pu, b))) {
|
|
694
|
+
if (!(A0 && j(Ie, b))) {
|
|
695
|
+
if (!U[b] || Le[b]) {
|
|
483
696
|
if (
|
|
484
697
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
485
698
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
486
699
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
487
|
-
!(
|
|
700
|
+
!(q0(l) && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, l) || R.tagNameCheck instanceof Function && R.tagNameCheck(l)) && (R.attributeNameCheck instanceof RegExp && j(R.attributeNameCheck, b) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(b)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
488
701
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
489
|
-
b === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp &&
|
|
702
|
+
b === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
|
|
490
703
|
) return !1;
|
|
491
|
-
} else if (!
|
|
492
|
-
if (
|
|
493
|
-
if (!((b === "src" || b === "xlink:href" || b === "href") && l !== "script" &&
|
|
494
|
-
if (!(
|
|
704
|
+
} else if (!ze[b]) {
|
|
705
|
+
if (!j(k0, Xu(x, g0, ""))) {
|
|
706
|
+
if (!((b === "src" || b === "xlink:href" || b === "href") && l !== "script" && Ar(x, "data:") === 0 && w0[l])) {
|
|
707
|
+
if (!(D0 && !j(rn, Xu(x, g0, "")))) {
|
|
495
708
|
if (x)
|
|
496
709
|
return !1;
|
|
497
710
|
}
|
|
@@ -501,148 +714,148 @@ function vt() {
|
|
|
501
714
|
}
|
|
502
715
|
}
|
|
503
716
|
return !0;
|
|
504
|
-
}, z0 = function(l) {
|
|
505
|
-
return l !== "annotation-xml" && J0(l, nn);
|
|
506
717
|
}, q0 = function(l) {
|
|
507
|
-
|
|
718
|
+
return l !== "annotation-xml" && J0(l, cn);
|
|
719
|
+
}, U0 = function(l) {
|
|
720
|
+
lu(O.beforeSanitizeAttributes, l, null);
|
|
508
721
|
const {
|
|
509
722
|
attributes: b
|
|
510
723
|
} = l;
|
|
511
|
-
if (!b ||
|
|
724
|
+
if (!b || $e(l))
|
|
512
725
|
return;
|
|
513
726
|
const x = {
|
|
514
727
|
attrName: "",
|
|
515
728
|
attrValue: "",
|
|
516
729
|
keepAttr: !0,
|
|
517
|
-
allowedAttributes:
|
|
730
|
+
allowedAttributes: U,
|
|
518
731
|
forceKeepAttr: void 0
|
|
519
732
|
};
|
|
520
733
|
let v = b.length;
|
|
521
734
|
for (; v--; ) {
|
|
522
|
-
const
|
|
523
|
-
name:
|
|
524
|
-
namespaceURI:
|
|
525
|
-
value:
|
|
526
|
-
} =
|
|
527
|
-
let
|
|
528
|
-
if (x.attrName =
|
|
529
|
-
|
|
735
|
+
const H = b[v], {
|
|
736
|
+
name: N,
|
|
737
|
+
namespaceURI: Z,
|
|
738
|
+
value: fu
|
|
739
|
+
} = H, Vu = B(N), je = fu;
|
|
740
|
+
let $ = N === "value" ? je : Dr(je);
|
|
741
|
+
if (x.attrName = Vu, x.attrValue = $, x.keepAttr = !0, x.forceKeepAttr = void 0, lu(O.uponSanitizeAttribute, l, x), $ = x.attrValue, T0 && (Vu === "id" || Vu === "name") && (Mu(N, l), $ = on + $), de && j(/((--!?|])>)|<\/(style|title)/i, $)) {
|
|
742
|
+
Mu(N, l);
|
|
530
743
|
continue;
|
|
531
744
|
}
|
|
532
745
|
if (x.forceKeepAttr)
|
|
533
746
|
continue;
|
|
534
747
|
if (!x.keepAttr) {
|
|
535
|
-
|
|
748
|
+
Mu(N, l);
|
|
536
749
|
continue;
|
|
537
750
|
}
|
|
538
|
-
if (!
|
|
539
|
-
|
|
751
|
+
if (!y0 && j(/\/>/i, $)) {
|
|
752
|
+
Mu(N, l);
|
|
540
753
|
continue;
|
|
541
754
|
}
|
|
542
|
-
|
|
543
|
-
|
|
755
|
+
Fu && ge([$u, ju, yu], ($0) => {
|
|
756
|
+
$ = Xu($, $0, " ");
|
|
544
757
|
});
|
|
545
|
-
const
|
|
546
|
-
if (!
|
|
547
|
-
|
|
758
|
+
const H0 = B(l.nodeName);
|
|
759
|
+
if (!z0(H0, Vu, $)) {
|
|
760
|
+
Mu(N, l);
|
|
548
761
|
continue;
|
|
549
762
|
}
|
|
550
|
-
if (m && typeof
|
|
551
|
-
switch (
|
|
763
|
+
if (m && typeof h == "object" && typeof h.getAttributeType == "function" && !Z)
|
|
764
|
+
switch (h.getAttributeType(H0, Vu)) {
|
|
552
765
|
case "TrustedHTML": {
|
|
553
|
-
|
|
766
|
+
$ = m.createHTML($);
|
|
554
767
|
break;
|
|
555
768
|
}
|
|
556
769
|
case "TrustedScriptURL": {
|
|
557
|
-
|
|
770
|
+
$ = m.createScriptURL($);
|
|
558
771
|
break;
|
|
559
772
|
}
|
|
560
773
|
}
|
|
561
|
-
if (
|
|
774
|
+
if ($ !== je)
|
|
562
775
|
try {
|
|
563
|
-
|
|
776
|
+
Z ? l.setAttributeNS(Z, N, $) : l.setAttribute(N, $), $e(l) ? nu(l) : X0(e.removed);
|
|
564
777
|
} catch {
|
|
565
|
-
|
|
778
|
+
Mu(N, l);
|
|
566
779
|
}
|
|
567
780
|
}
|
|
568
|
-
|
|
569
|
-
},
|
|
781
|
+
lu(O.afterSanitizeAttributes, l, null);
|
|
782
|
+
}, hn = function g(l) {
|
|
570
783
|
let b = null;
|
|
571
|
-
const x =
|
|
572
|
-
for (
|
|
573
|
-
|
|
574
|
-
|
|
784
|
+
const x = N0(l);
|
|
785
|
+
for (lu(O.beforeSanitizeShadowDOM, l, null); b = x.nextNode(); )
|
|
786
|
+
lu(O.uponSanitizeShadowNode, b, null), B0(b), U0(b), b.content instanceof c && g(b.content);
|
|
787
|
+
lu(O.afterSanitizeShadowDOM, l, null);
|
|
575
788
|
};
|
|
576
789
|
return e.sanitize = function(g) {
|
|
577
|
-
let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = null, x = null, v = null,
|
|
578
|
-
if (
|
|
790
|
+
let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = null, x = null, v = null, H = null;
|
|
791
|
+
if (qe = !g, qe && (g = "<!-->"), typeof g != "string" && !P0(g))
|
|
579
792
|
if (typeof g.toString == "function") {
|
|
580
793
|
if (g = g.toString(), typeof g != "string")
|
|
581
|
-
throw
|
|
794
|
+
throw Ju("dirty is not a string, aborting");
|
|
582
795
|
} else
|
|
583
|
-
throw
|
|
796
|
+
throw Ju("toString is not a function");
|
|
584
797
|
if (!e.isSupported)
|
|
585
798
|
return g;
|
|
586
|
-
if (
|
|
799
|
+
if (Ne || He(l), e.removed = [], typeof g == "string" && (Wu = !1), Wu) {
|
|
587
800
|
if (g.nodeName) {
|
|
588
|
-
const
|
|
589
|
-
if (!
|
|
590
|
-
throw
|
|
801
|
+
const fu = B(g.nodeName);
|
|
802
|
+
if (!P[fu] || Gu[fu])
|
|
803
|
+
throw Ju("root node is forbidden and cannot be sanitized in-place");
|
|
591
804
|
}
|
|
592
805
|
} else if (g instanceof o)
|
|
593
|
-
b =
|
|
806
|
+
b = O0("<!---->"), x = b.ownerDocument.importNode(g, !0), x.nodeType === Ku.element && x.nodeName === "BODY" || x.nodeName === "HTML" ? b = x : b.appendChild(x);
|
|
594
807
|
else {
|
|
595
|
-
if (!
|
|
808
|
+
if (!Tu && !Fu && !Cu && // eslint-disable-next-line unicorn/prefer-includes
|
|
596
809
|
g.indexOf("<") === -1)
|
|
597
|
-
return m &&
|
|
598
|
-
if (b =
|
|
599
|
-
return
|
|
600
|
-
}
|
|
601
|
-
b &&
|
|
602
|
-
const
|
|
603
|
-
for (; v =
|
|
604
|
-
|
|
605
|
-
if (
|
|
810
|
+
return m && he ? m.createHTML(g) : g;
|
|
811
|
+
if (b = O0(g), !b)
|
|
812
|
+
return Tu ? null : he ? C : "";
|
|
813
|
+
}
|
|
814
|
+
b && Pe && nu(b.firstChild);
|
|
815
|
+
const N = N0(Wu ? g : b);
|
|
816
|
+
for (; v = N.nextNode(); )
|
|
817
|
+
B0(v), U0(v), v.content instanceof c && hn(v.content);
|
|
818
|
+
if (Wu)
|
|
606
819
|
return g;
|
|
607
|
-
if (
|
|
608
|
-
if (
|
|
609
|
-
for (
|
|
610
|
-
|
|
820
|
+
if (Tu) {
|
|
821
|
+
if (pe)
|
|
822
|
+
for (H = Y.call(b.ownerDocument); b.firstChild; )
|
|
823
|
+
H.appendChild(b.firstChild);
|
|
611
824
|
else
|
|
612
|
-
|
|
613
|
-
return (
|
|
614
|
-
}
|
|
615
|
-
let
|
|
616
|
-
return
|
|
617
|
-
` +
|
|
618
|
-
|
|
619
|
-
}), m &&
|
|
825
|
+
H = b;
|
|
826
|
+
return (U.shadowroot || U.shadowrootmode) && (H = Eu.call(n, H, !0)), H;
|
|
827
|
+
}
|
|
828
|
+
let Z = Cu ? b.outerHTML : b.innerHTML;
|
|
829
|
+
return Cu && P["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && j(Rt, b.ownerDocument.doctype.name) && (Z = "<!DOCTYPE " + b.ownerDocument.doctype.name + `>
|
|
830
|
+
` + Z), Fu && ge([$u, ju, yu], (fu) => {
|
|
831
|
+
Z = Xu(Z, fu, " ");
|
|
832
|
+
}), m && he ? m.createHTML(Z) : Z;
|
|
620
833
|
}, e.setConfig = function() {
|
|
621
834
|
let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
622
|
-
|
|
835
|
+
He(g), Ne = !0;
|
|
623
836
|
}, e.clearConfig = function() {
|
|
624
|
-
|
|
837
|
+
Ru = null, Ne = !1;
|
|
625
838
|
}, e.isValidAttribute = function(g, l, b) {
|
|
626
|
-
|
|
627
|
-
const x =
|
|
628
|
-
return
|
|
839
|
+
Ru || He({});
|
|
840
|
+
const x = B(g), v = B(l);
|
|
841
|
+
return z0(x, v, b);
|
|
629
842
|
}, e.addHook = function(g, l) {
|
|
630
|
-
typeof l == "function" &&
|
|
843
|
+
typeof l == "function" && Yu(O[g], l);
|
|
631
844
|
}, e.removeHook = function(g, l) {
|
|
632
845
|
if (l !== void 0) {
|
|
633
|
-
const b =
|
|
634
|
-
return b === -1 ? void 0 :
|
|
846
|
+
const b = Er(O[g], l);
|
|
847
|
+
return b === -1 ? void 0 : Cr(O[g], b, 1)[0];
|
|
635
848
|
}
|
|
636
|
-
return X0(
|
|
849
|
+
return X0(O[g]);
|
|
637
850
|
}, e.removeHooks = function(g) {
|
|
638
|
-
|
|
851
|
+
O[g] = [];
|
|
639
852
|
}, e.removeAllHooks = function() {
|
|
640
|
-
|
|
853
|
+
O = nt();
|
|
641
854
|
}, e;
|
|
642
855
|
}
|
|
643
|
-
var
|
|
856
|
+
var zr = Mt();
|
|
644
857
|
const rt = {};
|
|
645
|
-
function
|
|
858
|
+
function qr(u) {
|
|
646
859
|
let e = rt[u];
|
|
647
860
|
if (e)
|
|
648
861
|
return e;
|
|
@@ -657,9 +870,9 @@ function Fr(u) {
|
|
|
657
870
|
}
|
|
658
871
|
return e;
|
|
659
872
|
}
|
|
660
|
-
function
|
|
661
|
-
typeof e != "string" && (e =
|
|
662
|
-
const t =
|
|
873
|
+
function zu(u, e) {
|
|
874
|
+
typeof e != "string" && (e = zu.defaultChars);
|
|
875
|
+
const t = qr(e);
|
|
663
876
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
664
877
|
let r = "";
|
|
665
878
|
for (let c = 0, i = n.length; c < i; c += 3) {
|
|
@@ -697,10 +910,10 @@ function Bu(u, e) {
|
|
|
697
910
|
return r;
|
|
698
911
|
});
|
|
699
912
|
}
|
|
700
|
-
|
|
701
|
-
|
|
913
|
+
zu.defaultChars = ";/?:@&=+$,#";
|
|
914
|
+
zu.componentChars = "";
|
|
702
915
|
const ct = {};
|
|
703
|
-
function
|
|
916
|
+
function Ur(u) {
|
|
704
917
|
let e = ct[u];
|
|
705
918
|
if (e)
|
|
706
919
|
return e;
|
|
@@ -713,9 +926,9 @@ function Tr(u) {
|
|
|
713
926
|
e[u.charCodeAt(t)] = u[t];
|
|
714
927
|
return e;
|
|
715
928
|
}
|
|
716
|
-
function
|
|
717
|
-
typeof e != "string" && (t = e, e =
|
|
718
|
-
const n =
|
|
929
|
+
function se(u, e, t) {
|
|
930
|
+
typeof e != "string" && (t = e, e = se.defaultChars), typeof t > "u" && (t = !0);
|
|
931
|
+
const n = Ur(e);
|
|
719
932
|
let r = "";
|
|
720
933
|
for (let c = 0, i = u.length; c < i; c++) {
|
|
721
934
|
const o = u.charCodeAt(c);
|
|
@@ -742,17 +955,17 @@ function ce(u, e, t) {
|
|
|
742
955
|
}
|
|
743
956
|
return r;
|
|
744
957
|
}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
function
|
|
958
|
+
se.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
959
|
+
se.componentChars = "-_.!~*'()";
|
|
960
|
+
function f0(u) {
|
|
748
961
|
let e = "";
|
|
749
962
|
return e += u.protocol || "", e += u.slashes ? "//" : "", e += u.auth ? u.auth + "@" : "", u.hostname && u.hostname.indexOf(":") !== -1 ? e += "[" + u.hostname + "]" : e += u.hostname || "", e += u.port ? ":" + u.port : "", e += u.pathname || "", e += u.search || "", e += u.hash || "", e;
|
|
750
963
|
}
|
|
751
964
|
function ye() {
|
|
752
965
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
753
966
|
}
|
|
754
|
-
const
|
|
755
|
-
`, " "],
|
|
967
|
+
const Hr = /^([a-z0-9.+-]+:)/i, $r = /:[0-9]*$/, jr = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Gr = ["<", ">", '"', "`", " ", "\r", `
|
|
968
|
+
`, " "], Wr = ["{", "}", "|", "\\", "^", "`"].concat(Gr), Zr = ["'"].concat(Wr), ot = ["%", "/", "?", ";", "#"].concat(Zr), it = ["/", "?", "#"], Vr = 255, at = /^[+a-z0-9A-Z_-]{0,63}$/, Yr = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, st = {
|
|
756
969
|
javascript: !0,
|
|
757
970
|
"javascript:": !0
|
|
758
971
|
}, lt = {
|
|
@@ -767,7 +980,7 @@ const Sr = /^([a-z0-9.+-]+:)/i, wr = /:[0-9]*$/, vr = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
767
980
|
"gopher:": !0,
|
|
768
981
|
"file:": !0
|
|
769
982
|
};
|
|
770
|
-
function
|
|
983
|
+
function d0(u, e) {
|
|
771
984
|
if (u && u instanceof ye) return u;
|
|
772
985
|
const t = new ye();
|
|
773
986
|
return t.parse(u, e), t;
|
|
@@ -775,40 +988,40 @@ function f0(u, e) {
|
|
|
775
988
|
ye.prototype.parse = function(u, e) {
|
|
776
989
|
let t, n, r, c = u;
|
|
777
990
|
if (c = c.trim(), !e && u.split("#").length === 1) {
|
|
778
|
-
const s =
|
|
991
|
+
const s = jr.exec(c);
|
|
779
992
|
if (s)
|
|
780
993
|
return this.pathname = s[1], s[2] && (this.search = s[2]), this;
|
|
781
994
|
}
|
|
782
|
-
let i =
|
|
995
|
+
let i = Hr.exec(c);
|
|
783
996
|
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, c = c.substr(i.length)), (e || i || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(i && st[i]) && (c = c.substr(2), this.slashes = !0)), !st[i] && (r || i && !lt[i])) {
|
|
784
997
|
let s = -1;
|
|
785
|
-
for (let
|
|
786
|
-
n = c.indexOf(it[
|
|
998
|
+
for (let p = 0; p < it.length; p++)
|
|
999
|
+
n = c.indexOf(it[p]), n !== -1 && (s === -1 || n < s) && (s = n);
|
|
787
1000
|
let f, d;
|
|
788
1001
|
s === -1 ? d = c.lastIndexOf("@") : d = c.lastIndexOf("@", s), d !== -1 && (f = c.slice(0, d), c = c.slice(d + 1), this.auth = f), s = -1;
|
|
789
|
-
for (let
|
|
790
|
-
n = c.indexOf(ot[
|
|
1002
|
+
for (let p = 0; p < ot.length; p++)
|
|
1003
|
+
n = c.indexOf(ot[p]), n !== -1 && (s === -1 || n < s) && (s = n);
|
|
791
1004
|
s === -1 && (s = c.length), c[s - 1] === ":" && s--;
|
|
792
1005
|
const _ = c.slice(0, s);
|
|
793
1006
|
c = c.slice(s), this.parseHost(_), this.hostname = this.hostname || "";
|
|
794
|
-
const
|
|
795
|
-
if (!
|
|
796
|
-
const
|
|
797
|
-
for (let
|
|
798
|
-
const
|
|
799
|
-
if (
|
|
1007
|
+
const h = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
1008
|
+
if (!h) {
|
|
1009
|
+
const p = this.hostname.split(/\./);
|
|
1010
|
+
for (let A = 0, D = p.length; A < D; A++) {
|
|
1011
|
+
const S = p[A];
|
|
1012
|
+
if (S && !S.match(at)) {
|
|
800
1013
|
let E = "";
|
|
801
|
-
for (let k = 0, m =
|
|
802
|
-
|
|
1014
|
+
for (let k = 0, m = S.length; k < m; k++)
|
|
1015
|
+
S.charCodeAt(k) > 127 ? E += "x" : E += S[k];
|
|
803
1016
|
if (!E.match(at)) {
|
|
804
|
-
const k =
|
|
805
|
-
|
|
1017
|
+
const k = p.slice(0, A), m = p.slice(A + 1), C = S.match(Yr);
|
|
1018
|
+
C && (k.push(C[1]), m.unshift(C[2])), m.length && (c = m.join(".") + c), this.hostname = k.join(".");
|
|
806
1019
|
break;
|
|
807
1020
|
}
|
|
808
1021
|
}
|
|
809
1022
|
}
|
|
810
1023
|
}
|
|
811
|
-
this.hostname.length >
|
|
1024
|
+
this.hostname.length > Vr && (this.hostname = ""), h && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
|
|
812
1025
|
}
|
|
813
1026
|
const o = c.indexOf("#");
|
|
814
1027
|
o !== -1 && (this.hash = c.substr(o), c = c.slice(0, o));
|
|
@@ -816,32 +1029,32 @@ ye.prototype.parse = function(u, e) {
|
|
|
816
1029
|
return a !== -1 && (this.search = c.substr(a), c = c.slice(0, a)), c && (this.pathname = c), lt[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
817
1030
|
};
|
|
818
1031
|
ye.prototype.parseHost = function(u) {
|
|
819
|
-
let e =
|
|
1032
|
+
let e = $r.exec(u);
|
|
820
1033
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
|
|
821
1034
|
};
|
|
822
|
-
const
|
|
1035
|
+
const Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
823
1036
|
__proto__: null,
|
|
824
|
-
decode:
|
|
825
|
-
encode:
|
|
826
|
-
format:
|
|
827
|
-
parse:
|
|
828
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1037
|
+
decode: zu,
|
|
1038
|
+
encode: se,
|
|
1039
|
+
format: f0,
|
|
1040
|
+
parse: d0
|
|
1041
|
+
}, Symbol.toStringTag, { value: "Module" })), It = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Lt = /[\0-\x1F\x7F-\x9F]/, Jr = /[\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]/, p0 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, Ot = /[\$\+<->\^`\|~\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]/, Nt = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
829
1042
|
__proto__: null,
|
|
830
|
-
Any:
|
|
831
|
-
Cc:
|
|
832
|
-
Cf:
|
|
833
|
-
P:
|
|
834
|
-
S:
|
|
835
|
-
Z:
|
|
836
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1043
|
+
Any: It,
|
|
1044
|
+
Cc: Lt,
|
|
1045
|
+
Cf: Jr,
|
|
1046
|
+
P: p0,
|
|
1047
|
+
S: Ot,
|
|
1048
|
+
Z: Nt
|
|
1049
|
+
}, Symbol.toStringTag, { value: "Module" })), Kr = new Uint16Array(
|
|
837
1050
|
// prettier-ignore
|
|
838
1051
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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))
|
|
839
|
-
),
|
|
1052
|
+
), uc = new Uint16Array(
|
|
840
1053
|
// prettier-ignore
|
|
841
1054
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
842
1055
|
);
|
|
843
|
-
var
|
|
844
|
-
const
|
|
1056
|
+
var Xe;
|
|
1057
|
+
const ec = /* @__PURE__ */ new Map([
|
|
845
1058
|
[0, 65533],
|
|
846
1059
|
// C1 Unicode control character reference replacements
|
|
847
1060
|
[128, 8364],
|
|
@@ -871,53 +1084,53 @@ const Ur = /* @__PURE__ */ new Map([
|
|
|
871
1084
|
[156, 339],
|
|
872
1085
|
[158, 382],
|
|
873
1086
|
[159, 376]
|
|
874
|
-
]),
|
|
1087
|
+
]), tc = (
|
|
875
1088
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
876
|
-
(
|
|
1089
|
+
(Xe = String.fromCodePoint) !== null && Xe !== void 0 ? Xe : function(u) {
|
|
877
1090
|
let e = "";
|
|
878
1091
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
879
1092
|
}
|
|
880
1093
|
);
|
|
881
|
-
function
|
|
1094
|
+
function nc(u) {
|
|
882
1095
|
var e;
|
|
883
|
-
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e =
|
|
1096
|
+
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = ec.get(u)) !== null && e !== void 0 ? e : u;
|
|
884
1097
|
}
|
|
885
|
-
var
|
|
1098
|
+
var q;
|
|
886
1099
|
(function(u) {
|
|
887
1100
|
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";
|
|
888
|
-
})(
|
|
889
|
-
const
|
|
1101
|
+
})(q || (q = {}));
|
|
1102
|
+
const rc = 32;
|
|
890
1103
|
var _u;
|
|
891
1104
|
(function(u) {
|
|
892
1105
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
893
1106
|
})(_u || (_u = {}));
|
|
894
|
-
function
|
|
895
|
-
return u >=
|
|
1107
|
+
function o0(u) {
|
|
1108
|
+
return u >= q.ZERO && u <= q.NINE;
|
|
896
1109
|
}
|
|
897
|
-
function
|
|
898
|
-
return u >=
|
|
1110
|
+
function cc(u) {
|
|
1111
|
+
return u >= q.UPPER_A && u <= q.UPPER_F || u >= q.LOWER_A && u <= q.LOWER_F;
|
|
899
1112
|
}
|
|
900
|
-
function
|
|
901
|
-
return u >=
|
|
1113
|
+
function oc(u) {
|
|
1114
|
+
return u >= q.UPPER_A && u <= q.UPPER_Z || u >= q.LOWER_A && u <= q.LOWER_Z || o0(u);
|
|
902
1115
|
}
|
|
903
|
-
function
|
|
904
|
-
return u ===
|
|
1116
|
+
function ic(u) {
|
|
1117
|
+
return u === q.EQUALS || oc(u);
|
|
905
1118
|
}
|
|
906
|
-
var
|
|
1119
|
+
var z;
|
|
907
1120
|
(function(u) {
|
|
908
1121
|
u[u.EntityStart = 0] = "EntityStart", u[u.NumericStart = 1] = "NumericStart", u[u.NumericDecimal = 2] = "NumericDecimal", u[u.NumericHex = 3] = "NumericHex", u[u.NamedEntity = 4] = "NamedEntity";
|
|
909
|
-
})(
|
|
910
|
-
var
|
|
1122
|
+
})(z || (z = {}));
|
|
1123
|
+
var bu;
|
|
911
1124
|
(function(u) {
|
|
912
1125
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
913
|
-
})(
|
|
914
|
-
class
|
|
1126
|
+
})(bu || (bu = {}));
|
|
1127
|
+
class ac {
|
|
915
1128
|
constructor(e, t, n) {
|
|
916
|
-
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state =
|
|
1129
|
+
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = z.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = bu.Strict;
|
|
917
1130
|
}
|
|
918
1131
|
/** Resets the instance to make it reusable. */
|
|
919
1132
|
startEntity(e) {
|
|
920
|
-
this.decodeMode = e, this.state =
|
|
1133
|
+
this.decodeMode = e, this.state = z.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
921
1134
|
}
|
|
922
1135
|
/**
|
|
923
1136
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -932,15 +1145,15 @@ class Vr {
|
|
|
932
1145
|
*/
|
|
933
1146
|
write(e, t) {
|
|
934
1147
|
switch (this.state) {
|
|
935
|
-
case
|
|
936
|
-
return e.charCodeAt(t) ===
|
|
937
|
-
case
|
|
1148
|
+
case z.EntityStart:
|
|
1149
|
+
return e.charCodeAt(t) === q.NUM ? (this.state = z.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = z.NamedEntity, this.stateNamedEntity(e, t));
|
|
1150
|
+
case z.NumericStart:
|
|
938
1151
|
return this.stateNumericStart(e, t);
|
|
939
|
-
case
|
|
1152
|
+
case z.NumericDecimal:
|
|
940
1153
|
return this.stateNumericDecimal(e, t);
|
|
941
|
-
case
|
|
1154
|
+
case z.NumericHex:
|
|
942
1155
|
return this.stateNumericHex(e, t);
|
|
943
|
-
case
|
|
1156
|
+
case z.NamedEntity:
|
|
944
1157
|
return this.stateNamedEntity(e, t);
|
|
945
1158
|
}
|
|
946
1159
|
}
|
|
@@ -954,7 +1167,7 @@ class Vr {
|
|
|
954
1167
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
955
1168
|
*/
|
|
956
1169
|
stateNumericStart(e, t) {
|
|
957
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) |
|
|
1170
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | rc) === q.LOWER_X ? (this.state = z.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = z.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
958
1171
|
}
|
|
959
1172
|
addToNumericResult(e, t, n, r) {
|
|
960
1173
|
if (t !== n) {
|
|
@@ -975,7 +1188,7 @@ class Vr {
|
|
|
975
1188
|
const n = t;
|
|
976
1189
|
for (; t < e.length; ) {
|
|
977
1190
|
const r = e.charCodeAt(t);
|
|
978
|
-
if (
|
|
1191
|
+
if (o0(r) || cc(r))
|
|
979
1192
|
t += 1;
|
|
980
1193
|
else
|
|
981
1194
|
return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -995,7 +1208,7 @@ class Vr {
|
|
|
995
1208
|
const n = t;
|
|
996
1209
|
for (; t < e.length; ) {
|
|
997
1210
|
const r = e.charCodeAt(t);
|
|
998
|
-
if (
|
|
1211
|
+
if (o0(r))
|
|
999
1212
|
t += 1;
|
|
1000
1213
|
else
|
|
1001
1214
|
return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
@@ -1019,11 +1232,11 @@ class Vr {
|
|
|
1019
1232
|
var n;
|
|
1020
1233
|
if (this.consumed <= t)
|
|
1021
1234
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
1022
|
-
if (e ===
|
|
1235
|
+
if (e === q.SEMI)
|
|
1023
1236
|
this.consumed += 1;
|
|
1024
|
-
else if (this.decodeMode ===
|
|
1237
|
+
else if (this.decodeMode === bu.Strict)
|
|
1025
1238
|
return 0;
|
|
1026
|
-
return this.emitCodePoint(
|
|
1239
|
+
return this.emitCodePoint(nc(this.result), this.consumed), this.errors && (e !== q.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
1027
1240
|
}
|
|
1028
1241
|
/**
|
|
1029
1242
|
* Parses a named entity.
|
|
@@ -1039,15 +1252,15 @@ class Vr {
|
|
|
1039
1252
|
let r = n[this.treeIndex], c = (r & _u.VALUE_LENGTH) >> 14;
|
|
1040
1253
|
for (; t < e.length; t++, this.excess++) {
|
|
1041
1254
|
const i = e.charCodeAt(t);
|
|
1042
|
-
if (this.treeIndex =
|
|
1255
|
+
if (this.treeIndex = sc(n, r, this.treeIndex + Math.max(1, c), i), this.treeIndex < 0)
|
|
1043
1256
|
return this.result === 0 || // If we are parsing an attribute
|
|
1044
|
-
this.decodeMode ===
|
|
1257
|
+
this.decodeMode === bu.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
1045
1258
|
(c === 0 || // And there should be no invalid characters.
|
|
1046
|
-
|
|
1259
|
+
ic(i)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1047
1260
|
if (r = n[this.treeIndex], c = (r & _u.VALUE_LENGTH) >> 14, c !== 0) {
|
|
1048
|
-
if (i ===
|
|
1261
|
+
if (i === q.SEMI)
|
|
1049
1262
|
return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
|
|
1050
|
-
this.decodeMode !==
|
|
1263
|
+
this.decodeMode !== bu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
1051
1264
|
}
|
|
1052
1265
|
}
|
|
1053
1266
|
return -1;
|
|
@@ -1085,22 +1298,22 @@ class Vr {
|
|
|
1085
1298
|
end() {
|
|
1086
1299
|
var e;
|
|
1087
1300
|
switch (this.state) {
|
|
1088
|
-
case
|
|
1089
|
-
return this.result !== 0 && (this.decodeMode !==
|
|
1090
|
-
case
|
|
1301
|
+
case z.NamedEntity:
|
|
1302
|
+
return this.result !== 0 && (this.decodeMode !== bu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
1303
|
+
case z.NumericDecimal:
|
|
1091
1304
|
return this.emitNumericEntity(0, 2);
|
|
1092
|
-
case
|
|
1305
|
+
case z.NumericHex:
|
|
1093
1306
|
return this.emitNumericEntity(0, 3);
|
|
1094
|
-
case
|
|
1307
|
+
case z.NumericStart:
|
|
1095
1308
|
return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
1096
|
-
case
|
|
1309
|
+
case z.EntityStart:
|
|
1097
1310
|
return 0;
|
|
1098
1311
|
}
|
|
1099
1312
|
}
|
|
1100
1313
|
}
|
|
1101
|
-
function
|
|
1314
|
+
function Pt(u) {
|
|
1102
1315
|
let e = "";
|
|
1103
|
-
const t = new
|
|
1316
|
+
const t = new ac(u, (n) => e += tc(n));
|
|
1104
1317
|
return function(r, c) {
|
|
1105
1318
|
let i = 0, o = 0;
|
|
1106
1319
|
for (; (o = r.indexOf("&", o)) >= 0; ) {
|
|
@@ -1120,7 +1333,7 @@ function Ot(u) {
|
|
|
1120
1333
|
return e = "", a;
|
|
1121
1334
|
};
|
|
1122
1335
|
}
|
|
1123
|
-
function
|
|
1336
|
+
function sc(u, e, t, n) {
|
|
1124
1337
|
const r = (e & _u.BRANCH_LENGTH) >> 7, c = e & _u.JUMP_TABLE;
|
|
1125
1338
|
if (r === 0)
|
|
1126
1339
|
return c !== 0 && n === c ? t : -1;
|
|
@@ -1140,22 +1353,22 @@ function Yr(u, e, t, n) {
|
|
|
1140
1353
|
}
|
|
1141
1354
|
return -1;
|
|
1142
1355
|
}
|
|
1143
|
-
const
|
|
1144
|
-
|
|
1145
|
-
function
|
|
1146
|
-
return
|
|
1356
|
+
const lc = Pt(Kr);
|
|
1357
|
+
Pt(uc);
|
|
1358
|
+
function Bt(u, e = bu.Legacy) {
|
|
1359
|
+
return lc(u, e);
|
|
1147
1360
|
}
|
|
1148
|
-
function
|
|
1361
|
+
function fc(u) {
|
|
1149
1362
|
return Object.prototype.toString.call(u);
|
|
1150
1363
|
}
|
|
1151
1364
|
function h0(u) {
|
|
1152
|
-
return
|
|
1365
|
+
return fc(u) === "[object String]";
|
|
1153
1366
|
}
|
|
1154
|
-
const
|
|
1155
|
-
function
|
|
1156
|
-
return
|
|
1367
|
+
const dc = Object.prototype.hasOwnProperty;
|
|
1368
|
+
function pc(u, e) {
|
|
1369
|
+
return dc.call(u, e);
|
|
1157
1370
|
}
|
|
1158
|
-
function
|
|
1371
|
+
function we(u) {
|
|
1159
1372
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
1160
1373
|
if (t) {
|
|
1161
1374
|
if (typeof t != "object")
|
|
@@ -1166,10 +1379,10 @@ function Se(u) {
|
|
|
1166
1379
|
}
|
|
1167
1380
|
}), u;
|
|
1168
1381
|
}
|
|
1169
|
-
function
|
|
1382
|
+
function zt(u, e, t) {
|
|
1170
1383
|
return [].concat(u.slice(0, e), t, u.slice(e + 1));
|
|
1171
1384
|
}
|
|
1172
|
-
function
|
|
1385
|
+
function b0(u) {
|
|
1173
1386
|
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);
|
|
1174
1387
|
}
|
|
1175
1388
|
function Fe(u) {
|
|
@@ -1180,38 +1393,38 @@ function Fe(u) {
|
|
|
1180
1393
|
}
|
|
1181
1394
|
return String.fromCharCode(u);
|
|
1182
1395
|
}
|
|
1183
|
-
const
|
|
1184
|
-
function
|
|
1185
|
-
if (e.charCodeAt(0) === 35 &&
|
|
1396
|
+
const qt = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, hc = /&([a-z#][a-z0-9]{1,31});/gi, bc = new RegExp(qt.source + "|" + hc.source, "gi"), _c = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
1397
|
+
function mc(u, e) {
|
|
1398
|
+
if (e.charCodeAt(0) === 35 && _c.test(e)) {
|
|
1186
1399
|
const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
1187
|
-
return
|
|
1400
|
+
return b0(n) ? Fe(n) : u;
|
|
1188
1401
|
}
|
|
1189
|
-
const t =
|
|
1402
|
+
const t = Bt(u);
|
|
1190
1403
|
return t !== u ? t : u;
|
|
1191
1404
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return u.indexOf("\\") < 0 ? u : u.replace(
|
|
1405
|
+
function xc(u) {
|
|
1406
|
+
return u.indexOf("\\") < 0 ? u : u.replace(qt, "$1");
|
|
1194
1407
|
}
|
|
1195
|
-
function
|
|
1196
|
-
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(
|
|
1197
|
-
return t ||
|
|
1408
|
+
function qu(u) {
|
|
1409
|
+
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(bc, function(e, t, n) {
|
|
1410
|
+
return t || mc(e, n);
|
|
1198
1411
|
});
|
|
1199
1412
|
}
|
|
1200
|
-
const
|
|
1413
|
+
const gc = /[&<>"]/, kc = /[&<>"]/g, Ec = {
|
|
1201
1414
|
"&": "&",
|
|
1202
1415
|
"<": "<",
|
|
1203
1416
|
">": ">",
|
|
1204
1417
|
'"': """
|
|
1205
1418
|
};
|
|
1206
|
-
function
|
|
1207
|
-
return
|
|
1419
|
+
function Cc(u) {
|
|
1420
|
+
return Ec[u];
|
|
1208
1421
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return
|
|
1422
|
+
function gu(u) {
|
|
1423
|
+
return gc.test(u) ? u.replace(kc, Cc) : u;
|
|
1211
1424
|
}
|
|
1212
|
-
const
|
|
1213
|
-
function
|
|
1214
|
-
return u.replace(
|
|
1425
|
+
const Ac = /[.?*+^$[\]\\(){}|-]/g;
|
|
1426
|
+
function Dc(u) {
|
|
1427
|
+
return u.replace(Ac, "\\$&");
|
|
1215
1428
|
}
|
|
1216
1429
|
function w(u) {
|
|
1217
1430
|
switch (u) {
|
|
@@ -1221,7 +1434,7 @@ function w(u) {
|
|
|
1221
1434
|
}
|
|
1222
1435
|
return !1;
|
|
1223
1436
|
}
|
|
1224
|
-
function
|
|
1437
|
+
function re(u) {
|
|
1225
1438
|
if (u >= 8192 && u <= 8202)
|
|
1226
1439
|
return !0;
|
|
1227
1440
|
switch (u) {
|
|
@@ -1240,10 +1453,10 @@ function Qu(u) {
|
|
|
1240
1453
|
}
|
|
1241
1454
|
return !1;
|
|
1242
1455
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return
|
|
1456
|
+
function ce(u) {
|
|
1457
|
+
return p0.test(u) || Ot.test(u);
|
|
1245
1458
|
}
|
|
1246
|
-
function
|
|
1459
|
+
function oe(u) {
|
|
1247
1460
|
switch (u) {
|
|
1248
1461
|
case 33:
|
|
1249
1462
|
case 34:
|
|
@@ -1282,29 +1495,29 @@ function ue(u) {
|
|
|
1282
1495
|
return !1;
|
|
1283
1496
|
}
|
|
1284
1497
|
}
|
|
1285
|
-
function
|
|
1498
|
+
function ve(u) {
|
|
1286
1499
|
return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
|
|
1287
1500
|
}
|
|
1288
|
-
const
|
|
1501
|
+
const yc = { mdurl: Xr, ucmicro: Qr }, Fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1289
1502
|
__proto__: null,
|
|
1290
|
-
arrayReplaceAt:
|
|
1291
|
-
assign:
|
|
1292
|
-
escapeHtml:
|
|
1293
|
-
escapeRE:
|
|
1503
|
+
arrayReplaceAt: zt,
|
|
1504
|
+
assign: we,
|
|
1505
|
+
escapeHtml: gu,
|
|
1506
|
+
escapeRE: Dc,
|
|
1294
1507
|
fromCodePoint: Fe,
|
|
1295
|
-
has:
|
|
1296
|
-
isMdAsciiPunct:
|
|
1297
|
-
isPunctChar:
|
|
1508
|
+
has: pc,
|
|
1509
|
+
isMdAsciiPunct: oe,
|
|
1510
|
+
isPunctChar: ce,
|
|
1298
1511
|
isSpace: w,
|
|
1299
1512
|
isString: h0,
|
|
1300
|
-
isValidEntityCode:
|
|
1301
|
-
isWhiteSpace:
|
|
1302
|
-
lib:
|
|
1303
|
-
normalizeReference:
|
|
1304
|
-
unescapeAll:
|
|
1305
|
-
unescapeMd:
|
|
1513
|
+
isValidEntityCode: b0,
|
|
1514
|
+
isWhiteSpace: re,
|
|
1515
|
+
lib: yc,
|
|
1516
|
+
normalizeReference: ve,
|
|
1517
|
+
unescapeAll: qu,
|
|
1518
|
+
unescapeMd: xc
|
|
1306
1519
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1307
|
-
function
|
|
1520
|
+
function Tc(u, e, t) {
|
|
1308
1521
|
let n, r, c, i;
|
|
1309
1522
|
const o = u.posMax, a = u.pos;
|
|
1310
1523
|
for (u.pos = e + 1, n = 1; u.pos < o; ) {
|
|
@@ -1322,7 +1535,7 @@ function hc(u, e, t) {
|
|
|
1322
1535
|
let s = -1;
|
|
1323
1536
|
return r && (s = u.pos), u.pos = a, s;
|
|
1324
1537
|
}
|
|
1325
|
-
function
|
|
1538
|
+
function Sc(u, e, t) {
|
|
1326
1539
|
let n, r = e;
|
|
1327
1540
|
const c = {
|
|
1328
1541
|
ok: !1,
|
|
@@ -1334,7 +1547,7 @@ function pc(u, e, t) {
|
|
|
1334
1547
|
if (n = u.charCodeAt(r), n === 10 || n === 60)
|
|
1335
1548
|
return c;
|
|
1336
1549
|
if (n === 62)
|
|
1337
|
-
return c.pos = r + 1, c.str =
|
|
1550
|
+
return c.pos = r + 1, c.str = qu(u.slice(e + 1, r)), c.ok = !0, c;
|
|
1338
1551
|
if (n === 92 && r + 1 < t) {
|
|
1339
1552
|
r += 2;
|
|
1340
1553
|
continue;
|
|
@@ -1360,9 +1573,9 @@ function pc(u, e, t) {
|
|
|
1360
1573
|
}
|
|
1361
1574
|
r++;
|
|
1362
1575
|
}
|
|
1363
|
-
return e === r || i !== 0 || (c.str =
|
|
1576
|
+
return e === r || i !== 0 || (c.str = qu(u.slice(e, r)), c.pos = r, c.ok = !0), c;
|
|
1364
1577
|
}
|
|
1365
|
-
function
|
|
1578
|
+
function wc(u, e, t, n) {
|
|
1366
1579
|
let r, c = e;
|
|
1367
1580
|
const i = {
|
|
1368
1581
|
// if `true`, this is a valid link title
|
|
@@ -1388,37 +1601,37 @@ function bc(u, e, t, n) {
|
|
|
1388
1601
|
}
|
|
1389
1602
|
for (; c < t; ) {
|
|
1390
1603
|
if (r = u.charCodeAt(c), r === i.marker)
|
|
1391
|
-
return i.pos = c + 1, i.str +=
|
|
1604
|
+
return i.pos = c + 1, i.str += qu(u.slice(e, c)), i.ok = !0, i;
|
|
1392
1605
|
if (r === 40 && i.marker === 41)
|
|
1393
1606
|
return i;
|
|
1394
1607
|
r === 92 && c + 1 < t && c++, c++;
|
|
1395
1608
|
}
|
|
1396
|
-
return i.can_continue = !0, i.str +=
|
|
1609
|
+
return i.can_continue = !0, i.str += qu(u.slice(e, c)), i;
|
|
1397
1610
|
}
|
|
1398
|
-
const
|
|
1611
|
+
const vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1399
1612
|
__proto__: null,
|
|
1400
|
-
parseLinkDestination:
|
|
1401
|
-
parseLinkLabel:
|
|
1402
|
-
parseLinkTitle:
|
|
1403
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1404
|
-
|
|
1613
|
+
parseLinkDestination: Sc,
|
|
1614
|
+
parseLinkLabel: Tc,
|
|
1615
|
+
parseLinkTitle: wc
|
|
1616
|
+
}, Symbol.toStringTag, { value: "Module" })), iu = {};
|
|
1617
|
+
iu.code_inline = function(u, e, t, n, r) {
|
|
1405
1618
|
const c = u[e];
|
|
1406
|
-
return "<code" + r.renderAttrs(c) + ">" +
|
|
1619
|
+
return "<code" + r.renderAttrs(c) + ">" + gu(c.content) + "</code>";
|
|
1407
1620
|
};
|
|
1408
|
-
|
|
1621
|
+
iu.code_block = function(u, e, t, n, r) {
|
|
1409
1622
|
const c = u[e];
|
|
1410
|
-
return "<pre" + r.renderAttrs(c) + "><code>" +
|
|
1623
|
+
return "<pre" + r.renderAttrs(c) + "><code>" + gu(u[e].content) + `</code></pre>
|
|
1411
1624
|
`;
|
|
1412
1625
|
};
|
|
1413
|
-
|
|
1414
|
-
const c = u[e], i = c.info ?
|
|
1626
|
+
iu.fence = function(u, e, t, n, r) {
|
|
1627
|
+
const c = u[e], i = c.info ? qu(c.info).trim() : "";
|
|
1415
1628
|
let o = "", a = "";
|
|
1416
1629
|
if (i) {
|
|
1417
1630
|
const f = i.split(/(\s+)/g);
|
|
1418
1631
|
o = f[0], a = f.slice(2).join("");
|
|
1419
1632
|
}
|
|
1420
1633
|
let s;
|
|
1421
|
-
if (t.highlight ? s = t.highlight(c.content, o, a) ||
|
|
1634
|
+
if (t.highlight ? s = t.highlight(c.content, o, a) || gu(c.content) : s = gu(c.content), s.indexOf("<pre") === 0)
|
|
1422
1635
|
return s + `
|
|
1423
1636
|
`;
|
|
1424
1637
|
if (i) {
|
|
@@ -1433,42 +1646,42 @@ ou.fence = function(u, e, t, n, r) {
|
|
|
1433
1646
|
return `<pre><code${r.renderAttrs(c)}>${s}</code></pre>
|
|
1434
1647
|
`;
|
|
1435
1648
|
};
|
|
1436
|
-
|
|
1649
|
+
iu.image = function(u, e, t, n, r) {
|
|
1437
1650
|
const c = u[e];
|
|
1438
1651
|
return c.attrs[c.attrIndex("alt")][1] = r.renderInlineAsText(c.children, t, n), r.renderToken(u, e, t);
|
|
1439
1652
|
};
|
|
1440
|
-
|
|
1653
|
+
iu.hardbreak = function(u, e, t) {
|
|
1441
1654
|
return t.xhtmlOut ? `<br />
|
|
1442
1655
|
` : `<br>
|
|
1443
1656
|
`;
|
|
1444
1657
|
};
|
|
1445
|
-
|
|
1658
|
+
iu.softbreak = function(u, e, t) {
|
|
1446
1659
|
return t.breaks ? t.xhtmlOut ? `<br />
|
|
1447
1660
|
` : `<br>
|
|
1448
1661
|
` : `
|
|
1449
1662
|
`;
|
|
1450
1663
|
};
|
|
1451
|
-
|
|
1452
|
-
return
|
|
1664
|
+
iu.text = function(u, e) {
|
|
1665
|
+
return gu(u[e].content);
|
|
1453
1666
|
};
|
|
1454
|
-
|
|
1667
|
+
iu.html_block = function(u, e) {
|
|
1455
1668
|
return u[e].content;
|
|
1456
1669
|
};
|
|
1457
|
-
|
|
1670
|
+
iu.html_inline = function(u, e) {
|
|
1458
1671
|
return u[e].content;
|
|
1459
1672
|
};
|
|
1460
|
-
function
|
|
1461
|
-
this.rules =
|
|
1673
|
+
function Hu() {
|
|
1674
|
+
this.rules = we({}, iu);
|
|
1462
1675
|
}
|
|
1463
|
-
|
|
1676
|
+
Hu.prototype.renderAttrs = function(e) {
|
|
1464
1677
|
let t, n, r;
|
|
1465
1678
|
if (!e.attrs)
|
|
1466
1679
|
return "";
|
|
1467
1680
|
for (r = "", t = 0, n = e.attrs.length; t < n; t++)
|
|
1468
|
-
r += " " +
|
|
1681
|
+
r += " " + gu(e.attrs[t][0]) + '="' + gu(e.attrs[t][1]) + '"';
|
|
1469
1682
|
return r;
|
|
1470
1683
|
};
|
|
1471
|
-
|
|
1684
|
+
Hu.prototype.renderToken = function(e, t, n) {
|
|
1472
1685
|
const r = e[t];
|
|
1473
1686
|
let c = "";
|
|
1474
1687
|
if (r.hidden)
|
|
@@ -1483,7 +1696,7 @@ qu.prototype.renderToken = function(e, t, n) {
|
|
|
1483
1696
|
return c += i ? `>
|
|
1484
1697
|
` : ">", c;
|
|
1485
1698
|
};
|
|
1486
|
-
|
|
1699
|
+
Hu.prototype.renderInline = function(u, e, t) {
|
|
1487
1700
|
let n = "";
|
|
1488
1701
|
const r = this.rules;
|
|
1489
1702
|
for (let c = 0, i = u.length; c < i; c++) {
|
|
@@ -1492,7 +1705,7 @@ qu.prototype.renderInline = function(u, e, t) {
|
|
|
1492
1705
|
}
|
|
1493
1706
|
return n;
|
|
1494
1707
|
};
|
|
1495
|
-
|
|
1708
|
+
Hu.prototype.renderInlineAsText = function(u, e, t) {
|
|
1496
1709
|
let n = "";
|
|
1497
1710
|
for (let r = 0, c = u.length; r < c; r++)
|
|
1498
1711
|
switch (u[r].type) {
|
|
@@ -1514,7 +1727,7 @@ qu.prototype.renderInlineAsText = function(u, e, t) {
|
|
|
1514
1727
|
}
|
|
1515
1728
|
return n;
|
|
1516
1729
|
};
|
|
1517
|
-
|
|
1730
|
+
Hu.prototype.render = function(u, e, t) {
|
|
1518
1731
|
let n = "";
|
|
1519
1732
|
const r = this.rules;
|
|
1520
1733
|
for (let c = 0, i = u.length; c < i; c++) {
|
|
@@ -1643,34 +1856,34 @@ eu.prototype.attrJoin = function(e, t) {
|
|
|
1643
1856
|
const n = this.attrIndex(e);
|
|
1644
1857
|
n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
1645
1858
|
};
|
|
1646
|
-
function
|
|
1859
|
+
function Ut(u, e, t) {
|
|
1647
1860
|
this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
1648
1861
|
}
|
|
1649
|
-
|
|
1650
|
-
const
|
|
1651
|
-
function
|
|
1862
|
+
Ut.prototype.Token = eu;
|
|
1863
|
+
const Rc = /\r\n?|\n/g, Mc = /\0/g;
|
|
1864
|
+
function Ic(u) {
|
|
1652
1865
|
let e;
|
|
1653
|
-
e = u.src.replace(
|
|
1654
|
-
`), e = e.replace(
|
|
1866
|
+
e = u.src.replace(Rc, `
|
|
1867
|
+
`), e = e.replace(Mc, "�"), u.src = e;
|
|
1655
1868
|
}
|
|
1656
|
-
function
|
|
1869
|
+
function Lc(u) {
|
|
1657
1870
|
let e;
|
|
1658
1871
|
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);
|
|
1659
1872
|
}
|
|
1660
|
-
function
|
|
1873
|
+
function Oc(u) {
|
|
1661
1874
|
const e = u.tokens;
|
|
1662
1875
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
1663
1876
|
const r = e[t];
|
|
1664
1877
|
r.type === "inline" && u.md.inline.parse(r.content, u.md, u.env, r.children);
|
|
1665
1878
|
}
|
|
1666
1879
|
}
|
|
1667
|
-
function
|
|
1880
|
+
function Nc(u) {
|
|
1668
1881
|
return /^<a[>\s]/i.test(u);
|
|
1669
1882
|
}
|
|
1670
|
-
function
|
|
1883
|
+
function Pc(u) {
|
|
1671
1884
|
return /^<\/a\s*>/i.test(u);
|
|
1672
1885
|
}
|
|
1673
|
-
function
|
|
1886
|
+
function Bc(u) {
|
|
1674
1887
|
const e = u.tokens;
|
|
1675
1888
|
if (u.md.options.linkify)
|
|
1676
1889
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
@@ -1684,72 +1897,72 @@ function Dc(u) {
|
|
|
1684
1897
|
i--;
|
|
1685
1898
|
continue;
|
|
1686
1899
|
}
|
|
1687
|
-
if (o.type === "html_inline" && (
|
|
1900
|
+
if (o.type === "html_inline" && (Nc(o.content) && c > 0 && c--, Pc(o.content) && c++), !(c > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
|
|
1688
1901
|
const a = o.content;
|
|
1689
1902
|
let s = u.md.linkify.match(a);
|
|
1690
1903
|
const f = [];
|
|
1691
1904
|
let d = o.level, _ = 0;
|
|
1692
1905
|
s.length > 0 && s[0].index === 0 && i > 0 && r[i - 1].type === "text_special" && (s = s.slice(1));
|
|
1693
|
-
for (let
|
|
1694
|
-
const
|
|
1695
|
-
if (!u.md.validateLink(
|
|
1906
|
+
for (let h = 0; h < s.length; h++) {
|
|
1907
|
+
const p = s[h].url, A = u.md.normalizeLink(p);
|
|
1908
|
+
if (!u.md.validateLink(A))
|
|
1696
1909
|
continue;
|
|
1697
|
-
let D = s[
|
|
1698
|
-
s[
|
|
1699
|
-
const
|
|
1700
|
-
if (
|
|
1701
|
-
const
|
|
1702
|
-
|
|
1910
|
+
let D = s[h].text;
|
|
1911
|
+
s[h].schema ? s[h].schema === "mailto:" && !/^mailto:/i.test(D) ? D = u.md.normalizeLinkText("mailto:" + D).replace(/^mailto:/, "") : D = u.md.normalizeLinkText(D) : D = u.md.normalizeLinkText("http://" + D).replace(/^http:\/\//, "");
|
|
1912
|
+
const S = s[h].index;
|
|
1913
|
+
if (S > _) {
|
|
1914
|
+
const C = new u.Token("text", "", 0);
|
|
1915
|
+
C.content = a.slice(_, S), C.level = d, f.push(C);
|
|
1703
1916
|
}
|
|
1704
1917
|
const E = new u.Token("link_open", "a", 1);
|
|
1705
|
-
E.attrs = [["href",
|
|
1918
|
+
E.attrs = [["href", A]], E.level = d++, E.markup = "linkify", E.info = "auto", f.push(E);
|
|
1706
1919
|
const k = new u.Token("text", "", 0);
|
|
1707
1920
|
k.content = D, k.level = d, f.push(k);
|
|
1708
1921
|
const m = new u.Token("link_close", "a", -1);
|
|
1709
|
-
m.level = --d, m.markup = "linkify", m.info = "auto", f.push(m), _ = s[
|
|
1922
|
+
m.level = --d, m.markup = "linkify", m.info = "auto", f.push(m), _ = s[h].lastIndex;
|
|
1710
1923
|
}
|
|
1711
1924
|
if (_ < a.length) {
|
|
1712
|
-
const
|
|
1713
|
-
|
|
1925
|
+
const h = new u.Token("text", "", 0);
|
|
1926
|
+
h.content = a.slice(_), h.level = d, f.push(h);
|
|
1714
1927
|
}
|
|
1715
|
-
e[t].children = r =
|
|
1928
|
+
e[t].children = r = zt(r, i, f);
|
|
1716
1929
|
}
|
|
1717
1930
|
}
|
|
1718
1931
|
}
|
|
1719
1932
|
}
|
|
1720
|
-
const
|
|
1933
|
+
const Ht = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, zc = /\((c|tm|r)\)/i, qc = /\((c|tm|r)\)/ig, Uc = {
|
|
1721
1934
|
c: "©",
|
|
1722
1935
|
r: "®",
|
|
1723
1936
|
tm: "™"
|
|
1724
1937
|
};
|
|
1725
|
-
function
|
|
1726
|
-
return
|
|
1938
|
+
function Hc(u, e) {
|
|
1939
|
+
return Uc[e.toLowerCase()];
|
|
1727
1940
|
}
|
|
1728
|
-
function
|
|
1941
|
+
function $c(u) {
|
|
1729
1942
|
let e = 0;
|
|
1730
1943
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1731
1944
|
const n = u[t];
|
|
1732
|
-
n.type === "text" && !e && (n.content = n.content.replace(
|
|
1945
|
+
n.type === "text" && !e && (n.content = n.content.replace(qc, Hc)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1733
1946
|
}
|
|
1734
1947
|
}
|
|
1735
|
-
function
|
|
1948
|
+
function jc(u) {
|
|
1736
1949
|
let e = 0;
|
|
1737
1950
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1738
1951
|
const n = u[t];
|
|
1739
|
-
n.type === "text" && !e &&
|
|
1952
|
+
n.type === "text" && !e && Ht.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1740
1953
|
}
|
|
1741
1954
|
}
|
|
1742
|
-
function
|
|
1955
|
+
function Gc(u) {
|
|
1743
1956
|
let e;
|
|
1744
1957
|
if (u.md.options.typographer)
|
|
1745
1958
|
for (e = u.tokens.length - 1; e >= 0; e--)
|
|
1746
|
-
u.tokens[e].type === "inline" && (
|
|
1959
|
+
u.tokens[e].type === "inline" && (zc.test(u.tokens[e].content) && $c(u.tokens[e].children), Ht.test(u.tokens[e].content) && jc(u.tokens[e].children));
|
|
1747
1960
|
}
|
|
1748
|
-
const
|
|
1749
|
-
function
|
|
1961
|
+
const Wc = /['"]/, ft = /['"]/g, dt = "’";
|
|
1962
|
+
function Ee(u, e, t) {
|
|
1750
1963
|
return u.slice(0, e) + t + u.slice(e + 1);
|
|
1751
1964
|
}
|
|
1752
|
-
function
|
|
1965
|
+
function Zc(u, e) {
|
|
1753
1966
|
let t;
|
|
1754
1967
|
const n = [];
|
|
1755
1968
|
for (let r = 0; r < u.length; r++) {
|
|
@@ -1767,28 +1980,28 @@ function Mc(u, e) {
|
|
|
1767
1980
|
break;
|
|
1768
1981
|
let d = !0, _ = !0;
|
|
1769
1982
|
a = f.index + 1;
|
|
1770
|
-
const
|
|
1771
|
-
let
|
|
1983
|
+
const h = f[0] === "'";
|
|
1984
|
+
let p = 32;
|
|
1772
1985
|
if (f.index - 1 >= 0)
|
|
1773
|
-
|
|
1986
|
+
p = o.charCodeAt(f.index - 1);
|
|
1774
1987
|
else
|
|
1775
1988
|
for (t = r - 1; t >= 0 && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t--)
|
|
1776
1989
|
if (u[t].content) {
|
|
1777
|
-
|
|
1990
|
+
p = u[t].content.charCodeAt(u[t].content.length - 1);
|
|
1778
1991
|
break;
|
|
1779
1992
|
}
|
|
1780
|
-
let
|
|
1993
|
+
let A = 32;
|
|
1781
1994
|
if (a < s)
|
|
1782
|
-
|
|
1995
|
+
A = o.charCodeAt(a);
|
|
1783
1996
|
else
|
|
1784
1997
|
for (t = r + 1; t < u.length && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t++)
|
|
1785
1998
|
if (u[t].content) {
|
|
1786
|
-
|
|
1999
|
+
A = u[t].content.charCodeAt(0);
|
|
1787
2000
|
break;
|
|
1788
2001
|
}
|
|
1789
|
-
const D =
|
|
1790
|
-
if (k ? d = !1 :
|
|
1791
|
-
|
|
2002
|
+
const D = oe(p) || ce(String.fromCharCode(p)), S = oe(A) || ce(String.fromCharCode(A)), E = re(p), k = re(A);
|
|
2003
|
+
if (k ? d = !1 : S && (E || D || (d = !1)), E ? _ = !1 : D && (k || S || (_ = !1)), A === 34 && f[0] === '"' && p >= 48 && p <= 57 && (_ = d = !1), d && _ && (d = D, _ = S), !d && !_) {
|
|
2004
|
+
h && (c.content = Ee(c.content, f.index, dt));
|
|
1792
2005
|
continue;
|
|
1793
2006
|
}
|
|
1794
2007
|
if (_)
|
|
@@ -1796,32 +2009,32 @@ function Mc(u, e) {
|
|
|
1796
2009
|
let m = n[t];
|
|
1797
2010
|
if (n[t].level < i)
|
|
1798
2011
|
break;
|
|
1799
|
-
if (m.single ===
|
|
2012
|
+
if (m.single === h && n[t].level === i) {
|
|
1800
2013
|
m = n[t];
|
|
1801
|
-
let
|
|
1802
|
-
|
|
2014
|
+
let C, y;
|
|
2015
|
+
h ? (C = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (C = e.md.options.quotes[0], y = e.md.options.quotes[1]), c.content = Ee(c.content, f.index, y), u[m.token].content = Ee(
|
|
1803
2016
|
u[m.token].content,
|
|
1804
2017
|
m.pos,
|
|
1805
|
-
|
|
1806
|
-
), a += y.length - 1, m.token === r && (a +=
|
|
2018
|
+
C
|
|
2019
|
+
), a += y.length - 1, m.token === r && (a += C.length - 1), o = c.content, s = o.length, n.length = t;
|
|
1807
2020
|
continue u;
|
|
1808
2021
|
}
|
|
1809
2022
|
}
|
|
1810
2023
|
d ? n.push({
|
|
1811
2024
|
token: r,
|
|
1812
2025
|
pos: f.index,
|
|
1813
|
-
single:
|
|
2026
|
+
single: h,
|
|
1814
2027
|
level: i
|
|
1815
|
-
}) : _ &&
|
|
2028
|
+
}) : _ && h && (c.content = Ee(c.content, f.index, dt));
|
|
1816
2029
|
}
|
|
1817
2030
|
}
|
|
1818
2031
|
}
|
|
1819
|
-
function
|
|
2032
|
+
function Vc(u) {
|
|
1820
2033
|
if (u.md.options.typographer)
|
|
1821
2034
|
for (let e = u.tokens.length - 1; e >= 0; e--)
|
|
1822
|
-
u.tokens[e].type !== "inline" || !
|
|
2035
|
+
u.tokens[e].type !== "inline" || !Wc.test(u.tokens[e].content) || Zc(u.tokens[e].children, u);
|
|
1823
2036
|
}
|
|
1824
|
-
function
|
|
2037
|
+
function Yc(u) {
|
|
1825
2038
|
let e, t;
|
|
1826
2039
|
const n = u.tokens, r = n.length;
|
|
1827
2040
|
for (let c = 0; c < r; c++) {
|
|
@@ -1834,29 +2047,29 @@ function Oc(u) {
|
|
|
1834
2047
|
e !== t && (i.length = t);
|
|
1835
2048
|
}
|
|
1836
2049
|
}
|
|
1837
|
-
const
|
|
1838
|
-
["normalize",
|
|
1839
|
-
["block",
|
|
1840
|
-
["inline",
|
|
1841
|
-
["linkify",
|
|
1842
|
-
["replacements",
|
|
1843
|
-
["smartquotes",
|
|
2050
|
+
const Je = [
|
|
2051
|
+
["normalize", Ic],
|
|
2052
|
+
["block", Lc],
|
|
2053
|
+
["inline", Oc],
|
|
2054
|
+
["linkify", Bc],
|
|
2055
|
+
["replacements", Gc],
|
|
2056
|
+
["smartquotes", Vc],
|
|
1844
2057
|
// `text_join` finds `text_special` tokens (for escape sequences)
|
|
1845
2058
|
// and joins them with the rest of the text
|
|
1846
|
-
["text_join",
|
|
2059
|
+
["text_join", Yc]
|
|
1847
2060
|
];
|
|
1848
|
-
function
|
|
2061
|
+
function _0() {
|
|
1849
2062
|
this.ruler = new V();
|
|
1850
|
-
for (let u = 0; u <
|
|
1851
|
-
this.ruler.push(
|
|
2063
|
+
for (let u = 0; u < Je.length; u++)
|
|
2064
|
+
this.ruler.push(Je[u][0], Je[u][1]);
|
|
1852
2065
|
}
|
|
1853
|
-
|
|
2066
|
+
_0.prototype.process = function(u) {
|
|
1854
2067
|
const e = this.ruler.getRules("");
|
|
1855
2068
|
for (let t = 0, n = e.length; t < n; t++)
|
|
1856
2069
|
e[t](u);
|
|
1857
2070
|
};
|
|
1858
|
-
|
|
1859
|
-
function
|
|
2071
|
+
_0.prototype.State = Ut;
|
|
2072
|
+
function au(u, e, t, n) {
|
|
1860
2073
|
this.src = u, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
|
|
1861
2074
|
const r = this.src;
|
|
1862
2075
|
for (let c = 0, i = 0, o = 0, a = 0, s = r.length, f = !1; i < s; i++) {
|
|
@@ -1871,19 +2084,19 @@ function iu(u, e, t, n) {
|
|
|
1871
2084
|
}
|
|
1872
2085
|
this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
1873
2086
|
}
|
|
1874
|
-
|
|
2087
|
+
au.prototype.push = function(u, e, t) {
|
|
1875
2088
|
const n = new eu(u, e, t);
|
|
1876
2089
|
return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
|
|
1877
2090
|
};
|
|
1878
|
-
|
|
2091
|
+
au.prototype.isEmpty = function(e) {
|
|
1879
2092
|
return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
|
|
1880
2093
|
};
|
|
1881
|
-
|
|
2094
|
+
au.prototype.skipEmptyLines = function(e) {
|
|
1882
2095
|
for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++)
|
|
1883
2096
|
;
|
|
1884
2097
|
return e;
|
|
1885
2098
|
};
|
|
1886
|
-
|
|
2099
|
+
au.prototype.skipSpaces = function(e) {
|
|
1887
2100
|
for (let t = this.src.length; e < t; e++) {
|
|
1888
2101
|
const n = this.src.charCodeAt(e);
|
|
1889
2102
|
if (!w(n))
|
|
@@ -1891,7 +2104,7 @@ iu.prototype.skipSpaces = function(e) {
|
|
|
1891
2104
|
}
|
|
1892
2105
|
return e;
|
|
1893
2106
|
};
|
|
1894
|
-
|
|
2107
|
+
au.prototype.skipSpacesBack = function(e, t) {
|
|
1895
2108
|
if (e <= t)
|
|
1896
2109
|
return e;
|
|
1897
2110
|
for (; e > t; )
|
|
@@ -1899,12 +2112,12 @@ iu.prototype.skipSpacesBack = function(e, t) {
|
|
|
1899
2112
|
return e + 1;
|
|
1900
2113
|
return e;
|
|
1901
2114
|
};
|
|
1902
|
-
|
|
2115
|
+
au.prototype.skipChars = function(e, t) {
|
|
1903
2116
|
for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++)
|
|
1904
2117
|
;
|
|
1905
2118
|
return e;
|
|
1906
2119
|
};
|
|
1907
|
-
|
|
2120
|
+
au.prototype.skipCharsBack = function(e, t, n) {
|
|
1908
2121
|
if (e <= n)
|
|
1909
2122
|
return e;
|
|
1910
2123
|
for (; e > n; )
|
|
@@ -1912,7 +2125,7 @@ iu.prototype.skipCharsBack = function(e, t, n) {
|
|
|
1912
2125
|
return e + 1;
|
|
1913
2126
|
return e;
|
|
1914
2127
|
};
|
|
1915
|
-
|
|
2128
|
+
au.prototype.getLines = function(e, t, n, r) {
|
|
1916
2129
|
if (e >= t)
|
|
1917
2130
|
return "";
|
|
1918
2131
|
const c = new Array(t - e);
|
|
@@ -1934,20 +2147,20 @@ iu.prototype.getLines = function(e, t, n, r) {
|
|
|
1934
2147
|
}
|
|
1935
2148
|
return c.join("");
|
|
1936
2149
|
};
|
|
1937
|
-
|
|
1938
|
-
const
|
|
1939
|
-
function
|
|
2150
|
+
au.prototype.Token = eu;
|
|
2151
|
+
const Xc = 65536;
|
|
2152
|
+
function Qe(u, e) {
|
|
1940
2153
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1941
2154
|
return u.src.slice(t, n);
|
|
1942
2155
|
}
|
|
1943
|
-
function
|
|
2156
|
+
function pt(u) {
|
|
1944
2157
|
const e = [], t = u.length;
|
|
1945
2158
|
let n = 0, r = u.charCodeAt(n), c = !1, i = 0, o = "";
|
|
1946
2159
|
for (; n < t; )
|
|
1947
2160
|
r === 124 && (c ? (o += u.substring(i, n - 1), i = n) : (e.push(o + u.substring(i, n)), o = "", i = n + 1)), c = r === 92, n++, r = u.charCodeAt(n);
|
|
1948
2161
|
return e.push(o + u.substring(i)), e;
|
|
1949
2162
|
}
|
|
1950
|
-
function
|
|
2163
|
+
function Jc(u, e, t, n) {
|
|
1951
2164
|
if (e + 2 > t)
|
|
1952
2165
|
return !1;
|
|
1953
2166
|
let r = e + 1;
|
|
@@ -1968,22 +2181,22 @@ function Pc(u, e, t, n) {
|
|
|
1968
2181
|
return !1;
|
|
1969
2182
|
c++;
|
|
1970
2183
|
}
|
|
1971
|
-
let a =
|
|
2184
|
+
let a = Qe(u, e + 1), s = a.split("|");
|
|
1972
2185
|
const f = [];
|
|
1973
2186
|
for (let m = 0; m < s.length; m++) {
|
|
1974
|
-
const
|
|
1975
|
-
if (!
|
|
2187
|
+
const C = s[m].trim();
|
|
2188
|
+
if (!C) {
|
|
1976
2189
|
if (m === 0 || m === s.length - 1)
|
|
1977
2190
|
continue;
|
|
1978
2191
|
return !1;
|
|
1979
2192
|
}
|
|
1980
|
-
if (!/^:?-+:?$/.test(
|
|
2193
|
+
if (!/^:?-+:?$/.test(C))
|
|
1981
2194
|
return !1;
|
|
1982
|
-
|
|
2195
|
+
C.charCodeAt(C.length - 1) === 58 ? f.push(C.charCodeAt(0) === 58 ? "center" : "right") : C.charCodeAt(0) === 58 ? f.push("left") : f.push("");
|
|
1983
2196
|
}
|
|
1984
|
-
if (a =
|
|
2197
|
+
if (a = Qe(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
1985
2198
|
return !1;
|
|
1986
|
-
s =
|
|
2199
|
+
s = pt(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
|
|
1987
2200
|
const d = s.length;
|
|
1988
2201
|
if (d === 0 || d !== f.length)
|
|
1989
2202
|
return !1;
|
|
@@ -1991,15 +2204,15 @@ function Pc(u, e, t, n) {
|
|
|
1991
2204
|
return !0;
|
|
1992
2205
|
const _ = u.parentType;
|
|
1993
2206
|
u.parentType = "table";
|
|
1994
|
-
const
|
|
1995
|
-
|
|
2207
|
+
const h = u.md.block.ruler.getRules("blockquote"), p = u.push("table_open", "table", 1), A = [e, 0];
|
|
2208
|
+
p.map = A;
|
|
1996
2209
|
const D = u.push("thead_open", "thead", 1);
|
|
1997
2210
|
D.map = [e, e + 1];
|
|
1998
|
-
const
|
|
1999
|
-
|
|
2211
|
+
const S = u.push("tr_open", "tr", 1);
|
|
2212
|
+
S.map = [e, e + 1];
|
|
2000
2213
|
for (let m = 0; m < s.length; m++) {
|
|
2001
|
-
const
|
|
2002
|
-
f[m] && (
|
|
2214
|
+
const C = u.push("th_open", "th", 1);
|
|
2215
|
+
f[m] && (C.attrs = [["style", "text-align:" + f[m]]]);
|
|
2003
2216
|
const y = u.push("inline", "", 0);
|
|
2004
2217
|
y.content = s[m].trim(), y.children = [], u.push("th_close", "th", -1);
|
|
2005
2218
|
}
|
|
@@ -2007,30 +2220,30 @@ function Pc(u, e, t, n) {
|
|
|
2007
2220
|
let E, k = 0;
|
|
2008
2221
|
for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
|
|
2009
2222
|
let m = !1;
|
|
2010
|
-
for (let y = 0,
|
|
2011
|
-
if (
|
|
2223
|
+
for (let y = 0, L = h.length; y < L; y++)
|
|
2224
|
+
if (h[y](u, r, t, !0)) {
|
|
2012
2225
|
m = !0;
|
|
2013
2226
|
break;
|
|
2014
2227
|
}
|
|
2015
|
-
if (m || (a =
|
|
2228
|
+
if (m || (a = Qe(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = pt(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), k += d - s.length, k > Xc))
|
|
2016
2229
|
break;
|
|
2017
2230
|
if (r === e + 2) {
|
|
2018
2231
|
const y = u.push("tbody_open", "tbody", 1);
|
|
2019
2232
|
y.map = E = [e + 2, 0];
|
|
2020
2233
|
}
|
|
2021
|
-
const
|
|
2022
|
-
|
|
2234
|
+
const C = u.push("tr_open", "tr", 1);
|
|
2235
|
+
C.map = [r, r + 1];
|
|
2023
2236
|
for (let y = 0; y < d; y++) {
|
|
2024
|
-
const
|
|
2025
|
-
f[y] && (
|
|
2237
|
+
const L = u.push("td_open", "td", 1);
|
|
2238
|
+
f[y] && (L.attrs = [["style", "text-align:" + f[y]]]);
|
|
2026
2239
|
const Y = u.push("inline", "", 0);
|
|
2027
2240
|
Y.content = s[y] ? s[y].trim() : "", Y.children = [], u.push("td_close", "td", -1);
|
|
2028
2241
|
}
|
|
2029
2242
|
u.push("tr_close", "tr", -1);
|
|
2030
2243
|
}
|
|
2031
|
-
return E && (u.push("tbody_close", "tbody", -1), E[1] = r), u.push("table_close", "table", -1),
|
|
2244
|
+
return E && (u.push("tbody_close", "tbody", -1), E[1] = r), u.push("table_close", "table", -1), A[1] = r, u.parentType = _, u.line = r, !0;
|
|
2032
2245
|
}
|
|
2033
|
-
function
|
|
2246
|
+
function Qc(u, e, t) {
|
|
2034
2247
|
if (u.sCount[e] - u.blkIndent < 4)
|
|
2035
2248
|
return !1;
|
|
2036
2249
|
let n = e + 1, r = n;
|
|
@@ -2050,7 +2263,7 @@ function Bc(u, e, t) {
|
|
|
2050
2263
|
return c.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
|
|
2051
2264
|
`, c.map = [e, u.line], !0;
|
|
2052
2265
|
}
|
|
2053
|
-
function
|
|
2266
|
+
function Kc(u, e, t, n) {
|
|
2054
2267
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
2055
2268
|
if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > c)
|
|
2056
2269
|
return !1;
|
|
@@ -2074,10 +2287,10 @@ function zc(u, e, t, n) {
|
|
|
2074
2287
|
break;
|
|
2075
2288
|
}
|
|
2076
2289
|
a = u.sCount[e], u.line = d + (_ ? 1 : 0);
|
|
2077
|
-
const
|
|
2078
|
-
return
|
|
2290
|
+
const h = u.push("fence", "code", 0);
|
|
2291
|
+
return h.info = f, h.content = u.getLines(e + 1, d, a, !0), h.markup = s, h.map = [e, u.line], !0;
|
|
2079
2292
|
}
|
|
2080
|
-
function
|
|
2293
|
+
function uo(u, e, t, n) {
|
|
2081
2294
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
2082
2295
|
const i = u.lineMax;
|
|
2083
2296
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
|
|
@@ -2086,53 +2299,53 @@ function qc(u, e, t, n) {
|
|
|
2086
2299
|
return !0;
|
|
2087
2300
|
const o = [], a = [], s = [], f = [], d = u.md.block.ruler.getRules("blockquote"), _ = u.parentType;
|
|
2088
2301
|
u.parentType = "blockquote";
|
|
2089
|
-
let
|
|
2090
|
-
for (
|
|
2091
|
-
const k = u.sCount[
|
|
2092
|
-
if (r = u.bMarks[
|
|
2302
|
+
let h = !1, p;
|
|
2303
|
+
for (p = e; p < t; p++) {
|
|
2304
|
+
const k = u.sCount[p] < u.blkIndent;
|
|
2305
|
+
if (r = u.bMarks[p] + u.tShift[p], c = u.eMarks[p], r >= c)
|
|
2093
2306
|
break;
|
|
2094
2307
|
if (u.src.charCodeAt(r++) === 62 && !k) {
|
|
2095
|
-
let
|
|
2096
|
-
u.src.charCodeAt(r) === 32 ? (r++,
|
|
2097
|
-
let Y =
|
|
2098
|
-
for (o.push(u.bMarks[
|
|
2308
|
+
let C = u.sCount[p] + 1, y, L;
|
|
2309
|
+
u.src.charCodeAt(r) === 32 ? (r++, C++, L = !1, y = !0) : u.src.charCodeAt(r) === 9 ? (y = !0, (u.bsCount[p] + C) % 4 === 3 ? (r++, C++, L = !1) : L = !0) : y = !1;
|
|
2310
|
+
let Y = C;
|
|
2311
|
+
for (o.push(u.bMarks[p]), u.bMarks[p] = r; r < c; ) {
|
|
2099
2312
|
const tu = u.src.charCodeAt(r);
|
|
2100
2313
|
if (w(tu))
|
|
2101
|
-
tu === 9 ? Y += 4 - (Y + u.bsCount[
|
|
2314
|
+
tu === 9 ? Y += 4 - (Y + u.bsCount[p] + (L ? 1 : 0)) % 4 : Y++;
|
|
2102
2315
|
else
|
|
2103
2316
|
break;
|
|
2104
2317
|
r++;
|
|
2105
2318
|
}
|
|
2106
|
-
|
|
2319
|
+
h = r >= c, a.push(u.bsCount[p]), u.bsCount[p] = u.sCount[p] + 1 + (y ? 1 : 0), s.push(u.sCount[p]), u.sCount[p] = Y - C, f.push(u.tShift[p]), u.tShift[p] = r - u.bMarks[p];
|
|
2107
2320
|
continue;
|
|
2108
2321
|
}
|
|
2109
|
-
if (
|
|
2322
|
+
if (h)
|
|
2110
2323
|
break;
|
|
2111
2324
|
let m = !1;
|
|
2112
|
-
for (let
|
|
2113
|
-
if (d[
|
|
2325
|
+
for (let C = 0, y = d.length; C < y; C++)
|
|
2326
|
+
if (d[C](u, p, t, !0)) {
|
|
2114
2327
|
m = !0;
|
|
2115
2328
|
break;
|
|
2116
2329
|
}
|
|
2117
2330
|
if (m) {
|
|
2118
|
-
u.lineMax =
|
|
2331
|
+
u.lineMax = p, u.blkIndent !== 0 && (o.push(u.bMarks[p]), a.push(u.bsCount[p]), f.push(u.tShift[p]), s.push(u.sCount[p]), u.sCount[p] -= u.blkIndent);
|
|
2119
2332
|
break;
|
|
2120
2333
|
}
|
|
2121
|
-
o.push(u.bMarks[
|
|
2334
|
+
o.push(u.bMarks[p]), a.push(u.bsCount[p]), f.push(u.tShift[p]), s.push(u.sCount[p]), u.sCount[p] = -1;
|
|
2122
2335
|
}
|
|
2123
|
-
const
|
|
2336
|
+
const A = u.blkIndent;
|
|
2124
2337
|
u.blkIndent = 0;
|
|
2125
2338
|
const D = u.push("blockquote_open", "blockquote", 1);
|
|
2126
2339
|
D.markup = ">";
|
|
2127
|
-
const
|
|
2128
|
-
D.map =
|
|
2340
|
+
const S = [e, 0];
|
|
2341
|
+
D.map = S, u.md.block.tokenize(u, e, p);
|
|
2129
2342
|
const E = u.push("blockquote_close", "blockquote", -1);
|
|
2130
|
-
E.markup = ">", u.lineMax = i, u.parentType = _,
|
|
2343
|
+
E.markup = ">", u.lineMax = i, u.parentType = _, S[1] = u.line;
|
|
2131
2344
|
for (let k = 0; k < f.length; k++)
|
|
2132
2345
|
u.bMarks[k + e] = o[k], u.tShift[k + e] = f[k], u.sCount[k + e] = s[k], u.bsCount[k + e] = a[k];
|
|
2133
|
-
return u.blkIndent =
|
|
2346
|
+
return u.blkIndent = A, !0;
|
|
2134
2347
|
}
|
|
2135
|
-
function
|
|
2348
|
+
function eo(u, e, t, n) {
|
|
2136
2349
|
const r = u.eMarks[e];
|
|
2137
2350
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2138
2351
|
return !1;
|
|
@@ -2155,7 +2368,7 @@ function Uc(u, e, t, n) {
|
|
|
2155
2368
|
const a = u.push("hr", "hr", 0);
|
|
2156
2369
|
return a.map = [e, u.line], a.markup = Array(o + 1).join(String.fromCharCode(i)), !0;
|
|
2157
2370
|
}
|
|
2158
|
-
function
|
|
2371
|
+
function ht(u, e) {
|
|
2159
2372
|
const t = u.eMarks[e];
|
|
2160
2373
|
let n = u.bMarks[e] + u.tShift[e];
|
|
2161
2374
|
const r = u.src.charCodeAt(n++);
|
|
@@ -2190,78 +2403,78 @@ function bt(u, e) {
|
|
|
2190
2403
|
}
|
|
2191
2404
|
return r < n && (c = u.src.charCodeAt(r), !w(c)) ? -1 : r;
|
|
2192
2405
|
}
|
|
2193
|
-
function
|
|
2406
|
+
function to(u, e) {
|
|
2194
2407
|
const t = u.level + 2;
|
|
2195
2408
|
for (let n = e + 2, r = u.tokens.length - 2; n < r; n++)
|
|
2196
2409
|
u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
|
|
2197
2410
|
}
|
|
2198
|
-
function
|
|
2411
|
+
function no(u, e, t, n) {
|
|
2199
2412
|
let r, c, i, o, a = e, s = !0;
|
|
2200
2413
|
if (u.sCount[a] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[a] - u.listIndent >= 4 && u.sCount[a] < u.blkIndent)
|
|
2201
2414
|
return !1;
|
|
2202
2415
|
let f = !1;
|
|
2203
2416
|
n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (f = !0);
|
|
2204
|
-
let d, _,
|
|
2205
|
-
if ((
|
|
2206
|
-
if (d = !0, i = u.bMarks[a] + u.tShift[a], _ = Number(u.src.slice(i,
|
|
2207
|
-
} else if ((
|
|
2417
|
+
let d, _, h;
|
|
2418
|
+
if ((h = bt(u, a)) >= 0) {
|
|
2419
|
+
if (d = !0, i = u.bMarks[a] + u.tShift[a], _ = Number(u.src.slice(i, h - 1)), f && _ !== 1) return !1;
|
|
2420
|
+
} else if ((h = ht(u, a)) >= 0)
|
|
2208
2421
|
d = !1;
|
|
2209
2422
|
else
|
|
2210
2423
|
return !1;
|
|
2211
|
-
if (f && u.skipSpaces(
|
|
2424
|
+
if (f && u.skipSpaces(h) >= u.eMarks[a])
|
|
2212
2425
|
return !1;
|
|
2213
2426
|
if (n)
|
|
2214
2427
|
return !0;
|
|
2215
|
-
const
|
|
2428
|
+
const p = u.src.charCodeAt(h - 1), A = u.tokens.length;
|
|
2216
2429
|
d ? (o = u.push("ordered_list_open", "ol", 1), _ !== 1 && (o.attrs = [["start", _]])) : o = u.push("bullet_list_open", "ul", 1);
|
|
2217
2430
|
const D = [a, 0];
|
|
2218
|
-
o.map = D, o.markup = String.fromCharCode(
|
|
2219
|
-
let
|
|
2431
|
+
o.map = D, o.markup = String.fromCharCode(p);
|
|
2432
|
+
let S = !1;
|
|
2220
2433
|
const E = u.md.block.ruler.getRules("list"), k = u.parentType;
|
|
2221
2434
|
for (u.parentType = "list"; a < t; ) {
|
|
2222
|
-
c =
|
|
2223
|
-
const m = u.sCount[a] +
|
|
2224
|
-
let
|
|
2435
|
+
c = h, r = u.eMarks[a];
|
|
2436
|
+
const m = u.sCount[a] + h - (u.bMarks[a] + u.tShift[a]);
|
|
2437
|
+
let C = m;
|
|
2225
2438
|
for (; c < r; ) {
|
|
2226
|
-
const
|
|
2227
|
-
if (
|
|
2228
|
-
|
|
2229
|
-
else if (
|
|
2230
|
-
|
|
2439
|
+
const pu = u.src.charCodeAt(c);
|
|
2440
|
+
if (pu === 9)
|
|
2441
|
+
C += 4 - (C + u.bsCount[a]) % 4;
|
|
2442
|
+
else if (pu === 32)
|
|
2443
|
+
C++;
|
|
2231
2444
|
else
|
|
2232
2445
|
break;
|
|
2233
2446
|
c++;
|
|
2234
2447
|
}
|
|
2235
2448
|
const y = c;
|
|
2236
|
-
let
|
|
2237
|
-
y >= r ?
|
|
2238
|
-
const Y = m +
|
|
2239
|
-
o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(
|
|
2449
|
+
let L;
|
|
2450
|
+
y >= r ? L = 1 : L = C - m, L > 4 && (L = 1);
|
|
2451
|
+
const Y = m + L;
|
|
2452
|
+
o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(p);
|
|
2240
2453
|
const tu = [a, 0];
|
|
2241
|
-
o.map = tu, d && (o.info = u.src.slice(i,
|
|
2242
|
-
const
|
|
2243
|
-
if (u.listIndent = u.blkIndent, u.blkIndent = Y, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] =
|
|
2454
|
+
o.map = tu, d && (o.info = u.src.slice(i, h - 1));
|
|
2455
|
+
const Eu = u.tight, O = u.tShift[a], $u = u.sCount[a], ju = u.listIndent;
|
|
2456
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = Y, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] = C, y >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || S) && (s = !1), S = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = ju, u.tShift[a] = O, u.sCount[a] = $u, u.tight = Eu, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(p), a = u.line, tu[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
|
|
2244
2457
|
break;
|
|
2245
|
-
let
|
|
2246
|
-
for (let
|
|
2247
|
-
if (E[
|
|
2248
|
-
|
|
2458
|
+
let yu = !1;
|
|
2459
|
+
for (let pu = 0, Ie = E.length; pu < Ie; pu++)
|
|
2460
|
+
if (E[pu](u, a, t, !0)) {
|
|
2461
|
+
yu = !0;
|
|
2249
2462
|
break;
|
|
2250
2463
|
}
|
|
2251
|
-
if (
|
|
2464
|
+
if (yu)
|
|
2252
2465
|
break;
|
|
2253
2466
|
if (d) {
|
|
2254
|
-
if (
|
|
2467
|
+
if (h = bt(u, a), h < 0)
|
|
2255
2468
|
break;
|
|
2256
2469
|
i = u.bMarks[a] + u.tShift[a];
|
|
2257
|
-
} else if (
|
|
2470
|
+
} else if (h = ht(u, a), h < 0)
|
|
2258
2471
|
break;
|
|
2259
|
-
if (
|
|
2472
|
+
if (p !== u.src.charCodeAt(h - 1))
|
|
2260
2473
|
break;
|
|
2261
2474
|
}
|
|
2262
|
-
return d ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(
|
|
2475
|
+
return d ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(p), D[1] = a, u.line = a, u.parentType = k, s && to(u, A), !0;
|
|
2263
2476
|
}
|
|
2264
|
-
function
|
|
2477
|
+
function ro(u, e, t, n) {
|
|
2265
2478
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e], i = e + 1;
|
|
2266
2479
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
|
|
2267
2480
|
return !1;
|
|
@@ -2271,19 +2484,19 @@ function jc(u, e, t, n) {
|
|
|
2271
2484
|
return null;
|
|
2272
2485
|
let m = !1;
|
|
2273
2486
|
if (u.sCount[E] - u.blkIndent > 3 && (m = !0), u.sCount[E] < 0 && (m = !0), !m) {
|
|
2274
|
-
const
|
|
2487
|
+
const L = u.md.block.ruler.getRules("reference"), Y = u.parentType;
|
|
2275
2488
|
u.parentType = "reference";
|
|
2276
2489
|
let tu = !1;
|
|
2277
|
-
for (let
|
|
2278
|
-
if (
|
|
2490
|
+
for (let Eu = 0, O = L.length; Eu < O; Eu++)
|
|
2491
|
+
if (L[Eu](u, E, k, !0)) {
|
|
2279
2492
|
tu = !0;
|
|
2280
2493
|
break;
|
|
2281
2494
|
}
|
|
2282
2495
|
if (u.parentType = Y, tu)
|
|
2283
2496
|
return null;
|
|
2284
2497
|
}
|
|
2285
|
-
const
|
|
2286
|
-
return u.src.slice(
|
|
2498
|
+
const C = u.bMarks[E] + u.tShift[E], y = u.eMarks[E];
|
|
2499
|
+
return u.src.slice(C, y + 1);
|
|
2287
2500
|
}
|
|
2288
2501
|
let a = u.src.slice(r, c + 1);
|
|
2289
2502
|
c = a.length;
|
|
@@ -2319,7 +2532,7 @@ function jc(u, e, t, n) {
|
|
|
2319
2532
|
if (!u.md.validateLink(d))
|
|
2320
2533
|
return !1;
|
|
2321
2534
|
r = f.pos;
|
|
2322
|
-
const _ = r,
|
|
2535
|
+
const _ = r, h = i, p = r;
|
|
2323
2536
|
for (; r < c; r++) {
|
|
2324
2537
|
const E = a.charCodeAt(r);
|
|
2325
2538
|
if (E === 10) {
|
|
@@ -2327,21 +2540,21 @@ function jc(u, e, t, n) {
|
|
|
2327
2540
|
k !== null && (a += k, c = a.length, i++);
|
|
2328
2541
|
} else if (!w(E)) break;
|
|
2329
2542
|
}
|
|
2330
|
-
let
|
|
2331
|
-
for (;
|
|
2543
|
+
let A = u.md.helpers.parseLinkTitle(a, r, c);
|
|
2544
|
+
for (; A.can_continue; ) {
|
|
2332
2545
|
const E = o(i);
|
|
2333
2546
|
if (E === null) break;
|
|
2334
|
-
a += E, r = c, c = a.length, i++,
|
|
2547
|
+
a += E, r = c, c = a.length, i++, A = u.md.helpers.parseLinkTitle(a, r, c, A);
|
|
2335
2548
|
}
|
|
2336
2549
|
let D;
|
|
2337
|
-
for (r < c &&
|
|
2550
|
+
for (r < c && p !== r && A.ok ? (D = A.str, r = A.pos) : (D = "", r = _, i = h); r < c; ) {
|
|
2338
2551
|
const E = a.charCodeAt(r);
|
|
2339
2552
|
if (!w(E))
|
|
2340
2553
|
break;
|
|
2341
2554
|
r++;
|
|
2342
2555
|
}
|
|
2343
2556
|
if (r < c && a.charCodeAt(r) !== 10 && D)
|
|
2344
|
-
for (D = "", r = _, i =
|
|
2557
|
+
for (D = "", r = _, i = h; r < c; ) {
|
|
2345
2558
|
const E = a.charCodeAt(r);
|
|
2346
2559
|
if (!w(E))
|
|
2347
2560
|
break;
|
|
@@ -2349,10 +2562,10 @@ function jc(u, e, t, n) {
|
|
|
2349
2562
|
}
|
|
2350
2563
|
if (r < c && a.charCodeAt(r) !== 10)
|
|
2351
2564
|
return !1;
|
|
2352
|
-
const
|
|
2353
|
-
return
|
|
2565
|
+
const S = ve(a.slice(1, s));
|
|
2566
|
+
return S ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[S] > "u" && (u.env.references[S] = { title: D, href: d }), u.line = i), !0) : !1;
|
|
2354
2567
|
}
|
|
2355
|
-
const
|
|
2568
|
+
const co = [
|
|
2356
2569
|
"address",
|
|
2357
2570
|
"article",
|
|
2358
2571
|
"aside",
|
|
@@ -2415,30 +2628,30 @@ const Gc = [
|
|
|
2415
2628
|
"tr",
|
|
2416
2629
|
"track",
|
|
2417
2630
|
"ul"
|
|
2418
|
-
],
|
|
2631
|
+
], oo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", io = "[^\"'=<>`\\x00-\\x20]+", ao = "'[^']*'", so = '"[^"]*"', lo = "(?:" + io + "|" + ao + "|" + so + ")", fo = "(?:\\s+" + oo + "(?:\\s*=\\s*" + lo + ")?)", $t = "<[A-Za-z][A-Za-z0-9\\-]*" + fo + "*\\s*\\/?>", jt = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", po = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", ho = "<[?][\\s\\S]*?[?]>", bo = "<![A-Za-z][^>]*>", _o = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", mo = new RegExp("^(?:" + $t + "|" + jt + "|" + po + "|" + ho + "|" + bo + "|" + _o + ")"), xo = new RegExp("^(?:" + $t + "|" + jt + ")"), Lu = [
|
|
2419
2632
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
2420
2633
|
[/^<!--/, /-->/, !0],
|
|
2421
2634
|
[/^<\?/, /\?>/, !0],
|
|
2422
2635
|
[/^<![A-Z]/, />/, !0],
|
|
2423
2636
|
[/^<!\[CDATA\[/, /\]\]>/, !0],
|
|
2424
|
-
[new RegExp("^</?(" +
|
|
2425
|
-
[new RegExp(
|
|
2637
|
+
[new RegExp("^</?(" + co.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
|
|
2638
|
+
[new RegExp(xo.source + "\\s*$"), /^$/, !1]
|
|
2426
2639
|
];
|
|
2427
|
-
function
|
|
2640
|
+
function go(u, e, t, n) {
|
|
2428
2641
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
2429
2642
|
if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
|
|
2430
2643
|
return !1;
|
|
2431
2644
|
let i = u.src.slice(r, c), o = 0;
|
|
2432
|
-
for (; o <
|
|
2645
|
+
for (; o < Lu.length && !Lu[o][0].test(i); o++)
|
|
2433
2646
|
;
|
|
2434
|
-
if (o ===
|
|
2647
|
+
if (o === Lu.length)
|
|
2435
2648
|
return !1;
|
|
2436
2649
|
if (n)
|
|
2437
|
-
return
|
|
2650
|
+
return Lu[o][2];
|
|
2438
2651
|
let a = e + 1;
|
|
2439
|
-
if (!
|
|
2652
|
+
if (!Lu[o][1].test(i)) {
|
|
2440
2653
|
for (; a < t && !(u.sCount[a] < u.blkIndent); a++)
|
|
2441
|
-
if (r = u.bMarks[a] + u.tShift[a], c = u.eMarks[a], i = u.src.slice(r, c),
|
|
2654
|
+
if (r = u.bMarks[a] + u.tShift[a], c = u.eMarks[a], i = u.src.slice(r, c), Lu[o][1].test(i)) {
|
|
2442
2655
|
i.length !== 0 && a++;
|
|
2443
2656
|
break;
|
|
2444
2657
|
}
|
|
@@ -2447,7 +2660,7 @@ function ro(u, e, t, n) {
|
|
|
2447
2660
|
const s = u.push("html_block", "", 0);
|
|
2448
2661
|
return s.map = [e, a], s.content = u.getLines(e, a, u.blkIndent, !0), !0;
|
|
2449
2662
|
}
|
|
2450
|
-
function
|
|
2663
|
+
function ko(u, e, t, n) {
|
|
2451
2664
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
2452
2665
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2453
2666
|
return !1;
|
|
@@ -2471,7 +2684,7 @@ function co(u, e, t, n) {
|
|
|
2471
2684
|
const d = u.push("heading_close", "h" + String(o), -1);
|
|
2472
2685
|
return d.markup = "########".slice(0, o), !0;
|
|
2473
2686
|
}
|
|
2474
|
-
function
|
|
2687
|
+
function Eo(u, e, t) {
|
|
2475
2688
|
const n = u.md.block.ruler.getRules("paragraph");
|
|
2476
2689
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2477
2690
|
return !1;
|
|
@@ -2482,9 +2695,9 @@ function oo(u, e, t) {
|
|
|
2482
2695
|
if (u.sCount[o] - u.blkIndent > 3)
|
|
2483
2696
|
continue;
|
|
2484
2697
|
if (u.sCount[o] >= u.blkIndent) {
|
|
2485
|
-
let
|
|
2486
|
-
const
|
|
2487
|
-
if (
|
|
2698
|
+
let h = u.bMarks[o] + u.tShift[o];
|
|
2699
|
+
const p = u.eMarks[o];
|
|
2700
|
+
if (h < p && (i = u.src.charCodeAt(h), (i === 45 || i === 61) && (h = u.skipChars(h, i), h = u.skipSpaces(h), h >= p))) {
|
|
2488
2701
|
c = i === 61 ? 1 : 2;
|
|
2489
2702
|
break;
|
|
2490
2703
|
}
|
|
@@ -2492,8 +2705,8 @@ function oo(u, e, t) {
|
|
|
2492
2705
|
if (u.sCount[o] < 0)
|
|
2493
2706
|
continue;
|
|
2494
2707
|
let _ = !1;
|
|
2495
|
-
for (let
|
|
2496
|
-
if (n[
|
|
2708
|
+
for (let h = 0, p = n.length; h < p; h++)
|
|
2709
|
+
if (n[h](u, o, t, !0)) {
|
|
2497
2710
|
_ = !0;
|
|
2498
2711
|
break;
|
|
2499
2712
|
}
|
|
@@ -2511,7 +2724,7 @@ function oo(u, e, t) {
|
|
|
2511
2724
|
const d = u.push("heading_close", "h" + String(c), -1);
|
|
2512
2725
|
return d.markup = String.fromCharCode(i), u.parentType = r, !0;
|
|
2513
2726
|
}
|
|
2514
|
-
function
|
|
2727
|
+
function Co(u, e, t) {
|
|
2515
2728
|
const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
|
|
2516
2729
|
let c = e + 1;
|
|
2517
2730
|
for (u.parentType = "paragraph"; c < t && !u.isEmpty(c); c++) {
|
|
@@ -2533,27 +2746,27 @@ function io(u, e, t) {
|
|
|
2533
2746
|
const a = u.push("inline", "", 0);
|
|
2534
2747
|
return a.content = i, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
|
|
2535
2748
|
}
|
|
2536
|
-
const
|
|
2749
|
+
const Ce = [
|
|
2537
2750
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
2538
2751
|
// which can be terminated by this one.
|
|
2539
|
-
["table",
|
|
2540
|
-
["code",
|
|
2541
|
-
["fence",
|
|
2542
|
-
["blockquote",
|
|
2543
|
-
["hr",
|
|
2544
|
-
["list",
|
|
2545
|
-
["reference",
|
|
2546
|
-
["html_block",
|
|
2547
|
-
["heading",
|
|
2548
|
-
["lheading",
|
|
2549
|
-
["paragraph",
|
|
2752
|
+
["table", Jc, ["paragraph", "reference"]],
|
|
2753
|
+
["code", Qc],
|
|
2754
|
+
["fence", Kc, ["paragraph", "reference", "blockquote", "list"]],
|
|
2755
|
+
["blockquote", uo, ["paragraph", "reference", "blockquote", "list"]],
|
|
2756
|
+
["hr", eo, ["paragraph", "reference", "blockquote", "list"]],
|
|
2757
|
+
["list", no, ["paragraph", "reference", "blockquote"]],
|
|
2758
|
+
["reference", ro],
|
|
2759
|
+
["html_block", go, ["paragraph", "reference", "blockquote"]],
|
|
2760
|
+
["heading", ko, ["paragraph", "reference", "blockquote"]],
|
|
2761
|
+
["lheading", Eo],
|
|
2762
|
+
["paragraph", Co]
|
|
2550
2763
|
];
|
|
2551
|
-
function
|
|
2764
|
+
function Re() {
|
|
2552
2765
|
this.ruler = new V();
|
|
2553
|
-
for (let u = 0; u <
|
|
2554
|
-
this.ruler.push(
|
|
2766
|
+
for (let u = 0; u < Ce.length; u++)
|
|
2767
|
+
this.ruler.push(Ce[u][0], Ce[u][1], { alt: (Ce[u][2] || []).slice() });
|
|
2555
2768
|
}
|
|
2556
|
-
|
|
2769
|
+
Re.prototype.tokenize = function(u, e, t) {
|
|
2557
2770
|
const n = this.ruler.getRules(""), r = n.length, c = u.md.options.maxNesting;
|
|
2558
2771
|
let i = e, o = !1;
|
|
2559
2772
|
for (; i < t && (u.line = i = u.skipEmptyLines(i), !(i >= t || u.sCount[i] < u.blkIndent)); ) {
|
|
@@ -2573,36 +2786,36 @@ ve.prototype.tokenize = function(u, e, t) {
|
|
|
2573
2786
|
u.tight = !o, u.isEmpty(u.line - 1) && (o = !0), i = u.line, i < t && u.isEmpty(i) && (o = !0, i++, u.line = i);
|
|
2574
2787
|
}
|
|
2575
2788
|
};
|
|
2576
|
-
|
|
2789
|
+
Re.prototype.parse = function(u, e, t, n) {
|
|
2577
2790
|
if (!u)
|
|
2578
2791
|
return;
|
|
2579
2792
|
const r = new this.State(u, e, t, n);
|
|
2580
2793
|
this.tokenize(r, r.line, r.lineMax);
|
|
2581
2794
|
};
|
|
2582
|
-
|
|
2583
|
-
function
|
|
2795
|
+
Re.prototype.State = au;
|
|
2796
|
+
function le(u, e, t, n) {
|
|
2584
2797
|
this.src = u, this.env = t, this.md = e, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
|
|
2585
2798
|
}
|
|
2586
|
-
|
|
2799
|
+
le.prototype.pushPending = function() {
|
|
2587
2800
|
const u = new eu("text", "", 0);
|
|
2588
2801
|
return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
|
|
2589
2802
|
};
|
|
2590
|
-
|
|
2803
|
+
le.prototype.push = function(u, e, t) {
|
|
2591
2804
|
this.pending && this.pushPending();
|
|
2592
2805
|
const n = new eu(u, e, t);
|
|
2593
2806
|
let r = null;
|
|
2594
2807
|
return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
|
|
2595
2808
|
};
|
|
2596
|
-
|
|
2809
|
+
le.prototype.scanDelims = function(u, e) {
|
|
2597
2810
|
const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
|
|
2598
2811
|
let c = u;
|
|
2599
2812
|
for (; c < t && this.src.charCodeAt(c) === n; )
|
|
2600
2813
|
c++;
|
|
2601
|
-
const i = c - u, o = c < t ? this.src.charCodeAt(c) : 32, a =
|
|
2602
|
-
return { can_open: _ && (e || !
|
|
2814
|
+
const i = c - u, o = c < t ? this.src.charCodeAt(c) : 32, a = oe(r) || ce(String.fromCharCode(r)), s = oe(o) || ce(String.fromCharCode(o)), f = re(r), d = re(o), _ = !d && (!s || f || a), h = !f && (!a || d || s);
|
|
2815
|
+
return { can_open: _ && (e || !h || a), can_close: h && (e || !_ || s), length: i };
|
|
2603
2816
|
};
|
|
2604
|
-
|
|
2605
|
-
function
|
|
2817
|
+
le.prototype.Token = eu;
|
|
2818
|
+
function Ao(u) {
|
|
2606
2819
|
switch (u) {
|
|
2607
2820
|
case 10:
|
|
2608
2821
|
case 33:
|
|
@@ -2632,18 +2845,18 @@ function ao(u) {
|
|
|
2632
2845
|
return !1;
|
|
2633
2846
|
}
|
|
2634
2847
|
}
|
|
2635
|
-
function
|
|
2848
|
+
function Do(u, e) {
|
|
2636
2849
|
let t = u.pos;
|
|
2637
|
-
for (; t < u.posMax && !
|
|
2850
|
+
for (; t < u.posMax && !Ao(u.src.charCodeAt(t)); )
|
|
2638
2851
|
t++;
|
|
2639
2852
|
return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
|
|
2640
2853
|
}
|
|
2641
|
-
const
|
|
2642
|
-
function
|
|
2854
|
+
const yo = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2855
|
+
function Fo(u, e) {
|
|
2643
2856
|
if (!u.md.options.linkify || u.linkLevel > 0) return !1;
|
|
2644
2857
|
const t = u.pos, n = u.posMax;
|
|
2645
2858
|
if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
|
|
2646
|
-
const r = u.pending.match(
|
|
2859
|
+
const r = u.pending.match(yo);
|
|
2647
2860
|
if (!r) return !1;
|
|
2648
2861
|
const c = r[1], i = u.md.linkify.matchAtStart(u.src.slice(t - c.length));
|
|
2649
2862
|
if (!i) return !1;
|
|
@@ -2663,7 +2876,7 @@ function fo(u, e) {
|
|
|
2663
2876
|
}
|
|
2664
2877
|
return u.pos += o.length - c.length, !0;
|
|
2665
2878
|
}
|
|
2666
|
-
function
|
|
2879
|
+
function To(u, e) {
|
|
2667
2880
|
let t = u.pos;
|
|
2668
2881
|
if (u.src.charCodeAt(t) !== 10)
|
|
2669
2882
|
return !1;
|
|
@@ -2682,13 +2895,13 @@ function ho(u, e) {
|
|
|
2682
2895
|
t++;
|
|
2683
2896
|
return u.pos = t, !0;
|
|
2684
2897
|
}
|
|
2685
|
-
const
|
|
2898
|
+
const m0 = [];
|
|
2686
2899
|
for (let u = 0; u < 256; u++)
|
|
2687
|
-
|
|
2900
|
+
m0.push(0);
|
|
2688
2901
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2689
|
-
|
|
2902
|
+
m0[u.charCodeAt(0)] = 1;
|
|
2690
2903
|
});
|
|
2691
|
-
function
|
|
2904
|
+
function So(u, e) {
|
|
2692
2905
|
let t = u.pos;
|
|
2693
2906
|
const n = u.posMax;
|
|
2694
2907
|
if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
@@ -2706,11 +2919,11 @@ function po(u, e) {
|
|
|
2706
2919
|
const i = "\\" + c;
|
|
2707
2920
|
if (!e) {
|
|
2708
2921
|
const o = u.push("text_special", "", 0);
|
|
2709
|
-
r < 256 &&
|
|
2922
|
+
r < 256 && m0[r] !== 0 ? o.content = c : o.content = i, o.markup = i, o.info = "escape";
|
|
2710
2923
|
}
|
|
2711
2924
|
return u.pos = t + 1, !0;
|
|
2712
2925
|
}
|
|
2713
|
-
function
|
|
2926
|
+
function wo(u, e) {
|
|
2714
2927
|
let t = u.pos;
|
|
2715
2928
|
if (u.src.charCodeAt(t) !== 96)
|
|
2716
2929
|
return !1;
|
|
@@ -2738,7 +2951,7 @@ function bo(u, e) {
|
|
|
2738
2951
|
}
|
|
2739
2952
|
return u.backticksScanned = !0, e || (u.pending += i), u.pos += o, !0;
|
|
2740
2953
|
}
|
|
2741
|
-
function
|
|
2954
|
+
function vo(u, e) {
|
|
2742
2955
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2743
2956
|
if (e || n !== 126)
|
|
2744
2957
|
return !1;
|
|
@@ -2779,17 +2992,17 @@ function _t(u, e) {
|
|
|
2779
2992
|
i--, c !== i && (t = u.tokens[i], u.tokens[i] = u.tokens[c], u.tokens[c] = t);
|
|
2780
2993
|
}
|
|
2781
2994
|
}
|
|
2782
|
-
function
|
|
2995
|
+
function Ro(u) {
|
|
2783
2996
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2784
2997
|
_t(u, u.delimiters);
|
|
2785
2998
|
for (let n = 0; n < t; n++)
|
|
2786
2999
|
e[n] && e[n].delimiters && _t(u, e[n].delimiters);
|
|
2787
3000
|
}
|
|
2788
|
-
const
|
|
2789
|
-
tokenize:
|
|
2790
|
-
postProcess:
|
|
3001
|
+
const Gt = {
|
|
3002
|
+
tokenize: vo,
|
|
3003
|
+
postProcess: Ro
|
|
2791
3004
|
};
|
|
2792
|
-
function
|
|
3005
|
+
function Mo(u, e) {
|
|
2793
3006
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2794
3007
|
if (e || n !== 95 && n !== 42)
|
|
2795
3008
|
return !1;
|
|
@@ -2833,61 +3046,61 @@ function mt(u, e) {
|
|
|
2833
3046
|
s.type = i ? "strong_close" : "em_close", s.tag = i ? "strong" : "em", s.nesting = -1, s.markup = i ? o + o : o, s.content = "", i && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
|
|
2834
3047
|
}
|
|
2835
3048
|
}
|
|
2836
|
-
function
|
|
3049
|
+
function Io(u) {
|
|
2837
3050
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2838
3051
|
mt(u, u.delimiters);
|
|
2839
3052
|
for (let n = 0; n < t; n++)
|
|
2840
3053
|
e[n] && e[n].delimiters && mt(u, e[n].delimiters);
|
|
2841
3054
|
}
|
|
2842
|
-
const
|
|
2843
|
-
tokenize:
|
|
2844
|
-
postProcess:
|
|
3055
|
+
const Wt = {
|
|
3056
|
+
tokenize: Mo,
|
|
3057
|
+
postProcess: Io
|
|
2845
3058
|
};
|
|
2846
|
-
function
|
|
3059
|
+
function Lo(u, e) {
|
|
2847
3060
|
let t, n, r, c, i = "", o = "", a = u.pos, s = !0;
|
|
2848
3061
|
if (u.src.charCodeAt(u.pos) !== 91)
|
|
2849
3062
|
return !1;
|
|
2850
|
-
const f = u.pos, d = u.posMax, _ = u.pos + 1,
|
|
2851
|
-
if (
|
|
3063
|
+
const f = u.pos, d = u.posMax, _ = u.pos + 1, h = u.md.helpers.parseLinkLabel(u, u.pos, !0);
|
|
3064
|
+
if (h < 0)
|
|
2852
3065
|
return !1;
|
|
2853
|
-
let
|
|
2854
|
-
if (
|
|
2855
|
-
for (s = !1,
|
|
3066
|
+
let p = h + 1;
|
|
3067
|
+
if (p < d && u.src.charCodeAt(p) === 40) {
|
|
3068
|
+
for (s = !1, p++; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
|
|
2856
3069
|
;
|
|
2857
|
-
if (
|
|
3070
|
+
if (p >= d)
|
|
2858
3071
|
return !1;
|
|
2859
|
-
if (a =
|
|
2860
|
-
for (i = u.md.normalizeLink(r.str), u.md.validateLink(i) ?
|
|
3072
|
+
if (a = p, r = u.md.helpers.parseLinkDestination(u.src, p, u.posMax), r.ok) {
|
|
3073
|
+
for (i = u.md.normalizeLink(r.str), u.md.validateLink(i) ? p = r.pos : i = "", a = p; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
|
|
2861
3074
|
;
|
|
2862
|
-
if (r = u.md.helpers.parseLinkTitle(u.src,
|
|
2863
|
-
for (o = r.str,
|
|
3075
|
+
if (r = u.md.helpers.parseLinkTitle(u.src, p, u.posMax), p < d && a !== p && r.ok)
|
|
3076
|
+
for (o = r.str, p = r.pos; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
|
|
2864
3077
|
;
|
|
2865
3078
|
}
|
|
2866
|
-
(
|
|
3079
|
+
(p >= d || u.src.charCodeAt(p) !== 41) && (s = !0), p++;
|
|
2867
3080
|
}
|
|
2868
3081
|
if (s) {
|
|
2869
3082
|
if (typeof u.env.references > "u")
|
|
2870
3083
|
return !1;
|
|
2871
|
-
if (
|
|
3084
|
+
if (p < d && u.src.charCodeAt(p) === 91 ? (a = p + 1, p = u.md.helpers.parseLinkLabel(u, p), p >= 0 ? n = u.src.slice(a, p++) : p = h + 1) : p = h + 1, n || (n = u.src.slice(_, h)), c = u.env.references[ve(n)], !c)
|
|
2872
3085
|
return u.pos = f, !1;
|
|
2873
3086
|
i = c.href, o = c.title;
|
|
2874
3087
|
}
|
|
2875
3088
|
if (!e) {
|
|
2876
|
-
u.pos = _, u.posMax =
|
|
2877
|
-
const
|
|
2878
|
-
|
|
3089
|
+
u.pos = _, u.posMax = h;
|
|
3090
|
+
const A = u.push("link_open", "a", 1), D = [["href", i]];
|
|
3091
|
+
A.attrs = D, o && D.push(["title", o]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
|
|
2879
3092
|
}
|
|
2880
|
-
return u.pos =
|
|
3093
|
+
return u.pos = p, u.posMax = d, !0;
|
|
2881
3094
|
}
|
|
2882
|
-
function
|
|
3095
|
+
function Oo(u, e) {
|
|
2883
3096
|
let t, n, r, c, i, o, a, s, f = "";
|
|
2884
3097
|
const d = u.pos, _ = u.posMax;
|
|
2885
3098
|
if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
|
|
2886
3099
|
return !1;
|
|
2887
|
-
const
|
|
2888
|
-
if (
|
|
3100
|
+
const h = u.pos + 2, p = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
|
|
3101
|
+
if (p < 0)
|
|
2889
3102
|
return !1;
|
|
2890
|
-
if (c =
|
|
3103
|
+
if (c = p + 1, c < _ && u.src.charCodeAt(c) === 40) {
|
|
2891
3104
|
for (c++; c < _ && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
|
|
2892
3105
|
;
|
|
2893
3106
|
if (c >= _)
|
|
@@ -2905,26 +3118,26 @@ function Eo(u, e) {
|
|
|
2905
3118
|
} else {
|
|
2906
3119
|
if (typeof u.env.references > "u")
|
|
2907
3120
|
return !1;
|
|
2908
|
-
if (c < _ && u.src.charCodeAt(c) === 91 ? (s = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(s, c++) : c =
|
|
3121
|
+
if (c < _ && u.src.charCodeAt(c) === 91 ? (s = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(s, c++) : c = p + 1) : c = p + 1, r || (r = u.src.slice(h, p)), i = u.env.references[ve(r)], !i)
|
|
2909
3122
|
return u.pos = d, !1;
|
|
2910
3123
|
f = i.href, a = i.title;
|
|
2911
3124
|
}
|
|
2912
3125
|
if (!e) {
|
|
2913
|
-
n = u.src.slice(
|
|
2914
|
-
const
|
|
3126
|
+
n = u.src.slice(h, p);
|
|
3127
|
+
const A = [];
|
|
2915
3128
|
u.md.inline.parse(
|
|
2916
3129
|
n,
|
|
2917
3130
|
u.md,
|
|
2918
3131
|
u.env,
|
|
2919
|
-
|
|
3132
|
+
A
|
|
2920
3133
|
);
|
|
2921
|
-
const D = u.push("image", "img", 0),
|
|
2922
|
-
D.attrs =
|
|
3134
|
+
const D = u.push("image", "img", 0), S = [["src", f], ["alt", ""]];
|
|
3135
|
+
D.attrs = S, D.children = A, D.content = n, a && S.push(["title", a]);
|
|
2923
3136
|
}
|
|
2924
3137
|
return u.pos = c, u.posMax = _, !0;
|
|
2925
3138
|
}
|
|
2926
|
-
const
|
|
2927
|
-
function
|
|
3139
|
+
const No = /^([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])?)*)$/, Po = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
3140
|
+
function Bo(u, e) {
|
|
2928
3141
|
let t = u.pos;
|
|
2929
3142
|
if (u.src.charCodeAt(t) !== 60)
|
|
2930
3143
|
return !1;
|
|
@@ -2936,7 +3149,7 @@ function Do(u, e) {
|
|
|
2936
3149
|
if (i === 62) break;
|
|
2937
3150
|
}
|
|
2938
3151
|
const c = u.src.slice(n + 1, t);
|
|
2939
|
-
if (
|
|
3152
|
+
if (Po.test(c)) {
|
|
2940
3153
|
const i = u.md.normalizeLink(c);
|
|
2941
3154
|
if (!u.md.validateLink(i))
|
|
2942
3155
|
return !1;
|
|
@@ -2950,7 +3163,7 @@ function Do(u, e) {
|
|
|
2950
3163
|
}
|
|
2951
3164
|
return u.pos += c.length + 2, !0;
|
|
2952
3165
|
}
|
|
2953
|
-
if (
|
|
3166
|
+
if (No.test(c)) {
|
|
2954
3167
|
const i = u.md.normalizeLink("mailto:" + c);
|
|
2955
3168
|
if (!u.md.validateLink(i))
|
|
2956
3169
|
return !1;
|
|
@@ -2966,51 +3179,51 @@ function Do(u, e) {
|
|
|
2966
3179
|
}
|
|
2967
3180
|
return !1;
|
|
2968
3181
|
}
|
|
2969
|
-
function
|
|
3182
|
+
function zo(u) {
|
|
2970
3183
|
return /^<a[>\s]/i.test(u);
|
|
2971
3184
|
}
|
|
2972
|
-
function
|
|
3185
|
+
function qo(u) {
|
|
2973
3186
|
return /^<\/a\s*>/i.test(u);
|
|
2974
3187
|
}
|
|
2975
|
-
function
|
|
3188
|
+
function Uo(u) {
|
|
2976
3189
|
const e = u | 32;
|
|
2977
3190
|
return e >= 97 && e <= 122;
|
|
2978
3191
|
}
|
|
2979
|
-
function
|
|
3192
|
+
function Ho(u, e) {
|
|
2980
3193
|
if (!u.md.options.html)
|
|
2981
3194
|
return !1;
|
|
2982
3195
|
const t = u.posMax, n = u.pos;
|
|
2983
3196
|
if (u.src.charCodeAt(n) !== 60 || n + 2 >= t)
|
|
2984
3197
|
return !1;
|
|
2985
3198
|
const r = u.src.charCodeAt(n + 1);
|
|
2986
|
-
if (r !== 33 && r !== 63 && r !== 47 && !
|
|
3199
|
+
if (r !== 33 && r !== 63 && r !== 47 && !Uo(r))
|
|
2987
3200
|
return !1;
|
|
2988
|
-
const c = u.src.slice(n).match(
|
|
3201
|
+
const c = u.src.slice(n).match(mo);
|
|
2989
3202
|
if (!c)
|
|
2990
3203
|
return !1;
|
|
2991
3204
|
if (!e) {
|
|
2992
3205
|
const i = u.push("html_inline", "", 0);
|
|
2993
|
-
i.content = c[0],
|
|
3206
|
+
i.content = c[0], zo(i.content) && u.linkLevel++, qo(i.content) && u.linkLevel--;
|
|
2994
3207
|
}
|
|
2995
3208
|
return u.pos += c[0].length, !0;
|
|
2996
3209
|
}
|
|
2997
|
-
const
|
|
2998
|
-
function
|
|
3210
|
+
const $o = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, jo = /^&([a-z][a-z0-9]{1,31});/i;
|
|
3211
|
+
function Go(u, e) {
|
|
2999
3212
|
const t = u.pos, n = u.posMax;
|
|
3000
3213
|
if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
|
|
3001
3214
|
if (u.src.charCodeAt(t + 1) === 35) {
|
|
3002
|
-
const c = u.src.slice(t).match(
|
|
3215
|
+
const c = u.src.slice(t).match($o);
|
|
3003
3216
|
if (c) {
|
|
3004
3217
|
if (!e) {
|
|
3005
3218
|
const i = c[1][0].toLowerCase() === "x" ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), o = u.push("text_special", "", 0);
|
|
3006
|
-
o.content =
|
|
3219
|
+
o.content = b0(i) ? Fe(i) : Fe(65533), o.markup = c[0], o.info = "entity";
|
|
3007
3220
|
}
|
|
3008
3221
|
return u.pos += c[0].length, !0;
|
|
3009
3222
|
}
|
|
3010
3223
|
} else {
|
|
3011
|
-
const c = u.src.slice(t).match(
|
|
3224
|
+
const c = u.src.slice(t).match(jo);
|
|
3012
3225
|
if (c) {
|
|
3013
|
-
const i =
|
|
3226
|
+
const i = Bt(c[0]);
|
|
3014
3227
|
if (i !== c[0]) {
|
|
3015
3228
|
if (!e) {
|
|
3016
3229
|
const o = u.push("text_special", "", 0);
|
|
@@ -3038,8 +3251,8 @@ function xt(u) {
|
|
|
3038
3251
|
if (d.marker === o.marker && d.open && d.end < 0) {
|
|
3039
3252
|
let _ = !1;
|
|
3040
3253
|
if ((d.close || o.open) && (d.length + o.length) % 3 === 0 && (d.length % 3 !== 0 || o.length % 3 !== 0) && (_ = !0), !_) {
|
|
3041
|
-
const
|
|
3042
|
-
c[i] = i - s +
|
|
3254
|
+
const h = s > 0 && !u[s - 1].open ? c[s - 1] + 1 : 0;
|
|
3255
|
+
c[i] = i - s + h, c[s] = h, o.open = !1, d.end = i, d.close = !1, f = -1, r = -2;
|
|
3043
3256
|
break;
|
|
3044
3257
|
}
|
|
3045
3258
|
}
|
|
@@ -3047,49 +3260,49 @@ function xt(u) {
|
|
|
3047
3260
|
f !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = f);
|
|
3048
3261
|
}
|
|
3049
3262
|
}
|
|
3050
|
-
function
|
|
3263
|
+
function Wo(u) {
|
|
3051
3264
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
3052
3265
|
xt(u.delimiters);
|
|
3053
3266
|
for (let n = 0; n < t; n++)
|
|
3054
3267
|
e[n] && e[n].delimiters && xt(e[n].delimiters);
|
|
3055
3268
|
}
|
|
3056
|
-
function
|
|
3269
|
+
function Zo(u) {
|
|
3057
3270
|
let e, t, n = 0;
|
|
3058
3271
|
const r = u.tokens, c = u.tokens.length;
|
|
3059
3272
|
for (e = t = 0; e < c; e++)
|
|
3060
3273
|
r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < c && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
|
|
3061
3274
|
e !== t && (r.length = t);
|
|
3062
3275
|
}
|
|
3063
|
-
const
|
|
3064
|
-
["text",
|
|
3065
|
-
["linkify",
|
|
3066
|
-
["newline",
|
|
3067
|
-
["escape",
|
|
3068
|
-
["backticks",
|
|
3069
|
-
["strikethrough",
|
|
3070
|
-
["emphasis",
|
|
3071
|
-
["link",
|
|
3072
|
-
["image",
|
|
3073
|
-
["autolink",
|
|
3074
|
-
["html_inline",
|
|
3075
|
-
["entity",
|
|
3076
|
-
],
|
|
3077
|
-
["balance_pairs",
|
|
3078
|
-
["strikethrough",
|
|
3079
|
-
["emphasis",
|
|
3276
|
+
const Ke = [
|
|
3277
|
+
["text", Do],
|
|
3278
|
+
["linkify", Fo],
|
|
3279
|
+
["newline", To],
|
|
3280
|
+
["escape", So],
|
|
3281
|
+
["backticks", wo],
|
|
3282
|
+
["strikethrough", Gt.tokenize],
|
|
3283
|
+
["emphasis", Wt.tokenize],
|
|
3284
|
+
["link", Lo],
|
|
3285
|
+
["image", Oo],
|
|
3286
|
+
["autolink", Bo],
|
|
3287
|
+
["html_inline", Ho],
|
|
3288
|
+
["entity", Go]
|
|
3289
|
+
], u0 = [
|
|
3290
|
+
["balance_pairs", Wo],
|
|
3291
|
+
["strikethrough", Gt.postProcess],
|
|
3292
|
+
["emphasis", Wt.postProcess],
|
|
3080
3293
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
3081
3294
|
// rule below merges unused segments back with the rest of the text
|
|
3082
|
-
["fragments_join",
|
|
3295
|
+
["fragments_join", Zo]
|
|
3083
3296
|
];
|
|
3084
|
-
function
|
|
3297
|
+
function fe() {
|
|
3085
3298
|
this.ruler = new V();
|
|
3086
|
-
for (let u = 0; u < Qe.length; u++)
|
|
3087
|
-
this.ruler.push(Qe[u][0], Qe[u][1]);
|
|
3088
|
-
this.ruler2 = new V();
|
|
3089
3299
|
for (let u = 0; u < Ke.length; u++)
|
|
3090
|
-
this.
|
|
3300
|
+
this.ruler.push(Ke[u][0], Ke[u][1]);
|
|
3301
|
+
this.ruler2 = new V();
|
|
3302
|
+
for (let u = 0; u < u0.length; u++)
|
|
3303
|
+
this.ruler2.push(u0[u][0], u0[u][1]);
|
|
3091
3304
|
}
|
|
3092
|
-
|
|
3305
|
+
fe.prototype.skipToken = function(u) {
|
|
3093
3306
|
const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, c = u.cache;
|
|
3094
3307
|
if (typeof c[e] < "u") {
|
|
3095
3308
|
u.pos = c[e];
|
|
@@ -3107,7 +3320,7 @@ ie.prototype.skipToken = function(u) {
|
|
|
3107
3320
|
u.pos = u.posMax;
|
|
3108
3321
|
i || u.pos++, c[e] = u.pos;
|
|
3109
3322
|
};
|
|
3110
|
-
|
|
3323
|
+
fe.prototype.tokenize = function(u) {
|
|
3111
3324
|
const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
|
|
3112
3325
|
for (; u.pos < n; ) {
|
|
3113
3326
|
const c = u.pos;
|
|
@@ -3129,17 +3342,17 @@ ie.prototype.tokenize = function(u) {
|
|
|
3129
3342
|
}
|
|
3130
3343
|
u.pending && u.pushPending();
|
|
3131
3344
|
};
|
|
3132
|
-
|
|
3345
|
+
fe.prototype.parse = function(u, e, t, n) {
|
|
3133
3346
|
const r = new this.State(u, e, t, n);
|
|
3134
3347
|
this.tokenize(r);
|
|
3135
3348
|
const c = this.ruler2.getRules(""), i = c.length;
|
|
3136
3349
|
for (let o = 0; o < i; o++)
|
|
3137
3350
|
c[o](r);
|
|
3138
3351
|
};
|
|
3139
|
-
|
|
3140
|
-
function
|
|
3352
|
+
fe.prototype.State = le;
|
|
3353
|
+
function Vo(u) {
|
|
3141
3354
|
const e = {};
|
|
3142
|
-
u = u || {}, e.src_Any =
|
|
3355
|
+
u = u || {}, e.src_Any = It.source, e.src_Cc = Lt.source, e.src_Z = Nt.source, e.src_P = p0.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
3143
3356
|
const t = "[><|]";
|
|
3144
3357
|
return e.src_pseudo_letter = "(?:(?!" + t + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!" + (u["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]|$)|" + (u["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
3145
3358
|
",(?!" + e.src_ZCc + "|$)|;(?!" + e.src_ZCc + "|$)|\\!+(?!" + e.src_ZCc + "|[!]|$)|\\?(?!" + e.src_ZCc + "|[?]|$))+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
|
|
@@ -3149,42 +3362,42 @@ function Lo(u) {
|
|
|
3149
3362
|
// but can start with > (markdown blockquote)
|
|
3150
3363
|
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
|
|
3151
3364
|
}
|
|
3152
|
-
function
|
|
3365
|
+
function i0(u) {
|
|
3153
3366
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
3154
3367
|
t && Object.keys(t).forEach(function(n) {
|
|
3155
3368
|
u[n] = t[n];
|
|
3156
3369
|
});
|
|
3157
3370
|
}), u;
|
|
3158
3371
|
}
|
|
3159
|
-
function
|
|
3372
|
+
function Me(u) {
|
|
3160
3373
|
return Object.prototype.toString.call(u);
|
|
3161
3374
|
}
|
|
3162
|
-
function
|
|
3163
|
-
return
|
|
3375
|
+
function Yo(u) {
|
|
3376
|
+
return Me(u) === "[object String]";
|
|
3164
3377
|
}
|
|
3165
|
-
function
|
|
3166
|
-
return
|
|
3378
|
+
function Xo(u) {
|
|
3379
|
+
return Me(u) === "[object Object]";
|
|
3167
3380
|
}
|
|
3168
|
-
function
|
|
3169
|
-
return
|
|
3381
|
+
function Jo(u) {
|
|
3382
|
+
return Me(u) === "[object RegExp]";
|
|
3170
3383
|
}
|
|
3171
3384
|
function gt(u) {
|
|
3172
|
-
return
|
|
3385
|
+
return Me(u) === "[object Function]";
|
|
3173
3386
|
}
|
|
3174
|
-
function
|
|
3387
|
+
function Qo(u) {
|
|
3175
3388
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
3176
3389
|
}
|
|
3177
|
-
const
|
|
3390
|
+
const Zt = {
|
|
3178
3391
|
fuzzyLink: !0,
|
|
3179
3392
|
fuzzyEmail: !0,
|
|
3180
3393
|
fuzzyIP: !1
|
|
3181
3394
|
};
|
|
3182
|
-
function
|
|
3395
|
+
function Ko(u) {
|
|
3183
3396
|
return Object.keys(u || {}).reduce(function(e, t) {
|
|
3184
|
-
return e ||
|
|
3397
|
+
return e || Zt.hasOwnProperty(t);
|
|
3185
3398
|
}, !1);
|
|
3186
3399
|
}
|
|
3187
|
-
const
|
|
3400
|
+
const ui = {
|
|
3188
3401
|
"http:": {
|
|
3189
3402
|
validate: function(u, e, t) {
|
|
3190
3403
|
const n = u.slice(e);
|
|
@@ -3216,11 +3429,11 @@ const qo = {
|
|
|
3216
3429
|
)), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
|
|
3217
3430
|
}
|
|
3218
3431
|
}
|
|
3219
|
-
},
|
|
3220
|
-
function
|
|
3432
|
+
}, ei = "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]", ti = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
|
|
3433
|
+
function ni(u) {
|
|
3221
3434
|
u.__index__ = -1, u.__text_cache__ = "";
|
|
3222
3435
|
}
|
|
3223
|
-
function
|
|
3436
|
+
function ri(u) {
|
|
3224
3437
|
return function(e, t) {
|
|
3225
3438
|
const n = e.slice(t);
|
|
3226
3439
|
return u.test(n) ? n.match(u)[0].length : 0;
|
|
@@ -3232,8 +3445,8 @@ function kt() {
|
|
|
3232
3445
|
};
|
|
3233
3446
|
}
|
|
3234
3447
|
function Te(u) {
|
|
3235
|
-
const e = u.re =
|
|
3236
|
-
u.onCompile(), u.__tlds_replaced__ || t.push(
|
|
3448
|
+
const e = u.re = Vo(u.__opts__), t = u.__tlds__.slice();
|
|
3449
|
+
u.onCompile(), u.__tlds_replaced__ || t.push(ei), t.push(e.src_xn), e.src_tlds = t.join("|");
|
|
3237
3450
|
function n(o) {
|
|
3238
3451
|
return o.replace("%TLDS%", e.src_tlds);
|
|
3239
3452
|
}
|
|
@@ -3248,11 +3461,11 @@ function Te(u) {
|
|
|
3248
3461
|
if (a === null)
|
|
3249
3462
|
return;
|
|
3250
3463
|
const s = { validate: null, link: null };
|
|
3251
|
-
if (u.__compiled__[o] = s,
|
|
3252
|
-
|
|
3464
|
+
if (u.__compiled__[o] = s, Xo(a)) {
|
|
3465
|
+
Jo(a.validate) ? s.validate = ri(a.validate) : gt(a.validate) ? s.validate = a.validate : c(o, a), gt(a.normalize) ? s.normalize = a.normalize : a.normalize ? c(o, a) : s.normalize = kt();
|
|
3253
3466
|
return;
|
|
3254
3467
|
}
|
|
3255
|
-
if (
|
|
3468
|
+
if (Yo(a)) {
|
|
3256
3469
|
r.push(o);
|
|
3257
3470
|
return;
|
|
3258
3471
|
}
|
|
@@ -3262,30 +3475,30 @@ function Te(u) {
|
|
|
3262
3475
|
}), u.__compiled__[""] = { validate: null, normalize: kt() };
|
|
3263
3476
|
const i = Object.keys(u.__compiled__).filter(function(o) {
|
|
3264
3477
|
return o.length > 0 && u.__compiled__[o];
|
|
3265
|
-
}).map(
|
|
3478
|
+
}).map(Qo).join("|");
|
|
3266
3479
|
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(
|
|
3267
3480
|
"(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
|
|
3268
3481
|
"i"
|
|
3269
|
-
),
|
|
3482
|
+
), ni(u);
|
|
3270
3483
|
}
|
|
3271
|
-
function
|
|
3484
|
+
function ci(u, e) {
|
|
3272
3485
|
const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
|
|
3273
3486
|
this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
|
|
3274
3487
|
}
|
|
3275
|
-
function
|
|
3276
|
-
const t = new
|
|
3488
|
+
function a0(u, e) {
|
|
3489
|
+
const t = new ci(u, e);
|
|
3277
3490
|
return u.__compiled__[t.schema].normalize(t, u), t;
|
|
3278
3491
|
}
|
|
3279
3492
|
function X(u, e) {
|
|
3280
3493
|
if (!(this instanceof X))
|
|
3281
3494
|
return new X(u, e);
|
|
3282
|
-
e ||
|
|
3495
|
+
e || Ko(u) && (e = u, u = {}), this.__opts__ = i0({}, Zt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = i0({}, ui, u), this.__compiled__ = {}, this.__tlds__ = ti, this.__tlds_replaced__ = !1, this.re = {}, Te(this);
|
|
3283
3496
|
}
|
|
3284
3497
|
X.prototype.add = function(e, t) {
|
|
3285
3498
|
return this.__schemas__[e] = t, Te(this), this;
|
|
3286
3499
|
};
|
|
3287
3500
|
X.prototype.set = function(e) {
|
|
3288
|
-
return this.__opts__ =
|
|
3501
|
+
return this.__opts__ = i0(this.__opts__, e), this;
|
|
3289
3502
|
};
|
|
3290
3503
|
X.prototype.test = function(e) {
|
|
3291
3504
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
@@ -3309,10 +3522,10 @@ X.prototype.testSchemaAt = function(e, t, n) {
|
|
|
3309
3522
|
X.prototype.match = function(e) {
|
|
3310
3523
|
const t = [];
|
|
3311
3524
|
let n = 0;
|
|
3312
|
-
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(
|
|
3525
|
+
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(a0(this, n)), n = this.__last_index__);
|
|
3313
3526
|
let r = n ? e.slice(n) : e;
|
|
3314
3527
|
for (; this.test(r); )
|
|
3315
|
-
t.push(
|
|
3528
|
+
t.push(a0(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
3316
3529
|
return t.length ? t : null;
|
|
3317
3530
|
};
|
|
3318
3531
|
X.prototype.matchAtStart = function(e) {
|
|
@@ -3320,7 +3533,7 @@ X.prototype.matchAtStart = function(e) {
|
|
|
3320
3533
|
const t = this.re.schema_at_start.exec(e);
|
|
3321
3534
|
if (!t) return null;
|
|
3322
3535
|
const n = this.testSchemaAt(e, t[2], t[0].length);
|
|
3323
|
-
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n,
|
|
3536
|
+
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, a0(this, 0)) : null;
|
|
3324
3537
|
};
|
|
3325
3538
|
X.prototype.tlds = function(e, t) {
|
|
3326
3539
|
return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, c) {
|
|
@@ -3332,29 +3545,29 @@ X.prototype.normalize = function(e) {
|
|
|
3332
3545
|
};
|
|
3333
3546
|
X.prototype.onCompile = function() {
|
|
3334
3547
|
};
|
|
3335
|
-
const
|
|
3548
|
+
const Bu = 2147483647, cu = 36, x0 = 1, ie = 26, oi = 38, ii = 700, Vt = 72, Yt = 128, Xt = "-", ai = /^xn--/, si = /[^\0-\x7F]/, li = /[\x2E\u3002\uFF0E\uFF61]/g, fi = {
|
|
3336
3549
|
overflow: "Overflow: input needs wider integers to process",
|
|
3337
3550
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3338
3551
|
"invalid-input": "Invalid input"
|
|
3339
|
-
},
|
|
3552
|
+
}, e0 = cu - x0, ou = Math.floor, t0 = String.fromCharCode;
|
|
3340
3553
|
function hu(u) {
|
|
3341
|
-
throw new RangeError(
|
|
3554
|
+
throw new RangeError(fi[u]);
|
|
3342
3555
|
}
|
|
3343
|
-
function
|
|
3556
|
+
function di(u, e) {
|
|
3344
3557
|
const t = [];
|
|
3345
3558
|
let n = u.length;
|
|
3346
3559
|
for (; n--; )
|
|
3347
3560
|
t[n] = e(u[n]);
|
|
3348
3561
|
return t;
|
|
3349
3562
|
}
|
|
3350
|
-
function
|
|
3563
|
+
function Jt(u, e) {
|
|
3351
3564
|
const t = u.split("@");
|
|
3352
3565
|
let n = "";
|
|
3353
|
-
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(
|
|
3354
|
-
const r = u.split("."), c =
|
|
3566
|
+
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(li, ".");
|
|
3567
|
+
const r = u.split("."), c = di(r, e).join(".");
|
|
3355
3568
|
return n + c;
|
|
3356
3569
|
}
|
|
3357
|
-
function
|
|
3570
|
+
function Qt(u) {
|
|
3358
3571
|
const e = [];
|
|
3359
3572
|
let t = 0;
|
|
3360
3573
|
const n = u.length;
|
|
@@ -3368,78 +3581,78 @@ function Xt(u) {
|
|
|
3368
3581
|
}
|
|
3369
3582
|
return e;
|
|
3370
3583
|
}
|
|
3371
|
-
const
|
|
3372
|
-
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 :
|
|
3584
|
+
const pi = (u) => String.fromCodePoint(...u), hi = function(u) {
|
|
3585
|
+
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : cu;
|
|
3373
3586
|
}, Et = function(u, e) {
|
|
3374
3587
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
3375
|
-
},
|
|
3588
|
+
}, Kt = function(u, e, t) {
|
|
3376
3589
|
let n = 0;
|
|
3377
|
-
for (u = t ?
|
|
3378
|
-
u =
|
|
3379
|
-
return
|
|
3380
|
-
},
|
|
3590
|
+
for (u = t ? ou(u / ii) : u >> 1, u += ou(u / e); u > e0 * ie >> 1; n += cu)
|
|
3591
|
+
u = ou(u / e0);
|
|
3592
|
+
return ou(n + (e0 + 1) * u / (u + oi));
|
|
3593
|
+
}, un = function(u) {
|
|
3381
3594
|
const e = [], t = u.length;
|
|
3382
|
-
let n = 0, r =
|
|
3595
|
+
let n = 0, r = Yt, c = Vt, i = u.lastIndexOf(Xt);
|
|
3383
3596
|
i < 0 && (i = 0);
|
|
3384
3597
|
for (let o = 0; o < i; ++o)
|
|
3385
3598
|
u.charCodeAt(o) >= 128 && hu("not-basic"), e.push(u.charCodeAt(o));
|
|
3386
3599
|
for (let o = i > 0 ? i + 1 : 0; o < t; ) {
|
|
3387
3600
|
const a = n;
|
|
3388
|
-
for (let f = 1, d =
|
|
3601
|
+
for (let f = 1, d = cu; ; d += cu) {
|
|
3389
3602
|
o >= t && hu("invalid-input");
|
|
3390
|
-
const _ =
|
|
3391
|
-
_ >=
|
|
3392
|
-
const
|
|
3393
|
-
if (_ <
|
|
3603
|
+
const _ = hi(u.charCodeAt(o++));
|
|
3604
|
+
_ >= cu && hu("invalid-input"), _ > ou((Bu - n) / f) && hu("overflow"), n += _ * f;
|
|
3605
|
+
const h = d <= c ? x0 : d >= c + ie ? ie : d - c;
|
|
3606
|
+
if (_ < h)
|
|
3394
3607
|
break;
|
|
3395
|
-
const
|
|
3396
|
-
f >
|
|
3608
|
+
const p = cu - h;
|
|
3609
|
+
f > ou(Bu / p) && hu("overflow"), f *= p;
|
|
3397
3610
|
}
|
|
3398
3611
|
const s = e.length + 1;
|
|
3399
|
-
c =
|
|
3612
|
+
c = Kt(n - a, s, a == 0), ou(n / s) > Bu - r && hu("overflow"), r += ou(n / s), n %= s, e.splice(n++, 0, r);
|
|
3400
3613
|
}
|
|
3401
3614
|
return String.fromCodePoint(...e);
|
|
3402
|
-
},
|
|
3615
|
+
}, en = function(u) {
|
|
3403
3616
|
const e = [];
|
|
3404
|
-
u =
|
|
3617
|
+
u = Qt(u);
|
|
3405
3618
|
const t = u.length;
|
|
3406
|
-
let n =
|
|
3619
|
+
let n = Yt, r = 0, c = Vt;
|
|
3407
3620
|
for (const a of u)
|
|
3408
|
-
a < 128 && e.push(
|
|
3621
|
+
a < 128 && e.push(t0(a));
|
|
3409
3622
|
const i = e.length;
|
|
3410
3623
|
let o = i;
|
|
3411
|
-
for (i && e.push(
|
|
3412
|
-
let a =
|
|
3624
|
+
for (i && e.push(Xt); o < t; ) {
|
|
3625
|
+
let a = Bu;
|
|
3413
3626
|
for (const f of u)
|
|
3414
3627
|
f >= n && f < a && (a = f);
|
|
3415
3628
|
const s = o + 1;
|
|
3416
|
-
a - n >
|
|
3629
|
+
a - n > ou((Bu - r) / s) && hu("overflow"), r += (a - n) * s, n = a;
|
|
3417
3630
|
for (const f of u)
|
|
3418
|
-
if (f < n && ++r >
|
|
3631
|
+
if (f < n && ++r > Bu && hu("overflow"), f === n) {
|
|
3419
3632
|
let d = r;
|
|
3420
|
-
for (let _ =
|
|
3421
|
-
const
|
|
3422
|
-
if (d <
|
|
3633
|
+
for (let _ = cu; ; _ += cu) {
|
|
3634
|
+
const h = _ <= c ? x0 : _ >= c + ie ? ie : _ - c;
|
|
3635
|
+
if (d < h)
|
|
3423
3636
|
break;
|
|
3424
|
-
const
|
|
3637
|
+
const p = d - h, A = cu - h;
|
|
3425
3638
|
e.push(
|
|
3426
|
-
|
|
3427
|
-
), d =
|
|
3639
|
+
t0(Et(h + p % A, 0))
|
|
3640
|
+
), d = ou(p / A);
|
|
3428
3641
|
}
|
|
3429
|
-
e.push(
|
|
3642
|
+
e.push(t0(Et(d, 0))), c = Kt(r, s, o === i), r = 0, ++o;
|
|
3430
3643
|
}
|
|
3431
3644
|
++r, ++n;
|
|
3432
3645
|
}
|
|
3433
3646
|
return e.join("");
|
|
3434
|
-
},
|
|
3435
|
-
return
|
|
3436
|
-
return
|
|
3647
|
+
}, bi = function(u) {
|
|
3648
|
+
return Jt(u, function(e) {
|
|
3649
|
+
return ai.test(e) ? un(e.slice(4).toLowerCase()) : e;
|
|
3437
3650
|
});
|
|
3438
|
-
},
|
|
3439
|
-
return
|
|
3440
|
-
return
|
|
3651
|
+
}, _i = function(u) {
|
|
3652
|
+
return Jt(u, function(e) {
|
|
3653
|
+
return si.test(e) ? "xn--" + en(e) : e;
|
|
3441
3654
|
});
|
|
3442
|
-
},
|
|
3655
|
+
}, tn = {
|
|
3443
3656
|
/**
|
|
3444
3657
|
* A string representing the current Punycode.js version number.
|
|
3445
3658
|
* @memberOf punycode
|
|
@@ -3454,14 +3667,14 @@ const Ko = (u) => String.fromCodePoint(...u), ui = function(u) {
|
|
|
3454
3667
|
* @type Object
|
|
3455
3668
|
*/
|
|
3456
3669
|
ucs2: {
|
|
3457
|
-
decode:
|
|
3458
|
-
encode:
|
|
3670
|
+
decode: Qt,
|
|
3671
|
+
encode: pi
|
|
3459
3672
|
},
|
|
3460
|
-
decode:
|
|
3461
|
-
encode:
|
|
3462
|
-
toASCII:
|
|
3463
|
-
toUnicode:
|
|
3464
|
-
},
|
|
3673
|
+
decode: un,
|
|
3674
|
+
encode: en,
|
|
3675
|
+
toASCII: _i,
|
|
3676
|
+
toUnicode: bi
|
|
3677
|
+
}, mi = {
|
|
3465
3678
|
options: {
|
|
3466
3679
|
// Enable HTML tags in source
|
|
3467
3680
|
html: !1,
|
|
@@ -3497,7 +3710,7 @@ const Ko = (u) => String.fromCodePoint(...u), ui = function(u) {
|
|
|
3497
3710
|
block: {},
|
|
3498
3711
|
inline: {}
|
|
3499
3712
|
}
|
|
3500
|
-
},
|
|
3713
|
+
}, xi = {
|
|
3501
3714
|
options: {
|
|
3502
3715
|
// Enable HTML tags in source
|
|
3503
3716
|
html: !1,
|
|
@@ -3552,7 +3765,7 @@ const Ko = (u) => String.fromCodePoint(...u), ui = function(u) {
|
|
|
3552
3765
|
]
|
|
3553
3766
|
}
|
|
3554
3767
|
}
|
|
3555
|
-
},
|
|
3768
|
+
}, gi = {
|
|
3556
3769
|
options: {
|
|
3557
3770
|
// Enable HTML tags in source
|
|
3558
3771
|
html: !0,
|
|
@@ -3626,47 +3839,47 @@ const Ko = (u) => String.fromCodePoint(...u), ui = function(u) {
|
|
|
3626
3839
|
]
|
|
3627
3840
|
}
|
|
3628
3841
|
}
|
|
3629
|
-
},
|
|
3630
|
-
default:
|
|
3631
|
-
zero:
|
|
3632
|
-
commonmark:
|
|
3633
|
-
},
|
|
3634
|
-
function
|
|
3842
|
+
}, ki = {
|
|
3843
|
+
default: mi,
|
|
3844
|
+
zero: xi,
|
|
3845
|
+
commonmark: gi
|
|
3846
|
+
}, Ei = /^(vbscript|javascript|file|data):/, Ci = /^data:image\/(gif|png|jpeg|webp);/;
|
|
3847
|
+
function Ai(u) {
|
|
3635
3848
|
const e = u.trim().toLowerCase();
|
|
3636
|
-
return
|
|
3849
|
+
return Ei.test(e) ? Ci.test(e) : !0;
|
|
3637
3850
|
}
|
|
3638
|
-
const
|
|
3639
|
-
function
|
|
3640
|
-
const e =
|
|
3641
|
-
if (e.hostname && (!e.protocol ||
|
|
3851
|
+
const nn = ["http:", "https:", "mailto:"];
|
|
3852
|
+
function Di(u) {
|
|
3853
|
+
const e = d0(u, !0);
|
|
3854
|
+
if (e.hostname && (!e.protocol || nn.indexOf(e.protocol) >= 0))
|
|
3642
3855
|
try {
|
|
3643
|
-
e.hostname =
|
|
3856
|
+
e.hostname = tn.toASCII(e.hostname);
|
|
3644
3857
|
} catch {
|
|
3645
3858
|
}
|
|
3646
|
-
return
|
|
3859
|
+
return se(f0(e));
|
|
3647
3860
|
}
|
|
3648
|
-
function
|
|
3649
|
-
const e =
|
|
3650
|
-
if (e.hostname && (!e.protocol ||
|
|
3861
|
+
function yi(u) {
|
|
3862
|
+
const e = d0(u, !0);
|
|
3863
|
+
if (e.hostname && (!e.protocol || nn.indexOf(e.protocol) >= 0))
|
|
3651
3864
|
try {
|
|
3652
|
-
e.hostname =
|
|
3865
|
+
e.hostname = tn.toUnicode(e.hostname);
|
|
3653
3866
|
} catch {
|
|
3654
3867
|
}
|
|
3655
|
-
return
|
|
3868
|
+
return zu(f0(e), zu.defaultChars + "%");
|
|
3656
3869
|
}
|
|
3657
3870
|
function Q(u, e) {
|
|
3658
3871
|
if (!(this instanceof Q))
|
|
3659
3872
|
return new Q(u, e);
|
|
3660
|
-
e || h0(u) || (e = u || {}, u = "default"), this.inline = new
|
|
3873
|
+
e || h0(u) || (e = u || {}, u = "default"), this.inline = new fe(), this.block = new Re(), this.core = new _0(), this.renderer = new Hu(), this.linkify = new X(), this.validateLink = Ai, this.normalizeLink = Di, this.normalizeLinkText = yi, this.utils = Fc, this.helpers = we({}, vc), this.options = {}, this.configure(u), e && this.set(e);
|
|
3661
3874
|
}
|
|
3662
3875
|
Q.prototype.set = function(u) {
|
|
3663
|
-
return
|
|
3876
|
+
return we(this.options, u), this;
|
|
3664
3877
|
};
|
|
3665
3878
|
Q.prototype.configure = function(u) {
|
|
3666
3879
|
const e = this;
|
|
3667
3880
|
if (h0(u)) {
|
|
3668
3881
|
const t = u;
|
|
3669
|
-
if (u =
|
|
3882
|
+
if (u = ki[t], !u)
|
|
3670
3883
|
throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
|
|
3671
3884
|
}
|
|
3672
3885
|
if (!u)
|
|
@@ -3719,13 +3932,15 @@ Q.prototype.parseInline = function(u, e) {
|
|
|
3719
3932
|
Q.prototype.renderInline = function(u, e) {
|
|
3720
3933
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3721
3934
|
};
|
|
3722
|
-
class
|
|
3723
|
-
constructor(t, n) {
|
|
3935
|
+
class Pi extends s0 {
|
|
3936
|
+
constructor({ mdConfig: t, dompurifyConfig: n, sanitizeDisabled: r, styleOptions: c } = {}) {
|
|
3724
3937
|
super();
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
this
|
|
3938
|
+
Iu(this, "md");
|
|
3939
|
+
Iu(this, "mdConfig");
|
|
3940
|
+
Iu(this, "dompurifyConfig");
|
|
3941
|
+
Iu(this, "sanitizeDisabled");
|
|
3942
|
+
Iu(this, "styleOptions");
|
|
3943
|
+
this.mdConfig = t || {}, this.dompurifyConfig = n || {}, this.md = Q(this.mdConfig), this.sanitizeDisabled = r ?? !1, this.styleOptions = c ?? {};
|
|
3729
3944
|
}
|
|
3730
3945
|
render(t) {
|
|
3731
3946
|
let n = "";
|
|
@@ -3734,213 +3949,49 @@ class Ri extends a0 {
|
|
|
3734
3949
|
} catch (c) {
|
|
3735
3950
|
console.error("Error rendering markdown:", c), n = t.content ?? "";
|
|
3736
3951
|
}
|
|
3737
|
-
if (this.
|
|
3738
|
-
return console.warn("HTML sanitization is disabled, potential XSS risk"),
|
|
3739
|
-
const r =
|
|
3740
|
-
return
|
|
3952
|
+
if (this.sanitizeDisabled)
|
|
3953
|
+
return console.warn("HTML sanitization is disabled, potential XSS risk"), Z0("div", { innerHTML: n, class: this.styleOptions.class, style: this.styleOptions.style });
|
|
3954
|
+
const r = zr.sanitize(n, this.dompurifyConfig);
|
|
3955
|
+
return Z0("div", { innerHTML: r, class: this.styleOptions.class, style: this.styleOptions.style });
|
|
3741
3956
|
}
|
|
3742
3957
|
}
|
|
3743
|
-
const
|
|
3744
|
-
inheritAttrs: !1,
|
|
3745
|
-
__name: "ContentItem",
|
|
3746
|
-
props: {
|
|
3747
|
-
type: {}
|
|
3748
|
-
},
|
|
3749
|
-
setup(u) {
|
|
3750
|
-
const e = j0(Dt, Ct), t = j0(yt, s0), n = u, r = gn(), c = (a) => {
|
|
3751
|
-
const s = { ...r, ...n }, f = e.get(a) || t;
|
|
3752
|
-
return typeof f == "function" ? { isComponent: !1, vNodeOrComponent: f(s) } : f instanceof a0 ? { isComponent: !1, vNodeOrComponent: f.render(s) } : { isComponent: !0, vNodeOrComponent: f };
|
|
3753
|
-
}, { isComponent: i, vNodeOrComponent: o } = c(n.type);
|
|
3754
|
-
return (a, s) => bu(i) ? (S(), uu(mu(bu(o)), Ce(Ou({ key: 0 }, { ...n, ...bu(r) })), null, 16)) : (S(), uu(mu(bu(o)), { key: 1 }));
|
|
3755
|
-
}
|
|
3756
|
-
}), hi = {
|
|
3757
|
-
key: 0,
|
|
3758
|
-
class: "tr-bubble__avatar"
|
|
3759
|
-
}, pi = { class: "tr-bubble__content-wrapper" }, bi = {
|
|
3760
|
-
key: 0,
|
|
3761
|
-
class: "tr-bubble__content-items"
|
|
3762
|
-
}, _i = {
|
|
3763
|
-
key: 1,
|
|
3764
|
-
class: "tr-bubble__body-text"
|
|
3765
|
-
}, mi = {
|
|
3766
|
-
key: 2,
|
|
3767
|
-
class: "tr-bubble__aborted"
|
|
3768
|
-
}, xi = {
|
|
3769
|
-
key: 3,
|
|
3770
|
-
class: "tr-bubble__footer"
|
|
3771
|
-
}, gi = /* @__PURE__ */ Cu({
|
|
3772
|
-
__name: "Bubble",
|
|
3773
|
-
props: {
|
|
3774
|
-
content: { default: "" },
|
|
3775
|
-
id: {},
|
|
3776
|
-
role: {},
|
|
3777
|
-
loading: { type: Boolean },
|
|
3778
|
-
aborted: { type: Boolean },
|
|
3779
|
-
placement: { default: "start" },
|
|
3780
|
-
avatar: {},
|
|
3781
|
-
shape: { default: "corner" },
|
|
3782
|
-
contentRenderer: {},
|
|
3783
|
-
hidden: { type: Boolean },
|
|
3784
|
-
maxWidth: { default: "80%" }
|
|
3785
|
-
},
|
|
3786
|
-
setup(u) {
|
|
3787
|
-
const e = u, t = kn(), n = Eu(() => {
|
|
3788
|
-
const o = e.contentRenderer;
|
|
3789
|
-
return o ? typeof o == "function" ? { isComponent: !1, vNodeOrComponent: o(e) } : o instanceof a0 ? { isComponent: !1, vNodeOrComponent: o.render(e) } : { isComponent: !0, vNodeOrComponent: o } : null;
|
|
3790
|
-
}), r = Eu(() => Array.isArray(e.content) ? "" : e.content), c = Eu(() => Array.isArray(e.content) ? e.content : []), i = Eu(() => e.placement === "start");
|
|
3791
|
-
return (o, a) => (S(), H("div", {
|
|
3792
|
-
class: Mu([
|
|
3793
|
-
"tr-bubble",
|
|
3794
|
-
{
|
|
3795
|
-
"placement-start": i.value,
|
|
3796
|
-
"placement-end": !i.value
|
|
3797
|
-
}
|
|
3798
|
-
]),
|
|
3799
|
-
style: En({ maxWidth: bu(yn)(e.maxWidth) })
|
|
3800
|
-
}, [
|
|
3801
|
-
e.avatar ? (S(), H("div", hi, [
|
|
3802
|
-
(S(), uu(mu(e.avatar)))
|
|
3803
|
-
])) : Lu("", !0),
|
|
3804
|
-
Z("div", pi, [
|
|
3805
|
-
e.loading ? ke(o.$slots, "loading", {
|
|
3806
|
-
key: 0,
|
|
3807
|
-
bubbleProps: e
|
|
3808
|
-
}, () => [
|
|
3809
|
-
Z("div", {
|
|
3810
|
-
class: Mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
|
|
3811
|
-
}, a[0] || (a[0] = [
|
|
3812
|
-
Z("img", {
|
|
3813
|
-
src: Dn,
|
|
3814
|
-
alt: "loading",
|
|
3815
|
-
class: "tr-bubble__loading"
|
|
3816
|
-
}, null, -1)
|
|
3817
|
-
]), 2)
|
|
3818
|
-
], !0) : (S(), H("div", {
|
|
3819
|
-
key: 1,
|
|
3820
|
-
class: Mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
|
|
3821
|
-
}, [
|
|
3822
|
-
c.value.length ? (S(), H("div", bi, [
|
|
3823
|
-
(S(!0), H(De, null, Ee(c.value, (s, f) => (S(), uu(bu(di), Ou({ key: f }, { ref_for: !0 }, s), null, 16))), 128))
|
|
3824
|
-
])) : ke(o.$slots, "default", {
|
|
3825
|
-
key: 1,
|
|
3826
|
-
bubbleProps: e
|
|
3827
|
-
}, () => [
|
|
3828
|
-
n.value ? (S(), H(De, { key: 0 }, [
|
|
3829
|
-
n.value.isComponent ? (S(), uu(mu(n.value.vNodeOrComponent), Ce(Ou({ key: 0 }, e)), null, 16)) : (S(), uu(mu(n.value.vNodeOrComponent), { key: 1 }))
|
|
3830
|
-
], 64)) : (S(), H("span", _i, Pu(r.value), 1))
|
|
3831
|
-
], !0),
|
|
3832
|
-
e.aborted ? (S(), H("span", mi, "(用户停止)")) : Lu("", !0),
|
|
3833
|
-
t.footer ? (S(), H("div", xi, [
|
|
3834
|
-
ke(o.$slots, "footer", { bubbleProps: e }, void 0, !0)
|
|
3835
|
-
])) : Lu("", !0)
|
|
3836
|
-
], 2))
|
|
3837
|
-
])
|
|
3838
|
-
], 6));
|
|
3839
|
-
}
|
|
3840
|
-
}), Au = /* @__PURE__ */ re(gi, [["__scopeId", "data-v-95b9962c"]]), ki = /* @__PURE__ */ Cu({
|
|
3841
|
-
__name: "BubbleList",
|
|
3842
|
-
props: {
|
|
3843
|
-
items: {},
|
|
3844
|
-
roles: {},
|
|
3845
|
-
loading: { type: Boolean },
|
|
3846
|
-
loadingRole: {},
|
|
3847
|
-
autoScroll: { type: Boolean }
|
|
3848
|
-
},
|
|
3849
|
-
setup(u) {
|
|
3850
|
-
const e = u, t = i0(null), { y: n } = Rn(t, {
|
|
3851
|
-
behavior: "smooth",
|
|
3852
|
-
throttle: 100
|
|
3853
|
-
}), r = Eu(() => e.items.at(-1));
|
|
3854
|
-
An(
|
|
3855
|
-
[() => e.items.length, () => {
|
|
3856
|
-
var a;
|
|
3857
|
-
return (a = r.value) == null ? void 0 : a.content;
|
|
3858
|
-
}],
|
|
3859
|
-
() => {
|
|
3860
|
-
!e.autoScroll || !t.value || (n.value = t.value.scrollHeight);
|
|
3861
|
-
},
|
|
3862
|
-
{ deep: !0 }
|
|
3863
|
-
);
|
|
3864
|
-
const c = (a) => {
|
|
3865
|
-
var h;
|
|
3866
|
-
const s = a.role ? ((h = e.roles) == null ? void 0 : h[a.role]) || {} : {}, { slots: f, ...d } = s, { slots: _, ...p } = a;
|
|
3867
|
-
return { ...d, ...p };
|
|
3868
|
-
}, i = (a) => {
|
|
3869
|
-
var f;
|
|
3870
|
-
return { ...(a.role ? ((f = e.roles) == null ? void 0 : f[a.role]) || {} : {}).slots, ...a.slots };
|
|
3871
|
-
}, o = Eu(() => {
|
|
3872
|
-
var f;
|
|
3873
|
-
if (!(e.loading && e.loadingRole && ((f = e.roles) != null && f[e.loadingRole])))
|
|
3874
|
-
return null;
|
|
3875
|
-
const { slots: a, ...s } = e.roles[e.loadingRole];
|
|
3876
|
-
return { props: { ...s, loading: !0 }, slots: a };
|
|
3877
|
-
});
|
|
3878
|
-
return (a, s) => (S(), H("div", {
|
|
3879
|
-
class: "tr-bubble-list",
|
|
3880
|
-
ref_key: "scrollContainerRef",
|
|
3881
|
-
ref: t
|
|
3882
|
-
}, [
|
|
3883
|
-
(S(!0), H(De, null, Ee(e.items, (f, d) => (S(), H(De, {
|
|
3884
|
-
key: f.id || d
|
|
3885
|
-
}, [
|
|
3886
|
-
f.hidden ? Lu("", !0) : (S(), uu(Au, Ou({
|
|
3887
|
-
key: 0,
|
|
3888
|
-
ref_for: !0
|
|
3889
|
-
}, c(f)), G0({ _: 2 }, [
|
|
3890
|
-
Ee(i(f), (_, p) => ({
|
|
3891
|
-
name: p,
|
|
3892
|
-
fn: W0((h) => [
|
|
3893
|
-
(S(), uu(mu(_), Ou({ ref_for: !0 }, h), null, 16))
|
|
3894
|
-
])
|
|
3895
|
-
}))
|
|
3896
|
-
]), 1040))
|
|
3897
|
-
], 64))), 128)),
|
|
3898
|
-
o.value ? (S(), uu(Au, Ce(Ou({ key: 0 }, o.value.props)), G0({ _: 2 }, [
|
|
3899
|
-
Ee(o.value.slots, (f, d) => ({
|
|
3900
|
-
name: d,
|
|
3901
|
-
fn: W0((_) => [
|
|
3902
|
-
(S(), uu(mu(f), Ce(Cn(_)), null, 16))
|
|
3903
|
-
])
|
|
3904
|
-
}))
|
|
3905
|
-
]), 1040)) : Lu("", !0)
|
|
3906
|
-
], 512));
|
|
3907
|
-
}
|
|
3908
|
-
}), te = /* @__PURE__ */ re(ki, [["__scopeId", "data-v-e1e12abe"]]), ne = /* @__PURE__ */ Cu({
|
|
3958
|
+
const ae = /* @__PURE__ */ ku({
|
|
3909
3959
|
__name: "BubbleProvider",
|
|
3910
3960
|
props: {
|
|
3911
|
-
|
|
3961
|
+
messageRenderers: { default: () => ({}) }
|
|
3912
3962
|
},
|
|
3913
3963
|
setup(u) {
|
|
3914
3964
|
const e = u, t = /* @__PURE__ */ new Map();
|
|
3915
|
-
for (const [n, r] of
|
|
3965
|
+
for (const [n, r] of yt.entries())
|
|
3916
3966
|
t.set(n, r);
|
|
3917
|
-
for (const [n, r] of Object.entries(e.
|
|
3967
|
+
for (const [n, r] of Object.entries(e.messageRenderers))
|
|
3918
3968
|
t.set(n, r);
|
|
3919
|
-
return
|
|
3969
|
+
return V0(Ft, t), V0(Tt, l0), (n, r) => Ae(n.$slots, "default");
|
|
3920
3970
|
}
|
|
3921
3971
|
});
|
|
3922
|
-
|
|
3923
|
-
const
|
|
3924
|
-
u.component(
|
|
3925
|
-
};
|
|
3926
|
-
|
|
3927
|
-
const
|
|
3928
|
-
|
|
3929
|
-
const
|
|
3930
|
-
u.component(te.name, te);
|
|
3931
|
-
};
|
|
3932
|
-
te.install = Ai;
|
|
3933
|
-
const Mi = te;
|
|
3934
|
-
ne.name = "TrBubbleProvider";
|
|
3935
|
-
const Ci = function(u) {
|
|
3972
|
+
Du.name = "TrBubble";
|
|
3973
|
+
const Fi = function(u) {
|
|
3974
|
+
u.component(Du.name, Du);
|
|
3975
|
+
};
|
|
3976
|
+
Du.install = Fi;
|
|
3977
|
+
const Bi = Du;
|
|
3978
|
+
ne.name = "TrBubbleList";
|
|
3979
|
+
const Ti = function(u) {
|
|
3936
3980
|
u.component(ne.name, ne);
|
|
3937
3981
|
};
|
|
3938
|
-
ne.install =
|
|
3939
|
-
const
|
|
3982
|
+
ne.install = Ti;
|
|
3983
|
+
const zi = ne;
|
|
3984
|
+
ae.name = "TrBubbleProvider";
|
|
3985
|
+
const Si = function(u) {
|
|
3986
|
+
u.component(ae.name, ae);
|
|
3987
|
+
};
|
|
3988
|
+
ae.install = Si;
|
|
3989
|
+
const qi = ae;
|
|
3940
3990
|
export {
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3991
|
+
Bi as Bubble,
|
|
3992
|
+
Ni as BubbleChainMessageRenderer,
|
|
3993
|
+
zi as BubbleList,
|
|
3994
|
+
Pi as BubbleMarkdownMessageRenderer,
|
|
3995
|
+
s0 as BubbleMessageClassRenderer,
|
|
3996
|
+
qi as BubbleProvider
|
|
3946
3997
|
};
|