agilebuilder-ui 1.0.87-temp5 → 1.0.87-temp7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +597 -596
- package/lib/super-ui.umd.cjs +12 -12
- package/package.json +1 -1
- package/packages/super-grid/src/normal-column-content.vue +6 -3
package/lib/super-ui.js
CHANGED
|
@@ -22500,7 +22500,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22500
22500
|
], 4))
|
|
22501
22501
|
]);
|
|
22502
22502
|
}
|
|
22503
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
22503
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_cdceb154_lang = "", _sfc_main$1h = {
|
|
22504
22504
|
components: {
|
|
22505
22505
|
DynamicInput,
|
|
22506
22506
|
RowOperation,
|
|
@@ -22707,15 +22707,16 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22707
22707
|
if (this.column.componentType === "select") {
|
|
22708
22708
|
if (d !== l.valueAttribute) {
|
|
22709
22709
|
const m = l.optionItems.find((_) => _[l.valueAttribute] === o);
|
|
22710
|
-
m && (o = m[
|
|
22710
|
+
m && (o = m[l.valueAttribute]);
|
|
22711
22711
|
}
|
|
22712
22712
|
t.row[this.column.prop] = o;
|
|
22713
|
-
} else if (o && d !== l.valueAttribute
|
|
22713
|
+
} else if (o && d !== l.valueAttribute) {
|
|
22714
|
+
typeof o == "string" && (o = o.split(","));
|
|
22714
22715
|
const m = [];
|
|
22715
22716
|
o.forEach((_) => {
|
|
22716
22717
|
if (d !== l.valueAttribute) {
|
|
22717
22718
|
const E = l.optionItems.find((S) => S[l.valueAttribute] === _);
|
|
22718
|
-
E && m.push(E[
|
|
22719
|
+
E && m.push(E[l.valueAttribute]);
|
|
22719
22720
|
}
|
|
22720
22721
|
}), m.length > 0 && (o = m, t.row[this.column.prop] = o.join(","));
|
|
22721
22722
|
}
|
|
@@ -23277,7 +23278,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23277
23278
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23278
23279
|
]);
|
|
23279
23280
|
}
|
|
23280
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23281
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-cdceb154"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
|
|
23281
23282
|
components: {
|
|
23282
23283
|
DynamicInput,
|
|
23283
23284
|
RowOperation,
|
|
@@ -71886,7 +71887,7 @@ Required: ` + u.join(", "));
|
|
|
71886
71887
|
ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
|
|
71887
71888
|
ua.DOM.unbind(document, "mouseup", f);
|
|
71888
71889
|
});
|
|
71889
|
-
},
|
|
71890
|
+
}, e8 = function(r) {
|
|
71890
71891
|
r.on("focusout", function() {
|
|
71891
71892
|
fg(r);
|
|
71892
71893
|
});
|
|
@@ -71894,23 +71895,23 @@ Required: ` + u.join(", "));
|
|
|
71894
71895
|
r.on("mouseup touchend", function(f) {
|
|
71895
71896
|
u.throttle();
|
|
71896
71897
|
});
|
|
71897
|
-
},
|
|
71898
|
+
}, t8 = function(r, u) {
|
|
71898
71899
|
var f = Wr().browser;
|
|
71899
|
-
f.isIE() ?
|
|
71900
|
+
f.isIE() ? e8(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
|
|
71900
71901
|
QC(p) || fg(r);
|
|
71901
71902
|
});
|
|
71902
|
-
},
|
|
71903
|
+
}, n8 = function(r) {
|
|
71903
71904
|
var u = g1(function() {
|
|
71904
71905
|
fg(r);
|
|
71905
71906
|
}, 0);
|
|
71906
71907
|
r.on("init", function() {
|
|
71907
|
-
r.inline && Cc(r, u),
|
|
71908
|
+
r.inline && Cc(r, u), t8(r, u);
|
|
71908
71909
|
}), r.on("remove", function() {
|
|
71909
71910
|
u.cancel();
|
|
71910
71911
|
});
|
|
71911
71912
|
}, rd, vg = ua.DOM, p4 = function(r) {
|
|
71912
71913
|
return wc.isEditorUIElement(r);
|
|
71913
|
-
},
|
|
71914
|
+
}, r8 = function(r) {
|
|
71914
71915
|
var u = r.classList;
|
|
71915
71916
|
return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
|
|
71916
71917
|
}, Av = function(r, u) {
|
|
@@ -71918,7 +71919,7 @@ Required: ` + u.join(", "));
|
|
|
71918
71919
|
return p4(y) || (f ? r.dom.is(y, f) : !1);
|
|
71919
71920
|
});
|
|
71920
71921
|
return p !== null;
|
|
71921
|
-
},
|
|
71922
|
+
}, o8 = function(r) {
|
|
71922
71923
|
try {
|
|
71923
71924
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71924
71925
|
return t_(u).fold(function() {
|
|
@@ -71929,15 +71930,15 @@ Required: ` + u.join(", "));
|
|
|
71929
71930
|
} catch {
|
|
71930
71931
|
return document.body;
|
|
71931
71932
|
}
|
|
71932
|
-
},
|
|
71933
|
+
}, a8 = function(r, u) {
|
|
71933
71934
|
var f = u.editor;
|
|
71934
|
-
|
|
71935
|
+
n8(f), f.on("focusin", function() {
|
|
71935
71936
|
var p = r.focusedEditor;
|
|
71936
71937
|
p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
|
|
71937
71938
|
}), f.on("focusout", function() {
|
|
71938
71939
|
_r.setEditorTimeout(f, function() {
|
|
71939
71940
|
var p = r.focusedEditor;
|
|
71940
|
-
!Av(f,
|
|
71941
|
+
!Av(f, o8(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71941
71942
|
});
|
|
71942
71943
|
}), rd || (rd = function(p) {
|
|
71943
71944
|
var y = r.activeEditor;
|
|
@@ -71945,18 +71946,18 @@ Required: ` + u.join(", "));
|
|
|
71945
71946
|
C.ownerDocument === document && C !== document.body && !Av(y, C) && r.focusedEditor === y && (y.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71946
71947
|
});
|
|
71947
71948
|
}, vg.bind(document, "focusin", rd));
|
|
71948
|
-
},
|
|
71949
|
+
}, i8 = function(r, u) {
|
|
71949
71950
|
r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
|
|
71950
71951
|
}, m4 = function(r) {
|
|
71951
|
-
r.on("AddEditor", Ue(
|
|
71952
|
+
r.on("AddEditor", Ue(a8, r)), r.on("RemoveEditor", Ue(i8, r));
|
|
71952
71953
|
}, Iv = function(r, u) {
|
|
71953
71954
|
return r.dom.getParent(u, function(f) {
|
|
71954
71955
|
return r.dom.getContentEditable(f) === "true";
|
|
71955
71956
|
});
|
|
71956
|
-
},
|
|
71957
|
+
}, l8 = function(r) {
|
|
71957
71958
|
return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
|
|
71958
71959
|
}, g4 = function(r, u) {
|
|
71959
|
-
return
|
|
71960
|
+
return l8(u).bind(function(f) {
|
|
71960
71961
|
return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
|
|
71961
71962
|
});
|
|
71962
71963
|
}, lm = function(r, u) {
|
|
@@ -71978,21 +71979,21 @@ Required: ` + u.join(", "));
|
|
|
71978
71979
|
r.focus();
|
|
71979
71980
|
}, _4 = function(r) {
|
|
71980
71981
|
return e_(r) || GC(r).isSome();
|
|
71981
|
-
},
|
|
71982
|
+
}, s8 = function(r) {
|
|
71982
71983
|
return r.iframeElement && e_(be.fromDom(r.iframeElement));
|
|
71983
|
-
},
|
|
71984
|
+
}, u8 = function(r) {
|
|
71984
71985
|
var u = r.getBody();
|
|
71985
71986
|
return u && _4(be.fromDom(u));
|
|
71986
|
-
},
|
|
71987
|
+
}, c8 = function(r) {
|
|
71987
71988
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71988
71989
|
return t_(u).filter(function(f) {
|
|
71989
|
-
return !
|
|
71990
|
+
return !r8(f.dom) && Av(r, f.dom);
|
|
71990
71991
|
}).isSome();
|
|
71991
71992
|
}, od = function(r) {
|
|
71992
|
-
return r.inline ?
|
|
71993
|
+
return r.inline ? u8(r) : s8(r);
|
|
71993
71994
|
}, y4 = function(r) {
|
|
71994
|
-
return od(r) ||
|
|
71995
|
-
},
|
|
71995
|
+
return od(r) || c8(r);
|
|
71996
|
+
}, f8 = function(r) {
|
|
71996
71997
|
var u = r.selection, f = r.getBody(), p = u.getRng();
|
|
71997
71998
|
r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
|
|
71998
71999
|
r.selection.setRng(C), p = C;
|
|
@@ -72006,7 +72007,7 @@ Required: ` + u.join(", "));
|
|
|
72006
72007
|
}, l_ = function(r) {
|
|
72007
72008
|
return r.editorManager.setActive(r);
|
|
72008
72009
|
}, b4 = function(r, u) {
|
|
72009
|
-
r.removed || (u ? l_(r) :
|
|
72010
|
+
r.removed || (u ? l_(r) : f8(r));
|
|
72010
72011
|
}, w4 = function(r, u, f, p, y) {
|
|
72011
72012
|
var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
|
|
72012
72013
|
return me.from(C).map(be.fromDom).map(function(P) {
|
|
@@ -72072,7 +72073,7 @@ Required: ` + u.join(", "));
|
|
|
72072
72073
|
if (C = A[y], C)
|
|
72073
72074
|
return C;
|
|
72074
72075
|
}
|
|
72075
|
-
},
|
|
72076
|
+
}, d8 = function(r) {
|
|
72076
72077
|
if (!Of(r.value))
|
|
72077
72078
|
return !1;
|
|
72078
72079
|
var u = r.parent;
|
|
@@ -72188,7 +72189,7 @@ Required: ` + u.join(", "));
|
|
|
72188
72189
|
if (u[C.name] || mg(C))
|
|
72189
72190
|
return !1;
|
|
72190
72191
|
}
|
|
72191
|
-
if (C.type === 8 || C.type === 3 && !
|
|
72192
|
+
if (C.type === 8 || C.type === 3 && !d8(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
|
|
72192
72193
|
return !1;
|
|
72193
72194
|
} while (C = Mr(C, y));
|
|
72194
72195
|
return !0;
|
|
@@ -72225,13 +72226,13 @@ Required: ` + u.join(", "));
|
|
|
72225
72226
|
}, E4 = [
|
|
72226
72227
|
"img",
|
|
72227
72228
|
"video"
|
|
72228
|
-
],
|
|
72229
|
+
], h8 = function(r) {
|
|
72229
72230
|
return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
|
|
72230
|
-
},
|
|
72231
|
+
}, v8 = function(r, u) {
|
|
72231
72232
|
var f = oe(r) ? Re(E4, u) : r;
|
|
72232
72233
|
return !f;
|
|
72233
72234
|
}, Qr = function(r, u, f) {
|
|
72234
|
-
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ?
|
|
72235
|
+
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);
|
|
72235
72236
|
}, h_ = function(r, u, f) {
|
|
72236
72237
|
var p = 1, y, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
|
|
72237
72238
|
for (P.lastIndex = y = f; C = P.exec(u); ) {
|
|
@@ -72263,7 +72264,7 @@ Required: ` + u.join(", "));
|
|
|
72263
72264
|
var P = A.exec(r);
|
|
72264
72265
|
return P ? P.index + P[0].length : p.length;
|
|
72265
72266
|
}
|
|
72266
|
-
},
|
|
72267
|
+
}, p8 = function(r, u) {
|
|
72267
72268
|
var f = r.exec(u);
|
|
72268
72269
|
if (f) {
|
|
72269
72270
|
var p = f[1], y = f[2];
|
|
@@ -72294,7 +72295,7 @@ Required: ` + u.join(", "));
|
|
|
72294
72295
|
return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
|
|
72295
72296
|
}, an = function(ba, fa, pl, pf, fu) {
|
|
72296
72297
|
var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
|
|
72297
|
-
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn &&
|
|
72298
|
+
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h8(fa) === !1) {
|
|
72298
72299
|
if (du = er[fa], !du && br) {
|
|
72299
72300
|
for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
|
|
72300
72301
|
;
|
|
@@ -72327,7 +72328,7 @@ Required: ` + u.join(", "));
|
|
|
72327
72328
|
continue;
|
|
72328
72329
|
}
|
|
72329
72330
|
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);
|
|
72330
|
-
var vf =
|
|
72331
|
+
var vf = p8(sr, Oe[9]);
|
|
72331
72332
|
if (vf !== null) {
|
|
72332
72333
|
if (vf === "all") {
|
|
72333
72334
|
$e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
|
|
@@ -72407,37 +72408,37 @@ Required: ` + u.join(", "));
|
|
|
72407
72408
|
return { parse: ie };
|
|
72408
72409
|
};
|
|
72409
72410
|
_g.findEndTag = h_;
|
|
72410
|
-
var
|
|
72411
|
+
var m8 = function(r, u) {
|
|
72411
72412
|
var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
|
|
72412
72413
|
return u.replace(f, "");
|
|
72413
72414
|
}, k4 = function(r, u) {
|
|
72414
72415
|
var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, y, C, A, P, M = r.schema;
|
|
72415
|
-
f =
|
|
72416
|
+
f = m8(r.getTempAttrs(), f);
|
|
72416
72417
|
for (var X = M.getShortEndedElements(); P = p.exec(f); )
|
|
72417
72418
|
C = p.lastIndex, A = P[0].length, X[P[1]] ? y = C : y = _g.findEndTag(M, f, C), f = f.substring(0, C - A) + f.substring(y), p.lastIndex = C - A;
|
|
72418
72419
|
return rc(f);
|
|
72419
|
-
}, v_ = k4,
|
|
72420
|
+
}, v_ = k4, g8 = function(r, u) {
|
|
72420
72421
|
var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>( | |\\s| |<br \\/>|)<\\/" + f + `>[\r
|
|
72421
72422
|
]*|<br \\/>[\r
|
|
72422
72423
|
]*)$`);
|
|
72423
72424
|
return u.replace(p, "");
|
|
72424
|
-
},
|
|
72425
|
+
}, _8 = function(r, u, f, p) {
|
|
72425
72426
|
var y;
|
|
72426
|
-
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? y = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? y = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? y = r.serializer.serialize(p, u) : y =
|
|
72427
|
+
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? y = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? y = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? y = r.serializer.serialize(p, u) : y = g8(r, r.serializer.serialize(p, u)), !Re([
|
|
72427
72428
|
"text",
|
|
72428
72429
|
"tree"
|
|
72429
72430
|
], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(y) : u.content = y, u.no_events || r.fire("GetContent", u), u.content;
|
|
72430
72431
|
}, Gr = function(r, u, f) {
|
|
72431
72432
|
return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
|
|
72432
|
-
return
|
|
72433
|
+
return _8(r, u, f, p);
|
|
72433
72434
|
});
|
|
72434
|
-
},
|
|
72435
|
+
}, y8 = Ve.each, p_ = function(r) {
|
|
72435
72436
|
var u = function(f, p) {
|
|
72436
72437
|
if (f.nodeName !== p.nodeName)
|
|
72437
72438
|
return !1;
|
|
72438
72439
|
var y = function(A) {
|
|
72439
72440
|
var P = {};
|
|
72440
|
-
return
|
|
72441
|
+
return y8(r.getAttribs(A), function(M) {
|
|
72441
72442
|
var X = M.nodeName.toLowerCase();
|
|
72442
72443
|
X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
|
|
72443
72444
|
}), P;
|
|
@@ -72714,7 +72715,7 @@ Required: ` + u.join(", "));
|
|
|
72714
72715
|
}, function(p) {
|
|
72715
72716
|
return Ki(r, p.dom, f).isNone();
|
|
72716
72717
|
});
|
|
72717
|
-
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1),
|
|
72718
|
+
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b8 = Ue(xc, !0), id = function(r) {
|
|
72718
72719
|
return Hp(r).exists(xu);
|
|
72719
72720
|
}, bg = function(r, u, f) {
|
|
72720
72721
|
var p = Pt(qo(be.fromDom(f.container()), u), Fs), y = Zt(p).getOr(u);
|
|
@@ -72737,7 +72738,7 @@ Required: ` + u.join(", "));
|
|
|
72737
72738
|
"pre",
|
|
72738
72739
|
"pre-wrap"
|
|
72739
72740
|
], r);
|
|
72740
|
-
},
|
|
72741
|
+
}, w8 = function(r) {
|
|
72741
72742
|
return Hp(r).bind(function(u) {
|
|
72742
72743
|
return jm(u, ui);
|
|
72743
72744
|
}).exists(function(u) {
|
|
@@ -72750,14 +72751,14 @@ Required: ` + u.join(", "));
|
|
|
72750
72751
|
}, NN = function(r, u) {
|
|
72751
72752
|
return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
|
|
72752
72753
|
}, Xa = function(r, u) {
|
|
72753
|
-
return
|
|
72754
|
+
return w8(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
|
|
72754
72755
|
}, __ = function(r, u) {
|
|
72755
|
-
return
|
|
72756
|
+
return w8(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
|
|
72756
72757
|
}, Jx = function(r) {
|
|
72757
72758
|
var u = r.container(), f = r.offset();
|
|
72758
72759
|
return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
|
|
72759
72760
|
}, y_ = function(r, u) {
|
|
72760
|
-
return
|
|
72761
|
+
return w8(u) ? !1 : yg(r, u) || b8(r, u) || wg(r, u) || Xx(r, u);
|
|
72761
72762
|
}, N4 = function(r, u) {
|
|
72762
72763
|
return __(r, u) || y_(r, Jx(u));
|
|
72763
72764
|
}, A4 = function(r, u) {
|
|
@@ -72889,11 +72890,11 @@ Required: ` + u.join(", "));
|
|
|
72889
72890
|
return Ro(C.dom, 0);
|
|
72890
72891
|
})), u;
|
|
72891
72892
|
});
|
|
72892
|
-
},
|
|
72893
|
+
}, C8 = function(r, u) {
|
|
72893
72894
|
return Vr(r.schema.getTextInlineElements(), si(u));
|
|
72894
72895
|
}, gm = function(r, u, f, p) {
|
|
72895
72896
|
p === void 0 && (p = !0);
|
|
72896
|
-
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y,
|
|
72897
|
+
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y, C8(r, f));
|
|
72897
72898
|
r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
|
|
72898
72899
|
p && tE(r, u, A);
|
|
72899
72900
|
}, function(P) {
|
|
@@ -72904,13 +72905,13 @@ Required: ` + u.join(", "));
|
|
|
72904
72905
|
start: r,
|
|
72905
72906
|
end: u
|
|
72906
72907
|
};
|
|
72907
|
-
},
|
|
72908
|
+
}, x8 = function(r, u, f) {
|
|
72908
72909
|
return {
|
|
72909
72910
|
rng: r,
|
|
72910
72911
|
table: u,
|
|
72911
72912
|
cells: f
|
|
72912
72913
|
};
|
|
72913
|
-
},
|
|
72914
|
+
}, E8 = Sf.generate([
|
|
72914
72915
|
{ removeTable: ["element"] },
|
|
72915
72916
|
{ emptyCells: ["cells"] },
|
|
72916
72917
|
{
|
|
@@ -72929,14 +72930,14 @@ Required: ` + u.join(", "));
|
|
|
72929
72930
|
return Uc(r, "table", u);
|
|
72930
72931
|
}, oE = function(r) {
|
|
72931
72932
|
return !yo(r.start, r.end);
|
|
72932
|
-
},
|
|
72933
|
+
}, S8 = function(r, u) {
|
|
72933
72934
|
return _m(r.start, u).bind(function(f) {
|
|
72934
72935
|
return _m(r.end, u).bind(function(p) {
|
|
72935
72936
|
return Mn(yo(f, p), f);
|
|
72936
72937
|
});
|
|
72937
72938
|
});
|
|
72938
72939
|
}, aE = function(r, u) {
|
|
72939
|
-
return !oE(r) &&
|
|
72940
|
+
return !oE(r) && S8(r, u).exists(function(f) {
|
|
72940
72941
|
var p = f.dom.rows;
|
|
72941
72942
|
return p.length === 1 && p[0].cells.length === 1;
|
|
72942
72943
|
});
|
|
@@ -72973,10 +72974,10 @@ Required: ` + u.join(", "));
|
|
|
72973
72974
|
return iE(r, y) ? me.none() : UN(y, r);
|
|
72974
72975
|
});
|
|
72975
72976
|
}, iE = function(r, u) {
|
|
72976
|
-
return
|
|
72977
|
+
return S8(u, r).isSome();
|
|
72977
72978
|
}, lE = function(r, u) {
|
|
72978
|
-
return
|
|
72979
|
-
return
|
|
72979
|
+
return S8(r, u).map(function(f) {
|
|
72980
|
+
return x8(r, f, C_(f));
|
|
72980
72981
|
});
|
|
72981
72982
|
}, sE = function(r, u, f) {
|
|
72982
72983
|
return r.filter(function(p) {
|
|
@@ -73003,12 +73004,12 @@ Required: ` + u.join(", "));
|
|
|
73003
73004
|
}, jN = function(r) {
|
|
73004
73005
|
return HN(r).map(function(u) {
|
|
73005
73006
|
var f = r.cells;
|
|
73006
|
-
return u.length === f.length ?
|
|
73007
|
+
return u.length === f.length ? E8.removeTable(r.table) : E8.emptyCells(u);
|
|
73007
73008
|
});
|
|
73008
73009
|
}, GN = function(r, u) {
|
|
73009
73010
|
var f = VN(r), p = LN(u, f);
|
|
73010
73011
|
return WN(p, u, f).map(function(y) {
|
|
73011
|
-
return
|
|
73012
|
+
return E8.deleteCellSelection(u, y);
|
|
73012
73013
|
}).orThunk(function() {
|
|
73013
73014
|
return sE(p, u, f).bind(jN);
|
|
73014
73015
|
});
|
|
@@ -73031,15 +73032,15 @@ Required: ` + u.join(", "));
|
|
|
73031
73032
|
return !0;
|
|
73032
73033
|
}, dE = function(r, u) {
|
|
73033
73034
|
return gm(r, !1, u), !0;
|
|
73034
|
-
},
|
|
73035
|
+
}, k8 = function(r, u, f) {
|
|
73035
73036
|
return GN(u, f).map(function(p) {
|
|
73036
73037
|
return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
|
|
73037
73038
|
});
|
|
73038
73039
|
}, qN = function(r, u) {
|
|
73039
73040
|
return O4(r, u);
|
|
73040
73041
|
}, hE = function(r, u, f, p) {
|
|
73041
|
-
return
|
|
73042
|
-
return
|
|
73042
|
+
return T8(u, p).fold(function() {
|
|
73043
|
+
return k8(r, u, f);
|
|
73043
73044
|
}, function(y) {
|
|
73044
73045
|
return qN(r, y);
|
|
73045
73046
|
}).getOr(!1);
|
|
@@ -73048,7 +73049,7 @@ Required: ` + u.join(", "));
|
|
|
73048
73049
|
return y.length !== 0 ? Eg(r, y) : hE(r, f, p, u);
|
|
73049
73050
|
}, pE = function(r, u) {
|
|
73050
73051
|
return _n(qo(u, r), bs);
|
|
73051
|
-
},
|
|
73052
|
+
}, T8 = function(r, u) {
|
|
73052
73053
|
return _n(qo(u, r), function(f) {
|
|
73053
73054
|
return si(f) === "caption";
|
|
73054
73055
|
});
|
|
@@ -73069,7 +73070,7 @@ Required: ` + u.join(", "));
|
|
|
73069
73070
|
}, XN = function(r, u) {
|
|
73070
73071
|
return O4(r, u);
|
|
73071
73072
|
}, JN = function(r, u, f) {
|
|
73072
|
-
return
|
|
73073
|
+
return T8(r, be.fromDom(f.getNode())).map(function(p) {
|
|
73073
73074
|
return yo(p, u) === !1;
|
|
73074
73075
|
});
|
|
73075
73076
|
}, ZN = function(r, u, f, p, y) {
|
|
@@ -73086,31 +73087,31 @@ Required: ` + u.join(", "));
|
|
|
73086
73087
|
return ws(p) ? O4(r, p) : ZN(r, f, u, p, y);
|
|
73087
73088
|
}, mE = function(r, u) {
|
|
73088
73089
|
return r ? zr(u) : xo(u);
|
|
73089
|
-
},
|
|
73090
|
+
}, N8 = function(r, u) {
|
|
73090
73091
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
73091
73092
|
return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
|
|
73092
73093
|
return mE(u, p);
|
|
73093
73094
|
});
|
|
73094
73095
|
}, uf = function(r, u, f) {
|
|
73095
73096
|
var p = be.fromDom(r.getBody());
|
|
73096
|
-
return
|
|
73097
|
-
return QN(r, u, p, f) ||
|
|
73097
|
+
return T8(p, f).fold(function() {
|
|
73098
|
+
return QN(r, u, p, f) || N8(r, u);
|
|
73098
73099
|
}, function(y) {
|
|
73099
73100
|
return eA(r, u, p, y).getOr(!1);
|
|
73100
73101
|
});
|
|
73101
73102
|
}, Sg = function(r, u) {
|
|
73102
73103
|
var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
|
|
73103
73104
|
return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
|
|
73104
|
-
},
|
|
73105
|
+
}, A8 = function(r, u, f, p) {
|
|
73105
73106
|
var y = document.createRange();
|
|
73106
73107
|
return y.setStart(r, u), y.setEnd(f, p), y;
|
|
73107
|
-
},
|
|
73108
|
+
}, I8 = function(r) {
|
|
73108
73109
|
var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
|
|
73109
73110
|
return Hs(!1, p, f).map(function(y) {
|
|
73110
|
-
return !Pu(u, f, p) && Pu(u, y, p) ?
|
|
73111
|
+
return !Pu(u, f, p) && Pu(u, y, p) ? A8(u.container(), u.offset(), y.container(), y.offset()) : r;
|
|
73111
73112
|
}).getOr(r);
|
|
73112
|
-
},
|
|
73113
|
-
return r.collapsed ? r :
|
|
73113
|
+
}, D8 = function(r) {
|
|
73114
|
+
return r.collapsed ? r : I8(r);
|
|
73114
73115
|
}, gE = function(r) {
|
|
73115
73116
|
return r.firstChild && r.firstChild === r.lastChild;
|
|
73116
73117
|
}, tA = function(r) {
|
|
@@ -73118,12 +73119,12 @@ Required: ` + u.join(", "));
|
|
|
73118
73119
|
}, nA = function(r, u) {
|
|
73119
73120
|
var f = r.getBlockElements();
|
|
73120
73121
|
return f[u.name] && gE(u) && tA(u.firstChild);
|
|
73121
|
-
},
|
|
73122
|
+
}, O8 = function(r, u) {
|
|
73122
73123
|
var f = r.getNonEmptyElements();
|
|
73123
73124
|
return u && (u.isEmpty(f) || nA(r, u));
|
|
73124
73125
|
}, rA = function(r, u) {
|
|
73125
73126
|
var f = u.firstChild, p = u.lastChild;
|
|
73126
|
-
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev),
|
|
73127
|
+
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";
|
|
73127
73128
|
}, _E = function(r) {
|
|
73128
73129
|
var u = r.firstChild, f = r.lastChild;
|
|
73129
73130
|
return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
|
|
@@ -73142,11 +73143,11 @@ Required: ` + u.join(", "));
|
|
|
73142
73143
|
return !r.firstChild || yE(r);
|
|
73143
73144
|
}, bE = function(r) {
|
|
73144
73145
|
return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
|
|
73145
|
-
},
|
|
73146
|
+
}, B8 = function(r, u) {
|
|
73146
73147
|
var f = r.getParent(u, r.isBlock);
|
|
73147
73148
|
return f && f.nodeName === "LI" ? f : null;
|
|
73148
73149
|
}, lA = function(r, u) {
|
|
73149
|
-
return !!
|
|
73150
|
+
return !!B8(r, u);
|
|
73150
73151
|
}, sA = function(r, u) {
|
|
73151
73152
|
var f = u.cloneRange(), p = u.cloneRange();
|
|
73152
73153
|
return f.setStartBefore(r), p.setEndAfter(r), [
|
|
@@ -73169,24 +73170,24 @@ Required: ` + u.join(", "));
|
|
|
73169
73170
|
return Ve.each(u, function(y) {
|
|
73170
73171
|
p.insertBefore(y, r);
|
|
73171
73172
|
}), uA(r, f);
|
|
73172
|
-
},
|
|
73173
|
+
}, P8 = function(r, u, f, p) {
|
|
73173
73174
|
return p.insertAfter(u.reverse(), r), wE(u[0], f);
|
|
73174
73175
|
}, kg = function(r, u, f, p) {
|
|
73175
|
-
var y = oA(u, r, p), C =
|
|
73176
|
+
var y = oA(u, r, p), C = B8(u, f.startContainer), A = bE(x_(y.firstChild)), P = 1, M = 2, X = u.getRoot(), ie = function(ae) {
|
|
73176
73177
|
var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
|
|
73177
|
-
return Oe ?
|
|
73178
|
+
return Oe ? B8(u, Oe.getNode()) !== C : !0;
|
|
73178
73179
|
};
|
|
73179
|
-
return ie(P) ? cA(C, A, X) : ie(M) ?
|
|
73180
|
+
return ie(P) ? cA(C, A, X) : ie(M) ? P8(C, A, X, u) : CE(C, A, X, f);
|
|
73180
73181
|
}, fA = function(r, u, f) {
|
|
73181
73182
|
var p = be.fromDom(r.getRoot());
|
|
73182
73183
|
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;
|
|
73183
|
-
},
|
|
73184
|
+
}, M8 = ti, B4 = function(r, u, f) {
|
|
73184
73185
|
if (f !== null) {
|
|
73185
|
-
var p = r.getParent(u.endContainer,
|
|
73186
|
+
var p = r.getParent(u.endContainer, M8);
|
|
73186
73187
|
return f === p && W2(be.fromDom(f), u);
|
|
73187
73188
|
} else
|
|
73188
73189
|
return !1;
|
|
73189
|
-
},
|
|
73190
|
+
}, R8 = function(r, u, f) {
|
|
73190
73191
|
if (f.getAttribute("data-mce-bogus") === "all")
|
|
73191
73192
|
f.parentNode.insertBefore(r.dom.createFragment(u), f);
|
|
73192
73193
|
else {
|
|
@@ -73216,7 +73217,7 @@ Required: ` + u.join(", "));
|
|
|
73216
73217
|
}, xE = function(r) {
|
|
73217
73218
|
for (var u = r; u = u.walk(); )
|
|
73218
73219
|
u.type === 1 && u.attr("data-mce-fragment", "1");
|
|
73219
|
-
}, $
|
|
73220
|
+
}, $8 = function(r) {
|
|
73220
73221
|
Ve.each(r.getElementsByTagName("*"), function(u) {
|
|
73221
73222
|
u.removeAttribute("data-mce-fragment");
|
|
73222
73223
|
});
|
|
@@ -73245,14 +73246,14 @@ Required: ` + u.join(", "));
|
|
|
73245
73246
|
if (ke = Oe.next(ke), ke)
|
|
73246
73247
|
return ke.toRange();
|
|
73247
73248
|
}, ae = p.getParent(u, p.isBlock);
|
|
73248
|
-
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !
|
|
73249
|
+
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" }))), y.setRng(M);
|
|
73249
73250
|
}
|
|
73250
73251
|
}, pA = function(r) {
|
|
73251
|
-
var u = r.dom, f =
|
|
73252
|
+
var u = r.dom, f = D8(r.selection.getRng());
|
|
73252
73253
|
r.selection.setRng(f);
|
|
73253
|
-
var p = u.getParent(f.startContainer,
|
|
73254
|
+
var p = u.getParent(f.startContainer, M8);
|
|
73254
73255
|
B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
|
|
73255
|
-
},
|
|
73256
|
+
}, F8 = function(r, u, f) {
|
|
73256
73257
|
var p, y, C, A, P, M, X = r.selection, ie = r.dom;
|
|
73257
73258
|
/^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
|
|
73258
73259
|
var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
@@ -73290,7 +73291,7 @@ Required: ` + u.join(", "));
|
|
|
73290
73291
|
}
|
|
73291
73292
|
}
|
|
73292
73293
|
if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
|
|
73293
|
-
u = ke.serialize(et),
|
|
73294
|
+
u = ke.serialize(et), R8(r, u, p);
|
|
73294
73295
|
else {
|
|
73295
73296
|
for (r.selection.setContent(Oe), p = X.getNode(), y = r.getBody(), p.nodeType === 9 ? p = M = y : M = p; M !== y; )
|
|
73296
73297
|
p = M, M = M.parentNode;
|
|
@@ -73298,12 +73299,12 @@ Required: ` + u.join(", "));
|
|
|
73298
73299
|
return ke.serialize(et);
|
|
73299
73300
|
}))), p === y ? ie.setHTML(y, u) : ie.setOuterHTML(p, u);
|
|
73300
73301
|
}
|
|
73301
|
-
hA(r, se), mh(r, ie.get("mce_marker")), $
|
|
73302
|
-
},
|
|
73303
|
-
u(r), r.firstChild &&
|
|
73302
|
+
hA(r, se), mh(r, ie.get("mce_marker")), $8(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
|
|
73303
|
+
}, V8 = function(r, u) {
|
|
73304
|
+
u(r), r.firstChild && V8(r.firstChild, u), r.next && V8(r.next, u);
|
|
73304
73305
|
}, mA = function(r, u, f) {
|
|
73305
73306
|
var p = {}, y = {}, C = [];
|
|
73306
|
-
f.firstChild &&
|
|
73307
|
+
f.firstChild && V8(f.firstChild, function(M) {
|
|
73307
73308
|
he(r, function(X) {
|
|
73308
73309
|
X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
|
|
73309
73310
|
filter: X,
|
|
@@ -73365,12 +73366,12 @@ Required: ` + u.join(", "));
|
|
|
73365
73366
|
break;
|
|
73366
73367
|
}
|
|
73367
73368
|
return me.none();
|
|
73368
|
-
},
|
|
73369
|
+
}, L8 = function(r, u, f) {
|
|
73369
73370
|
var p = u(r), y = EE(f);
|
|
73370
73371
|
return p.orThunk(function() {
|
|
73371
73372
|
return y(r) ? me.none() : EA(r, u, y);
|
|
73372
73373
|
});
|
|
73373
|
-
},
|
|
73374
|
+
}, U8 = jp, SE = function(r, u, f) {
|
|
73374
73375
|
var p = r.formatter.get(f);
|
|
73375
73376
|
if (p) {
|
|
73376
73377
|
for (var y = 0; y < p.length; y++)
|
|
@@ -73378,13 +73379,13 @@ Required: ` + u.join(", "));
|
|
|
73378
73379
|
return !0;
|
|
73379
73380
|
}
|
|
73380
73381
|
return !1;
|
|
73381
|
-
},
|
|
73382
|
+
}, z8 = function(r, u, f, p) {
|
|
73382
73383
|
var y = r.dom.getRoot();
|
|
73383
73384
|
return u === y ? !1 : (u = r.dom.getParent(u, function(C) {
|
|
73384
73385
|
return SE(r, C, f) ? !0 : C.parentNode === y || !!ld(r, C, f, p, !0);
|
|
73385
73386
|
}), ld(r, u, f, p));
|
|
73386
73387
|
}, kE = function(r, u, f) {
|
|
73387
|
-
if (
|
|
73388
|
+
if (U8(u, f.inline) || U8(u, f.block))
|
|
73388
73389
|
return !0;
|
|
73389
73390
|
if (f.selector)
|
|
73390
73391
|
return u.nodeType === 1 && r.is(u, f.selector);
|
|
@@ -73395,7 +73396,7 @@ Required: ` + u.join(", "));
|
|
|
73395
73396
|
if (M) {
|
|
73396
73397
|
if (typeof M.length > "u") {
|
|
73397
73398
|
for (A in M)
|
|
73398
|
-
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !
|
|
73399
|
+
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !U8(P, G1(r, rf(M[A], C), A))))
|
|
73399
73400
|
return;
|
|
73400
73401
|
} else
|
|
73401
73402
|
for (X = 0; X < M.length; X++)
|
|
@@ -73418,11 +73419,11 @@ Required: ` + u.join(", "));
|
|
|
73418
73419
|
}
|
|
73419
73420
|
}, E_ = function(r, u, f, p) {
|
|
73420
73421
|
if (p)
|
|
73421
|
-
return
|
|
73422
|
-
if (p = r.selection.getNode(),
|
|
73422
|
+
return z8(r, p, u, f);
|
|
73423
|
+
if (p = r.selection.getNode(), z8(r, p, u, f))
|
|
73423
73424
|
return !0;
|
|
73424
73425
|
var y = r.selection.getStart();
|
|
73425
|
-
return !!(y !== p &&
|
|
73426
|
+
return !!(y !== p && z8(r, y, u, f));
|
|
73426
73427
|
}, NE = function(r, u, f) {
|
|
73427
73428
|
var p = [], y = {}, C = r.selection.getStart();
|
|
73428
73429
|
return r.dom.getParent(C, function(A) {
|
|
@@ -73438,7 +73439,7 @@ Required: ` + u.join(", "));
|
|
|
73438
73439
|
return ld(r, y.dom, C) ? me.some(C) : me.none();
|
|
73439
73440
|
};
|
|
73440
73441
|
return me.from(r.selection.getStart(!0)).bind(function(y) {
|
|
73441
|
-
return
|
|
73442
|
+
return L8(be.fromDom(y), function(C) {
|
|
73442
73443
|
return Jr(u, function(A) {
|
|
73443
73444
|
return p(C, A);
|
|
73444
73445
|
});
|
|
@@ -73479,7 +73480,7 @@ Required: ` + u.join(", "));
|
|
|
73479
73480
|
return r;
|
|
73480
73481
|
}
|
|
73481
73482
|
return null;
|
|
73482
|
-
},
|
|
73483
|
+
}, H8 = function(r) {
|
|
73483
73484
|
var u = be.fromTag("span");
|
|
73484
73485
|
return K(u, {
|
|
73485
73486
|
id: Tg,
|
|
@@ -73489,7 +73490,7 @@ Required: ` + u.join(", "));
|
|
|
73489
73490
|
}, TA = function(r) {
|
|
73490
73491
|
var u = OE(r);
|
|
73491
73492
|
return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
|
|
73492
|
-
},
|
|
73493
|
+
}, W8 = function(r, u, f) {
|
|
73493
73494
|
f === void 0 && (f = !0);
|
|
73494
73495
|
var p = r.dom, y = r.selection;
|
|
73495
73496
|
if (DE(u))
|
|
@@ -73498,14 +73499,14 @@ Required: ` + u.join(", "));
|
|
|
73498
73499
|
var C = y.getRng(), A = p.getParent(u, p.isBlock), P = C.startContainer, M = C.startOffset, X = C.endContainer, ie = C.endOffset, ae = TA(u);
|
|
73499
73500
|
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)), y.setRng(C);
|
|
73500
73501
|
}
|
|
73501
|
-
},
|
|
73502
|
+
}, j8 = function(r, u, f) {
|
|
73502
73503
|
f === void 0 && (f = !0);
|
|
73503
73504
|
var p = r.dom, y = r.selection;
|
|
73504
73505
|
if (u)
|
|
73505
|
-
|
|
73506
|
+
W8(r, u, f);
|
|
73506
73507
|
else if (u = rh(r.getBody(), y.getStart()), !u)
|
|
73507
73508
|
for (; u = p.get(Tg); )
|
|
73508
|
-
|
|
73509
|
+
W8(r, u, !1);
|
|
73509
73510
|
}, BE = function(r, u, f) {
|
|
73510
73511
|
var p = r.dom, y = p.getParent(f, Ue(gv, r));
|
|
73511
73512
|
y && p.isEmpty(y) ? f.parentNode.replaceChild(u, f) : (sm(be.fromDom(f)), p.isEmpty(f) ? f.parentNode.replaceChild(u, f) : p.insertAfter(u, f));
|
|
@@ -73537,7 +73538,7 @@ Required: ` + u.join(", "));
|
|
|
73537
73538
|
var se = ru(r, A, r.formatter.get(u));
|
|
73538
73539
|
se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
|
|
73539
73540
|
} else
|
|
73540
|
-
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(),
|
|
73541
|
+
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(), H8(!0).dom), y = p.firstChild, A.insertNode(p), P = 1), r.formatter.apply(u, f, p), C.setCursorLocation(y, P);
|
|
73541
73542
|
}, ME = function(r, u, f, p) {
|
|
73542
73543
|
var y = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
|
|
73543
73544
|
for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
|
|
@@ -73554,27 +73555,27 @@ Required: ` + u.join(", "));
|
|
|
73554
73555
|
var Oe = ru(r, ie, r.formatter.get(u), !0);
|
|
73555
73556
|
Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
|
|
73556
73557
|
} else {
|
|
73557
|
-
var $e = rh(r.getBody(), M), Ee =
|
|
73558
|
+
var $e = rh(r.getBody(), M), Ee = H8(!1).dom;
|
|
73558
73559
|
BE(r, Ee, $e !== null ? $e : M);
|
|
73559
73560
|
var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
|
|
73560
|
-
|
|
73561
|
+
W8(r, $e, !1), C.setCursorLocation(et, 1), y.isEmpty(M) && y.remove(M);
|
|
73561
73562
|
}
|
|
73562
|
-
},
|
|
73563
|
+
}, G8 = function(r, u) {
|
|
73563
73564
|
var f = r.selection, p = r.getBody();
|
|
73564
|
-
|
|
73565
|
+
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()));
|
|
73565
73566
|
}, AA = function(r) {
|
|
73566
73567
|
r.on("mouseup keydown", function(u) {
|
|
73567
|
-
|
|
73568
|
+
G8(r, u.keyCode);
|
|
73568
73569
|
});
|
|
73569
73570
|
}, IA = function(r, u) {
|
|
73570
|
-
var f =
|
|
73571
|
+
var f = H8(!1), p = Ng(u, f.dom);
|
|
73571
73572
|
return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
|
|
73572
73573
|
}, DA = function(r, u) {
|
|
73573
73574
|
var f = r.schema.getTextInlineElements();
|
|
73574
73575
|
return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
|
|
73575
73576
|
}, OA = function(r) {
|
|
73576
73577
|
return gc(r.dom) && DE(r.dom);
|
|
73577
|
-
}, $4 = {}, RE = sa, F4 = Zo,
|
|
73578
|
+
}, $4 = {}, RE = sa, F4 = Zo, q8 = function(r, u) {
|
|
73578
73579
|
var f = $4[r];
|
|
73579
73580
|
f || ($4[r] = []), $4[r].push(u);
|
|
73580
73581
|
}, $E = function(r, u) {
|
|
@@ -73582,7 +73583,7 @@ Required: ` + u.join(", "));
|
|
|
73582
73583
|
f(u);
|
|
73583
73584
|
});
|
|
73584
73585
|
};
|
|
73585
|
-
|
|
73586
|
+
q8("pre", function(r) {
|
|
73586
73587
|
var u = r.selection.getRng(), f, p = function(A) {
|
|
73587
73588
|
return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
|
|
73588
73589
|
}, y = function(A, P) {
|
|
@@ -73592,7 +73593,7 @@ Required: ` + u.join(", "));
|
|
|
73592
73593
|
y(A.previousSibling, A);
|
|
73593
73594
|
}));
|
|
73594
73595
|
});
|
|
73595
|
-
var
|
|
73596
|
+
var K8 = Ve.each, Y8 = function(r) {
|
|
73596
73597
|
return ro(r) && !Ts(r) && !gc(r) && !wf(r);
|
|
73597
73598
|
}, FE = function(r, u) {
|
|
73598
73599
|
var f;
|
|
@@ -73621,15 +73622,15 @@ Required: ` + u.join(", "));
|
|
|
73621
73622
|
}, BA = function(r, u, f) {
|
|
73622
73623
|
if (u.clear_child_styles) {
|
|
73623
73624
|
var p = u.links ? "*:not(a)" : "*";
|
|
73624
|
-
|
|
73625
|
-
|
|
73625
|
+
K8(r.select(p, f), function(y) {
|
|
73626
|
+
Y8(y) && K8(u.styles, function(C, A) {
|
|
73626
73627
|
r.setStyle(y, A, "");
|
|
73627
73628
|
});
|
|
73628
73629
|
});
|
|
73629
73630
|
}
|
|
73630
73631
|
}, $r = function(r, u, f) {
|
|
73631
|
-
|
|
73632
|
-
|
|
73632
|
+
K8(r.childNodes, function(p) {
|
|
73633
|
+
Y8(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
|
|
73633
73634
|
});
|
|
73634
73635
|
}, PA = function(r, u) {
|
|
73635
73636
|
u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
|
|
@@ -73649,7 +73650,7 @@ Required: ` + u.join(", "));
|
|
|
73649
73650
|
return /^(TR|TH|TD)$/.test(r.nodeName);
|
|
73650
73651
|
}, L4 = function(r, u, f) {
|
|
73651
73652
|
return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
|
|
73652
|
-
},
|
|
73653
|
+
}, X8 = function(r, u, f) {
|
|
73653
73654
|
var p, y;
|
|
73654
73655
|
if (p = u[f ? "startContainer" : "endContainer"], y = u[f ? "startOffset" : "endOffset"], ro(p)) {
|
|
73655
73656
|
var C = p.childNodes.length - 1;
|
|
@@ -73663,7 +73664,7 @@ Required: ` + u.join(", "));
|
|
|
73663
73664
|
return r.nodeName === "TR" && p[f] || p;
|
|
73664
73665
|
}
|
|
73665
73666
|
return r;
|
|
73666
|
-
},
|
|
73667
|
+
}, J8 = function(r, u, f, p) {
|
|
73667
73668
|
var y = r.create(f, p);
|
|
73668
73669
|
return u.parentNode.insertBefore(y, u), y.appendChild(u), y;
|
|
73669
73670
|
}, GE = function(r, u, f, p, y) {
|
|
@@ -73674,18 +73675,18 @@ Required: ` + u.join(", "));
|
|
|
73674
73675
|
return !0;
|
|
73675
73676
|
if (f.selector)
|
|
73676
73677
|
return ro(u) && r.is(u, f.selector);
|
|
73677
|
-
},
|
|
73678
|
+
}, Z8 = function(r, u) {
|
|
73678
73679
|
return u.links && r.nodeName === "A";
|
|
73679
73680
|
}, Ag = function(r, u, f, p) {
|
|
73680
73681
|
return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
|
|
73681
73682
|
}, qE = function(r, u, f) {
|
|
73682
73683
|
var p = u.parentNode, y, C = r.dom, A = Oi(r);
|
|
73683
73684
|
f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
|
|
73684
|
-
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y =
|
|
73685
|
+
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y = J8(C, P, A), C.setAttribs(y, r.settings.forced_root_block_attrs)) : y = 0;
|
|
73685
73686
|
}) : 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);
|
|
73686
73687
|
}, k_ = function(r, u, f, p, y) {
|
|
73687
73688
|
var C, A = r.dom;
|
|
73688
|
-
if (!MA(A, p, u) && !
|
|
73689
|
+
if (!MA(A, p, u) && !Z8(p, u))
|
|
73689
73690
|
return S_.keep();
|
|
73690
73691
|
var P = p;
|
|
73691
73692
|
if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
|
|
@@ -73754,7 +73755,7 @@ Required: ` + u.join(", "));
|
|
|
73754
73755
|
C && (!A.mixed || !ae.isBlock(f)) && (p = ae.split(f, p)), X && (y.parentNode.insertBefore(X, y), ie.appendChild(y), A.inline && LE(ae, A, P, X));
|
|
73755
73756
|
}
|
|
73756
73757
|
return p;
|
|
73757
|
-
},
|
|
73758
|
+
}, Q8 = function(r, u, f, p, y) {
|
|
73758
73759
|
var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
|
|
73759
73760
|
var et = T_(r, ot, u, f, y);
|
|
73760
73761
|
return RA(r, C, et, ot, ot, !0, A, f);
|
|
@@ -73778,7 +73779,7 @@ Required: ` + u.join(", "));
|
|
|
73778
73779
|
}, Oe = function(ot) {
|
|
73779
73780
|
var et, ut, yt = ru(r, ot, C, ot.collapsed);
|
|
73780
73781
|
if (A.split) {
|
|
73781
|
-
if (yt = fh(yt), et =
|
|
73782
|
+
if (yt = fh(yt), et = X8(r, yt, !0), ut = X8(r, yt), et !== ut) {
|
|
73782
73783
|
if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
|
|
73783
73784
|
var Mt = me.from(et.firstChild).getOr(et);
|
|
73784
73785
|
ie(GE(M, Mt, !0, "span", {
|
|
@@ -73795,10 +73796,10 @@ Required: ` + u.join(", "));
|
|
|
73795
73796
|
})), ke(!1);
|
|
73796
73797
|
return;
|
|
73797
73798
|
}
|
|
73798
|
-
et =
|
|
73799
|
+
et = J8(M, et, "span", {
|
|
73799
73800
|
id: "_start",
|
|
73800
73801
|
"data-mce-type": "bookmark"
|
|
73801
|
-
}), ut =
|
|
73802
|
+
}), ut = J8(M, ut, "span", {
|
|
73802
73803
|
id: "_end",
|
|
73803
73804
|
"data-mce-type": "bookmark"
|
|
73804
73805
|
});
|
|
@@ -73848,7 +73849,7 @@ Required: ` + u.join(", "));
|
|
|
73848
73849
|
!X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
|
|
73849
73850
|
eg(r, Oe);
|
|
73850
73851
|
}), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, y);
|
|
73851
|
-
},
|
|
73852
|
+
}, e6 = Ve.each, $A = function(r, u, f, p) {
|
|
73852
73853
|
var y = function(C) {
|
|
73853
73854
|
if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
|
|
73854
73855
|
var A = Gp(r, C.parentNode);
|
|
@@ -73861,9 +73862,9 @@ Required: ` + u.join(", "));
|
|
|
73861
73862
|
}, VA = function(r, u, f, p) {
|
|
73862
73863
|
(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));
|
|
73863
73864
|
}, KE = function(r, u, f, p) {
|
|
73864
|
-
|
|
73865
|
-
|
|
73866
|
-
|
|
73865
|
+
e6(u, function(y) {
|
|
73866
|
+
e6(r.dom.select(y.inline, p), function(C) {
|
|
73867
|
+
Y8(C) && vl(r, y, f, C, y.exact ? C : null);
|
|
73867
73868
|
}), BA(r.dom, y, p);
|
|
73868
73869
|
});
|
|
73869
73870
|
}, U4 = function(r, u, f, p, y) {
|
|
@@ -73871,7 +73872,7 @@ Required: ` + u.join(", "));
|
|
|
73871
73872
|
if (ld(r, C, f, p))
|
|
73872
73873
|
return vl(r, u, p, y), !0;
|
|
73873
73874
|
});
|
|
73874
|
-
}, Sc = Ve.each,
|
|
73875
|
+
}, Sc = Ve.each, t6 = function(r, u) {
|
|
73875
73876
|
return da(r, u);
|
|
73876
73877
|
}, z4 = function(r) {
|
|
73877
73878
|
return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
|
|
@@ -73893,7 +73894,7 @@ Required: ` + u.join(", "));
|
|
|
73893
73894
|
return da(y, p) && ws(be.fromDom(f.parentNode), !1) && !C;
|
|
73894
73895
|
} else
|
|
73895
73896
|
return !1;
|
|
73896
|
-
},
|
|
73897
|
+
}, n6 = function(r, u, f, p) {
|
|
73897
73898
|
var y = r.formatter.get(u), C = y[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
|
|
73898
73899
|
if (ut = ut || C, et) {
|
|
73899
73900
|
if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
|
|
@@ -73934,12 +73935,12 @@ Required: ` + u.join(", "));
|
|
|
73934
73935
|
}
|
|
73935
73936
|
if (ih(C)) {
|
|
73936
73937
|
var pr = ie(y, er);
|
|
73937
|
-
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !
|
|
73938
|
+
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !t6(C, "inline") || pr) {
|
|
73938
73939
|
Dn = null;
|
|
73939
73940
|
return;
|
|
73940
73941
|
}
|
|
73941
73942
|
}
|
|
73942
|
-
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) && (!
|
|
73943
|
+
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);
|
|
73943
73944
|
};
|
|
73944
73945
|
Sc(xr, qr);
|
|
73945
73946
|
}), C.links === !0 && Sc(hn, function(xr) {
|
|
@@ -73992,7 +73993,7 @@ Required: ` + u.join(", "));
|
|
|
73992
73993
|
ae(P, p, null, !0);
|
|
73993
73994
|
else if (!A || !M2(C) || wv(r).length) {
|
|
73994
73995
|
var Ee = M.getNode(), ot = y[0];
|
|
73995
|
-
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) &&
|
|
73996
|
+
!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) {
|
|
73996
73997
|
eg(r, function(ut, yt) {
|
|
73997
73998
|
var Mt = yt ? ut : ru(r, ut, y);
|
|
73998
73999
|
ae(P, Mt);
|
|
@@ -74060,13 +74061,13 @@ Required: ` + u.join(", "));
|
|
|
74060
74061
|
};
|
|
74061
74062
|
}, qA = function(r, u, f, p) {
|
|
74062
74063
|
var y = r.formatter.get(u);
|
|
74063
|
-
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ?
|
|
74064
|
-
},
|
|
74064
|
+
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ? Q8(r, u, f, p) : n6(r, u, f, p);
|
|
74065
|
+
}, r6 = function(r, u) {
|
|
74065
74066
|
var f = u || document, p = f.createDocumentFragment();
|
|
74066
74067
|
return he(r, function(y) {
|
|
74067
74068
|
p.appendChild(y.dom);
|
|
74068
74069
|
}), be.fromDom(p);
|
|
74069
|
-
},
|
|
74070
|
+
}, o6 = function(r, u, f) {
|
|
74070
74071
|
return {
|
|
74071
74072
|
element: r,
|
|
74072
74073
|
width: u,
|
|
@@ -74118,7 +74119,7 @@ Required: ` + u.join(", "));
|
|
|
74118
74119
|
return C;
|
|
74119
74120
|
}, kc = function(r, u, f) {
|
|
74120
74121
|
var p = u.x, y = u.y, C = f.x, A = f.y, P = y < A ? ZE(r, p, y, C, A) : ZE(r, p, A, C, y);
|
|
74121
|
-
return
|
|
74122
|
+
return o6(r.element, XE(P), P);
|
|
74122
74123
|
}, W4 = function(r, u) {
|
|
74123
74124
|
var f = Hf(r.element), p = be.fromTag("tbody");
|
|
74124
74125
|
return yf(p, u), Ha(f, p), f;
|
|
@@ -74131,13 +74132,13 @@ Required: ` + u.join(", "));
|
|
|
74131
74132
|
return yf(p, f), p;
|
|
74132
74133
|
});
|
|
74133
74134
|
}, A_ = function(r) {
|
|
74134
|
-
var u =
|
|
74135
|
+
var u = o6(Hf(r), 0, []);
|
|
74135
74136
|
return he(ma(r, "tr"), function(f, p) {
|
|
74136
74137
|
he(ma(f, "td,th"), function(y, C) {
|
|
74137
74138
|
YE(u, YA(u, C, p), p, f, y);
|
|
74138
74139
|
});
|
|
74139
|
-
}),
|
|
74140
|
-
},
|
|
74140
|
+
}), o6(u.element, XE(u.rows), u.rows);
|
|
74141
|
+
}, a6 = function(r) {
|
|
74141
74142
|
return W4(r, N_(r));
|
|
74142
74143
|
}, XA = function(r, u, f) {
|
|
74143
74144
|
return JE(r, u).bind(function(p) {
|
|
@@ -74167,7 +74168,7 @@ Required: ` + u.join(", "));
|
|
|
74167
74168
|
var f = Un(u, function(p, y) {
|
|
74168
74169
|
return Ha(y, p), y;
|
|
74169
74170
|
}, r);
|
|
74170
|
-
return u.length > 0 ?
|
|
74171
|
+
return u.length > 0 ? r6([f]) : f;
|
|
74171
74172
|
}, Og = function(r) {
|
|
74172
74173
|
return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
|
|
74173
74174
|
return [
|
|
@@ -74175,22 +74176,22 @@ Required: ` + u.join(", "));
|
|
|
74175
74176
|
u
|
|
74176
74177
|
];
|
|
74177
74178
|
}) : ts(r) ? [r] : [];
|
|
74178
|
-
},
|
|
74179
|
+
}, i6 = function(r, u) {
|
|
74179
74180
|
var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), y = Pt(p, function(P) {
|
|
74180
74181
|
return Cu(P) || Hc(P);
|
|
74181
74182
|
}), C = Ig(p, u), A = y.concat(C.length ? C : Og(f));
|
|
74182
74183
|
return ne(A, Hf);
|
|
74183
74184
|
}, QE = function() {
|
|
74184
|
-
return
|
|
74185
|
+
return r6([]);
|
|
74185
74186
|
}, ZA = function(r, u) {
|
|
74186
|
-
return Dg(be.fromDom(u.cloneContents()),
|
|
74187
|
+
return Dg(be.fromDom(u.cloneContents()), i6(r, u));
|
|
74187
74188
|
}, eS = function(r, u) {
|
|
74188
74189
|
return Uc(u, "table", Ue(yo, r));
|
|
74189
74190
|
}, tS = function(r, u) {
|
|
74190
74191
|
return eS(r, u[0]).bind(function(f) {
|
|
74191
74192
|
var p = u[0], y = u[u.length - 1], C = A_(f);
|
|
74192
74193
|
return XA(C, p, y).map(function(A) {
|
|
74193
|
-
return
|
|
74194
|
+
return r6([a6(A)]);
|
|
74194
74195
|
});
|
|
74195
74196
|
}).getOrThunk(QE);
|
|
74196
74197
|
}, QA = function(r, u) {
|
|
@@ -74235,7 +74236,7 @@ Required: ` + u.join(", "));
|
|
|
74235
74236
|
f.getInner = !0;
|
|
74236
74237
|
var p = rI(r, f);
|
|
74237
74238
|
return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
|
|
74238
|
-
},
|
|
74239
|
+
}, l6 = 0, aS = 1, iS = 2, I_ = function(r, u) {
|
|
74239
74240
|
var f = r.length + u.length + 2, p = new Array(f), y = new Array(f), C = function(ie, ae, se) {
|
|
74240
74241
|
return {
|
|
74241
74242
|
start: ie,
|
|
@@ -74247,7 +74248,7 @@ Required: ` + u.join(", "));
|
|
|
74247
74248
|
if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
|
|
74248
74249
|
for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
|
|
74249
74250
|
Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
|
|
74250
|
-
|
|
74251
|
+
l6,
|
|
74251
74252
|
r[Ee]
|
|
74252
74253
|
]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
|
|
74253
74254
|
iS,
|
|
@@ -74260,7 +74261,7 @@ Required: ` + u.join(", "));
|
|
|
74260
74261
|
A(ie, $e.start, se, $e.start - $e.diag, Oe);
|
|
74261
74262
|
for (var et = $e.start; et < $e.end; ++et)
|
|
74262
74263
|
Oe.push([
|
|
74263
|
-
|
|
74264
|
+
l6,
|
|
74264
74265
|
r[et]
|
|
74265
74266
|
]);
|
|
74266
74267
|
A($e.end, ae, $e.end - $e.diag, ke, Oe);
|
|
@@ -74292,7 +74293,7 @@ Required: ` + u.join(", "));
|
|
|
74292
74293
|
}
|
|
74293
74294
|
}, X = [];
|
|
74294
74295
|
return A(0, r.length, 0, u.length, X), X;
|
|
74295
|
-
},
|
|
74296
|
+
}, s6 = function(r) {
|
|
74296
74297
|
return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
|
|
74297
74298
|
}, oI = function(r) {
|
|
74298
74299
|
var u, f = document.createElement("div"), p = document.createDocumentFragment();
|
|
@@ -74314,19 +74315,19 @@ Required: ` + u.join(", "));
|
|
|
74314
74315
|
}, sS = function(r, u) {
|
|
74315
74316
|
var f = 0;
|
|
74316
74317
|
he(r, function(p) {
|
|
74317
|
-
p[0] ===
|
|
74318
|
+
p[0] === l6 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
|
|
74318
74319
|
});
|
|
74319
74320
|
}, iI = function(r) {
|
|
74320
|
-
return Pt(ne(Er(r.childNodes),
|
|
74321
|
+
return Pt(ne(Er(r.childNodes), s6), function(u) {
|
|
74321
74322
|
return u.length > 0;
|
|
74322
74323
|
});
|
|
74323
74324
|
}, lI = function(r, u) {
|
|
74324
|
-
var f = ne(Er(u.childNodes),
|
|
74325
|
+
var f = ne(Er(u.childNodes), s6);
|
|
74325
74326
|
return sS(I_(f, r), u), u;
|
|
74326
|
-
},
|
|
74327
|
-
return
|
|
74327
|
+
}, u6 = Wa(me.none()), uS = function() {
|
|
74328
|
+
return u6.get().getOrThunk(function() {
|
|
74328
74329
|
var r = document.implementation.createHTMLDocument("undo");
|
|
74329
|
-
return
|
|
74330
|
+
return u6.set(me.some(r)), r;
|
|
74330
74331
|
});
|
|
74331
74332
|
}, cS = function(r) {
|
|
74332
74333
|
return r.indexOf("</iframe>") !== -1;
|
|
@@ -74346,13 +74347,13 @@ Required: ` + u.join(", "));
|
|
|
74346
74347
|
bookmark: null,
|
|
74347
74348
|
beforeBookmark: null
|
|
74348
74349
|
};
|
|
74349
|
-
},
|
|
74350
|
+
}, c6 = function(r) {
|
|
74350
74351
|
var u = iI(r.getBody()), f = He(u, function(y) {
|
|
74351
74352
|
var C = k4(r.serializer, y);
|
|
74352
74353
|
return C.length > 0 ? [C] : [];
|
|
74353
74354
|
}), p = f.join("");
|
|
74354
74355
|
return cS(p) ? fS(f) : sI(p);
|
|
74355
|
-
},
|
|
74356
|
+
}, f6 = function(r, u, f) {
|
|
74356
74357
|
u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
|
|
74357
74358
|
}, D_ = function(r) {
|
|
74358
74359
|
return r.type === "fragmented" ? r.fragments.join("") : r.content;
|
|
@@ -74365,19 +74366,19 @@ Required: ` + u.join(", "));
|
|
|
74365
74366
|
return G4(r) === G4(u);
|
|
74366
74367
|
}, Cm = function(r, u) {
|
|
74367
74368
|
return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
|
|
74368
|
-
},
|
|
74369
|
+
}, d6 = function(r) {
|
|
74369
74370
|
return r.get() === 0;
|
|
74370
74371
|
}, q4 = function(r, u, f) {
|
|
74371
|
-
|
|
74372
|
+
d6(f) && (r.typing = u);
|
|
74372
74373
|
}, Mv = function(r, u) {
|
|
74373
74374
|
r.typing && (q4(r, !1, u), r.add());
|
|
74374
|
-
},
|
|
74375
|
+
}, h6 = function(r) {
|
|
74375
74376
|
r.typing && (r.typing = !1, r.add());
|
|
74376
74377
|
}, vS = function(r, u, f) {
|
|
74377
|
-
|
|
74378
|
+
d6(u) && f.set(me.some(I1(r.selection)));
|
|
74378
74379
|
}, O_ = function(r, u, f, p, y, C, A) {
|
|
74379
|
-
var P =
|
|
74380
|
-
if (C = C || {}, C = Ve.extend(C, P),
|
|
74380
|
+
var P = c6(r);
|
|
74381
|
+
if (C = C || {}, C = Ve.extend(C, P), d6(p) === !1 || r.removed)
|
|
74381
74382
|
return null;
|
|
74382
74383
|
var M = u.data[f.get()];
|
|
74383
74384
|
if (r.fire("BeforeAddUndo", {
|
|
@@ -74407,21 +74408,21 @@ Required: ` + u.join(", "));
|
|
|
74407
74408
|
}, uI = function(r, u, f, p, y) {
|
|
74408
74409
|
if (u.transact(p)) {
|
|
74409
74410
|
var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
|
|
74410
|
-
|
|
74411
|
+
f6(r, A, !0), u.transact(y) && (u.data[f.get() - 1].beforeBookmark = C);
|
|
74411
74412
|
}
|
|
74412
74413
|
}, mS = function(r, u, f) {
|
|
74413
74414
|
var p;
|
|
74414
|
-
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()],
|
|
74415
|
+
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;
|
|
74415
74416
|
}, gS = function(r, u, f, p) {
|
|
74416
74417
|
var y;
|
|
74417
|
-
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), y = u.data[p.get()],
|
|
74418
|
+
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), y = u.data[p.get()], f6(r, y, !0), r.setDirty(!0), r.fire("Undo", { level: y })), y;
|
|
74418
74419
|
}, cI = function(r) {
|
|
74419
74420
|
r.clear(), r.add();
|
|
74420
74421
|
}, fI = function(r, u, f) {
|
|
74421
|
-
return f.get() > 0 || u.typing && u.data[0] && !Cm(
|
|
74422
|
+
return f.get() > 0 || u.typing && u.data[0] && !Cm(c6(r), u.data[0]);
|
|
74422
74423
|
}, dI = function(r, u) {
|
|
74423
74424
|
return u.get() < r.data.length - 1 && !r.typing;
|
|
74424
|
-
},
|
|
74425
|
+
}, v6 = function(r, u, f) {
|
|
74425
74426
|
return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
|
|
74426
74427
|
}, hI = function(r, u) {
|
|
74427
74428
|
try {
|
|
@@ -74476,7 +74477,7 @@ Required: ` + u.join(", "));
|
|
|
74476
74477
|
return dI(u, f);
|
|
74477
74478
|
},
|
|
74478
74479
|
transact: function(u, f, p) {
|
|
74479
|
-
return
|
|
74480
|
+
return v6(u, f, p);
|
|
74480
74481
|
},
|
|
74481
74482
|
ignore: function(u, f) {
|
|
74482
74483
|
return hI(u, f);
|
|
@@ -74502,10 +74503,10 @@ Required: ` + u.join(", "));
|
|
|
74502
74503
|
return SA(r, u);
|
|
74503
74504
|
},
|
|
74504
74505
|
apply: function(u, f, p) {
|
|
74505
|
-
return
|
|
74506
|
+
return n6(r, u, f, p);
|
|
74506
74507
|
},
|
|
74507
74508
|
remove: function(u, f, p, y) {
|
|
74508
|
-
return
|
|
74509
|
+
return Q8(r, u, f, p, y);
|
|
74509
74510
|
},
|
|
74510
74511
|
toggle: function(u, f, p) {
|
|
74511
74512
|
return qA(r, u, f, p);
|
|
@@ -74522,7 +74523,7 @@ Required: ` + u.join(", "));
|
|
|
74522
74523
|
return CA(r, u, f);
|
|
74523
74524
|
},
|
|
74524
74525
|
insertContent: function(u, f) {
|
|
74525
|
-
return
|
|
74526
|
+
return F8(r, u, f);
|
|
74526
74527
|
},
|
|
74527
74528
|
addVisual: function(u) {
|
|
74528
74529
|
return vI(r, u);
|
|
@@ -74676,7 +74677,7 @@ Required: ` + u.join(", "));
|
|
|
74676
74677
|
return u.rtcInstance = pI(), Li.reject(p);
|
|
74677
74678
|
}));
|
|
74678
74679
|
});
|
|
74679
|
-
},
|
|
74680
|
+
}, p6 = function(r) {
|
|
74680
74681
|
return r.rtcInstance ? r.rtcInstance : B_(r);
|
|
74681
74682
|
}, Xi = function(r) {
|
|
74682
74683
|
var u = r.rtcInstance;
|
|
@@ -74687,7 +74688,7 @@ Required: ` + u.join(", "));
|
|
|
74687
74688
|
Xi(r).undoManager.beforeChange(u, f);
|
|
74688
74689
|
}, gI = function(r, u, f, p, y, C, A) {
|
|
74689
74690
|
return Xi(r).undoManager.addUndoLevel(u, f, p, y, C, A);
|
|
74690
|
-
},
|
|
74691
|
+
}, m6 = function(r, u, f, p) {
|
|
74691
74692
|
return Xi(r).undoManager.undo(u, f, p);
|
|
74692
74693
|
}, _I = function(r, u, f) {
|
|
74693
74694
|
return Xi(r).undoManager.redo(u, f);
|
|
@@ -74707,7 +74708,7 @@ Required: ` + u.join(", "));
|
|
|
74707
74708
|
Xi(r).undoManager.extra(u, f, p, y);
|
|
74708
74709
|
}, EI = function(r, u, f, p) {
|
|
74709
74710
|
return Xi(r).formatter.match(u, f, p);
|
|
74710
|
-
},
|
|
74711
|
+
}, g6 = function(r, u, f) {
|
|
74711
74712
|
return Xi(r).formatter.matchAll(u, f);
|
|
74712
74713
|
}, xS = function(r, u, f, p, y) {
|
|
74713
74714
|
return Xi(r).formatter.matchNode(u, f, p, y);
|
|
@@ -74723,12 +74724,12 @@ Required: ` + u.join(", "));
|
|
|
74723
74724
|
Xi(r).formatter.toggle(u, f, p);
|
|
74724
74725
|
}, SI = function(r, u, f, p, y) {
|
|
74725
74726
|
return y === void 0 && (y = !1), Xi(r).formatter.formatChanged(u, f, p, y);
|
|
74726
|
-
},
|
|
74727
|
-
return
|
|
74727
|
+
}, _6 = function(r, u, f) {
|
|
74728
|
+
return p6(r).editor.getContent(u, f);
|
|
74728
74729
|
}, kI = function(r, u, f) {
|
|
74729
|
-
return
|
|
74730
|
+
return p6(r).editor.setContent(u, f);
|
|
74730
74731
|
}, K4 = function(r, u, f) {
|
|
74731
|
-
return
|
|
74732
|
+
return p6(r).editor.insertContent(u, f);
|
|
74732
74733
|
}, TI = function(r, u, f) {
|
|
74733
74734
|
return Xi(r).selection.getContent(u, f);
|
|
74734
74735
|
}, NI = function(r, u) {
|
|
@@ -74737,7 +74738,7 @@ Required: ` + u.join(", "));
|
|
|
74737
74738
|
u === void 0 && (u = {});
|
|
74738
74739
|
var f = u.format ? u.format : "html";
|
|
74739
74740
|
return TI(r, f, u);
|
|
74740
|
-
},
|
|
74741
|
+
}, y6 = function(r) {
|
|
74741
74742
|
return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
|
|
74742
74743
|
}, AI = function(r, u) {
|
|
74743
74744
|
return r.filter(function(f) {
|
|
@@ -74766,7 +74767,7 @@ Required: ` + u.join(", "));
|
|
|
74766
74767
|
}, OI = function(r, u) {
|
|
74767
74768
|
var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
|
|
74768
74769
|
r.deleteContents(), r.insertNode(u);
|
|
74769
|
-
var y = f.bind(qs).filter(wi).bind(
|
|
74770
|
+
var y = f.bind(qs).filter(wi).bind(y6), C = p.bind(Ms).filter(wi).bind(y6);
|
|
74770
74771
|
IS(y, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
|
|
74771
74772
|
}, BI = function(r, u) {
|
|
74772
74773
|
return gr(gr({ format: "html" }, r), {
|
|
@@ -75057,7 +75058,7 @@ Required: ` + u.join(", "));
|
|
|
75057
75058
|
return u(new Blob([]));
|
|
75058
75059
|
}, u);
|
|
75059
75060
|
});
|
|
75060
|
-
},
|
|
75061
|
+
}, b6 = function(r) {
|
|
75061
75062
|
return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
|
|
75062
75063
|
}, $S = function(r) {
|
|
75063
75064
|
return new Li(function(u) {
|
|
@@ -75066,7 +75067,7 @@ Required: ` + u.join(", "));
|
|
|
75066
75067
|
u(f.result);
|
|
75067
75068
|
}, f.readAsDataURL(r);
|
|
75068
75069
|
});
|
|
75069
|
-
}, WI = 0,
|
|
75070
|
+
}, WI = 0, w6 = function(r) {
|
|
75070
75071
|
return (r || "blobid") + WI++;
|
|
75071
75072
|
}, jI = function(r, u, f, p) {
|
|
75072
75073
|
var y, C;
|
|
@@ -75074,9 +75075,9 @@ Required: ` + u.join(", "));
|
|
|
75074
75075
|
C = r.getByUri(u.src), C ? f({
|
|
75075
75076
|
image: u,
|
|
75076
75077
|
blobInfo: C
|
|
75077
|
-
}) :
|
|
75078
|
+
}) : b6(u.src).then(function(X) {
|
|
75078
75079
|
$S(X).then(function(ie) {
|
|
75079
|
-
y = xm(ie).data, C = r.create(
|
|
75080
|
+
y = xm(ie).data, C = r.create(w6(), X, y), r.add(C), f({
|
|
75080
75081
|
image: u,
|
|
75081
75082
|
blobInfo: C
|
|
75082
75083
|
});
|
|
@@ -75090,8 +75091,8 @@ Required: ` + u.join(", "));
|
|
|
75090
75091
|
y = P, C = r.getByData(y, M), C ? f({
|
|
75091
75092
|
image: u,
|
|
75092
75093
|
blobInfo: C
|
|
75093
|
-
}) :
|
|
75094
|
-
C = r.create(
|
|
75094
|
+
}) : b6(u.src).then(function(X) {
|
|
75095
|
+
C = r.create(w6(), X, y), r.add(C), f({
|
|
75095
75096
|
image: u,
|
|
75096
75097
|
blobInfo: C
|
|
75097
75098
|
});
|
|
@@ -75167,7 +75168,7 @@ Required: ` + u.join(", "));
|
|
|
75167
75168
|
var P = A.type, M = A.data;
|
|
75168
75169
|
return me.from(f.getByData(M, P)).orThunk(function() {
|
|
75169
75170
|
return RS(P, M).map(function(X) {
|
|
75170
|
-
var ie = f.create(
|
|
75171
|
+
var ie = f.create(w6(), X, M);
|
|
75171
75172
|
return f.add(ie), ie;
|
|
75172
75173
|
});
|
|
75173
75174
|
});
|
|
@@ -75568,7 +75569,7 @@ Required: ` + u.join(", "));
|
|
|
75568
75569
|
}, a9 = "html", Tl = function(r, u) {
|
|
75569
75570
|
u === void 0 && (u = {});
|
|
75570
75571
|
var f = u.format ? u.format : a9;
|
|
75571
|
-
return
|
|
75572
|
+
return _6(r, u, f);
|
|
75572
75573
|
}, X4 = function(r, u, f) {
|
|
75573
75574
|
return f === void 0 && (f = {}), kI(r, u, f);
|
|
75574
75575
|
}, J4 = ua.DOM, i9 = function(r) {
|
|
@@ -75617,7 +75618,7 @@ Required: ` + u.join(", "));
|
|
|
75617
75618
|
sections: Fe(r),
|
|
75618
75619
|
settings: Fe(u)
|
|
75619
75620
|
};
|
|
75620
|
-
},
|
|
75621
|
+
}, C6 = Wr().deviceType, h9 = C6.isTouch(), x6 = C6.isPhone(), Rv = C6.isTablet(), iu = [
|
|
75621
75622
|
"lists",
|
|
75622
75623
|
"autolink",
|
|
75623
75624
|
"autosave"
|
|
@@ -75637,7 +75638,7 @@ Required: ` + u.join(", "));
|
|
|
75637
75638
|
return Re(r, y);
|
|
75638
75639
|
});
|
|
75639
75640
|
return d9(f.t, f.f);
|
|
75640
|
-
},
|
|
75641
|
+
}, E6 = function(r, u, f) {
|
|
75641
75642
|
f === void 0 && (f = {});
|
|
75642
75643
|
var p = r.sections(), y = p.hasOwnProperty(u) ? p[u] : {};
|
|
75643
75644
|
return Ve.extend({}, f, y);
|
|
@@ -75705,14 +75706,14 @@ Required: ` + u.join(", "));
|
|
|
75705
75706
|
}, nk = function(r, u) {
|
|
75706
75707
|
return r && $g(u, "mobile");
|
|
75707
75708
|
}, rk = function(r, u, f, p, y) {
|
|
75708
|
-
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ?
|
|
75709
|
+
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ? E6(A, "mobile") : {}, {
|
|
75709
75710
|
validate: !0,
|
|
75710
75711
|
external_plugins: v9(p, A.settings())
|
|
75711
75712
|
});
|
|
75712
75713
|
return $_(r, A, p, P);
|
|
75713
75714
|
}, ok = function(r, u, f, p, y) {
|
|
75714
75715
|
var C = QS(y, u, f, h9, r);
|
|
75715
|
-
return rk(
|
|
75716
|
+
return rk(x6 || Rv, x6, C, p, y);
|
|
75716
75717
|
}, gh = function(r, u, f) {
|
|
75717
75718
|
return me.from(u.settings[f]).filter(r);
|
|
75718
75719
|
}, m9 = function(r) {
|
|
@@ -75748,7 +75749,7 @@ Required: ` + u.join(", "));
|
|
|
75748
75749
|
return parseInt(Zr(u, r), 10);
|
|
75749
75750
|
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75750
75751
|
return r.dom.getBoundingClientRect();
|
|
75751
|
-
},
|
|
75752
|
+
}, S6 = function(r, u, f) {
|
|
75752
75753
|
var p = y9(r), y = ik(r);
|
|
75753
75754
|
return u >= 0 && f >= 0 && u <= p && f <= y;
|
|
75754
75755
|
}, b9 = function(r, u, f, p) {
|
|
@@ -75759,7 +75760,7 @@ Required: ` + u.join(", "));
|
|
|
75759
75760
|
};
|
|
75760
75761
|
}, ck = function(r, u, f) {
|
|
75761
75762
|
var p = be.fromDom(r.getBody()), y = r.inline ? p : Ii(p), C = b9(r.inline, y, u, f);
|
|
75762
|
-
return
|
|
75763
|
+
return S6(y, C.x, C.y);
|
|
75763
75764
|
}, w9 = function(r) {
|
|
75764
75765
|
return me.from(r).map(be.fromDom);
|
|
75765
75766
|
}, C9 = function(r) {
|
|
@@ -75930,7 +75931,7 @@ Required: ` + u.join(", "));
|
|
|
75930
75931
|
e3(r, "IconsLoadError", Uu("icons", u, f));
|
|
75931
75932
|
}, k9 = function(r, u, f) {
|
|
75932
75933
|
e3(r, "LanguageLoadError", Uu("language", u, f));
|
|
75933
|
-
},
|
|
75934
|
+
}, k6 = function(r, u, f) {
|
|
75934
75935
|
var p = Us.translate([
|
|
75935
75936
|
"Failed to initialize plugin: {0}",
|
|
75936
75937
|
u
|
|
@@ -75944,17 +75945,17 @@ Required: ` + u.join(", "));
|
|
|
75944
75945
|
}, Vg = function(r) {
|
|
75945
75946
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75946
75947
|
}, T9 = function(r) {
|
|
75947
|
-
return
|
|
75948
|
+
return T6(r, cb(r));
|
|
75948
75949
|
}, vk = function(r) {
|
|
75949
|
-
return
|
|
75950
|
-
},
|
|
75950
|
+
return T6(r, f2(r));
|
|
75951
|
+
}, T6 = function(r, u) {
|
|
75951
75952
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, y = "content" + p + ".css", C = r.inline === !0;
|
|
75952
75953
|
return ne(u, function(A) {
|
|
75953
75954
|
return Vg(A) && !C ? f + "/" + A + "/" + y : r.documentBaseURI.toAbsolute(A);
|
|
75954
75955
|
});
|
|
75955
|
-
},
|
|
75956
|
+
}, N6 = function(r) {
|
|
75956
75957
|
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75957
|
-
},
|
|
75958
|
+
}, A6 = function() {
|
|
75958
75959
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75959
75960
|
return {
|
|
75960
75961
|
status: se,
|
|
@@ -75988,13 +75989,13 @@ Required: ` + u.join(", "));
|
|
|
75988
75989
|
removeFailed: ie,
|
|
75989
75990
|
destroy: ae
|
|
75990
75991
|
};
|
|
75991
|
-
},
|
|
75992
|
+
}, I6 = 0, N9 = function() {
|
|
75992
75993
|
var r = function() {
|
|
75993
75994
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
75994
75995
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
75995
75996
|
return "s" + u.toString(36) + r() + r() + r();
|
|
75996
75997
|
}, pk = function(r) {
|
|
75997
|
-
return r +
|
|
75998
|
+
return r + I6++ + N9();
|
|
75998
75999
|
}, A9 = function() {
|
|
75999
76000
|
var r = [], u = function(ae) {
|
|
76000
76001
|
var se = {
|
|
@@ -76177,7 +76178,7 @@ Required: ` + u.join(", "));
|
|
|
76177
76178
|
handler: Qw(r)
|
|
76178
76179
|
});
|
|
76179
76180
|
}, I9 = function(r) {
|
|
76180
|
-
var u =
|
|
76181
|
+
var u = A6(), f = gk(r, u);
|
|
76181
76182
|
return {
|
|
76182
76183
|
upload: function(p, y) {
|
|
76183
76184
|
return y === void 0 && (y = !0), f.upload(p, y ? mk(r) : void 0);
|
|
@@ -76201,7 +76202,7 @@ Required: ` + u.join(", "));
|
|
|
76201
76202
|
};
|
|
76202
76203
|
return { fireIfChanged: f };
|
|
76203
76204
|
}, D9 = function(r) {
|
|
76204
|
-
var u = A9(), f, p, y =
|
|
76205
|
+
var u = A9(), f, p, y = A6(), C = [], A = F_(r), P = function(yt) {
|
|
76205
76206
|
return function(Mt) {
|
|
76206
76207
|
return r.selection ? yt(Mt) : [];
|
|
76207
76208
|
};
|
|
@@ -76758,7 +76759,7 @@ Required: ` + u.join(", "));
|
|
|
76758
76759
|
return SS(r, p);
|
|
76759
76760
|
},
|
|
76760
76761
|
matchAll: function(p, y) {
|
|
76761
|
-
return
|
|
76762
|
+
return g6(r, p, y);
|
|
76762
76763
|
},
|
|
76763
76764
|
matchNode: function(p, y, C, A) {
|
|
76764
76765
|
return xS(r, p, y, C, A);
|
|
@@ -76787,7 +76788,7 @@ Required: ` + u.join(", "));
|
|
|
76787
76788
|
u.beforeChange();
|
|
76788
76789
|
}), r.on("SaveContent ObjectResized blur", y), r.on("dragend", y), r.on("keyup", function(M) {
|
|
76789
76790
|
var X = M.keyCode;
|
|
76790
|
-
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (y(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(
|
|
76791
|
+
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (y(), 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", {
|
|
76791
76792
|
level: u.data[0],
|
|
76792
76793
|
lastLevel: null
|
|
76793
76794
|
})), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
|
|
@@ -76829,7 +76830,7 @@ Required: ` + u.join(", "));
|
|
|
76829
76830
|
return gI(r, y, p, f, u, C, A);
|
|
76830
76831
|
},
|
|
76831
76832
|
undo: function() {
|
|
76832
|
-
return
|
|
76833
|
+
return m6(r, y, f, p);
|
|
76833
76834
|
},
|
|
76834
76835
|
redo: function() {
|
|
76835
76836
|
return _I(r, p, y.data);
|
|
@@ -76899,7 +76900,7 @@ Required: ` + u.join(", "));
|
|
|
76899
76900
|
return y ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(y) : f === y.nodeName.toLowerCase() : !0;
|
|
76900
76901
|
} else
|
|
76901
76902
|
return !1;
|
|
76902
|
-
},
|
|
76903
|
+
}, D6 = function(r) {
|
|
76903
76904
|
var u = r.dom, f = Oi(r), p = nC(r), y = function(C, A) {
|
|
76904
76905
|
if (!F9(C)) {
|
|
76905
76906
|
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
@@ -76942,11 +76943,11 @@ Required: ` + u.join(", "));
|
|
|
76942
76943
|
return li(r, u) ? jm(u, function(f) {
|
|
76943
76944
|
return Ra(f) || pp(f);
|
|
76944
76945
|
}, a3(r)) : me.none();
|
|
76945
|
-
},
|
|
76946
|
+
}, O6 = function(r) {
|
|
76946
76947
|
var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
|
|
76947
76948
|
r.selection.setCursorLocation(f, 0);
|
|
76948
76949
|
}, i3 = function(r) {
|
|
76949
|
-
r.dom.isEmpty(r.getBody()) && (r.setContent(""),
|
|
76950
|
+
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
|
|
76950
76951
|
}, kk = function(r, u, f) {
|
|
76951
76952
|
return ki(jl(f), Ru(f), function(p, y) {
|
|
76952
76953
|
var C = Nl(!0, p), A = Nl(!1, y), P = Nl(!1, u);
|
|
@@ -77010,7 +77011,7 @@ Required: ` + u.join(", "));
|
|
|
77010
77011
|
}, cd = function(r) {
|
|
77011
77012
|
var u = Bk(r);
|
|
77012
77013
|
return he(u, pi), u;
|
|
77013
|
-
},
|
|
77014
|
+
}, B6 = function(r, u) {
|
|
77014
77015
|
var f = qo(u, r);
|
|
77015
77016
|
return _n(f.reverse(), function(p) {
|
|
77016
77017
|
return ws(p);
|
|
@@ -77026,14 +77027,14 @@ Required: ` + u.join(", "));
|
|
|
77026
77027
|
var y = mc(f.dom, un.before(p.dom));
|
|
77027
77028
|
return he(cd(u), function(C) {
|
|
77028
77029
|
cl(p, C);
|
|
77029
|
-
}),
|
|
77030
|
+
}), B6(r, u), y;
|
|
77030
77031
|
}, Ac = function(r, u, f) {
|
|
77031
77032
|
if (ws(f))
|
|
77032
77033
|
return pi(f), ws(u) && js(u), jl(u.dom);
|
|
77033
77034
|
var p = Ru(f.dom);
|
|
77034
77035
|
return he(cd(u), function(y) {
|
|
77035
77036
|
Ha(f, y);
|
|
77036
|
-
}),
|
|
77037
|
+
}), B6(r, u), p;
|
|
77037
77038
|
}, H9 = function(r, u) {
|
|
77038
77039
|
var f = qo(u, r);
|
|
77039
77040
|
return me.from(f[f.length - 1]);
|
|
@@ -77076,7 +77077,7 @@ Required: ` + u.join(", "));
|
|
|
77076
77077
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77077
77078
|
}, Ug = function(r, u) {
|
|
77078
77079
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77079
|
-
},
|
|
77080
|
+
}, P6 = $s, Vk = xa, _h = function(r, u, f, p, y) {
|
|
77080
77081
|
return me.from(u._selectionOverrides.showCaret(r, f, p, y));
|
|
77081
77082
|
}, X9 = function(r) {
|
|
77082
77083
|
var u = r.ownerDocument.createRange();
|
|
@@ -77084,7 +77085,7 @@ Required: ` + u.join(", "));
|
|
|
77084
77085
|
}, km = function(r, u) {
|
|
77085
77086
|
var f = r.fire("BeforeObjectSelected", { target: u });
|
|
77086
77087
|
return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
|
|
77087
|
-
},
|
|
77088
|
+
}, M6 = function(r, u, f) {
|
|
77088
77089
|
var p = x2(1, r.getBody(), u), y = un.fromRangeStart(p), C = y.getNode();
|
|
77089
77090
|
if (Jd(C))
|
|
77090
77091
|
return _h(1, r, C, !y.isAtEnd(), !1);
|
|
@@ -77092,16 +77093,16 @@ Required: ` + u.join(", "));
|
|
|
77092
77093
|
if (Jd(A))
|
|
77093
77094
|
return _h(1, r, A, !1, !1);
|
|
77094
77095
|
var P = r.dom.getParent(y.getNode(), function(M) {
|
|
77095
|
-
return Vk(M) ||
|
|
77096
|
+
return Vk(M) || P6(M);
|
|
77096
77097
|
});
|
|
77097
77098
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77098
77099
|
}, H_ = function(r, u, f) {
|
|
77099
|
-
return u.collapsed ?
|
|
77100
|
+
return u.collapsed ? M6(r, u, f).getOr(u) : u;
|
|
77100
77101
|
}, Lk = function(r) {
|
|
77101
77102
|
return Yo(r) || Cr(r);
|
|
77102
77103
|
}, Uk = function(r) {
|
|
77103
77104
|
return Xo(r) || uo(r);
|
|
77104
|
-
},
|
|
77105
|
+
}, R6 = function(r, u) {
|
|
77105
77106
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77106
77107
|
}, zk = function(r, u, f, p, y, C) {
|
|
77107
77108
|
return _h(p, r, C.getNode(!y), y, !0).each(function(A) {
|
|
@@ -77111,7 +77112,7 @@ Required: ` + u.join(", "));
|
|
|
77111
77112
|
} else
|
|
77112
77113
|
u.deleteContents();
|
|
77113
77114
|
r.selection.setRng(A);
|
|
77114
|
-
}),
|
|
77115
|
+
}), R6(r.dom, f), !0;
|
|
77115
77116
|
}, J9 = function(r, u) {
|
|
77116
77117
|
var f = r.selection.getRng();
|
|
77117
77118
|
if (!Bn(f.commonAncestorContainer))
|
|
@@ -77141,16 +77142,16 @@ Required: ` + u.join(", "));
|
|
|
77141
77142
|
return U1(!u, f).fold(function() {
|
|
77142
77143
|
return U1(u, p).fold(Qe, y);
|
|
77143
77144
|
}, y);
|
|
77144
|
-
}, $
|
|
77145
|
+
}, $6 = function(r, u, f, p) {
|
|
77145
77146
|
var y = p.getNode(u === !1);
|
|
77146
77147
|
return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
|
|
77147
77148
|
return ws(C) ? cs.remove(C.dom) : cs.moveToElement(y);
|
|
77148
77149
|
}).orThunk(function() {
|
|
77149
77150
|
return me.some(cs.moveToElement(y));
|
|
77150
77151
|
});
|
|
77151
|
-
},
|
|
77152
|
+
}, F6 = function(r, u, f) {
|
|
77152
77153
|
return Hs(u, r, f).bind(function(p) {
|
|
77153
|
-
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $
|
|
77154
|
+
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();
|
|
77154
77155
|
});
|
|
77155
77156
|
}, Wk = function(r, u) {
|
|
77156
77157
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
@@ -77164,8 +77165,8 @@ Required: ` + u.join(", "));
|
|
|
77164
77165
|
});
|
|
77165
77166
|
}, Gk = function(r, u, f) {
|
|
77166
77167
|
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77167
|
-
return
|
|
77168
|
-
}, me.some) :
|
|
77168
|
+
return F6(r, u, f);
|
|
77169
|
+
}, me.some) : F6(r, u, f).bind(function(p) {
|
|
77169
77170
|
return jk(r, f, p);
|
|
77170
77171
|
});
|
|
77171
77172
|
}, qk = function(r, u, f) {
|
|
@@ -77184,7 +77185,7 @@ Required: ` + u.join(", "));
|
|
|
77184
77185
|
var p = u ? un.before(f) : un.after(f);
|
|
77185
77186
|
return r.selection.setRng(p.toRange()), !0;
|
|
77186
77187
|
};
|
|
77187
|
-
},
|
|
77188
|
+
}, V6 = function(r) {
|
|
77188
77189
|
return function(u) {
|
|
77189
77190
|
return r.selection.setRng(u.toRange()), !0;
|
|
77190
77191
|
};
|
|
@@ -77194,7 +77195,7 @@ Required: ` + u.join(", "));
|
|
|
77194
77195
|
var f = r.selection.getNode();
|
|
77195
77196
|
return Kk(r, f).filter(xa).fold(function() {
|
|
77196
77197
|
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77197
|
-
return p.fold(f3(r, u), d3(r, u),
|
|
77198
|
+
return p.fold(f3(r, u), d3(r, u), V6(r));
|
|
77198
77199
|
});
|
|
77199
77200
|
}, Ht);
|
|
77200
77201
|
}, Q9 = function(r) {
|
|
@@ -77208,7 +77209,7 @@ Required: ` + u.join(", "));
|
|
|
77208
77209
|
}, Ht);
|
|
77209
77210
|
}
|
|
77210
77211
|
return !1;
|
|
77211
|
-
},
|
|
77212
|
+
}, L6 = function(r) {
|
|
77212
77213
|
var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
|
|
77213
77214
|
if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
|
|
77214
77215
|
var y = u.create("br", { "data-mce-bogus": "1" });
|
|
@@ -77255,7 +77256,7 @@ Required: ` + u.join(", "));
|
|
|
77255
77256
|
}, Zk = function(r, u) {
|
|
77256
77257
|
var f = u.get();
|
|
77257
77258
|
return f && r.container() === f && Wc(f);
|
|
77258
|
-
},
|
|
77259
|
+
}, U6 = function(r, u) {
|
|
77259
77260
|
return u.fold(function(f) {
|
|
77260
77261
|
qf(r.get());
|
|
77261
77262
|
var p = p3(f);
|
|
@@ -77293,11 +77294,11 @@ Required: ` + u.join(", "));
|
|
|
77293
77294
|
{ start: ["element"] },
|
|
77294
77295
|
{ end: ["element"] },
|
|
77295
77296
|
{ after: ["element"] }
|
|
77296
|
-
]),
|
|
77297
|
+
]), z6 = function(r, u) {
|
|
77297
77298
|
var f = Yf(u, r);
|
|
77298
77299
|
return f || r;
|
|
77299
77300
|
}, oD = function(r, u, f) {
|
|
77300
|
-
var p = Vv(f), y =
|
|
77301
|
+
var p = Vv(f), y = z6(u, p.container());
|
|
77301
77302
|
return lu(r, y, p).fold(function() {
|
|
77302
77303
|
return eu(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77303
77304
|
return fs.before(C);
|
|
@@ -77320,14 +77321,14 @@ Required: ` + u.join(", "));
|
|
|
77320
77321
|
return C.isNone() ? me.some(fs.end(y)) : me.none();
|
|
77321
77322
|
});
|
|
77322
77323
|
}, sD = function(r, u, f) {
|
|
77323
|
-
var p = U_(f), y =
|
|
77324
|
+
var p = U_(f), y = z6(u, p.container());
|
|
77324
77325
|
return lu(r, y, p).fold(function() {
|
|
77325
77326
|
return mc(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77326
77327
|
return fs.after(C);
|
|
77327
77328
|
});
|
|
77328
77329
|
}, me.none);
|
|
77329
77330
|
}, e5 = function(r) {
|
|
77330
|
-
return z9(
|
|
77331
|
+
return z9(H6(r)) === !1;
|
|
77331
77332
|
}, fd = function(r, u, f) {
|
|
77332
77333
|
var p = Qk([
|
|
77333
77334
|
oD,
|
|
@@ -77340,7 +77341,7 @@ Required: ` + u.join(", "));
|
|
|
77340
77341
|
f
|
|
77341
77342
|
]);
|
|
77342
77343
|
return p.filter(e5);
|
|
77343
|
-
},
|
|
77344
|
+
}, H6 = function(r) {
|
|
77344
77345
|
return r.fold(_t, _t, _t, _t);
|
|
77345
77346
|
}, t5 = function(r) {
|
|
77346
77347
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
@@ -77349,7 +77350,7 @@ Required: ` + u.join(", "));
|
|
|
77349
77350
|
}, Wg = function(r) {
|
|
77350
77351
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77351
77352
|
}, uD = function(r, u) {
|
|
77352
|
-
return t5(r) === t5(u) &&
|
|
77353
|
+
return t5(r) === t5(u) && H6(r) === H6(u);
|
|
77353
77354
|
}, cD = function(r, u, f, p, y, C) {
|
|
77354
77355
|
return ki(lu(u, f, p), lu(u, f, y), function(A, P) {
|
|
77355
77356
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77367,13 +77368,13 @@ Required: ` + u.join(", "));
|
|
|
77367
77368
|
return P.filter(e5);
|
|
77368
77369
|
}, dD = function(r, u) {
|
|
77369
77370
|
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));
|
|
77370
|
-
},
|
|
77371
|
+
}, W6 = function(r, u, f, p) {
|
|
77371
77372
|
var y = Nl(r, p), C = fd(u, f, y);
|
|
77372
77373
|
return fd(u, f, y).bind(Ue(dD, r)).orThunk(function() {
|
|
77373
77374
|
return fD(r, u, f, C, p);
|
|
77374
77375
|
});
|
|
77375
77376
|
};
|
|
77376
|
-
Ue(
|
|
77377
|
+
Ue(W6, !1), Ue(W6, !0);
|
|
77377
77378
|
var hD = function(r) {
|
|
77378
77379
|
return Pe(r.selection.getSel().modify);
|
|
77379
77380
|
}, n5 = function(r, u, f) {
|
|
@@ -77445,7 +77446,7 @@ Required: ` + u.join(", "));
|
|
|
77445
77446
|
});
|
|
77446
77447
|
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77447
77448
|
return Nm(r, u).breakAt.isNone();
|
|
77448
|
-
},
|
|
77449
|
+
}, j6 = function(r, u) {
|
|
77449
77450
|
return W_(r, u).breakAt.isNone();
|
|
77450
77451
|
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77451
77452
|
return jl(r).map(function(u) {
|
|
@@ -77495,7 +77496,7 @@ Required: ` + u.join(", "));
|
|
|
77495
77496
|
return u.line > r;
|
|
77496
77497
|
}, c5 = function(r, u) {
|
|
77497
77498
|
return u.line === r;
|
|
77498
|
-
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il),
|
|
77499
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
|
|
77499
77500
|
var y = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77500
77501
|
return oa(Oe.getClientRects());
|
|
77501
77502
|
};
|
|
@@ -77513,13 +77514,13 @@ Required: ` + u.join(", "));
|
|
|
77513
77514
|
return function(u) {
|
|
77514
77515
|
return Gg(r, u);
|
|
77515
77516
|
};
|
|
77516
|
-
},
|
|
77517
|
+
}, q6 = function(r) {
|
|
77517
77518
|
return function(u) {
|
|
77518
77519
|
return c5(r, u);
|
|
77519
77520
|
};
|
|
77520
|
-
}, bD = xa, v5 = cv,
|
|
77521
|
+
}, bD = xa, v5 = cv, K6 = function(r, u) {
|
|
77521
77522
|
return Math.abs(r.left - u);
|
|
77522
|
-
},
|
|
77523
|
+
}, Y6 = function(r, u) {
|
|
77523
77524
|
return Math.abs(r.right - u);
|
|
77524
77525
|
}, Dc = function(r, u) {
|
|
77525
77526
|
return r >= u.left && r <= u.right;
|
|
@@ -77527,7 +77528,7 @@ Required: ` + u.join(", "));
|
|
|
77527
77528
|
return r >= u.top && r <= u.bottom;
|
|
77528
77529
|
}, C3 = function(r, u) {
|
|
77529
77530
|
return Po(r, function(f, p) {
|
|
77530
|
-
var y = Math.min(
|
|
77531
|
+
var y = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
|
|
77531
77532
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === y && bD(p.node) || C < y ? p : f;
|
|
77532
77533
|
});
|
|
77533
77534
|
}, p5 = function(r, u, f, p, y) {
|
|
@@ -77550,7 +77551,7 @@ Required: ` + u.join(", "));
|
|
|
77550
77551
|
}, ED = function(r, u) {
|
|
77551
77552
|
return {
|
|
77552
77553
|
node: r.node,
|
|
77553
|
-
before:
|
|
77554
|
+
before: K6(r, u) < Y6(r, u)
|
|
77554
77555
|
};
|
|
77555
77556
|
}, SD = function(r, u, f) {
|
|
77556
77557
|
var p = w3(xD(r)), y = Pt(p, Ue(wD, f)), C = C3(y, u);
|
|
@@ -77562,7 +77563,7 @@ Required: ` + u.join(", "));
|
|
|
77562
77563
|
return null;
|
|
77563
77564
|
}, di = function(r, u) {
|
|
77564
77565
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77565
|
-
},
|
|
77566
|
+
}, X6 = function(r, u, f) {
|
|
77566
77567
|
return me.some(H_(r, u, f));
|
|
77567
77568
|
}, m5 = function(r, u, f, p, y, C) {
|
|
77568
77569
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : y;
|
|
@@ -77580,21 +77581,21 @@ Required: ` + u.join(", "));
|
|
|
77580
77581
|
if (X(se))
|
|
77581
77582
|
return _h(u, r, se.getNode(!A), A, !1);
|
|
77582
77583
|
var Oe = M(se);
|
|
77583
|
-
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ?
|
|
77584
|
-
},
|
|
77584
|
+
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X6(r, se.toRange(), !1) : me.none();
|
|
77585
|
+
}, J6 = function(r, u, f, p, y, C) {
|
|
77585
77586
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77586
77587
|
if (!P)
|
|
77587
77588
|
return me.none();
|
|
77588
|
-
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie,
|
|
77589
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
|
|
77589
77590
|
if (ke && C(ke.node)) {
|
|
77590
77591
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77591
77592
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77592
77593
|
}
|
|
77593
77594
|
var Ee;
|
|
77594
77595
|
if (p(A) ? Ee = A.getNode() : y(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77595
|
-
var ot =
|
|
77596
|
-
if (et || (et = oa(Pt(ot,
|
|
77597
|
-
return
|
|
77596
|
+
var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
|
|
77597
|
+
if (et || (et = oa(Pt(ot, q6(0))), et))
|
|
77598
|
+
return X6(r, et.position.toRange(), !1);
|
|
77598
77599
|
}
|
|
77599
77600
|
return ae.length === 0 ? j_(r, M).filter(M ? y : p).map(function(ut) {
|
|
77600
77601
|
return H_(r, ut.toRange(), !1);
|
|
@@ -77618,11 +77619,11 @@ Required: ` + u.join(", "));
|
|
|
77618
77619
|
}, _5 = function(r, u) {
|
|
77619
77620
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77620
77621
|
}, Uv = function(r, u, f) {
|
|
77621
|
-
return
|
|
77622
|
+
return U6(u, f).map(function(p) {
|
|
77622
77623
|
return x3(r, p), f;
|
|
77623
77624
|
});
|
|
77624
77625
|
}, kD = function(r, u, f) {
|
|
77625
|
-
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A =
|
|
77626
|
+
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W6(f, C, p, y);
|
|
77626
77627
|
return A.bind(function(P) {
|
|
77627
77628
|
return Uv(r, u, P);
|
|
77628
77629
|
});
|
|
@@ -77663,7 +77664,7 @@ Required: ` + u.join(", "));
|
|
|
77663
77664
|
});
|
|
77664
77665
|
return fd(Ue(Em, r), r.getBody(), p).exists(function(y) {
|
|
77665
77666
|
var C = Tm(y);
|
|
77666
|
-
return
|
|
77667
|
+
return U6(f, C).exists(function(A) {
|
|
77667
77668
|
return x3(r, A), !0;
|
|
77668
77669
|
});
|
|
77669
77670
|
});
|
|
@@ -77681,7 +77682,7 @@ Required: ` + u.join(", "));
|
|
|
77681
77682
|
}).getOr(!0);
|
|
77682
77683
|
}, C5 = function(r, u) {
|
|
77683
77684
|
return function(f) {
|
|
77684
|
-
return
|
|
77685
|
+
return U6(u, f).exists(function(p) {
|
|
77685
77686
|
return x3(r, p), !0;
|
|
77686
77687
|
});
|
|
77687
77688
|
};
|
|
@@ -77724,9 +77725,9 @@ Required: ` + u.join(", "));
|
|
|
77724
77725
|
return Kn(f, Fs).fold(Fe(f), function(p) {
|
|
77725
77726
|
return f.slice(0, p);
|
|
77726
77727
|
});
|
|
77727
|
-
},
|
|
77728
|
+
}, Z6 = function(r) {
|
|
77728
77729
|
return va(r).length === 1;
|
|
77729
|
-
},
|
|
77730
|
+
}, Q6 = function(r, u, f, p) {
|
|
77730
77731
|
var y = Ue(DA, u), C = ne(Pt(p, y), function(P) {
|
|
77731
77732
|
return P.dom;
|
|
77732
77733
|
});
|
|
@@ -77737,10 +77738,10 @@ Required: ` + u.join(", "));
|
|
|
77737
77738
|
u.selection.setRng(A.toRange());
|
|
77738
77739
|
}
|
|
77739
77740
|
}, BD = function(r, u) {
|
|
77740
|
-
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p),
|
|
77741
|
+
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p), Z6);
|
|
77741
77742
|
return nr(y).exists(function(C) {
|
|
77742
77743
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77743
|
-
return kk(u, A, C.dom) && !OA(C) ? (
|
|
77744
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, y), !0) : !1;
|
|
77744
77745
|
});
|
|
77745
77746
|
}, hd = function(r, u) {
|
|
77746
77747
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77952,7 +77953,7 @@ Required: ` + u.join(", "));
|
|
|
77952
77953
|
}, y = function(C) {
|
|
77953
77954
|
return Xo(C) || xo(C);
|
|
77954
77955
|
};
|
|
77955
|
-
return
|
|
77956
|
+
return J6(u, r, f, p, y, rx);
|
|
77956
77957
|
}, tO = function(r) {
|
|
77957
77958
|
var u = r.dom.create(Oi(r));
|
|
77958
77959
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
@@ -78008,7 +78009,7 @@ Required: ` + u.join(", "));
|
|
|
78008
78009
|
var f = Ue(yo, u);
|
|
78009
78010
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
78010
78011
|
}, $5 = function(r, u, f) {
|
|
78011
|
-
return u ?
|
|
78012
|
+
return u ? j6(r.dom, f) : a5(r.dom, f);
|
|
78012
78013
|
}, F5 = function(r, u) {
|
|
78013
78014
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), y = Oi(r), C = iv(r);
|
|
78014
78015
|
return lO(p, f).exists(function() {
|
|
@@ -78054,7 +78055,7 @@ Required: ` + u.join(", "));
|
|
|
78054
78055
|
});
|
|
78055
78056
|
}, Im = function(r, u) {
|
|
78056
78057
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
78057
|
-
return
|
|
78058
|
+
return J6(r, f, p, Cr, uo, es).exists(function(y) {
|
|
78058
78059
|
return di(r, y), !0;
|
|
78059
78060
|
});
|
|
78060
78061
|
}, lx = function(r, u) {
|
|
@@ -78371,11 +78372,11 @@ Required: ` + u.join(", "));
|
|
|
78371
78372
|
Yg([
|
|
78372
78373
|
{
|
|
78373
78374
|
keyCode: Pr.BACKSPACE,
|
|
78374
|
-
action: Eo(
|
|
78375
|
+
action: Eo(L6, r)
|
|
78375
78376
|
},
|
|
78376
78377
|
{
|
|
78377
78378
|
keyCode: Pr.DELETE,
|
|
78378
|
-
action: Eo(
|
|
78379
|
+
action: Eo(L6, r)
|
|
78379
78380
|
}
|
|
78380
78381
|
], u);
|
|
78381
78382
|
}, px = function(r, u) {
|
|
@@ -78758,7 +78759,7 @@ Required: ` + u.join(", "));
|
|
|
78758
78759
|
MO(r, u);
|
|
78759
78760
|
}, ve);
|
|
78760
78761
|
}, uT = function(r, u) {
|
|
78761
|
-
u.isDefaultPrevented() || (u.preventDefault(),
|
|
78762
|
+
u.isDefaultPrevented() || (u.preventDefault(), h6(r.undoManager), r.undoManager.transact(function() {
|
|
78762
78763
|
r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
|
|
78763
78764
|
}));
|
|
78764
78765
|
}, cT = function(r) {
|
|
@@ -78959,7 +78960,7 @@ Required: ` + u.join(", "));
|
|
|
78959
78960
|
return u.setEnd(A.container(), A.offset());
|
|
78960
78961
|
});
|
|
78961
78962
|
}
|
|
78962
|
-
r.selection.setRng(
|
|
78963
|
+
r.selection.setRng(D8(u));
|
|
78963
78964
|
}, f7 = function(r) {
|
|
78964
78965
|
r.on("click", function(u) {
|
|
78965
78966
|
u.detail >= 3 && Ex(r);
|
|
@@ -79234,7 +79235,7 @@ Required: ` + u.join(", "));
|
|
|
79234
79235
|
}, ot = function() {
|
|
79235
79236
|
r.on("mouseup", function(Gn) {
|
|
79236
79237
|
var ir = Oe();
|
|
79237
|
-
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) &&
|
|
79238
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
|
|
79238
79239
|
}), r.on("click", function(Gn) {
|
|
79239
79240
|
var ir = ty(r, Gn.target);
|
|
79240
79241
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79764,7 +79765,7 @@ Required: ` + u.join(", "));
|
|
|
79764
79765
|
}
|
|
79765
79766
|
}), 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);
|
|
79766
79767
|
var A = i7(r);
|
|
79767
|
-
UD(r, A), YD(r),
|
|
79768
|
+
UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
|
|
79768
79769
|
F3(r);
|
|
79769
79770
|
}, function(P) {
|
|
79770
79771
|
r.setProgressState(!0), P.then(function(M) {
|
|
@@ -79820,7 +79821,7 @@ Required: ` + u.join(", "));
|
|
|
79820
79821
|
var C = new p(r, y, r.$);
|
|
79821
79822
|
r.plugins[f] = C, C.init && (C.init(r, y), u.push(f));
|
|
79822
79823
|
} catch (A) {
|
|
79823
|
-
|
|
79824
|
+
k6(r, f, A);
|
|
79824
79825
|
}
|
|
79825
79826
|
}
|
|
79826
79827
|
}, NT = function(r) {
|
|
@@ -79882,7 +79883,7 @@ Required: ` + u.join(", "));
|
|
|
79882
79883
|
editorContainer: u.editorContainer,
|
|
79883
79884
|
iframeContainer: u.iframeContainer
|
|
79884
79885
|
};
|
|
79885
|
-
return r.editorContainer = f.editorContainer ? f.editorContainer : null,
|
|
79886
|
+
return r.editorContainer = f.editorContainer ? f.editorContainer : null, N6(r), r.inline ? V3(r) : j7(r, f);
|
|
79886
79887
|
}, Om = ua.DOM, z3 = function(r) {
|
|
79887
79888
|
return r.charAt(0) === "-";
|
|
79888
79889
|
}, J7 = function(r, u) {
|
|
@@ -80034,7 +80035,7 @@ Required: ` + u.join(", "));
|
|
|
80034
80035
|
}, y = function(C) {
|
|
80035
80036
|
return yo(be.fromDom(u), C);
|
|
80036
80037
|
};
|
|
80037
|
-
return
|
|
80038
|
+
return L8(be.fromDom(f), function(C) {
|
|
80038
80039
|
return p(C);
|
|
80039
80040
|
}, y);
|
|
80040
80041
|
}, aB = function(r) {
|
|
@@ -80089,7 +80090,7 @@ Required: ` + u.join(", "));
|
|
|
80089
80090
|
}).getOr("");
|
|
80090
80091
|
}, dB = function(r) {
|
|
80091
80092
|
return Zg(r, function(u) {
|
|
80092
|
-
var f = be.fromDom(r.getBody()), p =
|
|
80093
|
+
var f = be.fromDom(r.getBody()), p = L8(u, function(C) {
|
|
80093
80094
|
return ea(C, "line-height");
|
|
80094
80095
|
}, Ue(yo, f)), y = function() {
|
|
80095
80096
|
var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
|
|
@@ -87065,7 +87066,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87065
87066
|
return c4(a, v, c, -1);
|
|
87066
87067
|
}, Cc = function(a, c, v) {
|
|
87067
87068
|
return c4(a, v, c, 1);
|
|
87068
|
-
},
|
|
87069
|
+
}, e8 = [
|
|
87069
87070
|
bi("selectors", [
|
|
87070
87071
|
nt("row"),
|
|
87071
87072
|
nt("cell")
|
|
@@ -87081,11 +87082,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87081
87082
|
b.each(function(x) {
|
|
87082
87083
|
c.focusManager.set(a, x);
|
|
87083
87084
|
});
|
|
87084
|
-
},
|
|
87085
|
+
}, t8 = function(a, c, v) {
|
|
87085
87086
|
return El(a.element).bind(function(b) {
|
|
87086
87087
|
return v.execute(a, c, b);
|
|
87087
87088
|
});
|
|
87088
|
-
},
|
|
87089
|
+
}, n8 = function(a, c) {
|
|
87089
87090
|
return Ge(a, function(v) {
|
|
87090
87091
|
return Hl(v, c.selectors.cell);
|
|
87091
87092
|
});
|
|
@@ -87097,7 +87098,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87097
87098
|
return Z2(F, b).bind(function(L) {
|
|
87098
87099
|
var G = Hl(v, x.selectors.row);
|
|
87099
87100
|
return Z2(G, D).bind(function(Z) {
|
|
87100
|
-
var ee =
|
|
87101
|
+
var ee = n8(G, x);
|
|
87101
87102
|
return N(ee, Z, L).map(function(fe) {
|
|
87102
87103
|
return fe.cell;
|
|
87103
87104
|
});
|
|
@@ -87105,13 +87106,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87105
87106
|
});
|
|
87106
87107
|
});
|
|
87107
87108
|
};
|
|
87108
|
-
}, vg = rd(dg, d4), p4 = rd(fg, wc),
|
|
87109
|
+
}, vg = rd(dg, d4), p4 = rd(fg, wc), r8 = rd(hg, QC), Av = rd(f4, Cc), o8 = V([
|
|
87109
87110
|
Co(ho(ng), ag(vg, p4)),
|
|
87110
87111
|
Co(ho(ch), om(vg, p4)),
|
|
87111
|
-
Co(ho(em), ig(
|
|
87112
|
+
Co(ho(em), ig(r8)),
|
|
87112
87113
|
Co(ho(of), Zb(Av)),
|
|
87113
|
-
Co(ho(ls.concat(bc)),
|
|
87114
|
-
]),
|
|
87114
|
+
Co(ho(ls.concat(bc)), t8)
|
|
87115
|
+
]), a8 = V([Co(ho(ls), Sv)]), i8 = Vu(e8, bl.init, o8, a8, function() {
|
|
87115
87116
|
return U.some(h4);
|
|
87116
87117
|
}), m4 = [
|
|
87117
87118
|
nt("selector"),
|
|
@@ -87121,7 +87122,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87121
87122
|
return v.focusManager.get(a).bind(function(b) {
|
|
87122
87123
|
return v.execute(a, c, b);
|
|
87123
87124
|
});
|
|
87124
|
-
},
|
|
87125
|
+
}, l8 = function(a, c, v) {
|
|
87125
87126
|
rl(a.element, c.selector).each(function(b) {
|
|
87126
87127
|
c.focusManager.set(a, b);
|
|
87127
87128
|
});
|
|
@@ -87133,7 +87134,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87133
87134
|
return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
|
|
87134
87135
|
}, _4 = function(a, c, v, b) {
|
|
87135
87136
|
return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
|
|
87136
|
-
},
|
|
87137
|
+
}, s8 = V([
|
|
87137
87138
|
Co(ho(em), ed(g4)),
|
|
87138
87139
|
Co(ho(of), ed(lm)),
|
|
87139
87140
|
Co(ou([
|
|
@@ -87146,8 +87147,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87146
87147
|
]), _4),
|
|
87147
87148
|
Co(ho(bc), Iv),
|
|
87148
87149
|
Co(ho(ls), Iv)
|
|
87149
|
-
]),
|
|
87150
|
-
return U.some(
|
|
87150
|
+
]), u8 = V([Co(ho(ls), Sv)]), c8 = Vu(m4, bl.init, s8, u8, function() {
|
|
87151
|
+
return U.some(l8);
|
|
87151
87152
|
}), od = [
|
|
87152
87153
|
Ya("onSpace"),
|
|
87153
87154
|
Ya("onEnter"),
|
|
@@ -87187,11 +87188,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87187
87188
|
Co(ho(ls), v.onSpace),
|
|
87188
87189
|
Co(ho(Qp), v.onEscape)
|
|
87189
87190
|
];
|
|
87190
|
-
},
|
|
87191
|
+
}, f8 = function(a, c, v) {
|
|
87191
87192
|
return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
|
|
87192
|
-
}, l_ = Vu(od, bl.init, y4,
|
|
87193
|
+
}, l_ = Vu(od, bl.init, y4, f8, function(a) {
|
|
87193
87194
|
return a.focusIn;
|
|
87194
|
-
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ =
|
|
87195
|
+
}), 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({
|
|
87195
87196
|
__proto__: null,
|
|
87196
87197
|
acyclic: b4,
|
|
87197
87198
|
cyclic: w4,
|
|
@@ -87226,7 +87227,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87226
87227
|
}
|
|
87227
87228
|
},
|
|
87228
87229
|
state: dh
|
|
87229
|
-
}),
|
|
87230
|
+
}), d8 = function(a, c, v, b) {
|
|
87230
87231
|
J0(function() {
|
|
87231
87232
|
var x = Ge(b, a.getSystem().build);
|
|
87232
87233
|
Jd(a, x);
|
|
@@ -87254,24 +87255,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87254
87255
|
}, F);
|
|
87255
87256
|
}), D;
|
|
87256
87257
|
});
|
|
87257
|
-
},
|
|
87258
|
+
}, h8 = function(a, c, v, b, x) {
|
|
87258
87259
|
var N = gg(a);
|
|
87259
87260
|
return at(N, b).bind(function(D) {
|
|
87260
87261
|
return E4(a, c, v, D, x);
|
|
87261
87262
|
});
|
|
87262
|
-
},
|
|
87263
|
+
}, v8 = /* @__PURE__ */ Object.freeze({
|
|
87263
87264
|
__proto__: null,
|
|
87264
87265
|
append: au,
|
|
87265
87266
|
prepend: d_,
|
|
87266
87267
|
remove: lf,
|
|
87267
87268
|
replaceAt: E4,
|
|
87268
|
-
replaceBy:
|
|
87269
|
-
set:
|
|
87269
|
+
replaceBy: h8,
|
|
87270
|
+
set: d8,
|
|
87270
87271
|
contents: gg
|
|
87271
87272
|
}), Qr = Fa({
|
|
87272
87273
|
fields: [],
|
|
87273
87274
|
name: "replacing",
|
|
87274
|
-
apis:
|
|
87275
|
+
apis: v8
|
|
87275
87276
|
}), h_ = function(a, c) {
|
|
87276
87277
|
var v = Oo(c);
|
|
87277
87278
|
return Fa({
|
|
@@ -87293,14 +87294,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87293
87294
|
};
|
|
87294
87295
|
}, S4 = function(a, c) {
|
|
87295
87296
|
c.ignore || (zs(a.element), c.onFocus(a));
|
|
87296
|
-
},
|
|
87297
|
+
}, p8 = function(a, c) {
|
|
87297
87298
|
c.ignore || Lw(a.element);
|
|
87298
87299
|
}, _g = function(a) {
|
|
87299
87300
|
return w1(a.element);
|
|
87300
|
-
},
|
|
87301
|
+
}, m8 = /* @__PURE__ */ Object.freeze({
|
|
87301
87302
|
__proto__: null,
|
|
87302
87303
|
focus: S4,
|
|
87303
|
-
blur:
|
|
87304
|
+
blur: p8,
|
|
87304
87305
|
isFocused: _g
|
|
87305
87306
|
}), k4 = function(a, c) {
|
|
87306
87307
|
var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
|
|
@@ -87311,20 +87312,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87311
87312
|
})].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
|
|
87312
87313
|
v.event.prevent();
|
|
87313
87314
|
})] : []));
|
|
87314
|
-
},
|
|
87315
|
+
}, g8 = /* @__PURE__ */ Object.freeze({
|
|
87315
87316
|
__proto__: null,
|
|
87316
87317
|
exhibit: k4,
|
|
87317
87318
|
events: v_
|
|
87318
|
-
}),
|
|
87319
|
+
}), _8 = [
|
|
87319
87320
|
Mo("onFocus"),
|
|
87320
87321
|
Ot("stopMousedown", !1),
|
|
87321
87322
|
Ot("ignore", !1)
|
|
87322
87323
|
], Gr = Fa({
|
|
87323
|
-
fields:
|
|
87324
|
+
fields: _8,
|
|
87324
87325
|
name: "focusing",
|
|
87325
|
-
active:
|
|
87326
|
-
apis:
|
|
87327
|
-
}),
|
|
87326
|
+
active: g8,
|
|
87327
|
+
apis: m8
|
|
87328
|
+
}), y8 = function(a) {
|
|
87328
87329
|
var c = function() {
|
|
87329
87330
|
var v = jn(a), b = function() {
|
|
87330
87331
|
return v.get();
|
|
@@ -87410,7 +87411,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87410
87411
|
name: "toggling",
|
|
87411
87412
|
active: _e,
|
|
87412
87413
|
apis: W,
|
|
87413
|
-
state:
|
|
87414
|
+
state: y8(!1)
|
|
87414
87415
|
}), tn = function() {
|
|
87415
87416
|
var a = function(c, v) {
|
|
87416
87417
|
v.stop(), Nf(c);
|
|
@@ -87654,7 +87655,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87654
87655
|
Ot("fakeFocus", !1),
|
|
87655
87656
|
Ot("focusManager", Qf()),
|
|
87656
87657
|
Mo("onHighlight")
|
|
87657
|
-
]), T4 = V("alloy.menu-focus"),
|
|
87658
|
+
]), T4 = V("alloy.menu-focus"), b8 = function(a, c, v, b) {
|
|
87658
87659
|
return {
|
|
87659
87660
|
uid: a.uid,
|
|
87660
87661
|
dom: a.dom,
|
|
@@ -87697,7 +87698,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87697
87698
|
name: "Menu",
|
|
87698
87699
|
configFields: yg(),
|
|
87699
87700
|
partFields: sf(),
|
|
87700
|
-
factory:
|
|
87701
|
+
factory: b8
|
|
87701
87702
|
}), bg = function(a) {
|
|
87702
87703
|
return da(a, function(c, v) {
|
|
87703
87704
|
return {
|
|
@@ -88065,7 +88066,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88065
88066
|
menus: ge(a, c),
|
|
88066
88067
|
expansions: {}
|
|
88067
88068
|
};
|
|
88068
|
-
},
|
|
88069
|
+
}, w8 = function(a) {
|
|
88069
88070
|
return {
|
|
88070
88071
|
value: Tr(Yx()),
|
|
88071
88072
|
meta: { text: a }
|
|
@@ -88115,7 +88116,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88115
88116
|
extraApis: {
|
|
88116
88117
|
tieredData: Xx,
|
|
88117
88118
|
singleData: kN,
|
|
88118
|
-
collapseItem:
|
|
88119
|
+
collapseItem: w8
|
|
88119
88120
|
}
|
|
88120
88121
|
}), TN = function(a, c, v, b, x) {
|
|
88121
88122
|
var N = function() {
|
|
@@ -88754,7 +88755,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88754
88755
|
}, rE = function(a) {
|
|
88755
88756
|
return a !== "" && ` \f
|
|
88756
88757
|
\r \v`.indexOf(a) !== -1;
|
|
88757
|
-
},
|
|
88758
|
+
}, C8 = function(a, c) {
|
|
88758
88759
|
return a.substring(c.length);
|
|
88759
88760
|
}, gm = function(a, c, v) {
|
|
88760
88761
|
var b;
|
|
@@ -88777,13 +88778,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88777
88778
|
if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
|
|
88778
88779
|
return U.none();
|
|
88779
88780
|
var L = nE(F), G = L.lastIndexOf(v);
|
|
88780
|
-
return G !== 0 ||
|
|
88781
|
-
text:
|
|
88781
|
+
return G !== 0 || C8(L, v).length < b ? U.none() : U.some({
|
|
88782
|
+
text: C8(L, v),
|
|
88782
88783
|
range: F,
|
|
88783
88784
|
triggerChar: v
|
|
88784
88785
|
});
|
|
88785
88786
|
});
|
|
88786
|
-
},
|
|
88787
|
+
}, x8 = function(a, c, v, b) {
|
|
88787
88788
|
return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
|
|
88788
88789
|
return w_(a, c, v, b);
|
|
88789
88790
|
}, function(x) {
|
|
@@ -88792,11 +88793,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88792
88793
|
var D = nE(N);
|
|
88793
88794
|
return U.some({
|
|
88794
88795
|
range: N,
|
|
88795
|
-
text:
|
|
88796
|
+
text: C8(D, v),
|
|
88796
88797
|
triggerChar: v
|
|
88797
88798
|
});
|
|
88798
88799
|
});
|
|
88799
|
-
},
|
|
88800
|
+
}, E8 = function(a, c) {
|
|
88800
88801
|
c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
|
|
88801
88802
|
var v = function(b, x) {
|
|
88802
88803
|
_r(b, lp(), { raw: x });
|
|
@@ -88815,14 +88816,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88815
88816
|
}), c.on("NodeChange", function(b) {
|
|
88816
88817
|
a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
|
|
88817
88818
|
});
|
|
88818
|
-
}, VN = { setup:
|
|
88819
|
+
}, VN = { setup: E8 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
|
|
88819
88820
|
return {
|
|
88820
88821
|
container: a,
|
|
88821
88822
|
offset: c
|
|
88822
88823
|
};
|
|
88823
88824
|
}, oE = function(a) {
|
|
88824
88825
|
return a.nodeType === Nh;
|
|
88825
|
-
},
|
|
88826
|
+
}, S8 = function(a) {
|
|
88826
88827
|
return a.nodeType === Cf;
|
|
88827
88828
|
}, aE = function(a) {
|
|
88828
88829
|
if (oE(a))
|
|
@@ -88831,7 +88832,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88831
88832
|
return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
|
|
88832
88833
|
}, C_ = function(a, c) {
|
|
88833
88834
|
var v = a.childNodes;
|
|
88834
|
-
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 &&
|
|
88835
|
+
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);
|
|
88835
88836
|
}, LN = function(a, c) {
|
|
88836
88837
|
return eE(a, c.container, c.offset, function(v, b) {
|
|
88837
88838
|
return b === 0 ? -1 : b;
|
|
@@ -88846,7 +88847,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88846
88847
|
};
|
|
88847
88848
|
}, zN = function(a, c, v) {
|
|
88848
88849
|
return dn(v.triggerChars, function(b) {
|
|
88849
|
-
return
|
|
88850
|
+
return x8(a, c, b);
|
|
88850
88851
|
});
|
|
88851
88852
|
}, iE = function(a, c) {
|
|
88852
88853
|
var v = c(), b = a.selection.getRng();
|
|
@@ -88920,7 +88921,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88920
88921
|
mo("onAction")
|
|
88921
88922
|
].concat(Eg)), dE = function(a) {
|
|
88922
88923
|
return Vo("toolbarbutton", fE, a);
|
|
88923
|
-
},
|
|
88924
|
+
}, k8 = [Ho("active", !1)].concat(Eg), qN = wt(k8.concat([
|
|
88924
88925
|
Yn("type"),
|
|
88925
88926
|
mo("onAction")
|
|
88926
88927
|
])), hE = function(a) {
|
|
@@ -88941,14 +88942,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88941
88942
|
Ot("primary", !1),
|
|
88942
88943
|
mo("onAction"),
|
|
88943
88944
|
vi("original", z)
|
|
88944
|
-
]),
|
|
88945
|
+
]), T8 = k8.concat([
|
|
88945
88946
|
Ot("type", "contextformbutton"),
|
|
88946
88947
|
Ot("primary", !1),
|
|
88947
88948
|
mo("onAction"),
|
|
88948
88949
|
vi("original", z)
|
|
88949
|
-
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 =
|
|
88950
|
+
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k8.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
|
|
88950
88951
|
contextformbutton: pE,
|
|
88951
|
-
contextformtogglebutton:
|
|
88952
|
+
contextformtogglebutton: T8
|
|
88952
88953
|
}), XN = wt([
|
|
88953
88954
|
Ot("type", "contextform"),
|
|
88954
88955
|
Qo("initValue", function() {
|
|
@@ -88991,18 +88992,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88991
88992
|
triggerChars: b,
|
|
88992
88993
|
lookupByChar: N
|
|
88993
88994
|
};
|
|
88994
|
-
},
|
|
88995
|
+
}, N8;
|
|
88995
88996
|
(function(a) {
|
|
88996
88997
|
a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
|
|
88997
|
-
})(
|
|
88998
|
-
var uf =
|
|
88998
|
+
})(N8 || (N8 = {}));
|
|
88999
|
+
var uf = N8, Sg = "tox-menu-nav__js", A8 = "tox-collection__item", I8 = "tox-swatch", D8 = {
|
|
88999
89000
|
normal: Sg,
|
|
89000
|
-
color:
|
|
89001
|
-
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon",
|
|
89002
|
-
return cr(
|
|
89001
|
+
color: I8
|
|
89002
|
+
}, 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) {
|
|
89003
|
+
return cr(D8, a).getOr(Sg);
|
|
89003
89004
|
}, cA = function(a) {
|
|
89004
89005
|
return a === "color" ? "tox-swatches" : "tox-menu";
|
|
89005
|
-
},
|
|
89006
|
+
}, P8 = function(a) {
|
|
89006
89007
|
return {
|
|
89007
89008
|
backgroundMenu: "tox-background-menu",
|
|
89008
89009
|
selectedMenu: "tox-selected-menu",
|
|
@@ -89012,7 +89013,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89012
89013
|
tieredMenu: "tox-tiered-menu"
|
|
89013
89014
|
};
|
|
89014
89015
|
}, kg = function(a) {
|
|
89015
|
-
var c =
|
|
89016
|
+
var c = P8(a);
|
|
89016
89017
|
return {
|
|
89017
89018
|
backgroundMenu: c.backgroundMenu,
|
|
89018
89019
|
selectedMenu: c.selectedMenu,
|
|
@@ -89021,7 +89022,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89021
89022
|
item: CE(a)
|
|
89022
89023
|
};
|
|
89023
89024
|
}, fA = function(a, c, v) {
|
|
89024
|
-
var b =
|
|
89025
|
+
var b = P8(v);
|
|
89025
89026
|
return {
|
|
89026
89027
|
tag: "div",
|
|
89027
89028
|
classes: zt([
|
|
@@ -89032,8 +89033,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89032
89033
|
a ? [b.hasIcons] : []
|
|
89033
89034
|
])
|
|
89034
89035
|
};
|
|
89035
|
-
},
|
|
89036
|
-
var b =
|
|
89036
|
+
}, M8 = [id.parts.items({})], B4 = function(a, c, v) {
|
|
89037
|
+
var b = P8(v), x = {
|
|
89037
89038
|
tag: "div",
|
|
89038
89039
|
classes: zt([[b.tieredMenu]])
|
|
89039
89040
|
};
|
|
@@ -89041,7 +89042,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89041
89042
|
dom: x,
|
|
89042
89043
|
markers: kg(v)
|
|
89043
89044
|
};
|
|
89044
|
-
},
|
|
89045
|
+
}, R8 = function(a, c) {
|
|
89045
89046
|
return function(v) {
|
|
89046
89047
|
var b = me(v, c);
|
|
89047
89048
|
return Ge(b, function(x) {
|
|
@@ -89066,7 +89067,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89066
89067
|
classes: ["tox-swatches"]
|
|
89067
89068
|
},
|
|
89068
89069
|
components: [id.parts.items({
|
|
89069
|
-
preprocess: a !== "auto" ?
|
|
89070
|
+
preprocess: a !== "auto" ? R8({
|
|
89070
89071
|
tag: "div",
|
|
89071
89072
|
classes: ["tox-swatches__row"]
|
|
89072
89073
|
}, a) : z
|
|
@@ -89085,7 +89086,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89085
89086
|
]
|
|
89086
89087
|
},
|
|
89087
89088
|
components: [id.parts.items({
|
|
89088
|
-
preprocess:
|
|
89089
|
+
preprocess: R8({
|
|
89089
89090
|
tag: "div",
|
|
89090
89091
|
classes: ["tox-collection__group"]
|
|
89091
89092
|
}, a)
|
|
@@ -89104,7 +89105,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89104
89105
|
components: x
|
|
89105
89106
|
};
|
|
89106
89107
|
});
|
|
89107
|
-
}, $
|
|
89108
|
+
}, $8 = function(a, c, v) {
|
|
89108
89109
|
return {
|
|
89109
89110
|
dom: {
|
|
89110
89111
|
tag: "div",
|
|
@@ -89115,7 +89116,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89115
89116
|
},
|
|
89116
89117
|
components: [id.parts.items({
|
|
89117
89118
|
preprocess: function(b) {
|
|
89118
|
-
return a !== "auto" && a > 1 ?
|
|
89119
|
+
return a !== "auto" && a > 1 ? R8({
|
|
89119
89120
|
tag: "div",
|
|
89120
89121
|
classes: ["tox-collection__group"]
|
|
89121
89122
|
}, a)(b) : xE(b, function(x, N) {
|
|
@@ -89155,7 +89156,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89155
89156
|
components: N.components,
|
|
89156
89157
|
items: v
|
|
89157
89158
|
};
|
|
89158
|
-
},
|
|
89159
|
+
}, F8 = function(a, c, v, b, x) {
|
|
89159
89160
|
if (x === "color") {
|
|
89160
89161
|
var N = dA(b);
|
|
89161
89162
|
return {
|
|
@@ -89166,7 +89167,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89166
89167
|
};
|
|
89167
89168
|
}
|
|
89168
89169
|
if (x === "normal" && b === "auto") {
|
|
89169
|
-
var N = $
|
|
89170
|
+
var N = $8(b, v);
|
|
89170
89171
|
return {
|
|
89171
89172
|
value: a,
|
|
89172
89173
|
dom: N.dom,
|
|
@@ -89175,7 +89176,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89175
89176
|
};
|
|
89176
89177
|
}
|
|
89177
89178
|
if (x === "normal" && b === 1) {
|
|
89178
|
-
var N = $
|
|
89179
|
+
var N = $8(1, v);
|
|
89179
89180
|
return {
|
|
89180
89181
|
value: a,
|
|
89181
89182
|
dom: N.dom,
|
|
@@ -89184,7 +89185,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89184
89185
|
};
|
|
89185
89186
|
}
|
|
89186
89187
|
if (x === "normal") {
|
|
89187
|
-
var N = $
|
|
89188
|
+
var N = $8(b, v);
|
|
89188
89189
|
return {
|
|
89189
89190
|
value: a,
|
|
89190
89191
|
dom: N.dom,
|
|
@@ -89204,15 +89205,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89204
89205
|
return {
|
|
89205
89206
|
value: a,
|
|
89206
89207
|
dom: fA(c, b, x),
|
|
89207
|
-
components:
|
|
89208
|
+
components: M8,
|
|
89208
89209
|
items: v
|
|
89209
89210
|
};
|
|
89210
|
-
},
|
|
89211
|
+
}, V8 = [
|
|
89211
89212
|
Yn("type"),
|
|
89212
89213
|
Yn("src"),
|
|
89213
89214
|
jo("alt"),
|
|
89214
89215
|
mu("classes", [], Ut)
|
|
89215
|
-
], mA = wt(
|
|
89216
|
+
], mA = wt(V8), gA = [
|
|
89216
89217
|
Yn("type"),
|
|
89217
89218
|
Yn("text"),
|
|
89218
89219
|
jo("name"),
|
|
@@ -89260,9 +89261,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89260
89261
|
Yn("type"),
|
|
89261
89262
|
So("fancytype", EE),
|
|
89262
89263
|
Qo("onAction", R)
|
|
89263
|
-
]),
|
|
89264
|
+
]), L8 = function(a) {
|
|
89264
89265
|
return Vo("fancymenuitem", EA, a);
|
|
89265
|
-
},
|
|
89266
|
+
}, U8 = wt([
|
|
89266
89267
|
Yn("type"),
|
|
89267
89268
|
Qo("onSetup", function() {
|
|
89268
89269
|
return R;
|
|
@@ -89270,8 +89271,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89270
89271
|
Qo("onAction", R),
|
|
89271
89272
|
jo("icon")
|
|
89272
89273
|
].concat(Pv)), SE = function(a) {
|
|
89273
|
-
return Vo("menuitem",
|
|
89274
|
-
},
|
|
89274
|
+
return Vo("menuitem", U8, a);
|
|
89275
|
+
}, z8 = wt([
|
|
89275
89276
|
Yn("type"),
|
|
89276
89277
|
mo("getSubmenuItems"),
|
|
89277
89278
|
Qo("onSetup", function() {
|
|
@@ -89279,7 +89280,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89279
89280
|
}),
|
|
89280
89281
|
jo("icon")
|
|
89281
89282
|
].concat(Pv)), kE = function(a) {
|
|
89282
|
-
return Vo("nestedmenuitem",
|
|
89283
|
+
return Vo("nestedmenuitem", z8, a);
|
|
89283
89284
|
}, TE = wt([
|
|
89284
89285
|
Yn("type"),
|
|
89285
89286
|
jo("icon"),
|
|
@@ -89386,7 +89387,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89386
89387
|
})
|
|
89387
89388
|
]
|
|
89388
89389
|
]));
|
|
89389
|
-
},
|
|
89390
|
+
}, H8 = /* @__PURE__ */ Object.freeze({
|
|
89390
89391
|
__proto__: null,
|
|
89391
89392
|
events: OE
|
|
89392
89393
|
}), TA = [
|
|
@@ -89425,7 +89426,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89425
89426
|
}),
|
|
89426
89427
|
Mo("onHide"),
|
|
89427
89428
|
Mo("onShow")
|
|
89428
|
-
],
|
|
89429
|
+
], W8 = function() {
|
|
89429
89430
|
var a = jn(U.none()), c = jn(U.none()), v = function() {
|
|
89430
89431
|
return c.get();
|
|
89431
89432
|
}, b = function(G) {
|
|
@@ -89452,14 +89453,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89452
89453
|
resetTimer: D,
|
|
89453
89454
|
readState: L
|
|
89454
89455
|
});
|
|
89455
|
-
},
|
|
89456
|
+
}, j8 = /* @__PURE__ */ Object.freeze({
|
|
89456
89457
|
__proto__: null,
|
|
89457
|
-
init:
|
|
89458
|
+
init: W8
|
|
89458
89459
|
}), BE = Fa({
|
|
89459
89460
|
fields: TA,
|
|
89460
89461
|
name: "tooltipping",
|
|
89461
|
-
active:
|
|
89462
|
-
state:
|
|
89462
|
+
active: H8,
|
|
89463
|
+
state: j8,
|
|
89463
89464
|
apis: DE
|
|
89464
89465
|
}), PE = function(a) {
|
|
89465
89466
|
return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -89469,9 +89470,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89469
89470
|
"textarea",
|
|
89470
89471
|
"select"
|
|
89471
89472
|
], ME = function(a, c, v) {
|
|
89472
|
-
var b = c.disabled() ? F4 :
|
|
89473
|
+
var b = c.disabled() ? F4 : q8;
|
|
89473
89474
|
b(a, c);
|
|
89474
|
-
},
|
|
89475
|
+
}, G8 = function(a, c) {
|
|
89475
89476
|
return c.useNative === !0 && Le(NA, bs(a.element));
|
|
89476
89477
|
}, AA = function(a) {
|
|
89477
89478
|
return yy(a.element, "disabled");
|
|
@@ -89489,26 +89490,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89489
89490
|
c.disableClass.each(function(x) {
|
|
89490
89491
|
ta(a.element, x);
|
|
89491
89492
|
});
|
|
89492
|
-
var b =
|
|
89493
|
+
var b = G8(a, c) ? IA : $4;
|
|
89493
89494
|
b(a), c.onDisabled(a);
|
|
89494
|
-
},
|
|
89495
|
+
}, q8 = function(a, c, v) {
|
|
89495
89496
|
c.disableClass.each(function(x) {
|
|
89496
89497
|
Sa(a.element, x);
|
|
89497
89498
|
});
|
|
89498
|
-
var b =
|
|
89499
|
+
var b = G8(a, c) ? DA : RE;
|
|
89499
89500
|
b(a), c.onEnabled(a);
|
|
89500
89501
|
}, $E = function(a, c) {
|
|
89501
|
-
return
|
|
89502
|
-
},
|
|
89503
|
-
var x = b ? F4 :
|
|
89502
|
+
return G8(a, c) ? AA(a) : OA(a);
|
|
89503
|
+
}, K8 = function(a, c, v, b) {
|
|
89504
|
+
var x = b ? F4 : q8;
|
|
89504
89505
|
x(a, c);
|
|
89505
|
-
},
|
|
89506
|
+
}, Y8 = /* @__PURE__ */ Object.freeze({
|
|
89506
89507
|
__proto__: null,
|
|
89507
|
-
enable:
|
|
89508
|
+
enable: q8,
|
|
89508
89509
|
disable: F4,
|
|
89509
89510
|
isDisabled: $E,
|
|
89510
89511
|
onLoad: ME,
|
|
89511
|
-
set:
|
|
89512
|
+
set: K8
|
|
89512
89513
|
}), FE = function(a, c) {
|
|
89513
89514
|
return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
|
|
89514
89515
|
}, VE = function(a, c) {
|
|
@@ -89532,7 +89533,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89532
89533
|
fields: BA,
|
|
89533
89534
|
name: "disabling",
|
|
89534
89535
|
active: LE,
|
|
89535
|
-
apis:
|
|
89536
|
+
apis: Y8
|
|
89536
89537
|
}), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
|
|
89537
89538
|
var c = a.getParam("skin"), v = a.getParam("skin_url");
|
|
89538
89539
|
if (c !== !1) {
|
|
@@ -89554,17 +89555,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89554
89555
|
return U.from(a.getParam("min_height")).filter(O);
|
|
89555
89556
|
}, L4 = function(a) {
|
|
89556
89557
|
return U.from(a.getParam("max_width")).filter(O);
|
|
89557
|
-
},
|
|
89558
|
+
}, X8 = function(a) {
|
|
89558
89559
|
return U.from(a.getParam("max_height")).filter(O);
|
|
89559
89560
|
}, jE = function(a) {
|
|
89560
89561
|
return U.from(a.getParam("style_formats")).filter(d);
|
|
89561
|
-
},
|
|
89562
|
+
}, J8 = function(a) {
|
|
89562
89563
|
return a.getParam("style_formats_merge", !1, "boolean");
|
|
89563
89564
|
}, GE = function(a) {
|
|
89564
89565
|
return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
|
|
89565
89566
|
}, MA = function(a) {
|
|
89566
89567
|
return a.getParam("removed_menuitems", "");
|
|
89567
|
-
},
|
|
89568
|
+
}, Z8 = function(a) {
|
|
89568
89569
|
return a.getParam("menubar", !0, "boolean") !== !1;
|
|
89569
89570
|
}, Ag = function(a) {
|
|
89570
89571
|
var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
|
|
@@ -89593,10 +89594,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89593
89594
|
})(bm || (bm = {}));
|
|
89594
89595
|
var RA = function(a) {
|
|
89595
89596
|
return a.getParam("toolbar_groups", {}, "object");
|
|
89596
|
-
},
|
|
89597
|
+
}, Q8 = function(a) {
|
|
89597
89598
|
return a.getParam("toolbar_location", bm.auto, "string");
|
|
89598
|
-
},
|
|
89599
|
-
return
|
|
89599
|
+
}, e6 = function(a) {
|
|
89600
|
+
return Q8(a) === bm.bottom;
|
|
89600
89601
|
}, $A = function(a) {
|
|
89601
89602
|
return a.getParam("fixed_toolbar_container", "", "string");
|
|
89602
89603
|
}, FA = function(a) {
|
|
@@ -89618,14 +89619,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89618
89619
|
return c.getOrThunk(function() {
|
|
89619
89620
|
return Nd(mi(rr.fromDom(a.getElement())));
|
|
89620
89621
|
});
|
|
89621
|
-
},
|
|
89622
|
-
return a.inline && !
|
|
89622
|
+
}, t6 = function(a) {
|
|
89623
|
+
return a.inline && !Z8(a) && !Ag(a) && !k_(a);
|
|
89623
89624
|
}, z4 = function(a) {
|
|
89624
89625
|
var c = a.getParam("toolbar_sticky", !1, "boolean");
|
|
89625
|
-
return (c || a.inline) && !U4(a) && !
|
|
89626
|
+
return (c || a.inline) && !U4(a) && !t6(a);
|
|
89626
89627
|
}, LA = function(a) {
|
|
89627
89628
|
return a.getParam("draggable_modal", !1, "boolean");
|
|
89628
|
-
},
|
|
89629
|
+
}, n6 = function(a) {
|
|
89629
89630
|
var c = a.getParam("menu");
|
|
89630
89631
|
return c ? Vr(c, function(v) {
|
|
89631
89632
|
return ve(ve({}, v), { items: v.items });
|
|
@@ -89644,9 +89645,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89644
89645
|
return a.getParam("typeahead_urls") === !1;
|
|
89645
89646
|
}, qA = function(a) {
|
|
89646
89647
|
return a.getParam("anchor_top", "#top");
|
|
89647
|
-
},
|
|
89648
|
+
}, r6 = function(a) {
|
|
89648
89649
|
return a.getParam("anchor_bottom", "#bottom");
|
|
89649
|
-
},
|
|
89650
|
+
}, o6 = function(a) {
|
|
89650
89651
|
var c = a.getParam("file_picker_validator_handler", void 0, "function");
|
|
89651
89652
|
return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
|
|
89652
89653
|
}, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
|
|
@@ -89708,16 +89709,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89708
89709
|
return ts(function(v) {
|
|
89709
89710
|
return W4(a, v)(c.get());
|
|
89710
89711
|
});
|
|
89711
|
-
},
|
|
89712
|
+
}, a6, XA = function(a, c) {
|
|
89712
89713
|
return tc(function(v, b) {
|
|
89713
89714
|
W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
|
|
89714
89715
|
});
|
|
89715
|
-
}, JA = (
|
|
89716
|
+
}, JA = (a6 = {}, a6[Pl()] = [
|
|
89716
89717
|
"disabling",
|
|
89717
89718
|
"alloy.base.behaviour",
|
|
89718
89719
|
"toggling",
|
|
89719
89720
|
"item-events"
|
|
89720
|
-
],
|
|
89721
|
+
], a6), Ig = function(a) {
|
|
89721
89722
|
return Pt(a, function(c) {
|
|
89722
89723
|
return c.toArray();
|
|
89723
89724
|
});
|
|
@@ -89748,7 +89749,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89748
89749
|
value: a.value,
|
|
89749
89750
|
meta: ve({ text: a.text.getOr("") }, a.meta)
|
|
89750
89751
|
};
|
|
89751
|
-
},
|
|
89752
|
+
}, i6 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
|
|
89752
89753
|
var c = {
|
|
89753
89754
|
alt: "⌥",
|
|
89754
89755
|
ctrl: "⌃",
|
|
@@ -89758,11 +89759,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89758
89759
|
}, v = {
|
|
89759
89760
|
meta: "Ctrl",
|
|
89760
89761
|
access: "Shift+Alt"
|
|
89761
|
-
}, b =
|
|
89762
|
+
}, b = i6.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
|
|
89762
89763
|
var F = D.toLowerCase().trim();
|
|
89763
89764
|
return Po(b, F) ? b[F] : D;
|
|
89764
89765
|
});
|
|
89765
|
-
return
|
|
89766
|
+
return i6.mac ? N.join("") : N.join("+");
|
|
89766
89767
|
}, ZA = function(a) {
|
|
89767
89768
|
return {
|
|
89768
89769
|
dom: {
|
|
@@ -89775,7 +89776,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89775
89776
|
return {
|
|
89776
89777
|
dom: {
|
|
89777
89778
|
tag: "div",
|
|
89778
|
-
classes: [
|
|
89779
|
+
classes: [O8]
|
|
89779
89780
|
},
|
|
89780
89781
|
components: [Vf(Lu.translate(a))]
|
|
89781
89782
|
};
|
|
@@ -89791,7 +89792,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89791
89792
|
return {
|
|
89792
89793
|
dom: {
|
|
89793
89794
|
tag: "div",
|
|
89794
|
-
classes: [
|
|
89795
|
+
classes: [O8]
|
|
89795
89796
|
},
|
|
89796
89797
|
components: [{
|
|
89797
89798
|
dom: {
|
|
@@ -89834,7 +89835,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89834
89835
|
}
|
|
89835
89836
|
};
|
|
89836
89837
|
}, tI = function(a, c) {
|
|
89837
|
-
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA :
|
|
89838
|
+
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B8, x = function() {
|
|
89838
89839
|
switch (a.valign) {
|
|
89839
89840
|
case "top":
|
|
89840
89841
|
return sA;
|
|
@@ -89869,7 +89870,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89869
89870
|
};
|
|
89870
89871
|
}, rI = function(a, c, v, b) {
|
|
89871
89872
|
var x = "custom", N = "remove", D = function() {
|
|
89872
|
-
var F =
|
|
89873
|
+
var F = I8, L = v.getOr(""), G = a.map(function(ee) {
|
|
89873
89874
|
return { title: b.translate(ee) };
|
|
89874
89875
|
}).getOr({}), Z = {
|
|
89875
89876
|
tag: "div",
|
|
@@ -89900,14 +89901,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89900
89901
|
tag: "div",
|
|
89901
89902
|
classes: [
|
|
89902
89903
|
Sg,
|
|
89903
|
-
|
|
89904
|
+
A8
|
|
89904
89905
|
].concat(a ? [aA] : [])
|
|
89905
89906
|
}, v);
|
|
89906
|
-
},
|
|
89907
|
+
}, l6 = function(a, c, v, b, x) {
|
|
89907
89908
|
var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
|
|
89908
89909
|
return a.textContent.map(b);
|
|
89909
89910
|
}, function(G) {
|
|
89910
|
-
return U.some(tS(G, [
|
|
89911
|
+
return U.some(tS(G, [O8]));
|
|
89911
89912
|
}), L = {
|
|
89912
89913
|
dom: oS(x, a.ariaLabel),
|
|
89913
89914
|
optComponents: [
|
|
@@ -89945,8 +89946,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89945
89946
|
}, function(L) {
|
|
89946
89947
|
return Po(L, "style") ? re(QA, L.style) : eS;
|
|
89947
89948
|
});
|
|
89948
|
-
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) :
|
|
89949
|
-
},
|
|
89949
|
+
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l6(a, D, v, F, N);
|
|
89950
|
+
}, s6 = function(a, c) {
|
|
89950
89951
|
return cr(a, "tooltipWorker").map(function(v) {
|
|
89951
89952
|
return [BE.config({
|
|
89952
89953
|
lazySink: c.getSink,
|
|
@@ -90005,7 +90006,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90005
90006
|
},
|
|
90006
90007
|
onSetup: V(R),
|
|
90007
90008
|
triggersSubmenu: !1,
|
|
90008
|
-
itemBehaviours:
|
|
90009
|
+
itemBehaviours: s6(a.meta, D)
|
|
90009
90010
|
}, L, N, D.providers);
|
|
90010
90011
|
}, sS = function(a, c) {
|
|
90011
90012
|
return Ge(a, function(v) {
|
|
@@ -90104,17 +90105,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90104
90105
|
selected: a.active
|
|
90105
90106
|
}
|
|
90106
90107
|
});
|
|
90107
|
-
},
|
|
90108
|
+
}, u6 = Kp(ll(), qi()), uS = function(a) {
|
|
90108
90109
|
return { value: a };
|
|
90109
90110
|
}, 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) {
|
|
90110
90111
|
return cS.test(a) || fS.test(a);
|
|
90111
|
-
},
|
|
90112
|
+
}, c6 = function(a) {
|
|
90112
90113
|
var c = a.value.replace(cS, function(v, b, x, N) {
|
|
90113
90114
|
return b + b + x + x + N + N;
|
|
90114
90115
|
});
|
|
90115
90116
|
return { value: c };
|
|
90116
|
-
},
|
|
90117
|
-
var c =
|
|
90117
|
+
}, f6 = function(a) {
|
|
90118
|
+
var c = c6(a), v = fS.exec(c.value);
|
|
90118
90119
|
return v === null ? [
|
|
90119
90120
|
"FFFFFF",
|
|
90120
90121
|
"FF",
|
|
@@ -90127,14 +90128,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90127
90128
|
}, G4 = function(a) {
|
|
90128
90129
|
var c = D_(a.red) + D_(a.green) + D_(a.blue);
|
|
90129
90130
|
return uS(c);
|
|
90130
|
-
}, dS = Math.min, hS = Math.max, Cm = Math.round,
|
|
90131
|
+
}, 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) {
|
|
90131
90132
|
return {
|
|
90132
90133
|
red: a,
|
|
90133
90134
|
green: c,
|
|
90134
90135
|
blue: v,
|
|
90135
90136
|
alpha: b
|
|
90136
90137
|
};
|
|
90137
|
-
},
|
|
90138
|
+
}, h6 = function(a) {
|
|
90138
90139
|
var c = parseInt(a, 10);
|
|
90139
90140
|
return c.toString() === a && c >= 0 && c <= 255;
|
|
90140
90141
|
}, vS = function(a) {
|
|
@@ -90166,7 +90167,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90166
90167
|
}
|
|
90167
90168
|
return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
|
|
90168
90169
|
}, O_ = function(a) {
|
|
90169
|
-
var c =
|
|
90170
|
+
var c = f6(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
|
|
90170
90171
|
return Mv(v, b, x, 1);
|
|
90171
90172
|
}, pS = function(a, c, v, b) {
|
|
90172
90173
|
var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
|
|
@@ -90174,7 +90175,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90174
90175
|
}, uI = function(a) {
|
|
90175
90176
|
if (a === "transparent")
|
|
90176
90177
|
return U.some(Mv(0, 0, 0, 0));
|
|
90177
|
-
var c =
|
|
90178
|
+
var c = d6.exec(a);
|
|
90178
90179
|
if (c !== null)
|
|
90179
90180
|
return U.some(pS(c[1], c[2], c[3], "1"));
|
|
90180
90181
|
var v = q4.exec(a);
|
|
@@ -90187,7 +90188,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90187
90188
|
return a.fire("SkinLoadError", c);
|
|
90188
90189
|
}, dI = function(a) {
|
|
90189
90190
|
return a.fire("ResizeEditor");
|
|
90190
|
-
},
|
|
90191
|
+
}, v6 = function(a, c) {
|
|
90191
90192
|
return a.fire("ResizeContent", c);
|
|
90192
90193
|
}, hI = function(a, c) {
|
|
90193
90194
|
return a.fire("ScrollContent", c);
|
|
@@ -90322,7 +90323,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90322
90323
|
text: "White",
|
|
90323
90324
|
value: "#ffffff"
|
|
90324
90325
|
}
|
|
90325
|
-
], yS = pI(10),
|
|
90326
|
+
], yS = pI(10), p6 = function(a) {
|
|
90326
90327
|
var c = [], v = document.createElement("canvas");
|
|
90327
90328
|
v.height = 1, v.width = 1;
|
|
90328
90329
|
for (var b = v.getContext("2d"), x = function(F, L) {
|
|
@@ -90347,9 +90348,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90347
90348
|
return a.getParam("custom_colors") !== !1;
|
|
90348
90349
|
}, gI = function(a) {
|
|
90349
90350
|
return a.getParam("color_map");
|
|
90350
|
-
},
|
|
90351
|
+
}, m6 = function(a) {
|
|
90351
90352
|
var c = gI(a);
|
|
90352
|
-
return c !== void 0 ?
|
|
90353
|
+
return c !== void 0 ? p6(c) : mI;
|
|
90353
90354
|
}, _I = function() {
|
|
90354
90355
|
return Ge(yS.state(), function(a) {
|
|
90355
90356
|
return {
|
|
@@ -90383,7 +90384,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90383
90384
|
}, xI = function(a) {
|
|
90384
90385
|
return Math.max(5, Math.ceil(Math.sqrt(a)));
|
|
90385
90386
|
}, CS = function(a) {
|
|
90386
|
-
var c =
|
|
90387
|
+
var c = m6(a), v = xI(c.length);
|
|
90387
90388
|
return Xi(a, v);
|
|
90388
90389
|
}, EI = function(a) {
|
|
90389
90390
|
var c = "choiceitem", v = {
|
|
@@ -90401,7 +90402,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90401
90402
|
v,
|
|
90402
90403
|
b
|
|
90403
90404
|
] : [v];
|
|
90404
|
-
},
|
|
90405
|
+
}, g6 = function(a, c, v, b) {
|
|
90405
90406
|
if (v === "custom") {
|
|
90406
90407
|
var x = NS(a);
|
|
90407
90408
|
x(function(N) {
|
|
@@ -90435,12 +90436,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90435
90436
|
}).getOr(!1);
|
|
90436
90437
|
},
|
|
90437
90438
|
columns: CS(a),
|
|
90438
|
-
fetch: ES(
|
|
90439
|
+
fetch: ES(m6(a), bS(a)),
|
|
90439
90440
|
onAction: function(N) {
|
|
90440
|
-
x.get() !== null &&
|
|
90441
|
+
x.get() !== null && g6(a, v, x.get(), R);
|
|
90441
90442
|
},
|
|
90442
90443
|
onItemAction: function(N, D) {
|
|
90443
|
-
|
|
90444
|
+
g6(a, v, D, function(F) {
|
|
90444
90445
|
x.set(F), vI(a, {
|
|
90445
90446
|
name: c,
|
|
90446
90447
|
color: F
|
|
@@ -90466,7 +90467,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90466
90467
|
type: "fancymenuitem",
|
|
90467
90468
|
fancytype: "colorswatch",
|
|
90468
90469
|
onAction: function(x) {
|
|
90469
|
-
|
|
90470
|
+
g6(a, v, x.value, R);
|
|
90470
90471
|
}
|
|
90471
90472
|
}];
|
|
90472
90473
|
}
|
|
@@ -90519,9 +90520,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90519
90520
|
CI(a);
|
|
90520
90521
|
var c = jn(null), v = jn(null);
|
|
90521
90522
|
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");
|
|
90522
|
-
},
|
|
90523
|
+
}, _6 = function(a, c, v, b, x, N, D, F) {
|
|
90523
90524
|
var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
|
|
90524
|
-
return
|
|
90525
|
+
return F8(a, L, Z, b, x);
|
|
90525
90526
|
}, kI = function(a, c, v, b, x, N, D) {
|
|
90526
90527
|
return sh(Ge(a, function(F) {
|
|
90527
90528
|
return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
|
|
@@ -90565,11 +90566,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90565
90566
|
mode: "matrix",
|
|
90566
90567
|
selectors: {
|
|
90567
90568
|
row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
|
|
90568
|
-
cell: c === "color" ? "." +
|
|
90569
|
+
cell: c === "color" ? "." + I8 : "." + A8
|
|
90569
90570
|
}
|
|
90570
90571
|
};
|
|
90571
90572
|
}, NI = function(a, c) {
|
|
90572
|
-
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N =
|
|
90573
|
+
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _6(Tr("menu-value"), v, function(F) {
|
|
90573
90574
|
a.onAction({ value: F });
|
|
90574
90575
|
}, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
|
|
90575
90576
|
markers: kg(x),
|
|
@@ -90583,16 +90584,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90583
90584
|
classes: ["tox-fancymenuitem"]
|
|
90584
90585
|
},
|
|
90585
90586
|
autofocus: !0,
|
|
90586
|
-
components: [
|
|
90587
|
+
components: [u6.widget(id.sketch(D))]
|
|
90587
90588
|
};
|
|
90588
|
-
}, AS = Tr("cell-over"),
|
|
90589
|
+
}, AS = Tr("cell-over"), y6 = Tr("cell-execute"), AI = function(a, c, v) {
|
|
90589
90590
|
var b, x = function(F) {
|
|
90590
90591
|
return _r(F, AS, {
|
|
90591
90592
|
row: a,
|
|
90592
90593
|
col: c
|
|
90593
90594
|
});
|
|
90594
90595
|
}, N = function(F) {
|
|
90595
|
-
return _r(F,
|
|
90596
|
+
return _r(F, y6, {
|
|
90596
90597
|
row: a,
|
|
90597
90598
|
col: c
|
|
90598
90599
|
});
|
|
@@ -90653,7 +90654,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90653
90654
|
classes: ["tox-fancymenuitem"]
|
|
90654
90655
|
},
|
|
90655
90656
|
autofocus: !0,
|
|
90656
|
-
components: [
|
|
90657
|
+
components: [u6.widget({
|
|
90657
90658
|
dom: {
|
|
90658
90659
|
tag: "div",
|
|
90659
90660
|
classes: ["tox-insert-table-picker"]
|
|
@@ -90665,7 +90666,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90665
90666
|
var G = L.event.row, Z = L.event.col;
|
|
90666
90667
|
DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
|
|
90667
90668
|
}),
|
|
90668
|
-
Fs(
|
|
90669
|
+
Fs(y6, function(D, F, L) {
|
|
90669
90670
|
a.onAction({
|
|
90670
90671
|
numRows: L.event.row + 1,
|
|
90671
90672
|
numColumns: L.event.col + 1
|
|
@@ -90763,7 +90764,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90763
90764
|
dom: ve({
|
|
90764
90765
|
tag: "div",
|
|
90765
90766
|
classes: [
|
|
90766
|
-
|
|
90767
|
+
A8,
|
|
90767
90768
|
tA
|
|
90768
90769
|
]
|
|
90769
90770
|
}, c),
|
|
@@ -90841,7 +90842,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90841
90842
|
return U.some(MS(F));
|
|
90842
90843
|
});
|
|
90843
90844
|
case "fancymenuitem":
|
|
90844
|
-
return
|
|
90845
|
+
return L8(a).fold(mh, function(F) {
|
|
90845
90846
|
return UI(D(F), v);
|
|
90846
90847
|
});
|
|
90847
90848
|
default:
|
|
@@ -90862,7 +90863,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90862
90863
|
Z.onAction(ee), v(Z.value, Z.meta);
|
|
90863
90864
|
}
|
|
90864
90865
|
}), x, N, {
|
|
90865
|
-
itemBehaviours:
|
|
90866
|
+
itemBehaviours: s6(Z.meta, N),
|
|
90866
90867
|
cardText: {
|
|
90867
90868
|
matchText: c,
|
|
90868
90869
|
highlightOn: D
|
|
@@ -90876,7 +90877,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90876
90877
|
});
|
|
90877
90878
|
}
|
|
90878
90879
|
}));
|
|
90879
|
-
},
|
|
90880
|
+
}, b6 = function(a, c, v, b, x) {
|
|
90880
90881
|
var N = P4(c), D = sh(Ge(c, function(L) {
|
|
90881
90882
|
var G = function(ee) {
|
|
90882
90883
|
return x ? !ee.hasOwnProperty("text") : N;
|
|
@@ -90884,7 +90885,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90884
90885
|
return RS(ee, v, b, G(ee), x);
|
|
90885
90886
|
};
|
|
90886
90887
|
return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
|
|
90887
|
-
})), F = x ? pA :
|
|
90888
|
+
})), F = x ? pA : F8;
|
|
90888
90889
|
return F(a, N, D, 1, "normal");
|
|
90889
90890
|
}, $S = function(a) {
|
|
90890
90891
|
return hm.singleData(a.value, a);
|
|
@@ -90909,7 +90910,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90909
90910
|
});
|
|
90910
90911
|
})])
|
|
90911
90912
|
};
|
|
90912
|
-
},
|
|
90913
|
+
}, w6 = function(a, c) {
|
|
90913
90914
|
var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
|
|
90914
90915
|
dom: {
|
|
90915
90916
|
tag: "div",
|
|
@@ -90944,7 +90945,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90944
90945
|
var jt = rn.items;
|
|
90945
90946
|
return HI(jt, rn.matchText, function(nn, Kt) {
|
|
90946
90947
|
var En = a.selection.getRng();
|
|
90947
|
-
|
|
90948
|
+
x8(a.dom, En, qe).fold(function() {
|
|
90948
90949
|
return console.error("Lost context. Cursor probably moved");
|
|
90949
90950
|
}, function(wr) {
|
|
90950
90951
|
var Jn = wr.range, fn = {
|
|
@@ -90977,10 +90978,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90977
90978
|
anchor: "node",
|
|
90978
90979
|
root: rr.fromDom(a.getBody()),
|
|
90979
90980
|
node: U.from(qe.element)
|
|
90980
|
-
}, id.sketch(WI(
|
|
90981
|
+
}, id.sketch(WI(F8("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
|
|
90981
90982
|
}, Te = function(qe) {
|
|
90982
90983
|
return v.get().map(function(St) {
|
|
90983
|
-
return
|
|
90984
|
+
return x8(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
|
|
90984
90985
|
return lE(a, G, At, qe);
|
|
90985
90986
|
});
|
|
90986
90987
|
}).getOrThunk(function() {
|
|
@@ -91011,7 +91012,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
91011
91012
|
}
|
|
91012
91013
|
};
|
|
91013
91014
|
a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
|
|
91014
|
-
}, jI = { register:
|
|
91015
|
+
}, jI = { register: w6 }, FS = Pe, Tc = function(a, c, v) {
|
|
91015
91016
|
return D0(a, c, FS, v);
|
|
91016
91017
|
}, P_ = function(a, c, v) {
|
|
91017
91018
|
return Nw(a, c, FS, v);
|
|
@@ -91580,19 +91581,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91580
91581
|
name: "tabstopping",
|
|
91581
91582
|
active: u9
|
|
91582
91583
|
}), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
|
|
91583
|
-
var x =
|
|
91584
|
+
var x = C6(a, c, v, b);
|
|
91584
91585
|
return zo.sketch(x);
|
|
91585
91586
|
}, d9 = function(a, c) {
|
|
91586
91587
|
return Mg(a, c, [], []);
|
|
91587
|
-
},
|
|
91588
|
+
}, C6 = function(a, c, v, b) {
|
|
91588
91589
|
return {
|
|
91589
|
-
dom:
|
|
91590
|
+
dom: x6(v),
|
|
91590
91591
|
components: a.toArray().concat([c]),
|
|
91591
91592
|
fieldBehaviours: Mn(b)
|
|
91592
91593
|
};
|
|
91593
91594
|
}, h9 = function() {
|
|
91594
|
-
return
|
|
91595
|
-
},
|
|
91595
|
+
return x6([]);
|
|
91596
|
+
}, x6 = function(a) {
|
|
91596
91597
|
return {
|
|
91597
91598
|
tag: "div",
|
|
91598
91599
|
classes: ["tox-form__group"].concat(a)
|
|
@@ -91605,7 +91606,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91605
91606
|
innerHtml: c.translate(a)
|
|
91606
91607
|
}
|
|
91607
91608
|
});
|
|
91608
|
-
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"),
|
|
91609
|
+
}, 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) {
|
|
91609
91610
|
var v, b = a.label.map(function(ee) {
|
|
91610
91611
|
return Rv(ee, c);
|
|
91611
91612
|
}), x = function(ee) {
|
|
@@ -92206,7 +92207,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92206
92207
|
}, function(b) {
|
|
92207
92208
|
return b.validate(a);
|
|
92208
92209
|
});
|
|
92209
|
-
},
|
|
92210
|
+
}, S6 = function(a, c, v) {
|
|
92210
92211
|
return c.notify.each(function(b) {
|
|
92211
92212
|
b.onValidate(a);
|
|
92212
92213
|
}), uk(a, c).map(function(b) {
|
|
@@ -92224,14 +92225,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92224
92225
|
markValid: lk,
|
|
92225
92226
|
markInvalid: sk,
|
|
92226
92227
|
query: uk,
|
|
92227
|
-
run:
|
|
92228
|
+
run: S6,
|
|
92228
92229
|
isInvalid: b9
|
|
92229
92230
|
}), w9 = function(a, c) {
|
|
92230
92231
|
return a.validator.map(function(v) {
|
|
92231
92232
|
return Oo([wn(v.onEvent, function(b) {
|
|
92232
|
-
|
|
92233
|
+
S6(b, a, c).get(z);
|
|
92233
92234
|
})].concat(v.validateOnLoad ? [Ra(function(b) {
|
|
92234
|
-
|
|
92235
|
+
S6(b, a, c).get(R);
|
|
92235
92236
|
})] : []));
|
|
92236
92237
|
}).getOr({});
|
|
92237
92238
|
}, C9 = /* @__PURE__ */ Object.freeze({
|
|
@@ -92361,7 +92362,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92361
92362
|
})));
|
|
92362
92363
|
});
|
|
92363
92364
|
});
|
|
92364
|
-
},
|
|
92365
|
+
}, k6 = function(a, c, v, b, x, N, D) {
|
|
92365
92366
|
var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
|
|
92366
92367
|
return L.map(function(G) {
|
|
92367
92368
|
return G.fold(function() {
|
|
@@ -92373,7 +92374,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92373
92374
|
}, n3 = function(a, c, v, b, x, N, D) {
|
|
92374
92375
|
return wo.close(b), sl.pure(b);
|
|
92375
92376
|
}, Vg = function(a, c, v, b, x, N) {
|
|
92376
|
-
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 :
|
|
92377
|
+
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k6;
|
|
92377
92378
|
return L(a, c, v, D, b, x, N);
|
|
92378
92379
|
}, T9 = function(a, c, v) {
|
|
92379
92380
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
@@ -92394,11 +92395,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92394
92395
|
};
|
|
92395
92396
|
});
|
|
92396
92397
|
});
|
|
92397
|
-
},
|
|
92398
|
+
}, T6 = function(a) {
|
|
92398
92399
|
wo.getState(a).each(function(c) {
|
|
92399
92400
|
hm.repositionMenus(c);
|
|
92400
92401
|
});
|
|
92401
|
-
},
|
|
92402
|
+
}, N6 = function(a, c, v) {
|
|
92402
92403
|
var b = lc(), x = function(F, L) {
|
|
92403
92404
|
var G = t3(a, c);
|
|
92404
92405
|
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);
|
|
@@ -92438,13 +92439,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92438
92439
|
});
|
|
92439
92440
|
}
|
|
92440
92441
|
}),
|
|
92441
|
-
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition:
|
|
92442
|
+
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T6 })) })
|
|
92442
92443
|
])
|
|
92443
92444
|
};
|
|
92444
|
-
},
|
|
92445
|
+
}, A6 = function(a) {
|
|
92445
92446
|
var c = Ga.getCoupled(a, "sandbox");
|
|
92446
|
-
|
|
92447
|
-
},
|
|
92447
|
+
T6(c);
|
|
92448
|
+
}, I6 = function() {
|
|
92448
92449
|
return [
|
|
92449
92450
|
Ot("sandboxClasses", []),
|
|
92450
92451
|
is.field("sandboxBehaviours", [
|
|
@@ -92474,7 +92475,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92474
92475
|
Ot("matchWidth", !1),
|
|
92475
92476
|
Ot("useMinWidth", !1),
|
|
92476
92477
|
Do("role")
|
|
92477
|
-
].concat(
|
|
92478
|
+
].concat(I6())), pk = V([
|
|
92478
92479
|
tu({
|
|
92479
92480
|
schema: [zf()],
|
|
92480
92481
|
name: "menu",
|
|
@@ -92515,7 +92516,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92515
92516
|
}, Z, b, R, Uu.HighlightFirst).get(R);
|
|
92516
92517
|
},
|
|
92517
92518
|
repositionMenus: function(Z) {
|
|
92518
|
-
Vt.isOn(Z) &&
|
|
92519
|
+
Vt.isOn(Z) && A6(Z);
|
|
92519
92520
|
}
|
|
92520
92521
|
}, G = function(Z, ee) {
|
|
92521
92522
|
return Nf(Z), U.some(!0);
|
|
@@ -92532,7 +92533,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92532
92533
|
Ga.config({
|
|
92533
92534
|
others: {
|
|
92534
92535
|
sandbox: function(Z) {
|
|
92535
|
-
return
|
|
92536
|
+
return N6(a, Z, {
|
|
92536
92537
|
onOpen: function() {
|
|
92537
92538
|
return Vt.on(Z);
|
|
92538
92539
|
},
|
|
@@ -92636,7 +92637,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92636
92637
|
return sl.nu(function(b) {
|
|
92637
92638
|
return a.fetch(b);
|
|
92638
92639
|
}).map(function(b) {
|
|
92639
|
-
return U.from($S(to(
|
|
92640
|
+
return U.from($S(to(_6(Tr("menu-value"), b, function(x) {
|
|
92640
92641
|
a.onItemAction(v, x);
|
|
92641
92642
|
}, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
|
|
92642
92643
|
});
|
|
@@ -92854,7 +92855,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92854
92855
|
Ek
|
|
92855
92856
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92856
92857
|
return a.type.indexOf("touch") !== -1;
|
|
92857
|
-
},
|
|
92858
|
+
}, D6 = function(a) {
|
|
92858
92859
|
var c = a.event.raw;
|
|
92859
92860
|
if (V9(c)) {
|
|
92860
92861
|
var v = c;
|
|
@@ -92885,12 +92886,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92885
92886
|
return a.model.maxY + 1;
|
|
92886
92887
|
}, z_ = function(a, c, v) {
|
|
92887
92888
|
return c(a) - v(a);
|
|
92888
|
-
},
|
|
92889
|
+
}, O6 = function(a) {
|
|
92889
92890
|
return z_(a, Nl, Sm);
|
|
92890
92891
|
}, i3 = function(a) {
|
|
92891
92892
|
return z_(a, Vv, lu);
|
|
92892
92893
|
}, kk = function(a) {
|
|
92893
|
-
return
|
|
92894
|
+
return O6(a) / 2;
|
|
92894
92895
|
}, Tk = function(a) {
|
|
92895
92896
|
return i3(a) / 2;
|
|
92896
92897
|
}, Lg = function(a) {
|
|
@@ -92913,7 +92914,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92913
92914
|
return s3(a, Em);
|
|
92914
92915
|
}, cd = function(a) {
|
|
92915
92916
|
return a.model.value.get();
|
|
92916
|
-
},
|
|
92917
|
+
}, B6 = function(a) {
|
|
92917
92918
|
return { x: a };
|
|
92918
92919
|
}, Pk = function(a) {
|
|
92919
92920
|
return { y: a };
|
|
@@ -92933,7 +92934,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92933
92934
|
}, Rk = function(a, c) {
|
|
92934
92935
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92935
92936
|
}, $k = function(a, c) {
|
|
92936
|
-
Ac(a,
|
|
92937
|
+
Ac(a, B6(U_(c)));
|
|
92937
92938
|
}, u3 = function(a, c) {
|
|
92938
92939
|
Ac(a, Lv(U_(c), Tk(c)));
|
|
92939
92940
|
}, j9 = function(a, c) {
|
|
@@ -92945,12 +92946,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92945
92946
|
}, q9 = function(a, c) {
|
|
92946
92947
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92947
92948
|
}, K9 = function(a, c) {
|
|
92948
|
-
Ac(a,
|
|
92949
|
+
Ac(a, B6(r3(c)));
|
|
92949
92950
|
}, Y9 = function(a, c) {
|
|
92950
92951
|
Ac(a, Lv(r3(c), Tk(c)));
|
|
92951
92952
|
}, Ug = function(a, c, v, b) {
|
|
92952
92953
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92953
|
-
},
|
|
92954
|
+
}, P6 = function(a, c, v, b) {
|
|
92954
92955
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92955
92956
|
}, Vk = function(a, c, v) {
|
|
92956
92957
|
return Math.max(c, Math.min(v, a));
|
|
@@ -92972,26 +92973,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92972
92973
|
return je;
|
|
92973
92974
|
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92974
92975
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92975
|
-
},
|
|
92976
|
+
}, M6 = function(a) {
|
|
92976
92977
|
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;
|
|
92977
92978
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92978
|
-
}, H_ = "top", Lk = "right", Uk = "bottom",
|
|
92979
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92979
92980
|
return a.element.dom.getBoundingClientRect();
|
|
92980
92981
|
}, Ic = function(a, c) {
|
|
92981
92982
|
return a[c];
|
|
92982
92983
|
}, cs = function(a) {
|
|
92983
92984
|
var c = zu(a);
|
|
92984
|
-
return Ic(c,
|
|
92985
|
+
return Ic(c, R6);
|
|
92985
92986
|
}, Hk = function(a) {
|
|
92986
92987
|
var c = zu(a);
|
|
92987
92988
|
return Ic(c, Lk);
|
|
92988
92989
|
}, c3 = function(a) {
|
|
92989
92990
|
var c = zu(a);
|
|
92990
92991
|
return Ic(c, H_);
|
|
92991
|
-
}, $
|
|
92992
|
+
}, $6 = function(a) {
|
|
92992
92993
|
var c = zu(a);
|
|
92993
92994
|
return Ic(c, Uk);
|
|
92994
|
-
},
|
|
92995
|
+
}, F6 = function(a) {
|
|
92995
92996
|
var c = zu(a);
|
|
92996
92997
|
return Ic(c, zk);
|
|
92997
92998
|
}, Wk = function(a) {
|
|
@@ -93000,7 +93001,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93000
93001
|
}, jk = function(a, c, v) {
|
|
93001
93002
|
return (a + c) / 2 - v;
|
|
93002
93003
|
}, Gk = function(a, c) {
|
|
93003
|
-
var v = zu(a), b = zu(c), x = Ic(v,
|
|
93004
|
+
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
|
|
93004
93005
|
return jk(x, N, D);
|
|
93005
93006
|
}, qk = function(a, c) {
|
|
93006
93007
|
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
@@ -93009,11 +93010,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93009
93010
|
_r(a, L_(), { value: c });
|
|
93010
93011
|
}, d3 = function(a) {
|
|
93011
93012
|
return { x: a };
|
|
93012
|
-
},
|
|
93013
|
+
}, V6 = function(a, c, v) {
|
|
93013
93014
|
var b = {
|
|
93014
93015
|
min: Sm(c),
|
|
93015
93016
|
max: Nl(c),
|
|
93016
|
-
range:
|
|
93017
|
+
range: O6(c),
|
|
93017
93018
|
value: v,
|
|
93018
93019
|
step: Lg(c),
|
|
93019
93020
|
snap: l3(c),
|
|
@@ -93023,11 +93024,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93023
93024
|
hasMaxEdge: Dk(c),
|
|
93024
93025
|
minBound: cs(a),
|
|
93025
93026
|
maxBound: Hk(a),
|
|
93026
|
-
screenRange:
|
|
93027
|
+
screenRange: F6(a)
|
|
93027
93028
|
};
|
|
93028
93029
|
return km(b);
|
|
93029
93030
|
}, Kk = function(a, c, v) {
|
|
93030
|
-
var b =
|
|
93031
|
+
var b = V6(a, c, v), x = d3(b);
|
|
93031
93032
|
return f3(a, x), b;
|
|
93032
93033
|
}, Z9 = function(a, c) {
|
|
93033
93034
|
var v = Sm(c);
|
|
@@ -93036,26 +93037,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93036
93037
|
var v = Nl(c);
|
|
93037
93038
|
f3(a, d3(v));
|
|
93038
93039
|
}, eD = function(a, c, v) {
|
|
93039
|
-
var b = a > 0 ?
|
|
93040
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
|
|
93040
93041
|
return f3(c, d3(x)), U.some(x);
|
|
93041
|
-
},
|
|
93042
|
+
}, L6 = function(a) {
|
|
93042
93043
|
return function(c, v) {
|
|
93043
93044
|
return eD(a, c, v).map(Pe);
|
|
93044
93045
|
};
|
|
93045
93046
|
}, h3 = function(a) {
|
|
93046
|
-
var c =
|
|
93047
|
+
var c = D6(a);
|
|
93047
93048
|
return c.map(function(v) {
|
|
93048
93049
|
return v.left;
|
|
93049
93050
|
});
|
|
93050
93051
|
}, tD = function(a, c, v, b, x) {
|
|
93051
|
-
var N = 0, D =
|
|
93052
|
+
var N = 0, D = F6(a), F = b.bind(function(Z) {
|
|
93052
93053
|
return U.some(Gk(Z, a));
|
|
93053
93054
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93054
93055
|
return U.some(Gk(Z, a));
|
|
93055
93056
|
}).getOr(D), G = {
|
|
93056
93057
|
min: Sm(c),
|
|
93057
93058
|
max: Nl(c),
|
|
93058
|
-
range:
|
|
93059
|
+
range: O6(c),
|
|
93059
93060
|
value: v,
|
|
93060
93061
|
hasMinEdge: Ik(c),
|
|
93061
93062
|
hasMaxEdge: Dk(c),
|
|
@@ -93066,14 +93067,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93066
93067
|
centerMinEdge: F,
|
|
93067
93068
|
centerMaxEdge: L
|
|
93068
93069
|
};
|
|
93069
|
-
return
|
|
93070
|
+
return M6(G);
|
|
93070
93071
|
}, zg = function(a, c, v, b, x, N) {
|
|
93071
93072
|
var D = tD(c, N, v, b, x);
|
|
93072
93073
|
return cs(c) - cs(a) + D;
|
|
93073
93074
|
}, Hg = function(a, c, v, b) {
|
|
93074
93075
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
|
|
93075
93076
|
eo(c.element, "left", N - D + "px");
|
|
93076
|
-
}, Yk =
|
|
93077
|
+
}, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
|
|
93077
93078
|
"top-left": U.none(),
|
|
93078
93079
|
top: U.none(),
|
|
93079
93080
|
"top-right": U.none(),
|
|
@@ -93087,7 +93088,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93087
93088
|
setValueFrom: Kk,
|
|
93088
93089
|
setToMin: Z9,
|
|
93089
93090
|
setToMax: Q9,
|
|
93090
|
-
findValueOfOffset:
|
|
93091
|
+
findValueOfOffset: V6,
|
|
93091
93092
|
getValueFromEvent: h3,
|
|
93092
93093
|
findPositionOfValue: zg,
|
|
93093
93094
|
setPositionFromValue: Hg,
|
|
@@ -93113,28 +93114,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93113
93114
|
hasMinEdge: Ok(c),
|
|
93114
93115
|
hasMaxEdge: Bk(c),
|
|
93115
93116
|
minBound: c3(a),
|
|
93116
|
-
maxBound: $
|
|
93117
|
+
maxBound: $6(a),
|
|
93117
93118
|
screenRange: Wk(a)
|
|
93118
93119
|
};
|
|
93119
93120
|
return km(b);
|
|
93120
93121
|
}, Zk = function(a, c, v) {
|
|
93121
93122
|
var b = g3(a, c, v), x = m3(b);
|
|
93122
93123
|
return p3(a, x), b;
|
|
93123
|
-
},
|
|
93124
|
+
}, U6 = function(a, c) {
|
|
93124
93125
|
var v = lu(c);
|
|
93125
93126
|
p3(a, m3(v));
|
|
93126
93127
|
}, Qk = function(a, c) {
|
|
93127
93128
|
var v = Vv(c);
|
|
93128
93129
|
p3(a, m3(v));
|
|
93129
93130
|
}, fs = function(a, c, v) {
|
|
93130
|
-
var b = a > 0 ?
|
|
93131
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
|
|
93131
93132
|
return p3(c, m3(x)), U.some(x);
|
|
93132
|
-
},
|
|
93133
|
+
}, z6 = function(a) {
|
|
93133
93134
|
return function(c, v) {
|
|
93134
93135
|
return fs(a, c, v).map(Pe);
|
|
93135
93136
|
};
|
|
93136
93137
|
}, oD = function(a) {
|
|
93137
|
-
var c =
|
|
93138
|
+
var c = D6(a);
|
|
93138
93139
|
return c.map(function(v) {
|
|
93139
93140
|
return v.top;
|
|
93140
93141
|
});
|
|
@@ -93152,19 +93153,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93152
93153
|
hasMaxEdge: Bk(c),
|
|
93153
93154
|
minBound: c3(a),
|
|
93154
93155
|
minOffset: N,
|
|
93155
|
-
maxBound: $
|
|
93156
|
+
maxBound: $6(a),
|
|
93156
93157
|
maxOffset: D,
|
|
93157
93158
|
centerMinEdge: F,
|
|
93158
93159
|
centerMaxEdge: L
|
|
93159
93160
|
};
|
|
93160
|
-
return
|
|
93161
|
+
return M6(G);
|
|
93161
93162
|
}, _3 = function(a, c, v, b, x, N) {
|
|
93162
93163
|
var D = aD(c, N, v, b, x);
|
|
93163
93164
|
return c3(c) - c3(a) + D;
|
|
93164
93165
|
}, iD = function(a, c, v, b) {
|
|
93165
93166
|
var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
|
|
93166
93167
|
eo(c.element, "top", N - D + "px");
|
|
93167
|
-
}, lD = U.none, sD = U.none, e5 =
|
|
93168
|
+
}, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
|
|
93168
93169
|
"top-left": U.none(),
|
|
93169
93170
|
top: U.some(W9),
|
|
93170
93171
|
"top-right": U.none(),
|
|
@@ -93176,7 +93177,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93176
93177
|
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93177
93178
|
__proto__: null,
|
|
93178
93179
|
setValueFrom: Zk,
|
|
93179
|
-
setToMin:
|
|
93180
|
+
setToMin: U6,
|
|
93180
93181
|
setToMax: Qk,
|
|
93181
93182
|
findValueOfOffset: g3,
|
|
93182
93183
|
getValueFromEvent: oD,
|
|
@@ -93186,7 +93187,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93186
93187
|
onRight: sD,
|
|
93187
93188
|
onUp: e5,
|
|
93188
93189
|
onDown: fd,
|
|
93189
|
-
edgeActions:
|
|
93190
|
+
edgeActions: H6
|
|
93190
93191
|
}), Tm = function(a, c) {
|
|
93191
93192
|
_r(a, L_(), { value: c });
|
|
93192
93193
|
}, Wg = function(a, c) {
|
|
@@ -93195,10 +93196,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93195
93196
|
y: c
|
|
93196
93197
|
};
|
|
93197
93198
|
}, uD = function(a, c, v) {
|
|
93198
|
-
var b =
|
|
93199
|
+
var b = V6(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
|
|
93199
93200
|
return Tm(a, N), N;
|
|
93200
93201
|
}, cD = function(a, c, v, b) {
|
|
93201
|
-
var x = a > 0 ?
|
|
93202
|
+
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;
|
|
93202
93203
|
return Tm(v, Wg(N, D)), U.some(N);
|
|
93203
93204
|
}, y3 = function(a, c) {
|
|
93204
93205
|
return function(v, b) {
|
|
@@ -93210,8 +93211,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93210
93211
|
}, dD = function(a, c) {
|
|
93211
93212
|
var v = Nl(c), b = Vv(c);
|
|
93212
93213
|
Tm(a, Wg(v, b));
|
|
93213
|
-
},
|
|
93214
|
-
return
|
|
93214
|
+
}, W6 = function(a) {
|
|
93215
|
+
return D6(a);
|
|
93215
93216
|
}, hD = function(a, c, v, b) {
|
|
93216
93217
|
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;
|
|
93217
93218
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
@@ -93229,7 +93230,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93229
93230
|
setValueFrom: uD,
|
|
93230
93231
|
setToMin: fD,
|
|
93231
93232
|
setToMax: dD,
|
|
93232
|
-
getValueFromEvent:
|
|
93233
|
+
getValueFromEvent: W6,
|
|
93233
93234
|
setPositionFromValue: hD,
|
|
93234
93235
|
onLeft: n5,
|
|
93235
93236
|
onRight: vD,
|
|
@@ -93414,7 +93415,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93414
93415
|
return Nm(O_(a));
|
|
93415
93416
|
}, a5 = function(a) {
|
|
93416
93417
|
return G4(vS(a));
|
|
93417
|
-
},
|
|
93418
|
+
}, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93418
93419
|
var v = su.parts.spectrum({
|
|
93419
93420
|
dom: {
|
|
93420
93421
|
tag: "div",
|
|
@@ -93511,7 +93512,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93511
93512
|
return a.getField(c, v);
|
|
93512
93513
|
}),
|
|
93513
93514
|
sketch: Am
|
|
93514
|
-
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"),
|
|
93515
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93515
93516
|
var x = function(fe, Te) {
|
|
93516
93517
|
return ff.config({
|
|
93517
93518
|
invalidClass: c("invalid"),
|
|
@@ -93541,7 +93542,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93541
93542
|
}
|
|
93542
93543
|
});
|
|
93543
93544
|
}, N = function(fe, Te, ze, je, dt) {
|
|
93544
|
-
var qe = a(
|
|
93545
|
+
var qe = a(G6 + "range"), St = zo.parts.label({
|
|
93545
93546
|
dom: {
|
|
93546
93547
|
tag: "label",
|
|
93547
93548
|
innerHtml: ze,
|
|
@@ -93628,12 +93629,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93628
93629
|
var Fr = uS(hr);
|
|
93629
93630
|
je("hex", U.some(hr));
|
|
93630
93631
|
var Rn = O_(Fr);
|
|
93631
|
-
F(bn, Rn), qe(Rn), _r(bn,
|
|
93632
|
+
F(bn, Rn), qe(Rn), _r(bn, j6, { hex: Fr }), G(bn, Fr);
|
|
93632
93633
|
}, rn = function(bn, hr, Fr) {
|
|
93633
93634
|
var Rn = parseInt(Fr, 10);
|
|
93634
93635
|
je(hr, U.some(Rn)), dt().each(function(Nr) {
|
|
93635
93636
|
var Rr = D(bn, Nr);
|
|
93636
|
-
_r(bn,
|
|
93637
|
+
_r(bn, j6, { hex: Rr }), G(bn, Rr);
|
|
93637
93638
|
});
|
|
93638
93639
|
}, jt = function(bn) {
|
|
93639
93640
|
return bn.type === "hex";
|
|
@@ -93642,8 +93643,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93642
93643
|
jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
|
|
93643
93644
|
}, Kt = function(bn) {
|
|
93644
93645
|
return {
|
|
93645
|
-
label: a(
|
|
93646
|
-
description: a(
|
|
93646
|
+
label: a(G6 + bn + ".label"),
|
|
93647
|
+
description: a(G6 + bn + ".description")
|
|
93647
93648
|
};
|
|
93648
93649
|
}, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
|
|
93649
93650
|
return to(Gg.sketch(function(bn) {
|
|
@@ -93654,9 +93655,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93654
93655
|
attributes: { "aria-label": a("aria.color.picker") }
|
|
93655
93656
|
},
|
|
93656
93657
|
components: [
|
|
93657
|
-
bn.field("red", zo.sketch(N(
|
|
93658
|
-
bn.field("green", zo.sketch(N(
|
|
93659
|
-
bn.field("blue", zo.sketch(N(
|
|
93658
|
+
bn.field("red", zo.sketch(N(h6, "red", En.label, En.description, 255))),
|
|
93659
|
+
bn.field("green", zo.sketch(N(h6, "green", wr.label, wr.description, 255))),
|
|
93660
|
+
bn.field("blue", zo.sketch(N(h6, "blue", Jn.label, Jn.description, 255))),
|
|
93660
93661
|
bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
|
|
93661
93662
|
L.asSpec()
|
|
93662
93663
|
],
|
|
@@ -93688,7 +93689,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93688
93689
|
extraApis: {}
|
|
93689
93690
|
});
|
|
93690
93691
|
return ee;
|
|
93691
|
-
},
|
|
93692
|
+
}, q6 = function(a, c) {
|
|
93692
93693
|
var v = su.parts.spectrum({
|
|
93693
93694
|
dom: {
|
|
93694
93695
|
tag: "canvas",
|
|
@@ -93768,7 +93769,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93768
93769
|
return L;
|
|
93769
93770
|
}, bD = function(a, c) {
|
|
93770
93771
|
var v = function(x) {
|
|
93771
|
-
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D =
|
|
93772
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
|
|
93772
93773
|
return (100 - nn) / 100 * 360;
|
|
93773
93774
|
}, L = function(nn) {
|
|
93774
93775
|
return 100 - nn / 360 * 100;
|
|
@@ -93834,7 +93835,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93834
93835
|
],
|
|
93835
93836
|
behaviours: Mn([
|
|
93836
93837
|
so("colour-picker-events", [
|
|
93837
|
-
wn(
|
|
93838
|
+
wn(j6, jt()),
|
|
93838
93839
|
wn(l5, At()),
|
|
93839
93840
|
wn(i5, rn())
|
|
93840
93841
|
]),
|
|
@@ -93858,9 +93859,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93858
93859
|
return b;
|
|
93859
93860
|
}, v5 = function() {
|
|
93860
93861
|
return To.config({ find: U.some });
|
|
93861
|
-
},
|
|
93862
|
+
}, K6 = function(a) {
|
|
93862
93863
|
return To.config({ find: a.getOpt });
|
|
93863
|
-
},
|
|
93864
|
+
}, Y6 = function(a) {
|
|
93864
93865
|
return To.config({
|
|
93865
93866
|
find: function(c) {
|
|
93866
93867
|
return v0(c.element, a).bind(function(v) {
|
|
@@ -93870,8 +93871,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93870
93871
|
});
|
|
93871
93872
|
}, Dc = {
|
|
93872
93873
|
self: v5,
|
|
93873
|
-
memento:
|
|
93874
|
-
childAt:
|
|
93874
|
+
memento: K6,
|
|
93875
|
+
childAt: Y6
|
|
93875
93876
|
}, wD = {
|
|
93876
93877
|
"colorcustom.rgb.red.label": "R",
|
|
93877
93878
|
"colorcustom.rgb.red.description": "Red component",
|
|
@@ -93994,11 +93995,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93994
93995
|
]),
|
|
93995
93996
|
components: [v.asSpec()]
|
|
93996
93997
|
};
|
|
93997
|
-
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"),
|
|
93998
|
+
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
|
|
93998
93999
|
Ot("preprocess", z),
|
|
93999
94000
|
Ot("postprocess", z)
|
|
94000
94001
|
]), m5 = function(a, c) {
|
|
94001
|
-
var v = Na("RepresentingConfigs.memento processors",
|
|
94002
|
+
var v = Na("RepresentingConfigs.memento processors", X6, c);
|
|
94002
94003
|
return or.config({
|
|
94003
94004
|
store: {
|
|
94004
94005
|
mode: "manual",
|
|
@@ -94012,7 +94013,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94012
94013
|
}
|
|
94013
94014
|
}
|
|
94014
94015
|
});
|
|
94015
|
-
},
|
|
94016
|
+
}, J6 = function(a, c, v) {
|
|
94016
94017
|
return or.config(to({
|
|
94017
94018
|
store: {
|
|
94018
94019
|
mode: "manual",
|
|
@@ -94023,7 +94024,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94023
94024
|
return { store: { initialValue: b } };
|
|
94024
94025
|
}).getOr({})));
|
|
94025
94026
|
}, j_ = function(a, c, v) {
|
|
94026
|
-
return
|
|
94027
|
+
return J6(a, function(b) {
|
|
94027
94028
|
return c(b.element);
|
|
94028
94029
|
}, function(b, x) {
|
|
94029
94030
|
return v(b.element, x);
|
|
@@ -94042,7 +94043,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94042
94043
|
}, Uv = {
|
|
94043
94044
|
memento: m5,
|
|
94044
94045
|
withElement: j_,
|
|
94045
|
-
withComp:
|
|
94046
|
+
withComp: J6,
|
|
94046
94047
|
domValue: g5,
|
|
94047
94048
|
domHtml: x3,
|
|
94048
94049
|
memory: _5
|
|
@@ -94260,9 +94261,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94260
94261
|
return a.getContext("2d");
|
|
94261
94262
|
}, OD = function(a, c, v) {
|
|
94262
94263
|
return a.width = c, a.height = v, a;
|
|
94263
|
-
},
|
|
94264
|
+
}, Z6 = function(a) {
|
|
94264
94265
|
return a.naturalWidth || a.width;
|
|
94265
|
-
},
|
|
94266
|
+
}, Q6 = function(a) {
|
|
94266
94267
|
return a.naturalHeight || a.height;
|
|
94267
94268
|
}, BD = function() {
|
|
94268
94269
|
var a = function(ee) {
|
|
@@ -94433,7 +94434,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94433
94434
|
}, tx = function(a) {
|
|
94434
94435
|
return ex(a).then(function(c) {
|
|
94435
94436
|
$D(c);
|
|
94436
|
-
var v = qg(
|
|
94437
|
+
var v = qg(Z6(c), Q6(c)), b = Oc(v);
|
|
94437
94438
|
return b.drawImage(c, 0, 0), v;
|
|
94438
94439
|
});
|
|
94439
94440
|
}, E5 = function(a) {
|
|
@@ -94816,7 +94817,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94816
94817
|
]), N5 = WD(function(a, c) {
|
|
94817
94818
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94818
94819
|
}), A5 = function(a, c, v) {
|
|
94819
|
-
var b =
|
|
94820
|
+
var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
|
|
94820
94821
|
(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);
|
|
94821
94822
|
var L = ZD(a, N, D);
|
|
94822
94823
|
return F ? L.then(function(G) {
|
|
@@ -94824,7 +94825,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94824
94825
|
}) : L;
|
|
94825
94826
|
}, ZD = function(a, c, v) {
|
|
94826
94827
|
return new hd(function(b) {
|
|
94827
|
-
var x =
|
|
94828
|
+
var x = Z6(a), N = Q6(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
|
|
94828
94829
|
G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
|
|
94829
94830
|
});
|
|
94830
94831
|
}, rx = function(a, c) {
|
|
@@ -95059,8 +95060,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95059
95060
|
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95060
95061
|
if (N.items.length === 0)
|
|
95061
95062
|
return U.none();
|
|
95062
|
-
var D =
|
|
95063
|
-
return
|
|
95063
|
+
var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
95064
|
+
return b6(Z, G, c, v, !1);
|
|
95064
95065
|
}), L = to(F, ge(x, D));
|
|
95065
95066
|
return U.from(hm.tieredData(x, L, N.expansions));
|
|
95066
95067
|
}, vO = function(a) {
|
|
@@ -97007,7 +97008,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97007
97008
|
var fe = function(Te) {
|
|
97008
97009
|
To.getCurrent(Te).each(Z);
|
|
97009
97010
|
};
|
|
97010
|
-
|
|
97011
|
+
k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
97011
97012
|
}
|
|
97012
97013
|
}, N = ek(a), D = function(L) {
|
|
97013
97014
|
return function(G) {
|
|
@@ -97071,7 +97072,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97071
97072
|
});
|
|
97072
97073
|
});
|
|
97073
97074
|
};
|
|
97074
|
-
|
|
97075
|
+
k6(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
|
|
97075
97076
|
}
|
|
97076
97077
|
},
|
|
97077
97078
|
cancelEvent: fp()
|
|
@@ -97107,7 +97108,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97107
97108
|
Ga.config({
|
|
97108
97109
|
others: {
|
|
97109
97110
|
sandbox: function(L) {
|
|
97110
|
-
return
|
|
97111
|
+
return N6(a, L, {
|
|
97111
97112
|
onOpen: function() {
|
|
97112
97113
|
return Vt.on(L);
|
|
97113
97114
|
},
|
|
@@ -97183,7 +97184,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97183
97184
|
vi("previewing", function() {
|
|
97184
97185
|
return jn(!0);
|
|
97185
97186
|
})
|
|
97186
|
-
].concat(QS()).concat(
|
|
97187
|
+
].concat(QS()).concat(I6())), XO = V([tu({
|
|
97187
97188
|
schema: [zf()],
|
|
97188
97189
|
name: "menu",
|
|
97189
97190
|
overrides: function(a) {
|
|
@@ -97931,7 +97932,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97931
97932
|
};
|
|
97932
97933
|
}, S7 = function(a) {
|
|
97933
97934
|
return function() {
|
|
97934
|
-
return
|
|
97935
|
+
return m6(a);
|
|
97935
97936
|
};
|
|
97936
97937
|
}, k7 = function(a) {
|
|
97937
97938
|
return function() {
|
|
@@ -97951,7 +97952,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97951
97952
|
}, _T = function(a) {
|
|
97952
97953
|
return { isDraggableModal: N7(a) };
|
|
97953
97954
|
}, A7 = function(a) {
|
|
97954
|
-
var c = jn(
|
|
97955
|
+
var c = jn(e6(a) ? "bottom" : "top");
|
|
97955
97956
|
return {
|
|
97956
97957
|
isPositionedAtTop: function() {
|
|
97957
97958
|
return c.get() === "top";
|
|
@@ -98114,7 +98115,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98114
98115
|
}, ty = function(a) {
|
|
98115
98116
|
return jE(a).map(function(c) {
|
|
98116
98117
|
var v = Dm(a, c);
|
|
98117
|
-
return
|
|
98118
|
+
return J8(a) ? yT.concat(v) : v;
|
|
98118
98119
|
}).getOr(yT);
|
|
98119
98120
|
}, bT = function(a, c, v) {
|
|
98120
98121
|
var b = {
|
|
@@ -98328,10 +98329,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98328
98329
|
return GA(a) ? U.none() : U.some({
|
|
98329
98330
|
targets: G7.find(a.getBody()),
|
|
98330
98331
|
anchorTop: Ix(qA(a)),
|
|
98331
|
-
anchorBottom: Ix(
|
|
98332
|
+
anchorBottom: Ix(r6(a))
|
|
98332
98333
|
});
|
|
98333
98334
|
}, tB = function(a) {
|
|
98334
|
-
return U.from(
|
|
98335
|
+
return U.from(o6(a));
|
|
98335
98336
|
}, nB = function(a) {
|
|
98336
98337
|
return {
|
|
98337
98338
|
getHistory: Y7,
|
|
@@ -99370,7 +99371,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99370
99371
|
Ot("useMinWidth", !1),
|
|
99371
99372
|
Ot("eventOrder", {}),
|
|
99372
99373
|
Do("role")
|
|
99373
|
-
].concat(
|
|
99374
|
+
].concat(I6())), PB = Ni({
|
|
99374
99375
|
factory: Gl,
|
|
99375
99376
|
schema: [nt("dom")],
|
|
99376
99377
|
name: "arrow",
|
|
@@ -99469,7 +99470,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99469
99470
|
});
|
|
99470
99471
|
})])), In(U.some(D))), Z = {
|
|
99471
99472
|
repositionMenus: function(ee) {
|
|
99472
|
-
Vt.isOn(ee) &&
|
|
99473
|
+
Vt.isOn(ee) && A6(ee);
|
|
99473
99474
|
}
|
|
99474
99475
|
};
|
|
99475
99476
|
return {
|
|
@@ -99495,7 +99496,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99495
99496
|
Vt.off(fe), Vt.off(ee);
|
|
99496
99497
|
}
|
|
99497
99498
|
};
|
|
99498
|
-
return
|
|
99499
|
+
return N6(a, ee, Te);
|
|
99499
99500
|
}
|
|
99500
99501
|
}
|
|
99501
99502
|
}),
|
|
@@ -99689,7 +99690,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99689
99690
|
return sl.nu(function(x) {
|
|
99690
99691
|
return c.fetch(x);
|
|
99691
99692
|
}).map(function(x) {
|
|
99692
|
-
return U.from($S(to(
|
|
99693
|
+
return U.from($S(to(_6(Tr("menu-value"), x, function(N) {
|
|
99693
99694
|
c.onItemAction(a(b), N);
|
|
99694
99695
|
}, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
|
|
99695
99696
|
movement: K4(c.columns, c.presets),
|
|
@@ -99917,7 +99918,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99917
99918
|
bottom: Math.min(D.y, v.bottom)
|
|
99918
99919
|
};
|
|
99919
99920
|
}, uN = function(a, c) {
|
|
99920
|
-
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x =
|
|
99921
|
+
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;
|
|
99921
99922
|
if (a.inline && !x)
|
|
99922
99923
|
return fl(D, v.y, F, v.height);
|
|
99923
99924
|
var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
|
|
@@ -102252,10 +102253,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102252
102253
|
}, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
|
|
102253
102254
|
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() {
|
|
102254
102255
|
var fe = N.get();
|
|
102255
|
-
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)),
|
|
102256
|
+
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v6(a));
|
|
102256
102257
|
}, L = function() {
|
|
102257
102258
|
var fe = a.getDoc().documentElement, Te = D.get();
|
|
102258
|
-
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)),
|
|
102259
|
+
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v6(a));
|
|
102259
102260
|
}, G = function(fe) {
|
|
102260
102261
|
return hI(a, fe);
|
|
102261
102262
|
};
|
|
@@ -102330,7 +102331,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102330
102331
|
});
|
|
102331
102332
|
return b.or(x).getOr(a);
|
|
102332
102333
|
}, D$ = function(a) {
|
|
102333
|
-
var c = HE(a), v = WE(a), b =
|
|
102334
|
+
var c = HE(a), v = WE(a), b = X8(a);
|
|
102334
102335
|
return iP(c).map(function(x) {
|
|
102335
102336
|
return hN(x, v, b);
|
|
102336
102337
|
});
|
|
@@ -102355,7 +102356,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102355
102356
|
return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
|
|
102356
102357
|
}) : 0;
|
|
102357
102358
|
}, St = function(fn) {
|
|
102358
|
-
switch (
|
|
102359
|
+
switch (Q8(a)) {
|
|
102359
102360
|
case bm.auto:
|
|
102360
102361
|
var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
|
|
102361
102362
|
if (Nr)
|
|
@@ -102430,7 +102431,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102430
102431
|
x.set({
|
|
102431
102432
|
pos: G,
|
|
102432
102433
|
bounds: Z
|
|
102433
|
-
}), ze &&
|
|
102434
|
+
}), ze && v6(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
|
|
102434
102435
|
};
|
|
102435
102436
|
b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
|
|
102436
102437
|
return v.update(!0);
|
|
@@ -103905,7 +103906,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
103905
103906
|
})(dy || (dy = {}));
|
|
103906
103907
|
var CV = function(a, c, v, b, x) {
|
|
103907
103908
|
var N = {};
|
|
103908
|
-
return N.height = hN(b + c.top, WE(a),
|
|
103909
|
+
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;
|
|
103909
103910
|
}, DM = function(a, c, v) {
|
|
103910
103911
|
var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
|
|
103911
103912
|
Ur(x, function(N, D) {
|
|
@@ -104043,7 +104044,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104043
104044
|
components: x()
|
|
104044
104045
|
};
|
|
104045
104046
|
}, TV = function(a) {
|
|
104046
|
-
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 =
|
|
104047
|
+
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() {
|
|
104047
104048
|
return N.bind(hi.getHeader);
|
|
104048
104049
|
}, qe = function() {
|
|
104049
104050
|
return x.isDocked(dt);
|
|
@@ -104147,7 +104148,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104147
104148
|
Rn,
|
|
104148
104149
|
Nr
|
|
104149
104150
|
]
|
|
104150
|
-
}, mf = k_(a), Pc = Ag(a), AP =
|
|
104151
|
+
}, mf = k_(a), Pc = Ag(a), AP = Z8(a), IP = function() {
|
|
104151
104152
|
return mf ? [Fr] : Pc ? [hr] : [];
|
|
104152
104153
|
}, xN = hi.parts.header({
|
|
104153
104154
|
dom: ve({
|
|
@@ -104176,7 +104177,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104176
104177
|
[jx],
|
|
104177
104178
|
v ? [] : ia.toArray(),
|
|
104178
104179
|
[Rr]
|
|
104179
|
-
]), Gx =
|
|
104180
|
+
]), Gx = t6(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
|
|
104180
104181
|
dom: {
|
|
104181
104182
|
tag: "div",
|
|
104182
104183
|
classes: [
|
|
@@ -104226,7 +104227,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104226
104227
|
});
|
|
104227
104228
|
var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
|
|
104228
104229
|
menuItems: iw,
|
|
104229
|
-
menus:
|
|
104230
|
+
menus: n6(a),
|
|
104230
104231
|
menubar: UA(a),
|
|
104231
104232
|
toolbar: RP.getOrThunk(function() {
|
|
104232
104233
|
return zA(a);
|
|
@@ -105282,7 +105283,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105282
105283
|
})])
|
|
105283
105284
|
};
|
|
105284
105285
|
return tl.parts.body(c);
|
|
105285
|
-
}, NU =
|
|
105286
|
+
}, NU = i6.deviceType.isTouch(), KM = function(a, c) {
|
|
105286
105287
|
return {
|
|
105287
105288
|
dom: {
|
|
105288
105289
|
tag: "div",
|
|
@@ -105596,7 +105597,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105596
105597
|
wn($g, function(v, b) {
|
|
105597
105598
|
return c.onUnblock();
|
|
105598
105599
|
}),
|
|
105599
|
-
wn(
|
|
105600
|
+
wn(E6, function(v, b) {
|
|
105600
105601
|
return c.onBlock(b.event);
|
|
105601
105602
|
})
|
|
105602
105603
|
];
|
|
@@ -105771,7 +105772,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105771
105772
|
if (!l(je))
|
|
105772
105773
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105773
105774
|
b(function(dt) {
|
|
105774
|
-
_r(dt,
|
|
105775
|
+
_r(dt, E6, { message: je });
|
|
105775
105776
|
});
|
|
105776
105777
|
}, Z = function() {
|
|
105777
105778
|
b(function(je) {
|
|
@@ -105945,7 +105946,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105945
105946
|
if (!l(D))
|
|
105946
105947
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105947
105948
|
c(function(F) {
|
|
105948
|
-
_r(F,
|
|
105949
|
+
_r(F, E6, { message: D });
|
|
105949
105950
|
});
|
|
105950
105951
|
}, b = function() {
|
|
105951
105952
|
c(function(D) {
|
|
@@ -112060,7 +112061,7 @@ Required: ` + w.join(", "));
|
|
|
112060
112061
|
}, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
|
|
112061
112062
|
return function(sf, yg) {
|
|
112062
112063
|
Xs(sf);
|
|
112063
|
-
var T4 = xc(),
|
|
112064
|
+
var T4 = xc(), b8 = Je.fromDom(g.getDoc()), id = S0(Yi, b8, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
|
|
112064
112065
|
return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
|
|
112065
112066
|
return Qe(um.newRows, function(cm) {
|
|
112066
112067
|
K0(g, cm.dom);
|
|
@@ -113984,38 +113985,38 @@ Required: ` + w.join(", "));
|
|
|
113984
113985
|
}, wc = 5, QC = 100, Cc = Lc.generate([
|
|
113985
113986
|
{ none: [] },
|
|
113986
113987
|
{ retry: ["caret"] }
|
|
113987
|
-
]),
|
|
113988
|
+
]), e8 = function(g, w) {
|
|
113988
113989
|
return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
|
|
113989
113990
|
}, h4 = function(g, w, T) {
|
|
113990
113991
|
return xh(w, p2).fold(Ne, function(I) {
|
|
113991
113992
|
return d4(g, I).exists(function($) {
|
|
113992
|
-
return
|
|
113993
|
+
return e8(T, $);
|
|
113993
113994
|
});
|
|
113994
113995
|
});
|
|
113995
|
-
},
|
|
113996
|
+
}, t8 = function(g, w, T, I, $) {
|
|
113996
113997
|
var W = nd($, wc);
|
|
113997
113998
|
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();
|
|
113998
|
-
},
|
|
113999
|
+
}, n8 = function(g, w, T, I, $) {
|
|
113999
114000
|
var W = im($, wc);
|
|
114000
114001
|
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();
|
|
114001
114002
|
}, rd = {
|
|
114002
114003
|
point: u4,
|
|
114003
|
-
adjuster:
|
|
114004
|
+
adjuster: n8,
|
|
114004
114005
|
move: im,
|
|
114005
114006
|
gather: n_
|
|
114006
114007
|
}, vg = {
|
|
114007
114008
|
point: c4,
|
|
114008
|
-
adjuster:
|
|
114009
|
+
adjuster: t8,
|
|
114009
114010
|
move: nd,
|
|
114010
114011
|
gather: o4
|
|
114011
114012
|
}, p4 = function(g, w, T) {
|
|
114012
114013
|
return g.elementFromPoint(w, T).filter(function(I) {
|
|
114013
114014
|
return Io(I) === "table";
|
|
114014
114015
|
}).isSome();
|
|
114015
|
-
},
|
|
114016
|
+
}, r8 = function(g, w, T, I, $) {
|
|
114016
114017
|
return Av(g, w, T, w.move(I, wc), $);
|
|
114017
114018
|
}, Av = function(g, w, T, I, $) {
|
|
114018
|
-
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ?
|
|
114019
|
+
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) {
|
|
114019
114020
|
return W.start.fold(te.none, function(Q) {
|
|
114020
114021
|
return d4(g, Q).bind(function(ye) {
|
|
114021
114022
|
return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
|
|
@@ -114026,15 +114027,15 @@ Required: ` + w.join(", "));
|
|
|
114026
114027
|
});
|
|
114027
114028
|
}, te.none);
|
|
114028
114029
|
});
|
|
114029
|
-
},
|
|
114030
|
+
}, o8 = function(g, w) {
|
|
114030
114031
|
return g.situsFromPoint(w.left, w.bottom + wc);
|
|
114031
|
-
},
|
|
114032
|
+
}, a8 = function(g, w) {
|
|
114032
114033
|
return g.situsFromPoint(w.left, w.top - wc);
|
|
114033
|
-
},
|
|
114034
|
+
}, i8 = function(g, w, T) {
|
|
114034
114035
|
return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
|
|
114035
114036
|
}, m4 = function(g, w, T) {
|
|
114036
114037
|
var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
|
|
114037
|
-
return
|
|
114038
|
+
return i8(g, $, w).fold(function() {
|
|
114038
114039
|
return w.situsFromPoint($.left, g.point($));
|
|
114039
114040
|
}, function(W) {
|
|
114040
114041
|
return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
|
|
@@ -114042,10 +114043,10 @@ Required: ` + w.join(", "));
|
|
|
114042
114043
|
}, Iv = {
|
|
114043
114044
|
tryUp: V(m4, rd),
|
|
114044
114045
|
tryDown: V(m4, vg),
|
|
114045
|
-
ieTryUp:
|
|
114046
|
-
ieTryDown:
|
|
114046
|
+
ieTryUp: a8,
|
|
114047
|
+
ieTryDown: o8,
|
|
114047
114048
|
getJumpSize: j(wc)
|
|
114048
|
-
},
|
|
114049
|
+
}, l8 = 20, g4 = function(g, w, T) {
|
|
114049
114050
|
return g.getSelection().bind(function(I) {
|
|
114050
114051
|
return a_(w, I.finish, I.foffset, T).fold(function() {
|
|
114051
114052
|
return te.some(Mp(I.finish, I.foffset));
|
|
@@ -114055,7 +114056,7 @@ Required: ` + w.join(", "));
|
|
|
114055
114056
|
});
|
|
114056
114057
|
});
|
|
114057
114058
|
}, lm = function(g, w, T, I, $, W) {
|
|
114058
|
-
return W === 0 ? te.none() :
|
|
114059
|
+
return W === 0 ? te.none() : s8(g, w, T, I, $).bind(function(Q) {
|
|
114059
114060
|
var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
|
|
114060
114061
|
return Nv.cata(_e, function() {
|
|
114061
114062
|
return te.none();
|
|
@@ -114074,15 +114075,15 @@ Required: ` + w.join(", "));
|
|
|
114074
114075
|
}, _4 = function(g, w, T) {
|
|
114075
114076
|
var I = Ze().browser;
|
|
114076
114077
|
return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
|
|
114077
|
-
},
|
|
114078
|
+
}, s8 = function(g, w, T, I, $) {
|
|
114078
114079
|
return f4(g, T, I).bind(function(W) {
|
|
114079
114080
|
return _4(g, $, W);
|
|
114080
114081
|
});
|
|
114081
|
-
},
|
|
114082
|
+
}, u8 = function(g, w, T) {
|
|
114082
114083
|
return g4(g, w, T).bind(function(I) {
|
|
114083
|
-
return lm(g, w, I.element, I.offset, T,
|
|
114084
|
+
return lm(g, w, I.element, I.offset, T, l8).map(g.fromSitus);
|
|
114084
114085
|
});
|
|
114085
|
-
},
|
|
114086
|
+
}, c8 = function(g, w) {
|
|
114086
114087
|
return qC(g, function(T) {
|
|
114087
114088
|
return de(T).exists(function(I) {
|
|
114088
114089
|
return Tn(I, w);
|
|
@@ -114091,7 +114092,7 @@ Required: ` + w.join(", "));
|
|
|
114091
114092
|
}, od = function(g, w, T, I, $) {
|
|
114092
114093
|
return Ho(I, "td,th", w).bind(function(W) {
|
|
114093
114094
|
return Ho(W, "table", w).bind(function(Q) {
|
|
114094
|
-
return
|
|
114095
|
+
return c8($, Q) ? u8(g, w, T).bind(function(ye) {
|
|
114095
114096
|
return Ho(ye.finish, "td,th", w).map(function(_e) {
|
|
114096
114097
|
return {
|
|
114097
114098
|
start: W,
|
|
@@ -114109,7 +114110,7 @@ Required: ` + w.join(", "));
|
|
|
114109
114110
|
return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
|
|
114110
114111
|
});
|
|
114111
114112
|
});
|
|
114112
|
-
},
|
|
114113
|
+
}, f8 = function(g, w) {
|
|
114113
114114
|
return Ho(g, "tr", w).bind(function(T) {
|
|
114114
114115
|
return Ho(T, "table", w).bind(function(I) {
|
|
114115
114116
|
var $ = li(I, "tr");
|
|
@@ -114200,7 +114201,7 @@ Required: ` + w.join(", "));
|
|
|
114200
114201
|
}, Mr = {
|
|
114201
114202
|
isBackward: Dv(37),
|
|
114202
114203
|
isForward: Dv(39)
|
|
114203
|
-
},
|
|
114204
|
+
}, d8 = {
|
|
114204
114205
|
isBackward: Dv(39),
|
|
114205
114206
|
isForward: Dv(37)
|
|
114206
114207
|
}, mg = function(g) {
|
|
@@ -114290,7 +114291,7 @@ Required: ` + w.join(", "));
|
|
|
114290
114291
|
return I.clear(w), te.none();
|
|
114291
114292
|
}, Q = function(_e, Ye, mt, Cn, pn, An) {
|
|
114292
114293
|
var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
|
|
114293
|
-
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,
|
|
114294
|
+
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;
|
|
114294
114295
|
}, function(uo) {
|
|
114295
114296
|
var zr = function(xo) {
|
|
114296
114297
|
return function() {
|
|
@@ -114326,7 +114327,7 @@ Required: ` + w.join(", "));
|
|
|
114326
114327
|
keydown: Q,
|
|
114327
114328
|
keyup: ye
|
|
114328
114329
|
};
|
|
114329
|
-
},
|
|
114330
|
+
}, h8 = function(g, w, T, I) {
|
|
114330
114331
|
var $ = d_(g);
|
|
114331
114332
|
return function(W, Q) {
|
|
114332
114333
|
I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
|
|
@@ -114334,7 +114335,7 @@ Required: ` + w.join(", "));
|
|
|
114334
114335
|
I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
|
|
114335
114336
|
});
|
|
114336
114337
|
};
|
|
114337
|
-
},
|
|
114338
|
+
}, v8 = function(g, w) {
|
|
114338
114339
|
Qe(w, function(T) {
|
|
114339
114340
|
ol(g, T);
|
|
114340
114341
|
});
|
|
@@ -114344,7 +114345,7 @@ Required: ` + w.join(", "));
|
|
|
114344
114345
|
};
|
|
114345
114346
|
}, h_ = function(g) {
|
|
114346
114347
|
return function(w) {
|
|
114347
|
-
|
|
114348
|
+
v8(w, g);
|
|
114348
114349
|
};
|
|
114349
114350
|
}, so = function(g) {
|
|
114350
114351
|
var w = Qr(g.selected), T = h_([
|
|
@@ -114386,7 +114387,7 @@ Required: ` + w.join(", "));
|
|
|
114386
114387
|
firstSelectedSelector: g.firstSelectedSelector,
|
|
114387
114388
|
lastSelectedSelector: g.lastSelectedSelector
|
|
114388
114389
|
};
|
|
114389
|
-
},
|
|
114390
|
+
}, p8 = {
|
|
114390
114391
|
byClass: so,
|
|
114391
114392
|
byAttr: S4
|
|
114392
114393
|
}, _g = function(g, w, T) {
|
|
@@ -114397,7 +114398,7 @@ Required: ` + w.join(", "));
|
|
|
114397
114398
|
return ye.element;
|
|
114398
114399
|
});
|
|
114399
114400
|
});
|
|
114400
|
-
},
|
|
114401
|
+
}, m8 = function(g, w, T) {
|
|
114401
114402
|
var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
|
|
114402
114403
|
return pt($, function(W) {
|
|
114403
114404
|
var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
|
|
@@ -114408,7 +114409,7 @@ Required: ` + w.join(", "));
|
|
|
114408
114409
|
}, k4 = function(g, w, T) {
|
|
114409
114410
|
var I = Bn.fromTable(g), $ = jf(I, w);
|
|
114410
114411
|
return $.map(function(W) {
|
|
114411
|
-
var Q = av(I, T, !1), ye = _g(Q, W, T), _e =
|
|
114412
|
+
var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m8(Q, W, T);
|
|
114412
114413
|
return {
|
|
114413
114414
|
upOrLeftCells: ye,
|
|
114414
114415
|
downOrRightCells: _e
|
|
@@ -114417,7 +114418,7 @@ Required: ` + w.join(", "));
|
|
|
114417
114418
|
}, v_ = function(g) {
|
|
114418
114419
|
return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
|
|
114419
114420
|
};
|
|
114420
|
-
function
|
|
114421
|
+
function g8(g, w, T) {
|
|
114421
114422
|
var I = function(Q, ye, _e) {
|
|
114422
114423
|
T.targets().each(function(Ye) {
|
|
114423
114424
|
var mt = Ma(ye);
|
|
@@ -114428,7 +114429,7 @@ Required: ` + w.join(", "));
|
|
|
114428
114429
|
});
|
|
114429
114430
|
}, $ = function() {
|
|
114430
114431
|
return Vw(g);
|
|
114431
|
-
}, W =
|
|
114432
|
+
}, W = p8.byAttr(La, I, $);
|
|
114432
114433
|
return g.on("init", function(Q) {
|
|
114433
114434
|
var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
|
|
114434
114435
|
var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
|
|
@@ -114438,7 +114439,7 @@ Required: ` + w.join(", "));
|
|
|
114438
114439
|
ss.fold(function() {
|
|
114439
114440
|
return W.clear(_e);
|
|
114440
114441
|
}, B);
|
|
114441
|
-
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An =
|
|
114442
|
+
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h8(ye, _e, Ye, W), Vt = function(Uo) {
|
|
114442
114443
|
return Uo.raw.shiftKey === !0;
|
|
114443
114444
|
};
|
|
114444
114445
|
g.on("TableSelectorChange", function(Uo) {
|
|
@@ -114462,7 +114463,7 @@ Required: ` + w.join(", "));
|
|
|
114462
114463
|
w().each(function(Yi) {
|
|
114463
114464
|
return Yi.hideBars();
|
|
114464
114465
|
});
|
|
114465
|
-
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr,
|
|
114466
|
+
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d8)(Je.fromDom(g.selection.getStart()));
|
|
114466
114467
|
pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
|
|
114467
114468
|
tn(ll, Yi);
|
|
114468
114469
|
}), w().each(function(Yi) {
|
|
@@ -114494,7 +114495,7 @@ Required: ` + w.join(", "));
|
|
|
114494
114495
|
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);
|
|
114495
114496
|
}), { clear: W.clear };
|
|
114496
114497
|
}
|
|
114497
|
-
var
|
|
114498
|
+
var _8 = function(g, w) {
|
|
114498
114499
|
var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
|
|
114499
114500
|
return $.forall(function(xo) {
|
|
114500
114501
|
return !xo[zr];
|
|
@@ -114709,7 +114710,7 @@ Required: ` + w.join(", "));
|
|
|
114709
114710
|
onAction: I("mceInsertTable"),
|
|
114710
114711
|
icon: "table"
|
|
114711
114712
|
});
|
|
114712
|
-
},
|
|
114713
|
+
}, y8 = function(g) {
|
|
114713
114714
|
var w = function(I) {
|
|
114714
114715
|
return g.dom.is(I, "table") && g.getBody().contains(I);
|
|
114715
114716
|
}, T = C1(g);
|
|
@@ -114885,8 +114886,8 @@ Required: ` + w.join(", "));
|
|
|
114885
114886
|
return Pf(g);
|
|
114886
114887
|
}, function() {
|
|
114887
114888
|
return th(Aa(g));
|
|
114888
|
-
}, La.selectedSelector), T =
|
|
114889
|
-
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q),
|
|
114889
|
+
}, La.selectedSelector), T = _8(g, w), I = Jy(g), $ = g8(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
|
|
114890
|
+
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() {
|
|
114890
114891
|
g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
|
|
114891
114892
|
}), Lw(g) && g.on("keydown", function(ye) {
|
|
114892
114893
|
Yb(ye, g, $);
|