agilebuilder-ui 1.0.87-temp1 → 1.0.87-temp10
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 +635 -635
- package/lib/super-ui.umd.cjs +13 -13
- package/package.json +1 -1
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +820 -888
- package/packages/super-grid/src/dynamic-input.vue +55 -45
- package/packages/super-grid/src/normal-column-content.vue +5 -2
package/lib/super-ui.js
CHANGED
|
@@ -17795,7 +17795,7 @@ const emitter$1 = mitt(), bus$1 = {};
|
|
|
17795
17795
|
bus$1.$on = emitter$1.on;
|
|
17796
17796
|
bus$1.$emit = emitter$1.emit;
|
|
17797
17797
|
bus$1.$off = emitter$1.off;
|
|
17798
|
-
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "",
|
|
17798
|
+
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSelect_vue_vue_type_style_index_1_scoped_2db545f4_lang = "", _sfc_main$1o = {
|
|
17799
17799
|
name: "DynamicSourceSelect",
|
|
17800
17800
|
components: {},
|
|
17801
17801
|
model: {
|
|
@@ -17950,9 +17950,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
17950
17950
|
let n;
|
|
17951
17951
|
this.watchAttr.split(",").forEach((l) => {
|
|
17952
17952
|
this.entity && (n = this.entity[l]), this.$watch("entity." + l, function(s, d) {
|
|
17953
|
-
this.watchAttrValueChange(s), this.optionItems.filter(
|
|
17954
|
-
(_) => _[this.valueAttribute] === s
|
|
17955
|
-
) || this.inputValue("");
|
|
17953
|
+
this.watchAttrValueChange(s), this.optionItems.filter((_) => _[this.valueAttribute] === s) || this.inputValue("");
|
|
17956
17954
|
});
|
|
17957
17955
|
}), this.watchAttrValueChange(n);
|
|
17958
17956
|
}
|
|
@@ -17979,7 +17977,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
17979
17977
|
this.$emit("blur", e);
|
|
17980
17978
|
},
|
|
17981
17979
|
changeEvent(e) {
|
|
17982
|
-
this.inputValue(e), this
|
|
17980
|
+
this.inputValue(e), this.change(e);
|
|
17983
17981
|
},
|
|
17984
17982
|
/**
|
|
17985
17983
|
* @description: 获取提示标题
|
|
@@ -18047,7 +18045,12 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18047
18045
|
const _ = JSON.parse(this.markValue);
|
|
18048
18046
|
if (_ && _[m.valueColumn.dbColumnName]) {
|
|
18049
18047
|
let E = (_[m.valueColumn.dbColumnName] + "").split(",");
|
|
18050
|
-
this.column.componentType === "select" && (E = E[0])
|
|
18048
|
+
this.column.componentType === "select" && (E = E[0]), m.valueColumn.dbColumnName === this.column.prop && this.$emit("set-value", {
|
|
18049
|
+
value: E,
|
|
18050
|
+
targetColumnName: this.column.prop,
|
|
18051
|
+
options: this.optionItems,
|
|
18052
|
+
valueAttribute: this.valueAttribute
|
|
18053
|
+
});
|
|
18051
18054
|
}
|
|
18052
18055
|
}
|
|
18053
18056
|
break;
|
|
@@ -18111,11 +18114,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18111
18114
|
this.optionItems && o && (l = this.getTargetColumnValue(e, o));
|
|
18112
18115
|
let s = null;
|
|
18113
18116
|
const d = n.valueColumn;
|
|
18114
|
-
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(
|
|
18115
|
-
s,
|
|
18116
|
-
this.isJoinTable,
|
|
18117
|
-
this.tableName
|
|
18118
|
-
))), this.entity && s && s !== null && s !== "" && setEntityFieldValue(this.entity, s, l);
|
|
18117
|
+
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(s, this.isJoinTable, this.tableName))), this.entity && s && s !== null && s !== "" && setEntityFieldValue(this.entity, s, l);
|
|
18119
18118
|
const m = this.getSelectedOptionItem(e);
|
|
18120
18119
|
this.$emit("set-value", {
|
|
18121
18120
|
value: l,
|
|
@@ -18131,11 +18130,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18131
18130
|
setColumnValue(e, t, n) {
|
|
18132
18131
|
let o = null;
|
|
18133
18132
|
const l = n.valueColumn;
|
|
18134
|
-
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(
|
|
18135
|
-
o,
|
|
18136
|
-
this.isJoinTable,
|
|
18137
|
-
this.tableName
|
|
18138
|
-
))), this.entity && o && o !== null && o !== "" && setEntityFieldValue(this.entity, o, t), this.$emit("set-value", {
|
|
18133
|
+
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(o, this.isJoinTable, this.tableName))), this.entity && o && o !== null && o !== "" && setEntityFieldValue(this.entity, o, t), this.$emit("set-value", {
|
|
18139
18134
|
value: t,
|
|
18140
18135
|
sourceColumnName: e,
|
|
18141
18136
|
targetColumnName: o,
|
|
@@ -18154,7 +18149,10 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18154
18149
|
n = !0;
|
|
18155
18150
|
else if (this.lastValues.length > e.length) {
|
|
18156
18151
|
n = !1;
|
|
18157
|
-
const m = [...this.lastValues, ...e], _ = new Set(m), E = Array.from(_), S = [
|
|
18152
|
+
const m = [...this.lastValues, ...e], _ = new Set(m), E = Array.from(_), S = [
|
|
18153
|
+
...E.filter((k) => !this.lastValues.includes(k)),
|
|
18154
|
+
...E.filter((k) => !e.includes(k))
|
|
18155
|
+
];
|
|
18158
18156
|
S && S.length > 0 && (o = S[0]);
|
|
18159
18157
|
}
|
|
18160
18158
|
this.lastValues = JSON.parse(JSON.stringify(e));
|
|
@@ -18163,9 +18161,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18163
18161
|
if (t)
|
|
18164
18162
|
this.setAllTagValue(!1);
|
|
18165
18163
|
else {
|
|
18166
|
-
const s = e[e.length - 1], d = this.optionItems.filter(
|
|
18167
|
-
(m) => m[this.valueAttribute] === s
|
|
18168
|
-
);
|
|
18164
|
+
const s = e[e.length - 1], d = this.optionItems.filter((m) => m[this.valueAttribute] === s);
|
|
18169
18165
|
d && d.length > 0 && this.setTagValue(null, !1, d[0]);
|
|
18170
18166
|
}
|
|
18171
18167
|
else
|
|
@@ -18177,11 +18173,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18177
18173
|
if (n !== this.valueAttribute) {
|
|
18178
18174
|
let o = null;
|
|
18179
18175
|
const l = t.valueColumn;
|
|
18180
|
-
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(
|
|
18181
|
-
o,
|
|
18182
|
-
this.isJoinTable,
|
|
18183
|
-
this.tableName
|
|
18184
|
-
)));
|
|
18176
|
+
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(o, this.isJoinTable, this.tableName)));
|
|
18185
18177
|
let s;
|
|
18186
18178
|
if (o)
|
|
18187
18179
|
if (e)
|
|
@@ -18213,11 +18205,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18213
18205
|
if (l !== this.valueAttribute) {
|
|
18214
18206
|
let s = null;
|
|
18215
18207
|
const d = o.valueColumn;
|
|
18216
|
-
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(
|
|
18217
|
-
s,
|
|
18218
|
-
this.isJoinTable,
|
|
18219
|
-
this.tableName
|
|
18220
|
-
)));
|
|
18208
|
+
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(s, this.isJoinTable, this.tableName)));
|
|
18221
18209
|
let m;
|
|
18222
18210
|
if (s) {
|
|
18223
18211
|
const _ = getEntityFieldValue(this.entity, s);
|
|
@@ -18243,15 +18231,11 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18243
18231
|
if (this.baseProps.multiple !== void 0 && this.baseProps.multiple === !0 && Array.isArray(e)) {
|
|
18244
18232
|
let o = 0;
|
|
18245
18233
|
e.forEach((l) => {
|
|
18246
|
-
const s = this.optionItems.filter(
|
|
18247
|
-
(d) => d[this.valueAttribute] === l
|
|
18248
|
-
);
|
|
18234
|
+
const s = this.optionItems.filter((d) => d[this.valueAttribute] === l);
|
|
18249
18235
|
s && s.length > 0 && (n += s[0][t], o < e.length - 1 && (n += ","), o++);
|
|
18250
18236
|
});
|
|
18251
18237
|
} else {
|
|
18252
|
-
const o = this.optionItems.filter(
|
|
18253
|
-
(l) => l[this.valueAttribute] === e
|
|
18254
|
-
);
|
|
18238
|
+
const o = this.optionItems.filter((l) => l[this.valueAttribute] === e);
|
|
18255
18239
|
o && o.length > 0 && (n = o[0][t]);
|
|
18256
18240
|
}
|
|
18257
18241
|
return n;
|
|
@@ -18361,7 +18345,7 @@ function _sfc_render$10(e, t, n, o, l, s) {
|
|
|
18361
18345
|
}, 16, ["allow-create", "clearable", "filterable", "loading", "model-value", "placeholder", "remote", "remote-method", "size", "style", "title", "value-key", "onChange", "onClear", "onFocus", "onVisibleChange"])
|
|
18362
18346
|
]);
|
|
18363
18347
|
}
|
|
18364
|
-
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-
|
|
18348
|
+
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-2db545f4"]]);
|
|
18365
18349
|
function setObjectPropRule(e, t, n) {
|
|
18366
18350
|
const o = {}, l = e.prop;
|
|
18367
18351
|
t || (t = {});
|
|
@@ -19978,11 +19962,25 @@ const _sfc_main$1m = {
|
|
|
19978
19962
|
mounted() {
|
|
19979
19963
|
const e = this;
|
|
19980
19964
|
bus.$on(this.componentId + "-pickFileDone", (t) => {
|
|
19981
|
-
console.log(
|
|
19965
|
+
console.log(
|
|
19966
|
+
"superPage666611---pickFileDone--data.componentId=",
|
|
19967
|
+
t.componentId,
|
|
19968
|
+
"data.listCode=",
|
|
19969
|
+
t.listCode,
|
|
19970
|
+
"data=",
|
|
19971
|
+
t
|
|
19972
|
+
), e.$refs.fileUploadRef && e.$refs.fileUploadRef.pickFileDone(t);
|
|
19982
19973
|
}), bus.$on(this.componentId + "-uploadFileDone", (t) => {
|
|
19983
19974
|
e.$refs.fileUploadRef && e.$refs.fileUploadRef.uploadFileDone(t);
|
|
19984
19975
|
}), bus.$on(this.componentId + "-scanDone", (t) => {
|
|
19985
|
-
console.log(
|
|
19976
|
+
console.log(
|
|
19977
|
+
"superPage666611---scanDone--data.componentId=",
|
|
19978
|
+
t.componentId,
|
|
19979
|
+
"data.listCode=",
|
|
19980
|
+
t.listCode,
|
|
19981
|
+
"data=",
|
|
19982
|
+
t
|
|
19983
|
+
), e.innerValue = t.result, e.blurEvent();
|
|
19986
19984
|
});
|
|
19987
19985
|
},
|
|
19988
19986
|
destroyed() {
|
|
@@ -20396,7 +20394,8 @@ const _sfc_main$1m = {
|
|
|
20396
20394
|
this.innerValue && typeof this.innerValue != "number" && this.innerValue.indexOf("saveAll") !== -1 && this.innerValue.splice(this.innerValue.indexOf("saveAll"), 1);
|
|
20397
20395
|
const o = this.innerValue && this.innerValue.length > 0 ? this.innerValue.join(",") : null;
|
|
20398
20396
|
n && this.cellEvent("input", o), this.cellEvent("change", o), this.setCellValue(this.column.prop, o, "change");
|
|
20399
|
-
}
|
|
20397
|
+
} else
|
|
20398
|
+
this.cellEvent("change", e);
|
|
20400
20399
|
},
|
|
20401
20400
|
getDefaultValue(e) {
|
|
20402
20401
|
if (this.isInvalidValue(e)) {
|
|
@@ -22506,7 +22505,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22506
22505
|
], 4))
|
|
22507
22506
|
]);
|
|
22508
22507
|
}
|
|
22509
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
22508
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_8a373972_lang = "", _sfc_main$1h = {
|
|
22510
22509
|
components: {
|
|
22511
22510
|
DynamicInput,
|
|
22512
22511
|
RowOperation,
|
|
@@ -22713,10 +22712,11 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22713
22712
|
if (this.column.componentType === "select") {
|
|
22714
22713
|
if (d !== l.valueAttribute) {
|
|
22715
22714
|
const m = l.optionItems.find((_) => _[l.valueAttribute] === o);
|
|
22716
|
-
|
|
22715
|
+
m && (o = m[d]);
|
|
22717
22716
|
}
|
|
22718
22717
|
t.row[this.column.prop] = o;
|
|
22719
|
-
} else if (o && d !== l.valueAttribute
|
|
22718
|
+
} else if (o && d !== l.valueAttribute) {
|
|
22719
|
+
typeof o == "string" && (o = o.split(","));
|
|
22720
22720
|
const m = [];
|
|
22721
22721
|
o.forEach((_) => {
|
|
22722
22722
|
if (d !== l.valueAttribute) {
|
|
@@ -23283,7 +23283,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23283
23283
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23284
23284
|
]);
|
|
23285
23285
|
}
|
|
23286
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23286
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-8a373972"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
|
|
23287
23287
|
components: {
|
|
23288
23288
|
DynamicInput,
|
|
23289
23289
|
RowOperation,
|
|
@@ -71892,7 +71892,7 @@ Required: ` + u.join(", "));
|
|
|
71892
71892
|
ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
|
|
71893
71893
|
ua.DOM.unbind(document, "mouseup", f);
|
|
71894
71894
|
});
|
|
71895
|
-
},
|
|
71895
|
+
}, e8 = function(r) {
|
|
71896
71896
|
r.on("focusout", function() {
|
|
71897
71897
|
fg(r);
|
|
71898
71898
|
});
|
|
@@ -71900,23 +71900,23 @@ Required: ` + u.join(", "));
|
|
|
71900
71900
|
r.on("mouseup touchend", function(f) {
|
|
71901
71901
|
u.throttle();
|
|
71902
71902
|
});
|
|
71903
|
-
},
|
|
71903
|
+
}, t8 = function(r, u) {
|
|
71904
71904
|
var f = Wr().browser;
|
|
71905
|
-
f.isIE() ?
|
|
71905
|
+
f.isIE() ? e8(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
|
|
71906
71906
|
QC(p) || fg(r);
|
|
71907
71907
|
});
|
|
71908
|
-
},
|
|
71908
|
+
}, n8 = function(r) {
|
|
71909
71909
|
var u = g1(function() {
|
|
71910
71910
|
fg(r);
|
|
71911
71911
|
}, 0);
|
|
71912
71912
|
r.on("init", function() {
|
|
71913
|
-
r.inline && Cc(r, u),
|
|
71913
|
+
r.inline && Cc(r, u), t8(r, u);
|
|
71914
71914
|
}), r.on("remove", function() {
|
|
71915
71915
|
u.cancel();
|
|
71916
71916
|
});
|
|
71917
71917
|
}, rd, vg = ua.DOM, p4 = function(r) {
|
|
71918
71918
|
return wc.isEditorUIElement(r);
|
|
71919
|
-
},
|
|
71919
|
+
}, r8 = function(r) {
|
|
71920
71920
|
var u = r.classList;
|
|
71921
71921
|
return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
|
|
71922
71922
|
}, Av = function(r, u) {
|
|
@@ -71924,7 +71924,7 @@ Required: ` + u.join(", "));
|
|
|
71924
71924
|
return p4(y) || (f ? r.dom.is(y, f) : !1);
|
|
71925
71925
|
});
|
|
71926
71926
|
return p !== null;
|
|
71927
|
-
},
|
|
71927
|
+
}, o8 = function(r) {
|
|
71928
71928
|
try {
|
|
71929
71929
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71930
71930
|
return t_(u).fold(function() {
|
|
@@ -71935,15 +71935,15 @@ Required: ` + u.join(", "));
|
|
|
71935
71935
|
} catch {
|
|
71936
71936
|
return document.body;
|
|
71937
71937
|
}
|
|
71938
|
-
},
|
|
71938
|
+
}, a8 = function(r, u) {
|
|
71939
71939
|
var f = u.editor;
|
|
71940
|
-
|
|
71940
|
+
n8(f), f.on("focusin", function() {
|
|
71941
71941
|
var p = r.focusedEditor;
|
|
71942
71942
|
p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
|
|
71943
71943
|
}), f.on("focusout", function() {
|
|
71944
71944
|
_r.setEditorTimeout(f, function() {
|
|
71945
71945
|
var p = r.focusedEditor;
|
|
71946
|
-
!Av(f,
|
|
71946
|
+
!Av(f, o8(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71947
71947
|
});
|
|
71948
71948
|
}), rd || (rd = function(p) {
|
|
71949
71949
|
var y = r.activeEditor;
|
|
@@ -71951,18 +71951,18 @@ Required: ` + u.join(", "));
|
|
|
71951
71951
|
C.ownerDocument === document && C !== document.body && !Av(y, C) && r.focusedEditor === y && (y.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71952
71952
|
});
|
|
71953
71953
|
}, vg.bind(document, "focusin", rd));
|
|
71954
|
-
},
|
|
71954
|
+
}, i8 = function(r, u) {
|
|
71955
71955
|
r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
|
|
71956
71956
|
}, m4 = function(r) {
|
|
71957
|
-
r.on("AddEditor", Ue(
|
|
71957
|
+
r.on("AddEditor", Ue(a8, r)), r.on("RemoveEditor", Ue(i8, r));
|
|
71958
71958
|
}, Iv = function(r, u) {
|
|
71959
71959
|
return r.dom.getParent(u, function(f) {
|
|
71960
71960
|
return r.dom.getContentEditable(f) === "true";
|
|
71961
71961
|
});
|
|
71962
|
-
},
|
|
71962
|
+
}, l8 = function(r) {
|
|
71963
71963
|
return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
|
|
71964
71964
|
}, g4 = function(r, u) {
|
|
71965
|
-
return
|
|
71965
|
+
return l8(u).bind(function(f) {
|
|
71966
71966
|
return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
|
|
71967
71967
|
});
|
|
71968
71968
|
}, lm = function(r, u) {
|
|
@@ -71984,21 +71984,21 @@ Required: ` + u.join(", "));
|
|
|
71984
71984
|
r.focus();
|
|
71985
71985
|
}, _4 = function(r) {
|
|
71986
71986
|
return e_(r) || GC(r).isSome();
|
|
71987
|
-
},
|
|
71987
|
+
}, s8 = function(r) {
|
|
71988
71988
|
return r.iframeElement && e_(be.fromDom(r.iframeElement));
|
|
71989
|
-
},
|
|
71989
|
+
}, u8 = function(r) {
|
|
71990
71990
|
var u = r.getBody();
|
|
71991
71991
|
return u && _4(be.fromDom(u));
|
|
71992
|
-
},
|
|
71992
|
+
}, c8 = function(r) {
|
|
71993
71993
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71994
71994
|
return t_(u).filter(function(f) {
|
|
71995
|
-
return !
|
|
71995
|
+
return !r8(f.dom) && Av(r, f.dom);
|
|
71996
71996
|
}).isSome();
|
|
71997
71997
|
}, od = function(r) {
|
|
71998
|
-
return r.inline ?
|
|
71998
|
+
return r.inline ? u8(r) : s8(r);
|
|
71999
71999
|
}, y4 = function(r) {
|
|
72000
|
-
return od(r) ||
|
|
72001
|
-
},
|
|
72000
|
+
return od(r) || c8(r);
|
|
72001
|
+
}, f8 = function(r) {
|
|
72002
72002
|
var u = r.selection, f = r.getBody(), p = u.getRng();
|
|
72003
72003
|
r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
|
|
72004
72004
|
r.selection.setRng(C), p = C;
|
|
@@ -72012,7 +72012,7 @@ Required: ` + u.join(", "));
|
|
|
72012
72012
|
}, l_ = function(r) {
|
|
72013
72013
|
return r.editorManager.setActive(r);
|
|
72014
72014
|
}, b4 = function(r, u) {
|
|
72015
|
-
r.removed || (u ? l_(r) :
|
|
72015
|
+
r.removed || (u ? l_(r) : f8(r));
|
|
72016
72016
|
}, w4 = function(r, u, f, p, y) {
|
|
72017
72017
|
var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
|
|
72018
72018
|
return me.from(C).map(be.fromDom).map(function(P) {
|
|
@@ -72078,7 +72078,7 @@ Required: ` + u.join(", "));
|
|
|
72078
72078
|
if (C = A[y], C)
|
|
72079
72079
|
return C;
|
|
72080
72080
|
}
|
|
72081
|
-
},
|
|
72081
|
+
}, d8 = function(r) {
|
|
72082
72082
|
if (!Of(r.value))
|
|
72083
72083
|
return !1;
|
|
72084
72084
|
var u = r.parent;
|
|
@@ -72194,7 +72194,7 @@ Required: ` + u.join(", "));
|
|
|
72194
72194
|
if (u[C.name] || mg(C))
|
|
72195
72195
|
return !1;
|
|
72196
72196
|
}
|
|
72197
|
-
if (C.type === 8 || C.type === 3 && !
|
|
72197
|
+
if (C.type === 8 || C.type === 3 && !d8(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
|
|
72198
72198
|
return !1;
|
|
72199
72199
|
} while (C = Mr(C, y));
|
|
72200
72200
|
return !0;
|
|
@@ -72231,13 +72231,13 @@ Required: ` + u.join(", "));
|
|
|
72231
72231
|
}, E4 = [
|
|
72232
72232
|
"img",
|
|
72233
72233
|
"video"
|
|
72234
|
-
],
|
|
72234
|
+
], h8 = function(r) {
|
|
72235
72235
|
return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
|
|
72236
|
-
},
|
|
72236
|
+
}, v8 = function(r, u) {
|
|
72237
72237
|
var f = oe(r) ? Re(E4, u) : r;
|
|
72238
72238
|
return !f;
|
|
72239
72239
|
}, Qr = function(r, u, f) {
|
|
72240
|
-
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ?
|
|
72240
|
+
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ? v8(r.allow_svg_data_urls, f) && /^data:image\/svg\+xml/i.test(u) : /^data:/i.test(u);
|
|
72241
72241
|
}, h_ = function(r, u, f) {
|
|
72242
72242
|
var p = 1, y, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
|
|
72243
72243
|
for (P.lastIndex = y = f; C = P.exec(u); ) {
|
|
@@ -72269,7 +72269,7 @@ Required: ` + u.join(", "));
|
|
|
72269
72269
|
var P = A.exec(r);
|
|
72270
72270
|
return P ? P.index + P[0].length : p.length;
|
|
72271
72271
|
}
|
|
72272
|
-
},
|
|
72272
|
+
}, p8 = function(r, u) {
|
|
72273
72273
|
var f = r.exec(u);
|
|
72274
72274
|
if (f) {
|
|
72275
72275
|
var p = f[1], y = f[2];
|
|
@@ -72300,7 +72300,7 @@ Required: ` + u.join(", "));
|
|
|
72300
72300
|
return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
|
|
72301
72301
|
}, an = function(ba, fa, pl, pf, fu) {
|
|
72302
72302
|
var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
|
|
72303
|
-
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn &&
|
|
72303
|
+
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h8(fa) === !1) {
|
|
72304
72304
|
if (du = er[fa], !du && br) {
|
|
72305
72305
|
for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
|
|
72306
72306
|
;
|
|
@@ -72333,7 +72333,7 @@ Required: ` + u.join(", "));
|
|
|
72333
72333
|
continue;
|
|
72334
72334
|
}
|
|
72335
72335
|
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);
|
|
72336
|
-
var vf =
|
|
72336
|
+
var vf = p8(sr, Oe[9]);
|
|
72337
72337
|
if (vf !== null) {
|
|
72338
72338
|
if (vf === "all") {
|
|
72339
72339
|
$e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
|
|
@@ -72413,37 +72413,37 @@ Required: ` + u.join(", "));
|
|
|
72413
72413
|
return { parse: ie };
|
|
72414
72414
|
};
|
|
72415
72415
|
_g.findEndTag = h_;
|
|
72416
|
-
var
|
|
72416
|
+
var m8 = function(r, u) {
|
|
72417
72417
|
var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
|
|
72418
72418
|
return u.replace(f, "");
|
|
72419
72419
|
}, k4 = function(r, u) {
|
|
72420
72420
|
var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, y, C, A, P, M = r.schema;
|
|
72421
|
-
f =
|
|
72421
|
+
f = m8(r.getTempAttrs(), f);
|
|
72422
72422
|
for (var X = M.getShortEndedElements(); P = p.exec(f); )
|
|
72423
72423
|
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;
|
|
72424
72424
|
return rc(f);
|
|
72425
|
-
}, v_ = k4,
|
|
72425
|
+
}, v_ = k4, g8 = function(r, u) {
|
|
72426
72426
|
var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>( | |\\s| |<br \\/>|)<\\/" + f + `>[\r
|
|
72427
72427
|
]*|<br \\/>[\r
|
|
72428
72428
|
]*)$`);
|
|
72429
72429
|
return u.replace(p, "");
|
|
72430
|
-
},
|
|
72430
|
+
}, _8 = function(r, u, f, p) {
|
|
72431
72431
|
var y;
|
|
72432
|
-
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 =
|
|
72432
|
+
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? y = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? y = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? y = r.serializer.serialize(p, u) : y = g8(r, r.serializer.serialize(p, u)), !Re([
|
|
72433
72433
|
"text",
|
|
72434
72434
|
"tree"
|
|
72435
72435
|
], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(y) : u.content = y, u.no_events || r.fire("GetContent", u), u.content;
|
|
72436
72436
|
}, Gr = function(r, u, f) {
|
|
72437
72437
|
return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
|
|
72438
|
-
return
|
|
72438
|
+
return _8(r, u, f, p);
|
|
72439
72439
|
});
|
|
72440
|
-
},
|
|
72440
|
+
}, y8 = Ve.each, p_ = function(r) {
|
|
72441
72441
|
var u = function(f, p) {
|
|
72442
72442
|
if (f.nodeName !== p.nodeName)
|
|
72443
72443
|
return !1;
|
|
72444
72444
|
var y = function(A) {
|
|
72445
72445
|
var P = {};
|
|
72446
|
-
return
|
|
72446
|
+
return y8(r.getAttribs(A), function(M) {
|
|
72447
72447
|
var X = M.nodeName.toLowerCase();
|
|
72448
72448
|
X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
|
|
72449
72449
|
}), P;
|
|
@@ -72720,7 +72720,7 @@ Required: ` + u.join(", "));
|
|
|
72720
72720
|
}, function(p) {
|
|
72721
72721
|
return Ki(r, p.dom, f).isNone();
|
|
72722
72722
|
});
|
|
72723
|
-
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1),
|
|
72723
|
+
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b8 = Ue(xc, !0), id = function(r) {
|
|
72724
72724
|
return Hp(r).exists(xu);
|
|
72725
72725
|
}, bg = function(r, u, f) {
|
|
72726
72726
|
var p = Pt(qo(be.fromDom(f.container()), u), Fs), y = Zt(p).getOr(u);
|
|
@@ -72743,7 +72743,7 @@ Required: ` + u.join(", "));
|
|
|
72743
72743
|
"pre",
|
|
72744
72744
|
"pre-wrap"
|
|
72745
72745
|
], r);
|
|
72746
|
-
},
|
|
72746
|
+
}, w8 = function(r) {
|
|
72747
72747
|
return Hp(r).bind(function(u) {
|
|
72748
72748
|
return jm(u, ui);
|
|
72749
72749
|
}).exists(function(u) {
|
|
@@ -72756,14 +72756,14 @@ Required: ` + u.join(", "));
|
|
|
72756
72756
|
}, NN = function(r, u) {
|
|
72757
72757
|
return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
|
|
72758
72758
|
}, Xa = function(r, u) {
|
|
72759
|
-
return
|
|
72759
|
+
return w8(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
|
|
72760
72760
|
}, __ = function(r, u) {
|
|
72761
|
-
return
|
|
72761
|
+
return w8(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
|
|
72762
72762
|
}, Jx = function(r) {
|
|
72763
72763
|
var u = r.container(), f = r.offset();
|
|
72764
72764
|
return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
|
|
72765
72765
|
}, y_ = function(r, u) {
|
|
72766
|
-
return
|
|
72766
|
+
return w8(u) ? !1 : yg(r, u) || b8(r, u) || wg(r, u) || Xx(r, u);
|
|
72767
72767
|
}, N4 = function(r, u) {
|
|
72768
72768
|
return __(r, u) || y_(r, Jx(u));
|
|
72769
72769
|
}, A4 = function(r, u) {
|
|
@@ -72895,11 +72895,11 @@ Required: ` + u.join(", "));
|
|
|
72895
72895
|
return Ro(C.dom, 0);
|
|
72896
72896
|
})), u;
|
|
72897
72897
|
});
|
|
72898
|
-
},
|
|
72898
|
+
}, C8 = function(r, u) {
|
|
72899
72899
|
return Vr(r.schema.getTextInlineElements(), si(u));
|
|
72900
72900
|
}, gm = function(r, u, f, p) {
|
|
72901
72901
|
p === void 0 && (p = !0);
|
|
72902
|
-
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y,
|
|
72902
|
+
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y, C8(r, f));
|
|
72903
72903
|
r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
|
|
72904
72904
|
p && tE(r, u, A);
|
|
72905
72905
|
}, function(P) {
|
|
@@ -72910,13 +72910,13 @@ Required: ` + u.join(", "));
|
|
|
72910
72910
|
start: r,
|
|
72911
72911
|
end: u
|
|
72912
72912
|
};
|
|
72913
|
-
},
|
|
72913
|
+
}, x8 = function(r, u, f) {
|
|
72914
72914
|
return {
|
|
72915
72915
|
rng: r,
|
|
72916
72916
|
table: u,
|
|
72917
72917
|
cells: f
|
|
72918
72918
|
};
|
|
72919
|
-
},
|
|
72919
|
+
}, E8 = Sf.generate([
|
|
72920
72920
|
{ removeTable: ["element"] },
|
|
72921
72921
|
{ emptyCells: ["cells"] },
|
|
72922
72922
|
{
|
|
@@ -72935,14 +72935,14 @@ Required: ` + u.join(", "));
|
|
|
72935
72935
|
return Uc(r, "table", u);
|
|
72936
72936
|
}, oE = function(r) {
|
|
72937
72937
|
return !yo(r.start, r.end);
|
|
72938
|
-
},
|
|
72938
|
+
}, S8 = function(r, u) {
|
|
72939
72939
|
return _m(r.start, u).bind(function(f) {
|
|
72940
72940
|
return _m(r.end, u).bind(function(p) {
|
|
72941
72941
|
return Mn(yo(f, p), f);
|
|
72942
72942
|
});
|
|
72943
72943
|
});
|
|
72944
72944
|
}, aE = function(r, u) {
|
|
72945
|
-
return !oE(r) &&
|
|
72945
|
+
return !oE(r) && S8(r, u).exists(function(f) {
|
|
72946
72946
|
var p = f.dom.rows;
|
|
72947
72947
|
return p.length === 1 && p[0].cells.length === 1;
|
|
72948
72948
|
});
|
|
@@ -72979,10 +72979,10 @@ Required: ` + u.join(", "));
|
|
|
72979
72979
|
return iE(r, y) ? me.none() : UN(y, r);
|
|
72980
72980
|
});
|
|
72981
72981
|
}, iE = function(r, u) {
|
|
72982
|
-
return
|
|
72982
|
+
return S8(u, r).isSome();
|
|
72983
72983
|
}, lE = function(r, u) {
|
|
72984
|
-
return
|
|
72985
|
-
return
|
|
72984
|
+
return S8(r, u).map(function(f) {
|
|
72985
|
+
return x8(r, f, C_(f));
|
|
72986
72986
|
});
|
|
72987
72987
|
}, sE = function(r, u, f) {
|
|
72988
72988
|
return r.filter(function(p) {
|
|
@@ -73009,12 +73009,12 @@ Required: ` + u.join(", "));
|
|
|
73009
73009
|
}, jN = function(r) {
|
|
73010
73010
|
return HN(r).map(function(u) {
|
|
73011
73011
|
var f = r.cells;
|
|
73012
|
-
return u.length === f.length ?
|
|
73012
|
+
return u.length === f.length ? E8.removeTable(r.table) : E8.emptyCells(u);
|
|
73013
73013
|
});
|
|
73014
73014
|
}, GN = function(r, u) {
|
|
73015
73015
|
var f = VN(r), p = LN(u, f);
|
|
73016
73016
|
return WN(p, u, f).map(function(y) {
|
|
73017
|
-
return
|
|
73017
|
+
return E8.deleteCellSelection(u, y);
|
|
73018
73018
|
}).orThunk(function() {
|
|
73019
73019
|
return sE(p, u, f).bind(jN);
|
|
73020
73020
|
});
|
|
@@ -73037,15 +73037,15 @@ Required: ` + u.join(", "));
|
|
|
73037
73037
|
return !0;
|
|
73038
73038
|
}, dE = function(r, u) {
|
|
73039
73039
|
return gm(r, !1, u), !0;
|
|
73040
|
-
},
|
|
73040
|
+
}, k8 = function(r, u, f) {
|
|
73041
73041
|
return GN(u, f).map(function(p) {
|
|
73042
73042
|
return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
|
|
73043
73043
|
});
|
|
73044
73044
|
}, qN = function(r, u) {
|
|
73045
73045
|
return O4(r, u);
|
|
73046
73046
|
}, hE = function(r, u, f, p) {
|
|
73047
|
-
return
|
|
73048
|
-
return
|
|
73047
|
+
return T8(u, p).fold(function() {
|
|
73048
|
+
return k8(r, u, f);
|
|
73049
73049
|
}, function(y) {
|
|
73050
73050
|
return qN(r, y);
|
|
73051
73051
|
}).getOr(!1);
|
|
@@ -73054,7 +73054,7 @@ Required: ` + u.join(", "));
|
|
|
73054
73054
|
return y.length !== 0 ? Eg(r, y) : hE(r, f, p, u);
|
|
73055
73055
|
}, pE = function(r, u) {
|
|
73056
73056
|
return _n(qo(u, r), bs);
|
|
73057
|
-
},
|
|
73057
|
+
}, T8 = function(r, u) {
|
|
73058
73058
|
return _n(qo(u, r), function(f) {
|
|
73059
73059
|
return si(f) === "caption";
|
|
73060
73060
|
});
|
|
@@ -73075,7 +73075,7 @@ Required: ` + u.join(", "));
|
|
|
73075
73075
|
}, XN = function(r, u) {
|
|
73076
73076
|
return O4(r, u);
|
|
73077
73077
|
}, JN = function(r, u, f) {
|
|
73078
|
-
return
|
|
73078
|
+
return T8(r, be.fromDom(f.getNode())).map(function(p) {
|
|
73079
73079
|
return yo(p, u) === !1;
|
|
73080
73080
|
});
|
|
73081
73081
|
}, ZN = function(r, u, f, p, y) {
|
|
@@ -73092,31 +73092,31 @@ Required: ` + u.join(", "));
|
|
|
73092
73092
|
return ws(p) ? O4(r, p) : ZN(r, f, u, p, y);
|
|
73093
73093
|
}, mE = function(r, u) {
|
|
73094
73094
|
return r ? zr(u) : xo(u);
|
|
73095
|
-
},
|
|
73095
|
+
}, N8 = function(r, u) {
|
|
73096
73096
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
73097
73097
|
return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
|
|
73098
73098
|
return mE(u, p);
|
|
73099
73099
|
});
|
|
73100
73100
|
}, uf = function(r, u, f) {
|
|
73101
73101
|
var p = be.fromDom(r.getBody());
|
|
73102
|
-
return
|
|
73103
|
-
return QN(r, u, p, f) ||
|
|
73102
|
+
return T8(p, f).fold(function() {
|
|
73103
|
+
return QN(r, u, p, f) || N8(r, u);
|
|
73104
73104
|
}, function(y) {
|
|
73105
73105
|
return eA(r, u, p, y).getOr(!1);
|
|
73106
73106
|
});
|
|
73107
73107
|
}, Sg = function(r, u) {
|
|
73108
73108
|
var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
|
|
73109
73109
|
return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
|
|
73110
|
-
},
|
|
73110
|
+
}, A8 = function(r, u, f, p) {
|
|
73111
73111
|
var y = document.createRange();
|
|
73112
73112
|
return y.setStart(r, u), y.setEnd(f, p), y;
|
|
73113
|
-
},
|
|
73113
|
+
}, I8 = function(r) {
|
|
73114
73114
|
var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
|
|
73115
73115
|
return Hs(!1, p, f).map(function(y) {
|
|
73116
|
-
return !Pu(u, f, p) && Pu(u, y, p) ?
|
|
73116
|
+
return !Pu(u, f, p) && Pu(u, y, p) ? A8(u.container(), u.offset(), y.container(), y.offset()) : r;
|
|
73117
73117
|
}).getOr(r);
|
|
73118
|
-
},
|
|
73119
|
-
return r.collapsed ? r :
|
|
73118
|
+
}, D8 = function(r) {
|
|
73119
|
+
return r.collapsed ? r : I8(r);
|
|
73120
73120
|
}, gE = function(r) {
|
|
73121
73121
|
return r.firstChild && r.firstChild === r.lastChild;
|
|
73122
73122
|
}, tA = function(r) {
|
|
@@ -73124,12 +73124,12 @@ Required: ` + u.join(", "));
|
|
|
73124
73124
|
}, nA = function(r, u) {
|
|
73125
73125
|
var f = r.getBlockElements();
|
|
73126
73126
|
return f[u.name] && gE(u) && tA(u.firstChild);
|
|
73127
|
-
},
|
|
73127
|
+
}, O8 = function(r, u) {
|
|
73128
73128
|
var f = r.getNonEmptyElements();
|
|
73129
73129
|
return u && (u.isEmpty(f) || nA(r, u));
|
|
73130
73130
|
}, rA = function(r, u) {
|
|
73131
73131
|
var f = u.firstChild, p = u.lastChild;
|
|
73132
|
-
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev),
|
|
73132
|
+
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev), O8(r, p) && (p = p.prev), !f || f !== p ? !1 : f.name === "ul" || f.name === "ol";
|
|
73133
73133
|
}, _E = function(r) {
|
|
73134
73134
|
var u = r.firstChild, f = r.lastChild;
|
|
73135
73135
|
return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
|
|
@@ -73148,11 +73148,11 @@ Required: ` + u.join(", "));
|
|
|
73148
73148
|
return !r.firstChild || yE(r);
|
|
73149
73149
|
}, bE = function(r) {
|
|
73150
73150
|
return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
|
|
73151
|
-
},
|
|
73151
|
+
}, B8 = function(r, u) {
|
|
73152
73152
|
var f = r.getParent(u, r.isBlock);
|
|
73153
73153
|
return f && f.nodeName === "LI" ? f : null;
|
|
73154
73154
|
}, lA = function(r, u) {
|
|
73155
|
-
return !!
|
|
73155
|
+
return !!B8(r, u);
|
|
73156
73156
|
}, sA = function(r, u) {
|
|
73157
73157
|
var f = u.cloneRange(), p = u.cloneRange();
|
|
73158
73158
|
return f.setStartBefore(r), p.setEndAfter(r), [
|
|
@@ -73175,24 +73175,24 @@ Required: ` + u.join(", "));
|
|
|
73175
73175
|
return Ve.each(u, function(y) {
|
|
73176
73176
|
p.insertBefore(y, r);
|
|
73177
73177
|
}), uA(r, f);
|
|
73178
|
-
},
|
|
73178
|
+
}, P8 = function(r, u, f, p) {
|
|
73179
73179
|
return p.insertAfter(u.reverse(), r), wE(u[0], f);
|
|
73180
73180
|
}, kg = function(r, u, f, p) {
|
|
73181
|
-
var y = oA(u, r, p), C =
|
|
73181
|
+
var y = oA(u, r, p), C = B8(u, f.startContainer), A = bE(x_(y.firstChild)), P = 1, M = 2, X = u.getRoot(), ie = function(ae) {
|
|
73182
73182
|
var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
|
|
73183
|
-
return Oe ?
|
|
73183
|
+
return Oe ? B8(u, Oe.getNode()) !== C : !0;
|
|
73184
73184
|
};
|
|
73185
|
-
return ie(P) ? cA(C, A, X) : ie(M) ?
|
|
73185
|
+
return ie(P) ? cA(C, A, X) : ie(M) ? P8(C, A, X, u) : CE(C, A, X, f);
|
|
73186
73186
|
}, fA = function(r, u, f) {
|
|
73187
73187
|
var p = be.fromDom(r.getRoot());
|
|
73188
73188
|
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;
|
|
73189
|
-
},
|
|
73189
|
+
}, M8 = ti, B4 = function(r, u, f) {
|
|
73190
73190
|
if (f !== null) {
|
|
73191
|
-
var p = r.getParent(u.endContainer,
|
|
73191
|
+
var p = r.getParent(u.endContainer, M8);
|
|
73192
73192
|
return f === p && W2(be.fromDom(f), u);
|
|
73193
73193
|
} else
|
|
73194
73194
|
return !1;
|
|
73195
|
-
},
|
|
73195
|
+
}, R8 = function(r, u, f) {
|
|
73196
73196
|
if (f.getAttribute("data-mce-bogus") === "all")
|
|
73197
73197
|
f.parentNode.insertBefore(r.dom.createFragment(u), f);
|
|
73198
73198
|
else {
|
|
@@ -73222,7 +73222,7 @@ Required: ` + u.join(", "));
|
|
|
73222
73222
|
}, xE = function(r) {
|
|
73223
73223
|
for (var u = r; u = u.walk(); )
|
|
73224
73224
|
u.type === 1 && u.attr("data-mce-fragment", "1");
|
|
73225
|
-
}, $
|
|
73225
|
+
}, $8 = function(r) {
|
|
73226
73226
|
Ve.each(r.getElementsByTagName("*"), function(u) {
|
|
73227
73227
|
u.removeAttribute("data-mce-fragment");
|
|
73228
73228
|
});
|
|
@@ -73251,14 +73251,14 @@ Required: ` + u.join(", "));
|
|
|
73251
73251
|
if (ke = Oe.next(ke), ke)
|
|
73252
73252
|
return ke.toRange();
|
|
73253
73253
|
}, ae = p.getParent(u, p.isBlock);
|
|
73254
|
-
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !
|
|
73254
|
+
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !M8(ae) && !vA(ae) && (f = ie(M)) ? (M = f, p.remove(ae)) : p.add(ae, p.create("br", { "data-mce-bogus": "1" }))), y.setRng(M);
|
|
73255
73255
|
}
|
|
73256
73256
|
}, pA = function(r) {
|
|
73257
|
-
var u = r.dom, f =
|
|
73257
|
+
var u = r.dom, f = D8(r.selection.getRng());
|
|
73258
73258
|
r.selection.setRng(f);
|
|
73259
|
-
var p = u.getParent(f.startContainer,
|
|
73259
|
+
var p = u.getParent(f.startContainer, M8);
|
|
73260
73260
|
B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
|
|
73261
|
-
},
|
|
73261
|
+
}, F8 = function(r, u, f) {
|
|
73262
73262
|
var p, y, C, A, P, M, X = r.selection, ie = r.dom;
|
|
73263
73263
|
/^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
|
|
73264
73264
|
var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
@@ -73296,7 +73296,7 @@ Required: ` + u.join(", "));
|
|
|
73296
73296
|
}
|
|
73297
73297
|
}
|
|
73298
73298
|
if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
|
|
73299
|
-
u = ke.serialize(et),
|
|
73299
|
+
u = ke.serialize(et), R8(r, u, p);
|
|
73300
73300
|
else {
|
|
73301
73301
|
for (r.selection.setContent(Oe), p = X.getNode(), y = r.getBody(), p.nodeType === 9 ? p = M = y : M = p; M !== y; )
|
|
73302
73302
|
p = M, M = M.parentNode;
|
|
@@ -73304,12 +73304,12 @@ Required: ` + u.join(", "));
|
|
|
73304
73304
|
return ke.serialize(et);
|
|
73305
73305
|
}))), p === y ? ie.setHTML(y, u) : ie.setOuterHTML(p, u);
|
|
73306
73306
|
}
|
|
73307
|
-
hA(r, se), mh(r, ie.get("mce_marker")), $
|
|
73308
|
-
},
|
|
73309
|
-
u(r), r.firstChild &&
|
|
73307
|
+
hA(r, se), mh(r, ie.get("mce_marker")), $8(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
|
|
73308
|
+
}, V8 = function(r, u) {
|
|
73309
|
+
u(r), r.firstChild && V8(r.firstChild, u), r.next && V8(r.next, u);
|
|
73310
73310
|
}, mA = function(r, u, f) {
|
|
73311
73311
|
var p = {}, y = {}, C = [];
|
|
73312
|
-
f.firstChild &&
|
|
73312
|
+
f.firstChild && V8(f.firstChild, function(M) {
|
|
73313
73313
|
he(r, function(X) {
|
|
73314
73314
|
X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
|
|
73315
73315
|
filter: X,
|
|
@@ -73371,12 +73371,12 @@ Required: ` + u.join(", "));
|
|
|
73371
73371
|
break;
|
|
73372
73372
|
}
|
|
73373
73373
|
return me.none();
|
|
73374
|
-
},
|
|
73374
|
+
}, L8 = function(r, u, f) {
|
|
73375
73375
|
var p = u(r), y = EE(f);
|
|
73376
73376
|
return p.orThunk(function() {
|
|
73377
73377
|
return y(r) ? me.none() : EA(r, u, y);
|
|
73378
73378
|
});
|
|
73379
|
-
},
|
|
73379
|
+
}, U8 = jp, SE = function(r, u, f) {
|
|
73380
73380
|
var p = r.formatter.get(f);
|
|
73381
73381
|
if (p) {
|
|
73382
73382
|
for (var y = 0; y < p.length; y++)
|
|
@@ -73384,13 +73384,13 @@ Required: ` + u.join(", "));
|
|
|
73384
73384
|
return !0;
|
|
73385
73385
|
}
|
|
73386
73386
|
return !1;
|
|
73387
|
-
},
|
|
73387
|
+
}, z8 = function(r, u, f, p) {
|
|
73388
73388
|
var y = r.dom.getRoot();
|
|
73389
73389
|
return u === y ? !1 : (u = r.dom.getParent(u, function(C) {
|
|
73390
73390
|
return SE(r, C, f) ? !0 : C.parentNode === y || !!ld(r, C, f, p, !0);
|
|
73391
73391
|
}), ld(r, u, f, p));
|
|
73392
73392
|
}, kE = function(r, u, f) {
|
|
73393
|
-
if (
|
|
73393
|
+
if (U8(u, f.inline) || U8(u, f.block))
|
|
73394
73394
|
return !0;
|
|
73395
73395
|
if (f.selector)
|
|
73396
73396
|
return u.nodeType === 1 && r.is(u, f.selector);
|
|
@@ -73401,7 +73401,7 @@ Required: ` + u.join(", "));
|
|
|
73401
73401
|
if (M) {
|
|
73402
73402
|
if (typeof M.length > "u") {
|
|
73403
73403
|
for (A in M)
|
|
73404
|
-
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !
|
|
73404
|
+
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !U8(P, G1(r, rf(M[A], C), A))))
|
|
73405
73405
|
return;
|
|
73406
73406
|
} else
|
|
73407
73407
|
for (X = 0; X < M.length; X++)
|
|
@@ -73424,11 +73424,11 @@ Required: ` + u.join(", "));
|
|
|
73424
73424
|
}
|
|
73425
73425
|
}, E_ = function(r, u, f, p) {
|
|
73426
73426
|
if (p)
|
|
73427
|
-
return
|
|
73428
|
-
if (p = r.selection.getNode(),
|
|
73427
|
+
return z8(r, p, u, f);
|
|
73428
|
+
if (p = r.selection.getNode(), z8(r, p, u, f))
|
|
73429
73429
|
return !0;
|
|
73430
73430
|
var y = r.selection.getStart();
|
|
73431
|
-
return !!(y !== p &&
|
|
73431
|
+
return !!(y !== p && z8(r, y, u, f));
|
|
73432
73432
|
}, NE = function(r, u, f) {
|
|
73433
73433
|
var p = [], y = {}, C = r.selection.getStart();
|
|
73434
73434
|
return r.dom.getParent(C, function(A) {
|
|
@@ -73444,7 +73444,7 @@ Required: ` + u.join(", "));
|
|
|
73444
73444
|
return ld(r, y.dom, C) ? me.some(C) : me.none();
|
|
73445
73445
|
};
|
|
73446
73446
|
return me.from(r.selection.getStart(!0)).bind(function(y) {
|
|
73447
|
-
return
|
|
73447
|
+
return L8(be.fromDom(y), function(C) {
|
|
73448
73448
|
return Jr(u, function(A) {
|
|
73449
73449
|
return p(C, A);
|
|
73450
73450
|
});
|
|
@@ -73485,7 +73485,7 @@ Required: ` + u.join(", "));
|
|
|
73485
73485
|
return r;
|
|
73486
73486
|
}
|
|
73487
73487
|
return null;
|
|
73488
|
-
},
|
|
73488
|
+
}, H8 = function(r) {
|
|
73489
73489
|
var u = be.fromTag("span");
|
|
73490
73490
|
return K(u, {
|
|
73491
73491
|
id: Tg,
|
|
@@ -73495,7 +73495,7 @@ Required: ` + u.join(", "));
|
|
|
73495
73495
|
}, TA = function(r) {
|
|
73496
73496
|
var u = OE(r);
|
|
73497
73497
|
return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
|
|
73498
|
-
},
|
|
73498
|
+
}, W8 = function(r, u, f) {
|
|
73499
73499
|
f === void 0 && (f = !0);
|
|
73500
73500
|
var p = r.dom, y = r.selection;
|
|
73501
73501
|
if (DE(u))
|
|
@@ -73504,14 +73504,14 @@ Required: ` + u.join(", "));
|
|
|
73504
73504
|
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);
|
|
73505
73505
|
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);
|
|
73506
73506
|
}
|
|
73507
|
-
},
|
|
73507
|
+
}, j8 = function(r, u, f) {
|
|
73508
73508
|
f === void 0 && (f = !0);
|
|
73509
73509
|
var p = r.dom, y = r.selection;
|
|
73510
73510
|
if (u)
|
|
73511
|
-
|
|
73511
|
+
W8(r, u, f);
|
|
73512
73512
|
else if (u = rh(r.getBody(), y.getStart()), !u)
|
|
73513
73513
|
for (; u = p.get(Tg); )
|
|
73514
|
-
|
|
73514
|
+
W8(r, u, !1);
|
|
73515
73515
|
}, BE = function(r, u, f) {
|
|
73516
73516
|
var p = r.dom, y = p.getParent(f, Ue(gv, r));
|
|
73517
73517
|
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));
|
|
@@ -73543,7 +73543,7 @@ Required: ` + u.join(", "));
|
|
|
73543
73543
|
var se = ru(r, A, r.formatter.get(u));
|
|
73544
73544
|
se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
|
|
73545
73545
|
} else
|
|
73546
|
-
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(),
|
|
73546
|
+
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(), H8(!0).dom), y = p.firstChild, A.insertNode(p), P = 1), r.formatter.apply(u, f, p), C.setCursorLocation(y, P);
|
|
73547
73547
|
}, ME = function(r, u, f, p) {
|
|
73548
73548
|
var y = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
|
|
73549
73549
|
for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
|
|
@@ -73560,27 +73560,27 @@ Required: ` + u.join(", "));
|
|
|
73560
73560
|
var Oe = ru(r, ie, r.formatter.get(u), !0);
|
|
73561
73561
|
Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
|
|
73562
73562
|
} else {
|
|
73563
|
-
var $e = rh(r.getBody(), M), Ee =
|
|
73563
|
+
var $e = rh(r.getBody(), M), Ee = H8(!1).dom;
|
|
73564
73564
|
BE(r, Ee, $e !== null ? $e : M);
|
|
73565
73565
|
var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
|
|
73566
|
-
|
|
73566
|
+
W8(r, $e, !1), C.setCursorLocation(et, 1), y.isEmpty(M) && y.remove(M);
|
|
73567
73567
|
}
|
|
73568
|
-
},
|
|
73568
|
+
}, G8 = function(r, u) {
|
|
73569
73569
|
var f = r.selection, p = r.getBody();
|
|
73570
|
-
|
|
73570
|
+
j8(r, null, !1), (u === 8 || u === 46) && f.isCollapsed() && f.getStart().innerHTML === sd && j8(r, rh(p, f.getStart())), (u === 37 || u === 39) && j8(r, rh(p, f.getStart()));
|
|
73571
73571
|
}, AA = function(r) {
|
|
73572
73572
|
r.on("mouseup keydown", function(u) {
|
|
73573
|
-
|
|
73573
|
+
G8(r, u.keyCode);
|
|
73574
73574
|
});
|
|
73575
73575
|
}, IA = function(r, u) {
|
|
73576
|
-
var f =
|
|
73576
|
+
var f = H8(!1), p = Ng(u, f.dom);
|
|
73577
73577
|
return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
|
|
73578
73578
|
}, DA = function(r, u) {
|
|
73579
73579
|
var f = r.schema.getTextInlineElements();
|
|
73580
73580
|
return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
|
|
73581
73581
|
}, OA = function(r) {
|
|
73582
73582
|
return gc(r.dom) && DE(r.dom);
|
|
73583
|
-
}, $4 = {}, RE = sa, F4 = Zo,
|
|
73583
|
+
}, $4 = {}, RE = sa, F4 = Zo, q8 = function(r, u) {
|
|
73584
73584
|
var f = $4[r];
|
|
73585
73585
|
f || ($4[r] = []), $4[r].push(u);
|
|
73586
73586
|
}, $E = function(r, u) {
|
|
@@ -73588,7 +73588,7 @@ Required: ` + u.join(", "));
|
|
|
73588
73588
|
f(u);
|
|
73589
73589
|
});
|
|
73590
73590
|
};
|
|
73591
|
-
|
|
73591
|
+
q8("pre", function(r) {
|
|
73592
73592
|
var u = r.selection.getRng(), f, p = function(A) {
|
|
73593
73593
|
return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
|
|
73594
73594
|
}, y = function(A, P) {
|
|
@@ -73598,7 +73598,7 @@ Required: ` + u.join(", "));
|
|
|
73598
73598
|
y(A.previousSibling, A);
|
|
73599
73599
|
}));
|
|
73600
73600
|
});
|
|
73601
|
-
var
|
|
73601
|
+
var K8 = Ve.each, Y8 = function(r) {
|
|
73602
73602
|
return ro(r) && !Ts(r) && !gc(r) && !wf(r);
|
|
73603
73603
|
}, FE = function(r, u) {
|
|
73604
73604
|
var f;
|
|
@@ -73627,15 +73627,15 @@ Required: ` + u.join(", "));
|
|
|
73627
73627
|
}, BA = function(r, u, f) {
|
|
73628
73628
|
if (u.clear_child_styles) {
|
|
73629
73629
|
var p = u.links ? "*:not(a)" : "*";
|
|
73630
|
-
|
|
73631
|
-
|
|
73630
|
+
K8(r.select(p, f), function(y) {
|
|
73631
|
+
Y8(y) && K8(u.styles, function(C, A) {
|
|
73632
73632
|
r.setStyle(y, A, "");
|
|
73633
73633
|
});
|
|
73634
73634
|
});
|
|
73635
73635
|
}
|
|
73636
73636
|
}, $r = function(r, u, f) {
|
|
73637
|
-
|
|
73638
|
-
|
|
73637
|
+
K8(r.childNodes, function(p) {
|
|
73638
|
+
Y8(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
|
|
73639
73639
|
});
|
|
73640
73640
|
}, PA = function(r, u) {
|
|
73641
73641
|
u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
|
|
@@ -73655,7 +73655,7 @@ Required: ` + u.join(", "));
|
|
|
73655
73655
|
return /^(TR|TH|TD)$/.test(r.nodeName);
|
|
73656
73656
|
}, L4 = function(r, u, f) {
|
|
73657
73657
|
return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
|
|
73658
|
-
},
|
|
73658
|
+
}, X8 = function(r, u, f) {
|
|
73659
73659
|
var p, y;
|
|
73660
73660
|
if (p = u[f ? "startContainer" : "endContainer"], y = u[f ? "startOffset" : "endOffset"], ro(p)) {
|
|
73661
73661
|
var C = p.childNodes.length - 1;
|
|
@@ -73669,7 +73669,7 @@ Required: ` + u.join(", "));
|
|
|
73669
73669
|
return r.nodeName === "TR" && p[f] || p;
|
|
73670
73670
|
}
|
|
73671
73671
|
return r;
|
|
73672
|
-
},
|
|
73672
|
+
}, J8 = function(r, u, f, p) {
|
|
73673
73673
|
var y = r.create(f, p);
|
|
73674
73674
|
return u.parentNode.insertBefore(y, u), y.appendChild(u), y;
|
|
73675
73675
|
}, GE = function(r, u, f, p, y) {
|
|
@@ -73680,18 +73680,18 @@ Required: ` + u.join(", "));
|
|
|
73680
73680
|
return !0;
|
|
73681
73681
|
if (f.selector)
|
|
73682
73682
|
return ro(u) && r.is(u, f.selector);
|
|
73683
|
-
},
|
|
73683
|
+
}, Z8 = function(r, u) {
|
|
73684
73684
|
return u.links && r.nodeName === "A";
|
|
73685
73685
|
}, Ag = function(r, u, f, p) {
|
|
73686
73686
|
return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
|
|
73687
73687
|
}, qE = function(r, u, f) {
|
|
73688
73688
|
var p = u.parentNode, y, C = r.dom, A = Oi(r);
|
|
73689
73689
|
f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
|
|
73690
|
-
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y =
|
|
73690
|
+
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y = J8(C, P, A), C.setAttribs(y, r.settings.forced_root_block_attrs)) : y = 0;
|
|
73691
73691
|
}) : 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);
|
|
73692
73692
|
}, k_ = function(r, u, f, p, y) {
|
|
73693
73693
|
var C, A = r.dom;
|
|
73694
|
-
if (!MA(A, p, u) && !
|
|
73694
|
+
if (!MA(A, p, u) && !Z8(p, u))
|
|
73695
73695
|
return S_.keep();
|
|
73696
73696
|
var P = p;
|
|
73697
73697
|
if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
|
|
@@ -73760,7 +73760,7 @@ Required: ` + u.join(", "));
|
|
|
73760
73760
|
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));
|
|
73761
73761
|
}
|
|
73762
73762
|
return p;
|
|
73763
|
-
},
|
|
73763
|
+
}, Q8 = function(r, u, f, p, y) {
|
|
73764
73764
|
var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
|
|
73765
73765
|
var et = T_(r, ot, u, f, y);
|
|
73766
73766
|
return RA(r, C, et, ot, ot, !0, A, f);
|
|
@@ -73784,7 +73784,7 @@ Required: ` + u.join(", "));
|
|
|
73784
73784
|
}, Oe = function(ot) {
|
|
73785
73785
|
var et, ut, yt = ru(r, ot, C, ot.collapsed);
|
|
73786
73786
|
if (A.split) {
|
|
73787
|
-
if (yt = fh(yt), et =
|
|
73787
|
+
if (yt = fh(yt), et = X8(r, yt, !0), ut = X8(r, yt), et !== ut) {
|
|
73788
73788
|
if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
|
|
73789
73789
|
var Mt = me.from(et.firstChild).getOr(et);
|
|
73790
73790
|
ie(GE(M, Mt, !0, "span", {
|
|
@@ -73801,10 +73801,10 @@ Required: ` + u.join(", "));
|
|
|
73801
73801
|
})), ke(!1);
|
|
73802
73802
|
return;
|
|
73803
73803
|
}
|
|
73804
|
-
et =
|
|
73804
|
+
et = J8(M, et, "span", {
|
|
73805
73805
|
id: "_start",
|
|
73806
73806
|
"data-mce-type": "bookmark"
|
|
73807
|
-
}), ut =
|
|
73807
|
+
}), ut = J8(M, ut, "span", {
|
|
73808
73808
|
id: "_end",
|
|
73809
73809
|
"data-mce-type": "bookmark"
|
|
73810
73810
|
});
|
|
@@ -73854,7 +73854,7 @@ Required: ` + u.join(", "));
|
|
|
73854
73854
|
!X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
|
|
73855
73855
|
eg(r, Oe);
|
|
73856
73856
|
}), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, y);
|
|
73857
|
-
},
|
|
73857
|
+
}, e6 = Ve.each, $A = function(r, u, f, p) {
|
|
73858
73858
|
var y = function(C) {
|
|
73859
73859
|
if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
|
|
73860
73860
|
var A = Gp(r, C.parentNode);
|
|
@@ -73867,9 +73867,9 @@ Required: ` + u.join(", "));
|
|
|
73867
73867
|
}, VA = function(r, u, f, p) {
|
|
73868
73868
|
(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));
|
|
73869
73869
|
}, KE = function(r, u, f, p) {
|
|
73870
|
-
|
|
73871
|
-
|
|
73872
|
-
|
|
73870
|
+
e6(u, function(y) {
|
|
73871
|
+
e6(r.dom.select(y.inline, p), function(C) {
|
|
73872
|
+
Y8(C) && vl(r, y, f, C, y.exact ? C : null);
|
|
73873
73873
|
}), BA(r.dom, y, p);
|
|
73874
73874
|
});
|
|
73875
73875
|
}, U4 = function(r, u, f, p, y) {
|
|
@@ -73877,7 +73877,7 @@ Required: ` + u.join(", "));
|
|
|
73877
73877
|
if (ld(r, C, f, p))
|
|
73878
73878
|
return vl(r, u, p, y), !0;
|
|
73879
73879
|
});
|
|
73880
|
-
}, Sc = Ve.each,
|
|
73880
|
+
}, Sc = Ve.each, t6 = function(r, u) {
|
|
73881
73881
|
return da(r, u);
|
|
73882
73882
|
}, z4 = function(r) {
|
|
73883
73883
|
return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
|
|
@@ -73899,7 +73899,7 @@ Required: ` + u.join(", "));
|
|
|
73899
73899
|
return da(y, p) && ws(be.fromDom(f.parentNode), !1) && !C;
|
|
73900
73900
|
} else
|
|
73901
73901
|
return !1;
|
|
73902
|
-
},
|
|
73902
|
+
}, n6 = function(r, u, f, p) {
|
|
73903
73903
|
var y = r.formatter.get(u), C = y[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
|
|
73904
73904
|
if (ut = ut || C, et) {
|
|
73905
73905
|
if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
|
|
@@ -73940,12 +73940,12 @@ Required: ` + u.join(", "));
|
|
|
73940
73940
|
}
|
|
73941
73941
|
if (ih(C)) {
|
|
73942
73942
|
var pr = ie(y, er);
|
|
73943
|
-
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !
|
|
73943
|
+
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !t6(C, "inline") || pr) {
|
|
73944
73944
|
Dn = null;
|
|
73945
73945
|
return;
|
|
73946
73946
|
}
|
|
73947
73947
|
}
|
|
73948
|
-
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) && (!
|
|
73948
|
+
Fn && !br && _v(r, Hn, ir) && _v(r, mr, Hn) && !(!Mt && er.nodeType === 3 && er.nodeValue.length === 1 && er.nodeValue.charCodeAt(0) === 65279) && !gc(er) && (!t6(C, "inline") || !et.isBlock(er)) ? (Dn || (Dn = et.clone(yr, !1), er.parentNode.insertBefore(Dn, er), hn.push(Dn)), Dn.appendChild(er)) : (Dn = null, Sc(Ve.grep(er.childNodes), qr), br && (Fn = Gn), Dn = null);
|
|
73949
73949
|
};
|
|
73950
73950
|
Sc(xr, qr);
|
|
73951
73951
|
}), C.links === !0 && Sc(hn, function(xr) {
|
|
@@ -73998,7 +73998,7 @@ Required: ` + u.join(", "));
|
|
|
73998
73998
|
ae(P, p, null, !0);
|
|
73999
73999
|
else if (!A || !M2(C) || wv(r).length) {
|
|
74000
74000
|
var Ee = M.getNode(), ot = y[0];
|
|
74001
|
-
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) &&
|
|
74001
|
+
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) && n6(r, ot.defaultBlock), M.setRng(D8(M.getRng())), Jf(M, !0, function(et) {
|
|
74002
74002
|
eg(r, function(ut, yt) {
|
|
74003
74003
|
var Mt = yt ? ut : ru(r, ut, y);
|
|
74004
74004
|
ae(P, Mt);
|
|
@@ -74066,13 +74066,13 @@ Required: ` + u.join(", "));
|
|
|
74066
74066
|
};
|
|
74067
74067
|
}, qA = function(r, u, f, p) {
|
|
74068
74068
|
var y = r.formatter.get(u);
|
|
74069
|
-
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ?
|
|
74070
|
-
},
|
|
74069
|
+
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ? Q8(r, u, f, p) : n6(r, u, f, p);
|
|
74070
|
+
}, r6 = function(r, u) {
|
|
74071
74071
|
var f = u || document, p = f.createDocumentFragment();
|
|
74072
74072
|
return he(r, function(y) {
|
|
74073
74073
|
p.appendChild(y.dom);
|
|
74074
74074
|
}), be.fromDom(p);
|
|
74075
|
-
},
|
|
74075
|
+
}, o6 = function(r, u, f) {
|
|
74076
74076
|
return {
|
|
74077
74077
|
element: r,
|
|
74078
74078
|
width: u,
|
|
@@ -74124,7 +74124,7 @@ Required: ` + u.join(", "));
|
|
|
74124
74124
|
return C;
|
|
74125
74125
|
}, kc = function(r, u, f) {
|
|
74126
74126
|
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);
|
|
74127
|
-
return
|
|
74127
|
+
return o6(r.element, XE(P), P);
|
|
74128
74128
|
}, W4 = function(r, u) {
|
|
74129
74129
|
var f = Hf(r.element), p = be.fromTag("tbody");
|
|
74130
74130
|
return yf(p, u), Ha(f, p), f;
|
|
@@ -74137,13 +74137,13 @@ Required: ` + u.join(", "));
|
|
|
74137
74137
|
return yf(p, f), p;
|
|
74138
74138
|
});
|
|
74139
74139
|
}, A_ = function(r) {
|
|
74140
|
-
var u =
|
|
74140
|
+
var u = o6(Hf(r), 0, []);
|
|
74141
74141
|
return he(ma(r, "tr"), function(f, p) {
|
|
74142
74142
|
he(ma(f, "td,th"), function(y, C) {
|
|
74143
74143
|
YE(u, YA(u, C, p), p, f, y);
|
|
74144
74144
|
});
|
|
74145
|
-
}),
|
|
74146
|
-
},
|
|
74145
|
+
}), o6(u.element, XE(u.rows), u.rows);
|
|
74146
|
+
}, a6 = function(r) {
|
|
74147
74147
|
return W4(r, N_(r));
|
|
74148
74148
|
}, XA = function(r, u, f) {
|
|
74149
74149
|
return JE(r, u).bind(function(p) {
|
|
@@ -74173,7 +74173,7 @@ Required: ` + u.join(", "));
|
|
|
74173
74173
|
var f = Un(u, function(p, y) {
|
|
74174
74174
|
return Ha(y, p), y;
|
|
74175
74175
|
}, r);
|
|
74176
|
-
return u.length > 0 ?
|
|
74176
|
+
return u.length > 0 ? r6([f]) : f;
|
|
74177
74177
|
}, Og = function(r) {
|
|
74178
74178
|
return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
|
|
74179
74179
|
return [
|
|
@@ -74181,22 +74181,22 @@ Required: ` + u.join(", "));
|
|
|
74181
74181
|
u
|
|
74182
74182
|
];
|
|
74183
74183
|
}) : ts(r) ? [r] : [];
|
|
74184
|
-
},
|
|
74184
|
+
}, i6 = function(r, u) {
|
|
74185
74185
|
var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), y = Pt(p, function(P) {
|
|
74186
74186
|
return Cu(P) || Hc(P);
|
|
74187
74187
|
}), C = Ig(p, u), A = y.concat(C.length ? C : Og(f));
|
|
74188
74188
|
return ne(A, Hf);
|
|
74189
74189
|
}, QE = function() {
|
|
74190
|
-
return
|
|
74190
|
+
return r6([]);
|
|
74191
74191
|
}, ZA = function(r, u) {
|
|
74192
|
-
return Dg(be.fromDom(u.cloneContents()),
|
|
74192
|
+
return Dg(be.fromDom(u.cloneContents()), i6(r, u));
|
|
74193
74193
|
}, eS = function(r, u) {
|
|
74194
74194
|
return Uc(u, "table", Ue(yo, r));
|
|
74195
74195
|
}, tS = function(r, u) {
|
|
74196
74196
|
return eS(r, u[0]).bind(function(f) {
|
|
74197
74197
|
var p = u[0], y = u[u.length - 1], C = A_(f);
|
|
74198
74198
|
return XA(C, p, y).map(function(A) {
|
|
74199
|
-
return
|
|
74199
|
+
return r6([a6(A)]);
|
|
74200
74200
|
});
|
|
74201
74201
|
}).getOrThunk(QE);
|
|
74202
74202
|
}, QA = function(r, u) {
|
|
@@ -74241,7 +74241,7 @@ Required: ` + u.join(", "));
|
|
|
74241
74241
|
f.getInner = !0;
|
|
74242
74242
|
var p = rI(r, f);
|
|
74243
74243
|
return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
|
|
74244
|
-
},
|
|
74244
|
+
}, l6 = 0, aS = 1, iS = 2, I_ = function(r, u) {
|
|
74245
74245
|
var f = r.length + u.length + 2, p = new Array(f), y = new Array(f), C = function(ie, ae, se) {
|
|
74246
74246
|
return {
|
|
74247
74247
|
start: ie,
|
|
@@ -74253,7 +74253,7 @@ Required: ` + u.join(", "));
|
|
|
74253
74253
|
if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
|
|
74254
74254
|
for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
|
|
74255
74255
|
Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
|
|
74256
|
-
|
|
74256
|
+
l6,
|
|
74257
74257
|
r[Ee]
|
|
74258
74258
|
]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
|
|
74259
74259
|
iS,
|
|
@@ -74266,7 +74266,7 @@ Required: ` + u.join(", "));
|
|
|
74266
74266
|
A(ie, $e.start, se, $e.start - $e.diag, Oe);
|
|
74267
74267
|
for (var et = $e.start; et < $e.end; ++et)
|
|
74268
74268
|
Oe.push([
|
|
74269
|
-
|
|
74269
|
+
l6,
|
|
74270
74270
|
r[et]
|
|
74271
74271
|
]);
|
|
74272
74272
|
A($e.end, ae, $e.end - $e.diag, ke, Oe);
|
|
@@ -74298,7 +74298,7 @@ Required: ` + u.join(", "));
|
|
|
74298
74298
|
}
|
|
74299
74299
|
}, X = [];
|
|
74300
74300
|
return A(0, r.length, 0, u.length, X), X;
|
|
74301
|
-
},
|
|
74301
|
+
}, s6 = function(r) {
|
|
74302
74302
|
return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
|
|
74303
74303
|
}, oI = function(r) {
|
|
74304
74304
|
var u, f = document.createElement("div"), p = document.createDocumentFragment();
|
|
@@ -74320,19 +74320,19 @@ Required: ` + u.join(", "));
|
|
|
74320
74320
|
}, sS = function(r, u) {
|
|
74321
74321
|
var f = 0;
|
|
74322
74322
|
he(r, function(p) {
|
|
74323
|
-
p[0] ===
|
|
74323
|
+
p[0] === l6 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
|
|
74324
74324
|
});
|
|
74325
74325
|
}, iI = function(r) {
|
|
74326
|
-
return Pt(ne(Er(r.childNodes),
|
|
74326
|
+
return Pt(ne(Er(r.childNodes), s6), function(u) {
|
|
74327
74327
|
return u.length > 0;
|
|
74328
74328
|
});
|
|
74329
74329
|
}, lI = function(r, u) {
|
|
74330
|
-
var f = ne(Er(u.childNodes),
|
|
74330
|
+
var f = ne(Er(u.childNodes), s6);
|
|
74331
74331
|
return sS(I_(f, r), u), u;
|
|
74332
|
-
},
|
|
74333
|
-
return
|
|
74332
|
+
}, u6 = Wa(me.none()), uS = function() {
|
|
74333
|
+
return u6.get().getOrThunk(function() {
|
|
74334
74334
|
var r = document.implementation.createHTMLDocument("undo");
|
|
74335
|
-
return
|
|
74335
|
+
return u6.set(me.some(r)), r;
|
|
74336
74336
|
});
|
|
74337
74337
|
}, cS = function(r) {
|
|
74338
74338
|
return r.indexOf("</iframe>") !== -1;
|
|
@@ -74352,13 +74352,13 @@ Required: ` + u.join(", "));
|
|
|
74352
74352
|
bookmark: null,
|
|
74353
74353
|
beforeBookmark: null
|
|
74354
74354
|
};
|
|
74355
|
-
},
|
|
74355
|
+
}, c6 = function(r) {
|
|
74356
74356
|
var u = iI(r.getBody()), f = He(u, function(y) {
|
|
74357
74357
|
var C = k4(r.serializer, y);
|
|
74358
74358
|
return C.length > 0 ? [C] : [];
|
|
74359
74359
|
}), p = f.join("");
|
|
74360
74360
|
return cS(p) ? fS(f) : sI(p);
|
|
74361
|
-
},
|
|
74361
|
+
}, f6 = function(r, u, f) {
|
|
74362
74362
|
u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
|
|
74363
74363
|
}, D_ = function(r) {
|
|
74364
74364
|
return r.type === "fragmented" ? r.fragments.join("") : r.content;
|
|
@@ -74371,19 +74371,19 @@ Required: ` + u.join(", "));
|
|
|
74371
74371
|
return G4(r) === G4(u);
|
|
74372
74372
|
}, Cm = function(r, u) {
|
|
74373
74373
|
return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
|
|
74374
|
-
},
|
|
74374
|
+
}, d6 = function(r) {
|
|
74375
74375
|
return r.get() === 0;
|
|
74376
74376
|
}, q4 = function(r, u, f) {
|
|
74377
|
-
|
|
74377
|
+
d6(f) && (r.typing = u);
|
|
74378
74378
|
}, Mv = function(r, u) {
|
|
74379
74379
|
r.typing && (q4(r, !1, u), r.add());
|
|
74380
|
-
},
|
|
74380
|
+
}, h6 = function(r) {
|
|
74381
74381
|
r.typing && (r.typing = !1, r.add());
|
|
74382
74382
|
}, vS = function(r, u, f) {
|
|
74383
|
-
|
|
74383
|
+
d6(u) && f.set(me.some(I1(r.selection)));
|
|
74384
74384
|
}, O_ = function(r, u, f, p, y, C, A) {
|
|
74385
|
-
var P =
|
|
74386
|
-
if (C = C || {}, C = Ve.extend(C, P),
|
|
74385
|
+
var P = c6(r);
|
|
74386
|
+
if (C = C || {}, C = Ve.extend(C, P), d6(p) === !1 || r.removed)
|
|
74387
74387
|
return null;
|
|
74388
74388
|
var M = u.data[f.get()];
|
|
74389
74389
|
if (r.fire("BeforeAddUndo", {
|
|
@@ -74413,21 +74413,21 @@ Required: ` + u.join(", "));
|
|
|
74413
74413
|
}, uI = function(r, u, f, p, y) {
|
|
74414
74414
|
if (u.transact(p)) {
|
|
74415
74415
|
var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
|
|
74416
|
-
|
|
74416
|
+
f6(r, A, !0), u.transact(y) && (u.data[f.get() - 1].beforeBookmark = C);
|
|
74417
74417
|
}
|
|
74418
74418
|
}, mS = function(r, u, f) {
|
|
74419
74419
|
var p;
|
|
74420
|
-
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()],
|
|
74420
|
+
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()], f6(r, p, !1), r.setDirty(!0), r.fire("Redo", { level: p })), p;
|
|
74421
74421
|
}, gS = function(r, u, f, p) {
|
|
74422
74422
|
var y;
|
|
74423
|
-
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()],
|
|
74423
|
+
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), y = u.data[p.get()], f6(r, y, !0), r.setDirty(!0), r.fire("Undo", { level: y })), y;
|
|
74424
74424
|
}, cI = function(r) {
|
|
74425
74425
|
r.clear(), r.add();
|
|
74426
74426
|
}, fI = function(r, u, f) {
|
|
74427
|
-
return f.get() > 0 || u.typing && u.data[0] && !Cm(
|
|
74427
|
+
return f.get() > 0 || u.typing && u.data[0] && !Cm(c6(r), u.data[0]);
|
|
74428
74428
|
}, dI = function(r, u) {
|
|
74429
74429
|
return u.get() < r.data.length - 1 && !r.typing;
|
|
74430
|
-
},
|
|
74430
|
+
}, v6 = function(r, u, f) {
|
|
74431
74431
|
return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
|
|
74432
74432
|
}, hI = function(r, u) {
|
|
74433
74433
|
try {
|
|
@@ -74482,7 +74482,7 @@ Required: ` + u.join(", "));
|
|
|
74482
74482
|
return dI(u, f);
|
|
74483
74483
|
},
|
|
74484
74484
|
transact: function(u, f, p) {
|
|
74485
|
-
return
|
|
74485
|
+
return v6(u, f, p);
|
|
74486
74486
|
},
|
|
74487
74487
|
ignore: function(u, f) {
|
|
74488
74488
|
return hI(u, f);
|
|
@@ -74508,10 +74508,10 @@ Required: ` + u.join(", "));
|
|
|
74508
74508
|
return SA(r, u);
|
|
74509
74509
|
},
|
|
74510
74510
|
apply: function(u, f, p) {
|
|
74511
|
-
return
|
|
74511
|
+
return n6(r, u, f, p);
|
|
74512
74512
|
},
|
|
74513
74513
|
remove: function(u, f, p, y) {
|
|
74514
|
-
return
|
|
74514
|
+
return Q8(r, u, f, p, y);
|
|
74515
74515
|
},
|
|
74516
74516
|
toggle: function(u, f, p) {
|
|
74517
74517
|
return qA(r, u, f, p);
|
|
@@ -74528,7 +74528,7 @@ Required: ` + u.join(", "));
|
|
|
74528
74528
|
return CA(r, u, f);
|
|
74529
74529
|
},
|
|
74530
74530
|
insertContent: function(u, f) {
|
|
74531
|
-
return
|
|
74531
|
+
return F8(r, u, f);
|
|
74532
74532
|
},
|
|
74533
74533
|
addVisual: function(u) {
|
|
74534
74534
|
return vI(r, u);
|
|
@@ -74682,7 +74682,7 @@ Required: ` + u.join(", "));
|
|
|
74682
74682
|
return u.rtcInstance = pI(), Li.reject(p);
|
|
74683
74683
|
}));
|
|
74684
74684
|
});
|
|
74685
|
-
},
|
|
74685
|
+
}, p6 = function(r) {
|
|
74686
74686
|
return r.rtcInstance ? r.rtcInstance : B_(r);
|
|
74687
74687
|
}, Xi = function(r) {
|
|
74688
74688
|
var u = r.rtcInstance;
|
|
@@ -74693,7 +74693,7 @@ Required: ` + u.join(", "));
|
|
|
74693
74693
|
Xi(r).undoManager.beforeChange(u, f);
|
|
74694
74694
|
}, gI = function(r, u, f, p, y, C, A) {
|
|
74695
74695
|
return Xi(r).undoManager.addUndoLevel(u, f, p, y, C, A);
|
|
74696
|
-
},
|
|
74696
|
+
}, m6 = function(r, u, f, p) {
|
|
74697
74697
|
return Xi(r).undoManager.undo(u, f, p);
|
|
74698
74698
|
}, _I = function(r, u, f) {
|
|
74699
74699
|
return Xi(r).undoManager.redo(u, f);
|
|
@@ -74713,7 +74713,7 @@ Required: ` + u.join(", "));
|
|
|
74713
74713
|
Xi(r).undoManager.extra(u, f, p, y);
|
|
74714
74714
|
}, EI = function(r, u, f, p) {
|
|
74715
74715
|
return Xi(r).formatter.match(u, f, p);
|
|
74716
|
-
},
|
|
74716
|
+
}, g6 = function(r, u, f) {
|
|
74717
74717
|
return Xi(r).formatter.matchAll(u, f);
|
|
74718
74718
|
}, xS = function(r, u, f, p, y) {
|
|
74719
74719
|
return Xi(r).formatter.matchNode(u, f, p, y);
|
|
@@ -74729,12 +74729,12 @@ Required: ` + u.join(", "));
|
|
|
74729
74729
|
Xi(r).formatter.toggle(u, f, p);
|
|
74730
74730
|
}, SI = function(r, u, f, p, y) {
|
|
74731
74731
|
return y === void 0 && (y = !1), Xi(r).formatter.formatChanged(u, f, p, y);
|
|
74732
|
-
},
|
|
74733
|
-
return
|
|
74732
|
+
}, _6 = function(r, u, f) {
|
|
74733
|
+
return p6(r).editor.getContent(u, f);
|
|
74734
74734
|
}, kI = function(r, u, f) {
|
|
74735
|
-
return
|
|
74735
|
+
return p6(r).editor.setContent(u, f);
|
|
74736
74736
|
}, K4 = function(r, u, f) {
|
|
74737
|
-
return
|
|
74737
|
+
return p6(r).editor.insertContent(u, f);
|
|
74738
74738
|
}, TI = function(r, u, f) {
|
|
74739
74739
|
return Xi(r).selection.getContent(u, f);
|
|
74740
74740
|
}, NI = function(r, u) {
|
|
@@ -74743,7 +74743,7 @@ Required: ` + u.join(", "));
|
|
|
74743
74743
|
u === void 0 && (u = {});
|
|
74744
74744
|
var f = u.format ? u.format : "html";
|
|
74745
74745
|
return TI(r, f, u);
|
|
74746
|
-
},
|
|
74746
|
+
}, y6 = function(r) {
|
|
74747
74747
|
return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
|
|
74748
74748
|
}, AI = function(r, u) {
|
|
74749
74749
|
return r.filter(function(f) {
|
|
@@ -74772,7 +74772,7 @@ Required: ` + u.join(", "));
|
|
|
74772
74772
|
}, OI = function(r, u) {
|
|
74773
74773
|
var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
|
|
74774
74774
|
r.deleteContents(), r.insertNode(u);
|
|
74775
|
-
var y = f.bind(qs).filter(wi).bind(
|
|
74775
|
+
var y = f.bind(qs).filter(wi).bind(y6), C = p.bind(Ms).filter(wi).bind(y6);
|
|
74776
74776
|
IS(y, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
|
|
74777
74777
|
}, BI = function(r, u) {
|
|
74778
74778
|
return gr(gr({ format: "html" }, r), {
|
|
@@ -75063,7 +75063,7 @@ Required: ` + u.join(", "));
|
|
|
75063
75063
|
return u(new Blob([]));
|
|
75064
75064
|
}, u);
|
|
75065
75065
|
});
|
|
75066
|
-
},
|
|
75066
|
+
}, b6 = function(r) {
|
|
75067
75067
|
return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
|
|
75068
75068
|
}, $S = function(r) {
|
|
75069
75069
|
return new Li(function(u) {
|
|
@@ -75072,7 +75072,7 @@ Required: ` + u.join(", "));
|
|
|
75072
75072
|
u(f.result);
|
|
75073
75073
|
}, f.readAsDataURL(r);
|
|
75074
75074
|
});
|
|
75075
|
-
}, WI = 0,
|
|
75075
|
+
}, WI = 0, w6 = function(r) {
|
|
75076
75076
|
return (r || "blobid") + WI++;
|
|
75077
75077
|
}, jI = function(r, u, f, p) {
|
|
75078
75078
|
var y, C;
|
|
@@ -75080,9 +75080,9 @@ Required: ` + u.join(", "));
|
|
|
75080
75080
|
C = r.getByUri(u.src), C ? f({
|
|
75081
75081
|
image: u,
|
|
75082
75082
|
blobInfo: C
|
|
75083
|
-
}) :
|
|
75083
|
+
}) : b6(u.src).then(function(X) {
|
|
75084
75084
|
$S(X).then(function(ie) {
|
|
75085
|
-
y = xm(ie).data, C = r.create(
|
|
75085
|
+
y = xm(ie).data, C = r.create(w6(), X, y), r.add(C), f({
|
|
75086
75086
|
image: u,
|
|
75087
75087
|
blobInfo: C
|
|
75088
75088
|
});
|
|
@@ -75096,8 +75096,8 @@ Required: ` + u.join(", "));
|
|
|
75096
75096
|
y = P, C = r.getByData(y, M), C ? f({
|
|
75097
75097
|
image: u,
|
|
75098
75098
|
blobInfo: C
|
|
75099
|
-
}) :
|
|
75100
|
-
C = r.create(
|
|
75099
|
+
}) : b6(u.src).then(function(X) {
|
|
75100
|
+
C = r.create(w6(), X, y), r.add(C), f({
|
|
75101
75101
|
image: u,
|
|
75102
75102
|
blobInfo: C
|
|
75103
75103
|
});
|
|
@@ -75173,7 +75173,7 @@ Required: ` + u.join(", "));
|
|
|
75173
75173
|
var P = A.type, M = A.data;
|
|
75174
75174
|
return me.from(f.getByData(M, P)).orThunk(function() {
|
|
75175
75175
|
return RS(P, M).map(function(X) {
|
|
75176
|
-
var ie = f.create(
|
|
75176
|
+
var ie = f.create(w6(), X, M);
|
|
75177
75177
|
return f.add(ie), ie;
|
|
75178
75178
|
});
|
|
75179
75179
|
});
|
|
@@ -75574,7 +75574,7 @@ Required: ` + u.join(", "));
|
|
|
75574
75574
|
}, a9 = "html", Tl = function(r, u) {
|
|
75575
75575
|
u === void 0 && (u = {});
|
|
75576
75576
|
var f = u.format ? u.format : a9;
|
|
75577
|
-
return
|
|
75577
|
+
return _6(r, u, f);
|
|
75578
75578
|
}, X4 = function(r, u, f) {
|
|
75579
75579
|
return f === void 0 && (f = {}), kI(r, u, f);
|
|
75580
75580
|
}, J4 = ua.DOM, i9 = function(r) {
|
|
@@ -75623,7 +75623,7 @@ Required: ` + u.join(", "));
|
|
|
75623
75623
|
sections: Fe(r),
|
|
75624
75624
|
settings: Fe(u)
|
|
75625
75625
|
};
|
|
75626
|
-
},
|
|
75626
|
+
}, C6 = Wr().deviceType, h9 = C6.isTouch(), x6 = C6.isPhone(), Rv = C6.isTablet(), iu = [
|
|
75627
75627
|
"lists",
|
|
75628
75628
|
"autolink",
|
|
75629
75629
|
"autosave"
|
|
@@ -75643,7 +75643,7 @@ Required: ` + u.join(", "));
|
|
|
75643
75643
|
return Re(r, y);
|
|
75644
75644
|
});
|
|
75645
75645
|
return d9(f.t, f.f);
|
|
75646
|
-
},
|
|
75646
|
+
}, E6 = function(r, u, f) {
|
|
75647
75647
|
f === void 0 && (f = {});
|
|
75648
75648
|
var p = r.sections(), y = p.hasOwnProperty(u) ? p[u] : {};
|
|
75649
75649
|
return Ve.extend({}, f, y);
|
|
@@ -75711,14 +75711,14 @@ Required: ` + u.join(", "));
|
|
|
75711
75711
|
}, nk = function(r, u) {
|
|
75712
75712
|
return r && $g(u, "mobile");
|
|
75713
75713
|
}, rk = function(r, u, f, p, y) {
|
|
75714
|
-
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ?
|
|
75714
|
+
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ? E6(A, "mobile") : {}, {
|
|
75715
75715
|
validate: !0,
|
|
75716
75716
|
external_plugins: v9(p, A.settings())
|
|
75717
75717
|
});
|
|
75718
75718
|
return $_(r, A, p, P);
|
|
75719
75719
|
}, ok = function(r, u, f, p, y) {
|
|
75720
75720
|
var C = QS(y, u, f, h9, r);
|
|
75721
|
-
return rk(
|
|
75721
|
+
return rk(x6 || Rv, x6, C, p, y);
|
|
75722
75722
|
}, gh = function(r, u, f) {
|
|
75723
75723
|
return me.from(u.settings[f]).filter(r);
|
|
75724
75724
|
}, m9 = function(r) {
|
|
@@ -75754,7 +75754,7 @@ Required: ` + u.join(", "));
|
|
|
75754
75754
|
return parseInt(Zr(u, r), 10);
|
|
75755
75755
|
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75756
75756
|
return r.dom.getBoundingClientRect();
|
|
75757
|
-
},
|
|
75757
|
+
}, S6 = function(r, u, f) {
|
|
75758
75758
|
var p = y9(r), y = ik(r);
|
|
75759
75759
|
return u >= 0 && f >= 0 && u <= p && f <= y;
|
|
75760
75760
|
}, b9 = function(r, u, f, p) {
|
|
@@ -75765,7 +75765,7 @@ Required: ` + u.join(", "));
|
|
|
75765
75765
|
};
|
|
75766
75766
|
}, ck = function(r, u, f) {
|
|
75767
75767
|
var p = be.fromDom(r.getBody()), y = r.inline ? p : Ii(p), C = b9(r.inline, y, u, f);
|
|
75768
|
-
return
|
|
75768
|
+
return S6(y, C.x, C.y);
|
|
75769
75769
|
}, w9 = function(r) {
|
|
75770
75770
|
return me.from(r).map(be.fromDom);
|
|
75771
75771
|
}, C9 = function(r) {
|
|
@@ -75936,7 +75936,7 @@ Required: ` + u.join(", "));
|
|
|
75936
75936
|
e3(r, "IconsLoadError", Uu("icons", u, f));
|
|
75937
75937
|
}, k9 = function(r, u, f) {
|
|
75938
75938
|
e3(r, "LanguageLoadError", Uu("language", u, f));
|
|
75939
|
-
},
|
|
75939
|
+
}, k6 = function(r, u, f) {
|
|
75940
75940
|
var p = Us.translate([
|
|
75941
75941
|
"Failed to initialize plugin: {0}",
|
|
75942
75942
|
u
|
|
@@ -75950,17 +75950,17 @@ Required: ` + u.join(", "));
|
|
|
75950
75950
|
}, Vg = function(r) {
|
|
75951
75951
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75952
75952
|
}, T9 = function(r) {
|
|
75953
|
-
return
|
|
75953
|
+
return T6(r, cb(r));
|
|
75954
75954
|
}, vk = function(r) {
|
|
75955
|
-
return
|
|
75956
|
-
},
|
|
75955
|
+
return T6(r, f2(r));
|
|
75956
|
+
}, T6 = function(r, u) {
|
|
75957
75957
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, y = "content" + p + ".css", C = r.inline === !0;
|
|
75958
75958
|
return ne(u, function(A) {
|
|
75959
75959
|
return Vg(A) && !C ? f + "/" + A + "/" + y : r.documentBaseURI.toAbsolute(A);
|
|
75960
75960
|
});
|
|
75961
|
-
},
|
|
75961
|
+
}, N6 = function(r) {
|
|
75962
75962
|
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75963
|
-
},
|
|
75963
|
+
}, A6 = function() {
|
|
75964
75964
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75965
75965
|
return {
|
|
75966
75966
|
status: se,
|
|
@@ -75994,13 +75994,13 @@ Required: ` + u.join(", "));
|
|
|
75994
75994
|
removeFailed: ie,
|
|
75995
75995
|
destroy: ae
|
|
75996
75996
|
};
|
|
75997
|
-
},
|
|
75997
|
+
}, I6 = 0, N9 = function() {
|
|
75998
75998
|
var r = function() {
|
|
75999
75999
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
76000
76000
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
76001
76001
|
return "s" + u.toString(36) + r() + r() + r();
|
|
76002
76002
|
}, pk = function(r) {
|
|
76003
|
-
return r +
|
|
76003
|
+
return r + I6++ + N9();
|
|
76004
76004
|
}, A9 = function() {
|
|
76005
76005
|
var r = [], u = function(ae) {
|
|
76006
76006
|
var se = {
|
|
@@ -76183,7 +76183,7 @@ Required: ` + u.join(", "));
|
|
|
76183
76183
|
handler: Qw(r)
|
|
76184
76184
|
});
|
|
76185
76185
|
}, I9 = function(r) {
|
|
76186
|
-
var u =
|
|
76186
|
+
var u = A6(), f = gk(r, u);
|
|
76187
76187
|
return {
|
|
76188
76188
|
upload: function(p, y) {
|
|
76189
76189
|
return y === void 0 && (y = !0), f.upload(p, y ? mk(r) : void 0);
|
|
@@ -76207,7 +76207,7 @@ Required: ` + u.join(", "));
|
|
|
76207
76207
|
};
|
|
76208
76208
|
return { fireIfChanged: f };
|
|
76209
76209
|
}, D9 = function(r) {
|
|
76210
|
-
var u = A9(), f, p, y =
|
|
76210
|
+
var u = A9(), f, p, y = A6(), C = [], A = F_(r), P = function(yt) {
|
|
76211
76211
|
return function(Mt) {
|
|
76212
76212
|
return r.selection ? yt(Mt) : [];
|
|
76213
76213
|
};
|
|
@@ -76764,7 +76764,7 @@ Required: ` + u.join(", "));
|
|
|
76764
76764
|
return SS(r, p);
|
|
76765
76765
|
},
|
|
76766
76766
|
matchAll: function(p, y) {
|
|
76767
|
-
return
|
|
76767
|
+
return g6(r, p, y);
|
|
76768
76768
|
},
|
|
76769
76769
|
matchNode: function(p, y, C, A) {
|
|
76770
76770
|
return xS(r, p, y, C, A);
|
|
@@ -76793,7 +76793,7 @@ Required: ` + u.join(", "));
|
|
|
76793
76793
|
u.beforeChange();
|
|
76794
76794
|
}), r.on("SaveContent ObjectResized blur", y), r.on("dragend", y), r.on("keyup", function(M) {
|
|
76795
76795
|
var X = M.keyCode;
|
|
76796
|
-
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(
|
|
76796
|
+
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (y(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(c6(r), u.data[0]) === !1 && (r.isDirty() === !1 && (r.setDirty(!0), r.fire("change", {
|
|
76797
76797
|
level: u.data[0],
|
|
76798
76798
|
lastLevel: null
|
|
76799
76799
|
})), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
|
|
@@ -76835,7 +76835,7 @@ Required: ` + u.join(", "));
|
|
|
76835
76835
|
return gI(r, y, p, f, u, C, A);
|
|
76836
76836
|
},
|
|
76837
76837
|
undo: function() {
|
|
76838
|
-
return
|
|
76838
|
+
return m6(r, y, f, p);
|
|
76839
76839
|
},
|
|
76840
76840
|
redo: function() {
|
|
76841
76841
|
return _I(r, p, y.data);
|
|
@@ -76905,7 +76905,7 @@ Required: ` + u.join(", "));
|
|
|
76905
76905
|
return y ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(y) : f === y.nodeName.toLowerCase() : !0;
|
|
76906
76906
|
} else
|
|
76907
76907
|
return !1;
|
|
76908
|
-
},
|
|
76908
|
+
}, D6 = function(r) {
|
|
76909
76909
|
var u = r.dom, f = Oi(r), p = nC(r), y = function(C, A) {
|
|
76910
76910
|
if (!F9(C)) {
|
|
76911
76911
|
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
@@ -76948,11 +76948,11 @@ Required: ` + u.join(", "));
|
|
|
76948
76948
|
return li(r, u) ? jm(u, function(f) {
|
|
76949
76949
|
return Ra(f) || pp(f);
|
|
76950
76950
|
}, a3(r)) : me.none();
|
|
76951
|
-
},
|
|
76951
|
+
}, O6 = function(r) {
|
|
76952
76952
|
var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
|
|
76953
76953
|
r.selection.setCursorLocation(f, 0);
|
|
76954
76954
|
}, i3 = function(r) {
|
|
76955
|
-
r.dom.isEmpty(r.getBody()) && (r.setContent(""),
|
|
76955
|
+
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
|
|
76956
76956
|
}, kk = function(r, u, f) {
|
|
76957
76957
|
return ki(jl(f), Ru(f), function(p, y) {
|
|
76958
76958
|
var C = Nl(!0, p), A = Nl(!1, y), P = Nl(!1, u);
|
|
@@ -77016,7 +77016,7 @@ Required: ` + u.join(", "));
|
|
|
77016
77016
|
}, cd = function(r) {
|
|
77017
77017
|
var u = Bk(r);
|
|
77018
77018
|
return he(u, pi), u;
|
|
77019
|
-
},
|
|
77019
|
+
}, B6 = function(r, u) {
|
|
77020
77020
|
var f = qo(u, r);
|
|
77021
77021
|
return _n(f.reverse(), function(p) {
|
|
77022
77022
|
return ws(p);
|
|
@@ -77032,14 +77032,14 @@ Required: ` + u.join(", "));
|
|
|
77032
77032
|
var y = mc(f.dom, un.before(p.dom));
|
|
77033
77033
|
return he(cd(u), function(C) {
|
|
77034
77034
|
cl(p, C);
|
|
77035
|
-
}),
|
|
77035
|
+
}), B6(r, u), y;
|
|
77036
77036
|
}, Ac = function(r, u, f) {
|
|
77037
77037
|
if (ws(f))
|
|
77038
77038
|
return pi(f), ws(u) && js(u), jl(u.dom);
|
|
77039
77039
|
var p = Ru(f.dom);
|
|
77040
77040
|
return he(cd(u), function(y) {
|
|
77041
77041
|
Ha(f, y);
|
|
77042
|
-
}),
|
|
77042
|
+
}), B6(r, u), p;
|
|
77043
77043
|
}, H9 = function(r, u) {
|
|
77044
77044
|
var f = qo(u, r);
|
|
77045
77045
|
return me.from(f[f.length - 1]);
|
|
@@ -77082,7 +77082,7 @@ Required: ` + u.join(", "));
|
|
|
77082
77082
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77083
77083
|
}, Ug = function(r, u) {
|
|
77084
77084
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77085
|
-
},
|
|
77085
|
+
}, P6 = $s, Vk = xa, _h = function(r, u, f, p, y) {
|
|
77086
77086
|
return me.from(u._selectionOverrides.showCaret(r, f, p, y));
|
|
77087
77087
|
}, X9 = function(r) {
|
|
77088
77088
|
var u = r.ownerDocument.createRange();
|
|
@@ -77090,7 +77090,7 @@ Required: ` + u.join(", "));
|
|
|
77090
77090
|
}, km = function(r, u) {
|
|
77091
77091
|
var f = r.fire("BeforeObjectSelected", { target: u });
|
|
77092
77092
|
return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
|
|
77093
|
-
},
|
|
77093
|
+
}, M6 = function(r, u, f) {
|
|
77094
77094
|
var p = x2(1, r.getBody(), u), y = un.fromRangeStart(p), C = y.getNode();
|
|
77095
77095
|
if (Jd(C))
|
|
77096
77096
|
return _h(1, r, C, !y.isAtEnd(), !1);
|
|
@@ -77098,16 +77098,16 @@ Required: ` + u.join(", "));
|
|
|
77098
77098
|
if (Jd(A))
|
|
77099
77099
|
return _h(1, r, A, !1, !1);
|
|
77100
77100
|
var P = r.dom.getParent(y.getNode(), function(M) {
|
|
77101
|
-
return Vk(M) ||
|
|
77101
|
+
return Vk(M) || P6(M);
|
|
77102
77102
|
});
|
|
77103
77103
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77104
77104
|
}, H_ = function(r, u, f) {
|
|
77105
|
-
return u.collapsed ?
|
|
77105
|
+
return u.collapsed ? M6(r, u, f).getOr(u) : u;
|
|
77106
77106
|
}, Lk = function(r) {
|
|
77107
77107
|
return Yo(r) || Cr(r);
|
|
77108
77108
|
}, Uk = function(r) {
|
|
77109
77109
|
return Xo(r) || uo(r);
|
|
77110
|
-
},
|
|
77110
|
+
}, R6 = function(r, u) {
|
|
77111
77111
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77112
77112
|
}, zk = function(r, u, f, p, y, C) {
|
|
77113
77113
|
return _h(p, r, C.getNode(!y), y, !0).each(function(A) {
|
|
@@ -77117,7 +77117,7 @@ Required: ` + u.join(", "));
|
|
|
77117
77117
|
} else
|
|
77118
77118
|
u.deleteContents();
|
|
77119
77119
|
r.selection.setRng(A);
|
|
77120
|
-
}),
|
|
77120
|
+
}), R6(r.dom, f), !0;
|
|
77121
77121
|
}, J9 = function(r, u) {
|
|
77122
77122
|
var f = r.selection.getRng();
|
|
77123
77123
|
if (!Bn(f.commonAncestorContainer))
|
|
@@ -77147,16 +77147,16 @@ Required: ` + u.join(", "));
|
|
|
77147
77147
|
return U1(!u, f).fold(function() {
|
|
77148
77148
|
return U1(u, p).fold(Qe, y);
|
|
77149
77149
|
}, y);
|
|
77150
|
-
}, $
|
|
77150
|
+
}, $6 = function(r, u, f, p) {
|
|
77151
77151
|
var y = p.getNode(u === !1);
|
|
77152
77152
|
return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
|
|
77153
77153
|
return ws(C) ? cs.remove(C.dom) : cs.moveToElement(y);
|
|
77154
77154
|
}).orThunk(function() {
|
|
77155
77155
|
return me.some(cs.moveToElement(y));
|
|
77156
77156
|
});
|
|
77157
|
-
},
|
|
77157
|
+
}, F6 = function(r, u, f) {
|
|
77158
77158
|
return Hs(u, r, f).bind(function(p) {
|
|
77159
|
-
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $
|
|
77159
|
+
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $6(r, u, f, p) : u && Xo(f) || u === !1 && Yo(f) ? me.some(cs.moveToPosition(p)) : me.none();
|
|
77160
77160
|
});
|
|
77161
77161
|
}, Wk = function(r, u) {
|
|
77162
77162
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
@@ -77170,8 +77170,8 @@ Required: ` + u.join(", "));
|
|
|
77170
77170
|
});
|
|
77171
77171
|
}, Gk = function(r, u, f) {
|
|
77172
77172
|
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77173
|
-
return
|
|
77174
|
-
}, me.some) :
|
|
77173
|
+
return F6(r, u, f);
|
|
77174
|
+
}, me.some) : F6(r, u, f).bind(function(p) {
|
|
77175
77175
|
return jk(r, f, p);
|
|
77176
77176
|
});
|
|
77177
77177
|
}, qk = function(r, u, f) {
|
|
@@ -77190,7 +77190,7 @@ Required: ` + u.join(", "));
|
|
|
77190
77190
|
var p = u ? un.before(f) : un.after(f);
|
|
77191
77191
|
return r.selection.setRng(p.toRange()), !0;
|
|
77192
77192
|
};
|
|
77193
|
-
},
|
|
77193
|
+
}, V6 = function(r) {
|
|
77194
77194
|
return function(u) {
|
|
77195
77195
|
return r.selection.setRng(u.toRange()), !0;
|
|
77196
77196
|
};
|
|
@@ -77200,7 +77200,7 @@ Required: ` + u.join(", "));
|
|
|
77200
77200
|
var f = r.selection.getNode();
|
|
77201
77201
|
return Kk(r, f).filter(xa).fold(function() {
|
|
77202
77202
|
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77203
|
-
return p.fold(f3(r, u), d3(r, u),
|
|
77203
|
+
return p.fold(f3(r, u), d3(r, u), V6(r));
|
|
77204
77204
|
});
|
|
77205
77205
|
}, Ht);
|
|
77206
77206
|
}, Q9 = function(r) {
|
|
@@ -77214,7 +77214,7 @@ Required: ` + u.join(", "));
|
|
|
77214
77214
|
}, Ht);
|
|
77215
77215
|
}
|
|
77216
77216
|
return !1;
|
|
77217
|
-
},
|
|
77217
|
+
}, L6 = function(r) {
|
|
77218
77218
|
var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
|
|
77219
77219
|
if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
|
|
77220
77220
|
var y = u.create("br", { "data-mce-bogus": "1" });
|
|
@@ -77261,7 +77261,7 @@ Required: ` + u.join(", "));
|
|
|
77261
77261
|
}, Zk = function(r, u) {
|
|
77262
77262
|
var f = u.get();
|
|
77263
77263
|
return f && r.container() === f && Wc(f);
|
|
77264
|
-
},
|
|
77264
|
+
}, U6 = function(r, u) {
|
|
77265
77265
|
return u.fold(function(f) {
|
|
77266
77266
|
qf(r.get());
|
|
77267
77267
|
var p = p3(f);
|
|
@@ -77299,11 +77299,11 @@ Required: ` + u.join(", "));
|
|
|
77299
77299
|
{ start: ["element"] },
|
|
77300
77300
|
{ end: ["element"] },
|
|
77301
77301
|
{ after: ["element"] }
|
|
77302
|
-
]),
|
|
77302
|
+
]), z6 = function(r, u) {
|
|
77303
77303
|
var f = Yf(u, r);
|
|
77304
77304
|
return f || r;
|
|
77305
77305
|
}, oD = function(r, u, f) {
|
|
77306
|
-
var p = Vv(f), y =
|
|
77306
|
+
var p = Vv(f), y = z6(u, p.container());
|
|
77307
77307
|
return lu(r, y, p).fold(function() {
|
|
77308
77308
|
return eu(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77309
77309
|
return fs.before(C);
|
|
@@ -77326,14 +77326,14 @@ Required: ` + u.join(", "));
|
|
|
77326
77326
|
return C.isNone() ? me.some(fs.end(y)) : me.none();
|
|
77327
77327
|
});
|
|
77328
77328
|
}, sD = function(r, u, f) {
|
|
77329
|
-
var p = U_(f), y =
|
|
77329
|
+
var p = U_(f), y = z6(u, p.container());
|
|
77330
77330
|
return lu(r, y, p).fold(function() {
|
|
77331
77331
|
return mc(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77332
77332
|
return fs.after(C);
|
|
77333
77333
|
});
|
|
77334
77334
|
}, me.none);
|
|
77335
77335
|
}, e5 = function(r) {
|
|
77336
|
-
return z9(
|
|
77336
|
+
return z9(H6(r)) === !1;
|
|
77337
77337
|
}, fd = function(r, u, f) {
|
|
77338
77338
|
var p = Qk([
|
|
77339
77339
|
oD,
|
|
@@ -77346,7 +77346,7 @@ Required: ` + u.join(", "));
|
|
|
77346
77346
|
f
|
|
77347
77347
|
]);
|
|
77348
77348
|
return p.filter(e5);
|
|
77349
|
-
},
|
|
77349
|
+
}, H6 = function(r) {
|
|
77350
77350
|
return r.fold(_t, _t, _t, _t);
|
|
77351
77351
|
}, t5 = function(r) {
|
|
77352
77352
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
@@ -77355,7 +77355,7 @@ Required: ` + u.join(", "));
|
|
|
77355
77355
|
}, Wg = function(r) {
|
|
77356
77356
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77357
77357
|
}, uD = function(r, u) {
|
|
77358
|
-
return t5(r) === t5(u) &&
|
|
77358
|
+
return t5(r) === t5(u) && H6(r) === H6(u);
|
|
77359
77359
|
}, cD = function(r, u, f, p, y, C) {
|
|
77360
77360
|
return ki(lu(u, f, p), lu(u, f, y), function(A, P) {
|
|
77361
77361
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77373,13 +77373,13 @@ Required: ` + u.join(", "));
|
|
|
77373
77373
|
return P.filter(e5);
|
|
77374
77374
|
}, dD = function(r, u) {
|
|
77375
77375
|
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));
|
|
77376
|
-
},
|
|
77376
|
+
}, W6 = function(r, u, f, p) {
|
|
77377
77377
|
var y = Nl(r, p), C = fd(u, f, y);
|
|
77378
77378
|
return fd(u, f, y).bind(Ue(dD, r)).orThunk(function() {
|
|
77379
77379
|
return fD(r, u, f, C, p);
|
|
77380
77380
|
});
|
|
77381
77381
|
};
|
|
77382
|
-
Ue(
|
|
77382
|
+
Ue(W6, !1), Ue(W6, !0);
|
|
77383
77383
|
var hD = function(r) {
|
|
77384
77384
|
return Pe(r.selection.getSel().modify);
|
|
77385
77385
|
}, n5 = function(r, u, f) {
|
|
@@ -77451,7 +77451,7 @@ Required: ` + u.join(", "));
|
|
|
77451
77451
|
});
|
|
77452
77452
|
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77453
77453
|
return Nm(r, u).breakAt.isNone();
|
|
77454
|
-
},
|
|
77454
|
+
}, j6 = function(r, u) {
|
|
77455
77455
|
return W_(r, u).breakAt.isNone();
|
|
77456
77456
|
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77457
77457
|
return jl(r).map(function(u) {
|
|
@@ -77501,7 +77501,7 @@ Required: ` + u.join(", "));
|
|
|
77501
77501
|
return u.line > r;
|
|
77502
77502
|
}, c5 = function(r, u) {
|
|
77503
77503
|
return u.line === r;
|
|
77504
|
-
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il),
|
|
77504
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
|
|
77505
77505
|
var y = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77506
77506
|
return oa(Oe.getClientRects());
|
|
77507
77507
|
};
|
|
@@ -77519,13 +77519,13 @@ Required: ` + u.join(", "));
|
|
|
77519
77519
|
return function(u) {
|
|
77520
77520
|
return Gg(r, u);
|
|
77521
77521
|
};
|
|
77522
|
-
},
|
|
77522
|
+
}, q6 = function(r) {
|
|
77523
77523
|
return function(u) {
|
|
77524
77524
|
return c5(r, u);
|
|
77525
77525
|
};
|
|
77526
|
-
}, bD = xa, v5 = cv,
|
|
77526
|
+
}, bD = xa, v5 = cv, K6 = function(r, u) {
|
|
77527
77527
|
return Math.abs(r.left - u);
|
|
77528
|
-
},
|
|
77528
|
+
}, Y6 = function(r, u) {
|
|
77529
77529
|
return Math.abs(r.right - u);
|
|
77530
77530
|
}, Dc = function(r, u) {
|
|
77531
77531
|
return r >= u.left && r <= u.right;
|
|
@@ -77533,7 +77533,7 @@ Required: ` + u.join(", "));
|
|
|
77533
77533
|
return r >= u.top && r <= u.bottom;
|
|
77534
77534
|
}, C3 = function(r, u) {
|
|
77535
77535
|
return Po(r, function(f, p) {
|
|
77536
|
-
var y = Math.min(
|
|
77536
|
+
var y = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
|
|
77537
77537
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === y && bD(p.node) || C < y ? p : f;
|
|
77538
77538
|
});
|
|
77539
77539
|
}, p5 = function(r, u, f, p, y) {
|
|
@@ -77556,7 +77556,7 @@ Required: ` + u.join(", "));
|
|
|
77556
77556
|
}, ED = function(r, u) {
|
|
77557
77557
|
return {
|
|
77558
77558
|
node: r.node,
|
|
77559
|
-
before:
|
|
77559
|
+
before: K6(r, u) < Y6(r, u)
|
|
77560
77560
|
};
|
|
77561
77561
|
}, SD = function(r, u, f) {
|
|
77562
77562
|
var p = w3(xD(r)), y = Pt(p, Ue(wD, f)), C = C3(y, u);
|
|
@@ -77568,7 +77568,7 @@ Required: ` + u.join(", "));
|
|
|
77568
77568
|
return null;
|
|
77569
77569
|
}, di = function(r, u) {
|
|
77570
77570
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77571
|
-
},
|
|
77571
|
+
}, X6 = function(r, u, f) {
|
|
77572
77572
|
return me.some(H_(r, u, f));
|
|
77573
77573
|
}, m5 = function(r, u, f, p, y, C) {
|
|
77574
77574
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : y;
|
|
@@ -77586,21 +77586,21 @@ Required: ` + u.join(", "));
|
|
|
77586
77586
|
if (X(se))
|
|
77587
77587
|
return _h(u, r, se.getNode(!A), A, !1);
|
|
77588
77588
|
var Oe = M(se);
|
|
77589
|
-
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ?
|
|
77590
|
-
},
|
|
77589
|
+
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X6(r, se.toRange(), !1) : me.none();
|
|
77590
|
+
}, J6 = function(r, u, f, p, y, C) {
|
|
77591
77591
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77592
77592
|
if (!P)
|
|
77593
77593
|
return me.none();
|
|
77594
|
-
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie,
|
|
77594
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
|
|
77595
77595
|
if (ke && C(ke.node)) {
|
|
77596
77596
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77597
77597
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77598
77598
|
}
|
|
77599
77599
|
var Ee;
|
|
77600
77600
|
if (p(A) ? Ee = A.getNode() : y(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77601
|
-
var ot =
|
|
77602
|
-
if (et || (et = oa(Pt(ot,
|
|
77603
|
-
return
|
|
77601
|
+
var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
|
|
77602
|
+
if (et || (et = oa(Pt(ot, q6(0))), et))
|
|
77603
|
+
return X6(r, et.position.toRange(), !1);
|
|
77604
77604
|
}
|
|
77605
77605
|
return ae.length === 0 ? j_(r, M).filter(M ? y : p).map(function(ut) {
|
|
77606
77606
|
return H_(r, ut.toRange(), !1);
|
|
@@ -77624,11 +77624,11 @@ Required: ` + u.join(", "));
|
|
|
77624
77624
|
}, _5 = function(r, u) {
|
|
77625
77625
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77626
77626
|
}, Uv = function(r, u, f) {
|
|
77627
|
-
return
|
|
77627
|
+
return U6(u, f).map(function(p) {
|
|
77628
77628
|
return x3(r, p), f;
|
|
77629
77629
|
});
|
|
77630
77630
|
}, kD = function(r, u, f) {
|
|
77631
|
-
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A =
|
|
77631
|
+
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W6(f, C, p, y);
|
|
77632
77632
|
return A.bind(function(P) {
|
|
77633
77633
|
return Uv(r, u, P);
|
|
77634
77634
|
});
|
|
@@ -77669,7 +77669,7 @@ Required: ` + u.join(", "));
|
|
|
77669
77669
|
});
|
|
77670
77670
|
return fd(Ue(Em, r), r.getBody(), p).exists(function(y) {
|
|
77671
77671
|
var C = Tm(y);
|
|
77672
|
-
return
|
|
77672
|
+
return U6(f, C).exists(function(A) {
|
|
77673
77673
|
return x3(r, A), !0;
|
|
77674
77674
|
});
|
|
77675
77675
|
});
|
|
@@ -77687,7 +77687,7 @@ Required: ` + u.join(", "));
|
|
|
77687
77687
|
}).getOr(!0);
|
|
77688
77688
|
}, C5 = function(r, u) {
|
|
77689
77689
|
return function(f) {
|
|
77690
|
-
return
|
|
77690
|
+
return U6(u, f).exists(function(p) {
|
|
77691
77691
|
return x3(r, p), !0;
|
|
77692
77692
|
});
|
|
77693
77693
|
};
|
|
@@ -77730,9 +77730,9 @@ Required: ` + u.join(", "));
|
|
|
77730
77730
|
return Kn(f, Fs).fold(Fe(f), function(p) {
|
|
77731
77731
|
return f.slice(0, p);
|
|
77732
77732
|
});
|
|
77733
|
-
},
|
|
77733
|
+
}, Z6 = function(r) {
|
|
77734
77734
|
return va(r).length === 1;
|
|
77735
|
-
},
|
|
77735
|
+
}, Q6 = function(r, u, f, p) {
|
|
77736
77736
|
var y = Ue(DA, u), C = ne(Pt(p, y), function(P) {
|
|
77737
77737
|
return P.dom;
|
|
77738
77738
|
});
|
|
@@ -77743,10 +77743,10 @@ Required: ` + u.join(", "));
|
|
|
77743
77743
|
u.selection.setRng(A.toRange());
|
|
77744
77744
|
}
|
|
77745
77745
|
}, BD = function(r, u) {
|
|
77746
|
-
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p),
|
|
77746
|
+
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p), Z6);
|
|
77747
77747
|
return nr(y).exists(function(C) {
|
|
77748
77748
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77749
|
-
return kk(u, A, C.dom) && !OA(C) ? (
|
|
77749
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, y), !0) : !1;
|
|
77750
77750
|
});
|
|
77751
77751
|
}, hd = function(r, u) {
|
|
77752
77752
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77958,7 +77958,7 @@ Required: ` + u.join(", "));
|
|
|
77958
77958
|
}, y = function(C) {
|
|
77959
77959
|
return Xo(C) || xo(C);
|
|
77960
77960
|
};
|
|
77961
|
-
return
|
|
77961
|
+
return J6(u, r, f, p, y, rx);
|
|
77962
77962
|
}, tO = function(r) {
|
|
77963
77963
|
var u = r.dom.create(Oi(r));
|
|
77964
77964
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
@@ -78014,7 +78014,7 @@ Required: ` + u.join(", "));
|
|
|
78014
78014
|
var f = Ue(yo, u);
|
|
78015
78015
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
78016
78016
|
}, $5 = function(r, u, f) {
|
|
78017
|
-
return u ?
|
|
78017
|
+
return u ? j6(r.dom, f) : a5(r.dom, f);
|
|
78018
78018
|
}, F5 = function(r, u) {
|
|
78019
78019
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), y = Oi(r), C = iv(r);
|
|
78020
78020
|
return lO(p, f).exists(function() {
|
|
@@ -78060,7 +78060,7 @@ Required: ` + u.join(", "));
|
|
|
78060
78060
|
});
|
|
78061
78061
|
}, Im = function(r, u) {
|
|
78062
78062
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
78063
|
-
return
|
|
78063
|
+
return J6(r, f, p, Cr, uo, es).exists(function(y) {
|
|
78064
78064
|
return di(r, y), !0;
|
|
78065
78065
|
});
|
|
78066
78066
|
}, lx = function(r, u) {
|
|
@@ -78377,11 +78377,11 @@ Required: ` + u.join(", "));
|
|
|
78377
78377
|
Yg([
|
|
78378
78378
|
{
|
|
78379
78379
|
keyCode: Pr.BACKSPACE,
|
|
78380
|
-
action: Eo(
|
|
78380
|
+
action: Eo(L6, r)
|
|
78381
78381
|
},
|
|
78382
78382
|
{
|
|
78383
78383
|
keyCode: Pr.DELETE,
|
|
78384
|
-
action: Eo(
|
|
78384
|
+
action: Eo(L6, r)
|
|
78385
78385
|
}
|
|
78386
78386
|
], u);
|
|
78387
78387
|
}, px = function(r, u) {
|
|
@@ -78764,7 +78764,7 @@ Required: ` + u.join(", "));
|
|
|
78764
78764
|
MO(r, u);
|
|
78765
78765
|
}, ve);
|
|
78766
78766
|
}, uT = function(r, u) {
|
|
78767
|
-
u.isDefaultPrevented() || (u.preventDefault(),
|
|
78767
|
+
u.isDefaultPrevented() || (u.preventDefault(), h6(r.undoManager), r.undoManager.transact(function() {
|
|
78768
78768
|
r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
|
|
78769
78769
|
}));
|
|
78770
78770
|
}, cT = function(r) {
|
|
@@ -78965,7 +78965,7 @@ Required: ` + u.join(", "));
|
|
|
78965
78965
|
return u.setEnd(A.container(), A.offset());
|
|
78966
78966
|
});
|
|
78967
78967
|
}
|
|
78968
|
-
r.selection.setRng(
|
|
78968
|
+
r.selection.setRng(D8(u));
|
|
78969
78969
|
}, f7 = function(r) {
|
|
78970
78970
|
r.on("click", function(u) {
|
|
78971
78971
|
u.detail >= 3 && Ex(r);
|
|
@@ -79240,7 +79240,7 @@ Required: ` + u.join(", "));
|
|
|
79240
79240
|
}, ot = function() {
|
|
79241
79241
|
r.on("mouseup", function(Gn) {
|
|
79242
79242
|
var ir = Oe();
|
|
79243
|
-
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) &&
|
|
79243
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
|
|
79244
79244
|
}), r.on("click", function(Gn) {
|
|
79245
79245
|
var ir = ty(r, Gn.target);
|
|
79246
79246
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79770,7 +79770,7 @@ Required: ` + u.join(", "));
|
|
|
79770
79770
|
}
|
|
79771
79771
|
}), 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);
|
|
79772
79772
|
var A = i7(r);
|
|
79773
|
-
UD(r, A), YD(r),
|
|
79773
|
+
UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
|
|
79774
79774
|
F3(r);
|
|
79775
79775
|
}, function(P) {
|
|
79776
79776
|
r.setProgressState(!0), P.then(function(M) {
|
|
@@ -79826,7 +79826,7 @@ Required: ` + u.join(", "));
|
|
|
79826
79826
|
var C = new p(r, y, r.$);
|
|
79827
79827
|
r.plugins[f] = C, C.init && (C.init(r, y), u.push(f));
|
|
79828
79828
|
} catch (A) {
|
|
79829
|
-
|
|
79829
|
+
k6(r, f, A);
|
|
79830
79830
|
}
|
|
79831
79831
|
}
|
|
79832
79832
|
}, NT = function(r) {
|
|
@@ -79888,7 +79888,7 @@ Required: ` + u.join(", "));
|
|
|
79888
79888
|
editorContainer: u.editorContainer,
|
|
79889
79889
|
iframeContainer: u.iframeContainer
|
|
79890
79890
|
};
|
|
79891
|
-
return r.editorContainer = f.editorContainer ? f.editorContainer : null,
|
|
79891
|
+
return r.editorContainer = f.editorContainer ? f.editorContainer : null, N6(r), r.inline ? V3(r) : j7(r, f);
|
|
79892
79892
|
}, Om = ua.DOM, z3 = function(r) {
|
|
79893
79893
|
return r.charAt(0) === "-";
|
|
79894
79894
|
}, J7 = function(r, u) {
|
|
@@ -80040,7 +80040,7 @@ Required: ` + u.join(", "));
|
|
|
80040
80040
|
}, y = function(C) {
|
|
80041
80041
|
return yo(be.fromDom(u), C);
|
|
80042
80042
|
};
|
|
80043
|
-
return
|
|
80043
|
+
return L8(be.fromDom(f), function(C) {
|
|
80044
80044
|
return p(C);
|
|
80045
80045
|
}, y);
|
|
80046
80046
|
}, aB = function(r) {
|
|
@@ -80095,7 +80095,7 @@ Required: ` + u.join(", "));
|
|
|
80095
80095
|
}).getOr("");
|
|
80096
80096
|
}, dB = function(r) {
|
|
80097
80097
|
return Zg(r, function(u) {
|
|
80098
|
-
var f = be.fromDom(r.getBody()), p =
|
|
80098
|
+
var f = be.fromDom(r.getBody()), p = L8(u, function(C) {
|
|
80099
80099
|
return ea(C, "line-height");
|
|
80100
80100
|
}, Ue(yo, f)), y = function() {
|
|
80101
80101
|
var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
|
|
@@ -87071,7 +87071,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87071
87071
|
return c4(a, v, c, -1);
|
|
87072
87072
|
}, Cc = function(a, c, v) {
|
|
87073
87073
|
return c4(a, v, c, 1);
|
|
87074
|
-
},
|
|
87074
|
+
}, e8 = [
|
|
87075
87075
|
bi("selectors", [
|
|
87076
87076
|
nt("row"),
|
|
87077
87077
|
nt("cell")
|
|
@@ -87087,11 +87087,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87087
87087
|
b.each(function(x) {
|
|
87088
87088
|
c.focusManager.set(a, x);
|
|
87089
87089
|
});
|
|
87090
|
-
},
|
|
87090
|
+
}, t8 = function(a, c, v) {
|
|
87091
87091
|
return El(a.element).bind(function(b) {
|
|
87092
87092
|
return v.execute(a, c, b);
|
|
87093
87093
|
});
|
|
87094
|
-
},
|
|
87094
|
+
}, n8 = function(a, c) {
|
|
87095
87095
|
return Ge(a, function(v) {
|
|
87096
87096
|
return Hl(v, c.selectors.cell);
|
|
87097
87097
|
});
|
|
@@ -87103,7 +87103,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87103
87103
|
return Z2(F, b).bind(function(L) {
|
|
87104
87104
|
var G = Hl(v, x.selectors.row);
|
|
87105
87105
|
return Z2(G, D).bind(function(Z) {
|
|
87106
|
-
var ee =
|
|
87106
|
+
var ee = n8(G, x);
|
|
87107
87107
|
return N(ee, Z, L).map(function(fe) {
|
|
87108
87108
|
return fe.cell;
|
|
87109
87109
|
});
|
|
@@ -87111,13 +87111,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87111
87111
|
});
|
|
87112
87112
|
});
|
|
87113
87113
|
};
|
|
87114
|
-
}, vg = rd(dg, d4), p4 = rd(fg, wc),
|
|
87114
|
+
}, vg = rd(dg, d4), p4 = rd(fg, wc), r8 = rd(hg, QC), Av = rd(f4, Cc), o8 = V([
|
|
87115
87115
|
Co(ho(ng), ag(vg, p4)),
|
|
87116
87116
|
Co(ho(ch), om(vg, p4)),
|
|
87117
|
-
Co(ho(em), ig(
|
|
87117
|
+
Co(ho(em), ig(r8)),
|
|
87118
87118
|
Co(ho(of), Zb(Av)),
|
|
87119
|
-
Co(ho(ls.concat(bc)),
|
|
87120
|
-
]),
|
|
87119
|
+
Co(ho(ls.concat(bc)), t8)
|
|
87120
|
+
]), a8 = V([Co(ho(ls), Sv)]), i8 = Vu(e8, bl.init, o8, a8, function() {
|
|
87121
87121
|
return U.some(h4);
|
|
87122
87122
|
}), m4 = [
|
|
87123
87123
|
nt("selector"),
|
|
@@ -87127,7 +87127,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87127
87127
|
return v.focusManager.get(a).bind(function(b) {
|
|
87128
87128
|
return v.execute(a, c, b);
|
|
87129
87129
|
});
|
|
87130
|
-
},
|
|
87130
|
+
}, l8 = function(a, c, v) {
|
|
87131
87131
|
rl(a.element, c.selector).each(function(b) {
|
|
87132
87132
|
c.focusManager.set(a, b);
|
|
87133
87133
|
});
|
|
@@ -87139,7 +87139,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87139
87139
|
return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
|
|
87140
87140
|
}, _4 = function(a, c, v, b) {
|
|
87141
87141
|
return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
|
|
87142
|
-
},
|
|
87142
|
+
}, s8 = V([
|
|
87143
87143
|
Co(ho(em), ed(g4)),
|
|
87144
87144
|
Co(ho(of), ed(lm)),
|
|
87145
87145
|
Co(ou([
|
|
@@ -87152,8 +87152,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87152
87152
|
]), _4),
|
|
87153
87153
|
Co(ho(bc), Iv),
|
|
87154
87154
|
Co(ho(ls), Iv)
|
|
87155
|
-
]),
|
|
87156
|
-
return U.some(
|
|
87155
|
+
]), u8 = V([Co(ho(ls), Sv)]), c8 = Vu(m4, bl.init, s8, u8, function() {
|
|
87156
|
+
return U.some(l8);
|
|
87157
87157
|
}), od = [
|
|
87158
87158
|
Ya("onSpace"),
|
|
87159
87159
|
Ya("onEnter"),
|
|
@@ -87193,11 +87193,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87193
87193
|
Co(ho(ls), v.onSpace),
|
|
87194
87194
|
Co(ho(Qp), v.onEscape)
|
|
87195
87195
|
];
|
|
87196
|
-
},
|
|
87196
|
+
}, f8 = function(a, c, v) {
|
|
87197
87197
|
return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
|
|
87198
|
-
}, l_ = Vu(od, bl.init, y4,
|
|
87198
|
+
}, l_ = Vu(od, bl.init, y4, f8, function(a) {
|
|
87199
87199
|
return a.focusIn;
|
|
87200
|
-
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ =
|
|
87200
|
+
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ = i8.schema(), x4 = zC.schema(), Dv = c8.schema(), c_ = l_.schema(), Ov = /* @__PURE__ */ Object.freeze({
|
|
87201
87201
|
__proto__: null,
|
|
87202
87202
|
acyclic: b4,
|
|
87203
87203
|
cyclic: w4,
|
|
@@ -87232,7 +87232,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87232
87232
|
}
|
|
87233
87233
|
},
|
|
87234
87234
|
state: dh
|
|
87235
|
-
}),
|
|
87235
|
+
}), d8 = function(a, c, v, b) {
|
|
87236
87236
|
J0(function() {
|
|
87237
87237
|
var x = Ge(b, a.getSystem().build);
|
|
87238
87238
|
Jd(a, x);
|
|
@@ -87260,24 +87260,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87260
87260
|
}, F);
|
|
87261
87261
|
}), D;
|
|
87262
87262
|
});
|
|
87263
|
-
},
|
|
87263
|
+
}, h8 = function(a, c, v, b, x) {
|
|
87264
87264
|
var N = gg(a);
|
|
87265
87265
|
return at(N, b).bind(function(D) {
|
|
87266
87266
|
return E4(a, c, v, D, x);
|
|
87267
87267
|
});
|
|
87268
|
-
},
|
|
87268
|
+
}, v8 = /* @__PURE__ */ Object.freeze({
|
|
87269
87269
|
__proto__: null,
|
|
87270
87270
|
append: au,
|
|
87271
87271
|
prepend: d_,
|
|
87272
87272
|
remove: lf,
|
|
87273
87273
|
replaceAt: E4,
|
|
87274
|
-
replaceBy:
|
|
87275
|
-
set:
|
|
87274
|
+
replaceBy: h8,
|
|
87275
|
+
set: d8,
|
|
87276
87276
|
contents: gg
|
|
87277
87277
|
}), Qr = Fa({
|
|
87278
87278
|
fields: [],
|
|
87279
87279
|
name: "replacing",
|
|
87280
|
-
apis:
|
|
87280
|
+
apis: v8
|
|
87281
87281
|
}), h_ = function(a, c) {
|
|
87282
87282
|
var v = Oo(c);
|
|
87283
87283
|
return Fa({
|
|
@@ -87299,14 +87299,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87299
87299
|
};
|
|
87300
87300
|
}, S4 = function(a, c) {
|
|
87301
87301
|
c.ignore || (zs(a.element), c.onFocus(a));
|
|
87302
|
-
},
|
|
87302
|
+
}, p8 = function(a, c) {
|
|
87303
87303
|
c.ignore || Lw(a.element);
|
|
87304
87304
|
}, _g = function(a) {
|
|
87305
87305
|
return w1(a.element);
|
|
87306
|
-
},
|
|
87306
|
+
}, m8 = /* @__PURE__ */ Object.freeze({
|
|
87307
87307
|
__proto__: null,
|
|
87308
87308
|
focus: S4,
|
|
87309
|
-
blur:
|
|
87309
|
+
blur: p8,
|
|
87310
87310
|
isFocused: _g
|
|
87311
87311
|
}), k4 = function(a, c) {
|
|
87312
87312
|
var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
|
|
@@ -87317,20 +87317,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87317
87317
|
})].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
|
|
87318
87318
|
v.event.prevent();
|
|
87319
87319
|
})] : []));
|
|
87320
|
-
},
|
|
87320
|
+
}, g8 = /* @__PURE__ */ Object.freeze({
|
|
87321
87321
|
__proto__: null,
|
|
87322
87322
|
exhibit: k4,
|
|
87323
87323
|
events: v_
|
|
87324
|
-
}),
|
|
87324
|
+
}), _8 = [
|
|
87325
87325
|
Mo("onFocus"),
|
|
87326
87326
|
Ot("stopMousedown", !1),
|
|
87327
87327
|
Ot("ignore", !1)
|
|
87328
87328
|
], Gr = Fa({
|
|
87329
|
-
fields:
|
|
87329
|
+
fields: _8,
|
|
87330
87330
|
name: "focusing",
|
|
87331
|
-
active:
|
|
87332
|
-
apis:
|
|
87333
|
-
}),
|
|
87331
|
+
active: g8,
|
|
87332
|
+
apis: m8
|
|
87333
|
+
}), y8 = function(a) {
|
|
87334
87334
|
var c = function() {
|
|
87335
87335
|
var v = jn(a), b = function() {
|
|
87336
87336
|
return v.get();
|
|
@@ -87416,7 +87416,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87416
87416
|
name: "toggling",
|
|
87417
87417
|
active: _e,
|
|
87418
87418
|
apis: W,
|
|
87419
|
-
state:
|
|
87419
|
+
state: y8(!1)
|
|
87420
87420
|
}), tn = function() {
|
|
87421
87421
|
var a = function(c, v) {
|
|
87422
87422
|
v.stop(), Nf(c);
|
|
@@ -87660,7 +87660,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87660
87660
|
Ot("fakeFocus", !1),
|
|
87661
87661
|
Ot("focusManager", Qf()),
|
|
87662
87662
|
Mo("onHighlight")
|
|
87663
|
-
]), T4 = V("alloy.menu-focus"),
|
|
87663
|
+
]), T4 = V("alloy.menu-focus"), b8 = function(a, c, v, b) {
|
|
87664
87664
|
return {
|
|
87665
87665
|
uid: a.uid,
|
|
87666
87666
|
dom: a.dom,
|
|
@@ -87703,7 +87703,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87703
87703
|
name: "Menu",
|
|
87704
87704
|
configFields: yg(),
|
|
87705
87705
|
partFields: sf(),
|
|
87706
|
-
factory:
|
|
87706
|
+
factory: b8
|
|
87707
87707
|
}), bg = function(a) {
|
|
87708
87708
|
return da(a, function(c, v) {
|
|
87709
87709
|
return {
|
|
@@ -88071,7 +88071,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88071
88071
|
menus: ge(a, c),
|
|
88072
88072
|
expansions: {}
|
|
88073
88073
|
};
|
|
88074
|
-
},
|
|
88074
|
+
}, w8 = function(a) {
|
|
88075
88075
|
return {
|
|
88076
88076
|
value: Tr(Yx()),
|
|
88077
88077
|
meta: { text: a }
|
|
@@ -88121,7 +88121,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88121
88121
|
extraApis: {
|
|
88122
88122
|
tieredData: Xx,
|
|
88123
88123
|
singleData: kN,
|
|
88124
|
-
collapseItem:
|
|
88124
|
+
collapseItem: w8
|
|
88125
88125
|
}
|
|
88126
88126
|
}), TN = function(a, c, v, b, x) {
|
|
88127
88127
|
var N = function() {
|
|
@@ -88760,7 +88760,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88760
88760
|
}, rE = function(a) {
|
|
88761
88761
|
return a !== "" && ` \f
|
|
88762
88762
|
\r \v`.indexOf(a) !== -1;
|
|
88763
|
-
},
|
|
88763
|
+
}, C8 = function(a, c) {
|
|
88764
88764
|
return a.substring(c.length);
|
|
88765
88765
|
}, gm = function(a, c, v) {
|
|
88766
88766
|
var b;
|
|
@@ -88783,13 +88783,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88783
88783
|
if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
|
|
88784
88784
|
return U.none();
|
|
88785
88785
|
var L = nE(F), G = L.lastIndexOf(v);
|
|
88786
|
-
return G !== 0 ||
|
|
88787
|
-
text:
|
|
88786
|
+
return G !== 0 || C8(L, v).length < b ? U.none() : U.some({
|
|
88787
|
+
text: C8(L, v),
|
|
88788
88788
|
range: F,
|
|
88789
88789
|
triggerChar: v
|
|
88790
88790
|
});
|
|
88791
88791
|
});
|
|
88792
|
-
},
|
|
88792
|
+
}, x8 = function(a, c, v, b) {
|
|
88793
88793
|
return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
|
|
88794
88794
|
return w_(a, c, v, b);
|
|
88795
88795
|
}, function(x) {
|
|
@@ -88798,11 +88798,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88798
88798
|
var D = nE(N);
|
|
88799
88799
|
return U.some({
|
|
88800
88800
|
range: N,
|
|
88801
|
-
text:
|
|
88801
|
+
text: C8(D, v),
|
|
88802
88802
|
triggerChar: v
|
|
88803
88803
|
});
|
|
88804
88804
|
});
|
|
88805
|
-
},
|
|
88805
|
+
}, E8 = function(a, c) {
|
|
88806
88806
|
c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
|
|
88807
88807
|
var v = function(b, x) {
|
|
88808
88808
|
_r(b, lp(), { raw: x });
|
|
@@ -88821,14 +88821,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88821
88821
|
}), c.on("NodeChange", function(b) {
|
|
88822
88822
|
a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
|
|
88823
88823
|
});
|
|
88824
|
-
}, VN = { setup:
|
|
88824
|
+
}, VN = { setup: E8 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
|
|
88825
88825
|
return {
|
|
88826
88826
|
container: a,
|
|
88827
88827
|
offset: c
|
|
88828
88828
|
};
|
|
88829
88829
|
}, oE = function(a) {
|
|
88830
88830
|
return a.nodeType === Nh;
|
|
88831
|
-
},
|
|
88831
|
+
}, S8 = function(a) {
|
|
88832
88832
|
return a.nodeType === Cf;
|
|
88833
88833
|
}, aE = function(a) {
|
|
88834
88834
|
if (oE(a))
|
|
@@ -88837,7 +88837,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88837
88837
|
return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
|
|
88838
88838
|
}, C_ = function(a, c) {
|
|
88839
88839
|
var v = a.childNodes;
|
|
88840
|
-
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 &&
|
|
88840
|
+
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 && S8(a) && v.length === c ? aE(v[v.length - 1]) : _m(a, c);
|
|
88841
88841
|
}, LN = function(a, c) {
|
|
88842
88842
|
return eE(a, c.container, c.offset, function(v, b) {
|
|
88843
88843
|
return b === 0 ? -1 : b;
|
|
@@ -88852,7 +88852,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88852
88852
|
};
|
|
88853
88853
|
}, zN = function(a, c, v) {
|
|
88854
88854
|
return dn(v.triggerChars, function(b) {
|
|
88855
|
-
return
|
|
88855
|
+
return x8(a, c, b);
|
|
88856
88856
|
});
|
|
88857
88857
|
}, iE = function(a, c) {
|
|
88858
88858
|
var v = c(), b = a.selection.getRng();
|
|
@@ -88926,7 +88926,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88926
88926
|
mo("onAction")
|
|
88927
88927
|
].concat(Eg)), dE = function(a) {
|
|
88928
88928
|
return Vo("toolbarbutton", fE, a);
|
|
88929
|
-
},
|
|
88929
|
+
}, k8 = [Ho("active", !1)].concat(Eg), qN = wt(k8.concat([
|
|
88930
88930
|
Yn("type"),
|
|
88931
88931
|
mo("onAction")
|
|
88932
88932
|
])), hE = function(a) {
|
|
@@ -88947,14 +88947,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88947
88947
|
Ot("primary", !1),
|
|
88948
88948
|
mo("onAction"),
|
|
88949
88949
|
vi("original", z)
|
|
88950
|
-
]),
|
|
88950
|
+
]), T8 = k8.concat([
|
|
88951
88951
|
Ot("type", "contextformbutton"),
|
|
88952
88952
|
Ot("primary", !1),
|
|
88953
88953
|
mo("onAction"),
|
|
88954
88954
|
vi("original", z)
|
|
88955
|
-
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 =
|
|
88955
|
+
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k8.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
|
|
88956
88956
|
contextformbutton: pE,
|
|
88957
|
-
contextformtogglebutton:
|
|
88957
|
+
contextformtogglebutton: T8
|
|
88958
88958
|
}), XN = wt([
|
|
88959
88959
|
Ot("type", "contextform"),
|
|
88960
88960
|
Qo("initValue", function() {
|
|
@@ -88997,18 +88997,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88997
88997
|
triggerChars: b,
|
|
88998
88998
|
lookupByChar: N
|
|
88999
88999
|
};
|
|
89000
|
-
},
|
|
89000
|
+
}, N8;
|
|
89001
89001
|
(function(a) {
|
|
89002
89002
|
a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
|
|
89003
|
-
})(
|
|
89004
|
-
var uf =
|
|
89003
|
+
})(N8 || (N8 = {}));
|
|
89004
|
+
var uf = N8, Sg = "tox-menu-nav__js", A8 = "tox-collection__item", I8 = "tox-swatch", D8 = {
|
|
89005
89005
|
normal: Sg,
|
|
89006
|
-
color:
|
|
89007
|
-
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon",
|
|
89008
|
-
return cr(
|
|
89006
|
+
color: I8
|
|
89007
|
+
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon", O8 = "tox-collection__item-label", rA = "tox-collection__item-accessory", _E = "tox-collection__item-caret", oA = "tox-collection__item-checkmark", x_ = "tox-collection__item--active", aA = "tox-collection__item-icon-rtl", yE = "tox-collection__item-container", iA = "tox-collection__item-container--column", bE = "tox-collection__item-container--row", B8 = "tox-collection__item-container--align-right", lA = "tox-collection__item-container--align-left", sA = "tox-collection__item-container--valign-top", uA = "tox-collection__item-container--valign-middle", wE = "tox-collection__item-container--valign-bottom", CE = function(a) {
|
|
89008
|
+
return cr(D8, a).getOr(Sg);
|
|
89009
89009
|
}, cA = function(a) {
|
|
89010
89010
|
return a === "color" ? "tox-swatches" : "tox-menu";
|
|
89011
|
-
},
|
|
89011
|
+
}, P8 = function(a) {
|
|
89012
89012
|
return {
|
|
89013
89013
|
backgroundMenu: "tox-background-menu",
|
|
89014
89014
|
selectedMenu: "tox-selected-menu",
|
|
@@ -89018,7 +89018,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89018
89018
|
tieredMenu: "tox-tiered-menu"
|
|
89019
89019
|
};
|
|
89020
89020
|
}, kg = function(a) {
|
|
89021
|
-
var c =
|
|
89021
|
+
var c = P8(a);
|
|
89022
89022
|
return {
|
|
89023
89023
|
backgroundMenu: c.backgroundMenu,
|
|
89024
89024
|
selectedMenu: c.selectedMenu,
|
|
@@ -89027,7 +89027,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89027
89027
|
item: CE(a)
|
|
89028
89028
|
};
|
|
89029
89029
|
}, fA = function(a, c, v) {
|
|
89030
|
-
var b =
|
|
89030
|
+
var b = P8(v);
|
|
89031
89031
|
return {
|
|
89032
89032
|
tag: "div",
|
|
89033
89033
|
classes: zt([
|
|
@@ -89038,8 +89038,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89038
89038
|
a ? [b.hasIcons] : []
|
|
89039
89039
|
])
|
|
89040
89040
|
};
|
|
89041
|
-
},
|
|
89042
|
-
var b =
|
|
89041
|
+
}, M8 = [id.parts.items({})], B4 = function(a, c, v) {
|
|
89042
|
+
var b = P8(v), x = {
|
|
89043
89043
|
tag: "div",
|
|
89044
89044
|
classes: zt([[b.tieredMenu]])
|
|
89045
89045
|
};
|
|
@@ -89047,7 +89047,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89047
89047
|
dom: x,
|
|
89048
89048
|
markers: kg(v)
|
|
89049
89049
|
};
|
|
89050
|
-
},
|
|
89050
|
+
}, R8 = function(a, c) {
|
|
89051
89051
|
return function(v) {
|
|
89052
89052
|
var b = me(v, c);
|
|
89053
89053
|
return Ge(b, function(x) {
|
|
@@ -89072,7 +89072,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89072
89072
|
classes: ["tox-swatches"]
|
|
89073
89073
|
},
|
|
89074
89074
|
components: [id.parts.items({
|
|
89075
|
-
preprocess: a !== "auto" ?
|
|
89075
|
+
preprocess: a !== "auto" ? R8({
|
|
89076
89076
|
tag: "div",
|
|
89077
89077
|
classes: ["tox-swatches__row"]
|
|
89078
89078
|
}, a) : z
|
|
@@ -89091,7 +89091,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89091
89091
|
]
|
|
89092
89092
|
},
|
|
89093
89093
|
components: [id.parts.items({
|
|
89094
|
-
preprocess:
|
|
89094
|
+
preprocess: R8({
|
|
89095
89095
|
tag: "div",
|
|
89096
89096
|
classes: ["tox-collection__group"]
|
|
89097
89097
|
}, a)
|
|
@@ -89110,7 +89110,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89110
89110
|
components: x
|
|
89111
89111
|
};
|
|
89112
89112
|
});
|
|
89113
|
-
}, $
|
|
89113
|
+
}, $8 = function(a, c, v) {
|
|
89114
89114
|
return {
|
|
89115
89115
|
dom: {
|
|
89116
89116
|
tag: "div",
|
|
@@ -89121,7 +89121,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89121
89121
|
},
|
|
89122
89122
|
components: [id.parts.items({
|
|
89123
89123
|
preprocess: function(b) {
|
|
89124
|
-
return a !== "auto" && a > 1 ?
|
|
89124
|
+
return a !== "auto" && a > 1 ? R8({
|
|
89125
89125
|
tag: "div",
|
|
89126
89126
|
classes: ["tox-collection__group"]
|
|
89127
89127
|
}, a)(b) : xE(b, function(x, N) {
|
|
@@ -89161,7 +89161,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89161
89161
|
components: N.components,
|
|
89162
89162
|
items: v
|
|
89163
89163
|
};
|
|
89164
|
-
},
|
|
89164
|
+
}, F8 = function(a, c, v, b, x) {
|
|
89165
89165
|
if (x === "color") {
|
|
89166
89166
|
var N = dA(b);
|
|
89167
89167
|
return {
|
|
@@ -89172,7 +89172,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89172
89172
|
};
|
|
89173
89173
|
}
|
|
89174
89174
|
if (x === "normal" && b === "auto") {
|
|
89175
|
-
var N = $
|
|
89175
|
+
var N = $8(b, v);
|
|
89176
89176
|
return {
|
|
89177
89177
|
value: a,
|
|
89178
89178
|
dom: N.dom,
|
|
@@ -89181,7 +89181,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89181
89181
|
};
|
|
89182
89182
|
}
|
|
89183
89183
|
if (x === "normal" && b === 1) {
|
|
89184
|
-
var N = $
|
|
89184
|
+
var N = $8(1, v);
|
|
89185
89185
|
return {
|
|
89186
89186
|
value: a,
|
|
89187
89187
|
dom: N.dom,
|
|
@@ -89190,7 +89190,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89190
89190
|
};
|
|
89191
89191
|
}
|
|
89192
89192
|
if (x === "normal") {
|
|
89193
|
-
var N = $
|
|
89193
|
+
var N = $8(b, v);
|
|
89194
89194
|
return {
|
|
89195
89195
|
value: a,
|
|
89196
89196
|
dom: N.dom,
|
|
@@ -89210,15 +89210,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89210
89210
|
return {
|
|
89211
89211
|
value: a,
|
|
89212
89212
|
dom: fA(c, b, x),
|
|
89213
|
-
components:
|
|
89213
|
+
components: M8,
|
|
89214
89214
|
items: v
|
|
89215
89215
|
};
|
|
89216
|
-
},
|
|
89216
|
+
}, V8 = [
|
|
89217
89217
|
Yn("type"),
|
|
89218
89218
|
Yn("src"),
|
|
89219
89219
|
jo("alt"),
|
|
89220
89220
|
mu("classes", [], Ut)
|
|
89221
|
-
], mA = wt(
|
|
89221
|
+
], mA = wt(V8), gA = [
|
|
89222
89222
|
Yn("type"),
|
|
89223
89223
|
Yn("text"),
|
|
89224
89224
|
jo("name"),
|
|
@@ -89266,9 +89266,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89266
89266
|
Yn("type"),
|
|
89267
89267
|
So("fancytype", EE),
|
|
89268
89268
|
Qo("onAction", R)
|
|
89269
|
-
]),
|
|
89269
|
+
]), L8 = function(a) {
|
|
89270
89270
|
return Vo("fancymenuitem", EA, a);
|
|
89271
|
-
},
|
|
89271
|
+
}, U8 = wt([
|
|
89272
89272
|
Yn("type"),
|
|
89273
89273
|
Qo("onSetup", function() {
|
|
89274
89274
|
return R;
|
|
@@ -89276,8 +89276,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89276
89276
|
Qo("onAction", R),
|
|
89277
89277
|
jo("icon")
|
|
89278
89278
|
].concat(Pv)), SE = function(a) {
|
|
89279
|
-
return Vo("menuitem",
|
|
89280
|
-
},
|
|
89279
|
+
return Vo("menuitem", U8, a);
|
|
89280
|
+
}, z8 = wt([
|
|
89281
89281
|
Yn("type"),
|
|
89282
89282
|
mo("getSubmenuItems"),
|
|
89283
89283
|
Qo("onSetup", function() {
|
|
@@ -89285,7 +89285,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89285
89285
|
}),
|
|
89286
89286
|
jo("icon")
|
|
89287
89287
|
].concat(Pv)), kE = function(a) {
|
|
89288
|
-
return Vo("nestedmenuitem",
|
|
89288
|
+
return Vo("nestedmenuitem", z8, a);
|
|
89289
89289
|
}, TE = wt([
|
|
89290
89290
|
Yn("type"),
|
|
89291
89291
|
jo("icon"),
|
|
@@ -89392,7 +89392,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89392
89392
|
})
|
|
89393
89393
|
]
|
|
89394
89394
|
]));
|
|
89395
|
-
},
|
|
89395
|
+
}, H8 = /* @__PURE__ */ Object.freeze({
|
|
89396
89396
|
__proto__: null,
|
|
89397
89397
|
events: OE
|
|
89398
89398
|
}), TA = [
|
|
@@ -89431,7 +89431,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89431
89431
|
}),
|
|
89432
89432
|
Mo("onHide"),
|
|
89433
89433
|
Mo("onShow")
|
|
89434
|
-
],
|
|
89434
|
+
], W8 = function() {
|
|
89435
89435
|
var a = jn(U.none()), c = jn(U.none()), v = function() {
|
|
89436
89436
|
return c.get();
|
|
89437
89437
|
}, b = function(G) {
|
|
@@ -89458,14 +89458,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89458
89458
|
resetTimer: D,
|
|
89459
89459
|
readState: L
|
|
89460
89460
|
});
|
|
89461
|
-
},
|
|
89461
|
+
}, j8 = /* @__PURE__ */ Object.freeze({
|
|
89462
89462
|
__proto__: null,
|
|
89463
|
-
init:
|
|
89463
|
+
init: W8
|
|
89464
89464
|
}), BE = Fa({
|
|
89465
89465
|
fields: TA,
|
|
89466
89466
|
name: "tooltipping",
|
|
89467
|
-
active:
|
|
89468
|
-
state:
|
|
89467
|
+
active: H8,
|
|
89468
|
+
state: j8,
|
|
89469
89469
|
apis: DE
|
|
89470
89470
|
}), PE = function(a) {
|
|
89471
89471
|
return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -89475,9 +89475,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89475
89475
|
"textarea",
|
|
89476
89476
|
"select"
|
|
89477
89477
|
], ME = function(a, c, v) {
|
|
89478
|
-
var b = c.disabled() ? F4 :
|
|
89478
|
+
var b = c.disabled() ? F4 : q8;
|
|
89479
89479
|
b(a, c);
|
|
89480
|
-
},
|
|
89480
|
+
}, G8 = function(a, c) {
|
|
89481
89481
|
return c.useNative === !0 && Le(NA, bs(a.element));
|
|
89482
89482
|
}, AA = function(a) {
|
|
89483
89483
|
return yy(a.element, "disabled");
|
|
@@ -89495,26 +89495,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89495
89495
|
c.disableClass.each(function(x) {
|
|
89496
89496
|
ta(a.element, x);
|
|
89497
89497
|
});
|
|
89498
|
-
var b =
|
|
89498
|
+
var b = G8(a, c) ? IA : $4;
|
|
89499
89499
|
b(a), c.onDisabled(a);
|
|
89500
|
-
},
|
|
89500
|
+
}, q8 = function(a, c, v) {
|
|
89501
89501
|
c.disableClass.each(function(x) {
|
|
89502
89502
|
Sa(a.element, x);
|
|
89503
89503
|
});
|
|
89504
|
-
var b =
|
|
89504
|
+
var b = G8(a, c) ? DA : RE;
|
|
89505
89505
|
b(a), c.onEnabled(a);
|
|
89506
89506
|
}, $E = function(a, c) {
|
|
89507
|
-
return
|
|
89508
|
-
},
|
|
89509
|
-
var x = b ? F4 :
|
|
89507
|
+
return G8(a, c) ? AA(a) : OA(a);
|
|
89508
|
+
}, K8 = function(a, c, v, b) {
|
|
89509
|
+
var x = b ? F4 : q8;
|
|
89510
89510
|
x(a, c);
|
|
89511
|
-
},
|
|
89511
|
+
}, Y8 = /* @__PURE__ */ Object.freeze({
|
|
89512
89512
|
__proto__: null,
|
|
89513
|
-
enable:
|
|
89513
|
+
enable: q8,
|
|
89514
89514
|
disable: F4,
|
|
89515
89515
|
isDisabled: $E,
|
|
89516
89516
|
onLoad: ME,
|
|
89517
|
-
set:
|
|
89517
|
+
set: K8
|
|
89518
89518
|
}), FE = function(a, c) {
|
|
89519
89519
|
return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
|
|
89520
89520
|
}, VE = function(a, c) {
|
|
@@ -89538,7 +89538,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89538
89538
|
fields: BA,
|
|
89539
89539
|
name: "disabling",
|
|
89540
89540
|
active: LE,
|
|
89541
|
-
apis:
|
|
89541
|
+
apis: Y8
|
|
89542
89542
|
}), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
|
|
89543
89543
|
var c = a.getParam("skin"), v = a.getParam("skin_url");
|
|
89544
89544
|
if (c !== !1) {
|
|
@@ -89560,17 +89560,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89560
89560
|
return U.from(a.getParam("min_height")).filter(O);
|
|
89561
89561
|
}, L4 = function(a) {
|
|
89562
89562
|
return U.from(a.getParam("max_width")).filter(O);
|
|
89563
|
-
},
|
|
89563
|
+
}, X8 = function(a) {
|
|
89564
89564
|
return U.from(a.getParam("max_height")).filter(O);
|
|
89565
89565
|
}, jE = function(a) {
|
|
89566
89566
|
return U.from(a.getParam("style_formats")).filter(d);
|
|
89567
|
-
},
|
|
89567
|
+
}, J8 = function(a) {
|
|
89568
89568
|
return a.getParam("style_formats_merge", !1, "boolean");
|
|
89569
89569
|
}, GE = function(a) {
|
|
89570
89570
|
return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
|
|
89571
89571
|
}, MA = function(a) {
|
|
89572
89572
|
return a.getParam("removed_menuitems", "");
|
|
89573
|
-
},
|
|
89573
|
+
}, Z8 = function(a) {
|
|
89574
89574
|
return a.getParam("menubar", !0, "boolean") !== !1;
|
|
89575
89575
|
}, Ag = function(a) {
|
|
89576
89576
|
var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
|
|
@@ -89599,10 +89599,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89599
89599
|
})(bm || (bm = {}));
|
|
89600
89600
|
var RA = function(a) {
|
|
89601
89601
|
return a.getParam("toolbar_groups", {}, "object");
|
|
89602
|
-
},
|
|
89602
|
+
}, Q8 = function(a) {
|
|
89603
89603
|
return a.getParam("toolbar_location", bm.auto, "string");
|
|
89604
|
-
},
|
|
89605
|
-
return
|
|
89604
|
+
}, e6 = function(a) {
|
|
89605
|
+
return Q8(a) === bm.bottom;
|
|
89606
89606
|
}, $A = function(a) {
|
|
89607
89607
|
return a.getParam("fixed_toolbar_container", "", "string");
|
|
89608
89608
|
}, FA = function(a) {
|
|
@@ -89624,14 +89624,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89624
89624
|
return c.getOrThunk(function() {
|
|
89625
89625
|
return Nd(mi(rr.fromDom(a.getElement())));
|
|
89626
89626
|
});
|
|
89627
|
-
},
|
|
89628
|
-
return a.inline && !
|
|
89627
|
+
}, t6 = function(a) {
|
|
89628
|
+
return a.inline && !Z8(a) && !Ag(a) && !k_(a);
|
|
89629
89629
|
}, z4 = function(a) {
|
|
89630
89630
|
var c = a.getParam("toolbar_sticky", !1, "boolean");
|
|
89631
|
-
return (c || a.inline) && !U4(a) && !
|
|
89631
|
+
return (c || a.inline) && !U4(a) && !t6(a);
|
|
89632
89632
|
}, LA = function(a) {
|
|
89633
89633
|
return a.getParam("draggable_modal", !1, "boolean");
|
|
89634
|
-
},
|
|
89634
|
+
}, n6 = function(a) {
|
|
89635
89635
|
var c = a.getParam("menu");
|
|
89636
89636
|
return c ? Vr(c, function(v) {
|
|
89637
89637
|
return ve(ve({}, v), { items: v.items });
|
|
@@ -89650,9 +89650,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89650
89650
|
return a.getParam("typeahead_urls") === !1;
|
|
89651
89651
|
}, qA = function(a) {
|
|
89652
89652
|
return a.getParam("anchor_top", "#top");
|
|
89653
|
-
},
|
|
89653
|
+
}, r6 = function(a) {
|
|
89654
89654
|
return a.getParam("anchor_bottom", "#bottom");
|
|
89655
|
-
},
|
|
89655
|
+
}, o6 = function(a) {
|
|
89656
89656
|
var c = a.getParam("file_picker_validator_handler", void 0, "function");
|
|
89657
89657
|
return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
|
|
89658
89658
|
}, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
|
|
@@ -89714,16 +89714,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89714
89714
|
return ts(function(v) {
|
|
89715
89715
|
return W4(a, v)(c.get());
|
|
89716
89716
|
});
|
|
89717
|
-
},
|
|
89717
|
+
}, a6, XA = function(a, c) {
|
|
89718
89718
|
return tc(function(v, b) {
|
|
89719
89719
|
W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
|
|
89720
89720
|
});
|
|
89721
|
-
}, JA = (
|
|
89721
|
+
}, JA = (a6 = {}, a6[Pl()] = [
|
|
89722
89722
|
"disabling",
|
|
89723
89723
|
"alloy.base.behaviour",
|
|
89724
89724
|
"toggling",
|
|
89725
89725
|
"item-events"
|
|
89726
|
-
],
|
|
89726
|
+
], a6), Ig = function(a) {
|
|
89727
89727
|
return Pt(a, function(c) {
|
|
89728
89728
|
return c.toArray();
|
|
89729
89729
|
});
|
|
@@ -89754,7 +89754,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89754
89754
|
value: a.value,
|
|
89755
89755
|
meta: ve({ text: a.text.getOr("") }, a.meta)
|
|
89756
89756
|
};
|
|
89757
|
-
},
|
|
89757
|
+
}, i6 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
|
|
89758
89758
|
var c = {
|
|
89759
89759
|
alt: "⌥",
|
|
89760
89760
|
ctrl: "⌃",
|
|
@@ -89764,11 +89764,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89764
89764
|
}, v = {
|
|
89765
89765
|
meta: "Ctrl",
|
|
89766
89766
|
access: "Shift+Alt"
|
|
89767
|
-
}, b =
|
|
89767
|
+
}, b = i6.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
|
|
89768
89768
|
var F = D.toLowerCase().trim();
|
|
89769
89769
|
return Po(b, F) ? b[F] : D;
|
|
89770
89770
|
});
|
|
89771
|
-
return
|
|
89771
|
+
return i6.mac ? N.join("") : N.join("+");
|
|
89772
89772
|
}, ZA = function(a) {
|
|
89773
89773
|
return {
|
|
89774
89774
|
dom: {
|
|
@@ -89781,7 +89781,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89781
89781
|
return {
|
|
89782
89782
|
dom: {
|
|
89783
89783
|
tag: "div",
|
|
89784
|
-
classes: [
|
|
89784
|
+
classes: [O8]
|
|
89785
89785
|
},
|
|
89786
89786
|
components: [Vf(Lu.translate(a))]
|
|
89787
89787
|
};
|
|
@@ -89797,7 +89797,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89797
89797
|
return {
|
|
89798
89798
|
dom: {
|
|
89799
89799
|
tag: "div",
|
|
89800
|
-
classes: [
|
|
89800
|
+
classes: [O8]
|
|
89801
89801
|
},
|
|
89802
89802
|
components: [{
|
|
89803
89803
|
dom: {
|
|
@@ -89840,7 +89840,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89840
89840
|
}
|
|
89841
89841
|
};
|
|
89842
89842
|
}, tI = function(a, c) {
|
|
89843
|
-
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA :
|
|
89843
|
+
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B8, x = function() {
|
|
89844
89844
|
switch (a.valign) {
|
|
89845
89845
|
case "top":
|
|
89846
89846
|
return sA;
|
|
@@ -89875,7 +89875,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89875
89875
|
};
|
|
89876
89876
|
}, rI = function(a, c, v, b) {
|
|
89877
89877
|
var x = "custom", N = "remove", D = function() {
|
|
89878
|
-
var F =
|
|
89878
|
+
var F = I8, L = v.getOr(""), G = a.map(function(ee) {
|
|
89879
89879
|
return { title: b.translate(ee) };
|
|
89880
89880
|
}).getOr({}), Z = {
|
|
89881
89881
|
tag: "div",
|
|
@@ -89906,14 +89906,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89906
89906
|
tag: "div",
|
|
89907
89907
|
classes: [
|
|
89908
89908
|
Sg,
|
|
89909
|
-
|
|
89909
|
+
A8
|
|
89910
89910
|
].concat(a ? [aA] : [])
|
|
89911
89911
|
}, v);
|
|
89912
|
-
},
|
|
89912
|
+
}, l6 = function(a, c, v, b, x) {
|
|
89913
89913
|
var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
|
|
89914
89914
|
return a.textContent.map(b);
|
|
89915
89915
|
}, function(G) {
|
|
89916
|
-
return U.some(tS(G, [
|
|
89916
|
+
return U.some(tS(G, [O8]));
|
|
89917
89917
|
}), L = {
|
|
89918
89918
|
dom: oS(x, a.ariaLabel),
|
|
89919
89919
|
optComponents: [
|
|
@@ -89951,8 +89951,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89951
89951
|
}, function(L) {
|
|
89952
89952
|
return Po(L, "style") ? re(QA, L.style) : eS;
|
|
89953
89953
|
});
|
|
89954
|
-
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) :
|
|
89955
|
-
},
|
|
89954
|
+
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l6(a, D, v, F, N);
|
|
89955
|
+
}, s6 = function(a, c) {
|
|
89956
89956
|
return cr(a, "tooltipWorker").map(function(v) {
|
|
89957
89957
|
return [BE.config({
|
|
89958
89958
|
lazySink: c.getSink,
|
|
@@ -90011,7 +90011,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90011
90011
|
},
|
|
90012
90012
|
onSetup: V(R),
|
|
90013
90013
|
triggersSubmenu: !1,
|
|
90014
|
-
itemBehaviours:
|
|
90014
|
+
itemBehaviours: s6(a.meta, D)
|
|
90015
90015
|
}, L, N, D.providers);
|
|
90016
90016
|
}, sS = function(a, c) {
|
|
90017
90017
|
return Ge(a, function(v) {
|
|
@@ -90110,17 +90110,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90110
90110
|
selected: a.active
|
|
90111
90111
|
}
|
|
90112
90112
|
});
|
|
90113
|
-
},
|
|
90113
|
+
}, u6 = Kp(ll(), qi()), uS = function(a) {
|
|
90114
90114
|
return { value: a };
|
|
90115
90115
|
}, 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) {
|
|
90116
90116
|
return cS.test(a) || fS.test(a);
|
|
90117
|
-
},
|
|
90117
|
+
}, c6 = function(a) {
|
|
90118
90118
|
var c = a.value.replace(cS, function(v, b, x, N) {
|
|
90119
90119
|
return b + b + x + x + N + N;
|
|
90120
90120
|
});
|
|
90121
90121
|
return { value: c };
|
|
90122
|
-
},
|
|
90123
|
-
var c =
|
|
90122
|
+
}, f6 = function(a) {
|
|
90123
|
+
var c = c6(a), v = fS.exec(c.value);
|
|
90124
90124
|
return v === null ? [
|
|
90125
90125
|
"FFFFFF",
|
|
90126
90126
|
"FF",
|
|
@@ -90133,14 +90133,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90133
90133
|
}, G4 = function(a) {
|
|
90134
90134
|
var c = D_(a.red) + D_(a.green) + D_(a.blue);
|
|
90135
90135
|
return uS(c);
|
|
90136
|
-
}, dS = Math.min, hS = Math.max, Cm = Math.round,
|
|
90136
|
+
}, dS = Math.min, hS = Math.max, Cm = Math.round, d6 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, q4 = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Mv = function(a, c, v, b) {
|
|
90137
90137
|
return {
|
|
90138
90138
|
red: a,
|
|
90139
90139
|
green: c,
|
|
90140
90140
|
blue: v,
|
|
90141
90141
|
alpha: b
|
|
90142
90142
|
};
|
|
90143
|
-
},
|
|
90143
|
+
}, h6 = function(a) {
|
|
90144
90144
|
var c = parseInt(a, 10);
|
|
90145
90145
|
return c.toString() === a && c >= 0 && c <= 255;
|
|
90146
90146
|
}, vS = function(a) {
|
|
@@ -90172,7 +90172,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90172
90172
|
}
|
|
90173
90173
|
return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
|
|
90174
90174
|
}, O_ = function(a) {
|
|
90175
|
-
var c =
|
|
90175
|
+
var c = f6(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
|
|
90176
90176
|
return Mv(v, b, x, 1);
|
|
90177
90177
|
}, pS = function(a, c, v, b) {
|
|
90178
90178
|
var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
|
|
@@ -90180,7 +90180,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90180
90180
|
}, uI = function(a) {
|
|
90181
90181
|
if (a === "transparent")
|
|
90182
90182
|
return U.some(Mv(0, 0, 0, 0));
|
|
90183
|
-
var c =
|
|
90183
|
+
var c = d6.exec(a);
|
|
90184
90184
|
if (c !== null)
|
|
90185
90185
|
return U.some(pS(c[1], c[2], c[3], "1"));
|
|
90186
90186
|
var v = q4.exec(a);
|
|
@@ -90193,7 +90193,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90193
90193
|
return a.fire("SkinLoadError", c);
|
|
90194
90194
|
}, dI = function(a) {
|
|
90195
90195
|
return a.fire("ResizeEditor");
|
|
90196
|
-
},
|
|
90196
|
+
}, v6 = function(a, c) {
|
|
90197
90197
|
return a.fire("ResizeContent", c);
|
|
90198
90198
|
}, hI = function(a, c) {
|
|
90199
90199
|
return a.fire("ScrollContent", c);
|
|
@@ -90328,7 +90328,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90328
90328
|
text: "White",
|
|
90329
90329
|
value: "#ffffff"
|
|
90330
90330
|
}
|
|
90331
|
-
], yS = pI(10),
|
|
90331
|
+
], yS = pI(10), p6 = function(a) {
|
|
90332
90332
|
var c = [], v = document.createElement("canvas");
|
|
90333
90333
|
v.height = 1, v.width = 1;
|
|
90334
90334
|
for (var b = v.getContext("2d"), x = function(F, L) {
|
|
@@ -90353,9 +90353,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90353
90353
|
return a.getParam("custom_colors") !== !1;
|
|
90354
90354
|
}, gI = function(a) {
|
|
90355
90355
|
return a.getParam("color_map");
|
|
90356
|
-
},
|
|
90356
|
+
}, m6 = function(a) {
|
|
90357
90357
|
var c = gI(a);
|
|
90358
|
-
return c !== void 0 ?
|
|
90358
|
+
return c !== void 0 ? p6(c) : mI;
|
|
90359
90359
|
}, _I = function() {
|
|
90360
90360
|
return Ge(yS.state(), function(a) {
|
|
90361
90361
|
return {
|
|
@@ -90389,7 +90389,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90389
90389
|
}, xI = function(a) {
|
|
90390
90390
|
return Math.max(5, Math.ceil(Math.sqrt(a)));
|
|
90391
90391
|
}, CS = function(a) {
|
|
90392
|
-
var c =
|
|
90392
|
+
var c = m6(a), v = xI(c.length);
|
|
90393
90393
|
return Xi(a, v);
|
|
90394
90394
|
}, EI = function(a) {
|
|
90395
90395
|
var c = "choiceitem", v = {
|
|
@@ -90407,7 +90407,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90407
90407
|
v,
|
|
90408
90408
|
b
|
|
90409
90409
|
] : [v];
|
|
90410
|
-
},
|
|
90410
|
+
}, g6 = function(a, c, v, b) {
|
|
90411
90411
|
if (v === "custom") {
|
|
90412
90412
|
var x = NS(a);
|
|
90413
90413
|
x(function(N) {
|
|
@@ -90441,12 +90441,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90441
90441
|
}).getOr(!1);
|
|
90442
90442
|
},
|
|
90443
90443
|
columns: CS(a),
|
|
90444
|
-
fetch: ES(
|
|
90444
|
+
fetch: ES(m6(a), bS(a)),
|
|
90445
90445
|
onAction: function(N) {
|
|
90446
|
-
x.get() !== null &&
|
|
90446
|
+
x.get() !== null && g6(a, v, x.get(), R);
|
|
90447
90447
|
},
|
|
90448
90448
|
onItemAction: function(N, D) {
|
|
90449
|
-
|
|
90449
|
+
g6(a, v, D, function(F) {
|
|
90450
90450
|
x.set(F), vI(a, {
|
|
90451
90451
|
name: c,
|
|
90452
90452
|
color: F
|
|
@@ -90472,7 +90472,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90472
90472
|
type: "fancymenuitem",
|
|
90473
90473
|
fancytype: "colorswatch",
|
|
90474
90474
|
onAction: function(x) {
|
|
90475
|
-
|
|
90475
|
+
g6(a, v, x.value, R);
|
|
90476
90476
|
}
|
|
90477
90477
|
}];
|
|
90478
90478
|
}
|
|
@@ -90525,9 +90525,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90525
90525
|
CI(a);
|
|
90526
90526
|
var c = jn(null), v = jn(null);
|
|
90527
90527
|
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");
|
|
90528
|
-
},
|
|
90528
|
+
}, _6 = function(a, c, v, b, x, N, D, F) {
|
|
90529
90529
|
var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
|
|
90530
|
-
return
|
|
90530
|
+
return F8(a, L, Z, b, x);
|
|
90531
90531
|
}, kI = function(a, c, v, b, x, N, D) {
|
|
90532
90532
|
return sh(Ge(a, function(F) {
|
|
90533
90533
|
return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
|
|
@@ -90571,11 +90571,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90571
90571
|
mode: "matrix",
|
|
90572
90572
|
selectors: {
|
|
90573
90573
|
row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
|
|
90574
|
-
cell: c === "color" ? "." +
|
|
90574
|
+
cell: c === "color" ? "." + I8 : "." + A8
|
|
90575
90575
|
}
|
|
90576
90576
|
};
|
|
90577
90577
|
}, NI = function(a, c) {
|
|
90578
|
-
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N =
|
|
90578
|
+
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _6(Tr("menu-value"), v, function(F) {
|
|
90579
90579
|
a.onAction({ value: F });
|
|
90580
90580
|
}, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
|
|
90581
90581
|
markers: kg(x),
|
|
@@ -90589,16 +90589,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90589
90589
|
classes: ["tox-fancymenuitem"]
|
|
90590
90590
|
},
|
|
90591
90591
|
autofocus: !0,
|
|
90592
|
-
components: [
|
|
90592
|
+
components: [u6.widget(id.sketch(D))]
|
|
90593
90593
|
};
|
|
90594
|
-
}, AS = Tr("cell-over"),
|
|
90594
|
+
}, AS = Tr("cell-over"), y6 = Tr("cell-execute"), AI = function(a, c, v) {
|
|
90595
90595
|
var b, x = function(F) {
|
|
90596
90596
|
return _r(F, AS, {
|
|
90597
90597
|
row: a,
|
|
90598
90598
|
col: c
|
|
90599
90599
|
});
|
|
90600
90600
|
}, N = function(F) {
|
|
90601
|
-
return _r(F,
|
|
90601
|
+
return _r(F, y6, {
|
|
90602
90602
|
row: a,
|
|
90603
90603
|
col: c
|
|
90604
90604
|
});
|
|
@@ -90659,7 +90659,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90659
90659
|
classes: ["tox-fancymenuitem"]
|
|
90660
90660
|
},
|
|
90661
90661
|
autofocus: !0,
|
|
90662
|
-
components: [
|
|
90662
|
+
components: [u6.widget({
|
|
90663
90663
|
dom: {
|
|
90664
90664
|
tag: "div",
|
|
90665
90665
|
classes: ["tox-insert-table-picker"]
|
|
@@ -90671,7 +90671,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90671
90671
|
var G = L.event.row, Z = L.event.col;
|
|
90672
90672
|
DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
|
|
90673
90673
|
}),
|
|
90674
|
-
Fs(
|
|
90674
|
+
Fs(y6, function(D, F, L) {
|
|
90675
90675
|
a.onAction({
|
|
90676
90676
|
numRows: L.event.row + 1,
|
|
90677
90677
|
numColumns: L.event.col + 1
|
|
@@ -90769,7 +90769,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90769
90769
|
dom: ve({
|
|
90770
90770
|
tag: "div",
|
|
90771
90771
|
classes: [
|
|
90772
|
-
|
|
90772
|
+
A8,
|
|
90773
90773
|
tA
|
|
90774
90774
|
]
|
|
90775
90775
|
}, c),
|
|
@@ -90847,7 +90847,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90847
90847
|
return U.some(MS(F));
|
|
90848
90848
|
});
|
|
90849
90849
|
case "fancymenuitem":
|
|
90850
|
-
return
|
|
90850
|
+
return L8(a).fold(mh, function(F) {
|
|
90851
90851
|
return UI(D(F), v);
|
|
90852
90852
|
});
|
|
90853
90853
|
default:
|
|
@@ -90868,7 +90868,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90868
90868
|
Z.onAction(ee), v(Z.value, Z.meta);
|
|
90869
90869
|
}
|
|
90870
90870
|
}), x, N, {
|
|
90871
|
-
itemBehaviours:
|
|
90871
|
+
itemBehaviours: s6(Z.meta, N),
|
|
90872
90872
|
cardText: {
|
|
90873
90873
|
matchText: c,
|
|
90874
90874
|
highlightOn: D
|
|
@@ -90882,7 +90882,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90882
90882
|
});
|
|
90883
90883
|
}
|
|
90884
90884
|
}));
|
|
90885
|
-
},
|
|
90885
|
+
}, b6 = function(a, c, v, b, x) {
|
|
90886
90886
|
var N = P4(c), D = sh(Ge(c, function(L) {
|
|
90887
90887
|
var G = function(ee) {
|
|
90888
90888
|
return x ? !ee.hasOwnProperty("text") : N;
|
|
@@ -90890,7 +90890,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90890
90890
|
return RS(ee, v, b, G(ee), x);
|
|
90891
90891
|
};
|
|
90892
90892
|
return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
|
|
90893
|
-
})), F = x ? pA :
|
|
90893
|
+
})), F = x ? pA : F8;
|
|
90894
90894
|
return F(a, N, D, 1, "normal");
|
|
90895
90895
|
}, $S = function(a) {
|
|
90896
90896
|
return hm.singleData(a.value, a);
|
|
@@ -90915,7 +90915,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90915
90915
|
});
|
|
90916
90916
|
})])
|
|
90917
90917
|
};
|
|
90918
|
-
},
|
|
90918
|
+
}, w6 = function(a, c) {
|
|
90919
90919
|
var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
|
|
90920
90920
|
dom: {
|
|
90921
90921
|
tag: "div",
|
|
@@ -90950,7 +90950,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90950
90950
|
var jt = rn.items;
|
|
90951
90951
|
return HI(jt, rn.matchText, function(nn, Kt) {
|
|
90952
90952
|
var En = a.selection.getRng();
|
|
90953
|
-
|
|
90953
|
+
x8(a.dom, En, qe).fold(function() {
|
|
90954
90954
|
return console.error("Lost context. Cursor probably moved");
|
|
90955
90955
|
}, function(wr) {
|
|
90956
90956
|
var Jn = wr.range, fn = {
|
|
@@ -90983,10 +90983,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90983
90983
|
anchor: "node",
|
|
90984
90984
|
root: rr.fromDom(a.getBody()),
|
|
90985
90985
|
node: U.from(qe.element)
|
|
90986
|
-
}, id.sketch(WI(
|
|
90986
|
+
}, id.sketch(WI(F8("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
|
|
90987
90987
|
}, Te = function(qe) {
|
|
90988
90988
|
return v.get().map(function(St) {
|
|
90989
|
-
return
|
|
90989
|
+
return x8(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
|
|
90990
90990
|
return lE(a, G, At, qe);
|
|
90991
90991
|
});
|
|
90992
90992
|
}).getOrThunk(function() {
|
|
@@ -91017,7 +91017,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
91017
91017
|
}
|
|
91018
91018
|
};
|
|
91019
91019
|
a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
|
|
91020
|
-
}, jI = { register:
|
|
91020
|
+
}, jI = { register: w6 }, FS = Pe, Tc = function(a, c, v) {
|
|
91021
91021
|
return D0(a, c, FS, v);
|
|
91022
91022
|
}, P_ = function(a, c, v) {
|
|
91023
91023
|
return Nw(a, c, FS, v);
|
|
@@ -91586,19 +91586,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91586
91586
|
name: "tabstopping",
|
|
91587
91587
|
active: u9
|
|
91588
91588
|
}), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
|
|
91589
|
-
var x =
|
|
91589
|
+
var x = C6(a, c, v, b);
|
|
91590
91590
|
return zo.sketch(x);
|
|
91591
91591
|
}, d9 = function(a, c) {
|
|
91592
91592
|
return Mg(a, c, [], []);
|
|
91593
|
-
},
|
|
91593
|
+
}, C6 = function(a, c, v, b) {
|
|
91594
91594
|
return {
|
|
91595
|
-
dom:
|
|
91595
|
+
dom: x6(v),
|
|
91596
91596
|
components: a.toArray().concat([c]),
|
|
91597
91597
|
fieldBehaviours: Mn(b)
|
|
91598
91598
|
};
|
|
91599
91599
|
}, h9 = function() {
|
|
91600
|
-
return
|
|
91601
|
-
},
|
|
91600
|
+
return x6([]);
|
|
91601
|
+
}, x6 = function(a) {
|
|
91602
91602
|
return {
|
|
91603
91603
|
tag: "div",
|
|
91604
91604
|
classes: ["tox-form__group"].concat(a)
|
|
@@ -91611,7 +91611,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91611
91611
|
innerHtml: c.translate(a)
|
|
91612
91612
|
}
|
|
91613
91613
|
});
|
|
91614
|
-
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"),
|
|
91614
|
+
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"), E6 = Tr("form-block"), $g = Tr("form-unblock"), XS = Tr("form-tabchange"), JS = Tr("form-resize"), ZS = function(a, c) {
|
|
91615
91615
|
var v, b = a.label.map(function(ee) {
|
|
91616
91616
|
return Rv(ee, c);
|
|
91617
91617
|
}), x = function(ee) {
|
|
@@ -92212,7 +92212,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92212
92212
|
}, function(b) {
|
|
92213
92213
|
return b.validate(a);
|
|
92214
92214
|
});
|
|
92215
|
-
},
|
|
92215
|
+
}, S6 = function(a, c, v) {
|
|
92216
92216
|
return c.notify.each(function(b) {
|
|
92217
92217
|
b.onValidate(a);
|
|
92218
92218
|
}), uk(a, c).map(function(b) {
|
|
@@ -92230,14 +92230,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92230
92230
|
markValid: lk,
|
|
92231
92231
|
markInvalid: sk,
|
|
92232
92232
|
query: uk,
|
|
92233
|
-
run:
|
|
92233
|
+
run: S6,
|
|
92234
92234
|
isInvalid: b9
|
|
92235
92235
|
}), w9 = function(a, c) {
|
|
92236
92236
|
return a.validator.map(function(v) {
|
|
92237
92237
|
return Oo([wn(v.onEvent, function(b) {
|
|
92238
|
-
|
|
92238
|
+
S6(b, a, c).get(z);
|
|
92239
92239
|
})].concat(v.validateOnLoad ? [Ra(function(b) {
|
|
92240
|
-
|
|
92240
|
+
S6(b, a, c).get(R);
|
|
92241
92241
|
})] : []));
|
|
92242
92242
|
}).getOr({});
|
|
92243
92243
|
}, C9 = /* @__PURE__ */ Object.freeze({
|
|
@@ -92367,7 +92367,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92367
92367
|
})));
|
|
92368
92368
|
});
|
|
92369
92369
|
});
|
|
92370
|
-
},
|
|
92370
|
+
}, k6 = function(a, c, v, b, x, N, D) {
|
|
92371
92371
|
var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
|
|
92372
92372
|
return L.map(function(G) {
|
|
92373
92373
|
return G.fold(function() {
|
|
@@ -92379,7 +92379,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92379
92379
|
}, n3 = function(a, c, v, b, x, N, D) {
|
|
92380
92380
|
return wo.close(b), sl.pure(b);
|
|
92381
92381
|
}, Vg = function(a, c, v, b, x, N) {
|
|
92382
|
-
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 :
|
|
92382
|
+
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k6;
|
|
92383
92383
|
return L(a, c, v, D, b, x, N);
|
|
92384
92384
|
}, T9 = function(a, c, v) {
|
|
92385
92385
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
@@ -92400,11 +92400,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92400
92400
|
};
|
|
92401
92401
|
});
|
|
92402
92402
|
});
|
|
92403
|
-
},
|
|
92403
|
+
}, T6 = function(a) {
|
|
92404
92404
|
wo.getState(a).each(function(c) {
|
|
92405
92405
|
hm.repositionMenus(c);
|
|
92406
92406
|
});
|
|
92407
|
-
},
|
|
92407
|
+
}, N6 = function(a, c, v) {
|
|
92408
92408
|
var b = lc(), x = function(F, L) {
|
|
92409
92409
|
var G = t3(a, c);
|
|
92410
92410
|
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);
|
|
@@ -92444,13 +92444,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92444
92444
|
});
|
|
92445
92445
|
}
|
|
92446
92446
|
}),
|
|
92447
|
-
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition:
|
|
92447
|
+
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T6 })) })
|
|
92448
92448
|
])
|
|
92449
92449
|
};
|
|
92450
|
-
},
|
|
92450
|
+
}, A6 = function(a) {
|
|
92451
92451
|
var c = Ga.getCoupled(a, "sandbox");
|
|
92452
|
-
|
|
92453
|
-
},
|
|
92452
|
+
T6(c);
|
|
92453
|
+
}, I6 = function() {
|
|
92454
92454
|
return [
|
|
92455
92455
|
Ot("sandboxClasses", []),
|
|
92456
92456
|
is.field("sandboxBehaviours", [
|
|
@@ -92480,7 +92480,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92480
92480
|
Ot("matchWidth", !1),
|
|
92481
92481
|
Ot("useMinWidth", !1),
|
|
92482
92482
|
Do("role")
|
|
92483
|
-
].concat(
|
|
92483
|
+
].concat(I6())), pk = V([
|
|
92484
92484
|
tu({
|
|
92485
92485
|
schema: [zf()],
|
|
92486
92486
|
name: "menu",
|
|
@@ -92521,7 +92521,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92521
92521
|
}, Z, b, R, Uu.HighlightFirst).get(R);
|
|
92522
92522
|
},
|
|
92523
92523
|
repositionMenus: function(Z) {
|
|
92524
|
-
Vt.isOn(Z) &&
|
|
92524
|
+
Vt.isOn(Z) && A6(Z);
|
|
92525
92525
|
}
|
|
92526
92526
|
}, G = function(Z, ee) {
|
|
92527
92527
|
return Nf(Z), U.some(!0);
|
|
@@ -92538,7 +92538,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92538
92538
|
Ga.config({
|
|
92539
92539
|
others: {
|
|
92540
92540
|
sandbox: function(Z) {
|
|
92541
|
-
return
|
|
92541
|
+
return N6(a, Z, {
|
|
92542
92542
|
onOpen: function() {
|
|
92543
92543
|
return Vt.on(Z);
|
|
92544
92544
|
},
|
|
@@ -92642,7 +92642,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92642
92642
|
return sl.nu(function(b) {
|
|
92643
92643
|
return a.fetch(b);
|
|
92644
92644
|
}).map(function(b) {
|
|
92645
|
-
return U.from($S(to(
|
|
92645
|
+
return U.from($S(to(_6(Tr("menu-value"), b, function(x) {
|
|
92646
92646
|
a.onItemAction(v, x);
|
|
92647
92647
|
}, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
|
|
92648
92648
|
});
|
|
@@ -92860,7 +92860,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92860
92860
|
Ek
|
|
92861
92861
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92862
92862
|
return a.type.indexOf("touch") !== -1;
|
|
92863
|
-
},
|
|
92863
|
+
}, D6 = function(a) {
|
|
92864
92864
|
var c = a.event.raw;
|
|
92865
92865
|
if (V9(c)) {
|
|
92866
92866
|
var v = c;
|
|
@@ -92891,12 +92891,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92891
92891
|
return a.model.maxY + 1;
|
|
92892
92892
|
}, z_ = function(a, c, v) {
|
|
92893
92893
|
return c(a) - v(a);
|
|
92894
|
-
},
|
|
92894
|
+
}, O6 = function(a) {
|
|
92895
92895
|
return z_(a, Nl, Sm);
|
|
92896
92896
|
}, i3 = function(a) {
|
|
92897
92897
|
return z_(a, Vv, lu);
|
|
92898
92898
|
}, kk = function(a) {
|
|
92899
|
-
return
|
|
92899
|
+
return O6(a) / 2;
|
|
92900
92900
|
}, Tk = function(a) {
|
|
92901
92901
|
return i3(a) / 2;
|
|
92902
92902
|
}, Lg = function(a) {
|
|
@@ -92919,7 +92919,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92919
92919
|
return s3(a, Em);
|
|
92920
92920
|
}, cd = function(a) {
|
|
92921
92921
|
return a.model.value.get();
|
|
92922
|
-
},
|
|
92922
|
+
}, B6 = function(a) {
|
|
92923
92923
|
return { x: a };
|
|
92924
92924
|
}, Pk = function(a) {
|
|
92925
92925
|
return { y: a };
|
|
@@ -92939,7 +92939,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92939
92939
|
}, Rk = function(a, c) {
|
|
92940
92940
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92941
92941
|
}, $k = function(a, c) {
|
|
92942
|
-
Ac(a,
|
|
92942
|
+
Ac(a, B6(U_(c)));
|
|
92943
92943
|
}, u3 = function(a, c) {
|
|
92944
92944
|
Ac(a, Lv(U_(c), Tk(c)));
|
|
92945
92945
|
}, j9 = function(a, c) {
|
|
@@ -92951,12 +92951,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92951
92951
|
}, q9 = function(a, c) {
|
|
92952
92952
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92953
92953
|
}, K9 = function(a, c) {
|
|
92954
|
-
Ac(a,
|
|
92954
|
+
Ac(a, B6(r3(c)));
|
|
92955
92955
|
}, Y9 = function(a, c) {
|
|
92956
92956
|
Ac(a, Lv(r3(c), Tk(c)));
|
|
92957
92957
|
}, Ug = function(a, c, v, b) {
|
|
92958
92958
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92959
|
-
},
|
|
92959
|
+
}, P6 = function(a, c, v, b) {
|
|
92960
92960
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92961
92961
|
}, Vk = function(a, c, v) {
|
|
92962
92962
|
return Math.max(c, Math.min(v, a));
|
|
@@ -92978,26 +92978,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92978
92978
|
return je;
|
|
92979
92979
|
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92980
92980
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92981
|
-
},
|
|
92981
|
+
}, M6 = function(a) {
|
|
92982
92982
|
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;
|
|
92983
92983
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92984
|
-
}, H_ = "top", Lk = "right", Uk = "bottom",
|
|
92984
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92985
92985
|
return a.element.dom.getBoundingClientRect();
|
|
92986
92986
|
}, Ic = function(a, c) {
|
|
92987
92987
|
return a[c];
|
|
92988
92988
|
}, cs = function(a) {
|
|
92989
92989
|
var c = zu(a);
|
|
92990
|
-
return Ic(c,
|
|
92990
|
+
return Ic(c, R6);
|
|
92991
92991
|
}, Hk = function(a) {
|
|
92992
92992
|
var c = zu(a);
|
|
92993
92993
|
return Ic(c, Lk);
|
|
92994
92994
|
}, c3 = function(a) {
|
|
92995
92995
|
var c = zu(a);
|
|
92996
92996
|
return Ic(c, H_);
|
|
92997
|
-
}, $
|
|
92997
|
+
}, $6 = function(a) {
|
|
92998
92998
|
var c = zu(a);
|
|
92999
92999
|
return Ic(c, Uk);
|
|
93000
|
-
},
|
|
93000
|
+
}, F6 = function(a) {
|
|
93001
93001
|
var c = zu(a);
|
|
93002
93002
|
return Ic(c, zk);
|
|
93003
93003
|
}, Wk = function(a) {
|
|
@@ -93006,7 +93006,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93006
93006
|
}, jk = function(a, c, v) {
|
|
93007
93007
|
return (a + c) / 2 - v;
|
|
93008
93008
|
}, Gk = function(a, c) {
|
|
93009
|
-
var v = zu(a), b = zu(c), x = Ic(v,
|
|
93009
|
+
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
|
|
93010
93010
|
return jk(x, N, D);
|
|
93011
93011
|
}, qk = function(a, c) {
|
|
93012
93012
|
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
@@ -93015,11 +93015,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93015
93015
|
_r(a, L_(), { value: c });
|
|
93016
93016
|
}, d3 = function(a) {
|
|
93017
93017
|
return { x: a };
|
|
93018
|
-
},
|
|
93018
|
+
}, V6 = function(a, c, v) {
|
|
93019
93019
|
var b = {
|
|
93020
93020
|
min: Sm(c),
|
|
93021
93021
|
max: Nl(c),
|
|
93022
|
-
range:
|
|
93022
|
+
range: O6(c),
|
|
93023
93023
|
value: v,
|
|
93024
93024
|
step: Lg(c),
|
|
93025
93025
|
snap: l3(c),
|
|
@@ -93029,11 +93029,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93029
93029
|
hasMaxEdge: Dk(c),
|
|
93030
93030
|
minBound: cs(a),
|
|
93031
93031
|
maxBound: Hk(a),
|
|
93032
|
-
screenRange:
|
|
93032
|
+
screenRange: F6(a)
|
|
93033
93033
|
};
|
|
93034
93034
|
return km(b);
|
|
93035
93035
|
}, Kk = function(a, c, v) {
|
|
93036
|
-
var b =
|
|
93036
|
+
var b = V6(a, c, v), x = d3(b);
|
|
93037
93037
|
return f3(a, x), b;
|
|
93038
93038
|
}, Z9 = function(a, c) {
|
|
93039
93039
|
var v = Sm(c);
|
|
@@ -93042,26 +93042,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93042
93042
|
var v = Nl(c);
|
|
93043
93043
|
f3(a, d3(v));
|
|
93044
93044
|
}, eD = function(a, c, v) {
|
|
93045
|
-
var b = a > 0 ?
|
|
93045
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
|
|
93046
93046
|
return f3(c, d3(x)), U.some(x);
|
|
93047
|
-
},
|
|
93047
|
+
}, L6 = function(a) {
|
|
93048
93048
|
return function(c, v) {
|
|
93049
93049
|
return eD(a, c, v).map(Pe);
|
|
93050
93050
|
};
|
|
93051
93051
|
}, h3 = function(a) {
|
|
93052
|
-
var c =
|
|
93052
|
+
var c = D6(a);
|
|
93053
93053
|
return c.map(function(v) {
|
|
93054
93054
|
return v.left;
|
|
93055
93055
|
});
|
|
93056
93056
|
}, tD = function(a, c, v, b, x) {
|
|
93057
|
-
var N = 0, D =
|
|
93057
|
+
var N = 0, D = F6(a), F = b.bind(function(Z) {
|
|
93058
93058
|
return U.some(Gk(Z, a));
|
|
93059
93059
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93060
93060
|
return U.some(Gk(Z, a));
|
|
93061
93061
|
}).getOr(D), G = {
|
|
93062
93062
|
min: Sm(c),
|
|
93063
93063
|
max: Nl(c),
|
|
93064
|
-
range:
|
|
93064
|
+
range: O6(c),
|
|
93065
93065
|
value: v,
|
|
93066
93066
|
hasMinEdge: Ik(c),
|
|
93067
93067
|
hasMaxEdge: Dk(c),
|
|
@@ -93072,14 +93072,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93072
93072
|
centerMinEdge: F,
|
|
93073
93073
|
centerMaxEdge: L
|
|
93074
93074
|
};
|
|
93075
|
-
return
|
|
93075
|
+
return M6(G);
|
|
93076
93076
|
}, zg = function(a, c, v, b, x, N) {
|
|
93077
93077
|
var D = tD(c, N, v, b, x);
|
|
93078
93078
|
return cs(c) - cs(a) + D;
|
|
93079
93079
|
}, Hg = function(a, c, v, b) {
|
|
93080
93080
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
|
|
93081
93081
|
eo(c.element, "left", N - D + "px");
|
|
93082
|
-
}, Yk =
|
|
93082
|
+
}, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
|
|
93083
93083
|
"top-left": U.none(),
|
|
93084
93084
|
top: U.none(),
|
|
93085
93085
|
"top-right": U.none(),
|
|
@@ -93093,7 +93093,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93093
93093
|
setValueFrom: Kk,
|
|
93094
93094
|
setToMin: Z9,
|
|
93095
93095
|
setToMax: Q9,
|
|
93096
|
-
findValueOfOffset:
|
|
93096
|
+
findValueOfOffset: V6,
|
|
93097
93097
|
getValueFromEvent: h3,
|
|
93098
93098
|
findPositionOfValue: zg,
|
|
93099
93099
|
setPositionFromValue: Hg,
|
|
@@ -93119,28 +93119,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93119
93119
|
hasMinEdge: Ok(c),
|
|
93120
93120
|
hasMaxEdge: Bk(c),
|
|
93121
93121
|
minBound: c3(a),
|
|
93122
|
-
maxBound: $
|
|
93122
|
+
maxBound: $6(a),
|
|
93123
93123
|
screenRange: Wk(a)
|
|
93124
93124
|
};
|
|
93125
93125
|
return km(b);
|
|
93126
93126
|
}, Zk = function(a, c, v) {
|
|
93127
93127
|
var b = g3(a, c, v), x = m3(b);
|
|
93128
93128
|
return p3(a, x), b;
|
|
93129
|
-
},
|
|
93129
|
+
}, U6 = function(a, c) {
|
|
93130
93130
|
var v = lu(c);
|
|
93131
93131
|
p3(a, m3(v));
|
|
93132
93132
|
}, Qk = function(a, c) {
|
|
93133
93133
|
var v = Vv(c);
|
|
93134
93134
|
p3(a, m3(v));
|
|
93135
93135
|
}, fs = function(a, c, v) {
|
|
93136
|
-
var b = a > 0 ?
|
|
93136
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
|
|
93137
93137
|
return p3(c, m3(x)), U.some(x);
|
|
93138
|
-
},
|
|
93138
|
+
}, z6 = function(a) {
|
|
93139
93139
|
return function(c, v) {
|
|
93140
93140
|
return fs(a, c, v).map(Pe);
|
|
93141
93141
|
};
|
|
93142
93142
|
}, oD = function(a) {
|
|
93143
|
-
var c =
|
|
93143
|
+
var c = D6(a);
|
|
93144
93144
|
return c.map(function(v) {
|
|
93145
93145
|
return v.top;
|
|
93146
93146
|
});
|
|
@@ -93158,19 +93158,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93158
93158
|
hasMaxEdge: Bk(c),
|
|
93159
93159
|
minBound: c3(a),
|
|
93160
93160
|
minOffset: N,
|
|
93161
|
-
maxBound: $
|
|
93161
|
+
maxBound: $6(a),
|
|
93162
93162
|
maxOffset: D,
|
|
93163
93163
|
centerMinEdge: F,
|
|
93164
93164
|
centerMaxEdge: L
|
|
93165
93165
|
};
|
|
93166
|
-
return
|
|
93166
|
+
return M6(G);
|
|
93167
93167
|
}, _3 = function(a, c, v, b, x, N) {
|
|
93168
93168
|
var D = aD(c, N, v, b, x);
|
|
93169
93169
|
return c3(c) - c3(a) + D;
|
|
93170
93170
|
}, iD = function(a, c, v, b) {
|
|
93171
93171
|
var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
|
|
93172
93172
|
eo(c.element, "top", N - D + "px");
|
|
93173
|
-
}, lD = U.none, sD = U.none, e5 =
|
|
93173
|
+
}, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
|
|
93174
93174
|
"top-left": U.none(),
|
|
93175
93175
|
top: U.some(W9),
|
|
93176
93176
|
"top-right": U.none(),
|
|
@@ -93182,7 +93182,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93182
93182
|
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93183
93183
|
__proto__: null,
|
|
93184
93184
|
setValueFrom: Zk,
|
|
93185
|
-
setToMin:
|
|
93185
|
+
setToMin: U6,
|
|
93186
93186
|
setToMax: Qk,
|
|
93187
93187
|
findValueOfOffset: g3,
|
|
93188
93188
|
getValueFromEvent: oD,
|
|
@@ -93192,7 +93192,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93192
93192
|
onRight: sD,
|
|
93193
93193
|
onUp: e5,
|
|
93194
93194
|
onDown: fd,
|
|
93195
|
-
edgeActions:
|
|
93195
|
+
edgeActions: H6
|
|
93196
93196
|
}), Tm = function(a, c) {
|
|
93197
93197
|
_r(a, L_(), { value: c });
|
|
93198
93198
|
}, Wg = function(a, c) {
|
|
@@ -93201,10 +93201,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93201
93201
|
y: c
|
|
93202
93202
|
};
|
|
93203
93203
|
}, uD = function(a, c, v) {
|
|
93204
|
-
var b =
|
|
93204
|
+
var b = V6(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
|
|
93205
93205
|
return Tm(a, N), N;
|
|
93206
93206
|
}, cD = function(a, c, v, b) {
|
|
93207
|
-
var x = a > 0 ?
|
|
93207
|
+
var x = a > 0 ? P6 : Ug, N = c ? cd(b).x : x(cd(b).x, Sm(b), Nl(b), Lg(b)), D = c ? x(cd(b).y, lu(b), Vv(b), Lg(b)) : cd(b).y;
|
|
93208
93208
|
return Tm(v, Wg(N, D)), U.some(N);
|
|
93209
93209
|
}, y3 = function(a, c) {
|
|
93210
93210
|
return function(v, b) {
|
|
@@ -93216,8 +93216,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93216
93216
|
}, dD = function(a, c) {
|
|
93217
93217
|
var v = Nl(c), b = Vv(c);
|
|
93218
93218
|
Tm(a, Wg(v, b));
|
|
93219
|
-
},
|
|
93220
|
-
return
|
|
93219
|
+
}, W6 = function(a) {
|
|
93220
|
+
return D6(a);
|
|
93221
93221
|
}, hD = function(a, c, v, b) {
|
|
93222
93222
|
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;
|
|
93223
93223
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
@@ -93235,7 +93235,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93235
93235
|
setValueFrom: uD,
|
|
93236
93236
|
setToMin: fD,
|
|
93237
93237
|
setToMax: dD,
|
|
93238
|
-
getValueFromEvent:
|
|
93238
|
+
getValueFromEvent: W6,
|
|
93239
93239
|
setPositionFromValue: hD,
|
|
93240
93240
|
onLeft: n5,
|
|
93241
93241
|
onRight: vD,
|
|
@@ -93420,7 +93420,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93420
93420
|
return Nm(O_(a));
|
|
93421
93421
|
}, a5 = function(a) {
|
|
93422
93422
|
return G4(vS(a));
|
|
93423
|
-
},
|
|
93423
|
+
}, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93424
93424
|
var v = su.parts.spectrum({
|
|
93425
93425
|
dom: {
|
|
93426
93426
|
tag: "div",
|
|
@@ -93517,7 +93517,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93517
93517
|
return a.getField(c, v);
|
|
93518
93518
|
}),
|
|
93519
93519
|
sketch: Am
|
|
93520
|
-
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"),
|
|
93520
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93521
93521
|
var x = function(fe, Te) {
|
|
93522
93522
|
return ff.config({
|
|
93523
93523
|
invalidClass: c("invalid"),
|
|
@@ -93547,7 +93547,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93547
93547
|
}
|
|
93548
93548
|
});
|
|
93549
93549
|
}, N = function(fe, Te, ze, je, dt) {
|
|
93550
|
-
var qe = a(
|
|
93550
|
+
var qe = a(G6 + "range"), St = zo.parts.label({
|
|
93551
93551
|
dom: {
|
|
93552
93552
|
tag: "label",
|
|
93553
93553
|
innerHtml: ze,
|
|
@@ -93634,12 +93634,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93634
93634
|
var Fr = uS(hr);
|
|
93635
93635
|
je("hex", U.some(hr));
|
|
93636
93636
|
var Rn = O_(Fr);
|
|
93637
|
-
F(bn, Rn), qe(Rn), _r(bn,
|
|
93637
|
+
F(bn, Rn), qe(Rn), _r(bn, j6, { hex: Fr }), G(bn, Fr);
|
|
93638
93638
|
}, rn = function(bn, hr, Fr) {
|
|
93639
93639
|
var Rn = parseInt(Fr, 10);
|
|
93640
93640
|
je(hr, U.some(Rn)), dt().each(function(Nr) {
|
|
93641
93641
|
var Rr = D(bn, Nr);
|
|
93642
|
-
_r(bn,
|
|
93642
|
+
_r(bn, j6, { hex: Rr }), G(bn, Rr);
|
|
93643
93643
|
});
|
|
93644
93644
|
}, jt = function(bn) {
|
|
93645
93645
|
return bn.type === "hex";
|
|
@@ -93648,8 +93648,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93648
93648
|
jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
|
|
93649
93649
|
}, Kt = function(bn) {
|
|
93650
93650
|
return {
|
|
93651
|
-
label: a(
|
|
93652
|
-
description: a(
|
|
93651
|
+
label: a(G6 + bn + ".label"),
|
|
93652
|
+
description: a(G6 + bn + ".description")
|
|
93653
93653
|
};
|
|
93654
93654
|
}, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
|
|
93655
93655
|
return to(Gg.sketch(function(bn) {
|
|
@@ -93660,9 +93660,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93660
93660
|
attributes: { "aria-label": a("aria.color.picker") }
|
|
93661
93661
|
},
|
|
93662
93662
|
components: [
|
|
93663
|
-
bn.field("red", zo.sketch(N(
|
|
93664
|
-
bn.field("green", zo.sketch(N(
|
|
93665
|
-
bn.field("blue", zo.sketch(N(
|
|
93663
|
+
bn.field("red", zo.sketch(N(h6, "red", En.label, En.description, 255))),
|
|
93664
|
+
bn.field("green", zo.sketch(N(h6, "green", wr.label, wr.description, 255))),
|
|
93665
|
+
bn.field("blue", zo.sketch(N(h6, "blue", Jn.label, Jn.description, 255))),
|
|
93666
93666
|
bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
|
|
93667
93667
|
L.asSpec()
|
|
93668
93668
|
],
|
|
@@ -93694,7 +93694,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93694
93694
|
extraApis: {}
|
|
93695
93695
|
});
|
|
93696
93696
|
return ee;
|
|
93697
|
-
},
|
|
93697
|
+
}, q6 = function(a, c) {
|
|
93698
93698
|
var v = su.parts.spectrum({
|
|
93699
93699
|
dom: {
|
|
93700
93700
|
tag: "canvas",
|
|
@@ -93774,7 +93774,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93774
93774
|
return L;
|
|
93775
93775
|
}, bD = function(a, c) {
|
|
93776
93776
|
var v = function(x) {
|
|
93777
|
-
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D =
|
|
93777
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
|
|
93778
93778
|
return (100 - nn) / 100 * 360;
|
|
93779
93779
|
}, L = function(nn) {
|
|
93780
93780
|
return 100 - nn / 360 * 100;
|
|
@@ -93840,7 +93840,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93840
93840
|
],
|
|
93841
93841
|
behaviours: Mn([
|
|
93842
93842
|
so("colour-picker-events", [
|
|
93843
|
-
wn(
|
|
93843
|
+
wn(j6, jt()),
|
|
93844
93844
|
wn(l5, At()),
|
|
93845
93845
|
wn(i5, rn())
|
|
93846
93846
|
]),
|
|
@@ -93864,9 +93864,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93864
93864
|
return b;
|
|
93865
93865
|
}, v5 = function() {
|
|
93866
93866
|
return To.config({ find: U.some });
|
|
93867
|
-
},
|
|
93867
|
+
}, K6 = function(a) {
|
|
93868
93868
|
return To.config({ find: a.getOpt });
|
|
93869
|
-
},
|
|
93869
|
+
}, Y6 = function(a) {
|
|
93870
93870
|
return To.config({
|
|
93871
93871
|
find: function(c) {
|
|
93872
93872
|
return v0(c.element, a).bind(function(v) {
|
|
@@ -93876,8 +93876,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93876
93876
|
});
|
|
93877
93877
|
}, Dc = {
|
|
93878
93878
|
self: v5,
|
|
93879
|
-
memento:
|
|
93880
|
-
childAt:
|
|
93879
|
+
memento: K6,
|
|
93880
|
+
childAt: Y6
|
|
93881
93881
|
}, wD = {
|
|
93882
93882
|
"colorcustom.rgb.red.label": "R",
|
|
93883
93883
|
"colorcustom.rgb.red.description": "Red component",
|
|
@@ -94000,11 +94000,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94000
94000
|
]),
|
|
94001
94001
|
components: [v.asSpec()]
|
|
94002
94002
|
};
|
|
94003
|
-
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"),
|
|
94003
|
+
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
|
|
94004
94004
|
Ot("preprocess", z),
|
|
94005
94005
|
Ot("postprocess", z)
|
|
94006
94006
|
]), m5 = function(a, c) {
|
|
94007
|
-
var v = Na("RepresentingConfigs.memento processors",
|
|
94007
|
+
var v = Na("RepresentingConfigs.memento processors", X6, c);
|
|
94008
94008
|
return or.config({
|
|
94009
94009
|
store: {
|
|
94010
94010
|
mode: "manual",
|
|
@@ -94018,7 +94018,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94018
94018
|
}
|
|
94019
94019
|
}
|
|
94020
94020
|
});
|
|
94021
|
-
},
|
|
94021
|
+
}, J6 = function(a, c, v) {
|
|
94022
94022
|
return or.config(to({
|
|
94023
94023
|
store: {
|
|
94024
94024
|
mode: "manual",
|
|
@@ -94029,7 +94029,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94029
94029
|
return { store: { initialValue: b } };
|
|
94030
94030
|
}).getOr({})));
|
|
94031
94031
|
}, j_ = function(a, c, v) {
|
|
94032
|
-
return
|
|
94032
|
+
return J6(a, function(b) {
|
|
94033
94033
|
return c(b.element);
|
|
94034
94034
|
}, function(b, x) {
|
|
94035
94035
|
return v(b.element, x);
|
|
@@ -94048,7 +94048,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94048
94048
|
}, Uv = {
|
|
94049
94049
|
memento: m5,
|
|
94050
94050
|
withElement: j_,
|
|
94051
|
-
withComp:
|
|
94051
|
+
withComp: J6,
|
|
94052
94052
|
domValue: g5,
|
|
94053
94053
|
domHtml: x3,
|
|
94054
94054
|
memory: _5
|
|
@@ -94266,9 +94266,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94266
94266
|
return a.getContext("2d");
|
|
94267
94267
|
}, OD = function(a, c, v) {
|
|
94268
94268
|
return a.width = c, a.height = v, a;
|
|
94269
|
-
},
|
|
94269
|
+
}, Z6 = function(a) {
|
|
94270
94270
|
return a.naturalWidth || a.width;
|
|
94271
|
-
},
|
|
94271
|
+
}, Q6 = function(a) {
|
|
94272
94272
|
return a.naturalHeight || a.height;
|
|
94273
94273
|
}, BD = function() {
|
|
94274
94274
|
var a = function(ee) {
|
|
@@ -94439,7 +94439,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94439
94439
|
}, tx = function(a) {
|
|
94440
94440
|
return ex(a).then(function(c) {
|
|
94441
94441
|
$D(c);
|
|
94442
|
-
var v = qg(
|
|
94442
|
+
var v = qg(Z6(c), Q6(c)), b = Oc(v);
|
|
94443
94443
|
return b.drawImage(c, 0, 0), v;
|
|
94444
94444
|
});
|
|
94445
94445
|
}, E5 = function(a) {
|
|
@@ -94822,7 +94822,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94822
94822
|
]), N5 = WD(function(a, c) {
|
|
94823
94823
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94824
94824
|
}), A5 = function(a, c, v) {
|
|
94825
|
-
var b =
|
|
94825
|
+
var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
|
|
94826
94826
|
(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);
|
|
94827
94827
|
var L = ZD(a, N, D);
|
|
94828
94828
|
return F ? L.then(function(G) {
|
|
@@ -94830,7 +94830,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94830
94830
|
}) : L;
|
|
94831
94831
|
}, ZD = function(a, c, v) {
|
|
94832
94832
|
return new hd(function(b) {
|
|
94833
|
-
var x =
|
|
94833
|
+
var x = Z6(a), N = Q6(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
|
|
94834
94834
|
G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
|
|
94835
94835
|
});
|
|
94836
94836
|
}, rx = function(a, c) {
|
|
@@ -95065,8 +95065,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95065
95065
|
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95066
95066
|
if (N.items.length === 0)
|
|
95067
95067
|
return U.none();
|
|
95068
|
-
var D =
|
|
95069
|
-
return
|
|
95068
|
+
var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
95069
|
+
return b6(Z, G, c, v, !1);
|
|
95070
95070
|
}), L = to(F, ge(x, D));
|
|
95071
95071
|
return U.from(hm.tieredData(x, L, N.expansions));
|
|
95072
95072
|
}, vO = function(a) {
|
|
@@ -97013,7 +97013,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97013
97013
|
var fe = function(Te) {
|
|
97014
97014
|
To.getCurrent(Te).each(Z);
|
|
97015
97015
|
};
|
|
97016
|
-
|
|
97016
|
+
k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
97017
97017
|
}
|
|
97018
97018
|
}, N = ek(a), D = function(L) {
|
|
97019
97019
|
return function(G) {
|
|
@@ -97077,7 +97077,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97077
97077
|
});
|
|
97078
97078
|
});
|
|
97079
97079
|
};
|
|
97080
|
-
|
|
97080
|
+
k6(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
|
|
97081
97081
|
}
|
|
97082
97082
|
},
|
|
97083
97083
|
cancelEvent: fp()
|
|
@@ -97113,7 +97113,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97113
97113
|
Ga.config({
|
|
97114
97114
|
others: {
|
|
97115
97115
|
sandbox: function(L) {
|
|
97116
|
-
return
|
|
97116
|
+
return N6(a, L, {
|
|
97117
97117
|
onOpen: function() {
|
|
97118
97118
|
return Vt.on(L);
|
|
97119
97119
|
},
|
|
@@ -97189,7 +97189,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97189
97189
|
vi("previewing", function() {
|
|
97190
97190
|
return jn(!0);
|
|
97191
97191
|
})
|
|
97192
|
-
].concat(QS()).concat(
|
|
97192
|
+
].concat(QS()).concat(I6())), XO = V([tu({
|
|
97193
97193
|
schema: [zf()],
|
|
97194
97194
|
name: "menu",
|
|
97195
97195
|
overrides: function(a) {
|
|
@@ -97937,7 +97937,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97937
97937
|
};
|
|
97938
97938
|
}, S7 = function(a) {
|
|
97939
97939
|
return function() {
|
|
97940
|
-
return
|
|
97940
|
+
return m6(a);
|
|
97941
97941
|
};
|
|
97942
97942
|
}, k7 = function(a) {
|
|
97943
97943
|
return function() {
|
|
@@ -97957,7 +97957,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97957
97957
|
}, _T = function(a) {
|
|
97958
97958
|
return { isDraggableModal: N7(a) };
|
|
97959
97959
|
}, A7 = function(a) {
|
|
97960
|
-
var c = jn(
|
|
97960
|
+
var c = jn(e6(a) ? "bottom" : "top");
|
|
97961
97961
|
return {
|
|
97962
97962
|
isPositionedAtTop: function() {
|
|
97963
97963
|
return c.get() === "top";
|
|
@@ -98120,7 +98120,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98120
98120
|
}, ty = function(a) {
|
|
98121
98121
|
return jE(a).map(function(c) {
|
|
98122
98122
|
var v = Dm(a, c);
|
|
98123
|
-
return
|
|
98123
|
+
return J8(a) ? yT.concat(v) : v;
|
|
98124
98124
|
}).getOr(yT);
|
|
98125
98125
|
}, bT = function(a, c, v) {
|
|
98126
98126
|
var b = {
|
|
@@ -98334,10 +98334,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98334
98334
|
return GA(a) ? U.none() : U.some({
|
|
98335
98335
|
targets: G7.find(a.getBody()),
|
|
98336
98336
|
anchorTop: Ix(qA(a)),
|
|
98337
|
-
anchorBottom: Ix(
|
|
98337
|
+
anchorBottom: Ix(r6(a))
|
|
98338
98338
|
});
|
|
98339
98339
|
}, tB = function(a) {
|
|
98340
|
-
return U.from(
|
|
98340
|
+
return U.from(o6(a));
|
|
98341
98341
|
}, nB = function(a) {
|
|
98342
98342
|
return {
|
|
98343
98343
|
getHistory: Y7,
|
|
@@ -99376,7 +99376,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99376
99376
|
Ot("useMinWidth", !1),
|
|
99377
99377
|
Ot("eventOrder", {}),
|
|
99378
99378
|
Do("role")
|
|
99379
|
-
].concat(
|
|
99379
|
+
].concat(I6())), PB = Ni({
|
|
99380
99380
|
factory: Gl,
|
|
99381
99381
|
schema: [nt("dom")],
|
|
99382
99382
|
name: "arrow",
|
|
@@ -99475,7 +99475,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99475
99475
|
});
|
|
99476
99476
|
})])), In(U.some(D))), Z = {
|
|
99477
99477
|
repositionMenus: function(ee) {
|
|
99478
|
-
Vt.isOn(ee) &&
|
|
99478
|
+
Vt.isOn(ee) && A6(ee);
|
|
99479
99479
|
}
|
|
99480
99480
|
};
|
|
99481
99481
|
return {
|
|
@@ -99501,7 +99501,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99501
99501
|
Vt.off(fe), Vt.off(ee);
|
|
99502
99502
|
}
|
|
99503
99503
|
};
|
|
99504
|
-
return
|
|
99504
|
+
return N6(a, ee, Te);
|
|
99505
99505
|
}
|
|
99506
99506
|
}
|
|
99507
99507
|
}),
|
|
@@ -99695,7 +99695,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99695
99695
|
return sl.nu(function(x) {
|
|
99696
99696
|
return c.fetch(x);
|
|
99697
99697
|
}).map(function(x) {
|
|
99698
|
-
return U.from($S(to(
|
|
99698
|
+
return U.from($S(to(_6(Tr("menu-value"), x, function(N) {
|
|
99699
99699
|
c.onItemAction(a(b), N);
|
|
99700
99700
|
}, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
|
|
99701
99701
|
movement: K4(c.columns, c.presets),
|
|
@@ -99923,7 +99923,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99923
99923
|
bottom: Math.min(D.y, v.bottom)
|
|
99924
99924
|
};
|
|
99925
99925
|
}, uN = function(a, c) {
|
|
99926
|
-
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x =
|
|
99926
|
+
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x = Z8(a) || Ag(a) || k_(a), N = sN(b, v), D = N.x, F = N.width;
|
|
99927
99927
|
if (a.inline && !x)
|
|
99928
99928
|
return fl(D, v.y, F, v.height);
|
|
99929
99929
|
var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
|
|
@@ -102258,10 +102258,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102258
102258
|
}, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
|
|
102259
102259
|
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() {
|
|
102260
102260
|
var fe = N.get();
|
|
102261
|
-
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)),
|
|
102261
|
+
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v6(a));
|
|
102262
102262
|
}, L = function() {
|
|
102263
102263
|
var fe = a.getDoc().documentElement, Te = D.get();
|
|
102264
|
-
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)),
|
|
102264
|
+
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v6(a));
|
|
102265
102265
|
}, G = function(fe) {
|
|
102266
102266
|
return hI(a, fe);
|
|
102267
102267
|
};
|
|
@@ -102336,7 +102336,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102336
102336
|
});
|
|
102337
102337
|
return b.or(x).getOr(a);
|
|
102338
102338
|
}, D$ = function(a) {
|
|
102339
|
-
var c = HE(a), v = WE(a), b =
|
|
102339
|
+
var c = HE(a), v = WE(a), b = X8(a);
|
|
102340
102340
|
return iP(c).map(function(x) {
|
|
102341
102341
|
return hN(x, v, b);
|
|
102342
102342
|
});
|
|
@@ -102361,7 +102361,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102361
102361
|
return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
|
|
102362
102362
|
}) : 0;
|
|
102363
102363
|
}, St = function(fn) {
|
|
102364
|
-
switch (
|
|
102364
|
+
switch (Q8(a)) {
|
|
102365
102365
|
case bm.auto:
|
|
102366
102366
|
var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
|
|
102367
102367
|
if (Nr)
|
|
@@ -102436,7 +102436,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102436
102436
|
x.set({
|
|
102437
102437
|
pos: G,
|
|
102438
102438
|
bounds: Z
|
|
102439
|
-
}), ze &&
|
|
102439
|
+
}), ze && v6(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
|
|
102440
102440
|
};
|
|
102441
102441
|
b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
|
|
102442
102442
|
return v.update(!0);
|
|
@@ -103911,7 +103911,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
103911
103911
|
})(dy || (dy = {}));
|
|
103912
103912
|
var CV = function(a, c, v, b, x) {
|
|
103913
103913
|
var N = {};
|
|
103914
|
-
return N.height = hN(b + c.top, WE(a),
|
|
103914
|
+
return N.height = hN(b + c.top, WE(a), X8(a)), v === dy.Both && (N.width = hN(x + c.left, ym(a), L4(a))), N;
|
|
103915
103915
|
}, DM = function(a, c, v) {
|
|
103916
103916
|
var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
|
|
103917
103917
|
Ur(x, function(N, D) {
|
|
@@ -104049,7 +104049,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104049
104049
|
components: x()
|
|
104050
104050
|
};
|
|
104051
104051
|
}, TV = function(a) {
|
|
104052
|
-
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 =
|
|
104052
|
+
var c, v = a.inline, b = v ? $$ : I$, x = z4(a) ? zR : ao, N = U.none(), D = Vi(), F = D.browser.isIE(), L = F ? ["tox-platform-ie"] : [], G = D.deviceType.isTouch(), Z = "tox-platform-touch", ee = G ? [Z] : [], fe = e6(a), Te = Sc(a), ze = Lu.isRtl() ? { attributes: { dir: "rtl" } } : {}, je = { attributes: (c = {}, c[ov] = fe ? dc.BottomToTop : dc.TopToBottom, c) }, dt = function() {
|
|
104053
104053
|
return N.bind(hi.getHeader);
|
|
104054
104054
|
}, qe = function() {
|
|
104055
104055
|
return x.isDocked(dt);
|
|
@@ -104153,7 +104153,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104153
104153
|
Rn,
|
|
104154
104154
|
Nr
|
|
104155
104155
|
]
|
|
104156
|
-
}, mf = k_(a), Pc = Ag(a), AP =
|
|
104156
|
+
}, mf = k_(a), Pc = Ag(a), AP = Z8(a), IP = function() {
|
|
104157
104157
|
return mf ? [Fr] : Pc ? [hr] : [];
|
|
104158
104158
|
}, xN = hi.parts.header({
|
|
104159
104159
|
dom: ve({
|
|
@@ -104182,7 +104182,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104182
104182
|
[jx],
|
|
104183
104183
|
v ? [] : ia.toArray(),
|
|
104184
104184
|
[Rr]
|
|
104185
|
-
]), Gx =
|
|
104185
|
+
]), Gx = t6(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
|
|
104186
104186
|
dom: {
|
|
104187
104187
|
tag: "div",
|
|
104188
104188
|
classes: [
|
|
@@ -104232,7 +104232,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104232
104232
|
});
|
|
104233
104233
|
var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
|
|
104234
104234
|
menuItems: iw,
|
|
104235
|
-
menus:
|
|
104235
|
+
menus: n6(a),
|
|
104236
104236
|
menubar: UA(a),
|
|
104237
104237
|
toolbar: RP.getOrThunk(function() {
|
|
104238
104238
|
return zA(a);
|
|
@@ -105288,7 +105288,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105288
105288
|
})])
|
|
105289
105289
|
};
|
|
105290
105290
|
return tl.parts.body(c);
|
|
105291
|
-
}, NU =
|
|
105291
|
+
}, NU = i6.deviceType.isTouch(), KM = function(a, c) {
|
|
105292
105292
|
return {
|
|
105293
105293
|
dom: {
|
|
105294
105294
|
tag: "div",
|
|
@@ -105602,7 +105602,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105602
105602
|
wn($g, function(v, b) {
|
|
105603
105603
|
return c.onUnblock();
|
|
105604
105604
|
}),
|
|
105605
|
-
wn(
|
|
105605
|
+
wn(E6, function(v, b) {
|
|
105606
105606
|
return c.onBlock(b.event);
|
|
105607
105607
|
})
|
|
105608
105608
|
];
|
|
@@ -105777,7 +105777,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105777
105777
|
if (!l(je))
|
|
105778
105778
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105779
105779
|
b(function(dt) {
|
|
105780
|
-
_r(dt,
|
|
105780
|
+
_r(dt, E6, { message: je });
|
|
105781
105781
|
});
|
|
105782
105782
|
}, Z = function() {
|
|
105783
105783
|
b(function(je) {
|
|
@@ -105951,7 +105951,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105951
105951
|
if (!l(D))
|
|
105952
105952
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105953
105953
|
c(function(F) {
|
|
105954
|
-
_r(F,
|
|
105954
|
+
_r(F, E6, { message: D });
|
|
105955
105955
|
});
|
|
105956
105956
|
}, b = function() {
|
|
105957
105957
|
c(function(D) {
|
|
@@ -112066,7 +112066,7 @@ Required: ` + w.join(", "));
|
|
|
112066
112066
|
}, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
|
|
112067
112067
|
return function(sf, yg) {
|
|
112068
112068
|
Xs(sf);
|
|
112069
|
-
var T4 = xc(),
|
|
112069
|
+
var T4 = xc(), b8 = Je.fromDom(g.getDoc()), id = S0(Yi, b8, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
|
|
112070
112070
|
return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
|
|
112071
112071
|
return Qe(um.newRows, function(cm) {
|
|
112072
112072
|
K0(g, cm.dom);
|
|
@@ -113990,38 +113990,38 @@ Required: ` + w.join(", "));
|
|
|
113990
113990
|
}, wc = 5, QC = 100, Cc = Lc.generate([
|
|
113991
113991
|
{ none: [] },
|
|
113992
113992
|
{ retry: ["caret"] }
|
|
113993
|
-
]),
|
|
113993
|
+
]), e8 = function(g, w) {
|
|
113994
113994
|
return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
|
|
113995
113995
|
}, h4 = function(g, w, T) {
|
|
113996
113996
|
return xh(w, p2).fold(Ne, function(I) {
|
|
113997
113997
|
return d4(g, I).exists(function($) {
|
|
113998
|
-
return
|
|
113998
|
+
return e8(T, $);
|
|
113999
113999
|
});
|
|
114000
114000
|
});
|
|
114001
|
-
},
|
|
114001
|
+
}, t8 = function(g, w, T, I, $) {
|
|
114002
114002
|
var W = nd($, wc);
|
|
114003
114003
|
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();
|
|
114004
|
-
},
|
|
114004
|
+
}, n8 = function(g, w, T, I, $) {
|
|
114005
114005
|
var W = im($, wc);
|
|
114006
114006
|
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();
|
|
114007
114007
|
}, rd = {
|
|
114008
114008
|
point: u4,
|
|
114009
|
-
adjuster:
|
|
114009
|
+
adjuster: n8,
|
|
114010
114010
|
move: im,
|
|
114011
114011
|
gather: n_
|
|
114012
114012
|
}, vg = {
|
|
114013
114013
|
point: c4,
|
|
114014
|
-
adjuster:
|
|
114014
|
+
adjuster: t8,
|
|
114015
114015
|
move: nd,
|
|
114016
114016
|
gather: o4
|
|
114017
114017
|
}, p4 = function(g, w, T) {
|
|
114018
114018
|
return g.elementFromPoint(w, T).filter(function(I) {
|
|
114019
114019
|
return Io(I) === "table";
|
|
114020
114020
|
}).isSome();
|
|
114021
|
-
},
|
|
114021
|
+
}, r8 = function(g, w, T, I, $) {
|
|
114022
114022
|
return Av(g, w, T, w.move(I, wc), $);
|
|
114023
114023
|
}, Av = function(g, w, T, I, $) {
|
|
114024
|
-
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ?
|
|
114024
|
+
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ? r8(g, w, T, I, $ - 1) : g.situsFromPoint(I.left, w.point(I)).bind(function(W) {
|
|
114025
114025
|
return W.start.fold(te.none, function(Q) {
|
|
114026
114026
|
return d4(g, Q).bind(function(ye) {
|
|
114027
114027
|
return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
|
|
@@ -114032,15 +114032,15 @@ Required: ` + w.join(", "));
|
|
|
114032
114032
|
});
|
|
114033
114033
|
}, te.none);
|
|
114034
114034
|
});
|
|
114035
|
-
},
|
|
114035
|
+
}, o8 = function(g, w) {
|
|
114036
114036
|
return g.situsFromPoint(w.left, w.bottom + wc);
|
|
114037
|
-
},
|
|
114037
|
+
}, a8 = function(g, w) {
|
|
114038
114038
|
return g.situsFromPoint(w.left, w.top - wc);
|
|
114039
|
-
},
|
|
114039
|
+
}, i8 = function(g, w, T) {
|
|
114040
114040
|
return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
|
|
114041
114041
|
}, m4 = function(g, w, T) {
|
|
114042
114042
|
var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
|
|
114043
|
-
return
|
|
114043
|
+
return i8(g, $, w).fold(function() {
|
|
114044
114044
|
return w.situsFromPoint($.left, g.point($));
|
|
114045
114045
|
}, function(W) {
|
|
114046
114046
|
return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
|
|
@@ -114048,10 +114048,10 @@ Required: ` + w.join(", "));
|
|
|
114048
114048
|
}, Iv = {
|
|
114049
114049
|
tryUp: V(m4, rd),
|
|
114050
114050
|
tryDown: V(m4, vg),
|
|
114051
|
-
ieTryUp:
|
|
114052
|
-
ieTryDown:
|
|
114051
|
+
ieTryUp: a8,
|
|
114052
|
+
ieTryDown: o8,
|
|
114053
114053
|
getJumpSize: j(wc)
|
|
114054
|
-
},
|
|
114054
|
+
}, l8 = 20, g4 = function(g, w, T) {
|
|
114055
114055
|
return g.getSelection().bind(function(I) {
|
|
114056
114056
|
return a_(w, I.finish, I.foffset, T).fold(function() {
|
|
114057
114057
|
return te.some(Mp(I.finish, I.foffset));
|
|
@@ -114061,7 +114061,7 @@ Required: ` + w.join(", "));
|
|
|
114061
114061
|
});
|
|
114062
114062
|
});
|
|
114063
114063
|
}, lm = function(g, w, T, I, $, W) {
|
|
114064
|
-
return W === 0 ? te.none() :
|
|
114064
|
+
return W === 0 ? te.none() : s8(g, w, T, I, $).bind(function(Q) {
|
|
114065
114065
|
var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
|
|
114066
114066
|
return Nv.cata(_e, function() {
|
|
114067
114067
|
return te.none();
|
|
@@ -114080,15 +114080,15 @@ Required: ` + w.join(", "));
|
|
|
114080
114080
|
}, _4 = function(g, w, T) {
|
|
114081
114081
|
var I = Ze().browser;
|
|
114082
114082
|
return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
|
|
114083
|
-
},
|
|
114083
|
+
}, s8 = function(g, w, T, I, $) {
|
|
114084
114084
|
return f4(g, T, I).bind(function(W) {
|
|
114085
114085
|
return _4(g, $, W);
|
|
114086
114086
|
});
|
|
114087
|
-
},
|
|
114087
|
+
}, u8 = function(g, w, T) {
|
|
114088
114088
|
return g4(g, w, T).bind(function(I) {
|
|
114089
|
-
return lm(g, w, I.element, I.offset, T,
|
|
114089
|
+
return lm(g, w, I.element, I.offset, T, l8).map(g.fromSitus);
|
|
114090
114090
|
});
|
|
114091
|
-
},
|
|
114091
|
+
}, c8 = function(g, w) {
|
|
114092
114092
|
return qC(g, function(T) {
|
|
114093
114093
|
return de(T).exists(function(I) {
|
|
114094
114094
|
return Tn(I, w);
|
|
@@ -114097,7 +114097,7 @@ Required: ` + w.join(", "));
|
|
|
114097
114097
|
}, od = function(g, w, T, I, $) {
|
|
114098
114098
|
return Ho(I, "td,th", w).bind(function(W) {
|
|
114099
114099
|
return Ho(W, "table", w).bind(function(Q) {
|
|
114100
|
-
return
|
|
114100
|
+
return c8($, Q) ? u8(g, w, T).bind(function(ye) {
|
|
114101
114101
|
return Ho(ye.finish, "td,th", w).map(function(_e) {
|
|
114102
114102
|
return {
|
|
114103
114103
|
start: W,
|
|
@@ -114115,7 +114115,7 @@ Required: ` + w.join(", "));
|
|
|
114115
114115
|
return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
|
|
114116
114116
|
});
|
|
114117
114117
|
});
|
|
114118
|
-
},
|
|
114118
|
+
}, f8 = function(g, w) {
|
|
114119
114119
|
return Ho(g, "tr", w).bind(function(T) {
|
|
114120
114120
|
return Ho(T, "table", w).bind(function(I) {
|
|
114121
114121
|
var $ = li(I, "tr");
|
|
@@ -114206,7 +114206,7 @@ Required: ` + w.join(", "));
|
|
|
114206
114206
|
}, Mr = {
|
|
114207
114207
|
isBackward: Dv(37),
|
|
114208
114208
|
isForward: Dv(39)
|
|
114209
|
-
},
|
|
114209
|
+
}, d8 = {
|
|
114210
114210
|
isBackward: Dv(39),
|
|
114211
114211
|
isForward: Dv(37)
|
|
114212
114212
|
}, mg = function(g) {
|
|
@@ -114296,7 +114296,7 @@ Required: ` + w.join(", "));
|
|
|
114296
114296
|
return I.clear(w), te.none();
|
|
114297
114297
|
}, Q = function(_e, Ye, mt, Cn, pn, An) {
|
|
114298
114298
|
var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
|
|
114299
|
-
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,
|
|
114299
|
+
return Ov(tn) && In ? V(b4, $, w, T, u_, Cn, Ye, I.selectRange) : c_(tn) && In ? V(b4, $, w, T, x4, Cn, Ye, I.selectRange) : Ov(tn) ? V(y4, $, T, u_, Cn, Ye, l_) : c_(tn) ? V(y4, $, T, x4, Cn, Ye, f8) : te.none;
|
|
114300
114300
|
}, function(uo) {
|
|
114301
114301
|
var zr = function(xo) {
|
|
114302
114302
|
return function() {
|
|
@@ -114332,7 +114332,7 @@ Required: ` + w.join(", "));
|
|
|
114332
114332
|
keydown: Q,
|
|
114333
114333
|
keyup: ye
|
|
114334
114334
|
};
|
|
114335
|
-
},
|
|
114335
|
+
}, h8 = function(g, w, T, I) {
|
|
114336
114336
|
var $ = d_(g);
|
|
114337
114337
|
return function(W, Q) {
|
|
114338
114338
|
I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
|
|
@@ -114340,7 +114340,7 @@ Required: ` + w.join(", "));
|
|
|
114340
114340
|
I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
|
|
114341
114341
|
});
|
|
114342
114342
|
};
|
|
114343
|
-
},
|
|
114343
|
+
}, v8 = function(g, w) {
|
|
114344
114344
|
Qe(w, function(T) {
|
|
114345
114345
|
ol(g, T);
|
|
114346
114346
|
});
|
|
@@ -114350,7 +114350,7 @@ Required: ` + w.join(", "));
|
|
|
114350
114350
|
};
|
|
114351
114351
|
}, h_ = function(g) {
|
|
114352
114352
|
return function(w) {
|
|
114353
|
-
|
|
114353
|
+
v8(w, g);
|
|
114354
114354
|
};
|
|
114355
114355
|
}, so = function(g) {
|
|
114356
114356
|
var w = Qr(g.selected), T = h_([
|
|
@@ -114392,7 +114392,7 @@ Required: ` + w.join(", "));
|
|
|
114392
114392
|
firstSelectedSelector: g.firstSelectedSelector,
|
|
114393
114393
|
lastSelectedSelector: g.lastSelectedSelector
|
|
114394
114394
|
};
|
|
114395
|
-
},
|
|
114395
|
+
}, p8 = {
|
|
114396
114396
|
byClass: so,
|
|
114397
114397
|
byAttr: S4
|
|
114398
114398
|
}, _g = function(g, w, T) {
|
|
@@ -114403,7 +114403,7 @@ Required: ` + w.join(", "));
|
|
|
114403
114403
|
return ye.element;
|
|
114404
114404
|
});
|
|
114405
114405
|
});
|
|
114406
|
-
},
|
|
114406
|
+
}, m8 = function(g, w, T) {
|
|
114407
114407
|
var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
|
|
114408
114408
|
return pt($, function(W) {
|
|
114409
114409
|
var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
|
|
@@ -114414,7 +114414,7 @@ Required: ` + w.join(", "));
|
|
|
114414
114414
|
}, k4 = function(g, w, T) {
|
|
114415
114415
|
var I = Bn.fromTable(g), $ = jf(I, w);
|
|
114416
114416
|
return $.map(function(W) {
|
|
114417
|
-
var Q = av(I, T, !1), ye = _g(Q, W, T), _e =
|
|
114417
|
+
var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m8(Q, W, T);
|
|
114418
114418
|
return {
|
|
114419
114419
|
upOrLeftCells: ye,
|
|
114420
114420
|
downOrRightCells: _e
|
|
@@ -114423,7 +114423,7 @@ Required: ` + w.join(", "));
|
|
|
114423
114423
|
}, v_ = function(g) {
|
|
114424
114424
|
return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
|
|
114425
114425
|
};
|
|
114426
|
-
function
|
|
114426
|
+
function g8(g, w, T) {
|
|
114427
114427
|
var I = function(Q, ye, _e) {
|
|
114428
114428
|
T.targets().each(function(Ye) {
|
|
114429
114429
|
var mt = Ma(ye);
|
|
@@ -114434,7 +114434,7 @@ Required: ` + w.join(", "));
|
|
|
114434
114434
|
});
|
|
114435
114435
|
}, $ = function() {
|
|
114436
114436
|
return Vw(g);
|
|
114437
|
-
}, W =
|
|
114437
|
+
}, W = p8.byAttr(La, I, $);
|
|
114438
114438
|
return g.on("init", function(Q) {
|
|
114439
114439
|
var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
|
|
114440
114440
|
var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
|
|
@@ -114444,7 +114444,7 @@ Required: ` + w.join(", "));
|
|
|
114444
114444
|
ss.fold(function() {
|
|
114445
114445
|
return W.clear(_e);
|
|
114446
114446
|
}, B);
|
|
114447
|
-
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An =
|
|
114447
|
+
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h8(ye, _e, Ye, W), Vt = function(Uo) {
|
|
114448
114448
|
return Uo.raw.shiftKey === !0;
|
|
114449
114449
|
};
|
|
114450
114450
|
g.on("TableSelectorChange", function(Uo) {
|
|
@@ -114468,7 +114468,7 @@ Required: ` + w.join(", "));
|
|
|
114468
114468
|
w().each(function(Yi) {
|
|
114469
114469
|
return Yi.hideBars();
|
|
114470
114470
|
});
|
|
114471
|
-
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr,
|
|
114471
|
+
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d8)(Je.fromDom(g.selection.getStart()));
|
|
114472
114472
|
pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
|
|
114473
114473
|
tn(ll, Yi);
|
|
114474
114474
|
}), w().each(function(Yi) {
|
|
@@ -114500,7 +114500,7 @@ Required: ` + w.join(", "));
|
|
|
114500
114500
|
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);
|
|
114501
114501
|
}), { clear: W.clear };
|
|
114502
114502
|
}
|
|
114503
|
-
var
|
|
114503
|
+
var _8 = function(g, w) {
|
|
114504
114504
|
var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
|
|
114505
114505
|
return $.forall(function(xo) {
|
|
114506
114506
|
return !xo[zr];
|
|
@@ -114715,7 +114715,7 @@ Required: ` + w.join(", "));
|
|
|
114715
114715
|
onAction: I("mceInsertTable"),
|
|
114716
114716
|
icon: "table"
|
|
114717
114717
|
});
|
|
114718
|
-
},
|
|
114718
|
+
}, y8 = function(g) {
|
|
114719
114719
|
var w = function(I) {
|
|
114720
114720
|
return g.dom.is(I, "table") && g.getBody().contains(I);
|
|
114721
114721
|
}, T = C1(g);
|
|
@@ -114891,8 +114891,8 @@ Required: ` + w.join(", "));
|
|
|
114891
114891
|
return Pf(g);
|
|
114892
114892
|
}, function() {
|
|
114893
114893
|
return th(Aa(g));
|
|
114894
|
-
}, La.selectedSelector), T =
|
|
114895
|
-
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q),
|
|
114894
|
+
}, La.selectedSelector), T = _8(g, w), I = Jy(g), $ = g8(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
|
|
114895
|
+
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q), y8(g), g.on("PreInit", function() {
|
|
114896
114896
|
g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
|
|
114897
114897
|
}), Lw(g) && g.on("keydown", function(ye) {
|
|
114898
114898
|
Yb(ye, g, $);
|