agilebuilder-ui 1.1.35-sit2 → 1.1.35

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.
@@ -8195,13 +8195,13 @@ function getAdditionalParamMap$1(n) {
8195
8195
  return r && Object.assign(o, r), o;
8196
8196
  }
8197
8197
  }
8198
- function getPropValueNew(n, o, r) {
8199
- let a = null;
8198
+ function getPropValueNew(n, o) {
8199
+ let r = null;
8200
8200
  if (n && n !== null && n !== "") {
8201
- const s = o && o.entity ? o.entity.data : null, l = getAdditionalParamMap$1(o), d = o && o.entity ? o.entity.context : null, p = o && o.entity ? o.entity.parent ? o.entity.parent : o.entity.data : null, v = o && o.entity ? o.entity.row : null, w = o && o.entity ? o.entity.task : null, E = o && o.entity ? o.entity.system : null;
8202
- n === "null" ? a = null : n.startsWith("${row.") ? r && (a = getEntityFieldValue(r, n.replace("${row.", "").replace("}", ""))) : n.includes("${context.") || n.includes("${request.") || n.includes("${obj.") || n.includes("${data.") ? n.includes("${context.") ? a = getContextValue(d, n = n.replace("${context.", "").replace("}", "")) : n.includes("${request.") && n !== "${request.term}" ? (n = n.replace("${request.", "").replace("}", ""), a = l && l != null && Object.keys(l).indexOf(n) >= 0 && l[n] && l[n] !== null ? l[n] : null) : n.includes("${obj.") ? s === void 0 || s == null ? a = null : a = getEntityFieldValue(s, n.replace("${obj.", "").replace("}", "")) : n.includes("${data.") && (s === void 0 || s == null ? a = null : a = getEntityFieldValue(s, n.replace("${data.", "").replace("}", ""))) : n.includes("${parent.") ? p === void 0 || p == null ? a = null : a = getEntityFieldValue(p, n.replace("${parent.", "").replace("}", "")) : n.includes("${system.") ? E === void 0 || E == null ? a = null : a = getEntityFieldValue(E, n.replace("${system.", "").replace("}", "")) : n.includes("${task.") ? w === void 0 || w == null ? a = null : a = getEntityFieldValue(w, n.replace("${task.", "").replace("}", "")) : n.includes("${subObj.") ? v === void 0 || v == null ? a = null : a = getEntityFieldValue(v, n.replace("${subObj.", "").replace("}", "")) : a = n.includes("${input.") ? n.replace("${input.", "").replace("}", "") : n.includes("${fixed.") ? n.replace("${fixed.", "").replace("}", "") : n;
8201
+ const a = o && o.entity ? o.entity.data : null, s = getAdditionalParamMap$1(o), l = o && o.entity ? o.entity.context : null, d = o && o.entity ? o.entity.parent ? o.entity.parent : o.entity.data : null, p = o && o.entity ? o.entity.row : null, v = o && o.entity ? o.entity.task : null, w = o && o.entity ? o.entity.system : null;
8202
+ n === "null" ? r = null : n.includes("${context.") || n.includes("${request.") || n.includes("${obj.") || n.includes("${data.") ? n.includes("${context.") ? r = getContextValue(l, n = n.replace("${context.", "").replace("}", "")) : n.includes("${request.") && n !== "${request.term}" ? (n = n.replace("${request.", "").replace("}", ""), r = s && s != null && Object.keys(s).indexOf(n) >= 0 && s[n] && s[n] !== null ? s[n] : null) : n.includes("${obj.") ? a === void 0 || a == null ? r = null : r = getEntityFieldValue(a, n.replace("${obj.", "").replace("}", "")) : n.includes("${data.") && (a === void 0 || a == null ? r = null : r = getEntityFieldValue(a, n.replace("${data.", "").replace("}", ""))) : n.includes("${parent.") ? d === void 0 || d == null ? r = null : r = getEntityFieldValue(d, n.replace("${parent.", "").replace("}", "")) : n.includes("${system.") ? w === void 0 || w == null ? r = null : r = getEntityFieldValue(w, n.replace("${system.", "").replace("}", "")) : n.includes("${task.") ? v === void 0 || v == null ? r = null : r = getEntityFieldValue(v, n.replace("${task.", "").replace("}", "")) : n.includes("${subObj.") ? p === void 0 || p == null ? r = null : r = getEntityFieldValue(p, n.replace("${subObj.", "").replace("}", "")) : r = n.includes("${input.") ? n.replace("${input.", "").replace("}", "") : n.includes("${fixed.") ? n.replace("${fixed.", "").replace("}", "") : n;
8203
8203
  }
8204
- return a;
8204
+ return r;
8205
8205
  }
8206
8206
  function analysisValue(n, o, r, a, s) {
8207
8207
  if (!n)
@@ -8210,7 +8210,7 @@ function analysisValue(n, o, r, a, s) {
8210
8210
  const d = n.split("-#-#");
8211
8211
  return d != null && d.length > 0 && d.forEach((p) => {
8212
8212
  let v;
8213
- v = s ? getPropValueNew(p, s, o) : getPropValue(p, o, r, a), v && v !== null || (v = ""), l += v;
8213
+ v = s ? getPropValueNew(p, s) : getPropValue(p, o, r, a), v && v !== null || (v = ""), l += v;
8214
8214
  }), l;
8215
8215
  }
8216
8216
  function setEntityFieldValue(n, o, r) {
@@ -9662,16 +9662,16 @@ const SvgIcon = _export_sfc(_sfc_main$1K, [["render", _sfc_render$1e], ["__scope
9662
9662
  const o = ref(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=");
9663
9663
  return (r, a) => {
9664
9664
  const s = resolveComponent("el-icon");
9665
- return n.iconValue.indexOf("amb-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(["amb-iconfont", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("amb-color-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 1, class: normalizeClass(["amb-color-iconfont super-icon", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("fa-") === 0 ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass("fa " + n.iconValue) }, null, 2)) : n.iconValue.indexOf("svg-img-") === 0 ? (openBlock(), createElementBlock("img", { key: 3, src: o.value + n.iconValue.substring(8), style: { width: "1em", height: "1em" } }, null, 8, _hoisted_1$1l)) : n.iconValue.indexOf("svg-") === 0 ? (openBlock(), createBlock(SvgIcon, { key: 4, "icon-class": n.iconValue.substring(4) }, null, 8, ["icon-class"])) : n.iconValue.indexOf("http") === 0 || n.iconValue.indexOf("//") === 0 || n.iconValue.indexOf("data:") === 0 ? (openBlock(), createElementBlock("img", { key: 5, src: n.iconValue, style: { width: "1em", height: "1em" } }, null, 8, _hoisted_2$Q)) : (openBlock(), createBlock(s, { key: 6 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(n.iconValue)))]), _: 1 }));
9665
+ return n.iconValue.indexOf("amb-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(["amb-iconfont", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("amb-color-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 1, class: normalizeClass(["amb-color-iconfont", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("fa-") === 0 ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass("fa " + n.iconValue) }, null, 2)) : n.iconValue.indexOf("svg-img-") === 0 ? (openBlock(), createElementBlock("img", { key: 3, src: o.value + n.iconValue.substring(8), style: { width: "1em", height: "1em" } }, null, 8, _hoisted_1$1l)) : n.iconValue.indexOf("svg-") === 0 ? (openBlock(), createBlock(SvgIcon, { key: 4, "icon-class": n.iconValue.substring(4) }, null, 8, ["icon-class"])) : n.iconValue.indexOf("http") === 0 || n.iconValue.indexOf("//") === 0 || n.iconValue.indexOf("data:") === 0 ? (openBlock(), createElementBlock("img", { key: 5, src: n.iconValue, style: { width: "1em", height: "1em" } }, null, 8, _hoisted_2$Q)) : (openBlock(), createBlock(s, { key: 6 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(n.iconValue)))]), _: 1 }));
9666
9666
  };
9667
- } }), index_vue_vue_type_style_index_0_scoped_91c142d0_lang = "", superIcon = _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-91c142d0"]]);
9668
- superIcon.install = function(n) {
9669
- n.component("SuperIcon", superIcon);
9667
+ } });
9668
+ _sfc_main$1J.install = function(n) {
9669
+ n.component("SuperIcon", _sfc_main$1J);
9670
9670
  };
