@oiij/naive-ui 0.0.5 → 0.0.7
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/components/data-table-plus/DataTablePlus.vue.d.ts +3 -0
- package/dist/components/preset-select/PresetSelect.vue.d.ts +3 -1
- package/dist/components.cjs +12 -12
- package/dist/components.js +930 -911
- package/dist/components.umd.cjs +12 -12
- package/dist/composables/useNaiveForm.d.ts +4 -4
- package/dist/composables/useNaiveTheme.d.ts +2 -2
- package/package.json +3 -3
package/dist/components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { inject as _r, onBeforeMount as
|
|
2
|
-
import { NEl as yr, NAvatar as
|
|
3
|
-
import { useClipboard as ti, createEventHook as
|
|
1
|
+
import { inject as _r, onBeforeMount as yo, defineComponent as pe, createBlock as W, openBlock as z, unref as D, normalizeClass as Ku, withCtx as $, renderSlot as V, createVNode as Y, createCommentVNode as je, mergeProps as de, resolveDynamicComponent as yu, Transition as Eo, createElementVNode as Fu, normalizeStyle as vr, onMounted as Ao, normalizeProps as me, guardReactiveProps as ge, createElementBlock as He, watch as Me, createTextVNode as it, toDisplayString as at, ref as G, watchEffect as Le, onScopeDispose as Jt, computed as he, onUnmounted as wo, reactive as Eu, isRef as Bt, toRefs as Co, useTemplateRef as ct, Fragment as et, renderList as Ut, toValue as ou, nextTick as Kt, toRaw as qt, toRef as Do, h as $e, createStaticVNode as Fo, mergeModels as So, useModel as To, isReactive as Po } from "vue";
|
|
2
|
+
import { NEl as yr, NAvatar as Ro, NFlex as ku, NSpin as Oo, NConfigProvider as Mo, NLoadingBarProvider as Lo, NDialogProvider as No, NModalProvider as Io, NNotificationProvider as zo, NMessageProvider as $o, NGlobalStyle as Bo, useDialog as Uo, useLoadingBar as qo, useMessage as jo, useModal as Ho, useNotification as Go, NTooltip as Er, NButton as Su, NGrid as jt, NGi as Ht, NDivider as Wo, NCollapseTransition as Vo, NDataTable as Zo, NPagination as Ar, NDropdown as Yo, NForm as Xo, NTimePicker as Qo, NSwitch as Jo, NSelect as wr, NInput as en, NDatePicker as Ko, NFormItem as ei, NInputGroup as ui } from "naive-ui";
|
|
3
|
+
import { useClipboard as ti, createEventHook as Zu, useTimeoutFn as ni, useDebounceFn as ri } from "@vueuse/core";
|
|
4
4
|
function oi(e) {
|
|
5
5
|
let u = ".", t = "__", n = "--", r;
|
|
6
6
|
if (e) {
|
|
@@ -84,10 +84,10 @@ function ii(e) {
|
|
|
84
84
|
e[t] === "&" && ++u;
|
|
85
85
|
return u;
|
|
86
86
|
}
|
|
87
|
-
const
|
|
87
|
+
const Cr = /\s*,(?![^(]*\))\s*/g, ai = /\s+/g;
|
|
88
88
|
function ci(e, u) {
|
|
89
89
|
const t = [];
|
|
90
|
-
return u.split(
|
|
90
|
+
return u.split(Cr).forEach((n) => {
|
|
91
91
|
let r = ii(n);
|
|
92
92
|
if (r) {
|
|
93
93
|
if (r === 1) {
|
|
@@ -121,7 +121,7 @@ function ci(e, u) {
|
|
|
121
121
|
}
|
|
122
122
|
function si(e, u) {
|
|
123
123
|
const t = [];
|
|
124
|
-
return u.split(
|
|
124
|
+
return u.split(Cr).forEach((n) => {
|
|
125
125
|
e.forEach((r) => {
|
|
126
126
|
t.push((r && r + " ") + n);
|
|
127
127
|
});
|
|
@@ -147,16 +147,16 @@ function fi(e) {
|
|
|
147
147
|
const u = document.createElement("style");
|
|
148
148
|
return u.setAttribute("cssr-id", e), u;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function $u(e) {
|
|
151
151
|
return e ? /^\s*@(s|m)/.test(e) : !1;
|
|
152
152
|
}
|
|
153
153
|
const di = /[A-Z]/g;
|
|
154
|
-
function
|
|
154
|
+
function Dr(e) {
|
|
155
155
|
return e.replace(di, (u) => "-" + u.toLowerCase());
|
|
156
156
|
}
|
|
157
157
|
function pi(e, u = " ") {
|
|
158
158
|
return typeof e == "object" && e !== null ? ` {
|
|
159
|
-
` + Object.entries(e).map((t) => u + ` ${
|
|
159
|
+
` + Object.entries(e).map((t) => u + ` ${Dr(t[0])}: ${t[1]};`).join(`
|
|
160
160
|
`) + `
|
|
161
161
|
` + u + "}" : `: ${e};`;
|
|
162
162
|
}
|
|
@@ -191,7 +191,7 @@ ${r}
|
|
|
191
191
|
`);
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
|
-
i =
|
|
194
|
+
i = Dr(i), c != null && a.push(` ${i}${pi(c)}`);
|
|
195
195
|
}), e && a.push("}"), a.join(`
|
|
196
196
|
`);
|
|
197
197
|
}
|
|
@@ -205,25 +205,25 @@ function Gt(e, u, t) {
|
|
|
205
205
|
} else n && t(n);
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Fr(e, u, t, n, r) {
|
|
209
209
|
const o = e.$;
|
|
210
210
|
let a = "";
|
|
211
211
|
if (!o || typeof o == "string")
|
|
212
|
-
|
|
212
|
+
$u(o) ? a = o : u.push(o);
|
|
213
213
|
else if (typeof o == "function") {
|
|
214
214
|
const s = o({
|
|
215
215
|
context: n.context,
|
|
216
216
|
props: r
|
|
217
217
|
});
|
|
218
|
-
|
|
218
|
+
$u(s) ? a = s : u.push(s);
|
|
219
219
|
} else if (o.before && o.before(n.context), !o.$ || typeof o.$ == "string")
|
|
220
|
-
|
|
220
|
+
$u(o.$) ? a = o.$ : u.push(o.$);
|
|
221
221
|
else if (o.$) {
|
|
222
222
|
const s = o.$({
|
|
223
223
|
context: n.context,
|
|
224
224
|
props: r
|
|
225
225
|
});
|
|
226
|
-
|
|
226
|
+
$u(s) ? a = s : u.push(s);
|
|
227
227
|
}
|
|
228
228
|
const i = li(u), c = Ln(i, e.props, n, r);
|
|
229
229
|
a ? t.push(`${a} {`) : c.length && t.push(c), e.children && Gt(e.children, {
|
|
@@ -234,12 +234,12 @@ function Dr(e, u, t, n, r) {
|
|
|
234
234
|
const l = Ln(i, { raw: s }, n, r);
|
|
235
235
|
t.push(l);
|
|
236
236
|
} else
|
|
237
|
-
|
|
237
|
+
Fr(s, u, t, n, r);
|
|
238
238
|
}), u.pop(), a && t.push("}"), o && o.after && o.after(n.context);
|
|
239
239
|
}
|
|
240
240
|
function bi(e, u, t) {
|
|
241
241
|
const n = [];
|
|
242
|
-
return
|
|
242
|
+
return Fr(e, [], n, u, t), n.join(`
|
|
243
243
|
|
|
244
244
|
`);
|
|
245
245
|
}
|
|
@@ -366,7 +366,7 @@ function Si() {
|
|
|
366
366
|
context: e
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Sr(e, u) {
|
|
370
370
|
const t = Si();
|
|
371
371
|
function n() {
|
|
372
372
|
u.mount({
|
|
@@ -375,11 +375,11 @@ function Fr(e, u) {
|
|
|
375
375
|
ssr: t
|
|
376
376
|
});
|
|
377
377
|
}
|
|
378
|
-
t ? n() :
|
|
378
|
+
t ? n() : yo(() => {
|
|
379
379
|
n();
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
|
-
const { cssr: tn, plugin:
|
|
382
|
+
const { cssr: tn, plugin: Tr, namespace: Pr } = Ai();
|
|
383
383
|
var In = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
384
384
|
function Ti(e) {
|
|
385
385
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -511,8 +511,8 @@ function Pi() {
|
|
|
511
511
|
case "Array":
|
|
512
512
|
return x = i.util.objId(b), m[x] ? m[x] : (k = [], m[x] = k, /** @type {Array} */
|
|
513
513
|
/** @type {any} */
|
|
514
|
-
b.forEach(function(T,
|
|
515
|
-
k[
|
|
514
|
+
b.forEach(function(T, F) {
|
|
515
|
+
k[F] = p(T, m);
|
|
516
516
|
}), /** @type {any} */
|
|
517
517
|
k);
|
|
518
518
|
default:
|
|
@@ -736,13 +736,13 @@ function Pi() {
|
|
|
736
736
|
for (var T in x)
|
|
737
737
|
if (x.hasOwnProperty(T)) {
|
|
738
738
|
if (T == b)
|
|
739
|
-
for (var
|
|
740
|
-
m.hasOwnProperty(
|
|
739
|
+
for (var F in m)
|
|
740
|
+
m.hasOwnProperty(F) && (w[F] = m[F]);
|
|
741
741
|
m.hasOwnProperty(T) || (w[T] = x[T]);
|
|
742
742
|
}
|
|
743
|
-
var
|
|
744
|
-
return k[p] = w, i.languages.DFS(i.languages, function(
|
|
745
|
-
|
|
743
|
+
var B = k[p];
|
|
744
|
+
return k[p] = w, i.languages.DFS(i.languages, function(L, S) {
|
|
745
|
+
S === B && L != p && (this[L] = w);
|
|
746
746
|
}), w;
|
|
747
747
|
},
|
|
748
748
|
// Traverse a language definition with Depth First Search
|
|
@@ -752,8 +752,8 @@ function Pi() {
|
|
|
752
752
|
for (var T in b)
|
|
753
753
|
if (b.hasOwnProperty(T)) {
|
|
754
754
|
m.call(b, T, b[T], k || T);
|
|
755
|
-
var
|
|
756
|
-
|
|
755
|
+
var F = b[T], B = i.util.type(F);
|
|
756
|
+
B === "Object" && !x[w(F)] ? (x[w(F)] = !0, p(F, m, null, x)) : B === "Array" && !x[w(F)] && (x[w(F)] = !0, p(F, m, T, x));
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
},
|
|
@@ -831,34 +831,34 @@ function Pi() {
|
|
|
831
831
|
i.util.setLanguage(p, k);
|
|
832
832
|
var w = p.parentElement;
|
|
833
833
|
w && w.nodeName.toLowerCase() === "pre" && i.util.setLanguage(w, k);
|
|
834
|
-
var T = p.textContent,
|
|
834
|
+
var T = p.textContent, F = {
|
|
835
835
|
element: p,
|
|
836
836
|
language: k,
|
|
837
837
|
grammar: x,
|
|
838
838
|
code: T
|
|
839
839
|
};
|
|
840
|
-
function
|
|
841
|
-
|
|
840
|
+
function B(S) {
|
|
841
|
+
F.highlightedCode = S, i.hooks.run("before-insert", F), F.element.innerHTML = F.highlightedCode, i.hooks.run("after-highlight", F), i.hooks.run("complete", F), m && m.call(F.element);
|
|
842
842
|
}
|
|
843
|
-
if (i.hooks.run("before-sanity-check",
|
|
844
|
-
i.hooks.run("complete",
|
|
843
|
+
if (i.hooks.run("before-sanity-check", F), w = F.element.parentElement, w && w.nodeName.toLowerCase() === "pre" && !w.hasAttribute("tabindex") && w.setAttribute("tabindex", "0"), !F.code) {
|
|
844
|
+
i.hooks.run("complete", F), m && m.call(F.element);
|
|
845
845
|
return;
|
|
846
846
|
}
|
|
847
|
-
if (i.hooks.run("before-highlight",
|
|
848
|
-
|
|
847
|
+
if (i.hooks.run("before-highlight", F), !F.grammar) {
|
|
848
|
+
B(i.util.encode(F.code));
|
|
849
849
|
return;
|
|
850
850
|
}
|
|
851
851
|
if (b && n.Worker) {
|
|
852
|
-
var
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
},
|
|
856
|
-
language:
|
|
857
|
-
code:
|
|
852
|
+
var L = new Worker(i.filename);
|
|
853
|
+
L.onmessage = function(S) {
|
|
854
|
+
B(S.data);
|
|
855
|
+
}, L.postMessage(JSON.stringify({
|
|
856
|
+
language: F.language,
|
|
857
|
+
code: F.code,
|
|
858
858
|
immediateClose: !0
|
|
859
859
|
}));
|
|
860
860
|
} else
|
|
861
|
-
|
|
861
|
+
B(i.highlight(F.code, F.grammar, F.language));
|
|
862
862
|
},
|
|
863
863
|
/**
|
|
864
864
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -974,8 +974,8 @@ function Pi() {
|
|
|
974
974
|
return b;
|
|
975
975
|
if (Array.isArray(b)) {
|
|
976
976
|
var k = "";
|
|
977
|
-
return b.forEach(function(
|
|
978
|
-
k += p(
|
|
977
|
+
return b.forEach(function(B) {
|
|
978
|
+
k += p(B, m);
|
|
979
979
|
}), k;
|
|
980
980
|
}
|
|
981
981
|
var x = {
|
|
@@ -988,8 +988,8 @@ function Pi() {
|
|
|
988
988
|
}, w = b.alias;
|
|
989
989
|
w && (Array.isArray(w) ? Array.prototype.push.apply(x.classes, w) : x.classes.push(w)), i.hooks.run("wrap", x);
|
|
990
990
|
var T = "";
|
|
991
|
-
for (var
|
|
992
|
-
T += " " +
|
|
991
|
+
for (var F in x.attributes)
|
|
992
|
+
T += " " + F + '="' + (x.attributes[F] || "").replace(/"/g, """) + '"';
|
|
993
993
|
return "<" + x.tag + ' class="' + x.classes.join(" ") + '"' + T + ">" + x.content + "</" + x.tag + ">";
|
|
994
994
|
};
|
|
995
995
|
function s(p, b, m, k) {
|
|
@@ -1004,46 +1004,46 @@ function Pi() {
|
|
|
1004
1004
|
function l(p, b, m, k, x, w) {
|
|
1005
1005
|
for (var T in m)
|
|
1006
1006
|
if (!(!m.hasOwnProperty(T) || !m[T])) {
|
|
1007
|
-
var
|
|
1008
|
-
|
|
1009
|
-
for (var
|
|
1010
|
-
if (w && w.cause == T + "," +
|
|
1007
|
+
var F = m[T];
|
|
1008
|
+
F = Array.isArray(F) ? F : [F];
|
|
1009
|
+
for (var B = 0; B < F.length; ++B) {
|
|
1010
|
+
if (w && w.cause == T + "," + B)
|
|
1011
1011
|
return;
|
|
1012
|
-
var
|
|
1013
|
-
if (
|
|
1014
|
-
var
|
|
1015
|
-
|
|
1012
|
+
var L = F[B], S = L.inside, j = !!L.lookbehind, Q = !!L.greedy, te = L.alias;
|
|
1013
|
+
if (Q && !L.pattern.global) {
|
|
1014
|
+
var ye = L.pattern.toString().match(/[imsuy]*$/)[0];
|
|
1015
|
+
L.pattern = RegExp(L.pattern.source, ye + "g");
|
|
1016
1016
|
}
|
|
1017
|
-
for (var
|
|
1018
|
-
var
|
|
1017
|
+
for (var Se = L.pattern || L, A = k.next, O = x; A !== b.tail && !(w && O >= w.reach); O += A.value.length, A = A.next) {
|
|
1018
|
+
var M = A.value;
|
|
1019
1019
|
if (b.length > p.length)
|
|
1020
1020
|
return;
|
|
1021
|
-
if (!(
|
|
1022
|
-
var
|
|
1023
|
-
if (
|
|
1024
|
-
if (
|
|
1021
|
+
if (!(M instanceof c)) {
|
|
1022
|
+
var U = 1, N;
|
|
1023
|
+
if (Q) {
|
|
1024
|
+
if (N = s(Se, O, p, j), !N || N.index >= p.length)
|
|
1025
1025
|
break;
|
|
1026
|
-
var
|
|
1027
|
-
for (
|
|
1028
|
-
|
|
1029
|
-
if (
|
|
1026
|
+
var Ee = N.index, H = N.index + N[0].length, oe = O;
|
|
1027
|
+
for (oe += A.value.length; Ee >= oe; )
|
|
1028
|
+
A = A.next, oe += A.value.length;
|
|
1029
|
+
if (oe -= A.value.length, O = oe, A.value instanceof c)
|
|
1030
1030
|
continue;
|
|
1031
|
-
for (var
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
} else if (
|
|
1031
|
+
for (var q = A; q !== b.tail && (oe < H || typeof q.value == "string"); q = q.next)
|
|
1032
|
+
U++, oe += q.value.length;
|
|
1033
|
+
U--, M = p.slice(O, oe), N.index -= O;
|
|
1034
|
+
} else if (N = s(Se, 0, M, j), !N)
|
|
1035
1035
|
continue;
|
|
1036
|
-
var
|
|
1036
|
+
var Ee = N.index, Ne = N[0], Ye = M.slice(0, Ee), Xe = M.slice(Ee + Ne.length), Qe = O + M.length;
|
|
1037
1037
|
w && Qe > w.reach && (w.reach = Qe);
|
|
1038
|
-
var
|
|
1039
|
-
Ye && (
|
|
1040
|
-
var Ie = new c(T,
|
|
1041
|
-
if (
|
|
1038
|
+
var We = A.prev;
|
|
1039
|
+
Ye && (We = _(b, We, Ye), O += Ye.length), g(b, We, U);
|
|
1040
|
+
var Ie = new c(T, S ? i.tokenize(Ne, S) : Ne, te, Ne);
|
|
1041
|
+
if (A = _(b, We, Ie), Xe && _(b, A, Xe), U > 1) {
|
|
1042
1042
|
var ze = {
|
|
1043
|
-
cause: T + "," +
|
|
1043
|
+
cause: T + "," + B,
|
|
1044
1044
|
reach: Qe
|
|
1045
1045
|
};
|
|
1046
|
-
l(p, b, m,
|
|
1046
|
+
l(p, b, m, A.prev, O, ze), w && ze.reach > w.reach && (w.reach = ze.reach);
|
|
1047
1047
|
}
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
@@ -1512,9 +1512,9 @@ function Pi() {
|
|
|
1512
1512
|
E.setAttribute(i, s);
|
|
1513
1513
|
var w = g(E.getAttribute("data-range"));
|
|
1514
1514
|
if (w) {
|
|
1515
|
-
var T = x.split(/\r\n?|\n/g),
|
|
1516
|
-
|
|
1517
|
-
`), E.hasAttribute("data-start") || E.setAttribute("data-start", String(
|
|
1515
|
+
var T = x.split(/\r\n?|\n/g), F = w[0], B = w[1] == null ? T.length : w[1];
|
|
1516
|
+
F < 0 && (F += T.length), F = Math.max(0, Math.min(F - 1, T.length)), B < 0 && (B += T.length), B = Math.max(0, Math.min(B, T.length)), x = T.slice(F, B).join(`
|
|
1517
|
+
`), E.hasAttribute("data-start") || E.setAttribute("data-start", String(F + 1));
|
|
1518
1518
|
}
|
|
1519
1519
|
v.textContent = x, t.highlightElement(v);
|
|
1520
1520
|
},
|
|
@@ -1544,13 +1544,13 @@ function Pi() {
|
|
|
1544
1544
|
}(yt)), yt.exports;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Ri = Pi();
|
|
1547
|
-
const
|
|
1548
|
-
|
|
1547
|
+
const Yu = /* @__PURE__ */ Ti(Ri);
|
|
1548
|
+
typeof document < "u" && Yu.highlightAll();
|
|
1549
1549
|
function Oi(e, u) {
|
|
1550
1550
|
try {
|
|
1551
|
-
const t =
|
|
1551
|
+
const t = Yu.languages[u];
|
|
1552
1552
|
if (t) {
|
|
1553
|
-
const n =
|
|
1553
|
+
const n = Yu.highlight(e, t || Yu.languages.text, u);
|
|
1554
1554
|
return `<pre class="language-${u}"><code class="language-${u}">${n}</code></pre>`;
|
|
1555
1555
|
}
|
|
1556
1556
|
return e;
|
|
@@ -1558,7 +1558,7 @@ function Oi(e, u) {
|
|
|
1558
1558
|
return e;
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
|
-
const { c:
|
|
1561
|
+
const { c: Uu } = tn;
|
|
1562
1562
|
function Mi({
|
|
1563
1563
|
name: e = "fade-in",
|
|
1564
1564
|
enterDuration: u = "0.2s",
|
|
@@ -1567,22 +1567,22 @@ function Mi({
|
|
|
1567
1567
|
leaveCubicBezier: r = "cubic-bezier(.4, 0, .2, 1)"
|
|
1568
1568
|
} = {}) {
|
|
1569
1569
|
return [
|
|
1570
|
-
|
|
1570
|
+
Uu(`&.${e}-transition-enter-active`, {
|
|
1571
1571
|
transition: `all ${u} ${n}!important`
|
|
1572
1572
|
}),
|
|
1573
|
-
|
|
1573
|
+
Uu(`&.${e}-transition-leave-active`, {
|
|
1574
1574
|
transition: `all ${t} ${r}!important`
|
|
1575
1575
|
}),
|
|
1576
|
-
|
|
1576
|
+
Uu(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`, {
|
|
1577
1577
|
opacity: 0
|
|
1578
1578
|
}),
|
|
1579
|
-
|
|
1579
|
+
Uu(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`, {
|
|
1580
1580
|
opacity: 1
|
|
1581
1581
|
})
|
|
1582
1582
|
];
|
|
1583
1583
|
}
|
|
1584
|
-
const { c: Li, cB: Ni, cE: Ii, cM: zi } = { ...tn, ...
|
|
1585
|
-
function
|
|
1584
|
+
const { c: Li, cB: Ni, cE: Ii, cM: zi } = { ...tn, ...Tr }, Et = `${Pr}-bubble`;
|
|
1585
|
+
function $i() {
|
|
1586
1586
|
return Li([
|
|
1587
1587
|
Ni("bubble", {
|
|
1588
1588
|
display: "flex",
|
|
@@ -1617,38 +1617,38 @@ const Al = /* @__PURE__ */ pe({
|
|
|
1617
1617
|
emits: ["typingComplete"],
|
|
1618
1618
|
setup(e, { emit: u }) {
|
|
1619
1619
|
const t = u;
|
|
1620
|
-
return
|
|
1620
|
+
return Sr("n-bubble", $i()), (n, r) => (z(), W(D(yr), {
|
|
1621
1621
|
tag: "div",
|
|
1622
|
-
class:
|
|
1622
|
+
class: Ku([D(Et), n.placement === "end" ? `${D(Et)}--reverse` : ""])
|
|
1623
1623
|
}, {
|
|
1624
1624
|
default: $(() => [
|
|
1625
|
-
|
|
1626
|
-
n.avatar ? (
|
|
1625
|
+
V(n.$slots, "avatar", {}, () => [
|
|
1626
|
+
n.avatar ? (z(), W(D(Ro), de({
|
|
1627
1627
|
key: 0,
|
|
1628
1628
|
round: ""
|
|
1629
1629
|
}, n.avatar.props), {
|
|
1630
1630
|
default: $(() => [
|
|
1631
|
-
(
|
|
1631
|
+
(z(), W(yu(n.avatar.icon)))
|
|
1632
1632
|
]),
|
|
1633
1633
|
_: 1
|
|
1634
|
-
}, 16)) :
|
|
1634
|
+
}, 16)) : je("", !0)
|
|
1635
1635
|
]),
|
|
1636
|
-
|
|
1636
|
+
Y(D(ku), { vertical: "" }, {
|
|
1637
1637
|
default: $(() => [
|
|
1638
|
-
|
|
1639
|
-
|
|
1638
|
+
V(n.$slots, "header"),
|
|
1639
|
+
Y(Eo, {
|
|
1640
1640
|
mode: "out-in",
|
|
1641
1641
|
name: "fade"
|
|
1642
1642
|
}, {
|
|
1643
1643
|
default: $(() => [
|
|
1644
|
-
n.loading ?
|
|
1645
|
-
|
|
1646
|
-
]) :
|
|
1647
|
-
|
|
1648
|
-
class:
|
|
1644
|
+
n.loading ? V(n.$slots, "loading", { key: 0 }, () => [
|
|
1645
|
+
Y(D(Oo), { style: { height: "44px" } })
|
|
1646
|
+
]) : V(n.$slots, "default", { key: 1 }, () => [
|
|
1647
|
+
Fu("div", {
|
|
1648
|
+
class: Ku([`${D(Et)}__content`, n.contentClass]),
|
|
1649
1649
|
style: vr(n.contentStyle)
|
|
1650
1650
|
}, [
|
|
1651
|
-
|
|
1651
|
+
Y(D(_l), {
|
|
1652
1652
|
typing: n.typing,
|
|
1653
1653
|
markdown: n.markdown,
|
|
1654
1654
|
value: n.content,
|
|
@@ -1659,7 +1659,7 @@ const Al = /* @__PURE__ */ pe({
|
|
|
1659
1659
|
]),
|
|
1660
1660
|
_: 3
|
|
1661
1661
|
}),
|
|
1662
|
-
|
|
1662
|
+
V(n.$slots, "footer")
|
|
1663
1663
|
]),
|
|
1664
1664
|
_: 3
|
|
1665
1665
|
})
|
|
@@ -1680,11 +1680,11 @@ const Al = /* @__PURE__ */ pe({
|
|
|
1680
1680
|
},
|
|
1681
1681
|
setup(e) {
|
|
1682
1682
|
function u() {
|
|
1683
|
-
window.$dialog =
|
|
1683
|
+
window.$dialog = Uo(), window.$loadingBar = qo(), window.$message = jo(), window.$modal = Ho(), window.$notification = Go();
|
|
1684
1684
|
}
|
|
1685
1685
|
const t = pe({
|
|
1686
1686
|
setup() {
|
|
1687
|
-
|
|
1687
|
+
Ao(() => {
|
|
1688
1688
|
u();
|
|
1689
1689
|
});
|
|
1690
1690
|
},
|
|
@@ -1692,20 +1692,20 @@ const Al = /* @__PURE__ */ pe({
|
|
|
1692
1692
|
return null;
|
|
1693
1693
|
}
|
|
1694
1694
|
});
|
|
1695
|
-
return (n, r) => (
|
|
1695
|
+
return (n, r) => (z(), W(D(Mo), me(ge(n.configProviderProps)), {
|
|
1696
1696
|
default: $(() => [
|
|
1697
|
-
|
|
1697
|
+
Y(D(Lo), me(ge(n.loadingBarProps)), {
|
|
1698
1698
|
default: $(() => [
|
|
1699
|
-
|
|
1699
|
+
Y(D(No), me(ge(n.dialogProviderProps)), {
|
|
1700
1700
|
default: $(() => [
|
|
1701
|
-
|
|
1701
|
+
Y(D(Io), me(ge(n.modalProviderProps)), {
|
|
1702
1702
|
default: $(() => [
|
|
1703
|
-
|
|
1703
|
+
Y(D(zo), me(ge(n.notificationProviderProps)), {
|
|
1704
1704
|
default: $(() => [
|
|
1705
|
-
|
|
1705
|
+
Y(D($o), me(ge(n.messageProviderProps)), {
|
|
1706
1706
|
default: $(() => [
|
|
1707
|
-
|
|
1708
|
-
|
|
1707
|
+
V(n.$slots, "default"),
|
|
1708
|
+
Y(D(t))
|
|
1709
1709
|
]),
|
|
1710
1710
|
_: 3
|
|
1711
1711
|
}, 16)
|
|
@@ -1721,7 +1721,7 @@ const Al = /* @__PURE__ */ pe({
|
|
|
1721
1721
|
]),
|
|
1722
1722
|
_: 3
|
|
1723
1723
|
}, 16),
|
|
1724
|
-
n.globalStyle ? (
|
|
1724
|
+
n.globalStyle ? (z(), W(D(Bo), { key: 0 })) : je("", !0)
|
|
1725
1725
|
]),
|
|
1726
1726
|
_: 3
|
|
1727
1727
|
}, 16));
|
|
@@ -1731,7 +1731,7 @@ const Al = /* @__PURE__ */ pe({
|
|
|
1731
1731
|
for (const [n, r] of u)
|
|
1732
1732
|
t[n] = r;
|
|
1733
1733
|
return t;
|
|
1734
|
-
},
|
|
1734
|
+
}, Bi = {
|
|
1735
1735
|
name: "MageCopyFill"
|
|
1736
1736
|
}, Ui = {
|
|
1737
1737
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1740,14 +1740,14 @@ const Al = /* @__PURE__ */ pe({
|
|
|
1740
1740
|
viewBox: "0 0 24 24"
|
|
1741
1741
|
};
|
|
1742
1742
|
function qi(e, u, t, n, r, o) {
|
|
1743
|
-
return
|
|
1744
|
-
|
|
1743
|
+
return z(), He("svg", Ui, u[0] || (u[0] = [
|
|
1744
|
+
Fu("path", {
|
|
1745
1745
|
fill: "#757575",
|
|
1746
1746
|
d: "M18.355 6.54h-1.94V4.69a2.69 2.69 0 0 0-1.646-2.484A2.7 2.7 0 0 0 13.745 2h-8.05a2.68 2.68 0 0 0-2.67 2.69v10.09a2.68 2.68 0 0 0 2.67 2.69h1.94v1.85a2.68 2.68 0 0 0 2.67 2.68h8a2.68 2.68 0 0 0 2.67-2.68V9.23a2.69 2.69 0 0 0-2.62-2.69M7.635 9.23v6.74h-1.94a1.18 1.18 0 0 1-1.17-1.19V4.69a1.18 1.18 0 0 1 1.17-1.19h8.05a1.18 1.18 0 0 1 1.17 1.19v1.85h-4.61a2.69 2.69 0 0 0-2.67 2.69"
|
|
1747
1747
|
}, null, -1)
|
|
1748
1748
|
]));
|
|
1749
1749
|
}
|
|
1750
|
-
const ji = /* @__PURE__ */ nn(
|
|
1750
|
+
const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */ pe({
|
|
1751
1751
|
__name: "CopyButton",
|
|
1752
1752
|
props: {
|
|
1753
1753
|
value: {},
|
|
@@ -1767,20 +1767,20 @@ const ji = /* @__PURE__ */ nn($i, [["render", qi]]), Cl = /* @__PURE__ */ pe({
|
|
|
1767
1767
|
function o(a) {
|
|
1768
1768
|
a.preventDefault(), r();
|
|
1769
1769
|
}
|
|
1770
|
-
return (a, i) => (
|
|
1770
|
+
return (a, i) => (z(), W(D(Er), me(ge(a.tooltipProps)), {
|
|
1771
1771
|
trigger: $(() => [
|
|
1772
|
-
|
|
1772
|
+
Fu("div", {
|
|
1773
1773
|
style: { cursor: "pointer" },
|
|
1774
1774
|
onClick: o
|
|
1775
1775
|
}, [
|
|
1776
|
-
|
|
1777
|
-
|
|
1776
|
+
V(a.$slots, "default", {}, () => [
|
|
1777
|
+
Y(D(Su), de({
|
|
1778
1778
|
quaternary: "",
|
|
1779
1779
|
size: "tiny"
|
|
1780
1780
|
}, a.buttonProps), {
|
|
1781
1781
|
icon: $(() => [
|
|
1782
|
-
|
|
1783
|
-
|
|
1782
|
+
V(a.$slots, "icon", {}, () => [
|
|
1783
|
+
Y(ji)
|
|
1784
1784
|
])
|
|
1785
1785
|
]),
|
|
1786
1786
|
_: 3
|
|
@@ -1789,15 +1789,15 @@ const ji = /* @__PURE__ */ nn($i, [["render", qi]]), Cl = /* @__PURE__ */ pe({
|
|
|
1789
1789
|
])
|
|
1790
1790
|
]),
|
|
1791
1791
|
default: $(() => [
|
|
1792
|
-
|
|
1792
|
+
V(a.$slots, "tooltip", {}, () => [
|
|
1793
1793
|
it(at(D(n) ? "复制成功" : "复制"), 1)
|
|
1794
1794
|
])
|
|
1795
1795
|
]),
|
|
1796
1796
|
_: 3
|
|
1797
1797
|
}, 16));
|
|
1798
1798
|
}
|
|
1799
|
-
}),
|
|
1800
|
-
const o =
|
|
1799
|
+
}), Rr = (e, { manual: u, ready: t = !0, refreshDeps: n = [], refreshDepsAction: r }) => {
|
|
1800
|
+
const o = G(!1);
|
|
1801
1801
|
return Le(() => {
|
|
1802
1802
|
!u && e.options.refreshDeps !== !0 && (o.value = D(t));
|
|
1803
1803
|
}), n instanceof Array ? Me(
|
|
@@ -1821,31 +1821,31 @@ const ji = /* @__PURE__ */ nn($i, [["render", qi]]), Cl = /* @__PURE__ */ pe({
|
|
|
1821
1821
|
}
|
|
1822
1822
|
};
|
|
1823
1823
|
};
|
|
1824
|
-
|
|
1824
|
+
Rr.onInit = ({ ready: e = !0, manual: u }) => ({
|
|
1825
1825
|
loading: !u && D(e)
|
|
1826
1826
|
});
|
|
1827
|
-
const
|
|
1828
|
-
const n =
|
|
1827
|
+
const Xu = /* @__PURE__ */ new Map(), Hi = (e, u, t) => {
|
|
1828
|
+
const n = Xu.get(e);
|
|
1829
1829
|
n?.timer && clearTimeout(n.timer);
|
|
1830
1830
|
let r;
|
|
1831
1831
|
u > -1 && (r = setTimeout(() => {
|
|
1832
|
-
|
|
1833
|
-
}, u)),
|
|
1832
|
+
Xu.delete(e);
|
|
1833
|
+
}, u)), Xu.set(e, {
|
|
1834
1834
|
...t,
|
|
1835
1835
|
timer: r
|
|
1836
1836
|
});
|
|
1837
|
-
}, Gi = (e) =>
|
|
1838
|
-
|
|
1839
|
-
throw
|
|
1837
|
+
}, Gi = (e) => Xu.get(e), Qu = /* @__PURE__ */ new Map(), Wi = (e) => Qu.get(e), Vi = (e, u) => {
|
|
1838
|
+
Qu.set(e, u), u.then((t) => (Qu.delete(e), t)).catch((t) => {
|
|
1839
|
+
throw Qu.delete(e), t;
|
|
1840
1840
|
});
|
|
1841
|
-
},
|
|
1842
|
-
|
|
1841
|
+
}, Ze = {}, Zi = [], Yi = (e, u) => {
|
|
1842
|
+
Ze[e] && (Ze[e].forEach((t) => t(u)), Zi.forEach((t) => t({
|
|
1843
1843
|
type: e,
|
|
1844
1844
|
data: u
|
|
1845
1845
|
})));
|
|
1846
|
-
}, At = (e, u) => (
|
|
1847
|
-
const n =
|
|
1848
|
-
|
|
1846
|
+
}, At = (e, u) => (Ze[e] || (Ze[e] = []), Ze[e].push(u), function() {
|
|
1847
|
+
const n = Ze[e].indexOf(u);
|
|
1848
|
+
Ze[e].splice(n, 1);
|
|
1849
1849
|
}), Xi = (e, {
|
|
1850
1850
|
cacheKey: u,
|
|
1851
1851
|
cacheTime: t = 5 * 60 * 1e3,
|
|
@@ -1853,7 +1853,7 @@ const Yu = /* @__PURE__ */ new Map(), Hi = (e, u, t) => {
|
|
|
1853
1853
|
setCache: r,
|
|
1854
1854
|
getCache: o
|
|
1855
1855
|
}) => {
|
|
1856
|
-
const a =
|
|
1856
|
+
const a = G(), i = G(), c = (l, f) => {
|
|
1857
1857
|
r ? r(f) : Hi(l, t, f), Yi(l, f.data);
|
|
1858
1858
|
}, s = (l, f = []) => o ? o(f) : Gi(l);
|
|
1859
1859
|
return Le(() => {
|
|
@@ -1908,8 +1908,8 @@ function ut(e) {
|
|
|
1908
1908
|
var u = typeof e;
|
|
1909
1909
|
return e != null && (u == "object" || u == "function");
|
|
1910
1910
|
}
|
|
1911
|
-
var Qi = typeof global == "object" && global && global.Object === Object && global, Ji = typeof self == "object" && self && self.Object === Object && self,
|
|
1912
|
-
return
|
|
1911
|
+
var Qi = typeof global == "object" && global && global.Object === Object && global, Ji = typeof self == "object" && self && self.Object === Object && self, Or = Qi || Ji || Function("return this")(), wt = function() {
|
|
1912
|
+
return Or.Date.now();
|
|
1913
1913
|
}, Ki = /\s/;
|
|
1914
1914
|
function e0(e) {
|
|
1915
1915
|
for (var u = e.length; u-- && Ki.test(e.charAt(u)); )
|
|
@@ -1920,7 +1920,7 @@ var u0 = /^\s+/;
|
|
|
1920
1920
|
function t0(e) {
|
|
1921
1921
|
return e && e.slice(0, e0(e) + 1).replace(u0, "");
|
|
1922
1922
|
}
|
|
1923
|
-
var tt =
|
|
1923
|
+
var tt = Or.Symbol, Mr = Object.prototype, n0 = Mr.hasOwnProperty, r0 = Mr.toString, pu = tt ? tt.toStringTag : void 0;
|
|
1924
1924
|
function o0(e) {
|
|
1925
1925
|
var u = n0.call(e, pu), t = e[pu];
|
|
1926
1926
|
try {
|
|
@@ -1935,9 +1935,9 @@ var i0 = Object.prototype, a0 = i0.toString;
|
|
|
1935
1935
|
function c0(e) {
|
|
1936
1936
|
return a0.call(e);
|
|
1937
1937
|
}
|
|
1938
|
-
var s0 = "[object Null]", l0 = "[object Undefined]",
|
|
1938
|
+
var s0 = "[object Null]", l0 = "[object Undefined]", $n = tt ? tt.toStringTag : void 0;
|
|
1939
1939
|
function f0(e) {
|
|
1940
|
-
return e == null ? e === void 0 ? l0 : s0 :
|
|
1940
|
+
return e == null ? e === void 0 ? l0 : s0 : $n && $n in Object(e) ? o0(e) : c0(e);
|
|
1941
1941
|
}
|
|
1942
1942
|
function d0(e) {
|
|
1943
1943
|
return e != null && typeof e == "object";
|
|
@@ -1946,12 +1946,12 @@ var p0 = "[object Symbol]";
|
|
|
1946
1946
|
function h0(e) {
|
|
1947
1947
|
return typeof e == "symbol" || d0(e) && f0(e) == p0;
|
|
1948
1948
|
}
|
|
1949
|
-
var
|
|
1949
|
+
var Bn = NaN, b0 = /^[-+]0x[0-9a-f]+$/i, m0 = /^0b[01]+$/i, g0 = /^0o[0-7]+$/i, x0 = parseInt;
|
|
1950
1950
|
function Un(e) {
|
|
1951
1951
|
if (typeof e == "number")
|
|
1952
1952
|
return e;
|
|
1953
1953
|
if (h0(e))
|
|
1954
|
-
return
|
|
1954
|
+
return Bn;
|
|
1955
1955
|
if (ut(e)) {
|
|
1956
1956
|
var u = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
1957
1957
|
e = ut(u) ? u + "" : u;
|
|
@@ -1960,10 +1960,10 @@ function Un(e) {
|
|
|
1960
1960
|
return e === 0 ? e : +e;
|
|
1961
1961
|
e = t0(e);
|
|
1962
1962
|
var t = m0.test(e);
|
|
1963
|
-
return t || g0.test(e) ? x0(e.slice(2), t ? 2 : 8) : b0.test(e) ?
|
|
1963
|
+
return t || g0.test(e) ? x0(e.slice(2), t ? 2 : 8) : b0.test(e) ? Bn : +e;
|
|
1964
1964
|
}
|
|
1965
1965
|
var k0 = "Expected a function", _0 = Math.max, v0 = Math.min;
|
|
1966
|
-
function
|
|
1966
|
+
function Lr(e, u, t) {
|
|
1967
1967
|
var n, r, o, a, i, c, s = 0, l = !1, f = !1, _ = !0;
|
|
1968
1968
|
if (typeof e != "function")
|
|
1969
1969
|
throw new TypeError(k0);
|
|
@@ -1976,8 +1976,8 @@ function Mr(e, u, t) {
|
|
|
1976
1976
|
return s = x, i = setTimeout(v, u), l ? g(x) : a;
|
|
1977
1977
|
}
|
|
1978
1978
|
function y(x) {
|
|
1979
|
-
var w = x - c, T = x - s,
|
|
1980
|
-
return f ? v0(
|
|
1979
|
+
var w = x - c, T = x - s, F = u - w;
|
|
1980
|
+
return f ? v0(F, o - T) : F;
|
|
1981
1981
|
}
|
|
1982
1982
|
function E(x) {
|
|
1983
1983
|
var w = x - c, T = x - s;
|
|
@@ -2011,14 +2011,14 @@ function Mr(e, u, t) {
|
|
|
2011
2011
|
return k.cancel = b, k.flush = m, k;
|
|
2012
2012
|
}
|
|
2013
2013
|
const y0 = (e, { debounceWait: u, debounceLeading: t, debounceTrailing: n, debounceMaxWait: r }) => {
|
|
2014
|
-
const o =
|
|
2014
|
+
const o = G(), a = he(() => {
|
|
2015
2015
|
const i = {}, c = D(t), s = D(n), l = D(r);
|
|
2016
2016
|
return c !== void 0 && (i.leading = c), s !== void 0 && (i.trailing = s), l !== void 0 && (i.maxWait = l), i;
|
|
2017
2017
|
});
|
|
2018
2018
|
return Le((i) => {
|
|
2019
2019
|
if (D(u)) {
|
|
2020
2020
|
const c = e.runAsync.bind(e);
|
|
2021
|
-
o.value =
|
|
2021
|
+
o.value = Lr(
|
|
2022
2022
|
(s) => {
|
|
2023
2023
|
s();
|
|
2024
2024
|
},
|
|
@@ -2101,11 +2101,11 @@ class T0 {
|
|
|
2101
2101
|
return this.requestInstances;
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
|
-
const
|
|
2104
|
+
const le = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
2105
2105
|
const r = () => {
|
|
2106
|
-
if (t && !
|
|
2106
|
+
if (t && !le.has(t)) {
|
|
2107
2107
|
const a = e.serviceRef.value.toString().includes("function") ? C0(e.serviceRef.value.toString()) : D0(e.serviceRef.value.toString());
|
|
2108
|
-
|
|
2108
|
+
le.insert(t, {
|
|
2109
2109
|
instance: e,
|
|
2110
2110
|
requestName: a,
|
|
2111
2111
|
time: Date.now()
|
|
@@ -2117,14 +2117,14 @@ const fe = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2117
2117
|
)
|
|
2118
2118
|
);
|
|
2119
2119
|
return Le(() => {
|
|
2120
|
-
t &&
|
|
2120
|
+
t && le.has(t) && le.emit({
|
|
2121
2121
|
...e,
|
|
2122
2122
|
options: { ...e.options, ...o.value }
|
|
2123
2123
|
});
|
|
2124
2124
|
}), {
|
|
2125
2125
|
name: "devtoolsPlugin",
|
|
2126
2126
|
onBefore: (a) => {
|
|
2127
|
-
r(), t &&
|
|
2127
|
+
r(), t && le.has(t) && le.emit({
|
|
2128
2128
|
...e.state,
|
|
2129
2129
|
key: t,
|
|
2130
2130
|
params: a,
|
|
@@ -2134,7 +2134,7 @@ const fe = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2134
2134
|
});
|
|
2135
2135
|
},
|
|
2136
2136
|
onSuccess(a, i) {
|
|
2137
|
-
r(), t &&
|
|
2137
|
+
r(), t && le.has(t) && le.emit({
|
|
2138
2138
|
...e.state,
|
|
2139
2139
|
key: t,
|
|
2140
2140
|
data: a,
|
|
@@ -2145,7 +2145,7 @@ const fe = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2145
2145
|
});
|
|
2146
2146
|
},
|
|
2147
2147
|
onCancel() {
|
|
2148
|
-
r(), t &&
|
|
2148
|
+
r(), t && le.has(t) && le.emit({
|
|
2149
2149
|
...e.state,
|
|
2150
2150
|
key: t,
|
|
2151
2151
|
loading: !1,
|
|
@@ -2154,7 +2154,7 @@ const fe = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2154
2154
|
});
|
|
2155
2155
|
},
|
|
2156
2156
|
onError(a, i) {
|
|
2157
|
-
r(), t &&
|
|
2157
|
+
r(), t && le.has(t) && le.emit({
|
|
2158
2158
|
...e.state,
|
|
2159
2159
|
key: t,
|
|
2160
2160
|
params: i,
|
|
@@ -2165,7 +2165,7 @@ const fe = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2165
2165
|
});
|
|
2166
2166
|
},
|
|
2167
2167
|
onMutate(a) {
|
|
2168
|
-
r(), t &&
|
|
2168
|
+
r(), t && le.has(t) && le.emit({
|
|
2169
2169
|
...e.state,
|
|
2170
2170
|
key: t,
|
|
2171
2171
|
data: a,
|
|
@@ -2176,7 +2176,7 @@ const fe = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2176
2176
|
}
|
|
2177
2177
|
};
|
|
2178
2178
|
}, R0 = (e, { loadingDelay: u }) => {
|
|
2179
|
-
const t =
|
|
2179
|
+
const t = G(), n = () => {
|
|
2180
2180
|
t.value && (clearTimeout(D(t.value)), t.value = void 0);
|
|
2181
2181
|
};
|
|
2182
2182
|
return {
|
|
@@ -2204,18 +2204,18 @@ const O0 = !!(typeof window < "u" && window.document && window.document.createEl
|
|
|
2204
2204
|
function on() {
|
|
2205
2205
|
return rn() ? document.visibilityState !== "hidden" : !0;
|
|
2206
2206
|
}
|
|
2207
|
-
const
|
|
2207
|
+
const _u = [];
|
|
2208
2208
|
function M0(e) {
|
|
2209
|
-
return
|
|
2210
|
-
const t =
|
|
2211
|
-
|
|
2209
|
+
return _u.push(e), function() {
|
|
2210
|
+
const t = _u.indexOf(e);
|
|
2211
|
+
_u.splice(t, 1);
|
|
2212
2212
|
};
|
|
2213
2213
|
}
|
|
2214
2214
|
if (rn()) {
|
|
2215
2215
|
const e = () => {
|
|
2216
2216
|
if (on())
|
|
2217
|
-
for (let u = 0; u <
|
|
2218
|
-
const t =
|
|
2217
|
+
for (let u = 0; u < _u.length; u++) {
|
|
2218
|
+
const t = _u[u];
|
|
2219
2219
|
t();
|
|
2220
2220
|
}
|
|
2221
2221
|
};
|
|
@@ -2223,7 +2223,7 @@ if (rn()) {
|
|
|
2223
2223
|
}
|
|
2224
2224
|
const L0 = (e, { pollingInterval: u, pollingWhenHidden: t = !0, pollingErrorRetryCount: n = -1 }) => {
|
|
2225
2225
|
let r;
|
|
2226
|
-
const o =
|
|
2226
|
+
const o = G(), a = G(0), i = () => {
|
|
2227
2227
|
var c;
|
|
2228
2228
|
r && clearTimeout(r), (c = o.value) == null || c.call(o);
|
|
2229
2229
|
};
|
|
@@ -2263,25 +2263,25 @@ function N0(e, u) {
|
|
|
2263
2263
|
function I0() {
|
|
2264
2264
|
return rn() && typeof navigator.onLine < "u" ? navigator.onLine : !0;
|
|
2265
2265
|
}
|
|
2266
|
-
const
|
|
2266
|
+
const vu = [];
|
|
2267
2267
|
function z0(e) {
|
|
2268
|
-
return
|
|
2269
|
-
const t =
|
|
2270
|
-
t > -1 &&
|
|
2268
|
+
return vu.push(e), function() {
|
|
2269
|
+
const t = vu.indexOf(e);
|
|
2270
|
+
t > -1 && vu.splice(t, 1);
|
|
2271
2271
|
};
|
|
2272
2272
|
}
|
|
2273
2273
|
if (O0) {
|
|
2274
2274
|
const e = () => {
|
|
2275
2275
|
if (!(!on() || !I0()))
|
|
2276
|
-
for (let u = 0; u <
|
|
2277
|
-
const t =
|
|
2276
|
+
for (let u = 0; u < vu.length; u++) {
|
|
2277
|
+
const t = vu[u];
|
|
2278
2278
|
t();
|
|
2279
2279
|
}
|
|
2280
2280
|
};
|
|
2281
2281
|
window.addEventListener("visibilitychange", e, !1), window.addEventListener("focus", e, !1);
|
|
2282
2282
|
}
|
|
2283
|
-
const
|
|
2284
|
-
const n =
|
|
2283
|
+
const $0 = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
|
|
2284
|
+
const n = G(), r = () => {
|
|
2285
2285
|
var o;
|
|
2286
2286
|
(o = n.value) == null || o.call(n);
|
|
2287
2287
|
};
|
|
@@ -2303,8 +2303,8 @@ const B0 = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
|
|
|
2303
2303
|
}), {
|
|
2304
2304
|
name: "refreshOnWindowFocusPlugin"
|
|
2305
2305
|
};
|
|
2306
|
-
},
|
|
2307
|
-
const n =
|
|
2306
|
+
}, B0 = (e, { retryInterval: u, retryCount: t }) => {
|
|
2307
|
+
const n = G(), r = G(0), o = G(!1);
|
|
2308
2308
|
return t ? {
|
|
2309
2309
|
name: "retryPlugin",
|
|
2310
2310
|
onBefore: () => {
|
|
@@ -2332,7 +2332,7 @@ function q0(e, u, t) {
|
|
|
2332
2332
|
var n = !0, r = !0;
|
|
2333
2333
|
if (typeof e != "function")
|
|
2334
2334
|
throw new TypeError(U0);
|
|
2335
|
-
return ut(t) && (n = "leading" in t ? !!t.leading : n, r = "trailing" in t ? !!t.trailing : r),
|
|
2335
|
+
return ut(t) && (n = "leading" in t ? !!t.leading : n, r = "trailing" in t ? !!t.trailing : r), Lr(e, u, {
|
|
2336
2336
|
leading: n,
|
|
2337
2337
|
maxWait: u,
|
|
2338
2338
|
trailing: r
|
|
@@ -2343,7 +2343,7 @@ const j0 = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) =>
|
|
|
2343
2343
|
const o = he(() => {
|
|
2344
2344
|
const s = {};
|
|
2345
2345
|
return D(t) !== void 0 && (s.leading = D(t)), D(n) !== void 0 && (s.trailing = D(n)), s;
|
|
2346
|
-
}), a = e.runAsync.bind(e), i =
|
|
2346
|
+
}), a = e.runAsync.bind(e), i = G(), c = he(() => D(u));
|
|
2347
2347
|
return Me([c, o], (s) => {
|
|
2348
2348
|
r && (r.cancel(), e.runAsync = a);
|
|
2349
2349
|
const [l, f] = s, _ = q0(
|
|
@@ -2361,7 +2361,7 @@ const j0 = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) =>
|
|
|
2361
2361
|
});
|
|
2362
2362
|
}, {
|
|
2363
2363
|
immediate: !0
|
|
2364
|
-
}), D(u) ? (
|
|
2364
|
+
}), D(u) ? (wo(() => {
|
|
2365
2365
|
var s;
|
|
2366
2366
|
(s = i.value) == null || s.cancel();
|
|
2367
2367
|
}), {
|
|
@@ -2372,15 +2372,15 @@ const j0 = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) =>
|
|
|
2372
2372
|
}
|
|
2373
2373
|
}) : {};
|
|
2374
2374
|
}, Hn = (e) => typeof e == "function", H0 = (e) => typeof e == "boolean";
|
|
2375
|
-
var G0 = Object.defineProperty, W0 = (e, u, t) => u in e ? G0(e, u, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[u] = t,
|
|
2375
|
+
var G0 = Object.defineProperty, W0 = (e, u, t) => u in e ? G0(e, u, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[u] = t, qu = (e, u, t) => (W0(e, typeof u != "symbol" ? u + "" : u, t), t);
|
|
2376
2376
|
class V0 {
|
|
2377
2377
|
constructor(u, t, n, r = {}) {
|
|
2378
|
-
|
|
2378
|
+
qu(this, "pluginImpls"), qu(this, "count", 0), qu(this, "state", {
|
|
2379
2379
|
loading: !1,
|
|
2380
2380
|
params: void 0,
|
|
2381
2381
|
data: void 0,
|
|
2382
2382
|
error: void 0
|
|
2383
|
-
}),
|
|
2383
|
+
}), qu(this, "previousValidData"), this.serviceRef = u, this.options = t, this.setUpdateData = n, this.initState = r, this.state = {
|
|
2384
2384
|
...this.state,
|
|
2385
2385
|
loading: !t.manual,
|
|
2386
2386
|
...r
|
|
@@ -2442,14 +2442,14 @@ class V0 {
|
|
|
2442
2442
|
if (!this.options.concurrent && g !== this.count)
|
|
2443
2443
|
return new Promise(() => {
|
|
2444
2444
|
});
|
|
2445
|
-
const
|
|
2445
|
+
const F = this.options.formatResult ? this.options.formatResult(m) : m, B = {
|
|
2446
2446
|
data: m
|
|
2447
2447
|
};
|
|
2448
2448
|
return this.setState({
|
|
2449
|
-
data:
|
|
2449
|
+
data: F,
|
|
2450
2450
|
error: void 0,
|
|
2451
2451
|
loading: !1
|
|
2452
|
-
}), (x = (k = this.options).onSuccess) == null || x.call(k,
|
|
2452
|
+
}), (x = (k = this.options).onSuccess) == null || x.call(k, F, u), this.runPluginHandler("onSuccess", F, u, B), this.previousValidData = F, (T = (w = this.options).onFinally) == null || T.call(w, u, F, void 0), (this.options.concurrent || g === this.count) && this.runPluginHandler("onFinally", u, F, void 0), F;
|
|
2453
2453
|
};
|
|
2454
2454
|
v || (v = this.serviceRef.value(...u));
|
|
2455
2455
|
const b = await v;
|
|
@@ -2507,7 +2507,7 @@ function X0(e, u = {}, t = []) {
|
|
|
2507
2507
|
ready: a,
|
|
2508
2508
|
initialData: r,
|
|
2509
2509
|
...i
|
|
2510
|
-
}, s =
|
|
2510
|
+
}, s = G(e), l = Eu({
|
|
2511
2511
|
data: r,
|
|
2512
2512
|
loading: !1,
|
|
2513
2513
|
params: void 0,
|
|
@@ -2524,7 +2524,7 @@ function X0(e, u = {}, t = []) {
|
|
|
2524
2524
|
Object.assign({}, ..._, l)
|
|
2525
2525
|
);
|
|
2526
2526
|
g.options = c, g.pluginImpls = t.map((y) => y(g, c));
|
|
2527
|
-
const d = he(() =>
|
|
2527
|
+
const d = he(() => Bt(a) ? a.value : a);
|
|
2528
2528
|
if (Le(() => {
|
|
2529
2529
|
if (!o) {
|
|
2530
2530
|
const y = g.state.params || u.defaultParams || [];
|
|
@@ -2537,7 +2537,7 @@ function X0(e, u = {}, t = []) {
|
|
|
2537
2537
|
return Jt(() => {
|
|
2538
2538
|
g.cancel();
|
|
2539
2539
|
}), {
|
|
2540
|
-
...
|
|
2540
|
+
...Co(l),
|
|
2541
2541
|
cancel: g.cancel.bind(g),
|
|
2542
2542
|
refresh: g.refresh.bind(g),
|
|
2543
2543
|
refreshAsync: g.refreshAsync.bind(g),
|
|
@@ -2560,11 +2560,11 @@ function an(e, u, t) {
|
|
|
2560
2560
|
y0,
|
|
2561
2561
|
R0,
|
|
2562
2562
|
L0,
|
|
2563
|
-
|
|
2563
|
+
$0,
|
|
2564
2564
|
j0,
|
|
2565
|
-
|
|
2565
|
+
Rr,
|
|
2566
2566
|
Xi,
|
|
2567
|
-
|
|
2567
|
+
B0
|
|
2568
2568
|
]) == null ? void 0 : n.filter(Boolean);
|
|
2569
2569
|
return Q0(X0, u?.use)(
|
|
2570
2570
|
e,
|
|
@@ -2592,118 +2592,118 @@ const Dl = /* @__PURE__ */ pe({
|
|
|
2592
2592
|
},
|
|
2593
2593
|
emits: ["before", "success", "error", "finally", "clickRow", "contextMenuRow", "contextMenuSelect", "load", "scroll", "update:checkedRowKeys", "update:expandedRowKeys", "update:filters", "update:sorter", "update:page", "update:pageSize"],
|
|
2594
2594
|
setup(e, { expose: u, emit: t }) {
|
|
2595
|
-
const n = t, r =
|
|
2595
|
+
const n = t, r = Eu(e.columns ?? []), o = ct("dataTableRef"), a = { page: "page", pageSize: "pageSize", filter: "filter", sorter: "sorter", list: "list", count: "count", rowKey: "id", ...e.fields }, i = Eu({
|
|
2596
2596
|
showSizePicker: !0,
|
|
2597
2597
|
pageSizes: [10, 20, 30],
|
|
2598
2598
|
pageSlot: 5,
|
|
2599
|
-
prefix: (
|
|
2599
|
+
prefix: (A) => `共${A.itemCount}条数据`,
|
|
2600
2600
|
...e.pagination && typeof e.pagination == "boolean" ? {} : e.pagination
|
|
2601
|
-
}), c =
|
|
2601
|
+
}), c = G({
|
|
2602
2602
|
page: 1,
|
|
2603
2603
|
pageSize: 10,
|
|
2604
2604
|
itemCount: 0
|
|
2605
|
-
}),
|
|
2605
|
+
}), s = {
|
|
2606
|
+
[a.page]: c.value.page,
|
|
2607
|
+
[a.pageSize]: c.value.pageSize,
|
|
2608
|
+
...e.defaultParams
|
|
2609
|
+
}, { loading: l, data: f, error: _, params: g, run: d, runAsync: y, refresh: E, refreshAsync: v, cancel: p, mutate: b } = an(e.api, {
|
|
2606
2610
|
defaultParams: [
|
|
2607
|
-
|
|
2608
|
-
[a.page]: c.value.page,
|
|
2609
|
-
[a.pageSize]: c.value.pageSize,
|
|
2610
|
-
...e.defaultParams
|
|
2611
|
-
}
|
|
2611
|
+
s
|
|
2612
2612
|
],
|
|
2613
2613
|
manual: e.manual,
|
|
2614
2614
|
...e.requestOptions,
|
|
2615
|
-
onBefore: (
|
|
2616
|
-
e.requestOptions?.onBefore?.(
|
|
2615
|
+
onBefore: (A) => {
|
|
2616
|
+
e.requestOptions?.onBefore?.(A), n("before", A);
|
|
2617
2617
|
},
|
|
2618
|
-
onSuccess: (
|
|
2619
|
-
e.requestOptions?.onSuccess?.(
|
|
2618
|
+
onSuccess: (A, O) => {
|
|
2619
|
+
e.requestOptions?.onSuccess?.(A, O), n("success", A, O), x(A, O);
|
|
2620
2620
|
},
|
|
2621
|
-
onError: (
|
|
2622
|
-
e.requestOptions?.onError?.(
|
|
2621
|
+
onError: (A, O) => {
|
|
2622
|
+
e.requestOptions?.onError?.(A, O), n("error", A, O);
|
|
2623
2623
|
},
|
|
2624
|
-
onFinally: (
|
|
2625
|
-
e.requestOptions?.onFinally?.(
|
|
2624
|
+
onFinally: (A, O, M) => {
|
|
2625
|
+
e.requestOptions?.onFinally?.(A, O, M), n("finally", A, O, M);
|
|
2626
2626
|
}
|
|
2627
|
-
}, e.requestPlugins),
|
|
2628
|
-
function
|
|
2629
|
-
c.value.page = a.page in
|
|
2630
|
-
const M =
|
|
2627
|
+
}, e.requestPlugins), m = he(() => f.value ? Array.isArray(f.value[a.list]) ? f.value[a.list] : (console.warn(`DataTablePlus: data[${a.list}] must be an array`), []) : []), k = he(() => e.columns?.reduce((A, O) => A + Number(O.width ?? 100), 0));
|
|
2628
|
+
function x(A, O) {
|
|
2629
|
+
c.value.page = a.page in O[0] ? Number(O[0][a.page]) : 1, c.value.pageSize = a.pageSize in O[0] ? Number(O[0][a.pageSize]) : 10, c.value.itemCount = a.count in A ? Number(A[a.count]) : 0;
|
|
2630
|
+
const M = O[0]?.[a.filter], U = O[0]?.[a.sorter];
|
|
2631
2631
|
if (r) {
|
|
2632
|
-
for (const
|
|
2633
|
-
if ("key" in
|
|
2634
|
-
if (M &&
|
|
2635
|
-
const
|
|
2636
|
-
"filter" in
|
|
2632
|
+
for (const N of r)
|
|
2633
|
+
if ("key" in N) {
|
|
2634
|
+
if (M && N.key in M) {
|
|
2635
|
+
const H = M[N.key];
|
|
2636
|
+
"filter" in N && N.filter && (N.filterMultiple ? Array.isArray(H) && (N.filterOptionValues = H) : Array.isArray(H) || (N.filterOptionValue = H));
|
|
2637
2637
|
}
|
|
2638
|
-
if ("sorter" in
|
|
2639
|
-
const
|
|
2640
|
-
"sorter" in
|
|
2638
|
+
if ("sorter" in N && typeof N.sorter == "boolean" && (N.sortOrder = !1), U && N.key in U) {
|
|
2639
|
+
const H = U[N.key];
|
|
2640
|
+
"sorter" in N && N.sorter && (N.sortOrder = H);
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
2643
2643
|
}
|
|
2644
2644
|
}
|
|
2645
|
-
function
|
|
2646
|
-
return
|
|
2647
|
-
...
|
|
2648
|
-
...
|
|
2645
|
+
function w(A) {
|
|
2646
|
+
return d({
|
|
2647
|
+
...g.value[0],
|
|
2648
|
+
...A
|
|
2649
2649
|
});
|
|
2650
2650
|
}
|
|
2651
|
-
const
|
|
2652
|
-
onUpdatePage: (
|
|
2653
|
-
n("update:page",
|
|
2654
|
-
[a.page]:
|
|
2651
|
+
const T = {
|
|
2652
|
+
onUpdatePage: (A) => {
|
|
2653
|
+
n("update:page", A), !l.value && w({
|
|
2654
|
+
[a.page]: A
|
|
2655
2655
|
});
|
|
2656
2656
|
},
|
|
2657
|
-
onUpdatePageSize: (
|
|
2658
|
-
n("update:pageSize",
|
|
2659
|
-
[a.pageSize]:
|
|
2657
|
+
onUpdatePageSize: (A) => {
|
|
2658
|
+
n("update:pageSize", A), !l.value && w({
|
|
2659
|
+
[a.pageSize]: A
|
|
2660
2660
|
});
|
|
2661
2661
|
},
|
|
2662
|
-
onUpdateFilters: (
|
|
2663
|
-
n("update:filters",
|
|
2664
|
-
[a.filter]:
|
|
2662
|
+
onUpdateFilters: (A, O) => {
|
|
2663
|
+
n("update:filters", A, O), w({
|
|
2664
|
+
[a.filter]: A
|
|
2665
2665
|
});
|
|
2666
2666
|
},
|
|
2667
|
-
onUpdateSorter: (
|
|
2668
|
-
n("update:sorter",
|
|
2669
|
-
const
|
|
2670
|
-
if (Array.isArray(
|
|
2671
|
-
for (const M of
|
|
2672
|
-
|
|
2673
|
-
else
|
|
2674
|
-
|
|
2675
|
-
[a.sorter]:
|
|
2667
|
+
onUpdateSorter: (A) => {
|
|
2668
|
+
n("update:sorter", A);
|
|
2669
|
+
const O = {};
|
|
2670
|
+
if (Array.isArray(A))
|
|
2671
|
+
for (const M of A)
|
|
2672
|
+
O[M.columnKey] = M.order;
|
|
2673
|
+
else A && (O[A.columnKey] = A.order);
|
|
2674
|
+
w({
|
|
2675
|
+
[a.sorter]: O
|
|
2676
2676
|
});
|
|
2677
2677
|
},
|
|
2678
|
-
onLoad: (
|
|
2679
|
-
onScroll: (
|
|
2680
|
-
n("scroll",
|
|
2678
|
+
onLoad: (A) => n("load", A),
|
|
2679
|
+
onScroll: (A) => {
|
|
2680
|
+
n("scroll", A);
|
|
2681
2681
|
},
|
|
2682
|
-
onUpdateCheckedRowKeys: (...
|
|
2683
|
-
n("update:checkedRowKeys", ...
|
|
2682
|
+
onUpdateCheckedRowKeys: (...A) => {
|
|
2683
|
+
n("update:checkedRowKeys", ...A);
|
|
2684
2684
|
},
|
|
2685
|
-
onUpdateExpandedRowKeys: (...
|
|
2686
|
-
n("update:expandedRowKeys", ...
|
|
2685
|
+
onUpdateExpandedRowKeys: (...A) => {
|
|
2686
|
+
n("update:expandedRowKeys", ...A);
|
|
2687
2687
|
}
|
|
2688
|
-
},
|
|
2688
|
+
}, F = G(!1), B = G(), L = G({
|
|
2689
2689
|
x: 0,
|
|
2690
2690
|
y: 0
|
|
2691
2691
|
});
|
|
2692
|
-
function A
|
|
2693
|
-
|
|
2694
|
-
key:
|
|
2695
|
-
option:
|
|
2696
|
-
row: ou(
|
|
2692
|
+
function S(A, O) {
|
|
2693
|
+
F.value = !1, n("contextMenuSelect", {
|
|
2694
|
+
key: A,
|
|
2695
|
+
option: O,
|
|
2696
|
+
row: ou(B)
|
|
2697
2697
|
});
|
|
2698
2698
|
}
|
|
2699
|
-
function
|
|
2699
|
+
function j(A, O) {
|
|
2700
2700
|
return {
|
|
2701
2701
|
onClick: (M) => {
|
|
2702
|
-
n("clickRow", { row:
|
|
2702
|
+
n("clickRow", { row: A, index: O, event: M });
|
|
2703
2703
|
},
|
|
2704
2704
|
onContextmenu: (M) => {
|
|
2705
|
-
n("contextMenuRow", { row:
|
|
2706
|
-
|
|
2705
|
+
n("contextMenuRow", { row: A, index: O, event: M }), e.contextMenuOptions && (M.preventDefault(), F.value = !1, B.value = A, Kt(() => {
|
|
2706
|
+
F.value = !0, L.value = {
|
|
2707
2707
|
x: M.x,
|
|
2708
2708
|
y: M.y
|
|
2709
2709
|
};
|
|
@@ -2711,56 +2711,56 @@ const Dl = /* @__PURE__ */ pe({
|
|
|
2711
2711
|
}
|
|
2712
2712
|
};
|
|
2713
2713
|
}
|
|
2714
|
-
const
|
|
2715
|
-
function te(
|
|
2716
|
-
|
|
2717
|
-
[
|
|
2714
|
+
const Q = G(!1);
|
|
2715
|
+
function te(A, O) {
|
|
2716
|
+
O && w({
|
|
2717
|
+
[O]: A
|
|
2718
2718
|
});
|
|
2719
2719
|
}
|
|
2720
|
-
const
|
|
2721
|
-
loading:
|
|
2722
|
-
data:
|
|
2723
|
-
error:
|
|
2724
|
-
params:
|
|
2720
|
+
const ye = {
|
|
2721
|
+
loading: l,
|
|
2722
|
+
data: f,
|
|
2723
|
+
error: _,
|
|
2724
|
+
params: g,
|
|
2725
2725
|
pagination: c,
|
|
2726
|
-
rawList:
|
|
2726
|
+
rawList: m,
|
|
2727
2727
|
dataTableRef: o
|
|
2728
|
-
},
|
|
2729
|
-
run:
|
|
2730
|
-
runAsync:
|
|
2731
|
-
refresh:
|
|
2732
|
-
refreshAsync:
|
|
2733
|
-
cancel:
|
|
2734
|
-
mutate:
|
|
2735
|
-
setParam: (
|
|
2736
|
-
Object.assign(
|
|
2728
|
+
}, Se = {
|
|
2729
|
+
run: d,
|
|
2730
|
+
runAsync: y,
|
|
2731
|
+
refresh: E,
|
|
2732
|
+
refreshAsync: v,
|
|
2733
|
+
cancel: p,
|
|
2734
|
+
mutate: b,
|
|
2735
|
+
setParam: (A) => {
|
|
2736
|
+
Object.assign(g.value[0], A);
|
|
2737
2737
|
},
|
|
2738
|
-
runParam: (
|
|
2739
|
-
runParamAsync: async (
|
|
2738
|
+
runParam: (A) => d(Object.assign(g.value[0], A)),
|
|
2739
|
+
runParamAsync: async (A) => y(Object.assign(g.value[0], A))
|
|
2740
2740
|
};
|
|
2741
2741
|
return u({
|
|
2742
|
-
refs:
|
|
2743
|
-
actions:
|
|
2744
|
-
}), (
|
|
2742
|
+
refs: ye,
|
|
2743
|
+
actions: Se
|
|
2744
|
+
}), (A, O) => (z(), W(D(ku), { vertical: "" }, {
|
|
2745
2745
|
default: $(() => [
|
|
2746
|
-
|
|
2747
|
-
refs:
|
|
2748
|
-
actions:
|
|
2746
|
+
V(A.$slots, "filter", {
|
|
2747
|
+
refs: ye,
|
|
2748
|
+
actions: Se
|
|
2749
2749
|
}, () => [
|
|
2750
|
-
|
|
2750
|
+
Y(D(ku), { vertical: "" }, {
|
|
2751
2751
|
default: $(() => [
|
|
2752
|
-
|
|
2752
|
+
Y(D(jt), me(ge(A.filterGridProps)), {
|
|
2753
2753
|
default: $(() => [
|
|
2754
|
-
(
|
|
2755
|
-
key:
|
|
2754
|
+
(z(!0), He(et, null, Ut(A.filterOptions?.filter((M) => !M.collapsed), ({ key: M, gridItemProps: U, render: N, ...H }, oe) => (z(), W(D(Ht), de({
|
|
2755
|
+
key: oe,
|
|
2756
2756
|
span: 12
|
|
2757
|
-
}, { ref_for: !0 },
|
|
2757
|
+
}, { ref_for: !0 }, U), {
|
|
2758
2758
|
default: $(() => [
|
|
2759
|
-
|
|
2759
|
+
N ? (z(), W(yu(N(ye, Se)), { key: 0 })) : (z(), W(D(Wt), {
|
|
2760
2760
|
key: 1,
|
|
2761
|
-
options:
|
|
2762
|
-
value: M ? D(
|
|
2763
|
-
"onUpdate:value": (
|
|
2761
|
+
options: H,
|
|
2762
|
+
value: M ? D(g)[0][M] : void 0,
|
|
2763
|
+
"onUpdate:value": (q) => te(q, M)
|
|
2764
2764
|
}, null, 8, ["options", "value", "onUpdate:value"]))
|
|
2765
2765
|
]),
|
|
2766
2766
|
_: 2
|
|
@@ -2768,34 +2768,34 @@ const Dl = /* @__PURE__ */ pe({
|
|
|
2768
2768
|
]),
|
|
2769
2769
|
_: 1
|
|
2770
2770
|
}, 16),
|
|
2771
|
-
|
|
2771
|
+
A.filterOptions?.filter((M) => M.collapsed) && A.filterOptions?.filter((M) => M.collapsed)?.length > 0 ? (z(), W(D(Wo), { key: 0 }, {
|
|
2772
2772
|
default: $(() => [
|
|
2773
|
-
|
|
2773
|
+
Y(D(Su), {
|
|
2774
2774
|
size: "tiny",
|
|
2775
|
-
onClick:
|
|
2775
|
+
onClick: O[0] || (O[0] = (M) => Q.value = !Q.value)
|
|
2776
2776
|
}, {
|
|
2777
2777
|
default: $(() => [
|
|
2778
|
-
it(at(
|
|
2778
|
+
it(at(Q.value ? "折叠" : "展开"), 1)
|
|
2779
2779
|
]),
|
|
2780
2780
|
_: 1
|
|
2781
2781
|
})
|
|
2782
2782
|
]),
|
|
2783
2783
|
_: 1
|
|
2784
|
-
})) :
|
|
2785
|
-
|
|
2784
|
+
})) : je("", !0),
|
|
2785
|
+
Y(D(Vo), { show: Q.value }, {
|
|
2786
2786
|
default: $(() => [
|
|
2787
|
-
|
|
2787
|
+
Y(D(jt), me(ge(A.filterGridProps)), {
|
|
2788
2788
|
default: $(() => [
|
|
2789
|
-
(
|
|
2790
|
-
key:
|
|
2789
|
+
(z(!0), He(et, null, Ut(A.filterOptions?.filter((M) => M.collapsed), ({ key: M, gridItemProps: U, render: N, ...H }, oe) => (z(), W(D(Ht), de({
|
|
2790
|
+
key: oe,
|
|
2791
2791
|
span: 12
|
|
2792
|
-
}, { ref_for: !0 },
|
|
2792
|
+
}, { ref_for: !0 }, U), {
|
|
2793
2793
|
default: $(() => [
|
|
2794
|
-
|
|
2794
|
+
N ? (z(), W(yu(N(ye, Se)), { key: 0 })) : (z(), W(D(Wt), {
|
|
2795
2795
|
key: 1,
|
|
2796
|
-
options:
|
|
2797
|
-
value: M ? D(
|
|
2798
|
-
"onUpdate:value": (
|
|
2796
|
+
options: H,
|
|
2797
|
+
value: M ? D(g)[0][M] : void 0,
|
|
2798
|
+
"onUpdate:value": (q) => te(q, M)
|
|
2799
2799
|
}, null, 8, ["options", "value", "onUpdate:value"]))
|
|
2800
2800
|
]),
|
|
2801
2801
|
_: 2
|
|
@@ -2810,64 +2810,79 @@ const Dl = /* @__PURE__ */ pe({
|
|
|
2810
2810
|
_: 1
|
|
2811
2811
|
})
|
|
2812
2812
|
]),
|
|
2813
|
-
|
|
2813
|
+
Y(D(Zo), de({
|
|
2814
2814
|
ref_key: "dataTableRef",
|
|
2815
2815
|
ref: o,
|
|
2816
2816
|
remote: "",
|
|
2817
2817
|
"flex-height": "",
|
|
2818
2818
|
"single-line": !1,
|
|
2819
|
-
"scroll-x":
|
|
2820
|
-
style: { flex: 1, ...
|
|
2821
|
-
class:
|
|
2819
|
+
"scroll-x": k.value,
|
|
2820
|
+
style: { flex: 1, ...A.customStyle },
|
|
2821
|
+
class: A.customClass,
|
|
2822
2822
|
"row-key": (M) => M[a.rowKey],
|
|
2823
|
-
loading: D(
|
|
2823
|
+
loading: D(l),
|
|
2824
2824
|
columns: r,
|
|
2825
|
-
data:
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
"onUpdate:
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
"onUpdate:
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2825
|
+
data: m.value,
|
|
2826
|
+
"row-props": j
|
|
2827
|
+
}, A.dataTableProps, {
|
|
2828
|
+
"onUpdate:filters": T.onUpdateFilters,
|
|
2829
|
+
"onUpdate:sorter": T.onUpdateSorter,
|
|
2830
|
+
onLoad: T.onLoad,
|
|
2831
|
+
onScroll: T.onScroll,
|
|
2832
|
+
"onUpdate:checkedRowKeys": T.onUpdateCheckedRowKeys,
|
|
2833
|
+
"onUpdate:expandedRowKeys": T.onUpdateExpandedRowKeys
|
|
2834
|
+
}), null, 16, ["scroll-x", "style", "class", "row-key", "loading", "columns", "data", "onUpdate:filters", "onUpdate:sorter", "onLoad", "onScroll", "onUpdate:checkedRowKeys", "onUpdate:expandedRowKeys"]),
|
|
2835
|
+
V(A.$slots, "actions", {}, () => [
|
|
2836
|
+
Y(D(ku), null, {
|
|
2837
|
+
default: $(() => [
|
|
2838
|
+
V(A.$slots, "extra"),
|
|
2839
|
+
V(A.$slots, "pagination", {}, () => [
|
|
2840
|
+
A.pagination ? (z(), W(D(Ar), de({
|
|
2841
|
+
key: 0,
|
|
2842
|
+
style: { marginLeft: "auto" },
|
|
2843
|
+
disabled: D(l)
|
|
2844
|
+
}, { ...i, ...c.value }, {
|
|
2845
|
+
"onUpdate:page": T.onUpdatePage,
|
|
2846
|
+
"onUpdate:pageSize": T.onUpdatePageSize
|
|
2847
|
+
}), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : je("", !0)
|
|
2848
|
+
])
|
|
2849
|
+
]),
|
|
2850
|
+
_: 3
|
|
2851
|
+
})
|
|
2852
|
+
]),
|
|
2853
|
+
A.contextMenuOptions ? (z(), W(D(Yo), {
|
|
2839
2854
|
key: 0,
|
|
2840
2855
|
placement: "bottom-start",
|
|
2841
2856
|
trigger: "manual",
|
|
2842
|
-
x:
|
|
2843
|
-
y:
|
|
2844
|
-
show:
|
|
2845
|
-
options:
|
|
2846
|
-
onClickoutside:
|
|
2847
|
-
onSelect:
|
|
2848
|
-
}, null, 8, ["x", "y", "show", "options"])) :
|
|
2857
|
+
x: L.value.x,
|
|
2858
|
+
y: L.value.y,
|
|
2859
|
+
show: F.value,
|
|
2860
|
+
options: A.contextMenuOptions,
|
|
2861
|
+
onClickoutside: O[1] || (O[1] = (M) => F.value = !1),
|
|
2862
|
+
onSelect: S
|
|
2863
|
+
}, null, 8, ["x", "y", "show", "options"])) : je("", !0)
|
|
2849
2864
|
]),
|
|
2850
2865
|
_: 3
|
|
2851
2866
|
}));
|
|
2852
2867
|
}
|
|
2853
2868
|
});
|
|
2854
|
-
function
|
|
2869
|
+
function Nr(e, u) {
|
|
2855
2870
|
const { string: t = "", number: n = null, boolean: r = !1 } = u ?? {};
|
|
2856
2871
|
if (Array.isArray(e))
|
|
2857
2872
|
return e.length = 0, e;
|
|
2858
2873
|
if (typeof e == "object" && e !== null) {
|
|
2859
2874
|
for (const o in e)
|
|
2860
|
-
Object.prototype.hasOwnProperty.call(e, o) && (e[o] =
|
|
2875
|
+
Object.prototype.hasOwnProperty.call(e, o) && (e[o] = Nr(e[o], u));
|
|
2861
2876
|
return e;
|
|
2862
2877
|
}
|
|
2863
2878
|
return typeof e == "string" ? t : typeof e == "number" ? n : typeof e == "boolean" ? r : e;
|
|
2864
2879
|
}
|
|
2865
2880
|
function J0(e, u) {
|
|
2866
|
-
const { rules: t, clearRules: n } = u ?? {}, r =
|
|
2881
|
+
const { rules: t, clearRules: n } = u ?? {}, r = Eu(e ? structuredClone(qt(e)) : {}), o = t, a = G(), i = {
|
|
2867
2882
|
ref: a,
|
|
2868
2883
|
model: r,
|
|
2869
2884
|
rules: o
|
|
2870
|
-
}, c =
|
|
2885
|
+
}, c = Zu();
|
|
2871
2886
|
function s() {
|
|
2872
2887
|
return a.value?.validate().then(() => c.trigger(qt(ou(r))));
|
|
2873
2888
|
}
|
|
@@ -2875,7 +2890,7 @@ function J0(e, u) {
|
|
|
2875
2890
|
a.value?.restoreValidation();
|
|
2876
2891
|
}
|
|
2877
2892
|
function f() {
|
|
2878
|
-
|
|
2893
|
+
Nr(r, n);
|
|
2879
2894
|
}
|
|
2880
2895
|
function _() {
|
|
2881
2896
|
f(), Object.assign(r, structuredClone(e));
|
|
@@ -2885,7 +2900,7 @@ function J0(e, u) {
|
|
|
2885
2900
|
}
|
|
2886
2901
|
return {
|
|
2887
2902
|
formRef: a,
|
|
2888
|
-
formValue:
|
|
2903
|
+
formValue: Do(r),
|
|
2889
2904
|
formRules: o,
|
|
2890
2905
|
formProps: i,
|
|
2891
2906
|
validate: s,
|
|
@@ -2936,21 +2951,21 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
2936
2951
|
function E(v, p) {
|
|
2937
2952
|
p && y.setValue({ [p]: v });
|
|
2938
2953
|
}
|
|
2939
|
-
return (v, p) => (
|
|
2954
|
+
return (v, p) => (z(), W(D(Xo), me(ge({ ...D(r), ...e.formProps })), {
|
|
2940
2955
|
default: $(() => [
|
|
2941
|
-
|
|
2942
|
-
|
|
2956
|
+
V(v.$slots, "header"),
|
|
2957
|
+
V(v.$slots, "default", {
|
|
2943
2958
|
refs: d,
|
|
2944
2959
|
actions: y
|
|
2945
2960
|
}, () => [
|
|
2946
|
-
|
|
2961
|
+
Y(D(jt), me(ge(v.gridProps)), {
|
|
2947
2962
|
default: $(() => [
|
|
2948
|
-
(
|
|
2963
|
+
(z(!0), He(et, null, Ut(v.options, ({ key: b, gridItemProps: m, render: k, ...x }, w) => (z(), W(D(Ht), de({
|
|
2949
2964
|
key: w,
|
|
2950
2965
|
span: 12
|
|
2951
2966
|
}, { ref_for: !0 }, m), {
|
|
2952
2967
|
default: $(() => [
|
|
2953
|
-
k ? (
|
|
2968
|
+
k ? (z(), W(yu(k(d, y)), { key: 0 })) : (z(), W(D(Wt), {
|
|
2954
2969
|
key: 1,
|
|
2955
2970
|
options: x,
|
|
2956
2971
|
path: b,
|
|
@@ -2964,7 +2979,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
2964
2979
|
_: 1
|
|
2965
2980
|
}, 16)
|
|
2966
2981
|
]),
|
|
2967
|
-
|
|
2982
|
+
V(v.$slots, "footer")
|
|
2968
2983
|
]),
|
|
2969
2984
|
_: 3
|
|
2970
2985
|
}, 16));
|
|
@@ -2984,7 +2999,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
2984
2999
|
label: r
|
|
2985
3000
|
} : typeof r == "boolean" ? {} : r;
|
|
2986
3001
|
function c(s) {
|
|
2987
|
-
return r ?
|
|
3002
|
+
return r ? $e(ei, {
|
|
2988
3003
|
labelPlacement: "left",
|
|
2989
3004
|
path: e.path,
|
|
2990
3005
|
...i
|
|
@@ -2994,7 +3009,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
2994
3009
|
}
|
|
2995
3010
|
switch (o) {
|
|
2996
3011
|
case "date-picker":
|
|
2997
|
-
return c(
|
|
3012
|
+
return c($e(Ko, {
|
|
2998
3013
|
value: e.value,
|
|
2999
3014
|
"onUpdate:value": (s) => {
|
|
3000
3015
|
t("update:value", s);
|
|
@@ -3002,7 +3017,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3002
3017
|
...a
|
|
3003
3018
|
}));
|
|
3004
3019
|
case "input":
|
|
3005
|
-
return c(
|
|
3020
|
+
return c($e(en, {
|
|
3006
3021
|
value: e.value,
|
|
3007
3022
|
"onUpdate:value": (s) => {
|
|
3008
3023
|
t("update:value", s);
|
|
@@ -3010,7 +3025,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3010
3025
|
...a
|
|
3011
3026
|
}));
|
|
3012
3027
|
case "search":
|
|
3013
|
-
return c(
|
|
3028
|
+
return c($e(ia, {
|
|
3014
3029
|
value: e.value,
|
|
3015
3030
|
"onUpdate:value": (s) => {
|
|
3016
3031
|
t("update:value", s);
|
|
@@ -3018,7 +3033,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3018
3033
|
...a
|
|
3019
3034
|
}));
|
|
3020
3035
|
case "select":
|
|
3021
|
-
return c(
|
|
3036
|
+
return c($e(wr, {
|
|
3022
3037
|
value: e.value,
|
|
3023
3038
|
"onUpdate:value": (s) => {
|
|
3024
3039
|
t("update:value", s);
|
|
@@ -3026,7 +3041,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3026
3041
|
...a
|
|
3027
3042
|
}));
|
|
3028
3043
|
case "switch":
|
|
3029
|
-
return c(
|
|
3044
|
+
return c($e(Jo, {
|
|
3030
3045
|
value: e.value,
|
|
3031
3046
|
"onUpdate:value": (s) => {
|
|
3032
3047
|
t("update:value", s);
|
|
@@ -3034,7 +3049,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3034
3049
|
...a
|
|
3035
3050
|
}));
|
|
3036
3051
|
case "time-picker":
|
|
3037
|
-
return c(
|
|
3052
|
+
return c($e(Qo, {
|
|
3038
3053
|
value: e.value,
|
|
3039
3054
|
"onUpdate:value": (s) => {
|
|
3040
3055
|
t("update:value", s);
|
|
@@ -3042,12 +3057,12 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3042
3057
|
...a
|
|
3043
3058
|
}));
|
|
3044
3059
|
case "button":
|
|
3045
|
-
return c(
|
|
3060
|
+
return c($e(Su, {
|
|
3046
3061
|
...a
|
|
3047
3062
|
}));
|
|
3048
3063
|
}
|
|
3049
3064
|
}
|
|
3050
|
-
return (r, o) => (
|
|
3065
|
+
return (r, o) => (z(), W(yu(n())));
|
|
3051
3066
|
}
|
|
3052
3067
|
}), Sl = /* @__PURE__ */ pe({
|
|
3053
3068
|
__name: "PresetSelect",
|
|
@@ -3068,141 +3083,145 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3068
3083
|
},
|
|
3069
3084
|
emits: ["before", "success", "error", "finally", "update:value", "update:page", "update:pageSize"],
|
|
3070
3085
|
setup(e, { expose: u, emit: t }) {
|
|
3071
|
-
const n = t, r = ct("selectRef"), o = { page: "page", pageSize: "pageSize", search: "search", list: "list", count: "count", rowKey: "id", label: "label", value: "value", children: "children", ...e.fields }, a =
|
|
3086
|
+
const n = t, r = ct("selectRef"), o = { page: "page", pageSize: "pageSize", search: "search", list: "list", count: "count", rowKey: "id", label: "label", value: "value", children: "children", ...e.fields }, a = Eu({
|
|
3072
3087
|
showSizePicker: !0,
|
|
3073
3088
|
pageSizes: [10, 20, 30],
|
|
3074
3089
|
pageSlot: 5,
|
|
3075
|
-
prefix: (
|
|
3090
|
+
prefix: (S) => `共${S.itemCount}条数据`,
|
|
3076
3091
|
...e.pagination && typeof e.pagination == "boolean" ? {} : e.pagination
|
|
3077
|
-
}), i =
|
|
3092
|
+
}), i = G({
|
|
3078
3093
|
page: 1,
|
|
3079
3094
|
pageSize: 10,
|
|
3080
3095
|
itemCount: 0
|
|
3081
|
-
}),
|
|
3096
|
+
}), c = {
|
|
3097
|
+
[o.page]: i.value.page,
|
|
3098
|
+
[o.pageSize]: i.value.pageSize,
|
|
3099
|
+
[o.search]: "",
|
|
3100
|
+
...e.defaultParams
|
|
3101
|
+
}, { data: s, error: l, loading: f, params: _, run: g, runAsync: d, refresh: y, refreshAsync: E, cancel: v, mutate: p } = an(e.api, {
|
|
3082
3102
|
defaultParams: [
|
|
3083
|
-
|
|
3084
|
-
[o.page]: 1,
|
|
3085
|
-
[o.pageSize]: 10,
|
|
3086
|
-
[o.search]: "",
|
|
3087
|
-
...e.defaultParams
|
|
3088
|
-
}
|
|
3103
|
+
c
|
|
3089
3104
|
],
|
|
3090
3105
|
manual: e.manual,
|
|
3091
3106
|
...e.requestOptions,
|
|
3092
|
-
onBefore: (
|
|
3093
|
-
e.requestOptions?.onBefore?.(
|
|
3107
|
+
onBefore: (S) => {
|
|
3108
|
+
e.requestOptions?.onBefore?.(S), n("before", S);
|
|
3094
3109
|
},
|
|
3095
|
-
onSuccess: (
|
|
3096
|
-
e.requestOptions?.onSuccess?.(
|
|
3110
|
+
onSuccess: (S, j) => {
|
|
3111
|
+
e.requestOptions?.onSuccess?.(S, j), n("success", S, j), k(S, j);
|
|
3097
3112
|
},
|
|
3098
|
-
onError: (
|
|
3099
|
-
e.requestOptions?.onError?.(
|
|
3113
|
+
onError: (S, j) => {
|
|
3114
|
+
e.requestOptions?.onError?.(S, j), n("error", S, j);
|
|
3100
3115
|
},
|
|
3101
|
-
onFinally: (
|
|
3102
|
-
e.requestOptions?.onFinally?.(
|
|
3116
|
+
onFinally: (S, j, Q) => {
|
|
3117
|
+
e.requestOptions?.onFinally?.(S, j, Q), n("finally", S, j, Q);
|
|
3103
3118
|
}
|
|
3104
|
-
}, e.requestPlugins),
|
|
3105
|
-
[o.label]:
|
|
3106
|
-
[o.value]:
|
|
3107
|
-
[o.children]:
|
|
3108
|
-
key:
|
|
3119
|
+
}, e.requestPlugins), b = he(() => s.value ? Array.isArray(s.value[o.list]) ? s.value[o.list] : (console.warn(`DataTablePlus: data[${o.list}] must be an array`), []) : []), m = he(() => typeof e.optionFormat == "function" ? b.value.map((S) => e.optionFormat(S)) : b.value.map((S) => ({
|
|
3120
|
+
[o.label]: S[o.label],
|
|
3121
|
+
[o.value]: S[o.value],
|
|
3122
|
+
[o.children]: S[o.children],
|
|
3123
|
+
key: S[o.rowKey]
|
|
3109
3124
|
})));
|
|
3110
|
-
function
|
|
3111
|
-
i.value.page =
|
|
3125
|
+
function k(S, j) {
|
|
3126
|
+
i.value.page = j[0] && o.page in j[0] ? Number(j[0][o.page]) : 1, i.value.pageSize = j[0] && o.pageSize in j[0] ? Number(j[0][o.pageSize]) : 10, i.value.itemCount = o.count in S ? Number(S[o.count]) : 0;
|
|
3112
3127
|
}
|
|
3113
|
-
function
|
|
3114
|
-
return
|
|
3115
|
-
...
|
|
3116
|
-
...
|
|
3128
|
+
function x(S) {
|
|
3129
|
+
return g({
|
|
3130
|
+
..._.value[0],
|
|
3131
|
+
...S
|
|
3117
3132
|
});
|
|
3118
3133
|
}
|
|
3119
|
-
const
|
|
3120
|
-
onUpdateValue: (
|
|
3121
|
-
const
|
|
3122
|
-
n("update:value",
|
|
3134
|
+
const w = {
|
|
3135
|
+
onUpdateValue: (S, j) => {
|
|
3136
|
+
const Q = Array.isArray(S) ? b.value.filter((te) => S.includes(te[o.rowKey])) : b.value.find((te) => te[o.rowKey] === S);
|
|
3137
|
+
n("update:value", S, j, Q ? qt(ou(Q)) : null);
|
|
3123
3138
|
},
|
|
3124
|
-
onSearch: (
|
|
3125
|
-
|
|
3126
|
-
[o.search]:
|
|
3139
|
+
onSearch: (S) => {
|
|
3140
|
+
f.value || x({
|
|
3141
|
+
[o.search]: S
|
|
3127
3142
|
});
|
|
3128
3143
|
},
|
|
3129
|
-
onUpdateShow: (
|
|
3130
|
-
|
|
3144
|
+
onUpdateShow: (S) => {
|
|
3145
|
+
S && (s.value || e.manual && g(c));
|
|
3131
3146
|
}
|
|
3132
|
-
},
|
|
3133
|
-
onUpdatePage: (
|
|
3134
|
-
n("update:page",
|
|
3135
|
-
[o.page]:
|
|
3147
|
+
}, T = {
|
|
3148
|
+
onUpdatePage: (S) => {
|
|
3149
|
+
n("update:page", S), !f.value && x({
|
|
3150
|
+
[o.page]: S
|
|
3136
3151
|
});
|
|
3137
3152
|
},
|
|
3138
|
-
onUpdatePageSize: (
|
|
3139
|
-
n("update:pageSize",
|
|
3140
|
-
[o.pageSize]:
|
|
3153
|
+
onUpdatePageSize: (S) => {
|
|
3154
|
+
n("update:pageSize", S), !f.value && x({
|
|
3155
|
+
[o.pageSize]: S
|
|
3141
3156
|
});
|
|
3142
3157
|
}
|
|
3143
3158
|
};
|
|
3144
|
-
function
|
|
3159
|
+
function F(S) {
|
|
3145
3160
|
return {
|
|
3146
|
-
[o.label]: e.fallbackLabel ?? `${
|
|
3147
|
-
[o.value]:
|
|
3161
|
+
[o.label]: e.fallbackLabel ?? `${S}`,
|
|
3162
|
+
[o.value]: S
|
|
3148
3163
|
};
|
|
3149
3164
|
}
|
|
3150
3165
|
return u({
|
|
3151
3166
|
refs: {
|
|
3152
|
-
loading:
|
|
3153
|
-
data:
|
|
3154
|
-
error:
|
|
3155
|
-
params:
|
|
3167
|
+
loading: f,
|
|
3168
|
+
data: s,
|
|
3169
|
+
error: l,
|
|
3170
|
+
params: _,
|
|
3156
3171
|
pagination: i,
|
|
3157
|
-
rawList:
|
|
3172
|
+
rawList: b,
|
|
3158
3173
|
selectRef: r
|
|
3159
3174
|
},
|
|
3160
3175
|
actions: {
|
|
3161
|
-
run:
|
|
3162
|
-
runAsync:
|
|
3163
|
-
refresh:
|
|
3164
|
-
refreshAsync:
|
|
3165
|
-
cancel:
|
|
3166
|
-
mutate:
|
|
3167
|
-
setParam: (
|
|
3168
|
-
Object.assign(
|
|
3176
|
+
run: g,
|
|
3177
|
+
runAsync: d,
|
|
3178
|
+
refresh: y,
|
|
3179
|
+
refreshAsync: E,
|
|
3180
|
+
cancel: v,
|
|
3181
|
+
mutate: p,
|
|
3182
|
+
setParam: (S) => {
|
|
3183
|
+
Object.assign(_.value[0], S);
|
|
3169
3184
|
},
|
|
3170
|
-
runParam: (
|
|
3171
|
-
runParamAsync: async (
|
|
3185
|
+
runParam: (S) => g(Object.assign(_.value[0], S)),
|
|
3186
|
+
runParamAsync: async (S) => d(Object.assign(_.value[0], S))
|
|
3172
3187
|
}
|
|
3173
|
-
}), (
|
|
3188
|
+
}), (S, j) => (z(), W(D(wr), de({
|
|
3174
3189
|
ref_key: "selectRef",
|
|
3175
3190
|
ref: r,
|
|
3176
3191
|
remote: "",
|
|
3177
3192
|
filterable: "",
|
|
3178
|
-
multiple:
|
|
3179
|
-
disabled:
|
|
3180
|
-
options:
|
|
3193
|
+
multiple: S.multiple,
|
|
3194
|
+
disabled: S.disabled,
|
|
3195
|
+
options: m.value,
|
|
3181
3196
|
"label-field": o.label,
|
|
3182
3197
|
"value-field": o.value,
|
|
3183
3198
|
"children-field": o.children,
|
|
3184
|
-
value:
|
|
3185
|
-
"fallback-option":
|
|
3186
|
-
loading: D(
|
|
3187
|
-
},
|
|
3188
|
-
"onUpdate:show":
|
|
3189
|
-
"onUpdate:value":
|
|
3190
|
-
onSearch:
|
|
3199
|
+
value: S.value,
|
|
3200
|
+
"fallback-option": F,
|
|
3201
|
+
loading: D(f)
|
|
3202
|
+
}, S.selectProps, {
|
|
3203
|
+
"onUpdate:show": w.onUpdateShow,
|
|
3204
|
+
"onUpdate:value": w.onUpdateValue,
|
|
3205
|
+
onSearch: w.onSearch
|
|
3191
3206
|
}), {
|
|
3192
3207
|
action: $(() => [
|
|
3193
|
-
|
|
3194
|
-
|
|
3208
|
+
V(S.$slots, "action", {}, () => [
|
|
3209
|
+
Y(D(ku), null, {
|
|
3195
3210
|
default: $(() => [
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3211
|
+
V(S.$slots, "extra"),
|
|
3212
|
+
V(S.$slots, "pagination", {}, () => [
|
|
3213
|
+
S.pagination ? (z(), W(D(Ar), de({
|
|
3214
|
+
key: 0,
|
|
3215
|
+
style: { marginLeft: "auto" },
|
|
3216
|
+
simple: "",
|
|
3217
|
+
disabled: D(f)
|
|
3218
|
+
}, { ...a, ...i.value }, {
|
|
3219
|
+
"onUpdate:page": T.onUpdatePage,
|
|
3220
|
+
"onUpdate:pageSize": T.onUpdatePageSize
|
|
3221
|
+
}), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : je("", !0)
|
|
3222
|
+
])
|
|
3204
3223
|
]),
|
|
3205
|
-
_:
|
|
3224
|
+
_: 3
|
|
3206
3225
|
})
|
|
3207
3226
|
])
|
|
3208
3227
|
]),
|
|
@@ -3262,7 +3281,7 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3262
3281
|
runParam: (v) => s(Object.assign(c.value[0], v)),
|
|
3263
3282
|
runParamAsync: async (v) => l(Object.assign(c.value[0], v))
|
|
3264
3283
|
};
|
|
3265
|
-
return u({ refs: y, actions: E }), (v, p) =>
|
|
3284
|
+
return u({ refs: y, actions: E }), (v, p) => V(v.$slots, "default", {
|
|
3266
3285
|
refs: y,
|
|
3267
3286
|
actions: E
|
|
3268
3287
|
});
|
|
@@ -3276,8 +3295,8 @@ const Fl = /* @__PURE__ */ pe({
|
|
|
3276
3295
|
viewBox: "0 0 24 24"
|
|
3277
3296
|
};
|
|
3278
3297
|
function ua(e, u, t, n, r, o) {
|
|
3279
|
-
return
|
|
3280
|
-
|
|
3298
|
+
return z(), He("svg", ea, u[0] || (u[0] = [
|
|
3299
|
+
Fo('<circle cx="18" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".67" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="12" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".33" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="6" cy="12" r="0" fill="#757575"><animate attributeName="r" begin="0" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle>', 3)
|
|
3281
3300
|
]));
|
|
3282
3301
|
}
|
|
3283
3302
|
const ta = /* @__PURE__ */ nn(K0, [["render", ua]]), na = {
|
|
@@ -3289,8 +3308,8 @@ const ta = /* @__PURE__ */ nn(K0, [["render", ua]]), na = {
|
|
|
3289
3308
|
viewBox: "0 0 24 24"
|
|
3290
3309
|
};
|
|
3291
3310
|
function oa(e, u, t, n, r, o) {
|
|
3292
|
-
return
|
|
3293
|
-
|
|
3311
|
+
return z(), He("svg", ra, u[0] || (u[0] = [
|
|
3312
|
+
Fu("path", {
|
|
3294
3313
|
fill: "currentColor",
|
|
3295
3314
|
d: "M11 2c4.968 0 9 4.032 9 9s-4.032 9-9 9s-9-4.032-9-9s4.032-9 9-9m0 16c3.867 0 7-3.133 7-7s-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7m8.485.071l2.829 2.828l-1.415 1.415l-2.828-2.829z"
|
|
3296
3315
|
}, null, -1)
|
|
@@ -3309,7 +3328,7 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3309
3328
|
},
|
|
3310
3329
|
emits: ["update:value"],
|
|
3311
3330
|
setup(e, { emit: u }) {
|
|
3312
|
-
const t = u, n = ct("inputRef"), r =
|
|
3331
|
+
const t = u, n = ct("inputRef"), r = G(e.value), { isPending: o, start: a } = ni(() => {
|
|
3313
3332
|
}, typeof e.autoTrigger == "number" ? e.autoTrigger : 500);
|
|
3314
3333
|
Me(() => e.value, (l) => {
|
|
3315
3334
|
r.value = l;
|
|
@@ -3328,9 +3347,9 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3328
3347
|
}
|
|
3329
3348
|
return Le(() => {
|
|
3330
3349
|
!e.loading && r.value && n.value?.focus();
|
|
3331
|
-
}), (l, f) => (
|
|
3350
|
+
}), (l, f) => (z(), W(D(ui), null, {
|
|
3332
3351
|
default: $(() => [
|
|
3333
|
-
|
|
3352
|
+
Y(D(en), de({
|
|
3334
3353
|
ref_key: "inputRef",
|
|
3335
3354
|
ref: n,
|
|
3336
3355
|
value: r.value,
|
|
@@ -3339,30 +3358,30 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3339
3358
|
clearable: ""
|
|
3340
3359
|
}, l.inputProps, { onKeydown: s }), {
|
|
3341
3360
|
prefix: $(() => [
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3361
|
+
V(l.$slots, "prefix", {}, () => [
|
|
3362
|
+
V(l.$slots, "prefix-icon", {}, () => [
|
|
3363
|
+
Y(Gn)
|
|
3345
3364
|
])
|
|
3346
3365
|
])
|
|
3347
3366
|
]),
|
|
3348
3367
|
suffix: $(() => [
|
|
3349
|
-
D(o) ? (
|
|
3368
|
+
D(o) ? (z(), W(ta, { key: 0 })) : je("", !0)
|
|
3350
3369
|
]),
|
|
3351
3370
|
_: 3
|
|
3352
3371
|
}, 16, ["value", "disabled"]),
|
|
3353
|
-
|
|
3354
|
-
l.searchButton ? (
|
|
3372
|
+
V(l.$slots, "button", {}, () => [
|
|
3373
|
+
l.searchButton ? (z(), W(D(Su), de({
|
|
3355
3374
|
key: 0,
|
|
3356
3375
|
type: l.type,
|
|
3357
3376
|
loading: l.loading
|
|
3358
3377
|
}, l.buttonProps, { onClick: c }), {
|
|
3359
3378
|
icon: $(() => [
|
|
3360
|
-
|
|
3361
|
-
|
|
3379
|
+
V(l.$slots, "button-icon", {}, () => [
|
|
3380
|
+
Y(Gn)
|
|
3362
3381
|
])
|
|
3363
3382
|
]),
|
|
3364
3383
|
_: 3
|
|
3365
|
-
}, 16, ["type", "loading"])) :
|
|
3384
|
+
}, 16, ["type", "loading"])) : je("", !0)
|
|
3366
3385
|
])
|
|
3367
3386
|
]),
|
|
3368
3387
|
_: 3
|
|
@@ -3370,7 +3389,7 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3370
3389
|
}
|
|
3371
3390
|
}), Pl = /* @__PURE__ */ pe({
|
|
3372
3391
|
__name: "ToggleEditor",
|
|
3373
|
-
props: /* @__PURE__ */
|
|
3392
|
+
props: /* @__PURE__ */ So({
|
|
3374
3393
|
inputProps: {}
|
|
3375
3394
|
}, {
|
|
3376
3395
|
value: {},
|
|
@@ -3378,7 +3397,7 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3378
3397
|
}),
|
|
3379
3398
|
emits: ["update:value"],
|
|
3380
3399
|
setup(e) {
|
|
3381
|
-
const u =
|
|
3400
|
+
const u = To(e, "value"), t = G(!1), n = ct("inputRef"), r = G(u.value);
|
|
3382
3401
|
function o() {
|
|
3383
3402
|
t.value = !0, Kt(() => {
|
|
3384
3403
|
n.value?.focus();
|
|
@@ -3387,8 +3406,8 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3387
3406
|
function a() {
|
|
3388
3407
|
t.value = !1, u.value = r.value;
|
|
3389
3408
|
}
|
|
3390
|
-
return (i, c) => (
|
|
3391
|
-
t.value ? (
|
|
3409
|
+
return (i, c) => (z(), He("div", { onClick: o }, [
|
|
3410
|
+
t.value ? (z(), W(D(en), de({
|
|
3392
3411
|
key: 0,
|
|
3393
3412
|
ref_key: "inputRef",
|
|
3394
3413
|
ref: n,
|
|
@@ -3397,7 +3416,7 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3397
3416
|
"onUpdate:value": c[0] || (c[0] = (s) => r.value = s),
|
|
3398
3417
|
onChange: a,
|
|
3399
3418
|
onBlur: a
|
|
3400
|
-
}), null, 16, ["value"])) : (
|
|
3419
|
+
}), null, 16, ["value"])) : (z(), He(et, { key: 1 }, [
|
|
3401
3420
|
it(at(r.value), 1)
|
|
3402
3421
|
], 64))
|
|
3403
3422
|
]));
|
|
@@ -3412,22 +3431,22 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3412
3431
|
emits: ["click"],
|
|
3413
3432
|
setup(e, { emit: u }) {
|
|
3414
3433
|
const t = u;
|
|
3415
|
-
return (n, r) => (
|
|
3434
|
+
return (n, r) => (z(), W(D(Er), me(ge(n.tooltipProps)), {
|
|
3416
3435
|
trigger: $(() => [
|
|
3417
|
-
|
|
3436
|
+
Y(D(Su), de(n.buttonProps, {
|
|
3418
3437
|
onClick: r[0] || (r[0] = (o) => t("click", o))
|
|
3419
3438
|
}), {
|
|
3420
3439
|
icon: $(() => [
|
|
3421
|
-
|
|
3440
|
+
V(n.$slots, "icon")
|
|
3422
3441
|
]),
|
|
3423
3442
|
default: $(() => [
|
|
3424
|
-
|
|
3443
|
+
V(n.$slots, "default")
|
|
3425
3444
|
]),
|
|
3426
3445
|
_: 3
|
|
3427
3446
|
}, 16)
|
|
3428
3447
|
]),
|
|
3429
3448
|
default: $(() => [
|
|
3430
|
-
|
|
3449
|
+
V(n.$slots, "tooltip", {}, () => [
|
|
3431
3450
|
it(at(n.value), 1)
|
|
3432
3451
|
])
|
|
3433
3452
|
]),
|
|
@@ -3437,24 +3456,24 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ pe({
|
|
|
3437
3456
|
});
|
|
3438
3457
|
/*! @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 */
|
|
3439
3458
|
const {
|
|
3440
|
-
entries:
|
|
3459
|
+
entries: Ir,
|
|
3441
3460
|
setPrototypeOf: Wn,
|
|
3442
3461
|
isFrozen: aa,
|
|
3443
3462
|
getPrototypeOf: ca,
|
|
3444
3463
|
getOwnPropertyDescriptor: sa
|
|
3445
3464
|
} = Object;
|
|
3446
3465
|
let {
|
|
3447
|
-
freeze:
|
|
3448
|
-
seal:
|
|
3449
|
-
create:
|
|
3466
|
+
freeze: ae,
|
|
3467
|
+
seal: xe,
|
|
3468
|
+
create: zr
|
|
3450
3469
|
} = Object, {
|
|
3451
3470
|
apply: Vt,
|
|
3452
3471
|
construct: Zt
|
|
3453
3472
|
} = typeof Reflect < "u" && Reflect;
|
|
3454
|
-
|
|
3473
|
+
ae || (ae = function(u) {
|
|
3455
3474
|
return u;
|
|
3456
3475
|
});
|
|
3457
|
-
|
|
3476
|
+
xe || (xe = function(u) {
|
|
3458
3477
|
return u;
|
|
3459
3478
|
});
|
|
3460
3479
|
Vt || (Vt = function(u, t, n) {
|
|
@@ -3463,8 +3482,8 @@ Vt || (Vt = function(u, t, n) {
|
|
|
3463
3482
|
Zt || (Zt = function(u, t) {
|
|
3464
3483
|
return new u(...t);
|
|
3465
3484
|
});
|
|
3466
|
-
const
|
|
3467
|
-
function
|
|
3485
|
+
const ju = ce(Array.prototype.forEach), la = ce(Array.prototype.lastIndexOf), Vn = ce(Array.prototype.pop), hu = ce(Array.prototype.push), fa = ce(Array.prototype.splice), Ju = ce(String.prototype.toLowerCase), Ct = ce(String.prototype.toString), Zn = ce(String.prototype.match), bu = ce(String.prototype.replace), da = ce(String.prototype.indexOf), pa = ce(String.prototype.trim), _e = ce(Object.prototype.hasOwnProperty), ie = ce(RegExp.prototype.test), mu = ha(TypeError);
|
|
3486
|
+
function ce(e) {
|
|
3468
3487
|
return function(u) {
|
|
3469
3488
|
u instanceof RegExp && (u.lastIndex = 0);
|
|
3470
3489
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
@@ -3480,7 +3499,7 @@ function ha(e) {
|
|
|
3480
3499
|
};
|
|
3481
3500
|
}
|
|
3482
3501
|
function I(e, u) {
|
|
3483
|
-
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
3502
|
+
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ju;
|
|
3484
3503
|
Wn && Wn(e, null);
|
|
3485
3504
|
let n = u.length;
|
|
3486
3505
|
for (; n--; ) {
|
|
@@ -3495,13 +3514,13 @@ function I(e, u) {
|
|
|
3495
3514
|
}
|
|
3496
3515
|
function ba(e) {
|
|
3497
3516
|
for (let u = 0; u < e.length; u++)
|
|
3498
|
-
|
|
3517
|
+
_e(e, u) || (e[u] = null);
|
|
3499
3518
|
return e;
|
|
3500
3519
|
}
|
|
3501
3520
|
function Oe(e) {
|
|
3502
|
-
const u =
|
|
3503
|
-
for (const [t, n] of
|
|
3504
|
-
|
|
3521
|
+
const u = zr(null);
|
|
3522
|
+
for (const [t, n] of Ir(e))
|
|
3523
|
+
_e(e, t) && (Array.isArray(n) ? u[t] = ba(n) : n && typeof n == "object" && n.constructor === Object ? u[t] = Oe(n) : u[t] = n);
|
|
3505
3524
|
return u;
|
|
3506
3525
|
}
|
|
3507
3526
|
function gu(e, u) {
|
|
@@ -3509,9 +3528,9 @@ function gu(e, u) {
|
|
|
3509
3528
|
const n = sa(e, u);
|
|
3510
3529
|
if (n) {
|
|
3511
3530
|
if (n.get)
|
|
3512
|
-
return
|
|
3531
|
+
return ce(n.get);
|
|
3513
3532
|
if (typeof n.value == "function")
|
|
3514
|
-
return
|
|
3533
|
+
return ce(n.value);
|
|
3515
3534
|
}
|
|
3516
3535
|
e = ca(e);
|
|
3517
3536
|
}
|
|
@@ -3520,13 +3539,13 @@ function gu(e, u) {
|
|
|
3520
3539
|
}
|
|
3521
3540
|
return t;
|
|
3522
3541
|
}
|
|
3523
|
-
const Yn =
|
|
3542
|
+
const Yn = ae(["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"]), Dt = ae(["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"]), Ft = ae(["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"]), ma = ae(["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"]), St = ae(["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"]), ga = ae(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xn = ae(["#text"]), Qn = ae(["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"]), Tt = ae(["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"]), Jn = ae(["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"]), Hu = ae(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xa = xe(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ka = xe(/<%[\w\W]*|[\w\W]*%>/gm), _a = xe(/\$\{[\w\W]*/gm), va = xe(/^data-[\-\w.\u00B7-\uFFFF]+$/), ya = xe(/^aria-[\-\w]+$/), $r = xe(
|
|
3524
3543
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3525
3544
|
// eslint-disable-line no-useless-escape
|
|
3526
|
-
), Ea =
|
|
3545
|
+
), Ea = xe(/^(?:\w+script|data):/i), Aa = xe(
|
|
3527
3546
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
3528
3547
|
// eslint-disable-line no-control-regex
|
|
3529
|
-
), Br =
|
|
3548
|
+
), Br = xe(/^html$/i), wa = xe(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
3530
3549
|
var Kn = /* @__PURE__ */ Object.freeze({
|
|
3531
3550
|
__proto__: null,
|
|
3532
3551
|
ARIA_ATTR: ya,
|
|
@@ -3535,7 +3554,7 @@ var Kn = /* @__PURE__ */ Object.freeze({
|
|
|
3535
3554
|
DATA_ATTR: va,
|
|
3536
3555
|
DOCTYPE_NAME: Br,
|
|
3537
3556
|
ERB_EXPR: ka,
|
|
3538
|
-
IS_ALLOWED_URI:
|
|
3557
|
+
IS_ALLOWED_URI: $r,
|
|
3539
3558
|
IS_SCRIPT_OR_DATA: Ea,
|
|
3540
3559
|
MUSTACHE_EXPR: xa,
|
|
3541
3560
|
TMPLIT_EXPR: _a
|
|
@@ -3581,9 +3600,9 @@ const xu = {
|
|
|
3581
3600
|
uponSanitizeShadowNode: []
|
|
3582
3601
|
};
|
|
3583
3602
|
};
|
|
3584
|
-
function
|
|
3603
|
+
function Ur() {
|
|
3585
3604
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ca();
|
|
3586
|
-
const u = (
|
|
3605
|
+
const u = (R) => Ur(R);
|
|
3587
3606
|
if (u.version = "3.2.6", u.removed = [], !e || !e.document || e.document.nodeType !== xu.document || !e.Element)
|
|
3588
3607
|
return u.isSupported = !1, u;
|
|
3589
3608
|
let {
|
|
@@ -3601,37 +3620,37 @@ function $r() {
|
|
|
3601
3620
|
trustedTypes: g
|
|
3602
3621
|
} = e, d = c.prototype, y = gu(d, "cloneNode"), E = gu(d, "remove"), v = gu(d, "nextSibling"), p = gu(d, "childNodes"), b = gu(d, "parentNode");
|
|
3603
3622
|
if (typeof a == "function") {
|
|
3604
|
-
const
|
|
3605
|
-
|
|
3623
|
+
const R = t.createElement("template");
|
|
3624
|
+
R.content && R.content.ownerDocument && (t = R.content.ownerDocument);
|
|
3606
3625
|
}
|
|
3607
3626
|
let m, k = "";
|
|
3608
3627
|
const {
|
|
3609
3628
|
implementation: x,
|
|
3610
3629
|
createNodeIterator: w,
|
|
3611
3630
|
createDocumentFragment: T,
|
|
3612
|
-
getElementsByTagName:
|
|
3631
|
+
getElementsByTagName: F
|
|
3613
3632
|
} = t, {
|
|
3614
|
-
importNode:
|
|
3633
|
+
importNode: B
|
|
3615
3634
|
} = n;
|
|
3616
|
-
let
|
|
3617
|
-
u.isSupported = typeof
|
|
3635
|
+
let L = er();
|
|
3636
|
+
u.isSupported = typeof Ir == "function" && typeof b == "function" && x && x.createHTMLDocument !== void 0;
|
|
3618
3637
|
const {
|
|
3619
|
-
MUSTACHE_EXPR:
|
|
3620
|
-
ERB_EXPR:
|
|
3621
|
-
TMPLIT_EXPR:
|
|
3622
|
-
DATA_ATTR:
|
|
3623
|
-
ARIA_ATTR:
|
|
3624
|
-
IS_SCRIPT_OR_DATA:
|
|
3625
|
-
ATTR_WHITESPACE:
|
|
3626
|
-
CUSTOM_ELEMENT:
|
|
3638
|
+
MUSTACHE_EXPR: S,
|
|
3639
|
+
ERB_EXPR: j,
|
|
3640
|
+
TMPLIT_EXPR: Q,
|
|
3641
|
+
DATA_ATTR: te,
|
|
3642
|
+
ARIA_ATTR: ye,
|
|
3643
|
+
IS_SCRIPT_OR_DATA: Se,
|
|
3644
|
+
ATTR_WHITESPACE: A,
|
|
3645
|
+
CUSTOM_ELEMENT: O
|
|
3627
3646
|
} = Kn;
|
|
3628
3647
|
let {
|
|
3629
|
-
IS_ALLOWED_URI:
|
|
3630
|
-
} = Kn,
|
|
3631
|
-
const
|
|
3632
|
-
let
|
|
3633
|
-
const
|
|
3634
|
-
let
|
|
3648
|
+
IS_ALLOWED_URI: M
|
|
3649
|
+
} = Kn, U = null;
|
|
3650
|
+
const N = I({}, [...Yn, ...Dt, ...Ft, ...St, ...Xn]);
|
|
3651
|
+
let H = null;
|
|
3652
|
+
const oe = I({}, [...Qn, ...Tt, ...Jn, ...Hu]);
|
|
3653
|
+
let q = Object.seal(zr(null, {
|
|
3635
3654
|
tagNameCheck: {
|
|
3636
3655
|
writable: !0,
|
|
3637
3656
|
configurable: !1,
|
|
@@ -3650,28 +3669,28 @@ function $r() {
|
|
|
3650
3669
|
enumerable: !0,
|
|
3651
3670
|
value: !1
|
|
3652
3671
|
}
|
|
3653
|
-
})),
|
|
3654
|
-
const
|
|
3672
|
+
})), Ee = null, Ne = null, Ye = !0, Xe = !0, Qe = !1, We = !0, Ie = !1, ze = !0, Ve = !1, pt = !1, ht = !1, Je = !1, Ou = !1, Mu = !1, mn = !0, gn = !1;
|
|
3673
|
+
const ho = "user-content-";
|
|
3655
3674
|
let bt = !0, lu = !1, Ke = {}, eu = null;
|
|
3656
3675
|
const xn = I({}, ["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"]);
|
|
3657
3676
|
let kn = null;
|
|
3658
3677
|
const _n = I({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3659
3678
|
let mt = null;
|
|
3660
|
-
const vn = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]),
|
|
3679
|
+
const vn = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Lu = "http://www.w3.org/1998/Math/MathML", Nu = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml";
|
|
3661
3680
|
let uu = Te, gt = !1, xt = null;
|
|
3662
|
-
const
|
|
3663
|
-
let
|
|
3664
|
-
const
|
|
3681
|
+
const bo = I({}, [Lu, Nu, Te], Ct);
|
|
3682
|
+
let Iu = I({}, ["mi", "mo", "mn", "ms", "mtext"]), zu = I({}, ["annotation-xml"]);
|
|
3683
|
+
const mo = I({}, ["title", "style", "font", "a", "script"]);
|
|
3665
3684
|
let fu = null;
|
|
3666
|
-
const
|
|
3667
|
-
let
|
|
3668
|
-
const
|
|
3685
|
+
const go = ["application/xhtml+xml", "text/html"], xo = "text/html";
|
|
3686
|
+
let K = null, tu = null;
|
|
3687
|
+
const ko = t.createElement("form"), yn = function(h) {
|
|
3669
3688
|
return h instanceof RegExp || h instanceof Function;
|
|
3670
3689
|
}, kt = function() {
|
|
3671
3690
|
let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3672
3691
|
if (!(tu && tu === h)) {
|
|
3673
3692
|
if ((!h || typeof h != "object") && (h = {}), h = Oe(h), fu = // eslint-disable-next-line unicorn/prefer-includes
|
|
3674
|
-
|
|
3693
|
+
go.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? xo : h.PARSER_MEDIA_TYPE, K = fu === "application/xhtml+xml" ? Ct : Ju, U = _e(h, "ALLOWED_TAGS") ? I({}, h.ALLOWED_TAGS, K) : N, H = _e(h, "ALLOWED_ATTR") ? I({}, h.ALLOWED_ATTR, K) : oe, xt = _e(h, "ALLOWED_NAMESPACES") ? I({}, h.ALLOWED_NAMESPACES, Ct) : bo, mt = _e(h, "ADD_URI_SAFE_ATTR") ? I(Oe(vn), h.ADD_URI_SAFE_ATTR, K) : vn, kn = _e(h, "ADD_DATA_URI_TAGS") ? I(Oe(_n), h.ADD_DATA_URI_TAGS, K) : _n, eu = _e(h, "FORBID_CONTENTS") ? I({}, h.FORBID_CONTENTS, K) : xn, Ee = _e(h, "FORBID_TAGS") ? I({}, h.FORBID_TAGS, K) : Oe({}), Ne = _e(h, "FORBID_ATTR") ? I({}, h.FORBID_ATTR, K) : Oe({}), Ke = _e(h, "USE_PROFILES") ? h.USE_PROFILES : !1, Ye = h.ALLOW_ARIA_ATTR !== !1, Xe = h.ALLOW_DATA_ATTR !== !1, Qe = h.ALLOW_UNKNOWN_PROTOCOLS || !1, We = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ie = h.SAFE_FOR_TEMPLATES || !1, ze = h.SAFE_FOR_XML !== !1, Ve = h.WHOLE_DOCUMENT || !1, Je = h.RETURN_DOM || !1, Ou = h.RETURN_DOM_FRAGMENT || !1, Mu = h.RETURN_TRUSTED_TYPE || !1, ht = h.FORCE_BODY || !1, mn = h.SANITIZE_DOM !== !1, gn = h.SANITIZE_NAMED_PROPS || !1, bt = h.KEEP_CONTENT !== !1, lu = h.IN_PLACE || !1, M = h.ALLOWED_URI_REGEXP || $r, uu = h.NAMESPACE || Te, Iu = h.MATHML_TEXT_INTEGRATION_POINTS || Iu, zu = h.HTML_INTEGRATION_POINTS || zu, q = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && yn(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (q.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && yn(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (q.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (q.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ie && (Xe = !1), Ou && (Je = !0), Ke && (U = I({}, Xn), H = [], Ke.html === !0 && (I(U, Yn), I(H, Qn)), Ke.svg === !0 && (I(U, Dt), I(H, Tt), I(H, Hu)), Ke.svgFilters === !0 && (I(U, Ft), I(H, Tt), I(H, Hu)), Ke.mathMl === !0 && (I(U, St), I(H, Jn), I(H, Hu))), h.ADD_TAGS && (U === N && (U = Oe(U)), I(U, h.ADD_TAGS, K)), h.ADD_ATTR && (H === oe && (H = Oe(H)), I(H, h.ADD_ATTR, K)), h.ADD_URI_SAFE_ATTR && I(mt, h.ADD_URI_SAFE_ATTR, K), h.FORBID_CONTENTS && (eu === xn && (eu = Oe(eu)), I(eu, h.FORBID_CONTENTS, K)), bt && (U["#text"] = !0), Ve && I(U, ["html", "head", "body"]), U.table && (I(U, ["tbody"]), delete Ee.tbody), h.TRUSTED_TYPES_POLICY) {
|
|
3675
3694
|
if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3676
3695
|
throw mu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3677
3696
|
if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -3679,17 +3698,17 @@ function $r() {
|
|
|
3679
3698
|
m = h.TRUSTED_TYPES_POLICY, k = m.createHTML("");
|
|
3680
3699
|
} else
|
|
3681
3700
|
m === void 0 && (m = Da(g, r)), m !== null && typeof k == "string" && (k = m.createHTML(""));
|
|
3682
|
-
|
|
3701
|
+
ae && ae(h), tu = h;
|
|
3683
3702
|
}
|
|
3684
|
-
}, En = I({}, [...Dt, ...Ft, ...ma]), An = I({}, [...St, ...ga]),
|
|
3703
|
+
}, En = I({}, [...Dt, ...Ft, ...ma]), An = I({}, [...St, ...ga]), _o = function(h) {
|
|
3685
3704
|
let C = b(h);
|
|
3686
3705
|
(!C || !C.tagName) && (C = {
|
|
3687
3706
|
namespaceURI: uu,
|
|
3688
3707
|
tagName: "template"
|
|
3689
3708
|
});
|
|
3690
|
-
const P =
|
|
3691
|
-
return xt[h.namespaceURI] ? h.namespaceURI ===
|
|
3692
|
-
},
|
|
3709
|
+
const P = Ju(h.tagName), X = Ju(C.tagName);
|
|
3710
|
+
return xt[h.namespaceURI] ? h.namespaceURI === Nu ? C.namespaceURI === Te ? P === "svg" : C.namespaceURI === Lu ? P === "svg" && (X === "annotation-xml" || Iu[X]) : !!En[P] : h.namespaceURI === Lu ? C.namespaceURI === Te ? P === "math" : C.namespaceURI === Nu ? P === "math" && zu[X] : !!An[P] : h.namespaceURI === Te ? C.namespaceURI === Nu && !zu[X] || C.namespaceURI === Lu && !Iu[X] ? !1 : !An[P] && (mo[P] || !En[P]) : !!(fu === "application/xhtml+xml" && xt[h.namespaceURI]) : !1;
|
|
3711
|
+
}, Ae = function(h) {
|
|
3693
3712
|
hu(u.removed, {
|
|
3694
3713
|
element: h
|
|
3695
3714
|
});
|
|
@@ -3711,9 +3730,9 @@ function $r() {
|
|
|
3711
3730
|
});
|
|
3712
3731
|
}
|
|
3713
3732
|
if (C.removeAttribute(h), h === "is")
|
|
3714
|
-
if (Je ||
|
|
3733
|
+
if (Je || Ou)
|
|
3715
3734
|
try {
|
|
3716
|
-
|
|
3735
|
+
Ae(C);
|
|
3717
3736
|
} catch {
|
|
3718
3737
|
}
|
|
3719
3738
|
else
|
|
@@ -3726,25 +3745,25 @@ function $r() {
|
|
|
3726
3745
|
if (ht)
|
|
3727
3746
|
h = "<remove></remove>" + h;
|
|
3728
3747
|
else {
|
|
3729
|
-
const
|
|
3730
|
-
P =
|
|
3748
|
+
const J = Zn(h, /^[\r\n\t ]+/);
|
|
3749
|
+
P = J && J[0];
|
|
3731
3750
|
}
|
|
3732
3751
|
fu === "application/xhtml+xml" && uu === Te && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
|
|
3733
|
-
const
|
|
3752
|
+
const X = m ? m.createHTML(h) : h;
|
|
3734
3753
|
if (uu === Te)
|
|
3735
3754
|
try {
|
|
3736
|
-
C = new _().parseFromString(
|
|
3755
|
+
C = new _().parseFromString(X, fu);
|
|
3737
3756
|
} catch {
|
|
3738
3757
|
}
|
|
3739
3758
|
if (!C || !C.documentElement) {
|
|
3740
3759
|
C = x.createDocument(uu, "template", null);
|
|
3741
3760
|
try {
|
|
3742
|
-
C.documentElement.innerHTML = gt ? k :
|
|
3761
|
+
C.documentElement.innerHTML = gt ? k : X;
|
|
3743
3762
|
} catch {
|
|
3744
3763
|
}
|
|
3745
3764
|
}
|
|
3746
3765
|
const ne = C.body || C.documentElement;
|
|
3747
|
-
return h && P && ne.insertBefore(t.createTextNode(P), ne.childNodes[0] || null), uu === Te ?
|
|
3766
|
+
return h && P && ne.insertBefore(t.createTextNode(P), ne.childNodes[0] || null), uu === Te ? F.call(C, Ve ? "html" : "body")[0] : Ve ? C.documentElement : ne;
|
|
3748
3767
|
}, Cn = function(h) {
|
|
3749
3768
|
return w.call(
|
|
3750
3769
|
h.ownerDocument || h,
|
|
@@ -3758,59 +3777,59 @@ function $r() {
|
|
|
3758
3777
|
}, Dn = function(h) {
|
|
3759
3778
|
return typeof i == "function" && h instanceof i;
|
|
3760
3779
|
};
|
|
3761
|
-
function Pe(
|
|
3762
|
-
|
|
3780
|
+
function Pe(R, h, C) {
|
|
3781
|
+
ju(R, (P) => {
|
|
3763
3782
|
P.call(u, h, C, tu);
|
|
3764
3783
|
});
|
|
3765
3784
|
}
|
|
3766
3785
|
const Fn = function(h) {
|
|
3767
3786
|
let C = null;
|
|
3768
|
-
if (Pe(
|
|
3769
|
-
return
|
|
3770
|
-
const P =
|
|
3771
|
-
if (Pe(
|
|
3787
|
+
if (Pe(L.beforeSanitizeElements, h, null), _t(h))
|
|
3788
|
+
return Ae(h), !0;
|
|
3789
|
+
const P = K(h.nodeName);
|
|
3790
|
+
if (Pe(L.uponSanitizeElement, h, {
|
|
3772
3791
|
tagName: P,
|
|
3773
|
-
allowedTags:
|
|
3774
|
-
}), ze && h.hasChildNodes() && !Dn(h.firstElementChild) &&
|
|
3775
|
-
return
|
|
3776
|
-
if (!
|
|
3777
|
-
if (!
|
|
3792
|
+
allowedTags: U
|
|
3793
|
+
}), ze && h.hasChildNodes() && !Dn(h.firstElementChild) && ie(/<[/\w!]/g, h.innerHTML) && ie(/<[/\w!]/g, h.textContent) || h.nodeType === xu.progressingInstruction || ze && h.nodeType === xu.comment && ie(/<[/\w]/g, h.data))
|
|
3794
|
+
return Ae(h), !0;
|
|
3795
|
+
if (!U[P] || Ee[P]) {
|
|
3796
|
+
if (!Ee[P] && Tn(P) && (q.tagNameCheck instanceof RegExp && ie(q.tagNameCheck, P) || q.tagNameCheck instanceof Function && q.tagNameCheck(P)))
|
|
3778
3797
|
return !1;
|
|
3779
3798
|
if (bt && !eu[P]) {
|
|
3780
|
-
const
|
|
3781
|
-
if (ne &&
|
|
3782
|
-
const
|
|
3783
|
-
for (let
|
|
3784
|
-
const Re = y(ne[
|
|
3785
|
-
Re.__removalCount = (h.__removalCount || 0) + 1,
|
|
3799
|
+
const X = b(h) || h.parentNode, ne = p(h) || h.childNodes;
|
|
3800
|
+
if (ne && X) {
|
|
3801
|
+
const J = ne.length;
|
|
3802
|
+
for (let se = J - 1; se >= 0; --se) {
|
|
3803
|
+
const Re = y(ne[se], !0);
|
|
3804
|
+
Re.__removalCount = (h.__removalCount || 0) + 1, X.insertBefore(Re, v(h));
|
|
3786
3805
|
}
|
|
3787
3806
|
}
|
|
3788
3807
|
}
|
|
3789
|
-
return
|
|
3808
|
+
return Ae(h), !0;
|
|
3790
3809
|
}
|
|
3791
|
-
return h instanceof c && !
|
|
3792
|
-
C = bu(C,
|
|
3810
|
+
return h instanceof c && !_o(h) || (P === "noscript" || P === "noembed" || P === "noframes") && ie(/<\/no(script|embed|frames)/i, h.innerHTML) ? (Ae(h), !0) : (Ie && h.nodeType === xu.text && (C = h.textContent, ju([S, j, Q], (X) => {
|
|
3811
|
+
C = bu(C, X, " ");
|
|
3793
3812
|
}), h.textContent !== C && (hu(u.removed, {
|
|
3794
3813
|
element: h.cloneNode()
|
|
3795
|
-
}), h.textContent = C)), Pe(
|
|
3814
|
+
}), h.textContent = C)), Pe(L.afterSanitizeElements, h, null), !1);
|
|
3796
3815
|
}, Sn = function(h, C, P) {
|
|
3797
|
-
if (mn && (C === "id" || C === "name") && (P in t || P in
|
|
3816
|
+
if (mn && (C === "id" || C === "name") && (P in t || P in ko))
|
|
3798
3817
|
return !1;
|
|
3799
|
-
if (!(Xe && !Ne[C] &&
|
|
3800
|
-
if (!(Ye &&
|
|
3801
|
-
if (!
|
|
3818
|
+
if (!(Xe && !Ne[C] && ie(te, C))) {
|
|
3819
|
+
if (!(Ye && ie(ye, C))) {
|
|
3820
|
+
if (!H[C] || Ne[C]) {
|
|
3802
3821
|
if (
|
|
3803
3822
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
3804
3823
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3805
3824
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
3806
|
-
!(Tn(h) && (
|
|
3825
|
+
!(Tn(h) && (q.tagNameCheck instanceof RegExp && ie(q.tagNameCheck, h) || q.tagNameCheck instanceof Function && q.tagNameCheck(h)) && (q.attributeNameCheck instanceof RegExp && ie(q.attributeNameCheck, C) || q.attributeNameCheck instanceof Function && q.attributeNameCheck(C)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
3807
3826
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3808
|
-
C === "is" &&
|
|
3827
|
+
C === "is" && q.allowCustomizedBuiltInElements && (q.tagNameCheck instanceof RegExp && ie(q.tagNameCheck, P) || q.tagNameCheck instanceof Function && q.tagNameCheck(P)))
|
|
3809
3828
|
) return !1;
|
|
3810
3829
|
} else if (!mt[C]) {
|
|
3811
|
-
if (!
|
|
3830
|
+
if (!ie(M, bu(P, A, ""))) {
|
|
3812
3831
|
if (!((C === "src" || C === "xlink:href" || C === "href") && h !== "script" && da(P, "data:") === 0 && kn[h])) {
|
|
3813
|
-
if (!(Qe && !
|
|
3832
|
+
if (!(Qe && !ie(Se, bu(P, A, "")))) {
|
|
3814
3833
|
if (P)
|
|
3815
3834
|
return !1;
|
|
3816
3835
|
}
|
|
@@ -3821,9 +3840,9 @@ function $r() {
|
|
|
3821
3840
|
}
|
|
3822
3841
|
return !0;
|
|
3823
3842
|
}, Tn = function(h) {
|
|
3824
|
-
return h !== "annotation-xml" && Zn(h,
|
|
3843
|
+
return h !== "annotation-xml" && Zn(h, O);
|
|
3825
3844
|
}, Pn = function(h) {
|
|
3826
|
-
Pe(
|
|
3845
|
+
Pe(L.beforeSanitizeAttributes, h, null);
|
|
3827
3846
|
const {
|
|
3828
3847
|
attributes: C
|
|
3829
3848
|
} = h;
|
|
@@ -3833,40 +3852,40 @@ function $r() {
|
|
|
3833
3852
|
attrName: "",
|
|
3834
3853
|
attrValue: "",
|
|
3835
3854
|
keepAttr: !0,
|
|
3836
|
-
allowedAttributes:
|
|
3855
|
+
allowedAttributes: H,
|
|
3837
3856
|
forceKeepAttr: void 0
|
|
3838
3857
|
};
|
|
3839
|
-
let
|
|
3840
|
-
for (;
|
|
3841
|
-
const ne = C[
|
|
3842
|
-
name:
|
|
3843
|
-
namespaceURI:
|
|
3858
|
+
let X = C.length;
|
|
3859
|
+
for (; X--; ) {
|
|
3860
|
+
const ne = C[X], {
|
|
3861
|
+
name: J,
|
|
3862
|
+
namespaceURI: se,
|
|
3844
3863
|
value: Re
|
|
3845
|
-
} = ne, du = J
|
|
3846
|
-
let re =
|
|
3847
|
-
if (P.attrName = du, P.attrValue = re, P.keepAttr = !0, P.forceKeepAttr = void 0, Pe(
|
|
3848
|
-
nu(
|
|
3864
|
+
} = ne, du = K(J), vt = Re;
|
|
3865
|
+
let re = J === "value" ? vt : pa(vt);
|
|
3866
|
+
if (P.attrName = du, P.attrValue = re, P.keepAttr = !0, P.forceKeepAttr = void 0, Pe(L.uponSanitizeAttribute, h, P), re = P.attrValue, gn && (du === "id" || du === "name") && (nu(J, h), re = ho + re), ze && ie(/((--!?|])>)|<\/(style|title)/i, re)) {
|
|
3867
|
+
nu(J, h);
|
|
3849
3868
|
continue;
|
|
3850
3869
|
}
|
|
3851
3870
|
if (P.forceKeepAttr)
|
|
3852
3871
|
continue;
|
|
3853
3872
|
if (!P.keepAttr) {
|
|
3854
|
-
nu(
|
|
3873
|
+
nu(J, h);
|
|
3855
3874
|
continue;
|
|
3856
3875
|
}
|
|
3857
|
-
if (!
|
|
3858
|
-
nu(
|
|
3876
|
+
if (!We && ie(/\/>/i, re)) {
|
|
3877
|
+
nu(J, h);
|
|
3859
3878
|
continue;
|
|
3860
3879
|
}
|
|
3861
|
-
Ie &&
|
|
3880
|
+
Ie && ju([S, j, Q], (On) => {
|
|
3862
3881
|
re = bu(re, On, " ");
|
|
3863
3882
|
});
|
|
3864
|
-
const Rn =
|
|
3883
|
+
const Rn = K(h.nodeName);
|
|
3865
3884
|
if (!Sn(Rn, du, re)) {
|
|
3866
|
-
nu(
|
|
3885
|
+
nu(J, h);
|
|
3867
3886
|
continue;
|
|
3868
3887
|
}
|
|
3869
|
-
if (m && typeof g == "object" && typeof g.getAttributeType == "function" && !
|
|
3888
|
+
if (m && typeof g == "object" && typeof g.getAttributeType == "function" && !se)
|
|
3870
3889
|
switch (g.getAttributeType(Rn, du)) {
|
|
3871
3890
|
case "TrustedHTML": {
|
|
3872
3891
|
re = m.createHTML(re);
|
|
@@ -3879,87 +3898,87 @@ function $r() {
|
|
|
3879
3898
|
}
|
|
3880
3899
|
if (re !== vt)
|
|
3881
3900
|
try {
|
|
3882
|
-
|
|
3901
|
+
se ? h.setAttributeNS(se, J, re) : h.setAttribute(J, re), _t(h) ? Ae(h) : Vn(u.removed);
|
|
3883
3902
|
} catch {
|
|
3884
|
-
nu(
|
|
3903
|
+
nu(J, h);
|
|
3885
3904
|
}
|
|
3886
3905
|
}
|
|
3887
|
-
Pe(
|
|
3888
|
-
},
|
|
3906
|
+
Pe(L.afterSanitizeAttributes, h, null);
|
|
3907
|
+
}, vo = function R(h) {
|
|
3889
3908
|
let C = null;
|
|
3890
3909
|
const P = Cn(h);
|
|
3891
|
-
for (Pe(
|
|
3892
|
-
Pe(
|
|
3893
|
-
Pe(
|
|
3910
|
+
for (Pe(L.beforeSanitizeShadowDOM, h, null); C = P.nextNode(); )
|
|
3911
|
+
Pe(L.uponSanitizeShadowNode, C, null), Fn(C), Pn(C), C.content instanceof o && R(C.content);
|
|
3912
|
+
Pe(L.afterSanitizeShadowDOM, h, null);
|
|
3894
3913
|
};
|
|
3895
|
-
return u.sanitize = function(
|
|
3896
|
-
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, C = null, P = null,
|
|
3897
|
-
if (gt = !
|
|
3898
|
-
if (typeof
|
|
3899
|
-
if (
|
|
3914
|
+
return u.sanitize = function(R) {
|
|
3915
|
+
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, C = null, P = null, X = null, ne = null;
|
|
3916
|
+
if (gt = !R, gt && (R = "<!-->"), typeof R != "string" && !Dn(R))
|
|
3917
|
+
if (typeof R.toString == "function") {
|
|
3918
|
+
if (R = R.toString(), typeof R != "string")
|
|
3900
3919
|
throw mu("dirty is not a string, aborting");
|
|
3901
3920
|
} else
|
|
3902
3921
|
throw mu("toString is not a function");
|
|
3903
3922
|
if (!u.isSupported)
|
|
3904
|
-
return
|
|
3905
|
-
if (pt || kt(h), u.removed = [], typeof
|
|
3906
|
-
if (
|
|
3907
|
-
const Re =
|
|
3908
|
-
if (!
|
|
3923
|
+
return R;
|
|
3924
|
+
if (pt || kt(h), u.removed = [], typeof R == "string" && (lu = !1), lu) {
|
|
3925
|
+
if (R.nodeName) {
|
|
3926
|
+
const Re = K(R.nodeName);
|
|
3927
|
+
if (!U[Re] || Ee[Re])
|
|
3909
3928
|
throw mu("root node is forbidden and cannot be sanitized in-place");
|
|
3910
3929
|
}
|
|
3911
|
-
} else if (
|
|
3912
|
-
C = wn("<!---->"), P = C.ownerDocument.importNode(
|
|
3930
|
+
} else if (R instanceof i)
|
|
3931
|
+
C = wn("<!---->"), P = C.ownerDocument.importNode(R, !0), P.nodeType === xu.element && P.nodeName === "BODY" || P.nodeName === "HTML" ? C = P : C.appendChild(P);
|
|
3913
3932
|
else {
|
|
3914
|
-
if (!Je && !Ie && !
|
|
3915
|
-
|
|
3916
|
-
return m &&
|
|
3917
|
-
if (C = wn(
|
|
3918
|
-
return Je ? null :
|
|
3933
|
+
if (!Je && !Ie && !Ve && // eslint-disable-next-line unicorn/prefer-includes
|
|
3934
|
+
R.indexOf("<") === -1)
|
|
3935
|
+
return m && Mu ? m.createHTML(R) : R;
|
|
3936
|
+
if (C = wn(R), !C)
|
|
3937
|
+
return Je ? null : Mu ? k : "";
|
|
3919
3938
|
}
|
|
3920
|
-
C && ht &&
|
|
3921
|
-
const
|
|
3922
|
-
for (;
|
|
3923
|
-
Fn(
|
|
3939
|
+
C && ht && Ae(C.firstChild);
|
|
3940
|
+
const J = Cn(lu ? R : C);
|
|
3941
|
+
for (; X = J.nextNode(); )
|
|
3942
|
+
Fn(X), Pn(X), X.content instanceof o && vo(X.content);
|
|
3924
3943
|
if (lu)
|
|
3925
|
-
return
|
|
3944
|
+
return R;
|
|
3926
3945
|
if (Je) {
|
|
3927
|
-
if (
|
|
3946
|
+
if (Ou)
|
|
3928
3947
|
for (ne = T.call(C.ownerDocument); C.firstChild; )
|
|
3929
3948
|
ne.appendChild(C.firstChild);
|
|
3930
3949
|
else
|
|
3931
3950
|
ne = C;
|
|
3932
|
-
return (
|
|
3951
|
+
return (H.shadowroot || H.shadowrootmode) && (ne = B.call(n, ne, !0)), ne;
|
|
3933
3952
|
}
|
|
3934
|
-
let
|
|
3935
|
-
return
|
|
3936
|
-
` +
|
|
3937
|
-
|
|
3938
|
-
}), m &&
|
|
3953
|
+
let se = Ve ? C.outerHTML : C.innerHTML;
|
|
3954
|
+
return Ve && U["!doctype"] && C.ownerDocument && C.ownerDocument.doctype && C.ownerDocument.doctype.name && ie(Br, C.ownerDocument.doctype.name) && (se = "<!DOCTYPE " + C.ownerDocument.doctype.name + `>
|
|
3955
|
+
` + se), Ie && ju([S, j, Q], (Re) => {
|
|
3956
|
+
se = bu(se, Re, " ");
|
|
3957
|
+
}), m && Mu ? m.createHTML(se) : se;
|
|
3939
3958
|
}, u.setConfig = function() {
|
|
3940
|
-
let
|
|
3941
|
-
kt(
|
|
3959
|
+
let R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3960
|
+
kt(R), pt = !0;
|
|
3942
3961
|
}, u.clearConfig = function() {
|
|
3943
3962
|
tu = null, pt = !1;
|
|
3944
|
-
}, u.isValidAttribute = function(
|
|
3963
|
+
}, u.isValidAttribute = function(R, h, C) {
|
|
3945
3964
|
tu || kt({});
|
|
3946
|
-
const P =
|
|
3947
|
-
return Sn(P,
|
|
3948
|
-
}, u.addHook = function(
|
|
3949
|
-
typeof h == "function" && hu(
|
|
3950
|
-
}, u.removeHook = function(
|
|
3965
|
+
const P = K(R), X = K(h);
|
|
3966
|
+
return Sn(P, X, C);
|
|
3967
|
+
}, u.addHook = function(R, h) {
|
|
3968
|
+
typeof h == "function" && hu(L[R], h);
|
|
3969
|
+
}, u.removeHook = function(R, h) {
|
|
3951
3970
|
if (h !== void 0) {
|
|
3952
|
-
const C = la(
|
|
3953
|
-
return C === -1 ? void 0 : fa(
|
|
3971
|
+
const C = la(L[R], h);
|
|
3972
|
+
return C === -1 ? void 0 : fa(L[R], C, 1)[0];
|
|
3954
3973
|
}
|
|
3955
|
-
return Vn(
|
|
3956
|
-
}, u.removeHooks = function(
|
|
3957
|
-
|
|
3974
|
+
return Vn(L[R]);
|
|
3975
|
+
}, u.removeHooks = function(R) {
|
|
3976
|
+
L[R] = [];
|
|
3958
3977
|
}, u.removeAllHooks = function() {
|
|
3959
|
-
|
|
3978
|
+
L = er();
|
|
3960
3979
|
}, u;
|
|
3961
3980
|
}
|
|
3962
|
-
var Fa =
|
|
3981
|
+
var Fa = Ur();
|
|
3963
3982
|
const ur = {};
|
|
3964
3983
|
function Sa(e) {
|
|
3965
3984
|
let u = ur[e];
|
|
@@ -4032,8 +4051,8 @@ function Ta(e) {
|
|
|
4032
4051
|
u[e.charCodeAt(t)] = e[t];
|
|
4033
4052
|
return u;
|
|
4034
4053
|
}
|
|
4035
|
-
function
|
|
4036
|
-
typeof u != "string" && (t = u, u =
|
|
4054
|
+
function Tu(e, u, t) {
|
|
4055
|
+
typeof u != "string" && (t = u, u = Tu.defaultChars), typeof t > "u" && (t = !0);
|
|
4037
4056
|
const n = Ta(u);
|
|
4038
4057
|
let r = "";
|
|
4039
4058
|
for (let o = 0, a = e.length; o < a; o++) {
|
|
@@ -4061,8 +4080,8 @@ function Su(e, u, t) {
|
|
|
4061
4080
|
}
|
|
4062
4081
|
return r;
|
|
4063
4082
|
}
|
|
4064
|
-
|
|
4065
|
-
|
|
4083
|
+
Tu.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
4084
|
+
Tu.componentChars = "-_.!~*'()";
|
|
4066
4085
|
function cn(e) {
|
|
4067
4086
|
let u = "";
|
|
4068
4087
|
return u += e.protocol || "", u += e.slashes ? "//" : "", u += e.auth ? e.auth + "@" : "", e.hostname && e.hostname.indexOf(":") !== -1 ? u += "[" + e.hostname + "]" : u += e.hostname || "", u += e.port ? ":" + e.port : "", u += e.pathname || "", u += e.search || "", u += e.hash || "", u;
|
|
@@ -4138,20 +4157,20 @@ nt.prototype.parseHost = function(e) {
|
|
|
4138
4157
|
let u = Ra.exec(e);
|
|
4139
4158
|
u && (u = u[0], u !== ":" && (this.port = u.substr(1)), e = e.substr(0, e.length - u.length)), e && (this.hostname = e);
|
|
4140
4159
|
};
|
|
4141
|
-
const
|
|
4160
|
+
const $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4142
4161
|
__proto__: null,
|
|
4143
4162
|
decode: au,
|
|
4144
|
-
encode:
|
|
4163
|
+
encode: Tu,
|
|
4145
4164
|
format: cn,
|
|
4146
4165
|
parse: sn
|
|
4147
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4166
|
+
}, Symbol.toStringTag, { value: "Module" })), qr = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, jr = /[\0-\x1F\x7F-\x9F]/, Ba = /[\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]/, ln = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, Hr = /[\$\+<->\^`\|~\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]/, Gr = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4148
4167
|
__proto__: null,
|
|
4149
|
-
Any:
|
|
4150
|
-
Cc:
|
|
4151
|
-
Cf:
|
|
4168
|
+
Any: qr,
|
|
4169
|
+
Cc: jr,
|
|
4170
|
+
Cf: Ba,
|
|
4152
4171
|
P: ln,
|
|
4153
|
-
S:
|
|
4154
|
-
Z:
|
|
4172
|
+
S: Hr,
|
|
4173
|
+
Z: Gr
|
|
4155
4174
|
}, Symbol.toStringTag, { value: "Module" })), qa = new Uint16Array(
|
|
4156
4175
|
// prettier-ignore
|
|
4157
4176
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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((e) => e.charCodeAt(0))
|
|
@@ -4201,42 +4220,42 @@ function Wa(e) {
|
|
|
4201
4220
|
var u;
|
|
4202
4221
|
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = Ha.get(e)) !== null && u !== void 0 ? u : e;
|
|
4203
4222
|
}
|
|
4204
|
-
var
|
|
4223
|
+
var ue;
|
|
4205
4224
|
(function(e) {
|
|
4206
4225
|
e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
|
|
4207
|
-
})(
|
|
4226
|
+
})(ue || (ue = {}));
|
|
4208
4227
|
const Va = 32;
|
|
4209
4228
|
var qe;
|
|
4210
4229
|
(function(e) {
|
|
4211
4230
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
4212
4231
|
})(qe || (qe = {}));
|
|
4213
4232
|
function Yt(e) {
|
|
4214
|
-
return e >=
|
|
4233
|
+
return e >= ue.ZERO && e <= ue.NINE;
|
|
4215
4234
|
}
|
|
4216
4235
|
function Za(e) {
|
|
4217
|
-
return e >=
|
|
4236
|
+
return e >= ue.UPPER_A && e <= ue.UPPER_F || e >= ue.LOWER_A && e <= ue.LOWER_F;
|
|
4218
4237
|
}
|
|
4219
4238
|
function Ya(e) {
|
|
4220
|
-
return e >=
|
|
4239
|
+
return e >= ue.UPPER_A && e <= ue.UPPER_Z || e >= ue.LOWER_A && e <= ue.LOWER_Z || Yt(e);
|
|
4221
4240
|
}
|
|
4222
4241
|
function Xa(e) {
|
|
4223
|
-
return e ===
|
|
4242
|
+
return e === ue.EQUALS || Ya(e);
|
|
4224
4243
|
}
|
|
4225
|
-
var
|
|
4244
|
+
var ee;
|
|
4226
4245
|
(function(e) {
|
|
4227
4246
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
4228
|
-
})(
|
|
4247
|
+
})(ee || (ee = {}));
|
|
4229
4248
|
var Ue;
|
|
4230
4249
|
(function(e) {
|
|
4231
4250
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
4232
4251
|
})(Ue || (Ue = {}));
|
|
4233
4252
|
class Qa {
|
|
4234
4253
|
constructor(u, t, n) {
|
|
4235
|
-
this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state =
|
|
4254
|
+
this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = ee.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Ue.Strict;
|
|
4236
4255
|
}
|
|
4237
4256
|
/** Resets the instance to make it reusable. */
|
|
4238
4257
|
startEntity(u) {
|
|
4239
|
-
this.decodeMode = u, this.state =
|
|
4258
|
+
this.decodeMode = u, this.state = ee.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
4240
4259
|
}
|
|
4241
4260
|
/**
|
|
4242
4261
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -4251,15 +4270,15 @@ class Qa {
|
|
|
4251
4270
|
*/
|
|
4252
4271
|
write(u, t) {
|
|
4253
4272
|
switch (this.state) {
|
|
4254
|
-
case
|
|
4255
|
-
return u.charCodeAt(t) ===
|
|
4256
|
-
case
|
|
4273
|
+
case ee.EntityStart:
|
|
4274
|
+
return u.charCodeAt(t) === ue.NUM ? (this.state = ee.NumericStart, this.consumed += 1, this.stateNumericStart(u, t + 1)) : (this.state = ee.NamedEntity, this.stateNamedEntity(u, t));
|
|
4275
|
+
case ee.NumericStart:
|
|
4257
4276
|
return this.stateNumericStart(u, t);
|
|
4258
|
-
case
|
|
4277
|
+
case ee.NumericDecimal:
|
|
4259
4278
|
return this.stateNumericDecimal(u, t);
|
|
4260
|
-
case
|
|
4279
|
+
case ee.NumericHex:
|
|
4261
4280
|
return this.stateNumericHex(u, t);
|
|
4262
|
-
case
|
|
4281
|
+
case ee.NamedEntity:
|
|
4263
4282
|
return this.stateNamedEntity(u, t);
|
|
4264
4283
|
}
|
|
4265
4284
|
}
|
|
@@ -4273,7 +4292,7 @@ class Qa {
|
|
|
4273
4292
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
4274
4293
|
*/
|
|
4275
4294
|
stateNumericStart(u, t) {
|
|
4276
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) | Va) ===
|
|
4295
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | Va) === ue.LOWER_X ? (this.state = ee.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = ee.NumericDecimal, this.stateNumericDecimal(u, t));
|
|
4277
4296
|
}
|
|
4278
4297
|
addToNumericResult(u, t, n, r) {
|
|
4279
4298
|
if (t !== n) {
|
|
@@ -4338,11 +4357,11 @@ class Qa {
|
|
|
4338
4357
|
var n;
|
|
4339
4358
|
if (this.consumed <= t)
|
|
4340
4359
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
4341
|
-
if (u ===
|
|
4360
|
+
if (u === ue.SEMI)
|
|
4342
4361
|
this.consumed += 1;
|
|
4343
4362
|
else if (this.decodeMode === Ue.Strict)
|
|
4344
4363
|
return 0;
|
|
4345
|
-
return this.emitCodePoint(Wa(this.result), this.consumed), this.errors && (u !==
|
|
4364
|
+
return this.emitCodePoint(Wa(this.result), this.consumed), this.errors && (u !== ue.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
4346
4365
|
}
|
|
4347
4366
|
/**
|
|
4348
4367
|
* Parses a named entity.
|
|
@@ -4364,7 +4383,7 @@ class Qa {
|
|
|
4364
4383
|
(o === 0 || // And there should be no invalid characters.
|
|
4365
4384
|
Xa(a)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
4366
4385
|
if (r = n[this.treeIndex], o = (r & qe.VALUE_LENGTH) >> 14, o !== 0) {
|
|
4367
|
-
if (a ===
|
|
4386
|
+
if (a === ue.SEMI)
|
|
4368
4387
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
4369
4388
|
this.decodeMode !== Ue.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
4370
4389
|
}
|
|
@@ -4404,21 +4423,21 @@ class Qa {
|
|
|
4404
4423
|
end() {
|
|
4405
4424
|
var u;
|
|
4406
4425
|
switch (this.state) {
|
|
4407
|
-
case
|
|
4426
|
+
case ee.NamedEntity:
|
|
4408
4427
|
return this.result !== 0 && (this.decodeMode !== Ue.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
4409
4428
|
// Otherwise, emit a numeric entity if we have one.
|
|
4410
|
-
case
|
|
4429
|
+
case ee.NumericDecimal:
|
|
4411
4430
|
return this.emitNumericEntity(0, 2);
|
|
4412
|
-
case
|
|
4431
|
+
case ee.NumericHex:
|
|
4413
4432
|
return this.emitNumericEntity(0, 3);
|
|
4414
|
-
case
|
|
4433
|
+
case ee.NumericStart:
|
|
4415
4434
|
return (u = this.errors) === null || u === void 0 || u.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
4416
|
-
case
|
|
4435
|
+
case ee.EntityStart:
|
|
4417
4436
|
return 0;
|
|
4418
4437
|
}
|
|
4419
4438
|
}
|
|
4420
4439
|
}
|
|
4421
|
-
function
|
|
4440
|
+
function Wr(e) {
|
|
4422
4441
|
let u = "";
|
|
4423
4442
|
const t = new Qa(e, (n) => u += Ga(n));
|
|
4424
4443
|
return function(r, o) {
|
|
@@ -4460,9 +4479,9 @@ function Ja(e, u, t, n) {
|
|
|
4460
4479
|
}
|
|
4461
4480
|
return -1;
|
|
4462
4481
|
}
|
|
4463
|
-
const Ka =
|
|
4464
|
-
|
|
4465
|
-
function
|
|
4482
|
+
const Ka = Wr(qa);
|
|
4483
|
+
Wr(ja);
|
|
4484
|
+
function Vr(e, u = Ue.Legacy) {
|
|
4466
4485
|
return Ka(e, u);
|
|
4467
4486
|
}
|
|
4468
4487
|
function ec(e) {
|
|
@@ -4486,7 +4505,7 @@ function st(e) {
|
|
|
4486
4505
|
}
|
|
4487
4506
|
}), e;
|
|
4488
4507
|
}
|
|
4489
|
-
function
|
|
4508
|
+
function Zr(e, u, t) {
|
|
4490
4509
|
return [].concat(e.slice(0, u), t, e.slice(u + 1));
|
|
4491
4510
|
}
|
|
4492
4511
|
function dn(e) {
|
|
@@ -4500,17 +4519,17 @@ function rt(e) {
|
|
|
4500
4519
|
}
|
|
4501
4520
|
return String.fromCharCode(e);
|
|
4502
4521
|
}
|
|
4503
|
-
const
|
|
4522
|
+
const Yr = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, nc = /&([a-z#][a-z0-9]{1,31});/gi, rc = new RegExp(Yr.source + "|" + nc.source, "gi"), oc = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
4504
4523
|
function ic(e, u) {
|
|
4505
4524
|
if (u.charCodeAt(0) === 35 && oc.test(u)) {
|
|
4506
4525
|
const n = u[1].toLowerCase() === "x" ? parseInt(u.slice(2), 16) : parseInt(u.slice(1), 10);
|
|
4507
4526
|
return dn(n) ? rt(n) : e;
|
|
4508
4527
|
}
|
|
4509
|
-
const t =
|
|
4528
|
+
const t = Vr(e);
|
|
4510
4529
|
return t !== e ? t : e;
|
|
4511
4530
|
}
|
|
4512
4531
|
function ac(e) {
|
|
4513
|
-
return e.indexOf("\\") < 0 ? e : e.replace(
|
|
4532
|
+
return e.indexOf("\\") < 0 ? e : e.replace(Yr, "$1");
|
|
4514
4533
|
}
|
|
4515
4534
|
function cu(e) {
|
|
4516
4535
|
return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(rc, function(u, t, n) {
|
|
@@ -4526,14 +4545,14 @@ const cc = /[&<>"]/, sc = /[&<>"]/g, lc = {
|
|
|
4526
4545
|
function fc(e) {
|
|
4527
4546
|
return lc[e];
|
|
4528
4547
|
}
|
|
4529
|
-
function
|
|
4548
|
+
function Ge(e) {
|
|
4530
4549
|
return cc.test(e) ? e.replace(sc, fc) : e;
|
|
4531
4550
|
}
|
|
4532
4551
|
const dc = /[.?*+^$[\]\\(){}|-]/g;
|
|
4533
4552
|
function pc(e) {
|
|
4534
4553
|
return e.replace(dc, "\\$&");
|
|
4535
4554
|
}
|
|
4536
|
-
function
|
|
4555
|
+
function Z(e) {
|
|
4537
4556
|
switch (e) {
|
|
4538
4557
|
case 9:
|
|
4539
4558
|
case 32:
|
|
@@ -4541,7 +4560,7 @@ function H(e) {
|
|
|
4541
4560
|
}
|
|
4542
4561
|
return !1;
|
|
4543
4562
|
}
|
|
4544
|
-
function
|
|
4563
|
+
function Au(e) {
|
|
4545
4564
|
if (e >= 8192 && e <= 8202)
|
|
4546
4565
|
return !0;
|
|
4547
4566
|
switch (e) {
|
|
@@ -4565,10 +4584,10 @@ function Eu(e) {
|
|
|
4565
4584
|
}
|
|
4566
4585
|
return !1;
|
|
4567
4586
|
}
|
|
4568
|
-
function Au(e) {
|
|
4569
|
-
return ln.test(e) || jr.test(e);
|
|
4570
|
-
}
|
|
4571
4587
|
function wu(e) {
|
|
4588
|
+
return ln.test(e) || Hr.test(e);
|
|
4589
|
+
}
|
|
4590
|
+
function Cu(e) {
|
|
4572
4591
|
switch (e) {
|
|
4573
4592
|
case 33:
|
|
4574
4593
|
case 34:
|
|
@@ -4610,20 +4629,20 @@ function wu(e) {
|
|
|
4610
4629
|
function lt(e) {
|
|
4611
4630
|
return e = e.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (e = e.replace(/ẞ/g, "ß")), e.toLowerCase().toUpperCase();
|
|
4612
4631
|
}
|
|
4613
|
-
const hc = { mdurl:
|
|
4632
|
+
const hc = { mdurl: $a, ucmicro: Ua }, bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4614
4633
|
__proto__: null,
|
|
4615
|
-
arrayReplaceAt:
|
|
4634
|
+
arrayReplaceAt: Zr,
|
|
4616
4635
|
assign: st,
|
|
4617
|
-
escapeHtml:
|
|
4636
|
+
escapeHtml: Ge,
|
|
4618
4637
|
escapeRE: pc,
|
|
4619
4638
|
fromCodePoint: rt,
|
|
4620
4639
|
has: tc,
|
|
4621
|
-
isMdAsciiPunct:
|
|
4622
|
-
isPunctChar:
|
|
4623
|
-
isSpace:
|
|
4640
|
+
isMdAsciiPunct: Cu,
|
|
4641
|
+
isPunctChar: wu,
|
|
4642
|
+
isSpace: Z,
|
|
4624
4643
|
isString: fn,
|
|
4625
4644
|
isValidEntityCode: dn,
|
|
4626
|
-
isWhiteSpace:
|
|
4645
|
+
isWhiteSpace: Au,
|
|
4627
4646
|
lib: hc,
|
|
4628
4647
|
normalizeReference: lt,
|
|
4629
4648
|
unescapeAll: cu,
|
|
@@ -4725,17 +4744,17 @@ const kc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4725
4744
|
parseLinkDestination: gc,
|
|
4726
4745
|
parseLinkLabel: mc,
|
|
4727
4746
|
parseLinkTitle: xc
|
|
4728
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4729
|
-
|
|
4747
|
+
}, Symbol.toStringTag, { value: "Module" })), De = {};
|
|
4748
|
+
De.code_inline = function(e, u, t, n, r) {
|
|
4730
4749
|
const o = e[u];
|
|
4731
|
-
return "<code" + r.renderAttrs(o) + ">" +
|
|
4750
|
+
return "<code" + r.renderAttrs(o) + ">" + Ge(o.content) + "</code>";
|
|
4732
4751
|
};
|
|
4733
|
-
|
|
4752
|
+
De.code_block = function(e, u, t, n, r) {
|
|
4734
4753
|
const o = e[u];
|
|
4735
|
-
return "<pre" + r.renderAttrs(o) + "><code>" +
|
|
4754
|
+
return "<pre" + r.renderAttrs(o) + "><code>" + Ge(e[u].content) + `</code></pre>
|
|
4736
4755
|
`;
|
|
4737
4756
|
};
|
|
4738
|
-
|
|
4757
|
+
De.fence = function(e, u, t, n, r) {
|
|
4739
4758
|
const o = e[u], a = o.info ? cu(o.info).trim() : "";
|
|
4740
4759
|
let i = "", c = "";
|
|
4741
4760
|
if (a) {
|
|
@@ -4743,7 +4762,7 @@ Fe.fence = function(e, u, t, n, r) {
|
|
|
4743
4762
|
i = l[0], c = l.slice(2).join("");
|
|
4744
4763
|
}
|
|
4745
4764
|
let s;
|
|
4746
|
-
if (t.highlight ? s = t.highlight(o.content, i, c) ||
|
|
4765
|
+
if (t.highlight ? s = t.highlight(o.content, i, c) || Ge(o.content) : s = Ge(o.content), s.indexOf("<pre") === 0)
|
|
4747
4766
|
return s + `
|
|
4748
4767
|
`;
|
|
4749
4768
|
if (a) {
|
|
@@ -4758,39 +4777,39 @@ Fe.fence = function(e, u, t, n, r) {
|
|
|
4758
4777
|
return `<pre><code${r.renderAttrs(o)}>${s}</code></pre>
|
|
4759
4778
|
`;
|
|
4760
4779
|
};
|
|
4761
|
-
|
|
4780
|
+
De.image = function(e, u, t, n, r) {
|
|
4762
4781
|
const o = e[u];
|
|
4763
4782
|
return o.attrs[o.attrIndex("alt")][1] = r.renderInlineAsText(o.children, t, n), r.renderToken(e, u, t);
|
|
4764
4783
|
};
|
|
4765
|
-
|
|
4784
|
+
De.hardbreak = function(e, u, t) {
|
|
4766
4785
|
return t.xhtmlOut ? `<br />
|
|
4767
4786
|
` : `<br>
|
|
4768
4787
|
`;
|
|
4769
4788
|
};
|
|
4770
|
-
|
|
4789
|
+
De.softbreak = function(e, u, t) {
|
|
4771
4790
|
return t.breaks ? t.xhtmlOut ? `<br />
|
|
4772
4791
|
` : `<br>
|
|
4773
4792
|
` : `
|
|
4774
4793
|
`;
|
|
4775
4794
|
};
|
|
4776
|
-
|
|
4777
|
-
return
|
|
4795
|
+
De.text = function(e, u) {
|
|
4796
|
+
return Ge(e[u].content);
|
|
4778
4797
|
};
|
|
4779
|
-
|
|
4798
|
+
De.html_block = function(e, u) {
|
|
4780
4799
|
return e[u].content;
|
|
4781
4800
|
};
|
|
4782
|
-
|
|
4801
|
+
De.html_inline = function(e, u) {
|
|
4783
4802
|
return e[u].content;
|
|
4784
4803
|
};
|
|
4785
4804
|
function su() {
|
|
4786
|
-
this.rules = st({},
|
|
4805
|
+
this.rules = st({}, De);
|
|
4787
4806
|
}
|
|
4788
4807
|
su.prototype.renderAttrs = function(u) {
|
|
4789
4808
|
let t, n, r;
|
|
4790
4809
|
if (!u.attrs)
|
|
4791
4810
|
return "";
|
|
4792
4811
|
for (r = "", t = 0, n = u.attrs.length; t < n; t++)
|
|
4793
|
-
r += " " +
|
|
4812
|
+
r += " " + Ge(u.attrs[t][0]) + '="' + Ge(u.attrs[t][1]) + '"';
|
|
4794
4813
|
return r;
|
|
4795
4814
|
};
|
|
4796
4815
|
su.prototype.renderToken = function(u, t, n) {
|
|
@@ -4848,16 +4867,16 @@ su.prototype.render = function(e, u, t) {
|
|
|
4848
4867
|
}
|
|
4849
4868
|
return n;
|
|
4850
4869
|
};
|
|
4851
|
-
function
|
|
4870
|
+
function fe() {
|
|
4852
4871
|
this.__rules__ = [], this.__cache__ = null;
|
|
4853
4872
|
}
|
|
4854
|
-
|
|
4873
|
+
fe.prototype.__find__ = function(e) {
|
|
4855
4874
|
for (let u = 0; u < this.__rules__.length; u++)
|
|
4856
4875
|
if (this.__rules__[u].name === e)
|
|
4857
4876
|
return u;
|
|
4858
4877
|
return -1;
|
|
4859
4878
|
};
|
|
4860
|
-
|
|
4879
|
+
fe.prototype.__compile__ = function() {
|
|
4861
4880
|
const e = this, u = [""];
|
|
4862
4881
|
e.__rules__.forEach(function(t) {
|
|
4863
4882
|
t.enabled && t.alt.forEach(function(n) {
|
|
@@ -4869,13 +4888,13 @@ de.prototype.__compile__ = function() {
|
|
|
4869
4888
|
});
|
|
4870
4889
|
});
|
|
4871
4890
|
};
|
|
4872
|
-
|
|
4891
|
+
fe.prototype.at = function(e, u, t) {
|
|
4873
4892
|
const n = this.__find__(e), r = t || {};
|
|
4874
4893
|
if (n === -1)
|
|
4875
4894
|
throw new Error("Parser rule not found: " + e);
|
|
4876
4895
|
this.__rules__[n].fn = u, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
|
|
4877
4896
|
};
|
|
4878
|
-
|
|
4897
|
+
fe.prototype.before = function(e, u, t, n) {
|
|
4879
4898
|
const r = this.__find__(e), o = n || {};
|
|
4880
4899
|
if (r === -1)
|
|
4881
4900
|
throw new Error("Parser rule not found: " + e);
|
|
@@ -4886,7 +4905,7 @@ de.prototype.before = function(e, u, t, n) {
|
|
|
4886
4905
|
alt: o.alt || []
|
|
4887
4906
|
}), this.__cache__ = null;
|
|
4888
4907
|
};
|
|
4889
|
-
|
|
4908
|
+
fe.prototype.after = function(e, u, t, n) {
|
|
4890
4909
|
const r = this.__find__(e), o = n || {};
|
|
4891
4910
|
if (r === -1)
|
|
4892
4911
|
throw new Error("Parser rule not found: " + e);
|
|
@@ -4897,7 +4916,7 @@ de.prototype.after = function(e, u, t, n) {
|
|
|
4897
4916
|
alt: o.alt || []
|
|
4898
4917
|
}), this.__cache__ = null;
|
|
4899
4918
|
};
|
|
4900
|
-
|
|
4919
|
+
fe.prototype.push = function(e, u, t) {
|
|
4901
4920
|
const n = t || {};
|
|
4902
4921
|
this.__rules__.push({
|
|
4903
4922
|
name: e,
|
|
@@ -4906,7 +4925,7 @@ de.prototype.push = function(e, u, t) {
|
|
|
4906
4925
|
alt: n.alt || []
|
|
4907
4926
|
}), this.__cache__ = null;
|
|
4908
4927
|
};
|
|
4909
|
-
|
|
4928
|
+
fe.prototype.enable = function(e, u) {
|
|
4910
4929
|
Array.isArray(e) || (e = [e]);
|
|
4911
4930
|
const t = [];
|
|
4912
4931
|
return e.forEach(function(n) {
|
|
@@ -4919,12 +4938,12 @@ de.prototype.enable = function(e, u) {
|
|
|
4919
4938
|
this.__rules__[r].enabled = !0, t.push(n);
|
|
4920
4939
|
}, this), this.__cache__ = null, t;
|
|
4921
4940
|
};
|
|
4922
|
-
|
|
4941
|
+
fe.prototype.enableOnly = function(e, u) {
|
|
4923
4942
|
Array.isArray(e) || (e = [e]), this.__rules__.forEach(function(t) {
|
|
4924
4943
|
t.enabled = !1;
|
|
4925
4944
|
}), this.enable(e, u);
|
|
4926
4945
|
};
|
|
4927
|
-
|
|
4946
|
+
fe.prototype.disable = function(e, u) {
|
|
4928
4947
|
Array.isArray(e) || (e = [e]);
|
|
4929
4948
|
const t = [];
|
|
4930
4949
|
return e.forEach(function(n) {
|
|
@@ -4937,13 +4956,13 @@ de.prototype.disable = function(e, u) {
|
|
|
4937
4956
|
this.__rules__[r].enabled = !1, t.push(n);
|
|
4938
4957
|
}, this), this.__cache__ = null, t;
|
|
4939
4958
|
};
|
|
4940
|
-
|
|
4959
|
+
fe.prototype.getRules = function(e) {
|
|
4941
4960
|
return this.__cache__ === null && this.__compile__(), this.__cache__[e] || [];
|
|
4942
4961
|
};
|
|
4943
|
-
function
|
|
4962
|
+
function ve(e, u, t) {
|
|
4944
4963
|
this.type = e, this.tag = u, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
|
|
4945
4964
|
}
|
|
4946
|
-
|
|
4965
|
+
ve.prototype.attrIndex = function(u) {
|
|
4947
4966
|
if (!this.attrs)
|
|
4948
4967
|
return -1;
|
|
4949
4968
|
const t = this.attrs;
|
|
@@ -4952,26 +4971,26 @@ ye.prototype.attrIndex = function(u) {
|
|
|
4952
4971
|
return n;
|
|
4953
4972
|
return -1;
|
|
4954
4973
|
};
|
|
4955
|
-
|
|
4974
|
+
ve.prototype.attrPush = function(u) {
|
|
4956
4975
|
this.attrs ? this.attrs.push(u) : this.attrs = [u];
|
|
4957
4976
|
};
|
|
4958
|
-
|
|
4977
|
+
ve.prototype.attrSet = function(u, t) {
|
|
4959
4978
|
const n = this.attrIndex(u), r = [u, t];
|
|
4960
4979
|
n < 0 ? this.attrPush(r) : this.attrs[n] = r;
|
|
4961
4980
|
};
|
|
4962
|
-
|
|
4981
|
+
ve.prototype.attrGet = function(u) {
|
|
4963
4982
|
const t = this.attrIndex(u);
|
|
4964
4983
|
let n = null;
|
|
4965
4984
|
return t >= 0 && (n = this.attrs[t][1]), n;
|
|
4966
4985
|
};
|
|
4967
|
-
|
|
4986
|
+
ve.prototype.attrJoin = function(u, t) {
|
|
4968
4987
|
const n = this.attrIndex(u);
|
|
4969
4988
|
n < 0 ? this.attrPush([u, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
4970
4989
|
};
|
|
4971
|
-
function
|
|
4990
|
+
function Xr(e, u, t) {
|
|
4972
4991
|
this.src = e, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = u;
|
|
4973
4992
|
}
|
|
4974
|
-
|
|
4993
|
+
Xr.prototype.Token = ve;
|
|
4975
4994
|
const _c = /\r\n?|\n/g, vc = /\0/g;
|
|
4976
4995
|
function yc(e) {
|
|
4977
4996
|
let u;
|
|
@@ -5037,12 +5056,12 @@ function Dc(e) {
|
|
|
5037
5056
|
const g = new e.Token("text", "", 0);
|
|
5038
5057
|
g.content = c.slice(_), g.level = f, l.push(g);
|
|
5039
5058
|
}
|
|
5040
|
-
u[t].children = r =
|
|
5059
|
+
u[t].children = r = Zr(r, a, l);
|
|
5041
5060
|
}
|
|
5042
5061
|
}
|
|
5043
5062
|
}
|
|
5044
5063
|
}
|
|
5045
|
-
const
|
|
5064
|
+
const Qr = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Fc = /\((c|tm|r)\)/i, Sc = /\((c|tm|r)\)/ig, Tc = {
|
|
5046
5065
|
c: "©",
|
|
5047
5066
|
r: "®",
|
|
5048
5067
|
tm: "™"
|
|
@@ -5061,17 +5080,17 @@ function Oc(e) {
|
|
|
5061
5080
|
let u = 0;
|
|
5062
5081
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
5063
5082
|
const n = e[t];
|
|
5064
|
-
n.type === "text" && !u &&
|
|
5083
|
+
n.type === "text" && !u && Qr.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" && u--, n.type === "link_close" && n.info === "auto" && u++;
|
|
5065
5084
|
}
|
|
5066
5085
|
}
|
|
5067
5086
|
function Mc(e) {
|
|
5068
5087
|
let u;
|
|
5069
5088
|
if (e.md.options.typographer)
|
|
5070
5089
|
for (u = e.tokens.length - 1; u >= 0; u--)
|
|
5071
|
-
e.tokens[u].type === "inline" && (Fc.test(e.tokens[u].content) && Rc(e.tokens[u].children),
|
|
5090
|
+
e.tokens[u].type === "inline" && (Fc.test(e.tokens[u].content) && Rc(e.tokens[u].children), Qr.test(e.tokens[u].content) && Oc(e.tokens[u].children));
|
|
5072
5091
|
}
|
|
5073
5092
|
const Lc = /['"]/, cr = /['"]/g, sr = "’";
|
|
5074
|
-
function
|
|
5093
|
+
function Gu(e, u, t) {
|
|
5075
5094
|
return e.slice(0, u) + t + e.slice(u + 1);
|
|
5076
5095
|
}
|
|
5077
5096
|
function Nc(e, u) {
|
|
@@ -5111,9 +5130,9 @@ function Nc(e, u) {
|
|
|
5111
5130
|
y = e[t].content.charCodeAt(0);
|
|
5112
5131
|
break;
|
|
5113
5132
|
}
|
|
5114
|
-
const E =
|
|
5133
|
+
const E = Cu(d) || wu(String.fromCharCode(d)), v = Cu(y) || wu(String.fromCharCode(y)), p = Au(d), b = Au(y);
|
|
5115
5134
|
if (b ? f = !1 : v && (p || E || (f = !1)), p ? _ = !1 : E && (b || v || (_ = !1)), y === 34 && l[0] === '"' && d >= 48 && d <= 57 && (_ = f = !1), f && _ && (f = E, _ = v), !f && !_) {
|
|
5116
|
-
g && (o.content =
|
|
5135
|
+
g && (o.content = Gu(o.content, l.index, sr));
|
|
5117
5136
|
continue;
|
|
5118
5137
|
}
|
|
5119
5138
|
if (_)
|
|
@@ -5124,7 +5143,7 @@ function Nc(e, u) {
|
|
|
5124
5143
|
if (m.single === g && n[t].level === a) {
|
|
5125
5144
|
m = n[t];
|
|
5126
5145
|
let k, x;
|
|
5127
|
-
g ? (k = u.md.options.quotes[2], x = u.md.options.quotes[3]) : (k = u.md.options.quotes[0], x = u.md.options.quotes[1]), o.content =
|
|
5146
|
+
g ? (k = u.md.options.quotes[2], x = u.md.options.quotes[3]) : (k = u.md.options.quotes[0], x = u.md.options.quotes[1]), o.content = Gu(o.content, l.index, x), e[m.token].content = Gu(
|
|
5128
5147
|
e[m.token].content,
|
|
5129
5148
|
m.pos,
|
|
5130
5149
|
k
|
|
@@ -5137,7 +5156,7 @@ function Nc(e, u) {
|
|
|
5137
5156
|
pos: l.index,
|
|
5138
5157
|
single: g,
|
|
5139
5158
|
level: a
|
|
5140
|
-
}) : _ && g && (o.content =
|
|
5159
|
+
}) : _ && g && (o.content = Gu(o.content, l.index, sr));
|
|
5141
5160
|
}
|
|
5142
5161
|
}
|
|
5143
5162
|
}
|
|
@@ -5171,7 +5190,7 @@ const Rt = [
|
|
|
5171
5190
|
["text_join", zc]
|
|
5172
5191
|
];
|
|
5173
5192
|
function pn() {
|
|
5174
|
-
this.ruler = new
|
|
5193
|
+
this.ruler = new fe();
|
|
5175
5194
|
for (let e = 0; e < Rt.length; e++)
|
|
5176
5195
|
this.ruler.push(Rt[e][0], Rt[e][1]);
|
|
5177
5196
|
}
|
|
@@ -5180,14 +5199,14 @@ pn.prototype.process = function(e) {
|
|
|
5180
5199
|
for (let t = 0, n = u.length; t < n; t++)
|
|
5181
5200
|
u[t](e);
|
|
5182
5201
|
};
|
|
5183
|
-
pn.prototype.State =
|
|
5184
|
-
function
|
|
5202
|
+
pn.prototype.State = Xr;
|
|
5203
|
+
function Fe(e, u, t, n) {
|
|
5185
5204
|
this.src = e, this.md = u, 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;
|
|
5186
5205
|
const r = this.src;
|
|
5187
5206
|
for (let o = 0, a = 0, i = 0, c = 0, s = r.length, l = !1; a < s; a++) {
|
|
5188
5207
|
const f = r.charCodeAt(a);
|
|
5189
5208
|
if (!l)
|
|
5190
|
-
if (
|
|
5209
|
+
if (Z(f)) {
|
|
5191
5210
|
i++, f === 9 ? c += 4 - c % 4 : c++;
|
|
5192
5211
|
continue;
|
|
5193
5212
|
} else
|
|
@@ -5196,40 +5215,40 @@ function Se(e, u, t, n) {
|
|
|
5196
5215
|
}
|
|
5197
5216
|
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;
|
|
5198
5217
|
}
|
|
5199
|
-
|
|
5200
|
-
const n = new
|
|
5218
|
+
Fe.prototype.push = function(e, u, t) {
|
|
5219
|
+
const n = new ve(e, u, t);
|
|
5201
5220
|
return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
|
|
5202
5221
|
};
|
|
5203
|
-
|
|
5222
|
+
Fe.prototype.isEmpty = function(u) {
|
|
5204
5223
|
return this.bMarks[u] + this.tShift[u] >= this.eMarks[u];
|
|
5205
5224
|
};
|
|
5206
|
-
|
|
5225
|
+
Fe.prototype.skipEmptyLines = function(u) {
|
|
5207
5226
|
for (let t = this.lineMax; u < t && !(this.bMarks[u] + this.tShift[u] < this.eMarks[u]); u++)
|
|
5208
5227
|
;
|
|
5209
5228
|
return u;
|
|
5210
5229
|
};
|
|
5211
|
-
|
|
5230
|
+
Fe.prototype.skipSpaces = function(u) {
|
|
5212
5231
|
for (let t = this.src.length; u < t; u++) {
|
|
5213
5232
|
const n = this.src.charCodeAt(u);
|
|
5214
|
-
if (!
|
|
5233
|
+
if (!Z(n))
|
|
5215
5234
|
break;
|
|
5216
5235
|
}
|
|
5217
5236
|
return u;
|
|
5218
5237
|
};
|
|
5219
|
-
|
|
5238
|
+
Fe.prototype.skipSpacesBack = function(u, t) {
|
|
5220
5239
|
if (u <= t)
|
|
5221
5240
|
return u;
|
|
5222
5241
|
for (; u > t; )
|
|
5223
|
-
if (!
|
|
5242
|
+
if (!Z(this.src.charCodeAt(--u)))
|
|
5224
5243
|
return u + 1;
|
|
5225
5244
|
return u;
|
|
5226
5245
|
};
|
|
5227
|
-
|
|
5246
|
+
Fe.prototype.skipChars = function(u, t) {
|
|
5228
5247
|
for (let n = this.src.length; u < n && this.src.charCodeAt(u) === t; u++)
|
|
5229
5248
|
;
|
|
5230
5249
|
return u;
|
|
5231
5250
|
};
|
|
5232
|
-
|
|
5251
|
+
Fe.prototype.skipCharsBack = function(u, t, n) {
|
|
5233
5252
|
if (u <= n)
|
|
5234
5253
|
return u;
|
|
5235
5254
|
for (; u > n; )
|
|
@@ -5237,7 +5256,7 @@ Se.prototype.skipCharsBack = function(u, t, n) {
|
|
|
5237
5256
|
return u + 1;
|
|
5238
5257
|
return u;
|
|
5239
5258
|
};
|
|
5240
|
-
|
|
5259
|
+
Fe.prototype.getLines = function(u, t, n, r) {
|
|
5241
5260
|
if (u >= t)
|
|
5242
5261
|
return "";
|
|
5243
5262
|
const o = new Array(t - u);
|
|
@@ -5247,7 +5266,7 @@ Se.prototype.getLines = function(u, t, n, r) {
|
|
|
5247
5266
|
let l = s, f;
|
|
5248
5267
|
for (i + 1 < t || r ? f = this.eMarks[i] + 1 : f = this.eMarks[i]; l < f && c < n; ) {
|
|
5249
5268
|
const _ = this.src.charCodeAt(l);
|
|
5250
|
-
if (
|
|
5269
|
+
if (Z(_))
|
|
5251
5270
|
_ === 9 ? c += 4 - (c + this.bsCount[i]) % 4 : c++;
|
|
5252
5271
|
else if (l - s < this.tShift[i])
|
|
5253
5272
|
c++;
|
|
@@ -5259,8 +5278,8 @@ Se.prototype.getLines = function(u, t, n, r) {
|
|
|
5259
5278
|
}
|
|
5260
5279
|
return o.join("");
|
|
5261
5280
|
};
|
|
5262
|
-
|
|
5263
|
-
const
|
|
5281
|
+
Fe.prototype.Token = ve;
|
|
5282
|
+
const $c = 65536;
|
|
5264
5283
|
function Ot(e, u) {
|
|
5265
5284
|
const t = e.bMarks[u] + e.tShift[u], n = e.eMarks[u];
|
|
5266
5285
|
return e.src.slice(t, n);
|
|
@@ -5272,7 +5291,7 @@ function lr(e) {
|
|
|
5272
5291
|
r === 124 && (o ? (i += e.substring(a, n - 1), a = n) : (u.push(i + e.substring(a, n)), i = "", a = n + 1)), o = r === 92, n++, r = e.charCodeAt(n);
|
|
5273
5292
|
return u.push(i + e.substring(a)), u;
|
|
5274
5293
|
}
|
|
5275
|
-
function
|
|
5294
|
+
function Bc(e, u, t, n) {
|
|
5276
5295
|
if (u + 2 > t)
|
|
5277
5296
|
return !1;
|
|
5278
5297
|
let r = u + 1;
|
|
@@ -5285,11 +5304,11 @@ function $c(e, u, t, n) {
|
|
|
5285
5304
|
if (a !== 124 && a !== 45 && a !== 58 || o >= e.eMarks[r])
|
|
5286
5305
|
return !1;
|
|
5287
5306
|
const i = e.src.charCodeAt(o++);
|
|
5288
|
-
if (i !== 124 && i !== 45 && i !== 58 && !
|
|
5307
|
+
if (i !== 124 && i !== 45 && i !== 58 && !Z(i) || a === 45 && Z(i))
|
|
5289
5308
|
return !1;
|
|
5290
5309
|
for (; o < e.eMarks[r]; ) {
|
|
5291
5310
|
const m = e.src.charCodeAt(o);
|
|
5292
|
-
if (m !== 124 && m !== 45 && m !== 58 && !
|
|
5311
|
+
if (m !== 124 && m !== 45 && m !== 58 && !Z(m))
|
|
5293
5312
|
return !1;
|
|
5294
5313
|
o++;
|
|
5295
5314
|
}
|
|
@@ -5337,7 +5356,7 @@ function $c(e, u, t, n) {
|
|
|
5337
5356
|
m = !0;
|
|
5338
5357
|
break;
|
|
5339
5358
|
}
|
|
5340
|
-
if (m || (c = Ot(e, r).trim(), !c) || e.sCount[r] - e.blkIndent >= 4 || (s = lr(c), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), b += f - s.length, b >
|
|
5359
|
+
if (m || (c = Ot(e, r).trim(), !c) || e.sCount[r] - e.blkIndent >= 4 || (s = lr(c), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), b += f - s.length, b > $c))
|
|
5341
5360
|
break;
|
|
5342
5361
|
if (r === u + 2) {
|
|
5343
5362
|
const x = e.push("tbody_open", "tbody", 1);
|
|
@@ -5421,9 +5440,9 @@ function jc(e, u, t, n) {
|
|
|
5421
5440
|
e.src.charCodeAt(r) === 32 ? (r++, k++, w = !1, x = !0) : e.src.charCodeAt(r) === 9 ? (x = !0, (e.bsCount[d] + k) % 4 === 3 ? (r++, k++, w = !1) : w = !0) : x = !1;
|
|
5422
5441
|
let T = k;
|
|
5423
5442
|
for (i.push(e.bMarks[d]), e.bMarks[d] = r; r < o; ) {
|
|
5424
|
-
const
|
|
5425
|
-
if (
|
|
5426
|
-
|
|
5443
|
+
const F = e.src.charCodeAt(r);
|
|
5444
|
+
if (Z(F))
|
|
5445
|
+
F === 9 ? T += 4 - (T + e.bsCount[d] + (w ? 1 : 0)) % 4 : T++;
|
|
5427
5446
|
else
|
|
5428
5447
|
break;
|
|
5429
5448
|
r++;
|
|
@@ -5468,7 +5487,7 @@ function Hc(e, u, t, n) {
|
|
|
5468
5487
|
let i = 1;
|
|
5469
5488
|
for (; o < r; ) {
|
|
5470
5489
|
const s = e.src.charCodeAt(o++);
|
|
5471
|
-
if (s !== a && !
|
|
5490
|
+
if (s !== a && !Z(s))
|
|
5472
5491
|
return !1;
|
|
5473
5492
|
s === a && i++;
|
|
5474
5493
|
}
|
|
@@ -5488,7 +5507,7 @@ function fr(e, u) {
|
|
|
5488
5507
|
return -1;
|
|
5489
5508
|
if (n < t) {
|
|
5490
5509
|
const o = e.src.charCodeAt(n);
|
|
5491
|
-
if (!
|
|
5510
|
+
if (!Z(o))
|
|
5492
5511
|
return -1;
|
|
5493
5512
|
}
|
|
5494
5513
|
return n;
|
|
@@ -5513,7 +5532,7 @@ function dr(e, u) {
|
|
|
5513
5532
|
break;
|
|
5514
5533
|
return -1;
|
|
5515
5534
|
}
|
|
5516
|
-
return r < n && (o = e.src.charCodeAt(r), !
|
|
5535
|
+
return r < n && (o = e.src.charCodeAt(r), !Z(o)) ? -1 : r;
|
|
5517
5536
|
}
|
|
5518
5537
|
function Gc(e, u) {
|
|
5519
5538
|
const t = e.level + 2;
|
|
@@ -5548,10 +5567,10 @@ function Wc(e, u, t, n) {
|
|
|
5548
5567
|
const m = e.sCount[c] + g - (e.bMarks[c] + e.tShift[c]);
|
|
5549
5568
|
let k = m;
|
|
5550
5569
|
for (; o < r; ) {
|
|
5551
|
-
const
|
|
5552
|
-
if (
|
|
5570
|
+
const te = e.src.charCodeAt(o);
|
|
5571
|
+
if (te === 9)
|
|
5553
5572
|
k += 4 - (k + e.bsCount[c]) % 4;
|
|
5554
|
-
else if (
|
|
5573
|
+
else if (te === 32)
|
|
5555
5574
|
k++;
|
|
5556
5575
|
else
|
|
5557
5576
|
break;
|
|
@@ -5562,18 +5581,18 @@ function Wc(e, u, t, n) {
|
|
|
5562
5581
|
x >= r ? w = 1 : w = k - m, w > 4 && (w = 1);
|
|
5563
5582
|
const T = m + w;
|
|
5564
5583
|
i = e.push("list_item_open", "li", 1), i.markup = String.fromCharCode(d);
|
|
5565
|
-
const
|
|
5566
|
-
i.map =
|
|
5567
|
-
const
|
|
5568
|
-
if (e.listIndent = e.blkIndent, e.blkIndent = T, e.tight = !0, e.tShift[c] = x - e.bMarks[c], e.sCount[c] = k, x >= r && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, c, t, !0), (!e.tight || v) && (s = !1), v = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent =
|
|
5584
|
+
const F = [c, 0];
|
|
5585
|
+
i.map = F, f && (i.info = e.src.slice(a, g - 1));
|
|
5586
|
+
const B = e.tight, L = e.tShift[c], S = e.sCount[c], j = e.listIndent;
|
|
5587
|
+
if (e.listIndent = e.blkIndent, e.blkIndent = T, e.tight = !0, e.tShift[c] = x - e.bMarks[c], e.sCount[c] = k, x >= r && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, c, t, !0), (!e.tight || v) && (s = !1), v = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = j, e.tShift[c] = L, e.sCount[c] = S, e.tight = B, i = e.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), c = e.line, F[1] = c, c >= t || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4)
|
|
5569
5588
|
break;
|
|
5570
|
-
let
|
|
5571
|
-
for (let
|
|
5572
|
-
if (p[
|
|
5573
|
-
|
|
5589
|
+
let Q = !1;
|
|
5590
|
+
for (let te = 0, ye = p.length; te < ye; te++)
|
|
5591
|
+
if (p[te](e, c, t, !0)) {
|
|
5592
|
+
Q = !0;
|
|
5574
5593
|
break;
|
|
5575
5594
|
}
|
|
5576
|
-
if (
|
|
5595
|
+
if (Q)
|
|
5577
5596
|
break;
|
|
5578
5597
|
if (f) {
|
|
5579
5598
|
if (g = dr(e, c), g < 0)
|
|
@@ -5598,13 +5617,13 @@ function Vc(e, u, t, n) {
|
|
|
5598
5617
|
if (e.sCount[p] - e.blkIndent > 3 && (m = !0), e.sCount[p] < 0 && (m = !0), !m) {
|
|
5599
5618
|
const w = e.md.block.ruler.getRules("reference"), T = e.parentType;
|
|
5600
5619
|
e.parentType = "reference";
|
|
5601
|
-
let
|
|
5602
|
-
for (let
|
|
5603
|
-
if (w[
|
|
5604
|
-
|
|
5620
|
+
let F = !1;
|
|
5621
|
+
for (let B = 0, L = w.length; B < L; B++)
|
|
5622
|
+
if (w[B](e, p, b, !0)) {
|
|
5623
|
+
F = !0;
|
|
5605
5624
|
break;
|
|
5606
5625
|
}
|
|
5607
|
-
if (e.parentType = T,
|
|
5626
|
+
if (e.parentType = T, F)
|
|
5608
5627
|
return null;
|
|
5609
5628
|
}
|
|
5610
5629
|
const k = e.bMarks[p] + e.tShift[p], x = e.eMarks[p];
|
|
@@ -5635,7 +5654,7 @@ function Vc(e, u, t, n) {
|
|
|
5635
5654
|
if (p === 10) {
|
|
5636
5655
|
const b = i(a);
|
|
5637
5656
|
b !== null && (c += b, o = c.length, a++);
|
|
5638
|
-
} else if (!
|
|
5657
|
+
} else if (!Z(p)) break;
|
|
5639
5658
|
}
|
|
5640
5659
|
const l = e.md.helpers.parseLinkDestination(c, r, o);
|
|
5641
5660
|
if (!l.ok)
|
|
@@ -5650,7 +5669,7 @@ function Vc(e, u, t, n) {
|
|
|
5650
5669
|
if (p === 10) {
|
|
5651
5670
|
const b = i(a);
|
|
5652
5671
|
b !== null && (c += b, o = c.length, a++);
|
|
5653
|
-
} else if (!
|
|
5672
|
+
} else if (!Z(p)) break;
|
|
5654
5673
|
}
|
|
5655
5674
|
let y = e.md.helpers.parseLinkTitle(c, r, o);
|
|
5656
5675
|
for (; y.can_continue; ) {
|
|
@@ -5661,14 +5680,14 @@ function Vc(e, u, t, n) {
|
|
|
5661
5680
|
let E;
|
|
5662
5681
|
for (r < o && d !== r && y.ok ? (E = y.str, r = y.pos) : (E = "", r = _, a = g); r < o; ) {
|
|
5663
5682
|
const p = c.charCodeAt(r);
|
|
5664
|
-
if (!
|
|
5683
|
+
if (!Z(p))
|
|
5665
5684
|
break;
|
|
5666
5685
|
r++;
|
|
5667
5686
|
}
|
|
5668
5687
|
if (r < o && c.charCodeAt(r) !== 10 && E)
|
|
5669
5688
|
for (E = "", r = _, a = g; r < o; ) {
|
|
5670
5689
|
const p = c.charCodeAt(r);
|
|
5671
|
-
if (!
|
|
5690
|
+
if (!Z(p))
|
|
5672
5691
|
break;
|
|
5673
5692
|
r++;
|
|
5674
5693
|
}
|
|
@@ -5740,7 +5759,7 @@ const Zc = [
|
|
|
5740
5759
|
"tr",
|
|
5741
5760
|
"track",
|
|
5742
5761
|
"ul"
|
|
5743
|
-
], Yc = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Xc = "[^\"'=<>`\\x00-\\x20]+", Qc = "'[^']*'", Jc = '"[^"]*"', Kc = "(?:" + Xc + "|" + Qc + "|" + Jc + ")", es = "(?:\\s+" + Yc + "(?:\\s*=\\s*" + Kc + ")?)",
|
|
5762
|
+
], Yc = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Xc = "[^\"'=<>`\\x00-\\x20]+", Qc = "'[^']*'", Jc = '"[^"]*"', Kc = "(?:" + Xc + "|" + Qc + "|" + Jc + ")", es = "(?:\\s+" + Yc + "(?:\\s*=\\s*" + Kc + ")?)", Jr = "<[A-Za-z][A-Za-z0-9\\-]*" + es + "*\\s*\\/?>", Kr = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", us = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", ts = "<[?][\\s\\S]*?[?]>", ns = "<![A-Za-z][^>]*>", rs = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", os = new RegExp("^(?:" + Jr + "|" + Kr + "|" + us + "|" + ts + "|" + ns + "|" + rs + ")"), is = new RegExp("^(?:" + Jr + "|" + Kr + ")"), ru = [
|
|
5744
5763
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
5745
5764
|
[/^<!--/, /-->/, !0],
|
|
5746
5765
|
[/^<\?/, /\?>/, !0],
|
|
@@ -5782,13 +5801,13 @@ function cs(e, u, t, n) {
|
|
|
5782
5801
|
let i = 1;
|
|
5783
5802
|
for (a = e.src.charCodeAt(++r); a === 35 && r < o && i <= 6; )
|
|
5784
5803
|
i++, a = e.src.charCodeAt(++r);
|
|
5785
|
-
if (i > 6 || r < o && !
|
|
5804
|
+
if (i > 6 || r < o && !Z(a))
|
|
5786
5805
|
return !1;
|
|
5787
5806
|
if (n)
|
|
5788
5807
|
return !0;
|
|
5789
5808
|
o = e.skipSpacesBack(o, r);
|
|
5790
5809
|
const c = e.skipCharsBack(o, 35, r);
|
|
5791
|
-
c > r &&
|
|
5810
|
+
c > r && Z(e.src.charCodeAt(c - 1)) && (o = c), e.line = u + 1;
|
|
5792
5811
|
const s = e.push("heading_open", "h" + String(i), 1);
|
|
5793
5812
|
s.markup = "########".slice(0, i), s.map = [u, e.line];
|
|
5794
5813
|
const l = e.push("inline", "", 0);
|
|
@@ -5858,10 +5877,10 @@ function ls(e, u, t) {
|
|
|
5858
5877
|
const c = e.push("inline", "", 0);
|
|
5859
5878
|
return c.content = a, c.map = [u, e.line], c.children = [], e.push("paragraph_close", "p", -1), e.parentType = r, !0;
|
|
5860
5879
|
}
|
|
5861
|
-
const
|
|
5880
|
+
const Wu = [
|
|
5862
5881
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
5863
5882
|
// which can be terminated by this one.
|
|
5864
|
-
["table",
|
|
5883
|
+
["table", Bc, ["paragraph", "reference"]],
|
|
5865
5884
|
["code", Uc],
|
|
5866
5885
|
["fence", qc, ["paragraph", "reference", "blockquote", "list"]],
|
|
5867
5886
|
["blockquote", jc, ["paragraph", "reference", "blockquote", "list"]],
|
|
@@ -5874,9 +5893,9 @@ const Gu = [
|
|
|
5874
5893
|
["paragraph", ls]
|
|
5875
5894
|
];
|
|
5876
5895
|
function ft() {
|
|
5877
|
-
this.ruler = new
|
|
5878
|
-
for (let e = 0; e <
|
|
5879
|
-
this.ruler.push(
|
|
5896
|
+
this.ruler = new fe();
|
|
5897
|
+
for (let e = 0; e < Wu.length; e++)
|
|
5898
|
+
this.ruler.push(Wu[e][0], Wu[e][1], { alt: (Wu[e][2] || []).slice() });
|
|
5880
5899
|
}
|
|
5881
5900
|
ft.prototype.tokenize = function(e, u, t) {
|
|
5882
5901
|
const n = this.ruler.getRules(""), r = n.length, o = e.md.options.maxNesting;
|
|
@@ -5904,29 +5923,29 @@ ft.prototype.parse = function(e, u, t, n) {
|
|
|
5904
5923
|
const r = new this.State(e, u, t, n);
|
|
5905
5924
|
this.tokenize(r, r.line, r.lineMax);
|
|
5906
5925
|
};
|
|
5907
|
-
ft.prototype.State =
|
|
5908
|
-
function
|
|
5926
|
+
ft.prototype.State = Fe;
|
|
5927
|
+
function Pu(e, u, t, n) {
|
|
5909
5928
|
this.src = e, this.env = t, this.md = u, 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;
|
|
5910
5929
|
}
|
|
5911
|
-
|
|
5912
|
-
const e = new
|
|
5930
|
+
Pu.prototype.pushPending = function() {
|
|
5931
|
+
const e = new ve("text", "", 0);
|
|
5913
5932
|
return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e;
|
|
5914
5933
|
};
|
|
5915
|
-
|
|
5934
|
+
Pu.prototype.push = function(e, u, t) {
|
|
5916
5935
|
this.pending && this.pushPending();
|
|
5917
|
-
const n = new
|
|
5936
|
+
const n = new ve(e, u, t);
|
|
5918
5937
|
let r = null;
|
|
5919
5938
|
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;
|
|
5920
5939
|
};
|
|
5921
|
-
|
|
5940
|
+
Pu.prototype.scanDelims = function(e, u) {
|
|
5922
5941
|
const t = this.posMax, n = this.src.charCodeAt(e), r = e > 0 ? this.src.charCodeAt(e - 1) : 32;
|
|
5923
5942
|
let o = e;
|
|
5924
5943
|
for (; o < t && this.src.charCodeAt(o) === n; )
|
|
5925
5944
|
o++;
|
|
5926
|
-
const a = o - e, i = o < t ? this.src.charCodeAt(o) : 32, c =
|
|
5945
|
+
const a = o - e, i = o < t ? this.src.charCodeAt(o) : 32, c = Cu(r) || wu(String.fromCharCode(r)), s = Cu(i) || wu(String.fromCharCode(i)), l = Au(r), f = Au(i), _ = !f && (!s || l || c), g = !l && (!c || f || s);
|
|
5927
5946
|
return { can_open: _ && (u || !g || c), can_close: g && (u || !_ || s), length: a };
|
|
5928
5947
|
};
|
|
5929
|
-
|
|
5948
|
+
Pu.prototype.Token = ve;
|
|
5930
5949
|
function fs(e) {
|
|
5931
5950
|
switch (e) {
|
|
5932
5951
|
case 10:
|
|
@@ -6003,7 +6022,7 @@ function bs(e, u) {
|
|
|
6003
6022
|
e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0);
|
|
6004
6023
|
else
|
|
6005
6024
|
e.push("softbreak", "br", 0);
|
|
6006
|
-
for (t++; t < r &&
|
|
6025
|
+
for (t++; t < r && Z(e.src.charCodeAt(t)); )
|
|
6007
6026
|
t++;
|
|
6008
6027
|
return e.pos = t, !0;
|
|
6009
6028
|
}
|
|
@@ -6019,7 +6038,7 @@ function ms(e, u) {
|
|
|
6019
6038
|
if (e.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
6020
6039
|
let r = e.src.charCodeAt(t);
|
|
6021
6040
|
if (r === 10) {
|
|
6022
|
-
for (u || e.push("hardbreak", "br", 0), t++; t < n && (r = e.src.charCodeAt(t), !!
|
|
6041
|
+
for (u || e.push("hardbreak", "br", 0), t++; t < n && (r = e.src.charCodeAt(t), !!Z(r)); )
|
|
6023
6042
|
t++;
|
|
6024
6043
|
return e.pos = t, !0;
|
|
6025
6044
|
}
|
|
@@ -6110,7 +6129,7 @@ function ks(e) {
|
|
|
6110
6129
|
for (let n = 0; n < t; n++)
|
|
6111
6130
|
u[n] && u[n].delimiters && pr(e, u[n].delimiters);
|
|
6112
6131
|
}
|
|
6113
|
-
const
|
|
6132
|
+
const eo = {
|
|
6114
6133
|
tokenize: xs,
|
|
6115
6134
|
postProcess: ks
|
|
6116
6135
|
};
|
|
@@ -6164,7 +6183,7 @@ function vs(e) {
|
|
|
6164
6183
|
for (let n = 0; n < t; n++)
|
|
6165
6184
|
u[n] && u[n].delimiters && hr(e, u[n].delimiters);
|
|
6166
6185
|
}
|
|
6167
|
-
const
|
|
6186
|
+
const uo = {
|
|
6168
6187
|
tokenize: _s,
|
|
6169
6188
|
postProcess: vs
|
|
6170
6189
|
};
|
|
@@ -6177,15 +6196,15 @@ function ys(e, u) {
|
|
|
6177
6196
|
return !1;
|
|
6178
6197
|
let d = g + 1;
|
|
6179
6198
|
if (d < f && e.src.charCodeAt(d) === 40) {
|
|
6180
|
-
for (s = !1, d++; d < f && (t = e.src.charCodeAt(d), !(!
|
|
6199
|
+
for (s = !1, d++; d < f && (t = e.src.charCodeAt(d), !(!Z(t) && t !== 10)); d++)
|
|
6181
6200
|
;
|
|
6182
6201
|
if (d >= f)
|
|
6183
6202
|
return !1;
|
|
6184
6203
|
if (c = d, r = e.md.helpers.parseLinkDestination(e.src, d, e.posMax), r.ok) {
|
|
6185
|
-
for (a = e.md.normalizeLink(r.str), e.md.validateLink(a) ? d = r.pos : a = "", c = d; d < f && (t = e.src.charCodeAt(d), !(!
|
|
6204
|
+
for (a = e.md.normalizeLink(r.str), e.md.validateLink(a) ? d = r.pos : a = "", c = d; d < f && (t = e.src.charCodeAt(d), !(!Z(t) && t !== 10)); d++)
|
|
6186
6205
|
;
|
|
6187
6206
|
if (r = e.md.helpers.parseLinkTitle(e.src, d, e.posMax), d < f && c !== d && r.ok)
|
|
6188
|
-
for (i = r.str, d = r.pos; d < f && (t = e.src.charCodeAt(d), !(!
|
|
6207
|
+
for (i = r.str, d = r.pos; d < f && (t = e.src.charCodeAt(d), !(!Z(t) && t !== 10)); d++)
|
|
6189
6208
|
;
|
|
6190
6209
|
}
|
|
6191
6210
|
(d >= f || e.src.charCodeAt(d) !== 41) && (s = !0), d++;
|
|
@@ -6213,14 +6232,14 @@ function Es(e, u) {
|
|
|
6213
6232
|
if (d < 0)
|
|
6214
6233
|
return !1;
|
|
6215
6234
|
if (o = d + 1, o < _ && e.src.charCodeAt(o) === 40) {
|
|
6216
|
-
for (o++; o < _ && (t = e.src.charCodeAt(o), !(!
|
|
6235
|
+
for (o++; o < _ && (t = e.src.charCodeAt(o), !(!Z(t) && t !== 10)); o++)
|
|
6217
6236
|
;
|
|
6218
6237
|
if (o >= _)
|
|
6219
6238
|
return !1;
|
|
6220
|
-
for (s = o, i = e.md.helpers.parseLinkDestination(e.src, o, e.posMax), i.ok && (l = e.md.normalizeLink(i.str), e.md.validateLink(l) ? o = i.pos : l = ""), s = o; o < _ && (t = e.src.charCodeAt(o), !(!
|
|
6239
|
+
for (s = o, i = e.md.helpers.parseLinkDestination(e.src, o, e.posMax), i.ok && (l = e.md.normalizeLink(i.str), e.md.validateLink(l) ? o = i.pos : l = ""), s = o; o < _ && (t = e.src.charCodeAt(o), !(!Z(t) && t !== 10)); o++)
|
|
6221
6240
|
;
|
|
6222
6241
|
if (i = e.md.helpers.parseLinkTitle(e.src, o, e.posMax), o < _ && s !== o && i.ok)
|
|
6223
|
-
for (c = i.str, o = i.pos; o < _ && (t = e.src.charCodeAt(o), !(!
|
|
6242
|
+
for (c = i.str, o = i.pos; o < _ && (t = e.src.charCodeAt(o), !(!Z(t) && t !== 10)); o++)
|
|
6224
6243
|
;
|
|
6225
6244
|
else
|
|
6226
6245
|
c = "";
|
|
@@ -6335,7 +6354,7 @@ function Os(e, u) {
|
|
|
6335
6354
|
} else {
|
|
6336
6355
|
const o = e.src.slice(t).match(Rs);
|
|
6337
6356
|
if (o) {
|
|
6338
|
-
const a =
|
|
6357
|
+
const a = Vr(o[0]);
|
|
6339
6358
|
if (a !== o[0]) {
|
|
6340
6359
|
if (!u) {
|
|
6341
6360
|
const i = e.push("text_special", "", 0);
|
|
@@ -6391,8 +6410,8 @@ const Mt = [
|
|
|
6391
6410
|
["newline", bs],
|
|
6392
6411
|
["escape", ms],
|
|
6393
6412
|
["backticks", gs],
|
|
6394
|
-
["strikethrough",
|
|
6395
|
-
["emphasis",
|
|
6413
|
+
["strikethrough", eo.tokenize],
|
|
6414
|
+
["emphasis", uo.tokenize],
|
|
6396
6415
|
["link", ys],
|
|
6397
6416
|
["image", Es],
|
|
6398
6417
|
["autolink", Cs],
|
|
@@ -6400,21 +6419,21 @@ const Mt = [
|
|
|
6400
6419
|
["entity", Os]
|
|
6401
6420
|
], Lt = [
|
|
6402
6421
|
["balance_pairs", Ms],
|
|
6403
|
-
["strikethrough",
|
|
6404
|
-
["emphasis",
|
|
6422
|
+
["strikethrough", eo.postProcess],
|
|
6423
|
+
["emphasis", uo.postProcess],
|
|
6405
6424
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
6406
6425
|
// rule below merges unused segments back with the rest of the text
|
|
6407
6426
|
["fragments_join", Ls]
|
|
6408
6427
|
];
|
|
6409
|
-
function
|
|
6410
|
-
this.ruler = new
|
|
6428
|
+
function Ru() {
|
|
6429
|
+
this.ruler = new fe();
|
|
6411
6430
|
for (let e = 0; e < Mt.length; e++)
|
|
6412
6431
|
this.ruler.push(Mt[e][0], Mt[e][1]);
|
|
6413
|
-
this.ruler2 = new
|
|
6432
|
+
this.ruler2 = new fe();
|
|
6414
6433
|
for (let e = 0; e < Lt.length; e++)
|
|
6415
6434
|
this.ruler2.push(Lt[e][0], Lt[e][1]);
|
|
6416
6435
|
}
|
|
6417
|
-
|
|
6436
|
+
Ru.prototype.skipToken = function(e) {
|
|
6418
6437
|
const u = e.pos, t = this.ruler.getRules(""), n = t.length, r = e.md.options.maxNesting, o = e.cache;
|
|
6419
6438
|
if (typeof o[u] < "u") {
|
|
6420
6439
|
e.pos = o[u];
|
|
@@ -6432,7 +6451,7 @@ Pu.prototype.skipToken = function(e) {
|
|
|
6432
6451
|
e.pos = e.posMax;
|
|
6433
6452
|
a || e.pos++, o[u] = e.pos;
|
|
6434
6453
|
};
|
|
6435
|
-
|
|
6454
|
+
Ru.prototype.tokenize = function(e) {
|
|
6436
6455
|
const u = this.ruler.getRules(""), t = u.length, n = e.posMax, r = e.md.options.maxNesting;
|
|
6437
6456
|
for (; e.pos < n; ) {
|
|
6438
6457
|
const o = e.pos;
|
|
@@ -6454,17 +6473,17 @@ Pu.prototype.tokenize = function(e) {
|
|
|
6454
6473
|
}
|
|
6455
6474
|
e.pending && e.pushPending();
|
|
6456
6475
|
};
|
|
6457
|
-
|
|
6476
|
+
Ru.prototype.parse = function(e, u, t, n) {
|
|
6458
6477
|
const r = new this.State(e, u, t, n);
|
|
6459
6478
|
this.tokenize(r);
|
|
6460
6479
|
const o = this.ruler2.getRules(""), a = o.length;
|
|
6461
6480
|
for (let i = 0; i < a; i++)
|
|
6462
6481
|
o[i](r);
|
|
6463
6482
|
};
|
|
6464
|
-
|
|
6483
|
+
Ru.prototype.State = Pu;
|
|
6465
6484
|
function Ns(e) {
|
|
6466
6485
|
const u = {};
|
|
6467
|
-
e = e || {}, u.src_Any =
|
|
6486
|
+
e = e || {}, u.src_Any = qr.source, u.src_Cc = jr.source, u.src_Z = Gr.source, u.src_P = ln.source, u.src_ZPCc = [u.src_Z, u.src_P, u.src_Cc].join("|"), u.src_ZCc = [u.src_Z, u.src_Cc].join("|");
|
|
6468
6487
|
const t = "[><|]";
|
|
6469
6488
|
return u.src_pseudo_letter = "(?:(?!" + t + "|" + u.src_ZPCc + ")" + u.src_Any + ")", u.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]?)", u.src_auth = "(?:(?:(?!" + u.src_ZCc + "|[@/\\[\\]()]).)+@)?", u.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", u.src_host_terminator = "(?=$|" + t + "|" + u.src_ZPCc + ")(?!" + (e["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + u.src_ZPCc + "))", u.src_path = "(?:[/?#](?:(?!" + u.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + u.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + u.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + u.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + u.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + u.src_ZCc + "|[']).)+\\'|\\'(?=" + u.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + u.src_ZCc + "|[.]|$)|" + (e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
6470
6489
|
",(?!" + u.src_ZCc + "|$)|;(?!" + u.src_ZCc + "|$)|\\!+(?!" + u.src_ZCc + "|[!]|$)|\\?(?!" + u.src_ZCc + "|[?]|$))+|\\/)?", u.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', u.src_xn = "xn--[a-z0-9\\-]{1,59}", u.src_domain_root = // Allow letters & digits (http://test1)
|
|
@@ -6490,23 +6509,23 @@ function Is(e) {
|
|
|
6490
6509
|
function zs(e) {
|
|
6491
6510
|
return dt(e) === "[object Object]";
|
|
6492
6511
|
}
|
|
6493
|
-
function
|
|
6512
|
+
function $s(e) {
|
|
6494
6513
|
return dt(e) === "[object RegExp]";
|
|
6495
6514
|
}
|
|
6496
6515
|
function mr(e) {
|
|
6497
6516
|
return dt(e) === "[object Function]";
|
|
6498
6517
|
}
|
|
6499
|
-
function
|
|
6518
|
+
function Bs(e) {
|
|
6500
6519
|
return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
6501
6520
|
}
|
|
6502
|
-
const
|
|
6521
|
+
const to = {
|
|
6503
6522
|
fuzzyLink: !0,
|
|
6504
6523
|
fuzzyEmail: !0,
|
|
6505
6524
|
fuzzyIP: !1
|
|
6506
6525
|
};
|
|
6507
6526
|
function Us(e) {
|
|
6508
6527
|
return Object.keys(e || {}).reduce(function(u, t) {
|
|
6509
|
-
return u ||
|
|
6528
|
+
return u || to.hasOwnProperty(t);
|
|
6510
6529
|
}, !1);
|
|
6511
6530
|
}
|
|
6512
6531
|
const qs = {
|
|
@@ -6574,7 +6593,7 @@ function ot(e) {
|
|
|
6574
6593
|
return;
|
|
6575
6594
|
const s = { validate: null, link: null };
|
|
6576
6595
|
if (e.__compiled__[i] = s, zs(c)) {
|
|
6577
|
-
|
|
6596
|
+
$s(c.validate) ? s.validate = Ws(c.validate) : mr(c.validate) ? s.validate = c.validate : o(i, c), mr(c.normalize) ? s.normalize = c.normalize : c.normalize ? o(i, c) : s.normalize = gr();
|
|
6578
6597
|
return;
|
|
6579
6598
|
}
|
|
6580
6599
|
if (Is(c)) {
|
|
@@ -6587,7 +6606,7 @@ function ot(e) {
|
|
|
6587
6606
|
}), e.__compiled__[""] = { validate: null, normalize: gr() };
|
|
6588
6607
|
const a = Object.keys(e.__compiled__).filter(function(i) {
|
|
6589
6608
|
return i.length > 0 && e.__compiled__[i];
|
|
6590
|
-
}).map(
|
|
6609
|
+
}).map(Bs).join("|");
|
|
6591
6610
|
e.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + u.src_ZPCc + "))(" + a + ")", "i"), e.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + u.src_ZPCc + "))(" + a + ")", "ig"), e.re.schema_at_start = RegExp("^" + e.re.schema_search.source, "i"), e.re.pretest = RegExp(
|
|
6592
6611
|
"(" + e.re.schema_test.source + ")|(" + e.re.host_fuzzy_test.source + ")|@",
|
|
6593
6612
|
"i"
|
|
@@ -6604,7 +6623,7 @@ function Qt(e, u) {
|
|
|
6604
6623
|
function be(e, u) {
|
|
6605
6624
|
if (!(this instanceof be))
|
|
6606
6625
|
return new be(e, u);
|
|
6607
|
-
u || Us(e) && (u = e, e = {}), this.__opts__ = Xt({},
|
|
6626
|
+
u || Us(e) && (u = e, e = {}), this.__opts__ = Xt({}, to, u), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Xt({}, qs, e), this.__compiled__ = {}, this.__tlds__ = Hs, this.__tlds_replaced__ = !1, this.re = {}, ot(this);
|
|
6608
6627
|
}
|
|
6609
6628
|
be.prototype.add = function(u, t) {
|
|
6610
6629
|
return this.__schemas__[u] = t, ot(this), this;
|
|
@@ -6657,12 +6676,12 @@ be.prototype.normalize = function(u) {
|
|
|
6657
6676
|
};
|
|
6658
6677
|
be.prototype.onCompile = function() {
|
|
6659
6678
|
};
|
|
6660
|
-
const iu = 2147483647,
|
|
6679
|
+
const iu = 2147483647, we = 36, bn = 1, Du = 26, Zs = 38, Ys = 700, no = 72, ro = 128, oo = "-", Xs = /^xn--/, Qs = /[^\0-\x7F]/, Js = /[\x2E\u3002\uFF0E\uFF61]/g, Ks = {
|
|
6661
6680
|
overflow: "Overflow: input needs wider integers to process",
|
|
6662
6681
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
6663
6682
|
"invalid-input": "Invalid input"
|
|
6664
|
-
}, Nt =
|
|
6665
|
-
function
|
|
6683
|
+
}, Nt = we - bn, Ce = Math.floor, It = String.fromCharCode;
|
|
6684
|
+
function Be(e) {
|
|
6666
6685
|
throw new RangeError(Ks[e]);
|
|
6667
6686
|
}
|
|
6668
6687
|
function el(e, u) {
|
|
@@ -6672,14 +6691,14 @@ function el(e, u) {
|
|
|
6672
6691
|
t[n] = u(e[n]);
|
|
6673
6692
|
return t;
|
|
6674
6693
|
}
|
|
6675
|
-
function
|
|
6694
|
+
function io(e, u) {
|
|
6676
6695
|
const t = e.split("@");
|
|
6677
6696
|
let n = "";
|
|
6678
6697
|
t.length > 1 && (n = t[0] + "@", e = t[1]), e = e.replace(Js, ".");
|
|
6679
6698
|
const r = e.split("."), o = el(r, u).join(".");
|
|
6680
6699
|
return n + o;
|
|
6681
6700
|
}
|
|
6682
|
-
function
|
|
6701
|
+
function ao(e) {
|
|
6683
6702
|
const u = [];
|
|
6684
6703
|
let t = 0;
|
|
6685
6704
|
const n = e.length;
|
|
@@ -6694,77 +6713,77 @@ function io(e) {
|
|
|
6694
6713
|
return u;
|
|
6695
6714
|
}
|
|
6696
6715
|
const ul = (e) => String.fromCodePoint(...e), tl = function(e) {
|
|
6697
|
-
return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 :
|
|
6716
|
+
return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 : we;
|
|
6698
6717
|
}, xr = function(e, u) {
|
|
6699
6718
|
return e + 22 + 75 * (e < 26) - ((u != 0) << 5);
|
|
6700
|
-
},
|
|
6719
|
+
}, co = function(e, u, t) {
|
|
6701
6720
|
let n = 0;
|
|
6702
|
-
for (e = t ?
|
|
6703
|
-
e =
|
|
6704
|
-
return
|
|
6705
|
-
},
|
|
6721
|
+
for (e = t ? Ce(e / Ys) : e >> 1, e += Ce(e / u); e > Nt * Du >> 1; n += we)
|
|
6722
|
+
e = Ce(e / Nt);
|
|
6723
|
+
return Ce(n + (Nt + 1) * e / (e + Zs));
|
|
6724
|
+
}, so = function(e) {
|
|
6706
6725
|
const u = [], t = e.length;
|
|
6707
|
-
let n = 0, r =
|
|
6726
|
+
let n = 0, r = ro, o = no, a = e.lastIndexOf(oo);
|
|
6708
6727
|
a < 0 && (a = 0);
|
|
6709
6728
|
for (let i = 0; i < a; ++i)
|
|
6710
|
-
e.charCodeAt(i) >= 128 &&
|
|
6729
|
+
e.charCodeAt(i) >= 128 && Be("not-basic"), u.push(e.charCodeAt(i));
|
|
6711
6730
|
for (let i = a > 0 ? a + 1 : 0; i < t; ) {
|
|
6712
6731
|
const c = n;
|
|
6713
|
-
for (let l = 1, f =
|
|
6714
|
-
i >= t &&
|
|
6732
|
+
for (let l = 1, f = we; ; f += we) {
|
|
6733
|
+
i >= t && Be("invalid-input");
|
|
6715
6734
|
const _ = tl(e.charCodeAt(i++));
|
|
6716
|
-
_ >=
|
|
6717
|
-
const g = f <= o ? bn : f >= o +
|
|
6735
|
+
_ >= we && Be("invalid-input"), _ > Ce((iu - n) / l) && Be("overflow"), n += _ * l;
|
|
6736
|
+
const g = f <= o ? bn : f >= o + Du ? Du : f - o;
|
|
6718
6737
|
if (_ < g)
|
|
6719
6738
|
break;
|
|
6720
|
-
const d =
|
|
6721
|
-
l >
|
|
6739
|
+
const d = we - g;
|
|
6740
|
+
l > Ce(iu / d) && Be("overflow"), l *= d;
|
|
6722
6741
|
}
|
|
6723
6742
|
const s = u.length + 1;
|
|
6724
|
-
o =
|
|
6743
|
+
o = co(n - c, s, c == 0), Ce(n / s) > iu - r && Be("overflow"), r += Ce(n / s), n %= s, u.splice(n++, 0, r);
|
|
6725
6744
|
}
|
|
6726
6745
|
return String.fromCodePoint(...u);
|
|
6727
|
-
},
|
|
6746
|
+
}, lo = function(e) {
|
|
6728
6747
|
const u = [];
|
|
6729
|
-
e =
|
|
6748
|
+
e = ao(e);
|
|
6730
6749
|
const t = e.length;
|
|
6731
|
-
let n =
|
|
6750
|
+
let n = ro, r = 0, o = no;
|
|
6732
6751
|
for (const c of e)
|
|
6733
6752
|
c < 128 && u.push(It(c));
|
|
6734
6753
|
const a = u.length;
|
|
6735
6754
|
let i = a;
|
|
6736
|
-
for (a && u.push(
|
|
6755
|
+
for (a && u.push(oo); i < t; ) {
|
|
6737
6756
|
let c = iu;
|
|
6738
6757
|
for (const l of e)
|
|
6739
6758
|
l >= n && l < c && (c = l);
|
|
6740
6759
|
const s = i + 1;
|
|
6741
|
-
c - n >
|
|
6760
|
+
c - n > Ce((iu - r) / s) && Be("overflow"), r += (c - n) * s, n = c;
|
|
6742
6761
|
for (const l of e)
|
|
6743
|
-
if (l < n && ++r > iu &&
|
|
6762
|
+
if (l < n && ++r > iu && Be("overflow"), l === n) {
|
|
6744
6763
|
let f = r;
|
|
6745
|
-
for (let _ =
|
|
6746
|
-
const g = _ <= o ? bn : _ >= o +
|
|
6764
|
+
for (let _ = we; ; _ += we) {
|
|
6765
|
+
const g = _ <= o ? bn : _ >= o + Du ? Du : _ - o;
|
|
6747
6766
|
if (f < g)
|
|
6748
6767
|
break;
|
|
6749
|
-
const d = f - g, y =
|
|
6768
|
+
const d = f - g, y = we - g;
|
|
6750
6769
|
u.push(
|
|
6751
6770
|
It(xr(g + d % y, 0))
|
|
6752
|
-
), f =
|
|
6771
|
+
), f = Ce(d / y);
|
|
6753
6772
|
}
|
|
6754
|
-
u.push(It(xr(f, 0))), o =
|
|
6773
|
+
u.push(It(xr(f, 0))), o = co(r, s, i === a), r = 0, ++i;
|
|
6755
6774
|
}
|
|
6756
6775
|
++r, ++n;
|
|
6757
6776
|
}
|
|
6758
6777
|
return u.join("");
|
|
6759
6778
|
}, nl = function(e) {
|
|
6760
|
-
return
|
|
6761
|
-
return Xs.test(u) ?
|
|
6779
|
+
return io(e, function(u) {
|
|
6780
|
+
return Xs.test(u) ? so(u.slice(4).toLowerCase()) : u;
|
|
6762
6781
|
});
|
|
6763
6782
|
}, rl = function(e) {
|
|
6764
|
-
return
|
|
6765
|
-
return Qs.test(u) ? "xn--" +
|
|
6783
|
+
return io(e, function(u) {
|
|
6784
|
+
return Qs.test(u) ? "xn--" + lo(u) : u;
|
|
6766
6785
|
});
|
|
6767
|
-
},
|
|
6786
|
+
}, fo = {
|
|
6768
6787
|
/**
|
|
6769
6788
|
* A string representing the current Punycode.js version number.
|
|
6770
6789
|
* @memberOf punycode
|
|
@@ -6779,11 +6798,11 @@ const ul = (e) => String.fromCodePoint(...e), tl = function(e) {
|
|
|
6779
6798
|
* @type Object
|
|
6780
6799
|
*/
|
|
6781
6800
|
ucs2: {
|
|
6782
|
-
decode:
|
|
6801
|
+
decode: ao,
|
|
6783
6802
|
encode: ul
|
|
6784
6803
|
},
|
|
6785
|
-
decode:
|
|
6786
|
-
encode:
|
|
6804
|
+
decode: so,
|
|
6805
|
+
encode: lo,
|
|
6787
6806
|
toASCII: rl,
|
|
6788
6807
|
toUnicode: nl
|
|
6789
6808
|
}, ol = {
|
|
@@ -6960,34 +6979,34 @@ function fl(e) {
|
|
|
6960
6979
|
const u = e.trim().toLowerCase();
|
|
6961
6980
|
return sl.test(u) ? ll.test(u) : !0;
|
|
6962
6981
|
}
|
|
6963
|
-
const
|
|
6982
|
+
const po = ["http:", "https:", "mailto:"];
|
|
6964
6983
|
function dl(e) {
|
|
6965
6984
|
const u = sn(e, !0);
|
|
6966
|
-
if (u.hostname && (!u.protocol ||
|
|
6985
|
+
if (u.hostname && (!u.protocol || po.indexOf(u.protocol) >= 0))
|
|
6967
6986
|
try {
|
|
6968
|
-
u.hostname =
|
|
6987
|
+
u.hostname = fo.toASCII(u.hostname);
|
|
6969
6988
|
} catch {
|
|
6970
6989
|
}
|
|
6971
|
-
return
|
|
6990
|
+
return Tu(cn(u));
|
|
6972
6991
|
}
|
|
6973
6992
|
function pl(e) {
|
|
6974
6993
|
const u = sn(e, !0);
|
|
6975
|
-
if (u.hostname && (!u.protocol ||
|
|
6994
|
+
if (u.hostname && (!u.protocol || po.indexOf(u.protocol) >= 0))
|
|
6976
6995
|
try {
|
|
6977
|
-
u.hostname =
|
|
6996
|
+
u.hostname = fo.toUnicode(u.hostname);
|
|
6978
6997
|
} catch {
|
|
6979
6998
|
}
|
|
6980
6999
|
return au(cn(u), au.defaultChars + "%");
|
|
6981
7000
|
}
|
|
6982
|
-
function
|
|
6983
|
-
if (!(this instanceof
|
|
6984
|
-
return new
|
|
6985
|
-
u || fn(e) || (u = e || {}, e = "default"), this.inline = new
|
|
7001
|
+
function ke(e, u) {
|
|
7002
|
+
if (!(this instanceof ke))
|
|
7003
|
+
return new ke(e, u);
|
|
7004
|
+
u || fn(e) || (u = e || {}, e = "default"), this.inline = new Ru(), this.block = new ft(), this.core = new pn(), this.renderer = new su(), this.linkify = new be(), this.validateLink = fl, this.normalizeLink = dl, this.normalizeLinkText = pl, this.utils = bc, this.helpers = st({}, kc), this.options = {}, this.configure(e), u && this.set(u);
|
|
6986
7005
|
}
|
|
6987
|
-
|
|
7006
|
+
ke.prototype.set = function(e) {
|
|
6988
7007
|
return st(this.options, e), this;
|
|
6989
7008
|
};
|
|
6990
|
-
|
|
7009
|
+
ke.prototype.configure = function(e) {
|
|
6991
7010
|
const u = this;
|
|
6992
7011
|
if (fn(e)) {
|
|
6993
7012
|
const t = e;
|
|
@@ -7000,7 +7019,7 @@ _e.prototype.configure = function(e) {
|
|
|
7000
7019
|
e.components[t].rules && u[t].ruler.enableOnly(e.components[t].rules), e.components[t].rules2 && u[t].ruler2.enableOnly(e.components[t].rules2);
|
|
7001
7020
|
}), this;
|
|
7002
7021
|
};
|
|
7003
|
-
|
|
7022
|
+
ke.prototype.enable = function(e, u) {
|
|
7004
7023
|
let t = [];
|
|
7005
7024
|
Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach(function(r) {
|
|
7006
7025
|
t = t.concat(this[r].ruler.enable(e, !0));
|
|
@@ -7012,7 +7031,7 @@ _e.prototype.enable = function(e, u) {
|
|
|
7012
7031
|
throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
|
|
7013
7032
|
return this;
|
|
7014
7033
|
};
|
|
7015
|
-
|
|
7034
|
+
ke.prototype.disable = function(e, u) {
|
|
7016
7035
|
let t = [];
|
|
7017
7036
|
Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach(function(r) {
|
|
7018
7037
|
t = t.concat(this[r].ruler.disable(e, !0));
|
|
@@ -7024,32 +7043,32 @@ _e.prototype.disable = function(e, u) {
|
|
|
7024
7043
|
throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
|
|
7025
7044
|
return this;
|
|
7026
7045
|
};
|
|
7027
|
-
|
|
7046
|
+
ke.prototype.use = function(e) {
|
|
7028
7047
|
const u = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
7029
7048
|
return e.apply(e, u), this;
|
|
7030
7049
|
};
|
|
7031
|
-
|
|
7050
|
+
ke.prototype.parse = function(e, u) {
|
|
7032
7051
|
if (typeof e != "string")
|
|
7033
7052
|
throw new Error("Input data should be a String");
|
|
7034
7053
|
const t = new this.core.State(e, this, u);
|
|
7035
7054
|
return this.core.process(t), t.tokens;
|
|
7036
7055
|
};
|
|
7037
|
-
|
|
7056
|
+
ke.prototype.render = function(e, u) {
|
|
7038
7057
|
return u = u || {}, this.renderer.render(this.parse(e, u), this.options, u);
|
|
7039
7058
|
};
|
|
7040
|
-
|
|
7059
|
+
ke.prototype.parseInline = function(e, u) {
|
|
7041
7060
|
const t = new this.core.State(e, this, u);
|
|
7042
7061
|
return t.inlineMode = !0, this.core.process(t), t.tokens;
|
|
7043
7062
|
};
|
|
7044
|
-
|
|
7063
|
+
ke.prototype.renderInline = function(e, u) {
|
|
7045
7064
|
return u = u || {}, this.renderer.render(this.parseInline(e, u), this.options, u);
|
|
7046
7065
|
};
|
|
7047
7066
|
function hl(e, u) {
|
|
7048
|
-
const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o =
|
|
7049
|
-
|
|
7067
|
+
const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o = G(Bt(e) ? ou(e.value) : Po(e) ? ou(e) : e);
|
|
7068
|
+
Bt(e) && Le(() => {
|
|
7050
7069
|
o.value = ou(e.value);
|
|
7051
7070
|
});
|
|
7052
|
-
const a =
|
|
7071
|
+
const a = G(""), i = G(), c = ke({ ...r });
|
|
7053
7072
|
function s(l) {
|
|
7054
7073
|
const f = c.render(l);
|
|
7055
7074
|
if (a.value = n ? Fa.sanitize(f) : f, i.value) i.value.innerHTML = a.value;
|
|
@@ -7071,9 +7090,9 @@ function hl(e, u) {
|
|
|
7071
7090
|
};
|
|
7072
7091
|
}
|
|
7073
7092
|
function bl(e, u) {
|
|
7074
|
-
const { step: t = 1, interval: n = 50, enabled: r = !0 } = u ?? {}, o =
|
|
7093
|
+
const { step: t = 1, interval: n = 50, enabled: r = !0 } = u ?? {}, o = G(0), a = G(!1), i = G(!1), c = G(!1), s = he(() => r ? e.value.slice(0, o.value) : e.value), l = he(() => Number(Math.min(o.value / e.value.length * 100, 100).toFixed(2)));
|
|
7075
7094
|
let f = null;
|
|
7076
|
-
const _ =
|
|
7095
|
+
const _ = Zu(), g = Zu(), d = Zu();
|
|
7077
7096
|
Me(e, (k, x) => {
|
|
7078
7097
|
if (!x) {
|
|
7079
7098
|
o.value = 0, y();
|
|
@@ -7134,18 +7153,18 @@ function bl(e, u) {
|
|
|
7134
7153
|
onUpdate: d.on
|
|
7135
7154
|
};
|
|
7136
7155
|
}
|
|
7137
|
-
const ml = "code[class*=language-],pre[class*=language-]{background:#282c34;color:#abb2bf;text-shadow:0 1px rgba(0,0,0,.3);font-family:Fira Code,Fira Mono,Menlo,Consolas,DejaVu Sans Mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] *::-moz-selection,pre[class*=language-] *::-moz-selection{background:#3e4451;color:inherit;text-shadow:none}code[class*=language-]::selection,code[class*=language-] *::selection,pre[class*=language-] *::selection{background:#3e4451;color:inherit;text-shadow:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}.token.comment,.token.prolog,.token.cdata{color:#5c6370}.token.doctype,.token.punctuation,.token.entity{color:#abb2bf}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#d19a66}.token.keyword{color:#c678dd}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e06c75}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#98c379}.token.variable,.token.operator,.token.function{color:#61afef}.token.url{color:#56b6c2}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#abb2bf}.language-css .token.selector{color:#e06c75}.language-css .token.property{color:#abb2bf}.language-css .token.function,.language-css .token.url>.token.function{color:#56b6c2}.language-css .token.url>.token.string.url{color:#98c379}.language-css .token.important,.language-css .token.atrule .token.rule,.language-javascript .token.operator{color:#c678dd}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#be5046}.language-json .token.operator{color:#abb2bf}.language-json .token.null.keyword{color:#d19a66}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#abb2bf}.language-markdown .token.url>.token.content{color:#61afef}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#56b6c2}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#5c6370;font-style:italic}.language-markdown .token.code-snippet{color:#98c379}.language-markdown .token.bold .token.content{color:#d19a66}.language-markdown .token.italic .token.content{color:#c678dd}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e06c75}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:#abb2bf26;text-shadow:none}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#3a3f4b;color:#828997;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#3e4451;color:#abb2bf}.line-highlight.line-highlight{background:#99bbff0a}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#3a3f4b;color:#abb2bf;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#99bbff0a}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#abb2bf26}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#636d83}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e06c75}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#98c379}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#61afef}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#c678dd}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:#ff526626}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection{background-color:#fb566940}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::selection{background-color:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection{background-color:#38e06240}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::selection{background-color:#38e06240}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:#262931}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:#262931}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:#262931}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#31363f}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#abb2bf;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#abb2bf}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}", gl = "code[class*=language-],pre[class*=language-]{background:#fafafa;color:#383a42;font-family:Fira Code,Fira Mono,Menlo,Consolas,DejaVu Sans Mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] *::-moz-selection,pre[class*=language-] *::-moz-selection{background:#e5e5e6;color:inherit}code[class*=language-]::selection,code[class*=language-] *::selection,pre[class*=language-] *::selection{background:#e5e5e6;color:inherit}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.cdata{color:#a0a1a7}.token.doctype,.token.punctuation,.token.entity{color:#383a42}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#b76b01}.token.keyword{color:#a626a4}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e45649}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#50a14f}.token.variable,.token.operator,.token.function{color:#4078f2}.token.url{color:#0184bc}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#383a42}.language-css .token.selector{color:#e45649}.language-css .token.property{color:#383a42}.language-css .token.function,.language-css .token.url>.token.function{color:#0184bc}.language-css .token.url>.token.string.url{color:#50a14f}.language-css .token.important,.language-css .token.atrule .token.rule,.language-javascript .token.operator{color:#a626a4}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#ca1243}.language-json .token.operator{color:#383a42}.language-json .token.null.keyword{color:#b76b01}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#383a42}.language-markdown .token.url>.token.content{color:#4078f2}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#0184bc}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#a0a1a7;font-style:italic}.language-markdown .token.code-snippet{color:#50a14f}.language-markdown .token.bold .token.content{color:#b76b01}.language-markdown .token.italic .token.content{color:#a626a4}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e45649}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:#383a4233}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#e5e5e6;color:#696c77;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#c6c7c7;color:#383a42}.line-highlight.line-highlight{background:#383a420d}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#e5e5e6;color:#383a42;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#383a420d}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#383a4233}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#9d9d9f}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e45649}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#50a14f}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#4078f2}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#a626a4}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:#ff526626}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection{background-color:#fb566940}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::selection{background-color:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection{background-color:#38e06240}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::selection{background-color:#38e06240}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:hsl(0,0,95%)}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:hsl(0,0,95%)}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:hsl(0,0,95%)}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#fff}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#383a42;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#383a42}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}", { c: zt, cB: kr, cE: Bt } = { ...tn, ...Sr }, Wu = `${Tr}-type-writer`;
|
|
7156
|
+
const ml = "code[class*=language-],pre[class*=language-]{background:#282c34;color:#abb2bf;text-shadow:0 1px rgba(0,0,0,.3);font-family:Fira Code,Fira Mono,Menlo,Consolas,DejaVu Sans Mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] *::-moz-selection,pre[class*=language-] *::-moz-selection{background:#3e4451;color:inherit;text-shadow:none}code[class*=language-]::selection,code[class*=language-] *::selection,pre[class*=language-] *::selection{background:#3e4451;color:inherit;text-shadow:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}.token.comment,.token.prolog,.token.cdata{color:#5c6370}.token.doctype,.token.punctuation,.token.entity{color:#abb2bf}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#d19a66}.token.keyword{color:#c678dd}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e06c75}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#98c379}.token.variable,.token.operator,.token.function{color:#61afef}.token.url{color:#56b6c2}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#abb2bf}.language-css .token.selector{color:#e06c75}.language-css .token.property{color:#abb2bf}.language-css .token.function,.language-css .token.url>.token.function{color:#56b6c2}.language-css .token.url>.token.string.url{color:#98c379}.language-css .token.important,.language-css .token.atrule .token.rule,.language-javascript .token.operator{color:#c678dd}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#be5046}.language-json .token.operator{color:#abb2bf}.language-json .token.null.keyword{color:#d19a66}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#abb2bf}.language-markdown .token.url>.token.content{color:#61afef}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#56b6c2}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#5c6370;font-style:italic}.language-markdown .token.code-snippet{color:#98c379}.language-markdown .token.bold .token.content{color:#d19a66}.language-markdown .token.italic .token.content{color:#c678dd}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e06c75}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:#abb2bf26;text-shadow:none}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#3a3f4b;color:#828997;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#3e4451;color:#abb2bf}.line-highlight.line-highlight{background:#99bbff0a}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#3a3f4b;color:#abb2bf;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#99bbff0a}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#abb2bf26}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#636d83}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e06c75}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#98c379}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#61afef}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#c678dd}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:#ff526626}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection{background-color:#fb566940}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::selection{background-color:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection{background-color:#38e06240}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::selection{background-color:#38e06240}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:#262931}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:#262931}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:#262931}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#31363f}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#abb2bf;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#abb2bf}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}", gl = "code[class*=language-],pre[class*=language-]{background:#fafafa;color:#383a42;font-family:Fira Code,Fira Mono,Menlo,Consolas,DejaVu Sans Mono,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] *::-moz-selection,pre[class*=language-] *::-moz-selection{background:#e5e5e6;color:inherit}code[class*=language-]::selection,code[class*=language-] *::selection,pre[class*=language-] *::selection{background:#e5e5e6;color:inherit}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.cdata{color:#a0a1a7}.token.doctype,.token.punctuation,.token.entity{color:#383a42}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#b76b01}.token.keyword{color:#a626a4}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e45649}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#50a14f}.token.variable,.token.operator,.token.function{color:#4078f2}.token.url{color:#0184bc}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#383a42}.language-css .token.selector{color:#e45649}.language-css .token.property{color:#383a42}.language-css .token.function,.language-css .token.url>.token.function{color:#0184bc}.language-css .token.url>.token.string.url{color:#50a14f}.language-css .token.important,.language-css .token.atrule .token.rule,.language-javascript .token.operator{color:#a626a4}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#ca1243}.language-json .token.operator{color:#383a42}.language-json .token.null.keyword{color:#b76b01}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#383a42}.language-markdown .token.url>.token.content{color:#4078f2}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#0184bc}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#a0a1a7;font-style:italic}.language-markdown .token.code-snippet{color:#50a14f}.language-markdown .token.bold .token.content{color:#b76b01}.language-markdown .token.italic .token.content{color:#a626a4}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e45649}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:#383a4233}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#e5e5e6;color:#696c77;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#c6c7c7;color:#383a42}.line-highlight.line-highlight{background:#383a420d}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#e5e5e6;color:#383a42;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#383a420d}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#383a4233}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#9d9d9f}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e45649}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#50a14f}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#4078f2}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#a626a4}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:#ff526626}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection{background-color:#fb566940}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) *::selection{background-color:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection{background-color:#38e06240}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) *::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) *::selection{background-color:#38e06240}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:hsl(0,0,95%)}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:hsl(0,0,95%)}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:hsl(0,0,95%)}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#fff}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#383a42;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#383a42}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}", { c: zt, cB: kr, cE: $t } = { ...tn, ...Tr }, Vu = `${Pr}-type-writer`;
|
|
7138
7157
|
function xl() {
|
|
7139
7158
|
return zt([
|
|
7140
7159
|
kr("type-writer", {
|
|
7141
7160
|
overflowX: "auto"
|
|
7142
7161
|
}, [
|
|
7143
|
-
|
|
7162
|
+
$t("cursor::after", {
|
|
7144
7163
|
content: "var(--cursor-content)",
|
|
7145
7164
|
marginLeft: "2px",
|
|
7146
7165
|
display: "inline-block"
|
|
7147
7166
|
}),
|
|
7148
|
-
|
|
7167
|
+
$t("markdown", `${gl}`, [
|
|
7149
7168
|
zt("pre", {
|
|
7150
7169
|
backgroundColor: "var(--tag-color)",
|
|
7151
7170
|
borderRadius: "var(--border-radius)"
|
|
@@ -7154,7 +7173,7 @@ function xl() {
|
|
|
7154
7173
|
]),
|
|
7155
7174
|
zt(".dark", [
|
|
7156
7175
|
kr("type-writer", [
|
|
7157
|
-
|
|
7176
|
+
$t("markdown", `${ml}`)
|
|
7158
7177
|
])
|
|
7159
7178
|
])
|
|
7160
7179
|
]);
|
|
@@ -7172,7 +7191,7 @@ const kl = ["innerHTML"], _l = /* @__PURE__ */ pe({
|
|
|
7172
7191
|
emits: ["start", "update", "stop"],
|
|
7173
7192
|
setup(e, { emit: u }) {
|
|
7174
7193
|
const t = u;
|
|
7175
|
-
|
|
7194
|
+
Sr(Vu, xl());
|
|
7176
7195
|
const { typedValue: n, isTyping: r, onStat: o, onUpdate: a, onStop: i } = bl(he(() => e.value ?? ""), {
|
|
7177
7196
|
step: e.step,
|
|
7178
7197
|
interval: e.interval,
|
|
@@ -7192,13 +7211,13 @@ const kl = ["innerHTML"], _l = /* @__PURE__ */ pe({
|
|
|
7192
7211
|
breaks: !0,
|
|
7193
7212
|
highlight: Oi
|
|
7194
7213
|
}), s = he(() => e.markdown ? c.value : n.value);
|
|
7195
|
-
return (l, f) => (
|
|
7214
|
+
return (l, f) => (z(), W(D(yr), {
|
|
7196
7215
|
tag: "div",
|
|
7197
|
-
class:
|
|
7216
|
+
class: Ku([D(Vu)])
|
|
7198
7217
|
}, {
|
|
7199
7218
|
default: $(() => [
|
|
7200
|
-
|
|
7201
|
-
class:
|
|
7219
|
+
Fu("div", {
|
|
7220
|
+
class: Ku([D(r) && !l.markdown ? `${D(Vu)}__cursor` : void 0, l.markdown ? `${D(Vu)}__markdown` : void 0]),
|
|
7202
7221
|
style: vr([l.markdown ? void 0 : { "--cursor-content": `'${l.suffix}'` }]),
|
|
7203
7222
|
innerHTML: s.value
|
|
7204
7223
|
}, null, 14, kl)
|