agilebuilder-ui 1.0.85-temp5 → 1.0.85-temp7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/super-ui.js
CHANGED
|
@@ -21022,8 +21022,7 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
|
|
|
21022
21022
|
y,
|
|
21023
21023
|
m
|
|
21024
21024
|
);
|
|
21025
|
-
|
|
21026
|
-
k.jumpPageSetting && (e.formatter.options.format = k.jumpPageSetting), k && k.label && k.label !== "" ? console.log("label存在") : k.label = this.objectPropValueTwo(t, e), k && k.title && k.title !== "" ? console.log("title存在") : k.title = k.label, E = k;
|
|
21025
|
+
k && k.label && k.label !== "" ? console.log("label存在") : k.label = this.objectPropValueTwo(t, e), k && k.title && k.title !== "" ? console.log("title存在") : k.title = k.label, E = k;
|
|
21027
21026
|
} else
|
|
21028
21027
|
E.visible = !0, E.label = this.objectPropValueTwo(t, e), E.title = E.label;
|
|
21029
21028
|
return E;
|
|
@@ -21031,7 +21030,7 @@ const DynamicInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sf
|
|
|
21031
21030
|
// 点击超链接
|
|
21032
21031
|
clickHyperLink(e, t, n, o) {
|
|
21033
21032
|
let l;
|
|
21034
|
-
if (e && e.formatter && e.formatter.options && e.formatter.options.format && (l = e.formatter.options.format), l && l !== "") {
|
|
21033
|
+
if (e && e.formatter && e.formatter.options && e.formatter.options.format && (l = e.formatter.options.format), this.rowLinkConfigMapping[o] && (l = this.rowLinkConfigMapping[o]), l && l !== "") {
|
|
21035
21034
|
let s = !0;
|
|
21036
21035
|
const d = store$1.get(n), m = JSON.parse(l);
|
|
21037
21036
|
if (console.log("gupre-grid---clickHyperLink--jumpPageSetting=", m), m.beforeClick) {
|
|
@@ -22490,7 +22489,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22490
22489
|
], 4))
|
|
22491
22490
|
]);
|
|
22492
22491
|
}
|
|
22493
|
-
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_aa0c592b_lang = "", _sfc_main$1h = {
|
|
22494
22493
|
components: {
|
|
22495
22494
|
DynamicInput,
|
|
22496
22495
|
RowOperation,
|
|
@@ -22613,7 +22612,8 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22613
22612
|
disabled: !1,
|
|
22614
22613
|
controlConfig: this.getColumnCustomControlControlConfig(this.column.formatter),
|
|
22615
22614
|
scanEnable: l,
|
|
22616
|
-
componentId: s
|
|
22615
|
+
componentId: s,
|
|
22616
|
+
rowLinkConfigMapping: {}
|
|
22617
22617
|
};
|
|
22618
22618
|
},
|
|
22619
22619
|
computed: {
|
|
@@ -22815,21 +22815,21 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22815
22815
|
o = e[t], o !== void 0 && (e[n] = o, delete e[t]);
|
|
22816
22816
|
return o;
|
|
22817
22817
|
},
|
|
22818
|
-
getMyHyperLinkSetting(e) {
|
|
22818
|
+
getMyHyperLinkSetting(e, t) {
|
|
22819
22819
|
this.transferColumnDataToUpperCase(e);
|
|
22820
|
-
const
|
|
22821
|
-
let
|
|
22822
|
-
|
|
22823
|
-
const
|
|
22820
|
+
const n = store$1.get(this.listCode);
|
|
22821
|
+
let o;
|
|
22822
|
+
n && n.basicInfo && n.basicInfo.tableName && (o = n.basicInfo.tableName);
|
|
22823
|
+
const l = this.getHyperLinkSetting(
|
|
22824
22824
|
this.column,
|
|
22825
22825
|
e,
|
|
22826
22826
|
this.isSql,
|
|
22827
22827
|
this.additionalParamMap,
|
|
22828
|
-
|
|
22829
|
-
|
|
22828
|
+
n.contextParameter,
|
|
22829
|
+
o,
|
|
22830
22830
|
this.listCode
|
|
22831
22831
|
);
|
|
22832
|
-
return
|
|
22832
|
+
return l.jumpPageSetting && (this.rowLinkConfigMapping[t] = l.jumpPageSetting), l.icon = this.getHyperIconClass(l), l;
|
|
22833
22833
|
},
|
|
22834
22834
|
getHyperIconClass(e) {
|
|
22835
22835
|
let t;
|
|
@@ -23098,7 +23098,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23098
23098
|
label: e.$escapeHtml(s.getLabel(n.row, n.rowIndex))
|
|
23099
23099
|
}, null, 8, ["entity", "file-set-obj", "is-sql", "label"])
|
|
23100
23100
|
], 14, _hoisted_7$8)
|
|
23101
|
-
])) : l.columnFormatter !== void 0 && l.columnFormatter.type !== void 0 && l.columnFormatter.type === "hyperlinks" && s.getMyHyperLinkSetting(n.row).visible === !0 ? (openBlock(), createBlock(R, {
|
|
23101
|
+
])) : l.columnFormatter !== void 0 && l.columnFormatter.type !== void 0 && l.columnFormatter.type === "hyperlinks" && s.getMyHyperLinkSetting(n.row, n.rowIndex).visible === !0 ? (openBlock(), createBlock(R, {
|
|
23102
23102
|
key: 1,
|
|
23103
23103
|
type: s.getLinkType(n.row),
|
|
23104
23104
|
onClick: t[3] || (t[3] = (re) => e.clickHyperLink(n.column, n.row, n.listCode, n.rowIndex))
|
|
@@ -23108,13 +23108,13 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23108
23108
|
key: 0,
|
|
23109
23109
|
id: n.column.prop + "DomData" + n.rowIndex,
|
|
23110
23110
|
style: normalizeStyle(n.isShowForm ? {} : { width: l.cellWidth + "px" }),
|
|
23111
|
-
title: s.getMyHyperLinkSetting(n.row).title,
|
|
23111
|
+
title: s.getMyHyperLinkSetting(n.row, n.rowIndex).title,
|
|
23112
23112
|
class: normalizeClass(n.isShowForm ? "" : "ellipsis cell--span")
|
|
23113
23113
|
}, [
|
|
23114
|
-
createTextVNode(toDisplayString$1(s.getMyHyperLinkSetting(n.row).label) + " ", 1),
|
|
23115
|
-
s.getMyHyperLinkSetting(n.row).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23114
|
+
createTextVNode(toDisplayString$1(s.getMyHyperLinkSetting(n.row, n.rowIndex).label) + " ", 1),
|
|
23115
|
+
s.getMyHyperLinkSetting(n.row, n.rowIndex).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23116
23116
|
default: withCtx(() => [
|
|
23117
|
-
(openBlock(), createBlock(resolveDynamicComponent(s.getMyHyperLinkSetting(n.row).icon)))
|
|
23117
|
+
(openBlock(), createBlock(resolveDynamicComponent((s.getMyHyperLinkSetting(n.row), n.rowIndex.icon))))
|
|
23118
23118
|
]),
|
|
23119
23119
|
_: 1
|
|
23120
23120
|
})) : createCommentVNode("", !0)
|
|
@@ -23123,10 +23123,10 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23123
23123
|
id: n.column.prop + "DomData" + n.rowIndex,
|
|
23124
23124
|
class: normalizeClass(n.isShowForm ? "" : "cell--span")
|
|
23125
23125
|
}, [
|
|
23126
|
-
createTextVNode(toDisplayString$1(s.getMyHyperLinkSetting(n.row).label) + " ", 1),
|
|
23127
|
-
s.getMyHyperLinkSetting(n.row).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23126
|
+
createTextVNode(toDisplayString$1(s.getMyHyperLinkSetting(n.row, n.rowIndex).label) + " ", 1),
|
|
23127
|
+
s.getMyHyperLinkSetting(n.row, n.rowIndex).icon ? (openBlock(), createBlock(B, { key: 0 }, {
|
|
23128
23128
|
default: withCtx(() => [
|
|
23129
|
-
(openBlock(), createBlock(resolveDynamicComponent(s.getMyHyperLinkSetting(n.row).icon)))
|
|
23129
|
+
(openBlock(), createBlock(resolveDynamicComponent(s.getMyHyperLinkSetting(n.row, n.rowIndex).icon)))
|
|
23130
23130
|
]),
|
|
23131
23131
|
_: 1
|
|
23132
23132
|
})) : createCommentVNode("", !0)
|
|
@@ -23269,7 +23269,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23269
23269
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23270
23270
|
]);
|
|
23271
23271
|
}
|
|
23272
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23272
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-aa0c592b"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
|
|
23273
23273
|
components: {
|
|
23274
23274
|
DynamicInput,
|
|
23275
23275
|
RowOperation,
|
|
@@ -75661,7 +75661,7 @@ Required: ` + u.join(", "));
|
|
|
75661
75661
|
url_converter_scope: _
|
|
75662
75662
|
};
|
|
75663
75663
|
return gr(gr({}, C), p ? Rg : {});
|
|
75664
|
-
},
|
|
75664
|
+
}, ek = function(r, u) {
|
|
75665
75665
|
var f = {
|
|
75666
75666
|
resize: !1,
|
|
75667
75667
|
toolbar_mode: ZS(r, "scrolling"),
|
|
@@ -75671,26 +75671,26 @@ Required: ` + u.join(", "));
|
|
|
75671
75671
|
}, v9 = function(r, u) {
|
|
75672
75672
|
var f = u.external_plugins ? u.external_plugins : {};
|
|
75673
75673
|
return r && r.external_plugins ? Ve.extend({}, r.external_plugins, f) : f;
|
|
75674
|
-
},
|
|
75674
|
+
}, tk = function(r, u) {
|
|
75675
75675
|
return [].concat(cf(r)).concat(cf(u));
|
|
75676
75676
|
}, p9 = function(r, u, f, p) {
|
|
75677
75677
|
return r && XS(u, "mobile", "mobile") ? ud(p) : r && $g(u, "mobile") ? p : f;
|
|
75678
75678
|
}, $_ = function(r, u, f, p) {
|
|
75679
|
-
var _ = cf(f.forced_plugins), C = cf(p.plugins), A = JS(u, "mobile"), P = A.plugins ? cf(A.plugins) : C, M = p9(r, u, C, P), X =
|
|
75679
|
+
var _ = cf(f.forced_plugins), C = cf(p.plugins), A = JS(u, "mobile"), P = A.plugins ? cf(A.plugins) : C, M = p9(r, u, C, P), X = tk(_, M);
|
|
75680
75680
|
if (Xr.browser.isIE() && Re(X, "rtc"))
|
|
75681
75681
|
throw new Error("RTC plugin is not supported on IE 11.");
|
|
75682
75682
|
return Ve.extend(p, { plugins: X.join(" ") });
|
|
75683
|
-
},
|
|
75683
|
+
}, nk = function(r, u) {
|
|
75684
75684
|
return r && $g(u, "mobile");
|
|
75685
|
-
},
|
|
75686
|
-
var C = r ? { mobile:
|
|
75685
|
+
}, 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) ? E6(A, "mobile") : {}, {
|
|
75687
75687
|
validate: !0,
|
|
75688
75688
|
external_plugins: v9(p, A.settings())
|
|
75689
75689
|
});
|
|
75690
75690
|
return $_(r, A, p, P);
|
|
75691
|
-
},
|
|
75691
|
+
}, ok = function(r, u, f, p, _) {
|
|
75692
75692
|
var C = QS(_, u, f, h9, r);
|
|
75693
|
-
return
|
|
75693
|
+
return rk(x6 || Rv, x6, C, p, _);
|
|
75694
75694
|
}, gh = function(r, u, f) {
|
|
75695
75695
|
return me.from(u.settings[f]).filter(r);
|
|
75696
75696
|
}, m9 = function(r) {
|
|
@@ -75719,23 +75719,23 @@ Required: ` + u.join(", "));
|
|
|
75719
75719
|
get: f,
|
|
75720
75720
|
has: p
|
|
75721
75721
|
};
|
|
75722
|
-
}, Q4 = Fg(),
|
|
75722
|
+
}, Q4 = Fg(), ak = function(r, u) {
|
|
75723
75723
|
var f = u.dom;
|
|
75724
75724
|
return f[r];
|
|
75725
75725
|
}, sl = function(r, u) {
|
|
75726
75726
|
return parseInt(Zr(u, r), 10);
|
|
75727
|
-
}, y9 = Ue(
|
|
75727
|
+
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75728
75728
|
return r.dom.getBoundingClientRect();
|
|
75729
75729
|
}, S6 = function(r, u, f) {
|
|
75730
|
-
var p = y9(r), _ =
|
|
75730
|
+
var p = y9(r), _ = ik(r);
|
|
75731
75731
|
return u >= 0 && f >= 0 && u <= p && f <= _;
|
|
75732
75732
|
}, b9 = function(r, u, f, p) {
|
|
75733
|
-
var _ =
|
|
75733
|
+
var _ = uk(u), C = r ? _.left + u.dom.clientLeft + sk(u) : 0, A = r ? _.top + u.dom.clientTop + lk(u) : 0, P = f - C, M = p - A;
|
|
75734
75734
|
return {
|
|
75735
75735
|
x: P,
|
|
75736
75736
|
y: M
|
|
75737
75737
|
};
|
|
75738
|
-
},
|
|
75738
|
+
}, ck = function(r, u, f) {
|
|
75739
75739
|
var p = be.fromDom(r.getBody()), _ = r.inline ? p : Ii(p), C = b9(r.inline, _, u, f);
|
|
75740
75740
|
return S6(_, C.x, C.y);
|
|
75741
75741
|
}, w9 = function(r) {
|
|
@@ -75828,7 +75828,7 @@ Required: ` + u.join(", "));
|
|
|
75828
75828
|
setParams: r
|
|
75829
75829
|
};
|
|
75830
75830
|
}
|
|
75831
|
-
var
|
|
75831
|
+
var fk = function(r) {
|
|
75832
75832
|
var u = [], f = function() {
|
|
75833
75833
|
var $e = r.theme;
|
|
75834
75834
|
return $e && $e.getWindowManagerImpl ? $e.getWindowManagerImpl() : E9();
|
|
@@ -75884,16 +75884,16 @@ Required: ` + u.join(", "));
|
|
|
75884
75884
|
confirm: ke,
|
|
75885
75885
|
close: Oe
|
|
75886
75886
|
};
|
|
75887
|
-
},
|
|
75887
|
+
}, dk = function(r, u) {
|
|
75888
75888
|
r.notificationManager.open({
|
|
75889
75889
|
type: "error",
|
|
75890
75890
|
text: u
|
|
75891
75891
|
});
|
|
75892
75892
|
}, Ga = function(r, u) {
|
|
75893
|
-
r._skinLoaded ?
|
|
75894
|
-
|
|
75893
|
+
r._skinLoaded ? dk(r, u) : r.on("SkinLoaded", function() {
|
|
75894
|
+
dk(r, u);
|
|
75895
75895
|
});
|
|
75896
|
-
},
|
|
75896
|
+
}, hk = function(r, u) {
|
|
75897
75897
|
Ga(r, Us.translate([
|
|
75898
75898
|
"Failed to upload image: {0}",
|
|
75899
75899
|
u
|
|
@@ -75923,7 +75923,7 @@ Required: ` + u.join(", "));
|
|
|
75923
75923
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75924
75924
|
}, T9 = function(r) {
|
|
75925
75925
|
return T6(r, cb(r));
|
|
75926
|
-
},
|
|
75926
|
+
}, vk = function(r) {
|
|
75927
75927
|
return T6(r, f2(r));
|
|
75928
75928
|
}, T6 = function(r, u) {
|
|
75929
75929
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, _ = "content" + p + ".css", C = r.inline === !0;
|
|
@@ -75931,7 +75931,7 @@ Required: ` + u.join(", "));
|
|
|
75931
75931
|
return Vg(A) && !C ? f + "/" + A + "/" + _ : r.documentBaseURI.toAbsolute(A);
|
|
75932
75932
|
});
|
|
75933
75933
|
}, N6 = function(r) {
|
|
75934
|
-
r.contentCSS = r.contentCSS.concat(T9(r),
|
|
75934
|
+
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75935
75935
|
}, A6 = function() {
|
|
75936
75936
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75937
75937
|
return {
|
|
@@ -75971,7 +75971,7 @@ Required: ` + u.join(", "));
|
|
|
75971
75971
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
75972
75972
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
75973
75973
|
return "s" + u.toString(36) + r() + r() + r();
|
|
75974
|
-
},
|
|
75974
|
+
}, pk = function(r) {
|
|
75975
75975
|
return r + I6++ + N9();
|
|
75976
75976
|
}, A9 = function() {
|
|
75977
75977
|
var r = [], u = function(ae) {
|
|
@@ -76006,7 +76006,7 @@ Required: ` + u.join(", "));
|
|
|
76006
76006
|
}, p = function(ae) {
|
|
76007
76007
|
if (!ae.blob || !ae.base64)
|
|
76008
76008
|
throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");
|
|
76009
|
-
var se = ae.id ||
|
|
76009
|
+
var se = ae.id || pk("blobid"), ke = ae.name || se, Oe = ae.blob;
|
|
76010
76010
|
return {
|
|
76011
76011
|
id: Fe(se),
|
|
76012
76012
|
name: Fe(ke),
|
|
@@ -76138,7 +76138,7 @@ Required: ` + u.join(", "));
|
|
|
76138
76138
|
return !u.url && ie(u.handler) ? C() : se(Oe, $e);
|
|
76139
76139
|
};
|
|
76140
76140
|
return Pe(u.handler) === !1 && (u.handler = _), { upload: ke };
|
|
76141
|
-
},
|
|
76141
|
+
}, mk = function(r) {
|
|
76142
76142
|
return function() {
|
|
76143
76143
|
return r.notificationManager.open({
|
|
76144
76144
|
text: r.translate("Image uploading..."),
|
|
@@ -76147,7 +76147,7 @@ Required: ` + u.join(", "));
|
|
|
76147
76147
|
progressBar: !0
|
|
76148
76148
|
});
|
|
76149
76149
|
};
|
|
76150
|
-
},
|
|
76150
|
+
}, gk = function(r, u) {
|
|
76151
76151
|
return Nc(u, {
|
|
76152
76152
|
url: u2(r),
|
|
76153
76153
|
basePath: Vp(r),
|
|
@@ -76155,10 +76155,10 @@ Required: ` + u.join(", "));
|
|
|
76155
76155
|
handler: Qw(r)
|
|
76156
76156
|
});
|
|
76157
76157
|
}, I9 = function(r) {
|
|
76158
|
-
var u = A6(), f =
|
|
76158
|
+
var u = A6(), f = gk(r, u);
|
|
76159
76159
|
return {
|
|
76160
76160
|
upload: function(p, _) {
|
|
76161
|
-
return _ === void 0 && (_ = !0), f.upload(p, _ ?
|
|
76161
|
+
return _ === void 0 && (_ = !0), f.upload(p, _ ? mk(r) : void 0);
|
|
76162
76162
|
}
|
|
76163
76163
|
};
|
|
76164
76164
|
}, F_ = function(r) {
|
|
@@ -76207,14 +76207,14 @@ Required: ` + u.join(", "));
|
|
|
76207
76207
|
"data-mce-src": hn
|
|
76208
76208
|
});
|
|
76209
76209
|
}, ke = function(yt) {
|
|
76210
|
-
return f || (f =
|
|
76210
|
+
return f || (f = gk(r, _)), ot().then(P(function(Mt) {
|
|
76211
76211
|
var hn = ne(Mt, function(Fn) {
|
|
76212
76212
|
return Fn.blobInfo;
|
|
76213
76213
|
});
|
|
76214
|
-
return f.upload(hn,
|
|
76214
|
+
return f.upload(hn, mk(r)).then(P(function(Fn) {
|
|
76215
76215
|
var Hn = [], yr = ne(Fn, function(xr, Dn) {
|
|
76216
76216
|
var qr = Mt[Dn].blobInfo, er = Mt[Dn].image;
|
|
76217
|
-
return xr.status && Jw(r) ? (u.removeByUri(er.src), se(er, xr.url)) : xr.error && (xr.error.options.remove && (ae(er.getAttribute("src"), Xr.transparentSrc), Hn.push(er)),
|
|
76217
|
+
return xr.status && Jw(r) ? (u.removeByUri(er.src), se(er, xr.url)) : xr.error && (xr.error.options.remove && (ae(er.getAttribute("src"), Xr.transparentSrc), Hn.push(er)), hk(r, xr.error.message)), {
|
|
76218
76218
|
element: er,
|
|
76219
76219
|
status: xr.status,
|
|
76220
76220
|
uploadUri: xr.url,
|
|
@@ -76292,7 +76292,7 @@ Required: ` + u.join(", "));
|
|
|
76292
76292
|
scanForImages: ot,
|
|
76293
76293
|
destroy: et
|
|
76294
76294
|
};
|
|
76295
|
-
},
|
|
76295
|
+
}, _k = function(r) {
|
|
76296
76296
|
var u = {
|
|
76297
76297
|
valigntop: [{
|
|
76298
76298
|
selector: "td,th",
|
|
@@ -76570,7 +76570,7 @@ Required: ` + u.join(", "));
|
|
|
76570
76570
|
remove: "all"
|
|
76571
76571
|
};
|
|
76572
76572
|
}), u;
|
|
76573
|
-
},
|
|
76573
|
+
}, yk = function(r) {
|
|
76574
76574
|
var u = {}, f = function(A) {
|
|
76575
76575
|
return A ? u[A] : u;
|
|
76576
76576
|
}, p = function(A) {
|
|
@@ -76584,13 +76584,13 @@ Required: ` + u.join(", "));
|
|
|
76584
76584
|
}, C = function(A) {
|
|
76585
76585
|
return A && u[A] && delete u[A], u;
|
|
76586
76586
|
};
|
|
76587
|
-
return _(
|
|
76587
|
+
return _(_k(r.dom)), _(oC(r)), {
|
|
76588
76588
|
get: f,
|
|
76589
76589
|
has: p,
|
|
76590
76590
|
register: _,
|
|
76591
76591
|
unregister: C
|
|
76592
76592
|
};
|
|
76593
|
-
}, V_ = Ve.each, us = ua.DOM,
|
|
76593
|
+
}, V_ = Ve.each, us = ua.DOM, bk = function(r, u) {
|
|
76594
76594
|
var f, p, _, C = u && u.schema || qc({}), A = function(ie, ae) {
|
|
76595
76595
|
ae.classes.length && us.addClass(ie, ae.classes.join(" ")), us.setAttribs(ie, ae.attrs);
|
|
76596
76596
|
}, P = function(ie) {
|
|
@@ -76666,7 +76666,7 @@ Required: ` + u.join(", "));
|
|
|
76666
76666
|
}
|
|
76667
76667
|
f = u.block || u.inline || "span";
|
|
76668
76668
|
var X = O9(u.selector);
|
|
76669
|
-
X.length ? (X[0].name || (X[0].name = f), f = u.selector, p =
|
|
76669
|
+
X.length ? (X[0].name || (X[0].name = f), f = u.selector, p = bk(X, r)) : p = bk([f], r);
|
|
76670
76670
|
var ie = us.select(f, p)[0] || p.firstChild;
|
|
76671
76671
|
return V_(u.styles, function(ae, se) {
|
|
76672
76672
|
var ke = P(ae);
|
|
@@ -76713,8 +76713,8 @@ Required: ` + u.join(", "));
|
|
|
76713
76713
|
!1,
|
|
76714
76714
|
"address"
|
|
76715
76715
|
]);
|
|
76716
|
-
},
|
|
76717
|
-
var u =
|
|
76716
|
+
}, wk = function(r) {
|
|
76717
|
+
var u = yk(r), f = Wa(null);
|
|
76718
76718
|
return P9(r), AA(r), {
|
|
76719
76719
|
get: u.get,
|
|
76720
76720
|
has: u.has,
|
|
@@ -76796,7 +76796,7 @@ Required: ` + u.join(", "));
|
|
|
76796
76796
|
});
|
|
76797
76797
|
}, R9 = function(r) {
|
|
76798
76798
|
r.addShortcut("meta+z", "", "Undo"), r.addShortcut("meta+y,meta+shift+z", "", "Redo");
|
|
76799
|
-
},
|
|
76799
|
+
}, Ck = function(r) {
|
|
76800
76800
|
var u = Wa(me.none()), f = Wa(0), p = Wa(0), _ = {
|
|
76801
76801
|
data: [],
|
|
76802
76802
|
typing: !1,
|
|
@@ -76858,19 +76858,19 @@ Required: ` + u.join(", "));
|
|
|
76858
76858
|
Pr.UP,
|
|
76859
76859
|
Pr.LEFT,
|
|
76860
76860
|
Pr.RIGHT
|
|
76861
|
-
].concat(Xr.browser.isFirefox() ? [224] : []),
|
|
76861
|
+
].concat(Xr.browser.isFirefox() ? [224] : []), xk = "data-mce-placeholder", Ek = function(r) {
|
|
76862
76862
|
return r.type === "keydown" || r.type === "keyup";
|
|
76863
|
-
},
|
|
76863
|
+
}, Sk = function(r) {
|
|
76864
76864
|
var u = r.keyCode;
|
|
76865
76865
|
return u === Pr.BACKSPACE || u === Pr.DELETE;
|
|
76866
76866
|
}, F9 = function(r) {
|
|
76867
|
-
if (
|
|
76867
|
+
if (Ek(r)) {
|
|
76868
76868
|
var u = r.keyCode;
|
|
76869
|
-
return !
|
|
76869
|
+
return !Sk(r) && (Pr.metaKeyPressed(r) || r.altKey || u >= 112 && u <= 123 || Re($9, u));
|
|
76870
76870
|
} else
|
|
76871
76871
|
return !1;
|
|
76872
76872
|
}, L_ = function(r) {
|
|
76873
|
-
return
|
|
76873
|
+
return Ek(r) && !(Sk(r) || r.type === "keyup" && r.keyCode === 229);
|
|
76874
76874
|
}, V9 = function(r, u, f) {
|
|
76875
76875
|
if (ws(be.fromDom(u), !1)) {
|
|
76876
76876
|
var p = f === "", _ = u.firstElementChild;
|
|
@@ -76880,8 +76880,8 @@ Required: ` + u.join(", "));
|
|
|
76880
76880
|
}, D6 = function(r) {
|
|
76881
76881
|
var u = r.dom, f = Oi(r), p = nC(r), _ = function(C, A) {
|
|
76882
76882
|
if (!F9(C)) {
|
|
76883
|
-
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P,
|
|
76884
|
-
(X !== M || A) && (u.setAttrib(P,
|
|
76883
|
+
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
76884
|
+
(X !== M || A) && (u.setAttrib(P, xk, M ? p : null), u.setAttrib(P, "aria-placeholder", M ? p : null), Go(r, M), r.on(M ? "keydown" : "keyup", _), r.off(M ? "keyup" : "keydown", _));
|
|
76885
76885
|
}
|
|
76886
76886
|
};
|
|
76887
76887
|
p && r.on("init", function(C) {
|
|
@@ -76925,7 +76925,7 @@ Required: ` + u.join(", "));
|
|
|
76925
76925
|
r.selection.setCursorLocation(f, 0);
|
|
76926
76926
|
}, i3 = function(r) {
|
|
76927
76927
|
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
|
|
76928
|
-
},
|
|
76928
|
+
}, kk = function(r, u, f) {
|
|
76929
76929
|
return ki(jl(f), Ru(f), function(p, _) {
|
|
76930
76930
|
var C = Nl(!0, p), A = Nl(!1, _), P = Nl(!1, u);
|
|
76931
76931
|
return r ? eu(f, P).exists(function(M) {
|
|
@@ -76934,7 +76934,7 @@ Required: ` + u.join(", "));
|
|
|
76934
76934
|
return M.isEqual(C) && u.isEqual(A);
|
|
76935
76935
|
});
|
|
76936
76936
|
}).getOr(!0);
|
|
76937
|
-
},
|
|
76937
|
+
}, Tk = function(r, u) {
|
|
76938
76938
|
return {
|
|
76939
76939
|
block: r,
|
|
76940
76940
|
position: u
|
|
@@ -76947,11 +76947,11 @@ Required: ` + u.join(", "));
|
|
|
76947
76947
|
}, l3 = function(r, u) {
|
|
76948
76948
|
var f = be.fromDom(r), p = be.fromDom(u.container());
|
|
76949
76949
|
return z_(f, p).map(function(_) {
|
|
76950
|
-
return
|
|
76950
|
+
return Tk(_, u);
|
|
76951
76951
|
});
|
|
76952
|
-
},
|
|
76952
|
+
}, Nk = function(r) {
|
|
76953
76953
|
return yo(r.from.block, r.to.block) === !1;
|
|
76954
|
-
},
|
|
76954
|
+
}, Ak = function(r) {
|
|
76955
76955
|
return Ci(r.from.block).bind(function(u) {
|
|
76956
76956
|
return Ci(r.to.block).filter(function(f) {
|
|
76957
76957
|
return yo(u, f);
|
|
@@ -76959,26 +76959,26 @@ Required: ` + u.join(", "));
|
|
|
76959
76959
|
}).isSome();
|
|
76960
76960
|
}, s3 = function(r) {
|
|
76961
76961
|
return xa(r.from.block.dom) === !1 && xa(r.to.block.dom) === !1;
|
|
76962
|
-
},
|
|
76962
|
+
}, Ik = function(r, u, f) {
|
|
76963
76963
|
return ei(f.position.getNode()) && ws(f.block) === !1 ? nh(!1, f.block.dom).bind(function(p) {
|
|
76964
76964
|
return p.isEqual(f.position) ? Hs(u, r, p).bind(function(_) {
|
|
76965
76965
|
return l3(r, _);
|
|
76966
76966
|
}) : me.some(f);
|
|
76967
76967
|
}).getOr(f) : f;
|
|
76968
|
-
},
|
|
76968
|
+
}, Dk = function(r, u, f) {
|
|
76969
76969
|
var p = l3(r, un.fromRangeStart(f)), _ = p.bind(function(C) {
|
|
76970
76970
|
return Hs(u, r, C.position).bind(function(A) {
|
|
76971
76971
|
return l3(r, A).map(function(P) {
|
|
76972
|
-
return
|
|
76972
|
+
return Ik(r, u, P);
|
|
76973
76973
|
});
|
|
76974
76974
|
});
|
|
76975
76975
|
});
|
|
76976
76976
|
return ki(p, _, Lg).filter(function(C) {
|
|
76977
|
-
return
|
|
76977
|
+
return Nk(C) && Ak(C) && s3(C);
|
|
76978
76978
|
});
|
|
76979
|
-
},
|
|
76980
|
-
return f.collapsed ?
|
|
76981
|
-
},
|
|
76979
|
+
}, Ok = function(r, u, f) {
|
|
76980
|
+
return f.collapsed ? Dk(r, u, f) : me.none();
|
|
76981
|
+
}, Bk = function(r) {
|
|
76982
76982
|
var u = va(r);
|
|
76983
76983
|
return Kn(u, Fs).fold(function() {
|
|
76984
76984
|
return u;
|
|
@@ -76986,21 +76986,21 @@ Required: ` + u.join(", "));
|
|
|
76986
76986
|
return u.slice(0, f);
|
|
76987
76987
|
});
|
|
76988
76988
|
}, cd = function(r) {
|
|
76989
|
-
var u =
|
|
76989
|
+
var u = Bk(r);
|
|
76990
76990
|
return he(u, pi), u;
|
|
76991
76991
|
}, B6 = function(r, u) {
|
|
76992
76992
|
var f = qo(u, r);
|
|
76993
76993
|
return _n(f.reverse(), function(p) {
|
|
76994
76994
|
return ws(p);
|
|
76995
76995
|
}).each(pi);
|
|
76996
|
-
},
|
|
76996
|
+
}, Pk = function(r) {
|
|
76997
76997
|
return Pt(yd(r), function(u) {
|
|
76998
76998
|
return !ws(u);
|
|
76999
76999
|
}).length === 0;
|
|
77000
77000
|
}, Lv = function(r, u, f, p) {
|
|
77001
77001
|
if (ws(f))
|
|
77002
77002
|
return js(f), jl(f.dom);
|
|
77003
|
-
|
|
77003
|
+
Pk(p) && ws(u) && cl(p, be.fromTag("br"));
|
|
77004
77004
|
var _ = mc(f.dom, un.before(p.dom));
|
|
77005
77005
|
return he(cd(u), function(C) {
|
|
77006
77006
|
cl(p, C);
|
|
@@ -77017,17 +77017,17 @@ Required: ` + u.join(", "));
|
|
|
77017
77017
|
return me.from(f[f.length - 1]);
|
|
77018
77018
|
}, W9 = function(r, u) {
|
|
77019
77019
|
return li(u, r) ? H9(u, r) : me.none();
|
|
77020
|
-
},
|
|
77020
|
+
}, Mk = function(r, u) {
|
|
77021
77021
|
nh(r, u.dom).map(function(f) {
|
|
77022
77022
|
return f.getNode();
|
|
77023
77023
|
}).map(be.fromDom).filter(xu).each(pi);
|
|
77024
|
-
},
|
|
77025
|
-
return
|
|
77026
|
-
}, $
|
|
77027
|
-
return u ?
|
|
77024
|
+
}, Rk = function(r, u, f) {
|
|
77025
|
+
return Mk(!0, u), Mk(!1, f), W9(u, f).fold(Ue(Ac, r, u, f), Ue(Lv, r, u, f));
|
|
77026
|
+
}, $k = function(r, u, f, p) {
|
|
77027
|
+
return u ? Rk(r, p, f) : Rk(r, f, p);
|
|
77028
77028
|
}, u3 = function(r, u) {
|
|
77029
|
-
var f = be.fromDom(r.getBody()), p =
|
|
77030
|
-
return $
|
|
77029
|
+
var f = be.fromDom(r.getBody()), p = Ok(f.dom, u, r.selection.getRng()).bind(function(_) {
|
|
77030
|
+
return $k(f, u, _.from.block, _.to.block);
|
|
77031
77031
|
});
|
|
77032
77032
|
return p.each(function(_) {
|
|
77033
77033
|
r.selection.setRng(_.toRange());
|
|
@@ -77035,15 +77035,15 @@ Required: ` + u.join(", "));
|
|
|
77035
77035
|
}, j9 = function(r, u) {
|
|
77036
77036
|
var f = u.getRng();
|
|
77037
77037
|
return ki(z_(r, be.fromDom(f.startContainer)), z_(r, be.fromDom(f.endContainer)), function(p, _) {
|
|
77038
|
-
return yo(p, _) === !1 ? (f.deleteContents(), $
|
|
77038
|
+
return yo(p, _) === !1 ? (f.deleteContents(), $k(r, !0, p, _).each(function(C) {
|
|
77039
77039
|
u.setRng(C.toRange());
|
|
77040
77040
|
}), !0) : !1;
|
|
77041
77041
|
}).getOr(!1);
|
|
77042
|
-
},
|
|
77042
|
+
}, Fk = function(r, u) {
|
|
77043
77043
|
var f = be.fromDom(u), p = Ue(yo, r);
|
|
77044
77044
|
return kf(f, bs, p).isSome();
|
|
77045
77045
|
}, G9 = function(r, u) {
|
|
77046
|
-
return
|
|
77046
|
+
return Fk(r, u.startContainer) || Fk(r, u.endContainer);
|
|
77047
77047
|
}, q9 = function(r, u) {
|
|
77048
77048
|
var f = mc(r.dom, un.fromRangeStart(u)).isNone(), p = eu(r.dom, un.fromRangeEnd(u)).isNone();
|
|
77049
77049
|
return !G9(r, u) && f && p;
|
|
@@ -77054,7 +77054,7 @@ Required: ` + u.join(", "));
|
|
|
77054
77054
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77055
77055
|
}, Ug = function(r, u) {
|
|
77056
77056
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77057
|
-
}, P6 = $s,
|
|
77057
|
+
}, P6 = $s, Vk = xa, _h = function(r, u, f, p, _) {
|
|
77058
77058
|
return me.from(u._selectionOverrides.showCaret(r, f, p, _));
|
|
77059
77059
|
}, X9 = function(r) {
|
|
77060
77060
|
var u = r.ownerDocument.createRange();
|
|
@@ -77070,18 +77070,18 @@ Required: ` + u.join(", "));
|
|
|
77070
77070
|
if (Jd(A))
|
|
77071
77071
|
return _h(1, r, A, !1, !1);
|
|
77072
77072
|
var P = r.dom.getParent(_.getNode(), function(M) {
|
|
77073
|
-
return
|
|
77073
|
+
return Vk(M) || P6(M);
|
|
77074
77074
|
});
|
|
77075
77075
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77076
77076
|
}, H_ = function(r, u, f) {
|
|
77077
77077
|
return u.collapsed ? M6(r, u, f).getOr(u) : u;
|
|
77078
|
-
},
|
|
77078
|
+
}, Lk = function(r) {
|
|
77079
77079
|
return Yo(r) || Cr(r);
|
|
77080
|
-
},
|
|
77080
|
+
}, Uk = function(r) {
|
|
77081
77081
|
return Xo(r) || uo(r);
|
|
77082
77082
|
}, R6 = function(r, u) {
|
|
77083
77083
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77084
|
-
},
|
|
77084
|
+
}, zk = function(r, u, f, p, _, C) {
|
|
77085
77085
|
return _h(p, r, C.getNode(!_), _, !0).each(function(A) {
|
|
77086
77086
|
if (u.collapsed) {
|
|
77087
77087
|
var P = u.cloneRange();
|
|
@@ -77094,13 +77094,13 @@ Required: ` + u.join(", "));
|
|
|
77094
77094
|
var f = r.selection.getRng();
|
|
77095
77095
|
if (!Bn(f.commonAncestorContainer))
|
|
77096
77096
|
return !1;
|
|
77097
|
-
var p = u ? Bi.Forwards : Bi.Backwards, _ = Mu(r.getBody()), C = Ue(z1, u ? _.next : _.prev), A = u ?
|
|
77097
|
+
var p = u ? Bi.Forwards : Bi.Backwards, _ = Mu(r.getBody()), C = Ue(z1, u ? _.next : _.prev), A = u ? Lk : Uk, P = fv(p, r.getBody(), f), M = Nl(u, C(P));
|
|
77098
77098
|
if (!M || !dv(P, M))
|
|
77099
77099
|
return !1;
|
|
77100
77100
|
if (A(M))
|
|
77101
|
-
return
|
|
77101
|
+
return zk(r, f, P.getNode(), p, u, M);
|
|
77102
77102
|
var X = C(M);
|
|
77103
|
-
return X && A(X) && dv(M, X) ?
|
|
77103
|
+
return X && A(X) && dv(M, X) ? zk(r, f, P.getNode(), p, u, X) : !1;
|
|
77104
77104
|
}, zu = function(r, u) {
|
|
77105
77105
|
return J9(r, u);
|
|
77106
77106
|
}, Ic = function(r) {
|
|
@@ -77109,7 +77109,7 @@ Required: ` + u.join(", "));
|
|
|
77109
77109
|
{ remove: ["element"] },
|
|
77110
77110
|
{ moveToElement: ["element"] },
|
|
77111
77111
|
{ moveToPosition: ["position"] }
|
|
77112
|
-
]),
|
|
77112
|
+
]), Hk = function(r, u) {
|
|
77113
77113
|
var f = u.getNode(r === !1), p = r ? "after" : "before";
|
|
77114
77114
|
return ro(f) && f.getAttribute("data-mce-caret") === p;
|
|
77115
77115
|
}, c3 = function(r, u, f, p) {
|
|
@@ -77130,9 +77130,9 @@ Required: ` + u.join(", "));
|
|
|
77130
77130
|
return Hs(u, r, f).bind(function(p) {
|
|
77131
77131
|
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $6(r, u, f, p) : u && Xo(f) || u === !1 && Yo(f) ? me.some(cs.moveToPosition(p)) : me.none();
|
|
77132
77132
|
});
|
|
77133
|
-
},
|
|
77133
|
+
}, Wk = function(r, u) {
|
|
77134
77134
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
77135
|
-
},
|
|
77135
|
+
}, jk = function(r, u, f) {
|
|
77136
77136
|
return f.fold(function(p) {
|
|
77137
77137
|
return me.some(cs.remove(p));
|
|
77138
77138
|
}, function(p) {
|
|
@@ -77140,19 +77140,19 @@ Required: ` + u.join(", "));
|
|
|
77140
77140
|
}, function(p) {
|
|
77141
77141
|
return Pu(u, p, r) ? me.none() : me.some(cs.moveToPosition(p));
|
|
77142
77142
|
});
|
|
77143
|
-
},
|
|
77144
|
-
return
|
|
77143
|
+
}, Gk = function(r, u, f) {
|
|
77144
|
+
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77145
77145
|
return F6(r, u, f);
|
|
77146
77146
|
}, me.some) : F6(r, u, f).bind(function(p) {
|
|
77147
|
-
return
|
|
77147
|
+
return jk(r, f, p);
|
|
77148
77148
|
});
|
|
77149
|
-
},
|
|
77149
|
+
}, qk = function(r, u, f) {
|
|
77150
77150
|
var p = x2(u ? 1 : -1, r, f), _ = un.fromRangeStart(p), C = be.fromDom(r);
|
|
77151
77151
|
return u === !1 && Xo(_) ? me.some(cs.remove(_.getNode(!0))) : u && Yo(_) ? me.some(cs.remove(_.getNode())) : u === !1 && Yo(_) && um(C, _) ? cm(C, _).map(function(A) {
|
|
77152
77152
|
return cs.remove(A.getNode());
|
|
77153
77153
|
}) : u && Xo(_) && wg(C, _) ? fm(C, _).map(function(A) {
|
|
77154
77154
|
return cs.remove(A.getNode());
|
|
77155
|
-
}) :
|
|
77155
|
+
}) : Gk(r, u, _);
|
|
77156
77156
|
}, f3 = function(r, u) {
|
|
77157
77157
|
return function(f) {
|
|
77158
77158
|
return r._selectionOverrides.hideFakeCaret(), gm(r, u, be.fromDom(f)), !0;
|
|
@@ -77166,12 +77166,12 @@ Required: ` + u.join(", "));
|
|
|
77166
77166
|
return function(u) {
|
|
77167
77167
|
return r.selection.setRng(u.toRange()), !0;
|
|
77168
77168
|
};
|
|
77169
|
-
},
|
|
77169
|
+
}, Kk = function(r, u) {
|
|
77170
77170
|
return me.from(Zp(r.getBody(), u));
|
|
77171
77171
|
}, Z9 = function(r, u) {
|
|
77172
77172
|
var f = r.selection.getNode();
|
|
77173
|
-
return
|
|
77174
|
-
return
|
|
77173
|
+
return Kk(r, f).filter(xa).fold(function() {
|
|
77174
|
+
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77175
77175
|
return p.fold(f3(r, u), d3(r, u), V6(r));
|
|
77176
77176
|
});
|
|
77177
77177
|
}, Ht);
|
|
@@ -77180,7 +77180,7 @@ Required: ` + u.join(", "));
|
|
|
77180
77180
|
}, eD = function(r, u) {
|
|
77181
77181
|
var f = r.selection.getNode();
|
|
77182
77182
|
if (xa(f)) {
|
|
77183
|
-
var p =
|
|
77183
|
+
var p = Kk(r, f.parentNode).filter(xa);
|
|
77184
77184
|
return p.fold(function() {
|
|
77185
77185
|
return Q9(be.fromDom(r.getBody())), gm(r, u, be.fromDom(r.selection.getNode())), i3(r), !0;
|
|
77186
77186
|
}, Ht);
|
|
@@ -77206,31 +77206,31 @@ Required: ` + u.join(", "));
|
|
|
77206
77206
|
});
|
|
77207
77207
|
}, zg = function(r, u) {
|
|
77208
77208
|
return r.selection.isCollapsed() ? tD(r, u) : !1;
|
|
77209
|
-
}, Hg = Bn,
|
|
77209
|
+
}, Hg = Bn, Yk = function(r) {
|
|
77210
77210
|
return Hg(r) && r.data[0] === $a;
|
|
77211
|
-
},
|
|
77211
|
+
}, Xk = function(r) {
|
|
77212
77212
|
return Hg(r) && r.data[r.data.length - 1] === $a;
|
|
77213
|
-
},
|
|
77213
|
+
}, Jk = function(r) {
|
|
77214
77214
|
return r.ownerDocument.createTextNode($a);
|
|
77215
77215
|
}, nD = function(r) {
|
|
77216
77216
|
if (Hg(r.previousSibling))
|
|
77217
|
-
return
|
|
77217
|
+
return Xk(r.previousSibling) || r.previousSibling.appendData($a), r.previousSibling;
|
|
77218
77218
|
if (Hg(r))
|
|
77219
|
-
return
|
|
77220
|
-
var u =
|
|
77219
|
+
return Yk(r) || r.insertData(0, $a), r;
|
|
77220
|
+
var u = Jk(r);
|
|
77221
77221
|
return r.parentNode.insertBefore(u, r), u;
|
|
77222
77222
|
}, rD = function(r) {
|
|
77223
77223
|
if (Hg(r.nextSibling))
|
|
77224
|
-
return
|
|
77224
|
+
return Yk(r.nextSibling) || r.nextSibling.insertData(0, $a), r.nextSibling;
|
|
77225
77225
|
if (Hg(r))
|
|
77226
|
-
return
|
|
77227
|
-
var u =
|
|
77226
|
+
return Xk(r) || r.appendData($a), r;
|
|
77227
|
+
var u = Jk(r);
|
|
77228
77228
|
return r.nextSibling ? r.parentNode.insertBefore(u, r.nextSibling) : r.parentNode.appendChild(u), u;
|
|
77229
77229
|
}, v3 = function(r, u) {
|
|
77230
77230
|
return r ? nD(u) : rD(u);
|
|
77231
77231
|
}, p3 = Ue(v3, !0), m3 = Ue(v3, !1), g3 = function(r, u) {
|
|
77232
77232
|
return Bn(r.container()) ? v3(u, r.container()) : v3(u, r.getNode());
|
|
77233
|
-
},
|
|
77233
|
+
}, Zk = function(r, u) {
|
|
77234
77234
|
var f = u.get();
|
|
77235
77235
|
return f && r.container() === f && Wc(f);
|
|
77236
77236
|
}, U6 = function(r, u) {
|
|
@@ -77240,7 +77240,7 @@ Required: ` + u.join(", "));
|
|
|
77240
77240
|
return r.set(p), me.some(un(p, p.length - 1));
|
|
77241
77241
|
}, function(f) {
|
|
77242
77242
|
return jl(f).map(function(p) {
|
|
77243
|
-
if (
|
|
77243
|
+
if (Zk(p, r))
|
|
77244
77244
|
return un(r.get(), 1);
|
|
77245
77245
|
qf(r.get());
|
|
77246
77246
|
var _ = g3(p, !0);
|
|
@@ -77248,7 +77248,7 @@ Required: ` + u.join(", "));
|
|
|
77248
77248
|
});
|
|
77249
77249
|
}, function(f) {
|
|
77250
77250
|
return Ru(f).map(function(p) {
|
|
77251
|
-
if (
|
|
77251
|
+
if (Zk(p, r))
|
|
77252
77252
|
return un(r.get(), r.get().length - 1);
|
|
77253
77253
|
qf(r.get());
|
|
77254
77254
|
var _ = g3(p, !1);
|
|
@@ -77259,7 +77259,7 @@ Required: ` + u.join(", "));
|
|
|
77259
77259
|
var p = m3(f);
|
|
77260
77260
|
return r.set(p), me.some(un(p, 1));
|
|
77261
77261
|
});
|
|
77262
|
-
},
|
|
77262
|
+
}, Qk = function(r, u) {
|
|
77263
77263
|
for (var f = 0; f < r.length; f++) {
|
|
77264
77264
|
var p = r[f].apply(null, u);
|
|
77265
77265
|
if (p.isSome())
|
|
@@ -77304,10 +77304,10 @@ Required: ` + u.join(", "));
|
|
|
77304
77304
|
return fs.after(C);
|
|
77305
77305
|
});
|
|
77306
77306
|
}, me.none);
|
|
77307
|
-
},
|
|
77307
|
+
}, e5 = function(r) {
|
|
77308
77308
|
return z9(H6(r)) === !1;
|
|
77309
77309
|
}, fd = function(r, u, f) {
|
|
77310
|
-
var p =
|
|
77310
|
+
var p = Qk([
|
|
77311
77311
|
oD,
|
|
77312
77312
|
iD,
|
|
77313
77313
|
lD,
|
|
@@ -77317,17 +77317,17 @@ Required: ` + u.join(", "));
|
|
|
77317
77317
|
u,
|
|
77318
77318
|
f
|
|
77319
77319
|
]);
|
|
77320
|
-
return p.filter(
|
|
77320
|
+
return p.filter(e5);
|
|
77321
77321
|
}, H6 = function(r) {
|
|
77322
77322
|
return r.fold(_t, _t, _t, _t);
|
|
77323
|
-
},
|
|
77323
|
+
}, t5 = function(r) {
|
|
77324
77324
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
77325
77325
|
}, Tm = function(r) {
|
|
77326
77326
|
return r.fold(fs.before, fs.before, fs.after, fs.after);
|
|
77327
77327
|
}, Wg = function(r) {
|
|
77328
77328
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77329
77329
|
}, uD = function(r, u) {
|
|
77330
|
-
return
|
|
77330
|
+
return t5(r) === t5(u) && H6(r) === H6(u);
|
|
77331
77331
|
}, cD = function(r, u, f, p, _, C) {
|
|
77332
77332
|
return ki(lu(u, f, p), lu(u, f, _), function(A, P) {
|
|
77333
77333
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77342,7 +77342,7 @@ Required: ` + u.join(", "));
|
|
|
77342
77342
|
}, function(M) {
|
|
77343
77343
|
return fd(u, f, M).map(Ue(cD, r, u, f, C, M)).filter(Ue(y3, p));
|
|
77344
77344
|
});
|
|
77345
|
-
return P.filter(
|
|
77345
|
+
return P.filter(e5);
|
|
77346
77346
|
}, dD = function(r, u) {
|
|
77347
77347
|
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
77348
|
}, W6 = function(r, u, f, p) {
|
|
@@ -77354,12 +77354,12 @@ Required: ` + u.join(", "));
|
|
|
77354
77354
|
Ue(W6, !1), Ue(W6, !0);
|
|
77355
77355
|
var hD = function(r) {
|
|
77356
77356
|
return Pe(r.selection.getSel().modify);
|
|
77357
|
-
},
|
|
77357
|
+
}, n5 = function(r, u, f) {
|
|
77358
77358
|
var p = r ? 1 : -1;
|
|
77359
77359
|
return u.setRng(un(f.container(), f.offset() + p).toRange()), u.getSel().modify("move", r ? "forward" : "backward", "word"), !0;
|
|
77360
77360
|
}, vD = function(r, u) {
|
|
77361
77361
|
var f = u.selection.getRng(), p = r ? un.fromRangeEnd(f) : un.fromRangeStart(f);
|
|
77362
|
-
return hD(u) ? r && p0(p) ?
|
|
77362
|
+
return hD(u) ? r && p0(p) ? n5(!0, u.selection, p) : !r && _p(p) ? n5(!1, u.selection, p) : !1 : !1;
|
|
77363
77363
|
}, dd;
|
|
77364
77364
|
(function(r) {
|
|
77365
77365
|
r[r.Br = 0] = "Br", r[r.Block = 1] = "Block", r[r.Wrap = 2] = "Wrap", r[r.Eol = 3] = "Eol";
|
|
@@ -77370,7 +77370,7 @@ Required: ` + u.join(", "));
|
|
|
77370
77370
|
return r === Bi.Forwards ? u.next(f) : u.prev(f);
|
|
77371
77371
|
}, mD = function(r, u, f, p) {
|
|
77372
77372
|
return ei(p.getNode(u === Bi.Forwards)) ? dd.Br : Pu(f, p) === !1 ? dd.Block : dd.Wrap;
|
|
77373
|
-
},
|
|
77373
|
+
}, r5 = function(r, u, f, p) {
|
|
77374
77374
|
for (var _ = Mu(f), C = p, A, P = []; C && (A = pD(u, _, C), !!A); ) {
|
|
77375
77375
|
if (ei(A.getNode(!1)))
|
|
77376
77376
|
return u === Bi.Forwards ? {
|
|
@@ -77401,7 +77401,7 @@ Required: ` + u.join(", "));
|
|
|
77401
77401
|
breakType: dd.Eol,
|
|
77402
77402
|
breakAt: me.none()
|
|
77403
77403
|
};
|
|
77404
|
-
},
|
|
77404
|
+
}, o5 = function(r, u, f, p) {
|
|
77405
77405
|
return u(f, p).breakAt.map(function(_) {
|
|
77406
77406
|
var C = u(f, _).positions;
|
|
77407
77407
|
return r === Bi.Backwards ? C.concat(_) : [_].concat(C);
|
|
@@ -77421,15 +77421,15 @@ Required: ` + u.join(", "));
|
|
|
77421
77421
|
return Zt(u.getClientRects()).bind(function(f) {
|
|
77422
77422
|
return su(r, f.left);
|
|
77423
77423
|
});
|
|
77424
|
-
}, Nm = Ue(
|
|
77424
|
+
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77425
77425
|
return Nm(r, u).breakAt.isNone();
|
|
77426
77426
|
}, j6 = function(r, u) {
|
|
77427
77427
|
return W_(r, u).breakAt.isNone();
|
|
77428
|
-
},
|
|
77428
|
+
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77429
77429
|
return jl(r).map(function(u) {
|
|
77430
77430
|
return [u].concat(W_(r, u).positions);
|
|
77431
77431
|
}).getOr([]);
|
|
77432
|
-
},
|
|
77432
|
+
}, s5 = function(r) {
|
|
77433
77433
|
return Ru(r).map(function(u) {
|
|
77434
77434
|
return Nm(r, u).positions.concat(u);
|
|
77435
77435
|
}).getOr([]);
|
|
@@ -77455,7 +77455,7 @@ Required: ` + u.join(", "));
|
|
|
77455
77455
|
for (; p = cv(p, r, Df, u); )
|
|
77456
77456
|
if (f(p))
|
|
77457
77457
|
return;
|
|
77458
|
-
},
|
|
77458
|
+
}, u5 = function(r, u, f, p, _, C) {
|
|
77459
77459
|
var A = 0, P = [], M = function(ae) {
|
|
77460
77460
|
var se, ke, Oe;
|
|
77461
77461
|
for (Oe = w3([ae]), r === -1 && (Oe = Oe.reverse()), se = 0; se < Oe.length; se++)
|
|
@@ -77471,9 +77471,9 @@ Required: ` + u.join(", "));
|
|
|
77471
77471
|
return M(ie), yD(r, p, M, ie), P;
|
|
77472
77472
|
}, Gg = function(r, u) {
|
|
77473
77473
|
return u.line > r;
|
|
77474
|
-
},
|
|
77474
|
+
}, c5 = function(r, u) {
|
|
77475
77475
|
return u.line === r;
|
|
77476
|
-
},
|
|
77476
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
|
|
77477
77477
|
var _ = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77478
77478
|
return oa(Oe.getClientRects());
|
|
77479
77479
|
};
|
|
@@ -77487,15 +77487,15 @@ Required: ` + u.join(", "));
|
|
|
77487
77487
|
}
|
|
77488
77488
|
while (M = C(M));
|
|
77489
77489
|
return X;
|
|
77490
|
-
},
|
|
77490
|
+
}, h5 = function(r) {
|
|
77491
77491
|
return function(u) {
|
|
77492
77492
|
return Gg(r, u);
|
|
77493
77493
|
};
|
|
77494
77494
|
}, q6 = function(r) {
|
|
77495
77495
|
return function(u) {
|
|
77496
|
-
return
|
|
77496
|
+
return c5(r, u);
|
|
77497
77497
|
};
|
|
77498
|
-
}, bD = xa,
|
|
77498
|
+
}, bD = xa, v5 = cv, K6 = function(r, u) {
|
|
77499
77499
|
return Math.abs(r.left - u);
|
|
77500
77500
|
}, Y6 = function(r, u) {
|
|
77501
77501
|
return Math.abs(r.right - u);
|
|
@@ -77508,12 +77508,12 @@ Required: ` + u.join(", "));
|
|
|
77508
77508
|
var _ = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
|
|
77509
77509
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === _ && bD(p.node) || C < _ ? p : f;
|
|
77510
77510
|
});
|
|
77511
|
-
},
|
|
77512
|
-
var C =
|
|
77511
|
+
}, p5 = function(r, u, f, p, _) {
|
|
77512
|
+
var C = v5(p, r, Df, u, !_);
|
|
77513
77513
|
do
|
|
77514
77514
|
if (!C || f(C))
|
|
77515
77515
|
return;
|
|
77516
|
-
while (C =
|
|
77516
|
+
while (C = v5(C, r, Df, u));
|
|
77517
77517
|
}, CD = function(r, u, f) {
|
|
77518
77518
|
f === void 0 && (f = !0);
|
|
77519
77519
|
var p = [], _ = function(C, A) {
|
|
@@ -77522,7 +77522,7 @@ Required: ` + u.join(", "));
|
|
|
77522
77522
|
});
|
|
77523
77523
|
return p = p.concat(P), P.length === 0;
|
|
77524
77524
|
};
|
|
77525
|
-
return p.push(u),
|
|
77525
|
+
return p.push(u), p5(Am.Up, r, Ue(_, il), u.node, f), p5(Am.Down, r, Ue(_, Hd), u.node, f), p;
|
|
77526
77526
|
}, xD = function(r) {
|
|
77527
77527
|
return Pt(Er(r.getElementsByTagName("*")), ks);
|
|
77528
77528
|
}, ED = function(r, u) {
|
|
@@ -77542,7 +77542,7 @@ Required: ` + u.join(", "));
|
|
|
77542
77542
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77543
77543
|
}, X6 = function(r, u, f) {
|
|
77544
77544
|
return me.some(H_(r, u, f));
|
|
77545
|
-
},
|
|
77545
|
+
}, m5 = function(r, u, f, p, _, C) {
|
|
77546
77546
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : _;
|
|
77547
77547
|
if (!f.collapsed) {
|
|
77548
77548
|
var ie = Qh(f);
|
|
@@ -77563,14 +77563,14 @@ Required: ` + u.join(", "));
|
|
|
77563
77563
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77564
77564
|
if (!P)
|
|
77565
77565
|
return me.none();
|
|
77566
|
-
var X = M ?
|
|
77566
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
|
|
77567
77567
|
if (ke && C(ke.node)) {
|
|
77568
77568
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77569
77569
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77570
77570
|
}
|
|
77571
77571
|
var Ee;
|
|
77572
77572
|
if (p(A) ? Ee = A.getNode() : _(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77573
|
-
var ot = G6(u, r.getBody(),
|
|
77573
|
+
var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
|
|
77574
77574
|
if (et || (et = oa(Pt(ot, q6(0))), et))
|
|
77575
77575
|
return X6(r, et.position.toRange(), !1);
|
|
77576
77576
|
}
|
|
@@ -77586,14 +77586,14 @@ Required: ` + u.join(", "));
|
|
|
77586
77586
|
var _ = un.fromRangeStart(f), C = Nm(p, _);
|
|
77587
77587
|
return Zt(C.positions);
|
|
77588
77588
|
}
|
|
77589
|
-
},
|
|
77589
|
+
}, g5 = function(r, u, f) {
|
|
77590
77590
|
return j_(r, u).filter(f).exists(function(p) {
|
|
77591
77591
|
return r.selection.setRng(p.toRange()), !0;
|
|
77592
77592
|
});
|
|
77593
77593
|
}, x3 = function(r, u) {
|
|
77594
77594
|
var f = r.dom.createRng();
|
|
77595
77595
|
f.setStart(u.container(), u.offset()), f.setEnd(u.container(), u.offset()), r.selection.setRng(f);
|
|
77596
|
-
},
|
|
77596
|
+
}, _5 = function(r, u) {
|
|
77597
77597
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77598
77598
|
}, Uv = function(r, u, f) {
|
|
77599
77599
|
return U6(u, f).map(function(p) {
|
|
@@ -77608,7 +77608,7 @@ Required: ` + u.join(", "));
|
|
|
77608
77608
|
var p = ne(ma(be.fromDom(u.getRoot()), '*[data-mce-selected="inline-boundary"]'), function(A) {
|
|
77609
77609
|
return A.dom;
|
|
77610
77610
|
}), _ = Pt(p, r), C = Pt(f, r);
|
|
77611
|
-
he(dn(_, C), Ue(
|
|
77611
|
+
he(dn(_, C), Ue(_5, !1)), he(dn(C, _), Ue(_5, !0));
|
|
77612
77612
|
}, ND = function(r, u) {
|
|
77613
77613
|
if (r.selection.isCollapsed() && r.composing !== !0 && u.get()) {
|
|
77614
77614
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
@@ -77628,12 +77628,12 @@ Required: ` + u.join(", "));
|
|
|
77628
77628
|
return vc(r) ? kD(r, u, f).isSome() : !1;
|
|
77629
77629
|
}, S3 = function(r, u, f) {
|
|
77630
77630
|
return vc(u) ? vD(r, u) : !1;
|
|
77631
|
-
},
|
|
77631
|
+
}, y5 = function(r) {
|
|
77632
77632
|
var u = Wa(null), f = Ue(Em, r);
|
|
77633
77633
|
return r.on("NodeChange", function(p) {
|
|
77634
77634
|
vc(r) && !(Xr.browser.isIE() && p.initial) && (TD(f, r.dom, p.parents), ND(r, u), AD(f, r, u, p.parents));
|
|
77635
77635
|
}), u;
|
|
77636
|
-
},
|
|
77636
|
+
}, b5 = Ue(S3, !0), w5 = Ue(S3, !1), k3 = function(r, u, f) {
|
|
77637
77637
|
if (vc(r)) {
|
|
77638
77638
|
var p = j_(r, u).getOrThunk(function() {
|
|
77639
77639
|
var _ = r.selection.getRng();
|
|
@@ -77657,16 +77657,16 @@ Required: ` + u.join(", "));
|
|
|
77657
77657
|
return C.isEqual(_);
|
|
77658
77658
|
});
|
|
77659
77659
|
}).getOr(!0);
|
|
77660
|
-
},
|
|
77660
|
+
}, C5 = function(r, u) {
|
|
77661
77661
|
return function(f) {
|
|
77662
77662
|
return U6(u, f).exists(function(p) {
|
|
77663
77663
|
return x3(r, p), !0;
|
|
77664
77664
|
});
|
|
77665
77665
|
};
|
|
77666
|
-
},
|
|
77666
|
+
}, x5 = function(r, u, f, p) {
|
|
77667
77667
|
var _ = r.getBody(), C = Ue(Em, r);
|
|
77668
77668
|
r.undoManager.ignore(function() {
|
|
77669
|
-
r.selection.setRng(G_(f, p)), r.execCommand("Delete"), fd(C, _, un.fromRangeStart(r.selection.getRng())).map(Wg).map(
|
|
77669
|
+
r.selection.setRng(G_(f, p)), r.execCommand("Delete"), fd(C, _, un.fromRangeStart(r.selection.getRng())).map(Wg).map(C5(r, u));
|
|
77670
77670
|
}), r.nodeChanged();
|
|
77671
77671
|
}, qg = function(r, u) {
|
|
77672
77672
|
var f = Yf(u, r);
|
|
@@ -77675,7 +77675,7 @@ Required: ` + u.join(", "));
|
|
|
77675
77675
|
var _ = qg(r.getBody(), p.container()), C = Ue(Em, r), A = fd(C, _, p);
|
|
77676
77676
|
return A.bind(function(P) {
|
|
77677
77677
|
return f ? P.fold(Fe(me.some(Wg(P))), me.none, Fe(me.some(Tm(P))), me.none) : P.fold(me.none, Fe(me.some(Tm(P))), me.none, Fe(me.some(Wg(P))));
|
|
77678
|
-
}).map(
|
|
77678
|
+
}).map(C5(r, u)).getOrThunk(function() {
|
|
77679
77679
|
var P = vv(f, _, p), M = P.bind(function(X) {
|
|
77680
77680
|
return fd(C, _, X);
|
|
77681
77681
|
});
|
|
@@ -77686,7 +77686,7 @@ Required: ` + u.join(", "));
|
|
|
77686
77686
|
}).orThunk(function() {
|
|
77687
77687
|
return M.bind(function(X) {
|
|
77688
77688
|
return P.map(function(ie) {
|
|
77689
|
-
return f ?
|
|
77689
|
+
return f ? x5(r, u, p, ie) : x5(r, u, ie, p), !0;
|
|
77690
77690
|
});
|
|
77691
77691
|
});
|
|
77692
77692
|
}).getOr(!1);
|
|
@@ -77718,7 +77718,7 @@ Required: ` + u.join(", "));
|
|
|
77718
77718
|
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), _ = Pt(OD(f, p), Z6);
|
|
77719
77719
|
return nr(_).exists(function(C) {
|
|
77720
77720
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77721
|
-
return
|
|
77721
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, _), !0) : !1;
|
|
77722
77722
|
});
|
|
77723
77723
|
}, hd = function(r, u) {
|
|
77724
77724
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77745,11 +77745,11 @@ Required: ` + u.join(", "));
|
|
|
77745
77745
|
}, tx = function(r) {
|
|
77746
77746
|
var u = parseInt(r, 10);
|
|
77747
77747
|
return isNaN(u) ? 0 : u;
|
|
77748
|
-
},
|
|
77748
|
+
}, E5 = function(r, u) {
|
|
77749
77749
|
var f = r || Af(u) ? "margin" : "padding", p = Zr(u, "direction") === "rtl" ? "-right" : "-left";
|
|
77750
77750
|
return f + p;
|
|
77751
77751
|
}, $D = function(r, u, f, p, _, C) {
|
|
77752
|
-
var A =
|
|
77752
|
+
var A = E5(f, be.fromDom(C));
|
|
77753
77753
|
if (u === "outdent") {
|
|
77754
77754
|
var P = Math.max(0, tx(C.style[A]) - p);
|
|
77755
77755
|
r.setStyle(C, A, P ? P + _ : "");
|
|
@@ -77757,14 +77757,14 @@ Required: ` + u.join(", "));
|
|
|
77757
77757
|
var P = tx(C.style[A]) + p + _;
|
|
77758
77758
|
r.setStyle(C, A, P);
|
|
77759
77759
|
}
|
|
77760
|
-
},
|
|
77760
|
+
}, S5 = function(r, u) {
|
|
77761
77761
|
return ct(u, function(f) {
|
|
77762
|
-
var p =
|
|
77762
|
+
var p = E5(Kd(r), f), _ = ea(f, p).map(tx).getOr(0), C = r.dom.getContentEditable(f.dom);
|
|
77763
77763
|
return C !== "false" && _ > 0;
|
|
77764
77764
|
});
|
|
77765
|
-
},
|
|
77765
|
+
}, k5 = function(r) {
|
|
77766
77766
|
var u = Kg(r);
|
|
77767
|
-
return !r.mode.isReadOnly() && (u.length > 1 ||
|
|
77767
|
+
return !r.mode.isReadOnly() && (u.length > 1 || S5(r, u));
|
|
77768
77768
|
}, zv = function(r) {
|
|
77769
77769
|
return ts(r) || pp(r);
|
|
77770
77770
|
}, FD = function(r) {
|
|
@@ -77779,7 +77779,7 @@ Required: ` + u.join(", "));
|
|
|
77779
77779
|
$D(f, u, M, P, A, ie.dom);
|
|
77780
77780
|
});
|
|
77781
77781
|
}, T3 = function(r, u) {
|
|
77782
|
-
if (r.selection.isCollapsed() &&
|
|
77782
|
+
if (r.selection.isCollapsed() && k5(r)) {
|
|
77783
77783
|
var f = r.dom, p = r.selection.getRng(), _ = un.fromRangeStart(p), C = f.getParent(p.startContainer, f.isBlock);
|
|
77784
77784
|
if (C !== null && sf(be.fromDom(C), _))
|
|
77785
77785
|
return nx(r, "outdent"), !0;
|
|
@@ -77835,7 +77835,7 @@ Required: ` + u.join(", "));
|
|
|
77835
77835
|
}), r.addCommand("forwardDelete", function() {
|
|
77836
77836
|
LD(r, u);
|
|
77837
77837
|
});
|
|
77838
|
-
}, A3 = 5, zD = 400,
|
|
77838
|
+
}, A3 = 5, zD = 400, T5 = function(r) {
|
|
77839
77839
|
return r.touches === void 0 || r.touches.length !== 1 ? me.none() : me.some(r.touches[0]);
|
|
77840
77840
|
}, HD = function(r, u) {
|
|
77841
77841
|
var f = Math.abs(r.clientX - u.x), p = Math.abs(r.clientY - u.y);
|
|
@@ -77845,7 +77845,7 @@ Required: ` + u.join(", "));
|
|
|
77845
77845
|
r.fire("longpress", gr(gr({}, _), { type: "longpress" })), f.set(!0);
|
|
77846
77846
|
}, zD);
|
|
77847
77847
|
r.on("touchstart", function(_) {
|
|
77848
|
-
|
|
77848
|
+
T5(_).each(function(C) {
|
|
77849
77849
|
p.cancel();
|
|
77850
77850
|
var A = {
|
|
77851
77851
|
x: C.clientX,
|
|
@@ -77855,7 +77855,7 @@ Required: ` + u.join(", "));
|
|
|
77855
77855
|
p.throttle(_), f.set(!1), u.set(me.some(A));
|
|
77856
77856
|
});
|
|
77857
77857
|
}, !0), r.on("touchmove", function(_) {
|
|
77858
|
-
p.cancel(),
|
|
77858
|
+
p.cancel(), T5(_).each(function(C) {
|
|
77859
77859
|
u.get().each(function(A) {
|
|
77860
77860
|
HD(C, A) && (u.set(me.none()), f.set(!1), r.fire("longpresscancel"));
|
|
77861
77861
|
});
|
|
@@ -77909,21 +77909,21 @@ Required: ` + u.join(", "));
|
|
|
77909
77909
|
});
|
|
77910
77910
|
}, JD = function(r) {
|
|
77911
77911
|
r.selection.setRng(r.selection.getRng());
|
|
77912
|
-
},
|
|
77912
|
+
}, N5 = function(r, u) {
|
|
77913
77913
|
u.hasAttribute("data-mce-caret") && (Jm(u), JD(r), r.selection.scrollIntoView(u));
|
|
77914
|
-
},
|
|
77914
|
+
}, A5 = function(r, u) {
|
|
77915
77915
|
var f = XD(r);
|
|
77916
77916
|
if (f) {
|
|
77917
77917
|
if (u.type === "compositionstart") {
|
|
77918
|
-
u.preventDefault(), u.stopPropagation(),
|
|
77918
|
+
u.preventDefault(), u.stopPropagation(), N5(r, f);
|
|
77919
77919
|
return;
|
|
77920
77920
|
}
|
|
77921
|
-
Ys(f) && (
|
|
77921
|
+
Ys(f) && (N5(r, f), r.undoManager.add());
|
|
77922
77922
|
}
|
|
77923
77923
|
}, ZD = function(r) {
|
|
77924
|
-
r.on("keyup compositionstart", Ue(
|
|
77924
|
+
r.on("keyup compositionstart", Ue(A5, r));
|
|
77925
77925
|
}, rx = xa, QD = function(r, u, f) {
|
|
77926
|
-
return
|
|
77926
|
+
return m5(u, r, f, Yo, Xo, rx);
|
|
77927
77927
|
}, eO = function(r, u, f) {
|
|
77928
77928
|
var p = function(C) {
|
|
77929
77929
|
return Yo(C) || zr(C);
|
|
@@ -77934,7 +77934,7 @@ Required: ` + u.join(", "));
|
|
|
77934
77934
|
}, tO = function(r) {
|
|
77935
77935
|
var u = r.dom.create(Oi(r));
|
|
77936
77936
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
77937
|
-
},
|
|
77937
|
+
}, I5 = function(r, u, f) {
|
|
77938
77938
|
var p = Mu(r.getBody()), _ = Ue(z1, u === 1 ? p.next : p.prev);
|
|
77939
77939
|
if (f.collapsed && p2(r)) {
|
|
77940
77940
|
var C = r.dom.getParent(f.startContainer, "PRE");
|
|
@@ -77949,56 +77949,56 @@ Required: ` + u.join(", "));
|
|
|
77949
77949
|
}, nO = function(r, u) {
|
|
77950
77950
|
var f = u ? Bi.Forwards : Bi.Backwards, p = r.selection.getRng();
|
|
77951
77951
|
return QD(f, r, p).orThunk(function() {
|
|
77952
|
-
return
|
|
77952
|
+
return I5(r, f, p), me.none();
|
|
77953
77953
|
});
|
|
77954
77954
|
}, rO = function(r, u) {
|
|
77955
77955
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
77956
77956
|
return eO(f, r, p).orThunk(function() {
|
|
77957
|
-
return
|
|
77957
|
+
return I5(r, f, p), me.none();
|
|
77958
77958
|
});
|
|
77959
|
-
},
|
|
77959
|
+
}, D5 = function(r, u) {
|
|
77960
77960
|
return nO(r, u).exists(function(f) {
|
|
77961
77961
|
return di(r, f), !0;
|
|
77962
77962
|
});
|
|
77963
|
-
},
|
|
77963
|
+
}, O5 = function(r, u) {
|
|
77964
77964
|
return rO(r, u).exists(function(f) {
|
|
77965
77965
|
return di(r, f), !0;
|
|
77966
77966
|
});
|
|
77967
|
-
},
|
|
77967
|
+
}, B5 = function(r, u) {
|
|
77968
77968
|
var f = u ? Xo : Yo;
|
|
77969
|
-
return
|
|
77969
|
+
return g5(r, u, f);
|
|
77970
77970
|
}, oO = function(r) {
|
|
77971
77971
|
return Re(["figcaption"], si(r));
|
|
77972
|
-
},
|
|
77972
|
+
}, P5 = function(r) {
|
|
77973
77973
|
var u = document.createRange();
|
|
77974
77974
|
return u.setStartBefore(r.dom), u.setEndBefore(r.dom), u;
|
|
77975
|
-
},
|
|
77975
|
+
}, M5 = function(r, u, f) {
|
|
77976
77976
|
f ? Ha(r, u) : Sh(r, u);
|
|
77977
77977
|
}, aO = function(r, u) {
|
|
77978
77978
|
var f = be.fromTag("br");
|
|
77979
|
-
return
|
|
77980
|
-
},
|
|
77979
|
+
return M5(r, f, u), P5(f);
|
|
77980
|
+
}, R5 = function(r, u, f, p) {
|
|
77981
77981
|
var _ = be.fromTag(f), C = be.fromTag("br");
|
|
77982
|
-
return K(_, p), Ha(_, C),
|
|
77982
|
+
return K(_, p), Ha(_, C), M5(r, _, u), P5(C);
|
|
77983
77983
|
}, iO = function(r, u, f, p) {
|
|
77984
|
-
return u === "" ? aO(r, p) :
|
|
77984
|
+
return u === "" ? aO(r, p) : R5(r, p, u, f);
|
|
77985
77985
|
}, lO = function(r, u) {
|
|
77986
77986
|
var f = Ue(yo, u);
|
|
77987
77987
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
77988
|
-
}, $
|
|
77989
|
-
return u ? j6(r.dom, f) :
|
|
77990
|
-
},
|
|
77988
|
+
}, $5 = function(r, u, f) {
|
|
77989
|
+
return u ? j6(r.dom, f) : a5(r.dom, f);
|
|
77990
|
+
}, F5 = function(r, u) {
|
|
77991
77991
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), _ = Oi(r), C = iv(r);
|
|
77992
77992
|
return lO(p, f).exists(function() {
|
|
77993
|
-
if ($
|
|
77993
|
+
if ($5(f, u, p)) {
|
|
77994
77994
|
var A = iO(f, _, C, u);
|
|
77995
77995
|
return r.selection.setRng(A), !0;
|
|
77996
77996
|
} else
|
|
77997
77997
|
return !1;
|
|
77998
77998
|
});
|
|
77999
77999
|
}, K_ = function(r, u) {
|
|
78000
|
-
return r.selection.isCollapsed() ?
|
|
78001
|
-
},
|
|
78000
|
+
return r.selection.isCollapsed() ? F5(r, u) : !1;
|
|
78001
|
+
}, V5 = function(r) {
|
|
78002
78002
|
return ne(r, function(u) {
|
|
78003
78003
|
return gr({
|
|
78004
78004
|
shiftKey: !1,
|
|
@@ -78012,7 +78012,7 @@ Required: ` + u.join(", "));
|
|
|
78012
78012
|
}, ox = function(r, u) {
|
|
78013
78013
|
return u.keyCode === r.keyCode && u.shiftKey === r.shiftKey && u.altKey === r.altKey && u.ctrlKey === r.ctrlKey && u.metaKey === r.metaKey;
|
|
78014
78014
|
}, ax = function(r, u) {
|
|
78015
|
-
return He(
|
|
78015
|
+
return He(V5(r), function(f) {
|
|
78016
78016
|
return ox(f, u) ? [f] : [];
|
|
78017
78017
|
});
|
|
78018
78018
|
}, Eo = function(r) {
|
|
@@ -78027,7 +78027,7 @@ Required: ` + u.join(", "));
|
|
|
78027
78027
|
});
|
|
78028
78028
|
}, ix = function(r, u) {
|
|
78029
78029
|
var f = u ? Bi.Forwards : Bi.Backwards, p = r.selection.getRng();
|
|
78030
|
-
return
|
|
78030
|
+
return m5(r, f, p, Cr, uo, es).exists(function(_) {
|
|
78031
78031
|
return di(r, _), !0;
|
|
78032
78032
|
});
|
|
78033
78033
|
}, Im = function(r, u) {
|
|
@@ -78037,7 +78037,7 @@ Required: ` + u.join(", "));
|
|
|
78037
78037
|
});
|
|
78038
78038
|
}, lx = function(r, u) {
|
|
78039
78039
|
var f = u ? uo : Cr;
|
|
78040
|
-
return
|
|
78040
|
+
return g5(r, u, f);
|
|
78041
78041
|
}, sx = function(r, u) {
|
|
78042
78042
|
return {
|
|
78043
78043
|
left: r.left - u,
|
|
@@ -78072,7 +78072,7 @@ Required: ` + u.join(", "));
|
|
|
78072
78072
|
return me.some(P < A ? _ : C);
|
|
78073
78073
|
});
|
|
78074
78074
|
}, me.none());
|
|
78075
|
-
},
|
|
78075
|
+
}, L5 = function(r, u, f, p, _) {
|
|
78076
78076
|
var C = ma(be.fromDom(f), "td,th,caption").map(function(P) {
|
|
78077
78077
|
return P.dom;
|
|
78078
78078
|
}), A = Pt(sO(r, C), function(P) {
|
|
@@ -78089,15 +78089,15 @@ Required: ` + u.join(", "));
|
|
|
78089
78089
|
return r.y < u;
|
|
78090
78090
|
}, dO = function(r, u) {
|
|
78091
78091
|
return r.y > u;
|
|
78092
|
-
}, hO = Ue(
|
|
78092
|
+
}, hO = Ue(L5, uO, fO), U5 = Ue(L5, cO, dO), Xg = function(r, u) {
|
|
78093
78093
|
return Zt(u.getClientRects()).bind(function(f) {
|
|
78094
78094
|
return hO(r, f.left, f.top);
|
|
78095
78095
|
}).bind(function(f) {
|
|
78096
|
-
return jg(
|
|
78096
|
+
return jg(s5(f), u);
|
|
78097
78097
|
});
|
|
78098
78098
|
}, vO = function(r, u) {
|
|
78099
78099
|
return nr(u.getClientRects()).bind(function(f) {
|
|
78100
|
-
return
|
|
78100
|
+
return U5(r, f.left, f.top);
|
|
78101
78101
|
}).bind(function(f) {
|
|
78102
78102
|
return jg(gD(f), u);
|
|
78103
78103
|
});
|
|
@@ -78107,17 +78107,17 @@ Required: ` + u.join(", "));
|
|
|
78107
78107
|
});
|
|
78108
78108
|
}, pO = function(r) {
|
|
78109
78109
|
return r.breakType === dd.Wrap && r.positions.length === 0;
|
|
78110
|
-
},
|
|
78110
|
+
}, z5 = function(r) {
|
|
78111
78111
|
return r.breakType === dd.Br && r.positions.length === 1;
|
|
78112
78112
|
}, fx = function(r, u, f) {
|
|
78113
78113
|
var p = r(u, f);
|
|
78114
|
-
return pO(p) || !ei(f.getNode()) &&
|
|
78115
|
-
},
|
|
78114
|
+
return pO(p) || !ei(f.getNode()) && z5(p) ? !cx(r, u, p) : p.breakAt.isNone();
|
|
78115
|
+
}, H5 = Ue(fx, Nm), W5 = Ue(fx, W_), dx = function(r, u, f) {
|
|
78116
78116
|
var p = un.fromRangeStart(u);
|
|
78117
78117
|
return nh(!r, f).exists(function(_) {
|
|
78118
78118
|
return _.isEqual(p);
|
|
78119
78119
|
});
|
|
78120
|
-
},
|
|
78120
|
+
}, j5 = function(r, u, f, p) {
|
|
78121
78121
|
var _ = r.selection.getRng(), C = u ? 1 : -1;
|
|
78122
78122
|
return b2() && dx(u, _, f) ? (_h(C, r, f, !u, !1).each(function(A) {
|
|
78123
78123
|
di(r, A);
|
|
@@ -78125,13 +78125,13 @@ Required: ` + u.join(", "));
|
|
|
78125
78125
|
}, mO = function(r, u, f) {
|
|
78126
78126
|
return Xg(u, f).orThunk(function() {
|
|
78127
78127
|
return Zt(f.getClientRects()).bind(function(p) {
|
|
78128
|
-
return su(
|
|
78128
|
+
return su(i5(r, un.before(u)), p.left);
|
|
78129
78129
|
});
|
|
78130
78130
|
}).getOr(un.before(u));
|
|
78131
78131
|
}, gO = function(r, u, f) {
|
|
78132
78132
|
return vO(u, f).orThunk(function() {
|
|
78133
78133
|
return Zt(f.getClientRects()).bind(function(p) {
|
|
78134
|
-
return su(
|
|
78134
|
+
return su(l5(r, un.after(u)), p.left);
|
|
78135
78135
|
});
|
|
78136
78136
|
}).getOr(un.after(u));
|
|
78137
78137
|
}, Y_ = function(r, u) {
|
|
@@ -78145,7 +78145,7 @@ Required: ` + u.join(", "));
|
|
|
78145
78145
|
var A = u.dom.createRng();
|
|
78146
78146
|
A.setStart(C.dom, 0), A.setEnd(C.dom, 0), di(u, A);
|
|
78147
78147
|
}) : di(u, p.toRange());
|
|
78148
|
-
},
|
|
78148
|
+
}, G5 = function(r, u, f) {
|
|
78149
78149
|
var p = Y_(!!u, f), _ = u === !1;
|
|
78150
78150
|
p.fold(function() {
|
|
78151
78151
|
return di(r, f.toRange());
|
|
@@ -78160,12 +78160,12 @@ Required: ` + u.join(", "));
|
|
|
78160
78160
|
});
|
|
78161
78161
|
}, yO = function(r, u, f, p) {
|
|
78162
78162
|
var _ = r.selection.getRng(), C = un.fromRangeStart(_), A = r.getBody();
|
|
78163
|
-
if (!u &&
|
|
78163
|
+
if (!u && H5(p, C)) {
|
|
78164
78164
|
var P = mO(A, f, C);
|
|
78165
|
-
return
|
|
78166
|
-
} else if (u &&
|
|
78165
|
+
return G5(r, u, P), !0;
|
|
78166
|
+
} else if (u && W5(p, C)) {
|
|
78167
78167
|
var P = gO(A, f, C);
|
|
78168
|
-
return
|
|
78168
|
+
return G5(r, u, P), !0;
|
|
78169
78169
|
} else
|
|
78170
78170
|
return !1;
|
|
78171
78171
|
}, hx = function(r, u, f) {
|
|
@@ -78174,44 +78174,44 @@ Required: ` + u.join(", "));
|
|
|
78174
78174
|
return f(r, u, _, p);
|
|
78175
78175
|
});
|
|
78176
78176
|
}).getOr(!1);
|
|
78177
|
-
},
|
|
78178
|
-
return hx(r, u,
|
|
78179
|
-
},
|
|
78177
|
+
}, q5 = function(r, u) {
|
|
78178
|
+
return hx(r, u, j5);
|
|
78179
|
+
}, K5 = function(r, u) {
|
|
78180
78180
|
return hx(r, u, yO);
|
|
78181
78181
|
}, uu = function(r, u, f) {
|
|
78182
78182
|
var p = Wr().os;
|
|
78183
78183
|
Yg([
|
|
78184
78184
|
{
|
|
78185
78185
|
keyCode: Pr.RIGHT,
|
|
78186
|
-
action: Eo(
|
|
78186
|
+
action: Eo(D5, r, !0)
|
|
78187
78187
|
},
|
|
78188
78188
|
{
|
|
78189
78189
|
keyCode: Pr.LEFT,
|
|
78190
|
-
action: Eo(
|
|
78190
|
+
action: Eo(D5, r, !1)
|
|
78191
78191
|
},
|
|
78192
78192
|
{
|
|
78193
78193
|
keyCode: Pr.UP,
|
|
78194
|
-
action: Eo(
|
|
78194
|
+
action: Eo(O5, r, !1)
|
|
78195
78195
|
},
|
|
78196
78196
|
{
|
|
78197
78197
|
keyCode: Pr.DOWN,
|
|
78198
|
-
action: Eo(
|
|
78198
|
+
action: Eo(O5, r, !0)
|
|
78199
78199
|
},
|
|
78200
78200
|
{
|
|
78201
78201
|
keyCode: Pr.RIGHT,
|
|
78202
|
-
action: Eo(
|
|
78202
|
+
action: Eo(q5, r, !0)
|
|
78203
78203
|
},
|
|
78204
78204
|
{
|
|
78205
78205
|
keyCode: Pr.LEFT,
|
|
78206
|
-
action: Eo(
|
|
78206
|
+
action: Eo(q5, r, !1)
|
|
78207
78207
|
},
|
|
78208
78208
|
{
|
|
78209
78209
|
keyCode: Pr.UP,
|
|
78210
|
-
action: Eo(
|
|
78210
|
+
action: Eo(K5, r, !1)
|
|
78211
78211
|
},
|
|
78212
78212
|
{
|
|
78213
78213
|
keyCode: Pr.DOWN,
|
|
78214
|
-
action: Eo(
|
|
78214
|
+
action: Eo(K5, r, !0)
|
|
78215
78215
|
},
|
|
78216
78216
|
{
|
|
78217
78217
|
keyCode: Pr.RIGHT,
|
|
@@ -78241,13 +78241,13 @@ Required: ` + u.join(", "));
|
|
|
78241
78241
|
keyCode: Pr.RIGHT,
|
|
78242
78242
|
ctrlKey: !p.isOSX(),
|
|
78243
78243
|
altKey: p.isOSX(),
|
|
78244
|
-
action: Eo(
|
|
78244
|
+
action: Eo(b5, r, u)
|
|
78245
78245
|
},
|
|
78246
78246
|
{
|
|
78247
78247
|
keyCode: Pr.LEFT,
|
|
78248
78248
|
ctrlKey: !p.isOSX(),
|
|
78249
78249
|
altKey: p.isOSX(),
|
|
78250
|
-
action: Eo(
|
|
78250
|
+
action: Eo(w5, r, u)
|
|
78251
78251
|
},
|
|
78252
78252
|
{
|
|
78253
78253
|
keyCode: Pr.UP,
|
|
@@ -78345,7 +78345,7 @@ Required: ` + u.join(", "));
|
|
|
78345
78345
|
], f).each(function(p) {
|
|
78346
78346
|
f.preventDefault();
|
|
78347
78347
|
});
|
|
78348
|
-
},
|
|
78348
|
+
}, Y5 = function(r, u) {
|
|
78349
78349
|
Yg([
|
|
78350
78350
|
{
|
|
78351
78351
|
keyCode: Pr.BACKSPACE,
|
|
@@ -78360,7 +78360,7 @@ Required: ` + u.join(", "));
|
|
|
78360
78360
|
r.on("keydown", function(f) {
|
|
78361
78361
|
f.isDefaultPrevented() === !1 && vx(r, u, f);
|
|
78362
78362
|
}), r.on("keyup", function(f) {
|
|
78363
|
-
f.isDefaultPrevented() === !1 &&
|
|
78363
|
+
f.isDefaultPrevented() === !1 && Y5(r, f);
|
|
78364
78364
|
});
|
|
78365
78365
|
}, wO = function(r) {
|
|
78366
78366
|
for (; r; ) {
|
|
@@ -78393,7 +78393,7 @@ Required: ` + u.join(", "));
|
|
|
78393
78393
|
ei(u) ? u.nextSibling && _.isBlock(u.nextSibling) ? (P.setStartBefore(u), P.setEndBefore(u)) : (P.setStartAfter(u), P.setEndAfter(u)) : (P.setStart(u, 0), P.setEnd(u, 0));
|
|
78394
78394
|
r.selection.setRng(P), Tv(r, P);
|
|
78395
78395
|
}
|
|
78396
|
-
},
|
|
78396
|
+
}, X5 = function(r, u) {
|
|
78397
78397
|
var f = r.getRoot(), p, _;
|
|
78398
78398
|
for (p = u; p !== f && r.getContentEditable(p) !== "false"; )
|
|
78399
78399
|
r.getContentEditable(p) === "true" && (_ = p), p = p.parentNode;
|
|
@@ -78413,12 +78413,12 @@ Required: ` + u.join(", "));
|
|
|
78413
78413
|
}, SO = function(r) {
|
|
78414
78414
|
var u;
|
|
78415
78415
|
return ((u = r.parentNode) === null || u === void 0 ? void 0 : u.firstChild) === r;
|
|
78416
|
-
},
|
|
78416
|
+
}, J5 = function(r, u) {
|
|
78417
78417
|
return r && r.parentNode && r.parentNode.nodeName === u;
|
|
78418
|
-
},
|
|
78418
|
+
}, Z5 = function(r) {
|
|
78419
78419
|
return r && /^(OL|UL|LI)$/.test(r.nodeName);
|
|
78420
78420
|
}, kO = function(r) {
|
|
78421
|
-
return
|
|
78421
|
+
return Z5(r) && Z5(r.parentNode);
|
|
78422
78422
|
}, D3 = function(r) {
|
|
78423
78423
|
var u = r.parentNode;
|
|
78424
78424
|
return /^(LI|DT|DD)$/.test(u.nodeName) ? u : r;
|
|
@@ -78432,13 +78432,13 @@ Required: ` + u.join(", "));
|
|
|
78432
78432
|
kO(f) && (_ = "LI");
|
|
78433
78433
|
var P = _ ? u(_) : C.create("BR");
|
|
78434
78434
|
if (Ji(f, p, !0) && Ji(f, p, !1))
|
|
78435
|
-
if (
|
|
78435
|
+
if (J5(f, "LI")) {
|
|
78436
78436
|
var M = D3(f);
|
|
78437
78437
|
C.insertAfter(P, M), SO(f) ? C.remove(M) : C.remove(f);
|
|
78438
78438
|
} else
|
|
78439
78439
|
C.replace(P, f);
|
|
78440
78440
|
else if (Ji(f, p, !0))
|
|
78441
|
-
|
|
78441
|
+
J5(f, "LI") ? (C.insertAfter(P, D3(f)), P.appendChild(C.doc.createTextNode(" ")), P.appendChild(f)) : f.parentNode.insertBefore(P, f), C.remove(p);
|
|
78442
78442
|
else if (Ji(f, p, !1))
|
|
78443
78443
|
C.insertAfter(P, D3(f)), C.remove(p);
|
|
78444
78444
|
else {
|
|
@@ -78485,7 +78485,7 @@ Required: ` + u.join(", "));
|
|
|
78485
78485
|
do
|
|
78486
78486
|
Bn(r) && (r.nodeValue = r.nodeValue.replace(/^[\r\n]+/, "")), r = r.firstChild;
|
|
78487
78487
|
while (r);
|
|
78488
|
-
},
|
|
78488
|
+
}, Q5 = function(r, u) {
|
|
78489
78489
|
var f = r.getRoot(), p, _;
|
|
78490
78490
|
for (p = u; p !== f && r.getContentEditable(p) !== "false"; )
|
|
78491
78491
|
r.getContentEditable(p) === "true" && (_ = p), p = p.parentNode;
|
|
@@ -78523,7 +78523,7 @@ Required: ` + u.join(", "));
|
|
|
78523
78523
|
OO(r, u, p);
|
|
78524
78524
|
}
|
|
78525
78525
|
}, BO = function(r, u, f, p, _) {
|
|
78526
|
-
var C, A, P, M, X, ie, ae = u || "P", se = r.dom, ke =
|
|
78526
|
+
var C, A, P, M, X, ie, ae = u || "P", se = r.dom, ke = Q5(se, p);
|
|
78527
78527
|
if (A = se.getParent(p, se.isBlock), !A || !As(se, A)) {
|
|
78528
78528
|
if (A = A || ke, A === r.getBody() || Ns(A) ? ie = A.nodeName.toLowerCase() : ie = A.parentNode.nodeName.toLowerCase(), !A.hasChildNodes())
|
|
78529
78529
|
return C = se.create(ae), J_(r, C), A.appendChild(C), f.setStart(C, 0), f.setEnd(C, 0), C;
|
|
@@ -78582,7 +78582,7 @@ Required: ` + u.join(", "));
|
|
|
78582
78582
|
}), p = $e.startContainer, _ = $e.startOffset, ie = Oi(r);
|
|
78583
78583
|
var ut = !!(u && u.shiftKey), yt = !!(u && u.ctrlKey);
|
|
78584
78584
|
ro(p) && p.hasChildNodes() && (ae = _ > p.childNodes.length - 1, p = p.childNodes[Math.min(_, p.childNodes.length - 1)] || p, ae && Bn(p) ? _ = p.nodeValue.length : _ = 0);
|
|
78585
|
-
var Mt =
|
|
78585
|
+
var Mt = Q5(se, p);
|
|
78586
78586
|
if (Mt) {
|
|
78587
78587
|
(ie && !ut || !ie && ut) && (p = BO(r, ie, $e, p, _)), C = se.getParent(p, se.isBlock), M = C ? se.getParent(C.parentNode, se.isBlock) : null, X = C ? C.nodeName.toUpperCase() : "";
|
|
78588
78588
|
var hn = M ? M.nodeName.toUpperCase() : "";
|
|
@@ -78677,7 +78677,7 @@ Required: ` + u.join(", "));
|
|
|
78677
78677
|
}, Q_ = function(r, u) {
|
|
78678
78678
|
return u;
|
|
78679
78679
|
}, lT = function(r) {
|
|
78680
|
-
var u = Oi(r), f =
|
|
78680
|
+
var u = Oi(r), f = X5(r.dom, r.selection.getStart());
|
|
78681
78681
|
return f && r.schema.isValidChild(f.nodeName, u || "P");
|
|
78682
78682
|
}, Hu = function(r, u) {
|
|
78683
78683
|
return function(f, p) {
|
|
@@ -78687,7 +78687,7 @@ Required: ` + u.join(", "));
|
|
|
78687
78687
|
return _ ? me.some(u) : me.none();
|
|
78688
78688
|
};
|
|
78689
78689
|
}, sT = function(r, u) {
|
|
78690
|
-
return
|
|
78690
|
+
return Qk([
|
|
78691
78691
|
Hu([HO], cu.none()),
|
|
78692
78692
|
Hu([WO()], cu.br()),
|
|
78693
78693
|
Hu([
|
|
@@ -78747,11 +78747,11 @@ Required: ` + u.join(", "));
|
|
|
78747
78747
|
Yg([
|
|
78748
78748
|
{
|
|
78749
78749
|
keyCode: Pr.END,
|
|
78750
|
-
action: Eo(
|
|
78750
|
+
action: Eo(B5, r, !0)
|
|
78751
78751
|
},
|
|
78752
78752
|
{
|
|
78753
78753
|
keyCode: Pr.HOME,
|
|
78754
|
-
action: Eo(
|
|
78754
|
+
action: Eo(B5, r, !1)
|
|
78755
78755
|
},
|
|
78756
78756
|
{
|
|
78757
78757
|
keyCode: Pr.END,
|
|
@@ -78860,7 +78860,7 @@ Required: ` + u.join(", "));
|
|
|
78860
78860
|
u.isDefaultPrevented() === !1 && o7(r, u);
|
|
78861
78861
|
});
|
|
78862
78862
|
}, dT = function(r) {
|
|
78863
|
-
var u =
|
|
78863
|
+
var u = y5(r);
|
|
78864
78864
|
return ZD(r), bO(r, u), px(r, u), cT(r), a7(r), YO(r), qO(r, u), ZO(r, u), u;
|
|
78865
78865
|
}, i7 = function(r) {
|
|
78866
78866
|
return ja(r) ? Wa(null) : dT(r);
|
|
@@ -79212,7 +79212,7 @@ Required: ` + u.join(", "));
|
|
|
79212
79212
|
}, ot = function() {
|
|
79213
79213
|
r.on("mouseup", function(Gn) {
|
|
79214
79214
|
var ir = Oe();
|
|
79215
|
-
ir.collapsed &&
|
|
79215
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
|
|
79216
79216
|
}), r.on("click", function(Gn) {
|
|
79217
79217
|
var ir = ty(r, Gn.target);
|
|
79218
79218
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79235,7 +79235,7 @@ Required: ` + u.join(", "));
|
|
|
79235
79235
|
Dm(mr) ? (Gn.preventDefault(), km(r, mr).each(Fn)) : ie(ir) && km(r, ir).each(Fn);
|
|
79236
79236
|
}, !0), r.on("mousedown", function(Gn) {
|
|
79237
79237
|
var ir = Gn.target;
|
|
79238
|
-
if (!(ir !== _ && ir.nodeName !== "HTML" && !f.isChildOf(ir, _)) &&
|
|
79238
|
+
if (!(ir !== _ && ir.nodeName !== "HTML" && !f.isChildOf(ir, _)) && ck(r, Gn.clientX, Gn.clientY) !== !1) {
|
|
79239
79239
|
var mr = ty(r, ir);
|
|
79240
79240
|
if (mr)
|
|
79241
79241
|
Dm(mr) ? (Gn.preventDefault(), km(r, mr).each(Fn)) : (Hn(), !(kx(mr) && Gn.shiftKey) && !xv(Gn.clientX, Gn.clientY, u.getRng()) && (xr(), u.placeCaretAt(Gn.clientX, Gn.clientY)));
|
|
@@ -79740,7 +79740,7 @@ Required: ` + u.join(", "));
|
|
|
79740
79740
|
onSetAttrib: function(P) {
|
|
79741
79741
|
r.fire("SetAttrib", P);
|
|
79742
79742
|
}
|
|
79743
|
-
}), 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 =
|
|
79743
|
+
}), 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
79744
|
var A = i7(r);
|
|
79745
79745
|
UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
|
|
79746
79746
|
F3(r);
|
|
@@ -79756,7 +79756,7 @@ Required: ` + u.join(", "));
|
|
|
79756
79756
|
});
|
|
79757
79757
|
}, ny = ua.DOM, U7 = function(r, u) {
|
|
79758
79758
|
if (document.domain !== window.location.hostname && Xr.browser.isIE()) {
|
|
79759
|
-
var f =
|
|
79759
|
+
var f = pk("mce");
|
|
79760
79760
|
r[f] = function() {
|
|
79761
79761
|
V3(r);
|
|
79762
79762
|
};
|
|
@@ -79985,7 +79985,7 @@ Required: ` + u.join(", "));
|
|
|
79985
79985
|
r.resetContent();
|
|
79986
79986
|
}), lC(r) && !C.submit.nodeType && !C.submit.length && !C._mceOldSubmit && (C._mceOldSubmit = C.submit, C.submit = function() {
|
|
79987
79987
|
return r.editorManager.triggerSave(), r.setDirty(!1), C._mceOldSubmit(C);
|
|
79988
|
-
})), r.windowManager =
|
|
79988
|
+
})), r.windowManager = fk(r), r.notificationManager = ff(r), sC(r) && r.on("GetContent", function(A) {
|
|
79989
79989
|
A.save && (A.content = Om.encode(A.content));
|
|
79990
79990
|
}), v2(r) && r.on("submit", function() {
|
|
79991
79991
|
r.initialized && r.save();
|
|
@@ -80360,7 +80360,7 @@ Required: ` + u.join(", "));
|
|
|
80360
80360
|
return f.isFormatMatch("blockquote");
|
|
80361
80361
|
},
|
|
80362
80362
|
Outdent: function() {
|
|
80363
|
-
return
|
|
80363
|
+
return k5(u);
|
|
80364
80364
|
},
|
|
80365
80365
|
"InsertUnorderedList,InsertOrderedList": function(_) {
|
|
80366
80366
|
var C = u.dom.getParent(u.selection.getNode(), "ul,ol");
|
|
@@ -80884,7 +80884,7 @@ Required: ` + u.join(", "));
|
|
|
80884
80884
|
}(), bh = ua.DOM, YT = Ve.extend, Vx = Ve.each, q3 = Ve.resolve, XT = Xr.ie, Pm = function() {
|
|
80885
80885
|
function r(u, f, p) {
|
|
80886
80886
|
var _ = this;
|
|
80887
|
-
this.plugins = {}, this.contentCSS = [], this.contentStyles = [], this.loadedCSS = {}, this.isNotDirty = !1, this.editorManager = p, this.documentBaseUrl = p.documentBaseURL, YT(this, HT), this.settings =
|
|
80887
|
+
this.plugins = {}, this.contentCSS = [], this.contentStyles = [], this.loadedCSS = {}, this.isNotDirty = !1, this.editorManager = p, this.documentBaseUrl = p.documentBaseURL, YT(this, HT), this.settings = ok(this, u, this.documentBaseUrl, p.defaultSettings, f), this.settings.suffix && (p.suffix = this.settings.suffix), this.suffix = p.suffix, this.settings.base_url && p._setBaseUrl(this.settings.base_url), this.baseUri = p.baseURI, this.settings.referrer_policy && (Ya.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy), ua.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)), os.languageLoad = this.settings.language_load, os.baseURL = p.baseURL, this.id = u, this.setDirty(!1), this.documentBaseURI = new qv(this.settings.document_base_url, { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = !!this.settings.inline, this.shortcuts = new KT(this), this.editorCommands = new Bx(this), this.settings.cache_suffix && (Xr.cacheSuffix = this.settings.cache_suffix.replace(/^[\?\&]+/, "")), this.ui = {
|
|
80888
80888
|
registry: kB(),
|
|
80889
80889
|
styleSheetLoader: void 0,
|
|
80890
80890
|
show: ve,
|
|
@@ -81563,10 +81563,10 @@ Required: ` + u.join(", "));
|
|
|
81563
81563
|
Env: Xr,
|
|
81564
81564
|
AddOnManager: os,
|
|
81565
81565
|
Annotator: tg,
|
|
81566
|
-
Formatter:
|
|
81567
|
-
UndoManager:
|
|
81566
|
+
Formatter: wk,
|
|
81567
|
+
UndoManager: Ck,
|
|
81568
81568
|
EditorCommands: Bx,
|
|
81569
|
-
WindowManager:
|
|
81569
|
+
WindowManager: fk,
|
|
81570
81570
|
NotificationManager: ff,
|
|
81571
81571
|
EditorObservable: HT,
|
|
81572
81572
|
Shortcuts: KT,
|
|
@@ -91695,7 +91695,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91695
91695
|
Gr
|
|
91696
91696
|
]),
|
|
91697
91697
|
Ot("selectOnFocus", !0)
|
|
91698
|
-
]),
|
|
91698
|
+
]), ek = function(a) {
|
|
91699
91699
|
return Mn([Gr.config({
|
|
91700
91700
|
onFocus: a.selectOnFocus ? function(c) {
|
|
91701
91701
|
var v = c.element, b = $f(v);
|
|
@@ -91703,7 +91703,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91703
91703
|
} : R
|
|
91704
91704
|
})]);
|
|
91705
91705
|
}, v9 = function(a) {
|
|
91706
|
-
return ve(ve({},
|
|
91706
|
+
return ve(ve({}, ek(a)), fi(a.inputBehaviours, [or.config({
|
|
91707
91707
|
store: ve(ve({ mode: "manual" }, a.data.map(function(c) {
|
|
91708
91708
|
return { initialValue: c };
|
|
91709
91709
|
}).getOr({})), {
|
|
@@ -91717,7 +91717,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91717
91717
|
}),
|
|
91718
91718
|
onSetValue: a.onSetValue
|
|
91719
91719
|
})]));
|
|
91720
|
-
},
|
|
91720
|
+
}, tk = function(a) {
|
|
91721
91721
|
return {
|
|
91722
91722
|
tag: a.tag,
|
|
91723
91723
|
attributes: ve({ type: "text" }, a.inputAttributes),
|
|
@@ -91727,7 +91727,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91727
91727
|
}, p9 = function(a, c) {
|
|
91728
91728
|
return {
|
|
91729
91729
|
uid: a.uid,
|
|
91730
|
-
dom:
|
|
91730
|
+
dom: tk(a),
|
|
91731
91731
|
components: [],
|
|
91732
91732
|
behaviours: v9(a),
|
|
91733
91733
|
eventOrder: a.eventOrder
|
|
@@ -91736,7 +91736,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91736
91736
|
name: "Input",
|
|
91737
91737
|
configFields: QS(),
|
|
91738
91738
|
factory: p9
|
|
91739
|
-
}),
|
|
91739
|
+
}), nk = {}, rk = { exports: nk };
|
|
91740
91740
|
(function(a, c, v, b) {
|
|
91741
91741
|
(function(x) {
|
|
91742
91742
|
if (typeof c == "object" && typeof v < "u")
|
|
@@ -92072,8 +92072,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92072
92072
|
]
|
|
92073
92073
|
}, {}, [4])(4);
|
|
92074
92074
|
});
|
|
92075
|
-
})(void 0,
|
|
92076
|
-
var
|
|
92075
|
+
})(void 0, nk, rk, void 0);
|
|
92076
|
+
var ok = rk.exports.boltExport, gh = function(a) {
|
|
92077
92077
|
var c = U.none(), v = [], b = function(G) {
|
|
92078
92078
|
return gh(function(Z) {
|
|
92079
92079
|
x(function(ee) {
|
|
@@ -92149,36 +92149,36 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92149
92149
|
};
|
|
92150
92150
|
}, Q4 = function(a) {
|
|
92151
92151
|
return Fg(function() {
|
|
92152
|
-
return new
|
|
92152
|
+
return new ok(a);
|
|
92153
92153
|
});
|
|
92154
|
-
},
|
|
92154
|
+
}, ak = function(a) {
|
|
92155
92155
|
return Fg(function() {
|
|
92156
|
-
return
|
|
92156
|
+
return ok.resolve(a);
|
|
92157
92157
|
});
|
|
92158
92158
|
}, sl = {
|
|
92159
92159
|
nu: Q4,
|
|
92160
|
-
pure:
|
|
92160
|
+
pure: ak
|
|
92161
92161
|
}, y9 = [
|
|
92162
92162
|
"input",
|
|
92163
92163
|
"textarea"
|
|
92164
|
-
],
|
|
92164
|
+
], ik = function(a) {
|
|
92165
92165
|
var c = bs(a);
|
|
92166
92166
|
return Le(y9, c);
|
|
92167
|
-
},
|
|
92167
|
+
}, lk = function(a, c) {
|
|
92168
92168
|
var v = c.getRoot(a).getOr(a.element);
|
|
92169
92169
|
Sa(v, c.invalidClass), c.notify.each(function(b) {
|
|
92170
|
-
|
|
92170
|
+
ik(a.element) && Bo(a.element, "aria-invalid", !1), b.getContainer(a).each(function(x) {
|
|
92171
92171
|
Df(x, b.validHtml);
|
|
92172
92172
|
}), b.onValid(a);
|
|
92173
92173
|
});
|
|
92174
|
-
},
|
|
92174
|
+
}, sk = function(a, c, v, b) {
|
|
92175
92175
|
var x = c.getRoot(a).getOr(a.element);
|
|
92176
92176
|
ta(x, c.invalidClass), c.notify.each(function(N) {
|
|
92177
|
-
|
|
92177
|
+
ik(a.element) && Bo(a.element, "aria-invalid", !0), N.getContainer(a).each(function(D) {
|
|
92178
92178
|
Df(D, b);
|
|
92179
92179
|
}), N.onInvalid(a, b);
|
|
92180
92180
|
});
|
|
92181
|
-
},
|
|
92181
|
+
}, uk = function(a, c, v) {
|
|
92182
92182
|
return c.validator.fold(function() {
|
|
92183
92183
|
return sl.pure(Zt.value(!0));
|
|
92184
92184
|
}, function(b) {
|
|
@@ -92187,21 +92187,21 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92187
92187
|
}, S6 = function(a, c, v) {
|
|
92188
92188
|
return c.notify.each(function(b) {
|
|
92189
92189
|
b.onValidate(a);
|
|
92190
|
-
}),
|
|
92190
|
+
}), uk(a, c).map(function(b) {
|
|
92191
92191
|
return a.getSystem().isConnected() ? b.fold(function(x) {
|
|
92192
|
-
return
|
|
92192
|
+
return sk(a, c, v, x), Zt.error(x);
|
|
92193
92193
|
}, function(x) {
|
|
92194
|
-
return
|
|
92194
|
+
return lk(a, c), Zt.value(x);
|
|
92195
92195
|
}) : Zt.error("No longer in system");
|
|
92196
92196
|
});
|
|
92197
92197
|
}, b9 = function(a, c) {
|
|
92198
92198
|
var v = c.getRoot(a).getOr(a.element);
|
|
92199
92199
|
return gi(v, c.invalidClass);
|
|
92200
|
-
},
|
|
92200
|
+
}, ck = /* @__PURE__ */ Object.freeze({
|
|
92201
92201
|
__proto__: null,
|
|
92202
|
-
markValid:
|
|
92203
|
-
markInvalid:
|
|
92204
|
-
query:
|
|
92202
|
+
markValid: lk,
|
|
92203
|
+
markInvalid: sk,
|
|
92204
|
+
query: uk,
|
|
92205
92205
|
run: S6,
|
|
92206
92206
|
isInvalid: b9
|
|
92207
92207
|
}), w9 = function(a, c) {
|
|
@@ -92235,7 +92235,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92235
92235
|
fields: x9,
|
|
92236
92236
|
name: "invalidating",
|
|
92237
92237
|
active: C9,
|
|
92238
|
-
apis:
|
|
92238
|
+
apis: ck,
|
|
92239
92239
|
extra: {
|
|
92240
92240
|
validation: function(a) {
|
|
92241
92241
|
return function(c) {
|
|
@@ -92249,7 +92249,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92249
92249
|
}, $v = /* @__PURE__ */ Object.freeze({
|
|
92250
92250
|
__proto__: null,
|
|
92251
92251
|
getCoupled: df
|
|
92252
|
-
}), E9 = [$n("others", Gu(Zt.value, de()))],
|
|
92252
|
+
}), E9 = [$n("others", Gu(Zt.value, de()))], fk = function() {
|
|
92253
92253
|
var a = {}, c = function(b, x, N) {
|
|
92254
92254
|
var D = Ir(x.others);
|
|
92255
92255
|
if (D)
|
|
@@ -92263,16 +92263,16 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92263
92263
|
readState: v,
|
|
92264
92264
|
getOrCreate: c
|
|
92265
92265
|
});
|
|
92266
|
-
},
|
|
92266
|
+
}, dk = /* @__PURE__ */ Object.freeze({
|
|
92267
92267
|
__proto__: null,
|
|
92268
|
-
init:
|
|
92268
|
+
init: fk
|
|
92269
92269
|
}), Ga = Fa({
|
|
92270
92270
|
fields: E9,
|
|
92271
92271
|
name: "coupling",
|
|
92272
92272
|
apis: $v,
|
|
92273
|
-
state:
|
|
92274
|
-
}),
|
|
92275
|
-
name:
|
|
92273
|
+
state: dk
|
|
92274
|
+
}), hk = V("sink"), e3 = V(nu({
|
|
92275
|
+
name: hk(),
|
|
92276
92276
|
overrides: V({
|
|
92277
92277
|
dom: { tag: "div" },
|
|
92278
92278
|
behaviours: Mn([Sl.config({ useFixed: Pe })]),
|
|
@@ -92306,7 +92306,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92306
92306
|
var b = a.fetch;
|
|
92307
92307
|
return b(v).map(c);
|
|
92308
92308
|
}, k9 = function(a, c, v, b, x, N, D) {
|
|
92309
|
-
var F = S9(a, c, b), L =
|
|
92309
|
+
var F = S9(a, c, b), L = vk(b, a);
|
|
92310
92310
|
return F.map(function(G) {
|
|
92311
92311
|
return G.bind(function(Z) {
|
|
92312
92312
|
return U.from(hm.sketch(ve(ve({}, N.menu()), {
|
|
@@ -92356,8 +92356,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92356
92356
|
}, T9 = function(a, c, v) {
|
|
92357
92357
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
92358
92358
|
v ? eo(b.element, "min-width", x + "px") : Ny(b.element, x);
|
|
92359
|
-
},
|
|
92360
|
-
return a.getSystem().getByUid(c.uid + "-" +
|
|
92359
|
+
}, vk = function(a, c) {
|
|
92360
|
+
return a.getSystem().getByUid(c.uid + "-" + hk()).map(function(v) {
|
|
92361
92361
|
return function() {
|
|
92362
92362
|
return Zt.value(v);
|
|
92363
92363
|
};
|
|
@@ -92382,7 +92382,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92382
92382
|
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);
|
|
92383
92383
|
}, N = function(F, L) {
|
|
92384
92384
|
b.unlink(c.element), v !== void 0 && v.onClose !== void 0 && v.onClose(F, L);
|
|
92385
|
-
}, D =
|
|
92385
|
+
}, D = vk(c, a);
|
|
92386
92386
|
return {
|
|
92387
92387
|
dom: {
|
|
92388
92388
|
tag: "div",
|
|
@@ -92452,7 +92452,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92452
92452
|
Ot("matchWidth", !1),
|
|
92453
92453
|
Ot("useMinWidth", !1),
|
|
92454
92454
|
Do("role")
|
|
92455
|
-
].concat(I6())),
|
|
92455
|
+
].concat(I6())), pk = V([
|
|
92456
92456
|
tu({
|
|
92457
92457
|
schema: [zf()],
|
|
92458
92458
|
name: "menu",
|
|
@@ -92557,7 +92557,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92557
92557
|
}, Nc = kl({
|
|
92558
92558
|
name: "Dropdown",
|
|
92559
92559
|
configFields: N9(),
|
|
92560
|
-
partFields:
|
|
92560
|
+
partFields: pk(),
|
|
92561
92561
|
factory: A9,
|
|
92562
92562
|
apis: {
|
|
92563
92563
|
open: function(a, c) {
|
|
@@ -92576,7 +92576,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92576
92576
|
return a.repositionMenus(c);
|
|
92577
92577
|
}
|
|
92578
92578
|
}
|
|
92579
|
-
}),
|
|
92579
|
+
}), mk = function() {
|
|
92580
92580
|
return Vs({
|
|
92581
92581
|
styles: {
|
|
92582
92582
|
"-webkit-user-select": "none",
|
|
@@ -92586,12 +92586,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92586
92586
|
},
|
|
92587
92587
|
attributes: { unselectable: "on" }
|
|
92588
92588
|
});
|
|
92589
|
-
},
|
|
92589
|
+
}, gk = function() {
|
|
92590
92590
|
return Oo([Ym(uw(), Pe)]);
|
|
92591
92591
|
}, I9 = /* @__PURE__ */ Object.freeze({
|
|
92592
92592
|
__proto__: null,
|
|
92593
|
-
events:
|
|
92594
|
-
exhibit:
|
|
92593
|
+
events: gk,
|
|
92594
|
+
exhibit: mk
|
|
92595
92595
|
}), F_ = Fa({
|
|
92596
92596
|
fields: [],
|
|
92597
92597
|
name: "unselecting",
|
|
@@ -92621,7 +92621,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92621
92621
|
},
|
|
92622
92622
|
parts: { menu: B4(!1, 1, a.presets) }
|
|
92623
92623
|
});
|
|
92624
|
-
},
|
|
92624
|
+
}, _k = Tr("color-input-change"), yk = Tr("color-swatch-change"), V_ = Tr("color-picker-cancel"), us = function(a, c, v) {
|
|
92625
92625
|
var b = zo.parts.field({
|
|
92626
92626
|
factory: $_,
|
|
92627
92627
|
inputClasses: ["tox-textfield"],
|
|
@@ -92640,7 +92640,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92640
92640
|
notify: {
|
|
92641
92641
|
onValid: function(L) {
|
|
92642
92642
|
var G = or.getValue(L);
|
|
92643
|
-
_r(L,
|
|
92643
|
+
_r(L, _k, { color: G });
|
|
92644
92644
|
}
|
|
92645
92645
|
},
|
|
92646
92646
|
validator: {
|
|
@@ -92665,7 +92665,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92665
92665
|
}), x = a.label.map(function(L) {
|
|
92666
92666
|
return Rv(L, c.providers);
|
|
92667
92667
|
}), N = function(L, G) {
|
|
92668
|
-
_r(L,
|
|
92668
|
+
_r(L, yk, { value: G });
|
|
92669
92669
|
}, D = function(L, G) {
|
|
92670
92670
|
F.getOpt(L).each(function(Z) {
|
|
92671
92671
|
G === "custom" ? v.colorPicker(function(ee) {
|
|
@@ -92719,12 +92719,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92719
92719
|
]
|
|
92720
92720
|
}]),
|
|
92721
92721
|
fieldBehaviours: Mn([so("form-field-events", [
|
|
92722
|
-
wn(
|
|
92722
|
+
wn(_k, function(L, G) {
|
|
92723
92723
|
F.getOpt(L).each(function(Z) {
|
|
92724
92724
|
eo(Z.element, "background-color", G.event.color);
|
|
92725
92725
|
}), _r(L, iu, { name: a.name });
|
|
92726
92726
|
}),
|
|
92727
|
-
wn(
|
|
92727
|
+
wn(yk, function(L, G) {
|
|
92728
92728
|
zo.getField(L).each(function(Z) {
|
|
92729
92729
|
or.setValue(Z, G.event.value), To.getCurrent(L).each(Gr.focus);
|
|
92730
92730
|
});
|
|
@@ -92736,7 +92736,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92736
92736
|
})
|
|
92737
92737
|
])])
|
|
92738
92738
|
});
|
|
92739
|
-
},
|
|
92739
|
+
}, bk = nu({
|
|
92740
92740
|
schema: [nt("dom")],
|
|
92741
92741
|
name: "label"
|
|
92742
92742
|
}), Fv = function(a) {
|
|
@@ -92763,7 +92763,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92763
92763
|
});
|
|
92764
92764
|
}
|
|
92765
92765
|
});
|
|
92766
|
-
}, O9 = Fv("top-left"), B9 = Fv("top"), P9 = Fv("top-right"),
|
|
92766
|
+
}, O9 = Fv("top-left"), B9 = Fv("top"), P9 = Fv("top-right"), wk = Fv("right"), M9 = Fv("bottom-right"), R9 = Fv("bottom"), Ck = Fv("bottom-left"), $9 = Fv("left"), xk = Ni({
|
|
92767
92767
|
name: "thumb",
|
|
92768
92768
|
defaults: V({ dom: { styles: { position: "absolute" } } }),
|
|
92769
92769
|
overrides: function(a) {
|
|
@@ -92778,7 +92778,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92778
92778
|
])
|
|
92779
92779
|
};
|
|
92780
92780
|
}
|
|
92781
|
-
}),
|
|
92781
|
+
}), Ek = Ni({
|
|
92782
92782
|
schema: [vi("mouseIsDown", function() {
|
|
92783
92783
|
return jn(!1);
|
|
92784
92784
|
})],
|
|
@@ -92818,18 +92818,18 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92818
92818
|
])
|
|
92819
92819
|
};
|
|
92820
92820
|
}
|
|
92821
|
-
}),
|
|
92822
|
-
|
|
92821
|
+
}), Sk = [
|
|
92822
|
+
bk,
|
|
92823
92823
|
$9,
|
|
92824
|
-
|
|
92824
|
+
wk,
|
|
92825
92825
|
B9,
|
|
92826
92826
|
R9,
|
|
92827
92827
|
O9,
|
|
92828
92828
|
P9,
|
|
92829
|
-
|
|
92829
|
+
Ck,
|
|
92830
92830
|
M9,
|
|
92831
|
-
|
|
92832
|
-
|
|
92831
|
+
xk,
|
|
92832
|
+
Ek
|
|
92833
92833
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92834
92834
|
return a.type.indexOf("touch") !== -1;
|
|
92835
92835
|
}, D6 = function(a) {
|
|
@@ -92867,33 +92867,33 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92867
92867
|
return z_(a, Nl, Sm);
|
|
92868
92868
|
}, i3 = function(a) {
|
|
92869
92869
|
return z_(a, Vv, lu);
|
|
92870
|
-
},
|
|
92870
|
+
}, kk = function(a) {
|
|
92871
92871
|
return O6(a) / 2;
|
|
92872
|
-
},
|
|
92872
|
+
}, Tk = function(a) {
|
|
92873
92873
|
return i3(a) / 2;
|
|
92874
92874
|
}, Lg = function(a) {
|
|
92875
92875
|
return a.stepSize;
|
|
92876
92876
|
}, l3 = function(a) {
|
|
92877
92877
|
return a.snapToGrid;
|
|
92878
|
-
},
|
|
92878
|
+
}, Nk = function(a) {
|
|
92879
92879
|
return a.snapStart;
|
|
92880
|
-
},
|
|
92880
|
+
}, Ak = function(a) {
|
|
92881
92881
|
return a.rounded;
|
|
92882
92882
|
}, s3 = function(a, c) {
|
|
92883
92883
|
return a[c + "-edge"] !== void 0;
|
|
92884
|
-
},
|
|
92884
|
+
}, Ik = function(a) {
|
|
92885
92885
|
return s3(a, z9);
|
|
92886
|
-
},
|
|
92886
|
+
}, Dk = function(a) {
|
|
92887
92887
|
return s3(a, U9);
|
|
92888
|
-
},
|
|
92888
|
+
}, Ok = function(a) {
|
|
92889
92889
|
return s3(a, L9);
|
|
92890
|
-
},
|
|
92890
|
+
}, Bk = function(a) {
|
|
92891
92891
|
return s3(a, Em);
|
|
92892
92892
|
}, cd = function(a) {
|
|
92893
92893
|
return a.model.value.get();
|
|
92894
92894
|
}, B6 = function(a) {
|
|
92895
92895
|
return { x: a };
|
|
92896
|
-
},
|
|
92896
|
+
}, Pk = function(a) {
|
|
92897
92897
|
return { y: a };
|
|
92898
92898
|
}, Lv = function(a, c) {
|
|
92899
92899
|
return {
|
|
@@ -92905,37 +92905,37 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92905
92905
|
}, H9 = function(a, c) {
|
|
92906
92906
|
Ac(a, Lv(r3(c), o3(c)));
|
|
92907
92907
|
}, W9 = function(a, c) {
|
|
92908
|
-
Ac(a,
|
|
92909
|
-
},
|
|
92910
|
-
Ac(a, Lv(
|
|
92911
|
-
},
|
|
92908
|
+
Ac(a, Pk(o3(c)));
|
|
92909
|
+
}, Mk = function(a, c) {
|
|
92910
|
+
Ac(a, Lv(kk(c), o3(c)));
|
|
92911
|
+
}, Rk = function(a, c) {
|
|
92912
92912
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92913
|
-
}, $
|
|
92913
|
+
}, $k = function(a, c) {
|
|
92914
92914
|
Ac(a, B6(U_(c)));
|
|
92915
92915
|
}, u3 = function(a, c) {
|
|
92916
|
-
Ac(a, Lv(U_(c),
|
|
92916
|
+
Ac(a, Lv(U_(c), Tk(c)));
|
|
92917
92917
|
}, j9 = function(a, c) {
|
|
92918
92918
|
Ac(a, Lv(U_(c), a3(c)));
|
|
92919
|
-
},
|
|
92920
|
-
Ac(a,
|
|
92919
|
+
}, Fk = function(a, c) {
|
|
92920
|
+
Ac(a, Pk(a3(c)));
|
|
92921
92921
|
}, G9 = function(a, c) {
|
|
92922
|
-
Ac(a, Lv(
|
|
92922
|
+
Ac(a, Lv(kk(c), a3(c)));
|
|
92923
92923
|
}, q9 = function(a, c) {
|
|
92924
92924
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92925
92925
|
}, K9 = function(a, c) {
|
|
92926
92926
|
Ac(a, B6(r3(c)));
|
|
92927
92927
|
}, Y9 = function(a, c) {
|
|
92928
|
-
Ac(a, Lv(r3(c),
|
|
92928
|
+
Ac(a, Lv(r3(c), Tk(c)));
|
|
92929
92929
|
}, Ug = function(a, c, v, b) {
|
|
92930
92930
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92931
92931
|
}, P6 = function(a, c, v, b) {
|
|
92932
92932
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92933
|
-
},
|
|
92933
|
+
}, Vk = function(a, c, v) {
|
|
92934
92934
|
return Math.max(c, Math.min(v, a));
|
|
92935
92935
|
}, _h = function(a, c, v, b, x) {
|
|
92936
92936
|
return x.fold(function() {
|
|
92937
92937
|
var N = a - c, D = Math.round(N / b) * b;
|
|
92938
|
-
return
|
|
92938
|
+
return Vk(c + D, c - 1, v + 1);
|
|
92939
92939
|
}, function(N) {
|
|
92940
92940
|
var D = (a - N) % b, F = Math.round(D / b), L = Math.floor((a - N) / b), G = Math.floor((v - N) / b), Z = Math.min(G, L + F), ee = N + Z * b;
|
|
92941
92941
|
return Math.max(N, ee);
|
|
@@ -92948,41 +92948,41 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92948
92948
|
return ze;
|
|
92949
92949
|
if (x > fe)
|
|
92950
92950
|
return je;
|
|
92951
|
-
var dt = X9(x, ee, fe), qe =
|
|
92951
|
+
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92952
92952
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92953
92953
|
}, M6 = function(a) {
|
|
92954
92954
|
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
92955
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92956
|
-
}, H_ = "top",
|
|
92956
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92957
92957
|
return a.element.dom.getBoundingClientRect();
|
|
92958
92958
|
}, Ic = function(a, c) {
|
|
92959
92959
|
return a[c];
|
|
92960
92960
|
}, cs = function(a) {
|
|
92961
92961
|
var c = zu(a);
|
|
92962
92962
|
return Ic(c, R6);
|
|
92963
|
-
},
|
|
92963
|
+
}, Hk = function(a) {
|
|
92964
92964
|
var c = zu(a);
|
|
92965
|
-
return Ic(c,
|
|
92965
|
+
return Ic(c, Lk);
|
|
92966
92966
|
}, c3 = function(a) {
|
|
92967
92967
|
var c = zu(a);
|
|
92968
92968
|
return Ic(c, H_);
|
|
92969
92969
|
}, $6 = function(a) {
|
|
92970
92970
|
var c = zu(a);
|
|
92971
|
-
return Ic(c,
|
|
92971
|
+
return Ic(c, Uk);
|
|
92972
92972
|
}, F6 = function(a) {
|
|
92973
92973
|
var c = zu(a);
|
|
92974
|
-
return Ic(c,
|
|
92975
|
-
},
|
|
92974
|
+
return Ic(c, zk);
|
|
92975
|
+
}, Wk = function(a) {
|
|
92976
92976
|
var c = zu(a);
|
|
92977
92977
|
return Ic(c, J9);
|
|
92978
|
-
},
|
|
92978
|
+
}, jk = function(a, c, v) {
|
|
92979
92979
|
return (a + c) / 2 - v;
|
|
92980
|
-
},
|
|
92981
|
-
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v,
|
|
92982
|
-
return
|
|
92983
|
-
},
|
|
92984
|
-
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v,
|
|
92985
|
-
return
|
|
92980
|
+
}, Gk = function(a, c) {
|
|
92981
|
+
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
|
|
92982
|
+
return jk(x, N, D);
|
|
92983
|
+
}, qk = function(a, c) {
|
|
92984
|
+
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
92985
|
+
return jk(x, N, D);
|
|
92986
92986
|
}, f3 = function(a, c) {
|
|
92987
92987
|
_r(a, L_(), { value: c });
|
|
92988
92988
|
}, d3 = function(a) {
|
|
@@ -92995,16 +92995,16 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92995
92995
|
value: v,
|
|
92996
92996
|
step: Lg(c),
|
|
92997
92997
|
snap: l3(c),
|
|
92998
|
-
snapStart:
|
|
92999
|
-
rounded:
|
|
93000
|
-
hasMinEdge:
|
|
93001
|
-
hasMaxEdge:
|
|
92998
|
+
snapStart: Nk(c),
|
|
92999
|
+
rounded: Ak(c),
|
|
93000
|
+
hasMinEdge: Ik(c),
|
|
93001
|
+
hasMaxEdge: Dk(c),
|
|
93002
93002
|
minBound: cs(a),
|
|
93003
|
-
maxBound:
|
|
93003
|
+
maxBound: Hk(a),
|
|
93004
93004
|
screenRange: F6(a)
|
|
93005
93005
|
};
|
|
93006
93006
|
return km(b);
|
|
93007
|
-
},
|
|
93007
|
+
}, Kk = function(a, c, v) {
|
|
93008
93008
|
var b = V6(a, c, v), x = d3(b);
|
|
93009
93009
|
return f3(a, x), b;
|
|
93010
93010
|
}, Z9 = function(a, c) {
|
|
@@ -93027,19 +93027,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93027
93027
|
});
|
|
93028
93028
|
}, tD = function(a, c, v, b, x) {
|
|
93029
93029
|
var N = 0, D = F6(a), F = b.bind(function(Z) {
|
|
93030
|
-
return U.some(
|
|
93030
|
+
return U.some(Gk(Z, a));
|
|
93031
93031
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93032
|
-
return U.some(
|
|
93032
|
+
return U.some(Gk(Z, a));
|
|
93033
93033
|
}).getOr(D), G = {
|
|
93034
93034
|
min: Sm(c),
|
|
93035
93035
|
max: Nl(c),
|
|
93036
93036
|
range: O6(c),
|
|
93037
93037
|
value: v,
|
|
93038
|
-
hasMinEdge:
|
|
93039
|
-
hasMaxEdge:
|
|
93038
|
+
hasMinEdge: Ik(c),
|
|
93039
|
+
hasMaxEdge: Dk(c),
|
|
93040
93040
|
minBound: cs(a),
|
|
93041
93041
|
minOffset: N,
|
|
93042
|
-
maxBound:
|
|
93042
|
+
maxBound: Hk(a),
|
|
93043
93043
|
maxOffset: D,
|
|
93044
93044
|
centerMinEdge: F,
|
|
93045
93045
|
centerMaxEdge: L
|
|
@@ -93051,27 +93051,27 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93051
93051
|
}, Hg = function(a, c, v, b) {
|
|
93052
93052
|
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
93053
|
eo(c.element, "left", N - D + "px");
|
|
93054
|
-
},
|
|
93054
|
+
}, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
|
|
93055
93055
|
"top-left": U.none(),
|
|
93056
93056
|
top: U.none(),
|
|
93057
93057
|
"top-right": U.none(),
|
|
93058
|
-
right: U.some($
|
|
93058
|
+
right: U.some($k),
|
|
93059
93059
|
"bottom-right": U.none(),
|
|
93060
93060
|
bottom: U.none(),
|
|
93061
93061
|
"bottom-left": U.none(),
|
|
93062
93062
|
left: U.some(K9)
|
|
93063
93063
|
}, v3 = /* @__PURE__ */ Object.freeze({
|
|
93064
93064
|
__proto__: null,
|
|
93065
|
-
setValueFrom:
|
|
93065
|
+
setValueFrom: Kk,
|
|
93066
93066
|
setToMin: Z9,
|
|
93067
93067
|
setToMax: Q9,
|
|
93068
93068
|
findValueOfOffset: V6,
|
|
93069
93069
|
getValueFromEvent: h3,
|
|
93070
93070
|
findPositionOfValue: zg,
|
|
93071
93071
|
setPositionFromValue: Hg,
|
|
93072
|
-
onLeft:
|
|
93073
|
-
onRight:
|
|
93074
|
-
onUp:
|
|
93072
|
+
onLeft: Yk,
|
|
93073
|
+
onRight: Xk,
|
|
93074
|
+
onUp: Jk,
|
|
93075
93075
|
onDown: nD,
|
|
93076
93076
|
edgeActions: rD
|
|
93077
93077
|
}), p3 = function(a, c) {
|
|
@@ -93086,22 +93086,22 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93086
93086
|
value: v,
|
|
93087
93087
|
step: Lg(c),
|
|
93088
93088
|
snap: l3(c),
|
|
93089
|
-
snapStart:
|
|
93090
|
-
rounded:
|
|
93091
|
-
hasMinEdge:
|
|
93092
|
-
hasMaxEdge:
|
|
93089
|
+
snapStart: Nk(c),
|
|
93090
|
+
rounded: Ak(c),
|
|
93091
|
+
hasMinEdge: Ok(c),
|
|
93092
|
+
hasMaxEdge: Bk(c),
|
|
93093
93093
|
minBound: c3(a),
|
|
93094
93094
|
maxBound: $6(a),
|
|
93095
|
-
screenRange:
|
|
93095
|
+
screenRange: Wk(a)
|
|
93096
93096
|
};
|
|
93097
93097
|
return km(b);
|
|
93098
|
-
},
|
|
93098
|
+
}, Zk = function(a, c, v) {
|
|
93099
93099
|
var b = g3(a, c, v), x = m3(b);
|
|
93100
93100
|
return p3(a, x), b;
|
|
93101
93101
|
}, U6 = function(a, c) {
|
|
93102
93102
|
var v = lu(c);
|
|
93103
93103
|
p3(a, m3(v));
|
|
93104
|
-
},
|
|
93104
|
+
}, Qk = function(a, c) {
|
|
93105
93105
|
var v = Vv(c);
|
|
93106
93106
|
p3(a, m3(v));
|
|
93107
93107
|
}, fs = function(a, c, v) {
|
|
@@ -93117,17 +93117,17 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93117
93117
|
return v.top;
|
|
93118
93118
|
});
|
|
93119
93119
|
}, aD = function(a, c, v, b, x) {
|
|
93120
|
-
var N = 0, D =
|
|
93121
|
-
return U.some(
|
|
93120
|
+
var N = 0, D = Wk(a), F = b.bind(function(Z) {
|
|
93121
|
+
return U.some(qk(Z, a));
|
|
93122
93122
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93123
|
-
return U.some(
|
|
93123
|
+
return U.some(qk(Z, a));
|
|
93124
93124
|
}).getOr(D), G = {
|
|
93125
93125
|
min: lu(c),
|
|
93126
93126
|
max: Vv(c),
|
|
93127
93127
|
range: i3(c),
|
|
93128
93128
|
value: v,
|
|
93129
|
-
hasMinEdge:
|
|
93130
|
-
hasMaxEdge:
|
|
93129
|
+
hasMinEdge: Ok(c),
|
|
93130
|
+
hasMaxEdge: Bk(c),
|
|
93131
93131
|
minBound: c3(a),
|
|
93132
93132
|
minOffset: N,
|
|
93133
93133
|
maxBound: $6(a),
|
|
@@ -93142,27 +93142,27 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93142
93142
|
}, iD = function(a, c, v, b) {
|
|
93143
93143
|
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
93144
|
eo(c.element, "top", N - D + "px");
|
|
93145
|
-
}, lD = U.none, sD = U.none,
|
|
93145
|
+
}, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
|
|
93146
93146
|
"top-left": U.none(),
|
|
93147
93147
|
top: U.some(W9),
|
|
93148
93148
|
"top-right": U.none(),
|
|
93149
93149
|
right: U.none(),
|
|
93150
93150
|
"bottom-right": U.none(),
|
|
93151
|
-
bottom: U.some(
|
|
93151
|
+
bottom: U.some(Fk),
|
|
93152
93152
|
"bottom-left": U.none(),
|
|
93153
93153
|
left: U.none()
|
|
93154
|
-
},
|
|
93154
|
+
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93155
93155
|
__proto__: null,
|
|
93156
|
-
setValueFrom:
|
|
93156
|
+
setValueFrom: Zk,
|
|
93157
93157
|
setToMin: U6,
|
|
93158
|
-
setToMax:
|
|
93158
|
+
setToMax: Qk,
|
|
93159
93159
|
findValueOfOffset: g3,
|
|
93160
93160
|
getValueFromEvent: oD,
|
|
93161
93161
|
findPositionOfValue: _3,
|
|
93162
93162
|
setPositionFromValue: iD,
|
|
93163
93163
|
onLeft: lD,
|
|
93164
93164
|
onRight: sD,
|
|
93165
|
-
onUp:
|
|
93165
|
+
onUp: e5,
|
|
93166
93166
|
onDown: fd,
|
|
93167
93167
|
edgeActions: H6
|
|
93168
93168
|
}), Tm = function(a, c) {
|
|
@@ -93193,10 +93193,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93193
93193
|
}, hD = function(a, c, v, b) {
|
|
93194
93194
|
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
93195
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
93196
|
-
},
|
|
93196
|
+
}, n5 = y3(-1, !1), vD = y3(1, !1), dd = y3(-1, !0), b3 = y3(1, !0), pD = {
|
|
93197
93197
|
"top-left": U.some(H9),
|
|
93198
|
-
top: U.some(
|
|
93199
|
-
"top-right": U.some(
|
|
93198
|
+
top: U.some(Mk),
|
|
93199
|
+
"top-right": U.some(Rk),
|
|
93200
93200
|
right: U.some(u3),
|
|
93201
93201
|
"bottom-right": U.some(j9),
|
|
93202
93202
|
bottom: U.some(G9),
|
|
@@ -93209,12 +93209,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93209
93209
|
setToMax: dD,
|
|
93210
93210
|
getValueFromEvent: W6,
|
|
93211
93211
|
setPositionFromValue: hD,
|
|
93212
|
-
onLeft:
|
|
93212
|
+
onLeft: n5,
|
|
93213
93213
|
onRight: vD,
|
|
93214
93214
|
onUp: dd,
|
|
93215
93215
|
onDown: b3,
|
|
93216
93216
|
edgeActions: pD
|
|
93217
|
-
}),
|
|
93217
|
+
}), r5 = [
|
|
93218
93218
|
Ot("stepSize", 1),
|
|
93219
93219
|
Ot("onChange", R),
|
|
93220
93220
|
Ot("onChoose", R),
|
|
@@ -93241,7 +93241,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93241
93241
|
return jn(a.mode.minY);
|
|
93242
93242
|
}),
|
|
93243
93243
|
nt("getInitialValue"),
|
|
93244
|
-
pa("manager",
|
|
93244
|
+
pa("manager", t5)
|
|
93245
93245
|
],
|
|
93246
93246
|
xy: [
|
|
93247
93247
|
Ot("minX", 0),
|
|
@@ -93265,7 +93265,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93265
93265
|
vi("mouseIsDown", function() {
|
|
93266
93266
|
return jn(!1);
|
|
93267
93267
|
})
|
|
93268
|
-
],
|
|
93268
|
+
], o5 = function(a, c, v, b) {
|
|
93269
93269
|
var x, N = function(jt) {
|
|
93270
93270
|
return Fu(jt, a, "thumb");
|
|
93271
93271
|
}, D = function(jt) {
|
|
@@ -93359,9 +93359,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93359
93359
|
};
|
|
93360
93360
|
}, su = kl({
|
|
93361
93361
|
name: "Slider",
|
|
93362
|
-
configFields:
|
|
93363
|
-
partFields:
|
|
93364
|
-
factory:
|
|
93362
|
+
configFields: r5,
|
|
93363
|
+
partFields: Sk,
|
|
93364
|
+
factory: o5,
|
|
93365
93365
|
apis: {
|
|
93366
93366
|
setValue: function(a, c, v) {
|
|
93367
93367
|
a.setValue(c, v);
|
|
@@ -93390,9 +93390,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93390
93390
|
return c = x === F ? 3 : D === F ? 1 : 5, c = 60 * (c - G / (L - F)), v = (L - F) / L, b = L, jg(Math.round(c), Math.round(v * 100), Math.round(b * 100));
|
|
93391
93391
|
}, W_ = function(a) {
|
|
93392
93392
|
return Nm(O_(a));
|
|
93393
|
-
},
|
|
93393
|
+
}, a5 = function(a) {
|
|
93394
93394
|
return G4(vS(a));
|
|
93395
|
-
}, j6 = Tr("rgb-hex-update"),
|
|
93395
|
+
}, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93396
93396
|
var v = su.parts.spectrum({
|
|
93397
93397
|
dom: {
|
|
93398
93398
|
tag: "div",
|
|
@@ -93423,15 +93423,15 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93423
93423
|
],
|
|
93424
93424
|
sliderBehaviours: Mn([Gr.config({})]),
|
|
93425
93425
|
onChange: function(x, N, D) {
|
|
93426
|
-
_r(x,
|
|
93426
|
+
_r(x, i5, { value: D });
|
|
93427
93427
|
}
|
|
93428
93428
|
});
|
|
93429
|
-
},
|
|
93429
|
+
}, s5 = "form", _D = [Ti("formBehaviours", [or])], w3 = function(a) {
|
|
93430
93430
|
return "<alloy.field." + a + ">";
|
|
93431
93431
|
}, Am = function(a) {
|
|
93432
93432
|
var c = function() {
|
|
93433
93433
|
var N = [], D = function(F, L) {
|
|
93434
|
-
return N.push(F), R2(
|
|
93434
|
+
return N.push(F), R2(s5, w3(F), L);
|
|
93435
93435
|
};
|
|
93436
93436
|
return {
|
|
93437
93437
|
field: D,
|
|
@@ -93445,12 +93445,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93445
93445
|
pname: w3(N)
|
|
93446
93446
|
});
|
|
93447
93447
|
});
|
|
93448
|
-
return z2(
|
|
93448
|
+
return z2(s5, _D, x, u5, v);
|
|
93449
93449
|
}, yD = function(a, c) {
|
|
93450
93450
|
return a.fold(function() {
|
|
93451
93451
|
return Zt.error(c);
|
|
93452
93452
|
}, Zt.value);
|
|
93453
|
-
},
|
|
93453
|
+
}, u5 = function(a, c) {
|
|
93454
93454
|
return {
|
|
93455
93455
|
uid: a.uid,
|
|
93456
93456
|
dom: a.dom,
|
|
@@ -93489,22 +93489,22 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93489
93489
|
return a.getField(c, v);
|
|
93490
93490
|
}),
|
|
93491
93491
|
sketch: Am
|
|
93492
|
-
},
|
|
93492
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93493
93493
|
var x = function(fe, Te) {
|
|
93494
93494
|
return ff.config({
|
|
93495
93495
|
invalidClass: c("invalid"),
|
|
93496
93496
|
notify: {
|
|
93497
93497
|
onValidate: function(ze) {
|
|
93498
|
-
_r(ze,
|
|
93498
|
+
_r(ze, d5, { type: fe });
|
|
93499
93499
|
},
|
|
93500
93500
|
onValid: function(ze) {
|
|
93501
|
-
_r(ze,
|
|
93501
|
+
_r(ze, c5, {
|
|
93502
93502
|
type: fe,
|
|
93503
93503
|
value: or.getValue(ze)
|
|
93504
93504
|
});
|
|
93505
93505
|
},
|
|
93506
93506
|
onInvalid: function(ze) {
|
|
93507
|
-
_r(ze,
|
|
93507
|
+
_r(ze, f5, {
|
|
93508
93508
|
type: fe,
|
|
93509
93509
|
value: or.getValue(ze)
|
|
93510
93510
|
});
|
|
@@ -93641,9 +93641,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93641
93641
|
formBehaviours: Mn([
|
|
93642
93642
|
ff.config({ invalidClass: c("form-invalid") }),
|
|
93643
93643
|
so("rgb-form-events", [
|
|
93644
|
-
wn(
|
|
93645
|
-
wn(
|
|
93646
|
-
wn(
|
|
93644
|
+
wn(c5, nn),
|
|
93645
|
+
wn(f5, St),
|
|
93646
|
+
wn(d5, St)
|
|
93647
93647
|
])
|
|
93648
93648
|
])
|
|
93649
93649
|
};
|
|
@@ -93703,7 +93703,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93703
93703
|
x: 0,
|
|
93704
93704
|
y: 0
|
|
93705
93705
|
}), ee = function(ze, je, dt) {
|
|
93706
|
-
_r(ze,
|
|
93706
|
+
_r(ze, l5, { value: dt });
|
|
93707
93707
|
}, fe = function(ze, je, dt, qe) {
|
|
93708
93708
|
x(dt.element.dom, mS(gS));
|
|
93709
93709
|
}, Te = Mn([
|
|
@@ -93746,7 +93746,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93746
93746
|
return L;
|
|
93747
93747
|
}, bD = function(a, c) {
|
|
93748
93748
|
var v = function(x) {
|
|
93749
|
-
var N =
|
|
93749
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
|
|
93750
93750
|
return (100 - nn) / 100 * 360;
|
|
93751
93751
|
}, L = function(nn) {
|
|
93752
93752
|
return 100 - nn / 360 * 100;
|
|
@@ -93779,7 +93779,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93779
93779
|
}, At = function() {
|
|
93780
93780
|
var nn = [ze];
|
|
93781
93781
|
return function(Kt, En) {
|
|
93782
|
-
var wr = En.event.value, Jn = G.paletteHue.get(), fn = jg(Jn, wr.x, 100 - wr.y), bn =
|
|
93782
|
+
var wr = En.event.value, Jn = G.paletteHue.get(), fn = jg(Jn, wr.x, 100 - wr.y), bn = a5(fn);
|
|
93783
93783
|
St(Kt, bn, Jn, nn);
|
|
93784
93784
|
};
|
|
93785
93785
|
}, rn = function() {
|
|
@@ -93788,7 +93788,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93788
93788
|
ze
|
|
93789
93789
|
];
|
|
93790
93790
|
return function(Kt, En) {
|
|
93791
|
-
var wr = F(En.event.value.y), Jn = G.paletteRgba.get(), fn = Nm(Jn), bn = jg(wr, fn.saturation, fn.value), hr =
|
|
93791
|
+
var wr = F(En.event.value.y), Jn = G.paletteRgba.get(), fn = Nm(Jn), bn = jg(wr, fn.saturation, fn.value), hr = a5(bn);
|
|
93792
93792
|
St(Kt, hr, wr, nn);
|
|
93793
93793
|
};
|
|
93794
93794
|
}, jt = function() {
|
|
@@ -93813,8 +93813,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93813
93813
|
behaviours: Mn([
|
|
93814
93814
|
so("colour-picker-events", [
|
|
93815
93815
|
wn(j6, jt()),
|
|
93816
|
-
wn(
|
|
93817
|
-
wn(
|
|
93816
|
+
wn(l5, At()),
|
|
93817
|
+
wn(i5, rn())
|
|
93818
93818
|
]),
|
|
93819
93819
|
To.config({
|
|
93820
93820
|
find: function(nn) {
|
|
@@ -93834,7 +93834,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93834
93834
|
factory: v
|
|
93835
93835
|
});
|
|
93836
93836
|
return b;
|
|
93837
|
-
},
|
|
93837
|
+
}, v5 = function() {
|
|
93838
93838
|
return To.config({ find: U.some });
|
|
93839
93839
|
}, K6 = function(a) {
|
|
93840
93840
|
return To.config({ find: a.getOpt });
|
|
@@ -93847,7 +93847,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93847
93847
|
}
|
|
93848
93848
|
});
|
|
93849
93849
|
}, Dc = {
|
|
93850
|
-
self:
|
|
93850
|
+
self: v5,
|
|
93851
93851
|
memento: K6,
|
|
93852
93852
|
childAt: Y6
|
|
93853
93853
|
}, wD = {
|
|
@@ -93873,12 +93873,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93873
93873
|
"aria.input.invalid": "Invalid input"
|
|
93874
93874
|
}, C3 = function(a) {
|
|
93875
93875
|
return wD[a];
|
|
93876
|
-
},
|
|
93876
|
+
}, p5 = function(a) {
|
|
93877
93877
|
return C3(a);
|
|
93878
93878
|
}, CD = function(a) {
|
|
93879
93879
|
var c = function(D) {
|
|
93880
93880
|
return "tox-" + D;
|
|
93881
|
-
}, v = bD(
|
|
93881
|
+
}, v = bD(p5, c), b = function(D) {
|
|
93882
93882
|
_r(D, ud, {
|
|
93883
93883
|
name: "hex-valid",
|
|
93884
93884
|
value: !0
|
|
@@ -93975,7 +93975,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93975
93975
|
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
|
|
93976
93976
|
Ot("preprocess", z),
|
|
93977
93977
|
Ot("postprocess", z)
|
|
93978
|
-
]),
|
|
93978
|
+
]), m5 = function(a, c) {
|
|
93979
93979
|
var v = Na("RepresentingConfigs.memento processors", X6, c);
|
|
93980
93980
|
return or.config({
|
|
93981
93981
|
store: {
|
|
@@ -94006,11 +94006,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94006
94006
|
}, function(b, x) {
|
|
94007
94007
|
return v(b.element, x);
|
|
94008
94008
|
});
|
|
94009
|
-
},
|
|
94009
|
+
}, g5 = function(a) {
|
|
94010
94010
|
return j_(a, $f, Np);
|
|
94011
94011
|
}, x3 = function(a) {
|
|
94012
94012
|
return j_(a, b0, Df);
|
|
94013
|
-
},
|
|
94013
|
+
}, _5 = function(a) {
|
|
94014
94014
|
return or.config({
|
|
94015
94015
|
store: {
|
|
94016
94016
|
mode: "memory",
|
|
@@ -94018,12 +94018,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94018
94018
|
}
|
|
94019
94019
|
});
|
|
94020
94020
|
}, Uv = {
|
|
94021
|
-
memento:
|
|
94021
|
+
memento: m5,
|
|
94022
94022
|
withElement: j_,
|
|
94023
94023
|
withComp: J6,
|
|
94024
|
-
domValue:
|
|
94024
|
+
domValue: g5,
|
|
94025
94025
|
domHtml: x3,
|
|
94026
|
-
memory:
|
|
94026
|
+
memory: _5
|
|
94027
94027
|
}, kD = "jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp", TD = function(a, c) {
|
|
94028
94028
|
var v = di.explode(c.getSetting("images_file_types", kD, "string")), b = function(x) {
|
|
94029
94029
|
return lt(v, function(N) {
|
|
@@ -94147,7 +94147,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94147
94147
|
},
|
|
94148
94148
|
components: Ge(a.items, c.interpreter)
|
|
94149
94149
|
};
|
|
94150
|
-
}, E3 = Tr("alloy-fake-before-tabstop"), S3 = Tr("alloy-fake-after-tabstop"),
|
|
94150
|
+
}, E3 = Tr("alloy-fake-before-tabstop"), S3 = Tr("alloy-fake-after-tabstop"), y5 = function(a) {
|
|
94151
94151
|
return {
|
|
94152
94152
|
dom: {
|
|
94153
94153
|
tag: "div",
|
|
@@ -94164,20 +94164,20 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94164
94164
|
ri.config({})
|
|
94165
94165
|
])
|
|
94166
94166
|
};
|
|
94167
|
-
},
|
|
94167
|
+
}, b5 = function(a) {
|
|
94168
94168
|
return {
|
|
94169
94169
|
dom: {
|
|
94170
94170
|
tag: "div",
|
|
94171
94171
|
classes: ["tox-navobj"]
|
|
94172
94172
|
},
|
|
94173
94173
|
components: [
|
|
94174
|
-
|
|
94174
|
+
y5([E3]),
|
|
94175
94175
|
a,
|
|
94176
|
-
|
|
94176
|
+
y5([S3])
|
|
94177
94177
|
],
|
|
94178
94178
|
behaviours: Mn([Dc.childAt(1)])
|
|
94179
94179
|
};
|
|
94180
|
-
},
|
|
94180
|
+
}, w5 = function(a, c) {
|
|
94181
94181
|
_r(a, lp(), {
|
|
94182
94182
|
raw: {
|
|
94183
94183
|
which: 9,
|
|
@@ -94186,13 +94186,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94186
94186
|
});
|
|
94187
94187
|
}, k3 = function(a, c) {
|
|
94188
94188
|
var v = c.element;
|
|
94189
|
-
gi(v, E3) ?
|
|
94189
|
+
gi(v, E3) ? w5(a, !0) : gi(v, S3) && w5(a, !1);
|
|
94190
94190
|
}, G_ = function(a) {
|
|
94191
94191
|
return Bg(a, [
|
|
94192
94192
|
"." + E3,
|
|
94193
94193
|
"." + S3
|
|
94194
94194
|
].join(","), le);
|
|
94195
|
-
}, ID = !(Vi().browser.isIE() || Vi().browser.isEdge()),
|
|
94195
|
+
}, ID = !(Vi().browser.isIE() || Vi().browser.isEdge()), C5 = function(a) {
|
|
94196
94196
|
var c = jn("");
|
|
94197
94197
|
return {
|
|
94198
94198
|
getValue: function(v) {
|
|
@@ -94209,13 +94209,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94209
94209
|
c.set(b);
|
|
94210
94210
|
}
|
|
94211
94211
|
};
|
|
94212
|
-
},
|
|
94212
|
+
}, x5 = function(a, c) {
|
|
94213
94213
|
var v = ID && a.sandboxed, b = ve(ve({}, a.label.map(function(L) {
|
|
94214
94214
|
return { title: L };
|
|
94215
|
-
}).getOr({})), v ? { sandbox: "allow-scripts allow-same-origin" } : {}), x =
|
|
94215
|
+
}).getOr({})), v ? { sandbox: "allow-scripts allow-same-origin" } : {}), x = C5(v), N = a.label.map(function(L) {
|
|
94216
94216
|
return Rv(L, c);
|
|
94217
94217
|
}), D = function(L) {
|
|
94218
|
-
return
|
|
94218
|
+
return b5({
|
|
94219
94219
|
uid: L.uid,
|
|
94220
94220
|
dom: {
|
|
94221
94221
|
tag: "iframe",
|
|
@@ -94414,7 +94414,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94414
94414
|
var v = qg(Z6(c), Q6(c)), b = Oc(v);
|
|
94415
94415
|
return b.drawImage(c, 0, 0), v;
|
|
94416
94416
|
});
|
|
94417
|
-
},
|
|
94417
|
+
}, E5 = function(a) {
|
|
94418
94418
|
return new hd(function(c) {
|
|
94419
94419
|
var v = new FileReader();
|
|
94420
94420
|
v.onloadend = function() {
|
|
@@ -94423,7 +94423,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94423
94423
|
});
|
|
94424
94424
|
}, $D = function(a) {
|
|
94425
94425
|
URL.revokeObjectURL(a.src);
|
|
94426
|
-
},
|
|
94426
|
+
}, S5 = function(a, c, v) {
|
|
94427
94427
|
var b = c.type, x = V(b), N = function() {
|
|
94428
94428
|
return hd.resolve(c);
|
|
94429
94429
|
}, D = V(v), F = function() {
|
|
@@ -94453,16 +94453,16 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94453
94453
|
toAdjustedBase64: Z,
|
|
94454
94454
|
toCanvas: ee
|
|
94455
94455
|
};
|
|
94456
|
-
},
|
|
94457
|
-
return
|
|
94458
|
-
return
|
|
94456
|
+
}, k5 = function(a) {
|
|
94457
|
+
return E5(a).then(function(c) {
|
|
94458
|
+
return S5(tx(a), a, c);
|
|
94459
94459
|
});
|
|
94460
94460
|
}, zv = function(a, c) {
|
|
94461
94461
|
return q_(a, c).then(function(v) {
|
|
94462
|
-
return
|
|
94462
|
+
return S5(hd.resolve(a), v, a.toDataURL());
|
|
94463
94463
|
});
|
|
94464
94464
|
}, FD = function(a) {
|
|
94465
|
-
return
|
|
94465
|
+
return k5(a);
|
|
94466
94466
|
}, Kg = function(a, c, v) {
|
|
94467
94467
|
var b = typeof a == "string" ? parseFloat(a) : a;
|
|
94468
94468
|
return b > v ? b = v : b < c && (b = c), b;
|
|
@@ -94704,7 +94704,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94704
94704
|
return D;
|
|
94705
94705
|
}, N = x(b.getImageData(0, 0, a.width, a.height), v);
|
|
94706
94706
|
return b.putImageData(N, 0, 0), zv(a, c);
|
|
94707
|
-
},
|
|
94707
|
+
}, T5 = function(a, c) {
|
|
94708
94708
|
return a.toCanvas().then(function(v) {
|
|
94709
94709
|
return HD(v, a.getType(), c);
|
|
94710
94710
|
});
|
|
@@ -94751,7 +94751,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94751
94751
|
};
|
|
94752
94752
|
}, GD = function(a) {
|
|
94753
94753
|
return function(c) {
|
|
94754
|
-
return
|
|
94754
|
+
return T5(c, a);
|
|
94755
94755
|
};
|
|
94756
94756
|
}, qD = jD([
|
|
94757
94757
|
-1,
|
|
@@ -94791,14 +94791,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94791
94791
|
0,
|
|
94792
94792
|
-1,
|
|
94793
94793
|
0
|
|
94794
|
-
]),
|
|
94794
|
+
]), N5 = WD(function(a, c) {
|
|
94795
94795
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94796
|
-
}),
|
|
94796
|
+
}), A5 = function(a, c, v) {
|
|
94797
94797
|
var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
|
|
94798
94798
|
(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
94799
|
var L = ZD(a, N, D);
|
|
94800
94800
|
return F ? L.then(function(G) {
|
|
94801
|
-
return
|
|
94801
|
+
return A5(G, c, v);
|
|
94802
94802
|
}) : L;
|
|
94803
94803
|
}, ZD = function(a, c, v) {
|
|
94804
94804
|
return new hd(function(b) {
|
|
@@ -94818,9 +94818,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94818
94818
|
return fe.translate(G / 2, Z / 2), fe.rotate(x), fe.drawImage(a, -N / 2, -D / 2), zv(ee, c);
|
|
94819
94819
|
}, tO = function(a, c) {
|
|
94820
94820
|
return a.toCanvas().then(function(v) {
|
|
94821
|
-
return
|
|
94821
|
+
return I5(v, a.getType(), c);
|
|
94822
94822
|
});
|
|
94823
|
-
},
|
|
94823
|
+
}, I5 = function(a, c, v) {
|
|
94824
94824
|
var b = qg(a.width, a.height), x = Oc(b);
|
|
94825
94825
|
return v === "v" ? (x.scale(1, -1), x.drawImage(a, 0, -b.height)) : (x.scale(-1, 1), x.drawImage(a, -b.width, 0)), zv(b, c);
|
|
94826
94826
|
}, nO = function(a, c, v, b, x) {
|
|
@@ -94830,33 +94830,33 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94830
94830
|
}, rO = function(a, c, v, b, x, N) {
|
|
94831
94831
|
var D = qg(x, N), F = Oc(D);
|
|
94832
94832
|
return F.drawImage(a, -v, -b), zv(D, c);
|
|
94833
|
-
},
|
|
94833
|
+
}, D5 = function(a, c, v) {
|
|
94834
94834
|
return a.toCanvas().then(function(b) {
|
|
94835
|
-
return
|
|
94835
|
+
return A5(b, c, v).then(function(x) {
|
|
94836
94836
|
return zv(x, a.getType());
|
|
94837
94837
|
});
|
|
94838
94838
|
});
|
|
94839
|
-
},
|
|
94839
|
+
}, O5 = function(a) {
|
|
94840
94840
|
return qD(a);
|
|
94841
|
-
},
|
|
94841
|
+
}, B5 = function(a) {
|
|
94842
94842
|
return JD(a);
|
|
94843
94843
|
}, oO = function(a, c) {
|
|
94844
|
-
return
|
|
94845
|
-
},
|
|
94844
|
+
return N5(a, c);
|
|
94845
|
+
}, P5 = function(a, c, v, b) {
|
|
94846
94846
|
return XD(a, c, v, b);
|
|
94847
|
-
},
|
|
94847
|
+
}, M5 = function(a, c) {
|
|
94848
94848
|
return KD(a, c);
|
|
94849
94849
|
}, aO = function(a, c) {
|
|
94850
94850
|
return YD(a, c);
|
|
94851
|
-
},
|
|
94851
|
+
}, R5 = function(a, c) {
|
|
94852
94852
|
return tO(a, c);
|
|
94853
94853
|
}, iO = function(a, c, v, b, x) {
|
|
94854
94854
|
return nO(a, c, v, b, x);
|
|
94855
94855
|
}, lO = function(a, c, v) {
|
|
94856
|
-
return
|
|
94857
|
-
}, $
|
|
94856
|
+
return D5(a, c, v);
|
|
94857
|
+
}, $5 = function(a, c) {
|
|
94858
94858
|
return QD(a, c);
|
|
94859
|
-
},
|
|
94859
|
+
}, F5 = function(a, c) {
|
|
94860
94860
|
return ve({
|
|
94861
94861
|
dom: {
|
|
94862
94862
|
tag: "span",
|
|
@@ -94868,9 +94868,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94868
94868
|
}
|
|
94869
94869
|
}, c);
|
|
94870
94870
|
}, K_ = function(a, c) {
|
|
94871
|
-
return
|
|
94872
|
-
},
|
|
94873
|
-
return
|
|
94871
|
+
return F5(ql(a, c), {});
|
|
94872
|
+
}, V5 = function(a, c) {
|
|
94873
|
+
return F5(ql(a, c), { behaviours: Mn([Qr.config({})]) });
|
|
94874
94874
|
}, ox = function(a, c, v) {
|
|
94875
94875
|
return {
|
|
94876
94876
|
dom: {
|
|
@@ -94895,7 +94895,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94895
94895
|
var b = jn(R), x = a.text.map(function(Z) {
|
|
94896
94896
|
return Ro(ox(Z, c, v.providers));
|
|
94897
94897
|
}), N = a.icon.map(function(Z) {
|
|
94898
|
-
return Ro(
|
|
94898
|
+
return Ro(V5(Z, v.providers.icons));
|
|
94899
94899
|
}), D = function(Z, ee) {
|
|
94900
94900
|
var fe = or.getValue(Z);
|
|
94901
94901
|
return Gr.focus(fe), _r(fe, "keydown", { raw: ee.event.raw }), Nc.close(fe), U.some(!0);
|
|
@@ -94962,7 +94962,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94962
94962
|
N.bind(function(fe) {
|
|
94963
94963
|
return fe.getOpt(Z);
|
|
94964
94964
|
}).each(function(fe) {
|
|
94965
|
-
Qr.set(fe, [
|
|
94965
|
+
Qr.set(fe, [V5(ee.event.icon, v.providers.icons)]);
|
|
94966
94966
|
});
|
|
94967
94967
|
})
|
|
94968
94968
|
])
|
|
@@ -94992,7 +94992,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94992
94992
|
return l(a);
|
|
94993
94993
|
}, ux = function(a) {
|
|
94994
94994
|
return a.type === "separator";
|
|
94995
|
-
},
|
|
94995
|
+
}, L5 = function(a) {
|
|
94996
94996
|
return Po(a, "getSubmenuItems");
|
|
94997
94997
|
}, uO = { type: "separator" }, cO = function(a, c) {
|
|
94998
94998
|
var v = Y(a, function(b, x) {
|
|
@@ -95000,14 +95000,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95000
95000
|
}, []);
|
|
95001
95001
|
return v.length > 0 && ux(v[v.length - 1]) && v.pop(), v;
|
|
95002
95002
|
}, fO = function(a, c) {
|
|
95003
|
-
var v = a.getSubmenuItems(), b =
|
|
95003
|
+
var v = a.getSubmenuItems(), b = U5(v, c), x = to(b.menus, ge(a.value, b.items)), N = to(b.expansions, ge(a.value, a.value));
|
|
95004
95004
|
return {
|
|
95005
95005
|
item: a,
|
|
95006
95006
|
menus: x,
|
|
95007
95007
|
expansions: N
|
|
95008
95008
|
};
|
|
95009
95009
|
}, dO = function(a, c) {
|
|
95010
|
-
return
|
|
95010
|
+
return L5(a) ? fO(a, c) : {
|
|
95011
95011
|
item: a,
|
|
95012
95012
|
menus: {},
|
|
95013
95013
|
expansions: {}
|
|
@@ -95019,7 +95019,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95019
95019
|
return Tr("generated-menu-item");
|
|
95020
95020
|
});
|
|
95021
95021
|
return to({ value: c }, a);
|
|
95022
|
-
},
|
|
95022
|
+
}, U5 = function(a, c) {
|
|
95023
95023
|
var v = cO(l(a) ? a.split(" ") : a, c);
|
|
95024
95024
|
return Re(v, function(b, x) {
|
|
95025
95025
|
var N = hO(x), D = dO(N, c);
|
|
@@ -95034,7 +95034,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95034
95034
|
items: []
|
|
95035
95035
|
});
|
|
95036
95036
|
}, Xg = function(a, c, v, b) {
|
|
95037
|
-
var x = Tr("primary-menu"), N =
|
|
95037
|
+
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95038
95038
|
if (N.items.length === 0)
|
|
95039
95039
|
return U.none();
|
|
95040
95040
|
var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
@@ -95109,7 +95109,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95109
95109
|
});
|
|
95110
95110
|
}));
|
|
95111
95111
|
};
|
|
95112
|
-
},
|
|
95112
|
+
}, z5 = function(a, c, v, b, x, N) {
|
|
95113
95113
|
v === void 0 && (v = []);
|
|
95114
95114
|
var D = c.fold(function() {
|
|
95115
95115
|
return {};
|
|
@@ -95153,12 +95153,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95153
95153
|
}, D = a.icon.map(function(L) {
|
|
95154
95154
|
return K_(L, v.icons);
|
|
95155
95155
|
}), F = Ig([D]);
|
|
95156
|
-
return
|
|
95157
|
-
},
|
|
95156
|
+
return z5(a, c, b, N, F, v);
|
|
95157
|
+
}, H5 = function(a, c, v, b) {
|
|
95158
95158
|
b === void 0 && (b = []);
|
|
95159
95159
|
var x = fx(a, U.some(c), v, b);
|
|
95160
95160
|
return Gl.sketch(x);
|
|
95161
|
-
},
|
|
95161
|
+
}, W5 = function(a, c, v, b, x) {
|
|
95162
95162
|
b === void 0 && (b = []), x === void 0 && (x = []);
|
|
95163
95163
|
var N = v.translate(a.text), D = a.icon ? a.icon.map(function(ee) {
|
|
95164
95164
|
return K_(ee, v.icons);
|
|
@@ -95169,12 +95169,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95169
95169
|
tag: "button",
|
|
95170
95170
|
classes: G
|
|
95171
95171
|
}, L), { attributes: { title: N } });
|
|
95172
|
-
return
|
|
95172
|
+
return z5(a, c, b, Z, F, v);
|
|
95173
95173
|
}, dx = function(a, c, v, b, x) {
|
|
95174
95174
|
b === void 0 && (b = []), x === void 0 && (x = []);
|
|
95175
|
-
var N =
|
|
95175
|
+
var N = W5(a, U.some(c), v, b, x);
|
|
95176
95176
|
return Gl.sketch(N);
|
|
95177
|
-
},
|
|
95177
|
+
}, j5 = function(a, c) {
|
|
95178
95178
|
return function(v) {
|
|
95179
95179
|
c === "custom" ? _r(v, ud, {
|
|
95180
95180
|
name: a,
|
|
@@ -95197,17 +95197,17 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95197
95197
|
}), D = Ro(cx(N, "tox-tbtn", v, U.none()));
|
|
95198
95198
|
return D.asSpec();
|
|
95199
95199
|
} else if (gO(a, c)) {
|
|
95200
|
-
var F =
|
|
95200
|
+
var F = j5(a.name, c), L = ve(ve({}, a), { borderless: !1 });
|
|
95201
95201
|
return dx(L, F, v.shared.providers, []);
|
|
95202
95202
|
} else
|
|
95203
95203
|
console.error("Unknown footer button type: ", c);
|
|
95204
95204
|
}, _O = function(a, c) {
|
|
95205
|
-
var v =
|
|
95206
|
-
return d9(U.none(), zo.parts.field(ve({ factory: Gl },
|
|
95205
|
+
var v = j5(a.name, "custom");
|
|
95206
|
+
return d9(U.none(), zo.parts.field(ve({ factory: Gl }, W5(a, U.some(v), c, [
|
|
95207
95207
|
Uv.memory(""),
|
|
95208
95208
|
Dc.self()
|
|
95209
95209
|
]))));
|
|
95210
|
-
},
|
|
95210
|
+
}, G5 = V([
|
|
95211
95211
|
Ot("field1Name", "field1"),
|
|
95212
95212
|
Ot("field2Name", "field2"),
|
|
95213
95213
|
Wa("onLockedChange"),
|
|
@@ -95235,7 +95235,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95235
95235
|
};
|
|
95236
95236
|
}
|
|
95237
95237
|
});
|
|
95238
|
-
},
|
|
95238
|
+
}, q5 = V([
|
|
95239
95239
|
hx("field1", "field2"),
|
|
95240
95240
|
hx("field2", "field1"),
|
|
95241
95241
|
Ni({
|
|
@@ -95252,7 +95252,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95252
95252
|
};
|
|
95253
95253
|
}
|
|
95254
95254
|
})
|
|
95255
|
-
]),
|
|
95255
|
+
]), K5 = function(a, c, v, b) {
|
|
95256
95256
|
return {
|
|
95257
95257
|
uid: a.uid,
|
|
95258
95258
|
dom: a.dom,
|
|
@@ -95293,9 +95293,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95293
95293
|
};
|
|
95294
95294
|
}, uu = kl({
|
|
95295
95295
|
name: "FormCoupledInputs",
|
|
95296
|
-
configFields:
|
|
95297
|
-
partFields:
|
|
95298
|
-
factory:
|
|
95296
|
+
configFields: G5(),
|
|
95297
|
+
partFields: q5(),
|
|
95298
|
+
factory: K5,
|
|
95299
95299
|
apis: {
|
|
95300
95300
|
getField1: function(a, c) {
|
|
95301
95301
|
return a.getField1(c);
|
|
@@ -95335,7 +95335,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95335
95335
|
});
|
|
95336
95336
|
} else
|
|
95337
95337
|
return Zt.error(a);
|
|
95338
|
-
},
|
|
95338
|
+
}, Y5 = function(a, c) {
|
|
95339
95339
|
var v = {
|
|
95340
95340
|
"": 96,
|
|
95341
95341
|
px: 96,
|
|
@@ -95352,7 +95352,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95352
95352
|
return U.none();
|
|
95353
95353
|
}, wO = function(a, c) {
|
|
95354
95354
|
return function(v) {
|
|
95355
|
-
return
|
|
95355
|
+
return Y5(v, c).map(function(b) {
|
|
95356
95356
|
return {
|
|
95357
95357
|
value: b * a,
|
|
95358
95358
|
unit: c
|
|
@@ -95362,13 +95362,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95362
95362
|
}, X_ = function(a, c) {
|
|
95363
95363
|
var v = vx(a).toOptional(), b = vx(c).toOptional();
|
|
95364
95364
|
return W2(v, b, function(x, N) {
|
|
95365
|
-
return
|
|
95365
|
+
return Y5(x, N.unit).map(function(D) {
|
|
95366
95366
|
return N.value / D;
|
|
95367
95367
|
}).map(function(D) {
|
|
95368
95368
|
return wO(D, N.unit);
|
|
95369
95369
|
}).getOr(px);
|
|
95370
95370
|
}).getOr(px);
|
|
95371
|
-
},
|
|
95371
|
+
}, X5 = function(a, c) {
|
|
95372
95372
|
var v = px, b = Tr("ratio-event"), x = uu.parts.lock({
|
|
95373
95373
|
dom: {
|
|
95374
95374
|
tag: "button",
|
|
@@ -95506,14 +95506,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95506
95506
|
})])
|
|
95507
95507
|
])
|
|
95508
95508
|
});
|
|
95509
|
-
}, mx = V(Tr("undo")), CO = V(Tr("redo")), xO = V(Tr("zoom")), EO = V(Tr("back")), SO = V(Tr("apply")),
|
|
95509
|
+
}, mx = V(Tr("undo")), CO = V(Tr("redo")), xO = V(Tr("zoom")), EO = V(Tr("back")), SO = V(Tr("apply")), J5 = V(Tr("swap")), Z5 = V(Tr("transform")), kO = V(Tr("temp-transform")), D3 = V(Tr("transform-apply")), Ji = {
|
|
95510
95510
|
undo: mx,
|
|
95511
95511
|
redo: CO,
|
|
95512
95512
|
zoom: xO,
|
|
95513
95513
|
back: EO,
|
|
95514
95514
|
apply: SO,
|
|
95515
|
-
swap:
|
|
95516
|
-
transform:
|
|
95515
|
+
swap: J5,
|
|
95516
|
+
transform: Z5,
|
|
95517
95517
|
tempTransform: kO,
|
|
95518
95518
|
transformApply: D3
|
|
95519
95519
|
}, TO = V("save-state"), NO = V("disable"), AO = V("enable"), Ns = {
|
|
@@ -95532,7 +95532,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95532
95532
|
borderless: !1
|
|
95533
95533
|
}, vo, c));
|
|
95534
95534
|
}, b = function(dr, vo, ra, ai) {
|
|
95535
|
-
return Ro(
|
|
95535
|
+
return Ro(H5({
|
|
95536
95536
|
name: dr,
|
|
95537
95537
|
icon: U.some(dr),
|
|
95538
95538
|
tooltip: U.some(vo),
|
|
@@ -95618,7 +95618,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95618
95618
|
N(At, dr);
|
|
95619
95619
|
})
|
|
95620
95620
|
])])
|
|
95621
|
-
}), jt = Ro(
|
|
95621
|
+
}), jt = Ro(X5({
|
|
95622
95622
|
name: "size",
|
|
95623
95623
|
label: U.none(),
|
|
95624
95624
|
constrain: !0,
|
|
@@ -95655,7 +95655,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95655
95655
|
return function(ra) {
|
|
95656
95656
|
return dr(ra, vo);
|
|
95657
95657
|
};
|
|
95658
|
-
}, Jn = wr(
|
|
95658
|
+
}, Jn = wr(R5, "h"), fn = wr(R5, "v"), bn = wr($5, -90), hr = wr($5, 90), Fr = function(dr, vo) {
|
|
95659
95659
|
fe(dr, vo);
|
|
95660
95660
|
}, Rn = [
|
|
95661
95661
|
je(),
|
|
@@ -95764,9 +95764,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95764
95764
|
components: mf.map(function(dr) {
|
|
95765
95765
|
return dr.asSpec();
|
|
95766
95766
|
})
|
|
95767
|
-
}), AP = Za("Brightness",
|
|
95767
|
+
}), AP = Za("Brightness", M5, -100, 0, 100), IP = Za("Contrast", aO, -100, 0, 100), xN = Za("Gamma", oO, -100, 0, 100), DP = function(dr, vo, ra) {
|
|
95768
95768
|
return function(ai) {
|
|
95769
|
-
return
|
|
95769
|
+
return P5(ai, dr, vo, ra);
|
|
95770
95770
|
};
|
|
95771
95771
|
}, jx = function(dr) {
|
|
95772
95772
|
var vo = function(ra, ai, vu) {
|
|
@@ -95814,7 +95814,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95814
95814
|
height: vu
|
|
95815
95815
|
});
|
|
95816
95816
|
});
|
|
95817
|
-
}, PP = U.some(
|
|
95817
|
+
}, PP = U.some(B5), Yl = U.some(O5), a0 = [
|
|
95818
95818
|
b("crop", "Crop", hu(rn, U.none(), OP), !1),
|
|
95819
95819
|
b("resize", "Resize", hu(En, U.none(), BP), !1),
|
|
95820
95820
|
b("orientation", "Orientation", hu(Nr, U.none(), F), !1),
|
|
@@ -95855,7 +95855,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95855
95855
|
for (c = "screenX screenY pageX pageY clientX clientY".split(" "), v = 0; v < c.length; v++)
|
|
95856
95856
|
a[c[v]] = a.changedTouches[0][c[v]];
|
|
95857
95857
|
};
|
|
95858
|
-
function
|
|
95858
|
+
function Q5(a, c) {
|
|
95859
95859
|
var v, b = c.document || document, x, N, D, F = b.getElementById(c.handle || a), L = function(fe) {
|
|
95860
95860
|
var Te = DO(b), ze;
|
|
95861
95861
|
_x(fe), fe.preventDefault(), x = fe.button;
|
|
@@ -95965,7 +95965,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95965
95965
|
}, ze = function() {
|
|
95966
95966
|
var Kt = function(En) {
|
|
95967
95967
|
var wr;
|
|
95968
|
-
return
|
|
95968
|
+
return Q5(F, {
|
|
95969
95969
|
document: b.ownerDocument,
|
|
95970
95970
|
handle: F + "-" + En.name,
|
|
95971
95971
|
start: function() {
|
|
@@ -96238,7 +96238,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
96238
96238
|
getMeasurements: je
|
|
96239
96239
|
};
|
|
96240
96240
|
}, B3 = function(a, c, v, b, x) {
|
|
96241
|
-
return
|
|
96241
|
+
return H5({
|
|
96242
96242
|
name: a,
|
|
96243
96243
|
icon: U.some(c),
|
|
96244
96244
|
disabled: v,
|
|
@@ -96987,7 +96987,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
96987
96987
|
};
|
|
96988
96988
|
k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
96989
96989
|
}
|
|
96990
|
-
}, N =
|
|
96990
|
+
}, N = ek(a), D = function(L) {
|
|
96991
96991
|
return function(G) {
|
|
96992
96992
|
return G.map(function(Z) {
|
|
96993
96993
|
var ee = sa(Z.menus), fe = Pt(ee, function(ze) {
|
|
@@ -97112,7 +97112,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97112
97112
|
];
|
|
97113
97113
|
return {
|
|
97114
97114
|
uid: a.uid,
|
|
97115
|
-
dom:
|
|
97115
|
+
dom: tk(to(a, {
|
|
97116
97116
|
inputAttributes: {
|
|
97117
97117
|
role: "combobox",
|
|
97118
97118
|
"aria-autocomplete": "list",
|
|
@@ -97725,7 +97725,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97725
97725
|
return LO(a, c.shared);
|
|
97726
97726
|
}),
|
|
97727
97727
|
iframe: p7(function(a, c) {
|
|
97728
|
-
return
|
|
97728
|
+
return x5(a, c.shared.providers);
|
|
97729
97729
|
}),
|
|
97730
97730
|
button: Zi(function(a, c) {
|
|
97731
97731
|
return _O(a, c.shared.providers);
|
|
@@ -97750,7 +97750,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97750
97750
|
return cu(a, c.shared.providers);
|
|
97751
97751
|
}),
|
|
97752
97752
|
sizeinput: Zi(function(a, c) {
|
|
97753
|
-
return
|
|
97753
|
+
return X5(a, c.shared.providers);
|
|
97754
97754
|
}),
|
|
97755
97755
|
urlinput: Zi(function(a, c) {
|
|
97756
97756
|
return pT(a, c, c.urlinput);
|
|
@@ -105243,7 +105243,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105243
105243
|
tag: "div",
|
|
105244
105244
|
classes: ["tox-dialog__body-iframe"]
|
|
105245
105245
|
},
|
|
105246
|
-
components: [
|
|
105246
|
+
components: [b5({
|
|
105247
105247
|
dom: {
|
|
105248
105248
|
tag: "iframe",
|
|
105249
105249
|
attributes: { src: a.url }
|