@processmaker/modeler 1.51.0 → 1.52.0
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/package.json +3 -3
- package/public/js/vue-form-elements.es.js +520 -547
- package/public/js/vue-form-elements.umd.js +17 -17
|
@@ -12,34 +12,34 @@ var i8 = { exports: {} };
|
|
|
12
12
|
O.exports ? O.exports = w() : g.qinu = w();
|
|
13
13
|
})(fl, function() {
|
|
14
14
|
var g = 8, w = "%qinu%", $ = "1234567890abcdefghijklmnopqrstuvwxyz";
|
|
15
|
-
function Z(
|
|
15
|
+
function Z(Ot, cr, Nr) {
|
|
16
16
|
if (typeof Nr > "u")
|
|
17
|
-
return Z(
|
|
17
|
+
return Z(Ot, cr, "");
|
|
18
18
|
if (Nr.length >= cr)
|
|
19
19
|
return Nr;
|
|
20
|
-
var Ft = Math.floor(Math.random() *
|
|
21
|
-
return Z(
|
|
20
|
+
var Ft = Math.floor(Math.random() * Ot.length), wr = Ot[Ft];
|
|
21
|
+
return Z(Ot, cr, Nr + wr);
|
|
22
22
|
}
|
|
23
|
-
function we(
|
|
24
|
-
for (var Nr = Z(
|
|
23
|
+
function we(Ot, cr) {
|
|
24
|
+
for (var Nr = Z(Ot.chars, Ot.length), Ft = Ot.template.replace(/%qinu%/g, Nr), wr = cr.length; wr--; )
|
|
25
25
|
Ft = Ft.replace(new RegExp("%arg\\[" + wr + "\\]%", "g"), cr[wr]);
|
|
26
26
|
return Ft;
|
|
27
27
|
}
|
|
28
|
-
function ze(
|
|
29
|
-
return
|
|
28
|
+
function ze(Ot) {
|
|
29
|
+
return Ot ? typeof Ot == "object" ? Ot : { length: +Ot } : {};
|
|
30
30
|
}
|
|
31
|
-
function Ot
|
|
32
|
-
|
|
31
|
+
function Tt(Ot, cr) {
|
|
32
|
+
Ot = ze(Ot);
|
|
33
33
|
var Nr = {
|
|
34
|
-
length:
|
|
35
|
-
template:
|
|
36
|
-
chars: (
|
|
34
|
+
length: Ot.length || g,
|
|
35
|
+
template: Ot.template || w,
|
|
36
|
+
chars: (Ot.chars || $).slice()
|
|
37
37
|
};
|
|
38
|
-
return cr instanceof Array || (cr = Array.prototype.slice.call(arguments, 1)),
|
|
38
|
+
return cr instanceof Array || (cr = Array.prototype.slice.call(arguments, 1)), Ot.args && (cr = Ot.args.concat(cr)), we(Nr, cr);
|
|
39
39
|
}
|
|
40
|
-
return
|
|
41
|
-
return
|
|
42
|
-
},
|
|
40
|
+
return Tt.create = function(Ot) {
|
|
41
|
+
return Tt.bind(null, Ot);
|
|
42
|
+
}, Tt;
|
|
43
43
|
});
|
|
44
44
|
})(i8);
|
|
45
45
|
var zq = i8.exports;
|
|
@@ -52,7 +52,7 @@ function Mq(O, g = {}) {
|
|
|
52
52
|
Z.context.$options.uniqIdsConfig || (Z.context.$options.uniqIdsConfig = { scope: {} });
|
|
53
53
|
const we = Z.context.$options.uniqIdsConfig;
|
|
54
54
|
Rq(we) && (we.scope = {});
|
|
55
|
-
const ze = Object.assign({}, g, we),
|
|
55
|
+
const ze = Object.assign({}, g, we), Tt = typeof we.scope == "object" ? we.scope : we.scope && {} || g.scope || {}, Ot = $.value, cr = Pq(Ot, Tt, ze);
|
|
56
56
|
cr ? w.setAttribute(O, cr) : w.removeAttribute(O);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -95,7 +95,7 @@ var Kz = { exports: {} };
|
|
|
95
95
|
Kz.exports;
|
|
96
96
|
(function(O, g) {
|
|
97
97
|
(function() {
|
|
98
|
-
var w, $ = "4.17.21", Z = 200, we = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", ze = "Expected a function",
|
|
98
|
+
var w, $ = "4.17.21", Z = 200, we = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", ze = "Expected a function", Tt = "Invalid `variable` option passed into `_.template`", Ot = "__lodash_hash_undefined__", cr = 500, Nr = "__lodash_placeholder__", Ft = 1, wr = 2, On = 4, va = 1, it = 2, Tr = 1, En = 2, ea = 4, se = 8, fr = 16, bt = 32, xr = 64, vr = 128, Xt = 256, Gt = 512, _t = 30, Ai = "...", re = 800, Se = 16, Xe = 1, $t = 2, Pe = 3, ur = 1 / 0, G = 9007199254740991, C = 17976931348623157e292, Le = 0 / 0, ot = 4294967295, Mt = ot - 1, dn = ot >>> 1, ua = [
|
|
99
99
|
["ary", vr],
|
|
100
100
|
["bind", Tr],
|
|
101
101
|
["bindKey", En],
|
|
@@ -779,7 +779,7 @@ Kz.exports;
|
|
|
779
779
|
var d = this.__data__;
|
|
780
780
|
if (zr) {
|
|
781
781
|
var x = d[f];
|
|
782
|
-
return x ===
|
|
782
|
+
return x === Ot ? w : x;
|
|
783
783
|
}
|
|
784
784
|
return na.call(d, f) ? d[f] : w;
|
|
785
785
|
}
|
|
@@ -789,7 +789,7 @@ Kz.exports;
|
|
|
789
789
|
}
|
|
790
790
|
function Am(f, d) {
|
|
791
791
|
var x = this.__data__;
|
|
792
|
-
return this.size += this.has(f) ? 0 : 1, x[f] = zr && d === w ?
|
|
792
|
+
return this.size += this.has(f) ? 0 : 1, x[f] = zr && d === w ? Ot : d, this;
|
|
793
793
|
}
|
|
794
794
|
Iv.prototype.clear = Dp, Iv.prototype.delete = Lx, Iv.prototype.get = Hx, Iv.prototype.has = _d, Iv.prototype.set = Am;
|
|
795
795
|
function oc(f) {
|
|
@@ -856,7 +856,7 @@ Kz.exports;
|
|
|
856
856
|
this.add(f[d]);
|
|
857
857
|
}
|
|
858
858
|
function Mi(f) {
|
|
859
|
-
return this.__data__.set(f,
|
|
859
|
+
return this.__data__.set(f, Ot), this;
|
|
860
860
|
}
|
|
861
861
|
function zm(f) {
|
|
862
862
|
return this.__data__.has(f);
|
|
@@ -3413,7 +3413,7 @@ __p += '`), sn && (xt += `' +
|
|
|
3413
3413
|
}
|
|
3414
3414
|
`;
|
|
3415
3415
|
else if (xn.test(Br))
|
|
3416
|
-
throw new qr(
|
|
3416
|
+
throw new qr(Tt);
|
|
3417
3417
|
xt = (Te ? xt.replace(ji, "") : xt).replace(ia, "$1").replace($u, "$1;"), xt = "function(" + (Br || "obj") + `) {
|
|
3418
3418
|
` + (Br ? "" : `obj || (obj = {});
|
|
3419
3419
|
`) + "var __t, __p = ''" + (pe ? ", __e = _.escape" : "") + (Te ? `, __j = Array.prototype.join;
|
|
@@ -7637,7 +7637,7 @@ const Rx = class Rx {
|
|
|
7637
7637
|
}
|
|
7638
7638
|
};
|
|
7639
7639
|
Mn(Rx, "replacements", {});
|
|
7640
|
-
let
|
|
7640
|
+
let X$ = Rx;
|
|
7641
7641
|
class Op {
|
|
7642
7642
|
static _set(g, w) {
|
|
7643
7643
|
this.messages[g] = w;
|
|
@@ -7655,7 +7655,7 @@ class Op {
|
|
|
7655
7655
|
}
|
|
7656
7656
|
static _make(g) {
|
|
7657
7657
|
const w = Object.create(this.messages);
|
|
7658
|
-
return this._load(g), new
|
|
7658
|
+
return this._load(g), new X$(w[g]);
|
|
7659
7659
|
}
|
|
7660
7660
|
}
|
|
7661
7661
|
Mn(Op, "messages", {});
|
|
@@ -7684,8 +7684,8 @@ const qU = (O) => O === "on" || O === "yes" || O === 1 || O === "1" || O === !0,
|
|
|
7684
7684
|
if (w.length > 8 && !we || w.length != 8 && $ == null)
|
|
7685
7685
|
return !1;
|
|
7686
7686
|
for (const ze of w) {
|
|
7687
|
-
const
|
|
7688
|
-
if (
|
|
7687
|
+
const Tt = ze;
|
|
7688
|
+
if (Tt.length != 0 && (!g.test(Tt) || Tt.length > 4))
|
|
7689
7689
|
return !1;
|
|
7690
7690
|
}
|
|
7691
7691
|
return !0;
|
|
@@ -7745,7 +7745,7 @@ const s0 = class s0 {
|
|
|
7745
7745
|
validate(g, w, $ = "", Z = null) {
|
|
7746
7746
|
if (this._setValidatingData($, g, w), typeof Z == "function") {
|
|
7747
7747
|
this.callback = Z;
|
|
7748
|
-
const we = (ze,
|
|
7748
|
+
const we = (ze, Tt) => this.response(ze, Tt);
|
|
7749
7749
|
return this.async ? this._apply(g, w, $, we) : we(this._apply(g, w, $));
|
|
7750
7750
|
}
|
|
7751
7751
|
return this._apply(g, w, $);
|
|
@@ -7956,10 +7956,10 @@ const Ds = class Ds {
|
|
|
7956
7956
|
for (let g in this.rules) {
|
|
7957
7957
|
const w = this.rules[g], $ = vn.get(this.input, g);
|
|
7958
7958
|
if (!this._passesOptionalCheck(g))
|
|
7959
|
-
for (let Z = 0, we = w.length, ze,
|
|
7960
|
-
|
|
7961
|
-
const { name: cr, value: Nr } =
|
|
7962
|
-
if (ze = this.getRule(cr), !!this._isValidatable(ze, $) && (
|
|
7959
|
+
for (let Z = 0, we = w.length, ze, Tt, Ot; Z < we; Z++) {
|
|
7960
|
+
Tt = w[Z];
|
|
7961
|
+
const { name: cr, value: Nr } = Tt;
|
|
7962
|
+
if (ze = this.getRule(cr), !!this._isValidatable(ze, $) && (Ot = ze.validate($, Nr, g), Ot || (cr === "confirmed" && this.confirmedReverse && (g = `${g}_confirmation`, Object.assign(ze, { attribute: g })), this._addFailure(ze)), this._shouldStopValidating(g, Ot)))
|
|
7963
7963
|
break;
|
|
7964
7964
|
}
|
|
7965
7965
|
}
|
|
@@ -7969,17 +7969,17 @@ const Ds = class Ds {
|
|
|
7969
7969
|
const $ = () => {
|
|
7970
7970
|
};
|
|
7971
7971
|
g = g || $, w = w || $;
|
|
7972
|
-
const Z = (
|
|
7973
|
-
|
|
7974
|
-
}, ze = new Nq(Z, we),
|
|
7972
|
+
const Z = (Ot, cr = "") => this._addFailure(Ot, cr), we = (Ot) => {
|
|
7973
|
+
Ot && typeof g == "function" ? g() : w();
|
|
7974
|
+
}, ze = new Nq(Z, we), Tt = (Ot, cr, Nr, Ft) => () => {
|
|
7975
7975
|
const wr = ze.add(Ft);
|
|
7976
|
-
Ft.validate(
|
|
7976
|
+
Ft.validate(Ot, cr.value, Nr, () => ze.resolve(wr));
|
|
7977
7977
|
};
|
|
7978
|
-
for (const
|
|
7979
|
-
const cr = this.rules[
|
|
7980
|
-
if (!this._passesOptionalCheck(
|
|
7978
|
+
for (const Ot in this.rules) {
|
|
7979
|
+
const cr = this.rules[Ot], Nr = vn.get(this.input, Ot);
|
|
7980
|
+
if (!this._passesOptionalCheck(Ot))
|
|
7981
7981
|
for (let Ft = 0, wr = cr.length, On, va; Ft < wr; Ft++)
|
|
7982
|
-
va = cr[Ft], On = this.getRule(va.name), this._isValidatable(On, Nr) &&
|
|
7982
|
+
va = cr[Ft], On = this.getRule(va.name), this._isValidatable(On, Nr) && Tt(Nr, va, Ot, On)();
|
|
7983
7983
|
}
|
|
7984
7984
|
ze.enableFiring(), ze.fire();
|
|
7985
7985
|
}
|
|
@@ -8051,17 +8051,17 @@ const Ds = class Ds {
|
|
|
8051
8051
|
_parsedRulesRecurse(g, w, $, Z = []) {
|
|
8052
8052
|
const we = g.substring(0, g.indexOf("*") - 1), ze = vn.get(this.input, we);
|
|
8053
8053
|
if (ze)
|
|
8054
|
-
for (let
|
|
8055
|
-
const
|
|
8056
|
-
|
|
8054
|
+
for (let Tt = 0; Tt < ze.length; Tt++) {
|
|
8055
|
+
const Ot = Z.slice();
|
|
8056
|
+
Ot.push(Tt), this._parseRulesCheck(g.replace(/\*/g, String(Tt)), w, $, Ot);
|
|
8057
8057
|
}
|
|
8058
8058
|
}
|
|
8059
8059
|
_parseRulesDefault(g, w, $, Z) {
|
|
8060
8060
|
const we = [];
|
|
8061
8061
|
w instanceof Array && (w = this._prepareRulesArray(w)), typeof w == "string" && (w = w.split("|"));
|
|
8062
8062
|
for (const ze of w) {
|
|
8063
|
-
const
|
|
8064
|
-
|
|
8063
|
+
const Tt = this._extractRuleAndRuleValue(ze);
|
|
8064
|
+
Tt.value && (Tt.value = this._replaceWildCards(Tt.value, Z)), this._replaceWildCardsMessages(Z), Ds.manager.isAsync(Tt.name) && (this.hasAsync = !0), we.push(Tt);
|
|
8065
8065
|
}
|
|
8066
8066
|
$[g] = we;
|
|
8067
8067
|
}
|
|
@@ -8373,21 +8373,21 @@ const l8 = {
|
|
|
8373
8373
|
};
|
|
8374
8374
|
Kn.tz.setDefault(uT());
|
|
8375
8375
|
const dW = /^\d{4}-/;
|
|
8376
|
-
function
|
|
8376
|
+
function Z$(O) {
|
|
8377
8377
|
if (typeof ProcessMaker < "u" && ProcessMaker.user)
|
|
8378
8378
|
return ProcessMaker.user[O];
|
|
8379
8379
|
}
|
|
8380
8380
|
function uT() {
|
|
8381
|
-
return
|
|
8381
|
+
return Z$("timezone") || Kn.tz.guess();
|
|
8382
8382
|
}
|
|
8383
8383
|
function mW() {
|
|
8384
|
-
return
|
|
8384
|
+
return Z$("lang") || "en";
|
|
8385
8385
|
}
|
|
8386
8386
|
function Mx() {
|
|
8387
8387
|
return typeof ProcessMaker < "u" && ProcessMaker.user && ProcessMaker.user.datetime_format ? ProcessMaker.user.datetime_format.replace(/[\sHh:msaAzZ]/g, "") : "MM/DD/YYYY";
|
|
8388
8388
|
}
|
|
8389
8389
|
function cT() {
|
|
8390
|
-
return
|
|
8390
|
+
return Z$("datetime_format") || "MM/DD/YYYY h:mm A";
|
|
8391
8391
|
}
|
|
8392
8392
|
function hW(O, g = Mx()) {
|
|
8393
8393
|
return Kn(O, g).isValid();
|
|
@@ -8503,33 +8503,33 @@ const Bx = {
|
|
|
8503
8503
|
}
|
|
8504
8504
|
}
|
|
8505
8505
|
};
|
|
8506
|
-
function tu(O, g, w, $, Z, we, ze,
|
|
8507
|
-
var
|
|
8508
|
-
g && (
|
|
8506
|
+
function tu(O, g, w, $, Z, we, ze, Tt) {
|
|
8507
|
+
var Ot = typeof O == "function" ? O.options : O;
|
|
8508
|
+
g && (Ot.render = g, Ot.staticRenderFns = w, Ot._compiled = !0), $ && (Ot.functional = !0), we && (Ot._scopeId = "data-v-" + we);
|
|
8509
8509
|
var cr;
|
|
8510
8510
|
if (ze ? (cr = function(wr) {
|
|
8511
8511
|
wr = wr || // cached call
|
|
8512
8512
|
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
8513
8513
|
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !wr && typeof __VUE_SSR_CONTEXT__ < "u" && (wr = __VUE_SSR_CONTEXT__), Z && Z.call(this, wr), wr && wr._registeredComponents && wr._registeredComponents.add(ze);
|
|
8514
|
-
},
|
|
8514
|
+
}, Ot._ssrRegister = cr) : Z && (cr = Tt ? function() {
|
|
8515
8515
|
Z.call(
|
|
8516
8516
|
this,
|
|
8517
|
-
(
|
|
8517
|
+
(Ot.functional ? this.parent : this).$root.$options.shadowRoot
|
|
8518
8518
|
);
|
|
8519
8519
|
} : Z), cr)
|
|
8520
|
-
if (
|
|
8521
|
-
|
|
8522
|
-
var Nr =
|
|
8523
|
-
|
|
8520
|
+
if (Ot.functional) {
|
|
8521
|
+
Ot._injectStyles = cr;
|
|
8522
|
+
var Nr = Ot.render;
|
|
8523
|
+
Ot.render = function(On, va) {
|
|
8524
8524
|
return cr.call(va), Nr(On, va);
|
|
8525
8525
|
};
|
|
8526
8526
|
} else {
|
|
8527
|
-
var Ft =
|
|
8528
|
-
|
|
8527
|
+
var Ft = Ot.beforeCreate;
|
|
8528
|
+
Ot.beforeCreate = Ft ? [].concat(Ft, cr) : [cr];
|
|
8529
8529
|
}
|
|
8530
8530
|
return {
|
|
8531
8531
|
exports: O,
|
|
8532
|
-
options:
|
|
8532
|
+
options: Ot
|
|
8533
8533
|
};
|
|
8534
8534
|
}
|
|
8535
8535
|
const gW = {
|
|
@@ -8685,7 +8685,7 @@ var PW = function() {
|
|
|
8685
8685
|
null,
|
|
8686
8686
|
null
|
|
8687
8687
|
);
|
|
8688
|
-
const BW = MW.exports,
|
|
8688
|
+
const BW = MW.exports, Q$ = {
|
|
8689
8689
|
name: "hasDefaultOptionKeyMixin",
|
|
8690
8690
|
computed: {
|
|
8691
8691
|
valueOrDefault() {
|
|
@@ -8712,7 +8712,7 @@ function qL(O) {
|
|
|
8712
8712
|
}
|
|
8713
8713
|
const FW = {
|
|
8714
8714
|
inheritAttrs: !1,
|
|
8715
|
-
mixins: [IW, Bx,
|
|
8715
|
+
mixins: [IW, Bx, Q$],
|
|
8716
8716
|
props: [
|
|
8717
8717
|
"name",
|
|
8718
8718
|
"label",
|
|
@@ -8788,7 +8788,7 @@ const jW = {
|
|
|
8788
8788
|
components: {
|
|
8789
8789
|
DisplayErrors: Yz
|
|
8790
8790
|
},
|
|
8791
|
-
mixins: [VW, Mc, Bx,
|
|
8791
|
+
mixins: [VW, Mc, Bx, Q$],
|
|
8792
8792
|
props: [
|
|
8793
8793
|
"label",
|
|
8794
8794
|
"error",
|
|
@@ -8870,10 +8870,10 @@ var f8 = { exports: {} };
|
|
|
8870
8870
|
function ze(re) {
|
|
8871
8871
|
return re.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
8872
8872
|
}
|
|
8873
|
-
function
|
|
8873
|
+
function Tt(re, Se) {
|
|
8874
8874
|
return re != null && typeof re == "object" && Se in re;
|
|
8875
8875
|
}
|
|
8876
|
-
function
|
|
8876
|
+
function Ot(re, Se) {
|
|
8877
8877
|
return re != null && typeof re != "object" && re.hasOwnProperty && re.hasOwnProperty(Se);
|
|
8878
8878
|
}
|
|
8879
8879
|
var cr = RegExp.prototype.test;
|
|
@@ -9000,9 +9000,9 @@ var f8 = { exports: {} };
|
|
|
9000
9000
|
for (var Pe = this, ur, G, C, Le = !1; Pe; ) {
|
|
9001
9001
|
if (Se.indexOf(".") > 0)
|
|
9002
9002
|
for (ur = Pe.view, G = Se.split("."), C = 0; ur != null && C < G.length; )
|
|
9003
|
-
C === G.length - 1 && (Le =
|
|
9003
|
+
C === G.length - 1 && (Le = Tt(ur, G[C]) || Ot(ur, G[C])), ur = ur[G[C++]];
|
|
9004
9004
|
else
|
|
9005
|
-
ur = Pe.view[Se], Le =
|
|
9005
|
+
ur = Pe.view[Se], Le = Tt(Pe.view, Se);
|
|
9006
9006
|
if (Le) {
|
|
9007
9007
|
$t = ur;
|
|
9008
9008
|
break;
|
|
@@ -9158,28 +9158,28 @@ const YW = Rc(), XW = {
|
|
|
9158
9158
|
return O ? O[g] : null;
|
|
9159
9159
|
},
|
|
9160
9160
|
toMultiSelectFormat(O, g, w, $, Z) {
|
|
9161
|
-
const we = O === null || typeof O > "u", ze = Array.isArray(O),
|
|
9161
|
+
const we = O === null || typeof O > "u", ze = Array.isArray(O), Tt = ze && O.length > 0 ? typeof O[0] == "object" : typeof O == "object";
|
|
9162
9162
|
if (we)
|
|
9163
9163
|
return null;
|
|
9164
9164
|
if (ze && O.length === 0)
|
|
9165
9165
|
return $ ? [] : null;
|
|
9166
|
-
if (ze !== $ ||
|
|
9166
|
+
if (ze !== $ || Tt !== Z)
|
|
9167
9167
|
return null;
|
|
9168
|
-
if (ze &&
|
|
9168
|
+
if (ze && Tt)
|
|
9169
9169
|
return O;
|
|
9170
|
-
if (ze && !
|
|
9171
|
-
return w.filter((
|
|
9172
|
-
const cr =
|
|
9170
|
+
if (ze && !Tt)
|
|
9171
|
+
return w.filter((Ot) => {
|
|
9172
|
+
const cr = Ot[g] ? Ot[g] : null;
|
|
9173
9173
|
return O.findIndex((Nr) => Nr === cr) >= 0 && cr !== null;
|
|
9174
9174
|
});
|
|
9175
|
-
if (!ze &&
|
|
9175
|
+
if (!ze && Tt)
|
|
9176
9176
|
return O;
|
|
9177
|
-
if (!ze && !
|
|
9178
|
-
const
|
|
9177
|
+
if (!ze && !Tt) {
|
|
9178
|
+
const Ot = w.filter((cr) => {
|
|
9179
9179
|
const Nr = g in cr ? cr[g] : null;
|
|
9180
9180
|
return O == Nr && Nr !== null;
|
|
9181
9181
|
});
|
|
9182
|
-
return
|
|
9182
|
+
return Ot.length > 0 ? Ot[0] : [];
|
|
9183
9183
|
}
|
|
9184
9184
|
}
|
|
9185
9185
|
}
|
|
@@ -9260,12 +9260,12 @@ var nG = function() {
|
|
|
9260
9260
|
var g = this, w = g._self._c;
|
|
9261
9261
|
return w("div", g._l(g.options, function($, Z) {
|
|
9262
9262
|
return w("div", { key: g.getOptionValue($), class: g.divClass }, [w("input", g._b({ directives: [{ name: "uni-id", rawName: "v-uni-id", value: g.getOptionId($, Z), expression: "getOptionId(option, index)" }, { name: "model", rawName: "v-model", value: g.selected, expression: "selected" }], class: g.inputClass, attrs: { type: "checkbox", name: `${g.name}`, disabled: g.isReadOnly }, domProps: { value: g.emitObjects ? $ : g.getOptionValue($), checked: Array.isArray(g.selected) ? g._i(g.selected, g.emitObjects ? $ : g.getOptionValue($)) > -1 : g.selected }, on: { change: [function(we) {
|
|
9263
|
-
var ze = g.selected,
|
|
9263
|
+
var ze = g.selected, Tt = we.target, Ot = !!Tt.checked;
|
|
9264
9264
|
if (Array.isArray(ze)) {
|
|
9265
9265
|
var cr = g.emitObjects ? $ : g.getOptionValue($), Nr = g._i(ze, cr);
|
|
9266
|
-
|
|
9266
|
+
Tt.checked ? Nr < 0 && (g.selected = ze.concat([cr])) : Nr > -1 && (g.selected = ze.slice(0, Nr).concat(ze.slice(Nr + 1)));
|
|
9267
9267
|
} else
|
|
9268
|
-
g.selected =
|
|
9268
|
+
g.selected = Ot;
|
|
9269
9269
|
}, function(we) {
|
|
9270
9270
|
return g.$emit("input", g.selected);
|
|
9271
9271
|
}] } }, "input", g.$attrs, !1)), w("label", { directives: [{ name: "uni-for", rawName: "v-uni-for", value: g.getOptionId($, Z), expression: "getOptionId(option, index)" }], class: g.labelClass }, [g._v(" " + g._s(g.getOptionContent($)) + " ")])]);
|
|
@@ -9391,12 +9391,6 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9391
9391
|
countWithoutFilter: null
|
|
9392
9392
|
};
|
|
9393
9393
|
},
|
|
9394
|
-
mounted() {
|
|
9395
|
-
this.$root.$on("selectListOptionsUpdated", this.onSelectListOptionsUpdated);
|
|
9396
|
-
},
|
|
9397
|
-
beforeDestroy() {
|
|
9398
|
-
this.$root.$off("selectListOptionsUpdated", this.onSelectListOptionsUpdated);
|
|
9399
|
-
},
|
|
9400
9394
|
computed: {
|
|
9401
9395
|
selectListOptionsWithSelected() {
|
|
9402
9396
|
return this.selectedOption && !this.selectListOptions.some((O) => O.value === this.selectedOption.value) ? [this.selectedOption, ...this.selectListOptions] : this.selectListOptions;
|
|
@@ -9470,12 +9464,6 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9470
9464
|
handler() {
|
|
9471
9465
|
this.isCollection && this.value && !this.selectListOptions.some((O) => O.value === this.value) && this.loadIndividualRecord();
|
|
9472
9466
|
}
|
|
9473
|
-
},
|
|
9474
|
-
value: {
|
|
9475
|
-
deep: !0,
|
|
9476
|
-
handler(O) {
|
|
9477
|
-
O && typeof O == "object" && this.isMultiSelectDisabled() && this.updateOption(O);
|
|
9478
|
-
}
|
|
9479
9467
|
}
|
|
9480
9468
|
},
|
|
9481
9469
|
methods: {
|
|
@@ -9487,21 +9475,6 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9487
9475
|
isMultiSelectDisabled() {
|
|
9488
9476
|
return this.options.allowMultiSelect === !1;
|
|
9489
9477
|
},
|
|
9490
|
-
/**
|
|
9491
|
-
* Updates the specified option with the provided updated value.
|
|
9492
|
-
*
|
|
9493
|
-
* @param {Object} updatedValue - The updated value of the option.
|
|
9494
|
-
*/
|
|
9495
|
-
updateOption(O) {
|
|
9496
|
-
const g = this.selectListOptions.findIndex((w) => w.id === O.id);
|
|
9497
|
-
g !== -1 && this.$set(this.selectListOptions, g, O);
|
|
9498
|
-
},
|
|
9499
|
-
/**
|
|
9500
|
-
* If the value is an object, it updates the selected option if necessary.
|
|
9501
|
-
*/
|
|
9502
|
-
onSelectListOptionsUpdated() {
|
|
9503
|
-
this.value && typeof this.value == "object" && this.isMultiSelectDisabled() && this.updateOption(this.value);
|
|
9504
|
-
},
|
|
9505
9478
|
renderPmql(O) {
|
|
9506
9479
|
if (typeof O < "u" && O !== "" && O !== null) {
|
|
9507
9480
|
const g = this.makeProxyData();
|
|
@@ -9525,9 +9498,9 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9525
9498
|
}
|
|
9526
9499
|
};
|
|
9527
9500
|
if (typeof this.options.pmqlQuery < "u" && this.options.pmqlQuery !== "" && this.options.pmqlQuery !== null) {
|
|
9528
|
-
const ze = this.makeProxyData(),
|
|
9501
|
+
const ze = this.makeProxyData(), Tt = os.render(this.options.pmqlQuery, { data: ze });
|
|
9529
9502
|
Z.config.outboundConfig = [
|
|
9530
|
-
{ type: "PARAM", key: "pmql", value:
|
|
9503
|
+
{ type: "PARAM", key: "pmql", value: Tt }
|
|
9531
9504
|
];
|
|
9532
9505
|
}
|
|
9533
9506
|
const we = { selectedDataSource: w, params: Z };
|
|
@@ -9538,8 +9511,8 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9538
9511
|
const ze = await this.$dataProvider.getDataSource(
|
|
9539
9512
|
w,
|
|
9540
9513
|
Z
|
|
9541
|
-
),
|
|
9542
|
-
return this.selectListOptions =
|
|
9514
|
+
), Tt = $ ? vn.get(ze.data, $) : ze.data, Ot = this.transformOptions(Tt);
|
|
9515
|
+
return this.selectListOptions = Ot, !0;
|
|
9543
9516
|
} catch (ze) {
|
|
9544
9517
|
return console.warn(ze), !1;
|
|
9545
9518
|
}
|
|
@@ -9624,11 +9597,11 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9624
9597
|
const g = this.attributeParent(this.options.value), w = [];
|
|
9625
9598
|
return Array.isArray(O) ? (O.forEach(($) => {
|
|
9626
9599
|
const { escape: Z } = os;
|
|
9627
|
-
os.escape = (
|
|
9600
|
+
os.escape = (Tt) => Tt;
|
|
9628
9601
|
let we = {};
|
|
9629
9602
|
if (this.options.key) {
|
|
9630
|
-
const
|
|
9631
|
-
we[this.optionsKey] =
|
|
9603
|
+
const Tt = this.options.key.indexOf("{{") >= 0 ? os.render(this.options.key, $) : os.render(`{{${this.options.key || "value"}}}`, $);
|
|
9604
|
+
we[this.optionsKey] = Tt;
|
|
9632
9605
|
}
|
|
9633
9606
|
const ze = this.options.value.indexOf("{{") >= 0 ? os.render(this.options.value, $) : os.render(`{{${this.options.value || "content"}}}`, $);
|
|
9634
9607
|
os.escape = Z, we[this.optionsValue] = ze, this.options.valueTypeReturned === "object" && (we = g.length > 0 ? vn.get($, g) : $, we.hasOwnProperty(this.optionsValue) || Object.defineProperty(we, this.optionsValue, {
|
|
@@ -9661,8 +9634,8 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9661
9634
|
return w.forEach((Z) => {
|
|
9662
9635
|
const ze = Z.substr(2, Z.length - 4).trim().split(".");
|
|
9663
9636
|
ze.pop();
|
|
9664
|
-
const
|
|
9665
|
-
(!$ || $.length >
|
|
9637
|
+
const Tt = ze.join(".");
|
|
9638
|
+
(!$ || $.length > Tt.length) && ($ = Tt);
|
|
9666
9639
|
}), $;
|
|
9667
9640
|
}
|
|
9668
9641
|
} else {
|
|
@@ -9774,9 +9747,9 @@ function cK(O) {
|
|
|
9774
9747
|
var w = uK.test(O);
|
|
9775
9748
|
return w || sK.test(O) ? lK(O.slice(2), w ? 2 : 8) : oK.test(O) ? JL : +O;
|
|
9776
9749
|
}
|
|
9777
|
-
var fK = cK, vK = eN,
|
|
9750
|
+
var fK = cK, vK = eN, K$ = OG, ZL = fK, dK = "Expected a function", mK = Math.max, hK = Math.min;
|
|
9778
9751
|
function gK(O, g, w) {
|
|
9779
|
-
var $, Z, we, ze,
|
|
9752
|
+
var $, Z, we, ze, Tt, Ot, cr = 0, Nr = !1, Ft = !1, wr = !0;
|
|
9780
9753
|
if (typeof O != "function")
|
|
9781
9754
|
throw new TypeError(dK);
|
|
9782
9755
|
g = ZL(g) || 0, vK(w) && (Nr = !!w.leading, Ft = "maxWait" in w, we = Ft ? mK(ZL(w.maxWait) || 0, g) : we, wr = "trailing" in w ? !!w.trailing : wr);
|
|
@@ -9785,40 +9758,40 @@ function gK(O, g, w) {
|
|
|
9785
9758
|
return $ = Z = void 0, cr = xr, ze = O.apply(Xt, vr), ze;
|
|
9786
9759
|
}
|
|
9787
9760
|
function va(xr) {
|
|
9788
|
-
return cr = xr,
|
|
9761
|
+
return cr = xr, Tt = setTimeout(En, g), Nr ? On(xr) : ze;
|
|
9789
9762
|
}
|
|
9790
9763
|
function it(xr) {
|
|
9791
|
-
var vr = xr -
|
|
9764
|
+
var vr = xr - Ot, Xt = xr - cr, Gt = g - vr;
|
|
9792
9765
|
return Ft ? hK(Gt, we - Xt) : Gt;
|
|
9793
9766
|
}
|
|
9794
9767
|
function Tr(xr) {
|
|
9795
|
-
var vr = xr -
|
|
9796
|
-
return
|
|
9768
|
+
var vr = xr - Ot, Xt = xr - cr;
|
|
9769
|
+
return Ot === void 0 || vr >= g || vr < 0 || Ft && Xt >= we;
|
|
9797
9770
|
}
|
|
9798
9771
|
function En() {
|
|
9799
|
-
var xr =
|
|
9772
|
+
var xr = K$();
|
|
9800
9773
|
if (Tr(xr))
|
|
9801
9774
|
return ea(xr);
|
|
9802
|
-
|
|
9775
|
+
Tt = setTimeout(En, it(xr));
|
|
9803
9776
|
}
|
|
9804
9777
|
function ea(xr) {
|
|
9805
|
-
return
|
|
9778
|
+
return Tt = void 0, wr && $ ? On(xr) : ($ = Z = void 0, ze);
|
|
9806
9779
|
}
|
|
9807
9780
|
function se() {
|
|
9808
|
-
|
|
9781
|
+
Tt !== void 0 && clearTimeout(Tt), cr = 0, $ = Ot = Z = Tt = void 0;
|
|
9809
9782
|
}
|
|
9810
9783
|
function fr() {
|
|
9811
|
-
return
|
|
9784
|
+
return Tt === void 0 ? ze : ea(K$());
|
|
9812
9785
|
}
|
|
9813
9786
|
function bt() {
|
|
9814
|
-
var xr =
|
|
9815
|
-
if ($ = arguments, Z = this,
|
|
9816
|
-
if (
|
|
9817
|
-
return va(
|
|
9787
|
+
var xr = K$(), vr = Tr(xr);
|
|
9788
|
+
if ($ = arguments, Z = this, Ot = xr, vr) {
|
|
9789
|
+
if (Tt === void 0)
|
|
9790
|
+
return va(Ot);
|
|
9818
9791
|
if (Ft)
|
|
9819
|
-
return clearTimeout(
|
|
9792
|
+
return clearTimeout(Tt), Tt = setTimeout(En, g), On(Ot);
|
|
9820
9793
|
}
|
|
9821
|
-
return
|
|
9794
|
+
return Tt === void 0 && (Tt = setTimeout(En, g)), ze;
|
|
9822
9795
|
}
|
|
9823
9796
|
return bt.cancel = se, bt.flush = fr, bt;
|
|
9824
9797
|
}
|
|
@@ -9959,15 +9932,15 @@ var kK = [
|
|
|
9959
9932
|
toolbar: [String, Array],
|
|
9960
9933
|
value: String,
|
|
9961
9934
|
disabled: Boolean
|
|
9962
|
-
},
|
|
9963
|
-
return
|
|
9935
|
+
}, J$ = globalThis && globalThis.__assign || function() {
|
|
9936
|
+
return J$ = Object.assign || function(O) {
|
|
9964
9937
|
for (var g, w = 1, $ = arguments.length; w < $; w++) {
|
|
9965
9938
|
g = arguments[w];
|
|
9966
9939
|
for (var Z in g)
|
|
9967
9940
|
Object.prototype.hasOwnProperty.call(g, Z) && (O[Z] = g[Z]);
|
|
9968
9941
|
}
|
|
9969
9942
|
return O;
|
|
9970
|
-
},
|
|
9943
|
+
}, J$.apply(this, arguments);
|
|
9971
9944
|
}, IK = PK(), FK = function(O, g, w) {
|
|
9972
9945
|
return O(w || "div", {
|
|
9973
9946
|
attrs: { id: g }
|
|
@@ -9979,7 +9952,7 @@ var kK = [
|
|
|
9979
9952
|
});
|
|
9980
9953
|
}, t8 = function(O) {
|
|
9981
9954
|
return function() {
|
|
9982
|
-
var g =
|
|
9955
|
+
var g = J$({}, O.$props.init, { readonly: O.$props.disabled, selector: "#" + O.elementId, plugins: zK(O.$props.init && O.$props.init.plugins, O.$props.plugins), toolbar: O.$props.toolbar || O.$props.init && O.$props.init.toolbar, inline: O.inlineEditor, setup: function(w) {
|
|
9983
9956
|
O.editor = w, w.on("init", function($) {
|
|
9984
9957
|
return EK($, O, w);
|
|
9985
9958
|
}), O.$props.init && typeof O.$props.init.setup == "function" && O.$props.init.setup(w);
|
|
@@ -10041,7 +10014,7 @@ var kK = [
|
|
|
10041
10014
|
return { eq: e };
|
|
10042
10015
|
}, ze = we(function(e, r) {
|
|
10043
10016
|
return e === r;
|
|
10044
|
-
}),
|
|
10017
|
+
}), Tt = ze, Ot = function(e) {
|
|
10045
10018
|
return we(function(r, a) {
|
|
10046
10019
|
if (r.length !== a.length)
|
|
10047
10020
|
return !1;
|
|
@@ -10051,13 +10024,13 @@ var kK = [
|
|
|
10051
10024
|
return !0;
|
|
10052
10025
|
});
|
|
10053
10026
|
}, cr = function(e, r) {
|
|
10054
|
-
return Z(
|
|
10027
|
+
return Z(Ot(e), function(a) {
|
|
10055
10028
|
return $(a, r);
|
|
10056
10029
|
});
|
|
10057
10030
|
}, Nr = function(e) {
|
|
10058
10031
|
return we(function(r, a) {
|
|
10059
10032
|
var o = Object.keys(r), u = Object.keys(a);
|
|
10060
|
-
if (!cr(
|
|
10033
|
+
if (!cr(Tt).eq(o, u))
|
|
10061
10034
|
return !1;
|
|
10062
10035
|
for (var l = o.length, m = 0; m < l; m++) {
|
|
10063
10036
|
var p = o[m];
|
|
@@ -10070,7 +10043,7 @@ var kK = [
|
|
|
10070
10043
|
if (e === r)
|
|
10071
10044
|
return !0;
|
|
10072
10045
|
var a = g(e), o = g(r);
|
|
10073
|
-
return a !== o ? !1 : w(a) ? e === r : a === "array" ?
|
|
10046
|
+
return a !== o ? !1 : w(a) ? e === r : a === "array" ? Ot(Ft).eq(e, r) : a === "object" ? Nr(Ft).eq(e, r) : !1;
|
|
10074
10047
|
}), wr = function(e) {
|
|
10075
10048
|
var r = typeof e;
|
|
10076
10049
|
return e === null ? "null" : r === "object" && (Array.prototype.isPrototypeOf(e) || e.constructor && e.constructor.name === "Array") ? "array" : r === "object" && (String.prototype.isPrototypeOf(e) || e.constructor && e.constructor.name === "String") ? "string" : r;
|
|
@@ -14302,7 +14275,7 @@ Required: ` + r.join(", "));
|
|
|
14302
14275
|
}
|
|
14303
14276
|
return I.unbind(fe, De, ut);
|
|
14304
14277
|
}
|
|
14305
|
-
},
|
|
14278
|
+
}, r$ = function(fe, De, ut) {
|
|
14306
14279
|
return I.fire(fe, De, ut);
|
|
14307
14280
|
}, JS = function(fe) {
|
|
14308
14281
|
if (fe && mr(fe)) {
|
|
@@ -14310,11 +14283,11 @@ Required: ` + r.join(", "));
|
|
|
14310
14283
|
return De && De !== "inherit" ? De : fe.contentEditable !== "inherit" ? fe.contentEditable : null;
|
|
14311
14284
|
} else
|
|
14312
14285
|
return null;
|
|
14313
|
-
},
|
|
14286
|
+
}, n$ = function(fe) {
|
|
14314
14287
|
for (var De = xe(), ut = null; fe && fe !== De && (ut = JS(fe), ut === null); fe = fe.parentNode)
|
|
14315
14288
|
;
|
|
14316
14289
|
return ut;
|
|
14317
|
-
},
|
|
14290
|
+
}, a$ = function() {
|
|
14318
14291
|
if (T.length > 0)
|
|
14319
14292
|
for (var fe = T.length; fe--; ) {
|
|
14320
14293
|
var De = T[fe];
|
|
@@ -14323,7 +14296,7 @@ Required: ` + r.join(", "));
|
|
|
14323
14296
|
ia(u, function(ut, mt) {
|
|
14324
14297
|
b.unload(mt), delete u[mt];
|
|
14325
14298
|
}), Pn.setDocument && Pn.setDocument();
|
|
14326
|
-
},
|
|
14299
|
+
}, i$ = function(fe, De) {
|
|
14327
14300
|
if (tg) {
|
|
14328
14301
|
for (; fe; ) {
|
|
14329
14302
|
if (De === fe)
|
|
@@ -14406,11 +14379,11 @@ Required: ` + r.join(", "));
|
|
|
14406
14379
|
split: wx,
|
|
14407
14380
|
bind: YS,
|
|
14408
14381
|
unbind: XS,
|
|
14409
|
-
fire:
|
|
14382
|
+
fire: r$,
|
|
14410
14383
|
getContentEditable: JS,
|
|
14411
|
-
getContentEditableParent:
|
|
14412
|
-
destroy:
|
|
14413
|
-
isChildOf:
|
|
14384
|
+
getContentEditableParent: n$,
|
|
14385
|
+
destroy: a$,
|
|
14386
|
+
isChildOf: i$,
|
|
14414
14387
|
dumpRng: Ez
|
|
14415
14388
|
}, Az = n_(B, r, Se(fd));
|
|
14416
14389
|
return fd;
|
|
@@ -25417,13 +25390,13 @@ Settings:` + p + a.join(p) : "";
|
|
|
25417
25390
|
}, QF = function(e) {
|
|
25418
25391
|
var r = MS.create("div");
|
|
25419
25392
|
return MS.insertAfter(r, e), IS(r);
|
|
25420
|
-
},
|
|
25393
|
+
}, e6 = function(e) {
|
|
25421
25394
|
var r = e.getElement();
|
|
25422
25395
|
return e.inline ? IS(null) : QF(r);
|
|
25423
25396
|
}, JA = function(e) {
|
|
25424
25397
|
var r = e.getElement();
|
|
25425
|
-
return e.orgDisplay = r.style.display, Tr(Bl(e)) ? JF(e) : Xt(Bl(e)) ? ZF(e) :
|
|
25426
|
-
},
|
|
25398
|
+
return e.orgDisplay = r.style.display, Tr(Bl(e)) ? JF(e) : Xt(Bl(e)) ? ZF(e) : e6(e);
|
|
25399
|
+
}, t6 = function(e, r) {
|
|
25427
25400
|
var a = {
|
|
25428
25401
|
show: Y.from(r.show).getOr(_t),
|
|
25429
25402
|
hide: Y.from(r.hide).getOr(_t),
|
|
@@ -25437,7 +25410,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25437
25410
|
}, ZA = function(e) {
|
|
25438
25411
|
e.fire("ScriptsLoaded"), XA(e), XF(e), YA(e);
|
|
25439
25412
|
var r = JA(e);
|
|
25440
|
-
|
|
25413
|
+
t6(e, Y.from(r.api).getOr({}));
|
|
25441
25414
|
var a = {
|
|
25442
25415
|
editorContainer: r.editorContainer,
|
|
25443
25416
|
iframeContainer: r.iframeContainer
|
|
@@ -25445,7 +25418,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25445
25418
|
return e.editorContainer = a.editorContainer ? a.editorContainer : null, EM(e), e.inline ? RS(e) : YF(e, a);
|
|
25446
25419
|
}, pm = oa.DOM, QA = function(e) {
|
|
25447
25420
|
return e.charAt(0) === "-";
|
|
25448
|
-
},
|
|
25421
|
+
}, r6 = function(e, r) {
|
|
25449
25422
|
var a = ey(r), o = D_(r);
|
|
25450
25423
|
if (Fr.hasCode(a) === !1 && a !== "en") {
|
|
25451
25424
|
var u = o !== "" ? o : r.editorManager.baseURL + "/langs/" + a + ".js";
|
|
@@ -25453,7 +25426,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25453
25426
|
OM(r, u, a);
|
|
25454
25427
|
});
|
|
25455
25428
|
}
|
|
25456
|
-
},
|
|
25429
|
+
}, n6 = function(e, r, a, o) {
|
|
25457
25430
|
var u = Bl(r);
|
|
25458
25431
|
if (Tr(u)) {
|
|
25459
25432
|
if (!QA(u) && !$r(kc.urls, u)) {
|
|
@@ -25483,7 +25456,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25483
25456
|
name: Y.some(o)
|
|
25484
25457
|
};
|
|
25485
25458
|
});
|
|
25486
|
-
},
|
|
25459
|
+
}, a6 = function(e, r, a) {
|
|
25487
25460
|
var o = FS(r, "default", a), u = ez(r).orThunk(function() {
|
|
25488
25461
|
return FS(r, Q0(r), "");
|
|
25489
25462
|
});
|
|
@@ -25495,7 +25468,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25495
25468
|
G3(r, l.url, l.name.getOrUndefined());
|
|
25496
25469
|
});
|
|
25497
25470
|
});
|
|
25498
|
-
},
|
|
25471
|
+
}, i6 = function(e, r) {
|
|
25499
25472
|
Ie.each(X_(e), function(a, o) {
|
|
25500
25473
|
Ao.load(o, a, _t, void 0, function() {
|
|
25501
25474
|
Ck(e, a, o);
|
|
@@ -25526,21 +25499,21 @@ Settings:` + p + a.join(p) : "";
|
|
|
25526
25499
|
});
|
|
25527
25500
|
}
|
|
25528
25501
|
});
|
|
25529
|
-
},
|
|
25502
|
+
}, o6 = function(e, r) {
|
|
25530
25503
|
var a = ff.ScriptLoader;
|
|
25531
|
-
|
|
25532
|
-
|
|
25504
|
+
n6(a, e, r, function() {
|
|
25505
|
+
r6(a, e), a6(a, e, r), i6(e, r), a.loadQueue(function() {
|
|
25533
25506
|
e.removed || ZA(e);
|
|
25534
25507
|
}, e, function() {
|
|
25535
25508
|
e.removed || ZA(e);
|
|
25536
25509
|
});
|
|
25537
25510
|
});
|
|
25538
|
-
},
|
|
25511
|
+
}, u6 = function(e, r) {
|
|
25539
25512
|
return El.forElement(e, {
|
|
25540
25513
|
contentCssCors: Y_(r),
|
|
25541
25514
|
referrerPolicy: kb(r)
|
|
25542
25515
|
});
|
|
25543
|
-
},
|
|
25516
|
+
}, s6 = function(e) {
|
|
25544
25517
|
var r = e.id;
|
|
25545
25518
|
Fr.setCode(ey(e));
|
|
25546
25519
|
var a = function() {
|
|
@@ -25556,7 +25529,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25556
25529
|
Hr(o.dom.attributes, function(m) {
|
|
25557
25530
|
return Me(o, m.name);
|
|
25558
25531
|
}), M(o, u);
|
|
25559
|
-
}), e.ui.styleSheetLoader =
|
|
25532
|
+
}), e.ui.styleSheetLoader = u6(o, e), L_(e) ? e.inline = !0 : (e.orgVisibility = e.getElement().style.visibility, e.getElement().style.visibility = "hidden");
|
|
25560
25533
|
var l = e.getElement().form || pm.getParent(r, "form");
|
|
25561
25534
|
l && (e.formElement = l, H_(e) && !yu(e.getElement()) && (pm.insertAfter(pm.create("input", {
|
|
25562
25535
|
type: "hidden",
|
|
@@ -25577,17 +25550,17 @@ Settings:` + p + a.join(p) : "";
|
|
|
25577
25550
|
no_events: !0,
|
|
25578
25551
|
set_dirty: !1
|
|
25579
25552
|
});
|
|
25580
|
-
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e),
|
|
25553
|
+
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e), o6(e, e.suffix);
|
|
25581
25554
|
}
|
|
25582
|
-
},
|
|
25555
|
+
}, l6 = function(e, r) {
|
|
25583
25556
|
return v3(e, r);
|
|
25584
|
-
},
|
|
25557
|
+
}, c6 = {
|
|
25585
25558
|
"font-size": "size",
|
|
25586
25559
|
"font-family": "face"
|
|
25587
|
-
},
|
|
25560
|
+
}, f6 = function(e, r, a) {
|
|
25588
25561
|
var o = function(l) {
|
|
25589
25562
|
return vi(l, e).orThunk(function() {
|
|
25590
|
-
return Va(l) === "font" ? ta(
|
|
25563
|
+
return Va(l) === "font" ? ta(c6, e).bind(function(m) {
|
|
25591
25564
|
return ee(l, m);
|
|
25592
25565
|
}) : Y.none();
|
|
25593
25566
|
});
|
|
@@ -25597,17 +25570,17 @@ Settings:` + p + a.join(p) : "";
|
|
|
25597
25570
|
return AC(D.fromDom(a), function(l) {
|
|
25598
25571
|
return o(l);
|
|
25599
25572
|
}, u);
|
|
25600
|
-
},
|
|
25573
|
+
}, v6 = function(e) {
|
|
25601
25574
|
return e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ",");
|
|
25602
|
-
},
|
|
25575
|
+
}, d6 = function(e, r) {
|
|
25603
25576
|
return Y.from(oa.DOM.getStyle(r, e, !0));
|
|
25604
25577
|
}, Z1 = function(e) {
|
|
25605
25578
|
return function(r, a) {
|
|
25606
25579
|
return Y.from(a).map(D.fromDom).filter(sa).bind(function(o) {
|
|
25607
|
-
return
|
|
25580
|
+
return f6(e, r, o.dom).or(d6(e, o.dom));
|
|
25608
25581
|
}).getOr("");
|
|
25609
25582
|
};
|
|
25610
|
-
}, tz = Z1("font-size"), rz = Ai(
|
|
25583
|
+
}, tz = Z1("font-size"), rz = Ai(v6, Z1("font-family")), m6 = function(e) {
|
|
25611
25584
|
return Ca(e.getBody()).map(function(r) {
|
|
25612
25585
|
var a = r.container();
|
|
25613
25586
|
return At(a) ? a.parentNode : a;
|
|
@@ -25618,7 +25591,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25618
25591
|
return o ? Y.none() : Y.from(e.selection.getStart(!0));
|
|
25619
25592
|
});
|
|
25620
25593
|
}, az = function(e, r) {
|
|
25621
|
-
return nz(e).orThunk(Pe(
|
|
25594
|
+
return nz(e).orThunk(Pe(m6, e)).map(D.fromDom).filter(sa).bind(r);
|
|
25622
25595
|
}, $S = function(e, r) {
|
|
25623
25596
|
return az(e, re(Y.some, r));
|
|
25624
25597
|
}, iz = function(e, r) {
|
|
@@ -25631,25 +25604,25 @@ Settings:` + p + a.join(p) : "";
|
|
|
25631
25604
|
return r;
|
|
25632
25605
|
} else
|
|
25633
25606
|
return r;
|
|
25634
|
-
},
|
|
25607
|
+
}, h6 = function(e) {
|
|
25635
25608
|
var r = e.split(/\s*,\s*/);
|
|
25636
25609
|
return Cr(r, function(a) {
|
|
25637
25610
|
return a.indexOf(" ") !== -1 && !(Da(a, '"') || Da(a, "'")) ? "'" + a + "'" : a;
|
|
25638
25611
|
}).join(",");
|
|
25639
25612
|
}, NS = function(e, r) {
|
|
25640
25613
|
var a = iz(e, r);
|
|
25641
|
-
e.formatter.toggle("fontname", { value:
|
|
25642
|
-
},
|
|
25614
|
+
e.formatter.toggle("fontname", { value: h6(a) }), e.nodeChanged();
|
|
25615
|
+
}, g6 = function(e) {
|
|
25643
25616
|
return $S(e, function(r) {
|
|
25644
25617
|
return rz(e.getBody(), r.dom);
|
|
25645
25618
|
}).getOr("");
|
|
25646
25619
|
}, LS = function(e, r) {
|
|
25647
25620
|
e.formatter.toggle("fontsize", { value: iz(e, r) }), e.nodeChanged();
|
|
25648
|
-
},
|
|
25621
|
+
}, p6 = function(e) {
|
|
25649
25622
|
return $S(e, function(r) {
|
|
25650
25623
|
return tz(e.getBody(), r.dom);
|
|
25651
25624
|
}).getOr("");
|
|
25652
|
-
},
|
|
25625
|
+
}, b6 = function(e) {
|
|
25653
25626
|
return $S(e, function(r) {
|
|
25654
25627
|
var a = D.fromDom(e.getBody()), o = AC(r, function(l) {
|
|
25655
25628
|
return vi(l, "line-height");
|
|
@@ -25659,7 +25632,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25659
25632
|
};
|
|
25660
25633
|
return o.getOrThunk(u);
|
|
25661
25634
|
}).getOr("");
|
|
25662
|
-
},
|
|
25635
|
+
}, y6 = function(e, r) {
|
|
25663
25636
|
e.formatter.toggle("lineheight", { value: String(r) }), e.nodeChanged();
|
|
25664
25637
|
}, oz = function(e) {
|
|
25665
25638
|
if (typeof e != "string") {
|
|
@@ -25676,10 +25649,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
25676
25649
|
content: e,
|
|
25677
25650
|
details: {}
|
|
25678
25651
|
};
|
|
25679
|
-
},
|
|
25652
|
+
}, x6 = function(e, r) {
|
|
25680
25653
|
var a = oz(r);
|
|
25681
25654
|
S1(e, a.content, a.details);
|
|
25682
|
-
}, lx = Ie.each,
|
|
25655
|
+
}, lx = Ie.each, _6 = Ie.map, w6 = Ie.inArray, uz = function() {
|
|
25683
25656
|
function e(r) {
|
|
25684
25657
|
this.commands = {
|
|
25685
25658
|
state: {},
|
|
@@ -25850,7 +25823,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25850
25823
|
LS(r, m);
|
|
25851
25824
|
},
|
|
25852
25825
|
LineHeight: function(u, l, m) {
|
|
25853
|
-
|
|
25826
|
+
y6(r, m);
|
|
25854
25827
|
},
|
|
25855
25828
|
Lang: function(u, l, m) {
|
|
25856
25829
|
a.toggleFormat(u, {
|
|
@@ -25886,7 +25859,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25886
25859
|
r.selection.select(m);
|
|
25887
25860
|
},
|
|
25888
25861
|
mceInsertContent: function(u, l, m) {
|
|
25889
|
-
|
|
25862
|
+
x6(r, m);
|
|
25890
25863
|
},
|
|
25891
25864
|
mceInsertRawHTML: function(u, l, m) {
|
|
25892
25865
|
r.selection.setContent("tiny_mce_marker");
|
|
@@ -25938,10 +25911,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
25938
25911
|
});
|
|
25939
25912
|
var o = function(u) {
|
|
25940
25913
|
return function() {
|
|
25941
|
-
var l = r.selection, m = l.isCollapsed() ? [r.dom.getParent(l.getNode(), r.dom.isBlock)] : l.getSelectedBlocks(), p =
|
|
25914
|
+
var l = r.selection, m = l.isCollapsed() ? [r.dom.getParent(l.getNode(), r.dom.isBlock)] : l.getSelectedBlocks(), p = _6(m, function(b) {
|
|
25942
25915
|
return !!r.formatter.matchNode(b, u);
|
|
25943
25916
|
});
|
|
25944
|
-
return
|
|
25917
|
+
return w6(p, !0) !== -1;
|
|
25945
25918
|
};
|
|
25946
25919
|
};
|
|
25947
25920
|
a.addCommands({
|
|
@@ -25970,11 +25943,11 @@ Settings:` + p + a.join(p) : "";
|
|
|
25970
25943
|
r.undoManager.redo();
|
|
25971
25944
|
}
|
|
25972
25945
|
}), a.addQueryValueHandler("FontName", function() {
|
|
25973
|
-
return
|
|
25946
|
+
return g6(r);
|
|
25974
25947
|
}, this), a.addQueryValueHandler("FontSize", function() {
|
|
25975
|
-
return
|
|
25948
|
+
return p6(r);
|
|
25976
25949
|
}, this), a.addQueryValueHandler("LineHeight", function() {
|
|
25977
|
-
return
|
|
25950
|
+
return b6(r);
|
|
25978
25951
|
}, this);
|
|
25979
25952
|
}, e;
|
|
25980
25953
|
}(), ao = "data-mce-contenteditable", Ch = function(e, r, a) {
|
|
@@ -25986,23 +25959,23 @@ Settings:` + p + a.join(p) : "";
|
|
|
25986
25959
|
}
|
|
25987
25960
|
}, cx = function(e, r) {
|
|
25988
25961
|
e.dom.contentEditable = r ? "true" : "false";
|
|
25989
|
-
},
|
|
25962
|
+
}, C6 = function(e) {
|
|
25990
25963
|
ct(fu(e, '*[contenteditable="true"]'), function(r) {
|
|
25991
25964
|
S(r, ao, "true"), cx(r, !1);
|
|
25992
25965
|
});
|
|
25993
|
-
},
|
|
25966
|
+
}, k6 = function(e) {
|
|
25994
25967
|
ct(fu(e, "*[" + ao + '="true"]'), function(r) {
|
|
25995
25968
|
Me(r, ao), cx(r, !0);
|
|
25996
25969
|
});
|
|
25997
|
-
},
|
|
25970
|
+
}, S6 = function(e) {
|
|
25998
25971
|
Y.from(e.selection.getNode()).each(function(r) {
|
|
25999
25972
|
r.removeAttribute("data-mce-selected");
|
|
26000
25973
|
});
|
|
26001
|
-
},
|
|
25974
|
+
}, T6 = function(e) {
|
|
26002
25975
|
e.selection.setRng(e.selection.getRng());
|
|
26003
25976
|
}, sz = function(e, r) {
|
|
26004
25977
|
var a = D.fromDom(e.getBody());
|
|
26005
|
-
Ch(a, "mce-content-readonly", r), r ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(),
|
|
25978
|
+
Ch(a, "mce-content-readonly", r), r ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), S6(e), e.readonly = !0, cx(a, !1), C6(a)) : (e.readonly = !1, cx(a, !0), k6(a), HS(e, "StyleWithCSS", !1), HS(e, "enableInlineTableEditing", !1), HS(e, "enableObjectResizing", !1), Ny(e) && e.focus(), T6(e), e.nodeChanged());
|
|
26006
25979
|
}, Ac = function(e) {
|
|
26007
25980
|
return e.readonly;
|
|
26008
25981
|
}, lz = function(e) {
|
|
@@ -26015,11 +25988,11 @@ Settings:` + p + a.join(p) : "";
|
|
|
26015
25988
|
a.attr("contenteditable", a.attr(ao));
|
|
26016
25989
|
});
|
|
26017
25990
|
}), e.serializer.addTempAttr(ao);
|
|
26018
|
-
},
|
|
25991
|
+
}, O6 = function(e) {
|
|
26019
25992
|
e.serializer ? lz(e) : e.on("PreInit", function() {
|
|
26020
25993
|
lz(e);
|
|
26021
25994
|
});
|
|
26022
|
-
},
|
|
25995
|
+
}, E6 = function(e) {
|
|
26023
25996
|
return e.type === "click";
|
|
26024
25997
|
}, Ef = function(e, r) {
|
|
26025
25998
|
var a = function(o) {
|
|
@@ -26028,8 +26001,8 @@ Settings:` + p + a.join(p) : "";
|
|
|
26028
26001
|
return ca(r, "a", a).bind(function(o) {
|
|
26029
26002
|
return ee(o, "href");
|
|
26030
26003
|
});
|
|
26031
|
-
},
|
|
26032
|
-
if (
|
|
26004
|
+
}, A6 = function(e, r) {
|
|
26005
|
+
if (E6(r) && !ir.metaKeyPressed(r)) {
|
|
26033
26006
|
var a = D.fromDom(r.target);
|
|
26034
26007
|
Ef(e, a).each(function(o) {
|
|
26035
26008
|
if (r.preventDefault(), /^#/.test(o)) {
|
|
@@ -26039,7 +26012,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26039
26012
|
window.open(o, "_blank", "rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes");
|
|
26040
26013
|
});
|
|
26041
26014
|
}
|
|
26042
|
-
},
|
|
26015
|
+
}, z6 = function(e) {
|
|
26043
26016
|
e.on("ShowCaret", function(r) {
|
|
26044
26017
|
Ac(e) && r.preventDefault();
|
|
26045
26018
|
}), e.on("ObjectSelected", function(r) {
|
|
@@ -26149,10 +26122,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
26149
26122
|
return e.getDoc().documentElement;
|
|
26150
26123
|
var a = Ab(e);
|
|
26151
26124
|
return a ? (e.eventRoot || (e.eventRoot = xp.select(a)[0]), e.eventRoot) : e.getBody();
|
|
26152
|
-
},
|
|
26125
|
+
}, D6 = function(e) {
|
|
26153
26126
|
return !e.hidden && !Ac(e);
|
|
26154
26127
|
}, fz = function(e, r, a) {
|
|
26155
|
-
|
|
26128
|
+
D6(e) ? e.fire(r, a) : Ac(e) && A6(e, a);
|
|
26156
26129
|
}, vz = function(e, r) {
|
|
26157
26130
|
var a;
|
|
26158
26131
|
if (e.delegates || (e.delegates = {}), !(e.delegates[r] || e.removed)) {
|
|
@@ -26212,7 +26185,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26212
26185
|
return mz(e, a, r, o);
|
|
26213
26186
|
});
|
|
26214
26187
|
}
|
|
26215
|
-
},
|
|
26188
|
+
}, P6 = function(e, r, a) {
|
|
26216
26189
|
var o;
|
|
26217
26190
|
if (Vt(dz, r))
|
|
26218
26191
|
throw new Error("Cannot override default mode " + r);
|
|
@@ -26225,7 +26198,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26225
26198
|
}
|
|
26226
26199
|
}
|
|
26227
26200
|
}), o));
|
|
26228
|
-
},
|
|
26201
|
+
}, R6 = function(e) {
|
|
26229
26202
|
var r = ho("design"), a = ho({
|
|
26230
26203
|
design: {
|
|
26231
26204
|
activate: _t,
|
|
@@ -26238,7 +26211,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26238
26211
|
editorReadOnly: !0
|
|
26239
26212
|
}
|
|
26240
26213
|
});
|
|
26241
|
-
return
|
|
26214
|
+
return O6(e), z6(e), {
|
|
26242
26215
|
isReadOnly: function() {
|
|
26243
26216
|
return Ac(e);
|
|
26244
26217
|
},
|
|
@@ -26249,7 +26222,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26249
26222
|
return r.get();
|
|
26250
26223
|
},
|
|
26251
26224
|
register: function(o, u) {
|
|
26252
|
-
a.set(
|
|
26225
|
+
a.set(P6(a.get(), o, u));
|
|
26253
26226
|
}
|
|
26254
26227
|
};
|
|
26255
26228
|
}, qS = Ie.each, US = Ie.explode, gz = {
|
|
@@ -26319,7 +26292,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26319
26292
|
}, e.prototype.executeShortcutAction = function(r) {
|
|
26320
26293
|
return r.func ? r.func.call(r.scope) : null;
|
|
26321
26294
|
}, e;
|
|
26322
|
-
}(),
|
|
26295
|
+
}(), M6 = function() {
|
|
26323
26296
|
var e = {}, r = {}, a = {}, o = {}, u = {}, l = {}, m = {}, p = function(T, R) {
|
|
26324
26297
|
return function(B, I) {
|
|
26325
26298
|
return T[B.toLowerCase()] = rr(rr({}, I), { type: R });
|
|
@@ -26355,7 +26328,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26355
26328
|
}
|
|
26356
26329
|
};
|
|
26357
26330
|
}, WS = function() {
|
|
26358
|
-
var e =
|
|
26331
|
+
var e = M6();
|
|
26359
26332
|
return {
|
|
26360
26333
|
addAutocompleter: e.addAutocompleter,
|
|
26361
26334
|
addButton: e.addButton,
|
|
@@ -26373,7 +26346,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26373
26346
|
addToggleMenuItem: e.addToggleMenuItem,
|
|
26374
26347
|
getAll: e.getAll
|
|
26375
26348
|
};
|
|
26376
|
-
}, bm = oa.DOM, yz = Ie.extend,
|
|
26349
|
+
}, bm = oa.DOM, yz = Ie.extend, B6 = Ie.each, xz = Ie.resolve, I6 = Jt.ie, dx = function() {
|
|
26377
26350
|
function e(r, a, o) {
|
|
26378
26351
|
var u = this;
|
|
26379
26352
|
this.plugins = {}, this.contentCSS = [], this.contentStyles = [], this.loadedCSS = {}, this.isNotDirty = !1, this.editorManager = o, this.documentBaseUrl = o.documentBaseURL, yz(this, jS), this.settings = Jo(this, r, this.documentBaseUrl, o.defaultSettings, a), this.settings.suffix && (o.suffix = this.settings.suffix), this.suffix = o.suffix, this.settings.base_url && o._setBaseUrl(this.settings.base_url), this.baseUri = o.baseURI, this.settings.referrer_policy && (ff.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy), oa.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)), Ea.languageLoad = this.settings.language_load, Ea.baseURL = o.baseURL, this.id = r, this.setDirty(!1), this.documentBaseURI = new em(this.settings.document_base_url, { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = !!this.settings.inline, this.shortcuts = new bz(this), this.editorCommands = new uz(this), this.settings.cache_suffix && (Jt.cacheSuffix = this.settings.cache_suffix.replace(/^[\?\&]+/, "")), this.ui = {
|
|
@@ -26385,7 +26358,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26385
26358
|
disable: _t,
|
|
26386
26359
|
isDisabled: ot
|
|
26387
26360
|
};
|
|
26388
|
-
var l = this, m =
|
|
26361
|
+
var l = this, m = R6(l);
|
|
26389
26362
|
this.mode = m, this.setMode = m.set, o.fire("SetupEditor", { editor: this }), this.execCallback("setup", this), this.$ = _r.overrideDefaults(function() {
|
|
26390
26363
|
return {
|
|
26391
26364
|
context: u.inline ? u.getBody() : u.getDoc(),
|
|
@@ -26394,7 +26367,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26394
26367
|
});
|
|
26395
26368
|
}
|
|
26396
26369
|
return e.prototype.render = function() {
|
|
26397
|
-
|
|
26370
|
+
s6(this);
|
|
26398
26371
|
}, e.prototype.focus = function(r) {
|
|
26399
26372
|
this.execCommand("mceFocus", !1, r);
|
|
26400
26373
|
}, e.prototype.hasFocus = function() {
|
|
@@ -26438,7 +26411,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26438
26411
|
r.hidden && (r.hidden = !1, r.inline ? r.getBody().contentEditable = "true" : (bm.show(r.getContainer()), bm.hide(r.id)), r.load(), r.fire("show"));
|
|
26439
26412
|
}, e.prototype.hide = function() {
|
|
26440
26413
|
var r = this, a = r.getDoc();
|
|
26441
|
-
r.hidden || (
|
|
26414
|
+
r.hidden || (I6 && a && !r.inline && a.execCommand("SelectAll"), r.save(), r.inline ? (r.getBody().contentEditable = "false", r === r.editorManager.focusedEditor && (r.editorManager.focusedEditor = null)) : (bm.hide(r.getContainer()), bm.setStyle(r.id, "display", r.orgDisplay)), r.hidden = !0, r.fire("hide"));
|
|
26442
26415
|
}, e.prototype.isHidden = function() {
|
|
26443
26416
|
return !!this.hidden;
|
|
26444
26417
|
}, e.prototype.setProgressState = function(r, a) {
|
|
@@ -26458,7 +26431,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26458
26431
|
}, e.prototype.save = function(r) {
|
|
26459
26432
|
var a = this, o = a.getElement(), u, l;
|
|
26460
26433
|
if (!(!o || !a.initialized || a.removed))
|
|
26461
|
-
return r = r || {}, r.save = !0, r.element = o, u = r.content = a.getContent(r), r.no_events || a.fire("SaveContent", r), r.format === "raw" && a.fire("RawSaveContent", r), u = r.content, yu(o) ? o.value = u : ((r.is_removing || !a.inline) && (o.innerHTML = u), (l = bm.getParent(a.id, "form")) &&
|
|
26434
|
+
return r = r || {}, r.save = !0, r.element = o, u = r.content = a.getContent(r), r.no_events || a.fire("SaveContent", r), r.format === "raw" && a.fire("RawSaveContent", r), u = r.content, yu(o) ? o.value = u : ((r.is_removing || !a.inline) && (o.innerHTML = u), (l = bm.getParent(a.id, "form")) && B6(l.elements, function(m) {
|
|
26462
26435
|
if (m.name === a.id)
|
|
26463
26436
|
return m.value = u, !1;
|
|
26464
26437
|
})), r.element = o = null, r.set_dirty !== !1 && a.setDirty(!1), u;
|
|
@@ -26495,7 +26468,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26495
26468
|
var u = this, l = u.settings;
|
|
26496
26469
|
return l.urlconverter_callback ? u.execCallback("urlconverter_callback", r, o, !0, a) : !l.convert_urls || o && o.nodeName === "LINK" || r.indexOf("file:") === 0 || r.length === 0 ? r : l.relative_urls ? u.documentBaseURI.toRelative(r) : (r = u.documentBaseURI.toAbsolute(r, l.remove_script_host), r);
|
|
26497
26470
|
}, e.prototype.addVisual = function(r) {
|
|
26498
|
-
|
|
26471
|
+
l6(this, r);
|
|
26499
26472
|
}, e.prototype.remove = function() {
|
|
26500
26473
|
tM(this);
|
|
26501
26474
|
}, e.prototype.destroy = function(r) {
|
|
@@ -26513,7 +26486,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26513
26486
|
}, e.prototype.addContextToolbar = function() {
|
|
26514
26487
|
throw new Error("editor.addContextToolbar has been removed in tinymce 5x, use editor.ui.registry.addContextToolbar instead");
|
|
26515
26488
|
}, e;
|
|
26516
|
-
}(), zc = oa.DOM,
|
|
26489
|
+
}(), zc = oa.DOM, F6 = Ie.explode, wv = Ie.each, $6 = Ie.extend, hu = 0, mx = !1, ql, ld = [], Du = [], N6 = function(e) {
|
|
26517
26490
|
return e !== "length";
|
|
26518
26491
|
}, hx = function(e) {
|
|
26519
26492
|
var r = e.type;
|
|
@@ -26542,7 +26515,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26542
26515
|
}), ym.activeEditor === e && (ym.activeEditor = Du.length > 0 ? Du[0] : null), ym.focusedEditor === e && (ym.focusedEditor = null), r.length !== Du.length;
|
|
26543
26516
|
}, _z = function(e) {
|
|
26544
26517
|
return e && e.initialized && !(e.getContainer() || e.getBody()).parentNode && (GS(e), e.unbindAllNativeEvents(), e.destroy(!0), e.removed = !0, e = null), e;
|
|
26545
|
-
},
|
|
26518
|
+
}, L6 = document.compatMode !== "CSS1Compat", ym = rr(rr({}, Q1), {
|
|
26546
26519
|
baseURI: null,
|
|
26547
26520
|
baseURL: null,
|
|
26548
26521
|
defaultSettings: {},
|
|
@@ -26609,7 +26582,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26609
26582
|
var I = [];
|
|
26610
26583
|
if (Jt.browser.isIE() && Jt.browser.version.major < 11)
|
|
26611
26584
|
return I1("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tinymce.com/docs/get-started/system-requirements/"), [];
|
|
26612
|
-
if (
|
|
26585
|
+
if (L6)
|
|
26613
26586
|
return I1("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."), [];
|
|
26614
26587
|
if (B.types)
|
|
26615
26588
|
return wv(B.types, function(q) {
|
|
@@ -26622,7 +26595,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26622
26595
|
switch (B.mode) {
|
|
26623
26596
|
case "exact":
|
|
26624
26597
|
var j = B.elements || "";
|
|
26625
|
-
j.length > 0 && wv(
|
|
26598
|
+
j.length > 0 && wv(F6(j), function(q) {
|
|
26626
26599
|
var K = zc.get(q);
|
|
26627
26600
|
K ? I.push(K) : wv(document.forms, function(J) {
|
|
26628
26601
|
wv(J.elements, function(ie) {
|
|
@@ -26651,7 +26624,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26651
26624
|
if (zc.unbind(window, "ready", R), m("onpageload"), j = _r.unique(b(e)), e.types) {
|
|
26652
26625
|
wv(e.types, function(K) {
|
|
26653
26626
|
Ie.each(j, function(J) {
|
|
26654
|
-
return zc.is(J, K.selector) ? (q(l(J),
|
|
26627
|
+
return zc.is(J, K.selector) ? (q(l(J), $6({}, e, K), J), !1) : !0;
|
|
26655
26628
|
});
|
|
26656
26629
|
});
|
|
26657
26630
|
return;
|
|
@@ -26677,7 +26650,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26677
26650
|
},
|
|
26678
26651
|
add: function(e) {
|
|
26679
26652
|
var r = this, a = ld[e.id];
|
|
26680
|
-
return a === e || (r.get(e.id) === null && (
|
|
26653
|
+
return a === e || (r.get(e.id) === null && (N6(e.id) && (ld[e.id] = e), ld.push(e), Du.push(e)), gx(!0), r.activeEditor = e, r.fire("AddEditor", { editor: e }), ql || (ql = function(o) {
|
|
26681
26654
|
var u = r.fire("BeforeUnload");
|
|
26682
26655
|
if (u.returnValue)
|
|
26683
26656
|
return o.preventDefault(), o.returnValue = u.returnValue, u.returnValue;
|
|
@@ -26736,18 +26709,18 @@ Settings:` + p + a.join(p) : "";
|
|
|
26736
26709
|
var wz = Math.min, _p = Math.max, px = Math.round, KS = function(e, r, a) {
|
|
26737
26710
|
var o = r.x, u = r.y, l = e.w, m = e.h, p = r.w, b = r.h, T = (a || "").split("");
|
|
26738
26711
|
return T[0] === "b" && (u += b), T[1] === "r" && (o += p), T[0] === "c" && (u += px(b / 2)), T[1] === "c" && (o += px(p / 2)), T[3] === "b" && (u -= m), T[4] === "r" && (o -= l), T[3] === "c" && (u -= px(m / 2)), T[4] === "c" && (o -= px(l / 2)), wp(o, u, l, m);
|
|
26739
|
-
},
|
|
26712
|
+
}, H6 = function(e, r, a, o) {
|
|
26740
26713
|
var u, l;
|
|
26741
26714
|
for (l = 0; l < o.length; l++)
|
|
26742
26715
|
if (u = KS(e, r, o[l]), u.x >= a.x && u.x + u.w <= a.w + a.x && u.y >= a.y && u.y + u.h <= a.h + a.y)
|
|
26743
26716
|
return o[l];
|
|
26744
26717
|
return null;
|
|
26745
|
-
},
|
|
26718
|
+
}, V6 = function(e, r, a) {
|
|
26746
26719
|
return wp(e.x - r, e.y - a, e.w + r * 2, e.h + a * 2);
|
|
26747
|
-
},
|
|
26720
|
+
}, j6 = function(e, r) {
|
|
26748
26721
|
var a = _p(e.x, r.x), o = _p(e.y, r.y), u = wz(e.x + e.w, r.x + r.w), l = wz(e.y + e.h, r.y + r.h);
|
|
26749
26722
|
return u - a < 0 || l - o < 0 ? null : wp(a, o, u - a, l - o);
|
|
26750
|
-
},
|
|
26723
|
+
}, q6 = function(e, r, a) {
|
|
26751
26724
|
var o = e.x, u = e.y, l = e.x + e.w, m = e.y + e.h, p = r.x + r.w, b = r.y + r.h, T = _p(0, r.x - o), R = _p(0, r.y - u), B = _p(0, l - p), I = _p(0, m - b);
|
|
26752
26725
|
return o += T, u += R, a && (l += T, m += R, o -= B, u -= I), l -= B, m -= I, wp(o, u, l - o, m - u);
|
|
26753
26726
|
}, wp = function(e, r, a, o) {
|
|
@@ -26757,17 +26730,17 @@ Settings:` + p + a.join(p) : "";
|
|
|
26757
26730
|
w: a,
|
|
26758
26731
|
h: o
|
|
26759
26732
|
};
|
|
26760
|
-
},
|
|
26733
|
+
}, U6 = function(e) {
|
|
26761
26734
|
return wp(e.left, e.top, e.width, e.height);
|
|
26762
26735
|
}, Cz = {
|
|
26763
|
-
inflate:
|
|
26736
|
+
inflate: V6,
|
|
26764
26737
|
relativePosition: KS,
|
|
26765
|
-
findBestRelativePosition:
|
|
26766
|
-
intersect:
|
|
26767
|
-
clamp:
|
|
26738
|
+
findBestRelativePosition: H6,
|
|
26739
|
+
intersect: j6,
|
|
26740
|
+
clamp: q6,
|
|
26768
26741
|
create: wp,
|
|
26769
|
-
fromClientRect:
|
|
26770
|
-
},
|
|
26742
|
+
fromClientRect: U6
|
|
26743
|
+
}, W6 = function(e, r, a) {
|
|
26771
26744
|
a === void 0 && (a = 1e3);
|
|
26772
26745
|
var o = !1, u = null, l = function(T) {
|
|
26773
26746
|
return function() {
|
|
@@ -26787,13 +26760,13 @@ Settings:` + p + a.join(p) : "";
|
|
|
26787
26760
|
resolve: m,
|
|
26788
26761
|
reject: p
|
|
26789
26762
|
};
|
|
26790
|
-
},
|
|
26763
|
+
}, G6 = function() {
|
|
26791
26764
|
var e = {}, r = {}, a = function(u, l) {
|
|
26792
26765
|
var m = 'Script at URL "' + l + '" failed to load', p = 'Script at URL "' + l + "\" did not call `tinymce.Resource.add('" + u + "', data)` within 1 second";
|
|
26793
26766
|
if (e[u] !== void 0)
|
|
26794
26767
|
return e[u];
|
|
26795
26768
|
var b = new Mi(function(T, R) {
|
|
26796
|
-
var B =
|
|
26769
|
+
var B = W6(T, R);
|
|
26797
26770
|
r[u] = B.resolve, ff.ScriptLoader.loadScript(l, function() {
|
|
26798
26771
|
return B.start(p);
|
|
26799
26772
|
}, function() {
|
|
@@ -26808,7 +26781,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26808
26781
|
load: a,
|
|
26809
26782
|
add: o
|
|
26810
26783
|
};
|
|
26811
|
-
},
|
|
26784
|
+
}, K6 = G6(), Cp = Ie.each, e0 = Ie.extend, cd, xm, bx = function() {
|
|
26812
26785
|
};
|
|
26813
26786
|
bx.extend = cd = function(e) {
|
|
26814
26787
|
var r = this, a = r.prototype, o = function() {
|
|
@@ -26845,7 +26818,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26845
26818
|
typeof p == "function" && a[b] ? m[b] = l(b, p) : m[b] = p;
|
|
26846
26819
|
}), o.prototype = m, o.constructor = o, o.extend = cd, o;
|
|
26847
26820
|
};
|
|
26848
|
-
var kp = Math.min, t0 = Math.max, _m = Math.round,
|
|
26821
|
+
var kp = Math.min, t0 = Math.max, _m = Math.round, Y6 = function(e) {
|
|
26849
26822
|
var r = {}, a = 0, o = 0, u = 0, l = function(B, I, j) {
|
|
26850
26823
|
var q, K, J;
|
|
26851
26824
|
q = 0, K = 0, J = 0, B = B / 255, I = I / 255, j = j / 255;
|
|
@@ -26923,7 +26896,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26923
26896
|
} catch {
|
|
26924
26897
|
}
|
|
26925
26898
|
}
|
|
26926
|
-
},
|
|
26899
|
+
}, X6 = {
|
|
26927
26900
|
callbacks: {},
|
|
26928
26901
|
count: 0,
|
|
26929
26902
|
send: function(e) {
|
|
@@ -26950,7 +26923,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26950
26923
|
return o();
|
|
26951
26924
|
Gi.setTimeout(o, 10);
|
|
26952
26925
|
}
|
|
26953
|
-
}), Sz = Ie.extend,
|
|
26926
|
+
}), Sz = Ie.extend, J6 = function() {
|
|
26954
26927
|
function e(r) {
|
|
26955
26928
|
this.settings = Sz({}, r), this.count = 0;
|
|
26956
26929
|
}
|
|
@@ -26968,7 +26941,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26968
26941
|
params: r.params
|
|
26969
26942
|
}), u.content_type = "application/json", xx.send(u);
|
|
26970
26943
|
}, e;
|
|
26971
|
-
}(),
|
|
26944
|
+
}(), Z6 = function() {
|
|
26972
26945
|
return function() {
|
|
26973
26946
|
var e = {}, r = [], a = {
|
|
26974
26947
|
getItem: function(o) {
|
|
@@ -27004,9 +26977,9 @@ Settings:` + p + a.join(p) : "";
|
|
|
27004
26977
|
var _x = "__storage_test__";
|
|
27005
26978
|
r0 = window.localStorage, r0.setItem(_x, _x), r0.removeItem(_x);
|
|
27006
26979
|
} catch {
|
|
27007
|
-
r0 =
|
|
26980
|
+
r0 = Z6();
|
|
27008
26981
|
}
|
|
27009
|
-
var Tz = r0,
|
|
26982
|
+
var Tz = r0, Q6 = {
|
|
27010
26983
|
geom: { Rect: Cz },
|
|
27011
26984
|
util: {
|
|
27012
26985
|
Promise: Mi,
|
|
@@ -27020,10 +26993,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
27020
26993
|
I18n: Fr,
|
|
27021
26994
|
XHR: xx,
|
|
27022
26995
|
JSON: yx,
|
|
27023
|
-
JSONRequest:
|
|
27024
|
-
JSONP:
|
|
26996
|
+
JSONRequest: J6,
|
|
26997
|
+
JSONP: X6,
|
|
27025
26998
|
LocalStorage: Tz,
|
|
27026
|
-
Color:
|
|
26999
|
+
Color: Y6,
|
|
27027
27000
|
ImageUploader: Z3
|
|
27028
27001
|
},
|
|
27029
27002
|
dom: {
|
|
@@ -27070,7 +27043,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
27070
27043
|
PluginManager: Ao,
|
|
27071
27044
|
ThemeManager: kc,
|
|
27072
27045
|
IconManager: Qr,
|
|
27073
|
-
Resource:
|
|
27046
|
+
Resource: K6,
|
|
27074
27047
|
trim: Ie.trim,
|
|
27075
27048
|
isArray: Ie.isArray,
|
|
27076
27049
|
is: Ie.is,
|
|
@@ -27092,15 +27065,15 @@ Settings:` + p + a.join(p) : "";
|
|
|
27092
27065
|
isIE: Jt.ie,
|
|
27093
27066
|
isGecko: Jt.gecko,
|
|
27094
27067
|
isMac: Jt.mac
|
|
27095
|
-
}, Oz = Ie.extend(ym,
|
|
27068
|
+
}, Oz = Ie.extend(ym, Q6), e$ = function(e) {
|
|
27096
27069
|
try {
|
|
27097
27070
|
O.exports = e;
|
|
27098
27071
|
} catch {
|
|
27099
27072
|
}
|
|
27100
|
-
},
|
|
27073
|
+
}, t$ = function(e) {
|
|
27101
27074
|
window.tinymce = e, window.tinyMCE = e;
|
|
27102
27075
|
};
|
|
27103
|
-
|
|
27076
|
+
t$(Oz), e$(Oz);
|
|
27104
27077
|
})();
|
|
27105
27078
|
})(NK);
|
|
27106
27079
|
(function() {
|
|
@@ -27119,7 +27092,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
27119
27092
|
return function(n) {
|
|
27120
27093
|
return t === n;
|
|
27121
27094
|
};
|
|
27122
|
-
}, Z = g("string"), we = g("object"), ze = g("array"),
|
|
27095
|
+
}, Z = g("string"), we = g("object"), ze = g("array"), Tt = $(null), Ot = w("boolean"), cr = $(void 0), Nr = function(t) {
|
|
27123
27096
|
return t == null;
|
|
27124
27097
|
}, Ft = function(t) {
|
|
27125
27098
|
return !Nr(t);
|
|
@@ -27924,7 +27897,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
27924
27897
|
throw new Error("Body is not available yet");
|
|
27925
27898
|
return yt.fromDom(n);
|
|
27926
27899
|
}, Pv = function(t, n, i) {
|
|
27927
|
-
if (Z(i) ||
|
|
27900
|
+
if (Z(i) || Ot(i) || On(i))
|
|
27928
27901
|
t.setAttribute(n, i + "");
|
|
27929
27902
|
else
|
|
27930
27903
|
throw console.error("Invalid call to Attribute.set. Key ", n, ":: Value ", i, ":: Element ", t), new Error("Attribute value was not simple");
|
|
@@ -28583,7 +28556,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
28583
28556
|
return Me(c, (y = {}, y[h] = !0, y));
|
|
28584
28557
|
}, se(c));
|
|
28585
28558
|
}, {}), s = function(c, v) {
|
|
28586
|
-
var h =
|
|
28559
|
+
var h = Ot(v) ? [] : v0(v), y = Vt(h, function(_) {
|
|
28587
28560
|
return !Sa(i, _);
|
|
28588
28561
|
});
|
|
28589
28562
|
return y.length === 0 ? n.extract(c, v) : In(c, y);
|
|
@@ -28675,7 +28648,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
28675
28648
|
var s = typeof i;
|
|
28676
28649
|
return t(i) ? Gr.svalue(i) : Gr.serror("Expected type: " + n + " but got: " + s);
|
|
28677
28650
|
});
|
|
28678
|
-
}, wd = Fv(On, "number"), ca = Fv(Z, "string"), Mi = Fv(
|
|
28651
|
+
}, wd = Fv(On, "number"), ca = Fv(Z, "string"), Mi = Fv(Ot, "boolean"), zm = Fv(wr, "function"), js = function(t) {
|
|
28679
28652
|
if (Object(t) !== t)
|
|
28680
28653
|
return !0;
|
|
28681
28654
|
switch ({}.toString.call(t).slice(8, -1)) {
|
|
@@ -34305,11 +34278,11 @@ Components: ` + JSON.stringify(n.components, null, 2));
|
|
|
34305
34278
|
}
|
|
34306
34279
|
var ZP = function(t, n) {
|
|
34307
34280
|
var i = null, s = function() {
|
|
34308
|
-
|
|
34281
|
+
Tt(i) || (clearTimeout(i), i = null);
|
|
34309
34282
|
}, c = function() {
|
|
34310
34283
|
for (var v = [], h = 0; h < arguments.length; h++)
|
|
34311
34284
|
v[h] = arguments[h];
|
|
34312
|
-
|
|
34285
|
+
Tt(i) && (i = setTimeout(function() {
|
|
34313
34286
|
i = null, t.apply(null, v);
|
|
34314
34287
|
}, n));
|
|
34315
34288
|
};
|
|
@@ -34319,7 +34292,7 @@ Components: ` + JSON.stringify(n.components, null, 2));
|
|
|
34319
34292
|
};
|
|
34320
34293
|
}, CC = function(t, n) {
|
|
34321
34294
|
var i = null, s = function() {
|
|
34322
|
-
|
|
34295
|
+
Tt(i) || (clearTimeout(i), i = null);
|
|
34323
34296
|
}, c = function() {
|
|
34324
34297
|
for (var v = [], h = 0; h < arguments.length; h++)
|
|
34325
34298
|
v[h] = arguments[h];
|
|
@@ -40907,9 +40880,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40907
40880
|
onChoose: Ir
|
|
40908
40881
|
}));
|
|
40909
40882
|
}, rn = function(Et, Ir, Rn, Ka, ll) {
|
|
40910
|
-
var cl = function(If, zx,
|
|
40911
|
-
var
|
|
40912
|
-
P(If,
|
|
40883
|
+
var cl = function(If, zx, W$) {
|
|
40884
|
+
var G$ = lt(Ir, W$.x / 100);
|
|
40885
|
+
P(If, G$);
|
|
40913
40886
|
};
|
|
40914
40887
|
return er(Et, cl, Rn, Ka, ll);
|
|
40915
40888
|
}, Fn = function(Et, Ir, Rn, Ka, ll) {
|
|
@@ -40943,17 +40916,17 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40943
40916
|
components: Bf.map(function(Et) {
|
|
40944
40917
|
return Et.asSpec();
|
|
40945
40918
|
})
|
|
40946
|
-
}),
|
|
40919
|
+
}), $$ = La("Brightness", CI, -100, 0, 100), N$ = La("Contrast", kI, -100, 0, 100), qz = La("Gamma", _I, -100, 0, 100), L$ = function(Et, Ir, Rn) {
|
|
40947
40920
|
return function(Ka) {
|
|
40948
40921
|
return wI(Ka, Et, Ir, Rn);
|
|
40949
40922
|
};
|
|
40950
40923
|
}, rT = function(Et) {
|
|
40951
40924
|
var Ir = function(Rn, Ka, ll) {
|
|
40952
40925
|
var cl = Uz.getOpt(Rn), If = Wz.getOpt(Rn), zx = nT.getOpt(Rn);
|
|
40953
|
-
cl.each(function(
|
|
40954
|
-
If.each(function(
|
|
40926
|
+
cl.each(function(W$) {
|
|
40927
|
+
If.each(function(G$) {
|
|
40955
40928
|
zx.each(function(Cq) {
|
|
40956
|
-
var kq = pt.getValue(
|
|
40929
|
+
var kq = pt.getValue(W$).x / 100, Sq = pt.getValue(Cq).x / 100, Tq = pt.getValue(G$).x / 100, Oq = L$(kq, Sq, Tq);
|
|
40957
40930
|
P(Rn, Oq);
|
|
40958
40931
|
});
|
|
40959
40932
|
});
|
|
@@ -40983,9 +40956,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40983
40956
|
swap: ll
|
|
40984
40957
|
});
|
|
40985
40958
|
};
|
|
40986
|
-
},
|
|
40959
|
+
}, H$ = function(Et) {
|
|
40987
40960
|
t.showCrop();
|
|
40988
|
-
},
|
|
40961
|
+
}, V$ = function(Et) {
|
|
40989
40962
|
me.getOpt(Et).each(function(Ir) {
|
|
40990
40963
|
var Rn = t.getMeasurements(), Ka = Rn.width, ll = Rn.height;
|
|
40991
40964
|
pt.setValue(Ir, {
|
|
@@ -40993,13 +40966,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40993
40966
|
height: ll
|
|
40994
40967
|
});
|
|
40995
40968
|
});
|
|
40996
|
-
},
|
|
40997
|
-
s("crop", "Crop", sl(Ue, C.none(),
|
|
40998
|
-
s("resize", "Resize", sl(Ne, C.none(),
|
|
40969
|
+
}, j$ = C.some(xI), gu = C.some(yI), Tp = [
|
|
40970
|
+
s("crop", "Crop", sl(Ue, C.none(), H$), !1),
|
|
40971
|
+
s("resize", "Resize", sl(Ne, C.none(), V$), !1),
|
|
40999
40972
|
s("orientation", "Orientation", sl(Lt, C.none(), y), !1),
|
|
41000
|
-
s("brightness", "Brightness", sl(
|
|
41001
|
-
s("sharpen", "Sharpen", sl(Pc,
|
|
41002
|
-
s("contrast", "Contrast", sl(
|
|
40973
|
+
s("brightness", "Brightness", sl($$, C.none(), y), !1),
|
|
40974
|
+
s("sharpen", "Sharpen", sl(Pc, j$, y), !1),
|
|
40975
|
+
s("contrast", "Contrast", sl(N$, C.none(), y), !1),
|
|
41003
40976
|
s("color-levels", "Color levels", sl(aT, C.none(), y), !1),
|
|
41004
40977
|
s("gamma", "Gamma", sl(qz, C.none(), y), !1),
|
|
41005
40978
|
s("invert", "Invert", sl(Pc, gu, y), !1)
|
|
@@ -41008,11 +40981,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
41008
40981
|
components: Tp.map(function(Et) {
|
|
41009
40982
|
return Et.asSpec();
|
|
41010
40983
|
})
|
|
41011
|
-
}),
|
|
40984
|
+
}), q$ = Jo.sketch({
|
|
41012
40985
|
dom: { tag: "div" },
|
|
41013
40986
|
components: [Ex],
|
|
41014
40987
|
containerBehaviours: ft([yr.config({})])
|
|
41015
|
-
}), Ax = fn(
|
|
40988
|
+
}), Ax = fn(q$), U$ = function(Et) {
|
|
41016
40989
|
return Ax.getOpt(Et).map(function(Ir) {
|
|
41017
40990
|
var Rn = Ir.components()[0];
|
|
41018
40991
|
return Rn.components()[Rn.components().length - 1];
|
|
@@ -41020,7 +40993,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
41020
40993
|
};
|
|
41021
40994
|
return {
|
|
41022
40995
|
memContainer: Ax,
|
|
41023
|
-
getApplyButton:
|
|
40996
|
+
getApplyButton: U$
|
|
41024
40997
|
};
|
|
41025
40998
|
}, Es = tinymce.util.Tools.resolve("tinymce.geom.Rect"), As = tinymce.util.Tools.resolve("tinymce.dom.DomQuery"), kS = tinymce.util.Tools.resolve("tinymce.util.Observable"), _h = tinymce.util.Tools.resolve("tinymce.util.VK"), SA = function(t) {
|
|
41026
40999
|
var n = Math.max, i = t.documentElement, s = t.body, c = n(i.scrollWidth, s.scrollWidth), v = n(i.clientWidth, s.clientWidth), h = n(i.offsetWidth, s.offsetWidth), y = n(i.scrollHeight, s.scrollHeight), _ = n(i.clientHeight, s.clientHeight), k = n(i.offsetHeight, s.offsetHeight);
|
|
@@ -43334,7 +43307,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43334
43307
|
return function(n) {
|
|
43335
43308
|
return !!(JF(n) && (n.contentEditable === t || n.getAttribute("data-mce-contenteditable") === t));
|
|
43336
43309
|
};
|
|
43337
|
-
}, QF = IS("true"),
|
|
43310
|
+
}, QF = IS("true"), e6 = IS("false"), JA = function(t, n, i, s, c) {
|
|
43338
43311
|
return {
|
|
43339
43312
|
type: t,
|
|
43340
43313
|
title: n,
|
|
@@ -43342,7 +43315,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43342
43315
|
level: s,
|
|
43343
43316
|
attach: c
|
|
43344
43317
|
};
|
|
43345
|
-
},
|
|
43318
|
+
}, t6 = function(t) {
|
|
43346
43319
|
for (; t = t.parentNode; ) {
|
|
43347
43320
|
var n = t.contentEditable;
|
|
43348
43321
|
if (n && n !== "inherit")
|
|
@@ -43357,45 +43330,45 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43357
43330
|
return t.innerText || t.textContent;
|
|
43358
43331
|
}, QA = function(t) {
|
|
43359
43332
|
return t.id ? t.id : We("h");
|
|
43360
|
-
},
|
|
43333
|
+
}, r6 = function(t) {
|
|
43361
43334
|
return t && t.nodeName === "A" && (t.id || t.name) !== void 0;
|
|
43362
|
-
},
|
|
43363
|
-
return
|
|
43335
|
+
}, n6 = function(t) {
|
|
43336
|
+
return r6(t) && FS(t);
|
|
43364
43337
|
}, ez = function(t) {
|
|
43365
43338
|
return t && /^(H[1-6])$/.test(t.nodeName);
|
|
43366
43339
|
}, FS = function(t) {
|
|
43367
|
-
return
|
|
43368
|
-
},
|
|
43340
|
+
return t6(t) && !e6(t);
|
|
43341
|
+
}, a6 = function(t) {
|
|
43369
43342
|
return ez(t) && FS(t);
|
|
43370
|
-
},
|
|
43343
|
+
}, i6 = function(t) {
|
|
43371
43344
|
return ez(t) ? parseInt(t.nodeName.substr(1), 10) : 0;
|
|
43372
|
-
},
|
|
43345
|
+
}, o6 = function(t) {
|
|
43373
43346
|
var n = QA(t), i = function() {
|
|
43374
43347
|
t.id = n;
|
|
43375
43348
|
};
|
|
43376
|
-
return JA("header", pm(t), "#" + n,
|
|
43377
|
-
},
|
|
43349
|
+
return JA("header", pm(t), "#" + n, i6(t), i);
|
|
43350
|
+
}, u6 = function(t) {
|
|
43378
43351
|
var n = t.id || t.name, i = pm(t);
|
|
43379
43352
|
return JA("anchor", i || "#" + n, "#" + n, 0, it);
|
|
43380
|
-
},
|
|
43381
|
-
return je(Vt(t,
|
|
43382
|
-
},
|
|
43383
|
-
return je(Vt(t,
|
|
43384
|
-
},
|
|
43353
|
+
}, s6 = function(t) {
|
|
43354
|
+
return je(Vt(t, a6), o6);
|
|
43355
|
+
}, l6 = function(t) {
|
|
43356
|
+
return je(Vt(t, n6), u6);
|
|
43357
|
+
}, c6 = function(t) {
|
|
43385
43358
|
var n = ZA("h1,h2,h3,h4,h5,h6,a:not([href])", t);
|
|
43386
43359
|
return n;
|
|
43387
|
-
},
|
|
43360
|
+
}, f6 = function(t) {
|
|
43388
43361
|
return ZF(t.title).length > 0;
|
|
43389
|
-
},
|
|
43390
|
-
var n =
|
|
43391
|
-
return Vt(
|
|
43392
|
-
},
|
|
43362
|
+
}, v6 = function(t) {
|
|
43363
|
+
var n = c6(t);
|
|
43364
|
+
return Vt(s6(n).concat(l6(n)), f6);
|
|
43365
|
+
}, d6 = { find: v6 }, Z1 = "tinymce-url-history", tz = 5, rz = function(t) {
|
|
43393
43366
|
return Z(t) && /^https?/.test(t);
|
|
43394
|
-
},
|
|
43367
|
+
}, m6 = function(t) {
|
|
43395
43368
|
return ze(t) && t.length <= tz && Yn(t, rz);
|
|
43396
43369
|
}, nz = function(t) {
|
|
43397
43370
|
return we(t) && Nu(t, function(n) {
|
|
43398
|
-
return !
|
|
43371
|
+
return !m6(n);
|
|
43399
43372
|
}).isNone();
|
|
43400
43373
|
}, az = function() {
|
|
43401
43374
|
var t = O1.getItem(Z1);
|
|
@@ -43418,7 +43391,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43418
43391
|
}, iz = function(t) {
|
|
43419
43392
|
var n = az();
|
|
43420
43393
|
return Yt(n, t).getOr([]);
|
|
43421
|
-
},
|
|
43394
|
+
}, h6 = function(t, n) {
|
|
43422
43395
|
if (rz(t)) {
|
|
43423
43396
|
var i = az(), s = Yt(i, n).getOr([]), c = Vt(s, function(v) {
|
|
43424
43397
|
return v !== t;
|
|
@@ -43427,22 +43400,22 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43427
43400
|
}
|
|
43428
43401
|
}, NS = function(t) {
|
|
43429
43402
|
return !!t;
|
|
43430
|
-
},
|
|
43403
|
+
}, g6 = function(t) {
|
|
43431
43404
|
return yn(zu.makeMap(t, /[, ]/), NS);
|
|
43432
43405
|
}, LS = function(t) {
|
|
43433
43406
|
return C.from(ek(t)).filter(wr);
|
|
43434
|
-
},
|
|
43435
|
-
var n = C.some(WO(t)).filter(NS), i = C.some(GO(t)).filter(NS), s = n.or(i).map(
|
|
43407
|
+
}, p6 = function(t) {
|
|
43408
|
+
var n = C.some(WO(t)).filter(NS), i = C.some(GO(t)).filter(NS), s = n.or(i).map(g6);
|
|
43436
43409
|
return LS(t).fold(Gt, function(c) {
|
|
43437
43410
|
return s.fold(_t, function(v) {
|
|
43438
43411
|
return Xn(v).length > 0 ? v : !1;
|
|
43439
43412
|
});
|
|
43440
43413
|
});
|
|
43441
|
-
},
|
|
43442
|
-
var i =
|
|
43443
|
-
return
|
|
43444
|
-
},
|
|
43445
|
-
return
|
|
43414
|
+
}, b6 = function(t, n) {
|
|
43415
|
+
var i = p6(t);
|
|
43416
|
+
return Ot(i) ? i ? LS(t) : C.none() : i[n] ? LS(t) : C.none();
|
|
43417
|
+
}, y6 = function(t, n) {
|
|
43418
|
+
return b6(t, n).map(function(i) {
|
|
43446
43419
|
return function(s) {
|
|
43447
43420
|
return zo.nu(function(c) {
|
|
43448
43421
|
var v = function(y, _) {
|
|
@@ -43465,29 +43438,29 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43465
43438
|
});
|
|
43466
43439
|
}, oz = function(t) {
|
|
43467
43440
|
return C.from(t).filter(Z).getOrUndefined();
|
|
43468
|
-
},
|
|
43441
|
+
}, x6 = function(t) {
|
|
43469
43442
|
return t5(t) ? C.none() : C.some({
|
|
43470
|
-
targets:
|
|
43443
|
+
targets: d6.find(t.getBody()),
|
|
43471
43444
|
anchorTop: oz(KO(t)),
|
|
43472
43445
|
anchorBottom: oz(r5(t))
|
|
43473
43446
|
});
|
|
43474
43447
|
}, lx = function(t) {
|
|
43475
43448
|
return C.from(n5(t));
|
|
43476
|
-
},
|
|
43449
|
+
}, _6 = function(t) {
|
|
43477
43450
|
return {
|
|
43478
43451
|
getHistory: iz,
|
|
43479
|
-
addToHistory:
|
|
43452
|
+
addToHistory: h6,
|
|
43480
43453
|
getLinkInformation: function() {
|
|
43481
|
-
return
|
|
43454
|
+
return x6(t);
|
|
43482
43455
|
},
|
|
43483
43456
|
getValidationHandler: function() {
|
|
43484
43457
|
return lx(t);
|
|
43485
43458
|
},
|
|
43486
43459
|
getUrlPicker: function(n) {
|
|
43487
|
-
return
|
|
43460
|
+
return y6(t, n);
|
|
43488
43461
|
}
|
|
43489
43462
|
};
|
|
43490
|
-
},
|
|
43463
|
+
}, w6 = function(t, n, i) {
|
|
43491
43464
|
var s = Zt(!1), c = J1(n), v = {
|
|
43492
43465
|
shared: {
|
|
43493
43466
|
providers: {
|
|
@@ -43512,7 +43485,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43512
43485
|
return br.value(t);
|
|
43513
43486
|
}
|
|
43514
43487
|
},
|
|
43515
|
-
urlinput:
|
|
43488
|
+
urlinput: _6(n),
|
|
43516
43489
|
styleselect: XF(n),
|
|
43517
43490
|
colorinput: UF(n),
|
|
43518
43491
|
dialog: RS(n),
|
|
@@ -43580,10 +43553,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43580
43553
|
Fl.field("listBehaviours", [yr])
|
|
43581
43554
|
]), cx = function() {
|
|
43582
43555
|
return { behaviours: ft([yr.config({})]) };
|
|
43583
|
-
},
|
|
43556
|
+
}, C6 = xf({
|
|
43584
43557
|
name: "items",
|
|
43585
43558
|
overrides: cx
|
|
43586
|
-
}),
|
|
43559
|
+
}), k6 = se([C6]), S6 = se("CustomList"), T6 = function(t, n, i, s) {
|
|
43587
43560
|
var c = function(y, _) {
|
|
43588
43561
|
h(y).fold(function() {
|
|
43589
43562
|
throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"), new Error("Custom List was defined to not be a shell, but no item container was specified in components");
|
|
@@ -43618,10 +43591,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43618
43591
|
apis: { setItems: c }
|
|
43619
43592
|
};
|
|
43620
43593
|
}, sz = Xo({
|
|
43621
|
-
name:
|
|
43594
|
+
name: S6(),
|
|
43622
43595
|
configFields: HS(),
|
|
43623
|
-
partFields:
|
|
43624
|
-
factory:
|
|
43596
|
+
partFields: k6(),
|
|
43597
|
+
factory: T6,
|
|
43625
43598
|
apis: {
|
|
43626
43599
|
setItems: function(t, n, i) {
|
|
43627
43600
|
t.setItems(n, i);
|
|
@@ -43633,10 +43606,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43633
43606
|
to("toolbarBehaviours", [yr])
|
|
43634
43607
|
]), lz = function() {
|
|
43635
43608
|
return { behaviours: ft([yr.config({})]) };
|
|
43636
|
-
},
|
|
43609
|
+
}, O6 = se([xf({
|
|
43637
43610
|
name: "groups",
|
|
43638
43611
|
overrides: lz
|
|
43639
|
-
})]),
|
|
43612
|
+
})]), E6 = function(t, n, i, s) {
|
|
43640
43613
|
var c = function(y, _) {
|
|
43641
43614
|
v(y).fold(function() {
|
|
43642
43615
|
throw console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"), new Error("Toolbar was defined to not be a shell, but no groups container was specified in components");
|
|
@@ -43663,17 +43636,17 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43663
43636
|
}, Ef = Xo({
|
|
43664
43637
|
name: "Toolbar",
|
|
43665
43638
|
configFields: Ac(),
|
|
43666
|
-
partFields:
|
|
43667
|
-
factory:
|
|
43639
|
+
partFields: O6(),
|
|
43640
|
+
factory: E6,
|
|
43668
43641
|
apis: {
|
|
43669
43642
|
setGroups: function(t, n, i) {
|
|
43670
43643
|
t.setGroups(n, i);
|
|
43671
43644
|
}
|
|
43672
43645
|
}
|
|
43673
|
-
}),
|
|
43646
|
+
}), A6 = it, z6 = Gt, cz = se([]), VS = /* @__PURE__ */ Object.freeze({
|
|
43674
43647
|
__proto__: null,
|
|
43675
|
-
setup:
|
|
43676
|
-
isDocked:
|
|
43648
|
+
setup: A6,
|
|
43649
|
+
isDocked: z6,
|
|
43677
43650
|
getBehaviours: cz
|
|
43678
43651
|
}), yp = function(t) {
|
|
43679
43652
|
var n = ru(_i(t, "position"), "fixed"), i = n ? C.none() : xi(t);
|
|
@@ -43699,7 +43672,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43699
43672
|
}, fx = function(t, n) {
|
|
43700
43673
|
var i = t.element;
|
|
43701
43674
|
Ci(i, n.transitionClass), qa(i, n.fadeInClass), Ci(i, n.fadeOutClass), n.onHide(t);
|
|
43702
|
-
},
|
|
43675
|
+
}, D6 = function(t, n) {
|
|
43703
43676
|
return t.y < n.bottom && t.bottom > n.y;
|
|
43704
43677
|
}, fz = function(t, n) {
|
|
43705
43678
|
return t.y >= n.y;
|
|
@@ -43746,13 +43719,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43746
43719
|
return C.none();
|
|
43747
43720
|
}
|
|
43748
43721
|
});
|
|
43749
|
-
},
|
|
43722
|
+
}, P6 = function(t, n, i) {
|
|
43750
43723
|
return dz(t, i).filter(function(s) {
|
|
43751
43724
|
return jS(i.getModes(), s, n);
|
|
43752
43725
|
}).bind(function(s) {
|
|
43753
43726
|
return hz(t, s, i);
|
|
43754
43727
|
});
|
|
43755
|
-
},
|
|
43728
|
+
}, R6 = function(t, n, i) {
|
|
43756
43729
|
var s = ja(t);
|
|
43757
43730
|
if (jS(i.getModes(), s, n))
|
|
43758
43731
|
return C.none();
|
|
@@ -43761,7 +43734,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43761
43734
|
return C.some(xp.fixed(Wo("fixed", C.some(v), _ ? C.some(h) : C.none(), C.none(), _ ? C.none() : C.some(y))));
|
|
43762
43735
|
}, qS = function(t, n, i) {
|
|
43763
43736
|
var s = t.element, c = ru(_i(s, "position"), "fixed");
|
|
43764
|
-
return c ?
|
|
43737
|
+
return c ? P6(s, n, i) : R6(s, n, i);
|
|
43765
43738
|
}, US = function(t, n) {
|
|
43766
43739
|
var i = t.element;
|
|
43767
43740
|
return dz(i, n).bind(function(s) {
|
|
@@ -43785,7 +43758,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43785
43758
|
}, pz = function(t, n, i, s, c) {
|
|
43786
43759
|
c === void 0 && (c = !1), n.contextual.each(function(v) {
|
|
43787
43760
|
v.lazyContext(t).each(function(h) {
|
|
43788
|
-
var y =
|
|
43761
|
+
var y = D6(h, s);
|
|
43789
43762
|
if (y !== i.isVisible())
|
|
43790
43763
|
if (i.setVisible(y), c && !y)
|
|
43791
43764
|
tv(t.element, [v.fadeOutClass]), v.onHide(t);
|
|
@@ -43806,7 +43779,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43806
43779
|
pz(t, n, i, s, !0), vx(t, n, i, h);
|
|
43807
43780
|
});
|
|
43808
43781
|
});
|
|
43809
|
-
},
|
|
43782
|
+
}, M6 = function(t, n, i) {
|
|
43810
43783
|
var s = t.element;
|
|
43811
43784
|
i.setDocked(!1), US(t, i).each(function(c) {
|
|
43812
43785
|
c.fold(function() {
|
|
@@ -43824,20 +43797,20 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43824
43797
|
}, WS = function(t, n, i) {
|
|
43825
43798
|
t.getSystem().isConnected() && bz(t, n, i);
|
|
43826
43799
|
}, bm = function(t, n, i) {
|
|
43827
|
-
i.isDocked() &&
|
|
43800
|
+
i.isDocked() && M6(t, n, i);
|
|
43828
43801
|
}, yz = function(t, n, i) {
|
|
43829
43802
|
return i.isDocked();
|
|
43830
|
-
},
|
|
43803
|
+
}, B6 = function(t, n, i, s) {
|
|
43831
43804
|
return i.setModes(s);
|
|
43832
43805
|
}, xz = function(t, n, i) {
|
|
43833
43806
|
return i.getModes();
|
|
43834
|
-
},
|
|
43807
|
+
}, I6 = /* @__PURE__ */ Object.freeze({
|
|
43835
43808
|
__proto__: null,
|
|
43836
43809
|
refresh: WS,
|
|
43837
43810
|
reset: bm,
|
|
43838
43811
|
isDocked: yz,
|
|
43839
43812
|
getModes: xz,
|
|
43840
|
-
setModes:
|
|
43813
|
+
setModes: B6
|
|
43841
43814
|
}), dx = function(t, n) {
|
|
43842
43815
|
return wn([
|
|
43843
43816
|
dc(Td(), function(i, s) {
|
|
@@ -43863,7 +43836,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43863
43836
|
}, zc = /* @__PURE__ */ Object.freeze({
|
|
43864
43837
|
__proto__: null,
|
|
43865
43838
|
events: dx
|
|
43866
|
-
}),
|
|
43839
|
+
}), F6 = [
|
|
43867
43840
|
su("contextual", [
|
|
43868
43841
|
dr("fadeInClass"),
|
|
43869
43842
|
dr("fadeOutClass"),
|
|
@@ -43897,20 +43870,20 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43897
43870
|
setModes: c.set,
|
|
43898
43871
|
readState: v
|
|
43899
43872
|
});
|
|
43900
|
-
},
|
|
43873
|
+
}, $6 = /* @__PURE__ */ Object.freeze({
|
|
43901
43874
|
__proto__: null,
|
|
43902
43875
|
init: wv
|
|
43903
43876
|
}), hu = Ua({
|
|
43904
|
-
fields:
|
|
43877
|
+
fields: F6,
|
|
43905
43878
|
name: "docking",
|
|
43906
43879
|
active: zc,
|
|
43907
|
-
apis:
|
|
43908
|
-
state:
|
|
43880
|
+
apis: I6,
|
|
43881
|
+
state: $6
|
|
43909
43882
|
}), mx = se(We("toolbar-height-change")), ql = {
|
|
43910
43883
|
fadeInClass: "tox-editor-dock-fadein",
|
|
43911
43884
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
43912
43885
|
transitionClass: "tox-editor-dock-transition"
|
|
43913
|
-
}, ld = "tox-tinymce--toolbar-sticky-on", Du = "tox-tinymce--toolbar-sticky-off",
|
|
43886
|
+
}, ld = "tox-tinymce--toolbar-sticky-on", Du = "tox-tinymce--toolbar-sticky-off", N6 = function(t, n) {
|
|
43914
43887
|
var i = so(n), s = i.dom.defaultView.innerHeight, c = co(i), v = yt.fromDom(t.elm), h = Sl(v), y = ci(v), _ = h.y, k = _ + y, E = Lo(n), P = ci(n), F = E.top, L = F + P, U = Math.abs(F - c.top) < 2, te = Math.abs(L - (c.top + s)) < 2;
|
|
43915
43888
|
if (U && _ < L)
|
|
43916
43889
|
Wc(c.left, _ - P, i);
|
|
@@ -43943,7 +43916,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43943
43916
|
}, _z = function(t, n) {
|
|
43944
43917
|
var i = yt.fromDom(t.getContainer());
|
|
43945
43918
|
n ? (Ci(i, ld), qa(i, Du)) : (Ci(i, Du), qa(i, ld));
|
|
43946
|
-
},
|
|
43919
|
+
}, L6 = function(t, n) {
|
|
43947
43920
|
var i = so(n);
|
|
43948
43921
|
gf(i).filter(function(s) {
|
|
43949
43922
|
return !Nn(n, s);
|
|
@@ -43973,7 +43946,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43973
43946
|
i().each(function(c) {
|
|
43974
43947
|
hu.refresh(c);
|
|
43975
43948
|
var v = c.element;
|
|
43976
|
-
n1(v) &&
|
|
43949
|
+
n1(v) && N6(s, v);
|
|
43977
43950
|
});
|
|
43978
43951
|
}), t.on("PostRender", function() {
|
|
43979
43952
|
_z(t, !1);
|
|
@@ -44013,7 +43986,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44013
43986
|
ql.fadeInClass
|
|
44014
43987
|
]);
|
|
44015
43988
|
}), i.get().each(function(_) {
|
|
44016
|
-
|
|
43989
|
+
L6(y.element, _), i.clear();
|
|
44017
43990
|
});
|
|
44018
43991
|
},
|
|
44019
43992
|
onHide: function(y) {
|
|
@@ -44036,12 +44009,12 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44036
44009
|
onUndocked: v
|
|
44037
44010
|
})
|
|
44038
44011
|
], h, !0);
|
|
44039
|
-
},
|
|
44012
|
+
}, H6 = /* @__PURE__ */ Object.freeze({
|
|
44040
44013
|
__proto__: null,
|
|
44041
44014
|
setup: wz,
|
|
44042
44015
|
isDocked: _p,
|
|
44043
44016
|
getBehaviours: KS
|
|
44044
|
-
}),
|
|
44017
|
+
}), V6 = function(t) {
|
|
44045
44018
|
var n = t.editor, i = t.sticky ? KS : cz;
|
|
44046
44019
|
return {
|
|
44047
44020
|
uid: t.uid,
|
|
@@ -44049,7 +44022,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44049
44022
|
components: t.components,
|
|
44050
44023
|
behaviours: ft(i(n, t.sharedBackstage))
|
|
44051
44024
|
};
|
|
44052
|
-
},
|
|
44025
|
+
}, j6 = Ut([
|
|
44053
44026
|
dr("type"),
|
|
44054
44027
|
Bi("items", Pp([
|
|
44055
44028
|
Rp([
|
|
@@ -44058,8 +44031,8 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44058
44031
|
]),
|
|
44059
44032
|
ca
|
|
44060
44033
|
]))
|
|
44061
|
-
].concat(v1)),
|
|
44062
|
-
return Ta("GroupToolbarButton",
|
|
44034
|
+
].concat(v1)), q6 = function(t) {
|
|
44035
|
+
return Ta("GroupToolbarButton", j6, t);
|
|
44063
44036
|
}, wp = [
|
|
44064
44037
|
qn("text"),
|
|
44065
44038
|
qn("tooltip"),
|
|
@@ -44068,9 +44041,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44068
44041
|
Zn("onSetup", function() {
|
|
44069
44042
|
return it;
|
|
44070
44043
|
})
|
|
44071
|
-
],
|
|
44072
|
-
return Ta("menubutton",
|
|
44073
|
-
},
|
|
44044
|
+
], U6 = Ut(Xe([dr("type")], wp, !0)), Cz = function(t) {
|
|
44045
|
+
return Ta("menubutton", U6, t);
|
|
44046
|
+
}, W6 = Ut([
|
|
44074
44047
|
dr("type"),
|
|
44075
44048
|
qn("tooltip"),
|
|
44076
44049
|
qn("icon"),
|
|
@@ -44088,9 +44061,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44088
44061
|
ve("columns", 1),
|
|
44089
44062
|
wi("onAction"),
|
|
44090
44063
|
wi("onItemAction")
|
|
44091
|
-
]),
|
|
44092
|
-
return Ta("SplitButton",
|
|
44093
|
-
},
|
|
44064
|
+
]), G6 = function(t) {
|
|
44065
|
+
return Ta("SplitButton", W6, t);
|
|
44066
|
+
}, K6 = function(t, n) {
|
|
44094
44067
|
var i = function(c, v) {
|
|
44095
44068
|
var h = je(v, function(y) {
|
|
44096
44069
|
var _ = {
|
|
@@ -44155,7 +44128,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44155
44128
|
domModification: { attributes: { role: "menubar" } }
|
|
44156
44129
|
};
|
|
44157
44130
|
}, Cp = Nl({
|
|
44158
|
-
factory:
|
|
44131
|
+
factory: K6,
|
|
44159
44132
|
name: "silver.Menubar",
|
|
44160
44133
|
configFields: [
|
|
44161
44134
|
He("dom"),
|
|
@@ -44194,7 +44167,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44194
44167
|
qa(t.element, n.closedClass), Ci(t.element, n.openClass), Hn(t.element, cd(n));
|
|
44195
44168
|
}, _m = function(t, n, i, s) {
|
|
44196
44169
|
i.setCollapsed(), pr(t.element, cd(n), xm(n, t.element)), Vc(t.element), bx(t, n), kp(t, n), n.onStartShrink(t), n.onShrunk(t);
|
|
44197
|
-
},
|
|
44170
|
+
}, Y6 = function(t, n, i, s) {
|
|
44198
44171
|
var c = s.getOrThunk(function() {
|
|
44199
44172
|
return xm(n, t.element);
|
|
44200
44173
|
});
|
|
@@ -44202,7 +44175,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44202
44175
|
var v = e0(t, n);
|
|
44203
44176
|
qa(v, n.growingClass), Ci(v, n.shrinkingClass), kp(t, n), n.onStartShrink(t);
|
|
44204
44177
|
}, kz = function(t, n, i) {
|
|
44205
|
-
var s = xm(n, t.element), c = s === "0px" ? _m :
|
|
44178
|
+
var s = xm(n, t.element), c = s === "0px" ? _m : Y6;
|
|
44206
44179
|
c(t, n, i, C.some(s));
|
|
44207
44180
|
}, yx = function(t, n, i) {
|
|
44208
44181
|
var s = e0(t, n), c = Uo(s, n.shrinkingClass), v = xm(n, t.element);
|
|
@@ -44213,7 +44186,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44213
44186
|
kp(t, n);
|
|
44214
44187
|
}, k = c ? y : _;
|
|
44215
44188
|
k(), qa(s, n.shrinkingClass), Ci(s, n.growingClass), t0(t, n), pr(t.element, cd(n), h), i.setExpanded(), n.onStartGrow(t);
|
|
44216
|
-
},
|
|
44189
|
+
}, X6 = function(t, n, i) {
|
|
44217
44190
|
if (i.isExpanded()) {
|
|
44218
44191
|
Hn(t.element, cd(n));
|
|
44219
44192
|
var s = xm(n, t.element);
|
|
@@ -44223,9 +44196,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44223
44196
|
i.isExpanded() || yx(t, n, i);
|
|
44224
44197
|
}, Sz = function(t, n, i) {
|
|
44225
44198
|
i.isExpanded() && kz(t, n, i);
|
|
44226
|
-
},
|
|
44199
|
+
}, J6 = function(t, n, i) {
|
|
44227
44200
|
i.isExpanded() && _m(t, n, i);
|
|
44228
|
-
},
|
|
44201
|
+
}, Z6 = function(t, n, i) {
|
|
44229
44202
|
return i.isExpanded();
|
|
44230
44203
|
}, r0 = function(t, n, i) {
|
|
44231
44204
|
return i.isCollapsed();
|
|
@@ -44235,25 +44208,25 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44235
44208
|
}, Tz = function(t, n, i) {
|
|
44236
44209
|
var s = e0(t, n);
|
|
44237
44210
|
return Uo(s, n.shrinkingClass) === !0;
|
|
44238
|
-
},
|
|
44211
|
+
}, Q6 = function(t, n, i) {
|
|
44239
44212
|
return _x(t, n) || Tz(t, n);
|
|
44240
44213
|
}, Oz = function(t, n, i) {
|
|
44241
44214
|
var s = i.isExpanded() ? kz : yx;
|
|
44242
44215
|
s(t, n, i);
|
|
44243
|
-
},
|
|
44216
|
+
}, e$ = /* @__PURE__ */ Object.freeze({
|
|
44244
44217
|
__proto__: null,
|
|
44245
|
-
refresh:
|
|
44218
|
+
refresh: X6,
|
|
44246
44219
|
grow: xx,
|
|
44247
44220
|
shrink: Sz,
|
|
44248
|
-
immediateShrink:
|
|
44249
|
-
hasGrown:
|
|
44221
|
+
immediateShrink: J6,
|
|
44222
|
+
hasGrown: Z6,
|
|
44250
44223
|
hasShrunk: r0,
|
|
44251
44224
|
isGrowing: _x,
|
|
44252
44225
|
isShrinking: Tz,
|
|
44253
|
-
isTransitioning:
|
|
44226
|
+
isTransitioning: Q6,
|
|
44254
44227
|
toggleGrow: Oz,
|
|
44255
44228
|
disableTransitions: bx
|
|
44256
|
-
}),
|
|
44229
|
+
}), t$ = function(t, n, i) {
|
|
44257
44230
|
var s = n.expanded;
|
|
44258
44231
|
return Ys(s ? {
|
|
44259
44232
|
classes: [n.openClass],
|
|
@@ -44273,7 +44246,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44273
44246
|
})]);
|
|
44274
44247
|
}, r = /* @__PURE__ */ Object.freeze({
|
|
44275
44248
|
__proto__: null,
|
|
44276
|
-
exhibit:
|
|
44249
|
+
exhibit: t$,
|
|
44277
44250
|
events: e
|
|
44278
44251
|
}), a = [
|
|
44279
44252
|
He("closedClass"),
|
|
@@ -44322,7 +44295,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44322
44295
|
fields: a,
|
|
44323
44296
|
name: "sliding",
|
|
44324
44297
|
active: r,
|
|
44325
|
-
apis:
|
|
44298
|
+
apis: e$,
|
|
44326
44299
|
state: u
|
|
44327
44300
|
}), m = "container", p = [to("slotBehaviours", [])], b = function(t) {
|
|
44328
44301
|
return "<alloy.field." + t + ">";
|
|
@@ -45027,7 +45000,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45027
45000
|
is.setGroups(c, YS(s));
|
|
45028
45001
|
});
|
|
45029
45002
|
});
|
|
45030
|
-
},
|
|
45003
|
+
}, r$ = function(t, n, i, s) {
|
|
45031
45004
|
var c = fn(is.sketch({
|
|
45032
45005
|
fetch: function() {
|
|
45033
45006
|
return zo.nu(function(v) {
|
|
@@ -45110,7 +45083,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45110
45083
|
name: "SplitFloatingToolbar",
|
|
45111
45084
|
configFields: Ru(),
|
|
45112
45085
|
partFields: Hi(),
|
|
45113
|
-
factory:
|
|
45086
|
+
factory: r$,
|
|
45114
45087
|
apis: {
|
|
45115
45088
|
setGroups: function(t, n, i) {
|
|
45116
45089
|
t.setGroups(n, i);
|
|
@@ -45131,7 +45104,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45131
45104
|
return t.getOverflow(n);
|
|
45132
45105
|
}
|
|
45133
45106
|
}
|
|
45134
|
-
}),
|
|
45107
|
+
}), n$ = se([
|
|
45135
45108
|
Gv([
|
|
45136
45109
|
"closedClass",
|
|
45137
45110
|
"openClass",
|
|
@@ -45141,7 +45114,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45141
45114
|
]),
|
|
45142
45115
|
Fr("onOpened"),
|
|
45143
45116
|
Fr("onClosed")
|
|
45144
|
-
].concat(eu())),
|
|
45117
|
+
].concat(eu())), a$ = se([
|
|
45145
45118
|
Yo({
|
|
45146
45119
|
factory: Ef,
|
|
45147
45120
|
schema: Ac(),
|
|
@@ -45195,7 +45168,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45195
45168
|
}
|
|
45196
45169
|
}),
|
|
45197
45170
|
$l({ name: "overflow-group" })
|
|
45198
|
-
]),
|
|
45171
|
+
]), i$ = function(t, n) {
|
|
45199
45172
|
return Qn(t, n, "overflow").map(l.hasGrown).getOr(!1);
|
|
45200
45173
|
}, Ez = function(t, n) {
|
|
45201
45174
|
Qn(t, n, "overflow-button").bind(function() {
|
|
@@ -45252,15 +45225,15 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45252
45225
|
return Ez(h, t);
|
|
45253
45226
|
},
|
|
45254
45227
|
isOpen: function(h) {
|
|
45255
|
-
return
|
|
45228
|
+
return i$(h, t);
|
|
45256
45229
|
}
|
|
45257
45230
|
},
|
|
45258
45231
|
domModification: { attributes: { role: "group" } }
|
|
45259
45232
|
};
|
|
45260
45233
|
}, fe = Xo({
|
|
45261
45234
|
name: "SplitSlidingToolbar",
|
|
45262
|
-
configFields:
|
|
45263
|
-
partFields:
|
|
45235
|
+
configFields: n$(),
|
|
45236
|
+
partFields: a$(),
|
|
45264
45237
|
factory: Az,
|
|
45265
45238
|
apis: {
|
|
45266
45239
|
setGroups: function(t, n, i) {
|
|
@@ -45556,7 +45529,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45556
45529
|
He("getSink")
|
|
45557
45530
|
]
|
|
45558
45531
|
}), k8 = Ch.optional({
|
|
45559
|
-
factory: { sketch:
|
|
45532
|
+
factory: { sketch: V6 },
|
|
45560
45533
|
name: "header",
|
|
45561
45534
|
schema: [He("dom")]
|
|
45562
45535
|
}), S8 = Ch.optional({
|
|
@@ -45685,10 +45658,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45685
45658
|
});
|
|
45686
45659
|
}
|
|
45687
45660
|
};
|
|
45688
|
-
},
|
|
45661
|
+
}, o$ = function(t) {
|
|
45689
45662
|
return typeof t == "string" ? t.split(" ") : t;
|
|
45690
45663
|
}, rN = function(t, n) {
|
|
45691
|
-
var i = re(re({}, tN), n.menus), s = Xn(n.menus).length > 0, c = n.menubar === void 0 || n.menubar === !0 ?
|
|
45664
|
+
var i = re(re({}, tN), n.menus), s = Xn(n.menus).length > 0, c = n.menubar === void 0 || n.menubar === !0 ? o$(E8) : o$(n.menubar === !1 ? "" : n.menubar), v = Vt(c, function(y) {
|
|
45692
45665
|
var _ = mn(tN, y);
|
|
45693
45666
|
return s ? _ || Yt(n.menus, y).exists(function(k) {
|
|
45694
45667
|
return mn(k, "items");
|
|
@@ -45697,7 +45670,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45697
45670
|
var _ = i[y];
|
|
45698
45671
|
return A8({
|
|
45699
45672
|
title: _.title,
|
|
45700
|
-
items:
|
|
45673
|
+
items: o$(_.items)
|
|
45701
45674
|
}, n, t);
|
|
45702
45675
|
});
|
|
45703
45676
|
return Vt(h, function(y) {
|
|
@@ -45875,13 +45848,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45875
45848
|
})(kx || (kx = {}));
|
|
45876
45849
|
var $8 = function(t, n) {
|
|
45877
45850
|
return n === kx.SemiColon ? t.replace(/;$/, "").split(";") : t.split(" ");
|
|
45878
|
-
},
|
|
45851
|
+
}, u$ = function(t, n, i, s) {
|
|
45879
45852
|
var c = t.getParam(n, i, "string"), v = I8($8(c, s));
|
|
45880
45853
|
return {
|
|
45881
45854
|
type: "basic",
|
|
45882
45855
|
data: v
|
|
45883
45856
|
};
|
|
45884
|
-
},
|
|
45857
|
+
}, s$ = [
|
|
45885
45858
|
{
|
|
45886
45859
|
title: "Left",
|
|
45887
45860
|
icon: "align-left",
|
|
@@ -45908,7 +45881,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45908
45881
|
}
|
|
45909
45882
|
], uN = function(t) {
|
|
45910
45883
|
var n = function() {
|
|
45911
|
-
return Hr(
|
|
45884
|
+
return Hr(s$, function(y) {
|
|
45912
45885
|
return t.formatter.match(y.format);
|
|
45913
45886
|
});
|
|
45914
45887
|
}, i = function(y) {
|
|
@@ -45922,9 +45895,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45922
45895
|
return E.title.toLowerCase();
|
|
45923
45896
|
});
|
|
45924
45897
|
qt(y, hS, { icon: "align-" + k });
|
|
45925
|
-
}, v = F8(
|
|
45898
|
+
}, v = F8(s$), h = function(y) {
|
|
45926
45899
|
return function() {
|
|
45927
|
-
return Hr(
|
|
45900
|
+
return Hr(s$, function(_) {
|
|
45928
45901
|
return _.format === y.format;
|
|
45929
45902
|
}).each(function(_) {
|
|
45930
45903
|
return t.execCommand(_.command);
|
|
@@ -46019,7 +45992,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46019
45992
|
return U.title;
|
|
46020
45993
|
});
|
|
46021
45994
|
qt(k, gp, { text: L });
|
|
46022
|
-
}, _ =
|
|
45995
|
+
}, _ = u$(t, "font_formats", H8, kx.SemiColon);
|
|
46023
45996
|
return {
|
|
46024
45997
|
tooltip: "Fonts",
|
|
46025
45998
|
text: C.some(n),
|
|
@@ -46101,7 +46074,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46101
46074
|
return L.title;
|
|
46102
46075
|
});
|
|
46103
46076
|
qt(_, gp, { text: F });
|
|
46104
|
-
}, y =
|
|
46077
|
+
}, y = u$(t, "fontsize_formats", W8, kx.Space);
|
|
46105
46078
|
return {
|
|
46106
46079
|
tooltip: "Font sizes",
|
|
46107
46080
|
text: C.some("12pt"),
|
|
@@ -46159,7 +46132,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46159
46132
|
return k.title;
|
|
46160
46133
|
});
|
|
46161
46134
|
qt(h, gp, { text: _ });
|
|
46162
|
-
}, v =
|
|
46135
|
+
}, v = u$(t, "block_formats", e7, kx.SemiColon);
|
|
46163
46136
|
return {
|
|
46164
46137
|
tooltip: "Blocks",
|
|
46165
46138
|
text: C.some(n),
|
|
@@ -46501,7 +46474,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46501
46474
|
title: n.translate(i)
|
|
46502
46475
|
};
|
|
46503
46476
|
}).getOr({});
|
|
46504
|
-
}, hN = We("focus-button"),
|
|
46477
|
+
}, hN = We("focus-button"), l$ = function(t, n, i, s, c, v) {
|
|
46505
46478
|
var h;
|
|
46506
46479
|
return {
|
|
46507
46480
|
dom: {
|
|
@@ -46559,7 +46532,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46559
46532
|
},
|
|
46560
46533
|
markers: { toggledClass: "tox-tbtn--enabled" },
|
|
46561
46534
|
parts: {
|
|
46562
|
-
button:
|
|
46535
|
+
button: l$(t.icon, t.text, t.tooltip, C.none(), C.none(), c.providers),
|
|
46563
46536
|
toolbar: {
|
|
46564
46537
|
dom: {
|
|
46565
46538
|
tag: "div",
|
|
@@ -46570,7 +46543,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46570
46543
|
}
|
|
46571
46544
|
});
|
|
46572
46545
|
}, gN = function(t, n, i) {
|
|
46573
|
-
var s = Zt(it), c =
|
|
46546
|
+
var s = Zt(it), c = l$(t.icon, t.text, t.tooltip, C.none(), C.none(), i);
|
|
46574
46547
|
return mu.sketch({
|
|
46575
46548
|
dom: c.dom,
|
|
46576
46549
|
components: c.components,
|
|
@@ -46697,7 +46670,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46697
46670
|
fetch: w7(c, t, n.providers),
|
|
46698
46671
|
parts: { menu: h1(!1, t.columns, t.presets) },
|
|
46699
46672
|
components: [
|
|
46700
|
-
Pz.parts.button(
|
|
46673
|
+
Pz.parts.button(l$(t.icon, t.text, C.none(), C.some(s), C.some([un.config({
|
|
46701
46674
|
toggleClass: "tox-tbtn--enabled",
|
|
46702
46675
|
toggleOnExecute: !1
|
|
46703
46676
|
})]), n.providers)),
|
|
@@ -46779,10 +46752,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46779
46752
|
menubutton: QS(Cz, function(t, n) {
|
|
46780
46753
|
return pS(t, "tox-tbtn", n.backstage, C.none());
|
|
46781
46754
|
}),
|
|
46782
|
-
splitbutton: QS(
|
|
46755
|
+
splitbutton: QS(G6, function(t, n) {
|
|
46783
46756
|
return C7(t, n.backstage.shared);
|
|
46784
46757
|
}),
|
|
46785
|
-
grouptoolbarbutton: QS(
|
|
46758
|
+
grouptoolbarbutton: QS(q6, function(t, n, i) {
|
|
46786
46759
|
var s, c = i.ui.registry.getAll().buttons, v = function(y) {
|
|
46787
46760
|
return Rz(i, {
|
|
46788
46761
|
buttons: c,
|
|
@@ -46960,10 +46933,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46960
46933
|
}, M7 = /* @__PURE__ */ Object.freeze({
|
|
46961
46934
|
__proto__: null,
|
|
46962
46935
|
render: R7
|
|
46963
|
-
}),
|
|
46936
|
+
}), c$ = function(t) {
|
|
46964
46937
|
var n = /^[0-9\.]+(|px)$/i;
|
|
46965
46938
|
return n.test("" + t) ? C.some(parseInt("" + t, 10)) : C.none();
|
|
46966
|
-
},
|
|
46939
|
+
}, f$ = function(t) {
|
|
46967
46940
|
return On(t) ? t + "px" : t;
|
|
46968
46941
|
}, Mz = function(t, n, i) {
|
|
46969
46942
|
var s = n.filter(function(v) {
|
|
@@ -46974,7 +46947,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46974
46947
|
return s.or(c).getOr(t);
|
|
46975
46948
|
}, B7 = function(t) {
|
|
46976
46949
|
var n = KC(t), i = FO(t), s = $O(t);
|
|
46977
|
-
return
|
|
46950
|
+
return c$(n).map(function(c) {
|
|
46978
46951
|
return Mz(c, i, s);
|
|
46979
46952
|
});
|
|
46980
46953
|
}, I7 = function(t) {
|
|
@@ -46982,7 +46955,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46982
46955
|
return n.getOr(KC(t));
|
|
46983
46956
|
}, wN = function(t) {
|
|
46984
46957
|
var n = IO(t), i = YC(t), s = XC(t);
|
|
46985
|
-
return
|
|
46958
|
+
return c$(n).map(function(c) {
|
|
46986
46959
|
return Mz(c, i, s);
|
|
46987
46960
|
});
|
|
46988
46961
|
}, F7 = function(t) {
|
|
@@ -47019,7 +46992,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47019
46992
|
Er(Ye.element, Qi, Dt);
|
|
47020
46993
|
}, Ue = function() {
|
|
47021
46994
|
var et = E.getOrThunk(function() {
|
|
47022
|
-
var Ye =
|
|
46995
|
+
var Ye = c$(xa(Ia(), "margin-left")).getOr(0);
|
|
47023
46996
|
return lo(Ia()) - Lo(n).left + Ye;
|
|
47024
46997
|
});
|
|
47025
46998
|
pr(c.get().element, "max-width", et + "px");
|
|
@@ -47239,7 +47212,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47239
47212
|
}).getOr(n);
|
|
47240
47213
|
} else
|
|
47241
47214
|
return n;
|
|
47242
|
-
},
|
|
47215
|
+
}, v$ = function(t) {
|
|
47243
47216
|
var n = t.selection.getRng(), i = X7(n);
|
|
47244
47217
|
if (t.inline) {
|
|
47245
47218
|
var s = co();
|
|
@@ -47250,7 +47223,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47250
47223
|
}
|
|
47251
47224
|
}, J7 = function(t, n) {
|
|
47252
47225
|
return n.filter(ma).map(Sl).getOrThunk(function() {
|
|
47253
|
-
return
|
|
47226
|
+
return v$(t);
|
|
47254
47227
|
});
|
|
47255
47228
|
}, Z7 = function(t, n, i) {
|
|
47256
47229
|
var s = Math.max(t.x + i, n.x), c = Math.min(t.right - i, n.right);
|
|
@@ -47311,7 +47284,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47311
47284
|
}, DN = function(t) {
|
|
47312
47285
|
return t === "node";
|
|
47313
47286
|
}, rH = function(t, n, i, s, c) {
|
|
47314
|
-
var v =
|
|
47287
|
+
var v = v$(t), h = s.lastElement().exists(function(k) {
|
|
47315
47288
|
return Nn(i, k);
|
|
47316
47289
|
});
|
|
47317
47290
|
if (eH(t, i))
|
|
@@ -47395,7 +47368,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47395
47368
|
layouts: nH(t, i, s, n),
|
|
47396
47369
|
overrides: zN
|
|
47397
47370
|
};
|
|
47398
|
-
},
|
|
47371
|
+
}, d$ = function(t, n) {
|
|
47399
47372
|
var i = Vt(n, function(h) {
|
|
47400
47373
|
return h.predicate(t.dom);
|
|
47401
47374
|
}), s = Ra(i, function(h) {
|
|
@@ -47449,13 +47422,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47449
47422
|
});
|
|
47450
47423
|
});
|
|
47451
47424
|
}, uH = function(t, n, i) {
|
|
47452
|
-
var s =
|
|
47425
|
+
var s = d$(t, n);
|
|
47453
47426
|
if (s.contextForms.length > 0)
|
|
47454
47427
|
return C.some({
|
|
47455
47428
|
elem: t,
|
|
47456
47429
|
toolbars: [s.contextForms[0]]
|
|
47457
47430
|
});
|
|
47458
|
-
var c =
|
|
47431
|
+
var c = d$(t, i);
|
|
47459
47432
|
if (c.contextForms.length > 0)
|
|
47460
47433
|
return C.some({
|
|
47461
47434
|
elem: t,
|
|
@@ -47472,7 +47445,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47472
47445
|
}, sH = function(t, n, i) {
|
|
47473
47446
|
return t(n) ? C.none() : Rm(n, function(s) {
|
|
47474
47447
|
if (Da(s)) {
|
|
47475
|
-
var c =
|
|
47448
|
+
var c = d$(s, i.inNodeScope), v = c.contextToolbars, h = c.contextForms, y = h.length > 0 ? h : oH(v);
|
|
47476
47449
|
return y.length > 0 ? C.some({
|
|
47477
47450
|
elem: s,
|
|
47478
47451
|
toolbars: y
|
|
@@ -47515,7 +47488,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47515
47488
|
lookupTable: h,
|
|
47516
47489
|
formNavigators: v
|
|
47517
47490
|
};
|
|
47518
|
-
}, PN = We("forward-slide"), RN = We("backward-slide"),
|
|
47491
|
+
}, PN = We("forward-slide"), RN = We("backward-slide"), m$ = We("change-slide-event"), h$ = "tox-pop--resizing", fH = function(t) {
|
|
47519
47492
|
var n = Zt([]);
|
|
47520
47493
|
return za.sketch({
|
|
47521
47494
|
dom: {
|
|
@@ -47526,18 +47499,18 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47526
47499
|
onShow: function(i) {
|
|
47527
47500
|
n.set([]), za.getContent(i).each(function(s) {
|
|
47528
47501
|
Hn(s.element, "visibility");
|
|
47529
|
-
}), qa(i.element,
|
|
47502
|
+
}), qa(i.element, h$), Hn(i.element, "width");
|
|
47530
47503
|
},
|
|
47531
47504
|
inlineBehaviours: ft([
|
|
47532
47505
|
Dr("context-toolbar-events", [
|
|
47533
47506
|
dc(Td(), function(i, s) {
|
|
47534
|
-
s.event.raw.propertyName === "width" && (qa(i.element,
|
|
47507
|
+
s.event.raw.propertyName === "width" && (qa(i.element, h$), Hn(i.element, "width"));
|
|
47535
47508
|
}),
|
|
47536
|
-
qe(
|
|
47509
|
+
qe(m$, function(i, s) {
|
|
47537
47510
|
var c = i.element;
|
|
47538
47511
|
Hn(c, "width");
|
|
47539
47512
|
var v = lo(c);
|
|
47540
|
-
za.setContent(i, s.event.contents), Ci(c,
|
|
47513
|
+
za.setContent(i, s.event.contents), Ci(c, h$);
|
|
47541
47514
|
var h = lo(c);
|
|
47542
47515
|
pr(c, "width", v + "px"), za.getContent(i).each(function(y) {
|
|
47543
47516
|
s.event.focus.bind(function(_) {
|
|
@@ -47555,14 +47528,14 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47555
47528
|
bar: c,
|
|
47556
47529
|
focus: gf(ui(i.element))
|
|
47557
47530
|
}]));
|
|
47558
|
-
}), qt(i,
|
|
47531
|
+
}), qt(i, m$, {
|
|
47559
47532
|
contents: s.event.forwardContents,
|
|
47560
47533
|
focus: C.none()
|
|
47561
47534
|
});
|
|
47562
47535
|
}),
|
|
47563
47536
|
qe(RN, function(i, s) {
|
|
47564
47537
|
Fu(n.get()).each(function(c) {
|
|
47565
|
-
n.set(n.get().slice(0, n.get().length - 1)), qt(i,
|
|
47538
|
+
n.set(n.get().slice(0, n.get().length - 1)), qt(i, m$, {
|
|
47566
47539
|
contents: ts(c.bar),
|
|
47567
47540
|
focus: c.focus
|
|
47568
47541
|
});
|
|
@@ -47584,7 +47557,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47584
47557
|
return br.value(t.sink);
|
|
47585
47558
|
}
|
|
47586
47559
|
});
|
|
47587
|
-
},
|
|
47560
|
+
}, g$ = "tox-pop--transition", vH = function(t, n, i, s) {
|
|
47588
47561
|
var c = s.backstage, v = c.shared, h = Jt().deviceType.isTouch, y = Aa(), _ = Aa(), k = Aa(), E = $i(fH({
|
|
47589
47562
|
sink: i,
|
|
47590
47563
|
onEscape: function() {
|
|
@@ -47599,7 +47572,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47599
47572
|
return ru(nu(lt, y.get(), Nn), !0);
|
|
47600
47573
|
}, U = function() {
|
|
47601
47574
|
if (F()) {
|
|
47602
|
-
var lt = P(), St = ru(k.get(), "node") ? J7(t, y.get()) :
|
|
47575
|
+
var lt = P(), St = ru(k.get(), "node") ? J7(t, y.get()) : v$(t);
|
|
47603
47576
|
return lt.height <= 0 || !ON(St, lt);
|
|
47604
47577
|
} else
|
|
47605
47578
|
return !0;
|
|
@@ -47672,10 +47645,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47672
47645
|
var et = me(lt), Ye = lt[0].position, Dt = ke(Ye, St);
|
|
47673
47646
|
k.set(Ye), _.set(1);
|
|
47674
47647
|
var Kt = E.element;
|
|
47675
|
-
Hn(Kt, "display"), L(St) || (qa(Kt,
|
|
47648
|
+
Hn(Kt, "display"), L(St) || (qa(Kt, g$), oe.reset(i, E)), za.showWithinBounds(E, Q(et), {
|
|
47676
47649
|
anchor: Dt,
|
|
47677
47650
|
transition: {
|
|
47678
|
-
classes: [
|
|
47651
|
+
classes: [g$],
|
|
47679
47652
|
mode: "placement"
|
|
47680
47653
|
}
|
|
47681
47654
|
}, function() {
|
|
@@ -47684,7 +47657,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47684
47657
|
}
|
|
47685
47658
|
}, Ne = CC(function() {
|
|
47686
47659
|
if (!(!t.hasFocus() || t.removed))
|
|
47687
|
-
if (Uo(E.element,
|
|
47660
|
+
if (Uo(E.element, g$))
|
|
47688
47661
|
Ne.throttle();
|
|
47689
47662
|
else {
|
|
47690
47663
|
var lt = he();
|
|
@@ -47938,7 +47911,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47938
47911
|
});
|
|
47939
47912
|
}, SH = function(t) {
|
|
47940
47913
|
kH(t);
|
|
47941
|
-
},
|
|
47914
|
+
}, p$ = function(t, n) {
|
|
47942
47915
|
return function() {
|
|
47943
47916
|
t.execCommand("mceToggleFormat", !1, n);
|
|
47944
47917
|
};
|
|
@@ -47979,7 +47952,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47979
47952
|
tooltip: s.text,
|
|
47980
47953
|
icon: s.icon,
|
|
47981
47954
|
onSetup: zz(t, s.name),
|
|
47982
|
-
onAction:
|
|
47955
|
+
onAction: p$(t, s.name)
|
|
47983
47956
|
});
|
|
47984
47957
|
});
|
|
47985
47958
|
for (var n = 1; n <= 6; n++) {
|
|
@@ -47988,7 +47961,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47988
47961
|
text: i.toUpperCase(),
|
|
47989
47962
|
tooltip: "Heading " + n,
|
|
47990
47963
|
onSetup: zz(t, i),
|
|
47991
|
-
onAction:
|
|
47964
|
+
onAction: p$(t, i)
|
|
47992
47965
|
});
|
|
47993
47966
|
}
|
|
47994
47967
|
}, OH = function(t) {
|
|
@@ -48160,7 +48133,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48160
48133
|
}), t.ui.registry.addMenuItem("codeformat", {
|
|
48161
48134
|
text: "Code",
|
|
48162
48135
|
icon: "sourcecode",
|
|
48163
|
-
onAction:
|
|
48136
|
+
onAction: p$(t, "code")
|
|
48164
48137
|
});
|
|
48165
48138
|
}, DH = function(t) {
|
|
48166
48139
|
AH(t), zH(t);
|
|
@@ -48400,7 +48373,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48400
48373
|
return t.getParam("contextmenu_avoid_overlap", "", "string");
|
|
48401
48374
|
}, LN = function(t) {
|
|
48402
48375
|
return Z(t) ? t === "|" : t.type === "separator";
|
|
48403
|
-
},
|
|
48376
|
+
}, b$ = { type: "separator" }, HN = function(t) {
|
|
48404
48377
|
var n = function(i) {
|
|
48405
48378
|
return {
|
|
48406
48379
|
text: i.text,
|
|
@@ -48413,7 +48386,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48413
48386
|
return t;
|
|
48414
48387
|
switch (t.type) {
|
|
48415
48388
|
case "separator":
|
|
48416
|
-
return
|
|
48389
|
+
return b$;
|
|
48417
48390
|
case "submenu":
|
|
48418
48391
|
return re(re({ type: "nestedmenuitem" }, n(t)), {
|
|
48419
48392
|
getSubmenuItems: function() {
|
|
@@ -48432,9 +48405,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48432
48405
|
}), s = i.fold(function() {
|
|
48433
48406
|
return [];
|
|
48434
48407
|
}, function(c) {
|
|
48435
|
-
return [
|
|
48408
|
+
return [b$];
|
|
48436
48409
|
});
|
|
48437
|
-
return t.concat(s).concat(n).concat([
|
|
48410
|
+
return t.concat(s).concat(n).concat([b$]);
|
|
48438
48411
|
}, iV = function(t, n, i) {
|
|
48439
48412
|
var s = Cr(n, function(c, v) {
|
|
48440
48413
|
return Yt(t, v.toLowerCase()).map(function(h) {
|
|
@@ -48496,7 +48469,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48496
48469
|
var _ = "ResizeEditor ScrollContent ScrollWindow longpresscancel" + (c() ? "" : " ResizeWindow");
|
|
48497
48470
|
t.on(_, h), t.on("longpress contextmenu", y);
|
|
48498
48471
|
});
|
|
48499
|
-
},
|
|
48472
|
+
}, y$ = hs.generate([
|
|
48500
48473
|
{
|
|
48501
48474
|
offset: [
|
|
48502
48475
|
"x",
|
|
@@ -48579,7 +48552,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48579
48552
|
}, function(s, c) {
|
|
48580
48553
|
return i0(s + n, c + i);
|
|
48581
48554
|
});
|
|
48582
|
-
},
|
|
48555
|
+
}, x$ = function(t, n, i, s) {
|
|
48583
48556
|
var c = function(v, h) {
|
|
48584
48557
|
return function(y, _) {
|
|
48585
48558
|
var k = v(n, i, s);
|
|
@@ -48587,7 +48560,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48587
48560
|
};
|
|
48588
48561
|
};
|
|
48589
48562
|
return t.fold(c(UN, Lz), c(Tx, Sp), c(Nz, i0));
|
|
48590
|
-
}, Lz =
|
|
48563
|
+
}, Lz = y$.offset, Sp = y$.absolute, i0 = y$.fixed, GN = function(t, n) {
|
|
48591
48564
|
var i = sa(t, n);
|
|
48592
48565
|
return cr(i) ? NaN : parseInt(i, 10);
|
|
48593
48566
|
}, vV = function(t, n) {
|
|
@@ -48624,7 +48597,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48624
48597
|
return Ma(t, function(c) {
|
|
48625
48598
|
var v = c.sensor, h = lV(n, v, c.range.left, c.range.top, i, s);
|
|
48626
48599
|
return h ? C.some({
|
|
48627
|
-
output:
|
|
48600
|
+
output: x$(c.output, n, i, s),
|
|
48628
48601
|
extra: c.extra
|
|
48629
48602
|
}) : C.none();
|
|
48630
48603
|
});
|
|
@@ -48651,7 +48624,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48651
48624
|
});
|
|
48652
48625
|
return y.snap.map(function(_) {
|
|
48653
48626
|
return {
|
|
48654
|
-
output:
|
|
48627
|
+
output: x$(_.output, i, s, c),
|
|
48655
48628
|
extra: _.extra
|
|
48656
48629
|
};
|
|
48657
48630
|
});
|
|
@@ -48661,7 +48634,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48661
48634
|
return KN(v, i, s, c);
|
|
48662
48635
|
}, xV = function(t, n, i) {
|
|
48663
48636
|
return {
|
|
48664
|
-
coord:
|
|
48637
|
+
coord: x$(t.output, t.output, n, i),
|
|
48665
48638
|
extra: t.extra
|
|
48666
48639
|
};
|
|
48667
48640
|
}, _V = function(t, n, i, s) {
|
|
@@ -48673,18 +48646,18 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48673
48646
|
}, wV = /* @__PURE__ */ Object.freeze({
|
|
48674
48647
|
__proto__: null,
|
|
48675
48648
|
snapTo: _V
|
|
48676
|
-
}),
|
|
48649
|
+
}), _$ = "data-initial-z-index", CV = function(t) {
|
|
48677
48650
|
yi(t.element).filter(Da).each(function(n) {
|
|
48678
|
-
Fa(n,
|
|
48651
|
+
Fa(n, _$).fold(function() {
|
|
48679
48652
|
return Hn(n, "z-index");
|
|
48680
48653
|
}, function(i) {
|
|
48681
48654
|
return pr(n, "z-index", i);
|
|
48682
|
-
}), li(n,
|
|
48655
|
+
}), li(n, _$);
|
|
48683
48656
|
});
|
|
48684
48657
|
}, kV = function(t) {
|
|
48685
48658
|
yi(t.element).filter(Da).each(function(n) {
|
|
48686
48659
|
_i(n, "z-index").each(function(i) {
|
|
48687
|
-
Er(n,
|
|
48660
|
+
Er(n, _$, i);
|
|
48688
48661
|
}), pr(n, "z-index", xa(t.element, "z-index"));
|
|
48689
48662
|
});
|
|
48690
48663
|
}, YN = function(t, n) {
|
|
@@ -48713,7 +48686,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48713
48686
|
He("topAttr"),
|
|
48714
48687
|
ve("lazyViewport", yu),
|
|
48715
48688
|
ve("mustSnap", !1)
|
|
48716
|
-
]),
|
|
48689
|
+
]), w$ = [
|
|
48717
48690
|
ve("useFixed", Gt),
|
|
48718
48691
|
He("blockerClass"),
|
|
48719
48692
|
ve("getTarget", fr),
|
|
@@ -48763,7 +48736,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48763
48736
|
height: Ku(n.element),
|
|
48764
48737
|
width: nc(n.element)
|
|
48765
48738
|
};
|
|
48766
|
-
},
|
|
48739
|
+
}, C$ = function(t, n, i, s, c) {
|
|
48767
48740
|
var v = i.update(s, c), h = i.getStartData().getOrThunk(function() {
|
|
48768
48741
|
return JN(n, t);
|
|
48769
48742
|
});
|
|
@@ -48776,7 +48749,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48776
48749
|
});
|
|
48777
48750
|
var c = i.getTarget(t.element);
|
|
48778
48751
|
s.reset(), i.onDrop(t, c);
|
|
48779
|
-
},
|
|
48752
|
+
}, k$ = function(t) {
|
|
48780
48753
|
return function(n, i) {
|
|
48781
48754
|
var s = function(c) {
|
|
48782
48755
|
i.setStartData(JN(n, c));
|
|
@@ -48816,7 +48789,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48816
48789
|
delayDrop: y.schedule,
|
|
48817
48790
|
forceDrop: h,
|
|
48818
48791
|
move: function(P) {
|
|
48819
|
-
y.cancel(),
|
|
48792
|
+
y.cancel(), C$(s, t, n, MV, P);
|
|
48820
48793
|
}
|
|
48821
48794
|
}, k = XN(s, t.blockerClass, DV(_)), E = function() {
|
|
48822
48795
|
i(s), YN(s, k);
|
|
@@ -48824,7 +48797,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48824
48797
|
E();
|
|
48825
48798
|
}
|
|
48826
48799
|
})];
|
|
48827
|
-
}, BV = Xe(Xe([],
|
|
48800
|
+
}, BV = Xe(Xe([], w$, !0), [Gn("dragger", { handlers: k$(QN) })], !1), IV = function(t) {
|
|
48828
48801
|
return wn([
|
|
48829
48802
|
qe(tf(), t.forceDrop),
|
|
48830
48803
|
qe(kd(), t.drop),
|
|
@@ -48859,7 +48832,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48859
48832
|
delayDrop: it,
|
|
48860
48833
|
forceDrop: y,
|
|
48861
48834
|
move: function(P) {
|
|
48862
|
-
|
|
48835
|
+
C$(v, t, n, eL, P);
|
|
48863
48836
|
}
|
|
48864
48837
|
}, k = XN(v, t.blockerClass, IV(_));
|
|
48865
48838
|
s.set(k);
|
|
@@ -48869,16 +48842,16 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48869
48842
|
E();
|
|
48870
48843
|
}),
|
|
48871
48844
|
qe(gs(), function(v, h) {
|
|
48872
|
-
h.stop(),
|
|
48845
|
+
h.stop(), C$(v, t, n, eL, h.event);
|
|
48873
48846
|
}),
|
|
48874
48847
|
qe(kd(), function(v, h) {
|
|
48875
48848
|
h.stop(), c(v);
|
|
48876
48849
|
}),
|
|
48877
48850
|
qe($h(), c)
|
|
48878
48851
|
];
|
|
48879
|
-
}, LV = Xe(Xe([],
|
|
48852
|
+
}, LV = Xe(Xe([], w$, !0), [Gn("dragger", { handlers: k$(tL) })], !1), HV = function(t, n, i) {
|
|
48880
48853
|
return Xe(Xe([], QN(t, n, i), !0), tL(t, n, i), !0);
|
|
48881
|
-
}, VV = Xe(Xe([],
|
|
48854
|
+
}, VV = Xe(Xe([], w$, !0), [Gn("dragger", { handlers: k$(HV) })], !1), jV = BV, qV = LV, UV = VV, WV = /* @__PURE__ */ Object.freeze({
|
|
48882
48855
|
__proto__: null,
|
|
48883
48856
|
mouse: jV,
|
|
48884
48857
|
touch: qV,
|
|
@@ -48932,7 +48905,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48932
48905
|
},
|
|
48933
48906
|
state: KV,
|
|
48934
48907
|
apis: wV
|
|
48935
|
-
}),
|
|
48908
|
+
}), S$ = 40, Hz = S$ / 2, rL = function(t, n, i, s, c, v) {
|
|
48936
48909
|
return t.fold(function() {
|
|
48937
48910
|
return o0.snap({
|
|
48938
48911
|
sensor: Sp(i - Hz, s - Hz),
|
|
@@ -48941,7 +48914,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48941
48914
|
extra: { td: n }
|
|
48942
48915
|
});
|
|
48943
48916
|
}, function(h) {
|
|
48944
|
-
var y = i - Hz, _ = s - Hz, k =
|
|
48917
|
+
var y = i - Hz, _ = s - Hz, k = S$, E = S$, P = h.element.dom.getBoundingClientRect();
|
|
48945
48918
|
return o0.snap({
|
|
48946
48919
|
sensor: Sp(y, _),
|
|
48947
48920
|
range: hn(k, E),
|
|
@@ -49142,7 +49115,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49142
49115
|
}, iL = function(t, n, i) {
|
|
49143
49116
|
var s = yt.fromDom(t.getContainer()), c = ZV(t, n, i, ci(s), lo(s));
|
|
49144
49117
|
Jn(c, function(v, h) {
|
|
49145
|
-
return pr(s, h,
|
|
49118
|
+
return pr(s, h, f$(v));
|
|
49146
49119
|
}), O5(t);
|
|
49147
49120
|
}, QV = function(t) {
|
|
49148
49121
|
var n = !t.hasPlugin("autoresize"), i = t.getParam("resize", n);
|
|
@@ -49273,7 +49246,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49273
49246
|
components: c()
|
|
49274
49247
|
};
|
|
49275
49248
|
}, nj = function(t) {
|
|
49276
|
-
var n, i = t.inline, s = i ? H7 : M7, c = w1(t) ?
|
|
49249
|
+
var n, i = t.inline, s = i ? H7 : M7, c = w1(t) ? H6 : VS, v = C.none(), h = Jt(), y = h.browser.isIE(), _ = y ? ["tox-platform-ie"] : [], k = h.deviceType.isTouch(), E = "tox-platform-touch", P = k ? [E] : [], F = QC(t), L = UO(t), U = wf.isRtl() ? { attributes: { dir: "rtl" } } : {}, te = { attributes: (n = {}, n[Qi] = F ? bf.BottomToTop : bf.TopToBottom, n) }, de = function() {
|
|
49277
49250
|
return v.bind(oi.getHeader);
|
|
49278
49251
|
}, Q = function() {
|
|
49279
49252
|
return c.isDocked(de);
|
|
@@ -49318,7 +49291,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49318
49291
|
return v.bind(function(gu) {
|
|
49319
49292
|
return oi.getThrobber(gu);
|
|
49320
49293
|
}).getOrDie("Could not find throbber element");
|
|
49321
|
-
}, St =
|
|
49294
|
+
}, St = w6(Ue, t, _e), et = oi.parts.menubar({
|
|
49322
49295
|
dom: {
|
|
49323
49296
|
tag: "div",
|
|
49324
49297
|
classes: ["tox-menubar"]
|
|
@@ -49377,7 +49350,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49377
49350
|
rt,
|
|
49378
49351
|
Lt
|
|
49379
49352
|
]
|
|
49380
|
-
}, Bf = d2(t), Pc = ZC(t),
|
|
49353
|
+
}, Bf = d2(t), Pc = ZC(t), $$ = JC(t), N$ = function() {
|
|
49381
49354
|
return Bf ? [Kt] : Pc ? [Dt] : [];
|
|
49382
49355
|
}, qz = oi.parts.header({
|
|
49383
49356
|
dom: re({
|
|
@@ -49385,14 +49358,14 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49385
49358
|
classes: ["tox-editor-header"]
|
|
49386
49359
|
}, te),
|
|
49387
49360
|
components: tr([
|
|
49388
|
-
|
|
49389
|
-
|
|
49361
|
+
$$ ? [et] : [],
|
|
49362
|
+
N$(),
|
|
49390
49363
|
m2(t) ? [] : [ke.asSpec()]
|
|
49391
49364
|
]),
|
|
49392
49365
|
sticky: w1(t),
|
|
49393
49366
|
editor: t,
|
|
49394
49367
|
sharedBackstage: St.shared
|
|
49395
|
-
}),
|
|
49368
|
+
}), L$ = tr([
|
|
49396
49369
|
F ? [] : [qz],
|
|
49397
49370
|
i ? [] : [La],
|
|
49398
49371
|
F ? [qz] : []
|
|
@@ -49401,7 +49374,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49401
49374
|
tag: "div",
|
|
49402
49375
|
classes: ["tox-editor-container"]
|
|
49403
49376
|
},
|
|
49404
|
-
components:
|
|
49377
|
+
components: L$
|
|
49405
49378
|
}, Uz = tr([
|
|
49406
49379
|
[rT],
|
|
49407
49380
|
i ? [] : Fn.toArray(),
|
|
@@ -49440,33 +49413,33 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49440
49413
|
});
|
|
49441
49414
|
var aT = um(kv), sl = um(Ue);
|
|
49442
49415
|
uz(t, aT, sl);
|
|
49443
|
-
var
|
|
49416
|
+
var H$ = function() {
|
|
49444
49417
|
var gu = {
|
|
49445
49418
|
broadcastAll: sl.broadcast,
|
|
49446
49419
|
broadcastOn: sl.broadcastOn,
|
|
49447
49420
|
register: it
|
|
49448
49421
|
};
|
|
49449
49422
|
return { channels: gu };
|
|
49450
|
-
},
|
|
49451
|
-
var gu =
|
|
49423
|
+
}, V$ = function() {
|
|
49424
|
+
var gu = f$(I7(t)), Tp = f$(F7(t));
|
|
49452
49425
|
return t.inline || (Hf("div", "width", Tp) && pr(kv.element, "width", Tp), Hf("div", "height", gu) ? pr(kv.element, "height", gu) : pr(kv.element, "height", "200px")), gu;
|
|
49453
|
-
},
|
|
49426
|
+
}, j$ = function() {
|
|
49454
49427
|
c.setup(t, St.shared, de), NH(t, St), sV(t, me, St), K(t), zs(t, lt, St.shared), yn(WR(t), function(cl, If) {
|
|
49455
49428
|
t.ui.registry.addGroupToolbarButton(If, cl);
|
|
49456
49429
|
});
|
|
49457
|
-
var gu = t.ui.registry.getAll(), Tp = gu.buttons, Ex = gu.menuItems,
|
|
49430
|
+
var gu = t.ui.registry.getAll(), Tp = gu.buttons, Ex = gu.menuItems, q$ = gu.contextToolbars, Ax = gu.sidebars, U$ = VO(t), Et = {
|
|
49458
49431
|
menuItems: Ex,
|
|
49459
49432
|
menus: ZR(t),
|
|
49460
49433
|
menubar: QR(t),
|
|
49461
|
-
toolbar:
|
|
49434
|
+
toolbar: U$.getOrThunk(function() {
|
|
49462
49435
|
return e5(t);
|
|
49463
49436
|
}),
|
|
49464
49437
|
allowToolbarGroups: Ye === al.floating,
|
|
49465
49438
|
buttons: Tp,
|
|
49466
49439
|
sidebar: Ax
|
|
49467
49440
|
};
|
|
49468
|
-
vH(t,
|
|
49469
|
-
var Ir = t.getElement(), Rn =
|
|
49441
|
+
vH(t, q$, Ue, { backstage: St }), YV(t, Ue);
|
|
49442
|
+
var Ir = t.getElement(), Rn = V$(), Ka = {
|
|
49470
49443
|
mothership: aT,
|
|
49471
49444
|
uiMothership: sl,
|
|
49472
49445
|
outerContainer: kv
|
|
@@ -49480,8 +49453,8 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49480
49453
|
mothership: aT,
|
|
49481
49454
|
uiMothership: sl,
|
|
49482
49455
|
backstage: St,
|
|
49483
|
-
renderUI:
|
|
49484
|
-
getUi:
|
|
49456
|
+
renderUI: j$,
|
|
49457
|
+
getUi: H$
|
|
49485
49458
|
};
|
|
49486
49459
|
}, aj = function(t, n) {
|
|
49487
49460
|
var i = C.from(sa(t, "id")).fold(function() {
|
|
@@ -49504,7 +49477,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49504
49477
|
to("modalBehaviours", [Wt]),
|
|
49505
49478
|
Ea("onExecute"),
|
|
49506
49479
|
nv("onEscape")
|
|
49507
|
-
]),
|
|
49480
|
+
]), T$ = { sketch: fr }, uj = se([
|
|
49508
49481
|
xf({
|
|
49509
49482
|
name: "draghandle",
|
|
49510
49483
|
overrides: function(t, n) {
|
|
@@ -49526,17 +49499,17 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49526
49499
|
name: "title"
|
|
49527
49500
|
}),
|
|
49528
49501
|
Yo({
|
|
49529
|
-
factory:
|
|
49502
|
+
factory: T$,
|
|
49530
49503
|
schema: [He("dom")],
|
|
49531
49504
|
name: "close"
|
|
49532
49505
|
}),
|
|
49533
49506
|
Yo({
|
|
49534
|
-
factory:
|
|
49507
|
+
factory: T$,
|
|
49535
49508
|
schema: [He("dom")],
|
|
49536
49509
|
name: "body"
|
|
49537
49510
|
}),
|
|
49538
49511
|
xf({
|
|
49539
|
-
factory:
|
|
49512
|
+
factory: T$,
|
|
49540
49513
|
schema: [He("dom")],
|
|
49541
49514
|
name: "footer"
|
|
49542
49515
|
}),
|
|
@@ -49664,7 +49637,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49664
49637
|
]),
|
|
49665
49638
|
Oa("primary", !1),
|
|
49666
49639
|
Oa("disabled", !1)
|
|
49667
|
-
], uL = Xe(Xe([], oL, !0), [dr("text")], !1),
|
|
49640
|
+
], uL = Xe(Xe([], oL, !0), [dr("text")], !1), O$ = Xe([Zu("type", [
|
|
49668
49641
|
"submit",
|
|
49669
49642
|
"cancel",
|
|
49670
49643
|
"custom"
|
|
@@ -49675,9 +49648,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49675
49648
|
qn("icon"),
|
|
49676
49649
|
Ki("items", lj)
|
|
49677
49650
|
], oL, !0), vj = ou("type", {
|
|
49678
|
-
submit:
|
|
49679
|
-
cancel:
|
|
49680
|
-
custom:
|
|
49651
|
+
submit: O$,
|
|
49652
|
+
cancel: O$,
|
|
49653
|
+
custom: O$,
|
|
49681
49654
|
menu: fj
|
|
49682
49655
|
}), dj = [
|
|
49683
49656
|
dr("type"),
|
|
@@ -49710,19 +49683,19 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49710
49683
|
dr("name"),
|
|
49711
49684
|
dr("label"),
|
|
49712
49685
|
Oa("disabled", !1)
|
|
49713
|
-
], yj = Ut(bj), xj = Mi,
|
|
49686
|
+
], yj = Ut(bj), xj = Mi, E$ = [
|
|
49714
49687
|
dr("type"),
|
|
49715
49688
|
dr("name")
|
|
49716
|
-
], Cv =
|
|
49689
|
+
], Cv = E$.concat([qn("label")]), _j = Cv.concat([ve("columns", "auto")]), wj = Ut(_j), Cj = Rp([
|
|
49717
49690
|
dr("value"),
|
|
49718
49691
|
dr("text"),
|
|
49719
49692
|
dr("icon")
|
|
49720
|
-
]), kj = Cv, Sj = Ut(kj), Tj = ca, Oj = Cv, Ej = Ut(Oj), Aj = ca, zj =
|
|
49693
|
+
]), kj = Cv, Sj = Ut(kj), Tj = ca, Oj = Cv, Ej = Ut(Oj), Aj = ca, zj = E$.concat([
|
|
49721
49694
|
Uf("tag", "textarea"),
|
|
49722
49695
|
dr("scriptId"),
|
|
49723
49696
|
dr("scriptUrl"),
|
|
49724
49697
|
xu("settings", void 0)
|
|
49725
|
-
]), Dj =
|
|
49698
|
+
]), Dj = E$.concat([
|
|
49726
49699
|
Uf("tag", "textarea"),
|
|
49727
49700
|
wi("init")
|
|
49728
49701
|
]), Pj = Cd(function(t) {
|
|
@@ -49801,24 +49774,24 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49801
49774
|
]), f9 = Ut(c9), v9 = Ut([
|
|
49802
49775
|
dr("value"),
|
|
49803
49776
|
ve("meta", {})
|
|
49804
|
-
]),
|
|
49777
|
+
]), A$ = function(t) {
|
|
49805
49778
|
return di("items", "items", sr(), Qc(Cd(function(n) {
|
|
49806
|
-
return Ta("Checking item of " + t,
|
|
49779
|
+
return Ta("Checking item of " + t, z$, n).fold(function(i) {
|
|
49807
49780
|
return br.error(Al(i));
|
|
49808
49781
|
}, function(i) {
|
|
49809
49782
|
return br.value(i);
|
|
49810
49783
|
});
|
|
49811
49784
|
})));
|
|
49812
|
-
},
|
|
49785
|
+
}, z$ = oc(function() {
|
|
49813
49786
|
return Dh("type", {
|
|
49814
49787
|
alertbanner: mj,
|
|
49815
|
-
bar: Ut(hj(
|
|
49788
|
+
bar: Ut(hj(A$("bar"))),
|
|
49816
49789
|
button: pj,
|
|
49817
49790
|
checkbox: yj,
|
|
49818
49791
|
colorinput: Sj,
|
|
49819
49792
|
colorpicker: Ej,
|
|
49820
49793
|
dropzone: Bj,
|
|
49821
|
-
grid: Ut(Fj(
|
|
49794
|
+
grid: Ut(Fj(A$("grid"))),
|
|
49822
49795
|
iframe: Hj,
|
|
49823
49796
|
input: Wj,
|
|
49824
49797
|
listbox: Zj,
|
|
@@ -49830,20 +49803,20 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49830
49803
|
htmlpanel: Nj,
|
|
49831
49804
|
imagetools: qj,
|
|
49832
49805
|
collection: wj,
|
|
49833
|
-
label: Ut(Kj(
|
|
49806
|
+
label: Ut(Kj(A$("label"))),
|
|
49834
49807
|
table: o9,
|
|
49835
49808
|
panel: cL
|
|
49836
49809
|
});
|
|
49837
49810
|
}), d9 = [
|
|
49838
49811
|
dr("type"),
|
|
49839
49812
|
ve("classes", []),
|
|
49840
|
-
Ki("items",
|
|
49813
|
+
Ki("items", z$)
|
|
49841
49814
|
], cL = Ut(d9), m9 = [
|
|
49842
49815
|
di("name", "name", Vr(function() {
|
|
49843
49816
|
return We("tab-name");
|
|
49844
49817
|
}), ca),
|
|
49845
49818
|
dr("title"),
|
|
49846
|
-
Ki("items",
|
|
49819
|
+
Ki("items", z$)
|
|
49847
49820
|
], h9 = [
|
|
49848
49821
|
dr("type"),
|
|
49849
49822
|
Ph("tabs", m9)
|
|
@@ -49879,8 +49852,8 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49879
49852
|
Zn("onMessage", it)
|
|
49880
49853
|
]), C9 = function(t) {
|
|
49881
49854
|
return Ta("dialog", w9, t);
|
|
49882
|
-
},
|
|
49883
|
-
return we(t) ? [t].concat(Bn(oo(t),
|
|
49855
|
+
}, D$ = function(t) {
|
|
49856
|
+
return we(t) ? [t].concat(Bn(oo(t), D$)) : ze(t) ? Bn(t, D$) : [];
|
|
49884
49857
|
}, k9 = function(t) {
|
|
49885
49858
|
return Z(t.type) && Z(t.name);
|
|
49886
49859
|
}, S9 = {
|
|
@@ -49902,7 +49875,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49902
49875
|
}, T9 = function(t) {
|
|
49903
49876
|
return C.from(S9[t.type]);
|
|
49904
49877
|
}, O9 = function(t) {
|
|
49905
|
-
return Vt(
|
|
49878
|
+
return Vt(D$(t), k9);
|
|
49906
49879
|
}, E9 = function(t) {
|
|
49907
49880
|
var n = O9(t), i = Bn(n, function(s) {
|
|
49908
49881
|
return T9(s).fold(function() {
|
|
@@ -50236,14 +50209,14 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50236
50209
|
});
|
|
50237
50210
|
});
|
|
50238
50211
|
});
|
|
50239
|
-
},
|
|
50212
|
+
}, P$ = function(t) {
|
|
50240
50213
|
return Yi(t, '[role="tabpanel"]');
|
|
50241
50214
|
}, G9 = function(t) {
|
|
50242
50215
|
var n = function() {
|
|
50243
50216
|
var s = Aa(), c = [
|
|
50244
50217
|
wa(function(h) {
|
|
50245
50218
|
var y = h.element;
|
|
50246
|
-
|
|
50219
|
+
P$(y).each(function(_) {
|
|
50247
50220
|
pr(_, "visibility", "hidden"), h.getSystem().getByDom(_).toOptional().each(function(k) {
|
|
50248
50221
|
var E = j9(t, _, k), P = q9(E);
|
|
50249
50222
|
P.fold(s.clear, s.set);
|
|
@@ -50254,13 +50227,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50254
50227
|
}),
|
|
50255
50228
|
qe(Dl(), function(h) {
|
|
50256
50229
|
var y = h.element;
|
|
50257
|
-
|
|
50230
|
+
P$(y).each(function(_) {
|
|
50258
50231
|
jz(y, _, s);
|
|
50259
50232
|
});
|
|
50260
50233
|
}),
|
|
50261
50234
|
qe(M1, function(h, y) {
|
|
50262
50235
|
var _ = h.element;
|
|
50263
|
-
|
|
50236
|
+
P$(_).each(function(k) {
|
|
50264
50237
|
var E = gf(ui(k));
|
|
50265
50238
|
pr(k, "visibility", "hidden");
|
|
50266
50239
|
var P = _i(k, "height").map(function(U) {
|
|
@@ -50398,7 +50371,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50398
50371
|
})
|
|
50399
50372
|
])
|
|
50400
50373
|
});
|
|
50401
|
-
},
|
|
50374
|
+
}, R$ = We("update-dialog"), pL = We("update-title"), bL = We("update-body"), yL = We("update-footer"), xL = We("body-send-message"), _L = function(t, n, i, s) {
|
|
50402
50375
|
var c = function(y) {
|
|
50403
50376
|
switch (y.body.type) {
|
|
50404
50377
|
case "tabpanel":
|
|
@@ -50542,7 +50515,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50542
50515
|
components: n
|
|
50543
50516
|
})
|
|
50544
50517
|
];
|
|
50545
|
-
},
|
|
50518
|
+
}, M$ = function(t) {
|
|
50546
50519
|
var n, i = "tox-dialog", s = i + "-wrap", c = s + "__backdrop", v = i + "__disable-scroll";
|
|
50547
50520
|
return io.sketch({
|
|
50548
50521
|
lazySink: t.lazySink,
|
|
@@ -50712,11 +50685,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50712
50685
|
var c, v = function(h, y) {
|
|
50713
50686
|
return C.some(y);
|
|
50714
50687
|
};
|
|
50715
|
-
return $i(
|
|
50688
|
+
return $i(M$(re(re({}, t), {
|
|
50716
50689
|
lazySink: s.shared.getSink,
|
|
50717
50690
|
extraBehaviours: Xe([
|
|
50718
50691
|
Wl.config({
|
|
50719
|
-
channel:
|
|
50692
|
+
channel: R$,
|
|
50720
50693
|
updateState: v,
|
|
50721
50694
|
initialData: n
|
|
50722
50695
|
}),
|
|
@@ -50844,7 +50817,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50844
50817
|
pt.setValue(v, h.getData());
|
|
50845
50818
|
})
|
|
50846
50819
|
], !1);
|
|
50847
|
-
},
|
|
50820
|
+
}, B$ = {
|
|
50848
50821
|
initUrlDialog: tq,
|
|
50849
50822
|
initDialog: rq
|
|
50850
50823
|
}, nq = function(t, n) {
|
|
@@ -50906,7 +50879,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50906
50879
|
return $L(t, n);
|
|
50907
50880
|
}, NL = function(t, n) {
|
|
50908
50881
|
return io.parts.footer($L(t, n));
|
|
50909
|
-
},
|
|
50882
|
+
}, I$ = function(t, n) {
|
|
50910
50883
|
var i = t.getRoot();
|
|
50911
50884
|
if (i.getSystem().isConnected()) {
|
|
50912
50885
|
var s = Yr.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());
|
|
@@ -50942,11 +50915,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50942
50915
|
});
|
|
50943
50916
|
});
|
|
50944
50917
|
}, h = function(te) {
|
|
50945
|
-
|
|
50918
|
+
I$(t, te).each(Qt.disable);
|
|
50946
50919
|
}, y = function(te) {
|
|
50947
|
-
|
|
50920
|
+
I$(t, te).each(Qt.enable);
|
|
50948
50921
|
}, _ = function(te) {
|
|
50949
|
-
|
|
50922
|
+
I$(t, te).each(hr.focus);
|
|
50950
50923
|
}, k = function(te) {
|
|
50951
50924
|
if (!Z(te))
|
|
50952
50925
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
@@ -50969,7 +50942,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50969
50942
|
}, F = function(te) {
|
|
50970
50943
|
s(function(de) {
|
|
50971
50944
|
var Q = n(te);
|
|
50972
|
-
de.getSystem().broadcastOn([
|
|
50945
|
+
de.getSystem().broadcastOn([R$], Q), de.getSystem().broadcastOn([pL], Q.internalDialog), de.getSystem().broadcastOn([bL], Q.internalDialog), de.getSystem().broadcastOn([yL], Q.internalDialog), U.setData(Q.initialData);
|
|
50973
50946
|
});
|
|
50974
50947
|
}, L = function() {
|
|
50975
50948
|
s(function(te) {
|
|
@@ -50998,7 +50971,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50998
50971
|
return [];
|
|
50999
50972
|
}
|
|
51000
50973
|
}, lq = function(t, n, i) {
|
|
51001
|
-
var s = DL(t.internalDialog.title, i), c = X9({ body: t.internalDialog.body }, i), v = BL(t.internalDialog.buttons), h = IL(v), y = NL({ buttons: v }, i), _ =
|
|
50974
|
+
var s = DL(t.internalDialog.title, i), c = X9({ body: t.internalDialog.body }, i), v = BL(t.internalDialog.buttons), h = IL(v), y = NL({ buttons: v }, i), _ = B$.initDialog(function() {
|
|
51002
50975
|
return L;
|
|
51003
50976
|
}, RL(function() {
|
|
51004
50977
|
return P;
|
|
@@ -51035,7 +51008,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51035
51008
|
}, k = fn(Q9({
|
|
51036
51009
|
title: t.internalDialog.title,
|
|
51037
51010
|
draggable: !0
|
|
51038
|
-
}, h, i.shared.providers)), E = fn(Y9({ body: t.internalDialog.body }, y, i, s)), P = BL(t.internalDialog.buttons), F = IL(P), L = fn(oq({ buttons: P }, i)), U =
|
|
51011
|
+
}, h, i.shared.providers)), E = fn(Y9({ body: t.internalDialog.body }, y, i, s)), P = BL(t.internalDialog.buttons), F = IL(P), L = fn(oq({ buttons: P }, i)), U = B$.initDialog(function() {
|
|
51039
51012
|
return de;
|
|
51040
51013
|
}, {
|
|
51041
51014
|
onBlock: function(Q) {
|
|
@@ -51076,7 +51049,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51076
51049
|
}
|
|
51077
51050
|
}),
|
|
51078
51051
|
Wl.config({
|
|
51079
|
-
channel:
|
|
51052
|
+
channel: R$,
|
|
51080
51053
|
updateState: _,
|
|
51081
51054
|
initialData: t
|
|
51082
51055
|
}),
|
|
@@ -51114,7 +51087,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51114
51087
|
dialog: te,
|
|
51115
51088
|
instanceApi: de
|
|
51116
51089
|
};
|
|
51117
|
-
},
|
|
51090
|
+
}, F$ = tinymce.util.Tools.resolve("tinymce.util.URI"), fq = function(t) {
|
|
51118
51091
|
var n = function(h) {
|
|
51119
51092
|
t.getSystem().isConnected() && h(t);
|
|
51120
51093
|
}, i = function(h) {
|
|
@@ -51162,7 +51135,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51162
51135
|
t.setContent(i.content);
|
|
51163
51136
|
break;
|
|
51164
51137
|
case "execCommand":
|
|
51165
|
-
var s =
|
|
51138
|
+
var s = Ot(i.ui) ? i.ui : !1;
|
|
51166
51139
|
t.execCommand(i.cmd, s, i.value);
|
|
51167
51140
|
break;
|
|
51168
51141
|
case "close":
|
|
@@ -51178,7 +51151,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51178
51151
|
}, hq = function(t, n, i, s) {
|
|
51179
51152
|
var c, v = DL(t.title, s), h = J9(t), y = t.buttons.bind(function(he) {
|
|
51180
51153
|
return he.length === 0 ? C.none() : C.some(NL({ buttons: he }, s));
|
|
51181
|
-
}), _ =
|
|
51154
|
+
}), _ = B$.initUrlDialog(function() {
|
|
51182
51155
|
return Q;
|
|
51183
51156
|
}, RL(function() {
|
|
51184
51157
|
return de;
|
|
@@ -51196,11 +51169,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51196
51169
|
width: he + "px",
|
|
51197
51170
|
"max-width": he + "px"
|
|
51198
51171
|
};
|
|
51199
|
-
})), E = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], P = new
|
|
51172
|
+
})), E = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], P = new F$(t.url, { base_uri: new F$(window.location.href) }), F = P.protocol + "://" + P.host + (P.port ? ":" + P.port : ""), L = Xv(), U = [
|
|
51200
51173
|
Dr("messages", [
|
|
51201
51174
|
wa(function() {
|
|
51202
51175
|
var he = Su(yt.fromDom(window), "message", function(Fe) {
|
|
51203
|
-
if (P.isSameOrigin(new
|
|
51176
|
+
if (P.isSameOrigin(new F$(Fe.raw.origin))) {
|
|
51204
51177
|
var Ue = Fe.raw.data;
|
|
51205
51178
|
HL(Ue) ? mq(i, Q, Ue) : dq(Ue) && t.onMessage(Q, Ue);
|
|
51206
51179
|
}
|
|
@@ -51242,7 +51215,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51242
51215
|
align: "end",
|
|
51243
51216
|
disabled: !1,
|
|
51244
51217
|
icon: C.none()
|
|
51245
|
-
}, "cancel", t.backstage)), y = kL(), _ = CL(v, n.providers), k = $i(
|
|
51218
|
+
}, "cancel", t.backstage)), y = kL(), _ = CL(v, n.providers), k = $i(M$({
|
|
51246
51219
|
lazySink: function() {
|
|
51247
51220
|
return n.getSink();
|
|
51248
51221
|
},
|
|
@@ -51281,7 +51254,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51281
51254
|
icon: C.none()
|
|
51282
51255
|
}, "cancel", t.backstage), _ = kL(), k = CL(function() {
|
|
51283
51256
|
return v(!1);
|
|
51284
|
-
}, n.providers), E = $i(
|
|
51257
|
+
}, n.providers), E = $i(M$({
|
|
51285
51258
|
lazySink: function() {
|
|
51286
51259
|
return n.getSink();
|
|
51287
51260
|
},
|
|
@@ -51446,7 +51419,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51446
51419
|
return function(le) {
|
|
51447
51420
|
return V === le;
|
|
51448
51421
|
};
|
|
51449
|
-
}, ze = $("string"),
|
|
51422
|
+
}, ze = $("string"), Tt = $("array"), Ot = we(null), cr = Z("boolean"), Nr = Z("function"), Ft = function() {
|
|
51450
51423
|
}, wr = function(V) {
|
|
51451
51424
|
return function() {
|
|
51452
51425
|
return V;
|
|
@@ -51554,7 +51527,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51554
51527
|
}), ye;
|
|
51555
51528
|
}, Se = function(V) {
|
|
51556
51529
|
for (var le = [], ye = 0, $e = V.length; ye < $e; ++ye) {
|
|
51557
|
-
if (!
|
|
51530
|
+
if (!Tt(V[ye]))
|
|
51558
51531
|
throw new Error("Arr.flatten item " + ye + " was not an array, input: " + V);
|
|
51559
51532
|
vr.apply(le, V[ye]);
|
|
51560
51533
|
}
|
|
@@ -51777,7 +51750,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51777
51750
|
text: Ht.getOrNull(),
|
|
51778
51751
|
title: ln.getOrNull()
|
|
51779
51752
|
}, function(Sn, Or) {
|
|
51780
|
-
return
|
|
51753
|
+
return Ot(Sn) === !1;
|
|
51781
51754
|
});
|
|
51782
51755
|
}, Gl = function(V, le) {
|
|
51783
51756
|
var ye = le.href;
|
|
@@ -51959,7 +51932,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51959
51932
|
}
|
|
51960
51933
|
], Da = function(V) {
|
|
51961
51934
|
var le = dn(V);
|
|
51962
|
-
return
|
|
51935
|
+
return Tt(le) ? Hr.sanitize(le).orThunk(function() {
|
|
51963
51936
|
return bt.some(Ba);
|
|
51964
51937
|
}) : le === !1 ? bt.none() : bt.some(Ba);
|
|
51965
51938
|
}, $o = { getTargets: Da }, yo = function(V, le, ye) {
|
|
@@ -52312,7 +52285,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
52312
52285
|
return function(M) {
|
|
52313
52286
|
return typeof M === S;
|
|
52314
52287
|
};
|
|
52315
|
-
}, Z = w("string"), we = w("object"), ze = w("array"),
|
|
52288
|
+
}, Z = w("string"), we = w("object"), ze = w("array"), Tt = $("boolean"), Ot = $("function"), cr = $("number"), Nr = function() {
|
|
52316
52289
|
}, Ft = function(S) {
|
|
52317
52290
|
return function() {
|
|
52318
52291
|
return S;
|
|
@@ -52849,7 +52822,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
52849
52822
|
return bo(M) && Yl(M) === S;
|
|
52850
52823
|
};
|
|
52851
52824
|
}, Ba = function(S, M, N) {
|
|
52852
|
-
if (Z(N) ||
|
|
52825
|
+
if (Z(N) || Tt(N) || cr(N))
|
|
52853
52826
|
S.setAttribute(M, N + "");
|
|
52854
52827
|
else
|
|
52855
52828
|
throw console.error("Invalid call to Attribute.set. Key ", M, ":: Value ", N, ":: Element ", S), new Error("Attribute value was not simple");
|
|
@@ -53046,7 +53019,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
53046
53019
|
element: N
|
|
53047
53020
|
});
|
|
53048
53021
|
}, D = function(S) {
|
|
53049
|
-
return S.style !== void 0 &&
|
|
53022
|
+
return S.style !== void 0 && Ot(S.style.getPropertyValue);
|
|
53050
53023
|
}, ne = function(S, M, N) {
|
|
53051
53024
|
if (!Z(N))
|
|
53052
53025
|
throw console.error("Invalid call to CSS.set. Property ", M, ":: Value ", N, ":: Element ", S), new Error("CSS value must be a string: " + N);
|
|
@@ -53733,7 +53706,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
53733
53706
|
return function(D) {
|
|
53734
53707
|
return z === D;
|
|
53735
53708
|
};
|
|
53736
|
-
}, ze = $("string"),
|
|
53709
|
+
}, ze = $("string"), Tt = $("object"), Ot = $("array"), cr = we(null), Nr = Z("boolean"), Ft = function(z) {
|
|
53737
53710
|
return z == null;
|
|
53738
53711
|
}, wr = function(z) {
|
|
53739
53712
|
return !Ft(z);
|
|
@@ -53845,7 +53818,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
53845
53818
|
return $t(z, D) && z[D] !== void 0 && z[D] !== null;
|
|
53846
53819
|
}, ur = Array.prototype.push, G = function(z) {
|
|
53847
53820
|
for (var D = [], ne = 0, Ae = z.length; ne < Ae; ++ne) {
|
|
53848
|
-
if (!
|
|
53821
|
+
if (!Ot(z[ne]))
|
|
53849
53822
|
throw new Error("Arr.flatten item " + ne + " was not an array, input: " + z);
|
|
53850
53823
|
ur.apply(D, z[ne]);
|
|
53851
53824
|
}
|
|
@@ -54176,7 +54149,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
54176
54149
|
} else
|
|
54177
54150
|
D.src && Yl(z, g(g({}, rr()), D));
|
|
54178
54151
|
}, Da = function(z, D) {
|
|
54179
|
-
var ne =
|
|
54152
|
+
var ne = Tt(z) && Tt(D);
|
|
54180
54153
|
return ne ? yo(z, D) : D;
|
|
54181
54154
|
}, $o = function(z) {
|
|
54182
54155
|
return function() {
|
|
@@ -55071,12 +55044,12 @@ var p8 = { exports: {} };
|
|
|
55071
55044
|
(function(w, $) {
|
|
55072
55045
|
O.exports = $();
|
|
55073
55046
|
})(typeof self < "u" ? self : fl, function() {
|
|
55074
|
-
return $ = [function(we, ze,
|
|
55075
|
-
}, function(we, ze,
|
|
55076
|
-
|
|
55077
|
-
}, function(we, ze,
|
|
55078
|
-
|
|
55079
|
-
function
|
|
55047
|
+
return $ = [function(we, ze, Tt) {
|
|
55048
|
+
}, function(we, ze, Tt) {
|
|
55049
|
+
Tt(0);
|
|
55050
|
+
}, function(we, ze, Tt) {
|
|
55051
|
+
Tt.r(ze);
|
|
55052
|
+
function Ot(G, C) {
|
|
55080
55053
|
return function(Le) {
|
|
55081
55054
|
if (Array.isArray(Le))
|
|
55082
55055
|
return Le;
|
|
@@ -55208,7 +55181,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
55208
55181
|
var Pt, ba = new Date([se(Mt, 4), se(ot, 2), se(Le, 2)].join("-"));
|
|
55209
55182
|
if (!isNaN(ba))
|
|
55210
55183
|
return Pt = new Date(Mt, ot - 1, Le), [[Mt, "setFullYear"], [dn, "setHours"], [ua, "setMinutes"], [jr, "setSeconds"]].forEach(function(Wr) {
|
|
55211
|
-
var Wr =
|
|
55184
|
+
var Wr = Ot(Wr, 2), Vt = Wr[0], Wr = Wr[1];
|
|
55212
55185
|
Vt !== void 0 && Pt[Wr](Vt);
|
|
55213
55186
|
}), Pt;
|
|
55214
55187
|
}, formatSimpleDateToString: function(G, C) {
|
|
@@ -55285,7 +55258,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
55285
55258
|
}, onTimeInputFocus: function(G) {
|
|
55286
55259
|
G.target.select && G.target.select();
|
|
55287
55260
|
} } };
|
|
55288
|
-
|
|
55261
|
+
Tt(1), Tt = function() {
|
|
55289
55262
|
var G = this, C = G._self._c;
|
|
55290
55263
|
return C("div", { staticClass: "vdpComponent", class: { vdpWithInput: G.hasInputElement } }, [G._t("default", function() {
|
|
55291
55264
|
return [G.hasInputElement ? C("input", G._b({ attrs: { type: "text", readonly: G.isReadOnly }, domProps: { value: G.inputValue }, on: { input: function(Le) {
|
|
@@ -55346,29 +55319,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
55346
55319
|
} } }, [G._v(`
|
|
55347
55320
|
` + G._s(G.currentTime.isPM ? "PM" : "AM") + `
|
|
55348
55321
|
`)]) : G._e()]) : G._e()])]) : G._e()])], 2);
|
|
55349
|
-
}, Gt = !(ur = []), re = Ai = _t = null, Pe = typeof (Xt = Xt) == "function" ? Xt.options : Xt,
|
|
55322
|
+
}, Gt = !(ur = []), re = Ai = _t = null, Pe = typeof (Xt = Xt) == "function" ? Xt.options : Xt, Tt && (Pe.render = Tt, Pe.staticRenderFns = ur, Pe._compiled = !0), Gt && (Pe.functional = !0), Ai && (Pe._scopeId = "data-v-" + Ai), re ? (Xe = function(G) {
|
|
55350
55323
|
(G = G || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || typeof __VUE_SSR_CONTEXT__ > "u" || (G = __VUE_SSR_CONTEXT__), _t && _t.call(this, G), G && G._registeredComponents && G._registeredComponents.add(re);
|
|
55351
55324
|
}, Pe._ssrRegister = Xe) : _t && (Xe = Se ? function() {
|
|
55352
55325
|
_t.call(this, (Pe.functional ? this.parent : this).$root.$options.shadowRoot);
|
|
55353
55326
|
} : _t), Xe && (Pe.functional ? (Pe._injectStyles = Xe, $t = Pe.render, Pe.render = function(G, C) {
|
|
55354
55327
|
return Xe.call(C), $t(G, C);
|
|
55355
|
-
}) : (
|
|
55328
|
+
}) : (Tt = Pe.beforeCreate, Pe.beforeCreate = Tt ? [].concat(Tt, Xe) : [Xe]));
|
|
55356
55329
|
var Gt, _t, Ai, re, Se, Xe, $t, Pe, ur = { exports: Xt, options: Pe };
|
|
55357
55330
|
ze.default = ur.exports;
|
|
55358
|
-
}], Z = {}, w.m = $, w.c = Z, w.d = function(we, ze,
|
|
55359
|
-
w.o(we, ze) || Object.defineProperty(we, ze, { enumerable: !0, get:
|
|
55331
|
+
}], Z = {}, w.m = $, w.c = Z, w.d = function(we, ze, Tt) {
|
|
55332
|
+
w.o(we, ze) || Object.defineProperty(we, ze, { enumerable: !0, get: Tt });
|
|
55360
55333
|
}, w.r = function(we) {
|
|
55361
55334
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(we, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(we, "__esModule", { value: !0 });
|
|
55362
55335
|
}, w.t = function(we, ze) {
|
|
55363
55336
|
if (1 & ze && (we = w(we)), 8 & ze || 4 & ze && typeof we == "object" && we && we.__esModule)
|
|
55364
55337
|
return we;
|
|
55365
|
-
var
|
|
55366
|
-
if (w.r(
|
|
55367
|
-
for (var
|
|
55368
|
-
w.d(
|
|
55338
|
+
var Tt = /* @__PURE__ */ Object.create(null);
|
|
55339
|
+
if (w.r(Tt), Object.defineProperty(Tt, "default", { enumerable: !0, value: we }), 2 & ze && typeof we != "string")
|
|
55340
|
+
for (var Ot in we)
|
|
55341
|
+
w.d(Tt, Ot, (function(cr) {
|
|
55369
55342
|
return we[cr];
|
|
55370
|
-
}).bind(null,
|
|
55371
|
-
return
|
|
55343
|
+
}).bind(null, Ot));
|
|
55344
|
+
return Tt;
|
|
55372
55345
|
}, w.n = function(we) {
|
|
55373
55346
|
var ze = we && we.__esModule ? function() {
|
|
55374
55347
|
return we.default;
|
|
@@ -55984,7 +55957,7 @@ const RY = PY.exports, MY = Rc(), BY = {
|
|
|
55984
55957
|
this.reemitInput = !1;
|
|
55985
55958
|
let Z = [];
|
|
55986
55959
|
if (O.forEach((we) => {
|
|
55987
|
-
let ze = this.options.find((
|
|
55960
|
+
let ze = this.options.find((Tt) => JSON.stringify(this.keyValue(Tt)) === JSON.stringify(this.keyValue(we)));
|
|
55988
55961
|
ze && Z.push(ze);
|
|
55989
55962
|
}), this.multiple) {
|
|
55990
55963
|
let we = [];
|
|
@@ -56163,7 +56136,7 @@ var GY = function() {
|
|
|
56163
56136
|
null,
|
|
56164
56137
|
null
|
|
56165
56138
|
);
|
|
56166
|
-
const XY = YY.exports,
|
|
56139
|
+
const XY = YY.exports, Y$ = {
|
|
56167
56140
|
FormInput: AW,
|
|
56168
56141
|
FormCheckbox: BW,
|
|
56169
56142
|
FormRadioButtonGroup: HW,
|
|
@@ -56182,16 +56155,16 @@ const XY = YY.exports, Y6 = {
|
|
|
56182
56155
|
BWrapperComponent: XY
|
|
56183
56156
|
}, r8 = {
|
|
56184
56157
|
DataFormatMixin: Bx,
|
|
56185
|
-
hasDefaultOptionKeyMixin:
|
|
56158
|
+
hasDefaultOptionKeyMixin: Q$,
|
|
56186
56159
|
ProxyDataMixin: l8,
|
|
56187
56160
|
ValidationMixin: Mc
|
|
56188
56161
|
};
|
|
56189
56162
|
function JY(O) {
|
|
56190
56163
|
if (!this._processMakerVueFormElementsInstalled) {
|
|
56191
56164
|
this._processMakerVueFormElementsInstalled = !0;
|
|
56192
|
-
for (const g in
|
|
56193
|
-
const w =
|
|
56194
|
-
O.component(w,
|
|
56165
|
+
for (const g in Y$) {
|
|
56166
|
+
const w = Y$[g].name ?? g.replace(/^.*[\\/]/, "").replace(/\.[^/.]+$/, "");
|
|
56167
|
+
O.component(w, Y$[g]);
|
|
56195
56168
|
}
|
|
56196
56169
|
for (const g in r8)
|
|
56197
56170
|
O.mixin(r8[g].name);
|
|
@@ -56225,6 +56198,6 @@ export {
|
|
|
56225
56198
|
uT as getTimezone,
|
|
56226
56199
|
Mx as getUserDateFormat,
|
|
56227
56200
|
cT as getUserDateTimeFormat,
|
|
56228
|
-
|
|
56201
|
+
Q$ as hasDefaultOptionKeyMixin,
|
|
56229
56202
|
hW as isValidDate
|
|
56230
56203
|
};
|