9671
9671
  const _sfc_main$1I = defineComponent({ name: "MenuItem", functional: !0, props: { icon: { type: String, default: "" }, title: { type: String, default: "" }, hasChildren: { type: Boolean, default: !1 }, isRoot: { type: Boolean, default: !1 }, code: { type: Boolean, default: !1 }, backlogTotal: { type: Number, default: 0 } }, render(n) {
9672
9672
  const { title: o, hasChildren: r, isRoot: a, code: s, backlogTotal: l } = n, d = n.icon, p = [];
9673
9673
  let v = [h("i", { class: "amb-iconfont amb-icon-meun_post" })];
9674
- return d && (v = [h(superIcon, { iconValue: d })]), p.push(h("div", { class: ["smb-sidebar-menu-item-icon"] }, v)), o && (a ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)])) : s === "undoneTask" ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, [h(ElBadge, { value: l, style: { display: "inline" } }, o)])])) : p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)]))), p;
9674
+ return d && (v = [h(_sfc_main$1J, { iconValue: d })]), p.push(h("div", { class: ["smb-sidebar-menu-item-icon"] }, v)), o && (a ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)])) : s === "undoneTask" ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, [h(ElBadge, { value: l, style: { display: "inline" } }, o)])])) : p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)]))), p;
9675
9675
  } }), _sfc_main$1H = { props: { to: { type: Object, required: !0 } }, data() {
9676
9676
  const n = this.to.isExternal, o = this.to.openWay;
9677
9677
  let r = !1;
@@ -9950,7 +9950,7 @@ function _sfc_render$1a(n, o, r, a, s, l) {
9950
9950
  const d = resolveComponent("app-main");
9951
9951
  return openBlock(), createElementBlock("div", _hoisted_1$1i, [createElementVNode("div", _hoisted_2$P, [createVNode(d)])]);
9952
9952
  }
9953
- const Layout = _export_sfc(_sfc_main$1E, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-bd0c7ac7.js"), hidden: !0 }] }, { path: "/auth-redirect", component: () => import("./authredirect-294d14ef.js"), hidden: !0 }, { path: "/404", component: () => import("./404-81306f89.js"), hidden: !0 }, { path: "/401", component: () => import("./401-10787110.js"), hidden: !0 }, { path: "/show-sub-wf-history", component: () => import("./tache-subprocess-history-00e89e0a.js"), hidden: !0 }, { path: "/tab-content-index", component: () => import("./tab-content-index-ddd15021.js"), hidden: !0 }, { path: "/tab-content-iframe-index", component: () => import("./tab-content-iframe-index-84fee73c.js"), hidden: !0 }], protectedRouterMap = [];
9953
+ const Layout = _export_sfc(_sfc_main$1E, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-51c292dc.js"), hidden: !0 }] }, { path: "/auth-redirect", component: () => import("./authredirect-294d14ef.js"), hidden: !0 }, { path: "/404", component: () => import("./404-36d09e24.js"), hidden: !0 }, { path: "/401", component: () => import("./401-20f1c97c.js"), hidden: !0 }, { path: "/show-sub-wf-history", component: () => import("./tache-subprocess-history-56bf69ba.js"), hidden: !0 }, { path: "/tab-content-index", component: () => import("./tab-content-index-bd535c86.js"), hidden: !0 }, { path: "/tab-content-iframe-index", component: () => import("./tab-content-iframe-index-5d9d85c0.js"), hidden: !0 }], protectedRouterMap = [];
9954
9954
  function filterProtectedRouter(n, o) {
9955
9955
  const r = [], a = [];
9956
9956
  return n.forEach((s) => {
@@ -10753,16 +10753,16 @@ function doFormatWithValueSet(n, o) {
10753
10753
  return o;
10754
10754
  const r = n.valueSet;
10755
10755
  if (r !== void 0)
10756
- if (n.componentType === "multiselect") {
10756
+ if (n.componentType !== "multiselect" || isDynamicDataSourceSource(n)) {
10757
+ const a = r.filter((s) => s.value === o + "");
10758
+ a.length > 0 && (o = a[0].label);
10759
+ } else {
10757
10760
  typeof o == "number" && (o += "");
10758
10761
  const a = (o + "").split(","), s = [];
10759
10762
  a.forEach((l) => {
10760
10763
  const d = r.filter((p) => p.value === l + "");
10761
10764
  d.length > 0 && s.push(d[0].label);
10762
- }), s.length > 0 && (o = s.join(","));
10763
- } else {
10764
- const a = r.filter((s) => s.value === o + "");
10765
- a.length > 0 && (o = a[0].label);
10765
+ }), o = s.join(",");
10766
10766
  }
10767
10767
  return o;
10768
10768
  }
@@ -12790,19 +12790,15 @@ function _sfc_render$_(n, o, r, a, s, l) {
12790
12790
  const d = resolveComponent("el-date-picker"), p = resolveComponent("el-time-picker"), v = resolveComponent("el-input"), w = resolveComponent("SuperIcon"), E = resolveComponent("fs-upload-list"), x = resolveComponent("multipart-upload"), D = resolveComponent("el-option"), O = resolveComponent("el-select"), M = resolveComponent("dynamic-source-select"), L = resolveComponent("el-input-number"), q = resolveComponent("el-switch"), G = resolveComponent("el-slider"), W = resolveComponent("el-rate"), Z = resolveComponent("organization-input"), X = resolveComponent("el-button"), J = resolveComponent("el-upload"), ue = resolveComponent("el-dialog"), re = resolveComponent("view-image-dialog"), ge = resolveComponent("scan-code-input-browser");
12791
12791
  return r.type && r.type.indexOf("custom:") >= 0 && s.componentName != "" ? (openBlock(), createElementBlock("div", { key: 0, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [(openBlock(), createBlock(resolveDynamicComponent(s.componentName), { ref: "customItem", disabled: r.disabled, entity: r.row, "grid-data": s.gridData, "page-grid-data": s.pageGridData, "additional-settings": s.controlConfig, parent: s.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.position ? r.position.row : null, "select-options": r.options, value: s.innerValue, "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "page-context": s.pageContext, onChange: o[0] || (o[0] = (oe) => l.cellEvent("change", oe)), onInput: o[1] || (o[1] = (oe) => l.cellEvent("input", oe)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 4)) : (openBlock(), createElementBlock("div", { key: 1, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [r.type === "year" || r.type === "month" || r.type === "week" ? (openBlock(), createBlock(d, { key: 0, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[2] || (o[2] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), type: r.type, "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[3] || (o[3] = (oe) => l.cellEvent("blur", oe)), onChange: o[4] || (o[4] = (oe) => l.cellEvent("change", oe)), onFocus: o[5] || (o[5] = (oe) => l.cellEvent("focus", oe)), onInput: o[6] || (o[6] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : r.type === "yearRange" ? (openBlock(), createBlock(d, { key: 1, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[7] || (o[7] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, placeholder: n.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: o[8] || (o[8] = (oe) => l.cellEvent("blur", oe)), onChange: o[9] || (o[9] = (oe) => l.cellEvent("change", oe)), onFocus: o[10] || (o[10] = (oe) => l.cellEvent("focus", oe)), onInput: o[11] || (o[11] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : r.type === "dateTimePicker" ? (openBlock(), createBlock(d, { key: 2, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[12] || (o[12] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[13] || (o[13] = (oe) => l.cellEvent("blur", oe)), onChange: o[14] || (o[14] = (oe) => l.cellEvent("change", oe)), onFocus: o[15] || (o[15] = (oe) => l.cellEvent("focus", oe)), onInput: o[16] || (o[16] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "date" ? (openBlock(), createBlock(d, { key: 3, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[17] || (o[17] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[18] || (o[18] = (oe) => l.cellEvent("blur", oe)), onChange: o[19] || (o[19] = (oe) => l.cellEvent("change", oe)), onFocus: o[20] || (o[20] = (oe) => l.cellEvent("focus", oe)), onInput: o[21] || (o[21] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type === "timePicker" || r.type === "input" && r.column.dataType === "TIME" ? (openBlock(), createBlock(p, { key: 4, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[22] || (o[22] = (oe) => s.innerValue = oe), disabled: r.disabled, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[23] || (o[23] = (oe) => l.cellEvent("blur", oe)), onChange: o[24] || (o[24] = (oe) => l.cellEvent("change", oe)), onFocus: o[25] || (o[25] = (oe) => l.cellEvent("focus", oe)), onInput: o[26] || (o[26] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "time" ? (openBlock(), createBlock(d, { key: 5, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[27] || (o[27] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[28] || (o[28] = (oe) => l.cellEvent("blur", oe)), onChange: o[29] || (o[29] = (oe) => l.cellEvent("change", oe)), onFocus: o[30] || (o[30] = (oe) => l.cellEvent("focus", oe)), onInput: o[31] || (o[31] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.column.dataType === "DATE" ? (openBlock(), createBlock(d, { key: 6, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[32] || (o[32] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[33] || (o[33] = (oe) => l.cellEvent("blur", oe)), onChange: o[34] || (o[34] = (oe) => l.cellEvent("change", oe)), onFocus: o[35] || (o[35] = (oe) => l.cellEvent("focus", oe)), onInput: o[36] || (o[36] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type !== "input" || r.column.dataType !== "INTEGER" && r.column.dataType !== "LONG" ? r.type === "input" ? (openBlock(), createBlock(v, { key: 8, ref: "item", disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, clearable: "", modelValue: s.innerValue, "onUpdate:modelValue": o[48] || (o[48] = (oe) => s.innerValue = oe), onBlur: o[49] || (o[49] = (oe) => l.cellEvent("blur", oe)), onChange: o[50] || (o[50] = (oe) => l.cellEvent("change", oe)), onClear: o[51] || (o[51] = (oe) => l.cellEvent("clear", oe)), onFocus: o[52] || (o[52] = (oe) => l.cellEvent("focus", oe)), onInput: o[53] || (o[53] = (oe) => l.cellEvent("input", oe, !0)) }, createSlots({ _: 2 }, [s.designProperty.iconPosition != "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prefix", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[43] || (o[43] = (oe) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_1$14, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "0" } : void 0, s.designProperty.iconPosition == "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prepend", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[44] || (o[44] = (oe) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_2$G, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "1" } : void 0, s.designProperty.iconPosition != "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "suffix", fn: withCtx(() => [s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[45] || (o[45] = (oe) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_3$v, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "2" } : void 0, s.isShowScanIcon || s.designProperty.iconPosition == "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "append", fn: withCtx(() => [s.isShowScanIcon ? (openBlock(), createBlock(w, { key: 0, iconValue: "fa-barcode", onClick: o[46] || (o[46] = (oe) => l.scanClick()) })) : createCommentVNode("", !0), s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 1, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[47] || (o[47] = (oe) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_4$m, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : r.type === "textarea" ? (openBlock(), createBlock(v, { key: 9, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[54] || (o[54] = (oe) => s.innerValue = oe), disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), rows: 1, title: s.innerValue, clearable: "", type: "textarea", onBlur: o[55] || (o[55] = (oe) => l.cellEvent("blur", oe)), onChange: o[56] || (o[56] = (oe) => l.cellEvent("change", oe)), onClear: o[57] || (o[57] = (oe) => l.cellEvent("clear", oe)), onFocus: o[58] || (o[58] = (oe) => l.cellEvent("focus", oe)), onInput: o[59] || (o[59] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "title"])) : r.type === "annex" ? (openBlock(), createBlock(E, { key: 10, ref: "fileUploadRef", "custom-view-url": !0, disabled: r.disabled, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, "is-sql": r.isSql, row: r.row, value: s.innerValue, "page-context": s.pageContext, "list-code": r.listCode, componentId: s.componentId, onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "multipartUpload" ? (openBlock(), createBlock(x, { key: 11, disabled: r.disabled, entity: r.row, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, value: s.innerValue, type: "list", onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type !== "select" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" && r.type !== "select" || !l.isDynamicDataSourceSource() ? r.type === "inputNumber" ? (openBlock(), createBlock(L, { key: 15, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[81] || (o[81] = (oe) => s.innerValue = oe), "controls-position": s.inputNumberSet.position, disabled: r.disabled, max: s.inputNumberSet.max == 0 ? 0 : s.inputNumberSet.max ? s.inputNumberSet.max : 1 / 0, min: s.inputNumberSet.min == 0 ? 0 : s.inputNumberSet.min ? s.inputNumberSet.min : -1 / 0, precision: s.inputNumberSet.precision, step: s.inputNumberSet.step ? s.inputNumberSet.step : 1, onBlur: o[82] || (o[82] = (oe) => l.cellEvent("blur", oe)), onChange: o[83] || (o[83] = (oe) => l.cellEvent("change", oe)), onFocus: o[84] || (o[84] = (oe) => l.cellEvent("focus", oe)), onInput: o[85] || (o[85] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : r.type === "switch" || r.column.dataType === "BOOLEAN" ? (openBlock(), createBlock(q, { key: 16, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[86] || (o[86] = (oe) => s.innerValue = oe), "active-text": l.getSwitchConfig("activeText"), "active-value": l.getSwitchConfig("activeValue"), disabled: r.disabled, "inactive-text": l.getSwitchConfig("inactiveText"), "inactive-value": l.getSwitchConfig("inactiveValue"), onChange: o[87] || (o[87] = (oe) => l.cellEvent("change", oe)), onInput: o[88] || (o[88] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : r.type === "slider" ? (openBlock(), createBlock(G, { key: 17, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[89] || (o[89] = (oe) => s.innerValue = oe), disabled: r.disabled, onChange: o[90] || (o[90] = (oe) => l.cellEvent("change", oe)), onInput: o[91] || (o[91] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "disabled"])) : r.type === "rate" ? (openBlock(), createBlock(W, { key: 18, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[92] || (o[92] = (oe) => s.innerValue = oe), disabled: r.disabled, onChange: o[93] || (o[93] = (oe) => l.cellEvent("change", oe)), onInput: o[94] || (o[94] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "disabled"])) : s.deptManTree || s.deptTree || s.wgManTree || s.wgTree ? (openBlock(), createBlock(Z, { key: 19, "check-strictly": s.isCheckStrictly, "department-info": s.departmentInfo, disabled: r.disabled, fields: s.fields, "is-join-table": s.isJoinTable, models: r.row, multiple: s.isMultiTree, "table-name": s.tableName, "tree-type": s.deptManTree ? "DeptUserTree" : s.deptTree ? "DeptTree" : s.wgManTree ? "WgTree" : s.wgTree ? "WgUserTree" : null, value: s.innerValue, onAppend: l.appendOrganizationInputEvent, onClear: l.clearOrganizationInputEvent, onFocus: l.showOrganizationTree, onReplace: l.replaceOrganizationInputEvent, onSetValue: l.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : createCommentVNode("", !0) : (openBlock(), createBlock(M, { key: 14, value: s.innerValue, "onUpdate:value": o[74] || (o[74] = (oe) => s.innerValue = oe), "base-props": { multiple: r.type === "multiselect", disabled: r.disabled }, column: r.column, entity: r.row, "is-join-table": s.isJoinTable, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: { dynamicDataSourceCode: s.dynamicDataSourceCode, valueSetOptions: s.valueSetOptions, isSql: r.isSql, backendUrl: s.baseURL, additionalParameter: s.additionalParamMap ? JSON.stringify(s.additionalParamMap) : null }, parent: s.parentFormData, "table-name": s.tableName, onBlur: o[75] || (o[75] = (oe) => l.cellEvent("blur", oe)), onChange: l.multiselectChange, onClear: o[76] || (o[76] = (oe) => l.cellEvent("clear", oe)), onFocus: o[77] || (o[77] = (oe) => l.cellEvent("focus", oe)), onInput: o[78] || (o[78] = (oe) => l.cellEvent("input", oe)), onVisibleChange: o[79] || (o[79] = (oe) => l.cellEvent("visible-change", oe)), onRemoveTag: o[80] || (o[80] = (oe) => l.cellEvent("remove-tag", oe)), onSetValue: l.setDynamicSourceSelectValue }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name", "onChange", "onSetValue"])) : (openBlock(), createBlock(O, { key: 13, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[67] || (o[67] = (oe) => s.innerValue = oe), disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), clearable: "", "collapse-tags": "", multiple: "", onBlur: o[68] || (o[68] = (oe) => l.cellEvent("blur", oe)), onChange: l.multiselectChange, onClear: o[69] || (o[69] = (oe) => l.cellEvent("clear", oe)), onFocus: o[70] || (o[70] = (oe) => l.cellEvent("focus", oe)), onInput: o[71] || (o[71] = (oe) => l.cellEvent("input", oe)), onVisibleChange: o[72] || (o[72] = (oe) => l.cellEvent("visible-change", oe)), onRemoveTag: o[73] || (o[73] = (oe) => l.cellEvent("remove-tag", oe)) }, { default: withCtx(() => [createVNode(D, { label: n.$t("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"]), (openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (oe) => (openBlock(), createBlock(D, { key: oe.value, label: oe.label, value: oe.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "placeholder", "title", "onChange"])) : (openBlock(), createBlock(O, { key: 12, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[60] || (o[60] = (oe) => s.innerValue = oe), "allow-create": !!s.controlConfig.allowCreate, clearable: !!s.controlConfig.clearable, "default-first-option": !!s.controlConfig.allowCreate, disabled: r.disabled, filterable: !!s.controlConfig.filterable, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), onBlur: o[61] || (o[61] = (oe) => l.cellEvent("blur", oe)), onChange: o[62] || (o[62] = (oe) => l.cellEvent("change", oe)), onClear: o[63] || (o[63] = (oe) => l.cellEvent("clear", oe)), onFocus: o[64] || (o[64] = (oe) => l.cellEvent("focus", oe)), onInput: o[65] || (o[65] = (oe) => l.cellEvent("input", oe)), onVisibleChange: o[66] || (o[66] = (oe) => l.cellEvent("visible-change", oe)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (oe) => (openBlock(), createBlock(D, { key: oe.value, label: oe.label, value: oe.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "allow-create", "clearable", "default-first-option", "disabled", "filterable", "placeholder", "title"])) : (openBlock(), createBlock(v, { key: 7, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[37] || (o[37] = (oe) => s.innerValue = oe), modelModifiers: { number: !0 }, disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, type: r.column.dataType === "INTEGER" || r.column.dataType === "LONG" ? "number" : "text", clearable: "", onBlur: o[38] || (o[38] = (oe) => l.cellEvent("blur", oe)), onChange: o[39] || (o[39] = (oe) => l.cellEvent("change", oe)), onClear: o[40] || (o[40] = (oe) => l.cellEvent("clear", oe)), onFocus: o[41] || (o[41] = (oe) => l.cellEvent("focus", oe)), onInput: o[42] || (o[42] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), createVNode(ue, { "append-to-body": !0, "show-close": !0, title: n.$t("imatrixUIMessage.tips"), visible: s.annexUploadFlag, width: "30%" }, { default: withCtx(() => [r.type === "annex" && s.annexUploadFlag ? (openBlock(), createBlock(J, { key: 0, accept: s.fileSetObj && s.fileSetObj.accept ? s.fileSetObj.accept : null, action: s.defaultAction, "before-upload": l.handleBeforeUpload, headers: s.headers, "on-success": l.uploadOnSuccess, "with-credentials": !0, name: "file" }, { default: withCtx(() => [createVNode(X, null, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : createCommentVNode("", !0)]), _: 1 }, 8, ["title", "visible"]), s.showSingleImgFlag ? (openBlock(), createBlock(re, { key: 20, deleteable: !r.disabled, downloadable: !r.disabled, "file-list": s.fileList, onClose: o[95] || (o[95] = (oe) => s.showSingleImgFlag = !1), onDelete: l.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : createCommentVNode("", !0), s.isShowBrowserScan ? (openBlock(), createBlock(ge, { key: 21, onClose: l.closeBrowserScan }, null, 8, ["onClose"])) : createCommentVNode("", !0)], 4));
12792
12792
  }
12793
- const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), rowOperation_vue_vue_type_style_index_0_scoped_37cd3432_lang = "", _sfc_main$1n = { name: "RowOperation", components: { superIcon }, props: { editing: { type: Boolean, default: !1 }, isTableBtnLink: { type: [Boolean], default: !1 }, isShow: { type: [Boolean, Function], default: !0 }, onClick: { type: Function, default: function() {
12794
- } }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operation: { type: Object, default: () => ({}) }, operationSetting: { type: Object, default: () => ({}) }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...mapGetters(["preventReclick"]), isSaveRow() {
12795
- var n;
12796
- return ["lineEditSave", "saveRow"].includes((n = this.operation) == null ? void 0 : n.eventName);
12793
+ const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), rowOperation_vue_vue_type_style_index_0_scoped_5be2372b_lang = "", _sfc_main$1n = { name: "RowOperation", components: { superIcon: _sfc_main$1J }, props: { editing: { type: Boolean, default: !1 }, isTableBtnLink: { type: [Boolean], default: !1 }, isShow: { type: [Boolean, Function], default: !0 }, onClick: { type: Function, default: function() {
12794
+ } }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operationSetting: { type: Object, default: null }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...mapGetters(["preventReclick"]), isSaveRow() {
12795
+ return /^\s*function\s+saveRow*\s*\(/.test(this.onClick ?? "");
12797
12796
  }, isDeleteRow() {
12798
- var n;
12799
- return ["lineEditDelete", "deleteRow"].includes((n = this.operation) == null ? void 0 : n.eventName);
12797
+ return /^\s*function\s+deleteRow*\s*\(/.test(this.onClick ?? "");
12800
12798
  }, isEditRow() {
12801
- var n;
12802
- return ["lineEditUpdate", "editRow"].includes((n = this.operation) == null ? void 0 : n.eventName);
12799
+ return /^\s*function\s+editRow*\s*\(/.test(this.onClick ?? "");
12803
12800
  }, isRestoreRow() {
12804
- var n;
12805
- return ["restoreEdit", "restoreRow"].includes((n = this.operation) == null ? void 0 : n.eventName);
12801
+ return /^\s*function\s+restoreRow*\s*\(/.test(this.onClick ?? "");
12806
12802
  }, prefixIcon() {
12807
12803
  if (!this.suffixIcon) {
12808
12804
  if (["left", !0, ""].includes(this.operationSettingData.iconPosition) || this.operationSetting.iconValue) {
@@ -12830,20 +12826,19 @@ const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), row
12830
12826
  }
12831
12827
  }
12832
12828
  }, suffixIcon() {
12833
- if (["right"].includes(this.operationSetting.iconPosition))
12829
+ if (["right"].includes(this.operationSettingData.iconPosition))
12834
12830
  return this.operationSetting.iconValue;
12835
12831
  }, isTextIcon() {
12836
- return !!this.isTableBtnLinkShow && (this.operationSetting.isTextIcon === void 0 ? this.isSaveRow || this.isDeleteRow || this.isEditRow || this.isRestoreRow : this.operationSetting.isTextIcon);
12832
+ return !!this.isTableBtnLinkShow && (this.operationSettingData.isTextIcon === void 0 ? this.isSaveRow || this.isDeleteRow || this.isEditRow || this.isRestoreRow : this.operationSettingData.isTextIcon);
12837
12833
  }, labelText() {
12838
12834
  if (!this.isTextIcon)
12839
12835
  return this.label || void 0;
12840
12836
  }, tooltipDisabled() {
12841
12837
  return !this.isTextIcon || !this.label;
12842
12838
  }, isTableBtnLinkShow() {
12843
- var n, o, r, a;
12844
- return !!((n = this.operationSetting) != null && n.text) || !(!this.isTableBtnLink || this.elementType !== "el-button") && [(o = this.operationSetting) == null ? void 0 : o.text, (r = this.operationSetting) == null ? void 0 : r.plain, (a = this.operationSetting) == null ? void 0 : a.round].every((s) => s === void 0);
12839
+ return !!this.operationSetting.text || !(!this.isTableBtnLink || this.elementType !== "el-button") && [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every((n) => n === void 0);
12845
12840
  }, operationSettingData() {
12846
- const n = { ...this.operationSetting ?? {} };
12841
+ const n = { ...this.operationSetting };
12847
12842
  return this.isTableBtnLinkShow && (n.underline = !1, delete n.text), this.tooltipDisabled || delete n.title, n;
12848
12843
  }, isElementType() {
12849
12844
  return this.isTableBtnLinkShow ? "el-link" : this.elementType;
@@ -12872,12 +12867,9 @@ const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), row
12872
12867
  } } };
12873
12868
  function _sfc_render$Z(n, o, r, a, s, l) {
12874
12869
  const d = resolveComponent("superIcon"), p = resolveComponent("el-tooltip"), v = resolveDirective("permission");
12875
- return openBlock(), createElementBlock("span", { class: "table-operation-row-btn", style: normalizeStyle(s.myStyle) }, [l.isShowButton() ? (openBlock(), createBlock(p, { key: 0, disabled: l.tooltipDisabled, content: r.label, placement: "top" }, { default: withCtx(() => {
12876
- var w;
12877
- return [(w = l.operationSettingData) != null && w.permission ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 0 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[0] || (o[0] = (E) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"])), [[v, l.operationSettingData.permission]]) : (openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 1 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[1] || (o[1] = (E) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"]))];
12878
- }), _: 1 }, 8, ["disabled", "content"])) : createCommentVNode("", !0)], 4);
12870
+ return openBlock(), createElementBlock("span", { style: normalizeStyle(s.myStyle) }, [l.isShowButton() ? (openBlock(), createBlock(p, { key: 0, disabled: l.tooltipDisabled, content: r.label, placement: "top" }, { default: withCtx(() => [l.operationSettingData.permission ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 0 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[0] || (o[0] = (w) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"])), [[v, l.operationSettingData.permission]]) : (openBlock(), createBlock(resolveDynamicComponent(l.isElementType), mergeProps({ key: 1 }, l.operationSettingData, { disabled: n.preventReclick, onMousedown: o[1] || (o[1] = (w) => l.onClickFun(l.operationSettingData)) }), { default: withCtx(() => [l.prefixIcon ? (openBlock(), createBlock(d, { key: 0, iconValue: l.prefixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString$1(l.labelText) + " ", 1), l.suffixIcon ? (openBlock(), createBlock(d, { key: 1, iconValue: l.suffixIcon, class: normalizeClass([{ "is-text-labl": !!l.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : createCommentVNode("", !0)]), _: 1 }, 16, ["disabled"]))]), _: 1 }, 8, ["disabled", "content"])) : createCommentVNode("", !0)], 4);
12879
12871
  }
12880
- const RowOperation = _export_sfc(_sfc_main$1n, [["render", _sfc_render$Z], ["__scopeId", "data-v-37cd3432"]]), version$1 = "3.7.7", VERSION = version$1, _hasBuffer = typeof Buffer == "function", _TD = typeof TextDecoder == "function" ? new TextDecoder() : void 0, _TE = typeof TextEncoder == "function" ? new TextEncoder() : void 0, b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", b64chs = Array.prototype.slice.call(b64ch), b64tab = ((n) => {
12872
+ const RowOperation = _export_sfc(_sfc_main$1n, [["render", _sfc_render$Z], ["__scopeId", "data-v-5be2372b"]]), version$1 = "3.7.7", VERSION = version$1, _hasBuffer = typeof Buffer == "function", _TD = typeof TextDecoder == "function" ? new TextDecoder() : void 0, _TE = typeof TextEncoder == "function" ? new TextEncoder() : void 0, b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", b64chs = Array.prototype.slice.call(b64ch), b64tab = ((n) => {
12881
12873
  let o = {};
12882
12874
  return b64chs.forEach((r, a) => o[r] = a), o;
12883
12875
  })(), b64re = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, _fromCC = String.fromCharCode.bind(String), _U8Afrom = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (n) => new Uint8Array(Array.prototype.slice.call(n, 0)), _mkUriSafe = (n) => n.replace(/=/g, "").replace(/[+\/]/g, (o) => o == "+" ? "-" : "_"), _tidyB64 = (n) => n.replace(/[^A-Za-z0-9\+\/]/g, ""), btoaPolyfill = (n) => {
@@ -13078,7 +13070,7 @@ function _sfc_render$W(n, o, r, a, s, l) {
13078
13070
  const d = resolveComponent("el-tag");
13079
13071
  return openBlock(), createElementBlock("span", null, [s.formatConfig.isTag ? (openBlock(), createElementBlock("span", _hoisted_1$11, [s.displayText ? (openBlock(), createBlock(d, { key: 0, type: s.customStyle.type, color: s.customStyle.color, effect: s.formatConfig.effect, size: s.formatConfig.size, hit: s.formatConfig.hit }, { default: withCtx(() => [createTextVNode(toDisplayString$1(s.displayText), 1)]), _: 1 }, 8, ["type", "color", "effect", "size", "hit"])) : createCommentVNode("", !0)])) : (openBlock(), createElementBlock("span", { key: 1, style: normalizeStyle(s.customStyle) }, [s.formatConfig.position === "pre" ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(s.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0), s.formatConfig.displayTextJudge ? (openBlock(), createElementBlock("span", _hoisted_2$E, toDisplayString$1(s.displayText), 1)) : createCommentVNode("", !0), s.formatConfig.position === "suf" ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass(s.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0)], 4))]);
13080
13072
  }
13081
- const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_169a0bc2_lang = "", _sfc_main$1j = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: !1 }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: !1 } }, data() {
13073
+ const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_794407b6_lang = "", _sfc_main$1j = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: !1 }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: !1 } }, data() {
13082
13074
  let n;
13083
13075
  const o = store$1.get(this.listCode), r = o.options;
13084
13076
  o.options.extraParam && o.options.extraParam.entityMap && (n = o.options.extraParam.entityMap);
@@ -13100,7 +13092,7 @@ const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalC
13100
13092
  return `${this.$rowGuId}_${this.column.prop}`;
13101
13093
  }, isEditing() {
13102
13094
  try {
13103
- return this.validateEditConditions() ? this.hasEditPermission ? !!store$3.getters.isEditing(this.$rowColumnDataGuId) || (!this.isFormSubTable && this.row.$editing ? !store$3.getters.isRowEditing(this.$rowGuId) : this.row.$editing) : void 0 : !1;
13095
+ return this.hasEditPermission ? !!store$3.getters.isEditing(this.$rowColumnDataGuId) || (!this.isFormSubTable && this.row.$editing ? !store$3.getters.isRowEditing(this.$rowGuId) : this.row.$editing) : void 0;
13104
13096
  } catch {
13105
13097
  return !1;
13106
13098
  }
@@ -13344,21 +13336,13 @@ const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalC
13344
13336
  o(d === void 0 || d === !0);
13345
13337
  }) : (l !== void 0 && l !== !0 || o(!0), o(!1));
13346
13338
  });
13347
- }, validateEditConditions() {
13348
- var n;
13349
- if (this.controlConfig && ((n = this.controlConfig.editConditions) == null ? void 0 : n.length) > 0) {
13350
- const o = store$1.get(this.listCode).options;
13351
- if (!o.isWorkflowEntity && o.validateEitConditions && !o.validateEitConditions({ row: this.row, editConditions: this.controlConfig.editConditions, listCode: this.listCode }))
13352
- return !1;
13353
- }
13354
- return !0;
13355
13339
  } }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit"] }, _hoisted_1$10 = { class: "normal-column-content-view" }, _hoisted_2$D = { key: 1, class: "column-text-main" }, _hoisted_3$u = { key: 0, "table-column-placeholder": "" }, _hoisted_4$l = { key: 1, class: "grid-operation-buttons", "data-v": "20250527" }, _hoisted_5$f = ["id"], _hoisted_6$e = { key: 0, type: "primary" }, _hoisted_7$8 = ["id", "title"], _hoisted_8$6 = ["id", "title"], _hoisted_9$6 = ["id"], _hoisted_10$6 = ["id", "title"], _hoisted_11$4 = ["id"], _hoisted_12$4 = { key: 0, type: "primary" }, _hoisted_13$3 = ["id", "title"], _hoisted_14$3 = ["id"], _hoisted_15$3 = { key: 1 }, _hoisted_16$3 = ["id", "title"], _hoisted_17$3 = ["id", "title"], _hoisted_18$2 = ["id"], _hoisted_19 = ["id", "title", "innerHTML"], _hoisted_20 = ["id"];
13356
13340
  function _sfc_render$V(n, o, r, a, s, l) {
13357
13341
  var J, ue, re, ge, oe, Ne;
13358
13342
  const d = resolveComponent("dynamic-input"), p = resolveComponent("Edit"), v = resolveComponent("el-icon"), w = resolveComponent("el-dropdown-item"), E = resolveComponent("el-dropdown-menu"), x = resolveComponent("el-dropdown"), D = resolveComponent("row-operation"), O = resolveComponent("secret-info"), M = resolveComponent("FsPreview"), L = resolveComponent("el-link"), q = resolveComponent("el-tooltip"), G = resolveComponent("GridIcon"), W = resolveComponent("view-image-dialog"), Z = resolveComponent("rich-editor-viewer"), X = resolveDirective("permission");
13359
- return openBlock(), createElementBlock("div", _hoisted_1$10, [l.isEditing || r.isShowForm ? (openBlock(), createBlock(d, { key: 0, ref: "dynamicRef", value: r.row[r.column.prop], "onUpdate:value": o[0] || (o[0] = (Ce) => r.row[r.column.prop] = Ce), class: normalizeClass(s.requiredClass), column: r.column, "is-sql": r.isSql, "line-edit": s.lineEdit, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: r.column.valueSet, "grid-options": s.options, position: { row: r.rowIndex, prop: r.column.prop }, disabled: s.disabled, row: r.row, "row-index": r.rowIndex, type: r.column.componentType, onKeyup: withKeys(l.clearAllEditing, ["enter"]), onFindIndex: o[1] || (o[1] = (Ce) => l.findIndex(r.rowIndex)), onFocus: o[2] || (o[2] = (Ce) => l.onFocus(r.rowIndex)), onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList, onRefresData: l.refresData, onRefresMainTableFields: l.refresMainTableFields, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onChangeDisabled: l.changeDisabled, onChangeRequired: l.changeRequired, onOpenPage: l.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (openBlock(), createElementBlock("div", _hoisted_2$D, [s.lineEdit.editable && ((ge = (re = (ue = (J = s.options) == null ? void 0 : J.configureObj) == null ? void 0 : ue.props) == null ? void 0 : re.base) != null && ge.columnEditable) && s.isEditable && !l.isHideEdit && !r.isContentViewText ? (openBlock(), createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: o[3] || (o[3] = (...Ce) => l.onEditing && l.onEditing(...Ce)) }, [createVNode(v, { size: 14, color: "#409eff" }, { default: withCtx(() => [createVNode(p)]), _: 1 }), [void 0, null, ""].includes(r.row[r.column.prop]) ? (openBlock(), createElementBlock("span", _hoisted_3$u, toDisplayString$1(n.$t("superGrid.editablePlaceholder")), 1)) : createCommentVNode("", !0)])) : createCommentVNode("", !0), r.column.operations ? (openBlock(), createElementBlock("span", _hoisted_4$l, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.operations, (Ce, $) => (openBlock(), createElementBlock("span", { key: $, class: normalizeClass([r.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [Ce.isGroup ? (openBlock(), createBlock(x, { key: 0, size: Ce.buttons && Ce.buttons.length > 0 ? Ce.buttons[0].props.size : "small", "split-button": "", onCommand: l.handleCommand }, { dropdown: withCtx(() => [createVNode(E, null, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(Ce.buttons, (_e, ce) => (openBlock(), createElementBlock("span", { key: _e.props.code + ce }, [withDirectives((openBlock(), createBlock(w, { command: l.beforeHandleCommand(_e.props.code, r.row, r.rowIndex), disabled: n.preventReclick }, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(_e.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[X, _e.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(Ce.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : Ce.props.customControl ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(Ce.props.customControl), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, disabled: !0, row: r.pageGridData[r.rowIndex], entity: r.pageGridData[r.rowIndex], prop: r.column.prop, parent: s.parentFormData, "row-index": r.rowIndex, "grid-data": r.gridData, "page-grid-data": r.pageGridData, "current-page": r.currentPage, onRefreshList: l.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "onRefreshList"])), [[X, Ce.props.permission]]) : (openBlock(), createBlock(D, { key: 2, column: r.column, editing: r.row.$editing, entity: r.row, "is-show": Ce.isShow, label: Ce.props.label ? Ce.props.label : r.row[r.column.prop], "on-click": Ce.onClick, operation: Ce, "operation-index": $, "operation-setting": Ce.props, "row-index": r.rowIndex, "list-code": r.listCode, "parent-form-data": s.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation", "operation-index", "operation-setting", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : n.customFormatValue(r.row, r.column.prop, r.customFormat, r.rowIndex) ? (openBlock(), createElementBlock("span", { key: 2, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(r.column.prop + r.rowIndex), { entity: r.row, parent: s.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.row, r.rowIndex)), value: l.getCellValue(r.row), "additional-param-map": s.additionalParamMap, "additional-settings": s.additionalSettings, "page-context": (oe = s.options) == null ? void 0 : oe.pageContext }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context"]))], 2)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "customControl" && s.columnFormatter.options && s.columnFormatter.options.format && s.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", { key: 3, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(s.columnFormatter.options.format), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, "current-page": r.currentPage, disabled: !0, entity: r.pageGridData[r.rowIndex], "get-form-data": s.getFormData, "get-grid-data": s.getTableGridData, "grid-data": r.gridData, "page-grid-data": r.pageGridData, parent: s.parentFormData, prop: r.column.prop, row: r.pageGridData[r.rowIndex], "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.pageGridData[r.rowIndex], r.rowIndex)), value: l.getCellValue(r.pageGridData[r.rowIndex]), "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "additional-settings": s.additionalSettings, "page-context": (Ne = s.options) == null ? void 0 : Ne.pageContext, onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "onProhibitToEdit", "onRefreshList"]))], 2)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "secretInfo" ? (openBlock(), createElementBlock("span", { key: 4, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(O, { entity: r.row, "field-label": n.$escapeHtml(n.label), "list-code": r.listCode, "list-name": r.listName, "page-code": r.pageCode, prop: r.column.prop, "table-name": r.tableName, value: l.getCellValue(r.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_5$f)) : n.isObjectProp(r.column.prop) ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_6$e, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_7$8)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(L, { key: 1, type: l.getLinkType(r.row), onClick: o[4] || (o[4] = (Ce) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getMyHyperLinkSetting(r.row, r.rowIndex).title, class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent((l.getMyHyperLinkSetting(r.row), r.rowIndex.icon))))]), _: 1 })) : createCommentVNode("", !0)], 14, _hoisted_8$6)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 10, _hoisted_9$6))]), _: 1 }, 8, ["type"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 2, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 15, _hoisted_10$6)) : (openBlock(), createElementBlock("span", { key: 3, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_11$4))], 64)) : (openBlock(), createElementBlock(Fragment, { key: 6 }, [r.column.componentType === "annex" || r.column.componentType === "multipartUpload" ? (openBlock(), createElementBlock("span", _hoisted_12$4, [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_13$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_14$3))])) : r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_15$3, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_16$3)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(L, { key: 2, type: "primary", onClick: o[5] || (o[5] = (Ce) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).title), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 14, _hoisted_17$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 10, _hoisted_18$2))]), _: 1 })) : r.column.formatter && r.column.formatter.type === "richEditor" ? (openBlock(), createBlock(q, { key: 3, content: n.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: withCtx(() => [createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: o[6] || (o[6] = (Ce) => l.showRichEditorContent(r.row, r.column, l.getHeader())) })]), _: 1 }, 8, ["content"])) : r.column.formatter && r.column.formatter.type === "icon" ? (openBlock(), createBlock(G, { key: 4, id: r.column.prop + "DomData" + r.rowIndex, column: r.column, row: r.row, "row-index": r.rowIndex, "is-sql": r.isSql, "list-code": r.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 5, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getLabel(r.row), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span"), innerHTML: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 14, _hoisted_19)) : (openBlock(), createElementBlock("span", { key: 6, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_20))], 64))])), s.showSingleImgFlag ? (openBlock(), createBlock(W, { key: 2, "file-list": s.fileList, onClose: o[7] || (o[7] = (Ce) => s.showSingleImgFlag = !1) }, null, 8, ["file-list"])) : createCommentVNode("", !0), s.showRichEditorViewer ? (openBlock(), createBlock(Z, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)]);
13343
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [l.isEditing || r.isShowForm ? (openBlock(), createBlock(d, { key: 0, ref: "dynamicRef", value: r.row[r.column.prop], "onUpdate:value": o[0] || (o[0] = (Ce) => r.row[r.column.prop] = Ce), class: normalizeClass(s.requiredClass), column: r.column, "is-sql": r.isSql, "line-edit": s.lineEdit, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: r.column.valueSet, "grid-options": s.options, position: { row: r.rowIndex, prop: r.column.prop }, disabled: s.disabled, row: r.row, "row-index": r.rowIndex, type: r.column.componentType, onKeyup: withKeys(l.clearAllEditing, ["enter"]), onFindIndex: o[1] || (o[1] = (Ce) => l.findIndex(r.rowIndex)), onFocus: o[2] || (o[2] = (Ce) => l.onFocus(r.rowIndex)), onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList, onRefresData: l.refresData, onRefresMainTableFields: l.refresMainTableFields, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onChangeDisabled: l.changeDisabled, onChangeRequired: l.changeRequired, onOpenPage: l.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (openBlock(), createElementBlock("div", _hoisted_2$D, [s.lineEdit.editable && ((ge = (re = (ue = (J = s.options) == null ? void 0 : J.configureObj) == null ? void 0 : ue.props) == null ? void 0 : re.base) != null && ge.columnEditable) && s.isEditable && !l.isHideEdit && !r.isContentViewText ? (openBlock(), createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: o[3] || (o[3] = (...Ce) => l.onEditing && l.onEditing(...Ce)) }, [createVNode(v, { size: 14, color: "#409eff" }, { default: withCtx(() => [createVNode(p)]), _: 1 }), [void 0, null, ""].includes(r.row[r.column.prop]) ? (openBlock(), createElementBlock("span", _hoisted_3$u, toDisplayString$1(n.$t("superGrid.editablePlaceholder")), 1)) : createCommentVNode("", !0)])) : createCommentVNode("", !0), r.column.operations ? (openBlock(), createElementBlock("span", _hoisted_4$l, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.operations, (Ce, $) => (openBlock(), createElementBlock("span", { key: $, class: normalizeClass([r.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [Ce.isGroup ? (openBlock(), createBlock(x, { key: 0, size: Ce.buttons && Ce.buttons.length > 0 ? Ce.buttons[0].props.size : "small", "split-button": "", onCommand: l.handleCommand }, { dropdown: withCtx(() => [createVNode(E, null, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(Ce.buttons, (_e, ce) => (openBlock(), createElementBlock("span", { key: _e.props.code + ce }, [withDirectives((openBlock(), createBlock(w, { command: l.beforeHandleCommand(_e.props.code, r.row, r.rowIndex), disabled: n.preventReclick }, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(_e.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[X, _e.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(Ce.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : Ce.props.customControl ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(Ce.props.customControl), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, disabled: !0, row: r.pageGridData[r.rowIndex], entity: r.pageGridData[r.rowIndex], prop: r.column.prop, parent: s.parentFormData, "row-index": r.rowIndex, "grid-data": r.gridData, "page-grid-data": r.pageGridData, "current-page": r.currentPage, onRefreshList: l.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "onRefreshList"])), [[X, Ce.props.permission]]) : (openBlock(), createBlock(D, { key: 2, column: r.column, editing: r.row.$editing, entity: r.row, "is-show": Ce.isShow, label: Ce.props.label ? Ce.props.label : r.row[r.column.prop], "on-click": Ce.onClick, "operation-index": $, "operation-setting": Ce.props, "row-index": r.rowIndex, "list-code": r.listCode, "parent-form-data": s.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : n.customFormatValue(r.row, r.column.prop, r.customFormat, r.rowIndex) ? (openBlock(), createElementBlock("span", { key: 2, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(r.column.prop + r.rowIndex), { entity: r.row, parent: s.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.row, r.rowIndex)), value: l.getCellValue(r.row), "additional-param-map": s.additionalParamMap, "additional-settings": s.additionalSettings, "page-context": (oe = s.options) == null ? void 0 : oe.pageContext }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context"]))], 2)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "customControl" && s.columnFormatter.options && s.columnFormatter.options.format && s.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", { key: 3, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(s.columnFormatter.options.format), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, "current-page": r.currentPage, disabled: !0, entity: r.pageGridData[r.rowIndex], "get-form-data": s.getFormData, "get-grid-data": s.getTableGridData, "grid-data": r.gridData, "page-grid-data": r.pageGridData, parent: s.parentFormData, prop: r.column.prop, row: r.pageGridData[r.rowIndex], "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.pageGridData[r.rowIndex], r.rowIndex)), value: l.getCellValue(r.pageGridData[r.rowIndex]), "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "additional-settings": s.additionalSettings, "page-context": (Ne = s.options) == null ? void 0 : Ne.pageContext, onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "onProhibitToEdit", "onRefreshList"]))], 2)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "secretInfo" ? (openBlock(), createElementBlock("span", { key: 4, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(O, { entity: r.row, "field-label": n.$escapeHtml(n.label), "list-code": r.listCode, "list-name": r.listName, "page-code": r.pageCode, prop: r.column.prop, "table-name": r.tableName, value: l.getCellValue(r.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_5$f)) : n.isObjectProp(r.column.prop) ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_6$e, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_7$8)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(L, { key: 1, type: l.getLinkType(r.row), onClick: o[4] || (o[4] = (Ce) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getMyHyperLinkSetting(r.row, r.rowIndex).title, class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent((l.getMyHyperLinkSetting(r.row), r.rowIndex.icon))))]), _: 1 })) : createCommentVNode("", !0)], 14, _hoisted_8$6)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 10, _hoisted_9$6))]), _: 1 }, 8, ["type"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 2, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 15, _hoisted_10$6)) : (openBlock(), createElementBlock("span", { key: 3, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_11$4))], 64)) : (openBlock(), createElementBlock(Fragment, { key: 6 }, [r.column.componentType === "annex" || r.column.componentType === "multipartUpload" ? (openBlock(), createElementBlock("span", _hoisted_12$4, [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_13$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_14$3))])) : r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_15$3, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_16$3)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(L, { key: 2, type: "primary", onClick: o[5] || (o[5] = (Ce) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).title), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 14, _hoisted_17$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 10, _hoisted_18$2))]), _: 1 })) : r.column.formatter && r.column.formatter.type === "richEditor" ? (openBlock(), createBlock(q, { key: 3, content: n.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: withCtx(() => [createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: o[6] || (o[6] = (Ce) => l.showRichEditorContent(r.row, r.column, l.getHeader())) })]), _: 1 }, 8, ["content"])) : r.column.formatter && r.column.formatter.type === "icon" ? (openBlock(), createBlock(G, { key: 4, id: r.column.prop + "DomData" + r.rowIndex, column: r.column, row: r.row, "row-index": r.rowIndex, "is-sql": r.isSql, "list-code": r.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 5, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getLabel(r.row), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span"), innerHTML: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 14, _hoisted_19)) : (openBlock(), createElementBlock("span", { key: 6, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_20))], 64))])), s.showSingleImgFlag ? (openBlock(), createBlock(W, { key: 2, "file-list": s.fileList, onClose: o[7] || (o[7] = (Ce) => s.showSingleImgFlag = !1) }, null, 8, ["file-list"])) : createCommentVNode("", !0), s.showRichEditorViewer ? (openBlock(), createBlock(Z, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)]);
13360
13344
  }
13361
- const NormalColumnContent = _export_sfc(_sfc_main$1j, [["render", _sfc_render$V], ["__scopeId", "data-v-169a0bc2"]]), _sfc_main$1i = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon, NormalColumnContent }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null } }, data() {
13345
+ const NormalColumnContent = _export_sfc(_sfc_main$1j, [["render", _sfc_render$V], ["__scopeId", "data-v-794407b6"]]), _sfc_main$1i = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon, NormalColumnContent }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null } }, data() {
13362
13346
  let n;
13363
13347
  const o = store$1.get(this.listCode), r = o.options;
13364
13348
  return o.options.extraParam && o.options.extraParam.entityMap && (n = o.options.extraParam.entityMap), { selectRow: null, that: this, align: "left", headerAlign: "left", isFormSubTable: !1, subTableCanAdd: !0, isShowAdd: !1, cellWidth: null, parentFormData: n, options: r };
@@ -15318,10 +15302,7 @@ const MobileCard = defineComponent({ name: "MobileTableCard", components: { Norm
15318
15302
  }, sort: function(n, o) {
15319
15303
  this.$refs.superGrid.sort(n, o);
15320
15304
  } };
15321
- function packageEnumAndBeanColumnValueSets(n, o, r, a) {
15322
- return isPlateSys(window.$vueApp.config.globalProperties.systemCode) ? packageEnumAndBeanColumnValueSetsWhenPlate(n, o) : packageEnumAndBeanColumnValueSetsWhenOtherSys(n, o, r, a);
15323
- }
15324
- function packageEnumAndBeanColumnValueSetsWhenPlate(n, o) {
15305
+ function packageEnumAndBeanColumnValueSets(n, o) {
15325
15306
  return new Promise((r, a) => {
15326
15307
  const s = { listCode: o, valueSetMetas: [] }, l = [];
15327
15308
  for (let d = 0; d < n.length; d++) {
@@ -15357,46 +15338,6 @@ function packageEnumAndBeanColumnValueSet(n) {
15357
15338
  } else if (r && r !== "")
15358
15339
  return "beanname:" + r;
15359
15340
  }
15360
- function packageEnumAndBeanColumnValueSetsWhenOtherSys(n, o, r, a, s) {
15361
- return new Promise((l, d) => {
15362
- const p = getDataSourceConfigList(n), v = p.valueSetColumnIndexs, w = { listCode: o, entityMap: a, additionalParamMap: r, dataSourceList: p.dataSourceConfigList, dataSourceListTitle: p.dataSourceConfigListTitle, systemCode: s }, E = window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas";
15363
- window.$vueApp.config.globalProperties.$http.post(E, w).then((x) => {
15364
- const D = x.columnValueSet, O = x.columnTitleValueSet;
15365
- for (let M in v) {
15366
- const L = v[M], q = D[M];
15367
- q && (n[L].valueSet = q);
15368
- const G = O[M];
15369
- G && (n[L].titleValueSetValue = G);
15370
- }
15371
- l(x);
15372
- }).catch((x) => {
15373
- d(x);
15374
- });
15375
- });
15376
- }
15377
- function getDataSourceConfigList(n) {
15378
- const o = [], r = [], a = {};
15379
- for (let s = 0; s < n.length; s++) {
15380
- const l = n[s], d = l.prop ? l.prop : l.label, p = getConfigWithValueSet(l, d, l);
15381
- let v = null;
15382
- const w = l.titleValueSet;
15383
- w && (v = getConfigWithValueSet(JSON.parse(w), d)), (p || v) && (p && o.push(p), v && r.push(v), a[d] = s);
15384
- }
15385
- return { dataSourceConfigList: o, dataSourceConfigListTitle: r, valueSetColumnIndexs: a };
15386
- }
15387
- function getConfigWithValueSet(n, o, r) {
15388
- const a = n.enumName, s = n.beanName;
15389
- let l = { uuid: o };
15390
- if (a && a !== "")
15391
- n.remoteEnum === !0 && (l.type = "enumName", l.props = { prop: o, valueSet: "enumname:" + a });
15392
- else if (s && s !== "")
15393
- l.type = "beanName", l.props = { prop: o, valueSet: "beanname:" + s };
15394
- else if (r && r.valueSetOptions) {
15395
- const d = JSON.parse(r.valueSetOptions);
15396
- !d.type && !d.dynamicDataSourceCode || !d.valueLabelSwitch && d.valueLabelSwitch !== void 0 || (d.type && d.type === "optionGroup" || (Object.assign(l, d), l.uuid = o, l.props || (l.props = {}), l.props.prop = o), d.dynamicDataSourceCode && (l.type = "dynamicData", l.props || (l.props = {}), l.props.code = d.dynamicDataSourceCode));
15397
- }
15398
- return l.type ? l : null;
15399
- }
15400
15341
  const superGridService$1 = { initialize() {
15401
15342
  return (/* @__PURE__ */ new Date()).getTime(), new Promise((n, o) => {
15402
15343
  const r = store$1.get(this.code);
@@ -15426,7 +15367,7 @@ const superGridService$1 = { initialize() {
15426
15367
  }
15427
15368
  l.pagination.layout = "total, sizes,prev, pager, next, jumper", l.pagination.pageSizes = v;
15428
15369
  }
15429
- this.options.initSortInfo !== void 0 && (Array.isArray(this.options.initSortInfo) ? l.sortInfo = this.options.initSortInfo : (l.sortInfo = [], l.sortInfo.push(this.options.initSortInfo))), packageEnumAndBeanColumnValueSets(l.columns, this.code, r.additionalParamMap, this.parentFormData).then(() => this.getDynamicColumnByBean(a, l.dynamicColumnInfo, l.columns, r)).then((v) => {
15370
+ this.options.initSortInfo !== void 0 && (Array.isArray(this.options.initSortInfo) ? l.sortInfo = this.options.initSortInfo : (l.sortInfo = [], l.sortInfo.push(this.options.initSortInfo))), packageEnumAndBeanColumnValueSets(l.columns, this.code).then(() => this.getDynamicColumnByBean(a, l.dynamicColumnInfo, l.columns, r)).then((v) => {
15430
15371
  (/* @__PURE__ */ new Date()).getTime();
15431
15372
  let w = [];
15432
15373
  this.options.showColumns !== void 0 && (w = this.options.showColumns.split(","));
@@ -38980,17 +38921,17 @@ Required: ` + f.join(", "));
38980
38921
  }).getOr(u);
38981
38922
  }, bg = function(u) {
38982
38923
  return u.collapsed ? u : v6(u);
38983
- }, eC = function(u, f) {
38924
+ }, e4 = function(u, f) {
38984
38925
  return u.getBlockElements()[f.name] && function(g) {
38985
38926
  return g.firstChild && g.firstChild === g.lastChild;
38986
38927
  }(f) && function(g) {
38987
38928
  return g.name === "br" || g.value === ms;
38988
38929
  }(f.firstChild);
38989
- }, tC = function(u, f) {
38930
+ }, t4 = function(u, f) {
38990
38931
  var g = f.firstChild, _ = f.lastChild;
38991
38932
  return g && g.name === "meta" && (g = g.next), _ && _.attr("id") === "mce_marker" && (_ = _.prev), function(b, S) {
38992
38933
  var N = b.getNonEmptyElements();
38993
- return S && (S.isEmpty(N) || eC(b, S));
38934
+ return S && (S.isEmpty(N) || e4(b, S));
38994
38935
  }(u, _) && (_ = _.prev), !(!g || g !== _) && (g.name === "ul" || g.name === "ol");
38995
38936
  }, hy = function(u) {
38996
38937
  return u && u.firstChild && u.firstChild === u.lastChild && function(f) {
@@ -39002,7 +38943,7 @@ Required: ` + f.join(", "));
39002
38943
  }, v0 = function(u, f) {
39003
38944
  var g = u.getParent(f, u.isBlock);
39004
38945
  return g && g.nodeName === "LI" ? g : null;
39005
- }, nC = function(u, f) {
38946
+ }, n4 = function(u, f) {
39006
38947
  var g = ln.after(u), _ = gl(f).prev(g);
39007
38948
  return _ ? _.toRange() : null;
39008
38949
  }, _0 = function(u, f, g) {
@@ -39027,7 +38968,7 @@ Required: ` + f.join(", "));
39027
38968
  return !me || v0(f, me.getNode()) !== N;
39028
38969
  };
39029
38970
  return j(1) ? _0(N, P, R) : j(2) ? function(Y, ne, ie, me) {
39030
- return me.insertAfter(ne.reverse(), Y), nC(ne[0], ie);
38971
+ return me.insertAfter(ne.reverse(), Y), n4(ne[0], ie);
39031
38972
  }(N, P, R, f) : function(Y, ne, ie, me) {
39032
38973
  var Pe = function(ke, We) {
39033
38974
  var we = We.cloneRange(), at = We.cloneRange();
@@ -39035,9 +38976,9 @@ Required: ` + f.join(", "));
39035
38976
  }(Y, me), je = Y.parentNode;
39036
38977
  return je.insertBefore(Pe[0], Y), un.each(ne, function(ke) {
39037
38978
  je.insertBefore(ke, Y);
39038
- }), je.insertBefore(Pe[1], Y), je.removeChild(Y), nC(ne[ne.length - 1], ie);
38979
+ }), je.insertBefore(Pe[1], Y), je.removeChild(Y), n4(ne[ne.length - 1], ie);
39039
38980
  }(N, P, R, g);
39040
- }, u2 = gh, oC = function(u) {
38981
+ }, u2 = gh, o4 = function(u) {
39041
38982
  var f = u.dom, g = bg(u.selection.getRng());
39042
38983
  u.selection.setRng(g);
39043
38984
  var _ = f.getParent(g.startContainer, u2);
@@ -39058,9 +38999,9 @@ Required: ` + f.join(", "));
39058
38999
  var je = (P = j.getRng()).startContainer || (P.parentElement ? P.parentElement() : null), ke = u.getBody();
39059
39000
  je === ke && j.isCollapsed() && Y.isBlock(ke.firstChild) && function(qe, Et) {
39060
39001
  return Et && !qe.schema.getShortEndedElements()[Et.nodeName];
39061
- }(u, ke.firstChild) && Y.isEmpty(ke.firstChild) && ((P = Y.createRng()).setStart(ke.firstChild, 0), P.setEnd(ke.firstChild, 0), j.setRng(P)), j.isCollapsed() || oC(u);
39002
+ }(u, ke.firstChild) && Y.isEmpty(ke.firstChild) && ((P = Y.createRng()).setStart(ke.firstChild, 0), P.setEnd(ke.firstChild, 0), j.setRng(P)), j.isCollapsed() || o4(u);
39062
39003
  var We, we = { context: (_ = j.getNode()).nodeName.toLowerCase(), data: g.data, insert: !0 }, at = ne.parse(f, we);
39063
- if (g.paste === !0 && tC(u.schema, at) && function(qe, Et) {
39004
+ if (g.paste === !0 && t4(u.schema, at) && function(qe, Et) {
39064
39005
  return !!v0(qe, Et);
39065
39006
  }(Y, _))
39066
39007
  return P = gy(me, Y, j.getRng(), at), j.setRng(P), void u.fire("SetContent", S);
@@ -39134,7 +39075,7 @@ Required: ` + f.join(", "));
39134
39075
  }
39135
39076
  }, vy = function(u, f) {
39136
39077
  f(u), u.firstChild && vy(u.firstChild, f), u.next && vy(u.next, f);
39137
- }, rC = function(u, f, g) {
39078
+ }, r4 = function(u, f, g) {
39138
39079
  var _ = function(b, S, N) {
39139
39080
  var P = {}, R = {}, j = [];
39140
39081
  for (var Y in N.firstChild && vy(N.firstChild, function(ie) {
@@ -39166,7 +39107,7 @@ Required: ` + f.join(", "));
39166
39107
  }, b6 = function(u, f, g) {
39167
39108
  return g.format = g.format ? g.format : "html", g.set = !0, g.content = c2(f) ? "" : f, g.no_events || u.fire("BeforeSetContent", g), c2(f) || (f = g.content), ae.from(u.getBody()).fold(re(f), function(_) {
39168
39109
  return c2(f) ? function(b, S, N, P) {
39169
- rC(b.parser.getNodeFilters(), b.parser.getAttributeFilters(), N);
39110
+ r4(b.parser.getNodeFilters(), b.parser.getAttributeFilters(), N);
39170
39111
  var R = fg({ validate: b.validate }, b.schema).serialize(N);
39171
39112
  return P.content = Qs(Ft.fromDom(S)) ? R : un.trim(R), _y(b, P.content), P.no_events || b.fire("SetContent", P), N;
39172
39113
  }(u, _, f, g) : function(b, S, N, P) {
@@ -39181,13 +39122,13 @@ Required: ` + f.join(", "));
39181
39122
  return !Fo(g, S) && _(S);
39182
39123
  }) : ae.none();
39183
39124
  }(u, f).isSome();
39184
- }, iC = function(u) {
39125
+ }, i4 = function(u) {
39185
39126
  return Z(u) ? u : ce;
39186
39127
  }, d2 = function(u, f, g) {
39187
- var _ = f(u), b = iC(g);
39128
+ var _ = f(u), b = i4(g);
39188
39129
  return _.orThunk(function() {
39189
39130
  return b(u) ? ae.none() : function(S, N, P) {
39190
- for (var R = S.dom, j = iC(P); R.parentNode; ) {
39131
+ for (var R = S.dom, j = i4(P); R.parentNode; ) {
39191
39132
  R = R.parentNode;
39192
39133
  var Y = Ft.fromDom(R), ne = N(Y);
39193
39134
  if (ne.isSome())
@@ -39198,7 +39139,7 @@ Required: ` + f.join(", "));
39198
39139
  return ae.none();
39199
39140
  }(u, f, b);
39200
39141
  });
39201
- }, b0 = J1, aC = function(u, f, g) {
39142
+ }, b0 = J1, a4 = function(u, f, g) {
39202
39143
  var _ = u.formatter.get(g);
39203
39144
  if (_) {
39204
39145
  for (var b = 0; b < _.length; b++)
@@ -39209,11 +39150,11 @@ Required: ` + f.join(", "));
39209
39150
  }, f2 = function(u, f, g, _) {
39210
39151
  var b = u.dom.getRoot();
39211
39152
  return f !== b && (f = u.dom.getParent(f, function(S) {
39212
- return !!aC(u, S, g) || S.parentNode === b || !!$c(u, S, g, _, !0);
39153
+ return !!a4(u, S, g) || S.parentNode === b || !!$c(u, S, g, _, !0);
39213
39154
  }), $c(u, f, g, _));
39214
39155
  }, yy = function(u, f, g) {
39215
39156
  return !!b0(f, g.inline) || !!b0(f, g.block) || (g.selector ? f.nodeType === 1 && u.is(f, g.selector) : void 0);
39216
- }, sC = function(u, f, g, _, b, S) {
39157
+ }, s4 = function(u, f, g, _, b, S) {
39217
39158
  var N, P, R, j = g[_];
39218
39159
  if (g.onmatch)
39219
39160
  return g.onmatch(f, g, _);
@@ -39232,7 +39173,7 @@ Required: ` + f.join(", "));
39232
39173
  var S, N, P, R, j = u.formatter.get(g), Y = u.dom;
39233
39174
  if (j && f) {
39234
39175
  for (N = 0; N < j.length; N++)
39235
- if (S = j[N], yy(u.dom, f, S) && sC(Y, f, S, "attributes", b, _) && sC(Y, f, S, "styles", b, _)) {
39176
+ if (S = j[N], yy(u.dom, f, S) && s4(Y, f, S, "attributes", b, _) && s4(Y, f, S, "styles", b, _)) {
39236
39177
  if (R = S.classes) {
39237
39178
  for (P = 0; P < R.length; P++)
39238
39179
  if (!u.dom.hasClass(f, Vl(R[P], _)))
@@ -39285,7 +39226,7 @@ Required: ` + f.join(", "));
39285
39226
  }(u, b);
39286
39227
  return u.formatter.matchNode(f, b, {}, S) ? _.concat([b]) : _;
39287
39228
  }, []);
39288
- }, wg = li, lC = "_mce_caret", uC = function(u) {
39229
+ }, wg = li, l4 = "_mce_caret", u4 = function(u) {
39289
39230
  return function(f) {
39290
39231
  for (var g = []; f; ) {
39291
39232
  if (f.nodeType === 3 && f.nodeValue !== wg || f.childNodes.length > 1)
@@ -39304,11 +39245,11 @@ Required: ` + f.join(", "));
39304
39245
  return null;
39305
39246
  }, Ul = function(u) {
39306
39247
  var f = Ft.fromTag("span");
39307
- return Xl(f, { id: lC, "data-mce-bogus": "1", "data-mce-type": "format-caret" }), u && ai(f, Ft.fromText(wg)), f;
39248
+ return Xl(f, { id: l4, "data-mce-bogus": "1", "data-mce-type": "format-caret" }), u && ai(f, Ft.fromText(wg)), f;
39308
39249
  }, w0 = function(u, f, g) {
39309
39250
  g === void 0 && (g = !0);
39310
39251
  var _ = u.dom, b = u.selection;
39311
- if (uC(f))
39252
+ if (u4(f))
39312
39253
  ap(u, !1, Ft.fromDom(f), g);
39313
39254
  else {
39314
39255
  var S = b.getRng(), N = _.getParent(f, _.isBlock), P = S.startContainer, R = S.startOffset, j = S.endContainer, Y = S.endOffset, ne = function(ie) {
@@ -39323,16 +39264,16 @@ Required: ` + f.join(", "));
39323
39264
  if (f)
39324
39265
  w0(u, f, g);
39325
39266
  else if (!(f = hu(u.getBody(), b.getStart())))
39326
- for (; f = _.get(lC); )
39267
+ for (; f = _.get(l4); )
39327
39268
  w0(u, f, !1);
39328
39269
  }, p2 = function(u, f) {
39329
39270
  return u.appendChild(f), f;
39330
- }, cC = function(u, f) {
39271
+ }, c4 = function(u, f) {
39331
39272
  var g = Ge(u, function(_, b) {
39332
39273
  return p2(_, b.cloneNode(!1));
39333
39274
  }, f);
39334
39275
  return p2(g, g.ownerDocument.createTextNode(wg));
39335
- }, dC = function(u, f, g, _) {
39276
+ }, d4 = function(u, f, g, _) {
39336
39277
  var b, S, N, P = u.dom, R = u.selection, j = [], Y = R.getRng(), ne = Y.startContainer, ie = Y.startOffset;
39337
39278
  for (S = ne, ne.nodeType === 3 && (ie !== ne.nodeValue.length && (b = !0), S = S.parentNode); S; ) {
39338
39279
  if ($c(u, S, f, g, _)) {
@@ -39364,7 +39305,7 @@ Required: ` + f.join(", "));
39364
39305
  return bn.add(qe, yn), hn.remove(bt, Tt, yn, Zt), bn.remove(yn), ae.some(yn);
39365
39306
  }
39366
39307
  return ae.none();
39367
- }(u, ke, N, f, g, _), we = cC(j.concat(We.toArray()), ke);
39308
+ }(u, ke, N, f, g, _), we = c4(j.concat(We.toArray()), ke);
39368
39309
  w0(u, je, !1), R.setCursorLocation(we, 1), P.isEmpty(N) && P.remove(N);
39369
39310
  }
39370
39311
  }, wy = function(u) {
@@ -39374,7 +39315,7 @@ Required: ` + f.join(", "));
39374
39315
  C0(g, null, !1), _ !== 8 && _ !== 46 || !b.isCollapsed() || b.getStart().innerHTML !== wg || C0(g, hu(S, b.getStart())), _ !== 37 && _ !== 39 || C0(g, hu(S, b.getStart()));
39375
39316
  })(u, f.keyCode);
39376
39317
  });
39377
- }, fC = function(u, f) {
39318
+ }, f4 = function(u, f) {
39378
39319
  return u.schema.getTextInlineElements().hasOwnProperty(ur(f)) && !bl(f.dom) && !si(f.dom);
39379
39320
  }, lp = {}, Cy = Ye, Ey = Re;
39380
39321
  (function(u, f) {
@@ -39409,7 +39350,7 @@ Required: ` + f.join(", "));
39409
39350
  }), f;
39410
39351
  }
39411
39352
  return g;
39412
- }, pC = function(u, f, g, _) {
39353
+ }, p4 = function(u, f, g, _) {
39413
39354
  if (_ && f.merge_siblings !== !1) {
39414
39355
  var b = zm(u, Ac(_), _);
39415
39356
  zm(u, b, Ac(b, !0));
@@ -39428,7 +39369,7 @@ Required: ` + f.join(", "));
39428
39369
  S.nodeName === "SPAN" && b.getAttribs(S).length === 0 && b.remove(S, !0);
39429
39370
  }(u, _);
39430
39371
  };
39431
- }, Cg = eu([{ keep: [] }, { rename: ["name"] }, { removed: [] }]), ky = /^(src|href|style)$/, Eg = un.each, Cl = J1, mC = function(u, f, g) {
39372
+ }, Cg = eu([{ keep: [] }, { rename: ["name"] }, { removed: [] }]), ky = /^(src|href|style)$/, Eg = un.each, Cl = J1, m4 = function(u, f, g) {
39432
39373
  return u.isChildOf(f, g) && f !== g && !u.isBlock(g);
39433
39374
  }, v2 = function(u, f, g) {
39434
39375
  var _, b;
@@ -39437,7 +39378,7 @@ Required: ` + f.join(", "));
39437
39378
  !g && b && b--, _ = _.childNodes[b > S ? S : b];
39438
39379
  }
39439
39380
  return io(_) && g && b >= _.nodeValue.length && (_ = new Ai(_, u.getBody()).next() || _), io(_) && !g && b === 0 && (_ = new Ai(_, u.getBody()).prev() || _), _;
39440
- }, hC = function(u, f) {
39381
+ }, h4 = function(u, f) {
39441
39382
  var g = f ? "firstChild" : "lastChild";
39442
39383
  if (function(b) {
39443
39384
  return /^(TR|TH|TD)$/.test(b.nodeName);
@@ -39449,7 +39390,7 @@ Required: ` + f.join(", "));
39449
39390
  }, Ty = function(u, f, g, _) {
39450
39391
  var b = u.create(g, _);
39451
39392
  return f.parentNode.insertBefore(b, f), b.appendChild(f), b;
39452
- }, gC = function(u, f, g, _, b) {
39393
+ }, g4 = function(u, f, g, _, b) {
39453
39394
  var S = Ft.fromDom(f), N = Ft.fromDom(u.create(_, b)), P = g ? Qa(S) : ds(S);
39454
39395
  return Kn(N, P), g ? (aa(S, N), Rn(N, S)) : (pi(S, N), ai(N, S)), N.dom;
39455
39396
  }, _2 = function(u, f, g, _) {
@@ -39509,7 +39450,7 @@ Required: ` + f.join(", "));
39509
39450
  return Ny(u, f, g, _, _).fold(re(_), function(b) {
39510
39451
  return u.dom.createFragment().appendChild(_), u.dom.rename(_, b);
39511
39452
  }, re(null));
39512
- }, vC = function(u, f, g, _, b) {
39453
+ }, _4 = function(u, f, g, _, b) {
39513
39454
  var S = u.formatter.get(f), N = S[0], P = !0, R = u.dom, j = u.selection, Y = function(ke) {
39514
39455
  var We = function(we, at, qe, Et, bt) {
39515
39456
  var Tt;
@@ -39529,7 +39470,7 @@ Required: ` + f.join(", "));
39529
39470
  ;
39530
39471
  bn && (Qt && bn.appendChild(Qt), Un || (Un = bn), Qt = bn);
39531
39472
  }
39532
- !Tt || Zt.mixed && yn.isBlock(qe) || (Et = yn.split(qe, Et)), Qt && (bt.parentNode.insertBefore(Qt, bt), Un.appendChild(bt), Zt.inline && pC(yn, Zt, 0, Qt));
39473
+ !Tt || Zt.mixed && yn.isBlock(qe) || (Et = yn.split(qe, Et)), Qt && (bt.parentNode.insertBefore(Qt, bt), Un.appendChild(bt), Zt.inline && p4(yn, Zt, 0, Qt));
39533
39474
  }
39534
39475
  return Et;
39535
39476
  }(u, S, We, ke, ke, !0, N, g);
@@ -39554,12 +39495,12 @@ Required: ` + f.join(", "));
39554
39495
  var We, we, at = Gf(u, ke, S, ke.collapsed);
39555
39496
  if (N.split) {
39556
39497
  if (at = pr(at), (We = v2(u, at, !0)) !== (we = v2(u, at))) {
39557
- if (We = hC(We, !0), we = hC(we, !1), mC(R, We, we)) {
39498
+ if (We = h4(We, !0), we = h4(we, !1), m4(R, We, we)) {
39558
39499
  var qe = ae.from(We.firstChild).getOr(We);
39559
- return Y(gC(R, qe, !0, "span", { id: "_start", "data-mce-type": "bookmark" })), void ie(!0);
39500
+ return Y(g4(R, qe, !0, "span", { id: "_start", "data-mce-type": "bookmark" })), void ie(!0);
39560
39501
  }
39561
- if (mC(R, we, We))
39562
- return qe = ae.from(we.lastChild).getOr(we), Y(gC(R, qe, !1, "span", { id: "_end", "data-mce-type": "bookmark" })), void ie(!1);
39502
+ if (m4(R, we, We))
39503
+ return qe = ae.from(we.lastChild).getOr(we), Y(g4(R, qe, !1, "span", { id: "_end", "data-mce-type": "bookmark" })), void ie(!1);
39563
39504
  We = Ty(R, We, "span", { id: "_start", "data-mce-type": "bookmark" }), we = Ty(R, we, "span", { id: "_end", "data-mce-type": "bookmark" });
39564
39505
  var Et = R.createRng();
39565
39506
  Et.setStartAfter(We), Et.setEndBefore(we), Dc(R, Et, function(bt) {
@@ -39586,7 +39527,7 @@ Required: ` + f.join(", "));
39586
39527
  } else
39587
39528
  me(_);
39588
39529
  else if (R.getContentEditable(j.getNode()) !== "false")
39589
- j.isCollapsed() && N.inline && !Rd(u).length ? dC(u, f, g, b) : (xm(j, !0, function() {
39530
+ j.isCollapsed() && N.inline && !Rd(u).length ? d4(u, f, g, b) : (xm(j, !0, function() {
39590
39531
  Sm(u, me);
39591
39532
  }), N.inline && by(u, f, g, j.getStart()) && Od(R, j, j.getRng()), u.nodeChanged());
39592
39533
  else {
@@ -39594,9 +39535,9 @@ Required: ` + f.join(", "));
39594
39535
  for (var je = 0; je < S.length && (!S[je].ceFalseOverride || !Hm(u, S[je], g, _, _)); je++)
39595
39536
  ;
39596
39537
  }
39597
- }, _C = un.each, E6 = function(u, f, g, _) {
39598
- _C(f, function(b) {
39599
- _C(u.dom.select(b.inline, _), function(S) {
39538
+ }, y4 = un.each, E6 = function(u, f, g, _) {
39539
+ y4(f, function(b) {
39540
+ y4(u.dom.select(b.inline, _), function(S) {
39600
39541
  Sy(S) && Hm(u, b, g, S, b.exact ? S : null);
39601
39542
  }), function(S, N, P) {
39602
39543
  if (N.clear_child_styles) {
@@ -39609,7 +39550,7 @@ Required: ` + f.join(", "));
39609
39550
  }
39610
39551
  }(u.dom, b, _);
39611
39552
  });
39612
- }, Xu = un.each, yC = function(u, f) {
39553
+ }, Xu = un.each, b4 = function(u, f) {
39613
39554
  return or(u, f);
39614
39555
  }, Iy = function(u, f, g, _) {
39615
39556
  var b = u.formatter.get(f), S = b[0], N = !_ && u.selection.isCollapsed(), P = u.dom, R = u.selection, j = function(we, at) {
@@ -39658,10 +39599,10 @@ Required: ` + f.join(", "));
39658
39599
  }
39659
39600
  if (Wf(S)) {
39660
39601
  var Jt = Y(b, yn);
39661
- if (io(yn) && Wv(we, yn.parentNode) && Y(b, yn.parentNode), !yC(S, "inline") || Jt)
39602
+ if (io(yn) && Wv(we, yn.parentNode) && Y(b, yn.parentNode), !b4(S, "inline") || Jt)
39662
39603
  return void (Qt = null);
39663
39604
  }
39664
- !Tt || Nn || !gu(u, Zt, Xt) || !gu(u, Tn, Zt) || !Et && yn.nodeType === 3 && yn.nodeValue.length === 1 && yn.nodeValue.charCodeAt(0) === 65279 || bl(yn) || yC(S, "inline") && we.isBlock(yn) ? (Qt = null, Xu(un.grep(yn.childNodes), Un), Nn && (Tt = Ht), Qt = null) : (Qt || (Qt = we.clone(hn, !1), yn.parentNode.insertBefore(Qt, yn), bt.push(Qt)), Qt.appendChild(yn));
39605
+ !Tt || Nn || !gu(u, Zt, Xt) || !gu(u, Tn, Zt) || !Et && yn.nodeType === 3 && yn.nodeValue.length === 1 && yn.nodeValue.charCodeAt(0) === 65279 || bl(yn) || b4(S, "inline") && we.isBlock(yn) ? (Qt = null, Xu(un.grep(yn.childNodes), Un), Nn && (Tt = Ht), Qt = null) : (Qt || (Qt = we.clone(hn, !1), yn.parentNode.insertBefore(Qt, yn), bt.push(Qt)), Qt.appendChild(yn));
39665
39606
  }
39666
39607
  };
39667
39608
  Xu(bn, Un);
@@ -39707,7 +39648,7 @@ Required: ` + f.join(", "));
39707
39648
  Nn.styles && (Nn.styles.color || Nn.styles.textDecoration) && (un.walk(Xt, Tn, "childNodes"), Tn(Xt));
39708
39649
  }(we, S, 0, bn), function(yn, Nn, Ht, Xt) {
39709
39650
  Nn.inline !== "sub" && Nn.inline !== "sup" || (xy(Xt, E0(yn, "fontSize"), g2(yn, "fontSize", "")), yn.remove(yn.select(Nn.inline === "sup" ? "sub" : "sup", Xt), !0));
39710
- }(we, S, 0, bn), pC(we, S, 0, bn)) : we.remove(bn, !0);
39651
+ }(we, S, 0, bn), p4(we, S, 0, bn)) : we.remove(bn, !0);
39711
39652
  });
39712
39653
  };
39713
39654
  if (P.getContentEditable(R.getNode()) !== "false") {
@@ -39764,7 +39705,7 @@ Required: ` + f.join(", "));
39764
39705
  un.each(P, function(ne) {
39765
39706
  return u.formatter.matchNode(ne, Y, {}, j.similar) ? (b.indexOf(Y) === -1 && (Je(j.callbacks, function(ie) {
39766
39707
  ie(!0, { node: ne, format: Y, parents: P });
39767
- }), S[Y] = j.callbacks), N[Y] = j.callbacks, !1) : !aC(u, ne, Y) && void 0;
39708
+ }), S[Y] = j.callbacks), N[Y] = j.callbacks, !1) : !a4(u, ne, Y) && void 0;
39768
39709
  });
39769
39710
  });
39770
39711
  var R = S6(g.get(), N, f, P);
@@ -39805,23 +39746,23 @@ Required: ` + f.join(", "));
39805
39746
  return { element: u, width: f, rows: g };
39806
39747
  }, xg = function(u, f) {
39807
39748
  return { element: u, cells: f };
39808
- }, bC = function(u, f) {
39749
+ }, w4 = function(u, f) {
39809
39750
  return { x: u, y: f };
39810
- }, wC = function(u, f) {
39751
+ }, C4 = function(u, f) {
39811
39752
  var g = parseInt(Gi(u, f), 10);
39812
39753
  return isNaN(g) ? 1 : g;
39813
39754
  }, x6 = function(u, f, g) {
39814
39755
  var _ = u.rows;
39815
39756
  return !!(_[g] ? _[g].cells : [])[f];
39816
- }, CC = function(u) {
39757
+ }, E4 = function(u) {
39817
39758
  return St(u, function(f, g) {
39818
39759
  return g.cells.length > f ? g.cells.length : f;
39819
39760
  }, 0);
39820
- }, EC = function(u, f) {
39761
+ }, S4 = function(u, f) {
39821
39762
  for (var g = u.rows, _ = 0; _ < g.length; _++)
39822
39763
  for (var b = g[_].cells, S = 0; S < b.length; S++)
39823
39764
  if (Fo(b[S], f))
39824
- return ae.some(bC(S, _));
39765
+ return ae.some(w4(S, _));
39825
39766
  return ae.none();
39826
39767
  }, Oy = function(u, f, g, _, b) {
39827
39768
  for (var S = [], N = u.rows, P = g; P <= b; P++) {
@@ -39834,7 +39775,7 @@ Required: ` + f.join(", "));
39834
39775
  return Je(da(u, "tr"), function(g, _) {
39835
39776
  Je(da(g, "td,th"), function(b, S) {
39836
39777
  (function(N, P, R, j, Y) {
39837
- for (var ne = wC(Y, "rowspan"), ie = wC(Y, "colspan"), me = N.rows, Pe = R; Pe < R + ne; Pe++) {
39778
+ for (var ne = C4(Y, "rowspan"), ie = C4(Y, "colspan"), me = N.rows, Pe = R; Pe < R + ne; Pe++) {
39838
39779
  me[Pe] || (me[Pe] = xg(fa(j), []));
39839
39780
  for (var je = P; je < P + ie; je++)
39840
39781
  me[Pe].cells[je] = Pe === R && je === P ? Y : di(Y);
@@ -39845,7 +39786,7 @@ Required: ` + f.join(", "));
39845
39786
  return P;
39846
39787
  }(f, S, _), _, g, b);
39847
39788
  });
39848
- }), jm(f.element, CC(f.rows), f.rows);
39789
+ }), jm(f.element, E4(f.rows), f.rows);
39849
39790
  }, zl = function(u) {
39850
39791
  return function(f, g) {
39851
39792
  var _ = di(f.element), b = Ft.fromTag("tbody");
@@ -39860,15 +39801,15 @@ Required: ` + f.join(", "));
39860
39801
  });
39861
39802
  }(u));
39862
39803
  }, k6 = function(u, f, g) {
39863
- return EC(u, f).bind(function(_) {
39864
- return EC(u, g).map(function(b) {
39804
+ return S4(u, f).bind(function(_) {
39805
+ return S4(u, g).map(function(b) {
39865
39806
  return function(S, N, P) {
39866
39807
  var R = N.x, j = N.y, Y = P.x, ne = P.y, ie = j < ne ? Oy(S, R, j, Y, ne) : Oy(S, R, ne, Y, j);
39867
- return jm(S.element, CC(ie), ie);
39808
+ return jm(S.element, E4(ie), ie);
39868
39809
  }(u, _, b);
39869
39810
  });
39870
39811
  });
39871
- }, SC = function(u, f) {
39812
+ }, x4 = function(u, f) {
39872
39813
  return Ot(u, function(g) {
39873
39814
  return ur(g) === "li" && Sr(g, f);
39874
39815
  }).fold(re([]), function(g) {
@@ -39886,13 +39827,13 @@ Required: ` + f.join(", "));
39886
39827
  }, Dy = function(u, f) {
39887
39828
  var g = Ft.fromDom(f.commonAncestorContainer), _ = yu(g, u), b = Ue(_, function(P) {
39888
39829
  return yf(P) || xn(P);
39889
- }), S = SC(_, f), N = b.concat(S.length ? S : function(P) {
39830
+ }), S = x4(_, f), N = b.concat(S.length ? S : function(P) {
39890
39831
  return Vp(P) ? Pr(P).filter(Ou).fold(re([]), function(R) {
39891
39832
  return [P, R];
39892
39833
  }) : Ou(P) ? [P] : [];
39893
39834
  }(g));
39894
39835
  return Qe(N, di);
39895
- }, xC = function() {
39836
+ }, k4 = function() {
39896
39837
  return b2([]);
39897
39838
  }, T6 = function(u, f) {
39898
39839
  return g = Ft.fromDom(f.cloneContents()), _ = Dy(u, f), b = St(_, function(S, N) {
@@ -39905,12 +39846,12 @@ Required: ` + f.join(", "));
39905
39846
  return k6(P, S, N).map(function(R) {
39906
39847
  return b2([zl(R)]);
39907
39848
  });
39908
- }).getOrThunk(xC);
39849
+ }).getOrThunk(k4);
39909
39850
  var g, _;
39910
39851
  }, I6 = function(u, f) {
39911
39852
  var g = t0(f, u);
39912
39853
  return g.length > 0 ? N6(u, g) : function(_, b) {
39913
- return b.length > 0 && b[0].collapsed ? xC() : T6(_, b[0]);
39854
+ return b.length > 0 && b[0].collapsed ? k4() : T6(_, b[0]);
39914
39855
  }(u, f);
39915
39856
  }, kg = function(u, f) {
39916
39857
  return f >= 0 && f < u.length && Ic(u.charAt(f));
@@ -39919,7 +39860,7 @@ Required: ` + f.join(", "));
39919
39860
  return f ? function(_) {
39920
39861
  return _.replace(/^[ \f\n\r\t\v]+/, "");
39921
39862
  }(g) : g;
39922
- }, kC = function(u, f, g) {
39863
+ }, T4 = function(u, f, g) {
39923
39864
  if (g === void 0 && (g = {}), g.get = !0, g.format = f, g.selection = !0, (g = u.fire("BeforeGetContent", g)).isDefaultPrevented())
39924
39865
  return u.fire("GetContent", g), g.content;
39925
39866
  if (g.format === "text")
@@ -39943,7 +39884,7 @@ Required: ` + f.join(", "));
39943
39884
  return Y && P.appendChild(Y), b.selection.serializer.serialize(P, S);
39944
39885
  }(u, g);
39945
39886
  return g.format === "tree" ? _ : (g.content = u.selection.isCollapsed() ? "" : _, u.fire("GetContent", g), g.content);
39946
- }, TC = function(u) {
39887
+ }, N4 = function(u) {
39947
39888
  return Gn(u) ? u.outerHTML : io(u) ? Ol.encodeRaw(u.data, !1) : Ga(u) ? "<!--" + u.data + "-->" : "";
39948
39889
  }, A6 = function(u, f, g) {
39949
39890
  var _ = function(S) {
@@ -39958,7 +39899,7 @@ Required: ` + f.join(", "));
39958
39899
  } else
39959
39900
  u.appendChild(_);
39960
39901
  }, O6 = function(u, f) {
39961
- var g, _, b, S, N, P, R, j, Y, ne = Qe(Dn(f.childNodes), TC);
39902
+ var g, _, b, S, N, P, R, j, Y, ne = Qe(Dn(f.childNodes), N4);
39962
39903
  return function(ie, me) {
39963
39904
  var Pe = 0;
39964
39905
  Je(ie, function(je) {
@@ -40007,7 +39948,7 @@ Required: ` + f.join(", "));
40007
39948
  }
40008
39949
  }, Y = [], P(0, g.length, 0, _.length, Y), Y), f), f;
40009
39950
  }, _o = ei(ae.none()), Py = function(u) {
40010
- var f, g = (f = u.getBody(), Ue(Qe(Dn(f.childNodes), TC), function(S) {
39951
+ var f, g = (f = u.getBody(), Ue(Qe(Dn(f.childNodes), N4), function(S) {
40011
39952
  return S.length > 0;
40012
39953
  })), _ = kn(g, function(S) {
40013
39954
  var N = $m(u.serializer, S);
@@ -40145,11 +40086,11 @@ Required: ` + f.join(", "));
40145
40086
  }, apply: function(f, g, _) {
40146
40087
  return Iy(u, f, g, _);
40147
40088
  }, remove: function(f, g, _, b) {
40148
- return vC(u, f, g, _, b);
40089
+ return _4(u, f, g, _, b);
40149
40090
  }, toggle: function(f, g, _) {
40150
40091
  return function(b, S, N, P) {
40151
40092
  var R = b.formatter.get(S);
40152
- !by(b, S, N, P) || "toggle" in R[0] && !R[0].toggle ? Iy(b, S, N, P) : vC(b, S, N, P);
40093
+ !by(b, S, N, P) || "toggle" in R[0] && !R[0].toggle ? Iy(b, S, N, P) : _4(b, S, N, P);
40153
40094
  }(u, f, g, _);
40154
40095
  }, formatChanged: function(f, g, _, b) {
40155
40096
  return y2(u, f, g, _, b);
@@ -40187,7 +40128,7 @@ Required: ` + f.join(", "));
40187
40128
  }), g.fire("VisualAid", { element: _, hasVisual: g.hasVisual });
40188
40129
  }(u, f);
40189
40130
  } }, selection: { getContent: function(f, g) {
40190
- return kC(u, f, g);
40131
+ return T4(u, f, g);
40191
40132
  } }, raw: { getModel: function() {
40192
40133
  return ae.none();
40193
40134
  } } };
@@ -40265,7 +40206,7 @@ Required: ` + f.join(", "));
40265
40206
  if (f)
40266
40207
  return f;
40267
40208
  throw new Error("Failed to get RTC instance not yet initialized.");
40268
- }, NC = function(u, f) {
40209
+ }, I4 = function(u, f) {
40269
40210
  return f === void 0 && (f = {}), function(g, _, b) {
40270
40211
  return yi(g).selection.getContent(_, b);
40271
40212
  }(u, f.format ? f.format : "html", f);
@@ -40294,7 +40235,7 @@ Required: ` + f.join(", "));
40294
40235
  }(S, _);
40295
40236
  });
40296
40237
  });
40297
- }, IC = function(u, f, g) {
40238
+ }, A4 = function(u, f, g) {
40298
40239
  g === void 0 && (g = {});
40299
40240
  var _ = function(S, N) {
40300
40241
  return ht(ht({ format: "html" }, S), { set: !0, selection: !0, content: N });
@@ -40327,7 +40268,7 @@ Required: ` + f.join(", "));
40327
40268
  return !!u.select;
40328
40269
  }, I0 = function(u) {
40329
40270
  return !(!u || !u.ownerDocument) && ia(Ft.fromDom(u.ownerDocument), Ft.fromDom(u));
40330
- }, AC = function(u, f, g, _) {
40271
+ }, O4 = function(u, f, g, _) {
40331
40272
  var b, S, N = function(ke, We) {
40332
40273
  var we, at;
40333
40274
  return { selectorChangedWithUnbind: function(qe, Et) {
@@ -40350,7 +40291,7 @@ Required: ` + f.join(", "));
40350
40291
  } };
40351
40292
  } };
40352
40293
  }(u, _).selectorChangedWithUnbind, P = function(ke, We) {
40353
- return IC(_, ke, We);
40294
+ return A4(_, ke, We);
40354
40295
  }, R = function(ke) {
40355
40296
  var We = Y();
40356
40297
  We.collapse(!!ke), ne(We);
@@ -40413,7 +40354,7 @@ Required: ` + f.join(", "));
40413
40354
  var we = u.createRng();
40414
40355
  W(ke) && W(We) ? (we.setStart(ke, We), we.setEnd(ke, We), ne(we), R(!1)) : (wl(u, we, _.getBody(), !0), ne(we));
40415
40356
  }, getContent: function(ke) {
40416
- return NC(_, ke);
40357
+ return I4(_, ke);
40417
40358
  }, setContent: P, getBookmark: function(ke, We) {
40418
40359
  return Pe.getBookmark(ke, We);
40419
40360
  }, moveToBookmark: function(ke) {
@@ -40520,7 +40461,7 @@ Required: ` + f.join(", "));
40520
40461
  for (var _ = new Uint8Array(g.length), b = 0; b < _.length; b++)
40521
40462
  _[b] = g.charCodeAt(b);
40522
40463
  return ae.some(new Blob([_], { type: u }));
40523
- }, OC = function(u) {
40464
+ }, D4 = function(u) {
40524
40465
  return u.indexOf("blob:") === 0 ? function(g) {
40525
40466
  return new ko(function(_, b) {
40526
40467
  var S = function() {
@@ -40548,13 +40489,13 @@ Required: ` + f.join(", "));
40548
40489
  var b, S;
40549
40490
  if (f.src.indexOf("blob:") !== 0) {
40550
40491
  var N = Fy(f.src), P = N.data, R = N.type;
40551
- b = P, (S = u.getByData(b, R)) ? g({ image: f, blobInfo: S }) : OC(f.src).then(function(j) {
40492
+ b = P, (S = u.getByData(b, R)) ? g({ image: f, blobInfo: S }) : D4(f.src).then(function(j) {
40552
40493
  S = u.create(N2(), j, b), u.add(S), g({ image: f, blobInfo: S });
40553
40494
  }, function(j) {
40554
40495
  _(j);
40555
40496
  });
40556
40497
  } else
40557
- (S = u.getByUri(f.src)) ? g({ image: f, blobInfo: S }) : OC(f.src).then(function(j) {
40498
+ (S = u.getByUri(f.src)) ? g({ image: f, blobInfo: S }) : D4(f.src).then(function(j) {
40558
40499
  (function(Y) {
40559
40500
  return new ko(function(ne) {
40560
40501
  var ie = new FileReader();
@@ -40643,7 +40584,7 @@ Required: ` + f.join(", "));
40643
40584
  g && u.addAttributeFilter("src", function(b) {
40644
40585
  return Je(b, _);
40645
40586
  });
40646
- }, Ig = un.makeMap, Ag = un.each, DC = un.explode, R6 = un.extend, cp = function(u, f) {
40587
+ }, Ig = un.makeMap, Ag = un.each, P4 = un.explode, R6 = un.extend, cp = function(u, f) {
40647
40588
  f === void 0 && (f = Si());
40648
40589
  var g = {}, _ = [], b = {}, S = {};
40649
40590
  (u = u || {}).validate = !("validate" in u) || u.validate, u.root_name = u.root_name || "body";
@@ -40653,7 +40594,7 @@ Required: ` + f.join(", "));
40653
40594
  (Y = _[j].name) in R.attributes.map && ((ne = S[Y]) ? ne.push(R) : S[Y] = [R]);
40654
40595
  return R;
40655
40596
  }, P = { schema: f, addAttributeFilter: function(R, j) {
40656
- Ag(DC(R), function(Y) {
40597
+ Ag(P4(R), function(Y) {
40657
40598
  var ne;
40658
40599
  for (ne = 0; ne < _.length; ne++)
40659
40600
  if (_[ne].name === Y)
@@ -40663,7 +40604,7 @@ Required: ` + f.join(", "));
40663
40604
  }, getAttributeFilters: function() {
40664
40605
  return [].concat(_);
40665
40606
  }, addNodeFilter: function(R, j) {
40666
- Ag(DC(R), function(Y) {
40607
+ Ag(P4(R), function(Y) {
40667
40608
  var ne = g[Y];
40668
40609
  ne || (g[Y] = ne = []), ne.push(j);
40669
40610
  });
@@ -40969,10 +40910,10 @@ Required: ` + f.join(", "));
40969
40910
  }, setRules: function(N) {
40970
40911
  b.setValidElements(N);
40971
40912
  }, addTempAttr: oe(Dg, S, g), getTempAttrs: re(g), getNodeFilters: S.getNodeFilters, getAttributeFilters: S.getAttributeFilters };
40972
- }, PC = function(u, f) {
40913
+ }, B4 = function(u, f) {
40973
40914
  var g = M6(u, f);
40974
40915
  return { schema: g.schema, addNodeFilter: g.addNodeFilter, addAttributeFilter: g.addAttributeFilter, serialize: g.serialize, addRules: g.addRules, setRules: g.setRules, addTempAttr: g.addTempAttr, getTempAttrs: g.getTempAttrs, getNodeFilters: g.getNodeFilters, getAttributeFilters: g.getAttributeFilters };
40975
- }, BC = function(u, f) {
40916
+ }, R4 = function(u, f) {
40976
40917
  return f === void 0 && (f = {}), function(g, _, b) {
40977
40918
  return Jd(g).editor.getContent(_, b);
40978
40919
  }(u, f, f.format ? f.format : "html");
@@ -40984,7 +40925,7 @@ Required: ` + f.join(", "));
40984
40925
  return ae.from(u).each(function(f) {
40985
40926
  return f.destroy();
40986
40927
  });
40987
- }, RC = function(u) {
40928
+ }, M4 = function(u) {
40988
40929
  if (!u.removed) {
40989
40930
  var f = u._selectionOverrides, g = u.editorUpload, _ = u.getBody(), b = u.getElement();
40990
40931
  _ && u.save({ is_removing: !0 }), u.removed = !0, u.unbindAllNativeEvents(), u.hasHiddenInput && b && O2.remove(b.nextSibling), function(S) {
@@ -40995,7 +40936,7 @@ Required: ` + f.join(", "));
40995
40936
  S.fire("detach");
40996
40937
  }(u), O2.remove(u.getContainer()), D2(f), D2(g), u.destroy();
40997
40938
  }
40998
- }, MC = function(u, f) {
40939
+ }, $4 = function(u, f) {
40999
40940
  var g = u.selection, _ = u.dom;
41000
40941
  u.destroyed || (f || u.removed ? (f || (u.editorManager.off("beforeunload", u._beforeUnload), u.theme && u.theme.destroy && u.theme.destroy(), D2(g), D2(_)), function(b) {
41001
40942
  var S = b.formElement;
@@ -41003,8 +40944,8 @@ Required: ` + f.join(", "));
41003
40944
  }(u), function(b) {
41004
40945
  b.contentAreaContainer = b.formElement = b.container = b.editorContainer = null, b.bodyElement = b.contentDocument = b.contentWindow = null, b.iframeElement = b.targetElm = null, b.selection && (b.selection = b.selection.win = b.selection.dom = b.selection.dom.doc = null);
41005
40946
  }(u), u.destroyed = !0) : u.remove());
41006
- }, $6 = Object.prototype.hasOwnProperty, $C = (N0 = function(u, f) {
41007
- return D(u) && D(f) ? $C(u, f) : f;
40947
+ }, $6 = Object.prototype.hasOwnProperty, V4 = (N0 = function(u, f) {
40948
+ return D(u) && D(f) ? V4(u, f) : f;
41008
40949
  }, function() {
41009
40950
  for (var u = [], f = 0; f < arguments.length; f++)
41010
40951
  u[f] = arguments[f];
@@ -41016,12 +40957,12 @@ Required: ` + f.join(", "));
41016
40957
  $6.call(b, S) && (g[S] = N0(g[S], b[S]));
41017
40958
  }
41018
40959
  return g;
41019
- }), qm = Wn().deviceType, VC = qm.isTouch(), zy = qm.isPhone(), FC = qm.isTablet(), LC = ["lists", "autolink", "autosave"], Hy = { table_grid: !1, object_resizing: !1, resize: !1 }, Pg = function(u) {
40960
+ }), qm = Wn().deviceType, F4 = qm.isTouch(), zy = qm.isPhone(), L4 = qm.isTablet(), U4 = ["lists", "autolink", "autosave"], Hy = { table_grid: !1, object_resizing: !1, resize: !1 }, Pg = function(u) {
41020
40961
  var f = O(u) ? u.join(" ") : u, g = Qe(x(f) ? f.split(" ") : [], ze);
41021
40962
  return Ue(g, function(_) {
41022
40963
  return _.length > 0;
41023
40964
  });
41024
- }, UC = function(u, f) {
40965
+ }, z4 = function(u, f) {
41025
40966
  var g = Jo(f, function(_, b) {
41026
40967
  return Te(u, b);
41027
40968
  });
@@ -41030,49 +40971,49 @@ Required: ` + f.join(", "));
41030
40971
  }(g.t, g.f);
41031
40972
  }, P2 = function(u, f) {
41032
40973
  return u.sections().hasOwnProperty(f);
41033
- }, zC = function(u, f) {
40974
+ }, H4 = function(u, f) {
41034
40975
  return Ro(u, "toolbar_mode").orThunk(function() {
41035
40976
  return Ro(u, "toolbar_drawer").map(function(g) {
41036
40977
  return g === !1 ? "wrap" : g;
41037
40978
  });
41038
40979
  }).getOr(f);
41039
40980
  }, jy = function(u, f) {
41040
- var g = { resize: !1, toolbar_mode: zC(u, "scrolling"), toolbar_sticky: !1 };
40981
+ var g = { resize: !1, toolbar_mode: H4(u, "scrolling"), toolbar_sticky: !1 };
41041
40982
  return ht(ht(ht({}, Hy), g), f ? { menubar: !1 } : {});
41042
40983
  }, Wy = function(u, f) {
41043
40984
  var g = f.external_plugins ? f.external_plugins : {};
41044
40985
  return u && u.external_plugins ? un.extend({}, u.external_plugins, g) : g;
41045
- }, HC = function(u, f, g, _) {
40986
+ }, j4 = function(u, f, g, _) {
41046
40987
  return u && function(b, S, N) {
41047
40988
  var P = b.sections();
41048
40989
  return P2(b, S) && P[S].theme === N;
41049
40990
  }(f, "mobile", "mobile") ? function(b) {
41050
- return Ue(b, oe(Te, LC));
40991
+ return Ue(b, oe(Te, U4));
41051
40992
  }(_) : u && P2(f, "mobile") ? _ : g;
41052
- }, jC = function(u, f, g, _) {
40993
+ }, W4 = function(u, f, g, _) {
41053
40994
  var b = Pg(g.forced_plugins), S = Pg(_.plugins), N = function(j, Y) {
41054
40995
  return P2(j, Y) ? j.sections()[Y] : {};
41055
40996
  }(f, "mobile"), P = N.plugins ? Pg(N.plugins) : S, R = function(j, Y) {
41056
40997
  return [].concat(Pg(j)).concat(Pg(Y));
41057
- }(b, HC(u, f, S, P));
40998
+ }(b, j4(u, f, S, P));
41058
40999
  if (Qn.browser.isIE() && Te(R, "rtc"))
41059
41000
  throw new Error("RTC plugin is not supported on IE 11.");
41060
41001
  return un.extend(_, { plugins: R.join(" ") });
41061
41002
  }, B2 = function(u, f, g, _, b) {
41062
- var S = u ? { mobile: jy(b.mobile || {}, f) } : {}, N = UC(["mobile"], $C(S, b)), P = un.extend(g, _, N.settings(), function(R, j) {
41003
+ var S = u ? { mobile: jy(b.mobile || {}, f) } : {}, N = z4(["mobile"], V4(S, b)), P = un.extend(g, _, N.settings(), function(R, j) {
41063
41004
  return R && P2(j, "mobile");
41064
41005
  }(u, N) ? function(R, j, Y) {
41065
41006
  Y === void 0 && (Y = {});
41066
41007
  var ne = R.sections(), ie = ne.hasOwnProperty(j) ? ne[j] : {};
41067
41008
  return un.extend({}, Y, ie);
41068
41009
  }(N, "mobile") : {}, { validate: !0, external_plugins: Wy(_, N.settings()) });
41069
- return jC(u, N, _, P);
41010
+ return W4(u, N, _, P);
41070
41011
  }, V6 = function(u, f, g, _, b) {
41071
41012
  var S = function(N, P, R, j, Y) {
41072
- var ne = { id: P, theme: "silver", toolbar_mode: zC(N, "floating"), plugins: "", document_base_url: R, add_form_submit_trigger: !0, submit_patch: !0, add_unload_trigger: !0, convert_urls: !0, relative_urls: !0, remove_script_host: !0, object_resizing: !0, doctype: "<!DOCTYPE html>", visual: !0, font_size_legacy_values: "xx-small,small,medium,large,x-large,xx-large,300%", forced_root_block: "p", hidden_input: !0, inline_styles: !0, convert_fonts_to_spans: !0, indent: !0, indent_before: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", indent_after: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", entity_encoding: "named", url_converter: Y.convertURL, url_converter_scope: Y };
41013
+ var ne = { id: P, theme: "silver", toolbar_mode: H4(N, "floating"), plugins: "", document_base_url: R, add_form_submit_trigger: !0, submit_patch: !0, add_unload_trigger: !0, convert_urls: !0, relative_urls: !0, remove_script_host: !0, object_resizing: !0, doctype: "<!DOCTYPE html>", visual: !0, font_size_legacy_values: "xx-small,small,medium,large,x-large,xx-large,300%", forced_root_block: "p", hidden_input: !0, inline_styles: !0, convert_fonts_to_spans: !0, indent: !0, indent_before: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", indent_after: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", entity_encoding: "named", url_converter: Y.convertURL, url_converter_scope: Y };
41073
41014
  return ht(ht({}, ne), j ? Hy : {});
41074
- }(b, f, g, VC, u);
41075
- return B2(zy || FC, zy, S, _, b);
41015
+ }(b, f, g, F4, u);
41016
+ return B2(zy || L4, zy, S, _, b);
41076
41017
  }, Km = function(u, f, g) {
41077
41018
  return ae.from(f.settings[g]).filter(u);
41078
41019
  }, Ym = function(u, f, g, _) {
@@ -41096,18 +41037,18 @@ Required: ` + f.join(", "));
41096
41037
  return f.dom[u];
41097
41038
  }, Rg = function(u, f) {
41098
41039
  return parseInt(Il(f, u), 10);
41099
- }, WC = oe(Gy, "clientWidth"), GC = oe(Gy, "clientHeight"), qC = oe(Rg, "margin-top"), qy = oe(Rg, "margin-left"), A0 = function(u, f, g) {
41040
+ }, G4 = oe(Gy, "clientWidth"), q4 = oe(Gy, "clientHeight"), K4 = oe(Rg, "margin-top"), qy = oe(Rg, "margin-left"), A0 = function(u, f, g) {
41100
41041
  var _, b = Ft.fromDom(u.getBody()), S = u.inline ? b : (_ = b, Ft.fromDom(Hr(_).dom.documentElement)), N = function(P, R, j, Y) {
41101
41042
  var ne = function(ie) {
41102
41043
  return ie.dom.getBoundingClientRect();
41103
41044
  }(R);
41104
- return { x: j - (P ? ne.left + R.dom.clientLeft + qy(R) : 0), y: Y - (P ? ne.top + R.dom.clientTop + qC(R) : 0) };
41045
+ return { x: j - (P ? ne.left + R.dom.clientLeft + qy(R) : 0), y: Y - (P ? ne.top + R.dom.clientTop + K4(R) : 0) };
41105
41046
  }(u.inline, S, f, g);
41106
41047
  return function(P, R, j) {
41107
- var Y = WC(P), ne = GC(P);
41048
+ var Y = G4(P), ne = q4(P);
41108
41049
  return R >= 0 && j >= 0 && R <= Y && j <= ne;
41109
41050
  }(S, N.x, N.y);
41110
- }, KC = function(u) {
41051
+ }, Y4 = function(u) {
41111
41052
  var f, g = u.inline ? u.getBody() : u.getContentAreaContainer();
41112
41053
  return (f = g, ae.from(f).map(Ft.fromDom)).map(Yl).getOr(!1);
41113
41054
  }, Mg = function(u) {
@@ -41127,7 +41068,7 @@ Required: ` + f.join(", "));
41127
41068
  f.splice(R, 1);
41128
41069
  });
41129
41070
  }, N = function(P, R) {
41130
- if (R === void 0 && (R = !0), !u.removed && KC(u))
41071
+ if (R === void 0 && (R = !0), !u.removed && Y4(u))
41131
41072
  return R && u.fire("BeforeOpenNotification", { notification: P }), Ot(f, function(j) {
41132
41073
  return Y = g().getArgs(j), ne = P, !(Y.type !== ne.type || Y.text !== ne.text || Y.progressBar || Y.timeout || ne.progressBar || ne.timeout);
41133
41074
  var Y, ne;
@@ -41232,7 +41173,7 @@ Required: ` + f.join(", "));
41232
41173
  f[g - 1] = arguments[g];
41233
41174
  var _ = window.console;
41234
41175
  _ && (_.error ? _.error.apply(_, wt([u], f)) : _.log.apply(_, wt([u], f)));
41235
- }, YC = function(u) {
41176
+ }, X4 = function(u) {
41236
41177
  return Xy(u, function(f) {
41237
41178
  var g = f.getParam("content_css");
41238
41179
  return x(g) ? Qe(g.split(","), ze) : O(g) ? g : g === !1 || f.inline ? [] : ["default"];
@@ -41244,8 +41185,8 @@ Required: ` + f.join(", "));
41244
41185
  return /^[a-z0-9\-]+$/i.test(N);
41245
41186
  }(S) && !b ? g + "/" + S + "/" + _ : u.documentBaseURI.toAbsolute(S);
41246
41187
  });
41247
- }, XC = function(u) {
41248
- u.contentCSS = u.contentCSS.concat(YC(u), function(f) {
41188
+ }, J4 = function(u) {
41189
+ u.contentCSS = u.contentCSS.concat(X4(u), function(f) {
41249
41190
  return Xy(f, tm(f));
41250
41191
  }(u));
41251
41192
  }, Jy = function() {
@@ -41270,8 +41211,8 @@ Required: ` + f.join(", "));
41270
41211
  }, destroy: function() {
41271
41212
  u = {};
41272
41213
  } };
41273
- }, JC = 0, $2 = function(u) {
41274
- return u + JC++ + (f = function() {
41214
+ }, Z4 = 0, $2 = function(u) {
41215
+ return u + Z4++ + (f = function() {
41275
41216
  return Math.round(4294967295 * Math.random()).toString(36);
41276
41217
  }, "s" + (/* @__PURE__ */ new Date()).getTime().toString(36) + f() + f() + f());
41277
41218
  var f;
@@ -41346,7 +41287,7 @@ Required: ` + f.join(", "));
41346
41287
  };
41347
41288
  }, Zy = function(u, f) {
41348
41289
  return F6(f, { url: Ec(u), basePath: jh(u), credentials: Vf(u), handler: M1(u) });
41349
- }, ZC = function(u) {
41290
+ }, Q4 = function(u) {
41350
41291
  var f, g, _ = function() {
41351
41292
  var ke = [], We = function(qe) {
41352
41293
  if (!qe.blob || !qe.base64)
@@ -41523,7 +41464,7 @@ Required: ` + f.join(", "));
41523
41464
  }, register: g, unregister: function(_) {
41524
41465
  return _ && f[_] && delete f[_], f;
41525
41466
  } };
41526
- }, V2 = un.each, ss = Br.DOM, QC = function(u, f) {
41467
+ }, V2 = un.each, ss = Br.DOM, eC = function(u, f) {
41527
41468
  var g, _, b, S = f && f.schema || Si({}), N = function(R) {
41528
41469
  _ = typeof R == "string" ? { name: R, classes: [], attrs: {} } : R;
41529
41470
  var j = ss.create(_.name);
@@ -41566,7 +41507,7 @@ Required: ` + f.join(", "));
41566
41507
  }
41567
41508
  return "";
41568
41509
  })), g.name = f || "div", g;
41569
- }, e4 = function(u, f) {
41510
+ }, tC = function(u, f) {
41570
41511
  var g, _, b, S = "", N = function(ie) {
41571
41512
  var me = ie.getParam("preview_styles", "font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow");
41572
41513
  return x(me) ? me : "";
@@ -41592,7 +41533,7 @@ Required: ` + f.join(", "));
41592
41533
  var me = un.map(ie.split(/(?:~\+|~|\+)/), U6), Pe = me.pop();
41593
41534
  return me.length && (Pe.siblings = me), Pe;
41594
41535
  }).reverse()) : [];
41595
- Y.length ? (Y[0].name || (Y[0].name = g), g = f.selector, _ = QC(Y, u)) : _ = QC([g], u);
41536
+ Y.length ? (Y[0].name || (Y[0].name = g), g = f.selector, _ = eC(Y, u)) : _ = eC([g], u);
41596
41537
  var ne = ss.select(g, _)[0] || _.firstChild;
41597
41538
  return V2(f.styles, function(ie, me) {
41598
41539
  var Pe = P(ie);
@@ -41614,7 +41555,7 @@ Required: ` + f.join(", "));
41614
41555
  ie === "border" && me && (S += "padding:0 2px;"), S += ie + ":" + me + ";";
41615
41556
  }
41616
41557
  }), u.fire("AfterPreviewFormats"), ss.remove(_), S;
41617
- }, t4 = function(u) {
41558
+ }, nC = function(u) {
41618
41559
  var f = L6(u), g = ei(null);
41619
41560
  return function(_) {
41620
41561
  _.addShortcut("meta+b", "", "Bold"), _.addShortcut("meta+i", "", "Italic"), _.addShortcut("meta+u", "", "Underline");
@@ -41657,8 +41598,8 @@ Required: ` + f.join(", "));
41657
41598
  return function(N, P, R, j, Y) {
41658
41599
  return Y === void 0 && (Y = !1), yi(N).formatter.formatChanged(P, R, j, Y);
41659
41600
  }(u, g, _, b, S);
41660
- }, getCssText: oe(e4, u) };
41661
- }, n4 = function(u) {
41601
+ }, getCssText: oe(tC, u) };
41602
+ }, oC = function(u) {
41662
41603
  var f = ei(ae.none()), g = ei(0), _ = ei(0), b = { data: [], typing: !1, beforeChange: function() {
41663
41604
  (function(S, N, P) {
41664
41605
  yi(S).undoManager.beforeChange(N, P);
@@ -41746,9 +41687,9 @@ Required: ` + f.join(", "));
41746
41687
  }(u, b, g), function(S) {
41747
41688
  S.addShortcut("meta+z", "", "Undo"), S.addShortcut("meta+y,meta+shift+z", "", "Redo");
41748
41689
  }(u), b;
41749
- }, z6 = [9, 27, vo.HOME, vo.END, 19, 20, 44, 144, 145, 33, 34, 45, 16, 17, 18, 91, 92, 93, vo.DOWN, vo.UP, vo.LEFT, vo.RIGHT].concat(Qn.browser.isFirefox() ? [224] : []), o4 = "data-mce-placeholder", r4 = function(u) {
41690
+ }, z6 = [9, 27, vo.HOME, vo.END, 19, 20, 44, 144, 145, 33, 34, 45, 16, 17, 18, 91, 92, 93, vo.DOWN, vo.UP, vo.LEFT, vo.RIGHT].concat(Qn.browser.isFirefox() ? [224] : []), rC = "data-mce-placeholder", iC = function(u) {
41750
41691
  return u.type === "keydown" || u.type === "keyup";
41751
- }, i4 = function(u) {
41692
+ }, aC = function(u) {
41752
41693
  var f = u.keyCode;
41753
41694
  return f === vo.BACKSPACE || f === vo.DELETE;
41754
41695
  }, H6 = function(u) {
@@ -41756,14 +41697,14 @@ Required: ` + f.join(", "));
41756
41697
  return S.getParam("placeholder", j_.getAttrib(S.getElement(), "placeholder"), "string");
41757
41698
  }(u), b = function(S, N) {
41758
41699
  if (!function(j) {
41759
- if (r4(j)) {
41700
+ if (iC(j)) {
41760
41701
  var Y = j.keyCode;
41761
- return !i4(j) && (vo.metaKeyPressed(j) || j.altKey || Y >= 112 && Y <= 123 || Te(z6, Y));
41702
+ return !aC(j) && (vo.metaKeyPressed(j) || j.altKey || Y >= 112 && Y <= 123 || Te(z6, Y));
41762
41703
  }
41763
41704
  return !1;
41764
41705
  }(S)) {
41765
41706
  var P = u.getBody(), R = !function(j) {
41766
- return r4(j) && !(i4(j) || j.type === "keyup" && j.keyCode === 229);
41707
+ return iC(j) && !(aC(j) || j.type === "keyup" && j.keyCode === 229);
41767
41708
  }(S) && function(j, Y, ne) {
41768
41709
  if (ts(Ft.fromDom(Y), !1)) {
41769
41710
  var ie = ne === "", me = Y.firstElementChild;
@@ -41771,7 +41712,7 @@ Required: ` + f.join(", "));
41771
41712
  }
41772
41713
  return !1;
41773
41714
  }(f, P, g);
41774
- (f.getAttrib(P, o4) !== "" !== R || N) && (f.setAttrib(P, o4, R ? _ : null), f.setAttrib(P, "aria-placeholder", R ? _ : null), function(j, Y) {
41715
+ (f.getAttrib(P, rC) !== "" !== R || N) && (f.setAttrib(P, rC, R ? _ : null), f.setAttrib(P, "aria-placeholder", R ? _ : null), function(j, Y) {
41775
41716
  j.fire("PlaceholderToggle", { state: Y });
41776
41717
  }(u, R), u.on(R ? "keydown" : "keyup", b), u.off(R ? "keyup" : "keydown", b));
41777
41718
  }
@@ -41783,12 +41724,12 @@ Required: ` + f.join(", "));
41783
41724
  });
41784
41725
  });
41785
41726
  });
41786
- }, a4 = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, fp = function(u, f) {
41727
+ }, sC = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, fp = function(u, f) {
41787
41728
  return Za(Ft.fromDom(f), function(g) {
41788
41729
  return g.getParam("inline_boundaries_selector", "a[href],code,.mce-annotation", "string");
41789
41730
  }(u));
41790
41731
  }, j6 = function(u) {
41791
- return Br.DOM.getStyle(u, "direction", !0) === "rtl" || (f = u.textContent, a4.test(f));
41732
+ return Br.DOM.getStyle(u, "direction", !0) === "rtl" || (f = u.textContent, sC.test(f));
41792
41733
  var f;
41793
41734
  }, Zd = function(u, f, g) {
41794
41735
  var _ = function(b, S, N) {
@@ -41813,7 +41754,7 @@ Required: ` + f.join(", "));
41813
41754
  var g = f.getBody(), _ = g.firstChild && f.dom.isBlock(g.firstChild) ? g.firstChild : g;
41814
41755
  f.selection.setCursorLocation(_, 0);
41815
41756
  }(u));
41816
- }, s4 = function(u, f) {
41757
+ }, lC = function(u, f) {
41817
41758
  return { from: u, to: f };
41818
41759
  }, tb = function(u, f) {
41819
41760
  var g = Ft.fromDom(u), _ = Ft.fromDom(f.container());
@@ -41822,7 +41763,7 @@ Required: ` + f.join(", "));
41822
41763
  return { block: S, position: N };
41823
41764
  }(b, f);
41824
41765
  });
41825
- }, l4 = function(u, f, g) {
41766
+ }, uC = function(u, f, g) {
41826
41767
  var _ = tb(u, ln.fromRangeStart(g)), b = _.bind(function(S) {
41827
41768
  return Bo(f, u, S.position).bind(function(N) {
41828
41769
  return tb(u, N).map(function(P) {
@@ -41836,7 +41777,7 @@ Required: ` + f.join(", "));
41836
41777
  });
41837
41778
  });
41838
41779
  });
41839
- return pa(_, b, s4).filter(function(S) {
41780
+ return pa(_, b, lC).filter(function(S) {
41840
41781
  return function(N) {
41841
41782
  return Fo(N.from.block, N.to.block) === !1;
41842
41783
  }(S) && function(N) {
@@ -41856,7 +41797,7 @@ Required: ` + f.join(", "));
41856
41797
  }, function(g) {
41857
41798
  return f.slice(0, g);
41858
41799
  });
41859
- }, u4 = function(u) {
41800
+ }, cC = function(u) {
41860
41801
  var f = W6(u);
41861
41802
  return Je(f, mi), f;
41862
41803
  }, nb = function(u, f) {
@@ -41871,34 +41812,34 @@ Required: ` + f.join(", "));
41871
41812
  return !ts(S);
41872
41813
  }).length === 0 && ts(f) && aa(_, Ft.fromTag("br"));
41873
41814
  var b = _l(g.dom, ln.before(_.dom));
41874
- return Je(u4(f), function(S) {
41815
+ return Je(cC(f), function(S) {
41875
41816
  aa(_, S);
41876
41817
  }), nb(u, f), b;
41877
- }, c4 = function(u, f, g) {
41818
+ }, dC = function(u, f, g) {
41878
41819
  if (ts(g))
41879
41820
  return mi(g), ts(f) && hg(f), Ta(f.dom);
41880
41821
  var _ = yl(g.dom);
41881
- return Je(u4(f), function(b) {
41822
+ return Je(cC(f), function(b) {
41882
41823
  ai(g, b);
41883
41824
  }), nb(u, f), _;
41884
- }, d4 = function(u, f) {
41825
+ }, fC = function(u, f) {
41885
41826
  return ia(f, u) ? function(g, _) {
41886
41827
  var b = yu(_, g);
41887
41828
  return ae.from(b[b.length - 1]);
41888
41829
  }(f, u) : ae.none();
41889
- }, f4 = function(u, f) {
41830
+ }, pC = function(u, f) {
41890
41831
  Nc(u, f.dom).map(function(g) {
41891
41832
  return g.getNode();
41892
41833
  }).map(Ft.fromDom).filter(Rs).each(mi);
41893
41834
  }, ob = function(u, f, g) {
41894
- return f4(!0, f), f4(!1, g), d4(f, g).fold(oe(c4, u, f, g), oe(R0, u, f, g));
41895
- }, p4 = function(u, f, g, _) {
41835
+ return pC(!0, f), pC(!1, g), fC(f, g).fold(oe(dC, u, f, g), oe(R0, u, f, g));
41836
+ }, mC = function(u, f, g, _) {
41896
41837
  return f ? ob(u, _, g) : ob(u, g, _);
41897
41838
  }, F2 = function(u, f) {
41898
41839
  var g = Ft.fromDom(u.getBody()), _ = function(b, S, N) {
41899
- return N.collapsed ? l4(b, S, N) : ae.none();
41840
+ return N.collapsed ? uC(b, S, N) : ae.none();
41900
41841
  }(g.dom, f, u.selection.getRng()).bind(function(b) {
41901
- return p4(g, f, b.from.block, b.to.block);
41842
+ return mC(g, f, b.from.block, b.to.block);
41902
41843
  });
41903
41844
  return _.each(function(b) {
41904
41845
  u.selection.setRng(b.toRange());
@@ -41906,19 +41847,19 @@ Required: ` + f.join(", "));
41906
41847
  }, Na = function(u, f) {
41907
41848
  var g = Ft.fromDom(f), _ = oe(Fo, u);
41908
41849
  return gf(g, Ur, _).isSome();
41909
- }, m4 = function(u, f) {
41850
+ }, hC = function(u, f) {
41910
41851
  var g = _l(u.dom, ln.fromRangeStart(f)).isNone(), _ = vl(u.dom, ln.fromRangeEnd(f)).isNone();
41911
41852
  return !function(b, S) {
41912
41853
  return Na(b, S.startContainer) || Na(b, S.endContainer);
41913
41854
  }(u, f) && g && _;
41914
41855
  }, G6 = function(u) {
41915
41856
  var f = Ft.fromDom(u.getBody()), g = u.selection.getRng();
41916
- return m4(f, g) ? function(_) {
41857
+ return hC(f, g) ? function(_) {
41917
41858
  return _.setContent(""), _.selection.setCursorLocation(), !0;
41918
41859
  }(u) : function(_, b) {
41919
41860
  var S = b.getRng();
41920
41861
  return pa(pp(_, Ft.fromDom(S.startContainer)), pp(_, Ft.fromDom(S.endContainer)), function(N, P) {
41921
- return Fo(N, P) === !1 && (S.deleteContents(), p4(_, !0, N, P).each(function(R) {
41862
+ return Fo(N, P) === !1 && (S.deleteContents(), mC(_, !0, N, P).each(function(R) {
41922
41863
  b.setRng(R.toRange());
41923
41864
  }), !0);
41924
41865
  }).getOr(!1);
@@ -41932,7 +41873,7 @@ Required: ` + f.join(", "));
41932
41873
  var _ = g.ownerDocument.createRange();
41933
41874
  return _.selectNode(g), _;
41934
41875
  }(f));
41935
- }, h4 = function(u, f, g) {
41876
+ }, gC = function(u, f, g) {
41936
41877
  var _ = kd(1, u.getBody(), f), b = ln.fromRangeStart(_), S = b.getNode();
41937
41878
  if (Ed(S))
41938
41879
  return Qd(1, u, S, !b.isAtEnd(), !1);
@@ -41944,10 +41885,10 @@ Required: ` + f.join(", "));
41944
41885
  });
41945
41886
  return Ed(P) ? Qd(1, u, P, !1, g) : ae.none();
41946
41887
  }, Xm = function(u, f, g) {
41947
- return f.collapsed ? h4(u, f, g).getOr(f) : f;
41888
+ return f.collapsed ? gC(u, f, g).getOr(f) : f;
41948
41889
  }, K6 = function(u) {
41949
41890
  return rp(u) || pg(u);
41950
- }, g4 = function(u) {
41891
+ }, vC = function(u) {
41951
41892
  return ip(u) || mg(u);
41952
41893
  }, ef = function(u, f, g, _, b, S) {
41953
41894
  return Qd(_, u, S.getNode(!b), b, !0).each(function(N) {
@@ -41965,7 +41906,7 @@ Required: ` + f.join(", "));
41965
41906
  var b = g.selection.getRng();
41966
41907
  if (!io(b.commonAncestorContainer))
41967
41908
  return !1;
41968
- var S = _ ? gi.Forwards : gi.Backwards, N = gl(g.getBody()), P = oe(hl, _ ? N.next : N.prev), R = _ ? K6 : g4, j = xc(S, g.getBody(), b), Y = $i(_, P(j));
41909
+ var S = _ ? gi.Forwards : gi.Backwards, N = gl(g.getBody()), P = oe(hl, _ ? N.next : N.prev), R = _ ? K6 : vC, j = xc(S, g.getBody(), b), Y = $i(_, P(j));
41969
41910
  if (!Y || !kc(j, Y))
41970
41911
  return !1;
41971
41912
  if (R(Y))
@@ -42040,7 +41981,7 @@ Required: ` + f.join(", "));
42040
41981
  }(u));
42041
41982
  });
42042
41983
  }, fe);
42043
- }, _4 = function(u, f) {
41984
+ }, _C = function(u, f) {
42044
41985
  var g = u.selection.getNode();
42045
41986
  return !!Vr(g) && U2(u, g.parentNode).filter(Vr).fold(function() {
42046
41987
  var _;
@@ -42054,7 +41995,7 @@ Required: ` + f.join(", "));
42054
41995
  }
42055
41996
  return !0;
42056
41997
  }, z2 = function(u, f) {
42057
- return u.selection.isCollapsed() ? rb(u, f) : _4(u, f);
41998
+ return u.selection.isCollapsed() ? rb(u, f) : _C(u, f);
42058
41999
  }, $0 = function(u, f) {
42059
42000
  return !!u.selection.isCollapsed() && function(g, _) {
42060
42001
  var b = ln.fromRangeStart(g.selection.getRng());
@@ -42066,7 +42007,7 @@ Required: ` + f.join(", "));
42066
42007
  return g.selection.select(S), !0;
42067
42008
  });
42068
42009
  }(u, f);
42069
- }, Zm = io, y4 = function(u) {
42010
+ }, Zm = io, yC = function(u) {
42070
42011
  return Zm(u) && u.data[0] === li;
42071
42012
  }, ab = function(u) {
42072
42013
  return Zm(u) && u.data[u.data.length - 1] === li;
@@ -42077,18 +42018,18 @@ Required: ` + f.join(", "));
42077
42018
  if (Zm(g.previousSibling))
42078
42019
  return ab(g.previousSibling) || g.previousSibling.appendData(li), g.previousSibling;
42079
42020
  if (Zm(g))
42080
- return y4(g) || g.insertData(0, li), g;
42021
+ return yC(g) || g.insertData(0, li), g;
42081
42022
  var _ = Vg(g);
42082
42023
  return g.parentNode.insertBefore(_, g), _;
42083
42024
  }(f) : function(g) {
42084
42025
  if (Zm(g.nextSibling))
42085
- return y4(g.nextSibling) || g.nextSibling.insertData(0, li), g.nextSibling;
42026
+ return yC(g.nextSibling) || g.nextSibling.insertData(0, li), g.nextSibling;
42086
42027
  if (Zm(g))
42087
42028
  return ab(g) || g.appendData(li), g;
42088
42029
  var _ = Vg(g);
42089
42030
  return g.nextSibling ? g.parentNode.insertBefore(_, g.nextSibling) : g.parentNode.appendChild(_), _;
42090
42031
  }(f);
42091
- }, b4 = oe(V0, !0), Zu = oe(V0, !1), sb = function(u, f) {
42032
+ }, bC = oe(V0, !0), Zu = oe(V0, !1), sb = function(u, f) {
42092
42033
  return io(u.container()) ? V0(f, u.container()) : V0(f, u.getNode());
42093
42034
  }, H2 = function(u, f) {
42094
42035
  var g = f.get();
@@ -42096,7 +42037,7 @@ Required: ` + f.join(", "));
42096
42037
  }, lb = function(u, f) {
42097
42038
  return f.fold(function(g) {
42098
42039
  Bi(u.get());
42099
- var _ = b4(g);
42040
+ var _ = bC(g);
42100
42041
  return u.set(_), ae.some(ln(_, _.length - 1));
42101
42042
  }, function(g) {
42102
42043
  return Ta(g).map(function(_) {
@@ -42119,7 +42060,7 @@ Required: ` + f.join(", "));
42119
42060
  var _ = Zu(g);
42120
42061
  return u.set(_), ae.some(ln(_, 1));
42121
42062
  });
42122
- }, w4 = function(u, f) {
42063
+ }, wC = function(u, f) {
42123
42064
  for (var g = 0; g < u.length; g++) {
42124
42065
  var _ = u[g].apply(null, f);
42125
42066
  if (_.isSome())
@@ -42140,17 +42081,17 @@ Required: ` + f.join(", "));
42140
42081
  return hu(u, f) === null;
42141
42082
  }, ub = function(u, f, g) {
42142
42083
  return Zd(u, f, g).filter(oe(Y6, f));
42143
- }, C4 = function(u, f, g) {
42084
+ }, CC = function(u, f, g) {
42144
42085
  var _ = Qy(g);
42145
42086
  return ub(u, f, _).bind(function(b) {
42146
42087
  return _l(b, _).isNone() ? ae.some(ea.start(b)) : ae.none();
42147
42088
  });
42148
- }, E4 = function(u, f, g) {
42089
+ }, EC = function(u, f, g) {
42149
42090
  var _ = B0(g);
42150
42091
  return ub(u, f, _).bind(function(b) {
42151
42092
  return vl(b, _).isNone() ? ae.some(ea.end(b)) : ae.none();
42152
42093
  });
42153
- }, S4 = function(u, f, g) {
42094
+ }, SC = function(u, f, g) {
42154
42095
  var _ = Qy(g), b = tf(f, _.container());
42155
42096
  return Zd(u, b, _).fold(function() {
42156
42097
  return _l(b, _).bind(oe(Zd, u, b)).map(function(S) {
@@ -42160,10 +42101,10 @@ Required: ` + f.join(", "));
42160
42101
  }, j2 = function(u) {
42161
42102
  return j6(cb(u)) === !1;
42162
42103
  }, Vc = function(u, f, g) {
42163
- return w4([nf, C4, E4, S4], [u, f, g]).filter(j2);
42104
+ return wC([nf, CC, EC, SC], [u, f, g]).filter(j2);
42164
42105
  }, cb = function(u) {
42165
42106
  return u.fold(ge, ge, ge, ge);
42166
- }, x4 = function(u) {
42107
+ }, xC = function(u) {
42167
42108
  return u.fold(re("before"), re("start"), re("end"), re("after"));
42168
42109
  }, Hl = function(u) {
42169
42110
  return u.fold(ea.before, ea.before, ea.after, ea.after);
@@ -42178,7 +42119,7 @@ Required: ` + f.join(", "));
42178
42119
  }).getOr(S);
42179
42120
  }, J6 = function(u, f) {
42180
42121
  return u.fold(fe, function(g) {
42181
- return b = f, !(x4(_ = g) === x4(b) && cb(_) === cb(b));
42122
+ return b = f, !(xC(_ = g) === xC(b) && cb(_) === cb(b));
42182
42123
  var _, b;
42183
42124
  });
42184
42125
  }, bi = function(u, f) {
@@ -42200,7 +42141,7 @@ Required: ` + f.join(", "));
42200
42141
  var Qu, fb = function(u, f, g) {
42201
42142
  var _ = u ? 1 : -1;
42202
42143
  return f.setRng(ln(g.container(), g.offset() + _).toRange()), f.getSel().modify("move", u ? "forward" : "backward", "word"), !0;
42203
- }, k4 = function(u, f) {
42144
+ }, kC = function(u, f) {
42204
42145
  var g = f.selection.getRng(), _ = u ? ln.fromRangeEnd(g) : ln.fromRangeStart(g);
42205
42146
  return !!function(b) {
42206
42147
  return Z(b.selection.getSel().modify);
@@ -42229,7 +42170,7 @@ Required: ` + f.join(", "));
42229
42170
  N = b;
42230
42171
  }
42231
42172
  return { positions: F0(f, P), breakType: Qu.Eol, breakAt: ae.none() };
42232
- }, T4 = function(u, f, g, _) {
42173
+ }, TC = function(u, f, g, _) {
42233
42174
  return f(g, _).breakAt.map(function(b) {
42234
42175
  var S = f(g, b).positions;
42235
42176
  return u === gi.Backwards ? S.concat(b) : [b].concat(S);
@@ -42249,7 +42190,7 @@ Required: ` + f.join(", "));
42249
42190
  return Fn(f.getClientRects()).bind(function(g) {
42250
42191
  return G2(u, g.left);
42251
42192
  });
42252
- }, eh = oe(Qm, ln.isAbove, -1), Fg = oe(Qm, ln.isBelow, 1), hb = oe(T4, -1, eh), Q6 = oe(T4, 1, Fg), e8 = function(u) {
42193
+ }, eh = oe(Qm, ln.isAbove, -1), Fg = oe(Qm, ln.isBelow, 1), hb = oe(TC, -1, eh), Q6 = oe(TC, 1, Fg), e8 = function(u) {
42253
42194
  var f = function(_) {
42254
42195
  return Qe(_, function(b) {
42255
42196
  return (b = bc(b)).node = u, b;
@@ -42285,7 +42226,7 @@ Required: ` + f.join(", "));
42285
42226
  if (me(Pe))
42286
42227
  return;
42287
42228
  }(u, _, R, Y), P;
42288
- }, N4 = oe(gb, mp.Up, wc, Lu), I4 = oe(gb, mp.Down, Lu, wc), A4 = function(u) {
42229
+ }, NC = oe(gb, mp.Up, wc, Lu), IC = oe(gb, mp.Down, Lu, wc), AC = function(u) {
42289
42230
  return function(f) {
42290
42231
  return function(g, _) {
42291
42232
  return _.line > g;
@@ -42297,25 +42238,25 @@ Required: ` + f.join(", "));
42297
42238
  return _.line === g;
42298
42239
  }(u, f);
42299
42240
  };
42300
- }, gp = Vr, O4 = xd, _b = function(u, f) {
42241
+ }, gp = Vr, OC = xd, _b = function(u, f) {
42301
42242
  return Math.abs(u.left - f);
42302
42243
  }, yb = function(u, f) {
42303
42244
  return Math.abs(u.right - f);
42304
- }, D4 = function(u, f) {
42245
+ }, DC = function(u, f) {
42305
42246
  return u >= f.left && u <= f.right;
42306
42247
  }, t8 = function(u, f) {
42307
42248
  return u >= f.top && u <= f.bottom;
42308
42249
  }, q2 = function(u, f) {
42309
42250
  return Ke(u, function(g, _) {
42310
42251
  var b = Math.min(_b(g, f), yb(g, f)), S = Math.min(_b(_, f), yb(_, f));
42311
- return D4(f, _) ? _ : D4(f, g) ? g : S === b && gp(_.node) || S < b ? _ : g;
42252
+ return DC(f, _) ? _ : DC(f, g) ? g : S === b && gp(_.node) || S < b ? _ : g;
42312
42253
  });
42313
- }, P4 = function(u, f, g, _, b) {
42314
- var S = O4(_, u, bh, f, !b);
42254
+ }, PC = function(u, f, g, _, b) {
42255
+ var S = OC(_, u, bh, f, !b);
42315
42256
  do
42316
42257
  if (!S || g(S))
42317
42258
  return;
42318
- while (S = O4(S, u, bh, f));
42259
+ while (S = OC(S, u, bh, f));
42319
42260
  }, n8 = function(u, f, g) {
42320
42261
  var _ = El(function(P) {
42321
42262
  return Ue(Dn(P.getElementsByTagName("*")), mu);
@@ -42330,7 +42271,7 @@ Required: ` + f.join(", "));
42330
42271
  });
42331
42272
  return Y = Y.concat(Pe), Pe.length === 0;
42332
42273
  };
42333
- return Y.push(R), P4(mp.Up, P, oe(ne, wc), R.node, j), P4(mp.Down, P, oe(ne, Lu), R.node, j), Y;
42274
+ return Y.push(R), PC(mp.Up, P, oe(ne, wc), R.node, j), PC(mp.Down, P, oe(ne, Lu), R.node, j), Y;
42334
42275
  }(u, S, N), f), S && mu(S.node))
42335
42276
  return function(P, R) {
42336
42277
  return { node: P.node, before: _b(P, R) < yb(P, R) };
@@ -42341,7 +42282,7 @@ Required: ` + f.join(", "));
42341
42282
  u.selection.setRng(f), Qf(u, u.selection.getRng());
42342
42283
  }, bb = function(u, f, g) {
42343
42284
  return ae.some(Xm(u, f, g));
42344
- }, B4 = function(u, f, g, _, b, S) {
42285
+ }, BC = function(u, f, g, _, b, S) {
42345
42286
  var N = f === gi.Forwards, P = gl(u.getBody()), R = oe(hl, N ? P.next : P.prev), j = N ? _ : b;
42346
42287
  if (!g.collapsed) {
42347
42288
  var Y = zh(g);
@@ -42364,7 +42305,7 @@ Required: ` + f.join(", "));
42364
42305
  var N = xc(f, u.getBody(), g), P = pt(N.getClientRects()), R = f === mp.Down;
42365
42306
  if (!P)
42366
42307
  return ae.none();
42367
- var j, Y = (R ? I4 : N4)(u.getBody(), A4(1), N), ne = Ue(Y, vb(1)), ie = P.left, me = q2(ne, ie);
42308
+ var j, Y = (R ? IC : NC)(u.getBody(), AC(1), N), ne = Ue(Y, vb(1)), ie = P.left, me = q2(ne, ie);
42368
42309
  if (me && S(me.node)) {
42369
42310
  var Pe = Math.abs(ie - me.left), je = Math.abs(ie - me.right);
42370
42311
  return Qd(f, u, me.node, Pe < je, !1);
@@ -42384,7 +42325,7 @@ Required: ` + f.join(", "));
42384
42325
  }
42385
42326
  while (hn = bt(hn));
42386
42327
  return Un;
42387
- }(f, u.getBody(), A4(1), j), We = q2(Ue(ke, vb(1)), ie);
42328
+ }(f, u.getBody(), AC(1), j), We = q2(Ue(ke, vb(1)), ie);
42388
42329
  if (We || (We = pt(Ue(ke, vb(0)))))
42389
42330
  return bb(u, We.position.toRange(), !1);
42390
42331
  }
@@ -42426,7 +42367,7 @@ Required: ` + f.join(", "));
42426
42367
  });
42427
42368
  }(u, f, g).isSome();
42428
42369
  }, H0 = function(u, f, g) {
42429
- return !!Lf(f) && k4(u, f);
42370
+ return !!Lf(f) && kC(u, f);
42430
42371
  }, K2 = function(u) {
42431
42372
  var f = ei(null), g = oe(fp, u);
42432
42373
  return u.on("NodeChange", function(_) {
@@ -42447,7 +42388,7 @@ Required: ` + f.join(", "));
42447
42388
  }
42448
42389
  }(g, u, f, _.parents));
42449
42390
  }), f;
42450
- }, R4 = oe(H0, !0), wb = oe(H0, !1), Ug = function(u, f, g) {
42391
+ }, RC = oe(H0, !0), wb = oe(H0, !1), Ug = function(u, f, g) {
42451
42392
  if (Lf(u)) {
42452
42393
  var _ = L0(u, f).getOrThunk(function() {
42453
42394
  var b = u.selection.getRng();
@@ -42511,17 +42452,17 @@ Required: ` + f.join(", "));
42511
42452
  return zg(u, f, g, _);
42512
42453
  }
42513
42454
  return !1;
42514
- }, M4 = function(u) {
42455
+ }, MC = function(u) {
42515
42456
  return Wo(u).length === 1;
42516
- }, $4 = function(u, f, g, _) {
42517
- var b = oe(fC, f), S = Qe(Ue(_, b), function(P) {
42457
+ }, $C = function(u, f, g, _) {
42458
+ var b = oe(f4, f), S = Qe(Ue(_, b), function(P) {
42518
42459
  return P.dom;
42519
42460
  });
42520
42461
  if (S.length === 0)
42521
42462
  ap(f, u, g);
42522
42463
  else {
42523
42464
  var N = function(P, R) {
42524
- var j = Ul(!1), Y = cC(R, j.dom);
42465
+ var j = Ul(!1), Y = c4(R, j.dom);
42525
42466
  return aa(Ft.fromDom(P), j), mi(Ft.fromDom(P)), ln(Y, 0);
42526
42467
  }(g.dom, S);
42527
42468
  f.selection.setRng(N.toRange());
@@ -42532,7 +42473,7 @@ Required: ` + f.join(", "));
42532
42473
  return Kt(P, Zs).fold(re(P), function(R) {
42533
42474
  return P.slice(0, R);
42534
42475
  });
42535
- }(g, _), M4);
42476
+ }(g, _), MC);
42536
42477
  return Gt(b).exists(function(S) {
42537
42478
  var N, P = ln.fromRangeStart(u.selection.getRng());
42538
42479
  return !(!function(R, j, Y) {
@@ -42544,7 +42485,7 @@ Required: ` + f.join(", "));
42544
42485
  return ke.isEqual(me) && j.isEqual(Pe);
42545
42486
  });
42546
42487
  }).getOr(!0);
42547
- }(f, P, S.dom) || (N = S, bl(N.dom) && uC(N.dom))) && ($4(f, u, S, b), !0);
42488
+ }(f, P, S.dom) || (N = S, bl(N.dom) && u4(N.dom))) && ($C(f, u, S, b), !0);
42548
42489
  });
42549
42490
  }, W0 = function(u, f) {
42550
42491
  return !!u.selection.isCollapsed() && Y2(u, f);
@@ -42610,7 +42551,7 @@ Required: ` + f.join(", "));
42610
42551
  return !1;
42611
42552
  }, Q2 = function(u, f) {
42612
42553
  u.getDoc().execCommand(f, !1, null);
42613
- }, V4 = function(u, f) {
42554
+ }, VC = function(u, f) {
42614
42555
  u.addCommand("delete", function() {
42615
42556
  (function(g, _) {
42616
42557
  Z2(g) || z2(g, !1) || ls(g, !1) || j0(g, _, !1) || F2(g, !1) || g0(g) || $0(g, !1) || G0(g, !1) || L2(g) || W0(g, !1) || (Q2(g, "Delete"), eb(g));
@@ -42622,7 +42563,7 @@ Required: ` + f.join(", "));
42622
42563
  });
42623
42564
  }, kb = function(u) {
42624
42565
  return u.touches === void 0 || u.touches.length !== 1 ? ae.none() : ae.some(u.touches[0]);
42625
- }, F4 = function(u) {
42566
+ }, FC = function(u) {
42626
42567
  var f = ei(ae.none()), g = ei(!1), _ = Rh(function(b) {
42627
42568
  u.fire("longpress", ht(ht({}, b), { type: "longpress" })), g.set(!0);
42628
42569
  }, 400);
@@ -42650,9 +42591,9 @@ Required: ` + f.join(", "));
42650
42591
  }, !0);
42651
42592
  }, q0 = function(u, f) {
42652
42593
  return u.hasOwnProperty(f.nodeName);
42653
- }, L4 = function(u, f) {
42594
+ }, LC = function(u, f) {
42654
42595
  return !!io(f) || !!Gn(f) && !q0(u, f) && !$n(f);
42655
- }, U4 = function(u, f) {
42596
+ }, UC = function(u, f) {
42656
42597
  return !!(io(f) && (f.nodeValue.length === 0 || /^\s+$/.test(f.nodeValue) && (!f.nextSibling || q0(u, f.nextSibling))));
42657
42598
  }, Tb = function(u) {
42658
42599
  var f, g, _, b = u.dom, S = u.selection, N = u.schema, P = N.getBlockElements(), R = S.getStart(), j = u.getBody(), Y = ka(u);
@@ -42665,8 +42606,8 @@ Required: ` + f.join(", "));
42665
42606
  }(P, j, R)) {
42666
42607
  var ie = S.getRng(), me = ie.startContainer, Pe = ie.startOffset, je = ie.endContainer, ke = ie.endOffset, We = ct(u);
42667
42608
  for (R = j.firstChild; R; )
42668
- if (L4(P, R)) {
42669
- if (U4(P, R)) {
42609
+ if (LC(P, R)) {
42610
+ if (UC(P, R)) {
42670
42611
  g = R, R = R.nextSibling, b.remove(g);
42671
42612
  continue;
42672
42613
  }
@@ -42707,11 +42648,11 @@ Required: ` + f.join(", "));
42707
42648
  }, e_ = function(u, f) {
42708
42649
  var g = f ? gi.Forwards : gi.Backwards, _ = u.selection.getRng();
42709
42650
  return function(b, S, N) {
42710
- return B4(S, b, N, rp, ip, K0);
42651
+ return BC(S, b, N, rp, ip, K0);
42711
42652
  }(g, u, _).orThunk(function() {
42712
42653
  return Nb(u, g, _), ae.none();
42713
42654
  });
42714
- }, z4 = function(u, f) {
42655
+ }, zC = function(u, f) {
42715
42656
  var g = f ? 1 : -1, _ = u.selection.getRng();
42716
42657
  return function(b, S, N) {
42717
42658
  return Lg(S, b, N, function(P) {
@@ -42727,12 +42668,12 @@ Required: ` + f.join(", "));
42727
42668
  return of(u, g), !0;
42728
42669
  });
42729
42670
  }, Ab = function(u, f) {
42730
- return z4(u, f).exists(function(g) {
42671
+ return zC(u, f).exists(function(g) {
42731
42672
  return of(u, g), !0;
42732
42673
  });
42733
42674
  }, Ob = function(u, f) {
42734
42675
  return vp(u, f, f ? ip : rp);
42735
- }, H4 = function(u) {
42676
+ }, HC = function(u) {
42736
42677
  return Te(["figcaption"], ur(u));
42737
42678
  }, Db = function(u) {
42738
42679
  var f = document.createRange();
@@ -42753,11 +42694,11 @@ Required: ` + f.join(", "));
42753
42694
  }(u.dom, g) : function(_, b) {
42754
42695
  return eh(_, b).breakAt.isNone();
42755
42696
  }(u.dom, g);
42756
- }, j4 = function(u, f) {
42697
+ }, jC = function(u, f) {
42757
42698
  var g = Ft.fromDom(u.getBody()), _ = ln.fromRangeStart(u.selection.getRng()), b = ka(u), S = Zp(u);
42758
42699
  return function(N, P) {
42759
42700
  var R = oe(Fo, P);
42760
- return id(Ft.fromDom(N.container()), Zs, R).filter(H4);
42701
+ return id(Ft.fromDom(N.container()), Zs, R).filter(HC);
42761
42702
  }(_, g).exists(function() {
42762
42703
  if (Pb(g, f, _)) {
42763
42704
  var N = t_(g, b, S, f);
@@ -42766,7 +42707,7 @@ Required: ` + f.join(", "));
42766
42707
  return !1;
42767
42708
  });
42768
42709
  }, n_ = function(u, f) {
42769
- return !!u.selection.isCollapsed() && j4(u, f);
42710
+ return !!u.selection.isCollapsed() && jC(u, f);
42770
42711
  }, o8 = function(u, f) {
42771
42712
  return kn(function(g) {
42772
42713
  return Qe(g, function(_) {
@@ -42787,17 +42728,17 @@ Required: ` + f.join(", "));
42787
42728
  return Ot(o8(u, f), function(g) {
42788
42729
  return g.action();
42789
42730
  });
42790
- }, W4 = function(u, f) {
42731
+ }, WC = function(u, f) {
42791
42732
  var g = f ? gi.Forwards : gi.Backwards, _ = u.selection.getRng();
42792
- return B4(u, g, _, pg, mg, mr).exists(function(b) {
42733
+ return BC(u, g, _, pg, mg, mr).exists(function(b) {
42793
42734
  return of(u, b), !0;
42794
42735
  });
42795
- }, G4 = function(u, f) {
42736
+ }, GC = function(u, f) {
42796
42737
  var g = f ? 1 : -1, _ = u.selection.getRng();
42797
42738
  return Lg(u, g, _, pg, mg, mr).exists(function(b) {
42798
42739
  return of(u, b), !0;
42799
42740
  });
42800
- }, q4 = function(u, f) {
42741
+ }, qC = function(u, f) {
42801
42742
  return vp(u, f, f ? mg : pg);
42802
42743
  }, X0 = function(u, f, g, _, b) {
42803
42744
  var S = da(Ft.fromDom(g), "td,th,caption").map(function(P) {
@@ -42832,7 +42773,7 @@ Required: ` + f.join(", "));
42832
42773
  return u.top;
42833
42774
  }, function(u, f) {
42834
42775
  return u.y > f;
42835
- }), K4 = function(u, f) {
42776
+ }), KC = function(u, f) {
42836
42777
  return Fn(f.getClientRects()).bind(function(g) {
42837
42778
  return o_(u, g.left, g.top);
42838
42779
  }).bind(function(g) {
@@ -42850,7 +42791,7 @@ Required: ` + f.join(", "));
42850
42791
  }).getOr([]), f);
42851
42792
  var _;
42852
42793
  });
42853
- }, Y4 = function(u, f, g) {
42794
+ }, YC = function(u, f, g) {
42854
42795
  var _ = u(f, g);
42855
42796
  return function(b) {
42856
42797
  return b.breakType === Qu.Wrap && b.positions.length === 0;
@@ -42861,7 +42802,7 @@ Required: ` + f.join(", "));
42861
42802
  return b(S, P).breakAt.isSome();
42862
42803
  });
42863
42804
  }(u, f, _) : _.breakAt.isNone();
42864
- }, r8 = oe(Y4, eh), i8 = oe(Y4, Fg), a8 = function(u, f, g, _) {
42805
+ }, r8 = oe(YC, eh), i8 = oe(YC, Fg), a8 = function(u, f, g, _) {
42865
42806
  var b = u.selection.getRng(), S = f ? 1 : -1;
42866
42807
  return !(!H1() || !function(N, P, R) {
42867
42808
  var j = ln.fromRangeStart(P);
@@ -42874,7 +42815,7 @@ Required: ` + f.join(", "));
42874
42815
  }, s8 = function(u, f) {
42875
42816
  var g = f.getNode(u);
42876
42817
  return Gn(g) && g.nodeName === "TABLE" ? ae.some(g) : ae.none();
42877
- }, X4 = function(u, f, g) {
42818
+ }, XC = function(u, f, g) {
42878
42819
  var _ = s8(!!f, g), b = f === !1;
42879
42820
  _.fold(function() {
42880
42821
  return of(u, g.toRange());
@@ -42899,13 +42840,13 @@ Required: ` + f.join(", "));
42899
42840
  var b = u.selection.getRng(), S = ln.fromRangeStart(b), N = u.getBody();
42900
42841
  if (!f && r8(_, S)) {
42901
42842
  var P = function(R, j, Y) {
42902
- return K4(j, Y).orThunk(function() {
42843
+ return KC(j, Y).orThunk(function() {
42903
42844
  return Fn(Y.getClientRects()).bind(function(ne) {
42904
42845
  return G2(hb(R, ln.before(j)), ne.left);
42905
42846
  });
42906
42847
  }).getOr(ln.before(j));
42907
42848
  }(N, g, S);
42908
- return X4(u, f, P), !0;
42849
+ return XC(u, f, P), !0;
42909
42850
  }
42910
42851
  return f && i8(_, S) ? (P = function(R, j, Y) {
42911
42852
  return Rb(j, Y).orThunk(function() {
@@ -42913,7 +42854,7 @@ Required: ` + f.join(", "));
42913
42854
  return G2(Q6(R, ln.after(j)), ne.left);
42914
42855
  });
42915
42856
  }).getOr(ln.after(j));
42916
- }(N, g, S), X4(u, f, P), !0) : !1;
42857
+ }(N, g, S), XC(u, f, P), !0) : !1;
42917
42858
  }, J0 = function(u, f, g) {
42918
42859
  return ae.from(u.dom.getParent(u.selection.getNode(), "td,th")).bind(function(_) {
42919
42860
  return ae.from(u.dom.getParent(_, "table")).map(function(b) {
@@ -42922,13 +42863,13 @@ Required: ` + f.join(", "));
42922
42863
  }).getOr(!1);
42923
42864
  }, Z0 = function(u, f) {
42924
42865
  return J0(u, f, a8);
42925
- }, J4 = function(u, f) {
42866
+ }, JC = function(u, f) {
42926
42867
  return J0(u, f, r_);
42927
42868
  }, l8 = function(u, f) {
42928
42869
  u.on("keydown", function(g) {
42929
42870
  g.isDefaultPrevented() === !1 && function(_, b, S) {
42930
42871
  var N = Wn().os;
42931
- Hg([{ keyCode: vo.RIGHT, action: dr(Ib, _, !0) }, { keyCode: vo.LEFT, action: dr(Ib, _, !1) }, { keyCode: vo.UP, action: dr(Ab, _, !1) }, { keyCode: vo.DOWN, action: dr(Ab, _, !0) }, { keyCode: vo.RIGHT, action: dr(Z0, _, !0) }, { keyCode: vo.LEFT, action: dr(Z0, _, !1) }, { keyCode: vo.UP, action: dr(J4, _, !1) }, { keyCode: vo.DOWN, action: dr(J4, _, !0) }, { keyCode: vo.RIGHT, action: dr(W4, _, !0) }, { keyCode: vo.LEFT, action: dr(W4, _, !1) }, { keyCode: vo.UP, action: dr(G4, _, !1) }, { keyCode: vo.DOWN, action: dr(G4, _, !0) }, { keyCode: vo.RIGHT, action: dr(_p, _, b, !0) }, { keyCode: vo.LEFT, action: dr(_p, _, b, !1) }, { keyCode: vo.RIGHT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(R4, _, b) }, { keyCode: vo.LEFT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(wb, _, b) }, { keyCode: vo.UP, action: dr(n_, _, !1) }, { keyCode: vo.DOWN, action: dr(n_, _, !0) }], S).each(function(P) {
42872
+ Hg([{ keyCode: vo.RIGHT, action: dr(Ib, _, !0) }, { keyCode: vo.LEFT, action: dr(Ib, _, !1) }, { keyCode: vo.UP, action: dr(Ab, _, !1) }, { keyCode: vo.DOWN, action: dr(Ab, _, !0) }, { keyCode: vo.RIGHT, action: dr(Z0, _, !0) }, { keyCode: vo.LEFT, action: dr(Z0, _, !1) }, { keyCode: vo.UP, action: dr(JC, _, !1) }, { keyCode: vo.DOWN, action: dr(JC, _, !0) }, { keyCode: vo.RIGHT, action: dr(WC, _, !0) }, { keyCode: vo.LEFT, action: dr(WC, _, !1) }, { keyCode: vo.UP, action: dr(GC, _, !1) }, { keyCode: vo.DOWN, action: dr(GC, _, !0) }, { keyCode: vo.RIGHT, action: dr(_p, _, b, !0) }, { keyCode: vo.LEFT, action: dr(_p, _, b, !1) }, { keyCode: vo.RIGHT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(RC, _, b) }, { keyCode: vo.LEFT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(wb, _, b) }, { keyCode: vo.UP, action: dr(n_, _, !1) }, { keyCode: vo.DOWN, action: dr(n_, _, !0) }], S).each(function(P) {
42932
42873
  S.preventDefault();
42933
42874
  });
42934
42875
  }(u, f, g);
@@ -42978,7 +42919,7 @@ Required: ` + f.join(", "));
42978
42919
  }
42979
42920
  }, Mb = function(u) {
42980
42921
  return ae.from(u.dom.getParent(u.selection.getStart(!0), u.dom.isBlock));
42981
- }, Z4 = function(u, f) {
42922
+ }, ZC = function(u, f) {
42982
42923
  return u && u.parentNode && u.parentNode.nodeName === f;
42983
42924
  }, Wl = function(u) {
42984
42925
  return u && /^(OL|UL|LI)$/.test(u.nodeName);
@@ -42989,14 +42930,14 @@ Required: ` + f.join(", "));
42989
42930
  for (var _ = u[g ? "firstChild" : "lastChild"]; _ && !Gn(_); )
42990
42931
  _ = _[g ? "nextSibling" : "previousSibling"];
42991
42932
  return _ === f;
42992
- }, Q4 = function(u, f, g, _, b) {
42933
+ }, QC = function(u, f, g, _, b) {
42993
42934
  var S = u.dom, N = u.selection.getRng();
42994
42935
  if (g !== u.getBody()) {
42995
42936
  var P;
42996
42937
  Wl(P = g) && Wl(P.parentNode) && (b = "LI");
42997
42938
  var R = b ? f(b) : S.create("BR");
42998
42939
  if (jg(g, _, !0) && jg(g, _, !1))
42999
- if (Z4(g, "LI")) {
42940
+ if (ZC(g, "LI")) {
43000
42941
  var j = yp(g);
43001
42942
  S.insertAfter(R, j), function(ie) {
43002
42943
  var me;
@@ -43005,7 +42946,7 @@ Required: ` + f.join(", "));
43005
42946
  } else
43006
42947
  S.replace(R, g);
43007
42948
  else if (jg(g, _, !0))
43008
- Z4(g, "LI") ? (S.insertAfter(R, yp(g)), R.appendChild(S.doc.createTextNode(" ")), R.appendChild(g)) : g.parentNode.insertBefore(R, g), S.remove(_);
42949
+ ZC(g, "LI") ? (S.insertAfter(R, yp(g)), R.appendChild(S.doc.createTextNode(" ")), R.appendChild(g)) : g.parentNode.insertBefore(R, g), S.remove(_);
43009
42950
  else if (jg(g, _, !1))
43010
42951
  S.insertAfter(R, yp(g)), S.remove(_);
43011
42952
  else {
@@ -43126,7 +43067,7 @@ Required: ` + f.join(", "));
43126
43067
  return bn;
43127
43068
  }(u, Y, je, _, b)), S = ie.getParent(_, ie.isBlock), R = S ? ie.getParent(S.parentNode, ie.isBlock) : null, j = S ? S.nodeName.toUpperCase() : "";
43128
43069
  var bt = R ? R.nodeName.toUpperCase() : "";
43129
- bt !== "LI" || qe || (S = R, R = R.parentNode, j = bt), /^(LI|DT|DD)$/.test(j) && ie.isEmpty(S) ? Q4(u, ke, R, S, Y) : Y && S === u.getBody() || (Y = Y || "P", Du(S) ? (N = Ef(S), ie.isEmpty(S) && i_(S), ev(u, N), Q0(u, N)) : We() ? we() : We(!0) ? (N = S.parentNode.insertBefore(ke(), S), Q0(u, a_(S, "HR") ? N : S)) : (g = function(Tt) {
43070
+ bt !== "LI" || qe || (S = R, R = R.parentNode, j = bt), /^(LI|DT|DD)$/.test(j) && ie.isEmpty(S) ? QC(u, ke, R, S, Y) : Y && S === u.getBody() || (Y = Y || "P", Du(S) ? (N = Ef(S), ie.isEmpty(S) && i_(S), ev(u, N), Q0(u, N)) : We() ? we() : We(!0) ? (N = S.parentNode.insertBefore(ke(), S), Q0(u, a_(S, "HR") ? N : S)) : (g = function(Tt) {
43130
43071
  var Zt = Tt.cloneRange();
43131
43072
  return Zt.setStart(Tt.startContainer, Fb(!0, Tt.startContainer, Tt.startOffset)), Zt.setEnd(Tt.endContainer, Fb(!1, Tt.endContainer, Tt.endOffset)), Zt;
43132
43073
  }(je).cloneRange(), g.setEndAfter(S), function(Tt) {
@@ -43262,7 +43203,7 @@ Required: ` + f.join(", "));
43262
43203
  };
43263
43204
  }, a3 = function(u, f) {
43264
43205
  (function(g, _) {
43265
- return w4([Ss([f8], Sl.none()), Ss([r3("summary", !0)], Sl.br()), Ss([tv(!0), l_(!1), nv], Sl.br()), Ss([tv(!0), l_(!1)], Sl.block()), Ss([tv(!0), l_(!0), nv], Sl.block()), Ss([tv(!0), l_(!0)], Sl.br()), Ss([Fa(!0), nv], Sl.br()), Ss([Fa(!0)], Sl.block()), Ss([Hb(!0), nv, i3], Sl.block()), Ss([Hb(!0)], Sl.br()), Ss([p8], Sl.br()), Ss([Hb(!1), nv], Sl.br()), Ss([i3], Sl.block())], [g, !(!_ || !_.shiftKey)]).getOr(Sl.none());
43206
+ return wC([Ss([f8], Sl.none()), Ss([r3("summary", !0)], Sl.br()), Ss([tv(!0), l_(!1), nv], Sl.br()), Ss([tv(!0), l_(!1)], Sl.block()), Ss([tv(!0), l_(!0), nv], Sl.block()), Ss([tv(!0), l_(!0)], Sl.br()), Ss([Fa(!0), nv], Sl.br()), Ss([Fa(!0)], Sl.block()), Ss([Hb(!0), nv, i3], Sl.block()), Ss([Hb(!0)], Sl.br()), Ss([p8], Sl.br()), Ss([Hb(!1), nv], Sl.br()), Ss([i3], Sl.block())], [g, !(!_ || !_.shiftKey)]).getOr(Sl.none());
43266
43207
  })(u, f).fold(function() {
43267
43208
  o3(u, f);
43268
43209
  }, function() {
@@ -43280,7 +43221,7 @@ Required: ` + f.join(", "));
43280
43221
  }, Wb = function(u, f) {
43281
43222
  u.on("keydown", function(g) {
43282
43223
  g.isDefaultPrevented() === !1 && function(_, b, S) {
43283
- Hg([{ keyCode: vo.END, action: dr(Ob, _, !0) }, { keyCode: vo.HOME, action: dr(Ob, _, !1) }, { keyCode: vo.END, action: dr(q4, _, !0) }, { keyCode: vo.HOME, action: dr(q4, _, !1) }, { keyCode: vo.END, action: dr(Ug, _, !0, b) }, { keyCode: vo.HOME, action: dr(Ug, _, !1, b) }], S).each(function(N) {
43224
+ Hg([{ keyCode: vo.END, action: dr(Ob, _, !0) }, { keyCode: vo.HOME, action: dr(Ob, _, !1) }, { keyCode: vo.END, action: dr(qC, _, !0) }, { keyCode: vo.HOME, action: dr(qC, _, !1) }, { keyCode: vo.END, action: dr(Ug, _, !0, b) }, { keyCode: vo.HOME, action: dr(Ug, _, !1, b) }], S).each(function(N) {
43284
43225
  S.preventDefault();
43285
43226
  });
43286
43227
  }(u, f, g);
@@ -43640,7 +43581,7 @@ Required: ` + f.join(", "));
43640
43581
  return Qn.ceFalse && !up(u) && function() {
43641
43582
  u.on("mouseup", function(bt) {
43642
43583
  var Tt = ne();
43643
- Tt.collapsed && A0(u, bt.clientX, bt.clientY) && h4(u, Tt, !1).each(Y);
43584
+ Tt.collapsed && A0(u, bt.clientX, bt.clientY) && gC(u, Tt, !1).each(Y);
43644
43585
  }), u.on("click", function(bt) {
43645
43586
  var Tt = c_(u, bt.target);
43646
43587
  Tt && (ah(Tt) && (bt.preventDefault(), u.focus()), g3(Tt) && _.isChildOf(Tt, g.getNode()) && we());
@@ -43993,7 +43934,7 @@ Required: ` + f.join(", "));
43993
43934
  var g = u.settings, _ = u.getElement(), b = u.getDoc();
43994
43935
  g.inline || (u.getElement().style.visibility = u.orgVisibility), f || u.inline || (b.open(), b.write(u.iframeHTML), b.close()), u.inline && (d_.addClass(_, "mce-content-body"), u.contentDocument = b = document, u.contentWindow = window, u.bodyElement = _, u.contentAreaContainer = _);
43995
43936
  var S = u.getBody();
43996
- S.disabled = !0, u.readonly = !!g.readonly, u.readonly || (u.inline && d_.getStyle(S, "position", !0) === "static" && (S.style.position = "relative"), S.contentEditable = u.getParam("content_editable_state", !0)), S.disabled = !1, u.editorUpload = ZC(u), u.schema = Si(g), u.dom = Br(b, { keep_values: !0, url_converter: u.convertURL, url_converter_scope: u, hex_colors: g.force_hex_style_colors, update_styles: !0, root_element: u.inline ? u.getBody() : null, collect: function() {
43937
+ S.disabled = !0, u.readonly = !!g.readonly, u.readonly || (u.inline && d_.getStyle(S, "position", !0) === "static" && (S.style.position = "relative"), S.contentEditable = u.getParam("content_editable_state", !0)), S.disabled = !1, u.editorUpload = Q4(u), u.schema = Si(g), u.dom = Br(b, { keep_values: !0, url_converter: u.convertURL, url_converter_scope: u, hex_colors: g.force_hex_style_colors, update_styles: !0, root_element: u.inline ? u.getBody() : null, collect: function() {
43997
43938
  return u.inline;
43998
43939
  }, schema: u.schema, contentCssCors: Qp(u), referrerPolicy: Wh(u), onSetAttrib: function(P) {
43999
43940
  u.fire("SetAttrib", P);
@@ -44022,14 +43963,14 @@ Required: ` + f.join(", "));
44022
43963
  ie.isEmpty(ne) && ie.getAll("br").length === 0 && (ie.append(new ti("br", 1)).shortEnded = !0);
44023
43964
  }
44024
43965
  }), R;
44025
- }(u), u.serializer = PC(function(P) {
43966
+ }(u), u.serializer = B4(function(P) {
44026
43967
  var R = P.settings;
44027
43968
  return ht(ht({}, v3(P)), Jb({ url_converter: R.url_converter, url_converter_scope: R.url_converter_scope, element_format: R.element_format, entities: R.entities, entity_encoding: R.entity_encoding, indent: R.indent, indent_after: R.indent_after, indent_before: R.indent_before, block_elements: R.block_elements, boolean_attributes: R.boolean_attributes, custom_elements: R.custom_elements, extended_valid_elements: R.extended_valid_elements, invalid_elements: R.invalid_elements, invalid_styles: R.invalid_styles, move_caret_before_on_enter_elements: R.move_caret_before_on_enter_elements, non_empty_elements: R.non_empty_elements, schema: R.schema, self_closing_elements: R.self_closing_elements, short_ended_elements: R.short_ended_elements, special: R.special, text_block_elements: R.text_block_elements, text_inline_elements: R.text_inline_elements, valid_children: R.valid_children, valid_classes: R.valid_classes, valid_elements: R.valid_elements, valid_styles: R.valid_styles, verify_html: R.verify_html, whitespace_elements: R.whitespace_elements }));
44028
- }(u), u), u.selection = AC(u.dom, u.getWin(), u.serializer, u), u.annotator = o0(u), u.formatter = t4(u), u.undoManager = n4(u), u._nodeChangeDispatcher = new v8(u), u._selectionOverrides = C8(u), F4(u), f3(u), up(u) || _8(u);
43969
+ }(u), u), u.selection = O4(u.dom, u.getWin(), u.serializer, u), u.annotator = o0(u), u.formatter = nC(u), u.undoManager = oC(u), u._nodeChangeDispatcher = new v8(u), u._selectionOverrides = C8(u), FC(u), f3(u), up(u) || _8(u);
44029
43970
  var N = function(P) {
44030
43971
  return up(P) ? ei(null) : ih(P);
44031
43972
  }(u);
44032
- V4(u, N), function(P) {
43973
+ VC(u, N), function(P) {
44033
43974
  ka(P) && P.on("NodeChange", oe(Tb, P));
44034
43975
  }(u), H6(u), function(P) {
44035
43976
  P.fire("PreInit");
@@ -44140,7 +44081,7 @@ Required: ` + f.join(", "));
44140
44081
  _.ui = ht(ht({}, _.ui), S);
44141
44082
  })(u, ae.from(f.api).getOr({}));
44142
44083
  var g = { editorContainer: f.editorContainer, iframeContainer: f.iframeContainer };
44143
- return u.editorContainer = g.editorContainer ? g.editorContainer : null, XC(u), u.inline ? Qb(u) : function(_, b) {
44084
+ return u.editorContainer = g.editorContainer ? g.editorContainer : null, J4(u), u.inline ? Qb(u) : function(_, b) {
44144
44085
  var S = N8(_, b);
44145
44086
  b.editorContainer && (rv.get(b.editorContainer).style.display = _.orgDisplay, _.hidden = rv.isHidden(b.editorContainer)), _.getElement().style.display = "none", rv.setAttrib(_.id, "aria-hidden", "true"), S || Qb(_);
44146
44087
  }(u, g);
@@ -45059,7 +45000,7 @@ Required: ` + f.join(", "));
45059
45000
  }, u.prototype.setContent = function(f, g) {
45060
45001
  return A2(this, f, g);
45061
45002
  }, u.prototype.getContent = function(f) {
45062
- return BC(this, f);
45003
+ return R4(this, f);
45063
45004
  }, u.prototype.insertContent = function(f, g) {
45064
45005
  g && (f = pw({ content: f }, g)), this.execCommand("mceInsertContent", !1, f);
45065
45006
  }, u.prototype.resetContent = function(f) {
@@ -45091,9 +45032,9 @@ Required: ` + f.join(", "));
45091
45032
  }, u.prototype.addVisual = function(f) {
45092
45033
  O8(this, f);
45093
45034
  }, u.prototype.remove = function() {
45094
- RC(this);
45035
+ M4(this);
45095
45036
  }, u.prototype.destroy = function(f) {
45096
- MC(this, f);
45037
+ $4(this, f);
45097
45038
  }, u.prototype.uploadImages = function(f) {
45098
45039
  return this.editorUpload.uploadImages(f);
45099
45040
  }, u.prototype._scanForImages = function() {
@@ -45488,7 +45429,7 @@ Required: ` + f.join(", "));
45488
45429
  return { upload: function(_, b) {
45489
45430
  return b === void 0 && (b = !0), g.upload(_, b ? P0(u) : void 0);
45490
45431
  } };
45491
- } }, dom: { EventUtils: kf, Sizzle: kr, DomQuery: To, TreeWalker: Ai, TextSeeker: Ji, DOMUtils: Br, ScriptLoader: cl, RangeUtils: Bc, Serializer: PC, StyleSheetLoader: _h, ControlSelection: Pc, BookmarkManager: Yf, Selection: AC, Event: kf.Event }, html: { Styles: iu, Entities: Ol, Node: ti, Schema: Si, SaxParser: Gd, DomParser: cp, Writer: Z_, Serializer: fg }, Env: Qn, AddOnManager: Ea, Annotator: o0, Formatter: t4, UndoManager: n4, EditorCommands: T3, WindowManager: Ky, NotificationManager: Mg, EditorObservable: O3, Shortcuts: lh, Editor: __, FocusManager: A, EditorManager: xp, DOM: Br.DOM, ScriptLoader: cl.ScriptLoader, PluginManager: zr, ThemeManager: dp, IconManager: Bg, Resource: ta, trim: un.trim, isArray: un.isArray, is: un.is, toArray: un.toArray, makeMap: un.makeMap, each: un.each, map: un.map, grep: un.grep, inArray: un.inArray, extend: un.extend, create: un.create, walk: un.walk, createNS: un.createNS, resolve: un.resolve, explode: un.explode, _addCacheSuffix: un._addCacheSuffix, isOpera: Qn.opera, isWebKit: Qn.webkit, isIE: Qn.ie, isGecko: Qn.gecko, isMac: Qn.mac }, z3 = un.extend(xp, W8);
45432
+ } }, dom: { EventUtils: kf, Sizzle: kr, DomQuery: To, TreeWalker: Ai, TextSeeker: Ji, DOMUtils: Br, ScriptLoader: cl, RangeUtils: Bc, Serializer: B4, StyleSheetLoader: _h, ControlSelection: Pc, BookmarkManager: Yf, Selection: O4, Event: kf.Event }, html: { Styles: iu, Entities: Ol, Node: ti, Schema: Si, SaxParser: Gd, DomParser: cp, Writer: Z_, Serializer: fg }, Env: Qn, AddOnManager: Ea, Annotator: o0, Formatter: nC, UndoManager: oC, EditorCommands: T3, WindowManager: Ky, NotificationManager: Mg, EditorObservable: O3, Shortcuts: lh, Editor: __, FocusManager: A, EditorManager: xp, DOM: Br.DOM, ScriptLoader: cl.ScriptLoader, PluginManager: zr, ThemeManager: dp, IconManager: Bg, Resource: ta, trim: un.trim, isArray: un.isArray, is: un.is, toArray: un.toArray, makeMap: un.makeMap, each: un.each, map: un.map, grep: un.grep, inArray: un.inArray, extend: un.extend, create: un.create, walk: un.walk, createNS: un.createNS, resolve: un.resolve, explode: un.explode, _addCacheSuffix: un._addCacheSuffix, isOpera: Qn.opera, isWebKit: Qn.webkit, isIE: Qn.ie, isGecko: Qn.gecko, isMac: Qn.mac }, z3 = un.extend(xp, W8);
45492
45433
  (function(u) {
45493
45434
  window.tinymce = u, window.tinyMCE = u;
45494
45435
  })(z3), function(u) {
@@ -49795,9 +49736,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
49795
49736
  });
49796
49737
  }, bg = function(c) {
49797
49738
  return bs(c, "[data-mce-autocompleter]");
49798
- }, eC = function(c) {
49739
+ }, e4 = function(c) {
49799
49740
  return c.toString().replace(/\u00A0/g, " ").replace(/\uFEFF/g, "");
49800
- }, tC = function(c) {
49741
+ }, t4 = function(c) {
49801
49742
  return c !== "" && `  \f
49802
49743
  \r \v`.indexOf(c) !== -1;
49803
49744
  }, hy = function(c, m) {
@@ -49813,7 +49754,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49813
49754
  var te;
49814
49755
  for (te = z - 1; te >= 0; te--) {
49815
49756
  var ve = H.charAt(te);
49816
- if (tC(ve))
49757
+ if (t4(ve))
49817
49758
  return $.none();
49818
49759
  if (ve === Q)
49819
49760
  break;
@@ -49824,7 +49765,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49824
49765
  var B = m.cloneRange();
49825
49766
  if (B.setStart(I.container, I.offset), B.setEnd(m.endContainer, m.endOffset), B.collapsed)
49826
49767
  return $.none();
49827
- var F = eC(B);
49768
+ var F = e4(B);
49828
49769
  return F.lastIndexOf(y) !== 0 || hy(F, y).length < C ? $.none() : $.some({ text: hy(F, y), range: B, triggerChar: y });
49829
49770
  });
49830
49771
  }, v0 = function(c, m, y, C) {
@@ -49833,10 +49774,10 @@ Components: ` + JSON.stringify(m.components, null, 2));
49833
49774
  }, function(T) {
49834
49775
  var I = c.createRng();
49835
49776
  I.selectNode(T.dom);
49836
- var B = eC(I);
49777
+ var B = e4(I);
49837
49778
  return $.some({ range: I, text: hy(B, y), triggerChar: y });
49838
49779
  });
49839
- }, nC = function(c, m) {
49780
+ }, n4 = function(c, m) {
49840
49781
  m.on("keypress compositionend", c.onKeypress.throttle), m.on("remove", c.onKeypress.cancel);
49841
49782
  var y = function(C, T) {
49842
49783
  ho(C, ac(), { raw: T });
@@ -49864,20 +49805,20 @@ Components: ` + JSON.stringify(m.components, null, 2));
49864
49805
  return gy(c, c.data.length);
49865
49806
  var m = c.childNodes;
49866
49807
  return m.length > 0 ? u2(m[m.length - 1]) : gy(c, m.length);
49867
- }, oC = function(c, m) {
49808
+ }, o4 = function(c, m) {
49868
49809
  var y = c.childNodes;
49869
- return y.length > 0 && m < y.length ? oC(y[m], 0) : y.length > 0 && function(C) {
49810
+ return y.length > 0 && m < y.length ? o4(y[m], 0) : y.length > 0 && function(C) {
49870
49811
  return C.nodeType === 1;
49871
49812
  }(c) && y.length === m ? u2(y[y.length - 1]) : gy(c, m);
49872
49813
  }, y6 = function(c) {
49873
49814
  return function(m) {
49874
- var y = oC(m.startContainer, m.startOffset);
49815
+ var y = o4(m.startContainer, m.startOffset);
49875
49816
  return !function(C, T) {
49876
49817
  return g0(C, T.container, T.offset, function(I, B) {
49877
49818
  return B === 0 ? -1 : B;
49878
49819
  }, C.getRoot()).filter(function(I) {
49879
49820
  var B = I.container.data.charAt(I.offset - 1);
49880
- return !tC(B);
49821
+ return !t4(B);
49881
49822
  }).isSome();
49882
49823
  }(c, y);
49883
49824
  };
@@ -49888,9 +49829,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
49888
49829
  return v0(T, I, F);
49889
49830
  });
49890
49831
  }(c.dom, C, y).bind(function(T) {
49891
- return rC(c, m, T);
49832
+ return r4(c, m, T);
49892
49833
  });
49893
- }, rC = function(c, m, y, C) {
49834
+ }, r4 = function(c, m, y, C) {
49894
49835
  C === void 0 && (C = {});
49895
49836
  var T = m(), I = c.selection.getRng().startContainer.nodeValue, B = Te(T.lookupByChar(y.triggerChar), function(H) {
49896
49837
  return y.text.length >= H.minChars && H.matches.getOrThunk(function() {
@@ -49907,13 +49848,13 @@ Components: ` + JSON.stringify(m.components, null, 2));
49907
49848
  return $.some({ lookupData: F, context: y });
49908
49849
  }, c2 = Bt([ro("type"), Wo("text")]), _y = Bt([Vt("type", "autocompleteitem"), Vt("active", !1), Vt("disabled", !1), Vt("meta", {}), ro("value"), Wo("text"), Wo("icon")]), b6 = Bt([ro("type"), ro("ch"), Su("minChars", 1), Vt("columns", 1), Su("maxResults", 10), Oa("matches"), Hr("fetch"), Hr("onAction"), oc("highlightOn", [], Fo)]), y0 = [Xr("disabled", !1), Wo("tooltip"), Wo("icon"), Wo("text"), Ar("onSetup", function() {
49909
49850
  return x;
49910
- })], iC = Bt([ro("type"), Hr("onAction")].concat(y0)), d2 = function(c) {
49911
- return gr("toolbarbutton", iC, c);
49912
- }, b0 = [Xr("active", !1)].concat(y0), aC = Bt(b0.concat([ro("type"), Hr("onAction")])), f2 = function(c) {
49913
- return gr("ToggleButton", aC, c);
49914
- }, yy = [Ar("predicate", W), ga("scope", "node", ["node", "editor"]), ga("position", "selection", ["node", "selection", "line"])], sC = y0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), $c = b0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), by = y0.concat([Vt("type", "contextformbutton")]), w6 = b0.concat([Vt("type", "contextformtogglebutton")]), C6 = Ft("type", { contextformbutton: sC, contextformtogglebutton: $c }), wg = Bt([Vt("type", "contextform"), Ar("initValue", function() {
49851
+ })], i4 = Bt([ro("type"), Hr("onAction")].concat(y0)), d2 = function(c) {
49852
+ return gr("toolbarbutton", i4, c);
49853
+ }, b0 = [Xr("active", !1)].concat(y0), a4 = Bt(b0.concat([ro("type"), Hr("onAction")])), f2 = function(c) {
49854
+ return gr("ToggleButton", a4, c);
49855
+ }, yy = [Ar("predicate", W), ga("scope", "node", ["node", "editor"]), ga("position", "selection", ["node", "selection", "line"])], s4 = y0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), $c = b0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), by = y0.concat([Vt("type", "contextformbutton")]), w6 = b0.concat([Vt("type", "contextformtogglebutton")]), C6 = Ft("type", { contextformbutton: s4, contextformtogglebutton: $c }), wg = Bt([Vt("type", "contextform"), Ar("initValue", function() {
49915
49856
  return "";
49916
- }), Wo("label"), ii("commands", C6), ds("launch", Ft("type", { contextformbutton: by, contextformtogglebutton: w6 }))].concat(yy)), lC = Bt([Vt("type", "contexttoolbar"), ro("items")].concat(yy)), uC = function(c) {
49857
+ }), Wo("label"), ii("commands", C6), ds("launch", Ft("type", { contextformbutton: by, contextformtogglebutton: w6 }))].concat(yy)), l4 = Bt([Vt("type", "contexttoolbar"), ro("items")].concat(yy)), u4 = function(c) {
49917
49858
  var m = c.ui.registry.getAll().popups, y = Ye(m, function(I) {
49918
49859
  return (B = I, gr("Autocompleter", b6, B)).fold(function(F) {
49919
49860
  throw new Error(un(F));
@@ -49938,8 +49879,8 @@ Components: ` + JSON.stringify(m.components, null, 2));
49938
49879
  (function(c) {
49939
49880
  c[c.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", c[c.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
49940
49881
  })(py || (py = {}));
49941
- var Ws, Ul = py, w0 = "tox-menu-nav__js", C0 = "tox-collection__item", p2 = "tox-swatch", cC = { normal: w0, color: p2 }, dC = "tox-collection__item--enabled", wy = "tox-collection__item-label", fC = "tox-collection__item-caret", lp = "tox-collection__item--active", Cy = "tox-collection__item-container", Ey = "tox-collection__item-container--row", m2 = function(c) {
49942
- return wt(cC, c).getOr(w0);
49882
+ var Ws, Ul = py, w0 = "tox-menu-nav__js", C0 = "tox-collection__item", p2 = "tox-swatch", c4 = { normal: w0, color: p2 }, d4 = "tox-collection__item--enabled", wy = "tox-collection__item-label", f4 = "tox-collection__item-caret", lp = "tox-collection__item--active", Cy = "tox-collection__item-container", Ey = "tox-collection__item-container--row", m2 = function(c) {
49883
+ return wt(c4, c).getOr(w0);
49943
49884
  }, Sy = function(c) {
49944
49885
  return c === "color" ? "tox-swatches" : "tox-menu";
49945
49886
  }, h2 = function(c) {
@@ -49947,7 +49888,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49947
49888
  }, zm = function(c) {
49948
49889
  var m = h2(c);
49949
49890
  return { backgroundMenu: m.backgroundMenu, selectedMenu: m.selectedMenu, menu: m.menu, selectedItem: m.selectedItem, item: m2(c) };
49950
- }, pC = function(c, m, y) {
49891
+ }, p4 = function(c, m, y) {
49951
49892
  var C = h2(y);
49952
49893
  return { tag: "div", classes: Ue([[C.menu, "tox-menu-" + m + "-column"], c ? [C.hasIcons] : []]) };
49953
49894
  }, xy = [Kd.parts.items({})], E0 = function(c, m, y) {
@@ -49979,7 +49920,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49979
49920
  });
49980
49921
  }, Cl = function(c) {
49981
49922
  return console.error(un(c)), $.none();
49982
- }, mC = function(c, m, y, C, T) {
49923
+ }, m4 = function(c, m, y, C, T) {
49983
49924
  var I, B = (I = y, { dom: { tag: "div", classes: ["tox-collection", "tox-collection--horizontal"] }, components: [Kd.parts.items({ preprocess: function(F) {
49984
49925
  return Cg(F, function(H, z) {
49985
49926
  return I[z].type === "separator";
@@ -49995,16 +49936,16 @@ Components: ` + JSON.stringify(m.components, null, 2));
49995
49936
  }
49996
49937
  return T === "normal" && C === "auto" ? { value: c, dom: (I = ky(C, y)).dom, components: I.components, items: y } : T === "normal" && C === 1 ? { value: c, dom: (I = ky(1, y)).dom, components: I.components, items: y } : T === "normal" ? { value: c, dom: (I = ky(C, y)).dom, components: I.components, items: y } : T === "listpreview" && C !== "auto" ? (I = function(B) {
49997
49938
  return { dom: { tag: "div", classes: ["tox-menu", "tox-collection", "tox-collection--toolbar", "tox-collection--toolbar-lg"] }, components: [Kd.parts.items({ preprocess: g2({ tag: "div", classes: ["tox-collection__group"] }, B) })] };
49998
- }(C), { value: c, dom: I.dom, components: I.components, items: y }) : { value: c, dom: pC(m, C, T), components: xy, items: y };
49999
- }, hC = [ro("type"), ro("src"), Wo("alt"), oc("classes", [], Fo)], Ty = Bt(hC), gC = [ro("type"), ro("text"), Wo("name"), oc("classes", ["tox-collection__item-label"], Fo)], _2 = Bt(gC), Ny = mf(function() {
49939
+ }(C), { value: c, dom: I.dom, components: I.components, items: y }) : { value: c, dom: p4(m, C, T), components: xy, items: y };
49940
+ }, h4 = [ro("type"), ro("src"), Wo("alt"), oc("classes", [], Fo)], Ty = Bt(h4), g4 = [ro("type"), ro("text"), Wo("name"), oc("classes", ["tox-collection__item-label"], Fo)], _2 = Bt(g4), Ny = mf(function() {
50000
49941
  return Is("type", { cardimage: Ty, cardtext: _2, cardcontainer: Hm });
50001
49942
  }), Hm = Bt([ro("type"), As("direction", "horizontal"), As("align", "left"), As("valign", "middle"), ii("items", Ny)]), Sg = [Xr("disabled", !1), Wo("text"), Wo("shortcut"), mo("value", "value", gn(function() {
50002
49943
  return uo("menuitem-value");
50003
- }), ra()), Vt("meta", {})], vC = Bt([ro("type"), Wo("label"), ii("items", Ny), Ar("onSetup", function() {
49944
+ }), ra()), Vt("meta", {})], _4 = Bt([ro("type"), Wo("label"), ii("items", Ny), Ar("onSetup", function() {
50004
49945
  return x;
50005
- }), Ar("onAction", x)].concat(Sg)), _C = Bt([ro("type"), Xr("active", !1), Wo("icon")].concat(Sg)), E6 = Bt([ro("type"), Ys("fancytype", ["inserttable", "colorswatch"]), Ar("onAction", x)]), Xu = Bt([ro("type"), Ar("onSetup", function() {
49946
+ }), Ar("onAction", x)].concat(Sg)), y4 = Bt([ro("type"), Xr("active", !1), Wo("icon")].concat(Sg)), E6 = Bt([ro("type"), Ys("fancytype", ["inserttable", "colorswatch"]), Ar("onAction", x)]), Xu = Bt([ro("type"), Ar("onSetup", function() {
50006
49947
  return x;
50007
- }), Ar("onAction", x), Wo("icon")].concat(Sg)), yC = Bt([ro("type"), Hr("getSubmenuItems"), Ar("onSetup", function() {
49948
+ }), Ar("onAction", x), Wo("icon")].concat(Sg)), b4 = Bt([ro("type"), Hr("getSubmenuItems"), Ar("onSetup", function() {
50008
49949
  return x;
50009
49950
  }), Wo("icon")].concat(Sg)), Iy = Bt([ro("type"), Wo("icon"), Xr("active", !1), Ar("onSetup", function() {
50010
49951
  return x;
@@ -50022,9 +49963,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50022
49963
  return zn([Xo(c, m)]);
50023
49964
  }, y2 = function(c) {
50024
49965
  return S6(uo("unnamed-events"), c);
50025
- }, b2 = uo("tooltip.exclusive"), jm = uo("tooltip.show"), xg = uo("tooltip.hide"), bC = function(c, m, y) {
49966
+ }, b2 = uo("tooltip.exclusive"), jm = uo("tooltip.show"), xg = uo("tooltip.hide"), w4 = function(c, m, y) {
50026
49967
  c.getSystem().broadcastOn([b2], {});
50027
- }, wC = Object.freeze({ __proto__: null, hideAllExclusive: bC, setComponents: function(c, m, y, C) {
49968
+ }, C4 = Object.freeze({ __proto__: null, hideAllExclusive: w4, setComponents: function(c, m, y, C) {
50028
49969
  y.getTooltip().each(function(T) {
50029
49970
  T.getSystem().isConnected() && Do.set(T, C);
50030
49971
  });
@@ -50038,7 +49979,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50038
49979
  m.resetTimer(function() {
50039
49980
  (function(T) {
50040
49981
  if (!m.isShowing()) {
50041
- bC(T);
49982
+ w4(T);
50042
49983
  var I = c.lazySink(T).getOrDie(), B = T.getSystem().build({ dom: c.tooltipDom, components: c.tooltipComponents, events: Ir(c.mode === "normal" ? [xn(Tu(), function(F) {
50043
49984
  ko(T, jm);
50044
49985
  }), xn(u1(), function(F) {
@@ -50070,9 +50011,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50070
50011
  }), xn(Bs(), function(C) {
50071
50012
  ko(C, xg);
50072
50013
  })]]));
50073
- } }), CC = [mn("lazySink"), mn("tooltipDom"), Vt("exclusive", !0), Vt("tooltipComponents", []), Vt("delay", 300), ga("mode", "normal", ["normal", "follow-highlight"]), Vt("anchor", function(c) {
50014
+ } }), E4 = [mn("lazySink"), mn("tooltipDom"), Vt("exclusive", !0), Vt("tooltipComponents", []), Vt("delay", 300), ga("mode", "normal", ["normal", "follow-highlight"]), Vt("anchor", function(c) {
50074
50015
  return { anchor: "hotspot", hotspot: c, layouts: { onLtr: O([Ji, $a, ki, di, Xi, fa]), onRtl: O([Ji, $a, ki, di, Xi, fa]) } };
50075
- }), Zo("onHide"), Zo("onShow")], EC = Object.freeze({ __proto__: null, init: function() {
50016
+ }), Zo("onHide"), Zo("onShow")], S4 = Object.freeze({ __proto__: null, init: function() {
50076
50017
  var c = Rn($.none()), m = Rn($.none()), y = function() {
50077
50018
  c.get().each(function(T) {
50078
50019
  clearTimeout(T);
@@ -50091,11 +50032,11 @@ Components: ` + JSON.stringify(m.components, null, 2));
50091
50032
  T();
50092
50033
  }, I)));
50093
50034
  }, readState: C });
50094
- } }), Oy = qr({ fields: CC, name: "tooltipping", active: x6, state: EC, apis: wC }), S0 = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), zl = tinymce.util.Tools.resolve("tinymce.util.I18n"), k6 = ["input", "button", "textarea", "select"], SC = function(c, m, y) {
50035
+ } }), Oy = qr({ fields: E4, name: "tooltipping", active: x6, state: S4, apis: C4 }), S0 = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), zl = tinymce.util.Tools.resolve("tinymce.util.I18n"), k6 = ["input", "button", "textarea", "select"], x4 = function(c, m, y) {
50095
50036
  (m.disabled() ? kg : w2)(c, m);
50096
50037
  }, Dy = function(c, m) {
50097
50038
  return m.useNative === !0 && de(k6, Ms(c.element));
50098
- }, xC = function(c) {
50039
+ }, k4 = function(c) {
50099
50040
  cr(c.element, "disabled", "disabled");
50100
50041
  }, T6 = function(c) {
50101
50042
  gs(c.element, "disabled");
@@ -50106,26 +50047,26 @@ Components: ` + JSON.stringify(m.components, null, 2));
50106
50047
  }, kg = function(c, m, y) {
50107
50048
  m.disableClass.each(function(C) {
50108
50049
  Di(c.element, C);
50109
- }), (Dy(c, m) ? xC : N6)(c), m.onDisabled(c);
50050
+ }), (Dy(c, m) ? k4 : N6)(c), m.onDisabled(c);
50110
50051
  }, w2 = function(c, m, y) {
50111
50052
  m.disableClass.each(function(C) {
50112
50053
  Zr(c.element, C);
50113
50054
  }), (Dy(c, m) ? T6 : I6)(c), m.onEnabled(c);
50114
- }, kC = function(c, m) {
50055
+ }, T4 = function(c, m) {
50115
50056
  return Dy(c, m) ? function(y) {
50116
50057
  return Ch(y.element, "disabled");
50117
50058
  }(c) : function(y) {
50118
50059
  return Yi(y.element, "aria-disabled") === "true";
50119
50060
  }(c);
50120
- }, TC = Object.freeze({ __proto__: null, enable: w2, disable: kg, isDisabled: kC, onLoad: SC, set: function(c, m, y, C) {
50061
+ }, N4 = Object.freeze({ __proto__: null, enable: w2, disable: kg, isDisabled: T4, onLoad: x4, set: function(c, m, y, C) {
50121
50062
  (C ? kg : w2)(c, m);
50122
50063
  } }), A6 = Object.freeze({ __proto__: null, exhibit: function(c, m) {
50123
50064
  return ol({ classes: m.disabled() ? m.disableClass.toArray() : [] });
50124
50065
  }, events: function(c, m) {
50125
50066
  return Ir([Ai(ya(), function(y, C) {
50126
- return kC(y, c);
50127
- }), _d(c, m, SC)]);
50128
- } }), O6 = [Ar("disabled", W), Vt("useNative", !0), jo("disableClass"), Zo("onDisabled"), Zo("onEnabled")], _o = qr({ fields: O6, name: "disabling", active: A6, apis: TC }), Py = tinymce.util.Tools.resolve("tinymce.EditorManager"), C2 = function(c) {
50067
+ return T4(y, c);
50068
+ }), _d(c, m, x4)]);
50069
+ } }), O6 = [Ar("disabled", W), Vt("useNative", !0), jo("disableClass"), Zo("onDisabled"), Zo("onEnabled")], _o = qr({ fields: O6, name: "disabling", active: A6, apis: N4 }), Py = tinymce.util.Tools.resolve("tinymce.EditorManager"), C2 = function(c) {
50129
50070
  return c.getParam("height", Math.max(c.getElement().offsetHeight, 200));
50130
50071
  }, E2 = function(c) {
50131
50072
  return c.getParam("width", S0.DOM.getStyle(c.getElement(), "width"));
@@ -50163,9 +50104,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50163
50104
  (function(c) {
50164
50105
  c.auto = "auto", c.top = "top", c.bottom = "bottom";
50165
50106
  })(Jd || (Jd = {}));
50166
- var NC, Ry, My = function(c) {
50107
+ var I4, Ry, My = function(c) {
50167
50108
  return c.getParam("toolbar_location", Jd.auto, "string");
50168
- }, IC = function(c) {
50109
+ }, A4 = function(c) {
50169
50110
  return My(c) === Jd.bottom;
50170
50111
  }, $y = function(c) {
50171
50112
  if (!c.inline)
@@ -50189,7 +50130,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50189
50130
  return c.inline && !S2(c) && !x2(c) && !k2(c);
50190
50131
  }, I0 = function(c) {
50191
50132
  return (c.getParam("toolbar_sticky", !1, "boolean") || c.inline) && !N0(c) && !Vy(c);
50192
- }, AC = function(c) {
50133
+ }, O4 = function(c) {
50193
50134
  var m = c.getParam("menu");
50194
50135
  return m ? Ye(m, function(y) {
50195
50136
  return J(J({}, y), { items: y.items });
@@ -50200,7 +50141,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50200
50141
  return c.getParam("anchor_top", "#top");
50201
50142
  }, Fy = function(c) {
50202
50143
  return c.getParam("anchor_bottom", "#bottom");
50203
- }, T2 = "silver.readonly", OC = Bt([(NC = "readonly", wr(NC, Xc))]), Ng = function(c, m) {
50144
+ }, T2 = "silver.readonly", D4 = Bt([(I4 = "readonly", wr(I4, Xc))]), Ng = function(c, m) {
50204
50145
  var y = c.outerContainer.element;
50205
50146
  m && (c.mothership.broadcastOn([Wu()], { target: y }), c.uiMothership.broadcastOn([Wu()], { target: y })), c.mothership.broadcastOn([T2], { readonly: m }), c.uiMothership.broadcastOn([T2], { readonly: m });
50206
50147
  }, N2 = function(c, m) {
@@ -50213,7 +50154,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50213
50154
  }(c) && c.setMode("readonly");
50214
50155
  }, Mi = function() {
50215
50156
  var c;
50216
- return os.config({ channels: (c = {}, c[T2] = { schema: OC, onReceive: function(m, y) {
50157
+ return os.config({ channels: (c = {}, c[T2] = { schema: D4, onReceive: function(m, y) {
50217
50158
  _o.set(m, y.readonly);
50218
50159
  } }, c) });
50219
50160
  }, B6 = function(c) {
@@ -50240,7 +50181,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50240
50181
  return Qs(function(y) {
50241
50182
  return I2(c, y)(m.get());
50242
50183
  });
50243
- }, DC = function(c, m) {
50184
+ }, P4 = function(c, m) {
50244
50185
  return li(function(y, C) {
50245
50186
  I2(c, y)(c.onAction), c.triggersSubmenu || m !== Ul.CLOSE_ON_EXECUTE || (y.getSystem().isConnected() && ko(y, hf()), C.stop());
50246
50187
  });
@@ -50250,7 +50191,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50250
50191
  });
50251
50192
  }, Og = function(c, m, y, C) {
50252
50193
  var T = Rn(x);
50253
- return { type: "item", dom: m.dom, components: cp(m.optComponents), data: c.data, eventOrder: R6, hasSubmenu: c.triggersSubmenu, itemBehaviours: zn([Xo("item-events", [DC(c, y), Ig(c, T), Ag(c, T)]), B6(function() {
50194
+ return { type: "item", dom: m.dom, components: cp(m.optComponents), data: c.data, eventOrder: R6, hasSubmenu: c.triggersSubmenu, itemBehaviours: zn([Xo("item-events", [P4(c, y), Ig(c, T), Ag(c, T)]), B6(function() {
50254
50195
  return c.disabled || C.isDisabled();
50255
50196
  }), Mi(), Do.config({})].concat(c.itemBehaviours)) };
50256
50197
  }, Dg = function(c) {
@@ -50261,9 +50202,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50261
50202
  return Ut(m, I) ? m[I] : T;
50262
50203
  });
50263
50204
  return Uy.mac ? C.join("") : C.join("+");
50264
- }, PC = function(c) {
50205
+ }, B4 = function(c) {
50265
50206
  return { dom: { tag: "div", classes: ["tox-collection__item-icon"], innerHtml: c } };
50266
- }, BC = function(c) {
50207
+ }, R4 = function(c) {
50267
50208
  return { dom: { tag: "div", classes: [wy] }, components: [qa(zl.translate(c))] };
50268
50209
  }, A2 = function(c, m) {
50269
50210
  return { dom: { tag: "div", classes: m, innerHtml: c } };
@@ -50271,17 +50212,17 @@ Components: ` + JSON.stringify(m.components, null, 2));
50271
50212
  return { dom: { tag: "div", classes: [wy] }, components: [{ dom: { tag: c.tag, styles: c.styles }, components: [qa(zl.translate(m))] }] };
50272
50213
  }, D2 = function(c) {
50273
50214
  return { dom: { tag: "div", classes: ["tox-collection__item-accessory"], innerHtml: M6(c) } };
50274
- }, RC = function(c) {
50215
+ }, M4 = function(c) {
50275
50216
  return { dom: { tag: "div", classes: ["tox-collection__item-checkmark"], innerHtml: Es("checkmark", c) } };
50276
- }, MC = function(c, m) {
50217
+ }, $4 = function(c, m) {
50277
50218
  var y = m.map(function(C) {
50278
50219
  return { attributes: { title: zl.translate(C) } };
50279
50220
  }).getOr({});
50280
50221
  return J({ tag: "div", classes: [w0, C0].concat(c ? ["tox-collection__item-icon-rtl"] : []) }, y);
50281
- }, $6 = ["list-num-default", "list-num-lower-alpha", "list-num-lower-greek", "list-num-lower-roman", "list-num-upper-alpha", "list-num-upper-roman"], $C = ["list-bull-circle", "list-bull-default", "list-bull-square"], qm = function(c, m, y, C) {
50222
+ }, $6 = ["list-num-default", "list-num-lower-alpha", "list-num-lower-greek", "list-num-lower-roman", "list-num-upper-alpha", "list-num-upper-roman"], V4 = ["list-bull-circle", "list-bull-default", "list-bull-square"], qm = function(c, m, y, C) {
50282
50223
  C === void 0 && (C = $.none());
50283
50224
  var T, I = zl.isRtl() && c.iconContent.exists(function(H) {
50284
- return de($C, H);
50225
+ return de(V4, H);
50285
50226
  }), B = (T = c.iconContent, T.map(function(H) {
50286
50227
  return zl.isRtl() && de($6, H) ? H + "-rtl" : H;
50287
50228
  })).map(function(H) {
@@ -50291,9 +50232,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50291
50232
  });
50292
50233
  }(H, m.icons, C);
50293
50234
  }), F = $.from(c.meta).fold(function() {
50294
- return BC;
50235
+ return R4;
50295
50236
  }, function(H) {
50296
- return Ut(H, "style") ? L(O2, H.style) : BC;
50237
+ return Ut(H, "style") ? L(O2, H.style) : R4;
50297
50238
  });
50298
50239
  return c.presets === "color" ? function(H, z, Q, te) {
50299
50240
  var ve, De, Fe, it;
@@ -50301,14 +50242,14 @@ Components: ` + JSON.stringify(m.components, null, 2));
50301
50242
  return { title: te.translate(Ve) };
50302
50243
  }).getOr({}), it = { tag: "div", attributes: Fe, classes: [ve] }, J(J({}, it), z === "custom" ? { tag: "button", classes: re(it.classes, ["tox-swatches__picker-btn"]), innerHtml: De } : z === "remove" ? { classes: re(it.classes, ["tox-swatch--remove"]), innerHtml: De } : { attributes: J(J({}, it.attributes), { "data-mce-color": z }), styles: { "background-color": z } })), optComponents: [] };
50303
50244
  }(c.ariaLabel, c.value, B, m) : function(H, z, Q, te, ve) {
50304
- var De = Q ? z.or($.some("")).map(PC) : $.none(), Fe = H.checkMark, it = H.htmlContent.fold(function() {
50245
+ var De = Q ? z.or($.some("")).map(B4) : $.none(), Fe = H.checkMark, it = H.htmlContent.fold(function() {
50305
50246
  return H.textContent.map(te);
50306
50247
  }, function(Ve) {
50307
50248
  return $.some(A2(Ve, [wy]));
50308
50249
  });
50309
- return { dom: MC(ve, H.ariaLabel), optComponents: [De, it, H.shortcutContent.map(D2), Fe, H.caret] };
50250
+ return { dom: $4(ve, H.ariaLabel), optComponents: [De, it, H.shortcutContent.map(D2), Fe, H.caret] };
50310
50251
  }(c, B, y, F, I);
50311
- }, VC = function(c, m) {
50252
+ }, F4 = function(c, m) {
50312
50253
  return wt(c, "tooltipWorker").map(function(y) {
50313
50254
  return [Oy.config({ lazySink: m.getSink, tooltipDom: { tag: "div", classes: ["tox-tooltip-worker-container"] }, tooltipComponents: [], anchor: function(C) {
50314
50255
  return { anchor: "submenu", item: C, overrides: { maxHeightFunction: bd } };
@@ -50331,7 +50272,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50331
50272
  });
50332
50273
  }
50333
50274
  return y;
50334
- }, FC = function(c, m) {
50275
+ }, L4 = function(c, m) {
50335
50276
  return Ee(c, function(y) {
50336
50277
  switch (y.type) {
50337
50278
  case "cardcontainer":
@@ -50347,7 +50288,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50347
50288
  return "tox-collection__item-container--valign-bottom";
50348
50289
  }
50349
50290
  }()] }, components: B };
50350
- }(y, FC(y.items, m));
50291
+ }(y, L4(y.items, m));
50351
50292
  case "cardimage":
50352
50293
  return function(I, B, F) {
50353
50294
  return { dom: { tag: "img", classes: B, attributes: { src: I, alt: F.getOr("") } } };
@@ -50359,17 +50300,17 @@ Components: ` + JSON.stringify(m.components, null, 2));
50359
50300
  return A2(zy(y.text, T), y.classes);
50360
50301
  }
50361
50302
  });
50362
- }, LC = Dc(m0(), ly()), Hy = function(c) {
50303
+ }, U4 = Dc(m0(), ly()), Hy = function(c) {
50363
50304
  return { value: c };
50364
- }, Pg = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, UC = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, P2 = function(c) {
50365
- return Pg.test(c) || UC.test(c);
50366
- }, zC = function(c) {
50305
+ }, Pg = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, z4 = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, P2 = function(c) {
50306
+ return Pg.test(c) || z4.test(c);
50307
+ }, H4 = function(c) {
50367
50308
  var m = function(C) {
50368
50309
  var T = C.value.replace(Pg, function(I, B, F, H) {
50369
50310
  return B + B + F + F + H + H;
50370
50311
  });
50371
50312
  return { value: T };
50372
- }(c), y = UC.exec(m.value);
50313
+ }(c), y = z4.exec(m.value);
50373
50314
  return y === null ? ["FFFFFF", "FF", "FF", "FF"] : y;
50374
50315
  }, jy = function(c) {
50375
50316
  var m = c.toString(16);
@@ -50377,14 +50318,14 @@ Components: ` + JSON.stringify(m.components, null, 2));
50377
50318
  }, Wy = function(c) {
50378
50319
  var m = jy(c.red) + jy(c.green) + jy(c.blue);
50379
50320
  return Hy(m);
50380
- }, HC = Math.min, jC = Math.max, B2 = Math.round, V6 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, Km = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Ym = function(c, m, y, C) {
50321
+ }, j4 = Math.min, W4 = Math.max, B2 = Math.round, V6 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, Km = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Ym = function(c, m, y, C) {
50381
50322
  return { red: c, green: m, blue: y, alpha: C };
50382
50323
  }, Bg = function(c) {
50383
50324
  var m = parseInt(c, 10);
50384
50325
  return m.toString() === c && m >= 0 && m <= 255;
50385
50326
  }, Gy = function(c) {
50386
50327
  var m, y, C, T = (c.hue || 0) % 360, I = c.saturation / 100, B = c.value / 100;
50387
- if (I = jC(0, HC(I, 1)), B = jC(0, HC(B, 1)), I === 0)
50328
+ if (I = W4(0, j4(I, 1)), B = W4(0, j4(B, 1)), I === 0)
50388
50329
  return m = y = C = B2(255 * B), Ym(m, y, C, 1);
50389
50330
  var F = T / 60, H = B * I, z = H * (1 - Math.abs(F % 2 - 1)), Q = B - H;
50390
50331
  switch (Math.floor(F)) {
@@ -50411,25 +50352,25 @@ Components: ` + JSON.stringify(m.components, null, 2));
50411
50352
  }
50412
50353
  return m = B2(255 * (m + Q)), y = B2(255 * (y + Q)), C = B2(255 * (C + Q)), Ym(m, y, C, 1);
50413
50354
  }, Rg = function(c) {
50414
- var m = zC(c), y = parseInt(m[1], 16), C = parseInt(m[2], 16), T = parseInt(m[3], 16);
50355
+ var m = H4(c), y = parseInt(m[1], 16), C = parseInt(m[2], 16), T = parseInt(m[3], 16);
50415
50356
  return Ym(y, C, T, 1);
50416
- }, WC = function(c, m, y, C) {
50357
+ }, G4 = function(c, m, y, C) {
50417
50358
  var T = parseInt(c, 10), I = parseInt(m, 10), B = parseInt(y, 10), F = parseFloat(C);
50418
50359
  return Ym(T, I, B, F);
50419
- }, GC = function(c) {
50360
+ }, q4 = function(c) {
50420
50361
  return "rgba(" + c.red + "," + c.green + "," + c.blue + "," + c.alpha + ")";
50421
- }, qC = Ym(255, 0, 0, 1), qy = function(c, m) {
50362
+ }, K4 = Ym(255, 0, 0, 1), qy = function(c, m) {
50422
50363
  return c.fire("ResizeContent", m);
50423
- }, A0 = tinymce.util.Tools.resolve("tinymce.util.LocalStorage"), KC = "tinymce-custom-colors", Mg, zr = "choiceitem", dp = [{ type: zr, text: "Light Green", value: "#BFEDD2" }, { type: zr, text: "Light Yellow", value: "#FBEEB8" }, { type: zr, text: "Light Red", value: "#F8CAC6" }, { type: zr, text: "Light Purple", value: "#ECCAFA" }, { type: zr, text: "Light Blue", value: "#C2E0F4" }, { type: zr, text: "Green", value: "#2DC26B" }, { type: zr, text: "Yellow", value: "#F1C40F" }, { type: zr, text: "Red", value: "#E03E2D" }, { type: zr, text: "Purple", value: "#B96AD9" }, { type: zr, text: "Blue", value: "#3598DB" }, { type: zr, text: "Dark Turquoise", value: "#169179" }, { type: zr, text: "Orange", value: "#E67E23" }, { type: zr, text: "Dark Red", value: "#BA372A" }, { type: zr, text: "Dark Purple", value: "#843FA1" }, { type: zr, text: "Dark Blue", value: "#236FA1" }, { type: zr, text: "Light Gray", value: "#ECF0F1" }, { type: zr, text: "Medium Gray", value: "#CED4D9" }, { type: zr, text: "Gray", value: "#95A5A6" }, { type: zr, text: "Dark Gray", value: "#7E8C8D" }, { type: zr, text: "Navy Blue", value: "#34495E" }, { type: zr, text: "Black", value: "#000000" }, { type: zr, text: "White", value: "#ffffff" }], Ky = function(c) {
50364
+ }, A0 = tinymce.util.Tools.resolve("tinymce.util.LocalStorage"), Y4 = "tinymce-custom-colors", Mg, zr = "choiceitem", dp = [{ type: zr, text: "Light Green", value: "#BFEDD2" }, { type: zr, text: "Light Yellow", value: "#FBEEB8" }, { type: zr, text: "Light Red", value: "#F8CAC6" }, { type: zr, text: "Light Purple", value: "#ECCAFA" }, { type: zr, text: "Light Blue", value: "#C2E0F4" }, { type: zr, text: "Green", value: "#2DC26B" }, { type: zr, text: "Yellow", value: "#F1C40F" }, { type: zr, text: "Red", value: "#E03E2D" }, { type: zr, text: "Purple", value: "#B96AD9" }, { type: zr, text: "Blue", value: "#3598DB" }, { type: zr, text: "Dark Turquoise", value: "#169179" }, { type: zr, text: "Orange", value: "#E67E23" }, { type: zr, text: "Dark Red", value: "#BA372A" }, { type: zr, text: "Dark Purple", value: "#843FA1" }, { type: zr, text: "Dark Blue", value: "#236FA1" }, { type: zr, text: "Light Gray", value: "#ECF0F1" }, { type: zr, text: "Medium Gray", value: "#CED4D9" }, { type: zr, text: "Gray", value: "#95A5A6" }, { type: zr, text: "Dark Gray", value: "#7E8C8D" }, { type: zr, text: "Navy Blue", value: "#34495E" }, { type: zr, text: "Black", value: "#000000" }, { type: zr, text: "White", value: "#ffffff" }], Ky = function(c) {
50424
50365
  c === void 0 && (c = 10);
50425
- var m, y = A0.getItem(KC), C = r(y) ? JSON.parse(y) : [], T = c - (m = C).length < 0 ? m.slice(0, c) : m, I = function(B) {
50366
+ var m, y = A0.getItem(Y4), C = r(y) ? JSON.parse(y) : [], T = c - (m = C).length < 0 ? m.slice(0, c) : m, I = function(B) {
50426
50367
  T.splice(B, 1);
50427
50368
  };
50428
50369
  return { add: function(B) {
50429
50370
  (function(F, H) {
50430
50371
  var z = pe(F, H);
50431
50372
  return z === -1 ? $.none() : $.some(z);
50432
- })(T, B).each(I), T.unshift(B), T.length > c && T.pop(), A0.setItem(KC, JSON.stringify(T));
50373
+ })(T, B).each(I), T.unshift(B), T.length > c && T.pop(), A0.setItem(Y4, JSON.stringify(T));
50433
50374
  }, state: function() {
50434
50375
  return T.slice(0);
50435
50376
  } };
@@ -50465,7 +50406,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50465
50406
  return y.getParam("color_cols", C, "number");
50466
50407
  }(c, m);
50467
50408
  }, O0 = function(c, m, y, C) {
50468
- y === "custom" ? JC(c)(function(T) {
50409
+ y === "custom" ? Z4(c)(function(T) {
50469
50410
  T.each(function(I) {
50470
50411
  R2(I), c.execCommand("mceApplyTextcolor", m, I), C(I);
50471
50412
  });
@@ -50477,14 +50418,14 @@ Components: ` + JSON.stringify(m.components, null, 2));
50477
50418
  var C = "choiceitem", T = { type: C, text: "Remove color", icon: "color-swatch-remove-color", value: "remove" };
50478
50419
  return y ? [T, { type: C, text: "Custom color", icon: "color-picker", value: "custom" }] : [T];
50479
50420
  }(m)));
50480
- }, YC = function(c, m) {
50421
+ }, X4 = function(c, m) {
50481
50422
  return function(y) {
50482
50423
  y(D0(c, m));
50483
50424
  };
50484
50425
  }, Xy = function(c, m, y) {
50485
50426
  var C = m === "forecolor" ? "tox-icon-text-color__color" : "tox-icon-highlight-bg-color__color";
50486
50427
  c.setIconFill(C, y);
50487
- }, XC = function(c, m, y, C, T) {
50428
+ }, J4 = function(c, m, y, C, T) {
50488
50429
  c.ui.registry.addSplitButton(m, { tooltip: C, presets: "color", icon: m === "forecolor" ? "text-color" : "highlight-bg-color", select: function(I) {
50489
50430
  var B = $.from(function(F, H) {
50490
50431
  var z;
@@ -50499,15 +50440,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50499
50440
  return $.some(Ym(0, 0, 0, 0));
50500
50441
  var z = V6.exec(H);
50501
50442
  if (z !== null)
50502
- return $.some(WC(z[1], z[2], z[3], "1"));
50443
+ return $.some(G4(z[1], z[2], z[3], "1"));
50503
50444
  var Q = Km.exec(H);
50504
- return Q !== null ? $.some(WC(Q[1], Q[2], Q[3], Q[4])) : $.none();
50445
+ return Q !== null ? $.some(G4(Q[1], Q[2], Q[3], Q[4])) : $.none();
50505
50446
  }(F).map(function(H) {
50506
50447
  var z = Wy(H).value;
50507
50448
  return rt(I.toLowerCase(), z);
50508
50449
  });
50509
50450
  }).getOr(!1);
50510
- }, columns: M2(c), fetch: YC($g(c), Yy(c)), onAction: function(I) {
50451
+ }, columns: M2(c), fetch: X4($g(c), Yy(c)), onAction: function(I) {
50511
50452
  T.get() !== null && O0(c, y, T.get(), x);
50512
50453
  }, onItemAction: function(I, B) {
50513
50454
  O0(c, y, B, function(F) {
@@ -50530,7 +50471,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50530
50471
  O0(c, y, T.value, x);
50531
50472
  } }];
50532
50473
  } });
50533
- }, JC = function(c) {
50474
+ }, Z4 = function(c) {
50534
50475
  return function(m, y) {
50535
50476
  var C = !1, T = { colorpicker: y };
50536
50477
  c.windowManager.open({ title: "Color Picker", size: "normal", body: { type: "panel", items: [{ type: "colorpicker", name: "colorpicker", label: "Color" }] }, buttons: [{ type: "cancel", name: "cancel", text: "Cancel" }, { type: "submit", name: "save", text: "Save", primary: !0 }], initialData: T, onAction: function(I, B) {
@@ -50547,10 +50488,10 @@ Components: ` + JSON.stringify(m.components, null, 2));
50547
50488
  return v2(c, H, z, C, T);
50548
50489
  }, F6 = function(c, m, y, C, T, I, B) {
50549
50490
  return vo(Ee(c, function(F) {
50550
- return F.type === "choiceitem" ? (H = F, gr("choicemenuitem", _C, H)).fold(Cl, function(z) {
50491
+ return F.type === "choiceitem" ? (H = F, gr("choicemenuitem", y4, H)).fold(Cl, function(z) {
50551
50492
  return $.some(function(Q, te, ve, De, Fe, it, Ve, ft) {
50552
50493
  ft === void 0 && (ft = !0);
50553
- var He = qm({ presets: ve, textContent: te ? Q.text : $.none(), htmlContent: $.none(), ariaLabel: Q.text, iconContent: Q.icon, shortcutContent: te ? Q.shortcut : $.none(), checkMark: te ? $.some(RC(Ve.icons)) : $.none(), caret: $.none(), value: Q.value }, Ve, ft);
50494
+ var He = qm({ presets: ve, textContent: te ? Q.text : $.none(), htmlContent: $.none(), ariaLabel: Q.text, iconContent: Q.icon, shortcutContent: te ? Q.shortcut : $.none(), checkMark: te ? $.some(M4(Ve.icons)) : $.none(), caret: $.none(), value: Q.value }, Ve, ft);
50554
50495
  return Ae(Og({ data: Dg(Q), disabled: Q.disabled, getApi: function(et) {
50555
50496
  return { setActive: function(Nt) {
50556
50497
  rr.set(et, Nt);
@@ -50565,7 +50506,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50565
50506
  return De(Q.value);
50566
50507
  }, onSetup: function(et) {
50567
50508
  return et.setActive(Fe), x;
50568
- }, triggersSubmenu: !1, itemBehaviours: [] }, He, it, Ve), { toggling: { toggleClass: dC, toggleOnExecute: !1, selected: Q.active } });
50509
+ }, triggersSubmenu: !1, itemBehaviours: [] }, He, it, Ve), { toggling: { toggleClass: d4, toggleOnExecute: !1, selected: Q.active } });
50569
50510
  }(z, y === 1, C, m, I(F.value), T, B, Eg(c)));
50570
50511
  }) : $.none();
50571
50512
  var H;
@@ -50573,9 +50514,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50573
50514
  }, P0 = function(c, m) {
50574
50515
  var y = zm(m);
50575
50516
  return c === 1 ? { mode: "menu", moveOnTab: !0 } : c === "auto" ? { mode: "grid", selector: "." + y.item, initSize: { numColumns: 1, numRows: 1 } } : { mode: "matrix", rowSelector: "." + (m === "color" ? "tox-swatches__row" : "tox-collection__group") };
50576
- }, Zy = uo("cell-over"), ZC = uo("cell-execute"), L6 = function(c, m, y) {
50517
+ }, Zy = uo("cell-over"), Q4 = uo("cell-execute"), L6 = function(c, m, y) {
50577
50518
  var C, T = function(B) {
50578
- return ho(B, ZC, { row: c, col: m });
50519
+ return ho(B, Q4, { row: c, col: m });
50579
50520
  }, I = function(B, F) {
50580
50521
  F.stop(), T(B);
50581
50522
  };
@@ -50588,7 +50529,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50588
50529
  });
50589
50530
  }, ss = function(c, m) {
50590
50531
  return qa(m + 1 + "x" + (c + 1));
50591
- }, QC = { inserttable: function(c) {
50532
+ }, eC = { inserttable: function(c) {
50592
50533
  var m = uo("size-label"), y = function(T, I, B) {
50593
50534
  for (var F = [], H = 0; H < I; H++) {
50594
50535
  for (var z = [], Q = 0; Q < B; Q++)
@@ -50597,21 +50538,21 @@ Components: ` + JSON.stringify(m.components, null, 2));
50597
50538
  }
50598
50539
  return F;
50599
50540
  }(m, 10, 10), C = _r({ dom: { tag: "span", classes: ["tox-insert-table-picker__label"], attributes: { id: m } }, components: [qa("0x0")], behaviours: zn([Do.config({})]) });
50600
- return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [LC.widget({ dom: { tag: "div", classes: ["tox-insert-table-picker"] }, components: V2(y).concat(C.asSpec()), behaviours: zn([Xo("insert-table-picker", [bf(Zy, function(T, I, B) {
50541
+ return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [U4.widget({ dom: { tag: "div", classes: ["tox-insert-table-picker"] }, components: V2(y).concat(C.asSpec()), behaviours: zn([Xo("insert-table-picker", [bf(Zy, function(T, I, B) {
50601
50542
  var F = B.event.row, H = B.event.col;
50602
50543
  (function(z, Q, te, ve, De) {
50603
50544
  for (var Fe = 0; Fe < ve; Fe++)
50604
50545
  for (var it = 0; it < De; it++)
50605
50546
  rr.set(z[Fe][it], Fe <= Q && it <= te);
50606
50547
  })(y, F, H, 10, 10), Do.set(C.get(T), [ss(F, H)]);
50607
- }), bf(ZC, function(T, I, B) {
50548
+ }), bf(Q4, function(T, I, B) {
50608
50549
  c.onAction({ numRows: B.event.row + 1, numColumns: B.event.col + 1 }), ko(T, hf());
50609
50550
  })]), bo.config({ initSize: { numRows: 10, numColumns: 10 }, mode: "flatgrid", selector: '[role="button"]' })]) })] };
50610
50551
  }, colorswatch: function(c, m) {
50611
50552
  var y = D0(m.colorinput.getColors(), m.colorinput.hasCustomColors()), C = m.colorinput.getColorCols(), T = "color", I = $2(uo("menu-value"), y, function(F) {
50612
50553
  c.onAction({ value: F });
50613
50554
  }, C, T, Ul.CLOSE_ON_EXECUTE, W, m.shared.providers), B = J(J({}, I), { markers: zm(T), movement: P0(C, T) });
50614
- return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [LC.widget(Kd.sketch(B))] };
50555
+ return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [U4.widget(Kd.sketch(B))] };
50615
50556
  } }, U6 = function(c, m, y, C, T, I, B, F) {
50616
50557
  F === void 0 && (F = !0);
50617
50558
  var H = qm({ presets: C, textContent: $.none(), htmlContent: y ? c.text.map(function(z) {
@@ -50619,15 +50560,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50619
50560
  }) : $.none(), ariaLabel: c.text, iconContent: c.icon, shortcutContent: $.none(), checkMark: $.none(), caret: $.none(), value: c.value }, B.providers, F, c.icon);
50620
50561
  return Og({ data: Dg(c), disabled: c.disabled, getApi: O({}), onAction: function(z) {
50621
50562
  return T(c.value, c.meta);
50622
- }, onSetup: O(x), triggersSubmenu: !1, itemBehaviours: VC(c.meta, B) }, H, I, B.providers);
50623
- }, e4 = function(c) {
50563
+ }, onSetup: O(x), triggersSubmenu: !1, itemBehaviours: F4(c.meta, B) }, H, I, B.providers);
50564
+ }, tC = function(c) {
50624
50565
  var m = c.text.fold(function() {
50625
50566
  return {};
50626
50567
  }, function(y) {
50627
50568
  return { innerHtml: y };
50628
50569
  });
50629
50570
  return { type: "separator", dom: J({ tag: "div", classes: [C0, "tox-collection__group-heading"] }, m), components: [] };
50630
- }, t4 = function(c, m, y, C) {
50571
+ }, nC = function(c, m, y, C) {
50631
50572
  C === void 0 && (C = !0);
50632
50573
  var T = qm({ presets: "normal", iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, caret: $.none(), checkMark: $.none(), shortcutContent: c.shortcut }, y, C);
50633
50574
  return Og({ data: Dg(c), getApi: function(I) {
@@ -50637,10 +50578,10 @@ Components: ` + JSON.stringify(m.components, null, 2));
50637
50578
  return _o.set(I, B);
50638
50579
  } };
50639
50580
  }, disabled: c.disabled, onAction: c.onAction, onSetup: c.onSetup, triggersSubmenu: !1, itemBehaviours: [] }, T, m, y);
50640
- }, n4 = function(c, m, y, C, T) {
50581
+ }, oC = function(c, m, y, C, T) {
50641
50582
  C === void 0 && (C = !0), T === void 0 && (T = !1);
50642
- var I, B = T ? (I = y.icons, { dom: { tag: "div", classes: [fC], innerHtml: Es("chevron-down", I) } }) : function(H) {
50643
- return { dom: { tag: "div", classes: [fC], innerHtml: Es("chevron-right", H) } };
50583
+ var I, B = T ? (I = y.icons, { dom: { tag: "div", classes: [f4], innerHtml: Es("chevron-down", I) } }) : function(H) {
50584
+ return { dom: { tag: "div", classes: [f4], innerHtml: Es("chevron-right", H) } };
50644
50585
  }(y.icons), F = qm({ presets: "normal", iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, caret: $.some(B), checkMark: $.none(), shortcutContent: c.shortcut }, y, C);
50645
50586
  return Og({ data: Dg(c), getApi: function(H) {
50646
50587
  return { isDisabled: function() {
@@ -50651,7 +50592,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50651
50592
  }, disabled: c.disabled, onAction: x, onSetup: c.onSetup, triggersSubmenu: !0, itemBehaviours: [] }, F, m, y);
50652
50593
  }, z6 = function(c, m, y, C) {
50653
50594
  C === void 0 && (C = !0);
50654
- var T = qm({ iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, checkMark: $.some(RC(y.icons)), caret: $.none(), shortcutContent: c.shortcut, presets: "normal", meta: c.meta }, y, C);
50595
+ var T = qm({ iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, checkMark: $.some(M4(y.icons)), caret: $.none(), shortcutContent: c.shortcut, presets: "normal", meta: c.meta }, y, C);
50655
50596
  return Ae(Og({ data: Dg(c), disabled: c.disabled, getApi: function(I) {
50656
50597
  return { setActive: function(B) {
50657
50598
  rr.set(I, B);
@@ -50662,15 +50603,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50662
50603
  }, setDisabled: function(B) {
50663
50604
  return _o.set(I, B);
50664
50605
  } };
50665
- }, onAction: c.onAction, onSetup: c.onSetup, triggersSubmenu: !1, itemBehaviours: [] }, T, m, y), { toggling: { toggleClass: dC, toggleOnExecute: !1, selected: c.active } });
50666
- }, o4 = function(c, m) {
50606
+ }, onAction: c.onAction, onSetup: c.onSetup, triggersSubmenu: !1, itemBehaviours: [] }, T, m, y), { toggling: { toggleClass: d4, toggleOnExecute: !1, selected: c.active } });
50607
+ }, rC = function(c, m) {
50667
50608
  return function(y, C) {
50668
50609
  return Object.prototype.hasOwnProperty.call(y, C) ? $.some(y[C]) : $.none();
50669
- }(QC, c.fancytype).map(function(y) {
50610
+ }(eC, c.fancytype).map(function(y) {
50670
50611
  return y(c, m);
50671
50612
  });
50672
- }, r4 = function(c, m, y, C) {
50673
- var T = { dom: MC(!1, c.label), optComponents: [$.some({ dom: { tag: "div", classes: [Cy, Ey] }, components: FC(c.items, C) })] };
50613
+ }, iC = function(c, m, y, C) {
50614
+ var T = { dom: $4(!1, c.label), optComponents: [$.some({ dom: { tag: "div", classes: [Cy, Ey] }, components: L4(c.items, C) })] };
50674
50615
  return Og({ data: Dg(J({ text: $.none() }, c)), disabled: c.disabled, getApi: function(I) {
50675
50616
  return { isDisabled: function() {
50676
50617
  return _o.isDisabled(I);
@@ -50686,20 +50627,20 @@ Components: ` + JSON.stringify(m.components, null, 2));
50686
50627
  (function(c) {
50687
50628
  c[c.ContentFocus = 0] = "ContentFocus", c[c.UiFocus = 1] = "UiFocus";
50688
50629
  })(Mg || (Mg = {}));
50689
- var i4 = function(c, m, y, C, T) {
50630
+ var aC = function(c, m, y, C, T) {
50690
50631
  var I, B = y.shared.providers, F = function(H) {
50691
50632
  return T ? J(J({}, H), { shortcut: $.none(), icon: H.text.isSome() ? $.none() : H.icon }) : H;
50692
50633
  };
50693
50634
  switch (c.type) {
50694
50635
  case "menuitem":
50695
50636
  return (I = c, gr("menuitem", Xu, I)).fold(Cl, function(H) {
50696
- return $.some(t4(F(H), m, B, C));
50637
+ return $.some(nC(F(H), m, B, C));
50697
50638
  });
50698
50639
  case "nestedmenuitem":
50699
50640
  return function(H) {
50700
- return gr("nestedmenuitem", yC, H);
50641
+ return gr("nestedmenuitem", b4, H);
50701
50642
  }(c).fold(Cl, function(H) {
50702
- return $.some(n4(F(H), m, B, C, T));
50643
+ return $.some(oC(F(H), m, B, C, T));
50703
50644
  });
50704
50645
  case "togglemenuitem":
50705
50646
  return function(H) {
@@ -50711,13 +50652,13 @@ Components: ` + JSON.stringify(m.components, null, 2));
50711
50652
  return function(H) {
50712
50653
  return gr("separatormenuitem", c2, H);
50713
50654
  }(c).fold(Cl, function(H) {
50714
- return $.some(e4(H));
50655
+ return $.some(tC(H));
50715
50656
  });
50716
50657
  case "fancymenuitem":
50717
50658
  return function(H) {
50718
50659
  return gr("fancymenuitem", E6, H);
50719
50660
  }(c).fold(Cl, function(H) {
50720
- return o4(F(H), y);
50661
+ return rC(F(H), y);
50721
50662
  });
50722
50663
  default:
50723
50664
  return console.error("Unknown item in general menu", c), $.none();
@@ -50728,15 +50669,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50728
50669
  switch (z.type) {
50729
50670
  case "separator":
50730
50671
  return (Q = z, gr("Autocompleter.Separator", c2, Q)).fold(Cl, function(te) {
50731
- return $.some(e4(te));
50672
+ return $.some(tC(te));
50732
50673
  });
50733
50674
  case "cardmenuitem":
50734
50675
  return function(te) {
50735
- return gr("cardmenuitem", vC, te);
50676
+ return gr("cardmenuitem", _4, te);
50736
50677
  }(z).fold(Cl, function(te) {
50737
- return $.some(r4(J(J({}, te), { onAction: function(ve) {
50678
+ return $.some(iC(J(J({}, te), { onAction: function(ve) {
50738
50679
  te.onAction(ve), y(te.value, te.meta);
50739
- } }), T, I, { itemBehaviours: VC(te.meta, I), cardText: { matchText: m, highlightOn: B } }));
50680
+ } }), T, I, { itemBehaviours: F4(te.meta, I), cardText: { matchText: m, highlightOn: B } }));
50740
50681
  });
50741
50682
  default:
50742
50683
  return function(te) {
@@ -50747,16 +50688,16 @@ Components: ` + JSON.stringify(m.components, null, 2));
50747
50688
  }
50748
50689
  var Q;
50749
50690
  }));
50750
- }, a4 = function(c, m, y, C, T) {
50691
+ }, sC = function(c, m, y, C, T) {
50751
50692
  var I = Eg(m), B = vo(Ee(m, function(F) {
50752
50693
  var H = function(z) {
50753
- return i4(z, y, C, function(Q) {
50694
+ return aC(z, y, C, function(Q) {
50754
50695
  return T ? !Q.hasOwnProperty("text") : I;
50755
50696
  }(z), T);
50756
50697
  };
50757
50698
  return F.type === "nestedmenuitem" && F.getSubmenuItems().length <= 0 ? H(J(J({}, F), { disabled: !0 })) : H(F);
50758
50699
  }));
50759
- return (T ? mC : v2)(c, I, B, 1, "normal");
50700
+ return (T ? m4 : v2)(c, I, B, 1, "normal");
50760
50701
  }, fp = function(c) {
50761
50702
  return Yd.singleData(c.value, c);
50762
50703
  }, j6 = function(c, m) {
@@ -50774,7 +50715,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50774
50715
  bg(De.getOr(Kn.fromDom(c.selection.getNode()))).each(h1), B(), y.set($.none()), C.set(!1);
50775
50716
  }
50776
50717
  }, H = yt(function() {
50777
- return uC(c);
50718
+ return u4(c);
50778
50719
  }), z = function(De, Fe, it, Ve) {
50779
50720
  De.matchLength = Fe.text.length;
50780
50721
  var ft = Fn(it, function(He) {
@@ -50793,7 +50734,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50793
50734
  (function(Fe) {
50794
50735
  return y.get().map(function(it) {
50795
50736
  return v0(c.dom, c.selection.getRng(), it.triggerChar).bind(function(Ve) {
50796
- return rC(c, H, Ve, Fe);
50737
+ return r4(c, H, Ve, Fe);
50797
50738
  });
50798
50739
  }).getOrThunk(function() {
50799
50740
  return vy(c, H);
@@ -50841,7 +50782,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50841
50782
  }, isActive: I, isProcessingAction: C.get, getView: function() {
50842
50783
  return Yr.getContent(T);
50843
50784
  } };
50844
- c.hasPlugin("rtc") === !1 && nC(ve, c);
50785
+ c.hasPlugin("rtc") === !1 && n4(ve, c);
50845
50786
  }, Zd = Z, $i = function(c, m, y) {
50846
50787
  return function(C, T, I, B) {
50847
50788
  return Nf(C, T, I, B, !1);
@@ -50863,20 +50804,20 @@ Components: ` + JSON.stringify(m.components, null, 2));
50863
50804
  c.apply(null, C), y = null;
50864
50805
  }, m);
50865
50806
  } };
50866
- }, s4 = function(c) {
50807
+ }, lC = function(c) {
50867
50808
  var m = c.raw;
50868
50809
  return m.touches === void 0 || m.touches.length !== 1 ? $.none() : $.some(m.touches[0]);
50869
50810
  }, tb = function(c) {
50870
50811
  var m = Rn($.none()), y = Rn(!1), C = eb(function(I) {
50871
50812
  c.triggerEvent(d1(), I), y.set(!0);
50872
50813
  }, 400), T = Wt([{ key: fs(), value: function(I) {
50873
- return s4(I).each(function(B) {
50814
+ return lC(I).each(function(B) {
50874
50815
  C.cancel();
50875
50816
  var F = { x: B.clientX, y: B.clientY, target: I.target };
50876
50817
  C.schedule(I), y.set(!1), m.set($.some(F));
50877
50818
  }), $.none();
50878
50819
  } }, { key: ku(), value: function(I) {
50879
- return C.cancel(), s4(I).each(function(B) {
50820
+ return C.cancel(), lC(I).each(function(B) {
50880
50821
  m.get().each(function(F) {
50881
50822
  (function(H, z) {
50882
50823
  var Q = Math.abs(H.clientX - z.x), te = Math.abs(H.clientY - z.y);
@@ -50896,9 +50837,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50896
50837
  return F(I);
50897
50838
  });
50898
50839
  } };
50899
- }, l4 = function() {
50840
+ }, uC = function() {
50900
50841
  return mr().browser.isFirefox();
50901
- }, W6 = Pt([Hr("triggerEvent"), Vt("stopBackspace", !0)]), u4 = function(c, m) {
50842
+ }, W6 = Pt([Hr("triggerEvent"), Vt("stopBackspace", !0)]), cC = function(c, m) {
50902
50843
  var y = oi("Getting GUI events settings", W6, m), C = tb(y), T = Ee(["touchstart", "touchmove", "touchend", "touchcancel", "gesturestart", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "click"].concat(["selectstart", "input", "contextmenu", "change", "transitionend", "drag", "dragstart", "dragend", "dragenter", "dragleave", "dragover", "drop", "keyup"]), function(te) {
50903
50844
  return $i(c, te, function(ve) {
50904
50845
  C.fireIfReady(ve, te).each(function(De) {
@@ -50916,11 +50857,11 @@ Components: ` + JSON.stringify(m.components, null, 2));
50916
50857
  return ve.raw.which === Bc[0] && !de(["input", "textarea"], Ms(ve.target)) && !pp(ve.target, '[contenteditable="true"]');
50917
50858
  }(te) && te.prevent();
50918
50859
  }), H = function(te, ve) {
50919
- return l4() ? B0(te, "focus", ve) : $i(te, "focusin", ve);
50860
+ return uC() ? B0(te, "focus", ve) : $i(te, "focusin", ve);
50920
50861
  }(c, function(te) {
50921
50862
  y.triggerEvent("focusin", te) && te.kill();
50922
50863
  }), z = Rn($.none()), Q = function(te, ve) {
50923
- return l4() ? B0(te, "blur", ve) : $i(te, "focusout", ve);
50864
+ return uC() ? B0(te, "blur", ve) : $i(te, "focusout", ve);
50924
50865
  }(c, function(te) {
50925
50866
  y.triggerEvent("focusout", te) && te.kill(), z.set($.some(setTimeout(function() {
50926
50867
  y.triggerEvent(vh(), te);
@@ -50934,7 +50875,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50934
50875
  }, nb = function(c, m) {
50935
50876
  var y = wt(c, "target").getOr(m);
50936
50877
  return Rn(y);
50937
- }, R0 = se([{ stopped: [] }, { resume: ["element"] }, { complete: [] }]), c4 = function(c, m, y, C, T, I) {
50878
+ }, R0 = se([{ stopped: [] }, { resume: ["element"] }, { complete: [] }]), dC = function(c, m, y, C, T, I) {
50938
50879
  var B = c(m, C), F = function(H, z) {
50939
50880
  var Q = Rn(!1), te = Rn(!1);
50940
50881
  return { stop: function() {
@@ -50953,11 +50894,11 @@ Components: ` + JSON.stringify(m.components, null, 2));
50953
50894
  return I.logEventResponse(m, H.element, z.purpose), R0.resume(Q);
50954
50895
  });
50955
50896
  });
50956
- }, d4 = function(c, m, y, C, T, I) {
50957
- return c4(c, m, y, C, T, I).fold(Z, function(B) {
50958
- return d4(c, m, y, B, T, I);
50897
+ }, fC = function(c, m, y, C, T, I) {
50898
+ return dC(c, m, y, C, T, I).fold(Z, function(B) {
50899
+ return fC(c, m, y, B, T, I);
50959
50900
  }, W);
50960
- }, f4 = function(c, m, y) {
50901
+ }, pC = function(c, m, y) {
50961
50902
  var C = function(T) {
50962
50903
  var I = Rn(!1);
50963
50904
  return { stop: function() {
@@ -50970,8 +50911,8 @@ Components: ` + JSON.stringify(m.components, null, 2));
50970
50911
  }), C.isStopped();
50971
50912
  }, ob = function(c, m, y, C, T) {
50972
50913
  var I = nb(y, C);
50973
- return d4(c, m, y, C, I, T);
50974
- }, p4 = function() {
50914
+ return fC(c, m, y, C, I, T);
50915
+ }, mC = function() {
50975
50916
  var c = {};
50976
50917
  return { registerId: function(m, y, C) {
50977
50918
  Ze(C, function(T, I) {
@@ -51012,7 +50953,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
51012
50953
  }, m);
51013
50954
  } };
51014
50955
  }, F2 = function() {
51015
- var c = p4(), m = {}, y = function(T) {
50956
+ var c = mC(), m = {}, y = function(T) {
51016
50957
  var I = T.element;
51017
50958
  return Ol(I).fold(function() {
51018
50959
  return function(B, F) {
@@ -51049,14 +50990,14 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51049
50990
  }, Na = as({ name: "Container", factory: function(c) {
51050
50991
  var m = c.dom, y = m.attributes, C = ue(m, ["attributes"]);
51051
50992
  return { uid: c.uid, dom: J({ tag: "div", attributes: J({ role: "presentation" }, y) }, C), components: c.components, behaviours: Ic(c.containerBehaviours), events: c.events, domModification: c.domModification, eventOrder: c.eventOrder };
51052
- }, configFields: [Vt("components", []), Mr("containerBehaviours", []), Vt("events", {}), Vt("domModification", {}), Vt("eventOrder", {})] }), m4 = function(c) {
50993
+ }, configFields: [Vt("components", []), Mr("containerBehaviours", []), Vt("events", {}), Vt("domModification", {}), Vt("eventOrder", {})] }), hC = function(c) {
51053
50994
  var m = function(Ve) {
51054
50995
  return es(c.element).fold(Z, function(ft) {
51055
50996
  return Nr(Ve, ft);
51056
50997
  });
51057
50998
  }, y = F2(), C = function(Ve, ft) {
51058
50999
  return y.find(m, Ve, ft);
51059
- }, T = u4(c.element, { triggerEvent: function(Ve, ft) {
51000
+ }, T = cC(c.element, { triggerEvent: function(Ve, ft) {
51060
51001
  return pd(Ve, ft.target, function(He) {
51061
51002
  return function(et, Nt, Mt, Lt) {
51062
51003
  return ob(et, Nt, Mt, Mt.target, Lt);
@@ -51073,7 +51014,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51073
51014
  pd(Iu(), Ve, function(et) {
51074
51015
  return function(Nt, Mt, Lt, En, vn) {
51075
51016
  var Jn = nb(Lt, En);
51076
- c4(Nt, Mt, Lt, En, Jn, vn);
51017
+ dC(Nt, Mt, Lt, En, Jn, vn);
51077
51018
  }(C, Iu(), { originator: ft, kill: x, prevent: x, target: Ve }, Ve, et), !1;
51078
51019
  });
51079
51020
  });
@@ -51117,7 +51058,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51117
51058
  Q({ universal: !1, channels: Ve, data: ft });
51118
51059
  }, De = function(Ve, ft) {
51119
51060
  var He = y.filter(Ve);
51120
- return f4(He, ft);
51061
+ return pC(He, ft);
51121
51062
  }, Fe = function(Ve) {
51122
51063
  return y.getById(Ve).fold(function() {
51123
51064
  return Pn.error(new Error('Could not find component with uid: "' + Ve + '" in system.'));
@@ -51166,16 +51107,16 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51166
51107
  return c.getLabel(m);
51167
51108
  } } }), q6 = Object.freeze({ __proto__: null, exhibit: function(c, m) {
51168
51109
  return ol({ attributes: Wt([{ key: m.tabAttr, value: "true" }]) });
51169
- } }), Qd = [Vt("tabAttr", "data-alloy-tabstop")], jr = qr({ fields: Qd, name: "tabstopping", active: q6 }), h4 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Xm = function(c, m, y, C) {
51110
+ } }), Qd = [Vt("tabAttr", "data-alloy-tabstop")], jr = qr({ fields: Qd, name: "tabstopping", active: q6 }), gC = tinymce.util.Tools.resolve("tinymce.html.Entities"), Xm = function(c, m, y, C) {
51170
51111
  var T = K6(c, m, y, C);
51171
51112
  return vr.sketch(T);
51172
51113
  }, K6 = function(c, m, y, C) {
51173
- return { dom: g4(y), components: c.toArray().concat([m]), fieldBehaviours: zn(C) };
51174
- }, g4 = function(c) {
51114
+ return { dom: vC(y), components: c.toArray().concat([m]), fieldBehaviours: zn(C) };
51115
+ }, vC = function(c) {
51175
51116
  return { tag: "div", classes: ["tox-form__group"].concat(c) };
51176
51117
  }, ef = function(c, m) {
51177
51118
  return vr.parts.label({ dom: { tag: "label", classes: ["tox-label"], innerHtml: m.translate(c) } });
51178
- }, ls = uo("form-component-change"), us = uo("form-close"), Jm = uo("form-cancel"), Ju = uo("form-action"), M0 = uo("form-submit"), U2 = uo("form-block"), rb = uo("form-unblock"), _4 = uo("form-tabchange"), ib = uo("form-resize"), z2 = function(c, m) {
51119
+ }, ls = uo("form-component-change"), us = uo("form-close"), Jm = uo("form-cancel"), Ju = uo("form-action"), M0 = uo("form-submit"), U2 = uo("form-block"), rb = uo("form-unblock"), _C = uo("form-tabchange"), ib = uo("form-resize"), z2 = function(c, m) {
51179
51120
  var y, C, T, I = c.label.map(function(te) {
51180
51121
  return ef(te, m);
51181
51122
  }), B = function(te) {
@@ -51214,7 +51155,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51214
51155
  var et = zl.translate(He.text), Nt = c.columns === 1 ? '<div class="tox-collection__item-label">' + et + "</div>" : "", Mt = '<div class="tox-collection__item-icon">' + He.icon + "</div>", Lt = { _: " ", " - ": " ", "-": " " }, En = et.replace(/\_| \- |\-/g, function(vn) {
51215
51156
  return Lt[vn];
51216
51157
  });
51217
- return '<div class="tox-collection__item' + (m.isDisabled() ? " tox-collection__item--state-disabled" : "") + '" tabindex="-1" data-collection-item-value="' + h4.encodeAllRaw(He.value) + '" title="' + En + '" aria-label="' + En + '">' + Mt + Nt + "</div>";
51158
+ return '<div class="tox-collection__item' + (m.isDisabled() ? " tox-collection__item--state-disabled" : "") + '" tabindex="-1" data-collection-item-value="' + gC.encodeAllRaw(He.value) + '" title="' + En + '" aria-label="' + En + '">' + Mt + Nt + "</div>";
51218
51159
  }), Ve = c.columns !== "auto" && c.columns > 1 ? ye(it, c.columns) : [it], ft = Ee(Ve, function(He) {
51219
51160
  return '<div class="tox-collection__group">' + He.join("") + "</div>";
51220
51161
  });
@@ -51230,7 +51171,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51230
51171
  var y = m.element, C = Pl(y);
51231
51172
  y.dom.setSelectionRange(0, C.length);
51232
51173
  } : x })]);
51233
- }, y4 = function(c) {
51174
+ }, yC = function(c) {
51234
51175
  return J(J({}, Zm(c)), vi(c.inputBehaviours, [$n.config({ store: J(J({ mode: "manual" }, c.data.map(function(m) {
51235
51176
  return { initialValue: m };
51236
51177
  }).getOr({})), { getValue: function(m) {
@@ -51241,8 +51182,8 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51241
51182
  }, ab = function(c) {
51242
51183
  return { tag: c.tag, attributes: J({ type: "text" }, c.inputAttributes), styles: c.inputStyles, classes: c.inputClasses };
51243
51184
  }, Vg = as({ name: "Input", configFields: $0(), factory: function(c, m) {
51244
- return { uid: c.uid, dom: ab(c), components: [], behaviours: y4(c), eventOrder: c.eventOrder };
51245
- } }), V0 = {}, b4 = { exports: V0 };
51185
+ return { uid: c.uid, dom: ab(c), components: [], behaviours: yC(c), eventOrder: c.eventOrder };
51186
+ } }), V0 = {}, bC = { exports: V0 };
51246
51187
  (function(c, m, y, C) {
51247
51188
  (function(T) {
51248
51189
  typeof m == "object" && y !== void 0 ? y.exports = T() : typeof c == "function" && c.amd ? c([], T) : (typeof window < "u" ? window : commonjsGlobal !== void 0 ? commonjsGlobal : typeof self < "u" ? self : this).EphoxContactWrapper = T();
@@ -51528,8 +51469,8 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51528
51469
  I.exports = { boltExport: H.Promise || F };
51529
51470
  }, { "promise-polyfill": 2 }] }, {}, [4])(4);
51530
51471
  });
51531
- })(void 0, V0, b4, void 0);
51532
- var Zu, sb = b4.exports.boltExport, H2 = function(c) {
51472
+ })(void 0, V0, bC, void 0);
51473
+ var Zu, sb = bC.exports.boltExport, H2 = function(c) {
51533
51474
  var m = $.none(), y = [], C = function(F) {
51534
51475
  T() ? B(F) : y.push(F);
51535
51476
  }, T = function() {
@@ -51556,13 +51497,13 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51556
51497
  return H2(function(m) {
51557
51498
  m(c);
51558
51499
  });
51559
- } }, w4 = function(c) {
51500
+ } }, wC = function(c) {
51560
51501
  setTimeout(function() {
51561
51502
  throw c;
51562
51503
  }, 0);
51563
51504
  }, ea = function(c) {
51564
51505
  var m = function(y) {
51565
- c().then(y, w4);
51506
+ c().then(y, wC);
51566
51507
  };
51567
51508
  return { map: function(y) {
51568
51509
  return ea(function() {
@@ -51599,21 +51540,21 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51599
51540
  }, Y6 = ["input", "textarea"], ub = function(c) {
51600
51541
  var m = Ms(c);
51601
51542
  return de(Y6, m);
51602
- }, C4 = function(c, m) {
51543
+ }, CC = function(c, m) {
51603
51544
  var y = m.getRoot(c).getOr(c.element);
51604
51545
  Zr(y, m.invalidClass), m.notify.each(function(C) {
51605
51546
  ub(c.element) && cr(c.element, "aria-invalid", !1), C.getContainer(c).each(function(T) {
51606
51547
  Ba(T, C.validHtml);
51607
51548
  }), C.onValid(c);
51608
51549
  });
51609
- }, E4 = function(c, m, y, C) {
51550
+ }, EC = function(c, m, y, C) {
51610
51551
  var T = m.getRoot(c).getOr(c.element);
51611
51552
  Di(T, m.invalidClass), m.notify.each(function(I) {
51612
51553
  ub(c.element) && cr(c.element, "aria-invalid", !0), I.getContainer(c).each(function(B) {
51613
51554
  Ba(B, C);
51614
51555
  }), I.onInvalid(c, C);
51615
51556
  });
51616
- }, S4 = function(c, m, y) {
51557
+ }, SC = function(c, m, y) {
51617
51558
  return m.validator.fold(function() {
51618
51559
  return nf(Pn.value(!0));
51619
51560
  }, function(C) {
@@ -51622,14 +51563,14 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51622
51563
  }, j2 = function(c, m, y) {
51623
51564
  return m.notify.each(function(C) {
51624
51565
  C.onValidate(c);
51625
- }), S4(c, m).map(function(C) {
51566
+ }), SC(c, m).map(function(C) {
51626
51567
  return c.getSystem().isConnected() ? C.fold(function(T) {
51627
- return E4(c, m, 0, T), Pn.error(T);
51568
+ return EC(c, m, 0, T), Pn.error(T);
51628
51569
  }, function(T) {
51629
- return C4(c, m), Pn.value(T);
51570
+ return CC(c, m), Pn.value(T);
51630
51571
  }) : Pn.error("No longer in system");
51631
51572
  });
51632
- }, Vc = Object.freeze({ __proto__: null, markValid: C4, markInvalid: E4, query: S4, run: j2, isInvalid: function(c, m) {
51573
+ }, Vc = Object.freeze({ __proto__: null, markValid: CC, markInvalid: EC, query: SC, run: j2, isInvalid: function(c, m) {
51633
51574
  var y = m.getRoot(c).getOr(c.element);
51634
51575
  return il(y, m.invalidClass);
51635
51576
  } }), cb = Object.freeze({ __proto__: null, events: function(c, m) {
@@ -51640,7 +51581,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51640
51581
  j2(C, c).get(x);
51641
51582
  })] : []));
51642
51583
  }).getOr({});
51643
- } }), x4 = [mn("invalidClass"), Vt("getRoot", $.none), Wi("notify", [Vt("aria", "alert"), Vt("getContainer", $.none), Vt("validHtml", ""), Zo("onValid"), Zo("onInvalid"), Zo("onValidate")]), Wi("validator", [mn("validate"), Vt("onEvent", "input"), Vt("validateOnLoad", !0)])], Hl = qr({ fields: x4, name: "invalidating", active: cb, apis: Vc, extra: { validation: function(c) {
51584
+ } }), xC = [mn("invalidClass"), Vt("getRoot", $.none), Wi("notify", [Vt("aria", "alert"), Vt("getContainer", $.none), Vt("validHtml", ""), Zo("onValid"), Zo("onInvalid"), Zo("onValidate")]), Wi("validator", [mn("validate"), Vt("onEvent", "input"), Vt("validateOnLoad", !0)])], Hl = qr({ fields: xC, name: "invalidating", active: cb, apis: Vc, extra: { validation: function(c) {
51644
51585
  return function(m) {
51645
51586
  var y = $n.getValue(m);
51646
51587
  return nf(c(y));
@@ -51662,7 +51603,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51662
51603
  (function(c) {
51663
51604
  c[c.HighlightFirst = 0] = "HighlightFirst", c[c.HighlightNone = 1] = "HighlightNone";
51664
51605
  })(Zu || (Zu = {}));
51665
- var fb, k4, mp, F0 = function(c, m) {
51606
+ var fb, kC, mp, F0 = function(c, m) {
51666
51607
  var y = c.getHotspot(m).getOr(m), C = "hotspot", T = c.getAnchorOverrides();
51667
51608
  return c.layouts.fold(function() {
51668
51609
  return { anchor: C, hotspot: y, overrides: T };
@@ -51705,7 +51646,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51705
51646
  }, Qm = function(c, m, y, C, T, I) {
51706
51647
  var B = bi.getCoupled(y, "sandbox");
51707
51648
  return (Bo.isOpen(B) ? Z6 : pb)(c, m, y, B, C, T, I);
51708
- }, T4 = function(c, m, y) {
51649
+ }, TC = function(c, m, y) {
51709
51650
  var C = nr.getCurrent(m).getOr(m), T = wa(c.element);
51710
51651
  y ? Lo(C.element, "min-width", T + "px") : function(I, B) {
51711
51652
  Wp.set(I, B);
@@ -51734,7 +51675,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51734
51675
  var C = qp(), T = G2(m, c);
51735
51676
  return { dom: { tag: "div", classes: c.sandboxClasses, attributes: { id: C.id, role: "listbox" } }, behaviours: Od(c.sandboxBehaviours, [$n.config({ store: { mode: "memory", initialValue: m } }), Bo.config({ onOpen: function(I, B) {
51736
51677
  var F = F0(c, m);
51737
- C.link(m.element), c.matchWidth && T4(F.hotspot, B, c.useMinWidth), c.onOpen(F, I, B), y !== void 0 && y.onOpen !== void 0 && y.onOpen(I, B);
51678
+ C.link(m.element), c.matchWidth && TC(F.hotspot, B, c.useMinWidth), c.onOpen(F, I, B), y !== void 0 && y.onOpen !== void 0 && y.onOpen(I, B);
51738
51679
  }, onClose: function(I, B) {
51739
51680
  C.unlink(m.element), y !== void 0 && y.onClose !== void 0 && y.onClose(I, B);
51740
51681
  }, isPartOf: function(I, B, F) {
@@ -51815,7 +51756,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51815
51756
  return Ir([Ai(tu(), Z)]);
51816
51757
  }, exhibit: function() {
51817
51758
  return ol({ styles: { "-webkit-user-select": "none", "user-select": "none", "-ms-user-select": "none", "-moz-user-select": "-moz-none" }, attributes: { unselectable: "on" } });
51818
- } }), hp = qr({ fields: [], name: "unselecting", active: th }), gb = uo("color-input-change"), N4 = uo("color-swatch-change"), I4 = uo("color-picker-cancel"), A4 = function(c, m, y) {
51759
+ } }), hp = qr({ fields: [], name: "unselecting", active: th }), gb = uo("color-input-change"), NC = uo("color-swatch-change"), IC = uo("color-picker-cancel"), AC = function(c, m, y) {
51819
51760
  var C = vr.parts.field({ factory: Vg, inputClasses: ["tox-textfield"], onSetValue: function(F) {
51820
51761
  return Hl.run(F).get(x);
51821
51762
  }, inputBehaviours: zn([_o.config({ disabled: m.providers.isDisabled }), Mi(), jr.config({}), Hl.config({ invalidClass: "tox-textbox-field-invalid", getRoot: function(F) {
@@ -51838,7 +51779,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51838
51779
  } } })]), selectOnFocus: !1 }), T = c.label.map(function(F) {
51839
51780
  return ef(F, m.providers);
51840
51781
  }), I = function(F, H) {
51841
- ho(F, N4, { value: H });
51782
+ ho(F, NC, { value: H });
51842
51783
  }, B = _r(function(F, H) {
51843
51784
  return El.sketch({ dom: F.dom, components: F.components, toggleClass: "mce-active", dropdownBehaviours: zn([Wm(H.providers.isDisabled), Mi(), hp.config({}), jr.config({})]), layouts: F.layouts, sandboxClasses: ["tox-dialog__popups"], lazySink: H.getSink, fetch: function(z) {
51844
51785
  return tf(function(Q) {
@@ -51853,11 +51794,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51853
51794
  return [Xi, ki, Ji];
51854
51795
  }, onLtr: function() {
51855
51796
  return [ki, Xi, Ji];
51856
- } }, components: [], fetch: YC(y.getColors(), y.hasCustomColors()), columns: y.getColorCols(), presets: "color", onItemAction: function(F, H) {
51797
+ } }, components: [], fetch: X4(y.getColors(), y.hasCustomColors()), columns: y.getColorCols(), presets: "color", onItemAction: function(F, H) {
51857
51798
  B.getOpt(F).each(function(z) {
51858
51799
  H === "custom" ? y.colorPicker(function(Q) {
51859
51800
  Q.fold(function() {
51860
- return ko(z, I4);
51801
+ return ko(z, IC);
51861
51802
  }, function(te) {
51862
51803
  I(z, te), R2(te);
51863
51804
  });
@@ -51868,11 +51809,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51868
51809
  B.getOpt(F).each(function(z) {
51869
51810
  Lo(z.element, "background-color", H.event.color);
51870
51811
  }), ho(F, ls, { name: c.name });
51871
- }), xn(N4, function(F, H) {
51812
+ }), xn(NC, function(F, H) {
51872
51813
  vr.getField(F).each(function(z) {
51873
51814
  $n.setValue(z, H.event.value), nr.getCurrent(F).each(No.focus);
51874
51815
  });
51875
- }), xn(I4, function(F, H) {
51816
+ }), xn(IC, function(F, H) {
51876
51817
  vr.getField(F).each(function(z) {
51877
51818
  nr.getCurrent(F).each(No.focus);
51878
51819
  });
@@ -51891,7 +51832,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51891
51832
  }, [m])]) };
51892
51833
  });
51893
51834
  } });
51894
- }, O4 = gp("top-left"), _b = gp("top"), yb = gp("top-right"), D4 = gp("right"), t8 = gp("bottom-right"), q2 = gp("bottom"), P4 = gp("bottom-left"), n8 = gp("left"), of = Hi({ name: "thumb", defaults: O({ dom: { styles: { position: "absolute" } } }), overrides: function(c) {
51835
+ }, OC = gp("top-left"), _b = gp("top"), yb = gp("top-right"), DC = gp("right"), t8 = gp("bottom-right"), q2 = gp("bottom"), PC = gp("bottom-left"), n8 = gp("left"), of = Hi({ name: "thumb", defaults: O({ dom: { styles: { position: "absolute" } } }), overrides: function(c) {
51895
51836
  return { events: Ir([Rs(fs(), c, "spectrum"), Rs(ku(), c, "spectrum"), Rs(Zl(), c, "spectrum"), Rs(Ds(), c, "spectrum"), Rs(Pp(), c, "spectrum"), Rs(Bp(), c, "spectrum")]) };
51896
51837
  } }), bb = Hi({ schema: [pi("mouseIsDown", function() {
51897
51838
  return Rn(!1);
@@ -51912,7 +51853,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51912
51853
  } }), No.config({})]), events: Ir([xn(fs(), y), xn(ku(), y), xn(Ds(), y), xn(Pp(), function(C, T) {
51913
51854
  c.mouseIsDown.get() && y(C, T);
51914
51855
  })]) };
51915
- } }), B4 = [vb, n8, D4, _b, q2, O4, yb, P4, t8, of, bb], Lg = O("slider.change.value"), L0 = function(c) {
51856
+ } }), BC = [vb, n8, DC, _b, q2, OC, yb, PC, t8, of, bb], Lg = O("slider.change.value"), L0 = function(c) {
51916
51857
  var m = c.event.raw;
51917
51858
  if (function(T) {
51918
51859
  return T.type.indexOf("touch") !== -1;
@@ -51942,12 +51883,12 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51942
51883
  return c.model.maxX + 1;
51943
51884
  }, K2 = function(c) {
51944
51885
  return c.model.maxY + 1;
51945
- }, R4 = function(c, m, y) {
51886
+ }, RC = function(c, m, y) {
51946
51887
  return m(c) - y(c);
51947
51888
  }, wb = function(c) {
51948
- return R4(c, nh, vp);
51889
+ return RC(c, nh, vp);
51949
51890
  }, Ug = function(c) {
51950
- return R4(c, _p, Fc);
51891
+ return RC(c, _p, Fc);
51951
51892
  }, Cb = function(c) {
51952
51893
  return wb(c) / 2;
51953
51894
  }, Eb = function(c) {
@@ -51956,9 +51897,9 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51956
51897
  return c.stepSize;
51957
51898
  }, j0 = function(c) {
51958
51899
  return c.snapToGrid;
51959
- }, M4 = function(c) {
51900
+ }, MC = function(c) {
51960
51901
  return c.snapStart;
51961
- }, $4 = function(c) {
51902
+ }, $C = function(c) {
51962
51903
  return c.rounded;
51963
51904
  }, Y2 = function(c, m) {
51964
51905
  return c[m + "-edge"] !== void 0;
@@ -51984,7 +51925,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51984
51925
  return c < m ? c : c > y ? y : c === m ? m - 1 : Math.max(m, c - C);
51985
51926
  }, Q2 = function(c, m, y, C) {
51986
51927
  return c > y ? c : c < m ? m : c === y ? y + 1 : Math.min(y, c + C);
51987
- }, V4 = function(c, m, y) {
51928
+ }, VC = function(c, m, y) {
51988
51929
  return Math.max(m, Math.min(y, c));
51989
51930
  }, kb = function(c) {
51990
51931
  var m = c.min, y = c.max, C = c.range, T = c.value, I = c.step, B = c.snap, F = c.snapStart, H = c.rounded, z = c.hasMinEdge, Q = c.hasMaxEdge, te = c.minBound, ve = c.maxBound, De = c.screenRange, Fe = z ? m - 1 : m, it = Q ? y + 1 : y;
@@ -51994,20 +51935,20 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51994
51935
  return it;
51995
51936
  var Ve = function(He, et, Nt) {
51996
51937
  return Math.min(Nt, Math.max(He, et)) - et;
51997
- }(T, te, ve), ft = V4(Ve / De * C + m, Fe, it);
51938
+ }(T, te, ve), ft = VC(Ve / De * C + m, Fe, it);
51998
51939
  return B && ft >= m && ft <= y ? function(He, et, Nt, Mt, Lt) {
51999
51940
  return Lt.fold(function() {
52000
51941
  var En = He - et, vn = Math.round(En / Mt) * Mt;
52001
- return V4(et + vn, et - 1, Nt + 1);
51942
+ return VC(et + vn, et - 1, Nt + 1);
52002
51943
  }, function(En) {
52003
51944
  var vn = (He - En) % Mt, Jn = Math.round(vn / Mt), oo = Math.floor((He - En) / Mt), So = Math.floor((Nt - En) / Mt), Mo = En + Math.min(So, oo + Jn) * Mt;
52004
51945
  return Math.max(En, Mo);
52005
51946
  });
52006
51947
  }(ft, m, y, I, F) : H ? Math.round(ft) : ft;
52007
- }, F4 = function(c) {
51948
+ }, FC = function(c) {
52008
51949
  var m = c.min, y = c.max, C = c.range, T = c.value, I = c.hasMinEdge, B = c.hasMaxEdge, F = c.maxBound, H = c.maxOffset, z = c.centerMinEdge, Q = c.centerMaxEdge;
52009
51950
  return T < m ? I ? 0 : z : T > y ? B ? F : Q : (T - m) / C * H;
52010
- }, q0 = "top", L4 = "right", U4 = "bottom", Tb = "left", ec = function(c) {
51951
+ }, q0 = "top", LC = "right", UC = "bottom", Tb = "left", ec = function(c) {
52011
51952
  return c.element.dom.getBoundingClientRect();
52012
51953
  }, wu = function(c, m) {
52013
51954
  return c[m];
@@ -52016,13 +51957,13 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52016
51957
  return wu(m, Tb);
52017
51958
  }, Nb = function(c) {
52018
51959
  var m = ec(c);
52019
- return wu(m, L4);
51960
+ return wu(m, LC);
52020
51961
  }, e_ = function(c) {
52021
51962
  var m = ec(c);
52022
51963
  return wu(m, q0);
52023
- }, z4 = function(c) {
51964
+ }, zC = function(c) {
52024
51965
  var m = ec(c);
52025
- return wu(m, U4);
51966
+ return wu(m, UC);
52026
51967
  }, Ib = function(c) {
52027
51968
  var m = ec(c);
52028
51969
  return wu(m, "width");
@@ -52031,20 +51972,20 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52031
51972
  return wu(m, "height");
52032
51973
  }, Ob = function(c, m, y) {
52033
51974
  return (c + m) / 2 - y;
52034
- }, H4 = function(c, m) {
52035
- var y = ec(c), C = ec(m), T = wu(y, Tb), I = wu(y, L4), B = wu(C, Tb);
51975
+ }, HC = function(c, m) {
51976
+ var y = ec(c), C = ec(m), T = wu(y, Tb), I = wu(y, LC), B = wu(C, Tb);
52036
51977
  return Ob(T, I, B);
52037
51978
  }, Db = function(c, m) {
52038
- var y = ec(c), C = ec(m), T = wu(y, q0), I = wu(y, U4), B = wu(C, q0);
51979
+ var y = ec(c), C = ec(m), T = wu(y, q0), I = wu(y, UC), B = wu(C, q0);
52039
51980
  return Ob(T, I, B);
52040
51981
  }, Y0 = function(c, m) {
52041
51982
  ho(c, Lg(), { value: m });
52042
51983
  }, t_ = function(c) {
52043
51984
  return { x: c };
52044
51985
  }, Pb = function(c, m, y) {
52045
- var C = { min: vp(m), max: nh(m), range: wb(m), value: y, step: zg(m), snap: j0(m), snapStart: M4(m), rounded: $4(m), hasMinEdge: W0(m), hasMaxEdge: X2(m), minBound: K0(c), maxBound: Nb(c), screenRange: Ib(c) };
51986
+ var C = { min: vp(m), max: nh(m), range: wb(m), value: y, step: zg(m), snap: j0(m), snapStart: MC(m), rounded: $C(m), hasMinEdge: W0(m), hasMaxEdge: X2(m), minBound: K0(c), maxBound: Nb(c), screenRange: Ib(c) };
52046
51987
  return kb(C);
52047
- }, j4 = function(c) {
51988
+ }, jC = function(c) {
52048
51989
  return function(m, y) {
52049
51990
  return function(C, T, I) {
52050
51991
  var B = (C > 0 ? Q2 : Z2)(Lc(I).x, vp(I), nh(I), zg(I));
@@ -52054,18 +51995,18 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52054
51995
  }, n_ = function(c, m, y, C, T, I) {
52055
51996
  var B = function(F, H, z, Q, te) {
52056
51997
  var ve = Ib(F), De = Q.bind(function(Ve) {
52057
- return $.some(H4(Ve, F));
51998
+ return $.some(HC(Ve, F));
52058
51999
  }).getOr(0), Fe = te.bind(function(Ve) {
52059
- return $.some(H4(Ve, F));
52000
+ return $.some(HC(Ve, F));
52060
52001
  }).getOr(ve), it = { min: vp(H), max: nh(H), range: wb(H), value: z, hasMinEdge: W0(H), hasMaxEdge: X2(H), minBound: K0(F), minOffset: 0, maxBound: Nb(F), maxOffset: ve, centerMinEdge: De, centerMaxEdge: Fe };
52061
- return F4(it);
52002
+ return FC(it);
52062
52003
  }(m, I, y, C, T);
52063
52004
  return K0(m) - K0(c) + B;
52064
- }, o8 = j4(-1), dr = j4(1), Hg = $.none, W4 = $.none, G4 = { "top-left": $.none(), top: $.none(), "top-right": $.none(), right: $.some(function(c, m) {
52005
+ }, o8 = jC(-1), dr = jC(1), Hg = $.none, WC = $.none, GC = { "top-left": $.none(), top: $.none(), "top-right": $.none(), right: $.some(function(c, m) {
52065
52006
  jl(c, Sb(H0(m)));
52066
52007
  }), "bottom-right": $.none(), bottom: $.none(), "bottom-left": $.none(), left: $.some(function(c, m) {
52067
52008
  jl(c, Sb(U0(m)));
52068
- }) }, q4 = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52009
+ }) }, qC = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52069
52010
  var C = Pb(c, m, y), T = t_(C);
52070
52011
  return Y0(c, T), C;
52071
52012
  }, setToMin: function(c, m) {
@@ -52081,14 +52022,14 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52081
52022
  }, findPositionOfValue: n_, setPositionFromValue: function(c, m, y, C) {
52082
52023
  var T = Lc(y), I = n_(c, C.getSpectrum(c), T.x, C.getLeftEdge(c), C.getRightEdge(c), y), B = wa(m.element) / 2;
52083
52024
  Lo(m.element, "left", I - B + "px");
52084
- }, onLeft: o8, onRight: dr, onUp: Hg, onDown: W4, edgeActions: G4 }), X0 = function(c, m) {
52025
+ }, onLeft: o8, onRight: dr, onUp: Hg, onDown: WC, edgeActions: GC }), X0 = function(c, m) {
52085
52026
  ho(c, Lg(), { value: m });
52086
52027
  }, o_ = function(c) {
52087
52028
  return { y: c };
52088
52029
  }, Bb = function(c, m, y) {
52089
- var C = { min: Fc(m), max: _p(m), range: Ug(m), value: y, step: zg(m), snap: j0(m), snapStart: M4(m), rounded: $4(m), hasMinEdge: G0(m), hasMaxEdge: J2(m), minBound: e_(c), maxBound: z4(c), screenRange: Ab(c) };
52030
+ var C = { min: Fc(m), max: _p(m), range: Ug(m), value: y, step: zg(m), snap: j0(m), snapStart: MC(m), rounded: $C(m), hasMinEdge: G0(m), hasMaxEdge: J2(m), minBound: e_(c), maxBound: zC(c), screenRange: Ab(c) };
52090
52031
  return kb(C);
52091
- }, K4 = function(c) {
52032
+ }, KC = function(c) {
52092
52033
  return function(m, y) {
52093
52034
  return function(C, T, I) {
52094
52035
  var B = (C > 0 ? Q2 : Z2)(Lc(I).y, Fc(I), _p(I), zg(I));
@@ -52101,15 +52042,15 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52101
52042
  return $.some(Db(Ve, F));
52102
52043
  }).getOr(0), Fe = te.bind(function(Ve) {
52103
52044
  return $.some(Db(Ve, F));
52104
- }).getOr(ve), it = { min: Fc(H), max: _p(H), range: Ug(H), value: z, hasMinEdge: G0(H), hasMaxEdge: J2(H), minBound: e_(F), minOffset: 0, maxBound: z4(F), maxOffset: ve, centerMinEdge: De, centerMaxEdge: Fe };
52105
- return F4(it);
52045
+ }).getOr(ve), it = { min: Fc(H), max: _p(H), range: Ug(H), value: z, hasMinEdge: G0(H), hasMaxEdge: J2(H), minBound: e_(F), minOffset: 0, maxBound: zC(F), maxOffset: ve, centerMinEdge: De, centerMaxEdge: Fe };
52046
+ return FC(it);
52106
52047
  }(m, I, y, C, T);
52107
52048
  return e_(m) - e_(c) + B;
52108
- }, Y4 = $.none, r8 = $.none, i8 = K4(-1), a8 = K4(1), s8 = { "top-left": $.none(), top: $.some(function(c, m) {
52049
+ }, YC = $.none, r8 = $.none, i8 = KC(-1), a8 = KC(1), s8 = { "top-left": $.none(), top: $.some(function(c, m) {
52109
52050
  jl(c, xb(z0(m)));
52110
52051
  }), "top-right": $.none(), right: $.none(), "bottom-right": $.none(), bottom: $.some(function(c, m) {
52111
52052
  jl(c, xb(K2(m)));
52112
- }), "bottom-left": $.none(), left: $.none() }, X4 = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52053
+ }), "bottom-left": $.none(), left: $.none() }, XC = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52113
52054
  var C = Bb(c, m, y), T = o_(C);
52114
52055
  return X0(c, T), C;
52115
52056
  }, setToMin: function(c, m) {
@@ -52125,7 +52066,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52125
52066
  }, findPositionOfValue: Rb, setPositionFromValue: function(c, m, y, C) {
52126
52067
  var T = Lc(y), I = Rb(c, C.getSpectrum(c), T.y, C.getTopEdge(c), C.getBottomEdge(c), y), B = Wr(m.element) / 2;
52127
52068
  Lo(m.element, "top", I - B + "px");
52128
- }, onLeft: Y4, onRight: r8, onUp: i8, onDown: a8, edgeActions: s8 }), r_ = function(c, m) {
52069
+ }, onLeft: YC, onRight: r8, onUp: i8, onDown: a8, edgeActions: s8 }), r_ = function(c, m) {
52129
52070
  ho(c, Lg(), { value: m });
52130
52071
  }, J0 = function(c, m) {
52131
52072
  return { x: c, y: m };
@@ -52136,7 +52077,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52136
52077
  return r_(B, J0(z, Q)), $.some(z);
52137
52078
  }(c, m, y, C).map(Z);
52138
52079
  };
52139
- }, J4 = Z0(-1, !1), l8 = Z0(1, !1), u8 = Z0(-1, !0), Q0 = Z0(1, !0), Mb = { "top-left": $.some(function(c, m) {
52080
+ }, JC = Z0(-1, !1), l8 = Z0(1, !1), u8 = Z0(-1, !0), Q0 = Z0(1, !0), Mb = { "top-left": $.some(function(c, m) {
52140
52081
  jl(c, rf(U0(m), z0(m)));
52141
52082
  }), top: $.some(function(c, m) {
52142
52083
  jl(c, rf(Cb(m), z0(m)));
@@ -52152,7 +52093,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52152
52093
  jl(c, rf(U0(m), K2(m)));
52153
52094
  }), left: $.some(function(c, m) {
52154
52095
  jl(c, rf(U0(m), Eb(m)));
52155
- }) }, Z4 = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52096
+ }) }, ZC = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52156
52097
  var C = Pb(c, m, y.left), T = Bb(c, m, y.top), I = J0(C, T);
52157
52098
  return r_(c, I), I;
52158
52099
  }, setToMin: function(c, m) {
@@ -52166,15 +52107,15 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52166
52107
  }, setPositionFromValue: function(c, m, y, C) {
52167
52108
  var T = Lc(y), I = n_(c, C.getSpectrum(c), T.x, C.getLeftEdge(c), C.getRightEdge(c), y), B = Rb(c, C.getSpectrum(c), T.y, C.getTopEdge(c), C.getBottomEdge(c), y), F = wa(m.element) / 2, H = Wr(m.element) / 2;
52168
52109
  Lo(m.element, "left", I - F + "px"), Lo(m.element, "top", B - H + "px");
52169
- }, onLeft: J4, onRight: l8, onUp: u8, onDown: Q0, edgeActions: Mb }), Wl = Qi({ name: "Slider", configFields: [Vt("stepSize", 1), Vt("onChange", x), Vt("onChoose", x), Vt("onInit", x), Vt("onDragStart", x), Vt("onDragEnd", x), Vt("snapToGrid", !1), Vt("rounded", !0), jo("snapStart"), wr("model", Ft("mode", { x: [Vt("minX", 0), Vt("maxX", 100), pi("value", function(c) {
52110
+ }, onLeft: JC, onRight: l8, onUp: u8, onDown: Q0, edgeActions: Mb }), Wl = Qi({ name: "Slider", configFields: [Vt("stepSize", 1), Vt("onChange", x), Vt("onChoose", x), Vt("onInit", x), Vt("onDragStart", x), Vt("onDragEnd", x), Vt("snapToGrid", !1), Vt("rounded", !0), jo("snapStart"), wr("model", Ft("mode", { x: [Vt("minX", 0), Vt("maxX", 100), pi("value", function(c) {
52170
52111
  return Rn(c.mode.minX);
52171
- }), mn("getInitialValue"), Or("manager", q4)], y: [Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52112
+ }), mn("getInitialValue"), Or("manager", qC)], y: [Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52172
52113
  return Rn(c.mode.minY);
52173
- }), mn("getInitialValue"), Or("manager", X4)], xy: [Vt("minX", 0), Vt("maxX", 100), Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52114
+ }), mn("getInitialValue"), Or("manager", XC)], xy: [Vt("minX", 0), Vt("maxX", 100), Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52174
52115
  return Rn({ x: c.mode.minX, y: c.mode.minY });
52175
- }), mn("getInitialValue"), Or("manager", Z4)] })), Mr("sliderBehaviours", [bo, $n]), pi("mouseIsDown", function() {
52116
+ }), mn("getInitialValue"), Or("manager", ZC)] })), Mr("sliderBehaviours", [bo, $n]), pi("mouseIsDown", function() {
52176
52117
  return Rn(!1);
52177
- })], partFields: B4, factory: function(c, m, y, C) {
52118
+ })], partFields: BC, factory: function(c, m, y, C) {
52178
52119
  var T, I = function(He) {
52179
52120
  return wl(He, c, "thumb");
52180
52121
  }, B = function(He) {
@@ -52239,7 +52180,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52239
52180
  }, jg = function(c) {
52240
52181
  var m, y = 0, C = 0, T = c.red / 255, I = c.green / 255, B = c.blue / 255, F = Math.min(T, Math.min(I, B)), H = Math.max(T, Math.max(I, B));
52241
52182
  return F === H ? yp(0, 0, 100 * (C = F)) : (y = 60 * ((y = T === F ? 3 : B === F ? 1 : 5) - (T === F ? I - B : B === F ? T - I : B - T) / (H - F)), m = (H - F) / H, C = H, yp(Math.round(y), Math.round(100 * m), Math.round(100 * C)));
52242
- }, Q4 = function(c) {
52183
+ }, QC = function(c) {
52243
52184
  return Wy(Gy(c));
52244
52185
  }, $b = uo("rgb-hex-update"), i_ = uo("slider-update"), a_ = uo("palette-update"), Vb = "form", Fb = [Mr("formBehaviours", [$n])], Lb = function(c) {
52245
52186
  return "<alloy.field." + c + ">";
@@ -52373,12 +52314,12 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52373
52314
  return Wl.sketch({ dom: { tag: "div", attributes: { role: "presentation" }, classes: [m("sv-palette")] }, model: { mode: "xy", getInitialValue: F }, rounded: !1, components: [y, C], onChange: function(z, Q, te) {
52374
52315
  ho(z, a_, { value: te });
52375
52316
  }, onInit: function(z, Q, te, ve) {
52376
- T(te.element.dom, GC(qC));
52317
+ T(te.element.dom, q4(K4));
52377
52318
  }, sliderBehaviours: H });
52378
52319
  }, name: "SaturationBrightnessPalette", configFields: [], apis: { setHue: function(B, F, H) {
52379
52320
  (function(z, Q) {
52380
52321
  var te = z.components()[0].element.dom, ve = yp(Q, 100, 100), De = Gy(ve);
52381
- T(te, GC(De));
52322
+ T(te, q4(De));
52382
52323
  })(F, H);
52383
52324
  }, setThumb: function(B, F, H) {
52384
52325
  (function(z, Q) {
@@ -52391,7 +52332,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52391
52332
  var y = as({ name: "ColourPicker", configFields: [mn("dom"), Vt("onValidHex", x), Vt("onInvalidHex", x)], factory: function(C) {
52392
52333
  var T, I = c8(c, m, C.onValidHex, C.onInvalidHex), B = n3(0, m), F = function(ft) {
52393
52334
  return 100 - ft / 360 * 100;
52394
- }, H = { paletteRgba: Rn(qC), paletteHue: Rn(0) }, z = _r(function(ft, He) {
52335
+ }, H = { paletteRgba: Rn(K4), paletteHue: Rn(0) }, z = _r(function(ft, He) {
52395
52336
  var et = Wl.parts.spectrum({ dom: { tag: "div", classes: [He("hue-slider-spectrum")], attributes: { role: "presentation" } } }), Nt = Wl.parts.thumb({ dom: { tag: "div", classes: [He("hue-slider-thumb")], attributes: { role: "presentation" } } });
52396
52337
  return Wl.sketch({ dom: { tag: "div", classes: [He("hue-slider")], attributes: { role: "presentation" } }, rounded: !1, model: { mode: "y", getInitialValue: O({ y: 0 }) }, components: [et, Nt], sliderBehaviours: zn([No.config({})]), onChange: function(Mt, Lt, En) {
52397
52338
  ho(Mt, i_, { value: En });
@@ -52428,7 +52369,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52428
52369
  })), xn(a_, function() {
52429
52370
  var ft = [De];
52430
52371
  return function(He, et) {
52431
- var Nt = et.event.value, Mt = H.paletteHue.get(), Lt = yp(Mt, Nt.x, 100 - Nt.y), En = Q4(Lt);
52372
+ var Nt = et.event.value, Mt = H.paletteHue.get(), Lt = yp(Mt, Nt.x, 100 - Nt.y), En = QC(Lt);
52432
52373
  Ve(He, En, Mt, ft);
52433
52374
  };
52434
52375
  }()), xn(i_, function() {
@@ -52436,7 +52377,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52436
52377
  return function(He, et) {
52437
52378
  var Nt = function(Jn) {
52438
52379
  return (100 - Jn) / 100 * 360;
52439
- }(et.event.value.y), Mt = H.paletteRgba.get(), Lt = jg(Mt), En = yp(Nt, Lt.saturation, Lt.value), vn = Q4(En);
52380
+ }(et.event.value.y), Mt = H.paletteRgba.get(), Lt = jg(Mt), En = yp(Nt, Lt.saturation, Lt.value), vn = QC(En);
52440
52381
  Ve(He, vn, Nt, ft);
52441
52382
  };
52442
52383
  }())]), nr.config({ find: function(ft) {
@@ -52826,13 +52767,13 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52826
52767
  return m3(C, m.getType(), y);
52827
52768
  });
52828
52769
  }(c, fb);
52829
- }), E8 = (k4 = function(c, m) {
52770
+ }), E8 = (kC = function(c, m) {
52830
52771
  return 255 * Math.pow(c / 255, 1 - m);
52831
52772
  }, function(c, m) {
52832
52773
  return c.toCanvas().then(function(y) {
52833
52774
  return function(C, T, I) {
52834
52775
  for (var B = af(C), F = new Array(256), H = 0; H < F.length; H++)
52835
- F[H] = k4(H, I);
52776
+ F[H] = kC(H, I);
52836
52777
  var z = function(Q, te) {
52837
52778
  for (var ve = Q.data, De = 0; De < ve.length; De += 4)
52838
52779
  ve[De] = te[ve[De]], ve[De + 1] = te[ve[De + 1]], ve[De + 2] = te[ve[De + 2]];
@@ -52984,8 +52925,8 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52984
52925
  var T = uo("primary-menu"), I = E3(c, y.shared.providers.menuItems());
52985
52926
  if (I.items.length === 0)
52986
52927
  return $.none();
52987
- var B = a4(T, I.items, m, y, C), F = Ye(I.menus, function(z, Q) {
52988
- return a4(Q, z, m, y, !1);
52928
+ var B = sC(T, I.items, m, y, C), F = Ye(I.menus, function(z, Q) {
52929
+ return sC(Q, z, m, y, !1);
52989
52930
  }), H = Ae(F, xt(T, B));
52990
52931
  return $.from(Yd.tieredData(T, H, I.expansions));
52991
52932
  }, S3 = function(c) {
@@ -54042,7 +53983,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
54042
53983
  } }), Mi()]) });
54043
53984
  }(c, m.shared.providers);
54044
53985
  }), colorinput: ta(function(c, m) {
54045
- return A4(c, m.shared, m.colorinput);
53986
+ return AC(c, m.shared, m.colorinput);
54046
53987
  }), colorpicker: ta(function(c) {
54047
53988
  var m = function(T) {
54048
53989
  return "tox-" + T;
@@ -54180,7 +54121,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
54180
54121
  } })]) }), it = _r(sw({ name: y.name, icon: $.some("browse"), text: y.label.getOr(""), disabled: y.disabled, primary: !1, borderless: !0 }, function(Ve) {
54181
54122
  return ko(Ve, De);
54182
54123
  }, B, [], ["tox-browse-url"]));
54183
- return vr.sketch({ dom: g4([]), components: z.toArray().concat([{ dom: { tag: "div", classes: ["tox-form__controls-h-stack"] }, components: Ue([[Fe.asSpec()], ve.map(function() {
54124
+ return vr.sketch({ dom: vC([]), components: z.toArray().concat([{ dom: { tag: "div", classes: ["tox-form__controls-h-stack"] }, components: Ue([[Fe.asSpec()], ve.map(function() {
54184
54125
  return it.asSpec();
54185
54126
  }).toArray()]) }]), fieldBehaviours: zn([_o.config({ disabled: function() {
54186
54127
  return y.disabled || B.isDisabled();
@@ -54305,7 +54246,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
54305
54246
  return { inlineDialog: x_(I, m, B), banner: dh(I, m, B), cursor: _w(c, T), node: H8(T) };
54306
54247
  }, U3 = function(c) {
54307
54248
  return function(m, y) {
54308
- JC(c)(m, y);
54249
+ Z4(c)(m, y);
54309
54250
  };
54310
54251
  }, j8 = function(c) {
54311
54252
  return function() {
@@ -54565,7 +54506,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
54565
54506
  } };
54566
54507
  }, Jt = function(c, m, y) {
54567
54508
  var C = Rn(!1), T = function(B) {
54568
- var F = Rn(IC(B) ? "bottom" : "top");
54509
+ var F = Rn(A4(B) ? "bottom" : "top");
54569
54510
  return { isPositionedAtTop: function() {
54570
54511
  return F.get() === "top";
54571
54512
  }, getDockingMode: F.get, setDockingMode: F.set };
@@ -55286,7 +55227,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
55286
55227
  }), ve.scope === "editor" ? T.push(ve) : C.push(ve), B[Q] = ve;
55287
55228
  }, H = function(Q, te) {
55288
55229
  var ve;
55289
- (ve = te, gr("ContextToolbar", lC, ve)).each(function(De) {
55230
+ (ve = te, gr("ContextToolbar", l4, ve)).each(function(De) {
55290
55231
  te.scope === "editor" ? T.push(De) : C.push(De), B[Q] = De;
55291
55232
  });
55292
55233
  }, z = qo(c);
@@ -56887,7 +56828,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
56887
56828
  });
56888
56829
  })(y);
56889
56830
  var C = Rn(null), T = Rn(null);
56890
- XC(y, "forecolor", "forecolor", "Text color", C), XC(y, "backcolor", "hilitecolor", "Background color", T), Jy(y, "forecolor", "forecolor", "Text color"), Jy(y, "backcolor", "hilitecolor", "Background color");
56831
+ J4(y, "forecolor", "forecolor", "Text color", C), J4(y, "backcolor", "hilitecolor", "Background color", T), Jy(y, "forecolor", "forecolor", "Text color"), Jy(y, "backcolor", "hilitecolor", "Background color");
56891
56832
  }(c), function(y) {
56892
56833
  (function(C) {
56893
56834
  C.ui.registry.addButton("visualaid", { tooltip: "Visual aids", text: "Visual aids", onAction: function() {
@@ -57530,7 +57471,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57530
57471
  return C.concat(T.toArray());
57531
57472
  }() };
57532
57473
  }, c5 = function(c) {
57533
- var m, y, C, T, I = c.inline, B = I ? ET : bT, F = I0(c) ? Jk : Uk, H = $.none(), z = mr(), Q = z.browser.isIE() ? ["tox-platform-ie"] : [], te = z.deviceType.isTouch() ? ["tox-platform-touch"] : [], ve = IC(c), De = Tg(c), Fe = zl.isRtl() ? { attributes: { dir: "rtl" } } : {}, it = { attributes: (m = {}, m[Jp] = ve ? fl.BottomToTop : fl.TopToBottom, m) }, Ve = function() {
57474
+ var m, y, C, T, I = c.inline, B = I ? ET : bT, F = I0(c) ? Jk : Uk, H = $.none(), z = mr(), Q = z.browser.isIE() ? ["tox-platform-ie"] : [], te = z.deviceType.isTouch() ? ["tox-platform-touch"] : [], ve = A4(c), De = Tg(c), Fe = zl.isRtl() ? { attributes: { dir: "rtl" } } : {}, it = { attributes: (m = {}, m[Jp] = ve ? fl.BottomToTop : fl.TopToBottom, m) }, Ve = function() {
57534
57475
  return H.bind(Ci.getHeader);
57535
57476
  }, ft = function() {
57536
57477
  Lo(df.element, "width", document.body.clientWidth + "px");
@@ -57568,7 +57509,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57568
57509
  }), c.addQueryStateHandler("ToggleToolbarDrawer", function() {
57569
57510
  return Ci.isToolbarDrawerToggled(Ia);
57570
57511
  });
57571
- var n1 = m4(Ia), df = m4(He);
57512
+ var n1 = hC(Ia), df = hC(He);
57572
57513
  (function($r, Ha, ff) {
57573
57514
  var o1 = function(ui, gv) {
57574
57515
  nt([Ha, ff], function(Aw) {
@@ -57636,7 +57577,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57636
57577
  }(c), function(fr, oa) {
57637
57578
  c.ui.registry.addGroupToolbarButton(oa, fr);
57638
57579
  });
57639
- var $r = c.ui.registry.getAll(), Ha = $r.buttons, ff = $r.menuItems, o1 = $r.contextToolbars, pf = $r.sidebars, hv = up(c), Iw = { menuItems: ff, menus: AC(c), menubar: D6(c), toolbar: hv.getOrThunk(function() {
57580
+ var $r = c.ui.registry.getAll(), Ha = $r.buttons, ff = $r.menuItems, o1 = $r.contextToolbars, pf = $r.sidebars, hv = up(c), Iw = { menuItems: ff, menus: O4(c), menubar: D6(c), toolbar: hv.getOrThunk(function() {
57640
57581
  return function(fr) {
57641
57582
  return fr.getParam("toolbar", !0);
57642
57583
  }(c);
@@ -57957,7 +57898,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57957
57898
  }), F = $N(B).smartTabHeight;
57958
57899
  return P_.sketch({ dom: { tag: "div", classes: ["tox-dialog__body"] }, onChangeTab: function(H, z, Q) {
57959
57900
  var te = $n.getValue(z);
57960
- ho(H, _4, { name: te, oldName: I.get() }), I.set(te);
57901
+ ho(H, _C, { name: te, oldName: I.get() }), I.set(te);
57961
57902
  }, tabs: B, components: [P_.parts.tabbar({ dom: { tag: "div", classes: ["tox-dialog__body-nav"] }, components: [_x.parts.tabs({})], markers: { tabClass: "tox-tab", selectedClass: "tox-dialog__body-nav-item--active" }, tabbarBehaviours: zn([jr.config({})]) }), P_.parts.tabview({ dom: { tag: "div", classes: ["tox-dialog__body-content"] } })], selectFirst: F.selectFirst, tabSectionBehaviours: zn([Xo("tabpanel", F.extraEvents), bo.config({ mode: "acyclic" }), nr.config({ find: function(H) {
57962
57903
  return qn(P_.getViewItems(H));
57963
57904
  } }), $n.config({ store: { mode: "manual", getValue: function(H) {
@@ -58109,7 +58050,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
58109
58050
  return !Gi(Fe.element, De);
58110
58051
  }).each(z);
58111
58052
  });
58112
- }), C(_4, function(I, B, F) {
58053
+ }), C(_C, function(I, B, F) {
58113
58054
  B.onTabChange(I, { newTabName: F.name, oldTabName: F.oldName });
58114
58055
  }), Qs(function(I) {
58115
58056
  var B = c();
@@ -73202,7 +73143,7 @@ const _sfc_main = defineComponent({ __name: "index", props: { offset: { type: Nu
73202
73143
  const X = resolveDirective("resize");
73203
73144
  return openBlock(), createElementBlock("div", { ref_key: "affixMainRef", ref: a, class: "yx-affix", style: normalizeStyle({ height: l.value ? d.value.height : void 0 }) }, [withDirectives((openBlock(), createElementBlock("div", { ref_key: "affixRef", ref: s, style: normalizeStyle(G.value), class: normalizeClass([{ "is-fixed": l.value, "is-top": r.position === "top", "is-bottom": r.position === "bottom" }, "yx-affix-content"]) }, [renderSlot(W.$slots, "default", {}, void 0, !0)], 6)), [[X, x]])], 4);
73204
73145
  };
73205
- } }), index_vue_vue_type_style_index_0_scoped_417c4495_lang = "", YxAffix = _export_sfc(_sfc_main, [["__scopeId", "data-v-417c4495"]]), components = [YxAffix, Breadcrumb, DepartmentTree, hamburger, SvgIcon, SuperGrid, DepartmentUserTree, WorkgroupTree, WorkgroupUserTree, InlineDepartmentTree, InlineDepartmentUserTree, InlineWorkgroupTree, InlineWorkgroupUserTree, WorkflowButton, WorkflowHistoryList, ValidCode, RemoveUser, RemoveDepartment, RemoveWorkgroup, OrganizationInput, SuperNineGrid, DynamicSourceSelect, FsUpload, ScanCodeInput, FsPreview, FsUploadList, YearRangePicker, MultipartUpload, RichEditor, SecretInfo, SectionDate, _sfc_main$1v, _sfc_main$P, superIcon, _sfc_main$3, ScanCodeInputBrowser, _sfc_main$J, _sfc_main$1], install = function(n) {
73146
+ } }), index_vue_vue_type_style_index_0_scoped_417c4495_lang = "", YxAffix = _export_sfc(_sfc_main, [["__scopeId", "data-v-417c4495"]]), components = [YxAffix, Breadcrumb, DepartmentTree, hamburger, SvgIcon, SuperGrid, DepartmentUserTree, WorkgroupTree, WorkgroupUserTree, InlineDepartmentTree, InlineDepartmentUserTree, InlineWorkgroupTree, InlineWorkgroupUserTree, WorkflowButton, WorkflowHistoryList, ValidCode, RemoveUser, RemoveDepartment, RemoveWorkgroup, OrganizationInput, SuperNineGrid, DynamicSourceSelect, FsUpload, ScanCodeInput, FsPreview, FsUploadList, YearRangePicker, MultipartUpload, RichEditor, SecretInfo, SectionDate, _sfc_main$1v, _sfc_main$P, _sfc_main$1J, _sfc_main$3, ScanCodeInputBrowser, _sfc_main$J, _sfc_main$1], install = function(n) {
73206
73147
  if (n.directive("prevent-reclick", PreventReclick), n.use(customPlugin), !install.installed) {
73207
73148
  n.directive("resize", resizeDirective), components.forEach((o) => {
73208
73149
  n.component(o.name, o);
@@ -73219,7 +73160,7 @@ export {
73219
73160
  Breadcrumb as B,
73220
73161
  _sfc_main$P as C,
73221
73162
  DepartmentTree as D,
73222
- superIcon as E,
73163
+ _sfc_main$1J as E,
73223
73164
  FsUpload as F,
73224
73165
  _sfc_main$3 as G,
73225
73166
  ScanCodeInputBrowser as H,