agilebuilder-ui 1.0.85-temp6 → 1.0.85-temp7
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/lib/super-ui.js
CHANGED
|
@@ -21030,9 +21030,7 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
|
|
|
21030
21030
|
// 点击超链接
|
|
21031
21031
|
clickHyperLink(e, t, n, o) {
|
|
21032
21032
|
let l;
|
|
21033
|
-
e && e.formatter && e.formatter.options && e.formatter.options.format && (l = e.formatter.options.format)
|
|
21034
|
-
debugger;
|
|
21035
|
-
if (this.rowLinkConfigMapping[o] && (l = this.rowLinkConfigMapping[o]), l && l !== "") {
|
|
21033
|
+
if (e && e.formatter && e.formatter.options && e.formatter.options.format && (l = e.formatter.options.format), this.rowLinkConfigMapping[o] && (l = this.rowLinkConfigMapping[o]), l && l !== "") {
|
|
21036
21034
|
let s = !0;
|
|
21037
21035
|
const d = store$1.get(n), m = JSON.parse(l);
|
|
21038
21036
|
if (console.log("gupre-grid---clickHyperLink--jumpPageSetting=", m), m.beforeClick) {
|
|
@@ -22491,7 +22489,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22491
22489
|
], 4))
|
|
22492
22490
|
]);
|
|
22493
22491
|
}
|
|
22494
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
22492
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_aa0c592b_lang = "", _sfc_main$1h = {
|
|
22495
22493
|
components: {
|
|
22496
22494
|
DynamicInput,
|
|
22497
22495
|
RowOperation,
|
|
@@ -22831,7 +22829,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22831
22829
|
o,
|
|
22832
22830
|
this.listCode
|
|
22833
22831
|
);
|
|
22834
|
-
return l.jumpPageSetting && (rowLinkConfigMapping[t] = l.jumpPageSetting), l.icon = this.getHyperIconClass(l), l;
|
|
22832
|
+
return l.jumpPageSetting && (this.rowLinkConfigMapping[t] = l.jumpPageSetting), l.icon = this.getHyperIconClass(l), l;
|
|
22835
22833
|
},
|
|
22836
22834
|
getHyperIconClass(e) {
|
|
22837
22835
|
let t;
|
|
@@ -23271,7 +23269,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23271
23269
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23272
23270
|
]);
|
|
23273
23271
|
}
|
|
23274
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23272
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-aa0c592b"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
|
|
23275
23273
|
components: {
|
|
23276
23274
|
DynamicInput,
|
|
23277
23275
|
RowOperation,
|
|
@@ -71866,7 +71864,7 @@ Required: ` + u.join(", "));
|
|
|
71866
71864
|
ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
|
|
71867
71865
|
ua.DOM.unbind(document, "mouseup", f);
|
|
71868
71866
|
});
|
|
71869
|
-
},
|
|
71867
|
+
}, e8 = function(r) {
|
|
71870
71868
|
r.on("focusout", function() {
|
|
71871
71869
|
fg(r);
|
|
71872
71870
|
});
|
|
@@ -71874,23 +71872,23 @@ Required: ` + u.join(", "));
|
|
|
71874
71872
|
r.on("mouseup touchend", function(f) {
|
|
71875
71873
|
u.throttle();
|
|
71876
71874
|
});
|
|
71877
|
-
},
|
|
71875
|
+
}, t8 = function(r, u) {
|
|
71878
71876
|
var f = Wr().browser;
|
|
71879
|
-
f.isIE() ?
|
|
71877
|
+
f.isIE() ? e8(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
|
|
71880
71878
|
QC(p) || fg(r);
|
|
71881
71879
|
});
|
|
71882
|
-
},
|
|
71880
|
+
}, n8 = function(r) {
|
|
71883
71881
|
var u = g1(function() {
|
|
71884
71882
|
fg(r);
|
|
71885
71883
|
}, 0);
|
|
71886
71884
|
r.on("init", function() {
|
|
71887
|
-
r.inline && Cc(r, u),
|
|
71885
|
+
r.inline && Cc(r, u), t8(r, u);
|
|
71888
71886
|
}), r.on("remove", function() {
|
|
71889
71887
|
u.cancel();
|
|
71890
71888
|
});
|
|
71891
71889
|
}, rd, vg = ua.DOM, p4 = function(r) {
|
|
71892
71890
|
return wc.isEditorUIElement(r);
|
|
71893
|
-
},
|
|
71891
|
+
}, r8 = function(r) {
|
|
71894
71892
|
var u = r.classList;
|
|
71895
71893
|
return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
|
|
71896
71894
|
}, Av = function(r, u) {
|
|
@@ -71898,7 +71896,7 @@ Required: ` + u.join(", "));
|
|
|
71898
71896
|
return p4(_) || (f ? r.dom.is(_, f) : !1);
|
|
71899
71897
|
});
|
|
71900
71898
|
return p !== null;
|
|
71901
|
-
},
|
|
71899
|
+
}, o8 = function(r) {
|
|
71902
71900
|
try {
|
|
71903
71901
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71904
71902
|
return t_(u).fold(function() {
|
|
@@ -71909,15 +71907,15 @@ Required: ` + u.join(", "));
|
|
|
71909
71907
|
} catch {
|
|
71910
71908
|
return document.body;
|
|
71911
71909
|
}
|
|
71912
|
-
},
|
|
71910
|
+
}, a8 = function(r, u) {
|
|
71913
71911
|
var f = u.editor;
|
|
71914
|
-
|
|
71912
|
+
n8(f), f.on("focusin", function() {
|
|
71915
71913
|
var p = r.focusedEditor;
|
|
71916
71914
|
p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
|
|
71917
71915
|
}), f.on("focusout", function() {
|
|
71918
71916
|
_r.setEditorTimeout(f, function() {
|
|
71919
71917
|
var p = r.focusedEditor;
|
|
71920
|
-
!Av(f,
|
|
71918
|
+
!Av(f, o8(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71921
71919
|
});
|
|
71922
71920
|
}), rd || (rd = function(p) {
|
|
71923
71921
|
var _ = r.activeEditor;
|
|
@@ -71925,18 +71923,18 @@ Required: ` + u.join(", "));
|
|
|
71925
71923
|
C.ownerDocument === document && C !== document.body && !Av(_, C) && r.focusedEditor === _ && (_.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71926
71924
|
});
|
|
71927
71925
|
}, vg.bind(document, "focusin", rd));
|
|
71928
|
-
},
|
|
71926
|
+
}, i8 = function(r, u) {
|
|
71929
71927
|
r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
|
|
71930
71928
|
}, m4 = function(r) {
|
|
71931
|
-
r.on("AddEditor", Ue(
|
|
71929
|
+
r.on("AddEditor", Ue(a8, r)), r.on("RemoveEditor", Ue(i8, r));
|
|
71932
71930
|
}, Iv = function(r, u) {
|
|
71933
71931
|
return r.dom.getParent(u, function(f) {
|
|
71934
71932
|
return r.dom.getContentEditable(f) === "true";
|
|
71935
71933
|
});
|
|
71936
|
-
},
|
|
71934
|
+
}, l8 = function(r) {
|
|
71937
71935
|
return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
|
|
71938
71936
|
}, g4 = function(r, u) {
|
|
71939
|
-
return
|
|
71937
|
+
return l8(u).bind(function(f) {
|
|
71940
71938
|
return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
|
|
71941
71939
|
});
|
|
71942
71940
|
}, lm = function(r, u) {
|
|
@@ -71958,21 +71956,21 @@ Required: ` + u.join(", "));
|
|
|
71958
71956
|
r.focus();
|
|
71959
71957
|
}, _4 = function(r) {
|
|
71960
71958
|
return e_(r) || GC(r).isSome();
|
|
71961
|
-
},
|
|
71959
|
+
}, s8 = function(r) {
|
|
71962
71960
|
return r.iframeElement && e_(be.fromDom(r.iframeElement));
|
|
71963
|
-
},
|
|
71961
|
+
}, u8 = function(r) {
|
|
71964
71962
|
var u = r.getBody();
|
|
71965
71963
|
return u && _4(be.fromDom(u));
|
|
71966
|
-
},
|
|
71964
|
+
}, c8 = function(r) {
|
|
71967
71965
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71968
71966
|
return t_(u).filter(function(f) {
|
|
71969
|
-
return !
|
|
71967
|
+
return !r8(f.dom) && Av(r, f.dom);
|
|
71970
71968
|
}).isSome();
|
|
71971
71969
|
}, od = function(r) {
|
|
71972
|
-
return r.inline ?
|
|
71970
|
+
return r.inline ? u8(r) : s8(r);
|
|
71973
71971
|
}, y4 = function(r) {
|
|
71974
|
-
return od(r) ||
|
|
71975
|
-
},
|
|
71972
|
+
return od(r) || c8(r);
|
|
71973
|
+
}, f8 = function(r) {
|
|
71976
71974
|
var u = r.selection, f = r.getBody(), p = u.getRng();
|
|
71977
71975
|
r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
|
|
71978
71976
|
r.selection.setRng(C), p = C;
|
|
@@ -71986,7 +71984,7 @@ Required: ` + u.join(", "));
|
|
|
71986
71984
|
}, l_ = function(r) {
|
|
71987
71985
|
return r.editorManager.setActive(r);
|
|
71988
71986
|
}, b4 = function(r, u) {
|
|
71989
|
-
r.removed || (u ? l_(r) :
|
|
71987
|
+
r.removed || (u ? l_(r) : f8(r));
|
|
71990
71988
|
}, w4 = function(r, u, f, p, _) {
|
|
71991
71989
|
var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
|
|
71992
71990
|
return me.from(C).map(be.fromDom).map(function(P) {
|
|
@@ -72052,7 +72050,7 @@ Required: ` + u.join(", "));
|
|
|
72052
72050
|
if (C = A[_], C)
|
|
72053
72051
|
return C;
|
|
72054
72052
|
}
|
|
72055
|
-
},
|
|
72053
|
+
}, d8 = function(r) {
|
|
72056
72054
|
if (!Of(r.value))
|
|
72057
72055
|
return !1;
|
|
72058
72056
|
var u = r.parent;
|
|
@@ -72168,7 +72166,7 @@ Required: ` + u.join(", "));
|
|
|
72168
72166
|
if (u[C.name] || mg(C))
|
|
72169
72167
|
return !1;
|
|
72170
72168
|
}
|
|
72171
|
-
if (C.type === 8 || C.type === 3 && !
|
|
72169
|
+
if (C.type === 8 || C.type === 3 && !d8(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
|
|
72172
72170
|
return !1;
|
|
72173
72171
|
} while (C = Mr(C, _));
|
|
72174
72172
|
return !0;
|
|
@@ -72205,13 +72203,13 @@ Required: ` + u.join(", "));
|
|
|
72205
72203
|
}, E4 = [
|
|
72206
72204
|
"img",
|
|
72207
72205
|
"video"
|
|
72208
|
-
],
|
|
72206
|
+
], h8 = function(r) {
|
|
72209
72207
|
return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
|
|
72210
|
-
},
|
|
72208
|
+
}, v8 = function(r, u) {
|
|
72211
72209
|
var f = oe(r) ? Re(E4, u) : r;
|
|
72212
72210
|
return !f;
|
|
72213
72211
|
}, Qr = function(r, u, f) {
|
|
72214
|
-
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ?
|
|
72212
|
+
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ? v8(r.allow_svg_data_urls, f) && /^data:image\/svg\+xml/i.test(u) : /^data:/i.test(u);
|
|
72215
72213
|
}, h_ = function(r, u, f) {
|
|
72216
72214
|
var p = 1, _, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
|
|
72217
72215
|
for (P.lastIndex = _ = f; C = P.exec(u); ) {
|
|
@@ -72243,7 +72241,7 @@ Required: ` + u.join(", "));
|
|
|
72243
72241
|
var P = A.exec(r);
|
|
72244
72242
|
return P ? P.index + P[0].length : p.length;
|
|
72245
72243
|
}
|
|
72246
|
-
},
|
|
72244
|
+
}, p8 = function(r, u) {
|
|
72247
72245
|
var f = r.exec(u);
|
|
72248
72246
|
if (f) {
|
|
72249
72247
|
var p = f[1], _ = f[2];
|
|
@@ -72274,7 +72272,7 @@ Required: ` + u.join(", "));
|
|
|
72274
72272
|
return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
|
|
72275
72273
|
}, an = function(ba, fa, pl, pf, fu) {
|
|
72276
72274
|
var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
|
|
72277
|
-
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn &&
|
|
72275
|
+
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h8(fa) === !1) {
|
|
72278
72276
|
if (du = er[fa], !du && br) {
|
|
72279
72277
|
for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
|
|
72280
72278
|
;
|
|
@@ -72307,7 +72305,7 @@ Required: ` + u.join(", "));
|
|
|
72307
72305
|
continue;
|
|
72308
72306
|
}
|
|
72309
72307
|
Ee = Ee.toLowerCase(), Ee.charAt(0) === ":" && (Ee = Ee.substr(1)), Hn = Ee in Kr, wh && go[Ee] && et.length > 0 && et[et.length - 1].name === Ee && ds(Ee);
|
|
72310
|
-
var vf =
|
|
72308
|
+
var vf = p8(sr, Oe[9]);
|
|
72311
72309
|
if (vf !== null) {
|
|
72312
72310
|
if (vf === "all") {
|
|
72313
72311
|
$e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
|
|
@@ -72387,37 +72385,37 @@ Required: ` + u.join(", "));
|
|
|
72387
72385
|
return { parse: ie };
|
|
72388
72386
|
};
|
|
72389
72387
|
_g.findEndTag = h_;
|
|
72390
|
-
var
|
|
72388
|
+
var m8 = function(r, u) {
|
|
72391
72389
|
var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
|
|
72392
72390
|
return u.replace(f, "");
|
|
72393
72391
|
}, k4 = function(r, u) {
|
|
72394
72392
|
var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, _, C, A, P, M = r.schema;
|
|
72395
|
-
f =
|
|
72393
|
+
f = m8(r.getTempAttrs(), f);
|
|
72396
72394
|
for (var X = M.getShortEndedElements(); P = p.exec(f); )
|
|
72397
72395
|
C = p.lastIndex, A = P[0].length, X[P[1]] ? _ = C : _ = _g.findEndTag(M, f, C), f = f.substring(0, C - A) + f.substring(_), p.lastIndex = C - A;
|
|
72398
72396
|
return rc(f);
|
|
72399
|
-
}, v_ = k4,
|
|
72397
|
+
}, v_ = k4, g8 = function(r, u) {
|
|
72400
72398
|
var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>( | |\\s| |<br \\/>|)<\\/" + f + `>[\r
|
|
72401
72399
|
]*|<br \\/>[\r
|
|
72402
72400
|
]*)$`);
|
|
72403
72401
|
return u.replace(p, "");
|
|
72404
|
-
},
|
|
72402
|
+
}, _8 = function(r, u, f, p) {
|
|
72405
72403
|
var _;
|
|
72406
|
-
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? _ = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? _ = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? _ = r.serializer.serialize(p, u) : _ =
|
|
72404
|
+
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? _ = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? _ = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? _ = r.serializer.serialize(p, u) : _ = g8(r, r.serializer.serialize(p, u)), !Re([
|
|
72407
72405
|
"text",
|
|
72408
72406
|
"tree"
|
|
72409
72407
|
], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(_) : u.content = _, u.no_events || r.fire("GetContent", u), u.content;
|
|
72410
72408
|
}, Gr = function(r, u, f) {
|
|
72411
72409
|
return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
|
|
72412
|
-
return
|
|
72410
|
+
return _8(r, u, f, p);
|
|
72413
72411
|
});
|
|
72414
|
-
},
|
|
72412
|
+
}, y8 = Ve.each, p_ = function(r) {
|
|
72415
72413
|
var u = function(f, p) {
|
|
72416
72414
|
if (f.nodeName !== p.nodeName)
|
|
72417
72415
|
return !1;
|
|
72418
72416
|
var _ = function(A) {
|
|
72419
72417
|
var P = {};
|
|
72420
|
-
return
|
|
72418
|
+
return y8(r.getAttribs(A), function(M) {
|
|
72421
72419
|
var X = M.nodeName.toLowerCase();
|
|
72422
72420
|
X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
|
|
72423
72421
|
}), P;
|
|
@@ -72694,7 +72692,7 @@ Required: ` + u.join(", "));
|
|
|
72694
72692
|
}, function(p) {
|
|
72695
72693
|
return Ki(r, p.dom, f).isNone();
|
|
72696
72694
|
});
|
|
72697
|
-
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1),
|
|
72695
|
+
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b8 = Ue(xc, !0), id = function(r) {
|
|
72698
72696
|
return Hp(r).exists(xu);
|
|
72699
72697
|
}, bg = function(r, u, f) {
|
|
72700
72698
|
var p = Pt(qo(be.fromDom(f.container()), u), Fs), _ = Zt(p).getOr(u);
|
|
@@ -72717,7 +72715,7 @@ Required: ` + u.join(", "));
|
|
|
72717
72715
|
"pre",
|
|
72718
72716
|
"pre-wrap"
|
|
72719
72717
|
], r);
|
|
72720
|
-
},
|
|
72718
|
+
}, w8 = function(r) {
|
|
72721
72719
|
return Hp(r).bind(function(u) {
|
|
72722
72720
|
return jm(u, ui);
|
|
72723
72721
|
}).exists(function(u) {
|
|
@@ -72730,14 +72728,14 @@ Required: ` + u.join(", "));
|
|
|
72730
72728
|
}, NN = function(r, u) {
|
|
72731
72729
|
return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
|
|
72732
72730
|
}, Xa = function(r, u) {
|
|
72733
|
-
return
|
|
72731
|
+
return w8(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
|
|
72734
72732
|
}, __ = function(r, u) {
|
|
72735
|
-
return
|
|
72733
|
+
return w8(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
|
|
72736
72734
|
}, Jx = function(r) {
|
|
72737
72735
|
var u = r.container(), f = r.offset();
|
|
72738
72736
|
return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
|
|
72739
72737
|
}, y_ = function(r, u) {
|
|
72740
|
-
return
|
|
72738
|
+
return w8(u) ? !1 : yg(r, u) || b8(r, u) || wg(r, u) || Xx(r, u);
|
|
72741
72739
|
}, N4 = function(r, u) {
|
|
72742
72740
|
return __(r, u) || y_(r, Jx(u));
|
|
72743
72741
|
}, A4 = function(r, u) {
|
|
@@ -72869,11 +72867,11 @@ Required: ` + u.join(", "));
|
|
|
72869
72867
|
return Ro(C.dom, 0);
|
|
72870
72868
|
})), u;
|
|
72871
72869
|
});
|
|
72872
|
-
},
|
|
72870
|
+
}, C8 = function(r, u) {
|
|
72873
72871
|
return Vr(r.schema.getTextInlineElements(), si(u));
|
|
72874
72872
|
}, gm = function(r, u, f, p) {
|
|
72875
72873
|
p === void 0 && (p = !0);
|
|
72876
|
-
var _ = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, _,
|
|
72874
|
+
var _ = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, _, C8(r, f));
|
|
72877
72875
|
r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
|
|
72878
72876
|
p && tE(r, u, A);
|
|
72879
72877
|
}, function(P) {
|
|
@@ -72884,13 +72882,13 @@ Required: ` + u.join(", "));
|
|
|
72884
72882
|
start: r,
|
|
72885
72883
|
end: u
|
|
72886
72884
|
};
|
|
72887
|
-
},
|
|
72885
|
+
}, x8 = function(r, u, f) {
|
|
72888
72886
|
return {
|
|
72889
72887
|
rng: r,
|
|
72890
72888
|
table: u,
|
|
72891
72889
|
cells: f
|
|
72892
72890
|
};
|
|
72893
|
-
},
|
|
72891
|
+
}, E8 = Sf.generate([
|
|
72894
72892
|
{ removeTable: ["element"] },
|
|
72895
72893
|
{ emptyCells: ["cells"] },
|
|
72896
72894
|
{
|
|
@@ -72909,14 +72907,14 @@ Required: ` + u.join(", "));
|
|
|
72909
72907
|
return Uc(r, "table", u);
|
|
72910
72908
|
}, oE = function(r) {
|
|
72911
72909
|
return !yo(r.start, r.end);
|
|
72912
|
-
},
|
|
72910
|
+
}, S8 = function(r, u) {
|
|
72913
72911
|
return _m(r.start, u).bind(function(f) {
|
|
72914
72912
|
return _m(r.end, u).bind(function(p) {
|
|
72915
72913
|
return Mn(yo(f, p), f);
|
|
72916
72914
|
});
|
|
72917
72915
|
});
|
|
72918
72916
|
}, aE = function(r, u) {
|
|
72919
|
-
return !oE(r) &&
|
|
72917
|
+
return !oE(r) && S8(r, u).exists(function(f) {
|
|
72920
72918
|
var p = f.dom.rows;
|
|
72921
72919
|
return p.length === 1 && p[0].cells.length === 1;
|
|
72922
72920
|
});
|
|
@@ -72953,10 +72951,10 @@ Required: ` + u.join(", "));
|
|
|
72953
72951
|
return iE(r, _) ? me.none() : UN(_, r);
|
|
72954
72952
|
});
|
|
72955
72953
|
}, iE = function(r, u) {
|
|
72956
|
-
return
|
|
72954
|
+
return S8(u, r).isSome();
|
|
72957
72955
|
}, lE = function(r, u) {
|
|
72958
|
-
return
|
|
72959
|
-
return
|
|
72956
|
+
return S8(r, u).map(function(f) {
|
|
72957
|
+
return x8(r, f, C_(f));
|
|
72960
72958
|
});
|
|
72961
72959
|
}, sE = function(r, u, f) {
|
|
72962
72960
|
return r.filter(function(p) {
|
|
@@ -72983,12 +72981,12 @@ Required: ` + u.join(", "));
|
|
|
72983
72981
|
}, jN = function(r) {
|
|
72984
72982
|
return HN(r).map(function(u) {
|
|
72985
72983
|
var f = r.cells;
|
|
72986
|
-
return u.length === f.length ?
|
|
72984
|
+
return u.length === f.length ? E8.removeTable(r.table) : E8.emptyCells(u);
|
|
72987
72985
|
});
|
|
72988
72986
|
}, GN = function(r, u) {
|
|
72989
72987
|
var f = VN(r), p = LN(u, f);
|
|
72990
72988
|
return WN(p, u, f).map(function(_) {
|
|
72991
|
-
return
|
|
72989
|
+
return E8.deleteCellSelection(u, _);
|
|
72992
72990
|
}).orThunk(function() {
|
|
72993
72991
|
return sE(p, u, f).bind(jN);
|
|
72994
72992
|
});
|
|
@@ -73011,15 +73009,15 @@ Required: ` + u.join(", "));
|
|
|
73011
73009
|
return !0;
|
|
73012
73010
|
}, dE = function(r, u) {
|
|
73013
73011
|
return gm(r, !1, u), !0;
|
|
73014
|
-
},
|
|
73012
|
+
}, k8 = function(r, u, f) {
|
|
73015
73013
|
return GN(u, f).map(function(p) {
|
|
73016
73014
|
return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
|
|
73017
73015
|
});
|
|
73018
73016
|
}, qN = function(r, u) {
|
|
73019
73017
|
return O4(r, u);
|
|
73020
73018
|
}, hE = function(r, u, f, p) {
|
|
73021
|
-
return
|
|
73022
|
-
return
|
|
73019
|
+
return T8(u, p).fold(function() {
|
|
73020
|
+
return k8(r, u, f);
|
|
73023
73021
|
}, function(_) {
|
|
73024
73022
|
return qN(r, _);
|
|
73025
73023
|
}).getOr(!1);
|
|
@@ -73028,7 +73026,7 @@ Required: ` + u.join(", "));
|
|
|
73028
73026
|
return _.length !== 0 ? Eg(r, _) : hE(r, f, p, u);
|
|
73029
73027
|
}, pE = function(r, u) {
|
|
73030
73028
|
return _n(qo(u, r), bs);
|
|
73031
|
-
},
|
|
73029
|
+
}, T8 = function(r, u) {
|
|
73032
73030
|
return _n(qo(u, r), function(f) {
|
|
73033
73031
|
return si(f) === "caption";
|
|
73034
73032
|
});
|
|
@@ -73049,7 +73047,7 @@ Required: ` + u.join(", "));
|
|
|
73049
73047
|
}, XN = function(r, u) {
|
|
73050
73048
|
return O4(r, u);
|
|
73051
73049
|
}, JN = function(r, u, f) {
|
|
73052
|
-
return
|
|
73050
|
+
return T8(r, be.fromDom(f.getNode())).map(function(p) {
|
|
73053
73051
|
return yo(p, u) === !1;
|
|
73054
73052
|
});
|
|
73055
73053
|
}, ZN = function(r, u, f, p, _) {
|
|
@@ -73066,31 +73064,31 @@ Required: ` + u.join(", "));
|
|
|
73066
73064
|
return ws(p) ? O4(r, p) : ZN(r, f, u, p, _);
|
|
73067
73065
|
}, mE = function(r, u) {
|
|
73068
73066
|
return r ? zr(u) : xo(u);
|
|
73069
|
-
},
|
|
73067
|
+
}, N8 = function(r, u) {
|
|
73070
73068
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
73071
73069
|
return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
|
|
73072
73070
|
return mE(u, p);
|
|
73073
73071
|
});
|
|
73074
73072
|
}, uf = function(r, u, f) {
|
|
73075
73073
|
var p = be.fromDom(r.getBody());
|
|
73076
|
-
return
|
|
73077
|
-
return QN(r, u, p, f) ||
|
|
73074
|
+
return T8(p, f).fold(function() {
|
|
73075
|
+
return QN(r, u, p, f) || N8(r, u);
|
|
73078
73076
|
}, function(_) {
|
|
73079
73077
|
return eA(r, u, p, _).getOr(!1);
|
|
73080
73078
|
});
|
|
73081
73079
|
}, Sg = function(r, u) {
|
|
73082
73080
|
var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
|
|
73083
73081
|
return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
|
|
73084
|
-
},
|
|
73082
|
+
}, A8 = function(r, u, f, p) {
|
|
73085
73083
|
var _ = document.createRange();
|
|
73086
73084
|
return _.setStart(r, u), _.setEnd(f, p), _;
|
|
73087
|
-
},
|
|
73085
|
+
}, I8 = function(r) {
|
|
73088
73086
|
var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
|
|
73089
73087
|
return Hs(!1, p, f).map(function(_) {
|
|
73090
|
-
return !Pu(u, f, p) && Pu(u, _, p) ?
|
|
73088
|
+
return !Pu(u, f, p) && Pu(u, _, p) ? A8(u.container(), u.offset(), _.container(), _.offset()) : r;
|
|
73091
73089
|
}).getOr(r);
|
|
73092
|
-
},
|
|
73093
|
-
return r.collapsed ? r :
|
|
73090
|
+
}, D8 = function(r) {
|
|
73091
|
+
return r.collapsed ? r : I8(r);
|
|
73094
73092
|
}, gE = function(r) {
|
|
73095
73093
|
return r.firstChild && r.firstChild === r.lastChild;
|
|
73096
73094
|
}, tA = function(r) {
|
|
@@ -73098,12 +73096,12 @@ Required: ` + u.join(", "));
|
|
|
73098
73096
|
}, nA = function(r, u) {
|
|
73099
73097
|
var f = r.getBlockElements();
|
|
73100
73098
|
return f[u.name] && gE(u) && tA(u.firstChild);
|
|
73101
|
-
},
|
|
73099
|
+
}, O8 = function(r, u) {
|
|
73102
73100
|
var f = r.getNonEmptyElements();
|
|
73103
73101
|
return u && (u.isEmpty(f) || nA(r, u));
|
|
73104
73102
|
}, rA = function(r, u) {
|
|
73105
73103
|
var f = u.firstChild, p = u.lastChild;
|
|
73106
|
-
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev),
|
|
73104
|
+
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev), O8(r, p) && (p = p.prev), !f || f !== p ? !1 : f.name === "ul" || f.name === "ol";
|
|
73107
73105
|
}, _E = function(r) {
|
|
73108
73106
|
var u = r.firstChild, f = r.lastChild;
|
|
73109
73107
|
return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
|
|
@@ -73122,11 +73120,11 @@ Required: ` + u.join(", "));
|
|
|
73122
73120
|
return !r.firstChild || yE(r);
|
|
73123
73121
|
}, bE = function(r) {
|
|
73124
73122
|
return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
|
|
73125
|
-
},
|
|
73123
|
+
}, B8 = function(r, u) {
|
|
73126
73124
|
var f = r.getParent(u, r.isBlock);
|
|
73127
73125
|
return f && f.nodeName === "LI" ? f : null;
|
|
73128
73126
|
}, lA = function(r, u) {
|
|
73129
|
-
return !!
|
|
73127
|
+
return !!B8(r, u);
|
|
73130
73128
|
}, sA = function(r, u) {
|
|
73131
73129
|
var f = u.cloneRange(), p = u.cloneRange();
|
|
73132
73130
|
return f.setStartBefore(r), p.setEndAfter(r), [
|
|
@@ -73149,24 +73147,24 @@ Required: ` + u.join(", "));
|
|
|
73149
73147
|
return Ve.each(u, function(_) {
|
|
73150
73148
|
p.insertBefore(_, r);
|
|
73151
73149
|
}), uA(r, f);
|
|
73152
|
-
},
|
|
73150
|
+
}, P8 = function(r, u, f, p) {
|
|
73153
73151
|
return p.insertAfter(u.reverse(), r), wE(u[0], f);
|
|
73154
73152
|
}, kg = function(r, u, f, p) {
|
|
73155
|
-
var _ = oA(u, r, p), C =
|
|
73153
|
+
var _ = oA(u, r, p), C = B8(u, f.startContainer), A = bE(x_(_.firstChild)), P = 1, M = 2, X = u.getRoot(), ie = function(ae) {
|
|
73156
73154
|
var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
|
|
73157
|
-
return Oe ?
|
|
73155
|
+
return Oe ? B8(u, Oe.getNode()) !== C : !0;
|
|
73158
73156
|
};
|
|
73159
|
-
return ie(P) ? cA(C, A, X) : ie(M) ?
|
|
73157
|
+
return ie(P) ? cA(C, A, X) : ie(M) ? P8(C, A, X, u) : CE(C, A, X, f);
|
|
73160
73158
|
}, fA = function(r, u, f) {
|
|
73161
73159
|
var p = be.fromDom(r.getRoot());
|
|
73162
73160
|
return __(p, un.fromRangeStart(u)) ? f = f.replace(/^ /, " ") : f = f.replace(/^ /, " "), y_(p, un.fromRangeEnd(u)) ? f = f.replace(/( | )(<br( \/)>)?$/, " ") : f = f.replace(/ (<br( \/)?>)?$/, " "), f;
|
|
73163
|
-
},
|
|
73161
|
+
}, M8 = ti, B4 = function(r, u, f) {
|
|
73164
73162
|
if (f !== null) {
|
|
73165
|
-
var p = r.getParent(u.endContainer,
|
|
73163
|
+
var p = r.getParent(u.endContainer, M8);
|
|
73166
73164
|
return f === p && W2(be.fromDom(f), u);
|
|
73167
73165
|
} else
|
|
73168
73166
|
return !1;
|
|
73169
|
-
},
|
|
73167
|
+
}, R8 = function(r, u, f) {
|
|
73170
73168
|
if (f.getAttribute("data-mce-bogus") === "all")
|
|
73171
73169
|
f.parentNode.insertBefore(r.dom.createFragment(u), f);
|
|
73172
73170
|
else {
|
|
@@ -73196,7 +73194,7 @@ Required: ` + u.join(", "));
|
|
|
73196
73194
|
}, xE = function(r) {
|
|
73197
73195
|
for (var u = r; u = u.walk(); )
|
|
73198
73196
|
u.type === 1 && u.attr("data-mce-fragment", "1");
|
|
73199
|
-
}, $
|
|
73197
|
+
}, $8 = function(r) {
|
|
73200
73198
|
Ve.each(r.getElementsByTagName("*"), function(u) {
|
|
73201
73199
|
u.removeAttribute("data-mce-fragment");
|
|
73202
73200
|
});
|
|
@@ -73225,14 +73223,14 @@ Required: ` + u.join(", "));
|
|
|
73225
73223
|
if (ke = Oe.next(ke), ke)
|
|
73226
73224
|
return ke.toRange();
|
|
73227
73225
|
}, ae = p.getParent(u, p.isBlock);
|
|
73228
|
-
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !
|
|
73226
|
+
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !M8(ae) && !vA(ae) && (f = ie(M)) ? (M = f, p.remove(ae)) : p.add(ae, p.create("br", { "data-mce-bogus": "1" }))), _.setRng(M);
|
|
73229
73227
|
}
|
|
73230
73228
|
}, pA = function(r) {
|
|
73231
|
-
var u = r.dom, f =
|
|
73229
|
+
var u = r.dom, f = D8(r.selection.getRng());
|
|
73232
73230
|
r.selection.setRng(f);
|
|
73233
|
-
var p = u.getParent(f.startContainer,
|
|
73231
|
+
var p = u.getParent(f.startContainer, M8);
|
|
73234
73232
|
B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
|
|
73235
|
-
},
|
|
73233
|
+
}, F8 = function(r, u, f) {
|
|
73236
73234
|
var p, _, C, A, P, M, X = r.selection, ie = r.dom;
|
|
73237
73235
|
/^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
|
|
73238
73236
|
var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
@@ -73270,7 +73268,7 @@ Required: ` + u.join(", "));
|
|
|
73270
73268
|
}
|
|
73271
73269
|
}
|
|
73272
73270
|
if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
|
|
73273
|
-
u = ke.serialize(et),
|
|
73271
|
+
u = ke.serialize(et), R8(r, u, p);
|
|
73274
73272
|
else {
|
|
73275
73273
|
for (r.selection.setContent(Oe), p = X.getNode(), _ = r.getBody(), p.nodeType === 9 ? p = M = _ : M = p; M !== _; )
|
|
73276
73274
|
p = M, M = M.parentNode;
|
|
@@ -73278,12 +73276,12 @@ Required: ` + u.join(", "));
|
|
|
73278
73276
|
return ke.serialize(et);
|
|
73279
73277
|
}))), p === _ ? ie.setHTML(_, u) : ie.setOuterHTML(p, u);
|
|
73280
73278
|
}
|
|
73281
|
-
hA(r, se), mh(r, ie.get("mce_marker")), $
|
|
73282
|
-
},
|
|
73283
|
-
u(r), r.firstChild &&
|
|
73279
|
+
hA(r, se), mh(r, ie.get("mce_marker")), $8(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
|
|
73280
|
+
}, V8 = function(r, u) {
|
|
73281
|
+
u(r), r.firstChild && V8(r.firstChild, u), r.next && V8(r.next, u);
|
|
73284
73282
|
}, mA = function(r, u, f) {
|
|
73285
73283
|
var p = {}, _ = {}, C = [];
|
|
73286
|
-
f.firstChild &&
|
|
73284
|
+
f.firstChild && V8(f.firstChild, function(M) {
|
|
73287
73285
|
he(r, function(X) {
|
|
73288
73286
|
X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
|
|
73289
73287
|
filter: X,
|
|
@@ -73345,12 +73343,12 @@ Required: ` + u.join(", "));
|
|
|
73345
73343
|
break;
|
|
73346
73344
|
}
|
|
73347
73345
|
return me.none();
|
|
73348
|
-
},
|
|
73346
|
+
}, L8 = function(r, u, f) {
|
|
73349
73347
|
var p = u(r), _ = EE(f);
|
|
73350
73348
|
return p.orThunk(function() {
|
|
73351
73349
|
return _(r) ? me.none() : EA(r, u, _);
|
|
73352
73350
|
});
|
|
73353
|
-
},
|
|
73351
|
+
}, U8 = jp, SE = function(r, u, f) {
|
|
73354
73352
|
var p = r.formatter.get(f);
|
|
73355
73353
|
if (p) {
|
|
73356
73354
|
for (var _ = 0; _ < p.length; _++)
|
|
@@ -73358,13 +73356,13 @@ Required: ` + u.join(", "));
|
|
|
73358
73356
|
return !0;
|
|
73359
73357
|
}
|
|
73360
73358
|
return !1;
|
|
73361
|
-
},
|
|
73359
|
+
}, z8 = function(r, u, f, p) {
|
|
73362
73360
|
var _ = r.dom.getRoot();
|
|
73363
73361
|
return u === _ ? !1 : (u = r.dom.getParent(u, function(C) {
|
|
73364
73362
|
return SE(r, C, f) ? !0 : C.parentNode === _ || !!ld(r, C, f, p, !0);
|
|
73365
73363
|
}), ld(r, u, f, p));
|
|
73366
73364
|
}, kE = function(r, u, f) {
|
|
73367
|
-
if (
|
|
73365
|
+
if (U8(u, f.inline) || U8(u, f.block))
|
|
73368
73366
|
return !0;
|
|
73369
73367
|
if (f.selector)
|
|
73370
73368
|
return u.nodeType === 1 && r.is(u, f.selector);
|
|
@@ -73375,7 +73373,7 @@ Required: ` + u.join(", "));
|
|
|
73375
73373
|
if (M) {
|
|
73376
73374
|
if (typeof M.length > "u") {
|
|
73377
73375
|
for (A in M)
|
|
73378
|
-
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), _ && !P && !f.exact || (!_ || f.exact) && !
|
|
73376
|
+
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), _ && !P && !f.exact || (!_ || f.exact) && !U8(P, G1(r, rf(M[A], C), A))))
|
|
73379
73377
|
return;
|
|
73380
73378
|
} else
|
|
73381
73379
|
for (X = 0; X < M.length; X++)
|
|
@@ -73398,11 +73396,11 @@ Required: ` + u.join(", "));
|
|
|
73398
73396
|
}
|
|
73399
73397
|
}, E_ = function(r, u, f, p) {
|
|
73400
73398
|
if (p)
|
|
73401
|
-
return
|
|
73402
|
-
if (p = r.selection.getNode(),
|
|
73399
|
+
return z8(r, p, u, f);
|
|
73400
|
+
if (p = r.selection.getNode(), z8(r, p, u, f))
|
|
73403
73401
|
return !0;
|
|
73404
73402
|
var _ = r.selection.getStart();
|
|
73405
|
-
return !!(_ !== p &&
|
|
73403
|
+
return !!(_ !== p && z8(r, _, u, f));
|
|
73406
73404
|
}, NE = function(r, u, f) {
|
|
73407
73405
|
var p = [], _ = {}, C = r.selection.getStart();
|
|
73408
73406
|
return r.dom.getParent(C, function(A) {
|
|
@@ -73418,7 +73416,7 @@ Required: ` + u.join(", "));
|
|
|
73418
73416
|
return ld(r, _.dom, C) ? me.some(C) : me.none();
|
|
73419
73417
|
};
|
|
73420
73418
|
return me.from(r.selection.getStart(!0)).bind(function(_) {
|
|
73421
|
-
return
|
|
73419
|
+
return L8(be.fromDom(_), function(C) {
|
|
73422
73420
|
return Jr(u, function(A) {
|
|
73423
73421
|
return p(C, A);
|
|
73424
73422
|
});
|
|
@@ -73459,7 +73457,7 @@ Required: ` + u.join(", "));
|
|
|
73459
73457
|
return r;
|
|
73460
73458
|
}
|
|
73461
73459
|
return null;
|
|
73462
|
-
},
|
|
73460
|
+
}, H8 = function(r) {
|
|
73463
73461
|
var u = be.fromTag("span");
|
|
73464
73462
|
return K(u, {
|
|
73465
73463
|
id: Tg,
|
|
@@ -73469,7 +73467,7 @@ Required: ` + u.join(", "));
|
|
|
73469
73467
|
}, TA = function(r) {
|
|
73470
73468
|
var u = OE(r);
|
|
73471
73469
|
return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
|
|
73472
|
-
},
|
|
73470
|
+
}, W8 = function(r, u, f) {
|
|
73473
73471
|
f === void 0 && (f = !0);
|
|
73474
73472
|
var p = r.dom, _ = r.selection;
|
|
73475
73473
|
if (DE(u))
|
|
@@ -73478,14 +73476,14 @@ Required: ` + u.join(", "));
|
|
|
73478
73476
|
var C = _.getRng(), A = p.getParent(u, p.isBlock), P = C.startContainer, M = C.startOffset, X = C.endContainer, ie = C.endOffset, ae = TA(u);
|
|
73479
73477
|
p.remove(u, !0), P === ae && M > 0 && C.setStart(ae, M - 1), X === ae && ie > 0 && C.setEnd(ae, ie - 1), A && p.isEmpty(A) && js(be.fromDom(A)), _.setRng(C);
|
|
73480
73478
|
}
|
|
73481
|
-
},
|
|
73479
|
+
}, j8 = function(r, u, f) {
|
|
73482
73480
|
f === void 0 && (f = !0);
|
|
73483
73481
|
var p = r.dom, _ = r.selection;
|
|
73484
73482
|
if (u)
|
|
73485
|
-
|
|
73483
|
+
W8(r, u, f);
|
|
73486
73484
|
else if (u = rh(r.getBody(), _.getStart()), !u)
|
|
73487
73485
|
for (; u = p.get(Tg); )
|
|
73488
|
-
|
|
73486
|
+
W8(r, u, !1);
|
|
73489
73487
|
}, BE = function(r, u, f) {
|
|
73490
73488
|
var p = r.dom, _ = p.getParent(f, Ue(gv, r));
|
|
73491
73489
|
_ && p.isEmpty(_) ? f.parentNode.replaceChild(u, f) : (sm(be.fromDom(f)), p.isEmpty(f) ? f.parentNode.replaceChild(u, f) : p.insertAfter(u, f));
|
|
@@ -73517,7 +73515,7 @@ Required: ` + u.join(", "));
|
|
|
73517
73515
|
var se = ru(r, A, r.formatter.get(u));
|
|
73518
73516
|
se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
|
|
73519
73517
|
} else
|
|
73520
|
-
(!p || _.nodeValue !== sd) && (p = IE(r.getDoc(),
|
|
73518
|
+
(!p || _.nodeValue !== sd) && (p = IE(r.getDoc(), H8(!0).dom), _ = p.firstChild, A.insertNode(p), P = 1), r.formatter.apply(u, f, p), C.setCursorLocation(_, P);
|
|
73521
73519
|
}, ME = function(r, u, f, p) {
|
|
73522
73520
|
var _ = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
|
|
73523
73521
|
for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
|
|
@@ -73534,27 +73532,27 @@ Required: ` + u.join(", "));
|
|
|
73534
73532
|
var Oe = ru(r, ie, r.formatter.get(u), !0);
|
|
73535
73533
|
Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
|
|
73536
73534
|
} else {
|
|
73537
|
-
var $e = rh(r.getBody(), M), Ee =
|
|
73535
|
+
var $e = rh(r.getBody(), M), Ee = H8(!1).dom;
|
|
73538
73536
|
BE(r, Ee, $e !== null ? $e : M);
|
|
73539
73537
|
var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
|
|
73540
|
-
|
|
73538
|
+
W8(r, $e, !1), C.setCursorLocation(et, 1), _.isEmpty(M) && _.remove(M);
|
|
73541
73539
|
}
|
|
73542
|
-
},
|
|
73540
|
+
}, G8 = function(r, u) {
|
|
73543
73541
|
var f = r.selection, p = r.getBody();
|
|
73544
|
-
|
|
73542
|
+
j8(r, null, !1), (u === 8 || u === 46) && f.isCollapsed() && f.getStart().innerHTML === sd && j8(r, rh(p, f.getStart())), (u === 37 || u === 39) && j8(r, rh(p, f.getStart()));
|
|
73545
73543
|
}, AA = function(r) {
|
|
73546
73544
|
r.on("mouseup keydown", function(u) {
|
|
73547
|
-
|
|
73545
|
+
G8(r, u.keyCode);
|
|
73548
73546
|
});
|
|
73549
73547
|
}, IA = function(r, u) {
|
|
73550
|
-
var f =
|
|
73548
|
+
var f = H8(!1), p = Ng(u, f.dom);
|
|
73551
73549
|
return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
|
|
73552
73550
|
}, DA = function(r, u) {
|
|
73553
73551
|
var f = r.schema.getTextInlineElements();
|
|
73554
73552
|
return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
|
|
73555
73553
|
}, OA = function(r) {
|
|
73556
73554
|
return gc(r.dom) && DE(r.dom);
|
|
73557
|
-
}, $4 = {}, RE = sa, F4 = Zo,
|
|
73555
|
+
}, $4 = {}, RE = sa, F4 = Zo, q8 = function(r, u) {
|
|
73558
73556
|
var f = $4[r];
|
|
73559
73557
|
f || ($4[r] = []), $4[r].push(u);
|
|
73560
73558
|
}, $E = function(r, u) {
|
|
@@ -73562,7 +73560,7 @@ Required: ` + u.join(", "));
|
|
|
73562
73560
|
f(u);
|
|
73563
73561
|
});
|
|
73564
73562
|
};
|
|
73565
|
-
|
|
73563
|
+
q8("pre", function(r) {
|
|
73566
73564
|
var u = r.selection.getRng(), f, p = function(A) {
|
|
73567
73565
|
return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
|
|
73568
73566
|
}, _ = function(A, P) {
|
|
@@ -73572,7 +73570,7 @@ Required: ` + u.join(", "));
|
|
|
73572
73570
|
_(A.previousSibling, A);
|
|
73573
73571
|
}));
|
|
73574
73572
|
});
|
|
73575
|
-
var
|
|
73573
|
+
var K8 = Ve.each, Y8 = function(r) {
|
|
73576
73574
|
return ro(r) && !Ts(r) && !gc(r) && !wf(r);
|
|
73577
73575
|
}, FE = function(r, u) {
|
|
73578
73576
|
var f;
|
|
@@ -73601,15 +73599,15 @@ Required: ` + u.join(", "));
|
|
|
73601
73599
|
}, BA = function(r, u, f) {
|
|
73602
73600
|
if (u.clear_child_styles) {
|
|
73603
73601
|
var p = u.links ? "*:not(a)" : "*";
|
|
73604
|
-
|
|
73605
|
-
|
|
73602
|
+
K8(r.select(p, f), function(_) {
|
|
73603
|
+
Y8(_) && K8(u.styles, function(C, A) {
|
|
73606
73604
|
r.setStyle(_, A, "");
|
|
73607
73605
|
});
|
|
73608
73606
|
});
|
|
73609
73607
|
}
|
|
73610
73608
|
}, $r = function(r, u, f) {
|
|
73611
|
-
|
|
73612
|
-
|
|
73609
|
+
K8(r.childNodes, function(p) {
|
|
73610
|
+
Y8(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
|
|
73613
73611
|
});
|
|
73614
73612
|
}, PA = function(r, u) {
|
|
73615
73613
|
u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
|
|
@@ -73629,7 +73627,7 @@ Required: ` + u.join(", "));
|
|
|
73629
73627
|
return /^(TR|TH|TD)$/.test(r.nodeName);
|
|
73630
73628
|
}, L4 = function(r, u, f) {
|
|
73631
73629
|
return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
|
|
73632
|
-
},
|
|
73630
|
+
}, X8 = function(r, u, f) {
|
|
73633
73631
|
var p, _;
|
|
73634
73632
|
if (p = u[f ? "startContainer" : "endContainer"], _ = u[f ? "startOffset" : "endOffset"], ro(p)) {
|
|
73635
73633
|
var C = p.childNodes.length - 1;
|
|
@@ -73643,7 +73641,7 @@ Required: ` + u.join(", "));
|
|
|
73643
73641
|
return r.nodeName === "TR" && p[f] || p;
|
|
73644
73642
|
}
|
|
73645
73643
|
return r;
|
|
73646
|
-
},
|
|
73644
|
+
}, J8 = function(r, u, f, p) {
|
|
73647
73645
|
var _ = r.create(f, p);
|
|
73648
73646
|
return u.parentNode.insertBefore(_, u), _.appendChild(u), _;
|
|
73649
73647
|
}, GE = function(r, u, f, p, _) {
|
|
@@ -73654,18 +73652,18 @@ Required: ` + u.join(", "));
|
|
|
73654
73652
|
return !0;
|
|
73655
73653
|
if (f.selector)
|
|
73656
73654
|
return ro(u) && r.is(u, f.selector);
|
|
73657
|
-
},
|
|
73655
|
+
}, Z8 = function(r, u) {
|
|
73658
73656
|
return u.links && r.nodeName === "A";
|
|
73659
73657
|
}, Ag = function(r, u, f, p) {
|
|
73660
73658
|
return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
|
|
73661
73659
|
}, qE = function(r, u, f) {
|
|
73662
73660
|
var p = u.parentNode, _, C = r.dom, A = Oi(r);
|
|
73663
73661
|
f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
|
|
73664
|
-
_v(r, A, P.nodeName.toLowerCase()) ? _ ? _.appendChild(P) : (_ =
|
|
73662
|
+
_v(r, A, P.nodeName.toLowerCase()) ? _ ? _.appendChild(P) : (_ = J8(C, P, A), C.setAttribs(_, r.settings.forced_root_block_attrs)) : _ = 0;
|
|
73665
73663
|
}) : C.isBlock(u) && !C.isBlock(p) && (!Ag(C, u, !1) && !Ag(C, u.firstChild, !0, !0) && u.insertBefore(C.create("br"), u.firstChild), !Ag(C, u, !0) && !Ag(C, u.lastChild, !1, !0) && u.appendChild(C.create("br")))), !(f.selector && f.inline && !ym(f.inline, u)) && C.remove(u, !0);
|
|
73666
73664
|
}, k_ = function(r, u, f, p, _) {
|
|
73667
73665
|
var C, A = r.dom;
|
|
73668
|
-
if (!MA(A, p, u) && !
|
|
73666
|
+
if (!MA(A, p, u) && !Z8(p, u))
|
|
73669
73667
|
return S_.keep();
|
|
73670
73668
|
var P = p;
|
|
73671
73669
|
if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
|
|
@@ -73734,7 +73732,7 @@ Required: ` + u.join(", "));
|
|
|
73734
73732
|
C && (!A.mixed || !ae.isBlock(f)) && (p = ae.split(f, p)), X && (_.parentNode.insertBefore(X, _), ie.appendChild(_), A.inline && LE(ae, A, P, X));
|
|
73735
73733
|
}
|
|
73736
73734
|
return p;
|
|
73737
|
-
},
|
|
73735
|
+
}, Q8 = function(r, u, f, p, _) {
|
|
73738
73736
|
var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
|
|
73739
73737
|
var et = T_(r, ot, u, f, _);
|
|
73740
73738
|
return RA(r, C, et, ot, ot, !0, A, f);
|
|
@@ -73758,7 +73756,7 @@ Required: ` + u.join(", "));
|
|
|
73758
73756
|
}, Oe = function(ot) {
|
|
73759
73757
|
var et, ut, yt = ru(r, ot, C, ot.collapsed);
|
|
73760
73758
|
if (A.split) {
|
|
73761
|
-
if (yt = fh(yt), et =
|
|
73759
|
+
if (yt = fh(yt), et = X8(r, yt, !0), ut = X8(r, yt), et !== ut) {
|
|
73762
73760
|
if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
|
|
73763
73761
|
var Mt = me.from(et.firstChild).getOr(et);
|
|
73764
73762
|
ie(GE(M, Mt, !0, "span", {
|
|
@@ -73775,10 +73773,10 @@ Required: ` + u.join(", "));
|
|
|
73775
73773
|
})), ke(!1);
|
|
73776
73774
|
return;
|
|
73777
73775
|
}
|
|
73778
|
-
et =
|
|
73776
|
+
et = J8(M, et, "span", {
|
|
73779
73777
|
id: "_start",
|
|
73780
73778
|
"data-mce-type": "bookmark"
|
|
73781
|
-
}), ut =
|
|
73779
|
+
}), ut = J8(M, ut, "span", {
|
|
73782
73780
|
id: "_end",
|
|
73783
73781
|
"data-mce-type": "bookmark"
|
|
73784
73782
|
});
|
|
@@ -73828,7 +73826,7 @@ Required: ` + u.join(", "));
|
|
|
73828
73826
|
!X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
|
|
73829
73827
|
eg(r, Oe);
|
|
73830
73828
|
}), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, _);
|
|
73831
|
-
},
|
|
73829
|
+
}, e6 = Ve.each, $A = function(r, u, f, p) {
|
|
73832
73830
|
var _ = function(C) {
|
|
73833
73831
|
if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
|
|
73834
73832
|
var A = Gp(r, C.parentNode);
|
|
@@ -73841,9 +73839,9 @@ Required: ` + u.join(", "));
|
|
|
73841
73839
|
}, VA = function(r, u, f, p) {
|
|
73842
73840
|
(u.inline === "sub" || u.inline === "sup") && ($r(p, UE(r, "fontSize"), zE(r, "fontSize", "")), r.remove(r.select(u.inline === "sup" ? "sub" : "sup", p), !0));
|
|
73843
73841
|
}, KE = function(r, u, f, p) {
|
|
73844
|
-
|
|
73845
|
-
|
|
73846
|
-
|
|
73842
|
+
e6(u, function(_) {
|
|
73843
|
+
e6(r.dom.select(_.inline, p), function(C) {
|
|
73844
|
+
Y8(C) && vl(r, _, f, C, _.exact ? C : null);
|
|
73847
73845
|
}), BA(r.dom, _, p);
|
|
73848
73846
|
});
|
|
73849
73847
|
}, U4 = function(r, u, f, p, _) {
|
|
@@ -73851,7 +73849,7 @@ Required: ` + u.join(", "));
|
|
|
73851
73849
|
if (ld(r, C, f, p))
|
|
73852
73850
|
return vl(r, u, p, _), !0;
|
|
73853
73851
|
});
|
|
73854
|
-
}, Sc = Ve.each,
|
|
73852
|
+
}, Sc = Ve.each, t6 = function(r, u) {
|
|
73855
73853
|
return da(r, u);
|
|
73856
73854
|
}, z4 = function(r) {
|
|
73857
73855
|
return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
|
|
@@ -73873,7 +73871,7 @@ Required: ` + u.join(", "));
|
|
|
73873
73871
|
return da(_, p) && ws(be.fromDom(f.parentNode), !1) && !C;
|
|
73874
73872
|
} else
|
|
73875
73873
|
return !1;
|
|
73876
|
-
},
|
|
73874
|
+
}, n6 = function(r, u, f, p) {
|
|
73877
73875
|
var _ = r.formatter.get(u), C = _[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
|
|
73878
73876
|
if (ut = ut || C, et) {
|
|
73879
73877
|
if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
|
|
@@ -73914,12 +73912,12 @@ Required: ` + u.join(", "));
|
|
|
73914
73912
|
}
|
|
73915
73913
|
if (ih(C)) {
|
|
73916
73914
|
var pr = ie(_, er);
|
|
73917
|
-
if (Bn(er) && K1(et, er.parentNode) && ie(_, er.parentNode), !
|
|
73915
|
+
if (Bn(er) && K1(et, er.parentNode) && ie(_, er.parentNode), !t6(C, "inline") || pr) {
|
|
73918
73916
|
Dn = null;
|
|
73919
73917
|
return;
|
|
73920
73918
|
}
|
|
73921
73919
|
}
|
|
73922
|
-
Fn && !br && _v(r, Hn, ir) && _v(r, mr, Hn) && !(!Mt && er.nodeType === 3 && er.nodeValue.length === 1 && er.nodeValue.charCodeAt(0) === 65279) && !gc(er) && (!
|
|
73920
|
+
Fn && !br && _v(r, Hn, ir) && _v(r, mr, Hn) && !(!Mt && er.nodeType === 3 && er.nodeValue.length === 1 && er.nodeValue.charCodeAt(0) === 65279) && !gc(er) && (!t6(C, "inline") || !et.isBlock(er)) ? (Dn || (Dn = et.clone(yr, !1), er.parentNode.insertBefore(Dn, er), hn.push(Dn)), Dn.appendChild(er)) : (Dn = null, Sc(Ve.grep(er.childNodes), qr), br && (Fn = Gn), Dn = null);
|
|
73923
73921
|
};
|
|
73924
73922
|
Sc(xr, qr);
|
|
73925
73923
|
}), C.links === !0 && Sc(hn, function(xr) {
|
|
@@ -73972,7 +73970,7 @@ Required: ` + u.join(", "));
|
|
|
73972
73970
|
ae(P, p, null, !0);
|
|
73973
73971
|
else if (!A || !M2(C) || wv(r).length) {
|
|
73974
73972
|
var Ee = M.getNode(), ot = _[0];
|
|
73975
|
-
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) &&
|
|
73973
|
+
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) && n6(r, ot.defaultBlock), M.setRng(D8(M.getRng())), Jf(M, !0, function(et) {
|
|
73976
73974
|
eg(r, function(ut, yt) {
|
|
73977
73975
|
var Mt = yt ? ut : ru(r, ut, _);
|
|
73978
73976
|
ae(P, Mt);
|
|
@@ -74040,13 +74038,13 @@ Required: ` + u.join(", "));
|
|
|
74040
74038
|
};
|
|
74041
74039
|
}, qA = function(r, u, f, p) {
|
|
74042
74040
|
var _ = r.formatter.get(u);
|
|
74043
|
-
E_(r, u, f, p) && (!("toggle" in _[0]) || _[0].toggle) ?
|
|
74044
|
-
},
|
|
74041
|
+
E_(r, u, f, p) && (!("toggle" in _[0]) || _[0].toggle) ? Q8(r, u, f, p) : n6(r, u, f, p);
|
|
74042
|
+
}, r6 = function(r, u) {
|
|
74045
74043
|
var f = u || document, p = f.createDocumentFragment();
|
|
74046
74044
|
return he(r, function(_) {
|
|
74047
74045
|
p.appendChild(_.dom);
|
|
74048
74046
|
}), be.fromDom(p);
|
|
74049
|
-
},
|
|
74047
|
+
}, o6 = function(r, u, f) {
|
|
74050
74048
|
return {
|
|
74051
74049
|
element: r,
|
|
74052
74050
|
width: u,
|
|
@@ -74098,7 +74096,7 @@ Required: ` + u.join(", "));
|
|
|
74098
74096
|
return C;
|
|
74099
74097
|
}, kc = function(r, u, f) {
|
|
74100
74098
|
var p = u.x, _ = u.y, C = f.x, A = f.y, P = _ < A ? ZE(r, p, _, C, A) : ZE(r, p, A, C, _);
|
|
74101
|
-
return
|
|
74099
|
+
return o6(r.element, XE(P), P);
|
|
74102
74100
|
}, W4 = function(r, u) {
|
|
74103
74101
|
var f = Hf(r.element), p = be.fromTag("tbody");
|
|
74104
74102
|
return yf(p, u), Ha(f, p), f;
|
|
@@ -74111,13 +74109,13 @@ Required: ` + u.join(", "));
|
|
|
74111
74109
|
return yf(p, f), p;
|
|
74112
74110
|
});
|
|
74113
74111
|
}, A_ = function(r) {
|
|
74114
|
-
var u =
|
|
74112
|
+
var u = o6(Hf(r), 0, []);
|
|
74115
74113
|
return he(ma(r, "tr"), function(f, p) {
|
|
74116
74114
|
he(ma(f, "td,th"), function(_, C) {
|
|
74117
74115
|
YE(u, YA(u, C, p), p, f, _);
|
|
74118
74116
|
});
|
|
74119
|
-
}),
|
|
74120
|
-
},
|
|
74117
|
+
}), o6(u.element, XE(u.rows), u.rows);
|
|
74118
|
+
}, a6 = function(r) {
|
|
74121
74119
|
return W4(r, N_(r));
|
|
74122
74120
|
}, XA = function(r, u, f) {
|
|
74123
74121
|
return JE(r, u).bind(function(p) {
|
|
@@ -74147,7 +74145,7 @@ Required: ` + u.join(", "));
|
|
|
74147
74145
|
var f = Un(u, function(p, _) {
|
|
74148
74146
|
return Ha(_, p), _;
|
|
74149
74147
|
}, r);
|
|
74150
|
-
return u.length > 0 ?
|
|
74148
|
+
return u.length > 0 ? r6([f]) : f;
|
|
74151
74149
|
}, Og = function(r) {
|
|
74152
74150
|
return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
|
|
74153
74151
|
return [
|
|
@@ -74155,22 +74153,22 @@ Required: ` + u.join(", "));
|
|
|
74155
74153
|
u
|
|
74156
74154
|
];
|
|
74157
74155
|
}) : ts(r) ? [r] : [];
|
|
74158
|
-
},
|
|
74156
|
+
}, i6 = function(r, u) {
|
|
74159
74157
|
var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), _ = Pt(p, function(P) {
|
|
74160
74158
|
return Cu(P) || Hc(P);
|
|
74161
74159
|
}), C = Ig(p, u), A = _.concat(C.length ? C : Og(f));
|
|
74162
74160
|
return ne(A, Hf);
|
|
74163
74161
|
}, QE = function() {
|
|
74164
|
-
return
|
|
74162
|
+
return r6([]);
|
|
74165
74163
|
}, ZA = function(r, u) {
|
|
74166
|
-
return Dg(be.fromDom(u.cloneContents()),
|
|
74164
|
+
return Dg(be.fromDom(u.cloneContents()), i6(r, u));
|
|
74167
74165
|
}, eS = function(r, u) {
|
|
74168
74166
|
return Uc(u, "table", Ue(yo, r));
|
|
74169
74167
|
}, tS = function(r, u) {
|
|
74170
74168
|
return eS(r, u[0]).bind(function(f) {
|
|
74171
74169
|
var p = u[0], _ = u[u.length - 1], C = A_(f);
|
|
74172
74170
|
return XA(C, p, _).map(function(A) {
|
|
74173
|
-
return
|
|
74171
|
+
return r6([a6(A)]);
|
|
74174
74172
|
});
|
|
74175
74173
|
}).getOrThunk(QE);
|
|
74176
74174
|
}, QA = function(r, u) {
|
|
@@ -74215,7 +74213,7 @@ Required: ` + u.join(", "));
|
|
|
74215
74213
|
f.getInner = !0;
|
|
74216
74214
|
var p = rI(r, f);
|
|
74217
74215
|
return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
|
|
74218
|
-
},
|
|
74216
|
+
}, l6 = 0, aS = 1, iS = 2, I_ = function(r, u) {
|
|
74219
74217
|
var f = r.length + u.length + 2, p = new Array(f), _ = new Array(f), C = function(ie, ae, se) {
|
|
74220
74218
|
return {
|
|
74221
74219
|
start: ie,
|
|
@@ -74227,7 +74225,7 @@ Required: ` + u.join(", "));
|
|
|
74227
74225
|
if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
|
|
74228
74226
|
for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
|
|
74229
74227
|
Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
|
|
74230
|
-
|
|
74228
|
+
l6,
|
|
74231
74229
|
r[Ee]
|
|
74232
74230
|
]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
|
|
74233
74231
|
iS,
|
|
@@ -74240,7 +74238,7 @@ Required: ` + u.join(", "));
|
|
|
74240
74238
|
A(ie, $e.start, se, $e.start - $e.diag, Oe);
|
|
74241
74239
|
for (var et = $e.start; et < $e.end; ++et)
|
|
74242
74240
|
Oe.push([
|
|
74243
|
-
|
|
74241
|
+
l6,
|
|
74244
74242
|
r[et]
|
|
74245
74243
|
]);
|
|
74246
74244
|
A($e.end, ae, $e.end - $e.diag, ke, Oe);
|
|
@@ -74272,7 +74270,7 @@ Required: ` + u.join(", "));
|
|
|
74272
74270
|
}
|
|
74273
74271
|
}, X = [];
|
|
74274
74272
|
return A(0, r.length, 0, u.length, X), X;
|
|
74275
|
-
},
|
|
74273
|
+
}, s6 = function(r) {
|
|
74276
74274
|
return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
|
|
74277
74275
|
}, oI = function(r) {
|
|
74278
74276
|
var u, f = document.createElement("div"), p = document.createDocumentFragment();
|
|
@@ -74294,19 +74292,19 @@ Required: ` + u.join(", "));
|
|
|
74294
74292
|
}, sS = function(r, u) {
|
|
74295
74293
|
var f = 0;
|
|
74296
74294
|
he(r, function(p) {
|
|
74297
|
-
p[0] ===
|
|
74295
|
+
p[0] === l6 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
|
|
74298
74296
|
});
|
|
74299
74297
|
}, iI = function(r) {
|
|
74300
|
-
return Pt(ne(Er(r.childNodes),
|
|
74298
|
+
return Pt(ne(Er(r.childNodes), s6), function(u) {
|
|
74301
74299
|
return u.length > 0;
|
|
74302
74300
|
});
|
|
74303
74301
|
}, lI = function(r, u) {
|
|
74304
|
-
var f = ne(Er(u.childNodes),
|
|
74302
|
+
var f = ne(Er(u.childNodes), s6);
|
|
74305
74303
|
return sS(I_(f, r), u), u;
|
|
74306
|
-
},
|
|
74307
|
-
return
|
|
74304
|
+
}, u6 = Wa(me.none()), uS = function() {
|
|
74305
|
+
return u6.get().getOrThunk(function() {
|
|
74308
74306
|
var r = document.implementation.createHTMLDocument("undo");
|
|
74309
|
-
return
|
|
74307
|
+
return u6.set(me.some(r)), r;
|
|
74310
74308
|
});
|
|
74311
74309
|
}, cS = function(r) {
|
|
74312
74310
|
return r.indexOf("</iframe>") !== -1;
|
|
@@ -74326,13 +74324,13 @@ Required: ` + u.join(", "));
|
|
|
74326
74324
|
bookmark: null,
|
|
74327
74325
|
beforeBookmark: null
|
|
74328
74326
|
};
|
|
74329
|
-
},
|
|
74327
|
+
}, c6 = function(r) {
|
|
74330
74328
|
var u = iI(r.getBody()), f = He(u, function(_) {
|
|
74331
74329
|
var C = k4(r.serializer, _);
|
|
74332
74330
|
return C.length > 0 ? [C] : [];
|
|
74333
74331
|
}), p = f.join("");
|
|
74334
74332
|
return cS(p) ? fS(f) : sI(p);
|
|
74335
|
-
},
|
|
74333
|
+
}, f6 = function(r, u, f) {
|
|
74336
74334
|
u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
|
|
74337
74335
|
}, D_ = function(r) {
|
|
74338
74336
|
return r.type === "fragmented" ? r.fragments.join("") : r.content;
|
|
@@ -74345,19 +74343,19 @@ Required: ` + u.join(", "));
|
|
|
74345
74343
|
return G4(r) === G4(u);
|
|
74346
74344
|
}, Cm = function(r, u) {
|
|
74347
74345
|
return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
|
|
74348
|
-
},
|
|
74346
|
+
}, d6 = function(r) {
|
|
74349
74347
|
return r.get() === 0;
|
|
74350
74348
|
}, q4 = function(r, u, f) {
|
|
74351
|
-
|
|
74349
|
+
d6(f) && (r.typing = u);
|
|
74352
74350
|
}, Mv = function(r, u) {
|
|
74353
74351
|
r.typing && (q4(r, !1, u), r.add());
|
|
74354
|
-
},
|
|
74352
|
+
}, h6 = function(r) {
|
|
74355
74353
|
r.typing && (r.typing = !1, r.add());
|
|
74356
74354
|
}, vS = function(r, u, f) {
|
|
74357
|
-
|
|
74355
|
+
d6(u) && f.set(me.some(I1(r.selection)));
|
|
74358
74356
|
}, O_ = function(r, u, f, p, _, C, A) {
|
|
74359
|
-
var P =
|
|
74360
|
-
if (C = C || {}, C = Ve.extend(C, P),
|
|
74357
|
+
var P = c6(r);
|
|
74358
|
+
if (C = C || {}, C = Ve.extend(C, P), d6(p) === !1 || r.removed)
|
|
74361
74359
|
return null;
|
|
74362
74360
|
var M = u.data[f.get()];
|
|
74363
74361
|
if (r.fire("BeforeAddUndo", {
|
|
@@ -74387,21 +74385,21 @@ Required: ` + u.join(", "));
|
|
|
74387
74385
|
}, uI = function(r, u, f, p, _) {
|
|
74388
74386
|
if (u.transact(p)) {
|
|
74389
74387
|
var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
|
|
74390
|
-
|
|
74388
|
+
f6(r, A, !0), u.transact(_) && (u.data[f.get() - 1].beforeBookmark = C);
|
|
74391
74389
|
}
|
|
74392
74390
|
}, mS = function(r, u, f) {
|
|
74393
74391
|
var p;
|
|
74394
|
-
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()],
|
|
74392
|
+
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()], f6(r, p, !1), r.setDirty(!0), r.fire("Redo", { level: p })), p;
|
|
74395
74393
|
}, gS = function(r, u, f, p) {
|
|
74396
74394
|
var _;
|
|
74397
|
-
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), _ = u.data[p.get()],
|
|
74395
|
+
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), _ = u.data[p.get()], f6(r, _, !0), r.setDirty(!0), r.fire("Undo", { level: _ })), _;
|
|
74398
74396
|
}, cI = function(r) {
|
|
74399
74397
|
r.clear(), r.add();
|
|
74400
74398
|
}, fI = function(r, u, f) {
|
|
74401
|
-
return f.get() > 0 || u.typing && u.data[0] && !Cm(
|
|
74399
|
+
return f.get() > 0 || u.typing && u.data[0] && !Cm(c6(r), u.data[0]);
|
|
74402
74400
|
}, dI = function(r, u) {
|
|
74403
74401
|
return u.get() < r.data.length - 1 && !r.typing;
|
|
74404
|
-
},
|
|
74402
|
+
}, v6 = function(r, u, f) {
|
|
74405
74403
|
return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
|
|
74406
74404
|
}, hI = function(r, u) {
|
|
74407
74405
|
try {
|
|
@@ -74456,7 +74454,7 @@ Required: ` + u.join(", "));
|
|
|
74456
74454
|
return dI(u, f);
|
|
74457
74455
|
},
|
|
74458
74456
|
transact: function(u, f, p) {
|
|
74459
|
-
return
|
|
74457
|
+
return v6(u, f, p);
|
|
74460
74458
|
},
|
|
74461
74459
|
ignore: function(u, f) {
|
|
74462
74460
|
return hI(u, f);
|
|
@@ -74482,10 +74480,10 @@ Required: ` + u.join(", "));
|
|
|
74482
74480
|
return SA(r, u);
|
|
74483
74481
|
},
|
|
74484
74482
|
apply: function(u, f, p) {
|
|
74485
|
-
return
|
|
74483
|
+
return n6(r, u, f, p);
|
|
74486
74484
|
},
|
|
74487
74485
|
remove: function(u, f, p, _) {
|
|
74488
|
-
return
|
|
74486
|
+
return Q8(r, u, f, p, _);
|
|
74489
74487
|
},
|
|
74490
74488
|
toggle: function(u, f, p) {
|
|
74491
74489
|
return qA(r, u, f, p);
|
|
@@ -74502,7 +74500,7 @@ Required: ` + u.join(", "));
|
|
|
74502
74500
|
return CA(r, u, f);
|
|
74503
74501
|
},
|
|
74504
74502
|
insertContent: function(u, f) {
|
|
74505
|
-
return
|
|
74503
|
+
return F8(r, u, f);
|
|
74506
74504
|
},
|
|
74507
74505
|
addVisual: function(u) {
|
|
74508
74506
|
return vI(r, u);
|
|
@@ -74656,7 +74654,7 @@ Required: ` + u.join(", "));
|
|
|
74656
74654
|
return u.rtcInstance = pI(), Li.reject(p);
|
|
74657
74655
|
}));
|
|
74658
74656
|
});
|
|
74659
|
-
},
|
|
74657
|
+
}, p6 = function(r) {
|
|
74660
74658
|
return r.rtcInstance ? r.rtcInstance : B_(r);
|
|
74661
74659
|
}, Xi = function(r) {
|
|
74662
74660
|
var u = r.rtcInstance;
|
|
@@ -74667,7 +74665,7 @@ Required: ` + u.join(", "));
|
|
|
74667
74665
|
Xi(r).undoManager.beforeChange(u, f);
|
|
74668
74666
|
}, gI = function(r, u, f, p, _, C, A) {
|
|
74669
74667
|
return Xi(r).undoManager.addUndoLevel(u, f, p, _, C, A);
|
|
74670
|
-
},
|
|
74668
|
+
}, m6 = function(r, u, f, p) {
|
|
74671
74669
|
return Xi(r).undoManager.undo(u, f, p);
|
|
74672
74670
|
}, _I = function(r, u, f) {
|
|
74673
74671
|
return Xi(r).undoManager.redo(u, f);
|
|
@@ -74687,7 +74685,7 @@ Required: ` + u.join(", "));
|
|
|
74687
74685
|
Xi(r).undoManager.extra(u, f, p, _);
|
|
74688
74686
|
}, EI = function(r, u, f, p) {
|
|
74689
74687
|
return Xi(r).formatter.match(u, f, p);
|
|
74690
|
-
},
|
|
74688
|
+
}, g6 = function(r, u, f) {
|
|
74691
74689
|
return Xi(r).formatter.matchAll(u, f);
|
|
74692
74690
|
}, xS = function(r, u, f, p, _) {
|
|
74693
74691
|
return Xi(r).formatter.matchNode(u, f, p, _);
|
|
@@ -74703,12 +74701,12 @@ Required: ` + u.join(", "));
|
|
|
74703
74701
|
Xi(r).formatter.toggle(u, f, p);
|
|
74704
74702
|
}, SI = function(r, u, f, p, _) {
|
|
74705
74703
|
return _ === void 0 && (_ = !1), Xi(r).formatter.formatChanged(u, f, p, _);
|
|
74706
|
-
},
|
|
74707
|
-
return
|
|
74704
|
+
}, _6 = function(r, u, f) {
|
|
74705
|
+
return p6(r).editor.getContent(u, f);
|
|
74708
74706
|
}, kI = function(r, u, f) {
|
|
74709
|
-
return
|
|
74707
|
+
return p6(r).editor.setContent(u, f);
|
|
74710
74708
|
}, K4 = function(r, u, f) {
|
|
74711
|
-
return
|
|
74709
|
+
return p6(r).editor.insertContent(u, f);
|
|
74712
74710
|
}, TI = function(r, u, f) {
|
|
74713
74711
|
return Xi(r).selection.getContent(u, f);
|
|
74714
74712
|
}, NI = function(r, u) {
|
|
@@ -74717,7 +74715,7 @@ Required: ` + u.join(", "));
|
|
|
74717
74715
|
u === void 0 && (u = {});
|
|
74718
74716
|
var f = u.format ? u.format : "html";
|
|
74719
74717
|
return TI(r, f, u);
|
|
74720
|
-
},
|
|
74718
|
+
}, y6 = function(r) {
|
|
74721
74719
|
return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
|
|
74722
74720
|
}, AI = function(r, u) {
|
|
74723
74721
|
return r.filter(function(f) {
|
|
@@ -74746,7 +74744,7 @@ Required: ` + u.join(", "));
|
|
|
74746
74744
|
}, OI = function(r, u) {
|
|
74747
74745
|
var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
|
|
74748
74746
|
r.deleteContents(), r.insertNode(u);
|
|
74749
|
-
var _ = f.bind(qs).filter(wi).bind(
|
|
74747
|
+
var _ = f.bind(qs).filter(wi).bind(y6), C = p.bind(Ms).filter(wi).bind(y6);
|
|
74750
74748
|
IS(_, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
|
|
74751
74749
|
}, BI = function(r, u) {
|
|
74752
74750
|
return gr(gr({ format: "html" }, r), {
|
|
@@ -75037,7 +75035,7 @@ Required: ` + u.join(", "));
|
|
|
75037
75035
|
return u(new Blob([]));
|
|
75038
75036
|
}, u);
|
|
75039
75037
|
});
|
|
75040
|
-
},
|
|
75038
|
+
}, b6 = function(r) {
|
|
75041
75039
|
return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
|
|
75042
75040
|
}, $S = function(r) {
|
|
75043
75041
|
return new Li(function(u) {
|
|
@@ -75046,7 +75044,7 @@ Required: ` + u.join(", "));
|
|
|
75046
75044
|
u(f.result);
|
|
75047
75045
|
}, f.readAsDataURL(r);
|
|
75048
75046
|
});
|
|
75049
|
-
}, WI = 0,
|
|
75047
|
+
}, WI = 0, w6 = function(r) {
|
|
75050
75048
|
return (r || "blobid") + WI++;
|
|
75051
75049
|
}, jI = function(r, u, f, p) {
|
|
75052
75050
|
var _, C;
|
|
@@ -75054,9 +75052,9 @@ Required: ` + u.join(", "));
|
|
|
75054
75052
|
C = r.getByUri(u.src), C ? f({
|
|
75055
75053
|
image: u,
|
|
75056
75054
|
blobInfo: C
|
|
75057
|
-
}) :
|
|
75055
|
+
}) : b6(u.src).then(function(X) {
|
|
75058
75056
|
$S(X).then(function(ie) {
|
|
75059
|
-
_ = xm(ie).data, C = r.create(
|
|
75057
|
+
_ = xm(ie).data, C = r.create(w6(), X, _), r.add(C), f({
|
|
75060
75058
|
image: u,
|
|
75061
75059
|
blobInfo: C
|
|
75062
75060
|
});
|
|
@@ -75070,8 +75068,8 @@ Required: ` + u.join(", "));
|
|
|
75070
75068
|
_ = P, C = r.getByData(_, M), C ? f({
|
|
75071
75069
|
image: u,
|
|
75072
75070
|
blobInfo: C
|
|
75073
|
-
}) :
|
|
75074
|
-
C = r.create(
|
|
75071
|
+
}) : b6(u.src).then(function(X) {
|
|
75072
|
+
C = r.create(w6(), X, _), r.add(C), f({
|
|
75075
75073
|
image: u,
|
|
75076
75074
|
blobInfo: C
|
|
75077
75075
|
});
|
|
@@ -75147,7 +75145,7 @@ Required: ` + u.join(", "));
|
|
|
75147
75145
|
var P = A.type, M = A.data;
|
|
75148
75146
|
return me.from(f.getByData(M, P)).orThunk(function() {
|
|
75149
75147
|
return RS(P, M).map(function(X) {
|
|
75150
|
-
var ie = f.create(
|
|
75148
|
+
var ie = f.create(w6(), X, M);
|
|
75151
75149
|
return f.add(ie), ie;
|
|
75152
75150
|
});
|
|
75153
75151
|
});
|
|
@@ -75548,7 +75546,7 @@ Required: ` + u.join(", "));
|
|
|
75548
75546
|
}, a9 = "html", Tl = function(r, u) {
|
|
75549
75547
|
u === void 0 && (u = {});
|
|
75550
75548
|
var f = u.format ? u.format : a9;
|
|
75551
|
-
return
|
|
75549
|
+
return _6(r, u, f);
|
|
75552
75550
|
}, X4 = function(r, u, f) {
|
|
75553
75551
|
return f === void 0 && (f = {}), kI(r, u, f);
|
|
75554
75552
|
}, J4 = ua.DOM, i9 = function(r) {
|
|
@@ -75597,7 +75595,7 @@ Required: ` + u.join(", "));
|
|
|
75597
75595
|
sections: Fe(r),
|
|
75598
75596
|
settings: Fe(u)
|
|
75599
75597
|
};
|
|
75600
|
-
},
|
|
75598
|
+
}, C6 = Wr().deviceType, h9 = C6.isTouch(), x6 = C6.isPhone(), Rv = C6.isTablet(), iu = [
|
|
75601
75599
|
"lists",
|
|
75602
75600
|
"autolink",
|
|
75603
75601
|
"autosave"
|
|
@@ -75617,7 +75615,7 @@ Required: ` + u.join(", "));
|
|
|
75617
75615
|
return Re(r, _);
|
|
75618
75616
|
});
|
|
75619
75617
|
return d9(f.t, f.f);
|
|
75620
|
-
},
|
|
75618
|
+
}, E6 = function(r, u, f) {
|
|
75621
75619
|
f === void 0 && (f = {});
|
|
75622
75620
|
var p = r.sections(), _ = p.hasOwnProperty(u) ? p[u] : {};
|
|
75623
75621
|
return Ve.extend({}, f, _);
|
|
@@ -75685,14 +75683,14 @@ Required: ` + u.join(", "));
|
|
|
75685
75683
|
}, nk = function(r, u) {
|
|
75686
75684
|
return r && $g(u, "mobile");
|
|
75687
75685
|
}, rk = function(r, u, f, p, _) {
|
|
75688
|
-
var C = r ? { mobile: ek(_.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, _)), P = Ve.extend(f, p, A.settings(), nk(r, A) ?
|
|
75686
|
+
var C = r ? { mobile: ek(_.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, _)), P = Ve.extend(f, p, A.settings(), nk(r, A) ? E6(A, "mobile") : {}, {
|
|
75689
75687
|
validate: !0,
|
|
75690
75688
|
external_plugins: v9(p, A.settings())
|
|
75691
75689
|
});
|
|
75692
75690
|
return $_(r, A, p, P);
|
|
75693
75691
|
}, ok = function(r, u, f, p, _) {
|
|
75694
75692
|
var C = QS(_, u, f, h9, r);
|
|
75695
|
-
return rk(
|
|
75693
|
+
return rk(x6 || Rv, x6, C, p, _);
|
|
75696
75694
|
}, gh = function(r, u, f) {
|
|
75697
75695
|
return me.from(u.settings[f]).filter(r);
|
|
75698
75696
|
}, m9 = function(r) {
|
|
@@ -75728,7 +75726,7 @@ Required: ` + u.join(", "));
|
|
|
75728
75726
|
return parseInt(Zr(u, r), 10);
|
|
75729
75727
|
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75730
75728
|
return r.dom.getBoundingClientRect();
|
|
75731
|
-
},
|
|
75729
|
+
}, S6 = function(r, u, f) {
|
|
75732
75730
|
var p = y9(r), _ = ik(r);
|
|
75733
75731
|
return u >= 0 && f >= 0 && u <= p && f <= _;
|
|
75734
75732
|
}, b9 = function(r, u, f, p) {
|
|
@@ -75739,7 +75737,7 @@ Required: ` + u.join(", "));
|
|
|
75739
75737
|
};
|
|
75740
75738
|
}, ck = function(r, u, f) {
|
|
75741
75739
|
var p = be.fromDom(r.getBody()), _ = r.inline ? p : Ii(p), C = b9(r.inline, _, u, f);
|
|
75742
|
-
return
|
|
75740
|
+
return S6(_, C.x, C.y);
|
|
75743
75741
|
}, w9 = function(r) {
|
|
75744
75742
|
return me.from(r).map(be.fromDom);
|
|
75745
75743
|
}, C9 = function(r) {
|
|
@@ -75910,7 +75908,7 @@ Required: ` + u.join(", "));
|
|
|
75910
75908
|
e3(r, "IconsLoadError", Uu("icons", u, f));
|
|
75911
75909
|
}, k9 = function(r, u, f) {
|
|
75912
75910
|
e3(r, "LanguageLoadError", Uu("language", u, f));
|
|
75913
|
-
},
|
|
75911
|
+
}, k6 = function(r, u, f) {
|
|
75914
75912
|
var p = Us.translate([
|
|
75915
75913
|
"Failed to initialize plugin: {0}",
|
|
75916
75914
|
u
|
|
@@ -75924,17 +75922,17 @@ Required: ` + u.join(", "));
|
|
|
75924
75922
|
}, Vg = function(r) {
|
|
75925
75923
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75926
75924
|
}, T9 = function(r) {
|
|
75927
|
-
return
|
|
75925
|
+
return T6(r, cb(r));
|
|
75928
75926
|
}, vk = function(r) {
|
|
75929
|
-
return
|
|
75930
|
-
},
|
|
75927
|
+
return T6(r, f2(r));
|
|
75928
|
+
}, T6 = function(r, u) {
|
|
75931
75929
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, _ = "content" + p + ".css", C = r.inline === !0;
|
|
75932
75930
|
return ne(u, function(A) {
|
|
75933
75931
|
return Vg(A) && !C ? f + "/" + A + "/" + _ : r.documentBaseURI.toAbsolute(A);
|
|
75934
75932
|
});
|
|
75935
|
-
},
|
|
75933
|
+
}, N6 = function(r) {
|
|
75936
75934
|
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75937
|
-
},
|
|
75935
|
+
}, A6 = function() {
|
|
75938
75936
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75939
75937
|
return {
|
|
75940
75938
|
status: se,
|
|
@@ -75968,13 +75966,13 @@ Required: ` + u.join(", "));
|
|
|
75968
75966
|
removeFailed: ie,
|
|
75969
75967
|
destroy: ae
|
|
75970
75968
|
};
|
|
75971
|
-
},
|
|
75969
|
+
}, I6 = 0, N9 = function() {
|
|
75972
75970
|
var r = function() {
|
|
75973
75971
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
75974
75972
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
75975
75973
|
return "s" + u.toString(36) + r() + r() + r();
|
|
75976
75974
|
}, pk = function(r) {
|
|
75977
|
-
return r +
|
|
75975
|
+
return r + I6++ + N9();
|
|
75978
75976
|
}, A9 = function() {
|
|
75979
75977
|
var r = [], u = function(ae) {
|
|
75980
75978
|
var se = {
|
|
@@ -76157,7 +76155,7 @@ Required: ` + u.join(", "));
|
|
|
76157
76155
|
handler: Qw(r)
|
|
76158
76156
|
});
|
|
76159
76157
|
}, I9 = function(r) {
|
|
76160
|
-
var u =
|
|
76158
|
+
var u = A6(), f = gk(r, u);
|
|
76161
76159
|
return {
|
|
76162
76160
|
upload: function(p, _) {
|
|
76163
76161
|
return _ === void 0 && (_ = !0), f.upload(p, _ ? mk(r) : void 0);
|
|
@@ -76181,7 +76179,7 @@ Required: ` + u.join(", "));
|
|
|
76181
76179
|
};
|
|
76182
76180
|
return { fireIfChanged: f };
|
|
76183
76181
|
}, D9 = function(r) {
|
|
76184
|
-
var u = A9(), f, p, _ =
|
|
76182
|
+
var u = A9(), f, p, _ = A6(), C = [], A = F_(r), P = function(yt) {
|
|
76185
76183
|
return function(Mt) {
|
|
76186
76184
|
return r.selection ? yt(Mt) : [];
|
|
76187
76185
|
};
|
|
@@ -76738,7 +76736,7 @@ Required: ` + u.join(", "));
|
|
|
76738
76736
|
return SS(r, p);
|
|
76739
76737
|
},
|
|
76740
76738
|
matchAll: function(p, _) {
|
|
76741
|
-
return
|
|
76739
|
+
return g6(r, p, _);
|
|
76742
76740
|
},
|
|
76743
76741
|
matchNode: function(p, _, C, A) {
|
|
76744
76742
|
return xS(r, p, _, C, A);
|
|
@@ -76767,7 +76765,7 @@ Required: ` + u.join(", "));
|
|
|
76767
76765
|
u.beforeChange();
|
|
76768
76766
|
}), r.on("SaveContent ObjectResized blur", _), r.on("dragend", _), r.on("keyup", function(M) {
|
|
76769
76767
|
var X = M.keyCode;
|
|
76770
|
-
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (_(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(
|
|
76768
|
+
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (_(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(c6(r), u.data[0]) === !1 && (r.isDirty() === !1 && (r.setDirty(!0), r.fire("change", {
|
|
76771
76769
|
level: u.data[0],
|
|
76772
76770
|
lastLevel: null
|
|
76773
76771
|
})), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
|
|
@@ -76809,7 +76807,7 @@ Required: ` + u.join(", "));
|
|
|
76809
76807
|
return gI(r, _, p, f, u, C, A);
|
|
76810
76808
|
},
|
|
76811
76809
|
undo: function() {
|
|
76812
|
-
return
|
|
76810
|
+
return m6(r, _, f, p);
|
|
76813
76811
|
},
|
|
76814
76812
|
redo: function() {
|
|
76815
76813
|
return _I(r, p, _.data);
|
|
@@ -76879,7 +76877,7 @@ Required: ` + u.join(", "));
|
|
|
76879
76877
|
return _ ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(_) : f === _.nodeName.toLowerCase() : !0;
|
|
76880
76878
|
} else
|
|
76881
76879
|
return !1;
|
|
76882
|
-
},
|
|
76880
|
+
}, D6 = function(r) {
|
|
76883
76881
|
var u = r.dom, f = Oi(r), p = nC(r), _ = function(C, A) {
|
|
76884
76882
|
if (!F9(C)) {
|
|
76885
76883
|
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
@@ -76922,11 +76920,11 @@ Required: ` + u.join(", "));
|
|
|
76922
76920
|
return li(r, u) ? jm(u, function(f) {
|
|
76923
76921
|
return Ra(f) || pp(f);
|
|
76924
76922
|
}, a3(r)) : me.none();
|
|
76925
|
-
},
|
|
76923
|
+
}, O6 = function(r) {
|
|
76926
76924
|
var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
|
|
76927
76925
|
r.selection.setCursorLocation(f, 0);
|
|
76928
76926
|
}, i3 = function(r) {
|
|
76929
|
-
r.dom.isEmpty(r.getBody()) && (r.setContent(""),
|
|
76927
|
+
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
|
|
76930
76928
|
}, kk = function(r, u, f) {
|
|
76931
76929
|
return ki(jl(f), Ru(f), function(p, _) {
|
|
76932
76930
|
var C = Nl(!0, p), A = Nl(!1, _), P = Nl(!1, u);
|
|
@@ -76990,7 +76988,7 @@ Required: ` + u.join(", "));
|
|
|
76990
76988
|
}, cd = function(r) {
|
|
76991
76989
|
var u = Bk(r);
|
|
76992
76990
|
return he(u, pi), u;
|
|
76993
|
-
},
|
|
76991
|
+
}, B6 = function(r, u) {
|
|
76994
76992
|
var f = qo(u, r);
|
|
76995
76993
|
return _n(f.reverse(), function(p) {
|
|
76996
76994
|
return ws(p);
|
|
@@ -77006,14 +77004,14 @@ Required: ` + u.join(", "));
|
|
|
77006
77004
|
var _ = mc(f.dom, un.before(p.dom));
|
|
77007
77005
|
return he(cd(u), function(C) {
|
|
77008
77006
|
cl(p, C);
|
|
77009
|
-
}),
|
|
77007
|
+
}), B6(r, u), _;
|
|
77010
77008
|
}, Ac = function(r, u, f) {
|
|
77011
77009
|
if (ws(f))
|
|
77012
77010
|
return pi(f), ws(u) && js(u), jl(u.dom);
|
|
77013
77011
|
var p = Ru(f.dom);
|
|
77014
77012
|
return he(cd(u), function(_) {
|
|
77015
77013
|
Ha(f, _);
|
|
77016
|
-
}),
|
|
77014
|
+
}), B6(r, u), p;
|
|
77017
77015
|
}, H9 = function(r, u) {
|
|
77018
77016
|
var f = qo(u, r);
|
|
77019
77017
|
return me.from(f[f.length - 1]);
|
|
@@ -77056,7 +77054,7 @@ Required: ` + u.join(", "));
|
|
|
77056
77054
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77057
77055
|
}, Ug = function(r, u) {
|
|
77058
77056
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77059
|
-
},
|
|
77057
|
+
}, P6 = $s, Vk = xa, _h = function(r, u, f, p, _) {
|
|
77060
77058
|
return me.from(u._selectionOverrides.showCaret(r, f, p, _));
|
|
77061
77059
|
}, X9 = function(r) {
|
|
77062
77060
|
var u = r.ownerDocument.createRange();
|
|
@@ -77064,7 +77062,7 @@ Required: ` + u.join(", "));
|
|
|
77064
77062
|
}, km = function(r, u) {
|
|
77065
77063
|
var f = r.fire("BeforeObjectSelected", { target: u });
|
|
77066
77064
|
return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
|
|
77067
|
-
},
|
|
77065
|
+
}, M6 = function(r, u, f) {
|
|
77068
77066
|
var p = x2(1, r.getBody(), u), _ = un.fromRangeStart(p), C = _.getNode();
|
|
77069
77067
|
if (Jd(C))
|
|
77070
77068
|
return _h(1, r, C, !_.isAtEnd(), !1);
|
|
@@ -77072,16 +77070,16 @@ Required: ` + u.join(", "));
|
|
|
77072
77070
|
if (Jd(A))
|
|
77073
77071
|
return _h(1, r, A, !1, !1);
|
|
77074
77072
|
var P = r.dom.getParent(_.getNode(), function(M) {
|
|
77075
|
-
return Vk(M) ||
|
|
77073
|
+
return Vk(M) || P6(M);
|
|
77076
77074
|
});
|
|
77077
77075
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77078
77076
|
}, H_ = function(r, u, f) {
|
|
77079
|
-
return u.collapsed ?
|
|
77077
|
+
return u.collapsed ? M6(r, u, f).getOr(u) : u;
|
|
77080
77078
|
}, Lk = function(r) {
|
|
77081
77079
|
return Yo(r) || Cr(r);
|
|
77082
77080
|
}, Uk = function(r) {
|
|
77083
77081
|
return Xo(r) || uo(r);
|
|
77084
|
-
},
|
|
77082
|
+
}, R6 = function(r, u) {
|
|
77085
77083
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77086
77084
|
}, zk = function(r, u, f, p, _, C) {
|
|
77087
77085
|
return _h(p, r, C.getNode(!_), _, !0).each(function(A) {
|
|
@@ -77091,7 +77089,7 @@ Required: ` + u.join(", "));
|
|
|
77091
77089
|
} else
|
|
77092
77090
|
u.deleteContents();
|
|
77093
77091
|
r.selection.setRng(A);
|
|
77094
|
-
}),
|
|
77092
|
+
}), R6(r.dom, f), !0;
|
|
77095
77093
|
}, J9 = function(r, u) {
|
|
77096
77094
|
var f = r.selection.getRng();
|
|
77097
77095
|
if (!Bn(f.commonAncestorContainer))
|
|
@@ -77121,16 +77119,16 @@ Required: ` + u.join(", "));
|
|
|
77121
77119
|
return U1(!u, f).fold(function() {
|
|
77122
77120
|
return U1(u, p).fold(Qe, _);
|
|
77123
77121
|
}, _);
|
|
77124
|
-
}, $
|
|
77122
|
+
}, $6 = function(r, u, f, p) {
|
|
77125
77123
|
var _ = p.getNode(u === !1);
|
|
77126
77124
|
return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
|
|
77127
77125
|
return ws(C) ? cs.remove(C.dom) : cs.moveToElement(_);
|
|
77128
77126
|
}).orThunk(function() {
|
|
77129
77127
|
return me.some(cs.moveToElement(_));
|
|
77130
77128
|
});
|
|
77131
|
-
},
|
|
77129
|
+
}, F6 = function(r, u, f) {
|
|
77132
77130
|
return Hs(u, r, f).bind(function(p) {
|
|
77133
|
-
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $
|
|
77131
|
+
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $6(r, u, f, p) : u && Xo(f) || u === !1 && Yo(f) ? me.some(cs.moveToPosition(p)) : me.none();
|
|
77134
77132
|
});
|
|
77135
77133
|
}, Wk = function(r, u) {
|
|
77136
77134
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
@@ -77144,8 +77142,8 @@ Required: ` + u.join(", "));
|
|
|
77144
77142
|
});
|
|
77145
77143
|
}, Gk = function(r, u, f) {
|
|
77146
77144
|
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77147
|
-
return
|
|
77148
|
-
}, me.some) :
|
|
77145
|
+
return F6(r, u, f);
|
|
77146
|
+
}, me.some) : F6(r, u, f).bind(function(p) {
|
|
77149
77147
|
return jk(r, f, p);
|
|
77150
77148
|
});
|
|
77151
77149
|
}, qk = function(r, u, f) {
|
|
@@ -77164,7 +77162,7 @@ Required: ` + u.join(", "));
|
|
|
77164
77162
|
var p = u ? un.before(f) : un.after(f);
|
|
77165
77163
|
return r.selection.setRng(p.toRange()), !0;
|
|
77166
77164
|
};
|
|
77167
|
-
},
|
|
77165
|
+
}, V6 = function(r) {
|
|
77168
77166
|
return function(u) {
|
|
77169
77167
|
return r.selection.setRng(u.toRange()), !0;
|
|
77170
77168
|
};
|
|
@@ -77174,7 +77172,7 @@ Required: ` + u.join(", "));
|
|
|
77174
77172
|
var f = r.selection.getNode();
|
|
77175
77173
|
return Kk(r, f).filter(xa).fold(function() {
|
|
77176
77174
|
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77177
|
-
return p.fold(f3(r, u), d3(r, u),
|
|
77175
|
+
return p.fold(f3(r, u), d3(r, u), V6(r));
|
|
77178
77176
|
});
|
|
77179
77177
|
}, Ht);
|
|
77180
77178
|
}, Q9 = function(r) {
|
|
@@ -77188,7 +77186,7 @@ Required: ` + u.join(", "));
|
|
|
77188
77186
|
}, Ht);
|
|
77189
77187
|
}
|
|
77190
77188
|
return !1;
|
|
77191
|
-
},
|
|
77189
|
+
}, L6 = function(r) {
|
|
77192
77190
|
var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
|
|
77193
77191
|
if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
|
|
77194
77192
|
var _ = u.create("br", { "data-mce-bogus": "1" });
|
|
@@ -77235,7 +77233,7 @@ Required: ` + u.join(", "));
|
|
|
77235
77233
|
}, Zk = function(r, u) {
|
|
77236
77234
|
var f = u.get();
|
|
77237
77235
|
return f && r.container() === f && Wc(f);
|
|
77238
|
-
},
|
|
77236
|
+
}, U6 = function(r, u) {
|
|
77239
77237
|
return u.fold(function(f) {
|
|
77240
77238
|
qf(r.get());
|
|
77241
77239
|
var p = p3(f);
|
|
@@ -77273,11 +77271,11 @@ Required: ` + u.join(", "));
|
|
|
77273
77271
|
{ start: ["element"] },
|
|
77274
77272
|
{ end: ["element"] },
|
|
77275
77273
|
{ after: ["element"] }
|
|
77276
|
-
]),
|
|
77274
|
+
]), z6 = function(r, u) {
|
|
77277
77275
|
var f = Yf(u, r);
|
|
77278
77276
|
return f || r;
|
|
77279
77277
|
}, oD = function(r, u, f) {
|
|
77280
|
-
var p = Vv(f), _ =
|
|
77278
|
+
var p = Vv(f), _ = z6(u, p.container());
|
|
77281
77279
|
return lu(r, _, p).fold(function() {
|
|
77282
77280
|
return eu(_, p).bind(Ue(lu, r, _)).map(function(C) {
|
|
77283
77281
|
return fs.before(C);
|
|
@@ -77300,14 +77298,14 @@ Required: ` + u.join(", "));
|
|
|
77300
77298
|
return C.isNone() ? me.some(fs.end(_)) : me.none();
|
|
77301
77299
|
});
|
|
77302
77300
|
}, sD = function(r, u, f) {
|
|
77303
|
-
var p = U_(f), _ =
|
|
77301
|
+
var p = U_(f), _ = z6(u, p.container());
|
|
77304
77302
|
return lu(r, _, p).fold(function() {
|
|
77305
77303
|
return mc(_, p).bind(Ue(lu, r, _)).map(function(C) {
|
|
77306
77304
|
return fs.after(C);
|
|
77307
77305
|
});
|
|
77308
77306
|
}, me.none);
|
|
77309
77307
|
}, e5 = function(r) {
|
|
77310
|
-
return z9(
|
|
77308
|
+
return z9(H6(r)) === !1;
|
|
77311
77309
|
}, fd = function(r, u, f) {
|
|
77312
77310
|
var p = Qk([
|
|
77313
77311
|
oD,
|
|
@@ -77320,7 +77318,7 @@ Required: ` + u.join(", "));
|
|
|
77320
77318
|
f
|
|
77321
77319
|
]);
|
|
77322
77320
|
return p.filter(e5);
|
|
77323
|
-
},
|
|
77321
|
+
}, H6 = function(r) {
|
|
77324
77322
|
return r.fold(_t, _t, _t, _t);
|
|
77325
77323
|
}, t5 = function(r) {
|
|
77326
77324
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
@@ -77329,7 +77327,7 @@ Required: ` + u.join(", "));
|
|
|
77329
77327
|
}, Wg = function(r) {
|
|
77330
77328
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77331
77329
|
}, uD = function(r, u) {
|
|
77332
|
-
return t5(r) === t5(u) &&
|
|
77330
|
+
return t5(r) === t5(u) && H6(r) === H6(u);
|
|
77333
77331
|
}, cD = function(r, u, f, p, _, C) {
|
|
77334
77332
|
return ki(lu(u, f, p), lu(u, f, _), function(A, P) {
|
|
77335
77333
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77347,13 +77345,13 @@ Required: ` + u.join(", "));
|
|
|
77347
77345
|
return P.filter(e5);
|
|
77348
77346
|
}, dD = function(r, u) {
|
|
77349
77347
|
return r ? u.fold(te(me.some, fs.start), me.none, te(me.some, fs.after), me.none) : u.fold(me.none, te(me.some, fs.before), me.none, te(me.some, fs.end));
|
|
77350
|
-
},
|
|
77348
|
+
}, W6 = function(r, u, f, p) {
|
|
77351
77349
|
var _ = Nl(r, p), C = fd(u, f, _);
|
|
77352
77350
|
return fd(u, f, _).bind(Ue(dD, r)).orThunk(function() {
|
|
77353
77351
|
return fD(r, u, f, C, p);
|
|
77354
77352
|
});
|
|
77355
77353
|
};
|
|
77356
|
-
Ue(
|
|
77354
|
+
Ue(W6, !1), Ue(W6, !0);
|
|
77357
77355
|
var hD = function(r) {
|
|
77358
77356
|
return Pe(r.selection.getSel().modify);
|
|
77359
77357
|
}, n5 = function(r, u, f) {
|
|
@@ -77425,7 +77423,7 @@ Required: ` + u.join(", "));
|
|
|
77425
77423
|
});
|
|
77426
77424
|
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77427
77425
|
return Nm(r, u).breakAt.isNone();
|
|
77428
|
-
},
|
|
77426
|
+
}, j6 = function(r, u) {
|
|
77429
77427
|
return W_(r, u).breakAt.isNone();
|
|
77430
77428
|
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77431
77429
|
return jl(r).map(function(u) {
|
|
@@ -77475,7 +77473,7 @@ Required: ` + u.join(", "));
|
|
|
77475
77473
|
return u.line > r;
|
|
77476
77474
|
}, c5 = function(r, u) {
|
|
77477
77475
|
return u.line === r;
|
|
77478
|
-
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il),
|
|
77476
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
|
|
77479
77477
|
var _ = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77480
77478
|
return oa(Oe.getClientRects());
|
|
77481
77479
|
};
|
|
@@ -77493,13 +77491,13 @@ Required: ` + u.join(", "));
|
|
|
77493
77491
|
return function(u) {
|
|
77494
77492
|
return Gg(r, u);
|
|
77495
77493
|
};
|
|
77496
|
-
},
|
|
77494
|
+
}, q6 = function(r) {
|
|
77497
77495
|
return function(u) {
|
|
77498
77496
|
return c5(r, u);
|
|
77499
77497
|
};
|
|
77500
|
-
}, bD = xa, v5 = cv,
|
|
77498
|
+
}, bD = xa, v5 = cv, K6 = function(r, u) {
|
|
77501
77499
|
return Math.abs(r.left - u);
|
|
77502
|
-
},
|
|
77500
|
+
}, Y6 = function(r, u) {
|
|
77503
77501
|
return Math.abs(r.right - u);
|
|
77504
77502
|
}, Dc = function(r, u) {
|
|
77505
77503
|
return r >= u.left && r <= u.right;
|
|
@@ -77507,7 +77505,7 @@ Required: ` + u.join(", "));
|
|
|
77507
77505
|
return r >= u.top && r <= u.bottom;
|
|
77508
77506
|
}, C3 = function(r, u) {
|
|
77509
77507
|
return Po(r, function(f, p) {
|
|
77510
|
-
var _ = Math.min(
|
|
77508
|
+
var _ = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
|
|
77511
77509
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === _ && bD(p.node) || C < _ ? p : f;
|
|
77512
77510
|
});
|
|
77513
77511
|
}, p5 = function(r, u, f, p, _) {
|
|
@@ -77530,7 +77528,7 @@ Required: ` + u.join(", "));
|
|
|
77530
77528
|
}, ED = function(r, u) {
|
|
77531
77529
|
return {
|
|
77532
77530
|
node: r.node,
|
|
77533
|
-
before:
|
|
77531
|
+
before: K6(r, u) < Y6(r, u)
|
|
77534
77532
|
};
|
|
77535
77533
|
}, SD = function(r, u, f) {
|
|
77536
77534
|
var p = w3(xD(r)), _ = Pt(p, Ue(wD, f)), C = C3(_, u);
|
|
@@ -77542,7 +77540,7 @@ Required: ` + u.join(", "));
|
|
|
77542
77540
|
return null;
|
|
77543
77541
|
}, di = function(r, u) {
|
|
77544
77542
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77545
|
-
},
|
|
77543
|
+
}, X6 = function(r, u, f) {
|
|
77546
77544
|
return me.some(H_(r, u, f));
|
|
77547
77545
|
}, m5 = function(r, u, f, p, _, C) {
|
|
77548
77546
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : _;
|
|
@@ -77560,21 +77558,21 @@ Required: ` + u.join(", "));
|
|
|
77560
77558
|
if (X(se))
|
|
77561
77559
|
return _h(u, r, se.getNode(!A), A, !1);
|
|
77562
77560
|
var Oe = M(se);
|
|
77563
|
-
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ?
|
|
77564
|
-
},
|
|
77561
|
+
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X6(r, se.toRange(), !1) : me.none();
|
|
77562
|
+
}, J6 = function(r, u, f, p, _, C) {
|
|
77565
77563
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77566
77564
|
if (!P)
|
|
77567
77565
|
return me.none();
|
|
77568
|
-
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie,
|
|
77566
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
|
|
77569
77567
|
if (ke && C(ke.node)) {
|
|
77570
77568
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77571
77569
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77572
77570
|
}
|
|
77573
77571
|
var Ee;
|
|
77574
77572
|
if (p(A) ? Ee = A.getNode() : _(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77575
|
-
var ot =
|
|
77576
|
-
if (et || (et = oa(Pt(ot,
|
|
77577
|
-
return
|
|
77573
|
+
var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
|
|
77574
|
+
if (et || (et = oa(Pt(ot, q6(0))), et))
|
|
77575
|
+
return X6(r, et.position.toRange(), !1);
|
|
77578
77576
|
}
|
|
77579
77577
|
return ae.length === 0 ? j_(r, M).filter(M ? _ : p).map(function(ut) {
|
|
77580
77578
|
return H_(r, ut.toRange(), !1);
|
|
@@ -77598,11 +77596,11 @@ Required: ` + u.join(", "));
|
|
|
77598
77596
|
}, _5 = function(r, u) {
|
|
77599
77597
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77600
77598
|
}, Uv = function(r, u, f) {
|
|
77601
|
-
return
|
|
77599
|
+
return U6(u, f).map(function(p) {
|
|
77602
77600
|
return x3(r, p), f;
|
|
77603
77601
|
});
|
|
77604
77602
|
}, kD = function(r, u, f) {
|
|
77605
|
-
var p = r.getBody(), _ = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A =
|
|
77603
|
+
var p = r.getBody(), _ = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W6(f, C, p, _);
|
|
77606
77604
|
return A.bind(function(P) {
|
|
77607
77605
|
return Uv(r, u, P);
|
|
77608
77606
|
});
|
|
@@ -77643,7 +77641,7 @@ Required: ` + u.join(", "));
|
|
|
77643
77641
|
});
|
|
77644
77642
|
return fd(Ue(Em, r), r.getBody(), p).exists(function(_) {
|
|
77645
77643
|
var C = Tm(_);
|
|
77646
|
-
return
|
|
77644
|
+
return U6(f, C).exists(function(A) {
|
|
77647
77645
|
return x3(r, A), !0;
|
|
77648
77646
|
});
|
|
77649
77647
|
});
|
|
@@ -77661,7 +77659,7 @@ Required: ` + u.join(", "));
|
|
|
77661
77659
|
}).getOr(!0);
|
|
77662
77660
|
}, C5 = function(r, u) {
|
|
77663
77661
|
return function(f) {
|
|
77664
|
-
return
|
|
77662
|
+
return U6(u, f).exists(function(p) {
|
|
77665
77663
|
return x3(r, p), !0;
|
|
77666
77664
|
});
|
|
77667
77665
|
};
|
|
@@ -77704,9 +77702,9 @@ Required: ` + u.join(", "));
|
|
|
77704
77702
|
return Kn(f, Fs).fold(Fe(f), function(p) {
|
|
77705
77703
|
return f.slice(0, p);
|
|
77706
77704
|
});
|
|
77707
|
-
},
|
|
77705
|
+
}, Z6 = function(r) {
|
|
77708
77706
|
return va(r).length === 1;
|
|
77709
|
-
},
|
|
77707
|
+
}, Q6 = function(r, u, f, p) {
|
|
77710
77708
|
var _ = Ue(DA, u), C = ne(Pt(p, _), function(P) {
|
|
77711
77709
|
return P.dom;
|
|
77712
77710
|
});
|
|
@@ -77717,10 +77715,10 @@ Required: ` + u.join(", "));
|
|
|
77717
77715
|
u.selection.setRng(A.toRange());
|
|
77718
77716
|
}
|
|
77719
77717
|
}, BD = function(r, u) {
|
|
77720
|
-
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), _ = Pt(OD(f, p),
|
|
77718
|
+
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), _ = Pt(OD(f, p), Z6);
|
|
77721
77719
|
return nr(_).exists(function(C) {
|
|
77722
77720
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77723
|
-
return kk(u, A, C.dom) && !OA(C) ? (
|
|
77721
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, _), !0) : !1;
|
|
77724
77722
|
});
|
|
77725
77723
|
}, hd = function(r, u) {
|
|
77726
77724
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77932,7 +77930,7 @@ Required: ` + u.join(", "));
|
|
|
77932
77930
|
}, _ = function(C) {
|
|
77933
77931
|
return Xo(C) || xo(C);
|
|
77934
77932
|
};
|
|
77935
|
-
return
|
|
77933
|
+
return J6(u, r, f, p, _, rx);
|
|
77936
77934
|
}, tO = function(r) {
|
|
77937
77935
|
var u = r.dom.create(Oi(r));
|
|
77938
77936
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
@@ -77988,7 +77986,7 @@ Required: ` + u.join(", "));
|
|
|
77988
77986
|
var f = Ue(yo, u);
|
|
77989
77987
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
77990
77988
|
}, $5 = function(r, u, f) {
|
|
77991
|
-
return u ?
|
|
77989
|
+
return u ? j6(r.dom, f) : a5(r.dom, f);
|
|
77992
77990
|
}, F5 = function(r, u) {
|
|
77993
77991
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), _ = Oi(r), C = iv(r);
|
|
77994
77992
|
return lO(p, f).exists(function() {
|
|
@@ -78034,7 +78032,7 @@ Required: ` + u.join(", "));
|
|
|
78034
78032
|
});
|
|
78035
78033
|
}, Im = function(r, u) {
|
|
78036
78034
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
78037
|
-
return
|
|
78035
|
+
return J6(r, f, p, Cr, uo, es).exists(function(_) {
|
|
78038
78036
|
return di(r, _), !0;
|
|
78039
78037
|
});
|
|
78040
78038
|
}, lx = function(r, u) {
|
|
@@ -78351,11 +78349,11 @@ Required: ` + u.join(", "));
|
|
|
78351
78349
|
Yg([
|
|
78352
78350
|
{
|
|
78353
78351
|
keyCode: Pr.BACKSPACE,
|
|
78354
|
-
action: Eo(
|
|
78352
|
+
action: Eo(L6, r)
|
|
78355
78353
|
},
|
|
78356
78354
|
{
|
|
78357
78355
|
keyCode: Pr.DELETE,
|
|
78358
|
-
action: Eo(
|
|
78356
|
+
action: Eo(L6, r)
|
|
78359
78357
|
}
|
|
78360
78358
|
], u);
|
|
78361
78359
|
}, px = function(r, u) {
|
|
@@ -78738,7 +78736,7 @@ Required: ` + u.join(", "));
|
|
|
78738
78736
|
MO(r, u);
|
|
78739
78737
|
}, ve);
|
|
78740
78738
|
}, uT = function(r, u) {
|
|
78741
|
-
u.isDefaultPrevented() || (u.preventDefault(),
|
|
78739
|
+
u.isDefaultPrevented() || (u.preventDefault(), h6(r.undoManager), r.undoManager.transact(function() {
|
|
78742
78740
|
r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
|
|
78743
78741
|
}));
|
|
78744
78742
|
}, cT = function(r) {
|
|
@@ -78939,7 +78937,7 @@ Required: ` + u.join(", "));
|
|
|
78939
78937
|
return u.setEnd(A.container(), A.offset());
|
|
78940
78938
|
});
|
|
78941
78939
|
}
|
|
78942
|
-
r.selection.setRng(
|
|
78940
|
+
r.selection.setRng(D8(u));
|
|
78943
78941
|
}, f7 = function(r) {
|
|
78944
78942
|
r.on("click", function(u) {
|
|
78945
78943
|
u.detail >= 3 && Ex(r);
|
|
@@ -79214,7 +79212,7 @@ Required: ` + u.join(", "));
|
|
|
79214
79212
|
}, ot = function() {
|
|
79215
79213
|
r.on("mouseup", function(Gn) {
|
|
79216
79214
|
var ir = Oe();
|
|
79217
|
-
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) &&
|
|
79215
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
|
|
79218
79216
|
}), r.on("click", function(Gn) {
|
|
79219
79217
|
var ir = ty(r, Gn.target);
|
|
79220
79218
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79744,7 +79742,7 @@ Required: ` + u.join(", "));
|
|
|
79744
79742
|
}
|
|
79745
79743
|
}), r.parser = xT(r), r.serializer = YS(R7(r), r), r.selection = PS(r.dom, r.getWin(), r.serializer, r), r.annotator = tg(r), r.formatter = wk(r), r.undoManager = Ck(r), r._nodeChangeDispatcher = new l7(r), r._selectionOverrides = bT(r), WD(r), c7(r), ja(r) || f7(r);
|
|
79746
79744
|
var A = i7(r);
|
|
79747
|
-
UD(r, A), YD(r),
|
|
79745
|
+
UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
|
|
79748
79746
|
F3(r);
|
|
79749
79747
|
}, function(P) {
|
|
79750
79748
|
r.setProgressState(!0), P.then(function(M) {
|
|
@@ -79800,7 +79798,7 @@ Required: ` + u.join(", "));
|
|
|
79800
79798
|
var C = new p(r, _, r.$);
|
|
79801
79799
|
r.plugins[f] = C, C.init && (C.init(r, _), u.push(f));
|
|
79802
79800
|
} catch (A) {
|
|
79803
|
-
|
|
79801
|
+
k6(r, f, A);
|
|
79804
79802
|
}
|
|
79805
79803
|
}
|
|
79806
79804
|
}, NT = function(r) {
|
|
@@ -79862,7 +79860,7 @@ Required: ` + u.join(", "));
|
|
|
79862
79860
|
editorContainer: u.editorContainer,
|
|
79863
79861
|
iframeContainer: u.iframeContainer
|
|
79864
79862
|
};
|
|
79865
|
-
return r.editorContainer = f.editorContainer ? f.editorContainer : null,
|
|
79863
|
+
return r.editorContainer = f.editorContainer ? f.editorContainer : null, N6(r), r.inline ? V3(r) : j7(r, f);
|
|
79866
79864
|
}, Om = ua.DOM, z3 = function(r) {
|
|
79867
79865
|
return r.charAt(0) === "-";
|
|
79868
79866
|
}, J7 = function(r, u) {
|
|
@@ -80014,7 +80012,7 @@ Required: ` + u.join(", "));
|
|
|
80014
80012
|
}, _ = function(C) {
|
|
80015
80013
|
return yo(be.fromDom(u), C);
|
|
80016
80014
|
};
|
|
80017
|
-
return
|
|
80015
|
+
return L8(be.fromDom(f), function(C) {
|
|
80018
80016
|
return p(C);
|
|
80019
80017
|
}, _);
|
|
80020
80018
|
}, aB = function(r) {
|
|
@@ -80069,7 +80067,7 @@ Required: ` + u.join(", "));
|
|
|
80069
80067
|
}).getOr("");
|
|
80070
80068
|
}, dB = function(r) {
|
|
80071
80069
|
return Zg(r, function(u) {
|
|
80072
|
-
var f = be.fromDom(r.getBody()), p =
|
|
80070
|
+
var f = be.fromDom(r.getBody()), p = L8(u, function(C) {
|
|
80073
80071
|
return ea(C, "line-height");
|
|
80074
80072
|
}, Ue(yo, f)), _ = function() {
|
|
80075
80073
|
var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
|
|
@@ -87045,7 +87043,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87045
87043
|
return c4(a, v, c, -1);
|
|
87046
87044
|
}, Cc = function(a, c, v) {
|
|
87047
87045
|
return c4(a, v, c, 1);
|
|
87048
|
-
},
|
|
87046
|
+
}, e8 = [
|
|
87049
87047
|
bi("selectors", [
|
|
87050
87048
|
nt("row"),
|
|
87051
87049
|
nt("cell")
|
|
@@ -87061,11 +87059,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87061
87059
|
b.each(function(x) {
|
|
87062
87060
|
c.focusManager.set(a, x);
|
|
87063
87061
|
});
|
|
87064
|
-
},
|
|
87062
|
+
}, t8 = function(a, c, v) {
|
|
87065
87063
|
return El(a.element).bind(function(b) {
|
|
87066
87064
|
return v.execute(a, c, b);
|
|
87067
87065
|
});
|
|
87068
|
-
},
|
|
87066
|
+
}, n8 = function(a, c) {
|
|
87069
87067
|
return Ge(a, function(v) {
|
|
87070
87068
|
return Hl(v, c.selectors.cell);
|
|
87071
87069
|
});
|
|
@@ -87077,7 +87075,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87077
87075
|
return Z2(F, b).bind(function(L) {
|
|
87078
87076
|
var G = Hl(v, x.selectors.row);
|
|
87079
87077
|
return Z2(G, D).bind(function(Z) {
|
|
87080
|
-
var ee =
|
|
87078
|
+
var ee = n8(G, x);
|
|
87081
87079
|
return N(ee, Z, L).map(function(fe) {
|
|
87082
87080
|
return fe.cell;
|
|
87083
87081
|
});
|
|
@@ -87085,13 +87083,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87085
87083
|
});
|
|
87086
87084
|
});
|
|
87087
87085
|
};
|
|
87088
|
-
}, vg = rd(dg, d4), p4 = rd(fg, wc),
|
|
87086
|
+
}, vg = rd(dg, d4), p4 = rd(fg, wc), r8 = rd(hg, QC), Av = rd(f4, Cc), o8 = V([
|
|
87089
87087
|
Co(ho(ng), ag(vg, p4)),
|
|
87090
87088
|
Co(ho(ch), om(vg, p4)),
|
|
87091
|
-
Co(ho(em), ig(
|
|
87089
|
+
Co(ho(em), ig(r8)),
|
|
87092
87090
|
Co(ho(of), Zb(Av)),
|
|
87093
|
-
Co(ho(ls.concat(bc)),
|
|
87094
|
-
]),
|
|
87091
|
+
Co(ho(ls.concat(bc)), t8)
|
|
87092
|
+
]), a8 = V([Co(ho(ls), Sv)]), i8 = Vu(e8, bl.init, o8, a8, function() {
|
|
87095
87093
|
return U.some(h4);
|
|
87096
87094
|
}), m4 = [
|
|
87097
87095
|
nt("selector"),
|
|
@@ -87101,7 +87099,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87101
87099
|
return v.focusManager.get(a).bind(function(b) {
|
|
87102
87100
|
return v.execute(a, c, b);
|
|
87103
87101
|
});
|
|
87104
|
-
},
|
|
87102
|
+
}, l8 = function(a, c, v) {
|
|
87105
87103
|
rl(a.element, c.selector).each(function(b) {
|
|
87106
87104
|
c.focusManager.set(a, b);
|
|
87107
87105
|
});
|
|
@@ -87113,7 +87111,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87113
87111
|
return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
|
|
87114
87112
|
}, _4 = function(a, c, v, b) {
|
|
87115
87113
|
return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
|
|
87116
|
-
},
|
|
87114
|
+
}, s8 = V([
|
|
87117
87115
|
Co(ho(em), ed(g4)),
|
|
87118
87116
|
Co(ho(of), ed(lm)),
|
|
87119
87117
|
Co(ou([
|
|
@@ -87126,8 +87124,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87126
87124
|
]), _4),
|
|
87127
87125
|
Co(ho(bc), Iv),
|
|
87128
87126
|
Co(ho(ls), Iv)
|
|
87129
|
-
]),
|
|
87130
|
-
return U.some(
|
|
87127
|
+
]), u8 = V([Co(ho(ls), Sv)]), c8 = Vu(m4, bl.init, s8, u8, function() {
|
|
87128
|
+
return U.some(l8);
|
|
87131
87129
|
}), od = [
|
|
87132
87130
|
Ya("onSpace"),
|
|
87133
87131
|
Ya("onEnter"),
|
|
@@ -87167,11 +87165,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87167
87165
|
Co(ho(ls), v.onSpace),
|
|
87168
87166
|
Co(ho(Qp), v.onEscape)
|
|
87169
87167
|
];
|
|
87170
|
-
},
|
|
87168
|
+
}, f8 = function(a, c, v) {
|
|
87171
87169
|
return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
|
|
87172
|
-
}, l_ = Vu(od, bl.init, y4,
|
|
87170
|
+
}, l_ = Vu(od, bl.init, y4, f8, function(a) {
|
|
87173
87171
|
return a.focusIn;
|
|
87174
|
-
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ =
|
|
87172
|
+
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ = i8.schema(), x4 = zC.schema(), Dv = c8.schema(), c_ = l_.schema(), Ov = /* @__PURE__ */ Object.freeze({
|
|
87175
87173
|
__proto__: null,
|
|
87176
87174
|
acyclic: b4,
|
|
87177
87175
|
cyclic: w4,
|
|
@@ -87206,7 +87204,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87206
87204
|
}
|
|
87207
87205
|
},
|
|
87208
87206
|
state: dh
|
|
87209
|
-
}),
|
|
87207
|
+
}), d8 = function(a, c, v, b) {
|
|
87210
87208
|
J0(function() {
|
|
87211
87209
|
var x = Ge(b, a.getSystem().build);
|
|
87212
87210
|
Jd(a, x);
|
|
@@ -87234,24 +87232,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87234
87232
|
}, F);
|
|
87235
87233
|
}), D;
|
|
87236
87234
|
});
|
|
87237
|
-
},
|
|
87235
|
+
}, h8 = function(a, c, v, b, x) {
|
|
87238
87236
|
var N = gg(a);
|
|
87239
87237
|
return at(N, b).bind(function(D) {
|
|
87240
87238
|
return E4(a, c, v, D, x);
|
|
87241
87239
|
});
|
|
87242
|
-
},
|
|
87240
|
+
}, v8 = /* @__PURE__ */ Object.freeze({
|
|
87243
87241
|
__proto__: null,
|
|
87244
87242
|
append: au,
|
|
87245
87243
|
prepend: d_,
|
|
87246
87244
|
remove: lf,
|
|
87247
87245
|
replaceAt: E4,
|
|
87248
|
-
replaceBy:
|
|
87249
|
-
set:
|
|
87246
|
+
replaceBy: h8,
|
|
87247
|
+
set: d8,
|
|
87250
87248
|
contents: gg
|
|
87251
87249
|
}), Qr = Fa({
|
|
87252
87250
|
fields: [],
|
|
87253
87251
|
name: "replacing",
|
|
87254
|
-
apis:
|
|
87252
|
+
apis: v8
|
|
87255
87253
|
}), h_ = function(a, c) {
|
|
87256
87254
|
var v = Oo(c);
|
|
87257
87255
|
return Fa({
|
|
@@ -87273,14 +87271,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87273
87271
|
};
|
|
87274
87272
|
}, S4 = function(a, c) {
|
|
87275
87273
|
c.ignore || (zs(a.element), c.onFocus(a));
|
|
87276
|
-
},
|
|
87274
|
+
}, p8 = function(a, c) {
|
|
87277
87275
|
c.ignore || Lw(a.element);
|
|
87278
87276
|
}, _g = function(a) {
|
|
87279
87277
|
return w1(a.element);
|
|
87280
|
-
},
|
|
87278
|
+
}, m8 = /* @__PURE__ */ Object.freeze({
|
|
87281
87279
|
__proto__: null,
|
|
87282
87280
|
focus: S4,
|
|
87283
|
-
blur:
|
|
87281
|
+
blur: p8,
|
|
87284
87282
|
isFocused: _g
|
|
87285
87283
|
}), k4 = function(a, c) {
|
|
87286
87284
|
var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
|
|
@@ -87291,20 +87289,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87291
87289
|
})].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
|
|
87292
87290
|
v.event.prevent();
|
|
87293
87291
|
})] : []));
|
|
87294
|
-
},
|
|
87292
|
+
}, g8 = /* @__PURE__ */ Object.freeze({
|
|
87295
87293
|
__proto__: null,
|
|
87296
87294
|
exhibit: k4,
|
|
87297
87295
|
events: v_
|
|
87298
|
-
}),
|
|
87296
|
+
}), _8 = [
|
|
87299
87297
|
Mo("onFocus"),
|
|
87300
87298
|
Ot("stopMousedown", !1),
|
|
87301
87299
|
Ot("ignore", !1)
|
|
87302
87300
|
], Gr = Fa({
|
|
87303
|
-
fields:
|
|
87301
|
+
fields: _8,
|
|
87304
87302
|
name: "focusing",
|
|
87305
|
-
active:
|
|
87306
|
-
apis:
|
|
87307
|
-
}),
|
|
87303
|
+
active: g8,
|
|
87304
|
+
apis: m8
|
|
87305
|
+
}), y8 = function(a) {
|
|
87308
87306
|
var c = function() {
|
|
87309
87307
|
var v = jn(a), b = function() {
|
|
87310
87308
|
return v.get();
|
|
@@ -87390,7 +87388,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87390
87388
|
name: "toggling",
|
|
87391
87389
|
active: _e,
|
|
87392
87390
|
apis: W,
|
|
87393
|
-
state:
|
|
87391
|
+
state: y8(!1)
|
|
87394
87392
|
}), tn = function() {
|
|
87395
87393
|
var a = function(c, v) {
|
|
87396
87394
|
v.stop(), Nf(c);
|
|
@@ -87634,7 +87632,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87634
87632
|
Ot("fakeFocus", !1),
|
|
87635
87633
|
Ot("focusManager", Qf()),
|
|
87636
87634
|
Mo("onHighlight")
|
|
87637
|
-
]), T4 = V("alloy.menu-focus"),
|
|
87635
|
+
]), T4 = V("alloy.menu-focus"), b8 = function(a, c, v, b) {
|
|
87638
87636
|
return {
|
|
87639
87637
|
uid: a.uid,
|
|
87640
87638
|
dom: a.dom,
|
|
@@ -87677,7 +87675,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87677
87675
|
name: "Menu",
|
|
87678
87676
|
configFields: yg(),
|
|
87679
87677
|
partFields: sf(),
|
|
87680
|
-
factory:
|
|
87678
|
+
factory: b8
|
|
87681
87679
|
}), bg = function(a) {
|
|
87682
87680
|
return da(a, function(c, v) {
|
|
87683
87681
|
return {
|
|
@@ -88045,7 +88043,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88045
88043
|
menus: ge(a, c),
|
|
88046
88044
|
expansions: {}
|
|
88047
88045
|
};
|
|
88048
|
-
},
|
|
88046
|
+
}, w8 = function(a) {
|
|
88049
88047
|
return {
|
|
88050
88048
|
value: Tr(Yx()),
|
|
88051
88049
|
meta: { text: a }
|
|
@@ -88095,7 +88093,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88095
88093
|
extraApis: {
|
|
88096
88094
|
tieredData: Xx,
|
|
88097
88095
|
singleData: kN,
|
|
88098
|
-
collapseItem:
|
|
88096
|
+
collapseItem: w8
|
|
88099
88097
|
}
|
|
88100
88098
|
}), TN = function(a, c, v, b, x) {
|
|
88101
88099
|
var N = function() {
|
|
@@ -88734,7 +88732,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88734
88732
|
}, rE = function(a) {
|
|
88735
88733
|
return a !== "" && ` \f
|
|
88736
88734
|
\r \v`.indexOf(a) !== -1;
|
|
88737
|
-
},
|
|
88735
|
+
}, C8 = function(a, c) {
|
|
88738
88736
|
return a.substring(c.length);
|
|
88739
88737
|
}, gm = function(a, c, v) {
|
|
88740
88738
|
var b;
|
|
@@ -88757,13 +88755,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88757
88755
|
if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
|
|
88758
88756
|
return U.none();
|
|
88759
88757
|
var L = nE(F), G = L.lastIndexOf(v);
|
|
88760
|
-
return G !== 0 ||
|
|
88761
|
-
text:
|
|
88758
|
+
return G !== 0 || C8(L, v).length < b ? U.none() : U.some({
|
|
88759
|
+
text: C8(L, v),
|
|
88762
88760
|
range: F,
|
|
88763
88761
|
triggerChar: v
|
|
88764
88762
|
});
|
|
88765
88763
|
});
|
|
88766
|
-
},
|
|
88764
|
+
}, x8 = function(a, c, v, b) {
|
|
88767
88765
|
return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
|
|
88768
88766
|
return w_(a, c, v, b);
|
|
88769
88767
|
}, function(x) {
|
|
@@ -88772,11 +88770,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88772
88770
|
var D = nE(N);
|
|
88773
88771
|
return U.some({
|
|
88774
88772
|
range: N,
|
|
88775
|
-
text:
|
|
88773
|
+
text: C8(D, v),
|
|
88776
88774
|
triggerChar: v
|
|
88777
88775
|
});
|
|
88778
88776
|
});
|
|
88779
|
-
},
|
|
88777
|
+
}, E8 = function(a, c) {
|
|
88780
88778
|
c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
|
|
88781
88779
|
var v = function(b, x) {
|
|
88782
88780
|
_r(b, lp(), { raw: x });
|
|
@@ -88795,14 +88793,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88795
88793
|
}), c.on("NodeChange", function(b) {
|
|
88796
88794
|
a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
|
|
88797
88795
|
});
|
|
88798
|
-
}, VN = { setup:
|
|
88796
|
+
}, VN = { setup: E8 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
|
|
88799
88797
|
return {
|
|
88800
88798
|
container: a,
|
|
88801
88799
|
offset: c
|
|
88802
88800
|
};
|
|
88803
88801
|
}, oE = function(a) {
|
|
88804
88802
|
return a.nodeType === Nh;
|
|
88805
|
-
},
|
|
88803
|
+
}, S8 = function(a) {
|
|
88806
88804
|
return a.nodeType === Cf;
|
|
88807
88805
|
}, aE = function(a) {
|
|
88808
88806
|
if (oE(a))
|
|
@@ -88811,7 +88809,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88811
88809
|
return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
|
|
88812
88810
|
}, C_ = function(a, c) {
|
|
88813
88811
|
var v = a.childNodes;
|
|
88814
|
-
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 &&
|
|
88812
|
+
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 && S8(a) && v.length === c ? aE(v[v.length - 1]) : _m(a, c);
|
|
88815
88813
|
}, LN = function(a, c) {
|
|
88816
88814
|
return eE(a, c.container, c.offset, function(v, b) {
|
|
88817
88815
|
return b === 0 ? -1 : b;
|
|
@@ -88826,7 +88824,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88826
88824
|
};
|
|
88827
88825
|
}, zN = function(a, c, v) {
|
|
88828
88826
|
return dn(v.triggerChars, function(b) {
|
|
88829
|
-
return
|
|
88827
|
+
return x8(a, c, b);
|
|
88830
88828
|
});
|
|
88831
88829
|
}, iE = function(a, c) {
|
|
88832
88830
|
var v = c(), b = a.selection.getRng();
|
|
@@ -88900,7 +88898,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88900
88898
|
mo("onAction")
|
|
88901
88899
|
].concat(Eg)), dE = function(a) {
|
|
88902
88900
|
return Vo("toolbarbutton", fE, a);
|
|
88903
|
-
},
|
|
88901
|
+
}, k8 = [Ho("active", !1)].concat(Eg), qN = wt(k8.concat([
|
|
88904
88902
|
Yn("type"),
|
|
88905
88903
|
mo("onAction")
|
|
88906
88904
|
])), hE = function(a) {
|
|
@@ -88921,14 +88919,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88921
88919
|
Ot("primary", !1),
|
|
88922
88920
|
mo("onAction"),
|
|
88923
88921
|
vi("original", z)
|
|
88924
|
-
]),
|
|
88922
|
+
]), T8 = k8.concat([
|
|
88925
88923
|
Ot("type", "contextformbutton"),
|
|
88926
88924
|
Ot("primary", !1),
|
|
88927
88925
|
mo("onAction"),
|
|
88928
88926
|
vi("original", z)
|
|
88929
|
-
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 =
|
|
88927
|
+
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k8.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
|
|
88930
88928
|
contextformbutton: pE,
|
|
88931
|
-
contextformtogglebutton:
|
|
88929
|
+
contextformtogglebutton: T8
|
|
88932
88930
|
}), XN = wt([
|
|
88933
88931
|
Ot("type", "contextform"),
|
|
88934
88932
|
Qo("initValue", function() {
|
|
@@ -88971,18 +88969,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88971
88969
|
triggerChars: b,
|
|
88972
88970
|
lookupByChar: N
|
|
88973
88971
|
};
|
|
88974
|
-
},
|
|
88972
|
+
}, N8;
|
|
88975
88973
|
(function(a) {
|
|
88976
88974
|
a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
|
|
88977
|
-
})(
|
|
88978
|
-
var uf =
|
|
88975
|
+
})(N8 || (N8 = {}));
|
|
88976
|
+
var uf = N8, Sg = "tox-menu-nav__js", A8 = "tox-collection__item", I8 = "tox-swatch", D8 = {
|
|
88979
88977
|
normal: Sg,
|
|
88980
|
-
color:
|
|
88981
|
-
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon",
|
|
88982
|
-
return cr(
|
|
88978
|
+
color: I8
|
|
88979
|
+
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon", O8 = "tox-collection__item-label", rA = "tox-collection__item-accessory", _E = "tox-collection__item-caret", oA = "tox-collection__item-checkmark", x_ = "tox-collection__item--active", aA = "tox-collection__item-icon-rtl", yE = "tox-collection__item-container", iA = "tox-collection__item-container--column", bE = "tox-collection__item-container--row", B8 = "tox-collection__item-container--align-right", lA = "tox-collection__item-container--align-left", sA = "tox-collection__item-container--valign-top", uA = "tox-collection__item-container--valign-middle", wE = "tox-collection__item-container--valign-bottom", CE = function(a) {
|
|
88980
|
+
return cr(D8, a).getOr(Sg);
|
|
88983
88981
|
}, cA = function(a) {
|
|
88984
88982
|
return a === "color" ? "tox-swatches" : "tox-menu";
|
|
88985
|
-
},
|
|
88983
|
+
}, P8 = function(a) {
|
|
88986
88984
|
return {
|
|
88987
88985
|
backgroundMenu: "tox-background-menu",
|
|
88988
88986
|
selectedMenu: "tox-selected-menu",
|
|
@@ -88992,7 +88990,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88992
88990
|
tieredMenu: "tox-tiered-menu"
|
|
88993
88991
|
};
|
|
88994
88992
|
}, kg = function(a) {
|
|
88995
|
-
var c =
|
|
88993
|
+
var c = P8(a);
|
|
88996
88994
|
return {
|
|
88997
88995
|
backgroundMenu: c.backgroundMenu,
|
|
88998
88996
|
selectedMenu: c.selectedMenu,
|
|
@@ -89001,7 +88999,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89001
88999
|
item: CE(a)
|
|
89002
89000
|
};
|
|
89003
89001
|
}, fA = function(a, c, v) {
|
|
89004
|
-
var b =
|
|
89002
|
+
var b = P8(v);
|
|
89005
89003
|
return {
|
|
89006
89004
|
tag: "div",
|
|
89007
89005
|
classes: zt([
|
|
@@ -89012,8 +89010,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89012
89010
|
a ? [b.hasIcons] : []
|
|
89013
89011
|
])
|
|
89014
89012
|
};
|
|
89015
|
-
},
|
|
89016
|
-
var b =
|
|
89013
|
+
}, M8 = [id.parts.items({})], B4 = function(a, c, v) {
|
|
89014
|
+
var b = P8(v), x = {
|
|
89017
89015
|
tag: "div",
|
|
89018
89016
|
classes: zt([[b.tieredMenu]])
|
|
89019
89017
|
};
|
|
@@ -89021,7 +89019,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89021
89019
|
dom: x,
|
|
89022
89020
|
markers: kg(v)
|
|
89023
89021
|
};
|
|
89024
|
-
},
|
|
89022
|
+
}, R8 = function(a, c) {
|
|
89025
89023
|
return function(v) {
|
|
89026
89024
|
var b = me(v, c);
|
|
89027
89025
|
return Ge(b, function(x) {
|
|
@@ -89046,7 +89044,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89046
89044
|
classes: ["tox-swatches"]
|
|
89047
89045
|
},
|
|
89048
89046
|
components: [id.parts.items({
|
|
89049
|
-
preprocess: a !== "auto" ?
|
|
89047
|
+
preprocess: a !== "auto" ? R8({
|
|
89050
89048
|
tag: "div",
|
|
89051
89049
|
classes: ["tox-swatches__row"]
|
|
89052
89050
|
}, a) : z
|
|
@@ -89065,7 +89063,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89065
89063
|
]
|
|
89066
89064
|
},
|
|
89067
89065
|
components: [id.parts.items({
|
|
89068
|
-
preprocess:
|
|
89066
|
+
preprocess: R8({
|
|
89069
89067
|
tag: "div",
|
|
89070
89068
|
classes: ["tox-collection__group"]
|
|
89071
89069
|
}, a)
|
|
@@ -89084,7 +89082,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89084
89082
|
components: x
|
|
89085
89083
|
};
|
|
89086
89084
|
});
|
|
89087
|
-
}, $
|
|
89085
|
+
}, $8 = function(a, c, v) {
|
|
89088
89086
|
return {
|
|
89089
89087
|
dom: {
|
|
89090
89088
|
tag: "div",
|
|
@@ -89095,7 +89093,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89095
89093
|
},
|
|
89096
89094
|
components: [id.parts.items({
|
|
89097
89095
|
preprocess: function(b) {
|
|
89098
|
-
return a !== "auto" && a > 1 ?
|
|
89096
|
+
return a !== "auto" && a > 1 ? R8({
|
|
89099
89097
|
tag: "div",
|
|
89100
89098
|
classes: ["tox-collection__group"]
|
|
89101
89099
|
}, a)(b) : xE(b, function(x, N) {
|
|
@@ -89135,7 +89133,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89135
89133
|
components: N.components,
|
|
89136
89134
|
items: v
|
|
89137
89135
|
};
|
|
89138
|
-
},
|
|
89136
|
+
}, F8 = function(a, c, v, b, x) {
|
|
89139
89137
|
if (x === "color") {
|
|
89140
89138
|
var N = dA(b);
|
|
89141
89139
|
return {
|
|
@@ -89146,7 +89144,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89146
89144
|
};
|
|
89147
89145
|
}
|
|
89148
89146
|
if (x === "normal" && b === "auto") {
|
|
89149
|
-
var N = $
|
|
89147
|
+
var N = $8(b, v);
|
|
89150
89148
|
return {
|
|
89151
89149
|
value: a,
|
|
89152
89150
|
dom: N.dom,
|
|
@@ -89155,7 +89153,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89155
89153
|
};
|
|
89156
89154
|
}
|
|
89157
89155
|
if (x === "normal" && b === 1) {
|
|
89158
|
-
var N = $
|
|
89156
|
+
var N = $8(1, v);
|
|
89159
89157
|
return {
|
|
89160
89158
|
value: a,
|
|
89161
89159
|
dom: N.dom,
|
|
@@ -89164,7 +89162,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89164
89162
|
};
|
|
89165
89163
|
}
|
|
89166
89164
|
if (x === "normal") {
|
|
89167
|
-
var N = $
|
|
89165
|
+
var N = $8(b, v);
|
|
89168
89166
|
return {
|
|
89169
89167
|
value: a,
|
|
89170
89168
|
dom: N.dom,
|
|
@@ -89184,15 +89182,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89184
89182
|
return {
|
|
89185
89183
|
value: a,
|
|
89186
89184
|
dom: fA(c, b, x),
|
|
89187
|
-
components:
|
|
89185
|
+
components: M8,
|
|
89188
89186
|
items: v
|
|
89189
89187
|
};
|
|
89190
|
-
},
|
|
89188
|
+
}, V8 = [
|
|
89191
89189
|
Yn("type"),
|
|
89192
89190
|
Yn("src"),
|
|
89193
89191
|
jo("alt"),
|
|
89194
89192
|
mu("classes", [], Ut)
|
|
89195
|
-
], mA = wt(
|
|
89193
|
+
], mA = wt(V8), gA = [
|
|
89196
89194
|
Yn("type"),
|
|
89197
89195
|
Yn("text"),
|
|
89198
89196
|
jo("name"),
|
|
@@ -89240,9 +89238,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89240
89238
|
Yn("type"),
|
|
89241
89239
|
So("fancytype", EE),
|
|
89242
89240
|
Qo("onAction", R)
|
|
89243
|
-
]),
|
|
89241
|
+
]), L8 = function(a) {
|
|
89244
89242
|
return Vo("fancymenuitem", EA, a);
|
|
89245
|
-
},
|
|
89243
|
+
}, U8 = wt([
|
|
89246
89244
|
Yn("type"),
|
|
89247
89245
|
Qo("onSetup", function() {
|
|
89248
89246
|
return R;
|
|
@@ -89250,8 +89248,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89250
89248
|
Qo("onAction", R),
|
|
89251
89249
|
jo("icon")
|
|
89252
89250
|
].concat(Pv)), SE = function(a) {
|
|
89253
|
-
return Vo("menuitem",
|
|
89254
|
-
},
|
|
89251
|
+
return Vo("menuitem", U8, a);
|
|
89252
|
+
}, z8 = wt([
|
|
89255
89253
|
Yn("type"),
|
|
89256
89254
|
mo("getSubmenuItems"),
|
|
89257
89255
|
Qo("onSetup", function() {
|
|
@@ -89259,7 +89257,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89259
89257
|
}),
|
|
89260
89258
|
jo("icon")
|
|
89261
89259
|
].concat(Pv)), kE = function(a) {
|
|
89262
|
-
return Vo("nestedmenuitem",
|
|
89260
|
+
return Vo("nestedmenuitem", z8, a);
|
|
89263
89261
|
}, TE = wt([
|
|
89264
89262
|
Yn("type"),
|
|
89265
89263
|
jo("icon"),
|
|
@@ -89366,7 +89364,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89366
89364
|
})
|
|
89367
89365
|
]
|
|
89368
89366
|
]));
|
|
89369
|
-
},
|
|
89367
|
+
}, H8 = /* @__PURE__ */ Object.freeze({
|
|
89370
89368
|
__proto__: null,
|
|
89371
89369
|
events: OE
|
|
89372
89370
|
}), TA = [
|
|
@@ -89405,7 +89403,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89405
89403
|
}),
|
|
89406
89404
|
Mo("onHide"),
|
|
89407
89405
|
Mo("onShow")
|
|
89408
|
-
],
|
|
89406
|
+
], W8 = function() {
|
|
89409
89407
|
var a = jn(U.none()), c = jn(U.none()), v = function() {
|
|
89410
89408
|
return c.get();
|
|
89411
89409
|
}, b = function(G) {
|
|
@@ -89432,14 +89430,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89432
89430
|
resetTimer: D,
|
|
89433
89431
|
readState: L
|
|
89434
89432
|
});
|
|
89435
|
-
},
|
|
89433
|
+
}, j8 = /* @__PURE__ */ Object.freeze({
|
|
89436
89434
|
__proto__: null,
|
|
89437
|
-
init:
|
|
89435
|
+
init: W8
|
|
89438
89436
|
}), BE = Fa({
|
|
89439
89437
|
fields: TA,
|
|
89440
89438
|
name: "tooltipping",
|
|
89441
|
-
active:
|
|
89442
|
-
state:
|
|
89439
|
+
active: H8,
|
|
89440
|
+
state: j8,
|
|
89443
89441
|
apis: DE
|
|
89444
89442
|
}), PE = function(a) {
|
|
89445
89443
|
return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -89449,9 +89447,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89449
89447
|
"textarea",
|
|
89450
89448
|
"select"
|
|
89451
89449
|
], ME = function(a, c, v) {
|
|
89452
|
-
var b = c.disabled() ? F4 :
|
|
89450
|
+
var b = c.disabled() ? F4 : q8;
|
|
89453
89451
|
b(a, c);
|
|
89454
|
-
},
|
|
89452
|
+
}, G8 = function(a, c) {
|
|
89455
89453
|
return c.useNative === !0 && Le(NA, bs(a.element));
|
|
89456
89454
|
}, AA = function(a) {
|
|
89457
89455
|
return yy(a.element, "disabled");
|
|
@@ -89469,26 +89467,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89469
89467
|
c.disableClass.each(function(x) {
|
|
89470
89468
|
ta(a.element, x);
|
|
89471
89469
|
});
|
|
89472
|
-
var b =
|
|
89470
|
+
var b = G8(a, c) ? IA : $4;
|
|
89473
89471
|
b(a), c.onDisabled(a);
|
|
89474
|
-
},
|
|
89472
|
+
}, q8 = function(a, c, v) {
|
|
89475
89473
|
c.disableClass.each(function(x) {
|
|
89476
89474
|
Sa(a.element, x);
|
|
89477
89475
|
});
|
|
89478
|
-
var b =
|
|
89476
|
+
var b = G8(a, c) ? DA : RE;
|
|
89479
89477
|
b(a), c.onEnabled(a);
|
|
89480
89478
|
}, $E = function(a, c) {
|
|
89481
|
-
return
|
|
89482
|
-
},
|
|
89483
|
-
var x = b ? F4 :
|
|
89479
|
+
return G8(a, c) ? AA(a) : OA(a);
|
|
89480
|
+
}, K8 = function(a, c, v, b) {
|
|
89481
|
+
var x = b ? F4 : q8;
|
|
89484
89482
|
x(a, c);
|
|
89485
|
-
},
|
|
89483
|
+
}, Y8 = /* @__PURE__ */ Object.freeze({
|
|
89486
89484
|
__proto__: null,
|
|
89487
|
-
enable:
|
|
89485
|
+
enable: q8,
|
|
89488
89486
|
disable: F4,
|
|
89489
89487
|
isDisabled: $E,
|
|
89490
89488
|
onLoad: ME,
|
|
89491
|
-
set:
|
|
89489
|
+
set: K8
|
|
89492
89490
|
}), FE = function(a, c) {
|
|
89493
89491
|
return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
|
|
89494
89492
|
}, VE = function(a, c) {
|
|
@@ -89512,7 +89510,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89512
89510
|
fields: BA,
|
|
89513
89511
|
name: "disabling",
|
|
89514
89512
|
active: LE,
|
|
89515
|
-
apis:
|
|
89513
|
+
apis: Y8
|
|
89516
89514
|
}), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
|
|
89517
89515
|
var c = a.getParam("skin"), v = a.getParam("skin_url");
|
|
89518
89516
|
if (c !== !1) {
|
|
@@ -89534,17 +89532,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89534
89532
|
return U.from(a.getParam("min_height")).filter(O);
|
|
89535
89533
|
}, L4 = function(a) {
|
|
89536
89534
|
return U.from(a.getParam("max_width")).filter(O);
|
|
89537
|
-
},
|
|
89535
|
+
}, X8 = function(a) {
|
|
89538
89536
|
return U.from(a.getParam("max_height")).filter(O);
|
|
89539
89537
|
}, jE = function(a) {
|
|
89540
89538
|
return U.from(a.getParam("style_formats")).filter(d);
|
|
89541
|
-
},
|
|
89539
|
+
}, J8 = function(a) {
|
|
89542
89540
|
return a.getParam("style_formats_merge", !1, "boolean");
|
|
89543
89541
|
}, GE = function(a) {
|
|
89544
89542
|
return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
|
|
89545
89543
|
}, MA = function(a) {
|
|
89546
89544
|
return a.getParam("removed_menuitems", "");
|
|
89547
|
-
},
|
|
89545
|
+
}, Z8 = function(a) {
|
|
89548
89546
|
return a.getParam("menubar", !0, "boolean") !== !1;
|
|
89549
89547
|
}, Ag = function(a) {
|
|
89550
89548
|
var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
|
|
@@ -89573,10 +89571,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89573
89571
|
})(bm || (bm = {}));
|
|
89574
89572
|
var RA = function(a) {
|
|
89575
89573
|
return a.getParam("toolbar_groups", {}, "object");
|
|
89576
|
-
},
|
|
89574
|
+
}, Q8 = function(a) {
|
|
89577
89575
|
return a.getParam("toolbar_location", bm.auto, "string");
|
|
89578
|
-
},
|
|
89579
|
-
return
|
|
89576
|
+
}, e6 = function(a) {
|
|
89577
|
+
return Q8(a) === bm.bottom;
|
|
89580
89578
|
}, $A = function(a) {
|
|
89581
89579
|
return a.getParam("fixed_toolbar_container", "", "string");
|
|
89582
89580
|
}, FA = function(a) {
|
|
@@ -89598,14 +89596,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89598
89596
|
return c.getOrThunk(function() {
|
|
89599
89597
|
return Nd(mi(rr.fromDom(a.getElement())));
|
|
89600
89598
|
});
|
|
89601
|
-
},
|
|
89602
|
-
return a.inline && !
|
|
89599
|
+
}, t6 = function(a) {
|
|
89600
|
+
return a.inline && !Z8(a) && !Ag(a) && !k_(a);
|
|
89603
89601
|
}, z4 = function(a) {
|
|
89604
89602
|
var c = a.getParam("toolbar_sticky", !1, "boolean");
|
|
89605
|
-
return (c || a.inline) && !U4(a) && !
|
|
89603
|
+
return (c || a.inline) && !U4(a) && !t6(a);
|
|
89606
89604
|
}, LA = function(a) {
|
|
89607
89605
|
return a.getParam("draggable_modal", !1, "boolean");
|
|
89608
|
-
},
|
|
89606
|
+
}, n6 = function(a) {
|
|
89609
89607
|
var c = a.getParam("menu");
|
|
89610
89608
|
return c ? Vr(c, function(v) {
|
|
89611
89609
|
return ve(ve({}, v), { items: v.items });
|
|
@@ -89624,9 +89622,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89624
89622
|
return a.getParam("typeahead_urls") === !1;
|
|
89625
89623
|
}, qA = function(a) {
|
|
89626
89624
|
return a.getParam("anchor_top", "#top");
|
|
89627
|
-
},
|
|
89625
|
+
}, r6 = function(a) {
|
|
89628
89626
|
return a.getParam("anchor_bottom", "#bottom");
|
|
89629
|
-
},
|
|
89627
|
+
}, o6 = function(a) {
|
|
89630
89628
|
var c = a.getParam("file_picker_validator_handler", void 0, "function");
|
|
89631
89629
|
return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
|
|
89632
89630
|
}, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
|
|
@@ -89688,16 +89686,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89688
89686
|
return ts(function(v) {
|
|
89689
89687
|
return W4(a, v)(c.get());
|
|
89690
89688
|
});
|
|
89691
|
-
},
|
|
89689
|
+
}, a6, XA = function(a, c) {
|
|
89692
89690
|
return tc(function(v, b) {
|
|
89693
89691
|
W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
|
|
89694
89692
|
});
|
|
89695
|
-
}, JA = (
|
|
89693
|
+
}, JA = (a6 = {}, a6[Pl()] = [
|
|
89696
89694
|
"disabling",
|
|
89697
89695
|
"alloy.base.behaviour",
|
|
89698
89696
|
"toggling",
|
|
89699
89697
|
"item-events"
|
|
89700
|
-
],
|
|
89698
|
+
], a6), Ig = function(a) {
|
|
89701
89699
|
return Pt(a, function(c) {
|
|
89702
89700
|
return c.toArray();
|
|
89703
89701
|
});
|
|
@@ -89728,7 +89726,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89728
89726
|
value: a.value,
|
|
89729
89727
|
meta: ve({ text: a.text.getOr("") }, a.meta)
|
|
89730
89728
|
};
|
|
89731
|
-
},
|
|
89729
|
+
}, i6 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
|
|
89732
89730
|
var c = {
|
|
89733
89731
|
alt: "⌥",
|
|
89734
89732
|
ctrl: "⌃",
|
|
@@ -89738,11 +89736,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89738
89736
|
}, v = {
|
|
89739
89737
|
meta: "Ctrl",
|
|
89740
89738
|
access: "Shift+Alt"
|
|
89741
|
-
}, b =
|
|
89739
|
+
}, b = i6.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
|
|
89742
89740
|
var F = D.toLowerCase().trim();
|
|
89743
89741
|
return Po(b, F) ? b[F] : D;
|
|
89744
89742
|
});
|
|
89745
|
-
return
|
|
89743
|
+
return i6.mac ? N.join("") : N.join("+");
|
|
89746
89744
|
}, ZA = function(a) {
|
|
89747
89745
|
return {
|
|
89748
89746
|
dom: {
|
|
@@ -89755,7 +89753,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89755
89753
|
return {
|
|
89756
89754
|
dom: {
|
|
89757
89755
|
tag: "div",
|
|
89758
|
-
classes: [
|
|
89756
|
+
classes: [O8]
|
|
89759
89757
|
},
|
|
89760
89758
|
components: [Vf(Lu.translate(a))]
|
|
89761
89759
|
};
|
|
@@ -89771,7 +89769,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89771
89769
|
return {
|
|
89772
89770
|
dom: {
|
|
89773
89771
|
tag: "div",
|
|
89774
|
-
classes: [
|
|
89772
|
+
classes: [O8]
|
|
89775
89773
|
},
|
|
89776
89774
|
components: [{
|
|
89777
89775
|
dom: {
|
|
@@ -89814,7 +89812,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89814
89812
|
}
|
|
89815
89813
|
};
|
|
89816
89814
|
}, tI = function(a, c) {
|
|
89817
|
-
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA :
|
|
89815
|
+
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B8, x = function() {
|
|
89818
89816
|
switch (a.valign) {
|
|
89819
89817
|
case "top":
|
|
89820
89818
|
return sA;
|
|
@@ -89849,7 +89847,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89849
89847
|
};
|
|
89850
89848
|
}, rI = function(a, c, v, b) {
|
|
89851
89849
|
var x = "custom", N = "remove", D = function() {
|
|
89852
|
-
var F =
|
|
89850
|
+
var F = I8, L = v.getOr(""), G = a.map(function(ee) {
|
|
89853
89851
|
return { title: b.translate(ee) };
|
|
89854
89852
|
}).getOr({}), Z = {
|
|
89855
89853
|
tag: "div",
|
|
@@ -89880,14 +89878,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89880
89878
|
tag: "div",
|
|
89881
89879
|
classes: [
|
|
89882
89880
|
Sg,
|
|
89883
|
-
|
|
89881
|
+
A8
|
|
89884
89882
|
].concat(a ? [aA] : [])
|
|
89885
89883
|
}, v);
|
|
89886
|
-
},
|
|
89884
|
+
}, l6 = function(a, c, v, b, x) {
|
|
89887
89885
|
var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
|
|
89888
89886
|
return a.textContent.map(b);
|
|
89889
89887
|
}, function(G) {
|
|
89890
|
-
return U.some(tS(G, [
|
|
89888
|
+
return U.some(tS(G, [O8]));
|
|
89891
89889
|
}), L = {
|
|
89892
89890
|
dom: oS(x, a.ariaLabel),
|
|
89893
89891
|
optComponents: [
|
|
@@ -89925,8 +89923,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89925
89923
|
}, function(L) {
|
|
89926
89924
|
return Po(L, "style") ? re(QA, L.style) : eS;
|
|
89927
89925
|
});
|
|
89928
|
-
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) :
|
|
89929
|
-
},
|
|
89926
|
+
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l6(a, D, v, F, N);
|
|
89927
|
+
}, s6 = function(a, c) {
|
|
89930
89928
|
return cr(a, "tooltipWorker").map(function(v) {
|
|
89931
89929
|
return [BE.config({
|
|
89932
89930
|
lazySink: c.getSink,
|
|
@@ -89985,7 +89983,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89985
89983
|
},
|
|
89986
89984
|
onSetup: V(R),
|
|
89987
89985
|
triggersSubmenu: !1,
|
|
89988
|
-
itemBehaviours:
|
|
89986
|
+
itemBehaviours: s6(a.meta, D)
|
|
89989
89987
|
}, L, N, D.providers);
|
|
89990
89988
|
}, sS = function(a, c) {
|
|
89991
89989
|
return Ge(a, function(v) {
|
|
@@ -90084,17 +90082,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90084
90082
|
selected: a.active
|
|
90085
90083
|
}
|
|
90086
90084
|
});
|
|
90087
|
-
},
|
|
90085
|
+
}, u6 = Kp(ll(), qi()), uS = function(a) {
|
|
90088
90086
|
return { value: a };
|
|
90089
90087
|
}, cS = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, fS = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, sI = function(a) {
|
|
90090
90088
|
return cS.test(a) || fS.test(a);
|
|
90091
|
-
},
|
|
90089
|
+
}, c6 = function(a) {
|
|
90092
90090
|
var c = a.value.replace(cS, function(v, b, x, N) {
|
|
90093
90091
|
return b + b + x + x + N + N;
|
|
90094
90092
|
});
|
|
90095
90093
|
return { value: c };
|
|
90096
|
-
},
|
|
90097
|
-
var c =
|
|
90094
|
+
}, f6 = function(a) {
|
|
90095
|
+
var c = c6(a), v = fS.exec(c.value);
|
|
90098
90096
|
return v === null ? [
|
|
90099
90097
|
"FFFFFF",
|
|
90100
90098
|
"FF",
|
|
@@ -90107,14 +90105,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90107
90105
|
}, G4 = function(a) {
|
|
90108
90106
|
var c = D_(a.red) + D_(a.green) + D_(a.blue);
|
|
90109
90107
|
return uS(c);
|
|
90110
|
-
}, dS = Math.min, hS = Math.max, Cm = Math.round,
|
|
90108
|
+
}, dS = Math.min, hS = Math.max, Cm = Math.round, d6 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, q4 = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Mv = function(a, c, v, b) {
|
|
90111
90109
|
return {
|
|
90112
90110
|
red: a,
|
|
90113
90111
|
green: c,
|
|
90114
90112
|
blue: v,
|
|
90115
90113
|
alpha: b
|
|
90116
90114
|
};
|
|
90117
|
-
},
|
|
90115
|
+
}, h6 = function(a) {
|
|
90118
90116
|
var c = parseInt(a, 10);
|
|
90119
90117
|
return c.toString() === a && c >= 0 && c <= 255;
|
|
90120
90118
|
}, vS = function(a) {
|
|
@@ -90146,7 +90144,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90146
90144
|
}
|
|
90147
90145
|
return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
|
|
90148
90146
|
}, O_ = function(a) {
|
|
90149
|
-
var c =
|
|
90147
|
+
var c = f6(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
|
|
90150
90148
|
return Mv(v, b, x, 1);
|
|
90151
90149
|
}, pS = function(a, c, v, b) {
|
|
90152
90150
|
var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
|
|
@@ -90154,7 +90152,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90154
90152
|
}, uI = function(a) {
|
|
90155
90153
|
if (a === "transparent")
|
|
90156
90154
|
return U.some(Mv(0, 0, 0, 0));
|
|
90157
|
-
var c =
|
|
90155
|
+
var c = d6.exec(a);
|
|
90158
90156
|
if (c !== null)
|
|
90159
90157
|
return U.some(pS(c[1], c[2], c[3], "1"));
|
|
90160
90158
|
var v = q4.exec(a);
|
|
@@ -90167,7 +90165,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90167
90165
|
return a.fire("SkinLoadError", c);
|
|
90168
90166
|
}, dI = function(a) {
|
|
90169
90167
|
return a.fire("ResizeEditor");
|
|
90170
|
-
},
|
|
90168
|
+
}, v6 = function(a, c) {
|
|
90171
90169
|
return a.fire("ResizeContent", c);
|
|
90172
90170
|
}, hI = function(a, c) {
|
|
90173
90171
|
return a.fire("ScrollContent", c);
|
|
@@ -90302,7 +90300,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90302
90300
|
text: "White",
|
|
90303
90301
|
value: "#ffffff"
|
|
90304
90302
|
}
|
|
90305
|
-
], yS = pI(10),
|
|
90303
|
+
], yS = pI(10), p6 = function(a) {
|
|
90306
90304
|
var c = [], v = document.createElement("canvas");
|
|
90307
90305
|
v.height = 1, v.width = 1;
|
|
90308
90306
|
for (var b = v.getContext("2d"), x = function(F, L) {
|
|
@@ -90327,9 +90325,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90327
90325
|
return a.getParam("custom_colors") !== !1;
|
|
90328
90326
|
}, gI = function(a) {
|
|
90329
90327
|
return a.getParam("color_map");
|
|
90330
|
-
},
|
|
90328
|
+
}, m6 = function(a) {
|
|
90331
90329
|
var c = gI(a);
|
|
90332
|
-
return c !== void 0 ?
|
|
90330
|
+
return c !== void 0 ? p6(c) : mI;
|
|
90333
90331
|
}, _I = function() {
|
|
90334
90332
|
return Ge(yS.state(), function(a) {
|
|
90335
90333
|
return {
|
|
@@ -90363,7 +90361,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90363
90361
|
}, xI = function(a) {
|
|
90364
90362
|
return Math.max(5, Math.ceil(Math.sqrt(a)));
|
|
90365
90363
|
}, CS = function(a) {
|
|
90366
|
-
var c =
|
|
90364
|
+
var c = m6(a), v = xI(c.length);
|
|
90367
90365
|
return Xi(a, v);
|
|
90368
90366
|
}, EI = function(a) {
|
|
90369
90367
|
var c = "choiceitem", v = {
|
|
@@ -90381,7 +90379,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90381
90379
|
v,
|
|
90382
90380
|
b
|
|
90383
90381
|
] : [v];
|
|
90384
|
-
},
|
|
90382
|
+
}, g6 = function(a, c, v, b) {
|
|
90385
90383
|
if (v === "custom") {
|
|
90386
90384
|
var x = NS(a);
|
|
90387
90385
|
x(function(N) {
|
|
@@ -90415,12 +90413,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90415
90413
|
}).getOr(!1);
|
|
90416
90414
|
},
|
|
90417
90415
|
columns: CS(a),
|
|
90418
|
-
fetch: ES(
|
|
90416
|
+
fetch: ES(m6(a), bS(a)),
|
|
90419
90417
|
onAction: function(N) {
|
|
90420
|
-
x.get() !== null &&
|
|
90418
|
+
x.get() !== null && g6(a, v, x.get(), R);
|
|
90421
90419
|
},
|
|
90422
90420
|
onItemAction: function(N, D) {
|
|
90423
|
-
|
|
90421
|
+
g6(a, v, D, function(F) {
|
|
90424
90422
|
x.set(F), vI(a, {
|
|
90425
90423
|
name: c,
|
|
90426
90424
|
color: F
|
|
@@ -90446,7 +90444,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90446
90444
|
type: "fancymenuitem",
|
|
90447
90445
|
fancytype: "colorswatch",
|
|
90448
90446
|
onAction: function(x) {
|
|
90449
|
-
|
|
90447
|
+
g6(a, v, x.value, R);
|
|
90450
90448
|
}
|
|
90451
90449
|
}];
|
|
90452
90450
|
}
|
|
@@ -90499,9 +90497,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90499
90497
|
CI(a);
|
|
90500
90498
|
var c = jn(null), v = jn(null);
|
|
90501
90499
|
kS(a, "forecolor", "forecolor", "Text color", c), kS(a, "backcolor", "hilitecolor", "Background color", v), TS(a, "forecolor", "forecolor", "Text color"), TS(a, "backcolor", "hilitecolor", "Background color");
|
|
90502
|
-
},
|
|
90500
|
+
}, _6 = function(a, c, v, b, x, N, D, F) {
|
|
90503
90501
|
var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
|
|
90504
|
-
return
|
|
90502
|
+
return F8(a, L, Z, b, x);
|
|
90505
90503
|
}, kI = function(a, c, v, b, x, N, D) {
|
|
90506
90504
|
return sh(Ge(a, function(F) {
|
|
90507
90505
|
return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
|
|
@@ -90545,11 +90543,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90545
90543
|
mode: "matrix",
|
|
90546
90544
|
selectors: {
|
|
90547
90545
|
row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
|
|
90548
|
-
cell: c === "color" ? "." +
|
|
90546
|
+
cell: c === "color" ? "." + I8 : "." + A8
|
|
90549
90547
|
}
|
|
90550
90548
|
};
|
|
90551
90549
|
}, NI = function(a, c) {
|
|
90552
|
-
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N =
|
|
90550
|
+
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _6(Tr("menu-value"), v, function(F) {
|
|
90553
90551
|
a.onAction({ value: F });
|
|
90554
90552
|
}, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
|
|
90555
90553
|
markers: kg(x),
|
|
@@ -90563,16 +90561,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90563
90561
|
classes: ["tox-fancymenuitem"]
|
|
90564
90562
|
},
|
|
90565
90563
|
autofocus: !0,
|
|
90566
|
-
components: [
|
|
90564
|
+
components: [u6.widget(id.sketch(D))]
|
|
90567
90565
|
};
|
|
90568
|
-
}, AS = Tr("cell-over"),
|
|
90566
|
+
}, AS = Tr("cell-over"), y6 = Tr("cell-execute"), AI = function(a, c, v) {
|
|
90569
90567
|
var b, x = function(F) {
|
|
90570
90568
|
return _r(F, AS, {
|
|
90571
90569
|
row: a,
|
|
90572
90570
|
col: c
|
|
90573
90571
|
});
|
|
90574
90572
|
}, N = function(F) {
|
|
90575
|
-
return _r(F,
|
|
90573
|
+
return _r(F, y6, {
|
|
90576
90574
|
row: a,
|
|
90577
90575
|
col: c
|
|
90578
90576
|
});
|
|
@@ -90633,7 +90631,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90633
90631
|
classes: ["tox-fancymenuitem"]
|
|
90634
90632
|
},
|
|
90635
90633
|
autofocus: !0,
|
|
90636
|
-
components: [
|
|
90634
|
+
components: [u6.widget({
|
|
90637
90635
|
dom: {
|
|
90638
90636
|
tag: "div",
|
|
90639
90637
|
classes: ["tox-insert-table-picker"]
|
|
@@ -90645,7 +90643,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90645
90643
|
var G = L.event.row, Z = L.event.col;
|
|
90646
90644
|
DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
|
|
90647
90645
|
}),
|
|
90648
|
-
Fs(
|
|
90646
|
+
Fs(y6, function(D, F, L) {
|
|
90649
90647
|
a.onAction({
|
|
90650
90648
|
numRows: L.event.row + 1,
|
|
90651
90649
|
numColumns: L.event.col + 1
|
|
@@ -90743,7 +90741,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90743
90741
|
dom: ve({
|
|
90744
90742
|
tag: "div",
|
|
90745
90743
|
classes: [
|
|
90746
|
-
|
|
90744
|
+
A8,
|
|
90747
90745
|
tA
|
|
90748
90746
|
]
|
|
90749
90747
|
}, c),
|
|
@@ -90821,7 +90819,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90821
90819
|
return U.some(MS(F));
|
|
90822
90820
|
});
|
|
90823
90821
|
case "fancymenuitem":
|
|
90824
|
-
return
|
|
90822
|
+
return L8(a).fold(mh, function(F) {
|
|
90825
90823
|
return UI(D(F), v);
|
|
90826
90824
|
});
|
|
90827
90825
|
default:
|
|
@@ -90842,7 +90840,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90842
90840
|
Z.onAction(ee), v(Z.value, Z.meta);
|
|
90843
90841
|
}
|
|
90844
90842
|
}), x, N, {
|
|
90845
|
-
itemBehaviours:
|
|
90843
|
+
itemBehaviours: s6(Z.meta, N),
|
|
90846
90844
|
cardText: {
|
|
90847
90845
|
matchText: c,
|
|
90848
90846
|
highlightOn: D
|
|
@@ -90856,7 +90854,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90856
90854
|
});
|
|
90857
90855
|
}
|
|
90858
90856
|
}));
|
|
90859
|
-
},
|
|
90857
|
+
}, b6 = function(a, c, v, b, x) {
|
|
90860
90858
|
var N = P4(c), D = sh(Ge(c, function(L) {
|
|
90861
90859
|
var G = function(ee) {
|
|
90862
90860
|
return x ? !ee.hasOwnProperty("text") : N;
|
|
@@ -90864,7 +90862,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90864
90862
|
return RS(ee, v, b, G(ee), x);
|
|
90865
90863
|
};
|
|
90866
90864
|
return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
|
|
90867
|
-
})), F = x ? pA :
|
|
90865
|
+
})), F = x ? pA : F8;
|
|
90868
90866
|
return F(a, N, D, 1, "normal");
|
|
90869
90867
|
}, $S = function(a) {
|
|
90870
90868
|
return hm.singleData(a.value, a);
|
|
@@ -90889,7 +90887,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90889
90887
|
});
|
|
90890
90888
|
})])
|
|
90891
90889
|
};
|
|
90892
|
-
},
|
|
90890
|
+
}, w6 = function(a, c) {
|
|
90893
90891
|
var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
|
|
90894
90892
|
dom: {
|
|
90895
90893
|
tag: "div",
|
|
@@ -90924,7 +90922,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90924
90922
|
var jt = rn.items;
|
|
90925
90923
|
return HI(jt, rn.matchText, function(nn, Kt) {
|
|
90926
90924
|
var En = a.selection.getRng();
|
|
90927
|
-
|
|
90925
|
+
x8(a.dom, En, qe).fold(function() {
|
|
90928
90926
|
return console.error("Lost context. Cursor probably moved");
|
|
90929
90927
|
}, function(wr) {
|
|
90930
90928
|
var Jn = wr.range, fn = {
|
|
@@ -90957,10 +90955,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90957
90955
|
anchor: "node",
|
|
90958
90956
|
root: rr.fromDom(a.getBody()),
|
|
90959
90957
|
node: U.from(qe.element)
|
|
90960
|
-
}, id.sketch(WI(
|
|
90958
|
+
}, id.sketch(WI(F8("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
|
|
90961
90959
|
}, Te = function(qe) {
|
|
90962
90960
|
return v.get().map(function(St) {
|
|
90963
|
-
return
|
|
90961
|
+
return x8(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
|
|
90964
90962
|
return lE(a, G, At, qe);
|
|
90965
90963
|
});
|
|
90966
90964
|
}).getOrThunk(function() {
|
|
@@ -90991,7 +90989,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90991
90989
|
}
|
|
90992
90990
|
};
|
|
90993
90991
|
a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
|
|
90994
|
-
}, jI = { register:
|
|
90992
|
+
}, jI = { register: w6 }, FS = Pe, Tc = function(a, c, v) {
|
|
90995
90993
|
return D0(a, c, FS, v);
|
|
90996
90994
|
}, P_ = function(a, c, v) {
|
|
90997
90995
|
return Nw(a, c, FS, v);
|
|
@@ -91560,19 +91558,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91560
91558
|
name: "tabstopping",
|
|
91561
91559
|
active: u9
|
|
91562
91560
|
}), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
|
|
91563
|
-
var x =
|
|
91561
|
+
var x = C6(a, c, v, b);
|
|
91564
91562
|
return zo.sketch(x);
|
|
91565
91563
|
}, d9 = function(a, c) {
|
|
91566
91564
|
return Mg(a, c, [], []);
|
|
91567
|
-
},
|
|
91565
|
+
}, C6 = function(a, c, v, b) {
|
|
91568
91566
|
return {
|
|
91569
|
-
dom:
|
|
91567
|
+
dom: x6(v),
|
|
91570
91568
|
components: a.toArray().concat([c]),
|
|
91571
91569
|
fieldBehaviours: Mn(b)
|
|
91572
91570
|
};
|
|
91573
91571
|
}, h9 = function() {
|
|
91574
|
-
return
|
|
91575
|
-
},
|
|
91572
|
+
return x6([]);
|
|
91573
|
+
}, x6 = function(a) {
|
|
91576
91574
|
return {
|
|
91577
91575
|
tag: "div",
|
|
91578
91576
|
classes: ["tox-form__group"].concat(a)
|
|
@@ -91585,7 +91583,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91585
91583
|
innerHtml: c.translate(a)
|
|
91586
91584
|
}
|
|
91587
91585
|
});
|
|
91588
|
-
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"),
|
|
91586
|
+
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"), E6 = Tr("form-block"), $g = Tr("form-unblock"), XS = Tr("form-tabchange"), JS = Tr("form-resize"), ZS = function(a, c) {
|
|
91589
91587
|
var v, b = a.label.map(function(ee) {
|
|
91590
91588
|
return Rv(ee, c);
|
|
91591
91589
|
}), x = function(ee) {
|
|
@@ -92186,7 +92184,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92186
92184
|
}, function(b) {
|
|
92187
92185
|
return b.validate(a);
|
|
92188
92186
|
});
|
|
92189
|
-
},
|
|
92187
|
+
}, S6 = function(a, c, v) {
|
|
92190
92188
|
return c.notify.each(function(b) {
|
|
92191
92189
|
b.onValidate(a);
|
|
92192
92190
|
}), uk(a, c).map(function(b) {
|
|
@@ -92204,14 +92202,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92204
92202
|
markValid: lk,
|
|
92205
92203
|
markInvalid: sk,
|
|
92206
92204
|
query: uk,
|
|
92207
|
-
run:
|
|
92205
|
+
run: S6,
|
|
92208
92206
|
isInvalid: b9
|
|
92209
92207
|
}), w9 = function(a, c) {
|
|
92210
92208
|
return a.validator.map(function(v) {
|
|
92211
92209
|
return Oo([wn(v.onEvent, function(b) {
|
|
92212
|
-
|
|
92210
|
+
S6(b, a, c).get(z);
|
|
92213
92211
|
})].concat(v.validateOnLoad ? [Ra(function(b) {
|
|
92214
|
-
|
|
92212
|
+
S6(b, a, c).get(R);
|
|
92215
92213
|
})] : []));
|
|
92216
92214
|
}).getOr({});
|
|
92217
92215
|
}, C9 = /* @__PURE__ */ Object.freeze({
|
|
@@ -92341,7 +92339,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92341
92339
|
})));
|
|
92342
92340
|
});
|
|
92343
92341
|
});
|
|
92344
|
-
},
|
|
92342
|
+
}, k6 = function(a, c, v, b, x, N, D) {
|
|
92345
92343
|
var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
|
|
92346
92344
|
return L.map(function(G) {
|
|
92347
92345
|
return G.fold(function() {
|
|
@@ -92353,7 +92351,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92353
92351
|
}, n3 = function(a, c, v, b, x, N, D) {
|
|
92354
92352
|
return wo.close(b), sl.pure(b);
|
|
92355
92353
|
}, Vg = function(a, c, v, b, x, N) {
|
|
92356
|
-
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 :
|
|
92354
|
+
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k6;
|
|
92357
92355
|
return L(a, c, v, D, b, x, N);
|
|
92358
92356
|
}, T9 = function(a, c, v) {
|
|
92359
92357
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
@@ -92374,11 +92372,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92374
92372
|
};
|
|
92375
92373
|
});
|
|
92376
92374
|
});
|
|
92377
|
-
},
|
|
92375
|
+
}, T6 = function(a) {
|
|
92378
92376
|
wo.getState(a).each(function(c) {
|
|
92379
92377
|
hm.repositionMenus(c);
|
|
92380
92378
|
});
|
|
92381
|
-
},
|
|
92379
|
+
}, N6 = function(a, c, v) {
|
|
92382
92380
|
var b = lc(), x = function(F, L) {
|
|
92383
92381
|
var G = t3(a, c);
|
|
92384
92382
|
b.link(c.element), a.matchWidth && T9(G.hotspot, L, a.useMinWidth), a.onOpen(G, F, L), v !== void 0 && v.onOpen !== void 0 && v.onOpen(F, L);
|
|
@@ -92418,13 +92416,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92418
92416
|
});
|
|
92419
92417
|
}
|
|
92420
92418
|
}),
|
|
92421
|
-
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition:
|
|
92419
|
+
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T6 })) })
|
|
92422
92420
|
])
|
|
92423
92421
|
};
|
|
92424
|
-
},
|
|
92422
|
+
}, A6 = function(a) {
|
|
92425
92423
|
var c = Ga.getCoupled(a, "sandbox");
|
|
92426
|
-
|
|
92427
|
-
},
|
|
92424
|
+
T6(c);
|
|
92425
|
+
}, I6 = function() {
|
|
92428
92426
|
return [
|
|
92429
92427
|
Ot("sandboxClasses", []),
|
|
92430
92428
|
is.field("sandboxBehaviours", [
|
|
@@ -92454,7 +92452,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92454
92452
|
Ot("matchWidth", !1),
|
|
92455
92453
|
Ot("useMinWidth", !1),
|
|
92456
92454
|
Do("role")
|
|
92457
|
-
].concat(
|
|
92455
|
+
].concat(I6())), pk = V([
|
|
92458
92456
|
tu({
|
|
92459
92457
|
schema: [zf()],
|
|
92460
92458
|
name: "menu",
|
|
@@ -92495,7 +92493,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92495
92493
|
}, Z, b, R, Uu.HighlightFirst).get(R);
|
|
92496
92494
|
},
|
|
92497
92495
|
repositionMenus: function(Z) {
|
|
92498
|
-
Vt.isOn(Z) &&
|
|
92496
|
+
Vt.isOn(Z) && A6(Z);
|
|
92499
92497
|
}
|
|
92500
92498
|
}, G = function(Z, ee) {
|
|
92501
92499
|
return Nf(Z), U.some(!0);
|
|
@@ -92512,7 +92510,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92512
92510
|
Ga.config({
|
|
92513
92511
|
others: {
|
|
92514
92512
|
sandbox: function(Z) {
|
|
92515
|
-
return
|
|
92513
|
+
return N6(a, Z, {
|
|
92516
92514
|
onOpen: function() {
|
|
92517
92515
|
return Vt.on(Z);
|
|
92518
92516
|
},
|
|
@@ -92616,7 +92614,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92616
92614
|
return sl.nu(function(b) {
|
|
92617
92615
|
return a.fetch(b);
|
|
92618
92616
|
}).map(function(b) {
|
|
92619
|
-
return U.from($S(to(
|
|
92617
|
+
return U.from($S(to(_6(Tr("menu-value"), b, function(x) {
|
|
92620
92618
|
a.onItemAction(v, x);
|
|
92621
92619
|
}, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
|
|
92622
92620
|
});
|
|
@@ -92834,7 +92832,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92834
92832
|
Ek
|
|
92835
92833
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92836
92834
|
return a.type.indexOf("touch") !== -1;
|
|
92837
|
-
},
|
|
92835
|
+
}, D6 = function(a) {
|
|
92838
92836
|
var c = a.event.raw;
|
|
92839
92837
|
if (V9(c)) {
|
|
92840
92838
|
var v = c;
|
|
@@ -92865,12 +92863,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92865
92863
|
return a.model.maxY + 1;
|
|
92866
92864
|
}, z_ = function(a, c, v) {
|
|
92867
92865
|
return c(a) - v(a);
|
|
92868
|
-
},
|
|
92866
|
+
}, O6 = function(a) {
|
|
92869
92867
|
return z_(a, Nl, Sm);
|
|
92870
92868
|
}, i3 = function(a) {
|
|
92871
92869
|
return z_(a, Vv, lu);
|
|
92872
92870
|
}, kk = function(a) {
|
|
92873
|
-
return
|
|
92871
|
+
return O6(a) / 2;
|
|
92874
92872
|
}, Tk = function(a) {
|
|
92875
92873
|
return i3(a) / 2;
|
|
92876
92874
|
}, Lg = function(a) {
|
|
@@ -92893,7 +92891,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92893
92891
|
return s3(a, Em);
|
|
92894
92892
|
}, cd = function(a) {
|
|
92895
92893
|
return a.model.value.get();
|
|
92896
|
-
},
|
|
92894
|
+
}, B6 = function(a) {
|
|
92897
92895
|
return { x: a };
|
|
92898
92896
|
}, Pk = function(a) {
|
|
92899
92897
|
return { y: a };
|
|
@@ -92913,7 +92911,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92913
92911
|
}, Rk = function(a, c) {
|
|
92914
92912
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92915
92913
|
}, $k = function(a, c) {
|
|
92916
|
-
Ac(a,
|
|
92914
|
+
Ac(a, B6(U_(c)));
|
|
92917
92915
|
}, u3 = function(a, c) {
|
|
92918
92916
|
Ac(a, Lv(U_(c), Tk(c)));
|
|
92919
92917
|
}, j9 = function(a, c) {
|
|
@@ -92925,12 +92923,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92925
92923
|
}, q9 = function(a, c) {
|
|
92926
92924
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92927
92925
|
}, K9 = function(a, c) {
|
|
92928
|
-
Ac(a,
|
|
92926
|
+
Ac(a, B6(r3(c)));
|
|
92929
92927
|
}, Y9 = function(a, c) {
|
|
92930
92928
|
Ac(a, Lv(r3(c), Tk(c)));
|
|
92931
92929
|
}, Ug = function(a, c, v, b) {
|
|
92932
92930
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92933
|
-
},
|
|
92931
|
+
}, P6 = function(a, c, v, b) {
|
|
92934
92932
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92935
92933
|
}, Vk = function(a, c, v) {
|
|
92936
92934
|
return Math.max(c, Math.min(v, a));
|
|
@@ -92952,26 +92950,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92952
92950
|
return je;
|
|
92953
92951
|
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92954
92952
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92955
|
-
},
|
|
92953
|
+
}, M6 = function(a) {
|
|
92956
92954
|
var c = a.min, v = a.max, b = a.range, x = a.value, N = a.hasMinEdge, D = a.hasMaxEdge, F = a.maxBound, L = a.maxOffset, G = a.centerMinEdge, Z = a.centerMaxEdge;
|
|
92957
92955
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92958
|
-
}, H_ = "top", Lk = "right", Uk = "bottom",
|
|
92956
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92959
92957
|
return a.element.dom.getBoundingClientRect();
|
|
92960
92958
|
}, Ic = function(a, c) {
|
|
92961
92959
|
return a[c];
|
|
92962
92960
|
}, cs = function(a) {
|
|
92963
92961
|
var c = zu(a);
|
|
92964
|
-
return Ic(c,
|
|
92962
|
+
return Ic(c, R6);
|
|
92965
92963
|
}, Hk = function(a) {
|
|
92966
92964
|
var c = zu(a);
|
|
92967
92965
|
return Ic(c, Lk);
|
|
92968
92966
|
}, c3 = function(a) {
|
|
92969
92967
|
var c = zu(a);
|
|
92970
92968
|
return Ic(c, H_);
|
|
92971
|
-
}, $
|
|
92969
|
+
}, $6 = function(a) {
|
|
92972
92970
|
var c = zu(a);
|
|
92973
92971
|
return Ic(c, Uk);
|
|
92974
|
-
},
|
|
92972
|
+
}, F6 = function(a) {
|
|
92975
92973
|
var c = zu(a);
|
|
92976
92974
|
return Ic(c, zk);
|
|
92977
92975
|
}, Wk = function(a) {
|
|
@@ -92980,7 +92978,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92980
92978
|
}, jk = function(a, c, v) {
|
|
92981
92979
|
return (a + c) / 2 - v;
|
|
92982
92980
|
}, Gk = function(a, c) {
|
|
92983
|
-
var v = zu(a), b = zu(c), x = Ic(v,
|
|
92981
|
+
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
|
|
92984
92982
|
return jk(x, N, D);
|
|
92985
92983
|
}, qk = function(a, c) {
|
|
92986
92984
|
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
@@ -92989,11 +92987,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92989
92987
|
_r(a, L_(), { value: c });
|
|
92990
92988
|
}, d3 = function(a) {
|
|
92991
92989
|
return { x: a };
|
|
92992
|
-
},
|
|
92990
|
+
}, V6 = function(a, c, v) {
|
|
92993
92991
|
var b = {
|
|
92994
92992
|
min: Sm(c),
|
|
92995
92993
|
max: Nl(c),
|
|
92996
|
-
range:
|
|
92994
|
+
range: O6(c),
|
|
92997
92995
|
value: v,
|
|
92998
92996
|
step: Lg(c),
|
|
92999
92997
|
snap: l3(c),
|
|
@@ -93003,11 +93001,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93003
93001
|
hasMaxEdge: Dk(c),
|
|
93004
93002
|
minBound: cs(a),
|
|
93005
93003
|
maxBound: Hk(a),
|
|
93006
|
-
screenRange:
|
|
93004
|
+
screenRange: F6(a)
|
|
93007
93005
|
};
|
|
93008
93006
|
return km(b);
|
|
93009
93007
|
}, Kk = function(a, c, v) {
|
|
93010
|
-
var b =
|
|
93008
|
+
var b = V6(a, c, v), x = d3(b);
|
|
93011
93009
|
return f3(a, x), b;
|
|
93012
93010
|
}, Z9 = function(a, c) {
|
|
93013
93011
|
var v = Sm(c);
|
|
@@ -93016,26 +93014,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93016
93014
|
var v = Nl(c);
|
|
93017
93015
|
f3(a, d3(v));
|
|
93018
93016
|
}, eD = function(a, c, v) {
|
|
93019
|
-
var b = a > 0 ?
|
|
93017
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
|
|
93020
93018
|
return f3(c, d3(x)), U.some(x);
|
|
93021
|
-
},
|
|
93019
|
+
}, L6 = function(a) {
|
|
93022
93020
|
return function(c, v) {
|
|
93023
93021
|
return eD(a, c, v).map(Pe);
|
|
93024
93022
|
};
|
|
93025
93023
|
}, h3 = function(a) {
|
|
93026
|
-
var c =
|
|
93024
|
+
var c = D6(a);
|
|
93027
93025
|
return c.map(function(v) {
|
|
93028
93026
|
return v.left;
|
|
93029
93027
|
});
|
|
93030
93028
|
}, tD = function(a, c, v, b, x) {
|
|
93031
|
-
var N = 0, D =
|
|
93029
|
+
var N = 0, D = F6(a), F = b.bind(function(Z) {
|
|
93032
93030
|
return U.some(Gk(Z, a));
|
|
93033
93031
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93034
93032
|
return U.some(Gk(Z, a));
|
|
93035
93033
|
}).getOr(D), G = {
|
|
93036
93034
|
min: Sm(c),
|
|
93037
93035
|
max: Nl(c),
|
|
93038
|
-
range:
|
|
93036
|
+
range: O6(c),
|
|
93039
93037
|
value: v,
|
|
93040
93038
|
hasMinEdge: Ik(c),
|
|
93041
93039
|
hasMaxEdge: Dk(c),
|
|
@@ -93046,14 +93044,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93046
93044
|
centerMinEdge: F,
|
|
93047
93045
|
centerMaxEdge: L
|
|
93048
93046
|
};
|
|
93049
|
-
return
|
|
93047
|
+
return M6(G);
|
|
93050
93048
|
}, zg = function(a, c, v, b, x, N) {
|
|
93051
93049
|
var D = tD(c, N, v, b, x);
|
|
93052
93050
|
return cs(c) - cs(a) + D;
|
|
93053
93051
|
}, Hg = function(a, c, v, b) {
|
|
93054
93052
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
|
|
93055
93053
|
eo(c.element, "left", N - D + "px");
|
|
93056
|
-
}, Yk =
|
|
93054
|
+
}, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
|
|
93057
93055
|
"top-left": U.none(),
|
|
93058
93056
|
top: U.none(),
|
|
93059
93057
|
"top-right": U.none(),
|
|
@@ -93067,7 +93065,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93067
93065
|
setValueFrom: Kk,
|
|
93068
93066
|
setToMin: Z9,
|
|
93069
93067
|
setToMax: Q9,
|
|
93070
|
-
findValueOfOffset:
|
|
93068
|
+
findValueOfOffset: V6,
|
|
93071
93069
|
getValueFromEvent: h3,
|
|
93072
93070
|
findPositionOfValue: zg,
|
|
93073
93071
|
setPositionFromValue: Hg,
|
|
@@ -93093,28 +93091,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93093
93091
|
hasMinEdge: Ok(c),
|
|
93094
93092
|
hasMaxEdge: Bk(c),
|
|
93095
93093
|
minBound: c3(a),
|
|
93096
|
-
maxBound: $
|
|
93094
|
+
maxBound: $6(a),
|
|
93097
93095
|
screenRange: Wk(a)
|
|
93098
93096
|
};
|
|
93099
93097
|
return km(b);
|
|
93100
93098
|
}, Zk = function(a, c, v) {
|
|
93101
93099
|
var b = g3(a, c, v), x = m3(b);
|
|
93102
93100
|
return p3(a, x), b;
|
|
93103
|
-
},
|
|
93101
|
+
}, U6 = function(a, c) {
|
|
93104
93102
|
var v = lu(c);
|
|
93105
93103
|
p3(a, m3(v));
|
|
93106
93104
|
}, Qk = function(a, c) {
|
|
93107
93105
|
var v = Vv(c);
|
|
93108
93106
|
p3(a, m3(v));
|
|
93109
93107
|
}, fs = function(a, c, v) {
|
|
93110
|
-
var b = a > 0 ?
|
|
93108
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
|
|
93111
93109
|
return p3(c, m3(x)), U.some(x);
|
|
93112
|
-
},
|
|
93110
|
+
}, z6 = function(a) {
|
|
93113
93111
|
return function(c, v) {
|
|
93114
93112
|
return fs(a, c, v).map(Pe);
|
|
93115
93113
|
};
|
|
93116
93114
|
}, oD = function(a) {
|
|
93117
|
-
var c =
|
|
93115
|
+
var c = D6(a);
|
|
93118
93116
|
return c.map(function(v) {
|
|
93119
93117
|
return v.top;
|
|
93120
93118
|
});
|
|
@@ -93132,19 +93130,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93132
93130
|
hasMaxEdge: Bk(c),
|
|
93133
93131
|
minBound: c3(a),
|
|
93134
93132
|
minOffset: N,
|
|
93135
|
-
maxBound: $
|
|
93133
|
+
maxBound: $6(a),
|
|
93136
93134
|
maxOffset: D,
|
|
93137
93135
|
centerMinEdge: F,
|
|
93138
93136
|
centerMaxEdge: L
|
|
93139
93137
|
};
|
|
93140
|
-
return
|
|
93138
|
+
return M6(G);
|
|
93141
93139
|
}, _3 = function(a, c, v, b, x, N) {
|
|
93142
93140
|
var D = aD(c, N, v, b, x);
|
|
93143
93141
|
return c3(c) - c3(a) + D;
|
|
93144
93142
|
}, iD = function(a, c, v, b) {
|
|
93145
93143
|
var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
|
|
93146
93144
|
eo(c.element, "top", N - D + "px");
|
|
93147
|
-
}, lD = U.none, sD = U.none, e5 =
|
|
93145
|
+
}, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
|
|
93148
93146
|
"top-left": U.none(),
|
|
93149
93147
|
top: U.some(W9),
|
|
93150
93148
|
"top-right": U.none(),
|
|
@@ -93156,7 +93154,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93156
93154
|
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93157
93155
|
__proto__: null,
|
|
93158
93156
|
setValueFrom: Zk,
|
|
93159
|
-
setToMin:
|
|
93157
|
+
setToMin: U6,
|
|
93160
93158
|
setToMax: Qk,
|
|
93161
93159
|
findValueOfOffset: g3,
|
|
93162
93160
|
getValueFromEvent: oD,
|
|
@@ -93166,7 +93164,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93166
93164
|
onRight: sD,
|
|
93167
93165
|
onUp: e5,
|
|
93168
93166
|
onDown: fd,
|
|
93169
|
-
edgeActions:
|
|
93167
|
+
edgeActions: H6
|
|
93170
93168
|
}), Tm = function(a, c) {
|
|
93171
93169
|
_r(a, L_(), { value: c });
|
|
93172
93170
|
}, Wg = function(a, c) {
|
|
@@ -93175,10 +93173,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93175
93173
|
y: c
|
|
93176
93174
|
};
|
|
93177
93175
|
}, uD = function(a, c, v) {
|
|
93178
|
-
var b =
|
|
93176
|
+
var b = V6(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
|
|
93179
93177
|
return Tm(a, N), N;
|
|
93180
93178
|
}, cD = function(a, c, v, b) {
|
|
93181
|
-
var x = a > 0 ?
|
|
93179
|
+
var x = a > 0 ? P6 : Ug, N = c ? cd(b).x : x(cd(b).x, Sm(b), Nl(b), Lg(b)), D = c ? x(cd(b).y, lu(b), Vv(b), Lg(b)) : cd(b).y;
|
|
93182
93180
|
return Tm(v, Wg(N, D)), U.some(N);
|
|
93183
93181
|
}, y3 = function(a, c) {
|
|
93184
93182
|
return function(v, b) {
|
|
@@ -93190,8 +93188,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93190
93188
|
}, dD = function(a, c) {
|
|
93191
93189
|
var v = Nl(c), b = Vv(c);
|
|
93192
93190
|
Tm(a, Wg(v, b));
|
|
93193
|
-
},
|
|
93194
|
-
return
|
|
93191
|
+
}, W6 = function(a) {
|
|
93192
|
+
return D6(a);
|
|
93195
93193
|
}, hD = function(a, c, v, b) {
|
|
93196
93194
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), F = Vl(c.element) / 2, L = xl(c.element) / 2;
|
|
93197
93195
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
@@ -93209,7 +93207,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93209
93207
|
setValueFrom: uD,
|
|
93210
93208
|
setToMin: fD,
|
|
93211
93209
|
setToMax: dD,
|
|
93212
|
-
getValueFromEvent:
|
|
93210
|
+
getValueFromEvent: W6,
|
|
93213
93211
|
setPositionFromValue: hD,
|
|
93214
93212
|
onLeft: n5,
|
|
93215
93213
|
onRight: vD,
|
|
@@ -93394,7 +93392,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93394
93392
|
return Nm(O_(a));
|
|
93395
93393
|
}, a5 = function(a) {
|
|
93396
93394
|
return G4(vS(a));
|
|
93397
|
-
},
|
|
93395
|
+
}, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93398
93396
|
var v = su.parts.spectrum({
|
|
93399
93397
|
dom: {
|
|
93400
93398
|
tag: "div",
|
|
@@ -93491,7 +93489,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93491
93489
|
return a.getField(c, v);
|
|
93492
93490
|
}),
|
|
93493
93491
|
sketch: Am
|
|
93494
|
-
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"),
|
|
93492
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93495
93493
|
var x = function(fe, Te) {
|
|
93496
93494
|
return ff.config({
|
|
93497
93495
|
invalidClass: c("invalid"),
|
|
@@ -93521,7 +93519,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93521
93519
|
}
|
|
93522
93520
|
});
|
|
93523
93521
|
}, N = function(fe, Te, ze, je, dt) {
|
|
93524
|
-
var qe = a(
|
|
93522
|
+
var qe = a(G6 + "range"), St = zo.parts.label({
|
|
93525
93523
|
dom: {
|
|
93526
93524
|
tag: "label",
|
|
93527
93525
|
innerHtml: ze,
|
|
@@ -93608,12 +93606,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93608
93606
|
var Fr = uS(hr);
|
|
93609
93607
|
je("hex", U.some(hr));
|
|
93610
93608
|
var Rn = O_(Fr);
|
|
93611
|
-
F(bn, Rn), qe(Rn), _r(bn,
|
|
93609
|
+
F(bn, Rn), qe(Rn), _r(bn, j6, { hex: Fr }), G(bn, Fr);
|
|
93612
93610
|
}, rn = function(bn, hr, Fr) {
|
|
93613
93611
|
var Rn = parseInt(Fr, 10);
|
|
93614
93612
|
je(hr, U.some(Rn)), dt().each(function(Nr) {
|
|
93615
93613
|
var Rr = D(bn, Nr);
|
|
93616
|
-
_r(bn,
|
|
93614
|
+
_r(bn, j6, { hex: Rr }), G(bn, Rr);
|
|
93617
93615
|
});
|
|
93618
93616
|
}, jt = function(bn) {
|
|
93619
93617
|
return bn.type === "hex";
|
|
@@ -93622,8 +93620,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93622
93620
|
jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
|
|
93623
93621
|
}, Kt = function(bn) {
|
|
93624
93622
|
return {
|
|
93625
|
-
label: a(
|
|
93626
|
-
description: a(
|
|
93623
|
+
label: a(G6 + bn + ".label"),
|
|
93624
|
+
description: a(G6 + bn + ".description")
|
|
93627
93625
|
};
|
|
93628
93626
|
}, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
|
|
93629
93627
|
return to(Gg.sketch(function(bn) {
|
|
@@ -93634,9 +93632,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93634
93632
|
attributes: { "aria-label": a("aria.color.picker") }
|
|
93635
93633
|
},
|
|
93636
93634
|
components: [
|
|
93637
|
-
bn.field("red", zo.sketch(N(
|
|
93638
|
-
bn.field("green", zo.sketch(N(
|
|
93639
|
-
bn.field("blue", zo.sketch(N(
|
|
93635
|
+
bn.field("red", zo.sketch(N(h6, "red", En.label, En.description, 255))),
|
|
93636
|
+
bn.field("green", zo.sketch(N(h6, "green", wr.label, wr.description, 255))),
|
|
93637
|
+
bn.field("blue", zo.sketch(N(h6, "blue", Jn.label, Jn.description, 255))),
|
|
93640
93638
|
bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
|
|
93641
93639
|
L.asSpec()
|
|
93642
93640
|
],
|
|
@@ -93668,7 +93666,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93668
93666
|
extraApis: {}
|
|
93669
93667
|
});
|
|
93670
93668
|
return ee;
|
|
93671
|
-
},
|
|
93669
|
+
}, q6 = function(a, c) {
|
|
93672
93670
|
var v = su.parts.spectrum({
|
|
93673
93671
|
dom: {
|
|
93674
93672
|
tag: "canvas",
|
|
@@ -93748,7 +93746,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93748
93746
|
return L;
|
|
93749
93747
|
}, bD = function(a, c) {
|
|
93750
93748
|
var v = function(x) {
|
|
93751
|
-
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D =
|
|
93749
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
|
|
93752
93750
|
return (100 - nn) / 100 * 360;
|
|
93753
93751
|
}, L = function(nn) {
|
|
93754
93752
|
return 100 - nn / 360 * 100;
|
|
@@ -93814,7 +93812,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93814
93812
|
],
|
|
93815
93813
|
behaviours: Mn([
|
|
93816
93814
|
so("colour-picker-events", [
|
|
93817
|
-
wn(
|
|
93815
|
+
wn(j6, jt()),
|
|
93818
93816
|
wn(l5, At()),
|
|
93819
93817
|
wn(i5, rn())
|
|
93820
93818
|
]),
|
|
@@ -93838,9 +93836,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93838
93836
|
return b;
|
|
93839
93837
|
}, v5 = function() {
|
|
93840
93838
|
return To.config({ find: U.some });
|
|
93841
|
-
},
|
|
93839
|
+
}, K6 = function(a) {
|
|
93842
93840
|
return To.config({ find: a.getOpt });
|
|
93843
|
-
},
|
|
93841
|
+
}, Y6 = function(a) {
|
|
93844
93842
|
return To.config({
|
|
93845
93843
|
find: function(c) {
|
|
93846
93844
|
return v0(c.element, a).bind(function(v) {
|
|
@@ -93850,8 +93848,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93850
93848
|
});
|
|
93851
93849
|
}, Dc = {
|
|
93852
93850
|
self: v5,
|
|
93853
|
-
memento:
|
|
93854
|
-
childAt:
|
|
93851
|
+
memento: K6,
|
|
93852
|
+
childAt: Y6
|
|
93855
93853
|
}, wD = {
|
|
93856
93854
|
"colorcustom.rgb.red.label": "R",
|
|
93857
93855
|
"colorcustom.rgb.red.description": "Red component",
|
|
@@ -93974,11 +93972,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93974
93972
|
]),
|
|
93975
93973
|
components: [v.asSpec()]
|
|
93976
93974
|
};
|
|
93977
|
-
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"),
|
|
93975
|
+
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
|
|
93978
93976
|
Ot("preprocess", z),
|
|
93979
93977
|
Ot("postprocess", z)
|
|
93980
93978
|
]), m5 = function(a, c) {
|
|
93981
|
-
var v = Na("RepresentingConfigs.memento processors",
|
|
93979
|
+
var v = Na("RepresentingConfigs.memento processors", X6, c);
|
|
93982
93980
|
return or.config({
|
|
93983
93981
|
store: {
|
|
93984
93982
|
mode: "manual",
|
|
@@ -93992,7 +93990,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93992
93990
|
}
|
|
93993
93991
|
}
|
|
93994
93992
|
});
|
|
93995
|
-
},
|
|
93993
|
+
}, J6 = function(a, c, v) {
|
|
93996
93994
|
return or.config(to({
|
|
93997
93995
|
store: {
|
|
93998
93996
|
mode: "manual",
|
|
@@ -94003,7 +94001,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94003
94001
|
return { store: { initialValue: b } };
|
|
94004
94002
|
}).getOr({})));
|
|
94005
94003
|
}, j_ = function(a, c, v) {
|
|
94006
|
-
return
|
|
94004
|
+
return J6(a, function(b) {
|
|
94007
94005
|
return c(b.element);
|
|
94008
94006
|
}, function(b, x) {
|
|
94009
94007
|
return v(b.element, x);
|
|
@@ -94022,7 +94020,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94022
94020
|
}, Uv = {
|
|
94023
94021
|
memento: m5,
|
|
94024
94022
|
withElement: j_,
|
|
94025
|
-
withComp:
|
|
94023
|
+
withComp: J6,
|
|
94026
94024
|
domValue: g5,
|
|
94027
94025
|
domHtml: x3,
|
|
94028
94026
|
memory: _5
|
|
@@ -94240,9 +94238,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94240
94238
|
return a.getContext("2d");
|
|
94241
94239
|
}, OD = function(a, c, v) {
|
|
94242
94240
|
return a.width = c, a.height = v, a;
|
|
94243
|
-
},
|
|
94241
|
+
}, Z6 = function(a) {
|
|
94244
94242
|
return a.naturalWidth || a.width;
|
|
94245
|
-
},
|
|
94243
|
+
}, Q6 = function(a) {
|
|
94246
94244
|
return a.naturalHeight || a.height;
|
|
94247
94245
|
}, BD = function() {
|
|
94248
94246
|
var a = function(ee) {
|
|
@@ -94413,7 +94411,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94413
94411
|
}, tx = function(a) {
|
|
94414
94412
|
return ex(a).then(function(c) {
|
|
94415
94413
|
$D(c);
|
|
94416
|
-
var v = qg(
|
|
94414
|
+
var v = qg(Z6(c), Q6(c)), b = Oc(v);
|
|
94417
94415
|
return b.drawImage(c, 0, 0), v;
|
|
94418
94416
|
});
|
|
94419
94417
|
}, E5 = function(a) {
|
|
@@ -94796,7 +94794,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94796
94794
|
]), N5 = WD(function(a, c) {
|
|
94797
94795
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94798
94796
|
}), A5 = function(a, c, v) {
|
|
94799
|
-
var b =
|
|
94797
|
+
var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
|
|
94800
94798
|
(N < 0.5 || N > 2) && (N = N < 0.5 ? 0.5 : 2, F = !0), (D < 0.5 || D > 2) && (D = D < 0.5 ? 0.5 : 2, F = !0);
|
|
94801
94799
|
var L = ZD(a, N, D);
|
|
94802
94800
|
return F ? L.then(function(G) {
|
|
@@ -94804,7 +94802,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94804
94802
|
}) : L;
|
|
94805
94803
|
}, ZD = function(a, c, v) {
|
|
94806
94804
|
return new hd(function(b) {
|
|
94807
|
-
var x =
|
|
94805
|
+
var x = Z6(a), N = Q6(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
|
|
94808
94806
|
G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
|
|
94809
94807
|
});
|
|
94810
94808
|
}, rx = function(a, c) {
|
|
@@ -95039,8 +95037,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95039
95037
|
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95040
95038
|
if (N.items.length === 0)
|
|
95041
95039
|
return U.none();
|
|
95042
|
-
var D =
|
|
95043
|
-
return
|
|
95040
|
+
var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
95041
|
+
return b6(Z, G, c, v, !1);
|
|
95044
95042
|
}), L = to(F, ge(x, D));
|
|
95045
95043
|
return U.from(hm.tieredData(x, L, N.expansions));
|
|
95046
95044
|
}, vO = function(a) {
|
|
@@ -96987,7 +96985,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
96987
96985
|
var fe = function(Te) {
|
|
96988
96986
|
To.getCurrent(Te).each(Z);
|
|
96989
96987
|
};
|
|
96990
|
-
|
|
96988
|
+
k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
96991
96989
|
}
|
|
96992
96990
|
}, N = ek(a), D = function(L) {
|
|
96993
96991
|
return function(G) {
|
|
@@ -97051,7 +97049,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97051
97049
|
});
|
|
97052
97050
|
});
|
|
97053
97051
|
};
|
|
97054
|
-
|
|
97052
|
+
k6(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
|
|
97055
97053
|
}
|
|
97056
97054
|
},
|
|
97057
97055
|
cancelEvent: fp()
|
|
@@ -97087,7 +97085,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97087
97085
|
Ga.config({
|
|
97088
97086
|
others: {
|
|
97089
97087
|
sandbox: function(L) {
|
|
97090
|
-
return
|
|
97088
|
+
return N6(a, L, {
|
|
97091
97089
|
onOpen: function() {
|
|
97092
97090
|
return Vt.on(L);
|
|
97093
97091
|
},
|
|
@@ -97163,7 +97161,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97163
97161
|
vi("previewing", function() {
|
|
97164
97162
|
return jn(!0);
|
|
97165
97163
|
})
|
|
97166
|
-
].concat(QS()).concat(
|
|
97164
|
+
].concat(QS()).concat(I6())), XO = V([tu({
|
|
97167
97165
|
schema: [zf()],
|
|
97168
97166
|
name: "menu",
|
|
97169
97167
|
overrides: function(a) {
|
|
@@ -97911,7 +97909,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97911
97909
|
};
|
|
97912
97910
|
}, S7 = function(a) {
|
|
97913
97911
|
return function() {
|
|
97914
|
-
return
|
|
97912
|
+
return m6(a);
|
|
97915
97913
|
};
|
|
97916
97914
|
}, k7 = function(a) {
|
|
97917
97915
|
return function() {
|
|
@@ -97931,7 +97929,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97931
97929
|
}, _T = function(a) {
|
|
97932
97930
|
return { isDraggableModal: N7(a) };
|
|
97933
97931
|
}, A7 = function(a) {
|
|
97934
|
-
var c = jn(
|
|
97932
|
+
var c = jn(e6(a) ? "bottom" : "top");
|
|
97935
97933
|
return {
|
|
97936
97934
|
isPositionedAtTop: function() {
|
|
97937
97935
|
return c.get() === "top";
|
|
@@ -98094,7 +98092,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98094
98092
|
}, ty = function(a) {
|
|
98095
98093
|
return jE(a).map(function(c) {
|
|
98096
98094
|
var v = Dm(a, c);
|
|
98097
|
-
return
|
|
98095
|
+
return J8(a) ? yT.concat(v) : v;
|
|
98098
98096
|
}).getOr(yT);
|
|
98099
98097
|
}, bT = function(a, c, v) {
|
|
98100
98098
|
var b = {
|
|
@@ -98308,10 +98306,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98308
98306
|
return GA(a) ? U.none() : U.some({
|
|
98309
98307
|
targets: G7.find(a.getBody()),
|
|
98310
98308
|
anchorTop: Ix(qA(a)),
|
|
98311
|
-
anchorBottom: Ix(
|
|
98309
|
+
anchorBottom: Ix(r6(a))
|
|
98312
98310
|
});
|
|
98313
98311
|
}, tB = function(a) {
|
|
98314
|
-
return U.from(
|
|
98312
|
+
return U.from(o6(a));
|
|
98315
98313
|
}, nB = function(a) {
|
|
98316
98314
|
return {
|
|
98317
98315
|
getHistory: Y7,
|
|
@@ -99350,7 +99348,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99350
99348
|
Ot("useMinWidth", !1),
|
|
99351
99349
|
Ot("eventOrder", {}),
|
|
99352
99350
|
Do("role")
|
|
99353
|
-
].concat(
|
|
99351
|
+
].concat(I6())), PB = Ni({
|
|
99354
99352
|
factory: Gl,
|
|
99355
99353
|
schema: [nt("dom")],
|
|
99356
99354
|
name: "arrow",
|
|
@@ -99449,7 +99447,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99449
99447
|
});
|
|
99450
99448
|
})])), In(U.some(D))), Z = {
|
|
99451
99449
|
repositionMenus: function(ee) {
|
|
99452
|
-
Vt.isOn(ee) &&
|
|
99450
|
+
Vt.isOn(ee) && A6(ee);
|
|
99453
99451
|
}
|
|
99454
99452
|
};
|
|
99455
99453
|
return {
|
|
@@ -99475,7 +99473,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99475
99473
|
Vt.off(fe), Vt.off(ee);
|
|
99476
99474
|
}
|
|
99477
99475
|
};
|
|
99478
|
-
return
|
|
99476
|
+
return N6(a, ee, Te);
|
|
99479
99477
|
}
|
|
99480
99478
|
}
|
|
99481
99479
|
}),
|
|
@@ -99669,7 +99667,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99669
99667
|
return sl.nu(function(x) {
|
|
99670
99668
|
return c.fetch(x);
|
|
99671
99669
|
}).map(function(x) {
|
|
99672
|
-
return U.from($S(to(
|
|
99670
|
+
return U.from($S(to(_6(Tr("menu-value"), x, function(N) {
|
|
99673
99671
|
c.onItemAction(a(b), N);
|
|
99674
99672
|
}, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
|
|
99675
99673
|
movement: K4(c.columns, c.presets),
|
|
@@ -99897,7 +99895,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99897
99895
|
bottom: Math.min(D.y, v.bottom)
|
|
99898
99896
|
};
|
|
99899
99897
|
}, uN = function(a, c) {
|
|
99900
|
-
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x =
|
|
99898
|
+
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x = Z8(a) || Ag(a) || k_(a), N = sN(b, v), D = N.x, F = N.width;
|
|
99901
99899
|
if (a.inline && !x)
|
|
99902
99900
|
return fl(D, v.y, F, v.height);
|
|
99903
99901
|
var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
|
|
@@ -102232,10 +102230,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102232
102230
|
}, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
|
|
102233
102231
|
var v = a.dom, b = a.getWin(), x = a.getDoc().documentElement, N = jn(Ua(b.innerWidth, b.innerHeight)), D = jn(Ua(x.offsetWidth, x.offsetHeight)), F = function() {
|
|
102234
102232
|
var fe = N.get();
|
|
102235
|
-
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)),
|
|
102233
|
+
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v6(a));
|
|
102236
102234
|
}, L = function() {
|
|
102237
102235
|
var fe = a.getDoc().documentElement, Te = D.get();
|
|
102238
|
-
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)),
|
|
102236
|
+
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v6(a));
|
|
102239
102237
|
}, G = function(fe) {
|
|
102240
102238
|
return hI(a, fe);
|
|
102241
102239
|
};
|
|
@@ -102310,7 +102308,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102310
102308
|
});
|
|
102311
102309
|
return b.or(x).getOr(a);
|
|
102312
102310
|
}, D$ = function(a) {
|
|
102313
|
-
var c = HE(a), v = WE(a), b =
|
|
102311
|
+
var c = HE(a), v = WE(a), b = X8(a);
|
|
102314
102312
|
return iP(c).map(function(x) {
|
|
102315
102313
|
return hN(x, v, b);
|
|
102316
102314
|
});
|
|
@@ -102335,7 +102333,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102335
102333
|
return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
|
|
102336
102334
|
}) : 0;
|
|
102337
102335
|
}, St = function(fn) {
|
|
102338
|
-
switch (
|
|
102336
|
+
switch (Q8(a)) {
|
|
102339
102337
|
case bm.auto:
|
|
102340
102338
|
var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
|
|
102341
102339
|
if (Nr)
|
|
@@ -102410,7 +102408,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102410
102408
|
x.set({
|
|
102411
102409
|
pos: G,
|
|
102412
102410
|
bounds: Z
|
|
102413
|
-
}), ze &&
|
|
102411
|
+
}), ze && v6(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
|
|
102414
102412
|
};
|
|
102415
102413
|
b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
|
|
102416
102414
|
return v.update(!0);
|
|
@@ -103885,7 +103883,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
103885
103883
|
})(dy || (dy = {}));
|
|
103886
103884
|
var CV = function(a, c, v, b, x) {
|
|
103887
103885
|
var N = {};
|
|
103888
|
-
return N.height = hN(b + c.top, WE(a),
|
|
103886
|
+
return N.height = hN(b + c.top, WE(a), X8(a)), v === dy.Both && (N.width = hN(x + c.left, ym(a), L4(a))), N;
|
|
103889
103887
|
}, DM = function(a, c, v) {
|
|
103890
103888
|
var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
|
|
103891
103889
|
Ur(x, function(N, D) {
|
|
@@ -104023,7 +104021,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104023
104021
|
components: x()
|
|
104024
104022
|
};
|
|
104025
104023
|
}, TV = function(a) {
|
|
104026
|
-
var c, v = a.inline, b = v ? $$ : I$, x = z4(a) ? zR : ao, N = U.none(), D = Vi(), F = D.browser.isIE(), L = F ? ["tox-platform-ie"] : [], G = D.deviceType.isTouch(), Z = "tox-platform-touch", ee = G ? [Z] : [], fe =
|
|
104024
|
+
var c, v = a.inline, b = v ? $$ : I$, x = z4(a) ? zR : ao, N = U.none(), D = Vi(), F = D.browser.isIE(), L = F ? ["tox-platform-ie"] : [], G = D.deviceType.isTouch(), Z = "tox-platform-touch", ee = G ? [Z] : [], fe = e6(a), Te = Sc(a), ze = Lu.isRtl() ? { attributes: { dir: "rtl" } } : {}, je = { attributes: (c = {}, c[ov] = fe ? dc.BottomToTop : dc.TopToBottom, c) }, dt = function() {
|
|
104027
104025
|
return N.bind(hi.getHeader);
|
|
104028
104026
|
}, qe = function() {
|
|
104029
104027
|
return x.isDocked(dt);
|
|
@@ -104127,7 +104125,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104127
104125
|
Rn,
|
|
104128
104126
|
Nr
|
|
104129
104127
|
]
|
|
104130
|
-
}, mf = k_(a), Pc = Ag(a), AP =
|
|
104128
|
+
}, mf = k_(a), Pc = Ag(a), AP = Z8(a), IP = function() {
|
|
104131
104129
|
return mf ? [Fr] : Pc ? [hr] : [];
|
|
104132
104130
|
}, xN = hi.parts.header({
|
|
104133
104131
|
dom: ve({
|
|
@@ -104156,7 +104154,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104156
104154
|
[jx],
|
|
104157
104155
|
v ? [] : ia.toArray(),
|
|
104158
104156
|
[Rr]
|
|
104159
|
-
]), Gx =
|
|
104157
|
+
]), Gx = t6(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
|
|
104160
104158
|
dom: {
|
|
104161
104159
|
tag: "div",
|
|
104162
104160
|
classes: [
|
|
@@ -104206,7 +104204,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104206
104204
|
});
|
|
104207
104205
|
var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
|
|
104208
104206
|
menuItems: iw,
|
|
104209
|
-
menus:
|
|
104207
|
+
menus: n6(a),
|
|
104210
104208
|
menubar: UA(a),
|
|
104211
104209
|
toolbar: RP.getOrThunk(function() {
|
|
104212
104210
|
return zA(a);
|
|
@@ -105262,7 +105260,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105262
105260
|
})])
|
|
105263
105261
|
};
|
|
105264
105262
|
return tl.parts.body(c);
|
|
105265
|
-
}, NU =
|
|
105263
|
+
}, NU = i6.deviceType.isTouch(), KM = function(a, c) {
|
|
105266
105264
|
return {
|
|
105267
105265
|
dom: {
|
|
105268
105266
|
tag: "div",
|
|
@@ -105576,7 +105574,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105576
105574
|
wn($g, function(v, b) {
|
|
105577
105575
|
return c.onUnblock();
|
|
105578
105576
|
}),
|
|
105579
|
-
wn(
|
|
105577
|
+
wn(E6, function(v, b) {
|
|
105580
105578
|
return c.onBlock(b.event);
|
|
105581
105579
|
})
|
|
105582
105580
|
];
|
|
@@ -105751,7 +105749,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105751
105749
|
if (!l(je))
|
|
105752
105750
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105753
105751
|
b(function(dt) {
|
|
105754
|
-
_r(dt,
|
|
105752
|
+
_r(dt, E6, { message: je });
|
|
105755
105753
|
});
|
|
105756
105754
|
}, Z = function() {
|
|
105757
105755
|
b(function(je) {
|
|
@@ -105925,7 +105923,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105925
105923
|
if (!l(D))
|
|
105926
105924
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105927
105925
|
c(function(F) {
|
|
105928
|
-
_r(F,
|
|
105926
|
+
_r(F, E6, { message: D });
|
|
105929
105927
|
});
|
|
105930
105928
|
}, b = function() {
|
|
105931
105929
|
c(function(D) {
|
|
@@ -112040,7 +112038,7 @@ Required: ` + w.join(", "));
|
|
|
112040
112038
|
}, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
|
|
112041
112039
|
return function(sf, yg) {
|
|
112042
112040
|
Xs(sf);
|
|
112043
|
-
var T4 = xc(),
|
|
112041
|
+
var T4 = xc(), b8 = Je.fromDom(g.getDoc()), id = S0(Yi, b8, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
|
|
112044
112042
|
return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
|
|
112045
112043
|
return Qe(um.newRows, function(cm) {
|
|
112046
112044
|
K0(g, cm.dom);
|
|
@@ -113964,38 +113962,38 @@ Required: ` + w.join(", "));
|
|
|
113964
113962
|
}, wc = 5, QC = 100, Cc = Lc.generate([
|
|
113965
113963
|
{ none: [] },
|
|
113966
113964
|
{ retry: ["caret"] }
|
|
113967
|
-
]),
|
|
113965
|
+
]), e8 = function(g, w) {
|
|
113968
113966
|
return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
|
|
113969
113967
|
}, h4 = function(g, w, T) {
|
|
113970
113968
|
return xh(w, p2).fold(Ne, function(I) {
|
|
113971
113969
|
return d4(g, I).exists(function($) {
|
|
113972
|
-
return
|
|
113970
|
+
return e8(T, $);
|
|
113973
113971
|
});
|
|
113974
113972
|
});
|
|
113975
|
-
},
|
|
113973
|
+
}, t8 = function(g, w, T, I, $) {
|
|
113976
113974
|
var W = nd($, wc);
|
|
113977
113975
|
return Math.abs(T.bottom - I.bottom) < 1 || T.top > $.bottom ? Cc.retry(W) : T.top === $.bottom ? Cc.retry(nd($, 1)) : h4(g, w, $) ? Cc.retry(i_(W, wc, 0)) : Cc.none();
|
|
113978
|
-
},
|
|
113976
|
+
}, n8 = function(g, w, T, I, $) {
|
|
113979
113977
|
var W = im($, wc);
|
|
113980
113978
|
return Math.abs(T.top - I.top) < 1 || T.bottom < $.top ? Cc.retry(W) : T.bottom === $.top ? Cc.retry(im($, 1)) : h4(g, w, $) ? Cc.retry(i_(W, wc, 0)) : Cc.none();
|
|
113981
113979
|
}, rd = {
|
|
113982
113980
|
point: u4,
|
|
113983
|
-
adjuster:
|
|
113981
|
+
adjuster: n8,
|
|
113984
113982
|
move: im,
|
|
113985
113983
|
gather: n_
|
|
113986
113984
|
}, vg = {
|
|
113987
113985
|
point: c4,
|
|
113988
|
-
adjuster:
|
|
113986
|
+
adjuster: t8,
|
|
113989
113987
|
move: nd,
|
|
113990
113988
|
gather: o4
|
|
113991
113989
|
}, p4 = function(g, w, T) {
|
|
113992
113990
|
return g.elementFromPoint(w, T).filter(function(I) {
|
|
113993
113991
|
return Io(I) === "table";
|
|
113994
113992
|
}).isSome();
|
|
113995
|
-
},
|
|
113993
|
+
}, r8 = function(g, w, T, I, $) {
|
|
113996
113994
|
return Av(g, w, T, w.move(I, wc), $);
|
|
113997
113995
|
}, Av = function(g, w, T, I, $) {
|
|
113998
|
-
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ?
|
|
113996
|
+
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ? r8(g, w, T, I, $ - 1) : g.situsFromPoint(I.left, w.point(I)).bind(function(W) {
|
|
113999
113997
|
return W.start.fold(te.none, function(Q) {
|
|
114000
113998
|
return d4(g, Q).bind(function(ye) {
|
|
114001
113999
|
return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
|
|
@@ -114006,15 +114004,15 @@ Required: ` + w.join(", "));
|
|
|
114006
114004
|
});
|
|
114007
114005
|
}, te.none);
|
|
114008
114006
|
});
|
|
114009
|
-
},
|
|
114007
|
+
}, o8 = function(g, w) {
|
|
114010
114008
|
return g.situsFromPoint(w.left, w.bottom + wc);
|
|
114011
|
-
},
|
|
114009
|
+
}, a8 = function(g, w) {
|
|
114012
114010
|
return g.situsFromPoint(w.left, w.top - wc);
|
|
114013
|
-
},
|
|
114011
|
+
}, i8 = function(g, w, T) {
|
|
114014
114012
|
return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
|
|
114015
114013
|
}, m4 = function(g, w, T) {
|
|
114016
114014
|
var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
|
|
114017
|
-
return
|
|
114015
|
+
return i8(g, $, w).fold(function() {
|
|
114018
114016
|
return w.situsFromPoint($.left, g.point($));
|
|
114019
114017
|
}, function(W) {
|
|
114020
114018
|
return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
|
|
@@ -114022,10 +114020,10 @@ Required: ` + w.join(", "));
|
|
|
114022
114020
|
}, Iv = {
|
|
114023
114021
|
tryUp: V(m4, rd),
|
|
114024
114022
|
tryDown: V(m4, vg),
|
|
114025
|
-
ieTryUp:
|
|
114026
|
-
ieTryDown:
|
|
114023
|
+
ieTryUp: a8,
|
|
114024
|
+
ieTryDown: o8,
|
|
114027
114025
|
getJumpSize: j(wc)
|
|
114028
|
-
},
|
|
114026
|
+
}, l8 = 20, g4 = function(g, w, T) {
|
|
114029
114027
|
return g.getSelection().bind(function(I) {
|
|
114030
114028
|
return a_(w, I.finish, I.foffset, T).fold(function() {
|
|
114031
114029
|
return te.some(Mp(I.finish, I.foffset));
|
|
@@ -114035,7 +114033,7 @@ Required: ` + w.join(", "));
|
|
|
114035
114033
|
});
|
|
114036
114034
|
});
|
|
114037
114035
|
}, lm = function(g, w, T, I, $, W) {
|
|
114038
|
-
return W === 0 ? te.none() :
|
|
114036
|
+
return W === 0 ? te.none() : s8(g, w, T, I, $).bind(function(Q) {
|
|
114039
114037
|
var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
|
|
114040
114038
|
return Nv.cata(_e, function() {
|
|
114041
114039
|
return te.none();
|
|
@@ -114054,15 +114052,15 @@ Required: ` + w.join(", "));
|
|
|
114054
114052
|
}, _4 = function(g, w, T) {
|
|
114055
114053
|
var I = Ze().browser;
|
|
114056
114054
|
return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
|
|
114057
|
-
},
|
|
114055
|
+
}, s8 = function(g, w, T, I, $) {
|
|
114058
114056
|
return f4(g, T, I).bind(function(W) {
|
|
114059
114057
|
return _4(g, $, W);
|
|
114060
114058
|
});
|
|
114061
|
-
},
|
|
114059
|
+
}, u8 = function(g, w, T) {
|
|
114062
114060
|
return g4(g, w, T).bind(function(I) {
|
|
114063
|
-
return lm(g, w, I.element, I.offset, T,
|
|
114061
|
+
return lm(g, w, I.element, I.offset, T, l8).map(g.fromSitus);
|
|
114064
114062
|
});
|
|
114065
|
-
},
|
|
114063
|
+
}, c8 = function(g, w) {
|
|
114066
114064
|
return qC(g, function(T) {
|
|
114067
114065
|
return de(T).exists(function(I) {
|
|
114068
114066
|
return Tn(I, w);
|
|
@@ -114071,7 +114069,7 @@ Required: ` + w.join(", "));
|
|
|
114071
114069
|
}, od = function(g, w, T, I, $) {
|
|
114072
114070
|
return Ho(I, "td,th", w).bind(function(W) {
|
|
114073
114071
|
return Ho(W, "table", w).bind(function(Q) {
|
|
114074
|
-
return
|
|
114072
|
+
return c8($, Q) ? u8(g, w, T).bind(function(ye) {
|
|
114075
114073
|
return Ho(ye.finish, "td,th", w).map(function(_e) {
|
|
114076
114074
|
return {
|
|
114077
114075
|
start: W,
|
|
@@ -114089,7 +114087,7 @@ Required: ` + w.join(", "));
|
|
|
114089
114087
|
return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
|
|
114090
114088
|
});
|
|
114091
114089
|
});
|
|
114092
|
-
},
|
|
114090
|
+
}, f8 = function(g, w) {
|
|
114093
114091
|
return Ho(g, "tr", w).bind(function(T) {
|
|
114094
114092
|
return Ho(T, "table", w).bind(function(I) {
|
|
114095
114093
|
var $ = li(I, "tr");
|
|
@@ -114180,7 +114178,7 @@ Required: ` + w.join(", "));
|
|
|
114180
114178
|
}, Mr = {
|
|
114181
114179
|
isBackward: Dv(37),
|
|
114182
114180
|
isForward: Dv(39)
|
|
114183
|
-
},
|
|
114181
|
+
}, d8 = {
|
|
114184
114182
|
isBackward: Dv(39),
|
|
114185
114183
|
isForward: Dv(37)
|
|
114186
114184
|
}, mg = function(g) {
|
|
@@ -114270,7 +114268,7 @@ Required: ` + w.join(", "));
|
|
|
114270
114268
|
return I.clear(w), te.none();
|
|
114271
114269
|
}, Q = function(_e, Ye, mt, Cn, pn, An) {
|
|
114272
114270
|
var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
|
|
114273
|
-
return Ov(tn) && In ? V(b4, $, w, T, u_, Cn, Ye, I.selectRange) : c_(tn) && In ? V(b4, $, w, T, x4, Cn, Ye, I.selectRange) : Ov(tn) ? V(y4, $, T, u_, Cn, Ye, l_) : c_(tn) ? V(y4, $, T, x4, Cn, Ye,
|
|
114271
|
+
return Ov(tn) && In ? V(b4, $, w, T, u_, Cn, Ye, I.selectRange) : c_(tn) && In ? V(b4, $, w, T, x4, Cn, Ye, I.selectRange) : Ov(tn) ? V(y4, $, T, u_, Cn, Ye, l_) : c_(tn) ? V(y4, $, T, x4, Cn, Ye, f8) : te.none;
|
|
114274
114272
|
}, function(uo) {
|
|
114275
114273
|
var zr = function(xo) {
|
|
114276
114274
|
return function() {
|
|
@@ -114306,7 +114304,7 @@ Required: ` + w.join(", "));
|
|
|
114306
114304
|
keydown: Q,
|
|
114307
114305
|
keyup: ye
|
|
114308
114306
|
};
|
|
114309
|
-
},
|
|
114307
|
+
}, h8 = function(g, w, T, I) {
|
|
114310
114308
|
var $ = d_(g);
|
|
114311
114309
|
return function(W, Q) {
|
|
114312
114310
|
I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
|
|
@@ -114314,7 +114312,7 @@ Required: ` + w.join(", "));
|
|
|
114314
114312
|
I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
|
|
114315
114313
|
});
|
|
114316
114314
|
};
|
|
114317
|
-
},
|
|
114315
|
+
}, v8 = function(g, w) {
|
|
114318
114316
|
Qe(w, function(T) {
|
|
114319
114317
|
ol(g, T);
|
|
114320
114318
|
});
|
|
@@ -114324,7 +114322,7 @@ Required: ` + w.join(", "));
|
|
|
114324
114322
|
};
|
|
114325
114323
|
}, h_ = function(g) {
|
|
114326
114324
|
return function(w) {
|
|
114327
|
-
|
|
114325
|
+
v8(w, g);
|
|
114328
114326
|
};
|
|
114329
114327
|
}, so = function(g) {
|
|
114330
114328
|
var w = Qr(g.selected), T = h_([
|
|
@@ -114366,7 +114364,7 @@ Required: ` + w.join(", "));
|
|
|
114366
114364
|
firstSelectedSelector: g.firstSelectedSelector,
|
|
114367
114365
|
lastSelectedSelector: g.lastSelectedSelector
|
|
114368
114366
|
};
|
|
114369
|
-
},
|
|
114367
|
+
}, p8 = {
|
|
114370
114368
|
byClass: so,
|
|
114371
114369
|
byAttr: S4
|
|
114372
114370
|
}, _g = function(g, w, T) {
|
|
@@ -114377,7 +114375,7 @@ Required: ` + w.join(", "));
|
|
|
114377
114375
|
return ye.element;
|
|
114378
114376
|
});
|
|
114379
114377
|
});
|
|
114380
|
-
},
|
|
114378
|
+
}, m8 = function(g, w, T) {
|
|
114381
114379
|
var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
|
|
114382
114380
|
return pt($, function(W) {
|
|
114383
114381
|
var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
|
|
@@ -114388,7 +114386,7 @@ Required: ` + w.join(", "));
|
|
|
114388
114386
|
}, k4 = function(g, w, T) {
|
|
114389
114387
|
var I = Bn.fromTable(g), $ = jf(I, w);
|
|
114390
114388
|
return $.map(function(W) {
|
|
114391
|
-
var Q = av(I, T, !1), ye = _g(Q, W, T), _e =
|
|
114389
|
+
var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m8(Q, W, T);
|
|
114392
114390
|
return {
|
|
114393
114391
|
upOrLeftCells: ye,
|
|
114394
114392
|
downOrRightCells: _e
|
|
@@ -114397,7 +114395,7 @@ Required: ` + w.join(", "));
|
|
|
114397
114395
|
}, v_ = function(g) {
|
|
114398
114396
|
return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
|
|
114399
114397
|
};
|
|
114400
|
-
function
|
|
114398
|
+
function g8(g, w, T) {
|
|
114401
114399
|
var I = function(Q, ye, _e) {
|
|
114402
114400
|
T.targets().each(function(Ye) {
|
|
114403
114401
|
var mt = Ma(ye);
|
|
@@ -114408,7 +114406,7 @@ Required: ` + w.join(", "));
|
|
|
114408
114406
|
});
|
|
114409
114407
|
}, $ = function() {
|
|
114410
114408
|
return Vw(g);
|
|
114411
|
-
}, W =
|
|
114409
|
+
}, W = p8.byAttr(La, I, $);
|
|
114412
114410
|
return g.on("init", function(Q) {
|
|
114413
114411
|
var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
|
|
114414
114412
|
var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
|
|
@@ -114418,7 +114416,7 @@ Required: ` + w.join(", "));
|
|
|
114418
114416
|
ss.fold(function() {
|
|
114419
114417
|
return W.clear(_e);
|
|
114420
114418
|
}, B);
|
|
114421
|
-
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An =
|
|
114419
|
+
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h8(ye, _e, Ye, W), Vt = function(Uo) {
|
|
114422
114420
|
return Uo.raw.shiftKey === !0;
|
|
114423
114421
|
};
|
|
114424
114422
|
g.on("TableSelectorChange", function(Uo) {
|
|
@@ -114442,7 +114440,7 @@ Required: ` + w.join(", "));
|
|
|
114442
114440
|
w().each(function(Yi) {
|
|
114443
114441
|
return Yi.hideBars();
|
|
114444
114442
|
});
|
|
114445
|
-
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr,
|
|
114443
|
+
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d8)(Je.fromDom(g.selection.getStart()));
|
|
114446
114444
|
pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
|
|
114447
114445
|
tn(ll, Yi);
|
|
114448
114446
|
}), w().each(function(Yi) {
|
|
@@ -114474,7 +114472,7 @@ Required: ` + w.join(", "));
|
|
|
114474
114472
|
g.on("dragstart", xo), g.on("mousedown", Yo), g.on("mouseover", Xo), g.on("mouseup", vh), g.on("touchend", js.touchEnd), g.on("keyup", In), g.on("keydown", Cr), g.on("NodeChange", mt);
|
|
114475
114473
|
}), { clear: W.clear };
|
|
114476
114474
|
}
|
|
114477
|
-
var
|
|
114475
|
+
var _8 = function(g, w) {
|
|
114478
114476
|
var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
|
|
114479
114477
|
return $.forall(function(xo) {
|
|
114480
114478
|
return !xo[zr];
|
|
@@ -114689,7 +114687,7 @@ Required: ` + w.join(", "));
|
|
|
114689
114687
|
onAction: I("mceInsertTable"),
|
|
114690
114688
|
icon: "table"
|
|
114691
114689
|
});
|
|
114692
|
-
},
|
|
114690
|
+
}, y8 = function(g) {
|
|
114693
114691
|
var w = function(I) {
|
|
114694
114692
|
return g.dom.is(I, "table") && g.getBody().contains(I);
|
|
114695
114693
|
}, T = C1(g);
|
|
@@ -114865,8 +114863,8 @@ Required: ` + w.join(", "));
|
|
|
114865
114863
|
return Pf(g);
|
|
114866
114864
|
}, function() {
|
|
114867
114865
|
return th(Aa(g));
|
|
114868
|
-
}, La.selectedSelector), T =
|
|
114869
|
-
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q),
|
|
114866
|
+
}, La.selectedSelector), T = _8(g, w), I = Jy(g), $ = g8(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
|
|
114867
|
+
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q), y8(g), g.on("PreInit", function() {
|
|
114870
114868
|
g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
|
|
114871
114869
|
}), Lw(g) && g.on("keydown", function(ye) {
|
|
114872
114870
|
Yb(ye, g, $);
|