bi-components-library 1.1.47 → 1.1.48
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/index.es.js +492 -484
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +18 -18
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as G, jsxs as de, Fragment as Vs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { Button as wt, Card as Pa, Modal as tl, Table as Ma, Flex as Ei, Spin as nl, Empty as rl, Select as
|
|
2
|
+
import _e, { useState as te, useRef as J, useMemo as Cn, useCallback as ie, useEffect as ne, useLayoutEffect as et, forwardRef as Gs, createContext as Ys } from "react";
|
|
3
|
+
import { Button as wt, Card as Pa, Modal as tl, Table as Ma, Flex as Ei, Spin as nl, Empty as rl, Select as hr, Form as zn, Input as Ra, Space as al, Tooltip as il, Image as bi, DatePicker as sl, message as ol, Dropdown as ul, Progress as ll, Pagination as cl, theme as dl } from "antd";
|
|
4
4
|
import { createFromIconfontCN as fl, LeftOutlined as pl, SearchOutlined as hl, ReloadOutlined as ml, InfoCircleOutlined as gl, SendOutlined as El, PauseCircleOutlined as bl, PlayCircleOutlined as yl } from "@ant-design/icons";
|
|
5
|
-
import { createPortal as
|
|
5
|
+
import { createPortal as mr } from "react-dom";
|
|
6
6
|
const Tl = ({
|
|
7
7
|
variant: e = "primary",
|
|
8
8
|
loading: t = !1,
|
|
@@ -542,7 +542,7 @@ vl.__docgenInfo = {
|
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
const { Option: wl } =
|
|
545
|
+
const { Option: wl } = hr, Il = ({
|
|
546
546
|
columns: e,
|
|
547
547
|
request: t,
|
|
548
548
|
searchFields: n = [],
|
|
@@ -558,7 +558,7 @@ const { Option: wl } = pr, Il = ({
|
|
|
558
558
|
current: 1,
|
|
559
559
|
pageSize: i,
|
|
560
560
|
total: 0
|
|
561
|
-
}), [b, g] = te({}), [y, T] = te({}), [C] =
|
|
561
|
+
}), [b, g] = te({}), [y, T] = te({}), [C] = zn.useForm(), A = J(c);
|
|
562
562
|
A.current = c;
|
|
563
563
|
const S = J(o);
|
|
564
564
|
S.current = o;
|
|
@@ -614,21 +614,21 @@ const { Option: wl } = pr, Il = ({
|
|
|
614
614
|
(u && !v.current || N) && (w(), v.current = !0);
|
|
615
615
|
}, [u, o, w]), /* @__PURE__ */ de("div", { children: [
|
|
616
616
|
r && n.length > 0 && /* @__PURE__ */ G(Pa, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */ de(
|
|
617
|
-
|
|
617
|
+
zn,
|
|
618
618
|
{
|
|
619
619
|
form: C,
|
|
620
620
|
layout: "inline",
|
|
621
621
|
onFinish: O,
|
|
622
622
|
initialValues: n.reduce((N, x) => (x.defaultValue !== void 0 && (N[x.key] = x.defaultValue), N), {}),
|
|
623
623
|
children: [
|
|
624
|
-
n.map((N) => /* @__PURE__ */ G(
|
|
624
|
+
n.map((N) => /* @__PURE__ */ G(zn.Item, { name: N.key, label: N.label, children: N.type === "input" ? /* @__PURE__ */ G(
|
|
625
625
|
Ra,
|
|
626
626
|
{
|
|
627
627
|
placeholder: N.placeholder || `请输入${N.label}`,
|
|
628
628
|
style: { width: 200 }
|
|
629
629
|
}
|
|
630
630
|
) : /* @__PURE__ */ G(
|
|
631
|
-
|
|
631
|
+
hr,
|
|
632
632
|
{
|
|
633
633
|
placeholder: N.placeholder || `请选择${N.label}`,
|
|
634
634
|
style: { width: 200 },
|
|
@@ -636,7 +636,7 @@ const { Option: wl } = pr, Il = ({
|
|
|
636
636
|
children: N.options?.map((x) => /* @__PURE__ */ G(wl, { value: x.value, children: x.label }, x.value))
|
|
637
637
|
}
|
|
638
638
|
) }, N.key)),
|
|
639
|
-
/* @__PURE__ */ G(
|
|
639
|
+
/* @__PURE__ */ G(zn.Item, { children: /* @__PURE__ */ de(al, { children: [
|
|
640
640
|
/* @__PURE__ */ G(wt, { type: "primary", htmlType: "submit", icon: /* @__PURE__ */ G(hl, {}), children: "查询" }),
|
|
641
641
|
/* @__PURE__ */ G(wt, { onClick: I, children: "重置" }),
|
|
642
642
|
a && /* @__PURE__ */ G(wt, { icon: /* @__PURE__ */ G(ml, {}), onClick: D, children: "刷新" })
|
|
@@ -732,7 +732,7 @@ Il.__docgenInfo = {
|
|
|
732
732
|
}
|
|
733
733
|
};
|
|
734
734
|
const Ll = ({ host: e, onChange: t }) => {
|
|
735
|
-
const n = e.dataset.key, r = e.dataset.placeholder, a = e.dataset.options ? decodeURIComponent(e.dataset.options) : "[]", i = e.dataset.required === "true", s = e.dataset.value || "", u =
|
|
735
|
+
const n = e.dataset.key, r = e.dataset.placeholder, a = e.dataset.options ? decodeURIComponent(e.dataset.options) : "[]", i = e.dataset.required === "true", s = e.dataset.value || "", u = _e.useMemo(() => {
|
|
736
736
|
try {
|
|
737
737
|
return JSON.parse(a);
|
|
738
738
|
} catch {
|
|
@@ -744,13 +744,13 @@ const Ll = ({ host: e, onChange: t }) => {
|
|
|
744
744
|
ne(() => {
|
|
745
745
|
l(s || void 0);
|
|
746
746
|
}, [s]);
|
|
747
|
-
const c =
|
|
747
|
+
const c = _e.useCallback(() => {
|
|
748
748
|
if (o != null && o !== "") {
|
|
749
749
|
const b = u.find((g) => String(g.value) === String(o));
|
|
750
750
|
return b ? typeof b.label == "string" ? b.label : String(b.label ?? o) : String(o);
|
|
751
751
|
}
|
|
752
752
|
return r || "请选择";
|
|
753
|
-
}, [o, u, r]), f =
|
|
753
|
+
}, [o, u, r]), f = _e.useCallback(() => {
|
|
754
754
|
const b = E.current;
|
|
755
755
|
if (!b) return;
|
|
756
756
|
const g = b.querySelector(".ant-select-selection-item"), y = b.querySelector(".ant-select-selection-placeholder"), T = g || y, C = (T?.textContent || "").trim() || c(), A = b.querySelector(".ant-select-selector"), S = T || A || b, v = window.getComputedStyle(S), _ = T ? v.fontSize : "16px", w = v.fontFamily || "sans-serif", O = v.fontWeight || "400", D = `${v.fontStyle || "normal"} ${O} ${_} ${w}`, N = document.createElement("canvas").getContext("2d"), x = N ? Math.ceil((N.font = D, N.measureText(C).width || 0)) : 0;
|
|
@@ -768,7 +768,7 @@ const Ll = ({ host: e, onChange: t }) => {
|
|
|
768
768
|
const W = Math.max(36, x + P + $ + k + 6);
|
|
769
769
|
p((Q) => Q === W ? Q : W);
|
|
770
770
|
}, [c]);
|
|
771
|
-
return
|
|
771
|
+
return et(() => {
|
|
772
772
|
const b = window.requestAnimationFrame(() => {
|
|
773
773
|
f();
|
|
774
774
|
}), g = window.setTimeout(() => {
|
|
@@ -787,7 +787,7 @@ const Ll = ({ host: e, onChange: t }) => {
|
|
|
787
787
|
}), () => {
|
|
788
788
|
b = !0;
|
|
789
789
|
};
|
|
790
|
-
}, [f]),
|
|
790
|
+
}, [f]), mr(
|
|
791
791
|
/* @__PURE__ */ G(
|
|
792
792
|
"div",
|
|
793
793
|
{
|
|
@@ -796,7 +796,7 @@ const Ll = ({ host: e, onChange: t }) => {
|
|
|
796
796
|
ref: E,
|
|
797
797
|
style: { display: "inline-block", width: m },
|
|
798
798
|
children: /* @__PURE__ */ G(
|
|
799
|
-
|
|
799
|
+
hr,
|
|
800
800
|
{
|
|
801
801
|
value: o,
|
|
802
802
|
onChange: h,
|
|
@@ -910,7 +910,7 @@ const Rl = ({ host: e, onChange: t }) => {
|
|
|
910
910
|
}, [u]), ne(() => {
|
|
911
911
|
e.classList.toggle("rte-variable-multiline", b);
|
|
912
912
|
}, [e, b]);
|
|
913
|
-
const g =
|
|
913
|
+
const g = _e.useCallback(() => {
|
|
914
914
|
const C = h.current;
|
|
915
915
|
if (!C) return;
|
|
916
916
|
const A = C.querySelector("textarea");
|
|
@@ -930,7 +930,7 @@ const Rl = ({ host: e, onChange: t }) => {
|
|
|
930
930
|
return S.observe(C), () => {
|
|
931
931
|
A && window.cancelAnimationFrame(A), S.disconnect();
|
|
932
932
|
};
|
|
933
|
-
}, [n, t]),
|
|
933
|
+
}, [n, t]), et(() => {
|
|
934
934
|
const C = window.requestAnimationFrame(() => {
|
|
935
935
|
g();
|
|
936
936
|
});
|
|
@@ -954,7 +954,7 @@ const Rl = ({ host: e, onChange: t }) => {
|
|
|
954
954
|
}, T = (C) => {
|
|
955
955
|
C.key === "Enter" && !i && C.preventDefault();
|
|
956
956
|
};
|
|
957
|
-
return
|
|
957
|
+
return mr(
|
|
958
958
|
/* @__PURE__ */ de(
|
|
959
959
|
"div",
|
|
960
960
|
{
|
|
@@ -1039,7 +1039,7 @@ const Rl = ({ host: e, onChange: t }) => {
|
|
|
1039
1039
|
}, [e]), t;
|
|
1040
1040
|
};
|
|
1041
1041
|
function Fl(e, t = []) {
|
|
1042
|
-
|
|
1042
|
+
et(() => {
|
|
1043
1043
|
if (!e.current) return;
|
|
1044
1044
|
const n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), a = (p) => {
|
|
1045
1045
|
const E = p.value || p.placeholder || "", h = window.getComputedStyle(p), c = Number.parseFloat(h.paddingLeft) || 0, f = Number.parseFloat(h.paddingRight) || 0, b = document.createElement("span");
|
|
@@ -1117,7 +1117,7 @@ function Fl(e, t = []) {
|
|
|
1117
1117
|
}, [e, ...t]);
|
|
1118
1118
|
}
|
|
1119
1119
|
function Hl(e, t, n = []) {
|
|
1120
|
-
|
|
1120
|
+
et(() => {
|
|
1121
1121
|
if (!e.current) return;
|
|
1122
1122
|
const r = /* @__PURE__ */ new Map(), a = window.setTimeout(() => {
|
|
1123
1123
|
if (!e.current) return;
|
|
@@ -1169,7 +1169,7 @@ function $l(e, t, n = []) {
|
|
|
1169
1169
|
}, [e]);
|
|
1170
1170
|
}
|
|
1171
1171
|
function Ul(e, t, n = []) {
|
|
1172
|
-
|
|
1172
|
+
et(() => {
|
|
1173
1173
|
if (!e.current) return;
|
|
1174
1174
|
const r = /* @__PURE__ */ new Map(), a = window.setTimeout(() => {
|
|
1175
1175
|
if (!e.current) return;
|
|
@@ -1199,7 +1199,7 @@ function Ul(e, t, n = []) {
|
|
|
1199
1199
|
const fe = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), ot = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", ga = (e) => {
|
|
1200
1200
|
const t = (e?.name || "").toLowerCase(), n = /\.(png|jpe?g|gif|webp|bmp|svg)$/.test(t), r = (e?.type || "").toLowerCase();
|
|
1201
1201
|
return n || (r === "image/png" || r === "image/jpeg" || r === "image/gif" || r === "image/webp" || r === "image/bmp" || r === "image/svg+xml");
|
|
1202
|
-
},
|
|
1202
|
+
}, ar = (e) => {
|
|
1203
1203
|
const t = (e || "").trim() || " ";
|
|
1204
1204
|
let n = 0;
|
|
1205
1205
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -1355,7 +1355,7 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1355
1355
|
} else
|
|
1356
1356
|
p.current = null, i({}), r({});
|
|
1357
1357
|
m.current = e;
|
|
1358
|
-
}, [e, t, l, r, i]),
|
|
1358
|
+
}, [e, t, l, r, i]), et(() => {
|
|
1359
1359
|
p.current && t.current && (t.current.__tempVariableValues = p.current.variableValues, setTimeout(() => {
|
|
1360
1360
|
p.current && (p.current = null);
|
|
1361
1361
|
}, 0));
|
|
@@ -1625,7 +1625,7 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1625
1625
|
m.current = b;
|
|
1626
1626
|
}, [m, b]), ne(() => {
|
|
1627
1627
|
p.current = g;
|
|
1628
|
-
}, [p, g]),
|
|
1628
|
+
}, [p, g]), et(() => {
|
|
1629
1629
|
E.current = y;
|
|
1630
1630
|
}, [E, y]);
|
|
1631
1631
|
const T = ie((S, v) => {
|
|
@@ -1659,7 +1659,7 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1659
1659
|
const y = Math.max(0, Math.ceil(g.scrollHeight || 0));
|
|
1660
1660
|
!Number.isFinite(y) || y <= 0 || u((T) => T === y ? T : y);
|
|
1661
1661
|
}, [r, u]);
|
|
1662
|
-
|
|
1662
|
+
et(() => {
|
|
1663
1663
|
if (!e) return;
|
|
1664
1664
|
const g = n.current, y = a.current;
|
|
1665
1665
|
if (!(!g || !y))
|
|
@@ -1733,7 +1733,7 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1733
1733
|
}, () => {
|
|
1734
1734
|
y.__rteDebug && y.__rteDebug[g] && delete y.__rteDebug[g];
|
|
1735
1735
|
};
|
|
1736
|
-
}, [r, n, i, a]),
|
|
1736
|
+
}, [r, n, i, a]), et(() => {
|
|
1737
1737
|
if (!e) return;
|
|
1738
1738
|
const g = n.current, y = r.current, T = a.current;
|
|
1739
1739
|
if (!g) return;
|
|
@@ -2025,7 +2025,7 @@ function Ql(e, t) {
|
|
|
2025
2025
|
}
|
|
2026
2026
|
return Math.ceil(p);
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2028
|
+
function gr(e, t) {
|
|
2029
2029
|
if (!e.current) return;
|
|
2030
2030
|
e.current.querySelectorAll('[data-type="variable"]').forEach((r) => {
|
|
2031
2031
|
if (r.dataset.variableRender === "antd-textarea")
|
|
@@ -2048,12 +2048,12 @@ function mr(e, t) {
|
|
|
2048
2048
|
try {
|
|
2049
2049
|
const S = Ql(c, r);
|
|
2050
2050
|
if (!S || !Number.isFinite(S)) {
|
|
2051
|
-
const v =
|
|
2051
|
+
const v = ar(c);
|
|
2052
2052
|
return Math.max(0, v - 22);
|
|
2053
2053
|
}
|
|
2054
2054
|
return S;
|
|
2055
2055
|
} catch {
|
|
2056
|
-
const S =
|
|
2056
|
+
const S = ar(c);
|
|
2057
2057
|
return Math.max(0, S - 22);
|
|
2058
2058
|
}
|
|
2059
2059
|
})(), y = (() => {
|
|
@@ -2703,7 +2703,7 @@ const Jl = ({
|
|
|
2703
2703
|
multiVariableCounts: i,
|
|
2704
2704
|
setMultiVariableCounts: s
|
|
2705
2705
|
}) => {
|
|
2706
|
-
|
|
2706
|
+
et(() => {
|
|
2707
2707
|
const u = r.current;
|
|
2708
2708
|
if (!u) return;
|
|
2709
2709
|
const o = /* @__PURE__ */ new Map(), l = (E) => {
|
|
@@ -2715,7 +2715,7 @@ const Jl = ({
|
|
|
2715
2715
|
a(f.length > 0);
|
|
2716
2716
|
return;
|
|
2717
2717
|
}
|
|
2718
|
-
|
|
2718
|
+
gr(r), Ba(r, t, n), Xs(r, t, n, a);
|
|
2719
2719
|
}
|
|
2720
2720
|
}, 0);
|
|
2721
2721
|
};
|
|
@@ -2969,7 +2969,7 @@ const Jl = ({
|
|
|
2969
2969
|
}
|
|
2970
2970
|
setTimeout(() => {
|
|
2971
2971
|
const N = window.getSelection();
|
|
2972
|
-
N && !N.isCollapsed ||
|
|
2972
|
+
N && !N.isCollapsed || gr(i);
|
|
2973
2973
|
}, 10);
|
|
2974
2974
|
return;
|
|
2975
2975
|
}
|
|
@@ -3070,7 +3070,7 @@ const Jl = ({
|
|
|
3070
3070
|
}
|
|
3071
3071
|
return;
|
|
3072
3072
|
}
|
|
3073
|
-
if (
|
|
3073
|
+
if (gr(t), t.current && t.current.querySelectorAll(
|
|
3074
3074
|
'[data-type="variable"][data-node-type="report-url"]'
|
|
3075
3075
|
).forEach((b) => {
|
|
3076
3076
|
const g = b.dataset.key;
|
|
@@ -3966,7 +3966,7 @@ const ic = {
|
|
|
3966
3966
|
typeof setTimeout > "u" || clearTimeout(e);
|
|
3967
3967
|
}
|
|
3968
3968
|
};
|
|
3969
|
-
function
|
|
3969
|
+
function He() {
|
|
3970
3970
|
const e = typeof window < "u" ? window : {};
|
|
3971
3971
|
return Fa(e, ic), e;
|
|
3972
3972
|
}
|
|
@@ -3989,21 +3989,21 @@ function oc(e) {
|
|
|
3989
3989
|
function Qs(e, t = 0) {
|
|
3990
3990
|
return setTimeout(e, t);
|
|
3991
3991
|
}
|
|
3992
|
-
function
|
|
3992
|
+
function ir() {
|
|
3993
3993
|
return Date.now();
|
|
3994
3994
|
}
|
|
3995
3995
|
function uc(e) {
|
|
3996
|
-
const t =
|
|
3996
|
+
const t = He();
|
|
3997
3997
|
let n;
|
|
3998
3998
|
return t.getComputedStyle && (n = t.getComputedStyle(e, null)), !n && e.currentStyle && (n = e.currentStyle), n || (n = e.style), n;
|
|
3999
3999
|
}
|
|
4000
4000
|
function lc(e, t = "x") {
|
|
4001
|
-
const n =
|
|
4001
|
+
const n = He();
|
|
4002
4002
|
let r, a, i;
|
|
4003
4003
|
const s = uc(e);
|
|
4004
4004
|
return n.WebKitCSSMatrix ? (a = s.transform || s.webkitTransform, a.split(",").length > 6 && (a = a.split(", ").map((u) => u.replace(",", ".")).join(", ")), i = new n.WebKitCSSMatrix(a === "none" ? "" : a)) : (i = s.MozTransform || s.OTransform || s.MsTransform || s.msTransform || s.transform || s.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), r = i.toString().split(",")), t === "x" && (n.WebKitCSSMatrix ? a = i.m41 : r.length === 16 ? a = parseFloat(r[12]) : a = parseFloat(r[4])), t === "y" && (n.WebKitCSSMatrix ? a = i.m42 : r.length === 16 ? a = parseFloat(r[13]) : a = parseFloat(r[5])), a || 0;
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function Vn(e) {
|
|
4007
4007
|
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
4008
4008
|
}
|
|
4009
4009
|
function cc(e) {
|
|
@@ -4017,7 +4017,7 @@ function Ye(...e) {
|
|
|
4017
4017
|
const i = Object.keys(Object(a)).filter((s) => n.indexOf(s) < 0);
|
|
4018
4018
|
for (let s = 0, u = i.length; s < u; s += 1) {
|
|
4019
4019
|
const o = i[s], l = Object.getOwnPropertyDescriptor(a, o);
|
|
4020
|
-
l !== void 0 && l.enumerable && (
|
|
4020
|
+
l !== void 0 && l.enumerable && (Vn(t[o]) && Vn(a[o]) ? a[o].__swiper__ ? t[o] = a[o] : Ye(t[o], a[o]) : !Vn(t[o]) && Vn(a[o]) ? (t[o] = {}, a[o].__swiper__ ? t[o] = a[o] : Ye(t[o], a[o])) : t[o] = a[o]);
|
|
4021
4021
|
}
|
|
4022
4022
|
}
|
|
4023
4023
|
}
|
|
@@ -4031,7 +4031,7 @@ function Js({
|
|
|
4031
4031
|
targetPosition: t,
|
|
4032
4032
|
side: n
|
|
4033
4033
|
}) {
|
|
4034
|
-
const r =
|
|
4034
|
+
const r = He(), a = -e.translate;
|
|
4035
4035
|
let i = null, s;
|
|
4036
4036
|
const u = e.params.speed;
|
|
4037
4037
|
e.wrapperEl.style.scrollSnapType = "none", r.cancelAnimationFrame(e.cssModeFrameID);
|
|
@@ -4054,7 +4054,7 @@ function Js({
|
|
|
4054
4054
|
m();
|
|
4055
4055
|
}
|
|
4056
4056
|
function st(e, t = "") {
|
|
4057
|
-
const n =
|
|
4057
|
+
const n = He(), r = [...e.children];
|
|
4058
4058
|
return n.HTMLSlotElement && e instanceof HTMLSlotElement && r.push(...e.assignedElements()), t ? r.filter((a) => a.matches(t)) : r;
|
|
4059
4059
|
}
|
|
4060
4060
|
function dc(e, t) {
|
|
@@ -4067,18 +4067,18 @@ function dc(e, t) {
|
|
|
4067
4067
|
}
|
|
4068
4068
|
}
|
|
4069
4069
|
function fc(e, t) {
|
|
4070
|
-
const n =
|
|
4070
|
+
const n = He();
|
|
4071
4071
|
let r = t.contains(e);
|
|
4072
4072
|
return !r && n.HTMLSlotElement && t instanceof HTMLSlotElement && (r = [...t.assignedElements()].includes(e), r || (r = dc(e, t))), r;
|
|
4073
4073
|
}
|
|
4074
|
-
function
|
|
4074
|
+
function sr(e) {
|
|
4075
4075
|
try {
|
|
4076
4076
|
console.warn(e);
|
|
4077
4077
|
return;
|
|
4078
4078
|
} catch {
|
|
4079
4079
|
}
|
|
4080
4080
|
}
|
|
4081
|
-
function
|
|
4081
|
+
function or(e, t = []) {
|
|
4082
4082
|
const n = document.createElement(e);
|
|
4083
4083
|
return n.classList.add(...Array.isArray(t) ? t : sc(t)), n;
|
|
4084
4084
|
}
|
|
@@ -4099,9 +4099,9 @@ function hc(e, t) {
|
|
|
4099
4099
|
return n;
|
|
4100
4100
|
}
|
|
4101
4101
|
function Ct(e, t) {
|
|
4102
|
-
return
|
|
4102
|
+
return He().getComputedStyle(e, null).getPropertyValue(t);
|
|
4103
4103
|
}
|
|
4104
|
-
function
|
|
4104
|
+
function ur(e) {
|
|
4105
4105
|
let t = e, n;
|
|
4106
4106
|
if (t) {
|
|
4107
4107
|
for (n = 0; (t = t.previousSibling) !== null; )
|
|
@@ -4117,7 +4117,7 @@ function Zs(e, t) {
|
|
|
4117
4117
|
return n;
|
|
4118
4118
|
}
|
|
4119
4119
|
function Ea(e, t, n) {
|
|
4120
|
-
const r =
|
|
4120
|
+
const r = He();
|
|
4121
4121
|
return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(r.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
|
|
4122
4122
|
}
|
|
4123
4123
|
function Oe(e) {
|
|
@@ -4130,7 +4130,7 @@ function An(e, t = "") {
|
|
|
4130
4130
|
}
|
|
4131
4131
|
let Pr;
|
|
4132
4132
|
function mc() {
|
|
4133
|
-
const e =
|
|
4133
|
+
const e = He(), t = Dt();
|
|
4134
4134
|
return {
|
|
4135
4135
|
smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
|
|
4136
4136
|
touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
|
|
@@ -4143,7 +4143,7 @@ let Mr;
|
|
|
4143
4143
|
function gc({
|
|
4144
4144
|
userAgent: e
|
|
4145
4145
|
} = {}) {
|
|
4146
|
-
const t = eo(), n =
|
|
4146
|
+
const t = eo(), n = He(), r = n.navigator.platform, a = e || n.navigator.userAgent, i = {
|
|
4147
4147
|
ios: !1,
|
|
4148
4148
|
android: !1
|
|
4149
4149
|
}, s = n.screen.width, u = n.screen.height, o = a.match(/(Android);?[\s\/]+([\d.]+)?/);
|
|
@@ -4158,7 +4158,7 @@ function to(e = {}) {
|
|
|
4158
4158
|
}
|
|
4159
4159
|
let Rr;
|
|
4160
4160
|
function Ec() {
|
|
4161
|
-
const e =
|
|
4161
|
+
const e = He(), t = to();
|
|
4162
4162
|
let n = !1;
|
|
4163
4163
|
function r() {
|
|
4164
4164
|
const u = e.navigator.userAgent.toLowerCase();
|
|
@@ -4187,7 +4187,7 @@ function bc({
|
|
|
4187
4187
|
on: t,
|
|
4188
4188
|
emit: n
|
|
4189
4189
|
}) {
|
|
4190
|
-
const r =
|
|
4190
|
+
const r = He();
|
|
4191
4191
|
let a = null, i = null;
|
|
4192
4192
|
const s = () => {
|
|
4193
4193
|
!e || e.destroyed || !e.initialized || (n("beforeResize"), n("resize"));
|
|
@@ -4229,7 +4229,7 @@ function yc({
|
|
|
4229
4229
|
on: n,
|
|
4230
4230
|
emit: r
|
|
4231
4231
|
}) {
|
|
4232
|
-
const a = [], i =
|
|
4232
|
+
const a = [], i = He(), s = (l, m = {}) => {
|
|
4233
4233
|
const p = i.MutationObserver || i.WebkitMutationObserver, E = new p((h) => {
|
|
4234
4234
|
if (e.__preventObserver__) return;
|
|
4235
4235
|
if (h.length === 1) {
|
|
@@ -4570,7 +4570,7 @@ function Nc() {
|
|
|
4570
4570
|
Br(p, p === o, n.slideActiveClass), Br(p, p === m, n.slideNextClass), Br(p, p === l, n.slidePrevClass);
|
|
4571
4571
|
}), e.emitSlidesClasses();
|
|
4572
4572
|
}
|
|
4573
|
-
const
|
|
4573
|
+
const Qn = (e, t) => {
|
|
4574
4574
|
if (!e || e.destroyed || !e.params) return;
|
|
4575
4575
|
const n = () => e.isElement ? "swiper-slide" : `.${e.params.slideClass}`, r = t.closest(n());
|
|
4576
4576
|
if (r) {
|
|
@@ -5050,7 +5050,7 @@ function Kc(e, t) {
|
|
|
5050
5050
|
r.loopAddBlankSlides && (r.slidesPerGroup > 1 || u) && s();
|
|
5051
5051
|
const o = r.slidesPerGroup * (u ? r.grid.rows : 1), l = n.slides.length % o !== 0, m = u && n.slides.length % r.grid.rows !== 0, p = (h) => {
|
|
5052
5052
|
for (let c = 0; c < h; c += 1) {
|
|
5053
|
-
const f = n.isElement ?
|
|
5053
|
+
const f = n.isElement ? or("swiper-slide", [r.slideBlankClass]) : or("div", [r.slideClass, r.slideBlankClass]);
|
|
5054
5054
|
n.slidesEl.append(f);
|
|
5055
5055
|
}
|
|
5056
5056
|
};
|
|
@@ -5059,14 +5059,14 @@ function Kc(e, t) {
|
|
|
5059
5059
|
const h = o - n.slides.length % o;
|
|
5060
5060
|
p(h), n.recalcSlides(), n.updateSlides();
|
|
5061
5061
|
} else
|
|
5062
|
-
|
|
5062
|
+
sr("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
5063
5063
|
i();
|
|
5064
5064
|
} else if (m) {
|
|
5065
5065
|
if (r.loopAddBlankSlides) {
|
|
5066
5066
|
const h = r.grid.rows - n.slides.length % r.grid.rows;
|
|
5067
5067
|
p(h), n.recalcSlides(), n.updateSlides();
|
|
5068
5068
|
} else
|
|
5069
|
-
|
|
5069
|
+
sr("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
5070
5070
|
i();
|
|
5071
5071
|
} else
|
|
5072
5072
|
i();
|
|
@@ -5112,7 +5112,7 @@ function Qc({
|
|
|
5112
5112
|
let A = y ? Math.max(C, Math.ceil(T / 2)) : C;
|
|
5113
5113
|
A % C !== 0 && (A += C - A % C), A += h.loopAdditionalSlides, o.loopedSlides = A;
|
|
5114
5114
|
const S = o.grid && h.grid && h.grid.rows > 1;
|
|
5115
|
-
l.length < T + A || o.params.effect === "cards" && l.length < T + A * 2 ?
|
|
5115
|
+
l.length < T + A || o.params.effect === "cards" && l.length < T + A * 2 ? sr("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : S && h.grid.fill === "row" && sr("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
5116
5116
|
const v = [], _ = [], w = S ? Math.ceil(l.length / h.grid.rows) : l.length, O = i && w - g < T && !y;
|
|
5117
5117
|
let I = O ? g : o.activeIndex;
|
|
5118
5118
|
typeof a > "u" ? a = o.getSlideIndex(l.find(($) => $.classList.contains(h.slideActiveClass))) : I = a;
|
|
@@ -5227,7 +5227,7 @@ var nd = {
|
|
|
5227
5227
|
};
|
|
5228
5228
|
function rd(e, t = this) {
|
|
5229
5229
|
function n(r) {
|
|
5230
|
-
if (!r || r === Dt() || r ===
|
|
5230
|
+
if (!r || r === Dt() || r === He()) return null;
|
|
5231
5231
|
r.assignedSlot && (r = r.assignedSlot);
|
|
5232
5232
|
const a = r.closest(e);
|
|
5233
5233
|
return !a && !r.getRootNode ? null : a || n(r.getRootNode().host);
|
|
@@ -5235,7 +5235,7 @@ function rd(e, t = this) {
|
|
|
5235
5235
|
return n(t);
|
|
5236
5236
|
}
|
|
5237
5237
|
function xi(e, t, n) {
|
|
5238
|
-
const r =
|
|
5238
|
+
const r = He(), {
|
|
5239
5239
|
params: a
|
|
5240
5240
|
} = e, i = a.edgeSwipeDetection, s = a.edgeSwipeThreshold;
|
|
5241
5241
|
return i && (n <= s || n >= r.innerWidth - s) ? i === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
|
|
@@ -5283,7 +5283,7 @@ function ad(e) {
|
|
|
5283
5283
|
allowTouchCallbacks: !0,
|
|
5284
5284
|
isScrolling: void 0,
|
|
5285
5285
|
startMoving: void 0
|
|
5286
|
-
}), s.startX = h, s.startY = c, a.touchStartTime =
|
|
5286
|
+
}), s.startX = h, s.startY = c, a.touchStartTime = ir(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, i.threshold > 0 && (a.allowThresholdMove = !1);
|
|
5287
5287
|
let f = !0;
|
|
5288
5288
|
o.matches(a.focusableElements) && (f = !1, o.nodeName === "SELECT" && (a.isTouched = !1)), n.activeElement && n.activeElement.matches(a.focusableElements) && n.activeElement !== o && (r.pointerType === "mouse" || r.pointerType !== "mouse" && !o.matches(a.focusableElements)) && n.activeElement.blur();
|
|
5289
5289
|
const b = f && t.allowTouchMove && i.touchStartPreventDefault;
|
|
@@ -5320,7 +5320,7 @@ function id(e) {
|
|
|
5320
5320
|
startY: p,
|
|
5321
5321
|
currentX: m,
|
|
5322
5322
|
currentY: p
|
|
5323
|
-
}), r.touchStartTime =
|
|
5323
|
+
}), r.touchStartTime = ir());
|
|
5324
5324
|
return;
|
|
5325
5325
|
}
|
|
5326
5326
|
if (a.touchReleaseOnEdges && !a.loop)
|
|
@@ -5432,12 +5432,12 @@ function sd(e) {
|
|
|
5432
5432
|
return;
|
|
5433
5433
|
}
|
|
5434
5434
|
s.grabCursor && n.isMoved && n.isTouched && (t.allowSlideNext === !0 || t.allowSlidePrev === !0) && t.setGrabCursor(!1);
|
|
5435
|
-
const p =
|
|
5435
|
+
const p = ir(), E = p - n.touchStartTime;
|
|
5436
5436
|
if (t.allowClick) {
|
|
5437
5437
|
const A = r.path || r.composedPath && r.composedPath();
|
|
5438
5438
|
t.updateClickedSlide(A && A[0] || r.target, A), t.emit("tap click", r), E < 300 && p - n.lastClickTime < 300 && t.emit("doubleTap doubleClick", r);
|
|
5439
5439
|
}
|
|
5440
|
-
if (n.lastClickTime =
|
|
5440
|
+
if (n.lastClickTime = ir(), Qs(() => {
|
|
5441
5441
|
t.destroyed || (t.allowClick = !0);
|
|
5442
5442
|
}), !n.isTouched || !n.isMoved || !t.swipeDirection || u.diff === 0 && !n.loopSwapReset || n.currentTranslate === n.startTranslate && !n.loopSwapReset) {
|
|
5443
5443
|
n.isTouched = !1, n.isMoved = !1, n.startMoving = !1;
|
|
@@ -5512,7 +5512,7 @@ function ud() {
|
|
|
5512
5512
|
}
|
|
5513
5513
|
function ld(e) {
|
|
5514
5514
|
const t = this;
|
|
5515
|
-
|
|
5515
|
+
Qn(t, e.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update();
|
|
5516
5516
|
}
|
|
5517
5517
|
function cd() {
|
|
5518
5518
|
const e = this;
|
|
@@ -5598,7 +5598,7 @@ function hd() {
|
|
|
5598
5598
|
function md(e, t = "window", n) {
|
|
5599
5599
|
if (!e || t === "container" && !n) return;
|
|
5600
5600
|
let r = !1;
|
|
5601
|
-
const a =
|
|
5601
|
+
const a = He(), i = t === "window" ? a.innerHeight : n.clientHeight, s = Object.keys(e).map((u) => {
|
|
5602
5602
|
if (typeof u == "string" && u.indexOf("@") === 0) {
|
|
5603
5603
|
const o = parseFloat(u.substr(1));
|
|
5604
5604
|
return {
|
|
@@ -5965,8 +5965,8 @@ let Ha = class pt {
|
|
|
5965
5965
|
const {
|
|
5966
5966
|
slidesEl: n,
|
|
5967
5967
|
params: r
|
|
5968
|
-
} = this, a = st(n, `.${r.slideClass}, swiper-slide`), i =
|
|
5969
|
-
return
|
|
5968
|
+
} = this, a = st(n, `.${r.slideClass}, swiper-slide`), i = ur(a[0]);
|
|
5969
|
+
return ur(t) - i;
|
|
5970
5970
|
}
|
|
5971
5971
|
getSlideIndexByData(t) {
|
|
5972
5972
|
return this.getSlideIndex(this.slides.find((n) => n.getAttribute("data-swiper-slide-index") * 1 === t));
|
|
@@ -6050,7 +6050,7 @@ let Ha = class pt {
|
|
|
6050
6050
|
params: r
|
|
6051
6051
|
} = t;
|
|
6052
6052
|
r.breakpoints && t.setBreakpoint(), [...t.el.querySelectorAll('[loading="lazy"]')].forEach((s) => {
|
|
6053
|
-
s.complete &&
|
|
6053
|
+
s.complete && Qn(t, s);
|
|
6054
6054
|
}), t.updateSize(), t.updateSlides(), t.updateProgress(), t.updateSlidesClasses();
|
|
6055
6055
|
function a() {
|
|
6056
6056
|
const s = t.rtlTranslate ? t.translate * -1 : t.translate, u = Math.min(Math.max(s, t.maxTranslate()), t.minTranslate());
|
|
@@ -6088,7 +6088,7 @@ let Ha = class pt {
|
|
|
6088
6088
|
r.swiper = n, r.parentNode && r.parentNode.host && r.parentNode.host.nodeName === n.params.swiperElementNodeName.toUpperCase() && (n.isElement = !0);
|
|
6089
6089
|
const a = () => `.${(n.params.wrapperClass || "").trim().split(" ").join(".")}`;
|
|
6090
6090
|
let s = r && r.shadowRoot && r.shadowRoot.querySelector ? r.shadowRoot.querySelector(a()) : st(r, a())[0];
|
|
6091
|
-
return !s && n.params.createElements && (s =
|
|
6091
|
+
return !s && n.params.createElements && (s = or("div", n.params.wrapperClass), r.append(s), st(r, `.${n.params.slideClass}`).forEach((u) => {
|
|
6092
6092
|
s.append(u);
|
|
6093
6093
|
})), Object.assign(n, {
|
|
6094
6094
|
el: r,
|
|
@@ -6108,8 +6108,8 @@ let Ha = class pt {
|
|
|
6108
6108
|
n.emit("beforeInit"), n.params.breakpoints && n.setBreakpoint(), n.addClasses(), n.updateSize(), n.updateSlides(), n.params.watchOverflow && n.checkOverflow(), n.params.grabCursor && n.enabled && n.setGrabCursor(), n.params.loop && n.virtual && n.params.virtual.enabled ? n.slideTo(n.params.initialSlide + n.virtual.slidesBefore, 0, n.params.runCallbacksOnInit, !1, !0) : n.slideTo(n.params.initialSlide, 0, n.params.runCallbacksOnInit, !1, !0), n.params.loop && n.loopCreate(void 0, !0), n.attachEvents();
|
|
6109
6109
|
const a = [...n.el.querySelectorAll('[loading="lazy"]')];
|
|
6110
6110
|
return n.isElement && a.push(...n.hostEl.querySelectorAll('[loading="lazy"]')), a.forEach((i) => {
|
|
6111
|
-
i.complete ?
|
|
6112
|
-
|
|
6111
|
+
i.complete ? Qn(n, i) : i.addEventListener("load", (s) => {
|
|
6112
|
+
Qn(n, s.target);
|
|
6113
6113
|
});
|
|
6114
6114
|
}), ba(n), n.initialized = !0, ba(n), n.emit("init"), n.emit("afterInit"), n;
|
|
6115
6115
|
}
|
|
@@ -6381,22 +6381,22 @@ function vd(e, t, n, r, a) {
|
|
|
6381
6381
|
const wd = (e) => {
|
|
6382
6382
|
!e || e.destroyed || !e.params.virtual || e.params.virtual && !e.params.virtual.enabled || (e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.emit("_virtualUpdated"), e.parallax && e.params.parallax && e.params.parallax.enabled && e.parallax.setTranslate());
|
|
6383
6383
|
};
|
|
6384
|
-
function
|
|
6385
|
-
return
|
|
6384
|
+
function lr() {
|
|
6385
|
+
return lr = Object.assign ? Object.assign.bind() : function(e) {
|
|
6386
6386
|
for (var t = 1; t < arguments.length; t++) {
|
|
6387
6387
|
var n = arguments[t];
|
|
6388
6388
|
for (var r in n)
|
|
6389
6389
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
6390
6390
|
}
|
|
6391
6391
|
return e;
|
|
6392
|
-
},
|
|
6392
|
+
}, lr.apply(this, arguments);
|
|
6393
6393
|
}
|
|
6394
6394
|
function co(e) {
|
|
6395
6395
|
return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
|
|
6396
6396
|
}
|
|
6397
6397
|
function fo(e) {
|
|
6398
6398
|
const t = [];
|
|
6399
|
-
return
|
|
6399
|
+
return _e.Children.toArray(e).forEach((n) => {
|
|
6400
6400
|
co(n) ? t.push(n) : n.props && n.props.children && fo(n.props.children).forEach((r) => t.push(r));
|
|
6401
6401
|
}), t;
|
|
6402
6402
|
}
|
|
@@ -6407,7 +6407,7 @@ function Id(e) {
|
|
|
6407
6407
|
"wrapper-start": [],
|
|
6408
6408
|
"wrapper-end": []
|
|
6409
6409
|
};
|
|
6410
|
-
return
|
|
6410
|
+
return _e.Children.toArray(e).forEach((r) => {
|
|
6411
6411
|
if (co(r))
|
|
6412
6412
|
t.push(r);
|
|
6413
6413
|
else if (r.props && r.props.slot && n[r.props.slot])
|
|
@@ -6437,14 +6437,14 @@ function Ld(e, t, n) {
|
|
|
6437
6437
|
} = n, u = e.params.loop ? -t.length : 0, o = e.params.loop ? t.length * 2 : t.length, l = [];
|
|
6438
6438
|
for (let m = u; m < o; m += 1)
|
|
6439
6439
|
m >= i && m <= s && l.push(t[r(m)]);
|
|
6440
|
-
return l.map((m, p) => /* @__PURE__ */
|
|
6440
|
+
return l.map((m, p) => /* @__PURE__ */ _e.cloneElement(m, {
|
|
6441
6441
|
swiper: e,
|
|
6442
6442
|
style: a,
|
|
6443
6443
|
key: m.props.virtualIndex || m.key || `slide-${p}`
|
|
6444
6444
|
}));
|
|
6445
6445
|
}
|
|
6446
6446
|
function pn(e, t) {
|
|
6447
|
-
return typeof window > "u" ? ne(e, t) :
|
|
6447
|
+
return typeof window > "u" ? ne(e, t) : et(e, t);
|
|
6448
6448
|
}
|
|
6449
6449
|
const Si = /* @__PURE__ */ Ys(null), Od = /* @__PURE__ */ Ys(null), po = /* @__PURE__ */ Gs(({
|
|
6450
6450
|
className: e,
|
|
@@ -6532,28 +6532,28 @@ const Si = /* @__PURE__ */ Ys(null), Od = /* @__PURE__ */ Ys(null), po = /* @__P
|
|
|
6532
6532
|
wd(b.current);
|
|
6533
6533
|
}, [m]);
|
|
6534
6534
|
function H() {
|
|
6535
|
-
return v.virtual ? Ld(b.current, I, m) : I.map(($, q) => /* @__PURE__ */
|
|
6535
|
+
return v.virtual ? Ld(b.current, I, m) : I.map(($, q) => /* @__PURE__ */ _e.cloneElement($, {
|
|
6536
6536
|
swiper: b.current,
|
|
6537
6537
|
swiperSlideIndex: q
|
|
6538
6538
|
}));
|
|
6539
6539
|
}
|
|
6540
|
-
return /* @__PURE__ */
|
|
6540
|
+
return /* @__PURE__ */ _e.createElement(t, lr({
|
|
6541
6541
|
ref: f,
|
|
6542
6542
|
className: lo(`${o}${e ? ` ${e}` : ""}`)
|
|
6543
|
-
}, w), /* @__PURE__ */
|
|
6543
|
+
}, w), /* @__PURE__ */ _e.createElement(Od.Provider, {
|
|
6544
6544
|
value: b.current
|
|
6545
|
-
}, D["container-start"], /* @__PURE__ */
|
|
6545
|
+
}, D["container-start"], /* @__PURE__ */ _e.createElement(n, {
|
|
6546
6546
|
className: Sd(v.wrapperClass)
|
|
6547
|
-
}, D["wrapper-start"], H(), D["wrapper-end"]), so(v) && /* @__PURE__ */
|
|
6547
|
+
}, D["wrapper-start"], H(), D["wrapper-end"]), so(v) && /* @__PURE__ */ _e.createElement(_e.Fragment, null, /* @__PURE__ */ _e.createElement("div", {
|
|
6548
6548
|
ref: C,
|
|
6549
6549
|
className: "swiper-button-prev"
|
|
6550
|
-
}), /* @__PURE__ */
|
|
6550
|
+
}), /* @__PURE__ */ _e.createElement("div", {
|
|
6551
6551
|
ref: T,
|
|
6552
6552
|
className: "swiper-button-next"
|
|
6553
|
-
})), uo(v) && /* @__PURE__ */
|
|
6553
|
+
})), uo(v) && /* @__PURE__ */ _e.createElement("div", {
|
|
6554
6554
|
ref: S,
|
|
6555
6555
|
className: "swiper-scrollbar"
|
|
6556
|
-
}), oo(v) && /* @__PURE__ */
|
|
6556
|
+
}), oo(v) && /* @__PURE__ */ _e.createElement("div", {
|
|
6557
6557
|
ref: A,
|
|
6558
6558
|
className: "swiper-pagination"
|
|
6559
6559
|
}), D["container-end"]));
|
|
@@ -6595,24 +6595,24 @@ const ho = /* @__PURE__ */ Gs(({
|
|
|
6595
6595
|
}, g = () => typeof t == "function" ? t(b) : t, y = () => {
|
|
6596
6596
|
c(!0);
|
|
6597
6597
|
};
|
|
6598
|
-
return /* @__PURE__ */
|
|
6598
|
+
return /* @__PURE__ */ _e.createElement(e, lr({
|
|
6599
6599
|
ref: m,
|
|
6600
6600
|
className: lo(`${p}${n ? ` ${n}` : ""}`),
|
|
6601
6601
|
"data-swiper-slide-index": s,
|
|
6602
6602
|
onLoad: y
|
|
6603
|
-
}, o), a && /* @__PURE__ */
|
|
6603
|
+
}, o), a && /* @__PURE__ */ _e.createElement(Si.Provider, {
|
|
6604
6604
|
value: b
|
|
6605
|
-
}, /* @__PURE__ */
|
|
6605
|
+
}, /* @__PURE__ */ _e.createElement("div", {
|
|
6606
6606
|
className: "swiper-zoom-container",
|
|
6607
6607
|
"data-swiper-zoom": typeof a == "number" ? a : void 0
|
|
6608
|
-
}, g(), i && !h && /* @__PURE__ */
|
|
6608
|
+
}, g(), i && !h && /* @__PURE__ */ _e.createElement("div", {
|
|
6609
6609
|
className: "swiper-lazy-preloader",
|
|
6610
6610
|
ref: (T) => {
|
|
6611
6611
|
T && (T.lazyPreloaderManaged = !0);
|
|
6612
6612
|
}
|
|
6613
|
-
}))), !a && /* @__PURE__ */
|
|
6613
|
+
}))), !a && /* @__PURE__ */ _e.createElement(Si.Provider, {
|
|
6614
6614
|
value: b
|
|
6615
|
-
}, g(), i && !h && /* @__PURE__ */
|
|
6615
|
+
}, g(), i && !h && /* @__PURE__ */ _e.createElement("div", {
|
|
6616
6616
|
className: "swiper-lazy-preloader",
|
|
6617
6617
|
ref: (T) => {
|
|
6618
6618
|
T && (T.lazyPreloaderManaged = !0);
|
|
@@ -6624,7 +6624,7 @@ function mo(e, t, n, r) {
|
|
|
6624
6624
|
return e.params.createElements && Object.keys(r).forEach((a) => {
|
|
6625
6625
|
if (!n[a] && n.auto === !0) {
|
|
6626
6626
|
let i = st(e.el, `.${r[a]}`)[0];
|
|
6627
|
-
i || (i =
|
|
6627
|
+
i || (i = or("div", r[a]), i.className = r[a], e.el.append(i)), n[a] = i, t[a] = i;
|
|
6628
6628
|
}
|
|
6629
6629
|
}), n;
|
|
6630
6630
|
}
|
|
@@ -6825,7 +6825,7 @@ function Pd({
|
|
|
6825
6825
|
if (!y)
|
|
6826
6826
|
return;
|
|
6827
6827
|
g.preventDefault();
|
|
6828
|
-
const T =
|
|
6828
|
+
const T = ur(y) * e.params.slidesPerGroup;
|
|
6829
6829
|
if (e.params.loop) {
|
|
6830
6830
|
if (e.realIndex === T) return;
|
|
6831
6831
|
const C = l(e.realIndex, T, e.slides.length);
|
|
@@ -6850,7 +6850,7 @@ function Pd({
|
|
|
6850
6850
|
D.classList.remove(...F);
|
|
6851
6851
|
}), T.length > 1)
|
|
6852
6852
|
_.forEach((D) => {
|
|
6853
|
-
const F =
|
|
6853
|
+
const F = ur(D);
|
|
6854
6854
|
F === C ? D.classList.add(...y.bulletActiveClass.split(" ")) : e.isElement && D.setAttribute("part", "bullet"), y.dynamicBullets && (F >= w && F <= O && D.classList.add(...`${y.bulletActiveClass}-main`.split(" ")), F === w && o(D, "prev"), F === O && o(D, "next"));
|
|
6855
6855
|
});
|
|
6856
6856
|
else {
|
|
@@ -7062,19 +7062,19 @@ ze.prototype.property = "";
|
|
|
7062
7062
|
ze.prototype.spaceSeparated = !1;
|
|
7063
7063
|
ze.prototype.space = void 0;
|
|
7064
7064
|
let $d = 0;
|
|
7065
|
-
const ue = Pt(),
|
|
7065
|
+
const ue = Pt(), Ie = Pt(), Ta = Pt(), X = Pt(), xe = Pt(), Gt = Pt(), Ge = Pt();
|
|
7066
7066
|
function Pt() {
|
|
7067
7067
|
return 2 ** ++$d;
|
|
7068
7068
|
}
|
|
7069
7069
|
const xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7070
7070
|
__proto__: null,
|
|
7071
7071
|
boolean: ue,
|
|
7072
|
-
booleanish:
|
|
7072
|
+
booleanish: Ie,
|
|
7073
7073
|
commaOrSpaceSeparated: Ge,
|
|
7074
7074
|
commaSeparated: Gt,
|
|
7075
7075
|
number: X,
|
|
7076
7076
|
overloadedBoolean: Ta,
|
|
7077
|
-
spaceSeparated:
|
|
7077
|
+
spaceSeparated: xe
|
|
7078
7078
|
}, Symbol.toStringTag, { value: "Module" })), Ur = (
|
|
7079
7079
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
7080
7080
|
Object.keys(xa)
|
|
@@ -7122,47 +7122,47 @@ function jt(e) {
|
|
|
7122
7122
|
const bo = jt({
|
|
7123
7123
|
properties: {
|
|
7124
7124
|
ariaActiveDescendant: null,
|
|
7125
|
-
ariaAtomic:
|
|
7125
|
+
ariaAtomic: Ie,
|
|
7126
7126
|
ariaAutoComplete: null,
|
|
7127
|
-
ariaBusy:
|
|
7128
|
-
ariaChecked:
|
|
7127
|
+
ariaBusy: Ie,
|
|
7128
|
+
ariaChecked: Ie,
|
|
7129
7129
|
ariaColCount: X,
|
|
7130
7130
|
ariaColIndex: X,
|
|
7131
7131
|
ariaColSpan: X,
|
|
7132
|
-
ariaControls:
|
|
7132
|
+
ariaControls: xe,
|
|
7133
7133
|
ariaCurrent: null,
|
|
7134
|
-
ariaDescribedBy:
|
|
7134
|
+
ariaDescribedBy: xe,
|
|
7135
7135
|
ariaDetails: null,
|
|
7136
|
-
ariaDisabled:
|
|
7137
|
-
ariaDropEffect:
|
|
7136
|
+
ariaDisabled: Ie,
|
|
7137
|
+
ariaDropEffect: xe,
|
|
7138
7138
|
ariaErrorMessage: null,
|
|
7139
|
-
ariaExpanded:
|
|
7140
|
-
ariaFlowTo:
|
|
7141
|
-
ariaGrabbed:
|
|
7139
|
+
ariaExpanded: Ie,
|
|
7140
|
+
ariaFlowTo: xe,
|
|
7141
|
+
ariaGrabbed: Ie,
|
|
7142
7142
|
ariaHasPopup: null,
|
|
7143
|
-
ariaHidden:
|
|
7143
|
+
ariaHidden: Ie,
|
|
7144
7144
|
ariaInvalid: null,
|
|
7145
7145
|
ariaKeyShortcuts: null,
|
|
7146
7146
|
ariaLabel: null,
|
|
7147
|
-
ariaLabelledBy:
|
|
7147
|
+
ariaLabelledBy: xe,
|
|
7148
7148
|
ariaLevel: X,
|
|
7149
7149
|
ariaLive: null,
|
|
7150
|
-
ariaModal:
|
|
7151
|
-
ariaMultiLine:
|
|
7152
|
-
ariaMultiSelectable:
|
|
7150
|
+
ariaModal: Ie,
|
|
7151
|
+
ariaMultiLine: Ie,
|
|
7152
|
+
ariaMultiSelectable: Ie,
|
|
7153
7153
|
ariaOrientation: null,
|
|
7154
|
-
ariaOwns:
|
|
7154
|
+
ariaOwns: xe,
|
|
7155
7155
|
ariaPlaceholder: null,
|
|
7156
7156
|
ariaPosInSet: X,
|
|
7157
|
-
ariaPressed:
|
|
7158
|
-
ariaReadOnly:
|
|
7157
|
+
ariaPressed: Ie,
|
|
7158
|
+
ariaReadOnly: Ie,
|
|
7159
7159
|
ariaRelevant: null,
|
|
7160
|
-
ariaRequired:
|
|
7161
|
-
ariaRoleDescription:
|
|
7160
|
+
ariaRequired: Ie,
|
|
7161
|
+
ariaRoleDescription: xe,
|
|
7162
7162
|
ariaRowCount: X,
|
|
7163
7163
|
ariaRowIndex: X,
|
|
7164
7164
|
ariaRowSpan: X,
|
|
7165
|
-
ariaSelected:
|
|
7165
|
+
ariaSelected: Ie,
|
|
7166
7166
|
ariaSetSize: X,
|
|
7167
7167
|
ariaSort: null,
|
|
7168
7168
|
ariaValueMax: X,
|
|
@@ -7193,8 +7193,8 @@ const Ud = jt({
|
|
|
7193
7193
|
// Standard Properties.
|
|
7194
7194
|
abbr: null,
|
|
7195
7195
|
accept: Gt,
|
|
7196
|
-
acceptCharset:
|
|
7197
|
-
accessKey:
|
|
7196
|
+
acceptCharset: xe,
|
|
7197
|
+
accessKey: xe,
|
|
7198
7198
|
action: null,
|
|
7199
7199
|
allow: null,
|
|
7200
7200
|
allowFullScreen: ue,
|
|
@@ -7204,21 +7204,21 @@ const Ud = jt({
|
|
|
7204
7204
|
as: null,
|
|
7205
7205
|
async: ue,
|
|
7206
7206
|
autoCapitalize: null,
|
|
7207
|
-
autoComplete:
|
|
7207
|
+
autoComplete: xe,
|
|
7208
7208
|
autoFocus: ue,
|
|
7209
7209
|
autoPlay: ue,
|
|
7210
|
-
blocking:
|
|
7210
|
+
blocking: xe,
|
|
7211
7211
|
capture: null,
|
|
7212
7212
|
charSet: null,
|
|
7213
7213
|
checked: ue,
|
|
7214
7214
|
cite: null,
|
|
7215
|
-
className:
|
|
7215
|
+
className: xe,
|
|
7216
7216
|
cols: X,
|
|
7217
7217
|
colSpan: null,
|
|
7218
7218
|
content: null,
|
|
7219
|
-
contentEditable:
|
|
7219
|
+
contentEditable: Ie,
|
|
7220
7220
|
controls: ue,
|
|
7221
|
-
controlsList:
|
|
7221
|
+
controlsList: xe,
|
|
7222
7222
|
coords: X | Gt,
|
|
7223
7223
|
crossOrigin: null,
|
|
7224
7224
|
data: null,
|
|
@@ -7230,7 +7230,7 @@ const Ud = jt({
|
|
|
7230
7230
|
dirName: null,
|
|
7231
7231
|
disabled: ue,
|
|
7232
7232
|
download: Ta,
|
|
7233
|
-
draggable:
|
|
7233
|
+
draggable: Ie,
|
|
7234
7234
|
encType: null,
|
|
7235
7235
|
enterKeyHint: null,
|
|
7236
7236
|
fetchPriority: null,
|
|
@@ -7240,14 +7240,14 @@ const Ud = jt({
|
|
|
7240
7240
|
formMethod: null,
|
|
7241
7241
|
formNoValidate: ue,
|
|
7242
7242
|
formTarget: null,
|
|
7243
|
-
headers:
|
|
7243
|
+
headers: xe,
|
|
7244
7244
|
height: X,
|
|
7245
7245
|
hidden: Ta,
|
|
7246
7246
|
high: X,
|
|
7247
7247
|
href: null,
|
|
7248
7248
|
hrefLang: null,
|
|
7249
|
-
htmlFor:
|
|
7250
|
-
httpEquiv:
|
|
7249
|
+
htmlFor: xe,
|
|
7250
|
+
httpEquiv: xe,
|
|
7251
7251
|
id: null,
|
|
7252
7252
|
imageSizes: null,
|
|
7253
7253
|
imageSrcSet: null,
|
|
@@ -7257,10 +7257,10 @@ const Ud = jt({
|
|
|
7257
7257
|
is: null,
|
|
7258
7258
|
isMap: ue,
|
|
7259
7259
|
itemId: null,
|
|
7260
|
-
itemProp:
|
|
7261
|
-
itemRef:
|
|
7260
|
+
itemProp: xe,
|
|
7261
|
+
itemRef: xe,
|
|
7262
7262
|
itemScope: ue,
|
|
7263
|
-
itemType:
|
|
7263
|
+
itemType: xe,
|
|
7264
7264
|
kind: null,
|
|
7265
7265
|
label: null,
|
|
7266
7266
|
lang: null,
|
|
@@ -7373,7 +7373,7 @@ const Ud = jt({
|
|
|
7373
7373
|
open: ue,
|
|
7374
7374
|
optimum: X,
|
|
7375
7375
|
pattern: null,
|
|
7376
|
-
ping:
|
|
7376
|
+
ping: xe,
|
|
7377
7377
|
placeholder: null,
|
|
7378
7378
|
playsInline: ue,
|
|
7379
7379
|
popover: null,
|
|
@@ -7383,12 +7383,12 @@ const Ud = jt({
|
|
|
7383
7383
|
preload: null,
|
|
7384
7384
|
readOnly: ue,
|
|
7385
7385
|
referrerPolicy: null,
|
|
7386
|
-
rel:
|
|
7386
|
+
rel: xe,
|
|
7387
7387
|
required: ue,
|
|
7388
7388
|
reversed: ue,
|
|
7389
7389
|
rows: X,
|
|
7390
7390
|
rowSpan: X,
|
|
7391
|
-
sandbox:
|
|
7391
|
+
sandbox: xe,
|
|
7392
7392
|
scope: null,
|
|
7393
7393
|
scoped: ue,
|
|
7394
7394
|
seamless: ue,
|
|
@@ -7401,7 +7401,7 @@ const Ud = jt({
|
|
|
7401
7401
|
sizes: null,
|
|
7402
7402
|
slot: null,
|
|
7403
7403
|
span: X,
|
|
7404
|
-
spellCheck:
|
|
7404
|
+
spellCheck: Ie,
|
|
7405
7405
|
src: null,
|
|
7406
7406
|
srcDoc: null,
|
|
7407
7407
|
srcLang: null,
|
|
@@ -7416,7 +7416,7 @@ const Ud = jt({
|
|
|
7416
7416
|
type: null,
|
|
7417
7417
|
typeMustMatch: ue,
|
|
7418
7418
|
useMap: null,
|
|
7419
|
-
value:
|
|
7419
|
+
value: Ie,
|
|
7420
7420
|
width: X,
|
|
7421
7421
|
wrap: null,
|
|
7422
7422
|
writingSuggestions: null,
|
|
@@ -7426,7 +7426,7 @@ const Ud = jt({
|
|
|
7426
7426
|
// Several. Use CSS `text-align` instead,
|
|
7427
7427
|
aLink: null,
|
|
7428
7428
|
// `<body>`. Use CSS `a:active {color}` instead
|
|
7429
|
-
archive:
|
|
7429
|
+
archive: xe,
|
|
7430
7430
|
// `<object>`. List of URIs to archives
|
|
7431
7431
|
axis: null,
|
|
7432
7432
|
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
@@ -7508,7 +7508,7 @@ const Ud = jt({
|
|
|
7508
7508
|
// `<table>`
|
|
7509
7509
|
scheme: null,
|
|
7510
7510
|
// `<meta>`
|
|
7511
|
-
scrolling:
|
|
7511
|
+
scrolling: Ie,
|
|
7512
7512
|
// `<frame>`. Use overflow in the child context
|
|
7513
7513
|
standby: null,
|
|
7514
7514
|
// `<object>`
|
|
@@ -7741,7 +7741,7 @@ const Ud = jt({
|
|
|
7741
7741
|
by: null,
|
|
7742
7742
|
calcMode: null,
|
|
7743
7743
|
capHeight: X,
|
|
7744
|
-
className:
|
|
7744
|
+
className: xe,
|
|
7745
7745
|
clip: null,
|
|
7746
7746
|
clipPath: null,
|
|
7747
7747
|
clipPathUnits: null,
|
|
@@ -7976,7 +7976,7 @@ const Ud = jt({
|
|
|
7976
7976
|
patternTransform: null,
|
|
7977
7977
|
patternUnits: null,
|
|
7978
7978
|
phase: null,
|
|
7979
|
-
ping:
|
|
7979
|
+
ping: xe,
|
|
7980
7980
|
pitch: null,
|
|
7981
7981
|
playbackOrder: null,
|
|
7982
7982
|
pointerEvents: null,
|
|
@@ -8145,7 +8145,7 @@ const Ud = jt({
|
|
|
8145
8145
|
xLinkType: "xlinkType",
|
|
8146
8146
|
xmlnsXLink: "xmlnsXlink"
|
|
8147
8147
|
}, Vd = /[A-Z]/g, Ii = /-[a-z]/g, Gd = /^data[-\w.:]+$/i;
|
|
8148
|
-
function
|
|
8148
|
+
function Er(e, t) {
|
|
8149
8149
|
const n = Sn(t);
|
|
8150
8150
|
let r = t, a = ze;
|
|
8151
8151
|
if (n in e.normal)
|
|
@@ -8326,7 +8326,7 @@ function Qd() {
|
|
|
8326
8326
|
return r.default = r, sn = r, sn;
|
|
8327
8327
|
}
|
|
8328
8328
|
var Jd = Qd();
|
|
8329
|
-
const Zd = /* @__PURE__ */ Ua(Jd),
|
|
8329
|
+
const Zd = /* @__PURE__ */ Ua(Jd), br = _o("end"), lt = _o("start");
|
|
8330
8330
|
function _o(e) {
|
|
8331
8331
|
return t;
|
|
8332
8332
|
function t(n) {
|
|
@@ -8340,7 +8340,7 @@ function _o(e) {
|
|
|
8340
8340
|
}
|
|
8341
8341
|
}
|
|
8342
8342
|
function ko(e) {
|
|
8343
|
-
const t = lt(e), n =
|
|
8343
|
+
const t = lt(e), n = br(e);
|
|
8344
8344
|
if (t && n)
|
|
8345
8345
|
return { start: t, end: n };
|
|
8346
8346
|
}
|
|
@@ -8644,7 +8644,7 @@ function Va(e, t) {
|
|
|
8644
8644
|
return n;
|
|
8645
8645
|
}
|
|
8646
8646
|
function gf(e, t, n) {
|
|
8647
|
-
const r =
|
|
8647
|
+
const r = Er(e.schema, t);
|
|
8648
8648
|
if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
|
|
8649
8649
|
if (Array.isArray(n) && (n = r.commaSeparated ? go(n) : So(n)), r.property === "style") {
|
|
8650
8650
|
let a = typeof n == "object" ? n : Ef(e, String(n));
|
|
@@ -8795,7 +8795,7 @@ function ut(e, t, n, r) {
|
|
|
8795
8795
|
for (n && e.splice(t, n); i < r.length; )
|
|
8796
8796
|
s = r.slice(i, i + 1e4), s.unshift(t, 0), e.splice(...s), i += 1e4, t += 1e4;
|
|
8797
8797
|
}
|
|
8798
|
-
function
|
|
8798
|
+
function Je(e, t) {
|
|
8799
8799
|
return e.length > 0 ? (ut(e, e.length, 0, t), e) : t;
|
|
8800
8800
|
}
|
|
8801
8801
|
const $i = {}.hasOwnProperty;
|
|
@@ -8858,7 +8858,7 @@ const Sa = _t(/\d/), vf = _t(/[\dA-Fa-f]/), wf = _t(/[!-/:-@[-`{-~]/);
|
|
|
8858
8858
|
function Z(e) {
|
|
8859
8859
|
return e !== null && e < -2;
|
|
8860
8860
|
}
|
|
8861
|
-
function
|
|
8861
|
+
function ve(e) {
|
|
8862
8862
|
return e !== null && (e < 0 || e === 32);
|
|
8863
8863
|
}
|
|
8864
8864
|
function me(e) {
|
|
@@ -9054,7 +9054,7 @@ function Pf(e, t, n) {
|
|
|
9054
9054
|
return ge(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
9055
9055
|
}
|
|
9056
9056
|
function qi(e) {
|
|
9057
|
-
if (e === null ||
|
|
9057
|
+
if (e === null || ve(e) || vn(e))
|
|
9058
9058
|
return 1;
|
|
9059
9059
|
if (Nn(e))
|
|
9060
9060
|
return 2;
|
|
@@ -9120,7 +9120,7 @@ function Mf(e, t) {
|
|
|
9120
9120
|
...s.start
|
|
9121
9121
|
}, e[n][1].start = {
|
|
9122
9122
|
...u.end
|
|
9123
|
-
}, l = [], e[r][1].end.offset - e[r][1].start.offset && (l =
|
|
9123
|
+
}, l = [], e[r][1].end.offset - e[r][1].start.offset && (l = Je(l, [["enter", e[r][1], t], ["exit", e[r][1], t]])), l = Je(l, [["enter", a, t], ["enter", s, t], ["exit", s, t], ["enter", i, t]]), l = Je(l, Ga(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), l = Je(l, [["exit", i, t], ["enter", u, t], ["exit", u, t], ["exit", a, t]]), e[n][1].end.offset - e[n][1].start.offset ? (m = 2, l = Je(l, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : m = 0, ut(e, r - 1, n - r + 3, l), n = r + l.length - m - 2;
|
|
9124
9124
|
break;
|
|
9125
9125
|
}
|
|
9126
9126
|
}
|
|
@@ -9184,7 +9184,7 @@ function Ff(e, t, n) {
|
|
|
9184
9184
|
return n(h);
|
|
9185
9185
|
}
|
|
9186
9186
|
}
|
|
9187
|
-
const
|
|
9187
|
+
const yr = {
|
|
9188
9188
|
partial: !0,
|
|
9189
9189
|
tokenize: Hf
|
|
9190
9190
|
};
|
|
@@ -9726,7 +9726,7 @@ function Bo(e, t, n, r, a, i, s, u, o) {
|
|
|
9726
9726
|
return g === 60 || g === 62 || g === 92 ? (e.consume(g), h) : h(g);
|
|
9727
9727
|
}
|
|
9728
9728
|
function f(g) {
|
|
9729
|
-
return !m && (g === null || g === 41 ||
|
|
9729
|
+
return !m && (g === null || g === 41 || ve(g)) ? (e.exit("chunkString"), e.exit(u), e.exit(s), e.exit(r), t(g)) : m < l && g === 40 ? (e.consume(g), m++, f) : g === 41 ? (e.consume(g), m--, f) : g === null || g === 32 || g === 40 || Aa(g) ? n(g) : (e.consume(g), g === 92 ? b : f);
|
|
9730
9730
|
}
|
|
9731
9731
|
function b(g) {
|
|
9732
9732
|
return g === 40 || g === 41 || g === 92 ? (e.consume(g), f) : f(g);
|
|
@@ -9814,7 +9814,7 @@ function lp(e, t, n) {
|
|
|
9814
9814
|
return a = Yt(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), o) : n(h);
|
|
9815
9815
|
}
|
|
9816
9816
|
function o(h) {
|
|
9817
|
-
return
|
|
9817
|
+
return ve(h) ? mt(e, l)(h) : l(h);
|
|
9818
9818
|
}
|
|
9819
9819
|
function l(h) {
|
|
9820
9820
|
return Bo(
|
|
@@ -9842,7 +9842,7 @@ function lp(e, t, n) {
|
|
|
9842
9842
|
function cp(e, t, n) {
|
|
9843
9843
|
return r;
|
|
9844
9844
|
function r(u) {
|
|
9845
|
-
return
|
|
9845
|
+
return ve(u) ? mt(e, a)(u) : n(u);
|
|
9846
9846
|
}
|
|
9847
9847
|
function a(u) {
|
|
9848
9848
|
return Ho(e, i, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(u);
|
|
@@ -9895,7 +9895,7 @@ function mp(e, t, n) {
|
|
|
9895
9895
|
return e.enter("atxHeadingSequence"), s(m);
|
|
9896
9896
|
}
|
|
9897
9897
|
function s(m) {
|
|
9898
|
-
return m === 35 && r++ < 6 ? (e.consume(m), s) : m === null ||
|
|
9898
|
+
return m === 35 && r++ < 6 ? (e.consume(m), s) : m === null || ve(m) ? (e.exit("atxHeadingSequence"), u(m)) : n(m);
|
|
9899
9899
|
}
|
|
9900
9900
|
function u(m) {
|
|
9901
9901
|
return m === 35 ? (e.enter("atxHeadingSequence"), o(m)) : m === null || Z(m) ? (e.exit("atxHeading"), t(m)) : me(m) ? ge(e, u, "whitespace")(m) : (e.enter("atxHeadingText"), l(m));
|
|
@@ -9904,7 +9904,7 @@ function mp(e, t, n) {
|
|
|
9904
9904
|
return m === 35 ? (e.consume(m), o) : (e.exit("atxHeadingSequence"), u(m));
|
|
9905
9905
|
}
|
|
9906
9906
|
function l(m) {
|
|
9907
|
-
return m === null || m === 35 ||
|
|
9907
|
+
return m === null || m === 35 || ve(m) ? (e.exit("atxHeadingText"), u(m)) : (e.consume(m), l);
|
|
9908
9908
|
}
|
|
9909
9909
|
}
|
|
9910
9910
|
const gp = [
|
|
@@ -10015,7 +10015,7 @@ function xp(e, t, n) {
|
|
|
10015
10015
|
return it(R) ? (e.consume(R), s = String.fromCharCode(R), b) : n(R);
|
|
10016
10016
|
}
|
|
10017
10017
|
function b(R) {
|
|
10018
|
-
if (R === null || R === 47 || R === 62 ||
|
|
10018
|
+
if (R === null || R === 47 || R === 62 || ve(R)) {
|
|
10019
10019
|
const re = R === 47, pe = s.toLowerCase();
|
|
10020
10020
|
return !re && !i && Yi.includes(pe) ? (a = 1, r.interrupt ? t(R) : D(R)) : gp.includes(s.toLowerCase()) ? (a = 6, re ? (e.consume(R), g) : r.interrupt ? t(R) : D(R)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(R) : i ? y(R) : T(R));
|
|
10021
10021
|
}
|
|
@@ -10043,7 +10043,7 @@ function xp(e, t, n) {
|
|
|
10043
10043
|
return R === o ? (e.consume(R), o = null, w) : R === null || Z(R) ? n(R) : (e.consume(R), v);
|
|
10044
10044
|
}
|
|
10045
10045
|
function _(R) {
|
|
10046
|
-
return R === null || R === 34 || R === 39 || R === 47 || R === 60 || R === 61 || R === 62 || R === 96 ||
|
|
10046
|
+
return R === null || R === 34 || R === 39 || R === 47 || R === 60 || R === 61 || R === 62 || R === 96 || ve(R) ? A(R) : (e.consume(R), _);
|
|
10047
10047
|
}
|
|
10048
10048
|
function w(R) {
|
|
10049
10049
|
return R === 47 || R === 62 || me(R) ? T(R) : n(R);
|
|
@@ -10105,7 +10105,7 @@ function Cp(e, t, n) {
|
|
|
10105
10105
|
function Ap(e, t, n) {
|
|
10106
10106
|
return r;
|
|
10107
10107
|
function r(a) {
|
|
10108
|
-
return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), e.attempt(
|
|
10108
|
+
return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), e.attempt(yr, t, n);
|
|
10109
10109
|
}
|
|
10110
10110
|
}
|
|
10111
10111
|
const Sp = {
|
|
@@ -10169,7 +10169,7 @@ function _p(e, t, n) {
|
|
|
10169
10169
|
return Z(k) ? (s = v, H(k)) : me(k) ? (e.consume(k), v) : P(k);
|
|
10170
10170
|
}
|
|
10171
10171
|
function _(k) {
|
|
10172
|
-
return k === 45 || We(k) ? (e.consume(k), _) : k === 47 || k === 62 ||
|
|
10172
|
+
return k === 45 || We(k) ? (e.consume(k), _) : k === 47 || k === 62 || ve(k) ? w(k) : n(k);
|
|
10173
10173
|
}
|
|
10174
10174
|
function w(k) {
|
|
10175
10175
|
return k === 47 ? (e.consume(k), P) : k === 58 || k === 95 || it(k) ? (e.consume(k), O) : Z(k) ? (s = w, H(k)) : me(k) ? (e.consume(k), w) : P(k);
|
|
@@ -10187,10 +10187,10 @@ function _p(e, t, n) {
|
|
|
10187
10187
|
return k === a ? (e.consume(k), a = void 0, x) : k === null ? n(k) : Z(k) ? (s = F, H(k)) : (e.consume(k), F);
|
|
10188
10188
|
}
|
|
10189
10189
|
function N(k) {
|
|
10190
|
-
return k === null || k === 34 || k === 39 || k === 60 || k === 61 || k === 96 ? n(k) : k === 47 || k === 62 ||
|
|
10190
|
+
return k === null || k === 34 || k === 39 || k === 60 || k === 61 || k === 96 ? n(k) : k === 47 || k === 62 || ve(k) ? w(k) : (e.consume(k), N);
|
|
10191
10191
|
}
|
|
10192
10192
|
function x(k) {
|
|
10193
|
-
return k === 47 || k === 62 ||
|
|
10193
|
+
return k === 47 || k === 62 || ve(k) ? w(k) : n(k);
|
|
10194
10194
|
}
|
|
10195
10195
|
function P(k) {
|
|
10196
10196
|
return k === 62 ? (e.consume(k), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(k);
|
|
@@ -10267,7 +10267,7 @@ function Ip(e, t) {
|
|
|
10267
10267
|
...e[s - 2][1].start
|
|
10268
10268
|
}
|
|
10269
10269
|
};
|
|
10270
|
-
return u = [["enter", o, t], ["enter", l, t]], u =
|
|
10270
|
+
return u = [["enter", o, t], ["enter", l, t]], u = Je(u, e.slice(i + 1, i + r + 3)), u = Je(u, [["enter", m, t]]), u = Je(u, Ga(t.parser.constructs.insideSpan.null, e.slice(i + r + 4, s - 3), t)), u = Je(u, [["exit", m, t], e[s - 2], e[s - 1], ["exit", l, t]]), u = Je(u, e.slice(s + 1)), u = Je(u, [["exit", o, t]]), ut(e, i, e.length, u), e;
|
|
10271
10271
|
}
|
|
10272
10272
|
function Lp(e, t, n) {
|
|
10273
10273
|
const r = this;
|
|
@@ -10303,13 +10303,13 @@ function Op(e, t, n) {
|
|
|
10303
10303
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), a;
|
|
10304
10304
|
}
|
|
10305
10305
|
function a(p) {
|
|
10306
|
-
return
|
|
10306
|
+
return ve(p) ? mt(e, i)(p) : i(p);
|
|
10307
10307
|
}
|
|
10308
10308
|
function i(p) {
|
|
10309
10309
|
return p === 41 ? m(p) : Bo(e, s, u, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
|
|
10310
10310
|
}
|
|
10311
10311
|
function s(p) {
|
|
10312
|
-
return
|
|
10312
|
+
return ve(p) ? mt(e, o)(p) : m(p);
|
|
10313
10313
|
}
|
|
10314
10314
|
function u(p) {
|
|
10315
10315
|
return n(p);
|
|
@@ -10318,7 +10318,7 @@ function Op(e, t, n) {
|
|
|
10318
10318
|
return p === 34 || p === 39 || p === 40 ? Ho(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : m(p);
|
|
10319
10319
|
}
|
|
10320
10320
|
function l(p) {
|
|
10321
|
-
return
|
|
10321
|
+
return ve(p) ? mt(e, m)(p) : m(p);
|
|
10322
10322
|
}
|
|
10323
10323
|
function m(p) {
|
|
10324
10324
|
return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
|
|
@@ -10389,7 +10389,7 @@ function Hp(e, t) {
|
|
|
10389
10389
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), ge(e, t, "linePrefix");
|
|
10390
10390
|
}
|
|
10391
10391
|
}
|
|
10392
|
-
const
|
|
10392
|
+
const Jn = {
|
|
10393
10393
|
name: "thematicBreak",
|
|
10394
10394
|
tokenize: $p
|
|
10395
10395
|
};
|
|
@@ -10433,7 +10433,7 @@ function zp(e, t, n) {
|
|
|
10433
10433
|
if (r.containerState.type || (r.containerState.type = c, e.enter(c, {
|
|
10434
10434
|
_container: !0
|
|
10435
10435
|
})), c === "listUnordered")
|
|
10436
|
-
return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(
|
|
10436
|
+
return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(Jn, n, l)(h) : l(h);
|
|
10437
10437
|
if (!r.interrupt || h === 49)
|
|
10438
10438
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), o(h);
|
|
10439
10439
|
}
|
|
@@ -10444,7 +10444,7 @@ function zp(e, t, n) {
|
|
|
10444
10444
|
}
|
|
10445
10445
|
function l(h) {
|
|
10446
10446
|
return e.enter("listItemMarker"), e.consume(h), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || h, e.check(
|
|
10447
|
-
|
|
10447
|
+
yr,
|
|
10448
10448
|
// Can’t be empty when interrupting.
|
|
10449
10449
|
r.interrupt ? n : m,
|
|
10450
10450
|
e.attempt(Up, E, p)
|
|
@@ -10462,7 +10462,7 @@ function zp(e, t, n) {
|
|
|
10462
10462
|
}
|
|
10463
10463
|
function Vp(e, t, n) {
|
|
10464
10464
|
const r = this;
|
|
10465
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
10465
|
+
return r.containerState._closeFlow = void 0, e.check(yr, a, i);
|
|
10466
10466
|
function a(u) {
|
|
10467
10467
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, ge(e, t, "listItemIndent", r.containerState.size + 1)(u);
|
|
10468
10468
|
}
|
|
@@ -10550,7 +10550,7 @@ const Kp = {
|
|
|
10550
10550
|
function Qp(e) {
|
|
10551
10551
|
const t = this, n = e.attempt(
|
|
10552
10552
|
// Try to parse a blank line.
|
|
10553
|
-
|
|
10553
|
+
yr,
|
|
10554
10554
|
r,
|
|
10555
10555
|
// Try to parse initial flow (essentially, only code).
|
|
10556
10556
|
e.attempt(this.parser.constructs.flowInitial, a, ge(e, e.attempt(this.parser.constructs.flow, a, e.attempt(np, a)), "linePrefix"))
|
|
@@ -10684,11 +10684,11 @@ const nh = {
|
|
|
10684
10684
|
32: Vr
|
|
10685
10685
|
}, ih = {
|
|
10686
10686
|
35: pp,
|
|
10687
|
-
42:
|
|
10688
|
-
45: [Wi,
|
|
10687
|
+
42: Jn,
|
|
10688
|
+
45: [Wi, Jn],
|
|
10689
10689
|
60: Ep,
|
|
10690
10690
|
61: Wi,
|
|
10691
|
-
95:
|
|
10691
|
+
95: Jn,
|
|
10692
10692
|
96: Gi,
|
|
10693
10693
|
126: Gi
|
|
10694
10694
|
}, sh = {
|
|
@@ -10759,7 +10759,7 @@ function fh(e, t, n) {
|
|
|
10759
10759
|
let m = t.tokenize.call(l, o);
|
|
10760
10760
|
return t.resolveAll && i.push(t), l;
|
|
10761
10761
|
function p(I) {
|
|
10762
|
-
return s =
|
|
10762
|
+
return s = Je(s, I), b(), s[s.length - 1] !== null ? [] : (_(t, 0), l.events = Ga(i, l.events, l), l.events);
|
|
10763
10763
|
}
|
|
10764
10764
|
function E(I, D) {
|
|
10765
10765
|
return hh(h(I), D);
|
|
@@ -10837,11 +10837,11 @@ function fh(e, t, n) {
|
|
|
10837
10837
|
function W(ae) {
|
|
10838
10838
|
return ee;
|
|
10839
10839
|
function ee(he) {
|
|
10840
|
-
const
|
|
10840
|
+
const Ce = he !== null && ae[he], ye = he !== null && ae.null, Be = [
|
|
10841
10841
|
// To do: add more extension tests.
|
|
10842
10842
|
/* c8 ignore next 2 */
|
|
10843
|
-
...Array.isArray(
|
|
10844
|
-
...Array.isArray(
|
|
10843
|
+
...Array.isArray(Ce) ? Ce : Ce ? [Ce] : [],
|
|
10844
|
+
...Array.isArray(ye) ? ye : ye ? [ye] : []
|
|
10845
10845
|
];
|
|
10846
10846
|
return Q(Be)(he);
|
|
10847
10847
|
}
|
|
@@ -11031,7 +11031,7 @@ function Ch(e) {
|
|
|
11031
11031
|
autolinkProtocol: w,
|
|
11032
11032
|
autolinkEmail: w,
|
|
11033
11033
|
atxHeading: i(kt),
|
|
11034
|
-
blockQuote: i(
|
|
11034
|
+
blockQuote: i(ye),
|
|
11035
11035
|
characterEscape: w,
|
|
11036
11036
|
characterReference: w,
|
|
11037
11037
|
codeFenced: i(Be),
|
|
@@ -11056,24 +11056,24 @@ function Ch(e) {
|
|
|
11056
11056
|
image: i(Hn),
|
|
11057
11057
|
label: s,
|
|
11058
11058
|
link: i($n),
|
|
11059
|
-
listItem: i(
|
|
11059
|
+
listItem: i(Nr),
|
|
11060
11060
|
listItemValue: E,
|
|
11061
11061
|
listOrdered: i(en, p),
|
|
11062
11062
|
listUnordered: i(en),
|
|
11063
|
-
paragraph: i(
|
|
11063
|
+
paragraph: i(vr),
|
|
11064
11064
|
reference: R,
|
|
11065
11065
|
referenceString: s,
|
|
11066
11066
|
resourceDestinationString: s,
|
|
11067
11067
|
resourceTitleString: s,
|
|
11068
11068
|
setextHeading: i(kt),
|
|
11069
|
-
strong: i(
|
|
11070
|
-
thematicBreak: i(
|
|
11069
|
+
strong: i(wr),
|
|
11070
|
+
thematicBreak: i(Lr)
|
|
11071
11071
|
},
|
|
11072
11072
|
exit: {
|
|
11073
11073
|
atxHeading: o(),
|
|
11074
11074
|
atxHeadingSequence: A,
|
|
11075
11075
|
autolink: o(),
|
|
11076
|
-
autolinkEmail:
|
|
11076
|
+
autolinkEmail: Ce,
|
|
11077
11077
|
autolinkProtocol: he,
|
|
11078
11078
|
blockQuote: o(),
|
|
11079
11079
|
characterEscapeValue: O,
|
|
@@ -11145,18 +11145,18 @@ function Ch(e) {
|
|
|
11145
11145
|
if (V[le][0] === "enter")
|
|
11146
11146
|
oe.push(le);
|
|
11147
11147
|
else {
|
|
11148
|
-
const
|
|
11149
|
-
le = a(V,
|
|
11148
|
+
const $e = oe.pop();
|
|
11149
|
+
le = a(V, $e, le);
|
|
11150
11150
|
}
|
|
11151
11151
|
for (le = -1; ++le < V.length; ) {
|
|
11152
|
-
const
|
|
11153
|
-
qo.call(
|
|
11152
|
+
const $e = t[V[le][0]];
|
|
11153
|
+
qo.call($e, V[le][1].type) && $e[V[le][1].type].call(Object.assign({
|
|
11154
11154
|
sliceSerialize: V[le][2].sliceSerialize
|
|
11155
11155
|
}, se), V[le][1]);
|
|
11156
11156
|
}
|
|
11157
11157
|
if (se.tokenStack.length > 0) {
|
|
11158
|
-
const
|
|
11159
|
-
(
|
|
11158
|
+
const $e = se.tokenStack[se.tokenStack.length - 1];
|
|
11159
|
+
($e[1] || Xi).call(se, void 0, $e[0]);
|
|
11160
11160
|
}
|
|
11161
11161
|
for (K.position = {
|
|
11162
11162
|
start: bt(V.length > 0 ? V[0][1].start : {
|
|
@@ -11174,7 +11174,7 @@ function Ch(e) {
|
|
|
11174
11174
|
return K;
|
|
11175
11175
|
}
|
|
11176
11176
|
function a(V, K, se) {
|
|
11177
|
-
let oe = K - 1, le = -1,
|
|
11177
|
+
let oe = K - 1, le = -1, $e = !1, nt, je, Xe, dt;
|
|
11178
11178
|
for (; ++oe <= se; ) {
|
|
11179
11179
|
const Pe = V[oe];
|
|
11180
11180
|
switch (Pe[1].type) {
|
|
@@ -11204,7 +11204,7 @@ function Ch(e) {
|
|
|
11204
11204
|
const Ve = V[Et];
|
|
11205
11205
|
if (Ve[1].type === "lineEnding" || Ve[1].type === "lineEndingBlank") {
|
|
11206
11206
|
if (Ve[0] === "exit") continue;
|
|
11207
|
-
je && (V[je][1].type = "lineEndingBlank",
|
|
11207
|
+
je && (V[je][1].type = "lineEndingBlank", $e = !0), Ve[1].type = "lineEnding", je = Et;
|
|
11208
11208
|
} else if (!(Ve[1].type === "linePrefix" || Ve[1].type === "blockQuotePrefix" || Ve[1].type === "blockQuotePrefixWhitespace" || Ve[1].type === "blockQuoteMarker" || Ve[1].type === "listItemIndent")) break;
|
|
11209
11209
|
}
|
|
11210
11210
|
Xe && (!je || Xe < je) && (nt._spread = !0), nt.end = Object.assign({}, je ? V[je][1].start : Pe[1].end), V.splice(je || oe, 0, ["exit", nt, Pe[2]]), oe++, se++;
|
|
@@ -11221,7 +11221,7 @@ function Ch(e) {
|
|
|
11221
11221
|
}
|
|
11222
11222
|
}
|
|
11223
11223
|
}
|
|
11224
|
-
return V[K][1]._spread =
|
|
11224
|
+
return V[K][1]._spread = $e, se;
|
|
11225
11225
|
}
|
|
11226
11226
|
function i(V, K) {
|
|
11227
11227
|
return se;
|
|
@@ -11321,7 +11321,7 @@ function Ch(e) {
|
|
|
11321
11321
|
function w(V) {
|
|
11322
11322
|
const se = this.stack[this.stack.length - 1].children;
|
|
11323
11323
|
let oe = se[se.length - 1];
|
|
11324
|
-
(!oe || oe.type !== "text") && (oe =
|
|
11324
|
+
(!oe || oe.type !== "text") && (oe = Ir(), oe.position = {
|
|
11325
11325
|
start: bt(V.start),
|
|
11326
11326
|
// @ts-expect-error: we’ll add `end` later.
|
|
11327
11327
|
end: void 0
|
|
@@ -11422,12 +11422,12 @@ function Ch(e) {
|
|
|
11422
11422
|
const K = this.stack[this.stack.length - 1];
|
|
11423
11423
|
K.url = this.sliceSerialize(V);
|
|
11424
11424
|
}
|
|
11425
|
-
function
|
|
11425
|
+
function Ce(V) {
|
|
11426
11426
|
O.call(this, V);
|
|
11427
11427
|
const K = this.stack[this.stack.length - 1];
|
|
11428
11428
|
K.url = "mailto:" + this.sliceSerialize(V);
|
|
11429
11429
|
}
|
|
11430
|
-
function
|
|
11430
|
+
function ye() {
|
|
11431
11431
|
return {
|
|
11432
11432
|
type: "blockquote",
|
|
11433
11433
|
children: []
|
|
@@ -11506,7 +11506,7 @@ function Ch(e) {
|
|
|
11506
11506
|
children: []
|
|
11507
11507
|
};
|
|
11508
11508
|
}
|
|
11509
|
-
function
|
|
11509
|
+
function Nr(V) {
|
|
11510
11510
|
return {
|
|
11511
11511
|
type: "listItem",
|
|
11512
11512
|
spread: V._spread,
|
|
@@ -11514,25 +11514,25 @@ function Ch(e) {
|
|
|
11514
11514
|
children: []
|
|
11515
11515
|
};
|
|
11516
11516
|
}
|
|
11517
|
-
function
|
|
11517
|
+
function vr() {
|
|
11518
11518
|
return {
|
|
11519
11519
|
type: "paragraph",
|
|
11520
11520
|
children: []
|
|
11521
11521
|
};
|
|
11522
11522
|
}
|
|
11523
|
-
function
|
|
11523
|
+
function wr() {
|
|
11524
11524
|
return {
|
|
11525
11525
|
type: "strong",
|
|
11526
11526
|
children: []
|
|
11527
11527
|
};
|
|
11528
11528
|
}
|
|
11529
|
-
function
|
|
11529
|
+
function Ir() {
|
|
11530
11530
|
return {
|
|
11531
11531
|
type: "text",
|
|
11532
11532
|
value: ""
|
|
11533
11533
|
};
|
|
11534
11534
|
}
|
|
11535
|
-
function
|
|
11535
|
+
function Lr() {
|
|
11536
11536
|
return {
|
|
11537
11537
|
type: "thematicBreak"
|
|
11538
11538
|
};
|
|
@@ -11842,7 +11842,7 @@ function Vh(e, t) {
|
|
|
11842
11842
|
tagName: "tbody",
|
|
11843
11843
|
properties: {},
|
|
11844
11844
|
children: e.wrap(n, !0)
|
|
11845
|
-
}, u = lt(t.children[1]), o =
|
|
11845
|
+
}, u = lt(t.children[1]), o = br(t.children[t.children.length - 1]);
|
|
11846
11846
|
u && o && (s.position = { start: u, end: o }), a.push(s);
|
|
11847
11847
|
}
|
|
11848
11848
|
const i = {
|
|
@@ -11945,20 +11945,20 @@ const Kh = {
|
|
|
11945
11945
|
tableRow: Gh,
|
|
11946
11946
|
text: jh,
|
|
11947
11947
|
thematicBreak: Xh,
|
|
11948
|
-
toml:
|
|
11949
|
-
yaml:
|
|
11950
|
-
definition:
|
|
11951
|
-
footnoteDefinition:
|
|
11948
|
+
toml: Gn,
|
|
11949
|
+
yaml: Gn,
|
|
11950
|
+
definition: Gn,
|
|
11951
|
+
footnoteDefinition: Gn
|
|
11952
11952
|
};
|
|
11953
|
-
function
|
|
11953
|
+
function Gn() {
|
|
11954
11954
|
}
|
|
11955
|
-
const Yo = -1,
|
|
11955
|
+
const Yo = -1, Tr = 0, mn = 1, cr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, jo = 8, Zi = typeof self == "object" ? self : globalThis, Qh = (e, t) => {
|
|
11956
11956
|
const n = (a, i) => (e.set(i, a), a), r = (a) => {
|
|
11957
11957
|
if (e.has(a))
|
|
11958
11958
|
return e.get(a);
|
|
11959
11959
|
const [i, s] = t[a];
|
|
11960
11960
|
switch (i) {
|
|
11961
|
-
case
|
|
11961
|
+
case Tr:
|
|
11962
11962
|
case Yo:
|
|
11963
11963
|
return n(s, a);
|
|
11964
11964
|
case mn: {
|
|
@@ -11967,7 +11967,7 @@ const Yo = -1, yr = 0, mn = 1, lr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, j
|
|
|
11967
11967
|
u.push(r(o));
|
|
11968
11968
|
return u;
|
|
11969
11969
|
}
|
|
11970
|
-
case
|
|
11970
|
+
case cr: {
|
|
11971
11971
|
const u = n({}, a);
|
|
11972
11972
|
for (const [o, l] of s)
|
|
11973
11973
|
u[r(o)] = r(l);
|
|
@@ -12012,13 +12012,13 @@ const Yo = -1, yr = 0, mn = 1, lr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, j
|
|
|
12012
12012
|
}, es = (e) => Qh(/* @__PURE__ */ new Map(), e)(0), Ut = "", { toString: Jh } = {}, { keys: Zh } = Object, un = (e) => {
|
|
12013
12013
|
const t = typeof e;
|
|
12014
12014
|
if (t !== "object" || !e)
|
|
12015
|
-
return [
|
|
12015
|
+
return [Tr, t];
|
|
12016
12016
|
const n = Jh.call(e).slice(8, -1);
|
|
12017
12017
|
switch (n) {
|
|
12018
12018
|
case "Array":
|
|
12019
12019
|
return [mn, Ut];
|
|
12020
12020
|
case "Object":
|
|
12021
|
-
return [
|
|
12021
|
+
return [cr, Ut];
|
|
12022
12022
|
case "Date":
|
|
12023
12023
|
return [Wa, Ut];
|
|
12024
12024
|
case "RegExp":
|
|
@@ -12030,8 +12030,8 @@ const Yo = -1, yr = 0, mn = 1, lr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, j
|
|
|
12030
12030
|
case "DataView":
|
|
12031
12031
|
return [mn, n];
|
|
12032
12032
|
}
|
|
12033
|
-
return n.includes("Array") ? [mn, n] : n.includes("Error") ? [Wo, n] : [
|
|
12034
|
-
},
|
|
12033
|
+
return n.includes("Array") ? [mn, n] : n.includes("Error") ? [Wo, n] : [cr, n];
|
|
12034
|
+
}, Yn = ([e, t]) => e === Tr && (t === "function" || t === "symbol"), e0 = (e, t, n, r) => {
|
|
12035
12035
|
const a = (s, u) => {
|
|
12036
12036
|
const o = r.push(s) - 1;
|
|
12037
12037
|
return n.set(u, o), o;
|
|
@@ -12040,7 +12040,7 @@ const Yo = -1, yr = 0, mn = 1, lr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, j
|
|
|
12040
12040
|
return n.get(s);
|
|
12041
12041
|
let [u, o] = un(s);
|
|
12042
12042
|
switch (u) {
|
|
12043
|
-
case
|
|
12043
|
+
case Tr: {
|
|
12044
12044
|
let m = s;
|
|
12045
12045
|
switch (o) {
|
|
12046
12046
|
case "bigint":
|
|
@@ -12067,7 +12067,7 @@ const Yo = -1, yr = 0, mn = 1, lr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, j
|
|
|
12067
12067
|
m.push(i(E));
|
|
12068
12068
|
return p;
|
|
12069
12069
|
}
|
|
12070
|
-
case
|
|
12070
|
+
case cr: {
|
|
12071
12071
|
if (o)
|
|
12072
12072
|
switch (o) {
|
|
12073
12073
|
case "BigInt":
|
|
@@ -12081,7 +12081,7 @@ const Yo = -1, yr = 0, mn = 1, lr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, j
|
|
|
12081
12081
|
return i(s.toJSON());
|
|
12082
12082
|
const m = [], p = a([u, m], s);
|
|
12083
12083
|
for (const E of Zh(s))
|
|
12084
|
-
(e || !
|
|
12084
|
+
(e || !Yn(un(s[E]))) && m.push([i(E), i(s[E])]);
|
|
12085
12085
|
return p;
|
|
12086
12086
|
}
|
|
12087
12087
|
case Wa:
|
|
@@ -12093,13 +12093,13 @@ const Yo = -1, yr = 0, mn = 1, lr = 2, Wa = 3, ja = 4, Xa = 5, Ka = 6, Wo = 7, j
|
|
|
12093
12093
|
case Xa: {
|
|
12094
12094
|
const m = [], p = a([u, m], s);
|
|
12095
12095
|
for (const [E, h] of s)
|
|
12096
|
-
(e || !(
|
|
12096
|
+
(e || !(Yn(un(E)) || Yn(un(h)))) && m.push([i(E), i(h)]);
|
|
12097
12097
|
return p;
|
|
12098
12098
|
}
|
|
12099
12099
|
case Ka: {
|
|
12100
12100
|
const m = [], p = a([u, m], s);
|
|
12101
12101
|
for (const E of s)
|
|
12102
|
-
(e || !
|
|
12102
|
+
(e || !Yn(un(E))) && m.push(i(E));
|
|
12103
12103
|
return p;
|
|
12104
12104
|
}
|
|
12105
12105
|
}
|
|
@@ -12216,7 +12216,7 @@ const Xo = (
|
|
|
12216
12216
|
if (e == null)
|
|
12217
12217
|
return o0;
|
|
12218
12218
|
if (typeof e == "function")
|
|
12219
|
-
return
|
|
12219
|
+
return xr(e);
|
|
12220
12220
|
if (typeof e == "object")
|
|
12221
12221
|
return Array.isArray(e) ? a0(e) : (
|
|
12222
12222
|
// Cast because `ReadonlyArray` goes into the above but `isArray`
|
|
@@ -12236,7 +12236,7 @@ function a0(e) {
|
|
|
12236
12236
|
let n = -1;
|
|
12237
12237
|
for (; ++n < e.length; )
|
|
12238
12238
|
t[n] = Xo(e[n]);
|
|
12239
|
-
return
|
|
12239
|
+
return xr(r);
|
|
12240
12240
|
function r(...a) {
|
|
12241
12241
|
let i = -1;
|
|
12242
12242
|
for (; ++i < t.length; )
|
|
@@ -12249,7 +12249,7 @@ function i0(e) {
|
|
|
12249
12249
|
/** @type {Record<string, unknown>} */
|
|
12250
12250
|
e
|
|
12251
12251
|
);
|
|
12252
|
-
return
|
|
12252
|
+
return xr(n);
|
|
12253
12253
|
function n(r) {
|
|
12254
12254
|
const a = (
|
|
12255
12255
|
/** @type {Record<string, unknown>} */
|
|
@@ -12263,12 +12263,12 @@ function i0(e) {
|
|
|
12263
12263
|
}
|
|
12264
12264
|
}
|
|
12265
12265
|
function s0(e) {
|
|
12266
|
-
return
|
|
12266
|
+
return xr(t);
|
|
12267
12267
|
function t(n) {
|
|
12268
12268
|
return n && n.type === e;
|
|
12269
12269
|
}
|
|
12270
12270
|
}
|
|
12271
|
-
function
|
|
12271
|
+
function xr(e) {
|
|
12272
12272
|
return t;
|
|
12273
12273
|
function t(n, r, a) {
|
|
12274
12274
|
return !!(u0(n) && e.call(
|
|
@@ -12333,7 +12333,7 @@ function Qo(e, t, n, r) {
|
|
|
12333
12333
|
function d0(e) {
|
|
12334
12334
|
return Array.isArray(e) ? e : typeof e == "number" ? [l0, e] : e == null ? Ko : [e];
|
|
12335
12335
|
}
|
|
12336
|
-
function
|
|
12336
|
+
function Cr(e, t, n, r) {
|
|
12337
12337
|
let a, i, s;
|
|
12338
12338
|
typeof t == "function" && typeof n != "function" ? (i = void 0, s = t, a = n) : (i = t, s = n, a = r), Qo(e, i, u, a);
|
|
12339
12339
|
function u(o, l) {
|
|
@@ -12356,7 +12356,7 @@ function p0(e, t) {
|
|
|
12356
12356
|
patch: h0,
|
|
12357
12357
|
wrap: E0
|
|
12358
12358
|
};
|
|
12359
|
-
return
|
|
12359
|
+
return Cr(e, function(m) {
|
|
12360
12360
|
if (m.type === "definition" || m.type === "footnoteDefinition") {
|
|
12361
12361
|
const p = m.type === "definition" ? r : a, E = String(m.identifier).toUpperCase();
|
|
12362
12362
|
p.has(E) || p.set(E, m);
|
|
@@ -13280,7 +13280,7 @@ class Qa extends P0 {
|
|
|
13280
13280
|
*/
|
|
13281
13281
|
parse(t) {
|
|
13282
13282
|
this.freeze();
|
|
13283
|
-
const n =
|
|
13283
|
+
const n = Wn(t), r = this.parser || this.Parser;
|
|
13284
13284
|
return Qr("parse", r), r(String(n), n);
|
|
13285
13285
|
}
|
|
13286
13286
|
/**
|
|
@@ -13329,7 +13329,7 @@ class Qa extends P0 {
|
|
|
13329
13329
|
const r = this;
|
|
13330
13330
|
return this.freeze(), Qr("process", this.parser || this.Parser), Jr("process", this.compiler || this.Compiler), n ? a(void 0, n) : new Promise(a);
|
|
13331
13331
|
function a(i, s) {
|
|
13332
|
-
const u =
|
|
13332
|
+
const u = Wn(t), o = (
|
|
13333
13333
|
/** @type {HeadTree extends undefined ? Node : HeadTree} */
|
|
13334
13334
|
/** @type {unknown} */
|
|
13335
13335
|
r.parse(u)
|
|
@@ -13434,7 +13434,7 @@ class Qa extends P0 {
|
|
|
13434
13434
|
const a = this.transformers;
|
|
13435
13435
|
return !r && typeof n == "function" && (r = n, n = void 0), r ? i(void 0, r) : new Promise(i);
|
|
13436
13436
|
function i(s, u) {
|
|
13437
|
-
const o =
|
|
13437
|
+
const o = Wn(n);
|
|
13438
13438
|
a.run(t, o, l);
|
|
13439
13439
|
function l(m, p, E) {
|
|
13440
13440
|
const h = (
|
|
@@ -13500,7 +13500,7 @@ class Qa extends P0 {
|
|
|
13500
13500
|
*/
|
|
13501
13501
|
stringify(t, n) {
|
|
13502
13502
|
this.freeze();
|
|
13503
|
-
const r =
|
|
13503
|
+
const r = Wn(n), a = this.compiler || this.Compiler;
|
|
13504
13504
|
return Jr("stringify", a), us(t), a(t, r);
|
|
13505
13505
|
}
|
|
13506
13506
|
/**
|
|
@@ -13643,7 +13643,7 @@ function ls(e, t, n) {
|
|
|
13643
13643
|
"`" + e + "` finished async. Use `" + t + "` instead"
|
|
13644
13644
|
);
|
|
13645
13645
|
}
|
|
13646
|
-
function
|
|
13646
|
+
function Wn(e) {
|
|
13647
13647
|
return B0(e) ? e : new Jo(e);
|
|
13648
13648
|
}
|
|
13649
13649
|
function B0(e) {
|
|
@@ -13705,7 +13705,7 @@ function G0(e, t) {
|
|
|
13705
13705
|
const n = t.allowedElements, r = t.allowElement, a = t.components, i = t.disallowedElements, s = t.skipHtml, u = t.unwrapDisallowed, o = t.urlTransform || Y0;
|
|
13706
13706
|
for (const m of q0)
|
|
13707
13707
|
Object.hasOwn(t, m.from) && ("" + m.from + (m.to ? "use `" + m.to + "` instead" : "remove it") + $0 + m.id, void 0);
|
|
13708
|
-
return
|
|
13708
|
+
return Cr(e, l), af(e, {
|
|
13709
13709
|
Fragment: Vs,
|
|
13710
13710
|
components: a,
|
|
13711
13711
|
ignoreInvalidStyle: !0,
|
|
@@ -13808,7 +13808,7 @@ function j0(e) {
|
|
|
13808
13808
|
return !!("children" in e && Array.isArray(e.children));
|
|
13809
13809
|
}
|
|
13810
13810
|
function X0(e, t, n, r) {
|
|
13811
|
-
const a =
|
|
13811
|
+
const a = Er(e, n);
|
|
13812
13812
|
let i;
|
|
13813
13813
|
if (r != null) {
|
|
13814
13814
|
if (typeof r == "number") {
|
|
@@ -13970,7 +13970,7 @@ function Ja(e, t) {
|
|
|
13970
13970
|
/** @type {DefaultTreeAdapterMap['commentNode']} */
|
|
13971
13971
|
t
|
|
13972
13972
|
);
|
|
13973
|
-
return n = { type: "comment", value: r.data },
|
|
13973
|
+
return n = { type: "comment", value: r.data }, Zn(e, r, n), n;
|
|
13974
13974
|
}
|
|
13975
13975
|
case "#document":
|
|
13976
13976
|
case "#document-fragment": {
|
|
@@ -13993,14 +13993,14 @@ function Ja(e, t) {
|
|
|
13993
13993
|
/** @type {DefaultTreeAdapterMap['documentType']} */
|
|
13994
13994
|
t
|
|
13995
13995
|
);
|
|
13996
|
-
return n = { type: "doctype" },
|
|
13996
|
+
return n = { type: "doctype" }, Zn(e, r, n), n;
|
|
13997
13997
|
}
|
|
13998
13998
|
case "#text": {
|
|
13999
13999
|
const r = (
|
|
14000
14000
|
/** @type {DefaultTreeAdapterMap['textNode']} */
|
|
14001
14001
|
t
|
|
14002
14002
|
);
|
|
14003
|
-
return n = { type: "text", value: r.value },
|
|
14003
|
+
return n = { type: "text", value: r.value }, Zn(e, r, n), n;
|
|
14004
14004
|
}
|
|
14005
14005
|
// Element.
|
|
14006
14006
|
default:
|
|
@@ -14033,7 +14033,7 @@ function am(e, t) {
|
|
|
14033
14033
|
eu.call(nm, o) || (a[o] = u.value);
|
|
14034
14034
|
}
|
|
14035
14035
|
const s = (e.schema.space === "svg" ? em : Z0)(t.tagName, a, tu(e, t.childNodes));
|
|
14036
|
-
if (
|
|
14036
|
+
if (Zn(e, t, s), s.tagName === "template") {
|
|
14037
14037
|
const u = (
|
|
14038
14038
|
/** @type {DefaultTreeAdapterMap['template']} */
|
|
14039
14039
|
t
|
|
@@ -14045,7 +14045,7 @@ function am(e, t) {
|
|
|
14045
14045
|
}
|
|
14046
14046
|
return e.schema = n, s;
|
|
14047
14047
|
}
|
|
14048
|
-
function
|
|
14048
|
+
function Zn(e, t, n) {
|
|
14049
14049
|
if ("sourceCodeLocation" in t && t.sourceCodeLocation && e.file) {
|
|
14050
14050
|
const r = im(e, n, t.sourceCodeLocation);
|
|
14051
14051
|
r && (e.location = !0, n.position = r);
|
|
@@ -14060,7 +14060,7 @@ function im(e, t, n) {
|
|
|
14060
14060
|
let s;
|
|
14061
14061
|
if (n.attrs)
|
|
14062
14062
|
for (s in n.attrs)
|
|
14063
|
-
eu.call(n.attrs, s) && (i[
|
|
14063
|
+
eu.call(n.attrs, s) && (i[Er(e.schema, s).property] = qt(
|
|
14064
14064
|
n.attrs[s]
|
|
14065
14065
|
));
|
|
14066
14066
|
n.startTag;
|
|
@@ -14173,7 +14173,7 @@ function hm(e, t) {
|
|
|
14173
14173
|
return u.childNodes = Za(e.children, u, r), Kt(e, u), e.tagName === "template" && e.content && (u.content = cm(e.content, r)), u;
|
|
14174
14174
|
}
|
|
14175
14175
|
function mm(e, t, n) {
|
|
14176
|
-
const r =
|
|
14176
|
+
const r = Er(e, t);
|
|
14177
14177
|
if (n === !1 || n === null || n === void 0 || typeof n == "number" && Number.isNaN(n) || !n && r.boolean)
|
|
14178
14178
|
return;
|
|
14179
14179
|
Array.isArray(n) && (n = r.commaSeparated ? go(n) : So(n));
|
|
@@ -14264,7 +14264,7 @@ const gm = [
|
|
|
14264
14264
|
1048575,
|
|
14265
14265
|
1114110,
|
|
14266
14266
|
1114111
|
|
14267
|
-
]),
|
|
14267
|
+
]), Se = "�";
|
|
14268
14268
|
var L;
|
|
14269
14269
|
(function(e) {
|
|
14270
14270
|
e[e.EOF = -1] = "EOF", e[e.NULL = 0] = "NULL", e[e.TABULATION = 9] = "TABULATION", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.LINE_FEED = 10] = "LINE_FEED", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_0 = 48] = "DIGIT_0", e[e.DIGIT_9 = 57] = "DIGIT_9", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", e[e.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", e[e.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
|
|
@@ -14672,10 +14672,10 @@ var It;
|
|
|
14672
14672
|
(function(e) {
|
|
14673
14673
|
e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
|
|
14674
14674
|
})(It || (It = {}));
|
|
14675
|
-
var
|
|
14675
|
+
var Ze;
|
|
14676
14676
|
(function(e) {
|
|
14677
14677
|
e.NO_QUIRKS = "no-quirks", e.QUIRKS = "quirks", e.LIMITED_QUIRKS = "limited-quirks";
|
|
14678
|
-
})(
|
|
14678
|
+
})(Ze || (Ze = {}));
|
|
14679
14679
|
var U;
|
|
14680
14680
|
(function(e) {
|
|
14681
14681
|
e.A = "a", e.ADDRESS = "address", e.ANNOTATION_XML = "annotation-xml", e.APPLET = "applet", e.AREA = "area", e.ARTICLE = "article", e.ASIDE = "aside", e.B = "b", e.BASE = "base", e.BASEFONT = "basefont", e.BGSOUND = "bgsound", e.BIG = "big", e.BLOCKQUOTE = "blockquote", e.BODY = "body", e.BR = "br", e.BUTTON = "button", e.CAPTION = "caption", e.CENTER = "center", e.CODE = "code", e.COL = "col", e.COLGROUP = "colgroup", e.DD = "dd", e.DESC = "desc", e.DETAILS = "details", e.DIALOG = "dialog", e.DIR = "dir", e.DIV = "div", e.DL = "dl", e.DT = "dt", e.EM = "em", e.EMBED = "embed", e.FIELDSET = "fieldset", e.FIGCAPTION = "figcaption", e.FIGURE = "figure", e.FONT = "font", e.FOOTER = "footer", e.FOREIGN_OBJECT = "foreignObject", e.FORM = "form", e.FRAME = "frame", e.FRAMESET = "frameset", e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.HEAD = "head", e.HEADER = "header", e.HGROUP = "hgroup", e.HR = "hr", e.HTML = "html", e.I = "i", e.IMG = "img", e.IMAGE = "image", e.INPUT = "input", e.IFRAME = "iframe", e.KEYGEN = "keygen", e.LABEL = "label", e.LI = "li", e.LINK = "link", e.LISTING = "listing", e.MAIN = "main", e.MALIGNMARK = "malignmark", e.MARQUEE = "marquee", e.MATH = "math", e.MENU = "menu", e.META = "meta", e.MGLYPH = "mglyph", e.MI = "mi", e.MO = "mo", e.MN = "mn", e.MS = "ms", e.MTEXT = "mtext", e.NAV = "nav", e.NOBR = "nobr", e.NOFRAMES = "noframes", e.NOEMBED = "noembed", e.NOSCRIPT = "noscript", e.OBJECT = "object", e.OL = "ol", e.OPTGROUP = "optgroup", e.OPTION = "option", e.P = "p", e.PARAM = "param", e.PLAINTEXT = "plaintext", e.PRE = "pre", e.RB = "rb", e.RP = "rp", e.RT = "rt", e.RTC = "rtc", e.RUBY = "ruby", e.S = "s", e.SCRIPT = "script", e.SEARCH = "search", e.SECTION = "section", e.SELECT = "select", e.SOURCE = "source", e.SMALL = "small", e.SPAN = "span", e.STRIKE = "strike", e.STRONG = "strong", e.STYLE = "style", e.SUB = "sub", e.SUMMARY = "summary", e.SUP = "sup", e.TABLE = "table", e.TBODY = "tbody", e.TEMPLATE = "template", e.TEXTAREA = "textarea", e.TFOOT = "tfoot", e.TD = "td", e.TH = "th", e.THEAD = "thead", e.TITLE = "title", e.TR = "tr", e.TRACK = "track", e.TT = "tt", e.U = "u", e.UL = "ul", e.SVG = "svg", e.VAR = "var", e.WBR = "wbr", e.XMP = "xmp";
|
|
@@ -14908,7 +14908,7 @@ var M;
|
|
|
14908
14908
|
(function(e) {
|
|
14909
14909
|
e[e.DATA = 0] = "DATA", e[e.RCDATA = 1] = "RCDATA", e[e.RAWTEXT = 2] = "RAWTEXT", e[e.SCRIPT_DATA = 3] = "SCRIPT_DATA", e[e.PLAINTEXT = 4] = "PLAINTEXT", e[e.TAG_OPEN = 5] = "TAG_OPEN", e[e.END_TAG_OPEN = 6] = "END_TAG_OPEN", e[e.TAG_NAME = 7] = "TAG_NAME", e[e.RCDATA_LESS_THAN_SIGN = 8] = "RCDATA_LESS_THAN_SIGN", e[e.RCDATA_END_TAG_OPEN = 9] = "RCDATA_END_TAG_OPEN", e[e.RCDATA_END_TAG_NAME = 10] = "RCDATA_END_TAG_NAME", e[e.RAWTEXT_LESS_THAN_SIGN = 11] = "RAWTEXT_LESS_THAN_SIGN", e[e.RAWTEXT_END_TAG_OPEN = 12] = "RAWTEXT_END_TAG_OPEN", e[e.RAWTEXT_END_TAG_NAME = 13] = "RAWTEXT_END_TAG_NAME", e[e.SCRIPT_DATA_LESS_THAN_SIGN = 14] = "SCRIPT_DATA_LESS_THAN_SIGN", e[e.SCRIPT_DATA_END_TAG_OPEN = 15] = "SCRIPT_DATA_END_TAG_OPEN", e[e.SCRIPT_DATA_END_TAG_NAME = 16] = "SCRIPT_DATA_END_TAG_NAME", e[e.SCRIPT_DATA_ESCAPE_START = 17] = "SCRIPT_DATA_ESCAPE_START", e[e.SCRIPT_DATA_ESCAPE_START_DASH = 18] = "SCRIPT_DATA_ESCAPE_START_DASH", e[e.SCRIPT_DATA_ESCAPED = 19] = "SCRIPT_DATA_ESCAPED", e[e.SCRIPT_DATA_ESCAPED_DASH = 20] = "SCRIPT_DATA_ESCAPED_DASH", e[e.SCRIPT_DATA_ESCAPED_DASH_DASH = 21] = "SCRIPT_DATA_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN = 22] = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN = 23] = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME = 24] = "SCRIPT_DATA_ESCAPED_END_TAG_NAME", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START = 25] = "SCRIPT_DATA_DOUBLE_ESCAPE_START", e[e.SCRIPT_DATA_DOUBLE_ESCAPED = 26] = "SCRIPT_DATA_DOUBLE_ESCAPED", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH = 27] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH = 28] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN = 29] = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END = 30] = "SCRIPT_DATA_DOUBLE_ESCAPE_END", e[e.BEFORE_ATTRIBUTE_NAME = 31] = "BEFORE_ATTRIBUTE_NAME", e[e.ATTRIBUTE_NAME = 32] = "ATTRIBUTE_NAME", e[e.AFTER_ATTRIBUTE_NAME = 33] = "AFTER_ATTRIBUTE_NAME", e[e.BEFORE_ATTRIBUTE_VALUE = 34] = "BEFORE_ATTRIBUTE_VALUE", e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED = 35] = "ATTRIBUTE_VALUE_DOUBLE_QUOTED", e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED = 36] = "ATTRIBUTE_VALUE_SINGLE_QUOTED", e[e.ATTRIBUTE_VALUE_UNQUOTED = 37] = "ATTRIBUTE_VALUE_UNQUOTED", e[e.AFTER_ATTRIBUTE_VALUE_QUOTED = 38] = "AFTER_ATTRIBUTE_VALUE_QUOTED", e[e.SELF_CLOSING_START_TAG = 39] = "SELF_CLOSING_START_TAG", e[e.BOGUS_COMMENT = 40] = "BOGUS_COMMENT", e[e.MARKUP_DECLARATION_OPEN = 41] = "MARKUP_DECLARATION_OPEN", e[e.COMMENT_START = 42] = "COMMENT_START", e[e.COMMENT_START_DASH = 43] = "COMMENT_START_DASH", e[e.COMMENT = 44] = "COMMENT", e[e.COMMENT_LESS_THAN_SIGN = 45] = "COMMENT_LESS_THAN_SIGN", e[e.COMMENT_LESS_THAN_SIGN_BANG = 46] = "COMMENT_LESS_THAN_SIGN_BANG", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH = 47] = "COMMENT_LESS_THAN_SIGN_BANG_DASH", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH = 48] = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH", e[e.COMMENT_END_DASH = 49] = "COMMENT_END_DASH", e[e.COMMENT_END = 50] = "COMMENT_END", e[e.COMMENT_END_BANG = 51] = "COMMENT_END_BANG", e[e.DOCTYPE = 52] = "DOCTYPE", e[e.BEFORE_DOCTYPE_NAME = 53] = "BEFORE_DOCTYPE_NAME", e[e.DOCTYPE_NAME = 54] = "DOCTYPE_NAME", e[e.AFTER_DOCTYPE_NAME = 55] = "AFTER_DOCTYPE_NAME", e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD = 56] = "AFTER_DOCTYPE_PUBLIC_KEYWORD", e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER = 57] = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER", e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED = 58] = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED = 59] = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER = 60] = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER", e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS = 61] = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS", e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD = 62] = "AFTER_DOCTYPE_SYSTEM_KEYWORD", e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER = 63] = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER", e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED = 64] = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED = 65] = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER = 66] = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER", e[e.BOGUS_DOCTYPE = 67] = "BOGUS_DOCTYPE", e[e.CDATA_SECTION = 68] = "CDATA_SECTION", e[e.CDATA_SECTION_BRACKET = 69] = "CDATA_SECTION_BRACKET", e[e.CDATA_SECTION_END = 70] = "CDATA_SECTION_END", e[e.CHARACTER_REFERENCE = 71] = "CHARACTER_REFERENCE", e[e.AMBIGUOUS_AMPERSAND = 72] = "AMBIGUOUS_AMPERSAND";
|
|
14910
14910
|
})(M || (M = {}));
|
|
14911
|
-
const
|
|
14911
|
+
const we = {
|
|
14912
14912
|
DATA: M.DATA,
|
|
14913
14913
|
RCDATA: M.RCDATA,
|
|
14914
14914
|
RAWTEXT: M.RAWTEXT,
|
|
@@ -14931,7 +14931,7 @@ function yt(e) {
|
|
|
14931
14931
|
function Es(e) {
|
|
14932
14932
|
return yt(e) || Dm(e);
|
|
14933
14933
|
}
|
|
14934
|
-
function
|
|
14934
|
+
function jn(e) {
|
|
14935
14935
|
return e + 32;
|
|
14936
14936
|
}
|
|
14937
14937
|
function uu(e) {
|
|
@@ -15496,7 +15496,7 @@ class Rm {
|
|
|
15496
15496
|
break;
|
|
15497
15497
|
}
|
|
15498
15498
|
case L.NULL: {
|
|
15499
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15499
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(Se);
|
|
15500
15500
|
break;
|
|
15501
15501
|
}
|
|
15502
15502
|
case L.EOF: {
|
|
@@ -15516,7 +15516,7 @@ class Rm {
|
|
|
15516
15516
|
break;
|
|
15517
15517
|
}
|
|
15518
15518
|
case L.NULL: {
|
|
15519
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15519
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(Se);
|
|
15520
15520
|
break;
|
|
15521
15521
|
}
|
|
15522
15522
|
case L.EOF: {
|
|
@@ -15536,7 +15536,7 @@ class Rm {
|
|
|
15536
15536
|
break;
|
|
15537
15537
|
}
|
|
15538
15538
|
case L.NULL: {
|
|
15539
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15539
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(Se);
|
|
15540
15540
|
break;
|
|
15541
15541
|
}
|
|
15542
15542
|
case L.EOF: {
|
|
@@ -15552,7 +15552,7 @@ class Rm {
|
|
|
15552
15552
|
_statePlaintext(t) {
|
|
15553
15553
|
switch (t) {
|
|
15554
15554
|
case L.NULL: {
|
|
15555
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15555
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(Se);
|
|
15556
15556
|
break;
|
|
15557
15557
|
}
|
|
15558
15558
|
case L.EOF: {
|
|
@@ -15630,7 +15630,7 @@ class Rm {
|
|
|
15630
15630
|
break;
|
|
15631
15631
|
}
|
|
15632
15632
|
case L.NULL: {
|
|
15633
|
-
this._err(z.unexpectedNullCharacter), n.tagName +=
|
|
15633
|
+
this._err(z.unexpectedNullCharacter), n.tagName += Se;
|
|
15634
15634
|
break;
|
|
15635
15635
|
}
|
|
15636
15636
|
case L.EOF: {
|
|
@@ -15638,7 +15638,7 @@ class Rm {
|
|
|
15638
15638
|
break;
|
|
15639
15639
|
}
|
|
15640
15640
|
default:
|
|
15641
|
-
n.tagName += String.fromCodePoint(dn(t) ?
|
|
15641
|
+
n.tagName += String.fromCodePoint(dn(t) ? jn(t) : t);
|
|
15642
15642
|
}
|
|
15643
15643
|
}
|
|
15644
15644
|
// RCDATA less-than sign state
|
|
@@ -15739,7 +15739,7 @@ class Rm {
|
|
|
15739
15739
|
break;
|
|
15740
15740
|
}
|
|
15741
15741
|
case L.NULL: {
|
|
15742
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15742
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(Se);
|
|
15743
15743
|
break;
|
|
15744
15744
|
}
|
|
15745
15745
|
case L.EOF: {
|
|
@@ -15763,7 +15763,7 @@ class Rm {
|
|
|
15763
15763
|
break;
|
|
15764
15764
|
}
|
|
15765
15765
|
case L.NULL: {
|
|
15766
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(
|
|
15766
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(Se);
|
|
15767
15767
|
break;
|
|
15768
15768
|
}
|
|
15769
15769
|
case L.EOF: {
|
|
@@ -15791,7 +15791,7 @@ class Rm {
|
|
|
15791
15791
|
break;
|
|
15792
15792
|
}
|
|
15793
15793
|
case L.NULL: {
|
|
15794
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(
|
|
15794
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(Se);
|
|
15795
15795
|
break;
|
|
15796
15796
|
}
|
|
15797
15797
|
case L.EOF: {
|
|
@@ -15840,7 +15840,7 @@ class Rm {
|
|
|
15840
15840
|
break;
|
|
15841
15841
|
}
|
|
15842
15842
|
case L.NULL: {
|
|
15843
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15843
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(Se);
|
|
15844
15844
|
break;
|
|
15845
15845
|
}
|
|
15846
15846
|
case L.EOF: {
|
|
@@ -15864,7 +15864,7 @@ class Rm {
|
|
|
15864
15864
|
break;
|
|
15865
15865
|
}
|
|
15866
15866
|
case L.NULL: {
|
|
15867
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(
|
|
15867
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(Se);
|
|
15868
15868
|
break;
|
|
15869
15869
|
}
|
|
15870
15870
|
case L.EOF: {
|
|
@@ -15892,7 +15892,7 @@ class Rm {
|
|
|
15892
15892
|
break;
|
|
15893
15893
|
}
|
|
15894
15894
|
case L.NULL: {
|
|
15895
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(
|
|
15895
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(Se);
|
|
15896
15896
|
break;
|
|
15897
15897
|
}
|
|
15898
15898
|
case L.EOF: {
|
|
@@ -15966,11 +15966,11 @@ class Rm {
|
|
|
15966
15966
|
break;
|
|
15967
15967
|
}
|
|
15968
15968
|
case L.NULL: {
|
|
15969
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.name +=
|
|
15969
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.name += Se;
|
|
15970
15970
|
break;
|
|
15971
15971
|
}
|
|
15972
15972
|
default:
|
|
15973
|
-
this.currentAttr.name += String.fromCodePoint(dn(t) ?
|
|
15973
|
+
this.currentAttr.name += String.fromCodePoint(dn(t) ? jn(t) : t);
|
|
15974
15974
|
}
|
|
15975
15975
|
}
|
|
15976
15976
|
// After attribute name state
|
|
@@ -16040,7 +16040,7 @@ class Rm {
|
|
|
16040
16040
|
break;
|
|
16041
16041
|
}
|
|
16042
16042
|
case L.NULL: {
|
|
16043
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.value +=
|
|
16043
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.value += Se;
|
|
16044
16044
|
break;
|
|
16045
16045
|
}
|
|
16046
16046
|
case L.EOF: {
|
|
@@ -16064,7 +16064,7 @@ class Rm {
|
|
|
16064
16064
|
break;
|
|
16065
16065
|
}
|
|
16066
16066
|
case L.NULL: {
|
|
16067
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.value +=
|
|
16067
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.value += Se;
|
|
16068
16068
|
break;
|
|
16069
16069
|
}
|
|
16070
16070
|
case L.EOF: {
|
|
@@ -16095,7 +16095,7 @@ class Rm {
|
|
|
16095
16095
|
break;
|
|
16096
16096
|
}
|
|
16097
16097
|
case L.NULL: {
|
|
16098
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.value +=
|
|
16098
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.value += Se;
|
|
16099
16099
|
break;
|
|
16100
16100
|
}
|
|
16101
16101
|
case L.QUOTATION_MARK:
|
|
@@ -16172,7 +16172,7 @@ class Rm {
|
|
|
16172
16172
|
break;
|
|
16173
16173
|
}
|
|
16174
16174
|
case L.NULL: {
|
|
16175
|
-
this._err(z.unexpectedNullCharacter), n.data +=
|
|
16175
|
+
this._err(z.unexpectedNullCharacter), n.data += Se;
|
|
16176
16176
|
break;
|
|
16177
16177
|
}
|
|
16178
16178
|
default:
|
|
@@ -16237,7 +16237,7 @@ class Rm {
|
|
|
16237
16237
|
break;
|
|
16238
16238
|
}
|
|
16239
16239
|
case L.NULL: {
|
|
16240
|
-
this._err(z.unexpectedNullCharacter), n.data +=
|
|
16240
|
+
this._err(z.unexpectedNullCharacter), n.data += Se;
|
|
16241
16241
|
break;
|
|
16242
16242
|
}
|
|
16243
16243
|
case L.EOF: {
|
|
@@ -16372,7 +16372,7 @@ class Rm {
|
|
|
16372
16372
|
//------------------------------------------------------------------
|
|
16373
16373
|
_stateBeforeDoctypeName(t) {
|
|
16374
16374
|
if (dn(t))
|
|
16375
|
-
this._createDoctypeToken(String.fromCharCode(
|
|
16375
|
+
this._createDoctypeToken(String.fromCharCode(jn(t))), this.state = M.DOCTYPE_NAME;
|
|
16376
16376
|
else
|
|
16377
16377
|
switch (t) {
|
|
16378
16378
|
case L.SPACE:
|
|
@@ -16381,7 +16381,7 @@ class Rm {
|
|
|
16381
16381
|
case L.FORM_FEED:
|
|
16382
16382
|
break;
|
|
16383
16383
|
case L.NULL: {
|
|
16384
|
-
this._err(z.unexpectedNullCharacter), this._createDoctypeToken(
|
|
16384
|
+
this._err(z.unexpectedNullCharacter), this._createDoctypeToken(Se), this.state = M.DOCTYPE_NAME;
|
|
16385
16385
|
break;
|
|
16386
16386
|
}
|
|
16387
16387
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16417,7 +16417,7 @@ class Rm {
|
|
|
16417
16417
|
break;
|
|
16418
16418
|
}
|
|
16419
16419
|
case L.NULL: {
|
|
16420
|
-
this._err(z.unexpectedNullCharacter), n.name +=
|
|
16420
|
+
this._err(z.unexpectedNullCharacter), n.name += Se;
|
|
16421
16421
|
break;
|
|
16422
16422
|
}
|
|
16423
16423
|
case L.EOF: {
|
|
@@ -16425,7 +16425,7 @@ class Rm {
|
|
|
16425
16425
|
break;
|
|
16426
16426
|
}
|
|
16427
16427
|
default:
|
|
16428
|
-
n.name += String.fromCodePoint(dn(t) ?
|
|
16428
|
+
n.name += String.fromCodePoint(dn(t) ? jn(t) : t);
|
|
16429
16429
|
}
|
|
16430
16430
|
}
|
|
16431
16431
|
// After DOCTYPE name state
|
|
@@ -16522,7 +16522,7 @@ class Rm {
|
|
|
16522
16522
|
break;
|
|
16523
16523
|
}
|
|
16524
16524
|
case L.NULL: {
|
|
16525
|
-
this._err(z.unexpectedNullCharacter), n.publicId +=
|
|
16525
|
+
this._err(z.unexpectedNullCharacter), n.publicId += Se;
|
|
16526
16526
|
break;
|
|
16527
16527
|
}
|
|
16528
16528
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16547,7 +16547,7 @@ class Rm {
|
|
|
16547
16547
|
break;
|
|
16548
16548
|
}
|
|
16549
16549
|
case L.NULL: {
|
|
16550
|
-
this._err(z.unexpectedNullCharacter), n.publicId +=
|
|
16550
|
+
this._err(z.unexpectedNullCharacter), n.publicId += Se;
|
|
16551
16551
|
break;
|
|
16552
16552
|
}
|
|
16553
16553
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16696,7 +16696,7 @@ class Rm {
|
|
|
16696
16696
|
break;
|
|
16697
16697
|
}
|
|
16698
16698
|
case L.NULL: {
|
|
16699
|
-
this._err(z.unexpectedNullCharacter), n.systemId +=
|
|
16699
|
+
this._err(z.unexpectedNullCharacter), n.systemId += Se;
|
|
16700
16700
|
break;
|
|
16701
16701
|
}
|
|
16702
16702
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16721,7 +16721,7 @@ class Rm {
|
|
|
16721
16721
|
break;
|
|
16722
16722
|
}
|
|
16723
16723
|
case L.NULL: {
|
|
16724
|
-
this._err(z.unexpectedNullCharacter), n.systemId +=
|
|
16724
|
+
this._err(z.unexpectedNullCharacter), n.systemId += Se;
|
|
16725
16725
|
break;
|
|
16726
16726
|
}
|
|
16727
16727
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16843,7 +16843,7 @@ const lu = /* @__PURE__ */ new Set([d.DD, d.DT, d.LI, d.OPTGROUP, d.OPTION, d.P,
|
|
|
16843
16843
|
d.TH,
|
|
16844
16844
|
d.THEAD,
|
|
16845
16845
|
d.TR
|
|
16846
|
-
]),
|
|
16846
|
+
]), dr = /* @__PURE__ */ new Set([
|
|
16847
16847
|
d.APPLET,
|
|
16848
16848
|
d.CAPTION,
|
|
16849
16849
|
d.HTML,
|
|
@@ -16853,7 +16853,7 @@ const lu = /* @__PURE__ */ new Set([d.DD, d.DT, d.LI, d.OPTGROUP, d.OPTION, d.P,
|
|
|
16853
16853
|
d.TD,
|
|
16854
16854
|
d.TEMPLATE,
|
|
16855
16855
|
d.TH
|
|
16856
|
-
]), Bm = /* @__PURE__ */ new Set([...
|
|
16856
|
+
]), Bm = /* @__PURE__ */ new Set([...dr, d.OL, d.UL]), Fm = /* @__PURE__ */ new Set([...dr, d.BUTTON]), Ts = /* @__PURE__ */ new Set([d.ANNOTATION_XML, d.MI, d.MN, d.MO, d.MS, d.MTEXT]), xs = /* @__PURE__ */ new Set([d.DESC, d.FOREIGN_OBJECT, d.TITLE]), Hm = /* @__PURE__ */ new Set([d.TR, d.TEMPLATE, d.HTML]), $m = /* @__PURE__ */ new Set([d.TBODY, d.TFOOT, d.THEAD, d.TEMPLATE, d.HTML]), Um = /* @__PURE__ */ new Set([d.TABLE, d.TEMPLATE, d.HTML]), qm = /* @__PURE__ */ new Set([d.TD, d.TH]);
|
|
16857
16857
|
class zm {
|
|
16858
16858
|
get currentTmplContentOrNode() {
|
|
16859
16859
|
return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
|
|
@@ -16982,7 +16982,7 @@ class zm {
|
|
|
16982
16982
|
return !0;
|
|
16983
16983
|
}
|
|
16984
16984
|
hasInScope(t) {
|
|
16985
|
-
return this.hasInDynamicScope(t,
|
|
16985
|
+
return this.hasInDynamicScope(t, dr);
|
|
16986
16986
|
}
|
|
16987
16987
|
hasInListItemScope(t) {
|
|
16988
16988
|
return this.hasInDynamicScope(t, Bm);
|
|
@@ -16997,7 +16997,7 @@ class zm {
|
|
|
16997
16997
|
case Y.HTML: {
|
|
16998
16998
|
if (La.has(n))
|
|
16999
16999
|
return !0;
|
|
17000
|
-
if (
|
|
17000
|
+
if (dr.has(n))
|
|
17001
17001
|
return !1;
|
|
17002
17002
|
break;
|
|
17003
17003
|
}
|
|
@@ -17155,7 +17155,7 @@ const Tt = {
|
|
|
17155
17155
|
createDocument() {
|
|
17156
17156
|
return {
|
|
17157
17157
|
nodeName: "#document",
|
|
17158
|
-
mode:
|
|
17158
|
+
mode: Ze.NO_QUIRKS,
|
|
17159
17159
|
childNodes: []
|
|
17160
17160
|
};
|
|
17161
17161
|
},
|
|
@@ -17384,21 +17384,21 @@ function Km(e) {
|
|
|
17384
17384
|
}
|
|
17385
17385
|
function Qm(e) {
|
|
17386
17386
|
if (e.name !== cu)
|
|
17387
|
-
return
|
|
17387
|
+
return Ze.QUIRKS;
|
|
17388
17388
|
const { systemId: t } = e;
|
|
17389
17389
|
if (t && t.toLowerCase() === Ym)
|
|
17390
|
-
return
|
|
17390
|
+
return Ze.QUIRKS;
|
|
17391
17391
|
let { publicId: n } = e;
|
|
17392
17392
|
if (n !== null) {
|
|
17393
17393
|
if (n = n.toLowerCase(), jm.has(n))
|
|
17394
|
-
return
|
|
17394
|
+
return Ze.QUIRKS;
|
|
17395
17395
|
let r = t === null ? Wm : du;
|
|
17396
17396
|
if (As(n, r))
|
|
17397
|
-
return
|
|
17397
|
+
return Ze.QUIRKS;
|
|
17398
17398
|
if (r = t === null ? fu : Xm, As(n, r))
|
|
17399
|
-
return
|
|
17399
|
+
return Ze.LIMITED_QUIRKS;
|
|
17400
17400
|
}
|
|
17401
|
-
return
|
|
17401
|
+
return Ze.NO_QUIRKS;
|
|
17402
17402
|
}
|
|
17403
17403
|
const Ss = {
|
|
17404
17404
|
TEXT_HTML: "text/html",
|
|
@@ -17683,7 +17683,7 @@ class ks {
|
|
|
17683
17683
|
this._insertElement(t, Y.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = B.TEXT;
|
|
17684
17684
|
}
|
|
17685
17685
|
switchToPlaintextParsing() {
|
|
17686
|
-
this.insertionMode = B.TEXT, this.originalInsertionMode = B.IN_BODY, this.tokenizer.state =
|
|
17686
|
+
this.insertionMode = B.TEXT, this.originalInsertionMode = B.IN_BODY, this.tokenizer.state = we.PLAINTEXT;
|
|
17687
17687
|
}
|
|
17688
17688
|
//Fragment parsing
|
|
17689
17689
|
/** @protected */
|
|
@@ -17706,7 +17706,7 @@ class ks {
|
|
|
17706
17706
|
switch (this.fragmentContextID) {
|
|
17707
17707
|
case d.TITLE:
|
|
17708
17708
|
case d.TEXTAREA: {
|
|
17709
|
-
this.tokenizer.state =
|
|
17709
|
+
this.tokenizer.state = we.RCDATA;
|
|
17710
17710
|
break;
|
|
17711
17711
|
}
|
|
17712
17712
|
case d.STYLE:
|
|
@@ -17715,15 +17715,15 @@ class ks {
|
|
|
17715
17715
|
case d.NOEMBED:
|
|
17716
17716
|
case d.NOFRAMES:
|
|
17717
17717
|
case d.NOSCRIPT: {
|
|
17718
|
-
this.tokenizer.state =
|
|
17718
|
+
this.tokenizer.state = we.RAWTEXT;
|
|
17719
17719
|
break;
|
|
17720
17720
|
}
|
|
17721
17721
|
case d.SCRIPT: {
|
|
17722
|
-
this.tokenizer.state =
|
|
17722
|
+
this.tokenizer.state = we.SCRIPT_DATA;
|
|
17723
17723
|
break;
|
|
17724
17724
|
}
|
|
17725
17725
|
case d.PLAINTEXT: {
|
|
17726
|
-
this.tokenizer.state =
|
|
17726
|
+
this.tokenizer.state = we.PLAINTEXT;
|
|
17727
17727
|
break;
|
|
17728
17728
|
}
|
|
17729
17729
|
}
|
|
@@ -18071,15 +18071,15 @@ class ks {
|
|
|
18071
18071
|
break;
|
|
18072
18072
|
}
|
|
18073
18073
|
case B.IN_COLUMN_GROUP: {
|
|
18074
|
-
|
|
18074
|
+
fr(this, t);
|
|
18075
18075
|
break;
|
|
18076
18076
|
}
|
|
18077
18077
|
case B.AFTER_BODY: {
|
|
18078
|
-
|
|
18078
|
+
pr(this, t);
|
|
18079
18079
|
break;
|
|
18080
18080
|
}
|
|
18081
18081
|
case B.AFTER_AFTER_BODY: {
|
|
18082
|
-
|
|
18082
|
+
er(this, t);
|
|
18083
18083
|
break;
|
|
18084
18084
|
}
|
|
18085
18085
|
}
|
|
@@ -18126,15 +18126,15 @@ class ks {
|
|
|
18126
18126
|
break;
|
|
18127
18127
|
}
|
|
18128
18128
|
case B.IN_COLUMN_GROUP: {
|
|
18129
|
-
|
|
18129
|
+
fr(this, t);
|
|
18130
18130
|
break;
|
|
18131
18131
|
}
|
|
18132
18132
|
case B.AFTER_BODY: {
|
|
18133
|
-
|
|
18133
|
+
pr(this, t);
|
|
18134
18134
|
break;
|
|
18135
18135
|
}
|
|
18136
18136
|
case B.AFTER_AFTER_BODY: {
|
|
18137
|
-
|
|
18137
|
+
er(this, t);
|
|
18138
18138
|
break;
|
|
18139
18139
|
}
|
|
18140
18140
|
}
|
|
@@ -18268,11 +18268,11 @@ class ks {
|
|
|
18268
18268
|
break;
|
|
18269
18269
|
}
|
|
18270
18270
|
case B.IN_TABLE_BODY: {
|
|
18271
|
-
|
|
18271
|
+
_r(this, t);
|
|
18272
18272
|
break;
|
|
18273
18273
|
}
|
|
18274
18274
|
case B.IN_ROW: {
|
|
18275
|
-
|
|
18275
|
+
kr(this, t);
|
|
18276
18276
|
break;
|
|
18277
18277
|
}
|
|
18278
18278
|
case B.IN_CELL: {
|
|
@@ -18345,7 +18345,7 @@ class ks {
|
|
|
18345
18345
|
break;
|
|
18346
18346
|
}
|
|
18347
18347
|
case B.IN_BODY: {
|
|
18348
|
-
|
|
18348
|
+
Sr(this, t);
|
|
18349
18349
|
break;
|
|
18350
18350
|
}
|
|
18351
18351
|
case B.TEXT: {
|
|
@@ -18405,7 +18405,7 @@ class ks {
|
|
|
18405
18405
|
break;
|
|
18406
18406
|
}
|
|
18407
18407
|
case B.AFTER_AFTER_BODY: {
|
|
18408
|
-
|
|
18408
|
+
er(this, t);
|
|
18409
18409
|
break;
|
|
18410
18410
|
}
|
|
18411
18411
|
}
|
|
@@ -18596,11 +18596,11 @@ function ni(e, t) {
|
|
|
18596
18596
|
}
|
|
18597
18597
|
function xg(e, t) {
|
|
18598
18598
|
e._setDocumentType(t);
|
|
18599
|
-
const n = t.forceQuirks ?
|
|
18599
|
+
const n = t.forceQuirks ? Ze.QUIRKS : Qm(t);
|
|
18600
18600
|
Km(t) || e._err(t, z.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = B.BEFORE_HTML;
|
|
18601
18601
|
}
|
|
18602
18602
|
function ln(e, t) {
|
|
18603
|
-
e._err(t, z.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document,
|
|
18603
|
+
e._err(t, z.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, Ze.QUIRKS), e.insertionMode = B.BEFORE_HTML, e._processToken(t);
|
|
18604
18604
|
}
|
|
18605
18605
|
function Cg(e, t) {
|
|
18606
18606
|
t.tagID === d.HTML ? (e._insertElement(t, Y.HTML), e.insertionMode = B.BEFORE_HEAD) : gn(e, t);
|
|
@@ -18648,20 +18648,20 @@ function tt(e, t) {
|
|
|
18648
18648
|
break;
|
|
18649
18649
|
}
|
|
18650
18650
|
case d.TITLE: {
|
|
18651
|
-
e._switchToTextParsing(t,
|
|
18651
|
+
e._switchToTextParsing(t, we.RCDATA);
|
|
18652
18652
|
break;
|
|
18653
18653
|
}
|
|
18654
18654
|
case d.NOSCRIPT: {
|
|
18655
|
-
e.options.scriptingEnabled ? e._switchToTextParsing(t,
|
|
18655
|
+
e.options.scriptingEnabled ? e._switchToTextParsing(t, we.RAWTEXT) : (e._insertElement(t, Y.HTML), e.insertionMode = B.IN_HEAD_NO_SCRIPT);
|
|
18656
18656
|
break;
|
|
18657
18657
|
}
|
|
18658
18658
|
case d.NOFRAMES:
|
|
18659
18659
|
case d.STYLE: {
|
|
18660
|
-
e._switchToTextParsing(t,
|
|
18660
|
+
e._switchToTextParsing(t, we.RAWTEXT);
|
|
18661
18661
|
break;
|
|
18662
18662
|
}
|
|
18663
18663
|
case d.SCRIPT: {
|
|
18664
|
-
e._switchToTextParsing(t,
|
|
18664
|
+
e._switchToTextParsing(t, we.SCRIPT_DATA);
|
|
18665
18665
|
break;
|
|
18666
18666
|
}
|
|
18667
18667
|
case d.TEMPLATE: {
|
|
@@ -18796,9 +18796,9 @@ function Ig(e, t) {
|
|
|
18796
18796
|
}
|
|
18797
18797
|
}
|
|
18798
18798
|
function Tn(e, t) {
|
|
18799
|
-
e._insertFakeElement(U.BODY, d.BODY), e.insertionMode = B.IN_BODY,
|
|
18799
|
+
e._insertFakeElement(U.BODY, d.BODY), e.insertionMode = B.IN_BODY, Ar(e, t);
|
|
18800
18800
|
}
|
|
18801
|
-
function
|
|
18801
|
+
function Ar(e, t) {
|
|
18802
18802
|
switch (t.type) {
|
|
18803
18803
|
case ce.CHARACTER: {
|
|
18804
18804
|
Eu(e, t);
|
|
@@ -18817,7 +18817,7 @@ function Cr(e, t) {
|
|
|
18817
18817
|
break;
|
|
18818
18818
|
}
|
|
18819
18819
|
case ce.END_TAG: {
|
|
18820
|
-
|
|
18820
|
+
Sr(e, t);
|
|
18821
18821
|
break;
|
|
18822
18822
|
}
|
|
18823
18823
|
case ce.EOF: {
|
|
@@ -18871,7 +18871,7 @@ function Fg(e, t) {
|
|
|
18871
18871
|
e.openElements.hasInButtonScope(d.P) && e._closePElement(), e._insertElement(t, Y.HTML);
|
|
18872
18872
|
}
|
|
18873
18873
|
function Hg(e, t) {
|
|
18874
|
-
e.openElements.hasInButtonScope(d.P) && e._closePElement(), e._insertElement(t, Y.HTML), e.tokenizer.state =
|
|
18874
|
+
e.openElements.hasInButtonScope(d.P) && e._closePElement(), e._insertElement(t, Y.HTML), e.tokenizer.state = we.PLAINTEXT;
|
|
18875
18875
|
}
|
|
18876
18876
|
function $g(e, t) {
|
|
18877
18877
|
e.openElements.hasInScope(d.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(d.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, Y.HTML), e.framesetOk = !1;
|
|
@@ -18890,7 +18890,7 @@ function Vg(e, t) {
|
|
|
18890
18890
|
e._reconstructActiveFormattingElements(), e._insertElement(t, Y.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
|
|
18891
18891
|
}
|
|
18892
18892
|
function Gg(e, t) {
|
|
18893
|
-
e.treeAdapter.getDocumentMode(e.document) !==
|
|
18893
|
+
e.treeAdapter.getDocumentMode(e.document) !== Ze.QUIRKS && e.openElements.hasInButtonScope(d.P) && e._closePElement(), e._insertElement(t, Y.HTML), e.framesetOk = !1, e.insertionMode = B.IN_TABLE;
|
|
18894
18894
|
}
|
|
18895
18895
|
function bu(e, t) {
|
|
18896
18896
|
e._reconstructActiveFormattingElements(), e._appendElement(t, Y.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
|
|
@@ -18912,16 +18912,16 @@ function Xg(e, t) {
|
|
|
18912
18912
|
t.tagName = U.IMG, t.tagID = d.IMG, bu(e, t);
|
|
18913
18913
|
}
|
|
18914
18914
|
function Kg(e, t) {
|
|
18915
|
-
e._insertElement(t, Y.HTML), e.skipNextNewLine = !0, e.tokenizer.state =
|
|
18915
|
+
e._insertElement(t, Y.HTML), e.skipNextNewLine = !0, e.tokenizer.state = we.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = B.TEXT;
|
|
18916
18916
|
}
|
|
18917
18917
|
function Qg(e, t) {
|
|
18918
|
-
e.openElements.hasInButtonScope(d.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t,
|
|
18918
|
+
e.openElements.hasInButtonScope(d.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, we.RAWTEXT);
|
|
18919
18919
|
}
|
|
18920
18920
|
function Jg(e, t) {
|
|
18921
|
-
e.framesetOk = !1, e._switchToTextParsing(t,
|
|
18921
|
+
e.framesetOk = !1, e._switchToTextParsing(t, we.RAWTEXT);
|
|
18922
18922
|
}
|
|
18923
18923
|
function Ns(e, t) {
|
|
18924
|
-
e._switchToTextParsing(t,
|
|
18924
|
+
e._switchToTextParsing(t, we.RAWTEXT);
|
|
18925
18925
|
}
|
|
18926
18926
|
function Zg(e, t) {
|
|
18927
18927
|
e._reconstructActiveFormattingElements(), e._insertElement(t, Y.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === B.IN_TABLE || e.insertionMode === B.IN_CAPTION || e.insertionMode === B.IN_TABLE_BODY || e.insertionMode === B.IN_ROW || e.insertionMode === B.IN_CELL ? B.IN_SELECT_IN_TABLE : B.IN_SELECT;
|
|
@@ -19203,7 +19203,7 @@ function Tu(e, t) {
|
|
|
19203
19203
|
break;
|
|
19204
19204
|
}
|
|
19205
19205
|
}
|
|
19206
|
-
function
|
|
19206
|
+
function Sr(e, t) {
|
|
19207
19207
|
switch (t.tagID) {
|
|
19208
19208
|
case d.A:
|
|
19209
19209
|
case d.B:
|
|
@@ -19342,7 +19342,7 @@ function T1(e, t) {
|
|
|
19342
19342
|
e.openElements.clearBackToTableContext(), e._insertElement(t, Y.HTML), e.insertionMode = B.IN_TABLE_BODY;
|
|
19343
19343
|
}
|
|
19344
19344
|
function x1(e, t) {
|
|
19345
|
-
e.openElements.clearBackToTableContext(), e._insertFakeElement(U.TBODY, d.TBODY), e.insertionMode = B.IN_TABLE_BODY,
|
|
19345
|
+
e.openElements.clearBackToTableContext(), e._insertFakeElement(U.TBODY, d.TBODY), e.insertionMode = B.IN_TABLE_BODY, _r(e, t);
|
|
19346
19346
|
}
|
|
19347
19347
|
function C1(e, t) {
|
|
19348
19348
|
e.openElements.hasInTableScope(d.TABLE) && (e.openElements.popUntilTagNamePopped(d.TABLE), e._resetInsertionMode(), e._processStartTag(t));
|
|
@@ -19429,7 +19429,7 @@ function wn(e, t) {
|
|
|
19429
19429
|
}
|
|
19430
19430
|
function Pn(e, t) {
|
|
19431
19431
|
const n = e.fosterParentingEnabled;
|
|
19432
|
-
e.fosterParentingEnabled = !0,
|
|
19432
|
+
e.fosterParentingEnabled = !0, Ar(e, t), e.fosterParentingEnabled = n;
|
|
19433
19433
|
}
|
|
19434
19434
|
function Cu(e, t) {
|
|
19435
19435
|
e.pendingCharacterTokens.push(t);
|
|
@@ -19472,7 +19472,7 @@ function k1(e, t) {
|
|
|
19472
19472
|
case d.TR:
|
|
19473
19473
|
break;
|
|
19474
19474
|
default:
|
|
19475
|
-
|
|
19475
|
+
Sr(e, t);
|
|
19476
19476
|
}
|
|
19477
19477
|
}
|
|
19478
19478
|
function ri(e, t) {
|
|
@@ -19490,7 +19490,7 @@ function ri(e, t) {
|
|
|
19490
19490
|
break;
|
|
19491
19491
|
}
|
|
19492
19492
|
default:
|
|
19493
|
-
|
|
19493
|
+
fr(e, t);
|
|
19494
19494
|
}
|
|
19495
19495
|
}
|
|
19496
19496
|
function N1(e, t) {
|
|
@@ -19506,13 +19506,13 @@ function N1(e, t) {
|
|
|
19506
19506
|
case d.COL:
|
|
19507
19507
|
break;
|
|
19508
19508
|
default:
|
|
19509
|
-
|
|
19509
|
+
fr(e, t);
|
|
19510
19510
|
}
|
|
19511
19511
|
}
|
|
19512
|
-
function
|
|
19512
|
+
function fr(e, t) {
|
|
19513
19513
|
e.openElements.currentTagId === d.COLGROUP && (e.openElements.pop(), e.insertionMode = B.IN_TABLE, e._processToken(t));
|
|
19514
19514
|
}
|
|
19515
|
-
function
|
|
19515
|
+
function _r(e, t) {
|
|
19516
19516
|
switch (t.tagID) {
|
|
19517
19517
|
case d.TR: {
|
|
19518
19518
|
e.openElements.clearBackToTableBodyContext(), e._insertElement(t, Y.HTML), e.insertionMode = B.IN_ROW;
|
|
@@ -19520,7 +19520,7 @@ function Sr(e, t) {
|
|
|
19520
19520
|
}
|
|
19521
19521
|
case d.TH:
|
|
19522
19522
|
case d.TD: {
|
|
19523
|
-
e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(U.TR, d.TR), e.insertionMode = B.IN_ROW,
|
|
19523
|
+
e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(U.TR, d.TR), e.insertionMode = B.IN_ROW, kr(e, t);
|
|
19524
19524
|
break;
|
|
19525
19525
|
}
|
|
19526
19526
|
case d.CAPTION:
|
|
@@ -19562,7 +19562,7 @@ function Da(e, t) {
|
|
|
19562
19562
|
wn(e, t);
|
|
19563
19563
|
}
|
|
19564
19564
|
}
|
|
19565
|
-
function
|
|
19565
|
+
function kr(e, t) {
|
|
19566
19566
|
switch (t.tagID) {
|
|
19567
19567
|
case d.TH:
|
|
19568
19568
|
case d.TD: {
|
|
@@ -19576,7 +19576,7 @@ function _r(e, t) {
|
|
|
19576
19576
|
case d.TFOOT:
|
|
19577
19577
|
case d.THEAD:
|
|
19578
19578
|
case d.TR: {
|
|
19579
|
-
e.openElements.hasInTableScope(d.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = B.IN_TABLE_BODY,
|
|
19579
|
+
e.openElements.hasInTableScope(d.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = B.IN_TABLE_BODY, _r(e, t));
|
|
19580
19580
|
break;
|
|
19581
19581
|
}
|
|
19582
19582
|
default:
|
|
@@ -19613,7 +19613,7 @@ function _u(e, t) {
|
|
|
19613
19613
|
}
|
|
19614
19614
|
function v1(e, t) {
|
|
19615
19615
|
const n = t.tagID;
|
|
19616
|
-
Su.has(n) ? (e.openElements.hasInTableScope(d.TD) || e.openElements.hasInTableScope(d.TH)) && (e._closeTableCell(),
|
|
19616
|
+
Su.has(n) ? (e.openElements.hasInTableScope(d.TD) || e.openElements.hasInTableScope(d.TH)) && (e._closeTableCell(), kr(e, t)) : Re(e, t);
|
|
19617
19617
|
}
|
|
19618
19618
|
function w1(e, t) {
|
|
19619
19619
|
const n = t.tagID;
|
|
@@ -19638,7 +19638,7 @@ function w1(e, t) {
|
|
|
19638
19638
|
case d.HTML:
|
|
19639
19639
|
break;
|
|
19640
19640
|
default:
|
|
19641
|
-
|
|
19641
|
+
Sr(e, t);
|
|
19642
19642
|
}
|
|
19643
19643
|
}
|
|
19644
19644
|
function ku(e, t) {
|
|
@@ -19731,12 +19731,12 @@ function O1(e, t) {
|
|
|
19731
19731
|
break;
|
|
19732
19732
|
}
|
|
19733
19733
|
case d.TR: {
|
|
19734
|
-
e.tmplInsertionModeStack[0] = B.IN_TABLE_BODY, e.insertionMode = B.IN_TABLE_BODY,
|
|
19734
|
+
e.tmplInsertionModeStack[0] = B.IN_TABLE_BODY, e.insertionMode = B.IN_TABLE_BODY, _r(e, t);
|
|
19735
19735
|
break;
|
|
19736
19736
|
}
|
|
19737
19737
|
case d.TD:
|
|
19738
19738
|
case d.TH: {
|
|
19739
|
-
e.tmplInsertionModeStack[0] = B.IN_ROW, e.insertionMode = B.IN_ROW,
|
|
19739
|
+
e.tmplInsertionModeStack[0] = B.IN_ROW, e.insertionMode = B.IN_ROW, kr(e, t);
|
|
19740
19740
|
break;
|
|
19741
19741
|
}
|
|
19742
19742
|
default:
|
|
@@ -19750,7 +19750,7 @@ function vu(e, t) {
|
|
|
19750
19750
|
e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(d.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : ni(e, t);
|
|
19751
19751
|
}
|
|
19752
19752
|
function P1(e, t) {
|
|
19753
|
-
t.tagID === d.HTML ? Re(e, t) :
|
|
19753
|
+
t.tagID === d.HTML ? Re(e, t) : pr(e, t);
|
|
19754
19754
|
}
|
|
19755
19755
|
function wu(e, t) {
|
|
19756
19756
|
var n;
|
|
@@ -19761,10 +19761,10 @@ function wu(e, t) {
|
|
|
19761
19761
|
r && !(!((n = e.treeAdapter.getNodeSourceCodeLocation(r)) === null || n === void 0) && n.endTag) && e._setEndLocation(r, t);
|
|
19762
19762
|
}
|
|
19763
19763
|
} else
|
|
19764
|
-
|
|
19764
|
+
pr(e, t);
|
|
19765
19765
|
}
|
|
19766
|
-
function
|
|
19767
|
-
e.insertionMode = B.IN_BODY,
|
|
19766
|
+
function pr(e, t) {
|
|
19767
|
+
e.insertionMode = B.IN_BODY, Ar(e, t);
|
|
19768
19768
|
}
|
|
19769
19769
|
function M1(e, t) {
|
|
19770
19770
|
switch (t.tagID) {
|
|
@@ -19805,10 +19805,10 @@ function F1(e, t) {
|
|
|
19805
19805
|
t.tagID === d.HTML && (e.insertionMode = B.AFTER_AFTER_FRAMESET);
|
|
19806
19806
|
}
|
|
19807
19807
|
function H1(e, t) {
|
|
19808
|
-
t.tagID === d.HTML ? Re(e, t) :
|
|
19808
|
+
t.tagID === d.HTML ? Re(e, t) : er(e, t);
|
|
19809
19809
|
}
|
|
19810
|
-
function
|
|
19811
|
-
e.insertionMode = B.IN_BODY,
|
|
19810
|
+
function er(e, t) {
|
|
19811
|
+
e.insertionMode = B.IN_BODY, Ar(e, t);
|
|
19812
19812
|
}
|
|
19813
19813
|
function $1(e, t) {
|
|
19814
19814
|
switch (t.tagID) {
|
|
@@ -19823,7 +19823,7 @@ function $1(e, t) {
|
|
|
19823
19823
|
}
|
|
19824
19824
|
}
|
|
19825
19825
|
function U1(e, t) {
|
|
19826
|
-
t.chars =
|
|
19826
|
+
t.chars = Se, e._insertCharacters(t);
|
|
19827
19827
|
}
|
|
19828
19828
|
function q1(e, t) {
|
|
19829
19829
|
e._insertCharacters(t), e.framesetOk = !1;
|
|
@@ -19883,7 +19883,7 @@ function Lu(e, t) {
|
|
|
19883
19883
|
// To do: support `space`?
|
|
19884
19884
|
file: a.options.file
|
|
19885
19885
|
});
|
|
19886
|
-
return a.stitches &&
|
|
19886
|
+
return a.stitches && Cr(s, "comment", function(u, o, l) {
|
|
19887
19887
|
const m = (
|
|
19888
19888
|
/** @type {Stitch} */
|
|
19889
19889
|
/** @type {unknown} */
|
|
@@ -19973,7 +19973,7 @@ function Z1(e, t) {
|
|
|
19973
19973
|
function Jt(e, t) {
|
|
19974
19974
|
Pu(e, t);
|
|
19975
19975
|
const n = e.parser.tokenizer.currentCharacterToken;
|
|
19976
|
-
n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState =
|
|
19976
|
+
n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = we.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
|
|
19977
19977
|
}
|
|
19978
19978
|
function Pu(e, t) {
|
|
19979
19979
|
if (t && t.offset !== void 0) {
|
|
@@ -19990,7 +19990,7 @@ function Pu(e, t) {
|
|
|
19990
19990
|
}
|
|
19991
19991
|
function eE(e, t) {
|
|
19992
19992
|
const n = e.tagName.toLowerCase();
|
|
19993
|
-
if (t.parser.tokenizer.state ===
|
|
19993
|
+
if (t.parser.tokenizer.state === we.PLAINTEXT) return;
|
|
19994
19994
|
Jt(t, lt(e));
|
|
19995
19995
|
const r = t.parser.openElements.current;
|
|
19996
19996
|
let a = "namespaceURI" in r ? r.namespaceURI : vt.html;
|
|
@@ -20015,8 +20015,8 @@ function eE(e, t) {
|
|
|
20015
20015
|
}
|
|
20016
20016
|
function tE(e, t) {
|
|
20017
20017
|
const n = e.tagName.toLowerCase();
|
|
20018
|
-
if (!t.parser.tokenizer.inForeignNode && gm.includes(n) || t.parser.tokenizer.state ===
|
|
20019
|
-
Jt(t,
|
|
20018
|
+
if (!t.parser.tokenizer.inForeignNode && gm.includes(n) || t.parser.tokenizer.state === we.PLAINTEXT) return;
|
|
20019
|
+
Jt(t, br(e));
|
|
20020
20020
|
const r = {
|
|
20021
20021
|
type: ce.END_TAG,
|
|
20022
20022
|
tagName: n,
|
|
@@ -20028,9 +20028,9 @@ function tE(e, t) {
|
|
|
20028
20028
|
};
|
|
20029
20029
|
t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken), // Current element is closed.
|
|
20030
20030
|
n === t.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
|
|
20031
|
-
(t.parser.tokenizer.state ===
|
|
20032
|
-
t.parser.tokenizer.state ===
|
|
20033
|
-
t.parser.tokenizer.state ===
|
|
20031
|
+
(t.parser.tokenizer.state === we.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
|
|
20032
|
+
t.parser.tokenizer.state === we.RAWTEXT || // `<script>`
|
|
20033
|
+
t.parser.tokenizer.state === we.SCRIPT_DATA) && (t.parser.tokenizer.state = we.DATA);
|
|
20034
20034
|
}
|
|
20035
20035
|
function nE(e) {
|
|
20036
20036
|
const t = e.type === "root" ? e.children[0] : e;
|
|
@@ -20041,7 +20041,7 @@ function Mn(e) {
|
|
|
20041
20041
|
line: void 0,
|
|
20042
20042
|
column: void 0,
|
|
20043
20043
|
offset: void 0
|
|
20044
|
-
}, n =
|
|
20044
|
+
}, n = br(e) || {
|
|
20045
20045
|
line: void 0,
|
|
20046
20046
|
column: void 0,
|
|
20047
20047
|
offset: void 0
|
|
@@ -20994,7 +20994,7 @@ function si(e, t, n, r, a, i, s, u, o, l, m, p, E, h, c) {
|
|
|
20994
20994
|
return e.enter(r), e.enter(a), e.consume(x), e.exit(a), y;
|
|
20995
20995
|
}
|
|
20996
20996
|
function y(x) {
|
|
20997
|
-
return x === 35 ? (f = s, T(x)) : x === 46 ? (f = u, T(x)) : c && me(x) ? ge(e, y, "whitespace")(x) : !c &&
|
|
20997
|
+
return x === 35 ? (f = s, T(x)) : x === 46 ? (f = u, T(x)) : c && me(x) ? ge(e, y, "whitespace")(x) : !c && ve(x) ? mt(e, y)(x) : x === null || Z(x) || vn(x) || Nn(x) && x !== 45 && x !== 95 ? N(x) : (e.enter(i), e.enter(o), e.consume(x), S);
|
|
20998
20998
|
}
|
|
20999
20999
|
function T(x) {
|
|
21000
21000
|
const P = (
|
|
@@ -21004,7 +21004,7 @@ function si(e, t, n, r, a, i, s, u, o, l, m, p, E, h, c) {
|
|
|
21004
21004
|
return e.enter(i), e.enter(f), e.enter(P), e.consume(x), e.exit(P), C;
|
|
21005
21005
|
}
|
|
21006
21006
|
function C(x) {
|
|
21007
|
-
if (x === null || x === 34 || x === 35 || x === 39 || x === 46 || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 ||
|
|
21007
|
+
if (x === null || x === 34 || x === 35 || x === 39 || x === 46 || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || ve(x))
|
|
21008
21008
|
return n(x);
|
|
21009
21009
|
const P = (
|
|
21010
21010
|
/** @type {TokenType} */
|
|
@@ -21015,7 +21015,7 @@ function si(e, t, n, r, a, i, s, u, o, l, m, p, E, h, c) {
|
|
|
21015
21015
|
function A(x) {
|
|
21016
21016
|
if (x === null || x === 34 || x === 39 || x === 60 || x === 61 || x === 62 || x === 96)
|
|
21017
21017
|
return n(x);
|
|
21018
|
-
if (x === 35 || x === 46 || x === 125 ||
|
|
21018
|
+
if (x === 35 || x === 46 || x === 125 || ve(x)) {
|
|
21019
21019
|
const P = (
|
|
21020
21020
|
/** @type {TokenType} */
|
|
21021
21021
|
f + "Value"
|
|
@@ -21025,16 +21025,16 @@ function si(e, t, n, r, a, i, s, u, o, l, m, p, E, h, c) {
|
|
|
21025
21025
|
return e.consume(x), A;
|
|
21026
21026
|
}
|
|
21027
21027
|
function S(x) {
|
|
21028
|
-
return x === null || Z(x) || vn(x) || Nn(x) && x !== 45 && x !== 46 && x !== 58 && x !== 95 ? (e.exit(o), c && me(x) ? ge(e, v, "whitespace")(x) : !c &&
|
|
21028
|
+
return x === null || Z(x) || vn(x) || Nn(x) && x !== 45 && x !== 46 && x !== 58 && x !== 95 ? (e.exit(o), c && me(x) ? ge(e, v, "whitespace")(x) : !c && ve(x) ? mt(e, v)(x) : v(x)) : (e.consume(x), S);
|
|
21029
21029
|
}
|
|
21030
21030
|
function v(x) {
|
|
21031
21031
|
return x === 61 ? (e.enter(l), e.consume(x), e.exit(l), _) : (e.exit(i), y(x));
|
|
21032
21032
|
}
|
|
21033
21033
|
function _(x) {
|
|
21034
|
-
return x === null || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || c && Z(x) ? n(x) : x === 34 || x === 39 ? (e.enter(m), e.enter(E), e.consume(x), e.exit(E), b = x, O) : c && me(x) ? ge(e, _, "whitespace")(x) : !c &&
|
|
21034
|
+
return x === null || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || c && Z(x) ? n(x) : x === 34 || x === 39 ? (e.enter(m), e.enter(E), e.consume(x), e.exit(E), b = x, O) : c && me(x) ? ge(e, _, "whitespace")(x) : !c && ve(x) ? mt(e, _)(x) : (e.enter(p), e.enter(h), e.consume(x), b = void 0, w);
|
|
21035
21035
|
}
|
|
21036
21036
|
function w(x) {
|
|
21037
|
-
return x === null || x === 34 || x === 39 || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 125 ||
|
|
21037
|
+
return x === null || x === 34 || x === 39 || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 125 || ve(x) ? (e.exit(h), e.exit(p), e.exit(i), y(x)) : (e.consume(x), w);
|
|
21038
21038
|
}
|
|
21039
21039
|
function O(x) {
|
|
21040
21040
|
return x === b ? (e.enter(E), e.consume(x), e.exit(E), e.exit(m), e.exit(i), F) : (e.enter(p), I(x));
|
|
@@ -21046,7 +21046,7 @@ function si(e, t, n, r, a, i, s, u, o, l, m, p, E, h, c) {
|
|
|
21046
21046
|
return x === b || x === null || Z(x) ? (e.exit(h), I(x)) : (e.consume(x), D);
|
|
21047
21047
|
}
|
|
21048
21048
|
function F(x) {
|
|
21049
|
-
return x === 125 ||
|
|
21049
|
+
return x === 125 || ve(x) ? y(x) : N(x);
|
|
21050
21050
|
}
|
|
21051
21051
|
function N(x) {
|
|
21052
21052
|
return x === 125 ? (e.enter(a), e.consume(x), e.exit(a), e.exit(r), t) : n(x);
|
|
@@ -21100,7 +21100,7 @@ const $E = {
|
|
|
21100
21100
|
}, qE = {
|
|
21101
21101
|
tokenize: GE,
|
|
21102
21102
|
partial: !0
|
|
21103
|
-
},
|
|
21103
|
+
}, Xn = {
|
|
21104
21104
|
tokenize: YE,
|
|
21105
21105
|
partial: !0
|
|
21106
21106
|
};
|
|
@@ -21124,10 +21124,10 @@ function zE(e, t, n) {
|
|
|
21124
21124
|
return ge(e, h, "whitespace")(w);
|
|
21125
21125
|
}
|
|
21126
21126
|
function h(w) {
|
|
21127
|
-
return e.exit("directiveContainerFence"), w === null ? v(w) : Z(w) ? r.interrupt ? t(w) : e.attempt(
|
|
21127
|
+
return e.exit("directiveContainerFence"), w === null ? v(w) : Z(w) ? r.interrupt ? t(w) : e.attempt(Xn, c, v)(w) : n(w);
|
|
21128
21128
|
}
|
|
21129
21129
|
function c(w) {
|
|
21130
|
-
return w === null ? v(w) : Z(w) ? e.check(
|
|
21130
|
+
return w === null ? v(w) : Z(w) ? e.check(Xn, T, v)(w) : (e.enter("directiveContainerContent"), f(w));
|
|
21131
21131
|
}
|
|
21132
21132
|
function f(w) {
|
|
21133
21133
|
return e.attempt({
|
|
@@ -21136,14 +21136,14 @@ function zE(e, t, n) {
|
|
|
21136
21136
|
}, S, i ? ge(e, b, "linePrefix", i + 1) : b)(w);
|
|
21137
21137
|
}
|
|
21138
21138
|
function b(w) {
|
|
21139
|
-
return w === null ? S(w) : Z(w) ? e.check(
|
|
21139
|
+
return w === null ? S(w) : Z(w) ? e.check(Xn, y, S)(w) : y(w);
|
|
21140
21140
|
}
|
|
21141
21141
|
function g(w) {
|
|
21142
21142
|
if (w === null) {
|
|
21143
21143
|
const O = e.exit("chunkDocument");
|
|
21144
21144
|
return r.parser.lazy[O.start.line] = !1, S(w);
|
|
21145
21145
|
}
|
|
21146
|
-
return Z(w) ? e.check(
|
|
21146
|
+
return Z(w) ? e.check(Xn, C, A)(w) : (e.consume(w), g);
|
|
21147
21147
|
}
|
|
21148
21148
|
function y(w) {
|
|
21149
21149
|
const O = e.enter("chunkDocument", {
|
|
@@ -21302,7 +21302,7 @@ const ha = {
|
|
|
21302
21302
|
]
|
|
21303
21303
|
}
|
|
21304
21304
|
}, ma = () => (e) => {
|
|
21305
|
-
|
|
21305
|
+
Cr(e, (t) => {
|
|
21306
21306
|
const n = t;
|
|
21307
21307
|
if (!n || n.type !== "textDirective" && n.type !== "leafDirective" && n.type !== "containerDirective" || n.name !== "color") return;
|
|
21308
21308
|
const r = n.attributes || {}, a = r.hex ?? r.color ?? r.value, i = typeof a == "string" ? a.trim() : "", s = /^#([0-9a-fA-F]{6})$/.test(i) ? i : "#7C3AED", u = r.bold, l = `${u === !0 || u === "true" || u === 1 || u === "1" ? "font-weight:700;" : ""}color:${s};`;
|
|
@@ -21379,7 +21379,7 @@ const ha = {
|
|
|
21379
21379
|
typeof $ == "string" && D($);
|
|
21380
21380
|
});
|
|
21381
21381
|
});
|
|
21382
|
-
}, [e]),
|
|
21382
|
+
}, [e]), et(() => {
|
|
21383
21383
|
if (!i) return;
|
|
21384
21384
|
if (r?.type !== "upload" && r?.type !== "tag" && r?.type !== "variable") {
|
|
21385
21385
|
S(null);
|
|
@@ -21397,8 +21397,8 @@ const ha = {
|
|
|
21397
21397
|
const re = R.getBoundingClientRect(), pe = I.getBoundingClientRect(), ae = Math.ceil(pe.height || 0), ee = Math.max(
|
|
21398
21398
|
0,
|
|
21399
21399
|
Math.floor(window.innerHeight - re.bottom)
|
|
21400
|
-
), he = Math.max(0, Math.floor(re.top)),
|
|
21401
|
-
_(
|
|
21400
|
+
), he = Math.max(0, Math.floor(re.top)), ye = ee < ae + 12 && he > ee;
|
|
21401
|
+
_(ye ? "top" : "bottom");
|
|
21402
21402
|
}
|
|
21403
21403
|
});
|
|
21404
21404
|
return () => cancelAnimationFrame(O);
|
|
@@ -21597,7 +21597,7 @@ const ha = {
|
|
|
21597
21597
|
border: "0.5px solid #E5E5E5"
|
|
21598
21598
|
});
|
|
21599
21599
|
const N = "#0A0A0A", x = v;
|
|
21600
|
-
return
|
|
21600
|
+
return mr(
|
|
21601
21601
|
/* @__PURE__ */ G(
|
|
21602
21602
|
il,
|
|
21603
21603
|
{
|
|
@@ -21669,7 +21669,7 @@ const ha = {
|
|
|
21669
21669
|
}, db = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Hu = (e, t) => {
|
|
21670
21670
|
const r = (e.key ? t[e.key] : void 0) || e.text || "", a = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", i = ot(e.tooltip), s = i ? ` data-tooltip="${fe(i)}" data-variable-key="${e.key || ""}"` : "";
|
|
21671
21671
|
if (e.useAntd === !0) {
|
|
21672
|
-
const E = r ? encodeURIComponent(r) : "", h = fe(e.placeholder || ""), c = e.allowNewline === !1 ? ' data-allow-newline="0"' : ' data-allow-newline="1"', f =
|
|
21672
|
+
const E = r ? encodeURIComponent(r) : "", h = fe(e.placeholder || ""), c = e.allowNewline === !1 ? ' data-allow-newline="0"' : ' data-allow-newline="1"', f = ar(r || e.placeholder || ""), b = i && !r ? 18 : 0;
|
|
21673
21673
|
return `<span contenteditable="false" data-type="variable" data-variable-render="antd-textarea" data-key="${e.key}" data-value="${E}" data-placeholder="${h}" data-estimated-width="${Math.min(
|
|
21674
21674
|
600,
|
|
21675
21675
|
f + b
|
|
@@ -21745,7 +21745,7 @@ const ha = {
|
|
|
21745
21745
|
const n = t[e.key] || "", r = e.placeholder ? ` data-placeholder="${e.placeholder}"` : "", a = e.limitRange ? ` data-limit-range="${e.limitRange}"` : "", i = e.disableFuture ? ' data-disable-future="true"' : "", s = `<div data-type="datepicker" data-key="${e.key}" data-value="${n}" class="rte-datepicker-host"${r}${a}${i}></div>`;
|
|
21746
21746
|
return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${vb}${s}</span>` : s;
|
|
21747
21747
|
}, Ib = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Lb = (e, t) => {
|
|
21748
|
-
const n = t[e.key] || (typeof e.defaultNumber == "number" ? String(e.defaultNumber) : ""), r = typeof e.min == "number" ? ` min="${e.min}"` : "", a = typeof e.max == "number" ? ` max="${e.max}"` : "", i = e.placeholder ? fe(e.placeholder) : "", s = i ? ` placeholder="${i}"` : "", u = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", o = n || e.placeholder || "", l =
|
|
21748
|
+
const n = t[e.key] || (typeof e.defaultNumber == "number" ? String(e.defaultNumber) : ""), r = typeof e.min == "number" ? ` min="${e.min}"` : "", a = typeof e.max == "number" ? ` max="${e.max}"` : "", i = e.placeholder ? fe(e.placeholder) : "", s = i ? ` placeholder="${i}"` : "", u = e.exclusionGroup ? ` data-group="${e.exclusionGroup}"` : "", o = n || e.placeholder || "", l = ar(o), m = `<input type="text" inputmode="numeric" data-type="number-input" data-key="${e.key}" class="rte-number-input" value="${fe(n)}" style="width: ${l}px;"${r}${a}${s}${u} />`, E = `<span class="rte-number-input-wrap" data-placeholder="${i}" data-has-value="${n ? "1" : "0"}">${m}</span>`;
|
|
21749
21749
|
return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group">${Ib}${E}</span>` : E;
|
|
21750
21750
|
}, Ob = `<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`, Db = (e, t, n) => {
|
|
21751
21751
|
const r = e.maxCount || 9, a = n[e.key] || 1, i = Math.min(a, r);
|
|
@@ -22362,7 +22362,7 @@ function Rb(e, t, n, r, a = {}, i, s, u, o, l) {
|
|
|
22362
22362
|
a,
|
|
22363
22363
|
u
|
|
22364
22364
|
), setTimeout(() => {
|
|
22365
|
-
|
|
22365
|
+
gr(e);
|
|
22366
22366
|
}, 0), i?.current) {
|
|
22367
22367
|
const { key: g, offset: y } = i.current;
|
|
22368
22368
|
setTimeout(() => {
|
|
@@ -22673,7 +22673,7 @@ function qb(e, t) {
|
|
|
22673
22673
|
};
|
|
22674
22674
|
}, [e, t]);
|
|
22675
22675
|
}
|
|
22676
|
-
var
|
|
22676
|
+
var tr = { exports: {} }, zb = tr.exports, Hs;
|
|
22677
22677
|
function $u() {
|
|
22678
22678
|
return Hs || (Hs = 1, function(e, t) {
|
|
22679
22679
|
(function(n, r) {
|
|
@@ -22764,11 +22764,11 @@ function $u() {
|
|
|
22764
22764
|
}, x.valueOf = function() {
|
|
22765
22765
|
return this.$d.getTime();
|
|
22766
22766
|
}, x.startOf = function(P, H) {
|
|
22767
|
-
var $ = this, q = !!I.u(H) || H, k = I.p(P), W = function(
|
|
22768
|
-
var Be = I.w($.$u ? Date.UTC($.$y,
|
|
22767
|
+
var $ = this, q = !!I.u(H) || H, k = I.p(P), W = function(Ce, ye) {
|
|
22768
|
+
var Be = I.w($.$u ? Date.UTC($.$y, ye, Ce) : new Date($.$y, ye, Ce), $);
|
|
22769
22769
|
return q ? Be : Be.endOf(l);
|
|
22770
|
-
}, Q = function(
|
|
22771
|
-
return I.w($.toDate()[
|
|
22770
|
+
}, Q = function(Ce, ye) {
|
|
22771
|
+
return I.w($.toDate()[Ce].apply($.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ye)), $);
|
|
22772
22772
|
}, R = this.$W, re = this.$M, pe = this.$D, ae = "set" + (this.$u ? "UTC" : "");
|
|
22773
22773
|
switch (k) {
|
|
22774
22774
|
case h:
|
|
@@ -22821,15 +22821,15 @@ function $u() {
|
|
|
22821
22821
|
}, x.format = function(P) {
|
|
22822
22822
|
var H = this, $ = this.$locale();
|
|
22823
22823
|
if (!this.isValid()) return $.invalidDate || f;
|
|
22824
|
-
var q = P || "YYYY-MM-DDTHH:mm:ssZ", k = I.z(this), W = this.$H, Q = this.$m, R = this.$M, re = $.weekdays, pe = $.months, ae = $.meridiem, ee = function(
|
|
22825
|
-
return
|
|
22826
|
-
}, he = function(
|
|
22827
|
-
return I.s(W % 12 || 12,
|
|
22828
|
-
},
|
|
22829
|
-
var gt =
|
|
22824
|
+
var q = P || "YYYY-MM-DDTHH:mm:ssZ", k = I.z(this), W = this.$H, Q = this.$m, R = this.$M, re = $.weekdays, pe = $.months, ae = $.meridiem, ee = function(ye, Be, ct, gt) {
|
|
22825
|
+
return ye && (ye[Be] || ye(H, q)) || ct[Be].slice(0, gt);
|
|
22826
|
+
}, he = function(ye) {
|
|
22827
|
+
return I.s(W % 12 || 12, ye, "0");
|
|
22828
|
+
}, Ce = ae || function(ye, Be, ct) {
|
|
22829
|
+
var gt = ye < 12 ? "AM" : "PM";
|
|
22830
22830
|
return ct ? gt.toLowerCase() : gt;
|
|
22831
22831
|
};
|
|
22832
|
-
return q.replace(g, function(
|
|
22832
|
+
return q.replace(g, function(ye, Be) {
|
|
22833
22833
|
return Be || function(ct) {
|
|
22834
22834
|
switch (ct) {
|
|
22835
22835
|
case "YY":
|
|
@@ -22865,9 +22865,9 @@ function $u() {
|
|
|
22865
22865
|
case "hh":
|
|
22866
22866
|
return he(2);
|
|
22867
22867
|
case "a":
|
|
22868
|
-
return
|
|
22868
|
+
return Ce(W, Q, !0);
|
|
22869
22869
|
case "A":
|
|
22870
|
-
return
|
|
22870
|
+
return Ce(W, Q, !1);
|
|
22871
22871
|
case "m":
|
|
22872
22872
|
return String(Q);
|
|
22873
22873
|
case "mm":
|
|
@@ -22882,7 +22882,7 @@ function $u() {
|
|
|
22882
22882
|
return k;
|
|
22883
22883
|
}
|
|
22884
22884
|
return null;
|
|
22885
|
-
}(
|
|
22885
|
+
}(ye) || k.replace(":", "");
|
|
22886
22886
|
});
|
|
22887
22887
|
}, x.utcOffset = function() {
|
|
22888
22888
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -22949,11 +22949,11 @@ function $u() {
|
|
|
22949
22949
|
return O(1e3 * N);
|
|
22950
22950
|
}, O.en = S[A], O.Ls = S, O.p = {}, O;
|
|
22951
22951
|
});
|
|
22952
|
-
}(
|
|
22952
|
+
}(tr)), tr.exports;
|
|
22953
22953
|
}
|
|
22954
22954
|
var Vb = $u();
|
|
22955
|
-
const
|
|
22956
|
-
var
|
|
22955
|
+
const nr = /* @__PURE__ */ Ua(Vb);
|
|
22956
|
+
var rr = { exports: {} }, Gb = rr.exports, $s;
|
|
22957
22957
|
function Yb() {
|
|
22958
22958
|
return $s || ($s = 1, function(e, t) {
|
|
22959
22959
|
(function(n, r) {
|
|
@@ -22970,7 +22970,7 @@ function Yb() {
|
|
|
22970
22970
|
} };
|
|
22971
22971
|
return a.default.locale(i, null, !0), i;
|
|
22972
22972
|
});
|
|
22973
|
-
}(
|
|
22973
|
+
}(rr)), rr.exports;
|
|
22974
22974
|
}
|
|
22975
22975
|
Yb();
|
|
22976
22976
|
function In(e) {
|
|
@@ -23076,14 +23076,14 @@ const Jb = {
|
|
|
23076
23076
|
timePickerLocale: Object.assign({}, Jb)
|
|
23077
23077
|
};
|
|
23078
23078
|
Uu.lang.ok = "确定";
|
|
23079
|
-
|
|
23079
|
+
nr.locale("zh-cn");
|
|
23080
23080
|
const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
23081
23081
|
const n = e.dataset.key, r = e.dataset.value, a = e.dataset.placeholder, i = e.dataset.limitRange ? parseInt(e.dataset.limitRange, 10) : void 0, s = e.dataset.disableFuture === "true", [u, o] = te(() => {
|
|
23082
23082
|
if (!r) return null;
|
|
23083
23083
|
const f = r.split(",");
|
|
23084
|
-
return f.length === 2 && f[0] && f[1] ? [
|
|
23084
|
+
return f.length === 2 && f[0] && f[1] ? [nr(f[0]), nr(f[1])] : null;
|
|
23085
23085
|
}), [l, m] = te(null);
|
|
23086
|
-
return
|
|
23086
|
+
return mr(
|
|
23087
23087
|
/* @__PURE__ */ G(
|
|
23088
23088
|
"div",
|
|
23089
23089
|
{
|
|
@@ -23103,7 +23103,7 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23103
23103
|
Zb,
|
|
23104
23104
|
{
|
|
23105
23105
|
value: u,
|
|
23106
|
-
disabledDate: (f) => f ? s && f.isAfter(
|
|
23106
|
+
disabledDate: (f) => f ? s && f.isAfter(nr(), "day") ? !0 : !i || !l || !l[0] ? !1 : Math.abs(f.diff(l[0], "days")) > i : !1,
|
|
23107
23107
|
onCalendarChange: (f) => {
|
|
23108
23108
|
m(f);
|
|
23109
23109
|
},
|
|
@@ -23226,8 +23226,8 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23226
23226
|
setActiveBatchKey: W,
|
|
23227
23227
|
setActiveBatchStartIndex: R,
|
|
23228
23228
|
setFiles: H
|
|
23229
|
-
}), he = J(!1),
|
|
23230
|
-
handleMouseDown:
|
|
23229
|
+
}), he = J(!1), Ce = J(null), {
|
|
23230
|
+
handleMouseDown: ye,
|
|
23231
23231
|
handleMouseMove: Be,
|
|
23232
23232
|
handleMouseUp: ct,
|
|
23233
23233
|
handleDoubleClick: gt
|
|
@@ -23237,8 +23237,8 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23237
23237
|
editorRef: F,
|
|
23238
23238
|
setPopoverVisible: pe,
|
|
23239
23239
|
isDraggingRef: he,
|
|
23240
|
-
mouseDownPosRef:
|
|
23241
|
-
}), [Bn, kt] = te(!1), Zt = J(null), [Fn, Hn] = te(!0), $n = J(0), [en,
|
|
23240
|
+
mouseDownPosRef: Ce
|
|
23241
|
+
}), [Bn, kt] = te(!1), Zt = J(null), [Fn, Hn] = te(!0), $n = J(0), [en, Nr] = te(58), [vr, wr] = te(58), [Ir, Lr] = te(!1), [V, K] = te(null), se = J(!1), oe = J(!1), le = J(null), [$e, nt] = te({}), je = J(() => {
|
|
23242
23242
|
}), [Xe, dt] = te({}), Pe = J(() => {
|
|
23243
23243
|
}), Et = J({}), Ve = J(Xe);
|
|
23244
23244
|
ne(() => {
|
|
@@ -23251,8 +23251,8 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23251
23251
|
}, [Rt]);
|
|
23252
23252
|
const [Bt, tn] = te(() => {
|
|
23253
23253
|
const Ee = {};
|
|
23254
|
-
return e.forEach((
|
|
23255
|
-
|
|
23254
|
+
return e.forEach((be) => {
|
|
23255
|
+
be.type === "multi-variable" && be.key && (Ee[be.key] = 1);
|
|
23256
23256
|
}), Ee;
|
|
23257
23257
|
});
|
|
23258
23258
|
Gl({
|
|
@@ -23265,26 +23265,26 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23265
23265
|
}), ne(() => {
|
|
23266
23266
|
if (!v) return;
|
|
23267
23267
|
const Ee = {};
|
|
23268
|
-
e.forEach((
|
|
23269
|
-
if (
|
|
23270
|
-
const
|
|
23271
|
-
if (Array.isArray(
|
|
23272
|
-
const Ft =
|
|
23273
|
-
Ee[
|
|
23268
|
+
e.forEach((be) => {
|
|
23269
|
+
if (be.type === "multi-variable" && be.key) {
|
|
23270
|
+
const Fe = v[be.key];
|
|
23271
|
+
if (Array.isArray(Fe) && Fe.length > 0) {
|
|
23272
|
+
const Ft = be.maxCount ?? 9;
|
|
23273
|
+
Ee[be.key] = Math.min(Fe.length, Ft);
|
|
23274
23274
|
}
|
|
23275
23275
|
}
|
|
23276
|
-
}), Object.keys(Ee).length > 0 && tn((
|
|
23276
|
+
}), Object.keys(Ee).length > 0 && tn((be) => ({ ...be, ...Ee }));
|
|
23277
23277
|
}, [v, e]);
|
|
23278
|
-
const
|
|
23278
|
+
const Ne = Kl({
|
|
23279
23279
|
config: e,
|
|
23280
|
-
reportAnalyzeState:
|
|
23280
|
+
reportAnalyzeState: $e,
|
|
23281
23281
|
markdownAnalyzeState: Xe,
|
|
23282
23282
|
markdownNameAnalyzeState: Rt
|
|
23283
23283
|
}), { handleReportUrlBlur: zu, handleMarkdownBlur: Vu, handleMarkdownNameBlur: Gu } = Wl({
|
|
23284
23284
|
reportAnalyze: g,
|
|
23285
23285
|
markdownAnalyze: y,
|
|
23286
23286
|
markdownNameAnalyze: T,
|
|
23287
|
-
reportAnalyzeState:
|
|
23287
|
+
reportAnalyzeState: $e,
|
|
23288
23288
|
setReportAnalyzeState: nt,
|
|
23289
23289
|
markdownAnalyzeState: Xe,
|
|
23290
23290
|
setMarkdownAnalyzeState: dt,
|
|
@@ -23297,78 +23297,86 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23297
23297
|
markdownAnalyzeStateRef: Ve,
|
|
23298
23298
|
markdownNameAnalyzeStateRef: di
|
|
23299
23299
|
});
|
|
23300
|
-
Hl(F, zu, [
|
|
23301
|
-
const
|
|
23302
|
-
fi.current !==
|
|
23303
|
-
if (!v || !
|
|
23304
|
-
const Ee =
|
|
23300
|
+
Hl(F, zu, [Ne]), $l(F, Gu, [Ne]), Ul(F, Vu, [Ne]), Fl(F, [Ne]), Rb(F, Ne, P, i, Bt, Zt, void 0, h, void 0, v);
|
|
23301
|
+
const Un = J(/* @__PURE__ */ new Set()), fi = J(Ne);
|
|
23302
|
+
fi.current !== Ne && (fi.current = Ne, Un.current = /* @__PURE__ */ new Set()), ne(() => {
|
|
23303
|
+
if (!v || !Ne || Ne.length === 0) return;
|
|
23304
|
+
const Ee = Ne.filter((Ae) => Ae.type === "upload" && Ae.key);
|
|
23305
23305
|
if (Ee.length === 0) return;
|
|
23306
|
-
|
|
23307
|
-
|
|
23306
|
+
console.log("[upload-backfill] === 开始 ==="), console.log("[upload-backfill] uploadNodes:", Ee.map((Ae) => ({ key: Ae.key, maxCount: Ae.maxCount }))), console.log("[upload-backfill] nodeValues keys:", Object.keys(v)), console.log("[upload-backfill] 已处理过的 key:", [...Un.current]);
|
|
23307
|
+
const be = {}, Fe = [], Ft = (Ae, Te) => {
|
|
23308
|
+
Te && (Te instanceof File ? be[Ae] = Te : typeof Te == "string" && Te.trim() && Fe.push({ key: Ae, url: Te.trim() }));
|
|
23308
23309
|
};
|
|
23309
|
-
for (const
|
|
23310
|
-
const
|
|
23311
|
-
if (
|
|
23312
|
-
|
|
23313
|
-
|
|
23314
|
-
|
|
23310
|
+
for (const Ae of Ee) {
|
|
23311
|
+
const Te = Ae.key;
|
|
23312
|
+
if (Un.current.has(Te)) {
|
|
23313
|
+
console.log(`[upload-backfill] 跳过已处理: ${Te}`);
|
|
23314
|
+
continue;
|
|
23315
|
+
}
|
|
23316
|
+
const ke = v[Te], Ke = typeof Ae.maxCount == "number" && Ae.maxCount > 1;
|
|
23317
|
+
if (console.log(`[upload-backfill] 节点 key=${Te}, rawVal=`, ke, `isBatch=${Ke}`), Array.isArray(ke) && ke.length > 0) {
|
|
23318
|
+
Ke ? ke.forEach((Qe, ft) => Ft(`${Te}-${ft}`, Qe)) : Ft(Te, ke[0]);
|
|
23315
23319
|
continue;
|
|
23316
23320
|
}
|
|
23317
|
-
if (
|
|
23318
|
-
Ft(
|
|
23321
|
+
if (ke && !Array.isArray(ke)) {
|
|
23322
|
+
Ft(Te, ke);
|
|
23319
23323
|
continue;
|
|
23320
23324
|
}
|
|
23321
|
-
if (
|
|
23322
|
-
for (let
|
|
23323
|
-
const ft = `${
|
|
23324
|
-
if (!
|
|
23325
|
-
Ft(ft,
|
|
23325
|
+
if (Ke)
|
|
23326
|
+
for (let Qe = 0; Qe < Ae.maxCount; Qe++) {
|
|
23327
|
+
const ft = `${Te}-${Qe}`, qn = v[ft];
|
|
23328
|
+
if (!qn) break;
|
|
23329
|
+
Ft(ft, qn);
|
|
23326
23330
|
}
|
|
23327
23331
|
}
|
|
23328
|
-
if (Object.keys(
|
|
23329
|
-
|
|
23330
|
-
|
|
23331
|
-
|
|
23332
|
-
|
|
23333
|
-
|
|
23334
|
-
|
|
23335
|
-
|
|
23336
|
-
|
|
23337
|
-
|
|
23332
|
+
if (Object.keys(be).length === 0 && Fe.length === 0) {
|
|
23333
|
+
console.log("[upload-backfill] 没有需要处理的文件或URL,跳过");
|
|
23334
|
+
return;
|
|
23335
|
+
}
|
|
23336
|
+
console.log("[upload-backfill] filesToSet:", Object.keys(be)), console.log("[upload-backfill] urlsToFetch:", Fe);
|
|
23337
|
+
for (const Ae of Ee)
|
|
23338
|
+
v[Ae.key] !== void 0 && Un.current.add(Ae.key);
|
|
23339
|
+
if (Object.keys(be).length > 0 && H((Ae) => {
|
|
23340
|
+
const Te = { ...Ae };
|
|
23341
|
+
let ke = !1;
|
|
23342
|
+
for (const [Ke, Qe] of Object.entries(be))
|
|
23343
|
+
Ae[Ke] || (Te[Ke] = Qe, ke = !0);
|
|
23344
|
+
return ke ? Te : Ae;
|
|
23345
|
+
}), Fe.length === 0) return;
|
|
23338
23346
|
let gi = !1;
|
|
23339
23347
|
return Promise.all(
|
|
23340
|
-
|
|
23348
|
+
Fe.map(async ({ key: Ae, url: Te }) => {
|
|
23341
23349
|
try {
|
|
23342
|
-
const
|
|
23343
|
-
return { key:
|
|
23344
|
-
} catch {
|
|
23345
|
-
return null;
|
|
23350
|
+
const Ke = await (await fetch(Te)).blob(), Qe = Te.split("/").pop()?.split("?")[0] || "file", ft = decodeURIComponent(Qe);
|
|
23351
|
+
return { key: Ae, file: new File([Ke], ft, { type: Ke.type || "application/octet-stream" }) };
|
|
23352
|
+
} catch (ke) {
|
|
23353
|
+
return console.error(`[upload-backfill] fetch失败: ${Te}`, ke), null;
|
|
23346
23354
|
}
|
|
23347
23355
|
})
|
|
23348
|
-
).then((
|
|
23356
|
+
).then((Ae) => {
|
|
23349
23357
|
if (gi) return;
|
|
23350
|
-
const
|
|
23351
|
-
for (const
|
|
23352
|
-
|
|
23353
|
-
Object.keys(
|
|
23354
|
-
const
|
|
23355
|
-
let
|
|
23356
|
-
for (const [ft,
|
|
23357
|
-
|
|
23358
|
-
return
|
|
23358
|
+
const Te = {};
|
|
23359
|
+
for (const ke of Ae)
|
|
23360
|
+
ke && (Te[ke.key] = ke.file);
|
|
23361
|
+
console.log("[upload-backfill] fetch完成, resolved keys:", Object.keys(Te)), Object.keys(Te).length > 0 && H((ke) => {
|
|
23362
|
+
const Ke = { ...ke };
|
|
23363
|
+
let Qe = !1;
|
|
23364
|
+
for (const [ft, qn] of Object.entries(Te))
|
|
23365
|
+
ke[ft] || (Ke[ft] = qn, Qe = !0);
|
|
23366
|
+
return Qe ? Ke : ke;
|
|
23359
23367
|
});
|
|
23360
23368
|
}), () => {
|
|
23361
23369
|
gi = !0;
|
|
23362
23370
|
};
|
|
23363
|
-
}, [v,
|
|
23371
|
+
}, [v, Ne]), Bb(F, Ne, P, pe, S), Fb(F, Ne, pe, h, S), $b(F, Ne, P, pe, S), Hb(F, Ne, pe, S), Ub(F, Ne, P, kt), qb(F, he);
|
|
23364
23372
|
const pi = Ol(F), hi = Bl(F);
|
|
23365
23373
|
ne(() => {
|
|
23366
23374
|
if (!F.current) return;
|
|
23367
|
-
F.current.querySelectorAll(".rte-richtext-toggle").forEach((
|
|
23368
|
-
const
|
|
23369
|
-
|
|
23375
|
+
F.current.querySelectorAll(".rte-richtext-toggle").forEach((be) => {
|
|
23376
|
+
const Fe = be.getAttribute("data-expanded") === "true";
|
|
23377
|
+
be.innerHTML = Fe ? '<i class="iconfont icon-shouqi1"></i><span class="rte-richtext-toggle-label">收起</span>' : '<i class="iconfont icon-zhankai2"></i><span class="rte-richtext-toggle-label">展开</span>';
|
|
23370
23378
|
});
|
|
23371
|
-
}, [
|
|
23379
|
+
}, [Ne, F]);
|
|
23372
23380
|
const mi = ty(F), { measureExpandedContentHeight: nn } = jl({
|
|
23373
23381
|
collapsed: b,
|
|
23374
23382
|
collapseTransitionMs: A,
|
|
@@ -23376,10 +23384,10 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23376
23384
|
contentBodyRef: D,
|
|
23377
23385
|
editorRef: F,
|
|
23378
23386
|
debugIdRef: x,
|
|
23379
|
-
setCollapsedContentMaxHeightPx:
|
|
23380
|
-
setExpandedContentMaxHeightPx:
|
|
23381
|
-
setIsCollapseAnimating:
|
|
23382
|
-
effectiveConfig:
|
|
23387
|
+
setCollapsedContentMaxHeightPx: Nr,
|
|
23388
|
+
setExpandedContentMaxHeightPx: wr,
|
|
23389
|
+
setIsCollapseAnimating: Lr,
|
|
23390
|
+
effectiveConfig: Ne,
|
|
23383
23391
|
files: P,
|
|
23384
23392
|
multiVariableCounts: Bt,
|
|
23385
23393
|
selectPortalsLength: pi.length,
|
|
@@ -23389,8 +23397,8 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23389
23397
|
if (b) return;
|
|
23390
23398
|
const Ee = D.current;
|
|
23391
23399
|
if (!Ee) return;
|
|
23392
|
-
const
|
|
23393
|
-
|
|
23400
|
+
const be = Math.ceil(Ee.getBoundingClientRect().height || 0);
|
|
23401
|
+
be > 0 && K(be), se.current = !0, oe.current = !1, le.current && (window.clearTimeout(le.current), le.current = null);
|
|
23394
23402
|
};
|
|
23395
23403
|
ne(() => {
|
|
23396
23404
|
const Ee = () => {
|
|
@@ -23439,7 +23447,7 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23439
23447
|
setMarkdownNameAnalyzeState: li,
|
|
23440
23448
|
collapsed: b,
|
|
23441
23449
|
measureExpandedContentHeight: nn,
|
|
23442
|
-
effectiveConfig:
|
|
23450
|
+
effectiveConfig: Ne,
|
|
23443
23451
|
files: P,
|
|
23444
23452
|
multiVariableCounts: Bt,
|
|
23445
23453
|
setMultiVariableCounts: tn,
|
|
@@ -23460,7 +23468,7 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23460
23468
|
});
|
|
23461
23469
|
Jl({
|
|
23462
23470
|
config: e,
|
|
23463
|
-
effectiveConfig:
|
|
23471
|
+
effectiveConfig: Ne,
|
|
23464
23472
|
files: P,
|
|
23465
23473
|
editorRef: F,
|
|
23466
23474
|
setIsFormValid: kt,
|
|
@@ -23496,9 +23504,9 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23496
23504
|
}, Ju = typeof A == "number" && Number.isFinite(A) && A >= 0 ? A : 260, Zu = {
|
|
23497
23505
|
overflow: "hidden"
|
|
23498
23506
|
}, el = {
|
|
23499
|
-
maxHeight: V != null ? `${V}px` : b ? `${en}px` : `${Math.max(
|
|
23507
|
+
maxHeight: V != null ? `${V}px` : b ? `${en}px` : `${Math.max(vr, en)}px`,
|
|
23500
23508
|
// 内层统一负责滚动(展开态)
|
|
23501
|
-
overflow: V != null || b ||
|
|
23509
|
+
overflow: V != null || b || Ir ? "hidden" : "auto",
|
|
23502
23510
|
transition: V != null ? "none" : `max-height ${Ju}ms cubic-bezier(0.4, 0, 0.2, 1)`,
|
|
23503
23511
|
willChange: "max-height"
|
|
23504
23512
|
};
|
|
@@ -23532,7 +23540,7 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23532
23540
|
contentEditable: e.length === 0,
|
|
23533
23541
|
suppressContentEditableWarning: !0,
|
|
23534
23542
|
"data-placeholder": m,
|
|
23535
|
-
onMouseDown:
|
|
23543
|
+
onMouseDown: ye,
|
|
23536
23544
|
onMouseMove: Be,
|
|
23537
23545
|
onMouseUp: ct,
|
|
23538
23546
|
onClick: Wu,
|
|
@@ -23591,16 +23599,16 @@ const { RangePicker: Zb } = sl, ey = ({ host: e, onChange: t }) => {
|
|
|
23591
23599
|
] }) }),
|
|
23592
23600
|
/* @__PURE__ */ de("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
23593
23601
|
(() => {
|
|
23594
|
-
const Ee = e.find((
|
|
23602
|
+
const Ee = e.find((Fe) => Fe.type === "tag");
|
|
23595
23603
|
if (!Ee || !Ee.text) return null;
|
|
23596
|
-
const
|
|
23597
|
-
return !
|
|
23604
|
+
const be = s.find((Fe) => Fe.label === Ee.text);
|
|
23605
|
+
return !be || be.points === void 0 || be.points === null ? null : /* @__PURE__ */ de("div", { className: "rte-points-badge", style: { position: "relative" }, children: [
|
|
23598
23606
|
/* @__PURE__ */ G("i", { className: "iconfont icon-jifen", style: { marginRight: "4px", fontSize: "16px" } }),
|
|
23599
23607
|
/* @__PURE__ */ de("span", { style: { fontSize: "16px", lineHeight: "22px" }, children: [
|
|
23600
23608
|
"-",
|
|
23601
|
-
String(
|
|
23609
|
+
String(be.points)
|
|
23602
23610
|
] }),
|
|
23603
|
-
|
|
23611
|
+
be.labelValue === 2 && /* @__PURE__ */ G("div", { className: "rte-limited-free-badge", children: /* @__PURE__ */ G("span", { className: "rte-limited-free-text", children: "限时免费" }) })
|
|
23604
23612
|
] });
|
|
23605
23613
|
})(),
|
|
23606
23614
|
/* @__PURE__ */ G(
|
|
@@ -23715,7 +23723,7 @@ const zs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
23715
23723
|
}
|
|
23716
23724
|
),
|
|
23717
23725
|
/* @__PURE__ */ G(
|
|
23718
|
-
|
|
23726
|
+
hr,
|
|
23719
23727
|
{
|
|
23720
23728
|
value: t,
|
|
23721
23729
|
onChange: a,
|
|
@@ -24167,18 +24175,18 @@ const uy = ({
|
|
|
24167
24175
|
D.current = e, F.current = b, N.current = C, x.current = c;
|
|
24168
24176
|
});
|
|
24169
24177
|
const H = ie((ee, he) => {
|
|
24170
|
-
let
|
|
24178
|
+
let Ce = 0;
|
|
24171
24179
|
v(!0);
|
|
24172
|
-
const
|
|
24173
|
-
|
|
24180
|
+
const ye = () => {
|
|
24181
|
+
Ce < ee.length ? (f(ee.slice(0, Ce + 1)), Ce++, I.current = window.setTimeout(ye, n)) : (v(!1), he?.());
|
|
24174
24182
|
};
|
|
24175
|
-
|
|
24183
|
+
ye();
|
|
24176
24184
|
}, [n]), $ = ie((ee) => {
|
|
24177
24185
|
let he = x.current.length;
|
|
24178
|
-
const
|
|
24179
|
-
he > 0 ? (f(x.current.slice(0, he - 1)), he--, I.current = window.setTimeout(
|
|
24186
|
+
const Ce = () => {
|
|
24187
|
+
he > 0 ? (f(x.current.slice(0, he - 1)), he--, I.current = window.setTimeout(Ce, n / 2)) : ee?.();
|
|
24180
24188
|
};
|
|
24181
|
-
|
|
24189
|
+
Ce();
|
|
24182
24190
|
}, [n]), q = ie(() => {
|
|
24183
24191
|
if (D.current.length === 0 || N.current) return;
|
|
24184
24192
|
T(!0);
|
|
@@ -24792,7 +24800,7 @@ dy.__docgenInfo = {
|
|
|
24792
24800
|
}
|
|
24793
24801
|
}
|
|
24794
24802
|
};
|
|
24795
|
-
const
|
|
24803
|
+
const Kn = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), xn = {
|
|
24796
24804
|
日期: "date",
|
|
24797
24805
|
展现量: "impressions",
|
|
24798
24806
|
点击量: "clicks",
|
|
@@ -24977,18 +24985,18 @@ const Xn = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
24977
24985
|
const t = e.trim().split(`
|
|
24978
24986
|
`);
|
|
24979
24987
|
if (t.length < 2)
|
|
24980
|
-
return
|
|
24988
|
+
return Kn(e);
|
|
24981
24989
|
const n = t[1], a = /^\|[\s-|]+\|$/.test(n.trim());
|
|
24982
24990
|
if (!n || !a)
|
|
24983
|
-
return
|
|
24991
|
+
return Kn(e);
|
|
24984
24992
|
const s = t[0].split("|").map((p) => p.trim()).filter((p) => p !== ""), u = t.slice(2).map((p) => p.split("|").map((E) => E.trim()).filter((E, h, c) => h > 0 && h < c.length)), o = "border:1px solid #d9d9d9;padding:8px 12px;background-color:#fafafa;font-weight:600;text-align:left;white-space:nowrap;", l = "border:1px solid #d9d9d9;padding:6px 12px;text-align:left;white-space:nowrap;";
|
|
24985
24993
|
let m = '<div style="overflow-x:auto;max-width:100%;">';
|
|
24986
24994
|
return m += '<table style="border-collapse:collapse;width:100%;font-size:12px;margin:8px 0;">', m += "<thead><tr>", s.forEach((p) => {
|
|
24987
|
-
m += `<th style="${o}">${
|
|
24995
|
+
m += `<th style="${o}">${Kn(p)}</th>`;
|
|
24988
24996
|
}), m += "</tr></thead>", m += "<tbody>", u.forEach((p) => {
|
|
24989
24997
|
m += "<tr>", s.forEach((E, h) => {
|
|
24990
24998
|
const c = p[h] || "-";
|
|
24991
|
-
m += `<td style="${l}">${
|
|
24999
|
+
m += `<td style="${l}">${Kn(c)}</td>`;
|
|
24992
25000
|
}), m += "</tr>";
|
|
24993
25001
|
}), m += "</tbody></table></div>", m;
|
|
24994
25002
|
}, yy = (e) => {
|
|
@@ -25114,7 +25122,7 @@ export {
|
|
|
25114
25122
|
_l as XcIcon,
|
|
25115
25123
|
ky as buildPromotionSendPayload,
|
|
25116
25124
|
_y as createMarkdownAnalyze,
|
|
25117
|
-
|
|
25125
|
+
Kn as escapeHtml,
|
|
25118
25126
|
yy as extractTableDataFromHtml,
|
|
25119
25127
|
Ny as lightTheme,
|
|
25120
25128
|
Ey as parsePromotionTableMarkdown,
|