agilebuilder-ui 1.0.85-temp7 → 1.0.85-tempf8
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 +647 -629
- package/lib/super-ui.umd.cjs +14 -14
- package/package.json +1 -1
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +1 -1
- package/packages/super-grid/src/normal-column-content.vue +19 -12
- package/packages/super-grid/src/super-grid-service.js +1 -1
- package/packages/super-grid/src/super-grid.vue +50 -30
- package/packages/super-grid/src/utils.js +1 -1
- package/src/styles/theme/dark-blue/button.scss +2 -2
- package/src/styles/theme/dark-blue/index.scss +1 -1
- package/src/styles/theme/green/button.scss +2 -2
- package/src/styles/theme/green/index.scss +1 -1
- package/src/styles/theme/ocean-blue/button.scss +2 -2
- package/src/styles/theme/ocean-blue/index.scss +1 -1
- package/src/views/layout/components/Menubar/Item.vue +27 -4
- package/src/views/layout/components/Menubar/SidebarItem.vue +6 -2
- package/src/views/layout/components/Menubar/index.vue +14 -2
package/lib/super-ui.js
CHANGED
|
@@ -17569,7 +17569,7 @@ function addDynamicPropDateSection(e, t, n) {
|
|
|
17569
17569
|
function getTableHeight$1(e, t, n) {
|
|
17570
17570
|
let o;
|
|
17571
17571
|
e && (o = e.$el.getBoundingClientRect());
|
|
17572
|
-
const l = window.innerHeight - o.y -
|
|
17572
|
+
const l = window.innerHeight - o.y - 110;
|
|
17573
17573
|
return console.log("rect=", o, "window.innerHeight=", window.innerHeight, "totalHeight=", l), l;
|
|
17574
17574
|
}
|
|
17575
17575
|
function getExtraParam(e, t) {
|
|
@@ -17794,7 +17794,7 @@ const emitter$1 = mitt(), bus$1 = {};
|
|
|
17794
17794
|
bus$1.$on = emitter$1.on;
|
|
17795
17795
|
bus$1.$emit = emitter$1.emit;
|
|
17796
17796
|
bus$1.$off = emitter$1.off;
|
|
17797
|
-
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "",
|
|
17797
|
+
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSelect_vue_vue_type_style_index_1_scoped_47690665_lang = "", _sfc_main$1o = {
|
|
17798
17798
|
name: "DynamicSourceSelect",
|
|
17799
17799
|
components: {},
|
|
17800
17800
|
model: {
|
|
@@ -17978,7 +17978,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
17978
17978
|
this.$emit("blur", e);
|
|
17979
17979
|
},
|
|
17980
17980
|
changeEvent(e) {
|
|
17981
|
-
this.inputValue(e), this
|
|
17981
|
+
this.inputValue(e), this.change(e);
|
|
17982
17982
|
},
|
|
17983
17983
|
/**
|
|
17984
17984
|
* @description: 获取提示标题
|
|
@@ -18360,7 +18360,7 @@ function _sfc_render$10(e, t, n, o, l, s) {
|
|
|
18360
18360
|
}, 16, ["allow-create", "clearable", "filterable", "loading", "model-value", "placeholder", "remote", "remote-method", "size", "style", "title", "value-key", "onChange", "onClear", "onFocus", "onVisibleChange"])
|
|
18361
18361
|
]);
|
|
18362
18362
|
}
|
|
18363
|
-
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-
|
|
18363
|
+
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-47690665"]]);
|
|
18364
18364
|
function setObjectPropRule(e, t, n) {
|
|
18365
18365
|
const o = {}, l = e.prop;
|
|
18366
18366
|
t || (t = {});
|
|
@@ -22489,7 +22489,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22489
22489
|
], 4))
|
|
22490
22490
|
]);
|
|
22491
22491
|
}
|
|
22492
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
22492
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_c6f1cee3_lang = "", _sfc_main$1h = {
|
|
22493
22493
|
components: {
|
|
22494
22494
|
DynamicInput,
|
|
22495
22495
|
RowOperation,
|
|
@@ -22610,9 +22610,10 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22610
22610
|
getTableGridData: t.options.getGridData,
|
|
22611
22611
|
additionalParamMap: n,
|
|
22612
22612
|
disabled: !1,
|
|
22613
|
-
|
|
22613
|
+
additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter),
|
|
22614
22614
|
scanEnable: l,
|
|
22615
22615
|
componentId: s,
|
|
22616
|
+
controlConfig: o,
|
|
22616
22617
|
rowLinkConfigMapping: {}
|
|
22617
22618
|
};
|
|
22618
22619
|
},
|
|
@@ -22829,7 +22830,8 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22829
22830
|
o,
|
|
22830
22831
|
this.listCode
|
|
22831
22832
|
);
|
|
22832
|
-
|
|
22833
|
+
debugger;
|
|
22834
|
+
return l.jumpPageSetting && t !== void 0 && (this.rowLinkConfigMapping[t] = l.jumpPageSetting), l.icon = this.getHyperIconClass(l), l;
|
|
22833
22835
|
},
|
|
22834
22836
|
getHyperIconClass(e) {
|
|
22835
22837
|
let t;
|
|
@@ -22885,8 +22887,11 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22885
22887
|
this.showRichEditorViewer = !1;
|
|
22886
22888
|
},
|
|
22887
22889
|
getColumnCustomControlControlConfig(e) {
|
|
22888
|
-
if (e && e.options && e.options.controlConfig)
|
|
22889
|
-
|
|
22890
|
+
if (e && e.options && e.options.controlConfig) {
|
|
22891
|
+
const t = JSON.parse(e.options.controlConfig);
|
|
22892
|
+
return this.controlConfig && Object.assign(t, this.controlConfig), t;
|
|
22893
|
+
} else
|
|
22894
|
+
return this.controlConfig;
|
|
22890
22895
|
},
|
|
22891
22896
|
isRequired(e) {
|
|
22892
22897
|
return !!(!this.isFormSubTable && this.lineEdit.editable && this.isEditable && e && this.column.validations && this.column.validations.indexOf('"required":true') > 0);
|
|
@@ -23039,7 +23044,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23039
23044
|
"show-value": e.$escapeHtml(s.getLabel(n.row, n.rowIndex)),
|
|
23040
23045
|
value: s.getCellValue(n.row),
|
|
23041
23046
|
"additional-param-map": l.additionalParamMap,
|
|
23042
|
-
"additional-settings": l.
|
|
23047
|
+
"additional-settings": l.additionalSettings
|
|
23043
23048
|
}, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings"]))
|
|
23044
23049
|
], 2)) : l.columnFormatter !== void 0 && l.columnFormatter.type !== void 0 && l.columnFormatter.type === "customControl" && l.columnFormatter.options && l.columnFormatter.options.format && l.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", {
|
|
23045
23050
|
key: 2,
|
|
@@ -23064,7 +23069,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23064
23069
|
"additional-param-map": l.additionalParamMap,
|
|
23065
23070
|
listCode: n.listCode,
|
|
23066
23071
|
"component-id": l.componentId,
|
|
23067
|
-
"additional-settings": l.
|
|
23072
|
+
"additional-settings": l.additionalSettings,
|
|
23068
23073
|
onProhibitToEdit: s.prohibitToEdit,
|
|
23069
23074
|
onRefreshList: s.refreshList
|
|
23070
23075
|
}, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "onProhibitToEdit", "onRefreshList"]))
|
|
@@ -23185,7 +23190,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23185
23190
|
label: e.$escapeHtml(s.getLabel(n.row, n.rowIndex))
|
|
23186
23191
|
}, null, 8, ["entity", "file-set-obj", "is-sql", "label"])
|
|
23187
23192
|
], 14, _hoisted_17$3)
|
|
23188
|
-
])) : l.columnFormatter !== void 0 && l.columnFormatter.type !== void 0 && l.columnFormatter.type === "hyperlinks" && s.getMyHyperLinkSetting(n.row).visible === !0 ? (openBlock(), createBlock(R, {
|
|
23193
|
+
])) : l.columnFormatter !== void 0 && l.columnFormatter.type !== void 0 && l.columnFormatter.type === "hyperlinks" && s.getMyHyperLinkSetting(n.row, n.rowIndex).visible === !0 ? (openBlock(), createBlock(R, {
|
|
23189
23194
|
key: 2,
|
|
23190
23195
|
type: "primary",
|
|
23191
23196
|
onClick: t[4] || (t[4] = (re) => e.clickHyperLink(n.column, n.row, n.listCode, n.rowIndex))
|
|
@@ -23195,13 +23200,13 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23195
23200
|
key: 0,
|
|
23196
23201
|
id: n.column.prop + "DomData" + n.rowIndex,
|
|
23197
23202
|
style: normalizeStyle(n.isShowForm ? {} : { width: l.cellWidth + "px" }),
|
|
23198
|
-
title: e.$escapeHtml(s.getMyHyperLinkSetting(n.row).title),
|
|
23203
|
+
title: e.$escapeHtml(s.getMyHyperLinkSetting(n.row, n.rowIndex).title),
|
|
23199
23204
|
class: normalizeClass(n.isShowForm ? "" : "ellipsis cell--span")
|
|
23200
23205
|
}, [
|
|
23201
|
-
createTextVNode(toDisplayString$1(e.$escapeHtml(s.getMyHyperLinkSetting(n.row).label)) + " ", 1),
|
|
23202
|
-
s.getMyHyperLinkSetting(n.row).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23206
|
+
createTextVNode(toDisplayString$1(e.$escapeHtml(s.getMyHyperLinkSetting(n.row, n.rowIndex).label)) + " ", 1),
|
|
23207
|
+
s.getMyHyperLinkSetting(n.row, n.rowIndex).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23203
23208
|
default: withCtx(() => [
|
|
23204
|
-
(openBlock(), createBlock(resolveDynamicComponent(s.getMyHyperLinkSetting(n.row).icon)))
|
|
23209
|
+
(openBlock(), createBlock(resolveDynamicComponent(s.getMyHyperLinkSetting(n.row, n.rowIndex).icon)))
|
|
23205
23210
|
]),
|
|
23206
23211
|
_: 1
|
|
23207
23212
|
})) : createCommentVNode("", !0)
|
|
@@ -23210,10 +23215,10 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23210
23215
|
id: n.column.prop + "DomData" + n.rowIndex,
|
|
23211
23216
|
class: normalizeClass(n.isShowForm ? "" : "cell--span")
|
|
23212
23217
|
}, [
|
|
23213
|
-
createTextVNode(toDisplayString$1(e.$escapeHtml(s.getMyHyperLinkSetting(n.row).label)) + " ", 1),
|
|
23214
|
-
s.getMyHyperLinkSetting(n.row).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23218
|
+
createTextVNode(toDisplayString$1(e.$escapeHtml(s.getMyHyperLinkSetting(n.row, n.rowIndex).label)) + " ", 1),
|
|
23219
|
+
s.getMyHyperLinkSetting(n.row, n.rowIndex).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23215
23220
|
default: withCtx(() => [
|
|
23216
|
-
(openBlock(), createBlock(resolveDynamicComponent(s.getMyHyperLinkSetting(n.row).icon)))
|
|
23221
|
+
(openBlock(), createBlock(resolveDynamicComponent(s.getMyHyperLinkSetting(n.row, n.rowIndex).icon)))
|
|
23217
23222
|
]),
|
|
23218
23223
|
_: 1
|
|
23219
23224
|
})) : createCommentVNode("", !0)
|
|
@@ -23269,7 +23274,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23269
23274
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23270
23275
|
]);
|
|
23271
23276
|
}
|
|
23272
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23277
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-c6f1cee3"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
|
|
23273
23278
|
components: {
|
|
23274
23279
|
DynamicInput,
|
|
23275
23280
|
RowOperation,
|
|
@@ -28189,7 +28194,7 @@ const superGridService$1 = {
|
|
|
28189
28194
|
if (e !== null) {
|
|
28190
28195
|
let t = 0;
|
|
28191
28196
|
e.forEach((n) => {
|
|
28192
|
-
n.hasOwnProperty("queryType") && n.hasOwnProperty("prop") && n.prop !== "$index" && n.prop !== "$selection" && n.queryType && n.queryType !== "no" && n.componentType && (n.componentType === "date" || n.componentType === "dateSection" || n.componentType === "timePicker" || n.componentType === "dateTimePicker") && n.controlConfig && t++;
|
|
28197
|
+
n.hasOwnProperty("queryType") && n.hasOwnProperty("prop") && n.prop !== "$index" && n.prop !== "$selection" && n.queryType && n.queryType !== "no" && n.componentType && (n.componentType === "date" || n.componentType === "dateSection" || n.componentType === "timePicker" || n.componentType === "dateTimePicker") && n.controlConfig && n.controlConfig.timeDefaultQueryRange && t++;
|
|
28193
28198
|
}), t > 0 && (this.loadCompleteQuery = !0);
|
|
28194
28199
|
}
|
|
28195
28200
|
},
|
|
@@ -28475,7 +28480,7 @@ function isHasPermission(e, t) {
|
|
|
28475
28480
|
if (o !== void 0 && o === !0)
|
|
28476
28481
|
return !0;
|
|
28477
28482
|
}
|
|
28478
|
-
const
|
|
28483
|
+
const superGrid_vue_vue_type_style_index_0_scoped_4726ea08_rel_stylesheet_2Fscss_lang = "", _sfc_main$10 = {
|
|
28479
28484
|
components: {
|
|
28480
28485
|
IndexColumn,
|
|
28481
28486
|
SelectionColumn,
|
|
@@ -29119,19 +29124,25 @@ const superGrid_vue_vue_type_style_index_0_scoped_7785398f_rel_stylesheet_2Fscss
|
|
|
29119
29124
|
},
|
|
29120
29125
|
changeCellStyle(e) {
|
|
29121
29126
|
const t = store$1.get(this.code);
|
|
29122
|
-
let n = null, o = null;
|
|
29123
|
-
if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property]
|
|
29124
|
-
|
|
29127
|
+
let n = null, o = null, l = null;
|
|
29128
|
+
if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property]) {
|
|
29129
|
+
o = t.columnOptionMap[e.column.property], o.events && o.events.cellStyle && (n = o.events.cellStyle);
|
|
29130
|
+
const s = getControlConfig(o);
|
|
29131
|
+
s && s.cellStyle && (l = s.cellStyle);
|
|
29132
|
+
}
|
|
29133
|
+
if (isHasOptionFunction$1("cellStyleRender", this.code))
|
|
29134
|
+
return e.additionalParamMap = t.additionalParamMap, e.pageContext = this.pageContext, e.configureObj = this.configureObj, e.cellStyle = l, t.options.cellStyleRender.call(this, e);
|
|
29125
29135
|
if (n !== null && o !== null && t.options && t.options.eventCallBack && t.options.eventCallBack[n] && typeof t.options.eventCallBack[n] == "function") {
|
|
29126
|
-
const
|
|
29136
|
+
const s = {
|
|
29127
29137
|
value: e.row[e.column.property],
|
|
29128
29138
|
row: e.row,
|
|
29129
29139
|
column: o,
|
|
29130
29140
|
prop: e.column.property,
|
|
29131
29141
|
additionalParamMap: t.additionalParamMap,
|
|
29132
|
-
rowIndex: e.rowIndex
|
|
29142
|
+
rowIndex: e.rowIndex,
|
|
29143
|
+
cellStyle: l
|
|
29133
29144
|
};
|
|
29134
|
-
return t.options.eventCallBack[n].call(this,
|
|
29145
|
+
return t.options.eventCallBack[n].call(this, s);
|
|
29135
29146
|
}
|
|
29136
29147
|
},
|
|
29137
29148
|
changeHeaderStyle(e) {
|
|
@@ -29147,18 +29158,25 @@ const superGrid_vue_vue_type_style_index_0_scoped_7785398f_rel_stylesheet_2Fscss
|
|
|
29147
29158
|
return { background: this.backgroundColorMap[t.property] };
|
|
29148
29159
|
} else {
|
|
29149
29160
|
const t = store$1.get(this.code);
|
|
29150
|
-
let n = null, o = null;
|
|
29151
|
-
if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property]
|
|
29152
|
-
|
|
29153
|
-
|
|
29154
|
-
|
|
29155
|
-
|
|
29156
|
-
|
|
29157
|
-
|
|
29161
|
+
let n = null, o = null, l = null;
|
|
29162
|
+
if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property]) {
|
|
29163
|
+
o = t.columnOptionMap[e.column.property], o.events && o.events.headerCellStyle && (n = o.events.headerCellStyle);
|
|
29164
|
+
const s = getControlConfig(o);
|
|
29165
|
+
s && s.titleStyle && (l = s.titleStyle);
|
|
29166
|
+
}
|
|
29167
|
+
if (isHasOptionFunction$1("titleStyleRender", this.code))
|
|
29168
|
+
return e.additionalParamMap = t.additionalParamMap, e.pageContext = this.pageContext, e.configureObj = this.configureObj, e.titleStyle = l, t.options.titleStyleRender.call(this, e);
|
|
29169
|
+
if (t.options.renderHeader && t.options.renderHeader.props) {
|
|
29170
|
+
const s = e.column, m = t.options.renderHeader.props.split(",");
|
|
29171
|
+
for (let y = 0; y < m.length; y++) {
|
|
29172
|
+
const E = m[y];
|
|
29173
|
+
if (s.property === E.trim()) {
|
|
29174
|
+
let S = "#c3f4e2";
|
|
29175
|
+
return typeof t.options.renderHeader.color < "u" && (S = t.options.renderHeader.color), { background: S };
|
|
29158
29176
|
}
|
|
29159
29177
|
}
|
|
29160
29178
|
} else if (n !== null && o !== null && t.options && t.options.eventCallBack && t.options.eventCallBack[n] && typeof t.options.eventCallBack[n] == "function")
|
|
29161
|
-
return e.additionalParamMap = t.additionalParamMap, t.options.eventCallBack[n].call(this, e);
|
|
29179
|
+
return e.additionalParamMap = t.additionalParamMap, e.titleStyle = l, t.options.eventCallBack[n].call(this, e);
|
|
29162
29180
|
}
|
|
29163
29181
|
},
|
|
29164
29182
|
fetchData(e, t, n, o) {
|
|
@@ -30230,7 +30248,7 @@ function _sfc_render$E(e, t, n, o, l, s) {
|
|
|
30230
30248
|
}, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit"])) : createCommentVNode("", !0)
|
|
30231
30249
|
], 4);
|
|
30232
30250
|
}
|
|
30233
|
-
const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$E], ["__scopeId", "data-v-
|
|
30251
|
+
const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$E], ["__scopeId", "data-v-4726ea08"]]);
|
|
30234
30252
|
SuperGrid.install = function(e) {
|
|
30235
30253
|
e.component(SuperGrid.name, SuperGrid);
|
|
30236
30254
|
};
|
|
@@ -71864,7 +71882,7 @@ Required: ` + u.join(", "));
|
|
|
71864
71882
|
ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
|
|
71865
71883
|
ua.DOM.unbind(document, "mouseup", f);
|
|
71866
71884
|
});
|
|
71867
|
-
},
|
|
71885
|
+
}, e6 = function(r) {
|
|
71868
71886
|
r.on("focusout", function() {
|
|
71869
71887
|
fg(r);
|
|
71870
71888
|
});
|
|
@@ -71872,23 +71890,23 @@ Required: ` + u.join(", "));
|
|
|
71872
71890
|
r.on("mouseup touchend", function(f) {
|
|
71873
71891
|
u.throttle();
|
|
71874
71892
|
});
|
|
71875
|
-
},
|
|
71893
|
+
}, t6 = function(r, u) {
|
|
71876
71894
|
var f = Wr().browser;
|
|
71877
|
-
f.isIE() ?
|
|
71895
|
+
f.isIE() ? e6(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
|
|
71878
71896
|
QC(p) || fg(r);
|
|
71879
71897
|
});
|
|
71880
|
-
},
|
|
71898
|
+
}, n6 = function(r) {
|
|
71881
71899
|
var u = g1(function() {
|
|
71882
71900
|
fg(r);
|
|
71883
71901
|
}, 0);
|
|
71884
71902
|
r.on("init", function() {
|
|
71885
|
-
r.inline && Cc(r, u),
|
|
71903
|
+
r.inline && Cc(r, u), t6(r, u);
|
|
71886
71904
|
}), r.on("remove", function() {
|
|
71887
71905
|
u.cancel();
|
|
71888
71906
|
});
|
|
71889
71907
|
}, rd, vg = ua.DOM, p4 = function(r) {
|
|
71890
71908
|
return wc.isEditorUIElement(r);
|
|
71891
|
-
},
|
|
71909
|
+
}, r6 = function(r) {
|
|
71892
71910
|
var u = r.classList;
|
|
71893
71911
|
return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
|
|
71894
71912
|
}, Av = function(r, u) {
|
|
@@ -71896,7 +71914,7 @@ Required: ` + u.join(", "));
|
|
|
71896
71914
|
return p4(_) || (f ? r.dom.is(_, f) : !1);
|
|
71897
71915
|
});
|
|
71898
71916
|
return p !== null;
|
|
71899
|
-
},
|
|
71917
|
+
}, o6 = function(r) {
|
|
71900
71918
|
try {
|
|
71901
71919
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71902
71920
|
return t_(u).fold(function() {
|
|
@@ -71907,15 +71925,15 @@ Required: ` + u.join(", "));
|
|
|
71907
71925
|
} catch {
|
|
71908
71926
|
return document.body;
|
|
71909
71927
|
}
|
|
71910
|
-
},
|
|
71928
|
+
}, a6 = function(r, u) {
|
|
71911
71929
|
var f = u.editor;
|
|
71912
|
-
|
|
71930
|
+
n6(f), f.on("focusin", function() {
|
|
71913
71931
|
var p = r.focusedEditor;
|
|
71914
71932
|
p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
|
|
71915
71933
|
}), f.on("focusout", function() {
|
|
71916
71934
|
_r.setEditorTimeout(f, function() {
|
|
71917
71935
|
var p = r.focusedEditor;
|
|
71918
|
-
!Av(f,
|
|
71936
|
+
!Av(f, o6(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71919
71937
|
});
|
|
71920
71938
|
}), rd || (rd = function(p) {
|
|
71921
71939
|
var _ = r.activeEditor;
|
|
@@ -71923,18 +71941,18 @@ Required: ` + u.join(", "));
|
|
|
71923
71941
|
C.ownerDocument === document && C !== document.body && !Av(_, C) && r.focusedEditor === _ && (_.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71924
71942
|
});
|
|
71925
71943
|
}, vg.bind(document, "focusin", rd));
|
|
71926
|
-
},
|
|
71944
|
+
}, i6 = function(r, u) {
|
|
71927
71945
|
r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
|
|
71928
71946
|
}, m4 = function(r) {
|
|
71929
|
-
r.on("AddEditor", Ue(
|
|
71947
|
+
r.on("AddEditor", Ue(a6, r)), r.on("RemoveEditor", Ue(i6, r));
|
|
71930
71948
|
}, Iv = function(r, u) {
|
|
71931
71949
|
return r.dom.getParent(u, function(f) {
|
|
71932
71950
|
return r.dom.getContentEditable(f) === "true";
|
|
71933
71951
|
});
|
|
71934
|
-
},
|
|
71952
|
+
}, l6 = function(r) {
|
|
71935
71953
|
return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
|
|
71936
71954
|
}, g4 = function(r, u) {
|
|
71937
|
-
return
|
|
71955
|
+
return l6(u).bind(function(f) {
|
|
71938
71956
|
return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
|
|
71939
71957
|
});
|
|
71940
71958
|
}, lm = function(r, u) {
|
|
@@ -71956,21 +71974,21 @@ Required: ` + u.join(", "));
|
|
|
71956
71974
|
r.focus();
|
|
71957
71975
|
}, _4 = function(r) {
|
|
71958
71976
|
return e_(r) || GC(r).isSome();
|
|
71959
|
-
},
|
|
71977
|
+
}, s6 = function(r) {
|
|
71960
71978
|
return r.iframeElement && e_(be.fromDom(r.iframeElement));
|
|
71961
|
-
},
|
|
71979
|
+
}, u6 = function(r) {
|
|
71962
71980
|
var u = r.getBody();
|
|
71963
71981
|
return u && _4(be.fromDom(u));
|
|
71964
|
-
},
|
|
71982
|
+
}, c6 = function(r) {
|
|
71965
71983
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71966
71984
|
return t_(u).filter(function(f) {
|
|
71967
|
-
return !
|
|
71985
|
+
return !r6(f.dom) && Av(r, f.dom);
|
|
71968
71986
|
}).isSome();
|
|
71969
71987
|
}, od = function(r) {
|
|
71970
|
-
return r.inline ?
|
|
71988
|
+
return r.inline ? u6(r) : s6(r);
|
|
71971
71989
|
}, y4 = function(r) {
|
|
71972
|
-
return od(r) ||
|
|
71973
|
-
},
|
|
71990
|
+
return od(r) || c6(r);
|
|
71991
|
+
}, f6 = function(r) {
|
|
71974
71992
|
var u = r.selection, f = r.getBody(), p = u.getRng();
|
|
71975
71993
|
r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
|
|
71976
71994
|
r.selection.setRng(C), p = C;
|
|
@@ -71984,7 +72002,7 @@ Required: ` + u.join(", "));
|
|
|
71984
72002
|
}, l_ = function(r) {
|
|
71985
72003
|
return r.editorManager.setActive(r);
|
|
71986
72004
|
}, b4 = function(r, u) {
|
|
71987
|
-
r.removed || (u ? l_(r) :
|
|
72005
|
+
r.removed || (u ? l_(r) : f6(r));
|
|
71988
72006
|
}, w4 = function(r, u, f, p, _) {
|
|
71989
72007
|
var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
|
|
71990
72008
|
return me.from(C).map(be.fromDom).map(function(P) {
|
|
@@ -72050,7 +72068,7 @@ Required: ` + u.join(", "));
|
|
|
72050
72068
|
if (C = A[_], C)
|
|
72051
72069
|
return C;
|
|
72052
72070
|
}
|
|
72053
|
-
},
|
|
72071
|
+
}, d6 = function(r) {
|
|
72054
72072
|
if (!Of(r.value))
|
|
72055
72073
|
return !1;
|
|
72056
72074
|
var u = r.parent;
|
|
@@ -72166,7 +72184,7 @@ Required: ` + u.join(", "));
|
|
|
72166
72184
|
if (u[C.name] || mg(C))
|
|
72167
72185
|
return !1;
|
|
72168
72186
|
}
|
|
72169
|
-
if (C.type === 8 || C.type === 3 && !
|
|
72187
|
+
if (C.type === 8 || C.type === 3 && !d6(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
|
|
72170
72188
|
return !1;
|
|
72171
72189
|
} while (C = Mr(C, _));
|
|
72172
72190
|
return !0;
|
|
@@ -72203,13 +72221,13 @@ Required: ` + u.join(", "));
|
|
|
72203
72221
|
}, E4 = [
|
|
72204
72222
|
"img",
|
|
72205
72223
|
"video"
|
|
72206
|
-
],
|
|
72224
|
+
], h6 = function(r) {
|
|
72207
72225
|
return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
|
|
72208
|
-
},
|
|
72226
|
+
}, v6 = function(r, u) {
|
|
72209
72227
|
var f = oe(r) ? Re(E4, u) : r;
|
|
72210
72228
|
return !f;
|
|
72211
72229
|
}, Qr = function(r, u, f) {
|
|
72212
|
-
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ?
|
|
72230
|
+
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ? v6(r.allow_svg_data_urls, f) && /^data:image\/svg\+xml/i.test(u) : /^data:/i.test(u);
|
|
72213
72231
|
}, h_ = function(r, u, f) {
|
|
72214
72232
|
var p = 1, _, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
|
|
72215
72233
|
for (P.lastIndex = _ = f; C = P.exec(u); ) {
|
|
@@ -72241,7 +72259,7 @@ Required: ` + u.join(", "));
|
|
|
72241
72259
|
var P = A.exec(r);
|
|
72242
72260
|
return P ? P.index + P[0].length : p.length;
|
|
72243
72261
|
}
|
|
72244
|
-
},
|
|
72262
|
+
}, p6 = function(r, u) {
|
|
72245
72263
|
var f = r.exec(u);
|
|
72246
72264
|
if (f) {
|
|
72247
72265
|
var p = f[1], _ = f[2];
|
|
@@ -72272,7 +72290,7 @@ Required: ` + u.join(", "));
|
|
|
72272
72290
|
return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
|
|
72273
72291
|
}, an = function(ba, fa, pl, pf, fu) {
|
|
72274
72292
|
var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
|
|
72275
|
-
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn &&
|
|
72293
|
+
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h6(fa) === !1) {
|
|
72276
72294
|
if (du = er[fa], !du && br) {
|
|
72277
72295
|
for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
|
|
72278
72296
|
;
|
|
@@ -72305,7 +72323,7 @@ Required: ` + u.join(", "));
|
|
|
72305
72323
|
continue;
|
|
72306
72324
|
}
|
|
72307
72325
|
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);
|
|
72308
|
-
var vf =
|
|
72326
|
+
var vf = p6(sr, Oe[9]);
|
|
72309
72327
|
if (vf !== null) {
|
|
72310
72328
|
if (vf === "all") {
|
|
72311
72329
|
$e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
|
|
@@ -72385,37 +72403,37 @@ Required: ` + u.join(", "));
|
|
|
72385
72403
|
return { parse: ie };
|
|
72386
72404
|
};
|
|
72387
72405
|
_g.findEndTag = h_;
|
|
72388
|
-
var
|
|
72406
|
+
var m6 = function(r, u) {
|
|
72389
72407
|
var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
|
|
72390
72408
|
return u.replace(f, "");
|
|
72391
72409
|
}, k4 = function(r, u) {
|
|
72392
72410
|
var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, _, C, A, P, M = r.schema;
|
|
72393
|
-
f =
|
|
72411
|
+
f = m6(r.getTempAttrs(), f);
|
|
72394
72412
|
for (var X = M.getShortEndedElements(); P = p.exec(f); )
|
|
72395
72413
|
C = p.lastIndex, A = P[0].length, X[P[1]] ? _ = C : _ = _g.findEndTag(M, f, C), f = f.substring(0, C - A) + f.substring(_), p.lastIndex = C - A;
|
|
72396
72414
|
return rc(f);
|
|
72397
|
-
}, v_ = k4,
|
|
72415
|
+
}, v_ = k4, g6 = function(r, u) {
|
|
72398
72416
|
var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>( | |\\s| |<br \\/>|)<\\/" + f + `>[\r
|
|
72399
72417
|
]*|<br \\/>[\r
|
|
72400
72418
|
]*)$`);
|
|
72401
72419
|
return u.replace(p, "");
|
|
72402
|
-
},
|
|
72420
|
+
}, _6 = function(r, u, f, p) {
|
|
72403
72421
|
var _;
|
|
72404
|
-
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? _ = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? _ = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? _ = r.serializer.serialize(p, u) : _ =
|
|
72422
|
+
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? _ = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? _ = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? _ = r.serializer.serialize(p, u) : _ = g6(r, r.serializer.serialize(p, u)), !Re([
|
|
72405
72423
|
"text",
|
|
72406
72424
|
"tree"
|
|
72407
72425
|
], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(_) : u.content = _, u.no_events || r.fire("GetContent", u), u.content;
|
|
72408
72426
|
}, Gr = function(r, u, f) {
|
|
72409
72427
|
return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
|
|
72410
|
-
return
|
|
72428
|
+
return _6(r, u, f, p);
|
|
72411
72429
|
});
|
|
72412
|
-
},
|
|
72430
|
+
}, y6 = Ve.each, p_ = function(r) {
|
|
72413
72431
|
var u = function(f, p) {
|
|
72414
72432
|
if (f.nodeName !== p.nodeName)
|
|
72415
72433
|
return !1;
|
|
72416
72434
|
var _ = function(A) {
|
|
72417
72435
|
var P = {};
|
|
72418
|
-
return
|
|
72436
|
+
return y6(r.getAttribs(A), function(M) {
|
|
72419
72437
|
var X = M.nodeName.toLowerCase();
|
|
72420
72438
|
X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
|
|
72421
72439
|
}), P;
|
|
@@ -72692,7 +72710,7 @@ Required: ` + u.join(", "));
|
|
|
72692
72710
|
}, function(p) {
|
|
72693
72711
|
return Ki(r, p.dom, f).isNone();
|
|
72694
72712
|
});
|
|
72695
|
-
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1),
|
|
72713
|
+
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b6 = Ue(xc, !0), id = function(r) {
|
|
72696
72714
|
return Hp(r).exists(xu);
|
|
72697
72715
|
}, bg = function(r, u, f) {
|
|
72698
72716
|
var p = Pt(qo(be.fromDom(f.container()), u), Fs), _ = Zt(p).getOr(u);
|
|
@@ -72715,7 +72733,7 @@ Required: ` + u.join(", "));
|
|
|
72715
72733
|
"pre",
|
|
72716
72734
|
"pre-wrap"
|
|
72717
72735
|
], r);
|
|
72718
|
-
},
|
|
72736
|
+
}, w6 = function(r) {
|
|
72719
72737
|
return Hp(r).bind(function(u) {
|
|
72720
72738
|
return jm(u, ui);
|
|
72721
72739
|
}).exists(function(u) {
|
|
@@ -72728,14 +72746,14 @@ Required: ` + u.join(", "));
|
|
|
72728
72746
|
}, NN = function(r, u) {
|
|
72729
72747
|
return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
|
|
72730
72748
|
}, Xa = function(r, u) {
|
|
72731
|
-
return
|
|
72749
|
+
return w6(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
|
|
72732
72750
|
}, __ = function(r, u) {
|
|
72733
|
-
return
|
|
72751
|
+
return w6(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
|
|
72734
72752
|
}, Jx = function(r) {
|
|
72735
72753
|
var u = r.container(), f = r.offset();
|
|
72736
72754
|
return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
|
|
72737
72755
|
}, y_ = function(r, u) {
|
|
72738
|
-
return
|
|
72756
|
+
return w6(u) ? !1 : yg(r, u) || b6(r, u) || wg(r, u) || Xx(r, u);
|
|
72739
72757
|
}, N4 = function(r, u) {
|
|
72740
72758
|
return __(r, u) || y_(r, Jx(u));
|
|
72741
72759
|
}, A4 = function(r, u) {
|
|
@@ -72867,11 +72885,11 @@ Required: ` + u.join(", "));
|
|
|
72867
72885
|
return Ro(C.dom, 0);
|
|
72868
72886
|
})), u;
|
|
72869
72887
|
});
|
|
72870
|
-
},
|
|
72888
|
+
}, C6 = function(r, u) {
|
|
72871
72889
|
return Vr(r.schema.getTextInlineElements(), si(u));
|
|
72872
72890
|
}, gm = function(r, u, f, p) {
|
|
72873
72891
|
p === void 0 && (p = !0);
|
|
72874
|
-
var _ = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, _,
|
|
72892
|
+
var _ = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, _, C6(r, f));
|
|
72875
72893
|
r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
|
|
72876
72894
|
p && tE(r, u, A);
|
|
72877
72895
|
}, function(P) {
|
|
@@ -72882,13 +72900,13 @@ Required: ` + u.join(", "));
|
|
|
72882
72900
|
start: r,
|
|
72883
72901
|
end: u
|
|
72884
72902
|
};
|
|
72885
|
-
},
|
|
72903
|
+
}, x6 = function(r, u, f) {
|
|
72886
72904
|
return {
|
|
72887
72905
|
rng: r,
|
|
72888
72906
|
table: u,
|
|
72889
72907
|
cells: f
|
|
72890
72908
|
};
|
|
72891
|
-
},
|
|
72909
|
+
}, E6 = Sf.generate([
|
|
72892
72910
|
{ removeTable: ["element"] },
|
|
72893
72911
|
{ emptyCells: ["cells"] },
|
|
72894
72912
|
{
|
|
@@ -72907,14 +72925,14 @@ Required: ` + u.join(", "));
|
|
|
72907
72925
|
return Uc(r, "table", u);
|
|
72908
72926
|
}, oE = function(r) {
|
|
72909
72927
|
return !yo(r.start, r.end);
|
|
72910
|
-
},
|
|
72928
|
+
}, S6 = function(r, u) {
|
|
72911
72929
|
return _m(r.start, u).bind(function(f) {
|
|
72912
72930
|
return _m(r.end, u).bind(function(p) {
|
|
72913
72931
|
return Mn(yo(f, p), f);
|
|
72914
72932
|
});
|
|
72915
72933
|
});
|
|
72916
72934
|
}, aE = function(r, u) {
|
|
72917
|
-
return !oE(r) &&
|
|
72935
|
+
return !oE(r) && S6(r, u).exists(function(f) {
|
|
72918
72936
|
var p = f.dom.rows;
|
|
72919
72937
|
return p.length === 1 && p[0].cells.length === 1;
|
|
72920
72938
|
});
|
|
@@ -72951,10 +72969,10 @@ Required: ` + u.join(", "));
|
|
|
72951
72969
|
return iE(r, _) ? me.none() : UN(_, r);
|
|
72952
72970
|
});
|
|
72953
72971
|
}, iE = function(r, u) {
|
|
72954
|
-
return
|
|
72972
|
+
return S6(u, r).isSome();
|
|
72955
72973
|
}, lE = function(r, u) {
|
|
72956
|
-
return
|
|
72957
|
-
return
|
|
72974
|
+
return S6(r, u).map(function(f) {
|
|
72975
|
+
return x6(r, f, C_(f));
|
|
72958
72976
|
});
|
|
72959
72977
|
}, sE = function(r, u, f) {
|
|
72960
72978
|
return r.filter(function(p) {
|
|
@@ -72981,12 +72999,12 @@ Required: ` + u.join(", "));
|
|
|
72981
72999
|
}, jN = function(r) {
|
|
72982
73000
|
return HN(r).map(function(u) {
|
|
72983
73001
|
var f = r.cells;
|
|
72984
|
-
return u.length === f.length ?
|
|
73002
|
+
return u.length === f.length ? E6.removeTable(r.table) : E6.emptyCells(u);
|
|
72985
73003
|
});
|
|
72986
73004
|
}, GN = function(r, u) {
|
|
72987
73005
|
var f = VN(r), p = LN(u, f);
|
|
72988
73006
|
return WN(p, u, f).map(function(_) {
|
|
72989
|
-
return
|
|
73007
|
+
return E6.deleteCellSelection(u, _);
|
|
72990
73008
|
}).orThunk(function() {
|
|
72991
73009
|
return sE(p, u, f).bind(jN);
|
|
72992
73010
|
});
|
|
@@ -73009,15 +73027,15 @@ Required: ` + u.join(", "));
|
|
|
73009
73027
|
return !0;
|
|
73010
73028
|
}, dE = function(r, u) {
|
|
73011
73029
|
return gm(r, !1, u), !0;
|
|
73012
|
-
},
|
|
73030
|
+
}, k6 = function(r, u, f) {
|
|
73013
73031
|
return GN(u, f).map(function(p) {
|
|
73014
73032
|
return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
|
|
73015
73033
|
});
|
|
73016
73034
|
}, qN = function(r, u) {
|
|
73017
73035
|
return O4(r, u);
|
|
73018
73036
|
}, hE = function(r, u, f, p) {
|
|
73019
|
-
return
|
|
73020
|
-
return
|
|
73037
|
+
return T6(u, p).fold(function() {
|
|
73038
|
+
return k6(r, u, f);
|
|
73021
73039
|
}, function(_) {
|
|
73022
73040
|
return qN(r, _);
|
|
73023
73041
|
}).getOr(!1);
|
|
@@ -73026,7 +73044,7 @@ Required: ` + u.join(", "));
|
|
|
73026
73044
|
return _.length !== 0 ? Eg(r, _) : hE(r, f, p, u);
|
|
73027
73045
|
}, pE = function(r, u) {
|
|
73028
73046
|
return _n(qo(u, r), bs);
|
|
73029
|
-
},
|
|
73047
|
+
}, T6 = function(r, u) {
|
|
73030
73048
|
return _n(qo(u, r), function(f) {
|
|
73031
73049
|
return si(f) === "caption";
|
|
73032
73050
|
});
|
|
@@ -73047,7 +73065,7 @@ Required: ` + u.join(", "));
|
|
|
73047
73065
|
}, XN = function(r, u) {
|
|
73048
73066
|
return O4(r, u);
|
|
73049
73067
|
}, JN = function(r, u, f) {
|
|
73050
|
-
return
|
|
73068
|
+
return T6(r, be.fromDom(f.getNode())).map(function(p) {
|
|
73051
73069
|
return yo(p, u) === !1;
|
|
73052
73070
|
});
|
|
73053
73071
|
}, ZN = function(r, u, f, p, _) {
|
|
@@ -73064,31 +73082,31 @@ Required: ` + u.join(", "));
|
|
|
73064
73082
|
return ws(p) ? O4(r, p) : ZN(r, f, u, p, _);
|
|
73065
73083
|
}, mE = function(r, u) {
|
|
73066
73084
|
return r ? zr(u) : xo(u);
|
|
73067
|
-
},
|
|
73085
|
+
}, N6 = function(r, u) {
|
|
73068
73086
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
73069
73087
|
return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
|
|
73070
73088
|
return mE(u, p);
|
|
73071
73089
|
});
|
|
73072
73090
|
}, uf = function(r, u, f) {
|
|
73073
73091
|
var p = be.fromDom(r.getBody());
|
|
73074
|
-
return
|
|
73075
|
-
return QN(r, u, p, f) ||
|
|
73092
|
+
return T6(p, f).fold(function() {
|
|
73093
|
+
return QN(r, u, p, f) || N6(r, u);
|
|
73076
73094
|
}, function(_) {
|
|
73077
73095
|
return eA(r, u, p, _).getOr(!1);
|
|
73078
73096
|
});
|
|
73079
73097
|
}, Sg = function(r, u) {
|
|
73080
73098
|
var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
|
|
73081
73099
|
return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
|
|
73082
|
-
},
|
|
73100
|
+
}, A6 = function(r, u, f, p) {
|
|
73083
73101
|
var _ = document.createRange();
|
|
73084
73102
|
return _.setStart(r, u), _.setEnd(f, p), _;
|
|
73085
|
-
},
|
|
73103
|
+
}, I6 = function(r) {
|
|
73086
73104
|
var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
|
|
73087
73105
|
return Hs(!1, p, f).map(function(_) {
|
|
73088
|
-
return !Pu(u, f, p) && Pu(u, _, p) ?
|
|
73106
|
+
return !Pu(u, f, p) && Pu(u, _, p) ? A6(u.container(), u.offset(), _.container(), _.offset()) : r;
|
|
73089
73107
|
}).getOr(r);
|
|
73090
|
-
},
|
|
73091
|
-
return r.collapsed ? r :
|
|
73108
|
+
}, D6 = function(r) {
|
|
73109
|
+
return r.collapsed ? r : I6(r);
|
|
73092
73110
|
}, gE = function(r) {
|
|
73093
73111
|
return r.firstChild && r.firstChild === r.lastChild;
|
|
73094
73112
|
}, tA = function(r) {
|
|
@@ -73096,12 +73114,12 @@ Required: ` + u.join(", "));
|
|
|
73096
73114
|
}, nA = function(r, u) {
|
|
73097
73115
|
var f = r.getBlockElements();
|
|
73098
73116
|
return f[u.name] && gE(u) && tA(u.firstChild);
|
|
73099
|
-
},
|
|
73117
|
+
}, O6 = function(r, u) {
|
|
73100
73118
|
var f = r.getNonEmptyElements();
|
|
73101
73119
|
return u && (u.isEmpty(f) || nA(r, u));
|
|
73102
73120
|
}, rA = function(r, u) {
|
|
73103
73121
|
var f = u.firstChild, p = u.lastChild;
|
|
73104
|
-
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev),
|
|
73122
|
+
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev), O6(r, p) && (p = p.prev), !f || f !== p ? !1 : f.name === "ul" || f.name === "ol";
|
|
73105
73123
|
}, _E = function(r) {
|
|
73106
73124
|
var u = r.firstChild, f = r.lastChild;
|
|
73107
73125
|
return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
|
|
@@ -73120,11 +73138,11 @@ Required: ` + u.join(", "));
|
|
|
73120
73138
|
return !r.firstChild || yE(r);
|
|
73121
73139
|
}, bE = function(r) {
|
|
73122
73140
|
return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
|
|
73123
|
-
},
|
|
73141
|
+
}, B6 = function(r, u) {
|
|
73124
73142
|
var f = r.getParent(u, r.isBlock);
|
|
73125
73143
|
return f && f.nodeName === "LI" ? f : null;
|
|
73126
73144
|
}, lA = function(r, u) {
|
|
73127
|
-
return !!
|
|
73145
|
+
return !!B6(r, u);
|
|
73128
73146
|
}, sA = function(r, u) {
|
|
73129
73147
|
var f = u.cloneRange(), p = u.cloneRange();
|
|
73130
73148
|
return f.setStartBefore(r), p.setEndAfter(r), [
|
|
@@ -73147,24 +73165,24 @@ Required: ` + u.join(", "));
|
|
|
73147
73165
|
return Ve.each(u, function(_) {
|
|
73148
73166
|
p.insertBefore(_, r);
|
|
73149
73167
|
}), uA(r, f);
|
|
73150
|
-
},
|
|
73168
|
+
}, P6 = function(r, u, f, p) {
|
|
73151
73169
|
return p.insertAfter(u.reverse(), r), wE(u[0], f);
|
|
73152
73170
|
}, kg = function(r, u, f, p) {
|
|
73153
|
-
var _ = oA(u, r, p), C =
|
|
73171
|
+
var _ = oA(u, r, p), C = B6(u, f.startContainer), A = bE(x_(_.firstChild)), P = 1, M = 2, X = u.getRoot(), ie = function(ae) {
|
|
73154
73172
|
var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
|
|
73155
|
-
return Oe ?
|
|
73173
|
+
return Oe ? B6(u, Oe.getNode()) !== C : !0;
|
|
73156
73174
|
};
|
|
73157
|
-
return ie(P) ? cA(C, A, X) : ie(M) ?
|
|
73175
|
+
return ie(P) ? cA(C, A, X) : ie(M) ? P6(C, A, X, u) : CE(C, A, X, f);
|
|
73158
73176
|
}, fA = function(r, u, f) {
|
|
73159
73177
|
var p = be.fromDom(r.getRoot());
|
|
73160
73178
|
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;
|
|
73161
|
-
},
|
|
73179
|
+
}, M6 = ti, B4 = function(r, u, f) {
|
|
73162
73180
|
if (f !== null) {
|
|
73163
|
-
var p = r.getParent(u.endContainer,
|
|
73181
|
+
var p = r.getParent(u.endContainer, M6);
|
|
73164
73182
|
return f === p && W2(be.fromDom(f), u);
|
|
73165
73183
|
} else
|
|
73166
73184
|
return !1;
|
|
73167
|
-
},
|
|
73185
|
+
}, R6 = function(r, u, f) {
|
|
73168
73186
|
if (f.getAttribute("data-mce-bogus") === "all")
|
|
73169
73187
|
f.parentNode.insertBefore(r.dom.createFragment(u), f);
|
|
73170
73188
|
else {
|
|
@@ -73194,7 +73212,7 @@ Required: ` + u.join(", "));
|
|
|
73194
73212
|
}, xE = function(r) {
|
|
73195
73213
|
for (var u = r; u = u.walk(); )
|
|
73196
73214
|
u.type === 1 && u.attr("data-mce-fragment", "1");
|
|
73197
|
-
}, $
|
|
73215
|
+
}, $6 = function(r) {
|
|
73198
73216
|
Ve.each(r.getElementsByTagName("*"), function(u) {
|
|
73199
73217
|
u.removeAttribute("data-mce-fragment");
|
|
73200
73218
|
});
|
|
@@ -73223,14 +73241,14 @@ Required: ` + u.join(", "));
|
|
|
73223
73241
|
if (ke = Oe.next(ke), ke)
|
|
73224
73242
|
return ke.toRange();
|
|
73225
73243
|
}, ae = p.getParent(u, p.isBlock);
|
|
73226
|
-
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !
|
|
73244
|
+
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !M6(ae) && !vA(ae) && (f = ie(M)) ? (M = f, p.remove(ae)) : p.add(ae, p.create("br", { "data-mce-bogus": "1" }))), _.setRng(M);
|
|
73227
73245
|
}
|
|
73228
73246
|
}, pA = function(r) {
|
|
73229
|
-
var u = r.dom, f =
|
|
73247
|
+
var u = r.dom, f = D6(r.selection.getRng());
|
|
73230
73248
|
r.selection.setRng(f);
|
|
73231
|
-
var p = u.getParent(f.startContainer,
|
|
73249
|
+
var p = u.getParent(f.startContainer, M6);
|
|
73232
73250
|
B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
|
|
73233
|
-
},
|
|
73251
|
+
}, F6 = function(r, u, f) {
|
|
73234
73252
|
var p, _, C, A, P, M, X = r.selection, ie = r.dom;
|
|
73235
73253
|
/^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
|
|
73236
73254
|
var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
@@ -73268,7 +73286,7 @@ Required: ` + u.join(", "));
|
|
|
73268
73286
|
}
|
|
73269
73287
|
}
|
|
73270
73288
|
if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
|
|
73271
|
-
u = ke.serialize(et),
|
|
73289
|
+
u = ke.serialize(et), R6(r, u, p);
|
|
73272
73290
|
else {
|
|
73273
73291
|
for (r.selection.setContent(Oe), p = X.getNode(), _ = r.getBody(), p.nodeType === 9 ? p = M = _ : M = p; M !== _; )
|
|
73274
73292
|
p = M, M = M.parentNode;
|
|
@@ -73276,12 +73294,12 @@ Required: ` + u.join(", "));
|
|
|
73276
73294
|
return ke.serialize(et);
|
|
73277
73295
|
}))), p === _ ? ie.setHTML(_, u) : ie.setOuterHTML(p, u);
|
|
73278
73296
|
}
|
|
73279
|
-
hA(r, se), mh(r, ie.get("mce_marker")), $
|
|
73280
|
-
},
|
|
73281
|
-
u(r), r.firstChild &&
|
|
73297
|
+
hA(r, se), mh(r, ie.get("mce_marker")), $6(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
|
|
73298
|
+
}, V6 = function(r, u) {
|
|
73299
|
+
u(r), r.firstChild && V6(r.firstChild, u), r.next && V6(r.next, u);
|
|
73282
73300
|
}, mA = function(r, u, f) {
|
|
73283
73301
|
var p = {}, _ = {}, C = [];
|
|
73284
|
-
f.firstChild &&
|
|
73302
|
+
f.firstChild && V6(f.firstChild, function(M) {
|
|
73285
73303
|
he(r, function(X) {
|
|
73286
73304
|
X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
|
|
73287
73305
|
filter: X,
|
|
@@ -73343,12 +73361,12 @@ Required: ` + u.join(", "));
|
|
|
73343
73361
|
break;
|
|
73344
73362
|
}
|
|
73345
73363
|
return me.none();
|
|
73346
|
-
},
|
|
73364
|
+
}, L6 = function(r, u, f) {
|
|
73347
73365
|
var p = u(r), _ = EE(f);
|
|
73348
73366
|
return p.orThunk(function() {
|
|
73349
73367
|
return _(r) ? me.none() : EA(r, u, _);
|
|
73350
73368
|
});
|
|
73351
|
-
},
|
|
73369
|
+
}, U6 = jp, SE = function(r, u, f) {
|
|
73352
73370
|
var p = r.formatter.get(f);
|
|
73353
73371
|
if (p) {
|
|
73354
73372
|
for (var _ = 0; _ < p.length; _++)
|
|
@@ -73356,13 +73374,13 @@ Required: ` + u.join(", "));
|
|
|
73356
73374
|
return !0;
|
|
73357
73375
|
}
|
|
73358
73376
|
return !1;
|
|
73359
|
-
},
|
|
73377
|
+
}, z6 = function(r, u, f, p) {
|
|
73360
73378
|
var _ = r.dom.getRoot();
|
|
73361
73379
|
return u === _ ? !1 : (u = r.dom.getParent(u, function(C) {
|
|
73362
73380
|
return SE(r, C, f) ? !0 : C.parentNode === _ || !!ld(r, C, f, p, !0);
|
|
73363
73381
|
}), ld(r, u, f, p));
|
|
73364
73382
|
}, kE = function(r, u, f) {
|
|
73365
|
-
if (
|
|
73383
|
+
if (U6(u, f.inline) || U6(u, f.block))
|
|
73366
73384
|
return !0;
|
|
73367
73385
|
if (f.selector)
|
|
73368
73386
|
return u.nodeType === 1 && r.is(u, f.selector);
|
|
@@ -73373,7 +73391,7 @@ Required: ` + u.join(", "));
|
|
|
73373
73391
|
if (M) {
|
|
73374
73392
|
if (typeof M.length > "u") {
|
|
73375
73393
|
for (A in M)
|
|
73376
|
-
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), _ && !P && !f.exact || (!_ || f.exact) && !
|
|
73394
|
+
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), _ && !P && !f.exact || (!_ || f.exact) && !U6(P, G1(r, rf(M[A], C), A))))
|
|
73377
73395
|
return;
|
|
73378
73396
|
} else
|
|
73379
73397
|
for (X = 0; X < M.length; X++)
|
|
@@ -73396,11 +73414,11 @@ Required: ` + u.join(", "));
|
|
|
73396
73414
|
}
|
|
73397
73415
|
}, E_ = function(r, u, f, p) {
|
|
73398
73416
|
if (p)
|
|
73399
|
-
return
|
|
73400
|
-
if (p = r.selection.getNode(),
|
|
73417
|
+
return z6(r, p, u, f);
|
|
73418
|
+
if (p = r.selection.getNode(), z6(r, p, u, f))
|
|
73401
73419
|
return !0;
|
|
73402
73420
|
var _ = r.selection.getStart();
|
|
73403
|
-
return !!(_ !== p &&
|
|
73421
|
+
return !!(_ !== p && z6(r, _, u, f));
|
|
73404
73422
|
}, NE = function(r, u, f) {
|
|
73405
73423
|
var p = [], _ = {}, C = r.selection.getStart();
|
|
73406
73424
|
return r.dom.getParent(C, function(A) {
|
|
@@ -73416,7 +73434,7 @@ Required: ` + u.join(", "));
|
|
|
73416
73434
|
return ld(r, _.dom, C) ? me.some(C) : me.none();
|
|
73417
73435
|
};
|
|
73418
73436
|
return me.from(r.selection.getStart(!0)).bind(function(_) {
|
|
73419
|
-
return
|
|
73437
|
+
return L6(be.fromDom(_), function(C) {
|
|
73420
73438
|
return Jr(u, function(A) {
|
|
73421
73439
|
return p(C, A);
|
|
73422
73440
|
});
|
|
@@ -73457,7 +73475,7 @@ Required: ` + u.join(", "));
|
|
|
73457
73475
|
return r;
|
|
73458
73476
|
}
|
|
73459
73477
|
return null;
|
|
73460
|
-
},
|
|
73478
|
+
}, H6 = function(r) {
|
|
73461
73479
|
var u = be.fromTag("span");
|
|
73462
73480
|
return K(u, {
|
|
73463
73481
|
id: Tg,
|
|
@@ -73467,7 +73485,7 @@ Required: ` + u.join(", "));
|
|
|
73467
73485
|
}, TA = function(r) {
|
|
73468
73486
|
var u = OE(r);
|
|
73469
73487
|
return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
|
|
73470
|
-
},
|
|
73488
|
+
}, W6 = function(r, u, f) {
|
|
73471
73489
|
f === void 0 && (f = !0);
|
|
73472
73490
|
var p = r.dom, _ = r.selection;
|
|
73473
73491
|
if (DE(u))
|
|
@@ -73476,14 +73494,14 @@ Required: ` + u.join(", "));
|
|
|
73476
73494
|
var C = _.getRng(), A = p.getParent(u, p.isBlock), P = C.startContainer, M = C.startOffset, X = C.endContainer, ie = C.endOffset, ae = TA(u);
|
|
73477
73495
|
p.remove(u, !0), P === ae && M > 0 && C.setStart(ae, M - 1), X === ae && ie > 0 && C.setEnd(ae, ie - 1), A && p.isEmpty(A) && js(be.fromDom(A)), _.setRng(C);
|
|
73478
73496
|
}
|
|
73479
|
-
},
|
|
73497
|
+
}, j6 = function(r, u, f) {
|
|
73480
73498
|
f === void 0 && (f = !0);
|
|
73481
73499
|
var p = r.dom, _ = r.selection;
|
|
73482
73500
|
if (u)
|
|
73483
|
-
|
|
73501
|
+
W6(r, u, f);
|
|
73484
73502
|
else if (u = rh(r.getBody(), _.getStart()), !u)
|
|
73485
73503
|
for (; u = p.get(Tg); )
|
|
73486
|
-
|
|
73504
|
+
W6(r, u, !1);
|
|
73487
73505
|
}, BE = function(r, u, f) {
|
|
73488
73506
|
var p = r.dom, _ = p.getParent(f, Ue(gv, r));
|
|
73489
73507
|
_ && p.isEmpty(_) ? f.parentNode.replaceChild(u, f) : (sm(be.fromDom(f)), p.isEmpty(f) ? f.parentNode.replaceChild(u, f) : p.insertAfter(u, f));
|
|
@@ -73515,7 +73533,7 @@ Required: ` + u.join(", "));
|
|
|
73515
73533
|
var se = ru(r, A, r.formatter.get(u));
|
|
73516
73534
|
se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
|
|
73517
73535
|
} else
|
|
73518
|
-
(!p || _.nodeValue !== sd) && (p = IE(r.getDoc(),
|
|
73536
|
+
(!p || _.nodeValue !== sd) && (p = IE(r.getDoc(), H6(!0).dom), _ = p.firstChild, A.insertNode(p), P = 1), r.formatter.apply(u, f, p), C.setCursorLocation(_, P);
|
|
73519
73537
|
}, ME = function(r, u, f, p) {
|
|
73520
73538
|
var _ = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
|
|
73521
73539
|
for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
|
|
@@ -73532,27 +73550,27 @@ Required: ` + u.join(", "));
|
|
|
73532
73550
|
var Oe = ru(r, ie, r.formatter.get(u), !0);
|
|
73533
73551
|
Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
|
|
73534
73552
|
} else {
|
|
73535
|
-
var $e = rh(r.getBody(), M), Ee =
|
|
73553
|
+
var $e = rh(r.getBody(), M), Ee = H6(!1).dom;
|
|
73536
73554
|
BE(r, Ee, $e !== null ? $e : M);
|
|
73537
73555
|
var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
|
|
73538
|
-
|
|
73556
|
+
W6(r, $e, !1), C.setCursorLocation(et, 1), _.isEmpty(M) && _.remove(M);
|
|
73539
73557
|
}
|
|
73540
|
-
},
|
|
73558
|
+
}, G6 = function(r, u) {
|
|
73541
73559
|
var f = r.selection, p = r.getBody();
|
|
73542
|
-
|
|
73560
|
+
j6(r, null, !1), (u === 8 || u === 46) && f.isCollapsed() && f.getStart().innerHTML === sd && j6(r, rh(p, f.getStart())), (u === 37 || u === 39) && j6(r, rh(p, f.getStart()));
|
|
73543
73561
|
}, AA = function(r) {
|
|
73544
73562
|
r.on("mouseup keydown", function(u) {
|
|
73545
|
-
|
|
73563
|
+
G6(r, u.keyCode);
|
|
73546
73564
|
});
|
|
73547
73565
|
}, IA = function(r, u) {
|
|
73548
|
-
var f =
|
|
73566
|
+
var f = H6(!1), p = Ng(u, f.dom);
|
|
73549
73567
|
return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
|
|
73550
73568
|
}, DA = function(r, u) {
|
|
73551
73569
|
var f = r.schema.getTextInlineElements();
|
|
73552
73570
|
return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
|
|
73553
73571
|
}, OA = function(r) {
|
|
73554
73572
|
return gc(r.dom) && DE(r.dom);
|
|
73555
|
-
}, $4 = {}, RE = sa, F4 = Zo,
|
|
73573
|
+
}, $4 = {}, RE = sa, F4 = Zo, q6 = function(r, u) {
|
|
73556
73574
|
var f = $4[r];
|
|
73557
73575
|
f || ($4[r] = []), $4[r].push(u);
|
|
73558
73576
|
}, $E = function(r, u) {
|
|
@@ -73560,7 +73578,7 @@ Required: ` + u.join(", "));
|
|
|
73560
73578
|
f(u);
|
|
73561
73579
|
});
|
|
73562
73580
|
};
|
|
73563
|
-
|
|
73581
|
+
q6("pre", function(r) {
|
|
73564
73582
|
var u = r.selection.getRng(), f, p = function(A) {
|
|
73565
73583
|
return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
|
|
73566
73584
|
}, _ = function(A, P) {
|
|
@@ -73570,7 +73588,7 @@ Required: ` + u.join(", "));
|
|
|
73570
73588
|
_(A.previousSibling, A);
|
|
73571
73589
|
}));
|
|
73572
73590
|
});
|
|
73573
|
-
var
|
|
73591
|
+
var K6 = Ve.each, Y6 = function(r) {
|
|
73574
73592
|
return ro(r) && !Ts(r) && !gc(r) && !wf(r);
|
|
73575
73593
|
}, FE = function(r, u) {
|
|
73576
73594
|
var f;
|
|
@@ -73599,15 +73617,15 @@ Required: ` + u.join(", "));
|
|
|
73599
73617
|
}, BA = function(r, u, f) {
|
|
73600
73618
|
if (u.clear_child_styles) {
|
|
73601
73619
|
var p = u.links ? "*:not(a)" : "*";
|
|
73602
|
-
|
|
73603
|
-
|
|
73620
|
+
K6(r.select(p, f), function(_) {
|
|
73621
|
+
Y6(_) && K6(u.styles, function(C, A) {
|
|
73604
73622
|
r.setStyle(_, A, "");
|
|
73605
73623
|
});
|
|
73606
73624
|
});
|
|
73607
73625
|
}
|
|
73608
73626
|
}, $r = function(r, u, f) {
|
|
73609
|
-
|
|
73610
|
-
|
|
73627
|
+
K6(r.childNodes, function(p) {
|
|
73628
|
+
Y6(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
|
|
73611
73629
|
});
|
|
73612
73630
|
}, PA = function(r, u) {
|
|
73613
73631
|
u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
|
|
@@ -73627,7 +73645,7 @@ Required: ` + u.join(", "));
|
|
|
73627
73645
|
return /^(TR|TH|TD)$/.test(r.nodeName);
|
|
73628
73646
|
}, L4 = function(r, u, f) {
|
|
73629
73647
|
return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
|
|
73630
|
-
},
|
|
73648
|
+
}, X6 = function(r, u, f) {
|
|
73631
73649
|
var p, _;
|
|
73632
73650
|
if (p = u[f ? "startContainer" : "endContainer"], _ = u[f ? "startOffset" : "endOffset"], ro(p)) {
|
|
73633
73651
|
var C = p.childNodes.length - 1;
|
|
@@ -73641,7 +73659,7 @@ Required: ` + u.join(", "));
|
|
|
73641
73659
|
return r.nodeName === "TR" && p[f] || p;
|
|
73642
73660
|
}
|
|
73643
73661
|
return r;
|
|
73644
|
-
},
|
|
73662
|
+
}, J6 = function(r, u, f, p) {
|
|
73645
73663
|
var _ = r.create(f, p);
|
|
73646
73664
|
return u.parentNode.insertBefore(_, u), _.appendChild(u), _;
|
|
73647
73665
|
}, GE = function(r, u, f, p, _) {
|
|
@@ -73652,18 +73670,18 @@ Required: ` + u.join(", "));
|
|
|
73652
73670
|
return !0;
|
|
73653
73671
|
if (f.selector)
|
|
73654
73672
|
return ro(u) && r.is(u, f.selector);
|
|
73655
|
-
},
|
|
73673
|
+
}, Z6 = function(r, u) {
|
|
73656
73674
|
return u.links && r.nodeName === "A";
|
|
73657
73675
|
}, Ag = function(r, u, f, p) {
|
|
73658
73676
|
return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
|
|
73659
73677
|
}, qE = function(r, u, f) {
|
|
73660
73678
|
var p = u.parentNode, _, C = r.dom, A = Oi(r);
|
|
73661
73679
|
f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
|
|
73662
|
-
_v(r, A, P.nodeName.toLowerCase()) ? _ ? _.appendChild(P) : (_ =
|
|
73680
|
+
_v(r, A, P.nodeName.toLowerCase()) ? _ ? _.appendChild(P) : (_ = J6(C, P, A), C.setAttribs(_, r.settings.forced_root_block_attrs)) : _ = 0;
|
|
73663
73681
|
}) : 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);
|
|
73664
73682
|
}, k_ = function(r, u, f, p, _) {
|
|
73665
73683
|
var C, A = r.dom;
|
|
73666
|
-
if (!MA(A, p, u) && !
|
|
73684
|
+
if (!MA(A, p, u) && !Z6(p, u))
|
|
73667
73685
|
return S_.keep();
|
|
73668
73686
|
var P = p;
|
|
73669
73687
|
if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
|
|
@@ -73732,7 +73750,7 @@ Required: ` + u.join(", "));
|
|
|
73732
73750
|
C && (!A.mixed || !ae.isBlock(f)) && (p = ae.split(f, p)), X && (_.parentNode.insertBefore(X, _), ie.appendChild(_), A.inline && LE(ae, A, P, X));
|
|
73733
73751
|
}
|
|
73734
73752
|
return p;
|
|
73735
|
-
},
|
|
73753
|
+
}, Q6 = function(r, u, f, p, _) {
|
|
73736
73754
|
var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
|
|
73737
73755
|
var et = T_(r, ot, u, f, _);
|
|
73738
73756
|
return RA(r, C, et, ot, ot, !0, A, f);
|
|
@@ -73756,7 +73774,7 @@ Required: ` + u.join(", "));
|
|
|
73756
73774
|
}, Oe = function(ot) {
|
|
73757
73775
|
var et, ut, yt = ru(r, ot, C, ot.collapsed);
|
|
73758
73776
|
if (A.split) {
|
|
73759
|
-
if (yt = fh(yt), et =
|
|
73777
|
+
if (yt = fh(yt), et = X6(r, yt, !0), ut = X6(r, yt), et !== ut) {
|
|
73760
73778
|
if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
|
|
73761
73779
|
var Mt = me.from(et.firstChild).getOr(et);
|
|
73762
73780
|
ie(GE(M, Mt, !0, "span", {
|
|
@@ -73773,10 +73791,10 @@ Required: ` + u.join(", "));
|
|
|
73773
73791
|
})), ke(!1);
|
|
73774
73792
|
return;
|
|
73775
73793
|
}
|
|
73776
|
-
et =
|
|
73794
|
+
et = J6(M, et, "span", {
|
|
73777
73795
|
id: "_start",
|
|
73778
73796
|
"data-mce-type": "bookmark"
|
|
73779
|
-
}), ut =
|
|
73797
|
+
}), ut = J6(M, ut, "span", {
|
|
73780
73798
|
id: "_end",
|
|
73781
73799
|
"data-mce-type": "bookmark"
|
|
73782
73800
|
});
|
|
@@ -73826,7 +73844,7 @@ Required: ` + u.join(", "));
|
|
|
73826
73844
|
!X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
|
|
73827
73845
|
eg(r, Oe);
|
|
73828
73846
|
}), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, _);
|
|
73829
|
-
},
|
|
73847
|
+
}, e8 = Ve.each, $A = function(r, u, f, p) {
|
|
73830
73848
|
var _ = function(C) {
|
|
73831
73849
|
if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
|
|
73832
73850
|
var A = Gp(r, C.parentNode);
|
|
@@ -73839,9 +73857,9 @@ Required: ` + u.join(", "));
|
|
|
73839
73857
|
}, VA = function(r, u, f, p) {
|
|
73840
73858
|
(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));
|
|
73841
73859
|
}, KE = function(r, u, f, p) {
|
|
73842
|
-
|
|
73843
|
-
|
|
73844
|
-
|
|
73860
|
+
e8(u, function(_) {
|
|
73861
|
+
e8(r.dom.select(_.inline, p), function(C) {
|
|
73862
|
+
Y6(C) && vl(r, _, f, C, _.exact ? C : null);
|
|
73845
73863
|
}), BA(r.dom, _, p);
|
|
73846
73864
|
});
|
|
73847
73865
|
}, U4 = function(r, u, f, p, _) {
|
|
@@ -73849,7 +73867,7 @@ Required: ` + u.join(", "));
|
|
|
73849
73867
|
if (ld(r, C, f, p))
|
|
73850
73868
|
return vl(r, u, p, _), !0;
|
|
73851
73869
|
});
|
|
73852
|
-
}, Sc = Ve.each,
|
|
73870
|
+
}, Sc = Ve.each, t8 = function(r, u) {
|
|
73853
73871
|
return da(r, u);
|
|
73854
73872
|
}, z4 = function(r) {
|
|
73855
73873
|
return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
|
|
@@ -73871,7 +73889,7 @@ Required: ` + u.join(", "));
|
|
|
73871
73889
|
return da(_, p) && ws(be.fromDom(f.parentNode), !1) && !C;
|
|
73872
73890
|
} else
|
|
73873
73891
|
return !1;
|
|
73874
|
-
},
|
|
73892
|
+
}, n8 = function(r, u, f, p) {
|
|
73875
73893
|
var _ = r.formatter.get(u), C = _[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
|
|
73876
73894
|
if (ut = ut || C, et) {
|
|
73877
73895
|
if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
|
|
@@ -73912,12 +73930,12 @@ Required: ` + u.join(", "));
|
|
|
73912
73930
|
}
|
|
73913
73931
|
if (ih(C)) {
|
|
73914
73932
|
var pr = ie(_, er);
|
|
73915
|
-
if (Bn(er) && K1(et, er.parentNode) && ie(_, er.parentNode), !
|
|
73933
|
+
if (Bn(er) && K1(et, er.parentNode) && ie(_, er.parentNode), !t8(C, "inline") || pr) {
|
|
73916
73934
|
Dn = null;
|
|
73917
73935
|
return;
|
|
73918
73936
|
}
|
|
73919
73937
|
}
|
|
73920
|
-
Fn && !br && _v(r, Hn, ir) && _v(r, mr, Hn) && !(!Mt && er.nodeType === 3 && er.nodeValue.length === 1 && er.nodeValue.charCodeAt(0) === 65279) && !gc(er) && (!
|
|
73938
|
+
Fn && !br && _v(r, Hn, ir) && _v(r, mr, Hn) && !(!Mt && er.nodeType === 3 && er.nodeValue.length === 1 && er.nodeValue.charCodeAt(0) === 65279) && !gc(er) && (!t8(C, "inline") || !et.isBlock(er)) ? (Dn || (Dn = et.clone(yr, !1), er.parentNode.insertBefore(Dn, er), hn.push(Dn)), Dn.appendChild(er)) : (Dn = null, Sc(Ve.grep(er.childNodes), qr), br && (Fn = Gn), Dn = null);
|
|
73921
73939
|
};
|
|
73922
73940
|
Sc(xr, qr);
|
|
73923
73941
|
}), C.links === !0 && Sc(hn, function(xr) {
|
|
@@ -73970,7 +73988,7 @@ Required: ` + u.join(", "));
|
|
|
73970
73988
|
ae(P, p, null, !0);
|
|
73971
73989
|
else if (!A || !M2(C) || wv(r).length) {
|
|
73972
73990
|
var Ee = M.getNode(), ot = _[0];
|
|
73973
|
-
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) &&
|
|
73991
|
+
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) && n8(r, ot.defaultBlock), M.setRng(D6(M.getRng())), Jf(M, !0, function(et) {
|
|
73974
73992
|
eg(r, function(ut, yt) {
|
|
73975
73993
|
var Mt = yt ? ut : ru(r, ut, _);
|
|
73976
73994
|
ae(P, Mt);
|
|
@@ -74038,13 +74056,13 @@ Required: ` + u.join(", "));
|
|
|
74038
74056
|
};
|
|
74039
74057
|
}, qA = function(r, u, f, p) {
|
|
74040
74058
|
var _ = r.formatter.get(u);
|
|
74041
|
-
E_(r, u, f, p) && (!("toggle" in _[0]) || _[0].toggle) ?
|
|
74042
|
-
},
|
|
74059
|
+
E_(r, u, f, p) && (!("toggle" in _[0]) || _[0].toggle) ? Q6(r, u, f, p) : n8(r, u, f, p);
|
|
74060
|
+
}, r8 = function(r, u) {
|
|
74043
74061
|
var f = u || document, p = f.createDocumentFragment();
|
|
74044
74062
|
return he(r, function(_) {
|
|
74045
74063
|
p.appendChild(_.dom);
|
|
74046
74064
|
}), be.fromDom(p);
|
|
74047
|
-
},
|
|
74065
|
+
}, o8 = function(r, u, f) {
|
|
74048
74066
|
return {
|
|
74049
74067
|
element: r,
|
|
74050
74068
|
width: u,
|
|
@@ -74096,7 +74114,7 @@ Required: ` + u.join(", "));
|
|
|
74096
74114
|
return C;
|
|
74097
74115
|
}, kc = function(r, u, f) {
|
|
74098
74116
|
var p = u.x, _ = u.y, C = f.x, A = f.y, P = _ < A ? ZE(r, p, _, C, A) : ZE(r, p, A, C, _);
|
|
74099
|
-
return
|
|
74117
|
+
return o8(r.element, XE(P), P);
|
|
74100
74118
|
}, W4 = function(r, u) {
|
|
74101
74119
|
var f = Hf(r.element), p = be.fromTag("tbody");
|
|
74102
74120
|
return yf(p, u), Ha(f, p), f;
|
|
@@ -74109,13 +74127,13 @@ Required: ` + u.join(", "));
|
|
|
74109
74127
|
return yf(p, f), p;
|
|
74110
74128
|
});
|
|
74111
74129
|
}, A_ = function(r) {
|
|
74112
|
-
var u =
|
|
74130
|
+
var u = o8(Hf(r), 0, []);
|
|
74113
74131
|
return he(ma(r, "tr"), function(f, p) {
|
|
74114
74132
|
he(ma(f, "td,th"), function(_, C) {
|
|
74115
74133
|
YE(u, YA(u, C, p), p, f, _);
|
|
74116
74134
|
});
|
|
74117
|
-
}),
|
|
74118
|
-
},
|
|
74135
|
+
}), o8(u.element, XE(u.rows), u.rows);
|
|
74136
|
+
}, a8 = function(r) {
|
|
74119
74137
|
return W4(r, N_(r));
|
|
74120
74138
|
}, XA = function(r, u, f) {
|
|
74121
74139
|
return JE(r, u).bind(function(p) {
|
|
@@ -74145,7 +74163,7 @@ Required: ` + u.join(", "));
|
|
|
74145
74163
|
var f = Un(u, function(p, _) {
|
|
74146
74164
|
return Ha(_, p), _;
|
|
74147
74165
|
}, r);
|
|
74148
|
-
return u.length > 0 ?
|
|
74166
|
+
return u.length > 0 ? r8([f]) : f;
|
|
74149
74167
|
}, Og = function(r) {
|
|
74150
74168
|
return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
|
|
74151
74169
|
return [
|
|
@@ -74153,22 +74171,22 @@ Required: ` + u.join(", "));
|
|
|
74153
74171
|
u
|
|
74154
74172
|
];
|
|
74155
74173
|
}) : ts(r) ? [r] : [];
|
|
74156
|
-
},
|
|
74174
|
+
}, i8 = function(r, u) {
|
|
74157
74175
|
var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), _ = Pt(p, function(P) {
|
|
74158
74176
|
return Cu(P) || Hc(P);
|
|
74159
74177
|
}), C = Ig(p, u), A = _.concat(C.length ? C : Og(f));
|
|
74160
74178
|
return ne(A, Hf);
|
|
74161
74179
|
}, QE = function() {
|
|
74162
|
-
return
|
|
74180
|
+
return r8([]);
|
|
74163
74181
|
}, ZA = function(r, u) {
|
|
74164
|
-
return Dg(be.fromDom(u.cloneContents()),
|
|
74182
|
+
return Dg(be.fromDom(u.cloneContents()), i8(r, u));
|
|
74165
74183
|
}, eS = function(r, u) {
|
|
74166
74184
|
return Uc(u, "table", Ue(yo, r));
|
|
74167
74185
|
}, tS = function(r, u) {
|
|
74168
74186
|
return eS(r, u[0]).bind(function(f) {
|
|
74169
74187
|
var p = u[0], _ = u[u.length - 1], C = A_(f);
|
|
74170
74188
|
return XA(C, p, _).map(function(A) {
|
|
74171
|
-
return
|
|
74189
|
+
return r8([a8(A)]);
|
|
74172
74190
|
});
|
|
74173
74191
|
}).getOrThunk(QE);
|
|
74174
74192
|
}, QA = function(r, u) {
|
|
@@ -74213,7 +74231,7 @@ Required: ` + u.join(", "));
|
|
|
74213
74231
|
f.getInner = !0;
|
|
74214
74232
|
var p = rI(r, f);
|
|
74215
74233
|
return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
|
|
74216
|
-
},
|
|
74234
|
+
}, l8 = 0, aS = 1, iS = 2, I_ = function(r, u) {
|
|
74217
74235
|
var f = r.length + u.length + 2, p = new Array(f), _ = new Array(f), C = function(ie, ae, se) {
|
|
74218
74236
|
return {
|
|
74219
74237
|
start: ie,
|
|
@@ -74225,7 +74243,7 @@ Required: ` + u.join(", "));
|
|
|
74225
74243
|
if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
|
|
74226
74244
|
for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
|
|
74227
74245
|
Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
|
|
74228
|
-
|
|
74246
|
+
l8,
|
|
74229
74247
|
r[Ee]
|
|
74230
74248
|
]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
|
|
74231
74249
|
iS,
|
|
@@ -74238,7 +74256,7 @@ Required: ` + u.join(", "));
|
|
|
74238
74256
|
A(ie, $e.start, se, $e.start - $e.diag, Oe);
|
|
74239
74257
|
for (var et = $e.start; et < $e.end; ++et)
|
|
74240
74258
|
Oe.push([
|
|
74241
|
-
|
|
74259
|
+
l8,
|
|
74242
74260
|
r[et]
|
|
74243
74261
|
]);
|
|
74244
74262
|
A($e.end, ae, $e.end - $e.diag, ke, Oe);
|
|
@@ -74270,7 +74288,7 @@ Required: ` + u.join(", "));
|
|
|
74270
74288
|
}
|
|
74271
74289
|
}, X = [];
|
|
74272
74290
|
return A(0, r.length, 0, u.length, X), X;
|
|
74273
|
-
},
|
|
74291
|
+
}, s8 = function(r) {
|
|
74274
74292
|
return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
|
|
74275
74293
|
}, oI = function(r) {
|
|
74276
74294
|
var u, f = document.createElement("div"), p = document.createDocumentFragment();
|
|
@@ -74292,19 +74310,19 @@ Required: ` + u.join(", "));
|
|
|
74292
74310
|
}, sS = function(r, u) {
|
|
74293
74311
|
var f = 0;
|
|
74294
74312
|
he(r, function(p) {
|
|
74295
|
-
p[0] ===
|
|
74313
|
+
p[0] === l8 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
|
|
74296
74314
|
});
|
|
74297
74315
|
}, iI = function(r) {
|
|
74298
|
-
return Pt(ne(Er(r.childNodes),
|
|
74316
|
+
return Pt(ne(Er(r.childNodes), s8), function(u) {
|
|
74299
74317
|
return u.length > 0;
|
|
74300
74318
|
});
|
|
74301
74319
|
}, lI = function(r, u) {
|
|
74302
|
-
var f = ne(Er(u.childNodes),
|
|
74320
|
+
var f = ne(Er(u.childNodes), s8);
|
|
74303
74321
|
return sS(I_(f, r), u), u;
|
|
74304
|
-
},
|
|
74305
|
-
return
|
|
74322
|
+
}, u8 = Wa(me.none()), uS = function() {
|
|
74323
|
+
return u8.get().getOrThunk(function() {
|
|
74306
74324
|
var r = document.implementation.createHTMLDocument("undo");
|
|
74307
|
-
return
|
|
74325
|
+
return u8.set(me.some(r)), r;
|
|
74308
74326
|
});
|
|
74309
74327
|
}, cS = function(r) {
|
|
74310
74328
|
return r.indexOf("</iframe>") !== -1;
|
|
@@ -74324,13 +74342,13 @@ Required: ` + u.join(", "));
|
|
|
74324
74342
|
bookmark: null,
|
|
74325
74343
|
beforeBookmark: null
|
|
74326
74344
|
};
|
|
74327
|
-
},
|
|
74345
|
+
}, c8 = function(r) {
|
|
74328
74346
|
var u = iI(r.getBody()), f = He(u, function(_) {
|
|
74329
74347
|
var C = k4(r.serializer, _);
|
|
74330
74348
|
return C.length > 0 ? [C] : [];
|
|
74331
74349
|
}), p = f.join("");
|
|
74332
74350
|
return cS(p) ? fS(f) : sI(p);
|
|
74333
|
-
},
|
|
74351
|
+
}, f8 = function(r, u, f) {
|
|
74334
74352
|
u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
|
|
74335
74353
|
}, D_ = function(r) {
|
|
74336
74354
|
return r.type === "fragmented" ? r.fragments.join("") : r.content;
|
|
@@ -74343,19 +74361,19 @@ Required: ` + u.join(", "));
|
|
|
74343
74361
|
return G4(r) === G4(u);
|
|
74344
74362
|
}, Cm = function(r, u) {
|
|
74345
74363
|
return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
|
|
74346
|
-
},
|
|
74364
|
+
}, d8 = function(r) {
|
|
74347
74365
|
return r.get() === 0;
|
|
74348
74366
|
}, q4 = function(r, u, f) {
|
|
74349
|
-
|
|
74367
|
+
d8(f) && (r.typing = u);
|
|
74350
74368
|
}, Mv = function(r, u) {
|
|
74351
74369
|
r.typing && (q4(r, !1, u), r.add());
|
|
74352
|
-
},
|
|
74370
|
+
}, h8 = function(r) {
|
|
74353
74371
|
r.typing && (r.typing = !1, r.add());
|
|
74354
74372
|
}, vS = function(r, u, f) {
|
|
74355
|
-
|
|
74373
|
+
d8(u) && f.set(me.some(I1(r.selection)));
|
|
74356
74374
|
}, O_ = function(r, u, f, p, _, C, A) {
|
|
74357
|
-
var P =
|
|
74358
|
-
if (C = C || {}, C = Ve.extend(C, P),
|
|
74375
|
+
var P = c8(r);
|
|
74376
|
+
if (C = C || {}, C = Ve.extend(C, P), d8(p) === !1 || r.removed)
|
|
74359
74377
|
return null;
|
|
74360
74378
|
var M = u.data[f.get()];
|
|
74361
74379
|
if (r.fire("BeforeAddUndo", {
|
|
@@ -74385,21 +74403,21 @@ Required: ` + u.join(", "));
|
|
|
74385
74403
|
}, uI = function(r, u, f, p, _) {
|
|
74386
74404
|
if (u.transact(p)) {
|
|
74387
74405
|
var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
|
|
74388
|
-
|
|
74406
|
+
f8(r, A, !0), u.transact(_) && (u.data[f.get() - 1].beforeBookmark = C);
|
|
74389
74407
|
}
|
|
74390
74408
|
}, mS = function(r, u, f) {
|
|
74391
74409
|
var p;
|
|
74392
|
-
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()],
|
|
74410
|
+
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()], f8(r, p, !1), r.setDirty(!0), r.fire("Redo", { level: p })), p;
|
|
74393
74411
|
}, gS = function(r, u, f, p) {
|
|
74394
74412
|
var _;
|
|
74395
|
-
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), _ = u.data[p.get()],
|
|
74413
|
+
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), _ = u.data[p.get()], f8(r, _, !0), r.setDirty(!0), r.fire("Undo", { level: _ })), _;
|
|
74396
74414
|
}, cI = function(r) {
|
|
74397
74415
|
r.clear(), r.add();
|
|
74398
74416
|
}, fI = function(r, u, f) {
|
|
74399
|
-
return f.get() > 0 || u.typing && u.data[0] && !Cm(
|
|
74417
|
+
return f.get() > 0 || u.typing && u.data[0] && !Cm(c8(r), u.data[0]);
|
|
74400
74418
|
}, dI = function(r, u) {
|
|
74401
74419
|
return u.get() < r.data.length - 1 && !r.typing;
|
|
74402
|
-
},
|
|
74420
|
+
}, v8 = function(r, u, f) {
|
|
74403
74421
|
return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
|
|
74404
74422
|
}, hI = function(r, u) {
|
|
74405
74423
|
try {
|
|
@@ -74454,7 +74472,7 @@ Required: ` + u.join(", "));
|
|
|
74454
74472
|
return dI(u, f);
|
|
74455
74473
|
},
|
|
74456
74474
|
transact: function(u, f, p) {
|
|
74457
|
-
return
|
|
74475
|
+
return v8(u, f, p);
|
|
74458
74476
|
},
|
|
74459
74477
|
ignore: function(u, f) {
|
|
74460
74478
|
return hI(u, f);
|
|
@@ -74480,10 +74498,10 @@ Required: ` + u.join(", "));
|
|
|
74480
74498
|
return SA(r, u);
|
|
74481
74499
|
},
|
|
74482
74500
|
apply: function(u, f, p) {
|
|
74483
|
-
return
|
|
74501
|
+
return n8(r, u, f, p);
|
|
74484
74502
|
},
|
|
74485
74503
|
remove: function(u, f, p, _) {
|
|
74486
|
-
return
|
|
74504
|
+
return Q6(r, u, f, p, _);
|
|
74487
74505
|
},
|
|
74488
74506
|
toggle: function(u, f, p) {
|
|
74489
74507
|
return qA(r, u, f, p);
|
|
@@ -74500,7 +74518,7 @@ Required: ` + u.join(", "));
|
|
|
74500
74518
|
return CA(r, u, f);
|
|
74501
74519
|
},
|
|
74502
74520
|
insertContent: function(u, f) {
|
|
74503
|
-
return
|
|
74521
|
+
return F6(r, u, f);
|
|
74504
74522
|
},
|
|
74505
74523
|
addVisual: function(u) {
|
|
74506
74524
|
return vI(r, u);
|
|
@@ -74654,7 +74672,7 @@ Required: ` + u.join(", "));
|
|
|
74654
74672
|
return u.rtcInstance = pI(), Li.reject(p);
|
|
74655
74673
|
}));
|
|
74656
74674
|
});
|
|
74657
|
-
},
|
|
74675
|
+
}, p8 = function(r) {
|
|
74658
74676
|
return r.rtcInstance ? r.rtcInstance : B_(r);
|
|
74659
74677
|
}, Xi = function(r) {
|
|
74660
74678
|
var u = r.rtcInstance;
|
|
@@ -74665,7 +74683,7 @@ Required: ` + u.join(", "));
|
|
|
74665
74683
|
Xi(r).undoManager.beforeChange(u, f);
|
|
74666
74684
|
}, gI = function(r, u, f, p, _, C, A) {
|
|
74667
74685
|
return Xi(r).undoManager.addUndoLevel(u, f, p, _, C, A);
|
|
74668
|
-
},
|
|
74686
|
+
}, m8 = function(r, u, f, p) {
|
|
74669
74687
|
return Xi(r).undoManager.undo(u, f, p);
|
|
74670
74688
|
}, _I = function(r, u, f) {
|
|
74671
74689
|
return Xi(r).undoManager.redo(u, f);
|
|
@@ -74685,7 +74703,7 @@ Required: ` + u.join(", "));
|
|
|
74685
74703
|
Xi(r).undoManager.extra(u, f, p, _);
|
|
74686
74704
|
}, EI = function(r, u, f, p) {
|
|
74687
74705
|
return Xi(r).formatter.match(u, f, p);
|
|
74688
|
-
},
|
|
74706
|
+
}, g8 = function(r, u, f) {
|
|
74689
74707
|
return Xi(r).formatter.matchAll(u, f);
|
|
74690
74708
|
}, xS = function(r, u, f, p, _) {
|
|
74691
74709
|
return Xi(r).formatter.matchNode(u, f, p, _);
|
|
@@ -74701,12 +74719,12 @@ Required: ` + u.join(", "));
|
|
|
74701
74719
|
Xi(r).formatter.toggle(u, f, p);
|
|
74702
74720
|
}, SI = function(r, u, f, p, _) {
|
|
74703
74721
|
return _ === void 0 && (_ = !1), Xi(r).formatter.formatChanged(u, f, p, _);
|
|
74704
|
-
},
|
|
74705
|
-
return
|
|
74722
|
+
}, _8 = function(r, u, f) {
|
|
74723
|
+
return p8(r).editor.getContent(u, f);
|
|
74706
74724
|
}, kI = function(r, u, f) {
|
|
74707
|
-
return
|
|
74725
|
+
return p8(r).editor.setContent(u, f);
|
|
74708
74726
|
}, K4 = function(r, u, f) {
|
|
74709
|
-
return
|
|
74727
|
+
return p8(r).editor.insertContent(u, f);
|
|
74710
74728
|
}, TI = function(r, u, f) {
|
|
74711
74729
|
return Xi(r).selection.getContent(u, f);
|
|
74712
74730
|
}, NI = function(r, u) {
|
|
@@ -74715,7 +74733,7 @@ Required: ` + u.join(", "));
|
|
|
74715
74733
|
u === void 0 && (u = {});
|
|
74716
74734
|
var f = u.format ? u.format : "html";
|
|
74717
74735
|
return TI(r, f, u);
|
|
74718
|
-
},
|
|
74736
|
+
}, y8 = function(r) {
|
|
74719
74737
|
return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
|
|
74720
74738
|
}, AI = function(r, u) {
|
|
74721
74739
|
return r.filter(function(f) {
|
|
@@ -74744,7 +74762,7 @@ Required: ` + u.join(", "));
|
|
|
74744
74762
|
}, OI = function(r, u) {
|
|
74745
74763
|
var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
|
|
74746
74764
|
r.deleteContents(), r.insertNode(u);
|
|
74747
|
-
var _ = f.bind(qs).filter(wi).bind(
|
|
74765
|
+
var _ = f.bind(qs).filter(wi).bind(y8), C = p.bind(Ms).filter(wi).bind(y8);
|
|
74748
74766
|
IS(_, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
|
|
74749
74767
|
}, BI = function(r, u) {
|
|
74750
74768
|
return gr(gr({ format: "html" }, r), {
|
|
@@ -75035,7 +75053,7 @@ Required: ` + u.join(", "));
|
|
|
75035
75053
|
return u(new Blob([]));
|
|
75036
75054
|
}, u);
|
|
75037
75055
|
});
|
|
75038
|
-
},
|
|
75056
|
+
}, b8 = function(r) {
|
|
75039
75057
|
return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
|
|
75040
75058
|
}, $S = function(r) {
|
|
75041
75059
|
return new Li(function(u) {
|
|
@@ -75044,7 +75062,7 @@ Required: ` + u.join(", "));
|
|
|
75044
75062
|
u(f.result);
|
|
75045
75063
|
}, f.readAsDataURL(r);
|
|
75046
75064
|
});
|
|
75047
|
-
}, WI = 0,
|
|
75065
|
+
}, WI = 0, w8 = function(r) {
|
|
75048
75066
|
return (r || "blobid") + WI++;
|
|
75049
75067
|
}, jI = function(r, u, f, p) {
|
|
75050
75068
|
var _, C;
|
|
@@ -75052,9 +75070,9 @@ Required: ` + u.join(", "));
|
|
|
75052
75070
|
C = r.getByUri(u.src), C ? f({
|
|
75053
75071
|
image: u,
|
|
75054
75072
|
blobInfo: C
|
|
75055
|
-
}) :
|
|
75073
|
+
}) : b8(u.src).then(function(X) {
|
|
75056
75074
|
$S(X).then(function(ie) {
|
|
75057
|
-
_ = xm(ie).data, C = r.create(
|
|
75075
|
+
_ = xm(ie).data, C = r.create(w8(), X, _), r.add(C), f({
|
|
75058
75076
|
image: u,
|
|
75059
75077
|
blobInfo: C
|
|
75060
75078
|
});
|
|
@@ -75068,8 +75086,8 @@ Required: ` + u.join(", "));
|
|
|
75068
75086
|
_ = P, C = r.getByData(_, M), C ? f({
|
|
75069
75087
|
image: u,
|
|
75070
75088
|
blobInfo: C
|
|
75071
|
-
}) :
|
|
75072
|
-
C = r.create(
|
|
75089
|
+
}) : b8(u.src).then(function(X) {
|
|
75090
|
+
C = r.create(w8(), X, _), r.add(C), f({
|
|
75073
75091
|
image: u,
|
|
75074
75092
|
blobInfo: C
|
|
75075
75093
|
});
|
|
@@ -75145,7 +75163,7 @@ Required: ` + u.join(", "));
|
|
|
75145
75163
|
var P = A.type, M = A.data;
|
|
75146
75164
|
return me.from(f.getByData(M, P)).orThunk(function() {
|
|
75147
75165
|
return RS(P, M).map(function(X) {
|
|
75148
|
-
var ie = f.create(
|
|
75166
|
+
var ie = f.create(w8(), X, M);
|
|
75149
75167
|
return f.add(ie), ie;
|
|
75150
75168
|
});
|
|
75151
75169
|
});
|
|
@@ -75546,7 +75564,7 @@ Required: ` + u.join(", "));
|
|
|
75546
75564
|
}, a9 = "html", Tl = function(r, u) {
|
|
75547
75565
|
u === void 0 && (u = {});
|
|
75548
75566
|
var f = u.format ? u.format : a9;
|
|
75549
|
-
return
|
|
75567
|
+
return _8(r, u, f);
|
|
75550
75568
|
}, X4 = function(r, u, f) {
|
|
75551
75569
|
return f === void 0 && (f = {}), kI(r, u, f);
|
|
75552
75570
|
}, J4 = ua.DOM, i9 = function(r) {
|
|
@@ -75595,7 +75613,7 @@ Required: ` + u.join(", "));
|
|
|
75595
75613
|
sections: Fe(r),
|
|
75596
75614
|
settings: Fe(u)
|
|
75597
75615
|
};
|
|
75598
|
-
},
|
|
75616
|
+
}, C8 = Wr().deviceType, h9 = C8.isTouch(), x8 = C8.isPhone(), Rv = C8.isTablet(), iu = [
|
|
75599
75617
|
"lists",
|
|
75600
75618
|
"autolink",
|
|
75601
75619
|
"autosave"
|
|
@@ -75615,7 +75633,7 @@ Required: ` + u.join(", "));
|
|
|
75615
75633
|
return Re(r, _);
|
|
75616
75634
|
});
|
|
75617
75635
|
return d9(f.t, f.f);
|
|
75618
|
-
},
|
|
75636
|
+
}, E8 = function(r, u, f) {
|
|
75619
75637
|
f === void 0 && (f = {});
|
|
75620
75638
|
var p = r.sections(), _ = p.hasOwnProperty(u) ? p[u] : {};
|
|
75621
75639
|
return Ve.extend({}, f, _);
|
|
@@ -75683,14 +75701,14 @@ Required: ` + u.join(", "));
|
|
|
75683
75701
|
}, nk = function(r, u) {
|
|
75684
75702
|
return r && $g(u, "mobile");
|
|
75685
75703
|
}, rk = function(r, u, f, p, _) {
|
|
75686
|
-
var C = r ? { mobile: ek(_.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, _)), P = Ve.extend(f, p, A.settings(), nk(r, A) ?
|
|
75704
|
+
var C = r ? { mobile: ek(_.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, _)), P = Ve.extend(f, p, A.settings(), nk(r, A) ? E8(A, "mobile") : {}, {
|
|
75687
75705
|
validate: !0,
|
|
75688
75706
|
external_plugins: v9(p, A.settings())
|
|
75689
75707
|
});
|
|
75690
75708
|
return $_(r, A, p, P);
|
|
75691
75709
|
}, ok = function(r, u, f, p, _) {
|
|
75692
75710
|
var C = QS(_, u, f, h9, r);
|
|
75693
|
-
return rk(
|
|
75711
|
+
return rk(x8 || Rv, x8, C, p, _);
|
|
75694
75712
|
}, gh = function(r, u, f) {
|
|
75695
75713
|
return me.from(u.settings[f]).filter(r);
|
|
75696
75714
|
}, m9 = function(r) {
|
|
@@ -75726,7 +75744,7 @@ Required: ` + u.join(", "));
|
|
|
75726
75744
|
return parseInt(Zr(u, r), 10);
|
|
75727
75745
|
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75728
75746
|
return r.dom.getBoundingClientRect();
|
|
75729
|
-
},
|
|
75747
|
+
}, S8 = function(r, u, f) {
|
|
75730
75748
|
var p = y9(r), _ = ik(r);
|
|
75731
75749
|
return u >= 0 && f >= 0 && u <= p && f <= _;
|
|
75732
75750
|
}, b9 = function(r, u, f, p) {
|
|
@@ -75737,7 +75755,7 @@ Required: ` + u.join(", "));
|
|
|
75737
75755
|
};
|
|
75738
75756
|
}, ck = function(r, u, f) {
|
|
75739
75757
|
var p = be.fromDom(r.getBody()), _ = r.inline ? p : Ii(p), C = b9(r.inline, _, u, f);
|
|
75740
|
-
return
|
|
75758
|
+
return S8(_, C.x, C.y);
|
|
75741
75759
|
}, w9 = function(r) {
|
|
75742
75760
|
return me.from(r).map(be.fromDom);
|
|
75743
75761
|
}, C9 = function(r) {
|
|
@@ -75908,7 +75926,7 @@ Required: ` + u.join(", "));
|
|
|
75908
75926
|
e3(r, "IconsLoadError", Uu("icons", u, f));
|
|
75909
75927
|
}, k9 = function(r, u, f) {
|
|
75910
75928
|
e3(r, "LanguageLoadError", Uu("language", u, f));
|
|
75911
|
-
},
|
|
75929
|
+
}, k8 = function(r, u, f) {
|
|
75912
75930
|
var p = Us.translate([
|
|
75913
75931
|
"Failed to initialize plugin: {0}",
|
|
75914
75932
|
u
|
|
@@ -75922,17 +75940,17 @@ Required: ` + u.join(", "));
|
|
|
75922
75940
|
}, Vg = function(r) {
|
|
75923
75941
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75924
75942
|
}, T9 = function(r) {
|
|
75925
|
-
return
|
|
75943
|
+
return T8(r, cb(r));
|
|
75926
75944
|
}, vk = function(r) {
|
|
75927
|
-
return
|
|
75928
|
-
},
|
|
75945
|
+
return T8(r, f2(r));
|
|
75946
|
+
}, T8 = function(r, u) {
|
|
75929
75947
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, _ = "content" + p + ".css", C = r.inline === !0;
|
|
75930
75948
|
return ne(u, function(A) {
|
|
75931
75949
|
return Vg(A) && !C ? f + "/" + A + "/" + _ : r.documentBaseURI.toAbsolute(A);
|
|
75932
75950
|
});
|
|
75933
|
-
},
|
|
75951
|
+
}, N8 = function(r) {
|
|
75934
75952
|
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75935
|
-
},
|
|
75953
|
+
}, A8 = function() {
|
|
75936
75954
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75937
75955
|
return {
|
|
75938
75956
|
status: se,
|
|
@@ -75966,13 +75984,13 @@ Required: ` + u.join(", "));
|
|
|
75966
75984
|
removeFailed: ie,
|
|
75967
75985
|
destroy: ae
|
|
75968
75986
|
};
|
|
75969
|
-
},
|
|
75987
|
+
}, I8 = 0, N9 = function() {
|
|
75970
75988
|
var r = function() {
|
|
75971
75989
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
75972
75990
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
75973
75991
|
return "s" + u.toString(36) + r() + r() + r();
|
|
75974
75992
|
}, pk = function(r) {
|
|
75975
|
-
return r +
|
|
75993
|
+
return r + I8++ + N9();
|
|
75976
75994
|
}, A9 = function() {
|
|
75977
75995
|
var r = [], u = function(ae) {
|
|
75978
75996
|
var se = {
|
|
@@ -76155,7 +76173,7 @@ Required: ` + u.join(", "));
|
|
|
76155
76173
|
handler: Qw(r)
|
|
76156
76174
|
});
|
|
76157
76175
|
}, I9 = function(r) {
|
|
76158
|
-
var u =
|
|
76176
|
+
var u = A8(), f = gk(r, u);
|
|
76159
76177
|
return {
|
|
76160
76178
|
upload: function(p, _) {
|
|
76161
76179
|
return _ === void 0 && (_ = !0), f.upload(p, _ ? mk(r) : void 0);
|
|
@@ -76179,7 +76197,7 @@ Required: ` + u.join(", "));
|
|
|
76179
76197
|
};
|
|
76180
76198
|
return { fireIfChanged: f };
|
|
76181
76199
|
}, D9 = function(r) {
|
|
76182
|
-
var u = A9(), f, p, _ =
|
|
76200
|
+
var u = A9(), f, p, _ = A8(), C = [], A = F_(r), P = function(yt) {
|
|
76183
76201
|
return function(Mt) {
|
|
76184
76202
|
return r.selection ? yt(Mt) : [];
|
|
76185
76203
|
};
|
|
@@ -76736,7 +76754,7 @@ Required: ` + u.join(", "));
|
|
|
76736
76754
|
return SS(r, p);
|
|
76737
76755
|
},
|
|
76738
76756
|
matchAll: function(p, _) {
|
|
76739
|
-
return
|
|
76757
|
+
return g8(r, p, _);
|
|
76740
76758
|
},
|
|
76741
76759
|
matchNode: function(p, _, C, A) {
|
|
76742
76760
|
return xS(r, p, _, C, A);
|
|
@@ -76765,7 +76783,7 @@ Required: ` + u.join(", "));
|
|
|
76765
76783
|
u.beforeChange();
|
|
76766
76784
|
}), r.on("SaveContent ObjectResized blur", _), r.on("dragend", _), r.on("keyup", function(M) {
|
|
76767
76785
|
var X = M.keyCode;
|
|
76768
|
-
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (_(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(
|
|
76786
|
+
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (_(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(c8(r), u.data[0]) === !1 && (r.isDirty() === !1 && (r.setDirty(!0), r.fire("change", {
|
|
76769
76787
|
level: u.data[0],
|
|
76770
76788
|
lastLevel: null
|
|
76771
76789
|
})), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
|
|
@@ -76807,7 +76825,7 @@ Required: ` + u.join(", "));
|
|
|
76807
76825
|
return gI(r, _, p, f, u, C, A);
|
|
76808
76826
|
},
|
|
76809
76827
|
undo: function() {
|
|
76810
|
-
return
|
|
76828
|
+
return m8(r, _, f, p);
|
|
76811
76829
|
},
|
|
76812
76830
|
redo: function() {
|
|
76813
76831
|
return _I(r, p, _.data);
|
|
@@ -76877,7 +76895,7 @@ Required: ` + u.join(", "));
|
|
|
76877
76895
|
return _ ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(_) : f === _.nodeName.toLowerCase() : !0;
|
|
76878
76896
|
} else
|
|
76879
76897
|
return !1;
|
|
76880
|
-
},
|
|
76898
|
+
}, D8 = function(r) {
|
|
76881
76899
|
var u = r.dom, f = Oi(r), p = nC(r), _ = function(C, A) {
|
|
76882
76900
|
if (!F9(C)) {
|
|
76883
76901
|
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
@@ -76920,11 +76938,11 @@ Required: ` + u.join(", "));
|
|
|
76920
76938
|
return li(r, u) ? jm(u, function(f) {
|
|
76921
76939
|
return Ra(f) || pp(f);
|
|
76922
76940
|
}, a3(r)) : me.none();
|
|
76923
|
-
},
|
|
76941
|
+
}, O8 = function(r) {
|
|
76924
76942
|
var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
|
|
76925
76943
|
r.selection.setCursorLocation(f, 0);
|
|
76926
76944
|
}, i3 = function(r) {
|
|
76927
|
-
r.dom.isEmpty(r.getBody()) && (r.setContent(""),
|
|
76945
|
+
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O8(r));
|
|
76928
76946
|
}, kk = function(r, u, f) {
|
|
76929
76947
|
return ki(jl(f), Ru(f), function(p, _) {
|
|
76930
76948
|
var C = Nl(!0, p), A = Nl(!1, _), P = Nl(!1, u);
|
|
@@ -76988,7 +77006,7 @@ Required: ` + u.join(", "));
|
|
|
76988
77006
|
}, cd = function(r) {
|
|
76989
77007
|
var u = Bk(r);
|
|
76990
77008
|
return he(u, pi), u;
|
|
76991
|
-
},
|
|
77009
|
+
}, B8 = function(r, u) {
|
|
76992
77010
|
var f = qo(u, r);
|
|
76993
77011
|
return _n(f.reverse(), function(p) {
|
|
76994
77012
|
return ws(p);
|
|
@@ -77004,14 +77022,14 @@ Required: ` + u.join(", "));
|
|
|
77004
77022
|
var _ = mc(f.dom, un.before(p.dom));
|
|
77005
77023
|
return he(cd(u), function(C) {
|
|
77006
77024
|
cl(p, C);
|
|
77007
|
-
}),
|
|
77025
|
+
}), B8(r, u), _;
|
|
77008
77026
|
}, Ac = function(r, u, f) {
|
|
77009
77027
|
if (ws(f))
|
|
77010
77028
|
return pi(f), ws(u) && js(u), jl(u.dom);
|
|
77011
77029
|
var p = Ru(f.dom);
|
|
77012
77030
|
return he(cd(u), function(_) {
|
|
77013
77031
|
Ha(f, _);
|
|
77014
|
-
}),
|
|
77032
|
+
}), B8(r, u), p;
|
|
77015
77033
|
}, H9 = function(r, u) {
|
|
77016
77034
|
var f = qo(u, r);
|
|
77017
77035
|
return me.from(f[f.length - 1]);
|
|
@@ -77054,7 +77072,7 @@ Required: ` + u.join(", "));
|
|
|
77054
77072
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77055
77073
|
}, Ug = function(r, u) {
|
|
77056
77074
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77057
|
-
},
|
|
77075
|
+
}, P8 = $s, Vk = xa, _h = function(r, u, f, p, _) {
|
|
77058
77076
|
return me.from(u._selectionOverrides.showCaret(r, f, p, _));
|
|
77059
77077
|
}, X9 = function(r) {
|
|
77060
77078
|
var u = r.ownerDocument.createRange();
|
|
@@ -77062,7 +77080,7 @@ Required: ` + u.join(", "));
|
|
|
77062
77080
|
}, km = function(r, u) {
|
|
77063
77081
|
var f = r.fire("BeforeObjectSelected", { target: u });
|
|
77064
77082
|
return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
|
|
77065
|
-
},
|
|
77083
|
+
}, M8 = function(r, u, f) {
|
|
77066
77084
|
var p = x2(1, r.getBody(), u), _ = un.fromRangeStart(p), C = _.getNode();
|
|
77067
77085
|
if (Jd(C))
|
|
77068
77086
|
return _h(1, r, C, !_.isAtEnd(), !1);
|
|
@@ -77070,16 +77088,16 @@ Required: ` + u.join(", "));
|
|
|
77070
77088
|
if (Jd(A))
|
|
77071
77089
|
return _h(1, r, A, !1, !1);
|
|
77072
77090
|
var P = r.dom.getParent(_.getNode(), function(M) {
|
|
77073
|
-
return Vk(M) ||
|
|
77091
|
+
return Vk(M) || P8(M);
|
|
77074
77092
|
});
|
|
77075
77093
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77076
77094
|
}, H_ = function(r, u, f) {
|
|
77077
|
-
return u.collapsed ?
|
|
77095
|
+
return u.collapsed ? M8(r, u, f).getOr(u) : u;
|
|
77078
77096
|
}, Lk = function(r) {
|
|
77079
77097
|
return Yo(r) || Cr(r);
|
|
77080
77098
|
}, Uk = function(r) {
|
|
77081
77099
|
return Xo(r) || uo(r);
|
|
77082
|
-
},
|
|
77100
|
+
}, R8 = function(r, u) {
|
|
77083
77101
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77084
77102
|
}, zk = function(r, u, f, p, _, C) {
|
|
77085
77103
|
return _h(p, r, C.getNode(!_), _, !0).each(function(A) {
|
|
@@ -77089,7 +77107,7 @@ Required: ` + u.join(", "));
|
|
|
77089
77107
|
} else
|
|
77090
77108
|
u.deleteContents();
|
|
77091
77109
|
r.selection.setRng(A);
|
|
77092
|
-
}),
|
|
77110
|
+
}), R8(r.dom, f), !0;
|
|
77093
77111
|
}, J9 = function(r, u) {
|
|
77094
77112
|
var f = r.selection.getRng();
|
|
77095
77113
|
if (!Bn(f.commonAncestorContainer))
|
|
@@ -77119,16 +77137,16 @@ Required: ` + u.join(", "));
|
|
|
77119
77137
|
return U1(!u, f).fold(function() {
|
|
77120
77138
|
return U1(u, p).fold(Qe, _);
|
|
77121
77139
|
}, _);
|
|
77122
|
-
}, $
|
|
77140
|
+
}, $8 = function(r, u, f, p) {
|
|
77123
77141
|
var _ = p.getNode(u === !1);
|
|
77124
77142
|
return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
|
|
77125
77143
|
return ws(C) ? cs.remove(C.dom) : cs.moveToElement(_);
|
|
77126
77144
|
}).orThunk(function() {
|
|
77127
77145
|
return me.some(cs.moveToElement(_));
|
|
77128
77146
|
});
|
|
77129
|
-
},
|
|
77147
|
+
}, F8 = function(r, u, f) {
|
|
77130
77148
|
return Hs(u, r, f).bind(function(p) {
|
|
77131
|
-
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $
|
|
77149
|
+
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $8(r, u, f, p) : u && Xo(f) || u === !1 && Yo(f) ? me.some(cs.moveToPosition(p)) : me.none();
|
|
77132
77150
|
});
|
|
77133
77151
|
}, Wk = function(r, u) {
|
|
77134
77152
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
@@ -77142,8 +77160,8 @@ Required: ` + u.join(", "));
|
|
|
77142
77160
|
});
|
|
77143
77161
|
}, Gk = function(r, u, f) {
|
|
77144
77162
|
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77145
|
-
return
|
|
77146
|
-
}, me.some) :
|
|
77163
|
+
return F8(r, u, f);
|
|
77164
|
+
}, me.some) : F8(r, u, f).bind(function(p) {
|
|
77147
77165
|
return jk(r, f, p);
|
|
77148
77166
|
});
|
|
77149
77167
|
}, qk = function(r, u, f) {
|
|
@@ -77162,7 +77180,7 @@ Required: ` + u.join(", "));
|
|
|
77162
77180
|
var p = u ? un.before(f) : un.after(f);
|
|
77163
77181
|
return r.selection.setRng(p.toRange()), !0;
|
|
77164
77182
|
};
|
|
77165
|
-
},
|
|
77183
|
+
}, V8 = function(r) {
|
|
77166
77184
|
return function(u) {
|
|
77167
77185
|
return r.selection.setRng(u.toRange()), !0;
|
|
77168
77186
|
};
|
|
@@ -77172,7 +77190,7 @@ Required: ` + u.join(", "));
|
|
|
77172
77190
|
var f = r.selection.getNode();
|
|
77173
77191
|
return Kk(r, f).filter(xa).fold(function() {
|
|
77174
77192
|
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77175
|
-
return p.fold(f3(r, u), d3(r, u),
|
|
77193
|
+
return p.fold(f3(r, u), d3(r, u), V8(r));
|
|
77176
77194
|
});
|
|
77177
77195
|
}, Ht);
|
|
77178
77196
|
}, Q9 = function(r) {
|
|
@@ -77186,7 +77204,7 @@ Required: ` + u.join(", "));
|
|
|
77186
77204
|
}, Ht);
|
|
77187
77205
|
}
|
|
77188
77206
|
return !1;
|
|
77189
|
-
},
|
|
77207
|
+
}, L8 = function(r) {
|
|
77190
77208
|
var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
|
|
77191
77209
|
if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
|
|
77192
77210
|
var _ = u.create("br", { "data-mce-bogus": "1" });
|
|
@@ -77233,7 +77251,7 @@ Required: ` + u.join(", "));
|
|
|
77233
77251
|
}, Zk = function(r, u) {
|
|
77234
77252
|
var f = u.get();
|
|
77235
77253
|
return f && r.container() === f && Wc(f);
|
|
77236
|
-
},
|
|
77254
|
+
}, U8 = function(r, u) {
|
|
77237
77255
|
return u.fold(function(f) {
|
|
77238
77256
|
qf(r.get());
|
|
77239
77257
|
var p = p3(f);
|
|
@@ -77271,11 +77289,11 @@ Required: ` + u.join(", "));
|
|
|
77271
77289
|
{ start: ["element"] },
|
|
77272
77290
|
{ end: ["element"] },
|
|
77273
77291
|
{ after: ["element"] }
|
|
77274
|
-
]),
|
|
77292
|
+
]), z8 = function(r, u) {
|
|
77275
77293
|
var f = Yf(u, r);
|
|
77276
77294
|
return f || r;
|
|
77277
77295
|
}, oD = function(r, u, f) {
|
|
77278
|
-
var p = Vv(f), _ =
|
|
77296
|
+
var p = Vv(f), _ = z8(u, p.container());
|
|
77279
77297
|
return lu(r, _, p).fold(function() {
|
|
77280
77298
|
return eu(_, p).bind(Ue(lu, r, _)).map(function(C) {
|
|
77281
77299
|
return fs.before(C);
|
|
@@ -77298,14 +77316,14 @@ Required: ` + u.join(", "));
|
|
|
77298
77316
|
return C.isNone() ? me.some(fs.end(_)) : me.none();
|
|
77299
77317
|
});
|
|
77300
77318
|
}, sD = function(r, u, f) {
|
|
77301
|
-
var p = U_(f), _ =
|
|
77319
|
+
var p = U_(f), _ = z8(u, p.container());
|
|
77302
77320
|
return lu(r, _, p).fold(function() {
|
|
77303
77321
|
return mc(_, p).bind(Ue(lu, r, _)).map(function(C) {
|
|
77304
77322
|
return fs.after(C);
|
|
77305
77323
|
});
|
|
77306
77324
|
}, me.none);
|
|
77307
77325
|
}, e5 = function(r) {
|
|
77308
|
-
return z9(
|
|
77326
|
+
return z9(H8(r)) === !1;
|
|
77309
77327
|
}, fd = function(r, u, f) {
|
|
77310
77328
|
var p = Qk([
|
|
77311
77329
|
oD,
|
|
@@ -77318,7 +77336,7 @@ Required: ` + u.join(", "));
|
|
|
77318
77336
|
f
|
|
77319
77337
|
]);
|
|
77320
77338
|
return p.filter(e5);
|
|
77321
|
-
},
|
|
77339
|
+
}, H8 = function(r) {
|
|
77322
77340
|
return r.fold(_t, _t, _t, _t);
|
|
77323
77341
|
}, t5 = function(r) {
|
|
77324
77342
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
@@ -77327,7 +77345,7 @@ Required: ` + u.join(", "));
|
|
|
77327
77345
|
}, Wg = function(r) {
|
|
77328
77346
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77329
77347
|
}, uD = function(r, u) {
|
|
77330
|
-
return t5(r) === t5(u) &&
|
|
77348
|
+
return t5(r) === t5(u) && H8(r) === H8(u);
|
|
77331
77349
|
}, cD = function(r, u, f, p, _, C) {
|
|
77332
77350
|
return ki(lu(u, f, p), lu(u, f, _), function(A, P) {
|
|
77333
77351
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77345,13 +77363,13 @@ Required: ` + u.join(", "));
|
|
|
77345
77363
|
return P.filter(e5);
|
|
77346
77364
|
}, dD = function(r, u) {
|
|
77347
77365
|
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));
|
|
77348
|
-
},
|
|
77366
|
+
}, W8 = function(r, u, f, p) {
|
|
77349
77367
|
var _ = Nl(r, p), C = fd(u, f, _);
|
|
77350
77368
|
return fd(u, f, _).bind(Ue(dD, r)).orThunk(function() {
|
|
77351
77369
|
return fD(r, u, f, C, p);
|
|
77352
77370
|
});
|
|
77353
77371
|
};
|
|
77354
|
-
Ue(
|
|
77372
|
+
Ue(W8, !1), Ue(W8, !0);
|
|
77355
77373
|
var hD = function(r) {
|
|
77356
77374
|
return Pe(r.selection.getSel().modify);
|
|
77357
77375
|
}, n5 = function(r, u, f) {
|
|
@@ -77423,7 +77441,7 @@ Required: ` + u.join(", "));
|
|
|
77423
77441
|
});
|
|
77424
77442
|
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77425
77443
|
return Nm(r, u).breakAt.isNone();
|
|
77426
|
-
},
|
|
77444
|
+
}, j8 = function(r, u) {
|
|
77427
77445
|
return W_(r, u).breakAt.isNone();
|
|
77428
77446
|
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77429
77447
|
return jl(r).map(function(u) {
|
|
@@ -77473,7 +77491,7 @@ Required: ` + u.join(", "));
|
|
|
77473
77491
|
return u.line > r;
|
|
77474
77492
|
}, c5 = function(r, u) {
|
|
77475
77493
|
return u.line === r;
|
|
77476
|
-
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il),
|
|
77494
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G8 = function(r, u, f, p) {
|
|
77477
77495
|
var _ = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77478
77496
|
return oa(Oe.getClientRects());
|
|
77479
77497
|
};
|
|
@@ -77491,13 +77509,13 @@ Required: ` + u.join(", "));
|
|
|
77491
77509
|
return function(u) {
|
|
77492
77510
|
return Gg(r, u);
|
|
77493
77511
|
};
|
|
77494
|
-
},
|
|
77512
|
+
}, q8 = function(r) {
|
|
77495
77513
|
return function(u) {
|
|
77496
77514
|
return c5(r, u);
|
|
77497
77515
|
};
|
|
77498
|
-
}, bD = xa, v5 = cv,
|
|
77516
|
+
}, bD = xa, v5 = cv, K8 = function(r, u) {
|
|
77499
77517
|
return Math.abs(r.left - u);
|
|
77500
|
-
},
|
|
77518
|
+
}, Y8 = function(r, u) {
|
|
77501
77519
|
return Math.abs(r.right - u);
|
|
77502
77520
|
}, Dc = function(r, u) {
|
|
77503
77521
|
return r >= u.left && r <= u.right;
|
|
@@ -77505,7 +77523,7 @@ Required: ` + u.join(", "));
|
|
|
77505
77523
|
return r >= u.top && r <= u.bottom;
|
|
77506
77524
|
}, C3 = function(r, u) {
|
|
77507
77525
|
return Po(r, function(f, p) {
|
|
77508
|
-
var _ = Math.min(
|
|
77526
|
+
var _ = Math.min(K8(f, u), Y8(f, u)), C = Math.min(K8(p, u), Y8(p, u));
|
|
77509
77527
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === _ && bD(p.node) || C < _ ? p : f;
|
|
77510
77528
|
});
|
|
77511
77529
|
}, p5 = function(r, u, f, p, _) {
|
|
@@ -77528,7 +77546,7 @@ Required: ` + u.join(", "));
|
|
|
77528
77546
|
}, ED = function(r, u) {
|
|
77529
77547
|
return {
|
|
77530
77548
|
node: r.node,
|
|
77531
|
-
before:
|
|
77549
|
+
before: K8(r, u) < Y8(r, u)
|
|
77532
77550
|
};
|
|
77533
77551
|
}, SD = function(r, u, f) {
|
|
77534
77552
|
var p = w3(xD(r)), _ = Pt(p, Ue(wD, f)), C = C3(_, u);
|
|
@@ -77540,7 +77558,7 @@ Required: ` + u.join(", "));
|
|
|
77540
77558
|
return null;
|
|
77541
77559
|
}, di = function(r, u) {
|
|
77542
77560
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77543
|
-
},
|
|
77561
|
+
}, X8 = function(r, u, f) {
|
|
77544
77562
|
return me.some(H_(r, u, f));
|
|
77545
77563
|
}, m5 = function(r, u, f, p, _, C) {
|
|
77546
77564
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : _;
|
|
@@ -77558,21 +77576,21 @@ Required: ` + u.join(", "));
|
|
|
77558
77576
|
if (X(se))
|
|
77559
77577
|
return _h(u, r, se.getNode(!A), A, !1);
|
|
77560
77578
|
var Oe = M(se);
|
|
77561
|
-
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ?
|
|
77562
|
-
},
|
|
77579
|
+
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X8(r, se.toRange(), !1) : me.none();
|
|
77580
|
+
}, J8 = function(r, u, f, p, _, C) {
|
|
77563
77581
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77564
77582
|
if (!P)
|
|
77565
77583
|
return me.none();
|
|
77566
|
-
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie,
|
|
77584
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q8(1)), se = P.left, ke = C3(ae, se);
|
|
77567
77585
|
if (ke && C(ke.node)) {
|
|
77568
77586
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77569
77587
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77570
77588
|
}
|
|
77571
77589
|
var Ee;
|
|
77572
77590
|
if (p(A) ? Ee = A.getNode() : _(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77573
|
-
var ot =
|
|
77574
|
-
if (et || (et = oa(Pt(ot,
|
|
77575
|
-
return
|
|
77591
|
+
var ot = G8(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q8(1)), se);
|
|
77592
|
+
if (et || (et = oa(Pt(ot, q8(0))), et))
|
|
77593
|
+
return X8(r, et.position.toRange(), !1);
|
|
77576
77594
|
}
|
|
77577
77595
|
return ae.length === 0 ? j_(r, M).filter(M ? _ : p).map(function(ut) {
|
|
77578
77596
|
return H_(r, ut.toRange(), !1);
|
|
@@ -77596,11 +77614,11 @@ Required: ` + u.join(", "));
|
|
|
77596
77614
|
}, _5 = function(r, u) {
|
|
77597
77615
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77598
77616
|
}, Uv = function(r, u, f) {
|
|
77599
|
-
return
|
|
77617
|
+
return U8(u, f).map(function(p) {
|
|
77600
77618
|
return x3(r, p), f;
|
|
77601
77619
|
});
|
|
77602
77620
|
}, kD = function(r, u, f) {
|
|
77603
|
-
var p = r.getBody(), _ = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A =
|
|
77621
|
+
var p = r.getBody(), _ = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W8(f, C, p, _);
|
|
77604
77622
|
return A.bind(function(P) {
|
|
77605
77623
|
return Uv(r, u, P);
|
|
77606
77624
|
});
|
|
@@ -77641,7 +77659,7 @@ Required: ` + u.join(", "));
|
|
|
77641
77659
|
});
|
|
77642
77660
|
return fd(Ue(Em, r), r.getBody(), p).exists(function(_) {
|
|
77643
77661
|
var C = Tm(_);
|
|
77644
|
-
return
|
|
77662
|
+
return U8(f, C).exists(function(A) {
|
|
77645
77663
|
return x3(r, A), !0;
|
|
77646
77664
|
});
|
|
77647
77665
|
});
|
|
@@ -77659,7 +77677,7 @@ Required: ` + u.join(", "));
|
|
|
77659
77677
|
}).getOr(!0);
|
|
77660
77678
|
}, C5 = function(r, u) {
|
|
77661
77679
|
return function(f) {
|
|
77662
|
-
return
|
|
77680
|
+
return U8(u, f).exists(function(p) {
|
|
77663
77681
|
return x3(r, p), !0;
|
|
77664
77682
|
});
|
|
77665
77683
|
};
|
|
@@ -77702,9 +77720,9 @@ Required: ` + u.join(", "));
|
|
|
77702
77720
|
return Kn(f, Fs).fold(Fe(f), function(p) {
|
|
77703
77721
|
return f.slice(0, p);
|
|
77704
77722
|
});
|
|
77705
|
-
},
|
|
77723
|
+
}, Z8 = function(r) {
|
|
77706
77724
|
return va(r).length === 1;
|
|
77707
|
-
},
|
|
77725
|
+
}, Q8 = function(r, u, f, p) {
|
|
77708
77726
|
var _ = Ue(DA, u), C = ne(Pt(p, _), function(P) {
|
|
77709
77727
|
return P.dom;
|
|
77710
77728
|
});
|
|
@@ -77715,10 +77733,10 @@ Required: ` + u.join(", "));
|
|
|
77715
77733
|
u.selection.setRng(A.toRange());
|
|
77716
77734
|
}
|
|
77717
77735
|
}, BD = function(r, u) {
|
|
77718
|
-
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), _ = Pt(OD(f, p),
|
|
77736
|
+
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), _ = Pt(OD(f, p), Z8);
|
|
77719
77737
|
return nr(_).exists(function(C) {
|
|
77720
77738
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77721
|
-
return kk(u, A, C.dom) && !OA(C) ? (
|
|
77739
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q8(u, r, C, _), !0) : !1;
|
|
77722
77740
|
});
|
|
77723
77741
|
}, hd = function(r, u) {
|
|
77724
77742
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77930,7 +77948,7 @@ Required: ` + u.join(", "));
|
|
|
77930
77948
|
}, _ = function(C) {
|
|
77931
77949
|
return Xo(C) || xo(C);
|
|
77932
77950
|
};
|
|
77933
|
-
return
|
|
77951
|
+
return J8(u, r, f, p, _, rx);
|
|
77934
77952
|
}, tO = function(r) {
|
|
77935
77953
|
var u = r.dom.create(Oi(r));
|
|
77936
77954
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
@@ -77986,7 +78004,7 @@ Required: ` + u.join(", "));
|
|
|
77986
78004
|
var f = Ue(yo, u);
|
|
77987
78005
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
77988
78006
|
}, $5 = function(r, u, f) {
|
|
77989
|
-
return u ?
|
|
78007
|
+
return u ? j8(r.dom, f) : a5(r.dom, f);
|
|
77990
78008
|
}, F5 = function(r, u) {
|
|
77991
78009
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), _ = Oi(r), C = iv(r);
|
|
77992
78010
|
return lO(p, f).exists(function() {
|
|
@@ -78032,7 +78050,7 @@ Required: ` + u.join(", "));
|
|
|
78032
78050
|
});
|
|
78033
78051
|
}, Im = function(r, u) {
|
|
78034
78052
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
78035
|
-
return
|
|
78053
|
+
return J8(r, f, p, Cr, uo, es).exists(function(_) {
|
|
78036
78054
|
return di(r, _), !0;
|
|
78037
78055
|
});
|
|
78038
78056
|
}, lx = function(r, u) {
|
|
@@ -78349,11 +78367,11 @@ Required: ` + u.join(", "));
|
|
|
78349
78367
|
Yg([
|
|
78350
78368
|
{
|
|
78351
78369
|
keyCode: Pr.BACKSPACE,
|
|
78352
|
-
action: Eo(
|
|
78370
|
+
action: Eo(L8, r)
|
|
78353
78371
|
},
|
|
78354
78372
|
{
|
|
78355
78373
|
keyCode: Pr.DELETE,
|
|
78356
|
-
action: Eo(
|
|
78374
|
+
action: Eo(L8, r)
|
|
78357
78375
|
}
|
|
78358
78376
|
], u);
|
|
78359
78377
|
}, px = function(r, u) {
|
|
@@ -78736,7 +78754,7 @@ Required: ` + u.join(", "));
|
|
|
78736
78754
|
MO(r, u);
|
|
78737
78755
|
}, ve);
|
|
78738
78756
|
}, uT = function(r, u) {
|
|
78739
|
-
u.isDefaultPrevented() || (u.preventDefault(),
|
|
78757
|
+
u.isDefaultPrevented() || (u.preventDefault(), h8(r.undoManager), r.undoManager.transact(function() {
|
|
78740
78758
|
r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
|
|
78741
78759
|
}));
|
|
78742
78760
|
}, cT = function(r) {
|
|
@@ -78937,7 +78955,7 @@ Required: ` + u.join(", "));
|
|
|
78937
78955
|
return u.setEnd(A.container(), A.offset());
|
|
78938
78956
|
});
|
|
78939
78957
|
}
|
|
78940
|
-
r.selection.setRng(
|
|
78958
|
+
r.selection.setRng(D6(u));
|
|
78941
78959
|
}, f7 = function(r) {
|
|
78942
78960
|
r.on("click", function(u) {
|
|
78943
78961
|
u.detail >= 3 && Ex(r);
|
|
@@ -79212,7 +79230,7 @@ Required: ` + u.join(", "));
|
|
|
79212
79230
|
}, ot = function() {
|
|
79213
79231
|
r.on("mouseup", function(Gn) {
|
|
79214
79232
|
var ir = Oe();
|
|
79215
|
-
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) &&
|
|
79233
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M8(r, ir, !1).each(ke);
|
|
79216
79234
|
}), r.on("click", function(Gn) {
|
|
79217
79235
|
var ir = ty(r, Gn.target);
|
|
79218
79236
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79742,7 +79760,7 @@ Required: ` + u.join(", "));
|
|
|
79742
79760
|
}
|
|
79743
79761
|
}), 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);
|
|
79744
79762
|
var A = i7(r);
|
|
79745
|
-
UD(r, A), YD(r),
|
|
79763
|
+
UD(r, A), YD(r), D8(r), q2(r), yS(r).fold(function() {
|
|
79746
79764
|
F3(r);
|
|
79747
79765
|
}, function(P) {
|
|
79748
79766
|
r.setProgressState(!0), P.then(function(M) {
|
|
@@ -79798,7 +79816,7 @@ Required: ` + u.join(", "));
|
|
|
79798
79816
|
var C = new p(r, _, r.$);
|
|
79799
79817
|
r.plugins[f] = C, C.init && (C.init(r, _), u.push(f));
|
|
79800
79818
|
} catch (A) {
|
|
79801
|
-
|
|
79819
|
+
k8(r, f, A);
|
|
79802
79820
|
}
|
|
79803
79821
|
}
|
|
79804
79822
|
}, NT = function(r) {
|
|
@@ -79860,7 +79878,7 @@ Required: ` + u.join(", "));
|
|
|
79860
79878
|
editorContainer: u.editorContainer,
|
|
79861
79879
|
iframeContainer: u.iframeContainer
|
|
79862
79880
|
};
|
|
79863
|
-
return r.editorContainer = f.editorContainer ? f.editorContainer : null,
|
|
79881
|
+
return r.editorContainer = f.editorContainer ? f.editorContainer : null, N8(r), r.inline ? V3(r) : j7(r, f);
|
|
79864
79882
|
}, Om = ua.DOM, z3 = function(r) {
|
|
79865
79883
|
return r.charAt(0) === "-";
|
|
79866
79884
|
}, J7 = function(r, u) {
|
|
@@ -80012,7 +80030,7 @@ Required: ` + u.join(", "));
|
|
|
80012
80030
|
}, _ = function(C) {
|
|
80013
80031
|
return yo(be.fromDom(u), C);
|
|
80014
80032
|
};
|
|
80015
|
-
return
|
|
80033
|
+
return L6(be.fromDom(f), function(C) {
|
|
80016
80034
|
return p(C);
|
|
80017
80035
|
}, _);
|
|
80018
80036
|
}, aB = function(r) {
|
|
@@ -80067,7 +80085,7 @@ Required: ` + u.join(", "));
|
|
|
80067
80085
|
}).getOr("");
|
|
80068
80086
|
}, dB = function(r) {
|
|
80069
80087
|
return Zg(r, function(u) {
|
|
80070
|
-
var f = be.fromDom(r.getBody()), p =
|
|
80088
|
+
var f = be.fromDom(r.getBody()), p = L6(u, function(C) {
|
|
80071
80089
|
return ea(C, "line-height");
|
|
80072
80090
|
}, Ue(yo, f)), _ = function() {
|
|
80073
80091
|
var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
|
|
@@ -87043,7 +87061,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87043
87061
|
return c4(a, v, c, -1);
|
|
87044
87062
|
}, Cc = function(a, c, v) {
|
|
87045
87063
|
return c4(a, v, c, 1);
|
|
87046
|
-
},
|
|
87064
|
+
}, e6 = [
|
|
87047
87065
|
bi("selectors", [
|
|
87048
87066
|
nt("row"),
|
|
87049
87067
|
nt("cell")
|
|
@@ -87059,11 +87077,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87059
87077
|
b.each(function(x) {
|
|
87060
87078
|
c.focusManager.set(a, x);
|
|
87061
87079
|
});
|
|
87062
|
-
},
|
|
87080
|
+
}, t6 = function(a, c, v) {
|
|
87063
87081
|
return El(a.element).bind(function(b) {
|
|
87064
87082
|
return v.execute(a, c, b);
|
|
87065
87083
|
});
|
|
87066
|
-
},
|
|
87084
|
+
}, n6 = function(a, c) {
|
|
87067
87085
|
return Ge(a, function(v) {
|
|
87068
87086
|
return Hl(v, c.selectors.cell);
|
|
87069
87087
|
});
|
|
@@ -87075,7 +87093,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87075
87093
|
return Z2(F, b).bind(function(L) {
|
|
87076
87094
|
var G = Hl(v, x.selectors.row);
|
|
87077
87095
|
return Z2(G, D).bind(function(Z) {
|
|
87078
|
-
var ee =
|
|
87096
|
+
var ee = n6(G, x);
|
|
87079
87097
|
return N(ee, Z, L).map(function(fe) {
|
|
87080
87098
|
return fe.cell;
|
|
87081
87099
|
});
|
|
@@ -87083,13 +87101,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87083
87101
|
});
|
|
87084
87102
|
});
|
|
87085
87103
|
};
|
|
87086
|
-
}, vg = rd(dg, d4), p4 = rd(fg, wc),
|
|
87104
|
+
}, vg = rd(dg, d4), p4 = rd(fg, wc), r6 = rd(hg, QC), Av = rd(f4, Cc), o6 = V([
|
|
87087
87105
|
Co(ho(ng), ag(vg, p4)),
|
|
87088
87106
|
Co(ho(ch), om(vg, p4)),
|
|
87089
|
-
Co(ho(em), ig(
|
|
87107
|
+
Co(ho(em), ig(r6)),
|
|
87090
87108
|
Co(ho(of), Zb(Av)),
|
|
87091
|
-
Co(ho(ls.concat(bc)),
|
|
87092
|
-
]),
|
|
87109
|
+
Co(ho(ls.concat(bc)), t6)
|
|
87110
|
+
]), a6 = V([Co(ho(ls), Sv)]), i6 = Vu(e6, bl.init, o6, a6, function() {
|
|
87093
87111
|
return U.some(h4);
|
|
87094
87112
|
}), m4 = [
|
|
87095
87113
|
nt("selector"),
|
|
@@ -87099,7 +87117,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87099
87117
|
return v.focusManager.get(a).bind(function(b) {
|
|
87100
87118
|
return v.execute(a, c, b);
|
|
87101
87119
|
});
|
|
87102
|
-
},
|
|
87120
|
+
}, l6 = function(a, c, v) {
|
|
87103
87121
|
rl(a.element, c.selector).each(function(b) {
|
|
87104
87122
|
c.focusManager.set(a, b);
|
|
87105
87123
|
});
|
|
@@ -87111,7 +87129,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87111
87129
|
return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
|
|
87112
87130
|
}, _4 = function(a, c, v, b) {
|
|
87113
87131
|
return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
|
|
87114
|
-
},
|
|
87132
|
+
}, s6 = V([
|
|
87115
87133
|
Co(ho(em), ed(g4)),
|
|
87116
87134
|
Co(ho(of), ed(lm)),
|
|
87117
87135
|
Co(ou([
|
|
@@ -87124,8 +87142,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87124
87142
|
]), _4),
|
|
87125
87143
|
Co(ho(bc), Iv),
|
|
87126
87144
|
Co(ho(ls), Iv)
|
|
87127
|
-
]),
|
|
87128
|
-
return U.some(
|
|
87145
|
+
]), u6 = V([Co(ho(ls), Sv)]), c6 = Vu(m4, bl.init, s6, u6, function() {
|
|
87146
|
+
return U.some(l6);
|
|
87129
87147
|
}), od = [
|
|
87130
87148
|
Ya("onSpace"),
|
|
87131
87149
|
Ya("onEnter"),
|
|
@@ -87165,11 +87183,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87165
87183
|
Co(ho(ls), v.onSpace),
|
|
87166
87184
|
Co(ho(Qp), v.onEscape)
|
|
87167
87185
|
];
|
|
87168
|
-
},
|
|
87186
|
+
}, f6 = function(a, c, v) {
|
|
87169
87187
|
return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
|
|
87170
|
-
}, l_ = Vu(od, bl.init, y4,
|
|
87188
|
+
}, l_ = Vu(od, bl.init, y4, f6, function(a) {
|
|
87171
87189
|
return a.focusIn;
|
|
87172
|
-
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ =
|
|
87190
|
+
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ = i6.schema(), x4 = zC.schema(), Dv = c6.schema(), c_ = l_.schema(), Ov = /* @__PURE__ */ Object.freeze({
|
|
87173
87191
|
__proto__: null,
|
|
87174
87192
|
acyclic: b4,
|
|
87175
87193
|
cyclic: w4,
|
|
@@ -87204,7 +87222,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87204
87222
|
}
|
|
87205
87223
|
},
|
|
87206
87224
|
state: dh
|
|
87207
|
-
}),
|
|
87225
|
+
}), d6 = function(a, c, v, b) {
|
|
87208
87226
|
J0(function() {
|
|
87209
87227
|
var x = Ge(b, a.getSystem().build);
|
|
87210
87228
|
Jd(a, x);
|
|
@@ -87232,24 +87250,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87232
87250
|
}, F);
|
|
87233
87251
|
}), D;
|
|
87234
87252
|
});
|
|
87235
|
-
},
|
|
87253
|
+
}, h6 = function(a, c, v, b, x) {
|
|
87236
87254
|
var N = gg(a);
|
|
87237
87255
|
return at(N, b).bind(function(D) {
|
|
87238
87256
|
return E4(a, c, v, D, x);
|
|
87239
87257
|
});
|
|
87240
|
-
},
|
|
87258
|
+
}, v6 = /* @__PURE__ */ Object.freeze({
|
|
87241
87259
|
__proto__: null,
|
|
87242
87260
|
append: au,
|
|
87243
87261
|
prepend: d_,
|
|
87244
87262
|
remove: lf,
|
|
87245
87263
|
replaceAt: E4,
|
|
87246
|
-
replaceBy:
|
|
87247
|
-
set:
|
|
87264
|
+
replaceBy: h6,
|
|
87265
|
+
set: d6,
|
|
87248
87266
|
contents: gg
|
|
87249
87267
|
}), Qr = Fa({
|
|
87250
87268
|
fields: [],
|
|
87251
87269
|
name: "replacing",
|
|
87252
|
-
apis:
|
|
87270
|
+
apis: v6
|
|
87253
87271
|
}), h_ = function(a, c) {
|
|
87254
87272
|
var v = Oo(c);
|
|
87255
87273
|
return Fa({
|
|
@@ -87271,14 +87289,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87271
87289
|
};
|
|
87272
87290
|
}, S4 = function(a, c) {
|
|
87273
87291
|
c.ignore || (zs(a.element), c.onFocus(a));
|
|
87274
|
-
},
|
|
87292
|
+
}, p6 = function(a, c) {
|
|
87275
87293
|
c.ignore || Lw(a.element);
|
|
87276
87294
|
}, _g = function(a) {
|
|
87277
87295
|
return w1(a.element);
|
|
87278
|
-
},
|
|
87296
|
+
}, m6 = /* @__PURE__ */ Object.freeze({
|
|
87279
87297
|
__proto__: null,
|
|
87280
87298
|
focus: S4,
|
|
87281
|
-
blur:
|
|
87299
|
+
blur: p6,
|
|
87282
87300
|
isFocused: _g
|
|
87283
87301
|
}), k4 = function(a, c) {
|
|
87284
87302
|
var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
|
|
@@ -87289,20 +87307,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87289
87307
|
})].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
|
|
87290
87308
|
v.event.prevent();
|
|
87291
87309
|
})] : []));
|
|
87292
|
-
},
|
|
87310
|
+
}, g6 = /* @__PURE__ */ Object.freeze({
|
|
87293
87311
|
__proto__: null,
|
|
87294
87312
|
exhibit: k4,
|
|
87295
87313
|
events: v_
|
|
87296
|
-
}),
|
|
87314
|
+
}), _6 = [
|
|
87297
87315
|
Mo("onFocus"),
|
|
87298
87316
|
Ot("stopMousedown", !1),
|
|
87299
87317
|
Ot("ignore", !1)
|
|
87300
87318
|
], Gr = Fa({
|
|
87301
|
-
fields:
|
|
87319
|
+
fields: _6,
|
|
87302
87320
|
name: "focusing",
|
|
87303
|
-
active:
|
|
87304
|
-
apis:
|
|
87305
|
-
}),
|
|
87321
|
+
active: g6,
|
|
87322
|
+
apis: m6
|
|
87323
|
+
}), y6 = function(a) {
|
|
87306
87324
|
var c = function() {
|
|
87307
87325
|
var v = jn(a), b = function() {
|
|
87308
87326
|
return v.get();
|
|
@@ -87388,7 +87406,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87388
87406
|
name: "toggling",
|
|
87389
87407
|
active: _e,
|
|
87390
87408
|
apis: W,
|
|
87391
|
-
state:
|
|
87409
|
+
state: y6(!1)
|
|
87392
87410
|
}), tn = function() {
|
|
87393
87411
|
var a = function(c, v) {
|
|
87394
87412
|
v.stop(), Nf(c);
|
|
@@ -87632,7 +87650,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87632
87650
|
Ot("fakeFocus", !1),
|
|
87633
87651
|
Ot("focusManager", Qf()),
|
|
87634
87652
|
Mo("onHighlight")
|
|
87635
|
-
]), T4 = V("alloy.menu-focus"),
|
|
87653
|
+
]), T4 = V("alloy.menu-focus"), b6 = function(a, c, v, b) {
|
|
87636
87654
|
return {
|
|
87637
87655
|
uid: a.uid,
|
|
87638
87656
|
dom: a.dom,
|
|
@@ -87675,7 +87693,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87675
87693
|
name: "Menu",
|
|
87676
87694
|
configFields: yg(),
|
|
87677
87695
|
partFields: sf(),
|
|
87678
|
-
factory:
|
|
87696
|
+
factory: b6
|
|
87679
87697
|
}), bg = function(a) {
|
|
87680
87698
|
return da(a, function(c, v) {
|
|
87681
87699
|
return {
|
|
@@ -88043,7 +88061,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88043
88061
|
menus: ge(a, c),
|
|
88044
88062
|
expansions: {}
|
|
88045
88063
|
};
|
|
88046
|
-
},
|
|
88064
|
+
}, w6 = function(a) {
|
|
88047
88065
|
return {
|
|
88048
88066
|
value: Tr(Yx()),
|
|
88049
88067
|
meta: { text: a }
|
|
@@ -88093,7 +88111,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88093
88111
|
extraApis: {
|
|
88094
88112
|
tieredData: Xx,
|
|
88095
88113
|
singleData: kN,
|
|
88096
|
-
collapseItem:
|
|
88114
|
+
collapseItem: w6
|
|
88097
88115
|
}
|
|
88098
88116
|
}), TN = function(a, c, v, b, x) {
|
|
88099
88117
|
var N = function() {
|
|
@@ -88732,7 +88750,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88732
88750
|
}, rE = function(a) {
|
|
88733
88751
|
return a !== "" && ` \f
|
|
88734
88752
|
\r \v`.indexOf(a) !== -1;
|
|
88735
|
-
},
|
|
88753
|
+
}, C6 = function(a, c) {
|
|
88736
88754
|
return a.substring(c.length);
|
|
88737
88755
|
}, gm = function(a, c, v) {
|
|
88738
88756
|
var b;
|
|
@@ -88755,13 +88773,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88755
88773
|
if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
|
|
88756
88774
|
return U.none();
|
|
88757
88775
|
var L = nE(F), G = L.lastIndexOf(v);
|
|
88758
|
-
return G !== 0 ||
|
|
88759
|
-
text:
|
|
88776
|
+
return G !== 0 || C6(L, v).length < b ? U.none() : U.some({
|
|
88777
|
+
text: C6(L, v),
|
|
88760
88778
|
range: F,
|
|
88761
88779
|
triggerChar: v
|
|
88762
88780
|
});
|
|
88763
88781
|
});
|
|
88764
|
-
},
|
|
88782
|
+
}, x6 = function(a, c, v, b) {
|
|
88765
88783
|
return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
|
|
88766
88784
|
return w_(a, c, v, b);
|
|
88767
88785
|
}, function(x) {
|
|
@@ -88770,11 +88788,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88770
88788
|
var D = nE(N);
|
|
88771
88789
|
return U.some({
|
|
88772
88790
|
range: N,
|
|
88773
|
-
text:
|
|
88791
|
+
text: C6(D, v),
|
|
88774
88792
|
triggerChar: v
|
|
88775
88793
|
});
|
|
88776
88794
|
});
|
|
88777
|
-
},
|
|
88795
|
+
}, E6 = function(a, c) {
|
|
88778
88796
|
c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
|
|
88779
88797
|
var v = function(b, x) {
|
|
88780
88798
|
_r(b, lp(), { raw: x });
|
|
@@ -88793,14 +88811,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88793
88811
|
}), c.on("NodeChange", function(b) {
|
|
88794
88812
|
a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
|
|
88795
88813
|
});
|
|
88796
|
-
}, VN = { setup:
|
|
88814
|
+
}, VN = { setup: E6 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
|
|
88797
88815
|
return {
|
|
88798
88816
|
container: a,
|
|
88799
88817
|
offset: c
|
|
88800
88818
|
};
|
|
88801
88819
|
}, oE = function(a) {
|
|
88802
88820
|
return a.nodeType === Nh;
|
|
88803
|
-
},
|
|
88821
|
+
}, S6 = function(a) {
|
|
88804
88822
|
return a.nodeType === Cf;
|
|
88805
88823
|
}, aE = function(a) {
|
|
88806
88824
|
if (oE(a))
|
|
@@ -88809,7 +88827,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88809
88827
|
return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
|
|
88810
88828
|
}, C_ = function(a, c) {
|
|
88811
88829
|
var v = a.childNodes;
|
|
88812
|
-
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 &&
|
|
88830
|
+
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 && S6(a) && v.length === c ? aE(v[v.length - 1]) : _m(a, c);
|
|
88813
88831
|
}, LN = function(a, c) {
|
|
88814
88832
|
return eE(a, c.container, c.offset, function(v, b) {
|
|
88815
88833
|
return b === 0 ? -1 : b;
|
|
@@ -88824,7 +88842,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88824
88842
|
};
|
|
88825
88843
|
}, zN = function(a, c, v) {
|
|
88826
88844
|
return dn(v.triggerChars, function(b) {
|
|
88827
|
-
return
|
|
88845
|
+
return x6(a, c, b);
|
|
88828
88846
|
});
|
|
88829
88847
|
}, iE = function(a, c) {
|
|
88830
88848
|
var v = c(), b = a.selection.getRng();
|
|
@@ -88898,7 +88916,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88898
88916
|
mo("onAction")
|
|
88899
88917
|
].concat(Eg)), dE = function(a) {
|
|
88900
88918
|
return Vo("toolbarbutton", fE, a);
|
|
88901
|
-
},
|
|
88919
|
+
}, k6 = [Ho("active", !1)].concat(Eg), qN = wt(k6.concat([
|
|
88902
88920
|
Yn("type"),
|
|
88903
88921
|
mo("onAction")
|
|
88904
88922
|
])), hE = function(a) {
|
|
@@ -88919,14 +88937,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88919
88937
|
Ot("primary", !1),
|
|
88920
88938
|
mo("onAction"),
|
|
88921
88939
|
vi("original", z)
|
|
88922
|
-
]),
|
|
88940
|
+
]), T6 = k6.concat([
|
|
88923
88941
|
Ot("type", "contextformbutton"),
|
|
88924
88942
|
Ot("primary", !1),
|
|
88925
88943
|
mo("onAction"),
|
|
88926
88944
|
vi("original", z)
|
|
88927
|
-
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 =
|
|
88945
|
+
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k6.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
|
|
88928
88946
|
contextformbutton: pE,
|
|
88929
|
-
contextformtogglebutton:
|
|
88947
|
+
contextformtogglebutton: T6
|
|
88930
88948
|
}), XN = wt([
|
|
88931
88949
|
Ot("type", "contextform"),
|
|
88932
88950
|
Qo("initValue", function() {
|
|
@@ -88969,18 +88987,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88969
88987
|
triggerChars: b,
|
|
88970
88988
|
lookupByChar: N
|
|
88971
88989
|
};
|
|
88972
|
-
},
|
|
88990
|
+
}, N6;
|
|
88973
88991
|
(function(a) {
|
|
88974
88992
|
a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
|
|
88975
|
-
})(
|
|
88976
|
-
var uf =
|
|
88993
|
+
})(N6 || (N6 = {}));
|
|
88994
|
+
var uf = N6, Sg = "tox-menu-nav__js", A6 = "tox-collection__item", I6 = "tox-swatch", D6 = {
|
|
88977
88995
|
normal: Sg,
|
|
88978
|
-
color:
|
|
88979
|
-
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon",
|
|
88980
|
-
return cr(
|
|
88996
|
+
color: I6
|
|
88997
|
+
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon", O6 = "tox-collection__item-label", rA = "tox-collection__item-accessory", _E = "tox-collection__item-caret", oA = "tox-collection__item-checkmark", x_ = "tox-collection__item--active", aA = "tox-collection__item-icon-rtl", yE = "tox-collection__item-container", iA = "tox-collection__item-container--column", bE = "tox-collection__item-container--row", B6 = "tox-collection__item-container--align-right", lA = "tox-collection__item-container--align-left", sA = "tox-collection__item-container--valign-top", uA = "tox-collection__item-container--valign-middle", wE = "tox-collection__item-container--valign-bottom", CE = function(a) {
|
|
88998
|
+
return cr(D6, a).getOr(Sg);
|
|
88981
88999
|
}, cA = function(a) {
|
|
88982
89000
|
return a === "color" ? "tox-swatches" : "tox-menu";
|
|
88983
|
-
},
|
|
89001
|
+
}, P6 = function(a) {
|
|
88984
89002
|
return {
|
|
88985
89003
|
backgroundMenu: "tox-background-menu",
|
|
88986
89004
|
selectedMenu: "tox-selected-menu",
|
|
@@ -88990,7 +89008,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88990
89008
|
tieredMenu: "tox-tiered-menu"
|
|
88991
89009
|
};
|
|
88992
89010
|
}, kg = function(a) {
|
|
88993
|
-
var c =
|
|
89011
|
+
var c = P6(a);
|
|
88994
89012
|
return {
|
|
88995
89013
|
backgroundMenu: c.backgroundMenu,
|
|
88996
89014
|
selectedMenu: c.selectedMenu,
|
|
@@ -88999,7 +89017,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88999
89017
|
item: CE(a)
|
|
89000
89018
|
};
|
|
89001
89019
|
}, fA = function(a, c, v) {
|
|
89002
|
-
var b =
|
|
89020
|
+
var b = P6(v);
|
|
89003
89021
|
return {
|
|
89004
89022
|
tag: "div",
|
|
89005
89023
|
classes: zt([
|
|
@@ -89010,8 +89028,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89010
89028
|
a ? [b.hasIcons] : []
|
|
89011
89029
|
])
|
|
89012
89030
|
};
|
|
89013
|
-
},
|
|
89014
|
-
var b =
|
|
89031
|
+
}, M6 = [id.parts.items({})], B4 = function(a, c, v) {
|
|
89032
|
+
var b = P6(v), x = {
|
|
89015
89033
|
tag: "div",
|
|
89016
89034
|
classes: zt([[b.tieredMenu]])
|
|
89017
89035
|
};
|
|
@@ -89019,7 +89037,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89019
89037
|
dom: x,
|
|
89020
89038
|
markers: kg(v)
|
|
89021
89039
|
};
|
|
89022
|
-
},
|
|
89040
|
+
}, R6 = function(a, c) {
|
|
89023
89041
|
return function(v) {
|
|
89024
89042
|
var b = me(v, c);
|
|
89025
89043
|
return Ge(b, function(x) {
|
|
@@ -89044,7 +89062,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89044
89062
|
classes: ["tox-swatches"]
|
|
89045
89063
|
},
|
|
89046
89064
|
components: [id.parts.items({
|
|
89047
|
-
preprocess: a !== "auto" ?
|
|
89065
|
+
preprocess: a !== "auto" ? R6({
|
|
89048
89066
|
tag: "div",
|
|
89049
89067
|
classes: ["tox-swatches__row"]
|
|
89050
89068
|
}, a) : z
|
|
@@ -89063,7 +89081,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89063
89081
|
]
|
|
89064
89082
|
},
|
|
89065
89083
|
components: [id.parts.items({
|
|
89066
|
-
preprocess:
|
|
89084
|
+
preprocess: R6({
|
|
89067
89085
|
tag: "div",
|
|
89068
89086
|
classes: ["tox-collection__group"]
|
|
89069
89087
|
}, a)
|
|
@@ -89082,7 +89100,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89082
89100
|
components: x
|
|
89083
89101
|
};
|
|
89084
89102
|
});
|
|
89085
|
-
}, $
|
|
89103
|
+
}, $6 = function(a, c, v) {
|
|
89086
89104
|
return {
|
|
89087
89105
|
dom: {
|
|
89088
89106
|
tag: "div",
|
|
@@ -89093,7 +89111,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89093
89111
|
},
|
|
89094
89112
|
components: [id.parts.items({
|
|
89095
89113
|
preprocess: function(b) {
|
|
89096
|
-
return a !== "auto" && a > 1 ?
|
|
89114
|
+
return a !== "auto" && a > 1 ? R6({
|
|
89097
89115
|
tag: "div",
|
|
89098
89116
|
classes: ["tox-collection__group"]
|
|
89099
89117
|
}, a)(b) : xE(b, function(x, N) {
|
|
@@ -89133,7 +89151,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89133
89151
|
components: N.components,
|
|
89134
89152
|
items: v
|
|
89135
89153
|
};
|
|
89136
|
-
},
|
|
89154
|
+
}, F6 = function(a, c, v, b, x) {
|
|
89137
89155
|
if (x === "color") {
|
|
89138
89156
|
var N = dA(b);
|
|
89139
89157
|
return {
|
|
@@ -89144,7 +89162,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89144
89162
|
};
|
|
89145
89163
|
}
|
|
89146
89164
|
if (x === "normal" && b === "auto") {
|
|
89147
|
-
var N = $
|
|
89165
|
+
var N = $6(b, v);
|
|
89148
89166
|
return {
|
|
89149
89167
|
value: a,
|
|
89150
89168
|
dom: N.dom,
|
|
@@ -89153,7 +89171,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89153
89171
|
};
|
|
89154
89172
|
}
|
|
89155
89173
|
if (x === "normal" && b === 1) {
|
|
89156
|
-
var N = $
|
|
89174
|
+
var N = $6(1, v);
|
|
89157
89175
|
return {
|
|
89158
89176
|
value: a,
|
|
89159
89177
|
dom: N.dom,
|
|
@@ -89162,7 +89180,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89162
89180
|
};
|
|
89163
89181
|
}
|
|
89164
89182
|
if (x === "normal") {
|
|
89165
|
-
var N = $
|
|
89183
|
+
var N = $6(b, v);
|
|
89166
89184
|
return {
|
|
89167
89185
|
value: a,
|
|
89168
89186
|
dom: N.dom,
|
|
@@ -89182,15 +89200,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89182
89200
|
return {
|
|
89183
89201
|
value: a,
|
|
89184
89202
|
dom: fA(c, b, x),
|
|
89185
|
-
components:
|
|
89203
|
+
components: M6,
|
|
89186
89204
|
items: v
|
|
89187
89205
|
};
|
|
89188
|
-
},
|
|
89206
|
+
}, V6 = [
|
|
89189
89207
|
Yn("type"),
|
|
89190
89208
|
Yn("src"),
|
|
89191
89209
|
jo("alt"),
|
|
89192
89210
|
mu("classes", [], Ut)
|
|
89193
|
-
], mA = wt(
|
|
89211
|
+
], mA = wt(V6), gA = [
|
|
89194
89212
|
Yn("type"),
|
|
89195
89213
|
Yn("text"),
|
|
89196
89214
|
jo("name"),
|
|
@@ -89238,9 +89256,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89238
89256
|
Yn("type"),
|
|
89239
89257
|
So("fancytype", EE),
|
|
89240
89258
|
Qo("onAction", R)
|
|
89241
|
-
]),
|
|
89259
|
+
]), L6 = function(a) {
|
|
89242
89260
|
return Vo("fancymenuitem", EA, a);
|
|
89243
|
-
},
|
|
89261
|
+
}, U6 = wt([
|
|
89244
89262
|
Yn("type"),
|
|
89245
89263
|
Qo("onSetup", function() {
|
|
89246
89264
|
return R;
|
|
@@ -89248,8 +89266,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89248
89266
|
Qo("onAction", R),
|
|
89249
89267
|
jo("icon")
|
|
89250
89268
|
].concat(Pv)), SE = function(a) {
|
|
89251
|
-
return Vo("menuitem",
|
|
89252
|
-
},
|
|
89269
|
+
return Vo("menuitem", U6, a);
|
|
89270
|
+
}, z6 = wt([
|
|
89253
89271
|
Yn("type"),
|
|
89254
89272
|
mo("getSubmenuItems"),
|
|
89255
89273
|
Qo("onSetup", function() {
|
|
@@ -89257,7 +89275,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89257
89275
|
}),
|
|
89258
89276
|
jo("icon")
|
|
89259
89277
|
].concat(Pv)), kE = function(a) {
|
|
89260
|
-
return Vo("nestedmenuitem",
|
|
89278
|
+
return Vo("nestedmenuitem", z6, a);
|
|
89261
89279
|
}, TE = wt([
|
|
89262
89280
|
Yn("type"),
|
|
89263
89281
|
jo("icon"),
|
|
@@ -89364,7 +89382,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89364
89382
|
})
|
|
89365
89383
|
]
|
|
89366
89384
|
]));
|
|
89367
|
-
},
|
|
89385
|
+
}, H6 = /* @__PURE__ */ Object.freeze({
|
|
89368
89386
|
__proto__: null,
|
|
89369
89387
|
events: OE
|
|
89370
89388
|
}), TA = [
|
|
@@ -89403,7 +89421,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89403
89421
|
}),
|
|
89404
89422
|
Mo("onHide"),
|
|
89405
89423
|
Mo("onShow")
|
|
89406
|
-
],
|
|
89424
|
+
], W6 = function() {
|
|
89407
89425
|
var a = jn(U.none()), c = jn(U.none()), v = function() {
|
|
89408
89426
|
return c.get();
|
|
89409
89427
|
}, b = function(G) {
|
|
@@ -89430,14 +89448,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89430
89448
|
resetTimer: D,
|
|
89431
89449
|
readState: L
|
|
89432
89450
|
});
|
|
89433
|
-
},
|
|
89451
|
+
}, j6 = /* @__PURE__ */ Object.freeze({
|
|
89434
89452
|
__proto__: null,
|
|
89435
|
-
init:
|
|
89453
|
+
init: W6
|
|
89436
89454
|
}), BE = Fa({
|
|
89437
89455
|
fields: TA,
|
|
89438
89456
|
name: "tooltipping",
|
|
89439
|
-
active:
|
|
89440
|
-
state:
|
|
89457
|
+
active: H6,
|
|
89458
|
+
state: j6,
|
|
89441
89459
|
apis: DE
|
|
89442
89460
|
}), PE = function(a) {
|
|
89443
89461
|
return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -89447,9 +89465,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89447
89465
|
"textarea",
|
|
89448
89466
|
"select"
|
|
89449
89467
|
], ME = function(a, c, v) {
|
|
89450
|
-
var b = c.disabled() ? F4 :
|
|
89468
|
+
var b = c.disabled() ? F4 : q6;
|
|
89451
89469
|
b(a, c);
|
|
89452
|
-
},
|
|
89470
|
+
}, G6 = function(a, c) {
|
|
89453
89471
|
return c.useNative === !0 && Le(NA, bs(a.element));
|
|
89454
89472
|
}, AA = function(a) {
|
|
89455
89473
|
return yy(a.element, "disabled");
|
|
@@ -89467,26 +89485,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89467
89485
|
c.disableClass.each(function(x) {
|
|
89468
89486
|
ta(a.element, x);
|
|
89469
89487
|
});
|
|
89470
|
-
var b =
|
|
89488
|
+
var b = G6(a, c) ? IA : $4;
|
|
89471
89489
|
b(a), c.onDisabled(a);
|
|
89472
|
-
},
|
|
89490
|
+
}, q6 = function(a, c, v) {
|
|
89473
89491
|
c.disableClass.each(function(x) {
|
|
89474
89492
|
Sa(a.element, x);
|
|
89475
89493
|
});
|
|
89476
|
-
var b =
|
|
89494
|
+
var b = G6(a, c) ? DA : RE;
|
|
89477
89495
|
b(a), c.onEnabled(a);
|
|
89478
89496
|
}, $E = function(a, c) {
|
|
89479
|
-
return
|
|
89480
|
-
},
|
|
89481
|
-
var x = b ? F4 :
|
|
89497
|
+
return G6(a, c) ? AA(a) : OA(a);
|
|
89498
|
+
}, K6 = function(a, c, v, b) {
|
|
89499
|
+
var x = b ? F4 : q6;
|
|
89482
89500
|
x(a, c);
|
|
89483
|
-
},
|
|
89501
|
+
}, Y6 = /* @__PURE__ */ Object.freeze({
|
|
89484
89502
|
__proto__: null,
|
|
89485
|
-
enable:
|
|
89503
|
+
enable: q6,
|
|
89486
89504
|
disable: F4,
|
|
89487
89505
|
isDisabled: $E,
|
|
89488
89506
|
onLoad: ME,
|
|
89489
|
-
set:
|
|
89507
|
+
set: K6
|
|
89490
89508
|
}), FE = function(a, c) {
|
|
89491
89509
|
return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
|
|
89492
89510
|
}, VE = function(a, c) {
|
|
@@ -89510,7 +89528,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89510
89528
|
fields: BA,
|
|
89511
89529
|
name: "disabling",
|
|
89512
89530
|
active: LE,
|
|
89513
|
-
apis:
|
|
89531
|
+
apis: Y6
|
|
89514
89532
|
}), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
|
|
89515
89533
|
var c = a.getParam("skin"), v = a.getParam("skin_url");
|
|
89516
89534
|
if (c !== !1) {
|
|
@@ -89532,17 +89550,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89532
89550
|
return U.from(a.getParam("min_height")).filter(O);
|
|
89533
89551
|
}, L4 = function(a) {
|
|
89534
89552
|
return U.from(a.getParam("max_width")).filter(O);
|
|
89535
|
-
},
|
|
89553
|
+
}, X6 = function(a) {
|
|
89536
89554
|
return U.from(a.getParam("max_height")).filter(O);
|
|
89537
89555
|
}, jE = function(a) {
|
|
89538
89556
|
return U.from(a.getParam("style_formats")).filter(d);
|
|
89539
|
-
},
|
|
89557
|
+
}, J6 = function(a) {
|
|
89540
89558
|
return a.getParam("style_formats_merge", !1, "boolean");
|
|
89541
89559
|
}, GE = function(a) {
|
|
89542
89560
|
return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
|
|
89543
89561
|
}, MA = function(a) {
|
|
89544
89562
|
return a.getParam("removed_menuitems", "");
|
|
89545
|
-
},
|
|
89563
|
+
}, Z6 = function(a) {
|
|
89546
89564
|
return a.getParam("menubar", !0, "boolean") !== !1;
|
|
89547
89565
|
}, Ag = function(a) {
|
|
89548
89566
|
var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
|
|
@@ -89571,10 +89589,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89571
89589
|
})(bm || (bm = {}));
|
|
89572
89590
|
var RA = function(a) {
|
|
89573
89591
|
return a.getParam("toolbar_groups", {}, "object");
|
|
89574
|
-
},
|
|
89592
|
+
}, Q6 = function(a) {
|
|
89575
89593
|
return a.getParam("toolbar_location", bm.auto, "string");
|
|
89576
|
-
},
|
|
89577
|
-
return
|
|
89594
|
+
}, e8 = function(a) {
|
|
89595
|
+
return Q6(a) === bm.bottom;
|
|
89578
89596
|
}, $A = function(a) {
|
|
89579
89597
|
return a.getParam("fixed_toolbar_container", "", "string");
|
|
89580
89598
|
}, FA = function(a) {
|
|
@@ -89596,14 +89614,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89596
89614
|
return c.getOrThunk(function() {
|
|
89597
89615
|
return Nd(mi(rr.fromDom(a.getElement())));
|
|
89598
89616
|
});
|
|
89599
|
-
},
|
|
89600
|
-
return a.inline && !
|
|
89617
|
+
}, t8 = function(a) {
|
|
89618
|
+
return a.inline && !Z6(a) && !Ag(a) && !k_(a);
|
|
89601
89619
|
}, z4 = function(a) {
|
|
89602
89620
|
var c = a.getParam("toolbar_sticky", !1, "boolean");
|
|
89603
|
-
return (c || a.inline) && !U4(a) && !
|
|
89621
|
+
return (c || a.inline) && !U4(a) && !t8(a);
|
|
89604
89622
|
}, LA = function(a) {
|
|
89605
89623
|
return a.getParam("draggable_modal", !1, "boolean");
|
|
89606
|
-
},
|
|
89624
|
+
}, n8 = function(a) {
|
|
89607
89625
|
var c = a.getParam("menu");
|
|
89608
89626
|
return c ? Vr(c, function(v) {
|
|
89609
89627
|
return ve(ve({}, v), { items: v.items });
|
|
@@ -89622,9 +89640,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89622
89640
|
return a.getParam("typeahead_urls") === !1;
|
|
89623
89641
|
}, qA = function(a) {
|
|
89624
89642
|
return a.getParam("anchor_top", "#top");
|
|
89625
|
-
},
|
|
89643
|
+
}, r8 = function(a) {
|
|
89626
89644
|
return a.getParam("anchor_bottom", "#bottom");
|
|
89627
|
-
},
|
|
89645
|
+
}, o8 = function(a) {
|
|
89628
89646
|
var c = a.getParam("file_picker_validator_handler", void 0, "function");
|
|
89629
89647
|
return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
|
|
89630
89648
|
}, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
|
|
@@ -89686,16 +89704,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89686
89704
|
return ts(function(v) {
|
|
89687
89705
|
return W4(a, v)(c.get());
|
|
89688
89706
|
});
|
|
89689
|
-
},
|
|
89707
|
+
}, a8, XA = function(a, c) {
|
|
89690
89708
|
return tc(function(v, b) {
|
|
89691
89709
|
W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
|
|
89692
89710
|
});
|
|
89693
|
-
}, JA = (
|
|
89711
|
+
}, JA = (a8 = {}, a8[Pl()] = [
|
|
89694
89712
|
"disabling",
|
|
89695
89713
|
"alloy.base.behaviour",
|
|
89696
89714
|
"toggling",
|
|
89697
89715
|
"item-events"
|
|
89698
|
-
],
|
|
89716
|
+
], a8), Ig = function(a) {
|
|
89699
89717
|
return Pt(a, function(c) {
|
|
89700
89718
|
return c.toArray();
|
|
89701
89719
|
});
|
|
@@ -89726,7 +89744,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89726
89744
|
value: a.value,
|
|
89727
89745
|
meta: ve({ text: a.text.getOr("") }, a.meta)
|
|
89728
89746
|
};
|
|
89729
|
-
},
|
|
89747
|
+
}, i8 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
|
|
89730
89748
|
var c = {
|
|
89731
89749
|
alt: "⌥",
|
|
89732
89750
|
ctrl: "⌃",
|
|
@@ -89736,11 +89754,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89736
89754
|
}, v = {
|
|
89737
89755
|
meta: "Ctrl",
|
|
89738
89756
|
access: "Shift+Alt"
|
|
89739
|
-
}, b =
|
|
89757
|
+
}, b = i8.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
|
|
89740
89758
|
var F = D.toLowerCase().trim();
|
|
89741
89759
|
return Po(b, F) ? b[F] : D;
|
|
89742
89760
|
});
|
|
89743
|
-
return
|
|
89761
|
+
return i8.mac ? N.join("") : N.join("+");
|
|
89744
89762
|
}, ZA = function(a) {
|
|
89745
89763
|
return {
|
|
89746
89764
|
dom: {
|
|
@@ -89753,7 +89771,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89753
89771
|
return {
|
|
89754
89772
|
dom: {
|
|
89755
89773
|
tag: "div",
|
|
89756
|
-
classes: [
|
|
89774
|
+
classes: [O6]
|
|
89757
89775
|
},
|
|
89758
89776
|
components: [Vf(Lu.translate(a))]
|
|
89759
89777
|
};
|
|
@@ -89769,7 +89787,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89769
89787
|
return {
|
|
89770
89788
|
dom: {
|
|
89771
89789
|
tag: "div",
|
|
89772
|
-
classes: [
|
|
89790
|
+
classes: [O6]
|
|
89773
89791
|
},
|
|
89774
89792
|
components: [{
|
|
89775
89793
|
dom: {
|
|
@@ -89812,7 +89830,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89812
89830
|
}
|
|
89813
89831
|
};
|
|
89814
89832
|
}, tI = function(a, c) {
|
|
89815
|
-
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA :
|
|
89833
|
+
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B6, x = function() {
|
|
89816
89834
|
switch (a.valign) {
|
|
89817
89835
|
case "top":
|
|
89818
89836
|
return sA;
|
|
@@ -89847,7 +89865,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89847
89865
|
};
|
|
89848
89866
|
}, rI = function(a, c, v, b) {
|
|
89849
89867
|
var x = "custom", N = "remove", D = function() {
|
|
89850
|
-
var F =
|
|
89868
|
+
var F = I6, L = v.getOr(""), G = a.map(function(ee) {
|
|
89851
89869
|
return { title: b.translate(ee) };
|
|
89852
89870
|
}).getOr({}), Z = {
|
|
89853
89871
|
tag: "div",
|
|
@@ -89878,14 +89896,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89878
89896
|
tag: "div",
|
|
89879
89897
|
classes: [
|
|
89880
89898
|
Sg,
|
|
89881
|
-
|
|
89899
|
+
A6
|
|
89882
89900
|
].concat(a ? [aA] : [])
|
|
89883
89901
|
}, v);
|
|
89884
|
-
},
|
|
89902
|
+
}, l8 = function(a, c, v, b, x) {
|
|
89885
89903
|
var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
|
|
89886
89904
|
return a.textContent.map(b);
|
|
89887
89905
|
}, function(G) {
|
|
89888
|
-
return U.some(tS(G, [
|
|
89906
|
+
return U.some(tS(G, [O6]));
|
|
89889
89907
|
}), L = {
|
|
89890
89908
|
dom: oS(x, a.ariaLabel),
|
|
89891
89909
|
optComponents: [
|
|
@@ -89923,8 +89941,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89923
89941
|
}, function(L) {
|
|
89924
89942
|
return Po(L, "style") ? re(QA, L.style) : eS;
|
|
89925
89943
|
});
|
|
89926
|
-
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) :
|
|
89927
|
-
},
|
|
89944
|
+
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l8(a, D, v, F, N);
|
|
89945
|
+
}, s8 = function(a, c) {
|
|
89928
89946
|
return cr(a, "tooltipWorker").map(function(v) {
|
|
89929
89947
|
return [BE.config({
|
|
89930
89948
|
lazySink: c.getSink,
|
|
@@ -89983,7 +90001,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89983
90001
|
},
|
|
89984
90002
|
onSetup: V(R),
|
|
89985
90003
|
triggersSubmenu: !1,
|
|
89986
|
-
itemBehaviours:
|
|
90004
|
+
itemBehaviours: s8(a.meta, D)
|
|
89987
90005
|
}, L, N, D.providers);
|
|
89988
90006
|
}, sS = function(a, c) {
|
|
89989
90007
|
return Ge(a, function(v) {
|
|
@@ -90082,17 +90100,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90082
90100
|
selected: a.active
|
|
90083
90101
|
}
|
|
90084
90102
|
});
|
|
90085
|
-
},
|
|
90103
|
+
}, u8 = Kp(ll(), qi()), uS = function(a) {
|
|
90086
90104
|
return { value: a };
|
|
90087
90105
|
}, 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) {
|
|
90088
90106
|
return cS.test(a) || fS.test(a);
|
|
90089
|
-
},
|
|
90107
|
+
}, c8 = function(a) {
|
|
90090
90108
|
var c = a.value.replace(cS, function(v, b, x, N) {
|
|
90091
90109
|
return b + b + x + x + N + N;
|
|
90092
90110
|
});
|
|
90093
90111
|
return { value: c };
|
|
90094
|
-
},
|
|
90095
|
-
var c =
|
|
90112
|
+
}, f8 = function(a) {
|
|
90113
|
+
var c = c8(a), v = fS.exec(c.value);
|
|
90096
90114
|
return v === null ? [
|
|
90097
90115
|
"FFFFFF",
|
|
90098
90116
|
"FF",
|
|
@@ -90105,14 +90123,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90105
90123
|
}, G4 = function(a) {
|
|
90106
90124
|
var c = D_(a.red) + D_(a.green) + D_(a.blue);
|
|
90107
90125
|
return uS(c);
|
|
90108
|
-
}, dS = Math.min, hS = Math.max, Cm = Math.round,
|
|
90126
|
+
}, dS = Math.min, hS = Math.max, Cm = Math.round, d8 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, q4 = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Mv = function(a, c, v, b) {
|
|
90109
90127
|
return {
|
|
90110
90128
|
red: a,
|
|
90111
90129
|
green: c,
|
|
90112
90130
|
blue: v,
|
|
90113
90131
|
alpha: b
|
|
90114
90132
|
};
|
|
90115
|
-
},
|
|
90133
|
+
}, h8 = function(a) {
|
|
90116
90134
|
var c = parseInt(a, 10);
|
|
90117
90135
|
return c.toString() === a && c >= 0 && c <= 255;
|
|
90118
90136
|
}, vS = function(a) {
|
|
@@ -90144,7 +90162,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90144
90162
|
}
|
|
90145
90163
|
return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
|
|
90146
90164
|
}, O_ = function(a) {
|
|
90147
|
-
var c =
|
|
90165
|
+
var c = f8(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
|
|
90148
90166
|
return Mv(v, b, x, 1);
|
|
90149
90167
|
}, pS = function(a, c, v, b) {
|
|
90150
90168
|
var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
|
|
@@ -90152,7 +90170,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90152
90170
|
}, uI = function(a) {
|
|
90153
90171
|
if (a === "transparent")
|
|
90154
90172
|
return U.some(Mv(0, 0, 0, 0));
|
|
90155
|
-
var c =
|
|
90173
|
+
var c = d8.exec(a);
|
|
90156
90174
|
if (c !== null)
|
|
90157
90175
|
return U.some(pS(c[1], c[2], c[3], "1"));
|
|
90158
90176
|
var v = q4.exec(a);
|
|
@@ -90165,7 +90183,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90165
90183
|
return a.fire("SkinLoadError", c);
|
|
90166
90184
|
}, dI = function(a) {
|
|
90167
90185
|
return a.fire("ResizeEditor");
|
|
90168
|
-
},
|
|
90186
|
+
}, v8 = function(a, c) {
|
|
90169
90187
|
return a.fire("ResizeContent", c);
|
|
90170
90188
|
}, hI = function(a, c) {
|
|
90171
90189
|
return a.fire("ScrollContent", c);
|
|
@@ -90300,7 +90318,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90300
90318
|
text: "White",
|
|
90301
90319
|
value: "#ffffff"
|
|
90302
90320
|
}
|
|
90303
|
-
], yS = pI(10),
|
|
90321
|
+
], yS = pI(10), p8 = function(a) {
|
|
90304
90322
|
var c = [], v = document.createElement("canvas");
|
|
90305
90323
|
v.height = 1, v.width = 1;
|
|
90306
90324
|
for (var b = v.getContext("2d"), x = function(F, L) {
|
|
@@ -90325,9 +90343,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90325
90343
|
return a.getParam("custom_colors") !== !1;
|
|
90326
90344
|
}, gI = function(a) {
|
|
90327
90345
|
return a.getParam("color_map");
|
|
90328
|
-
},
|
|
90346
|
+
}, m8 = function(a) {
|
|
90329
90347
|
var c = gI(a);
|
|
90330
|
-
return c !== void 0 ?
|
|
90348
|
+
return c !== void 0 ? p8(c) : mI;
|
|
90331
90349
|
}, _I = function() {
|
|
90332
90350
|
return Ge(yS.state(), function(a) {
|
|
90333
90351
|
return {
|
|
@@ -90361,7 +90379,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90361
90379
|
}, xI = function(a) {
|
|
90362
90380
|
return Math.max(5, Math.ceil(Math.sqrt(a)));
|
|
90363
90381
|
}, CS = function(a) {
|
|
90364
|
-
var c =
|
|
90382
|
+
var c = m8(a), v = xI(c.length);
|
|
90365
90383
|
return Xi(a, v);
|
|
90366
90384
|
}, EI = function(a) {
|
|
90367
90385
|
var c = "choiceitem", v = {
|
|
@@ -90379,7 +90397,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90379
90397
|
v,
|
|
90380
90398
|
b
|
|
90381
90399
|
] : [v];
|
|
90382
|
-
},
|
|
90400
|
+
}, g8 = function(a, c, v, b) {
|
|
90383
90401
|
if (v === "custom") {
|
|
90384
90402
|
var x = NS(a);
|
|
90385
90403
|
x(function(N) {
|
|
@@ -90413,12 +90431,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90413
90431
|
}).getOr(!1);
|
|
90414
90432
|
},
|
|
90415
90433
|
columns: CS(a),
|
|
90416
|
-
fetch: ES(
|
|
90434
|
+
fetch: ES(m8(a), bS(a)),
|
|
90417
90435
|
onAction: function(N) {
|
|
90418
|
-
x.get() !== null &&
|
|
90436
|
+
x.get() !== null && g8(a, v, x.get(), R);
|
|
90419
90437
|
},
|
|
90420
90438
|
onItemAction: function(N, D) {
|
|
90421
|
-
|
|
90439
|
+
g8(a, v, D, function(F) {
|
|
90422
90440
|
x.set(F), vI(a, {
|
|
90423
90441
|
name: c,
|
|
90424
90442
|
color: F
|
|
@@ -90444,7 +90462,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90444
90462
|
type: "fancymenuitem",
|
|
90445
90463
|
fancytype: "colorswatch",
|
|
90446
90464
|
onAction: function(x) {
|
|
90447
|
-
|
|
90465
|
+
g8(a, v, x.value, R);
|
|
90448
90466
|
}
|
|
90449
90467
|
}];
|
|
90450
90468
|
}
|
|
@@ -90497,9 +90515,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90497
90515
|
CI(a);
|
|
90498
90516
|
var c = jn(null), v = jn(null);
|
|
90499
90517
|
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");
|
|
90500
|
-
},
|
|
90518
|
+
}, _8 = function(a, c, v, b, x, N, D, F) {
|
|
90501
90519
|
var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
|
|
90502
|
-
return
|
|
90520
|
+
return F6(a, L, Z, b, x);
|
|
90503
90521
|
}, kI = function(a, c, v, b, x, N, D) {
|
|
90504
90522
|
return sh(Ge(a, function(F) {
|
|
90505
90523
|
return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
|
|
@@ -90543,11 +90561,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90543
90561
|
mode: "matrix",
|
|
90544
90562
|
selectors: {
|
|
90545
90563
|
row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
|
|
90546
|
-
cell: c === "color" ? "." +
|
|
90564
|
+
cell: c === "color" ? "." + I6 : "." + A6
|
|
90547
90565
|
}
|
|
90548
90566
|
};
|
|
90549
90567
|
}, NI = function(a, c) {
|
|
90550
|
-
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N =
|
|
90568
|
+
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _8(Tr("menu-value"), v, function(F) {
|
|
90551
90569
|
a.onAction({ value: F });
|
|
90552
90570
|
}, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
|
|
90553
90571
|
markers: kg(x),
|
|
@@ -90561,16 +90579,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90561
90579
|
classes: ["tox-fancymenuitem"]
|
|
90562
90580
|
},
|
|
90563
90581
|
autofocus: !0,
|
|
90564
|
-
components: [
|
|
90582
|
+
components: [u8.widget(id.sketch(D))]
|
|
90565
90583
|
};
|
|
90566
|
-
}, AS = Tr("cell-over"),
|
|
90584
|
+
}, AS = Tr("cell-over"), y8 = Tr("cell-execute"), AI = function(a, c, v) {
|
|
90567
90585
|
var b, x = function(F) {
|
|
90568
90586
|
return _r(F, AS, {
|
|
90569
90587
|
row: a,
|
|
90570
90588
|
col: c
|
|
90571
90589
|
});
|
|
90572
90590
|
}, N = function(F) {
|
|
90573
|
-
return _r(F,
|
|
90591
|
+
return _r(F, y8, {
|
|
90574
90592
|
row: a,
|
|
90575
90593
|
col: c
|
|
90576
90594
|
});
|
|
@@ -90631,7 +90649,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90631
90649
|
classes: ["tox-fancymenuitem"]
|
|
90632
90650
|
},
|
|
90633
90651
|
autofocus: !0,
|
|
90634
|
-
components: [
|
|
90652
|
+
components: [u8.widget({
|
|
90635
90653
|
dom: {
|
|
90636
90654
|
tag: "div",
|
|
90637
90655
|
classes: ["tox-insert-table-picker"]
|
|
@@ -90643,7 +90661,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90643
90661
|
var G = L.event.row, Z = L.event.col;
|
|
90644
90662
|
DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
|
|
90645
90663
|
}),
|
|
90646
|
-
Fs(
|
|
90664
|
+
Fs(y8, function(D, F, L) {
|
|
90647
90665
|
a.onAction({
|
|
90648
90666
|
numRows: L.event.row + 1,
|
|
90649
90667
|
numColumns: L.event.col + 1
|
|
@@ -90741,7 +90759,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90741
90759
|
dom: ve({
|
|
90742
90760
|
tag: "div",
|
|
90743
90761
|
classes: [
|
|
90744
|
-
|
|
90762
|
+
A6,
|
|
90745
90763
|
tA
|
|
90746
90764
|
]
|
|
90747
90765
|
}, c),
|
|
@@ -90819,7 +90837,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90819
90837
|
return U.some(MS(F));
|
|
90820
90838
|
});
|
|
90821
90839
|
case "fancymenuitem":
|
|
90822
|
-
return
|
|
90840
|
+
return L6(a).fold(mh, function(F) {
|
|
90823
90841
|
return UI(D(F), v);
|
|
90824
90842
|
});
|
|
90825
90843
|
default:
|
|
@@ -90840,7 +90858,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90840
90858
|
Z.onAction(ee), v(Z.value, Z.meta);
|
|
90841
90859
|
}
|
|
90842
90860
|
}), x, N, {
|
|
90843
|
-
itemBehaviours:
|
|
90861
|
+
itemBehaviours: s8(Z.meta, N),
|
|
90844
90862
|
cardText: {
|
|
90845
90863
|
matchText: c,
|
|
90846
90864
|
highlightOn: D
|
|
@@ -90854,7 +90872,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90854
90872
|
});
|
|
90855
90873
|
}
|
|
90856
90874
|
}));
|
|
90857
|
-
},
|
|
90875
|
+
}, b8 = function(a, c, v, b, x) {
|
|
90858
90876
|
var N = P4(c), D = sh(Ge(c, function(L) {
|
|
90859
90877
|
var G = function(ee) {
|
|
90860
90878
|
return x ? !ee.hasOwnProperty("text") : N;
|
|
@@ -90862,7 +90880,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90862
90880
|
return RS(ee, v, b, G(ee), x);
|
|
90863
90881
|
};
|
|
90864
90882
|
return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
|
|
90865
|
-
})), F = x ? pA :
|
|
90883
|
+
})), F = x ? pA : F6;
|
|
90866
90884
|
return F(a, N, D, 1, "normal");
|
|
90867
90885
|
}, $S = function(a) {
|
|
90868
90886
|
return hm.singleData(a.value, a);
|
|
@@ -90887,7 +90905,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90887
90905
|
});
|
|
90888
90906
|
})])
|
|
90889
90907
|
};
|
|
90890
|
-
},
|
|
90908
|
+
}, w8 = function(a, c) {
|
|
90891
90909
|
var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
|
|
90892
90910
|
dom: {
|
|
90893
90911
|
tag: "div",
|
|
@@ -90922,7 +90940,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90922
90940
|
var jt = rn.items;
|
|
90923
90941
|
return HI(jt, rn.matchText, function(nn, Kt) {
|
|
90924
90942
|
var En = a.selection.getRng();
|
|
90925
|
-
|
|
90943
|
+
x6(a.dom, En, qe).fold(function() {
|
|
90926
90944
|
return console.error("Lost context. Cursor probably moved");
|
|
90927
90945
|
}, function(wr) {
|
|
90928
90946
|
var Jn = wr.range, fn = {
|
|
@@ -90955,10 +90973,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90955
90973
|
anchor: "node",
|
|
90956
90974
|
root: rr.fromDom(a.getBody()),
|
|
90957
90975
|
node: U.from(qe.element)
|
|
90958
|
-
}, id.sketch(WI(
|
|
90976
|
+
}, id.sketch(WI(F6("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
|
|
90959
90977
|
}, Te = function(qe) {
|
|
90960
90978
|
return v.get().map(function(St) {
|
|
90961
|
-
return
|
|
90979
|
+
return x6(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
|
|
90962
90980
|
return lE(a, G, At, qe);
|
|
90963
90981
|
});
|
|
90964
90982
|
}).getOrThunk(function() {
|
|
@@ -90989,7 +91007,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90989
91007
|
}
|
|
90990
91008
|
};
|
|
90991
91009
|
a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
|
|
90992
|
-
}, jI = { register:
|
|
91010
|
+
}, jI = { register: w8 }, FS = Pe, Tc = function(a, c, v) {
|
|
90993
91011
|
return D0(a, c, FS, v);
|
|
90994
91012
|
}, P_ = function(a, c, v) {
|
|
90995
91013
|
return Nw(a, c, FS, v);
|
|
@@ -91558,19 +91576,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91558
91576
|
name: "tabstopping",
|
|
91559
91577
|
active: u9
|
|
91560
91578
|
}), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
|
|
91561
|
-
var x =
|
|
91579
|
+
var x = C8(a, c, v, b);
|
|
91562
91580
|
return zo.sketch(x);
|
|
91563
91581
|
}, d9 = function(a, c) {
|
|
91564
91582
|
return Mg(a, c, [], []);
|
|
91565
|
-
},
|
|
91583
|
+
}, C8 = function(a, c, v, b) {
|
|
91566
91584
|
return {
|
|
91567
|
-
dom:
|
|
91585
|
+
dom: x8(v),
|
|
91568
91586
|
components: a.toArray().concat([c]),
|
|
91569
91587
|
fieldBehaviours: Mn(b)
|
|
91570
91588
|
};
|
|
91571
91589
|
}, h9 = function() {
|
|
91572
|
-
return
|
|
91573
|
-
},
|
|
91590
|
+
return x8([]);
|
|
91591
|
+
}, x8 = function(a) {
|
|
91574
91592
|
return {
|
|
91575
91593
|
tag: "div",
|
|
91576
91594
|
classes: ["tox-form__group"].concat(a)
|
|
@@ -91583,7 +91601,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91583
91601
|
innerHtml: c.translate(a)
|
|
91584
91602
|
}
|
|
91585
91603
|
});
|
|
91586
|
-
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"),
|
|
91604
|
+
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"), E8 = Tr("form-block"), $g = Tr("form-unblock"), XS = Tr("form-tabchange"), JS = Tr("form-resize"), ZS = function(a, c) {
|
|
91587
91605
|
var v, b = a.label.map(function(ee) {
|
|
91588
91606
|
return Rv(ee, c);
|
|
91589
91607
|
}), x = function(ee) {
|
|
@@ -92184,7 +92202,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92184
92202
|
}, function(b) {
|
|
92185
92203
|
return b.validate(a);
|
|
92186
92204
|
});
|
|
92187
|
-
},
|
|
92205
|
+
}, S8 = function(a, c, v) {
|
|
92188
92206
|
return c.notify.each(function(b) {
|
|
92189
92207
|
b.onValidate(a);
|
|
92190
92208
|
}), uk(a, c).map(function(b) {
|
|
@@ -92202,14 +92220,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92202
92220
|
markValid: lk,
|
|
92203
92221
|
markInvalid: sk,
|
|
92204
92222
|
query: uk,
|
|
92205
|
-
run:
|
|
92223
|
+
run: S8,
|
|
92206
92224
|
isInvalid: b9
|
|
92207
92225
|
}), w9 = function(a, c) {
|
|
92208
92226
|
return a.validator.map(function(v) {
|
|
92209
92227
|
return Oo([wn(v.onEvent, function(b) {
|
|
92210
|
-
|
|
92228
|
+
S8(b, a, c).get(z);
|
|
92211
92229
|
})].concat(v.validateOnLoad ? [Ra(function(b) {
|
|
92212
|
-
|
|
92230
|
+
S8(b, a, c).get(R);
|
|
92213
92231
|
})] : []));
|
|
92214
92232
|
}).getOr({});
|
|
92215
92233
|
}, C9 = /* @__PURE__ */ Object.freeze({
|
|
@@ -92339,7 +92357,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92339
92357
|
})));
|
|
92340
92358
|
});
|
|
92341
92359
|
});
|
|
92342
|
-
},
|
|
92360
|
+
}, k8 = function(a, c, v, b, x, N, D) {
|
|
92343
92361
|
var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
|
|
92344
92362
|
return L.map(function(G) {
|
|
92345
92363
|
return G.fold(function() {
|
|
@@ -92351,7 +92369,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92351
92369
|
}, n3 = function(a, c, v, b, x, N, D) {
|
|
92352
92370
|
return wo.close(b), sl.pure(b);
|
|
92353
92371
|
}, Vg = function(a, c, v, b, x, N) {
|
|
92354
|
-
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 :
|
|
92372
|
+
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k8;
|
|
92355
92373
|
return L(a, c, v, D, b, x, N);
|
|
92356
92374
|
}, T9 = function(a, c, v) {
|
|
92357
92375
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
@@ -92372,11 +92390,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92372
92390
|
};
|
|
92373
92391
|
});
|
|
92374
92392
|
});
|
|
92375
|
-
},
|
|
92393
|
+
}, T8 = function(a) {
|
|
92376
92394
|
wo.getState(a).each(function(c) {
|
|
92377
92395
|
hm.repositionMenus(c);
|
|
92378
92396
|
});
|
|
92379
|
-
},
|
|
92397
|
+
}, N8 = function(a, c, v) {
|
|
92380
92398
|
var b = lc(), x = function(F, L) {
|
|
92381
92399
|
var G = t3(a, c);
|
|
92382
92400
|
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);
|
|
@@ -92416,13 +92434,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92416
92434
|
});
|
|
92417
92435
|
}
|
|
92418
92436
|
}),
|
|
92419
|
-
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition:
|
|
92437
|
+
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T8 })) })
|
|
92420
92438
|
])
|
|
92421
92439
|
};
|
|
92422
|
-
},
|
|
92440
|
+
}, A8 = function(a) {
|
|
92423
92441
|
var c = Ga.getCoupled(a, "sandbox");
|
|
92424
|
-
|
|
92425
|
-
},
|
|
92442
|
+
T8(c);
|
|
92443
|
+
}, I8 = function() {
|
|
92426
92444
|
return [
|
|
92427
92445
|
Ot("sandboxClasses", []),
|
|
92428
92446
|
is.field("sandboxBehaviours", [
|
|
@@ -92452,7 +92470,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92452
92470
|
Ot("matchWidth", !1),
|
|
92453
92471
|
Ot("useMinWidth", !1),
|
|
92454
92472
|
Do("role")
|
|
92455
|
-
].concat(
|
|
92473
|
+
].concat(I8())), pk = V([
|
|
92456
92474
|
tu({
|
|
92457
92475
|
schema: [zf()],
|
|
92458
92476
|
name: "menu",
|
|
@@ -92493,7 +92511,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92493
92511
|
}, Z, b, R, Uu.HighlightFirst).get(R);
|
|
92494
92512
|
},
|
|
92495
92513
|
repositionMenus: function(Z) {
|
|
92496
|
-
Vt.isOn(Z) &&
|
|
92514
|
+
Vt.isOn(Z) && A8(Z);
|
|
92497
92515
|
}
|
|
92498
92516
|
}, G = function(Z, ee) {
|
|
92499
92517
|
return Nf(Z), U.some(!0);
|
|
@@ -92510,7 +92528,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92510
92528
|
Ga.config({
|
|
92511
92529
|
others: {
|
|
92512
92530
|
sandbox: function(Z) {
|
|
92513
|
-
return
|
|
92531
|
+
return N8(a, Z, {
|
|
92514
92532
|
onOpen: function() {
|
|
92515
92533
|
return Vt.on(Z);
|
|
92516
92534
|
},
|
|
@@ -92614,7 +92632,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92614
92632
|
return sl.nu(function(b) {
|
|
92615
92633
|
return a.fetch(b);
|
|
92616
92634
|
}).map(function(b) {
|
|
92617
|
-
return U.from($S(to(
|
|
92635
|
+
return U.from($S(to(_8(Tr("menu-value"), b, function(x) {
|
|
92618
92636
|
a.onItemAction(v, x);
|
|
92619
92637
|
}, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
|
|
92620
92638
|
});
|
|
@@ -92832,7 +92850,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92832
92850
|
Ek
|
|
92833
92851
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92834
92852
|
return a.type.indexOf("touch") !== -1;
|
|
92835
|
-
},
|
|
92853
|
+
}, D8 = function(a) {
|
|
92836
92854
|
var c = a.event.raw;
|
|
92837
92855
|
if (V9(c)) {
|
|
92838
92856
|
var v = c;
|
|
@@ -92863,12 +92881,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92863
92881
|
return a.model.maxY + 1;
|
|
92864
92882
|
}, z_ = function(a, c, v) {
|
|
92865
92883
|
return c(a) - v(a);
|
|
92866
|
-
},
|
|
92884
|
+
}, O8 = function(a) {
|
|
92867
92885
|
return z_(a, Nl, Sm);
|
|
92868
92886
|
}, i3 = function(a) {
|
|
92869
92887
|
return z_(a, Vv, lu);
|
|
92870
92888
|
}, kk = function(a) {
|
|
92871
|
-
return
|
|
92889
|
+
return O8(a) / 2;
|
|
92872
92890
|
}, Tk = function(a) {
|
|
92873
92891
|
return i3(a) / 2;
|
|
92874
92892
|
}, Lg = function(a) {
|
|
@@ -92891,7 +92909,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92891
92909
|
return s3(a, Em);
|
|
92892
92910
|
}, cd = function(a) {
|
|
92893
92911
|
return a.model.value.get();
|
|
92894
|
-
},
|
|
92912
|
+
}, B8 = function(a) {
|
|
92895
92913
|
return { x: a };
|
|
92896
92914
|
}, Pk = function(a) {
|
|
92897
92915
|
return { y: a };
|
|
@@ -92911,7 +92929,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92911
92929
|
}, Rk = function(a, c) {
|
|
92912
92930
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92913
92931
|
}, $k = function(a, c) {
|
|
92914
|
-
Ac(a,
|
|
92932
|
+
Ac(a, B8(U_(c)));
|
|
92915
92933
|
}, u3 = function(a, c) {
|
|
92916
92934
|
Ac(a, Lv(U_(c), Tk(c)));
|
|
92917
92935
|
}, j9 = function(a, c) {
|
|
@@ -92923,12 +92941,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92923
92941
|
}, q9 = function(a, c) {
|
|
92924
92942
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92925
92943
|
}, K9 = function(a, c) {
|
|
92926
|
-
Ac(a,
|
|
92944
|
+
Ac(a, B8(r3(c)));
|
|
92927
92945
|
}, Y9 = function(a, c) {
|
|
92928
92946
|
Ac(a, Lv(r3(c), Tk(c)));
|
|
92929
92947
|
}, Ug = function(a, c, v, b) {
|
|
92930
92948
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92931
|
-
},
|
|
92949
|
+
}, P8 = function(a, c, v, b) {
|
|
92932
92950
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92933
92951
|
}, Vk = function(a, c, v) {
|
|
92934
92952
|
return Math.max(c, Math.min(v, a));
|
|
@@ -92950,26 +92968,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92950
92968
|
return je;
|
|
92951
92969
|
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92952
92970
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92953
|
-
},
|
|
92971
|
+
}, M8 = function(a) {
|
|
92954
92972
|
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;
|
|
92955
92973
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92956
|
-
}, H_ = "top", Lk = "right", Uk = "bottom",
|
|
92974
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R8 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92957
92975
|
return a.element.dom.getBoundingClientRect();
|
|
92958
92976
|
}, Ic = function(a, c) {
|
|
92959
92977
|
return a[c];
|
|
92960
92978
|
}, cs = function(a) {
|
|
92961
92979
|
var c = zu(a);
|
|
92962
|
-
return Ic(c,
|
|
92980
|
+
return Ic(c, R8);
|
|
92963
92981
|
}, Hk = function(a) {
|
|
92964
92982
|
var c = zu(a);
|
|
92965
92983
|
return Ic(c, Lk);
|
|
92966
92984
|
}, c3 = function(a) {
|
|
92967
92985
|
var c = zu(a);
|
|
92968
92986
|
return Ic(c, H_);
|
|
92969
|
-
}, $
|
|
92987
|
+
}, $8 = function(a) {
|
|
92970
92988
|
var c = zu(a);
|
|
92971
92989
|
return Ic(c, Uk);
|
|
92972
|
-
},
|
|
92990
|
+
}, F8 = function(a) {
|
|
92973
92991
|
var c = zu(a);
|
|
92974
92992
|
return Ic(c, zk);
|
|
92975
92993
|
}, Wk = function(a) {
|
|
@@ -92978,7 +92996,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92978
92996
|
}, jk = function(a, c, v) {
|
|
92979
92997
|
return (a + c) / 2 - v;
|
|
92980
92998
|
}, Gk = function(a, c) {
|
|
92981
|
-
var v = zu(a), b = zu(c), x = Ic(v,
|
|
92999
|
+
var v = zu(a), b = zu(c), x = Ic(v, R8), N = Ic(v, Lk), D = Ic(b, R8);
|
|
92982
93000
|
return jk(x, N, D);
|
|
92983
93001
|
}, qk = function(a, c) {
|
|
92984
93002
|
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
@@ -92987,11 +93005,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92987
93005
|
_r(a, L_(), { value: c });
|
|
92988
93006
|
}, d3 = function(a) {
|
|
92989
93007
|
return { x: a };
|
|
92990
|
-
},
|
|
93008
|
+
}, V8 = function(a, c, v) {
|
|
92991
93009
|
var b = {
|
|
92992
93010
|
min: Sm(c),
|
|
92993
93011
|
max: Nl(c),
|
|
92994
|
-
range:
|
|
93012
|
+
range: O8(c),
|
|
92995
93013
|
value: v,
|
|
92996
93014
|
step: Lg(c),
|
|
92997
93015
|
snap: l3(c),
|
|
@@ -93001,11 +93019,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93001
93019
|
hasMaxEdge: Dk(c),
|
|
93002
93020
|
minBound: cs(a),
|
|
93003
93021
|
maxBound: Hk(a),
|
|
93004
|
-
screenRange:
|
|
93022
|
+
screenRange: F8(a)
|
|
93005
93023
|
};
|
|
93006
93024
|
return km(b);
|
|
93007
93025
|
}, Kk = function(a, c, v) {
|
|
93008
|
-
var b =
|
|
93026
|
+
var b = V8(a, c, v), x = d3(b);
|
|
93009
93027
|
return f3(a, x), b;
|
|
93010
93028
|
}, Z9 = function(a, c) {
|
|
93011
93029
|
var v = Sm(c);
|
|
@@ -93014,26 +93032,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93014
93032
|
var v = Nl(c);
|
|
93015
93033
|
f3(a, d3(v));
|
|
93016
93034
|
}, eD = function(a, c, v) {
|
|
93017
|
-
var b = a > 0 ?
|
|
93035
|
+
var b = a > 0 ? P8 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
|
|
93018
93036
|
return f3(c, d3(x)), U.some(x);
|
|
93019
|
-
},
|
|
93037
|
+
}, L8 = function(a) {
|
|
93020
93038
|
return function(c, v) {
|
|
93021
93039
|
return eD(a, c, v).map(Pe);
|
|
93022
93040
|
};
|
|
93023
93041
|
}, h3 = function(a) {
|
|
93024
|
-
var c =
|
|
93042
|
+
var c = D8(a);
|
|
93025
93043
|
return c.map(function(v) {
|
|
93026
93044
|
return v.left;
|
|
93027
93045
|
});
|
|
93028
93046
|
}, tD = function(a, c, v, b, x) {
|
|
93029
|
-
var N = 0, D =
|
|
93047
|
+
var N = 0, D = F8(a), F = b.bind(function(Z) {
|
|
93030
93048
|
return U.some(Gk(Z, a));
|
|
93031
93049
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93032
93050
|
return U.some(Gk(Z, a));
|
|
93033
93051
|
}).getOr(D), G = {
|
|
93034
93052
|
min: Sm(c),
|
|
93035
93053
|
max: Nl(c),
|
|
93036
|
-
range:
|
|
93054
|
+
range: O8(c),
|
|
93037
93055
|
value: v,
|
|
93038
93056
|
hasMinEdge: Ik(c),
|
|
93039
93057
|
hasMaxEdge: Dk(c),
|
|
@@ -93044,14 +93062,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93044
93062
|
centerMinEdge: F,
|
|
93045
93063
|
centerMaxEdge: L
|
|
93046
93064
|
};
|
|
93047
|
-
return
|
|
93065
|
+
return M8(G);
|
|
93048
93066
|
}, zg = function(a, c, v, b, x, N) {
|
|
93049
93067
|
var D = tD(c, N, v, b, x);
|
|
93050
93068
|
return cs(c) - cs(a) + D;
|
|
93051
93069
|
}, Hg = function(a, c, v, b) {
|
|
93052
93070
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
|
|
93053
93071
|
eo(c.element, "left", N - D + "px");
|
|
93054
|
-
}, Yk =
|
|
93072
|
+
}, Yk = L8(-1), Xk = L8(1), Jk = U.none, nD = U.none, rD = {
|
|
93055
93073
|
"top-left": U.none(),
|
|
93056
93074
|
top: U.none(),
|
|
93057
93075
|
"top-right": U.none(),
|
|
@@ -93065,7 +93083,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93065
93083
|
setValueFrom: Kk,
|
|
93066
93084
|
setToMin: Z9,
|
|
93067
93085
|
setToMax: Q9,
|
|
93068
|
-
findValueOfOffset:
|
|
93086
|
+
findValueOfOffset: V8,
|
|
93069
93087
|
getValueFromEvent: h3,
|
|
93070
93088
|
findPositionOfValue: zg,
|
|
93071
93089
|
setPositionFromValue: Hg,
|
|
@@ -93091,28 +93109,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93091
93109
|
hasMinEdge: Ok(c),
|
|
93092
93110
|
hasMaxEdge: Bk(c),
|
|
93093
93111
|
minBound: c3(a),
|
|
93094
|
-
maxBound: $
|
|
93112
|
+
maxBound: $8(a),
|
|
93095
93113
|
screenRange: Wk(a)
|
|
93096
93114
|
};
|
|
93097
93115
|
return km(b);
|
|
93098
93116
|
}, Zk = function(a, c, v) {
|
|
93099
93117
|
var b = g3(a, c, v), x = m3(b);
|
|
93100
93118
|
return p3(a, x), b;
|
|
93101
|
-
},
|
|
93119
|
+
}, U8 = function(a, c) {
|
|
93102
93120
|
var v = lu(c);
|
|
93103
93121
|
p3(a, m3(v));
|
|
93104
93122
|
}, Qk = function(a, c) {
|
|
93105
93123
|
var v = Vv(c);
|
|
93106
93124
|
p3(a, m3(v));
|
|
93107
93125
|
}, fs = function(a, c, v) {
|
|
93108
|
-
var b = a > 0 ?
|
|
93126
|
+
var b = a > 0 ? P8 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
|
|
93109
93127
|
return p3(c, m3(x)), U.some(x);
|
|
93110
|
-
},
|
|
93128
|
+
}, z8 = function(a) {
|
|
93111
93129
|
return function(c, v) {
|
|
93112
93130
|
return fs(a, c, v).map(Pe);
|
|
93113
93131
|
};
|
|
93114
93132
|
}, oD = function(a) {
|
|
93115
|
-
var c =
|
|
93133
|
+
var c = D8(a);
|
|
93116
93134
|
return c.map(function(v) {
|
|
93117
93135
|
return v.top;
|
|
93118
93136
|
});
|
|
@@ -93130,19 +93148,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93130
93148
|
hasMaxEdge: Bk(c),
|
|
93131
93149
|
minBound: c3(a),
|
|
93132
93150
|
minOffset: N,
|
|
93133
|
-
maxBound: $
|
|
93151
|
+
maxBound: $8(a),
|
|
93134
93152
|
maxOffset: D,
|
|
93135
93153
|
centerMinEdge: F,
|
|
93136
93154
|
centerMaxEdge: L
|
|
93137
93155
|
};
|
|
93138
|
-
return
|
|
93156
|
+
return M8(G);
|
|
93139
93157
|
}, _3 = function(a, c, v, b, x, N) {
|
|
93140
93158
|
var D = aD(c, N, v, b, x);
|
|
93141
93159
|
return c3(c) - c3(a) + D;
|
|
93142
93160
|
}, iD = function(a, c, v, b) {
|
|
93143
93161
|
var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
|
|
93144
93162
|
eo(c.element, "top", N - D + "px");
|
|
93145
|
-
}, lD = U.none, sD = U.none, e5 =
|
|
93163
|
+
}, lD = U.none, sD = U.none, e5 = z8(-1), fd = z8(1), H8 = {
|
|
93146
93164
|
"top-left": U.none(),
|
|
93147
93165
|
top: U.some(W9),
|
|
93148
93166
|
"top-right": U.none(),
|
|
@@ -93154,7 +93172,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93154
93172
|
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93155
93173
|
__proto__: null,
|
|
93156
93174
|
setValueFrom: Zk,
|
|
93157
|
-
setToMin:
|
|
93175
|
+
setToMin: U8,
|
|
93158
93176
|
setToMax: Qk,
|
|
93159
93177
|
findValueOfOffset: g3,
|
|
93160
93178
|
getValueFromEvent: oD,
|
|
@@ -93164,7 +93182,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93164
93182
|
onRight: sD,
|
|
93165
93183
|
onUp: e5,
|
|
93166
93184
|
onDown: fd,
|
|
93167
|
-
edgeActions:
|
|
93185
|
+
edgeActions: H8
|
|
93168
93186
|
}), Tm = function(a, c) {
|
|
93169
93187
|
_r(a, L_(), { value: c });
|
|
93170
93188
|
}, Wg = function(a, c) {
|
|
@@ -93173,10 +93191,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93173
93191
|
y: c
|
|
93174
93192
|
};
|
|
93175
93193
|
}, uD = function(a, c, v) {
|
|
93176
|
-
var b =
|
|
93194
|
+
var b = V8(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
|
|
93177
93195
|
return Tm(a, N), N;
|
|
93178
93196
|
}, cD = function(a, c, v, b) {
|
|
93179
|
-
var x = a > 0 ?
|
|
93197
|
+
var x = a > 0 ? P8 : Ug, N = c ? cd(b).x : x(cd(b).x, Sm(b), Nl(b), Lg(b)), D = c ? x(cd(b).y, lu(b), Vv(b), Lg(b)) : cd(b).y;
|
|
93180
93198
|
return Tm(v, Wg(N, D)), U.some(N);
|
|
93181
93199
|
}, y3 = function(a, c) {
|
|
93182
93200
|
return function(v, b) {
|
|
@@ -93188,8 +93206,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93188
93206
|
}, dD = function(a, c) {
|
|
93189
93207
|
var v = Nl(c), b = Vv(c);
|
|
93190
93208
|
Tm(a, Wg(v, b));
|
|
93191
|
-
},
|
|
93192
|
-
return
|
|
93209
|
+
}, W8 = function(a) {
|
|
93210
|
+
return D8(a);
|
|
93193
93211
|
}, hD = function(a, c, v, b) {
|
|
93194
93212
|
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;
|
|
93195
93213
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
@@ -93207,7 +93225,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93207
93225
|
setValueFrom: uD,
|
|
93208
93226
|
setToMin: fD,
|
|
93209
93227
|
setToMax: dD,
|
|
93210
|
-
getValueFromEvent:
|
|
93228
|
+
getValueFromEvent: W8,
|
|
93211
93229
|
setPositionFromValue: hD,
|
|
93212
93230
|
onLeft: n5,
|
|
93213
93231
|
onRight: vD,
|
|
@@ -93392,7 +93410,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93392
93410
|
return Nm(O_(a));
|
|
93393
93411
|
}, a5 = function(a) {
|
|
93394
93412
|
return G4(vS(a));
|
|
93395
|
-
},
|
|
93413
|
+
}, j8 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93396
93414
|
var v = su.parts.spectrum({
|
|
93397
93415
|
dom: {
|
|
93398
93416
|
tag: "div",
|
|
@@ -93489,7 +93507,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93489
93507
|
return a.getField(c, v);
|
|
93490
93508
|
}),
|
|
93491
93509
|
sketch: Am
|
|
93492
|
-
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"),
|
|
93510
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G8 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93493
93511
|
var x = function(fe, Te) {
|
|
93494
93512
|
return ff.config({
|
|
93495
93513
|
invalidClass: c("invalid"),
|
|
@@ -93519,7 +93537,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93519
93537
|
}
|
|
93520
93538
|
});
|
|
93521
93539
|
}, N = function(fe, Te, ze, je, dt) {
|
|
93522
|
-
var qe = a(
|
|
93540
|
+
var qe = a(G8 + "range"), St = zo.parts.label({
|
|
93523
93541
|
dom: {
|
|
93524
93542
|
tag: "label",
|
|
93525
93543
|
innerHtml: ze,
|
|
@@ -93606,12 +93624,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93606
93624
|
var Fr = uS(hr);
|
|
93607
93625
|
je("hex", U.some(hr));
|
|
93608
93626
|
var Rn = O_(Fr);
|
|
93609
|
-
F(bn, Rn), qe(Rn), _r(bn,
|
|
93627
|
+
F(bn, Rn), qe(Rn), _r(bn, j8, { hex: Fr }), G(bn, Fr);
|
|
93610
93628
|
}, rn = function(bn, hr, Fr) {
|
|
93611
93629
|
var Rn = parseInt(Fr, 10);
|
|
93612
93630
|
je(hr, U.some(Rn)), dt().each(function(Nr) {
|
|
93613
93631
|
var Rr = D(bn, Nr);
|
|
93614
|
-
_r(bn,
|
|
93632
|
+
_r(bn, j8, { hex: Rr }), G(bn, Rr);
|
|
93615
93633
|
});
|
|
93616
93634
|
}, jt = function(bn) {
|
|
93617
93635
|
return bn.type === "hex";
|
|
@@ -93620,8 +93638,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93620
93638
|
jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
|
|
93621
93639
|
}, Kt = function(bn) {
|
|
93622
93640
|
return {
|
|
93623
|
-
label: a(
|
|
93624
|
-
description: a(
|
|
93641
|
+
label: a(G8 + bn + ".label"),
|
|
93642
|
+
description: a(G8 + bn + ".description")
|
|
93625
93643
|
};
|
|
93626
93644
|
}, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
|
|
93627
93645
|
return to(Gg.sketch(function(bn) {
|
|
@@ -93632,9 +93650,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93632
93650
|
attributes: { "aria-label": a("aria.color.picker") }
|
|
93633
93651
|
},
|
|
93634
93652
|
components: [
|
|
93635
|
-
bn.field("red", zo.sketch(N(
|
|
93636
|
-
bn.field("green", zo.sketch(N(
|
|
93637
|
-
bn.field("blue", zo.sketch(N(
|
|
93653
|
+
bn.field("red", zo.sketch(N(h8, "red", En.label, En.description, 255))),
|
|
93654
|
+
bn.field("green", zo.sketch(N(h8, "green", wr.label, wr.description, 255))),
|
|
93655
|
+
bn.field("blue", zo.sketch(N(h8, "blue", Jn.label, Jn.description, 255))),
|
|
93638
93656
|
bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
|
|
93639
93657
|
L.asSpec()
|
|
93640
93658
|
],
|
|
@@ -93666,7 +93684,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93666
93684
|
extraApis: {}
|
|
93667
93685
|
});
|
|
93668
93686
|
return ee;
|
|
93669
|
-
},
|
|
93687
|
+
}, q8 = function(a, c) {
|
|
93670
93688
|
var v = su.parts.spectrum({
|
|
93671
93689
|
dom: {
|
|
93672
93690
|
tag: "canvas",
|
|
@@ -93746,7 +93764,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93746
93764
|
return L;
|
|
93747
93765
|
}, bD = function(a, c) {
|
|
93748
93766
|
var v = function(x) {
|
|
93749
|
-
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D =
|
|
93767
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q8(a, c), F = function(nn) {
|
|
93750
93768
|
return (100 - nn) / 100 * 360;
|
|
93751
93769
|
}, L = function(nn) {
|
|
93752
93770
|
return 100 - nn / 360 * 100;
|
|
@@ -93812,7 +93830,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93812
93830
|
],
|
|
93813
93831
|
behaviours: Mn([
|
|
93814
93832
|
so("colour-picker-events", [
|
|
93815
|
-
wn(
|
|
93833
|
+
wn(j8, jt()),
|
|
93816
93834
|
wn(l5, At()),
|
|
93817
93835
|
wn(i5, rn())
|
|
93818
93836
|
]),
|
|
@@ -93836,9 +93854,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93836
93854
|
return b;
|
|
93837
93855
|
}, v5 = function() {
|
|
93838
93856
|
return To.config({ find: U.some });
|
|
93839
|
-
},
|
|
93857
|
+
}, K8 = function(a) {
|
|
93840
93858
|
return To.config({ find: a.getOpt });
|
|
93841
|
-
},
|
|
93859
|
+
}, Y8 = function(a) {
|
|
93842
93860
|
return To.config({
|
|
93843
93861
|
find: function(c) {
|
|
93844
93862
|
return v0(c.element, a).bind(function(v) {
|
|
@@ -93848,8 +93866,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93848
93866
|
});
|
|
93849
93867
|
}, Dc = {
|
|
93850
93868
|
self: v5,
|
|
93851
|
-
memento:
|
|
93852
|
-
childAt:
|
|
93869
|
+
memento: K8,
|
|
93870
|
+
childAt: Y8
|
|
93853
93871
|
}, wD = {
|
|
93854
93872
|
"colorcustom.rgb.red.label": "R",
|
|
93855
93873
|
"colorcustom.rgb.red.description": "Red component",
|
|
@@ -93972,11 +93990,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93972
93990
|
]),
|
|
93973
93991
|
components: [v.asSpec()]
|
|
93974
93992
|
};
|
|
93975
|
-
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"),
|
|
93993
|
+
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X8 = wt([
|
|
93976
93994
|
Ot("preprocess", z),
|
|
93977
93995
|
Ot("postprocess", z)
|
|
93978
93996
|
]), m5 = function(a, c) {
|
|
93979
|
-
var v = Na("RepresentingConfigs.memento processors",
|
|
93997
|
+
var v = Na("RepresentingConfigs.memento processors", X8, c);
|
|
93980
93998
|
return or.config({
|
|
93981
93999
|
store: {
|
|
93982
94000
|
mode: "manual",
|
|
@@ -93990,7 +94008,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93990
94008
|
}
|
|
93991
94009
|
}
|
|
93992
94010
|
});
|
|
93993
|
-
},
|
|
94011
|
+
}, J8 = function(a, c, v) {
|
|
93994
94012
|
return or.config(to({
|
|
93995
94013
|
store: {
|
|
93996
94014
|
mode: "manual",
|
|
@@ -94001,7 +94019,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94001
94019
|
return { store: { initialValue: b } };
|
|
94002
94020
|
}).getOr({})));
|
|
94003
94021
|
}, j_ = function(a, c, v) {
|
|
94004
|
-
return
|
|
94022
|
+
return J8(a, function(b) {
|
|
94005
94023
|
return c(b.element);
|
|
94006
94024
|
}, function(b, x) {
|
|
94007
94025
|
return v(b.element, x);
|
|
@@ -94020,7 +94038,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94020
94038
|
}, Uv = {
|
|
94021
94039
|
memento: m5,
|
|
94022
94040
|
withElement: j_,
|
|
94023
|
-
withComp:
|
|
94041
|
+
withComp: J8,
|
|
94024
94042
|
domValue: g5,
|
|
94025
94043
|
domHtml: x3,
|
|
94026
94044
|
memory: _5
|
|
@@ -94238,9 +94256,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94238
94256
|
return a.getContext("2d");
|
|
94239
94257
|
}, OD = function(a, c, v) {
|
|
94240
94258
|
return a.width = c, a.height = v, a;
|
|
94241
|
-
},
|
|
94259
|
+
}, Z8 = function(a) {
|
|
94242
94260
|
return a.naturalWidth || a.width;
|
|
94243
|
-
},
|
|
94261
|
+
}, Q8 = function(a) {
|
|
94244
94262
|
return a.naturalHeight || a.height;
|
|
94245
94263
|
}, BD = function() {
|
|
94246
94264
|
var a = function(ee) {
|
|
@@ -94411,7 +94429,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94411
94429
|
}, tx = function(a) {
|
|
94412
94430
|
return ex(a).then(function(c) {
|
|
94413
94431
|
$D(c);
|
|
94414
|
-
var v = qg(
|
|
94432
|
+
var v = qg(Z8(c), Q8(c)), b = Oc(v);
|
|
94415
94433
|
return b.drawImage(c, 0, 0), v;
|
|
94416
94434
|
});
|
|
94417
94435
|
}, E5 = function(a) {
|
|
@@ -94794,7 +94812,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94794
94812
|
]), N5 = WD(function(a, c) {
|
|
94795
94813
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94796
94814
|
}), A5 = function(a, c, v) {
|
|
94797
|
-
var b =
|
|
94815
|
+
var b = Z8(a), x = Q8(a), N = c / b, D = v / x, F = !1;
|
|
94798
94816
|
(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);
|
|
94799
94817
|
var L = ZD(a, N, D);
|
|
94800
94818
|
return F ? L.then(function(G) {
|
|
@@ -94802,7 +94820,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94802
94820
|
}) : L;
|
|
94803
94821
|
}, ZD = function(a, c, v) {
|
|
94804
94822
|
return new hd(function(b) {
|
|
94805
|
-
var x =
|
|
94823
|
+
var x = Z8(a), N = Q8(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
|
|
94806
94824
|
G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
|
|
94807
94825
|
});
|
|
94808
94826
|
}, rx = function(a, c) {
|
|
@@ -95037,8 +95055,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95037
95055
|
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95038
95056
|
if (N.items.length === 0)
|
|
95039
95057
|
return U.none();
|
|
95040
|
-
var D =
|
|
95041
|
-
return
|
|
95058
|
+
var D = b8(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
95059
|
+
return b8(Z, G, c, v, !1);
|
|
95042
95060
|
}), L = to(F, ge(x, D));
|
|
95043
95061
|
return U.from(hm.tieredData(x, L, N.expansions));
|
|
95044
95062
|
}, vO = function(a) {
|
|
@@ -96985,7 +97003,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
96985
97003
|
var fe = function(Te) {
|
|
96986
97004
|
To.getCurrent(Te).each(Z);
|
|
96987
97005
|
};
|
|
96988
|
-
|
|
97006
|
+
k8(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
96989
97007
|
}
|
|
96990
97008
|
}, N = ek(a), D = function(L) {
|
|
96991
97009
|
return function(G) {
|
|
@@ -97049,7 +97067,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97049
97067
|
});
|
|
97050
97068
|
});
|
|
97051
97069
|
};
|
|
97052
|
-
|
|
97070
|
+
k8(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
|
|
97053
97071
|
}
|
|
97054
97072
|
},
|
|
97055
97073
|
cancelEvent: fp()
|
|
@@ -97085,7 +97103,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97085
97103
|
Ga.config({
|
|
97086
97104
|
others: {
|
|
97087
97105
|
sandbox: function(L) {
|
|
97088
|
-
return
|
|
97106
|
+
return N8(a, L, {
|
|
97089
97107
|
onOpen: function() {
|
|
97090
97108
|
return Vt.on(L);
|
|
97091
97109
|
},
|
|
@@ -97161,7 +97179,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97161
97179
|
vi("previewing", function() {
|
|
97162
97180
|
return jn(!0);
|
|
97163
97181
|
})
|
|
97164
|
-
].concat(QS()).concat(
|
|
97182
|
+
].concat(QS()).concat(I8())), XO = V([tu({
|
|
97165
97183
|
schema: [zf()],
|
|
97166
97184
|
name: "menu",
|
|
97167
97185
|
overrides: function(a) {
|
|
@@ -97909,7 +97927,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97909
97927
|
};
|
|
97910
97928
|
}, S7 = function(a) {
|
|
97911
97929
|
return function() {
|
|
97912
|
-
return
|
|
97930
|
+
return m8(a);
|
|
97913
97931
|
};
|
|
97914
97932
|
}, k7 = function(a) {
|
|
97915
97933
|
return function() {
|
|
@@ -97929,7 +97947,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97929
97947
|
}, _T = function(a) {
|
|
97930
97948
|
return { isDraggableModal: N7(a) };
|
|
97931
97949
|
}, A7 = function(a) {
|
|
97932
|
-
var c = jn(
|
|
97950
|
+
var c = jn(e8(a) ? "bottom" : "top");
|
|
97933
97951
|
return {
|
|
97934
97952
|
isPositionedAtTop: function() {
|
|
97935
97953
|
return c.get() === "top";
|
|
@@ -98092,7 +98110,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98092
98110
|
}, ty = function(a) {
|
|
98093
98111
|
return jE(a).map(function(c) {
|
|
98094
98112
|
var v = Dm(a, c);
|
|
98095
|
-
return
|
|
98113
|
+
return J6(a) ? yT.concat(v) : v;
|
|
98096
98114
|
}).getOr(yT);
|
|
98097
98115
|
}, bT = function(a, c, v) {
|
|
98098
98116
|
var b = {
|
|
@@ -98306,10 +98324,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98306
98324
|
return GA(a) ? U.none() : U.some({
|
|
98307
98325
|
targets: G7.find(a.getBody()),
|
|
98308
98326
|
anchorTop: Ix(qA(a)),
|
|
98309
|
-
anchorBottom: Ix(
|
|
98327
|
+
anchorBottom: Ix(r8(a))
|
|
98310
98328
|
});
|
|
98311
98329
|
}, tB = function(a) {
|
|
98312
|
-
return U.from(
|
|
98330
|
+
return U.from(o8(a));
|
|
98313
98331
|
}, nB = function(a) {
|
|
98314
98332
|
return {
|
|
98315
98333
|
getHistory: Y7,
|
|
@@ -99348,7 +99366,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99348
99366
|
Ot("useMinWidth", !1),
|
|
99349
99367
|
Ot("eventOrder", {}),
|
|
99350
99368
|
Do("role")
|
|
99351
|
-
].concat(
|
|
99369
|
+
].concat(I8())), PB = Ni({
|
|
99352
99370
|
factory: Gl,
|
|
99353
99371
|
schema: [nt("dom")],
|
|
99354
99372
|
name: "arrow",
|
|
@@ -99447,7 +99465,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99447
99465
|
});
|
|
99448
99466
|
})])), In(U.some(D))), Z = {
|
|
99449
99467
|
repositionMenus: function(ee) {
|
|
99450
|
-
Vt.isOn(ee) &&
|
|
99468
|
+
Vt.isOn(ee) && A8(ee);
|
|
99451
99469
|
}
|
|
99452
99470
|
};
|
|
99453
99471
|
return {
|
|
@@ -99473,7 +99491,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99473
99491
|
Vt.off(fe), Vt.off(ee);
|
|
99474
99492
|
}
|
|
99475
99493
|
};
|
|
99476
|
-
return
|
|
99494
|
+
return N8(a, ee, Te);
|
|
99477
99495
|
}
|
|
99478
99496
|
}
|
|
99479
99497
|
}),
|
|
@@ -99667,7 +99685,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99667
99685
|
return sl.nu(function(x) {
|
|
99668
99686
|
return c.fetch(x);
|
|
99669
99687
|
}).map(function(x) {
|
|
99670
|
-
return U.from($S(to(
|
|
99688
|
+
return U.from($S(to(_8(Tr("menu-value"), x, function(N) {
|
|
99671
99689
|
c.onItemAction(a(b), N);
|
|
99672
99690
|
}, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
|
|
99673
99691
|
movement: K4(c.columns, c.presets),
|
|
@@ -99895,7 +99913,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99895
99913
|
bottom: Math.min(D.y, v.bottom)
|
|
99896
99914
|
};
|
|
99897
99915
|
}, uN = function(a, c) {
|
|
99898
|
-
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x =
|
|
99916
|
+
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x = Z6(a) || Ag(a) || k_(a), N = sN(b, v), D = N.x, F = N.width;
|
|
99899
99917
|
if (a.inline && !x)
|
|
99900
99918
|
return fl(D, v.y, F, v.height);
|
|
99901
99919
|
var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
|
|
@@ -102230,10 +102248,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102230
102248
|
}, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
|
|
102231
102249
|
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() {
|
|
102232
102250
|
var fe = N.get();
|
|
102233
|
-
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)),
|
|
102251
|
+
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v8(a));
|
|
102234
102252
|
}, L = function() {
|
|
102235
102253
|
var fe = a.getDoc().documentElement, Te = D.get();
|
|
102236
|
-
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)),
|
|
102254
|
+
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v8(a));
|
|
102237
102255
|
}, G = function(fe) {
|
|
102238
102256
|
return hI(a, fe);
|
|
102239
102257
|
};
|
|
@@ -102308,7 +102326,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102308
102326
|
});
|
|
102309
102327
|
return b.or(x).getOr(a);
|
|
102310
102328
|
}, D$ = function(a) {
|
|
102311
|
-
var c = HE(a), v = WE(a), b =
|
|
102329
|
+
var c = HE(a), v = WE(a), b = X6(a);
|
|
102312
102330
|
return iP(c).map(function(x) {
|
|
102313
102331
|
return hN(x, v, b);
|
|
102314
102332
|
});
|
|
@@ -102333,7 +102351,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102333
102351
|
return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
|
|
102334
102352
|
}) : 0;
|
|
102335
102353
|
}, St = function(fn) {
|
|
102336
|
-
switch (
|
|
102354
|
+
switch (Q6(a)) {
|
|
102337
102355
|
case bm.auto:
|
|
102338
102356
|
var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
|
|
102339
102357
|
if (Nr)
|
|
@@ -102408,7 +102426,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102408
102426
|
x.set({
|
|
102409
102427
|
pos: G,
|
|
102410
102428
|
bounds: Z
|
|
102411
|
-
}), ze &&
|
|
102429
|
+
}), ze && v8(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
|
|
102412
102430
|
};
|
|
102413
102431
|
b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
|
|
102414
102432
|
return v.update(!0);
|
|
@@ -103883,7 +103901,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
103883
103901
|
})(dy || (dy = {}));
|
|
103884
103902
|
var CV = function(a, c, v, b, x) {
|
|
103885
103903
|
var N = {};
|
|
103886
|
-
return N.height = hN(b + c.top, WE(a),
|
|
103904
|
+
return N.height = hN(b + c.top, WE(a), X6(a)), v === dy.Both && (N.width = hN(x + c.left, ym(a), L4(a))), N;
|
|
103887
103905
|
}, DM = function(a, c, v) {
|
|
103888
103906
|
var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
|
|
103889
103907
|
Ur(x, function(N, D) {
|
|
@@ -104021,7 +104039,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104021
104039
|
components: x()
|
|
104022
104040
|
};
|
|
104023
104041
|
}, TV = function(a) {
|
|
104024
|
-
var c, v = a.inline, b = v ? $$ : I$, x = z4(a) ? zR : ao, N = U.none(), D = Vi(), F = D.browser.isIE(), L = F ? ["tox-platform-ie"] : [], G = D.deviceType.isTouch(), Z = "tox-platform-touch", ee = G ? [Z] : [], fe =
|
|
104042
|
+
var c, v = a.inline, b = v ? $$ : I$, x = z4(a) ? zR : ao, N = U.none(), D = Vi(), F = D.browser.isIE(), L = F ? ["tox-platform-ie"] : [], G = D.deviceType.isTouch(), Z = "tox-platform-touch", ee = G ? [Z] : [], fe = e8(a), Te = Sc(a), ze = Lu.isRtl() ? { attributes: { dir: "rtl" } } : {}, je = { attributes: (c = {}, c[ov] = fe ? dc.BottomToTop : dc.TopToBottom, c) }, dt = function() {
|
|
104025
104043
|
return N.bind(hi.getHeader);
|
|
104026
104044
|
}, qe = function() {
|
|
104027
104045
|
return x.isDocked(dt);
|
|
@@ -104125,7 +104143,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104125
104143
|
Rn,
|
|
104126
104144
|
Nr
|
|
104127
104145
|
]
|
|
104128
|
-
}, mf = k_(a), Pc = Ag(a), AP =
|
|
104146
|
+
}, mf = k_(a), Pc = Ag(a), AP = Z6(a), IP = function() {
|
|
104129
104147
|
return mf ? [Fr] : Pc ? [hr] : [];
|
|
104130
104148
|
}, xN = hi.parts.header({
|
|
104131
104149
|
dom: ve({
|
|
@@ -104154,7 +104172,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104154
104172
|
[jx],
|
|
104155
104173
|
v ? [] : ia.toArray(),
|
|
104156
104174
|
[Rr]
|
|
104157
|
-
]), Gx =
|
|
104175
|
+
]), Gx = t8(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
|
|
104158
104176
|
dom: {
|
|
104159
104177
|
tag: "div",
|
|
104160
104178
|
classes: [
|
|
@@ -104204,7 +104222,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104204
104222
|
});
|
|
104205
104223
|
var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
|
|
104206
104224
|
menuItems: iw,
|
|
104207
|
-
menus:
|
|
104225
|
+
menus: n8(a),
|
|
104208
104226
|
menubar: UA(a),
|
|
104209
104227
|
toolbar: RP.getOrThunk(function() {
|
|
104210
104228
|
return zA(a);
|
|
@@ -105260,7 +105278,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105260
105278
|
})])
|
|
105261
105279
|
};
|
|
105262
105280
|
return tl.parts.body(c);
|
|
105263
|
-
}, NU =
|
|
105281
|
+
}, NU = i8.deviceType.isTouch(), KM = function(a, c) {
|
|
105264
105282
|
return {
|
|
105265
105283
|
dom: {
|
|
105266
105284
|
tag: "div",
|
|
@@ -105574,7 +105592,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105574
105592
|
wn($g, function(v, b) {
|
|
105575
105593
|
return c.onUnblock();
|
|
105576
105594
|
}),
|
|
105577
|
-
wn(
|
|
105595
|
+
wn(E8, function(v, b) {
|
|
105578
105596
|
return c.onBlock(b.event);
|
|
105579
105597
|
})
|
|
105580
105598
|
];
|
|
@@ -105749,7 +105767,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105749
105767
|
if (!l(je))
|
|
105750
105768
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105751
105769
|
b(function(dt) {
|
|
105752
|
-
_r(dt,
|
|
105770
|
+
_r(dt, E8, { message: je });
|
|
105753
105771
|
});
|
|
105754
105772
|
}, Z = function() {
|
|
105755
105773
|
b(function(je) {
|
|
@@ -105923,7 +105941,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105923
105941
|
if (!l(D))
|
|
105924
105942
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105925
105943
|
c(function(F) {
|
|
105926
|
-
_r(F,
|
|
105944
|
+
_r(F, E8, { message: D });
|
|
105927
105945
|
});
|
|
105928
105946
|
}, b = function() {
|
|
105929
105947
|
c(function(D) {
|
|
@@ -112038,7 +112056,7 @@ Required: ` + w.join(", "));
|
|
|
112038
112056
|
}, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
|
|
112039
112057
|
return function(sf, yg) {
|
|
112040
112058
|
Xs(sf);
|
|
112041
|
-
var T4 = xc(),
|
|
112059
|
+
var T4 = xc(), b6 = Je.fromDom(g.getDoc()), id = S0(Yi, b6, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
|
|
112042
112060
|
return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
|
|
112043
112061
|
return Qe(um.newRows, function(cm) {
|
|
112044
112062
|
K0(g, cm.dom);
|
|
@@ -113962,38 +113980,38 @@ Required: ` + w.join(", "));
|
|
|
113962
113980
|
}, wc = 5, QC = 100, Cc = Lc.generate([
|
|
113963
113981
|
{ none: [] },
|
|
113964
113982
|
{ retry: ["caret"] }
|
|
113965
|
-
]),
|
|
113983
|
+
]), e6 = function(g, w) {
|
|
113966
113984
|
return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
|
|
113967
113985
|
}, h4 = function(g, w, T) {
|
|
113968
113986
|
return xh(w, p2).fold(Ne, function(I) {
|
|
113969
113987
|
return d4(g, I).exists(function($) {
|
|
113970
|
-
return
|
|
113988
|
+
return e6(T, $);
|
|
113971
113989
|
});
|
|
113972
113990
|
});
|
|
113973
|
-
},
|
|
113991
|
+
}, t6 = function(g, w, T, I, $) {
|
|
113974
113992
|
var W = nd($, wc);
|
|
113975
113993
|
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();
|
|
113976
|
-
},
|
|
113994
|
+
}, n6 = function(g, w, T, I, $) {
|
|
113977
113995
|
var W = im($, wc);
|
|
113978
113996
|
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();
|
|
113979
113997
|
}, rd = {
|
|
113980
113998
|
point: u4,
|
|
113981
|
-
adjuster:
|
|
113999
|
+
adjuster: n6,
|
|
113982
114000
|
move: im,
|
|
113983
114001
|
gather: n_
|
|
113984
114002
|
}, vg = {
|
|
113985
114003
|
point: c4,
|
|
113986
|
-
adjuster:
|
|
114004
|
+
adjuster: t6,
|
|
113987
114005
|
move: nd,
|
|
113988
114006
|
gather: o4
|
|
113989
114007
|
}, p4 = function(g, w, T) {
|
|
113990
114008
|
return g.elementFromPoint(w, T).filter(function(I) {
|
|
113991
114009
|
return Io(I) === "table";
|
|
113992
114010
|
}).isSome();
|
|
113993
|
-
},
|
|
114011
|
+
}, r6 = function(g, w, T, I, $) {
|
|
113994
114012
|
return Av(g, w, T, w.move(I, wc), $);
|
|
113995
114013
|
}, Av = function(g, w, T, I, $) {
|
|
113996
|
-
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ?
|
|
114014
|
+
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ? r6(g, w, T, I, $ - 1) : g.situsFromPoint(I.left, w.point(I)).bind(function(W) {
|
|
113997
114015
|
return W.start.fold(te.none, function(Q) {
|
|
113998
114016
|
return d4(g, Q).bind(function(ye) {
|
|
113999
114017
|
return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
|
|
@@ -114004,15 +114022,15 @@ Required: ` + w.join(", "));
|
|
|
114004
114022
|
});
|
|
114005
114023
|
}, te.none);
|
|
114006
114024
|
});
|
|
114007
|
-
},
|
|
114025
|
+
}, o6 = function(g, w) {
|
|
114008
114026
|
return g.situsFromPoint(w.left, w.bottom + wc);
|
|
114009
|
-
},
|
|
114027
|
+
}, a6 = function(g, w) {
|
|
114010
114028
|
return g.situsFromPoint(w.left, w.top - wc);
|
|
114011
|
-
},
|
|
114029
|
+
}, i6 = function(g, w, T) {
|
|
114012
114030
|
return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
|
|
114013
114031
|
}, m4 = function(g, w, T) {
|
|
114014
114032
|
var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
|
|
114015
|
-
return
|
|
114033
|
+
return i6(g, $, w).fold(function() {
|
|
114016
114034
|
return w.situsFromPoint($.left, g.point($));
|
|
114017
114035
|
}, function(W) {
|
|
114018
114036
|
return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
|
|
@@ -114020,10 +114038,10 @@ Required: ` + w.join(", "));
|
|
|
114020
114038
|
}, Iv = {
|
|
114021
114039
|
tryUp: V(m4, rd),
|
|
114022
114040
|
tryDown: V(m4, vg),
|
|
114023
|
-
ieTryUp:
|
|
114024
|
-
ieTryDown:
|
|
114041
|
+
ieTryUp: a6,
|
|
114042
|
+
ieTryDown: o6,
|
|
114025
114043
|
getJumpSize: j(wc)
|
|
114026
|
-
},
|
|
114044
|
+
}, l6 = 20, g4 = function(g, w, T) {
|
|
114027
114045
|
return g.getSelection().bind(function(I) {
|
|
114028
114046
|
return a_(w, I.finish, I.foffset, T).fold(function() {
|
|
114029
114047
|
return te.some(Mp(I.finish, I.foffset));
|
|
@@ -114033,7 +114051,7 @@ Required: ` + w.join(", "));
|
|
|
114033
114051
|
});
|
|
114034
114052
|
});
|
|
114035
114053
|
}, lm = function(g, w, T, I, $, W) {
|
|
114036
|
-
return W === 0 ? te.none() :
|
|
114054
|
+
return W === 0 ? te.none() : s6(g, w, T, I, $).bind(function(Q) {
|
|
114037
114055
|
var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
|
|
114038
114056
|
return Nv.cata(_e, function() {
|
|
114039
114057
|
return te.none();
|
|
@@ -114052,15 +114070,15 @@ Required: ` + w.join(", "));
|
|
|
114052
114070
|
}, _4 = function(g, w, T) {
|
|
114053
114071
|
var I = Ze().browser;
|
|
114054
114072
|
return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
|
|
114055
|
-
},
|
|
114073
|
+
}, s6 = function(g, w, T, I, $) {
|
|
114056
114074
|
return f4(g, T, I).bind(function(W) {
|
|
114057
114075
|
return _4(g, $, W);
|
|
114058
114076
|
});
|
|
114059
|
-
},
|
|
114077
|
+
}, u6 = function(g, w, T) {
|
|
114060
114078
|
return g4(g, w, T).bind(function(I) {
|
|
114061
|
-
return lm(g, w, I.element, I.offset, T,
|
|
114079
|
+
return lm(g, w, I.element, I.offset, T, l6).map(g.fromSitus);
|
|
114062
114080
|
});
|
|
114063
|
-
},
|
|
114081
|
+
}, c6 = function(g, w) {
|
|
114064
114082
|
return qC(g, function(T) {
|
|
114065
114083
|
return de(T).exists(function(I) {
|
|
114066
114084
|
return Tn(I, w);
|
|
@@ -114069,7 +114087,7 @@ Required: ` + w.join(", "));
|
|
|
114069
114087
|
}, od = function(g, w, T, I, $) {
|
|
114070
114088
|
return Ho(I, "td,th", w).bind(function(W) {
|
|
114071
114089
|
return Ho(W, "table", w).bind(function(Q) {
|
|
114072
|
-
return
|
|
114090
|
+
return c6($, Q) ? u6(g, w, T).bind(function(ye) {
|
|
114073
114091
|
return Ho(ye.finish, "td,th", w).map(function(_e) {
|
|
114074
114092
|
return {
|
|
114075
114093
|
start: W,
|
|
@@ -114087,7 +114105,7 @@ Required: ` + w.join(", "));
|
|
|
114087
114105
|
return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
|
|
114088
114106
|
});
|
|
114089
114107
|
});
|
|
114090
|
-
},
|
|
114108
|
+
}, f6 = function(g, w) {
|
|
114091
114109
|
return Ho(g, "tr", w).bind(function(T) {
|
|
114092
114110
|
return Ho(T, "table", w).bind(function(I) {
|
|
114093
114111
|
var $ = li(I, "tr");
|
|
@@ -114178,7 +114196,7 @@ Required: ` + w.join(", "));
|
|
|
114178
114196
|
}, Mr = {
|
|
114179
114197
|
isBackward: Dv(37),
|
|
114180
114198
|
isForward: Dv(39)
|
|
114181
|
-
},
|
|
114199
|
+
}, d6 = {
|
|
114182
114200
|
isBackward: Dv(39),
|
|
114183
114201
|
isForward: Dv(37)
|
|
114184
114202
|
}, mg = function(g) {
|
|
@@ -114268,7 +114286,7 @@ Required: ` + w.join(", "));
|
|
|
114268
114286
|
return I.clear(w), te.none();
|
|
114269
114287
|
}, Q = function(_e, Ye, mt, Cn, pn, An) {
|
|
114270
114288
|
var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
|
|
114271
|
-
return Ov(tn) && In ? V(b4, $, w, T, u_, Cn, Ye, I.selectRange) : c_(tn) && In ? V(b4, $, w, T, x4, Cn, Ye, I.selectRange) : Ov(tn) ? V(y4, $, T, u_, Cn, Ye, l_) : c_(tn) ? V(y4, $, T, x4, Cn, Ye,
|
|
114289
|
+
return Ov(tn) && In ? V(b4, $, w, T, u_, Cn, Ye, I.selectRange) : c_(tn) && In ? V(b4, $, w, T, x4, Cn, Ye, I.selectRange) : Ov(tn) ? V(y4, $, T, u_, Cn, Ye, l_) : c_(tn) ? V(y4, $, T, x4, Cn, Ye, f6) : te.none;
|
|
114272
114290
|
}, function(uo) {
|
|
114273
114291
|
var zr = function(xo) {
|
|
114274
114292
|
return function() {
|
|
@@ -114304,7 +114322,7 @@ Required: ` + w.join(", "));
|
|
|
114304
114322
|
keydown: Q,
|
|
114305
114323
|
keyup: ye
|
|
114306
114324
|
};
|
|
114307
|
-
},
|
|
114325
|
+
}, h6 = function(g, w, T, I) {
|
|
114308
114326
|
var $ = d_(g);
|
|
114309
114327
|
return function(W, Q) {
|
|
114310
114328
|
I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
|
|
@@ -114312,7 +114330,7 @@ Required: ` + w.join(", "));
|
|
|
114312
114330
|
I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
|
|
114313
114331
|
});
|
|
114314
114332
|
};
|
|
114315
|
-
},
|
|
114333
|
+
}, v6 = function(g, w) {
|
|
114316
114334
|
Qe(w, function(T) {
|
|
114317
114335
|
ol(g, T);
|
|
114318
114336
|
});
|
|
@@ -114322,7 +114340,7 @@ Required: ` + w.join(", "));
|
|
|
114322
114340
|
};
|
|
114323
114341
|
}, h_ = function(g) {
|
|
114324
114342
|
return function(w) {
|
|
114325
|
-
|
|
114343
|
+
v6(w, g);
|
|
114326
114344
|
};
|
|
114327
114345
|
}, so = function(g) {
|
|
114328
114346
|
var w = Qr(g.selected), T = h_([
|
|
@@ -114364,7 +114382,7 @@ Required: ` + w.join(", "));
|
|
|
114364
114382
|
firstSelectedSelector: g.firstSelectedSelector,
|
|
114365
114383
|
lastSelectedSelector: g.lastSelectedSelector
|
|
114366
114384
|
};
|
|
114367
|
-
},
|
|
114385
|
+
}, p6 = {
|
|
114368
114386
|
byClass: so,
|
|
114369
114387
|
byAttr: S4
|
|
114370
114388
|
}, _g = function(g, w, T) {
|
|
@@ -114375,7 +114393,7 @@ Required: ` + w.join(", "));
|
|
|
114375
114393
|
return ye.element;
|
|
114376
114394
|
});
|
|
114377
114395
|
});
|
|
114378
|
-
},
|
|
114396
|
+
}, m6 = function(g, w, T) {
|
|
114379
114397
|
var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
|
|
114380
114398
|
return pt($, function(W) {
|
|
114381
114399
|
var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
|
|
@@ -114386,7 +114404,7 @@ Required: ` + w.join(", "));
|
|
|
114386
114404
|
}, k4 = function(g, w, T) {
|
|
114387
114405
|
var I = Bn.fromTable(g), $ = jf(I, w);
|
|
114388
114406
|
return $.map(function(W) {
|
|
114389
|
-
var Q = av(I, T, !1), ye = _g(Q, W, T), _e =
|
|
114407
|
+
var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m6(Q, W, T);
|
|
114390
114408
|
return {
|
|
114391
114409
|
upOrLeftCells: ye,
|
|
114392
114410
|
downOrRightCells: _e
|
|
@@ -114395,7 +114413,7 @@ Required: ` + w.join(", "));
|
|
|
114395
114413
|
}, v_ = function(g) {
|
|
114396
114414
|
return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
|
|
114397
114415
|
};
|
|
114398
|
-
function
|
|
114416
|
+
function g6(g, w, T) {
|
|
114399
114417
|
var I = function(Q, ye, _e) {
|
|
114400
114418
|
T.targets().each(function(Ye) {
|
|
114401
114419
|
var mt = Ma(ye);
|
|
@@ -114406,7 +114424,7 @@ Required: ` + w.join(", "));
|
|
|
114406
114424
|
});
|
|
114407
114425
|
}, $ = function() {
|
|
114408
114426
|
return Vw(g);
|
|
114409
|
-
}, W =
|
|
114427
|
+
}, W = p6.byAttr(La, I, $);
|
|
114410
114428
|
return g.on("init", function(Q) {
|
|
114411
114429
|
var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
|
|
114412
114430
|
var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
|
|
@@ -114416,7 +114434,7 @@ Required: ` + w.join(", "));
|
|
|
114416
114434
|
ss.fold(function() {
|
|
114417
114435
|
return W.clear(_e);
|
|
114418
114436
|
}, B);
|
|
114419
|
-
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An =
|
|
114437
|
+
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h6(ye, _e, Ye, W), Vt = function(Uo) {
|
|
114420
114438
|
return Uo.raw.shiftKey === !0;
|
|
114421
114439
|
};
|
|
114422
114440
|
g.on("TableSelectorChange", function(Uo) {
|
|
@@ -114440,7 +114458,7 @@ Required: ` + w.join(", "));
|
|
|
114440
114458
|
w().each(function(Yi) {
|
|
114441
114459
|
return Yi.hideBars();
|
|
114442
114460
|
});
|
|
114443
|
-
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr,
|
|
114461
|
+
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d6)(Je.fromDom(g.selection.getStart()));
|
|
114444
114462
|
pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
|
|
114445
114463
|
tn(ll, Yi);
|
|
114446
114464
|
}), w().each(function(Yi) {
|
|
@@ -114472,7 +114490,7 @@ Required: ` + w.join(", "));
|
|
|
114472
114490
|
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);
|
|
114473
114491
|
}), { clear: W.clear };
|
|
114474
114492
|
}
|
|
114475
|
-
var
|
|
114493
|
+
var _6 = function(g, w) {
|
|
114476
114494
|
var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
|
|
114477
114495
|
return $.forall(function(xo) {
|
|
114478
114496
|
return !xo[zr];
|
|
@@ -114687,7 +114705,7 @@ Required: ` + w.join(", "));
|
|
|
114687
114705
|
onAction: I("mceInsertTable"),
|
|
114688
114706
|
icon: "table"
|
|
114689
114707
|
});
|
|
114690
|
-
},
|
|
114708
|
+
}, y6 = function(g) {
|
|
114691
114709
|
var w = function(I) {
|
|
114692
114710
|
return g.dom.is(I, "table") && g.getBody().contains(I);
|
|
114693
114711
|
}, T = C1(g);
|
|
@@ -114863,8 +114881,8 @@ Required: ` + w.join(", "));
|
|
|
114863
114881
|
return Pf(g);
|
|
114864
114882
|
}, function() {
|
|
114865
114883
|
return th(Aa(g));
|
|
114866
|
-
}, La.selectedSelector), T =
|
|
114867
|
-
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q),
|
|
114884
|
+
}, La.selectedSelector), T = _6(g, w), I = Jy(g), $ = g6(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
|
|
114885
|
+
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q), y6(g), g.on("PreInit", function() {
|
|
114868
114886
|
g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
|
|
114869
114887
|
}), Lw(g) && g.on("keydown", function(ye) {
|
|
114870
114888
|
Yb(ye, g, $);
|