@processmaker/modeler 1.50.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.
|
@@ -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,29 +9464,16 @@ 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.updateOption(O);
|
|
9478
|
-
}
|
|
9479
9467
|
}
|
|
9480
9468
|
},
|
|
9481
9469
|
methods: {
|
|
9482
9470
|
/**
|
|
9483
|
-
*
|
|
9471
|
+
* Checks if multi-select is disabled.
|
|
9484
9472
|
*
|
|
9485
|
-
* @
|
|
9473
|
+
* @return {boolean} Returns true if multi-select is disabled, false otherwise.
|
|
9486
9474
|
*/
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
g !== -1 && this.$set(this.selectListOptions, g, O);
|
|
9490
|
-
},
|
|
9491
|
-
/**
|
|
9492
|
-
* If the value is an object, it updates the selected option if necessary.
|
|
9493
|
-
*/
|
|
9494
|
-
onSelectListOptionsUpdated() {
|
|
9495
|
-
this.value && typeof this.value == "object" && this.updateOption(this.value);
|
|
9475
|
+
isMultiSelectDisabled() {
|
|
9476
|
+
return this.options.allowMultiSelect === !1;
|
|
9496
9477
|
},
|
|
9497
9478
|
renderPmql(O) {
|
|
9498
9479
|
if (typeof O < "u" && O !== "" && O !== null) {
|
|
@@ -9517,9 +9498,9 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9517
9498
|
}
|
|
9518
9499
|
};
|
|
9519
9500
|
if (typeof this.options.pmqlQuery < "u" && this.options.pmqlQuery !== "" && this.options.pmqlQuery !== null) {
|
|
9520
|
-
const ze = this.makeProxyData(),
|
|
9501
|
+
const ze = this.makeProxyData(), Tt = os.render(this.options.pmqlQuery, { data: ze });
|
|
9521
9502
|
Z.config.outboundConfig = [
|
|
9522
|
-
{ type: "PARAM", key: "pmql", value:
|
|
9503
|
+
{ type: "PARAM", key: "pmql", value: Tt }
|
|
9523
9504
|
];
|
|
9524
9505
|
}
|
|
9525
9506
|
const we = { selectedDataSource: w, params: Z };
|
|
@@ -9530,8 +9511,8 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9530
9511
|
const ze = await this.$dataProvider.getDataSource(
|
|
9531
9512
|
w,
|
|
9532
9513
|
Z
|
|
9533
|
-
),
|
|
9534
|
-
return this.selectListOptions =
|
|
9514
|
+
), Tt = $ ? vn.get(ze.data, $) : ze.data, Ot = this.transformOptions(Tt);
|
|
9515
|
+
return this.selectListOptions = Ot, !0;
|
|
9535
9516
|
} catch (ze) {
|
|
9536
9517
|
return console.warn(ze), !1;
|
|
9537
9518
|
}
|
|
@@ -9616,11 +9597,11 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9616
9597
|
const g = this.attributeParent(this.options.value), w = [];
|
|
9617
9598
|
return Array.isArray(O) ? (O.forEach(($) => {
|
|
9618
9599
|
const { escape: Z } = os;
|
|
9619
|
-
os.escape = (
|
|
9600
|
+
os.escape = (Tt) => Tt;
|
|
9620
9601
|
let we = {};
|
|
9621
9602
|
if (this.options.key) {
|
|
9622
|
-
const
|
|
9623
|
-
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;
|
|
9624
9605
|
}
|
|
9625
9606
|
const ze = this.options.value.indexOf("{{") >= 0 ? os.render(this.options.value, $) : os.render(`{{${this.options.value || "content"}}}`, $);
|
|
9626
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, {
|
|
@@ -9653,8 +9634,8 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9653
9634
|
return w.forEach((Z) => {
|
|
9654
9635
|
const ze = Z.substr(2, Z.length - 4).trim().split(".");
|
|
9655
9636
|
ze.pop();
|
|
9656
|
-
const
|
|
9657
|
-
(!$ || $.length >
|
|
9637
|
+
const Tt = ze.join(".");
|
|
9638
|
+
(!$ || $.length > Tt.length) && ($ = Tt);
|
|
9658
9639
|
}), $;
|
|
9659
9640
|
}
|
|
9660
9641
|
} else {
|
|
@@ -9766,9 +9747,9 @@ function cK(O) {
|
|
|
9766
9747
|
var w = uK.test(O);
|
|
9767
9748
|
return w || sK.test(O) ? lK(O.slice(2), w ? 2 : 8) : oK.test(O) ? JL : +O;
|
|
9768
9749
|
}
|
|
9769
|
-
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;
|
|
9770
9751
|
function gK(O, g, w) {
|
|
9771
|
-
var $, Z, we, ze,
|
|
9752
|
+
var $, Z, we, ze, Tt, Ot, cr = 0, Nr = !1, Ft = !1, wr = !0;
|
|
9772
9753
|
if (typeof O != "function")
|
|
9773
9754
|
throw new TypeError(dK);
|
|
9774
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);
|
|
@@ -9777,40 +9758,40 @@ function gK(O, g, w) {
|
|
|
9777
9758
|
return $ = Z = void 0, cr = xr, ze = O.apply(Xt, vr), ze;
|
|
9778
9759
|
}
|
|
9779
9760
|
function va(xr) {
|
|
9780
|
-
return cr = xr,
|
|
9761
|
+
return cr = xr, Tt = setTimeout(En, g), Nr ? On(xr) : ze;
|
|
9781
9762
|
}
|
|
9782
9763
|
function it(xr) {
|
|
9783
|
-
var vr = xr -
|
|
9764
|
+
var vr = xr - Ot, Xt = xr - cr, Gt = g - vr;
|
|
9784
9765
|
return Ft ? hK(Gt, we - Xt) : Gt;
|
|
9785
9766
|
}
|
|
9786
9767
|
function Tr(xr) {
|
|
9787
|
-
var vr = xr -
|
|
9788
|
-
return
|
|
9768
|
+
var vr = xr - Ot, Xt = xr - cr;
|
|
9769
|
+
return Ot === void 0 || vr >= g || vr < 0 || Ft && Xt >= we;
|
|
9789
9770
|
}
|
|
9790
9771
|
function En() {
|
|
9791
|
-
var xr =
|
|
9772
|
+
var xr = K$();
|
|
9792
9773
|
if (Tr(xr))
|
|
9793
9774
|
return ea(xr);
|
|
9794
|
-
|
|
9775
|
+
Tt = setTimeout(En, it(xr));
|
|
9795
9776
|
}
|
|
9796
9777
|
function ea(xr) {
|
|
9797
|
-
return
|
|
9778
|
+
return Tt = void 0, wr && $ ? On(xr) : ($ = Z = void 0, ze);
|
|
9798
9779
|
}
|
|
9799
9780
|
function se() {
|
|
9800
|
-
|
|
9781
|
+
Tt !== void 0 && clearTimeout(Tt), cr = 0, $ = Ot = Z = Tt = void 0;
|
|
9801
9782
|
}
|
|
9802
9783
|
function fr() {
|
|
9803
|
-
return
|
|
9784
|
+
return Tt === void 0 ? ze : ea(K$());
|
|
9804
9785
|
}
|
|
9805
9786
|
function bt() {
|
|
9806
|
-
var xr =
|
|
9807
|
-
if ($ = arguments, Z = this,
|
|
9808
|
-
if (
|
|
9809
|
-
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);
|
|
9810
9791
|
if (Ft)
|
|
9811
|
-
return clearTimeout(
|
|
9792
|
+
return clearTimeout(Tt), Tt = setTimeout(En, g), On(Ot);
|
|
9812
9793
|
}
|
|
9813
|
-
return
|
|
9794
|
+
return Tt === void 0 && (Tt = setTimeout(En, g)), ze;
|
|
9814
9795
|
}
|
|
9815
9796
|
return bt.cancel = se, bt.flush = fr, bt;
|
|
9816
9797
|
}
|
|
@@ -9951,15 +9932,15 @@ var kK = [
|
|
|
9951
9932
|
toolbar: [String, Array],
|
|
9952
9933
|
value: String,
|
|
9953
9934
|
disabled: Boolean
|
|
9954
|
-
},
|
|
9955
|
-
return
|
|
9935
|
+
}, J$ = globalThis && globalThis.__assign || function() {
|
|
9936
|
+
return J$ = Object.assign || function(O) {
|
|
9956
9937
|
for (var g, w = 1, $ = arguments.length; w < $; w++) {
|
|
9957
9938
|
g = arguments[w];
|
|
9958
9939
|
for (var Z in g)
|
|
9959
9940
|
Object.prototype.hasOwnProperty.call(g, Z) && (O[Z] = g[Z]);
|
|
9960
9941
|
}
|
|
9961
9942
|
return O;
|
|
9962
|
-
},
|
|
9943
|
+
}, J$.apply(this, arguments);
|
|
9963
9944
|
}, IK = PK(), FK = function(O, g, w) {
|
|
9964
9945
|
return O(w || "div", {
|
|
9965
9946
|
attrs: { id: g }
|
|
@@ -9971,7 +9952,7 @@ var kK = [
|
|
|
9971
9952
|
});
|
|
9972
9953
|
}, t8 = function(O) {
|
|
9973
9954
|
return function() {
|
|
9974
|
-
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) {
|
|
9975
9956
|
O.editor = w, w.on("init", function($) {
|
|
9976
9957
|
return EK($, O, w);
|
|
9977
9958
|
}), O.$props.init && typeof O.$props.init.setup == "function" && O.$props.init.setup(w);
|
|
@@ -10033,7 +10014,7 @@ var kK = [
|
|
|
10033
10014
|
return { eq: e };
|
|
10034
10015
|
}, ze = we(function(e, r) {
|
|
10035
10016
|
return e === r;
|
|
10036
|
-
}),
|
|
10017
|
+
}), Tt = ze, Ot = function(e) {
|
|
10037
10018
|
return we(function(r, a) {
|
|
10038
10019
|
if (r.length !== a.length)
|
|
10039
10020
|
return !1;
|
|
@@ -10043,13 +10024,13 @@ var kK = [
|
|
|
10043
10024
|
return !0;
|
|
10044
10025
|
});
|
|
10045
10026
|
}, cr = function(e, r) {
|
|
10046
|
-
return Z(
|
|
10027
|
+
return Z(Ot(e), function(a) {
|
|
10047
10028
|
return $(a, r);
|
|
10048
10029
|
});
|
|
10049
10030
|
}, Nr = function(e) {
|
|
10050
10031
|
return we(function(r, a) {
|
|
10051
10032
|
var o = Object.keys(r), u = Object.keys(a);
|
|
10052
|
-
if (!cr(
|
|
10033
|
+
if (!cr(Tt).eq(o, u))
|
|
10053
10034
|
return !1;
|
|
10054
10035
|
for (var l = o.length, m = 0; m < l; m++) {
|
|
10055
10036
|
var p = o[m];
|
|
@@ -10062,7 +10043,7 @@ var kK = [
|
|
|
10062
10043
|
if (e === r)
|
|
10063
10044
|
return !0;
|
|
10064
10045
|
var a = g(e), o = g(r);
|
|
10065
|
-
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;
|
|
10066
10047
|
}), wr = function(e) {
|
|
10067
10048
|
var r = typeof e;
|
|
10068
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;
|
|
@@ -14294,7 +14275,7 @@ Required: ` + r.join(", "));
|
|
|
14294
14275
|
}
|
|
14295
14276
|
return I.unbind(fe, De, ut);
|
|
14296
14277
|
}
|
|
14297
|
-
},
|
|
14278
|
+
}, r$ = function(fe, De, ut) {
|
|
14298
14279
|
return I.fire(fe, De, ut);
|
|
14299
14280
|
}, JS = function(fe) {
|
|
14300
14281
|
if (fe && mr(fe)) {
|
|
@@ -14302,11 +14283,11 @@ Required: ` + r.join(", "));
|
|
|
14302
14283
|
return De && De !== "inherit" ? De : fe.contentEditable !== "inherit" ? fe.contentEditable : null;
|
|
14303
14284
|
} else
|
|
14304
14285
|
return null;
|
|
14305
|
-
},
|
|
14286
|
+
}, n$ = function(fe) {
|
|
14306
14287
|
for (var De = xe(), ut = null; fe && fe !== De && (ut = JS(fe), ut === null); fe = fe.parentNode)
|
|
14307
14288
|
;
|
|
14308
14289
|
return ut;
|
|
14309
|
-
},
|
|
14290
|
+
}, a$ = function() {
|
|
14310
14291
|
if (T.length > 0)
|
|
14311
14292
|
for (var fe = T.length; fe--; ) {
|
|
14312
14293
|
var De = T[fe];
|
|
@@ -14315,7 +14296,7 @@ Required: ` + r.join(", "));
|
|
|
14315
14296
|
ia(u, function(ut, mt) {
|
|
14316
14297
|
b.unload(mt), delete u[mt];
|
|
14317
14298
|
}), Pn.setDocument && Pn.setDocument();
|
|
14318
|
-
},
|
|
14299
|
+
}, i$ = function(fe, De) {
|
|
14319
14300
|
if (tg) {
|
|
14320
14301
|
for (; fe; ) {
|
|
14321
14302
|
if (De === fe)
|
|
@@ -14398,11 +14379,11 @@ Required: ` + r.join(", "));
|
|
|
14398
14379
|
split: wx,
|
|
14399
14380
|
bind: YS,
|
|
14400
14381
|
unbind: XS,
|
|
14401
|
-
fire:
|
|
14382
|
+
fire: r$,
|
|
14402
14383
|
getContentEditable: JS,
|
|
14403
|
-
getContentEditableParent:
|
|
14404
|
-
destroy:
|
|
14405
|
-
isChildOf:
|
|
14384
|
+
getContentEditableParent: n$,
|
|
14385
|
+
destroy: a$,
|
|
14386
|
+
isChildOf: i$,
|
|
14406
14387
|
dumpRng: Ez
|
|
14407
14388
|
}, Az = n_(B, r, Se(fd));
|
|
14408
14389
|
return fd;
|
|
@@ -25409,13 +25390,13 @@ Settings:` + p + a.join(p) : "";
|
|
|
25409
25390
|
}, QF = function(e) {
|
|
25410
25391
|
var r = MS.create("div");
|
|
25411
25392
|
return MS.insertAfter(r, e), IS(r);
|
|
25412
|
-
},
|
|
25393
|
+
}, e6 = function(e) {
|
|
25413
25394
|
var r = e.getElement();
|
|
25414
25395
|
return e.inline ? IS(null) : QF(r);
|
|
25415
25396
|
}, JA = function(e) {
|
|
25416
25397
|
var r = e.getElement();
|
|
25417
|
-
return e.orgDisplay = r.style.display, Tr(Bl(e)) ? JF(e) : Xt(Bl(e)) ? ZF(e) :
|
|
25418
|
-
},
|
|
25398
|
+
return e.orgDisplay = r.style.display, Tr(Bl(e)) ? JF(e) : Xt(Bl(e)) ? ZF(e) : e6(e);
|
|
25399
|
+
}, t6 = function(e, r) {
|
|
25419
25400
|
var a = {
|
|
25420
25401
|
show: Y.from(r.show).getOr(_t),
|
|
25421
25402
|
hide: Y.from(r.hide).getOr(_t),
|
|
@@ -25429,7 +25410,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25429
25410
|
}, ZA = function(e) {
|
|
25430
25411
|
e.fire("ScriptsLoaded"), XA(e), XF(e), YA(e);
|
|
25431
25412
|
var r = JA(e);
|
|
25432
|
-
|
|
25413
|
+
t6(e, Y.from(r.api).getOr({}));
|
|
25433
25414
|
var a = {
|
|
25434
25415
|
editorContainer: r.editorContainer,
|
|
25435
25416
|
iframeContainer: r.iframeContainer
|
|
@@ -25437,7 +25418,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25437
25418
|
return e.editorContainer = a.editorContainer ? a.editorContainer : null, EM(e), e.inline ? RS(e) : YF(e, a);
|
|
25438
25419
|
}, pm = oa.DOM, QA = function(e) {
|
|
25439
25420
|
return e.charAt(0) === "-";
|
|
25440
|
-
},
|
|
25421
|
+
}, r6 = function(e, r) {
|
|
25441
25422
|
var a = ey(r), o = D_(r);
|
|
25442
25423
|
if (Fr.hasCode(a) === !1 && a !== "en") {
|
|
25443
25424
|
var u = o !== "" ? o : r.editorManager.baseURL + "/langs/" + a + ".js";
|
|
@@ -25445,7 +25426,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25445
25426
|
OM(r, u, a);
|
|
25446
25427
|
});
|
|
25447
25428
|
}
|
|
25448
|
-
},
|
|
25429
|
+
}, n6 = function(e, r, a, o) {
|
|
25449
25430
|
var u = Bl(r);
|
|
25450
25431
|
if (Tr(u)) {
|
|
25451
25432
|
if (!QA(u) && !$r(kc.urls, u)) {
|
|
@@ -25475,7 +25456,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25475
25456
|
name: Y.some(o)
|
|
25476
25457
|
};
|
|
25477
25458
|
});
|
|
25478
|
-
},
|
|
25459
|
+
}, a6 = function(e, r, a) {
|
|
25479
25460
|
var o = FS(r, "default", a), u = ez(r).orThunk(function() {
|
|
25480
25461
|
return FS(r, Q0(r), "");
|
|
25481
25462
|
});
|
|
@@ -25487,7 +25468,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25487
25468
|
G3(r, l.url, l.name.getOrUndefined());
|
|
25488
25469
|
});
|
|
25489
25470
|
});
|
|
25490
|
-
},
|
|
25471
|
+
}, i6 = function(e, r) {
|
|
25491
25472
|
Ie.each(X_(e), function(a, o) {
|
|
25492
25473
|
Ao.load(o, a, _t, void 0, function() {
|
|
25493
25474
|
Ck(e, a, o);
|
|
@@ -25518,21 +25499,21 @@ Settings:` + p + a.join(p) : "";
|
|
|
25518
25499
|
});
|
|
25519
25500
|
}
|
|
25520
25501
|
});
|
|
25521
|
-
},
|
|
25502
|
+
}, o6 = function(e, r) {
|
|
25522
25503
|
var a = ff.ScriptLoader;
|
|
25523
|
-
|
|
25524
|
-
|
|
25504
|
+
n6(a, e, r, function() {
|
|
25505
|
+
r6(a, e), a6(a, e, r), i6(e, r), a.loadQueue(function() {
|
|
25525
25506
|
e.removed || ZA(e);
|
|
25526
25507
|
}, e, function() {
|
|
25527
25508
|
e.removed || ZA(e);
|
|
25528
25509
|
});
|
|
25529
25510
|
});
|
|
25530
|
-
},
|
|
25511
|
+
}, u6 = function(e, r) {
|
|
25531
25512
|
return El.forElement(e, {
|
|
25532
25513
|
contentCssCors: Y_(r),
|
|
25533
25514
|
referrerPolicy: kb(r)
|
|
25534
25515
|
});
|
|
25535
|
-
},
|
|
25516
|
+
}, s6 = function(e) {
|
|
25536
25517
|
var r = e.id;
|
|
25537
25518
|
Fr.setCode(ey(e));
|
|
25538
25519
|
var a = function() {
|
|
@@ -25548,7 +25529,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25548
25529
|
Hr(o.dom.attributes, function(m) {
|
|
25549
25530
|
return Me(o, m.name);
|
|
25550
25531
|
}), M(o, u);
|
|
25551
|
-
}), 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");
|
|
25552
25533
|
var l = e.getElement().form || pm.getParent(r, "form");
|
|
25553
25534
|
l && (e.formElement = l, H_(e) && !yu(e.getElement()) && (pm.insertAfter(pm.create("input", {
|
|
25554
25535
|
type: "hidden",
|
|
@@ -25569,17 +25550,17 @@ Settings:` + p + a.join(p) : "";
|
|
|
25569
25550
|
no_events: !0,
|
|
25570
25551
|
set_dirty: !1
|
|
25571
25552
|
});
|
|
25572
|
-
}, 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);
|
|
25573
25554
|
}
|
|
25574
|
-
},
|
|
25555
|
+
}, l6 = function(e, r) {
|
|
25575
25556
|
return v3(e, r);
|
|
25576
|
-
},
|
|
25557
|
+
}, c6 = {
|
|
25577
25558
|
"font-size": "size",
|
|
25578
25559
|
"font-family": "face"
|
|
25579
|
-
},
|
|
25560
|
+
}, f6 = function(e, r, a) {
|
|
25580
25561
|
var o = function(l) {
|
|
25581
25562
|
return vi(l, e).orThunk(function() {
|
|
25582
|
-
return Va(l) === "font" ? ta(
|
|
25563
|
+
return Va(l) === "font" ? ta(c6, e).bind(function(m) {
|
|
25583
25564
|
return ee(l, m);
|
|
25584
25565
|
}) : Y.none();
|
|
25585
25566
|
});
|
|
@@ -25589,17 +25570,17 @@ Settings:` + p + a.join(p) : "";
|
|
|
25589
25570
|
return AC(D.fromDom(a), function(l) {
|
|
25590
25571
|
return o(l);
|
|
25591
25572
|
}, u);
|
|
25592
|
-
},
|
|
25573
|
+
}, v6 = function(e) {
|
|
25593
25574
|
return e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ",");
|
|
25594
|
-
},
|
|
25575
|
+
}, d6 = function(e, r) {
|
|
25595
25576
|
return Y.from(oa.DOM.getStyle(r, e, !0));
|
|
25596
25577
|
}, Z1 = function(e) {
|
|
25597
25578
|
return function(r, a) {
|
|
25598
25579
|
return Y.from(a).map(D.fromDom).filter(sa).bind(function(o) {
|
|
25599
|
-
return
|
|
25580
|
+
return f6(e, r, o.dom).or(d6(e, o.dom));
|
|
25600
25581
|
}).getOr("");
|
|
25601
25582
|
};
|
|
25602
|
-
}, tz = Z1("font-size"), rz = Ai(
|
|
25583
|
+
}, tz = Z1("font-size"), rz = Ai(v6, Z1("font-family")), m6 = function(e) {
|
|
25603
25584
|
return Ca(e.getBody()).map(function(r) {
|
|
25604
25585
|
var a = r.container();
|
|
25605
25586
|
return At(a) ? a.parentNode : a;
|
|
@@ -25610,7 +25591,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25610
25591
|
return o ? Y.none() : Y.from(e.selection.getStart(!0));
|
|
25611
25592
|
});
|
|
25612
25593
|
}, az = function(e, r) {
|
|
25613
|
-
return nz(e).orThunk(Pe(
|
|
25594
|
+
return nz(e).orThunk(Pe(m6, e)).map(D.fromDom).filter(sa).bind(r);
|
|
25614
25595
|
}, $S = function(e, r) {
|
|
25615
25596
|
return az(e, re(Y.some, r));
|
|
25616
25597
|
}, iz = function(e, r) {
|
|
@@ -25623,25 +25604,25 @@ Settings:` + p + a.join(p) : "";
|
|
|
25623
25604
|
return r;
|
|
25624
25605
|
} else
|
|
25625
25606
|
return r;
|
|
25626
|
-
},
|
|
25607
|
+
}, h6 = function(e) {
|
|
25627
25608
|
var r = e.split(/\s*,\s*/);
|
|
25628
25609
|
return Cr(r, function(a) {
|
|
25629
25610
|
return a.indexOf(" ") !== -1 && !(Da(a, '"') || Da(a, "'")) ? "'" + a + "'" : a;
|
|
25630
25611
|
}).join(",");
|
|
25631
25612
|
}, NS = function(e, r) {
|
|
25632
25613
|
var a = iz(e, r);
|
|
25633
|
-
e.formatter.toggle("fontname", { value:
|
|
25634
|
-
},
|
|
25614
|
+
e.formatter.toggle("fontname", { value: h6(a) }), e.nodeChanged();
|
|
25615
|
+
}, g6 = function(e) {
|
|
25635
25616
|
return $S(e, function(r) {
|
|
25636
25617
|
return rz(e.getBody(), r.dom);
|
|
25637
25618
|
}).getOr("");
|
|
25638
25619
|
}, LS = function(e, r) {
|
|
25639
25620
|
e.formatter.toggle("fontsize", { value: iz(e, r) }), e.nodeChanged();
|
|
25640
|
-
},
|
|
25621
|
+
}, p6 = function(e) {
|
|
25641
25622
|
return $S(e, function(r) {
|
|
25642
25623
|
return tz(e.getBody(), r.dom);
|
|
25643
25624
|
}).getOr("");
|
|
25644
|
-
},
|
|
25625
|
+
}, b6 = function(e) {
|
|
25645
25626
|
return $S(e, function(r) {
|
|
25646
25627
|
var a = D.fromDom(e.getBody()), o = AC(r, function(l) {
|
|
25647
25628
|
return vi(l, "line-height");
|
|
@@ -25651,7 +25632,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25651
25632
|
};
|
|
25652
25633
|
return o.getOrThunk(u);
|
|
25653
25634
|
}).getOr("");
|
|
25654
|
-
},
|
|
25635
|
+
}, y6 = function(e, r) {
|
|
25655
25636
|
e.formatter.toggle("lineheight", { value: String(r) }), e.nodeChanged();
|
|
25656
25637
|
}, oz = function(e) {
|
|
25657
25638
|
if (typeof e != "string") {
|
|
@@ -25668,10 +25649,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
25668
25649
|
content: e,
|
|
25669
25650
|
details: {}
|
|
25670
25651
|
};
|
|
25671
|
-
},
|
|
25652
|
+
}, x6 = function(e, r) {
|
|
25672
25653
|
var a = oz(r);
|
|
25673
25654
|
S1(e, a.content, a.details);
|
|
25674
|
-
}, lx = Ie.each,
|
|
25655
|
+
}, lx = Ie.each, _6 = Ie.map, w6 = Ie.inArray, uz = function() {
|
|
25675
25656
|
function e(r) {
|
|
25676
25657
|
this.commands = {
|
|
25677
25658
|
state: {},
|
|
@@ -25842,7 +25823,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25842
25823
|
LS(r, m);
|
|
25843
25824
|
},
|
|
25844
25825
|
LineHeight: function(u, l, m) {
|
|
25845
|
-
|
|
25826
|
+
y6(r, m);
|
|
25846
25827
|
},
|
|
25847
25828
|
Lang: function(u, l, m) {
|
|
25848
25829
|
a.toggleFormat(u, {
|
|
@@ -25878,7 +25859,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
25878
25859
|
r.selection.select(m);
|
|
25879
25860
|
},
|
|
25880
25861
|
mceInsertContent: function(u, l, m) {
|
|
25881
|
-
|
|
25862
|
+
x6(r, m);
|
|
25882
25863
|
},
|
|
25883
25864
|
mceInsertRawHTML: function(u, l, m) {
|
|
25884
25865
|
r.selection.setContent("tiny_mce_marker");
|
|
@@ -25930,10 +25911,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
25930
25911
|
});
|
|
25931
25912
|
var o = function(u) {
|
|
25932
25913
|
return function() {
|
|
25933
|
-
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) {
|
|
25934
25915
|
return !!r.formatter.matchNode(b, u);
|
|
25935
25916
|
});
|
|
25936
|
-
return
|
|
25917
|
+
return w6(p, !0) !== -1;
|
|
25937
25918
|
};
|
|
25938
25919
|
};
|
|
25939
25920
|
a.addCommands({
|
|
@@ -25962,11 +25943,11 @@ Settings:` + p + a.join(p) : "";
|
|
|
25962
25943
|
r.undoManager.redo();
|
|
25963
25944
|
}
|
|
25964
25945
|
}), a.addQueryValueHandler("FontName", function() {
|
|
25965
|
-
return
|
|
25946
|
+
return g6(r);
|
|
25966
25947
|
}, this), a.addQueryValueHandler("FontSize", function() {
|
|
25967
|
-
return
|
|
25948
|
+
return p6(r);
|
|
25968
25949
|
}, this), a.addQueryValueHandler("LineHeight", function() {
|
|
25969
|
-
return
|
|
25950
|
+
return b6(r);
|
|
25970
25951
|
}, this);
|
|
25971
25952
|
}, e;
|
|
25972
25953
|
}(), ao = "data-mce-contenteditable", Ch = function(e, r, a) {
|
|
@@ -25978,23 +25959,23 @@ Settings:` + p + a.join(p) : "";
|
|
|
25978
25959
|
}
|
|
25979
25960
|
}, cx = function(e, r) {
|
|
25980
25961
|
e.dom.contentEditable = r ? "true" : "false";
|
|
25981
|
-
},
|
|
25962
|
+
}, C6 = function(e) {
|
|
25982
25963
|
ct(fu(e, '*[contenteditable="true"]'), function(r) {
|
|
25983
25964
|
S(r, ao, "true"), cx(r, !1);
|
|
25984
25965
|
});
|
|
25985
|
-
},
|
|
25966
|
+
}, k6 = function(e) {
|
|
25986
25967
|
ct(fu(e, "*[" + ao + '="true"]'), function(r) {
|
|
25987
25968
|
Me(r, ao), cx(r, !0);
|
|
25988
25969
|
});
|
|
25989
|
-
},
|
|
25970
|
+
}, S6 = function(e) {
|
|
25990
25971
|
Y.from(e.selection.getNode()).each(function(r) {
|
|
25991
25972
|
r.removeAttribute("data-mce-selected");
|
|
25992
25973
|
});
|
|
25993
|
-
},
|
|
25974
|
+
}, T6 = function(e) {
|
|
25994
25975
|
e.selection.setRng(e.selection.getRng());
|
|
25995
25976
|
}, sz = function(e, r) {
|
|
25996
25977
|
var a = D.fromDom(e.getBody());
|
|
25997
|
-
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());
|
|
25998
25979
|
}, Ac = function(e) {
|
|
25999
25980
|
return e.readonly;
|
|
26000
25981
|
}, lz = function(e) {
|
|
@@ -26007,11 +25988,11 @@ Settings:` + p + a.join(p) : "";
|
|
|
26007
25988
|
a.attr("contenteditable", a.attr(ao));
|
|
26008
25989
|
});
|
|
26009
25990
|
}), e.serializer.addTempAttr(ao);
|
|
26010
|
-
},
|
|
25991
|
+
}, O6 = function(e) {
|
|
26011
25992
|
e.serializer ? lz(e) : e.on("PreInit", function() {
|
|
26012
25993
|
lz(e);
|
|
26013
25994
|
});
|
|
26014
|
-
},
|
|
25995
|
+
}, E6 = function(e) {
|
|
26015
25996
|
return e.type === "click";
|
|
26016
25997
|
}, Ef = function(e, r) {
|
|
26017
25998
|
var a = function(o) {
|
|
@@ -26020,8 +26001,8 @@ Settings:` + p + a.join(p) : "";
|
|
|
26020
26001
|
return ca(r, "a", a).bind(function(o) {
|
|
26021
26002
|
return ee(o, "href");
|
|
26022
26003
|
});
|
|
26023
|
-
},
|
|
26024
|
-
if (
|
|
26004
|
+
}, A6 = function(e, r) {
|
|
26005
|
+
if (E6(r) && !ir.metaKeyPressed(r)) {
|
|
26025
26006
|
var a = D.fromDom(r.target);
|
|
26026
26007
|
Ef(e, a).each(function(o) {
|
|
26027
26008
|
if (r.preventDefault(), /^#/.test(o)) {
|
|
@@ -26031,7 +26012,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26031
26012
|
window.open(o, "_blank", "rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes");
|
|
26032
26013
|
});
|
|
26033
26014
|
}
|
|
26034
|
-
},
|
|
26015
|
+
}, z6 = function(e) {
|
|
26035
26016
|
e.on("ShowCaret", function(r) {
|
|
26036
26017
|
Ac(e) && r.preventDefault();
|
|
26037
26018
|
}), e.on("ObjectSelected", function(r) {
|
|
@@ -26141,10 +26122,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
26141
26122
|
return e.getDoc().documentElement;
|
|
26142
26123
|
var a = Ab(e);
|
|
26143
26124
|
return a ? (e.eventRoot || (e.eventRoot = xp.select(a)[0]), e.eventRoot) : e.getBody();
|
|
26144
|
-
},
|
|
26125
|
+
}, D6 = function(e) {
|
|
26145
26126
|
return !e.hidden && !Ac(e);
|
|
26146
26127
|
}, fz = function(e, r, a) {
|
|
26147
|
-
|
|
26128
|
+
D6(e) ? e.fire(r, a) : Ac(e) && A6(e, a);
|
|
26148
26129
|
}, vz = function(e, r) {
|
|
26149
26130
|
var a;
|
|
26150
26131
|
if (e.delegates || (e.delegates = {}), !(e.delegates[r] || e.removed)) {
|
|
@@ -26204,7 +26185,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26204
26185
|
return mz(e, a, r, o);
|
|
26205
26186
|
});
|
|
26206
26187
|
}
|
|
26207
|
-
},
|
|
26188
|
+
}, P6 = function(e, r, a) {
|
|
26208
26189
|
var o;
|
|
26209
26190
|
if (Vt(dz, r))
|
|
26210
26191
|
throw new Error("Cannot override default mode " + r);
|
|
@@ -26217,7 +26198,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26217
26198
|
}
|
|
26218
26199
|
}
|
|
26219
26200
|
}), o));
|
|
26220
|
-
},
|
|
26201
|
+
}, R6 = function(e) {
|
|
26221
26202
|
var r = ho("design"), a = ho({
|
|
26222
26203
|
design: {
|
|
26223
26204
|
activate: _t,
|
|
@@ -26230,7 +26211,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26230
26211
|
editorReadOnly: !0
|
|
26231
26212
|
}
|
|
26232
26213
|
});
|
|
26233
|
-
return
|
|
26214
|
+
return O6(e), z6(e), {
|
|
26234
26215
|
isReadOnly: function() {
|
|
26235
26216
|
return Ac(e);
|
|
26236
26217
|
},
|
|
@@ -26241,7 +26222,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26241
26222
|
return r.get();
|
|
26242
26223
|
},
|
|
26243
26224
|
register: function(o, u) {
|
|
26244
|
-
a.set(
|
|
26225
|
+
a.set(P6(a.get(), o, u));
|
|
26245
26226
|
}
|
|
26246
26227
|
};
|
|
26247
26228
|
}, qS = Ie.each, US = Ie.explode, gz = {
|
|
@@ -26311,7 +26292,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26311
26292
|
}, e.prototype.executeShortcutAction = function(r) {
|
|
26312
26293
|
return r.func ? r.func.call(r.scope) : null;
|
|
26313
26294
|
}, e;
|
|
26314
|
-
}(),
|
|
26295
|
+
}(), M6 = function() {
|
|
26315
26296
|
var e = {}, r = {}, a = {}, o = {}, u = {}, l = {}, m = {}, p = function(T, R) {
|
|
26316
26297
|
return function(B, I) {
|
|
26317
26298
|
return T[B.toLowerCase()] = rr(rr({}, I), { type: R });
|
|
@@ -26347,7 +26328,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26347
26328
|
}
|
|
26348
26329
|
};
|
|
26349
26330
|
}, WS = function() {
|
|
26350
|
-
var e =
|
|
26331
|
+
var e = M6();
|
|
26351
26332
|
return {
|
|
26352
26333
|
addAutocompleter: e.addAutocompleter,
|
|
26353
26334
|
addButton: e.addButton,
|
|
@@ -26365,7 +26346,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26365
26346
|
addToggleMenuItem: e.addToggleMenuItem,
|
|
26366
26347
|
getAll: e.getAll
|
|
26367
26348
|
};
|
|
26368
|
-
}, bm = oa.DOM, yz = Ie.extend,
|
|
26349
|
+
}, bm = oa.DOM, yz = Ie.extend, B6 = Ie.each, xz = Ie.resolve, I6 = Jt.ie, dx = function() {
|
|
26369
26350
|
function e(r, a, o) {
|
|
26370
26351
|
var u = this;
|
|
26371
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 = {
|
|
@@ -26377,7 +26358,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26377
26358
|
disable: _t,
|
|
26378
26359
|
isDisabled: ot
|
|
26379
26360
|
};
|
|
26380
|
-
var l = this, m =
|
|
26361
|
+
var l = this, m = R6(l);
|
|
26381
26362
|
this.mode = m, this.setMode = m.set, o.fire("SetupEditor", { editor: this }), this.execCallback("setup", this), this.$ = _r.overrideDefaults(function() {
|
|
26382
26363
|
return {
|
|
26383
26364
|
context: u.inline ? u.getBody() : u.getDoc(),
|
|
@@ -26386,7 +26367,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26386
26367
|
});
|
|
26387
26368
|
}
|
|
26388
26369
|
return e.prototype.render = function() {
|
|
26389
|
-
|
|
26370
|
+
s6(this);
|
|
26390
26371
|
}, e.prototype.focus = function(r) {
|
|
26391
26372
|
this.execCommand("mceFocus", !1, r);
|
|
26392
26373
|
}, e.prototype.hasFocus = function() {
|
|
@@ -26430,7 +26411,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26430
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"));
|
|
26431
26412
|
}, e.prototype.hide = function() {
|
|
26432
26413
|
var r = this, a = r.getDoc();
|
|
26433
|
-
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"));
|
|
26434
26415
|
}, e.prototype.isHidden = function() {
|
|
26435
26416
|
return !!this.hidden;
|
|
26436
26417
|
}, e.prototype.setProgressState = function(r, a) {
|
|
@@ -26450,7 +26431,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26450
26431
|
}, e.prototype.save = function(r) {
|
|
26451
26432
|
var a = this, o = a.getElement(), u, l;
|
|
26452
26433
|
if (!(!o || !a.initialized || a.removed))
|
|
26453
|
-
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) {
|
|
26454
26435
|
if (m.name === a.id)
|
|
26455
26436
|
return m.value = u, !1;
|
|
26456
26437
|
})), r.element = o = null, r.set_dirty !== !1 && a.setDirty(!1), u;
|
|
@@ -26487,7 +26468,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26487
26468
|
var u = this, l = u.settings;
|
|
26488
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);
|
|
26489
26470
|
}, e.prototype.addVisual = function(r) {
|
|
26490
|
-
|
|
26471
|
+
l6(this, r);
|
|
26491
26472
|
}, e.prototype.remove = function() {
|
|
26492
26473
|
tM(this);
|
|
26493
26474
|
}, e.prototype.destroy = function(r) {
|
|
@@ -26505,7 +26486,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26505
26486
|
}, e.prototype.addContextToolbar = function() {
|
|
26506
26487
|
throw new Error("editor.addContextToolbar has been removed in tinymce 5x, use editor.ui.registry.addContextToolbar instead");
|
|
26507
26488
|
}, e;
|
|
26508
|
-
}(), 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) {
|
|
26509
26490
|
return e !== "length";
|
|
26510
26491
|
}, hx = function(e) {
|
|
26511
26492
|
var r = e.type;
|
|
@@ -26534,7 +26515,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26534
26515
|
}), ym.activeEditor === e && (ym.activeEditor = Du.length > 0 ? Du[0] : null), ym.focusedEditor === e && (ym.focusedEditor = null), r.length !== Du.length;
|
|
26535
26516
|
}, _z = function(e) {
|
|
26536
26517
|
return e && e.initialized && !(e.getContainer() || e.getBody()).parentNode && (GS(e), e.unbindAllNativeEvents(), e.destroy(!0), e.removed = !0, e = null), e;
|
|
26537
|
-
},
|
|
26518
|
+
}, L6 = document.compatMode !== "CSS1Compat", ym = rr(rr({}, Q1), {
|
|
26538
26519
|
baseURI: null,
|
|
26539
26520
|
baseURL: null,
|
|
26540
26521
|
defaultSettings: {},
|
|
@@ -26601,7 +26582,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26601
26582
|
var I = [];
|
|
26602
26583
|
if (Jt.browser.isIE() && Jt.browser.version.major < 11)
|
|
26603
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/"), [];
|
|
26604
|
-
if (
|
|
26585
|
+
if (L6)
|
|
26605
26586
|
return I1("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."), [];
|
|
26606
26587
|
if (B.types)
|
|
26607
26588
|
return wv(B.types, function(q) {
|
|
@@ -26614,7 +26595,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26614
26595
|
switch (B.mode) {
|
|
26615
26596
|
case "exact":
|
|
26616
26597
|
var j = B.elements || "";
|
|
26617
|
-
j.length > 0 && wv(
|
|
26598
|
+
j.length > 0 && wv(F6(j), function(q) {
|
|
26618
26599
|
var K = zc.get(q);
|
|
26619
26600
|
K ? I.push(K) : wv(document.forms, function(J) {
|
|
26620
26601
|
wv(J.elements, function(ie) {
|
|
@@ -26643,7 +26624,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26643
26624
|
if (zc.unbind(window, "ready", R), m("onpageload"), j = _r.unique(b(e)), e.types) {
|
|
26644
26625
|
wv(e.types, function(K) {
|
|
26645
26626
|
Ie.each(j, function(J) {
|
|
26646
|
-
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;
|
|
26647
26628
|
});
|
|
26648
26629
|
});
|
|
26649
26630
|
return;
|
|
@@ -26669,7 +26650,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26669
26650
|
},
|
|
26670
26651
|
add: function(e) {
|
|
26671
26652
|
var r = this, a = ld[e.id];
|
|
26672
|
-
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) {
|
|
26673
26654
|
var u = r.fire("BeforeUnload");
|
|
26674
26655
|
if (u.returnValue)
|
|
26675
26656
|
return o.preventDefault(), o.returnValue = u.returnValue, u.returnValue;
|
|
@@ -26728,18 +26709,18 @@ Settings:` + p + a.join(p) : "";
|
|
|
26728
26709
|
var wz = Math.min, _p = Math.max, px = Math.round, KS = function(e, r, a) {
|
|
26729
26710
|
var o = r.x, u = r.y, l = e.w, m = e.h, p = r.w, b = r.h, T = (a || "").split("");
|
|
26730
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);
|
|
26731
|
-
},
|
|
26712
|
+
}, H6 = function(e, r, a, o) {
|
|
26732
26713
|
var u, l;
|
|
26733
26714
|
for (l = 0; l < o.length; l++)
|
|
26734
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)
|
|
26735
26716
|
return o[l];
|
|
26736
26717
|
return null;
|
|
26737
|
-
},
|
|
26718
|
+
}, V6 = function(e, r, a) {
|
|
26738
26719
|
return wp(e.x - r, e.y - a, e.w + r * 2, e.h + a * 2);
|
|
26739
|
-
},
|
|
26720
|
+
}, j6 = function(e, r) {
|
|
26740
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);
|
|
26741
26722
|
return u - a < 0 || l - o < 0 ? null : wp(a, o, u - a, l - o);
|
|
26742
|
-
},
|
|
26723
|
+
}, q6 = function(e, r, a) {
|
|
26743
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);
|
|
26744
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);
|
|
26745
26726
|
}, wp = function(e, r, a, o) {
|
|
@@ -26749,17 +26730,17 @@ Settings:` + p + a.join(p) : "";
|
|
|
26749
26730
|
w: a,
|
|
26750
26731
|
h: o
|
|
26751
26732
|
};
|
|
26752
|
-
},
|
|
26733
|
+
}, U6 = function(e) {
|
|
26753
26734
|
return wp(e.left, e.top, e.width, e.height);
|
|
26754
26735
|
}, Cz = {
|
|
26755
|
-
inflate:
|
|
26736
|
+
inflate: V6,
|
|
26756
26737
|
relativePosition: KS,
|
|
26757
|
-
findBestRelativePosition:
|
|
26758
|
-
intersect:
|
|
26759
|
-
clamp:
|
|
26738
|
+
findBestRelativePosition: H6,
|
|
26739
|
+
intersect: j6,
|
|
26740
|
+
clamp: q6,
|
|
26760
26741
|
create: wp,
|
|
26761
|
-
fromClientRect:
|
|
26762
|
-
},
|
|
26742
|
+
fromClientRect: U6
|
|
26743
|
+
}, W6 = function(e, r, a) {
|
|
26763
26744
|
a === void 0 && (a = 1e3);
|
|
26764
26745
|
var o = !1, u = null, l = function(T) {
|
|
26765
26746
|
return function() {
|
|
@@ -26779,13 +26760,13 @@ Settings:` + p + a.join(p) : "";
|
|
|
26779
26760
|
resolve: m,
|
|
26780
26761
|
reject: p
|
|
26781
26762
|
};
|
|
26782
|
-
},
|
|
26763
|
+
}, G6 = function() {
|
|
26783
26764
|
var e = {}, r = {}, a = function(u, l) {
|
|
26784
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";
|
|
26785
26766
|
if (e[u] !== void 0)
|
|
26786
26767
|
return e[u];
|
|
26787
26768
|
var b = new Mi(function(T, R) {
|
|
26788
|
-
var B =
|
|
26769
|
+
var B = W6(T, R);
|
|
26789
26770
|
r[u] = B.resolve, ff.ScriptLoader.loadScript(l, function() {
|
|
26790
26771
|
return B.start(p);
|
|
26791
26772
|
}, function() {
|
|
@@ -26800,7 +26781,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26800
26781
|
load: a,
|
|
26801
26782
|
add: o
|
|
26802
26783
|
};
|
|
26803
|
-
},
|
|
26784
|
+
}, K6 = G6(), Cp = Ie.each, e0 = Ie.extend, cd, xm, bx = function() {
|
|
26804
26785
|
};
|
|
26805
26786
|
bx.extend = cd = function(e) {
|
|
26806
26787
|
var r = this, a = r.prototype, o = function() {
|
|
@@ -26837,7 +26818,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26837
26818
|
typeof p == "function" && a[b] ? m[b] = l(b, p) : m[b] = p;
|
|
26838
26819
|
}), o.prototype = m, o.constructor = o, o.extend = cd, o;
|
|
26839
26820
|
};
|
|
26840
|
-
var kp = Math.min, t0 = Math.max, _m = Math.round,
|
|
26821
|
+
var kp = Math.min, t0 = Math.max, _m = Math.round, Y6 = function(e) {
|
|
26841
26822
|
var r = {}, a = 0, o = 0, u = 0, l = function(B, I, j) {
|
|
26842
26823
|
var q, K, J;
|
|
26843
26824
|
q = 0, K = 0, J = 0, B = B / 255, I = I / 255, j = j / 255;
|
|
@@ -26915,7 +26896,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26915
26896
|
} catch {
|
|
26916
26897
|
}
|
|
26917
26898
|
}
|
|
26918
|
-
},
|
|
26899
|
+
}, X6 = {
|
|
26919
26900
|
callbacks: {},
|
|
26920
26901
|
count: 0,
|
|
26921
26902
|
send: function(e) {
|
|
@@ -26942,7 +26923,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26942
26923
|
return o();
|
|
26943
26924
|
Gi.setTimeout(o, 10);
|
|
26944
26925
|
}
|
|
26945
|
-
}), Sz = Ie.extend,
|
|
26926
|
+
}), Sz = Ie.extend, J6 = function() {
|
|
26946
26927
|
function e(r) {
|
|
26947
26928
|
this.settings = Sz({}, r), this.count = 0;
|
|
26948
26929
|
}
|
|
@@ -26960,7 +26941,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
26960
26941
|
params: r.params
|
|
26961
26942
|
}), u.content_type = "application/json", xx.send(u);
|
|
26962
26943
|
}, e;
|
|
26963
|
-
}(),
|
|
26944
|
+
}(), Z6 = function() {
|
|
26964
26945
|
return function() {
|
|
26965
26946
|
var e = {}, r = [], a = {
|
|
26966
26947
|
getItem: function(o) {
|
|
@@ -26996,9 +26977,9 @@ Settings:` + p + a.join(p) : "";
|
|
|
26996
26977
|
var _x = "__storage_test__";
|
|
26997
26978
|
r0 = window.localStorage, r0.setItem(_x, _x), r0.removeItem(_x);
|
|
26998
26979
|
} catch {
|
|
26999
|
-
r0 =
|
|
26980
|
+
r0 = Z6();
|
|
27000
26981
|
}
|
|
27001
|
-
var Tz = r0,
|
|
26982
|
+
var Tz = r0, Q6 = {
|
|
27002
26983
|
geom: { Rect: Cz },
|
|
27003
26984
|
util: {
|
|
27004
26985
|
Promise: Mi,
|
|
@@ -27012,10 +26993,10 @@ Settings:` + p + a.join(p) : "";
|
|
|
27012
26993
|
I18n: Fr,
|
|
27013
26994
|
XHR: xx,
|
|
27014
26995
|
JSON: yx,
|
|
27015
|
-
JSONRequest:
|
|
27016
|
-
JSONP:
|
|
26996
|
+
JSONRequest: J6,
|
|
26997
|
+
JSONP: X6,
|
|
27017
26998
|
LocalStorage: Tz,
|
|
27018
|
-
Color:
|
|
26999
|
+
Color: Y6,
|
|
27019
27000
|
ImageUploader: Z3
|
|
27020
27001
|
},
|
|
27021
27002
|
dom: {
|
|
@@ -27062,7 +27043,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
27062
27043
|
PluginManager: Ao,
|
|
27063
27044
|
ThemeManager: kc,
|
|
27064
27045
|
IconManager: Qr,
|
|
27065
|
-
Resource:
|
|
27046
|
+
Resource: K6,
|
|
27066
27047
|
trim: Ie.trim,
|
|
27067
27048
|
isArray: Ie.isArray,
|
|
27068
27049
|
is: Ie.is,
|
|
@@ -27084,15 +27065,15 @@ Settings:` + p + a.join(p) : "";
|
|
|
27084
27065
|
isIE: Jt.ie,
|
|
27085
27066
|
isGecko: Jt.gecko,
|
|
27086
27067
|
isMac: Jt.mac
|
|
27087
|
-
}, Oz = Ie.extend(ym,
|
|
27068
|
+
}, Oz = Ie.extend(ym, Q6), e$ = function(e) {
|
|
27088
27069
|
try {
|
|
27089
27070
|
O.exports = e;
|
|
27090
27071
|
} catch {
|
|
27091
27072
|
}
|
|
27092
|
-
},
|
|
27073
|
+
}, t$ = function(e) {
|
|
27093
27074
|
window.tinymce = e, window.tinyMCE = e;
|
|
27094
27075
|
};
|
|
27095
|
-
|
|
27076
|
+
t$(Oz), e$(Oz);
|
|
27096
27077
|
})();
|
|
27097
27078
|
})(NK);
|
|
27098
27079
|
(function() {
|
|
@@ -27111,7 +27092,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
27111
27092
|
return function(n) {
|
|
27112
27093
|
return t === n;
|
|
27113
27094
|
};
|
|
27114
|
-
}, 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) {
|
|
27115
27096
|
return t == null;
|
|
27116
27097
|
}, Ft = function(t) {
|
|
27117
27098
|
return !Nr(t);
|
|
@@ -27916,7 +27897,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
27916
27897
|
throw new Error("Body is not available yet");
|
|
27917
27898
|
return yt.fromDom(n);
|
|
27918
27899
|
}, Pv = function(t, n, i) {
|
|
27919
|
-
if (Z(i) ||
|
|
27900
|
+
if (Z(i) || Ot(i) || On(i))
|
|
27920
27901
|
t.setAttribute(n, i + "");
|
|
27921
27902
|
else
|
|
27922
27903
|
throw console.error("Invalid call to Attribute.set. Key ", n, ":: Value ", i, ":: Element ", t), new Error("Attribute value was not simple");
|
|
@@ -28575,7 +28556,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
28575
28556
|
return Me(c, (y = {}, y[h] = !0, y));
|
|
28576
28557
|
}, se(c));
|
|
28577
28558
|
}, {}), s = function(c, v) {
|
|
28578
|
-
var h =
|
|
28559
|
+
var h = Ot(v) ? [] : v0(v), y = Vt(h, function(_) {
|
|
28579
28560
|
return !Sa(i, _);
|
|
28580
28561
|
});
|
|
28581
28562
|
return y.length === 0 ? n.extract(c, v) : In(c, y);
|
|
@@ -28667,7 +28648,7 @@ Settings:` + p + a.join(p) : "";
|
|
|
28667
28648
|
var s = typeof i;
|
|
28668
28649
|
return t(i) ? Gr.svalue(i) : Gr.serror("Expected type: " + n + " but got: " + s);
|
|
28669
28650
|
});
|
|
28670
|
-
}, 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) {
|
|
28671
28652
|
if (Object(t) !== t)
|
|
28672
28653
|
return !0;
|
|
28673
28654
|
switch ({}.toString.call(t).slice(8, -1)) {
|
|
@@ -34297,11 +34278,11 @@ Components: ` + JSON.stringify(n.components, null, 2));
|
|
|
34297
34278
|
}
|
|
34298
34279
|
var ZP = function(t, n) {
|
|
34299
34280
|
var i = null, s = function() {
|
|
34300
|
-
|
|
34281
|
+
Tt(i) || (clearTimeout(i), i = null);
|
|
34301
34282
|
}, c = function() {
|
|
34302
34283
|
for (var v = [], h = 0; h < arguments.length; h++)
|
|
34303
34284
|
v[h] = arguments[h];
|
|
34304
|
-
|
|
34285
|
+
Tt(i) && (i = setTimeout(function() {
|
|
34305
34286
|
i = null, t.apply(null, v);
|
|
34306
34287
|
}, n));
|
|
34307
34288
|
};
|
|
@@ -34311,7 +34292,7 @@ Components: ` + JSON.stringify(n.components, null, 2));
|
|
|
34311
34292
|
};
|
|
34312
34293
|
}, CC = function(t, n) {
|
|
34313
34294
|
var i = null, s = function() {
|
|
34314
|
-
|
|
34295
|
+
Tt(i) || (clearTimeout(i), i = null);
|
|
34315
34296
|
}, c = function() {
|
|
34316
34297
|
for (var v = [], h = 0; h < arguments.length; h++)
|
|
34317
34298
|
v[h] = arguments[h];
|
|
@@ -40899,9 +40880,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40899
40880
|
onChoose: Ir
|
|
40900
40881
|
}));
|
|
40901
40882
|
}, rn = function(Et, Ir, Rn, Ka, ll) {
|
|
40902
|
-
var cl = function(If, zx,
|
|
40903
|
-
var
|
|
40904
|
-
P(If,
|
|
40883
|
+
var cl = function(If, zx, W$) {
|
|
40884
|
+
var G$ = lt(Ir, W$.x / 100);
|
|
40885
|
+
P(If, G$);
|
|
40905
40886
|
};
|
|
40906
40887
|
return er(Et, cl, Rn, Ka, ll);
|
|
40907
40888
|
}, Fn = function(Et, Ir, Rn, Ka, ll) {
|
|
@@ -40935,17 +40916,17 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40935
40916
|
components: Bf.map(function(Et) {
|
|
40936
40917
|
return Et.asSpec();
|
|
40937
40918
|
})
|
|
40938
|
-
}),
|
|
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) {
|
|
40939
40920
|
return function(Ka) {
|
|
40940
40921
|
return wI(Ka, Et, Ir, Rn);
|
|
40941
40922
|
};
|
|
40942
40923
|
}, rT = function(Et) {
|
|
40943
40924
|
var Ir = function(Rn, Ka, ll) {
|
|
40944
40925
|
var cl = Uz.getOpt(Rn), If = Wz.getOpt(Rn), zx = nT.getOpt(Rn);
|
|
40945
|
-
cl.each(function(
|
|
40946
|
-
If.each(function(
|
|
40926
|
+
cl.each(function(W$) {
|
|
40927
|
+
If.each(function(G$) {
|
|
40947
40928
|
zx.each(function(Cq) {
|
|
40948
|
-
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);
|
|
40949
40930
|
P(Rn, Oq);
|
|
40950
40931
|
});
|
|
40951
40932
|
});
|
|
@@ -40975,9 +40956,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40975
40956
|
swap: ll
|
|
40976
40957
|
});
|
|
40977
40958
|
};
|
|
40978
|
-
},
|
|
40959
|
+
}, H$ = function(Et) {
|
|
40979
40960
|
t.showCrop();
|
|
40980
|
-
},
|
|
40961
|
+
}, V$ = function(Et) {
|
|
40981
40962
|
me.getOpt(Et).each(function(Ir) {
|
|
40982
40963
|
var Rn = t.getMeasurements(), Ka = Rn.width, ll = Rn.height;
|
|
40983
40964
|
pt.setValue(Ir, {
|
|
@@ -40985,13 +40966,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
40985
40966
|
height: ll
|
|
40986
40967
|
});
|
|
40987
40968
|
});
|
|
40988
|
-
},
|
|
40989
|
-
s("crop", "Crop", sl(Ue, C.none(),
|
|
40990
|
-
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),
|
|
40991
40972
|
s("orientation", "Orientation", sl(Lt, C.none(), y), !1),
|
|
40992
|
-
s("brightness", "Brightness", sl(
|
|
40993
|
-
s("sharpen", "Sharpen", sl(Pc,
|
|
40994
|
-
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),
|
|
40995
40976
|
s("color-levels", "Color levels", sl(aT, C.none(), y), !1),
|
|
40996
40977
|
s("gamma", "Gamma", sl(qz, C.none(), y), !1),
|
|
40997
40978
|
s("invert", "Invert", sl(Pc, gu, y), !1)
|
|
@@ -41000,11 +40981,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
41000
40981
|
components: Tp.map(function(Et) {
|
|
41001
40982
|
return Et.asSpec();
|
|
41002
40983
|
})
|
|
41003
|
-
}),
|
|
40984
|
+
}), q$ = Jo.sketch({
|
|
41004
40985
|
dom: { tag: "div" },
|
|
41005
40986
|
components: [Ex],
|
|
41006
40987
|
containerBehaviours: ft([yr.config({})])
|
|
41007
|
-
}), Ax = fn(
|
|
40988
|
+
}), Ax = fn(q$), U$ = function(Et) {
|
|
41008
40989
|
return Ax.getOpt(Et).map(function(Ir) {
|
|
41009
40990
|
var Rn = Ir.components()[0];
|
|
41010
40991
|
return Rn.components()[Rn.components().length - 1];
|
|
@@ -41012,7 +40993,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
41012
40993
|
};
|
|
41013
40994
|
return {
|
|
41014
40995
|
memContainer: Ax,
|
|
41015
|
-
getApplyButton:
|
|
40996
|
+
getApplyButton: U$
|
|
41016
40997
|
};
|
|
41017
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) {
|
|
41018
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);
|
|
@@ -43326,7 +43307,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43326
43307
|
return function(n) {
|
|
43327
43308
|
return !!(JF(n) && (n.contentEditable === t || n.getAttribute("data-mce-contenteditable") === t));
|
|
43328
43309
|
};
|
|
43329
|
-
}, QF = IS("true"),
|
|
43310
|
+
}, QF = IS("true"), e6 = IS("false"), JA = function(t, n, i, s, c) {
|
|
43330
43311
|
return {
|
|
43331
43312
|
type: t,
|
|
43332
43313
|
title: n,
|
|
@@ -43334,7 +43315,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43334
43315
|
level: s,
|
|
43335
43316
|
attach: c
|
|
43336
43317
|
};
|
|
43337
|
-
},
|
|
43318
|
+
}, t6 = function(t) {
|
|
43338
43319
|
for (; t = t.parentNode; ) {
|
|
43339
43320
|
var n = t.contentEditable;
|
|
43340
43321
|
if (n && n !== "inherit")
|
|
@@ -43349,45 +43330,45 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43349
43330
|
return t.innerText || t.textContent;
|
|
43350
43331
|
}, QA = function(t) {
|
|
43351
43332
|
return t.id ? t.id : We("h");
|
|
43352
|
-
},
|
|
43333
|
+
}, r6 = function(t) {
|
|
43353
43334
|
return t && t.nodeName === "A" && (t.id || t.name) !== void 0;
|
|
43354
|
-
},
|
|
43355
|
-
return
|
|
43335
|
+
}, n6 = function(t) {
|
|
43336
|
+
return r6(t) && FS(t);
|
|
43356
43337
|
}, ez = function(t) {
|
|
43357
43338
|
return t && /^(H[1-6])$/.test(t.nodeName);
|
|
43358
43339
|
}, FS = function(t) {
|
|
43359
|
-
return
|
|
43360
|
-
},
|
|
43340
|
+
return t6(t) && !e6(t);
|
|
43341
|
+
}, a6 = function(t) {
|
|
43361
43342
|
return ez(t) && FS(t);
|
|
43362
|
-
},
|
|
43343
|
+
}, i6 = function(t) {
|
|
43363
43344
|
return ez(t) ? parseInt(t.nodeName.substr(1), 10) : 0;
|
|
43364
|
-
},
|
|
43345
|
+
}, o6 = function(t) {
|
|
43365
43346
|
var n = QA(t), i = function() {
|
|
43366
43347
|
t.id = n;
|
|
43367
43348
|
};
|
|
43368
|
-
return JA("header", pm(t), "#" + n,
|
|
43369
|
-
},
|
|
43349
|
+
return JA("header", pm(t), "#" + n, i6(t), i);
|
|
43350
|
+
}, u6 = function(t) {
|
|
43370
43351
|
var n = t.id || t.name, i = pm(t);
|
|
43371
43352
|
return JA("anchor", i || "#" + n, "#" + n, 0, it);
|
|
43372
|
-
},
|
|
43373
|
-
return je(Vt(t,
|
|
43374
|
-
},
|
|
43375
|
-
return je(Vt(t,
|
|
43376
|
-
},
|
|
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) {
|
|
43377
43358
|
var n = ZA("h1,h2,h3,h4,h5,h6,a:not([href])", t);
|
|
43378
43359
|
return n;
|
|
43379
|
-
},
|
|
43360
|
+
}, f6 = function(t) {
|
|
43380
43361
|
return ZF(t.title).length > 0;
|
|
43381
|
-
},
|
|
43382
|
-
var n =
|
|
43383
|
-
return Vt(
|
|
43384
|
-
},
|
|
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) {
|
|
43385
43366
|
return Z(t) && /^https?/.test(t);
|
|
43386
|
-
},
|
|
43367
|
+
}, m6 = function(t) {
|
|
43387
43368
|
return ze(t) && t.length <= tz && Yn(t, rz);
|
|
43388
43369
|
}, nz = function(t) {
|
|
43389
43370
|
return we(t) && Nu(t, function(n) {
|
|
43390
|
-
return !
|
|
43371
|
+
return !m6(n);
|
|
43391
43372
|
}).isNone();
|
|
43392
43373
|
}, az = function() {
|
|
43393
43374
|
var t = O1.getItem(Z1);
|
|
@@ -43410,7 +43391,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43410
43391
|
}, iz = function(t) {
|
|
43411
43392
|
var n = az();
|
|
43412
43393
|
return Yt(n, t).getOr([]);
|
|
43413
|
-
},
|
|
43394
|
+
}, h6 = function(t, n) {
|
|
43414
43395
|
if (rz(t)) {
|
|
43415
43396
|
var i = az(), s = Yt(i, n).getOr([]), c = Vt(s, function(v) {
|
|
43416
43397
|
return v !== t;
|
|
@@ -43419,22 +43400,22 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43419
43400
|
}
|
|
43420
43401
|
}, NS = function(t) {
|
|
43421
43402
|
return !!t;
|
|
43422
|
-
},
|
|
43403
|
+
}, g6 = function(t) {
|
|
43423
43404
|
return yn(zu.makeMap(t, /[, ]/), NS);
|
|
43424
43405
|
}, LS = function(t) {
|
|
43425
43406
|
return C.from(ek(t)).filter(wr);
|
|
43426
|
-
},
|
|
43427
|
-
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);
|
|
43428
43409
|
return LS(t).fold(Gt, function(c) {
|
|
43429
43410
|
return s.fold(_t, function(v) {
|
|
43430
43411
|
return Xn(v).length > 0 ? v : !1;
|
|
43431
43412
|
});
|
|
43432
43413
|
});
|
|
43433
|
-
},
|
|
43434
|
-
var i =
|
|
43435
|
-
return
|
|
43436
|
-
},
|
|
43437
|
-
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) {
|
|
43438
43419
|
return function(s) {
|
|
43439
43420
|
return zo.nu(function(c) {
|
|
43440
43421
|
var v = function(y, _) {
|
|
@@ -43457,29 +43438,29 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43457
43438
|
});
|
|
43458
43439
|
}, oz = function(t) {
|
|
43459
43440
|
return C.from(t).filter(Z).getOrUndefined();
|
|
43460
|
-
},
|
|
43441
|
+
}, x6 = function(t) {
|
|
43461
43442
|
return t5(t) ? C.none() : C.some({
|
|
43462
|
-
targets:
|
|
43443
|
+
targets: d6.find(t.getBody()),
|
|
43463
43444
|
anchorTop: oz(KO(t)),
|
|
43464
43445
|
anchorBottom: oz(r5(t))
|
|
43465
43446
|
});
|
|
43466
43447
|
}, lx = function(t) {
|
|
43467
43448
|
return C.from(n5(t));
|
|
43468
|
-
},
|
|
43449
|
+
}, _6 = function(t) {
|
|
43469
43450
|
return {
|
|
43470
43451
|
getHistory: iz,
|
|
43471
|
-
addToHistory:
|
|
43452
|
+
addToHistory: h6,
|
|
43472
43453
|
getLinkInformation: function() {
|
|
43473
|
-
return
|
|
43454
|
+
return x6(t);
|
|
43474
43455
|
},
|
|
43475
43456
|
getValidationHandler: function() {
|
|
43476
43457
|
return lx(t);
|
|
43477
43458
|
},
|
|
43478
43459
|
getUrlPicker: function(n) {
|
|
43479
|
-
return
|
|
43460
|
+
return y6(t, n);
|
|
43480
43461
|
}
|
|
43481
43462
|
};
|
|
43482
|
-
},
|
|
43463
|
+
}, w6 = function(t, n, i) {
|
|
43483
43464
|
var s = Zt(!1), c = J1(n), v = {
|
|
43484
43465
|
shared: {
|
|
43485
43466
|
providers: {
|
|
@@ -43504,7 +43485,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43504
43485
|
return br.value(t);
|
|
43505
43486
|
}
|
|
43506
43487
|
},
|
|
43507
|
-
urlinput:
|
|
43488
|
+
urlinput: _6(n),
|
|
43508
43489
|
styleselect: XF(n),
|
|
43509
43490
|
colorinput: UF(n),
|
|
43510
43491
|
dialog: RS(n),
|
|
@@ -43572,10 +43553,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43572
43553
|
Fl.field("listBehaviours", [yr])
|
|
43573
43554
|
]), cx = function() {
|
|
43574
43555
|
return { behaviours: ft([yr.config({})]) };
|
|
43575
|
-
},
|
|
43556
|
+
}, C6 = xf({
|
|
43576
43557
|
name: "items",
|
|
43577
43558
|
overrides: cx
|
|
43578
|
-
}),
|
|
43559
|
+
}), k6 = se([C6]), S6 = se("CustomList"), T6 = function(t, n, i, s) {
|
|
43579
43560
|
var c = function(y, _) {
|
|
43580
43561
|
h(y).fold(function() {
|
|
43581
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");
|
|
@@ -43610,10 +43591,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43610
43591
|
apis: { setItems: c }
|
|
43611
43592
|
};
|
|
43612
43593
|
}, sz = Xo({
|
|
43613
|
-
name:
|
|
43594
|
+
name: S6(),
|
|
43614
43595
|
configFields: HS(),
|
|
43615
|
-
partFields:
|
|
43616
|
-
factory:
|
|
43596
|
+
partFields: k6(),
|
|
43597
|
+
factory: T6,
|
|
43617
43598
|
apis: {
|
|
43618
43599
|
setItems: function(t, n, i) {
|
|
43619
43600
|
t.setItems(n, i);
|
|
@@ -43625,10 +43606,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43625
43606
|
to("toolbarBehaviours", [yr])
|
|
43626
43607
|
]), lz = function() {
|
|
43627
43608
|
return { behaviours: ft([yr.config({})]) };
|
|
43628
|
-
},
|
|
43609
|
+
}, O6 = se([xf({
|
|
43629
43610
|
name: "groups",
|
|
43630
43611
|
overrides: lz
|
|
43631
|
-
})]),
|
|
43612
|
+
})]), E6 = function(t, n, i, s) {
|
|
43632
43613
|
var c = function(y, _) {
|
|
43633
43614
|
v(y).fold(function() {
|
|
43634
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");
|
|
@@ -43655,17 +43636,17 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43655
43636
|
}, Ef = Xo({
|
|
43656
43637
|
name: "Toolbar",
|
|
43657
43638
|
configFields: Ac(),
|
|
43658
|
-
partFields:
|
|
43659
|
-
factory:
|
|
43639
|
+
partFields: O6(),
|
|
43640
|
+
factory: E6,
|
|
43660
43641
|
apis: {
|
|
43661
43642
|
setGroups: function(t, n, i) {
|
|
43662
43643
|
t.setGroups(n, i);
|
|
43663
43644
|
}
|
|
43664
43645
|
}
|
|
43665
|
-
}),
|
|
43646
|
+
}), A6 = it, z6 = Gt, cz = se([]), VS = /* @__PURE__ */ Object.freeze({
|
|
43666
43647
|
__proto__: null,
|
|
43667
|
-
setup:
|
|
43668
|
-
isDocked:
|
|
43648
|
+
setup: A6,
|
|
43649
|
+
isDocked: z6,
|
|
43669
43650
|
getBehaviours: cz
|
|
43670
43651
|
}), yp = function(t) {
|
|
43671
43652
|
var n = ru(_i(t, "position"), "fixed"), i = n ? C.none() : xi(t);
|
|
@@ -43691,7 +43672,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43691
43672
|
}, fx = function(t, n) {
|
|
43692
43673
|
var i = t.element;
|
|
43693
43674
|
Ci(i, n.transitionClass), qa(i, n.fadeInClass), Ci(i, n.fadeOutClass), n.onHide(t);
|
|
43694
|
-
},
|
|
43675
|
+
}, D6 = function(t, n) {
|
|
43695
43676
|
return t.y < n.bottom && t.bottom > n.y;
|
|
43696
43677
|
}, fz = function(t, n) {
|
|
43697
43678
|
return t.y >= n.y;
|
|
@@ -43738,13 +43719,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43738
43719
|
return C.none();
|
|
43739
43720
|
}
|
|
43740
43721
|
});
|
|
43741
|
-
},
|
|
43722
|
+
}, P6 = function(t, n, i) {
|
|
43742
43723
|
return dz(t, i).filter(function(s) {
|
|
43743
43724
|
return jS(i.getModes(), s, n);
|
|
43744
43725
|
}).bind(function(s) {
|
|
43745
43726
|
return hz(t, s, i);
|
|
43746
43727
|
});
|
|
43747
|
-
},
|
|
43728
|
+
}, R6 = function(t, n, i) {
|
|
43748
43729
|
var s = ja(t);
|
|
43749
43730
|
if (jS(i.getModes(), s, n))
|
|
43750
43731
|
return C.none();
|
|
@@ -43753,7 +43734,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43753
43734
|
return C.some(xp.fixed(Wo("fixed", C.some(v), _ ? C.some(h) : C.none(), C.none(), _ ? C.none() : C.some(y))));
|
|
43754
43735
|
}, qS = function(t, n, i) {
|
|
43755
43736
|
var s = t.element, c = ru(_i(s, "position"), "fixed");
|
|
43756
|
-
return c ?
|
|
43737
|
+
return c ? P6(s, n, i) : R6(s, n, i);
|
|
43757
43738
|
}, US = function(t, n) {
|
|
43758
43739
|
var i = t.element;
|
|
43759
43740
|
return dz(i, n).bind(function(s) {
|
|
@@ -43777,7 +43758,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43777
43758
|
}, pz = function(t, n, i, s, c) {
|
|
43778
43759
|
c === void 0 && (c = !1), n.contextual.each(function(v) {
|
|
43779
43760
|
v.lazyContext(t).each(function(h) {
|
|
43780
|
-
var y =
|
|
43761
|
+
var y = D6(h, s);
|
|
43781
43762
|
if (y !== i.isVisible())
|
|
43782
43763
|
if (i.setVisible(y), c && !y)
|
|
43783
43764
|
tv(t.element, [v.fadeOutClass]), v.onHide(t);
|
|
@@ -43798,7 +43779,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43798
43779
|
pz(t, n, i, s, !0), vx(t, n, i, h);
|
|
43799
43780
|
});
|
|
43800
43781
|
});
|
|
43801
|
-
},
|
|
43782
|
+
}, M6 = function(t, n, i) {
|
|
43802
43783
|
var s = t.element;
|
|
43803
43784
|
i.setDocked(!1), US(t, i).each(function(c) {
|
|
43804
43785
|
c.fold(function() {
|
|
@@ -43816,20 +43797,20 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43816
43797
|
}, WS = function(t, n, i) {
|
|
43817
43798
|
t.getSystem().isConnected() && bz(t, n, i);
|
|
43818
43799
|
}, bm = function(t, n, i) {
|
|
43819
|
-
i.isDocked() &&
|
|
43800
|
+
i.isDocked() && M6(t, n, i);
|
|
43820
43801
|
}, yz = function(t, n, i) {
|
|
43821
43802
|
return i.isDocked();
|
|
43822
|
-
},
|
|
43803
|
+
}, B6 = function(t, n, i, s) {
|
|
43823
43804
|
return i.setModes(s);
|
|
43824
43805
|
}, xz = function(t, n, i) {
|
|
43825
43806
|
return i.getModes();
|
|
43826
|
-
},
|
|
43807
|
+
}, I6 = /* @__PURE__ */ Object.freeze({
|
|
43827
43808
|
__proto__: null,
|
|
43828
43809
|
refresh: WS,
|
|
43829
43810
|
reset: bm,
|
|
43830
43811
|
isDocked: yz,
|
|
43831
43812
|
getModes: xz,
|
|
43832
|
-
setModes:
|
|
43813
|
+
setModes: B6
|
|
43833
43814
|
}), dx = function(t, n) {
|
|
43834
43815
|
return wn([
|
|
43835
43816
|
dc(Td(), function(i, s) {
|
|
@@ -43855,7 +43836,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43855
43836
|
}, zc = /* @__PURE__ */ Object.freeze({
|
|
43856
43837
|
__proto__: null,
|
|
43857
43838
|
events: dx
|
|
43858
|
-
}),
|
|
43839
|
+
}), F6 = [
|
|
43859
43840
|
su("contextual", [
|
|
43860
43841
|
dr("fadeInClass"),
|
|
43861
43842
|
dr("fadeOutClass"),
|
|
@@ -43889,20 +43870,20 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43889
43870
|
setModes: c.set,
|
|
43890
43871
|
readState: v
|
|
43891
43872
|
});
|
|
43892
|
-
},
|
|
43873
|
+
}, $6 = /* @__PURE__ */ Object.freeze({
|
|
43893
43874
|
__proto__: null,
|
|
43894
43875
|
init: wv
|
|
43895
43876
|
}), hu = Ua({
|
|
43896
|
-
fields:
|
|
43877
|
+
fields: F6,
|
|
43897
43878
|
name: "docking",
|
|
43898
43879
|
active: zc,
|
|
43899
|
-
apis:
|
|
43900
|
-
state:
|
|
43880
|
+
apis: I6,
|
|
43881
|
+
state: $6
|
|
43901
43882
|
}), mx = se(We("toolbar-height-change")), ql = {
|
|
43902
43883
|
fadeInClass: "tox-editor-dock-fadein",
|
|
43903
43884
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
43904
43885
|
transitionClass: "tox-editor-dock-transition"
|
|
43905
|
-
}, 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) {
|
|
43906
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;
|
|
43907
43888
|
if (U && _ < L)
|
|
43908
43889
|
Wc(c.left, _ - P, i);
|
|
@@ -43935,7 +43916,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43935
43916
|
}, _z = function(t, n) {
|
|
43936
43917
|
var i = yt.fromDom(t.getContainer());
|
|
43937
43918
|
n ? (Ci(i, ld), qa(i, Du)) : (Ci(i, Du), qa(i, ld));
|
|
43938
|
-
},
|
|
43919
|
+
}, L6 = function(t, n) {
|
|
43939
43920
|
var i = so(n);
|
|
43940
43921
|
gf(i).filter(function(s) {
|
|
43941
43922
|
return !Nn(n, s);
|
|
@@ -43965,7 +43946,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
43965
43946
|
i().each(function(c) {
|
|
43966
43947
|
hu.refresh(c);
|
|
43967
43948
|
var v = c.element;
|
|
43968
|
-
n1(v) &&
|
|
43949
|
+
n1(v) && N6(s, v);
|
|
43969
43950
|
});
|
|
43970
43951
|
}), t.on("PostRender", function() {
|
|
43971
43952
|
_z(t, !1);
|
|
@@ -44005,7 +43986,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44005
43986
|
ql.fadeInClass
|
|
44006
43987
|
]);
|
|
44007
43988
|
}), i.get().each(function(_) {
|
|
44008
|
-
|
|
43989
|
+
L6(y.element, _), i.clear();
|
|
44009
43990
|
});
|
|
44010
43991
|
},
|
|
44011
43992
|
onHide: function(y) {
|
|
@@ -44028,12 +44009,12 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44028
44009
|
onUndocked: v
|
|
44029
44010
|
})
|
|
44030
44011
|
], h, !0);
|
|
44031
|
-
},
|
|
44012
|
+
}, H6 = /* @__PURE__ */ Object.freeze({
|
|
44032
44013
|
__proto__: null,
|
|
44033
44014
|
setup: wz,
|
|
44034
44015
|
isDocked: _p,
|
|
44035
44016
|
getBehaviours: KS
|
|
44036
|
-
}),
|
|
44017
|
+
}), V6 = function(t) {
|
|
44037
44018
|
var n = t.editor, i = t.sticky ? KS : cz;
|
|
44038
44019
|
return {
|
|
44039
44020
|
uid: t.uid,
|
|
@@ -44041,7 +44022,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44041
44022
|
components: t.components,
|
|
44042
44023
|
behaviours: ft(i(n, t.sharedBackstage))
|
|
44043
44024
|
};
|
|
44044
|
-
},
|
|
44025
|
+
}, j6 = Ut([
|
|
44045
44026
|
dr("type"),
|
|
44046
44027
|
Bi("items", Pp([
|
|
44047
44028
|
Rp([
|
|
@@ -44050,8 +44031,8 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44050
44031
|
]),
|
|
44051
44032
|
ca
|
|
44052
44033
|
]))
|
|
44053
|
-
].concat(v1)),
|
|
44054
|
-
return Ta("GroupToolbarButton",
|
|
44034
|
+
].concat(v1)), q6 = function(t) {
|
|
44035
|
+
return Ta("GroupToolbarButton", j6, t);
|
|
44055
44036
|
}, wp = [
|
|
44056
44037
|
qn("text"),
|
|
44057
44038
|
qn("tooltip"),
|
|
@@ -44060,9 +44041,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44060
44041
|
Zn("onSetup", function() {
|
|
44061
44042
|
return it;
|
|
44062
44043
|
})
|
|
44063
|
-
],
|
|
44064
|
-
return Ta("menubutton",
|
|
44065
|
-
},
|
|
44044
|
+
], U6 = Ut(Xe([dr("type")], wp, !0)), Cz = function(t) {
|
|
44045
|
+
return Ta("menubutton", U6, t);
|
|
44046
|
+
}, W6 = Ut([
|
|
44066
44047
|
dr("type"),
|
|
44067
44048
|
qn("tooltip"),
|
|
44068
44049
|
qn("icon"),
|
|
@@ -44080,9 +44061,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44080
44061
|
ve("columns", 1),
|
|
44081
44062
|
wi("onAction"),
|
|
44082
44063
|
wi("onItemAction")
|
|
44083
|
-
]),
|
|
44084
|
-
return Ta("SplitButton",
|
|
44085
|
-
},
|
|
44064
|
+
]), G6 = function(t) {
|
|
44065
|
+
return Ta("SplitButton", W6, t);
|
|
44066
|
+
}, K6 = function(t, n) {
|
|
44086
44067
|
var i = function(c, v) {
|
|
44087
44068
|
var h = je(v, function(y) {
|
|
44088
44069
|
var _ = {
|
|
@@ -44147,7 +44128,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44147
44128
|
domModification: { attributes: { role: "menubar" } }
|
|
44148
44129
|
};
|
|
44149
44130
|
}, Cp = Nl({
|
|
44150
|
-
factory:
|
|
44131
|
+
factory: K6,
|
|
44151
44132
|
name: "silver.Menubar",
|
|
44152
44133
|
configFields: [
|
|
44153
44134
|
He("dom"),
|
|
@@ -44186,7 +44167,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44186
44167
|
qa(t.element, n.closedClass), Ci(t.element, n.openClass), Hn(t.element, cd(n));
|
|
44187
44168
|
}, _m = function(t, n, i, s) {
|
|
44188
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);
|
|
44189
|
-
},
|
|
44170
|
+
}, Y6 = function(t, n, i, s) {
|
|
44190
44171
|
var c = s.getOrThunk(function() {
|
|
44191
44172
|
return xm(n, t.element);
|
|
44192
44173
|
});
|
|
@@ -44194,7 +44175,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44194
44175
|
var v = e0(t, n);
|
|
44195
44176
|
qa(v, n.growingClass), Ci(v, n.shrinkingClass), kp(t, n), n.onStartShrink(t);
|
|
44196
44177
|
}, kz = function(t, n, i) {
|
|
44197
|
-
var s = xm(n, t.element), c = s === "0px" ? _m :
|
|
44178
|
+
var s = xm(n, t.element), c = s === "0px" ? _m : Y6;
|
|
44198
44179
|
c(t, n, i, C.some(s));
|
|
44199
44180
|
}, yx = function(t, n, i) {
|
|
44200
44181
|
var s = e0(t, n), c = Uo(s, n.shrinkingClass), v = xm(n, t.element);
|
|
@@ -44205,7 +44186,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44205
44186
|
kp(t, n);
|
|
44206
44187
|
}, k = c ? y : _;
|
|
44207
44188
|
k(), qa(s, n.shrinkingClass), Ci(s, n.growingClass), t0(t, n), pr(t.element, cd(n), h), i.setExpanded(), n.onStartGrow(t);
|
|
44208
|
-
},
|
|
44189
|
+
}, X6 = function(t, n, i) {
|
|
44209
44190
|
if (i.isExpanded()) {
|
|
44210
44191
|
Hn(t.element, cd(n));
|
|
44211
44192
|
var s = xm(n, t.element);
|
|
@@ -44215,9 +44196,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44215
44196
|
i.isExpanded() || yx(t, n, i);
|
|
44216
44197
|
}, Sz = function(t, n, i) {
|
|
44217
44198
|
i.isExpanded() && kz(t, n, i);
|
|
44218
|
-
},
|
|
44199
|
+
}, J6 = function(t, n, i) {
|
|
44219
44200
|
i.isExpanded() && _m(t, n, i);
|
|
44220
|
-
},
|
|
44201
|
+
}, Z6 = function(t, n, i) {
|
|
44221
44202
|
return i.isExpanded();
|
|
44222
44203
|
}, r0 = function(t, n, i) {
|
|
44223
44204
|
return i.isCollapsed();
|
|
@@ -44227,25 +44208,25 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44227
44208
|
}, Tz = function(t, n, i) {
|
|
44228
44209
|
var s = e0(t, n);
|
|
44229
44210
|
return Uo(s, n.shrinkingClass) === !0;
|
|
44230
|
-
},
|
|
44211
|
+
}, Q6 = function(t, n, i) {
|
|
44231
44212
|
return _x(t, n) || Tz(t, n);
|
|
44232
44213
|
}, Oz = function(t, n, i) {
|
|
44233
44214
|
var s = i.isExpanded() ? kz : yx;
|
|
44234
44215
|
s(t, n, i);
|
|
44235
|
-
},
|
|
44216
|
+
}, e$ = /* @__PURE__ */ Object.freeze({
|
|
44236
44217
|
__proto__: null,
|
|
44237
|
-
refresh:
|
|
44218
|
+
refresh: X6,
|
|
44238
44219
|
grow: xx,
|
|
44239
44220
|
shrink: Sz,
|
|
44240
|
-
immediateShrink:
|
|
44241
|
-
hasGrown:
|
|
44221
|
+
immediateShrink: J6,
|
|
44222
|
+
hasGrown: Z6,
|
|
44242
44223
|
hasShrunk: r0,
|
|
44243
44224
|
isGrowing: _x,
|
|
44244
44225
|
isShrinking: Tz,
|
|
44245
|
-
isTransitioning:
|
|
44226
|
+
isTransitioning: Q6,
|
|
44246
44227
|
toggleGrow: Oz,
|
|
44247
44228
|
disableTransitions: bx
|
|
44248
|
-
}),
|
|
44229
|
+
}), t$ = function(t, n, i) {
|
|
44249
44230
|
var s = n.expanded;
|
|
44250
44231
|
return Ys(s ? {
|
|
44251
44232
|
classes: [n.openClass],
|
|
@@ -44265,7 +44246,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44265
44246
|
})]);
|
|
44266
44247
|
}, r = /* @__PURE__ */ Object.freeze({
|
|
44267
44248
|
__proto__: null,
|
|
44268
|
-
exhibit:
|
|
44249
|
+
exhibit: t$,
|
|
44269
44250
|
events: e
|
|
44270
44251
|
}), a = [
|
|
44271
44252
|
He("closedClass"),
|
|
@@ -44314,7 +44295,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
44314
44295
|
fields: a,
|
|
44315
44296
|
name: "sliding",
|
|
44316
44297
|
active: r,
|
|
44317
|
-
apis:
|
|
44298
|
+
apis: e$,
|
|
44318
44299
|
state: u
|
|
44319
44300
|
}), m = "container", p = [to("slotBehaviours", [])], b = function(t) {
|
|
44320
44301
|
return "<alloy.field." + t + ">";
|
|
@@ -45019,7 +45000,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45019
45000
|
is.setGroups(c, YS(s));
|
|
45020
45001
|
});
|
|
45021
45002
|
});
|
|
45022
|
-
},
|
|
45003
|
+
}, r$ = function(t, n, i, s) {
|
|
45023
45004
|
var c = fn(is.sketch({
|
|
45024
45005
|
fetch: function() {
|
|
45025
45006
|
return zo.nu(function(v) {
|
|
@@ -45102,7 +45083,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45102
45083
|
name: "SplitFloatingToolbar",
|
|
45103
45084
|
configFields: Ru(),
|
|
45104
45085
|
partFields: Hi(),
|
|
45105
|
-
factory:
|
|
45086
|
+
factory: r$,
|
|
45106
45087
|
apis: {
|
|
45107
45088
|
setGroups: function(t, n, i) {
|
|
45108
45089
|
t.setGroups(n, i);
|
|
@@ -45123,7 +45104,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45123
45104
|
return t.getOverflow(n);
|
|
45124
45105
|
}
|
|
45125
45106
|
}
|
|
45126
|
-
}),
|
|
45107
|
+
}), n$ = se([
|
|
45127
45108
|
Gv([
|
|
45128
45109
|
"closedClass",
|
|
45129
45110
|
"openClass",
|
|
@@ -45133,7 +45114,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45133
45114
|
]),
|
|
45134
45115
|
Fr("onOpened"),
|
|
45135
45116
|
Fr("onClosed")
|
|
45136
|
-
].concat(eu())),
|
|
45117
|
+
].concat(eu())), a$ = se([
|
|
45137
45118
|
Yo({
|
|
45138
45119
|
factory: Ef,
|
|
45139
45120
|
schema: Ac(),
|
|
@@ -45187,7 +45168,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45187
45168
|
}
|
|
45188
45169
|
}),
|
|
45189
45170
|
$l({ name: "overflow-group" })
|
|
45190
|
-
]),
|
|
45171
|
+
]), i$ = function(t, n) {
|
|
45191
45172
|
return Qn(t, n, "overflow").map(l.hasGrown).getOr(!1);
|
|
45192
45173
|
}, Ez = function(t, n) {
|
|
45193
45174
|
Qn(t, n, "overflow-button").bind(function() {
|
|
@@ -45244,15 +45225,15 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45244
45225
|
return Ez(h, t);
|
|
45245
45226
|
},
|
|
45246
45227
|
isOpen: function(h) {
|
|
45247
|
-
return
|
|
45228
|
+
return i$(h, t);
|
|
45248
45229
|
}
|
|
45249
45230
|
},
|
|
45250
45231
|
domModification: { attributes: { role: "group" } }
|
|
45251
45232
|
};
|
|
45252
45233
|
}, fe = Xo({
|
|
45253
45234
|
name: "SplitSlidingToolbar",
|
|
45254
|
-
configFields:
|
|
45255
|
-
partFields:
|
|
45235
|
+
configFields: n$(),
|
|
45236
|
+
partFields: a$(),
|
|
45256
45237
|
factory: Az,
|
|
45257
45238
|
apis: {
|
|
45258
45239
|
setGroups: function(t, n, i) {
|
|
@@ -45548,7 +45529,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45548
45529
|
He("getSink")
|
|
45549
45530
|
]
|
|
45550
45531
|
}), k8 = Ch.optional({
|
|
45551
|
-
factory: { sketch:
|
|
45532
|
+
factory: { sketch: V6 },
|
|
45552
45533
|
name: "header",
|
|
45553
45534
|
schema: [He("dom")]
|
|
45554
45535
|
}), S8 = Ch.optional({
|
|
@@ -45677,10 +45658,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45677
45658
|
});
|
|
45678
45659
|
}
|
|
45679
45660
|
};
|
|
45680
|
-
},
|
|
45661
|
+
}, o$ = function(t) {
|
|
45681
45662
|
return typeof t == "string" ? t.split(" ") : t;
|
|
45682
45663
|
}, rN = function(t, n) {
|
|
45683
|
-
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) {
|
|
45684
45665
|
var _ = mn(tN, y);
|
|
45685
45666
|
return s ? _ || Yt(n.menus, y).exists(function(k) {
|
|
45686
45667
|
return mn(k, "items");
|
|
@@ -45689,7 +45670,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45689
45670
|
var _ = i[y];
|
|
45690
45671
|
return A8({
|
|
45691
45672
|
title: _.title,
|
|
45692
|
-
items:
|
|
45673
|
+
items: o$(_.items)
|
|
45693
45674
|
}, n, t);
|
|
45694
45675
|
});
|
|
45695
45676
|
return Vt(h, function(y) {
|
|
@@ -45867,13 +45848,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45867
45848
|
})(kx || (kx = {}));
|
|
45868
45849
|
var $8 = function(t, n) {
|
|
45869
45850
|
return n === kx.SemiColon ? t.replace(/;$/, "").split(";") : t.split(" ");
|
|
45870
|
-
},
|
|
45851
|
+
}, u$ = function(t, n, i, s) {
|
|
45871
45852
|
var c = t.getParam(n, i, "string"), v = I8($8(c, s));
|
|
45872
45853
|
return {
|
|
45873
45854
|
type: "basic",
|
|
45874
45855
|
data: v
|
|
45875
45856
|
};
|
|
45876
|
-
},
|
|
45857
|
+
}, s$ = [
|
|
45877
45858
|
{
|
|
45878
45859
|
title: "Left",
|
|
45879
45860
|
icon: "align-left",
|
|
@@ -45900,7 +45881,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45900
45881
|
}
|
|
45901
45882
|
], uN = function(t) {
|
|
45902
45883
|
var n = function() {
|
|
45903
|
-
return Hr(
|
|
45884
|
+
return Hr(s$, function(y) {
|
|
45904
45885
|
return t.formatter.match(y.format);
|
|
45905
45886
|
});
|
|
45906
45887
|
}, i = function(y) {
|
|
@@ -45914,9 +45895,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
45914
45895
|
return E.title.toLowerCase();
|
|
45915
45896
|
});
|
|
45916
45897
|
qt(y, hS, { icon: "align-" + k });
|
|
45917
|
-
}, v = F8(
|
|
45898
|
+
}, v = F8(s$), h = function(y) {
|
|
45918
45899
|
return function() {
|
|
45919
|
-
return Hr(
|
|
45900
|
+
return Hr(s$, function(_) {
|
|
45920
45901
|
return _.format === y.format;
|
|
45921
45902
|
}).each(function(_) {
|
|
45922
45903
|
return t.execCommand(_.command);
|
|
@@ -46011,7 +45992,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46011
45992
|
return U.title;
|
|
46012
45993
|
});
|
|
46013
45994
|
qt(k, gp, { text: L });
|
|
46014
|
-
}, _ =
|
|
45995
|
+
}, _ = u$(t, "font_formats", H8, kx.SemiColon);
|
|
46015
45996
|
return {
|
|
46016
45997
|
tooltip: "Fonts",
|
|
46017
45998
|
text: C.some(n),
|
|
@@ -46093,7 +46074,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46093
46074
|
return L.title;
|
|
46094
46075
|
});
|
|
46095
46076
|
qt(_, gp, { text: F });
|
|
46096
|
-
}, y =
|
|
46077
|
+
}, y = u$(t, "fontsize_formats", W8, kx.Space);
|
|
46097
46078
|
return {
|
|
46098
46079
|
tooltip: "Font sizes",
|
|
46099
46080
|
text: C.some("12pt"),
|
|
@@ -46151,7 +46132,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46151
46132
|
return k.title;
|
|
46152
46133
|
});
|
|
46153
46134
|
qt(h, gp, { text: _ });
|
|
46154
|
-
}, v =
|
|
46135
|
+
}, v = u$(t, "block_formats", e7, kx.SemiColon);
|
|
46155
46136
|
return {
|
|
46156
46137
|
tooltip: "Blocks",
|
|
46157
46138
|
text: C.some(n),
|
|
@@ -46493,7 +46474,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46493
46474
|
title: n.translate(i)
|
|
46494
46475
|
};
|
|
46495
46476
|
}).getOr({});
|
|
46496
|
-
}, hN = We("focus-button"),
|
|
46477
|
+
}, hN = We("focus-button"), l$ = function(t, n, i, s, c, v) {
|
|
46497
46478
|
var h;
|
|
46498
46479
|
return {
|
|
46499
46480
|
dom: {
|
|
@@ -46551,7 +46532,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46551
46532
|
},
|
|
46552
46533
|
markers: { toggledClass: "tox-tbtn--enabled" },
|
|
46553
46534
|
parts: {
|
|
46554
|
-
button:
|
|
46535
|
+
button: l$(t.icon, t.text, t.tooltip, C.none(), C.none(), c.providers),
|
|
46555
46536
|
toolbar: {
|
|
46556
46537
|
dom: {
|
|
46557
46538
|
tag: "div",
|
|
@@ -46562,7 +46543,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46562
46543
|
}
|
|
46563
46544
|
});
|
|
46564
46545
|
}, gN = function(t, n, i) {
|
|
46565
|
-
var s = Zt(it), c =
|
|
46546
|
+
var s = Zt(it), c = l$(t.icon, t.text, t.tooltip, C.none(), C.none(), i);
|
|
46566
46547
|
return mu.sketch({
|
|
46567
46548
|
dom: c.dom,
|
|
46568
46549
|
components: c.components,
|
|
@@ -46689,7 +46670,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46689
46670
|
fetch: w7(c, t, n.providers),
|
|
46690
46671
|
parts: { menu: h1(!1, t.columns, t.presets) },
|
|
46691
46672
|
components: [
|
|
46692
|
-
Pz.parts.button(
|
|
46673
|
+
Pz.parts.button(l$(t.icon, t.text, C.none(), C.some(s), C.some([un.config({
|
|
46693
46674
|
toggleClass: "tox-tbtn--enabled",
|
|
46694
46675
|
toggleOnExecute: !1
|
|
46695
46676
|
})]), n.providers)),
|
|
@@ -46771,10 +46752,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46771
46752
|
menubutton: QS(Cz, function(t, n) {
|
|
46772
46753
|
return pS(t, "tox-tbtn", n.backstage, C.none());
|
|
46773
46754
|
}),
|
|
46774
|
-
splitbutton: QS(
|
|
46755
|
+
splitbutton: QS(G6, function(t, n) {
|
|
46775
46756
|
return C7(t, n.backstage.shared);
|
|
46776
46757
|
}),
|
|
46777
|
-
grouptoolbarbutton: QS(
|
|
46758
|
+
grouptoolbarbutton: QS(q6, function(t, n, i) {
|
|
46778
46759
|
var s, c = i.ui.registry.getAll().buttons, v = function(y) {
|
|
46779
46760
|
return Rz(i, {
|
|
46780
46761
|
buttons: c,
|
|
@@ -46952,10 +46933,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46952
46933
|
}, M7 = /* @__PURE__ */ Object.freeze({
|
|
46953
46934
|
__proto__: null,
|
|
46954
46935
|
render: R7
|
|
46955
|
-
}),
|
|
46936
|
+
}), c$ = function(t) {
|
|
46956
46937
|
var n = /^[0-9\.]+(|px)$/i;
|
|
46957
46938
|
return n.test("" + t) ? C.some(parseInt("" + t, 10)) : C.none();
|
|
46958
|
-
},
|
|
46939
|
+
}, f$ = function(t) {
|
|
46959
46940
|
return On(t) ? t + "px" : t;
|
|
46960
46941
|
}, Mz = function(t, n, i) {
|
|
46961
46942
|
var s = n.filter(function(v) {
|
|
@@ -46966,7 +46947,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46966
46947
|
return s.or(c).getOr(t);
|
|
46967
46948
|
}, B7 = function(t) {
|
|
46968
46949
|
var n = KC(t), i = FO(t), s = $O(t);
|
|
46969
|
-
return
|
|
46950
|
+
return c$(n).map(function(c) {
|
|
46970
46951
|
return Mz(c, i, s);
|
|
46971
46952
|
});
|
|
46972
46953
|
}, I7 = function(t) {
|
|
@@ -46974,7 +46955,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
46974
46955
|
return n.getOr(KC(t));
|
|
46975
46956
|
}, wN = function(t) {
|
|
46976
46957
|
var n = IO(t), i = YC(t), s = XC(t);
|
|
46977
|
-
return
|
|
46958
|
+
return c$(n).map(function(c) {
|
|
46978
46959
|
return Mz(c, i, s);
|
|
46979
46960
|
});
|
|
46980
46961
|
}, F7 = function(t) {
|
|
@@ -47011,7 +46992,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47011
46992
|
Er(Ye.element, Qi, Dt);
|
|
47012
46993
|
}, Ue = function() {
|
|
47013
46994
|
var et = E.getOrThunk(function() {
|
|
47014
|
-
var Ye =
|
|
46995
|
+
var Ye = c$(xa(Ia(), "margin-left")).getOr(0);
|
|
47015
46996
|
return lo(Ia()) - Lo(n).left + Ye;
|
|
47016
46997
|
});
|
|
47017
46998
|
pr(c.get().element, "max-width", et + "px");
|
|
@@ -47231,7 +47212,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47231
47212
|
}).getOr(n);
|
|
47232
47213
|
} else
|
|
47233
47214
|
return n;
|
|
47234
|
-
},
|
|
47215
|
+
}, v$ = function(t) {
|
|
47235
47216
|
var n = t.selection.getRng(), i = X7(n);
|
|
47236
47217
|
if (t.inline) {
|
|
47237
47218
|
var s = co();
|
|
@@ -47242,7 +47223,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47242
47223
|
}
|
|
47243
47224
|
}, J7 = function(t, n) {
|
|
47244
47225
|
return n.filter(ma).map(Sl).getOrThunk(function() {
|
|
47245
|
-
return
|
|
47226
|
+
return v$(t);
|
|
47246
47227
|
});
|
|
47247
47228
|
}, Z7 = function(t, n, i) {
|
|
47248
47229
|
var s = Math.max(t.x + i, n.x), c = Math.min(t.right - i, n.right);
|
|
@@ -47303,7 +47284,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47303
47284
|
}, DN = function(t) {
|
|
47304
47285
|
return t === "node";
|
|
47305
47286
|
}, rH = function(t, n, i, s, c) {
|
|
47306
|
-
var v =
|
|
47287
|
+
var v = v$(t), h = s.lastElement().exists(function(k) {
|
|
47307
47288
|
return Nn(i, k);
|
|
47308
47289
|
});
|
|
47309
47290
|
if (eH(t, i))
|
|
@@ -47387,7 +47368,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47387
47368
|
layouts: nH(t, i, s, n),
|
|
47388
47369
|
overrides: zN
|
|
47389
47370
|
};
|
|
47390
|
-
},
|
|
47371
|
+
}, d$ = function(t, n) {
|
|
47391
47372
|
var i = Vt(n, function(h) {
|
|
47392
47373
|
return h.predicate(t.dom);
|
|
47393
47374
|
}), s = Ra(i, function(h) {
|
|
@@ -47441,13 +47422,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47441
47422
|
});
|
|
47442
47423
|
});
|
|
47443
47424
|
}, uH = function(t, n, i) {
|
|
47444
|
-
var s =
|
|
47425
|
+
var s = d$(t, n);
|
|
47445
47426
|
if (s.contextForms.length > 0)
|
|
47446
47427
|
return C.some({
|
|
47447
47428
|
elem: t,
|
|
47448
47429
|
toolbars: [s.contextForms[0]]
|
|
47449
47430
|
});
|
|
47450
|
-
var c =
|
|
47431
|
+
var c = d$(t, i);
|
|
47451
47432
|
if (c.contextForms.length > 0)
|
|
47452
47433
|
return C.some({
|
|
47453
47434
|
elem: t,
|
|
@@ -47464,7 +47445,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47464
47445
|
}, sH = function(t, n, i) {
|
|
47465
47446
|
return t(n) ? C.none() : Rm(n, function(s) {
|
|
47466
47447
|
if (Da(s)) {
|
|
47467
|
-
var c =
|
|
47448
|
+
var c = d$(s, i.inNodeScope), v = c.contextToolbars, h = c.contextForms, y = h.length > 0 ? h : oH(v);
|
|
47468
47449
|
return y.length > 0 ? C.some({
|
|
47469
47450
|
elem: s,
|
|
47470
47451
|
toolbars: y
|
|
@@ -47507,7 +47488,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47507
47488
|
lookupTable: h,
|
|
47508
47489
|
formNavigators: v
|
|
47509
47490
|
};
|
|
47510
|
-
}, 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) {
|
|
47511
47492
|
var n = Zt([]);
|
|
47512
47493
|
return za.sketch({
|
|
47513
47494
|
dom: {
|
|
@@ -47518,18 +47499,18 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47518
47499
|
onShow: function(i) {
|
|
47519
47500
|
n.set([]), za.getContent(i).each(function(s) {
|
|
47520
47501
|
Hn(s.element, "visibility");
|
|
47521
|
-
}), qa(i.element,
|
|
47502
|
+
}), qa(i.element, h$), Hn(i.element, "width");
|
|
47522
47503
|
},
|
|
47523
47504
|
inlineBehaviours: ft([
|
|
47524
47505
|
Dr("context-toolbar-events", [
|
|
47525
47506
|
dc(Td(), function(i, s) {
|
|
47526
|
-
s.event.raw.propertyName === "width" && (qa(i.element,
|
|
47507
|
+
s.event.raw.propertyName === "width" && (qa(i.element, h$), Hn(i.element, "width"));
|
|
47527
47508
|
}),
|
|
47528
|
-
qe(
|
|
47509
|
+
qe(m$, function(i, s) {
|
|
47529
47510
|
var c = i.element;
|
|
47530
47511
|
Hn(c, "width");
|
|
47531
47512
|
var v = lo(c);
|
|
47532
|
-
za.setContent(i, s.event.contents), Ci(c,
|
|
47513
|
+
za.setContent(i, s.event.contents), Ci(c, h$);
|
|
47533
47514
|
var h = lo(c);
|
|
47534
47515
|
pr(c, "width", v + "px"), za.getContent(i).each(function(y) {
|
|
47535
47516
|
s.event.focus.bind(function(_) {
|
|
@@ -47547,14 +47528,14 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47547
47528
|
bar: c,
|
|
47548
47529
|
focus: gf(ui(i.element))
|
|
47549
47530
|
}]));
|
|
47550
|
-
}), qt(i,
|
|
47531
|
+
}), qt(i, m$, {
|
|
47551
47532
|
contents: s.event.forwardContents,
|
|
47552
47533
|
focus: C.none()
|
|
47553
47534
|
});
|
|
47554
47535
|
}),
|
|
47555
47536
|
qe(RN, function(i, s) {
|
|
47556
47537
|
Fu(n.get()).each(function(c) {
|
|
47557
|
-
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$, {
|
|
47558
47539
|
contents: ts(c.bar),
|
|
47559
47540
|
focus: c.focus
|
|
47560
47541
|
});
|
|
@@ -47576,7 +47557,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47576
47557
|
return br.value(t.sink);
|
|
47577
47558
|
}
|
|
47578
47559
|
});
|
|
47579
|
-
},
|
|
47560
|
+
}, g$ = "tox-pop--transition", vH = function(t, n, i, s) {
|
|
47580
47561
|
var c = s.backstage, v = c.shared, h = Jt().deviceType.isTouch, y = Aa(), _ = Aa(), k = Aa(), E = $i(fH({
|
|
47581
47562
|
sink: i,
|
|
47582
47563
|
onEscape: function() {
|
|
@@ -47591,7 +47572,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47591
47572
|
return ru(nu(lt, y.get(), Nn), !0);
|
|
47592
47573
|
}, U = function() {
|
|
47593
47574
|
if (F()) {
|
|
47594
|
-
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);
|
|
47595
47576
|
return lt.height <= 0 || !ON(St, lt);
|
|
47596
47577
|
} else
|
|
47597
47578
|
return !0;
|
|
@@ -47664,10 +47645,10 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47664
47645
|
var et = me(lt), Ye = lt[0].position, Dt = ke(Ye, St);
|
|
47665
47646
|
k.set(Ye), _.set(1);
|
|
47666
47647
|
var Kt = E.element;
|
|
47667
|
-
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), {
|
|
47668
47649
|
anchor: Dt,
|
|
47669
47650
|
transition: {
|
|
47670
|
-
classes: [
|
|
47651
|
+
classes: [g$],
|
|
47671
47652
|
mode: "placement"
|
|
47672
47653
|
}
|
|
47673
47654
|
}, function() {
|
|
@@ -47676,7 +47657,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47676
47657
|
}
|
|
47677
47658
|
}, Ne = CC(function() {
|
|
47678
47659
|
if (!(!t.hasFocus() || t.removed))
|
|
47679
|
-
if (Uo(E.element,
|
|
47660
|
+
if (Uo(E.element, g$))
|
|
47680
47661
|
Ne.throttle();
|
|
47681
47662
|
else {
|
|
47682
47663
|
var lt = he();
|
|
@@ -47930,7 +47911,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47930
47911
|
});
|
|
47931
47912
|
}, SH = function(t) {
|
|
47932
47913
|
kH(t);
|
|
47933
|
-
},
|
|
47914
|
+
}, p$ = function(t, n) {
|
|
47934
47915
|
return function() {
|
|
47935
47916
|
t.execCommand("mceToggleFormat", !1, n);
|
|
47936
47917
|
};
|
|
@@ -47971,7 +47952,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47971
47952
|
tooltip: s.text,
|
|
47972
47953
|
icon: s.icon,
|
|
47973
47954
|
onSetup: zz(t, s.name),
|
|
47974
|
-
onAction:
|
|
47955
|
+
onAction: p$(t, s.name)
|
|
47975
47956
|
});
|
|
47976
47957
|
});
|
|
47977
47958
|
for (var n = 1; n <= 6; n++) {
|
|
@@ -47980,7 +47961,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
47980
47961
|
text: i.toUpperCase(),
|
|
47981
47962
|
tooltip: "Heading " + n,
|
|
47982
47963
|
onSetup: zz(t, i),
|
|
47983
|
-
onAction:
|
|
47964
|
+
onAction: p$(t, i)
|
|
47984
47965
|
});
|
|
47985
47966
|
}
|
|
47986
47967
|
}, OH = function(t) {
|
|
@@ -48152,7 +48133,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48152
48133
|
}), t.ui.registry.addMenuItem("codeformat", {
|
|
48153
48134
|
text: "Code",
|
|
48154
48135
|
icon: "sourcecode",
|
|
48155
|
-
onAction:
|
|
48136
|
+
onAction: p$(t, "code")
|
|
48156
48137
|
});
|
|
48157
48138
|
}, DH = function(t) {
|
|
48158
48139
|
AH(t), zH(t);
|
|
@@ -48392,7 +48373,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48392
48373
|
return t.getParam("contextmenu_avoid_overlap", "", "string");
|
|
48393
48374
|
}, LN = function(t) {
|
|
48394
48375
|
return Z(t) ? t === "|" : t.type === "separator";
|
|
48395
|
-
},
|
|
48376
|
+
}, b$ = { type: "separator" }, HN = function(t) {
|
|
48396
48377
|
var n = function(i) {
|
|
48397
48378
|
return {
|
|
48398
48379
|
text: i.text,
|
|
@@ -48405,7 +48386,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48405
48386
|
return t;
|
|
48406
48387
|
switch (t.type) {
|
|
48407
48388
|
case "separator":
|
|
48408
|
-
return
|
|
48389
|
+
return b$;
|
|
48409
48390
|
case "submenu":
|
|
48410
48391
|
return re(re({ type: "nestedmenuitem" }, n(t)), {
|
|
48411
48392
|
getSubmenuItems: function() {
|
|
@@ -48424,9 +48405,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48424
48405
|
}), s = i.fold(function() {
|
|
48425
48406
|
return [];
|
|
48426
48407
|
}, function(c) {
|
|
48427
|
-
return [
|
|
48408
|
+
return [b$];
|
|
48428
48409
|
});
|
|
48429
|
-
return t.concat(s).concat(n).concat([
|
|
48410
|
+
return t.concat(s).concat(n).concat([b$]);
|
|
48430
48411
|
}, iV = function(t, n, i) {
|
|
48431
48412
|
var s = Cr(n, function(c, v) {
|
|
48432
48413
|
return Yt(t, v.toLowerCase()).map(function(h) {
|
|
@@ -48488,7 +48469,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48488
48469
|
var _ = "ResizeEditor ScrollContent ScrollWindow longpresscancel" + (c() ? "" : " ResizeWindow");
|
|
48489
48470
|
t.on(_, h), t.on("longpress contextmenu", y);
|
|
48490
48471
|
});
|
|
48491
|
-
},
|
|
48472
|
+
}, y$ = hs.generate([
|
|
48492
48473
|
{
|
|
48493
48474
|
offset: [
|
|
48494
48475
|
"x",
|
|
@@ -48571,7 +48552,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48571
48552
|
}, function(s, c) {
|
|
48572
48553
|
return i0(s + n, c + i);
|
|
48573
48554
|
});
|
|
48574
|
-
},
|
|
48555
|
+
}, x$ = function(t, n, i, s) {
|
|
48575
48556
|
var c = function(v, h) {
|
|
48576
48557
|
return function(y, _) {
|
|
48577
48558
|
var k = v(n, i, s);
|
|
@@ -48579,7 +48560,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48579
48560
|
};
|
|
48580
48561
|
};
|
|
48581
48562
|
return t.fold(c(UN, Lz), c(Tx, Sp), c(Nz, i0));
|
|
48582
|
-
}, Lz =
|
|
48563
|
+
}, Lz = y$.offset, Sp = y$.absolute, i0 = y$.fixed, GN = function(t, n) {
|
|
48583
48564
|
var i = sa(t, n);
|
|
48584
48565
|
return cr(i) ? NaN : parseInt(i, 10);
|
|
48585
48566
|
}, vV = function(t, n) {
|
|
@@ -48616,7 +48597,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48616
48597
|
return Ma(t, function(c) {
|
|
48617
48598
|
var v = c.sensor, h = lV(n, v, c.range.left, c.range.top, i, s);
|
|
48618
48599
|
return h ? C.some({
|
|
48619
|
-
output:
|
|
48600
|
+
output: x$(c.output, n, i, s),
|
|
48620
48601
|
extra: c.extra
|
|
48621
48602
|
}) : C.none();
|
|
48622
48603
|
});
|
|
@@ -48643,7 +48624,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48643
48624
|
});
|
|
48644
48625
|
return y.snap.map(function(_) {
|
|
48645
48626
|
return {
|
|
48646
|
-
output:
|
|
48627
|
+
output: x$(_.output, i, s, c),
|
|
48647
48628
|
extra: _.extra
|
|
48648
48629
|
};
|
|
48649
48630
|
});
|
|
@@ -48653,7 +48634,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48653
48634
|
return KN(v, i, s, c);
|
|
48654
48635
|
}, xV = function(t, n, i) {
|
|
48655
48636
|
return {
|
|
48656
|
-
coord:
|
|
48637
|
+
coord: x$(t.output, t.output, n, i),
|
|
48657
48638
|
extra: t.extra
|
|
48658
48639
|
};
|
|
48659
48640
|
}, _V = function(t, n, i, s) {
|
|
@@ -48665,18 +48646,18 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48665
48646
|
}, wV = /* @__PURE__ */ Object.freeze({
|
|
48666
48647
|
__proto__: null,
|
|
48667
48648
|
snapTo: _V
|
|
48668
|
-
}),
|
|
48649
|
+
}), _$ = "data-initial-z-index", CV = function(t) {
|
|
48669
48650
|
yi(t.element).filter(Da).each(function(n) {
|
|
48670
|
-
Fa(n,
|
|
48651
|
+
Fa(n, _$).fold(function() {
|
|
48671
48652
|
return Hn(n, "z-index");
|
|
48672
48653
|
}, function(i) {
|
|
48673
48654
|
return pr(n, "z-index", i);
|
|
48674
|
-
}), li(n,
|
|
48655
|
+
}), li(n, _$);
|
|
48675
48656
|
});
|
|
48676
48657
|
}, kV = function(t) {
|
|
48677
48658
|
yi(t.element).filter(Da).each(function(n) {
|
|
48678
48659
|
_i(n, "z-index").each(function(i) {
|
|
48679
|
-
Er(n,
|
|
48660
|
+
Er(n, _$, i);
|
|
48680
48661
|
}), pr(n, "z-index", xa(t.element, "z-index"));
|
|
48681
48662
|
});
|
|
48682
48663
|
}, YN = function(t, n) {
|
|
@@ -48705,7 +48686,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48705
48686
|
He("topAttr"),
|
|
48706
48687
|
ve("lazyViewport", yu),
|
|
48707
48688
|
ve("mustSnap", !1)
|
|
48708
|
-
]),
|
|
48689
|
+
]), w$ = [
|
|
48709
48690
|
ve("useFixed", Gt),
|
|
48710
48691
|
He("blockerClass"),
|
|
48711
48692
|
ve("getTarget", fr),
|
|
@@ -48755,7 +48736,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48755
48736
|
height: Ku(n.element),
|
|
48756
48737
|
width: nc(n.element)
|
|
48757
48738
|
};
|
|
48758
|
-
},
|
|
48739
|
+
}, C$ = function(t, n, i, s, c) {
|
|
48759
48740
|
var v = i.update(s, c), h = i.getStartData().getOrThunk(function() {
|
|
48760
48741
|
return JN(n, t);
|
|
48761
48742
|
});
|
|
@@ -48768,7 +48749,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48768
48749
|
});
|
|
48769
48750
|
var c = i.getTarget(t.element);
|
|
48770
48751
|
s.reset(), i.onDrop(t, c);
|
|
48771
|
-
},
|
|
48752
|
+
}, k$ = function(t) {
|
|
48772
48753
|
return function(n, i) {
|
|
48773
48754
|
var s = function(c) {
|
|
48774
48755
|
i.setStartData(JN(n, c));
|
|
@@ -48808,7 +48789,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48808
48789
|
delayDrop: y.schedule,
|
|
48809
48790
|
forceDrop: h,
|
|
48810
48791
|
move: function(P) {
|
|
48811
|
-
y.cancel(),
|
|
48792
|
+
y.cancel(), C$(s, t, n, MV, P);
|
|
48812
48793
|
}
|
|
48813
48794
|
}, k = XN(s, t.blockerClass, DV(_)), E = function() {
|
|
48814
48795
|
i(s), YN(s, k);
|
|
@@ -48816,7 +48797,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48816
48797
|
E();
|
|
48817
48798
|
}
|
|
48818
48799
|
})];
|
|
48819
|
-
}, BV = Xe(Xe([],
|
|
48800
|
+
}, BV = Xe(Xe([], w$, !0), [Gn("dragger", { handlers: k$(QN) })], !1), IV = function(t) {
|
|
48820
48801
|
return wn([
|
|
48821
48802
|
qe(tf(), t.forceDrop),
|
|
48822
48803
|
qe(kd(), t.drop),
|
|
@@ -48851,7 +48832,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48851
48832
|
delayDrop: it,
|
|
48852
48833
|
forceDrop: y,
|
|
48853
48834
|
move: function(P) {
|
|
48854
|
-
|
|
48835
|
+
C$(v, t, n, eL, P);
|
|
48855
48836
|
}
|
|
48856
48837
|
}, k = XN(v, t.blockerClass, IV(_));
|
|
48857
48838
|
s.set(k);
|
|
@@ -48861,16 +48842,16 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48861
48842
|
E();
|
|
48862
48843
|
}),
|
|
48863
48844
|
qe(gs(), function(v, h) {
|
|
48864
|
-
h.stop(),
|
|
48845
|
+
h.stop(), C$(v, t, n, eL, h.event);
|
|
48865
48846
|
}),
|
|
48866
48847
|
qe(kd(), function(v, h) {
|
|
48867
48848
|
h.stop(), c(v);
|
|
48868
48849
|
}),
|
|
48869
48850
|
qe($h(), c)
|
|
48870
48851
|
];
|
|
48871
|
-
}, LV = Xe(Xe([],
|
|
48852
|
+
}, LV = Xe(Xe([], w$, !0), [Gn("dragger", { handlers: k$(tL) })], !1), HV = function(t, n, i) {
|
|
48872
48853
|
return Xe(Xe([], QN(t, n, i), !0), tL(t, n, i), !0);
|
|
48873
|
-
}, 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({
|
|
48874
48855
|
__proto__: null,
|
|
48875
48856
|
mouse: jV,
|
|
48876
48857
|
touch: qV,
|
|
@@ -48924,7 +48905,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48924
48905
|
},
|
|
48925
48906
|
state: KV,
|
|
48926
48907
|
apis: wV
|
|
48927
|
-
}),
|
|
48908
|
+
}), S$ = 40, Hz = S$ / 2, rL = function(t, n, i, s, c, v) {
|
|
48928
48909
|
return t.fold(function() {
|
|
48929
48910
|
return o0.snap({
|
|
48930
48911
|
sensor: Sp(i - Hz, s - Hz),
|
|
@@ -48933,7 +48914,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
48933
48914
|
extra: { td: n }
|
|
48934
48915
|
});
|
|
48935
48916
|
}, function(h) {
|
|
48936
|
-
var y = i - Hz, _ = s - Hz, k =
|
|
48917
|
+
var y = i - Hz, _ = s - Hz, k = S$, E = S$, P = h.element.dom.getBoundingClientRect();
|
|
48937
48918
|
return o0.snap({
|
|
48938
48919
|
sensor: Sp(y, _),
|
|
48939
48920
|
range: hn(k, E),
|
|
@@ -49134,7 +49115,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49134
49115
|
}, iL = function(t, n, i) {
|
|
49135
49116
|
var s = yt.fromDom(t.getContainer()), c = ZV(t, n, i, ci(s), lo(s));
|
|
49136
49117
|
Jn(c, function(v, h) {
|
|
49137
|
-
return pr(s, h,
|
|
49118
|
+
return pr(s, h, f$(v));
|
|
49138
49119
|
}), O5(t);
|
|
49139
49120
|
}, QV = function(t) {
|
|
49140
49121
|
var n = !t.hasPlugin("autoresize"), i = t.getParam("resize", n);
|
|
@@ -49265,7 +49246,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49265
49246
|
components: c()
|
|
49266
49247
|
};
|
|
49267
49248
|
}, nj = function(t) {
|
|
49268
|
-
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() {
|
|
49269
49250
|
return v.bind(oi.getHeader);
|
|
49270
49251
|
}, Q = function() {
|
|
49271
49252
|
return c.isDocked(de);
|
|
@@ -49310,7 +49291,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49310
49291
|
return v.bind(function(gu) {
|
|
49311
49292
|
return oi.getThrobber(gu);
|
|
49312
49293
|
}).getOrDie("Could not find throbber element");
|
|
49313
|
-
}, St =
|
|
49294
|
+
}, St = w6(Ue, t, _e), et = oi.parts.menubar({
|
|
49314
49295
|
dom: {
|
|
49315
49296
|
tag: "div",
|
|
49316
49297
|
classes: ["tox-menubar"]
|
|
@@ -49369,7 +49350,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49369
49350
|
rt,
|
|
49370
49351
|
Lt
|
|
49371
49352
|
]
|
|
49372
|
-
}, Bf = d2(t), Pc = ZC(t),
|
|
49353
|
+
}, Bf = d2(t), Pc = ZC(t), $$ = JC(t), N$ = function() {
|
|
49373
49354
|
return Bf ? [Kt] : Pc ? [Dt] : [];
|
|
49374
49355
|
}, qz = oi.parts.header({
|
|
49375
49356
|
dom: re({
|
|
@@ -49377,14 +49358,14 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49377
49358
|
classes: ["tox-editor-header"]
|
|
49378
49359
|
}, te),
|
|
49379
49360
|
components: tr([
|
|
49380
|
-
|
|
49381
|
-
|
|
49361
|
+
$$ ? [et] : [],
|
|
49362
|
+
N$(),
|
|
49382
49363
|
m2(t) ? [] : [ke.asSpec()]
|
|
49383
49364
|
]),
|
|
49384
49365
|
sticky: w1(t),
|
|
49385
49366
|
editor: t,
|
|
49386
49367
|
sharedBackstage: St.shared
|
|
49387
|
-
}),
|
|
49368
|
+
}), L$ = tr([
|
|
49388
49369
|
F ? [] : [qz],
|
|
49389
49370
|
i ? [] : [La],
|
|
49390
49371
|
F ? [qz] : []
|
|
@@ -49393,7 +49374,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49393
49374
|
tag: "div",
|
|
49394
49375
|
classes: ["tox-editor-container"]
|
|
49395
49376
|
},
|
|
49396
|
-
components:
|
|
49377
|
+
components: L$
|
|
49397
49378
|
}, Uz = tr([
|
|
49398
49379
|
[rT],
|
|
49399
49380
|
i ? [] : Fn.toArray(),
|
|
@@ -49432,33 +49413,33 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49432
49413
|
});
|
|
49433
49414
|
var aT = um(kv), sl = um(Ue);
|
|
49434
49415
|
uz(t, aT, sl);
|
|
49435
|
-
var
|
|
49416
|
+
var H$ = function() {
|
|
49436
49417
|
var gu = {
|
|
49437
49418
|
broadcastAll: sl.broadcast,
|
|
49438
49419
|
broadcastOn: sl.broadcastOn,
|
|
49439
49420
|
register: it
|
|
49440
49421
|
};
|
|
49441
49422
|
return { channels: gu };
|
|
49442
|
-
},
|
|
49443
|
-
var gu =
|
|
49423
|
+
}, V$ = function() {
|
|
49424
|
+
var gu = f$(I7(t)), Tp = f$(F7(t));
|
|
49444
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;
|
|
49445
|
-
},
|
|
49426
|
+
}, j$ = function() {
|
|
49446
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) {
|
|
49447
49428
|
t.ui.registry.addGroupToolbarButton(If, cl);
|
|
49448
49429
|
});
|
|
49449
|
-
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 = {
|
|
49450
49431
|
menuItems: Ex,
|
|
49451
49432
|
menus: ZR(t),
|
|
49452
49433
|
menubar: QR(t),
|
|
49453
|
-
toolbar:
|
|
49434
|
+
toolbar: U$.getOrThunk(function() {
|
|
49454
49435
|
return e5(t);
|
|
49455
49436
|
}),
|
|
49456
49437
|
allowToolbarGroups: Ye === al.floating,
|
|
49457
49438
|
buttons: Tp,
|
|
49458
49439
|
sidebar: Ax
|
|
49459
49440
|
};
|
|
49460
|
-
vH(t,
|
|
49461
|
-
var Ir = t.getElement(), Rn =
|
|
49441
|
+
vH(t, q$, Ue, { backstage: St }), YV(t, Ue);
|
|
49442
|
+
var Ir = t.getElement(), Rn = V$(), Ka = {
|
|
49462
49443
|
mothership: aT,
|
|
49463
49444
|
uiMothership: sl,
|
|
49464
49445
|
outerContainer: kv
|
|
@@ -49472,8 +49453,8 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49472
49453
|
mothership: aT,
|
|
49473
49454
|
uiMothership: sl,
|
|
49474
49455
|
backstage: St,
|
|
49475
|
-
renderUI:
|
|
49476
|
-
getUi:
|
|
49456
|
+
renderUI: j$,
|
|
49457
|
+
getUi: H$
|
|
49477
49458
|
};
|
|
49478
49459
|
}, aj = function(t, n) {
|
|
49479
49460
|
var i = C.from(sa(t, "id")).fold(function() {
|
|
@@ -49496,7 +49477,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49496
49477
|
to("modalBehaviours", [Wt]),
|
|
49497
49478
|
Ea("onExecute"),
|
|
49498
49479
|
nv("onEscape")
|
|
49499
|
-
]),
|
|
49480
|
+
]), T$ = { sketch: fr }, uj = se([
|
|
49500
49481
|
xf({
|
|
49501
49482
|
name: "draghandle",
|
|
49502
49483
|
overrides: function(t, n) {
|
|
@@ -49518,17 +49499,17 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49518
49499
|
name: "title"
|
|
49519
49500
|
}),
|
|
49520
49501
|
Yo({
|
|
49521
|
-
factory:
|
|
49502
|
+
factory: T$,
|
|
49522
49503
|
schema: [He("dom")],
|
|
49523
49504
|
name: "close"
|
|
49524
49505
|
}),
|
|
49525
49506
|
Yo({
|
|
49526
|
-
factory:
|
|
49507
|
+
factory: T$,
|
|
49527
49508
|
schema: [He("dom")],
|
|
49528
49509
|
name: "body"
|
|
49529
49510
|
}),
|
|
49530
49511
|
xf({
|
|
49531
|
-
factory:
|
|
49512
|
+
factory: T$,
|
|
49532
49513
|
schema: [He("dom")],
|
|
49533
49514
|
name: "footer"
|
|
49534
49515
|
}),
|
|
@@ -49656,7 +49637,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49656
49637
|
]),
|
|
49657
49638
|
Oa("primary", !1),
|
|
49658
49639
|
Oa("disabled", !1)
|
|
49659
|
-
], uL = Xe(Xe([], oL, !0), [dr("text")], !1),
|
|
49640
|
+
], uL = Xe(Xe([], oL, !0), [dr("text")], !1), O$ = Xe([Zu("type", [
|
|
49660
49641
|
"submit",
|
|
49661
49642
|
"cancel",
|
|
49662
49643
|
"custom"
|
|
@@ -49667,9 +49648,9 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49667
49648
|
qn("icon"),
|
|
49668
49649
|
Ki("items", lj)
|
|
49669
49650
|
], oL, !0), vj = ou("type", {
|
|
49670
|
-
submit:
|
|
49671
|
-
cancel:
|
|
49672
|
-
custom:
|
|
49651
|
+
submit: O$,
|
|
49652
|
+
cancel: O$,
|
|
49653
|
+
custom: O$,
|
|
49673
49654
|
menu: fj
|
|
49674
49655
|
}), dj = [
|
|
49675
49656
|
dr("type"),
|
|
@@ -49702,19 +49683,19 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49702
49683
|
dr("name"),
|
|
49703
49684
|
dr("label"),
|
|
49704
49685
|
Oa("disabled", !1)
|
|
49705
|
-
], yj = Ut(bj), xj = Mi,
|
|
49686
|
+
], yj = Ut(bj), xj = Mi, E$ = [
|
|
49706
49687
|
dr("type"),
|
|
49707
49688
|
dr("name")
|
|
49708
|
-
], Cv =
|
|
49689
|
+
], Cv = E$.concat([qn("label")]), _j = Cv.concat([ve("columns", "auto")]), wj = Ut(_j), Cj = Rp([
|
|
49709
49690
|
dr("value"),
|
|
49710
49691
|
dr("text"),
|
|
49711
49692
|
dr("icon")
|
|
49712
|
-
]), 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([
|
|
49713
49694
|
Uf("tag", "textarea"),
|
|
49714
49695
|
dr("scriptId"),
|
|
49715
49696
|
dr("scriptUrl"),
|
|
49716
49697
|
xu("settings", void 0)
|
|
49717
|
-
]), Dj =
|
|
49698
|
+
]), Dj = E$.concat([
|
|
49718
49699
|
Uf("tag", "textarea"),
|
|
49719
49700
|
wi("init")
|
|
49720
49701
|
]), Pj = Cd(function(t) {
|
|
@@ -49793,24 +49774,24 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49793
49774
|
]), f9 = Ut(c9), v9 = Ut([
|
|
49794
49775
|
dr("value"),
|
|
49795
49776
|
ve("meta", {})
|
|
49796
|
-
]),
|
|
49777
|
+
]), A$ = function(t) {
|
|
49797
49778
|
return di("items", "items", sr(), Qc(Cd(function(n) {
|
|
49798
|
-
return Ta("Checking item of " + t,
|
|
49779
|
+
return Ta("Checking item of " + t, z$, n).fold(function(i) {
|
|
49799
49780
|
return br.error(Al(i));
|
|
49800
49781
|
}, function(i) {
|
|
49801
49782
|
return br.value(i);
|
|
49802
49783
|
});
|
|
49803
49784
|
})));
|
|
49804
|
-
},
|
|
49785
|
+
}, z$ = oc(function() {
|
|
49805
49786
|
return Dh("type", {
|
|
49806
49787
|
alertbanner: mj,
|
|
49807
|
-
bar: Ut(hj(
|
|
49788
|
+
bar: Ut(hj(A$("bar"))),
|
|
49808
49789
|
button: pj,
|
|
49809
49790
|
checkbox: yj,
|
|
49810
49791
|
colorinput: Sj,
|
|
49811
49792
|
colorpicker: Ej,
|
|
49812
49793
|
dropzone: Bj,
|
|
49813
|
-
grid: Ut(Fj(
|
|
49794
|
+
grid: Ut(Fj(A$("grid"))),
|
|
49814
49795
|
iframe: Hj,
|
|
49815
49796
|
input: Wj,
|
|
49816
49797
|
listbox: Zj,
|
|
@@ -49822,20 +49803,20 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49822
49803
|
htmlpanel: Nj,
|
|
49823
49804
|
imagetools: qj,
|
|
49824
49805
|
collection: wj,
|
|
49825
|
-
label: Ut(Kj(
|
|
49806
|
+
label: Ut(Kj(A$("label"))),
|
|
49826
49807
|
table: o9,
|
|
49827
49808
|
panel: cL
|
|
49828
49809
|
});
|
|
49829
49810
|
}), d9 = [
|
|
49830
49811
|
dr("type"),
|
|
49831
49812
|
ve("classes", []),
|
|
49832
|
-
Ki("items",
|
|
49813
|
+
Ki("items", z$)
|
|
49833
49814
|
], cL = Ut(d9), m9 = [
|
|
49834
49815
|
di("name", "name", Vr(function() {
|
|
49835
49816
|
return We("tab-name");
|
|
49836
49817
|
}), ca),
|
|
49837
49818
|
dr("title"),
|
|
49838
|
-
Ki("items",
|
|
49819
|
+
Ki("items", z$)
|
|
49839
49820
|
], h9 = [
|
|
49840
49821
|
dr("type"),
|
|
49841
49822
|
Ph("tabs", m9)
|
|
@@ -49871,8 +49852,8 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49871
49852
|
Zn("onMessage", it)
|
|
49872
49853
|
]), C9 = function(t) {
|
|
49873
49854
|
return Ta("dialog", w9, t);
|
|
49874
|
-
},
|
|
49875
|
-
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$) : [];
|
|
49876
49857
|
}, k9 = function(t) {
|
|
49877
49858
|
return Z(t.type) && Z(t.name);
|
|
49878
49859
|
}, S9 = {
|
|
@@ -49894,7 +49875,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
49894
49875
|
}, T9 = function(t) {
|
|
49895
49876
|
return C.from(S9[t.type]);
|
|
49896
49877
|
}, O9 = function(t) {
|
|
49897
|
-
return Vt(
|
|
49878
|
+
return Vt(D$(t), k9);
|
|
49898
49879
|
}, E9 = function(t) {
|
|
49899
49880
|
var n = O9(t), i = Bn(n, function(s) {
|
|
49900
49881
|
return T9(s).fold(function() {
|
|
@@ -50228,14 +50209,14 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50228
50209
|
});
|
|
50229
50210
|
});
|
|
50230
50211
|
});
|
|
50231
|
-
},
|
|
50212
|
+
}, P$ = function(t) {
|
|
50232
50213
|
return Yi(t, '[role="tabpanel"]');
|
|
50233
50214
|
}, G9 = function(t) {
|
|
50234
50215
|
var n = function() {
|
|
50235
50216
|
var s = Aa(), c = [
|
|
50236
50217
|
wa(function(h) {
|
|
50237
50218
|
var y = h.element;
|
|
50238
|
-
|
|
50219
|
+
P$(y).each(function(_) {
|
|
50239
50220
|
pr(_, "visibility", "hidden"), h.getSystem().getByDom(_).toOptional().each(function(k) {
|
|
50240
50221
|
var E = j9(t, _, k), P = q9(E);
|
|
50241
50222
|
P.fold(s.clear, s.set);
|
|
@@ -50246,13 +50227,13 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50246
50227
|
}),
|
|
50247
50228
|
qe(Dl(), function(h) {
|
|
50248
50229
|
var y = h.element;
|
|
50249
|
-
|
|
50230
|
+
P$(y).each(function(_) {
|
|
50250
50231
|
jz(y, _, s);
|
|
50251
50232
|
});
|
|
50252
50233
|
}),
|
|
50253
50234
|
qe(M1, function(h, y) {
|
|
50254
50235
|
var _ = h.element;
|
|
50255
|
-
|
|
50236
|
+
P$(_).each(function(k) {
|
|
50256
50237
|
var E = gf(ui(k));
|
|
50257
50238
|
pr(k, "visibility", "hidden");
|
|
50258
50239
|
var P = _i(k, "height").map(function(U) {
|
|
@@ -50390,7 +50371,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50390
50371
|
})
|
|
50391
50372
|
])
|
|
50392
50373
|
});
|
|
50393
|
-
},
|
|
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) {
|
|
50394
50375
|
var c = function(y) {
|
|
50395
50376
|
switch (y.body.type) {
|
|
50396
50377
|
case "tabpanel":
|
|
@@ -50534,7 +50515,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50534
50515
|
components: n
|
|
50535
50516
|
})
|
|
50536
50517
|
];
|
|
50537
|
-
},
|
|
50518
|
+
}, M$ = function(t) {
|
|
50538
50519
|
var n, i = "tox-dialog", s = i + "-wrap", c = s + "__backdrop", v = i + "__disable-scroll";
|
|
50539
50520
|
return io.sketch({
|
|
50540
50521
|
lazySink: t.lazySink,
|
|
@@ -50704,11 +50685,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50704
50685
|
var c, v = function(h, y) {
|
|
50705
50686
|
return C.some(y);
|
|
50706
50687
|
};
|
|
50707
|
-
return $i(
|
|
50688
|
+
return $i(M$(re(re({}, t), {
|
|
50708
50689
|
lazySink: s.shared.getSink,
|
|
50709
50690
|
extraBehaviours: Xe([
|
|
50710
50691
|
Wl.config({
|
|
50711
|
-
channel:
|
|
50692
|
+
channel: R$,
|
|
50712
50693
|
updateState: v,
|
|
50713
50694
|
initialData: n
|
|
50714
50695
|
}),
|
|
@@ -50836,7 +50817,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50836
50817
|
pt.setValue(v, h.getData());
|
|
50837
50818
|
})
|
|
50838
50819
|
], !1);
|
|
50839
|
-
},
|
|
50820
|
+
}, B$ = {
|
|
50840
50821
|
initUrlDialog: tq,
|
|
50841
50822
|
initDialog: rq
|
|
50842
50823
|
}, nq = function(t, n) {
|
|
@@ -50898,7 +50879,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50898
50879
|
return $L(t, n);
|
|
50899
50880
|
}, NL = function(t, n) {
|
|
50900
50881
|
return io.parts.footer($L(t, n));
|
|
50901
|
-
},
|
|
50882
|
+
}, I$ = function(t, n) {
|
|
50902
50883
|
var i = t.getRoot();
|
|
50903
50884
|
if (i.getSystem().isConnected()) {
|
|
50904
50885
|
var s = Yr.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());
|
|
@@ -50934,11 +50915,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50934
50915
|
});
|
|
50935
50916
|
});
|
|
50936
50917
|
}, h = function(te) {
|
|
50937
|
-
|
|
50918
|
+
I$(t, te).each(Qt.disable);
|
|
50938
50919
|
}, y = function(te) {
|
|
50939
|
-
|
|
50920
|
+
I$(t, te).each(Qt.enable);
|
|
50940
50921
|
}, _ = function(te) {
|
|
50941
|
-
|
|
50922
|
+
I$(t, te).each(hr.focus);
|
|
50942
50923
|
}, k = function(te) {
|
|
50943
50924
|
if (!Z(te))
|
|
50944
50925
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
@@ -50961,7 +50942,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50961
50942
|
}, F = function(te) {
|
|
50962
50943
|
s(function(de) {
|
|
50963
50944
|
var Q = n(te);
|
|
50964
|
-
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);
|
|
50965
50946
|
});
|
|
50966
50947
|
}, L = function() {
|
|
50967
50948
|
s(function(te) {
|
|
@@ -50990,7 +50971,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
50990
50971
|
return [];
|
|
50991
50972
|
}
|
|
50992
50973
|
}, lq = function(t, n, i) {
|
|
50993
|
-
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() {
|
|
50994
50975
|
return L;
|
|
50995
50976
|
}, RL(function() {
|
|
50996
50977
|
return P;
|
|
@@ -51027,7 +51008,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51027
51008
|
}, k = fn(Q9({
|
|
51028
51009
|
title: t.internalDialog.title,
|
|
51029
51010
|
draggable: !0
|
|
51030
|
-
}, 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() {
|
|
51031
51012
|
return de;
|
|
51032
51013
|
}, {
|
|
51033
51014
|
onBlock: function(Q) {
|
|
@@ -51068,7 +51049,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51068
51049
|
}
|
|
51069
51050
|
}),
|
|
51070
51051
|
Wl.config({
|
|
51071
|
-
channel:
|
|
51052
|
+
channel: R$,
|
|
51072
51053
|
updateState: _,
|
|
51073
51054
|
initialData: t
|
|
51074
51055
|
}),
|
|
@@ -51106,7 +51087,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51106
51087
|
dialog: te,
|
|
51107
51088
|
instanceApi: de
|
|
51108
51089
|
};
|
|
51109
|
-
},
|
|
51090
|
+
}, F$ = tinymce.util.Tools.resolve("tinymce.util.URI"), fq = function(t) {
|
|
51110
51091
|
var n = function(h) {
|
|
51111
51092
|
t.getSystem().isConnected() && h(t);
|
|
51112
51093
|
}, i = function(h) {
|
|
@@ -51154,7 +51135,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51154
51135
|
t.setContent(i.content);
|
|
51155
51136
|
break;
|
|
51156
51137
|
case "execCommand":
|
|
51157
|
-
var s =
|
|
51138
|
+
var s = Ot(i.ui) ? i.ui : !1;
|
|
51158
51139
|
t.execCommand(i.cmd, s, i.value);
|
|
51159
51140
|
break;
|
|
51160
51141
|
case "close":
|
|
@@ -51170,7 +51151,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51170
51151
|
}, hq = function(t, n, i, s) {
|
|
51171
51152
|
var c, v = DL(t.title, s), h = J9(t), y = t.buttons.bind(function(he) {
|
|
51172
51153
|
return he.length === 0 ? C.none() : C.some(NL({ buttons: he }, s));
|
|
51173
|
-
}), _ =
|
|
51154
|
+
}), _ = B$.initUrlDialog(function() {
|
|
51174
51155
|
return Q;
|
|
51175
51156
|
}, RL(function() {
|
|
51176
51157
|
return de;
|
|
@@ -51188,11 +51169,11 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51188
51169
|
width: he + "px",
|
|
51189
51170
|
"max-width": he + "px"
|
|
51190
51171
|
};
|
|
51191
|
-
})), 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 = [
|
|
51192
51173
|
Dr("messages", [
|
|
51193
51174
|
wa(function() {
|
|
51194
51175
|
var he = Su(yt.fromDom(window), "message", function(Fe) {
|
|
51195
|
-
if (P.isSameOrigin(new
|
|
51176
|
+
if (P.isSameOrigin(new F$(Fe.raw.origin))) {
|
|
51196
51177
|
var Ue = Fe.raw.data;
|
|
51197
51178
|
HL(Ue) ? mq(i, Q, Ue) : dq(Ue) && t.onMessage(Q, Ue);
|
|
51198
51179
|
}
|
|
@@ -51234,7 +51215,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51234
51215
|
align: "end",
|
|
51235
51216
|
disabled: !1,
|
|
51236
51217
|
icon: C.none()
|
|
51237
|
-
}, "cancel", t.backstage)), y = kL(), _ = CL(v, n.providers), k = $i(
|
|
51218
|
+
}, "cancel", t.backstage)), y = kL(), _ = CL(v, n.providers), k = $i(M$({
|
|
51238
51219
|
lazySink: function() {
|
|
51239
51220
|
return n.getSink();
|
|
51240
51221
|
},
|
|
@@ -51273,7 +51254,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51273
51254
|
icon: C.none()
|
|
51274
51255
|
}, "cancel", t.backstage), _ = kL(), k = CL(function() {
|
|
51275
51256
|
return v(!1);
|
|
51276
|
-
}, n.providers), E = $i(
|
|
51257
|
+
}, n.providers), E = $i(M$({
|
|
51277
51258
|
lazySink: function() {
|
|
51278
51259
|
return n.getSink();
|
|
51279
51260
|
},
|
|
@@ -51438,7 +51419,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51438
51419
|
return function(le) {
|
|
51439
51420
|
return V === le;
|
|
51440
51421
|
};
|
|
51441
|
-
}, ze = $("string"),
|
|
51422
|
+
}, ze = $("string"), Tt = $("array"), Ot = we(null), cr = Z("boolean"), Nr = Z("function"), Ft = function() {
|
|
51442
51423
|
}, wr = function(V) {
|
|
51443
51424
|
return function() {
|
|
51444
51425
|
return V;
|
|
@@ -51546,7 +51527,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51546
51527
|
}), ye;
|
|
51547
51528
|
}, Se = function(V) {
|
|
51548
51529
|
for (var le = [], ye = 0, $e = V.length; ye < $e; ++ye) {
|
|
51549
|
-
if (!
|
|
51530
|
+
if (!Tt(V[ye]))
|
|
51550
51531
|
throw new Error("Arr.flatten item " + ye + " was not an array, input: " + V);
|
|
51551
51532
|
vr.apply(le, V[ye]);
|
|
51552
51533
|
}
|
|
@@ -51769,7 +51750,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51769
51750
|
text: Ht.getOrNull(),
|
|
51770
51751
|
title: ln.getOrNull()
|
|
51771
51752
|
}, function(Sn, Or) {
|
|
51772
|
-
return
|
|
51753
|
+
return Ot(Sn) === !1;
|
|
51773
51754
|
});
|
|
51774
51755
|
}, Gl = function(V, le) {
|
|
51775
51756
|
var ye = le.href;
|
|
@@ -51951,7 +51932,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
51951
51932
|
}
|
|
51952
51933
|
], Da = function(V) {
|
|
51953
51934
|
var le = dn(V);
|
|
51954
|
-
return
|
|
51935
|
+
return Tt(le) ? Hr.sanitize(le).orThunk(function() {
|
|
51955
51936
|
return bt.some(Ba);
|
|
51956
51937
|
}) : le === !1 ? bt.none() : bt.some(Ba);
|
|
51957
51938
|
}, $o = { getTargets: Da }, yo = function(V, le, ye) {
|
|
@@ -52304,7 +52285,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
52304
52285
|
return function(M) {
|
|
52305
52286
|
return typeof M === S;
|
|
52306
52287
|
};
|
|
52307
|
-
}, 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() {
|
|
52308
52289
|
}, Ft = function(S) {
|
|
52309
52290
|
return function() {
|
|
52310
52291
|
return S;
|
|
@@ -52841,7 +52822,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
52841
52822
|
return bo(M) && Yl(M) === S;
|
|
52842
52823
|
};
|
|
52843
52824
|
}, Ba = function(S, M, N) {
|
|
52844
|
-
if (Z(N) ||
|
|
52825
|
+
if (Z(N) || Tt(N) || cr(N))
|
|
52845
52826
|
S.setAttribute(M, N + "");
|
|
52846
52827
|
else
|
|
52847
52828
|
throw console.error("Invalid call to Attribute.set. Key ", M, ":: Value ", N, ":: Element ", S), new Error("Attribute value was not simple");
|
|
@@ -53038,7 +53019,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
53038
53019
|
element: N
|
|
53039
53020
|
});
|
|
53040
53021
|
}, D = function(S) {
|
|
53041
|
-
return S.style !== void 0 &&
|
|
53022
|
+
return S.style !== void 0 && Ot(S.style.getPropertyValue);
|
|
53042
53023
|
}, ne = function(S, M, N) {
|
|
53043
53024
|
if (!Z(N))
|
|
53044
53025
|
throw console.error("Invalid call to CSS.set. Property ", M, ":: Value ", N, ":: Element ", S), new Error("CSS value must be a string: " + N);
|
|
@@ -53725,7 +53706,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
53725
53706
|
return function(D) {
|
|
53726
53707
|
return z === D;
|
|
53727
53708
|
};
|
|
53728
|
-
}, ze = $("string"),
|
|
53709
|
+
}, ze = $("string"), Tt = $("object"), Ot = $("array"), cr = we(null), Nr = Z("boolean"), Ft = function(z) {
|
|
53729
53710
|
return z == null;
|
|
53730
53711
|
}, wr = function(z) {
|
|
53731
53712
|
return !Ft(z);
|
|
@@ -53837,7 +53818,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
53837
53818
|
return $t(z, D) && z[D] !== void 0 && z[D] !== null;
|
|
53838
53819
|
}, ur = Array.prototype.push, G = function(z) {
|
|
53839
53820
|
for (var D = [], ne = 0, Ae = z.length; ne < Ae; ++ne) {
|
|
53840
|
-
if (!
|
|
53821
|
+
if (!Ot(z[ne]))
|
|
53841
53822
|
throw new Error("Arr.flatten item " + ne + " was not an array, input: " + z);
|
|
53842
53823
|
ur.apply(D, z[ne]);
|
|
53843
53824
|
}
|
|
@@ -54168,7 +54149,7 @@ The conflicting element is` + (ma(P.element) ? " " : " not ") + "already in the
|
|
|
54168
54149
|
} else
|
|
54169
54150
|
D.src && Yl(z, g(g({}, rr()), D));
|
|
54170
54151
|
}, Da = function(z, D) {
|
|
54171
|
-
var ne =
|
|
54152
|
+
var ne = Tt(z) && Tt(D);
|
|
54172
54153
|
return ne ? yo(z, D) : D;
|
|
54173
54154
|
}, $o = function(z) {
|
|
54174
54155
|
return function() {
|
|
@@ -55063,12 +55044,12 @@ var p8 = { exports: {} };
|
|
|
55063
55044
|
(function(w, $) {
|
|
55064
55045
|
O.exports = $();
|
|
55065
55046
|
})(typeof self < "u" ? self : fl, function() {
|
|
55066
|
-
return $ = [function(we, ze,
|
|
55067
|
-
}, function(we, ze,
|
|
55068
|
-
|
|
55069
|
-
}, function(we, ze,
|
|
55070
|
-
|
|
55071
|
-
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) {
|
|
55072
55053
|
return function(Le) {
|
|
55073
55054
|
if (Array.isArray(Le))
|
|
55074
55055
|
return Le;
|
|
@@ -55200,7 +55181,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
55200
55181
|
var Pt, ba = new Date([se(Mt, 4), se(ot, 2), se(Le, 2)].join("-"));
|
|
55201
55182
|
if (!isNaN(ba))
|
|
55202
55183
|
return Pt = new Date(Mt, ot - 1, Le), [[Mt, "setFullYear"], [dn, "setHours"], [ua, "setMinutes"], [jr, "setSeconds"]].forEach(function(Wr) {
|
|
55203
|
-
var Wr =
|
|
55184
|
+
var Wr = Ot(Wr, 2), Vt = Wr[0], Wr = Wr[1];
|
|
55204
55185
|
Vt !== void 0 && Pt[Wr](Vt);
|
|
55205
55186
|
}), Pt;
|
|
55206
55187
|
}, formatSimpleDateToString: function(G, C) {
|
|
@@ -55277,7 +55258,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
55277
55258
|
}, onTimeInputFocus: function(G) {
|
|
55278
55259
|
G.target.select && G.target.select();
|
|
55279
55260
|
} } };
|
|
55280
|
-
|
|
55261
|
+
Tt(1), Tt = function() {
|
|
55281
55262
|
var G = this, C = G._self._c;
|
|
55282
55263
|
return C("div", { staticClass: "vdpComponent", class: { vdpWithInput: G.hasInputElement } }, [G._t("default", function() {
|
|
55283
55264
|
return [G.hasInputElement ? C("input", G._b({ attrs: { type: "text", readonly: G.isReadOnly }, domProps: { value: G.inputValue }, on: { input: function(Le) {
|
|
@@ -55338,29 +55319,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
55338
55319
|
} } }, [G._v(`
|
|
55339
55320
|
` + G._s(G.currentTime.isPM ? "PM" : "AM") + `
|
|
55340
55321
|
`)]) : G._e()]) : G._e()])]) : G._e()])], 2);
|
|
55341
|
-
}, 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) {
|
|
55342
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);
|
|
55343
55324
|
}, Pe._ssrRegister = Xe) : _t && (Xe = Se ? function() {
|
|
55344
55325
|
_t.call(this, (Pe.functional ? this.parent : this).$root.$options.shadowRoot);
|
|
55345
55326
|
} : _t), Xe && (Pe.functional ? (Pe._injectStyles = Xe, $t = Pe.render, Pe.render = function(G, C) {
|
|
55346
55327
|
return Xe.call(C), $t(G, C);
|
|
55347
|
-
}) : (
|
|
55328
|
+
}) : (Tt = Pe.beforeCreate, Pe.beforeCreate = Tt ? [].concat(Tt, Xe) : [Xe]));
|
|
55348
55329
|
var Gt, _t, Ai, re, Se, Xe, $t, Pe, ur = { exports: Xt, options: Pe };
|
|
55349
55330
|
ze.default = ur.exports;
|
|
55350
|
-
}], Z = {}, w.m = $, w.c = Z, w.d = function(we, ze,
|
|
55351
|
-
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 });
|
|
55352
55333
|
}, w.r = function(we) {
|
|
55353
55334
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(we, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(we, "__esModule", { value: !0 });
|
|
55354
55335
|
}, w.t = function(we, ze) {
|
|
55355
55336
|
if (1 & ze && (we = w(we)), 8 & ze || 4 & ze && typeof we == "object" && we && we.__esModule)
|
|
55356
55337
|
return we;
|
|
55357
|
-
var
|
|
55358
|
-
if (w.r(
|
|
55359
|
-
for (var
|
|
55360
|
-
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) {
|
|
55361
55342
|
return we[cr];
|
|
55362
|
-
}).bind(null,
|
|
55363
|
-
return
|
|
55343
|
+
}).bind(null, Ot));
|
|
55344
|
+
return Tt;
|
|
55364
55345
|
}, w.n = function(we) {
|
|
55365
55346
|
var ze = we && we.__esModule ? function() {
|
|
55366
55347
|
return we.default;
|
|
@@ -55976,7 +55957,7 @@ const RY = PY.exports, MY = Rc(), BY = {
|
|
|
55976
55957
|
this.reemitInput = !1;
|
|
55977
55958
|
let Z = [];
|
|
55978
55959
|
if (O.forEach((we) => {
|
|
55979
|
-
let ze = this.options.find((
|
|
55960
|
+
let ze = this.options.find((Tt) => JSON.stringify(this.keyValue(Tt)) === JSON.stringify(this.keyValue(we)));
|
|
55980
55961
|
ze && Z.push(ze);
|
|
55981
55962
|
}), this.multiple) {
|
|
55982
55963
|
let we = [];
|
|
@@ -56155,7 +56136,7 @@ var GY = function() {
|
|
|
56155
56136
|
null,
|
|
56156
56137
|
null
|
|
56157
56138
|
);
|
|
56158
|
-
const XY = YY.exports,
|
|
56139
|
+
const XY = YY.exports, Y$ = {
|
|
56159
56140
|
FormInput: AW,
|
|
56160
56141
|
FormCheckbox: BW,
|
|
56161
56142
|
FormRadioButtonGroup: HW,
|
|
@@ -56174,16 +56155,16 @@ const XY = YY.exports, Y6 = {
|
|
|
56174
56155
|
BWrapperComponent: XY
|
|
56175
56156
|
}, r8 = {
|
|
56176
56157
|
DataFormatMixin: Bx,
|
|
56177
|
-
hasDefaultOptionKeyMixin:
|
|
56158
|
+
hasDefaultOptionKeyMixin: Q$,
|
|
56178
56159
|
ProxyDataMixin: l8,
|
|
56179
56160
|
ValidationMixin: Mc
|
|
56180
56161
|
};
|
|
56181
56162
|
function JY(O) {
|
|
56182
56163
|
if (!this._processMakerVueFormElementsInstalled) {
|
|
56183
56164
|
this._processMakerVueFormElementsInstalled = !0;
|
|
56184
|
-
for (const g in
|
|
56185
|
-
const w =
|
|
56186
|
-
O.component(w,
|
|
56165
|
+
for (const g in Y$) {
|
|
56166
|
+
const w = Y$[g].name ?? g.replace(/^.*[\\/]/, "").replace(/\.[^/.]+$/, "");
|
|
56167
|
+
O.component(w, Y$[g]);
|
|
56187
56168
|
}
|
|
56188
56169
|
for (const g in r8)
|
|
56189
56170
|
O.mixin(r8[g].name);
|
|
@@ -56217,6 +56198,6 @@ export {
|
|
|
56217
56198
|
uT as getTimezone,
|
|
56218
56199
|
Mx as getUserDateFormat,
|
|
56219
56200
|
cT as getUserDateTimeFormat,
|
|
56220
|
-
|
|
56201
|
+
Q$ as hasDefaultOptionKeyMixin,
|
|
56221
56202
|
hW as isValidDate
|
|
56222
56203
|
};
|