golden-logic-ui 1.0.645 → 1.0.646
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/golden-logic-ui.js +640 -640
- package/dist/golden-logic-ui.umd.cjs +30 -30
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -695,7 +695,7 @@ const Txe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
695
695
|
Jt.key === "Enter" && Jt.target.form && Jt.preventDefault();
|
|
696
696
|
};
|
|
697
697
|
Fh(() => {
|
|
698
|
-
F.value =
|
|
698
|
+
F.value = le(), i.show || (window.addEventListener("scroll", Me), document.body.addEventListener("click", dn), document.addEventListener("keypress", ye));
|
|
699
699
|
}), _4(() => {
|
|
700
700
|
window.removeEventListener("scroll", Me), document.body.removeEventListener("click", dn), document.removeEventListener("keypress", ye);
|
|
701
701
|
});
|
|
@@ -720,7 +720,7 @@ const Txe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
720
720
|
Xn(Jt.key);
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function le() {
|
|
724
724
|
let Jt = (/* @__PURE__ */ new Date()).getTime();
|
|
725
725
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
726
726
|
/[xy]/g,
|
|
@@ -3248,11 +3248,11 @@ const Ixe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3248
3248
|
setup(u, { emit: o }) {
|
|
3249
3249
|
const i = u, c = o;
|
|
3250
3250
|
Ro(null);
|
|
3251
|
-
const h = Ro({}), m = Ro(!1), O = Ro(0), w = Ro(!1), T = Ro(""), P = Ro(""), R = Ro(!1), F = Ro(1), H = Ro(null), K = Ro(1), he = Ro([]), Me = Ro([]), ye = Ro(null), Te = Ro(null), et = Ro(0),
|
|
3251
|
+
const h = Ro({}), m = Ro(!1), O = Ro(0), w = Ro(!1), T = Ro(""), P = Ro(""), R = Ro(!1), F = Ro(1), H = Ro(null), K = Ro(1), he = Ro([]), Me = Ro([]), ye = Ro(null), Te = Ro(null), et = Ro(0), le = Ro(0), je = () => {
|
|
3252
3252
|
if (ye.value) {
|
|
3253
3253
|
et.value = ye.value.offsetWidth;
|
|
3254
3254
|
var dt = ye.value.getBoundingClientRect();
|
|
3255
|
-
|
|
3255
|
+
le.value = dt.top + 41 + (i.label_name ? 22 : 0), console.log("Div Top:", le.value);
|
|
3256
3256
|
}
|
|
3257
3257
|
}, Xt = async (dt = "down", Ke = !1) => {
|
|
3258
3258
|
if (!R.value) {
|
|
@@ -3478,7 +3478,7 @@ const Ixe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3478
3478
|
class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l fixed w-full z-[999999999] rounded-b-lg",
|
|
3479
3479
|
style: aJ({
|
|
3480
3480
|
maxWidth: et.value + "px",
|
|
3481
|
-
top:
|
|
3481
|
+
top: le.value + "px"
|
|
3482
3482
|
})
|
|
3483
3483
|
}, [
|
|
3484
3484
|
u.hide_search ? Ct("", !0) : (ke(), $e("div", Fde, [
|
|
@@ -3745,7 +3745,7 @@ function rhe() {
|
|
|
3745
3745
|
}, he = (e) => {
|
|
3746
3746
|
const n = typeof e;
|
|
3747
3747
|
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && K(e, String, (s, a) => a.isPrototypeOf(s)) ? "string" : n;
|
|
3748
|
-
}, Me = (e) => (n) => he(n) === e, ye = (e) => (n) => typeof n === e, Te = (e) => (n) => e === n, et = (e, n) => je(e) && K(e, n, (s, a) => H(s) === a),
|
|
3748
|
+
}, Me = (e) => (n) => he(n) === e, ye = (e) => (n) => typeof n === e, Te = (e) => (n) => e === n, et = (e, n) => je(e) && K(e, n, (s, a) => H(s) === a), le = Me("string"), je = Me("object"), Xt = (e) => et(e, Object), it = Me("array"), oe = Te(null), Et = ye("boolean"), rn = Te(void 0), dn = (e) => e == null, Xe = (e) => !dn(e), ve = ye("function"), Xn = ye("number"), ct = (e, n) => {
|
|
3749
3749
|
if (it(e)) {
|
|
3750
3750
|
for (let s = 0, a = e.length; s < a; ++s)
|
|
3751
3751
|
if (!n(e[s]))
|
|
@@ -4279,8 +4279,8 @@ function rhe() {
|
|
|
4279
4279
|
isTouch: Tn.isTouch,
|
|
4280
4280
|
isWebView: Tn.isWebView
|
|
4281
4281
|
}
|
|
4282
|
-
}, go = /^\s*|\s*$/g, as = (e) => dn(e) ? "" : ("" + e).replace(go, ""), q = (e, n) => n ? n === "array" && Ls(e) ? !0 : typeof e === n : e !== void 0,
|
|
4283
|
-
const a =
|
|
4282
|
+
}, go = /^\s*|\s*$/g, as = (e) => dn(e) ? "" : ("" + e).replace(go, ""), q = (e, n) => n ? n === "array" && Ls(e) ? !0 : typeof e === n : e !== void 0, ce = (e, n, s = {}) => {
|
|
4283
|
+
const a = le(e) ? e.split(n || ",") : e || [];
|
|
4284
4284
|
let d = a.length;
|
|
4285
4285
|
for (; d--; )
|
|
4286
4286
|
s[a[d]] = {};
|
|
@@ -4302,7 +4302,7 @@ function rhe() {
|
|
|
4302
4302
|
isArray: Ls,
|
|
4303
4303
|
is: q,
|
|
4304
4304
|
toArray: Or,
|
|
4305
|
-
makeMap:
|
|
4305
|
+
makeMap: ce,
|
|
4306
4306
|
each: Ws,
|
|
4307
4307
|
map: bi,
|
|
4308
4308
|
grep: sa,
|
|
@@ -4345,7 +4345,7 @@ function rhe() {
|
|
|
4345
4345
|
const n = ei("ownerDocument.defaultView", e);
|
|
4346
4346
|
return je(e) && (lr(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test(Im(e).constructor.name));
|
|
4347
4347
|
}, wi = 8, zi = 9, Ma = 11, nu = 1, fe = 3, be = (e) => e.dom.nodeName.toLowerCase(), tt = (e) => e.dom.nodeType, Pt = (e) => (n) => tt(n) === e, Hn = (e) => tt(e) === wi || be(e) === "#comment", ls = (e) => Io(e) && Nc(e.dom), Io = Pt(nu), tr = Pt(fe), ri = Pt(zi), Ja = Pt(Ma), Ba = (e) => (n) => Io(n) && be(n) === e, yr = (e, n, s) => {
|
|
4348
|
-
if (
|
|
4348
|
+
if (le(s) || Et(s) || Xn(s))
|
|
4349
4349
|
e.setAttribute(n, s + "");
|
|
4350
4350
|
else
|
|
4351
4351
|
throw console.error("Invalid call to Attribute.set. Key ", n, ":: Value ", s, ":: Element ", e), new Error("Attribute value was not simple");
|
|
@@ -4517,7 +4517,7 @@ function rhe() {
|
|
|
4517
4517
|
}, Xh = (e, n, s) => Qc(e, (a) => Ol(a, n), s), Ui = (e, n) => gd(n, e), In = (e, n, s) => Zg((d, p) => Ol(d, p), Xh, e, n, s), Vg = (e) => In(e, "[contenteditable]"), iu = (e, n = !1) => ru(e) ? e.dom.isContentEditable : Vg(e).fold(It(n), (s) => Wl(s) === "true"), Wl = (e) => e.dom.contentEditable, Is = (e, n) => {
|
|
4518
4518
|
e.dom.contentEditable = n ? "true" : "false";
|
|
4519
4519
|
}, rh = (e) => e.style !== void 0 && ve(e.style.getPropertyValue), jf = (e, n, s) => {
|
|
4520
|
-
if (!
|
|
4520
|
+
if (!le(s))
|
|
4521
4521
|
throw console.error("Invalid call to CSS.set. Property ", n, ":: Value ", s, ":: Element ", e), new Error("CSS value must be a string: " + s);
|
|
4522
4522
|
rh(e) && e.style.setProperty(n, s);
|
|
4523
4523
|
}, Xf = (e, n) => {
|
|
@@ -4926,7 +4926,7 @@ function rhe() {
|
|
|
4926
4926
|
}, lh = (e, n, s) => {
|
|
4927
4927
|
const a = (p) => ks(p, Re.fromDom(n)), d = zm(Re.fromDom(s), a);
|
|
4928
4928
|
Ya(d, d.length - 2).filter(Io).fold(() => yl(e, n), (p) => yl(e, p.dom));
|
|
4929
|
-
}, Bl = (e) => e.hasAttribute(Qe), nf = (e, n) => jn(e.getTransparentElements(), n), Jf = (e, n) => pn(n) && nf(e, n.nodeName), ju = (e, n) => Jf(e, n) && Bl(n), Xu = (e, n) => Jf(e, n) && !Bl(n), Gm = (e, n) => n.type === 1 && nf(e, n.name) &&
|
|
4929
|
+
}, Bl = (e) => e.hasAttribute(Qe), nf = (e, n) => jn(e.getTransparentElements(), n), Jf = (e, n) => pn(n) && nf(e, n.nodeName), ju = (e, n) => Jf(e, n) && Bl(n), Xu = (e, n) => Jf(e, n) && !Bl(n), Gm = (e, n) => n.type === 1 && nf(e, n.name) && le(n.attr(Qe)), Xg = se().browser, qg = (e) => Jo(e, Io), w2 = (e) => Xg.isFirefox() && be(e) === "table" ? qg(aa(e)).filter((n) => be(n) === "caption").bind((n) => qg(Wf(n)).map((s) => {
|
|
4930
4930
|
const a = s.dom.offsetTop, d = n.dom.offsetTop, p = n.dom.offsetHeight;
|
|
4931
4931
|
return a <= d ? -p : 0;
|
|
4932
4932
|
})).getOr(0) : 0, Ji = (e, n) => e.children && Ne(e.children, n), hs = (e, n, s) => {
|
|
@@ -5346,7 +5346,7 @@ function rhe() {
|
|
|
5346
5346
|
}, KO = (e) => YO("td th li dt dd figcaption caption details summary", e.getTextBlockElements()), JO = (e, n) => {
|
|
5347
5347
|
if (e) {
|
|
5348
5348
|
const s = {};
|
|
5349
|
-
return
|
|
5349
|
+
return le(e) && (e = { "*": e }), Vn(e, (a, d) => {
|
|
5350
5350
|
s[d] = s[d.toUpperCase()] = n === "map" ? qo(a, /[, ]/) : GO(a, /[, ]/);
|
|
5351
5351
|
}), s;
|
|
5352
5352
|
} else
|
|
@@ -5431,7 +5431,7 @@ function rhe() {
|
|
|
5431
5431
|
Kn(Cs, { extends: Li });
|
|
5432
5432
|
});
|
|
5433
5433
|
}, os = (Yn) => {
|
|
5434
|
-
je(Yn) ? Gt(Yn, (Cs, Li) => Kn(Li, Cs)) :
|
|
5434
|
+
je(Yn) ? Gt(Yn, (Cs, Li) => Kn(Li, Cs)) : le(Yn) && ns(Yn);
|
|
5435
5435
|
}, Ys = (Yn) => {
|
|
5436
5436
|
Se(ep(Yn ?? ""), ({ operation: Cs, name: Li, validChildren: Xa }) => {
|
|
5437
5437
|
const ml = Cs === "replace" ? { "#comment": {} } : a[Li], Ea = (li) => {
|
|
@@ -5855,7 +5855,7 @@ function rhe() {
|
|
|
5855
5855
|
style: {
|
|
5856
5856
|
set: (y, C) => {
|
|
5857
5857
|
const $ = Re.fromDom(y);
|
|
5858
|
-
a && Xl($, eb, C), Vs($, "style"),
|
|
5858
|
+
a && Xl($, eb, C), Vs($, "style"), le(C) && Eo($, e.parse(C));
|
|
5859
5859
|
},
|
|
5860
5860
|
get: (y) => {
|
|
5861
5861
|
const C = Re.fromDom(y), $ = ia(C, eb) || ia(C, "style");
|
|
@@ -5873,7 +5873,7 @@ function rhe() {
|
|
|
5873
5873
|
}), B = [], W = n.schema ? n.schema : nr({}), X = ng({
|
|
5874
5874
|
url_converter: n.url_converter,
|
|
5875
5875
|
url_converter_scope: n.url_converter_scope
|
|
5876
|
-
}, n.schema), G = n.ownEvents ? new rf() : rf.Event, re = W.getBlockElements(), ge = (ht) =>
|
|
5876
|
+
}, n.schema), G = n.ownEvents ? new rf() : rf.Event, re = W.getBlockElements(), ge = (ht) => le(ht) ? jn(re, ht) : pn(ht) && (jn(re, ht.nodeName) || ju(W, ht)), de = (ht) => ht && e && le(ht) ? e.getElementById(ht) : ht, Oe = (ht) => {
|
|
5877
5877
|
const ft = de(ht);
|
|
5878
5878
|
return Xe(ft) ? Re.fromDom(ft) : null;
|
|
5879
5879
|
}, Ze = (ht, ft, ln = "") => {
|
|
@@ -5952,7 +5952,7 @@ function rhe() {
|
|
|
5952
5952
|
let Ms = de(ht);
|
|
5953
5953
|
sn = sn === void 0;
|
|
5954
5954
|
const Ci = ln || (Qt().nodeName !== "BODY" ? Qt().parentNode : null);
|
|
5955
|
-
if (
|
|
5955
|
+
if (le(ft))
|
|
5956
5956
|
if (ft === "*")
|
|
5957
5957
|
ft = pn;
|
|
5958
5958
|
else {
|
|
@@ -5974,7 +5974,7 @@ function rhe() {
|
|
|
5974
5974
|
}, ir = (ht, ft, ln) => {
|
|
5975
5975
|
let sn = ft;
|
|
5976
5976
|
if (ht) {
|
|
5977
|
-
|
|
5977
|
+
le(ft) && (sn = (ho) => ns(ho, ft));
|
|
5978
5978
|
for (let ho = ht[ln]; ho; ho = ho[ln])
|
|
5979
5979
|
if (ve(sn) && sn(ho))
|
|
5980
5980
|
return ho;
|
|
@@ -6008,8 +6008,8 @@ function rhe() {
|
|
|
6008
6008
|
vd(sn, ft);
|
|
6009
6009
|
});
|
|
6010
6010
|
}, uo = (ht, ft, ln, sn, ho) => Gn(ht, (Ms) => {
|
|
6011
|
-
const Ci =
|
|
6012
|
-
return Xe(ln) && Rs(Ci, ln), sn && (!
|
|
6011
|
+
const Ci = le(ft) ? e.createElement(ft) : ft;
|
|
6012
|
+
return Xe(ln) && Rs(Ci, ln), sn && (!le(sn) && sn.nodeType ? Ci.appendChild(sn) : le(sn) && xn(Ci, sn)), ho ? Ci : Ms.appendChild(Ci);
|
|
6013
6013
|
}), bo = (ht, ft, ln) => uo(e.createElement(ht), ht, ft, ln, !0), vn = Jg.decode, ss = Jg.encodeAllRaw, jo = (ht, ft, ln = "") => {
|
|
6014
6014
|
let sn = "<" + ht;
|
|
6015
6015
|
for (const ho in ft)
|
|
@@ -6383,7 +6383,7 @@ function rhe() {
|
|
|
6383
6383
|
Qa.languageLoad !== !1 && (p(de) ? $(de, Oe) : ge(de, "loaded").then(() => $(de, Oe)));
|
|
6384
6384
|
}, W = (de, Oe) => (e.push(Oe), s[de] = { instance: Oe }, d(de, "added"), Oe), X = (de) => {
|
|
6385
6385
|
delete n[de], delete s[de];
|
|
6386
|
-
}, G = (de, Oe) =>
|
|
6386
|
+
}, G = (de, Oe) => le(Oe) ? le(de) ? {
|
|
6387
6387
|
prefix: "",
|
|
6388
6388
|
resource: Oe,
|
|
6389
6389
|
suffix: ""
|
|
@@ -6394,7 +6394,7 @@ function rhe() {
|
|
|
6394
6394
|
} : Oe, re = (de, Oe) => {
|
|
6395
6395
|
if (n[de])
|
|
6396
6396
|
return Promise.resolve();
|
|
6397
|
-
let Ze =
|
|
6397
|
+
let Ze = le(Oe) ? Oe : Oe.prefix + Oe.resource + Oe.suffix;
|
|
6398
6398
|
Ze.indexOf("/") !== 0 && Ze.indexOf("://") === -1 && (Ze = Qa.baseURL + "/" + Ze), n[de] = Ze.substring(0, Ze.lastIndexOf("/"));
|
|
6399
6399
|
const Ye = () => (d(de, "loaded"), Promise.resolve());
|
|
6400
6400
|
return s[de] ? Ye() : af.ScriptLoader.add(Ze).then(Ye);
|
|
@@ -6770,7 +6770,7 @@ function rhe() {
|
|
|
6770
6770
|
}, Pn = (e, n) => {
|
|
6771
6771
|
if (!(n < 0 && pn(e) && e.hasChildNodes()))
|
|
6772
6772
|
return um(e, n);
|
|
6773
|
-
}, Y4 = new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"), xk = (e) =>
|
|
6773
|
+
}, Y4 = new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"), xk = (e) => le(e) && e.charCodeAt(0) >= 768 && Y4.test(e), Sk = (...e) => (n) => {
|
|
6774
6774
|
for (let s = 0; s < e.length; s++)
|
|
6775
6775
|
if (e[s](n))
|
|
6776
6776
|
return !0;
|
|
@@ -6802,7 +6802,7 @@ function rhe() {
|
|
|
6802
6802
|
return !0;
|
|
6803
6803
|
}
|
|
6804
6804
|
return !0;
|
|
6805
|
-
}, e5 = (e) => Q2(e) ? !Co(Fr(e.getElementsByTagName("*")), (n, s) => n || Ck(s), !1) : !1, t5 = (e) => _0(e) || e5(e), Tk = (e, n) => yh(e) && dm(e, n), F2 = pn, n5 = yh, _k = Hg("display", "block table"), o5 = Hg("float", "left right"), fb = kk(F2, n5, _t(o5)), Z2 = _t(Hg("white-space", "pre pre-line pre-wrap")), ig = jt, lv = As, Ek = kr.nodeIndex, cv = Pn, ag = (e) => e ? e.createRange() : kr.DOM.createRng(), uv = (e) =>
|
|
6805
|
+
}, e5 = (e) => Q2(e) ? !Co(Fr(e.getElementsByTagName("*")), (n, s) => n || Ck(s), !1) : !1, t5 = (e) => _0(e) || e5(e), Tk = (e, n) => yh(e) && dm(e, n), F2 = pn, n5 = yh, _k = Hg("display", "block table"), o5 = Hg("float", "left right"), fb = kk(F2, n5, _t(o5)), Z2 = _t(Hg("white-space", "pre pre-line pre-wrap")), ig = jt, lv = As, Ek = kr.nodeIndex, cv = Pn, ag = (e) => e ? e.createRange() : kr.DOM.createRng(), uv = (e) => le(e) && /[\r\n\t ]/.test(e), V2 = (e) => !!e.setStart && !!e.setEnd, dv = (e) => {
|
|
6806
6806
|
const n = e.startContainer, s = e.startOffset;
|
|
6807
6807
|
if (uv(e.toString()) && Z2(n.parentNode) && jt(n)) {
|
|
6808
6808
|
const a = n.data;
|
|
@@ -7211,22 +7211,22 @@ Required: ` + n.join(", "));
|
|
|
7211
7211
|
if (e.format !== void 0) {
|
|
7212
7212
|
let C;
|
|
7213
7213
|
if (it(e.format)) {
|
|
7214
|
-
if (!rs(e.format,
|
|
7214
|
+
if (!rs(e.format, le))
|
|
7215
7215
|
return s(d + " pattern has non-string items in the `format` array");
|
|
7216
7216
|
C = e.format;
|
|
7217
|
-
} else if (
|
|
7217
|
+
} else if (le(e.format))
|
|
7218
7218
|
C = [e.format];
|
|
7219
7219
|
else
|
|
7220
7220
|
return s(d + " pattern has non-string `format` parameter");
|
|
7221
7221
|
return ca.value(p(C));
|
|
7222
|
-
} else return e.cmd !== void 0 ?
|
|
7222
|
+
} else return e.cmd !== void 0 ? le(e.cmd) ? ca.value(y(e.cmd, e.value)) : s(d + " pattern has non-string `cmd` parameter") : s(d + " pattern is missing both `format` and `cmd` parameters");
|
|
7223
7223
|
};
|
|
7224
7224
|
if (!je(e))
|
|
7225
7225
|
return s("Raw pattern is not an object");
|
|
7226
|
-
if (!
|
|
7226
|
+
if (!le(e.start))
|
|
7227
7227
|
return s("Raw pattern is missing `start` parameter");
|
|
7228
7228
|
if (e.end !== void 0) {
|
|
7229
|
-
if (!
|
|
7229
|
+
if (!le(e.end))
|
|
7230
7230
|
return s("Inline pattern has non-string `end` parameter");
|
|
7231
7231
|
if (e.start.length === 0 && e.end.length === 0)
|
|
7232
7232
|
return s("Inline pattern has empty `start` and `end` parameters");
|
|
@@ -7245,7 +7245,7 @@ Required: ` + n.join(", "));
|
|
|
7245
7245
|
}));
|
|
7246
7246
|
} else {
|
|
7247
7247
|
if (e.replacement !== void 0)
|
|
7248
|
-
return
|
|
7248
|
+
return le(e.replacement) ? e.start.length === 0 ? s("Replacement pattern has empty `start` parameter") : ca.value({
|
|
7249
7249
|
type: "inline-command",
|
|
7250
7250
|
start: "",
|
|
7251
7251
|
end: e.start,
|
|
@@ -7343,8 +7343,8 @@ Required: ` + n.join(", "));
|
|
|
7343
7343
|
const d = a.split("="), p = d[0], y = d.length > 1 ? d[1] : p;
|
|
7344
7344
|
return s[Ss(p)] = Ss(y), s;
|
|
7345
7345
|
}, {});
|
|
7346
|
-
}, sw = (e) => et(e, RegExp), An = (e) => (n) => n.options.get(e), A0 = (e) =>
|
|
7347
|
-
const a =
|
|
7346
|
+
}, sw = (e) => et(e, RegExp), An = (e) => (n) => n.options.get(e), A0 = (e) => le(e) || je(e), wb = (e, n = "") => (s) => {
|
|
7347
|
+
const a = le(s);
|
|
7348
7348
|
if (a)
|
|
7349
7349
|
if (s.indexOf("=") !== -1) {
|
|
7350
7350
|
const d = Va(s);
|
|
@@ -7399,7 +7399,7 @@ Required: ` + n.join(", "));
|
|
|
7399
7399
|
default: !0
|
|
7400
7400
|
}), n("forced_root_block", {
|
|
7401
7401
|
processor: (s) => {
|
|
7402
|
-
const a =
|
|
7402
|
+
const a = le(s) && So(s);
|
|
7403
7403
|
return a ? {
|
|
7404
7404
|
value: s,
|
|
7405
7405
|
valid: a
|
|
@@ -7442,7 +7442,7 @@ Required: ` + n.join(", "));
|
|
|
7442
7442
|
processor: (s) => Et(s) ? {
|
|
7443
7443
|
valid: !0,
|
|
7444
7444
|
value: s
|
|
7445
|
-
} :
|
|
7445
|
+
} : le(s) ? {
|
|
7446
7446
|
valid: !0,
|
|
7447
7447
|
value: s
|
|
7448
7448
|
} : {
|
|
@@ -7509,8 +7509,8 @@ Required: ` + n.join(", "));
|
|
|
7509
7509
|
default: "40px"
|
|
7510
7510
|
}), n("content_css", {
|
|
7511
7511
|
processor: (s) => {
|
|
7512
|
-
const a = s === !1 ||
|
|
7513
|
-
return a ?
|
|
7512
|
+
const a = s === !1 || le(s) || ct(s, le);
|
|
7513
|
+
return a ? le(s) ? {
|
|
7514
7514
|
value: Je(s.split(","), Ss),
|
|
7515
7515
|
valid: a
|
|
7516
7516
|
} : it(s) ? {
|
|
@@ -7533,7 +7533,7 @@ Required: ` + n.join(", "));
|
|
|
7533
7533
|
default: !1
|
|
7534
7534
|
}), n("font_css", {
|
|
7535
7535
|
processor: (s) => {
|
|
7536
|
-
const a =
|
|
7536
|
+
const a = le(s) || ct(s, le);
|
|
7537
7537
|
return a ? {
|
|
7538
7538
|
value: it(s) ? s : Je(s.split(","), Ss),
|
|
7539
7539
|
valid: a
|
|
@@ -7551,7 +7551,7 @@ Required: ` + n.join(", "));
|
|
|
7551
7551
|
default: "a[href],code,span.mce-annotation"
|
|
7552
7552
|
}), n("object_resizing", {
|
|
7553
7553
|
processor: (s) => {
|
|
7554
|
-
const a = Et(s) ||
|
|
7554
|
+
const a = Et(s) || le(s);
|
|
7555
7555
|
return a ? s === !1 || vb.isiPhone() || vb.isiPad() ? {
|
|
7556
7556
|
value: "",
|
|
7557
7557
|
valid: a
|
|
@@ -7568,7 +7568,7 @@ Required: ` + n.join(", "));
|
|
|
7568
7568
|
processor: "boolean",
|
|
7569
7569
|
default: !0
|
|
7570
7570
|
}), n("event_root", { processor: "string" }), n("service_message", { processor: "string" }), n("theme", {
|
|
7571
|
-
processor: (s) => s === !1 ||
|
|
7571
|
+
processor: (s) => s === !1 || le(s) || ve(s),
|
|
7572
7572
|
default: "silver"
|
|
7573
7573
|
}), n("theme_url", { processor: "string" }), n("formats", { processor: "object" }), n("format_empty_lines", {
|
|
7574
7574
|
processor: "boolean",
|
|
@@ -7578,7 +7578,7 @@ Required: ` + n.join(", "));
|
|
|
7578
7578
|
default: ""
|
|
7579
7579
|
}), n("preview_styles", {
|
|
7580
7580
|
processor: (s) => {
|
|
7581
|
-
const a = s === !1 ||
|
|
7581
|
+
const a = s === !1 || le(s);
|
|
7582
7582
|
return a ? {
|
|
7583
7583
|
value: s === !1 ? "" : s,
|
|
7584
7584
|
valid: a
|
|
@@ -7670,7 +7670,7 @@ Required: ` + n.join(", "));
|
|
|
7670
7670
|
default: !1
|
|
7671
7671
|
}), n("allow_mathml_annotation_encodings", {
|
|
7672
7672
|
processor: (s) => {
|
|
7673
|
-
const a = ct(s,
|
|
7673
|
+
const a = ct(s, le);
|
|
7674
7674
|
return a ? {
|
|
7675
7675
|
value: s,
|
|
7676
7676
|
valid: a
|
|
@@ -7718,7 +7718,7 @@ Required: ` + n.join(", "));
|
|
|
7718
7718
|
}), n("custom_elements", { processor: A0 }), n("extended_valid_elements", { processor: "string" }), n("invalid_elements", { processor: "string" }), n("invalid_styles", { processor: A0 }), n("valid_children", { processor: "string" }), n("valid_classes", { processor: A0 }), n("valid_elements", { processor: "string" }), n("valid_styles", { processor: A0 }), n("verify_html", {
|
|
7719
7719
|
processor: "boolean",
|
|
7720
7720
|
default: !0
|
|
7721
|
-
}), n("auto_focus", { processor: (s) =>
|
|
7721
|
+
}), n("auto_focus", { processor: (s) => le(s) || s === !0 }), n("browser_spellcheck", {
|
|
7722
7722
|
processor: "boolean",
|
|
7723
7723
|
default: !1
|
|
7724
7724
|
}), n("protect", { processor: "array" }), n("images_file_types", {
|
|
@@ -8214,7 +8214,7 @@ Required: ` + n.join(", "));
|
|
|
8214
8214
|
s = s.parentNode;
|
|
8215
8215
|
}
|
|
8216
8216
|
return null;
|
|
8217
|
-
}, jv = (e) =>
|
|
8217
|
+
}, jv = (e) => le(e.start), kC = (e) => jn(e, "rng"), CC = (e) => jn(e, "id"), TC = (e) => jn(e, "name"), _C = (e) => Nt.isArray(e.start), Xv = (e) => !TC(e) && Et(e.forward) ? e.forward : !0, EC = (e, n) => (pn(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), $C = (e, n) => {
|
|
8218
8218
|
const s = Y.from(Mk(e.getRoot(), n.start)), a = Y.from(Mk(e.getRoot(), n.end));
|
|
8219
8219
|
return Br(s, a, (d, p) => {
|
|
8220
8220
|
const y = e.createRng();
|
|
@@ -9524,7 +9524,7 @@ Required: ` + n.join(", "));
|
|
|
9524
9524
|
}
|
|
9525
9525
|
attr(n, s) {
|
|
9526
9526
|
const a = this;
|
|
9527
|
-
if (!
|
|
9527
|
+
if (!le(n))
|
|
9528
9528
|
return Xe(n) && Gt(n, (p, y) => {
|
|
9529
9529
|
a.attr(y, p);
|
|
9530
9530
|
}), a;
|
|
@@ -9650,7 +9650,7 @@ Required: ` + n.join(", "));
|
|
|
9650
9650
|
return rT(this, null, n);
|
|
9651
9651
|
}
|
|
9652
9652
|
}
|
|
9653
|
-
const bZ = Nt.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), JM = (e) =>
|
|
9653
|
+
const bZ = Nt.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), JM = (e) => le(e.nodeValue) && e.nodeValue.includes(Fa), e8 = (e) => `${e.length === 0 ? "" : `${Je(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`, OZ = (e, n) => n.querySelectorAll(e8(e)), t8 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_COMMENT, (n) => JM(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP), n8 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_TEXT, (n) => {
|
|
9654
9654
|
if (JM(n)) {
|
|
9655
9655
|
const s = n.parentNode;
|
|
9656
9656
|
return s && jn(bZ, s.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -9714,7 +9714,7 @@ Required: ` + n.join(", "));
|
|
|
9714
9714
|
return sr(d), y;
|
|
9715
9715
|
}, u8 = (e, n, s) => {
|
|
9716
9716
|
let a;
|
|
9717
|
-
return n.format === "raw" ? a = Nt.trim(mu(i8(s, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? a = xZ(e, s) : n.format === "tree" ? a = e.serializer.serialize(s, n) : a = c8(e, e.serializer.serialize(s, n)), n.format !== "text" && !Vc(Re.fromDom(s)) &&
|
|
9717
|
+
return n.format === "raw" ? a = Nt.trim(mu(i8(s, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? a = xZ(e, s) : n.format === "tree" ? a = e.serializer.serialize(s, n) : a = c8(e, e.serializer.serialize(s, n)), n.format !== "text" && !Vc(Re.fromDom(s)) && le(a) ? Nt.trim(a) : a;
|
|
9718
9718
|
}, d8 = (e, n) => Y.from(e.getBody()).fold(It(n.format === "tree" ? new Wc("body", 11) : ""), (s) => u8(e, n, s)), h8 = Nt.makeMap, f8 = (e) => {
|
|
9719
9719
|
const n = [];
|
|
9720
9720
|
e = e || {};
|
|
@@ -9836,7 +9836,7 @@ Required: ` + n.join(", "));
|
|
|
9836
9836
|
}
|
|
9837
9837
|
}
|
|
9838
9838
|
if (s.start(X, re, G), zs(X))
|
|
9839
|
-
|
|
9839
|
+
le($.value) && s.text($.value, !0), s.end(X);
|
|
9840
9840
|
else if (!G) {
|
|
9841
9841
|
let ge = $.firstChild;
|
|
9842
9842
|
if (ge) {
|
|
@@ -11210,7 +11210,7 @@ Required: ` + n.join(", "));
|
|
|
11210
11210
|
let Oe = !1;
|
|
11211
11211
|
return Rx(ge, (Ze) => ed(Ze) ? C.getContentEditable(de) === "false" && !Ze.ceFalseOverride || Xe(Ze.collapsed) && Ze.collapsed !== y ? !0 : C.is(de, Ze.selector) && !wu(de) ? (B(de, Ze), Oe = !0, !1) : !0 : !1), Oe;
|
|
11212
11212
|
}, X = (ge) => {
|
|
11213
|
-
if (
|
|
11213
|
+
if (le(ge)) {
|
|
11214
11214
|
const de = C.create(ge);
|
|
11215
11215
|
return B(de), de;
|
|
11216
11216
|
} else
|
|
@@ -12280,7 +12280,7 @@ Required: ` + n.join(", "));
|
|
|
12280
12280
|
if (e.nodeType !== nu || X === "body")
|
|
12281
12281
|
return;
|
|
12282
12282
|
const G = Re.fromDom(e), re = Hi(G, iO), ge = ia(G, "data-mce-bogus");
|
|
12283
|
-
if (!re &&
|
|
12283
|
+
if (!re && le(ge)) {
|
|
12284
12284
|
ge === "all" ? sr(G) : Rl(G);
|
|
12285
12285
|
return;
|
|
12286
12286
|
}
|
|
@@ -12366,7 +12366,7 @@ Required: ` + n.join(", "));
|
|
|
12366
12366
|
const C = (y = p.tagName) !== null && y !== void 0 ? y : d.nodeName.toLowerCase(), $ = n.allow_mathml_annotation_encodings;
|
|
12367
12367
|
if (C === "annotation" && it($) && $.length > 0) {
|
|
12368
12368
|
const B = d.getAttribute("encoding");
|
|
12369
|
-
|
|
12369
|
+
le(B) && Ne($, B) && (p.allowedTags[C] = !0);
|
|
12370
12370
|
}
|
|
12371
12371
|
}), a.sanitize(e, s);
|
|
12372
12372
|
}, Py = (e) => (n) => {
|
|
@@ -12483,7 +12483,7 @@ Required: ` + n.join(", "));
|
|
|
12483
12483
|
}, $ = s.addFilter, B = s.getFilters, W = s.removeFilter, X = a.addFilter, G = a.getFilters, re = a.removeFilter, ge = (Ge, rt) => {
|
|
12484
12484
|
t$(n, Ge) && rt.push(Ge);
|
|
12485
12485
|
}, de = (Ge, rt) => {
|
|
12486
|
-
const Qt =
|
|
12486
|
+
const Qt = le(rt.attr(iO)), on = rt.type === 1 && !jn(Ge, rt.name) && !Gm(n, rt) && !zs(rt.name);
|
|
12487
12487
|
return rt.type === 3 || on && !Qt;
|
|
12488
12488
|
}, Oe = (Ge, rt) => {
|
|
12489
12489
|
const Qt = Z$(JT("script,style,head,html,body,title,meta,param"), n.getBlockElements()), on = /^[ \t\r\n]+/, _n = /[ \t\r\n]+$/;
|
|
@@ -13784,7 +13784,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13784
13784
|
}), C = Je(y, ($) => {
|
|
13785
13785
|
const B = $.src;
|
|
13786
13786
|
if (jn(s, B))
|
|
13787
|
-
return s[B].then((W) =>
|
|
13787
|
+
return s[B].then((W) => le(W) ? W : {
|
|
13788
13788
|
image: $,
|
|
13789
13789
|
blobInfo: W.blobInfo
|
|
13790
13790
|
});
|
|
@@ -13844,7 +13844,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13844
13844
|
"image/bmp": "bmp",
|
|
13845
13845
|
"image/tiff": "tiff"
|
|
13846
13846
|
})[X.toLowerCase()] || "dat", s = (X, G, re, ge, de) => {
|
|
13847
|
-
if (
|
|
13847
|
+
if (le(X))
|
|
13848
13848
|
return a({
|
|
13849
13849
|
id: X,
|
|
13850
13850
|
name: ge,
|
|
@@ -13900,7 +13900,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13900
13900
|
return;
|
|
13901
13901
|
}
|
|
13902
13902
|
const Qt = JSON.parse(Ge.responseText);
|
|
13903
|
-
if (!Qt || !
|
|
13903
|
+
if (!Qt || !le(Qt.location)) {
|
|
13904
13904
|
Ye("Invalid JSON: " + Ge.responseText);
|
|
13905
13905
|
return;
|
|
13906
13906
|
}
|
|
@@ -13938,7 +13938,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13938
13938
|
Ge = vt, vt.progressBar.value(Tt);
|
|
13939
13939
|
});
|
|
13940
13940
|
}, Oe(de, rt).then(on, (Tt) => {
|
|
13941
|
-
_n(
|
|
13941
|
+
_n(le(Tt) ? { message: Tt } : Tt);
|
|
13942
13942
|
});
|
|
13943
13943
|
} catch (Qt) {
|
|
13944
13944
|
Ye($(de, Qt));
|
|
@@ -14013,7 +14013,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14013
14013
|
}))), re = () => lw(e) ? G() : Promise.resolve([]), ge = (Ge) => rs(p, (rt) => rt(Ge)), de = (Ge) => {
|
|
14014
14014
|
p.push(Ge);
|
|
14015
14015
|
}, Oe = () => (a || (a = vP(d, n)), a.findAll(e.getBody(), ge).then(y((Ge) => {
|
|
14016
|
-
const rt = yn(Ge, (Qt) =>
|
|
14016
|
+
const rt = yn(Ge, (Qt) => le(Qt) ? (Wx(e, Qt), !1) : Qt.uriType !== "blob");
|
|
14017
14017
|
return $h(e) || Se(rt, (Qt) => {
|
|
14018
14018
|
W(Qt.image.src, Qt.blobInfo.blobUri()), Qt.image.src = Qt.blobInfo.blobUri(), Qt.image.removeAttribute("data-mce-src");
|
|
14019
14019
|
}), rt;
|
|
@@ -14452,8 +14452,8 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14452
14452
|
}
|
|
14453
14453
|
}, See = It(xg), kee = (e) => {
|
|
14454
14454
|
const n = {}, s = (y) => Xe(y) ? n[y] : n, a = (y) => jn(n, y), d = (y, C) => {
|
|
14455
|
-
y && (
|
|
14456
|
-
rn($.deep) && ($.deep = !ed($)), rn($.split) && ($.split = !ed($) || Sa($)), rn($.remove) && ed($) && !Sa($) && ($.remove = "none"), ed($) && Sa($) && ($.mixed = !0, $.block_expand = !0),
|
|
14455
|
+
y && (le(y) ? (it(C) || (C = [C]), Se(C, ($) => {
|
|
14456
|
+
rn($.deep) && ($.deep = !ed($)), rn($.split) && ($.split = !ed($) || Sa($)), rn($.remove) && ed($) && !Sa($) && ($.remove = "none"), ed($) && Sa($) && ($.mixed = !0, $.block_expand = !0), le($.classes) && ($.classes = $.classes.split(/\s+/));
|
|
14457
14457
|
}), n[y] = C) : Gt(y, ($, B) => {
|
|
14458
14458
|
d(B, $);
|
|
14459
14459
|
}));
|
|
@@ -14468,7 +14468,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14468
14468
|
const s = n && n.schema || nr({}), a = ($, B) => {
|
|
14469
14469
|
B.classes.length > 0 && Xc.addClass($, B.classes.join(" ")), Xc.setAttribs($, B.attrs);
|
|
14470
14470
|
}, d = ($) => {
|
|
14471
|
-
const B =
|
|
14471
|
+
const B = le($) ? {
|
|
14472
14472
|
name: $,
|
|
14473
14473
|
classes: [],
|
|
14474
14474
|
attrs: {}
|
|
@@ -14526,15 +14526,15 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14526
14526
|
}
|
|
14527
14527
|
return "";
|
|
14528
14528
|
})), s.name = n || "div", s;
|
|
14529
|
-
}, CB = (e) =>
|
|
14529
|
+
}, CB = (e) => le(e) ? (e = e.split(/\s*,\s*/)[0], e = e.replace(/\s*(~\+|~|\+|>)\s*/g, "$1"), Nt.map(e.split(/(?:>|\s+(?![^\[\]]+\]))/), (n) => {
|
|
14530
14530
|
const s = Nt.map(n.split(/(?:~\+|~|\+)/), kB), a = s.pop();
|
|
14531
14531
|
return s.length && (a.siblings = s), a;
|
|
14532
14532
|
}).reverse()) : [], QH = (e, n) => {
|
|
14533
14533
|
let s = "", a = T5(e);
|
|
14534
14534
|
if (a === "")
|
|
14535
14535
|
return "";
|
|
14536
|
-
const d = (G) =>
|
|
14537
|
-
if (
|
|
14536
|
+
const d = (G) => le(G) ? G.replace(/%(\w+)/g, "") : "", p = (G, re) => Xc.getStyle(re ?? e.getBody(), G, !0);
|
|
14537
|
+
if (le(n)) {
|
|
14538
14538
|
const G = e.formatter.get(n);
|
|
14539
14539
|
if (!G)
|
|
14540
14540
|
return "";
|
|
@@ -16155,7 +16155,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
16155
16155
|
Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS = (e, n) => QA((s) => {
|
|
16156
16156
|
const a = typeof s;
|
|
16157
16157
|
return e(s) ? Il.svalue(s) : Il.serror(`Expected type: ${n} but got: ${a}`);
|
|
16158
|
-
}), KW = OS(Xn, "number"), Vy = OS(
|
|
16158
|
+
}), KW = OS(Xn, "number"), Vy = OS(le, "string"), BL = OS(Et, "boolean"), zA = OS(ve, "function"), zy = VW, HA = zW, NL = (e) => RL((n) => Ne(e, n) ? ca.value(n) : ca.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), UA = (e, n) => zy(e, e, IA(), n), LL = (e) => UA(e, Vy), q3 = (e, n) => zy(e, e, IA(), NL(n)), WA = (e) => UA(e, zA), IL = (e, n) => zy(e, e, IA(), ZA(n)), jA = (e, n) => zy(e, e, FW(), n), vO = (e) => jA(e, Vy), JW = (e) => jA(e, zA), ej = (e, n) => zy(e, e, TL(n), YW()), Hy = (e, n, s) => zy(e, e, TL(n), s), QL = (e, n) => Hy(e, n, KW), G3 = (e, n) => Hy(e, n, Vy), tj = (e, n, s) => Hy(e, n, NL(s)), XA = (e, n) => Hy(e, n, BL), $f = (e, n) => Hy(e, n, zA), FL = (e, n, s) => Hy(e, n, ZA(s)), ZL = LL("type"), nj = WA("fetch"), Y3 = WA("onAction"), VL = $f("onSetup", () => kt), oj = vO("text"), sj = vO("icon"), rj = vO("tooltip"), zL = vO("label"), ij = XA("active", !1), qA = XA("enabled", !0), HL = XA("primary", !1), aj = (e) => ej("columns", e), vS = (e) => G3("type", e), UL = bS([
|
|
16159
16159
|
ZL,
|
|
16160
16160
|
LL("trigger"),
|
|
16161
16161
|
QL("minChars", 1),
|
|
@@ -16770,7 +16770,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
16770
16770
|
(!s || pn(s) && /^(left|right)$/gi.test(e.getStyle(s, "float", !0))) && e.add(n, "br");
|
|
16771
16771
|
}, Ij = (e, n) => {
|
|
16772
16772
|
const s = aw(e);
|
|
16773
|
-
return dn(n) ? !1 :
|
|
16773
|
+
return dn(n) ? !1 : le(s) ? Ne(Nt.explode(s), n.nodeName.toLowerCase()) : s;
|
|
16774
16774
|
}, l9 = {
|
|
16775
16775
|
insert: (e, n) => {
|
|
16776
16776
|
let s, a, d, p, y = !1;
|
|
@@ -17217,7 +17217,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
17217
17217
|
},
|
|
17218
17218
|
add: (s, a) => {
|
|
17219
17219
|
if (Yy(e))
|
|
17220
|
-
if (
|
|
17220
|
+
if (le(s)) {
|
|
17221
17221
|
if (!rn(a))
|
|
17222
17222
|
return n.add(s, a);
|
|
17223
17223
|
} else
|
|
@@ -17541,7 +17541,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
17541
17541
|
if (!Av(e) && a(y))
|
|
17542
17542
|
for (const C of d) {
|
|
17543
17543
|
const $ = C.attr("src");
|
|
17544
|
-
|
|
17544
|
+
le($) && !C.attr("data-mce-object") && $ !== co.transparentSrc && (n($) || !xw(e) && s($)) && C.remove();
|
|
17545
17545
|
}
|
|
17546
17546
|
});
|
|
17547
17547
|
}, IX = (e, n, s) => {
|
|
@@ -18709,7 +18709,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
18709
18709
|
};
|
|
18710
18710
|
}, Jq = (e) => e.toLowerCase() === "gpl", zI = (e) => e.length >= 64 && e.length <= 255, eG = (e) => Jq(e) || zI(e) ? "VALID" : "INVALID", tG = (e) => {
|
|
18711
18711
|
const n = bM(e);
|
|
18712
|
-
!
|
|
18712
|
+
!le(uC(e)) && (rn(n) || eG(n) === "INVALID") && console.warn("TinyMCE is running in evaluation mode. Provide a valid license key or add license_key: 'gpl' to the init config to agree to the open source license terms. Read more at https://www.tiny.cloud/license-key/");
|
|
18713
18713
|
}, XD = kr.DOM, nG = (e, n) => {
|
|
18714
18714
|
const s = Re.fromDom(e.getBody()), a = Wh(su(s)), d = Re.fromTag("style");
|
|
18715
18715
|
Xr(d, "type", "text/css"), Nr(d, Re.fromText(n)), Nr(a, d), e.on("remove", () => {
|
|
@@ -18832,7 +18832,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
18832
18832
|
} = vo(n, (C) => tinymce.Resource.has(yg(C))), y = [
|
|
18833
18833
|
...a.map((C) => {
|
|
18834
18834
|
const $ = tinymce.Resource.get(yg(C));
|
|
18835
|
-
return
|
|
18835
|
+
return le($) ? Promise.resolve(YD(e).loadRawCss(C, $)) : Promise.resolve();
|
|
18836
18836
|
}),
|
|
18837
18837
|
YD(e).loadAll(d)
|
|
18838
18838
|
];
|
|
@@ -18981,7 +18981,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
18981
18981
|
});
|
|
18982
18982
|
}, fG = (e) => {
|
|
18983
18983
|
const n = D0(e);
|
|
18984
|
-
if (
|
|
18984
|
+
if (le(n)) {
|
|
18985
18985
|
const s = _m.get(n);
|
|
18986
18986
|
e.theme = s(e, _m.urls[n]) || {}, ve(e.theme.init) && e.theme.init(e, _m.urls[n] || e.documentBaseUrl.replace(/\/$/, ""));
|
|
18987
18987
|
} else
|
|
@@ -19007,7 +19007,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19007
19007
|
return e.inline ? L_(null) : I_(n);
|
|
19008
19008
|
}, xO = (e) => {
|
|
19009
19009
|
const n = e.getElement();
|
|
19010
|
-
return e.orgDisplay = n.style.display,
|
|
19010
|
+
return e.orgDisplay = n.style.display, le(D0(e)) ? KI(e) : ve(D0(e)) ? gG(e) : Up(e);
|
|
19011
19011
|
}, JI = (e, n) => {
|
|
19012
19012
|
const s = {
|
|
19013
19013
|
show: Y.from(n.show).getOr(kt),
|
|
@@ -19038,7 +19038,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19038
19038
|
}
|
|
19039
19039
|
}, OG = (e, n) => {
|
|
19040
19040
|
const s = D0(e);
|
|
19041
|
-
if (
|
|
19041
|
+
if (le(s) && !eQ(s) && !jn(_m.urls, s)) {
|
|
19042
19042
|
const a = S5(e), d = a ? e.documentBaseURI.toAbsolute(a) : `themes/${s}/theme${n}.js`;
|
|
19043
19043
|
_m.load(s, d).catch(() => {
|
|
19044
19044
|
_H(e, d, s);
|
|
@@ -19047,7 +19047,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19047
19047
|
}, vG = (e, n) => {
|
|
19048
19048
|
const s = fw(e);
|
|
19049
19049
|
if (s !== "plugin" && !jn(My.urls, s)) {
|
|
19050
|
-
const a = k5(e), d =
|
|
19050
|
+
const a = k5(e), d = le(a) ? e.documentBaseURI.toAbsolute(a) : `models/${s}/model${n}.js`;
|
|
19051
19051
|
My.load(s, d).catch(() => {
|
|
19052
19052
|
qx(e, d, s);
|
|
19053
19053
|
});
|
|
@@ -19081,7 +19081,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19081
19081
|
});
|
|
19082
19082
|
}, Gee = (e) => {
|
|
19083
19083
|
const n = D0(e);
|
|
19084
|
-
return !
|
|
19084
|
+
return !le(n) || Xe(_m.get(n));
|
|
19085
19085
|
}, xG = (e) => {
|
|
19086
19086
|
const n = fw(e);
|
|
19087
19087
|
return Xe(My.get(n));
|
|
@@ -19363,7 +19363,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19363
19363
|
n("blockquote");
|
|
19364
19364
|
},
|
|
19365
19365
|
FormatBlock: (s, a, d) => {
|
|
19366
|
-
n(
|
|
19366
|
+
n(le(d) ? d : "p");
|
|
19367
19367
|
},
|
|
19368
19368
|
mceToggleFormat: (s, a, d) => {
|
|
19369
19369
|
n(d);
|
|
@@ -19405,8 +19405,8 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19405
19405
|
const n = (s, a, d) => {
|
|
19406
19406
|
if (e.mode.isReadOnly())
|
|
19407
19407
|
return;
|
|
19408
|
-
const p =
|
|
19409
|
-
je(p) &&
|
|
19408
|
+
const p = le(d) ? { href: d } : d, y = e.dom.getParent(e.selection.getNode(), "a");
|
|
19409
|
+
je(p) && le(p.href) && (p.href = p.href.replace(/ /g, "%20"), (!y || !p.href) && e.formatter.remove("link"), p.href && e.formatter.apply("link", p, y));
|
|
19410
19410
|
};
|
|
19411
19411
|
e.editorCommands.addCommands({
|
|
19412
19412
|
unlink: () => {
|
|
@@ -19730,10 +19730,10 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19730
19730
|
e.dom.unbind(W_(e, d), d, a);
|
|
19731
19731
|
}), delete e.delegates), !e.inline && n && s && (n.onload = null, s.unbind(e.getWin()), s.unbind(e.getDoc())), s && (s.unbind(n), s.unbind(e.getContainer()));
|
|
19732
19732
|
}
|
|
19733
|
-
}, tY = (e) =>
|
|
19733
|
+
}, tY = (e) => le(e) ? {
|
|
19734
19734
|
value: e.split(/[ ,]/),
|
|
19735
19735
|
valid: !0
|
|
19736
|
-
} : ct(e,
|
|
19736
|
+
} : ct(e, le) ? {
|
|
19737
19737
|
value: e,
|
|
19738
19738
|
valid: !0
|
|
19739
19739
|
} : {
|
|
@@ -19753,7 +19753,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19753
19753
|
case "object":
|
|
19754
19754
|
return je;
|
|
19755
19755
|
case "string":
|
|
19756
|
-
return
|
|
19756
|
+
return le;
|
|
19757
19757
|
case "string[]":
|
|
19758
19758
|
return tY;
|
|
19759
19759
|
case "object[]":
|
|
@@ -19765,7 +19765,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19765
19765
|
}
|
|
19766
19766
|
})();
|
|
19767
19767
|
return (s) => uR(s, n, `The value must be a ${e}.`);
|
|
19768
|
-
}, oY = (e) =>
|
|
19768
|
+
}, oY = (e) => le(e.processor), OQ = (e, n) => {
|
|
19769
19769
|
const s = Fo(n.message) ? "" : `. ${n.message}`;
|
|
19770
19770
|
return e + s;
|
|
19771
19771
|
}, vQ = (e) => e.valid, uR = (e, n, s = "") => {
|
|
@@ -19814,7 +19814,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19814
19814
|
isSet: (re) => jn(d, re),
|
|
19815
19815
|
debug: () => {
|
|
19816
19816
|
try {
|
|
19817
|
-
console.log(JSON.parse(JSON.stringify(s, (re, ge) => Et(ge) || Xn(ge) ||
|
|
19817
|
+
console.log(JSON.parse(JSON.stringify(s, (re, ge) => Et(ge) || Xn(ge) || le(ge) || oe(ge) || it(ge) || Xt(ge) ? ge : Object.prototype.toString.call(ge))));
|
|
19818
19818
|
} catch (re) {
|
|
19819
19819
|
console.error(re);
|
|
19820
19820
|
}
|
|
@@ -20337,7 +20337,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
20337
20337
|
const X = e[W];
|
|
20338
20338
|
if (X)
|
|
20339
20339
|
return X.apply(n, []);
|
|
20340
|
-
}, C = (W) => co.browser.isIE() || co.browser.isEdge() ? (Gx("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/7/support/#supportedwebbrowsers"), []) : vY ? (Gx("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."), []) :
|
|
20340
|
+
}, C = (W) => co.browser.isIE() || co.browser.isEdge() ? (Gx("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/7/support/#supportedwebbrowsers"), []) : vY ? (Gx("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."), []) : le(W.selector) ? i2.select(W.selector) : Xe(W.target) ? [W.target] : [];
|
|
20341
20341
|
let $ = (W) => {
|
|
20342
20342
|
s = W;
|
|
20343
20343
|
};
|
|
@@ -20364,7 +20364,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
20364
20364
|
});
|
|
20365
20365
|
},
|
|
20366
20366
|
get(e) {
|
|
20367
|
-
return arguments.length === 0 ? Tu.slice(0) :
|
|
20367
|
+
return arguments.length === 0 ? Tu.slice(0) : le(e) ? Jo(Tu, (n) => n.id === e).getOr(null) : Xn(e) && Tu[e] ? Tu[e] : null;
|
|
20368
20368
|
},
|
|
20369
20369
|
add(e) {
|
|
20370
20370
|
const n = this, s = n.get(e.id);
|
|
@@ -20385,7 +20385,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
20385
20385
|
n.remove(Tu[a]);
|
|
20386
20386
|
return;
|
|
20387
20387
|
}
|
|
20388
|
-
if (
|
|
20388
|
+
if (le(e)) {
|
|
20389
20389
|
X_(i2.select(e), (a) => {
|
|
20390
20390
|
s = n.get(a.id), s && n.remove(s);
|
|
20391
20391
|
});
|
|
@@ -20877,7 +20877,7 @@ function ahe() {
|
|
|
20877
20877
|
return !0;
|
|
20878
20878
|
}
|
|
20879
20879
|
return !1;
|
|
20880
|
-
},
|
|
20880
|
+
}, le = () => {
|
|
20881
20881
|
}, je = (t) => () => t(), Xt = (t, r) => (...l) => t(r.apply(null, l)), it = (t, r) => (l) => t(r(l)), oe = (t) => () => t, Et = (t) => t, rn = (t, r) => t === r;
|
|
20882
20882
|
function dn(t, ...r) {
|
|
20883
20883
|
return (...l) => {
|
|
@@ -21099,7 +21099,7 @@ function ahe() {
|
|
|
21099
21099
|
};
|
|
21100
21100
|
}, pi = (t, r) => {
|
|
21101
21101
|
const l = {};
|
|
21102
|
-
return Ns(t, r, No(l),
|
|
21102
|
+
return Ns(t, r, No(l), le), l;
|
|
21103
21103
|
}, Aa = (t, r) => {
|
|
21104
21104
|
const l = [];
|
|
21105
21105
|
return Fs(t, (f, b) => {
|
|
@@ -21262,7 +21262,7 @@ function ahe() {
|
|
|
21262
21262
|
}, as = (t, r) => Q.from(go(t, r)), q = (t, r) => {
|
|
21263
21263
|
const l = t.dom;
|
|
21264
21264
|
return l && l.hasAttribute ? l.hasAttribute(r) : !1;
|
|
21265
|
-
},
|
|
21265
|
+
}, ce = (t, r) => {
|
|
21266
21266
|
t.dom.removeAttribute(r);
|
|
21267
21267
|
}, De = (t) => Xo(t.dom.attributes, (r, l) => (r[l.name] = l.value, r), {}), ot = (t, r, l) => {
|
|
21268
21268
|
if (!w(l))
|
|
@@ -21306,7 +21306,7 @@ function ahe() {
|
|
|
21306
21306
|
return an(f, r, l), Zs(f, r).isSome();
|
|
21307
21307
|
}, Uo = (t, r) => {
|
|
21308
21308
|
const l = t.dom;
|
|
21309
|
-
$n(l, r), Mr(as(t, "style").map(vr), "") &&
|
|
21309
|
+
$n(l, r), Mr(as(t, "style").map(vr), "") && ce(t, "style");
|
|
21310
21310
|
}, ba = (t) => t.dom.offsetWidth, yi = (t, r) => {
|
|
21311
21311
|
const l = (E, D) => {
|
|
21312
21312
|
if (!Te(D) && !D.match(/^[0-9]+$/))
|
|
@@ -21730,7 +21730,7 @@ function ahe() {
|
|
|
21730
21730
|
}
|
|
21731
21731
|
};
|
|
21732
21732
|
}, iu = () => Vg((t) => t.destroy()), Wl = () => Vg((t) => t.unbind()), Is = () => {
|
|
21733
|
-
const t = Vg(
|
|
21733
|
+
const t = Vg(le);
|
|
21734
21734
|
return {
|
|
21735
21735
|
...t,
|
|
21736
21736
|
on: (l) => t.get().each(l)
|
|
@@ -21777,7 +21777,7 @@ function ahe() {
|
|
|
21777
21777
|
getOrThunk: Xn,
|
|
21778
21778
|
orThunk: Xn,
|
|
21779
21779
|
getOrDie: ve(String(t)),
|
|
21780
|
-
each:
|
|
21780
|
+
each: le,
|
|
21781
21781
|
toOptional: Q.none
|
|
21782
21782
|
};
|
|
21783
21783
|
return l;
|
|
@@ -22140,7 +22140,7 @@ Required: ` + r.join(", "));
|
|
|
22140
22140
|
}, Jf = (t, r) => es(t.element, r.event.target), ju = {
|
|
22141
22141
|
can: kt,
|
|
22142
22142
|
abort: ct,
|
|
22143
|
-
run:
|
|
22143
|
+
run: le
|
|
22144
22144
|
}, Xu = (t) => {
|
|
22145
22145
|
if (!Kr(t, "can") && !Kr(t, "abort") && !Kr(t, "run"))
|
|
22146
22146
|
throw new Error("EventHandler defined by: " + JSON.stringify(t, null, 2) + " does not have can, abort, or run!");
|
|
@@ -22343,11 +22343,11 @@ Required: ` + r.join(", "));
|
|
|
22343
22343
|
return un(t, r, b.join(" ")), !0;
|
|
22344
22344
|
}, E2 = (t, r, l) => {
|
|
22345
22345
|
const f = fo(kr(t, r), (b) => b !== l);
|
|
22346
|
-
return f.length > 0 ? un(t, r, f.join(" ")) :
|
|
22346
|
+
return f.length > 0 ? un(t, r, f.join(" ")) : ce(t, r), !1;
|
|
22347
22347
|
}, v0 = (t) => t.dom.classList !== void 0, og = (t) => kr(t, "class"), $2 = (t, r) => I4(t, "class", r), af = (t, r) => E2(t, "class", r), sp = (t, r) => _t(og(t), r) ? af(t, r) : $2(t, r), mi = (t, r) => {
|
|
22348
22348
|
v0(t) ? t.dom.classList.add(r) : $2(t, r);
|
|
22349
22349
|
}, uk = (t) => {
|
|
22350
|
-
(v0(t) ? t.dom.classList : og(t)).length === 0 &&
|
|
22350
|
+
(v0(t) ? t.dom.classList : og(t)).length === 0 && ce(t, "class");
|
|
22351
22351
|
}, Yr = (t, r) => {
|
|
22352
22352
|
v0(t) ? t.dom.classList.remove(r) : af(t, r), uk(t);
|
|
22353
22353
|
}, P2 = (t, r) => {
|
|
@@ -22447,7 +22447,7 @@ Required: ` + r.join(", "));
|
|
|
22447
22447
|
location: b.location
|
|
22448
22448
|
});
|
|
22449
22449
|
}, sv = (t, r, l, f, b) => {
|
|
22450
|
-
f.getInitialPos().fold(() => rb(t, r, l, f, b), () =>
|
|
22450
|
+
f.getInitialPos().fold(() => rb(t, r, l, f, b), () => le);
|
|
22451
22451
|
}, hk = (t, r, l) => l.getInitialPos().bind((f) => {
|
|
22452
22452
|
var b;
|
|
22453
22453
|
switch (l.clearInitialPos(), f.position) {
|
|
@@ -22701,12 +22701,12 @@ Required: ` + r.join(", "));
|
|
|
22701
22701
|
} else
|
|
22702
22702
|
return bk;
|
|
22703
22703
|
}, X4 = {
|
|
22704
|
-
logEventCut:
|
|
22705
|
-
logEventStopped:
|
|
22706
|
-
logNoParent:
|
|
22707
|
-
logEventNoHandlers:
|
|
22708
|
-
logEventResponse:
|
|
22709
|
-
write:
|
|
22704
|
+
logEventCut: le,
|
|
22705
|
+
logEventStopped: le,
|
|
22706
|
+
logNoParent: le,
|
|
22707
|
+
logEventNoHandlers: le,
|
|
22708
|
+
logEventResponse: le,
|
|
22709
|
+
write: le
|
|
22710
22710
|
}, L2 = (t, r, l) => Fa(t, r, l), cp = oe(X4), rg = oe([
|
|
22711
22711
|
At("menu"),
|
|
22712
22712
|
At("selectedMenu")
|
|
@@ -22718,7 +22718,7 @@ Required: ` + r.join(", "));
|
|
|
22718
22718
|
const Cc = oe(mo(lm())), Ok = tf("initSize", [
|
|
22719
22719
|
At("numColumns"),
|
|
22720
22720
|
At("numRows")
|
|
22721
|
-
]), vk = () => Ds("markers", Cc()), up = () => tf("markers", [At("backgroundMenu")].concat(rg()).concat(lm())), Oh = (t) => tf("markers", We(t, At)), rv = (t, r, l) => (mu(), Yi(r, r, l, Ug((f) => Eo.value((...b) => f.apply(void 0, b))))), bs = (t) => rv("onHandler", t, Yh(
|
|
22721
|
+
]), vk = () => Ds("markers", Cc()), up = () => tf("markers", [At("backgroundMenu")].concat(rg()).concat(lm())), Oh = (t) => tf("markers", We(t, At)), rv = (t, r, l) => (mu(), Yi(r, r, l, Ug((f) => Eo.value((...b) => f.apply(void 0, b))))), bs = (t) => rv("onHandler", t, Yh(le)), Gl = (t) => rv("onKeyboardHandler", t, Yh(Q.none)), vh = (t) => rv("onHandler", t, Fc()), db = (t) => rv("onKeyboardHandler", t, Fc()), Ir = (t, r) => As(t, oe(r)), dp = (t) => As(t, Et), cm = oe(Ok);
|
|
22722
22722
|
var yk = [
|
|
22723
22723
|
Ai("contextual", [
|
|
22724
22724
|
Wi("fadeInClass"),
|
|
@@ -23036,7 +23036,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(We(r, (l) => l.name),
|
|
|
23036
23036
|
toSet: x,
|
|
23037
23037
|
toRemove: S
|
|
23038
23038
|
} = mb(t.attributes, b), E = () => {
|
|
23039
|
-
pt(S, (He) =>
|
|
23039
|
+
pt(S, (He) => ce(r, He)), co(r, x);
|
|
23040
23040
|
}, D = dc(r), {
|
|
23041
23041
|
toSet: L,
|
|
23042
23042
|
toRemove: V
|
|
@@ -23155,7 +23155,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(We(r, (l) => l.name),
|
|
|
23155
23155
|
element: r.element,
|
|
23156
23156
|
spec: t,
|
|
23157
23157
|
readState: oe("No state"),
|
|
23158
|
-
syncComponents:
|
|
23158
|
+
syncComponents: le,
|
|
23159
23159
|
components: oe([]),
|
|
23160
23160
|
events: {}
|
|
23161
23161
|
};
|
|
@@ -23215,7 +23215,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(We(r, (l) => l.name),
|
|
|
23215
23215
|
un(f, P0, t);
|
|
23216
23216
|
},
|
|
23217
23217
|
unlink: (f) => {
|
|
23218
|
-
|
|
23218
|
+
ce(f, P0);
|
|
23219
23219
|
}
|
|
23220
23220
|
};
|
|
23221
23221
|
}, q2 = (t, r) => Fk(r).exists((l) => lg(t, l)), lg = (t, r) => j2(r, (l) => es(l, t.element), ct) || q2(t, r), ll = (t, r, l, f, b, x, S, E = !1) => ({
|
|
@@ -23354,7 +23354,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23354
23354
|
return f.each((x) => {
|
|
23355
23355
|
mm(l).filter((S) => es(S, x)).fold(() => {
|
|
23356
23356
|
bu(x);
|
|
23357
|
-
},
|
|
23357
|
+
}, le);
|
|
23358
23358
|
}), b;
|
|
23359
23359
|
}, Ov = Qe.generate([
|
|
23360
23360
|
{ none: [] },
|
|
@@ -23402,7 +23402,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23402
23402
|
origin: r
|
|
23403
23403
|
}), uw = (t, r) => y5(t, r), yv = "data-alloy-placement", wv = (t, r) => {
|
|
23404
23404
|
un(t, yv, r);
|
|
23405
|
-
}, xv = (t) => as(t, yv), xb = (t) =>
|
|
23405
|
+
}, xv = (t) => as(t, yv), xb = (t) => ce(t, yv), gm = Qe.generate([
|
|
23406
23406
|
{ fit: ["reposition"] },
|
|
23407
23407
|
{
|
|
23408
23408
|
nofit: [
|
|
@@ -23515,7 +23515,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23515
23515
|
if (he(L) || x(L)) {
|
|
23516
23516
|
l.clear(), f.clear();
|
|
23517
23517
|
const V = L == null ? void 0 : L.raw.type;
|
|
23518
|
-
(he(V) || V === h0()) && (clearTimeout(b),
|
|
23518
|
+
(he(V) || V === h0()) && (clearTimeout(b), ce(t, kv), Ku(t, r.classes));
|
|
23519
23519
|
}
|
|
23520
23520
|
}, E = Kl(t, Kg(), (L) => {
|
|
23521
23521
|
x(L) && (E.unbind(), l.set(Kl(t, h0(), S)), f.set(Kl(t, A4(), S)));
|
|
@@ -23525,7 +23525,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23525
23525
|
});
|
|
23526
23526
|
}, C5 = (t, r) => {
|
|
23527
23527
|
y0(t, r.classes), as(t, kv).each((l) => {
|
|
23528
|
-
clearTimeout(parseInt(l, 10)),
|
|
23528
|
+
clearTimeout(parseInt(l, 10)), ce(t, kv);
|
|
23529
23529
|
}), Sb(t, r);
|
|
23530
23530
|
}, T5 = (t, r, l, f, b, x) => {
|
|
23531
23531
|
const S = S5(f, b, x);
|
|
@@ -23571,7 +23571,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23571
23571
|
}), Op = oe((t, r) => {
|
|
23572
23572
|
pw(t, r);
|
|
23573
23573
|
}), Ow = (t, r, l) => t[r] === void 0 ? l : t[r], nC = (t, r, l, f, b, x, S, E) => {
|
|
23574
|
-
const D = Ow(S, "maxHeightFunction", bw()), L = Ow(S, "maxWidthFunction",
|
|
23574
|
+
const D = Ow(S, "maxHeightFunction", bw()), L = Ow(S, "maxWidthFunction", le), V = t.anchorBox, j = t.origin, ne = {
|
|
23575
23575
|
bounds: p5(j, x),
|
|
23576
23576
|
origin: j,
|
|
23577
23577
|
preference: f,
|
|
@@ -24208,7 +24208,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
24208
24208
|
});
|
|
24209
24209
|
}, CC = (t, r, l) => l.isOpen(), TC = (t, r, l, f) => CC(t, r, l) && l.get().exists((b) => r.isPartOf(t, b, f)), _C = (t, r, l) => l.get(), Xv = (t, r, l, f) => {
|
|
24210
24210
|
Zs(t.element, r).fold(() => {
|
|
24211
|
-
|
|
24211
|
+
ce(t.element, l);
|
|
24212
24212
|
}, (b) => {
|
|
24213
24213
|
un(t.element, l, b);
|
|
24214
24214
|
}), an(t.element, r, f);
|
|
@@ -24333,7 +24333,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
24333
24333
|
clear: f,
|
|
24334
24334
|
readState: r
|
|
24335
24335
|
});
|
|
24336
|
-
}, _p = () => Xl({ readState:
|
|
24336
|
+
}, _p = () => Xl({ readState: le }), Ep = () => {
|
|
24337
24337
|
const t = In({}), r = In({});
|
|
24338
24338
|
return Xl({
|
|
24339
24339
|
readState: () => ({
|
|
@@ -24405,13 +24405,13 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
24405
24405
|
};
|
|
24406
24406
|
var j5 = [
|
|
24407
24407
|
At("getValue"),
|
|
24408
|
-
st("setValue",
|
|
24408
|
+
st("setValue", le),
|
|
24409
24409
|
$s("initialValue"),
|
|
24410
24410
|
Ir("manager", {
|
|
24411
24411
|
setValue: gg,
|
|
24412
24412
|
getValue: BC,
|
|
24413
24413
|
onLoad: Lw,
|
|
24414
|
-
onUnload:
|
|
24414
|
+
onUnload: le,
|
|
24415
24415
|
state: fh.init
|
|
24416
24416
|
})
|
|
24417
24417
|
];
|
|
@@ -24718,7 +24718,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24718
24718
|
}, Kw = (t, r) => r.useNative === !0 && _t(q0, Ss(t.element)), qC = (t) => q(t.element, "disabled"), GC = (t) => {
|
|
24719
24719
|
un(t.element, "disabled", "disabled");
|
|
24720
24720
|
}, tE = (t) => {
|
|
24721
|
-
|
|
24721
|
+
ce(t.element, "disabled");
|
|
24722
24722
|
}, TM = (t) => go(t.element, "aria-disabled") === "true", nE = (t) => {
|
|
24723
24723
|
un(t.element, "aria-disabled", "true");
|
|
24724
24724
|
}, oE = (t) => {
|
|
@@ -24872,7 +24872,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24872
24872
|
get: t,
|
|
24873
24873
|
set: (l, f) => {
|
|
24874
24874
|
const b = t(l);
|
|
24875
|
-
l.getSystem().getByDom(f).fold(
|
|
24875
|
+
l.getSystem().getByDom(f).fold(le, (S) => {
|
|
24876
24876
|
ue.highlight(l, S);
|
|
24877
24877
|
});
|
|
24878
24878
|
const x = t(l);
|
|
@@ -25422,7 +25422,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25422
25422
|
checked: [Ir("update", FZ)],
|
|
25423
25423
|
expanded: [Ir("update", kE)],
|
|
25424
25424
|
selected: [Ir("update", QZ)],
|
|
25425
|
-
none: [Ir("update",
|
|
25425
|
+
none: [Ir("update", le)]
|
|
25426
25426
|
}))
|
|
25427
25427
|
];
|
|
25428
25428
|
const Go = xa({
|
|
@@ -25531,7 +25531,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25531
25531
|
store: {
|
|
25532
25532
|
mode: "manual",
|
|
25533
25533
|
getValue: (r) => t.data,
|
|
25534
|
-
setValue:
|
|
25534
|
+
setValue: le
|
|
25535
25535
|
}
|
|
25536
25536
|
})])
|
|
25537
25537
|
})
|
|
@@ -25905,7 +25905,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25905
25905
|
Wt.getSystem().getByDom(yo).each((Zo) => {
|
|
25906
25906
|
S(Zo).indexOf("collapse-item") === 0 && He(Wt, Zo), Ue(Wt, Zo, qe.HighlightSubmenu).fold(() => {
|
|
25907
25907
|
t.onExecute(Wt, Zo);
|
|
25908
|
-
},
|
|
25908
|
+
}, le);
|
|
25909
25909
|
});
|
|
25910
25910
|
}),
|
|
25911
25911
|
fr((Wt, On) => {
|
|
@@ -26613,7 +26613,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26613
26613
|
$t(Ym(), (S) => {
|
|
26614
26614
|
Yl(S.element).fold(() => {
|
|
26615
26615
|
qo(S, wx);
|
|
26616
|
-
},
|
|
26616
|
+
}, le);
|
|
26617
26617
|
}),
|
|
26618
26618
|
$t(uh(), (S) => {
|
|
26619
26619
|
Er(S.element, "[data-mce-tooltip]:hover").each((E) => {
|
|
@@ -26627,7 +26627,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26627
26627
|
$t(em(), (S) => {
|
|
26628
26628
|
Er(S.element, "[data-mce-tooltip]:hover").fold(() => {
|
|
26629
26629
|
qo(S, yx);
|
|
26630
|
-
},
|
|
26630
|
+
}, le);
|
|
26631
26631
|
})
|
|
26632
26632
|
];
|
|
26633
26633
|
default:
|
|
@@ -26644,7 +26644,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26644
26644
|
$t(Ym(), (S) => {
|
|
26645
26645
|
Yl(S.element).fold(() => {
|
|
26646
26646
|
qo(S, wx);
|
|
26647
|
-
},
|
|
26647
|
+
}, le);
|
|
26648
26648
|
})
|
|
26649
26649
|
];
|
|
26650
26650
|
}
|
|
@@ -26692,7 +26692,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26692
26692
|
st("tooltipComponents", []),
|
|
26693
26693
|
zs("delayForShow", oe(300)),
|
|
26694
26694
|
zs("delayForHide", oe(300)),
|
|
26695
|
-
zs("onSetup",
|
|
26695
|
+
zs("onSetup", le),
|
|
26696
26696
|
al("mode", "normal", [
|
|
26697
26697
|
"normal",
|
|
26698
26698
|
"follow-highlight",
|
|
@@ -27670,7 +27670,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27670
27670
|
onFocus: t.selectOnFocus ? (r) => {
|
|
27671
27671
|
const l = r.element, f = Cd(l);
|
|
27672
27672
|
t.type !== "range" && l.dom.setSelectionRange(0, f.length);
|
|
27673
|
-
} :
|
|
27673
|
+
} : le
|
|
27674
27674
|
})]), MV = (t) => ({
|
|
27675
27675
|
...A6(t),
|
|
27676
27676
|
...Mi(t.inputBehaviours, [kn.config({
|
|
@@ -27948,7 +27948,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27948
27948
|
components: RV,
|
|
27949
27949
|
items: l
|
|
27950
27950
|
};
|
|
27951
|
-
}, ta = Wi("type"), S$ = Wi("name"), k$ = Wi("label"), Mp = Wi("text"), F6 = Wi("title"), Z6 = Wi("icon"), Mx = Wi("value"), C$ = hu("fetch"), V6 = hu("getSubmenuItems"), wy = hu("onAction"), ZV = hu("onItemAction"), d1 = zs("onSetup", () =>
|
|
27951
|
+
}, ta = Wi("type"), S$ = Wi("name"), k$ = Wi("label"), Mp = Wi("text"), F6 = Wi("title"), Z6 = Wi("icon"), Mx = Wi("value"), C$ = hu("fetch"), V6 = hu("getSubmenuItems"), wy = hu("onAction"), ZV = hu("onItemAction"), d1 = zs("onSetup", () => le), VV = ti("name"), h1 = ti("text"), z6 = ti("role"), Id = ti("icon"), xy = ti("tooltip"), T$ = ti("label"), _$ = ti("shortcut"), zV = ah("select"), Bx = wa("active", !1), E$ = wa("borderless", !1), wf = wa("enabled", !0), XT = wa("primary", !1), H6 = (t) => st("columns", t), $$ = st("meta", {}), P$ = zs("onAction", le), Sy = (t) => xr("type", t), qT = (t) => Yi("name", "name", ts(() => Pn(`${t}-name`)), pn), U6 = (t) => Yi("value", "value", ts(() => Pn(`${t}-value`)), cu()), W6 = mo([
|
|
27952
27952
|
ta,
|
|
27953
27953
|
h1
|
|
27954
27954
|
]), HV = (t) => Vr("separatormenuitem", W6, t), UV = mo([
|
|
@@ -28007,8 +28007,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28007
28007
|
contextformbutton: Nx,
|
|
28008
28008
|
contextformtogglebutton: WV
|
|
28009
28009
|
})),
|
|
28010
|
-
zs("onInput",
|
|
28011
|
-
zs("onSetup",
|
|
28010
|
+
zs("onInput", le),
|
|
28011
|
+
zs("onSetup", le)
|
|
28012
28012
|
], id = [
|
|
28013
28013
|
...nO,
|
|
28014
28014
|
...Th,
|
|
@@ -28208,7 +28208,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28208
28208
|
"item-events"
|
|
28209
28209
|
]
|
|
28210
28210
|
}, Ey = Qi, $y = (t, r, l, f) => {
|
|
28211
|
-
const b = In(
|
|
28211
|
+
const b = In(le);
|
|
28212
28212
|
return {
|
|
28213
28213
|
type: "item",
|
|
28214
28214
|
dom: r.dom,
|
|
@@ -28428,7 +28428,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28428
28428
|
enabled: t.enabled,
|
|
28429
28429
|
getApi: oe({}),
|
|
28430
28430
|
onAction: (V) => b(t.value, t.meta),
|
|
28431
|
-
onSetup: oe(
|
|
28431
|
+
onSetup: oe(le),
|
|
28432
28432
|
triggersSubmenu: !1,
|
|
28433
28433
|
itemBehaviours: e3(t, S, L)
|
|
28434
28434
|
}, D, x, S.providers);
|
|
@@ -28503,7 +28503,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28503
28503
|
enabled: t.enabled,
|
|
28504
28504
|
getApi: D,
|
|
28505
28505
|
onAction: (j) => f(t.value),
|
|
28506
|
-
onSetup: (j) => (j.setActive(b),
|
|
28506
|
+
onSetup: (j) => (j.setActive(b), le),
|
|
28507
28507
|
triggersSubmenu: !1,
|
|
28508
28508
|
itemBehaviours: [...V.toArray()]
|
|
28509
28509
|
}, L, x, S), {
|
|
@@ -28863,7 +28863,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28863
28863
|
columns: o3(t, l),
|
|
28864
28864
|
fetch: L7($h(t, l), l, Ua(t)),
|
|
28865
28865
|
onAction: (b) => {
|
|
28866
|
-
rP(t, l, f.get(),
|
|
28866
|
+
rP(t, l, f.get(), le);
|
|
28867
28867
|
},
|
|
28868
28868
|
onItemAction: (b, x) => {
|
|
28869
28869
|
rP(t, l, x, (S) => {
|
|
@@ -28941,7 +28941,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28941
28941
|
initialData: S,
|
|
28942
28942
|
onAction: x,
|
|
28943
28943
|
onSubmit: b,
|
|
28944
|
-
onClose:
|
|
28944
|
+
onClose: le,
|
|
28945
28945
|
onCancel: () => {
|
|
28946
28946
|
r(Q.none());
|
|
28947
28947
|
}
|
|
@@ -29142,7 +29142,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29142
29142
|
data: Py(t),
|
|
29143
29143
|
getApi: S,
|
|
29144
29144
|
enabled: t.enabled,
|
|
29145
|
-
onAction:
|
|
29145
|
+
onAction: le,
|
|
29146
29146
|
onSetup: t.onSetup,
|
|
29147
29147
|
triggersSubmenu: !0,
|
|
29148
29148
|
itemBehaviours: []
|
|
@@ -29465,18 +29465,18 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29465
29465
|
o1.highlightPrimary(j);
|
|
29466
29466
|
});
|
|
29467
29467
|
}, S = (V, j, ne) => mP(t, Et, V, f, j, ne), E = (V) => {
|
|
29468
|
-
S(V, x, Ha.HighlightMenuAndItem).get(
|
|
29468
|
+
S(V, x, Ha.HighlightMenuAndItem).get(le);
|
|
29469
29469
|
}, D = {
|
|
29470
29470
|
expand: (V) => {
|
|
29471
|
-
Go.isOn(V) || S(V,
|
|
29471
|
+
Go.isOn(V) || S(V, le, Ha.HighlightNone).get(le);
|
|
29472
29472
|
},
|
|
29473
29473
|
open: (V) => {
|
|
29474
|
-
Go.isOn(V) || S(V,
|
|
29474
|
+
Go.isOn(V) || S(V, le, Ha.HighlightMenuAndItem).get(le);
|
|
29475
29475
|
},
|
|
29476
|
-
refetch: (V) => Bi.getExistingCoupled(V, "sandbox").fold(() => S(V,
|
|
29476
|
+
refetch: (V) => Bi.getExistingCoupled(V, "sandbox").fold(() => S(V, le, Ha.HighlightMenuAndItem).map(le), (ne) => r3(t, Et, V, ne, f, le, Ha.HighlightMenuAndItem).map(le)),
|
|
29477
29477
|
isOpen: Go.isOn,
|
|
29478
29478
|
close: (V) => {
|
|
29479
|
-
Go.isOn(V) && S(V,
|
|
29479
|
+
Go.isOn(V) && S(V, le, Ha.HighlightMenuAndItem).get(le);
|
|
29480
29480
|
},
|
|
29481
29481
|
repositionMenus: (V) => {
|
|
29482
29482
|
Go.isOn(V) && nB(V);
|
|
@@ -29672,7 +29672,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29672
29672
|
ni.hide(S), t.dom.remove(l, !1);
|
|
29673
29673
|
const we = Ot.fromDom(t.getBody());
|
|
29674
29674
|
as(we, "aria-owns").filter((Ue) => Ue === l).each(() => {
|
|
29675
|
-
|
|
29675
|
+
ce(we, "aria-owns"), ce(we, "aria-activedescendant");
|
|
29676
29676
|
});
|
|
29677
29677
|
}
|
|
29678
29678
|
}, V = () => ni.getContent(S).bind((we) => Jo(we.components(), 0)), j = () => t.execCommand("mceAutocompleterClose"), ne = (we) => {
|
|
@@ -29868,7 +29868,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29868
29868
|
stop: () => {
|
|
29869
29869
|
r.set(!0);
|
|
29870
29870
|
},
|
|
29871
|
-
cut:
|
|
29871
|
+
cut: le,
|
|
29872
29872
|
isStopped: r.get,
|
|
29873
29873
|
isCut: ct,
|
|
29874
29874
|
event: t,
|
|
@@ -29991,8 +29991,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
29991
29991
|
}, (He) => {
|
|
29992
29992
|
L2(hh(), we, (lt) => (EH(f, hh(), {
|
|
29993
29993
|
originator: Ue,
|
|
29994
|
-
kill:
|
|
29995
|
-
prevent:
|
|
29994
|
+
kill: le,
|
|
29995
|
+
prevent: le,
|
|
29996
29996
|
target: we
|
|
29997
29997
|
}, we, lt), !1));
|
|
29998
29998
|
});
|
|
@@ -30251,7 +30251,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30251
30251
|
},
|
|
30252
30252
|
onEnabled: (ae) => {
|
|
30253
30253
|
V(ae, (pe) => {
|
|
30254
|
-
Yr(pe, "tox-collection__item--state-disabled"),
|
|
30254
|
+
Yr(pe, "tox-collection__item--state-disabled"), ce(pe, "aria-disabled");
|
|
30255
30255
|
});
|
|
30256
30256
|
}
|
|
30257
30257
|
}),
|
|
@@ -30360,7 +30360,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30360
30360
|
events: (t, r) => t.validator.map((l) => nr([$t(l.onEvent, (f) => {
|
|
30361
30361
|
xP(f, t, r).get(Et);
|
|
30362
30362
|
})].concat(l.validateOnLoad ? [fr((f) => {
|
|
30363
|
-
xP(f, t, r).get(
|
|
30363
|
+
xP(f, t, r).get(le);
|
|
30364
30364
|
})] : []))).getOr({})
|
|
30365
30365
|
}), Ly = [
|
|
30366
30366
|
At("invalidClass"),
|
|
@@ -30430,7 +30430,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30430
30430
|
factory: yf,
|
|
30431
30431
|
inputClasses: ["tox-textfield"],
|
|
30432
30432
|
data: f,
|
|
30433
|
-
onSetValue: (L) => xg.run(L).get(
|
|
30433
|
+
onSetValue: (L) => xg.run(L).get(le),
|
|
30434
30434
|
inputBehaviours: Yt([
|
|
30435
30435
|
zn.config({ disabled: () => r.providers.isDisabled() || r.providers.checkUiComponentContext(t.context).shouldDisable }),
|
|
30436
30436
|
na(() => r.providers.checkUiComponentContext(t.context)),
|
|
@@ -30877,11 +30877,11 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30877
30877
|
const sN = [
|
|
30878
30878
|
st("stepSize", 1),
|
|
30879
30879
|
st("speedMultiplier", 10),
|
|
30880
|
-
st("onChange",
|
|
30881
|
-
st("onChoose",
|
|
30882
|
-
st("onInit",
|
|
30883
|
-
st("onDragStart",
|
|
30884
|
-
st("onDragEnd",
|
|
30880
|
+
st("onChange", le),
|
|
30881
|
+
st("onChoose", le),
|
|
30882
|
+
st("onInit", le),
|
|
30883
|
+
st("onDragStart", le),
|
|
30884
|
+
st("onDragEnd", le),
|
|
30885
30885
|
st("snapToGrid", !1),
|
|
30886
30886
|
st("rounded", !0),
|
|
30887
30887
|
$s("snapStart"),
|
|
@@ -31102,9 +31102,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31102
31102
|
sketch: yU
|
|
31103
31103
|
}, Qy = Pn("valid-input"), uN = Pn("invalid-input"), JP = Pn("validating-input"), eA = "colorcustom.rgb.", xU = {
|
|
31104
31104
|
isEnabled: kt,
|
|
31105
|
-
setEnabled:
|
|
31106
|
-
immediatelyShow:
|
|
31107
|
-
immediatelyHide:
|
|
31105
|
+
setEnabled: le,
|
|
31106
|
+
immediatelyShow: le,
|
|
31107
|
+
immediatelyHide: le
|
|
31108
31108
|
}, SU = (t, r, l, f, b, x) => {
|
|
31109
31109
|
const S = (xe, qe) => {
|
|
31110
31110
|
const we = qe.get();
|
|
@@ -31175,7 +31175,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31175
31175
|
})
|
|
31176
31176
|
]),
|
|
31177
31177
|
onSetValue: (Bs) => {
|
|
31178
|
-
xg.isInvalid(Bs) && xg.run(Bs).get(
|
|
31178
|
+
xg.isInvalid(Bs) && xg.run(Bs).get(le);
|
|
31179
31179
|
}
|
|
31180
31180
|
}), xt = Pn("aria-invalid"), En = Qs(x("invalid", Q.some(xt), "warning")), fn = Qs({
|
|
31181
31181
|
dom: {
|
|
@@ -31465,8 +31465,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31465
31465
|
name: "ColourPicker",
|
|
31466
31466
|
configFields: [
|
|
31467
31467
|
At("dom"),
|
|
31468
|
-
st("onValidHex",
|
|
31469
|
-
st("onInvalidHex",
|
|
31468
|
+
st("onValidHex", le),
|
|
31469
|
+
st("onInvalidHex", le)
|
|
31470
31470
|
],
|
|
31471
31471
|
factory: b
|
|
31472
31472
|
});
|
|
@@ -32020,7 +32020,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32020
32020
|
components: [Qr(l.translate(t))],
|
|
32021
32021
|
behaviours: Yt([xo.config({})])
|
|
32022
32022
|
}), Fd = Pn("update-menu-text"), bO = Pn("update-menu-icon"), dA = (t, r, l, f) => {
|
|
32023
|
-
const b = In(
|
|
32023
|
+
const b = In(le), x = t.text.map((xe) => Qs(R3(xe, r, l.providers))), S = t.icon.map((xe) => Qs(p1(xe, l.providers.icons))), E = (xe, qe) => {
|
|
32024
32024
|
const we = kn.getValue(xe);
|
|
32025
32025
|
return po.focus(we), Vn(we, "keydown", { raw: qe.event.raw }), Qd.close(we), Q.some(!0);
|
|
32026
32026
|
}, D = t.role.fold(() => ({}), (xe) => ({ role: xe })), L = Q.from(t.listRole).map((xe) => ({ listRole: xe })).getOr({}), V = t.ariaLabel.fold(() => ({}), (xe) => ({ "aria-label": l.providers.translate(xe) })), j = Ld("chevron-down", {
|
|
@@ -32214,7 +32214,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32214
32214
|
search: Q.none()
|
|
32215
32215
|
}));
|
|
32216
32216
|
},
|
|
32217
|
-
onSetup: oe(
|
|
32217
|
+
onSetup: oe(le),
|
|
32218
32218
|
getApi: oe({}),
|
|
32219
32219
|
columns: 1,
|
|
32220
32220
|
presets: "normal",
|
|
@@ -32367,7 +32367,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32367
32367
|
Os,
|
|
32368
32368
|
kn
|
|
32369
32369
|
]),
|
|
32370
|
-
zs("onInput",
|
|
32370
|
+
zs("onInput", le)
|
|
32371
32371
|
]), pA = (t, r, l) => gr(t, r, l).bind(Os.getCurrent), BN = (t, r) => Tl({
|
|
32372
32372
|
factory: Es,
|
|
32373
32373
|
name: t,
|
|
@@ -32559,7 +32559,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32559
32559
|
])), pe = ad.parts.field2(V([
|
|
32560
32560
|
Es.parts.label(ne("Height")),
|
|
32561
32561
|
j(!1)
|
|
32562
|
-
])), xe = In(
|
|
32562
|
+
])), xe = In(le), qe = Fi(t.onSetup, t.getApi, (we, Ue) => [
|
|
32563
32563
|
Sf({
|
|
32564
32564
|
onSetup: we,
|
|
32565
32565
|
getApi: Ue
|
|
@@ -32939,7 +32939,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32939
32939
|
setEnabled: (r) => zn.set(t, !r),
|
|
32940
32940
|
setActive: (r) => {
|
|
32941
32941
|
const l = t.element;
|
|
32942
|
-
r ? (mi(l, "tox-tbtn--enabled"), un(l, "aria-pressed", !0)) : (Yr(l, "tox-tbtn--enabled"),
|
|
32942
|
+
r ? (mi(l, "tox-tbtn--enabled"), un(l, "aria-pressed", !0)) : (Yr(l, "tox-tbtn--enabled"), ce(l, "aria-pressed"));
|
|
32943
32943
|
},
|
|
32944
32944
|
isActive: () => ql(t.element, "tox-tbtn--enabled"),
|
|
32945
32945
|
setText: (r) => {
|
|
@@ -33222,7 +33222,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33222
33222
|
])
|
|
33223
33223
|
};
|
|
33224
33224
|
}, pW = Pn("tree-event-id"), bW = (t, r) => {
|
|
33225
|
-
const l = t.onLeafAction.getOr(
|
|
33225
|
+
const l = t.onLeafAction.getOr(le), f = t.onToggleExpand.getOr(le), b = t.defaultExpandedIds, x = In(b), S = In(t.defaultSelectedId), E = Pn("tree-id"), D = (L, V) => t.items.map((j) => j.type === "leaf" ? wA({
|
|
33226
33226
|
leaf: j,
|
|
33227
33227
|
selectedId: L,
|
|
33228
33228
|
onLeafAction: l,
|
|
@@ -33362,7 +33362,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33362
33362
|
const xe = (qe) => {
|
|
33363
33363
|
Os.getCurrent(qe).each(ae);
|
|
33364
33364
|
};
|
|
33365
|
-
r3(t, S(j), j, pe, f, xe, Ha.HighlightMenuAndItem).get(
|
|
33365
|
+
r3(t, S(j), j, pe, f, xe, Ha.HighlightMenuAndItem).get(le);
|
|
33366
33366
|
}
|
|
33367
33367
|
}, x = A6(t), S = (j) => (ne) => ne.map((ae) => {
|
|
33368
33368
|
const pe = Ka(ae.menus), xe = Se(pe, (we) => fo(we.items, (Ue) => Ue.type === "item"));
|
|
@@ -33404,7 +33404,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33404
33404
|
});
|
|
33405
33405
|
});
|
|
33406
33406
|
};
|
|
33407
|
-
r3(t, S(j), j, ae, f, qe, Ha.HighlightJustMenu).get(
|
|
33407
|
+
r3(t, S(j), j, ae, f, qe, Ha.HighlightJustMenu).get(le);
|
|
33408
33408
|
}
|
|
33409
33409
|
},
|
|
33410
33410
|
cancelEvent: WO()
|
|
@@ -33436,7 +33436,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33436
33436
|
sandbox: (j) => Dy(t, j, {
|
|
33437
33437
|
onOpen: () => Go.on(j),
|
|
33438
33438
|
onClose: () => {
|
|
33439
|
-
t.lazyTypeaheadComp.get().each((ne) =>
|
|
33439
|
+
t.lazyTypeaheadComp.get().each((ne) => ce(ne.element, "aria-activedescendant")), Go.off(j);
|
|
33440
33440
|
}
|
|
33441
33441
|
})
|
|
33442
33442
|
}
|
|
@@ -33449,8 +33449,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33449
33449
|
t.lazyTypeaheadComp.set(Q.none());
|
|
33450
33450
|
}),
|
|
33451
33451
|
om((j) => {
|
|
33452
|
-
const ne =
|
|
33453
|
-
mP(t, S(j), j, f, ne, Ha.HighlightMenuAndItem).get(
|
|
33452
|
+
const ne = le;
|
|
33453
|
+
mP(t, S(j), j, f, ne, Ha.HighlightMenuAndItem).get(le);
|
|
33454
33454
|
}),
|
|
33455
33455
|
$t(_A(), (j, ne) => {
|
|
33456
33456
|
const ae = Bi.getCoupled(j, "sandbox");
|
|
@@ -33688,7 +33688,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33688
33688
|
...t,
|
|
33689
33689
|
type: "menubutton",
|
|
33690
33690
|
search: Q.none(),
|
|
33691
|
-
onSetup: (E) => (E.setEnabled(t.enabled),
|
|
33691
|
+
onSetup: (E) => (E.setEnabled(t.enabled), le),
|
|
33692
33692
|
fetch: hW(b.items, f, l)
|
|
33693
33693
|
}, S = Qs(Vp(x, "tox-tbtn", l, Q.none(), !0, t.text.or(t.tooltip).getOrUndefined()));
|
|
33694
33694
|
return S.asSpec();
|
|
@@ -33718,13 +33718,13 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33718
33718
|
value: t.url,
|
|
33719
33719
|
text: t.title,
|
|
33720
33720
|
meta: { attach: t.attach },
|
|
33721
|
-
onAction:
|
|
33721
|
+
onAction: le
|
|
33722
33722
|
}), $A = (t, r) => ({
|
|
33723
33723
|
type: "menuitem",
|
|
33724
33724
|
value: r,
|
|
33725
33725
|
text: t,
|
|
33726
33726
|
meta: { attach: void 0 },
|
|
33727
|
-
onAction:
|
|
33727
|
+
onAction: le
|
|
33728
33728
|
}), PA = (t) => We(t, U3), $W = (t, r) => fo(r, (l) => l.type === t), W3 = (t, r) => PA($W(t, r)), dL = (t) => W3("header", t.targets), AA = (t) => W3("anchor", t.targets), PW = (t) => Q.from(t.anchorTop).map((r) => $A("<top>", r)).toArray(), AW = (t) => Q.from(t.anchorBottom).map((r) => $A("<bottom>", r)).toArray(), hL = (t) => We(t, (r) => $A(r, r)), DW = (t) => Xo(t, (r, l) => r.length === 0 || l.length === 0 ? r.concat(l) : r.concat(H3, l), []), DA = (t, r) => {
|
|
33729
33729
|
const l = t.toLowerCase();
|
|
33730
33730
|
return fo(r, (f) => {
|
|
@@ -33771,7 +33771,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33771
33771
|
},
|
|
33772
33772
|
getHotspot: (Ue) => pe.getOpt(Ue),
|
|
33773
33773
|
onSetValue: (Ue, He) => {
|
|
33774
|
-
Ue.hasConfigured(xg) && xg.run(Ue).get(
|
|
33774
|
+
Ue.hasConfigured(xg) && xg.run(Ue).get(le);
|
|
33775
33775
|
},
|
|
33776
33776
|
typeaheadBehaviours: Yt([
|
|
33777
33777
|
...l.getValidationHandler().map((Ue) => xg.config({
|
|
@@ -34568,7 +34568,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34568
34568
|
return BL("header", (r = HA(t)) !== null && r !== void 0 ? r : "", "#" + l, jA(t), f);
|
|
34569
34569
|
}, JW = (t) => {
|
|
34570
34570
|
const r = t.id || t.name, l = HA(t);
|
|
34571
|
-
return BL("anchor", l || "#" + r, "#" + r, 0,
|
|
34571
|
+
return BL("anchor", l || "#" + r, "#" + r, 0, le);
|
|
34572
34572
|
}, ej = (t) => We(fo(t, IL), vO), Hy = (t) => We(fo(t, LL), JW), QL = (t) => zy("h1,h2,h3,h4,h5,h6,a:not([href])", t), G3 = (t) => YW(t.title).length > 0, XA = { find: (t) => {
|
|
34573
34573
|
const r = QL(t);
|
|
34574
34574
|
return fo(ej(r).concat(Hy(r)), G3);
|
|
@@ -34748,7 +34748,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34748
34748
|
}, hl = kM, Cg = Hb, uj = oe([
|
|
34749
34749
|
st("shell", !1),
|
|
34750
34750
|
At("makeItem"),
|
|
34751
|
-
st("setupItem",
|
|
34751
|
+
st("setupItem", le),
|
|
34752
34752
|
xu.field("listBehaviours", [xo])
|
|
34753
34753
|
]), YA = Ec({
|
|
34754
34754
|
name: "items",
|
|
@@ -34817,7 +34817,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34817
34817
|
behaviours: Mi(t.toolbarBehaviours, S.behaviours),
|
|
34818
34818
|
apis: {
|
|
34819
34819
|
setGroups: b,
|
|
34820
|
-
refresh:
|
|
34820
|
+
refresh: le
|
|
34821
34821
|
},
|
|
34822
34822
|
domModification: { attributes: { role: "group" } }
|
|
34823
34823
|
};
|
|
@@ -34831,7 +34831,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34831
34831
|
t.setGroups(r, l);
|
|
34832
34832
|
}
|
|
34833
34833
|
}
|
|
34834
|
-
}), XL =
|
|
34834
|
+
}), XL = le, J3 = ct, KA = oe([]);
|
|
34835
34835
|
var gj = /* @__PURE__ */ Object.freeze({
|
|
34836
34836
|
__proto__: null,
|
|
34837
34837
|
setup: XL,
|
|
@@ -34988,7 +34988,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34988
34988
|
mo([ti("placeholder")])
|
|
34989
34989
|
], (t) => H(t) ? t ? Q.some({ placeholder: Q.none() }) : Q.none() : Q.some(t))),
|
|
34990
34990
|
hu("fetch"),
|
|
34991
|
-
zs("onSetup", () =>
|
|
34991
|
+
zs("onSetup", () => le),
|
|
34992
34992
|
xr("context", "mode:design")
|
|
34993
34993
|
], yj = mo([
|
|
34994
34994
|
ta,
|
|
@@ -35076,7 +35076,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35076
35076
|
At("uid"),
|
|
35077
35077
|
At("onEscape"),
|
|
35078
35078
|
At("backstage"),
|
|
35079
|
-
st("onSetup",
|
|
35079
|
+
st("onSetup", le)
|
|
35080
35080
|
],
|
|
35081
35081
|
apis: {
|
|
35082
35082
|
focus: (t, r) => {
|
|
@@ -35121,7 +35121,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35121
35121
|
}, S = (xe, qe) => go(xe.element, "aria-hidden") !== "true", E = (xe, qe) => {
|
|
35122
35122
|
if (!S(xe)) {
|
|
35123
35123
|
const we = xe.element;
|
|
35124
|
-
Uo(we, "display"),
|
|
35124
|
+
Uo(we, "display"), ce(we, "aria-hidden"), Vn(xe, Km(), {
|
|
35125
35125
|
name: qe,
|
|
35126
35126
|
visible: !0
|
|
35127
35127
|
});
|
|
@@ -35162,8 +35162,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35162
35162
|
}, Tj = mo([
|
|
35163
35163
|
Id,
|
|
35164
35164
|
xy,
|
|
35165
|
-
zs("onShow",
|
|
35166
|
-
zs("onHide",
|
|
35165
|
+
zs("onShow", le),
|
|
35166
|
+
zs("onHide", le),
|
|
35167
35167
|
d1
|
|
35168
35168
|
]), _j = (t) => Vr("sidebar", Tj, t), Ej = (t) => {
|
|
35169
35169
|
const { sidebars: r } = t.ui.registry.getAll();
|
|
@@ -35197,7 +35197,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35197
35197
|
};
|
|
35198
35198
|
});
|
|
35199
35199
|
return We(l, (f) => {
|
|
35200
|
-
const b = In(
|
|
35200
|
+
const b = In(le);
|
|
35201
35201
|
return t.slot(f.name, {
|
|
35202
35202
|
dom: {
|
|
35203
35203
|
tag: "div",
|
|
@@ -35309,7 +35309,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35309
35309
|
xo.append(b, pu(E)), E.hasConfigured(qn) && r.focus && qn.focusIn(E), l.isBlocked() || r.onBlock(t), l.blockWith(() => xo.remove(b, E));
|
|
35310
35310
|
},
|
|
35311
35311
|
unblock: (t, r, l) => {
|
|
35312
|
-
|
|
35312
|
+
ce(t.element, "aria-busy"), l.isBlocked() && r.onUnblock(t), l.clear();
|
|
35313
35313
|
},
|
|
35314
35314
|
isBlocked: (t, r, l) => l.isBlocked()
|
|
35315
35315
|
}), Rj = [
|
|
@@ -35349,14 +35349,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35349
35349
|
}), a9 = (t) => Os.getCurrent(t).each((r) => bu(r.element, !0)), Nj = (t, r) => {
|
|
35350
35350
|
const l = "tabindex", f = `data-mce-${l}`;
|
|
35351
35351
|
Q.from(t.iframeElement).map(Ot.fromDom).each((b) => {
|
|
35352
|
-
r ? (as(b, l).each((x) => un(b, f, x)), un(b, l, -1)) : (
|
|
35353
|
-
un(b, l, x),
|
|
35352
|
+
r ? (as(b, l).each((x) => un(b, f, x)), un(b, l, -1)) : (ce(b, l), as(b, f).each((x) => {
|
|
35353
|
+
un(b, l, x), ce(b, f);
|
|
35354
35354
|
}));
|
|
35355
35355
|
});
|
|
35356
35356
|
}, Lj = (t, r, l, f) => {
|
|
35357
35357
|
const b = r.element;
|
|
35358
35358
|
if (Nj(t, l), l)
|
|
35359
|
-
Rh.block(r, Bj(f)), Uo(b, "display"),
|
|
35359
|
+
Rh.block(r, Bj(f)), Uo(b, "display"), ce(b, "aria-hidden"), t.hasFocus() && a9(r);
|
|
35360
35360
|
else {
|
|
35361
35361
|
const x = Os.getCurrent(r).exists((S) => uf(S.element));
|
|
35362
35362
|
Rh.unblock(r), an(b, "display", "none"), un(b, "aria-hidden", "true"), x && t.focus();
|
|
@@ -36053,7 +36053,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36053
36053
|
}));
|
|
36054
36054
|
}, gt = (xt) => {
|
|
36055
36055
|
const En = He.element;
|
|
36056
|
-
xt ? (mi(En, "tox-button--enabled"), un(En, "aria-pressed", !0)) : (Yr(En, "tox-button--enabled"),
|
|
36056
|
+
xt ? (mi(En, "tox-button--enabled"), un(En, "aria-pressed", !0)) : (Yr(En, "tox-button--enabled"), ce(En, "aria-pressed"));
|
|
36057
36057
|
}, mn = () => ql(He.element, "tox-button--enabled"), Sn = () => bu(He.element);
|
|
36058
36058
|
if (b)
|
|
36059
36059
|
return t.onAction({
|
|
@@ -36211,7 +36211,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36211
36211
|
an(r, "display", "none"), un(r, "aria-hidden", "true");
|
|
36212
36212
|
}, gD = (t) => {
|
|
36213
36213
|
const r = t.element;
|
|
36214
|
-
Uo(r, "display"),
|
|
36214
|
+
Uo(r, "display"), ce(r, "aria-hidden");
|
|
36215
36215
|
}, fX = (t) => ({ getContainer: oe(t) }), CS = (t, r, l) => {
|
|
36216
36216
|
vc.getSlot(t, r).each((f) => {
|
|
36217
36217
|
Gy.getPane(f).each((b) => {
|
|
@@ -36264,7 +36264,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36264
36264
|
let f = !1;
|
|
36265
36265
|
const b = (S) => {
|
|
36266
36266
|
hM(S, ".tox-statusbar").each((E) => {
|
|
36267
|
-
Nt(E, "display") === "none" && go(E, "aria-hidden") === "true" ? (Uo(E, "display"),
|
|
36267
|
+
Nt(E, "display") === "none" && go(E, "aria-hidden") === "true" ? (Uo(E, "display"), ce(E, "aria-hidden")) : (an(E, "display", "none"), un(E, "aria-hidden", "true"));
|
|
36268
36268
|
});
|
|
36269
36269
|
}, x = {
|
|
36270
36270
|
getSocket: (S) => hl.getPart(S, t, "socket"),
|
|
@@ -36335,7 +36335,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36335
36335
|
showMainView: (S) => {
|
|
36336
36336
|
f && x.toggleToolbarDrawer(S), hl.getPart(S, t, "editorContainer").each((E) => {
|
|
36337
36337
|
const D = E.element;
|
|
36338
|
-
b(D), Uo(D, "display"),
|
|
36338
|
+
b(D), Uo(D, "display"), ce(D, "aria-hidden");
|
|
36339
36339
|
});
|
|
36340
36340
|
}
|
|
36341
36341
|
};
|
|
@@ -36955,13 +36955,13 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36955
36955
|
const x = (He) => He.map((lt) => kn.getValue(lt)).getOr(""), S = uO(t, "NodeChange SwitchMode DisabledStateChange", (He) => {
|
|
36956
36956
|
const lt = He.getComponent();
|
|
36957
36957
|
b = Q.some(lt), l.updateInputValue(lt), zn.set(lt, !t.selection.isEditable() || pT(t));
|
|
36958
|
-
}), E = (He) => ({ getComponent: oe(He) }), D = In(
|
|
36958
|
+
}), E = (He) => ({ getComponent: oe(He) }), D = In(le), L = Pn("custom-number-input-events"), V = (He, lt, gt) => {
|
|
36959
36959
|
const mn = x(b), Sn = l.getNewValue(mn, He), xt = mn.length - `${Sn}`.length, En = b.map((Bn) => Bn.element.dom.selectionStart - xt), fn = b.map((Bn) => Bn.element.dom.selectionEnd - xt);
|
|
36960
36960
|
l.onAction(Sn, gt), b.each((Bn) => {
|
|
36961
36961
|
kn.setValue(Bn, Sn), lt && (En.each((cs) => Bn.element.dom.selectionStart = cs), fn.each((cs) => Bn.element.dom.selectionEnd = cs));
|
|
36962
36962
|
});
|
|
36963
36963
|
}, j = (He, lt) => V((gt, mn) => gt - mn, He, lt), ne = (He, lt) => V((gt, mn) => gt + mn, He, lt), ae = (He) => Ra(He.element).fold(Q.none, (lt) => (bu(lt), Q.some(!0))), pe = (He) => uf(He.element) ? (Sc(He.element).each((lt) => bu(lt)), Q.some(!0)) : Q.none(), xe = (He, lt, gt, mn) => {
|
|
36964
|
-
const Sn = In(
|
|
36964
|
+
const Sn = In(le), xt = r.shared.providers.translate(gt), En = Pn("altExecuting"), fn = uO(t, "NodeChange SwitchMode DisabledStateChange", (cs) => {
|
|
36965
36965
|
zn.set(cs.getComponent(), !t.selection.isEditable() || pT(t));
|
|
36966
36966
|
}), Bn = (cs) => {
|
|
36967
36967
|
zn.isDisabled(cs) || He(!0);
|
|
@@ -37328,7 +37328,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37328
37328
|
ue.highlightFirst(j), qn.focusIn(j);
|
|
37329
37329
|
});
|
|
37330
37330
|
}, x = (V) => {
|
|
37331
|
-
mP(t, Et, V, f, b, Ha.HighlightMenuAndItem).get(
|
|
37331
|
+
mP(t, Et, V, f, b, Ha.HighlightMenuAndItem).get(le);
|
|
37332
37332
|
}, S = (V) => (x(V), Q.some(!0)), E = (V) => {
|
|
37333
37333
|
const j = xh(V, t, "button");
|
|
37334
37334
|
return eg(j), Q.some(!0);
|
|
@@ -37467,7 +37467,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37467
37467
|
].concat(f.getOr([])))
|
|
37468
37468
|
};
|
|
37469
37469
|
}, eq = (t, r, l, f, b) => {
|
|
37470
|
-
const x = r.shared, S = In(
|
|
37470
|
+
const x = r.shared, S = In(le), E = {
|
|
37471
37471
|
toolbarButtonBehaviours: [],
|
|
37472
37472
|
getApi: iI,
|
|
37473
37473
|
onSetup: t.onSetup
|
|
@@ -37497,7 +37497,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37497
37497
|
});
|
|
37498
37498
|
}, RD = (t, r, l, f) => {
|
|
37499
37499
|
var b;
|
|
37500
|
-
const x = In(
|
|
37500
|
+
const x = In(le), S = DD(t.icon, t.text, t.tooltip, Q.none(), l, t.context, f);
|
|
37501
37501
|
return Ta.sketch({
|
|
37502
37502
|
dom: S.dom,
|
|
37503
37503
|
components: S.components,
|
|
@@ -37564,7 +37564,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37564
37564
|
const L = r.providers.translate(D);
|
|
37565
37565
|
un(E.element, "aria-label", L), f.set(D);
|
|
37566
37566
|
}
|
|
37567
|
-
}), x = In(
|
|
37567
|
+
}), x = In(le), S = {
|
|
37568
37568
|
getApi: b,
|
|
37569
37569
|
onSetup: t.onSetup
|
|
37570
37570
|
};
|
|
@@ -38130,14 +38130,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38130
38130
|
const { primary: f, ...b } = r.original, x = jt(GT({
|
|
38131
38131
|
...b,
|
|
38132
38132
|
type: "button",
|
|
38133
|
-
onAction:
|
|
38133
|
+
onAction: le
|
|
38134
38134
|
}));
|
|
38135
38135
|
return cI(x, l, [SI(t, r)]);
|
|
38136
38136
|
}, xq = (t, r, l) => {
|
|
38137
38137
|
const { primary: f, ...b } = r.original, x = jt(Ty({
|
|
38138
38138
|
...b,
|
|
38139
38139
|
type: "togglebutton",
|
|
38140
|
-
onAction:
|
|
38140
|
+
onAction: le
|
|
38141
38141
|
}));
|
|
38142
38142
|
return dI(x, l, [SI(t, r)]);
|
|
38143
38143
|
}, Sq = (t) => t.type === "contextformtogglebutton", kq = (t, r, l) => Sq(r) ? xq(t, r, l) : wq(t, r, l), s2 = (t, r, l) => {
|
|
@@ -38180,7 +38180,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38180
38180
|
}
|
|
38181
38181
|
})])
|
|
38182
38182
|
}), Tq = (t, r, l) => {
|
|
38183
|
-
const f = In(
|
|
38183
|
+
const f = In(le), b = t.label.map((S) => Es.parts.label({
|
|
38184
38184
|
dom: {
|
|
38185
38185
|
tag: "label",
|
|
38186
38186
|
classes: ["tox-label"]
|
|
@@ -38221,7 +38221,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38221
38221
|
});
|
|
38222
38222
|
return kI(b, x, r);
|
|
38223
38223
|
}, CI = (t, r, l) => {
|
|
38224
|
-
const f = In(
|
|
38224
|
+
const f = In(le), b = t.label.map((D) => Es.parts.label({
|
|
38225
38225
|
dom: {
|
|
38226
38226
|
tag: "label",
|
|
38227
38227
|
classes: ["tox-label"]
|
|
@@ -38647,7 +38647,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38647
38647
|
}), t.on("dragend drop", () => {
|
|
38648
38648
|
xt = !1;
|
|
38649
38649
|
}), t.on("NodeChange", (fn) => {
|
|
38650
|
-
Yl(V.element).fold(En.throttle,
|
|
38650
|
+
Yl(V.element).fold(En.throttle, le);
|
|
38651
38651
|
});
|
|
38652
38652
|
});
|
|
38653
38653
|
}, Rq = (t) => {
|
|
@@ -39458,7 +39458,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39458
39458
|
un(f, r.leftAttr, l.left + "px"), un(f, r.topAttr, l.top + "px");
|
|
39459
39459
|
}, eQ = (t, r) => {
|
|
39460
39460
|
const l = t.element;
|
|
39461
|
-
|
|
39461
|
+
ce(l, r.leftAttr), ce(l, r.topAttr);
|
|
39462
39462
|
}, bG = (t, r, l, f) => pG(t, r).fold(() => l, (b) => xO(b.left + f.left, b.top + f.top)), OG = (t, r, l, f, b, x) => {
|
|
39463
39463
|
const S = bG(t, r, l, f), E = r.mustSnap ? nQ(t, r, S, b, x) : yG(t, r, S, b, x), D = N_(S, b, x);
|
|
39464
39464
|
return SO(t, r, D), E.fold(() => ({
|
|
@@ -39516,7 +39516,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39516
39516
|
});
|
|
39517
39517
|
const eR = "data-initial-z-index", SG = (t) => {
|
|
39518
39518
|
oi(t.element).filter(Fo).each((r) => {
|
|
39519
|
-
as(r, eR).fold(() => Uo(r, "z-index"), (l) => an(r, "z-index", l)),
|
|
39519
|
+
as(r, eR).fold(() => Uo(r, "z-index"), (l) => an(r, "z-index", l)), ce(r, eR);
|
|
39520
39520
|
});
|
|
39521
39521
|
}, kG = (t) => {
|
|
39522
39522
|
oi(t.element).filter(Fo).each((r) => {
|
|
@@ -39554,9 +39554,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39554
39554
|
st("useFixed", ct),
|
|
39555
39555
|
At("blockerClass"),
|
|
39556
39556
|
st("getTarget", Et),
|
|
39557
|
-
st("onDrag",
|
|
39557
|
+
st("onDrag", le),
|
|
39558
39558
|
st("repositionTarget", !0),
|
|
39559
|
-
st("onDrop",
|
|
39559
|
+
st("onDrop", le),
|
|
39560
39560
|
zs("getBounds", Ui),
|
|
39561
39561
|
rQ
|
|
39562
39562
|
], TG = (t) => $i(Zs(t, "left"), Zs(t, "top"), Zs(t, "position"), (r, l, f) => (f === "fixed" ? xO : I_)(parseInt(r, 10), parseInt(l, 10))).getOrThunk(() => {
|
|
@@ -39673,7 +39673,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39673
39673
|
S.stop();
|
|
39674
39674
|
const E = () => b(x), D = {
|
|
39675
39675
|
drop: E,
|
|
39676
|
-
delayDrop:
|
|
39676
|
+
delayDrop: le,
|
|
39677
39677
|
forceDrop: E,
|
|
39678
39678
|
move: (j) => {
|
|
39679
39679
|
tR(x, t, r, lQ, j);
|
|
@@ -39846,7 +39846,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39846
39846
|
});
|
|
39847
39847
|
un(t, "aria-describedby", l);
|
|
39848
39848
|
}, QG = (t) => {
|
|
39849
|
-
|
|
39849
|
+
ce(t, "aria-describedby");
|
|
39850
39850
|
}, FG = (t) => t.nodeName === "BR" || !!t.getAttribute("data-mce-bogus") || t.getAttribute("data-mce-type") === "bookmark", ZG = (t, r, l) => {
|
|
39851
39851
|
var f;
|
|
39852
39852
|
const b = (f = r.delimiter) !== null && f !== void 0 ? f : "›", x = (L, V, j) => Ta.sketch({
|
|
@@ -40451,7 +40451,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40451
40451
|
behaviours: Yt([
|
|
40452
40452
|
po.config({}),
|
|
40453
40453
|
Po("dialog-blocker-events", [ng(dh(), () => {
|
|
40454
|
-
Rh.isBlocked(pe) ?
|
|
40454
|
+
Rh.isBlocked(pe) ? le() : qn.focusIn(pe);
|
|
40455
40455
|
})])
|
|
40456
40456
|
])
|
|
40457
40457
|
});
|
|
@@ -40638,7 +40638,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40638
40638
|
"presentation",
|
|
40639
40639
|
"document"
|
|
40640
40640
|
]),
|
|
40641
|
-
zs("onInit",
|
|
40641
|
+
zs("onInit", le),
|
|
40642
40642
|
wa("stretched", !1)
|
|
40643
40643
|
], fY = mo(wQ), mY = Af.concat([
|
|
40644
40644
|
wa("border", !1),
|
|
@@ -40787,12 +40787,12 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40787
40787
|
xr("size", "normal"),
|
|
40788
40788
|
I("buttons", [], y),
|
|
40789
40789
|
st("initialData", {}),
|
|
40790
|
-
zs("onAction",
|
|
40791
|
-
zs("onChange",
|
|
40792
|
-
zs("onSubmit",
|
|
40793
|
-
zs("onClose",
|
|
40794
|
-
zs("onCancel",
|
|
40795
|
-
zs("onTabChange",
|
|
40790
|
+
zs("onAction", le),
|
|
40791
|
+
zs("onChange", le),
|
|
40792
|
+
zs("onSubmit", le),
|
|
40793
|
+
zs("onClose", le),
|
|
40794
|
+
zs("onCancel", le),
|
|
40795
|
+
zs("onTabChange", le)
|
|
40796
40796
|
]), $ = (t) => Vr("dialog", C, t), B = mo([
|
|
40797
40797
|
ya("type", [
|
|
40798
40798
|
"cancel",
|
|
@@ -40805,10 +40805,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40805
40805
|
Wg("height"),
|
|
40806
40806
|
Wg("width"),
|
|
40807
40807
|
jg("buttons", B),
|
|
40808
|
-
zs("onAction",
|
|
40809
|
-
zs("onCancel",
|
|
40810
|
-
zs("onClose",
|
|
40811
|
-
zs("onMessage",
|
|
40808
|
+
zs("onAction", le),
|
|
40809
|
+
zs("onCancel", le),
|
|
40810
|
+
zs("onClose", le),
|
|
40811
|
+
zs("onMessage", le)
|
|
40812
40812
|
]), X = (t) => Vr("dialog", W, t), G = (t) => T(t) ? [t].concat(Se(Ka(t), G)) : R(t) ? Se(t, G) : [], re = (t) => w(t.type) && w(t.name), ge = {
|
|
40813
40813
|
checkbox: oY,
|
|
40814
40814
|
colorinput: iY,
|
|
@@ -41019,7 +41019,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41019
41019
|
return {
|
|
41020
41020
|
action: (f) => {
|
|
41021
41021
|
const b = f.getSystem().getByUid(t.uid).getOrDie(), x = ue.isHighlighted(b, f);
|
|
41022
|
-
(x && t.clickToDismiss ? r : x ?
|
|
41022
|
+
(x && t.clickToDismiss ? r : x ? le : l)(b, f);
|
|
41023
41023
|
},
|
|
41024
41024
|
domModification: { classes: [t.markers.tabClass] }
|
|
41025
41025
|
};
|
|
@@ -41453,7 +41453,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41453
41453
|
po.config({}),
|
|
41454
41454
|
Po("dialog-events", t.dialogEvents.concat([
|
|
41455
41455
|
ng(dh(), (x, S) => {
|
|
41456
|
-
Rh.isBlocked(x) ?
|
|
41456
|
+
Rh.isBlocked(x) ? le() : qn.focusIn(x);
|
|
41457
41457
|
}),
|
|
41458
41458
|
$t(X1(), (x, S) => {
|
|
41459
41459
|
x.getSystem().broadcastOn([cS], { newFocus: S.event.newFocus });
|
|
@@ -42335,7 +42335,7 @@ function lhe() {
|
|
|
42335
42335
|
const v = typeof g;
|
|
42336
42336
|
return g === null ? "null" : v === "object" && Array.isArray(g) ? "array" : v === "object" && o(g, String, (k, _) => _.isPrototypeOf(k)) ? "string" : v;
|
|
42337
42337
|
}, c = (g) => (v) => i(v) === g, h = (g) => (v) => typeof v === g, m = (g) => (v) => g === v, O = c("string"), w = c("object"), T = c("array"), P = m(null), R = h("boolean"), F = m(void 0), H = (g) => g == null, K = (g) => !H(g), he = h("function"), Me = h("number"), ye = () => {
|
|
42338
|
-
}, Te = (g, v) => (...k) => g(v.apply(null, k)), et = (g, v) => (k) => g(v(k)),
|
|
42338
|
+
}, Te = (g, v) => (...k) => g(v.apply(null, k)), et = (g, v) => (k) => g(v(k)), le = (g) => () => g, je = (g) => g, Xt = (g, v) => g === v;
|
|
42339
42339
|
function it(g, ...v) {
|
|
42340
42340
|
return (...k) => {
|
|
42341
42341
|
const _ = v.concat(k);
|
|
@@ -42344,7 +42344,7 @@ function lhe() {
|
|
|
42344
42344
|
}
|
|
42345
42345
|
const oe = (g) => (v) => !g(v), Et = (g) => () => {
|
|
42346
42346
|
throw new Error(g);
|
|
42347
|
-
}, rn = (g) => g(), dn =
|
|
42347
|
+
}, rn = (g) => g(), dn = le(!1), Xe = le(!0);
|
|
42348
42348
|
class ve {
|
|
42349
42349
|
constructor(v, k) {
|
|
42350
42350
|
this.tag = v, this.value = k;
|
|
@@ -42793,12 +42793,12 @@ function lhe() {
|
|
|
42793
42793
|
if (v == null)
|
|
42794
42794
|
throw new Error("Body is not available yet");
|
|
42795
42795
|
return Rt.fromDom(v);
|
|
42796
|
-
},
|
|
42796
|
+
}, ce = (g, v, k) => Ke(Ss(g, k), v), De = (g, v) => Ke(So(g), v), ot = (g, v) => {
|
|
42797
42797
|
let k = [];
|
|
42798
42798
|
return Be(So(g), (_) => {
|
|
42799
42799
|
v(_) && (k = k.concat([_])), k = k.concat(ot(_, v));
|
|
42800
42800
|
}), k;
|
|
42801
|
-
}, $n = (g, v, k) =>
|
|
42801
|
+
}, $n = (g, v, k) => ce(g, (_) => Ot(_, v), k), an = (g, v) => De(g, (k) => Ot(k, v)), ws = (g, v) => Le(v, g);
|
|
42802
42802
|
var si = (g, v, k, _, N) => g(k, _) ? ve.some(k) : he(N) && N(k) ? ve.none() : v(k, _, N);
|
|
42803
42803
|
const Nt = (g, v, k) => {
|
|
42804
42804
|
let _ = g.dom;
|
|
@@ -42867,7 +42867,7 @@ function lhe() {
|
|
|
42867
42867
|
}, Xr = (g, v) => {
|
|
42868
42868
|
const k = g.dom, _ = v.dom;
|
|
42869
42869
|
Pt(k) && Pt(_) && (_.style.cssText = k.style.cssText);
|
|
42870
|
-
}, hi = (g, v, k = 0) => Pe(g, v).map((_) => parseInt(_, 10)).getOr(k), ia = (g, v) => hi(g, v, 1), Zr = (g) => Ls("col")(g) ? hi(g, "span", 1) > 1 : ia(g, "colspan") > 1, Hi = (g) => ia(g, "rowspan") > 1, Vs = (g, v) => parseInt(ri(g, v), 10), Lc =
|
|
42870
|
+
}, hi = (g, v, k = 0) => Pe(g, v).map((_) => parseInt(_, 10)).getOr(k), ia = (g, v) => hi(g, v, 1), Zr = (g) => Ls("col")(g) ? hi(g, "span", 1) > 1 : ia(g, "colspan") > 1, Hi = (g) => ia(g, "rowspan") > 1, Vs = (g, v) => parseInt(ri(g, v), 10), Lc = le(10), Hf = le(10), Vu = (g, v) => Vh(g, v, Xe), Vh = (g, v, k) => wo(So(g), (_) => Ot(_, v) ? k(_) ? [_] : [] : Vh(_, v, k)), zh = (g, v, k = dn) => {
|
|
42871
42871
|
if (k(v))
|
|
42872
42872
|
return ve.none();
|
|
42873
42873
|
if (io(g, Ts(v)))
|
|
@@ -42877,7 +42877,7 @@ function lhe() {
|
|
|
42877
42877
|
}, Jd = (g, v) => zh([
|
|
42878
42878
|
"td",
|
|
42879
42879
|
"th"
|
|
42880
|
-
], g, v), eh = (g) => Vu(g, "th,td"), hc = (g) => Ot(g, "colgroup") ? an(g, "col") : wo(ou(g), (v) => an(v, "col")), el = (g, v) => yi(g, "table", v), Yp = (g) => Vu(g, "tr"), ou = (g) => el(g).fold(
|
|
42880
|
+
], g, v), eh = (g) => Vu(g, "th,td"), hc = (g) => Ot(g, "colgroup") ? an(g, "col") : wo(ou(g), (v) => an(v, "col")), el = (g, v) => yi(g, "table", v), Yp = (g) => Vu(g, "tr"), ou = (g) => el(g).fold(le([]), (v) => an(v, "colgroup")), Qm = (g, v) => Ft(g, (k) => {
|
|
42881
42881
|
if (Ts(k) === "colgroup") {
|
|
42882
42882
|
const _ = Ft(hc(k), (N) => {
|
|
42883
42883
|
const z = hi(N, "span", 1);
|
|
@@ -42906,15 +42906,15 @@ function lhe() {
|
|
|
42906
42906
|
}, Zm = (g, v, k, _) => {
|
|
42907
42907
|
const N = g.isiOS() && /ipad/i.test(k) === !0, z = g.isiOS() && !N, J = g.isiOS() || g.isAndroid(), ie = J || _("(pointer:coarse)"), ue = N || !z && J && _("(min-device-width:768px)"), Ie = z || J && !ue, nt = v.isSafari() && g.isiOS() && /safari/i.test(k) === !1, Vt = !Ie && !ue && !nt;
|
|
42908
42908
|
return {
|
|
42909
|
-
isiPad:
|
|
42910
|
-
isiPhone:
|
|
42911
|
-
isTablet:
|
|
42912
|
-
isPhone:
|
|
42913
|
-
isTouch:
|
|
42909
|
+
isiPad: le(N),
|
|
42910
|
+
isiPhone: le(z),
|
|
42911
|
+
isTablet: le(ue),
|
|
42912
|
+
isPhone: le(Ie),
|
|
42913
|
+
isTouch: le(ie),
|
|
42914
42914
|
isAndroid: g.isAndroid,
|
|
42915
42915
|
isiOS: g.isiOS,
|
|
42916
|
-
isWebView:
|
|
42917
|
-
isDesktop:
|
|
42916
|
+
isWebView: le(nt),
|
|
42917
|
+
isDesktop: le(Vt)
|
|
42918
42918
|
};
|
|
42919
42919
|
}, Ig = (g, v) => {
|
|
42920
42920
|
for (let k = 0; k < g.length; k++) {
|
|
@@ -43055,8 +43055,8 @@ function lhe() {
|
|
|
43055
43055
|
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/]
|
|
43056
43056
|
}
|
|
43057
43057
|
], oh = {
|
|
43058
|
-
browsers:
|
|
43059
|
-
oses:
|
|
43058
|
+
browsers: le(zu),
|
|
43059
|
+
oses: le(Fg)
|
|
43060
43060
|
}, tl = "Edge", Vm = "Chromium", zm = "IE", pd = "Opera", bd = "Firefox", Uf = "Safari", fc = () => Wf({
|
|
43061
43061
|
current: void 0,
|
|
43062
43062
|
version: Ol.unknown()
|
|
@@ -43236,7 +43236,7 @@ function lhe() {
|
|
|
43236
43236
|
return Y(_, v).orThunk(() => ve.from(_[0]).orThunk(k)).map((J) => J.element);
|
|
43237
43237
|
}, M = (g) => {
|
|
43238
43238
|
const v = g.grid, k = Jt(v.rows, je), _ = Jt(v.columns, je);
|
|
43239
|
-
return Ft(k, (N) => jm(() => wo(_, (ue) => ts.getAt(g, N, ue).filter((Ie) => Ie.row === N).fold(
|
|
43239
|
+
return Ft(k, (N) => jm(() => wo(_, (ue) => ts.getAt(g, N, ue).filter((Ie) => Ie.row === N).fold(le([]), (Ie) => [Ie])), (ue) => ue.rowspan === 1, () => ts.getAt(g, N, 0)));
|
|
43240
43240
|
}, U = (g, v) => {
|
|
43241
43241
|
if (v < 0 || v >= g.length - 1)
|
|
43242
43242
|
return ve.none();
|
|
@@ -43385,7 +43385,7 @@ function lhe() {
|
|
|
43385
43385
|
"empty"
|
|
43386
43386
|
])), At = (g, v, k) => {
|
|
43387
43387
|
Io(g, "width", v + k);
|
|
43388
|
-
}, Ds = (g) => Wl(g) + "px", u0 = (g) => zt(g) + "px", Wi = (g) => Yf(g, Wl, rh) + "%", ya = (g) => Uu(g).exists((v) => Jh.test(v)), hu = (g) => Uu(g).exists((v) => pn.test(v)), H1 = (g) => Uu(g).isNone(), tf =
|
|
43388
|
+
}, Ds = (g) => Wl(g) + "px", u0 = (g) => zt(g) + "px", Wi = (g) => Yf(g, Wl, rh) + "%", ya = (g) => Uu(g).exists((v) => Jh.test(v)), hu = (g) => Uu(g).exists((v) => pn.test(v)), H1 = (g) => Uu(g).isNone(), tf = le(Jh), U1 = Ls("col"), gc = (g) => Uu(g).getOrThunk(() => Yi(g) + "px"), $s = (g) => Gi(g).getOrThunk(() => As(g) + "px"), xd = (g) => Ft(ts.justColumns(g), (v) => ve.from(v.element)), Wg = (g) => {
|
|
43389
43389
|
const v = Qc().browser, k = v.isChromium() || v.isFirefox();
|
|
43390
43390
|
return U1(g) ? k : !0;
|
|
43391
43391
|
}, ti = (g, v, k, _, N, z) => g.filter(_).fold(() => z(U(k, v)), (J) => N(J)), d0 = (g, v, k, _) => {
|
|
@@ -43402,13 +43402,13 @@ function lhe() {
|
|
|
43402
43402
|
const N = M(g), z = Ft(g.all, (ie) => ve.some(ie.element)), J = [ve.some(il.edge(v))].concat(Ft(il.positions(N, v), (ie) => ie.map((ue) => ue.y)));
|
|
43403
43403
|
return Ft(z, (ie, ue) => ti(ie, ue, J, Xe, k, _));
|
|
43404
43404
|
}, _r = (g, v) => st(g, v, As, (k) => k.getOrThunk(Hf)), W1 = (g, v) => st(g, v, $s, ah), xr = (g, v) => () => go(g) ? v(g) : parseFloat(Ba(g, "width").getOr("0")), al = (g) => {
|
|
43405
|
-
const v = xr(g, Wl), k =
|
|
43405
|
+
const v = xr(g, Wl), k = le(0);
|
|
43406
43406
|
return {
|
|
43407
43407
|
width: v,
|
|
43408
43408
|
pixelWidth: v,
|
|
43409
43409
|
getWidths: (N, z) => Ki(N, g, z),
|
|
43410
43410
|
getCellDelta: k,
|
|
43411
|
-
singleColumnWidth:
|
|
43411
|
+
singleColumnWidth: le([0]),
|
|
43412
43412
|
minCellWidth: k,
|
|
43413
43413
|
setElementWidth: ye,
|
|
43414
43414
|
adjustTableWidth: ye,
|
|
@@ -43688,7 +43688,7 @@ function lhe() {
|
|
|
43688
43688
|
return ba(as(), k);
|
|
43689
43689
|
const _ = R4(g);
|
|
43690
43690
|
return K(_) ? ve.some(Rt.fromDom(_)) : ve.none();
|
|
43691
|
-
}, m0 = (g) => g.inline && XO(g).isSome(), Yu = La("ui_mode"), of = (g) => !m0(g) && Yu(g) === "split", nm = (g) => yi(g, "[contenteditable]"), g0 = (g, v = !1) => go(g) ? g.dom.isContentEditable : nm(g).fold(
|
|
43691
|
+
}, m0 = (g) => g.inline && XO(g).isSome(), Yu = La("ui_mode"), of = (g) => !m0(g) && Yu(g) === "split", nm = (g) => yi(g, "[contenteditable]"), g0 = (g, v = !1) => go(g) ? g.dom.isContentEditable : nm(g).fold(le(v), (k) => X1(k) === "true"), X1 = (g) => g.dom.contentEditable, Km = (g) => Rt.fromDom(g.getBody()), ep = (g) => (v) => Ut(v, Km(g)), Jm = (g) => {
|
|
43692
43692
|
Ce(g, "data-mce-style");
|
|
43693
43693
|
const v = (k) => Ce(k, "data-mce-style");
|
|
43694
43694
|
Be(eh(g), v), Be(hc(g), v), Be(Yp(g), v);
|
|
@@ -43786,29 +43786,29 @@ function lhe() {
|
|
|
43786
43786
|
], nt);
|
|
43787
43787
|
}, ue = (Ie) => er(Ie) ? Pe(Ie, "lang") : ve.none();
|
|
43788
43788
|
return {
|
|
43789
|
-
up:
|
|
43789
|
+
up: le({
|
|
43790
43790
|
selector: Br,
|
|
43791
43791
|
closest: yi,
|
|
43792
43792
|
predicate: Nt,
|
|
43793
43793
|
all: Ss
|
|
43794
43794
|
}),
|
|
43795
|
-
down:
|
|
43795
|
+
down: le({
|
|
43796
43796
|
selector: ws,
|
|
43797
43797
|
predicate: ot
|
|
43798
43798
|
}),
|
|
43799
|
-
styles:
|
|
43799
|
+
styles: le({
|
|
43800
43800
|
get: ri,
|
|
43801
43801
|
getRaw: Ba,
|
|
43802
43802
|
set: Io,
|
|
43803
43803
|
remove: yr
|
|
43804
43804
|
}),
|
|
43805
|
-
attrs:
|
|
43805
|
+
attrs: le({
|
|
43806
43806
|
get: vr,
|
|
43807
43807
|
set: Ws,
|
|
43808
43808
|
remove: Ce,
|
|
43809
43809
|
copyTo: J
|
|
43810
43810
|
}),
|
|
43811
|
-
insert:
|
|
43811
|
+
insert: le({
|
|
43812
43812
|
before: Oi,
|
|
43813
43813
|
after: vi,
|
|
43814
43814
|
afterAll: eu,
|
|
@@ -43817,21 +43817,21 @@ function lhe() {
|
|
|
43817
43817
|
prepend: Vi,
|
|
43818
43818
|
wrap: pl
|
|
43819
43819
|
}),
|
|
43820
|
-
remove:
|
|
43820
|
+
remove: le({
|
|
43821
43821
|
unwrap: tu,
|
|
43822
43822
|
remove: hr
|
|
43823
43823
|
}),
|
|
43824
|
-
create:
|
|
43824
|
+
create: le({
|
|
43825
43825
|
nu: Rt.fromTag,
|
|
43826
43826
|
clone: g,
|
|
43827
43827
|
text: Rt.fromText
|
|
43828
43828
|
}),
|
|
43829
|
-
query:
|
|
43829
|
+
query: le({
|
|
43830
43830
|
comparePosition: z,
|
|
43831
43831
|
prevSibling: Da,
|
|
43832
43832
|
nextSibling: Zi
|
|
43833
43833
|
}),
|
|
43834
|
-
property:
|
|
43834
|
+
property: le({
|
|
43835
43835
|
children: So,
|
|
43836
43836
|
name: Ts,
|
|
43837
43837
|
parent: ds,
|
|
@@ -43947,7 +43947,7 @@ function lhe() {
|
|
|
43947
43947
|
selection: xa(g),
|
|
43948
43948
|
clipboard: k,
|
|
43949
43949
|
generators: _
|
|
43950
|
-
}), P2 = (g) => el(g).bind((v) => Yt(v, sp.firstSelectedSelector)).fold(
|
|
43950
|
+
}), P2 = (g) => el(g).bind((v) => Yt(v, sp.firstSelectedSelector)).fold(le(g), (v) => v[0]), ql = (g) => (v, k) => {
|
|
43951
43951
|
const _ = Ts(v), N = _ === "col" || _ === "colgroup" ? P2(v) : v;
|
|
43952
43952
|
return yi(N, g, k);
|
|
43953
43953
|
}, y0 = ql("th,td,caption"), Ku = ql("th,td"), sm = (g) => ok(g.model.table.getSelectedCells()), iM = (g) => Ke(sm(g), (v) => Ot(v, sp.selectedSelector)), aM = (g) => el(g[0]).map((v) => {
|
|
@@ -44009,7 +44009,7 @@ function lhe() {
|
|
|
44009
44009
|
const N = _.value / 2;
|
|
44010
44010
|
At(g, N, _.unit), At(v, N, _.unit);
|
|
44011
44011
|
});
|
|
44012
|
-
}, lf = (g) => Ft(g,
|
|
44012
|
+
}, lf = (g) => Ft(g, le(0)), sg = (g, v, k, _, N) => N(g.slice(0, v)).concat(_).concat(N(g.slice(k))), ob = (g) => (v, k, _, N) => {
|
|
44013
44013
|
if (g(_)) {
|
|
44014
44014
|
const z = Math.max(N, v[k] - Math.abs(_)), J = Math.abs(z - v[k]);
|
|
44015
44015
|
return _ >= 0 ? J : -J;
|
|
@@ -44083,7 +44083,7 @@ function lhe() {
|
|
|
44083
44083
|
return lf(J);
|
|
44084
44084
|
{
|
|
44085
44085
|
const bn = Ie / J.length;
|
|
44086
|
-
return Ft(J,
|
|
44086
|
+
return Ft(J, le(bn));
|
|
44087
44087
|
}
|
|
44088
44088
|
},
|
|
44089
44089
|
calcRedestributedWidths: (J, ie, ue, Ie) => ({
|
|
@@ -44314,7 +44314,7 @@ function lhe() {
|
|
|
44314
44314
|
}
|
|
44315
44315
|
return g;
|
|
44316
44316
|
}, cp = (g) => {
|
|
44317
|
-
const v = (z) => z(g), k =
|
|
44317
|
+
const v = (z) => z(g), k = le(g), _ = () => N, N = {
|
|
44318
44318
|
tag: !0,
|
|
44319
44319
|
inner: g,
|
|
44320
44320
|
fold: (z, J) => J(g),
|
|
@@ -44584,7 +44584,7 @@ Required: ` + v.join(", "));
|
|
|
44584
44584
|
]
|
|
44585
44585
|
}
|
|
44586
44586
|
]) }, e5 = (g, v) => g.length === 0 ? dm.none() : g.length === 1 ? dm.only(0) : v === 0 ? dm.left(0, 1) : v === g.length - 1 ? dm.right(v - 1, v) : v > 0 && v < g.length - 1 ? dm.middle(v - 1, v, v + 1) : dm.none(), t5 = (g, v, k, _, N) => {
|
|
44587
|
-
const z = g.slice(0), J = e5(g, v), ie =
|
|
44587
|
+
const z = g.slice(0), J = e5(g, v), ie = le(Ft(z, le(0))), ue = (bn) => _.singleColumnWidth(z[bn], k), Ie = (bn, Kt) => N.calcLeftEdgeDeltas(z, bn, Kt, k, _.minCellWidth(), _.isRelative), nt = (bn, Kt, nn) => N.calcMiddleDeltas(z, bn, Kt, nn, k, _.minCellWidth(), _.isRelative), Vt = (bn, Kt) => N.calcRightEdgeDeltas(z, bn, Kt, k, _.minCellWidth(), _.isRelative);
|
|
44588
44588
|
return J.fold(ie, ue, Ie, nt, Vt);
|
|
44589
44589
|
}, Tk = (g, v, k) => {
|
|
44590
44590
|
let _ = 0;
|
|
@@ -44699,7 +44699,7 @@ Required: ` + v.join(", "));
|
|
|
44699
44699
|
return It(z, (Ie) => Ie !== J && io(ie, Ie)) ? ve.none() : ve.from(J);
|
|
44700
44700
|
}
|
|
44701
44701
|
};
|
|
44702
|
-
return yr(_[0], "width"), N().fold(() => Ce(_[0], "scope"), (z) => Ws(_[0], "scope", z + "group")),
|
|
44702
|
+
return yr(_[0], "width"), N().fold(() => Ce(_[0], "scope"), (z) => Ws(_[0], "scope", z + "group")), le(_[0]);
|
|
44703
44703
|
}
|
|
44704
44704
|
})
|
|
44705
44705
|
}, St = [
|
|
@@ -45035,24 +45035,24 @@ Required: ` + v.join(", "));
|
|
|
45035
45035
|
const _ = k / v;
|
|
45036
45036
|
return Ft(g, (N) => Ri.from(N).fold(() => N, (J) => J * _ + "px", (J) => J / 100 * k + "px"));
|
|
45037
45037
|
}, Yl = (g, v) => {
|
|
45038
|
-
const k = g.fold(() =>
|
|
45038
|
+
const k = g.fold(() => le(""), (_) => {
|
|
45039
45039
|
const N = _ / v;
|
|
45040
|
-
return
|
|
45040
|
+
return le(N + "px");
|
|
45041
45041
|
}, () => {
|
|
45042
45042
|
const _ = 100 / v;
|
|
45043
|
-
return
|
|
45043
|
+
return le(_ + "%");
|
|
45044
45044
|
});
|
|
45045
45045
|
return Jt(v, k);
|
|
45046
45046
|
}, iw = (g, v, k) => g.fold(() => v, (_) => mm(v, k, _), (_) => uf(v, k)), Ov = (g, v, k) => {
|
|
45047
45047
|
const _ = Ri.from(k), N = Xo(g, (z) => z === "0px") ? Yl(_, g.length) : iw(_, g, v);
|
|
45048
45048
|
return p5(N);
|
|
45049
|
-
}, aw = (g, v) => g.length === 0 ? v : qt(g, (k, _) => Ri.from(_).fold(
|
|
45049
|
+
}, aw = (g, v) => g.length === 0 ? v : qt(g, (k, _) => Ri.from(_).fold(le(0), je, je) + k, 0), lw = (g, v) => {
|
|
45050
45050
|
const k = Math.floor(g);
|
|
45051
45051
|
return {
|
|
45052
45052
|
value: k + v,
|
|
45053
45053
|
remainder: g - k
|
|
45054
45054
|
};
|
|
45055
|
-
}, vv = (g, v) => Ri.from(g).fold(
|
|
45055
|
+
}, vv = (g, v) => Ri.from(g).fold(le(g), (k) => k + v + "px", (k) => k + v + "%"), p5 = (g) => {
|
|
45056
45056
|
if (g.length === 0)
|
|
45057
45057
|
return g;
|
|
45058
45058
|
const v = qt(g, (_, N) => {
|
|
@@ -45088,7 +45088,7 @@ Required: ` + v.join(", "));
|
|
|
45088
45088
|
}), Be(v, (_, N) => {
|
|
45089
45089
|
Io(_.element, "height", g[N]);
|
|
45090
45090
|
});
|
|
45091
|
-
}, y5 = (g) => cw(g).fold(
|
|
45091
|
+
}, y5 = (g) => cw(g).fold(le("px"), le("px"), le("%")), uw = (g, v, k) => {
|
|
45092
45092
|
const _ = ts.fromTable(g), N = _.all, z = ts.justCells(_), J = ts.justColumns(_);
|
|
45093
45093
|
v.each((ie) => {
|
|
45094
45094
|
const ue = y5(ie), Ie = Wl(g), nt = jg(_, g), Vt = Ov(nt, Ie, ie);
|
|
@@ -45387,7 +45387,7 @@ Required: ` + v.join(", "));
|
|
|
45387
45387
|
}
|
|
45388
45388
|
]), xw = (g, v, k) => v(Rt.fromDom(k.startContainer), k.startOffset, Rt.fromDom(k.endContainer), k.endOffset), Sw = (g, v) => v.match({
|
|
45389
45389
|
domRange: (k) => ({
|
|
45390
|
-
ltr:
|
|
45390
|
+
ltr: le(k),
|
|
45391
45391
|
rtl: ve.none
|
|
45392
45392
|
}),
|
|
45393
45393
|
relative: (k, _) => ({
|
|
@@ -45534,7 +45534,7 @@ Required: ` + v.join(", "));
|
|
|
45534
45534
|
}, Ad = {
|
|
45535
45535
|
tryUp: it(bC, Lb),
|
|
45536
45536
|
tryDown: it(bC, Vv),
|
|
45537
|
-
getJumpSize:
|
|
45537
|
+
getJumpSize: le(bm)
|
|
45538
45538
|
}, OC = 20, zv = (g, v, k) => g.getSelection().bind((_) => Rb(v, _.finish, _.foffset, k).fold(() => ve.some(Qa(_.finish, _.foffset)), (N) => {
|
|
45539
45539
|
const z = g.fromSitus(N), J = L0.verify(g, _.finish, _.foffset, z.finish, z.foffset, k.failure, v);
|
|
45540
45540
|
return I5(J);
|
|
@@ -46016,7 +46016,7 @@ Required: ` + v.join(", "));
|
|
|
46016
46016
|
}), g.on("PreInit", () => {
|
|
46017
46017
|
g.serializer.addTempAttr(sp.firstSelected), g.serializer.addTempAttr(sp.lastSelected);
|
|
46018
46018
|
}), {
|
|
46019
|
-
getSelectedCells: () => Yv(k.get(),
|
|
46019
|
+
getSelectedCells: () => Yv(k.get(), le([]), (ue) => Ft(ue, (Ie) => Ie.dom), (ue) => [ue.dom]),
|
|
46020
46020
|
clearSelectedCells: (ue) => z.clear(Rt.fromDom(ue))
|
|
46021
46021
|
};
|
|
46022
46022
|
}, _c = (g) => {
|
|
@@ -46204,7 +46204,7 @@ Required: ` + v.join(", "));
|
|
|
46204
46204
|
width: "100%",
|
|
46205
46205
|
height: "100%"
|
|
46206
46206
|
}), vm(k, ny("blocker")), vm(k, v.layerClass), {
|
|
46207
|
-
element:
|
|
46207
|
+
element: le(k),
|
|
46208
46208
|
destroy: () => {
|
|
46209
46209
|
hr(k);
|
|
46210
46210
|
}
|
|
@@ -46453,34 +46453,34 @@ Required: ` + v.join(", "));
|
|
|
46453
46453
|
only: (g, v) => {
|
|
46454
46454
|
const k = Pl(g) ? Jn(g) : g;
|
|
46455
46455
|
return {
|
|
46456
|
-
parent:
|
|
46457
|
-
view:
|
|
46458
|
-
dragContainer:
|
|
46459
|
-
origin:
|
|
46456
|
+
parent: le(k),
|
|
46457
|
+
view: le(g),
|
|
46458
|
+
dragContainer: le(k),
|
|
46459
|
+
origin: le(Zn(0, 0)),
|
|
46460
46460
|
isResizable: v
|
|
46461
46461
|
};
|
|
46462
46462
|
},
|
|
46463
46463
|
detached: (g, v, k) => {
|
|
46464
46464
|
const _ = () => sl(v);
|
|
46465
46465
|
return {
|
|
46466
|
-
parent:
|
|
46467
|
-
view:
|
|
46468
|
-
dragContainer:
|
|
46466
|
+
parent: le(v),
|
|
46467
|
+
view: le(g),
|
|
46468
|
+
dragContainer: le(v),
|
|
46469
46469
|
origin: _,
|
|
46470
46470
|
isResizable: k
|
|
46471
46471
|
};
|
|
46472
46472
|
},
|
|
46473
46473
|
body: (g, v, k) => ({
|
|
46474
|
-
parent:
|
|
46475
|
-
view:
|
|
46476
|
-
dragContainer:
|
|
46477
|
-
origin:
|
|
46474
|
+
parent: le(v),
|
|
46475
|
+
view: le(g),
|
|
46476
|
+
dragContainer: le(v),
|
|
46477
|
+
origin: le(Zn(0, 0)),
|
|
46478
46478
|
isResizable: k
|
|
46479
46479
|
}),
|
|
46480
46480
|
scrollable: (g, v, k, _) => ({
|
|
46481
|
-
parent:
|
|
46482
|
-
view:
|
|
46483
|
-
dragContainer:
|
|
46481
|
+
parent: le(v),
|
|
46482
|
+
view: le(g),
|
|
46483
|
+
dragContainer: le(k),
|
|
46484
46484
|
origin: () => sl(v),
|
|
46485
46485
|
isResizable: _
|
|
46486
46486
|
})
|
|
@@ -46622,7 +46622,7 @@ function che() {
|
|
|
46622
46622
|
return M.apply(null, Ee);
|
|
46623
46623
|
};
|
|
46624
46624
|
}
|
|
46625
|
-
const et = (M) => (U) => !M(U),
|
|
46625
|
+
const et = (M) => (U) => !M(U), le = Me(!1);
|
|
46626
46626
|
class je {
|
|
46627
46627
|
constructor(U, te) {
|
|
46628
46628
|
this.tag = U, this.value = te;
|
|
@@ -46744,7 +46744,7 @@ function che() {
|
|
|
46744
46744
|
break;
|
|
46745
46745
|
}
|
|
46746
46746
|
return je.none();
|
|
46747
|
-
}, io = (M, U) => Q(M, U,
|
|
46747
|
+
}, io = (M, U) => Q(M, U, le), It = (M) => {
|
|
46748
46748
|
const U = [];
|
|
46749
46749
|
for (let te = 0, Ee = M.length; te < Ee; ++te) {
|
|
46750
46750
|
if (!w(M[te]))
|
|
@@ -46836,7 +46836,7 @@ function che() {
|
|
|
46836
46836
|
var jn = (M, U, te, Ee, Fe) => M(te, Ee) ? je.some(te) : F(Fe) && Fe(te) ? je.none() : U(te, Ee, Fe);
|
|
46837
46837
|
const er = (M, U, te) => {
|
|
46838
46838
|
let Ee = M.dom;
|
|
46839
|
-
const Fe = F(te) ? te :
|
|
46839
|
+
const Fe = F(te) ? te : le;
|
|
46840
46840
|
for (; Ee.parentNode; ) {
|
|
46841
46841
|
Ee = Ee.parentNode;
|
|
46842
46842
|
const zt = Se.fromDom(Ee);
|
|
@@ -47014,11 +47014,11 @@ function che() {
|
|
|
47014
47014
|
}, go = (M, U) => !Ho(U) && !Vi(U) && dn(Rc, (te) => M.isValidChild(U.nodeName, te)), as = (M, U) => {
|
|
47015
47015
|
const te = M.dom.getParents(U, M.dom.isBlock), Ee = (zt) => zt.nodeName.toLowerCase() !== Fu(M);
|
|
47016
47016
|
return io(te, (zt) => Ee(zt) && go(M.schema, zt)).getOr(M.getBody());
|
|
47017
|
-
}, q = (M) => Lo(M).exists((U) => Vi(U.dom) && Mr(U).exists((te) => !Ho(te.dom)) && Ei(U).exists((te) => !Ho(te.dom))),
|
|
47017
|
+
}, q = (M) => Lo(M).exists((U) => Vi(U.dom) && Mr(U).exists((te) => !Ho(te.dom)) && Ei(U).exists((te) => !Ho(te.dom))), ce = (M, U) => {
|
|
47018
47018
|
const te = M.dom.getParents(U, "ol,ul", as(M, U));
|
|
47019
47019
|
return dt(te);
|
|
47020
47020
|
}, De = (M) => {
|
|
47021
|
-
const U =
|
|
47021
|
+
const U = ce(M, M.selection.getStart()), te = Xn(M.selection.getSelectedBlocks(), Oi);
|
|
47022
47022
|
return U.toArray().concat(te);
|
|
47023
47023
|
}, ot = (M) => {
|
|
47024
47024
|
const U = M.selection.getStart();
|
|
@@ -47027,7 +47027,7 @@ function che() {
|
|
|
47027
47027
|
const U = De(M), te = ot(M);
|
|
47028
47028
|
return io(te, (Ee) => q(Se.fromDom(Ee))).fold(() => an(M, U), (Ee) => [Ee]);
|
|
47029
47029
|
}, an = (M, U) => {
|
|
47030
|
-
const te = Xe(U, (Ee) =>
|
|
47030
|
+
const te = Xe(U, (Ee) => ce(M, Ee).getOr(Ee));
|
|
47031
47031
|
return Ke(te);
|
|
47032
47032
|
}, ws = (M) => /\btox\-/.test(M.className), si = (M, U) => Q(M, Ho, md).exists((te) => te.nodeName === U && !ws(te)), Nt = (M, U) => U !== null && !M.dom.isEditable(U), ra = (M) => {
|
|
47033
47033
|
const U = se(M);
|
|
@@ -47852,7 +47852,7 @@ function uhe() {
|
|
|
47852
47852
|
}
|
|
47853
47853
|
}
|
|
47854
47854
|
et.singletonNone = new et(!1);
|
|
47855
|
-
const
|
|
47855
|
+
const le = Array.prototype.indexOf, je = Array.prototype.push, Xt = (se, _e) => le.call(se, _e), it = (se, _e) => Xt(se, _e) > -1, oe = (se, _e) => {
|
|
47856
47856
|
const Ve = se.length, wt = new Array(Ve);
|
|
47857
47857
|
for (let en = 0; en < Ve; en++) {
|
|
47858
47858
|
const Tn = se[en];
|
|
@@ -48118,8 +48118,8 @@ function uhe() {
|
|
|
48118
48118
|
}, Tn = (go) => {
|
|
48119
48119
|
const as = en(go.url), q = wt(go.url);
|
|
48120
48120
|
return as.isSome() || q.isSome() ? et.some({
|
|
48121
|
-
...as.map((
|
|
48122
|
-
...q.map((
|
|
48121
|
+
...as.map((ce) => ({ text: ce })).getOr({}),
|
|
48122
|
+
...q.map((ce) => ({ title: ce })).getOr({})
|
|
48123
48123
|
}) : et.none();
|
|
48124
48124
|
}, un = (go, as) => {
|
|
48125
48125
|
const q = sa(_e, as).getOr([]);
|
|
@@ -48329,9 +48329,9 @@ function uhe() {
|
|
|
48329
48329
|
}
|
|
48330
48330
|
],
|
|
48331
48331
|
initialData: co,
|
|
48332
|
-
onChange: (
|
|
48333
|
-
as.onChange(
|
|
48334
|
-
|
|
48332
|
+
onChange: (ce, { name: De }) => {
|
|
48333
|
+
as.onChange(ce.getData, { name: De }).each((ot) => {
|
|
48334
|
+
ce.setData(ot);
|
|
48335
48335
|
});
|
|
48336
48336
|
},
|
|
48337
48337
|
onSubmit: _e
|
|
@@ -48567,34 +48567,34 @@ var Lte = {}, Ite;
|
|
|
48567
48567
|
function dhe() {
|
|
48568
48568
|
return Ite || (Ite = 1, function() {
|
|
48569
48569
|
var u = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
48570
|
-
const o = Object.getPrototypeOf, i = (q,
|
|
48570
|
+
const o = Object.getPrototypeOf, i = (q, ce, De) => {
|
|
48571
48571
|
var ot;
|
|
48572
|
-
return De(q,
|
|
48572
|
+
return De(q, ce.prototype) ? !0 : ((ot = q.constructor) === null || ot === void 0 ? void 0 : ot.name) === ce.name;
|
|
48573
48573
|
}, c = (q) => {
|
|
48574
|
-
const
|
|
48575
|
-
return q === null ? "null" :
|
|
48576
|
-
}, h = (q) => (
|
|
48574
|
+
const ce = typeof q;
|
|
48575
|
+
return q === null ? "null" : ce === "object" && Array.isArray(q) ? "array" : ce === "object" && i(q, String, (De, ot) => ot.isPrototypeOf(De)) ? "string" : ce;
|
|
48576
|
+
}, h = (q) => (ce) => c(ce) === q, m = (q) => (ce) => typeof ce === q, O = (q) => (ce) => q === ce, w = (q, ce) => P(q) && i(q, ce, (De, ot) => o(De) === ot), T = h("string"), P = h("object"), R = (q) => w(q, Object), F = h("array"), H = O(null), K = m("boolean"), he = (q) => q == null, Me = (q) => !he(q), ye = m("function"), Te = m("number"), et = (q, ce) => {
|
|
48577
48577
|
if (F(q)) {
|
|
48578
48578
|
for (let De = 0, ot = q.length; De < ot; ++De)
|
|
48579
|
-
if (!
|
|
48579
|
+
if (!ce(q[De]))
|
|
48580
48580
|
return !1;
|
|
48581
48581
|
return !0;
|
|
48582
48582
|
}
|
|
48583
48583
|
return !1;
|
|
48584
|
-
},
|
|
48584
|
+
}, le = () => {
|
|
48585
48585
|
};
|
|
48586
48586
|
class je {
|
|
48587
|
-
constructor(
|
|
48588
|
-
this.tag =
|
|
48587
|
+
constructor(ce, De) {
|
|
48588
|
+
this.tag = ce, this.value = De;
|
|
48589
48589
|
}
|
|
48590
|
-
static some(
|
|
48591
|
-
return new je(!0,
|
|
48590
|
+
static some(ce) {
|
|
48591
|
+
return new je(!0, ce);
|
|
48592
48592
|
}
|
|
48593
48593
|
static none() {
|
|
48594
48594
|
return je.singletonNone;
|
|
48595
48595
|
}
|
|
48596
|
-
fold(
|
|
48597
|
-
return this.tag ? De(this.value) :
|
|
48596
|
+
fold(ce, De) {
|
|
48597
|
+
return this.tag ? De(this.value) : ce();
|
|
48598
48598
|
}
|
|
48599
48599
|
isSome() {
|
|
48600
48600
|
return this.tag;
|
|
@@ -48602,40 +48602,40 @@ function dhe() {
|
|
|
48602
48602
|
isNone() {
|
|
48603
48603
|
return !this.tag;
|
|
48604
48604
|
}
|
|
48605
|
-
map(
|
|
48606
|
-
return this.tag ? je.some(
|
|
48605
|
+
map(ce) {
|
|
48606
|
+
return this.tag ? je.some(ce(this.value)) : je.none();
|
|
48607
48607
|
}
|
|
48608
|
-
bind(
|
|
48609
|
-
return this.tag ?
|
|
48608
|
+
bind(ce) {
|
|
48609
|
+
return this.tag ? ce(this.value) : je.none();
|
|
48610
48610
|
}
|
|
48611
|
-
exists(
|
|
48612
|
-
return this.tag &&
|
|
48611
|
+
exists(ce) {
|
|
48612
|
+
return this.tag && ce(this.value);
|
|
48613
48613
|
}
|
|
48614
|
-
forall(
|
|
48615
|
-
return !this.tag ||
|
|
48614
|
+
forall(ce) {
|
|
48615
|
+
return !this.tag || ce(this.value);
|
|
48616
48616
|
}
|
|
48617
|
-
filter(
|
|
48618
|
-
return !this.tag ||
|
|
48617
|
+
filter(ce) {
|
|
48618
|
+
return !this.tag || ce(this.value) ? this : je.none();
|
|
48619
48619
|
}
|
|
48620
|
-
getOr(
|
|
48621
|
-
return this.tag ? this.value :
|
|
48620
|
+
getOr(ce) {
|
|
48621
|
+
return this.tag ? this.value : ce;
|
|
48622
48622
|
}
|
|
48623
|
-
or(
|
|
48624
|
-
return this.tag ? this :
|
|
48623
|
+
or(ce) {
|
|
48624
|
+
return this.tag ? this : ce;
|
|
48625
48625
|
}
|
|
48626
|
-
getOrThunk(
|
|
48627
|
-
return this.tag ? this.value :
|
|
48626
|
+
getOrThunk(ce) {
|
|
48627
|
+
return this.tag ? this.value : ce();
|
|
48628
48628
|
}
|
|
48629
|
-
orThunk(
|
|
48630
|
-
return this.tag ? this :
|
|
48629
|
+
orThunk(ce) {
|
|
48630
|
+
return this.tag ? this : ce();
|
|
48631
48631
|
}
|
|
48632
|
-
getOrDie(
|
|
48632
|
+
getOrDie(ce) {
|
|
48633
48633
|
if (this.tag)
|
|
48634
48634
|
return this.value;
|
|
48635
|
-
throw new Error(
|
|
48635
|
+
throw new Error(ce ?? "Called getOrDie on None");
|
|
48636
48636
|
}
|
|
48637
|
-
static from(
|
|
48638
|
-
return Me(
|
|
48637
|
+
static from(ce) {
|
|
48638
|
+
return Me(ce) ? je.some(ce) : je.none();
|
|
48639
48639
|
}
|
|
48640
48640
|
getOrNull() {
|
|
48641
48641
|
return this.tag ? this.value : null;
|
|
@@ -48643,8 +48643,8 @@ function dhe() {
|
|
|
48643
48643
|
getOrUndefined() {
|
|
48644
48644
|
return this.value;
|
|
48645
48645
|
}
|
|
48646
|
-
each(
|
|
48647
|
-
this.tag &&
|
|
48646
|
+
each(ce) {
|
|
48647
|
+
this.tag && ce(this.value);
|
|
48648
48648
|
}
|
|
48649
48649
|
toArray() {
|
|
48650
48650
|
return this.tag ? [this.value] : [];
|
|
@@ -48654,59 +48654,59 @@ function dhe() {
|
|
|
48654
48654
|
}
|
|
48655
48655
|
}
|
|
48656
48656
|
je.singletonNone = new je(!1);
|
|
48657
|
-
const Xt = Object.keys, it = Object.hasOwnProperty, oe = (q,
|
|
48657
|
+
const Xt = Object.keys, it = Object.hasOwnProperty, oe = (q, ce) => {
|
|
48658
48658
|
const De = Xt(q);
|
|
48659
48659
|
for (let ot = 0, $n = De.length; ot < $n; ot++) {
|
|
48660
48660
|
const an = De[ot], ws = q[an];
|
|
48661
|
-
|
|
48661
|
+
ce(ws, an);
|
|
48662
48662
|
}
|
|
48663
|
-
}, Et = (q) => (
|
|
48664
|
-
q[De] =
|
|
48665
|
-
}, rn = (q,
|
|
48663
|
+
}, Et = (q) => (ce, De) => {
|
|
48664
|
+
q[De] = ce;
|
|
48665
|
+
}, rn = (q, ce, De, ot) => {
|
|
48666
48666
|
oe(q, ($n, an) => {
|
|
48667
|
-
(
|
|
48667
|
+
(ce($n, an) ? De : ot)($n, an);
|
|
48668
48668
|
});
|
|
48669
|
-
}, dn = (q,
|
|
48669
|
+
}, dn = (q, ce) => {
|
|
48670
48670
|
const De = {};
|
|
48671
|
-
return rn(q,
|
|
48672
|
-
}, Xe = (q,
|
|
48673
|
-
const
|
|
48671
|
+
return rn(q, ce, Et(De), le), De;
|
|
48672
|
+
}, Xe = (q, ce) => it.call(q, ce), ve = (q, ce) => Xe(q, ce) && q[ce] !== void 0 && q[ce] !== null, Xn = Array.prototype.push, ct = (q) => {
|
|
48673
|
+
const ce = [];
|
|
48674
48674
|
for (let De = 0, ot = q.length; De < ot; ++De) {
|
|
48675
48675
|
if (!F(q[De]))
|
|
48676
48676
|
throw new Error("Arr.flatten item " + De + " was not an array, input: " + q);
|
|
48677
|
-
Xn.apply(
|
|
48677
|
+
Xn.apply(ce, q[De]);
|
|
48678
48678
|
}
|
|
48679
|
-
return
|
|
48680
|
-
}, kt = (q,
|
|
48679
|
+
return ce;
|
|
48680
|
+
}, kt = (q, ce) => ce >= 0 && ce < q.length ? je.some(q[ce]) : je.none(), Q = (q) => kt(q, 0), io = (q, ce) => {
|
|
48681
48681
|
for (let De = 0; De < q.length; De++) {
|
|
48682
|
-
const ot =
|
|
48682
|
+
const ot = ce(q[De], De);
|
|
48683
48683
|
if (ot.isSome())
|
|
48684
48684
|
return ot;
|
|
48685
48685
|
}
|
|
48686
48686
|
return je.none();
|
|
48687
48687
|
};
|
|
48688
48688
|
typeof window < "u" || Function("return this;")();
|
|
48689
|
-
const It = (q,
|
|
48689
|
+
const It = (q, ce, De) => {
|
|
48690
48690
|
if (T(De) || K(De) || Te(De))
|
|
48691
|
-
q.setAttribute(
|
|
48691
|
+
q.setAttribute(ce, De + "");
|
|
48692
48692
|
else
|
|
48693
|
-
throw console.error("Invalid call to Attribute.set. Key ",
|
|
48694
|
-
}, Jt = (q,
|
|
48695
|
-
It(q.dom,
|
|
48696
|
-
}, Ft = (q,
|
|
48697
|
-
q.dom.removeAttribute(
|
|
48698
|
-
}, Be = (q,
|
|
48699
|
-
const ot = (
|
|
48693
|
+
throw console.error("Invalid call to Attribute.set. Key ", ce, ":: Value ", De, ":: Element ", q), new Error("Attribute value was not simple");
|
|
48694
|
+
}, Jt = (q, ce, De) => {
|
|
48695
|
+
It(q.dom, ce, De);
|
|
48696
|
+
}, Ft = (q, ce) => {
|
|
48697
|
+
q.dom.removeAttribute(ce);
|
|
48698
|
+
}, Be = (q, ce) => {
|
|
48699
|
+
const ot = (ce || document).createElement("div");
|
|
48700
48700
|
if (ot.innerHTML = q, !ot.hasChildNodes() || ot.childNodes.length > 1) {
|
|
48701
48701
|
const $n = "HTML does not have a single root node";
|
|
48702
48702
|
throw console.error($n, q), new Error($n);
|
|
48703
48703
|
}
|
|
48704
48704
|
return Ke(ot.childNodes[0]);
|
|
48705
|
-
}, _t = (q,
|
|
48706
|
-
const ot = (
|
|
48705
|
+
}, _t = (q, ce) => {
|
|
48706
|
+
const ot = (ce || document).createElement(q);
|
|
48707
48707
|
return Ke(ot);
|
|
48708
|
-
}, dt = (q,
|
|
48709
|
-
const ot = (
|
|
48708
|
+
}, dt = (q, ce) => {
|
|
48709
|
+
const ot = (ce || document).createTextNode(q);
|
|
48710
48710
|
return Ke(ot);
|
|
48711
48711
|
}, Ke = (q) => {
|
|
48712
48712
|
if (q == null)
|
|
@@ -48717,33 +48717,33 @@ function dhe() {
|
|
|
48717
48717
|
fromTag: _t,
|
|
48718
48718
|
fromText: dt,
|
|
48719
48719
|
fromDom: Ke,
|
|
48720
|
-
fromPoint: (q,
|
|
48720
|
+
fromPoint: (q, ce, De) => je.from(q.dom.elementFromPoint(ce, De)).map(Ke)
|
|
48721
48721
|
};
|
|
48722
48722
|
var pt = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Y = tinymce.util.Tools.resolve("tinymce.util.URI");
|
|
48723
|
-
const Ko = (q) => q.length > 0, fo = (q) => (
|
|
48724
|
-
const
|
|
48725
|
-
|
|
48723
|
+
const Ko = (q) => q.length > 0, fo = (q) => (ce) => ce.options.get(q), wo = (q) => {
|
|
48724
|
+
const ce = q.options.register;
|
|
48725
|
+
ce("image_dimensions", {
|
|
48726
48726
|
processor: "boolean",
|
|
48727
48727
|
default: !0
|
|
48728
|
-
}),
|
|
48728
|
+
}), ce("image_advtab", {
|
|
48729
48729
|
processor: "boolean",
|
|
48730
48730
|
default: !1
|
|
48731
|
-
}),
|
|
48731
|
+
}), ce("image_uploadtab", {
|
|
48732
48732
|
processor: "boolean",
|
|
48733
48733
|
default: !0
|
|
48734
|
-
}),
|
|
48734
|
+
}), ce("image_prepend_url", {
|
|
48735
48735
|
processor: "string",
|
|
48736
48736
|
default: ""
|
|
48737
|
-
}),
|
|
48737
|
+
}), ce("image_class_list", { processor: "object[]" }), ce("image_description", {
|
|
48738
48738
|
processor: "boolean",
|
|
48739
48739
|
default: !0
|
|
48740
|
-
}),
|
|
48740
|
+
}), ce("image_title", {
|
|
48741
48741
|
processor: "boolean",
|
|
48742
48742
|
default: !1
|
|
48743
|
-
}),
|
|
48743
|
+
}), ce("image_caption", {
|
|
48744
48744
|
processor: "boolean",
|
|
48745
48745
|
default: !1
|
|
48746
|
-
}),
|
|
48746
|
+
}), ce("image_list", {
|
|
48747
48747
|
processor: (De) => {
|
|
48748
48748
|
const ot = De === !1 || T(De) || et(De, P) || ye(De);
|
|
48749
48749
|
return ot ? {
|
|
@@ -48756,9 +48756,9 @@ function dhe() {
|
|
|
48756
48756
|
},
|
|
48757
48757
|
default: !1
|
|
48758
48758
|
});
|
|
48759
|
-
}, Xo = fo("image_dimensions"), _i = fo("image_advtab"), Ne = fo("image_uploadtab"), ze = fo("image_prepend_url"), Je = fo("image_class_list"), Se = fo("image_description"), Fn = fo("image_title"), vo = fo("image_caption"), yn = fo("image_list"), Ps = fo("a11y_advanced_options"), Co = fo("automatic_uploads"), ur = (q) => Ko(q.options.get("images_upload_url")), Jo = (q) => Me(q.options.get("images_upload_handler")), Us = (q,
|
|
48759
|
+
}, Xo = fo("image_dimensions"), _i = fo("image_advtab"), Ne = fo("image_uploadtab"), ze = fo("image_prepend_url"), Je = fo("image_class_list"), Se = fo("image_description"), Fn = fo("image_title"), vo = fo("image_caption"), yn = fo("image_list"), Ps = fo("a11y_advanced_options"), Co = fo("automatic_uploads"), ur = (q) => Ko(q.options.get("images_upload_url")), Jo = (q) => Me(q.options.get("images_upload_handler")), Us = (q, ce) => Math.max(parseInt(q, 10), parseInt(ce, 10)), oa = (q) => new Promise((ce) => {
|
|
48760
48760
|
const De = document.createElement("img"), ot = (an) => {
|
|
48761
|
-
De.onload = De.onerror = null, De.parentNode && De.parentNode.removeChild(De),
|
|
48761
|
+
De.onload = De.onerror = null, De.parentNode && De.parentNode.removeChild(De), ce(an);
|
|
48762
48762
|
};
|
|
48763
48763
|
De.onload = () => {
|
|
48764
48764
|
const an = Us(De.width, De.clientWidth), ws = Us(De.height, De.clientHeight), si = {
|
|
@@ -48773,86 +48773,86 @@ function dhe() {
|
|
|
48773
48773
|
$n.visibility = "hidden", $n.position = "fixed", $n.bottom = $n.left = "0px", $n.width = $n.height = "auto", document.body.appendChild(De), De.src = q;
|
|
48774
48774
|
}), Js = (q) => (q && (q = q.replace(/px$/, "")), q), rs = (q) => (q.length > 0 && /^[0-9]+$/.test(q) && (q += "px"), q), is = (q) => {
|
|
48775
48775
|
if (q.margin) {
|
|
48776
|
-
const
|
|
48777
|
-
switch (
|
|
48776
|
+
const ce = String(q.margin).split(" ");
|
|
48777
|
+
switch (ce.length) {
|
|
48778
48778
|
case 1:
|
|
48779
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48779
|
+
q["margin-top"] = q["margin-top"] || ce[0], q["margin-right"] = q["margin-right"] || ce[0], q["margin-bottom"] = q["margin-bottom"] || ce[0], q["margin-left"] = q["margin-left"] || ce[0];
|
|
48780
48780
|
break;
|
|
48781
48781
|
case 2:
|
|
48782
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48782
|
+
q["margin-top"] = q["margin-top"] || ce[0], q["margin-right"] = q["margin-right"] || ce[1], q["margin-bottom"] = q["margin-bottom"] || ce[0], q["margin-left"] = q["margin-left"] || ce[1];
|
|
48783
48783
|
break;
|
|
48784
48784
|
case 3:
|
|
48785
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48785
|
+
q["margin-top"] = q["margin-top"] || ce[0], q["margin-right"] = q["margin-right"] || ce[1], q["margin-bottom"] = q["margin-bottom"] || ce[2], q["margin-left"] = q["margin-left"] || ce[1];
|
|
48786
48786
|
break;
|
|
48787
48787
|
case 4:
|
|
48788
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48788
|
+
q["margin-top"] = q["margin-top"] || ce[0], q["margin-right"] = q["margin-right"] || ce[1], q["margin-bottom"] = q["margin-bottom"] || ce[2], q["margin-left"] = q["margin-left"] || ce[3];
|
|
48789
48789
|
}
|
|
48790
48790
|
delete q.margin;
|
|
48791
48791
|
}
|
|
48792
48792
|
return q;
|
|
48793
|
-
}, Rr = (q,
|
|
48793
|
+
}, Rr = (q, ce) => {
|
|
48794
48794
|
const De = yn(q);
|
|
48795
48795
|
T(De) ? fetch(De).then((ot) => {
|
|
48796
|
-
ot.ok && ot.json().then(
|
|
48797
|
-
}) : ye(De) ? De(
|
|
48798
|
-
}, Fs = (q,
|
|
48796
|
+
ot.ok && ot.json().then(ce);
|
|
48797
|
+
}) : ye(De) ? De(ce) : ce(De);
|
|
48798
|
+
}, Fs = (q, ce, De) => {
|
|
48799
48799
|
const ot = () => {
|
|
48800
48800
|
De.onload = De.onerror = null, q.selection && (q.selection.select(De), q.nodeChanged());
|
|
48801
48801
|
};
|
|
48802
48802
|
De.onload = () => {
|
|
48803
|
-
!
|
|
48803
|
+
!ce.width && !ce.height && Xo(q) && q.dom.setAttribs(De, {
|
|
48804
48804
|
width: String(De.clientWidth),
|
|
48805
48805
|
height: String(De.clientHeight)
|
|
48806
48806
|
}), ot();
|
|
48807
48807
|
}, De.onerror = ot;
|
|
48808
|
-
}, Bo = (q) => new Promise((
|
|
48808
|
+
}, Bo = (q) => new Promise((ce, De) => {
|
|
48809
48809
|
const ot = new FileReader();
|
|
48810
48810
|
ot.onload = () => {
|
|
48811
|
-
|
|
48811
|
+
ce(ot.result);
|
|
48812
48812
|
}, ot.onerror = () => {
|
|
48813
48813
|
var $n;
|
|
48814
48814
|
De(($n = ot.error) === null || $n === void 0 ? void 0 : $n.message);
|
|
48815
48815
|
}, ot.readAsDataURL(q);
|
|
48816
|
-
}), Ya = (q) => q.nodeName === "IMG" && (q.hasAttribute("data-mce-object") || q.hasAttribute("data-mce-placeholder")), No = (q,
|
|
48816
|
+
}), Ya = (q) => q.nodeName === "IMG" && (q.hasAttribute("data-mce-object") || q.hasAttribute("data-mce-placeholder")), No = (q, ce) => {
|
|
48817
48817
|
const De = q.options.get;
|
|
48818
|
-
return Y.isDomSafe(
|
|
48818
|
+
return Y.isDomSafe(ce, "img", {
|
|
48819
48819
|
allow_html_data_urls: De("allow_html_data_urls"),
|
|
48820
48820
|
allow_script_urls: De("allow_script_urls"),
|
|
48821
48821
|
allow_svg_data_urls: De("allow_svg_data_urls")
|
|
48822
48822
|
});
|
|
48823
|
-
}, Ns = pt.DOM, Fr = (q) => q.style.marginLeft && q.style.marginRight && q.style.marginLeft === q.style.marginRight ? Js(q.style.marginLeft) : "", pi = (q) => q.style.marginTop && q.style.marginBottom && q.style.marginTop === q.style.marginBottom ? Js(q.style.marginTop) : "", Aa = (q) => q.style.borderWidth ? Js(q.style.borderWidth) : "", Lo = (q,
|
|
48823
|
+
}, Ns = pt.DOM, Fr = (q) => q.style.marginLeft && q.style.marginRight && q.style.marginLeft === q.style.marginRight ? Js(q.style.marginLeft) : "", pi = (q) => q.style.marginTop && q.style.marginBottom && q.style.marginTop === q.style.marginBottom ? Js(q.style.marginTop) : "", Aa = (q) => q.style.borderWidth ? Js(q.style.borderWidth) : "", Lo = (q, ce) => {
|
|
48824
48824
|
var De;
|
|
48825
|
-
return q.hasAttribute(
|
|
48826
|
-
}, Ka = (q) => q.parentNode !== null && q.parentNode.nodeName === "FIGURE", Gt = (q,
|
|
48827
|
-
De === "" || De === null ? q.removeAttribute(
|
|
48825
|
+
return q.hasAttribute(ce) && (De = q.getAttribute(ce)) !== null && De !== void 0 ? De : "";
|
|
48826
|
+
}, Ka = (q) => q.parentNode !== null && q.parentNode.nodeName === "FIGURE", Gt = (q, ce, De) => {
|
|
48827
|
+
De === "" || De === null ? q.removeAttribute(ce) : q.setAttribute(ce, De);
|
|
48828
48828
|
}, zo = (q) => {
|
|
48829
|
-
const
|
|
48830
|
-
Ns.insertAfter(
|
|
48829
|
+
const ce = Ns.create("figure", { class: "image" });
|
|
48830
|
+
Ns.insertAfter(ce, q), ce.appendChild(q), ce.appendChild(Ns.create("figcaption", { contentEditable: "true" }, "Caption")), ce.contentEditable = "false";
|
|
48831
48831
|
}, Kr = (q) => {
|
|
48832
|
-
const
|
|
48833
|
-
Me(
|
|
48832
|
+
const ce = q.parentNode;
|
|
48833
|
+
Me(ce) && (Ns.insertAfter(q, ce), Ns.remove(ce));
|
|
48834
48834
|
}, Mr = (q) => {
|
|
48835
48835
|
Ka(q) ? Kr(q) : zo(q);
|
|
48836
|
-
}, Ei = (q,
|
|
48837
|
-
const De = q.getAttribute("style"), ot =
|
|
48836
|
+
}, Ei = (q, ce) => {
|
|
48837
|
+
const De = q.getAttribute("style"), ot = ce(De !== null ? De : "");
|
|
48838
48838
|
ot.length > 0 ? (q.setAttribute("style", ot), q.setAttribute("data-mce-style", ot)) : q.removeAttribute("style");
|
|
48839
|
-
}, Qi = (q,
|
|
48839
|
+
}, Qi = (q, ce) => (De, ot, $n) => {
|
|
48840
48840
|
const an = De.style;
|
|
48841
|
-
an[ot] ? (an[ot] = rs($n), Ei(De,
|
|
48842
|
-
}, Ts = (q,
|
|
48843
|
-
const De = rs(
|
|
48841
|
+
an[ot] ? (an[ot] = rs($n), Ei(De, ce)) : Gt(De, ot, $n);
|
|
48842
|
+
}, Ts = (q, ce) => q.style[ce] ? Js(q.style[ce]) : Lo(q, ce), Fi = (q, ce) => {
|
|
48843
|
+
const De = rs(ce);
|
|
48844
48844
|
q.style.marginLeft = De, q.style.marginRight = De;
|
|
48845
|
-
}, $i = (q,
|
|
48846
|
-
const De = rs(
|
|
48845
|
+
}, $i = (q, ce) => {
|
|
48846
|
+
const De = rs(ce);
|
|
48847
48847
|
q.style.marginTop = De, q.style.marginBottom = De;
|
|
48848
|
-
}, xs = (q,
|
|
48849
|
-
const De = rs(
|
|
48848
|
+
}, xs = (q, ce) => {
|
|
48849
|
+
const De = rs(ce);
|
|
48850
48850
|
q.style.borderWidth = De;
|
|
48851
|
-
}, jn = (q,
|
|
48852
|
-
q.style.borderStyle =
|
|
48851
|
+
}, jn = (q, ce) => {
|
|
48852
|
+
q.style.borderStyle = ce;
|
|
48853
48853
|
}, er = (q) => {
|
|
48854
|
-
var
|
|
48855
|
-
return (
|
|
48854
|
+
var ce;
|
|
48855
|
+
return (ce = q.style.borderStyle) !== null && ce !== void 0 ? ce : "";
|
|
48856
48856
|
}, di = (q) => Me(q) && q.nodeName === "FIGURE", Pl = (q) => q.nodeName === "IMG", Vl = (q) => Ns.getAttrib(q, "alt").length === 0 && Ns.getAttrib(q, "role") === "presentation", Ls = (q) => Vl(q) ? "" : Lo(q, "alt"), Or = () => ({
|
|
48857
48857
|
src: "",
|
|
48858
48858
|
alt: "",
|
|
@@ -48867,73 +48867,73 @@ function dhe() {
|
|
|
48867
48867
|
border: "",
|
|
48868
48868
|
borderStyle: "",
|
|
48869
48869
|
isDecorative: !1
|
|
48870
|
-
}), Ws = (q,
|
|
48870
|
+
}), Ws = (q, ce) => {
|
|
48871
48871
|
var De;
|
|
48872
48872
|
const ot = document.createElement("img");
|
|
48873
|
-
return Gt(ot, "style",
|
|
48874
|
-
}, bi = (q,
|
|
48873
|
+
return Gt(ot, "style", ce.style), (Fr(ot) || ce.hspace !== "") && Fi(ot, ce.hspace), (pi(ot) || ce.vspace !== "") && $i(ot, ce.vspace), (Aa(ot) || ce.border !== "") && xs(ot, ce.border), (er(ot) || ce.borderStyle !== "") && jn(ot, ce.borderStyle), q((De = ot.getAttribute("style")) !== null && De !== void 0 ? De : "");
|
|
48874
|
+
}, bi = (q, ce) => {
|
|
48875
48875
|
const De = document.createElement("img");
|
|
48876
48876
|
if (bt(q, {
|
|
48877
|
-
...
|
|
48877
|
+
...ce,
|
|
48878
48878
|
caption: !1
|
|
48879
|
-
}, De), Pe(De,
|
|
48879
|
+
}, De), Pe(De, ce.alt, ce.isDecorative), ce.caption) {
|
|
48880
48880
|
const ot = Ns.create("figure", { class: "image" });
|
|
48881
48881
|
return ot.appendChild(De), ot.appendChild(Ns.create("figcaption", { contentEditable: "true" }, "Caption")), ot.contentEditable = "false", ot;
|
|
48882
48882
|
} else
|
|
48883
48883
|
return De;
|
|
48884
|
-
}, sa = (q,
|
|
48885
|
-
src: Lo(
|
|
48886
|
-
alt: Ls(
|
|
48887
|
-
title: Lo(
|
|
48888
|
-
width: Ts(
|
|
48889
|
-
height: Ts(
|
|
48890
|
-
class: Lo(
|
|
48891
|
-
style: q(Lo(
|
|
48892
|
-
caption: Ka(
|
|
48893
|
-
hspace: Fr(
|
|
48894
|
-
vspace: pi(
|
|
48895
|
-
border: Aa(
|
|
48896
|
-
borderStyle: er(
|
|
48897
|
-
isDecorative: Vl(
|
|
48898
|
-
}), vr = (q,
|
|
48899
|
-
De[ot] !==
|
|
48900
|
-
}, Pe = (q,
|
|
48884
|
+
}, sa = (q, ce) => ({
|
|
48885
|
+
src: Lo(ce, "src"),
|
|
48886
|
+
alt: Ls(ce),
|
|
48887
|
+
title: Lo(ce, "title"),
|
|
48888
|
+
width: Ts(ce, "width"),
|
|
48889
|
+
height: Ts(ce, "height"),
|
|
48890
|
+
class: Lo(ce, "class"),
|
|
48891
|
+
style: q(Lo(ce, "style")),
|
|
48892
|
+
caption: Ka(ce),
|
|
48893
|
+
hspace: Fr(ce),
|
|
48894
|
+
vspace: pi(ce),
|
|
48895
|
+
border: Aa(ce),
|
|
48896
|
+
borderStyle: er(ce),
|
|
48897
|
+
isDecorative: Vl(ce)
|
|
48898
|
+
}), vr = (q, ce, De, ot, $n) => {
|
|
48899
|
+
De[ot] !== ce[ot] && $n(q, ot, String(De[ot]));
|
|
48900
|
+
}, Pe = (q, ce, De) => {
|
|
48901
48901
|
if (De) {
|
|
48902
48902
|
Ns.setAttrib(q, "role", "presentation");
|
|
48903
48903
|
const ot = We.fromDom(q);
|
|
48904
48904
|
Jt(ot, "alt", "");
|
|
48905
48905
|
} else {
|
|
48906
|
-
if (H(
|
|
48906
|
+
if (H(ce)) {
|
|
48907
48907
|
const ot = We.fromDom(q);
|
|
48908
48908
|
Ft(ot, "alt");
|
|
48909
48909
|
} else {
|
|
48910
48910
|
const ot = We.fromDom(q);
|
|
48911
|
-
Jt(ot, "alt",
|
|
48911
|
+
Jt(ot, "alt", ce);
|
|
48912
48912
|
}
|
|
48913
48913
|
Ns.getAttrib(q, "role") === "presentation" && Ns.setAttrib(q, "role", "");
|
|
48914
48914
|
}
|
|
48915
|
-
}, Ce = (q,
|
|
48916
|
-
(De.alt !==
|
|
48917
|
-
}, ut = (q,
|
|
48918
|
-
q(De, $n), Ei(De,
|
|
48919
|
-
}, bt = (q,
|
|
48915
|
+
}, Ce = (q, ce, De) => {
|
|
48916
|
+
(De.alt !== ce.alt || De.isDecorative !== ce.isDecorative) && Pe(q, De.alt, De.isDecorative);
|
|
48917
|
+
}, ut = (q, ce) => (De, ot, $n) => {
|
|
48918
|
+
q(De, $n), Ei(De, ce);
|
|
48919
|
+
}, bt = (q, ce, De) => {
|
|
48920
48920
|
const ot = sa(q, De);
|
|
48921
|
-
vr(De, ot,
|
|
48922
|
-
}, Wn = (q,
|
|
48923
|
-
const De = q.dom.styles.parse(
|
|
48921
|
+
vr(De, ot, ce, "caption", ($n, an, ws) => Mr($n)), vr(De, ot, ce, "src", Gt), vr(De, ot, ce, "title", Gt), vr(De, ot, ce, "width", Qi("width", q)), vr(De, ot, ce, "height", Qi("height", q)), vr(De, ot, ce, "class", Gt), vr(De, ot, ce, "style", ut(($n, an) => Gt($n, "style", an), q)), vr(De, ot, ce, "hspace", ut(Fi, q)), vr(De, ot, ce, "vspace", ut($i, q)), vr(De, ot, ce, "border", ut(xs, q)), vr(De, ot, ce, "borderStyle", ut(jn, q)), Ce(De, ot, ce);
|
|
48922
|
+
}, Wn = (q, ce) => {
|
|
48923
|
+
const De = q.dom.styles.parse(ce), ot = is(De), $n = q.dom.styles.parse(q.dom.styles.serialize(ot));
|
|
48924
48924
|
return q.dom.styles.serialize($n);
|
|
48925
48925
|
}, ao = (q) => {
|
|
48926
|
-
const
|
|
48927
|
-
return De ? q.dom.select("img", De)[0] :
|
|
48928
|
-
}, To = (q,
|
|
48926
|
+
const ce = q.selection.getNode(), De = q.dom.getParent(ce, "figure.image");
|
|
48927
|
+
return De ? q.dom.select("img", De)[0] : ce && (ce.nodeName !== "IMG" || Ya(ce)) ? null : ce;
|
|
48928
|
+
}, To = (q, ce) => {
|
|
48929
48929
|
var De;
|
|
48930
|
-
const ot = q.dom, $n = dn(q.schema.getTextBlockElements(), (ws, si) => !q.schema.isValidChild(si, "figure")), an = ot.getParent(
|
|
48931
|
-
return an && (De = ot.split(an,
|
|
48930
|
+
const ot = q.dom, $n = dn(q.schema.getTextBlockElements(), (ws, si) => !q.schema.isValidChild(si, "figure")), an = ot.getParent(ce.parentNode, (ws) => ve($n, ws.nodeName), q.getBody());
|
|
48931
|
+
return an && (De = ot.split(an, ce)) !== null && De !== void 0 ? De : ce;
|
|
48932
48932
|
}, js = (q) => {
|
|
48933
|
-
const
|
|
48934
|
-
return
|
|
48935
|
-
}, Rt = (q,
|
|
48936
|
-
const De = bi(($n) => Wn(q, $n),
|
|
48933
|
+
const ce = ao(q);
|
|
48934
|
+
return ce ? sa((De) => Wn(q, De), ce) : Or();
|
|
48935
|
+
}, Rt = (q, ce) => {
|
|
48936
|
+
const De = bi(($n) => Wn(q, $n), ce);
|
|
48937
48937
|
q.dom.setAttrib(De, "data-mce-id", "__mcenew"), q.focus(), q.selection.setContent(De.outerHTML);
|
|
48938
48938
|
const ot = q.dom.select('*[data-mce-id="__mcenew"]')[0];
|
|
48939
48939
|
if (q.dom.setAttrib(ot, "data-mce-id", null), di(ot)) {
|
|
@@ -48941,73 +48941,73 @@ function dhe() {
|
|
|
48941
48941
|
q.selection.select($n);
|
|
48942
48942
|
} else
|
|
48943
48943
|
q.selection.select(ot);
|
|
48944
|
-
}, Ot = (q,
|
|
48945
|
-
q.dom.setAttrib(
|
|
48946
|
-
}, Ae = (q,
|
|
48947
|
-
if (
|
|
48948
|
-
const De = q.dom.is(
|
|
48944
|
+
}, Ot = (q, ce) => {
|
|
48945
|
+
q.dom.setAttrib(ce, "src", ce.getAttribute("src"));
|
|
48946
|
+
}, Ae = (q, ce) => {
|
|
48947
|
+
if (ce) {
|
|
48948
|
+
const De = q.dom.is(ce.parentNode, "figure.image") ? ce.parentNode : ce;
|
|
48949
48949
|
q.dom.remove(De), q.focus(), q.nodeChanged(), q.dom.isEmpty(q.getBody()) && (q.setContent(""), q.selection.setCursorLocation());
|
|
48950
48950
|
}
|
|
48951
|
-
}, Le = (q,
|
|
48951
|
+
}, Le = (q, ce) => {
|
|
48952
48952
|
const De = ao(q);
|
|
48953
48953
|
if (De)
|
|
48954
|
-
if (bt((ot) => Wn(q, ot),
|
|
48954
|
+
if (bt((ot) => Wn(q, ot), ce, De), Ot(q, De), di(De.parentNode)) {
|
|
48955
48955
|
const ot = De.parentNode;
|
|
48956
48956
|
To(q, ot), q.selection.select(De.parentNode);
|
|
48957
48957
|
} else
|
|
48958
|
-
q.selection.select(De), Fs(q,
|
|
48959
|
-
}, Lt = (q,
|
|
48960
|
-
const De =
|
|
48958
|
+
q.selection.select(De), Fs(q, ce, De);
|
|
48959
|
+
}, Lt = (q, ce) => {
|
|
48960
|
+
const De = ce.src;
|
|
48961
48961
|
return {
|
|
48962
|
-
...
|
|
48962
|
+
...ce,
|
|
48963
48963
|
src: No(q, De) ? De : ""
|
|
48964
48964
|
};
|
|
48965
|
-
}, Ut = (q,
|
|
48965
|
+
}, Ut = (q, ce) => {
|
|
48966
48966
|
const De = ao(q);
|
|
48967
48967
|
if (De) {
|
|
48968
48968
|
const $n = {
|
|
48969
48969
|
...sa((ws) => Wn(q, ws), De),
|
|
48970
|
-
...
|
|
48970
|
+
...ce
|
|
48971
48971
|
}, an = Lt(q, $n);
|
|
48972
48972
|
$n.src ? Le(q, an) : Ae(q, De);
|
|
48973
|
-
} else
|
|
48973
|
+
} else ce.src && Rt(q, {
|
|
48974
48974
|
...Or(),
|
|
48975
|
-
...
|
|
48975
|
+
...ce
|
|
48976
48976
|
});
|
|
48977
|
-
}, Ln = ((q) => (...
|
|
48978
|
-
if (
|
|
48977
|
+
}, Ln = ((q) => (...ce) => {
|
|
48978
|
+
if (ce.length === 0)
|
|
48979
48979
|
throw new Error("Can't merge zero objects");
|
|
48980
48980
|
const De = {};
|
|
48981
|
-
for (let ot = 0; ot <
|
|
48982
|
-
const $n =
|
|
48981
|
+
for (let ot = 0; ot < ce.length; ot++) {
|
|
48982
|
+
const $n = ce[ot];
|
|
48983
48983
|
for (const an in $n)
|
|
48984
48984
|
Xe($n, an) && (De[an] = q(De[an], $n[an]));
|
|
48985
48985
|
}
|
|
48986
48986
|
return De;
|
|
48987
|
-
})((q,
|
|
48987
|
+
})((q, ce) => R(q) && R(ce) ? Ln(q, ce) : ce);
|
|
48988
48988
|
var Dn = tinymce.util.Tools.resolve("tinymce.util.ImageUploader"), Jn = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
48989
|
-
const lo = (q) => T(q.value) ? q.value : "", ds = (q) => T(q.text) ? q.text : T(q.title) ? q.title : "", ar = (q,
|
|
48989
|
+
const lo = (q) => T(q.value) ? q.value : "", ds = (q) => T(q.text) ? q.text : T(q.title) ? q.title : "", ar = (q, ce) => {
|
|
48990
48990
|
const De = [];
|
|
48991
48991
|
return Jn.each(q, (ot) => {
|
|
48992
48992
|
const $n = ds(ot);
|
|
48993
48993
|
if (ot.menu !== void 0) {
|
|
48994
|
-
const an = ar(ot.menu,
|
|
48994
|
+
const an = ar(ot.menu, ce);
|
|
48995
48995
|
De.push({
|
|
48996
48996
|
text: $n,
|
|
48997
48997
|
items: an
|
|
48998
48998
|
});
|
|
48999
48999
|
} else {
|
|
49000
|
-
const an =
|
|
49000
|
+
const an = ce(ot);
|
|
49001
49001
|
De.push({
|
|
49002
49002
|
text: $n,
|
|
49003
49003
|
value: an
|
|
49004
49004
|
});
|
|
49005
49005
|
}
|
|
49006
49006
|
}), De;
|
|
49007
|
-
}, Ss = (q = lo) => (
|
|
49007
|
+
}, Ss = (q = lo) => (ce) => ce ? je.from(ce).map((De) => ar(De, q)) : je.none(), Da = (q) => Ss(lo)(q), Zi = (q) => Xe(q, "items"), So = (q, ce) => io(q, (De) => Zi(De) ? So(De.items, ce) : De.value === ce ? je.some(De) : je.none()), Ho = {
|
|
49008
49008
|
sanitizer: Ss,
|
|
49009
49009
|
sanitize: Da,
|
|
49010
|
-
findEntry: (q,
|
|
49010
|
+
findEntry: (q, ce) => q.bind((De) => So(De, ce))
|
|
49011
49011
|
}, vi = { makeTab: (q) => ({
|
|
49012
49012
|
title: "Advanced",
|
|
49013
49013
|
name: "advanced",
|
|
@@ -49087,9 +49087,9 @@ function dhe() {
|
|
|
49087
49087
|
]
|
|
49088
49088
|
}]
|
|
49089
49089
|
}) }, Vi = (q) => {
|
|
49090
|
-
const
|
|
49090
|
+
const ce = Ho.sanitizer((Oa) => q.convertURL(Oa.value || Oa.url || "", "src")), De = new Promise((Oa) => {
|
|
49091
49091
|
Rr(q, (ei) => {
|
|
49092
|
-
Oa(
|
|
49092
|
+
Oa(ce(ei).map((Bc) => ct([
|
|
49093
49093
|
[{
|
|
49094
49094
|
text: "None",
|
|
49095
49095
|
value: ""
|
|
@@ -49115,7 +49115,7 @@ function dhe() {
|
|
|
49115
49115
|
automaticUploads: ba
|
|
49116
49116
|
}));
|
|
49117
49117
|
}, Ks = (q) => {
|
|
49118
|
-
const
|
|
49118
|
+
const ce = {
|
|
49119
49119
|
name: "src",
|
|
49120
49120
|
type: "urlinput",
|
|
49121
49121
|
filetype: "image",
|
|
@@ -49164,7 +49164,7 @@ function dhe() {
|
|
|
49164
49164
|
columns: 2
|
|
49165
49165
|
} : { type: "panel" };
|
|
49166
49166
|
return ct([
|
|
49167
|
-
[
|
|
49167
|
+
[ce],
|
|
49168
49168
|
De.toArray(),
|
|
49169
49169
|
q.hasAccessibilityOptions && q.hasDescription ? [ws] : [],
|
|
49170
49170
|
q.hasDescription ? [ot] : [],
|
|
@@ -49217,9 +49217,9 @@ function dhe() {
|
|
|
49217
49217
|
borderstyle: q.borderStyle,
|
|
49218
49218
|
fileinput: [],
|
|
49219
49219
|
isDecorative: q.isDecorative
|
|
49220
|
-
}), tu = (q,
|
|
49220
|
+
}), tu = (q, ce) => ({
|
|
49221
49221
|
src: q.src.value,
|
|
49222
|
-
alt: (q.alt === null || q.alt.length === 0) &&
|
|
49222
|
+
alt: (q.alt === null || q.alt.length === 0) && ce ? null : q.alt,
|
|
49223
49223
|
title: q.title,
|
|
49224
49224
|
width: q.dimensions.width,
|
|
49225
49225
|
height: q.dimensions.height,
|
|
@@ -49231,29 +49231,29 @@ function dhe() {
|
|
|
49231
49231
|
border: q.border,
|
|
49232
49232
|
borderStyle: q.borderstyle,
|
|
49233
49233
|
isDecorative: q.isDecorative
|
|
49234
|
-
}), bl = (q,
|
|
49235
|
-
const De =
|
|
49234
|
+
}), bl = (q, ce) => /^(?:[a-zA-Z]+:)?\/\//.test(ce) ? je.none() : q.prependURL.bind((De) => ce.substring(0, De.length) !== De ? je.some(De + ce) : je.none()), Hl = (q, ce) => {
|
|
49235
|
+
const De = ce.getData();
|
|
49236
49236
|
bl(q, De.src.value).each((ot) => {
|
|
49237
|
-
|
|
49237
|
+
ce.setData({
|
|
49238
49238
|
src: {
|
|
49239
49239
|
value: ot,
|
|
49240
49240
|
meta: De.src.meta
|
|
49241
49241
|
}
|
|
49242
49242
|
});
|
|
49243
49243
|
});
|
|
49244
|
-
}, oi = (q,
|
|
49245
|
-
q.hasDescription && T(De.alt) && (
|
|
49246
|
-
|
|
49247
|
-
}), q.hasImageCaption && K(De.caption) && (
|
|
49248
|
-
}, Qu = (q,
|
|
49249
|
-
const De =
|
|
49244
|
+
}, oi = (q, ce, De) => {
|
|
49245
|
+
q.hasDescription && T(De.alt) && (ce.alt = De.alt), q.hasAccessibilityOptions && (ce.isDecorative = De.isDecorative || ce.isDecorative || !1), q.hasImageTitle && T(De.title) && (ce.title = De.title), q.hasDimensions && (T(De.width) && (ce.dimensions.width = De.width), T(De.height) && (ce.dimensions.height = De.height)), T(De.class) && Ho.findEntry(q.classList, De.class).each((ot) => {
|
|
49246
|
+
ce.classes = ot.value;
|
|
49247
|
+
}), q.hasImageCaption && K(De.caption) && (ce.caption = De.caption), q.hasAdvTab && (T(De.style) && (ce.style = De.style), T(De.vspace) && (ce.vspace = De.vspace), T(De.border) && (ce.border = De.border), T(De.hspace) && (ce.hspace = De.hspace), T(De.borderstyle) && (ce.borderstyle = De.borderstyle));
|
|
49248
|
+
}, Qu = (q, ce) => {
|
|
49249
|
+
const De = ce.getData(), ot = De.src.meta;
|
|
49250
49250
|
if (ot !== void 0) {
|
|
49251
49251
|
const $n = Ln({}, De);
|
|
49252
|
-
oi(q, $n, ot),
|
|
49252
|
+
oi(q, $n, ot), ce.setData($n);
|
|
49253
49253
|
}
|
|
49254
|
-
}, Ra = (q,
|
|
49254
|
+
}, Ra = (q, ce, De, ot) => {
|
|
49255
49255
|
const $n = ot.getData(), an = $n.src.value, ws = $n.src.meta || {};
|
|
49256
|
-
!ws.width && !ws.height &&
|
|
49256
|
+
!ws.width && !ws.height && ce.hasDimensions && (Ko(an) ? q.imageSize(an).then((si) => {
|
|
49257
49257
|
De.open && ot.setData({ dimensions: si });
|
|
49258
49258
|
}).catch((si) => console.error(si)) : ot.setData({
|
|
49259
49259
|
dimensions: {
|
|
@@ -49261,13 +49261,13 @@ function dhe() {
|
|
|
49261
49261
|
height: ""
|
|
49262
49262
|
}
|
|
49263
49263
|
}));
|
|
49264
|
-
}, Fu = (q,
|
|
49264
|
+
}, Fu = (q, ce, De) => {
|
|
49265
49265
|
const ot = De.getData(), $n = Ho.findEntry(q.imageList, ot.src.value);
|
|
49266
|
-
|
|
49267
|
-
}, lc = (q,
|
|
49268
|
-
Hl(
|
|
49269
|
-
}, Kd = (q,
|
|
49270
|
-
const $n = ot.getData(), an = Ho.findEntry(
|
|
49266
|
+
ce.prevImage = $n, De.setData({ images: $n.map((an) => an.value).getOr("") });
|
|
49267
|
+
}, lc = (q, ce, De, ot) => {
|
|
49268
|
+
Hl(ce, ot), Qu(ce, ot), Ra(q, ce, De, ot), Fu(ce, De, ot);
|
|
49269
|
+
}, Kd = (q, ce, De, ot) => {
|
|
49270
|
+
const $n = ot.getData(), an = Ho.findEntry(ce.imageList, $n.images);
|
|
49271
49271
|
an.each((ws) => {
|
|
49272
49272
|
$n.alt === "" || De.prevImage.map((Nt) => Nt.text === $n.alt).getOr(!1) ? ws.value === "" ? ot.setData({
|
|
49273
49273
|
src: ws,
|
|
@@ -49276,8 +49276,8 @@ function dhe() {
|
|
|
49276
49276
|
src: ws,
|
|
49277
49277
|
alt: ws.text
|
|
49278
49278
|
}) : ot.setData({ src: ws });
|
|
49279
|
-
}), De.prevImage = an, lc(q,
|
|
49280
|
-
}, Jr = (q,
|
|
49279
|
+
}), De.prevImage = an, lc(q, ce, De, ot);
|
|
49280
|
+
}, Jr = (q, ce, De, ot) => {
|
|
49281
49281
|
const $n = ot.getData();
|
|
49282
49282
|
ot.block("Uploading image"), Q($n.fileinput).fold(() => {
|
|
49283
49283
|
ot.unblock();
|
|
@@ -49290,11 +49290,11 @@ function dhe() {
|
|
|
49290
49290
|
value: ra,
|
|
49291
49291
|
meta: {}
|
|
49292
49292
|
}
|
|
49293
|
-
}), ot.showTab("general"), lc(q,
|
|
49293
|
+
}), ot.showTab("general"), lc(q, ce, De, ot), ot.focus("src");
|
|
49294
49294
|
};
|
|
49295
49295
|
Bo(an).then((ra) => {
|
|
49296
49296
|
const Zs = q.createBlobCache(an, ws, ra);
|
|
49297
|
-
|
|
49297
|
+
ce.automaticUploads ? q.uploadImage(Zs).then((dc) => {
|
|
49298
49298
|
Nt(dc.url), si();
|
|
49299
49299
|
}).catch((dc) => {
|
|
49300
49300
|
si(), q.alertErr(dc, () => {
|
|
@@ -49303,8 +49303,8 @@ function dhe() {
|
|
|
49303
49303
|
}) : (q.addToBlobCache(Zs), Nt(Zs.blobUri()), ot.unblock());
|
|
49304
49304
|
});
|
|
49305
49305
|
});
|
|
49306
|
-
}, Al = (q,
|
|
49307
|
-
$n.name === "src" ? lc(q,
|
|
49306
|
+
}, Al = (q, ce, De) => (ot, $n) => {
|
|
49307
|
+
$n.name === "src" ? lc(q, ce, De, ot) : $n.name === "images" ? Kd(q, ce, De, ot) : $n.name === "alt" ? De.prevAlt = ot.getData().alt : $n.name === "fileinput" ? Jr(q, ce, De, ot) : $n.name === "isDecorative" && ot.setEnabled("alt", !ot.getData().isDecorative);
|
|
49308
49308
|
}, Sc = (q) => () => {
|
|
49309
49309
|
q.open = !1;
|
|
49310
49310
|
}, Zu = (q) => q.hasAdvTab || q.hasUploadUrl || q.hasUploadHandler ? {
|
|
@@ -49317,36 +49317,36 @@ function dhe() {
|
|
|
49317
49317
|
} : {
|
|
49318
49318
|
type: "panel",
|
|
49319
49319
|
items: pl.makeItems(q)
|
|
49320
|
-
}, cc = (q,
|
|
49321
|
-
const $n = Ln(hr(
|
|
49320
|
+
}, cc = (q, ce, De) => (ot) => {
|
|
49321
|
+
const $n = Ln(hr(ce.image), ot.getData()), an = {
|
|
49322
49322
|
...$n,
|
|
49323
49323
|
style: Ws(De.normalizeCss, tu($n, !1))
|
|
49324
49324
|
};
|
|
49325
|
-
q.execCommand("mceUpdateImage", !1, tu(an,
|
|
49326
|
-
}, uc = (q) => (
|
|
49325
|
+
q.execCommand("mceUpdateImage", !1, tu(an, ce.hasAccessibilityOptions)), q.editorUpload.uploadImagesAuto(), ot.close();
|
|
49326
|
+
}, uc = (q) => (ce) => No(q, ce) ? oa(q.documentBaseURI.toAbsolute(ce)).then((De) => ({
|
|
49327
49327
|
width: String(De.width),
|
|
49328
49328
|
height: String(De.height)
|
|
49329
49329
|
})) : Promise.resolve({
|
|
49330
49330
|
width: "",
|
|
49331
49331
|
height: ""
|
|
49332
|
-
}), Wr = (q) => (
|
|
49332
|
+
}), Wr = (q) => (ce, De, ot) => {
|
|
49333
49333
|
var $n;
|
|
49334
49334
|
return q.editorUpload.blobCache.create({
|
|
49335
|
-
blob:
|
|
49335
|
+
blob: ce,
|
|
49336
49336
|
blobUri: De,
|
|
49337
|
-
name: ($n =
|
|
49338
|
-
filename:
|
|
49337
|
+
name: ($n = ce.name) === null || $n === void 0 ? void 0 : $n.replace(/\.[^\.]+$/, ""),
|
|
49338
|
+
filename: ce.name,
|
|
49339
49339
|
base64: ot.split(",")[1]
|
|
49340
49340
|
});
|
|
49341
|
-
}, jr = (q) => (
|
|
49342
|
-
q.editorUpload.blobCache.add(
|
|
49343
|
-
}, pa = (q) => (
|
|
49344
|
-
q.windowManager.alert(
|
|
49345
|
-
}, Rc = (q) => (
|
|
49341
|
+
}, jr = (q) => (ce) => {
|
|
49342
|
+
q.editorUpload.blobCache.add(ce);
|
|
49343
|
+
}, pa = (q) => (ce, De) => {
|
|
49344
|
+
q.windowManager.alert(ce, De);
|
|
49345
|
+
}, Rc = (q) => (ce) => Wn(q, ce), Mc = (q) => (ce) => q.dom.parseStyle(ce), se = (q) => (ce, De) => q.dom.serializeStyle(ce, De), _e = (q) => (ce) => Dn(q).upload([ce], !1).then((De) => {
|
|
49346
49346
|
var ot;
|
|
49347
49347
|
return De.length === 0 ? Promise.reject("Failed to upload image") : De[0].status === !1 ? Promise.reject((ot = De[0].error) === null || ot === void 0 ? void 0 : ot.message) : De[0];
|
|
49348
49348
|
}), Ve = (q) => {
|
|
49349
|
-
const
|
|
49349
|
+
const ce = {
|
|
49350
49350
|
imageSize: uc(q),
|
|
49351
49351
|
addToBlobCache: jr(q),
|
|
49352
49352
|
createBlobCache: Wr(q),
|
|
@@ -49377,35 +49377,35 @@ function dhe() {
|
|
|
49377
49377
|
}
|
|
49378
49378
|
],
|
|
49379
49379
|
initialData: hr(ot.image),
|
|
49380
|
-
onSubmit: cc(q, ot,
|
|
49381
|
-
onChange: Al(
|
|
49380
|
+
onSubmit: cc(q, ot, ce),
|
|
49381
|
+
onChange: Al(ce, ot, $n),
|
|
49382
49382
|
onClose: Sc($n)
|
|
49383
49383
|
};
|
|
49384
49384
|
}).then(q.windowManager.open);
|
|
49385
49385
|
} };
|
|
49386
49386
|
}, wt = (q) => {
|
|
49387
|
-
q.addCommand("mceImage", Ve(q).open), q.addCommand("mceUpdateImage", (
|
|
49387
|
+
q.addCommand("mceImage", Ve(q).open), q.addCommand("mceUpdateImage", (ce, De) => {
|
|
49388
49388
|
q.undoManager.transact(() => Ut(q, De));
|
|
49389
49389
|
});
|
|
49390
49390
|
}, en = (q) => {
|
|
49391
|
-
const
|
|
49392
|
-
return Me(
|
|
49393
|
-
}, Tn = (q) => (
|
|
49394
|
-
let De =
|
|
49391
|
+
const ce = q.attr("class");
|
|
49392
|
+
return Me(ce) && /\bimage\b/.test(ce);
|
|
49393
|
+
}, Tn = (q) => (ce) => {
|
|
49394
|
+
let De = ce.length;
|
|
49395
49395
|
const ot = ($n) => {
|
|
49396
49396
|
$n.attr("contenteditable", q ? "true" : null);
|
|
49397
49397
|
};
|
|
49398
49398
|
for (; De--; ) {
|
|
49399
|
-
const $n =
|
|
49399
|
+
const $n = ce[De];
|
|
49400
49400
|
en($n) && ($n.attr("contenteditable", q ? "false" : null), Jn.each($n.getAll("figcaption"), ot));
|
|
49401
49401
|
}
|
|
49402
49402
|
}, un = (q) => {
|
|
49403
49403
|
q.on("PreInit", () => {
|
|
49404
49404
|
q.parser.addNodeFilter("figure", Tn(!0)), q.serializer.addNodeFilter("figure", Tn(!1));
|
|
49405
49405
|
});
|
|
49406
|
-
}, co = (q) => (
|
|
49406
|
+
}, co = (q) => (ce) => {
|
|
49407
49407
|
const De = () => {
|
|
49408
|
-
|
|
49408
|
+
ce.setEnabled(q.selection.isEditable());
|
|
49409
49409
|
};
|
|
49410
49410
|
return q.on("NodeChange", De), De(), () => {
|
|
49411
49411
|
q.off("NodeChange", De);
|
|
@@ -49415,9 +49415,9 @@ function dhe() {
|
|
|
49415
49415
|
icon: "image",
|
|
49416
49416
|
tooltip: "Insert/edit image",
|
|
49417
49417
|
onAction: Ve(q).open,
|
|
49418
|
-
onSetup: (
|
|
49419
|
-
|
|
49420
|
-
const De = q.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",
|
|
49418
|
+
onSetup: (ce) => {
|
|
49419
|
+
ce.setActive(Me(ao(q)));
|
|
49420
|
+
const De = q.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image", ce.setActive).unbind, ot = co(q)(ce);
|
|
49421
49421
|
return () => {
|
|
49422
49422
|
De(), ot();
|
|
49423
49423
|
};
|
|
@@ -49427,7 +49427,7 @@ function dhe() {
|
|
|
49427
49427
|
text: "Image...",
|
|
49428
49428
|
onAction: Ve(q).open,
|
|
49429
49429
|
onSetup: co(q)
|
|
49430
|
-
}), q.ui.registry.addContextMenu("image", { update: (
|
|
49430
|
+
}), q.ui.registry.addContextMenu("image", { update: (ce) => q.selection.isEditable() && (di(ce) || Pl(ce) && !Ya(ce)) ? ["image"] : [] });
|
|
49431
49431
|
};
|
|
49432
49432
|
var as = () => {
|
|
49433
49433
|
u.add("image", (q) => {
|
|
@@ -49547,7 +49547,7 @@ function hhe() {
|
|
|
49547
49547
|
const ao = ut[bt], To = Pe[ao];
|
|
49548
49548
|
Ce(To, ao);
|
|
49549
49549
|
}
|
|
49550
|
-
}, Te = (Pe, Ce) => et(Pe, Ce) ? P.from(Pe[Ce]) : P.none(), et = (Pe, Ce) => Me.call(Pe, Ce),
|
|
49550
|
+
}, Te = (Pe, Ce) => et(Pe, Ce) ? P.from(Pe[Ce]) : P.none(), et = (Pe, Ce) => Me.call(Pe, Ce), le = (Pe) => (Ce) => Ce.options.get(Pe), je = (Pe) => {
|
|
49551
49551
|
const Ce = Pe.options.register;
|
|
49552
49552
|
Ce("audio_template_callback", { processor: "function" }), Ce("video_template_callback", { processor: "function" }), Ce("iframe_template_callback", { processor: "function" }), Ce("media_live_embeds", {
|
|
49553
49553
|
processor: "boolean",
|
|
@@ -49565,7 +49565,7 @@ function hhe() {
|
|
|
49565
49565
|
processor: "boolean",
|
|
49566
49566
|
default: !0
|
|
49567
49567
|
});
|
|
49568
|
-
}, Xt =
|
|
49568
|
+
}, Xt = le("audio_template_callback"), it = le("video_template_callback"), oe = le("iframe_template_callback"), Et = le("media_live_embeds"), rn = le("media_filter_html"), dn = le("media_url_resolver"), Xe = le("media_alt_source"), ve = le("media_poster"), Xn = le("media_dimensions");
|
|
49569
49569
|
var ct = tinymce.util.Tools.resolve("tinymce.util.Tools"), kt = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Q = tinymce.util.Tools.resolve("tinymce.html.DomParser");
|
|
49570
49570
|
const io = kt.DOM, It = (Pe) => Pe.replace(/px$/, ""), Jt = (Pe) => {
|
|
49571
49571
|
const Ce = Pe.attr("style"), ut = Ce ? io.parseStyle(Ce) : {};
|
|
@@ -50225,7 +50225,7 @@ function fhe() {
|
|
|
50225
50225
|
return A === null ? "null" : I === "object" && Array.isArray(A) ? "array" : I === "object" && o(A, String, (ee, me) => me.isPrototypeOf(ee)) ? "string" : I;
|
|
50226
50226
|
}, c = (A) => (I) => i(I) === A, h = (A) => (I) => typeof I === A, m = (A) => (I) => A === I, O = c("string"), w = c("array"), T = h("boolean"), P = m(void 0), R = (A) => A == null, F = (A) => !R(A), H = h("function"), K = h("number"), he = () => {
|
|
50227
50227
|
}, Me = (A, I) => (ee) => A(I(ee)), ye = (A) => () => A, Te = (A) => A, et = (A, I) => A === I;
|
|
50228
|
-
function
|
|
50228
|
+
function le(A, ...I) {
|
|
50229
50229
|
return (...ee) => {
|
|
50230
50230
|
const me = I.concat(ee);
|
|
50231
50231
|
return A.apply(null, me);
|
|
@@ -50603,7 +50603,7 @@ function fhe() {
|
|
|
50603
50603
|
}, q = (A, I) => as([
|
|
50604
50604
|
"td",
|
|
50605
50605
|
"th"
|
|
50606
|
-
], A, I),
|
|
50606
|
+
], A, I), ce = (A) => Rc(A, "th,td"), De = (A) => Ns(A, "colgroup") ? Da(A, "col") : Se(an(A), (I) => Da(I, "col")), ot = (A, I) => Ot(A, "table", I), $n = (A) => Rc(A, "tr"), an = (A) => ot(A).fold(ye([]), (I) => Da(I, "colgroup")), ws = (A, I) => pt(A, (ee) => {
|
|
50607
50607
|
if (Gt(ee) === "colgroup") {
|
|
50608
50608
|
const me = pt(De(ee), (Qe) => {
|
|
50609
50609
|
const Dt = pa(Qe, "span", 1);
|
|
@@ -50611,7 +50611,7 @@ function fhe() {
|
|
|
50611
50611
|
});
|
|
50612
50612
|
return Tn(ee, me, "colgroup");
|
|
50613
50613
|
} else {
|
|
50614
|
-
const me = pt(
|
|
50614
|
+
const me = pt(ce(ee), (Qe) => {
|
|
50615
50615
|
const Dt = pa(Qe, "rowspan", 1), tn = pa(Qe, "colspan", 1);
|
|
50616
50616
|
return wt(Qe, Dt, tn);
|
|
50617
50617
|
});
|
|
@@ -50812,7 +50812,7 @@ function fhe() {
|
|
|
50812
50812
|
return I.isSet("table_default_attributes") ? ee : ia(A, ee);
|
|
50813
50813
|
}, th = (A, I) => I.column >= A.startCol && I.column + I.colspan - 1 <= A.finishCol && I.row >= A.startRow && I.row + I.rowspan - 1 <= A.finishRow, Qg = (A, I) => {
|
|
50814
50814
|
let ee = !0;
|
|
50815
|
-
const me =
|
|
50815
|
+
const me = le(th, I);
|
|
50816
50816
|
for (let Qe = I.startRow; Qe <= I.finishRow; Qe++)
|
|
50817
50817
|
for (let Dt = I.startCol; Dt <= I.finishCol; Dt++)
|
|
50818
50818
|
ee = ee && Nc.getAt(A, Qe, Dt).exists(me);
|
|
@@ -51006,7 +51006,7 @@ function fhe() {
|
|
|
51006
51006
|
const Rn = I(A, tn);
|
|
51007
51007
|
return nl(A, Dt, Rn);
|
|
51008
51008
|
}, Qe);
|
|
51009
|
-
}, nl = (A, I, ee) => I.bind((me) => ee.filter(
|
|
51009
|
+
}, nl = (A, I, ee) => I.bind((me) => ee.filter(le(A.eq, me))), sh = Od, Z1 = Wf(), Hm = (A, I) => sh(Z1, (ee, me) => A(me), I), su = (A) => To(A, "table"), Wh = (A, I) => {
|
|
51010
51010
|
const ee = Zi(A, I);
|
|
51011
51011
|
return ee.length > 0 ? oe.some(ee) : oe.none();
|
|
51012
51012
|
}, Jp = (A, I, ee) => Rt(A, I).bind((me) => Rt(A, ee).bind((Qe) => Hm(su, [
|
|
@@ -51399,11 +51399,11 @@ Required: ` + I.join(", "));
|
|
|
51399
51399
|
});
|
|
51400
51400
|
});
|
|
51401
51401
|
}), I;
|
|
51402
|
-
}, Zc = (A, I, ee, me) => ze(A, (Qe) => !P(ee.formatter.matchNode(me, I + Qe))).getOr(""), Kh =
|
|
51402
|
+
}, Zc = (A, I, ee, me) => ze(A, (Qe) => !P(ee.formatter.matchNode(me, I + Qe))).getOr(""), Kh = le(Zc, [
|
|
51403
51403
|
"left",
|
|
51404
51404
|
"center",
|
|
51405
51405
|
"right"
|
|
51406
|
-
], "align"), a0 =
|
|
51406
|
+
], "align"), a0 = le(Zc, [
|
|
51407
51407
|
"top",
|
|
51408
51408
|
"middle",
|
|
51409
51409
|
"bottom"
|
|
@@ -51503,7 +51503,7 @@ Required: ` + I.join(", "));
|
|
|
51503
51503
|
const Qe = Xn(me, (Dt, tn) => ee[tn] !== Dt);
|
|
51504
51504
|
Q(Qe) > 0 && I.length >= 1 && ot(I[0]).each((Dt) => {
|
|
51505
51505
|
const tn = pn(Dt, I), Rn = Q(Xn(Qe, (Wo, Xs) => Xs !== "scope" && Xs !== "celltype")) > 0, ko = It(Qe, "celltype");
|
|
51506
|
-
(Rn || It(Qe, "scope")) && Yf(A, tn, me,
|
|
51506
|
+
(Rn || It(Qe, "scope")) && Yf(A, tn, me, le(It, Qe)), ko && du(A, me), fe(A, Dt.dom, {
|
|
51507
51507
|
structure: ko,
|
|
51508
51508
|
style: Rn
|
|
51509
51509
|
});
|
|
@@ -51556,7 +51556,7 @@ Required: ` + I.join(", "));
|
|
|
51556
51556
|
}
|
|
51557
51557
|
],
|
|
51558
51558
|
initialData: ee,
|
|
51559
|
-
onSubmit:
|
|
51559
|
+
onSubmit: le(ef, A, I, ee)
|
|
51560
51560
|
});
|
|
51561
51561
|
}, Hu = (A) => sr(Yp(A)).map((I) => ({
|
|
51562
51562
|
name: "class",
|
|
@@ -51632,7 +51632,7 @@ Required: ` + I.join(", "));
|
|
|
51632
51632
|
const Qe = Xn(me, (Dt, tn) => ee[tn] !== Dt);
|
|
51633
51633
|
if (Q(Qe) > 0) {
|
|
51634
51634
|
const Dt = It(Qe, "type"), tn = Dt ? Q(Qe) > 1 : !0;
|
|
51635
|
-
tn && Uu(A, I, me,
|
|
51635
|
+
tn && Uu(A, I, me, le(It, Qe)), Dt && Gi(A, me), ot(No.fromDom(I[0])).each((Rn) => fe(A, Rn.dom, {
|
|
51636
51636
|
structure: Dt,
|
|
51637
51637
|
style: tn
|
|
51638
51638
|
}));
|
|
@@ -51682,7 +51682,7 @@ Required: ` + I.join(", "));
|
|
|
51682
51682
|
}
|
|
51683
51683
|
],
|
|
51684
51684
|
initialData: me,
|
|
51685
|
-
onSubmit:
|
|
51685
|
+
onSubmit: le(Yi, A, pt(I, (tn) => tn.dom), me)
|
|
51686
51686
|
});
|
|
51687
51687
|
}, c0 = (A, I, ee) => {
|
|
51688
51688
|
const me = ee ? [
|
|
@@ -51846,7 +51846,7 @@ Required: ` + I.join(", "));
|
|
|
51846
51846
|
title: "Table Properties",
|
|
51847
51847
|
size: "normal",
|
|
51848
51848
|
body: Wo,
|
|
51849
|
-
onSubmit:
|
|
51849
|
+
onSubmit: le(u0, A, me, Qe),
|
|
51850
51850
|
buttons: [
|
|
51851
51851
|
{
|
|
51852
51852
|
type: "cancel",
|
|
@@ -51867,10 +51867,10 @@ Required: ` + I.join(", "));
|
|
|
51867
51867
|
ds(Jn(A)) && ee();
|
|
51868
51868
|
};
|
|
51869
51869
|
dn({
|
|
51870
|
-
mceTableProps:
|
|
51871
|
-
mceTableRowProps:
|
|
51872
|
-
mceTableCellProps:
|
|
51873
|
-
mceInsertTableDialog:
|
|
51870
|
+
mceTableProps: le(Wi, A, !1),
|
|
51871
|
+
mceTableRowProps: le(As, A),
|
|
51872
|
+
mceTableCellProps: le(Ug, A),
|
|
51873
|
+
mceInsertTableDialog: le(Wi, A, !0)
|
|
51874
51874
|
}, (ee, me) => A.addCommand(me, () => I(ee)));
|
|
51875
51875
|
}, hu = (A, I) => js(A, I).isSome(), H1 = Te, tf = (A) => {
|
|
51876
51876
|
const I = (me, Qe) => vi(me, Qe).exists((Dt) => parseInt(Dt, 10) > 1), ee = (me) => I(me, "rowspan") || I(me, "colspan");
|
|
@@ -52521,9 +52521,9 @@ function ghe() {
|
|
|
52521
52521
|
return !1;
|
|
52522
52522
|
const vo = Ne[ze - 1];
|
|
52523
52523
|
return (Je === w.MIDLETTER || Je === w.MIDNUMLET || Se === w.AT) && Se === w.ALETTER && vo === w.ALETTER || (Je === w.NUMERIC || Je === w.ALETTER) && (Se === w.NUMERIC || Se === w.ALETTER) || (Je === w.MIDNUM || Je === w.MIDNUMLET) && Se === w.NUMERIC && vo === w.NUMERIC || Je === w.NUMERIC && (Se === w.MIDNUM || Se === w.MIDNUMLET) && Fn === w.NUMERIC || (Je === w.EXTEND || Je === w.FORMAT) && (Se === w.ALETTER || Se === w.NUMERIC || Se === w.KATAKANA || Se === w.EXTEND || Se === w.FORMAT) || (Se === w.EXTEND || Se === w.FORMAT && (Fn === w.ALETTER || Fn === w.NUMERIC || Fn === w.KATAKANA || Fn === w.EXTEND || Fn === w.FORMAT)) && (Je === w.ALETTER || Je === w.NUMERIC || Je === w.KATAKANA || Je === w.EXTEND || Je === w.FORMAT) || Je === w.CR && Se === w.LF ? !1 : Je === w.NEWLINE || Je === w.CR || Je === w.LF || Se === w.NEWLINE || Se === w.CR || Se === w.LF ? !0 : !(Je === w.KATAKANA && Se === w.KATAKANA || Se === w.EXTENDNUMLET && (Je === w.ALETTER || Je === w.NUMERIC || Je === w.KATAKANA || Je === w.EXTENDNUMLET) || Je === w.EXTENDNUMLET && (Se === w.ALETTER || Se === w.NUMERIC || Se === w.KATAKANA) || Je === w.AT);
|
|
52524
|
-
}, et = P,
|
|
52524
|
+
}, et = P, le = F, je = R, Xt = (Ne) => Ne === "http" || Ne === "https", it = (Ne, ze) => {
|
|
52525
52525
|
let Je;
|
|
52526
|
-
for (Je = ze; Je < Ne.length && !
|
|
52526
|
+
for (Je = ze; Je < Ne.length && !le.test(Ne[Je]); Je++)
|
|
52527
52527
|
;
|
|
52528
52528
|
return Je;
|
|
52529
52529
|
}, oe = (Ne, ze) => {
|
|
@@ -52535,7 +52535,7 @@ function ghe() {
|
|
|
52535
52535
|
for (let Ps = 0; Ps < Je.length; ++Ps)
|
|
52536
52536
|
if (yn.push(Ne[Ps]), Te(Je, Ps)) {
|
|
52537
52537
|
const Co = ze[Ps];
|
|
52538
|
-
if ((Se.includeWhitespace || !
|
|
52538
|
+
if ((Se.includeWhitespace || !le.test(Co)) && (Se.includePunctuation || !je.test(Co))) {
|
|
52539
52539
|
const ur = Ps - yn.length + 1, Jo = Ps + 1, Us = ze.slice(ur, Jo).join(et);
|
|
52540
52540
|
if (Xt(Us)) {
|
|
52541
52541
|
const oa = oe(ze, Ps), Js = Ne.slice(Jo, oa);
|
|
@@ -52712,7 +52712,7 @@ function phe() {
|
|
|
52712
52712
|
const be = typeof fe;
|
|
52713
52713
|
return fe === null ? "null" : be === "object" && Array.isArray(fe) ? "array" : be === "object" && c(fe, String, (tt, Pt) => Pt.isPrototypeOf(tt)) ? "string" : be;
|
|
52714
52714
|
}, m = (fe) => (be) => h(be) === fe, O = (fe) => (be) => typeof be === fe, w = (fe) => (be) => fe === be, T = m("string"), P = m("object"), R = m("array"), F = w(null), H = O("boolean"), K = w(void 0), he = (fe) => fe == null, Me = (fe) => !he(fe), ye = O("function"), Te = O("number"), et = () => {
|
|
52715
|
-
},
|
|
52715
|
+
}, le = (fe, be) => (...tt) => fe(be.apply(null, tt)), je = (fe, be) => (tt) => fe(be(tt)), Xt = (fe) => () => fe;
|
|
52716
52716
|
function it(fe, ...be) {
|
|
52717
52717
|
return (...tt) => {
|
|
52718
52718
|
const Pt = be.concat(tt);
|
|
@@ -53005,7 +53005,7 @@ function phe() {
|
|
|
53005
53005
|
kill: ls,
|
|
53006
53006
|
raw: Io
|
|
53007
53007
|
}), ut = (fe) => {
|
|
53008
|
-
const be = Lo.fromDom(Pl(fe).getOr(fe.target)), tt = () => fe.stopPropagation(), Pt = () => fe.preventDefault(), Hn =
|
|
53008
|
+
const be = Lo.fromDom(Pl(fe).getOr(fe.target)), tt = () => fe.stopPropagation(), Pt = () => fe.preventDefault(), Hn = le(Pt, tt);
|
|
53009
53009
|
return Ce(be, fe.clientX, fe.clientY, tt, Pt, Hn, fe);
|
|
53010
53010
|
}, bt = (fe, be) => (tt) => {
|
|
53011
53011
|
fe(tt) && be(ut(tt));
|
|
@@ -53263,7 +53263,7 @@ function phe() {
|
|
|
53263
53263
|
}, q = (fe) => {
|
|
53264
53264
|
const be = fe.dom;
|
|
53265
53265
|
be.exitFullscreen ? be.exitFullscreen() : be.msExitFullscreen ? be.msExitFullscreen() : be.webkitCancelFullScreen && be.webkitCancelFullScreen();
|
|
53266
|
-
},
|
|
53266
|
+
}, ce = (fe) => fe.dom === co(Mr(fe).dom), De = (fe, be, tt) => Xn(Qi(fe, tt), be), ot = (fe, be) => Xn(Ts(fe), be), $n = (fe) => zo(fe), an = (fe, be, tt) => De(fe, (Pt) => Ka(Pt, be), tt), ws = (fe, be) => ot(fe, (tt) => Ka(tt, be)), si = "data-ephox-mobile-fullscreen-style", Nt = "display:none!important;", ra = "position:absolute!important;", Zs = "top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;", dc = "background-color:rgb(255,255,255)!important;", Br = _e.os.isAndroid(), Uo = (fe) => {
|
|
53267
53267
|
const be = vr(fe, "background-color");
|
|
53268
53268
|
return be !== void 0 && be !== "" ? "background-color:" + be + "!important" : dc;
|
|
53269
53269
|
}, ba = (fe, be, tt) => {
|
|
@@ -53315,12 +53315,12 @@ function phe() {
|
|
|
53315
53315
|
Ba && yi(fe.dom), ia(Oa.removeClass), zf.unbind(), rn.from(be.get()).each((Hi) => Hi.fullscreenChangeHandler.unbind());
|
|
53316
53316
|
};
|
|
53317
53317
|
if (ri)
|
|
53318
|
-
ri.fullscreenChangeHandler.unbind(), Tn(fe) &&
|
|
53318
|
+
ri.fullscreenChangeHandler.unbind(), Tn(fe) && ce(tr) && q(Mr(tr)), hi.width = ri.iframeWidth, hi.height = ri.iframeHeight, yr.width = ri.containerWidth, yr.height = ri.containerHeight, yr.top = ri.containerTop, yr.left = ri.containerLeft, Be(Io, ri.sinkCssPosition, (Hi, Vs) => {
|
|
53319
53319
|
bi(Hi, "position", Vs);
|
|
53320
53320
|
}), Zr(), Bc(ri.scrollPos), be.set(null), Ve(fe, !1), fe.off("remove", Zr);
|
|
53321
53321
|
else {
|
|
53322
53322
|
const Hi = Rt(Mr(tr), go(), (Lc) => {
|
|
53323
|
-
Tn(fe) && !
|
|
53323
|
+
Tn(fe) && !ce(tr) && be.get() !== null && Im(fe, be);
|
|
53324
53324
|
}), Vs = {
|
|
53325
53325
|
scrollPos: ei(),
|
|
53326
53326
|
containerWidth: yr.width,
|
|
@@ -53393,8 +53393,8 @@ function bhe() {
|
|
|
53393
53393
|
i.each(K.contentCSS, (dn) => {
|
|
53394
53394
|
Me += '<link type="text/css" rel="stylesheet" href="' + ye(K.documentBaseURI.toAbsolute(dn)) + '"' + et + ">";
|
|
53395
53395
|
}), Te && (Me += '<style type="text/css">' + Te + "</style>");
|
|
53396
|
-
const
|
|
53397
|
-
return "<!DOCTYPE html><html><head>" + Me + '</head><body id="' + ye(
|
|
53396
|
+
const le = w(K), je = O(K), it = '<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !(' + (o.os.isMacOS() || o.os.isiOS() ? "e.metaKey" : "e.ctrlKey && !e.altKey") + ")) {e.preventDefault();}}}, false);<\/script> ", oe = K.getBody().dir, Et = oe ? ' dir="' + ye(oe) + '"' : "";
|
|
53397
|
+
return "<!DOCTYPE html><html><head>" + Me + '</head><body id="' + ye(le) + '" class="mce-content-body ' + ye(je) + '"' + Et + ">" + K.getContent() + it + "</body></html>";
|
|
53398
53398
|
}, P = (K) => {
|
|
53399
53399
|
const he = T(K);
|
|
53400
53400
|
K.windowManager.open({
|
|
@@ -53564,7 +53564,7 @@ function Ohe() {
|
|
|
53564
53564
|
}), dt;
|
|
53565
53565
|
};
|
|
53566
53566
|
var et = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
53567
|
-
const
|
|
53567
|
+
const le = (Be) => /\btox\-/.test(Be.className), je = (Be, _t) => Be.dom.isChildOf(_t, Be.getBody()), Xt = (Be) => (_t) => T(_t) && Be.test(_t.nodeName), it = Xt(/^(OL|UL|DL)$/), oe = Xt(/^(TH|TD)$/), Et = (Be, _t, dt) => K(_t, (Ke) => it(Ke) && !le(Ke), oe).exists((Ke) => Ke.nodeName === dt && je(Be, Ke)), rn = (Be) => {
|
|
53568
53568
|
const _t = Be.dom.getParent(Be.selection.getNode(), "ol,ul"), dt = Be.dom.getStyle(_t, "listStyleType");
|
|
53569
53569
|
return P.from(dt);
|
|
53570
53570
|
}, dn = (Be, _t) => _t !== null && !Be.dom.isEditable(_t), Xe = (Be, _t) => {
|
|
@@ -53728,7 +53728,7 @@ function vhe() {
|
|
|
53728
53728
|
}
|
|
53729
53729
|
Te.singletonNone = new Te(!1);
|
|
53730
53730
|
const et = ye;
|
|
53731
|
-
var
|
|
53731
|
+
var le = tinymce.util.Tools.resolve("tinymce.Env"), je = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
53732
53732
|
const Xt = Array.prototype.slice, it = Array.prototype.push, oe = (Ae, Le) => {
|
|
53733
53733
|
const Lt = Ae.length, Ut = new Array(Lt);
|
|
53734
53734
|
for (let gn = 0; gn < Lt; gn++) {
|
|
@@ -53991,7 +53991,7 @@ function vhe() {
|
|
|
53991
53991
|
regex: new RegExp(Dn, Ut ? "g" : "gi"),
|
|
53992
53992
|
matchIndex: 1
|
|
53993
53993
|
}, ds = xs(Ae, Le, lo, Nn);
|
|
53994
|
-
if (
|
|
53994
|
+
if (le.browser.isSafari() && Ln.setRng(Ln.getRng(), Jn), ds) {
|
|
53995
53995
|
const ar = di(Ae, Le, !0);
|
|
53996
53996
|
Le.set({
|
|
53997
53997
|
index: ar,
|
|
@@ -54106,7 +54106,7 @@ function vhe() {
|
|
|
54106
54106
|
}, Dn = (So, Fo) => {
|
|
54107
54107
|
Fo.redial(Zi(So, Fo.getData()));
|
|
54108
54108
|
}, Jn = (So, Fo) => {
|
|
54109
|
-
|
|
54109
|
+
le.browser.isSafari() && le.deviceType.isTouch() && (Fo === "find" || Fo === "replace" || Fo === "replaceall") && So.focus(Fo);
|
|
54110
54110
|
}, lo = (So) => {
|
|
54111
54111
|
vr(Ae, Le, !1), Ln(So, !0), gn(So);
|
|
54112
54112
|
}, ds = (So) => {
|
|
@@ -54329,7 +54329,7 @@ function yhe() {
|
|
|
54329
54329
|
}, et = (ct, kt) => {
|
|
54330
54330
|
const Q = he(ct);
|
|
54331
54331
|
Q ? Te(ct, kt, Q) : ye(ct, kt), ct.focus();
|
|
54332
|
-
},
|
|
54332
|
+
}, le = (ct, kt) => K(kt) ? (et(ct, kt), !0) : (ct.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."), !1), je = (ct) => {
|
|
54333
54333
|
const kt = Me(ct);
|
|
54334
54334
|
ct.windowManager.open({
|
|
54335
54335
|
title: "Anchor",
|
|
@@ -54358,7 +54358,7 @@ function yhe() {
|
|
|
54358
54358
|
],
|
|
54359
54359
|
initialData: { id: kt },
|
|
54360
54360
|
onSubmit: (Q) => {
|
|
54361
|
-
|
|
54361
|
+
le(ct, Q.getData().id) && Q.close();
|
|
54362
54362
|
}
|
|
54363
54363
|
});
|
|
54364
54364
|
}, Xt = (ct) => {
|
|
@@ -54440,10 +54440,10 @@ function whe() {
|
|
|
54440
54440
|
}, P = (Ke) => {
|
|
54441
54441
|
const qt = typeof Ke;
|
|
54442
54442
|
return Ke === null ? "null" : qt === "object" && Array.isArray(Ke) ? "array" : qt === "object" && T(Ke, String, (We, pt) => pt.isPrototypeOf(We)) ? "string" : qt;
|
|
54443
|
-
}, R = (Ke) => (qt) => P(qt) === Ke, F = (Ke) => (qt) => Ke === qt, H = R("string"), K = F(void 0), he = (Ke) => Ke == null, Me = (Ke) => !he(Ke), ye = (Ke) => (qt) => !Ke(qt), Te = Object.hasOwnProperty, et = (Ke, qt) => Te.call(Ke, qt),
|
|
54443
|
+
}, R = (Ke) => (qt) => P(qt) === Ke, F = (Ke) => (qt) => Ke === qt, H = R("string"), K = F(void 0), he = (Ke) => Ke == null, Me = (Ke) => !he(Ke), ye = (Ke) => (qt) => !Ke(qt), Te = Object.hasOwnProperty, et = (Ke, qt) => Te.call(Ke, qt), le = (Ke, qt, We) => Ke.length >= qt.length && Ke.substr(We, We + qt.length) === qt, je = (Ke, qt, We = 0, pt) => {
|
|
54444
54444
|
const Y = Ke.indexOf(qt, We);
|
|
54445
54445
|
return Y !== -1 ? K(pt) ? !0 : Y + qt.length <= pt : !1;
|
|
54446
|
-
}, Xt = (Ke, qt) =>
|
|
54446
|
+
}, Xt = (Ke, qt) => le(Ke, qt, 0), it = "\uFEFF", oe = (Ke) => Ke === it, Et = (Ke) => Ke.replace(/\uFEFF/g, "");
|
|
54447
54447
|
var rn = tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");
|
|
54448
54448
|
const dn = (Ke) => Ke.nodeType === 3, Xe = (Ke) => Ke.nodeType === 1, ve = (Ke) => /^[(\[{ \u00a0]$/.test(Ke), Xn = (Ke) => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(Ke), ct = (Ke) => /[?!,.;:]/.test(Ke), kt = (Ke, qt, We) => {
|
|
54449
54449
|
for (let pt = qt - 1; pt >= 0; pt--) {
|
|
@@ -54621,7 +54621,7 @@ function xhe() {
|
|
|
54621
54621
|
Se[Fn] = ze(vo, Fn);
|
|
54622
54622
|
}
|
|
54623
54623
|
return Se;
|
|
54624
|
-
},
|
|
54624
|
+
}, le = (Ne, ze) => {
|
|
54625
54625
|
for (let Je = 0, Se = Ne.length; Je < Se; Je++) {
|
|
54626
54626
|
const Fn = Ne[Je];
|
|
54627
54627
|
ze(Fn, Je);
|
|
@@ -55891,7 +55891,7 @@ function xhe() {
|
|
|
55891
55891
|
return Fn !== -1 ? R(Se) ? !0 : Fn + ze.length <= Se : !1;
|
|
55892
55892
|
}, Ke = String.fromCodePoint, qt = (Ne, ze, Je) => dt(Ke(Ne).toLowerCase(), Je) ? !0 : dt(ze.toLowerCase(), Je) || dt(ze.toLowerCase().replace(/\s+/g, ""), Je), We = (Ne, ze) => {
|
|
55893
55893
|
const Je = [], Se = ze.toLowerCase();
|
|
55894
|
-
return
|
|
55894
|
+
return le(Ne.characters, (Fn) => {
|
|
55895
55895
|
qt(Fn[0], Fn[1], Se) && Je.push(Fn);
|
|
55896
55896
|
}), et(Je, (Fn) => ({
|
|
55897
55897
|
text: Fn[1],
|
|
@@ -56060,7 +56060,7 @@ function She() {
|
|
|
56060
56060
|
};
|
|
56061
56061
|
};
|
|
56062
56062
|
var et = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
56063
|
-
const
|
|
56063
|
+
const le = (it) => (oe) => {
|
|
56064
56064
|
const Et = () => {
|
|
56065
56065
|
oe.setEnabled(it.selection.isEditable());
|
|
56066
56066
|
};
|
|
@@ -56086,7 +56086,7 @@ function She() {
|
|
|
56086
56086
|
onItemAction: (Xe, ve) => {
|
|
56087
56087
|
Et.set(ve), rn(ve);
|
|
56088
56088
|
},
|
|
56089
|
-
onSetup:
|
|
56089
|
+
onSetup: le(it)
|
|
56090
56090
|
});
|
|
56091
56091
|
const dn = (Xe) => () => {
|
|
56092
56092
|
Et.set(Xe), rn(Xe);
|
|
@@ -56099,7 +56099,7 @@ function She() {
|
|
|
56099
56099
|
text: K(it, Xe),
|
|
56100
56100
|
onAction: dn(Xe)
|
|
56101
56101
|
})),
|
|
56102
|
-
onSetup:
|
|
56102
|
+
onSetup: le(it)
|
|
56103
56103
|
});
|
|
56104
56104
|
};
|
|
56105
56105
|
var Xt = () => {
|
|
@@ -59252,17 +59252,17 @@ function ofe(u, o, i, c, h, m, O, w) {
|
|
|
59252
59252
|
if (h == "nearest")
|
|
59253
59253
|
o.top < H.top ? (Te = -(H.top - o.top + O), i > 0 && o.bottom > H.bottom + Te && (Te = o.bottom - H.bottom + Te + O)) : o.bottom > H.bottom && (Te = o.bottom - H.bottom + O, i < 0 && o.top - Te < H.top && (Te = -(H.top + Te - o.top + O)));
|
|
59254
59254
|
else {
|
|
59255
|
-
let et = o.bottom - o.top,
|
|
59256
|
-
Te = (h == "center" && et <=
|
|
59255
|
+
let et = o.bottom - o.top, le = H.bottom - H.top;
|
|
59256
|
+
Te = (h == "center" && et <= le ? o.top + et / 2 - le / 2 : h == "start" || h == "center" && i < 0 ? o.top - O : o.bottom - le + O) - H.top;
|
|
59257
59257
|
}
|
|
59258
59258
|
if (c == "nearest" ? o.left < H.left ? (ye = -(H.left - o.left + m), i > 0 && o.right > H.right + ye && (ye = o.right - H.right + ye + m)) : o.right > H.right && (ye = o.right - H.right + m, i < 0 && o.left < H.left + ye && (ye = -(H.left + ye - o.left + m))) : ye = (c == "center" ? o.left + (o.right - o.left) / 2 - (H.right - H.left) / 2 : c == "start" == w ? o.left - m : o.right - (H.right - H.left) + m) - H.left, ye || Te)
|
|
59259
59259
|
if (K)
|
|
59260
59260
|
P.scrollBy(ye, Te);
|
|
59261
59261
|
else {
|
|
59262
|
-
let et = 0,
|
|
59262
|
+
let et = 0, le = 0;
|
|
59263
59263
|
if (Te) {
|
|
59264
59264
|
let je = R.scrollTop;
|
|
59265
|
-
R.scrollTop += Te / Me,
|
|
59265
|
+
R.scrollTop += Te / Me, le = (R.scrollTop - je) * Me;
|
|
59266
59266
|
}
|
|
59267
59267
|
if (ye) {
|
|
59268
59268
|
let je = R.scrollLeft;
|
|
@@ -59270,10 +59270,10 @@ function ofe(u, o, i, c, h, m, O, w) {
|
|
|
59270
59270
|
}
|
|
59271
59271
|
o = {
|
|
59272
59272
|
left: o.left - et,
|
|
59273
|
-
top: o.top -
|
|
59273
|
+
top: o.top - le,
|
|
59274
59274
|
right: o.right - et,
|
|
59275
|
-
bottom: o.bottom -
|
|
59276
|
-
}, et && Math.abs(et - ye) < 1 && (c = "nearest"),
|
|
59275
|
+
bottom: o.bottom - le
|
|
59276
|
+
}, et && Math.abs(et - ye) < 1 && (c = "nearest"), le && Math.abs(le - Te) < 1 && (h = "nearest");
|
|
59277
59277
|
}
|
|
59278
59278
|
if (K)
|
|
59279
59279
|
break;
|
|
@@ -61007,8 +61007,8 @@ class Pne extends Pa {
|
|
|
61007
61007
|
Xt.breakAtStart ? it.breakAfter = 1 : Xt.content.length && it.merge(it.length, it.length, Xt.content[0], !1, Xt.openStart, 0) && (it.breakAfter = Xt.content[0].breakAfter, Xt.content.shift()), je.content.length && it.merge(0, 0, je.content[je.content.length - 1], !0, 0, je.openEnd) && je.content.pop(), H = je.content.concat(it).concat(Xt.content);
|
|
61008
61008
|
} else
|
|
61009
61009
|
({ content: H, breakAtStart: K, openStart: he, openEnd: Me } = zR.build(this.view.state.doc, R, F, this.decorations, this.dynamicDecorationMap));
|
|
61010
|
-
let { i: ye, off: Te } = m.findPos(P, 1), { i: et, off:
|
|
61011
|
-
qse(this, et,
|
|
61010
|
+
let { i: ye, off: Te } = m.findPos(P, 1), { i: et, off: le } = m.findPos(T, -1);
|
|
61011
|
+
qse(this, et, le, ye, Te, H, K, he, Me);
|
|
61012
61012
|
}
|
|
61013
61013
|
c && this.fixCompositionDOM(c);
|
|
61014
61014
|
}
|
|
@@ -61420,12 +61420,12 @@ function ZK(u, o, i) {
|
|
|
61420
61420
|
for (let ye = 0; ye < Me.length; ye++) {
|
|
61421
61421
|
let Te = Me[ye];
|
|
61422
61422
|
h && UY(h, Te) && (Te = Ane(Dne(Te, h.bottom), h.top));
|
|
61423
|
-
let et = Dfe(o, Te),
|
|
61424
|
-
if (et == 0 &&
|
|
61423
|
+
let et = Dfe(o, Te), le = Rfe(i, Te);
|
|
61424
|
+
if (et == 0 && le == 0)
|
|
61425
61425
|
return he.nodeType == 3 ? Rne(he, o, i) : ZK(he, o, i);
|
|
61426
|
-
if (!c || O >
|
|
61427
|
-
c = he, h = Te, m = et, O =
|
|
61428
|
-
let je =
|
|
61426
|
+
if (!c || O > le || O == le && m > et) {
|
|
61427
|
+
c = he, h = Te, m = et, O = le;
|
|
61428
|
+
let je = le ? i < Te.top ? -1 : 1 : et ? o < Te.left ? -1 : 1 : 0;
|
|
61429
61429
|
w = !je || (je > 0 ? ye < Me.length - 1 : ye > 0);
|
|
61430
61430
|
}
|
|
61431
61431
|
et == 0 ? i > Te.bottom && (!R || R.bottom < Te.bottom) ? (T = he, R = Te) : i < Te.top && (!F || F.top > Te.top) && (P = he, F = Te) : R && UY(R, Te) ? R = Dne(R, Te.bottom) : F && UY(F, Te) && (F = Ane(F, Te.top));
|
|
@@ -61499,14 +61499,14 @@ function xre(u, o, i, c = -1) {
|
|
|
61499
61499
|
return H > T.top + T.height / 2 ? T.to : T.from;
|
|
61500
61500
|
({ node: Te, offset: et } = ZK(je.dom, R, F));
|
|
61501
61501
|
}
|
|
61502
|
-
let
|
|
61503
|
-
if (!
|
|
61502
|
+
let le = u.docView.nearest(Te);
|
|
61503
|
+
if (!le)
|
|
61504
61504
|
return null;
|
|
61505
|
-
if (
|
|
61506
|
-
let je =
|
|
61507
|
-
return o.y < je.top || o.y <= je.bottom && o.x <= (je.left + je.right) / 2 ?
|
|
61505
|
+
if (le.isWidget && ((m = le.dom) === null || m === void 0 ? void 0 : m.nodeType) == 1) {
|
|
61506
|
+
let je = le.dom.getBoundingClientRect();
|
|
61507
|
+
return o.y < je.top || o.y <= je.bottom && o.x <= (je.left + je.right) / 2 ? le.posAtStart : le.posAtEnd;
|
|
61508
61508
|
} else
|
|
61509
|
-
return
|
|
61509
|
+
return le.localPosFromDOM(Te, et) + le.posAtStart;
|
|
61510
61510
|
}
|
|
61511
61511
|
function Mne(u, o, i, c, h) {
|
|
61512
61512
|
let m = Math.round((c - o.left) * u.defaultCharacterWidth);
|
|
@@ -62916,8 +62916,8 @@ class qne {
|
|
|
62916
62916
|
}
|
|
62917
62917
|
y4 && (P |= 2);
|
|
62918
62918
|
}
|
|
62919
|
-
let
|
|
62920
|
-
return
|
|
62919
|
+
let le = !this.viewportIsAppropriate(this.viewport, R) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
|
|
62920
|
+
return le && (P & 2 && (P |= this.updateScaler()), this.viewport = this.getViewport(R, this.scrollTarget), P |= this.updateForViewport()), (P & 2 || le) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(O ? [] : this.lineGaps, o)), P |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, o.docView.enforceCursorAssoc()), P;
|
|
62921
62921
|
}
|
|
62922
62922
|
get visibleTop() {
|
|
62923
62923
|
return this.scaler.fromDOM(this.pixelViewport.top);
|
|
@@ -62987,9 +62987,9 @@ class qne {
|
|
|
62987
62987
|
}
|
|
62988
62988
|
let ye = wme(o, (Te) => Te.from >= H.from && Te.to <= H.to && Math.abs(Te.from - R) < m && Math.abs(Te.to - F) < m && !Me.some((et) => Te.from < et && Te.to > et));
|
|
62989
62989
|
if (!ye) {
|
|
62990
|
-
if (F < H.to && i && c && i.visibleRanges.some((
|
|
62991
|
-
let
|
|
62992
|
-
|
|
62990
|
+
if (F < H.to && i && c && i.visibleRanges.some((le) => le.from <= F && le.to >= F)) {
|
|
62991
|
+
let le = i.moveToLineBoundary(so.cursor(F), !1, !0).head;
|
|
62992
|
+
le > R && (F = le);
|
|
62993
62993
|
}
|
|
62994
62994
|
let Te = this.gapSize(H, R, F, K), et = c || Te < 2e6 ? Te : 2e6;
|
|
62995
62995
|
ye = new jY(R, F, Te, et);
|
|
@@ -63005,8 +63005,8 @@ class qne {
|
|
|
63005
63005
|
if (c) {
|
|
63006
63006
|
let Me = h / this.heightOracle.lineLength * this.heightOracle.lineHeight, ye, Te;
|
|
63007
63007
|
if (H != null) {
|
|
63008
|
-
let et = qQ(F, H),
|
|
63009
|
-
ye = et -
|
|
63008
|
+
let et = qQ(F, H), le = ((this.visibleBottom - this.visibleTop) / 2 + Me) / R.height;
|
|
63009
|
+
ye = et - le, Te = et + le;
|
|
63010
63010
|
} else
|
|
63011
63011
|
ye = (this.visibleTop - R.top - Me) / R.height, Te = (this.visibleBottom - R.top + Me) / R.height;
|
|
63012
63012
|
K = XQ(F, ye), he = XQ(F, Te);
|
|
@@ -63015,12 +63015,12 @@ class qne {
|
|
|
63015
63015
|
if (Me > 2e6)
|
|
63016
63016
|
for (let it of o)
|
|
63017
63017
|
it.from >= R.from && it.from < R.to && it.size != it.displaySize && it.from * this.heightOracle.charWidth + Te < this.pixelViewport.left && (Te = it.size - it.displaySize);
|
|
63018
|
-
let et = this.pixelViewport.left + Te,
|
|
63018
|
+
let et = this.pixelViewport.left + Te, le = this.pixelViewport.right + Te, je, Xt;
|
|
63019
63019
|
if (H != null) {
|
|
63020
|
-
let it = qQ(F, H), oe = ((
|
|
63020
|
+
let it = qQ(F, H), oe = ((le - et) / 2 + ye) / Me;
|
|
63021
63021
|
je = it - oe, Xt = it + oe;
|
|
63022
63022
|
} else
|
|
63023
|
-
je = (et - ye) / Me, Xt = (
|
|
63023
|
+
je = (et - ye) / Me, Xt = (le + ye) / Me;
|
|
63024
63024
|
K = XQ(F, je), he = XQ(F, Xt);
|
|
63025
63025
|
}
|
|
63026
63026
|
K > R.from && T(R.from, K, R, F), he < R.to && T(he, R.to, R, F);
|
|
@@ -64647,8 +64647,8 @@ function Rme(u, o = Eme) {
|
|
|
64647
64647
|
h(et, !0), K[et] || (K[et] = {
|
|
64648
64648
|
preventDefault: !0,
|
|
64649
64649
|
stopPropagation: !1,
|
|
64650
|
-
run: [(
|
|
64651
|
-
let je = u2 = { view:
|
|
64650
|
+
run: [(le) => {
|
|
64651
|
+
let je = u2 = { view: le, prefix: et, scope: O };
|
|
64652
64652
|
return setTimeout(() => {
|
|
64653
64653
|
u2 == je && (u2 = null);
|
|
64654
64654
|
}, Dme), !0;
|
|
@@ -64862,7 +64862,7 @@ const qY = /* @__PURE__ */ ys.define({
|
|
|
64862
64862
|
R.style.top = ER;
|
|
64863
64863
|
continue;
|
|
64864
64864
|
}
|
|
64865
|
-
let K = T.arrow ? P.dom.querySelector(".cm-tooltip-arrow") : null, he = K ? 7 : 0, Me = H.right - H.left, ye = (o = ooe.get(P)) !== null && o !== void 0 ? o : H.bottom - H.top, Te = P.offset || Qme, et = this.view.textDirection == wc.LTR,
|
|
64865
|
+
let K = T.arrow ? P.dom.querySelector(".cm-tooltip-arrow") : null, he = K ? 7 : 0, Me = H.right - H.left, ye = (o = ooe.get(P)) !== null && o !== void 0 ? o : H.bottom - H.top, Te = P.offset || Qme, et = this.view.textDirection == wc.LTR, le = H.width > c.right - c.left ? et ? c.left : c.right - H.width : et ? Math.max(c.left, Math.min(F.left - (K ? 14 : 0) + Te.x, c.right - Me)) : Math.min(Math.max(c.left, F.left - Me + (K ? 14 : 0) - Te.x), c.right - Me), je = this.above[w];
|
|
64866
64866
|
!T.strictSide && (je ? F.top - ye - he - Te.y < c.top : F.bottom + ye + he + Te.y > c.bottom) && je == c.bottom - F.bottom > F.top - c.top && (je = this.above[w] = !je);
|
|
64867
64867
|
let Xt = (je ? F.top - c.top : c.bottom - F.bottom) - he;
|
|
64868
64868
|
if (Xt < ye && P.resize !== !1) {
|
|
@@ -64872,15 +64872,15 @@ const qY = /* @__PURE__ */ ys.define({
|
|
|
64872
64872
|
}
|
|
64873
64873
|
ooe.set(P, ye), R.style.height = (ye = Xt) / m + "px";
|
|
64874
64874
|
} else R.style.height && (R.style.height = "");
|
|
64875
|
-
let it = je ? F.top - ye - he - Te.y : F.bottom + he + Te.y, oe =
|
|
64875
|
+
let it = je ? F.top - ye - he - Te.y : F.bottom + he + Te.y, oe = le + Me;
|
|
64876
64876
|
if (P.overlap !== !0)
|
|
64877
64877
|
for (let Et of O)
|
|
64878
|
-
Et.left < oe && Et.right >
|
|
64879
|
-
if (this.position == "absolute" ? (R.style.top = (it - u.parent.top) / m + "px", soe(R, (
|
|
64880
|
-
let Et = F.left + (et ? Te.x : -Te.x) - (
|
|
64878
|
+
Et.left < oe && Et.right > le && Et.top < it + ye && Et.bottom > it && (it = je ? Et.top - ye - 2 - he : Et.bottom + he + 2);
|
|
64879
|
+
if (this.position == "absolute" ? (R.style.top = (it - u.parent.top) / m + "px", soe(R, (le - u.parent.left) / h)) : (R.style.top = it / m + "px", soe(R, le / h)), K) {
|
|
64880
|
+
let Et = F.left + (et ? Te.x : -Te.x) - (le + 14 - 7);
|
|
64881
64881
|
K.style.left = Et / h + "px";
|
|
64882
64882
|
}
|
|
64883
|
-
P.overlap !== !0 && O.push({ left:
|
|
64883
|
+
P.overlap !== !0 && O.push({ left: le, top: it, right: oe, bottom: it + ye }), R.classList.toggle("cm-tooltip-above", je), R.classList.toggle("cm-tooltip-below", !je), P.positioned && P.positioned(u.space);
|
|
64884
64884
|
}
|
|
64885
64885
|
}
|
|
64886
64886
|
maybeMeasure() {
|
|
@@ -66478,11 +66478,11 @@ function tge(u) {
|
|
|
66478
66478
|
} else Xe == -3 ? P = Et : Xe == -4 && (R = Et);
|
|
66479
66479
|
return oe;
|
|
66480
66480
|
}
|
|
66481
|
-
let et = [],
|
|
66481
|
+
let et = [], le = [];
|
|
66482
66482
|
for (; w.pos > 0; )
|
|
66483
|
-
F(u.start || 0, u.bufferStart || 0, et,
|
|
66484
|
-
let je = (o = u.length) !== null && o !== void 0 ? o : et.length ?
|
|
66485
|
-
return new Zl(T[u.topID], et.reverse(),
|
|
66483
|
+
F(u.start || 0, u.bufferStart || 0, et, le, -1, 0);
|
|
66484
|
+
let je = (o = u.length) !== null && o !== void 0 ? o : et.length ? le[0] + et[0].length : 0;
|
|
66485
|
+
return new Zl(T[u.topID], et.reverse(), le.reverse(), je);
|
|
66486
66486
|
}
|
|
66487
66487
|
const doe = /* @__PURE__ */ new WeakMap();
|
|
66488
66488
|
function hF(u, o) {
|
|
@@ -66511,15 +66511,15 @@ function $J(u, o, i, c, h, m, O, w, T) {
|
|
|
66511
66511
|
/* Balance.BranchFactor */
|
|
66512
66512
|
), F = [], H = [];
|
|
66513
66513
|
function K(he, Me, ye, Te, et) {
|
|
66514
|
-
for (let
|
|
66515
|
-
let je =
|
|
66516
|
-
for (
|
|
66517
|
-
let oe = hF(u, he[
|
|
66514
|
+
for (let le = ye; le < Te; ) {
|
|
66515
|
+
let je = le, Xt = Me[le], it = hF(u, he[le]);
|
|
66516
|
+
for (le++; le < Te; le++) {
|
|
66517
|
+
let oe = hF(u, he[le]);
|
|
66518
66518
|
if (it + oe >= R)
|
|
66519
66519
|
break;
|
|
66520
66520
|
it += oe;
|
|
66521
66521
|
}
|
|
66522
|
-
if (
|
|
66522
|
+
if (le == je + 1) {
|
|
66523
66523
|
if (it > R) {
|
|
66524
66524
|
let oe = he[je];
|
|
66525
66525
|
K(oe.children, oe.positions, 0, oe.children.length, Me[je] + et);
|
|
@@ -66527,8 +66527,8 @@ function $J(u, o, i, c, h, m, O, w, T) {
|
|
|
66527
66527
|
}
|
|
66528
66528
|
F.push(he[je]);
|
|
66529
66529
|
} else {
|
|
66530
|
-
let oe = Me[
|
|
66531
|
-
F.push($J(u, he, Me, je,
|
|
66530
|
+
let oe = Me[le - 1] + he[le - 1].length - Xt;
|
|
66531
|
+
F.push($J(u, he, Me, je, le, Xt, oe, null, T));
|
|
66532
66532
|
}
|
|
66533
66533
|
H.push(Xt + et - m);
|
|
66534
66534
|
}
|
|
@@ -66813,10 +66813,10 @@ function age(u) {
|
|
|
66813
66813
|
function P(R, F, H, K, he, Me) {
|
|
66814
66814
|
let ye = i[Me], Te = [], et = [];
|
|
66815
66815
|
moe(O, R, ye, Te, et, K);
|
|
66816
|
-
let
|
|
66816
|
+
let le = w[ye + 1], je = w[ye + 2];
|
|
66817
66817
|
T.push(Te.length);
|
|
66818
|
-
let Xt = Me ? P(ye + 4, w[ye + 3], O.set.types[w[ye]],
|
|
66819
|
-
return Te.push(Xt), et.push(
|
|
66818
|
+
let Xt = Me ? P(ye + 4, w[ye + 3], O.set.types[w[ye]], le, je - le, Me - 1) : o.toTree();
|
|
66819
|
+
return Te.push(Xt), et.push(le - K), moe(O, w[ye + 3], F, Te, et, K), new Zl(H, Te, et, he);
|
|
66820
66820
|
}
|
|
66821
66821
|
h.children[m] = P(0, w.length, Zh.none, 0, O.length, i.length - 1);
|
|
66822
66822
|
for (let R of T) {
|
|
@@ -67124,11 +67124,11 @@ class pge {
|
|
|
67124
67124
|
if (H && H.overlay) {
|
|
67125
67125
|
let K = o.node.enter(H.overlay[0].from + w, 1), he = this.highlighters.filter((ye) => !ye.scope || ye.scope(H.tree.type)), Me = o.firstChild();
|
|
67126
67126
|
for (let ye = 0, Te = w; ; ye++) {
|
|
67127
|
-
let et = ye < H.overlay.length ? H.overlay[ye] : null,
|
|
67127
|
+
let et = ye < H.overlay.length ? H.overlay[ye] : null, le = et ? et.from + w : T, je = Math.max(i, Te), Xt = Math.min(c, le);
|
|
67128
67128
|
if (je < Xt && Me)
|
|
67129
|
-
for (; o.from < Xt && (this.highlightRange(o, je, Xt, h, m), this.startSpan(Math.min(Xt, o.to), P), !(o.to >=
|
|
67129
|
+
for (; o.from < Xt && (this.highlightRange(o, je, Xt, h, m), this.startSpan(Math.min(Xt, o.to), P), !(o.to >= le || !o.nextSibling())); )
|
|
67130
67130
|
;
|
|
67131
|
-
if (!et ||
|
|
67131
|
+
if (!et || le > c)
|
|
67132
67132
|
break;
|
|
67133
67133
|
Te = et.to + w, Te > i && (this.highlightRange(K.cursor(), Math.max(i, et.from + w), Math.min(c, Te), "", he), this.startSpan(Math.min(c, Te), P));
|
|
67134
67134
|
}
|
|
@@ -70530,19 +70530,19 @@ class E0e {
|
|
|
70530
70530
|
return null;
|
|
70531
70531
|
let { chars: i, folded: c, any: h, precise: m, byWord: O } = this;
|
|
70532
70532
|
if (i.length == 1) {
|
|
70533
|
-
let et = WS(o, 0),
|
|
70533
|
+
let et = WS(o, 0), le = r4(et), je = le == o.length ? 0 : -100;
|
|
70534
70534
|
if (et != i[0]) if (et == c[0])
|
|
70535
70535
|
je += -200;
|
|
70536
70536
|
else
|
|
70537
70537
|
return null;
|
|
70538
|
-
return this.ret(je, [0,
|
|
70538
|
+
return this.ret(je, [0, le]);
|
|
70539
70539
|
}
|
|
70540
70540
|
let w = o.indexOf(this.pattern);
|
|
70541
70541
|
if (w == 0)
|
|
70542
70542
|
return this.ret(o.length == this.pattern.length ? 0 : -100, [0, this.pattern.length]);
|
|
70543
70543
|
let T = i.length, P = 0;
|
|
70544
70544
|
if (w < 0) {
|
|
70545
|
-
for (let et = 0,
|
|
70545
|
+
for (let et = 0, le = Math.min(o.length, 200); et < le && P < T; ) {
|
|
70546
70546
|
let je = WS(o, et);
|
|
70547
70547
|
(je == i[P] || je == c[P]) && (h[P++] = et), et += r4(je);
|
|
70548
70548
|
}
|
|
@@ -70550,7 +70550,7 @@ class E0e {
|
|
|
70550
70550
|
return null;
|
|
70551
70551
|
}
|
|
70552
70552
|
let R = 0, F = 0, H = !1, K = 0, he = -1, Me = -1, ye = /[a-z]/.test(o), Te = !0;
|
|
70553
|
-
for (let et = 0,
|
|
70553
|
+
for (let et = 0, le = Math.min(o.length, 200), je = 0; et < le && F < T; ) {
|
|
70554
70554
|
let Xt = WS(o, et);
|
|
70555
70555
|
w < 0 && (R < T && Xt == i[R] && (m[R++] = et), K < T && (Xt == i[K] || Xt == c[K] ? (K == 0 && (he = et), Me = et + 1, K++) : K = 0));
|
|
70556
70556
|
let it, oe = Xt < 255 ? Xt >= 48 && Xt <= 57 || Xt >= 97 && Xt <= 122 ? 2 : Xt >= 65 && Xt <= 90 ? 1 : 0 : (it = Ihe(Xt)) != it.toLowerCase() ? 1 : it != it.toUpperCase() ? 2 : 0;
|
|
@@ -74901,7 +74901,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74901
74901
|
class: wn(["grid xs:grid-cols-1 xl:grid-cols-2 gap-4 mb-3", (ye = i.xprops) == null ? void 0 : ye.customFiltersMainClass])
|
|
74902
74902
|
}, [
|
|
74903
74903
|
(ke(!0), $e(Qo, null, Hr(m.customFilters, (Te, et) => {
|
|
74904
|
-
var
|
|
74904
|
+
var le;
|
|
74905
74905
|
return ke(), $e(Qo, { key: et }, [
|
|
74906
74906
|
Te.type == "dropdown" ? (ke(), Wd(T, {
|
|
74907
74907
|
key: 0,
|
|
@@ -74913,7 +74913,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74913
74913
|
field_name: Te.field_name,
|
|
74914
74914
|
label_name: Te.field_label,
|
|
74915
74915
|
show: !1,
|
|
74916
|
-
placeholder: ((
|
|
74916
|
+
placeholder: ((le = i.language) == null ? void 0 : le.please_select_an_option) ?? "Please select an option"
|
|
74917
74917
|
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : Ct("", !0),
|
|
74918
74918
|
Te.type == "text" ? (ke(), Wd(P, {
|
|
74919
74919
|
key: 1,
|
|
@@ -74938,7 +74938,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74938
74938
|
], 64);
|
|
74939
74939
|
}), 128)),
|
|
74940
74940
|
(ke(!0), $e(Qo, null, Hr(i.columns, (Te, et) => {
|
|
74941
|
-
var
|
|
74941
|
+
var le;
|
|
74942
74942
|
return ke(), $e(Qo, { key: et }, [
|
|
74943
74943
|
Te.hasOwnFilter && Object.keys(Te.hasOwnFilter).length > 0 ? (ke(), $e(Qo, { key: 0 }, [
|
|
74944
74944
|
Te.hasOwnFilter.type == "dropdown" ? (ke(), Wd(T, {
|
|
@@ -74951,7 +74951,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74951
74951
|
field_name: Te.field_name,
|
|
74952
74952
|
label_name: Te.field_label,
|
|
74953
74953
|
show: !1,
|
|
74954
|
-
placeholder: ((
|
|
74954
|
+
placeholder: ((le = i.language) == null ? void 0 : le.please_select_an_option) ?? "Please select an option"
|
|
74955
74955
|
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : Ct("", !0),
|
|
74956
74956
|
Te.hasOwnFilter.type == "text" ? (ke(), Wd(P, {
|
|
74957
74957
|
key: 1,
|
|
@@ -75029,7 +75029,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
75029
75029
|
o[6] || (o[6] = Z("th", { class: "w-full px-4 py-2 lg:!w-[3%]" }, null, -1)),
|
|
75030
75030
|
(ke(!0), $e(Qo, null, Hr(i.columns, (Te, et) => (ke(), $e("th", {
|
|
75031
75031
|
key: et,
|
|
75032
|
-
onClick: (
|
|
75032
|
+
onClick: (le) => m.updateSortColumn(Te.field_name, Te.sortable),
|
|
75033
75033
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
75034
75034
|
}, [
|
|
75035
75035
|
Vo(Mt(Te.field_label) + " ", 1),
|
|
@@ -75094,33 +75094,33 @@ function ave(u, o, i, c, h, m) {
|
|
|
75094
75094
|
Z("td", nve, [
|
|
75095
75095
|
Z("input", {
|
|
75096
75096
|
checked: h.checkedIds.includes(Te.id),
|
|
75097
|
-
onChange: (
|
|
75097
|
+
onChange: (le) => m.toggleCheck(Te.id),
|
|
75098
75098
|
type: "checkbox",
|
|
75099
75099
|
value: "",
|
|
75100
75100
|
class: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
|
|
75101
75101
|
}, null, 40, ove)
|
|
75102
75102
|
]),
|
|
75103
|
-
(ke(!0), $e(Qo, null, Hr(i.columns, (
|
|
75103
|
+
(ke(!0), $e(Qo, null, Hr(i.columns, (le, je) => (ke(), $e("td", {
|
|
75104
75104
|
key: je,
|
|
75105
|
-
"data-label":
|
|
75105
|
+
"data-label": le.field_label,
|
|
75106
75106
|
class: wn(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700", {
|
|
75107
75107
|
/* 'rounded-t-lg lg:rounded-t-none': colIndex === 0,*/
|
|
75108
75108
|
"rounded-b-lg lg:rounded-b-none": je === i.columns.length - 1
|
|
75109
75109
|
}])
|
|
75110
75110
|
}, [
|
|
75111
75111
|
Z("div", rve, [
|
|
75112
|
-
|
|
75112
|
+
le.tdComp ? (ke(), Wd(p4(m.forDynCompIs(le.tdComp)), {
|
|
75113
75113
|
key: 0,
|
|
75114
75114
|
language: i.language,
|
|
75115
75115
|
row: Te,
|
|
75116
|
-
field:
|
|
75116
|
+
field: le.field_name,
|
|
75117
75117
|
xprops: i.xprops,
|
|
75118
|
-
tdProps:
|
|
75118
|
+
tdProps: le.tdProps,
|
|
75119
75119
|
onDeleteAction: o[3] || (o[3] = (Xt) => m.GetItemLists()),
|
|
75120
75120
|
onEditAction: (Xt) => m.editAction(Te),
|
|
75121
75121
|
onGeneralAction: (Xt) => m.generalAction(Te)
|
|
75122
75122
|
}, null, 40, ["language", "row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ke(), $e(Qo, { key: 1 }, [
|
|
75123
|
-
Vo(Mt(Te[
|
|
75123
|
+
Vo(Mt(Te[le.field_name]), 1)
|
|
75124
75124
|
], 64))
|
|
75125
75125
|
])
|
|
75126
75126
|
], 10, sve))), 128))
|