golden-logic-ui 1.0.166 → 1.0.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/golden-logic-ui.js +418 -418
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as se, createElementBlock as ie, createElementVNode as N, createCommentVNode as Je, createStaticVNode as SK, resolveComponent as Ly, Fragment as Ln, createVNode as Up, normalizeClass as jt, toDisplayString as nt, withModifiers as gi, withDirectives as kr, vModelText as sd, renderList as ps, normalizeStyle as kK, computed as La, renderSlot as ul, ref as Do, onMounted as fm, watch as kA, createTextVNode as Qn, vShow as bC, nextTick as
|
|
1
|
+
import { openBlock as se, createElementBlock as ie, createElementVNode as N, createCommentVNode as Je, createStaticVNode as SK, resolveComponent as Ly, Fragment as Ln, createVNode as Up, normalizeClass as jt, toDisplayString as nt, withModifiers as gi, withDirectives as kr, vModelText as sd, renderList as ps, normalizeStyle as kK, computed as La, renderSlot as ul, ref as Do, onMounted as fm, watch as kA, createTextVNode as Qn, vShow as bC, nextTick as dG, createBlock as Fy, resolveDynamicComponent as bL, mergeProps as SA, withCtx as yL, vModelDynamic as EK, provide as Yq, inject as Xq, pushScopeId as TK, popScopeId as AK, vModelCheckbox as OK, toHandlers as lG, onUnmounted as DK, reactive as NK, TransitionGroup as $K, unref as PK, resolveDirective as Zq, markRaw as BK } from "vue";
|
|
2
2
|
var RK = { exports: {} };
|
|
3
3
|
(function(O) {
|
|
4
4
|
(function() {
|
|
@@ -19,7 +19,7 @@ var RK = { exports: {} };
|
|
|
19
19
|
"xml",
|
|
20
20
|
"null"
|
|
21
21
|
].indexOf(e) !== -1;
|
|
22
|
-
},
|
|
22
|
+
}, he = function(e, n) {
|
|
23
23
|
var o = Array.prototype.slice.call(e);
|
|
24
24
|
return o.sort(n);
|
|
25
25
|
}, oe = function(e, n) {
|
|
@@ -41,7 +41,7 @@ var RK = { exports: {} };
|
|
|
41
41
|
});
|
|
42
42
|
}, mt = function(e, n) {
|
|
43
43
|
return oe(Oe(e), function(o) {
|
|
44
|
-
return
|
|
44
|
+
return he(o, n);
|
|
45
45
|
});
|
|
46
46
|
}, Rt = function(e) {
|
|
47
47
|
return U(function(n, o) {
|
|
@@ -1400,11 +1400,11 @@ var RK = { exports: {} };
|
|
|
1400
1400
|
r[Te] = Ie, Ie.count++;
|
|
1401
1401
|
const qe = (st, pt) => {
|
|
1402
1402
|
ve(st, bc), Ie.status = pt, Ie.passed = [], Ie.failed = [], ce && (ce.onload = null, ce.onerror = null, ce = null);
|
|
1403
|
-
},
|
|
1403
|
+
}, be = () => qe(Ie.passed, 2), me = () => qe(Ie.failed, 3);
|
|
1404
1404
|
if (Z && Ie.passed.push(Z), X && Ie.failed.push(X), Ie.status === 1)
|
|
1405
1405
|
return;
|
|
1406
1406
|
if (Ie.status === 2) {
|
|
1407
|
-
|
|
1407
|
+
be();
|
|
1408
1408
|
return;
|
|
1409
1409
|
}
|
|
1410
1410
|
if (Ie.status === 3) {
|
|
@@ -1417,7 +1417,7 @@ var RK = { exports: {} };
|
|
|
1417
1417
|
rel: "stylesheet",
|
|
1418
1418
|
type: "text/css",
|
|
1419
1419
|
id: Ie.id
|
|
1420
|
-
}), n.contentCssCors && ns(ke, "crossOrigin", "anonymous"), n.referrerPolicy && ns(ke, "referrerpolicy", n.referrerPolicy), ce = ke.dom, ce.onload =
|
|
1420
|
+
}), n.contentCssCors && ns(ke, "crossOrigin", "anonymous"), n.referrerPolicy && ns(ke, "referrerpolicy", n.referrerPolicy), ce = ke.dom, ce.onload = be, ce.onerror = me, p(ke), ns(ke, "href", Te);
|
|
1421
1421
|
}), T = (K, Z) => {
|
|
1422
1422
|
const X = S(K);
|
|
1423
1423
|
r[K] = X, X.count++;
|
|
@@ -1749,7 +1749,7 @@ var RK = { exports: {} };
|
|
|
1749
1749
|
}
|
|
1750
1750
|
}, p = (n = e.schema) !== null && n !== void 0 ? n : "html5", v = UL(p);
|
|
1751
1751
|
e.verify_html === !1 && (e.valid_elements = "*[*]");
|
|
1752
|
-
const S = hg(e.valid_styles), k = hg(e.invalid_styles, "map"), T = hg(e.valid_classes, "map"), M = g("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), L = g("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), R = g("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), F = g("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), K = "td th iframe video audio object script code", Z = g("non_empty_elements", K + " pre svg", R), X = g("move_caret_before_on_enter_elements", K + " table", R), ce = "h1 h2 h3 h4 h5 h6", Te = g("text_block_elements", ce + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), Ie = g("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", Te), qe = g("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"),
|
|
1752
|
+
const S = hg(e.valid_styles), k = hg(e.invalid_styles, "map"), T = hg(e.valid_classes, "map"), M = g("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), L = g("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), R = g("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), F = g("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), K = "td th iframe video audio object script code", Z = g("non_empty_elements", K + " pre svg", R), X = g("move_caret_before_on_enter_elements", K + " table", R), ce = "h1 h2 h3 h4 h5 h6", Te = g("text_block_elements", ce + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), Ie = g("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", Te), qe = g("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), be = g("transparent_elements", "a ins del canvas map"), me = g("wrap_block_elements", "pre " + ce);
|
|
1753
1753
|
zc("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (Ut) => {
|
|
1754
1754
|
d[Ut] = new RegExp("</" + Ut + "[^>]*>", "gi");
|
|
1755
1755
|
});
|
|
@@ -1830,7 +1830,7 @@ var RK = { exports: {} };
|
|
|
1830
1830
|
}), e.invalid_elements && zc(wv(e.invalid_elements), (Ut) => {
|
|
1831
1831
|
o[Ut] && delete o[Ut];
|
|
1832
1832
|
}), en("span") || ke("span[!data-mce-type|*]");
|
|
1833
|
-
const Un = Fe(S), Zn = Fe(k), zo = Fe(T), tr = Fe(F), Fn = Fe(Ie), ze = Fe(Te), dt = Fe(qe), tn = Fe(Object.seal(R)), cn = Fe(L), it = Fe(Z), Lt = Fe(X), Le = Fe(M), Ft = Fe(
|
|
1833
|
+
const Un = Fe(S), Zn = Fe(k), zo = Fe(T), tr = Fe(F), Fn = Fe(Ie), ze = Fe(Te), dt = Fe(qe), tn = Fe(Object.seal(R)), cn = Fe(L), it = Fe(Z), Lt = Fe(X), Le = Fe(M), Ft = Fe(be), fn = Fe(me), jn = Fe(Object.seal(d)), zn = (Ut, Sn) => {
|
|
1834
1834
|
const Jn = r[Ut.toLowerCase()];
|
|
1835
1835
|
return !!(Jn && Jn[Sn.toLowerCase()]);
|
|
1836
1836
|
}, Ss = (Ut, Sn) => {
|
|
@@ -1914,17 +1914,17 @@ var RK = { exports: {} };
|
|
|
1914
1914
|
parse: (k) => {
|
|
1915
1915
|
const T = {};
|
|
1916
1916
|
let M = !1;
|
|
1917
|
-
const L = e.url_converter, R = e.url_converter_scope || S, F = (
|
|
1918
|
-
const st = T[
|
|
1917
|
+
const L = e.url_converter, R = e.url_converter_scope || S, F = (be, me, ke) => {
|
|
1918
|
+
const st = T[be + "-top" + me];
|
|
1919
1919
|
if (!st)
|
|
1920
1920
|
return;
|
|
1921
|
-
const pt = T[
|
|
1921
|
+
const pt = T[be + "-right" + me];
|
|
1922
1922
|
if (!pt)
|
|
1923
1923
|
return;
|
|
1924
|
-
const on = T[
|
|
1924
|
+
const on = T[be + "-bottom" + me];
|
|
1925
1925
|
if (!on)
|
|
1926
1926
|
return;
|
|
1927
|
-
const en = T[
|
|
1927
|
+
const en = T[be + "-left" + me];
|
|
1928
1928
|
if (!en)
|
|
1929
1929
|
return;
|
|
1930
1930
|
const Un = [
|
|
@@ -1936,9 +1936,9 @@ var RK = { exports: {} };
|
|
|
1936
1936
|
let Zn = Un.length - 1;
|
|
1937
1937
|
for (; Zn-- && Un[Zn] === Un[Zn + 1]; )
|
|
1938
1938
|
;
|
|
1939
|
-
Zn > -1 && ke || (T[
|
|
1940
|
-
}, K = (
|
|
1941
|
-
const me = T[
|
|
1939
|
+
Zn > -1 && ke || (T[be + me] = Zn === -1 ? Un[0] : Un.join(" "), delete T[be + "-top" + me], delete T[be + "-right" + me], delete T[be + "-bottom" + me], delete T[be + "-left" + me]);
|
|
1940
|
+
}, K = (be) => {
|
|
1941
|
+
const me = T[be];
|
|
1942
1942
|
if (!me)
|
|
1943
1943
|
return;
|
|
1944
1944
|
const ke = me.indexOf(",") > -1 ? [me] : me.split(" ");
|
|
@@ -1946,10 +1946,10 @@ var RK = { exports: {} };
|
|
|
1946
1946
|
for (; st--; )
|
|
1947
1947
|
if (ke[st] !== ke[0])
|
|
1948
1948
|
return !1;
|
|
1949
|
-
return T[
|
|
1950
|
-
}, Z = (
|
|
1951
|
-
K(me) && K(ke) && K(st) && (T[
|
|
1952
|
-
}, X = (
|
|
1949
|
+
return T[be] = ke[0], !0;
|
|
1950
|
+
}, Z = (be, me, ke, st) => {
|
|
1951
|
+
K(me) && K(ke) && K(st) && (T[be] = T[me] + " " + T[ke] + " " + T[st], delete T[me], delete T[ke], delete T[st]);
|
|
1952
|
+
}, X = (be) => (M = !0, l[be]), ce = (be, me) => (M && (be = be.replace(/\uFEFF[0-9]/g, (ke) => l[ke])), me || (be = be.replace(/\\([\'\";:])/g, "$1")), be), Te = (be) => String.fromCharCode(parseInt(be.slice(1), 16)), Ie = (be) => be.replace(/\\[0-9a-f]+/gi, Te), qe = (be, me, ke, st, pt, on) => {
|
|
1953
1953
|
if (pt = pt || on, pt)
|
|
1954
1954
|
return pt = ce(pt), "'" + pt.replace(/\'/g, "\\'") + "'";
|
|
1955
1955
|
if (me = ce(me || ke || st || ""), !e.allow_script_urls) {
|
|
@@ -1961,10 +1961,10 @@ var RK = { exports: {} };
|
|
|
1961
1961
|
};
|
|
1962
1962
|
if (k) {
|
|
1963
1963
|
k = k.replace(/[\u0000-\u001F]/g, ""), k = k.replace(/\\[\"\';:\uFEFF]/g, X).replace(/\"[^\"]+\"|\'[^\']+\'/g, (me) => me.replace(/[;:]/g, X));
|
|
1964
|
-
let
|
|
1965
|
-
for (;
|
|
1966
|
-
r.lastIndex =
|
|
1967
|
-
let me =
|
|
1964
|
+
let be;
|
|
1965
|
+
for (; be = r.exec(k); ) {
|
|
1966
|
+
r.lastIndex = be.index + be[0].length;
|
|
1967
|
+
let me = be[1].replace(i, "").toLowerCase(), ke = be[2].replace(i, "");
|
|
1968
1968
|
if (me && ke) {
|
|
1969
1969
|
if (me = Ie(me), ke = Ie(ke), me.indexOf(p) !== -1 || me.indexOf('"') !== -1 || !e.allow_script_urls && (me === "behavior" || /expression\s*\(|\/\*|\*\//.test(ke)))
|
|
1970
1970
|
continue;
|
|
@@ -2247,7 +2247,7 @@ var RK = { exports: {} };
|
|
|
2247
2247
|
w: ue.width,
|
|
2248
2248
|
h: ue.height
|
|
2249
2249
|
};
|
|
2250
|
-
}, qe = (le, ue) => ho(e.body, R(le), ue),
|
|
2250
|
+
}, qe = (le, ue) => ho(e.body, R(le), ue), be = (le, ue, Ue) => {
|
|
2251
2251
|
dt(le, (Be) => {
|
|
2252
2252
|
const gt = V.fromDom(Be);
|
|
2253
2253
|
Ev(gt, ue, Ue), n.update_styles && KA(k, gt);
|
|
@@ -2564,7 +2564,7 @@ var RK = { exports: {} };
|
|
|
2564
2564
|
createHTML: fn,
|
|
2565
2565
|
createFragment: jn,
|
|
2566
2566
|
remove: zn,
|
|
2567
|
-
setStyle:
|
|
2567
|
+
setStyle: be,
|
|
2568
2568
|
getStyle: ke,
|
|
2569
2569
|
setStyles: me,
|
|
2570
2570
|
removeAllAttribs: Ss,
|
|
@@ -4094,7 +4094,7 @@ Required: ` + n.join(", "));
|
|
|
4094
4094
|
default: $h.getAttrib(e.getElement(), "placeholder")
|
|
4095
4095
|
});
|
|
4096
4096
|
});
|
|
4097
|
-
}, E_ = et("iframe_attrs"), bO = et("doctype"), T_ = et("document_base_url"), A_ = et("body_id"), kF = et("body_class"), O_ = et("content_security_policy"), EF = et("br_in_pre"), $r = et("forced_root_block"), Ph = et("forced_root_block_attrs"), TF = et("newline_behavior"), AF = et("br_newline_selector"), D_ = et("no_newline_selector"), OF = et("keep_styles"), yO = et("end_container_on_empty_block"), vO = et("automatic_uploads"), Bh = et("images_reuse_filename"), DF = et("images_replace_blob_uris"), xO = et("icons"), NF = et("icons_url"), $F = et("images_upload_url"), PF = et("images_upload_base_path"), N_ = et("images_upload_credentials"), BF = et("images_upload_handler"), kg = et("content_css_cors"), lo = et("referrer_policy"), $_ = et("language"), Jr = et("language_url"), Hv = et("indent_use_margin"), wO = et("indentation"), CO = et("content_css"), Uv = et("content_style"), _O = et("font_css"), RF = et("directionality"), IF = et("inline_boundaries_selector"), SO = et("object_resizing"), MF = et("resize_img_proportional"), LF = et("placeholder"), kO = et("event_root"), FF = et("service_message"), Eg = et("theme"), VF = et("theme_url"), P_ = et("model"), HF = et("model_url"), Rh = et("inline_boundaries"), UF = et("formats"), EO = et("preview_styles"), TO = et("format_empty_lines"), Tg = et("format_noneditable_selector"), AO = et("custom_ui_selector"), B_ = et("inline"), zF = et("hidden_input"), WF = et("submit_patch"), $u = et("add_form_submit_trigger"), zv = et("add_unload_trigger"), Wv = et("custom_undo_redo_levels"), R_ = et("disable_nodechange"), OO = et("readonly"), Pu = et("editable_root"), jv = et("content_css_cors"), Gv = et("plugins"), Bd = et("external_plugins"), qv = et("block_unsupported_drop"), jF = et("visual"), GF = et("visual_table_class"), DO = et("visual_anchor_class"), qF = et("iframe_aria_text"), NO = et("setup"), KF = et("init_instance_callback"), YF = et("urlconverter_callback"), $O = et("auto_focus"), XF = et("browser_spellcheck"), PO = et("protect"), ZF = et("paste_block_drop"), Kv = et("paste_data_images"), JF = et("paste_preprocess"), BO = et("paste_postprocess"), I_ = et("newdocument_content"), RO = et("paste_webkit_styles"), QF = et("paste_remove_styles_if_webkit"), e3 = et("paste_merge_formats"), t3 = et("smart_paste"), n3 = et("paste_as_text"),
|
|
4097
|
+
}, E_ = et("iframe_attrs"), bO = et("doctype"), T_ = et("document_base_url"), A_ = et("body_id"), kF = et("body_class"), O_ = et("content_security_policy"), EF = et("br_in_pre"), $r = et("forced_root_block"), Ph = et("forced_root_block_attrs"), TF = et("newline_behavior"), AF = et("br_newline_selector"), D_ = et("no_newline_selector"), OF = et("keep_styles"), yO = et("end_container_on_empty_block"), vO = et("automatic_uploads"), Bh = et("images_reuse_filename"), DF = et("images_replace_blob_uris"), xO = et("icons"), NF = et("icons_url"), $F = et("images_upload_url"), PF = et("images_upload_base_path"), N_ = et("images_upload_credentials"), BF = et("images_upload_handler"), kg = et("content_css_cors"), lo = et("referrer_policy"), $_ = et("language"), Jr = et("language_url"), Hv = et("indent_use_margin"), wO = et("indentation"), CO = et("content_css"), Uv = et("content_style"), _O = et("font_css"), RF = et("directionality"), IF = et("inline_boundaries_selector"), SO = et("object_resizing"), MF = et("resize_img_proportional"), LF = et("placeholder"), kO = et("event_root"), FF = et("service_message"), Eg = et("theme"), VF = et("theme_url"), P_ = et("model"), HF = et("model_url"), Rh = et("inline_boundaries"), UF = et("formats"), EO = et("preview_styles"), TO = et("format_empty_lines"), Tg = et("format_noneditable_selector"), AO = et("custom_ui_selector"), B_ = et("inline"), zF = et("hidden_input"), WF = et("submit_patch"), $u = et("add_form_submit_trigger"), zv = et("add_unload_trigger"), Wv = et("custom_undo_redo_levels"), R_ = et("disable_nodechange"), OO = et("readonly"), Pu = et("editable_root"), jv = et("content_css_cors"), Gv = et("plugins"), Bd = et("external_plugins"), qv = et("block_unsupported_drop"), jF = et("visual"), GF = et("visual_table_class"), DO = et("visual_anchor_class"), qF = et("iframe_aria_text"), NO = et("setup"), KF = et("init_instance_callback"), YF = et("urlconverter_callback"), $O = et("auto_focus"), XF = et("browser_spellcheck"), PO = et("protect"), ZF = et("paste_block_drop"), Kv = et("paste_data_images"), JF = et("paste_preprocess"), BO = et("paste_postprocess"), I_ = et("newdocument_content"), RO = et("paste_webkit_styles"), QF = et("paste_remove_styles_if_webkit"), e3 = et("paste_merge_formats"), t3 = et("smart_paste"), n3 = et("paste_as_text"), wG = et("paste_tab_spaces"), M_ = et("allow_html_data_urls"), L_ = et("text_patterns"), o3 = et("text_patterns_lookup"), IO = et("noneditable_class"), s3 = et("editable_class"), r3 = et("noneditable_regexp"), a3 = et("preserve_cdata"), i3 = et("highlight_on_focus"), Ag = et("xss_sanitization"), c3 = et("init_content_sync"), l3 = (e) => e.options.isSet("text_patterns_lookup"), u3 = (e) => Me.explode(e.options.get("font_size_style_values")), d3 = (e) => Me.explode(e.options.get("font_size_classes")), m3 = (e) => e.options.get("encoding") === "xml", MO = (e) => Me.explode(e.options.get("images_file_types")), f3 = et("table_tab_navigation"), Ih = et("details_initial_state"), g3 = et("details_serialized_state"), p3 = et("force_hex_color"), Yv = et("sandbox_iframes"), LO = lt, F_ = Pe, FO = (e) => {
|
|
4098
4098
|
const n = e.parentNode;
|
|
4099
4099
|
n && n.removeChild(e);
|
|
4100
4100
|
}, VO = (e) => {
|
|
@@ -4298,7 +4298,7 @@ Required: ` + n.join(", "));
|
|
|
4298
4298
|
(function(e) {
|
|
4299
4299
|
e[e.Backwards = -1] = "Backwards", e[e.Forwards = 1] = "Forwards";
|
|
4300
4300
|
})(Hs || (Hs = {}));
|
|
4301
|
-
const
|
|
4301
|
+
const CG = An, Ru = Pe, ZO = lt, JO = no, $g = xs, wr = Su, Pg = FC, Uh = (e, n) => {
|
|
4302
4302
|
const o = [];
|
|
4303
4303
|
let r = e;
|
|
4304
4304
|
for (; r && r !== n; )
|
|
@@ -4348,7 +4348,7 @@ Required: ` + n.join(", "));
|
|
|
4348
4348
|
if (r && (ef(e) && d.isAtEnd() || Rd(e) && d.isAtStart()) && (r = Ng(r, e, Xe, o, !0), Pg(r, o)))
|
|
4349
4349
|
return G_(e, r);
|
|
4350
4350
|
i = r && Ng(r, e, Pg, o);
|
|
4351
|
-
const v = sa(Ct(Uh(g, o),
|
|
4351
|
+
const v = sa(Ct(Uh(g, o), CG));
|
|
4352
4352
|
return v && (!i || !v.contains(i)) ? (ef(e) ? d = pe.after(v) : d = pe.before(v), d) : i ? G_(e, i) : null;
|
|
4353
4353
|
}, Pl = (e) => ({
|
|
4354
4354
|
next: (n) => n0(Hs.Forwards, n, e),
|
|
@@ -4376,7 +4376,7 @@ Required: ` + n.join(", "));
|
|
|
4376
4376
|
o = o.parentNode;
|
|
4377
4377
|
}
|
|
4378
4378
|
return null;
|
|
4379
|
-
}, D3 = (e) => de(e.start), N3 = (e) => Mt(e, "rng"), $3 = (e) => Mt(e, "id"), Z_ = (e) => Mt(e, "name"), eD = (e) => Me.isArray(e.start), zh = (e) => !Z_(e) && rn(e.forward) ? e.forward : !0, tD = (e, n) => (lt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n),
|
|
4379
|
+
}, D3 = (e) => de(e.start), N3 = (e) => Mt(e, "rng"), $3 = (e) => Mt(e, "id"), Z_ = (e) => Mt(e, "name"), eD = (e) => Me.isArray(e.start), zh = (e) => !Z_(e) && rn(e.forward) ? e.forward : !0, tD = (e, n) => (lt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), _G = (e, n) => {
|
|
4380
4380
|
const o = $.from(Zr(e.getRoot(), n.start)), r = $.from(Zr(e.getRoot(), n.end));
|
|
4381
4381
|
return Ls(o, r, (i, l) => {
|
|
4382
4382
|
const d = e.createRng();
|
|
@@ -4389,7 +4389,7 @@ Required: ` + n.join(", "));
|
|
|
4389
4389
|
var o;
|
|
4390
4390
|
const i = ((o = e.ownerDocument) !== null && o !== void 0 ? o : document).createTextNode(Js);
|
|
4391
4391
|
e.appendChild(i), n.setStart(i, 0), n.setEnd(i, 0);
|
|
4392
|
-
}, B3 = (e) => !e.hasChildNodes(),
|
|
4392
|
+
}, B3 = (e) => !e.hasChildNodes(), SG = (e, n) => Ki(e).fold(Ne, (o) => (n.setStart(o.container(), o.offset()), n.setEnd(o.container(), o.offset()), !0)), nD = (e, n, o) => B3(n) && tf(e, n) ? (P3(n, o), !0) : !1, bn = (e, n, o, r) => {
|
|
4393
4393
|
const i = o[n ? "start" : "end"], l = e.getRoot();
|
|
4394
4394
|
if (i) {
|
|
4395
4395
|
let d = l, g = i[0];
|
|
@@ -4398,7 +4398,7 @@ Required: ` + n.join(", "));
|
|
|
4398
4398
|
if (nD(l, d, r))
|
|
4399
4399
|
return !0;
|
|
4400
4400
|
if (i[p] > v.length - 1)
|
|
4401
|
-
return nD(l, d, r) ? !0 :
|
|
4401
|
+
return nD(l, d, r) ? !0 : SG(d, r);
|
|
4402
4402
|
d = v[i[p]];
|
|
4403
4403
|
}
|
|
4404
4404
|
Pe(d) && (g = Math.min(i[0], d.data.length)), lt(d) && (g = Math.min(i[0], d.childNodes.length)), n ? r.setStart(d, g) : r.setEnd(d, g);
|
|
@@ -4451,7 +4451,7 @@ Required: ` + n.join(", "));
|
|
|
4451
4451
|
if (eD(n))
|
|
4452
4452
|
return J_(o, n);
|
|
4453
4453
|
if (D3(n))
|
|
4454
|
-
return
|
|
4454
|
+
return _G(o, n);
|
|
4455
4455
|
if ($3(n))
|
|
4456
4456
|
return R3(o, n);
|
|
4457
4457
|
if (Z_(n))
|
|
@@ -4896,7 +4896,7 @@ Required: ` + n.join(", "));
|
|
|
4896
4896
|
node: o,
|
|
4897
4897
|
vars: r
|
|
4898
4898
|
});
|
|
4899
|
-
},
|
|
4899
|
+
}, kG = (e, n) => e.dispatch("BeforeSetContent", n), kD = (e, n) => e.dispatch("SetContent", n), J3 = (e, n) => e.dispatch("BeforeGetContent", n), dn = (e, n) => e.dispatch("GetContent", n), Q3 = (e, n) => {
|
|
4900
4900
|
e.dispatch("AutocompleterStart", n);
|
|
4901
4901
|
}, ED = (e, n) => {
|
|
4902
4902
|
e.dispatch("AutocompleterUpdate", n);
|
|
@@ -4953,7 +4953,7 @@ Required: ` + n.join(", "));
|
|
|
4953
4953
|
}, o5 = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, s5 = (e, n) => {
|
|
4954
4954
|
const o = n.dom, r = n.getDoc(), i = document, l = n.getBody();
|
|
4955
4955
|
let d, g, p, v, S, k, T, M, L, R, F, K, Z, X, ce, Te, Ie;
|
|
4956
|
-
const qe = (Le) => Ae(Le) && (Kr(Le) || o.is(Le, "figure.image")),
|
|
4956
|
+
const qe = (Le) => Ae(Le) && (Kr(Le) || o.is(Le, "figure.image")), be = (Le) => rs(Le) || o.hasClass(Le, "mce-preview-object"), me = (Le, Ft) => {
|
|
4957
4957
|
if (o5(Le)) {
|
|
4958
4958
|
const fn = Le.touches[0];
|
|
4959
4959
|
return qe(Le.target) && !yS(fn.clientX, fn.clientY, Ft);
|
|
@@ -4968,7 +4968,7 @@ Required: ` + n.join(", "));
|
|
|
4968
4968
|
] : o.is(Le, "figure.image") ? [Le.querySelector("img")] : [Le], pt = (Le) => {
|
|
4969
4969
|
const Ft = SO(n);
|
|
4970
4970
|
return !Ft || Le.getAttribute("data-mce-resize") === "false" || Le === n.getBody() ? !1 : o.hasClass(Le, "mce-preview-object") && Ae(Le.firstElementChild) ? ka(V.fromDom(Le.firstElementChild), Ft) : ka(V.fromDom(Le), Ft);
|
|
4971
|
-
}, on = (Le) =>
|
|
4971
|
+
}, on = (Le) => be(Le) ? o.create("img", { src: Ze.transparentSrc }) : Le.cloneNode(!0), en = (Le, Ft, fn) => {
|
|
4972
4972
|
if (Ae(fn)) {
|
|
4973
4973
|
const jn = st(Le);
|
|
4974
4974
|
ve(jn, (zn) => {
|
|
@@ -4979,7 +4979,7 @@ Required: ` + n.join(", "));
|
|
|
4979
4979
|
en(Le, "width", Ft), en(Le, "height", fn);
|
|
4980
4980
|
}, Zn = (Le) => {
|
|
4981
4981
|
let Ft, fn, jn, zn, Ss;
|
|
4982
|
-
Ft = Le.screenX - k, fn = Le.screenY - T, X = Ft * v[2] + R, ce = fn * v[3] + F, X = X < 5 ? 5 : X, ce = ce < 5 ? 5 : ce, (qe(d) ||
|
|
4982
|
+
Ft = Le.screenX - k, fn = Le.screenY - T, X = Ft * v[2] + R, ce = fn * v[3] + F, X = X < 5 ? 5 : X, ce = ce < 5 ? 5 : ce, (qe(d) || be(d)) && MF(n) !== !1 ? jn = !ot.modifierPressed(Le) : jn = ot.modifierPressed(Le), jn && (d0(Ft) > d0(fn) ? (ce = Jh(X * K), X = Jh(ce / K)) : (X = Jh(ce / K), ce = Jh(X * K))), Un(g, X, ce), zn = v.startPos.x + Ft, Ss = v.startPos.y + fn, zn = zn > 0 ? zn : 0, Ss = Ss > 0 ? Ss : 0, o.setStyles(p, {
|
|
4983
4983
|
left: zn,
|
|
4984
4984
|
top: Ss,
|
|
4985
4985
|
display: "block"
|
|
@@ -5076,7 +5076,7 @@ Required: ` + n.join(", "));
|
|
|
5076
5076
|
Fn.cancel(), d = g = S = null;
|
|
5077
5077
|
}
|
|
5078
5078
|
};
|
|
5079
|
-
},
|
|
5079
|
+
}, EG = (e, n) => {
|
|
5080
5080
|
n.fold((o) => {
|
|
5081
5081
|
e.setStartBefore(o.dom);
|
|
5082
5082
|
}, (o, r) => {
|
|
@@ -5094,7 +5094,7 @@ Required: ` + n.join(", "));
|
|
|
5094
5094
|
});
|
|
5095
5095
|
}, OD = (e, n, o) => {
|
|
5096
5096
|
const r = e.document.createRange();
|
|
5097
|
-
return
|
|
5097
|
+
return EG(r, n), r5(r, o), r;
|
|
5098
5098
|
}, kt = (e, n, o, r, i) => {
|
|
5099
5099
|
const l = e.document.createRange();
|
|
5100
5100
|
return l.setStart(n.dom, o), l.setEnd(r.dom, i), l;
|
|
@@ -5401,7 +5401,7 @@ Required: ` + n.join(", "));
|
|
|
5401
5401
|
const o = n.owner(e);
|
|
5402
5402
|
return ID(n, o);
|
|
5403
5403
|
};
|
|
5404
|
-
var
|
|
5404
|
+
var OG = /* @__PURE__ */ Object.freeze({
|
|
5405
5405
|
__proto__: null,
|
|
5406
5406
|
view: (e) => {
|
|
5407
5407
|
var n;
|
|
@@ -5410,7 +5410,7 @@ Required: ` + n.join(", "));
|
|
|
5410
5410
|
owner: (e) => Dc(e)
|
|
5411
5411
|
});
|
|
5412
5412
|
const C5 = (e) => {
|
|
5413
|
-
const n = TS(), o = ht(n), r = x5(e,
|
|
5413
|
+
const n = TS(), o = ht(n), r = x5(e, OG), i = $e(e), l = dl(r, (d, g) => {
|
|
5414
5414
|
const p = $e(g);
|
|
5415
5415
|
return {
|
|
5416
5416
|
left: d.left + p.left,
|
|
@@ -5924,12 +5924,12 @@ Required: ` + n.join(", "));
|
|
|
5924
5924
|
ve(n, (o) => {
|
|
5925
5925
|
ys(o, "name");
|
|
5926
5926
|
});
|
|
5927
|
-
},
|
|
5927
|
+
}, DG = (e, n) => {
|
|
5928
5928
|
const o = $r(e), r = new RegExp(`^(<${o}[^>]*>( | |\\s| |<br \\/>|)<\\/${o}>[\r
|
|
5929
5929
|
]*|<br \\/>[\r
|
|
5930
5930
|
]*)$`);
|
|
5931
5931
|
return n.replace(r, "");
|
|
5932
|
-
},
|
|
5932
|
+
}, NG = (e, n) => {
|
|
5933
5933
|
const o = e.getDoc(), r = $c(V.fromDom(e.getBody())), i = V.fromTag("div", o);
|
|
5934
5934
|
ns(i, "data-mce-bogus", "all"), Cd(i, {
|
|
5935
5935
|
position: "fixed",
|
|
@@ -5942,8 +5942,8 @@ Required: ` + n.join(", "));
|
|
|
5942
5942
|
return Pn(i), d;
|
|
5943
5943
|
}, m4 = (e, n, o) => {
|
|
5944
5944
|
let r;
|
|
5945
|
-
return n.format === "raw" ? r = Me.trim(Za(bN(o, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? r =
|
|
5946
|
-
},
|
|
5945
|
+
return n.format === "raw" ? r = Me.trim(Za(bN(o, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? r = NG(e, o) : n.format === "tree" ? r = e.serializer.serialize(o, n) : r = DG(e, e.serializer.serialize(o, n)), n.format !== "text" && !Fs(V.fromDom(o)) && de(r) ? Me.trim(r) : r;
|
|
5946
|
+
}, $G = (e, n) => $.from(e.getBody()).fold(Fe(n.format === "tree" ? new Br("body", 11) : ""), (o) => m4(e, n, o)), f4 = Me.makeMap, yN = (e) => {
|
|
5947
5947
|
const n = [];
|
|
5948
5948
|
e = e || {};
|
|
5949
5949
|
const o = e.indent, r = f4(e.indent_before || ""), i = f4(e.indent_after || ""), l = Ad.getEncodeFunc(e.entity_encoding || "raw", e.entities), d = e.element_format !== "xhtml";
|
|
@@ -6384,7 +6384,7 @@ Required: ` + n.join(", "));
|
|
|
6384
6384
|
return eV(r, n, o) ? r.map((l) => mb.singleCellTable(n, l.start)) : i.isMultiTable ? ec(r, i, n, o) : GN(r, i, n, o);
|
|
6385
6385
|
}, qN = (e) => ve(e, (n) => {
|
|
6386
6386
|
ys(n, "contenteditable"), El(n);
|
|
6387
|
-
}),
|
|
6387
|
+
}), PG = (e, n) => $.from(e.dom.getParent(n, e.dom.isBlock)).map(V.fromDom), uk = (e, n, o) => {
|
|
6388
6388
|
o.each((r) => {
|
|
6389
6389
|
n ? Pn(r) : (El(r), e.selection.setCursorLocation(r.dom, 0));
|
|
6390
6390
|
});
|
|
@@ -6396,7 +6396,7 @@ Required: ` + n.join(", "));
|
|
|
6396
6396
|
ch(o.dom) && Ho(o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && fo(n, (r) => Dn(r, o)) && ns(o, "data-mce-selected", "1");
|
|
6397
6397
|
}, KN = (e, n, o) => $.some(() => {
|
|
6398
6398
|
const r = e.selection.getRng(), i = o.bind(({ rng: l, isStartInTable: d }) => {
|
|
6399
|
-
const g =
|
|
6399
|
+
const g = PG(e, d ? l.endContainer : l.startContainer);
|
|
6400
6400
|
l.deleteContents(), uk(e, d, g.filter(Ho));
|
|
6401
6401
|
const p = d ? n[0] : n[n.length - 1];
|
|
6402
6402
|
return dk(e, p, r, d), Ho(p) ? $.none() : $.some(d ? n.slice(1) : n.slice(0, -1));
|
|
@@ -6671,7 +6671,7 @@ Required: ` + n.join(", "));
|
|
|
6671
6671
|
return l && (l.insertBefore(i[0], e), Me.each(n, (d) => {
|
|
6672
6672
|
l.insertBefore(d, e);
|
|
6673
6673
|
}), l.insertBefore(i[1], e), l.removeChild(e)), Ek(n[n.length - 1], o);
|
|
6674
|
-
},
|
|
6674
|
+
}, BG = (e, n, o) => {
|
|
6675
6675
|
const r = e.parentNode;
|
|
6676
6676
|
return r && Me.each(n, (i) => {
|
|
6677
6677
|
r.insertBefore(i, e);
|
|
@@ -6681,7 +6681,7 @@ Required: ` + n.join(", "));
|
|
|
6681
6681
|
const T = pe.fromRangeStart(o), M = Pl(n.getRoot()), L = k === g ? M.prev(T) : M.next(T), R = L == null ? void 0 : L.getNode();
|
|
6682
6682
|
return R ? Fl(n, R) !== l : !0;
|
|
6683
6683
|
};
|
|
6684
|
-
return l ? S(g) ?
|
|
6684
|
+
return l ? S(g) ? BG(l, d, v) : S(p) ? rV(l, d, v, n) : sV(l, d, v, o) : null;
|
|
6685
6685
|
}, Qc = ["pre"], Ak = (e, n, o, r) => {
|
|
6686
6686
|
var i;
|
|
6687
6687
|
const l = n.firstChild, d = n.lastChild, g = d.attr("data-mce-type") === "bookmark" ? d.prev : d, p = l === g, v = qt(Qc, l.name);
|
|
@@ -6805,9 +6805,9 @@ Required: ` + n.join(", "));
|
|
|
6805
6805
|
n = Z === ce ? ce.innerHTML : d.getOuterHTML(Z);
|
|
6806
6806
|
const Te = g.parse(n), Ie = b$(Te), qe = Ie.bind(i$).getOr(Te);
|
|
6807
6807
|
Ie.each((st) => st.replace(F));
|
|
6808
|
-
const
|
|
6808
|
+
const be = F.children(), me = (i = F.parent) !== null && i !== void 0 ? i : Te;
|
|
6809
6809
|
F.unwrap();
|
|
6810
|
-
const ke = Ct(
|
|
6810
|
+
const ke = Ct(be, (st) => G0(e.schema, st, me));
|
|
6811
6811
|
j0(ke, e.schema, qe), yk(g.getNodeFilters(), g.getAttributeFilters(), Te), n = v.serialize(Te), Z === ce ? d.setHTML(ce, n) : d.setOuterHTML(Z, n);
|
|
6812
6812
|
}
|
|
6813
6813
|
return iV(e, p), lV(e, d.get("mce_marker")), Dk(e.getBody()), g$(d, l.getStart(), e.schema), FA(e.schema, e.getBody(), l.getStart()), n;
|
|
@@ -7429,14 +7429,14 @@ Required: ` + n.join(", "));
|
|
|
7429
7429
|
}, T = (L, R, F) => {
|
|
7430
7430
|
const K = [];
|
|
7431
7431
|
let Z = !0;
|
|
7432
|
-
const X = l.inline || l.block, ce = k(X), Te = (
|
|
7433
|
-
const st = i0(l) && Cs(e.schema,
|
|
7432
|
+
const X = l.inline || l.block, ce = k(X), Te = (be) => a0(l) && Vl(e, be, n, o), Ie = (be, me, ke) => {
|
|
7433
|
+
const st = i0(l) && Cs(e.schema, be) && Lu(e, me, X);
|
|
7434
7434
|
return ke && st;
|
|
7435
|
-
}, qe = (
|
|
7436
|
-
const pt =
|
|
7435
|
+
}, qe = (be, me, ke, st) => {
|
|
7436
|
+
const pt = be.nodeName.toLowerCase(), on = Lu(e, X, pt) && Lu(e, me, X), en = !F && Pe(be) && Aa(be.data), Un = ri(be), Zn = !ms(l) || !L.isBlock(be);
|
|
7437
7437
|
return (ke || st) && on && !en && !Un && Zn;
|
|
7438
7438
|
};
|
|
7439
|
-
Zh(L, R, (
|
|
7439
|
+
Zh(L, R, (be) => {
|
|
7440
7440
|
let me;
|
|
7441
7441
|
const ke = (st) => {
|
|
7442
7442
|
let pt = !1, on = Z, en = !1;
|
|
@@ -7465,13 +7465,13 @@ Required: ` + n.join(", "));
|
|
|
7465
7465
|
}
|
|
7466
7466
|
Ae(ce) && qe(st, Zn, tr, en) ? (me || (me = L.clone(ce, !1), Un.insertBefore(me, st), K.push(me)), en && pt && (Z = on), me.appendChild(st)) : (me = null, ve(js(st.childNodes), ke), pt && (Z = on), me = null);
|
|
7467
7467
|
};
|
|
7468
|
-
ve(
|
|
7469
|
-
}), l.links === !0 && ve(K, (
|
|
7468
|
+
ve(be, ke);
|
|
7469
|
+
}), l.links === !0 && ve(K, (be) => {
|
|
7470
7470
|
const me = (ke) => {
|
|
7471
7471
|
ke.nodeName === "A" && v(ke, l), ve(js(ke.childNodes), me);
|
|
7472
7472
|
};
|
|
7473
|
-
me(
|
|
7474
|
-
}), ve(K, (
|
|
7473
|
+
me(be);
|
|
7474
|
+
}), ve(K, (be) => {
|
|
7475
7475
|
const me = (pt) => {
|
|
7476
7476
|
let on = 0;
|
|
7477
7477
|
return ve(pt.childNodes, (en) => {
|
|
@@ -7480,12 +7480,12 @@ Required: ` + n.join(", "));
|
|
|
7480
7480
|
}, ke = (pt) => Lo(pt.childNodes, cS).filter((en) => L.getContentEditable(en) !== "false" && Cb(L, en, l)).map((en) => {
|
|
7481
7481
|
const Un = L.clone(en, !1);
|
|
7482
7482
|
return v(Un), L.replace(Un, pt, !0), L.remove(en, !0), Un;
|
|
7483
|
-
}).getOr(pt), st = me(
|
|
7484
|
-
if ((K.length > 1 || !L.isBlock(
|
|
7485
|
-
L.remove(
|
|
7483
|
+
}).getOr(pt), st = me(be);
|
|
7484
|
+
if ((K.length > 1 || !L.isBlock(be)) && st === 0) {
|
|
7485
|
+
L.remove(be, !0);
|
|
7486
7486
|
return;
|
|
7487
7487
|
}
|
|
7488
|
-
(ms(l) || Yc(l) && l.wrapper) && (!l.exact && st === 1 && (
|
|
7488
|
+
(ms(l) || Yc(l) && l.wrapper) && (!l.exact && st === 1 && (be = ke(be)), EV(e, i, o, be), TV(e, l, n, o, be), SV(L, l, o, be), _V(L, l, o, be), kV(L, l, o, be), sx(e, l, o, be));
|
|
7489
7489
|
});
|
|
7490
7490
|
}, M = jh(r) ? r : p.getNode();
|
|
7491
7491
|
if (g.getContentEditable(M) === "false" && !Gh(e, M)) {
|
|
@@ -7693,7 +7693,7 @@ Required: ` + n.join(", "));
|
|
|
7693
7693
|
}
|
|
7694
7694
|
}
|
|
7695
7695
|
});
|
|
7696
|
-
},
|
|
7696
|
+
}, RG = (e) => fetch(e).then((n) => n.ok ? n.blob() : Promise.reject()).catch(() => Promise.reject({
|
|
7697
7697
|
message: `Cannot convert ${e} to Blob. Resource might not exist or is inaccessible.`,
|
|
7698
7698
|
uriType: "blob"
|
|
7699
7699
|
})), Tb = (e) => {
|
|
@@ -7724,7 +7724,7 @@ Required: ` + n.join(", "));
|
|
|
7724
7724
|
return $.some(new Blob([i], { type: e }));
|
|
7725
7725
|
}, Ab = (e) => new Promise((n, o) => {
|
|
7726
7726
|
cx(e).bind(({ type: r, data: i, base64Encoded: l }) => cp(r, i, l)).fold(() => o("Invalid data URI"), n);
|
|
7727
|
-
}), Z$ = (e) => Go(e, "blob:") ?
|
|
7727
|
+
}), Z$ = (e) => Go(e, "blob:") ? RG(e) : Go(e, "data:") ? Ab(e) : Promise.reject("Unknown URI format"), LV = (e) => new Promise((n, o) => {
|
|
7728
7728
|
const r = new FileReader();
|
|
7729
7729
|
r.onloadend = () => {
|
|
7730
7730
|
n(r.result);
|
|
@@ -7734,7 +7734,7 @@ Required: ` + n.join(", "));
|
|
|
7734
7734
|
}, r.readAsDataURL(e);
|
|
7735
7735
|
});
|
|
7736
7736
|
let FV = 0;
|
|
7737
|
-
const
|
|
7737
|
+
const IG = (e) => "blobid" + FV++, J$ = (e, n, o) => cx(e).bind(({ data: r, type: i, base64Encoded: l }) => {
|
|
7738
7738
|
if (n && !l)
|
|
7739
7739
|
return $.none();
|
|
7740
7740
|
{
|
|
@@ -7742,7 +7742,7 @@ Required: ` + n.join(", "));
|
|
|
7742
7742
|
return o(d, i);
|
|
7743
7743
|
}
|
|
7744
7744
|
}), Q$ = (e, n, o) => {
|
|
7745
|
-
const r = e.create(
|
|
7745
|
+
const r = e.create(IG(), n, o);
|
|
7746
7746
|
return e.add(r), r;
|
|
7747
7747
|
}, VV = (e, n, o = !1) => J$(n, o, (r, i) => $.from(e.getByData(r, i)).orThunk(() => cp(i, r).map((l) => Q$(e, l, r)))), HV = (e, n) => {
|
|
7748
7748
|
const o = () => Promise.reject("Invalid data URI");
|
|
@@ -7818,7 +7818,7 @@ Required: ` + n.join(", "));
|
|
|
7818
7818
|
}), tP(e, n), n.convert_unsafe_embeds && e.addNodeFilter("object,embed", (i) => ve(i, (l) => {
|
|
7819
7819
|
l.replace(lx(l.attr("type"), l.name === "object" ? l.attr("data") : l.attr("src"), l.attr("width"), l.attr("height"), n.sandbox_iframes));
|
|
7820
7820
|
})), n.sandbox_iframes && e.addNodeFilter("iframe", (i) => ve(i, (l) => l.attr("sandbox", "")));
|
|
7821
|
-
}, { entries: fs, setPrototypeOf: zV, isFrozen:
|
|
7821
|
+
}, { entries: fs, setPrototypeOf: zV, isFrozen: MG, getPrototypeOf: LG, getOwnPropertyDescriptor: FG } = Object;
|
|
7822
7822
|
let { freeze: cs, seal: di, create: zd } = Object, { apply: Wl, construct: Qk } = typeof Reflect < "u" && Reflect;
|
|
7823
7823
|
Wl || (Wl = function(n, o, r) {
|
|
7824
7824
|
return n.apply(o, r);
|
|
@@ -7852,7 +7852,7 @@ Required: ` + n.join(", "));
|
|
|
7852
7852
|
let l = n[i];
|
|
7853
7853
|
if (typeof l == "string") {
|
|
7854
7854
|
const d = o(l);
|
|
7855
|
-
d !== l && (
|
|
7855
|
+
d !== l && (MG(n) || (n[i] = d), l = d);
|
|
7856
7856
|
}
|
|
7857
7857
|
e[l] = !0;
|
|
7858
7858
|
}
|
|
@@ -7866,14 +7866,14 @@ Required: ` + n.join(", "));
|
|
|
7866
7866
|
}
|
|
7867
7867
|
function dx(e, n) {
|
|
7868
7868
|
for (; e !== null; ) {
|
|
7869
|
-
const r =
|
|
7869
|
+
const r = FG(e, n);
|
|
7870
7870
|
if (r) {
|
|
7871
7871
|
if (r.get)
|
|
7872
7872
|
return nc(r.get);
|
|
7873
7873
|
if (typeof r.value == "function")
|
|
7874
7874
|
return nc(r.value);
|
|
7875
7875
|
}
|
|
7876
|
-
e =
|
|
7876
|
+
e = LG(e);
|
|
7877
7877
|
}
|
|
7878
7878
|
function o(r) {
|
|
7879
7879
|
return console.warn("fallback value for", r), null;
|
|
@@ -8537,7 +8537,7 @@ Required: ` + n.join(", "));
|
|
|
8537
8537
|
sn.content && sn.content.ownerDocument && (i = sn.content.ownerDocument);
|
|
8538
8538
|
}
|
|
8539
8539
|
let X, ce = "";
|
|
8540
|
-
const { implementation: Te, createNodeIterator: Ie, createDocumentFragment: qe, getElementsByTagName:
|
|
8540
|
+
const { implementation: Te, createNodeIterator: Ie, createDocumentFragment: qe, getElementsByTagName: be } = i, { importNode: me } = o;
|
|
8541
8541
|
let ke = {};
|
|
8542
8542
|
n.isSupported = typeof fs == "function" && typeof Z == "function" && Te && Te.createHTMLDocument !== void 0;
|
|
8543
8543
|
const { MUSTACHE_EXPR: st, ERB_EXPR: pt, TMPLIT_EXPR: on, DATA_ATTR: en, ARIA_ATTR: Un, IS_SCRIPT_OR_DATA: Zn, ATTR_WHITESPACE: zo } = mp;
|
|
@@ -8743,7 +8743,7 @@ Required: ` + n.join(", "));
|
|
|
8743
8743
|
}
|
|
8744
8744
|
}
|
|
8745
8745
|
const Lr = ut.body || ut.documentElement;
|
|
8746
|
-
return fe && Nt && Lr.insertBefore(i.createTextNode(Nt), Lr.childNodes[0] || null), tu === mc ?
|
|
8746
|
+
return fe && Nt && Lr.insertBefore(i.createTextNode(Nt), Lr.childNodes[0] || null), tu === mc ? be.call(ut, Ss ? "html" : "body")[0] : Ss ? ut.documentElement : Lr;
|
|
8747
8747
|
}, na = function(fe) {
|
|
8748
8748
|
return Ie.call(fe.ownerDocument || fe, fe, v.SHOW_ELEMENT | v.SHOW_COMMENT | v.SHOW_TEXT, null, !1);
|
|
8749
8749
|
}, Rs = function(fe) {
|
|
@@ -9274,7 +9274,7 @@ Required: ` + n.join(", "));
|
|
|
9274
9274
|
sanitize: !0,
|
|
9275
9275
|
...e
|
|
9276
9276
|
}, l = new DOMParser(), d = tH(i, n), g = (X, ce, Te = "html") => {
|
|
9277
|
-
const Ie = Te === "xhtml" ? "application/xhtml+xml" : "text/html", qe = Mt(n.getSpecialElements(), ce.toLowerCase()),
|
|
9277
|
+
const Ie = Te === "xhtml" ? "application/xhtml+xml" : "text/html", qe = Mt(n.getSpecialElements(), ce.toLowerCase()), be = qe ? `<${ce}>${X}</${ce}>` : X, me = Te === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${be}</body></html>` : `<body>${be}</body>`, ke = l.parseFromString(me, Ie).body;
|
|
9278
9278
|
return d.sanitizeHtmlElement(ke, Ie), qe ? ke.firstChild : ke;
|
|
9279
9279
|
}, p = o.addFilter, v = o.getFilters, S = o.removeFilter, k = r.addFilter, T = r.getFilters, M = r.removeFilter, L = (X, ce) => {
|
|
9280
9280
|
G0(n, X) && ce.push(X);
|
|
@@ -9283,15 +9283,15 @@ Required: ` + n.join(", "));
|
|
|
9283
9283
|
return ce.type === 3 || Ie && !Te;
|
|
9284
9284
|
}, F = (X, ce) => {
|
|
9285
9285
|
const Te = SP(_P("script,style,head,html,body,title,meta,param"), n.getBlockElements()), Ie = /^[ \t\r\n]+/, qe = /[ \t\r\n]+$/;
|
|
9286
|
-
let
|
|
9286
|
+
let be = X.firstChild, me = null;
|
|
9287
9287
|
const ke = (st) => {
|
|
9288
9288
|
var pt, on;
|
|
9289
|
-
st && (
|
|
9289
|
+
st && (be = st.firstChild, be && be.type === 3 && (be.value = (pt = be.value) === null || pt === void 0 ? void 0 : pt.replace(Ie, "")), be = st.lastChild, be && be.type === 3 && (be.value = (on = be.value) === null || on === void 0 ? void 0 : on.replace(qe, "")));
|
|
9290
9290
|
};
|
|
9291
9291
|
if (n.isValidChild(X.name, ce.toLowerCase())) {
|
|
9292
|
-
for (;
|
|
9293
|
-
const st =
|
|
9294
|
-
R(Te,
|
|
9292
|
+
for (; be; ) {
|
|
9293
|
+
const st = be.next;
|
|
9294
|
+
R(Te, be) ? (me || (me = new Br(ce, 1), me.attr(i.forced_root_block_attrs), X.insert(me, be)), me.append(be)) : (ke(me), me = null), be = st;
|
|
9295
9295
|
}
|
|
9296
9296
|
ke(me);
|
|
9297
9297
|
}
|
|
@@ -9305,10 +9305,10 @@ Required: ` + n.join(", "));
|
|
|
9305
9305
|
removeNodeFilter: S,
|
|
9306
9306
|
parse: (X, ce = {}) => {
|
|
9307
9307
|
var Te;
|
|
9308
|
-
const Ie = i.validate, qe = (Te = ce.context) !== null && Te !== void 0 ? Te : i.root_name,
|
|
9309
|
-
hh(n,
|
|
9308
|
+
const Ie = i.validate, qe = (Te = ce.context) !== null && Te !== void 0 ? Te : i.root_name, be = g(X, qe, ce.format);
|
|
9309
|
+
hh(n, be);
|
|
9310
9310
|
const me = new Br(qe, 11);
|
|
9311
|
-
$b(me,
|
|
9311
|
+
$b(me, be, n.getSpecialElements(), d.sanitizeNamespaceElement), be.innerHTML = "";
|
|
9312
9312
|
const [ke, st] = nH(me, n, i, ce), pt = [], on = Ie ? (zo) => L(zo, pt) : Ce, en = {
|
|
9313
9313
|
nodes: {},
|
|
9314
9314
|
attributes: {}
|
|
@@ -9375,7 +9375,7 @@ Required: ` + n.join(", "));
|
|
|
9375
9375
|
if (n.no_events)
|
|
9376
9376
|
return ia.value(n);
|
|
9377
9377
|
{
|
|
9378
|
-
const o = la(n.content, (r) =>
|
|
9378
|
+
const o = la(n.content, (r) => kG(e, {
|
|
9379
9379
|
...n,
|
|
9380
9380
|
content: r
|
|
9381
9381
|
}), {
|
|
@@ -9619,7 +9619,7 @@ Required: ` + n.join(", "));
|
|
|
9619
9619
|
}, k1 = (e) => e.type === "fragmented" ? e.fragments.join("") : e.content, E1 = (e) => {
|
|
9620
9620
|
const n = V.fromTag("body", LP());
|
|
9621
9621
|
return ig(n, k1(e)), ve(yr(n, "*[data-mce-bogus]"), ja), ag(n);
|
|
9622
|
-
},
|
|
9622
|
+
}, VG = (e, n) => k1(e) === k1(n), vH = (e, n) => E1(e) === E1(n), T1 = (e, n) => !e || !n ? !1 : VG(e, n) ? !0 : vH(e, n), A1 = (e) => e.get() === 0, _x = (e, n, o) => {
|
|
9623
9623
|
A1(o) && (e.typing = n);
|
|
9624
9624
|
}, VP = (e, n) => {
|
|
9625
9625
|
e.typing && (_x(e, !1, n), e.add());
|
|
@@ -9669,13 +9669,13 @@ Required: ` + n.join(", "));
|
|
|
9669
9669
|
return n.typing && (n.add(), n.typing = !1, _x(n, !1, o)), r.get() > 0 && (r.set(r.get() - 1), i = n.data[r.get()], S1(e, i, !0), e.setDirty(!0), e.dispatch("Undo", { level: i })), i;
|
|
9670
9670
|
}, EH = (e) => {
|
|
9671
9671
|
e.clear(), e.add();
|
|
9672
|
-
},
|
|
9672
|
+
}, HG = (e, n, o) => o.get() > 0 || n.typing && n.data[0] && !T1(Cx(e), n.data[0]), UG = (e, n) => n.get() < e.data.length - 1 && !e.typing, TH = (e, n, o) => (VP(e, n), e.beforeChange(), e.ignore(o), e.add()), AH = (e, n) => {
|
|
9673
9673
|
try {
|
|
9674
9674
|
e.set(e.get() + 1), n();
|
|
9675
9675
|
} finally {
|
|
9676
9676
|
e.set(e.get() - 1);
|
|
9677
9677
|
}
|
|
9678
|
-
},
|
|
9678
|
+
}, zG = (e, n) => {
|
|
9679
9679
|
const o = e.dom, r = Ae(n) ? n : e.getBody();
|
|
9680
9680
|
ve(o.select("table,a", r), (i) => {
|
|
9681
9681
|
switch (i.nodeName) {
|
|
@@ -9703,8 +9703,8 @@ Required: ` + n.join(", "));
|
|
|
9703
9703
|
redo: (n, o) => SH(e, n, o),
|
|
9704
9704
|
clear: (n, o) => CH(e, n, o),
|
|
9705
9705
|
reset: (n) => EH(n),
|
|
9706
|
-
hasUndo: (n, o) =>
|
|
9707
|
-
hasRedo: (n, o) =>
|
|
9706
|
+
hasUndo: (n, o) => HG(e, n, o),
|
|
9707
|
+
hasRedo: (n, o) => UG(n, o),
|
|
9708
9708
|
transact: (n, o, r) => TH(n, o, r),
|
|
9709
9709
|
ignore: (n, o) => AH(n, o),
|
|
9710
9710
|
extra: (n, o, r, i) => _H(e, n, o, r, i)
|
|
@@ -9721,10 +9721,10 @@ Required: ` + n.join(", "));
|
|
|
9721
9721
|
formatChanged: (n, o, r, i, l) => $V(e, n, o, r, i, l)
|
|
9722
9722
|
},
|
|
9723
9723
|
editor: {
|
|
9724
|
-
getContent: (n) =>
|
|
9724
|
+
getContent: (n) => $G(e, n),
|
|
9725
9725
|
setContent: (n, o) => v$(e, n, o),
|
|
9726
9726
|
insertContent: (n, o) => y$(e, n, o),
|
|
9727
|
-
addVisual: (n) =>
|
|
9727
|
+
addVisual: (n) => zG(e, n)
|
|
9728
9728
|
},
|
|
9729
9729
|
selection: { getContent: (n, o) => RP(e, n, o) },
|
|
9730
9730
|
autocompleter: {
|
|
@@ -9828,7 +9828,7 @@ Required: ` + n.join(", "));
|
|
|
9828
9828
|
if (n)
|
|
9829
9829
|
return n;
|
|
9830
9830
|
throw new Error("Failed to get RTC instance not yet initialized.");
|
|
9831
|
-
},
|
|
9831
|
+
}, WG = (e, n, o) => {
|
|
9832
9832
|
_s(e).undoManager.beforeChange(n, o);
|
|
9833
9833
|
}, dr = (e, n, o, r, i, l, d) => _s(e).undoManager.add(n, o, r, i, l, d), zP = (e, n, o, r) => _s(e).undoManager.undo(n, o, r), WP = (e, n, o) => _s(e).undoManager.redo(n, o), jP = (e, n, o) => {
|
|
9834
9834
|
_s(e).undoManager.clear(n, o);
|
|
@@ -9868,7 +9868,7 @@ Required: ` + n.join(", "));
|
|
|
9868
9868
|
set: !0,
|
|
9869
9869
|
selection: !0,
|
|
9870
9870
|
content: n
|
|
9871
|
-
}),
|
|
9871
|
+
}), jG = (e, n) => {
|
|
9872
9872
|
if (n.format !== "raw") {
|
|
9873
9873
|
const o = e.selection.getRng(), r = e.dom.getParent(o.commonAncestorContainer, e.dom.isBlock), i = r ? { context: r.nodeName.toLowerCase() } : {}, l = e.parser.parse(n.content, {
|
|
9874
9874
|
forced_root_block: !1,
|
|
@@ -9881,7 +9881,7 @@ Required: ` + n.join(", "));
|
|
|
9881
9881
|
}, XH = (e, n, o = {}) => {
|
|
9882
9882
|
const r = YH(o, n);
|
|
9883
9883
|
m1(e, r).each((i) => {
|
|
9884
|
-
const l =
|
|
9884
|
+
const l = jG(e, i), d = e.selection.getRng();
|
|
9885
9885
|
KH(d, d.createContextualFragment(l), e.schema), e.selection.setRng(d), nb(e, d), px(e, l, i);
|
|
9886
9886
|
});
|
|
9887
9887
|
}, XP = (e, n, o) => {
|
|
@@ -9987,7 +9987,7 @@ Required: ` + n.join(", "));
|
|
|
9987
9987
|
range: ze,
|
|
9988
9988
|
forward: dt
|
|
9989
9989
|
});
|
|
9990
|
-
}, Te = (ze) => (v(e.getOuterHTML(ze)), ze), Ie = () => cN(r.getBody(), X()), qe = (ze, dt) => q5(e, X(), ze, dt),
|
|
9990
|
+
}, Te = (ze) => (v(e.getOuterHTML(ze)), ze), Ie = () => cN(r.getBody(), X()), qe = (ze, dt) => q5(e, X(), ze, dt), be = () => {
|
|
9991
9991
|
const ze = Z(), dt = ze == null ? void 0 : ze.anchorNode, tn = ze == null ? void 0 : ze.focusNode;
|
|
9992
9992
|
if (!ze || !dt || !tn || Bc(dt) || Bc(tn))
|
|
9993
9993
|
return !0;
|
|
@@ -10013,7 +10013,7 @@ Required: ` + n.join(", "));
|
|
|
10013
10013
|
select: L,
|
|
10014
10014
|
isCollapsed: R,
|
|
10015
10015
|
isEditable: F,
|
|
10016
|
-
isForward:
|
|
10016
|
+
isForward: be,
|
|
10017
10017
|
setNode: Te,
|
|
10018
10018
|
getNode: Ie,
|
|
10019
10019
|
getSel: Z,
|
|
@@ -10027,7 +10027,7 @@ Required: ` + n.join(", "));
|
|
|
10027
10027
|
if (!sD(dt) && s0(r)) {
|
|
10028
10028
|
const tn = eb(e, ze);
|
|
10029
10029
|
return tn.each((cn) => {
|
|
10030
|
-
ce(cn,
|
|
10030
|
+
ce(cn, be());
|
|
10031
10031
|
}), tn.getOr(ze);
|
|
10032
10032
|
}
|
|
10033
10033
|
return ze;
|
|
@@ -10252,14 +10252,14 @@ Required: ` + n.join(", "));
|
|
|
10252
10252
|
], iB = (e, n) => {
|
|
10253
10253
|
const o = Ct(n, (r) => Mt(e, r));
|
|
10254
10254
|
return go(o);
|
|
10255
|
-
},
|
|
10255
|
+
}, GG = (e) => {
|
|
10256
10256
|
const n = iB(e, rB), o = e.forced_root_block;
|
|
10257
10257
|
return (o === !1 || o === "") && n.push("forced_root_block (false only)"), go(n);
|
|
10258
10258
|
}, el = (e) => iB(e, aU), Ex = (e, n) => {
|
|
10259
10259
|
const o = Me.makeMap(e.plugins, " "), i = Ct(n, (l) => Mt(o, l));
|
|
10260
10260
|
return go(i);
|
|
10261
10261
|
}, cU = (e) => Ex(e, iU), lU = (e) => Ex(e, aB.map((n) => n.name)), uU = (e, n) => {
|
|
10262
|
-
const o =
|
|
10262
|
+
const o = GG(e), r = cU(n), i = r.length > 0, l = o.length > 0, d = n.theme === "mobile";
|
|
10263
10263
|
if (i || l || d) {
|
|
10264
10264
|
const g = `
|
|
10265
10265
|
- `, p = d ? `
|
|
@@ -10282,7 +10282,7 @@ Plugins:${d}${r.map(dU).join(d)}` : "", p = l ? `
|
|
|
10282
10282
|
Options:${d}${o.join(d)}` : "";
|
|
10283
10283
|
console.warn("The following deprecated features are currently enabled but will be removed soon." + g + p);
|
|
10284
10284
|
}
|
|
10285
|
-
},
|
|
10285
|
+
}, qG = (e, n) => {
|
|
10286
10286
|
uU(e, n), Rn(e, n);
|
|
10287
10287
|
}, Tx = co.DOM, mU = (e) => {
|
|
10288
10288
|
Tx.setStyle(e.id, "display", e.orgDisplay);
|
|
@@ -10392,7 +10392,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10392
10392
|
getNotifications: S
|
|
10393
10393
|
};
|
|
10394
10394
|
}, wf = Xr.PluginManager, Zu = Xr.ThemeManager;
|
|
10395
|
-
var
|
|
10395
|
+
var YG = () => {
|
|
10396
10396
|
const e = () => {
|
|
10397
10397
|
throw new Error("Theme did not provide a WindowManager implementation.");
|
|
10398
10398
|
};
|
|
@@ -10408,7 +10408,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10408
10408
|
let n = [];
|
|
10409
10409
|
const o = () => {
|
|
10410
10410
|
const R = e.theme;
|
|
10411
|
-
return R && R.getWindowManagerImpl ? R.getWindowManagerImpl() :
|
|
10411
|
+
return R && R.getWindowManagerImpl ? R.getWindowManagerImpl() : YG();
|
|
10412
10412
|
}, r = (R, F) => (...K) => F ? F.apply(R, K) : void 0, i = (R) => {
|
|
10413
10413
|
e.dispatch("OpenWindow", { dialog: R });
|
|
10414
10414
|
}, l = (R) => {
|
|
@@ -10459,7 +10459,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10459
10459
|
]));
|
|
10460
10460
|
}, mi = (e, n, o) => {
|
|
10461
10461
|
Pa(e, n, { message: o }), console.error(o);
|
|
10462
|
-
}, Ox = (e, n, o) => o ? `Failed to load ${e}: ${o} from url ${n}` : `Failed to load ${e} url: ${n}`,
|
|
10462
|
+
}, Ox = (e, n, o) => o ? `Failed to load ${e}: ${o} from url ${n}` : `Failed to load ${e} url: ${n}`, XG = (e, n, o) => {
|
|
10463
10463
|
mi(e, "PluginLoadError", Ox("plugin", n, o));
|
|
10464
10464
|
}, xU = (e, n, o) => {
|
|
10465
10465
|
mi(e, "IconsLoadError", Ox("icons", n, o));
|
|
@@ -10636,17 +10636,17 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10636
10636
|
try {
|
|
10637
10637
|
const Te = () => {
|
|
10638
10638
|
X && (X.close(), ce = Ce);
|
|
10639
|
-
}, Ie = (
|
|
10640
|
-
Te(), e.markUploaded(R.blobUri(),
|
|
10641
|
-
}, qe = (
|
|
10642
|
-
Te(), e.removeFailed(R.blobUri()), v(R.blobUri(), p(R,
|
|
10639
|
+
}, Ie = (be) => {
|
|
10640
|
+
Te(), e.markUploaded(R.blobUri(), be), v(R.blobUri(), g(R, be)), Z(g(R, be));
|
|
10641
|
+
}, qe = (be) => {
|
|
10642
|
+
Te(), e.removeFailed(R.blobUri()), v(R.blobUri(), p(R, be)), Z(p(R, be));
|
|
10643
10643
|
};
|
|
10644
|
-
ce = (
|
|
10645
|
-
|
|
10646
|
-
X = me, me.progressBar.value(
|
|
10644
|
+
ce = (be) => {
|
|
10645
|
+
be < 0 || be > 100 || $.from(X).orThunk(() => $.from(K).map(hc)).each((me) => {
|
|
10646
|
+
X = me, me.progressBar.value(be);
|
|
10647
10647
|
});
|
|
10648
|
-
}, F(R, ce).then(Ie, (
|
|
10649
|
-
qe(de(
|
|
10648
|
+
}, F(R, ce).then(Ie, (be) => {
|
|
10649
|
+
qe(de(be) ? { message: be } : be);
|
|
10650
10650
|
});
|
|
10651
10651
|
} catch (Te) {
|
|
10652
10652
|
Z(p(R, Te));
|
|
@@ -10700,7 +10700,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10700
10700
|
return o.upload(ce, $U(e)).then(d((Te) => {
|
|
10701
10701
|
const Ie = [];
|
|
10702
10702
|
let qe = !1;
|
|
10703
|
-
const
|
|
10703
|
+
const be = vt(Te, (me, ke) => {
|
|
10704
10704
|
const { blobInfo: st, image: pt } = X[ke];
|
|
10705
10705
|
let on = !1;
|
|
10706
10706
|
return me.status && DF(e) ? (me.url && !As(pt.src, me.url) && (qe = !0), n.removeByUri(pt.src), Xu(e) || k(pt, me.url)) : me.error && (me.error.remove && (S(pt.src, Ze.transparentSrc), Ie.push(pt), on = !0), vU(e, me.error.message)), {
|
|
@@ -10716,7 +10716,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10716
10716
|
const ke = rr(me);
|
|
10717
10717
|
Pn(me), ke.each(BU(e)), n.removeByUri(me.dom.src);
|
|
10718
10718
|
});
|
|
10719
|
-
}) : qe && e.undoManager.dispatchChange(),
|
|
10719
|
+
}) : qe && e.undoManager.dispatchChange(), be;
|
|
10720
10720
|
}));
|
|
10721
10721
|
}))), M = () => vO(e) ? T() : Promise.resolve([]), L = (X) => Ts(l, (ce) => ce(X)), R = (X) => {
|
|
10722
10722
|
l.push(X);
|
|
@@ -10732,7 +10732,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
10732
10732
|
if (Ie)
|
|
10733
10733
|
return 'src="' + Ie + '"';
|
|
10734
10734
|
let qe = n.getByUri(Te);
|
|
10735
|
-
return qe || (qe = or(e.editorManager.get(), (
|
|
10735
|
+
return qe || (qe = or(e.editorManager.get(), (be, me) => be || me.editorUpload && me.editorUpload.blobCache.getByUri(Te), void 0)), qe ? 'src="data:' + qe.blob().type + ";base64," + qe.base64() + '"' : ce;
|
|
10736
10736
|
});
|
|
10737
10737
|
return e.on("SetContent", () => {
|
|
10738
10738
|
vO(e) ? M() : F();
|
|
@@ -11367,7 +11367,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
11367
11367
|
data: [],
|
|
11368
11368
|
typing: !1,
|
|
11369
11369
|
beforeChange: () => {
|
|
11370
|
-
|
|
11370
|
+
WG(e, o, n);
|
|
11371
11371
|
},
|
|
11372
11372
|
add: (l, d) => dr(e, i, r, o, n, l, d),
|
|
11373
11373
|
dispatchChange: () => {
|
|
@@ -12154,17 +12154,17 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12154
12154
|
return r;
|
|
12155
12155
|
}
|
|
12156
12156
|
return '<span class="' + o + '" data-mce-content="' + e.dom.encode(i[0]) + '">' + e.dom.encode(typeof i[1] == "string" ? i[1] : i[0]) + "</span>";
|
|
12157
|
-
},
|
|
12157
|
+
}, ZG = (e, n, o) => {
|
|
12158
12158
|
let r = n.length, i = o.content;
|
|
12159
12159
|
if (o.format !== "raw") {
|
|
12160
12160
|
for (; r--; )
|
|
12161
12161
|
i = i.replace(n[r], ER(e, i, IO(e)));
|
|
12162
12162
|
o.content = i;
|
|
12163
12163
|
}
|
|
12164
|
-
},
|
|
12164
|
+
}, JG = (e) => {
|
|
12165
12165
|
const n = "contenteditable", o = " " + Me.trim(s3(e)) + " ", r = " " + Me.trim(IO(e)) + " ", i = OE(o), l = OE(r), d = r3(e);
|
|
12166
12166
|
d.length > 0 && e.on("BeforeSetContent", (g) => {
|
|
12167
|
-
|
|
12167
|
+
ZG(e, d, g);
|
|
12168
12168
|
}), e.parser.addAttributeFilter("class", (g) => {
|
|
12169
12169
|
let p = g.length;
|
|
12170
12170
|
for (; p--; ) {
|
|
@@ -12178,10 +12178,10 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12178
12178
|
!i(v) && !l(v) || (d.length > 0 && v.attr("data-mce-content") ? (v.name = "#text", v.type = 3, v.raw = !0, v.value = v.attr("data-mce-content")) : v.attr(n, null));
|
|
12179
12179
|
}
|
|
12180
12180
|
});
|
|
12181
|
-
},
|
|
12181
|
+
}, QG = (e) => wd(V.fromDom(e.getBody()), "*[data-mce-caret]").map((n) => n.dom).getOrNull(), TR = (e, n) => {
|
|
12182
12182
|
n.hasAttribute("data-mce-caret") && (Sd(n), e.selection.setRng(e.selection.getRng()), e.selection.scrollIntoView(n));
|
|
12183
|
-
},
|
|
12184
|
-
const o =
|
|
12183
|
+
}, eq = (e, n) => {
|
|
12184
|
+
const o = QG(e);
|
|
12185
12185
|
if (o) {
|
|
12186
12186
|
if (n.type === "compositionstart") {
|
|
12187
12187
|
n.preventDefault(), n.stopPropagation(), TR(e, o);
|
|
@@ -12189,9 +12189,9 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12189
12189
|
}
|
|
12190
12190
|
$A(o) && (TR(e, o), e.undoManager.add());
|
|
12191
12191
|
}
|
|
12192
|
-
},
|
|
12193
|
-
e.on("keyup compositionstart", rt(
|
|
12194
|
-
}, AR = An, a8 = (e, n, o) => fE(n, e, o, Wu, Xc, AR),
|
|
12192
|
+
}, tq = (e) => {
|
|
12193
|
+
e.on("keyup compositionstart", rt(eq, e));
|
|
12194
|
+
}, AR = An, a8 = (e, n, o) => fE(n, e, o, Wu, Xc, AR), nq = (e, n, o) => gE(n, e, o, (l) => Wu(l) || _N(l), (l) => Xc(l) || nn(l), AR), i8 = (e) => {
|
|
12195
12195
|
const n = e.dom.create($r(e));
|
|
12196
12196
|
return n.innerHTML = '<br data-mce-bogus="1">', n;
|
|
12197
12197
|
}, ga = (e, n, o) => {
|
|
@@ -12210,7 +12210,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12210
12210
|
return a8(o, e, r).orThunk(() => (ga(e, o, r), $.none()));
|
|
12211
12211
|
}, Qb = (e, n) => {
|
|
12212
12212
|
const o = n ? 1 : -1, r = e.selection.getRng();
|
|
12213
|
-
return
|
|
12213
|
+
return nq(o, e, r).orThunk(() => (ga(e, o, r), $.none()));
|
|
12214
12214
|
}, c8 = (e, n) => {
|
|
12215
12215
|
const o = n ? e.getEnd(!0) : e.getStart(!0);
|
|
12216
12216
|
return HN(o) ? !n : n;
|
|
@@ -12244,10 +12244,10 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12244
12244
|
}, PR = (e) => vt(e, (n) => ({
|
|
12245
12245
|
...$R,
|
|
12246
12246
|
...n
|
|
12247
|
-
})),
|
|
12247
|
+
})), oq = (e) => vt(e, (n) => ({
|
|
12248
12248
|
...$R,
|
|
12249
12249
|
...n
|
|
12250
|
-
})), BR = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, p8 = (e, n) => Fr(PR(e), (o) => BR(o, n) ? [o] : []), h8 = (e, n) => Fr(
|
|
12250
|
+
})), BR = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, p8 = (e, n) => Fr(PR(e), (o) => BR(o, n) ? [o] : []), h8 = (e, n) => Fr(oq(e), (o) => BR(o, n) ? [o] : []), $t = (e, ...n) => () => e.apply(null, n), tm = (e, n) => Lo(p8(e, n), (o) => o.action()), PE = (e, n) => pi(h8(e, n), (o) => o.action()), BE = (e, n) => {
|
|
12251
12251
|
const o = n ? Hs.Forwards : Hs.Backwards, r = e.selection.getRng();
|
|
12252
12252
|
return fE(e, o, r, sb, Gg, rs).exists((i) => (Xl(e, i), !0));
|
|
12253
12253
|
}, RR = (e, n) => {
|
|
@@ -12292,7 +12292,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12292
12292
|
index: l,
|
|
12293
12293
|
all: r
|
|
12294
12294
|
}));
|
|
12295
|
-
}),
|
|
12295
|
+
}), rq = (e, n, o) => v8(e, o).fold(() => ey.none(e), (i) => VR(i.all, e, i.index, 1, n)), x8 = (e, n, o) => v8(e, o).fold(() => ey.none(), (i) => VR(i.all, e, i.index, -1, n)), ow = (e, n) => ({
|
|
12296
12296
|
left: e.left - n,
|
|
12297
12297
|
top: e.top - n,
|
|
12298
12298
|
right: e.right + n * 2,
|
|
@@ -12354,7 +12354,7 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12354
12354
|
}, LE = (e, n, o) => $.from(e.dom.getParent(e.selection.getNode(), "td,th")).bind((r) => $.from(e.dom.getParent(r, "table")).map((i) => o(e, n, i, r))).getOr(!1), GR = (e, n) => LE(e, n, N8), FE = (e, n) => LE(e, n, R8), I8 = (e) => {
|
|
12355
12355
|
const n = Ml.exact(e, 0, e, 0);
|
|
12356
12356
|
return p5(n);
|
|
12357
|
-
}, qR = (e, n, o) => o.fold($.none, $.none, (r, i) => Q5(i).map((l) => I8(l)), (r) => (e.execCommand("mceTableInsertRowAfter"), KR(e, n, r))), KR = (e, n, o) => qR(e, n,
|
|
12357
|
+
}, qR = (e, n, o) => o.fold($.none, $.none, (r, i) => Q5(i).map((l) => I8(l)), (r) => (e.execCommand("mceTableInsertRowAfter"), KR(e, n, r))), KR = (e, n, o) => qR(e, n, rq(o, Qt)), M8 = (e, n, o) => qR(e, n, x8(o, Qt)), gs = (e, n) => {
|
|
12358
12358
|
const o = [
|
|
12359
12359
|
"table",
|
|
12360
12360
|
"li",
|
|
@@ -12757,20 +12757,20 @@ Options:${d}${o.join(d)}` : "";
|
|
|
12757
12757
|
return t6.consolidateArr(l);
|
|
12758
12758
|
},
|
|
12759
12759
|
toString: () => "array(" + e.toString() + ")"
|
|
12760
|
-
}), i6 = (e) => GE((n) => e(n).fold(mr.serror, mr.svalue)),
|
|
12760
|
+
}), i6 = (e) => GE((n) => e(n).fold(mr.serror, mr.svalue)), lq = (e, n, o) => {
|
|
12761
12761
|
const r = n.extract([e], o);
|
|
12762
12762
|
return mr.mapError(r, (i) => ({
|
|
12763
12763
|
input: o,
|
|
12764
12764
|
errors: i
|
|
12765
12765
|
}));
|
|
12766
|
-
}, c6 = (e, n, o) => mr.toResult(
|
|
12766
|
+
}, c6 = (e, n, o) => mr.toResult(lq(e, n, o)), cw = (e) => `Errors:
|
|
12767
12767
|
` + nI(e.errors).join(`
|
|
12768
12768
|
`) + `
|
|
12769
12769
|
|
|
12770
12770
|
Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw = (e, n) => GE((o) => {
|
|
12771
12771
|
const r = typeof o;
|
|
12772
12772
|
return e(o) ? mr.svalue(o) : mr.serror(`Expected type: ${n} but got: ${r}`);
|
|
12773
|
-
}), vI = lw(uo, "number"), uy = lw(de, "string"), l6 = lw(rn, "boolean"), YE = lw(Et, "function"), dy = mI, XE = n6, u6 = (e) => i6((n) => qt(e, n) ? ia.value(n) : ia.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), uw = (e, n) => dy(e, e, cI(), n), xI = (e) => uw(e, uy), wI = (e) => uw(e, YE), d6 = (e, n) => dy(e, e, cI(), bI(n)), dw = (e, n) => dy(e, e, uI(), n), mw = (e) => dw(e, uy), m6 = (e) => dw(e, YE), f6 = (e, n) => dy(e, e, lI(n), yI()), Tp = (e, n, o) => dy(e, e, lI(n), o), CI = (e, n) => Tp(e, n, vI), Bs = (e, n) => Tp(e, n, uy), rl = (e, n, o) => Tp(e, n, u6(o)), ZE = (e, n) => Tp(e, n, l6), _I = (e, n) => Tp(e, n, YE), g6 = (e, n, o) => Tp(e, n, bI(o)), p6 = xI("type"), h6 = wI("fetch"), JE = wI("onAction"), SI = _I("onSetup", () => Ce), Ap = mw("text"),
|
|
12773
|
+
}), vI = lw(uo, "number"), uy = lw(de, "string"), l6 = lw(rn, "boolean"), YE = lw(Et, "function"), dy = mI, XE = n6, u6 = (e) => i6((n) => qt(e, n) ? ia.value(n) : ia.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), uw = (e, n) => dy(e, e, cI(), n), xI = (e) => uw(e, uy), wI = (e) => uw(e, YE), d6 = (e, n) => dy(e, e, cI(), bI(n)), dw = (e, n) => dy(e, e, uI(), n), mw = (e) => dw(e, uy), m6 = (e) => dw(e, YE), f6 = (e, n) => dy(e, e, lI(n), yI()), Tp = (e, n, o) => dy(e, e, lI(n), o), CI = (e, n) => Tp(e, n, vI), Bs = (e, n) => Tp(e, n, uy), rl = (e, n, o) => Tp(e, n, u6(o)), ZE = (e, n) => Tp(e, n, l6), _I = (e, n) => Tp(e, n, YE), g6 = (e, n, o) => Tp(e, n, bI(o)), p6 = xI("type"), h6 = wI("fetch"), JE = wI("onAction"), SI = _I("onSetup", () => Ce), Ap = mw("text"), uq = mw("icon"), b6 = mw("tooltip"), y6 = mw("label"), al = ZE("active", !1), v6 = ZE("enabled", !0), kI = ZE("primary", !1), EI = (e) => f6("columns", e), my = (e) => Bs("type", e), QE = qE([
|
|
12774
12774
|
p6,
|
|
12775
12775
|
xI("trigger"),
|
|
12776
12776
|
CI("minChars", 1),
|
|
@@ -12786,7 +12786,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
12786
12786
|
}), eT = [
|
|
12787
12787
|
v6,
|
|
12788
12788
|
b6,
|
|
12789
|
-
|
|
12789
|
+
uq,
|
|
12790
12790
|
Ap,
|
|
12791
12791
|
SI
|
|
12792
12792
|
], AI = [al].concat(eT), x6 = [
|
|
@@ -12959,7 +12959,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
12959
12959
|
...l,
|
|
12960
12960
|
...r
|
|
12961
12961
|
});
|
|
12962
|
-
}, gy = cT("input"), pw = cT("beforeinput"), N6 = po(), $6 = N6.os, P6 = $6.isMacOS() || $6.isiOS(),
|
|
12962
|
+
}, gy = cT("input"), pw = cT("beforeinput"), N6 = po(), $6 = N6.os, P6 = $6.isMacOS() || $6.isiOS(), fq = N6.browser.isFirefox(), B6 = (e, n, o) => {
|
|
12963
12963
|
const r = o.keyCode === ot.BACKSPACE ? "deleteContentBackward" : "deleteContentForward", i = e.selection.isCollapsed(), l = i ? "character" : "selection", d = (g) => i ? g ? "word" : "line" : "selection";
|
|
12964
12964
|
PE([
|
|
12965
12965
|
{
|
|
@@ -13098,7 +13098,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13098
13098
|
action: $t(Xb, e)
|
|
13099
13099
|
},
|
|
13100
13100
|
...o ? [{
|
|
13101
|
-
keyCode:
|
|
13101
|
+
keyCode: fq ? 224 : 91,
|
|
13102
13102
|
action: $t(Xb, e)
|
|
13103
13103
|
}] : []
|
|
13104
13104
|
] : [
|
|
@@ -13113,7 +13113,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13113
13113
|
action: $t(Xb, e)
|
|
13114
13114
|
}
|
|
13115
13115
|
]
|
|
13116
|
-
], n),
|
|
13116
|
+
], n), gq = (e, n) => {
|
|
13117
13117
|
let o = !1;
|
|
13118
13118
|
e.on("keydown", (r) => {
|
|
13119
13119
|
o = r.keyCode === ot.BACKSPACE, r.isDefaultPrevented() || B6(e, n, r);
|
|
@@ -13278,7 +13278,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13278
13278
|
}, W6 = (e, n) => {
|
|
13279
13279
|
const o = e.dom.getParent(n, "ol,ul,dl");
|
|
13280
13280
|
return o !== null && e.dom.getContentEditableParent(o) === "false";
|
|
13281
|
-
},
|
|
13281
|
+
}, pq = (e, n) => n && n.nodeName === "A" && e.isEmpty(n), py = (e, n) => e.nodeName === n || e.previousSibling && e.previousSibling.nodeName === n, gT = (e, n) => Ae(n) && e.isBlock(n) && !/^(TD|TH|CAPTION|FORM)$/.test(n.nodeName) && !/^(fixed|absolute)/i.test(n.style.position) && e.isEditable(n.parentNode) && e.getContentEditable(n) !== "false", j6 = (e, n, o) => {
|
|
13282
13282
|
var r;
|
|
13283
13283
|
const i = [];
|
|
13284
13284
|
if (!o)
|
|
@@ -13291,7 +13291,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13291
13291
|
}
|
|
13292
13292
|
let d = i.length;
|
|
13293
13293
|
for (; d--; )
|
|
13294
|
-
l = i[d], (!l.hasChildNodes() || l.firstChild === l.lastChild && ((r = l.firstChild) === null || r === void 0 ? void 0 : r.nodeValue) === "" ||
|
|
13294
|
+
l = i[d], (!l.hasChildNodes() || l.firstChild === l.lastChild && ((r = l.firstChild) === null || r === void 0 ? void 0 : r.nodeValue) === "" || pq(e, l)) && e.remove(l);
|
|
13295
13295
|
}, pT = (e, n, o) => Pe(n) ? e ? o === 1 && n.data.charAt(o - 1) === Js ? 0 : o : o === n.data.length - 1 && n.data.charAt(o) === Js ? n.data.length : o : o, HI = (e) => {
|
|
13296
13296
|
const n = e.cloneRange();
|
|
13297
13297
|
return n.setStart(e.startContainer, pT(!0, e.startContainer, e.startOffset)), n.setEnd(e.endContainer, pT(!1, e.endContainer, e.endOffset)), n;
|
|
@@ -13387,7 +13387,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13387
13387
|
}
|
|
13388
13388
|
if (!R && (Ie === e.getBody() || !gT(g, Ie)))
|
|
13389
13389
|
return;
|
|
13390
|
-
const
|
|
13390
|
+
const be = Ie.parentNode;
|
|
13391
13391
|
let me;
|
|
13392
13392
|
if (R)
|
|
13393
13393
|
me = F(k), M.fold(() => {
|
|
@@ -13399,8 +13399,8 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13399
13399
|
me = Sd(Ie), g.isEmpty(Ie) && lT(Ie), Af(e, me), vo(e, me);
|
|
13400
13400
|
else if (K(!1))
|
|
13401
13401
|
me = Z();
|
|
13402
|
-
else if (K(!0) &&
|
|
13403
|
-
me =
|
|
13402
|
+
else if (K(!0) && be) {
|
|
13403
|
+
me = be.insertBefore(F(), Ie);
|
|
13404
13404
|
const ke = tv(V.fromDom(S.startContainer)) && S.collapsed;
|
|
13405
13405
|
vo(e, py(Ie, "HR") || ke ? me : Ie);
|
|
13406
13406
|
} else {
|
|
@@ -13632,13 +13632,13 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13632
13632
|
const l = V.fromText(e);
|
|
13633
13633
|
return n.isAtEnd() ? Pc(i, l) : Ar(i, l), pe(l.dom, e.length);
|
|
13634
13634
|
});
|
|
13635
|
-
}, kw = rt(Sw, Nn), yT = rt(Sw, " "), h9 = (e, n, o) => IN(e, n, o) ? kw(n) : yT(n),
|
|
13635
|
+
}, kw = rt(Sw, Nn), yT = rt(Sw, " "), h9 = (e, n, o) => IN(e, n, o) ? kw(n) : yT(n), bq = (e) => (n) => n.fold((o) => ca(e.dom, pe.before(o)), (o) => Pr(o), (o) => Ki(o), (o) => Qr(e.dom, pe.after(o))), om = (e, n, o) => (r) => IN(e, r, o) ? kw(n) : yT(n), oM = (e) => (n) => {
|
|
13636
13636
|
e.selection.setRng(n.toRange()), e.nodeChanged();
|
|
13637
13637
|
}, b9 = (e, n) => e.isEditable(e.getParent(n, "summary")), y9 = (e) => {
|
|
13638
13638
|
const n = pe.fromRangeStart(e.selection.getRng()), o = V.fromDom(e.getBody());
|
|
13639
13639
|
if (e.selection.isCollapsed()) {
|
|
13640
13640
|
const r = rt(ff, e), i = pe.fromRangeStart(e.selection.getRng());
|
|
13641
|
-
return er(r, e.getBody(), i).bind(
|
|
13641
|
+
return er(r, e.getBody(), i).bind(bq(o)).map((l) => () => om(o, n, e.schema)(l).each(oM(e)));
|
|
13642
13642
|
} else
|
|
13643
13643
|
return $.none();
|
|
13644
13644
|
}, Ew = (e) => {
|
|
@@ -13689,7 +13689,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13689
13689
|
return Zo(null);
|
|
13690
13690
|
{
|
|
13691
13691
|
const n = Iz(e);
|
|
13692
|
-
return p9(e),
|
|
13692
|
+
return p9(e), tq(e), F8(e, n), gq(e, n), JI(e), rM(e), eM(e), x9(e), QI(e, n), _w(e, n), n;
|
|
13693
13693
|
}
|
|
13694
13694
|
};
|
|
13695
13695
|
class C9 {
|
|
@@ -13861,7 +13861,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
13861
13861
|
let o = "<" + e;
|
|
13862
13862
|
const r = Fa(n, (i, l) => l + '="' + Ad.encodeAllRaw(i) + '"');
|
|
13863
13863
|
return r.length && (o += " " + r.join(" ")), o + ">";
|
|
13864
|
-
},
|
|
13864
|
+
}, yq = (e, n, o) => {
|
|
13865
13865
|
const r = e.split(/\n\n/), i = R9(n, o), l = "</" + n + ">", d = vt(r, (p) => p.split(/\n/).join("<br />")), g = (p) => i + p + l;
|
|
13866
13866
|
return d.length === 1 ? d[0] : vt(d, g).join("");
|
|
13867
13867
|
}, vy = "%MCEPASTEBIN%", I9 = (e, n) => {
|
|
@@ -14020,7 +14020,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
14020
14020
|
wM(e, P9(n), i, !1, r);
|
|
14021
14021
|
}, $T = (e, n, o) => {
|
|
14022
14022
|
const r = e.dom.encode(n).replace(/\r\n/g, `
|
|
14023
|
-
`), i = mg(r,
|
|
14023
|
+
`), i = mg(r, wG(e)), l = yq(i, $r(e), Ph(e));
|
|
14024
14024
|
wM(e, l, !1, !0, o);
|
|
14025
14025
|
}, Nf = (e) => {
|
|
14026
14026
|
const n = {};
|
|
@@ -14632,69 +14632,69 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
14632
14632
|
let g;
|
|
14633
14633
|
const p = (qe) => Ae(qe) && o.hasClass(qe, "mce-offscreen-selection"), v = (qe) => qe !== r && ($p(qe) || rs(qe)) && o.isChildOf(qe, r) && o.isEditable(qe.parentNode), S = (qe) => {
|
|
14634
14634
|
qe && n.setRng(qe);
|
|
14635
|
-
}, k = (qe,
|
|
14636
|
-
target:
|
|
14635
|
+
}, k = (qe, be, me, ke = !0) => e.dispatch("ShowCaret", {
|
|
14636
|
+
target: be,
|
|
14637
14637
|
direction: qe,
|
|
14638
14638
|
before: me
|
|
14639
|
-
}).isDefaultPrevented() ? null : (ke && n.scrollIntoView(
|
|
14639
|
+
}).isDefaultPrevented() ? null : (ke && n.scrollIntoView(be, qe === -1), i.show(me, be)), T = (qe) => {
|
|
14640
14640
|
qe.hasAttribute("data-mce-caret") && (Sd(qe), n.scrollIntoView(qe));
|
|
14641
14641
|
}, M = () => {
|
|
14642
|
-
e.on("click", (
|
|
14643
|
-
o.isEditable(
|
|
14644
|
-
}), e.on("blur NewBlock", ce), e.on("ResizeWindow FullscreenStateChanged", i.reposition), e.on("tap", (
|
|
14645
|
-
const me =
|
|
14646
|
-
$p(ke) ? (
|
|
14647
|
-
}, !0), e.on("mousedown", (
|
|
14648
|
-
const me =
|
|
14649
|
-
if (me !== r && me.nodeName !== "HTML" && !o.isChildOf(me, r) || !hU(e,
|
|
14642
|
+
e.on("click", (be) => {
|
|
14643
|
+
o.isEditable(be.target) || (be.preventDefault(), e.focus());
|
|
14644
|
+
}), e.on("blur NewBlock", ce), e.on("ResizeWindow FullscreenStateChanged", i.reposition), e.on("tap", (be) => {
|
|
14645
|
+
const me = be.target, ke = s2(e, me);
|
|
14646
|
+
$p(ke) ? (be.preventDefault(), bp(e, ke).each(X)) : v(me) && bp(e, me).each(X);
|
|
14647
|
+
}, !0), e.on("mousedown", (be) => {
|
|
14648
|
+
const me = be.target;
|
|
14649
|
+
if (me !== r && me.nodeName !== "HTML" && !o.isChildOf(me, r) || !hU(e, be.clientX, be.clientY))
|
|
14650
14650
|
return;
|
|
14651
14651
|
ce(), Ie();
|
|
14652
14652
|
const ke = s2(e, me);
|
|
14653
|
-
$p(ke) ? (
|
|
14654
|
-
|
|
14653
|
+
$p(ke) ? (be.preventDefault(), bp(e, ke).each(X)) : VT(r, be.clientX, be.clientY).each((st) => {
|
|
14654
|
+
be.preventDefault();
|
|
14655
14655
|
const pt = k(1, st.node, st.position === $f.Before, !1);
|
|
14656
14656
|
S(pt), vu(ke) ? ke.focus() : e.getBody().focus();
|
|
14657
14657
|
});
|
|
14658
|
-
}), e.on("keypress", (
|
|
14659
|
-
ot.modifierPressed(
|
|
14660
|
-
}), e.on("GetSelectionRange", (
|
|
14661
|
-
let me =
|
|
14658
|
+
}), e.on("keypress", (be) => {
|
|
14659
|
+
ot.modifierPressed(be) || $p(n.getNode()) && be.preventDefault();
|
|
14660
|
+
}), e.on("GetSelectionRange", (be) => {
|
|
14661
|
+
let me = be.range;
|
|
14662
14662
|
if (g) {
|
|
14663
14663
|
if (!g.parentNode) {
|
|
14664
14664
|
g = null;
|
|
14665
14665
|
return;
|
|
14666
14666
|
}
|
|
14667
|
-
me = me.cloneRange(), me.selectNode(g),
|
|
14667
|
+
me = me.cloneRange(), me.selectNode(g), be.range = me;
|
|
14668
14668
|
}
|
|
14669
|
-
}), e.on("SetSelectionRange", (
|
|
14670
|
-
|
|
14671
|
-
const me = X(
|
|
14672
|
-
me && (
|
|
14673
|
-
});
|
|
14674
|
-
const qe = (
|
|
14675
|
-
e.on("AfterSetSelectionRange", (
|
|
14676
|
-
const me =
|
|
14669
|
+
}), e.on("SetSelectionRange", (be) => {
|
|
14670
|
+
be.range = F(be.range);
|
|
14671
|
+
const me = X(be.range, be.forward);
|
|
14672
|
+
me && (be.range = me);
|
|
14673
|
+
});
|
|
14674
|
+
const qe = (be) => lt(be) && be.id === "mcepastebin";
|
|
14675
|
+
e.on("AfterSetSelectionRange", (be) => {
|
|
14676
|
+
const me = be.range, ke = me.startContainer.parentElement;
|
|
14677
14677
|
!R(me) && !qe(ke) && Ie(), p(ke) || ce();
|
|
14678
14678
|
}), K7(e), o2(e), Y7(e);
|
|
14679
14679
|
}, L = (qe) => Dr(qe) || Hm(qe) || dh(qe), R = (qe) => L(qe.startContainer) || L(qe.endContainer), F = (qe) => {
|
|
14680
|
-
const
|
|
14681
|
-
return Mt(
|
|
14682
|
-
}, K = (qe,
|
|
14680
|
+
const be = e.schema.getVoidElements(), me = o.createRng(), ke = qe.startContainer, st = qe.startOffset, pt = qe.endContainer, on = qe.endOffset;
|
|
14681
|
+
return Mt(be, ke.nodeName.toLowerCase()) ? st === 0 ? me.setStartBefore(ke) : me.setStartAfter(ke) : me.setStart(ke, st), Mt(be, pt.nodeName.toLowerCase()) ? on === 0 ? me.setEndBefore(pt) : me.setEndAfter(pt) : me.setEnd(pt, on), me;
|
|
14682
|
+
}, K = (qe, be) => {
|
|
14683
14683
|
const me = V.fromDom(e.getBody()), ke = e.getDoc(), st = wd(me, "#" + l).getOrThunk(() => {
|
|
14684
14684
|
const en = V.fromHtml('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>', ke);
|
|
14685
14685
|
return ns(en, "id", l), ss(me, en), en;
|
|
14686
14686
|
}), pt = o.createRng();
|
|
14687
14687
|
Cl(st), Kn(st, [
|
|
14688
14688
|
V.fromText(Nn, ke),
|
|
14689
|
-
V.fromDom(
|
|
14689
|
+
V.fromDom(be),
|
|
14690
14690
|
V.fromText(Nn, ke)
|
|
14691
14691
|
]), pt.setStart(st.dom.firstChild, 1), pt.setEnd(st.dom.lastChild, 0), Cd(st, { top: o.getPos(qe, e.getBody()).y + "px" }), zD(st);
|
|
14692
14692
|
const on = n.getSel();
|
|
14693
14693
|
return on && (on.removeAllRanges(), on.addRange(pt)), pt;
|
|
14694
14694
|
}, Z = (qe) => {
|
|
14695
|
-
const
|
|
14695
|
+
const be = qe.cloneNode(!0), me = e.dispatch("ObjectSelected", {
|
|
14696
14696
|
target: qe,
|
|
14697
|
-
targetClone:
|
|
14697
|
+
targetClone: be
|
|
14698
14698
|
});
|
|
14699
14699
|
if (me.isDefaultPrevented())
|
|
14700
14700
|
return null;
|
|
@@ -14702,24 +14702,24 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
14702
14702
|
return ve(yr(V.fromDom(e.getBody()), `*[${d}]`), (pt) => {
|
|
14703
14703
|
Dn(st, pt) || ys(pt, d);
|
|
14704
14704
|
}), o.getAttrib(qe, d) || qe.setAttribute(d, "1"), g = qe, Ie(), ke;
|
|
14705
|
-
}, X = (qe,
|
|
14705
|
+
}, X = (qe, be) => {
|
|
14706
14706
|
if (!qe)
|
|
14707
14707
|
return null;
|
|
14708
14708
|
if (qe.collapsed) {
|
|
14709
14709
|
if (!R(qe)) {
|
|
14710
|
-
const pt =
|
|
14710
|
+
const pt = be ? 1 : -1, on = Hh(pt, r, qe), en = on.getNode(!be);
|
|
14711
14711
|
if (Ae(en)) {
|
|
14712
14712
|
if (Mh(en))
|
|
14713
|
-
return k(pt, en,
|
|
14713
|
+
return k(pt, en, be ? !on.isAtEnd() : !1, !1);
|
|
14714
14714
|
if (Ja(en) && An(en.nextSibling)) {
|
|
14715
14715
|
const Zn = o.createRng();
|
|
14716
14716
|
return Zn.setStart(en, 0), Zn.setEnd(en, 0), Zn;
|
|
14717
14717
|
}
|
|
14718
14718
|
}
|
|
14719
|
-
const Un = on.getNode(
|
|
14719
|
+
const Un = on.getNode(be);
|
|
14720
14720
|
if (Ae(Un)) {
|
|
14721
14721
|
if (Mh(Un))
|
|
14722
|
-
return k(pt, Un,
|
|
14722
|
+
return k(pt, Un, be ? !1 : !on.isAtEnd(), !1);
|
|
14723
14723
|
if (Ja(Un) && An(Un.previousSibling)) {
|
|
14724
14724
|
const Zn = o.createRng();
|
|
14725
14725
|
return Zn.setStart(Un, 1), Zn.setEnd(Un, 1), Zn;
|
|
@@ -15166,7 +15166,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15166
15166
|
T("StyleWithCSS", !1), T("enableInlineTableEditing", !1), SO(e) || T("enableObjectResizing", !1);
|
|
15167
15167
|
};
|
|
15168
15168
|
OO(e) || e.on("BeforeExecCommand mousedown", it);
|
|
15169
|
-
},
|
|
15169
|
+
}, be = () => {
|
|
15170
15170
|
const it = () => {
|
|
15171
15171
|
n(i.select("a:not([data-mce-block])"), (Lt) => {
|
|
15172
15172
|
var Le;
|
|
@@ -15247,7 +15247,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15247
15247
|
de(Le) && /^<img[^>]*>$/.test(Le) && e.dispatch("dragend", new window.DragEvent("dragend", it));
|
|
15248
15248
|
});
|
|
15249
15249
|
}, cn = () => {
|
|
15250
|
-
Ie(), L(), Ze.windowsPhone || st(), v && (F(), X(), me(), zo(), Te(), tr(), S ? (on(), en(), Zn()) : R()), p && (K(), Z(), ce(), qe(),
|
|
15250
|
+
Ie(), L(), Ze.windowsPhone || st(), v && (F(), X(), me(), zo(), Te(), tr(), S ? (on(), en(), Zn()) : R()), p && (K(), Z(), ce(), qe(), be(), pt(), Un(), Te(), tn());
|
|
15251
15251
|
};
|
|
15252
15252
|
return Xu(e) ? dt() : cn(), {
|
|
15253
15253
|
refreshContentEditable: Fn,
|
|
@@ -15442,7 +15442,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15442
15442
|
e.dispatch("SetAttrib", d);
|
|
15443
15443
|
},
|
|
15444
15444
|
force_hex_color: p3(e)
|
|
15445
|
-
}), e.parser = pW(e), e.serializer = nB(gW(e), e), e.selection = qd(e.dom, e.getWin(), e.serializer, e), e.annotator = bS(e), e.formatter = z1(e), e.undoManager = W1(e), e._nodeChangeDispatcher = new C9(e), e._selectionOverrides = X7(e), t8(e), p7(e),
|
|
15445
|
+
}), e.parser = pW(e), e.serializer = nB(gW(e), e), e.selection = qd(e.dom, e.getWin(), e.serializer, e), e.annotator = bS(e), e.formatter = z1(e), e.undoManager = W1(e), e._nodeChangeDispatcher = new C9(e), e._selectionOverrides = X7(e), t8(e), p7(e), JG(e), Xu(e) || (UM(e), dW(e));
|
|
15446
15446
|
const i = w9(e);
|
|
15447
15447
|
Ef(e, i), r8(e), rc(e), m7(e);
|
|
15448
15448
|
const l = DH(e);
|
|
@@ -15613,7 +15613,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15613
15613
|
}, IW = (e, n) => {
|
|
15614
15614
|
const o = (r, i) => {
|
|
15615
15615
|
wf.load(r, i).catch(() => {
|
|
15616
|
-
|
|
15616
|
+
XG(e, i, r);
|
|
15617
15617
|
});
|
|
15618
15618
|
};
|
|
15619
15619
|
Ke(Bd(e), (r, i) => {
|
|
@@ -15779,7 +15779,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15779
15779
|
content: e,
|
|
15780
15780
|
details: {}
|
|
15781
15781
|
};
|
|
15782
|
-
},
|
|
15782
|
+
}, vq = (e, n) => {
|
|
15783
15783
|
const o = e.selection, r = e.dom;
|
|
15784
15784
|
return /^ | $/.test(n) ? XW(r, o.getRng(), n, e.schema) : n;
|
|
15785
15785
|
}, Zw = (e, n) => {
|
|
@@ -15787,7 +15787,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15787
15787
|
const { content: o, details: r } = ZW(n);
|
|
15788
15788
|
m1(e, {
|
|
15789
15789
|
...r,
|
|
15790
|
-
content:
|
|
15790
|
+
content: vq(e, o),
|
|
15791
15791
|
format: "html",
|
|
15792
15792
|
set: !1,
|
|
15793
15793
|
selection: !0
|
|
@@ -15855,9 +15855,9 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15855
15855
|
}, rA = (e, n) => {
|
|
15856
15856
|
const o = Qw(e, n);
|
|
15857
15857
|
e.formatter.toggle("fontname", { value: z2(o) }), e.nodeChanged();
|
|
15858
|
-
}, rj = (e) => Jw(e, (n) => tj(e.getBody(), n.dom)).getOr(""),
|
|
15858
|
+
}, rj = (e) => Jw(e, (n) => tj(e.getBody(), n.dom)).getOr(""), xq = (e, n) => {
|
|
15859
15859
|
e.formatter.toggle("fontsize", { value: Qw(e, n) }), e.nodeChanged();
|
|
15860
|
-
},
|
|
15860
|
+
}, wq = (e) => Jw(e, (n) => sA(e.getBody(), n.dom)).getOr(""), aj = (e) => Jw(e, (n) => {
|
|
15861
15861
|
const o = V.fromDom(e.getBody()), r = qu(n, (l) => $m(l, "line-height"), rt(Dn, o)), i = () => {
|
|
15862
15862
|
const l = parseFloat(zi(n, "line-height")), d = parseFloat(zi(n, "font-size"));
|
|
15863
15863
|
return String(l / d);
|
|
@@ -15883,7 +15883,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15883
15883
|
rA(e, i);
|
|
15884
15884
|
},
|
|
15885
15885
|
FontSize: (o, r, i) => {
|
|
15886
|
-
|
|
15886
|
+
xq(e, i);
|
|
15887
15887
|
},
|
|
15888
15888
|
LineHeight: (o, r, i) => {
|
|
15889
15889
|
W2(e, i);
|
|
@@ -15913,10 +15913,10 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15913
15913
|
e.editorCommands.addCommands({
|
|
15914
15914
|
"Bold,Italic,Underline,Strikethrough,Superscript,Subscript": (o) => n(o),
|
|
15915
15915
|
mceBlockQuote: () => n("blockquote")
|
|
15916
|
-
}, "state"), e.editorCommands.addQueryValueHandler("FontName", () => rj(e)), e.editorCommands.addQueryValueHandler("FontSize", () =>
|
|
15916
|
+
}, "state"), e.editorCommands.addQueryValueHandler("FontName", () => rj(e)), e.editorCommands.addQueryValueHandler("FontSize", () => wq(e)), e.editorCommands.addQueryValueHandler("LineHeight", () => aj(e));
|
|
15917
15917
|
}, lj = (e) => {
|
|
15918
15918
|
ij(e), cj(e);
|
|
15919
|
-
},
|
|
15919
|
+
}, Cq = (e) => {
|
|
15920
15920
|
e.editorCommands.addCommands({
|
|
15921
15921
|
mceAddUndoLevel: () => {
|
|
15922
15922
|
e.undoManager.add();
|
|
@@ -15931,7 +15931,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15931
15931
|
e.undoManager.redo();
|
|
15932
15932
|
}
|
|
15933
15933
|
});
|
|
15934
|
-
},
|
|
15934
|
+
}, _q = (e) => {
|
|
15935
15935
|
e.editorCommands.addCommands({
|
|
15936
15936
|
Indent: () => {
|
|
15937
15937
|
e8(e);
|
|
@@ -15994,16 +15994,16 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
15994
15994
|
const S = uT(e, l, v.dom, d, !1, p);
|
|
15995
15995
|
g(v, V.fromDom(S)), e.selection.setCursorLocation(S, 0), e.dispatch("NewBlock", { newBlock: S }), gy(e, "insertParagraph");
|
|
15996
15996
|
});
|
|
15997
|
-
},
|
|
15997
|
+
}, Sq = (e) => fj(e, !0), kq = (e) => fj(e, !1), gj = (e) => {
|
|
15998
15998
|
e.editorCommands.addCommands({
|
|
15999
15999
|
InsertNewBlockBefore: () => {
|
|
16000
|
-
|
|
16000
|
+
Sq(e);
|
|
16001
16001
|
},
|
|
16002
16002
|
InsertNewBlockAfter: () => {
|
|
16003
|
-
|
|
16003
|
+
kq(e);
|
|
16004
16004
|
}
|
|
16005
16005
|
});
|
|
16006
|
-
},
|
|
16006
|
+
}, Eq = (e) => {
|
|
16007
16007
|
e.editorCommands.addCommands({
|
|
16008
16008
|
insertParagraph: () => {
|
|
16009
16009
|
Of(zI, e);
|
|
@@ -16052,7 +16052,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
16052
16052
|
}
|
|
16053
16053
|
});
|
|
16054
16054
|
}, aA = (e) => {
|
|
16055
|
-
F2(e), YW(e),
|
|
16055
|
+
F2(e), YW(e), Cq(e), pj(e), oA(e), j2(e), _q(e), gj(e), Eq(e), dj(e), lj(e), Mf(e);
|
|
16056
16056
|
}, eC = ["toggleview"], iA = (e) => qt(eC, e.toLowerCase());
|
|
16057
16057
|
class cA {
|
|
16058
16058
|
constructor(n) {
|
|
@@ -16623,7 +16623,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
16623
16623
|
const l = jW(r.defaultOptions, o);
|
|
16624
16624
|
this.options = Oj(i, l), hO(i);
|
|
16625
16625
|
const d = this.options.get;
|
|
16626
|
-
d("deprecation_warnings") &&
|
|
16626
|
+
d("deprecation_warnings") && qG(o, l);
|
|
16627
16627
|
const g = d("suffix");
|
|
16628
16628
|
g && (r.suffix = g), this.suffix = r.suffix;
|
|
16629
16629
|
const p = d("base_url");
|
|
@@ -17216,7 +17216,7 @@ Input object: ` + jE(e.input), KE = (e, n) => sI(e, En(n, qE)), yI = Fe(gI), lw
|
|
|
17216
17216
|
}, G = (t) => {
|
|
17217
17217
|
const s = typeof t;
|
|
17218
17218
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ee(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
17219
|
-
},
|
|
17219
|
+
}, he = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, _e = (t, s) => Oe(t) && ee(t, s, (a, c) => O(a) === c), J = he("string"), Oe = he("object"), mt = (t) => _e(t, Object), Rt = he("array"), xn = U(null), eo = oe("boolean"), jo = U(void 0), xa = (t) => t == null, ko = (t) => !xa(t), Yo = oe("function"), zs = oe("number"), It = (t, s) => {
|
|
17220
17220
|
if (Rt(t)) {
|
|
17221
17221
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
17222
17222
|
if (!s(t[a]))
|
|
@@ -18528,7 +18528,7 @@ Required: ` + s.join(", "));
|
|
|
18528
18528
|
}, ho = (t) => Dr(t), GC = (t, s) => ({
|
|
18529
18529
|
key: t,
|
|
18530
18530
|
value: Sd({ abort: s })
|
|
18531
|
-
}),
|
|
18531
|
+
}), fG = (t, s) => ({
|
|
18532
18532
|
key: t,
|
|
18533
18533
|
value: Sd({ can: s })
|
|
18534
18534
|
}), qC = (t) => ({
|
|
@@ -18588,16 +18588,16 @@ Required: ` + s.join(", "));
|
|
|
18588
18588
|
const s = HA(t);
|
|
18589
18589
|
return VA(s);
|
|
18590
18590
|
}
|
|
18591
|
-
}, Al = (t) => UA(t),
|
|
18591
|
+
}, Al = (t) => UA(t), gG = (t, s, a) => Vn(s, t.element) && !Vn(s, a), pG = ho([fG(Td(), (t, s) => {
|
|
18592
18592
|
const a = s.event, c = a.originator, u = a.target;
|
|
18593
|
-
return
|
|
18593
|
+
return gG(t, c, u) ? (console.warn(Td() + ` did not get interpreted by the desired target.
|
|
18594
18594
|
Originator: ` + Al(c) + `
|
|
18595
18595
|
Target: ` + Al(u) + `
|
|
18596
18596
|
Check the ` + Td() + " event handlers"), !1) : !0;
|
|
18597
18597
|
})]);
|
|
18598
18598
|
var Ad = /* @__PURE__ */ Object.freeze({
|
|
18599
18599
|
__proto__: null,
|
|
18600
|
-
events:
|
|
18600
|
+
events: pG
|
|
18601
18601
|
});
|
|
18602
18602
|
let cr = 0;
|
|
18603
18603
|
const at = (t) => {
|
|
@@ -18890,7 +18890,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ne(s, (a) => a.name),
|
|
|
18890
18890
|
if (s === void 0)
|
|
18891
18891
|
throw new Error("Value.set was undefined");
|
|
18892
18892
|
t.dom.value = s;
|
|
18893
|
-
},
|
|
18893
|
+
}, hG = (t, s, a) => Li(t, s).map((u) => {
|
|
18894
18894
|
if (a.exists((f) => !Vn(f, u))) {
|
|
18895
18895
|
const f = a.map(ra).getOr("span"), h = Ge.fromTag(f);
|
|
18896
18896
|
return vi(u, h), h;
|
|
@@ -18904,9 +18904,9 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ne(s, (a) => a.name),
|
|
|
18904
18904
|
const c = Ne(s, a), u = zr(t);
|
|
18905
18905
|
return Xe(u.slice(c.length), xi), c;
|
|
18906
18906
|
}, iF = (t, s, a, c) => {
|
|
18907
|
-
const u = Li(t, s), m = c(a, u), f =
|
|
18907
|
+
const u = Li(t, s), m = c(a, u), f = hG(t, s, u);
|
|
18908
18908
|
return rF(t, m.element, f), m;
|
|
18909
|
-
},
|
|
18909
|
+
}, bG = (t, s, a) => aF(t, s, (c, u) => iF(t, u, c, a)), yG = (t, s) => aF(t, s, (a, c) => {
|
|
18910
18910
|
const u = Li(t, c);
|
|
18911
18911
|
return rF(t, a, u), a;
|
|
18912
18912
|
}), Gi = (t, s) => {
|
|
@@ -18936,7 +18936,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ne(s, (a) => a.name),
|
|
|
18936
18936
|
gg(s, ne);
|
|
18937
18937
|
}, Y = () => {
|
|
18938
18938
|
const ne = t.domChildren;
|
|
18939
|
-
|
|
18939
|
+
yG(s, ne);
|
|
18940
18940
|
}, q = () => {
|
|
18941
18941
|
const ne = s, De = t.value.getOrUndefined();
|
|
18942
18942
|
De !== Ol(ne) && xg(ne, De ?? "");
|
|
@@ -19330,7 +19330,7 @@ Receiver: ` + Al(s.element), x, m.data);
|
|
|
19330
19330
|
}), fO = (t, s, a, c, u, m) => {
|
|
19331
19331
|
const f = ao(t), h = Ya(s, [Fm("config", t)]);
|
|
19332
19332
|
return qc(f, h, s, a, c, u, m);
|
|
19333
|
-
},
|
|
19333
|
+
}, vG = (t, s, a, c, u, m) => {
|
|
19334
19334
|
const f = t, h = Ya(s, [kl("config", t)]);
|
|
19335
19335
|
return qc(f, h, s, a, c, u, m);
|
|
19336
19336
|
}, ia = (t, s, a) => ZC((u, ...m) => {
|
|
@@ -19345,14 +19345,14 @@ Receiver: ` + Al(s.element), x, m.data);
|
|
|
19345
19345
|
h.state
|
|
19346
19346
|
].concat(b));
|
|
19347
19347
|
});
|
|
19348
|
-
}, a, s),
|
|
19348
|
+
}, a, s), xG = (t) => ({
|
|
19349
19349
|
key: t,
|
|
19350
19350
|
value: void 0
|
|
19351
19351
|
}), qc = (t, s, a, c, u, m, f) => {
|
|
19352
19352
|
const h = (E) => gr(E, a) ? E[a]() : w.none(), b = go(u, (E, A) => ia(a, E, A)), C = {
|
|
19353
19353
|
...go(m, (E, A) => Cv(E, A)),
|
|
19354
19354
|
...b,
|
|
19355
|
-
revoke: Qe(
|
|
19355
|
+
revoke: Qe(xG, a),
|
|
19356
19356
|
config: (E) => {
|
|
19357
19357
|
const A = Kr(a + "-config", t, E);
|
|
19358
19358
|
return {
|
|
@@ -19392,7 +19392,7 @@ Receiver: ` + Al(s.element), x, m.data);
|
|
|
19392
19392
|
ae("extra", {})
|
|
19393
19393
|
]), S_ = (t) => {
|
|
19394
19394
|
const s = Kr("Creating behaviour: " + t.name, CF, t);
|
|
19395
|
-
return
|
|
19395
|
+
return vG(An(s.branchKey, s.branches), s.name, s.active, s.apis, s.extra, s.state);
|
|
19396
19396
|
}, gO = Q(void 0), Da = Qs({
|
|
19397
19397
|
fields: xF,
|
|
19398
19398
|
name: "receiving",
|
|
@@ -20869,7 +20869,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
20869
20869
|
m0(t, s).each((c) => {
|
|
20870
20870
|
Qh(t, s, a, c);
|
|
20871
20871
|
});
|
|
20872
|
-
},
|
|
20872
|
+
}, TG = (t, s, a) => {
|
|
20873
20873
|
$D(t, s).each((c) => {
|
|
20874
20874
|
Qh(t, s, a, c);
|
|
20875
20875
|
});
|
|
@@ -20906,7 +20906,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
20906
20906
|
dehighlight: a5,
|
|
20907
20907
|
highlight: Qh,
|
|
20908
20908
|
highlightFirst: i5,
|
|
20909
|
-
highlightLast:
|
|
20909
|
+
highlightLast: TG,
|
|
20910
20910
|
highlightAt: ND,
|
|
20911
20911
|
highlightBy: c5,
|
|
20912
20912
|
isHighlighted: _S,
|
|
@@ -21078,7 +21078,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
21078
21078
|
yn(Il)
|
|
21079
21079
|
]), TS)] : []);
|
|
21080
21080
|
}, x5 = (t, s, a, c) => a.useSpace && !sf(t.element) ? [_n(yn(Ba), zg)] : [];
|
|
21081
|
-
var
|
|
21081
|
+
var AG = Ld(v5, Wc.init, ID, x5, () => w.none());
|
|
21082
21082
|
const w5 = () => {
|
|
21083
21083
|
const t = lo();
|
|
21084
21084
|
return ei({
|
|
@@ -21319,7 +21319,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
21319
21319
|
_n(yn(g0), a.onEscape)
|
|
21320
21320
|
];
|
|
21321
21321
|
var Q5 = Ld(Z5, Wc.init, J5, lN, (t) => t.focusIn);
|
|
21322
|
-
const e4 = h0.schema(), t4 = b0.schema(), uN = I5.schema(), n4 = N5.schema(), o4 = rN.schema(), dN =
|
|
21322
|
+
const e4 = h0.schema(), t4 = b0.schema(), uN = I5.schema(), n4 = N5.schema(), o4 = rN.schema(), dN = AG.schema(), s4 = X5.schema(), r4 = Q5.schema();
|
|
21323
21323
|
var E0 = /* @__PURE__ */ Object.freeze({
|
|
21324
21324
|
__proto__: null,
|
|
21325
21325
|
acyclic: e4,
|
|
@@ -21357,7 +21357,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
21357
21357
|
}, t.element);
|
|
21358
21358
|
}, mN = (t, s) => {
|
|
21359
21359
|
et(() => {
|
|
21360
|
-
O3(t, s, () =>
|
|
21360
|
+
O3(t, s, () => bG(t.element, s, t.getSystem().buildOrPatch));
|
|
21361
21361
|
}, t.element);
|
|
21362
21362
|
}, fN = (t, s, a, c) => {
|
|
21363
21363
|
q_(s);
|
|
@@ -23122,10 +23122,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23122
23122
|
enumerable: !0,
|
|
23123
23123
|
value: !1
|
|
23124
23124
|
}
|
|
23125
|
-
})), Us = null, ba = null, Bi = !0, gc = !0, mm = !1, zf = !0, ll = !1, od = !1, Ry = !1, wA = !1, Hp = !1, mC = !1, mL = !1,
|
|
23125
|
+
})), Us = null, ba = null, Bi = !0, gc = !0, mm = !1, zf = !0, ll = !1, od = !1, Ry = !1, wA = !1, Hp = !1, mC = !1, mL = !1, Pq = !0, Bq = !1;
|
|
23126
23126
|
const gK = "user-content-";
|
|
23127
23127
|
let nG = !0, CA = !1, fC = {}, gC = null;
|
|
23128
|
-
const
|
|
23128
|
+
const Rq = mn({}, [
|
|
23129
23129
|
"annotation-xml",
|
|
23130
23130
|
"audio",
|
|
23131
23131
|
"colgroup",
|
|
@@ -23152,8 +23152,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23152
23152
|
"video",
|
|
23153
23153
|
"xmp"
|
|
23154
23154
|
]);
|
|
23155
|
-
let
|
|
23156
|
-
const
|
|
23155
|
+
let Iq = null;
|
|
23156
|
+
const Mq = mn({}, [
|
|
23157
23157
|
"audio",
|
|
23158
23158
|
"video",
|
|
23159
23159
|
"img",
|
|
@@ -23162,7 +23162,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23162
23162
|
"track"
|
|
23163
23163
|
]);
|
|
23164
23164
|
let oG = null;
|
|
23165
|
-
const
|
|
23165
|
+
const Lq = mn({}, [
|
|
23166
23166
|
"alt",
|
|
23167
23167
|
"class",
|
|
23168
23168
|
"for",
|
|
@@ -23190,11 +23190,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23190
23190
|
"text/html"
|
|
23191
23191
|
], bK = "text/html";
|
|
23192
23192
|
let ya, hC = null;
|
|
23193
|
-
const yK = u.createElement("form"),
|
|
23193
|
+
const yK = u.createElement("form"), Fq = function(ge) {
|
|
23194
23194
|
return ge instanceof RegExp || ge instanceof Function;
|
|
23195
23195
|
}, aG = function(ge) {
|
|
23196
23196
|
if (!(hC && hC === ge)) {
|
|
23197
|
-
if ((!ge || typeof ge != "object") && (ge = {}), ge = gf(ge), Iy = hK.indexOf(ge.PARSER_MEDIA_TYPE) === -1 ? Iy = bK : Iy = ge.PARSER_MEDIA_TYPE, ya = Iy === "application/xhtml+xml" ? Gu : B0, Vt = "ALLOWED_TAGS" in ge ? mn({}, ge.ALLOWED_TAGS, ya) : _t, Wt = "ALLOWED_ATTR" in ge ? mn({}, ge.ALLOWED_ATTR, ya) : Gn, rG = "ALLOWED_NAMESPACES" in ge ? mn({}, ge.ALLOWED_NAMESPACES, Gu) : pK, oG = "ADD_URI_SAFE_ATTR" in ge ? mn(gf(
|
|
23197
|
+
if ((!ge || typeof ge != "object") && (ge = {}), ge = gf(ge), Iy = hK.indexOf(ge.PARSER_MEDIA_TYPE) === -1 ? Iy = bK : Iy = ge.PARSER_MEDIA_TYPE, ya = Iy === "application/xhtml+xml" ? Gu : B0, Vt = "ALLOWED_TAGS" in ge ? mn({}, ge.ALLOWED_TAGS, ya) : _t, Wt = "ALLOWED_ATTR" in ge ? mn({}, ge.ALLOWED_ATTR, ya) : Gn, rG = "ALLOWED_NAMESPACES" in ge ? mn({}, ge.ALLOWED_NAMESPACES, Gu) : pK, oG = "ADD_URI_SAFE_ATTR" in ge ? mn(gf(Lq), ge.ADD_URI_SAFE_ATTR, ya) : Lq, Iq = "ADD_DATA_URI_TAGS" in ge ? mn(gf(Mq), ge.ADD_DATA_URI_TAGS, ya) : Mq, gC = "FORBID_CONTENTS" in ge ? mn({}, ge.FORBID_CONTENTS, ya) : Rq, Us = "FORBID_TAGS" in ge ? mn({}, ge.FORBID_TAGS, ya) : {}, ba = "FORBID_ATTR" in ge ? mn({}, ge.FORBID_ATTR, ya) : {}, fC = "USE_PROFILES" in ge ? ge.USE_PROFILES : !1, Bi = ge.ALLOW_ARIA_ATTR !== !1, gc = ge.ALLOW_DATA_ATTR !== !1, mm = ge.ALLOW_UNKNOWN_PROTOCOLS || !1, zf = ge.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ll = ge.SAFE_FOR_TEMPLATES || !1, od = ge.WHOLE_DOCUMENT || !1, Hp = ge.RETURN_DOM || !1, mC = ge.RETURN_DOM_FRAGMENT || !1, mL = ge.RETURN_TRUSTED_TYPE || !1, wA = ge.FORCE_BODY || !1, Pq = ge.SANITIZE_DOM !== !1, Bq = ge.SANITIZE_NAMED_PROPS || !1, nG = ge.KEEP_CONTENT !== !1, CA = ge.IN_PLACE || !1, Bt = ge.ALLOWED_URI_REGEXP || sk, pC = ge.NAMESPACE || Wf, vn = ge.CUSTOM_ELEMENT_HANDLING || {}, ge.CUSTOM_ELEMENT_HANDLING && Fq(ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (vn.tagNameCheck = ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ge.CUSTOM_ELEMENT_HANDLING && Fq(ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (vn.attributeNameCheck = ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ge.CUSTOM_ELEMENT_HANDLING && typeof ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (vn.allowCustomizedBuiltInElements = ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ll && (gc = !1), mC && (Hp = !0), fC && (Vt = mn({}, [...ub]), Wt = [], fC.html === !0 && (mn(Vt, QS), mn(Wt, R0)), fC.svg === !0 && (mn(Vt, ek), mn(Wt, I0), mn(Wt, db)), fC.svgFilters === !0 && (mn(Vt, lb), mn(Wt, I0), mn(Wt, db)), fC.mathMl === !0 && (mn(Vt, tk), mn(Wt, nk), mn(Wt, db))), ge.ADD_TAGS && (Vt === _t && (Vt = gf(Vt)), mn(Vt, ge.ADD_TAGS, ya)), ge.ADD_ATTR && (Wt === Gn && (Wt = gf(Wt)), mn(Wt, ge.ADD_ATTR, ya)), ge.ADD_URI_SAFE_ATTR && mn(oG, ge.ADD_URI_SAFE_ATTR, ya), ge.FORBID_CONTENTS && (gC === Rq && (gC = gf(gC)), mn(gC, ge.FORBID_CONTENTS, ya)), nG && (Vt["#text"] = !0), od && mn(Vt, [
|
|
23198
23198
|
"html",
|
|
23199
23199
|
"head",
|
|
23200
23200
|
"body"
|
|
@@ -23208,13 +23208,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23208
23208
|
ne === void 0 && (ne = mb(P, c)), ne !== null && typeof De == "string" && (De = ne.createHTML(""));
|
|
23209
23209
|
Ra && Ra(ge), hC = ge;
|
|
23210
23210
|
}
|
|
23211
|
-
},
|
|
23211
|
+
}, Vq = mn({}, [
|
|
23212
23212
|
"mi",
|
|
23213
23213
|
"mo",
|
|
23214
23214
|
"mn",
|
|
23215
23215
|
"ms",
|
|
23216
23216
|
"mtext"
|
|
23217
|
-
]),
|
|
23217
|
+
]), Hq = mn({}, [
|
|
23218
23218
|
"foreignobject",
|
|
23219
23219
|
"desc",
|
|
23220
23220
|
"title",
|
|
@@ -23236,7 +23236,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23236
23236
|
tagName: "template"
|
|
23237
23237
|
});
|
|
23238
23238
|
const Ht = B0(ge.tagName), ls = B0(ft.tagName);
|
|
23239
|
-
return rG[ge.namespaceURI] ? ge.namespaceURI === gL ? ft.namespaceURI === Wf ? Ht === "svg" : ft.namespaceURI === fL ? Ht === "svg" && (ls === "annotation-xml" ||
|
|
23239
|
+
return rG[ge.namespaceURI] ? ge.namespaceURI === gL ? ft.namespaceURI === Wf ? Ht === "svg" : ft.namespaceURI === fL ? Ht === "svg" && (ls === "annotation-xml" || Vq[ls]) : !!pL[Ht] : ge.namespaceURI === fL ? ft.namespaceURI === Wf ? Ht === "math" : ft.namespaceURI === gL ? Ht === "math" && Hq[ls] : !!iG[Ht] : ge.namespaceURI === Wf ? ft.namespaceURI === gL && !Hq[ls] || ft.namespaceURI === fL && !Vq[ls] ? !1 : !iG[Ht] && (vK[Ht] || !pL[Ht]) : !!(Iy === "application/xhtml+xml" && rG[ge.namespaceURI]) : !1;
|
|
23240
23240
|
}, My = function(ge) {
|
|
23241
23241
|
ib(s.removed, { element: ge });
|
|
23242
23242
|
try {
|
|
@@ -23267,7 +23267,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23267
23267
|
ft.setAttribute(ge, "");
|
|
23268
23268
|
} catch {
|
|
23269
23269
|
}
|
|
23270
|
-
},
|
|
23270
|
+
}, Uq = function(ge) {
|
|
23271
23271
|
let ft, Ht;
|
|
23272
23272
|
if (wA)
|
|
23273
23273
|
ge = "<remove></remove>" + ge;
|
|
@@ -23291,7 +23291,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23291
23291
|
}
|
|
23292
23292
|
const va = ft.body || ft.documentElement;
|
|
23293
23293
|
return ge && Ht && va.insertBefore(u.createTextNode(Ht), va.childNodes[0] || null), pC === Wf ? We.call(ft, od ? "html" : "body")[0] : od ? ft.documentElement : va;
|
|
23294
|
-
},
|
|
23294
|
+
}, zq = function(ge) {
|
|
23295
23295
|
return ye.call(ge.ownerDocument || ge, ge, x.SHOW_ELEMENT | x.SHOW_COMMENT | x.SHOW_TEXT, null, !1);
|
|
23296
23296
|
}, wK = function(ge) {
|
|
23297
23297
|
return ge instanceof E && (typeof ge.nodeName != "string" || typeof ge.textContent != "string" || typeof ge.removeChild != "function" || !(ge.attributes instanceof C) || typeof ge.removeAttribute != "function" || typeof ge.setAttribute != "function" || typeof ge.namespaceURI != "string" || typeof ge.insertBefore != "function" || typeof ge.hasChildNodes != "function");
|
|
@@ -23301,7 +23301,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23301
23301
|
tt[ge] && H4(tt[ge], (ls) => {
|
|
23302
23302
|
ls.call(s, ft, Ht, hC);
|
|
23303
23303
|
});
|
|
23304
|
-
},
|
|
23304
|
+
}, Wq = function(ge) {
|
|
23305
23305
|
let ft;
|
|
23306
23306
|
if (jf("beforeSanitizeElements", ge, null), wK(ge))
|
|
23307
23307
|
return My(ge), !0;
|
|
@@ -23312,7 +23312,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23312
23312
|
}), ge.hasChildNodes() && !hL(ge.firstElementChild) && (!hL(ge.content) || !hL(ge.content.firstElementChild)) && _i(/<[/\w]/g, ge.innerHTML) && _i(/<[/\w]/g, ge.textContent))
|
|
23313
23313
|
return My(ge), !0;
|
|
23314
23314
|
if (!Vt[Ht] || Us[Ht]) {
|
|
23315
|
-
if (!Us[Ht] &&
|
|
23315
|
+
if (!Us[Ht] && Gq(Ht) && (vn.tagNameCheck instanceof RegExp && _i(vn.tagNameCheck, Ht) || vn.tagNameCheck instanceof Function && vn.tagNameCheck(Ht)))
|
|
23316
23316
|
return !1;
|
|
23317
23317
|
if (nG && !gC[Ht]) {
|
|
23318
23318
|
const ls = q(ge) || ge.parentNode, va = Y(ge) || ge.childNodes;
|
|
@@ -23325,17 +23325,17 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23325
23325
|
return My(ge), !0;
|
|
23326
23326
|
}
|
|
23327
23327
|
return ge instanceof b && !xK(ge) || (Ht === "noscript" || Ht === "noembed" || Ht === "noframes") && _i(/<\/no(script|embed|frames)/i, ge.innerHTML) ? (My(ge), !0) : (ll && ge.nodeType === 3 && (ft = ge.textContent, ft = Jc(ft, Pt, " "), ft = Jc(ft, At, " "), ft = Jc(ft, $n, " "), ge.textContent !== ft && (ib(s.removed, { element: ge.cloneNode() }), ge.textContent = ft)), jf("afterSanitizeElements", ge, null), !1);
|
|
23328
|
-
},
|
|
23329
|
-
if (
|
|
23328
|
+
}, jq = function(ge, ft, Ht) {
|
|
23329
|
+
if (Pq && (ft === "id" || ft === "name") && (Ht in u || Ht in yK))
|
|
23330
23330
|
return !1;
|
|
23331
23331
|
if (!(gc && !ba[ft] && _i(wt, ft))) {
|
|
23332
23332
|
if (!(Bi && _i(gn, ft))) {
|
|
23333
23333
|
if (!Wt[ft] || ba[ft]) {
|
|
23334
|
-
if (!(
|
|
23334
|
+
if (!(Gq(ge) && (vn.tagNameCheck instanceof RegExp && _i(vn.tagNameCheck, ge) || vn.tagNameCheck instanceof Function && vn.tagNameCheck(ge)) && (vn.attributeNameCheck instanceof RegExp && _i(vn.attributeNameCheck, ft) || vn.attributeNameCheck instanceof Function && vn.attributeNameCheck(ft)) || ft === "is" && vn.allowCustomizedBuiltInElements && (vn.tagNameCheck instanceof RegExp && _i(vn.tagNameCheck, Ht) || vn.tagNameCheck instanceof Function && vn.tagNameCheck(Ht))))
|
|
23335
23335
|
return !1;
|
|
23336
23336
|
} else if (!oG[ft]) {
|
|
23337
23337
|
if (!_i(Bt, Jc(Ht, ct, ""))) {
|
|
23338
|
-
if (!((ft === "src" || ft === "xlink:href" || ft === "href") && ge !== "script" && ff(Ht, "data:") === 0 &&
|
|
23338
|
+
if (!((ft === "src" || ft === "xlink:href" || ft === "href") && ge !== "script" && ff(Ht, "data:") === 0 && Iq[ge])) {
|
|
23339
23339
|
if (!(mm && !_i(je, Jc(Ht, ct, "")))) {
|
|
23340
23340
|
if (Ht)
|
|
23341
23341
|
return !1;
|
|
@@ -23346,9 +23346,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23346
23346
|
}
|
|
23347
23347
|
}
|
|
23348
23348
|
return !0;
|
|
23349
|
-
}, jq = function(ge) {
|
|
23350
|
-
return ge.indexOf("-") > 0;
|
|
23351
23349
|
}, Gq = function(ge) {
|
|
23350
|
+
return ge.indexOf("-") > 0;
|
|
23351
|
+
}, qq = function(ge) {
|
|
23352
23352
|
let ft, Ht, ls, va;
|
|
23353
23353
|
jf("beforeSanitizeAttributes", ge, null);
|
|
23354
23354
|
const { attributes: su } = ge;
|
|
@@ -23376,13 +23376,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23376
23376
|
continue;
|
|
23377
23377
|
}
|
|
23378
23378
|
ll && (Ht = Jc(Ht, Pt, " "), Ht = Jc(Ht, At, " "), Ht = Jc(Ht, $n, " "));
|
|
23379
|
-
const
|
|
23380
|
-
if (!
|
|
23379
|
+
const Kq = ya(ge.nodeName);
|
|
23380
|
+
if (!jq(Kq, ls, Ht)) {
|
|
23381
23381
|
_A(ru, ge);
|
|
23382
23382
|
continue;
|
|
23383
23383
|
}
|
|
23384
|
-
if (
|
|
23385
|
-
switch (P.getAttributeType(
|
|
23384
|
+
if (Bq && (ls === "id" || ls === "name") && (_A(ru, ge), Ht = gK + Ht), ne && typeof P == "object" && typeof P.getAttributeType == "function" && !cG)
|
|
23385
|
+
switch (P.getAttributeType(Kq, ls)) {
|
|
23386
23386
|
case "TrustedHTML": {
|
|
23387
23387
|
Ht = ne.createHTML(Ht);
|
|
23388
23388
|
break;
|
|
@@ -23402,9 +23402,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23402
23402
|
jf("afterSanitizeAttributes", ge, null);
|
|
23403
23403
|
}, CK = function un(ge) {
|
|
23404
23404
|
let ft;
|
|
23405
|
-
const Ht =
|
|
23405
|
+
const Ht = zq(ge);
|
|
23406
23406
|
for (jf("beforeSanitizeShadowDOM", ge, null); ft = Ht.nextNode(); )
|
|
23407
|
-
jf("uponSanitizeShadowNode", ft, null), !
|
|
23407
|
+
jf("uponSanitizeShadowNode", ft, null), !Wq(ft) && (ft.content instanceof m && un(ft.content), qq(ft));
|
|
23408
23408
|
jf("afterSanitizeShadowDOM", ge, null);
|
|
23409
23409
|
};
|
|
23410
23410
|
return s.sanitize = function(un) {
|
|
@@ -23424,17 +23424,17 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23424
23424
|
throw Ji("root node is forbidden and cannot be sanitized in-place");
|
|
23425
23425
|
}
|
|
23426
23426
|
} else if (un instanceof h)
|
|
23427
|
-
ft =
|
|
23427
|
+
ft = Uq("<!---->"), Ht = ft.ownerDocument.importNode(un, !0), Ht.nodeType === 1 && Ht.nodeName === "BODY" || Ht.nodeName === "HTML" ? ft = Ht : ft.appendChild(Ht);
|
|
23428
23428
|
else {
|
|
23429
23429
|
if (!Hp && !ll && !od && un.indexOf("<") === -1)
|
|
23430
23430
|
return ne && mL ? ne.createHTML(un) : un;
|
|
23431
|
-
if (ft =
|
|
23431
|
+
if (ft = Uq(un), !ft)
|
|
23432
23432
|
return Hp ? null : mL ? De : "";
|
|
23433
23433
|
}
|
|
23434
23434
|
ft && wA && My(ft.firstChild);
|
|
23435
|
-
const su =
|
|
23435
|
+
const su = zq(CA ? un : ft);
|
|
23436
23436
|
for (; ls = su.nextNode(); )
|
|
23437
|
-
|
|
23437
|
+
Wq(ls) || (ls.content instanceof m && CK(ls.content), qq(ls));
|
|
23438
23438
|
if (CA)
|
|
23439
23439
|
return un;
|
|
23440
23440
|
if (Hp) {
|
|
@@ -23455,7 +23455,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23455
23455
|
}, s.isValidAttribute = function(un, ge, ft) {
|
|
23456
23456
|
hC || aG({});
|
|
23457
23457
|
const Ht = ya(un), ls = ya(ge);
|
|
23458
|
-
return
|
|
23458
|
+
return jq(Ht, ls, ft);
|
|
23459
23459
|
}, s.addHook = function(un, ge) {
|
|
23460
23460
|
typeof ge == "function" && (tt[un] = tt[un] || [], ib(tt[un], ge));
|
|
23461
23461
|
}, s.removeHook = function(un) {
|
|
@@ -26636,7 +26636,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
26636
26636
|
dom: Fb(a),
|
|
26637
26637
|
components: t.toArray().concat([s]),
|
|
26638
26638
|
fieldBehaviours: He(c)
|
|
26639
|
-
}),
|
|
26639
|
+
}), KG = () => Fb([]), Fb = (t) => ({
|
|
26640
26640
|
tag: "div",
|
|
26641
26641
|
classes: ["tox-form__group"].concat(t)
|
|
26642
26642
|
}), Ai = (t, s) => Rn.parts.label({
|
|
@@ -29622,7 +29622,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
29622
29622
|
}) : w.none();
|
|
29623
29623
|
} else
|
|
29624
29624
|
return w.none();
|
|
29625
|
-
}, nw = Q("alloy.typeahead.itemexecute"),
|
|
29625
|
+
}, nw = Q("alloy.typeahead.itemexecute"), sq = (t, s, a, c) => {
|
|
29626
29626
|
const u = (E, A, P) => {
|
|
29627
29627
|
t.previewing.set(!1);
|
|
29628
29628
|
const I = Uo.getCoupled(E, "sandbox");
|
|
@@ -29822,7 +29822,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
29822
29822
|
name: "Typeahead",
|
|
29823
29823
|
configFields: ey(),
|
|
29824
29824
|
partFields: b8(),
|
|
29825
|
-
factory:
|
|
29825
|
+
factory: sq
|
|
29826
29826
|
}), ic = (t) => ({
|
|
29827
29827
|
...t,
|
|
29828
29828
|
toCached: () => ic(t.toCached()),
|
|
@@ -30177,7 +30177,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30177
30177
|
});
|
|
30178
30178
|
};
|
|
30179
30179
|
return Rn.sketch({
|
|
30180
|
-
dom:
|
|
30180
|
+
dom: KG(),
|
|
30181
30181
|
components: b.toArray().concat([re()]),
|
|
30182
30182
|
fieldBehaviours: He([
|
|
30183
30183
|
kt.config({
|
|
@@ -30530,12 +30530,12 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30530
30530
|
};
|
|
30531
30531
|
}, j8 = (t) => (s, a) => {
|
|
30532
30532
|
IP(t)(s, a);
|
|
30533
|
-
}, G8 = (t) => () => DP(t), eI = (t) => (s) => vx(t, s), tI = (t) => (s) => OP(t, s),
|
|
30533
|
+
}, G8 = (t) => () => DP(t), eI = (t) => (s) => vx(t, s), tI = (t) => (s) => OP(t, s), aq = (t) => ({
|
|
30534
30534
|
colorPicker: j8(t),
|
|
30535
30535
|
hasCustomColors: G8(t),
|
|
30536
30536
|
getColors: eI(t),
|
|
30537
30537
|
getColorCols: tI(t)
|
|
30538
|
-
}),
|
|
30538
|
+
}), iq = (t) => () => vk(t), mr = (t) => ({ isDraggableModal: iq(t) }), jE = (t) => {
|
|
30539
30539
|
const s = St(_k(t) ? "bottom" : "top");
|
|
30540
30540
|
return {
|
|
30541
30541
|
isPositionedAtTop: () => s.get() === "top",
|
|
@@ -30744,7 +30744,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30744
30744
|
url: a,
|
|
30745
30745
|
level: c,
|
|
30746
30746
|
attach: u
|
|
30747
|
-
}),
|
|
30747
|
+
}), cq = (t) => {
|
|
30748
30748
|
let s = t;
|
|
30749
30749
|
for (; s = s.parentNode; ) {
|
|
30750
30750
|
const a = s.contentEditable;
|
|
@@ -30752,7 +30752,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30752
30752
|
return Q8(s);
|
|
30753
30753
|
}
|
|
30754
30754
|
return !1;
|
|
30755
|
-
}, t6 = (t, s) => Ne(Ns(Ge.fromDom(s), t), (a) => a.dom), mI = (t) => t.innerText || t.textContent, n6 = (t) => t.id ? t.id : at("h"), fI = (t) => t && t.nodeName === "A" && (t.id || t.name) !== void 0, GE = (t) => fI(t) && pI(t), gI = (t) => t && /^(H[1-6])$/.test(t.nodeName), pI = (t) =>
|
|
30755
|
+
}, t6 = (t, s) => Ne(Ns(Ge.fromDom(s), t), (a) => a.dom), mI = (t) => t.innerText || t.textContent, n6 = (t) => t.id ? t.id : at("h"), fI = (t) => t && t.nodeName === "A" && (t.id || t.name) !== void 0, GE = (t) => fI(t) && pI(t), gI = (t) => t && /^(H[1-6])$/.test(t.nodeName), pI = (t) => cq(t) && !dI(t), hI = (t) => gI(t) && pI(t), o6 = (t) => gI(t) ? parseInt(t.nodeName.substr(1), 10) : 0, s6 = (t) => {
|
|
30756
30756
|
var s;
|
|
30757
30757
|
const a = n6(t), c = () => {
|
|
30758
30758
|
t.id = a;
|
|
@@ -30829,7 +30829,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
30829
30829
|
translate: li.translate,
|
|
30830
30830
|
isDisabled: () => s.mode.isReadOnly() || !s.ui.isEnabled(),
|
|
30831
30831
|
getOption: s.options.get
|
|
30832
|
-
}, h = f6(s), b = cI(s), x =
|
|
30832
|
+
}, h = f6(s), b = cI(s), x = aq(s), C = mr(s), E = () => u.get(), A = (re) => u.set(re), P = {
|
|
30833
30833
|
shared: {
|
|
30834
30834
|
providers: f,
|
|
30835
30835
|
anchors: W8(s, a, c, m.isPositionedAtTop),
|
|
@@ -31050,7 +31050,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
31050
31050
|
}), _6 = (t, s) => {
|
|
31051
31051
|
const a = s.optScrollEnv.fold(Q(t.bounds.y), (c) => c.scrollElmTop + (t.bounds.y - c.currentScrollTop));
|
|
31052
31052
|
return Ao(t.bounds.x, a);
|
|
31053
|
-
},
|
|
31053
|
+
}, dq = (t, s) => {
|
|
31054
31054
|
const a = s.optScrollEnv.fold(Q(t.y), (c) => t.y + c.currentScrollTop - c.scrollElmTop);
|
|
31055
31055
|
return Ao(t.x, a);
|
|
31056
31056
|
}, sT = (t, s, a) => a.getInitialPos().map((c) => {
|
|
@@ -31060,7 +31060,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
31060
31060
|
location: c.location
|
|
31061
31061
|
};
|
|
31062
31062
|
}), rT = (t, s, a, c, u) => {
|
|
31063
|
-
const m =
|
|
31063
|
+
const m = dq(s, a), f = os(m.left, m.top, s.width, s.height);
|
|
31064
31064
|
c.setInitialPos({
|
|
31065
31065
|
style: Ls(t),
|
|
31066
31066
|
position: ds(t, "position") || "static",
|
|
@@ -31188,7 +31188,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
31188
31188
|
BI(s, a, c, u, f);
|
|
31189
31189
|
});
|
|
31190
31190
|
}, gy = cT(tT), pw = cT(nT);
|
|
31191
|
-
var
|
|
31191
|
+
var mq = /* @__PURE__ */ Object.freeze({
|
|
31192
31192
|
__proto__: null,
|
|
31193
31193
|
refresh: gw,
|
|
31194
31194
|
reset: nm,
|
|
@@ -31261,7 +31261,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
31261
31261
|
fields: R6,
|
|
31262
31262
|
name: "docking",
|
|
31263
31263
|
active: B6,
|
|
31264
|
-
apis:
|
|
31264
|
+
apis: mq,
|
|
31265
31265
|
state: I6
|
|
31266
31266
|
}), Tf = Q(at("toolbar-height-change")), cc = {
|
|
31267
31267
|
fadeInClass: "tox-editor-dock-fadein",
|
|
@@ -31659,7 +31659,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
31659
31659
|
ga.hasGrown(c) ? Mr.isShowing(m, s) ? (ga.shrink(c), vw(t.element, "presentation")) : (Mr.hideAllSlots(m), Mr.showSlot(m, s), vw(t.element, "region")) : (Mr.hideAllSlots(m), Mr.showSlot(m, s), ga.grow(c), vw(t.element, "region"));
|
|
31660
31660
|
});
|
|
31661
31661
|
});
|
|
31662
|
-
}, e9 = (t) => dn.getCurrent(t).bind((a) => ga.isGrowing(a) || ga.hasGrown(a) ? dn.getCurrent(a).bind((m) => qt(Mr.getSlotNames(m), (f) => Mr.isShowing(m, f))) : w.none()), hT = at("FixSizeEvent"), bT = at("AutoSizeEvent"),
|
|
31662
|
+
}, e9 = (t) => dn.getCurrent(t).bind((a) => ga.isGrowing(a) || ga.hasGrown(a) ? dn.getCurrent(a).bind((m) => qt(Mr.getSlotNames(m), (f) => Mr.isShowing(m, f))) : w.none()), hT = at("FixSizeEvent"), bT = at("AutoSizeEvent"), hq = (t) => ({
|
|
31663
31663
|
uid: t.uid,
|
|
31664
31664
|
dom: {
|
|
31665
31665
|
tag: "div",
|
|
@@ -32797,7 +32797,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
32797
32797
|
name: "socket",
|
|
32798
32798
|
schema: [Ee("dom")]
|
|
32799
32799
|
}), H9 = rl.optional({
|
|
32800
|
-
factory: { sketch:
|
|
32800
|
+
factory: { sketch: hq },
|
|
32801
32801
|
name: "sidebar",
|
|
32802
32802
|
schema: [Ee("dom")]
|
|
32803
32803
|
}), bM = rl.optional({
|
|
@@ -36739,7 +36739,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36739
36739
|
Or("placeholder"),
|
|
36740
36740
|
Fs("maximized", !1),
|
|
36741
36741
|
Si
|
|
36742
|
-
]), zj = yt(Uj), cm = Zs,
|
|
36742
|
+
]), zj = yt(Uj), cm = Zs, Tq = (t) => [
|
|
36743
36743
|
Qo,
|
|
36744
36744
|
ox,
|
|
36745
36745
|
t,
|
|
@@ -36770,14 +36770,14 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36770
36770
|
]), qj = yt(Gj), Kj = Zs, Ip = il.concat([
|
|
36771
36771
|
Fs("constrain", !0),
|
|
36772
36772
|
Si
|
|
36773
|
-
]),
|
|
36773
|
+
]), Aq = yt(Ip), cL = yt([
|
|
36774
36774
|
Nn("width"),
|
|
36775
36775
|
Nn("height")
|
|
36776
36776
|
]), Yj = im.concat([
|
|
36777
36777
|
ox,
|
|
36778
36778
|
Vm("min", 0),
|
|
36779
36779
|
Vm("max", 0)
|
|
36780
|
-
]),
|
|
36780
|
+
]), Oq = yt(Yj), Xj = rh, Zj = [
|
|
36781
36781
|
Qo,
|
|
36782
36782
|
Ka("header", Zs),
|
|
36783
36783
|
Ka("cells", Bc(Zs))
|
|
@@ -36830,15 +36830,15 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36830
36830
|
input: zj,
|
|
36831
36831
|
listbox: iL,
|
|
36832
36832
|
selectbox: qj,
|
|
36833
|
-
sizeinput:
|
|
36834
|
-
slider:
|
|
36833
|
+
sizeinput: Aq,
|
|
36834
|
+
slider: Oq,
|
|
36835
36835
|
textarea: Qj,
|
|
36836
36836
|
urlinput: g,
|
|
36837
36837
|
customeditor: Fj,
|
|
36838
36838
|
htmlpanel: oL,
|
|
36839
36839
|
imagepreview: sL,
|
|
36840
36840
|
collection: $j,
|
|
36841
|
-
label: yt(
|
|
36841
|
+
label: yt(Tq(v("label"))),
|
|
36842
36842
|
table: Ay,
|
|
36843
36843
|
tree: l,
|
|
36844
36844
|
panel: T
|
|
@@ -36884,7 +36884,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36884
36884
|
Vs("onCancel", de),
|
|
36885
36885
|
Vs("onClose", de),
|
|
36886
36886
|
Vs("onMessage", de)
|
|
36887
|
-
]), Ie = (t) => Io("dialog", Te, t), qe = (t) => Oe(t) ? [t].concat(ve(ad(t), qe)) : Rt(t) ? ve(t, qe) : [],
|
|
36887
|
+
]), Ie = (t) => Io("dialog", Te, t), qe = (t) => Oe(t) ? [t].concat(ve(ad(t), qe)) : Rt(t) ? ve(t, qe) : [], be = (t) => J(t.type) && J(t.name), me = {
|
|
36888
36888
|
checkbox: tL,
|
|
36889
36889
|
colorinput: Bj,
|
|
36890
36890
|
colorpicker: Mj,
|
|
@@ -36902,7 +36902,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
36902
36902
|
customeditor: Lf,
|
|
36903
36903
|
collection: Pj,
|
|
36904
36904
|
togglemenuitem: nC
|
|
36905
|
-
}, ke = (t) => w.from(me[t.type]), st = (t) => to(qe(t),
|
|
36905
|
+
}, ke = (t) => w.from(me[t.type]), st = (t) => to(qe(t), be), pt = (t) => {
|
|
36906
36906
|
const s = st(t), a = ve(s, (c) => ke(c).fold(() => [], (u) => [qa(c.name, u)]));
|
|
36907
36907
|
return yt(a);
|
|
36908
36908
|
}, on = (t) => {
|
|
@@ -38047,7 +38047,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38047
38047
|
"close",
|
|
38048
38048
|
"block",
|
|
38049
38049
|
"unblock"
|
|
38050
|
-
],
|
|
38050
|
+
], Dq = (t) => Oe(t) && sK.indexOf(t.mceAction) !== -1, rK = (t) => !Dq(t) && Oe(t) && En(t, "mceAction"), aK = (t, s, a) => {
|
|
38051
38051
|
switch (a.mceAction) {
|
|
38052
38052
|
case "insertContent":
|
|
38053
38053
|
t.insertContent(a.content);
|
|
@@ -38090,7 +38090,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38090
38090
|
const ne = Jr(Ge.fromDom(window), "message", (De) => {
|
|
38091
38091
|
if (E.isSameOrigin(new dL(De.raw.origin))) {
|
|
38092
38092
|
const we = De.raw.data;
|
|
38093
|
-
|
|
38093
|
+
Dq(we) ? aK(a, q, we) : rK(we) && t.onMessage(q, we);
|
|
38094
38094
|
}
|
|
38095
38095
|
});
|
|
38096
38096
|
P.set(ne);
|
|
@@ -38194,7 +38194,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38194
38194
|
const E = f.get(C);
|
|
38195
38195
|
Tt.focus(E);
|
|
38196
38196
|
} };
|
|
38197
|
-
},
|
|
38197
|
+
}, Nq = (t, s) => no(Io("data", s, t)), $q = (t) => Ib(t, ".tox-alert-dialog") || Ib(t, ".tox-confirm-dialog"), uK = (t, s, a) => s && a ? [] : [vo.config({
|
|
38198
38198
|
contextual: {
|
|
38199
38199
|
lazyContext: () => w.some(Bo(Ge.fromDom(t.getContentAreaContainer()))),
|
|
38200
38200
|
fadeInClass: "tox-dialog-dock-fadein",
|
|
@@ -38250,7 +38250,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38250
38250
|
return en.open(re, I);
|
|
38251
38251
|
}, x = (I, z, re, Y) => {
|
|
38252
38252
|
const q = (ne, De, we) => {
|
|
38253
|
-
const ye =
|
|
38253
|
+
const ye = Nq(De, we), Re = lo(), We = t.backstages.popup.shared.header.isPositionedAtTop(), Zt = {
|
|
38254
38254
|
dataValidator: we,
|
|
38255
38255
|
initialData: ye,
|
|
38256
38256
|
internalDialog: ne
|
|
@@ -38275,7 +38275,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38275
38275
|
})]),
|
|
38276
38276
|
...uK(s, a, We)
|
|
38277
38277
|
]),
|
|
38278
|
-
isExtraPart: (wt, gn) =>
|
|
38278
|
+
isExtraPart: (wt, gn) => $q(gn)
|
|
38279
38279
|
}));
|
|
38280
38280
|
Re.set(At);
|
|
38281
38281
|
const $n = () => {
|
|
@@ -38287,7 +38287,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38287
38287
|
return en.open(q, I);
|
|
38288
38288
|
}, C = (I, z, re, Y) => {
|
|
38289
38289
|
const q = (ne, De, we) => {
|
|
38290
|
-
const ye =
|
|
38290
|
+
const ye = Nq(De, we), Re = lo(), We = t.backstages.popup.shared.header.isPositionedAtTop(), Zt = {
|
|
38291
38291
|
dataValidator: we,
|
|
38292
38292
|
initialData: ye,
|
|
38293
38293
|
internalDialog: ne
|
|
@@ -38333,7 +38333,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38333
38333
|
}))
|
|
38334
38334
|
})
|
|
38335
38335
|
]),
|
|
38336
|
-
isExtraPart: (wt, gn) =>
|
|
38336
|
+
isExtraPart: (wt, gn) => $q(gn)
|
|
38337
38337
|
}));
|
|
38338
38338
|
Re.set(At);
|
|
38339
38339
|
const $n = () => t.backstages.popup.shared.getSink().toOptional().bind((wt) => {
|
|
@@ -38399,7 +38399,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
38399
38399
|
}, G = (y) => {
|
|
38400
38400
|
const _ = typeof y;
|
|
38401
38401
|
return y === null ? "null" : _ === "object" && Array.isArray(y) ? "array" : _ === "object" && ee(y, String, (D, H) => H.isPrototypeOf(D)) ? "string" : _;
|
|
38402
|
-
},
|
|
38402
|
+
}, he = (y) => (_) => G(_) === y, oe = (y) => (_) => typeof _ === y, U = he("string"), _e = he("object"), J = he("array"), Oe = oe("boolean"), mt = (y) => y == null, Rt = (y) => !mt(y), xn = oe("function"), eo = oe("number"), jo = () => {
|
|
38403
38403
|
}, xa = (y, _) => (D) => y(_(D)), ko = (y) => () => y, Yo = (y, _) => y === _;
|
|
38404
38404
|
function zs(y, ..._) {
|
|
38405
38405
|
return (...D) => {
|
|
@@ -39547,7 +39547,7 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
39547
39547
|
}, G = (B) => {
|
|
39548
39548
|
const W = typeof B;
|
|
39549
39549
|
return B === null ? "null" : W === "object" && Array.isArray(B) ? "array" : W === "object" && ee(B, String, (te, xe) => xe.isPrototypeOf(te)) ? "string" : W;
|
|
39550
|
-
},
|
|
39550
|
+
}, he = (B) => (W) => G(W) === B, oe = (B) => (W) => typeof W === B, U = (B) => (W) => B === W, _e = he("string"), J = he("object"), Oe = he("array"), mt = U(null), Rt = oe("boolean"), xn = (B) => B == null, eo = (B) => !xn(B), jo = oe("function"), xa = (B, W) => {
|
|
39551
39551
|
if (Oe(B)) {
|
|
39552
39552
|
for (let te = 0, xe = B.length; te < xe; ++te)
|
|
39553
39553
|
if (!W(B[te]))
|
|
@@ -40298,8 +40298,8 @@ The conflicting element is` + (wn(E.element) ? " " : " not ") + "already in the
|
|
|
40298
40298
|
})();
|
|
40299
40299
|
const Es = (O, ee) => {
|
|
40300
40300
|
const G = O.__vccOpts || O;
|
|
40301
|
-
for (const [
|
|
40302
|
-
G[
|
|
40301
|
+
for (const [he, oe] of ee)
|
|
40302
|
+
G[he] = oe;
|
|
40303
40303
|
return G;
|
|
40304
40304
|
}, IK = {
|
|
40305
40305
|
props: ["isOpen"],
|
|
@@ -40324,7 +40324,7 @@ const Es = (O, ee) => {
|
|
|
40324
40324
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
40325
40325
|
"aria-hidden": "true"
|
|
40326
40326
|
}, "", -1), HK = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, UK = /* @__PURE__ */ SK('<div class="px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6 text-gray-900" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm text-gray-500"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), zK = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
40327
|
-
function WK(O, ee, G,
|
|
40327
|
+
function WK(O, ee, G, he, oe, U) {
|
|
40328
40328
|
return G.isOpen ? (se(), ie("div", MK, [
|
|
40329
40329
|
N("div", LK, [
|
|
40330
40330
|
FK,
|
|
@@ -40347,9 +40347,9 @@ function WK(O, ee, G, be, oe, U) {
|
|
|
40347
40347
|
])
|
|
40348
40348
|
])) : Je("", !0);
|
|
40349
40349
|
}
|
|
40350
|
-
const
|
|
40350
|
+
const mG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
40351
40351
|
components: {
|
|
40352
|
-
DeleteConfirmationModal:
|
|
40352
|
+
DeleteConfirmationModal: mG
|
|
40353
40353
|
},
|
|
40354
40354
|
props: {
|
|
40355
40355
|
is_required: {
|
|
@@ -40430,8 +40430,8 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40430
40430
|
formatFileSize(O) {
|
|
40431
40431
|
if (O === 0)
|
|
40432
40432
|
return "0 Bytes";
|
|
40433
|
-
const ee = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"],
|
|
40434
|
-
return parseFloat((O / Math.pow(ee,
|
|
40433
|
+
const ee = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"], he = Math.floor(Math.log(O) / Math.log(ee));
|
|
40434
|
+
return parseFloat((O / Math.pow(ee, he)).toFixed(2)) + " " + G[he];
|
|
40435
40435
|
},
|
|
40436
40436
|
onDragOver(O) {
|
|
40437
40437
|
O.preventDefault(), this.isDragging = !0, O.dataTransfer.dropEffect = "copy";
|
|
@@ -40447,7 +40447,7 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40447
40447
|
});
|
|
40448
40448
|
},
|
|
40449
40449
|
async uploadFiles(O) {
|
|
40450
|
-
const ee = O.target.files, G = Array.from(ee).map((
|
|
40450
|
+
const ee = O.target.files, G = Array.from(ee).map((he) => this.uploadFile(he));
|
|
40451
40451
|
await Promise.all(G), this.$emit("uploaded");
|
|
40452
40452
|
},
|
|
40453
40453
|
getFirstError(O, ee) {
|
|
@@ -40456,10 +40456,10 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40456
40456
|
async uploadFile(O) {
|
|
40457
40457
|
return new Promise((ee, G) => {
|
|
40458
40458
|
O || ee();
|
|
40459
|
-
const
|
|
40460
|
-
|
|
40461
|
-
|
|
40462
|
-
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media",
|
|
40459
|
+
const he = new FormData();
|
|
40460
|
+
he.append("file", O), Object.entries(this.file_config).forEach(([oe, U]) => {
|
|
40461
|
+
he.append(oe, U);
|
|
40462
|
+
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", he, {
|
|
40463
40463
|
onUploadProgress: (oe) => {
|
|
40464
40464
|
this.files[this.files.length - 1].loading = Math.floor(
|
|
40465
40465
|
oe.loaded / oe.total * 100
|
|
@@ -40523,7 +40523,7 @@ const dG = /* @__PURE__ */ Es(IK, [["render", WK]]), jK = {
|
|
|
40523
40523
|
class: "text-3xl fas fa-file-alt",
|
|
40524
40524
|
"aria-hidden": "true"
|
|
40525
40525
|
}, null, -1), pY = { class: "flex flex-col ml-3" }, hY = { class: "text-xs" }, bY = { class: "text-xs" }, yY = { class: "flex gap-2" }, vY = ["href"], xY = ["onClick"];
|
|
40526
|
-
function wY(O, ee, G,
|
|
40526
|
+
function wY(O, ee, G, he, oe, U) {
|
|
40527
40527
|
const _e = Ly("DeleteConfirmationModal");
|
|
40528
40528
|
return se(), ie(Ln, null, [
|
|
40529
40529
|
Up(_e, {
|
|
@@ -40655,7 +40655,7 @@ const use = /* @__PURE__ */ Es(jK, [["render", wY]]), CY = {
|
|
|
40655
40655
|
mounted() {
|
|
40656
40656
|
}
|
|
40657
40657
|
}, _Y = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, SY = ["name", "value", "id", "checked"], kY = ["for"];
|
|
40658
|
-
function EY(O, ee, G,
|
|
40658
|
+
function EY(O, ee, G, he, oe, U) {
|
|
40659
40659
|
return se(), ie("ul", _Y, [
|
|
40660
40660
|
(se(!0), ie(Ln, null, ps(oe.locals, (_e, J) => (se(), ie("li", null, [
|
|
40661
40661
|
N("input", {
|
|
@@ -40691,7 +40691,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40691
40691
|
}
|
|
40692
40692
|
},
|
|
40693
40693
|
setup(O) {
|
|
40694
|
-
const ee = O, G = La(() => ee.class),
|
|
40694
|
+
const ee = O, G = La(() => ee.class), he = La(() => ee.body_class);
|
|
40695
40695
|
return (oe, U) => (se(), ie("div", {
|
|
40696
40696
|
class: jt(["flex flex-col gap-9", G.value])
|
|
40697
40697
|
}, [
|
|
@@ -40703,7 +40703,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40703
40703
|
]),
|
|
40704
40704
|
oe.$slots.body ? (se(), ie("div", {
|
|
40705
40705
|
key: 0,
|
|
40706
|
-
class: jt(["p-6",
|
|
40706
|
+
class: jt(["p-6", he.value])
|
|
40707
40707
|
}, [
|
|
40708
40708
|
ul(oe.$slots, "body")
|
|
40709
40709
|
], 2)) : Je("", !0)
|
|
@@ -40792,7 +40792,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40792
40792
|
},
|
|
40793
40793
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
40794
40794
|
setup(O, { emit: ee }) {
|
|
40795
|
-
const G = O,
|
|
40795
|
+
const G = O, he = ee, oe = Do(null), U = Do([]), _e = Do([]), J = Do(0), Oe = Do(!1), mt = Do(""), Rt = Do("");
|
|
40796
40796
|
fm(() => {
|
|
40797
40797
|
Rt.value = ko(), G.show || (document.body.addEventListener("click", (Ce) => {
|
|
40798
40798
|
Eo(Ce);
|
|
@@ -40844,11 +40844,11 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40844
40844
|
U.value = Qe();
|
|
40845
40845
|
}
|
|
40846
40846
|
function Gt() {
|
|
40847
|
-
U.value = [],
|
|
40847
|
+
U.value = [], he("update:modelValue", []), he("selected", []), he("selectionChanged", []);
|
|
40848
40848
|
}
|
|
40849
40849
|
function Ri(Ce) {
|
|
40850
40850
|
let w = U.value.findIndex((an) => an.id === Ce.id);
|
|
40851
|
-
w !== -1 && U.value.splice(w, 1), _e.value = U.value.map((an) => an.id),
|
|
40851
|
+
w !== -1 && U.value.splice(w, 1), _e.value = U.value.map((an) => an.id), he("update:modelValue", _e.value), he("selected", U.value), he("selectionChanged", U.value);
|
|
40852
40852
|
}
|
|
40853
40853
|
function Eo(Ce) {
|
|
40854
40854
|
Ce.target.id != G.field_name + "search" + Rt.value && Ce.target.id != G.field_name && !Ce.target.classList.contains("showOptions") && (kn(), J.value = 0);
|
|
@@ -40892,10 +40892,10 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40892
40892
|
function Et(Ce) {
|
|
40893
40893
|
console.log("selectOption", Ce);
|
|
40894
40894
|
let w = U.value.findIndex((an) => an.id === Ce.id);
|
|
40895
|
-
w !== -1 ? U.value.splice(w, 1) : U.value.push(Ce), console.log("selectOption selected", U.value), Oe.value = !1, _e.value = U.value.map((an) => an.id),
|
|
40895
|
+
w !== -1 ? U.value.splice(w, 1) : U.value.push(Ce), console.log("selectOption selected", U.value), Oe.value = !1, _e.value = U.value.map((an) => an.id), he("update:modelValue", _e.value), he("selected", U.value), he("selectionChanged", U.value);
|
|
40896
40896
|
}
|
|
40897
40897
|
function uo() {
|
|
40898
|
-
G.show || (mt.value = "", Oe.value = !0,
|
|
40898
|
+
G.show || (mt.value = "", Oe.value = !0, dG(() => {
|
|
40899
40899
|
var Ce = document.getElementById(
|
|
40900
40900
|
`${G.field_name}search${Rt.value}`
|
|
40901
40901
|
);
|
|
@@ -40903,12 +40903,12 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
40903
40903
|
}));
|
|
40904
40904
|
}
|
|
40905
40905
|
function kn() {
|
|
40906
|
-
mt.value = "",
|
|
40906
|
+
mt.value = "", he("selected", U.value), Oe.value = !1;
|
|
40907
40907
|
}
|
|
40908
40908
|
return kA(mt, () => {
|
|
40909
40909
|
jo.value.length === 0 && (U.value = []);
|
|
40910
40910
|
}), kA(U, (Ce) => {
|
|
40911
|
-
Yo(U.value) && (_e.value = U.value.map((w) => w.id),
|
|
40911
|
+
Yo(U.value) && (_e.value = U.value.map((w) => w.id), he("update:modelValue", _e.value));
|
|
40912
40912
|
}), (Ce, w) => (se(), ie(Ln, null, [
|
|
40913
40913
|
O.show ? (se(), ie("div", {
|
|
40914
40914
|
key: 0,
|
|
@@ -41088,7 +41088,7 @@ const dse = /* @__PURE__ */ Es(CY, [["render", EY]]), TY = { class: "bg-white bo
|
|
|
41088
41088
|
fill: "#1C64F2"
|
|
41089
41089
|
})
|
|
41090
41090
|
], -1);
|
|
41091
|
-
function YY(O, ee, G,
|
|
41091
|
+
function YY(O, ee, G, he, oe, U) {
|
|
41092
41092
|
return G.is_loading ? (se(), Fy(bL("button"), {
|
|
41093
41093
|
key: 1,
|
|
41094
41094
|
disabled: "",
|
|
@@ -41175,12 +41175,12 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41175
41175
|
},
|
|
41176
41176
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
41177
41177
|
setup(O, { expose: ee, emit: G }) {
|
|
41178
|
-
const
|
|
41178
|
+
const he = O, oe = G, U = Do(null), _e = Do(null);
|
|
41179
41179
|
return fm(() => {
|
|
41180
|
-
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(),
|
|
41181
|
-
model:
|
|
41182
|
-
row_id:
|
|
41183
|
-
field:
|
|
41180
|
+
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), he.model_value && (oe("update:modelValue", he.model_value), U.value.value = he.model_value), he.model_value_translate, he.translatable && axios.post("/admin/get_field_translations", {
|
|
41181
|
+
model: he.translatable.model,
|
|
41182
|
+
row_id: he.translatable.row_id,
|
|
41183
|
+
field: he.translatable.field
|
|
41184
41184
|
}).then((J) => {
|
|
41185
41185
|
_e.value.value = JSON.stringify(J.data), oe("update:modelValueTranslate", JSON.stringify(J.data)), console.log("input_translate", _e.value.value);
|
|
41186
41186
|
}).catch((J) => {
|
|
@@ -41311,16 +41311,16 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41311
41311
|
},
|
|
41312
41312
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
41313
41313
|
setup(O, { expose: ee, emit: G }) {
|
|
41314
|
-
const
|
|
41314
|
+
const he = O, oe = G, U = Do(null), _e = Do(null);
|
|
41315
41315
|
return fm(() => {
|
|
41316
41316
|
tinymce.init({
|
|
41317
|
-
selector: "#" +
|
|
41317
|
+
selector: "#" + he.field_name,
|
|
41318
41318
|
width: "100%",
|
|
41319
41319
|
height: 300
|
|
41320
|
-
}), console.log("tinymce ",
|
|
41321
|
-
model:
|
|
41322
|
-
row_id:
|
|
41323
|
-
field:
|
|
41320
|
+
}), console.log("tinymce ", he.model_value), U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), he.model_value && (oe("update:modelValue", he.model_value), U.value.value = he.model_value), he.model_value_translate, he.translatable && axios.post("/admin/get_field_translations", {
|
|
41321
|
+
model: he.translatable.model,
|
|
41322
|
+
row_id: he.translatable.row_id,
|
|
41323
|
+
field: he.translatable.field
|
|
41324
41324
|
}).then((J) => {
|
|
41325
41325
|
_e.value.value = JSON.stringify(J.data), oe("update:modelValueTranslate", JSON.stringify(J.data));
|
|
41326
41326
|
}).catch((J) => {
|
|
@@ -41450,12 +41450,12 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41450
41450
|
},
|
|
41451
41451
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
41452
41452
|
setup(O, { expose: ee, emit: G }) {
|
|
41453
|
-
const
|
|
41453
|
+
const he = O, oe = G, U = Do(null), _e = Do(null);
|
|
41454
41454
|
return fm(() => {
|
|
41455
|
-
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(),
|
|
41456
|
-
model:
|
|
41457
|
-
row_id:
|
|
41458
|
-
field:
|
|
41455
|
+
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), he.model_value && (oe("update:modelValue", he.model_value), U.value.value = he.model_value), he.model_value_translate, he.translatable && axios.post("/admin/get_field_translations", {
|
|
41456
|
+
model: he.translatable.model,
|
|
41457
|
+
row_id: he.translatable.row_id,
|
|
41458
|
+
field: he.translatable.field
|
|
41459
41459
|
}).then((J) => {
|
|
41460
41460
|
_e.value.value = JSON.stringify(J.data), oe("update:modelValueTranslate", JSON.stringify(J.data));
|
|
41461
41461
|
}).catch((J) => {
|
|
@@ -41571,13 +41571,13 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41571
41571
|
},
|
|
41572
41572
|
emits: ["update:modelValue", "keydown"],
|
|
41573
41573
|
setup(O, { expose: ee, emit: G }) {
|
|
41574
|
-
const
|
|
41574
|
+
const he = O, oe = G, U = Do(null);
|
|
41575
41575
|
fm(() => {
|
|
41576
41576
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
41577
41577
|
});
|
|
41578
41578
|
const _e = La({
|
|
41579
41579
|
get() {
|
|
41580
|
-
return
|
|
41580
|
+
return he.modelValue;
|
|
41581
41581
|
},
|
|
41582
41582
|
set(J) {
|
|
41583
41583
|
oe("update:modelValue", J);
|
|
@@ -41630,25 +41630,25 @@ const gse = /* @__PURE__ */ Es(qY, [["render", YY]]), XY = { class: "font-bold p
|
|
|
41630
41630
|
setup(O, { slots: ee }) {
|
|
41631
41631
|
const G = Do(ee.default().map((oe) => oe.props));
|
|
41632
41632
|
console.log(ee.default());
|
|
41633
|
-
const
|
|
41634
|
-
return Yq("selectedTitle",
|
|
41633
|
+
const he = Do(G.value[0].title);
|
|
41634
|
+
return Yq("selectedTitle", he), {
|
|
41635
41635
|
tabs: G,
|
|
41636
|
-
selectedTitle:
|
|
41636
|
+
selectedTitle: he
|
|
41637
41637
|
};
|
|
41638
41638
|
}
|
|
41639
41639
|
}, BX = { class: "flex flex-wrap" }, RX = { class: "w-full" }, IX = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, MX = ["onClick"], LX = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, FX = { class: "flex-auto px-4 py-5" }, VX = { class: "tab-content tab-space" };
|
|
41640
|
-
function HX(O, ee, G,
|
|
41640
|
+
function HX(O, ee, G, he, oe, U) {
|
|
41641
41641
|
return se(), ie(Ln, null, [
|
|
41642
41642
|
N("div", BX, [
|
|
41643
41643
|
N("div", RX, [
|
|
41644
41644
|
N("ul", IX, [
|
|
41645
|
-
(se(!0), ie(Ln, null, ps(
|
|
41645
|
+
(se(!0), ie(Ln, null, ps(he.tabs, (_e) => (se(), ie("li", {
|
|
41646
41646
|
key: _e.title,
|
|
41647
|
-
onClick: (J) =>
|
|
41647
|
+
onClick: (J) => he.selectedTitle = _e.title,
|
|
41648
41648
|
class: "flex-auto -mb-px text-center"
|
|
41649
41649
|
}, [
|
|
41650
41650
|
N("a", {
|
|
41651
|
-
class: jt([{ "text-slate-600 bg-white dark:bg-meta-4":
|
|
41651
|
+
class: jt([{ "text-slate-600 bg-white dark:bg-meta-4": he.selectedTitle != _e.title, "text-white bg-slate-600 dark:bg-primary": he.selectedTitle === _e.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
|
|
41652
41652
|
}, [
|
|
41653
41653
|
N("i", {
|
|
41654
41654
|
class: jt([_e.icon, "mr-1 text-base"])
|
|
@@ -41679,8 +41679,8 @@ const vse = /* @__PURE__ */ Es(PX, [["render", HX]]), UX = {
|
|
|
41679
41679
|
key: 0,
|
|
41680
41680
|
class: "block"
|
|
41681
41681
|
};
|
|
41682
|
-
function WX(O, ee, G,
|
|
41683
|
-
return G.title ==
|
|
41682
|
+
function WX(O, ee, G, he, oe, U) {
|
|
41683
|
+
return G.title == he.selectedTitle ? (se(), ie("div", zX, [
|
|
41684
41684
|
ul(O.$slots, "default")
|
|
41685
41685
|
])) : Je("", !0);
|
|
41686
41686
|
}
|
|
@@ -41736,9 +41736,9 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41736
41736
|
},
|
|
41737
41737
|
generateRandomString(O) {
|
|
41738
41738
|
let ee = "";
|
|
41739
|
-
const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
|
|
41739
|
+
const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", he = G.length;
|
|
41740
41740
|
for (let oe = 0; oe < O; oe++)
|
|
41741
|
-
ee += G.charAt(Math.floor(Math.random() *
|
|
41741
|
+
ee += G.charAt(Math.floor(Math.random() * he));
|
|
41742
41742
|
return ee;
|
|
41743
41743
|
},
|
|
41744
41744
|
movingActions() {
|
|
@@ -41752,10 +41752,10 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41752
41752
|
document.removeEventListener("mousemove", U), document.removeEventListener("touchmove", U), document.removeEventListener("mouseup", _e), document.removeEventListener("touchend", _e), ee.style.cursor = "grab";
|
|
41753
41753
|
};
|
|
41754
41754
|
document.addEventListener("mousemove", U), document.addEventListener("touchmove", U, { passive: !1 }), document.addEventListener("mouseup", _e), document.addEventListener("touchend", _e), O.initialX = oe.clientX || oe.touches && oe.touches[0] && oe.touches[0].clientX, O.initialY = oe.clientY || oe.touches && oe.touches[0] && oe.touches[0].clientY;
|
|
41755
|
-
},
|
|
41755
|
+
}, he = (oe) => {
|
|
41756
41756
|
oe.key === "ArrowLeft" ? O.prev() : oe.key === "ArrowRight" && O.next();
|
|
41757
41757
|
};
|
|
41758
|
-
ee.addEventListener("mousedown", G), ee.addEventListener("touchstart", G), document.addEventListener("keydown",
|
|
41758
|
+
ee.addEventListener("mousedown", G), ee.addEventListener("touchstart", G), document.addEventListener("keydown", he);
|
|
41759
41759
|
},
|
|
41760
41760
|
next() {
|
|
41761
41761
|
this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
|
|
@@ -41764,7 +41764,7 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41764
41764
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
41765
41765
|
},
|
|
41766
41766
|
initSlider() {
|
|
41767
|
-
let O = document.getElementById("sliderContainer_" + this.Random_string), ee = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string),
|
|
41767
|
+
let O = document.getElementById("sliderContainer_" + this.Random_string), ee = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), he = G.querySelectorAll("li"), oe = Array.from(he).filter((J) => J.parentNode === G), U = O.clientWidth, _e = U / this.elementsToShow;
|
|
41768
41768
|
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, _e = this.hide_arrow ? ee.clientWidth : U) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, _e = this.hide_arrow ? ee.clientWidth : U), oe.length > 1) {
|
|
41769
41769
|
this.dotsNum = this.elementsToShow == 1 ? oe.length : oe.length - this.elementsToShow + 1;
|
|
41770
41770
|
let J = this.elementsToShow == 1 ? _e * oe.length / this.dotsNum : _e * (oe.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
@@ -41968,7 +41968,7 @@ const xse = /* @__PURE__ */ Es(UX, [["render", WX]]), jX = {
|
|
|
41968
41968
|
}, null, -1)), KZ = [
|
|
41969
41969
|
qZ
|
|
41970
41970
|
];
|
|
41971
|
-
function YZ(O, ee, G,
|
|
41971
|
+
function YZ(O, ee, G, he, oe, U) {
|
|
41972
41972
|
return se(), ie("div", null, [
|
|
41973
41973
|
N("div", {
|
|
41974
41974
|
class: jt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
@@ -42127,12 +42127,12 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42127
42127
|
},
|
|
42128
42128
|
emits: ["closeModal"],
|
|
42129
42129
|
setup(O, { emit: ee }) {
|
|
42130
|
-
const G = O,
|
|
42130
|
+
const G = O, he = ee, oe = () => {
|
|
42131
42131
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
42132
42132
|
}, U = () => {
|
|
42133
42133
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
42134
42134
|
}, _e = () => {
|
|
42135
|
-
|
|
42135
|
+
he("closeModal"), U();
|
|
42136
42136
|
};
|
|
42137
42137
|
return kA(
|
|
42138
42138
|
() => G.is_open,
|
|
@@ -42222,12 +42222,12 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42222
42222
|
},
|
|
42223
42223
|
emits: ["update:modelValue"],
|
|
42224
42224
|
setup(O, { emit: ee }) {
|
|
42225
|
-
const G = O,
|
|
42225
|
+
const G = O, he = ee, oe = Do(null), U = La({
|
|
42226
42226
|
get() {
|
|
42227
42227
|
return G.modelValue;
|
|
42228
42228
|
},
|
|
42229
42229
|
set(_e) {
|
|
42230
|
-
|
|
42230
|
+
he("update:modelValue", _e);
|
|
42231
42231
|
}
|
|
42232
42232
|
});
|
|
42233
42233
|
return (_e, J) => (se(), ie(Ln, null, [
|
|
@@ -42385,7 +42385,7 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42385
42385
|
},
|
|
42386
42386
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
42387
42387
|
setup(O, { emit: ee }) {
|
|
42388
|
-
const G = O,
|
|
42388
|
+
const G = O, he = ee, oe = Do(null), U = Do({}), _e = Do(0), J = Do(!1), Oe = Do(""), mt = Do("");
|
|
42389
42389
|
fm(() => {
|
|
42390
42390
|
mt.value = xa(), G.show || (document.body.addEventListener("click", (Qe) => {
|
|
42391
42391
|
Yo(Qe);
|
|
@@ -42459,10 +42459,10 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42459
42459
|
) || {};
|
|
42460
42460
|
}
|
|
42461
42461
|
function Eo(Qe) {
|
|
42462
|
-
U.value = Qe, J.value = !1,
|
|
42462
|
+
U.value = Qe, J.value = !1, he("update:modelValue", U.value.id), he("selected", U.value), he("selectionChanged", U.value);
|
|
42463
42463
|
}
|
|
42464
42464
|
function Q() {
|
|
42465
|
-
G.show || (Oe.value = "", J.value = !0,
|
|
42465
|
+
G.show || (Oe.value = "", J.value = !0, dG(() => {
|
|
42466
42466
|
var Qe = document.getElementById(
|
|
42467
42467
|
`${G.field_name}search${mt.value}`
|
|
42468
42468
|
);
|
|
@@ -42470,15 +42470,15 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42470
42470
|
}));
|
|
42471
42471
|
}
|
|
42472
42472
|
function rn() {
|
|
42473
|
-
G.show || (U.value = {}, Oe.value = "",
|
|
42473
|
+
G.show || (U.value = {}, Oe.value = "", he("update:modelValue", ""), Q());
|
|
42474
42474
|
}
|
|
42475
42475
|
function To() {
|
|
42476
|
-
U.value.id || (U.value = {}, Oe.value = ""),
|
|
42476
|
+
U.value.id || (U.value = {}, Oe.value = ""), he("selected", U.value), J.value = !1;
|
|
42477
42477
|
}
|
|
42478
42478
|
return kA(Oe, () => {
|
|
42479
42479
|
eo.value.length === 0 && (U.value = {});
|
|
42480
42480
|
}), kA(U, (Qe) => {
|
|
42481
|
-
ko(Qe) &&
|
|
42481
|
+
ko(Qe) && he("update:modelValue", Qe.id);
|
|
42482
42482
|
}), (Qe, Ae) => {
|
|
42483
42483
|
var Et, uo, kn;
|
|
42484
42484
|
return se(), ie(Ln, null, [
|
|
@@ -42634,13 +42634,13 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42634
42634
|
},
|
|
42635
42635
|
emits: ["update:modelValue", "keydown"],
|
|
42636
42636
|
setup(O, { expose: ee, emit: G }) {
|
|
42637
|
-
const
|
|
42637
|
+
const he = O, oe = G, U = Do(null);
|
|
42638
42638
|
fm(() => {
|
|
42639
42639
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
42640
42640
|
});
|
|
42641
42641
|
const _e = La({
|
|
42642
42642
|
get() {
|
|
42643
|
-
return
|
|
42643
|
+
return he.modelValue;
|
|
42644
42644
|
},
|
|
42645
42645
|
set(J) {
|
|
42646
42646
|
oe("update:modelValue", J);
|
|
@@ -42735,9 +42735,9 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42735
42735
|
},
|
|
42736
42736
|
emits: ["update:modelValue", "keydown"],
|
|
42737
42737
|
setup(O, { expose: ee, emit: G }) {
|
|
42738
|
-
const
|
|
42739
|
-
await
|
|
42740
|
-
selector: "#" +
|
|
42738
|
+
const he = O, oe = G, U = Do(null), _e = async () => {
|
|
42739
|
+
await dG(), tinymce.init({
|
|
42740
|
+
selector: "#" + he.field_name,
|
|
42741
42741
|
width: "100%",
|
|
42742
42742
|
height: 300,
|
|
42743
42743
|
setup(Oe) {
|
|
@@ -42745,14 +42745,14 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42745
42745
|
oe("update:modelValue", Oe.getContent());
|
|
42746
42746
|
});
|
|
42747
42747
|
}
|
|
42748
|
-
});
|
|
42748
|
+
}), console.log("tinymce field_name ", "#" + he.field_name);
|
|
42749
42749
|
};
|
|
42750
42750
|
fm(() => {
|
|
42751
|
-
_e(), console.log("tinymce ",
|
|
42751
|
+
_e(), console.log("tinymce ", he.modelValue), U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
|
|
42752
42752
|
});
|
|
42753
42753
|
const J = La({
|
|
42754
42754
|
get() {
|
|
42755
|
-
return
|
|
42755
|
+
return he.modelValue;
|
|
42756
42756
|
},
|
|
42757
42757
|
set(Oe) {
|
|
42758
42758
|
oe("update:modelValue", Oe);
|
|
@@ -42856,8 +42856,8 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42856
42856
|
return 0;
|
|
42857
42857
|
if (this.limit === 0)
|
|
42858
42858
|
return this.lastPage;
|
|
42859
|
-
for (var O = this.currentPage, ee = this.lastPage, G = this.limit,
|
|
42860
|
-
(Oe === 1 || Oe === ee || Oe >=
|
|
42859
|
+
for (var O = this.currentPage, ee = this.lastPage, G = this.limit, he = O - G, oe = O + G + 1, U = [], _e = [], J, Oe = 1; Oe <= ee; Oe++)
|
|
42860
|
+
(Oe === 1 || Oe === ee || Oe >= he && Oe < oe) && U.push(Oe);
|
|
42861
42861
|
return U.forEach(function(mt) {
|
|
42862
42862
|
J && (mt - J === 2 ? _e.push(J + 1) : mt - J !== 1 && _e.push("...")), _e.push(mt), J = mt;
|
|
42863
42863
|
}), _e;
|
|
@@ -42982,7 +42982,7 @@ const wse = /* @__PURE__ */ Es(jX, [["render", YZ], ["__scopeId", "data-v-a94f16
|
|
|
42982
42982
|
d: "m1 9 4-4-4-4"
|
|
42983
42983
|
})
|
|
42984
42984
|
], -1);
|
|
42985
|
-
function gQ(O, ee, G,
|
|
42985
|
+
function gQ(O, ee, G, he, oe, U) {
|
|
42986
42986
|
const _e = Ly("RenderlessPagination");
|
|
42987
42987
|
return se(), Fy(_e, {
|
|
42988
42988
|
data: G.data,
|
|
@@ -43091,7 +43091,7 @@ const Jq = /* @__PURE__ */ Es(tQ, [["render", gQ]]), pQ = {
|
|
|
43091
43091
|
filteredData() {
|
|
43092
43092
|
const O = this.search.toLowerCase();
|
|
43093
43093
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43094
|
-
(
|
|
43094
|
+
(he) => he.toString().toLowerCase().includes(O)
|
|
43095
43095
|
));
|
|
43096
43096
|
}
|
|
43097
43097
|
},
|
|
@@ -43210,7 +43210,7 @@ const Jq = /* @__PURE__ */ Es(tQ, [["render", gQ]]), pQ = {
|
|
|
43210
43210
|
], -1), RQ = [
|
|
43211
43211
|
BQ
|
|
43212
43212
|
], IQ = ["data-label"], MQ = { class: "overflow-auto max-h-40" }, LQ = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
43213
|
-
function FQ(O, ee, G,
|
|
43213
|
+
function FQ(O, ee, G, he, oe, U) {
|
|
43214
43214
|
const _e = Ly("dropdown"), J = Ly("TailwindPagination");
|
|
43215
43215
|
return se(), ie("div", hQ, [
|
|
43216
43216
|
N("div", bQ, [
|
|
@@ -43342,7 +43342,7 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43342
43342
|
filteredData() {
|
|
43343
43343
|
const O = this.search.toLowerCase();
|
|
43344
43344
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43345
|
-
(
|
|
43345
|
+
(he) => he.toString().toLowerCase().includes(O)
|
|
43346
43346
|
));
|
|
43347
43347
|
},
|
|
43348
43348
|
groupedItems() {
|
|
@@ -43352,10 +43352,10 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43352
43352
|
methods: {
|
|
43353
43353
|
groupBy(O) {
|
|
43354
43354
|
return this.itemLists.data ? this.itemLists.data.reduce((ee, G) => {
|
|
43355
|
-
const
|
|
43356
|
-
ee[
|
|
43355
|
+
const he = G[O];
|
|
43356
|
+
ee[he] || (ee[he] = []);
|
|
43357
43357
|
const oe = { ...G };
|
|
43358
|
-
return delete oe[O], ee[
|
|
43358
|
+
return delete oe[O], ee[he].push(oe), ee;
|
|
43359
43359
|
}, {}) : [];
|
|
43360
43360
|
},
|
|
43361
43361
|
editAction(O) {
|
|
@@ -43469,7 +43469,7 @@ const Tse = /* @__PURE__ */ Es(pQ, [["render", FQ]]), VQ = {
|
|
|
43469
43469
|
], -1), aee = [
|
|
43470
43470
|
ree
|
|
43471
43471
|
], iee = { class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500" }, cee = ["colspan"], lee = ["data-label"], uee = { class: "overflow-auto max-h-40" }, dee = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
43472
|
-
function mee(O, ee, G,
|
|
43472
|
+
function mee(O, ee, G, he, oe, U) {
|
|
43473
43473
|
const _e = Ly("dropdown"), J = Ly("TailwindPagination");
|
|
43474
43474
|
return se(), ie("div", HQ, [
|
|
43475
43475
|
N("div", UQ, [
|
|
@@ -43597,7 +43597,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43597
43597
|
filteredData() {
|
|
43598
43598
|
const O = this.search.toLowerCase();
|
|
43599
43599
|
return this.sortData(this.data).filter((G) => Object.values(G).some(
|
|
43600
|
-
(
|
|
43600
|
+
(he) => he != null && he.toString().toLowerCase().includes(O)
|
|
43601
43601
|
));
|
|
43602
43602
|
},
|
|
43603
43603
|
totalPages() {
|
|
@@ -43614,7 +43614,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43614
43614
|
), ee = O + this.maxDisplayedPages - 1;
|
|
43615
43615
|
return ee > this.totalPages && (ee = this.totalPages, O = Math.max(ee - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
43616
43616
|
{ length: ee - O + 1 },
|
|
43617
|
-
(G,
|
|
43617
|
+
(G, he) => O + he
|
|
43618
43618
|
);
|
|
43619
43619
|
},
|
|
43620
43620
|
firstItemIndex() {
|
|
@@ -43718,7 +43718,7 @@ const Ase = /* @__PURE__ */ Es(VQ, [["render", mee]]), fee = {
|
|
|
43718
43718
|
Xee,
|
|
43719
43719
|
Zee
|
|
43720
43720
|
];
|
|
43721
|
-
function Qee(O, ee, G,
|
|
43721
|
+
function Qee(O, ee, G, he, oe, U) {
|
|
43722
43722
|
const _e = Ly("dropdown");
|
|
43723
43723
|
return se(), ie("div", gee, [
|
|
43724
43724
|
N("div", pee, [
|
|
@@ -43880,7 +43880,7 @@ const Ose = /* @__PURE__ */ Es(fee, [["render", Qee]]), ete = {
|
|
|
43880
43880
|
}), {};
|
|
43881
43881
|
}
|
|
43882
43882
|
};
|
|
43883
|
-
function tte(O, ee, G,
|
|
43883
|
+
function tte(O, ee, G, he, oe, U) {
|
|
43884
43884
|
return se(), ie("div", null, [
|
|
43885
43885
|
ul(O.$slots, "default")
|
|
43886
43886
|
]);
|
|
@@ -43893,7 +43893,7 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43893
43893
|
}
|
|
43894
43894
|
},
|
|
43895
43895
|
setup() {
|
|
43896
|
-
const O = Do(!1), ee = Xq("accordionsWrapper"),
|
|
43896
|
+
const O = Do(!1), ee = Xq("accordionsWrapper"), he = (() => {
|
|
43897
43897
|
var mt = (/* @__PURE__ */ new Date()).getTime();
|
|
43898
43898
|
typeof performance < "u" && typeof performance.now == "function" && (mt += performance.now());
|
|
43899
43899
|
var Rt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(xn) {
|
|
@@ -43901,7 +43901,7 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43901
43901
|
return mt = Math.floor(mt / 16), (xn === "x" ? eo : eo & 3 | 8).toString(16);
|
|
43902
43902
|
});
|
|
43903
43903
|
return Rt;
|
|
43904
|
-
})(), oe = { isOpen: O, id:
|
|
43904
|
+
})(), oe = { isOpen: O, id: he }, U = La(() => ee.accordions.value), _e = La(() => U.value.length > 0 && U.value[0].id === he), J = La(() => U.value.length > 0 && U.value[U.value.length - 1].id === he);
|
|
43905
43905
|
return fm(() => {
|
|
43906
43906
|
ee.registerAccordion(oe);
|
|
43907
43907
|
}), DK(() => {
|
|
@@ -43941,29 +43941,29 @@ const Dse = /* @__PURE__ */ Es(ete, [["render", tte]]), nte = {
|
|
|
43941
43941
|
}, null, -1), lte = [
|
|
43942
43942
|
cte
|
|
43943
43943
|
];
|
|
43944
|
-
function ute(O, ee, G,
|
|
43944
|
+
function ute(O, ee, G, he, oe, U) {
|
|
43945
43945
|
return se(), ie("div", null, [
|
|
43946
43946
|
N("h2", null, [
|
|
43947
43947
|
N("button", {
|
|
43948
|
-
onClick: ee[0] || (ee[0] = (..._e) =>
|
|
43948
|
+
onClick: ee[0] || (ee[0] = (..._e) => he.toggle && he.toggle(..._e)),
|
|
43949
43949
|
type: "button",
|
|
43950
43950
|
class: jt(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
|
|
43951
|
-
"rounded-t-xl":
|
|
43952
|
-
"border-b-0": !
|
|
43953
|
-
"bg-gray-100 dark:bg-gray-800":
|
|
43951
|
+
"rounded-t-xl": he.isFirstAccordion,
|
|
43952
|
+
"border-b-0": !he.isLastAccordion,
|
|
43953
|
+
"bg-gray-100 dark:bg-gray-800": he.isOpen
|
|
43954
43954
|
}]),
|
|
43955
43955
|
"aria-expanded": "true"
|
|
43956
43956
|
}, [
|
|
43957
43957
|
N("span", ote, nt(G.title), 1),
|
|
43958
|
-
|
|
43959
|
-
|
|
43958
|
+
he.isOpen ? Je("", !0) : (se(), ie("svg", ste, ate)),
|
|
43959
|
+
he.isOpen ? (se(), ie("svg", ite, lte)) : Je("", !0)
|
|
43960
43960
|
], 2)
|
|
43961
43961
|
]),
|
|
43962
|
-
|
|
43962
|
+
he.isOpen ? (se(), ie("div", {
|
|
43963
43963
|
key: 0,
|
|
43964
43964
|
class: jt([{
|
|
43965
|
-
"border-b-0": !
|
|
43966
|
-
"border-t-0":
|
|
43965
|
+
"border-b-0": !he.isLastAccordion,
|
|
43966
|
+
"border-t-0": he.isLastAccordion
|
|
43967
43967
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
43968
43968
|
}, [
|
|
43969
43969
|
ul(O.$slots, "default")
|
|
@@ -44047,16 +44047,16 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44047
44047
|
setup(O, { emit: ee }) {
|
|
44048
44048
|
const G = O;
|
|
44049
44049
|
fm(() => {
|
|
44050
|
-
setTimeout(() =>
|
|
44050
|
+
setTimeout(() => he("remove"), G.duration);
|
|
44051
44051
|
});
|
|
44052
|
-
const
|
|
44052
|
+
const he = ee;
|
|
44053
44053
|
return (oe, U) => (se(), ie("div", dte, [
|
|
44054
44054
|
G.type === "success" ? (se(), ie("div", mte, pte)) : Je("", !0),
|
|
44055
44055
|
G.type === "error" ? (se(), ie("div", hte, vte)) : Je("", !0),
|
|
44056
44056
|
G.type === "warning" ? (se(), ie("div", xte, _te)) : Je("", !0),
|
|
44057
44057
|
N("div", Ste, nt(G.message), 1),
|
|
44058
44058
|
N("button", {
|
|
44059
|
-
onClick: U[0] || (U[0] = (_e) =>
|
|
44059
|
+
onClick: U[0] || (U[0] = (_e) => he("remove")),
|
|
44060
44060
|
type: "button",
|
|
44061
44061
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
44062
44062
|
"data-dismiss-target": "#toast-default",
|
|
@@ -44087,7 +44087,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44087
44087
|
function ee(G) {
|
|
44088
44088
|
vL.methods.remove(G);
|
|
44089
44089
|
}
|
|
44090
|
-
return (G,
|
|
44090
|
+
return (G, he) => (se(), Fy($K, {
|
|
44091
44091
|
tag: "div",
|
|
44092
44092
|
"enter-from-class": "translate-x-full opacity-0",
|
|
44093
44093
|
"enter-active-class": "duration-500",
|
|
@@ -44149,10 +44149,10 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44149
44149
|
},
|
|
44150
44150
|
emits: ["deleteAction"],
|
|
44151
44151
|
setup(O, { emit: ee }) {
|
|
44152
|
-
const G = O,
|
|
44153
|
-
|
|
44152
|
+
const G = O, he = Do(!1), oe = Do(!1), U = () => {
|
|
44153
|
+
he.value = !1;
|
|
44154
44154
|
}, _e = () => {
|
|
44155
|
-
|
|
44155
|
+
he.value = !0;
|
|
44156
44156
|
}, J = () => {
|
|
44157
44157
|
oe.value = !1;
|
|
44158
44158
|
}, Oe = () => {
|
|
@@ -44171,7 +44171,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44171
44171
|
return (xn, eo) => {
|
|
44172
44172
|
const jo = Zq("click-outside");
|
|
44173
44173
|
return se(), ie(Ln, null, [
|
|
44174
|
-
Up(
|
|
44174
|
+
Up(mG, {
|
|
44175
44175
|
isOpen: oe.value,
|
|
44176
44176
|
onConfirmDelete: Rt,
|
|
44177
44177
|
onCancelDelete: J
|
|
@@ -44205,7 +44205,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44205
44205
|
])) : Je("", !0)
|
|
44206
44206
|
])
|
|
44207
44207
|
], 512), [
|
|
44208
|
-
[bC,
|
|
44208
|
+
[bC, he.value]
|
|
44209
44209
|
])
|
|
44210
44210
|
])), [
|
|
44211
44211
|
[jo, U]
|
|
@@ -44255,10 +44255,10 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44255
44255
|
},
|
|
44256
44256
|
emits: ["deleteAction"],
|
|
44257
44257
|
setup(O, { emit: ee }) {
|
|
44258
|
-
const G = O,
|
|
44259
|
-
|
|
44258
|
+
const G = O, he = Do(!1), oe = Do(!1), U = () => {
|
|
44259
|
+
he.value = !1;
|
|
44260
44260
|
}, _e = () => {
|
|
44261
|
-
|
|
44261
|
+
he.value = !0;
|
|
44262
44262
|
}, J = () => {
|
|
44263
44263
|
oe.value = !1;
|
|
44264
44264
|
}, Oe = () => {
|
|
@@ -44277,7 +44277,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44277
44277
|
return (xn, eo) => {
|
|
44278
44278
|
const jo = Zq("click-outside");
|
|
44279
44279
|
return se(), ie(Ln, null, [
|
|
44280
|
-
Up(
|
|
44280
|
+
Up(mG, {
|
|
44281
44281
|
isOpen: oe.value,
|
|
44282
44282
|
onConfirmDelete: Rt,
|
|
44283
44283
|
onCancelDelete: J
|
|
@@ -44302,7 +44302,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44302
44302
|
])) : Je("", !0)
|
|
44303
44303
|
])
|
|
44304
44304
|
], 512), [
|
|
44305
|
-
[bC,
|
|
44305
|
+
[bC, he.value]
|
|
44306
44306
|
])
|
|
44307
44307
|
])), [
|
|
44308
44308
|
[jo, U]
|
|
@@ -44363,7 +44363,7 @@ const Nse = /* @__PURE__ */ Es(nte, [["render", ute]]), dte = {
|
|
|
44363
44363
|
"clip-rule": "evenodd"
|
|
44364
44364
|
})
|
|
44365
44365
|
], -1);
|
|
44366
|
-
function Qte(O, ee, G,
|
|
44366
|
+
function Qte(O, ee, G, he, oe, U) {
|
|
44367
44367
|
return se(), ie("div", null, [
|
|
44368
44368
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row, (_e, J) => (se(), ie("div", {
|
|
44369
44369
|
key: J,
|
|
@@ -44439,7 +44439,7 @@ const Rse = /* @__PURE__ */ Es(qte, [["render", Qte]]), ene = {
|
|
|
44439
44439
|
"clip-rule": "evenodd"
|
|
44440
44440
|
})
|
|
44441
44441
|
], -1);
|
|
44442
|
-
function ane(O, ee, G,
|
|
44442
|
+
function ane(O, ee, G, he, oe, U) {
|
|
44443
44443
|
return se(), ie("div", null, [
|
|
44444
44444
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row[G.field], (_e) => (se(), ie("div", {
|
|
44445
44445
|
key: _e.id,
|
|
@@ -44470,7 +44470,7 @@ function ane(O, ee, G, be, oe, U) {
|
|
|
44470
44470
|
const Ise = /* @__PURE__ */ Es(ene, [["render", ane]]), ine = {
|
|
44471
44471
|
props: ["field", "row", "tdProps"]
|
|
44472
44472
|
}, cne = { key: 0 }, lne = ["innerHTML"];
|
|
44473
|
-
function une(O, ee, G,
|
|
44473
|
+
function une(O, ee, G, he, oe, U) {
|
|
44474
44474
|
return G.row[G.field] ? (se(), ie("div", cne, [
|
|
44475
44475
|
N("div", {
|
|
44476
44476
|
class: "w-full",
|
|
@@ -44496,7 +44496,7 @@ const Mse = /* @__PURE__ */ Es(ine, [["render", une]]), dne = {
|
|
|
44496
44496
|
key: 1,
|
|
44497
44497
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
44498
44498
|
};
|
|
44499
|
-
function gne(O, ee, G,
|
|
44499
|
+
function gne(O, ee, G, he, oe, U) {
|
|
44500
44500
|
return se(), ie("div", mne, [
|
|
44501
44501
|
U.isArray ? (se(!0), ie(Ln, { key: 0 }, ps(G.row[U.entry.key], (_e, J) => (se(), ie("span", {
|
|
44502
44502
|
key: J,
|
|
@@ -44507,7 +44507,7 @@ function gne(O, ee, G, be, oe, U) {
|
|
|
44507
44507
|
const Lse = /* @__PURE__ */ Es(dne, [["render", gne]]), pne = {
|
|
44508
44508
|
props: ["field", "row", "tdProps"]
|
|
44509
44509
|
}, hne = { key: 0 }, bne = { class: "m-1 d-inline-block" }, yne = ["href", "title"], vne = ["src", "alt", "title"];
|
|
44510
|
-
function xne(O, ee, G,
|
|
44510
|
+
function xne(O, ee, G, he, oe, U) {
|
|
44511
44511
|
return G.row[G.field] ? (se(), ie("div", hne, [
|
|
44512
44512
|
N("div", bne, [
|
|
44513
44513
|
N("a", {
|
|
@@ -44538,7 +44538,7 @@ const Fse = /* @__PURE__ */ Es(pne, [["render", xne], ["__scopeId", "data-v-3a28
|
|
|
44538
44538
|
key: 1,
|
|
44539
44539
|
class: "inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"
|
|
44540
44540
|
}, Ene = /* @__PURE__ */ N("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
44541
|
-
function Tne(O, ee, G,
|
|
44541
|
+
function Tne(O, ee, G, he, oe, U) {
|
|
44542
44542
|
return se(), ie("div", Cne, [
|
|
44543
44543
|
U.isActive ? (se(), ie("span", _ne, [
|
|
44544
44544
|
Sne,
|
|
@@ -44578,7 +44578,7 @@ const Vse = /* @__PURE__ */ Es(wne, [["render", Tne]]), Ane = {
|
|
|
44578
44578
|
/* @__PURE__ */ N("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
44579
44579
|
/* @__PURE__ */ N("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
44580
44580
|
], -1);
|
|
44581
|
-
function Vne(O, ee, G,
|
|
44581
|
+
function Vne(O, ee, G, he, oe, U) {
|
|
44582
44582
|
return se(), ie("div", One, [
|
|
44583
44583
|
U.hasLabelColor == "green" ? (se(), ie("span", Dne, [
|
|
44584
44584
|
Nne,
|
|
@@ -44624,7 +44624,7 @@ const Hse = /* @__PURE__ */ Es(Ane, [["render", Vne]]), Hne = {
|
|
|
44624
44624
|
}
|
|
44625
44625
|
}
|
|
44626
44626
|
}, Une = { class: "flex flex-wrap gap-2 text-nowrap justify-center" };
|
|
44627
|
-
function zne(O, ee, G,
|
|
44627
|
+
function zne(O, ee, G, he, oe, U) {
|
|
44628
44628
|
return se(), ie("div", Une, [
|
|
44629
44629
|
U.hasLabelColor == "Default" ? (se(), ie("span", {
|
|
44630
44630
|
key: 0,
|
|
@@ -44695,7 +44695,7 @@ const Use = /* @__PURE__ */ Es(Hne, [["render", zne]]), Wne = {
|
|
|
44695
44695
|
/* @__PURE__ */ N("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
44696
44696
|
/* @__PURE__ */ N("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
44697
44697
|
], -1);
|
|
44698
|
-
function noe(O, ee, G,
|
|
44698
|
+
function noe(O, ee, G, he, oe, U) {
|
|
44699
44699
|
return se(), ie("div", jne, [
|
|
44700
44700
|
U.hasLabelColor == "green" ? (se(), ie("span", Gne, [
|
|
44701
44701
|
qne,
|
|
@@ -44725,17 +44725,17 @@ const zse = /* @__PURE__ */ Es(Wne, [["render", noe]]), ooe = {
|
|
|
44725
44725
|
formattedDate() {
|
|
44726
44726
|
if (!this.row[this.field])
|
|
44727
44727
|
return "";
|
|
44728
|
-
const O = new Date(this.row[this.field]), ee = O.getFullYear(), G = O.toLocaleString("default", { month: "long" }),
|
|
44728
|
+
const O = new Date(this.row[this.field]), ee = O.getFullYear(), G = O.toLocaleString("default", { month: "long" }), he = O.getDate();
|
|
44729
44729
|
let oe = O.getHours();
|
|
44730
44730
|
const U = O.getMinutes(), _e = O.getSeconds(), J = oe >= 12 ? "pm" : "am";
|
|
44731
|
-
return oe = oe % 12, oe = oe || 12, `${G} ${
|
|
44731
|
+
return oe = oe % 12, oe = oe || 12, `${G} ${he}, ${ee}, ${oe}:${U}:${_e} ${J}`;
|
|
44732
44732
|
},
|
|
44733
44733
|
isActive() {
|
|
44734
44734
|
return this.row[this.field] === 1;
|
|
44735
44735
|
}
|
|
44736
44736
|
}
|
|
44737
44737
|
}, soe = { class: "w-full" };
|
|
44738
|
-
function roe(O, ee, G,
|
|
44738
|
+
function roe(O, ee, G, he, oe, U) {
|
|
44739
44739
|
return se(), ie("div", soe, nt(U.formattedDate), 1);
|
|
44740
44740
|
}
|
|
44741
44741
|
const Wse = /* @__PURE__ */ Es(ooe, [["render", roe]]), aoe = {
|
|
@@ -44753,7 +44753,7 @@ const Wse = /* @__PURE__ */ Es(ooe, [["render", roe]]), aoe = {
|
|
|
44753
44753
|
key: 2,
|
|
44754
44754
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
44755
44755
|
}, foe = /* @__PURE__ */ N("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
44756
|
-
function goe(O, ee, G,
|
|
44756
|
+
function goe(O, ee, G, he, oe, U) {
|
|
44757
44757
|
return se(), ie("div", ioe, [
|
|
44758
44758
|
G.row[G.field] === 0 ? (se(), ie("span", coe, [
|
|
44759
44759
|
loe,
|
|
@@ -44775,7 +44775,7 @@ const jse = /* @__PURE__ */ Es(aoe, [["render", goe]]), poe = {
|
|
|
44775
44775
|
key: 0,
|
|
44776
44776
|
class: "text-nowrap"
|
|
44777
44777
|
}, boe = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
44778
|
-
function yoe(O, ee, G,
|
|
44778
|
+
function yoe(O, ee, G, he, oe, U) {
|
|
44779
44779
|
return G.row[G.field] ? (se(), ie("div", hoe, [
|
|
44780
44780
|
N("pre", boe, " " + nt(G.row[G.field]) + `
|
|
44781
44781
|
`, 1)
|
|
@@ -44803,7 +44803,7 @@ const Gse = /* @__PURE__ */ Es(poe, [["render", yoe]]), voe = {
|
|
|
44803
44803
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
44804
44804
|
"aria-hidden": "true"
|
|
44805
44805
|
}, "", -1), Soe = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, koe = { class: "px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4" }, Eoe = { class: "sm:flex sm:items-start" }, Toe = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Aoe = { class: "text-lg font-medium leading-6 text-gray-900" }, Ooe = { class: "mt-2" }, Doe = { class: "px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
44806
|
-
function Noe(O, ee, G,
|
|
44806
|
+
function Noe(O, ee, G, he, oe, U) {
|
|
44807
44807
|
return G.isOpen ? (se(), ie("div", xoe, [
|
|
44808
44808
|
N("div", woe, [
|
|
44809
44809
|
Coe,
|
|
@@ -44886,7 +44886,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44886
44886
|
}
|
|
44887
44887
|
},
|
|
44888
44888
|
setup(O) {
|
|
44889
|
-
const ee = O, G = Do(!1),
|
|
44889
|
+
const ee = O, G = Do(!1), he = (U) => {
|
|
44890
44890
|
navigator.clipboard.writeText(U).then(function() {
|
|
44891
44891
|
G.value = !0, setTimeout(() => {
|
|
44892
44892
|
G.value = !1;
|
|
@@ -44905,7 +44905,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44905
44905
|
]),
|
|
44906
44906
|
N("div", Loe, [
|
|
44907
44907
|
N("button", {
|
|
44908
|
-
onClick: _e[0] || (_e[0] = (J) =>
|
|
44908
|
+
onClick: _e[0] || (_e[0] = (J) => he(oe.value)),
|
|
44909
44909
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
44910
44910
|
}, [
|
|
44911
44911
|
G.value ? Je("", !0) : (se(), ie("span", Foe, Uoe)),
|
|
@@ -44966,7 +44966,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44966
44966
|
}
|
|
44967
44967
|
},
|
|
44968
44968
|
setup(O) {
|
|
44969
|
-
const ee = O, G = Do(!1),
|
|
44969
|
+
const ee = O, G = Do(!1), he = (U) => {
|
|
44970
44970
|
navigator.clipboard.writeText(U).then(function() {
|
|
44971
44971
|
G.value = !0, setTimeout(() => {
|
|
44972
44972
|
G.value = !1;
|
|
@@ -44993,7 +44993,7 @@ const qse = /* @__PURE__ */ Es(voe, [["render", Noe]]), $oe = { class: "w-full"
|
|
|
44993
44993
|
]),
|
|
44994
44994
|
N("button", {
|
|
44995
44995
|
style: { padding: ".61rem" },
|
|
44996
|
-
onClick: _e[0] || (_e[0] = (J) =>
|
|
44996
|
+
onClick: _e[0] || (_e[0] = (J) => he(oe.value)),
|
|
44997
44997
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
44998
44998
|
type: "button"
|
|
44999
44999
|
}, [
|
|
@@ -45029,7 +45029,7 @@ export {
|
|
|
45029
45029
|
Vse as GlDatatableStatus,
|
|
45030
45030
|
Hse as GlDatatableStatusGeneral,
|
|
45031
45031
|
Use as GlDatatableStatusSpecficColor,
|
|
45032
|
-
|
|
45032
|
+
mG as GlDeleteConfirmationModal,
|
|
45033
45033
|
Sse as GlDropdown,
|
|
45034
45034
|
use as GlFilesUpload,
|
|
45035
45035
|
dse as GlLanguageSelector,
|