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