@farris/x-ui 0.3.1 → 0.3.2
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/bubble/index.d.ts +1 -0
- package/bubble/src/composition/use-attachment.d.ts +2 -2
- package/farris.x-ui.esm.js +393 -369
- package/farris.x-ui.umd.cjs +30 -30
- package/index.css +1 -1
- package/package.json +1 -1
package/farris.x-ui.esm.js
CHANGED
|
@@ -324,7 +324,7 @@ function hc(e, t, n, u = {}) {
|
|
|
324
324
|
k < y.length ? (r.value = {
|
|
325
325
|
...r.value,
|
|
326
326
|
[b]: y.slice(0, k + 1)
|
|
327
|
-
}, k++) : (clearInterval(F), o = o.filter((
|
|
327
|
+
}, k++) : (clearInterval(F), o = o.filter((E) => E !== F), a.add(b), v++, g());
|
|
328
328
|
}, i);
|
|
329
329
|
o.push(F);
|
|
330
330
|
};
|
|
@@ -579,11 +579,16 @@ function Ac() {
|
|
|
579
579
|
image: "img",
|
|
580
580
|
img: "img",
|
|
581
581
|
md: "md",
|
|
582
|
-
audio: "any"
|
|
582
|
+
audio: "any",
|
|
583
|
+
form: "form",
|
|
584
|
+
report: "report",
|
|
585
|
+
board: "board"
|
|
583
586
|
}[i.toLowerCase()] || "any"}` : `${r}any`,
|
|
584
587
|
formatFileName: (i) => (i == null ? void 0 : i.replace(/\.[^.]+$/, "")) ?? "",
|
|
585
|
-
formatFileSize: (i) => i < 1024 ? i + " B" : i < 1048576 ? (i / 1024).toFixed(1) + " KB" : (i / 1048576).toFixed(1) + " MB",
|
|
588
|
+
formatFileSize: (i) => i ? i < 1024 ? i + " B" : i < 1048576 ? (i / 1024).toFixed(1) + " KB" : (i / 1048576).toFixed(1) + " MB" : "",
|
|
586
589
|
formatFileTime: (i) => {
|
|
590
|
+
if (!i)
|
|
591
|
+
return "";
|
|
587
592
|
const r = new Date(i), o = r.getFullYear(), a = String(r.getMonth() + 1).padStart(2, "0"), s = String(r.getDate()).padStart(2, "0");
|
|
588
593
|
return `${o}-${a}-${s}`;
|
|
589
594
|
}
|
|
@@ -699,7 +704,9 @@ const vs = /* @__PURE__ */ ie({
|
|
|
699
704
|
variant: "attachment"
|
|
700
705
|
}, null), de(" 生成中")]), v.timestamp ? d("span", {
|
|
701
706
|
class: "f-chat-bubble-attachment-text"
|
|
702
|
-
}, [de("创建时间:"), o(v.timestamp)]) :
|
|
707
|
+
}, [de("创建时间:"), o(v.timestamp)]) : v.size ? d("span", {
|
|
708
|
+
class: "f-chat-bubble-attachment-size"
|
|
709
|
+
}, [de("文件大小:"), r(v.size)]) : null])]), e.showDownloadButton !== !1 && b ? d("button", {
|
|
703
710
|
type: "button",
|
|
704
711
|
class: "f-chat-bubble-attachment-download-btn",
|
|
705
712
|
"aria-label": "下载附件",
|
|
@@ -757,7 +764,7 @@ const vs = /* @__PURE__ */ ie({
|
|
|
757
764
|
customStyle: { type: Object, default: () => ({}) },
|
|
758
765
|
/** 导航事件回调 */
|
|
759
766
|
onNavigate: { type: Function, default: void 0 }
|
|
760
|
-
},
|
|
767
|
+
}, Ec = /* @__PURE__ */ ie({
|
|
761
768
|
name: "FXBubblePageContentFooter",
|
|
762
769
|
props: Cc,
|
|
763
770
|
setup(e, t) {
|
|
@@ -815,14 +822,14 @@ function ys() {
|
|
|
815
822
|
}
|
|
816
823
|
function u(i, r) {
|
|
817
824
|
const o = t(i, r);
|
|
818
|
-
return au(
|
|
825
|
+
return au(Ec, o);
|
|
819
826
|
}
|
|
820
827
|
return {
|
|
821
828
|
renderFileEmbeddedContent: n,
|
|
822
829
|
renderPageEmbeddedContent: u
|
|
823
830
|
};
|
|
824
831
|
}
|
|
825
|
-
const
|
|
832
|
+
const _c = {
|
|
826
833
|
/** 标题 */
|
|
827
834
|
title: { type: String, default: "" },
|
|
828
835
|
/** 副标题 */
|
|
@@ -975,7 +982,7 @@ function Rc(e) {
|
|
|
975
982
|
}
|
|
976
983
|
return t.filter((u) => u.trim().length > 0);
|
|
977
984
|
}
|
|
978
|
-
function
|
|
985
|
+
function Es(e) {
|
|
979
986
|
const t = Tc(ks(e.trim()));
|
|
980
987
|
if (t == null || t === "") return null;
|
|
981
988
|
try {
|
|
@@ -986,14 +993,14 @@ function _s(e) {
|
|
|
986
993
|
}
|
|
987
994
|
function Pc(e) {
|
|
988
995
|
var n;
|
|
989
|
-
const t =
|
|
996
|
+
const t = Es(e);
|
|
990
997
|
return ((n = t == null ? void 0 : t.renderer) == null ? void 0 : n.widgetImplOptions) || {};
|
|
991
998
|
}
|
|
992
999
|
const Mc = /^```\s*dynamic-component\b[\s\S]*?```$/, Bc = /^```\s*dynamic-component\b/, zc = /^```\s*dynamic-component\b\s*/, Nc = /\s*```\s*$/;
|
|
993
1000
|
function jc(e) {
|
|
994
1001
|
return e.replace(/```\s*dynamic-component\b/g, "``` dynamic-component");
|
|
995
1002
|
}
|
|
996
|
-
function
|
|
1003
|
+
function _s(e) {
|
|
997
1004
|
return e.replace(zc, "").replace(Nc, "").trim();
|
|
998
1005
|
}
|
|
999
1006
|
function Hc(e, t) {
|
|
@@ -1012,7 +1019,7 @@ function $c(e) {
|
|
|
1012
1019
|
return e ? Mc.test(e) || Bc.test(e) : !1;
|
|
1013
1020
|
}
|
|
1014
1021
|
function Uc(e) {
|
|
1015
|
-
const t =
|
|
1022
|
+
const t = _s(e);
|
|
1016
1023
|
if (!t) return null;
|
|
1017
1024
|
let n;
|
|
1018
1025
|
try {
|
|
@@ -1039,7 +1046,7 @@ function Uc(e) {
|
|
|
1039
1046
|
};
|
|
1040
1047
|
}
|
|
1041
1048
|
function Wc(e) {
|
|
1042
|
-
const t =
|
|
1049
|
+
const t = _s(e);
|
|
1043
1050
|
if (!t) return null;
|
|
1044
1051
|
const n = t.match(/"position"\s*:\s*"(inline|right)"/);
|
|
1045
1052
|
return n ? { position: n[1] } : null;
|
|
@@ -1075,7 +1082,7 @@ function Gc(e) {
|
|
|
1075
1082
|
for (const r of u)
|
|
1076
1083
|
if (Lc(r))
|
|
1077
1084
|
if (Cs(r)) {
|
|
1078
|
-
const o =
|
|
1085
|
+
const o = Es(r);
|
|
1079
1086
|
t.push({
|
|
1080
1087
|
type: We.AssistantWidgetComplete,
|
|
1081
1088
|
raw: r,
|
|
@@ -1665,7 +1672,7 @@ function C0(e, t) {
|
|
|
1665
1672
|
const n = Os(e);
|
|
1666
1673
|
return n !== e ? n : e;
|
|
1667
1674
|
}
|
|
1668
|
-
function
|
|
1675
|
+
function E0(e) {
|
|
1669
1676
|
return e.indexOf("\\") < 0 ? e : e.replace(Rs, "$1");
|
|
1670
1677
|
}
|
|
1671
1678
|
function zn(e) {
|
|
@@ -1673,7 +1680,7 @@ function zn(e) {
|
|
|
1673
1680
|
return n || C0(t, u);
|
|
1674
1681
|
});
|
|
1675
1682
|
}
|
|
1676
|
-
const
|
|
1683
|
+
const _0 = /[&<>"]/, S0 = /[&<>"]/g, D0 = {
|
|
1677
1684
|
"&": "&",
|
|
1678
1685
|
"<": "<",
|
|
1679
1686
|
">": ">",
|
|
@@ -1683,7 +1690,7 @@ function F0(e) {
|
|
|
1683
1690
|
return D0[e];
|
|
1684
1691
|
}
|
|
1685
1692
|
function on(e) {
|
|
1686
|
-
return
|
|
1693
|
+
return _0.test(e) ? e.replace(S0, F0) : e;
|
|
1687
1694
|
}
|
|
1688
1695
|
const T0 = /[.?*+^$[\]\\(){}|-]/g;
|
|
1689
1696
|
function I0(e) {
|
|
@@ -1778,7 +1785,7 @@ const O0 = { mdurl: u0, ucmicro: i0 }, L0 = /* @__PURE__ */ Object.freeze(/* @__
|
|
|
1778
1785
|
lib: O0,
|
|
1779
1786
|
normalizeReference: Lr,
|
|
1780
1787
|
unescapeAll: zn,
|
|
1781
|
-
unescapeMd:
|
|
1788
|
+
unescapeMd: E0
|
|
1782
1789
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1783
1790
|
function R0(e, t, n) {
|
|
1784
1791
|
let u, i, r, o;
|
|
@@ -2091,10 +2098,10 @@ Je.prototype.disable = function(e, t) {
|
|
|
2091
2098
|
Je.prototype.getRules = function(e) {
|
|
2092
2099
|
return this.__cache__ === null && this.__compile__(), this.__cache__[e] || [];
|
|
2093
2100
|
};
|
|
2094
|
-
function
|
|
2101
|
+
function _t(e, t, n) {
|
|
2095
2102
|
this.type = e, this.tag = t, this.attrs = null, this.map = null, this.nesting = n, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
|
|
2096
2103
|
}
|
|
2097
|
-
|
|
2104
|
+
_t.prototype.attrIndex = function(t) {
|
|
2098
2105
|
if (!this.attrs)
|
|
2099
2106
|
return -1;
|
|
2100
2107
|
const n = this.attrs;
|
|
@@ -2103,26 +2110,26 @@ Et.prototype.attrIndex = function(t) {
|
|
|
2103
2110
|
return u;
|
|
2104
2111
|
return -1;
|
|
2105
2112
|
};
|
|
2106
|
-
|
|
2113
|
+
_t.prototype.attrPush = function(t) {
|
|
2107
2114
|
this.attrs ? this.attrs.push(t) : this.attrs = [t];
|
|
2108
2115
|
};
|
|
2109
|
-
|
|
2116
|
+
_t.prototype.attrSet = function(t, n) {
|
|
2110
2117
|
const u = this.attrIndex(t), i = [t, n];
|
|
2111
2118
|
u < 0 ? this.attrPush(i) : this.attrs[u] = i;
|
|
2112
2119
|
};
|
|
2113
|
-
|
|
2120
|
+
_t.prototype.attrGet = function(t) {
|
|
2114
2121
|
const n = this.attrIndex(t);
|
|
2115
2122
|
let u = null;
|
|
2116
2123
|
return n >= 0 && (u = this.attrs[n][1]), u;
|
|
2117
2124
|
};
|
|
2118
|
-
|
|
2125
|
+
_t.prototype.attrJoin = function(t, n) {
|
|
2119
2126
|
const u = this.attrIndex(t);
|
|
2120
2127
|
u < 0 ? this.attrPush([t, n]) : this.attrs[u][1] = this.attrs[u][1] + " " + n;
|
|
2121
2128
|
};
|
|
2122
2129
|
function Ps(e, t, n) {
|
|
2123
2130
|
this.src = e, this.env = n, this.tokens = [], this.inlineMode = !1, this.md = t;
|
|
2124
2131
|
}
|
|
2125
|
-
Ps.prototype.Token =
|
|
2132
|
+
Ps.prototype.Token = _t;
|
|
2126
2133
|
const z0 = /\r\n?|\n/g, N0 = /\0/g;
|
|
2127
2134
|
function j0(e) {
|
|
2128
2135
|
let t;
|
|
@@ -2348,7 +2355,7 @@ function Nt(e, t, n, u) {
|
|
|
2348
2355
|
this.bMarks.push(i.length), this.eMarks.push(i.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
2349
2356
|
}
|
|
2350
2357
|
Nt.prototype.push = function(e, t, n) {
|
|
2351
|
-
const u = new
|
|
2358
|
+
const u = new _t(e, t, n);
|
|
2352
2359
|
return u.block = !0, n < 0 && this.level--, u.level = this.level, n > 0 && this.level++, this.tokens.push(u), u;
|
|
2353
2360
|
};
|
|
2354
2361
|
Nt.prototype.isEmpty = function(t) {
|
|
@@ -2410,7 +2417,7 @@ Nt.prototype.getLines = function(t, n, u, i) {
|
|
|
2410
2417
|
}
|
|
2411
2418
|
return r.join("");
|
|
2412
2419
|
};
|
|
2413
|
-
Nt.prototype.Token =
|
|
2420
|
+
Nt.prototype.Token = _t;
|
|
2414
2421
|
const ud = 65536;
|
|
2415
2422
|
function Qr(e, t) {
|
|
2416
2423
|
const n = e.bMarks[t] + e.tShift[t], u = e.eMarks[t];
|
|
@@ -2499,8 +2506,8 @@ function rd(e, t, n, u) {
|
|
|
2499
2506
|
for (let F = 0; F < l; F++) {
|
|
2500
2507
|
const S = e.push("td_open", "td", 1);
|
|
2501
2508
|
f[F] && (S.attrs = [["style", "text-align:" + f[F]]]);
|
|
2502
|
-
const
|
|
2503
|
-
|
|
2509
|
+
const E = e.push("inline", "", 0);
|
|
2510
|
+
E.content = c[F] ? c[F].trim() : "", E.children = [], e.push("td_close", "td", -1);
|
|
2504
2511
|
}
|
|
2505
2512
|
e.push("tr_close", "tr", -1);
|
|
2506
2513
|
}
|
|
@@ -2570,16 +2577,16 @@ function ad(e, t, n, u) {
|
|
|
2570
2577
|
if (e.src.charCodeAt(i++) === 62 && !b) {
|
|
2571
2578
|
let k = e.sCount[p] + 1, F, S;
|
|
2572
2579
|
e.src.charCodeAt(i) === 32 ? (i++, k++, S = !1, F = !0) : e.src.charCodeAt(i) === 9 ? (F = !0, (e.bsCount[p] + k) % 4 === 3 ? (i++, k++, S = !1) : S = !0) : F = !1;
|
|
2573
|
-
let
|
|
2580
|
+
let E = k;
|
|
2574
2581
|
for (a.push(e.bMarks[p]), e.bMarks[p] = i; i < r; ) {
|
|
2575
2582
|
const X = e.src.charCodeAt(i);
|
|
2576
2583
|
if (be(X))
|
|
2577
|
-
X === 9 ?
|
|
2584
|
+
X === 9 ? E += 4 - (E + e.bsCount[p] + (S ? 1 : 0)) % 4 : E++;
|
|
2578
2585
|
else
|
|
2579
2586
|
break;
|
|
2580
2587
|
i++;
|
|
2581
2588
|
}
|
|
2582
|
-
m = i >= r, s.push(e.bsCount[p]), e.bsCount[p] = e.sCount[p] + 1 + (F ? 1 : 0), c.push(e.sCount[p]), e.sCount[p] =
|
|
2589
|
+
m = i >= r, s.push(e.bsCount[p]), e.bsCount[p] = e.sCount[p] + 1 + (F ? 1 : 0), c.push(e.sCount[p]), e.sCount[p] = E - k, f.push(e.tShift[p]), e.tShift[p] = i - e.bMarks[p];
|
|
2583
2590
|
continue;
|
|
2584
2591
|
}
|
|
2585
2592
|
if (m)
|
|
@@ -2711,12 +2718,12 @@ function cd(e, t, n, u) {
|
|
|
2711
2718
|
const F = r;
|
|
2712
2719
|
let S;
|
|
2713
2720
|
F >= i ? S = 1 : S = k - y, S > 4 && (S = 1);
|
|
2714
|
-
const
|
|
2721
|
+
const E = y + S;
|
|
2715
2722
|
a = e.push("list_item_open", "li", 1), a.markup = String.fromCharCode(p);
|
|
2716
2723
|
const X = [s, 0];
|
|
2717
2724
|
a.map = X, l && (a.info = e.src.slice(o, m - 1));
|
|
2718
2725
|
const $ = e.tight, N = e.tShift[s], U = e.sCount[s], R = e.listIndent;
|
|
2719
|
-
if (e.listIndent = e.blkIndent, e.blkIndent =
|
|
2726
|
+
if (e.listIndent = e.blkIndent, e.blkIndent = E, e.tight = !0, e.tShift[s] = F - e.bMarks[s], e.sCount[s] = k, F >= i && e.isEmpty(s + 1) ? e.line = Math.min(e.line + 2, n) : e.md.block.tokenize(e, s, n, !0), (!e.tight || v) && (c = !1), v = e.line - s > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = R, e.tShift[s] = N, e.sCount[s] = U, e.tight = $, a = e.push("list_item_close", "li", -1), a.markup = String.fromCharCode(p), s = e.line, X[1] = s, s >= n || e.sCount[s] < e.blkIndent || e.sCount[s] - e.blkIndent >= 4)
|
|
2720
2727
|
break;
|
|
2721
2728
|
let G = !1;
|
|
2722
2729
|
for (let q = 0, T = g.length; q < T; q++)
|
|
@@ -2747,7 +2754,7 @@ function dd(e, t, n, u) {
|
|
|
2747
2754
|
return null;
|
|
2748
2755
|
let y = !1;
|
|
2749
2756
|
if (e.sCount[g] - e.blkIndent > 3 && (y = !0), e.sCount[g] < 0 && (y = !0), !y) {
|
|
2750
|
-
const S = e.md.block.ruler.getRules("reference"),
|
|
2757
|
+
const S = e.md.block.ruler.getRules("reference"), E = e.parentType;
|
|
2751
2758
|
e.parentType = "reference";
|
|
2752
2759
|
let X = !1;
|
|
2753
2760
|
for (let $ = 0, N = S.length; $ < N; $++)
|
|
@@ -2755,7 +2762,7 @@ function dd(e, t, n, u) {
|
|
|
2755
2762
|
X = !0;
|
|
2756
2763
|
break;
|
|
2757
2764
|
}
|
|
2758
|
-
if (e.parentType =
|
|
2765
|
+
if (e.parentType = E, X)
|
|
2759
2766
|
return null;
|
|
2760
2767
|
}
|
|
2761
2768
|
const k = e.bMarks[g] + e.tShift[g], F = e.eMarks[g];
|
|
@@ -2900,7 +2907,7 @@ const fd = [
|
|
|
2900
2907
|
[new RegExp("^</?(" + fd.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
|
|
2901
2908
|
[new RegExp(Cd.source + "\\s*$"), /^$/, !1]
|
|
2902
2909
|
];
|
|
2903
|
-
function
|
|
2910
|
+
function Ed(e, t, n, u) {
|
|
2904
2911
|
let i = e.bMarks[t] + e.tShift[t], r = e.eMarks[t];
|
|
2905
2912
|
if (e.sCount[t] - e.blkIndent >= 4 || !e.md.options.html || e.src.charCodeAt(i) !== 60)
|
|
2906
2913
|
return !1;
|
|
@@ -2923,7 +2930,7 @@ function _d(e, t, n, u) {
|
|
|
2923
2930
|
const c = e.push("html_block", "", 0);
|
|
2924
2931
|
return c.map = [t, s], c.content = e.getLines(t, s, e.blkIndent, !0), !0;
|
|
2925
2932
|
}
|
|
2926
|
-
function
|
|
2933
|
+
function _d(e, t, n, u) {
|
|
2927
2934
|
let i = e.bMarks[t] + e.tShift[t], r = e.eMarks[t];
|
|
2928
2935
|
if (e.sCount[t] - e.blkIndent >= 4)
|
|
2929
2936
|
return !1;
|
|
@@ -3019,8 +3026,8 @@ const Ru = [
|
|
|
3019
3026
|
["hr", sd, ["paragraph", "reference", "blockquote", "list"]],
|
|
3020
3027
|
["list", cd, ["paragraph", "reference", "blockquote"]],
|
|
3021
3028
|
["reference", dd],
|
|
3022
|
-
["html_block",
|
|
3023
|
-
["heading",
|
|
3029
|
+
["html_block", Ed, ["paragraph", "reference", "blockquote"]],
|
|
3030
|
+
["heading", _d, ["paragraph", "reference", "blockquote"]],
|
|
3024
3031
|
["lheading", Sd],
|
|
3025
3032
|
["paragraph", Dd]
|
|
3026
3033
|
];
|
|
@@ -3060,12 +3067,12 @@ function Au(e, t, n, u) {
|
|
|
3060
3067
|
this.src = e, this.env = n, this.md = t, this.tokens = u, this.tokens_meta = Array(u.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
|
|
3061
3068
|
}
|
|
3062
3069
|
Au.prototype.pushPending = function() {
|
|
3063
|
-
const e = new
|
|
3070
|
+
const e = new _t("text", "", 0);
|
|
3064
3071
|
return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e;
|
|
3065
3072
|
};
|
|
3066
3073
|
Au.prototype.push = function(e, t, n) {
|
|
3067
3074
|
this.pending && this.pushPending();
|
|
3068
|
-
const u = new
|
|
3075
|
+
const u = new _t(e, t, n);
|
|
3069
3076
|
let i = null;
|
|
3070
3077
|
return n < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), u.level = this.level, n > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], i = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(u), this.tokens_meta.push(i), u;
|
|
3071
3078
|
};
|
|
@@ -3077,7 +3084,7 @@ Au.prototype.scanDelims = function(e, t) {
|
|
|
3077
3084
|
const o = r - e, a = r < n ? this.src.charCodeAt(r) : 32, s = fu(i) || du(String.fromCharCode(i)), c = fu(a) || du(String.fromCharCode(a)), f = cu(i), l = cu(a), h = !l && (!c || f || s), m = !f && (!s || l || c);
|
|
3078
3085
|
return { can_open: h && (t || !m || s), can_close: m && (t || !h || c), length: o };
|
|
3079
3086
|
};
|
|
3080
|
-
Au.prototype.Token =
|
|
3087
|
+
Au.prototype.Token = _t;
|
|
3081
3088
|
function Fd(e) {
|
|
3082
3089
|
switch (e) {
|
|
3083
3090
|
case 10:
|
|
@@ -3811,7 +3818,7 @@ lt.prototype.normalize = function(t) {
|
|
|
3811
3818
|
};
|
|
3812
3819
|
lt.prototype.onCompile = function() {
|
|
3813
3820
|
};
|
|
3814
|
-
const
|
|
3821
|
+
const _n = 2147483647, Lt = 36, go = 1, hu = 26, hf = 38, pf = 700, $s = 72, Us = 128, Ws = "-", mf = /^xn--/, gf = /[^\0-\x7F]/, bf = /[\x2E\u3002\uFF0E\uFF61]/g, vf = {
|
|
3815
3822
|
overflow: "Overflow: input needs wider integers to process",
|
|
3816
3823
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3817
3824
|
"invalid-input": "Invalid input"
|
|
@@ -3867,15 +3874,15 @@ const xf = (e) => String.fromCodePoint(...e), wf = function(e) {
|
|
|
3867
3874
|
for (let f = 1, l = Lt; ; l += Lt) {
|
|
3868
3875
|
a >= n && Qt("invalid-input");
|
|
3869
3876
|
const h = wf(e.charCodeAt(a++));
|
|
3870
|
-
h >= Lt && Qt("invalid-input"), h > Rt((
|
|
3877
|
+
h >= Lt && Qt("invalid-input"), h > Rt((_n - u) / f) && Qt("overflow"), u += h * f;
|
|
3871
3878
|
const m = l <= r ? go : l >= r + hu ? hu : l - r;
|
|
3872
3879
|
if (h < m)
|
|
3873
3880
|
break;
|
|
3874
3881
|
const p = Lt - m;
|
|
3875
|
-
f > Rt(
|
|
3882
|
+
f > Rt(_n / p) && Qt("overflow"), f *= p;
|
|
3876
3883
|
}
|
|
3877
3884
|
const c = t.length + 1;
|
|
3878
|
-
r = qs(u - s, c, s == 0), Rt(u / c) >
|
|
3885
|
+
r = qs(u - s, c, s == 0), Rt(u / c) > _n - i && Qt("overflow"), i += Rt(u / c), u %= c, t.splice(u++, 0, i);
|
|
3879
3886
|
}
|
|
3880
3887
|
return String.fromCodePoint(...t);
|
|
3881
3888
|
}, Zs = function(e) {
|
|
@@ -3888,13 +3895,13 @@ const xf = (e) => String.fromCodePoint(...e), wf = function(e) {
|
|
|
3888
3895
|
const o = t.length;
|
|
3889
3896
|
let a = o;
|
|
3890
3897
|
for (o && t.push(Ws); a < n; ) {
|
|
3891
|
-
let s =
|
|
3898
|
+
let s = _n;
|
|
3892
3899
|
for (const f of e)
|
|
3893
3900
|
f >= u && f < s && (s = f);
|
|
3894
3901
|
const c = a + 1;
|
|
3895
|
-
s - u > Rt((
|
|
3902
|
+
s - u > Rt((_n - i) / c) && Qt("overflow"), i += (s - u) * c, u = s;
|
|
3896
3903
|
for (const f of e)
|
|
3897
|
-
if (f < u && ++i >
|
|
3904
|
+
if (f < u && ++i > _n && Qt("overflow"), f === u) {
|
|
3898
3905
|
let l = i;
|
|
3899
3906
|
for (let h = Lt; ; h += Lt) {
|
|
3900
3907
|
const m = h <= r ? go : h >= r + hu ? hu : h - r;
|
|
@@ -3976,7 +3983,7 @@ const xf = (e) => String.fromCodePoint(...e), wf = function(e) {
|
|
|
3976
3983
|
block: {},
|
|
3977
3984
|
inline: {}
|
|
3978
3985
|
}
|
|
3979
|
-
},
|
|
3986
|
+
}, Ef = {
|
|
3980
3987
|
options: {
|
|
3981
3988
|
// Enable HTML tags in source
|
|
3982
3989
|
html: !1,
|
|
@@ -4031,7 +4038,7 @@ const xf = (e) => String.fromCodePoint(...e), wf = function(e) {
|
|
|
4031
4038
|
]
|
|
4032
4039
|
}
|
|
4033
4040
|
}
|
|
4034
|
-
},
|
|
4041
|
+
}, _f = {
|
|
4035
4042
|
options: {
|
|
4036
4043
|
// Enable HTML tags in source
|
|
4037
4044
|
html: !0,
|
|
@@ -4107,8 +4114,8 @@ const xf = (e) => String.fromCodePoint(...e), wf = function(e) {
|
|
|
4107
4114
|
}
|
|
4108
4115
|
}, Sf = {
|
|
4109
4116
|
default: Cf,
|
|
4110
|
-
zero:
|
|
4111
|
-
commonmark:
|
|
4117
|
+
zero: Ef,
|
|
4118
|
+
commonmark: _f
|
|
4112
4119
|
}, Df = /^(vbscript|javascript|file|data):/, Ff = /^data:image\/(gif|png|jpeg|webp);/;
|
|
4113
4120
|
function Tf(e) {
|
|
4114
4121
|
const t = e.trim().toLowerCase();
|
|
@@ -4375,7 +4382,7 @@ function tl() {
|
|
|
4375
4382
|
const {
|
|
4376
4383
|
implementation: F,
|
|
4377
4384
|
createNodeIterator: S,
|
|
4378
|
-
createDocumentFragment:
|
|
4385
|
+
createDocumentFragment: E,
|
|
4379
4386
|
getElementsByTagName: X
|
|
4380
4387
|
} = n, {
|
|
4381
4388
|
importNode: $
|
|
@@ -4432,12 +4439,12 @@ function tl() {
|
|
|
4432
4439
|
value: null
|
|
4433
4440
|
}
|
|
4434
4441
|
}));
|
|
4435
|
-
let K = !0, ne = !0, ce = !1, Ae = !0, ke = !1, tt = !0, Be = !1, St = !1, qt = !1, jt = !1,
|
|
4442
|
+
let K = !0, ne = !0, ce = !1, Ae = !0, ke = !1, tt = !0, Be = !1, St = !1, qt = !1, jt = !1, _u = !1, Su = !1, ko = !0, Co = !1;
|
|
4436
4443
|
const $l = "user-content-";
|
|
4437
4444
|
let jr = !0, $n = !1, bn = {}, Dt = null;
|
|
4438
4445
|
const Hr = se({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
4439
|
-
let
|
|
4440
|
-
const
|
|
4446
|
+
let Eo = null;
|
|
4447
|
+
const _o = se({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4441
4448
|
let $r = null;
|
|
4442
4449
|
const So = se({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Du = "http://www.w3.org/1998/Math/MathML", Fu = "http://www.w3.org/2000/svg", Ht = "http://www.w3.org/1999/xhtml";
|
|
4443
4450
|
let vn = Ht, Ur = !1, Wr = null;
|
|
@@ -4447,43 +4454,43 @@ function tl() {
|
|
|
4447
4454
|
let Un = null;
|
|
4448
4455
|
const Vl = ["application/xhtml+xml", "text/html"], Gl = "text/html";
|
|
4449
4456
|
let Fe = null, yn = null;
|
|
4450
|
-
const ql = n.createElement("form"), Do = function(
|
|
4451
|
-
return
|
|
4457
|
+
const ql = n.createElement("form"), Do = function(_) {
|
|
4458
|
+
return _ instanceof RegExp || _ instanceof Function;
|
|
4452
4459
|
}, Vr = function() {
|
|
4453
|
-
let
|
|
4454
|
-
if (!(yn && yn ===
|
|
4455
|
-
if ((!
|
|
4456
|
-
Vl.indexOf(
|
|
4457
|
-
if (typeof
|
|
4460
|
+
let _ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4461
|
+
if (!(yn && yn === _)) {
|
|
4462
|
+
if ((!_ || typeof _ != "object") && (_ = {}), _ = Tt(_), Un = // eslint-disable-next-line unicorn/prefer-includes
|
|
4463
|
+
Vl.indexOf(_.PARSER_MEDIA_TYPE) === -1 ? Gl : _.PARSER_MEDIA_TYPE, Fe = Un === "application/xhtml+xml" ? ui : Uu, j = nt(_, "ALLOWED_TAGS") ? se({}, _.ALLOWED_TAGS, Fe) : I, P = nt(_, "ALLOWED_ATTR") ? se({}, _.ALLOWED_ATTR, Fe) : L, Wr = nt(_, "ALLOWED_NAMESPACES") ? se({}, _.ALLOWED_NAMESPACES, ui) : Ul, $r = nt(_, "ADD_URI_SAFE_ATTR") ? se(Tt(So), _.ADD_URI_SAFE_ATTR, Fe) : So, Eo = nt(_, "ADD_DATA_URI_TAGS") ? se(Tt(_o), _.ADD_DATA_URI_TAGS, Fe) : _o, Dt = nt(_, "FORBID_CONTENTS") ? se({}, _.FORBID_CONTENTS, Fe) : Hr, W = nt(_, "FORBID_TAGS") ? se({}, _.FORBID_TAGS, Fe) : Tt({}), ee = nt(_, "FORBID_ATTR") ? se({}, _.FORBID_ATTR, Fe) : Tt({}), bn = nt(_, "USE_PROFILES") ? _.USE_PROFILES : !1, K = _.ALLOW_ARIA_ATTR !== !1, ne = _.ALLOW_DATA_ATTR !== !1, ce = _.ALLOW_UNKNOWN_PROTOCOLS || !1, Ae = _.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ke = _.SAFE_FOR_TEMPLATES || !1, tt = _.SAFE_FOR_XML !== !1, Be = _.WHOLE_DOCUMENT || !1, jt = _.RETURN_DOM || !1, _u = _.RETURN_DOM_FRAGMENT || !1, Su = _.RETURN_TRUSTED_TYPE || !1, qt = _.FORCE_BODY || !1, ko = _.SANITIZE_DOM !== !1, Co = _.SANITIZE_NAMED_PROPS || !1, jr = _.KEEP_CONTENT !== !1, $n = _.IN_PLACE || !1, z = _.ALLOWED_URI_REGEXP || Js, vn = _.NAMESPACE || Ht, Tu = _.MATHML_TEXT_INTEGRATION_POINTS || Tu, Iu = _.HTML_INTEGRATION_POINTS || Iu, O = _.CUSTOM_ELEMENT_HANDLING || {}, _.CUSTOM_ELEMENT_HANDLING && Do(_.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (O.tagNameCheck = _.CUSTOM_ELEMENT_HANDLING.tagNameCheck), _.CUSTOM_ELEMENT_HANDLING && Do(_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (O.attributeNameCheck = _.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), _.CUSTOM_ELEMENT_HANDLING && typeof _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (O.allowCustomizedBuiltInElements = _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ke && (ne = !1), _u && (jt = !0), bn && (j = se({}, ha), P = $u(null), bn.html === !0 && (se(j, fa), se(P, pa)), bn.svg === !0 && (se(j, ii), se(P, si), se(P, Mu)), bn.svgFilters === !0 && (se(j, oi), se(P, si), se(P, Mu)), bn.mathMl === !0 && (se(j, ai), se(P, ma), se(P, Mu))), nt(_, "ADD_TAGS") || (Q.tagCheck = null), nt(_, "ADD_ATTR") || (Q.attributeCheck = null), _.ADD_TAGS && (typeof _.ADD_TAGS == "function" ? Q.tagCheck = _.ADD_TAGS : (j === I && (j = Tt(j)), se(j, _.ADD_TAGS, Fe))), _.ADD_ATTR && (typeof _.ADD_ATTR == "function" ? Q.attributeCheck = _.ADD_ATTR : (P === L && (P = Tt(P)), se(P, _.ADD_ATTR, Fe))), _.ADD_URI_SAFE_ATTR && se($r, _.ADD_URI_SAFE_ATTR, Fe), _.FORBID_CONTENTS && (Dt === Hr && (Dt = Tt(Dt)), se(Dt, _.FORBID_CONTENTS, Fe)), _.ADD_FORBID_CONTENTS && (Dt === Hr && (Dt = Tt(Dt)), se(Dt, _.ADD_FORBID_CONTENTS, Fe)), jr && (j["#text"] = !0), Be && se(j, ["html", "head", "body"]), j.table && (se(j, ["tbody"]), delete W.tbody), _.TRUSTED_TYPES_POLICY) {
|
|
4464
|
+
if (typeof _.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4458
4465
|
throw Gn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4459
|
-
if (typeof
|
|
4466
|
+
if (typeof _.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4460
4467
|
throw Gn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4461
|
-
y =
|
|
4468
|
+
y = _.TRUSTED_TYPES_POLICY, k = y.createHTML("");
|
|
4462
4469
|
} else
|
|
4463
4470
|
y === void 0 && (y = Jf(m, i)), y !== null && typeof k == "string" && (k = y.createHTML(""));
|
|
4464
|
-
Ye && Ye(
|
|
4471
|
+
Ye && Ye(_), yn = _;
|
|
4465
4472
|
}
|
|
4466
|
-
}, Fo = se({}, [...ii, ...oi, ...$f]), To = se({}, [...ai, ...Uf]), Xl = function(
|
|
4467
|
-
let V = b(
|
|
4473
|
+
}, Fo = se({}, [...ii, ...oi, ...$f]), To = se({}, [...ai, ...Uf]), Xl = function(_) {
|
|
4474
|
+
let V = b(_);
|
|
4468
4475
|
(!V || !V.tagName) && (V = {
|
|
4469
4476
|
namespaceURI: vn,
|
|
4470
4477
|
tagName: "template"
|
|
4471
4478
|
});
|
|
4472
|
-
const te = Uu(
|
|
4473
|
-
return Wr[
|
|
4474
|
-
}, Ft = function(
|
|
4479
|
+
const te = Uu(_.tagName), xe = Uu(V.tagName);
|
|
4480
|
+
return Wr[_.namespaceURI] ? _.namespaceURI === Fu ? V.namespaceURI === Ht ? te === "svg" : V.namespaceURI === Du ? te === "svg" && (xe === "annotation-xml" || Tu[xe]) : !!Fo[te] : _.namespaceURI === Du ? V.namespaceURI === Ht ? te === "math" : V.namespaceURI === Fu ? te === "math" && Iu[xe] : !!To[te] : _.namespaceURI === Ht ? V.namespaceURI === Fu && !Iu[xe] || V.namespaceURI === Du && !Tu[xe] ? !1 : !To[te] && (Wl[te] || !Fo[te]) : !!(Un === "application/xhtml+xml" && Wr[_.namespaceURI]) : !1;
|
|
4481
|
+
}, Ft = function(_) {
|
|
4475
4482
|
Wn(t.removed, {
|
|
4476
|
-
element:
|
|
4483
|
+
element: _
|
|
4477
4484
|
});
|
|
4478
4485
|
try {
|
|
4479
|
-
b(
|
|
4486
|
+
b(_).removeChild(_);
|
|
4480
4487
|
} catch {
|
|
4481
|
-
x(
|
|
4488
|
+
x(_);
|
|
4482
4489
|
}
|
|
4483
|
-
}, ln = function(
|
|
4490
|
+
}, ln = function(_, V) {
|
|
4484
4491
|
try {
|
|
4485
4492
|
Wn(t.removed, {
|
|
4486
|
-
attribute: V.getAttributeNode(
|
|
4493
|
+
attribute: V.getAttributeNode(_),
|
|
4487
4494
|
from: V
|
|
4488
4495
|
});
|
|
4489
4496
|
} catch {
|
|
@@ -4492,27 +4499,27 @@ function tl() {
|
|
|
4492
4499
|
from: V
|
|
4493
4500
|
});
|
|
4494
4501
|
}
|
|
4495
|
-
if (V.removeAttribute(
|
|
4496
|
-
if (jt ||
|
|
4502
|
+
if (V.removeAttribute(_), _ === "is")
|
|
4503
|
+
if (jt || _u)
|
|
4497
4504
|
try {
|
|
4498
4505
|
Ft(V);
|
|
4499
4506
|
} catch {
|
|
4500
4507
|
}
|
|
4501
4508
|
else
|
|
4502
4509
|
try {
|
|
4503
|
-
V.setAttribute(
|
|
4510
|
+
V.setAttribute(_, "");
|
|
4504
4511
|
} catch {
|
|
4505
4512
|
}
|
|
4506
|
-
}, Io = function(
|
|
4513
|
+
}, Io = function(_) {
|
|
4507
4514
|
let V = null, te = null;
|
|
4508
4515
|
if (qt)
|
|
4509
|
-
|
|
4516
|
+
_ = "<remove></remove>" + _;
|
|
4510
4517
|
else {
|
|
4511
|
-
const Ce = ri(
|
|
4518
|
+
const Ce = ri(_, /^[\r\n\t ]+/);
|
|
4512
4519
|
te = Ce && Ce[0];
|
|
4513
4520
|
}
|
|
4514
|
-
Un === "application/xhtml+xml" && vn === Ht && (
|
|
4515
|
-
const xe = y ? y.createHTML(
|
|
4521
|
+
Un === "application/xhtml+xml" && vn === Ht && (_ = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + _ + "</body></html>");
|
|
4522
|
+
const xe = y ? y.createHTML(_) : _;
|
|
4516
4523
|
if (vn === Ht)
|
|
4517
4524
|
try {
|
|
4518
4525
|
V = new h().parseFromString(xe, Un);
|
|
@@ -4526,73 +4533,73 @@ function tl() {
|
|
|
4526
4533
|
}
|
|
4527
4534
|
}
|
|
4528
4535
|
const He = V.body || V.documentElement;
|
|
4529
|
-
return
|
|
4530
|
-
}, Oo = function(
|
|
4536
|
+
return _ && te && He.insertBefore(n.createTextNode(te), He.childNodes[0] || null), vn === Ht ? X.call(V, Be ? "html" : "body")[0] : Be ? V.documentElement : He;
|
|
4537
|
+
}, Oo = function(_) {
|
|
4531
4538
|
return S.call(
|
|
4532
|
-
|
|
4533
|
-
|
|
4539
|
+
_.ownerDocument || _,
|
|
4540
|
+
_,
|
|
4534
4541
|
// eslint-disable-next-line no-bitwise
|
|
4535
4542
|
c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
|
|
4536
4543
|
null
|
|
4537
4544
|
);
|
|
4538
|
-
}, Gr = function(
|
|
4539
|
-
return
|
|
4540
|
-
}, Lo = function(
|
|
4541
|
-
return typeof a == "function" &&
|
|
4545
|
+
}, Gr = function(_) {
|
|
4546
|
+
return _ instanceof l && (typeof _.nodeName != "string" || typeof _.textContent != "string" || typeof _.removeChild != "function" || !(_.attributes instanceof f) || typeof _.removeAttribute != "function" || typeof _.setAttribute != "function" || typeof _.namespaceURI != "string" || typeof _.insertBefore != "function" || typeof _.hasChildNodes != "function");
|
|
4547
|
+
}, Lo = function(_) {
|
|
4548
|
+
return typeof a == "function" && _ instanceof a;
|
|
4542
4549
|
};
|
|
4543
|
-
function $t(ue,
|
|
4550
|
+
function $t(ue, _, V) {
|
|
4544
4551
|
Pu(ue, (te) => {
|
|
4545
|
-
te.call(t,
|
|
4552
|
+
te.call(t, _, V, yn);
|
|
4546
4553
|
});
|
|
4547
4554
|
}
|
|
4548
|
-
const Ro = function(
|
|
4555
|
+
const Ro = function(_) {
|
|
4549
4556
|
let V = null;
|
|
4550
|
-
if ($t(N.beforeSanitizeElements,
|
|
4551
|
-
return Ft(
|
|
4552
|
-
const te = Fe(
|
|
4553
|
-
if ($t(N.uponSanitizeElement,
|
|
4557
|
+
if ($t(N.beforeSanitizeElements, _, null), Gr(_))
|
|
4558
|
+
return Ft(_), !0;
|
|
4559
|
+
const te = Fe(_.nodeName);
|
|
4560
|
+
if ($t(N.uponSanitizeElement, _, {
|
|
4554
4561
|
tagName: te,
|
|
4555
4562
|
allowedTags: j
|
|
4556
|
-
}), tt &&
|
|
4557
|
-
return Ft(
|
|
4563
|
+
}), tt && _.hasChildNodes() && !Lo(_.firstElementChild) && Ge(/<[/\w!]/g, _.innerHTML) && Ge(/<[/\w!]/g, _.textContent) || _.nodeType === Xn.progressingInstruction || tt && _.nodeType === Xn.comment && Ge(/<[/\w]/g, _.data))
|
|
4564
|
+
return Ft(_), !0;
|
|
4558
4565
|
if (!(Q.tagCheck instanceof Function && Q.tagCheck(te)) && (!j[te] || W[te])) {
|
|
4559
4566
|
if (!W[te] && Mo(te) && (O.tagNameCheck instanceof RegExp && Ge(O.tagNameCheck, te) || O.tagNameCheck instanceof Function && O.tagNameCheck(te)))
|
|
4560
4567
|
return !1;
|
|
4561
4568
|
if (jr && !Dt[te]) {
|
|
4562
|
-
const xe = b(
|
|
4569
|
+
const xe = b(_) || _.parentNode, He = g(_) || _.childNodes;
|
|
4563
4570
|
if (He && xe) {
|
|
4564
4571
|
const Ce = He.length;
|
|
4565
4572
|
for (let Qe = Ce - 1; Qe >= 0; --Qe) {
|
|
4566
4573
|
const Ut = w(He[Qe], !0);
|
|
4567
|
-
Ut.__removalCount = (
|
|
4574
|
+
Ut.__removalCount = (_.__removalCount || 0) + 1, xe.insertBefore(Ut, v(_));
|
|
4568
4575
|
}
|
|
4569
4576
|
}
|
|
4570
4577
|
}
|
|
4571
|
-
return Ft(
|
|
4578
|
+
return Ft(_), !0;
|
|
4572
4579
|
}
|
|
4573
|
-
return
|
|
4580
|
+
return _ instanceof s && !Xl(_) || (te === "noscript" || te === "noembed" || te === "noframes") && Ge(/<\/no(script|embed|frames)/i, _.innerHTML) ? (Ft(_), !0) : (ke && _.nodeType === Xn.text && (V = _.textContent, Pu([U, R, G], (xe) => {
|
|
4574
4581
|
V = Vn(V, xe, " ");
|
|
4575
|
-
}),
|
|
4576
|
-
element:
|
|
4577
|
-
}),
|
|
4578
|
-
}, Po = function(
|
|
4582
|
+
}), _.textContent !== V && (Wn(t.removed, {
|
|
4583
|
+
element: _.cloneNode()
|
|
4584
|
+
}), _.textContent = V)), $t(N.afterSanitizeElements, _, null), !1);
|
|
4585
|
+
}, Po = function(_, V, te) {
|
|
4579
4586
|
if (ee[V] || ko && (V === "id" || V === "name") && (te in n || te in ql))
|
|
4580
4587
|
return !1;
|
|
4581
4588
|
if (!(ne && !ee[V] && Ge(q, V))) {
|
|
4582
4589
|
if (!(K && Ge(T, V))) {
|
|
4583
|
-
if (!(Q.attributeCheck instanceof Function && Q.attributeCheck(V,
|
|
4590
|
+
if (!(Q.attributeCheck instanceof Function && Q.attributeCheck(V, _))) {
|
|
4584
4591
|
if (!P[V] || ee[V]) {
|
|
4585
4592
|
if (
|
|
4586
4593
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4587
4594
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4588
4595
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4589
|
-
!(Mo(
|
|
4596
|
+
!(Mo(_) && (O.tagNameCheck instanceof RegExp && Ge(O.tagNameCheck, _) || O.tagNameCheck instanceof Function && O.tagNameCheck(_)) && (O.attributeNameCheck instanceof RegExp && Ge(O.attributeNameCheck, V) || O.attributeNameCheck instanceof Function && O.attributeNameCheck(V, _)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4590
4597
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4591
4598
|
V === "is" && O.allowCustomizedBuiltInElements && (O.tagNameCheck instanceof RegExp && Ge(O.tagNameCheck, te) || O.tagNameCheck instanceof Function && O.tagNameCheck(te)))
|
|
4592
4599
|
) return !1;
|
|
4593
4600
|
} else if (!$r[V]) {
|
|
4594
4601
|
if (!Ge(z, Vn(te, D, ""))) {
|
|
4595
|
-
if (!((V === "src" || V === "xlink:href" || V === "href") &&
|
|
4602
|
+
if (!((V === "src" || V === "xlink:href" || V === "href") && _ !== "script" && zf(te, "data:") === 0 && Eo[_])) {
|
|
4596
4603
|
if (!(ce && !Ge(C, Vn(te, D, "")))) {
|
|
4597
4604
|
if (te)
|
|
4598
4605
|
return !1;
|
|
@@ -4604,14 +4611,14 @@ function tl() {
|
|
|
4604
4611
|
}
|
|
4605
4612
|
}
|
|
4606
4613
|
return !0;
|
|
4607
|
-
}, Mo = function(
|
|
4608
|
-
return
|
|
4609
|
-
}, Bo = function(
|
|
4610
|
-
$t(N.beforeSanitizeAttributes,
|
|
4614
|
+
}, Mo = function(_) {
|
|
4615
|
+
return _ !== "annotation-xml" && ri(_, M);
|
|
4616
|
+
}, Bo = function(_) {
|
|
4617
|
+
$t(N.beforeSanitizeAttributes, _, null);
|
|
4611
4618
|
const {
|
|
4612
4619
|
attributes: V
|
|
4613
|
-
} =
|
|
4614
|
-
if (!V || Gr(
|
|
4620
|
+
} = _;
|
|
4621
|
+
if (!V || Gr(_))
|
|
4615
4622
|
return;
|
|
4616
4623
|
const te = {
|
|
4617
4624
|
attrName: "",
|
|
@@ -4628,30 +4635,30 @@ function tl() {
|
|
|
4628
4635
|
value: Ut
|
|
4629
4636
|
} = He, xn = Fe(Ce), qr = Ut;
|
|
4630
4637
|
let ze = Ce === "value" ? qr : Nf(qr);
|
|
4631
|
-
if (te.attrName = xn, te.attrValue = ze, te.keepAttr = !0, te.forceKeepAttr = void 0, $t(N.uponSanitizeAttribute,
|
|
4632
|
-
ln(Ce,
|
|
4638
|
+
if (te.attrName = xn, te.attrValue = ze, te.keepAttr = !0, te.forceKeepAttr = void 0, $t(N.uponSanitizeAttribute, _, te), ze = te.attrValue, Co && (xn === "id" || xn === "name") && (ln(Ce, _), ze = $l + ze), tt && Ge(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, ze)) {
|
|
4639
|
+
ln(Ce, _);
|
|
4633
4640
|
continue;
|
|
4634
4641
|
}
|
|
4635
4642
|
if (xn === "attributename" && ri(ze, "href")) {
|
|
4636
|
-
ln(Ce,
|
|
4643
|
+
ln(Ce, _);
|
|
4637
4644
|
continue;
|
|
4638
4645
|
}
|
|
4639
4646
|
if (te.forceKeepAttr)
|
|
4640
4647
|
continue;
|
|
4641
4648
|
if (!te.keepAttr) {
|
|
4642
|
-
ln(Ce,
|
|
4649
|
+
ln(Ce, _);
|
|
4643
4650
|
continue;
|
|
4644
4651
|
}
|
|
4645
4652
|
if (!Ae && Ge(/\/>/i, ze)) {
|
|
4646
|
-
ln(Ce,
|
|
4653
|
+
ln(Ce, _);
|
|
4647
4654
|
continue;
|
|
4648
4655
|
}
|
|
4649
4656
|
ke && Pu([U, R, G], (No) => {
|
|
4650
4657
|
ze = Vn(ze, No, " ");
|
|
4651
4658
|
});
|
|
4652
|
-
const zo = Fe(
|
|
4659
|
+
const zo = Fe(_.nodeName);
|
|
4653
4660
|
if (!Po(zo, xn, ze)) {
|
|
4654
|
-
ln(Ce,
|
|
4661
|
+
ln(Ce, _);
|
|
4655
4662
|
continue;
|
|
4656
4663
|
}
|
|
4657
4664
|
if (y && typeof m == "object" && typeof m.getAttributeType == "function" && !Qe)
|
|
@@ -4667,21 +4674,21 @@ function tl() {
|
|
|
4667
4674
|
}
|
|
4668
4675
|
if (ze !== qr)
|
|
4669
4676
|
try {
|
|
4670
|
-
Qe ?
|
|
4677
|
+
Qe ? _.setAttributeNS(Qe, Ce, ze) : _.setAttribute(Ce, ze), Gr(_) ? Ft(_) : da(t.removed);
|
|
4671
4678
|
} catch {
|
|
4672
|
-
ln(Ce,
|
|
4679
|
+
ln(Ce, _);
|
|
4673
4680
|
}
|
|
4674
4681
|
}
|
|
4675
|
-
$t(N.afterSanitizeAttributes,
|
|
4676
|
-
}, Zl = function ue(
|
|
4682
|
+
$t(N.afterSanitizeAttributes, _, null);
|
|
4683
|
+
}, Zl = function ue(_) {
|
|
4677
4684
|
let V = null;
|
|
4678
|
-
const te = Oo(
|
|
4679
|
-
for ($t(N.beforeSanitizeShadowDOM,
|
|
4685
|
+
const te = Oo(_);
|
|
4686
|
+
for ($t(N.beforeSanitizeShadowDOM, _, null); V = te.nextNode(); )
|
|
4680
4687
|
$t(N.uponSanitizeShadowNode, V, null), Ro(V), Bo(V), V.content instanceof r && ue(V.content);
|
|
4681
|
-
$t(N.afterSanitizeShadowDOM,
|
|
4688
|
+
$t(N.afterSanitizeShadowDOM, _, null);
|
|
4682
4689
|
};
|
|
4683
4690
|
return t.sanitize = function(ue) {
|
|
4684
|
-
let
|
|
4691
|
+
let _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, V = null, te = null, xe = null, He = null;
|
|
4685
4692
|
if (Ur = !ue, Ur && (ue = "<!-->"), typeof ue != "string" && !Lo(ue))
|
|
4686
4693
|
if (typeof ue.toString == "function") {
|
|
4687
4694
|
if (ue = ue.toString(), typeof ue != "string")
|
|
@@ -4690,7 +4697,7 @@ function tl() {
|
|
|
4690
4697
|
throw Gn("toString is not a function");
|
|
4691
4698
|
if (!t.isSupported)
|
|
4692
4699
|
return ue;
|
|
4693
|
-
if (St || Vr(
|
|
4700
|
+
if (St || Vr(_), t.removed = [], typeof ue == "string" && ($n = !1), $n) {
|
|
4694
4701
|
if (ue.nodeName) {
|
|
4695
4702
|
const Ut = Fe(ue.nodeName);
|
|
4696
4703
|
if (!j[Ut] || W[Ut])
|
|
@@ -4712,8 +4719,8 @@ function tl() {
|
|
|
4712
4719
|
if ($n)
|
|
4713
4720
|
return ue;
|
|
4714
4721
|
if (jt) {
|
|
4715
|
-
if (
|
|
4716
|
-
for (He =
|
|
4722
|
+
if (_u)
|
|
4723
|
+
for (He = E.call(V.ownerDocument); V.firstChild; )
|
|
4717
4724
|
He.appendChild(V.firstChild);
|
|
4718
4725
|
else
|
|
4719
4726
|
He = V;
|
|
@@ -4729,15 +4736,15 @@ function tl() {
|
|
|
4729
4736
|
Vr(ue), St = !0;
|
|
4730
4737
|
}, t.clearConfig = function() {
|
|
4731
4738
|
yn = null, St = !1;
|
|
4732
|
-
}, t.isValidAttribute = function(ue,
|
|
4739
|
+
}, t.isValidAttribute = function(ue, _, V) {
|
|
4733
4740
|
yn || Vr({});
|
|
4734
|
-
const te = Fe(ue), xe = Fe(
|
|
4741
|
+
const te = Fe(ue), xe = Fe(_);
|
|
4735
4742
|
return Po(te, xe, V);
|
|
4736
|
-
}, t.addHook = function(ue,
|
|
4737
|
-
typeof
|
|
4738
|
-
}, t.removeHook = function(ue,
|
|
4739
|
-
if (
|
|
4740
|
-
const V = Mf(N[ue],
|
|
4743
|
+
}, t.addHook = function(ue, _) {
|
|
4744
|
+
typeof _ == "function" && Wn(N[ue], _);
|
|
4745
|
+
}, t.removeHook = function(ue, _) {
|
|
4746
|
+
if (_ !== void 0) {
|
|
4747
|
+
const V = Mf(N[ue], _);
|
|
4741
4748
|
return V === -1 ? void 0 : Bf(N[ue], V, 1)[0];
|
|
4742
4749
|
}
|
|
4743
4750
|
return da(N[ue]);
|
|
@@ -4921,7 +4928,7 @@ function Bu(e, t) {
|
|
|
4921
4928
|
function mh(e, t) {
|
|
4922
4929
|
return e.map(t).join("");
|
|
4923
4930
|
}
|
|
4924
|
-
var Br = 1, Nn = 1, ol = 0, et = 0,
|
|
4931
|
+
var Br = 1, Nn = 1, ol = 0, et = 0, _e = 0, Hn = "";
|
|
4925
4932
|
function zr(e, t, n, u, i, r, o) {
|
|
4926
4933
|
return { value: e, root: t, parent: n, type: u, props: i, children: r, line: Br, column: Nn, length: o, return: "" };
|
|
4927
4934
|
}
|
|
@@ -4929,13 +4936,13 @@ function Zn(e, t) {
|
|
|
4929
4936
|
return fh(zr("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
4930
4937
|
}
|
|
4931
4938
|
function gh() {
|
|
4932
|
-
return
|
|
4939
|
+
return _e;
|
|
4933
4940
|
}
|
|
4934
4941
|
function bh() {
|
|
4935
|
-
return
|
|
4942
|
+
return _e = et > 0 ? Ne(Hn, --et) : 0, Nn--, _e === 10 && (Nn = 1, Br--), _e;
|
|
4936
4943
|
}
|
|
4937
4944
|
function st() {
|
|
4938
|
-
return
|
|
4945
|
+
return _e = et < ol ? Ne(Hn, et++) : 0, Nn++, _e === 10 && (Nn = 1, Br++), _e;
|
|
4939
4946
|
}
|
|
4940
4947
|
function Mt() {
|
|
4941
4948
|
return Ne(Hn, et);
|
|
@@ -4988,23 +4995,23 @@ function Vu(e) {
|
|
|
4988
4995
|
return il(Cu(et - 1, zi(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
4989
4996
|
}
|
|
4990
4997
|
function vh(e) {
|
|
4991
|
-
for (; (
|
|
4998
|
+
for (; (_e = Mt()) && _e < 33; )
|
|
4992
4999
|
st();
|
|
4993
|
-
return mu(e) > 2 || mu(
|
|
5000
|
+
return mu(e) > 2 || mu(_e) > 3 ? "" : " ";
|
|
4994
5001
|
}
|
|
4995
5002
|
function yh(e, t) {
|
|
4996
|
-
for (; --t && st() && !(
|
|
5003
|
+
for (; --t && st() && !(_e < 48 || _e > 102 || _e > 57 && _e < 65 || _e > 70 && _e < 97); )
|
|
4997
5004
|
;
|
|
4998
5005
|
return Cu(e, Wu() + (t < 6 && Mt() == 32 && st() == 32));
|
|
4999
5006
|
}
|
|
5000
5007
|
function zi(e) {
|
|
5001
5008
|
for (; st(); )
|
|
5002
|
-
switch (
|
|
5009
|
+
switch (_e) {
|
|
5003
5010
|
case e:
|
|
5004
5011
|
return et;
|
|
5005
5012
|
case 34:
|
|
5006
5013
|
case 39:
|
|
5007
|
-
e !== 34 && e !== 39 && zi(
|
|
5014
|
+
e !== 34 && e !== 39 && zi(_e);
|
|
5008
5015
|
break;
|
|
5009
5016
|
case 40:
|
|
5010
5017
|
e === 41 && zi(e);
|
|
@@ -5016,8 +5023,8 @@ function zi(e) {
|
|
|
5016
5023
|
return et;
|
|
5017
5024
|
}
|
|
5018
5025
|
function xh(e, t) {
|
|
5019
|
-
for (; st() && e +
|
|
5020
|
-
if (e +
|
|
5026
|
+
for (; st() && e + _e !== 57; )
|
|
5027
|
+
if (e + _e === 84 && Mt() === 47)
|
|
5021
5028
|
break;
|
|
5022
5029
|
return "/*" + Cu(t, et - 1) + "*" + Mr(e === 47 ? e : st());
|
|
5023
5030
|
}
|
|
@@ -5151,7 +5158,7 @@ function Ch(e, t, n, u) {
|
|
|
5151
5158
|
}
|
|
5152
5159
|
return It(n = Sn(e.children, u)) ? e.return = e.value + "{" + n + "}" : "";
|
|
5153
5160
|
}
|
|
5154
|
-
function
|
|
5161
|
+
function Eh(e) {
|
|
5155
5162
|
var t = yo(e);
|
|
5156
5163
|
return function(n, u, i, r) {
|
|
5157
5164
|
for (var o = "", a = 0; a < t; a++)
|
|
@@ -5159,7 +5166,7 @@ function _h(e) {
|
|
|
5159
5166
|
return o;
|
|
5160
5167
|
};
|
|
5161
5168
|
}
|
|
5162
|
-
function
|
|
5169
|
+
function _h(e) {
|
|
5163
5170
|
return function(t) {
|
|
5164
5171
|
t.root || (t = t.return) && e(t);
|
|
5165
5172
|
};
|
|
@@ -5379,9 +5386,9 @@ var Lh = function(t, n, u, i) {
|
|
|
5379
5386
|
);
|
|
5380
5387
|
var s, c = [Ih, Oh];
|
|
5381
5388
|
{
|
|
5382
|
-
var f, l = [Ch,
|
|
5389
|
+
var f, l = [Ch, _h(function(w) {
|
|
5383
5390
|
f.insert(w);
|
|
5384
|
-
})], h =
|
|
5391
|
+
})], h = Eh(c.concat(i, l)), m = function(x) {
|
|
5385
5392
|
return Sn(Ah(x), h);
|
|
5386
5393
|
};
|
|
5387
5394
|
s = function(x, v, g, b) {
|
|
@@ -5618,7 +5625,7 @@ function Ca(e, t) {
|
|
|
5618
5625
|
if (e.inserted[t.name] === void 0)
|
|
5619
5626
|
return e.insert("", t, e.sheet, !0);
|
|
5620
5627
|
}
|
|
5621
|
-
function
|
|
5628
|
+
function Ea(e, t, n) {
|
|
5622
5629
|
var u = [], i = dl(e, u, n);
|
|
5623
5630
|
return u.length < 2 ? n : i + t(u);
|
|
5624
5631
|
}
|
|
@@ -5648,7 +5655,7 @@ var Uh = function(t) {
|
|
|
5648
5655
|
}, o = function() {
|
|
5649
5656
|
for (var s = arguments.length, c = new Array(s), f = 0; f < s; f++)
|
|
5650
5657
|
c[f] = arguments[f];
|
|
5651
|
-
return
|
|
5658
|
+
return Ea(n.registered, u, Wh(c));
|
|
5652
5659
|
};
|
|
5653
5660
|
return {
|
|
5654
5661
|
css: u,
|
|
@@ -5666,7 +5673,7 @@ var Uh = function(t) {
|
|
|
5666
5673
|
sheet: n.sheet,
|
|
5667
5674
|
cache: n,
|
|
5668
5675
|
getRegisteredStyles: dl.bind(null, n.registered),
|
|
5669
|
-
merge:
|
|
5676
|
+
merge: Ea.bind(null, n.registered, u)
|
|
5670
5677
|
};
|
|
5671
5678
|
}, Wh = function e(t) {
|
|
5672
5679
|
for (var n = "", u = 0; u < t.length; u++) {
|
|
@@ -5854,7 +5861,7 @@ var Ni = { exports: {} };
|
|
|
5854
5861
|
function y(I) {
|
|
5855
5862
|
return Promise.all(I.map((P) => b(P))).then(() => Promise.resolve()).catch((P) => Promise.reject(P));
|
|
5856
5863
|
}
|
|
5857
|
-
const k = x("jsCache", () => new p((I) => ({ url: I, status: m.NONE, el: null, error: null, reject: null, exportThing: void 0 }))), F = globalThis, { define: S } = F, { keys:
|
|
5864
|
+
const k = x("jsCache", () => new p((I) => ({ url: I, status: m.NONE, el: null, error: null, reject: null, exportThing: void 0 }))), F = globalThis, { define: S } = F, { keys: E } = Object;
|
|
5858
5865
|
let X = !1;
|
|
5859
5866
|
typeof S < "u" && !S.runtime_import && (console.warn("runtime-import should NOT coexist with requiesjs or seajs or any other AMD/CMD loader."), X = !0);
|
|
5860
5867
|
const $ = x("pendingItemMap", () => ({})), N = function(...I) {
|
|
@@ -5872,7 +5879,7 @@ var Ni = { exports: {} };
|
|
|
5872
5879
|
let Ae = P(...ee.map((ke) => ke === "exports" ? (ne = !0, ce) : F[ke]));
|
|
5873
5880
|
return !Ae && ne && (Ae = ce), Ae;
|
|
5874
5881
|
})();
|
|
5875
|
-
Q && (F[Q] = K), K &&
|
|
5882
|
+
Q && (F[Q] = K), K && E(K).length === 1 && K.default && (W.exportThing = K.default, W.exportThing.default = K.default);
|
|
5876
5883
|
} catch (ee) {
|
|
5877
5884
|
W.status = m.ERROR, ee instanceof Error && (W.error = ee), W.reject(ee);
|
|
5878
5885
|
}
|
|
@@ -6063,7 +6070,7 @@ const tu = /* @__PURE__ */ ie({
|
|
|
6063
6070
|
class: h.value
|
|
6064
6071
|
}, null)]);
|
|
6065
6072
|
}
|
|
6066
|
-
}),
|
|
6073
|
+
}), _a = (e, t) => {
|
|
6067
6074
|
var n;
|
|
6068
6075
|
if (e.type === We.AssistantWidgetComplete) {
|
|
6069
6076
|
const u = e;
|
|
@@ -6424,15 +6431,15 @@ const nu = /* @__PURE__ */ ie({
|
|
|
6424
6431
|
function s1() {
|
|
6425
6432
|
return {
|
|
6426
6433
|
[We.Text]: ih,
|
|
6427
|
-
[We.AssistantWidgetComplete]:
|
|
6428
|
-
[We.AssistantWidgetPending]:
|
|
6434
|
+
[We.AssistantWidgetComplete]: _a,
|
|
6435
|
+
[We.AssistantWidgetPending]: _a,
|
|
6429
6436
|
[We.DynamicComponentComplete]: Fa,
|
|
6430
6437
|
[We.DynamicComponentPending]: Fa
|
|
6431
6438
|
};
|
|
6432
6439
|
}
|
|
6433
6440
|
const l1 = /* @__PURE__ */ ie({
|
|
6434
6441
|
name: "FXBubbleTextContent",
|
|
6435
|
-
props:
|
|
6442
|
+
props: _c,
|
|
6436
6443
|
emits: ["dynamicComponentsDetected", "showDynamicComponent"],
|
|
6437
6444
|
setup(e, t) {
|
|
6438
6445
|
const {
|
|
@@ -6579,7 +6586,7 @@ const l1 = /* @__PURE__ */ ie({
|
|
|
6579
6586
|
}, S = () => v.value ? null : d(gn, {
|
|
6580
6587
|
status: "Working",
|
|
6581
6588
|
variant: "thinking"
|
|
6582
|
-
}, null),
|
|
6589
|
+
}, null), E = () => !b.value || !l.value ? null : d("div", {
|
|
6583
6590
|
class: "f-chat-bubble-thinking-content"
|
|
6584
6591
|
}, [d("div", {
|
|
6585
6592
|
class: "f-chat-bubble-thinking-scroll-container",
|
|
@@ -6608,7 +6615,7 @@ const l1 = /* @__PURE__ */ ie({
|
|
|
6608
6615
|
transform: l.value ? "rotate(0deg)" : "rotate(180deg)",
|
|
6609
6616
|
transition: "all 0.3s ease-in-out"
|
|
6610
6617
|
}
|
|
6611
|
-
}, null)]),
|
|
6618
|
+
}, null)]), E()]);
|
|
6612
6619
|
}
|
|
6613
6620
|
}), f1 = {
|
|
6614
6621
|
content: {
|
|
@@ -6692,7 +6699,7 @@ function m1(e, t, n, u) {
|
|
|
6692
6699
|
o.value = Math.max(e.minWidth, O.width);
|
|
6693
6700
|
}
|
|
6694
6701
|
}
|
|
6695
|
-
function
|
|
6702
|
+
function E(L, O) {
|
|
6696
6703
|
const W = g.value - L.width - 4;
|
|
6697
6704
|
return W > 0 ? W : O;
|
|
6698
6705
|
}
|
|
@@ -6709,11 +6716,11 @@ function m1(e, t, n, u) {
|
|
|
6709
6716
|
return Math.min(ee, Q);
|
|
6710
6717
|
}
|
|
6711
6718
|
function U(L, O) {
|
|
6712
|
-
const W =
|
|
6719
|
+
const W = E(O, L), ee = L <= W ? l.value : L - W;
|
|
6713
6720
|
return { popoverLeft: Math.min(L, W), arrowLeft: ee, maxHeight: 0 };
|
|
6714
6721
|
}
|
|
6715
6722
|
function R(L, O) {
|
|
6716
|
-
const W =
|
|
6723
|
+
const W = E(O, L), ee = L <= W ? l.value : L - W;
|
|
6717
6724
|
return { popoverLeft: L, arrowLeft: ee, maxHeight: 0 };
|
|
6718
6725
|
}
|
|
6719
6726
|
function G(L, O, W) {
|
|
@@ -6886,11 +6893,11 @@ const Dn = /* @__PURE__ */ ie({
|
|
|
6886
6893
|
} = b1(e, t, i, r, c, u), g = B(() => {
|
|
6887
6894
|
let S = f.value;
|
|
6888
6895
|
S === "top-left" && (S = "top");
|
|
6889
|
-
const
|
|
6896
|
+
const E = `popover in popover-${S}`, X = `bs-popover-${S}`, $ = {
|
|
6890
6897
|
"popover-fitcontent": e.fitContent,
|
|
6891
6898
|
fade: !0
|
|
6892
6899
|
};
|
|
6893
|
-
$[
|
|
6900
|
+
$[E] = !0, $[X] = !0;
|
|
6894
6901
|
const N = (e.class || "").split(" ");
|
|
6895
6902
|
return e.isSimpleTips && N.unshift("popover-tips"), N.reduce((U, R) => (U[R] = !0, U), $), $;
|
|
6896
6903
|
}), b = B(() => ({
|
|
@@ -6920,11 +6927,11 @@ const Dn = /* @__PURE__ */ ie({
|
|
|
6920
6927
|
...h.value,
|
|
6921
6928
|
...F.value
|
|
6922
6929
|
},
|
|
6923
|
-
onMousedown: (
|
|
6924
|
-
|
|
6930
|
+
onMousedown: (E) => {
|
|
6931
|
+
E.stopPropagation();
|
|
6925
6932
|
},
|
|
6926
|
-
onClick: (
|
|
6927
|
-
|
|
6933
|
+
onClick: (E) => {
|
|
6934
|
+
E.stopPropagation();
|
|
6928
6935
|
}
|
|
6929
6936
|
}, [k.value && d("div", {
|
|
6930
6937
|
ref: n,
|
|
@@ -6938,15 +6945,15 @@ const Dn = /* @__PURE__ */ ie({
|
|
|
6938
6945
|
}
|
|
6939
6946
|
});
|
|
6940
6947
|
}
|
|
6941
|
-
}),
|
|
6942
|
-
window[
|
|
6948
|
+
}), Er = "FarrisX_PopoverInstancesKey";
|
|
6949
|
+
window[Er] = window[Er] || /* @__PURE__ */ new WeakMap();
|
|
6943
6950
|
function xo(e, t, n) {
|
|
6944
6951
|
e.stopPropagation();
|
|
6945
6952
|
const u = t.value;
|
|
6946
|
-
u && u.value && !u.value.isShow && (u.value.show(n), window[
|
|
6953
|
+
u && u.value && !u.value.isShow && (u.value.show(n), window[Er].set(n, u.value));
|
|
6947
6954
|
}
|
|
6948
6955
|
function gl(e, t, n) {
|
|
6949
|
-
e.stopPropagation(), t.value.value.hide(), window[
|
|
6956
|
+
e.stopPropagation(), t.value.value.hide(), window[Er].delete(n);
|
|
6950
6957
|
}
|
|
6951
6958
|
function y1(e, t, n) {
|
|
6952
6959
|
e.stopPropagation();
|
|
@@ -7162,7 +7169,7 @@ const w1 = {
|
|
|
7162
7169
|
class: "f-chat-todo-task-description"
|
|
7163
7170
|
}, [h.value]), [[Ho("overflow-tooltip")]]) : null])])]);
|
|
7164
7171
|
}
|
|
7165
|
-
}),
|
|
7172
|
+
}), _r = /* @__PURE__ */ ie({
|
|
7166
7173
|
name: "FXTodoListView",
|
|
7167
7174
|
props: A1,
|
|
7168
7175
|
setup(e) {
|
|
@@ -7175,7 +7182,7 @@ const w1 = {
|
|
|
7175
7182
|
}, n), null))]) : null;
|
|
7176
7183
|
};
|
|
7177
7184
|
}
|
|
7178
|
-
}), C1 = 300,
|
|
7185
|
+
}), C1 = 300, E1 = {
|
|
7179
7186
|
Working: "正在执行任务",
|
|
7180
7187
|
Done: "已完成任务",
|
|
7181
7188
|
NotStart: "待执行任务"
|
|
@@ -7210,7 +7217,7 @@ const w1 = {
|
|
|
7210
7217
|
const g = o.value.detail ?? "";
|
|
7211
7218
|
return d(Ve, null, [g ? d("div", {
|
|
7212
7219
|
class: "f-chat-started-todo-task-detail"
|
|
7213
|
-
}, [g]) : null, d(
|
|
7220
|
+
}, [g]) : null, d(_r, {
|
|
7214
7221
|
items: e.todoList
|
|
7215
7222
|
}, null)]);
|
|
7216
7223
|
}
|
|
@@ -7271,7 +7278,7 @@ const w1 = {
|
|
|
7271
7278
|
onClick: h
|
|
7272
7279
|
}, [e.showLabel && d("span", {
|
|
7273
7280
|
class: "f-chat-started-todo-label"
|
|
7274
|
-
}, [
|
|
7281
|
+
}, [E1[e.status]]), d("span", {
|
|
7275
7282
|
class: "f-chat-started-todo-message",
|
|
7276
7283
|
innerHTML: e.message
|
|
7277
7284
|
}, null), v(), m()]), e.detailViewMode === "expand" && d("div", {
|
|
@@ -7282,7 +7289,7 @@ const w1 = {
|
|
|
7282
7289
|
Fn.install = (e) => {
|
|
7283
7290
|
e.component(Fn.name, Fn);
|
|
7284
7291
|
};
|
|
7285
|
-
const
|
|
7292
|
+
const _1 = /* @__PURE__ */ ie({
|
|
7286
7293
|
name: "FXBubbleThoughtChain",
|
|
7287
7294
|
props: f1,
|
|
7288
7295
|
setup(e, t) {
|
|
@@ -7550,7 +7557,7 @@ const Yu = /* @__PURE__ */ ie({
|
|
|
7550
7557
|
}, null) : null;
|
|
7551
7558
|
}, F = () => {
|
|
7552
7559
|
var R;
|
|
7553
|
-
return (R = e.content) != null && R.startedTodo ? d(
|
|
7560
|
+
return (R = e.content) != null && R.startedTodo ? d(_1, {
|
|
7554
7561
|
ref: i,
|
|
7555
7562
|
content: e.content.startedTodo
|
|
7556
7563
|
}, null) : null;
|
|
@@ -7570,7 +7577,7 @@ const Yu = /* @__PURE__ */ ie({
|
|
|
7570
7577
|
onPreviewFile: c,
|
|
7571
7578
|
onBatchPreviewFile: f
|
|
7572
7579
|
}) : G === "template" && R.template ? R.template() : null;
|
|
7573
|
-
},
|
|
7580
|
+
}, E = () => {
|
|
7574
7581
|
var T, C, D;
|
|
7575
7582
|
if (!((D = (C = (T = e.content) == null ? void 0 : T.structuredContent) == null ? void 0 : C.sections) != null && D.length)) return null;
|
|
7576
7583
|
const {
|
|
@@ -7651,7 +7658,7 @@ const Yu = /* @__PURE__ */ ie({
|
|
|
7651
7658
|
class: `f-chat-bubble-content ${e.placement}`
|
|
7652
7659
|
}, [o.value && g(), $(), d("div", {
|
|
7653
7660
|
class: `f-chat-bubble-content-text-wrapper ${e.placement}`
|
|
7654
|
-
}, [(R = e.content) != null && R.compositeOrderedBeforeMarkdownRender ? e.content.compositeOrderedBeforeMarkdownRender() : d(Ve, null, [k(), y()]), F(),
|
|
7661
|
+
}, [(R = e.content) != null && R.compositeOrderedBeforeMarkdownRender ? e.content.compositeOrderedBeforeMarkdownRender() : d(Ve, null, [k(), y()]), F(), E(), d(l1, {
|
|
7655
7662
|
title: ((G = e.content) == null ? void 0 : G.title) ?? "",
|
|
7656
7663
|
subtitle: ((q = e.content) == null ? void 0 : q.subtitle) ?? "",
|
|
7657
7664
|
text: typeof ((T = e.content) == null ? void 0 : T.text) == "string" ? e.content.text : "",
|
|
@@ -7983,21 +7990,21 @@ const Ku = /* @__PURE__ */ ie({
|
|
|
7983
7990
|
};
|
|
7984
7991
|
return Se(k, (F = e.classNames) == null ? void 0 : F.indicator);
|
|
7985
7992
|
}), v = (k) => {
|
|
7986
|
-
var S,
|
|
7993
|
+
var S, E;
|
|
7987
7994
|
const F = {
|
|
7988
7995
|
"fx-carousel--arrow": !0,
|
|
7989
7996
|
"fx-carousel--arrow-left": k === "left",
|
|
7990
7997
|
"fx-carousel--arrow-right": k === "right",
|
|
7991
7998
|
"fx-carousel--arrow-never": e.arrowVisibility === "never" || !e.showArrow
|
|
7992
7999
|
};
|
|
7993
|
-
return F[`fx-carousel--arrow-${e.buttonPosition}`] = !0, Se(F, k === "left" ? (S = e.classNames) == null ? void 0 : S.arrowLeft : (
|
|
8000
|
+
return F[`fx-carousel--arrow-${e.buttonPosition}`] = !0, Se(F, k === "left" ? (S = e.classNames) == null ? void 0 : S.arrowLeft : (E = e.classNames) == null ? void 0 : E.arrowRight);
|
|
7994
8001
|
}, g = (k) => {
|
|
7995
|
-
var
|
|
8002
|
+
var E, X;
|
|
7996
8003
|
if (i.value) return null;
|
|
7997
8004
|
const F = k === "left" ? s : a, S = t[k === "left" ? "prevArrow" : "nextArrow"];
|
|
7998
8005
|
return d("button", {
|
|
7999
8006
|
class: v(k),
|
|
8000
|
-
style: k === "left" ? (
|
|
8007
|
+
style: k === "left" ? (E = e.styles) == null ? void 0 : E.arrowLeft : (X = e.styles) == null ? void 0 : X.arrowRight,
|
|
8001
8008
|
onClick: F,
|
|
8002
8009
|
"aria-label": `${k} arrow`
|
|
8003
8010
|
}, [S ? S() : d("i", {
|
|
@@ -8010,14 +8017,14 @@ const Ku = /* @__PURE__ */ ie({
|
|
|
8010
8017
|
class: x.value,
|
|
8011
8018
|
style: (k = e.styles) == null ? void 0 : k.indicator
|
|
8012
8019
|
}, [e.items.map((F, S) => {
|
|
8013
|
-
var
|
|
8020
|
+
var E, X;
|
|
8014
8021
|
return d("button", {
|
|
8015
8022
|
"aria-label": `indicator ${S}`,
|
|
8016
8023
|
key: S,
|
|
8017
8024
|
class: ["fx-carousel--indicator-item", {
|
|
8018
8025
|
"fx-carousel--indicator-item-active": S === u.value
|
|
8019
8026
|
}],
|
|
8020
|
-
style: S === u.value ? (
|
|
8027
|
+
style: S === u.value ? (E = e.styles) == null ? void 0 : E.indicatorItemActive : (X = e.styles) == null ? void 0 : X.indicatorItem,
|
|
8021
8028
|
onClick: () => {
|
|
8022
8029
|
o(S), l(S);
|
|
8023
8030
|
}
|
|
@@ -8034,17 +8041,17 @@ const Ku = /* @__PURE__ */ ie({
|
|
|
8034
8041
|
active: F === u.value,
|
|
8035
8042
|
styles: e.styles,
|
|
8036
8043
|
classNames: e.classNames,
|
|
8037
|
-
onClick: (S,
|
|
8038
|
-
n("item-click", S,
|
|
8044
|
+
onClick: (S, E, X) => {
|
|
8045
|
+
n("item-click", S, E, X);
|
|
8039
8046
|
}
|
|
8040
8047
|
}, {
|
|
8041
8048
|
default: () => {
|
|
8042
|
-
var S,
|
|
8049
|
+
var S, E;
|
|
8043
8050
|
return [(S = t.item) == null ? void 0 : S.call(t, {
|
|
8044
8051
|
item: k,
|
|
8045
8052
|
index: F,
|
|
8046
8053
|
active: F === u.value
|
|
8047
|
-
}), (
|
|
8054
|
+
}), (E = t[`item${F}`]) == null ? void 0 : E.call(t, {
|
|
8048
8055
|
item: k,
|
|
8049
8056
|
index: F,
|
|
8050
8057
|
active: F === u.value
|
|
@@ -8092,16 +8099,16 @@ function L1(e) {
|
|
|
8092
8099
|
const y = e.value;
|
|
8093
8100
|
if (y) {
|
|
8094
8101
|
const { left: k, right: F, width: S } = y.getBoundingClientRect();
|
|
8095
|
-
let
|
|
8096
|
-
b === "right" && (
|
|
8102
|
+
let E = x.clientX - k;
|
|
8103
|
+
b === "right" && (E = F - x.clientX), E > v && (E = v), E < g && (E = g), b === "right" && (E = S - E), u.value = E;
|
|
8097
8104
|
}
|
|
8098
8105
|
}
|
|
8099
8106
|
function l(x, v, g, b) {
|
|
8100
8107
|
const y = e.value;
|
|
8101
8108
|
if (y) {
|
|
8102
8109
|
const { top: k, bottom: F, height: S } = y.getBoundingClientRect();
|
|
8103
|
-
let
|
|
8104
|
-
b === "bottom" && (
|
|
8110
|
+
let E = x.clientY - k;
|
|
8111
|
+
b === "bottom" && (E = F - x.clientY), E > v && (E = v), E < g && (E = g), b === "bottom" && (E = S - E), i.value = E;
|
|
8105
8112
|
}
|
|
8106
8113
|
}
|
|
8107
8114
|
function h() {
|
|
@@ -8235,14 +8242,14 @@ function P1(e, t) {
|
|
|
8235
8242
|
const g = () => e.maxWidth ? e.maxWidth : h(p, e.minWidth) || 0, b = () => e.maxHeight ? e.maxHeight : m(p, e.minHeight) || 0;
|
|
8236
8243
|
function y(S) {
|
|
8237
8244
|
if ((p === "left" || p === "right") && x) {
|
|
8238
|
-
const { left:
|
|
8245
|
+
const { left: E } = x.getBoundingClientRect(), { width: X } = w.getBoundingClientRect(), $ = S.clientX - E;
|
|
8239
8246
|
let N = p === "left" ? (X || 0) + ($ - i.value) : (X || 0) - ($ - i.value);
|
|
8240
8247
|
N = e.minWidth > 0 ? Math.max(e.minWidth, N) : N;
|
|
8241
8248
|
const U = g();
|
|
8242
8249
|
U != null && U > 0 && (N = U > N ? N : U), n.value = N;
|
|
8243
8250
|
}
|
|
8244
8251
|
if ((p === "top" || p === "bottom") && x) {
|
|
8245
|
-
const { top:
|
|
8252
|
+
const { top: E } = x.getBoundingClientRect(), { height: X } = w.getBoundingClientRect(), $ = S.clientY - E;
|
|
8246
8253
|
let N = p === "top" ? (X || 0) + ($ - s.value) : (X || 0) - ($ - s.value);
|
|
8247
8254
|
N = e.minHeight > 0 ? Math.max(e.minHeight, N) : N;
|
|
8248
8255
|
const U = b();
|
|
@@ -8250,16 +8257,16 @@ function P1(e, t) {
|
|
|
8250
8257
|
}
|
|
8251
8258
|
r.value = 0, c.value = 0, i.value = -1, s.value = -1, o.value = !1, a.value = !1, document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", y), document.body.style.userSelect = "", p = "", w = null, x = null;
|
|
8252
8259
|
}
|
|
8253
|
-
function k(S,
|
|
8254
|
-
if (p =
|
|
8260
|
+
function k(S, E, X) {
|
|
8261
|
+
if (p = E, w = X, o.value = !0, x = S.composedPath().find((N) => N.className.split(" ")[0] === "f-splitter"), x) {
|
|
8255
8262
|
const { left: N } = x.getBoundingClientRect();
|
|
8256
8263
|
r.value = S.clientX - N, i.value = S.clientX - N;
|
|
8257
8264
|
const U = g();
|
|
8258
8265
|
v = (R) => f(R, U, e.minWidth, p), document.addEventListener("mousemove", v), document.addEventListener("mouseup", y), document.body.style.userSelect = "none";
|
|
8259
8266
|
}
|
|
8260
8267
|
}
|
|
8261
|
-
function F(S,
|
|
8262
|
-
if (p =
|
|
8268
|
+
function F(S, E, X) {
|
|
8269
|
+
if (p = E, w = X, a.value = !0, x = S.composedPath().find((N) => N.className.split(" ")[0] === "f-splitter"), x) {
|
|
8263
8270
|
const { top: N } = x.getBoundingClientRect();
|
|
8264
8271
|
c.value = S.clientY - N, s.value = S.clientY - N;
|
|
8265
8272
|
const U = b();
|
|
@@ -8638,7 +8645,7 @@ const M1 = {
|
|
|
8638
8645
|
scrollAuto: "Scroll Auto"
|
|
8639
8646
|
}
|
|
8640
8647
|
}
|
|
8641
|
-
},
|
|
8648
|
+
}, Et = {
|
|
8642
8649
|
editorExtensions: {
|
|
8643
8650
|
highlight: {
|
|
8644
8651
|
js: U1,
|
|
@@ -8822,7 +8829,7 @@ const tp = {
|
|
|
8822
8829
|
y.touches[0].clientY - y.touches[1].clientY
|
|
8823
8830
|
) / c, F = u;
|
|
8824
8831
|
u = f * (1 + (k - 1));
|
|
8825
|
-
const S = (y.touches[0].clientX + y.touches[1].clientX) / 2,
|
|
8832
|
+
const S = (y.touches[0].clientX + y.touches[1].clientX) / 2, E = (y.touches[0].clientY + y.touches[1].clientY) / 2, X = n.getBoundingClientRect(), $ = (S - X.left) / F, N = (E - X.top) / F;
|
|
8826
8833
|
i -= $ * (u - F), r -= N * (u - F), l();
|
|
8827
8834
|
}
|
|
8828
8835
|
}, p = () => {
|
|
@@ -8831,8 +8838,8 @@ const tp = {
|
|
|
8831
8838
|
y.preventDefault();
|
|
8832
8839
|
const k = 0.02, F = u;
|
|
8833
8840
|
y.deltaY < 0 ? u += k : u = Math.max(0.1, u - k);
|
|
8834
|
-
const S = n.getBoundingClientRect(),
|
|
8835
|
-
i -=
|
|
8841
|
+
const S = n.getBoundingClientRect(), E = y.clientX - S.left, X = y.clientY - S.top;
|
|
8842
|
+
i -= E / F * (u - F), r -= X / F * (u - F), l();
|
|
8836
8843
|
}, x = (y) => {
|
|
8837
8844
|
o = !0, a = y.clientX - i, s = y.clientY - r;
|
|
8838
8845
|
}, v = (y) => {
|
|
@@ -9048,7 +9055,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9048
9055
|
pop() {
|
|
9049
9056
|
return this.heap[--this.length];
|
|
9050
9057
|
}
|
|
9051
|
-
}, In = new WeakMap(), le(Pt, In, !1), Pt), cs, ds, dt, ut, mt, hn, gt, On, Ln, bt, Te, vt,
|
|
9058
|
+
}, In = new WeakMap(), le(Pt, In, !1), Pt), cs, ds, dt, ut, mt, hn, gt, On, Ln, bt, Te, vt, Ee, ye, ae, qe, rt, Ue, Le, yt, Re, xt, wt, it, ot, At, en, Xe, Rn, Z, Zi, pn, Vt, vu, at, Cl, mn, Pn, yu, Zt, Yt, Yi, Ju, er, ve, Ki, Kn, Kt, Qi, Mn, bp = (Mn = class {
|
|
9052
9059
|
constructor(t) {
|
|
9053
9060
|
le(this, Z);
|
|
9054
9061
|
le(this, dt);
|
|
@@ -9076,7 +9083,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9076
9083
|
me(this, "ignoreFetchAbort");
|
|
9077
9084
|
le(this, Te);
|
|
9078
9085
|
le(this, vt);
|
|
9079
|
-
le(this,
|
|
9086
|
+
le(this, Ee);
|
|
9080
9087
|
le(this, ye);
|
|
9081
9088
|
le(this, ae);
|
|
9082
9089
|
le(this, qe);
|
|
@@ -9109,9 +9116,9 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9109
9116
|
return 0;
|
|
9110
9117
|
});
|
|
9111
9118
|
me(this, cs, "LRUCache");
|
|
9112
|
-
let { max: n = 0, ttl: u, ttlResolution: i = 1, ttlAutopurge: r, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: s, dispose: c, onInsert: f, disposeAfter: l, noDisposeOnSet: h, noUpdateTTL: m, maxSize: p = 0, maxEntrySize: w = 0, sizeCalculation: x, fetchMethod: v, memoMethod: g, noDeleteOnFetchRejection: b, noDeleteOnStaleGet: y, allowStaleOnFetchRejection: k, allowStaleOnFetchAbort: F, ignoreFetchAbort: S, perf:
|
|
9113
|
-
if (
|
|
9114
|
-
if (re(this, bt,
|
|
9119
|
+
let { max: n = 0, ttl: u, ttlResolution: i = 1, ttlAutopurge: r, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: s, dispose: c, onInsert: f, disposeAfter: l, noDisposeOnSet: h, noUpdateTTL: m, maxSize: p = 0, maxEntrySize: w = 0, sizeCalculation: x, fetchMethod: v, memoMethod: g, noDeleteOnFetchRejection: b, noDeleteOnStaleGet: y, allowStaleOnFetchRejection: k, allowStaleOnFetchAbort: F, ignoreFetchAbort: S, perf: E } = t;
|
|
9120
|
+
if (E !== void 0 && typeof (E == null ? void 0 : E.now) != "function") throw new TypeError("perf option must have a now() method if specified");
|
|
9121
|
+
if (re(this, bt, E ?? pp), n !== 0 && !Xt(n)) throw new TypeError("max option must be a nonnegative integer");
|
|
9115
9122
|
let X = n ? kl(n) : Array;
|
|
9116
9123
|
if (!X) throw new Error("invalid max value: " + n);
|
|
9117
9124
|
if (re(this, dt, n), re(this, ut, p), this.maxEntrySize = w || A(this, ut), this.sizeCalculation = x, this.sizeCalculation) {
|
|
@@ -9120,7 +9127,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9120
9127
|
}
|
|
9121
9128
|
if (g !== void 0 && typeof g != "function") throw new TypeError("memoMethod must be a function if defined");
|
|
9122
9129
|
if (re(this, Ln, g), v !== void 0 && typeof v != "function") throw new TypeError("fetchMethod must be a function if specified");
|
|
9123
|
-
if (re(this, On, v), re(this, en, !!v), re(this,
|
|
9130
|
+
if (re(this, On, v), re(this, en, !!v), re(this, Ee, /* @__PURE__ */ new Map()), re(this, ye, new Array(n).fill(void 0)), re(this, ae, new Array(n).fill(void 0)), re(this, qe, new X(n)), re(this, rt, new X(n)), re(this, Ue, 0), re(this, Le, 0), re(this, yt, gp.create(n)), re(this, Te, 0), re(this, vt, 0), typeof c == "function" && re(this, mt, c), typeof f == "function" && re(this, hn, f), typeof l == "function" ? (re(this, gt, l), re(this, Re, [])) : (re(this, gt, void 0), re(this, Re, void 0)), re(this, At, !!A(this, mt)), re(this, Rn, !!A(this, hn)), re(this, Xe, !!A(this, gt)), this.noDisposeOnSet = !!h, this.noUpdateTTL = !!m, this.noDeleteOnFetchRejection = !!b, this.allowStaleOnFetchRejection = !!k, this.allowStaleOnFetchAbort = !!F, this.ignoreFetchAbort = !!S, this.maxEntrySize !== 0) {
|
|
9124
9131
|
if (A(this, ut) !== 0 && !Xt(A(this, ut))) throw new TypeError("maxSize must be a positive integer if specified");
|
|
9125
9132
|
if (!Xt(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
|
|
9126
9133
|
J(this, Z, Cl).call(this);
|
|
@@ -9139,7 +9146,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9139
9146
|
return A(this, bt);
|
|
9140
9147
|
}
|
|
9141
9148
|
static unsafeExposeInternals(t) {
|
|
9142
|
-
return { starts: A(t, wt), ttls: A(t, it), autopurgeTimers: A(t, ot), sizes: A(t, xt), keyMap: A(t,
|
|
9149
|
+
return { starts: A(t, wt), ttls: A(t, it), autopurgeTimers: A(t, ot), sizes: A(t, xt), keyMap: A(t, Ee), keyList: A(t, ye), valList: A(t, ae), next: A(t, qe), prev: A(t, rt), get head() {
|
|
9143
9150
|
return A(t, Ue);
|
|
9144
9151
|
}, get tail() {
|
|
9145
9152
|
return A(t, Le);
|
|
@@ -9191,7 +9198,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9191
9198
|
return A(this, gt);
|
|
9192
9199
|
}
|
|
9193
9200
|
getRemainingTTL(t) {
|
|
9194
|
-
return A(this,
|
|
9201
|
+
return A(this, Ee).has(t) ? 1 / 0 : 0;
|
|
9195
9202
|
}
|
|
9196
9203
|
*entries() {
|
|
9197
9204
|
for (let t of J(this, Z, Zt).call(this)) A(this, ae)[t] !== void 0 && A(this, ye)[t] !== void 0 && !J(this, Z, ve).call(this, A(this, ae)[t]) && (yield [A(this, ye)[t], A(this, ae)[t]]);
|
|
@@ -9244,7 +9251,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9244
9251
|
return t;
|
|
9245
9252
|
}
|
|
9246
9253
|
info(t) {
|
|
9247
|
-
let n = A(this,
|
|
9254
|
+
let n = A(this, Ee).get(t);
|
|
9248
9255
|
if (n === void 0) return;
|
|
9249
9256
|
let u = A(this, ae)[n], i = J(this, Z, ve).call(this, u) ? u.__staleWhileFetching : u;
|
|
9250
9257
|
if (i === void 0) return;
|
|
@@ -9288,8 +9295,8 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9288
9295
|
if (n === void 0) return this.delete(t), this;
|
|
9289
9296
|
let { ttl: i = this.ttl, start: r, noDisposeOnSet: o = this.noDisposeOnSet, sizeCalculation: a = this.sizeCalculation, status: s } = u, { noUpdateTTL: c = this.noUpdateTTL } = u, f = A(this, yu).call(this, t, n, u.size || 0, a);
|
|
9290
9297
|
if (this.maxEntrySize && f > this.maxEntrySize) return s && (s.set = "miss", s.maxEntrySizeExceeded = !0), J(this, Z, Kt).call(this, t, "set"), this;
|
|
9291
|
-
let l = A(this, Te) === 0 ? void 0 : A(this,
|
|
9292
|
-
if (l === void 0) l = A(this, Te) === 0 ? A(this, Le) : A(this, yt).length !== 0 ? A(this, yt).pop() : A(this, Te) === A(this, dt) ? J(this, Z, Ju).call(this, !1) : A(this, Te), A(this, ye)[l] = t, A(this, ae)[l] = n, A(this,
|
|
9298
|
+
let l = A(this, Te) === 0 ? void 0 : A(this, Ee).get(t);
|
|
9299
|
+
if (l === void 0) l = A(this, Te) === 0 ? A(this, Le) : A(this, yt).length !== 0 ? A(this, yt).pop() : A(this, Te) === A(this, dt) ? J(this, Z, Ju).call(this, !1) : A(this, Te), A(this, ye)[l] = t, A(this, ae)[l] = n, A(this, Ee).set(t, l), A(this, qe)[A(this, Le)] = l, A(this, rt)[l] = A(this, Le), re(this, Le, l), Ou(this, Te)._++, A(this, Pn).call(this, l, f, s), s && (s.set = "add"), c = !1, A(this, Rn) && ((h = A(this, hn)) == null || h.call(this, n, t, "add"));
|
|
9293
9300
|
else {
|
|
9294
9301
|
J(this, Z, Kn).call(this, l);
|
|
9295
9302
|
let b = A(this, ae)[l];
|
|
@@ -9330,7 +9337,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9330
9337
|
}
|
|
9331
9338
|
}
|
|
9332
9339
|
has(t, n = {}) {
|
|
9333
|
-
let { updateAgeOnHas: u = this.updateAgeOnHas, status: i } = n, r = A(this,
|
|
9340
|
+
let { updateAgeOnHas: u = this.updateAgeOnHas, status: i } = n, r = A(this, Ee).get(t);
|
|
9334
9341
|
if (r !== void 0) {
|
|
9335
9342
|
let o = A(this, ae)[r];
|
|
9336
9343
|
if (J(this, Z, ve).call(this, o) && o.__staleWhileFetching === void 0) return !1;
|
|
@@ -9340,7 +9347,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9340
9347
|
return !1;
|
|
9341
9348
|
}
|
|
9342
9349
|
peek(t, n = {}) {
|
|
9343
|
-
let { allowStale: u = this.allowStale } = n, i = A(this,
|
|
9350
|
+
let { allowStale: u = this.allowStale } = n, i = A(this, Ee).get(t);
|
|
9344
9351
|
if (i === void 0 || !u && A(this, at).call(this, i)) return;
|
|
9345
9352
|
let r = A(this, ae)[i];
|
|
9346
9353
|
return J(this, Z, ve).call(this, r) ? r.__staleWhileFetching : r;
|
|
@@ -9348,7 +9355,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9348
9355
|
async fetch(t, n = {}) {
|
|
9349
9356
|
let { allowStale: u = this.allowStale, updateAgeOnGet: i = this.updateAgeOnGet, noDeleteOnStaleGet: r = this.noDeleteOnStaleGet, ttl: o = this.ttl, noDisposeOnSet: a = this.noDisposeOnSet, size: s = 0, sizeCalculation: c = this.sizeCalculation, noUpdateTTL: f = this.noUpdateTTL, noDeleteOnFetchRejection: l = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: h = this.allowStaleOnFetchRejection, ignoreFetchAbort: m = this.ignoreFetchAbort, allowStaleOnFetchAbort: p = this.allowStaleOnFetchAbort, context: w, forceRefresh: x = !1, status: v, signal: g } = n;
|
|
9350
9357
|
if (!A(this, en)) return v && (v.fetch = "get"), this.get(t, { allowStale: u, updateAgeOnGet: i, noDeleteOnStaleGet: r, status: v });
|
|
9351
|
-
let b = { allowStale: u, updateAgeOnGet: i, noDeleteOnStaleGet: r, ttl: o, noDisposeOnSet: a, size: s, sizeCalculation: c, noUpdateTTL: f, noDeleteOnFetchRejection: l, allowStaleOnFetchRejection: h, allowStaleOnFetchAbort: p, ignoreFetchAbort: m, status: v, signal: g }, y = A(this,
|
|
9358
|
+
let b = { allowStale: u, updateAgeOnGet: i, noDeleteOnStaleGet: r, ttl: o, noDisposeOnSet: a, size: s, sizeCalculation: c, noUpdateTTL: f, noDeleteOnFetchRejection: l, allowStaleOnFetchRejection: h, allowStaleOnFetchAbort: p, ignoreFetchAbort: m, status: v, signal: g }, y = A(this, Ee).get(t);
|
|
9352
9359
|
if (y === void 0) {
|
|
9353
9360
|
v && (v.fetch = "miss");
|
|
9354
9361
|
let k = J(this, Z, er).call(this, t, y, b, w);
|
|
@@ -9361,8 +9368,8 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9361
9368
|
}
|
|
9362
9369
|
let F = A(this, at).call(this, y);
|
|
9363
9370
|
if (!x && !F) return v && (v.fetch = "hit"), J(this, Z, Kn).call(this, y), i && A(this, pn).call(this, y), v && A(this, Vt).call(this, v, y), k;
|
|
9364
|
-
let S = J(this, Z, er).call(this, t, y, b, w),
|
|
9365
|
-
return v && (v.fetch = F ? "stale" : "refresh",
|
|
9371
|
+
let S = J(this, Z, er).call(this, t, y, b, w), E = S.__staleWhileFetching !== void 0 && u;
|
|
9372
|
+
return v && (v.fetch = F ? "stale" : "refresh", E && F && (v.returnedStale = !0)), E ? S.__staleWhileFetching : S.__returned = S;
|
|
9366
9373
|
}
|
|
9367
9374
|
}
|
|
9368
9375
|
async forceFetch(t, n = {}) {
|
|
@@ -9379,7 +9386,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9379
9386
|
return this.set(t, s, o), s;
|
|
9380
9387
|
}
|
|
9381
9388
|
get(t, n = {}) {
|
|
9382
|
-
let { allowStale: u = this.allowStale, updateAgeOnGet: i = this.updateAgeOnGet, noDeleteOnStaleGet: r = this.noDeleteOnStaleGet, status: o } = n, a = A(this,
|
|
9389
|
+
let { allowStale: u = this.allowStale, updateAgeOnGet: i = this.updateAgeOnGet, noDeleteOnStaleGet: r = this.noDeleteOnStaleGet, status: o } = n, a = A(this, Ee).get(t);
|
|
9383
9390
|
if (a !== void 0) {
|
|
9384
9391
|
let s = A(this, ae)[a], c = J(this, Z, ve).call(this, s);
|
|
9385
9392
|
return o && A(this, Vt).call(this, o, a), A(this, at).call(this, a) ? (o && (o.get = "stale"), c ? (o && u && s.__staleWhileFetching !== void 0 && (o.returnedStale = !0), u ? s.__staleWhileFetching : void 0) : (r || J(this, Z, Kt).call(this, t, "expire"), o && u && (o.returnedStale = !0), u ? s : void 0)) : (o && (o.get = "hit"), c ? s.__staleWhileFetching : (J(this, Z, Kn).call(this, a), i && A(this, pn).call(this, a), s));
|
|
@@ -9391,7 +9398,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9391
9398
|
clear() {
|
|
9392
9399
|
return J(this, Z, Qi).call(this, "delete");
|
|
9393
9400
|
}
|
|
9394
|
-
}, dt = new WeakMap(), ut = new WeakMap(), mt = new WeakMap(), hn = new WeakMap(), gt = new WeakMap(), On = new WeakMap(), Ln = new WeakMap(), bt = new WeakMap(), Te = new WeakMap(), vt = new WeakMap(),
|
|
9401
|
+
}, dt = new WeakMap(), ut = new WeakMap(), mt = new WeakMap(), hn = new WeakMap(), gt = new WeakMap(), On = new WeakMap(), Ln = new WeakMap(), bt = new WeakMap(), Te = new WeakMap(), vt = new WeakMap(), Ee = new WeakMap(), ye = new WeakMap(), ae = new WeakMap(), qe = new WeakMap(), rt = new WeakMap(), Ue = new WeakMap(), Le = new WeakMap(), yt = new WeakMap(), Re = new WeakMap(), xt = new WeakMap(), wt = new WeakMap(), it = new WeakMap(), ot = new WeakMap(), At = new WeakMap(), en = new WeakMap(), Xe = new WeakMap(), Rn = new WeakMap(), Z = new WeakSet(), Zi = function() {
|
|
9395
9402
|
let t = new Qu(A(this, dt)), n = new Qu(A(this, dt));
|
|
9396
9403
|
re(this, it, t), re(this, wt, n);
|
|
9397
9404
|
let u = this.ttlAutopurge ? new Array(A(this, dt)) : void 0;
|
|
@@ -9428,7 +9435,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9428
9435
|
return a;
|
|
9429
9436
|
};
|
|
9430
9437
|
this.getRemainingTTL = (a) => {
|
|
9431
|
-
let s = A(this,
|
|
9438
|
+
let s = A(this, Ee).get(a);
|
|
9432
9439
|
if (s === void 0) return 0;
|
|
9433
9440
|
let c = t[s], f = n[s];
|
|
9434
9441
|
if (!c || !f) return 1 / 0;
|
|
@@ -9461,11 +9468,11 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9461
9468
|
}, Yt = function* ({ allowStale: t = this.allowStale } = {}) {
|
|
9462
9469
|
if (A(this, Te)) for (let n = A(this, Ue); !(!J(this, Z, Yi).call(this, n) || ((t || !A(this, at).call(this, n)) && (yield n), n === A(this, Le))); ) n = A(this, qe)[n];
|
|
9463
9470
|
}, Yi = function(t) {
|
|
9464
|
-
return t !== void 0 && A(this,
|
|
9471
|
+
return t !== void 0 && A(this, Ee).get(A(this, ye)[t]) === t;
|
|
9465
9472
|
}, Ju = function(t) {
|
|
9466
9473
|
var r, o, a;
|
|
9467
9474
|
let n = A(this, Ue), u = A(this, ye)[n], i = A(this, ae)[n];
|
|
9468
|
-
return A(this, en) && J(this, Z, ve).call(this, i) ? i.__abortController.abort(new Error("evicted")) : (A(this, At) || A(this, Xe)) && (A(this, At) && ((r = A(this, mt)) == null || r.call(this, i, u, "evict")), A(this, Xe) && ((o = A(this, Re)) == null || o.push([i, u, "evict"]))), A(this, mn).call(this, n), (a = A(this, ot)) != null && a[n] && (clearTimeout(A(this, ot)[n]), A(this, ot)[n] = void 0), t && (A(this, ye)[n] = void 0, A(this, ae)[n] = void 0, A(this, yt).push(n)), A(this, Te) === 1 ? (re(this, Ue, re(this, Le, 0)), A(this, yt).length = 0) : re(this, Ue, A(this, qe)[n]), A(this,
|
|
9475
|
+
return A(this, en) && J(this, Z, ve).call(this, i) ? i.__abortController.abort(new Error("evicted")) : (A(this, At) || A(this, Xe)) && (A(this, At) && ((r = A(this, mt)) == null || r.call(this, i, u, "evict")), A(this, Xe) && ((o = A(this, Re)) == null || o.push([i, u, "evict"]))), A(this, mn).call(this, n), (a = A(this, ot)) != null && a[n] && (clearTimeout(A(this, ot)[n]), A(this, ot)[n] = void 0), t && (A(this, ye)[n] = void 0, A(this, ae)[n] = void 0, A(this, yt).push(n)), A(this, Te) === 1 ? (re(this, Ue, re(this, Le, 0)), A(this, yt).length = 0) : re(this, Ue, A(this, qe)[n]), A(this, Ee).delete(u), Ou(this, Te)._--, n;
|
|
9469
9476
|
}, er = function(t, n, u, i) {
|
|
9470
9477
|
let r = n === void 0 ? void 0 : A(this, ae)[n];
|
|
9471
9478
|
if (J(this, Z, ve).call(this, r)) return r;
|
|
@@ -9489,7 +9496,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9489
9496
|
};
|
|
9490
9497
|
u.status && (u.status.fetchDispatched = !0);
|
|
9491
9498
|
let m = new Promise(h).then(c, f), p = Object.assign(m, { __abortController: o, __staleWhileFetching: r, __returned: void 0 });
|
|
9492
|
-
return n === void 0 ? (this.set(t, p, { ...s.options, status: void 0 }), n = A(this,
|
|
9499
|
+
return n === void 0 ? (this.set(t, p, { ...s.options, status: void 0 }), n = A(this, Ee).get(t)) : A(this, ae)[n] = p, p;
|
|
9493
9500
|
}, ve = function(t) {
|
|
9494
9501
|
if (!A(this, en)) return !1;
|
|
9495
9502
|
let n = t;
|
|
@@ -9502,12 +9509,12 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9502
9509
|
var i, r, o, a, s, c;
|
|
9503
9510
|
let u = !1;
|
|
9504
9511
|
if (A(this, Te) !== 0) {
|
|
9505
|
-
let f = A(this,
|
|
9512
|
+
let f = A(this, Ee).get(t);
|
|
9506
9513
|
if (f !== void 0) if ((i = A(this, ot)) != null && i[f] && (clearTimeout((r = A(this, ot)) == null ? void 0 : r[f]), A(this, ot)[f] = void 0), u = !0, A(this, Te) === 1) J(this, Z, Qi).call(this, n);
|
|
9507
9514
|
else {
|
|
9508
9515
|
A(this, mn).call(this, f);
|
|
9509
9516
|
let l = A(this, ae)[f];
|
|
9510
|
-
if (J(this, Z, ve).call(this, l) ? l.__abortController.abort(new Error("deleted")) : (A(this, At) || A(this, Xe)) && (A(this, At) && ((o = A(this, mt)) == null || o.call(this, l, t, n)), A(this, Xe) && ((a = A(this, Re)) == null || a.push([l, t, n]))), A(this,
|
|
9517
|
+
if (J(this, Z, ve).call(this, l) ? l.__abortController.abort(new Error("deleted")) : (A(this, At) || A(this, Xe)) && (A(this, At) && ((o = A(this, mt)) == null || o.call(this, l, t, n)), A(this, Xe) && ((a = A(this, Re)) == null || a.push([l, t, n]))), A(this, Ee).delete(t), A(this, ye)[f] = void 0, A(this, ae)[f] = void 0, f === A(this, Le)) re(this, Le, A(this, rt)[f]);
|
|
9511
9518
|
else if (f === A(this, Ue)) re(this, Ue, A(this, qe)[f]);
|
|
9512
9519
|
else {
|
|
9513
9520
|
let h = A(this, rt)[f];
|
|
@@ -9533,7 +9540,7 @@ var mp = (e) => !wl.has(e), Xt = (e) => e && e === Math.floor(e) && e > 0 && isF
|
|
|
9533
9540
|
A(this, At) && ((n = A(this, mt)) == null || n.call(this, a, s, t)), A(this, Xe) && ((u = A(this, Re)) == null || u.push([a, s, t]));
|
|
9534
9541
|
}
|
|
9535
9542
|
}
|
|
9536
|
-
if (A(this,
|
|
9543
|
+
if (A(this, Ee).clear(), A(this, ae).fill(void 0), A(this, ye).fill(void 0), A(this, it) && A(this, wt)) {
|
|
9537
9544
|
A(this, it).fill(0), A(this, wt).fill(0);
|
|
9538
9545
|
for (let o of A(this, ot) ?? []) o !== void 0 && clearTimeout(o);
|
|
9539
9546
|
(i = A(this, ot)) == null || i.fill(void 0);
|
|
@@ -9597,7 +9604,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
9597
9604
|
}
|
|
9598
9605
|
b.indexOf(R) !== -1 && w({ target: R });
|
|
9599
9606
|
}, r = function() {
|
|
9600
|
-
if (!(k || !
|
|
9607
|
+
if (!(k || !E.original)) {
|
|
9601
9608
|
var U = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
9602
9609
|
Math.abs(F - U) > S.scrollOffset && setTimeout(p, 150);
|
|
9603
9610
|
}
|
|
@@ -9637,7 +9644,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
9637
9644
|
}, f = function() {
|
|
9638
9645
|
for (var U = arguments.length, R = Array(U), G = 0; G < U; G++)
|
|
9639
9646
|
R[G] = arguments[G];
|
|
9640
|
-
|
|
9647
|
+
E.zoomed && p();
|
|
9641
9648
|
var q = R.length > 0 ? R.reduce(function(T, C) {
|
|
9642
9649
|
return [].concat(T, Ba(C));
|
|
9643
9650
|
}, []) : b;
|
|
@@ -9683,8 +9690,8 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
9683
9690
|
});
|
|
9684
9691
|
}
|
|
9685
9692
|
C = C || T.width - S.margin * 2, D = D || T.height - S.margin * 2;
|
|
9686
|
-
var O =
|
|
9687
|
-
|
|
9693
|
+
var O = E.zoomedHd || E.original, W = Ma(O) ? C : O.naturalWidth || C, ee = Ma(O) ? D : O.naturalHeight || D, Q = O.getBoundingClientRect(), K = Q.top, ne = Q.left, ce = Q.width, Ae = Q.height, ke = Math.min(Math.max(ce, W), C) / ce, tt = Math.min(Math.max(Ae, ee), D) / Ae, Be = Math.min(ke, tt), St = (-ne + (C - ce) / 2 + S.margin + T.left) / Be, qt = (-K + (D - Ae) / 2 + S.margin + T.top) / Be, jt = "scale(" + Be + ") translate3d(" + St + "px, " + qt + "px, 0)";
|
|
9694
|
+
E.zoomed.style.transform = jt, E.zoomedHd && (E.zoomedHd.style.transform = jt);
|
|
9688
9695
|
};
|
|
9689
9696
|
return new u(function(q) {
|
|
9690
9697
|
if (R && b.indexOf(R) === -1) {
|
|
@@ -9692,71 +9699,71 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
9692
9699
|
return;
|
|
9693
9700
|
}
|
|
9694
9701
|
var T = function j() {
|
|
9695
|
-
k = !1,
|
|
9702
|
+
k = !1, E.zoomed.removeEventListener("transitionend", j), E.original.dispatchEvent(An("medium-zoom:opened", {
|
|
9696
9703
|
detail: { zoom: $ }
|
|
9697
9704
|
})), q($);
|
|
9698
9705
|
};
|
|
9699
|
-
if (
|
|
9706
|
+
if (E.zoomed) {
|
|
9700
9707
|
q($);
|
|
9701
9708
|
return;
|
|
9702
9709
|
}
|
|
9703
9710
|
if (R)
|
|
9704
|
-
|
|
9711
|
+
E.original = R;
|
|
9705
9712
|
else if (b.length > 0) {
|
|
9706
9713
|
var C = b;
|
|
9707
|
-
|
|
9714
|
+
E.original = C[0];
|
|
9708
9715
|
} else {
|
|
9709
9716
|
q($);
|
|
9710
9717
|
return;
|
|
9711
9718
|
}
|
|
9712
|
-
if (
|
|
9719
|
+
if (E.original.dispatchEvent(An("medium-zoom:open", {
|
|
9713
9720
|
detail: { zoom: $ }
|
|
9714
|
-
})), F = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, k = !0,
|
|
9721
|
+
})), F = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, k = !0, E.zoomed = xp(E.original), document.body.appendChild(X), S.template) {
|
|
9715
9722
|
var D = tr(S.template) ? S.template : document.querySelector(S.template);
|
|
9716
|
-
|
|
9723
|
+
E.template = document.createElement("div"), E.template.appendChild(D.content.cloneNode(!0)), document.body.appendChild(E.template);
|
|
9717
9724
|
}
|
|
9718
|
-
if (
|
|
9725
|
+
if (E.original.parentElement && E.original.parentElement.tagName === "PICTURE" && E.original.currentSrc && (E.zoomed.src = E.original.currentSrc), document.body.appendChild(E.zoomed), window.requestAnimationFrame(function() {
|
|
9719
9726
|
document.body.classList.add("medium-zoom--opened");
|
|
9720
|
-
}),
|
|
9721
|
-
|
|
9722
|
-
clearInterval(M), console.warn("Unable to reach the zoom image target " +
|
|
9727
|
+
}), E.original.classList.add("medium-zoom-image--hidden"), E.zoomed.classList.add("medium-zoom-image--opened"), E.zoomed.addEventListener("click", p), E.zoomed.addEventListener("transitionend", T), E.original.getAttribute("data-zoom-src")) {
|
|
9728
|
+
E.zoomedHd = E.zoomed.cloneNode(), E.zoomedHd.removeAttribute("srcset"), E.zoomedHd.removeAttribute("sizes"), E.zoomedHd.removeAttribute("loading"), E.zoomedHd.src = E.zoomed.getAttribute("data-zoom-src"), E.zoomedHd.onerror = function() {
|
|
9729
|
+
clearInterval(M), console.warn("Unable to reach the zoom image target " + E.zoomedHd.src), E.zoomedHd = null, G();
|
|
9723
9730
|
};
|
|
9724
9731
|
var M = setInterval(function() {
|
|
9725
|
-
|
|
9732
|
+
E.zoomedHd.complete && (clearInterval(M), E.zoomedHd.classList.add("medium-zoom-image--opened"), E.zoomedHd.addEventListener("click", p), document.body.appendChild(E.zoomedHd), G());
|
|
9726
9733
|
}, 10);
|
|
9727
|
-
} else if (
|
|
9728
|
-
|
|
9729
|
-
var z =
|
|
9730
|
-
|
|
9734
|
+
} else if (E.original.hasAttribute("srcset")) {
|
|
9735
|
+
E.zoomedHd = E.zoomed.cloneNode(), E.zoomedHd.removeAttribute("sizes"), E.zoomedHd.removeAttribute("loading");
|
|
9736
|
+
var z = E.zoomedHd.addEventListener("load", function() {
|
|
9737
|
+
E.zoomedHd.removeEventListener("load", z), E.zoomedHd.classList.add("medium-zoom-image--opened"), E.zoomedHd.addEventListener("click", p), document.body.appendChild(E.zoomedHd), G();
|
|
9731
9738
|
});
|
|
9732
9739
|
} else
|
|
9733
9740
|
G();
|
|
9734
9741
|
});
|
|
9735
9742
|
}, p = function() {
|
|
9736
9743
|
return new u(function(U) {
|
|
9737
|
-
if (k || !
|
|
9744
|
+
if (k || !E.original) {
|
|
9738
9745
|
U($);
|
|
9739
9746
|
return;
|
|
9740
9747
|
}
|
|
9741
9748
|
var R = function G() {
|
|
9742
|
-
|
|
9749
|
+
E.original.classList.remove("medium-zoom-image--hidden"), document.body.removeChild(E.zoomed), E.zoomedHd && document.body.removeChild(E.zoomedHd), document.body.removeChild(X), E.zoomed.classList.remove("medium-zoom-image--opened"), E.template && document.body.removeChild(E.template), k = !1, E.zoomed.removeEventListener("transitionend", G), E.original.dispatchEvent(An("medium-zoom:closed", {
|
|
9743
9750
|
detail: { zoom: $ }
|
|
9744
|
-
})),
|
|
9751
|
+
})), E.original = null, E.zoomed = null, E.zoomedHd = null, E.template = null, U($);
|
|
9745
9752
|
};
|
|
9746
|
-
k = !0, document.body.classList.remove("medium-zoom--opened"),
|
|
9753
|
+
k = !0, document.body.classList.remove("medium-zoom--opened"), E.zoomed.style.transform = "", E.zoomedHd && (E.zoomedHd.style.transform = ""), E.template && (E.template.style.transition = "opacity 150ms", E.template.style.opacity = 0), E.original.dispatchEvent(An("medium-zoom:close", {
|
|
9747
9754
|
detail: { zoom: $ }
|
|
9748
|
-
})),
|
|
9755
|
+
})), E.zoomed.addEventListener("transitionend", R);
|
|
9749
9756
|
});
|
|
9750
9757
|
}, w = function() {
|
|
9751
9758
|
var U = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = U.target;
|
|
9752
|
-
return
|
|
9759
|
+
return E.original ? p() : m({ target: R });
|
|
9753
9760
|
}, x = function() {
|
|
9754
9761
|
return S;
|
|
9755
9762
|
}, v = function() {
|
|
9756
9763
|
return b;
|
|
9757
9764
|
}, g = function() {
|
|
9758
|
-
return
|
|
9759
|
-
}, b = [], y = [], k = !1, F = 0, S = n,
|
|
9765
|
+
return E.original;
|
|
9766
|
+
}, b = [], y = [], k = !1, F = 0, S = n, E = {
|
|
9760
9767
|
original: null,
|
|
9761
9768
|
zoomed: null,
|
|
9762
9769
|
zoomedHd: null,
|
|
@@ -9811,7 +9818,7 @@ const un = {
|
|
|
9811
9818
|
rootRef: n,
|
|
9812
9819
|
setting: u
|
|
9813
9820
|
}) => {
|
|
9814
|
-
const i =
|
|
9821
|
+
const i = Et.editorExtensions.highlight, r = Et.editorExtensionsAttrs.highlight;
|
|
9815
9822
|
pt("editorId", t), pt("rootRef", n), pt(
|
|
9816
9823
|
"theme",
|
|
9817
9824
|
B(() => e.theme)
|
|
@@ -9840,7 +9847,7 @@ const un = {
|
|
|
9840
9847
|
const o = B(() => {
|
|
9841
9848
|
const a = {
|
|
9842
9849
|
...La,
|
|
9843
|
-
...
|
|
9850
|
+
...Et.editorConfig.languageUserDefined
|
|
9844
9851
|
};
|
|
9845
9852
|
return wo(
|
|
9846
9853
|
Yn(La["en-US"]),
|
|
@@ -9866,10 +9873,10 @@ const un = {
|
|
|
9866
9873
|
fullscreen: !1
|
|
9867
9874
|
})
|
|
9868
9875
|
), { editorId: t };
|
|
9869
|
-
},
|
|
9876
|
+
}, Ep = (e) => {
|
|
9870
9877
|
const t = Jl();
|
|
9871
9878
|
return e.id || e.editorId || `${Y}-${t}`;
|
|
9872
|
-
},
|
|
9879
|
+
}, _p = (e, t, n) => {
|
|
9873
9880
|
const u = pe("editorId"), i = pe("rootRef"), r = pe("usedLanguageText"), o = pe("setting"), a = () => {
|
|
9874
9881
|
i.value.querySelectorAll(`#${u} .${Y}-preview .${Y}-code`).forEach((f) => {
|
|
9875
9882
|
let l = -1;
|
|
@@ -9896,7 +9903,7 @@ const un = {
|
|
|
9896
9903
|
};
|
|
9897
9904
|
oe([t, n], s), oe(() => o.value.preview, c), oe(() => o.value.htmlPreview, c), Ie(a);
|
|
9898
9905
|
}, Sp = (e) => {
|
|
9899
|
-
const t = pe("editorId"), n = pe("theme"), u = pe("rootRef"), { editorExtensions: i, editorExtensionsAttrs: r } =
|
|
9906
|
+
const t = pe("editorId"), n = pe("theme"), u = pe("rootRef"), { editorExtensions: i, editorExtensionsAttrs: r } = Et;
|
|
9900
9907
|
let o = i.echarts.instance;
|
|
9901
9908
|
const a = xu(-1), s = () => {
|
|
9902
9909
|
!e.noEcharts && o && (a.value = a.value + 1);
|
|
@@ -9974,7 +9981,7 @@ const un = {
|
|
|
9974
9981
|
h(!0);
|
|
9975
9982
|
}), { reRenderEcharts: a, replaceEcharts: m };
|
|
9976
9983
|
}, Dp = (e) => {
|
|
9977
|
-
const t = pe("highlight"), n = xu(
|
|
9984
|
+
const t = pe("highlight"), n = xu(Et.editorExtensions.highlight.instance);
|
|
9978
9985
|
return Ie(() => {
|
|
9979
9986
|
e.noHighlight || n.value || (an("link", {
|
|
9980
9987
|
...t.value.css,
|
|
@@ -9994,7 +10001,7 @@ const un = {
|
|
|
9994
10001
|
}), oe(
|
|
9995
10002
|
() => t.value.css,
|
|
9996
10003
|
() => {
|
|
9997
|
-
e.noHighlight ||
|
|
10004
|
+
e.noHighlight || Et.editorExtensions.highlight.instance || np("link", {
|
|
9998
10005
|
...t.value.css,
|
|
9999
10006
|
rel: "stylesheet",
|
|
10000
10007
|
id: un.hlcss
|
|
@@ -10002,12 +10009,12 @@ const un = {
|
|
|
10002
10009
|
}
|
|
10003
10010
|
), n;
|
|
10004
10011
|
}, Fp = (e) => {
|
|
10005
|
-
const t = xu(
|
|
10012
|
+
const t = xu(Et.editorExtensions.katex.instance);
|
|
10006
10013
|
return Ie(() => {
|
|
10007
10014
|
var i, r;
|
|
10008
10015
|
if (e.noKatex || t.value)
|
|
10009
10016
|
return;
|
|
10010
|
-
const { editorExtensions: n, editorExtensionsAttrs: u } =
|
|
10017
|
+
const { editorExtensions: n, editorExtensionsAttrs: u } = Et;
|
|
10011
10018
|
an(
|
|
10012
10019
|
"script",
|
|
10013
10020
|
{
|
|
@@ -10031,7 +10038,7 @@ const un = {
|
|
|
10031
10038
|
// 缓存10分钟
|
|
10032
10039
|
ttl: 6e5
|
|
10033
10040
|
}), Tp = (e) => {
|
|
10034
|
-
const t = pe("editorId"), n = pe("theme"), u = pe("rootRef"), { editorExtensions: i, editorExtensionsAttrs: r, mermaidConfig: o } =
|
|
10041
|
+
const t = pe("editorId"), n = pe("theme"), u = pe("rootRef"), { editorExtensions: i, editorExtensionsAttrs: r, mermaidConfig: o } = Et;
|
|
10035
10042
|
let a = i.mermaid.instance;
|
|
10036
10043
|
const s = xu(-1), c = () => {
|
|
10037
10044
|
if (!e.noMermaid && a) {
|
|
@@ -10169,8 +10176,8 @@ const un = {
|
|
|
10169
10176
|
break;
|
|
10170
10177
|
}
|
|
10171
10178
|
}
|
|
10172
|
-
const S = f.parentType,
|
|
10173
|
-
return f.parentType = "root", f.lineMax = w, x = f.push("admonition_open", "div", 1), x.markup = k, x.block = !0, x.info = o, x.map = [l, w], a && (x = f.push("admonition_title_open", "p", 1), x.markup = k + " " + o, x.map = [l, w], x = f.push("inline", "", 0), x.content = a, x.map = [l, f.line - 1], x.children = [], x = f.push("admonition_title_close", "p", -1), x.markup = k + " " + o), f.md.block.tokenize(f, l + 1, w), x = f.push("admonition_close", "div", -1), x.markup = f.src.slice(g, p), x.block = !0, f.parentType = S, f.lineMax =
|
|
10179
|
+
const S = f.parentType, E = f.lineMax;
|
|
10180
|
+
return f.parentType = "root", f.lineMax = w, x = f.push("admonition_open", "div", 1), x.markup = k, x.block = !0, x.info = o, x.map = [l, w], a && (x = f.push("admonition_title_open", "p", 1), x.markup = k + " " + o, x.map = [l, w], x = f.push("inline", "", 0), x.content = a, x.map = [l, f.line - 1], x.children = [], x = f.push("admonition_title_close", "p", -1), x.markup = k + " " + o), f.md.block.tokenize(f, l + 1, w), x = f.push("admonition_close", "div", -1), x.markup = f.src.slice(g, p), x.block = !0, f.parentType = S, f.lineMax = E, f.line = w + (v ? 1 : 0), !0;
|
|
10174
10181
|
},
|
|
10175
10182
|
{
|
|
10176
10183
|
alt: ["paragraph", "reference", "blockquote", "list"]
|
|
@@ -10221,7 +10228,7 @@ const un = {
|
|
|
10221
10228
|
</${M}>
|
|
10222
10229
|
`;
|
|
10223
10230
|
}
|
|
10224
|
-
let k, F, S,
|
|
10231
|
+
let k, F, S, E, X = "", $ = "", N = "";
|
|
10225
10232
|
const { open: U, tagContainer: R, tagHeader: G } = c(l[h]), q = [["class", `${Y}-code`]];
|
|
10226
10233
|
U && q.push(["open", ""]);
|
|
10227
10234
|
const T = {
|
|
@@ -10230,14 +10237,14 @@ const un = {
|
|
|
10230
10237
|
for (let D = h; D < l.length && (k = l[D], [F, S] = a(k), F === y); D++) {
|
|
10231
10238
|
k.info = k.info.replace(i, "").replace(r, ""), k.hidden = !0;
|
|
10232
10239
|
const M = `${Y}-codetab-${t.editorId}-${h}-${D - h}`;
|
|
10233
|
-
|
|
10240
|
+
E = D - h > 0 ? "" : "checked", X += `
|
|
10234
10241
|
<li>
|
|
10235
10242
|
<input
|
|
10236
10243
|
type="radio"
|
|
10237
10244
|
id="label-${Y}-codetab-label-1-${t.editorId}-${h}-${D - h}"
|
|
10238
10245
|
name="${Y}-codetab-label-${t.editorId}-${h}"
|
|
10239
10246
|
class="${M}"
|
|
10240
|
-
${
|
|
10247
|
+
${E}
|
|
10241
10248
|
>
|
|
10242
10249
|
<label
|
|
10243
10250
|
for="label-${Y}-codetab-label-1-${t.editorId}-${h}-${D - h}"
|
|
@@ -10251,7 +10258,7 @@ const un = {
|
|
|
10251
10258
|
type="radio"
|
|
10252
10259
|
name="${Y}-codetab-pre-${t.editorId}-${h}"
|
|
10253
10260
|
class="${M}"
|
|
10254
|
-
${
|
|
10261
|
+
${E}
|
|
10255
10262
|
role="presentation">
|
|
10256
10263
|
${n(l, D, m, p, w)}
|
|
10257
10264
|
</div>`, N += `
|
|
@@ -10259,7 +10266,7 @@ const un = {
|
|
|
10259
10266
|
type="radio"
|
|
10260
10267
|
name="${Y}-codetab-lang-${t.editorId}-${h}"
|
|
10261
10268
|
class="${M}"
|
|
10262
|
-
${
|
|
10269
|
+
${E}
|
|
10263
10270
|
role="presentation">
|
|
10264
10271
|
<span class=${Y}-code-lang role="note">${e.utils.escapeHtml(s(k))}</span>`;
|
|
10265
10272
|
}
|
|
@@ -10400,7 +10407,7 @@ const un = {
|
|
|
10400
10407
|
return `<${c} ${m}>${a.content}</${c}>`;
|
|
10401
10408
|
const p = t.value.renderToString(
|
|
10402
10409
|
a.content,
|
|
10403
|
-
|
|
10410
|
+
Et.katexConfig({
|
|
10404
10411
|
throwOnError: !1,
|
|
10405
10412
|
displayMode: l
|
|
10406
10413
|
})
|
|
@@ -10482,7 +10489,7 @@ const un = {
|
|
|
10482
10489
|
n.map && (n.attrs || (n.attrs = []), n.attrs.push(["data-line", n.map[0].toString()]));
|
|
10483
10490
|
}), !0));
|
|
10484
10491
|
}, Qp = (e, t) => {
|
|
10485
|
-
const { editorConfig: n, markdownItPlugins: u } =
|
|
10492
|
+
const { editorConfig: n, markdownItPlugins: u } = Et, i = pe("editorId"), r = pe("language"), o = pe(
|
|
10486
10493
|
"usedLanguageText"
|
|
10487
10494
|
), a = pe("showCodeRowNumber"), s = pe("theme"), c = pe("customIcon"), f = pe("rootRef"), l = pe("setting"), h = H([]), m = Dp(e), p = Fp(e), { reRenderRef: w, replaceMermaid: x } = Tp(e), { reRenderEcharts: v, replaceEcharts: g } = Sp(e), b = ct({
|
|
10488
10495
|
html: !0,
|
|
@@ -10577,7 +10584,7 @@ const un = {
|
|
|
10577
10584
|
})
|
|
10578
10585
|
)
|
|
10579
10586
|
);
|
|
10580
|
-
let
|
|
10587
|
+
let E = () => {
|
|
10581
10588
|
}, X = () => {
|
|
10582
10589
|
};
|
|
10583
10590
|
const $ = () => {
|
|
@@ -10587,7 +10594,7 @@ const un = {
|
|
|
10587
10594
|
);
|
|
10588
10595
|
X(), X = rp(q, {
|
|
10589
10596
|
customIcon: c.value
|
|
10590
|
-
}),
|
|
10597
|
+
}), E(), E = ip(q, {
|
|
10591
10598
|
customIcon: c.value
|
|
10592
10599
|
});
|
|
10593
10600
|
}, N = () => {
|
|
@@ -10632,7 +10639,7 @@ const un = {
|
|
|
10632
10639
|
}
|
|
10633
10640
|
});
|
|
10634
10641
|
}), sn(() => {
|
|
10635
|
-
|
|
10642
|
+
E(), X(), clearTimeout(G);
|
|
10636
10643
|
}), { html: S, key: F };
|
|
10637
10644
|
}, Jp = (e, t) => {
|
|
10638
10645
|
const n = pe("editorId"), u = pe("setting"), { noImgZoomIn: i } = e, r = j1(() => {
|
|
@@ -10707,7 +10714,7 @@ const un = {
|
|
|
10707
10714
|
o && i();
|
|
10708
10715
|
};
|
|
10709
10716
|
oe([t, n], i), oe(() => u.value.preview, r), oe(() => u.value.htmlPreview, r), Ie(i);
|
|
10710
|
-
},
|
|
10717
|
+
}, El = {
|
|
10711
10718
|
modelValue: {
|
|
10712
10719
|
type: String,
|
|
10713
10720
|
default: ""
|
|
@@ -10780,7 +10787,7 @@ const un = {
|
|
|
10780
10787
|
}
|
|
10781
10788
|
};
|
|
10782
10789
|
({
|
|
10783
|
-
...
|
|
10790
|
+
...El
|
|
10784
10791
|
});
|
|
10785
10792
|
const Ha = (e) => {
|
|
10786
10793
|
const t = new DOMParser().parseFromString(e, "text/html");
|
|
@@ -10836,13 +10843,13 @@ const Ha = (e) => {
|
|
|
10836
10843
|
}
|
|
10837
10844
|
}), rm = /* @__PURE__ */ ie({
|
|
10838
10845
|
name: "ContentPreview",
|
|
10839
|
-
props:
|
|
10846
|
+
props: El,
|
|
10840
10847
|
setup(e) {
|
|
10841
10848
|
const t = pe("editorId"), n = pe("setting"), u = pe("previewTheme"), i = pe("showCodeRowNumber"), {
|
|
10842
10849
|
html: r,
|
|
10843
10850
|
key: o
|
|
10844
10851
|
} = Qp(e, e.previewOnly);
|
|
10845
|
-
|
|
10852
|
+
_p(e, r, o), Jp(e, r), em(e, r), tm(e, r, o);
|
|
10846
10853
|
const a = B(() => [`${Y}-preview`, `${u == null ? void 0 : u.value}-theme`, i && `${Y}-scrn`].filter(Boolean)), s = () => {
|
|
10847
10854
|
const c = `${t}-preview`;
|
|
10848
10855
|
return e.previewComponent ? au(e.previewComponent, {
|
|
@@ -10869,7 +10876,7 @@ const Ha = (e) => {
|
|
|
10869
10876
|
class: `${Y}-html`
|
|
10870
10877
|
}, [r.value])])]);
|
|
10871
10878
|
}
|
|
10872
|
-
}), im = ({ text: e }) => e,
|
|
10879
|
+
}), im = ({ text: e }) => e, _l = {
|
|
10873
10880
|
/**
|
|
10874
10881
|
* markdown content.
|
|
10875
10882
|
*
|
|
@@ -11109,7 +11116,7 @@ const Ha = (e) => {
|
|
|
11109
11116
|
}
|
|
11110
11117
|
};
|
|
11111
11118
|
({
|
|
11112
|
-
...
|
|
11119
|
+
..._l
|
|
11113
11120
|
});
|
|
11114
11121
|
const Sl = [
|
|
11115
11122
|
"onHtmlChanged",
|
|
@@ -11130,14 +11137,14 @@ const om = (e, t, n) => {
|
|
|
11130
11137
|
t.expose(i);
|
|
11131
11138
|
}, ur = /* @__PURE__ */ ie({
|
|
11132
11139
|
name: "MdPreview",
|
|
11133
|
-
props:
|
|
11140
|
+
props: _l,
|
|
11134
11141
|
emits: Sl,
|
|
11135
11142
|
setup(e, t) {
|
|
11136
11143
|
const {
|
|
11137
11144
|
noKatex: n,
|
|
11138
11145
|
noMermaid: u,
|
|
11139
11146
|
noHighlight: i
|
|
11140
|
-
} = e, r = H(), o =
|
|
11147
|
+
} = e, r = H(), o = Ep(e);
|
|
11141
11148
|
Cp(e, {
|
|
11142
11149
|
rootRef: r,
|
|
11143
11150
|
editorId: o
|
|
@@ -11529,7 +11536,7 @@ function Tl() {
|
|
|
11529
11536
|
return D[0] === "x" || D[0] === "X" ? String.fromCharCode(parseInt(D.substr(1), 16)) : String.fromCharCode(parseInt(D, 10));
|
|
11530
11537
|
});
|
|
11531
11538
|
}
|
|
11532
|
-
function
|
|
11539
|
+
function E(T) {
|
|
11533
11540
|
return T.replace(x, ":").replace(v, " ");
|
|
11534
11541
|
}
|
|
11535
11542
|
function X(T) {
|
|
@@ -11538,7 +11545,7 @@ function Tl() {
|
|
|
11538
11545
|
return n.trim(C);
|
|
11539
11546
|
}
|
|
11540
11547
|
function $(T) {
|
|
11541
|
-
return T = F(T), T = S(T), T =
|
|
11548
|
+
return T = F(T), T = S(T), T = E(T), T = X(T), T;
|
|
11542
11549
|
}
|
|
11543
11550
|
function N(T) {
|
|
11544
11551
|
return T = k(T), T = c(T), T;
|
|
@@ -11598,7 +11605,7 @@ function Tl() {
|
|
|
11598
11605
|
return M === 127 ? !1 : M <= 31 ? M === 10 || M === 13 : !0;
|
|
11599
11606
|
}), C.join("");
|
|
11600
11607
|
}
|
|
11601
|
-
return we.whiteList = u(), we.getDefaultWhiteList = u, we.onTag = r, we.onIgnoreTag = o, we.onTagAttr = a, we.onIgnoreTagAttr = s, we.safeAttrValue = f, we.escapeHtml = c, we.escapeQuote = k, we.unescapeQuote = F, we.escapeHtmlEntities = S, we.escapeDangerHtml5Entities =
|
|
11608
|
+
return we.whiteList = u(), we.getDefaultWhiteList = u, we.onTag = r, we.onIgnoreTag = o, we.onTagAttr = a, we.onIgnoreTagAttr = s, we.safeAttrValue = f, we.escapeHtml = c, we.escapeQuote = k, we.unescapeQuote = F, we.escapeHtmlEntities = S, we.escapeDangerHtml5Entities = E, we.clearNonPrintableCharacter = X, we.friendlyAttrValue = $, we.escapeAttrValue = N, we.onIgnoreTagStripAll = U, we.StripTagBody = R, we.stripCommentTag = G, we.stripBlankChar = q, we.attributeWrapSign = '"', we.cssFilter = i, we.getDefaultCSSWhiteList = t, we;
|
|
11602
11609
|
}
|
|
11603
11610
|
var Nu = {}, Ka;
|
|
11604
11611
|
function Il() {
|
|
@@ -11637,12 +11644,12 @@ function Il() {
|
|
|
11637
11644
|
continue;
|
|
11638
11645
|
}
|
|
11639
11646
|
if (F === '"' || F === "'")
|
|
11640
|
-
for (var S = 1,
|
|
11641
|
-
if (
|
|
11647
|
+
for (var S = 1, E = l.charAt(g - S); E.trim() === "" || E === "="; ) {
|
|
11648
|
+
if (E === "=") {
|
|
11642
11649
|
v = F;
|
|
11643
11650
|
continue e;
|
|
11644
11651
|
}
|
|
11645
|
-
|
|
11652
|
+
E = l.charAt(g - ++S);
|
|
11646
11653
|
}
|
|
11647
11654
|
} else if (F === v) {
|
|
11648
11655
|
v = !1;
|
|
@@ -11654,9 +11661,9 @@ function Il() {
|
|
|
11654
11661
|
var i = /[^a-zA-Z0-9\\_:.-]/gim;
|
|
11655
11662
|
function r(l, h) {
|
|
11656
11663
|
var m = 0, p = 0, w = [], x = !1, v = l.length;
|
|
11657
|
-
function g(S,
|
|
11664
|
+
function g(S, E) {
|
|
11658
11665
|
if (S = e.trim(S), S = S.replace(i, "").toLowerCase(), !(S.length < 1)) {
|
|
11659
|
-
var X = h(S,
|
|
11666
|
+
var X = h(S, E || "");
|
|
11660
11667
|
X && w.push(X);
|
|
11661
11668
|
}
|
|
11662
11669
|
}
|
|
@@ -11768,7 +11775,7 @@ function cm() {
|
|
|
11768
11775
|
m.stripIgnoreTagBody,
|
|
11769
11776
|
x
|
|
11770
11777
|
), x = S.onIgnoreTag);
|
|
11771
|
-
var
|
|
11778
|
+
var E = u(
|
|
11772
11779
|
l,
|
|
11773
11780
|
function(X, $, N, U, R) {
|
|
11774
11781
|
var G = {
|
|
@@ -11791,7 +11798,7 @@ function cm() {
|
|
|
11791
11798
|
},
|
|
11792
11799
|
y
|
|
11793
11800
|
);
|
|
11794
|
-
return S && (
|
|
11801
|
+
return S && (E = S.remove(E)), E;
|
|
11795
11802
|
}, yi = f, yi;
|
|
11796
11803
|
}
|
|
11797
11804
|
var Ja;
|
|
@@ -11993,7 +12000,7 @@ const rr = /* @__PURE__ */ ie({
|
|
|
11993
12000
|
function S() {
|
|
11994
12001
|
y();
|
|
11995
12002
|
}
|
|
11996
|
-
let
|
|
12003
|
+
let E = [];
|
|
11997
12004
|
function X() {
|
|
11998
12005
|
const T = u.value;
|
|
11999
12006
|
if (!T) return [];
|
|
@@ -12008,16 +12015,16 @@ const rr = /* @__PURE__ */ ie({
|
|
|
12008
12015
|
}
|
|
12009
12016
|
function N() {
|
|
12010
12017
|
const T = X();
|
|
12011
|
-
|
|
12018
|
+
E = T, T.forEach((C) => {
|
|
12012
12019
|
C.addEventListener("scroll", k, {
|
|
12013
12020
|
passive: !0
|
|
12014
12021
|
}), C.addEventListener("mouseenter", F), C.addEventListener("mouseleave", S);
|
|
12015
12022
|
});
|
|
12016
12023
|
}
|
|
12017
12024
|
function U() {
|
|
12018
|
-
|
|
12025
|
+
E.forEach((T) => {
|
|
12019
12026
|
T.removeEventListener("scroll", k), T.removeEventListener("mouseenter", F), T.removeEventListener("mouseleave", S);
|
|
12020
|
-
}),
|
|
12027
|
+
}), E = [];
|
|
12021
12028
|
}
|
|
12022
12029
|
function R(T) {
|
|
12023
12030
|
try {
|
|
@@ -12291,7 +12298,7 @@ const km = {
|
|
|
12291
12298
|
},
|
|
12292
12299
|
showDivider: {
|
|
12293
12300
|
type: Boolean,
|
|
12294
|
-
default: !
|
|
12301
|
+
default: !1
|
|
12295
12302
|
}
|
|
12296
12303
|
}, ir = /* @__PURE__ */ ie({
|
|
12297
12304
|
name: "FXConfirmDialog",
|
|
@@ -12326,28 +12333,44 @@ const km = {
|
|
|
12326
12333
|
}, [d("div", {
|
|
12327
12334
|
class: "f-chat-confirm-dialog"
|
|
12328
12335
|
}, [d("div", {
|
|
12329
|
-
class: "f-chat-confirm-dialog
|
|
12336
|
+
class: "f-chat-confirm-dialog-body"
|
|
12330
12337
|
}, [d("div", {
|
|
12331
|
-
class: "f-chat-confirm-dialog
|
|
12332
|
-
}, [d("
|
|
12333
|
-
class: "
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
}, [
|
|
12341
|
-
|
|
12338
|
+
class: "f-chat-confirm-dialog-header"
|
|
12339
|
+
}, [d("div", {
|
|
12340
|
+
class: "f-chat-confirm-dialog-icon",
|
|
12341
|
+
"aria-hidden": "true"
|
|
12342
|
+
}, [d("svg", {
|
|
12343
|
+
class: "f-chat-confirm-dialog-icon-symbol",
|
|
12344
|
+
viewBox: "0 0 12 12",
|
|
12345
|
+
fill: "none",
|
|
12346
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12347
|
+
}, [d("rect", {
|
|
12348
|
+
x: "5.125",
|
|
12349
|
+
y: "1",
|
|
12350
|
+
width: "1.75",
|
|
12351
|
+
height: "7.25",
|
|
12352
|
+
rx: "0.875",
|
|
12353
|
+
fill: "#FFFFFF"
|
|
12354
|
+
}, null), d("circle", {
|
|
12355
|
+
cx: "6",
|
|
12356
|
+
cy: "10.5",
|
|
12357
|
+
r: "1",
|
|
12358
|
+
fill: "#FFFFFF"
|
|
12359
|
+
}, null)])]), d("div", {
|
|
12360
|
+
class: "f-chat-confirm-dialog-title"
|
|
12361
|
+
}, [n.title ? n.title() : e.title])]), (n.default || e.description) && d("div", {
|
|
12362
|
+
class: "f-chat-confirm-dialog-description"
|
|
12363
|
+
}, [n.default ? n.default() : e.description])]), d("div", {
|
|
12364
|
+
class: ["f-chat-confirm-dialog-actions", {
|
|
12342
12365
|
"with-divider": e.showDivider
|
|
12343
12366
|
}]
|
|
12344
12367
|
}, [d("button", {
|
|
12345
12368
|
type: "button",
|
|
12346
|
-
class: "f-chat-confirm-dialog
|
|
12369
|
+
class: "f-chat-confirm-dialog-btn f-chat-confirm-dialog-btn-cancel",
|
|
12347
12370
|
onClick: i
|
|
12348
12371
|
}, [e.cancelText]), d("button", {
|
|
12349
12372
|
type: "button",
|
|
12350
|
-
class: "f-chat-confirm-dialog
|
|
12373
|
+
class: "f-chat-confirm-dialog-btn f-chat-confirm-dialog-btn-confirm",
|
|
12351
12374
|
onClick: r
|
|
12352
12375
|
}, [e.confirmText])])])])]
|
|
12353
12376
|
}) : null;
|
|
@@ -12364,7 +12387,7 @@ function ts(e, t) {
|
|
|
12364
12387
|
function Cm(e) {
|
|
12365
12388
|
if (Array.isArray(e)) return e;
|
|
12366
12389
|
}
|
|
12367
|
-
function
|
|
12390
|
+
function Em(e, t, n) {
|
|
12368
12391
|
return (t = Om(t)) in e ? Object.defineProperty(e, t, {
|
|
12369
12392
|
value: n,
|
|
12370
12393
|
enumerable: !0,
|
|
@@ -12372,7 +12395,7 @@ function _m(e, t, n) {
|
|
|
12372
12395
|
writable: !0
|
|
12373
12396
|
}) : e[t] = n, e;
|
|
12374
12397
|
}
|
|
12375
|
-
function
|
|
12398
|
+
function _m(e, t) {
|
|
12376
12399
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
12377
12400
|
if (n != null) {
|
|
12378
12401
|
var u, i, r, o, a = [], s = !0, c = !1;
|
|
@@ -12408,7 +12431,7 @@ function us(e) {
|
|
|
12408
12431
|
for (var t = 1; t < arguments.length; t++) {
|
|
12409
12432
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
12410
12433
|
t % 2 ? ns(Object(n), !0).forEach(function(u) {
|
|
12411
|
-
|
|
12434
|
+
Em(e, u, n[u]);
|
|
12412
12435
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ns(Object(n)).forEach(function(u) {
|
|
12413
12436
|
Object.defineProperty(e, u, Object.getOwnPropertyDescriptor(n, u));
|
|
12414
12437
|
});
|
|
@@ -12434,7 +12457,7 @@ function Fm(e, t) {
|
|
|
12434
12457
|
return n;
|
|
12435
12458
|
}
|
|
12436
12459
|
function Tm(e, t) {
|
|
12437
|
-
return Cm(e) ||
|
|
12460
|
+
return Cm(e) || _m(e, t) || Lm(e, t) || Sm();
|
|
12438
12461
|
}
|
|
12439
12462
|
function Im(e, t) {
|
|
12440
12463
|
if (typeof e != "object" || !e) return e;
|
|
@@ -12666,7 +12689,7 @@ var r2 = ["monaco"], i2 = Xm.create({
|
|
|
12666
12689
|
resolve: null,
|
|
12667
12690
|
reject: null,
|
|
12668
12691
|
monaco: null
|
|
12669
|
-
}), zl = Tm(i2, 2),
|
|
12692
|
+
}), zl = Tm(i2, 2), Eu = zl[0], Nr = zl[1];
|
|
12670
12693
|
function o2(e) {
|
|
12671
12694
|
var t = t2.config(e), n = t.monaco, u = Dm(t, r2);
|
|
12672
12695
|
Nr(function(i) {
|
|
@@ -12677,7 +12700,7 @@ function o2(e) {
|
|
|
12677
12700
|
});
|
|
12678
12701
|
}
|
|
12679
12702
|
function a2() {
|
|
12680
|
-
var e =
|
|
12703
|
+
var e = Eu(function(t) {
|
|
12681
12704
|
var n = t.monaco, u = t.isInitialized, i = t.resolve;
|
|
12682
12705
|
return {
|
|
12683
12706
|
monaco: n,
|
|
@@ -12704,7 +12727,7 @@ function l2(e) {
|
|
|
12704
12727
|
return e && (t.src = e), t;
|
|
12705
12728
|
}
|
|
12706
12729
|
function c2(e) {
|
|
12707
|
-
var t =
|
|
12730
|
+
var t = Eu(function(u) {
|
|
12708
12731
|
var i = u.config, r = u.reject;
|
|
12709
12732
|
return {
|
|
12710
12733
|
config: i,
|
|
@@ -12716,7 +12739,7 @@ function c2(e) {
|
|
|
12716
12739
|
}, n.onerror = t.reject, n;
|
|
12717
12740
|
}
|
|
12718
12741
|
function d2() {
|
|
12719
|
-
var e =
|
|
12742
|
+
var e = Eu(function(n) {
|
|
12720
12743
|
var u = n.config, i = n.resolve, r = n.reject;
|
|
12721
12744
|
return {
|
|
12722
12745
|
config: u,
|
|
@@ -12732,12 +12755,12 @@ function d2() {
|
|
|
12732
12755
|
});
|
|
12733
12756
|
}
|
|
12734
12757
|
function Nl(e) {
|
|
12735
|
-
|
|
12758
|
+
Eu().monaco || Nr({
|
|
12736
12759
|
monaco: e
|
|
12737
12760
|
});
|
|
12738
12761
|
}
|
|
12739
12762
|
function f2() {
|
|
12740
|
-
return
|
|
12763
|
+
return Eu(function(e) {
|
|
12741
12764
|
var t = e.monaco;
|
|
12742
12765
|
return t;
|
|
12743
12766
|
});
|
|
@@ -12786,10 +12809,10 @@ const or = /* @__PURE__ */ ie({
|
|
|
12786
12809
|
const {
|
|
12787
12810
|
value: F,
|
|
12788
12811
|
originalValue: S
|
|
12789
|
-
} = p,
|
|
12812
|
+
} = p, E = (F || "").split(`
|
|
12790
12813
|
`).length, X = S ? S.split(`
|
|
12791
12814
|
`).length : 0;
|
|
12792
|
-
v = S ? X +
|
|
12815
|
+
v = S ? X + E : E;
|
|
12793
12816
|
}
|
|
12794
12817
|
return m2 + v * as;
|
|
12795
12818
|
}
|
|
@@ -12868,8 +12891,8 @@ const or = /* @__PURE__ */ ie({
|
|
|
12868
12891
|
if (o.value) return;
|
|
12869
12892
|
const F = (S = k.getContainerDomNode) == null ? void 0 : S.call(k);
|
|
12870
12893
|
if (F) {
|
|
12871
|
-
const
|
|
12872
|
-
|
|
12894
|
+
const E = F.querySelector('.diff-editor-cell.original, [class*="original"]');
|
|
12895
|
+
E && (E.style.display = "none");
|
|
12873
12896
|
}
|
|
12874
12897
|
}), i.value = k;
|
|
12875
12898
|
} else {
|
|
@@ -13581,7 +13604,7 @@ const C2 = {
|
|
|
13581
13604
|
ou.install = (e) => {
|
|
13582
13605
|
e.component(ou.name, ou), e.component(to.name, to);
|
|
13583
13606
|
};
|
|
13584
|
-
const
|
|
13607
|
+
const E2 = {
|
|
13585
13608
|
/** 快捷指令建议项 */
|
|
13586
13609
|
items: {
|
|
13587
13610
|
type: Array,
|
|
@@ -13611,7 +13634,7 @@ const _2 = {
|
|
|
13611
13634
|
}
|
|
13612
13635
|
}, cr = /* @__PURE__ */ ie({
|
|
13613
13636
|
name: "FXSuggestion",
|
|
13614
|
-
props:
|
|
13637
|
+
props: E2,
|
|
13615
13638
|
setup(e, t) {
|
|
13616
13639
|
const n = H(null), u = H(!1), i = H(!1), r = H({
|
|
13617
13640
|
top: 0,
|
|
@@ -13742,7 +13765,7 @@ const _2 = {
|
|
|
13742
13765
|
cr.install = (e) => {
|
|
13743
13766
|
e.component(cr.name, cr);
|
|
13744
13767
|
};
|
|
13745
|
-
const
|
|
13768
|
+
const _2 = {
|
|
13746
13769
|
type: {
|
|
13747
13770
|
type: String,
|
|
13748
13771
|
default: "Todo"
|
|
@@ -13760,7 +13783,7 @@ const E2 = {
|
|
|
13760
13783
|
}
|
|
13761
13784
|
}, dr = /* @__PURE__ */ ie({
|
|
13762
13785
|
name: "Todo",
|
|
13763
|
-
props:
|
|
13786
|
+
props: _2,
|
|
13764
13787
|
setup(e) {
|
|
13765
13788
|
const t = H(!0), n = B(() => {
|
|
13766
13789
|
var i;
|
|
@@ -13797,13 +13820,13 @@ const E2 = {
|
|
|
13797
13820
|
class: "f-chat-todo-header-count"
|
|
13798
13821
|
}, [n.value])]), t.value && d("div", {
|
|
13799
13822
|
class: "f-chat-todo-content"
|
|
13800
|
-
}, [d(
|
|
13823
|
+
}, [d(_r, {
|
|
13801
13824
|
items: e.items
|
|
13802
13825
|
}, null)])])]);
|
|
13803
13826
|
}
|
|
13804
13827
|
});
|
|
13805
13828
|
dr.install = (e) => {
|
|
13806
|
-
e.component(dr.name, dr), e.component(
|
|
13829
|
+
e.component(dr.name, dr), e.component(_r.name, _r), e.component($i.name, $i), e.directive("overflow-tooltip", bc);
|
|
13807
13830
|
};
|
|
13808
13831
|
function Cn(e) {
|
|
13809
13832
|
return e.toolResultApplied === !0 || String(e.result ?? "").trim().length > 0;
|
|
@@ -14831,14 +14854,14 @@ function W2(e) {
|
|
|
14831
14854
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !tc(e);
|
|
14832
14855
|
}
|
|
14833
14856
|
const Wt = "__hitl_other__";
|
|
14834
|
-
function
|
|
14857
|
+
function Ei(e, t = 120) {
|
|
14835
14858
|
return e ? e.length > t ? e.slice(0, t) + "..." : e : "";
|
|
14836
14859
|
}
|
|
14837
|
-
function
|
|
14860
|
+
function En(e) {
|
|
14838
14861
|
const t = e ?? "text";
|
|
14839
14862
|
return t === "text" || t === "select" || t === "multi_select" || t === "confirm" || t === "form" || t === "date" || t === "number" ? t : "text";
|
|
14840
14863
|
}
|
|
14841
|
-
const
|
|
14864
|
+
const _i = /* @__PURE__ */ ie({
|
|
14842
14865
|
name: "FXHitlQuestion",
|
|
14843
14866
|
props: {
|
|
14844
14867
|
content: {
|
|
@@ -14889,7 +14912,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
14889
14912
|
function o(C) {
|
|
14890
14913
|
const D = {}, M = {};
|
|
14891
14914
|
for (const z of C) {
|
|
14892
|
-
const j =
|
|
14915
|
+
const j = En(z.ui_type);
|
|
14893
14916
|
if (j === "confirm")
|
|
14894
14917
|
D[z.id] = void 0;
|
|
14895
14918
|
else if (j === "text" || j === "select")
|
|
@@ -14924,7 +14947,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
14924
14947
|
for (const z of C) {
|
|
14925
14948
|
D[z.id] = z.answer;
|
|
14926
14949
|
const j = e.content.questions.find((I) => I.id === z.id);
|
|
14927
|
-
j &&
|
|
14950
|
+
j && En(j.ui_type) === "select" && typeof z.answer == "string" && !(j.options ?? []).some((L) => L.label === z.answer) && z.answer !== "" && (M[z.id] = {
|
|
14928
14951
|
active: !0,
|
|
14929
14952
|
text: z.answer
|
|
14930
14953
|
}, D[z.id] = Wt);
|
|
@@ -14950,7 +14973,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
14950
14973
|
}
|
|
14951
14974
|
function p(C) {
|
|
14952
14975
|
var z, j;
|
|
14953
|
-
const D =
|
|
14976
|
+
const D = En(C.ui_type), M = u.value[C.id];
|
|
14954
14977
|
if (D === "text" && (typeof M != "string" || M.trim() === "") || D === "select" && (typeof M != "string" || M.trim() === "" || M === Wt && (((j = (z = i.value[C.id]) == null ? void 0 : z.text) == null ? void 0 : j.trim()) ?? "") === "") || D === "confirm" && typeof M != "boolean" || D === "multi_select" && (!Array.isArray(M) || M.length === 0))
|
|
14955
14978
|
return !1;
|
|
14956
14979
|
if (D === "form") {
|
|
@@ -15003,7 +15026,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15003
15026
|
if (!w.value) return;
|
|
15004
15027
|
const C = [];
|
|
15005
15028
|
for (const j of e.content.questions) {
|
|
15006
|
-
const I =
|
|
15029
|
+
const I = En(j.ui_type);
|
|
15007
15030
|
let P = u.value[j.id];
|
|
15008
15031
|
I === "select" && P === Wt && (P = ((M = (D = i.value[j.id]) == null ? void 0 : D.text) == null ? void 0 : M.trim()) ?? ""), I === "number" && (P = Number(P)), C.push({
|
|
15009
15032
|
id: j.id,
|
|
@@ -15069,14 +15092,14 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15069
15092
|
class: "f-hitl-opt-row__label"
|
|
15070
15093
|
}, [d("span", null, [C.label]), C.description ? d("span", {
|
|
15071
15094
|
class: "f-hitl-opt-row__desc"
|
|
15072
|
-
}, [
|
|
15095
|
+
}, [Ei(C.description)]) : null]), d("span", {
|
|
15073
15096
|
class: "f-hitl-opt-row__check"
|
|
15074
15097
|
}, [M ? d("span", {
|
|
15075
15098
|
class: "fx-icon fx-icon-sender_choose",
|
|
15076
15099
|
style: "font-size: 20px;"
|
|
15077
15100
|
}, null) : null])]);
|
|
15078
15101
|
}
|
|
15079
|
-
function
|
|
15102
|
+
function E(C, D) {
|
|
15080
15103
|
return d("div", {
|
|
15081
15104
|
class: "f-hitl-form-item",
|
|
15082
15105
|
key: C.name
|
|
@@ -15156,7 +15179,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15156
15179
|
class: "f-hitl-form-group"
|
|
15157
15180
|
}, [M.map((z) => {
|
|
15158
15181
|
const j = D[z.name] ?? "";
|
|
15159
|
-
return z.type === "select" ?
|
|
15182
|
+
return z.type === "select" ? E(z, d("div", {
|
|
15160
15183
|
class: "f-hitl-select-group"
|
|
15161
15184
|
}, [(z.options ?? []).map((I) => {
|
|
15162
15185
|
const P = typeof I == "string" ? I : I.label ?? "";
|
|
@@ -15169,7 +15192,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15169
15192
|
disabled: r.value,
|
|
15170
15193
|
onClick: () => v(C.id, z.name, P)
|
|
15171
15194
|
}, [P]);
|
|
15172
|
-
})])) : z.type === "number" ?
|
|
15195
|
+
})])) : z.type === "number" ? E(z, F(j, r.value, (I) => v(C.id, z.name, I), z.min, z.max)) : z.type === "date" ? E(z, k(j, r.value, (I) => v(C.id, z.name, I))) : E(z, d("input", {
|
|
15173
15196
|
class: "f-hitl-input",
|
|
15174
15197
|
type: "text",
|
|
15175
15198
|
value: j,
|
|
@@ -15180,7 +15203,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15180
15203
|
})])]);
|
|
15181
15204
|
}
|
|
15182
15205
|
function N(C) {
|
|
15183
|
-
const D =
|
|
15206
|
+
const D = En(C.ui_type);
|
|
15184
15207
|
if (D === "text") {
|
|
15185
15208
|
const M = u.value[C.id] ?? "";
|
|
15186
15209
|
return d("div", {
|
|
@@ -15257,7 +15280,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15257
15280
|
}, [de("暂不支持 ui_type「"), String(C.ui_type), de("」,请升级前端。")])]);
|
|
15258
15281
|
}
|
|
15259
15282
|
function U(C) {
|
|
15260
|
-
const D =
|
|
15283
|
+
const D = En(C.ui_type), M = (j, I, P) => d("input", {
|
|
15261
15284
|
class: "f-hitl-input",
|
|
15262
15285
|
type: j,
|
|
15263
15286
|
value: I,
|
|
@@ -15285,7 +15308,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15285
15308
|
class: "f-hitl-opt-row__label"
|
|
15286
15309
|
}, [d("span", null, [O.label]), O.description ? d("span", {
|
|
15287
15310
|
class: "f-hitl-opt-row__desc"
|
|
15288
|
-
}, [
|
|
15311
|
+
}, [Ei(O.description)]) : null])])), L.map((O) => d("div", {
|
|
15289
15312
|
class: "f-hitl-opt-row",
|
|
15290
15313
|
key: O
|
|
15291
15314
|
}, [d("div", {
|
|
@@ -15312,7 +15335,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15312
15335
|
class: "f-hitl-opt-row__label"
|
|
15313
15336
|
}, [d("span", null, [O.label]), O.description ? d("span", {
|
|
15314
15337
|
class: "f-hitl-opt-row__desc"
|
|
15315
|
-
}, [
|
|
15338
|
+
}, [Ei(O.description)]) : null])]))])]);
|
|
15316
15339
|
}
|
|
15317
15340
|
if (D === "confirm") {
|
|
15318
15341
|
const j = u.value[C.id];
|
|
@@ -15339,7 +15362,7 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15339
15362
|
return P.type === "number" ? O = M("number", L, {
|
|
15340
15363
|
min: P.min,
|
|
15341
15364
|
max: P.max
|
|
15342
|
-
}) : P.type === "date" ? O = M("date", L) : O = M("text", L),
|
|
15365
|
+
}) : P.type === "date" ? O = M("date", L) : O = M("text", L), E(P, O);
|
|
15343
15366
|
})])]);
|
|
15344
15367
|
}
|
|
15345
15368
|
if (D === "date") {
|
|
@@ -15475,8 +15498,8 @@ const Ei = /* @__PURE__ */ ie({
|
|
|
15475
15498
|
return () => r.value ? q() : T();
|
|
15476
15499
|
}
|
|
15477
15500
|
});
|
|
15478
|
-
|
|
15479
|
-
e.component(
|
|
15501
|
+
_i.install = (e) => {
|
|
15502
|
+
e.component(_i.name, _i);
|
|
15480
15503
|
};
|
|
15481
15504
|
function V2(e, t) {
|
|
15482
15505
|
var u;
|
|
@@ -15637,7 +15660,7 @@ export {
|
|
|
15637
15660
|
ar as FXFileOperation,
|
|
15638
15661
|
sr as FXGenerateProcess,
|
|
15639
15662
|
lr as FXHistory,
|
|
15640
|
-
|
|
15663
|
+
_i as FXHitlQuestion,
|
|
15641
15664
|
Si as FXInputRecommend,
|
|
15642
15665
|
Di as FXLinkCard,
|
|
15643
15666
|
br as FXListView,
|
|
@@ -15657,7 +15680,7 @@ export {
|
|
|
15657
15680
|
cr as FXSuggestion,
|
|
15658
15681
|
dr as FXTodo,
|
|
15659
15682
|
$i as FXTodoListItemView,
|
|
15660
|
-
|
|
15683
|
+
_r as FXTodoListView,
|
|
15661
15684
|
uu as FXToolUse,
|
|
15662
15685
|
fr as FXToolUseBatch,
|
|
15663
15686
|
Ti as FXUnknownEnterprise,
|
|
@@ -15716,12 +15739,13 @@ export {
|
|
|
15716
15739
|
O1 as splitterProps,
|
|
15717
15740
|
w1 as startedTodoProps,
|
|
15718
15741
|
gm as subscribeAssistantInPreviewIframe,
|
|
15719
|
-
|
|
15742
|
+
E2 as suggestionProps,
|
|
15720
15743
|
k1 as todoListItemProps,
|
|
15721
15744
|
A1 as todoListViewProps,
|
|
15722
|
-
|
|
15745
|
+
_2 as todoProps,
|
|
15723
15746
|
ro as triggerAttachmentDownload,
|
|
15724
15747
|
a1 as unloadDynamicComponent,
|
|
15748
|
+
Ac as useAttachment,
|
|
15725
15749
|
oo as useSequentialStreaming,
|
|
15726
15750
|
hc as useStreamingOutput,
|
|
15727
15751
|
gs as useTimer,
|