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