@zyui/components 0.0.130 → 0.0.131
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/es/index.js +30 -30
- package/es/index.mjs +742 -739
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ var Ipe = (o, s, i) => s in o ? Rpe(o, s, { enumerable: !0, configurable: !0, wr
|
|
|
3
3
|
var fu = (o, s, i) => Ipe(o, typeof s != "symbol" ? s + "" : s, i);
|
|
4
4
|
import { defineComponent as Ko, reactive as d$, provide as Jm, inject as Qm, ref as dn, watch as Wo, toValue as ht, computed as $n, openBlock as ct, createElementBlock as on, createElementVNode as Vt, mergeModels as ca, useModel as fr, Fragment as er, renderList as ta, createVNode as fn, unref as Ne, withCtx as xn, createCommentVNode as Po, toDisplayString as Ss, createTextVNode as Fs, createBlock as Co, withDirectives as KU, mergeProps as cm, resolveComponent as Z4, isRef as op, onUnmounted as ud, watchEffect as Iue, onMounted as Ii, onBeforeUnmount as f$, nextTick as qc, toRefs as nC, getCurrentScope as Zoe, onScopeDispose as LR, renderSlot as Fr, normalizeStyle as tl, onActivated as Ppe, onDeactivated as Bpe, h as qa, withModifiers as oC, Teleport as Goe, normalizeClass as ci, resolveDynamicComponent as J_, createPropsRestProxy as Fpe, toRef as li, effectScope as Pue, getCurrentInstance as sC, useSlots as Lpe, onBeforeMount as Hpe, useAttrs as Vpe, isMemoSame as zpe, customRef as Upe, markRaw as HR, readonly as jpe, createStaticVNode as Wpe, createSlots as Bue, normalizeProps as Zpe, guardReactiveProps as Gpe, withKeys as gI } from "vue";
|
|
5
5
|
import { ElImage as by, ElIcon as Kg, ElPopover as SE, ElForm as rC, ElFormItem as Ym, ElInput as Jg, ElButton as Fu, ElScrollbar as XU, ElLoadingDirective as qoe, ElSelect as gE, ElOption as hE, ElDialog as JU, ElTabs as Fue, ElTabPane as Lue, useFormItem as qpe, ClickOutside as Ype, ElTooltip as QU, ElTable as Kpe, ElTableColumn as _z, ElCheckbox as yy, ElMessageBox as Xpe, ElRadioGroup as Hue, ElRadio as X2, ElTree as Vue } from "element-plus";
|
|
6
|
-
const Jpe = "0.0.
|
|
6
|
+
const Jpe = "0.0.131";
|
|
7
7
|
var Qpe = Object.defineProperty, e1e = (o, s, i) => s in o ? Qpe(o, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[s] = i, Rte = (o, s, i) => e1e(o, typeof s != "symbol" ? s + "" : s, i);
|
|
8
8
|
function zue(o, s) {
|
|
9
9
|
return function() {
|
|
@@ -1032,10 +1032,10 @@ const ade = (o) => {
|
|
|
1032
1032
|
config: o,
|
|
1033
1033
|
request: G
|
|
1034
1034
|
};
|
|
1035
|
-
sde(function(
|
|
1036
|
-
s(
|
|
1037
|
-
}, function(
|
|
1038
|
-
i(
|
|
1035
|
+
sde(function(fe) {
|
|
1036
|
+
s(fe), W();
|
|
1037
|
+
}, function(fe) {
|
|
1038
|
+
i(fe), W();
|
|
1039
1039
|
}, F), G = null;
|
|
1040
1040
|
}
|
|
1041
1041
|
"onloadend" in G ? G.onloadend = X : G.onreadystatechange = function() {
|
|
@@ -1251,10 +1251,10 @@ const xve = async (o) => {
|
|
|
1251
1251
|
);
|
|
1252
1252
|
}
|
|
1253
1253
|
_ = _ || "text";
|
|
1254
|
-
let
|
|
1254
|
+
let fe = await fU[Zn.findKey(fU, _) || "text"](j, o);
|
|
1255
1255
|
return !F && G && G(), await new Promise((Ke, Re) => {
|
|
1256
1256
|
sde(Ke, Re, {
|
|
1257
|
-
data:
|
|
1257
|
+
data: fe,
|
|
1258
1258
|
headers: Xm.from(j.headers),
|
|
1259
1259
|
status: j.status,
|
|
1260
1260
|
statusText: j.statusText,
|
|
@@ -2502,55 +2502,55 @@ var Dde = { exports: {} };
|
|
|
2502
2502
|
(function(i, u) {
|
|
2503
2503
|
o.exports = u();
|
|
2504
2504
|
})(Ode, function() {
|
|
2505
|
-
var i = 1e3, u = 6e4, f = 36e5, h = "millisecond", v = "second", w = "minute", C = "hour", _ = "day", A = "week", $ = "month", R = "quarter", I = "year", W = "date", G = "Invalid Date", X = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Z = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
2506
|
-
var ve = ["th", "st", "nd", "rd"], O =
|
|
2507
|
-
return "[" +
|
|
2508
|
-
} }, F = function(
|
|
2509
|
-
var _e = String(
|
|
2510
|
-
return !_e || _e.length >= ve ?
|
|
2511
|
-
},
|
|
2512
|
-
var ve = -
|
|
2505
|
+
var i = 1e3, u = 6e4, f = 36e5, h = "millisecond", v = "second", w = "minute", C = "hour", _ = "day", A = "week", $ = "month", R = "quarter", I = "year", W = "date", G = "Invalid Date", X = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Z = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(me) {
|
|
2506
|
+
var ve = ["th", "st", "nd", "rd"], O = me % 100;
|
|
2507
|
+
return "[" + me + (ve[(O - 20) % 10] || ve[O] || ve[0]) + "]";
|
|
2508
|
+
} }, F = function(me, ve, O) {
|
|
2509
|
+
var _e = String(me);
|
|
2510
|
+
return !_e || _e.length >= ve ? me : "" + Array(ve + 1 - _e.length).join(O) + me;
|
|
2511
|
+
}, fe = { s: F, z: function(me) {
|
|
2512
|
+
var ve = -me.utcOffset(), O = Math.abs(ve), _e = Math.floor(O / 60), ie = O % 60;
|
|
2513
2513
|
return (ve <= 0 ? "+" : "-") + F(_e, 2, "0") + ":" + F(ie, 2, "0");
|
|
2514
|
-
}, m: function
|
|
2515
|
-
if (ve.date() < O.date()) return -
|
|
2514
|
+
}, m: function me(ve, O) {
|
|
2515
|
+
if (ve.date() < O.date()) return -me(O, ve);
|
|
2516
2516
|
var _e = 12 * (O.year() - ve.year()) + (O.month() - ve.month()), ie = ve.clone().add(_e, $), Ve = O - ie < 0, Ge = ve.clone().add(_e + (Ve ? -1 : 1), $);
|
|
2517
2517
|
return +(-(_e + (O - ie) / (Ve ? ie - Ge : Ge - ie)) || 0);
|
|
2518
|
-
}, a: function(
|
|
2519
|
-
return
|
|
2520
|
-
}, p: function(
|
|
2521
|
-
return { M: $, y: I, w: A, d: _, D: W, h: C, m: w, s: v, ms: h, Q: R }[
|
|
2522
|
-
}, u: function(
|
|
2523
|
-
return
|
|
2518
|
+
}, a: function(me) {
|
|
2519
|
+
return me < 0 ? Math.ceil(me) || 0 : Math.floor(me);
|
|
2520
|
+
}, p: function(me) {
|
|
2521
|
+
return { M: $, y: I, w: A, d: _, D: W, h: C, m: w, s: v, ms: h, Q: R }[me] || String(me || "").toLowerCase().replace(/s$/, "");
|
|
2522
|
+
}, u: function(me) {
|
|
2523
|
+
return me === void 0;
|
|
2524
2524
|
} }, Ke = "en", Re = {};
|
|
2525
2525
|
Re[Ke] = j;
|
|
2526
|
-
var q = "$isDayjsObject", Ee = function(
|
|
2527
|
-
return
|
|
2528
|
-
}, et = function
|
|
2526
|
+
var q = "$isDayjsObject", Ee = function(me) {
|
|
2527
|
+
return me instanceof le || !(!me || !me[q]);
|
|
2528
|
+
}, et = function me(ve, O, _e) {
|
|
2529
2529
|
var ie;
|
|
2530
2530
|
if (!ve) return Ke;
|
|
2531
2531
|
if (typeof ve == "string") {
|
|
2532
2532
|
var Ve = ve.toLowerCase();
|
|
2533
2533
|
Re[Ve] && (ie = Ve), O && (Re[Ve] = O, ie = Ve);
|
|
2534
2534
|
var Ge = ve.split("-");
|
|
2535
|
-
if (!ie && Ge.length > 1) return
|
|
2535
|
+
if (!ie && Ge.length > 1) return me(Ge[0]);
|
|
2536
2536
|
} else {
|
|
2537
2537
|
var de = ve.name;
|
|
2538
2538
|
Re[de] = ve, ie = de;
|
|
2539
2539
|
}
|
|
2540
2540
|
return !_e && ie && (Ke = ie), ie || !_e && Ke;
|
|
2541
|
-
}, je = function(
|
|
2542
|
-
if (Ee(
|
|
2541
|
+
}, je = function(me, ve) {
|
|
2542
|
+
if (Ee(me)) return me.clone();
|
|
2543
2543
|
var O = typeof ve == "object" ? ve : {};
|
|
2544
|
-
return O.date =
|
|
2545
|
-
}, we =
|
|
2546
|
-
we.l = et, we.i = Ee, we.w = function(
|
|
2547
|
-
return je(
|
|
2544
|
+
return O.date = me, O.args = arguments, new le(O);
|
|
2545
|
+
}, we = fe;
|
|
2546
|
+
we.l = et, we.i = Ee, we.w = function(me, ve) {
|
|
2547
|
+
return je(me, { locale: ve.$L, utc: ve.$u, x: ve.$x, $offset: ve.$offset });
|
|
2548
2548
|
};
|
|
2549
2549
|
var le = function() {
|
|
2550
|
-
function
|
|
2550
|
+
function me(O) {
|
|
2551
2551
|
this.$L = et(O.locale, null, !0), this.parse(O), this.$x = this.$x || O.x || {}, this[q] = !0;
|
|
2552
2552
|
}
|
|
2553
|
-
var ve =
|
|
2553
|
+
var ve = me.prototype;
|
|
2554
2554
|
return ve.parse = function(O) {
|
|
2555
2555
|
this.$d = function(_e) {
|
|
2556
2556
|
var ie = _e.date, Ve = _e.utc;
|
|
@@ -2760,16 +2760,16 @@ var Dde = { exports: {} };
|
|
|
2760
2760
|
return this.$d.toISOString();
|
|
2761
2761
|
}, ve.toString = function() {
|
|
2762
2762
|
return this.$d.toUTCString();
|
|
2763
|
-
},
|
|
2763
|
+
}, me;
|
|
2764
2764
|
}(), Rt = le.prototype;
|
|
2765
|
-
return je.prototype = Rt, [["$ms", h], ["$s", v], ["$m", w], ["$H", C], ["$W", _], ["$M", $], ["$y", I], ["$D", W]].forEach(function(
|
|
2766
|
-
Rt[
|
|
2767
|
-
return this.$g(ve,
|
|
2765
|
+
return je.prototype = Rt, [["$ms", h], ["$s", v], ["$m", w], ["$H", C], ["$W", _], ["$M", $], ["$y", I], ["$D", W]].forEach(function(me) {
|
|
2766
|
+
Rt[me[1]] = function(ve) {
|
|
2767
|
+
return this.$g(ve, me[0], me[1]);
|
|
2768
2768
|
};
|
|
2769
|
-
}), je.extend = function(
|
|
2770
|
-
return
|
|
2771
|
-
}, je.locale = et, je.isDayjs = Ee, je.unix = function(
|
|
2772
|
-
return je(1e3 *
|
|
2769
|
+
}), je.extend = function(me, ve) {
|
|
2770
|
+
return me.$i || (me(ve, le, je), me.$i = !0), je;
|
|
2771
|
+
}, je.locale = et, je.isDayjs = Ee, je.unix = function(me) {
|
|
2772
|
+
return je(1e3 * me);
|
|
2773
2773
|
}, je.en = Re[Ke], je.Ls = Re, je.p = {}, je;
|
|
2774
2774
|
});
|
|
2775
2775
|
})(Dde);
|
|
@@ -2991,8 +2991,8 @@ var soe = Rbe, fie = soe.custom, mie = Hde(fie) ? fie : null, Fde = {
|
|
|
2991
2991
|
f = [];
|
|
2992
2992
|
else if (Vde(f, s) >= 0)
|
|
2993
2993
|
return "[Circular]";
|
|
2994
|
-
function R(Rt,
|
|
2995
|
-
if (
|
|
2994
|
+
function R(Rt, me, ve) {
|
|
2995
|
+
if (me && (f = Ube.call(f), f.push(me)), ve) {
|
|
2996
2996
|
var O = {
|
|
2997
2997
|
depth: h.depth
|
|
2998
2998
|
};
|
|
@@ -3020,8 +3020,8 @@ var soe = Rbe, fie = soe.custom, mie = Hde(fie) ? fie : null, Fde = {
|
|
|
3020
3020
|
return $ && !i0e(F) ? "[" + aoe(F, $) + "]" : "[ " + cb.call(F, ", ") + " ]";
|
|
3021
3021
|
}
|
|
3022
3022
|
if (Gbe(s)) {
|
|
3023
|
-
var
|
|
3024
|
-
return !("cause" in Error.prototype) && "cause" in s && !Bde.call(s, "cause") ? "{ [" + String(s) + "] " + cb.call(lie.call("[cause]: " + R(s.cause),
|
|
3023
|
+
var fe = Ez(s, R);
|
|
3024
|
+
return !("cause" in Error.prototype) && "cause" in s && !Bde.call(s, "cause") ? "{ [" + String(s) + "] " + cb.call(lie.call("[cause]: " + R(s.cause), fe), ", ") + " }" : fe.length === 0 ? "[" + String(s) + "]" : "{ [" + String(s) + "] " + cb.call(fe, ", ") + " }";
|
|
3025
3025
|
}
|
|
3026
3026
|
if (typeof s == "object" && v) {
|
|
3027
3027
|
if (mie && typeof s[mie] == "function" && soe)
|
|
@@ -3031,8 +3031,8 @@ var soe = Rbe, fie = soe.custom, mie = Hde(fie) ? fie : null, Fde = {
|
|
|
3031
3031
|
}
|
|
3032
3032
|
if (e0e(s)) {
|
|
3033
3033
|
var Ke = [];
|
|
3034
|
-
return sie && sie.call(s, function(Rt,
|
|
3035
|
-
Ke.push(R(
|
|
3034
|
+
return sie && sie.call(s, function(Rt, me) {
|
|
3035
|
+
Ke.push(R(me, s, !0) + " => " + R(Rt, s));
|
|
3036
3036
|
}), hie("Map", bU.call(s), Ke, $);
|
|
3037
3037
|
}
|
|
3038
3038
|
if (o0e(s)) {
|
|
@@ -3965,14 +3965,14 @@ function() {
|
|
|
3965
3965
|
}, ewe = function(s) {
|
|
3966
3966
|
return typeof s == "string" || typeof s == "number" || typeof s == "boolean" || typeof s == "symbol" || typeof s == "bigint";
|
|
3967
3967
|
}, ane = {}, twe = function o(s, i, u, f, h, v, w, C, _, A, $, R, I, W, G, X, Z, j) {
|
|
3968
|
-
for (var F = s,
|
|
3969
|
-
var q =
|
|
3968
|
+
for (var F = s, fe = j, Ke = 0, Re = !1; (fe = fe.get(ane)) !== void 0 && !Re; ) {
|
|
3969
|
+
var q = fe.get(s);
|
|
3970
3970
|
if (Ke += 1, typeof q < "u") {
|
|
3971
3971
|
if (q === Ke)
|
|
3972
3972
|
throw new RangeError("Cyclic object value");
|
|
3973
3973
|
Re = !0;
|
|
3974
3974
|
}
|
|
3975
|
-
typeof
|
|
3975
|
+
typeof fe.get(ane) > "u" && (Ke = 0);
|
|
3976
3976
|
}
|
|
3977
3977
|
if (typeof A == "function" ? F = A(i, F) : F instanceof Date ? F = I(F) : u === "comma" && ib(F) && (F = Jz.maybeMap(F, function(Ge) {
|
|
3978
3978
|
return Ge instanceof Date ? I(Ge) : Ge;
|
|
@@ -4003,8 +4003,8 @@ function() {
|
|
|
4003
4003
|
var le = C ? String(i).replace(/\./g, "%2E") : String(i), Rt = f && ib(F) && F.length === 1 ? le + "[]" : le;
|
|
4004
4004
|
if (h && ib(F) && F.length === 0)
|
|
4005
4005
|
return Rt + "[]";
|
|
4006
|
-
for (var
|
|
4007
|
-
var ve = je[
|
|
4006
|
+
for (var me = 0; me < je.length; ++me) {
|
|
4007
|
+
var ve = je[me], O = typeof ve == "object" && ve && typeof ve.value < "u" ? ve.value : F[ve];
|
|
4008
4008
|
if (!(w && O === null)) {
|
|
4009
4009
|
var _e = R && C ? String(ve).replace(/\./g, "%2E") : String(ve), ie = ib(F) ? typeof u == "function" ? u(Rt, _e) : Rt : Rt + (R ? "." + _e : "[" + _e + "]");
|
|
4010
4010
|
j.set(s, Ke);
|
|
@@ -5220,8 +5220,8 @@ function Jxe(o, s, i, u, f, h) {
|
|
|
5220
5220
|
X || (X = R == "constructor");
|
|
5221
5221
|
}
|
|
5222
5222
|
if (G && !X) {
|
|
5223
|
-
var
|
|
5224
|
-
|
|
5223
|
+
var fe = o.constructor, Ke = s.constructor;
|
|
5224
|
+
fe != Ke && "constructor" in o && "constructor" in s && !(typeof fe == "function" && fe instanceof fe && typeof Ke == "function" && Ke instanceof Ke) && (G = !1);
|
|
5225
5225
|
}
|
|
5226
5226
|
return h.delete(o), h.delete(s), G;
|
|
5227
5227
|
}
|
|
@@ -5412,7 +5412,7 @@ function Z2(o, s, i) {
|
|
|
5412
5412
|
function F() {
|
|
5413
5413
|
w !== void 0 && clearTimeout(w), _ = 0, u = C = f = w = void 0;
|
|
5414
5414
|
}
|
|
5415
|
-
function
|
|
5415
|
+
function fe() {
|
|
5416
5416
|
return w === void 0 ? v : j(une());
|
|
5417
5417
|
}
|
|
5418
5418
|
function Ke() {
|
|
@@ -5425,7 +5425,7 @@ function Z2(o, s, i) {
|
|
|
5425
5425
|
}
|
|
5426
5426
|
return w === void 0 && (w = setTimeout(Z, s)), v;
|
|
5427
5427
|
}
|
|
5428
|
-
return Ke.cancel = F, Ke.flush =
|
|
5428
|
+
return Ke.cancel = F, Ke.flush = fe, Ke;
|
|
5429
5429
|
}
|
|
5430
5430
|
function eU(o) {
|
|
5431
5431
|
return wy(o) && TE(o);
|
|
@@ -5678,8 +5678,8 @@ const X_e = (o) => {
|
|
|
5678
5678
|
switch (ht(i)) {
|
|
5679
5679
|
case "userIds":
|
|
5680
5680
|
C = (G = v.value) == null ? void 0 : G.userlist, ($ == null ? void 0 : $.length) > 0 && (C = C.filter((F) => $.includes((F == null ? void 0 : F.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (C = C.filter((F) => {
|
|
5681
|
-
var
|
|
5682
|
-
return ((
|
|
5681
|
+
var fe;
|
|
5682
|
+
return ((fe = iC(R, F == null ? void 0 : F.role)) == null ? void 0 : fe.length) > 0;
|
|
5683
5683
|
}));
|
|
5684
5684
|
break;
|
|
5685
5685
|
case "roleIds":
|
|
@@ -6367,11 +6367,11 @@ const yi = (o, s) => {
|
|
|
6367
6367
|
{ label: "选部门", value: "groupIds", chooseType: 3 }
|
|
6368
6368
|
];
|
|
6369
6369
|
return (j = f.extraParameter) != null && j.range && (Z = Z == null ? void 0 : Z.filter((F) => {
|
|
6370
|
-
var
|
|
6371
|
-
return (Ke = (
|
|
6370
|
+
var fe, Ke;
|
|
6371
|
+
return (Ke = (fe = f.extraParameter) == null ? void 0 : fe.range) == null ? void 0 : Ke[F == null ? void 0 : F.value];
|
|
6372
6372
|
})), Array.isArray(f.chooseType) ? Z == null ? void 0 : Z.filter((F) => {
|
|
6373
|
-
var
|
|
6374
|
-
return (
|
|
6373
|
+
var fe;
|
|
6374
|
+
return (fe = f.chooseType) == null ? void 0 : fe.includes(F == null ? void 0 : F.chooseType);
|
|
6375
6375
|
}) : Z == null ? void 0 : Z.filter((F) => f.chooseType == (F == null ? void 0 : F.chooseType));
|
|
6376
6376
|
}), A = $n(() => {
|
|
6377
6377
|
var Z, j;
|
|
@@ -6454,7 +6454,7 @@ const yi = (o, s) => {
|
|
|
6454
6454
|
])
|
|
6455
6455
|
]),
|
|
6456
6456
|
default: xn(() => {
|
|
6457
|
-
var F,
|
|
6457
|
+
var F, fe, Ke;
|
|
6458
6458
|
return [
|
|
6459
6459
|
Vt("div", null, [
|
|
6460
6460
|
fn(Ne(Fue), {
|
|
@@ -6482,7 +6482,7 @@ const yi = (o, s) => {
|
|
|
6482
6482
|
}), null, 16, ["model-value"])) : Po("", !0),
|
|
6483
6483
|
C.value === "roleIds" ? (ct(), Co(EEe, cm({
|
|
6484
6484
|
key: 1,
|
|
6485
|
-
"model-value": ((
|
|
6485
|
+
"model-value": ((fe = R.value) == null ? void 0 : fe.roleIds) || [],
|
|
6486
6486
|
"onUpdate:modelValue": j[2] || (j[2] = (Re) => {
|
|
6487
6487
|
R.value.roleIds = Re;
|
|
6488
6488
|
})
|
|
@@ -8003,8 +8003,8 @@ function hNe(o, s, i, u, f, h) {
|
|
|
8003
8003
|
X || (X = R == "constructor");
|
|
8004
8004
|
}
|
|
8005
8005
|
if (G && !X) {
|
|
8006
|
-
var
|
|
8007
|
-
|
|
8006
|
+
var fe = o.constructor, Ke = s.constructor;
|
|
8007
|
+
fe != Ke && "constructor" in o && "constructor" in s && !(typeof fe == "function" && fe instanceof fe && typeof Ke == "function" && Ke instanceof Ke) && (G = !1);
|
|
8008
8008
|
}
|
|
8009
8009
|
return h.delete(o), h.delete(s), G;
|
|
8010
8010
|
}
|
|
@@ -8670,10 +8670,10 @@ var AMe = [
|
|
|
8670
8670
|
return j ? I : W;
|
|
8671
8671
|
};
|
|
8672
8672
|
}, X = function() {
|
|
8673
|
-
var j = G(R), F = ab(ab({}, i), { readonly: o.disabled, target: w.value, plugins: RMe(i.plugins, o.plugins), toolbar: o.toolbar || i.toolbar, inline: A, license_key: o.licenseKey, setup: function(
|
|
8674
|
-
C =
|
|
8675
|
-
return NMe(Ke, o, s,
|
|
8676
|
-
}), typeof i.setup == "function" && i.setup(
|
|
8673
|
+
var j = G(R), F = ab(ab({}, i), { readonly: o.disabled, target: w.value, plugins: RMe(i.plugins, o.plugins), toolbar: o.toolbar || i.toolbar, inline: A, license_key: o.licenseKey, setup: function(fe) {
|
|
8674
|
+
C = fe, fe.on("init", function(Ke) {
|
|
8675
|
+
return NMe(Ke, o, s, fe, h, j);
|
|
8676
|
+
}), typeof i.setup == "function" && i.setup(fe);
|
|
8677
8677
|
} });
|
|
8678
8678
|
MMe(w.value) && (w.value.style.visibility = ""), z_().init(F), R = !1;
|
|
8679
8679
|
};
|
|
@@ -8689,8 +8689,8 @@ var AMe = [
|
|
|
8689
8689
|
if (z_() !== null)
|
|
8690
8690
|
X();
|
|
8691
8691
|
else if (w.value && w.value.ownerDocument) {
|
|
8692
|
-
var j = o.cloudChannel ? o.cloudChannel : "7", F = o.apiKey ? o.apiKey : "no-api-key",
|
|
8693
|
-
BMe.load(w.value.ownerDocument,
|
|
8692
|
+
var j = o.cloudChannel ? o.cloudChannel : "7", F = o.apiKey ? o.apiKey : "no-api-key", fe = IMe(o.tinymceScriptSrc) ? "https://cdn.tiny.cloud/1/".concat(F, "/tinymce/").concat(j, "/tinymce.min.js") : o.tinymceScriptSrc;
|
|
8693
|
+
BMe.load(w.value.ownerDocument, fe, X);
|
|
8694
8694
|
}
|
|
8695
8695
|
}), f$(function() {
|
|
8696
8696
|
z_() !== null && z_().remove(C);
|
|
@@ -8783,7 +8783,7 @@ var AMe = [
|
|
|
8783
8783
|
}, W = (e) => {
|
|
8784
8784
|
const n = typeof e;
|
|
8785
8785
|
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && I(e, String, (r, l) => l.isPrototypeOf(r)) ? "string" : n;
|
|
8786
|
-
}, G = (e) => (n) => W(n) === e, X = (e) => (n) => typeof n === e, Z = (e) => (n) => e === n, j = (e, n) =>
|
|
8786
|
+
}, G = (e) => (n) => W(n) === e, X = (e) => (n) => typeof n === e, Z = (e) => (n) => e === n, j = (e, n) => fe(e) && I(e, n, (r, l) => R(r) === l), F = G("string"), fe = G("object"), Ke = (e) => j(e, Object), Re = G("array"), q = Z(null), Ee = X("boolean"), et = Z(void 0), je = (e) => e == null, we = (e) => !je(e), le = X("function"), Rt = X("number"), me = (e, n) => {
|
|
8787
8787
|
if (Re(e)) {
|
|
8788
8788
|
for (let r = 0, l = e.length; r < l; ++r)
|
|
8789
8789
|
if (!n(e[r]))
|
|
@@ -9395,7 +9395,7 @@ var AMe = [
|
|
|
9395
9395
|
return r;
|
|
9396
9396
|
}, th = Object.getPrototypeOf, Rr = (e) => tg("HTMLElement", e), Cu = (e) => {
|
|
9397
9397
|
const n = Na("ownerDocument.defaultView", e);
|
|
9398
|
-
return
|
|
9398
|
+
return fe(e) && (Rr(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test(th(e).constructor.name));
|
|
9399
9399
|
}, Xa = 8, ui = 9, sl = 11, Lu = 1, Le = 3, We = (e) => e.dom.nodeName.toLowerCase(), zt = (e) => e.dom.nodeType, hn = (e) => (n) => zt(n) === e, Oo = (e) => zt(e) === Xa || We(e) === "#comment", Ds = (e) => ys(e) && Cu(e.dom), ys = hn(Lu), xr = hn(Le), Ia = hn(ui), Sl = hn(sl), Vi = (e) => (n) => ys(n) && We(n) === e, Kr = (e, n, r) => {
|
|
9400
9400
|
if (F(r) || Ee(r) || Rt(r))
|
|
9401
9401
|
e.setAttribute(n, r + "");
|
|
@@ -10179,8 +10179,8 @@ var AMe = [
|
|
|
10179
10179
|
return p.named && p.numeric ? l : p.named ? n ? d : pp : p.numeric ? tc : hp;
|
|
10180
10180
|
},
|
|
10181
10181
|
decode: (e) => e.replace(N1, (n, r) => r ? (r.charAt(0).toLowerCase() === "x" ? r = parseInt(r.substr(1), 16) : r = parseInt(r, 10), r > 65535 ? (r -= 65536, String.fromCharCode(55296 + (r >> 10), 56320 + (r & 1023))) : A$[r] || String.fromCharCode(r)) : Qa[n] || bg[n] || OE(n))
|
|
10182
|
-
}, _l = (e, n) => (e = gn.trim(e), e ? e.split(n || " ") : []), Eb = (e) => new RegExp("^" + e.replace(/([?+*])/g, ".$1") + "$"), $$ = (e) =>
|
|
10183
|
-
const n = (r) => Re(r) ? ue(r, n) : $$(r) ? new RegExp(r.source, r.flags) :
|
|
10182
|
+
}, _l = (e, n) => (e = gn.trim(e), e ? e.split(n || " ") : []), Eb = (e) => new RegExp("^" + e.replace(/([?+*])/g, ".$1") + "$"), $$ = (e) => fe(e) && e.source && Object.prototype.toString.call(e) === "[object RegExp]", O$ = (e) => {
|
|
10183
|
+
const n = (r) => Re(r) ? ue(r, n) : $$(r) ? new RegExp(r.source, r.flags) : fe(r) ? Yo(r, n) : r;
|
|
10184
10184
|
return n(e);
|
|
10185
10185
|
}, mC = (e) => {
|
|
10186
10186
|
const n = /^(~)?(.+)$/;
|
|
@@ -10483,7 +10483,7 @@ var AMe = [
|
|
|
10483
10483
|
Fo(Js, { extends: ti });
|
|
10484
10484
|
});
|
|
10485
10485
|
}, Rs = (zo) => {
|
|
10486
|
-
|
|
10486
|
+
fe(zo) ? wn(zo, (Js, ti) => Fo(ti, Js)) : F(zo) && Os(zo);
|
|
10487
10487
|
}, hr = (zo) => {
|
|
10488
10488
|
K(wh(zo ?? ""), ({ operation: Js, name: ti, validChildren: Qi }) => {
|
|
10489
10489
|
const bl = Js === "replace" ? { "#comment": {} } : l[ti], Ri = (Va) => {
|
|
@@ -11389,7 +11389,7 @@ var AMe = [
|
|
|
11389
11389
|
const Za = (e, n) => {
|
|
11390
11390
|
const r = e.indexOf(n);
|
|
11391
11391
|
return r !== -1 && e.indexOf(n, r + 1) > r;
|
|
11392
|
-
}, PE = (e) =>
|
|
11392
|
+
}, PE = (e) => fe(e) && So(e, "raw"), ei = (e) => Re(e) && e.length > 1, Mb = {}, nc = Ei("en"), Sh = () => Ts(Mb, nc.get()), eu = {
|
|
11393
11393
|
getData: () => Yo(Mb, (e) => ({ ...e })),
|
|
11394
11394
|
setCode: (e) => {
|
|
11395
11395
|
e && nc.set(e);
|
|
@@ -12273,7 +12273,7 @@ Required: ` + n.join(", "));
|
|
|
12273
12273
|
return ou.value(p(k));
|
|
12274
12274
|
} else return e.cmd !== void 0 ? F(e.cmd) ? ou.value(S(e.cmd, e.value)) : r(d + " pattern has non-string `cmd` parameter") : r(d + " pattern is missing both `format` and `cmd` parameters");
|
|
12275
12275
|
};
|
|
12276
|
-
if (!
|
|
12276
|
+
if (!fe(e))
|
|
12277
12277
|
return r("Raw pattern is not an object");
|
|
12278
12278
|
if (!F(e.start))
|
|
12279
12279
|
return r("Raw pattern is missing `start` parameter");
|
|
@@ -12395,7 +12395,7 @@ Required: ` + n.join(", "));
|
|
|
12395
12395
|
const d = l.split("="), p = d[0], S = d.length > 1 ? d[1] : p;
|
|
12396
12396
|
return r[Ls(p)] = Ls(S), r;
|
|
12397
12397
|
}, {});
|
|
12398
|
-
}, iw = (e) => j(e, RegExp), yo = (e) => (n) => n.options.get(e), Dp = (e) => F(e) ||
|
|
12398
|
+
}, iw = (e) => j(e, RegExp), yo = (e) => (n) => n.options.get(e), Dp = (e) => F(e) || fe(e), GC = (e, n = "") => (r) => {
|
|
12399
12399
|
const l = F(r);
|
|
12400
12400
|
if (l)
|
|
12401
12401
|
if (r.indexOf("=") !== -1) {
|
|
@@ -12561,7 +12561,7 @@ Required: ` + n.join(", "));
|
|
|
12561
12561
|
default: "40px"
|
|
12562
12562
|
}), n("content_css", {
|
|
12563
12563
|
processor: (r) => {
|
|
12564
|
-
const l = r === !1 || F(r) ||
|
|
12564
|
+
const l = r === !1 || F(r) || me(r, F);
|
|
12565
12565
|
return l ? F(r) ? {
|
|
12566
12566
|
value: ue(r.split(","), Ls),
|
|
12567
12567
|
valid: l
|
|
@@ -12585,7 +12585,7 @@ Required: ` + n.join(", "));
|
|
|
12585
12585
|
default: !1
|
|
12586
12586
|
}), n("font_css", {
|
|
12587
12587
|
processor: (r) => {
|
|
12588
|
-
const l = F(r) ||
|
|
12588
|
+
const l = F(r) || me(r, F);
|
|
12589
12589
|
return l ? {
|
|
12590
12590
|
value: Re(r) ? r : ue(r.split(","), Ls),
|
|
12591
12591
|
valid: l
|
|
@@ -12722,7 +12722,7 @@ Required: ` + n.join(", "));
|
|
|
12722
12722
|
default: !1
|
|
12723
12723
|
}), n("allow_mathml_annotation_encodings", {
|
|
12724
12724
|
processor: (r) => {
|
|
12725
|
-
const l =
|
|
12725
|
+
const l = me(r, F);
|
|
12726
12726
|
return l ? {
|
|
12727
12727
|
value: r,
|
|
12728
12728
|
valid: l
|
|
@@ -12807,7 +12807,7 @@ Required: ` + n.join(", "));
|
|
|
12807
12807
|
processor: "number",
|
|
12808
12808
|
default: 4
|
|
12809
12809
|
}), n("text_patterns", {
|
|
12810
|
-
processor: (r) =>
|
|
12810
|
+
processor: (r) => me(r, fe) || r === !1 ? {
|
|
12811
12811
|
value: bT(r === !1 ? [] : r),
|
|
12812
12812
|
valid: !0
|
|
12813
12813
|
} : {
|
|
@@ -12897,7 +12897,7 @@ Required: ` + n.join(", "));
|
|
|
12897
12897
|
processor: "string",
|
|
12898
12898
|
default: "mceEditable"
|
|
12899
12899
|
}), n("noneditable_regexp", {
|
|
12900
|
-
processor: (r) =>
|
|
12900
|
+
processor: (r) => me(r, iw) ? {
|
|
12901
12901
|
value: r,
|
|
12902
12902
|
valid: !0
|
|
12903
12903
|
} : iw(r) ? {
|
|
@@ -15945,7 +15945,7 @@ Required: ` + n.join(", "));
|
|
|
15945
15945
|
"color",
|
|
15946
15946
|
"fontSize",
|
|
15947
15947
|
"fontFamily"
|
|
15948
|
-
], K8 = (e) =>
|
|
15948
|
+
], K8 = (e) => fe(e.styles) && ae($o(e.styles), (n) => ee(g5, n)), cf = (e) => Ht(e, (n) => Gi(n) && n.inline === "span" && K8(n)), X8 = (e, n) => {
|
|
15949
15949
|
const r = e.get(n);
|
|
15950
15950
|
return Re(r) ? cf(r) : ne.none();
|
|
15951
15951
|
}, J8 = (e, n) => kl(n, sn.fromRangeStart(e)).isNone(), SZ = (e, n) => Hl(n, sn.fromRangeEnd(e)).exists((r) => !nr(r.getNode()) || Hl(n, r).isSome()) === !1, w3 = (e) => (n) => fC(n) && e.isEditable(n), xZ = (e) => {
|
|
@@ -18007,7 +18007,7 @@ Required: ` + n.join(", "));
|
|
|
18007
18007
|
},
|
|
18008
18008
|
raw: { getModel: () => ne.none() }
|
|
18009
18009
|
}), oN = (e) => {
|
|
18010
|
-
const n = (L) =>
|
|
18010
|
+
const n = (L) => fe(L) ? L : {}, { init: r, undoManager: l, formatter: d, editor: p, selection: S, autocompleter: k, raw: N } = e;
|
|
18011
18011
|
return {
|
|
18012
18012
|
init: { bindEvents: r.bindEvents },
|
|
18013
18013
|
undoManager: {
|
|
@@ -18924,7 +18924,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
18924
18924
|
blob: ce,
|
|
18925
18925
|
base64: ke
|
|
18926
18926
|
});
|
|
18927
|
-
if (
|
|
18927
|
+
if (fe(oe))
|
|
18928
18928
|
return l(oe);
|
|
18929
18929
|
throw new Error("Unknown input type");
|
|
18930
18930
|
}, l = (oe) => {
|
|
@@ -19536,7 +19536,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
19536
19536
|
register: d,
|
|
19537
19537
|
unregister: p
|
|
19538
19538
|
};
|
|
19539
|
-
}, G3 = gn.each, Mu = ga.DOM, xN = (e) => we(e) &&
|
|
19539
|
+
}, G3 = gn.each, Mu = ga.DOM, xN = (e) => we(e) && fe(e), _N = (e, n) => {
|
|
19540
19540
|
const r = n && n.schema || wg({}), l = (N, L) => {
|
|
19541
19541
|
L.classes.length > 0 && Mu.addClass(N, L.classes.join(" ")), Mu.setAttribs(N, L.attrs);
|
|
19542
19542
|
}, d = (N) => {
|
|
@@ -21081,7 +21081,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
21081
21081
|
map: P6,
|
|
21082
21082
|
mapError: WL,
|
|
21083
21083
|
fold: Kh
|
|
21084
|
-
}, gf = (e) =>
|
|
21084
|
+
}, gf = (e) => fe(e) && $o(e).length > 100 ? " removed due to size" : JSON.stringify(e, null, 2), u_ = (e) => {
|
|
21085
21085
|
const n = e.length > 10 ? e.slice(0, 10).concat([{
|
|
21086
21086
|
path: [],
|
|
21087
21087
|
getErrorInfo: ie("... (only showing first ten failures)")
|
|
@@ -21361,7 +21361,7 @@ Input object: ` + gf(e.input), j6 = (e, n) => f_(e, Yo(n, m_)), r9 = ie(VK), PA
|
|
|
21361
21361
|
return R6(e.dom, ce, oe, r.get()).filter(({ range: ke }) => L(ce, ke)).map(({ range: ke }) => ke);
|
|
21362
21362
|
});
|
|
21363
21363
|
e.addCommand("mceAutocompleterReload", (oe, ce) => {
|
|
21364
|
-
const ke =
|
|
21364
|
+
const ke = fe(ce) ? ce.fetchOptions : {};
|
|
21365
21365
|
N(ke);
|
|
21366
21366
|
}), e.addCommand("mceAutocompleterClose", d), e.addCommand("mceAutocompleterRefreshActiveRange", () => {
|
|
21367
21367
|
Q().each((oe) => {
|
|
@@ -24480,7 +24480,7 @@ Input object: ` + gf(e.input), j6 = (e, n) => f_(e, Yo(n, m_)), r9 = ie(VK), PA
|
|
|
24480
24480
|
if (e.mode.isReadOnly())
|
|
24481
24481
|
return;
|
|
24482
24482
|
const p = F(d) ? { href: d } : d, S = e.dom.getParent(e.selection.getNode(), "a");
|
|
24483
|
-
|
|
24483
|
+
fe(p) && F(p.href) && (p.href = p.href.replace(/ /g, "%20"), (!S || !p.href) && e.formatter.remove("link"), p.href && e.formatter.apply("link", p, S));
|
|
24484
24484
|
};
|
|
24485
24485
|
e.editorCommands.addCommands({
|
|
24486
24486
|
unlink: () => {
|
|
@@ -24807,7 +24807,7 @@ Input object: ` + gf(e.input), j6 = (e, n) => f_(e, Yo(n, m_)), r9 = ie(VK), PA
|
|
|
24807
24807
|
}, Qee = (e) => F(e) ? {
|
|
24808
24808
|
value: e.split(/[ ,]/),
|
|
24809
24809
|
valid: !0
|
|
24810
|
-
} :
|
|
24810
|
+
} : me(e, F) ? {
|
|
24811
24811
|
value: e,
|
|
24812
24812
|
valid: !0
|
|
24813
24813
|
} : {
|
|
@@ -24825,13 +24825,13 @@ Input object: ` + gf(e.input), j6 = (e, n) => f_(e, Yo(n, m_)), r9 = ie(VK), PA
|
|
|
24825
24825
|
case "number":
|
|
24826
24826
|
return Rt;
|
|
24827
24827
|
case "object":
|
|
24828
|
-
return
|
|
24828
|
+
return fe;
|
|
24829
24829
|
case "string":
|
|
24830
24830
|
return F;
|
|
24831
24831
|
case "string[]":
|
|
24832
24832
|
return Qee;
|
|
24833
24833
|
case "object[]":
|
|
24834
|
-
return (r) =>
|
|
24834
|
+
return (r) => me(r, fe);
|
|
24835
24835
|
case "regexp":
|
|
24836
24836
|
return (r) => j(r, RegExp);
|
|
24837
24837
|
default:
|
|
@@ -25301,7 +25301,7 @@ Input object: ` + gf(e.input), j6 = (e, n) => f_(e, Yo(n, m_)), r9 = ie(VK), PA
|
|
|
25301
25301
|
const d = this, p = d.options.get, S = bw(d);
|
|
25302
25302
|
if (le(S))
|
|
25303
25303
|
return S.call(d, n, l, !0, r);
|
|
25304
|
-
if (!p("convert_urls") || l === "link" ||
|
|
25304
|
+
if (!p("convert_urls") || l === "link" || fe(l) && l.nodeName === "LINK" || n.indexOf("file:") === 0 || n.length === 0)
|
|
25305
25305
|
return n;
|
|
25306
25306
|
const k = new uf(n);
|
|
25307
25307
|
return k.protocol !== "http" && k.protocol !== "https" && k.protocol !== "" ? n : p("relative_urls") ? d.documentBaseURI.toRelative(n) : (n = d.documentBaseURI.toAbsolute(n, p("remove_script_host")), n);
|
|
@@ -25469,7 +25469,7 @@ Input object: ` + gf(e.input), j6 = (e, n) => f_(e, Yo(n, m_)), r9 = ie(VK), PA
|
|
|
25469
25469
|
},
|
|
25470
25470
|
execCommand(e, n, r) {
|
|
25471
25471
|
var l;
|
|
25472
|
-
const d = this, p =
|
|
25472
|
+
const d = this, p = fe(r) ? (l = r.id) !== null && l !== void 0 ? l : r.index : r;
|
|
25473
25473
|
switch (e) {
|
|
25474
25474
|
case "mceAddEditor": {
|
|
25475
25475
|
if (!d.get(p)) {
|
|
@@ -25949,7 +25949,7 @@ tinymce.IconManager.add("default", {
|
|
|
25949
25949
|
}
|
|
25950
25950
|
return !1;
|
|
25951
25951
|
}, F = () => {
|
|
25952
|
-
},
|
|
25952
|
+
}, fe = (t) => () => t(), Ke = (t, a) => (...c) => t(a.apply(null, c)), Re = (t, a) => (c) => t(a(c)), q = (t) => () => t, Ee = (t) => t, et = (t, a) => t === a;
|
|
25953
25953
|
function je(t, ...a) {
|
|
25954
25954
|
return (...c) => {
|
|
25955
25955
|
const m = a.concat(c);
|
|
@@ -25958,7 +25958,7 @@ tinymce.IconManager.add("default", {
|
|
|
25958
25958
|
}
|
|
25959
25959
|
const we = (t) => (a) => !t(a), le = (t) => () => {
|
|
25960
25960
|
throw new Error(t);
|
|
25961
|
-
}, Rt = (t) => t(),
|
|
25961
|
+
}, Rt = (t) => t(), me = q(!1), ve = q(!0);
|
|
25962
25962
|
class O {
|
|
25963
25963
|
constructor(a, c) {
|
|
25964
25964
|
this.tag = a, this.value = c;
|
|
@@ -26099,7 +26099,7 @@ tinymce.IconManager.add("default", {
|
|
|
26099
26099
|
break;
|
|
26100
26100
|
}
|
|
26101
26101
|
return O.none();
|
|
26102
|
-
}, ee = (t, a) => Tt(t, a,
|
|
26102
|
+
}, ee = (t, a) => Tt(t, a, me), ae = (t, a) => {
|
|
26103
26103
|
for (let c = 0, m = t.length; c < m; c++) {
|
|
26104
26104
|
const b = t[c];
|
|
26105
26105
|
if (a(b, c))
|
|
@@ -26272,7 +26272,7 @@ tinymce.IconManager.add("default", {
|
|
|
26272
26272
|
const c = t.dom, m = a.dom;
|
|
26273
26273
|
return c === m ? !1 : c.contains(m);
|
|
26274
26274
|
}, Sr = (t) => kt.fromDom(t.dom.ownerDocument), ic = (t) => $a(t) ? t : Sr(t), Ai = (t) => kt.fromDom(ic(t).dom.documentElement), Cl = (t) => kt.fromDom(ic(t).dom.defaultView), xa = (t) => O.from(t.dom.parentNode).map(kt.fromDom), lc = (t) => xa(t), Bi = (t) => O.from(t.dom.parentElement).map(kt.fromDom), cc = (t, a) => {
|
|
26275
|
-
const c = X(a) ? a :
|
|
26275
|
+
const c = X(a) ? a : me;
|
|
26276
26276
|
let m = t.dom;
|
|
26277
26277
|
const b = [];
|
|
26278
26278
|
for (; m.parentNode !== null && m.parentNode !== void 0; ) {
|
|
@@ -26828,7 +26828,7 @@ tinymce.IconManager.add("default", {
|
|
|
26828
26828
|
inner: t,
|
|
26829
26829
|
fold: (x, E) => E(t),
|
|
26830
26830
|
isValue: ve,
|
|
26831
|
-
isError:
|
|
26831
|
+
isError: me,
|
|
26832
26832
|
map: (x) => ms.value(x(t)),
|
|
26833
26833
|
mapError: m,
|
|
26834
26834
|
bind: a,
|
|
@@ -26850,12 +26850,12 @@ tinymce.IconManager.add("default", {
|
|
|
26850
26850
|
tag: !1,
|
|
26851
26851
|
inner: t,
|
|
26852
26852
|
fold: (m, b) => m(t),
|
|
26853
|
-
isValue:
|
|
26853
|
+
isValue: me,
|
|
26854
26854
|
isError: ve,
|
|
26855
26855
|
map: a,
|
|
26856
26856
|
mapError: (m) => ms.error(m(t)),
|
|
26857
26857
|
bind: a,
|
|
26858
|
-
exists:
|
|
26858
|
+
exists: me,
|
|
26859
26859
|
forall: ve,
|
|
26860
26860
|
getOr: Ee,
|
|
26861
26861
|
or: Ee,
|
|
@@ -27207,7 +27207,7 @@ Required: ` + a.join(", "));
|
|
|
27207
27207
|
}, as = (t, a) => pn(t, a), gs = (t, a) => Un(t, a), _r = (t) => _o(t), Cr = (t, a) => t.length === 0 ? ms.value(a) : ms.value(Jr(a, bd.apply(void 0, t))), ma = (t) => ms.error(ue(t)), Ql = (t, a) => {
|
|
27208
27208
|
const c = bt(t);
|
|
27209
27209
|
return c.errors.length > 0 ? ma(c.errors) : Cr(c.values, a);
|
|
27210
|
-
}, Cd = (t) => X(t) ? t :
|
|
27210
|
+
}, Cd = (t) => X(t) ? t : me, hc = (t, a, c) => {
|
|
27211
27211
|
let m = t.dom;
|
|
27212
27212
|
const b = Cd(c);
|
|
27213
27213
|
for (; m.parentNode; ) {
|
|
@@ -27224,7 +27224,7 @@ Required: ` + a.join(", "));
|
|
|
27224
27224
|
return m.orThunk(() => b(t) ? O.none() : hc(t, a, b));
|
|
27225
27225
|
}, gh = (t, a) => Cs(t.element, a.event.target), hh = {
|
|
27226
27226
|
can: ve,
|
|
27227
|
-
abort:
|
|
27227
|
+
abort: me,
|
|
27228
27228
|
run: F
|
|
27229
27229
|
}, ec = (t) => {
|
|
27230
27230
|
if (!sr(t, "can") && !sr(t, "abort") && !sr(t, "run"))
|
|
@@ -27235,7 +27235,7 @@ Required: ` + a.join(", "));
|
|
|
27235
27235
|
};
|
|
27236
27236
|
}, ph = (t, a) => (...c) => qt(t, (m, b) => m && a(b).apply(void 0, c), !0), vh = (t, a) => (...c) => qt(t, (m, b) => m || a(b).apply(void 0, c), !1), O1 = (t) => X(t) ? {
|
|
27237
27237
|
can: ve,
|
|
27238
|
-
abort:
|
|
27238
|
+
abort: me,
|
|
27239
27239
|
run: t
|
|
27240
27240
|
} : t, mp = (t) => {
|
|
27241
27241
|
const a = ph(t, (b) => b.can), c = vh(t, (b) => b.abort);
|
|
@@ -27311,7 +27311,7 @@ Required: ` + a.join(", "));
|
|
|
27311
27311
|
const m = a.partUids[c];
|
|
27312
27312
|
return N$(t, m);
|
|
27313
27313
|
}, Ab = (t, a) => un(t, (c, m) => {
|
|
27314
|
-
const b = m.event, x = c.getSystem().getByDom(b.target).getOrThunk(() => Wu(b.target, (M) => c.getSystem().getByDom(M).toOptional(),
|
|
27314
|
+
const b = m.event, x = c.getSystem().getByDom(b.target).getOrThunk(() => Wu(b.target, (M) => c.getSystem().getByDom(M).toOptional(), me).getOr(c));
|
|
27315
27315
|
a(c, x, m);
|
|
27316
27316
|
}), Ch = (t) => un(t, (a, c) => {
|
|
27317
27317
|
c.cut();
|
|
@@ -27902,7 +27902,7 @@ Check the ` + ym() + " event handlers"), !1) : !0;
|
|
|
27902
27902
|
removeFromGui: c("removeFromGui"),
|
|
27903
27903
|
getByUid: c("getByUid"),
|
|
27904
27904
|
getByDom: c("getByDom"),
|
|
27905
|
-
isConnected:
|
|
27905
|
+
isConnected: me
|
|
27906
27906
|
};
|
|
27907
27907
|
}, QE = jb(), Wb = uo("alloy-premade"), G$ = (t) => (Object.defineProperty(t.element.dom, Wb, {
|
|
27908
27908
|
value: t.uid,
|
|
@@ -28233,7 +28233,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(a, (c) => c.name),
|
|
|
28233
28233
|
uid: x,
|
|
28234
28234
|
getSystem: c.get,
|
|
28235
28235
|
config: O.none,
|
|
28236
|
-
hasConfigured:
|
|
28236
|
+
hasConfigured: me,
|
|
28237
28237
|
connect: m,
|
|
28238
28238
|
disconnect: b,
|
|
28239
28239
|
getApis: () => ({}),
|
|
@@ -28255,7 +28255,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(a, (c) => c.name),
|
|
|
28255
28255
|
var dT = (t, a, c, m, b) => t(c, m) ? O.some(c) : X(b) && b(c) ? O.none() : a(c, m, b);
|
|
28256
28256
|
const fT = (t, a, c) => {
|
|
28257
28257
|
let m = t.dom;
|
|
28258
|
-
const b = X(c) ? c :
|
|
28258
|
+
const b = X(c) ? c : me;
|
|
28259
28259
|
for (; m.parentNode; ) {
|
|
28260
28260
|
m = m.parentNode;
|
|
28261
28261
|
const x = kt.fromDom(m);
|
|
@@ -28303,7 +28303,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(a, (c) => c.name),
|
|
|
28303
28303
|
Se(m, K1);
|
|
28304
28304
|
}
|
|
28305
28305
|
};
|
|
28306
|
-
}, vT = (t, a) => pT(a).exists((c) => Nh(t, c)), Nh = (t, a) => BC(a, (c) => Cs(c, t.element),
|
|
28306
|
+
}, vT = (t, a) => pT(a).exists((c) => Nh(t, c)), Nh = (t, a) => BC(a, (c) => Cs(c, t.element), me) || vT(t, a), dl = (t, a, c, m, b, x, E, M = !1) => ({
|
|
28307
28307
|
x: t,
|
|
28308
28308
|
y: a,
|
|
28309
28309
|
bubble: c,
|
|
@@ -29139,7 +29139,7 @@ Receiver: ` + nu(a.element), z, x.data);
|
|
|
29139
29139
|
"placement"
|
|
29140
29140
|
])
|
|
29141
29141
|
], FO = [
|
|
29142
|
-
Pt("useFixed",
|
|
29142
|
+
Pt("useFixed", me),
|
|
29143
29143
|
ar("getBounds")
|
|
29144
29144
|
], c0 = [
|
|
29145
29145
|
or("anchor", l0),
|
|
@@ -29352,7 +29352,7 @@ Receiver: ` + nu(a.element), z, x.data);
|
|
|
29352
29352
|
apis: LO,
|
|
29353
29353
|
state: zO
|
|
29354
29354
|
}), Lh = q("dismiss.popups"), Ag = q("reposition.popups"), Nw = q("mouse.released"), SS = ul([
|
|
29355
|
-
Pt("isExtraPart",
|
|
29355
|
+
Pt("isExtraPart", me),
|
|
29356
29356
|
Jl("fireEventInstead", [Pt("event", yh())])
|
|
29357
29357
|
]), $u = (t) => {
|
|
29358
29358
|
const a = Xl("Dismissal", SS, t);
|
|
@@ -29834,7 +29834,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29834
29834
|
vC(t, a, VS)
|
|
29835
29835
|
])
|
|
29836
29836
|
}), sD = [
|
|
29837
|
-
Ir("disabled",
|
|
29837
|
+
Ir("disabled", me),
|
|
29838
29838
|
Pt("useNative", !0),
|
|
29839
29839
|
ar("disableClass"),
|
|
29840
29840
|
Ks("onDisabled"),
|
|
@@ -30055,7 +30055,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30055
30055
|
]);
|
|
30056
30056
|
return af(a, Sd.init, Ye, Et, () => O.some(E));
|
|
30057
30057
|
};
|
|
30058
|
-
var qS = Cc(nr("cyclic",
|
|
30058
|
+
var qS = Cc(nr("cyclic", me)), w0 = Cc(nr("cyclic", ve));
|
|
30059
30059
|
const Rm = (t, a, c) => (Iy(t, c, tc()), O.some(!0)), Yi = (t, a, c) => gv(c) && Do(zn)(a.event) ? O.none() : Rm(t, a, c), Mg = (t, a) => O.some(!0), iD = [
|
|
30060
30060
|
Pt("execute", Yi),
|
|
30061
30061
|
Pt("useSpace", !1),
|
|
@@ -31262,7 +31262,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31262
31262
|
Jl("fireDismissalEventInstead", [Pt("event", yh())]),
|
|
31263
31263
|
Jl("fireRepositionEventInstead", [Pt("event", vp())]),
|
|
31264
31264
|
Pt("getRelated", O.none),
|
|
31265
|
-
Pt("isExtraPart",
|
|
31265
|
+
Pt("isExtraPart", me),
|
|
31266
31266
|
Pt("eventOrder", O.none)
|
|
31267
31267
|
],
|
|
31268
31268
|
factory: Kk,
|
|
@@ -33078,7 +33078,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33078
33078
|
k0,
|
|
33079
33079
|
O3
|
|
33080
33080
|
])), A7 = (t) => ka("ToggleButton", Tx, t), D0 = [
|
|
33081
|
-
Ir("predicate",
|
|
33081
|
+
Ir("predicate", me),
|
|
33082
33082
|
Qc("scope", "node", [
|
|
33083
33083
|
"node",
|
|
33084
33084
|
"editor"
|
|
@@ -34094,7 +34094,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
34094
34094
|
const c = LG(t, a), m = a.colorinput.getColorCols(t.initData.storageKey), b = "color", E = {
|
|
34095
34095
|
...cN(uo("menu-value"), c, (M) => {
|
|
34096
34096
|
t.onAction({ value: M });
|
|
34097
|
-
}, m, b, qf.CLOSE_ON_EXECUTE, t.select.getOr(
|
|
34097
|
+
}, m, b, qf.CLOSE_ON_EXECUTE, t.select.getOr(me), a.shared.providers),
|
|
34098
34098
|
markers: T0(b),
|
|
34099
34099
|
movement: z3(m, b),
|
|
34100
34100
|
showMenuRole: !1
|
|
@@ -34514,7 +34514,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
34514
34514
|
}),
|
|
34515
34515
|
su.config({
|
|
34516
34516
|
channels: {
|
|
34517
|
-
...$u({ isExtraPart:
|
|
34517
|
+
...$u({ isExtraPart: me }),
|
|
34518
34518
|
...Hp({ doReposition: IB })
|
|
34519
34519
|
}
|
|
34520
34520
|
})
|
|
@@ -34973,7 +34973,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
34973
34973
|
},
|
|
34974
34974
|
cut: F,
|
|
34975
34975
|
isStopped: a.get,
|
|
34976
|
-
isCut:
|
|
34976
|
+
isCut: me,
|
|
34977
34977
|
event: t,
|
|
34978
34978
|
setSource: le("Cannot set source of a broadcasted event"),
|
|
34979
34979
|
getSource: le("Cannot get source of a broadcasted event")
|
|
@@ -34988,7 +34988,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
34988
34988
|
const z = B.descHandler;
|
|
34989
34989
|
return Yy(z)(M), M.isStopped() ? (x.logEventStopped(a, B.element, z.purpose), Vx.stopped()) : M.isCut() ? (x.logEventCut(a, B.element, z.purpose), Vx.complete()) : xa(B.element).fold(() => (x.logNoParent(a, B.element, z.purpose), Vx.complete()), (se) => (x.logEventResponse(a, B.element, z.purpose), Vx.resume(se)));
|
|
34990
34990
|
});
|
|
34991
|
-
}, zx = (t, a, c, m, b, x) => jB(t, a, c, m, b, x).fold(ve, (E) => zx(t, a, c, E, b, x),
|
|
34991
|
+
}, zx = (t, a, c, m, b, x) => jB(t, a, c, m, b, x).fold(ve, (E) => zx(t, a, c, E, b, x), me), Cq = (t, a, c, m, b) => {
|
|
34992
34992
|
const x = UB(c, m);
|
|
34993
34993
|
return jB(t, a, c, m, x, b);
|
|
34994
34994
|
}, vN = (t, a, c) => {
|
|
@@ -35526,7 +35526,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
35526
35526
|
lazySink: a.getSink,
|
|
35527
35527
|
fetch: (c) => xc.nu((m) => t.fetch(m)).map((m) => O.from(hN(Jr(cN(uo("menu-value"), m, (b) => {
|
|
35528
35528
|
t.onItemAction(c, b);
|
|
35529
|
-
}, t.columns, t.presets, qf.CLOSE_ON_EXECUTE,
|
|
35529
|
+
}, t.columns, t.presets, qf.CLOSE_ON_EXECUTE, me, a.providers), { movement: z3(t.columns, t.presets) })))),
|
|
35530
35530
|
parts: { menu: T3(!1, 1, t.presets) }
|
|
35531
35531
|
}), _N = uo("color-input-change"), sF = uo("color-swatch-change"), rF = uo("color-picker-cancel"), Nq = (t, a, c, m) => {
|
|
35532
35532
|
const b = Is.parts.field({
|
|
@@ -36907,7 +36907,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
36907
36907
|
}, Qx = (t) => Fg(t, [
|
|
36908
36908
|
"." + o6,
|
|
36909
36909
|
"." + hA
|
|
36910
|
-
].join(","),
|
|
36910
|
+
].join(","), me), e_ = uo("update-dialog"), tL = uo("update-title"), nL = uo("update-body"), oL = uo("update-footer"), a6 = uo("body-send-message"), t_ = uo("dialog-focus-shifted"), i6 = Ea().browser, n_ = i6.isSafari(), EY = i6.isFirefox(), sL = n_ || EY, rL = i6.isChromium(), TY = ({ scrollTop: t, scrollHeight: a, clientHeight: c }) => Math.ceil(t) + c >= a, l6 = (t, a) => t.scrollTo(0, a === "bottom" ? 99999999 : a), kY = (t, a) => {
|
|
36911
36911
|
const c = t.body;
|
|
36912
36912
|
return O.from(!/^<!DOCTYPE (html|HTML)/.test(a) && (!rL && !n_ || G(c) && (c.scrollTop !== 0 || Math.abs(c.scrollHeight - c.clientHeight) > 1)) ? c : t.documentElement);
|
|
36913
36913
|
}, aL = (t, a, c) => {
|
|
@@ -39673,7 +39673,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
39673
39673
|
c[a] = [t].concat(b).slice(0, h_), QK(c);
|
|
39674
39674
|
}, u9 = (t) => !!t, tX = (t) => Ft(r1.makeMap(t, /[, ]/), u9), eM = (t) => O.from(w8(t)), nX = (t) => {
|
|
39675
39675
|
const a = O.from(S8(t)).filter(u9).map(tX);
|
|
39676
|
-
return eM(t).fold(
|
|
39676
|
+
return eM(t).fold(me, (c) => a.fold(ve, (m) => Rn(m).length > 0 ? m : !1));
|
|
39677
39677
|
}, oX = (t, a) => {
|
|
39678
39678
|
const c = nX(t);
|
|
39679
39679
|
return R(c) ? c ? eM(t) : O.none() : c[a] ? eM(t) : O.none();
|
|
@@ -39904,7 +39904,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
39904
39904
|
t.setGroups(a, c);
|
|
39905
39905
|
}
|
|
39906
39906
|
}
|
|
39907
|
-
}), gX = F, eae =
|
|
39907
|
+
}), gX = F, eae = me, m9 = q([]);
|
|
39908
39908
|
var g9 = /* @__PURE__ */ Object.freeze({
|
|
39909
39909
|
__proto__: null,
|
|
39910
39910
|
setup: gX,
|
|
@@ -40618,7 +40618,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
40618
40618
|
su.config({
|
|
40619
40619
|
channels: {
|
|
40620
40620
|
...$u({
|
|
40621
|
-
isExtraPart:
|
|
40621
|
+
isExtraPart: me,
|
|
40622
40622
|
...c.fireDismissalEventInstead.map((E) => ({ fireEventInstead: { event: E.event } })).getOr({})
|
|
40623
40623
|
}),
|
|
40624
40624
|
...Hp({
|
|
@@ -41960,7 +41960,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
41960
41960
|
updateText: E,
|
|
41961
41961
|
dataset: M,
|
|
41962
41962
|
shouldHide: !1,
|
|
41963
|
-
isInvalid:
|
|
41963
|
+
isInvalid: me
|
|
41964
41964
|
};
|
|
41965
41965
|
}, bH = (t, a) => A_(t, a, QA(t), pH, "FontFamilyTextUpdate", "fontfamily"), Bv = (t, a) => {
|
|
41966
41966
|
const c = Pv(a, QA(t));
|
|
@@ -42226,7 +42226,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
42226
42226
|
updateText: E,
|
|
42227
42227
|
dataset: M,
|
|
42228
42228
|
shouldHide: !1,
|
|
42229
|
-
isInvalid:
|
|
42229
|
+
isInvalid: me
|
|
42230
42230
|
};
|
|
42231
42231
|
}, WJ = (t, a) => A_(t, a, SH(t), kM, "FontSizeTextUpdate", "fontsize"), ZJ = (t) => {
|
|
42232
42232
|
var a;
|
|
@@ -42614,7 +42614,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
42614
42614
|
onSetup: t.onSetup
|
|
42615
42615
|
}, a, m), sQ = (t, a, c) => (m) => xc.nu((b) => a.fetch(b)).map((b) => O.from(hN(Jr(cN(uo("menu-value"), b, (x) => {
|
|
42616
42616
|
a.onItemAction(t(m), x);
|
|
42617
|
-
}, a.columns, a.presets, qf.CLOSE_ON_EXECUTE, a.select.getOr(
|
|
42617
|
+
}, a.columns, a.presets, qf.CLOSE_ON_EXECUTE, a.select.getOr(me), c), {
|
|
42618
42618
|
movement: z3(a.columns, a.presets),
|
|
42619
42619
|
menuBehaviours: r2.unnamedEvents(a.columns !== "auto" ? [] : [Pr((x, E) => {
|
|
42620
42620
|
P5(x, 4, y5(a.presets)).each(({ numRows: M, numColumns: B }) => {
|
|
@@ -42705,7 +42705,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
42705
42705
|
toggleClass: "tox-tbtn--enabled",
|
|
42706
42706
|
toggleOnExecute: !1
|
|
42707
42707
|
}),
|
|
42708
|
-
Xf.toolbarButton(
|
|
42708
|
+
Xf.toolbarButton(me),
|
|
42709
42709
|
vi(q({
|
|
42710
42710
|
contextType: "any",
|
|
42711
42711
|
shouldDisable: !1
|
|
@@ -42721,7 +42721,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
42721
42721
|
innerHtml: m5("chevron-down", a.providers.icons)
|
|
42722
42722
|
},
|
|
42723
42723
|
buttonBehaviours: Bn([
|
|
42724
|
-
Xf.splitButton(
|
|
42724
|
+
Xf.splitButton(me),
|
|
42725
42725
|
vi(q({
|
|
42726
42726
|
contextType: "any",
|
|
42727
42727
|
shouldDisable: !1
|
|
@@ -44551,7 +44551,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
44551
44551
|
return {
|
|
44552
44552
|
type: "menuitem",
|
|
44553
44553
|
...a(c),
|
|
44554
|
-
onAction:
|
|
44554
|
+
onAction: fe(c.onAction)
|
|
44555
44555
|
};
|
|
44556
44556
|
}
|
|
44557
44557
|
}, WM = (t, a) => {
|
|
@@ -44762,7 +44762,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
44762
44762
|
Pt("mustSnap", !1)
|
|
44763
44763
|
]);
|
|
44764
44764
|
const QM = [
|
|
44765
|
-
Pt("useFixed",
|
|
44765
|
+
Pt("useFixed", me),
|
|
44766
44766
|
bn("blockerClass"),
|
|
44767
44767
|
Pt("getTarget", Ee),
|
|
44768
44768
|
Pt("onDrag", F),
|
|
@@ -47542,7 +47542,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
47542
47542
|
const y = typeof g;
|
|
47543
47543
|
return g === null ? "null" : y === "object" && Array.isArray(g) ? "array" : y === "object" && s(g, String, (T, D) => D.isPrototypeOf(T)) ? "string" : y;
|
|
47544
47544
|
}, u = (g) => (y) => i(y) === g, f = (g) => (y) => typeof y === g, h = (g) => (y) => g === y, v = u("string"), w = u("object"), C = u("array"), _ = h(null), A = f("boolean"), $ = h(void 0), R = (g) => g == null, I = (g) => !R(g), W = f("function"), G = f("number"), X = () => {
|
|
47545
|
-
}, Z = (g, y) => (...T) => g(y.apply(null, T)), j = (g, y) => (T) => g(y(T)), F = (g) => () => g,
|
|
47545
|
+
}, Z = (g, y) => (...T) => g(y.apply(null, T)), j = (g, y) => (T) => g(y(T)), F = (g) => () => g, fe = (g) => g, Ke = (g, y) => g === y;
|
|
47546
47546
|
function Re(g, ...y) {
|
|
47547
47547
|
return (...T) => {
|
|
47548
47548
|
const D = y.concat(T);
|
|
@@ -47623,7 +47623,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
47623
47623
|
}
|
|
47624
47624
|
}
|
|
47625
47625
|
le.singletonNone = new le(!1);
|
|
47626
|
-
const Rt = Array.prototype.slice,
|
|
47626
|
+
const Rt = Array.prototype.slice, me = Array.prototype.indexOf, ve = Array.prototype.push, O = (g, y) => me.call(g, y), _e = (g, y) => O(g, y) > -1, ie = (g, y) => {
|
|
47627
47627
|
for (let T = 0, D = g.length; T < D; T++) {
|
|
47628
47628
|
const V = g[T];
|
|
47629
47629
|
if (y(V, T))
|
|
@@ -47753,7 +47753,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
47753
47753
|
return Qe(g, (D, V) => {
|
|
47754
47754
|
T.push(y(D, V));
|
|
47755
47755
|
}), T;
|
|
47756
|
-
}, Rn = (g) => _n(g,
|
|
47756
|
+
}, Rn = (g) => _n(g, fe), No = (g, y) => lo(g, y) ? le.from(g[y]) : le.none(), lo = (g, y) => yt.call(g, y), Ft = (g, y) => lo(g, y) && g[y] !== void 0 && g[y] !== null, vn = (g) => {
|
|
47757
47757
|
for (const y in g)
|
|
47758
47758
|
if (yt.call(g, y))
|
|
47759
47759
|
return !1;
|
|
@@ -48450,13 +48450,13 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
48450
48450
|
hasColumns: (g) => Fe(g.columns).length > 0,
|
|
48451
48451
|
getColumnAt: (g, y) => le.from(g.columns[y])
|
|
48452
48452
|
}, Pf = (g, y = we) => {
|
|
48453
|
-
const T = g.grid, D = Ve(T.columns,
|
|
48453
|
+
const T = g.grid, D = Ve(T.columns, fe), V = Ve(T.rows, fe);
|
|
48454
48454
|
return Ge(D, (J) => dh(() => _t(V, (ft) => Ns.getAt(g, ft, J).filter((Ut) => Ut.column === J).toArray()), (ft) => ft.colspan === 1 && y(ft.element), () => Ns.getAt(g, 0, J)));
|
|
48455
48455
|
}, dh = (g, y, T) => {
|
|
48456
48456
|
const D = g();
|
|
48457
48457
|
return ne(D, y).orThunk(() => le.from(D[0]).orThunk(T)).map((he) => he.element);
|
|
48458
48458
|
}, H = (g) => {
|
|
48459
|
-
const y = g.grid, T = Ve(y.rows,
|
|
48459
|
+
const y = g.grid, T = Ve(y.rows, fe), D = Ve(y.columns, fe);
|
|
48460
48460
|
return Ge(T, (V) => dh(() => _t(D, (Me) => Ns.getAt(g, V, Me).filter((ft) => ft.row === V).fold(F([]), (ft) => [ft])), (Me) => Me.rowspan === 1, () => Ns.getAt(g, V, 0)));
|
|
48461
48461
|
}, te = (g, y) => {
|
|
48462
48462
|
if (y < 0 || y >= g.length - 1)
|
|
@@ -48515,11 +48515,11 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
48515
48515
|
const D = Ge(T.slice(1), (J, he) => J.map(($e) => g(he, $e))), V = T[T.length - 1].map((J) => y(T.length - 1, J));
|
|
48516
48516
|
return D.concat([V]);
|
|
48517
48517
|
}, Cb = (g) => -g, ul = {
|
|
48518
|
-
delta:
|
|
48518
|
+
delta: fe,
|
|
48519
48519
|
positions: (g) => gi(cl, k1, g),
|
|
48520
48520
|
edge: T1
|
|
48521
48521
|
}, mg = ye({
|
|
48522
|
-
delta:
|
|
48522
|
+
delta: fe,
|
|
48523
48523
|
edge: ll,
|
|
48524
48524
|
positions: (g) => gi(E1, ky, g)
|
|
48525
48525
|
}, {
|
|
@@ -48615,7 +48615,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
48615
48615
|
if (dp(Ut))
|
|
48616
48616
|
return T(Ut);
|
|
48617
48617
|
{
|
|
48618
|
-
const Dn = wu(V[ft],
|
|
48618
|
+
const Dn = wu(V[ft], fe);
|
|
48619
48619
|
return Ba(Dn, ft, he, $e, (so) => D(le.some(Rl(so))), D);
|
|
48620
48620
|
}
|
|
48621
48621
|
}, D));
|
|
@@ -48659,7 +48659,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
48659
48659
|
width: y,
|
|
48660
48660
|
pixelWidth: y,
|
|
48661
48661
|
getWidths: (he, $e) => Jc(he, g, $e),
|
|
48662
|
-
getCellDelta:
|
|
48662
|
+
getCellDelta: fe,
|
|
48663
48663
|
singleColumnWidth: (he, $e) => [Math.max(Su(), he + $e) - he],
|
|
48664
48664
|
minCellWidth: Su,
|
|
48665
48665
|
setElementWidth: ju,
|
|
@@ -49142,7 +49142,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
49142
49142
|
}))))), Gu = (g, y, T, D, V) => bC(g, V).bind((J) => N$(J, y, T).bind((he) => Sd(he, D))), Bn = (g, y) => Sg(g, y), ME = (g, y, T) => yC(g, y, T).bind((D) => {
|
|
49143
49143
|
const V = (Me) => an(g, Me), J = "thead,tfoot,tbody,table", he = da(D.first, J, V), $e = da(D.last, J, V);
|
|
49144
49144
|
return he.bind((Me) => $e.bind((ft) => an(Me, ft) ? Ch(D.table, D.first, D.last) : le.none()));
|
|
49145
|
-
}), oi =
|
|
49145
|
+
}), oi = fe, RE = (g) => {
|
|
49146
49146
|
const y = (D, V) => at(D, V).exists((J) => parseInt(J, 10) > 1), T = (D) => y(D, "rowspan") || y(D, "colspan");
|
|
49147
49147
|
return g.length > 0 && qt(g, T) ? le.some(g) : le.none();
|
|
49148
49148
|
}, IE = (g, y, T) => y.length <= 1 ? le.none() : ME(g, T.firstSelectedSelector, T.lastSelectedSelector).map((D) => ({
|
|
@@ -49360,7 +49360,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
49360
49360
|
sectionCells: Wy,
|
|
49361
49361
|
cells: xm,
|
|
49362
49362
|
fallback: () => ({
|
|
49363
|
-
transformRow:
|
|
49363
|
+
transformRow: fe,
|
|
49364
49364
|
transformCell: Sp
|
|
49365
49365
|
})
|
|
49366
49366
|
}, H1 = (g, y, T, D) => {
|
|
@@ -49569,8 +49569,8 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
49569
49569
|
bind: y,
|
|
49570
49570
|
exists: je,
|
|
49571
49571
|
forall: we,
|
|
49572
|
-
getOr:
|
|
49573
|
-
or:
|
|
49572
|
+
getOr: fe,
|
|
49573
|
+
or: fe,
|
|
49574
49574
|
getOrThunk: et,
|
|
49575
49575
|
orThunk: et,
|
|
49576
49576
|
getOrDie: Ee(String(g)),
|
|
@@ -49608,7 +49608,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
49608
49608
|
}, j1 = (g, y, T, D) => {
|
|
49609
49609
|
const V = g[g.length - 1];
|
|
49610
49610
|
return g.concat(Ve(y, () => {
|
|
49611
|
-
const J = V.section === "colgroup" ? T.colgroup : T.row, he = xl(V, J,
|
|
49611
|
+
const J = V.section === "colgroup" ? T.colgroup : T.row, he = xl(V, J, fe), $e = Vf(he.cells.length, he, T, (Me) => lo(D, Me.toString()));
|
|
49612
49612
|
return Pa(he, $e);
|
|
49613
49613
|
}));
|
|
49614
49614
|
}, Ks = (g, y, T, D) => Ge(g, (V) => {
|
|
@@ -49618,7 +49618,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
49618
49618
|
const he = Vf(1, D, y, we)[0];
|
|
49619
49619
|
return lp(V, J, he);
|
|
49620
49620
|
}, D)), Yu = (g, y, T) => {
|
|
49621
|
-
const D = y.colDelta < 0 ? Ks :
|
|
49621
|
+
const D = y.colDelta < 0 ? Ks : fe, V = y.rowDelta < 0 ? j1 : fe, J = Xr(g), he = fc(g[0]), $e = ie(J, (Ut) => Ut === he - 1), Me = D(g, Math.abs(y.colDelta), T, $e ? he - 1 : he), ft = Xr(Me);
|
|
49622
49622
|
return V(Me, Math.abs(y.rowDelta), T, ee(ft, we));
|
|
49623
49623
|
}, kC = (g, y, T, D) => {
|
|
49624
49624
|
const V = Kl(g[y], T), J = Re(D, V.element), he = g[y];
|
|
@@ -49702,7 +49702,7 @@ The conflicting element is` + (nt(se.element) ? " " : " not ") + "already in the
|
|
|
49702
49702
|
...D.slice(0, y),
|
|
49703
49703
|
...D.slice(T + 1)
|
|
49704
49704
|
];
|
|
49705
|
-
}, z$ = (g, y, T, D) => Il(g[y], T) !== void 0 && y > 0 && D(Il(g[y - 1], T), Il(g[y], T)), zb = (g, y, T) => y > 0 && T(Il(g, y - 1), Il(g, y)), uo = (g, y, T, D) => z$(g, y, T, D) || zb(g[y], T, D), U$ = (g, y) => qt(y,
|
|
49705
|
+
}, z$ = (g, y, T, D) => Il(g[y], T) !== void 0 && y > 0 && D(Il(g[y - 1], T), Il(g[y], T)), zb = (g, y, T) => y > 0 && T(Il(g, y - 1), Il(g, y)), uo = (g, y, T, D) => z$(g, y, T, D) || zb(g[y], T, D), U$ = (g, y) => qt(y, fe) && jy(g.cells) ? we : (D, V, J) => !(Bs(D.element) === "th" && y[J]), j$ = (g, y) => qt(y, fe) && jy(g) ? we : (D, V, J) => !(Bs(D.element) === "th" && y[V]), $C = (g, y, T, D) => {
|
|
49706
49706
|
const V = (he) => he === "row" ? di(y) : va(y), J = (he) => V(he) ? `${he}group` : he;
|
|
49707
49707
|
return g ? L1(y) ? J(T) : null : D && L1(y) ? J(T === "row" ? "col" : "row") : null;
|
|
49708
49708
|
}, JE = (g, y) => (T, D, V) => le.some($C(g, T.element, "col", y[V])), W$ = (g, y) => (T, D) => le.some($C(g, T.element, "row", y[D])), Ub = (g, y, T) => ua(T(g.element, y), !0, g.isLocked), Tp = (g, y, T, D, V, J, he) => {
|
|
@@ -50267,7 +50267,7 @@ Required: ` + y.join(", "));
|
|
|
50267
50267
|
}, qC = (g, y, T) => g.fold(() => y, (D) => Td(y, T, D), (D) => Zi(y, T)), cw = (g, y, T) => {
|
|
50268
50268
|
const D = km.from(T), V = qt(g, (J) => J === "0px") ? yc(D, g.length) : qC(D, g, y);
|
|
50269
50269
|
return kT(V);
|
|
50270
|
-
}, YC = (g, y) => g.length === 0 ? y : pt(g, (T, D) => km.from(D).fold(F(0),
|
|
50270
|
+
}, YC = (g, y) => g.length === 0 ? y : pt(g, (T, D) => km.from(D).fold(F(0), fe, fe) + T, 0), TT = (g, y) => {
|
|
50271
50271
|
const T = Math.floor(g);
|
|
50272
50272
|
return {
|
|
50273
50273
|
value: T + y,
|
|
@@ -50542,7 +50542,7 @@ Required: ` + y.join(", "));
|
|
|
50542
50542
|
]
|
|
50543
50543
|
},
|
|
50544
50544
|
{ after: ["element"] }
|
|
50545
|
-
]), Am = (g, y, T, D) => g.fold(y, T, D), vw = (g) => g.fold(
|
|
50545
|
+
]), Am = (g, y, T, D) => g.fold(y, T, D), vw = (g) => g.fold(fe, fe, fe), _O = rS.before, Rh = rS.on, bw = rS.after, jc = {
|
|
50546
50546
|
before: _O,
|
|
50547
50547
|
on: Rh,
|
|
50548
50548
|
after: bw,
|
|
@@ -52334,7 +52334,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52334
52334
|
}
|
|
52335
52335
|
}
|
|
52336
52336
|
j.singletonNone = new j(!1);
|
|
52337
|
-
const F = Array.prototype.indexOf,
|
|
52337
|
+
const F = Array.prototype.indexOf, fe = (ge, xe) => F.call(ge, xe), Ke = (ge, xe) => fe(ge, xe) > -1, Re = (ge, xe) => {
|
|
52338
52338
|
const ut = ge.length, rn = new Array(ut);
|
|
52339
52339
|
for (let qn = 0; qn < ut; qn++) {
|
|
52340
52340
|
const re = ge[qn];
|
|
@@ -52363,7 +52363,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52363
52363
|
}
|
|
52364
52364
|
};
|
|
52365
52365
|
typeof window < "u" || Function("return this;")();
|
|
52366
|
-
const le = 8, Rt = 9,
|
|
52366
|
+
const le = 8, Rt = 9, me = 11, ve = 1, O = 3, _e = (ge) => ge.dom.nodeName.toLowerCase(), ie = (ge) => ge.dom.nodeType, Ve = (ge) => (xe) => ie(xe) === ge, Ge = (ge) => ie(ge) === le || _e(ge) === "#comment", de = Ve(ve), Ue = Ve(O), Ct = Ve(Rt), He = Ve(me), pt = (ge, xe, ut) => {
|
|
52367
52367
|
if (C(ut) || _(ut) || I(ut))
|
|
52368
52368
|
ge.setAttribute(xe, ut + "");
|
|
52369
52369
|
else
|
|
@@ -52419,7 +52419,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52419
52419
|
return rn.mozMatchesSelector(xe);
|
|
52420
52420
|
throw new Error("Browser lacks native selectors");
|
|
52421
52421
|
}
|
|
52422
|
-
}, Be = (ge) => ge.nodeType !== ve && ge.nodeType !== Rt && ge.nodeType !==
|
|
52422
|
+
}, Be = (ge) => ge.nodeType !== ve && ge.nodeType !== Rt && ge.nodeType !== me || ge.childElementCount === 0, Fe = (ge, xe) => {
|
|
52423
52423
|
const ut = xe === void 0 ? document : xe.dom;
|
|
52424
52424
|
return Be(ut) ? [] : Re(ut.querySelectorAll(ge), K.fromDom);
|
|
52425
52425
|
}, yt = (ge, xe) => {
|
|
@@ -52971,7 +52971,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52971
52971
|
}), Ct;
|
|
52972
52972
|
};
|
|
52973
52973
|
var j = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
52974
|
-
const F = (de) => /\btox\-/.test(de.className),
|
|
52974
|
+
const F = (de) => /\btox\-/.test(de.className), fe = (de, Ue) => de.dom.isChildOf(Ue, de.getBody()), Ke = (de) => (Ue) => C(Ue) && de.test(Ue.nodeName), Re = Ke(/^(OL|UL|DL)$/), q = Ke(/^(TH|TD)$/), Ee = (de, Ue, Ct) => I(Ue, (He) => Re(He) && !F(He), q).exists((He) => He.nodeName === Ct && fe(de, He)), et = (de) => {
|
|
52975
52975
|
const Ue = de.dom.getParent(de.selection.getNode(), "ol,ul"), Ct = de.dom.getStyle(Ue, "listStyleType");
|
|
52976
52976
|
return _.from(Ct);
|
|
52977
52977
|
}, je = (de, Ue) => Ue !== null && !de.dom.isEditable(Ue), we = (de, Ue) => {
|
|
@@ -52983,7 +52983,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52983
52983
|
parents: de.dom.getParents(Ct),
|
|
52984
52984
|
element: Ct
|
|
52985
52985
|
}), de.on("NodeChange", Ue), () => de.off("NodeChange", Ue);
|
|
52986
|
-
}, Rt = (de) => de.replace(/\-/g, " ").replace(/\b\w/g, (Ue) => Ue.toUpperCase()),
|
|
52986
|
+
}, Rt = (de) => de.replace(/\-/g, " ").replace(/\b\w/g, (Ue) => Ue.toUpperCase()), me = (de) => w(de) || de === "default" ? "" : de, ve = (de, Ue) => (Ct) => {
|
|
52987
52987
|
const He = (Pe, gt) => {
|
|
52988
52988
|
const ne = Pe.selection.getStart(!0);
|
|
52989
52989
|
Ct.setActive(Ee(Pe, gt, Ue)), Ct.setEnabled(!we(Pe, ne));
|
|
@@ -53003,7 +53003,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53003
53003
|
columns: 3,
|
|
53004
53004
|
fetch: (yn) => {
|
|
53005
53005
|
const vt = j.map(Pe, (_t) => {
|
|
53006
|
-
const qt = pt === "OL" ? "num" : "bull", Tt = _t === "disc" || _t === "decimal" ? "default" : _t, ee =
|
|
53006
|
+
const qt = pt === "OL" ? "num" : "bull", Tt = _t === "disc" || _t === "decimal" ? "default" : _t, ee = me(_t), ae = Rt(_t);
|
|
53007
53007
|
return {
|
|
53008
53008
|
type: "choiceitem",
|
|
53009
53009
|
value: ee,
|
|
@@ -53029,7 +53029,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53029
53029
|
onAction: () => de.queryCommandState(He) || Pe === "" ? de.execCommand(He) : s(de, pt, Pe)
|
|
53030
53030
|
});
|
|
53031
53031
|
}, ie = (de, Ue, Ct, He, pt, Pe) => {
|
|
53032
|
-
Pe.length > 1 ? O(de, Ue, Ct, He, pt, Pe) : _e(de, Ue, Ct, He, pt,
|
|
53032
|
+
Pe.length > 1 ? O(de, Ue, Ct, He, pt, Pe) : _e(de, Ue, Ct, He, pt, me(Pe[0]));
|
|
53033
53033
|
}, Ve = (de) => {
|
|
53034
53034
|
ie(de, "numlist", "Numbered list", "InsertOrderedList", "OL", h(de)), ie(de, "bullist", "Bullet list", "InsertUnorderedList", "UL", v(de));
|
|
53035
53035
|
};
|
|
@@ -53042,34 +53042,34 @@ tinymce.addI18n("zh_CN", {
|
|
|
53042
53042
|
})();
|
|
53043
53043
|
(function() {
|
|
53044
53044
|
var o = tinymce.util.Tools.resolve("tinymce.PluginManager"), s = tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"), i = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
53045
|
-
const u = (
|
|
53046
|
-
const ve =
|
|
53045
|
+
const u = (me) => (ve) => ve.options.get(me), f = (me) => {
|
|
53046
|
+
const ve = me.options.register;
|
|
53047
53047
|
ve("allow_html_in_named_anchor", {
|
|
53048
53048
|
processor: "boolean",
|
|
53049
53049
|
default: !1
|
|
53050
53050
|
});
|
|
53051
|
-
}, h = u("allow_html_in_named_anchor"), v = "a:not([href])", w = (
|
|
53052
|
-
const ve =
|
|
53053
|
-
s(ve).walk(
|
|
53051
|
+
}, h = u("allow_html_in_named_anchor"), v = "a:not([href])", w = (me) => !me, C = (me) => me.getAttribute("id") || me.getAttribute("name") || "", _ = (me) => me.nodeName.toLowerCase() === "a", A = (me) => _(me) && !me.getAttribute("href") && C(me) !== "", $ = (me) => A(me) && !me.firstChild, R = (me) => {
|
|
53052
|
+
const ve = me.dom;
|
|
53053
|
+
s(ve).walk(me.selection.getRng(), (O) => {
|
|
53054
53054
|
i.each(O, (_e) => {
|
|
53055
53055
|
$(_e) && ve.remove(_e, !1);
|
|
53056
53056
|
});
|
|
53057
53057
|
});
|
|
53058
|
-
}, I = (
|
|
53059
|
-
const ve = W(
|
|
53058
|
+
}, I = (me) => /^[A-Za-z][A-Za-z0-9\-:._]*$/.test(me), W = (me) => me.dom.getParent(me.selection.getStart(), v), G = (me) => {
|
|
53059
|
+
const ve = W(me);
|
|
53060
53060
|
return ve ? C(ve) : "";
|
|
53061
|
-
}, X = (
|
|
53062
|
-
|
|
53063
|
-
h(
|
|
53064
|
-
});
|
|
53065
|
-
}, Z = (
|
|
53066
|
-
O.removeAttribute("name"), O.id = ve,
|
|
53067
|
-
}, j = (
|
|
53068
|
-
const O = W(
|
|
53069
|
-
O ? Z(
|
|
53070
|
-
}, F = (
|
|
53071
|
-
const ve = G(
|
|
53072
|
-
|
|
53061
|
+
}, X = (me, ve) => {
|
|
53062
|
+
me.undoManager.transact(() => {
|
|
53063
|
+
h(me) || me.selection.collapse(!0), me.selection.isCollapsed() ? me.insertContent(me.dom.createHTML("a", { id: ve })) : (R(me), me.formatter.remove("namedAnchor", void 0, void 0, !0), me.formatter.apply("namedAnchor", { value: ve }), me.addVisual());
|
|
53064
|
+
});
|
|
53065
|
+
}, Z = (me, ve, O) => {
|
|
53066
|
+
O.removeAttribute("name"), O.id = ve, me.addVisual(), me.undoManager.add();
|
|
53067
|
+
}, j = (me, ve) => {
|
|
53068
|
+
const O = W(me);
|
|
53069
|
+
O ? Z(me, ve, O) : X(me, ve), me.focus();
|
|
53070
|
+
}, F = (me, ve) => I(ve) ? (j(me, ve), !0) : (me.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."), !1), fe = (me) => {
|
|
53071
|
+
const ve = G(me);
|
|
53072
|
+
me.windowManager.open({
|
|
53073
53073
|
title: "Anchor",
|
|
53074
53074
|
size: "normal",
|
|
53075
53075
|
body: {
|
|
@@ -53096,24 +53096,24 @@ tinymce.addI18n("zh_CN", {
|
|
|
53096
53096
|
],
|
|
53097
53097
|
initialData: { id: ve },
|
|
53098
53098
|
onSubmit: (O) => {
|
|
53099
|
-
F(
|
|
53099
|
+
F(me, O.getData().id) && O.close();
|
|
53100
53100
|
}
|
|
53101
53101
|
});
|
|
53102
|
-
}, Ke = (
|
|
53103
|
-
|
|
53104
|
-
me
|
|
53102
|
+
}, Ke = (me) => {
|
|
53103
|
+
me.addCommand("mceAnchor", () => {
|
|
53104
|
+
fe(me);
|
|
53105
53105
|
});
|
|
53106
|
-
}, Re = (
|
|
53106
|
+
}, Re = (me) => w(me.attr("href")) && !w(me.attr("id") || me.attr("name")), q = (me) => Re(me) && !me.firstChild, Ee = (me) => (ve) => {
|
|
53107
53107
|
for (let O = 0; O < ve.length; O++) {
|
|
53108
53108
|
const _e = ve[O];
|
|
53109
|
-
q(_e) && _e.attr("contenteditable",
|
|
53109
|
+
q(_e) && _e.attr("contenteditable", me);
|
|
53110
53110
|
}
|
|
53111
|
-
}, et = (
|
|
53112
|
-
|
|
53113
|
-
|
|
53111
|
+
}, et = (me) => {
|
|
53112
|
+
me.on("PreInit", () => {
|
|
53113
|
+
me.parser.addNodeFilter("a", Ee("false")), me.serializer.addNodeFilter("a", Ee(null));
|
|
53114
53114
|
});
|
|
53115
|
-
}, je = (
|
|
53116
|
-
|
|
53115
|
+
}, je = (me) => {
|
|
53116
|
+
me.formatter.register("namedAnchor", {
|
|
53117
53117
|
inline: "a",
|
|
53118
53118
|
selector: v,
|
|
53119
53119
|
remove: "all",
|
|
@@ -53122,36 +53122,36 @@ tinymce.addI18n("zh_CN", {
|
|
|
53122
53122
|
attributes: { id: "%value" },
|
|
53123
53123
|
onmatch: (ve, O, _e) => A(ve)
|
|
53124
53124
|
});
|
|
53125
|
-
}, we = (
|
|
53125
|
+
}, we = (me) => (ve) => {
|
|
53126
53126
|
const O = () => {
|
|
53127
|
-
ve.setEnabled(
|
|
53127
|
+
ve.setEnabled(me.selection.isEditable());
|
|
53128
53128
|
};
|
|
53129
|
-
return
|
|
53130
|
-
|
|
53129
|
+
return me.on("NodeChange", O), O(), () => {
|
|
53130
|
+
me.off("NodeChange", O);
|
|
53131
53131
|
};
|
|
53132
|
-
}, le = (
|
|
53133
|
-
const ve = () =>
|
|
53134
|
-
|
|
53132
|
+
}, le = (me) => {
|
|
53133
|
+
const ve = () => me.execCommand("mceAnchor");
|
|
53134
|
+
me.ui.registry.addToggleButton("anchor", {
|
|
53135
53135
|
icon: "bookmark",
|
|
53136
53136
|
tooltip: "Anchor",
|
|
53137
53137
|
onAction: ve,
|
|
53138
53138
|
onSetup: (O) => {
|
|
53139
|
-
const _e =
|
|
53139
|
+
const _e = me.selection.selectorChangedWithUnbind("a:not([href])", O.setActive).unbind, ie = we(me)(O);
|
|
53140
53140
|
return () => {
|
|
53141
53141
|
_e(), ie();
|
|
53142
53142
|
};
|
|
53143
53143
|
}
|
|
53144
|
-
}),
|
|
53144
|
+
}), me.ui.registry.addMenuItem("anchor", {
|
|
53145
53145
|
icon: "bookmark",
|
|
53146
53146
|
text: "Anchor...",
|
|
53147
53147
|
onAction: ve,
|
|
53148
|
-
onSetup: we(
|
|
53148
|
+
onSetup: we(me)
|
|
53149
53149
|
});
|
|
53150
53150
|
};
|
|
53151
53151
|
var Rt = () => {
|
|
53152
|
-
o.add("anchor", (
|
|
53153
|
-
f(
|
|
53154
|
-
je(
|
|
53152
|
+
o.add("anchor", (me) => {
|
|
53153
|
+
f(me), et(me), Ke(me), le(me), me.on("PreInit", () => {
|
|
53154
|
+
je(me);
|
|
53155
53155
|
});
|
|
53156
53156
|
});
|
|
53157
53157
|
};
|
|
@@ -53174,12 +53174,12 @@ tinymce.addI18n("zh_CN", {
|
|
|
53174
53174
|
}, _ = (He) => {
|
|
53175
53175
|
const pt = typeof He;
|
|
53176
53176
|
return He === null ? "null" : pt === "object" && Array.isArray(He) ? "array" : pt === "object" && C(He, String, (Pe, gt) => gt.isPrototypeOf(Pe)) ? "string" : pt;
|
|
53177
|
-
}, A = (He) => (pt) => _(pt) === He, $ = (He) => (pt) => He === pt, R = A("string"), I = $(void 0), W = (He) => He == null, G = (He) => !W(He), X = (He) => (pt) => !He(pt), Z = Object.hasOwnProperty, j = (He, pt) => Z.call(He, pt), F = (He, pt, Pe) => He.length >= pt.length && He.substr(Pe, Pe + pt.length) === pt,
|
|
53177
|
+
}, A = (He) => (pt) => _(pt) === He, $ = (He) => (pt) => He === pt, R = A("string"), I = $(void 0), W = (He) => He == null, G = (He) => !W(He), X = (He) => (pt) => !He(pt), Z = Object.hasOwnProperty, j = (He, pt) => Z.call(He, pt), F = (He, pt, Pe) => He.length >= pt.length && He.substr(Pe, Pe + pt.length) === pt, fe = (He, pt, Pe = 0, gt) => {
|
|
53178
53178
|
const ne = He.indexOf(pt, Pe);
|
|
53179
53179
|
return ne !== -1 ? I(gt) ? !0 : ne + pt.length <= gt : !1;
|
|
53180
53180
|
}, Ke = (He, pt) => F(He, pt, 0), Re = "\uFEFF", q = (He) => He === Re, Ee = (He) => He.replace(/\uFEFF/g, "");
|
|
53181
53181
|
var et = tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");
|
|
53182
|
-
const je = (He) => He.nodeType === 3, we = (He) => He.nodeType === 1, le = (He) => /^[(\[{ \u00a0]$/.test(He), Rt = (He) => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(He),
|
|
53182
|
+
const je = (He) => He.nodeType === 3, we = (He) => He.nodeType === 1, le = (He) => /^[(\[{ \u00a0]$/.test(He), Rt = (He) => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(He), me = (He) => /[?!,.;:]/.test(He), ve = (He, pt, Pe) => {
|
|
53183
53183
|
for (let gt = pt - 1; gt >= 0; gt--) {
|
|
53184
53184
|
const ne = He.charAt(gt);
|
|
53185
53185
|
if (!q(ne) && Pe(ne))
|
|
@@ -53204,7 +53204,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53204
53204
|
offset: ee
|
|
53205
53205
|
} = O(_t.endContainer, _t.endOffset), ae = (Pe = yn.getParent(Tt, yn.isBlock)) !== null && Pe !== void 0 ? Pe : yn.getRoot(), ue = qt.backwards(Tt, ee + pt, (Qe, St) => {
|
|
53206
53206
|
const Ht = Qe.data, En = ve(Ht, St, X(le));
|
|
53207
|
-
return En === -1 ||
|
|
53207
|
+
return En === -1 || me(Ht[En]) ? En : En + 1;
|
|
53208
53208
|
}, ae);
|
|
53209
53209
|
if (!ue)
|
|
53210
53210
|
return null;
|
|
@@ -53218,7 +53218,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53218
53218
|
const yt = Ee(Be.toString()).match(ne);
|
|
53219
53219
|
if (yt) {
|
|
53220
53220
|
let Qe = yt[0];
|
|
53221
|
-
return Ke(Qe, "www.") ? Qe = v(He) + "://" + Qe :
|
|
53221
|
+
return Ke(Qe, "www.") ? Qe = v(He) + "://" + Qe : fe(Qe, "@") && !Rt(Qe) && (Qe = "mailto:" + Qe), {
|
|
53222
53222
|
rng: Be,
|
|
53223
53223
|
url: Qe
|
|
53224
53224
|
};
|
|
@@ -53282,11 +53282,11 @@ tinymce.addI18n("zh_CN", {
|
|
|
53282
53282
|
default: 50
|
|
53283
53283
|
});
|
|
53284
53284
|
}, v = f("min_height"), w = f("max_height"), C = f("autoresize_overflow_padding"), _ = f("autoresize_bottom_margin"), A = (j) => j.plugins.fullscreen && j.plugins.fullscreen.isFullscreen(), $ = (j, F) => {
|
|
53285
|
-
const
|
|
53286
|
-
|
|
53287
|
-
}, R = (j, F,
|
|
53285
|
+
const fe = j.getBody();
|
|
53286
|
+
fe && (fe.style.overflowY = F ? "" : "hidden", F || (fe.scrollTop = 0));
|
|
53287
|
+
}, R = (j, F, fe, Ke) => {
|
|
53288
53288
|
var Re;
|
|
53289
|
-
const q = parseInt((Re = j.getStyle(F,
|
|
53289
|
+
const q = parseInt((Re = j.getStyle(F, fe, Ke)) !== null && Re !== void 0 ? Re : "", 10);
|
|
53290
53290
|
return isNaN(q) ? 0 : q;
|
|
53291
53291
|
}, I = (j) => {
|
|
53292
53292
|
if ((j == null ? void 0 : j.type.toLowerCase()) === "setcontent") {
|
|
@@ -53294,7 +53294,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53294
53294
|
return F.selection === !0 || F.paste === !0;
|
|
53295
53295
|
} else
|
|
53296
53296
|
return !1;
|
|
53297
|
-
}, W = (j, F,
|
|
53297
|
+
}, W = (j, F, fe, Ke) => {
|
|
53298
53298
|
var Re;
|
|
53299
53299
|
const q = j.dom, Ee = j.getDoc();
|
|
53300
53300
|
if (!Ee)
|
|
@@ -53305,8 +53305,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
53305
53305
|
}
|
|
53306
53306
|
const et = Ee.documentElement, je = Ke ? Ke() : C(j), we = (Re = v(j)) !== null && Re !== void 0 ? Re : j.getElement().offsetHeight;
|
|
53307
53307
|
let le = we;
|
|
53308
|
-
const Rt = R(q, et, "margin-top", !0),
|
|
53309
|
-
let ve = et.offsetHeight + Rt +
|
|
53308
|
+
const Rt = R(q, et, "margin-top", !0), me = R(q, et, "margin-bottom", !0);
|
|
53309
|
+
let ve = et.offsetHeight + Rt + me + je;
|
|
53310
53310
|
ve < 0 && (ve = 0);
|
|
53311
53311
|
const O = j.getContainer().offsetHeight, _e = j.getContentAreaContainer().offsetHeight, ie = O - _e;
|
|
53312
53312
|
ve + ie > we && (le = ve + ie);
|
|
@@ -53323,10 +53323,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
53323
53323
|
const Ue = j.getWin();
|
|
53324
53324
|
Ue.scrollTo(Ue.pageXOffset, Ue.pageYOffset);
|
|
53325
53325
|
}
|
|
53326
|
-
j.hasFocus() && I(
|
|
53326
|
+
j.hasFocus() && I(fe) && j.selection.scrollIntoView(), (i.browser.isSafari() || i.browser.isChromium()) && de < 0 && W(j, F, fe, Ke);
|
|
53327
53327
|
}
|
|
53328
53328
|
}, G = (j, F) => {
|
|
53329
|
-
const
|
|
53329
|
+
const fe = () => _(j);
|
|
53330
53330
|
j.on("init", (Ke) => {
|
|
53331
53331
|
const Re = C(j), q = j.dom;
|
|
53332
53332
|
q.setStyles(j.getDoc().documentElement, { height: "auto" }), i.browser.isEdge() || i.browser.isIE() ? q.setStyles(j.getBody(), {
|
|
@@ -53336,9 +53336,9 @@ tinymce.addI18n("zh_CN", {
|
|
|
53336
53336
|
}) : q.setStyles(j.getBody(), {
|
|
53337
53337
|
paddingLeft: Re,
|
|
53338
53338
|
paddingRight: Re
|
|
53339
|
-
}), W(j, F, Ke,
|
|
53339
|
+
}), W(j, F, Ke, fe);
|
|
53340
53340
|
}), j.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent", (Ke) => {
|
|
53341
|
-
W(j, F, Ke,
|
|
53341
|
+
W(j, F, Ke, fe);
|
|
53342
53342
|
});
|
|
53343
53343
|
}, X = (j, F) => {
|
|
53344
53344
|
j.addCommand("mceAutoResize", () => {
|
|
@@ -53402,7 +53402,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53402
53402
|
processor: Ge,
|
|
53403
53403
|
default: "20m"
|
|
53404
53404
|
});
|
|
53405
|
-
}, X = W("autosave_ask_before_unload"), Z = W("autosave_restore_when_empty"), j = W("autosave_interval"), F = W("autosave_retention"),
|
|
53405
|
+
}, X = W("autosave_ask_before_unload"), Z = W("autosave_restore_when_empty"), j = W("autosave_interval"), F = W("autosave_retention"), fe = (ie) => {
|
|
53406
53406
|
const Ve = document.location;
|
|
53407
53407
|
return ie.options.get("autosave_prefix").replace(/{path}/g, Ve.pathname).replace(/{query}/g, Ve.search).replace(/{hash}/g, Ve.hash).replace(/{id}/g, ie.id);
|
|
53408
53408
|
}, Ke = (ie, Ve) => {
|
|
@@ -53419,20 +53419,20 @@ tinymce.addI18n("zh_CN", {
|
|
|
53419
53419
|
}
|
|
53420
53420
|
}, Re = (ie) => {
|
|
53421
53421
|
var Ve;
|
|
53422
|
-
const Ge = parseInt((Ve = C.getItem(
|
|
53422
|
+
const Ge = parseInt((Ve = C.getItem(fe(ie) + "time")) !== null && Ve !== void 0 ? Ve : "0", 10) || 0;
|
|
53423
53423
|
return (/* @__PURE__ */ new Date()).getTime() - Ge > F(ie) ? (q(ie, !1), !1) : !0;
|
|
53424
53424
|
}, q = (ie, Ve) => {
|
|
53425
|
-
const Ge =
|
|
53425
|
+
const Ge = fe(ie);
|
|
53426
53426
|
C.removeItem(Ge + "draft"), C.removeItem(Ge + "time"), Ve !== !1 && R(ie);
|
|
53427
53427
|
}, Ee = (ie) => {
|
|
53428
|
-
const Ve =
|
|
53428
|
+
const Ve = fe(ie);
|
|
53429
53429
|
!Ke(ie) && ie.isDirty() && (C.setItem(Ve + "draft", ie.getContent({
|
|
53430
53430
|
format: "raw",
|
|
53431
53431
|
no_events: !0
|
|
53432
53432
|
})), C.setItem(Ve + "time", (/* @__PURE__ */ new Date()).getTime().toString()), $(ie));
|
|
53433
53433
|
}, et = (ie) => {
|
|
53434
53434
|
var Ve;
|
|
53435
|
-
const Ge =
|
|
53435
|
+
const Ge = fe(ie);
|
|
53436
53436
|
Re(ie) && (ie.setContent((Ve = C.getItem(Ge + "draft")) !== null && Ve !== void 0 ? Ve : "", { format: "raw" }), A(ie));
|
|
53437
53437
|
}, je = (ie) => {
|
|
53438
53438
|
const Ve = j(ie);
|
|
@@ -53451,7 +53451,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53451
53451
|
isEmpty: (Ve) => Ke(ie, Ve)
|
|
53452
53452
|
});
|
|
53453
53453
|
var Rt = tinymce.util.Tools.resolve("tinymce.EditorManager");
|
|
53454
|
-
const
|
|
53454
|
+
const me = (ie) => {
|
|
53455
53455
|
ie.editorManager.on("BeforeUnload", (Ve) => {
|
|
53456
53456
|
let Ge;
|
|
53457
53457
|
_.each(Rt.get(), (de) => {
|
|
@@ -53481,7 +53481,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53481
53481
|
});
|
|
53482
53482
|
};
|
|
53483
53483
|
var _e = () => {
|
|
53484
|
-
o.add("autosave", (ie) => (G(ie),
|
|
53484
|
+
o.add("autosave", (ie) => (G(ie), me(ie), O(ie), ie.on("init", () => {
|
|
53485
53485
|
Z(ie) && ie.dom.isEmpty(ie.getBody()) && et(ie);
|
|
53486
53486
|
}), le(ie)));
|
|
53487
53487
|
};
|
|
@@ -53582,7 +53582,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53582
53582
|
const Ce = ee[ue];
|
|
53583
53583
|
ae(Ce, ue);
|
|
53584
53584
|
}
|
|
53585
|
-
},
|
|
53585
|
+
}, fe = (ee, ae, ue) => {
|
|
53586
53586
|
for (let K = 0, Ce = ee.length; K < Ce; K++) {
|
|
53587
53587
|
const Be = ee[K];
|
|
53588
53588
|
if (ae(Be, K))
|
|
@@ -53591,7 +53591,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53591
53591
|
break;
|
|
53592
53592
|
}
|
|
53593
53593
|
return X.none();
|
|
53594
|
-
}, Ke = (ee, ae) =>
|
|
53594
|
+
}, Ke = (ee, ae) => fe(ee, ae, G), Re = (ee) => {
|
|
53595
53595
|
const ae = [];
|
|
53596
53596
|
for (let ue = 0, K = ee.length; ue < K; ++ue) {
|
|
53597
53597
|
if (!C(ee[ue]))
|
|
@@ -53604,7 +53604,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
53604
53604
|
const et = (ee) => (ae) => ae.options.get(ee), je = (ee) => {
|
|
53605
53605
|
const ae = ee.options.register, ue = (K) => I(K) || C(K);
|
|
53606
53606
|
ae("charmap", { processor: ue }), ae("charmap_append", { processor: ue });
|
|
53607
|
-
}, we = et("charmap"), le = et("charmap_append"), Rt = Ee.isArray,
|
|
53607
|
+
}, we = et("charmap"), le = et("charmap_append"), Rt = Ee.isArray, me = "User Defined", ve = () => [
|
|
53608
53608
|
{
|
|
53609
53609
|
name: "Currency",
|
|
53610
53610
|
characters: [
|
|
@@ -54795,17 +54795,17 @@ tinymce.addI18n("zh_CN", {
|
|
|
54795
54795
|
], O = (ee) => Ee.grep(ee, (ae) => Rt(ae) && ae.length === 2), _e = (ee) => Rt(ee) ? O(ee) : typeof ee == "function" ? ee() : [], ie = (ee, ae) => {
|
|
54796
54796
|
const ue = we(ee);
|
|
54797
54797
|
ue && (ae = [{
|
|
54798
|
-
name:
|
|
54798
|
+
name: me,
|
|
54799
54799
|
characters: _e(ue)
|
|
54800
54800
|
}]);
|
|
54801
54801
|
const K = le(ee);
|
|
54802
54802
|
if (K) {
|
|
54803
|
-
const Ce = Ee.grep(ae, (Be) => Be.name ===
|
|
54803
|
+
const Ce = Ee.grep(ae, (Be) => Be.name === me);
|
|
54804
54804
|
return Ce.length ? (Ce[0].characters = [
|
|
54805
54805
|
...Ce[0].characters,
|
|
54806
54806
|
..._e(K)
|
|
54807
54807
|
], ae) : ae.concat({
|
|
54808
|
-
name:
|
|
54808
|
+
name: me,
|
|
54809
54809
|
characters: _e(K)
|
|
54810
54810
|
});
|
|
54811
54811
|
}
|
|
@@ -54875,7 +54875,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
54875
54875
|
}), Be = () => ({
|
|
54876
54876
|
type: "tabpanel",
|
|
54877
54877
|
tabs: K()
|
|
54878
|
-
}), Fe = ae.length === 1 ? de(
|
|
54878
|
+
}), Fe = ae.length === 1 ? de(me) : de("All"), yt = (_n, Rn) => {
|
|
54879
54879
|
Ke(ae, (No) => No.name === Fe.get()).each((No) => {
|
|
54880
54880
|
const lo = Pe(No, Rn);
|
|
54881
54881
|
_n.setData({ results: lo });
|
|
@@ -56847,7 +56847,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
56847
56847
|
Ve.setAttrib(de, "class", "language-" + _e), de.innerHTML = ie, G(O).highlightElement(de), O.selection.select(de);
|
|
56848
56848
|
});
|
|
56849
56849
|
});
|
|
56850
|
-
}, F = (O) => Z(O).bind((ie) => h.from(ie.textContent)).getOr(""),
|
|
56850
|
+
}, F = (O) => Z(O).bind((ie) => h.from(ie.textContent)).getOr(""), fe = (O) => {
|
|
56851
56851
|
const _e = [
|
|
56852
56852
|
{
|
|
56853
56853
|
text: "HTML/XML",
|
|
@@ -56895,7 +56895,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
56895
56895
|
const Ge = Ve.className.match(/language-(\w+)/);
|
|
56896
56896
|
return Ge ? Ge[1] : _e;
|
|
56897
56897
|
}), Re = (O) => {
|
|
56898
|
-
const _e =
|
|
56898
|
+
const _e = fe(O), ie = w(_e).fold(f(""), (de) => de.value), Ve = Ke(O, ie), Ge = F(O);
|
|
56899
56899
|
O.windowManager.open({
|
|
56900
56900
|
title: "Insert/Edit Code Sample",
|
|
56901
56901
|
size: "large",
|
|
@@ -56986,7 +56986,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
56986
56986
|
}, Rt = (O) => {
|
|
56987
56987
|
const _e = O.selection.getStart();
|
|
56988
56988
|
return O.dom.is(_e, 'pre[class*="language-"]');
|
|
56989
|
-
},
|
|
56989
|
+
}, me = (O) => {
|
|
56990
56990
|
const _e = () => O.execCommand("codesample");
|
|
56991
56991
|
O.ui.registry.addToggleButton("codesample", {
|
|
56992
56992
|
icon: "code-sample",
|
|
@@ -57004,7 +57004,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57004
57004
|
};
|
|
57005
57005
|
var ve = () => {
|
|
57006
57006
|
o.add("codesample", (O) => {
|
|
57007
|
-
R(O), we(O),
|
|
57007
|
+
R(O), we(O), me(O), q(O), O.on("dblclick", (_e) => {
|
|
57008
57008
|
X(_e.target) && Re(O);
|
|
57009
57009
|
});
|
|
57010
57010
|
});
|
|
@@ -57110,7 +57110,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57110
57110
|
jt(lo, Rn) && _n.push(lo);
|
|
57111
57111
|
}
|
|
57112
57112
|
return _n;
|
|
57113
|
-
}, j = 11, F = 1,
|
|
57113
|
+
}, j = 11, F = 1, fe = 3, Ke = ($t, jt) => {
|
|
57114
57114
|
const Rn = (jt || document).createElement("div");
|
|
57115
57115
|
if (Rn.innerHTML = $t, !Rn.hasChildNodes() || Rn.childNodes.length > 1) {
|
|
57116
57116
|
const No = "HTML does not have a single root node";
|
|
@@ -57151,7 +57151,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57151
57151
|
}
|
|
57152
57152
|
};
|
|
57153
57153
|
typeof window < "u" || Function("return this;")();
|
|
57154
|
-
const le = ($t) => $t.dom.nodeName.toLowerCase(), Rt = ($t) => $t.dom.nodeType,
|
|
57154
|
+
const le = ($t) => $t.dom.nodeName.toLowerCase(), Rt = ($t) => $t.dom.nodeType, me = ($t) => (jt) => Rt(jt) === $t, ve = me(F), O = me(fe), _e = me(j), ie = ($t) => (jt) => ve(jt) && le(jt) === $t, Ve = ($t) => W.from($t.dom.parentNode).map(je.fromDom), Ge = ($t) => G($t.dom.childNodes, je.fromDom), de = ($t, jt, _n) => {
|
|
57155
57155
|
if (h(_n) || v(_n) || A(_n))
|
|
57156
57156
|
$t.setAttribute(jt, _n + "");
|
|
57157
57157
|
else
|
|
@@ -57353,10 +57353,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
57353
57353
|
const St = Fe[yt], Ht = Ce[St];
|
|
57354
57354
|
Be(Ht, St);
|
|
57355
57355
|
}
|
|
57356
|
-
}, F = (Ce, Be) =>
|
|
57356
|
+
}, F = (Ce, Be) => fe(Ce, (Fe, yt) => ({
|
|
57357
57357
|
k: yt,
|
|
57358
57358
|
v: Be(Fe, yt)
|
|
57359
|
-
})),
|
|
57359
|
+
})), fe = (Ce, Be) => {
|
|
57360
57360
|
const Fe = {};
|
|
57361
57361
|
return j(Ce, (yt, Qe) => {
|
|
57362
57362
|
const St = Be(yt, Qe);
|
|
@@ -57394,7 +57394,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57394
57394
|
const Qe = Ce.indexOf(Be, Fe);
|
|
57395
57395
|
return Qe !== -1 ? u(yt) ? !0 : Qe + Be.length <= yt : !1;
|
|
57396
57396
|
}, Rt = (Ce, Be) => we(Ce, Be, 0);
|
|
57397
|
-
var
|
|
57397
|
+
var me = tinymce.util.Tools.resolve("tinymce.Resource");
|
|
57398
57398
|
const ve = "tinymce.plugins.emoticons", O = (Ce) => (Be) => Be.options.get(Ce), _e = (Ce, Be) => {
|
|
57399
57399
|
const Fe = Ce.options.register;
|
|
57400
57400
|
Fe("emoticons_database", {
|
|
@@ -57444,7 +57444,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57444
57444
|
}), yt.set(Ft), Qe.set(vn);
|
|
57445
57445
|
};
|
|
57446
57446
|
Ce.on("init", () => {
|
|
57447
|
-
|
|
57447
|
+
me.load(Fe, Be).then((lo) => {
|
|
57448
57448
|
const Ft = Pe(Ce);
|
|
57449
57449
|
En(Ee(lo, Ft));
|
|
57450
57450
|
}, (lo) => {
|
|
@@ -57613,7 +57613,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57613
57613
|
const We = typeof Le;
|
|
57614
57614
|
return Le === null ? "null" : We === "object" && Array.isArray(Le) ? "array" : We === "object" && u(Le, String, (zt, hn) => hn.isPrototypeOf(zt)) ? "string" : We;
|
|
57615
57615
|
}, h = (Le) => (We) => f(We) === Le, v = (Le) => (We) => typeof We === Le, w = (Le) => (We) => Le === We, C = h("string"), _ = h("object"), A = h("array"), $ = w(null), R = v("boolean"), I = w(void 0), W = (Le) => Le == null, G = (Le) => !W(Le), X = v("function"), Z = v("number"), j = () => {
|
|
57616
|
-
}, F = (Le, We) => (...zt) => Le(We.apply(null, zt)),
|
|
57616
|
+
}, F = (Le, We) => (...zt) => Le(We.apply(null, zt)), fe = (Le, We) => (zt) => Le(We(zt)), Ke = (Le) => () => Le;
|
|
57617
57617
|
function Re(Le, ...We) {
|
|
57618
57618
|
return (...zt) => {
|
|
57619
57619
|
const hn = We.concat(zt);
|
|
@@ -57711,7 +57711,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57711
57711
|
We(Ds, hn) && zt.push(Ds);
|
|
57712
57712
|
}
|
|
57713
57713
|
return zt;
|
|
57714
|
-
},
|
|
57714
|
+
}, me = (Le, We, zt) => {
|
|
57715
57715
|
for (let hn = 0, Oo = Le.length; hn < Oo; hn++) {
|
|
57716
57716
|
const Ds = Le[hn];
|
|
57717
57717
|
if (We(Ds, hn))
|
|
@@ -57720,7 +57720,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57720
57720
|
break;
|
|
57721
57721
|
}
|
|
57722
57722
|
return et.none();
|
|
57723
|
-
}, ve = (Le, We) =>
|
|
57723
|
+
}, ve = (Le, We) => me(Le, We, q), O = (Le) => {
|
|
57724
57724
|
const We = [];
|
|
57725
57725
|
for (let zt = 0, hn = Le.length; zt < hn; ++zt) {
|
|
57726
57726
|
if (!A(Le[zt]))
|
|
@@ -57876,7 +57876,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57876
57876
|
if (We == null || We.ownerDocument === null)
|
|
57877
57877
|
return !1;
|
|
57878
57878
|
const zt = We.ownerDocument;
|
|
57879
|
-
return Ws($o.fromDom(We)).fold(() => zt.body.contains(We),
|
|
57879
|
+
return Ws($o.fromDom(We)).fold(() => zt.body.contains(We), fe(bo, Dt));
|
|
57880
57880
|
}, qo = (Le) => {
|
|
57881
57881
|
const We = Le.dom.body;
|
|
57882
57882
|
if (We == null)
|
|
@@ -58337,7 +58337,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58337
58337
|
}, I = (Qe) => {
|
|
58338
58338
|
const St = typeof Qe;
|
|
58339
58339
|
return Qe === null ? "null" : St === "object" && Array.isArray(Qe) ? "array" : St === "object" && R(Qe, String, (Ht, En) => En.isPrototypeOf(Ht)) ? "string" : St;
|
|
58340
|
-
}, W = (Qe) => (St) => I(St) === Qe, G = (Qe) => (St) => typeof St === Qe, X = (Qe) => (St) => Qe === St, Z = W("string"), j = X(void 0), F = (Qe) => Qe == null,
|
|
58340
|
+
}, W = (Qe) => (St) => I(St) === Qe, G = (Qe) => (St) => typeof St === Qe, X = (Qe) => (St) => Qe === St, Z = W("string"), j = X(void 0), F = (Qe) => Qe == null, fe = (Qe) => !F(Qe), Ke = G("function"), q = ((Qe) => () => Qe)(!1);
|
|
58341
58341
|
class Ee {
|
|
58342
58342
|
constructor(St, Ht) {
|
|
58343
58343
|
this.tag = St, this.value = Ht;
|
|
@@ -58390,7 +58390,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58390
58390
|
throw new Error(St ?? "Called getOrDie on None");
|
|
58391
58391
|
}
|
|
58392
58392
|
static from(St) {
|
|
58393
|
-
return
|
|
58393
|
+
return fe(St) ? Ee.some(St) : Ee.none();
|
|
58394
58394
|
}
|
|
58395
58395
|
getOrNull() {
|
|
58396
58396
|
return this.tag ? this.value : null;
|
|
@@ -58416,7 +58416,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58416
58416
|
En[$t] = St(jt, $t);
|
|
58417
58417
|
}
|
|
58418
58418
|
return En;
|
|
58419
|
-
},
|
|
58419
|
+
}, me = (Qe, St) => {
|
|
58420
58420
|
const Ht = [];
|
|
58421
58421
|
for (let En = 0, $t = Qe.length; En < $t; En++) {
|
|
58422
58422
|
const jt = Qe[En];
|
|
@@ -58895,7 +58895,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58895
58895
|
slug: Qe.slug || Qe.key
|
|
58896
58896
|
})), ee = (Qe) => {
|
|
58897
58897
|
const St = () => {
|
|
58898
|
-
const lo =
|
|
58898
|
+
const lo = me(Tt, ({ type: mn }) => mn === "premium"), Ft = _e(Rt(lo, (mn) => mn.name), (mn, Vn) => mn.localeCompare(Vn)), vn = Rt(Ft, (mn) => `<li>${mn}</li>`).join("");
|
|
58899
58899
|
return "<div><p><b>" + He.translate("Premium plugins:") + "</b></p><ul>" + vn + '<li class="tox-help__more-link" "><a href="https://www.tiny.cloud/pricing/?utm_campaign=help_dialog_plugin_tab&utm_source=tiny&utm_medium=referral&utm_term=read_more&utm_content=premium_plugin_heading" rel="noopener" target="_blank" data-alloy-tabstop="true" tabindex="-1">' + He.translate("Learn more...") + "</a></li></ul></div>";
|
|
58900
58900
|
}, Ht = (lo) => `<a data-alloy-tabstop="true" tabindex="-1" href="${lo.url}" target="_blank" rel="noopener">${lo.name}</a>`, En = (lo, Ft) => {
|
|
58901
58901
|
const vn = lo.plugins[Ft].getMetadata;
|
|
@@ -58921,7 +58921,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58921
58921
|
};
|
|
58922
58922
|
}), jt = (lo) => {
|
|
58923
58923
|
const Ft = ie(lo.plugins), vn = A(lo);
|
|
58924
|
-
return j(vn) ? Ft :
|
|
58924
|
+
return j(vn) ? Ft : me(Ft, (mn) => !le(vn, mn));
|
|
58925
58925
|
}, _n = (lo) => {
|
|
58926
58926
|
const Ft = jt(lo), vn = _e(Rt(Ft, (Es) => $t(lo, Es)), (Es, $o) => Es.name.localeCompare($o.name)), mn = Rt(vn, (Es) => "<li>" + Es.html + "</li>"), Vn = mn.length, Mo = mn.join("");
|
|
58927
58927
|
return "<p><b>" + He.translate([
|
|
@@ -59034,15 +59034,15 @@ tinymce.addI18n("zh_CN", {
|
|
|
59034
59034
|
return !1;
|
|
59035
59035
|
}, F = () => {
|
|
59036
59036
|
};
|
|
59037
|
-
class
|
|
59037
|
+
class fe {
|
|
59038
59038
|
constructor(Se, rt) {
|
|
59039
59039
|
this.tag = Se, this.value = rt;
|
|
59040
59040
|
}
|
|
59041
59041
|
static some(Se) {
|
|
59042
|
-
return new
|
|
59042
|
+
return new fe(!0, Se);
|
|
59043
59043
|
}
|
|
59044
59044
|
static none() {
|
|
59045
|
-
return
|
|
59045
|
+
return fe.singletonNone;
|
|
59046
59046
|
}
|
|
59047
59047
|
fold(Se, rt) {
|
|
59048
59048
|
return this.tag ? rt(this.value) : Se();
|
|
@@ -59054,10 +59054,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
59054
59054
|
return !this.tag;
|
|
59055
59055
|
}
|
|
59056
59056
|
map(Se) {
|
|
59057
|
-
return this.tag ?
|
|
59057
|
+
return this.tag ? fe.some(Se(this.value)) : fe.none();
|
|
59058
59058
|
}
|
|
59059
59059
|
bind(Se) {
|
|
59060
|
-
return this.tag ? Se(this.value) :
|
|
59060
|
+
return this.tag ? Se(this.value) : fe.none();
|
|
59061
59061
|
}
|
|
59062
59062
|
exists(Se) {
|
|
59063
59063
|
return this.tag && Se(this.value);
|
|
@@ -59066,7 +59066,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59066
59066
|
return !this.tag || Se(this.value);
|
|
59067
59067
|
}
|
|
59068
59068
|
filter(Se) {
|
|
59069
|
-
return !this.tag || Se(this.value) ? this :
|
|
59069
|
+
return !this.tag || Se(this.value) ? this : fe.none();
|
|
59070
59070
|
}
|
|
59071
59071
|
getOr(Se) {
|
|
59072
59072
|
return this.tag ? this.value : Se;
|
|
@@ -59086,7 +59086,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59086
59086
|
throw new Error(Se ?? "Called getOrDie on None");
|
|
59087
59087
|
}
|
|
59088
59088
|
static from(Se) {
|
|
59089
|
-
return G(Se) ?
|
|
59089
|
+
return G(Se) ? fe.some(Se) : fe.none();
|
|
59090
59090
|
}
|
|
59091
59091
|
getOrNull() {
|
|
59092
59092
|
return this.tag ? this.value : null;
|
|
@@ -59104,7 +59104,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59104
59104
|
return this.tag ? `some(${this.value})` : "none()";
|
|
59105
59105
|
}
|
|
59106
59106
|
}
|
|
59107
|
-
|
|
59107
|
+
fe.singletonNone = new fe(!1);
|
|
59108
59108
|
const Ke = Object.keys, Re = Object.hasOwnProperty, q = (re, Se) => {
|
|
59109
59109
|
const rt = Ke(re);
|
|
59110
59110
|
for (let Bt = 0, Fn = rt.length; Bt < Fn; Bt++) {
|
|
@@ -59120,7 +59120,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59120
59120
|
}, je = (re, Se) => {
|
|
59121
59121
|
const rt = {};
|
|
59122
59122
|
return et(re, Se, Ee(rt), F), rt;
|
|
59123
|
-
}, we = (re, Se) => Re.call(re, Se), le = (re, Se) => we(re, Se) && re[Se] !== void 0 && re[Se] !== null, Rt = Array.prototype.push,
|
|
59123
|
+
}, we = (re, Se) => Re.call(re, Se), le = (re, Se) => we(re, Se) && re[Se] !== void 0 && re[Se] !== null, Rt = Array.prototype.push, me = (re) => {
|
|
59124
59124
|
const Se = [];
|
|
59125
59125
|
for (let rt = 0, Bt = re.length; rt < Bt; ++rt) {
|
|
59126
59126
|
if (!$(re[rt]))
|
|
@@ -59128,13 +59128,13 @@ tinymce.addI18n("zh_CN", {
|
|
|
59128
59128
|
Rt.apply(Se, re[rt]);
|
|
59129
59129
|
}
|
|
59130
59130
|
return Se;
|
|
59131
|
-
}, ve = (re, Se) => Se >= 0 && Se < re.length ?
|
|
59131
|
+
}, ve = (re, Se) => Se >= 0 && Se < re.length ? fe.some(re[Se]) : fe.none(), O = (re) => ve(re, 0), _e = (re, Se) => {
|
|
59132
59132
|
for (let rt = 0; rt < re.length; rt++) {
|
|
59133
59133
|
const Bt = Se(re[rt], rt);
|
|
59134
59134
|
if (Bt.isSome())
|
|
59135
59135
|
return Bt;
|
|
59136
59136
|
}
|
|
59137
|
-
return
|
|
59137
|
+
return fe.none();
|
|
59138
59138
|
};
|
|
59139
59139
|
typeof window < "u" || Function("return this;")();
|
|
59140
59140
|
const ie = (re, Se, rt) => {
|
|
@@ -59168,7 +59168,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59168
59168
|
fromTag: Ue,
|
|
59169
59169
|
fromText: Ct,
|
|
59170
59170
|
fromDom: He,
|
|
59171
|
-
fromPoint: (re, Se, rt) =>
|
|
59171
|
+
fromPoint: (re, Se, rt) => fe.from(re.dom.elementFromPoint(Se, rt)).map(He)
|
|
59172
59172
|
};
|
|
59173
59173
|
var gt = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), ne = tinymce.util.Tools.resolve("tinymce.util.URI");
|
|
59174
59174
|
const yn = (re) => re.length > 0, vt = (re) => (Se) => Se.options.get(re), _t = (re) => {
|
|
@@ -59456,7 +59456,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59456
59456
|
});
|
|
59457
59457
|
}
|
|
59458
59458
|
}), rt;
|
|
59459
|
-
}, Ls = (re = Ro) => (Se) => Se ?
|
|
59459
|
+
}, Ls = (re = Ro) => (Se) => Se ? fe.from(Se).map((rt) => Zs(rt, re)) : fe.none(), wi = (re) => Ls(Ro)(re), Ca = (re) => we(re, "items"), ts = (re, Se) => _e(re, (rt) => Ca(rt) ? ts(rt.items, Se) : rt.value === Se ? fe.some(rt) : fe.none()), ps = {
|
|
59460
59460
|
sanitizer: Ls,
|
|
59461
59461
|
sanitize: wi,
|
|
59462
59462
|
findEntry: (re, Se) => re.bind((rt) => ts(rt, Se))
|
|
@@ -59541,7 +59541,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59541
59541
|
}) }, Oa = (re) => {
|
|
59542
59542
|
const Se = ps.sanitizer((Hi) => re.convertURL(Hi.value || Hi.url || "", "src")), rt = new Promise((Hi) => {
|
|
59543
59543
|
No(re, (Na) => {
|
|
59544
|
-
Hi(Se(Na).map((wu) =>
|
|
59544
|
+
Hi(Se(Na).map((wu) => me([
|
|
59545
59545
|
[{
|
|
59546
59546
|
text: "None",
|
|
59547
59547
|
value: ""
|
|
@@ -59549,7 +59549,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59549
59549
|
wu
|
|
59550
59550
|
])));
|
|
59551
59551
|
});
|
|
59552
|
-
}), Bt = ps.sanitize(ue(re)), Fn = Tt(re), Hn = ee(re), ks = St(re), pa = Ht(re), gn = Tn(re), Da = K(re), rr = Ce(re), Nc = qt(re), da = Be(re), xs = yt(re), Li = Qe(re), Ka =
|
|
59552
|
+
}), Bt = ps.sanitize(ue(re)), Fn = Tt(re), Hn = ee(re), ks = St(re), pa = Ht(re), gn = Tn(re), Da = K(re), rr = Ce(re), Nc = qt(re), da = Be(re), xs = yt(re), Li = Qe(re), Ka = fe.some(ae(re)).filter((Hi) => C(Hi) && Hi.length > 0);
|
|
59553
59553
|
return rt.then((Hi) => ({
|
|
59554
59554
|
image: gn,
|
|
59555
59555
|
imageList: Hi,
|
|
@@ -59615,7 +59615,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59615
59615
|
type: "grid",
|
|
59616
59616
|
columns: 2
|
|
59617
59617
|
} : { type: "panel" };
|
|
59618
|
-
return
|
|
59618
|
+
return me([
|
|
59619
59619
|
[Se],
|
|
59620
59620
|
rt.toArray(),
|
|
59621
59621
|
re.hasAccessibilityOptions && re.hasDescription ? [ks] : [],
|
|
@@ -59624,7 +59624,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59624
59624
|
re.hasDimensions ? [Hn] : [],
|
|
59625
59625
|
[{
|
|
59626
59626
|
...Da(re.classList.isSome() && re.hasImageCaption),
|
|
59627
|
-
items:
|
|
59627
|
+
items: me([
|
|
59628
59628
|
pa.toArray(),
|
|
59629
59629
|
re.hasImageCaption ? [gn] : []
|
|
59630
59630
|
])
|
|
@@ -59683,7 +59683,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59683
59683
|
border: re.border,
|
|
59684
59684
|
borderStyle: re.borderstyle,
|
|
59685
59685
|
isDecorative: re.isDecorative
|
|
59686
|
-
}), Ai = (re, Se) => /^(?:[a-zA-Z]+:)?\/\//.test(Se) ?
|
|
59686
|
+
}), Ai = (re, Se) => /^(?:[a-zA-Z]+:)?\/\//.test(Se) ? fe.none() : re.prependURL.bind((rt) => Se.substring(0, rt.length) !== rt ? fe.some(rt + Se) : fe.none()), Cl = (re, Se) => {
|
|
59687
59687
|
const rt = Se.getData();
|
|
59688
59688
|
Ai(re, rt.src.value).each((Bt) => {
|
|
59689
59689
|
Se.setData({
|
|
@@ -59761,7 +59761,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59761
59761
|
re.open = !1;
|
|
59762
59762
|
}, Yl = (re) => re.hasAdvTab || re.hasUploadUrl || re.hasUploadHandler ? {
|
|
59763
59763
|
type: "tabpanel",
|
|
59764
|
-
tabs:
|
|
59764
|
+
tabs: me([
|
|
59765
59765
|
[Pi.makeTab(re)],
|
|
59766
59766
|
re.hasAdvTab ? [Sa.makeTab(re)] : [],
|
|
59767
59767
|
re.hasUploadTab && (re.hasUploadUrl || re.hasUploadHandler) ? [Cs.makeTab(re)] : []
|
|
@@ -59910,7 +59910,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59910
59910
|
processor: "boolean",
|
|
59911
59911
|
default: !1
|
|
59912
59912
|
});
|
|
59913
|
-
}, G = I("importcss_merge_classes"), X = I("importcss_exclusive"), Z = I("importcss_selector_converter"), j = I("importcss_selector_filter"), F = I("importcss_groups"),
|
|
59913
|
+
}, G = I("importcss_merge_classes"), X = I("importcss_exclusive"), Z = I("importcss_selector_converter"), j = I("importcss_selector_filter"), F = I("importcss_groups"), fe = I("importcss_append"), Ke = I("importcss_file_filter"), Re = I("skin"), q = I("skin_url"), Ee = Array.prototype.push, et = (vt, _t) => {
|
|
59914
59914
|
const qt = vt.length, Tt = new Array(qt);
|
|
59915
59915
|
for (let ee = 0; ee < qt; ee++) {
|
|
59916
59916
|
const ae = vt[ee];
|
|
@@ -59942,7 +59942,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59942
59942
|
}];
|
|
59943
59943
|
}).concat(vt)
|
|
59944
59944
|
};
|
|
59945
|
-
}, Rt = /^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,
|
|
59945
|
+
}, Rt = /^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/, me = (vt) => {
|
|
59946
59946
|
const _t = $.cacheSuffix;
|
|
59947
59947
|
return h(vt) && (vt = vt.replace("?" + _t, "").replace("&" + _t, "")), vt;
|
|
59948
59948
|
}, ve = (vt, _t) => {
|
|
@@ -59955,7 +59955,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59955
59955
|
}, O = (vt) => h(vt) ? (_t) => _t.indexOf(vt) !== -1 : vt instanceof RegExp ? (_t) => vt.test(_t) : vt, _e = (vt) => vt.styleSheet, ie = (vt) => vt.selectorText, Ve = (vt, _t, qt) => {
|
|
59956
59956
|
const Tt = [], ee = {}, ae = (ue, K) => {
|
|
59957
59957
|
let Ce = ue.href, Be;
|
|
59958
|
-
if (Ce =
|
|
59958
|
+
if (Ce = me(Ce), !(!Ce || qt && !qt(Ce, K) || ve(vt, Ce))) {
|
|
59959
59959
|
R.each(ue.imports, (Fe) => {
|
|
59960
59960
|
ae(Fe, !0);
|
|
59961
59961
|
});
|
|
@@ -60034,7 +60034,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60034
60034
|
const ue = _t.toFormats();
|
|
60035
60035
|
vt.dispatch("addStyleModifications", {
|
|
60036
60036
|
items: ue,
|
|
60037
|
-
replace: !
|
|
60037
|
+
replace: !fe(vt)
|
|
60038
60038
|
});
|
|
60039
60039
|
});
|
|
60040
60040
|
}, ne = (vt) => ({ convertSelectorToFormat: (qt) => Ge(vt, qt) });
|
|
@@ -60108,7 +60108,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60108
60108
|
return Re.on("NodeChange", Ee), Ee(), () => {
|
|
60109
60109
|
Re.off("NodeChange", Ee);
|
|
60110
60110
|
};
|
|
60111
|
-
},
|
|
60111
|
+
}, fe = (Re) => {
|
|
60112
60112
|
const q = h(Re), Ee = Z(w(Re)), et = (we) => Re.execCommand("mceInsertDate", !1, we);
|
|
60113
60113
|
Re.ui.registry.addSplitButton("insertdatetime", {
|
|
60114
60114
|
icon: "insert-time",
|
|
@@ -60145,7 +60145,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60145
60145
|
};
|
|
60146
60146
|
var Ke = () => {
|
|
60147
60147
|
o.add("insertdatetime", (Re) => {
|
|
60148
|
-
i(Re), X(Re),
|
|
60148
|
+
i(Re), X(Re), fe(Re);
|
|
60149
60149
|
});
|
|
60150
60150
|
};
|
|
60151
60151
|
Ke();
|
|
@@ -60239,7 +60239,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60239
60239
|
}
|
|
60240
60240
|
}
|
|
60241
60241
|
j.singletonNone = new j(!1);
|
|
60242
|
-
const F = Array.prototype.indexOf,
|
|
60242
|
+
const F = Array.prototype.indexOf, fe = Array.prototype.push, Ke = (Te, nt) => F.call(Te, nt), Re = (Te, nt) => Ke(Te, nt) > -1, q = (Te, nt) => {
|
|
60243
60243
|
const wt = Te.length, ln = new Array(wt);
|
|
60244
60244
|
for (let ge = 0; ge < wt; ge++) {
|
|
60245
60245
|
const xe = Te[ge];
|
|
@@ -60258,7 +60258,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60258
60258
|
for (let wt = 0, ln = Te.length; wt < ln; ++wt) {
|
|
60259
60259
|
if (!C(Te[wt]))
|
|
60260
60260
|
throw new Error("Arr.flatten item " + wt + " was not an array, input: " + Te);
|
|
60261
|
-
|
|
60261
|
+
fe.apply(nt, Te[wt]);
|
|
60262
60262
|
}
|
|
60263
60263
|
return nt;
|
|
60264
60264
|
}, we = (Te, nt) => je(q(Te, nt)), le = (Te, nt) => {
|
|
@@ -60268,7 +60268,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60268
60268
|
return ln;
|
|
60269
60269
|
}
|
|
60270
60270
|
return j.none();
|
|
60271
|
-
}, Rt = (Te, nt, wt = Z) => Te.exists((ln) => wt(ln, nt)),
|
|
60271
|
+
}, Rt = (Te, nt, wt = Z) => Te.exists((ln) => wt(ln, nt)), me = (Te) => {
|
|
60272
60272
|
const nt = [], wt = (ln) => {
|
|
60273
60273
|
nt.push(ln);
|
|
60274
60274
|
};
|
|
@@ -60697,7 +60697,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60697
60697
|
ln,
|
|
60698
60698
|
ge,
|
|
60699
60699
|
xe,
|
|
60700
|
-
|
|
60700
|
+
me([
|
|
60701
60701
|
qn.anchor.map(qo.createUi("anchor", "Anchors")),
|
|
60702
60702
|
qn.rels.map(qo.createUi("rel", "Rel")),
|
|
60703
60703
|
qn.targets.map(qo.createUi("target", "Open link in...")),
|
|
@@ -60969,15 +60969,15 @@ tinymce.addI18n("zh_CN", {
|
|
|
60969
60969
|
};
|
|
60970
60970
|
}
|
|
60971
60971
|
const j = (H) => (te) => !H(te), F = G(!1);
|
|
60972
|
-
class
|
|
60972
|
+
class fe {
|
|
60973
60973
|
constructor(te, ye) {
|
|
60974
60974
|
this.tag = te, this.value = ye;
|
|
60975
60975
|
}
|
|
60976
60976
|
static some(te) {
|
|
60977
|
-
return new
|
|
60977
|
+
return new fe(!0, te);
|
|
60978
60978
|
}
|
|
60979
60979
|
static none() {
|
|
60980
|
-
return
|
|
60980
|
+
return fe.singletonNone;
|
|
60981
60981
|
}
|
|
60982
60982
|
fold(te, ye) {
|
|
60983
60983
|
return this.tag ? ye(this.value) : te();
|
|
@@ -60989,10 +60989,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
60989
60989
|
return !this.tag;
|
|
60990
60990
|
}
|
|
60991
60991
|
map(te) {
|
|
60992
|
-
return this.tag ?
|
|
60992
|
+
return this.tag ? fe.some(te(this.value)) : fe.none();
|
|
60993
60993
|
}
|
|
60994
60994
|
bind(te) {
|
|
60995
|
-
return this.tag ? te(this.value) :
|
|
60995
|
+
return this.tag ? te(this.value) : fe.none();
|
|
60996
60996
|
}
|
|
60997
60997
|
exists(te) {
|
|
60998
60998
|
return this.tag && te(this.value);
|
|
@@ -61001,7 +61001,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61001
61001
|
return !this.tag || te(this.value);
|
|
61002
61002
|
}
|
|
61003
61003
|
filter(te) {
|
|
61004
|
-
return !this.tag || te(this.value) ? this :
|
|
61004
|
+
return !this.tag || te(this.value) ? this : fe.none();
|
|
61005
61005
|
}
|
|
61006
61006
|
getOr(te) {
|
|
61007
61007
|
return this.tag ? this.value : te;
|
|
@@ -61021,7 +61021,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61021
61021
|
throw new Error(te ?? "Called getOrDie on None");
|
|
61022
61022
|
}
|
|
61023
61023
|
static from(te) {
|
|
61024
|
-
return A(te) ?
|
|
61024
|
+
return A(te) ? fe.some(te) : fe.none();
|
|
61025
61025
|
}
|
|
61026
61026
|
getOrNull() {
|
|
61027
61027
|
return this.tag ? this.value : null;
|
|
@@ -61039,7 +61039,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61039
61039
|
return this.tag ? `some(${this.value})` : "none()";
|
|
61040
61040
|
}
|
|
61041
61041
|
}
|
|
61042
|
-
|
|
61042
|
+
fe.singletonNone = new fe(!1);
|
|
61043
61043
|
const Ke = Array.prototype.slice, Re = Array.prototype.indexOf, q = Array.prototype.push, Ee = (H, te) => Re.call(H, te), et = (H, te) => Ee(H, te) > -1, je = (H, te) => {
|
|
61044
61044
|
for (let ye = 0, it = H.length; ye < it; ye++) {
|
|
61045
61045
|
const mt = H[ye];
|
|
@@ -61066,7 +61066,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61066
61066
|
te(Nn, it) && ye.push(Nn);
|
|
61067
61067
|
}
|
|
61068
61068
|
return ye;
|
|
61069
|
-
},
|
|
61069
|
+
}, me = (H, te) => {
|
|
61070
61070
|
if (H.length === 0)
|
|
61071
61071
|
return [];
|
|
61072
61072
|
{
|
|
@@ -61085,11 +61085,11 @@ tinymce.addI18n("zh_CN", {
|
|
|
61085
61085
|
for (let it = 0, mt = H.length; it < mt; it++) {
|
|
61086
61086
|
const Nn = H[it];
|
|
61087
61087
|
if (te(Nn, it))
|
|
61088
|
-
return
|
|
61088
|
+
return fe.some(Nn);
|
|
61089
61089
|
if (ye(Nn, it))
|
|
61090
61090
|
break;
|
|
61091
61091
|
}
|
|
61092
|
-
return
|
|
61092
|
+
return fe.none();
|
|
61093
61093
|
}, _e = (H, te) => O(H, te, F), ie = (H) => {
|
|
61094
61094
|
const te = [];
|
|
61095
61095
|
for (let ye = 0, it = H.length; ye < it; ++ye) {
|
|
@@ -61101,14 +61101,14 @@ tinymce.addI18n("zh_CN", {
|
|
|
61101
61101
|
}, Ve = (H, te) => ie(we(H, te)), Ge = (H) => {
|
|
61102
61102
|
const te = Ke.call(H, 0);
|
|
61103
61103
|
return te.reverse(), te;
|
|
61104
|
-
}, de = (H, te) => te >= 0 && te < H.length ?
|
|
61104
|
+
}, de = (H, te) => te >= 0 && te < H.length ? fe.some(H[te]) : fe.none(), Ue = (H) => de(H, 0), Ct = (H) => de(H, H.length - 1), He = (H, te) => {
|
|
61105
61105
|
const ye = [], it = $(te) ? (mt) => je(ye, (Nn) => te(Nn, mt)) : (mt) => et(ye, mt);
|
|
61106
61106
|
for (let mt = 0, Nn = H.length; mt < Nn; mt++) {
|
|
61107
61107
|
const Zo = H[mt];
|
|
61108
61108
|
it(Zo) || ye.push(Zo);
|
|
61109
61109
|
}
|
|
61110
61110
|
return ye;
|
|
61111
|
-
}, pt = (H, te, ye = X) => H.exists((it) => ye(it, te)), Pe = (H, te, ye = X) => gt(H, te, ye).getOr(H.isNone() && te.isNone()), gt = (H, te, ye) => H.isSome() && te.isSome() ?
|
|
61111
|
+
}, pt = (H, te, ye = X) => H.exists((it) => ye(it, te)), Pe = (H, te, ye = X) => gt(H, te, ye).getOr(H.isNone() && te.isNone()), gt = (H, te, ye) => H.isSome() && te.isSome() ? fe.some(ye(H.getOrDie(), te.getOrDie())) : fe.none(), ne = 8, yn = 11, vt = 1, _t = 3, qt = (H, te) => {
|
|
61112
61112
|
const it = (te || document).createElement("div");
|
|
61113
61113
|
if (it.innerHTML = H, !it.hasChildNodes() || it.childNodes.length > 1) {
|
|
61114
61114
|
const mt = "HTML does not have a single root node";
|
|
@@ -61130,7 +61130,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61130
61130
|
fromTag: Tt,
|
|
61131
61131
|
fromText: ee,
|
|
61132
61132
|
fromDom: ae,
|
|
61133
|
-
fromPoint: (H, te, ye) =>
|
|
61133
|
+
fromPoint: (H, te, ye) => fe.from(H.dom.elementFromPoint(te, ye)).map(ae)
|
|
61134
61134
|
}, Ce = (H, te) => {
|
|
61135
61135
|
const ye = H.dom;
|
|
61136
61136
|
if (ye.nodeType !== vt)
|
|
@@ -61166,12 +61166,12 @@ tinymce.addI18n("zh_CN", {
|
|
|
61166
61166
|
}, jt = Object.getPrototypeOf, _n = (H) => $t("HTMLElement", H), Rn = (H) => {
|
|
61167
61167
|
const te = Ht("ownerDocument.defaultView", H);
|
|
61168
61168
|
return v(H) && (_n(te).prototype.isPrototypeOf(H) || /^HTML\w*Element$/.test(jt(H).constructor.name));
|
|
61169
|
-
}, No = (H) => H.dom.nodeName.toLowerCase(), lo = (H) => H.dom.nodeType, Ft = (H) => (te) => lo(te) === H, vn = (H) => lo(H) === ne || No(H) === "#comment", mn = (H) => Vn(H) && Rn(H.dom), Vn = Ft(vt), Mo = Ft(_t), Vo = Ft(yn), Es = (H) => (te) => Vn(te) && No(te) === H, $o = (H) =>
|
|
61169
|
+
}, No = (H) => H.dom.nodeName.toLowerCase(), lo = (H) => H.dom.nodeType, Ft = (H) => (te) => lo(te) === H, vn = (H) => lo(H) === ne || No(H) === "#comment", mn = (H) => Vn(H) && Rn(H.dom), Vn = Ft(vt), Mo = Ft(_t), Vo = Ft(yn), Es = (H) => (te) => Vn(te) && No(te) === H, $o = (H) => fe.from(H.dom.parentNode).map(K.fromDom), Ys = (H) => fe.from(H.dom.parentElement).map(K.fromDom), wn = (H) => fe.from(H.dom.nextSibling).map(K.fromDom), Yo = (H) => we(H.dom.childNodes, K.fromDom), sr = (H, te) => {
|
|
61170
61170
|
const ye = H.dom.childNodes;
|
|
61171
|
-
return
|
|
61171
|
+
return fe.from(ye[te]).map(K.fromDom);
|
|
61172
61172
|
}, tr = (H) => sr(H, 0), Ur = (H) => sr(H, H.dom.childNodes.length - 1), Nr = (H) => Vo(H) && A(H.dom.host), Bs = (H) => K.fromDom(H.dom.getRootNode()), Mr = (H) => {
|
|
61173
61173
|
const te = Bs(H);
|
|
61174
|
-
return Nr(te) ?
|
|
61174
|
+
return Nr(te) ? fe.some(te) : fe.none();
|
|
61175
61175
|
}, qr = (H) => K.fromDom(H.dom.host), Ts = (H) => {
|
|
61176
61176
|
const te = Mo(H) ? H.dom.parentNode : H.dom;
|
|
61177
61177
|
if (te == null || te.ownerDocument === null)
|
|
@@ -61179,7 +61179,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61179
61179
|
const ye = te.ownerDocument;
|
|
61180
61180
|
return Mr(K.fromDom(te)).fold(() => ye.body.contains(te), W(Ts, qr));
|
|
61181
61181
|
};
|
|
61182
|
-
var So = (H, te, ye, it, mt) => H(ye, it) ?
|
|
61182
|
+
var So = (H, te, ye, it, mt) => H(ye, it) ? fe.some(ye) : $(mt) && mt(ye) ? fe.none() : te(ye, it, mt);
|
|
61183
61183
|
const Ws = (H, te, ye) => {
|
|
61184
61184
|
let it = H.dom;
|
|
61185
61185
|
const mt = $(ye) ? ye : F;
|
|
@@ -61187,11 +61187,11 @@ tinymce.addI18n("zh_CN", {
|
|
|
61187
61187
|
it = it.parentNode;
|
|
61188
61188
|
const Nn = K.fromDom(it);
|
|
61189
61189
|
if (te(Nn))
|
|
61190
|
-
return
|
|
61190
|
+
return fe.some(Nn);
|
|
61191
61191
|
if (mt(Nn))
|
|
61192
61192
|
break;
|
|
61193
61193
|
}
|
|
61194
|
-
return
|
|
61194
|
+
return fe.none();
|
|
61195
61195
|
}, Dt = (H, te, ye) => So((mt, Nn) => Nn(mt), Ws, H, te, ye), Kt = (H, te, ye) => Ws(H, (it) => Ce(it, te), ye), Kn = (H, te, ye) => So((mt, Nn) => Ce(mt, Nn), Kt, H, te, ye), bo = (H) => Kn(H, "[contenteditable]"), qo = (H, te = !1) => Ts(H) ? H.dom.isContentEditable : bo(H).fold(G(te), (ye) => hs(ye) === "true"), hs = (H) => H.dom.contentEditable, Er = (H, te) => {
|
|
61196
61196
|
$o(H).each((it) => {
|
|
61197
61197
|
it.dom.insertBefore(te.dom, H.dom);
|
|
@@ -61462,8 +61462,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
61462
61462
|
const it = Sl(H, ye, ye.depth - te.length);
|
|
61463
61463
|
return ys(it), Vi(it, ye), xr(te, it), te.concat(it);
|
|
61464
61464
|
}, di = (H, te) => {
|
|
61465
|
-
let ye =
|
|
61466
|
-
const it = ve(te, (mt, Nn, Zo) => Lu(Nn) ? Zo === 0 ? (ye =
|
|
61465
|
+
let ye = fe.none();
|
|
61466
|
+
const it = ve(te, (mt, Nn, Zo) => Lu(Nn) ? Zo === 0 ? (ye = fe.some(Nn), mt) : $i(H, mt, Nn) : Nn.depth > mt.length ? va(H, mt, Nn) : $i(H, mt, Nn), []);
|
|
61467
61467
|
return ye.each((mt) => {
|
|
61468
61468
|
const Nn = K.fromHtml(`<!--${mt.content}-->`);
|
|
61469
61469
|
Ue(it).each((Zo) => {
|
|
@@ -61557,7 +61557,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61557
61557
|
}, Hu = (H, te) => {
|
|
61558
61558
|
const ye = Af(te);
|
|
61559
61559
|
return di(H.contentDocument, ye).toArray();
|
|
61560
|
-
}, nh = (H, te) => Ve(
|
|
61560
|
+
}, nh = (H, te) => Ve(me(te, We), (ye) => Ue(ye).exists(We) ? Hu(H, ye) : b1(H, ye)), Of = (H, te) => {
|
|
61561
61561
|
le(Rt(H, zt), (ye) => gr(te, ye));
|
|
61562
61562
|
}, oh = (H) => {
|
|
61563
61563
|
const te = we(ge(H), K.fromDom);
|
|
@@ -61656,8 +61656,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
61656
61656
|
let mc;
|
|
61657
61657
|
for (; mc = Ta[Pc](); )
|
|
61658
61658
|
if (!(Sr(H, mc) || Nf(mc.textContent) || ((sa = mc.textContent) === null || sa === void 0 ? void 0 : sa.length) === 0))
|
|
61659
|
-
return
|
|
61660
|
-
return
|
|
61659
|
+
return fe.some(mc);
|
|
61660
|
+
return fe.none();
|
|
61661
61661
|
};
|
|
61662
61662
|
if (ye && ts(mt))
|
|
61663
61663
|
if (Nf(mt.textContent))
|
|
@@ -61830,7 +61830,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61830
61830
|
}, cg = (H, te) => {
|
|
61831
61831
|
const ye = te.childNodes;
|
|
61832
61832
|
return ye.length === 1 && !ps(ye[0]) && H.isBlock(ye[0]);
|
|
61833
|
-
}, Vu = (H) =>
|
|
61833
|
+
}, Vu = (H) => fe.from(H).map(K.fromDom).filter(mn).exists((te) => qo(te) && !et(["details"], No(te))), oa = (H, te) => {
|
|
61834
61834
|
cg(H, te) && Vu(te.firstChild) && H.remove(te.firstChild, !0);
|
|
61835
61835
|
}, fi = (H, te, ye) => {
|
|
61836
61836
|
let it;
|
|
@@ -61952,27 +61952,27 @@ tinymce.addI18n("zh_CN", {
|
|
|
61952
61952
|
}, Kl = (H) => /^[A-Z]+$/.test(H), Il = (H) => /^[a-z]+$/.test(H), fc = (H) => /^[0-9]+$/.test(H), Si = (H) => fc(H) ? 2 : Kl(H) ? 0 : Il(H) ? 1 : Na(H) ? 3 : 4, xl = (H) => {
|
|
61953
61953
|
switch (Si(H)) {
|
|
61954
61954
|
case 2:
|
|
61955
|
-
return
|
|
61956
|
-
listStyleType:
|
|
61955
|
+
return fe.some({
|
|
61956
|
+
listStyleType: fe.none(),
|
|
61957
61957
|
start: H
|
|
61958
61958
|
});
|
|
61959
61959
|
case 0:
|
|
61960
|
-
return
|
|
61961
|
-
listStyleType:
|
|
61960
|
+
return fe.some({
|
|
61961
|
+
listStyleType: fe.some("upper-alpha"),
|
|
61962
61962
|
start: Pa(H).toString()
|
|
61963
61963
|
});
|
|
61964
61964
|
case 1:
|
|
61965
|
-
return
|
|
61966
|
-
listStyleType:
|
|
61965
|
+
return fe.some({
|
|
61966
|
+
listStyleType: fe.some("lower-alpha"),
|
|
61967
61967
|
start: Pa(H).toString()
|
|
61968
61968
|
});
|
|
61969
61969
|
case 3:
|
|
61970
|
-
return
|
|
61971
|
-
listStyleType:
|
|
61970
|
+
return fe.some({
|
|
61971
|
+
listStyleType: fe.none(),
|
|
61972
61972
|
start: ""
|
|
61973
61973
|
});
|
|
61974
61974
|
case 4:
|
|
61975
|
-
return
|
|
61975
|
+
return fe.none();
|
|
61976
61976
|
}
|
|
61977
61977
|
}, Rc = (H) => {
|
|
61978
61978
|
const te = parseInt(H.start, 10);
|
|
@@ -61993,7 +61993,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61993
61993
|
initialData: {
|
|
61994
61994
|
start: Rc({
|
|
61995
61995
|
start: H.dom.getAttrib(te, "start", "1"),
|
|
61996
|
-
listStyleType:
|
|
61996
|
+
listStyleType: fe.from(H.dom.getStyle(te, "list-style-type"))
|
|
61997
61997
|
})
|
|
61998
61998
|
},
|
|
61999
61999
|
buttons: [
|
|
@@ -62211,7 +62211,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
62211
62211
|
const It = Oe[qe], Cn = at[It];
|
|
62212
62212
|
ot(Cn, It);
|
|
62213
62213
|
}
|
|
62214
|
-
}, Z = (at, ot) => j(at, ot) ? _.from(at[ot]) : _.none(), j = (at, ot) => G.call(at, ot), F = (at) => (ot) => ot.options.get(at),
|
|
62214
|
+
}, Z = (at, ot) => j(at, ot) ? _.from(at[ot]) : _.none(), j = (at, ot) => G.call(at, ot), F = (at) => (ot) => ot.options.get(at), fe = (at) => {
|
|
62215
62215
|
const ot = at.options.register;
|
|
62216
62216
|
ot("audio_template_callback", { processor: "function" }), ot("video_template_callback", { processor: "function" }), ot("iframe_template_callback", { processor: "function" }), ot("media_live_embeds", {
|
|
62217
62217
|
processor: "boolean",
|
|
@@ -62230,7 +62230,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
62230
62230
|
default: !0
|
|
62231
62231
|
});
|
|
62232
62232
|
}, Ke = F("audio_template_callback"), Re = F("video_template_callback"), q = F("iframe_template_callback"), Ee = F("media_live_embeds"), et = F("media_filter_html"), je = F("media_url_resolver"), we = F("media_alt_source"), le = F("media_poster"), Rt = F("media_dimensions");
|
|
62233
|
-
var
|
|
62233
|
+
var me = tinymce.util.Tools.resolve("tinymce.util.Tools"), ve = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), O = tinymce.util.Tools.resolve("tinymce.html.DomParser");
|
|
62234
62234
|
const _e = ve.DOM, ie = (at) => at.replace(/px$/, ""), Ve = (at) => {
|
|
62235
62235
|
const ot = at.attr("style"), Oe = ot ? _e.parseStyle(ot) : {};
|
|
62236
62236
|
return {
|
|
@@ -62254,7 +62254,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
62254
62254
|
Oe = Ve(It);
|
|
62255
62255
|
break;
|
|
62256
62256
|
} else
|
|
62257
|
-
!Oe.source && Cn === "param" && (Oe.source = It.attr("movie")), (Cn === "iframe" || Cn === "object" || Cn === "embed" || Cn === "video" || Cn === "audio") && (Oe.type || (Oe.type = Cn), Oe =
|
|
62257
|
+
!Oe.source && Cn === "param" && (Oe.source = It.attr("movie")), (Cn === "iframe" || Cn === "object" || Cn === "embed" || Cn === "video" || Cn === "audio") && (Oe.type || (Oe.type = Cn), Oe = me.extend(It.attributes.map, Oe)), Cn === "source" && (Oe.source ? Oe.altsource || (Oe.altsource = It.attr("src")) : Oe.source = It.attr("src")), Cn === "img" && !Oe.poster && (Oe.poster = It.attr("src"));
|
|
62258
62258
|
}
|
|
62259
62259
|
return Oe.source = Oe.source || Oe.src || "", Oe.altsource = Oe.altsource || "", Oe.poster = Oe.poster || "", Oe;
|
|
62260
62260
|
}, de = (at) => {
|
|
@@ -62431,7 +62431,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
62431
62431
|
return Mt.replace(/\?$/, "");
|
|
62432
62432
|
}, Tt = (at) => {
|
|
62433
62433
|
const ot = vt.filter((Oe) => Oe.regex.test(at));
|
|
62434
|
-
return ot.length > 0 ?
|
|
62434
|
+
return ot.length > 0 ? me.extend({}, ot[0], { url: qt(ot[0], at) }) : null;
|
|
62435
62435
|
}, ee = (at, ot) => {
|
|
62436
62436
|
if (ot)
|
|
62437
62437
|
return ot(at);
|
|
@@ -62449,8 +62449,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
62449
62449
|
` + (at.altsource ? '<source src="' + at.altsource + '"' + (at.altsourcemime ? ' type="' + at.altsourcemime + '"' : "") + ` />
|
|
62450
62450
|
` : "") + "</video>", Ce = (at, ot) => {
|
|
62451
62451
|
var Oe;
|
|
62452
|
-
const qe =
|
|
62453
|
-
if (!qe.source && (
|
|
62452
|
+
const qe = me.extend({}, ot);
|
|
62453
|
+
if (!qe.source && (me.extend(qe, Ge((Oe = qe.embed) !== null && Oe !== void 0 ? Oe : "", at.schema)), !qe.source))
|
|
62454
62454
|
return "";
|
|
62455
62455
|
qe.altsource || (qe.altsource = ""), qe.poster || (qe.poster = ""), qe.source = at.convertURL(qe.source, "source"), qe.altsource = at.convertURL(qe.altsource, "source"), qe.sourcemime = de(qe.source), qe.altsourcemime = de(qe.altsource), qe.poster = at.convertURL(qe.poster, "poster");
|
|
62456
62456
|
const Mt = Tt(qe.source);
|
|
@@ -62458,7 +62458,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
62458
62458
|
return yn(qe.embed, qe, !0, at.schema);
|
|
62459
62459
|
{
|
|
62460
62460
|
const It = Ke(at), Cn = Re(at), Tn = q(at);
|
|
62461
|
-
return qe.width = qe.width || "300", qe.height = qe.height || "150",
|
|
62461
|
+
return qe.width = qe.width || "300", qe.height = qe.height || "150", me.each(qe, (Nt, kt) => {
|
|
62462
62462
|
qe[kt] = at.dom.encode("" + Nt);
|
|
62463
62463
|
}), qe.type === "iframe" ? ee(qe, Tn) : qe.sourcemime === "application/x-shockwave-flash" ? ae(qe) : qe.sourcemime.indexOf("audio") !== -1 ? ue(qe, It) : K(qe, Cn);
|
|
62464
62464
|
}
|
|
@@ -62871,7 +62871,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
62871
62871
|
});
|
|
62872
62872
|
};
|
|
62873
62873
|
var br = () => {
|
|
62874
|
-
o.add("media", (at) => (
|
|
62874
|
+
o.add("media", (at) => (fe(at), Yo(at), Tr(at), hs(at), qo(at), Fe(at), wn(at)));
|
|
62875
62875
|
};
|
|
62876
62876
|
br();
|
|
62877
62877
|
})();
|
|
@@ -62897,11 +62897,11 @@ tinymce.addI18n("zh_CN", {
|
|
|
62897
62897
|
});
|
|
62898
62898
|
}, v = f("nonbreaking_force_tab"), w = f("nonbreaking_wrap"), C = (Z, j) => {
|
|
62899
62899
|
let F = "";
|
|
62900
|
-
for (let
|
|
62900
|
+
for (let fe = 0; fe < j; fe++)
|
|
62901
62901
|
F += Z;
|
|
62902
62902
|
return F;
|
|
62903
62903
|
}, _ = (Z) => Z.plugins.visualchars ? Z.plugins.visualchars.isEnabled() : !1, A = (Z, j) => {
|
|
62904
|
-
const F = () => _(Z) ? "mce-nbsp-wrap mce-nbsp" : "mce-nbsp-wrap",
|
|
62904
|
+
const F = () => _(Z) ? "mce-nbsp-wrap mce-nbsp" : "mce-nbsp-wrap", fe = () => `<span class="${F()}" contenteditable="false">${C(" ", j)}</span>`, Re = w(Z) || Z.plugins.visualchars ? fe() : C(" ", j);
|
|
62905
62905
|
Z.undoManager.transact(() => Z.insertContent(Re));
|
|
62906
62906
|
}, $ = (Z) => {
|
|
62907
62907
|
Z.addCommand("mceNonBreaking", () => {
|
|
@@ -62966,15 +62966,15 @@ tinymce.addI18n("zh_CN", {
|
|
|
62966
62966
|
j.content = j.content.replace(Z, w(X()));
|
|
62967
62967
|
}), W.on("PreInit", () => {
|
|
62968
62968
|
W.serializer.addNodeFilter("img", (j) => {
|
|
62969
|
-
let F = j.length,
|
|
62969
|
+
let F = j.length, fe, Ke;
|
|
62970
62970
|
for (; F--; )
|
|
62971
|
-
if (
|
|
62972
|
-
const Re =
|
|
62971
|
+
if (fe = j[F], Ke = fe.attr("class"), Ke && Ke.indexOf(v) !== -1) {
|
|
62972
|
+
const Re = fe.parent;
|
|
62973
62973
|
if (Re && W.schema.getBlockElements()[Re.name] && X()) {
|
|
62974
|
-
Re.type = 3, Re.value = G, Re.raw = !0,
|
|
62974
|
+
Re.type = 3, Re.value = G, Re.raw = !0, fe.remove();
|
|
62975
62975
|
continue;
|
|
62976
62976
|
}
|
|
62977
|
-
|
|
62977
|
+
fe.type = 3, fe.value = G, fe.raw = !0;
|
|
62978
62978
|
}
|
|
62979
62979
|
});
|
|
62980
62980
|
});
|
|
@@ -63156,16 +63156,16 @@ tinymce.addI18n("zh_CN", {
|
|
|
63156
63156
|
current: Mo.name,
|
|
63157
63157
|
version: j.nu(parseInt(mn.version, 10), 0)
|
|
63158
63158
|
}));
|
|
63159
|
-
}),
|
|
63159
|
+
}), fe = (Ft, vn) => {
|
|
63160
63160
|
const mn = String(vn).toLowerCase();
|
|
63161
63161
|
return _(Ft, (Vn) => Vn.search(mn));
|
|
63162
|
-
}, Ke = (Ft, vn) =>
|
|
63162
|
+
}, Ke = (Ft, vn) => fe(Ft, vn).map((mn) => {
|
|
63163
63163
|
const Vn = j.detect(mn.versionRegexes, vn);
|
|
63164
63164
|
return {
|
|
63165
63165
|
current: mn.name,
|
|
63166
63166
|
version: Vn
|
|
63167
63167
|
};
|
|
63168
|
-
}), Re = (Ft, vn) =>
|
|
63168
|
+
}), Re = (Ft, vn) => fe(Ft, vn).map((mn) => {
|
|
63169
63169
|
const Vn = j.detect(mn.versionRegexes, vn);
|
|
63170
63170
|
return {
|
|
63171
63171
|
current: mn.name,
|
|
@@ -63266,7 +63266,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63266
63266
|
], le = {
|
|
63267
63267
|
browsers: v(je),
|
|
63268
63268
|
oses: v(we)
|
|
63269
|
-
}, Rt = "Edge",
|
|
63269
|
+
}, Rt = "Edge", me = "Chromium", ve = "IE", O = "Opera", _e = "Firefox", ie = "Safari", Ve = () => Ge({
|
|
63270
63270
|
current: void 0,
|
|
63271
63271
|
version: j.unknown()
|
|
63272
63272
|
}), Ge = (Ft) => {
|
|
@@ -63275,7 +63275,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63275
63275
|
current: vn,
|
|
63276
63276
|
version: mn,
|
|
63277
63277
|
isEdge: Vn(Rt),
|
|
63278
|
-
isChromium: Vn(
|
|
63278
|
+
isChromium: Vn(me),
|
|
63279
63279
|
isIE: Vn(ve),
|
|
63280
63280
|
isOpera: Vn(O),
|
|
63281
63281
|
isFirefox: Vn(_e),
|
|
@@ -63285,7 +63285,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63285
63285
|
unknown: Ve,
|
|
63286
63286
|
nu: Ge,
|
|
63287
63287
|
edge: v(Rt),
|
|
63288
|
-
chromium: v(
|
|
63288
|
+
chromium: v(me),
|
|
63289
63289
|
ie: v(ve),
|
|
63290
63290
|
opera: v(O),
|
|
63291
63291
|
firefox: v(_e),
|
|
@@ -63463,7 +63463,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63463
63463
|
}, $ = (Tt) => {
|
|
63464
63464
|
const ee = typeof Tt;
|
|
63465
63465
|
return Tt === null ? "null" : ee === "object" && Array.isArray(Tt) ? "array" : ee === "object" && A(Tt, String, (ae, ue) => ue.isPrototypeOf(ae)) ? "string" : ee;
|
|
63466
|
-
}, R = (Tt) => (ee) => $(ee) === Tt, I = (Tt) => (ee) => typeof ee === Tt, W = R("string"), G = I("boolean"), X = (Tt) => Tt == null, Z = (Tt) => !X(Tt), j = I("function"), F = (Tt) => (ee) => ee.options.get(Tt),
|
|
63466
|
+
}, R = (Tt) => (ee) => $(ee) === Tt, I = (Tt) => (ee) => typeof ee === Tt, W = R("string"), G = I("boolean"), X = (Tt) => Tt == null, Z = (Tt) => !X(Tt), j = I("function"), F = (Tt) => (ee) => ee.options.get(Tt), fe = (Tt) => {
|
|
63467
63467
|
const ee = Tt.options.register, ae = (Be) => (Fe) => {
|
|
63468
63468
|
const yt = G(Fe) || W(Fe);
|
|
63469
63469
|
return yt ? G(Fe) ? {
|
|
@@ -63575,7 +63575,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63575
63575
|
}
|
|
63576
63576
|
}
|
|
63577
63577
|
we.singletonNone = new we(!1), typeof window < "u" || Function("return this;")();
|
|
63578
|
-
const le = 1, Rt = (Tt) => Tt.dom.nodeName.toLowerCase(),
|
|
63578
|
+
const le = 1, Rt = (Tt) => Tt.dom.nodeName.toLowerCase(), me = (Tt, ee) => {
|
|
63579
63579
|
const ae = Tt.dom;
|
|
63580
63580
|
return ae && ae.hasAttribute ? ae.hasAttribute(ee) : !1;
|
|
63581
63581
|
};
|
|
@@ -63636,7 +63636,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63636
63636
|
ee.length > 0 && Tt.ui.registry.addContextToolbar("quickblock", {
|
|
63637
63637
|
predicate: (ae) => {
|
|
63638
63638
|
const ue = de.fromDom(ae), K = Tt.schema.getTextBlockElements(), Ce = (Be) => Be.dom === Tt.getBody();
|
|
63639
|
-
return !
|
|
63639
|
+
return !me(ue, "data-mce-bogus") && gt(ue, 'table,[data-mce-bogus="all"]', Ce).fold(() => pt(ue, (Be) => Rt(Be) in K && Tt.dom.isEmpty(Be.dom), Ce), je);
|
|
63640
63640
|
},
|
|
63641
63641
|
items: ee,
|
|
63642
63642
|
position: "line",
|
|
@@ -63662,7 +63662,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63662
63662
|
};
|
|
63663
63663
|
var qt = () => {
|
|
63664
63664
|
o.add("quickbars", (Tt) => {
|
|
63665
|
-
|
|
63665
|
+
fe(Tt), _(Tt), Ee(Tt), ne(Tt), _t(Tt);
|
|
63666
63666
|
});
|
|
63667
63667
|
};
|
|
63668
63668
|
qt();
|
|
@@ -63825,7 +63825,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63825
63825
|
}
|
|
63826
63826
|
Z.singletonNone = new Z(!1);
|
|
63827
63827
|
const j = X;
|
|
63828
|
-
var F = tinymce.util.Tools.resolve("tinymce.Env"),
|
|
63828
|
+
var F = tinymce.util.Tools.resolve("tinymce.Env"), fe = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
63829
63829
|
const Ke = Array.prototype.slice, Re = Array.prototype.push, q = (Xe, tt) => {
|
|
63830
63830
|
const Gt = Xe.length, an = new Array(Gt);
|
|
63831
63831
|
for (let Ln = 0; Ln < Gt; Ln++) {
|
|
@@ -63866,7 +63866,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63866
63866
|
Re.apply(tt, Xe[Gt]);
|
|
63867
63867
|
}
|
|
63868
63868
|
return tt;
|
|
63869
|
-
}, Rt = (Xe, tt) => le(q(Xe, tt)),
|
|
63869
|
+
}, Rt = (Xe, tt) => le(q(Xe, tt)), me = (Xe, tt) => {
|
|
63870
63870
|
const Gt = Ke.call(Xe, 0);
|
|
63871
63871
|
return Gt.sort(tt), Gt;
|
|
63872
63872
|
}, ve = Object.hasOwnProperty, O = (Xe, tt) => ve.call(Xe, tt);
|
|
@@ -63991,7 +63991,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
63991
63991
|
const Ro = xo.dom;
|
|
63992
63992
|
return Es(Xe, Ro, Ro);
|
|
63993
63993
|
});
|
|
63994
|
-
return
|
|
63994
|
+
return me(Jn, (xo, Ro) => En(xo.elements[0].dom, Ro.elements[0].dom) ? 1 : -1);
|
|
63995
63995
|
}
|
|
63996
63996
|
}, !1);
|
|
63997
63997
|
}, Ys = (Xe, tt) => tt.collapsed ? [] : $o(Xe, tt), wn = (Xe, tt) => {
|
|
@@ -64063,7 +64063,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64063
64063
|
const Gt = Xe.parentNode;
|
|
64064
64064
|
Xe.firstChild && Gt.insertBefore(Xe.firstChild, Xe), (tt = Xe.parentNode) === null || tt === void 0 || tt.removeChild(Xe);
|
|
64065
64065
|
}, Ws = (Xe, tt) => {
|
|
64066
|
-
const Gt = [], an =
|
|
64066
|
+
const Gt = [], an = fe.toArray(Xe.getBody().getElementsByTagName("span"));
|
|
64067
64067
|
if (an.length)
|
|
64068
64068
|
for (let Ln = 0; Ln < an.length; Ln++) {
|
|
64069
64069
|
const Xn = qr(an[Ln]);
|
|
@@ -64119,7 +64119,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64119
64119
|
const Xn = tt.get(), no = Xn.index;
|
|
64120
64120
|
let Jn, xo = no;
|
|
64121
64121
|
an = an !== !1;
|
|
64122
|
-
const Ro = Xe.getBody(), rs =
|
|
64122
|
+
const Ro = Xe.getBody(), rs = fe.grep(fe.toArray(Ro.getElementsByTagName("span")), Er);
|
|
64123
64123
|
for (let Zs = 0; Zs < rs.length; Zs++) {
|
|
64124
64124
|
const Ls = qr(rs[Zs]);
|
|
64125
64125
|
let wi = Jn = parseInt(Ls, 10);
|
|
@@ -64141,7 +64141,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64141
64141
|
}), an ? qo(Xe, tt) : hs(Xe, tt), !Ln && tt.get().count > 0;
|
|
64142
64142
|
}, br = (Xe, tt, Gt) => {
|
|
64143
64143
|
let an, Ln;
|
|
64144
|
-
const Xn = tt.get(), no =
|
|
64144
|
+
const Xn = tt.get(), no = fe.toArray(Xe.getBody().getElementsByTagName("span"));
|
|
64145
64145
|
for (let Jn = 0; Jn < no.length; Jn++) {
|
|
64146
64146
|
const xo = qr(no[Jn]);
|
|
64147
64147
|
xo !== null && xo.length && (xo === Xn.index.toString() && (an || (an = no[Jn].firstChild), Ln = no[Jn].firstChild), So(no[Jn]));
|
|
@@ -64183,7 +64183,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64183
64183
|
}, It = (Xe, tt) => {
|
|
64184
64184
|
const Gt = Mt();
|
|
64185
64185
|
Xe.undoManager.add();
|
|
64186
|
-
const an =
|
|
64186
|
+
const an = fe.trim(Xe.selection.getContent({ format: "text" })), Ln = (ts) => {
|
|
64187
64187
|
ts.setEnabled("next", at(Xe, tt)), ts.setEnabled("prev", ot(Xe, tt));
|
|
64188
64188
|
}, Xn = (ts) => {
|
|
64189
64189
|
const fs = ts.getData(), ps = tt.get();
|
|
@@ -64411,7 +64411,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64411
64411
|
return P.apply(null, Ie);
|
|
64412
64412
|
};
|
|
64413
64413
|
}
|
|
64414
|
-
const
|
|
64414
|
+
const fe = (P) => {
|
|
64415
64415
|
P();
|
|
64416
64416
|
}, Ke = X(!1), Re = X(!0);
|
|
64417
64417
|
class q {
|
|
@@ -64500,12 +64500,12 @@ tinymce.addI18n("zh_CN", {
|
|
|
64500
64500
|
}, Rt = (P, U) => {
|
|
64501
64501
|
const pe = {};
|
|
64502
64502
|
return le(P, U, we(pe), W), pe;
|
|
64503
|
-
},
|
|
64503
|
+
}, me = (P, U) => {
|
|
64504
64504
|
const pe = [];
|
|
64505
64505
|
return je(P, (Ie, bt) => {
|
|
64506
64506
|
pe.push(U(Ie, bt));
|
|
64507
64507
|
}), pe;
|
|
64508
|
-
}, ve = (P) =>
|
|
64508
|
+
}, ve = (P) => me(P, Z), O = (P) => Ee(P).length, _e = (P, U) => ie(P, U) ? q.from(P[U]) : q.none(), ie = (P, U) => et.call(P, U), Ve = (P, U) => ie(P, U) && P[U] !== void 0 && P[U] !== null, Ge = (P) => {
|
|
64509
64509
|
for (const U in P)
|
|
64510
64510
|
if (et.call(P, U))
|
|
64511
64511
|
return !1;
|
|
@@ -66086,7 +66086,7 @@ Required: ` + U.join(", "));
|
|
|
66086
66086
|
locked: gp
|
|
66087
66087
|
};
|
|
66088
66088
|
}), _r = () => {
|
|
66089
|
-
U.set(sa(as)()), Ie = U.get().bind(gs), ne(pe.get(),
|
|
66089
|
+
U.set(sa(as)()), Ie = U.get().bind(gs), ne(pe.get(), fe);
|
|
66090
66090
|
}, Cr = (qs) => (qs(), pe.set(pe.get().concat([qs])), () => {
|
|
66091
66091
|
pe.set(_t(pe.get(), (Lr) => Lr !== qs));
|
|
66092
66092
|
}), ma = (qs, Lr) => Cr(() => U.get().fold(() => {
|
|
@@ -66722,8 +66722,8 @@ Required: ` + U.join(", "));
|
|
|
66722
66722
|
Kt(hs, bo) && Kn.push(hs);
|
|
66723
66723
|
}
|
|
66724
66724
|
return Kn;
|
|
66725
|
-
},
|
|
66726
|
-
const Kn =
|
|
66725
|
+
}, fe = Object.keys, Ke = (Dt, Kt) => {
|
|
66726
|
+
const Kn = fe(Dt);
|
|
66727
66727
|
for (let bo = 0, qo = Kn.length; bo < qo; bo++) {
|
|
66728
66728
|
const hs = Kn[bo], Er = Dt[hs];
|
|
66729
66729
|
Kt(Er, hs);
|
|
@@ -66744,7 +66744,7 @@ Required: ` + U.join(", "));
|
|
|
66744
66744
|
}, we = Object.getPrototypeOf, le = (Dt) => je("HTMLElement", Dt), Rt = (Dt) => {
|
|
66745
66745
|
const Kt = Ee("ownerDocument.defaultView", Dt);
|
|
66746
66746
|
return A(Dt) && (le(Kt).prototype.isPrototypeOf(Dt) || /^HTML\w*Element$/.test(we(Dt).constructor.name));
|
|
66747
|
-
},
|
|
66747
|
+
}, me = 1, ve = 3, O = (Dt) => Dt.dom.nodeType, _e = (Dt) => Dt.dom.nodeValue, ie = (Dt) => (Kt) => O(Kt) === Dt, Ve = (Dt) => Ge(Dt) && Rt(Dt.dom), Ge = ie(me), de = ie(ve), Ue = (Dt, Kt, Kn) => {
|
|
66748
66748
|
if (_(Kn) || R(Kn) || G(Kn))
|
|
66749
66749
|
Dt.setAttribute(Kt, Kn + "");
|
|
66750
66750
|
else
|
|
@@ -67010,7 +67010,7 @@ Required: ` + U.join(", "));
|
|
|
67010
67010
|
return !1;
|
|
67011
67011
|
const Be = ee[ae - 1];
|
|
67012
67012
|
return (ue === w.MIDLETTER || ue === w.MIDNUMLET || K === w.AT) && K === w.ALETTER && Be === w.ALETTER || (ue === w.NUMERIC || ue === w.ALETTER) && (K === w.NUMERIC || K === w.ALETTER) || (ue === w.MIDNUM || ue === w.MIDNUMLET) && K === w.NUMERIC && Be === w.NUMERIC || ue === w.NUMERIC && (K === w.MIDNUM || K === w.MIDNUMLET) && Ce === w.NUMERIC || (ue === w.EXTEND || ue === w.FORMAT) && (K === w.ALETTER || K === w.NUMERIC || K === w.KATAKANA || K === w.EXTEND || K === w.FORMAT) || (K === w.EXTEND || K === w.FORMAT && (Ce === w.ALETTER || Ce === w.NUMERIC || Ce === w.KATAKANA || Ce === w.EXTEND || Ce === w.FORMAT)) && (ue === w.ALETTER || ue === w.NUMERIC || ue === w.KATAKANA || ue === w.EXTEND || ue === w.FORMAT) || ue === w.CR && K === w.LF ? !1 : ue === w.NEWLINE || ue === w.CR || ue === w.LF || K === w.NEWLINE || K === w.CR || K === w.LF ? !0 : !(ue === w.KATAKANA && K === w.KATAKANA || K === w.EXTENDNUMLET && (ue === w.ALETTER || ue === w.NUMERIC || ue === w.KATAKANA || ue === w.EXTENDNUMLET) || ue === w.EXTENDNUMLET && (K === w.ALETTER || K === w.NUMERIC || K === w.KATAKANA) || ue === w.AT);
|
|
67013
|
-
}, j = _, F = $,
|
|
67013
|
+
}, j = _, F = $, fe = A, Ke = (ee) => ee === "http" || ee === "https", Re = (ee, ae) => {
|
|
67014
67014
|
let ue;
|
|
67015
67015
|
for (ue = ae; ue < ee.length && !F.test(ee[ue]); ue++)
|
|
67016
67016
|
;
|
|
@@ -67024,7 +67024,7 @@ Required: ` + U.join(", "));
|
|
|
67024
67024
|
for (let yt = 0; yt < ue.length; ++yt)
|
|
67025
67025
|
if (Fe.push(ee[yt]), Z(ue, yt)) {
|
|
67026
67026
|
const Qe = ae[yt];
|
|
67027
|
-
if ((K.includeWhitespace || !F.test(Qe)) && (K.includePunctuation || !
|
|
67027
|
+
if ((K.includeWhitespace || !F.test(Qe)) && (K.includePunctuation || !fe.test(Qe))) {
|
|
67028
67028
|
const St = yt - Fe.length + 1, Ht = yt + 1, En = ae.slice(St, Ht).join(j);
|
|
67029
67029
|
if (Ke(En)) {
|
|
67030
67030
|
const $t = q(ae, yt), jt = ee.slice(Ht, $t);
|
|
@@ -67055,11 +67055,11 @@ Required: ` + U.join(", "));
|
|
|
67055
67055
|
const K = f(ee, ae), Ce = X(K);
|
|
67056
67056
|
return Ee(ee, K, Ce, ue);
|
|
67057
67057
|
}, le = (ee, ae, ue) => je(ee, ae, ue).words, Rt = (ee) => ee.replace(/\uFEFF/g, "");
|
|
67058
|
-
var
|
|
67058
|
+
var me = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
67059
67059
|
const ve = (ee, ae) => {
|
|
67060
67060
|
const ue = ae.getBlockElements(), K = ae.getVoidElements(), Ce = (St) => ue[St.nodeName] || K[St.nodeName], Be = [];
|
|
67061
67061
|
let Fe = "";
|
|
67062
|
-
const yt = new
|
|
67062
|
+
const yt = new me(ee, ee);
|
|
67063
67063
|
let Qe;
|
|
67064
67064
|
for (; Qe = yt.next(); )
|
|
67065
67065
|
Qe.nodeType === 3 ? Fe += Rt(Qe.data) : Ce(Qe) && Fe.length && (Be.push(Fe), Fe = "");
|
|
@@ -67581,7 +67581,7 @@ WR.PluginManager.add("pagesize", (o) => {
|
|
|
67581
67581
|
qe(Tn, It) && Mt.push(Tn);
|
|
67582
67582
|
}
|
|
67583
67583
|
return Mt;
|
|
67584
|
-
},
|
|
67584
|
+
}, fe = (Oe, qe) => ((Mt, It, Cn) => {
|
|
67585
67585
|
for (let Tn = 0, Nt = Mt.length; Tn < Nt; Tn++) {
|
|
67586
67586
|
const kt = Mt[Tn];
|
|
67587
67587
|
if (It(kt, Tn)) return I.some(kt);
|
|
@@ -67614,7 +67614,7 @@ WR.PluginManager.add("pagesize", (o) => {
|
|
|
67614
67614
|
return Ee(qe, (Cn, Tn) => {
|
|
67615
67615
|
It.push(Mt(Cn, Tn));
|
|
67616
67616
|
}), It;
|
|
67617
|
-
})(Oe, A), le = (Oe, qe) => Rt(Oe, qe) ? I.from(Oe[qe]) : I.none(), Rt = (Oe, qe) => q.call(Oe, qe),
|
|
67617
|
+
})(Oe, A), le = (Oe, qe) => Rt(Oe, qe) ? I.from(Oe[qe]) : I.none(), Rt = (Oe, qe) => q.call(Oe, qe), me = (Oe) => {
|
|
67618
67618
|
let qe = Oe;
|
|
67619
67619
|
return { get: () => qe, set: (Mt) => {
|
|
67620
67620
|
qe = Mt;
|
|
@@ -67643,7 +67643,7 @@ WR.PluginManager.add("pagesize", (o) => {
|
|
|
67643
67643
|
})(Oe, Mt);
|
|
67644
67644
|
}, unknown: Ge }, Ct = (Oe, qe) => {
|
|
67645
67645
|
const Mt = String(qe).toLowerCase();
|
|
67646
|
-
return
|
|
67646
|
+
return fe(Oe, (It) => It.search(Mt));
|
|
67647
67647
|
}, He = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, pt = (Oe) => (qe) => ve(qe, Oe), Pe = [{ name: "Edge", versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/], search: (Oe) => ve(Oe, "edge/") && ve(Oe, "chrome") && ve(Oe, "safari") && ve(Oe, "applewebkit") }, { name: "Chromium", brand: "Chromium", versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/, He], search: (Oe) => ve(Oe, "chrome") && !ve(Oe, "chromeframe") }, { name: "IE", versionRegexes: [/.*?msie\ ?([0-9]+)\.([0-9]+).*/, /.*?rv:([0-9]+)\.([0-9]+).*/], search: (Oe) => ve(Oe, "msie") || ve(Oe, "trident") }, { name: "Opera", versionRegexes: [He, /.*?opera\/([0-9]+)\.([0-9]+).*/], search: pt("opera") }, { name: "Firefox", versionRegexes: [/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/], search: pt("firefox") }, { name: "Safari", versionRegexes: [He, /.*?cpu os ([0-9]+)_([0-9]+).*/], search: (Oe) => (ve(Oe, "safari") || ve(Oe, "mobile/")) && ve(Oe, "applewebkit") }], gt = [{ name: "Windows", search: pt("win"), versionRegexes: [/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/] }, { name: "iOS", search: (Oe) => ve(Oe, "iphone") || ve(Oe, "ipad"), versionRegexes: [/.*?version\/\ ?([0-9]+)\.([0-9]+).*/, /.*cpu os ([0-9]+)_([0-9]+).*/, /.*cpu iphone os ([0-9]+)_([0-9]+).*/] }, { name: "Android", search: pt("android"), versionRegexes: [/.*?android\ ?([0-9]+)\.([0-9]+).*/] }, { name: "macOS", search: pt("mac os x"), versionRegexes: [/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/] }, { name: "Linux", search: pt("linux"), versionRegexes: [] }, { name: "Solaris", search: pt("sunos"), versionRegexes: [] }, { name: "FreeBSD", search: pt("freebsd"), versionRegexes: [] }, { name: "ChromeOS", search: pt("cros"), versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/] }], ne = { browsers: _(Pe), oses: _(gt) }, yn = (Oe) => {
|
|
67648
67648
|
const qe = Oe.current, Mt = Oe.version, It = (Cn) => () => qe === Cn;
|
|
67649
67649
|
return { current: qe, version: Mt, isEdge: It("Edge"), isChromium: It("Chromium"), isIE: It("IE"), isOpera: It("Opera"), isFirefox: It("Firefox"), isSafari: It("Safari") };
|
|
@@ -67659,7 +67659,7 @@ WR.PluginManager.add("pagesize", (o) => {
|
|
|
67659
67659
|
return I.none();
|
|
67660
67660
|
})(Gt.brands, (an) => {
|
|
67661
67661
|
const Ln = an.brand.toLowerCase();
|
|
67662
|
-
return
|
|
67662
|
+
return fe(tt, (Xn) => {
|
|
67663
67663
|
var no;
|
|
67664
67664
|
return Ln === ((no = Xn.brand) === null || no === void 0 ? void 0 : no.toLowerCase());
|
|
67665
67665
|
}).map((Xn) => ({ current: Xn.name, version: Ue.nu(parseInt(an.version, 10), 0) }));
|
|
@@ -67821,11 +67821,11 @@ WR.PluginManager.add("pagesize", (o) => {
|
|
|
67821
67821
|
})(tt, kt)).map((tt) => ({ kind: Yo.SubstitutionSchema, formatName: Nt, substitutedVariables: tt }));
|
|
67822
67822
|
var Xe;
|
|
67823
67823
|
})(Oe.formatter, Cn, It).toArray()));
|
|
67824
|
-
}, br = (Oe) => ((qe) =>
|
|
67824
|
+
}, br = (Oe) => ((qe) => fe(we(sr), (Mt) => qe.queryCommandState(Mt)))(Oe).map((qe) => ({ kind: Yo.ListSchema, command: qe })), at = (Oe, qe) => Oe.getParent(qe, "TABLE") ? tr.Table : tr.Unspecified, ot = (Oe, qe, Mt) => {
|
|
67825
67825
|
Oe.addCommand("mceToggleFormatPainter", () => {
|
|
67826
67826
|
((It, Cn) => {
|
|
67827
67827
|
Cn.get() === wn.Application ? Nr(It, Cn) : ((Tn, Nt) => {
|
|
67828
|
-
const kt = Ce(), Xe =
|
|
67828
|
+
const kt = Ce(), Xe = me(!1);
|
|
67829
67829
|
Ur(Tn), Nt.set(wn.Application), Ys(Tn, !0), Tn.execCommand("mceRetrieveFormats");
|
|
67830
67830
|
const tt = () => {
|
|
67831
67831
|
Tn.execCommand("mcePaintFormats"), Nr(Tn, Nt);
|
|
@@ -67887,7 +67887,7 @@ WR.PluginManager.add("pagesize", (o) => {
|
|
|
67887
67887
|
const tt = _e(Tn.patch, Nt.patch);
|
|
67888
67888
|
return tt !== 0 ? tt : 0;
|
|
67889
67889
|
})(((Tn) => Ve(((Nt) => [Nt.majorVersion, Nt.minorVersion].join(".").split(".").slice(0, 3).join("."))(Tn)))(It), Ve(Cn)) === -1)(tinymce, "6.0.0")) return void window.console.error("The format painter plugin requires at least version 6.0.0 of TinyMCE.");
|
|
67890
|
-
const qe =
|
|
67890
|
+
const qe = me(wn.Retrival), Mt = me({ schemas: [], context: tr.Unspecified });
|
|
67891
67891
|
((It) => {
|
|
67892
67892
|
(0, It.options.register)("formatpainter_ignored_formats", { processor: "string[]", default: "link,address,removeformat,formatpainter_removeformat".split(",") });
|
|
67893
67893
|
})(Oe), ((It) => {
|
|
@@ -68556,14 +68556,14 @@ function Nme() {
|
|
|
68556
68556
|
const Ee = (we = i == null ? void 0 : i.value) == null ? void 0 : we.getBoundingClientRect();
|
|
68557
68557
|
if (!Ee) return;
|
|
68558
68558
|
const et = q.clientX - (Ee == null ? void 0 : Ee.left), je = q.clientY - (Ee == null ? void 0 : Ee.top);
|
|
68559
|
-
w.value = { x: et, y: je }, C.value = { x: et, y: je }, Z(q),
|
|
68559
|
+
w.value = { x: et, y: je }, C.value = { x: et, y: je }, Z(q), fe(), A.value.style.display = "block", window.addEventListener("mousemove", I), window.addEventListener("wheel", W), window.addEventListener("mouseup", G);
|
|
68560
68560
|
}, I = dne((q) => {
|
|
68561
68561
|
var Ee;
|
|
68562
68562
|
if (v.value) {
|
|
68563
68563
|
const et = (Ee = i == null ? void 0 : i.value) == null ? void 0 : Ee.getBoundingClientRect();
|
|
68564
68564
|
if (!et) return;
|
|
68565
68565
|
const je = q.clientX - (et == null ? void 0 : et.left), we = q.clientY - (et == null ? void 0 : et.top);
|
|
68566
|
-
C.value = { x: je, y: we },
|
|
68566
|
+
C.value = { x: je, y: we }, fe();
|
|
68567
68567
|
}
|
|
68568
68568
|
}, 16), W = dne((q) => {
|
|
68569
68569
|
v.value && setTimeout(() => {
|
|
@@ -68571,10 +68571,10 @@ function Nme() {
|
|
|
68571
68571
|
const Ee = (we = i == null ? void 0 : i.value) == null ? void 0 : we.getBoundingClientRect();
|
|
68572
68572
|
if (!Ee) return;
|
|
68573
68573
|
const et = q.clientX - (Ee == null ? void 0 : Ee.left), je = q.clientY - (Ee == null ? void 0 : Ee.top);
|
|
68574
|
-
C.value = { x: et, y: je },
|
|
68574
|
+
C.value = { x: et, y: je }, fe();
|
|
68575
68575
|
}, 0);
|
|
68576
68576
|
}, 16), G = (q) => {
|
|
68577
|
-
q.button === 0 && (v.value = !1, A.value && (
|
|
68577
|
+
q.button === 0 && (v.value = !1, A.value && (fe(), A.value.style.display = "none", window.removeEventListener("mousemove", I), window.removeEventListener("wheel", W), window.removeEventListener("mouseup", G)));
|
|
68578
68578
|
}, X = PRe(), Z = (q) => {
|
|
68579
68579
|
var et, je;
|
|
68580
68580
|
let Ee = [];
|
|
@@ -68583,8 +68583,8 @@ function Nme() {
|
|
|
68583
68583
|
if (we !== null) {
|
|
68584
68584
|
const le = we.getAttribute("id");
|
|
68585
68585
|
if (le && f.value) {
|
|
68586
|
-
const Rt = f.value.find((
|
|
68587
|
-
Rt && (X.value ? o.value.some((
|
|
68586
|
+
const Rt = f.value.find((me) => me.id === le);
|
|
68587
|
+
Rt && (X.value ? o.value.some((me) => I4(me) === I4(Rt)) ? Ee = o.value.filter((ve) => I4(ve) !== I4(Rt)) : Ee = [...o.value, Rt] : Rt && (Ee = [Rt]));
|
|
68588
68588
|
}
|
|
68589
68589
|
} else
|
|
68590
68590
|
X.value && (Ee = [...o.value]);
|
|
@@ -68601,8 +68601,8 @@ function Nme() {
|
|
|
68601
68601
|
top: _.value.top + (Ee == null ? void 0 : Ee.top),
|
|
68602
68602
|
bottom: je + _.value.height
|
|
68603
68603
|
};
|
|
68604
|
-
if (i.value.querySelectorAll("*").forEach((
|
|
68605
|
-
const ve =
|
|
68604
|
+
if (i.value.querySelectorAll("*").forEach((me) => {
|
|
68605
|
+
const ve = me.getBoundingClientRect();
|
|
68606
68606
|
if (!we) return;
|
|
68607
68607
|
const O = {
|
|
68608
68608
|
left: ve.left,
|
|
@@ -68611,14 +68611,14 @@ function Nme() {
|
|
|
68611
68611
|
bottom: ve.bottom
|
|
68612
68612
|
};
|
|
68613
68613
|
if (O.right > we.left && O.left < we.right && O.bottom > we.top && O.top < we.bottom) {
|
|
68614
|
-
const _e =
|
|
68614
|
+
const _e = me.getAttribute("id");
|
|
68615
68615
|
if (_e && f.value) {
|
|
68616
68616
|
const ie = f.value.find((Ve) => Ve.id === _e);
|
|
68617
68617
|
ie && (q = [...q, ie]);
|
|
68618
68618
|
}
|
|
68619
68619
|
}
|
|
68620
68620
|
}), q = F(q), X.value) {
|
|
68621
|
-
const
|
|
68621
|
+
const me = new Set(o.value.map((O) => I4(O))), ve = q.filter((O) => !me.has(I4(O)));
|
|
68622
68622
|
s([...o.value, ...ve]);
|
|
68623
68623
|
} else
|
|
68624
68624
|
s(q);
|
|
@@ -68629,14 +68629,14 @@ function Nme() {
|
|
|
68629
68629
|
Ee = Ee.filter((je) => je.id ? !et.has(je.id) : !0);
|
|
68630
68630
|
}
|
|
68631
68631
|
return Ee;
|
|
68632
|
-
},
|
|
68632
|
+
}, fe = dne(() => {
|
|
68633
68633
|
if (!A.value || !i.value) return;
|
|
68634
|
-
const { x: q, y: Ee } = w.value, { x: et, y: je } = C.value, we = Math.min(q, et), le = Math.min(Ee, je), Rt = Math.abs(q - et),
|
|
68634
|
+
const { x: q, y: Ee } = w.value, { x: et, y: je } = C.value, we = Math.min(q, et), le = Math.min(Ee, je), Rt = Math.abs(q - et), me = Math.abs(Ee - je);
|
|
68635
68635
|
_.value = {
|
|
68636
68636
|
left: we,
|
|
68637
68637
|
top: le,
|
|
68638
68638
|
width: Rt,
|
|
68639
|
-
height:
|
|
68639
|
+
height: me
|
|
68640
68640
|
};
|
|
68641
68641
|
}, 16), Ke = (q) => {
|
|
68642
68642
|
if (!A.value) return;
|
|
@@ -68764,7 +68764,7 @@ function BRe() {
|
|
|
68764
68764
|
Z.preventDefault();
|
|
68765
68765
|
};
|
|
68766
68766
|
v.addEventListener("input", I), v.addEventListener("paste", I), v.addEventListener("drop", I), v.addEventListener("keydown", (Z) => {
|
|
68767
|
-
var j, F,
|
|
68767
|
+
var j, F, fe, Ke;
|
|
68768
68768
|
if (((j = document.activeElement) == null ? void 0 : j.shadowRoot) === ((F = s.value) == null ? void 0 : F.getRootNode()) && !["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown"].includes(Z.key)) {
|
|
68769
68769
|
if (Z.key === "Backspace" || Z.key === "Delete") {
|
|
68770
68770
|
const Re = C == null ? void 0 : C.getRangeAt(0);
|
|
@@ -68774,7 +68774,7 @@ function BRe() {
|
|
|
68774
68774
|
const Ee = q.previousSibling;
|
|
68775
68775
|
if (Ee && Ee.nodeType === Node.ELEMENT_NODE && Ee.classList.contains("node-item")) {
|
|
68776
68776
|
const et = Ee.getAttribute("id");
|
|
68777
|
-
et && o(et), (
|
|
68777
|
+
et && o(et), (fe = q.parentElement) == null || fe.normalize();
|
|
68778
68778
|
return;
|
|
68779
68779
|
}
|
|
68780
68780
|
} else if (q.nodeType === Node.ELEMENT_NODE) {
|
|
@@ -68822,7 +68822,7 @@ function FRe() {
|
|
|
68822
68822
|
const G = _.getSelection();
|
|
68823
68823
|
if (G.rangeCount === 0) return null;
|
|
68824
68824
|
const X = G.getRangeAt(0), Z = X.startContainer;
|
|
68825
|
-
let j = 0, F = -1,
|
|
68825
|
+
let j = 0, F = -1, fe = 0, Ke = [];
|
|
68826
68826
|
const Re = Z.nodeType === Node.TEXT_NODE ? Z.parentNode : Z;
|
|
68827
68827
|
s.value = Re;
|
|
68828
68828
|
const q = Array.from(Re.childNodes);
|
|
@@ -68848,12 +68848,12 @@ function FRe() {
|
|
|
68848
68848
|
je.push(O), we = !1;
|
|
68849
68849
|
}
|
|
68850
68850
|
const le = Ke == null ? void 0 : Ke[Ke.length - 1], Rt = je == null ? void 0 : je[je.length - 1];
|
|
68851
|
-
|
|
68851
|
+
fe = je == null ? void 0 : je.filter((ve) => {
|
|
68852
68852
|
var O;
|
|
68853
68853
|
return !((O = ve == null ? void 0 : ve.classList) != null && O.contains("node-item"));
|
|
68854
|
-
}).length, (et = le == null ? void 0 : le.classList) != null && et.contains("node-item") && typeof Rt == "string" &&
|
|
68855
|
-
const
|
|
68856
|
-
typeof
|
|
68854
|
+
}).length, (et = le == null ? void 0 : le.classList) != null && et.contains("node-item") && typeof Rt == "string" && fe--;
|
|
68855
|
+
const me = je == null ? void 0 : je[je.length - 1];
|
|
68856
|
+
typeof me == "string" && (j += (me == null ? void 0 : me.length) || 0);
|
|
68857
68857
|
} else {
|
|
68858
68858
|
const je = q == null ? void 0 : q.filter(
|
|
68859
68859
|
(we) => {
|
|
@@ -68864,7 +68864,7 @@ function FRe() {
|
|
|
68864
68864
|
j = X.startOffset - je;
|
|
68865
68865
|
}
|
|
68866
68866
|
return {
|
|
68867
|
-
currentIndex: Math.max(
|
|
68867
|
+
currentIndex: Math.max(fe, 0),
|
|
68868
68868
|
previousElements: Ke,
|
|
68869
68869
|
startOffset: Math.max(j, 0)
|
|
68870
68870
|
};
|
|
@@ -68943,55 +68943,55 @@ var Mme = { exports: {} };
|
|
|
68943
68943
|
(function(i, u) {
|
|
68944
68944
|
o.exports = u();
|
|
68945
68945
|
})(sE, function() {
|
|
68946
|
-
var i = 1e3, u = 6e4, f = 36e5, h = "millisecond", v = "second", w = "minute", C = "hour", _ = "day", A = "week", $ = "month", R = "quarter", I = "year", W = "date", G = "Invalid Date", X = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Z = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
68947
|
-
var ve = ["th", "st", "nd", "rd"], O =
|
|
68948
|
-
return "[" +
|
|
68949
|
-
} }, F = function(
|
|
68950
|
-
var _e = String(
|
|
68951
|
-
return !_e || _e.length >= ve ?
|
|
68952
|
-
},
|
|
68953
|
-
var ve = -
|
|
68946
|
+
var i = 1e3, u = 6e4, f = 36e5, h = "millisecond", v = "second", w = "minute", C = "hour", _ = "day", A = "week", $ = "month", R = "quarter", I = "year", W = "date", G = "Invalid Date", X = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Z = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(me) {
|
|
68947
|
+
var ve = ["th", "st", "nd", "rd"], O = me % 100;
|
|
68948
|
+
return "[" + me + (ve[(O - 20) % 10] || ve[O] || ve[0]) + "]";
|
|
68949
|
+
} }, F = function(me, ve, O) {
|
|
68950
|
+
var _e = String(me);
|
|
68951
|
+
return !_e || _e.length >= ve ? me : "" + Array(ve + 1 - _e.length).join(O) + me;
|
|
68952
|
+
}, fe = { s: F, z: function(me) {
|
|
68953
|
+
var ve = -me.utcOffset(), O = Math.abs(ve), _e = Math.floor(O / 60), ie = O % 60;
|
|
68954
68954
|
return (ve <= 0 ? "+" : "-") + F(_e, 2, "0") + ":" + F(ie, 2, "0");
|
|
68955
|
-
}, m: function
|
|
68956
|
-
if (ve.date() < O.date()) return -
|
|
68955
|
+
}, m: function me(ve, O) {
|
|
68956
|
+
if (ve.date() < O.date()) return -me(O, ve);
|
|
68957
68957
|
var _e = 12 * (O.year() - ve.year()) + (O.month() - ve.month()), ie = ve.clone().add(_e, $), Ve = O - ie < 0, Ge = ve.clone().add(_e + (Ve ? -1 : 1), $);
|
|
68958
68958
|
return +(-(_e + (O - ie) / (Ve ? ie - Ge : Ge - ie)) || 0);
|
|
68959
|
-
}, a: function(
|
|
68960
|
-
return
|
|
68961
|
-
}, p: function(
|
|
68962
|
-
return { M: $, y: I, w: A, d: _, D: W, h: C, m: w, s: v, ms: h, Q: R }[
|
|
68963
|
-
}, u: function(
|
|
68964
|
-
return
|
|
68959
|
+
}, a: function(me) {
|
|
68960
|
+
return me < 0 ? Math.ceil(me) || 0 : Math.floor(me);
|
|
68961
|
+
}, p: function(me) {
|
|
68962
|
+
return { M: $, y: I, w: A, d: _, D: W, h: C, m: w, s: v, ms: h, Q: R }[me] || String(me || "").toLowerCase().replace(/s$/, "");
|
|
68963
|
+
}, u: function(me) {
|
|
68964
|
+
return me === void 0;
|
|
68965
68965
|
} }, Ke = "en", Re = {};
|
|
68966
68966
|
Re[Ke] = j;
|
|
68967
|
-
var q = "$isDayjsObject", Ee = function(
|
|
68968
|
-
return
|
|
68969
|
-
}, et = function
|
|
68967
|
+
var q = "$isDayjsObject", Ee = function(me) {
|
|
68968
|
+
return me instanceof le || !(!me || !me[q]);
|
|
68969
|
+
}, et = function me(ve, O, _e) {
|
|
68970
68970
|
var ie;
|
|
68971
68971
|
if (!ve) return Ke;
|
|
68972
68972
|
if (typeof ve == "string") {
|
|
68973
68973
|
var Ve = ve.toLowerCase();
|
|
68974
68974
|
Re[Ve] && (ie = Ve), O && (Re[Ve] = O, ie = Ve);
|
|
68975
68975
|
var Ge = ve.split("-");
|
|
68976
|
-
if (!ie && Ge.length > 1) return
|
|
68976
|
+
if (!ie && Ge.length > 1) return me(Ge[0]);
|
|
68977
68977
|
} else {
|
|
68978
68978
|
var de = ve.name;
|
|
68979
68979
|
Re[de] = ve, ie = de;
|
|
68980
68980
|
}
|
|
68981
68981
|
return !_e && ie && (Ke = ie), ie || !_e && Ke;
|
|
68982
|
-
}, je = function(
|
|
68983
|
-
if (Ee(
|
|
68982
|
+
}, je = function(me, ve) {
|
|
68983
|
+
if (Ee(me)) return me.clone();
|
|
68984
68984
|
var O = typeof ve == "object" ? ve : {};
|
|
68985
|
-
return O.date =
|
|
68986
|
-
}, we =
|
|
68987
|
-
we.l = et, we.i = Ee, we.w = function(
|
|
68988
|
-
return je(
|
|
68985
|
+
return O.date = me, O.args = arguments, new le(O);
|
|
68986
|
+
}, we = fe;
|
|
68987
|
+
we.l = et, we.i = Ee, we.w = function(me, ve) {
|
|
68988
|
+
return je(me, { locale: ve.$L, utc: ve.$u, x: ve.$x, $offset: ve.$offset });
|
|
68989
68989
|
};
|
|
68990
68990
|
var le = function() {
|
|
68991
|
-
function
|
|
68991
|
+
function me(O) {
|
|
68992
68992
|
this.$L = et(O.locale, null, !0), this.parse(O), this.$x = this.$x || O.x || {}, this[q] = !0;
|
|
68993
68993
|
}
|
|
68994
|
-
var ve =
|
|
68994
|
+
var ve = me.prototype;
|
|
68995
68995
|
return ve.parse = function(O) {
|
|
68996
68996
|
this.$d = function(_e) {
|
|
68997
68997
|
var ie = _e.date, Ve = _e.utc;
|
|
@@ -69201,16 +69201,16 @@ var Mme = { exports: {} };
|
|
|
69201
69201
|
return this.$d.toISOString();
|
|
69202
69202
|
}, ve.toString = function() {
|
|
69203
69203
|
return this.$d.toUTCString();
|
|
69204
|
-
},
|
|
69204
|
+
}, me;
|
|
69205
69205
|
}(), Rt = le.prototype;
|
|
69206
|
-
return je.prototype = Rt, [["$ms", h], ["$s", v], ["$m", w], ["$H", C], ["$W", _], ["$M", $], ["$y", I], ["$D", W]].forEach(function(
|
|
69207
|
-
Rt[
|
|
69208
|
-
return this.$g(ve,
|
|
69206
|
+
return je.prototype = Rt, [["$ms", h], ["$s", v], ["$m", w], ["$H", C], ["$W", _], ["$M", $], ["$y", I], ["$D", W]].forEach(function(me) {
|
|
69207
|
+
Rt[me[1]] = function(ve) {
|
|
69208
|
+
return this.$g(ve, me[0], me[1]);
|
|
69209
69209
|
};
|
|
69210
|
-
}), je.extend = function(
|
|
69211
|
-
return
|
|
69212
|
-
}, je.locale = et, je.isDayjs = Ee, je.unix = function(
|
|
69213
|
-
return je(1e3 *
|
|
69210
|
+
}), je.extend = function(me, ve) {
|
|
69211
|
+
return me.$i || (me(ve, le, je), me.$i = !0), je;
|
|
69212
|
+
}, je.locale = et, je.isDayjs = Ee, je.unix = function(me) {
|
|
69213
|
+
return je(1e3 * me);
|
|
69214
69214
|
}, je.en = Re[Ke], je.Ls = Re, je.p = {}, je;
|
|
69215
69215
|
});
|
|
69216
69216
|
})(Mme);
|
|
@@ -69245,10 +69245,13 @@ function VRe() {
|
|
|
69245
69245
|
return u(_), _;
|
|
69246
69246
|
}, v = () => {
|
|
69247
69247
|
var W, G;
|
|
69248
|
-
const w = f(ht(o)), C = Rme().valueOf(), _ = ht(i), A = _.filter((X) => woe(X)), $ = _.filter((X) => !woe(X)), I = [...(G = (W = w.map((X) => ({ nodePath: Dj(X), startOffset: 0, subNodeSort: 0, insertTime: C }))) == null ? void 0 : W.filter((X) =>
|
|
69249
|
-
|
|
69250
|
-
|
|
69251
|
-
|
|
69248
|
+
const w = f(ht(o)), C = Rme().valueOf(), _ = ht(i) || [], A = _.filter((X) => woe(X)) || [], $ = _.filter((X) => !woe(X)), I = [...(G = (W = w.map((X) => ({ nodePath: Dj(X), startOffset: 0, subNodeSort: 0, insertTime: C }))) == null ? void 0 : W.filter((X) => {
|
|
69249
|
+
const Z = _ == null ? void 0 : _.find((F) => {
|
|
69250
|
+
var fe;
|
|
69251
|
+
return (fe = F.nodePath) == null ? void 0 : fe.includes(X.nodePath);
|
|
69252
|
+
}), j = A == null ? void 0 : A.find((F) => F.nodePath === X.nodePath && !(F != null && F.startOffset));
|
|
69253
|
+
return !Z || j;
|
|
69254
|
+
})) == null ? void 0 : G.map((X) => {
|
|
69252
69255
|
const Z = A == null ? void 0 : A.find((j) => j.nodePath === X.nodePath && !(j != null && j.startOffset));
|
|
69253
69256
|
return {
|
|
69254
69257
|
...X,
|
|
@@ -69598,7 +69601,7 @@ const GRe = /* @__PURE__ */ Ko({
|
|
|
69598
69601
|
var Ee;
|
|
69599
69602
|
const Re = Ke.map(({ ...et }) => {
|
|
69600
69603
|
var Rt;
|
|
69601
|
-
let je = (Rt = w.value) == null ? void 0 : Rt.find((
|
|
69604
|
+
let je = (Rt = w.value) == null ? void 0 : Rt.find((me) => (me == null ? void 0 : me.id) === (et == null ? void 0 : et.id));
|
|
69602
69605
|
const { element: we, ...le } = {
|
|
69603
69606
|
...je || {},
|
|
69604
69607
|
...et
|
|
@@ -69606,7 +69609,7 @@ const GRe = /* @__PURE__ */ Ko({
|
|
|
69606
69609
|
return le;
|
|
69607
69610
|
}), q = (Ee = X.value) == null ? void 0 : Ee.map(({ element: et, ...je }) => je);
|
|
69608
69611
|
wa(Re, q) || (X.value = Re, f("onSelectedNodes", Re));
|
|
69609
|
-
},
|
|
69612
|
+
}, fe = $n(() => ht(u == null ? void 0 : u.nodesGroups));
|
|
69610
69613
|
return s({
|
|
69611
69614
|
setSelectedNodes: F
|
|
69612
69615
|
}), Jm(kme, {
|
|
@@ -69624,7 +69627,7 @@ const GRe = /* @__PURE__ */ Ko({
|
|
|
69624
69627
|
renderNodes: w,
|
|
69625
69628
|
uiReady: I,
|
|
69626
69629
|
isFocused: W,
|
|
69627
|
-
nodesGroups:
|
|
69630
|
+
nodesGroups: fe
|
|
69628
69631
|
}), (Ke, Re) => Fr(Ke.$slots, "default");
|
|
69629
69632
|
}
|
|
69630
69633
|
}), YRe = ["onClick"], KRe = {
|
|
@@ -69683,7 +69686,7 @@ const GRe = /* @__PURE__ */ Ko({
|
|
|
69683
69686
|
const { editNodes: G } = DI(), X = async (q) => {
|
|
69684
69687
|
var Ee, et;
|
|
69685
69688
|
if (ht(W).focusedElement && !B_e(ht(w))) {
|
|
69686
|
-
const je = Dj(ht(W).focusedElement), we = ht(W).cursorPosition, le = (ht(W).preNodeNumber || 0) + 1, Rt = ERe(ht(W).focusedElement),
|
|
69689
|
+
const je = Dj(ht(W).focusedElement), we = ht(W).cursorPosition, le = (ht(W).preNodeNumber || 0) + 1, Rt = ERe(ht(W).focusedElement), me = Rme().valueOf();
|
|
69687
69690
|
if (je && !aI(we) && we >= 0) {
|
|
69688
69691
|
const ve = await ((Ee = q == null ? void 0 : q.getDefaultProps) == null ? void 0 : Ee.call(q)) || {};
|
|
69689
69692
|
G({
|
|
@@ -69694,7 +69697,7 @@ const GRe = /* @__PURE__ */ Ko({
|
|
|
69694
69697
|
subNodeSort: le,
|
|
69695
69698
|
textNodeIndex: ht(C) || 0,
|
|
69696
69699
|
nodeType: q == null ? void 0 : q.value,
|
|
69697
|
-
insertTime:
|
|
69700
|
+
insertTime: me,
|
|
69698
69701
|
props: ve
|
|
69699
69702
|
});
|
|
69700
69703
|
}
|
|
@@ -69744,7 +69747,7 @@ const GRe = /* @__PURE__ */ Ko({
|
|
|
69744
69747
|
});
|
|
69745
69748
|
}), j = s, F = (q, Ee) => {
|
|
69746
69749
|
q.preventDefault(), Ee != null && Ee.handler && Ee.handler(), Ee != null && Ee.value && (j("select", Ee == null ? void 0 : Ee.value), R.value = !1);
|
|
69747
|
-
},
|
|
69750
|
+
}, fe = $n(() => {
|
|
69748
69751
|
var et, je;
|
|
69749
69752
|
const q = ht(f) || [];
|
|
69750
69753
|
if (!Array.isArray(q) || q.length === 0) return null;
|
|
@@ -69753,7 +69756,7 @@ const GRe = /* @__PURE__ */ Ko({
|
|
|
69753
69756
|
if (((je = q[we]) == null ? void 0 : je.nodeType) !== Ee)
|
|
69754
69757
|
return null;
|
|
69755
69758
|
return Ee;
|
|
69756
|
-
}), Ke = (q) => q == null ? "" : String(q).toLowerCase(), Re = (q) => Ke(
|
|
69759
|
+
}), Ke = (q) => q == null ? "" : String(q).toLowerCase(), Re = (q) => Ke(fe.value) === Ke(q);
|
|
69757
69760
|
return (q, Ee) => (ct(), Co(Ne(SE), {
|
|
69758
69761
|
visible: R.value,
|
|
69759
69762
|
"popper-style": "padding:0px;"
|
|
@@ -69948,7 +69951,7 @@ const OU = {
|
|
|
69948
69951
|
) : ""), Z = $n(() => {
|
|
69949
69952
|
const _e = OU[R.pagesize] || OU.A4, ie = (window.devicePixelRatio || 1) * 96;
|
|
69950
69953
|
return `${_e.height * ie / 25.4 - ht(G)}px`;
|
|
69951
|
-
}), { showContextMenu: j, contextMenuStyle: F, onContextMenu:
|
|
69954
|
+
}), { showContextMenu: j, contextMenuStyle: F, onContextMenu: fe, direction: Ke } = nIe({
|
|
69952
69955
|
headerHeight: G,
|
|
69953
69956
|
hasContextMenu: $
|
|
69954
69957
|
}), Re = dn(null), q = $n(() => {
|
|
@@ -70056,7 +70059,7 @@ const OU = {
|
|
|
70056
70059
|
immediate: !0
|
|
70057
70060
|
}
|
|
70058
70061
|
);
|
|
70059
|
-
const Rt = dn(),
|
|
70062
|
+
const Rt = dn(), me = () => {
|
|
70060
70063
|
v.value = !0;
|
|
70061
70064
|
}, { onBlur: ve } = oIe(), O = () => {
|
|
70062
70065
|
v.value = !1, ve();
|
|
@@ -70074,7 +70077,7 @@ const OU = {
|
|
|
70074
70077
|
}), (_e, ie) => (ct(), on("div", sIe, [
|
|
70075
70078
|
fn(Oj, {
|
|
70076
70079
|
onOnBlur: O,
|
|
70077
|
-
onOnFocus:
|
|
70080
|
+
onOnFocus: me,
|
|
70078
70081
|
ref_key: "shadowDomRef",
|
|
70079
70082
|
ref: Rt
|
|
70080
70083
|
}, {
|
|
@@ -70088,7 +70091,7 @@ const OU = {
|
|
|
70088
70091
|
Vt("div", {
|
|
70089
70092
|
innerHTML: X.value,
|
|
70090
70093
|
class: "disabeld-edit docHeaderHtml",
|
|
70091
|
-
onClick:
|
|
70094
|
+
onClick: me
|
|
70092
70095
|
}, null, 8, aIe)
|
|
70093
70096
|
])
|
|
70094
70097
|
], 512),
|
|
@@ -70099,7 +70102,7 @@ const OU = {
|
|
|
70099
70102
|
style: tl([{ position: "relative" }, { position: "relative", minHeight: Z.value }]),
|
|
70100
70103
|
onContextmenu: ie[0] || (ie[0] = oC(
|
|
70101
70104
|
//@ts-ignore
|
|
70102
|
-
(...Ve) => Ne(
|
|
70105
|
+
(...Ve) => Ne(fe) && Ne(fe)(...Ve),
|
|
70103
70106
|
["prevent"]
|
|
70104
70107
|
))
|
|
70105
70108
|
}, [
|
|
@@ -70111,7 +70114,7 @@ const OU = {
|
|
|
70111
70114
|
Vt("div", {
|
|
70112
70115
|
innerHTML: R == null ? void 0 : R.footerHtml,
|
|
70113
70116
|
class: "disabeld-edit docFooterHtml",
|
|
70114
|
-
onClick:
|
|
70117
|
+
onClick: me
|
|
70115
70118
|
}, null, 8, lIe)
|
|
70116
70119
|
])
|
|
70117
70120
|
], 38)
|
|
@@ -70976,7 +70979,7 @@ const RIe = (o, s) => {
|
|
|
70976
70979
|
Wo(
|
|
70977
70980
|
() => h,
|
|
70978
70981
|
() => {
|
|
70979
|
-
var G, X, Z, j, F,
|
|
70982
|
+
var G, X, Z, j, F, fe;
|
|
70980
70983
|
if ((G = C.value) == null || G.setSelectedNodes([]), ["range", "cell"].includes((X = ht(v)) == null ? void 0 : X.type))
|
|
70981
70984
|
return _.value = RIe(i.value, h.value), A.value = (j = (Z = ht(v)) == null ? void 0 : Z.value) == null ? void 0 : j.length, R.value = !0, I("selectNodes", {
|
|
70982
70985
|
data: (F = ht(v)) == null ? void 0 : F.cellValue,
|
|
@@ -70985,7 +70988,7 @@ const RIe = (o, s) => {
|
|
|
70985
70988
|
W(Ke);
|
|
70986
70989
|
}
|
|
70987
70990
|
}), !1;
|
|
70988
|
-
if ([",", "(", "="].includes((
|
|
70991
|
+
if ([",", "(", "="].includes((fe = ht(v)) == null ? void 0 : fe.value))
|
|
70989
70992
|
return _.value = ht(s), R.value = !0, A.value = 0, I("selectNodes", {
|
|
70990
70993
|
data: [],
|
|
70991
70994
|
mode: "multiple",
|
|
@@ -71363,8 +71366,8 @@ function xoe(o, s = !1) {
|
|
|
71363
71366
|
const j = [new Promise((F) => {
|
|
71364
71367
|
X = Wo(
|
|
71365
71368
|
o,
|
|
71366
|
-
(
|
|
71367
|
-
$(
|
|
71369
|
+
(fe) => {
|
|
71370
|
+
$(fe) !== s && (X == null || X(), F(fe));
|
|
71368
71371
|
},
|
|
71369
71372
|
{
|
|
71370
71373
|
flush: R,
|
|
@@ -71379,14 +71382,14 @@ function xoe(o, s = !1) {
|
|
|
71379
71382
|
}
|
|
71380
71383
|
function u($, R) {
|
|
71381
71384
|
if (!op($))
|
|
71382
|
-
return i((
|
|
71385
|
+
return i((fe) => fe === $, R);
|
|
71383
71386
|
const { flush: I = "sync", deep: W = !1, timeout: G, throwOnTimeout: X } = R ?? {};
|
|
71384
71387
|
let Z = null;
|
|
71385
|
-
const F = [new Promise((
|
|
71388
|
+
const F = [new Promise((fe) => {
|
|
71386
71389
|
Z = Wo(
|
|
71387
71390
|
[o, $],
|
|
71388
71391
|
([Ke, Re]) => {
|
|
71389
|
-
s !== (Ke === Re) && (Z == null || Z(),
|
|
71392
|
+
s !== (Ke === Re) && (Z == null || Z(), fe(Ke));
|
|
71390
71393
|
},
|
|
71391
71394
|
{
|
|
71392
71395
|
flush: I,
|
|
@@ -71513,20 +71516,20 @@ function vne(o, s, i, u = {}) {
|
|
|
71513
71516
|
R ? R(F) && W(G, F) : W(G, F);
|
|
71514
71517
|
};
|
|
71515
71518
|
if (C) {
|
|
71516
|
-
const F = Z(),
|
|
71519
|
+
const F = Z(), fe = dn(F);
|
|
71517
71520
|
let Ke = !1;
|
|
71518
71521
|
return Wo(
|
|
71519
71522
|
() => o[s],
|
|
71520
71523
|
(Re) => {
|
|
71521
|
-
Ke || (Ke = !0,
|
|
71524
|
+
Ke || (Ke = !0, fe.value = X(Re), qc(() => Ke = !1));
|
|
71522
71525
|
}
|
|
71523
71526
|
), Wo(
|
|
71524
|
-
|
|
71527
|
+
fe,
|
|
71525
71528
|
(Re) => {
|
|
71526
71529
|
!Ke && (Re !== o[s] || A) && j(Re);
|
|
71527
71530
|
},
|
|
71528
71531
|
{ deep: A }
|
|
71529
|
-
),
|
|
71532
|
+
), fe;
|
|
71530
71533
|
} else
|
|
71531
71534
|
return $n({
|
|
71532
71535
|
get() {
|
|
@@ -71773,11 +71776,11 @@ function PPe(o, s) {
|
|
|
71773
71776
|
for (var h = f.length, v = new Array(h), w = new Array(h), C = new Array(h), _ = 0; _ < h; ++_) {
|
|
71774
71777
|
var A = u[_], $ = f[_], R = $.length, I = BPe(o.call(A, A && A.__data__, _, u)), W = I.length, G = w[_] = new Array(W), X = v[_] = new Array(W), Z = C[_] = new Array(R);
|
|
71775
71778
|
i(A, $, G, X, Z, I, s);
|
|
71776
|
-
for (var j = 0, F = 0,
|
|
71777
|
-
if (
|
|
71779
|
+
for (var j = 0, F = 0, fe, Ke; j < W; ++j)
|
|
71780
|
+
if (fe = G[j]) {
|
|
71778
71781
|
for (j >= F && (F = j + 1); !(Ke = X[F]) && ++F < W; )
|
|
71779
71782
|
;
|
|
71780
|
-
|
|
71783
|
+
fe._next = Ke || null;
|
|
71781
71784
|
}
|
|
71782
71785
|
}
|
|
71783
71786
|
return v = new eh(v, u), v._enter = w, v._exit = C, v;
|
|
@@ -72278,47 +72281,47 @@ function X8e() {
|
|
|
72278
72281
|
}
|
|
72279
72282
|
function J8e() {
|
|
72280
72283
|
var o = q8e, s = Y8e, i = K8e, u = X8e, f = {}, h = Pj("start", "drag", "end"), v = 0, w, C, _, A, $ = 0;
|
|
72281
|
-
function R(
|
|
72282
|
-
|
|
72284
|
+
function R(fe) {
|
|
72285
|
+
fe.on("mousedown.drag", I).filter(u).on("touchstart.drag", X).on("touchmove.drag", Z, G8e).on("touchend.drag touchcancel.drag", j).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
|
72283
72286
|
}
|
|
72284
|
-
function I(
|
|
72285
|
-
if (!(A || !o.call(this,
|
|
72286
|
-
var Re = F(this, s.call(this,
|
|
72287
|
-
Re && (f1(
|
|
72287
|
+
function I(fe, Ke) {
|
|
72288
|
+
if (!(A || !o.call(this, fe, Ke))) {
|
|
72289
|
+
var Re = F(this, s.call(this, fe, Ke), fe, Ke, "mouse");
|
|
72290
|
+
Re && (f1(fe.view).on("mousemove.drag", W, iI).on("mouseup.drag", G, iI), ege(fe.view), bne(fe), _ = !1, w = fe.clientX, C = fe.clientY, Re("start", fe));
|
|
72288
72291
|
}
|
|
72289
72292
|
}
|
|
72290
|
-
function W(
|
|
72291
|
-
if (X4(
|
|
72292
|
-
var Ke =
|
|
72293
|
+
function W(fe) {
|
|
72294
|
+
if (X4(fe), !_) {
|
|
72295
|
+
var Ke = fe.clientX - w, Re = fe.clientY - C;
|
|
72293
72296
|
_ = Ke * Ke + Re * Re > $;
|
|
72294
72297
|
}
|
|
72295
|
-
f.mouse("drag",
|
|
72298
|
+
f.mouse("drag", fe);
|
|
72296
72299
|
}
|
|
72297
|
-
function G(
|
|
72298
|
-
f1(
|
|
72300
|
+
function G(fe) {
|
|
72301
|
+
f1(fe.view).on("mousemove.drag mouseup.drag", null), tge(fe.view, _), X4(fe), f.mouse("end", fe);
|
|
72299
72302
|
}
|
|
72300
|
-
function X(
|
|
72301
|
-
if (o.call(this,
|
|
72302
|
-
var Re =
|
|
72303
|
+
function X(fe, Ke) {
|
|
72304
|
+
if (o.call(this, fe, Ke)) {
|
|
72305
|
+
var Re = fe.changedTouches, q = s.call(this, fe, Ke), Ee = Re.length, et, je;
|
|
72303
72306
|
for (et = 0; et < Ee; ++et)
|
|
72304
|
-
(je = F(this, q,
|
|
72307
|
+
(je = F(this, q, fe, Ke, Re[et].identifier, Re[et])) && (bne(fe), je("start", fe, Re[et]));
|
|
72305
72308
|
}
|
|
72306
72309
|
}
|
|
72307
|
-
function Z(
|
|
72308
|
-
var Ke =
|
|
72310
|
+
function Z(fe) {
|
|
72311
|
+
var Ke = fe.changedTouches, Re = Ke.length, q, Ee;
|
|
72309
72312
|
for (q = 0; q < Re; ++q)
|
|
72310
|
-
(Ee = f[Ke[q].identifier]) && (X4(
|
|
72313
|
+
(Ee = f[Ke[q].identifier]) && (X4(fe), Ee("drag", fe, Ke[q]));
|
|
72311
72314
|
}
|
|
72312
|
-
function j(
|
|
72313
|
-
var Ke =
|
|
72315
|
+
function j(fe) {
|
|
72316
|
+
var Ke = fe.changedTouches, Re = Ke.length, q, Ee;
|
|
72314
72317
|
for (A && clearTimeout(A), A = setTimeout(function() {
|
|
72315
72318
|
A = null;
|
|
72316
72319
|
}, 500), q = 0; q < Re; ++q)
|
|
72317
|
-
(Ee = f[Ke[q].identifier]) && (bne(
|
|
72320
|
+
(Ee = f[Ke[q].identifier]) && (bne(fe), Ee("end", fe, Ke[q]));
|
|
72318
72321
|
}
|
|
72319
|
-
function F(
|
|
72320
|
-
var je = h.copy(), we = lb(et || Re, Ke), le, Rt,
|
|
72321
|
-
if ((
|
|
72322
|
+
function F(fe, Ke, Re, q, Ee, et) {
|
|
72323
|
+
var je = h.copy(), we = lb(et || Re, Ke), le, Rt, me;
|
|
72324
|
+
if ((me = i.call(fe, new Toe("beforestart", {
|
|
72322
72325
|
sourceEvent: Re,
|
|
72323
72326
|
target: R,
|
|
72324
72327
|
identifier: Ee,
|
|
@@ -72329,7 +72332,7 @@ function J8e() {
|
|
|
72329
72332
|
dy: 0,
|
|
72330
72333
|
dispatch: je
|
|
72331
72334
|
}), q)) != null)
|
|
72332
|
-
return le =
|
|
72335
|
+
return le = me.x - we[0] || 0, Rt = me.y - we[1] || 0, function ve(O, _e, ie) {
|
|
72333
72336
|
var Ve = we, Ge;
|
|
72334
72337
|
switch (O) {
|
|
72335
72338
|
case "start":
|
|
@@ -72343,10 +72346,10 @@ function J8e() {
|
|
|
72343
72346
|
}
|
|
72344
72347
|
je.call(
|
|
72345
72348
|
O,
|
|
72346
|
-
|
|
72349
|
+
fe,
|
|
72347
72350
|
new Toe(O, {
|
|
72348
72351
|
sourceEvent: _e,
|
|
72349
|
-
subject:
|
|
72352
|
+
subject: me,
|
|
72350
72353
|
target: R,
|
|
72351
72354
|
identifier: Ee,
|
|
72352
72355
|
active: Ge,
|
|
@@ -72360,19 +72363,19 @@ function J8e() {
|
|
|
72360
72363
|
);
|
|
72361
72364
|
};
|
|
72362
72365
|
}
|
|
72363
|
-
return R.filter = function(
|
|
72364
|
-
return arguments.length ? (o = typeof
|
|
72365
|
-
}, R.container = function(
|
|
72366
|
-
return arguments.length ? (s = typeof
|
|
72367
|
-
}, R.subject = function(
|
|
72368
|
-
return arguments.length ? (i = typeof
|
|
72369
|
-
}, R.touchable = function(
|
|
72370
|
-
return arguments.length ? (u = typeof
|
|
72366
|
+
return R.filter = function(fe) {
|
|
72367
|
+
return arguments.length ? (o = typeof fe == "function" ? fe : Dz(!!fe), R) : o;
|
|
72368
|
+
}, R.container = function(fe) {
|
|
72369
|
+
return arguments.length ? (s = typeof fe == "function" ? fe : Dz(fe), R) : s;
|
|
72370
|
+
}, R.subject = function(fe) {
|
|
72371
|
+
return arguments.length ? (i = typeof fe == "function" ? fe : Dz(fe), R) : i;
|
|
72372
|
+
}, R.touchable = function(fe) {
|
|
72373
|
+
return arguments.length ? (u = typeof fe == "function" ? fe : Dz(!!fe), R) : u;
|
|
72371
72374
|
}, R.on = function() {
|
|
72372
|
-
var
|
|
72373
|
-
return
|
|
72374
|
-
}, R.clickDistance = function(
|
|
72375
|
-
return arguments.length ? ($ = (
|
|
72375
|
+
var fe = h.on.apply(h, arguments);
|
|
72376
|
+
return fe === h ? R : fe;
|
|
72377
|
+
}, R.clickDistance = function(fe) {
|
|
72378
|
+
return arguments.length ? ($ = (fe = +fe) * fe, R) : Math.sqrt($);
|
|
72376
72379
|
}, R;
|
|
72377
72380
|
}
|
|
72378
72381
|
function Use(o, s, i) {
|
|
@@ -72816,7 +72819,7 @@ const _7e = function o(s, i, u) {
|
|
|
72816
72819
|
];
|
|
72817
72820
|
};
|
|
72818
72821
|
else {
|
|
72819
|
-
var j = Math.sqrt(G), F = (R * R - _ * _ + u * G) / (2 * _ * i * j),
|
|
72822
|
+
var j = Math.sqrt(G), F = (R * R - _ * _ + u * G) / (2 * _ * i * j), fe = (R * R - _ * _ - u * G) / (2 * R * i * j), Ke = Math.log(Math.sqrt(F * F + 1) - F), Re = Math.log(Math.sqrt(fe * fe + 1) - fe);
|
|
72820
72823
|
Z = (Re - Ke) / s, X = function(q) {
|
|
72821
72824
|
var Ee = q * Z, et = Cce(Ke), je = _ / (i * j) * (et * x7e(s * Ee + Ke) - S7e(Ke));
|
|
72822
72825
|
return [
|
|
@@ -73525,57 +73528,57 @@ function VBe(o, s, i) {
|
|
|
73525
73528
|
}
|
|
73526
73529
|
function zBe() {
|
|
73527
73530
|
var o = BBe, s = FBe, i = VBe, u = LBe, f = HBe, h = [0, 1 / 0], v = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], w = 250, C = _7e, _ = Pj("start", "zoom", "end"), A, $, R, I = 500, W = 150, G = 0, X = 10;
|
|
73528
|
-
function Z(
|
|
73529
|
-
|
|
73531
|
+
function Z(me) {
|
|
73532
|
+
me.property("__zoom", Tce).on("wheel.zoom", Ee, { passive: !1 }).on("mousedown.zoom", et).on("dblclick.zoom", je).filter(f).on("touchstart.zoom", we).on("touchmove.zoom", le).on("touchend.zoom touchcancel.zoom", Rt).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
|
73530
73533
|
}
|
|
73531
|
-
Z.transform = function(
|
|
73532
|
-
var ie =
|
|
73533
|
-
ie.property("__zoom", Tce),
|
|
73534
|
+
Z.transform = function(me, ve, O, _e) {
|
|
73535
|
+
var ie = me.selection ? me.selection() : me;
|
|
73536
|
+
ie.property("__zoom", Tce), me !== ie ? Ke(me, ve, O, _e) : ie.interrupt().each(function() {
|
|
73534
73537
|
Re(this, arguments).event(_e).start().zoom(null, typeof ve == "function" ? ve.apply(this, arguments) : ve).end();
|
|
73535
73538
|
});
|
|
73536
|
-
}, Z.scaleBy = function(
|
|
73537
|
-
Z.scaleTo(
|
|
73539
|
+
}, Z.scaleBy = function(me, ve, O, _e) {
|
|
73540
|
+
Z.scaleTo(me, function() {
|
|
73538
73541
|
var ie = this.__zoom.k, Ve = typeof ve == "function" ? ve.apply(this, arguments) : ve;
|
|
73539
73542
|
return ie * Ve;
|
|
73540
73543
|
}, O, _e);
|
|
73541
|
-
}, Z.scaleTo = function(
|
|
73542
|
-
Z.transform(
|
|
73543
|
-
var ie = s.apply(this, arguments), Ve = this.__zoom, Ge = O == null ?
|
|
73544
|
+
}, Z.scaleTo = function(me, ve, O, _e) {
|
|
73545
|
+
Z.transform(me, function() {
|
|
73546
|
+
var ie = s.apply(this, arguments), Ve = this.__zoom, Ge = O == null ? fe(ie) : typeof O == "function" ? O.apply(this, arguments) : O, de = Ve.invert(Ge), Ue = typeof ve == "function" ? ve.apply(this, arguments) : ve;
|
|
73544
73547
|
return i(F(j(Ve, Ue), Ge, de), ie, v);
|
|
73545
73548
|
}, O, _e);
|
|
73546
|
-
}, Z.translateBy = function(
|
|
73547
|
-
Z.transform(
|
|
73549
|
+
}, Z.translateBy = function(me, ve, O, _e) {
|
|
73550
|
+
Z.transform(me, function() {
|
|
73548
73551
|
return i(this.__zoom.translate(
|
|
73549
73552
|
typeof ve == "function" ? ve.apply(this, arguments) : ve,
|
|
73550
73553
|
typeof O == "function" ? O.apply(this, arguments) : O
|
|
73551
73554
|
), s.apply(this, arguments), v);
|
|
73552
73555
|
}, null, _e);
|
|
73553
|
-
}, Z.translateTo = function(
|
|
73554
|
-
Z.transform(
|
|
73555
|
-
var Ve = s.apply(this, arguments), Ge = this.__zoom, de = _e == null ?
|
|
73556
|
+
}, Z.translateTo = function(me, ve, O, _e, ie) {
|
|
73557
|
+
Z.transform(me, function() {
|
|
73558
|
+
var Ve = s.apply(this, arguments), Ge = this.__zoom, de = _e == null ? fe(Ve) : typeof _e == "function" ? _e.apply(this, arguments) : _e;
|
|
73556
73559
|
return i(l$.translate(de[0], de[1]).scale(Ge.k).translate(
|
|
73557
73560
|
typeof ve == "function" ? -ve.apply(this, arguments) : -ve,
|
|
73558
73561
|
typeof O == "function" ? -O.apply(this, arguments) : -O
|
|
73559
73562
|
), Ve, v);
|
|
73560
73563
|
}, _e, ie);
|
|
73561
73564
|
};
|
|
73562
|
-
function j(
|
|
73563
|
-
return ve = Math.max(h[0], Math.min(h[1], ve)), ve ===
|
|
73565
|
+
function j(me, ve) {
|
|
73566
|
+
return ve = Math.max(h[0], Math.min(h[1], ve)), ve === me.k ? me : new hy(ve, me.x, me.y);
|
|
73564
73567
|
}
|
|
73565
|
-
function F(
|
|
73566
|
-
var _e = ve[0] - O[0] *
|
|
73567
|
-
return _e ===
|
|
73568
|
+
function F(me, ve, O) {
|
|
73569
|
+
var _e = ve[0] - O[0] * me.k, ie = ve[1] - O[1] * me.k;
|
|
73570
|
+
return _e === me.x && ie === me.y ? me : new hy(me.k, _e, ie);
|
|
73568
73571
|
}
|
|
73569
|
-
function me
|
|
73570
|
-
return [(+
|
|
73572
|
+
function fe(me) {
|
|
73573
|
+
return [(+me[0][0] + +me[1][0]) / 2, (+me[0][1] + +me[1][1]) / 2];
|
|
73571
73574
|
}
|
|
73572
|
-
function Ke(
|
|
73573
|
-
|
|
73575
|
+
function Ke(me, ve, O, _e) {
|
|
73576
|
+
me.on("start.zoom", function() {
|
|
73574
73577
|
Re(this, arguments).event(_e).start();
|
|
73575
73578
|
}).on("interrupt.zoom end.zoom", function() {
|
|
73576
73579
|
Re(this, arguments).event(_e).end();
|
|
73577
73580
|
}).tween("zoom", function() {
|
|
73578
|
-
var ie = this, Ve = arguments, Ge = Re(ie, Ve).event(_e), de = s.apply(ie, Ve), Ue = O == null ?
|
|
73581
|
+
var ie = this, Ve = arguments, Ge = Re(ie, Ve).event(_e), de = s.apply(ie, Ve), Ue = O == null ? fe(de) : typeof O == "function" ? O.apply(ie, Ve) : O, Ct = Math.max(de[1][0] - de[0][0], de[1][1] - de[0][1]), He = ie.__zoom, pt = typeof ve == "function" ? ve.apply(ie, Ve) : ve, Pe = C(He.invert(Ue).concat(Ct / He.k), pt.invert(Ue).concat(Ct / pt.k));
|
|
73579
73582
|
return function(gt) {
|
|
73580
73583
|
if (gt === 1)
|
|
73581
73584
|
gt = pt;
|
|
@@ -73587,34 +73590,34 @@ function zBe() {
|
|
|
73587
73590
|
};
|
|
73588
73591
|
});
|
|
73589
73592
|
}
|
|
73590
|
-
function Re(
|
|
73591
|
-
return !O &&
|
|
73593
|
+
function Re(me, ve, O) {
|
|
73594
|
+
return !O && me.__zooming || new q(me, ve);
|
|
73592
73595
|
}
|
|
73593
|
-
function q(
|
|
73594
|
-
this.that =
|
|
73596
|
+
function q(me, ve) {
|
|
73597
|
+
this.that = me, this.args = ve, this.active = 0, this.sourceEvent = null, this.extent = s.apply(me, ve), this.taps = 0;
|
|
73595
73598
|
}
|
|
73596
73599
|
q.prototype = {
|
|
73597
|
-
event: function(
|
|
73598
|
-
return
|
|
73600
|
+
event: function(me) {
|
|
73601
|
+
return me && (this.sourceEvent = me), this;
|
|
73599
73602
|
},
|
|
73600
73603
|
start: function() {
|
|
73601
73604
|
return ++this.active === 1 && (this.that.__zooming = this, this.emit("start")), this;
|
|
73602
73605
|
},
|
|
73603
|
-
zoom: function(
|
|
73604
|
-
return this.mouse &&
|
|
73606
|
+
zoom: function(me, ve) {
|
|
73607
|
+
return this.mouse && me !== "mouse" && (this.mouse[1] = ve.invert(this.mouse[0])), this.touch0 && me !== "touch" && (this.touch0[1] = ve.invert(this.touch0[0])), this.touch1 && me !== "touch" && (this.touch1[1] = ve.invert(this.touch1[0])), this.that.__zoom = ve, this.emit("zoom"), this;
|
|
73605
73608
|
},
|
|
73606
73609
|
end: function() {
|
|
73607
73610
|
return --this.active === 0 && (delete this.that.__zooming, this.emit("end")), this;
|
|
73608
73611
|
},
|
|
73609
|
-
emit: function(
|
|
73612
|
+
emit: function(me) {
|
|
73610
73613
|
var ve = f1(this.that).datum();
|
|
73611
73614
|
_.call(
|
|
73612
|
-
|
|
73615
|
+
me,
|
|
73613
73616
|
this.that,
|
|
73614
|
-
new PBe(
|
|
73617
|
+
new PBe(me, {
|
|
73615
73618
|
sourceEvent: this.sourceEvent,
|
|
73616
73619
|
target: Z,
|
|
73617
|
-
type:
|
|
73620
|
+
type: me,
|
|
73618
73621
|
transform: this.that.__zoom,
|
|
73619
73622
|
dispatch: _
|
|
73620
73623
|
}),
|
|
@@ -73622,10 +73625,10 @@ function zBe() {
|
|
|
73622
73625
|
);
|
|
73623
73626
|
}
|
|
73624
73627
|
};
|
|
73625
|
-
function Ee(
|
|
73628
|
+
function Ee(me, ...ve) {
|
|
73626
73629
|
if (!o.apply(this, arguments))
|
|
73627
73630
|
return;
|
|
73628
|
-
var O = Re(this, ve).event(
|
|
73631
|
+
var O = Re(this, ve).event(me), _e = this.__zoom, ie = Math.max(h[0], Math.min(h[1], _e.k * Math.pow(2, u.apply(this, arguments)))), Ve = lb(me);
|
|
73629
73632
|
if (O.wheel)
|
|
73630
73633
|
(O.mouse[0][0] !== Ve[0] || O.mouse[0][1] !== Ve[1]) && (O.mouse[1] = _e.invert(O.mouse[0] = Ve)), clearTimeout(O.wheel);
|
|
73631
73634
|
else {
|
|
@@ -73633,16 +73636,16 @@ function zBe() {
|
|
|
73633
73636
|
return;
|
|
73634
73637
|
O.mouse = [Ve, _e.invert(Ve)], rU(this), O.start();
|
|
73635
73638
|
}
|
|
73636
|
-
OR(
|
|
73639
|
+
OR(me), O.wheel = setTimeout(Ge, W), O.zoom("mouse", i(F(j(_e, ie), O.mouse[0], O.mouse[1]), O.extent, v));
|
|
73637
73640
|
function Ge() {
|
|
73638
73641
|
O.wheel = null, O.end();
|
|
73639
73642
|
}
|
|
73640
73643
|
}
|
|
73641
|
-
function et(
|
|
73644
|
+
function et(me, ...ve) {
|
|
73642
73645
|
if (R || !o.apply(this, arguments))
|
|
73643
73646
|
return;
|
|
73644
|
-
var O =
|
|
73645
|
-
ege(
|
|
73647
|
+
var O = me.currentTarget, _e = Re(this, ve, !0).event(me), ie = f1(me.view).on("mousemove.zoom", Ue, !0).on("mouseup.zoom", Ct, !0), Ve = lb(me, O), Ge = me.clientX, de = me.clientY;
|
|
73648
|
+
ege(me.view), Cne(me), _e.mouse = [Ve, this.__zoom.invert(Ve)], rU(this), _e.start();
|
|
73646
73649
|
function Ue(He) {
|
|
73647
73650
|
if (OR(He), !_e.moved) {
|
|
73648
73651
|
var pt = He.clientX - Ge, Pe = He.clientY - de;
|
|
@@ -73654,26 +73657,26 @@ function zBe() {
|
|
|
73654
73657
|
ie.on("mousemove.zoom mouseup.zoom", null), tge(He.view, _e.moved), OR(He), _e.event(He).end();
|
|
73655
73658
|
}
|
|
73656
73659
|
}
|
|
73657
|
-
function je(
|
|
73660
|
+
function je(me, ...ve) {
|
|
73658
73661
|
if (o.apply(this, arguments)) {
|
|
73659
|
-
var O = this.__zoom, _e = lb(
|
|
73660
|
-
OR(
|
|
73662
|
+
var O = this.__zoom, _e = lb(me.changedTouches ? me.changedTouches[0] : me, this), ie = O.invert(_e), Ve = O.k * (me.shiftKey ? 0.5 : 2), Ge = i(F(j(O, Ve), _e, ie), s.apply(this, ve), v);
|
|
73663
|
+
OR(me), w > 0 ? f1(this).transition().duration(w).call(Ke, Ge, _e, me) : f1(this).call(Z.transform, Ge, _e, me);
|
|
73661
73664
|
}
|
|
73662
73665
|
}
|
|
73663
|
-
function we(
|
|
73666
|
+
function we(me, ...ve) {
|
|
73664
73667
|
if (o.apply(this, arguments)) {
|
|
73665
|
-
var O =
|
|
73666
|
-
for (Cne(
|
|
73668
|
+
var O = me.touches, _e = O.length, ie = Re(this, ve, me.changedTouches.length === _e).event(me), Ve, Ge, de, Ue;
|
|
73669
|
+
for (Cne(me), Ge = 0; Ge < _e; ++Ge)
|
|
73667
73670
|
de = O[Ge], Ue = lb(de, this), Ue = [Ue, this.__zoom.invert(Ue), de.identifier], ie.touch0 ? !ie.touch1 && ie.touch0[2] !== Ue[2] && (ie.touch1 = Ue, ie.taps = 0) : (ie.touch0 = Ue, Ve = !0, ie.taps = 1 + !!A);
|
|
73668
73671
|
A && (A = clearTimeout(A)), Ve && (ie.taps < 2 && ($ = Ue[0], A = setTimeout(function() {
|
|
73669
73672
|
A = null;
|
|
73670
73673
|
}, I)), rU(this), ie.start());
|
|
73671
73674
|
}
|
|
73672
73675
|
}
|
|
73673
|
-
function le(
|
|
73676
|
+
function le(me, ...ve) {
|
|
73674
73677
|
if (this.__zooming) {
|
|
73675
|
-
var O = Re(this, ve).event(
|
|
73676
|
-
for (OR(
|
|
73678
|
+
var O = Re(this, ve).event(me), _e = me.changedTouches, ie = _e.length, Ve, Ge, de, Ue;
|
|
73679
|
+
for (OR(me), Ve = 0; Ve < ie; ++Ve)
|
|
73677
73680
|
Ge = _e[Ve], de = lb(Ge, this), O.touch0 && O.touch0[2] === Ge.identifier ? O.touch0[0] = de : O.touch1 && O.touch1[2] === Ge.identifier && (O.touch1[0] = de);
|
|
73678
73681
|
if (Ge = O.that.__zoom, O.touch1) {
|
|
73679
73682
|
var Ct = O.touch0[0], He = O.touch0[1], pt = O.touch1[0], Pe = O.touch1[1], gt = (gt = pt[0] - Ct[0]) * gt + (gt = pt[1] - Ct[1]) * gt, ne = (ne = Pe[0] - He[0]) * ne + (ne = Pe[1] - He[1]) * ne;
|
|
@@ -73685,10 +73688,10 @@ function zBe() {
|
|
|
73685
73688
|
O.zoom("touch", i(F(Ge, de, Ue), O.extent, v));
|
|
73686
73689
|
}
|
|
73687
73690
|
}
|
|
73688
|
-
function Rt(
|
|
73691
|
+
function Rt(me, ...ve) {
|
|
73689
73692
|
if (this.__zooming) {
|
|
73690
|
-
var O = Re(this, ve).event(
|
|
73691
|
-
for (Cne(
|
|
73693
|
+
var O = Re(this, ve).event(me), _e = me.changedTouches, ie = _e.length, Ve, Ge;
|
|
73694
|
+
for (Cne(me), R && clearTimeout(R), R = setTimeout(function() {
|
|
73692
73695
|
R = null;
|
|
73693
73696
|
}, I), Ve = 0; Ve < ie; ++Ve)
|
|
73694
73697
|
Ge = _e[Ve], O.touch0 && O.touch0[2] === Ge.identifier ? delete O.touch0 : O.touch1 && O.touch1[2] === Ge.identifier && delete O.touch1;
|
|
@@ -73700,31 +73703,31 @@ function zBe() {
|
|
|
73700
73703
|
}
|
|
73701
73704
|
}
|
|
73702
73705
|
}
|
|
73703
|
-
return Z.wheelDelta = function(
|
|
73704
|
-
return arguments.length ? (u = typeof
|
|
73705
|
-
}, Z.filter = function(
|
|
73706
|
-
return arguments.length ? (o = typeof
|
|
73707
|
-
}, Z.touchable = function(
|
|
73708
|
-
return arguments.length ? (f = typeof
|
|
73709
|
-
}, Z.extent = function(
|
|
73710
|
-
return arguments.length ? (s = typeof
|
|
73711
|
-
}, Z.scaleExtent = function(
|
|
73712
|
-
return arguments.length ? (h[0] = +
|
|
73713
|
-
}, Z.translateExtent = function(
|
|
73714
|
-
return arguments.length ? (v[0][0] = +
|
|
73715
|
-
}, Z.constrain = function(
|
|
73716
|
-
return arguments.length ? (i =
|
|
73717
|
-
}, Z.duration = function(
|
|
73718
|
-
return arguments.length ? (w = +
|
|
73719
|
-
}, Z.interpolate = function(
|
|
73720
|
-
return arguments.length ? (C =
|
|
73706
|
+
return Z.wheelDelta = function(me) {
|
|
73707
|
+
return arguments.length ? (u = typeof me == "function" ? me : Iz(+me), Z) : u;
|
|
73708
|
+
}, Z.filter = function(me) {
|
|
73709
|
+
return arguments.length ? (o = typeof me == "function" ? me : Iz(!!me), Z) : o;
|
|
73710
|
+
}, Z.touchable = function(me) {
|
|
73711
|
+
return arguments.length ? (f = typeof me == "function" ? me : Iz(!!me), Z) : f;
|
|
73712
|
+
}, Z.extent = function(me) {
|
|
73713
|
+
return arguments.length ? (s = typeof me == "function" ? me : Iz([[+me[0][0], +me[0][1]], [+me[1][0], +me[1][1]]]), Z) : s;
|
|
73714
|
+
}, Z.scaleExtent = function(me) {
|
|
73715
|
+
return arguments.length ? (h[0] = +me[0], h[1] = +me[1], Z) : [h[0], h[1]];
|
|
73716
|
+
}, Z.translateExtent = function(me) {
|
|
73717
|
+
return arguments.length ? (v[0][0] = +me[0][0], v[1][0] = +me[1][0], v[0][1] = +me[0][1], v[1][1] = +me[1][1], Z) : [[v[0][0], v[0][1]], [v[1][0], v[1][1]]];
|
|
73718
|
+
}, Z.constrain = function(me) {
|
|
73719
|
+
return arguments.length ? (i = me, Z) : i;
|
|
73720
|
+
}, Z.duration = function(me) {
|
|
73721
|
+
return arguments.length ? (w = +me, Z) : w;
|
|
73722
|
+
}, Z.interpolate = function(me) {
|
|
73723
|
+
return arguments.length ? (C = me, Z) : C;
|
|
73721
73724
|
}, Z.on = function() {
|
|
73722
|
-
var
|
|
73723
|
-
return
|
|
73724
|
-
}, Z.clickDistance = function(
|
|
73725
|
-
return arguments.length ? (G = (
|
|
73726
|
-
}, Z.tapDistance = function(
|
|
73727
|
-
return arguments.length ? (X = +
|
|
73725
|
+
var me = _.on.apply(_, arguments);
|
|
73726
|
+
return me === _ ? Z : me;
|
|
73727
|
+
}, Z.clickDistance = function(me) {
|
|
73728
|
+
return arguments.length ? (G = (me = +me) * me, Z) : Math.sqrt(G);
|
|
73729
|
+
}, Z.tapDistance = function(me) {
|
|
73730
|
+
return arguments.length ? (X = +me, Z) : X;
|
|
73728
73731
|
}, Z;
|
|
73729
73732
|
}
|
|
73730
73733
|
var bs = /* @__PURE__ */ ((o) => (o.Left = "left", o.Top = "top", o.Right = "right", o.Bottom = "bottom", o))(bs || {}), Gse = /* @__PURE__ */ ((o) => (o.Partial = "partial", o.Full = "full", o))(Gse || {}), eE = /* @__PURE__ */ ((o) => (o.Bezier = "default", o.SimpleBezier = "simple-bezier", o.Straight = "straight", o.Step = "step", o.SmoothStep = "smoothstep", o))(eE || {}), eC = /* @__PURE__ */ ((o) => (o.Strict = "strict", o.Loose = "loose", o))(eC || {}), BU = /* @__PURE__ */ ((o) => (o.Arrow = "arrow", o.ArrowClosed = "arrowclosed", o))(BU || {}), ZR = /* @__PURE__ */ ((o) => (o.Free = "free", o.Vertical = "vertical", o.Horizontal = "horizontal", o))(ZR || {}), hge = /* @__PURE__ */ ((o) => (o.TopLeft = "top-left", o.TopCenter = "top-center", o.TopRight = "top-right", o.BottomLeft = "bottom-left", o.BottomCenter = "bottom-center", o.BottomRight = "bottom-right", o))(hge || {});
|
|
@@ -74487,8 +74490,8 @@ function Fce(o, {
|
|
|
74487
74490
|
toHandle: null
|
|
74488
74491
|
};
|
|
74489
74492
|
if (j) {
|
|
74490
|
-
const
|
|
74491
|
-
if (!Ke || !
|
|
74493
|
+
const fe = Oge(void 0, j), Ke = j.getAttribute("data-nodeid"), Re = j.getAttribute("data-handleid"), q = j.classList.contains("connectable"), Ee = j.classList.contains("connectableend");
|
|
74494
|
+
if (!Ke || !fe)
|
|
74492
74495
|
return F;
|
|
74493
74496
|
const et = {
|
|
74494
74497
|
source: I ? Ke : u,
|
|
@@ -74497,7 +74500,7 @@ function Fce(o, {
|
|
|
74497
74500
|
targetHandle: I ? f : Re
|
|
74498
74501
|
};
|
|
74499
74502
|
F.connection = et;
|
|
74500
|
-
const we = q && Ee && (i === eC.Strict ? I &&
|
|
74503
|
+
const we = q && Ee && (i === eC.Strict ? I && fe === "source" || !I && fe === "target" : Ke !== u || Re !== f);
|
|
74501
74504
|
F.isValid = we && _(et, {
|
|
74502
74505
|
nodes: $,
|
|
74503
74506
|
edges: A,
|
|
@@ -74689,8 +74692,8 @@ function Pge(o) {
|
|
|
74689
74692
|
removeSelectedElements: Z,
|
|
74690
74693
|
addSelectedNodes: j,
|
|
74691
74694
|
updateNodePositions: F,
|
|
74692
|
-
emits:
|
|
74693
|
-
} = Gr(), { onStart: Ke, onDrag: Re, onStop: q, onClick: Ee, el: et, disabled: je, id: we, selectable: le, dragHandle: Rt } = o,
|
|
74695
|
+
emits: fe
|
|
74696
|
+
} = Gr(), { onStart: Ke, onDrag: Re, onStop: q, onClick: Ee, el: et, disabled: je, id: we, selectable: le, dragHandle: Rt } = o, me = dn(!1);
|
|
74694
74697
|
let ve = [], O, _e = null, ie = { x: void 0, y: void 0 }, Ve = { x: 0, y: 0 }, Ge = null, de = !1, Ue = 0, Ct = !1;
|
|
74695
74698
|
const He = xFe(), pt = ({ x: _t, y: qt }) => {
|
|
74696
74699
|
ie = { x: _t, y: qt };
|
|
@@ -74699,12 +74702,12 @@ function Pge(o) {
|
|
|
74699
74702
|
const ae = { x: _t - ee.distance.x, y: qt - ee.distance.y }, { computedPosition: ue } = qse(
|
|
74700
74703
|
ee,
|
|
74701
74704
|
i.value ? Vj(ae, u.value) : ae,
|
|
74702
|
-
|
|
74705
|
+
fe.error,
|
|
74703
74706
|
v.value,
|
|
74704
74707
|
ee.parentNode ? I(ee.parentNode) : void 0
|
|
74705
74708
|
);
|
|
74706
74709
|
return Tt = Tt || ee.position.x !== ue.x || ee.position.y !== ue.y, ee.position = ue, ee;
|
|
74707
|
-
}), !!Tt && (F(ve, !0, !0),
|
|
74710
|
+
}), !!Tt && (F(ve, !0, !0), me.value = !0, Ge)) {
|
|
74708
74711
|
const [ee, ae] = xne({
|
|
74709
74712
|
id: we,
|
|
74710
74713
|
dragItems: ve,
|
|
@@ -74757,7 +74760,7 @@ function Pge(o) {
|
|
|
74757
74760
|
(ie.x !== Tt.xSnapped || ie.y !== Tt.ySnapped) && ve.length && de && (Ge = _t.sourceEvent, Ve = K2(_t.sourceEvent, _e), pt(Tt));
|
|
74758
74761
|
}, vt = (_t) => {
|
|
74759
74762
|
let qt = !1;
|
|
74760
|
-
if (!de && !
|
|
74763
|
+
if (!de && !me.value && !W.value) {
|
|
74761
74764
|
const Tt = _t.sourceEvent, ee = He(Tt), ae = ee.xSnapped - (ie.x ?? 0), ue = ee.ySnapped - (ie.y ?? 0), K = Math.sqrt(ae * ae + ue * ue);
|
|
74762
74765
|
K !== 0 && K <= w.value && (Ee == null || Ee(Tt), qt = !0);
|
|
74763
74766
|
}
|
|
@@ -74770,7 +74773,7 @@ function Pge(o) {
|
|
|
74770
74773
|
});
|
|
74771
74774
|
q({ event: _t.sourceEvent, node: Tt, nodes: ee });
|
|
74772
74775
|
}
|
|
74773
|
-
ve = [],
|
|
74776
|
+
ve = [], me.value = !1, Ct = !1, de = !1, ie = { x: void 0, y: void 0 }, cancelAnimationFrame(Ue);
|
|
74774
74777
|
};
|
|
74775
74778
|
return Wo([() => ht(je), et], ([_t, qt], Tt, ee) => {
|
|
74776
74779
|
if (qt) {
|
|
@@ -74782,7 +74785,7 @@ function Pge(o) {
|
|
|
74782
74785
|
ae.on(".drag", null), O && (O.on("start", null), O.on("drag", null), O.on("end", null));
|
|
74783
74786
|
});
|
|
74784
74787
|
}
|
|
74785
|
-
}),
|
|
74788
|
+
}), me;
|
|
74786
74789
|
}
|
|
74787
74790
|
function wFe(o) {
|
|
74788
74791
|
const s = Qm(Rge, ""), i = Qm(Ige, dn(null)), { findEdge: u, emits: f } = Gr(), h = u(s);
|
|
@@ -74876,7 +74879,7 @@ function Bge({
|
|
|
74876
74879
|
panBy: Z,
|
|
74877
74880
|
startConnection: j,
|
|
74878
74881
|
updateConnection: F,
|
|
74879
|
-
endConnection:
|
|
74882
|
+
endConnection: fe,
|
|
74880
74883
|
emits: Ke,
|
|
74881
74884
|
viewport: Re,
|
|
74882
74885
|
edges: q,
|
|
@@ -74885,7 +74888,7 @@ function Bge({
|
|
|
74885
74888
|
nodeLookup: je
|
|
74886
74889
|
} = Gr();
|
|
74887
74890
|
let we = null, le = !1, Rt = null;
|
|
74888
|
-
function
|
|
74891
|
+
function me(O) {
|
|
74889
74892
|
var _e;
|
|
74890
74893
|
const ie = ht(i) === "target", Ve = Yse(O), Ge = Ace(O.target);
|
|
74891
74894
|
if (Ve && O.button === 0 || !Ve) {
|
|
@@ -74940,7 +74943,7 @@ function Bge({
|
|
|
74940
74943
|
we && we.source !== we.target && Rt && (_ne(Tt), Tt = Rt, Rt.classList.add("connecting", "vue-flow__handle-connecting"), Rt.classList.toggle("valid", !!le), Rt.classList.toggle("vue-flow__handle-valid", !!le));
|
|
74941
74944
|
}
|
|
74942
74945
|
}, Ue = function(Qe) {
|
|
74943
|
-
(pt || Rt) && we && le && (h ? h(Qe, we) : Ke.connect(we)), Ke.connectEnd(Qe), f && (v == null || v(Qe)), _ne(Tt), cancelAnimationFrame(Pe),
|
|
74946
|
+
(pt || Rt) && we && le && (h ? h(Qe, we) : Ke.connect(we)), Ke.connectEnd(Qe), f && (v == null || v(Qe)), _ne(Tt), cancelAnimationFrame(Pe), fe(Qe), ae = !1, le = !1, we = null, Rt = null, Ge.removeEventListener("mousemove", de), Ge.removeEventListener("mouseup", Ue), Ge.removeEventListener("touchmove", de), Ge.removeEventListener("touchend", Ue);
|
|
74944
74947
|
};
|
|
74945
74948
|
const Ct = X(ht(s));
|
|
74946
74949
|
let He = ht(u) || et.value || Bz;
|
|
@@ -75031,10 +75034,10 @@ function Bge({
|
|
|
75031
75034
|
Ee.value,
|
|
75032
75035
|
X
|
|
75033
75036
|
), He = ((_e = Ct.connection) == null ? void 0 : _e.source) === ((ie = Ct.connection) == null ? void 0 : ie.target);
|
|
75034
|
-
Ct.isValid && Ct.connection && !He && Ke.connect(Ct.connection), Ke.clickConnectEnd(O),
|
|
75037
|
+
Ct.isValid && Ct.connection && !He && Ke.connect(Ct.connection), Ke.clickConnectEnd(O), fe(O, !0);
|
|
75035
75038
|
}
|
|
75036
75039
|
return {
|
|
75037
|
-
handlePointerDown:
|
|
75040
|
+
handlePointerDown: me,
|
|
75038
75041
|
handleClick: ve
|
|
75039
75042
|
};
|
|
75040
75043
|
}
|
|
@@ -75266,8 +75269,8 @@ function $Fe(o, s, i) {
|
|
|
75266
75269
|
}), X = B4(
|
|
75267
75270
|
[i.nodes, i.edges, () => i.edges.value.length, () => i.nodes.value.length],
|
|
75268
75271
|
([j, F]) => {
|
|
75269
|
-
var
|
|
75270
|
-
(
|
|
75272
|
+
var fe;
|
|
75273
|
+
(fe = o.modelValue) != null && fe.value && Array.isArray(o.modelValue.value) && (G == null || G.pause(), o.modelValue.value = [...j, ...F], qc(() => {
|
|
75271
75274
|
G == null || G.resume();
|
|
75272
75275
|
}));
|
|
75273
75276
|
},
|
|
@@ -75418,8 +75421,8 @@ function $Fe(o, s, i) {
|
|
|
75418
75421
|
op(F) && u.run(() => {
|
|
75419
75422
|
Wo(
|
|
75420
75423
|
j,
|
|
75421
|
-
(
|
|
75422
|
-
gu(
|
|
75424
|
+
(fe) => {
|
|
75425
|
+
gu(fe) && (F.value = fe);
|
|
75423
75426
|
},
|
|
75424
75427
|
{ immediate: !0 }
|
|
75425
75428
|
);
|
|
@@ -75712,7 +75715,7 @@ function MFe(o, s, i) {
|
|
|
75712
75715
|
{ nodes: [], edges: [] }
|
|
75713
75716
|
);
|
|
75714
75717
|
ae.nodes.length && o.hooks.nodesChange.trigger(ae.nodes), ae.edges.length && o.hooks.edgesChange.trigger(ae.edges);
|
|
75715
|
-
},
|
|
75718
|
+
}, fe = (ee) => {
|
|
75716
75719
|
var ae;
|
|
75717
75720
|
(ae = o.d3Zoom) == null || ae.scaleExtent([ee, o.maxZoom]), o.minZoom = ee;
|
|
75718
75721
|
}, Ke = (ee) => {
|
|
@@ -75756,7 +75759,7 @@ function MFe(o, s, i) {
|
|
|
75756
75759
|
for (const Ce of ue)
|
|
75757
75760
|
K.push(Nce(Ce));
|
|
75758
75761
|
K.length && o.hooks.nodesChange.trigger(K);
|
|
75759
|
-
},
|
|
75762
|
+
}, me = (ee) => {
|
|
75760
75763
|
let ae = ee instanceof Function ? ee(o.edges) : ee;
|
|
75761
75764
|
ae = Array.isArray(ae) ? ae : [ae];
|
|
75762
75765
|
const ue = Tne(
|
|
@@ -75901,7 +75904,7 @@ function MFe(o, s, i) {
|
|
|
75901
75904
|
const K = ae.modelValue || ae.nodes || ae.edges ? [] : void 0;
|
|
75902
75905
|
K && (ae.modelValue && K.push(...ae.modelValue), ae.nodes && K.push(...ae.nodes), ae.edges && K.push(...ae.edges), le(K));
|
|
75903
75906
|
const Ce = () => {
|
|
75904
|
-
gu(ae.maxZoom) && Ke(ae.maxZoom), gu(ae.minZoom) &&
|
|
75907
|
+
gu(ae.maxZoom) && Ke(ae.maxZoom), gu(ae.minZoom) && fe(ae.minZoom), gu(ae.translateExtent) && Re(ae.translateExtent);
|
|
75905
75908
|
};
|
|
75906
75909
|
for (const Be of Object.keys(ae)) {
|
|
75907
75910
|
const Fe = Be, yt = ae[Fe];
|
|
@@ -75916,7 +75919,7 @@ function MFe(o, s, i) {
|
|
|
75916
75919
|
setNodes: je,
|
|
75917
75920
|
setEdges: we,
|
|
75918
75921
|
addNodes: Rt,
|
|
75919
|
-
addEdges:
|
|
75922
|
+
addEdges: me,
|
|
75920
75923
|
removeNodes: ve,
|
|
75921
75924
|
removeEdges: O,
|
|
75922
75925
|
findNode: _,
|
|
@@ -75930,7 +75933,7 @@ function MFe(o, s, i) {
|
|
|
75930
75933
|
addSelectedElements: X,
|
|
75931
75934
|
addSelectedNodes: W,
|
|
75932
75935
|
addSelectedEdges: G,
|
|
75933
|
-
setMinZoom:
|
|
75936
|
+
setMinZoom: fe,
|
|
75934
75937
|
setMaxZoom: Ke,
|
|
75935
75938
|
setTranslateExtent: Re,
|
|
75936
75939
|
setNodeExtent: q,
|
|
@@ -76050,10 +76053,10 @@ const RFe = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], IFe =
|
|
|
76050
76053
|
nodesConnectable: A,
|
|
76051
76054
|
noDragClassName: $,
|
|
76052
76055
|
noPanClassName: R
|
|
76053
|
-
} = Gr(), { id: I, node: W, nodeEl: G, connectedEdges: X } = dC(), Z = dn(), j = li(() => typeof o.connectableStart < "u" ? o.connectableStart : !0), F = li(() => typeof o.connectableEnd < "u" ? o.connectableEnd : !0),
|
|
76056
|
+
} = Gr(), { id: I, node: W, nodeEl: G, connectedEdges: X } = dC(), Z = dn(), j = li(() => typeof o.connectableStart < "u" ? o.connectableStart : !0), F = li(() => typeof o.connectableEnd < "u" ? o.connectableEnd : !0), fe = li(
|
|
76054
76057
|
() => {
|
|
76055
|
-
var we, le, Rt,
|
|
76056
|
-
return ((we = v.value) == null ? void 0 : we.nodeId) === I && ((le = v.value) == null ? void 0 : le.id) === o.id && ((Rt = v.value) == null ? void 0 : Rt.type) === u.value || ((
|
|
76058
|
+
var we, le, Rt, me, ve, O;
|
|
76059
|
+
return ((we = v.value) == null ? void 0 : we.nodeId) === I && ((le = v.value) == null ? void 0 : le.id) === o.id && ((Rt = v.value) == null ? void 0 : Rt.type) === u.value || ((me = C.value) == null ? void 0 : me.nodeId) === I && ((ve = C.value) == null ? void 0 : ve.id) === o.id && ((O = C.value) == null ? void 0 : O.type) === u.value;
|
|
76057
76060
|
}
|
|
76058
76061
|
), Ke = li(
|
|
76059
76062
|
() => {
|
|
@@ -76082,11 +76085,11 @@ const RFe = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], IFe =
|
|
|
76082
76085
|
const Rt = _.value.querySelector(".vue-flow__transformationpane");
|
|
76083
76086
|
if (!G.value || !Z.value || !Rt || !o.id)
|
|
76084
76087
|
return;
|
|
76085
|
-
const
|
|
76088
|
+
const me = G.value.getBoundingClientRect(), ve = Z.value.getBoundingClientRect(), O = window.getComputedStyle(Rt), { m22: _e } = new window.DOMMatrixReadOnly(O.transform), ie = {
|
|
76086
76089
|
id: o.id,
|
|
76087
76090
|
position: o.position,
|
|
76088
|
-
x: (ve.left -
|
|
76089
|
-
y: (ve.top -
|
|
76091
|
+
x: (ve.left - me.left) / _e,
|
|
76092
|
+
y: (ve.top - me.top) / _e,
|
|
76090
76093
|
type: u.value,
|
|
76091
76094
|
nodeId: I,
|
|
76092
76095
|
...Hj(Z.value)
|
|
@@ -76123,7 +76126,7 @@ const RFe = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], IFe =
|
|
|
76123
76126
|
connecting: Ke.value,
|
|
76124
76127
|
connectablestart: j.value,
|
|
76125
76128
|
connectableend: F.value,
|
|
76126
|
-
connectionindicator: Ee.value && (j.value && !
|
|
76129
|
+
connectionindicator: Ee.value && (j.value && !fe.value || F.value && fe.value)
|
|
76127
76130
|
}
|
|
76128
76131
|
]]),
|
|
76129
76132
|
onMousedown: et,
|
|
@@ -76468,7 +76471,7 @@ function qFe({
|
|
|
76468
76471
|
target: _
|
|
76469
76472
|
}), $ = A.x !== 0 ? "x" : "y", R = A[$];
|
|
76470
76473
|
let I, W, G;
|
|
76471
|
-
const X = { x: 0, y: 0 }, Z = { x: 0, y: 0 }, [j, F,
|
|
76474
|
+
const X = { x: 0, y: 0 }, Z = { x: 0, y: 0 }, [j, F, fe, Ke] = Hge({
|
|
76472
76475
|
sourceX: o.x,
|
|
76473
76476
|
sourceY: o.y,
|
|
76474
76477
|
targetX: i.x,
|
|
@@ -76489,13 +76492,13 @@ function qFe({
|
|
|
76489
76492
|
if ($ === "x" ? I = v.x === R ? Ee : q : I = v.y === R ? q : Ee, s === u) {
|
|
76490
76493
|
const Rt = Math.abs(o[$] - i[$]);
|
|
76491
76494
|
if (Rt <= h) {
|
|
76492
|
-
const
|
|
76493
|
-
v[$] === R ? X[$] = (C[$] > o[$] ? -1 : 1) *
|
|
76495
|
+
const me = Math.min(h - 1, h - Rt);
|
|
76496
|
+
v[$] === R ? X[$] = (C[$] > o[$] ? -1 : 1) * me : Z[$] = (_[$] > i[$] ? -1 : 1) * me;
|
|
76494
76497
|
}
|
|
76495
76498
|
}
|
|
76496
76499
|
if (s !== u) {
|
|
76497
|
-
const Rt = $ === "x" ? "y" : "x",
|
|
76498
|
-
(v[$] === 1 && (!
|
|
76500
|
+
const Rt = $ === "x" ? "y" : "x", me = v[$] === w[Rt], ve = C[Rt] > _[Rt], O = C[Rt] < _[Rt];
|
|
76501
|
+
(v[$] === 1 && (!me && ve || me && O) || v[$] !== 1 && (!me && O || me && ve)) && (I = $ === "x" ? q : Ee);
|
|
76499
76502
|
}
|
|
76500
76503
|
const et = { x: C.x + X.x, y: C.y + X.y }, je = { x: _.x + Z.x, y: _.y + Z.y }, we = Math.max(Math.abs(et.x - I[0].x), Math.abs(je.x - I[0].x)), le = Math.max(Math.abs(et.y - I[0].y), Math.abs(je.y - I[0].y));
|
|
76501
76504
|
we >= le ? (W = (et.x + je.x) / 2, G = I[0].y) : (W = I[0].x, G = (et.y + je.y) / 2);
|
|
@@ -76506,7 +76509,7 @@ function qFe({
|
|
|
76506
76509
|
...I,
|
|
76507
76510
|
{ x: _.x + Z.x, y: _.y + Z.y },
|
|
76508
76511
|
i
|
|
76509
|
-
], W, G,
|
|
76512
|
+
], W, G, fe, Ke];
|
|
76510
76513
|
}
|
|
76511
76514
|
function YFe(o, s, i, u) {
|
|
76512
76515
|
const f = Math.min(Gce(o, s) / 2, Gce(s, i) / 2, u), { x: h, y: v } = s;
|
|
@@ -76540,8 +76543,8 @@ function VU(o) {
|
|
|
76540
76543
|
offset: A
|
|
76541
76544
|
});
|
|
76542
76545
|
return [$.reduce((Z, j, F) => {
|
|
76543
|
-
let
|
|
76544
|
-
return F > 0 && F < $.length - 1 ?
|
|
76546
|
+
let fe;
|
|
76547
|
+
return F > 0 && F < $.length - 1 ? fe = YFe($[F - 1], j, $[F + 1], w) : fe = `${F === 0 ? "M" : "L"}${j.x} ${j.y}`, Z += fe, Z;
|
|
76545
76548
|
}, ""), R, I, W, G];
|
|
76546
76549
|
}
|
|
76547
76550
|
function KFe(o) {
|
|
@@ -77033,11 +77036,11 @@ const pLe = {
|
|
|
77033
77036
|
multiSelectionActive: Z,
|
|
77034
77037
|
edgeLookup: j,
|
|
77035
77038
|
nodeLookup: F,
|
|
77036
|
-
connectionLookup:
|
|
77039
|
+
connectionLookup: fe,
|
|
77037
77040
|
defaultEdgeOptions: Ke,
|
|
77038
77041
|
connectionStartHandle: Re
|
|
77039
77042
|
} = Gr(), q = dn(null), Ee = dn(/* @__PURE__ */ new Set()), et = dn(/* @__PURE__ */ new Set()), je = dn(), we = li(() => C.value && (o.isSelecting || h.value)), le = li(() => Re.value !== null);
|
|
77040
|
-
let Rt = !1,
|
|
77043
|
+
let Rt = !1, me = !1;
|
|
77041
77044
|
const ve = GR(G, { actInsideInputWithModifier: !1 }), O = GR(X);
|
|
77042
77045
|
Wo(ve, (He) => {
|
|
77043
77046
|
He && (R($.value), I(A.value), _.value = !1);
|
|
@@ -77068,7 +77071,7 @@ const pLe = {
|
|
|
77068
77071
|
return;
|
|
77069
77072
|
(gt = (Pe = He.target) == null ? void 0 : Pe.setPointerCapture) == null || gt.call(Pe, He.pointerId);
|
|
77070
77073
|
const { x: ne, y: yn } = hLe(He, je.value);
|
|
77071
|
-
|
|
77074
|
+
me = !0, Rt = !1, v(), w.value = {
|
|
77072
77075
|
width: 0,
|
|
77073
77076
|
height: 0,
|
|
77074
77077
|
startX: ne,
|
|
@@ -77097,7 +77100,7 @@ const pLe = {
|
|
|
77097
77100
|
), et.value = /* @__PURE__ */ new Set();
|
|
77098
77101
|
const Tt = ((pt = Ke.value) == null ? void 0 : pt.selectable) ?? !0;
|
|
77099
77102
|
for (const ee of Ee.value) {
|
|
77100
|
-
const ae =
|
|
77103
|
+
const ae = fe.value.get(ee);
|
|
77101
77104
|
if (ae)
|
|
77102
77105
|
for (const { edgeId: ue } of ae.values()) {
|
|
77103
77106
|
const K = j.value.get(ue);
|
|
@@ -77116,7 +77119,7 @@ const pLe = {
|
|
|
77116
77119
|
}
|
|
77117
77120
|
function Ct(He) {
|
|
77118
77121
|
var pt;
|
|
77119
|
-
He.button !== 0 || !
|
|
77122
|
+
He.button !== 0 || !me || ((pt = He.target) == null || pt.releasePointerCapture(He.pointerId), !h.value && w.value && He.target === q.value && ie(He), h.value = !1, w.value = null, _.value = Ee.value.size > 0, f.selectionEnd(He), o.selectionKeyPressed && (Rt = !1), me = !1);
|
|
77120
77123
|
}
|
|
77121
77124
|
return (He, pt) => (ct(), on("div", {
|
|
77122
77125
|
ref_key: "container",
|
|
@@ -77179,7 +77182,7 @@ const pLe = {
|
|
|
77179
77182
|
noPanClassName: Z,
|
|
77180
77183
|
emits: j,
|
|
77181
77184
|
connectionStartHandle: F,
|
|
77182
|
-
userSelectionActive:
|
|
77185
|
+
userSelectionActive: fe,
|
|
77183
77186
|
paneDragging: Ke,
|
|
77184
77187
|
d3Zoom: Re,
|
|
77185
77188
|
d3Selection: q,
|
|
@@ -77190,7 +77193,7 @@ const pLe = {
|
|
|
77190
77193
|
} = Gr();
|
|
77191
77194
|
cLe(je);
|
|
77192
77195
|
const le = dn(!1), Rt = dn(!1);
|
|
77193
|
-
let
|
|
77196
|
+
let me = null, ve = !1, O = 0, _e = {
|
|
77194
77197
|
x: 0,
|
|
77195
77198
|
y: 0,
|
|
77196
77199
|
zoom: 0
|
|
@@ -77226,7 +77229,7 @@ const pLe = {
|
|
|
77226
77229
|
const Be = Ge.value || W.value, Fe = I.value && K.ctrlKey, yt = K.button;
|
|
77227
77230
|
if (yt === 1 && K.type === "mousedown" && (ne(K, "vue-flow__node") || ne(K, "vue-flow__edge")))
|
|
77228
77231
|
return !0;
|
|
77229
|
-
if (!de.value && !Be && !Ue.value && !R.value && !I.value ||
|
|
77232
|
+
if (!de.value && !Be && !Ue.value && !R.value && !I.value || fe.value || !R.value && K.type === "dblclick" || ne(K, X.value) && K.type === "wheel" || ne(K, Z.value) && (K.type !== "wheel" || Ue.value && K.type === "wheel" && !Ge.value) || !I.value && K.ctrlKey && K.type === "wheel" || !Be && !Ue.value && !Fe && K.type === "wheel")
|
|
77230
77233
|
return !1;
|
|
77231
77234
|
if (!I && K.type === "touchstart" && ((Ce = K.touches) == null ? void 0 : Ce.length) > 1)
|
|
77232
77235
|
return K.preventDefault(), !1;
|
|
@@ -77235,9 +77238,9 @@ const pLe = {
|
|
|
77235
77238
|
const Qe = Array.isArray($.value) && $.value.includes(yt) || v.value === !0 && Array.isArray($.value) && !$.value.includes(0) || !yt || yt <= 1;
|
|
77236
77239
|
return (!K.ctrlKey || ie.value || K.type === "wheel") && Qe;
|
|
77237
77240
|
}), Wo(
|
|
77238
|
-
[
|
|
77241
|
+
[fe, de],
|
|
77239
77242
|
() => {
|
|
77240
|
-
|
|
77243
|
+
fe.value && !le.value ? _t.on("zoom", null) : fe.value || _t.on("zoom", (K) => {
|
|
77241
77244
|
et.value = { x: K.transform.x, y: K.transform.y, zoom: K.transform.k };
|
|
77242
77245
|
const Ce = gt(K.transform);
|
|
77243
77246
|
ve = He(de.value, O ?? 0), j.viewportChange(Ce), j.move({ event: K, flowTransform: Ce });
|
|
@@ -77245,9 +77248,9 @@ const pLe = {
|
|
|
77245
77248
|
},
|
|
77246
77249
|
{ immediate: !0 }
|
|
77247
77250
|
), Wo(
|
|
77248
|
-
[
|
|
77251
|
+
[fe, Ue, _, Ge, I, G, X],
|
|
77249
77252
|
() => {
|
|
77250
|
-
Ue.value && !Ge.value && !
|
|
77253
|
+
Ue.value && !Ge.value && !fe.value ? qt.on(
|
|
77251
77254
|
"wheel.zoom",
|
|
77252
77255
|
(K) => {
|
|
77253
77256
|
if (ne(K, X.value))
|
|
@@ -77270,7 +77273,7 @@ const pLe = {
|
|
|
77270
77273
|
-(En / yt) * A.value
|
|
77271
77274
|
);
|
|
77272
77275
|
const $t = gt(qt.property("__zoom"));
|
|
77273
|
-
|
|
77276
|
+
me && clearTimeout(me), Rt.value ? (j.move({ event: K, flowTransform: $t }), j.viewportChange($t), me = setTimeout(() => {
|
|
77274
77277
|
j.moveEnd({ event: K, flowTransform: $t }), j.viewportChangeEnd($t), Rt.value = !1;
|
|
77275
77278
|
}, 150)) : (Rt.value = !0, j.moveStart({ event: K, flowTransform: $t }), j.viewportChangeStart($t));
|
|
77276
77279
|
},
|
|
@@ -77420,7 +77423,7 @@ const qce = Kse, OLe = Ko({
|
|
|
77420
77423
|
edgesUpdatable: X,
|
|
77421
77424
|
edgesFocusable: Z,
|
|
77422
77425
|
hooks: j
|
|
77423
|
-
} = Gr(), F = $n(() => A(o.id)), { emit:
|
|
77426
|
+
} = Gr(), F = $n(() => A(o.id)), { emit: fe, on: Ke } = SFe(F.value, h), Re = Qm(Uj), q = sC(), Ee = dn(!1), et = dn(!1), je = dn(""), we = dn(null), le = dn("source"), Rt = dn(null), me = li(
|
|
77424
77427
|
() => typeof F.value.selectable > "u" ? G.value : F.value.selectable
|
|
77425
77428
|
), ve = li(() => typeof F.value.updatable > "u" ? X.value : F.value.updatable), O = li(() => typeof F.value.focusable > "u" ? Z.value : F.value.focusable);
|
|
77426
77429
|
Jm(Rge, o.id), Jm(Ige, Rt);
|
|
@@ -77474,7 +77477,7 @@ const qce = Kse, OLe = Ko({
|
|
|
77474
77477
|
updating: Ee.value,
|
|
77475
77478
|
selected: F.value.selected,
|
|
77476
77479
|
animated: F.value.animated,
|
|
77477
|
-
inactive: !
|
|
77480
|
+
inactive: !me.value && !j.value.edgeClick.hasListeners()
|
|
77478
77481
|
}
|
|
77479
77482
|
],
|
|
77480
77483
|
onClick: Pe,
|
|
@@ -77570,33 +77573,33 @@ const qce = Kse, OLe = Ko({
|
|
|
77570
77573
|
Ee.value = !1;
|
|
77571
77574
|
}
|
|
77572
77575
|
function Ct(ae, ue) {
|
|
77573
|
-
|
|
77576
|
+
fe.update({ event: ae, edge: F.value, connection: ue });
|
|
77574
77577
|
}
|
|
77575
77578
|
function He(ae) {
|
|
77576
|
-
|
|
77579
|
+
fe.updateEnd({ event: ae, edge: F.value }), et.value = !1;
|
|
77577
77580
|
}
|
|
77578
77581
|
function pt(ae, ue) {
|
|
77579
|
-
ae.button === 0 && (et.value = !0, je.value = ue ? F.value.target : F.value.source, we.value = (ue ? F.value.targetHandle : F.value.sourceHandle) ?? null, le.value = ue ? "target" : "source",
|
|
77582
|
+
ae.button === 0 && (et.value = !0, je.value = ue ? F.value.target : F.value.source, we.value = (ue ? F.value.targetHandle : F.value.sourceHandle) ?? null, le.value = ue ? "target" : "source", fe.updateStart({ event: ae, edge: F.value }), Ge(ae));
|
|
77580
77583
|
}
|
|
77581
77584
|
function Pe(ae) {
|
|
77582
77585
|
var ue;
|
|
77583
77586
|
const K = { event: ae, edge: F.value };
|
|
77584
|
-
|
|
77587
|
+
me.value && (v.value = !1, F.value.selected && I.value ? (_([F.value]), (ue = Rt.value) == null || ue.blur()) : i([F.value])), fe.click(K);
|
|
77585
77588
|
}
|
|
77586
77589
|
function gt(ae) {
|
|
77587
|
-
|
|
77590
|
+
fe.contextMenu({ event: ae, edge: F.value });
|
|
77588
77591
|
}
|
|
77589
77592
|
function ne(ae) {
|
|
77590
|
-
|
|
77593
|
+
fe.doubleClick({ event: ae, edge: F.value });
|
|
77591
77594
|
}
|
|
77592
77595
|
function yn(ae) {
|
|
77593
|
-
|
|
77596
|
+
fe.mouseEnter({ event: ae, edge: F.value });
|
|
77594
77597
|
}
|
|
77595
77598
|
function vt(ae) {
|
|
77596
|
-
|
|
77599
|
+
fe.mouseMove({ event: ae, edge: F.value });
|
|
77597
77600
|
}
|
|
77598
77601
|
function _t(ae) {
|
|
77599
|
-
|
|
77602
|
+
fe.mouseLeave({ event: ae, edge: F.value });
|
|
77600
77603
|
}
|
|
77601
77604
|
function qt(ae) {
|
|
77602
77605
|
pt(ae, !0);
|
|
@@ -77606,7 +77609,7 @@ const qce = Kse, OLe = Ko({
|
|
|
77606
77609
|
}
|
|
77607
77610
|
function ee(ae) {
|
|
77608
77611
|
var ue;
|
|
77609
|
-
!W.value && bge.includes(ae.key) &&
|
|
77612
|
+
!W.value && bge.includes(ae.key) && me.value && (ae.key === "Escape" ? ((ue = Rt.value) == null || ue.blur(), _([A(o.id)])) : i([A(o.id)]));
|
|
77610
77613
|
}
|
|
77611
77614
|
}
|
|
77612
77615
|
}), DLe = OLe, NLe = Ko({
|
|
@@ -77641,7 +77644,7 @@ const qce = Kse, OLe = Ko({
|
|
|
77641
77644
|
() => C.value.markerEnd ? `url(#${mI(C.value.markerEnd, s)})` : ""
|
|
77642
77645
|
);
|
|
77643
77646
|
return () => {
|
|
77644
|
-
var j, F,
|
|
77647
|
+
var j, F, fe;
|
|
77645
77648
|
if (!I.value || !u.value)
|
|
77646
77649
|
return null;
|
|
77647
77650
|
const Ke = u.value.id, Re = u.value.type, q = I.value.handleBounds;
|
|
@@ -77665,8 +77668,8 @@ const qce = Kse, OLe = Ko({
|
|
|
77665
77668
|
return ie.id === ((Ve = f.value) == null ? void 0 : Ve.id);
|
|
77666
77669
|
}
|
|
77667
77670
|
)) || null);
|
|
77668
|
-
const
|
|
77669
|
-
if (!je || !
|
|
77671
|
+
const me = ((fe = f.value) == null ? void 0 : fe.position) ?? (je ? Ioe[je] : null);
|
|
77672
|
+
if (!je || !me)
|
|
77670
77673
|
return null;
|
|
77671
77674
|
const ve = v.value ?? C.value.type ?? eE.Bezier;
|
|
77672
77675
|
let O = "";
|
|
@@ -77676,7 +77679,7 @@ const qce = Kse, OLe = Ko({
|
|
|
77676
77679
|
sourcePosition: je,
|
|
77677
77680
|
targetX: G.value.x,
|
|
77678
77681
|
targetY: G.value.y,
|
|
77679
|
-
targetPosition:
|
|
77682
|
+
targetPosition: me
|
|
77680
77683
|
};
|
|
77681
77684
|
return ve === eE.Bezier ? [O] = zge(_e) : ve === eE.Step ? [O] = VU({
|
|
77682
77685
|
..._e,
|
|
@@ -77693,7 +77696,7 @@ const qce = Kse, OLe = Ko({
|
|
|
77693
77696
|
sourcePosition: je,
|
|
77694
77697
|
targetX: G.value.x,
|
|
77695
77698
|
targetY: G.value.y,
|
|
77696
|
-
targetPosition:
|
|
77699
|
+
targetPosition: me,
|
|
77697
77700
|
sourceNode: I.value,
|
|
77698
77701
|
sourceHandle: et,
|
|
77699
77702
|
targetNode: W.value,
|
|
@@ -77848,13 +77851,13 @@ const qce = Kse, OLe = Ko({
|
|
|
77848
77851
|
snapGrid: Z,
|
|
77849
77852
|
nodeDragThreshold: j,
|
|
77850
77853
|
nodesDraggable: F,
|
|
77851
|
-
elementsSelectable:
|
|
77854
|
+
elementsSelectable: fe,
|
|
77852
77855
|
nodesConnectable: Ke,
|
|
77853
77856
|
nodesFocusable: Re,
|
|
77854
77857
|
hooks: q
|
|
77855
77858
|
} = Gr(), Ee = dn(null);
|
|
77856
77859
|
Jm(Mge, Ee), Jm(Nge, o.id);
|
|
77857
|
-
const et = Qm(Uj), je = sC(), we = Fge(), { node: le, parentNode: Rt } = dC(o.id), { emit:
|
|
77860
|
+
const et = Qm(Uj), je = sC(), we = Fge(), { node: le, parentNode: Rt } = dC(o.id), { emit: me, on: ve } = TFe(le, v), O = li(() => typeof le.draggable > "u" ? F.value : le.draggable), _e = li(() => typeof le.selectable > "u" ? fe.value : le.selectable), ie = li(() => typeof le.connectable > "u" ? Ke.value : le.connectable), Ve = li(() => typeof le.focusable > "u" ? Re.value : le.focusable), Ge = li(
|
|
77858
77861
|
() => _e.value || O.value || q.value.nodeClick.hasListeners() || q.value.nodeDoubleClick.hasListeners() || q.value.nodeMouseEnter.hasListeners() || q.value.nodeMouseMove.hasListeners() || q.value.nodeMouseLeave.hasListeners()
|
|
77859
77862
|
), de = li(() => !!le.dimensions.width && !!le.dimensions.height), Ue = $n(() => {
|
|
77860
77863
|
const ue = le.type || "default", K = et == null ? void 0 : et[`node-${ue}`];
|
|
@@ -77873,13 +77876,13 @@ const qce = Kse, OLe = Ko({
|
|
|
77873
77876
|
selectable: _e,
|
|
77874
77877
|
dragHandle: () => le.dragHandle,
|
|
77875
77878
|
onStart(ue) {
|
|
77876
|
-
|
|
77879
|
+
me.dragStart(ue);
|
|
77877
77880
|
},
|
|
77878
77881
|
onDrag(ue) {
|
|
77879
|
-
|
|
77882
|
+
me.drag(ue);
|
|
77880
77883
|
},
|
|
77881
77884
|
onStop(ue) {
|
|
77882
|
-
|
|
77885
|
+
me.dragStop(ue);
|
|
77883
77886
|
},
|
|
77884
77887
|
onClick(ue) {
|
|
77885
77888
|
ee(ue);
|
|
@@ -78020,19 +78023,19 @@ const qce = Kse, OLe = Ko({
|
|
|
78020
78023
|
Ee.value && _([{ id: o.id, nodeElement: Ee.value, forceUpdate: !0 }]);
|
|
78021
78024
|
}
|
|
78022
78025
|
function yn(ue) {
|
|
78023
|
-
Ct != null && Ct.value ||
|
|
78026
|
+
Ct != null && Ct.value || me.mouseEnter({ event: ue, node: le });
|
|
78024
78027
|
}
|
|
78025
78028
|
function vt(ue) {
|
|
78026
|
-
Ct != null && Ct.value ||
|
|
78029
|
+
Ct != null && Ct.value || me.mouseMove({ event: ue, node: le });
|
|
78027
78030
|
}
|
|
78028
78031
|
function _t(ue) {
|
|
78029
|
-
Ct != null && Ct.value ||
|
|
78032
|
+
Ct != null && Ct.value || me.mouseLeave({ event: ue, node: le });
|
|
78030
78033
|
}
|
|
78031
78034
|
function qt(ue) {
|
|
78032
|
-
return
|
|
78035
|
+
return me.contextMenu({ event: ue, node: le });
|
|
78033
78036
|
}
|
|
78034
78037
|
function Tt(ue) {
|
|
78035
|
-
return
|
|
78038
|
+
return me.doubleClick({ event: ue, node: le });
|
|
78036
78039
|
}
|
|
78037
78040
|
function ee(ue) {
|
|
78038
78041
|
_e.value && (!u.value || !O.value || j.value > 0) && Poe(
|
|
@@ -78043,7 +78046,7 @@ const qce = Kse, OLe = Ko({
|
|
|
78043
78046
|
f,
|
|
78044
78047
|
!1,
|
|
78045
78048
|
Ee.value
|
|
78046
|
-
),
|
|
78049
|
+
), me.click({ event: ue, node: le });
|
|
78047
78050
|
}
|
|
78048
78051
|
function ae(ue) {
|
|
78049
78052
|
if (!(Moe(ue) || W.value))
|
|
@@ -78452,7 +78455,7 @@ const P9e = { render: I9e }, B9e = {
|
|
|
78452
78455
|
function j() {
|
|
78453
78456
|
h(!R.value), s("interactionChange", !R.value);
|
|
78454
78457
|
}
|
|
78455
|
-
return (F,
|
|
78458
|
+
return (F, fe) => (ct(), Co(Ne(t9e), {
|
|
78456
78459
|
class: "vue-flow__controls",
|
|
78457
78460
|
position: F.position
|
|
78458
78461
|
}, {
|
|
@@ -80855,11 +80858,11 @@ const Mhe = {
|
|
|
80855
80858
|
}, 0);
|
|
80856
80859
|
}, R = $n(() => [
|
|
80857
80860
|
...[...C || [], ...VUe.map((I) => ({ ...I, isSystem: !0 }))].map((I) => {
|
|
80858
|
-
var X, Z, j, F,
|
|
80861
|
+
var X, Z, j, F, fe;
|
|
80859
80862
|
const W = ((Z = (X = w == null ? void 0 : w.value) == null ? void 0 : X.data) == null ? void 0 : Z.type) || ((j = w == null ? void 0 : w.value) == null ? void 0 : j.type), G = ((F = I == null ? void 0 : I.defaultData) == null ? void 0 : F.type) || (I == null ? void 0 : I.type);
|
|
80860
80863
|
return {
|
|
80861
80864
|
title: w != null && w.value ? `设为${I == null ? void 0 : I.name}` : I == null ? void 0 : I.name,
|
|
80862
|
-
disabled: W === G || ((
|
|
80865
|
+
disabled: W === G || ((fe = w == null ? void 0 : w.value) == null ? void 0 : fe.isSystem),
|
|
80863
80866
|
actionHandler: async () => {
|
|
80864
80867
|
var Ee;
|
|
80865
80868
|
const { defaultData: Ke, ...Re } = I, q = await ((Ee = i == null ? void 0 : i.getNodeDefaultData) == null ? void 0 : Ee.call(i, Re)) || {};
|
|
@@ -81147,8 +81150,8 @@ const ije = { class: "w-full flex flex-col" }, lje = { class: "grid grid-cols-2
|
|
|
81147
81150
|
event: Z,
|
|
81148
81151
|
data: j,
|
|
81149
81152
|
callback: (F) => {
|
|
81150
|
-
const
|
|
81151
|
-
h(u.id, { ...u.data, children: ya(
|
|
81153
|
+
const fe = (C.value || []).map((Ke) => (F == null ? void 0 : F.id) === (Ke == null ? void 0 : Ke.id) ? F : Ke);
|
|
81154
|
+
h(u.id, { ...u.data, children: ya(fe) });
|
|
81152
81155
|
}
|
|
81153
81156
|
});
|
|
81154
81157
|
}, W = (Z) => {
|
|
@@ -81171,11 +81174,11 @@ const ije = { class: "w-full flex flex-col" }, lje = { class: "grid grid-cols-2
|
|
|
81171
81174
|
v("onNodeDoubleClick", Z);
|
|
81172
81175
|
};
|
|
81173
81176
|
return (Z, j) => {
|
|
81174
|
-
var F,
|
|
81177
|
+
var F, fe;
|
|
81175
81178
|
return ct(), on(er, null, [
|
|
81176
81179
|
Vt("div", ije, [
|
|
81177
81180
|
Vt("div", lje, [
|
|
81178
|
-
(ct(!0), on(er, null, ta((
|
|
81181
|
+
(ct(!0), on(er, null, ta((fe = (F = Ne(u)) == null ? void 0 : F.data) == null ? void 0 : fe.children, (Ke) => (ct(), on("div", {
|
|
81179
81182
|
key: Ke == null ? void 0 : Ke.id,
|
|
81180
81183
|
class: ci({ "vue-flow__node-default": !0, selected: Ke.selected }),
|
|
81181
81184
|
onClick: (Re) => A(Re, Ke),
|
|
@@ -81427,8 +81430,8 @@ function Lhe(o) {
|
|
|
81427
81430
|
h(j);
|
|
81428
81431
|
});
|
|
81429
81432
|
const I = $n(() => i.value.filter((X) => X.selected)), W = async () => {
|
|
81430
|
-
var X, Z, j, F,
|
|
81431
|
-
return !(((X = I == null ? void 0 : I.value) == null ? void 0 : X.length) === 1 && ((Z = I == null ? void 0 : I.value) == null ? void 0 : Z[0].type) === "parent" && ((
|
|
81433
|
+
var X, Z, j, F, fe;
|
|
81434
|
+
return !(((X = I == null ? void 0 : I.value) == null ? void 0 : X.length) === 1 && ((Z = I == null ? void 0 : I.value) == null ? void 0 : Z[0].type) === "parent" && ((fe = (F = (j = I == null ? void 0 : I.value) == null ? void 0 : j[0].data) == null ? void 0 : F.children) == null ? void 0 : fe.length) > 1);
|
|
81432
81435
|
};
|
|
81433
81436
|
C(async (X) => {
|
|
81434
81437
|
const Z = [];
|
|
@@ -81498,25 +81501,25 @@ const Cje = {
|
|
|
81498
81501
|
getNodeDefaultData: u == null ? void 0 : u.getNodeDefaultData,
|
|
81499
81502
|
getEdgeDefaultData: u == null ? void 0 : u.getEdgeDefaultData
|
|
81500
81503
|
});
|
|
81501
|
-
const { setEdges: A, setNodes: $, onNodeDoubleClick: R, onEdgeDoubleClick: I, onNodeClick: W, onEdgeClick: G } = Gr(), X = (
|
|
81502
|
-
f.value =
|
|
81503
|
-
}, Z = (
|
|
81504
|
-
v("onEdgeDoubleClick",
|
|
81504
|
+
const { setEdges: A, setNodes: $, onNodeDoubleClick: R, onEdgeDoubleClick: I, onNodeClick: W, onEdgeClick: G } = Gr(), X = (fe) => {
|
|
81505
|
+
f.value = fe;
|
|
81506
|
+
}, Z = (fe) => {
|
|
81507
|
+
v("onEdgeDoubleClick", fe);
|
|
81505
81508
|
};
|
|
81506
|
-
I((
|
|
81507
|
-
Z(
|
|
81508
|
-
}), R((
|
|
81509
|
+
I((fe) => {
|
|
81510
|
+
Z(fe == null ? void 0 : fe.edge);
|
|
81511
|
+
}), R((fe) => {
|
|
81509
81512
|
var Ke;
|
|
81510
|
-
((Ke =
|
|
81511
|
-
}), W((
|
|
81512
|
-
v("onNodeClick",
|
|
81513
|
-
}), G((
|
|
81514
|
-
v("onEdgeClick",
|
|
81513
|
+
((Ke = fe == null ? void 0 : fe.node) == null ? void 0 : Ke.type) !== "parent" && j(fe == null ? void 0 : fe.node);
|
|
81514
|
+
}), W((fe) => {
|
|
81515
|
+
v("onNodeClick", fe == null ? void 0 : fe.node);
|
|
81516
|
+
}), G((fe) => {
|
|
81517
|
+
v("onEdgeClick", fe == null ? void 0 : fe.edge);
|
|
81515
81518
|
});
|
|
81516
|
-
const j = (
|
|
81517
|
-
v("onNodeDoubleClick",
|
|
81518
|
-
}, F = (
|
|
81519
|
-
v("onNodeClick",
|
|
81519
|
+
const j = (fe) => {
|
|
81520
|
+
v("onNodeDoubleClick", fe);
|
|
81521
|
+
}, F = (fe) => {
|
|
81522
|
+
v("onNodeClick", fe);
|
|
81520
81523
|
};
|
|
81521
81524
|
return Nhe({
|
|
81522
81525
|
nodeTypes: u == null ? void 0 : u.nodeTypes,
|
|
@@ -81527,7 +81530,7 @@ const Cje = {
|
|
|
81527
81530
|
}), s({
|
|
81528
81531
|
setEdges: A,
|
|
81529
81532
|
setNodes: $
|
|
81530
|
-
}), (
|
|
81533
|
+
}), (fe, Ke) => (ct(), Co(Ne(Wge), {
|
|
81531
81534
|
"default-viewport": { zoom: 1 },
|
|
81532
81535
|
"min-zoom": 0.2,
|
|
81533
81536
|
"max-zoom": 4,
|
|
@@ -81663,7 +81666,7 @@ const Cje = {
|
|
|
81663
81666
|
]),
|
|
81664
81667
|
_: 2
|
|
81665
81668
|
}, [
|
|
81666
|
-
ta(u.nodeTypes, (F,
|
|
81669
|
+
ta(u.nodeTypes, (F, fe) => ({
|
|
81667
81670
|
name: `node-${F.type}`,
|
|
81668
81671
|
fn: xn(() => [
|
|
81669
81672
|
fn(e$)
|
|
@@ -82605,11 +82608,11 @@ vr.prototype = /** @lends Sortable.prototype */
|
|
|
82605
82608
|
if (F && s === o.target && (i = F), i && (f = hu(i)), jz(Zl, s, Jo, u, i, f, o, !!i) !== !1)
|
|
82606
82609
|
return X(), F && F.nextSibling ? s.insertBefore(Jo, F.nextSibling) : s.appendChild(Jo), kc = s, j(), Z(!0);
|
|
82607
82610
|
} else if (F && tWe(o, R, this)) {
|
|
82608
|
-
var
|
|
82609
|
-
if (
|
|
82611
|
+
var fe = u$(s, 0, v, !0);
|
|
82612
|
+
if (fe === Jo)
|
|
82610
82613
|
return Z(!1);
|
|
82611
|
-
if (i =
|
|
82612
|
-
return X(), s.insertBefore(Jo,
|
|
82614
|
+
if (i = fe, f = hu(i), jz(Zl, s, Jo, u, i, f, o, !1) !== !1)
|
|
82615
|
+
return X(), s.insertBefore(Jo, fe), kc = s, j(), Z(!0);
|
|
82613
82616
|
} else if (i.parentNode === s) {
|
|
82614
82617
|
f = hu(i);
|
|
82615
82618
|
var Ke = 0, Re, q = Jo.parentNode !== s, Ee = !Kje(Jo.animated && Jo.toRect || u, i.animated && i.toRect || f, R), et = R ? "top" : "left", je = Eue(i, "top", "top") || Eue(Jo, "top", "top"), we = je ? je.scrollTop : void 0;
|
|
@@ -82624,11 +82627,11 @@ vr.prototype = /** @lends Sortable.prototype */
|
|
|
82624
82627
|
if (Ke === 0 || le === i)
|
|
82625
82628
|
return Z(!1);
|
|
82626
82629
|
L4 = i, XR = Ke;
|
|
82627
|
-
var
|
|
82630
|
+
var me = i.nextElementSibling, ve = !1;
|
|
82628
82631
|
ve = Ke === 1;
|
|
82629
82632
|
var O = jz(Zl, s, Jo, u, i, f, o, ve);
|
|
82630
82633
|
if (O !== !1)
|
|
82631
|
-
return (O === 1 || O === -1) && (ve = O === 1), Voe = !0, setTimeout(eWe, 30), X(), ve && !
|
|
82634
|
+
return (O === 1 || O === -1) && (ve = O === 1), Voe = !0, setTimeout(eWe, 30), X(), ve && !me ? s.appendChild(Jo) : i.parentNode.insertBefore(Jo, ve ? me : i), je && Yhe(je, 0, we - je.scrollTop), kc = Jo.parentNode, Re !== void 0 && !zz && (lU = Math.abs(Re - hu(i)[et])), j(), Z(!0);
|
|
82632
82635
|
}
|
|
82633
82636
|
if (s.contains(Jo))
|
|
82634
82637
|
return Z(!1);
|
|
@@ -82960,12 +82963,12 @@ var Wne = qhe(function(o, s, i, u) {
|
|
|
82960
82963
|
Uoe !== i && (Uoe = i, uU(), BR = s.scroll, A = s.scrollFn, BR === !0 && (BR = G2(i, !0)));
|
|
82961
82964
|
var $ = 0, R = BR;
|
|
82962
82965
|
do {
|
|
82963
|
-
var I = R, W = hu(I), G = W.top, X = W.bottom, Z = W.left, j = W.right, F = W.width,
|
|
82964
|
-
I === C ? (Ke = F < q && (et.overflowX === "auto" || et.overflowX === "scroll" || et.overflowX === "visible"), Re =
|
|
82965
|
-
var le = Ke && (Math.abs(j - f) <= v && je + F < q) - (Math.abs(Z - f) <= v && !!je), Rt = Re && (Math.abs(X - h) <= v && we +
|
|
82966
|
+
var I = R, W = hu(I), G = W.top, X = W.bottom, Z = W.left, j = W.right, F = W.width, fe = W.height, Ke = void 0, Re = void 0, q = I.scrollWidth, Ee = I.scrollHeight, et = pr(I), je = I.scrollLeft, we = I.scrollTop;
|
|
82967
|
+
I === C ? (Ke = F < q && (et.overflowX === "auto" || et.overflowX === "scroll" || et.overflowX === "visible"), Re = fe < Ee && (et.overflowY === "auto" || et.overflowY === "scroll" || et.overflowY === "visible")) : (Ke = F < q && (et.overflowX === "auto" || et.overflowX === "scroll"), Re = fe < Ee && (et.overflowY === "auto" || et.overflowY === "scroll"));
|
|
82968
|
+
var le = Ke && (Math.abs(j - f) <= v && je + F < q) - (Math.abs(Z - f) <= v && !!je), Rt = Re && (Math.abs(X - h) <= v && we + fe < Ee) - (Math.abs(G - h) <= v && !!we);
|
|
82966
82969
|
if (!mu[$])
|
|
82967
|
-
for (var
|
|
82968
|
-
mu[
|
|
82970
|
+
for (var me = 0; me <= $; me++)
|
|
82971
|
+
mu[me] || (mu[me] = {});
|
|
82969
82972
|
(mu[$].vx != le || mu[$].vy != Rt || mu[$].el !== I) && (mu[$].el = I, mu[$].vx = le, mu[$].vy = Rt, clearInterval(mu[$].pid), (le != 0 || Rt != 0) && (_ = !0, mu[$].pid = setInterval((function() {
|
|
82970
82973
|
u && this.layer === 0 && vr.active._onTouchMove(YU);
|
|
82971
82974
|
var ve = mu[this.layer].vy ? mu[this.layer].vy * w : 0, O = mu[this.layer].vx ? mu[this.layer].vx * w : 0;
|
|
@@ -83058,8 +83061,8 @@ function fWe(...o) {
|
|
|
83058
83061
|
var et;
|
|
83059
83062
|
const { from: je, oldIndex: we, item: le } = Ee;
|
|
83060
83063
|
f = Array.from(je.childNodes);
|
|
83061
|
-
const Rt = Ne((et = Ne(v)) == null ? void 0 : et[we]),
|
|
83062
|
-
Due(Rt,
|
|
83064
|
+
const Rt = Ne((et = Ne(v)) == null ? void 0 : et[we]), me = A(Rt);
|
|
83065
|
+
Due(Rt, me), le[Nue] = me;
|
|
83063
83066
|
}
|
|
83064
83067
|
function I(Ee) {
|
|
83065
83068
|
const et = Ee.item[Nue];
|
|
@@ -83073,9 +83076,9 @@ function fWe(...o) {
|
|
|
83073
83076
|
}
|
|
83074
83077
|
}
|
|
83075
83078
|
function W(Ee) {
|
|
83076
|
-
const { from: et, item: je, oldIndex: we, oldDraggableIndex: le, pullMode: Rt, clone:
|
|
83079
|
+
const { from: et, item: je, oldIndex: we, oldDraggableIndex: le, pullMode: Rt, clone: me } = Ee;
|
|
83077
83080
|
if (wue(et, je, we), Rt === "clone") {
|
|
83078
|
-
Pne(
|
|
83081
|
+
Pne(me);
|
|
83079
83082
|
return;
|
|
83080
83083
|
}
|
|
83081
83084
|
if (op(v)) {
|
|
@@ -83092,9 +83095,9 @@ function fWe(...o) {
|
|
|
83092
83095
|
}
|
|
83093
83096
|
const { from: et, item: je, oldIndex: we, oldDraggableIndex: le, newDraggableIndex: Rt } = Ee;
|
|
83094
83097
|
if (Pne(je), wue(et, je, we), op(v)) {
|
|
83095
|
-
const
|
|
83098
|
+
const me = [...Ne(v)];
|
|
83096
83099
|
v.value = vue(
|
|
83097
|
-
|
|
83100
|
+
me,
|
|
83098
83101
|
le,
|
|
83099
83102
|
Rt
|
|
83100
83103
|
);
|
|
@@ -83105,9 +83108,9 @@ function fWe(...o) {
|
|
|
83105
83108
|
function X(Ee) {
|
|
83106
83109
|
const { newIndex: et, oldIndex: je, from: we, to: le } = Ee;
|
|
83107
83110
|
let Rt = null;
|
|
83108
|
-
const
|
|
83111
|
+
const me = et === je && we === le;
|
|
83109
83112
|
try {
|
|
83110
|
-
if (
|
|
83113
|
+
if (me) {
|
|
83111
83114
|
let ve = null;
|
|
83112
83115
|
f == null || f.some((O, _e) => {
|
|
83113
83116
|
if (ve && (f == null ? void 0 : f.length) !== le.childNodes.length)
|
|
@@ -83141,16 +83144,16 @@ function fWe(...o) {
|
|
|
83141
83144
|
var Ee;
|
|
83142
83145
|
const et = (Ee = Ne(w)) != null ? Ee : {}, je = zhe(et, ["immediate", "clone"]);
|
|
83143
83146
|
return Cue(je, (we, le) => {
|
|
83144
|
-
Rje(we) && (je[we] = (Rt, ...
|
|
83147
|
+
Rje(we) && (je[we] = (Rt, ...me) => {
|
|
83145
83148
|
const ve = dWe();
|
|
83146
|
-
return Ije(Rt, ve), le(Rt, ...
|
|
83149
|
+
return Ije(Rt, ve), le(Rt, ...me);
|
|
83147
83150
|
});
|
|
83148
83151
|
}), Nje(
|
|
83149
83152
|
v === null ? {} : Z,
|
|
83150
83153
|
je
|
|
83151
83154
|
);
|
|
83152
83155
|
}
|
|
83153
|
-
const
|
|
83156
|
+
const fe = (Ee) => {
|
|
83154
83157
|
Ee = j(Ee), C && Ke.destroy(), C = new vr(Ee, F());
|
|
83155
83158
|
};
|
|
83156
83159
|
Wo(
|
|
@@ -83172,8 +83175,8 @@ function fWe(...o) {
|
|
|
83172
83175
|
closest: (...Ee) => C == null ? void 0 : C.closest(...Ee)
|
|
83173
83176
|
}, Re = () => Ke == null ? void 0 : Ke.option("disabled", !0), q = () => Ke == null ? void 0 : Ke.option("disabled", !1);
|
|
83174
83177
|
return uWe(() => {
|
|
83175
|
-
_ &&
|
|
83176
|
-
}), cWe(Ke.destroy), j4({ start:
|
|
83178
|
+
_ && fe();
|
|
83179
|
+
}), cWe(Ke.destroy), j4({ start: fe, pause: Re, resume: q }, Ke);
|
|
83177
83180
|
}
|
|
83178
83181
|
const Woe = [
|
|
83179
83182
|
"update",
|
|
@@ -83953,7 +83956,7 @@ const Woe = [
|
|
|
83953
83956
|
let G = [];
|
|
83954
83957
|
return (X = _.value) == null || X.forEach((Z) => {
|
|
83955
83958
|
var j, F;
|
|
83956
|
-
G = [...G, ...((F = (j = Z == null ? void 0 : Z.children) == null ? void 0 : j.map((
|
|
83959
|
+
G = [...G, ...((F = (j = Z == null ? void 0 : Z.children) == null ? void 0 : j.map((fe) => fe == null ? void 0 : fe.id)) == null ? void 0 : F.filter(Boolean)) || []];
|
|
83957
83960
|
}), G.filter((Z) => !u.includes(Z));
|
|
83958
83961
|
}), R = $n({
|
|
83959
83962
|
get: () => {
|
|
@@ -83981,8 +83984,8 @@ const Woe = [
|
|
|
83981
83984
|
j.forEach((Ke) => {
|
|
83982
83985
|
(Ke == null ? void 0 : Ke.type) === "user" && !(Ke != null && Ke.disabled) && Z.push(Ke == null ? void 0 : Ke.id);
|
|
83983
83986
|
});
|
|
83984
|
-
const
|
|
83985
|
-
h.value = [.../* @__PURE__ */ new Set([...Z, ...
|
|
83987
|
+
const fe = (h.value || []).filter((Ke) => u.includes(Ke));
|
|
83988
|
+
h.value = [.../* @__PURE__ */ new Set([...Z, ...fe])];
|
|
83986
83989
|
}, W = (G) => {
|
|
83987
83990
|
!i && (G == null ? void 0 : G.type) === "user" && !(G != null && G.disabled) && (h.value = [G == null ? void 0 : G.id]);
|
|
83988
83991
|
};
|
|
@@ -84041,14 +84044,14 @@ const Woe = [
|
|
|
84041
84044
|
}
|
|
84042
84045
|
}, {
|
|
84043
84046
|
default: xn(({ node: j, data: F }) => {
|
|
84044
|
-
var
|
|
84047
|
+
var fe, Ke;
|
|
84045
84048
|
return [
|
|
84046
84049
|
Vt("div", {
|
|
84047
84050
|
class: ci(["flex items-center gap-2", { "opacity-50": F == null ? void 0 : F.disabled }])
|
|
84048
84051
|
}, [
|
|
84049
84052
|
!Ne(i) && (F == null ? void 0 : F.type) === "user" ? (ct(), Co(Ne(X2), {
|
|
84050
84053
|
key: 0,
|
|
84051
|
-
"model-value": (
|
|
84054
|
+
"model-value": (fe = h.value) == null ? void 0 : fe[0],
|
|
84052
84055
|
value: F == null ? void 0 : F.id,
|
|
84053
84056
|
disabled: F == null ? void 0 : F.disabled,
|
|
84054
84057
|
size: "large",
|
|
@@ -84263,17 +84266,17 @@ const Woe = [
|
|
|
84263
84266
|
var F;
|
|
84264
84267
|
return {
|
|
84265
84268
|
...j,
|
|
84266
|
-
children: (F = j.children) == null ? void 0 : F.map((
|
|
84267
|
-
...
|
|
84268
|
-
disabled: u.includes(
|
|
84269
|
+
children: (F = j.children) == null ? void 0 : F.map((fe) => ({
|
|
84270
|
+
...fe,
|
|
84271
|
+
disabled: u.includes(fe.originalId)
|
|
84269
84272
|
}))
|
|
84270
84273
|
};
|
|
84271
84274
|
})), A = dn(null), $ = $n(() => {
|
|
84272
84275
|
if (!i) return [];
|
|
84273
84276
|
const Z = [];
|
|
84274
84277
|
return (ht(h) || []).forEach((F) => {
|
|
84275
|
-
var
|
|
84276
|
-
(
|
|
84278
|
+
var fe;
|
|
84279
|
+
(fe = _.value) == null || fe.forEach((Ke) => {
|
|
84277
84280
|
var Re;
|
|
84278
84281
|
(Re = Ke.children) == null || Re.forEach((q) => {
|
|
84279
84282
|
q.originalId === F && Z.push(q.id);
|
|
@@ -84285,8 +84288,8 @@ const Woe = [
|
|
|
84285
84288
|
if (i || !h.value) return;
|
|
84286
84289
|
let Z;
|
|
84287
84290
|
return (j = _.value) == null || j.forEach((F) => {
|
|
84288
|
-
var
|
|
84289
|
-
(
|
|
84291
|
+
var fe;
|
|
84292
|
+
(fe = F.children) == null || fe.forEach((Ke) => {
|
|
84290
84293
|
Ke.originalId === h.value && (Z = Ke.id);
|
|
84291
84294
|
});
|
|
84292
84295
|
}), Z;
|
|
@@ -84302,19 +84305,19 @@ const Woe = [
|
|
|
84302
84305
|
var j;
|
|
84303
84306
|
let Z = [];
|
|
84304
84307
|
return (j = _.value) == null || j.forEach((F) => {
|
|
84305
|
-
var
|
|
84306
|
-
Z = [...Z, ...((Ke = (
|
|
84308
|
+
var fe, Ke;
|
|
84309
|
+
Z = [...Z, ...((Ke = (fe = F == null ? void 0 : F.children) == null ? void 0 : fe.map((Re) => Re == null ? void 0 : Re.originalId)) == null ? void 0 : Ke.filter(Boolean)) || []];
|
|
84307
84310
|
}), Z.filter((F) => !u.includes(F));
|
|
84308
84311
|
}), W = $n({
|
|
84309
84312
|
get: () => {
|
|
84310
84313
|
var Z, j;
|
|
84311
84314
|
return !i || !((Z = I.value) != null && Z.length) || !((j = h.value) != null && j.length) ? !1 : I.value.every((F) => {
|
|
84312
|
-
var
|
|
84313
|
-
return F && ((
|
|
84315
|
+
var fe;
|
|
84316
|
+
return F && ((fe = h.value) == null ? void 0 : fe.includes(F));
|
|
84314
84317
|
});
|
|
84315
84318
|
},
|
|
84316
84319
|
set: (Z) => {
|
|
84317
|
-
var j, F,
|
|
84320
|
+
var j, F, fe;
|
|
84318
84321
|
if (i)
|
|
84319
84322
|
if (Z) {
|
|
84320
84323
|
const Ke = ((j = I.value) == null ? void 0 : j.filter(Boolean)) || [], Re = [...h.value || [], ...Ke];
|
|
@@ -84331,17 +84334,17 @@ const Woe = [
|
|
|
84331
84334
|
le.originalId === Ee && q.push(le.id);
|
|
84332
84335
|
});
|
|
84333
84336
|
});
|
|
84334
|
-
}), (
|
|
84337
|
+
}), (fe = A == null ? void 0 : A.value) == null || fe.setCheckedKeys(q);
|
|
84335
84338
|
}
|
|
84336
84339
|
}
|
|
84337
84340
|
}), G = (Z, j) => {
|
|
84338
84341
|
var Ke, Re;
|
|
84339
84342
|
if (!i) return;
|
|
84340
84343
|
let F = [...h.value || []];
|
|
84341
|
-
const { checkedKeys:
|
|
84342
|
-
if ((Z == null ? void 0 : Z.type) === "user" && !(Z != null && Z.disabled) && (
|
|
84344
|
+
const { checkedKeys: fe } = j;
|
|
84345
|
+
if ((Z == null ? void 0 : Z.type) === "user" && !(Z != null && Z.disabled) && (fe != null && fe.includes(Z == null ? void 0 : Z.id) ? F.push(Z == null ? void 0 : Z.originalId) : F = F.filter((q) => q !== (Z == null ? void 0 : Z.originalId))), (Z == null ? void 0 : Z.type) === "role") {
|
|
84343
84346
|
const q = ((Ke = Z == null ? void 0 : Z.children) == null ? void 0 : Ke.filter((je) => !je.disabled).map((je) => je == null ? void 0 : je.originalId)) || [];
|
|
84344
|
-
(((Re = Z == null ? void 0 : Z.children) == null ? void 0 : Re.filter((je) => !je.disabled).map((je) => je == null ? void 0 : je.id)) || []).every((je) =>
|
|
84347
|
+
(((Re = Z == null ? void 0 : Z.children) == null ? void 0 : Re.filter((je) => !je.disabled).map((je) => je == null ? void 0 : je.id)) || []).every((je) => fe == null ? void 0 : fe.includes(je)) ? F = [...F, ...q] : F = F.filter((je) => !q.includes(je));
|
|
84345
84348
|
}
|
|
84346
84349
|
h.value = [...new Set(F)];
|
|
84347
84350
|
}, X = (Z) => {
|
|
@@ -84399,23 +84402,23 @@ const Woe = [
|
|
|
84399
84402
|
disabled: "disabled"
|
|
84400
84403
|
}
|
|
84401
84404
|
}, {
|
|
84402
|
-
default: xn(({ node: F, data:
|
|
84405
|
+
default: xn(({ node: F, data: fe }) => {
|
|
84403
84406
|
var Ke, Re;
|
|
84404
84407
|
return [
|
|
84405
84408
|
Vt("div", {
|
|
84406
|
-
class: ci(["flex items-center gap-2", { "opacity-50":
|
|
84409
|
+
class: ci(["flex items-center gap-2", { "opacity-50": fe == null ? void 0 : fe.disabled }])
|
|
84407
84410
|
}, [
|
|
84408
|
-
!Ne(i) && (
|
|
84411
|
+
!Ne(i) && (fe == null ? void 0 : fe.type) === "user" ? (ct(), Co(Ne(X2), {
|
|
84409
84412
|
key: 0,
|
|
84410
84413
|
class: "mr-0",
|
|
84411
84414
|
"model-value": (Ke = h.value) == null ? void 0 : Ke[0],
|
|
84412
|
-
value:
|
|
84413
|
-
disabled:
|
|
84415
|
+
value: fe == null ? void 0 : fe.originalId,
|
|
84416
|
+
disabled: fe == null ? void 0 : fe.disabled,
|
|
84414
84417
|
size: "large"
|
|
84415
84418
|
}, null, 8, ["model-value", "value", "disabled"])) : Po("", !0),
|
|
84416
|
-
(
|
|
84419
|
+
(fe == null ? void 0 : fe.type) === "user" ? (ct(), Co(Ne(by), {
|
|
84417
84420
|
key: 1,
|
|
84418
|
-
src: (
|
|
84421
|
+
src: (fe == null ? void 0 : fe.face) || "",
|
|
84419
84422
|
class: "face-img"
|
|
84420
84423
|
}, {
|
|
84421
84424
|
error: xn(() => [
|
|
@@ -84431,19 +84434,19 @@ const Woe = [
|
|
|
84431
84434
|
_: 2
|
|
84432
84435
|
}, 1032, ["src"])) : (ct(), Co(Ne(by), {
|
|
84433
84436
|
key: 2,
|
|
84434
|
-
src: (
|
|
84437
|
+
src: (fe == null ? void 0 : fe.face) || "",
|
|
84435
84438
|
class: "face-img"
|
|
84436
84439
|
}, {
|
|
84437
84440
|
error: xn(() => {
|
|
84438
84441
|
var q;
|
|
84439
84442
|
return [
|
|
84440
|
-
Vt("div", tZe, Ss(((q =
|
|
84443
|
+
Vt("div", tZe, Ss(((q = fe == null ? void 0 : fe.name) == null ? void 0 : q.charAt(0)) || ""), 1)
|
|
84441
84444
|
];
|
|
84442
84445
|
}),
|
|
84443
84446
|
_: 2
|
|
84444
84447
|
}, 1032, ["src"])),
|
|
84445
84448
|
Vt("span", null, Ss(F.label), 1),
|
|
84446
|
-
(
|
|
84449
|
+
(fe == null ? void 0 : fe.type) === "role" ? (ct(), on("span", nZe, " (" + Ss((Re = fe == null ? void 0 : fe.children) == null ? void 0 : Re.length) + ") ", 1)) : Po("", !0)
|
|
84447
84450
|
], 2)
|
|
84448
84451
|
];
|
|
84449
84452
|
}),
|
|
@@ -86760,14 +86763,14 @@ const Woe = [
|
|
|
86760
86763
|
]),
|
|
86761
86764
|
Vt("div", Lqe, [
|
|
86762
86765
|
(ct(!0), on(er, null, ta(Ne(v), (G, X) => {
|
|
86763
|
-
var Z, j, F,
|
|
86766
|
+
var Z, j, F, fe;
|
|
86764
86767
|
return ct(), on("div", {
|
|
86765
86768
|
key: X,
|
|
86766
86769
|
class: "item"
|
|
86767
86770
|
}, [
|
|
86768
86771
|
Vt("div", Hqe, [
|
|
86769
86772
|
R[4] || (R[4] = Vt("div", { class: "i-bi:diagram-2 color-[#D4D7DE]" }, null, -1)),
|
|
86770
|
-
Fs(" " + Ss(((Z = G == null ? void 0 : G.group) == null ? void 0 : Z.id) === "0" && ((j = G == null ? void 0 : G.role) == null ? void 0 : j.id) === "0" ? "不限" : `${((F = G == null ? void 0 : G.group) == null ? void 0 : F.name) || ""} - ${((
|
|
86773
|
+
Fs(" " + Ss(((Z = G == null ? void 0 : G.group) == null ? void 0 : Z.id) === "0" && ((j = G == null ? void 0 : G.role) == null ? void 0 : j.id) === "0" ? "不限" : `${((F = G == null ? void 0 : G.group) == null ? void 0 : F.name) || ""} - ${((fe = G == null ? void 0 : G.role) == null ? void 0 : fe.name) || ""}`), 1)
|
|
86771
86774
|
]),
|
|
86772
86775
|
Vt("div", {
|
|
86773
86776
|
class: "i-bi:x-circle-fill color-[#C0C4CC] hover:color-[#409EFF] cursor-pointer",
|