act-plus 1.1.51 → 1.1.53

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as lS, h as E$, getCurrentInstance as E3, effectScope as $Q, inject as _1, onMounted as R3, onUnmounted as HQ, computed as Pb, watch as Od, Fragment as ki, isRef as eS, ref as gr, shallowRef as VQ, createVNode as qn, Text as UQ, openBlock as ts, createElementBlock as Wa, createElementVNode as Sl, defineAsyncComponent as y1, reactive as nS, provide as mu, resolveComponent as ks, resolveDirective as oS, withDirectives as a_, createBlock as Rr, withCtx as Qn, unref as An, createSlots as WQ, renderList as Jg, resolveDynamicComponent as sY, createCommentVNode as uh, createTextVNode as gu, toDisplayString as gf, markRaw as rY, nextTick as sS, mergeProps as xG, renderSlot as T$, onBeforeUnmount as qY, normalizeStyle as jQ, toRefs as ZQ, onActivated as qQ, onDeactivated as GQ, normalizeClass as KQ } from "vue";
1
+ import { defineComponent as lS, h as E$, getCurrentInstance as E3, effectScope as $Q, inject as _1, onMounted as R3, onUnmounted as HQ, computed as Pb, watch as Od, Fragment as ki, isRef as eS, ref as ir, shallowRef as VQ, createVNode as qn, Text as UQ, openBlock as ts, createElementBlock as Wa, createElementVNode as Sl, defineAsyncComponent as y1, reactive as nS, provide as mu, resolveComponent as ks, resolveDirective as oS, withDirectives as a_, createBlock as Rr, withCtx as Qn, unref as An, createSlots as WQ, renderList as Jg, resolveDynamicComponent as sY, createCommentVNode as uh, createTextVNode as gu, toDisplayString as gf, markRaw as rY, nextTick as sS, mergeProps as xG, renderSlot as T$, onBeforeUnmount as qY, normalizeStyle as jQ, toRefs as ZQ, onActivated as qQ, onDeactivated as GQ, normalizeClass as KQ } from "vue";
2
2
  import { useRoute as N$, useRouter as GY } from "vue-router";
3
3
  import { Base64 as YQ } from "js-base64";
4
4
  import { ElNotification as Qg, dayjs as zb, ElMessageBox as aY } from "element-plus";
@@ -2280,7 +2280,7 @@ const VJ = /* @__NO_SIDE_EFFECTS__ */ () => {
2280
2280
  return w && (D = mQ(w)[DY]) ? { [DY]: D } : null;
2281
2281
  };
2282
2282
  function zG(w = {}) {
2283
- const { __root: D, __injectWithOption: W } = w, j = D === void 0, q = w.flatJson, te = dh ? gr : VQ;
2283
+ const { __root: D, __injectWithOption: W } = w, j = D === void 0, q = w.flatJson, te = dh ? ir : VQ;
2284
2284
  let oe = xa(w.inheritLocale) ? w.inheritLocale : !0;
2285
2285
  const Y = te(
2286
2286
  // prettier-ignore
@@ -3681,18 +3681,18 @@ const Pee = {
3681
3681
  emits: ["onClickRow", "refresh", "load", "operate"],
3682
3682
  setup(w, { expose: D, emit: W }) {
3683
3683
  const j = y1({
3684
- loader: () => import("./index-9e34a365.js"),
3684
+ loader: () => import("./index-6c0d996e.js"),
3685
3685
  loadingComponent: x3,
3686
3686
  delay: 20
3687
3687
  }), q = y1({
3688
- loader: () => import("./index-b6111c39.js"),
3688
+ loader: () => import("./index-9d508c6f.js"),
3689
3689
  loadingComponent: x3,
3690
3690
  delay: 20
3691
3691
  }), te = y1({
3692
3692
  loader: () => Promise.resolve().then(() => ute),
3693
3693
  loadingComponent: x3,
3694
3694
  delay: 20
3695
- }), oe = y1(() => import("./index-923602f1.js")), Y = y1(() => import("./index-e2f8fca5.js")), { t: me } = BT(), Ge = _1("actModules"), lt = _1("request"), bt = _1("themeColor"), Fe = N$(), et = GY(), nt = W, Ye = w, Me = () => ({
3695
+ }), oe = y1(() => import("./index-4d730424.js")), Y = y1(() => import("./index-81a254a8.js")), { t: me } = BT(), Ge = _1("actModules"), lt = _1("request"), bt = _1("themeColor"), Fe = N$(), et = GY(), nt = W, Ye = w, Me = () => ({
3696
3696
  pageLoading: !1,
3697
3697
  tableLoading: !1,
3698
3698
  tableTotal: 0,
@@ -3707,14 +3707,14 @@ const Pee = {
3707
3707
  editorDialogTitle: "",
3708
3708
  dialogData: {}
3709
3709
  });
3710
- let Se = nS(Me()), re = gr("loading"), U = gr([]), be = {}, it = [], He = gr([]), B = gr([]), vt = gr([]), St = gr([]), Bt = gr([]), We = gr({});
3711
- const ye = gr(null), Vn = gr(null), ze = gr(null), xe = gr(null), S = gr(0), gt = (at) => lt({ url: "/api/v1/sysOperate/getMenuOfOperateByRole", method: "post", data: at }), Xe = (at) => lt({ url: `/api/v1/pages/getPageDetail?key=${at}`, method: "get" }), gn = () => {
3710
+ let Se = nS(Me()), re = ir("loading"), U = ir([]), be = {}, it = [], He = ir([]), B = ir([]), vt = ir([]), St = ir([]), Bt = ir([]), We = ir({});
3711
+ const ye = ir(null), Vn = ir(null), ze = ir(null), xe = ir(null), S = ir(0), gt = (at) => lt({ url: "/api/v1/sysOperate/getMenuOfOperateByRole", method: "post", data: at }), Xe = (at) => lt({ url: `/api/v1/pages/getPageDetail?key=${at}`, method: "get" }), gn = () => {
3712
3712
  Se = nS(Me()), re.value = "loading", U.value = [], be = {}, it = [], He.value = [], B.value = [], vt.value = [], St.value = [], Bt.value = [];
3713
3713
  }, jt = () => {
3714
3714
  sS(() => {
3715
3715
  setTimeout(() => {
3716
- var an, $n, wt, bn, Xn, Lo, Es;
3717
- const at = (($n = (an = ye.value) == null ? void 0 : an.$el) == null ? void 0 : $n.offsetHeight) || 0, Yt = ((bn = (wt = Vn.value) == null ? void 0 : wt.$el) == null ? void 0 : bn.offsetHeight) || 0, kn = ((Lo = (Xn = ze.value) == null ? void 0 : Xn.$el) == null ? void 0 : Lo.offsetHeight) || 0, ro = at - Yt - kn - 6;
3716
+ var an, Bn, wt, bn, Xn, Lo, Es;
3717
+ const at = ((Bn = (an = ye.value) == null ? void 0 : an.$el) == null ? void 0 : Bn.offsetHeight) || 0, Yt = ((bn = (wt = Vn.value) == null ? void 0 : wt.$el) == null ? void 0 : bn.offsetHeight) || 0, kn = ((Lo = (Xn = ze.value) == null ? void 0 : Xn.$el) == null ? void 0 : Lo.offsetHeight) || 0, ro = at - Yt - kn - 6;
3718
3718
  S.value = Ye.maxHeight > 0 ? Ye.maxHeight : (Es = be == null ? void 0 : be.tableConfig) != null && Es.isPagination ? ro - 48 : ro;
3719
3719
  }, 500);
3720
3720
  });
@@ -3739,8 +3739,8 @@ const Pee = {
3739
3739
  }, Pe = (at, Yt) => {
3740
3740
  if (!(Yt.row && Object.keys(Yt.row).length))
3741
3741
  return;
3742
- const ro = (Yt.row[at.fieldKey] ?? "").split(";"), an = ro && ro.length ? ro[0] : "", $n = an.substring(an.lastIndexOf(".") + 1);
3743
- return /(gif|jpg|jpeg|png|pdf|bmp|webp|GIF|JPG|PDF|PNG|JPEG)$/.test($n);
3742
+ const ro = (Yt.row[at.fieldKey] ?? "").split(";"), an = ro && ro.length ? ro[0] : "", Bn = an.substring(an.lastIndexOf(".") + 1);
3743
+ return /(gif|jpg|jpeg|png|pdf|bmp|webp|GIF|JPG|PDF|PNG|JPEG)$/.test(Bn);
3744
3744
  }, _t = (at, Yt) => {
3745
3745
  if (!(Yt.row && Object.keys(Yt.row).length))
3746
3746
  return;
@@ -3771,8 +3771,8 @@ const Pee = {
3771
3771
  const at = be.fields.filter((Yt) => (Yt.formCustomComponentes ?? []).some((kn) => kn.permissionCode == "tableShow" && kn.isFieldCustom));
3772
3772
  Bt.value = await Promise.all(
3773
3773
  at.map(async (Yt) => {
3774
- const kn = Yt.formCustomComponentes.find((wt) => wt.permissionCode == "tableShow"), { customComponentUrl: ro, customComponentName: an } = kn, $n = await Zt(ro);
3775
- return Yt.customTableHeaderName = an, Yt.customTableHeaderUrl = ro, Yt[`customTableHeaderInstance_${an}`] = $n, Yt.headerItem = {
3774
+ const kn = Yt.formCustomComponentes.find((wt) => wt.permissionCode == "tableShow"), { customComponentUrl: ro, customComponentName: an } = kn, Bn = await Zt(ro);
3775
+ return Yt.customTableHeaderName = an, Yt.customTableHeaderUrl = ro, Yt[`customTableHeaderInstance_${an}`] = Bn, Yt.headerItem = {
3776
3776
  label: Yt.fieldName,
3777
3777
  prop: Yt.fieldKey,
3778
3778
  align: Yt.tableCellAlignType,
@@ -3822,8 +3822,8 @@ const Pee = {
3822
3822
  bn.fieldValue == "" ? null : bn.fieldValue == "true" || bn.fieldValue == "false" ? ko(bn.fieldValue) : bn.fieldValue
3823
3823
  );
3824
3824
  return wt += Es, Xn !== at.matchFields.length - 1 && (wt += bn.spliceCondition || "&&"), wt;
3825
- }, "").split("||"), $n = an.reduce((wt, bn, Xn) => (wt += `(${bn})`, Xn < an.length - 1 && (wt += "||"), wt), "");
3826
- return new Function(`return ${$n}`)();
3825
+ }, "").split("||"), Bn = an.reduce((wt, bn, Xn) => (wt += `(${bn})`, Xn < an.length - 1 && (wt += "||"), wt), "");
3826
+ return new Function(`return ${Bn}`)();
3827
3827
  }, G = (at, Yt) => Object.keys(Yt).length ? U.value.some((kn) => kn.unique == at.permissionCode) && $(at, Yt) : !1, ue = (at, Yt) => {
3828
3828
  try {
3829
3829
  return at.length ? at.reduce((kn, ro) => (kn[ro.submitFieldName] = pe(ro.submitFieldType, ro.matchType === "default" || !Yt ? ro.matchFieldName : Yt[ro.matchFieldName]), kn), {}) : {};
@@ -3873,25 +3873,25 @@ const Pee = {
3873
3873
  }
3874
3874
  }, En = async (at) => {
3875
3875
  try {
3876
- const Yt = (at || []).filter(($n) => $n.useScenes.some((wt) => ["tableShow"].includes(wt))).sort(($n, wt) => $n.sort - wt.sort), kn = ["editor", "upload", "date"];
3877
- let ro = Yt.map(($n) => {
3878
- const wt = $n.formCustomComponentes.some((bn) => bn.permissionCode == "tableShow" && bn.isFieldCustom);
3876
+ const Yt = (at || []).filter((Bn) => Bn.useScenes.some((wt) => ["tableShow"].includes(wt))).sort((Bn, wt) => Bn.sort - wt.sort), kn = ["editor", "upload", "date"];
3877
+ let ro = Yt.map((Bn) => {
3878
+ const wt = Bn.formCustomComponentes.some((bn) => bn.permissionCode == "tableShow" && bn.isFieldCustom);
3879
3879
  return {
3880
- label: $n.fieldName,
3881
- prop: $n.fieldKey,
3882
- align: $n.tableCellAlignType,
3883
- width: $n.tableCellWidthType == "default" ? $n.tableCellWidth : "",
3884
- minWidth: $n.tableCellWidthType == "min" ? $n.tableCellWidth : "",
3885
- showOverflowTooltip: $n.isTableCellOverflowTooltip || !1,
3886
- sort: $n.isTableCellSort || !1,
3887
- render: !!$n.fieldRequestUrl || $n.tableCellContentType == "link" || kn.includes($n.fieldType),
3880
+ label: Bn.fieldName,
3881
+ prop: Bn.fieldKey,
3882
+ align: Bn.tableCellAlignType,
3883
+ width: Bn.tableCellWidthType == "default" ? Bn.tableCellWidth : "",
3884
+ minWidth: Bn.tableCellWidthType == "min" ? Bn.tableCellWidth : "",
3885
+ showOverflowTooltip: Bn.isTableCellOverflowTooltip || !1,
3886
+ sort: Bn.isTableCellSort || !1,
3887
+ render: !!Bn.fieldRequestUrl || Bn.tableCellContentType == "link" || kn.includes(Bn.fieldType),
3888
3888
  isCustomTableHeader: wt
3889
3889
  };
3890
3890
  });
3891
3891
  be.tableConfig.isSerialNumber && ro.unshift({ prop: "serialNumber", width: 80 }), be.tableConfig.isCheckRow && ro.unshift({ prop: "checkbox", width: 50 });
3892
- const an = B.value.filter(($n) => U.value.some((wt) => wt.unique == $n.permissionCode));
3892
+ const an = B.value.filter((Bn) => U.value.some((wt) => wt.unique == Bn.permissionCode));
3893
3893
  be.tableConfig.isOperateRow && an.length && ro.push({ label: me("act.operate"), prop: "operate", width: be.tableConfig.tableOperateCellWidth, render: !0, fixed: "right" }), St.value = Yt.filter(
3894
- ($n) => !!$n.fieldRequestUrl && $n.useScenes.includes("tableShow") || $n.tableCellContentType == "link" || kn.includes($n.fieldType)
3894
+ (Bn) => !!Bn.fieldRequestUrl && Bn.useScenes.includes("tableShow") || Bn.tableCellContentType == "link" || kn.includes(Bn.fieldType)
3895
3895
  ), He.value = ro;
3896
3896
  } catch (Yt) {
3897
3897
  console.error(Yt);
@@ -3902,9 +3902,9 @@ const Pee = {
3902
3902
  Yt.field == at.fieldKey && Yt.operate === at.tableQueryCondition && (at.queryValue = Yt.value);
3903
3903
  }), at)), Ve = (at, Yt = "queryValue") => at ? (at || []).filter((ro) => !!ro[Yt]).reduce((ro, an) => {
3904
3904
  var wt;
3905
- const $n = xt(an);
3906
- if (an.fieldType === "date" && $n["value-format"] !== "YYYY") {
3907
- const bn = $n != null && $n.dayJsType ? Tee[(wt = an.fieldUiProps) == null ? void 0 : wt.dayJsType] : "day", Xn = $n["value-format"] || "YYYY-MM-DD HH:mm:ss";
3905
+ const Bn = xt(an);
3906
+ if (an.fieldType === "date" && Bn["value-format"] !== "YYYY") {
3907
+ const bn = Bn != null && Bn.dayJsType ? Tee[(wt = an.fieldUiProps) == null ? void 0 : wt.dayJsType] : "day", Xn = Bn["value-format"] || "YYYY-MM-DD HH:mm:ss";
3908
3908
  ro = [
3909
3909
  ...ro,
3910
3910
  { field: an.fieldKey, operate: "GreaterThanOrEqual", value: zb(an.queryValue).startOf(bn).format(Xn) },
@@ -3944,19 +3944,19 @@ const Pee = {
3944
3944
  if (!kn && kn !== 0 && kn !== !1)
3945
3945
  return "";
3946
3946
  const ro = xt(at), an = Object.assign({ key: "key", value: "value" }, ro.props || {});
3947
- return ["virtualizedSelect", "virtualizedMultipleSelect"].includes(at.fieldType) && (an.key = an.label), ["multipleSelect", "select", "switch", "virtualizedSelect", "virtualizedMultipleSelect", "selectIcon"].includes(at.fieldType) ? (at.dataList || []).filter(($n) => {
3948
- const wt = at.fieldType === "selectIcon" ? `btn-${$n[an.value]}` : $n[an.value], bn = wt == "true" || wt == "false" ? ko(wt) : wt;
3947
+ return ["virtualizedSelect", "virtualizedMultipleSelect"].includes(at.fieldType) && (an.key = an.label), ["multipleSelect", "select", "switch", "virtualizedSelect", "virtualizedMultipleSelect", "selectIcon"].includes(at.fieldType) ? (at.dataList || []).filter((Bn) => {
3948
+ const wt = at.fieldType === "selectIcon" ? `btn-${Bn[an.value]}` : Bn[an.value], bn = wt == "true" || wt == "false" ? ko(wt) : wt;
3949
3949
  return Array.isArray(kn) ? kn.some((Xn) => Xn == wt == Xn) : typeof kn == "string" ? kn.split(";").includes(bn) : kn == bn;
3950
- }).map(($n) => $n[an.key]).join(";") : kn;
3950
+ }).map((Bn) => Bn[an.key]).join(";") : kn;
3951
3951
  }, Kt = async (at = []) => {
3952
3952
  try {
3953
3953
  Se.tableLoading = !0;
3954
3954
  const Yt = Ye.defaultParams.filter(
3955
- ($n) => !(be.fields ?? []).some((wt) => wt.fieldKey === $n.field && wt.tableQueryCondition === $n.operate && wt.useScenes.includes("tableSearch"))
3956
- ), kn = be.tableConfig.defaultParams.map(($n) => ({
3957
- field: $n.submitFieldName,
3958
- operate: $n.matchValue,
3959
- value: pe($n.submitFieldType, $n.defaultValue)
3955
+ (Bn) => !(be.fields ?? []).some((wt) => wt.fieldKey === Bn.field && wt.tableQueryCondition === Bn.operate && wt.useScenes.includes("tableSearch"))
3956
+ ), kn = be.tableConfig.defaultParams.map((Bn) => ({
3957
+ field: Bn.submitFieldName,
3958
+ operate: Bn.matchValue,
3959
+ value: pe(Bn.submitFieldType, Bn.defaultValue)
3960
3960
  })), ro = [...Yt, ...kn, ...Ve(at)];
3961
3961
  console.log("dynamicFilters", ro), be.tableConfig.isPagination || (Se.tableQuery.pageSize = 9999);
3962
3962
  const { data: an } = await lt({
@@ -3979,7 +3979,7 @@ const Pee = {
3979
3979
  re.value = "end";
3980
3980
  return;
3981
3981
  }
3982
- await ie(), await Dt(), await Ct(be.fields.filter(($n) => $n.useScenes.some((wt) => ["tableSearch", "tableShow"].includes(wt)))), re.value = "success";
3982
+ await ie(), await Dt(), await Ct(be.fields.filter((Bn) => Bn.useScenes.some((wt) => ["tableSearch", "tableShow"].includes(wt)))), re.value = "success";
3983
3983
  const kn = sessionStorage.getItem("accessToken"), an = JSON.parse(YQ.decode(kn.split(".")[1]))["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"];
3984
3984
  U.value = (await gt({ roleId: an, key: at })).data.datas || [], Jt(), En(be.fields), jt(), it = At(), await Kt(it), nt("load"), console.log(be);
3985
3985
  } catch (at) {
@@ -4017,8 +4017,8 @@ const Pee = {
4017
4017
  }
4018
4018
  return;
4019
4019
  }
4020
- const $n = `${at.customComponentName}-${at.permissionCode}`;
4021
- We.value[$n] && We.value[$n].onTigger({ rowData: Yt, tableSelection: Se.tableSelection });
4020
+ const Bn = `${at.customComponentName}-${at.permissionCode}`;
4021
+ We.value[Bn] && We.value[Bn].onTigger({ rowData: Yt, tableSelection: Se.tableSelection });
4022
4022
  return;
4023
4023
  }
4024
4024
  if (at.submitWay == "associationSubTable") {
@@ -4027,11 +4027,13 @@ const Pee = {
4027
4027
  }
4028
4028
  if (at.submitWay == "export") {
4029
4029
  at.opeateLoading = !0;
4030
- const $n = [...Ye.defaultParams, ...Ve(it)], wt = (at.submitFields || []).filter((Xn) => Xn.matchType == "match").reduce((Xn, Lo) => (Xn[Lo.submitFieldName] = pe(Lo.submitFieldType, Yt[Lo.matchFieldName]), Xn), {}), bn = (at.submitFields || []).filter((Xn) => Xn.matchType == "default").reduce((Xn, Lo) => (Xn[Lo.submitFieldName] = Se.tableSelection.reduce((Es, Us) => (Lo.submitFieldType === "array" ? Es = [...Es, ...pe(Lo.submitFieldType, Us[Lo.matchFieldName])] : Es = [...Es, pe(Lo.submitFieldType, Us[Lo.matchFieldName])], Es), []), Lo.submitFieldType === "string" && (Xn[Lo.submitFieldName] = Xn[Lo.submitFieldName].join()), Xn), {});
4030
+ const Bn = [...Ye.defaultParams, ...Ve(it)];
4031
+ console.log(Bn);
4032
+ const wt = (at.submitFields || []).filter((Xn) => Xn.matchType == "match").reduce((Xn, Lo) => (Xn[Lo.submitFieldName] = pe(Lo.submitFieldType, Yt[Lo.matchFieldName]), Xn), {}), bn = (at.submitFields || []).filter((Xn) => Xn.matchType == "default").reduce((Xn, Lo) => (Xn[Lo.submitFieldName] = Se.tableSelection.reduce((Es, Us) => (Lo.submitFieldType === "array" ? Es = [...Es, ...pe(Lo.submitFieldType, Us[Lo.matchFieldName])] : Es = [...Es, pe(Lo.submitFieldType, Us[Lo.matchFieldName])], Es), []), Lo.submitFieldType === "string" && (Xn[Lo.submitFieldName] = Xn[Lo.submitFieldName].join()), Xn), {});
4031
4033
  lt({
4032
4034
  url: `${at.requestUrl}`,
4033
4035
  method: "post",
4034
- data: { ...wt, ...bn, dynamicFilters: $n },
4036
+ data: { ...wt, ...bn, dynamicFilters: Bn },
4035
4037
  responseType: "blob"
4036
4038
  }).then((Xn) => {
4037
4039
  kn(Xn), nt("operate", at), at.opeateLoading = !1;
@@ -4041,12 +4043,12 @@ const Pee = {
4041
4043
  return;
4042
4044
  }
4043
4045
  if (at.submitWay == "import") {
4044
- ro({}, ($n) => {
4046
+ ro({}, (Bn) => {
4045
4047
  at.opeateLoading = !0;
4046
4048
  const wt = new FormData();
4047
4049
  return (at.submitFields || []).filter((Xn) => Xn.matchType == "default").forEach((Xn) => {
4048
4050
  wt.append(Xn.submitFieldName, pe(Xn.submitFieldType, Xn.matchFieldName));
4049
- }), wt.append("file", $n.target.files[0]), lt({
4051
+ }), wt.append("file", Bn.target.files[0]), lt({
4050
4052
  url: at.requestUrl,
4051
4053
  method: "post",
4052
4054
  headers: {
@@ -4071,7 +4073,7 @@ const Pee = {
4071
4073
  return;
4072
4074
  }
4073
4075
  at.opeateLoading = !0;
4074
- const $n = (at.submitFields || []).filter((bn) => bn.matchType == "default").reduce((bn, Xn) => (bn[Xn.submitFieldName] = pe(Xn.submitFieldType, Xn.matchFieldName), bn), {}), wt = (at.submitFields || []).filter((bn) => bn.matchType == "match").reduce((bn, Xn) => (bn[Xn.submitFieldName] = Se.tableSelection.reduce((Lo, Es) => (Xn.submitFieldType === "array" ? Lo = [...Lo, ...pe(Xn.submitFieldType, Es[Xn.matchFieldName])] : Lo = [...Lo, pe(Xn.submitFieldType, Es[Xn.matchFieldName])], Lo), []), Xn.submitFieldType === "string" && (bn[Xn.submitFieldName] = bn[Xn.submitFieldName].join()), bn), {});
4076
+ const Bn = (at.submitFields || []).filter((bn) => bn.matchType == "default").reduce((bn, Xn) => (bn[Xn.submitFieldName] = pe(Xn.submitFieldType, Xn.matchFieldName), bn), {}), wt = (at.submitFields || []).filter((bn) => bn.matchType == "match").reduce((bn, Xn) => (bn[Xn.submitFieldName] = Se.tableSelection.reduce((Lo, Es) => (Xn.submitFieldType === "array" ? Lo = [...Lo, ...pe(Xn.submitFieldType, Es[Xn.matchFieldName])] : Lo = [...Lo, pe(Xn.submitFieldType, Es[Xn.matchFieldName])], Lo), []), Xn.submitFieldType === "string" && (bn[Xn.submitFieldName] = bn[Xn.submitFieldName].join()), bn), {});
4075
4077
  aY.confirm(`${me("act.isExecuteOperate")}?`, me("act.tip"), {
4076
4078
  confirmButtonText: me("act.enter"),
4077
4079
  cancelButtonText: me("act.cancel"),
@@ -4080,7 +4082,7 @@ const Pee = {
4080
4082
  lt({
4081
4083
  url: at.requestUrl,
4082
4084
  method: "post",
4083
- data: { ...wt, ...$n }
4085
+ data: { ...wt, ...Bn }
4084
4086
  }).then((bn) => {
4085
4087
  at.opeateLoading = !1, Qg({ type: "success", title: me("act.tip"), message: `${at.btnName}${me("act.success")}`, duration: 2500 }), nt("operate", at), Kt(it);
4086
4088
  }).catch((bn) => {
@@ -4100,16 +4102,16 @@ const Pee = {
4100
4102
  url: at.requestUrl,
4101
4103
  method: "post",
4102
4104
  data: { ...ue(at.submitFields, Yt) }
4103
- }).then(($n) => {
4105
+ }).then((Bn) => {
4104
4106
  at.opeateLoading = !1, Qg({ type: "success", title: me("act.tip"), message: `${at.btnName}${me("act.success")}`, duration: 2500 }), nt("operate", at), Kt(it);
4105
- }).catch(($n) => {
4107
+ }).catch((Bn) => {
4106
4108
  at.opeateLoading = !1;
4107
4109
  });
4108
- }).catch(($n) => {
4110
+ }).catch((Bn) => {
4109
4111
  });
4110
4112
  return;
4111
4113
  }
4112
- let an = (be.fields || []).filter(($n) => $n.useScenes.includes(at.permissionCode)).map(($n) => ($n.customFiledsComponentes = $n.formCustomComponentes.find((wt) => wt.permissionCode == at.permissionCode) || {}, $n));
4114
+ let an = (be.fields || []).filter((Bn) => Bn.useScenes.includes(at.permissionCode)).map((Bn) => (Bn.customFiledsComponentes = Bn.formCustomComponentes.find((wt) => wt.permissionCode == at.permissionCode) || {}, Bn));
4113
4115
  if (!an.length) {
4114
4116
  Qg({ title: me("act.tip"), message: me("act.buttonBindField"), type: "warning", duration: 2500 });
4115
4117
  return;
@@ -4129,7 +4131,7 @@ const Pee = {
4129
4131
  Se.editorDialogTitle = `${me("act.preview")}${at.fieldName}`, Se.dialogData = { ...Yt, editorContent: Yt[at.fieldKey] }, Se.showEditorPreDialog = !0;
4130
4132
  };
4131
4133
  return D({ loadData: vn, getDynamicFiltersData: Ne, getTableData: Kt, getTableSelection: hn, setTableSelection: $t }), (at, Yt) => {
4132
- const kn = ks("el-table-column"), ro = ks("el-image"), an = ks("el-link"), $n = ks("a-svg-icon"), wt = ks("el-button"), bn = ks("el-empty"), Xn = ks("el-card"), Lo = oS("loading");
4134
+ const kn = ks("el-table-column"), ro = ks("el-image"), an = ks("el-link"), Bn = ks("a-svg-icon"), wt = ks("el-button"), bn = ks("el-empty"), Xn = ks("el-card"), Lo = oS("loading");
4133
4135
  return a_((ts(), Rr(Xn, {
4134
4136
  class: "act-module",
4135
4137
  ref_key: "actModuleRef",
@@ -4190,7 +4192,7 @@ const Pee = {
4190
4192
  onClick: (us) => Gn(ss, uo.row)
4191
4193
  }, {
4192
4194
  default: Qn(() => [
4193
- ss.btnIcon ? (ts(), Rr($n, {
4195
+ ss.btnIcon ? (ts(), Rr(Bn, {
4194
4196
  key: 0,
4195
4197
  class: "mr2",
4196
4198
  name: ss.btnIcon,
@@ -4213,7 +4215,7 @@ const Pee = {
4213
4215
  onClick: (us) => Gn(ss, uo.row)
4214
4216
  }, {
4215
4217
  default: Qn(() => [
4216
- ss.btnIcon ? (ts(), Rr($n, {
4218
+ ss.btnIcon ? (ts(), Rr(Bn, {
4217
4219
  key: 0,
4218
4220
  class: "mr2",
4219
4221
  name: ss.btnIcon,
@@ -4293,7 +4295,7 @@ const Pee = {
4293
4295
  description: An(me)("act.noConfigPage")
4294
4296
  }, {
4295
4297
  image: Qn(() => [
4296
- qn($n, {
4298
+ qn(Bn, {
4297
4299
  name: "config-nodata",
4298
4300
  width: "200",
4299
4301
  height: "200"
@@ -4309,7 +4311,7 @@ const Pee = {
4309
4311
  ]);
4310
4312
  };
4311
4313
  }
4312
- }, Hee = /* @__PURE__ */ k1($ee, [["__scopeId", "data-v-5f5a43b5"]]), Yte = [
4314
+ }, Hee = /* @__PURE__ */ k1($ee, [["__scopeId", "data-v-a003296b"]]), Yte = [
4313
4315
  { key: "按钮形式", value: "default" },
4314
4316
  { key: "文字形式", value: "text" }
4315
4317
  ], Qte = [
@@ -4368,8 +4370,8 @@ const Pee = {
4368
4370
  // { key: '关联子表', value: 'associatedChildTable' },
4369
4371
  ], ane = [
4370
4372
  { key: "默认值", value: "default" },
4371
- { key: "dynamic形式", value: "dynamic" },
4372
- { key: "匹配", value: "match" }
4373
+ { key: "匹配", value: "match" },
4374
+ { key: "dynamic", value: "dynamic" }
4373
4375
  ], cne = [
4374
4376
  { key: "数组", value: "array" },
4375
4377
  { key: "字符串", value: "string" },
@@ -4419,7 +4421,7 @@ const Pee = {
4419
4421
  formLabelWidth: 120,
4420
4422
  formLabelPosition: "top"
4421
4423
  });
4422
- let te = gr(null), oe = gr(q());
4424
+ let te = ir(null), oe = ir(q());
4423
4425
  return Od(
4424
4426
  () => j.modelValue,
4425
4427
  (Y, me) => {
@@ -4551,7 +4553,7 @@ const qee = {
4551
4553
  tableQueryLabelWidth: 100,
4552
4554
  tableQueryRowWidth: 5
4553
4555
  }), te = _1("conditionList")();
4554
- let oe = gr(null), Y = gr(q());
4556
+ let oe = ir(null), Y = ir(q());
4555
4557
  Od(
4556
4558
  () => j.modelValue,
4557
4559
  (bt, Fe) => {
@@ -4943,7 +4945,7 @@ const Kee = {
4943
4945
  },
4944
4946
  emits: ["update:modelValue"],
4945
4947
  setup(w, { expose: D, emit: W }) {
4946
- const j = N$(), q = _1("request"), te = y1(() => import("./dialogConfigBtn-b131d374.js")), oe = w, Y = () => ({
4948
+ const j = N$(), q = _1("request"), te = y1(() => import("./dialogConfigBtn-f37d0400.js")), oe = w, Y = () => ({
4947
4949
  sort: 0,
4948
4950
  permissionCode: null,
4949
4951
  requestUrl: "",
@@ -4968,7 +4970,7 @@ const Kee = {
4968
4970
  tableLoading: !1,
4969
4971
  showConfigBtnDialog: !1,
4970
4972
  dialogData: {}
4971
- }))()), lt = gr(null), bt = 0, Fe = [], et = gr([]), nt = [
4973
+ }))()), lt = ir(null), bt = 0, Fe = ir([]), et = ir([]), nt = [
4972
4974
  { prop: "checkbox", width: 60 },
4973
4975
  { prop: "serialNumber", width: 80 },
4974
4976
  { label: "按钮名称", prop: "btnName", minWidth: 200 },
@@ -4978,7 +4980,7 @@ const Kee = {
4978
4980
  { label: "是否自定义", prop: "isCustomBtn", width: 120, render: !0 },
4979
4981
  { label: "排序", prop: "sort", width: 180, render: !0 },
4980
4982
  { label: "操作", prop: "operate", width: 120, render: !0, fixed: "right" }
4981
- ], Ye = gr([]);
4983
+ ], Ye = ir([]);
4982
4984
  const Me = (He) => q({ url: "/api/v1/sysMenus/getAllList", method: "post", data: He }), Se = (He) => q({ url: "/api/v1/sysMenus/getMenuOfOperate", method: "get", params: He }), re = (He, B) => {
4983
4985
  et.value.includes(He.permissionCode) || et.value.push(He.permissionCode), Object.assign(Ye.value[bt], He), B(!0);
4984
4986
  }, U = async (He) => {
@@ -4998,7 +5000,7 @@ const Kee = {
4998
5000
  async (He, B) => {
4999
5001
  try {
5000
5002
  const vt = oe.id ? oe.id : j.params.id;
5001
- Fe = (await Me({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: vt }] })).data || [], await U(He);
5003
+ Fe.value = (await Me({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: vt }] })).data || [], await U(He);
5002
5004
  } catch (vt) {
5003
5005
  Ge.tableLoading = !1, console.error(vt);
5004
5006
  }
@@ -5078,7 +5080,7 @@ const Kee = {
5078
5080
  });
5079
5081
  };
5080
5082
  }
5081
- }, Yee = /* @__PURE__ */ k1(Kee, [["__scopeId", "data-v-399814c2"]]);
5083
+ }, Yee = /* @__PURE__ */ k1(Kee, [["__scopeId", "data-v-ca7d3608"]]);
5082
5084
  const Qee = { class: "card-header" }, Xee = {
5083
5085
  __name: "configFileds",
5084
5086
  props: {
@@ -5086,7 +5088,7 @@ const Qee = { class: "card-header" }, Xee = {
5086
5088
  },
5087
5089
  emits: ["update:modelValue"],
5088
5090
  setup(w, { emit: D }) {
5089
- const W = y1(() => import("./dialogAddField-0e19a31f.js")), j = D, q = w;
5091
+ const W = y1(() => import("./dialogAddField-53e0fc9f.js")), j = D, q = w;
5090
5092
  _1("configData")();
5091
5093
  let oe = nS((() => ({
5092
5094
  tableLoading: !1,
@@ -5103,7 +5105,7 @@ const Qee = { class: "card-header" }, Xee = {
5103
5105
  // { label: '场景自定义', prop: 'formCustomComponentes', width: 200, render: true },
5104
5106
  { label: "排序", prop: "sort", width: 200, render: !0 },
5105
5107
  { label: "操作", prop: "operate", width: 170, render: !0, fixed: "right" }
5106
- ], Ge = gr([]);
5108
+ ], Ge = ir([]);
5107
5109
  jee[0].options.map((U) => ({ btnName: U.key, permissionCode: U.value }));
5108
5110
  const lt = (U) => {
5109
5111
  if (!Reflect.has(U, "fieldType"))
@@ -5280,7 +5282,7 @@ const ete = { class: "dialog-footer" }, tte = {
5280
5282
  let me = nS((() => ({
5281
5283
  loading: !1,
5282
5284
  btnLoading: !1
5283
- }))()), Ge = gr([]), lt = gr(null), bt = gr(oe());
5285
+ }))()), Ge = ir([]), lt = ir(null), bt = ir(oe());
5284
5286
  const Fe = (re) => j({ url: "/api/v1/scripts/getAllDatabaseTable", method: "get", data: re }), et = async () => {
5285
5287
  try {
5286
5288
  me.loading = !0;
@@ -5449,7 +5451,7 @@ const ote = { class: "page-container" }, ste = { class: "submit-box" }, rte = {
5449
5451
  },
5450
5452
  setup(w) {
5451
5453
  const D = N$(), W = GY(), j = _1("request"), q = w;
5452
- let te = q.id ?? void 0, oe = q.pageKey ? q.pageKey : D.params.key, Y = gr([]), me = gr(), Ge = gr([]), lt = gr({}), bt = gr(null), Fe = gr(null), et = gr(null), nt = gr({}), Ye = gr({}), Me = gr([]), Se = gr([]), re = nS({
5454
+ let te = q.id ?? void 0, oe = q.pageKey ? q.pageKey : D.params.key, Y = ir([]), me = ir(), Ge = ir([]), lt = ir({}), bt = ir(null), Fe = ir(null), et = ir(null), nt = ir({}), Ye = ir({}), Me = ir([]), Se = ir([]), re = nS({
5453
5455
  pageLoading: !1,
5454
5456
  saveBtnLoading: !1,
5455
5457
  showDialogInitConfig: !1
@@ -5469,7 +5471,7 @@ const ote = { class: "page-container" }, ste = { class: "submit-box" }, rte = {
5469
5471
  }, St = () => {
5470
5472
  nt.value = {}, Ye.value = {}, Me.value = [], Se.value = [], vt();
5471
5473
  };
5472
- mu("conditionList", () => Ge), mu("pageKey", () => gr(oe)), mu("configData", () => lt), R3(async () => {
5474
+ mu("conditionList", () => Ge), mu("pageKey", () => ir(oe)), mu("configData", () => lt), R3(async () => {
5473
5475
  try {
5474
5476
  re.pageLoading = !0, await B(), me.value = D.params.id, Ge.value = (await He("Condition")).data || [], await vt(), re.pageLoading = !1;
5475
5477
  } catch (xe) {
@@ -5665,7 +5667,7 @@ const lte = { class: "act-table" }, ite = {
5665
5667
  emits: ["update:tableQuery", "update:selection", "refresh", "onRowClick"],
5666
5668
  setup(w, { expose: D, emit: W }) {
5667
5669
  const { t: j } = BT(), q = W, te = w;
5668
- let oe = gr(null);
5670
+ let oe = ir(null);
5669
5671
  const Y = (Ye) => te.showPagination ? Ye + 1 + (te.tableQuery.pageIndex - 1) * te.tableQuery.pageSize : Ye + 1, me = (Ye) => {
5670
5672
  sS(() => {
5671
5673
  te.data.forEach((Me) => {
@@ -5801,7 +5803,7 @@ const lte = { class: "act-table" }, ite = {
5801
5803
  emits: ["update:modelValue", "blur"],
5802
5804
  setup(w, { emit: D }) {
5803
5805
  const W = D, j = w;
5804
- let q = null, te = gr(null);
5806
+ let q = null, te = ir(null);
5805
5807
  const oe = Pb(() => ({
5806
5808
  width: typeof j.width == "string" ? j.width : j.width + "px",
5807
5809
  height: typeof j.height == "string" ? j.height : j.height + "px"
@@ -6145,7 +6147,7 @@ var SQ = { exports: {} };
6145
6147
  r(m) || o.push(m);
6146
6148
  }
6147
6149
  return o;
6148
- }, an = Object.keys, $n = Object.hasOwnProperty, wt = (e, n) => {
6150
+ }, an = Object.keys, Bn = Object.hasOwnProperty, wt = (e, n) => {
6149
6151
  const o = an(e);
6150
6152
  for (let r = 0, c = o.length; r < c; r++) {
6151
6153
  const u = o[r], m = e[u];
@@ -6180,13 +6182,13 @@ var SQ = { exports: {} };
6180
6182
  return wt(e, (r, c) => {
6181
6183
  o.push(n(r, c));
6182
6184
  }), o;
6183
- }, zs = (e) => ss(e, gn), us = (e, n) => lo(e, n) ? H.from(e[n]) : H.none(), lo = (e, n) => $n.call(e, n), Gs = (e, n) => lo(e, n) && e[n] !== void 0 && e[n] !== null, dt = (e, n, o = bt) => lt(o).eq(e, n), Nt = (e) => {
6185
+ }, zs = (e) => ss(e, gn), us = (e, n) => lo(e, n) ? H.from(e[n]) : H.none(), lo = (e, n) => Bn.call(e, n), Gs = (e, n) => lo(e, n) && e[n] !== void 0 && e[n] !== null, dt = (e, n, o = bt) => lt(o).eq(e, n), Nt = (e) => {
6184
6186
  const n = {};
6185
6187
  return Q(e, (o) => {
6186
6188
  n[o] = {};
6187
6189
  }), an(n);
6188
- }, Dn = (e) => e.length !== void 0, Bn = Array.isArray, Ko = (e) => {
6189
- if (Bn(e))
6190
+ }, Dn = (e) => e.length !== void 0, Ln = Array.isArray, Ko = (e) => {
6191
+ if (Ln(e))
6190
6192
  return e;
6191
6193
  {
6192
6194
  const n = [];
@@ -6292,7 +6294,7 @@ var SQ = { exports: {} };
6292
6294
  current: o.name,
6293
6295
  version: r
6294
6296
  };
6295
- }), Ln = (e, n) => sn(e, n).map((o) => {
6297
+ }), $n = (e, n) => sn(e, n).map((o) => {
6296
6298
  const r = $e.detect(o.versionRegexes, n);
6297
6299
  return {
6298
6300
  current: o.name,
@@ -6449,7 +6451,7 @@ var SQ = { exports: {} };
6449
6451
  freebsd: Xe(ni),
6450
6452
  chromeos: Xe(Pl)
6451
6453
  }, Ee = { detect: (e, n, o) => {
6452
- const r = ac.browsers(), c = ac.oses(), u = n.bind((_) => Ze(r, _)).orThunk(() => dn(r, e)).fold(cc.unknown, cc.nu), m = Ln(c, e).fold(Qa.unknown, Qa.nu), b = Dc(m, u, e, o);
6454
+ const r = ac.browsers(), c = ac.oses(), u = n.bind((_) => Ze(r, _)).orThunk(() => dn(r, e)).fold(cc.unknown, cc.nu), m = $n(c, e).fold(Qa.unknown, Qa.nu), b = Dc(m, u, e, o);
6453
6455
  return {
6454
6456
  browser: u,
6455
6457
  os: m,
@@ -6495,7 +6497,7 @@ var SQ = { exports: {} };
6495
6497
  isTouch: X.isTouch,
6496
6498
  isWebView: X.isWebView
6497
6499
  }
6498
- }, rn = /^\s*|\s*$/g, Wo = (e) => Bt(e) ? "" : ("" + e).replace(rn, ""), P = (e, n) => n ? n === "array" && Bn(e) ? !0 : typeof e === n : e !== void 0, le = (e, n, o = {}) => {
6500
+ }, rn = /^\s*|\s*$/g, Wo = (e) => Bt(e) ? "" : ("" + e).replace(rn, ""), P = (e, n) => n ? n === "array" && Ln(e) ? !0 : typeof e === n : e !== void 0, le = (e, n, o = {}) => {
6499
6501
  const r = U(e) ? e.split(n || ",") : e || [];
6500
6502
  let c = r.length;
6501
6503
  for (; c--; )
@@ -6515,7 +6517,7 @@ var SQ = { exports: {} };
6515
6517
  r = r || this, e && (o && (e = e[o]), ps(e, (c, u) => n.call(r, c, u, o) === !1 ? !1 : (Et(c, n, o, r), !0)));
6516
6518
  }, nn = {
6517
6519
  trim: Wo,
6518
- isArray: Bn,
6520
+ isArray: Ln,
6519
6521
  is: P,
6520
6522
  toArray: Ko,
6521
6523
  makeMap: le,
@@ -6544,14 +6546,14 @@ var SQ = { exports: {} };
6544
6546
  for (let r = 0; r < e.length; r++)
6545
6547
  e[r].each(o);
6546
6548
  return n;
6547
- }, Xo = (e, n, o) => e.isSome() && n.isSome() ? H.some(o(e.getOrDie(), n.getOrDie())) : H.none(), kc = (e, n, o, r) => e.isSome() && n.isSome() && o.isSome() ? H.some(r(e.getOrDie(), n.getOrDie(), o.getOrDie())) : H.none(), Qr = (e, n) => e ? H.some(n) : H.none(), pu = typeof window < "u" ? window : Function("return this;")(), ir = (e, n) => {
6549
+ }, Xo = (e, n, o) => e.isSome() && n.isSome() ? H.some(o(e.getOrDie(), n.getOrDie())) : H.none(), kc = (e, n, o, r) => e.isSome() && n.isSome() && o.isSome() ? H.some(r(e.getOrDie(), n.getOrDie(), o.getOrDie())) : H.none(), Qr = (e, n) => e ? H.some(n) : H.none(), pu = typeof window < "u" ? window : Function("return this;")(), ur = (e, n) => {
6548
6550
  let o = n ?? pu;
6549
6551
  for (let r = 0; r < e.length && o !== void 0 && o !== null; ++r)
6550
6552
  o = o[e[r]];
6551
6553
  return o;
6552
6554
  }, oi = (e, n) => {
6553
6555
  const o = e.split(".");
6554
- return ir(o, n);
6556
+ return ur(o, n);
6555
6557
  }, hf = (e, n) => oi(e, n), Um = (e, n) => {
6556
6558
  const o = hf(e, n);
6557
6559
  if (o == null)
@@ -6565,7 +6567,7 @@ var SQ = { exports: {} };
6565
6567
  e.setAttribute(n, o + "");
6566
6568
  else
6567
6569
  throw console.error("Invalid call to Attribute.set. Key ", n, ":: Value ", o, ":: Element ", e), new Error("Attribute value was not simple");
6568
- }, ur = (e, n, o) => {
6570
+ }, dr = (e, n, o) => {
6569
6571
  Cc(e.dom, n, o);
6570
6572
  }, Nc = (e, n) => {
6571
6573
  const o = e.dom;
@@ -6588,10 +6590,10 @@ var SQ = { exports: {} };
6588
6590
  return o === void 0 || o === "" ? [] : o.split(" ");
6589
6591
  }, Xf = (e, n, o) => {
6590
6592
  const c = Wu(e, n).concat([o]);
6591
- return ur(e, n, c.join(" ")), !0;
6593
+ return dr(e, n, c.join(" ")), !0;
6592
6594
  }, ju = (e, n, o) => {
6593
6595
  const r = ue(Wu(e, n), (c) => c !== o);
6594
- return r.length > 0 ? ur(e, n, r.join(" ")) : kr(e, n), !1;
6596
+ return r.length > 0 ? dr(e, n, r.join(" ")) : kr(e, n), !1;
6595
6597
  }, si = (e) => e.dom.classList !== void 0, Jf = (e) => Wu(e, "class"), wa = (e, n) => Xf(e, "class", n), em = (e, n) => ju(e, "class", n), ep = (e, n) => ie(Jf(e), n) ? em(e, n) : wa(e, n), Ui = (e, n) => {
6596
6598
  si(e) ? e.dom.classList.add(n) : wa(e, n);
6597
6599
  }, tp = (e) => {
@@ -7206,7 +7208,7 @@ var SQ = { exports: {} };
7206
7208
  rel: "stylesheet",
7207
7209
  type: "text/css",
7208
7210
  id: Sn.id
7209
- }), n.contentCssCors && ur(en, "crossOrigin", "anonymous"), n.referrerPolicy && ur(en, "referrerpolicy", n.referrerPolicy), Tt = en.dom, Tt.onload = Ht, Tt.onerror = Rt, _(en), ur(en, "href", tn);
7211
+ }), n.contentCssCors && dr(en, "crossOrigin", "anonymous"), n.referrerPolicy && dr(en, "referrerpolicy", n.referrerPolicy), Tt = en.dom, Tt.onload = Ht, Tt.onerror = Rt, _(en), dr(en, "href", tn);
7210
7212
  }), V = (Be, st) => {
7211
7213
  const Je = M(Be);
7212
7214
  r[Be] = Je, Je.count++;
@@ -8037,7 +8039,7 @@ var SQ = { exports: {} };
8037
8039
  }
8038
8040
  ag.Event = new ag();
8039
8041
  const x_ = nn.each, hS = nn.grep, E_ = "data-mce-style", bS = nn.makeMap("fill-opacity font-weight line-height opacity orphans widows z-index zoom", " "), Dl = (e, n, o) => {
8040
- Bt(o) || o === "" ? kr(e, n) : ur(e, n, o);
8042
+ Bt(o) || o === "" ? kr(e, n) : dr(e, n, o);
8041
8043
  }, Ti = (e) => e.replace(/[A-Z]/g, (n) => "-" + n.toLowerCase()), yn = (e, n) => {
8042
8044
  let o = 0;
8043
8045
  if (e)
@@ -8700,7 +8702,7 @@ var SQ = { exports: {} };
8700
8702
  });
8701
8703
  }, _ = (F, V) => {
8702
8704
  Q(I1(e, F), (ce) => {
8703
- V ? ur(ce, Cp(), "true") : kr(ce, Cp());
8705
+ V ? dr(ce, Cp(), "true") : kr(ce, Cp());
8704
8706
  });
8705
8707
  }, A = cg(() => {
8706
8708
  const F = Gn(n.getNames());
@@ -8893,7 +8895,7 @@ var SQ = { exports: {} };
8893
8895
  n.length === o.length && Q(o, hr);
8894
8896
  }, Ap = () => {
8895
8897
  const e = Ie.fromTag("br");
8896
- return ur(e, "data-mce-bogus", "1"), e;
8898
+ return dr(e, "data-mce-bogus", "1"), e;
8897
8899
  }, Du = (e) => {
8898
8900
  Md(e), ra(e, Ap());
8899
8901
  }, L1 = (e, n) => {
@@ -10067,7 +10069,7 @@ Required: ` + n.join(", "));
10067
10069
  default: ev.getAttrib(e.getElement(), "placeholder")
10068
10070
  });
10069
10071
  });
10070
- }, GS = Yn("iframe_attrs"), pA = Yn("doctype"), Gc = Yn("document_base_url"), hA = Yn("body_id"), wg = Yn("body_class"), ik = Yn("content_security_policy"), KS = Yn("br_in_pre"), sl = Yn("forced_root_block"), Cg = Yn("forced_root_block_attrs"), wm = Yn("newline_behavior"), YS = Yn("br_newline_selector"), bA = Yn("no_newline_selector"), yA = Yn("keep_styles"), fc = Yn("end_container_on_empty_block"), Ra = Yn("automatic_uploads"), dr = Yn("images_reuse_filename"), rl = Yn("images_replace_blob_uris"), mc = Yn("icons"), gc = Yn("icons_url"), nv = Yn("images_upload_url"), ov = Yn("images_upload_base_path"), QS = Yn("images_upload_credentials"), XS = Yn("images_upload_handler"), JS = Yn("content_css_cors"), sv = Yn("referrer_policy"), Sg = Yn("language"), rv = Yn("language_url"), vA = Yn("indent_use_margin"), Fh = Yn("indentation"), _A = Yn("content_css"), kA = Yn("content_style"), gi = Yn("font_css"), M3 = Yn("directionality"), e2 = Yn("inline_boundaries_selector"), Yi = Yn("object_resizing"), av = Yn("resize_img_proportional"), ry = Yn("placeholder"), qd = Yn("event_root"), ql = Yn("service_message"), xg = Yn("theme"), uk = Yn("theme_url"), cv = Yn("model"), t2 = Yn("model_url"), Cm = Yn("inline_boundaries"), n2 = Yn("formats"), dk = Yn("preview_styles"), o2 = Yn("format_empty_lines"), ay = Yn("format_noneditable_selector"), cy = Yn("custom_ui_selector"), ly = Yn("inline"), wA = Yn("hidden_input"), lv = Yn("submit_patch"), CA = Yn("add_form_submit_trigger"), s2 = Yn("add_unload_trigger"), SA = Yn("custom_undo_redo_levels"), iv = Yn("disable_nodechange"), r2 = Yn("readonly"), xA = Yn("editable_root"), fk = Yn("content_css_cors"), uv = Yn("plugins"), EA = Yn("external_plugins"), a2 = Yn("block_unsupported_drop"), Gl = Yn("visual"), mk = Yn("visual_table_class"), gk = Yn("visual_anchor_class"), pk = Yn("iframe_aria_text"), dv = Yn("setup"), TA = Yn("init_instance_callback"), fv = Yn("urlconverter_callback"), c2 = Yn("auto_focus"), hk = Yn("browser_spellcheck"), bk = Yn("protect"), l2 = Yn("paste_block_drop"), Bh = Yn("paste_data_images"), i2 = Yn("paste_preprocess"), u2 = Yn("paste_postprocess"), d2 = Yn("newdocument_content"), AA = Yn("paste_webkit_styles"), f2 = Yn("paste_remove_styles_if_webkit"), m2 = Yn("paste_merge_formats"), OA = Yn("smart_paste"), mv = Yn("paste_as_text"), g2 = Yn("paste_tab_spaces"), Lh = Yn("allow_html_data_urls"), p2 = Yn("text_patterns"), yk = Yn("text_patterns_lookup"), h2 = Yn("noneditable_class"), DA = Yn("editable_class"), ld = Yn("noneditable_regexp"), gv = Yn("preserve_cdata"), pv = Yn("highlight_on_focus"), al = Yn("xss_sanitization"), P3 = Yn("init_content_sync"), Qi = (e) => e.options.isSet("text_patterns_lookup"), vk = (e) => nn.explode(e.options.get("font_size_style_values")), NA = (e) => nn.explode(e.options.get("font_size_classes")), Eg = (e) => e.options.get("encoding") === "xml", iy = (e) => nn.explode(e.options.get("images_file_types")), RA = Yn("table_tab_navigation"), b2 = Yn("details_initial_state"), _k = Yn("details_serialized_state"), y2 = Yn("sandbox_iframes"), hv = (e) => e.options.get("sandbox_iframes_exclusions"), uy = Yn("convert_unsafe_embeds"), v2 = Yn("license_key"), _2 = Yn("api_key"), zA = Fn, bv = un, yv = (e) => {
10072
+ }, GS = Yn("iframe_attrs"), pA = Yn("doctype"), Gc = Yn("document_base_url"), hA = Yn("body_id"), wg = Yn("body_class"), ik = Yn("content_security_policy"), KS = Yn("br_in_pre"), sl = Yn("forced_root_block"), Cg = Yn("forced_root_block_attrs"), wm = Yn("newline_behavior"), YS = Yn("br_newline_selector"), bA = Yn("no_newline_selector"), yA = Yn("keep_styles"), fc = Yn("end_container_on_empty_block"), Ra = Yn("automatic_uploads"), fr = Yn("images_reuse_filename"), rl = Yn("images_replace_blob_uris"), mc = Yn("icons"), gc = Yn("icons_url"), nv = Yn("images_upload_url"), ov = Yn("images_upload_base_path"), QS = Yn("images_upload_credentials"), XS = Yn("images_upload_handler"), JS = Yn("content_css_cors"), sv = Yn("referrer_policy"), Sg = Yn("language"), rv = Yn("language_url"), vA = Yn("indent_use_margin"), Fh = Yn("indentation"), _A = Yn("content_css"), kA = Yn("content_style"), gi = Yn("font_css"), M3 = Yn("directionality"), e2 = Yn("inline_boundaries_selector"), Yi = Yn("object_resizing"), av = Yn("resize_img_proportional"), ry = Yn("placeholder"), qd = Yn("event_root"), ql = Yn("service_message"), xg = Yn("theme"), uk = Yn("theme_url"), cv = Yn("model"), t2 = Yn("model_url"), Cm = Yn("inline_boundaries"), n2 = Yn("formats"), dk = Yn("preview_styles"), o2 = Yn("format_empty_lines"), ay = Yn("format_noneditable_selector"), cy = Yn("custom_ui_selector"), ly = Yn("inline"), wA = Yn("hidden_input"), lv = Yn("submit_patch"), CA = Yn("add_form_submit_trigger"), s2 = Yn("add_unload_trigger"), SA = Yn("custom_undo_redo_levels"), iv = Yn("disable_nodechange"), r2 = Yn("readonly"), xA = Yn("editable_root"), fk = Yn("content_css_cors"), uv = Yn("plugins"), EA = Yn("external_plugins"), a2 = Yn("block_unsupported_drop"), Gl = Yn("visual"), mk = Yn("visual_table_class"), gk = Yn("visual_anchor_class"), pk = Yn("iframe_aria_text"), dv = Yn("setup"), TA = Yn("init_instance_callback"), fv = Yn("urlconverter_callback"), c2 = Yn("auto_focus"), hk = Yn("browser_spellcheck"), bk = Yn("protect"), l2 = Yn("paste_block_drop"), Bh = Yn("paste_data_images"), i2 = Yn("paste_preprocess"), u2 = Yn("paste_postprocess"), d2 = Yn("newdocument_content"), AA = Yn("paste_webkit_styles"), f2 = Yn("paste_remove_styles_if_webkit"), m2 = Yn("paste_merge_formats"), OA = Yn("smart_paste"), mv = Yn("paste_as_text"), g2 = Yn("paste_tab_spaces"), Lh = Yn("allow_html_data_urls"), p2 = Yn("text_patterns"), yk = Yn("text_patterns_lookup"), h2 = Yn("noneditable_class"), DA = Yn("editable_class"), ld = Yn("noneditable_regexp"), gv = Yn("preserve_cdata"), pv = Yn("highlight_on_focus"), al = Yn("xss_sanitization"), P3 = Yn("init_content_sync"), Qi = (e) => e.options.isSet("text_patterns_lookup"), vk = (e) => nn.explode(e.options.get("font_size_style_values")), NA = (e) => nn.explode(e.options.get("font_size_classes")), Eg = (e) => e.options.get("encoding") === "xml", iy = (e) => nn.explode(e.options.get("images_file_types")), RA = Yn("table_tab_navigation"), b2 = Yn("details_initial_state"), _k = Yn("details_serialized_state"), y2 = Yn("sandbox_iframes"), hv = (e) => e.options.get("sandbox_iframes_exclusions"), uy = Yn("convert_unsafe_embeds"), v2 = Yn("license_key"), _2 = Yn("api_key"), zA = Fn, bv = un, yv = (e) => {
10071
10073
  const n = e.parentNode;
10072
10074
  n && n.removeChild(e);
10073
10075
  }, IA = (e) => {
@@ -10725,12 +10727,12 @@ Required: ` + n.join(", "));
10725
10727
  n.setStart(o.startContainer, o.startOffset), n.setEnd(o.endContainer, o.endOffset), e.selection.setRng(n);
10726
10728
  }, Wp = (e, n, o, r, c, u) => {
10727
10729
  const { uid: m = n, ...b } = o;
10728
- Ui(e, Oh()), ur(e, `${Dh()}`, m), ur(e, `${Nf()}`, r);
10730
+ Ui(e, Oh()), dr(e, `${Dh()}`, m), dr(e, `${Nf()}`, r);
10729
10731
  const { attributes: _ = {}, classes: A = [] } = c(m, b);
10730
10732
  if (Nc(e, _), z3(e, A), u) {
10731
- A.length > 0 && ur(e, `${lg()}`, A.join(","));
10733
+ A.length > 0 && dr(e, `${lg()}`, A.join(","));
10732
10734
  const M = an(_);
10733
- M.length > 0 && ur(e, `${Rf()}`, M.join(","));
10735
+ M.length > 0 && dr(e, `${Rf()}`, M.join(","));
10734
10736
  }
10735
10737
  }, qk = (e) => {
10736
10738
  Zu(e, Oh()), kr(e, `${Dh()}`), kr(e, `${Nf()}`), kr(e, `${Cp()}`);
@@ -11380,12 +11382,12 @@ Required: ` + n.join(", "));
11380
11382
  })("height", (e) => {
11381
11383
  const n = e.dom;
11382
11384
  return Nd(e) ? n.getBoundingClientRect().height : n.offsetHeight;
11383
- }), po = (e) => Ho.get(e), ca = () => Ie.fromDom(document), fr = (e, n) => e.view(n).fold(Xe([]), (r) => {
11384
- const c = e.owner(r), u = fr(e, c);
11385
+ }), po = (e) => Ho.get(e), ca = () => Ie.fromDom(document), mr = (e, n) => e.view(n).fold(Xe([]), (r) => {
11386
+ const c = e.owner(r), u = mr(e, c);
11385
11387
  return [r].concat(u);
11386
11388
  }), za = (e, n) => {
11387
11389
  const o = n.owner(e);
11388
- return fr(n, o);
11390
+ return mr(n, o);
11389
11391
  };
11390
11392
  var Zp = /* @__PURE__ */ Object.freeze({
11391
11393
  __proto__: null,
@@ -11894,7 +11896,7 @@ Required: ` + n.join(", "));
11894
11896
  return n.replace(r, "");
11895
11897
  }, a8 = (e, n) => {
11896
11898
  const o = e.getDoc(), r = wi(Ie.fromDom(e.getBody())), c = Ie.fromTag("div", o);
11897
- ur(c, "data-mce-bogus", "all"), es(c, {
11899
+ dr(c, "data-mce-bogus", "all"), es(c, {
11898
11900
  position: "fixed",
11899
11901
  left: "-9999999px",
11900
11902
  top: "0"
@@ -12359,7 +12361,7 @@ Required: ` + n.join(", "));
12359
12361
  r ? (c.setStart(o.startContainer, o.startOffset), c.setEndAfter(n.dom.lastChild)) : (c.setStartBefore(n.dom.firstChild), c.setEnd(o.endContainer, o.endOffset)), xx(e, c, n, !1).each((u) => u());
12360
12362
  }, VO = (e) => {
12361
12363
  const n = Kh(e), o = Ie.fromDom(e.selection.getNode());
12362
- pp(o.dom) && Nr(e.schema, o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && pe(n, (r) => ls(r, o)) && ur(o, "data-mce-selected", "1");
12364
+ pp(o.dom) && Nr(e.schema, o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && pe(n, (r) => ls(r, o)) && dr(o, "data-mce-selected", "1");
12363
12365
  }, UO = (e, n, o) => H.some(() => {
12364
12366
  const r = e.selection.getRng(), c = o.bind(({ rng: u, isStartInTable: m }) => {
12365
12367
  const b = gI(e, m ? u.endContainer : u.startContainer);
@@ -15065,9 +15067,9 @@ Required: ` + n.join(", "));
15065
15067
  We(c) && (c.allowedTags[F] = !0);
15066
15068
  if (A && fe && !ce) {
15067
15069
  if (Q((b = fe.attributesForced) !== null && b !== void 0 ? b : [], (Ce) => {
15068
- ur(V, Ce.name, Ce.value === "{$uid}" ? `mce_${gM++}` : Ce.value);
15070
+ dr(V, Ce.name, Ce.value === "{$uid}" ? `mce_${gM++}` : Ce.value);
15069
15071
  }), Q((_ = fe.attributesDefault) !== null && _ !== void 0 ? _ : [], (Ce) => {
15070
- Lr(V, Ce.name) || ur(V, Ce.name, Ce.value === "{$uid}" ? `mce_${gM++}` : Ce.value);
15072
+ Lr(V, Ce.name) || dr(V, Ce.name, Ce.value === "{$uid}" ? `mce_${gM++}` : Ce.value);
15071
15073
  }), fe.attributesRequired && !pe(fe.attributesRequired, (Ce) => Lr(V, Ce))) {
15072
15074
  ai(V);
15073
15075
  return;
@@ -16464,7 +16466,7 @@ Options:${m}${o.join(m)}` : "";
16464
16466
  }, Im = (e) => /^[a-z0-9\-]+$/i.test(e), Gw = (e) => "content/" + e + "/content.css", yH = (e) => tinymce.Resource.has(Gw(e)), vH = (e) => _P(e, _A(e)), _H = (e) => _P(e, gi(e)), _P = (e, n) => {
16465
16467
  const o = e.editorManager.baseURL + "/skins/content", c = `content${e.editorManager.suffix}.css`;
16466
16468
  return Oe(n, (u) => yH(u) ? u : Im(u) && !e.inline ? `${o}/${u}/${c}` : e.documentBaseURI.toAbsolute(u));
16467
- }, mr = (e) => {
16469
+ }, gr = (e) => {
16468
16470
  e.contentCSS = e.contentCSS.concat(vH(e), _H(e));
16469
16471
  }, kH = (e) => e ? Yt(e.getElementsByTagName("img")) : [], Kw = (e, n) => {
16470
16472
  const o = {};
@@ -16675,7 +16677,7 @@ Options:${m}${o.join(m)}` : "";
16675
16677
  }, F = (Je, Tt) => {
16676
16678
  const tn = e.convertURL(Tt, "src");
16677
16679
  M(Je.src, Tt), Nc(Ie.fromDom(Je), {
16678
- src: dr(e) ? b(Tt) : Tt,
16680
+ src: fr(e) ? b(Tt) : Tt,
16679
16681
  "data-mce-src": tn
16680
16682
  });
16681
16683
  }, V = () => (o || (o = nh(e, c)), Ce().then(m((Je) => {
@@ -20092,7 +20094,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
20092
20094
  const o = n.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);
20093
20095
  return We(o) ? e.dom.encode(o[1]) : void 0;
20094
20096
  }, DL = (e, n, o, r) => {
20095
- const c = LW(), u = dr(e) && We(o.name), m = u ? $W(e, o.name) : c, b = u ? o.name : void 0, _ = n.create(c, o, r, m, b);
20097
+ const c = LW(), u = fr(e) && We(o.name), m = u ? $W(e, o.name) : c, b = u ? o.name : void 0, _ = n.create(c, o, r, m, b);
20096
20098
  return n.add(_), _;
20097
20099
  }, xR = (e, n) => {
20098
20100
  db(n.uri).each(({ data: o, type: r, base64Encoded: c }) => {
@@ -20736,7 +20738,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
20736
20738
  }, Be = (Wn, Ht) => {
20737
20739
  const Rt = Ie.fromDom(e.getBody()), en = e.getDoc(), eo = mo(Rt, "#" + u).getOrThunk(() => {
20738
20740
  const Cs = Ie.fromHtml('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>', en);
20739
- return ur(Cs, "id", u), ra(Rt, Cs), Cs;
20741
+ return dr(Cs, "id", u), ra(Rt, Cs), Cs;
20740
20742
  }), vo = o.createRng();
20741
20743
  Md(eo), Qu(eo, [
20742
20744
  Ie.fromText(qa, en),
@@ -21323,7 +21325,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
21323
21325
  !U(_2(e)) && (St(n) || x5(n) === "INVALID") && console.warn("TinyMCE is running in evaluation mode. Provide a valid license key or add license_key: 'gpl' to the init config to agree to the open source license terms. Read more at https://www.tiny.cloud/license-key/");
21324
21326
  }, UR = Yr.DOM, E5 = (e, n) => {
21325
21327
  const o = Ie.fromDom(e.getBody()), r = rm(wi(o)), c = Ie.fromTag("style");
21326
- ur(c, "type", "text/css"), ra(c, Ie.fromText(n)), ra(r, c), e.on("remove", () => {
21328
+ dr(c, "type", "text/css"), ra(c, Ie.fromText(n)), ra(r, c), e.on("remove", () => {
21327
21329
  hr(c);
21328
21330
  });
21329
21331
  }, fZ = (e) => e.inline ? e.getElement().nodeName.toLowerCase() : void 0, WR = (e) => uo(e, (n) => St(n) === !1), T5 = (e) => {
@@ -21533,7 +21535,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
21533
21535
  });
21534
21536
  }, GR = _t, R5 = (e, n, o) => E(e, n, GR, o), pT = Yr.DOM, _Z = (e, n, o, r) => {
21535
21537
  const c = Ie.fromTag("iframe");
21536
- return r.each((u) => ur(c, "tabindex", u)), Nc(c, o), Nc(c, {
21538
+ return r.each((u) => dr(c, "tabindex", u)), Nc(c, o), Nc(c, {
21537
21539
  id: e + "_ifr",
21538
21540
  frameBorder: "0",
21539
21541
  allowTransparency: "true",
@@ -21634,7 +21636,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
21634
21636
  }, vT = async (e) => {
21635
21637
  e.dispatch("ScriptsLoaded"), bT(e), lh(e), yT(e), hT(e);
21636
21638
  const n = await xZ(e);
21637
- QR(e, H.from(n.api).getOr({})), e.editorContainer = n.editorContainer, mr(e), e.inline ? qR(e) : I5(e, {
21639
+ QR(e, H.from(n.api).getOr({})), e.editorContainer = n.editorContainer, gr(e), e.inline ? qR(e) : I5(e, {
21638
21640
  editorContainer: n.editorContainer,
21639
21641
  iframeContainer: n.iframeContainer
21640
21642
  });
@@ -22171,7 +22173,7 @@ Input object: ` + FE(e.input), uB = (e, n) => BE(e, bn(n, W4)), sU = Xe(Y9), SC
22171
22173
  e.dom.contentEditable = n ? "true" : "false";
22172
22174
  }, c3 = (e) => {
22173
22175
  Q(Zc(e, '*[contenteditable="true"]'), (n) => {
22174
- ur(n, l1, "true"), ZC(n, !1);
22176
+ dr(n, l1, "true"), ZC(n, !1);
22175
22177
  });
22176
22178
  }, gq = (e) => {
22177
22179
  Q(Zc(e, `*[${l1}="true"]`), (n) => {
@@ -23441,7 +23443,7 @@ var mte = [
23441
23443
  }, fG = { selector: void 0, target: void 0 }, Tte = lS({
23442
23444
  props: Ste,
23443
23445
  setup: function(w, D) {
23444
- var W = w.init ? Mb(Mb({}, w.init), fG) : Mb({}, fG), j = ZQ(w), q = j.disabled, te = j.modelValue, oe = j.tagName, Y = gr(null), me = null, Ge = w.id || xQ("tiny-vue"), lt = w.init && w.init.inline || w.inline, bt = !!D.attrs["onUpdate:modelValue"], Fe = !0, et = w.initialValue ? w.initialValue : "", nt = "", Ye = function(re) {
23446
+ var W = w.init ? Mb(Mb({}, w.init), fG) : Mb({}, fG), j = ZQ(w), q = j.disabled, te = j.modelValue, oe = j.tagName, Y = ir(null), me = null, Ge = w.id || xQ("tiny-vue"), lt = w.init && w.init.inline || w.inline, bt = !!D.attrs["onUpdate:modelValue"], Fe = !0, et = w.initialValue ? w.initialValue : "", nt = "", Ye = function(re) {
23445
23447
  return bt ? function() {
23446
23448
  return te != null && te.value ? te.value : "";
23447
23449
  } : function() {
@@ -23932,10 +23934,10 @@ tinymce.IconManager.add("default", {
23932
23934
  if (h == null)
23933
23935
  throw new Error(i + " not available on this browser");
23934
23936
  return h;
23935
- }, an = Object.getPrototypeOf, $n = (i) => ro("HTMLElement", i), wt = (i) => {
23937
+ }, an = Object.getPrototypeOf, Bn = (i) => ro("HTMLElement", i), wt = (i) => {
23936
23938
  const f = Yt("ownerDocument.defaultView", i);
23937
- return Y(i) && ($n(f).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(an(i).constructor.name));
23938
- }, bn = 8, Xn = 9, Lo = 11, Es = 1, Us = 3, uo = (i) => i.dom.nodeName.toLowerCase(), ss = (i) => i.dom.nodeType, zs = (i) => (f) => ss(f) === i, us = (i) => ss(i) === bn || uo(i) === "#comment", lo = (i) => Gs(i) && wt(i.dom), Gs = zs(Es), dt = zs(Us), Nt = zs(Xn), Dn = zs(Lo), Bn = (i) => (f) => Gs(f) && uo(f) === i, Ko = (i, f, h) => {
23939
+ return Y(i) && (Bn(f).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(an(i).constructor.name));
23940
+ }, bn = 8, Xn = 9, Lo = 11, Es = 1, Us = 3, uo = (i) => i.dom.nodeName.toLowerCase(), ss = (i) => i.dom.nodeType, zs = (i) => (f) => ss(f) === i, us = (i) => ss(i) === bn || uo(i) === "#comment", lo = (i) => Gs(i) && wt(i.dom), Gs = zs(Es), dt = zs(Us), Nt = zs(Xn), Dn = zs(Lo), Ln = (i) => (f) => Gs(f) && uo(f) === i, Ko = (i, f, h) => {
23939
23941
  if (oe(h) || lt(h) || Ye(h))
23940
23942
  i.setAttribute(f, h + "");
23941
23943
  else
@@ -24005,7 +24007,7 @@ tinymce.IconManager.add("default", {
24005
24007
  }, sn = (i, f) => {
24006
24008
  const h = f === void 0 ? document : f.dom;
24007
24009
  return $e(h) ? ye.none() : ye.from(h.querySelector(i)).map(ut.fromDom);
24008
- }, dn = (i, f) => i.dom === f.dom, Ln = (i, f) => {
24010
+ }, dn = (i, f) => i.dom === f.dom, $n = (i, f) => {
24009
24011
  const h = i.dom, y = f.dom;
24010
24012
  return h === y ? !1 : h.contains(y);
24011
24013
  }, fo = oa, co = (i) => ut.fromDom(i.dom.ownerDocument), bo = (i) => Nt(i) ? i : co(i), Po = (i) => ut.fromDom(bo(i).dom.documentElement), Fo = (i) => ut.fromDom(bo(i).dom.defaultView), Ds = (i) => ye.from(i.dom.parentNode).map(ut.fromDom), Ls = (i) => ye.from(i.dom.parentElement).map(ut.fromDom), Ys = (i, f) => {
@@ -24196,7 +24198,7 @@ tinymce.IconManager.add("default", {
24196
24198
  return ye.none();
24197
24199
  };
24198
24200
  return h(i.dom);
24199
- }, _c = (i, f, h) => Is(i, (y) => oa(y, f), h), Xo = (i, f) => Ws(i, (h) => oa(h, f)), kc = (i, f) => sn(f, i), Qr = (i, f, h) => $s((T, z) => oa(T, z), _c, i, f, h), pu = (i, f, h = it) => i.exists((y) => h(y, f)), ir = (i) => {
24201
+ }, _c = (i, f, h) => Is(i, (y) => oa(y, f), h), Xo = (i, f) => Ws(i, (h) => oa(h, f)), kc = (i, f) => sn(f, i), Qr = (i, f, h) => $s((T, z) => oa(T, z), _c, i, f, h), pu = (i, f, h = it) => i.exists((y) => h(y, f)), ur = (i) => {
24200
24202
  const f = [], h = (y) => {
24201
24203
  f.push(y);
24202
24204
  };
@@ -24235,7 +24237,7 @@ tinymce.IconManager.add("default", {
24235
24237
  }, Cc = (i, f) => {
24236
24238
  const h = i.dom, y = f.dom;
24237
24239
  ht(h) && ht(y) && (y.style.cssText = h.style.cssText);
24238
- }, ur = (i, f, h = 0) => yr(i, f).map((y) => parseInt(y, 10)).getOr(h), Nc = (i, f) => ur(i, f, 1), lc = (i) => Bn("col")(i) ? ur(i, "span", 1) > 1 : Nc(i, "colspan") > 1, Xr = (i) => Nc(i, "rowspan") > 1, Lr = (i, f) => parseInt(ar(i, f), 10), kr = U(10), Vu = U(10), Uu = (i, f) => Wu(i, f, We), Wu = (i, f, h) => Zt(wo(i), (y) => oa(y, f) ? h(y) ? [y] : [] : Wu(y, f, h)), Xf = (i, f, h = Bt) => {
24240
+ }, dr = (i, f, h = 0) => yr(i, f).map((y) => parseInt(y, 10)).getOr(h), Nc = (i, f) => dr(i, f, 1), lc = (i) => Ln("col")(i) ? dr(i, "span", 1) > 1 : Nc(i, "colspan") > 1, Xr = (i) => Nc(i, "rowspan") > 1, Lr = (i, f) => parseInt(ar(i, f), 10), kr = U(10), Vu = U(10), Uu = (i, f) => Wu(i, f, We), Wu = (i, f, h) => Zt(wo(i), (y) => oa(y, f) ? h(y) ? [y] : [] : Wu(y, f, h)), Xf = (i, f, h = Bt) => {
24239
24241
  if (h(f))
24240
24242
  return ye.none();
24241
24243
  if (gt(i, uo(f)))
@@ -24248,13 +24250,13 @@ tinymce.IconManager.add("default", {
24248
24250
  ], i, f), si = (i) => Uu(i, "th,td"), Jf = (i) => oa(i, "colgroup") ? Et(i, "col") : Zt(ep(i), (f) => Et(f, "col")), wa = (i, f) => Qr(i, "table", f), em = (i) => Uu(i, "tr"), ep = (i) => wa(i).fold(U([]), (f) => Et(f, "colgroup")), Ui = (i, f) => jt(i, (h) => {
24249
24251
  if (uo(h) === "colgroup") {
24250
24252
  const y = jt(Jf(h), (T) => {
24251
- const z = ur(T, "span", 1);
24253
+ const z = dr(T, "span", 1);
24252
24254
  return ni(T, 1, z);
24253
24255
  });
24254
24256
  return qr(h, y, "colgroup");
24255
24257
  } else {
24256
24258
  const y = jt(si(h), (T) => {
24257
- const z = ur(T, "rowspan", 1), Z = ur(T, "colspan", 1);
24259
+ const z = dr(T, "rowspan", 1), Z = dr(T, "colspan", 1);
24258
24260
  return ni(T, z, Z);
24259
24261
  });
24260
24262
  return qr(h, y, f(h));
@@ -24574,8 +24576,8 @@ tinymce.IconManager.add("default", {
24574
24576
  const wn = Gn(T, cn.toString()), Mo = Fl(no.element, no.rowspan, no.colspan, ae, cn, wn);
24575
24577
  for (let Ho = 0; Ho < no.colspan; Ho++)
24576
24578
  for (let po = 0; po < no.rowspan; po++) {
24577
- const ca = ae + po, fr = cn + Ho, za = Id(ca, fr);
24578
- f[za] = Mo, Z = Math.max(Z, fr + 1);
24579
+ const ca = ae + po, mr = cn + Ho, za = Id(ca, mr);
24580
+ f[za] = Mo, Z = Math.max(Z, mr + 1);
24579
24581
  }
24580
24582
  xn.push(Mo);
24581
24583
  }), z++, h.push(qr(Rn.element, xn, Rn.section)), ae++;
@@ -24735,7 +24737,7 @@ tinymce.IconManager.add("default", {
24735
24737
  value: T,
24736
24738
  unit: z
24737
24739
  }) : ye.none();
24738
- }), xf = /(\d+(\.\d+)?)%/, Fn = /(\d+(\.\d+)?)px|em/, Ci = Bn("col"), yh = Bn("tr"), lm = (i, f, h) => {
24740
+ }), xf = /(\d+(\.\d+)?)%/, Fn = /(\d+(\.\d+)?)px|em/, Ci = Ln("col"), yh = Ln("tr"), lm = (i, f, h) => {
24739
24741
  const y = Ls(i).getOrThunk(() => Wo(co(i)));
24740
24742
  return f(i) / h(y) * 100;
24741
24743
  }, Zi = (i, f) => {
@@ -24767,7 +24769,7 @@ tinymce.IconManager.add("default", {
24767
24769
  "empty"
24768
24770
  ])), Qt = (i, f, h) => {
24769
24771
  $o(i, "width", f + h);
24770
- }, Zs = (i) => ic(i) + "px", pp = (i) => Ue(i) + "px", Ga = (i) => lm(i, ic, Yu) + "%", nl = (i) => Su(i).exists((f) => xf.test(f)), E1 = (i) => Su(i).exists((f) => Fn.test(f)), li = (i) => Su(i).isNone(), u_ = U(xf), Fd = Bn("col"), T1 = (i) => Su(i).getOrThunk(() => ec(i) + "px"), ii = (i) => uc(i).getOrThunk(() => js(i) + "px"), Hs = (i) => jt(ms.justColumns(i), (f) => ye.from(f.element)), ed = (i) => {
24772
+ }, Zs = (i) => ic(i) + "px", pp = (i) => Ue(i) + "px", Ga = (i) => lm(i, ic, Yu) + "%", nl = (i) => Su(i).exists((f) => xf.test(f)), E1 = (i) => Su(i).exists((f) => Fn.test(f)), li = (i) => Su(i).isNone(), u_ = U(xf), Fd = Ln("col"), T1 = (i) => Su(i).getOrThunk(() => ec(i) + "px"), ii = (i) => uc(i).getOrThunk(() => js(i) + "px"), Hs = (i) => jt(ms.justColumns(i), (f) => ye.from(f.element)), ed = (i) => {
24771
24773
  const f = Cf().browser, h = f.isChromium() || f.isFirefox();
24772
24774
  return Fd(i) ? h : !0;
24773
24775
  }, um = (i, f, h, y, T, z) => i.filter(y).fold(() => z(E(h, f)), (Z) => T(Z)), tc = (i, f, h, y) => {
@@ -25068,7 +25070,7 @@ tinymce.IconManager.add("default", {
25068
25070
  }, Ou = (i) => ut.fromDom(i.selection.getStart()), ng = (i) => i.getBoundingClientRect().width, p_ = (i) => i.getBoundingClientRect().height, vp = (i) => (f, h) => {
25069
25071
  const y = f.dom.getStyle(h, i) || f.dom.getAttrib(h, i);
25070
25072
  return ye.from(y).filter(de);
25071
- }, h_ = vp("width"), dS = vp("height"), fS = (i) => /^(\d+(\.\d+)?)%$/.test(i), mS = (i) => /^(\d+(\.\d+)?)px$/.test(i), og = (i) => nn(i, Bn("table")).exists(Wb), _p = (i, f) => {
25073
+ }, h_ = vp("width"), dS = vp("height"), fS = (i) => /^(\d+(\.\d+)?)%$/.test(i), mS = (i) => /^(\d+(\.\d+)?)px$/.test(i), og = (i) => nn(i, Ln("table")).exists(Wb), _p = (i, f) => {
25072
25074
  const h = f.column, y = f.column + f.colspan - 1, T = f.row, z = f.row + f.rowspan - 1;
25073
25075
  return h <= i.finishCol && y >= i.startCol && T <= i.finishRow && z >= i.startRow;
25074
25076
  }, is = (i, f) => f.column >= i.startCol && f.column + f.colspan - 1 <= i.finishCol && f.row >= i.startRow && f.row + f.rowspan - 1 <= i.finishRow, To = (i, f) => {
@@ -25088,7 +25090,7 @@ tinymce.IconManager.add("default", {
25088
25090
  const T = ms.filterItems(i, He(_p, y));
25089
25091
  return jt(T, (z) => z.element);
25090
25092
  }), $r = (i, f) => {
25091
- const h = (y, T) => Ln(T, y);
25093
+ const h = (y, T) => $n(T, y);
25092
25094
  return ms.findItem(i, f, h).map((y) => y.element);
25093
25095
  }, gS = (i, f, h) => wa(i).bind((y) => {
25094
25096
  const T = kp(y);
@@ -25253,14 +25255,14 @@ tinymce.IconManager.add("default", {
25253
25255
  start: i,
25254
25256
  finish: f
25255
25257
  });
25256
- if (Ln(T, z)) {
25258
+ if ($n(T, z)) {
25257
25259
  const Z = pt(f, "td,th", y(T)), ae = Z.length > 0 ? Z[Z.length - 1] : f;
25258
25260
  return ye.some({
25259
25261
  boxes: v_(T, i, T, f, z),
25260
25262
  start: i,
25261
25263
  finish: ae
25262
25264
  });
25263
- } else if (Ln(z, T)) {
25265
+ } else if ($n(z, T)) {
25264
25266
  const Z = pt(i, "td,th", y(z)), ae = Z.length > 0 ? Z[Z.length - 1] : i;
25265
25267
  return ye.some({
25266
25268
  boxes: v_(z, i, T, f, z),
@@ -25342,7 +25344,7 @@ tinymce.IconManager.add("default", {
25342
25344
  const y = Hr(i);
25343
25345
  Q(y).each((T) => {
25344
25346
  wa(T).each((z) => {
25345
- const Z = ot(xi(h.content), (ke) => uo(ke) !== "meta"), ae = Bn("table");
25347
+ const Z = ot(xi(h.content), (ke) => uo(ke) !== "meta"), ae = Ln("table");
25346
25348
  if (Hd(i) && Z.length === 1 && ae(Z[0])) {
25347
25349
  h.preventDefault();
25348
25350
  const ke = ut.fromDom(i.getDoc()), Le = mm(ke), kt = HT(T, Z[0], Le);
@@ -25450,7 +25452,7 @@ tinymce.IconManager.add("default", {
25450
25452
  newSizes: Z
25451
25453
  })
25452
25454
  };
25453
- }, Rf = (i) => ms.fromTable(i).grid, Sp = Bn("th"), xp = (i) => ft(i, (f) => Sp(f.element)), ZT = (i, f) => i && f ? "sectionCells" : i ? "section" : "cells", O_ = (i) => {
25455
+ }, Rf = (i) => ms.fromTable(i).grid, Sp = Ln("th"), xp = (i) => ft(i, (f) => Sp(f.element)), ZT = (i, f) => i && f ? "sectionCells" : i ? "section" : "cells", O_ = (i) => {
25454
25456
  const f = i.section === "thead", h = pu(I1(i.cells), "th");
25455
25457
  return i.section === "tfoot" ? { type: "footer" } : f || h ? {
25456
25458
  type: "header",
@@ -25599,7 +25601,7 @@ tinymce.IconManager.add("default", {
25599
25601
  }
25600
25602
  return y;
25601
25603
  }, B_ = (i, f) => Rh(i, f, !1), F1 = (i) => ug(i, dn), L_ = (i, f) => G(i.all, (h) => H(h.cells, (y) => dn(f, y.element))), CS = (i, f, h) => {
25602
- const y = jt(f.selection, (z) => ju(z).bind((Z) => L_(i, Z)).filter(h)), T = ir(y);
25604
+ const y = jt(f.selection, (z) => ju(z).bind((Z) => L_(i, Z)).filter(h)), T = ur(y);
25603
25605
  return hf(T.length > 0, T);
25604
25606
  }, yl = (i, f, h, y, T) => (z, Z, ae, ke) => {
25605
25607
  const Le = ms.fromTable(z), kt = ye.from(ke == null ? void 0 : ke.section).getOrThunk(Qb.fallback);
@@ -25993,8 +25995,8 @@ Required: ` + f.join(", "));
25993
25995
  }, nA = (i, f, h, y) => {
25994
25996
  const T = ms.generate(f), z = y.getWidths(T, y);
25995
25997
  W1(T, z, y);
25996
- }, If = (i) => Pe(i, (h, y) => Xe(h, (z) => z.column === y.column) ? h : h.concat([y]), []).sort((h, y) => h.column - y.column), PS = Bn("col"), Ih = Bn("colgroup"), Mh = (i) => uo(i) === "tr" || Ih(i), FS = (i) => {
25997
- const f = ur(i, "colspan", 1), h = ur(i, "rowspan", 1);
25998
+ }, If = (i) => Pe(i, (h, y) => Xe(h, (z) => z.column === y.column) ? h : h.concat([y]), []).sort((h, y) => h.column - y.column), PS = Ln("col"), Ih = Ln("colgroup"), Mh = (i) => uo(i) === "tr" || Ih(i), FS = (i) => {
25999
+ const f = dr(i, "colspan", 1), h = dr(i, "rowspan", 1);
25998
26000
  return {
25999
26001
  element: i,
26000
26002
  colspan: f,
@@ -26047,7 +26049,7 @@ Required: ` + f.join(", "));
26047
26049
  },
26048
26050
  merge: (y) => {
26049
26051
  const T = () => {
26050
- const z = ir(jt(y, Z1));
26052
+ const z = ur(jt(y, Z1));
26051
26053
  if (z.length === 0)
26052
26054
  return ye.none();
26053
26055
  {
@@ -26107,7 +26109,7 @@ Required: ` + f.join(", "));
26107
26109
  "hr",
26108
26110
  "input"
26109
26111
  ], i.property().name(f)), vm = rg(), Y_ = (i) => bg(vm, i), Lt = (i) => rA(vm, i), q1 = (i) => yg(vm, i), _m = (i) => {
26110
- const f = Bn("br"), h = (ke) => ft(ke, (Le) => f(Le) || dt(Le) && er(Le).trim().length === 0), y = (ke) => uo(ke) === "li" || Is(ke, Lt).isSome(), T = (ke) => ma(ke).map((Le) => Y_(Le) ? !0 : q1(Le) ? uo(Le) !== "img" : !1).getOr(!1), z = (ke) => eg(ke).bind((Le) => {
26112
+ const f = Ln("br"), h = (ke) => ft(ke, (Le) => f(Le) || dt(Le) && er(Le).trim().length === 0), y = (ke) => uo(ke) === "li" || Is(ke, Lt).isSome(), T = (ke) => ma(ke).map((Le) => Y_(Le) ? !0 : q1(Le) ? uo(Le) !== "img" : !1).getOr(!1), z = (ke) => eg(ke).bind((Le) => {
26111
26113
  const kt = T(Le);
26112
26114
  return Ds(Le).map((pn) => kt === !0 || y(pn) || f(Le) || Y_(pn) && !dn(ke, pn) ? [] : [ut.fromTag("br")]);
26113
26115
  }).getOr([]), ae = (() => {
@@ -26265,7 +26267,7 @@ Required: ` + f.join(", "));
26265
26267
  }, Ra = {
26266
26268
  structure: !1,
26267
26269
  style: !0
26268
- }, dr = {
26270
+ }, fr = {
26269
26271
  structure: !0,
26270
26272
  style: !1
26271
26273
  }, rl = {
@@ -26312,7 +26314,7 @@ Required: ` + f.join(", "));
26312
26314
  effect: $f
26313
26315
  }));
26314
26316
  }) : ye.none();
26315
- }, pn = kt(km, T, Me, dr), Mn = kt(Pc, z, Me, dr), Rn = kt(fA, We, Me, dr), xn = kt(rk, We, Me, dr), no = kt(ZS, We, ae, dr), cn = kt(Rp, We, ae, dr), wn = kt(sy, We, Me, dr), Mo = kt(lk, We, Me, dr), Ho = kt(GS, We, Me, dr), po = kt(pA, We, Me, dr), ca = kt(Gc, We, Me, dr), fr = kt(hA, We, Me, dr), za = kt(qS, We, Me, rl), nu = kt(tv, We, Me, dr), il = kt(Yn, We, Me, dr), Zp = kt(mA, We, Me, dr), qp = kt(ak, We, Me, dr), cr = kt(gA, We, Me, dr), $c = kt(ev, We, Me, dr), Kl = kt(ck, We, Me, dr);
26317
+ }, pn = kt(km, T, Me, fr), Mn = kt(Pc, z, Me, fr), Rn = kt(fA, We, Me, fr), xn = kt(rk, We, Me, fr), no = kt(ZS, We, ae, fr), cn = kt(Rp, We, ae, fr), wn = kt(sy, We, Me, fr), Mo = kt(lk, We, Me, fr), Ho = kt(GS, We, Me, fr), po = kt(pA, We, Me, fr), ca = kt(Gc, We, Me, fr), mr = kt(hA, We, Me, fr), za = kt(qS, We, Me, rl), nu = kt(tv, We, Me, fr), il = kt(Yn, We, Me, fr), Zp = kt(mA, We, Me, fr), qp = kt(ak, We, Me, fr), cr = kt(gA, We, Me, fr), $c = kt(ev, We, Me, fr), Kl = kt(ck, We, Me, fr);
26316
26318
  return {
26317
26319
  deleteRow: pn,
26318
26320
  deleteColumn: Mn,
@@ -26325,7 +26327,7 @@ Required: ` + f.join(", "));
26325
26327
  pasteColsBefore: Ho,
26326
26328
  pasteColsAfter: po,
26327
26329
  pasteRowsBefore: ca,
26328
- pasteRowsAfter: fr,
26330
+ pasteRowsAfter: mr,
26329
26331
  pasteCells: za,
26330
26332
  makeCellsHeader: nu,
26331
26333
  unmakeCellsHeader: il,
@@ -26339,7 +26341,7 @@ Required: ` + f.join(", "));
26339
26341
  getTableColType: wg
26340
26342
  };
26341
26343
  }, nv = (i, f, h) => {
26342
- const y = ur(i, f, 1);
26344
+ const y = dr(i, f, 1);
26343
26345
  h === 1 || y <= 1 ? Ks(i, f) : ps(i, f, Math.min(h, y));
26344
26346
  }, ov = (i, f) => (h) => {
26345
26347
  const y = h.column + h.colspan - 1, T = h.column;
@@ -26564,7 +26566,7 @@ Required: ` + f.join(", "));
26564
26566
  });
26565
26567
  }), T = (cn) => mv(i).each((wn) => {
26566
26568
  Tu(i) || gm(i) || tg(i) || wa(wn, h).each((Ho) => {
26567
- cn === "relative" && !n2(Ho) ? cy(Ho) : cn === "fixed" && !dk(Ho) ? ly(Ho) : cn === "responsive" && !o2(Ho) && lv(Ho), Hl(Ho), wm(i, Ho.dom, dr);
26569
+ cn === "relative" && !n2(Ho) ? cy(Ho) : cn === "fixed" && !dk(Ho) ? ly(Ho) : cn === "responsive" && !o2(Ho) && lv(Ho), Hl(Ho), wm(i, Ho.dom, fr);
26568
26570
  });
26569
26571
  }), z = (cn) => wa(cn, h), Z = (cn) => g2(i).bind((wn) => z(wn).map((Mo) => cn(Mo, wn))), ae = (cn, wn) => {
26570
26572
  Z((Mo) => {
@@ -26572,8 +26574,8 @@ Required: ` + f.join(", "));
26572
26574
  });
26573
26575
  }, ke = (cn, wn) => {
26574
26576
  Z((Mo) => {
26575
- const Ho = Hr(i), ca = ft(Ho, (fr) => i.formatter.match("tablecellclass", { value: wn }, fr.dom)) ? i.formatter.remove : i.formatter.apply;
26576
- Ne(Ho, (fr) => ca("tablecellclass", { value: wn }, fr.dom)), wm(i, Mo.dom, Ra);
26577
+ const Ho = Hr(i), ca = ft(Ho, (mr) => i.formatter.match("tablecellclass", { value: wn }, mr.dom)) ? i.formatter.remove : i.formatter.apply;
26578
+ Ne(Ho, (mr) => ca("tablecellclass", { value: wn }, mr.dom)), wm(i, Mo.dom, Ra);
26577
26579
  });
26578
26580
  }, Le = () => {
26579
26581
  mv(i).each((cn) => {
@@ -26582,8 +26584,8 @@ Required: ` + f.join(", "));
26582
26584
  const Mo = ut.fromTag("caption");
26583
26585
  pr(Mo, ut.fromText("Caption")), Vi(wn, Mo, 0), i.selection.setCursorLocation(Mo.dom, 0);
26584
26586
  }, (Mo) => {
26585
- Bn("caption")(cn) && sn("td", wn).each((Ho) => i.selection.setCursorLocation(Ho.dom, 0)), Zr(Mo);
26586
- }), wm(i, wn.dom, dr);
26587
+ Ln("caption")(cn) && sn("td", wn).each((Ho) => i.selection.setCursorLocation(Ho.dom, 0)), Zr(Mo);
26588
+ }), wm(i, wn.dom, fr);
26587
26589
  });
26588
26590
  });
26589
26591
  }, kt = (cn) => {
@@ -26600,7 +26602,7 @@ Required: ` + f.join(", "));
26600
26602
  }), xn = (cn, wn) => wn().each((Mo) => {
26601
26603
  const Ho = jt(Mo, (po) => vc(po));
26602
26604
  Z((po, ca) => {
26603
- const fr = mm(ut.fromDom(i.getDoc())), za = hm(Hr(i), ca, Ho, fr);
26605
+ const mr = mm(ut.fromDom(i.getDoc())), za = hm(Hr(i), ca, Ho, mr);
26604
26606
  cn(po, za).each(kt);
26605
26607
  });
26606
26608
  }), no = (cn) => (wn, Mo) => Oo(Mo, "type").each((Ho) => {
@@ -26653,9 +26655,9 @@ Required: ` + f.join(", "));
26653
26655
  const Ho = ot(Hr(i), og);
26654
26656
  if (Ho.length === 0)
26655
26657
  return;
26656
- const po = yt(wn, (ca, fr) => i.formatter.has(Mo(fr)) && oe(ca));
26657
- vs(po) || (Ct(po, (ca, fr) => {
26658
- const za = Mo(fr);
26658
+ const po = yt(wn, (ca, mr) => i.formatter.has(Mo(mr)) && oe(ca));
26659
+ vs(po) || (Ct(po, (ca, mr) => {
26660
+ const za = Mo(mr);
26659
26661
  Ne(Ho, (nu) => {
26660
26662
  ca === "" ? i.formatter.remove(za, { value: null }, nu.dom, !0) : i.formatter.apply(za, { value: ca }, nu.dom);
26661
26663
  });
@@ -26845,7 +26847,7 @@ Required: ` + f.join(", "));
26845
26847
  }), Wh = (i) => Ds(i).bind((f) => {
26846
26848
  const h = wo(f);
26847
26849
  return jh(h, i).map((y) => N2(f, h, i, y));
26848
- }), jh = (i, f) => ko(i, He(dn, f)), Kc = Bn("br"), wv = (i, f, h) => f(i, h).bind((y) => dt(y) && er(y).trim().length === 0 ? wv(y, f, h) : ye.some(y)), gy = (i, f, h) => h.traverse(f).orThunk(() => wv(f, h.gather, i)).map(h.relative), Cv = (i, f) => ds(i, f).filter(Kc).orThunk(() => ds(i, f - 1).filter(Kc)), R2 = (i, f, h, y) => Cv(f, h).bind((T) => y.traverse(T).fold(() => wv(T, y.gather, i).map(y.relative), (z) => Wh(z).map((Z) => al.on(Z.parent, Z.index)))), xk = (i, f, h, y) => (Kc(f) ? gy(i, f, y) : R2(i, f, h, y)).map((z) => ({
26850
+ }), jh = (i, f) => ko(i, He(dn, f)), Kc = Ln("br"), wv = (i, f, h) => f(i, h).bind((y) => dt(y) && er(y).trim().length === 0 ? wv(y, f, h) : ye.some(y)), gy = (i, f, h) => h.traverse(f).orThunk(() => wv(f, h.gather, i)).map(h.relative), Cv = (i, f) => ds(i, f).filter(Kc).orThunk(() => ds(i, f - 1).filter(Kc)), R2 = (i, f, h, y) => Cv(f, h).bind((T) => y.traverse(T).fold(() => wv(T, y.gather, i).map(y.relative), (z) => Wh(z).map((Z) => al.on(Z.parent, Z.index)))), xk = (i, f, h, y) => (Kc(f) ? gy(i, f, y) : R2(i, f, h, y)).map((z) => ({
26849
26851
  start: z,
26850
26852
  finish: z
26851
26853
  })), Sv = (i) => Uh.cata(i, (f) => ye.none(), () => ye.none(), (f) => ye.some(Oi(f, 0)), (f) => ye.some(Oi(f, Ic(f)))), nc = (i, f) => ({
@@ -27133,8 +27135,8 @@ Required: ` + f.join(", "));
27133
27135
  const po = cn ? Mo : Ho;
27134
27136
  Ff(i, po, po);
27135
27137
  }, (Mo, Ho, po, ca) => {
27136
- const fr = cn ? Mo : po, za = cn ? Ho : ca;
27137
- Ms(i, fr, za, fr, za);
27138
+ const mr = cn ? Mo : po, za = cn ? Ho : ca;
27139
+ Ms(i, mr, za, mr, za);
27138
27140
  }));
27139
27141
  },
27140
27142
  setSelection: (cn) => {
@@ -27171,10 +27173,10 @@ Required: ` + f.join(", "));
27171
27173
  keydown: (ke, Le, kt, pn, Mn, Rn) => {
27172
27174
  const xn = ke.raw, no = xn.which, cn = xn.shiftKey === !0;
27173
27175
  return qb(f, y.selectedSelector).fold(() => (id(no) && !cn && y.clearBeforeUpdate(f), id(no) && cn && !Vk(Le, pn) ? ye.none : Nv(no) && cn ? He(Ov, T, f, h, by, pn, Le, y.selectRange) : zk(no) && cn ? He(Ov, T, f, h, yy, pn, Le, y.selectRange) : Nv(no) ? He(HA, T, h, by, pn, Le, B2) : zk(no) ? He(HA, T, h, yy, pn, Le, VA) : ye.none), (Mo) => {
27174
- const Ho = (po) => () => G(po, (fr) => zp(fr.rows, fr.cols, f, Mo, y)).fold(() => pS(f, y.firstSelectedSelector, y.lastSelectedSelector).map((fr) => {
27176
+ const Ho = (po) => () => G(po, (mr) => zp(mr.rows, mr.cols, f, Mo, y)).fold(() => pS(f, y.firstSelectedSelector, y.lastSelectedSelector).map((mr) => {
27175
27177
  const za = Nv(no) || Rn.isForward(no) ? al.after : al.before;
27176
- return T.setRelativeSelection(al.on(fr.first, 0), za(fr.table)), y.clear(f), Qi.create(ye.none(), !0);
27177
- }), (fr) => ye.some(Qi.create(ye.none(), !0)));
27178
+ return T.setRelativeSelection(al.on(mr.first, 0), za(mr.table)), y.clear(f), Qi.create(ye.none(), !0);
27179
+ }), (mr) => ye.some(Qi.create(ye.none(), !0)));
27178
27180
  return id(no) && cn && !Vk(Le, pn) ? ye.none : Nv(no) && cn ? Ho([Hp(1, 0)]) : zk(no) && cn ? Ho([Hp(-1, 0)]) : Rn.isBackward(no) && cn ? Ho([
27179
27181
  Hp(0, -1),
27180
27182
  Hp(-1, 0)
@@ -27353,7 +27355,7 @@ Required: ` + f.join(", "));
27353
27355
  xn.keydown($c, dd, Kl.startOffset, ou, Kl.endOffset, tb).each((os) => {
27354
27356
  wn($c, os);
27355
27357
  }), f.show();
27356
- }, po = (cr) => cr.button === 0, ca = (cr) => cr.buttons === void 0 ? !0 : (cr.buttons & 1) !== 0, fr = (cr) => {
27358
+ }, po = (cr) => cr.button === 0, ca = (cr) => cr.buttons === void 0 ? !0 : (cr.buttons & 1) !== 0, mr = (cr) => {
27357
27359
  Rn.clearstate();
27358
27360
  }, za = (cr) => {
27359
27361
  po(cr) && qk(cr) && Rn.mousedown(Wp(cr));
@@ -27365,14 +27367,14 @@ Required: ` + f.join(", "));
27365
27367
  const cr = Dv(ut.fromDom(kt)), $c = Dv(0);
27366
27368
  return { touchEnd: (dd) => {
27367
27369
  const ou = ut.fromDom(dd.target);
27368
- if (Bn("td")(ou) || Bn("th")(ou)) {
27370
+ if (Ln("td")(ou) || Ln("th")(ou)) {
27369
27371
  const tb = cr.get(), os = $c.get();
27370
27372
  dn(tb, ou) && dd.timeStamp - os < 300 && (dd.preventDefault(), no(ou, ou));
27371
27373
  }
27372
27374
  cr.set(ou), $c.set(dd.timeStamp);
27373
27375
  } };
27374
27376
  })();
27375
- i.on("dragstart", fr), i.on("mousedown", za), i.on("mouseover", nu), i.on("mouseup", il), i.on("touchend", qp.touchEnd), i.on("keyup", Mo), i.on("keydown", Ho), i.on("NodeChange", Mn);
27377
+ i.on("dragstart", mr), i.on("mousedown", za), i.on("mouseover", nu), i.on("mouseup", il), i.on("touchend", qp.touchEnd), i.on("keyup", Mo), i.on("keydown", Ho), i.on("NodeChange", Mn);
27376
27378
  }), i.on("PreInit", () => {
27377
27379
  i.serializer.addTempAttr(pm.firstSelected), i.serializer.addTempAttr(pm.lastSelected);
27378
27380
  }), {
@@ -27719,7 +27721,7 @@ Required: ` + f.join(", "));
27719
27721
  });
27720
27722
  });
27721
27723
  const z = (xn, no) => {
27722
- const cn = Lr(xn, no), wn = ur(xn, "data-initial-" + no, 0);
27724
+ const cn = Lr(xn, no), wn = dr(xn, "data-initial-" + no, 0);
27723
27725
  return cn - wn;
27724
27726
  };
27725
27727
  h.events.stop.bind(() => {
@@ -27851,10 +27853,10 @@ Required: ` + f.join(", "));
27851
27853
  const f = qh(), h = qh(), y = qh();
27852
27854
  let T, z, Z, ae;
27853
27855
  const ke = (wn) => mc(i, wn), Le = () => Na(i) ? lg() : Cp(), kt = (wn) => Rf(wn).columns, pn = (wn) => Rf(wn).rows, Mn = (wn, Mo, Ho, po) => {
27854
- const ca = eb(Mo), fr = Tl(ca, "e"), za = ja(ca, "n");
27856
+ const ca = eb(Mo), mr = Tl(ca, "e"), za = ja(ca, "n");
27855
27857
  if (z === "" && cy(wn), ae === "" && wA(wn), Ho !== T && z !== "") {
27856
27858
  $o(wn, "width", z);
27857
- const nu = Le(), il = ke(wn), Zp = Na(i) || fr ? kt(wn) - 1 : 0;
27859
+ const nu = Le(), il = ke(wn), Zp = Na(i) || mr ? kt(wn) - 1 : 0;
27858
27860
  q_(wn, Ho - T, Zp, nu, il);
27859
27861
  } else if (fS(z)) {
27860
27862
  const nu = parseFloat(z.replace("%", "")), il = Ho * nu / T;
@@ -27882,10 +27884,10 @@ Required: ` + f.join(", "));
27882
27884
  const ca = po.table.dom;
27883
27885
  yA(i, ca, ng(ca), p_(ca), Dy + po.type);
27884
27886
  }), Ho.events.afterResize.bind((po) => {
27885
- const ca = po.table, fr = ca.dom;
27887
+ const ca = po.table, mr = ca.dom;
27886
27888
  Hl(ca), f.on((za) => {
27887
27889
  i.selection.setRng(za), i.focus();
27888
- }), fc(i, fr, ng(fr), p_(fr), Dy + po.type), i.undoManager.add();
27890
+ }), fc(i, mr, ng(mr), p_(mr), Dy + po.type), i.undoManager.add();
27889
27891
  }), h.set(Ho);
27890
27892
  }
27891
27893
  }), i.on("ObjectResizeStart", (wn) => {
@@ -28187,7 +28189,7 @@ Required: ` + f.join(", "));
28187
28189
  return S.some(p);
28188
28190
  }
28189
28191
  return S.none();
28190
- }, $n = (t) => ro(t, vt), wt = (t, s) => bn(t, s) ? S.from(t[s]) : S.none(), bn = (t, s) => Oo.call(t, s), Xn = (t, s) => bn(t, s) && t[s] !== void 0 && t[s] !== null, Lo = (t, s, a = St) => t.exists((l) => a(l, s)), Es = (t, s, a = St) => ss(t, s, a).getOr(t.isNone() && s.isNone()), Us = (t) => {
28192
+ }, Bn = (t) => ro(t, vt), wt = (t, s) => bn(t, s) ? S.from(t[s]) : S.none(), bn = (t, s) => Oo.call(t, s), Xn = (t, s) => bn(t, s) && t[s] !== void 0 && t[s] !== null, Lo = (t, s, a = St) => t.exists((l) => a(l, s)), Es = (t, s, a = St) => ss(t, s, a).getOr(t.isNone() && s.isNone()), Us = (t) => {
28191
28193
  const s = [], a = (l) => {
28192
28194
  s.push(l);
28193
28195
  };
@@ -28204,7 +28206,7 @@ Required: ` + f.join(", "));
28204
28206
  return S.none();
28205
28207
  }
28206
28208
  return S.some(s);
28207
- }, ss = (t, s, a) => t.isSome() && s.isSome() ? S.some(a(t.getOrDie(), s.getOrDie())) : S.none(), zs = (t, s, a, l) => t.isSome() && s.isSome() && a.isSome() ? S.some(l(t.getOrDie(), s.getOrDie(), a.getOrDie())) : S.none(), us = (t, s) => t != null ? S.some(s(t)) : S.none(), lo = (t, s) => t ? S.some(s) : S.none(), Gs = (t, s) => t + s, dt = (t, s) => t.substring(s), Nt = (t, s, a) => s === "" || t.length >= s.length && t.substr(a, a + s.length) === s, Dn = (t, s) => ps(t, s) ? dt(t, s.length) : t, Bn = (t, s) => Ir(t, s) ? t : Gs(t, s), Ko = (t, s, a = 0, l) => {
28209
+ }, ss = (t, s, a) => t.isSome() && s.isSome() ? S.some(a(t.getOrDie(), s.getOrDie())) : S.none(), zs = (t, s, a, l) => t.isSome() && s.isSome() && a.isSome() ? S.some(l(t.getOrDie(), s.getOrDie(), a.getOrDie())) : S.none(), us = (t, s) => t != null ? S.some(s(t)) : S.none(), lo = (t, s) => t ? S.some(s) : S.none(), Gs = (t, s) => t + s, dt = (t, s) => t.substring(s), Nt = (t, s, a) => s === "" || t.length >= s.length && t.substr(a, a + s.length) === s, Dn = (t, s) => ps(t, s) ? dt(t, s.length) : t, Ln = (t, s) => Ir(t, s) ? t : Gs(t, s), Ko = (t, s, a = 0, l) => {
28208
28210
  const d = t.indexOf(s, a);
28209
28211
  return d !== -1 ? et(l) ? !0 : d + s.length <= l : !1;
28210
28212
  }, ps = (t, s) => Nt(t, s, 0), Ir = (t, s) => Nt(t, s, t.length - s.length), _r = ((t) => (s) => s.replace(t, ""))(/^\s+|\s+$/g), yr = (t) => t.length > 0, Ks = (t) => !yr(t), Pr = (t) => t.style !== void 0 && Me(t.style.getPropertyValue), Fa = (t, s) => {
@@ -28243,9 +28245,9 @@ Required: ` + f.join(", "));
28243
28245
  if (a == null)
28244
28246
  throw new Error(t + " not available on this browser");
28245
28247
  return a;
28246
- }, Ln = Object.getPrototypeOf, fo = (t) => dn("HTMLElement", t), co = (t) => {
28248
+ }, $n = Object.getPrototypeOf, fo = (t) => dn("HTMLElement", t), co = (t) => {
28247
28249
  const s = Ze("ownerDocument.defaultView", t);
28248
- return me(t) && (fo(s).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(Ln(t).constructor.name));
28250
+ return me(t) && (fo(s).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test($n(t).constructor.name));
28249
28251
  }, bo = 9, Po = 11, Fo = 1, Ds = 3, Ls = (t) => t.dom.nodeName.toLowerCase(), Ys = (t) => t.dom.nodeType, Ea = (t) => (s) => Ys(s) === t, ma = (t) => wo(t) && co(t.dom), wo = Ea(Fo), ds = Ea(Ds), hs = Ea(bo), ia = Ea(Po), sa = (t) => (s) => wo(s) && Ls(s) === t, Fr = (t, s) => {
28250
28252
  const a = t.dom;
28251
28253
  if (a.nodeType !== Fo)
@@ -28408,7 +28410,7 @@ Required: ` + f.join(", "));
28408
28410
  }, pu = Qr("height", (t) => {
28409
28411
  const s = t.dom;
28410
28412
  return Un(t) ? s.getBoundingClientRect().height : s.offsetHeight;
28411
- }), ir = (t) => pu.get(t), oi = (t) => pu.getOuter(t), hf = (t, s) => {
28413
+ }), ur = (t) => pu.get(t), oi = (t) => pu.getOuter(t), hf = (t, s) => {
28412
28414
  const a = [
28413
28415
  "margin-top",
28414
28416
  "border-top-width",
@@ -28494,16 +28496,16 @@ Required: ` + f.join(", "));
28494
28496
  current: d.name,
28495
28497
  version: da.nu(parseInt(a.version, 10), 0)
28496
28498
  }));
28497
- }), ur = (t, s) => {
28499
+ }), dr = (t, s) => {
28498
28500
  const a = String(s).toLowerCase();
28499
28501
  return ie(t, (l) => l.search(a));
28500
- }, Nc = (t, s) => ur(t, s).map((a) => {
28502
+ }, Nc = (t, s) => dr(t, s).map((a) => {
28501
28503
  const l = da.detect(a.versionRegexes, s);
28502
28504
  return {
28503
28505
  current: a.name,
28504
28506
  version: l
28505
28507
  };
28506
- }), lc = (t, s) => ur(t, s).map((a) => {
28508
+ }), lc = (t, s) => dr(t, s).map((a) => {
28507
28509
  const l = da.detect(a.versionRegexes, s);
28508
28510
  return {
28509
28511
  current: a.name,
@@ -29520,7 +29522,7 @@ Required: ` + s.join(", "));
29520
29522
  }, D_ = (t, s, a) => a.getInitialPos().map((l) => {
29521
29523
  const d = I1(l, s);
29522
29524
  return {
29523
- box: Gr(d.left, d.top, de(t), ir(t)),
29525
+ box: Gr(d.left, d.top, de(t), ur(t)),
29524
29526
  location: l.location
29525
29527
  };
29526
29528
  }), M1 = (t, s, a, l, d) => {
@@ -30349,7 +30351,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
30349
30351
  }), wg), Ra = (t, s, a) => Pc(sl(t, s), wm(t), a.southwest(), ck(), "southwest", Gc(t, {
30350
30352
  right: 0,
30351
30353
  top: 3
30352
- }), wg), dr = (t, s, a) => Pc(ik(t), Cg(t, s), a.northeast(), tv(), "northeast", Gc(t, {
30354
+ }), wg), fr = (t, s, a) => Pc(ik(t), Cg(t, s), a.northeast(), tv(), "northeast", Gc(t, {
30353
30355
  left: 1,
30354
30356
  bottom: 2
30355
30357
  }), wg), rl = (t, s, a) => Pc(sl(t, s), Cg(t, s), a.northwest(), Yn(), "northwest", Gc(t, {
@@ -30358,7 +30360,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
30358
30360
  }), wg), mc = (t, s, a) => Pc(KS(t, s), Cg(t, s), a.north(), lk(), "north", Gc(t, { bottom: 2 }), wg), gc = (t, s, a) => Pc(KS(t, s), wm(t), a.south(), sy(), "south", Gc(t, { top: 3 }), wg), nv = (t, s, a) => Pc(bA(t), YS(t, s), a.east(), qS(), "east", Gc(t, { left: 0 }), wg), ov = (t, s, a) => Pc(yA(t, s), YS(t, s), a.west(), GS(), "west", Gc(t, { right: 1 }), wg), QS = () => [
30359
30361
  fc,
30360
30362
  Ra,
30361
- dr,
30363
+ fr,
30362
30364
  rl,
30363
30365
  gc,
30364
30366
  mc,
@@ -30368,13 +30370,13 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
30368
30370
  Ra,
30369
30371
  fc,
30370
30372
  rl,
30371
- dr,
30373
+ fr,
30372
30374
  gc,
30373
30375
  mc,
30374
30376
  nv,
30375
30377
  ov
30376
30378
  ], JS = () => [
30377
- dr,
30379
+ fr,
30378
30380
  rl,
30379
30381
  fc,
30380
30382
  Ra,
@@ -30382,7 +30384,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
30382
30384
  gc
30383
30385
  ], sv = () => [
30384
30386
  rl,
30385
- dr,
30387
+ fr,
30386
30388
  Ra,
30387
30389
  fc,
30388
30390
  mc,
@@ -30390,7 +30392,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
30390
30392
  ], Sg = () => [
30391
30393
  fc,
30392
30394
  Ra,
30393
- dr,
30395
+ fr,
30394
30396
  rl,
30395
30397
  gc,
30396
30398
  mc
@@ -30398,7 +30400,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Pe(s, (a) => a.name),
30398
30400
  Ra,
30399
30401
  fc,
30400
30402
  rl,
30401
- dr,
30403
+ fr,
30402
30404
  gc,
30403
30405
  mc
30404
30406
  ], vA = (t, s) => s.universal ? t : xt(t, (a) => $t(s.channels, a));
@@ -31917,7 +31919,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
31917
31919
  fields: Ho,
31918
31920
  name: "highlighting",
31919
31921
  apis: Mo
31920
- }), ca = [8], fr = [9], za = [13], nu = [27], il = [32], Zp = [37], qp = [38], cr = [39], $c = [40], Kl = (t, s, a) => {
31922
+ }), ca = [8], mr = [9], za = [13], nu = [27], il = [32], Zp = [37], qp = [38], cr = [39], $c = [40], Kl = (t, s, a) => {
31921
31923
  const l = G(t.slice(0, s)), d = G(t.slice(s + 1));
31922
31924
  return ie(l.concat(d), a);
31923
31925
  }, dd = (t, s, a) => {
@@ -32022,7 +32024,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
32022
32024
  Hs("visibilitySelector")
32023
32025
  ].concat([t]), a = (Re, Ke) => {
32024
32026
  const Qe = Re.visibilitySelector.bind((Gt) => cd(Ke, Gt)).getOr(Ke);
32025
- return ir(Qe) > 0;
32027
+ return ur(Qe) > 0;
32026
32028
  }, l = (Re, Ke) => {
32027
32029
  const Qe = Kc(Re.element, Ke.selector), Gt = xt(Qe, (Ft) => a(Ke, Ft));
32028
32030
  return S.from(Gt[Ke.firstTabstop]);
@@ -32042,16 +32044,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
32042
32044
  }, L = (Re) => vc(Re).bind(Ml).exists((Ke) => Ns(Ke, Re)), ee = (Re, Ke, Qe) => d(Re, Qe).filter((Gt) => !Qe.useTabstopAt(Gt)).bind((Gt) => (L(Gt) ? O : R)(Re, Ke, Qe)), ne = (Re, Ke, Qe) => Qe.onEnter.bind((Gt) => Gt(Re, Ke)), he = (Re, Ke, Qe) => Qe.onEscape.bind((Gt) => Gt(Re, Ke)), we = B([
32043
32045
  Vs(su([
32044
32046
  fd,
32045
- os(fr)
32047
+ os(mr)
32046
32048
  ]), O),
32047
- Vs(os(fr), R),
32049
+ Vs(os(mr), R),
32048
32050
  Vs(su([
32049
32051
  pc,
32050
32052
  os(za)
32051
32053
  ]), ne)
32052
32054
  ]), ct = B([
32053
32055
  Vs(os(nu), he),
32054
- Vs(os(fr), ee)
32056
+ Vs(os(mr), ee)
32055
32057
  ]);
32056
32058
  return Gp(s, Dl.init, we, ct, () => S.some(p));
32057
32059
  };
@@ -32145,11 +32147,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
32145
32147
  Vs(os($c), G3(sz)),
32146
32148
  Vs(su([
32147
32149
  fd,
32148
- os(fr)
32150
+ os(mr)
32149
32151
  ]), tz),
32150
32152
  Vs(su([
32151
32153
  pc,
32152
- os(fr)
32154
+ os(mr)
32153
32155
  ]), tz),
32154
32156
  Vs(os(il.concat(za)), W$)
32155
32157
  ]), q$ = B([
@@ -32259,11 +32261,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
32259
32261
  Vs(os($c), vO(Yp)),
32260
32262
  Vs(su([
32261
32263
  fd,
32262
- os(fr)
32264
+ os(mr)
32263
32265
  ]), Sz),
32264
32266
  Vs(su([
32265
32267
  pc,
32266
- os(fr)
32268
+ os(mr)
32267
32269
  ]), xz),
32268
32270
  Vs(os(za), wz),
32269
32271
  Vs(os(il), wz)
@@ -32294,11 +32296,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
32294
32296
  ]), a.onShiftEnter),
32295
32297
  Vs(su([
32296
32298
  fd,
32297
- os(fr)
32299
+ os(mr)
32298
32300
  ]), a.onShiftTab),
32299
32301
  Vs(su([
32300
32302
  pc,
32301
- os(fr)
32303
+ os(mr)
32302
32304
  ]), a.onTab),
32303
32305
  Vs(os(qp), a.onUp),
32304
32306
  Vs(os($c), a.onDown),
@@ -33021,7 +33023,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
33021
33023
  highlightPrimary: ws,
33022
33024
  repositionMenus: (ln) => {
33023
33025
  d.getPrimary().bind((Uo) => Nn(ln).bind((Io) => {
33024
- const So = p(Io), Jo = $n(d.getMenus()), xr = Us(Pe(Jo, Qp.extractPreparedMenu));
33026
+ const So = p(Io), Jo = Bn(d.getMenus()), xr = Us(Pe(Jo, Qp.extractPreparedMenu));
33025
33027
  return d.getTriggeringPath(So, (nr) => k(ln, xr, nr));
33026
33028
  }).map((Io) => ({
33027
33029
  primary: Uo,
@@ -33790,7 +33792,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
33790
33792
  gc,
33791
33793
  mc,
33792
33794
  fc,
33793
- dr,
33795
+ fr,
33794
33796
  Ra,
33795
33797
  rl
33796
33798
  ]),
@@ -33798,7 +33800,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
33798
33800
  gc,
33799
33801
  mc,
33800
33802
  fc,
33801
- dr,
33803
+ fr,
33802
33804
  Ra,
33803
33805
  rl
33804
33806
  ])
@@ -34953,7 +34955,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
34953
34955
  }, RI = "temporary-placeholder", gD = (t) => () => wt(t, RI).getOr("!not found!"), pD = (t, s) => {
34954
34956
  const a = t.toLowerCase();
34955
34957
  if (gd.isRtl()) {
34956
- const l = Bn(a, "-rtl");
34958
+ const l = Ln(a, "-rtl");
34957
34959
  return bn(s, l) ? l : a;
34958
34960
  } else
34959
34961
  return a;
@@ -37755,7 +37757,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
37755
37757
  events: g,
37756
37758
  apis: p
37757
37759
  };
37758
- }, mr = Nl({
37760
+ }, gr = Nl({
37759
37761
  name: "FormField",
37760
37762
  configFields: vH(),
37761
37763
  partFields: _H(),
@@ -37768,7 +37770,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
37768
37770
  var kH = tinymce.util.Tools.resolve("tinymce.html.Entities");
37769
37771
  const Kw = (t, s, a, l) => {
37770
37772
  const d = wH(t, s, a, l);
37771
- return mr.sketch(d);
37773
+ return gr.sketch(d);
37772
37774
  }, kP = (t, s) => Kw(t, s, [], []), wH = (t, s, a, l) => ({
37773
37775
  dom: wP(a),
37774
37776
  components: t.toArray().concat([s]),
@@ -37776,7 +37778,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
37776
37778
  }), CH = () => wP([]), wP = (t) => ({
37777
37779
  tag: "div",
37778
37780
  classes: ["tox-form__group"].concat(t)
37779
- }), pb = (t, s) => mr.parts.label({
37781
+ }), pb = (t, s) => gr.parts.label({
37780
37782
  dom: {
37781
37783
  tag: "label",
37782
37784
  classes: ["tox-label"]
@@ -37827,7 +37829,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
37827
37829
  value: ct
37828
37830
  });
37829
37831
  }))
37830
- ], R = (ne, he) => Pe(Kc(ne.element, ".tox-collection__item"), he), L = mr.parts.field({
37832
+ ], R = (ne, he) => Pe(Kc(ne.element, ".tox-collection__item"), he), L = gr.parts.field({
37831
37833
  dom: {
37832
37834
  tag: "div",
37833
37835
  classes: ["tox-collection"].concat(t.columns !== 1 ? ["tox-collection--grid"] : ["tox-collection--list"])
@@ -37871,7 +37873,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
37871
37873
  gc,
37872
37874
  mc,
37873
37875
  fc,
37874
- dr,
37876
+ fr,
37875
37877
  Ra,
37876
37878
  rl
37877
37879
  ]),
@@ -37879,7 +37881,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
37879
37881
  gc,
37880
37882
  mc,
37881
37883
  fc,
37882
- dr,
37884
+ fr,
37883
37885
  Ra,
37884
37886
  rl
37885
37887
  ])
@@ -38019,7 +38021,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38019
38021
  }, t.columns, t.presets, Wf.CLOSE_ON_EXECUTE, ze, s.providers), { movement: uE(t.columns, t.presets) })))),
38020
38022
  parts: { menu: Ow(!1, 1, t.presets) }
38021
38023
  }), TN = Kn("color-input-change"), AN = Kn("color-swatch-change"), ON = Kn("color-picker-cancel"), RH = (t, s, a, l) => {
38022
- const d = mr.parts.field({
38024
+ const d = gr.parts.field({
38023
38025
  factory: Vy,
38024
38026
  inputClasses: ["tox-textfield"],
38025
38027
  data: l,
@@ -38087,7 +38089,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38087
38089
  presets: "color",
38088
38090
  onItemAction: k
38089
38091
  }, s));
38090
- return mr.sketch({
38092
+ return gr.sketch({
38091
38093
  dom: {
38092
38094
  tag: "div",
38093
38095
  classes: ["tox-form__group"]
@@ -38109,12 +38111,12 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38109
38111
  }), To(O, ru, { name: t.name });
38110
38112
  }),
38111
38113
  Xt(AN, (O, R) => {
38112
- mr.getField(O).each((L) => {
38114
+ gr.getField(O).each((L) => {
38113
38115
  jn.setValue(L, R.event.value), Ps.getCurrent(O).each(Vo.focus);
38114
38116
  });
38115
38117
  }),
38116
38118
  Xt(ON, (O, R) => {
38117
- mr.getField(O).each((L) => {
38119
+ gr.getField(O).each((L) => {
38118
38120
  Ps.getCurrent(O).each(Vo.focus);
38119
38121
  });
38120
38122
  })
@@ -38398,7 +38400,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38398
38400
  const p = YP(s, g, a, l, d);
38399
38401
  return sC(s) - sC(t) + p;
38400
38402
  }, Vg = (t, s, a, l) => {
38401
- const d = sh(a), g = GN(t, l.getSpectrum(t), d, l.getTopEdge(t), l.getBottomEdge(t), a), p = ir(s.element) / 2;
38403
+ const d = sh(a), g = GN(t, l.getSpectrum(t), d, l.getTopEdge(t), l.getBottomEdge(t), a), p = ur(s.element) / 2;
38402
38404
  Et(s.element, "top", g - p + "px");
38403
38405
  }, CE = S.none, dV = S.none, fV = KP(-1), QP = KP(1), XP = {
38404
38406
  "top-left": S.none(),
@@ -38443,7 +38445,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38443
38445
  const a = bb(s), l = oh(s);
38444
38446
  Jy(t, yb(a, l));
38445
38447
  }, mV = (t) => bE(t), gV = (t, s, a, l) => {
38446
- const d = sh(a), g = jN(t, l.getSpectrum(t), d.x, l.getLeftEdge(t), l.getRightEdge(t), a), p = GN(t, l.getSpectrum(t), d.y, l.getTopEdge(t), l.getBottomEdge(t), a), k = de(s.element) / 2, x = ir(s.element) / 2;
38448
+ const d = sh(a), g = jN(t, l.getSpectrum(t), d.x, l.getLeftEdge(t), l.getRightEdge(t), a), p = GN(t, l.getSpectrum(t), d.y, l.getTopEdge(t), l.getBottomEdge(t), a), k = de(s.element) / 2, x = ur(s.element) / 2;
38447
38449
  Et(s.element, "left", g - k + "px"), Et(s.element, "top", p - x + "px");
38448
38450
  }, pV = lC(-1, !1), hV = lC(1, !1), bV = lC(-1, !0), nF = lC(1, !0), oF = {
38449
38451
  "top-left": S.some(IN),
@@ -38730,13 +38732,13 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38730
38732
  validateOnLoad: !1
38731
38733
  }
38732
38734
  }), x = (we, ct, Re, Ke, Qe) => {
38733
- const Gt = mo(XN), Ft = t(xE + "range"), zn = mr.parts.label({
38735
+ const Gt = mo(XN), Ft = t(xE + "range"), zn = gr.parts.label({
38734
38736
  dom: {
38735
38737
  tag: "label",
38736
38738
  attributes: { "aria-label": Ke }
38737
38739
  },
38738
38740
  components: [ba(Re)]
38739
- }), Zn = mr.parts.field({
38741
+ }), Zn = gr.parts.field({
38740
38742
  data: Qe,
38741
38743
  factory: Vy,
38742
38744
  inputAttributes: {
@@ -38783,7 +38785,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38783
38785
  zn,
38784
38786
  Zn,
38785
38787
  Nn.asSpec()
38786
- ], ws = ct !== "hex" ? [mr.parts["aria-descriptor"]({ text: Ft })] : [], jr = io.concat(ws);
38788
+ ], ws = ct !== "hex" ? [gr.parts["aria-descriptor"]({ text: Ft })] : [], jr = io.concat(ws);
38787
38789
  return {
38788
38790
  dom: {
38789
38791
  tag: "div",
@@ -38860,10 +38862,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
38860
38862
  attributes: { "aria-label": t("aria.color.picker") }
38861
38863
  },
38862
38864
  components: [
38863
- oo.field("red", mr.sketch(x(XD, "red", io.label, io.description, 255))),
38864
- oo.field("green", mr.sketch(x(XD, "green", ws.label, ws.description, 255))),
38865
- oo.field("blue", mr.sketch(x(XD, "blue", jr.label, jr.description, 255))),
38866
- oo.field("hex", mr.sketch(x(EM, "hex", Xs.label, Xs.description, "ffffff"))),
38865
+ oo.field("red", gr.sketch(x(XD, "red", io.label, io.description, 255))),
38866
+ oo.field("green", gr.sketch(x(XD, "green", ws.label, ws.description, 255))),
38867
+ oo.field("blue", gr.sketch(x(XD, "blue", jr.label, jr.description, 255))),
38868
+ oo.field("hex", gr.sketch(x(EM, "hex", Xs.label, Xs.description, "ffffff"))),
38867
38869
  L.asSpec()
38868
38870
  ],
38869
38871
  formBehaviours: yn([
@@ -39302,7 +39304,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39302
39304
  })
39303
39305
  ]
39304
39306
  }]
39305
- }), R = t.label.map((ee) => pb(ee, s)), L = mr.parts.field({ factory: { sketch: O } });
39307
+ }), R = t.label.map((ee) => pb(ee, s)), L = gr.parts.field({ factory: { sketch: O } });
39306
39308
  return Kw(R, L, ["tox-form__group--stretched"], []);
39307
39309
  }, DV = (t, s) => ({
39308
39310
  dom: {
@@ -39451,7 +39453,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39451
39453
  }
39452
39454
  })
39453
39455
  ])
39454
- }), R = mr.parts.field({ factory: { sketch: O } });
39456
+ }), R = gr.parts.field({ factory: { sketch: O } });
39455
39457
  return Kw(x, R, ["tox-form__group--stretched"], []);
39456
39458
  }, BV = (t) => new Promise((s, a) => {
39457
39459
  const l = () => {
@@ -39472,7 +39474,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39472
39474
  height: p.toString() + "px"
39473
39475
  };
39474
39476
  }, LV = (t, s, a) => {
39475
- const l = de(t), d = ir(t);
39477
+ const l = de(t), d = ur(t);
39476
39478
  return Math.min(l / s, d / a, 1);
39477
39479
  }, i4 = (t, s) => {
39478
39480
  const a = mo(s.getOr({ url: "" })), l = tr({
@@ -39498,7 +39500,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39498
39500
  const ct = LV(x.element, ee, ne);
39499
39501
  R.zoom = ct;
39500
39502
  }
39501
- const we = l4(de(x.element), ir(x.element), ee, ne, R.zoom);
39503
+ const we = l4(de(x.element), ur(x.element), ee, ne, R.zoom);
39502
39504
  d.getOpt(x).each((ct) => {
39503
39505
  xo(ct.element, we);
39504
39506
  });
@@ -39783,7 +39785,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39783
39785
  text: g.text,
39784
39786
  getSubmenuItems: () => p4(t, s, g.items, l, d)
39785
39787
  }), h4 = (t, s) => Kt(t, (a) => I0(a) ? lo(a.value === s, a) : h4(a.items, s)), TF = (t, s, a) => {
39786
- const l = hn(t.items, (O) => !I0(O)), d = s.shared.providers, g = a.bind((O) => h4(t.items, O)).orThunk(() => At(t.items).filter(I0)), p = t.label.map((O) => pb(O, d)), k = mr.parts.field({
39788
+ const l = hn(t.items, (O) => !I0(O)), d = s.shared.providers, g = a.bind((O) => h4(t.items, O)).orThunk(() => At(t.items).filter(I0)), p = t.label.map((O) => pb(O, d)), k = gr.parts.field({
39787
39789
  dom: {},
39788
39790
  factory: {
39789
39791
  sketch: (O) => g4({
@@ -39823,7 +39825,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39823
39825
  },
39824
39826
  components: [k]
39825
39827
  };
39826
- return mr.sketch({
39828
+ return gr.sketch({
39827
39829
  dom: {
39828
39830
  tag: "div",
39829
39831
  classes: ["tox-form__group"]
@@ -39835,10 +39837,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39835
39837
  fieldBehaviours: yn([i.config({
39836
39838
  disabled: B(!t.enabled),
39837
39839
  onDisabled: (O) => {
39838
- mr.getField(O).each(i.disable);
39840
+ gr.getField(O).each(i.disable);
39839
39841
  },
39840
39842
  onEnabled: (O) => {
39841
- mr.getField(O).each(i.enable);
39843
+ gr.getField(O).each(i.enable);
39842
39844
  }
39843
39845
  })])
39844
39846
  });
@@ -39896,7 +39898,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39896
39898
  const l = Pe(t.items, (x) => ({
39897
39899
  text: s.translate(x.text),
39898
39900
  value: x.value
39899
- })), d = t.label.map((x) => pb(x, s)), g = mr.parts.field({
39901
+ })), d = t.label.map((x) => pb(x, s)), g = gr.parts.field({
39900
39902
  dom: {},
39901
39903
  ...a.map((x) => ({ data: x })).getOr({}),
39902
39904
  selectAttributes: { size: t.size },
@@ -39922,7 +39924,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39922
39924
  p.toArray()
39923
39925
  ])
39924
39926
  };
39925
- return mr.sketch({
39927
+ return gr.sketch({
39926
39928
  dom: {
39927
39929
  tag: "div",
39928
39930
  classes: ["tox-form__group"]
@@ -39935,10 +39937,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39935
39937
  i.config({
39936
39938
  disabled: () => !t.enabled || s.isDisabled(),
39937
39939
  onDisabled: (x) => {
39938
- mr.getField(x).each(i.disable);
39940
+ gr.getField(x).each(i.disable);
39939
39941
  },
39940
39942
  onEnabled: (x) => {
39941
- mr.getField(x).each(i.enable);
39943
+ gr.getField(x).each(i.enable);
39942
39944
  }
39943
39945
  }),
39944
39946
  Hc()
@@ -39955,7 +39957,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
39955
39957
  jn
39956
39958
  ])
39957
39959
  ]), AF = (t, s, a) => mn(t, s, a).bind(Ps.getCurrent), OF = (t, s) => ll({
39958
- factory: mr,
39960
+ factory: gr,
39959
39961
  name: t,
39960
39962
  overrides: (a) => ({
39961
39963
  fieldBehaviours: yn([as("coupled-input-behaviour", [Xt(Af(), (l) => {
@@ -40107,7 +40109,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
40107
40109
  classes: ["tox-form__group"]
40108
40110
  },
40109
40111
  components: ne
40110
- }), O = (ne) => mr.parts.field({
40112
+ }), O = (ne) => gr.parts.field({
40111
40113
  factory: Vy,
40112
40114
  inputClasses: ["tox-textfield"],
40113
40115
  inputBehaviours: yn([
@@ -40131,10 +40133,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
40131
40133
  },
40132
40134
  components: [ba(s.translate(ne))]
40133
40135
  }), L = wd.parts.field1(x([
40134
- mr.parts.label(R("Width")),
40136
+ gr.parts.label(R("Width")),
40135
40137
  O(!0)
40136
40138
  ])), ee = wd.parts.field2(x([
40137
- mr.parts.label(R("Height")),
40139
+ gr.parts.label(R("Height")),
40138
40140
  O(!1)
40139
40141
  ]));
40140
40142
  return wd.sketch({
@@ -40171,10 +40173,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
40171
40173
  i.config({
40172
40174
  disabled: () => !t.enabled || s.isDisabled(),
40173
40175
  onDisabled: (ne) => {
40174
- wd.getField1(ne).bind(mr.getField).each(i.disable), wd.getField2(ne).bind(mr.getField).each(i.disable), wd.getLock(ne).each(i.disable);
40176
+ wd.getField1(ne).bind(gr.getField).each(i.disable), wd.getField2(ne).bind(gr.getField).each(i.disable), wd.getLock(ne).each(i.disable);
40175
40177
  },
40176
40178
  onEnabled: (ne) => {
40177
- wd.getField1(ne).bind(mr.getField).each(i.enable), wd.getField2(ne).bind(mr.getField).each(i.enable), wd.getLock(ne).each(i.enable);
40179
+ wd.getField1(ne).bind(gr.getField).each(i.enable), wd.getField2(ne).bind(gr.getField).each(i.enable), wd.getLock(ne).each(i.enable);
40178
40180
  }
40179
40181
  }),
40180
40182
  Hc(),
@@ -40309,7 +40311,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
40309
40311
  ...g,
40310
40312
  ...p,
40311
40313
  "data-mce-name": t.name
40312
- }, x = mr.parts.field({
40314
+ }, x = gr.parts.field({
40313
40315
  tag: t.multiline === !0 ? "textarea" : "input",
40314
40316
  ...t.data.map((ne) => ({ data: ne })).getOr({}),
40315
40317
  inputAttributes: k,
@@ -40330,10 +40332,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
40330
40332
  i.config({
40331
40333
  disabled: () => t.disabled || s.isDisabled(),
40332
40334
  onDisabled: (ne) => {
40333
- mr.getField(ne).each(i.disable);
40335
+ gr.getField(ne).each(i.disable);
40334
40336
  },
40335
40337
  onEnabled: (ne) => {
40336
- mr.getField(ne).each(i.enable);
40338
+ gr.getField(ne).each(i.enable);
40337
40339
  }
40338
40340
  }),
40339
40341
  Hc()
@@ -40462,7 +40464,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
40462
40464
  ],
40463
40465
  height: [
40464
40466
  vr("property", "height"),
40465
- vr("getDimension", (t) => ir(t) + "px")
40467
+ vr("getDimension", (t) => ur(t) + "px")
40466
40468
  ]
40467
40469
  }))
40468
40470
  ], LF = /* @__PURE__ */ Object.freeze({
@@ -40910,7 +40912,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
40910
40912
  C0(t, p(L), L, he, l, we, Va.HighlightMenuAndItem).get(U);
40911
40913
  }
40912
40914
  }, g = VI(t), p = (L) => (ee) => ee.map((ne) => {
40913
- const he = $n(ne.menus), we = Q(he, (Re) => xt(Re.items, (Ke) => Ke.type === "item"));
40915
+ const he = Bn(ne.menus), we = Q(he, (Re) => xt(Re.items, (Ke) => Ke.type === "item"));
40914
40916
  return jn.getState(L).update(Pe(we, (Re) => Re.data)), ne;
40915
40917
  }), k = (L) => Ps.getCurrent(L), x = "typeaheadevents", O = [
40916
40918
  Vo.config({}),
@@ -41252,7 +41254,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41252
41254
  }
41253
41255
  }, M4 = (t, s) => {
41254
41256
  const a = kC(t.name, "custom");
41255
- return kP(S.none(), mr.parts.field({
41257
+ return kP(S.none(), gr.parts.field({
41256
41258
  factory: kl,
41257
41259
  ...Kf(t, S.some(a), s, [
41258
41260
  TE(""),
@@ -41387,7 +41389,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41387
41389
  onItemExecute: (Ke, Qe, Gt, Ft) => {
41388
41390
  g(Ke), To(Ke, ru, { name: t.name });
41389
41391
  }
41390
- }, k = mr.parts.field({
41392
+ }, k = gr.parts.field({
41391
41393
  ...p,
41392
41394
  factory: GF
41393
41395
  }), x = t.label.map((Ke) => pb(Ke, d)), R = tr(((Ke, Qe, Gt = Ke, Ft = Ke) => pd(Gt, {
@@ -41447,17 +41449,17 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41447
41449
  });
41448
41450
  });
41449
41451
  };
41450
- return mr.sketch({
41452
+ return gr.sketch({
41451
41453
  dom: CH(),
41452
41454
  components: x.toArray().concat([ct()]),
41453
41455
  fieldBehaviours: yn([
41454
41456
  i.config({
41455
41457
  disabled: () => !t.enabled || d.isDisabled(),
41456
41458
  onDisabled: (Ke) => {
41457
- mr.getField(Ke).each(i.disable), we.getOpt(Ke).each(i.disable);
41459
+ gr.getField(Ke).each(i.disable), we.getOpt(Ke).each(i.disable);
41458
41460
  },
41459
41461
  onEnabled: (Ke) => {
41460
- mr.getField(Ke).each(i.enable), we.getOpt(Ke).each(i.enable);
41462
+ gr.getField(Ke).each(i.enable), we.getOpt(Ke).each(i.enable);
41461
41463
  }
41462
41464
  }),
41463
41465
  Hc(),
@@ -41513,7 +41515,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41513
41515
  }, H9 = (t, s) => {
41514
41516
  t.dom.checked = s;
41515
41517
  }, V9 = (t) => t.dom.checked, U9 = (t, s, a) => {
41516
- const l = (x) => (x.element.dom.click(), S.some(!0)), d = mr.parts.field({
41518
+ const l = (x) => (x.element.dom.click(), S.some(!0)), d = gr.parts.field({
41517
41519
  factory: { sketch: vt },
41518
41520
  dom: {
41519
41521
  tag: "input",
@@ -41544,7 +41546,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41544
41546
  To(x, ru, { name: t.name });
41545
41547
  })])
41546
41548
  ])
41547
- }), g = mr.parts.label({
41549
+ }), g = gr.parts.label({
41548
41550
  dom: {
41549
41551
  tag: "span",
41550
41552
  classes: ["tox-checkbox__label"]
@@ -41567,7 +41569,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41567
41569
  p("unchecked")
41568
41570
  ]
41569
41571
  });
41570
- return mr.sketch({
41572
+ return gr.sketch({
41571
41573
  dom: {
41572
41574
  tag: "label",
41573
41575
  classes: ["tox-checkbox"]
@@ -41617,7 +41619,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41617
41619
  gc,
41618
41620
  mc,
41619
41621
  fc,
41620
- dr,
41622
+ fr,
41621
41623
  Ra,
41622
41624
  rl
41623
41625
  ]),
@@ -41625,7 +41627,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
41625
41627
  gc,
41626
41628
  mc,
41627
41629
  fc,
41628
- dr,
41630
+ fr,
41629
41631
  Ra,
41630
41632
  rl
41631
41633
  ])
@@ -42376,7 +42378,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
42376
42378
  fadeOutClass: "tox-editor-dock-fadeout",
42377
42379
  transitionClass: "tox-editor-dock-transition"
42378
42380
  }, X4 = "tox-tinymce--toolbar-sticky-on", J4 = "tox-tinymce--toolbar-sticky-off", TB = (t, s) => {
42379
- const a = _a(s), d = Aa(s).dom.innerHeight, g = Wc(a), p = ut.fromDom(t.elm), k = Bl(p), x = ir(p), O = k.y, R = O + x, L = ja(s), ee = ir(s), ne = L.top, he = ne + ee, we = Math.abs(ne - g.top) < 2, ct = Math.abs(he - (g.top + d)) < 2;
42381
+ const a = _a(s), d = Aa(s).dom.innerHeight, g = Wc(a), p = ut.fromDom(t.elm), k = Bl(p), x = ur(p), O = k.y, R = O + x, L = ja(s), ee = ur(s), ne = L.top, he = ne + ee, we = Math.abs(ne - g.top) < 2, ct = Math.abs(he - (g.top + d)) < 2;
42380
42382
  if (we && O < he)
42381
42383
  Dd(g.left, O - ee, a);
42382
42384
  else if (ct && R > ne) {
@@ -43184,10 +43186,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
43184
43186
  ],
43185
43187
  onBottomLtr: () => [
43186
43188
  rl,
43187
- dr
43189
+ fr
43188
43190
  ],
43189
43191
  onBottomRtl: () => [
43190
- dr,
43192
+ fr,
43191
43193
  rl
43192
43194
  ]
43193
43195
  },
@@ -45331,14 +45333,14 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
45331
45333
  const s = $O(t), a = Py(t), l = mw(t);
45332
45334
  return LC(s).map((d) => iT(d, a, l));
45333
45335
  }, Aj = (t) => t5(t).getOr($O(t)), { ToolbarLocation: j0, ToolbarMode: RR } = xI, n5 = 40, o5 = (t, s, a, l, d) => {
45334
- const { mainUi: g, uiMotherships: p } = a, k = zy.DOM, x = d0(t), O = By(t), R = mw(t).or(t5(t)), L = l.shared.header, ee = L.isPositionedAtTop, ne = 150, he = Fy(t), we = he === RR.sliding || he === RR.floating, ct = mo(!1), Re = () => ct.get() && !t.removed, Ke = (oo) => we ? oo.fold(B(0), (ln) => ln.components().length > 1 ? ir(ln.components()[1].element) : 0) : 0, Qe = (oo) => {
45336
+ const { mainUi: g, uiMotherships: p } = a, k = zy.DOM, x = d0(t), O = By(t), R = mw(t).or(t5(t)), L = l.shared.header, ee = L.isPositionedAtTop, ne = 150, he = Fy(t), we = he === RR.sliding || he === RR.floating, ct = mo(!1), Re = () => ct.get() && !t.removed, Ke = (oo) => we ? oo.fold(B(0), (ln) => ln.components().length > 1 ? ur(ln.components()[1].element) : 0) : 0, Qe = (oo) => {
45335
45337
  switch (gw(t)) {
45336
45338
  case j0.auto:
45337
- const ln = Wr.getToolbar(g.outerContainer), In = Ke(ln), Uo = ir(oo.element) - In, Io = Jr(s);
45339
+ const ln = Wr.getToolbar(g.outerContainer), In = Ke(ln), Uo = ur(oo.element) - In, Io = Jr(s);
45338
45340
  if (Io.y > Uo)
45339
45341
  return "top";
45340
45342
  {
45341
- const Jo = El(s), xr = Math.max(Jo.dom.scrollHeight, ir(Jo));
45343
+ const Jo = El(s), xr = Math.max(Jo.dom.scrollHeight, ur(Jo));
45342
45344
  return Io.bottom < xr - Uo || $a().bottom < Io.bottom - Uo ? "bottom" : "top";
45343
45345
  }
45344
45346
  case j0.bottom:
@@ -45363,9 +45365,9 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
45363
45365
  const Uo = Wr.getToolbar(g.outerContainer), Io = Ke(Uo), So = Jr(s), Jo = Zn(t, g.outerContainer.element), xr = () => Jo.fold(() => So.x, (zl) => {
45364
45366
  const Td = Jr(zl);
45365
45367
  return Ns(zl, rs()) ? So.x : So.x - Td.x;
45366
- }), nr = () => Jo.fold(() => ee() ? Math.max(So.y - ir(In.element) + Io, 0) : So.bottom, (zl) => {
45368
+ }), nr = () => Jo.fold(() => ee() ? Math.max(So.y - ur(In.element) + Io, 0) : So.bottom, (zl) => {
45367
45369
  var Td;
45368
- const ff = Jr(zl), uu = (Td = zl.dom.scrollTop) !== null && Td !== void 0 ? Td : 0, g1 = Ns(zl, rs()) ? Math.max(So.y - ir(In.element) + Io, 0) : So.y - ff.y + uu - ir(In.element) + Io;
45370
+ const ff = Jr(zl), uu = (Td = zl.dom.scrollTop) !== null && Td !== void 0 ? Td : 0, g1 = Ns(zl, rs()) ? Math.max(So.y - ur(In.element) + Io, 0) : So.y - ff.y + uu - ur(In.element) + Io;
45369
45371
  return ee() ? g1 : So.bottom;
45370
45372
  }), ei = xr(), Ed = lo(oo, Math.ceil(g.outerContainer.element.dom.getBoundingClientRect().width)).filter((zl) => zl > ne).map((zl) => {
45371
45373
  const Td = ln.getOr(Wc()), ff = window.innerWidth - (ei - Td.left), uu = Math.max(Math.min(zl, ff), ne);
@@ -45642,7 +45644,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
45642
45644
  if (p)
45643
45645
  return Vj(s, l.getMode(), () => a5(g, Jr(s), -20) && !l.isReposition() ? rB : sB);
45644
45646
  {
45645
- const k = l.getMode() === "fixed" ? d.y + Wc().top : d.y, x = ir(s) + HC;
45647
+ const k = l.getMode() === "fixed" ? d.y + Wc().top : d.y, x = ur(s) + HC;
45646
45648
  return k + x <= g.y ? Bu : F0;
45647
45649
  }
45648
45650
  }, fT = (t, s, a, l) => {
@@ -45662,7 +45664,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
45662
45664
  gc,
45663
45665
  fc,
45664
45666
  Ra,
45665
- dr,
45667
+ fr,
45666
45668
  rl,
45667
45669
  mc
45668
45670
  ].concat(g(x)),
@@ -45671,14 +45673,14 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
45671
45673
  Ra,
45672
45674
  fc,
45673
45675
  rl,
45674
- dr,
45676
+ fr,
45675
45677
  mc
45676
45678
  ].concat(g(x))
45677
45679
  } : {
45678
45680
  onLtr: (x) => [
45679
45681
  mc,
45680
45682
  gc,
45681
- dr,
45683
+ fr,
45682
45684
  fc,
45683
45685
  rl,
45684
45686
  Ra
@@ -45688,7 +45690,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
45688
45690
  gc,
45689
45691
  rl,
45690
45692
  Ra,
45691
- dr,
45693
+ fr,
45692
45694
  fc
45693
45695
  ].concat(g(x))
45694
45696
  };
@@ -46520,7 +46522,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
46520
46522
  gc,
46521
46523
  fc,
46522
46524
  Ra,
46523
- dr,
46525
+ fr,
46524
46526
  rl,
46525
46527
  mc,
46526
46528
  Bu,
@@ -46535,7 +46537,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
46535
46537
  Ra,
46536
46538
  fc,
46537
46539
  rl,
46538
- dr,
46540
+ fr,
46539
46541
  mc,
46540
46542
  Bu,
46541
46543
  F0,
@@ -47242,7 +47244,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
47242
47244
  const g = { height: iT(l + s.top, u0(t), wx(t)) };
47243
47245
  return a === Nb.Both && (g.width = iT(d + s.left, Py(t), mw(t))), g;
47244
47246
  }, G5 = (t, s, a) => {
47245
- const l = ut.fromDom(t.getContainer()), d = sq(t, s, a, ir(l), de(l));
47247
+ const l = ut.fromDom(t.getContainer()), d = sq(t, s, a, ur(l), de(l));
47246
47248
  ao(d, (g, p) => {
47247
47249
  Se(g) && Et(l, p, lT(g));
47248
47250
  }), sE(t);
@@ -48095,7 +48097,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
48095
48097
  pa("onCancel", U),
48096
48098
  pa("onClose", U),
48097
48099
  pa("onMessage", U)
48098
- ]), n = (t) => aa("dialog", e, t), o = (t) => me(t) ? [t].concat(Q($n(t), o)) : lt(t) ? Q(t, o) : [], r = (t) => Y(t.type) && Y(t.name), c = {
48100
+ ]), n = (t) => aa("dialog", e, t), o = (t) => me(t) ? [t].concat(Q(Bn(t), o)) : lt(t) ? Q(t, o) : [], r = (t) => Y(t.type) && Y(t.name), c = {
48099
48101
  checkbox: wq,
48100
48102
  colorinput: u1,
48101
48103
  colorpicker: J5,
@@ -48436,7 +48438,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
48436
48438
  const l = El(t).dom, d = _g(t, ".tox-dialog-wrap").getOr(t), g = Is(d, "position") === "fixed";
48437
48439
  let p;
48438
48440
  g ? p = Math.max(l.clientHeight, window.innerHeight) : p = Math.max(l.offsetHeight, l.scrollHeight);
48439
- const k = ir(s), O = s.dom.offsetLeft >= a.dom.offsetLeft + de(a) ? Math.max(ir(a), k) : k, R = parseInt(Is(t, "margin-top"), 10) || 0, L = parseInt(Is(t, "margin-bottom"), 10) || 0, ne = ir(t) + R + L - O;
48441
+ const k = ur(s), O = s.dom.offsetLeft >= a.dom.offsetLeft + de(a) ? Math.max(ur(a), k) : k, R = parseInt(Is(t, "margin-top"), 10) || 0, L = parseInt(Is(t, "margin-bottom"), 10) || 0, ne = ur(t) + R + L - O;
48440
48442
  return p - ne;
48441
48443
  }, qs = (t, s) => {
48442
48444
  At(t).each((a) => bc.showTab(s, a.value));
@@ -48854,7 +48856,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
48854
48856
  }), lf = (t, s, a) => ({
48855
48857
  onClose: () => a.closeWindow(),
48856
48858
  onBlock: (l) => {
48857
- const d = ta(t().element, ".tox-dialog__header").map((g) => ir(g));
48859
+ const d = ta(t().element, ".tox-dialog__header").map((g) => ur(g));
48858
48860
  Ec.setBusy(t(), (g, p) => cf(l.message, p, s, d));
48859
48861
  },
48860
48862
  onUnblock: () => {
@@ -49145,7 +49147,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
49145
49147
  }, g, k, a, l, O)), we = t_(x.buttons), ct = y3(we), Re = lo(we.length !== 0, tr(zt({ buttons: we }, g, a))), Ke = v3(() => Vt, {
49146
49148
  onBlock: (to) => {
49147
49149
  Yf.block(Ft, (Nn, io) => {
49148
- const ws = ne.getOpt(Ft).map((jr) => ir(jr.element));
49150
+ const ws = ne.getOpt(Ft).map((jr) => ur(jr.element));
49149
49151
  return cf(to.message, io, a.shared.providers, ws);
49150
49152
  });
49151
49153
  },
@@ -49863,7 +49865,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
49863
49865
  }, at = _t.DOM, Yt = (P) => P.style.marginLeft && P.style.marginRight && P.style.marginLeft === P.style.marginRight ? yt(P.style.marginLeft) : "", kn = (P) => P.style.marginTop && P.style.marginBottom && P.style.marginTop === P.style.marginBottom ? yt(P.style.marginTop) : "", ro = (P) => P.style.borderWidth ? yt(P.style.borderWidth) : "", an = (P, le) => {
49864
49866
  var De;
49865
49867
  return P.hasAttribute(le) && (De = P.getAttribute(le)) !== null && De !== void 0 ? De : "";
49866
- }, $n = (P) => P.parentNode !== null && P.parentNode.nodeName === "FIGURE", wt = (P, le, De) => {
49868
+ }, Bn = (P) => P.parentNode !== null && P.parentNode.nodeName === "FIGURE", wt = (P, le, De) => {
49867
49869
  De === "" || De === null ? P.removeAttribute(le) : P.setAttribute(le, De);
49868
49870
  }, bn = (P) => {
49869
49871
  const le = at.create("figure", { class: "image" });
@@ -49872,7 +49874,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
49872
49874
  const le = P.parentNode;
49873
49875
  Ye(le) && (at.insertAfter(P, le), at.remove(le));
49874
49876
  }, Lo = (P) => {
49875
- $n(P) ? Xn(P) : bn(P);
49877
+ Bn(P) ? Xn(P) : bn(P);
49876
49878
  }, Es = (P, le) => {
49877
49879
  const De = P.getAttribute("style"), pt = le(De !== null ? De : "");
49878
49880
  pt.length > 0 ? (P.setAttribute("style", pt), P.setAttribute("data-mce-style", pt)) : P.removeAttribute("style");
@@ -49893,7 +49895,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
49893
49895
  }, Gs = (P) => {
49894
49896
  var le;
49895
49897
  return (le = P.style.borderStyle) !== null && le !== void 0 ? le : "";
49896
- }, dt = (P) => Ye(P) && P.nodeName === "FIGURE", Nt = (P) => P.nodeName === "IMG", Dn = (P) => at.getAttrib(P, "alt").length === 0 && at.getAttrib(P, "role") === "presentation", Bn = (P) => Dn(P) ? "" : an(P, "alt"), Ko = () => ({
49898
+ }, dt = (P) => Ye(P) && P.nodeName === "FIGURE", Nt = (P) => P.nodeName === "IMG", Dn = (P) => at.getAttrib(P, "alt").length === 0 && at.getAttrib(P, "role") === "presentation", Ln = (P) => Dn(P) ? "" : an(P, "alt"), Ko = () => ({
49897
49899
  src: "",
49898
49900
  alt: "",
49899
49901
  title: "",
@@ -49923,13 +49925,13 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
49923
49925
  return De;
49924
49926
  }, Mr = (P, le) => ({
49925
49927
  src: an(le, "src"),
49926
- alt: Bn(le),
49928
+ alt: Ln(le),
49927
49929
  title: an(le, "title"),
49928
49930
  width: uo(le, "width"),
49929
49931
  height: uo(le, "height"),
49930
49932
  class: an(le, "class"),
49931
49933
  style: P(an(le, "style")),
49932
- caption: $n(le),
49934
+ caption: Bn(le),
49933
49935
  hspace: Yt(le),
49934
49936
  vspace: kn(le),
49935
49937
  border: ro(le),
@@ -50128,9 +50130,9 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50128
50130
  ]
50129
50131
  }]
50130
50132
  }) }, Fr = (P) => {
50131
- const le = hs.sanitizer((ir) => P.convertURL(ir.value || ir.url || "", "src")), De = new Promise((ir) => {
50133
+ const le = hs.sanitizer((ur) => P.convertURL(ur.value || ur.url || "", "src")), De = new Promise((ur) => {
50132
50134
  Oo(P, (oi) => {
50133
- ir(le(oi).map((hf) => ze([
50135
+ ur(le(oi).map((hf) => ze([
50134
50136
  [{
50135
50137
  text: "None",
50136
50138
  value: ""
@@ -50138,10 +50140,10 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50138
50140
  hf
50139
50141
  ])));
50140
50142
  });
50141
- }), pt = hs.sanitize(Oe(P)), Et = Dt(P), xo = ie(P), $s = En(P), Is = Jt(P), nn = Il(P), Ws = Q(P), ka = $(P), _c = ft(P), Xo = G(P), kc = rt(P), Qr = Ct(P), pu = be.some(pe(P)).filter((ir) => me(ir) && ir.length > 0);
50142
- return De.then((ir) => ({
50143
+ }), pt = hs.sanitize(Oe(P)), Et = Dt(P), xo = ie(P), $s = En(P), Is = Jt(P), nn = Il(P), Ws = Q(P), ka = $(P), _c = ft(P), Xo = G(P), kc = rt(P), Qr = Ct(P), pu = be.some(pe(P)).filter((ur) => me(ur) && ur.length > 0);
50144
+ return De.then((ur) => ({
50143
50145
  image: nn,
50144
- imageList: ir,
50146
+ imageList: ur,
50145
50147
  classList: pt,
50146
50148
  hasAdvTab: Et,
50147
50149
  hasUploadTab: xo,
@@ -50723,7 +50725,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50723
50725
  }, ro = (C, N) => {
50724
50726
  const K = N === void 0 ? document : N.dom;
50725
50727
  return Yt(K) ? B.none() : B.from(K.querySelector(C)).map(so.fromDom);
50726
- }, an = (C, N) => C.dom === N.dom, $n = at;
50728
+ }, an = (C, N) => C.dom === N.dom, Bn = at;
50727
50729
  typeof window < "u" || Function("return this;")();
50728
50730
  const wt = (C) => C.dom.nodeName.toLowerCase(), bn = (C) => C.dom.nodeType, Xn = (C) => (N) => bn(N) === C, Lo = (C) => bn(C) === Jt || wt(C) === "#comment", Es = Xn(yt), Us = Xn(Kt), uo = Xn(At), ss = Xn(Ve), zs = (C) => (N) => Es(N) && wt(N) === C, us = (C) => so.fromDom(C.dom.ownerDocument), lo = (C) => uo(C) ? C : us(C), Gs = (C) => B.from(C.dom.parentNode).map(so.fromDom), dt = (C, N) => {
50729
50731
  const K = Fe(N) ? N : it;
@@ -50736,7 +50738,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50736
50738
  ge = qt;
50737
50739
  }
50738
50740
  return qe;
50739
- }, Nt = (C) => B.from(C.dom.previousSibling).map(so.fromDom), Dn = (C) => B.from(C.dom.nextSibling).map(so.fromDom), Bn = (C) => _t(C.dom.childNodes, so.fromDom), Ko = (C, N) => {
50741
+ }, Nt = (C) => B.from(C.dom.previousSibling).map(so.fromDom), Dn = (C) => B.from(C.dom.nextSibling).map(so.fromDom), Ln = (C) => _t(C.dom.childNodes, so.fromDom), Ko = (C, N) => {
50740
50742
  const K = C.dom.childNodes;
50741
50743
  return B.from(K[N]).map(so.fromDom);
50742
50744
  }, ps = (C) => Ko(C, 0), Ir = (C) => ss(C) && bt(C.dom.host), Mr = (C) => so.fromDom(C.dom.getRootNode()), _r = (C) => {
@@ -50765,9 +50767,9 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50765
50767
  }, Dc = (C, N, K) => Pr((qe, qt) => qt(qe), Fa, C, N, K), dl = (C, N) => {
50766
50768
  const K = (qe) => N(so.fromDom(qe));
50767
50769
  return pe(C.dom.childNodes, K).map(so.fromDom);
50768
- }, fa = (C, N, K) => Fa(C, (ge) => at(ge, N), K), Il = (C, N) => dl(C, (K) => at(K, N)), ut = (C, N) => ro(N, C), oa = (C, N, K) => Pr((qe, qt) => at(qe, qt), fa, C, N, K), $e = (C) => oa(C, "[contenteditable]"), Ze = (C, N = !1) => Ks(C) ? C.dom.isContentEditable : $e(C).fold(Me(N), (K) => sn(K) === "true"), sn = (C) => C.dom.contentEditable, dn = (C) => C.nodeName.toLowerCase(), Ln = (C) => so.fromDom(C.getBody()), fo = (C) => (N) => an(N, Ln(C)), co = (C) => C ? C.replace(/px$/, "") : "", bo = (C) => /^\d+(\.\d+)?$/.test(C) ? C + "px" : C, Po = (C) => so.fromDom(C.selection.getStart()), Fo = (C) => so.fromDom(C.selection.getEnd()), Ds = (C) => Dc(C, zs("table")).forall(Ze), Ls = (C, N) => Zt(Bn(C), N), Ys = (C, N) => {
50770
+ }, fa = (C, N, K) => Fa(C, (ge) => at(ge, N), K), Il = (C, N) => dl(C, (K) => at(K, N)), ut = (C, N) => ro(N, C), oa = (C, N, K) => Pr((qe, qt) => at(qe, qt), fa, C, N, K), $e = (C) => oa(C, "[contenteditable]"), Ze = (C, N = !1) => Ks(C) ? C.dom.isContentEditable : $e(C).fold(Me(N), (K) => sn(K) === "true"), sn = (C) => C.dom.contentEditable, dn = (C) => C.nodeName.toLowerCase(), $n = (C) => so.fromDom(C.getBody()), fo = (C) => (N) => an(N, $n(C)), co = (C) => C ? C.replace(/px$/, "") : "", bo = (C) => /^\d+(\.\d+)?$/.test(C) ? C + "px" : C, Po = (C) => so.fromDom(C.selection.getStart()), Fo = (C) => so.fromDom(C.selection.getEnd()), Ds = (C) => Dc(C, zs("table")).forall(Ze), Ls = (C, N) => Zt(Ln(C), N), Ys = (C, N) => {
50769
50771
  let K = [];
50770
- return H(Bn(C), (ge) => {
50772
+ return H(Ln(C), (ge) => {
50771
50773
  N(ge) && (K = K.concat([ge])), K = K.concat(Ys(ge, N));
50772
50774
  }), K;
50773
50775
  }, Ea = (C, N) => Ls(C, (K) => at(K, N)), ma = (C, N) => kn(N, C), wo = (C, N, K) => {
@@ -50818,7 +50820,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50818
50820
  }, se = (C, N) => {
50819
50821
  const K = C.dom;
50820
50822
  ni(K, N), Vi(sa(C, "style").map(cc), "") && Fr(C, "style");
50821
- }, Ee = (C, N, K = 0) => sa(C, N).map((ge) => parseInt(ge, 10)).getOr(K), tt = (C, N) => Ut(C, N, He), Ut = (C, N, K) => Q(Bn(C), (ge) => at(ge, N) ? K(ge) ? [ge] : [] : Ut(ge, N, K)), fn = [
50823
+ }, Ee = (C, N, K = 0) => sa(C, N).map((ge) => parseInt(ge, 10)).getOr(K), tt = (C, N) => Ut(C, N, He), Ut = (C, N, K) => Q(Ln(C), (ge) => at(ge, N) ? K(ge) ? [ge] : [] : Ut(ge, N, K)), fn = [
50822
50824
  "tfoot",
50823
50825
  "thead",
50824
50826
  "tbody",
@@ -50902,7 +50904,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50902
50904
  N[Cn] = je(ge.element, qe, Cn);
50903
50905
  }), K += qe;
50904
50906
  }), N;
50905
- }, ir = (C) => {
50907
+ }, ur = (C) => {
50906
50908
  const N = {}, K = [], qe = rt(C).map((fi) => fi.element).bind(pt).bind(ka).getOr({});
50907
50909
  let qt = 0, Cn = 0, Jn = 0;
50908
50910
  const {
@@ -50944,9 +50946,9 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
50944
50946
  }, ua = {
50945
50947
  fromTable: (C) => {
50946
50948
  const N = nn(C);
50947
- return ir(N);
50949
+ return ur(N);
50948
50950
  },
50949
- generate: ir,
50951
+ generate: ur,
50950
50952
  getAt: Xo,
50951
50953
  findItem: kc,
50952
50954
  filterItems: Qr,
@@ -51006,19 +51008,19 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
51006
51008
  ], (C) => ({
51007
51009
  title: C,
51008
51010
  value: C.toLowerCase()
51009
- })), Cc = "100%", ur = (C) => {
51011
+ })), Cc = "100%", dr = (C) => {
51010
51012
  var N;
51011
51013
  const K = C.dom, ge = (N = K.getParent(C.selection.getStart(), K.isBlock)) !== null && N !== void 0 ? N : C.getBody();
51012
51014
  return Fs(so.fromDom(ge)) + "px";
51013
51015
  }, Nc = (C, N) => op(C) || !wa(C) ? N : hu(C) ? {
51014
51016
  ...N,
51015
- width: ur(C)
51017
+ width: dr(C)
51016
51018
  } : {
51017
51019
  ...N,
51018
51020
  width: Cc
51019
51021
  }, lc = (C, N) => op(C) || wa(C) ? N : hu(C) ? {
51020
51022
  ...N,
51021
- width: ur(C)
51023
+ width: dr(C)
51022
51024
  } : {
51023
51025
  ...N,
51024
51026
  width: Cc
@@ -51118,7 +51120,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
51118
51120
  const N = C.dom;
51119
51121
  N.parentNode !== null && N.parentNode.removeChild(N);
51120
51122
  }, om = (C) => {
51121
- const N = Bn(C);
51123
+ const N = Ln(C);
51122
51124
  N.length > 0 && nm(C, N), Rc(C);
51123
51125
  }, sm = ((C, N) => {
51124
51126
  const K = (qt) => {
@@ -51238,7 +51240,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
51238
51240
  nextSibling: Dn
51239
51241
  }),
51240
51242
  property: Me({
51241
- children: Bn,
51243
+ children: Ln,
51242
51244
  name: wt,
51243
51245
  parent: Gs,
51244
51246
  document: N,
@@ -51254,7 +51256,7 @@ The conflicting element is` + (Un(L.element) ? " " : " not ") + "already in the
51254
51256
  isNonEditable: qe
51255
51257
  }),
51256
51258
  eq: an,
51257
- is: $n
51259
+ is: Bn
51258
51260
  };
51259
51261
  };
51260
51262
  const Xa = (C, N, K, ge) => {
@@ -52848,7 +52850,7 @@ Required: ` + N.join(", "));
52848
52850
  }, yt = Object.getPrototypeOf, Kt = (E) => Ve("HTMLElement", E), vn = (E) => {
52849
52851
  const I = Jt("ownerDocument.defaultView", E);
52850
52852
  return oe(E) && (Kt(I).prototype.isPrototypeOf(E) || /^HTML\w*Element$/.test(yt(E).constructor.name));
52851
- }, Oo = (E) => E.dom.nodeName.toLowerCase(), ao = (E) => E.dom.nodeType, Gn = (E) => (I) => ao(I) === E, vs = (E) => ao(E) === H || Oo(E) === "#comment", so = (E) => at(E) && vn(E.dom), at = Gn(xt), Yt = Gn(Zt), kn = Gn(ko), ro = (E) => (I) => at(I) && Oo(I) === E, an = (E) => be.from(E.dom.parentNode).map(Q.fromDom), $n = (E) => be.from(E.dom.parentElement).map(Q.fromDom), wt = (E) => be.from(E.dom.nextSibling).map(Q.fromDom), bn = (E) => We(E.dom.childNodes, Q.fromDom), Xn = (E, I) => {
52853
+ }, Oo = (E) => E.dom.nodeName.toLowerCase(), ao = (E) => E.dom.nodeType, Gn = (E) => (I) => ao(I) === E, vs = (E) => ao(E) === H || Oo(E) === "#comment", so = (E) => at(E) && vn(E.dom), at = Gn(xt), Yt = Gn(Zt), kn = Gn(ko), ro = (E) => (I) => at(I) && Oo(I) === E, an = (E) => be.from(E.dom.parentNode).map(Q.fromDom), Bn = (E) => be.from(E.dom.parentElement).map(Q.fromDom), wt = (E) => be.from(E.dom.nextSibling).map(Q.fromDom), bn = (E) => We(E.dom.childNodes, Q.fromDom), Xn = (E, I) => {
52852
52854
  const J = E.dom.childNodes;
52853
52855
  return be.from(J[I]).map(Q.fromDom);
52854
52856
  }, Lo = (E) => Xn(E, 0), Es = (E) => Xn(E, E.dom.childNodes.length - 1), Us = (E) => kn(E) && lt(E.dom.host), uo = (E) => Q.fromDom(E.dom.getRootNode()), ss = (E) => {
@@ -52874,7 +52876,7 @@ Required: ` + N.join(", "));
52874
52876
  break;
52875
52877
  }
52876
52878
  return be.none();
52877
- }, dt = (E, I, J) => lo((Ue, on) => on(Ue), Gs, E, I, J), Nt = (E, I, J) => Gs(E, (Ae) => $(Ae, I), J), Dn = (E, I, J) => lo((Ue, on) => $(Ue, on), Nt, E, I, J), Bn = (E) => Dn(E, "[contenteditable]"), Ko = (E, I = !1) => us(E) ? E.dom.isContentEditable : Bn(E).fold(Ye(I), (J) => ps(J) === "true"), ps = (E) => E.dom.contentEditable, Ir = (E, I) => {
52879
+ }, dt = (E, I, J) => lo((Ue, on) => on(Ue), Gs, E, I, J), Nt = (E, I, J) => Gs(E, (Ae) => $(Ae, I), J), Dn = (E, I, J) => lo((Ue, on) => $(Ue, on), Nt, E, I, J), Ln = (E) => Dn(E, "[contenteditable]"), Ko = (E, I = !1) => us(E) ? E.dom.isContentEditable : Ln(E).fold(Ye(I), (J) => ps(J) === "true"), ps = (E) => E.dom.contentEditable, Ir = (E, I) => {
52878
52880
  an(E).each((Ae) => {
52879
52881
  Ae.dom.insertBefore(I.dom, E.dom);
52880
52882
  });
@@ -52926,7 +52928,7 @@ Required: ` + N.join(", "));
52926
52928
  }, dn = (E, I) => {
52927
52929
  const J = {};
52928
52930
  return sn(E, I, Ze(J), et), J;
52929
- }, Ln = (E, I, J) => {
52931
+ }, $n = (E, I, J) => {
52930
52932
  if (te(J) || me(J) || Fe(J))
52931
52933
  E.setAttribute(I, J + "");
52932
52934
  else
@@ -52934,7 +52936,7 @@ Required: ` + N.join(", "));
52934
52936
  }, fo = (E, I) => {
52935
52937
  const J = E.dom;
52936
52938
  $e(I, (Ae, Ue) => {
52937
- Ln(J, Ue, Ae);
52939
+ $n(J, Ue, Ae);
52938
52940
  });
52939
52941
  }, co = (E) => xe(E.dom.attributes, (I, J) => (I[J.name] = J.value, I), {}), bo = (E, I) => Q.fromDom(E.dom.cloneNode(I)), Po = (E) => bo(E, !0), Fo = (E, I) => {
52940
52942
  const J = Q.fromTag(I), Ae = co(E);
@@ -52987,7 +52989,7 @@ Required: ` + N.join(", "));
52987
52989
  const zo = J.parentElement;
52988
52990
  zo && Aa(E.dom, zo) && Ae(zo), Br.remove(J), Aa(E.dom, I) && Br.remove(I);
52989
52991
  }, ni = ro("dd"), Pl = ro("dt"), Fl = (E, I) => {
52990
- ni(I) ? Ds(I, "dt") : Pl(I) && $n(I).each((J) => Ml(E, J.dom, I.dom));
52992
+ ni(I) ? Ds(I, "dt") : Pl(I) && Bn(I).each((J) => Ml(E, J.dom, I.dom));
52991
52993
  }, qr = (E) => {
52992
52994
  Pl(E) && Ds(E, "dd");
52993
52995
  }, Qa = (E, I, J) => {
@@ -53077,7 +53079,7 @@ Required: ` + N.join(", "));
53077
53079
  }, kc = (E, I, J) => E.dispatch("ListMutation", {
53078
53080
  action: I,
53079
53081
  element: J
53080
- }), pu = ((E) => (I) => I.replace(E, ""))(/^\s+|\s+$/g), ir = (E) => E.length > 0, oi = (E) => !ir(E), hf = (E) => E.style !== void 0 && bt(E.style.getPropertyValue), Um = (E, I, J) => {
53082
+ }), pu = ((E) => (I) => I.replace(E, ""))(/^\s+|\s+$/g), ur = (E) => E.length > 0, oi = (E) => !ur(E), hf = (E) => E.style !== void 0 && bt(E.style.getPropertyValue), Um = (E, I, J) => {
53081
53083
  if (!te(J))
53082
53084
  throw console.error("Invalid call to CSS.set. Property ", I, ":: Value ", J, ":: Element ", E), new Error("CSS value must be a string: " + J);
53083
53085
  hf(E) && E.style.setProperty(I, J);
@@ -53122,7 +53124,7 @@ Required: ` + N.join(", "));
53122
53124
  });
53123
53125
  }, Cc = (E, I) => {
53124
53126
  Oo(E.list) !== I.listType && (E.list = Ds(E.list, I.listType)), fo(E.list, I.listAttributes);
53125
- }, ur = (E, I, J) => {
53127
+ }, dr = (E, I, J) => {
53126
53128
  const Ae = Q.fromTag("li", E);
53127
53129
  return fo(Ae, I), Pr(Ae, J), Ae;
53128
53130
  }, Nc = (E, I) => {
@@ -53131,7 +53133,7 @@ Required: ` + N.join(", "));
53131
53133
  const Ae = I.slice(0, J.depth);
53132
53134
  return hn(Ae).each((Ue) => {
53133
53135
  if (Al(J)) {
53134
- const on = ur(E, J.itemAttributes, J.content);
53136
+ const on = dr(E, J.itemAttributes, J.content);
53135
53137
  Nc(Ue, on), Cc(Ue, J);
53136
53138
  } else if (de(J))
53137
53139
  Pr(Ue.item, J.content);
@@ -54749,7 +54751,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
54749
54751
  tt.each((fn) => {
54750
54752
  pe(Ee, "innerText") ? Ee.innerText = fn : Ee.textContent = fn;
54751
54753
  }), se.dom.setAttribs(Ee, Ut), se.selection.select(Ee);
54752
- }, $n = (se, Ee, tt, Ut) => {
54754
+ }, Bn = (se, Ee, tt, Ut) => {
54753
54755
  const fn = se.dom;
54754
54756
  at(Ee) ? zs(fn, Ee, Ut) : tt.fold(() => {
54755
54757
  se.execCommand("mceInsertLink", !1, Ut);
@@ -54760,7 +54762,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
54760
54762
  const Ut = se.selection.getNode(), fn = yt(se, Ut), Un = ro(se, Yt(tt));
54761
54763
  se.undoManager.transact(() => {
54762
54764
  tt.href === Ee.href && Ee.attach(), fn.fold(() => {
54763
- $n(se, Ut, tt.text, Un);
54765
+ Bn(se, Ut, tt.text, Un);
54764
54766
  }, (rs) => {
54765
54767
  se.focus(), an(se, rs, tt.text, Un);
54766
54768
  });
@@ -54837,7 +54839,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
54837
54839
  });
54838
54840
  }
54839
54841
  }), tt;
54840
- }, dt = (se = us) => (Ee) => re.from(Ee).map((tt) => Gs(tt, se)), Bn = {
54842
+ }, dt = (se = us) => (Ee) => re.from(Ee).map((tt) => Gs(tt, se)), Ln = {
54841
54843
  sanitize: (se) => dt(us)(se),
54842
54844
  sanitizeWith: dt,
54843
54845
  createUi: (se, Ee) => (tt) => ({
@@ -54937,7 +54939,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
54937
54939
  }].concat(tt)) : re.none();
54938
54940
  } }, $e = { getClasses: (se) => {
54939
54941
  const Ee = Mt(se);
54940
- return Ee.length > 0 ? Bn.sanitize(Ee) : re.none();
54942
+ return Ee.length > 0 ? Ln.sanitize(Ee) : re.none();
54941
54943
  } }, Ze = (se) => {
54942
54944
  try {
54943
54945
  return re.some(JSON.parse(se));
@@ -54948,15 +54950,15 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
54948
54950
  const Ee = (Ut) => se.convertURL(Ut.value || Ut.url || "", "href"), tt = jt(se);
54949
54951
  return new Promise((Ut) => {
54950
54952
  oe(tt) ? fetch(tt).then((fn) => fn.ok ? fn.text().then(Ze) : Promise.reject()).then(Ut, () => Ut(re.none())) : et(tt) ? tt((fn) => Ut(re.some(fn))) : Ut(re.from(tt));
54951
- }).then((Ut) => Ut.bind(Bn.sanitizeWith(Ee)).map((fn) => fn.length > 0 ? [{
54953
+ }).then((Ut) => Ut.bind(Ln.sanitizeWith(Ee)).map((fn) => fn.length > 0 ? [{
54952
54954
  text: "None",
54953
54955
  value: ""
54954
54956
  }].concat(fn) : fn));
54955
54957
  } }, fo = { getRels: (se, Ee) => {
54956
54958
  const tt = ot(se);
54957
54959
  if (tt.length > 0) {
54958
- const Ut = Vn(Ee, "_blank"), fn = _t(se) === !1, Un = (Qs) => At(Bn.getValue(Qs), Ut);
54959
- return (fn ? Bn.sanitizeWith(Un) : Bn.sanitize)(tt);
54960
+ const Ut = Vn(Ee, "_blank"), fn = _t(se) === !1, Un = (Qs) => At(Ln.getValue(Qs), Ut);
54961
+ return (fn ? Ln.sanitizeWith(Un) : Ln.sanitize)(tt);
54960
54962
  }
54961
54963
  return re.none();
54962
54964
  } }, co = [
@@ -54970,7 +54972,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
54970
54972
  }
54971
54973
  ], Po = { getTargets: (se) => {
54972
54974
  const Ee = hn(se);
54973
- return me(Ee) ? Bn.sanitize(Ee).orThunk(() => re.some(co)) : Ee === !1 ? re.none() : re.some(co);
54975
+ return me(Ee) ? Ln.sanitize(Ee).orThunk(() => re.some(co)) : Ee === !1 ? re.none() : re.some(co);
54974
54976
  } }, Fo = (se, Ee, tt) => {
54975
54977
  const Ut = se.getAttrib(Ee, tt);
54976
54978
  return Ut !== null && Ut.length > 0 ? re.some(Ut) : re.none();
@@ -55062,11 +55064,11 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
55062
55064
  fn,
55063
55065
  Un,
55064
55066
  ze([
55065
- fs.anchor.map(Bn.createUi("anchor", "Anchors")),
55066
- fs.rels.map(Bn.createUi("rel", "Rel")),
55067
- fs.targets.map(Bn.createUi("target", "Open link in...")),
55068
- fs.link.map(Bn.createUi("link", "Link list")),
55069
- fs.classes.map(Bn.createUi("linkClass", "Class"))
55067
+ fs.anchor.map(Ln.createUi("anchor", "Anchors")),
55068
+ fs.rels.map(Ln.createUi("rel", "Rel")),
55069
+ fs.targets.map(Ln.createUi("target", "Open link in...")),
55070
+ fs.link.map(Ln.createUi("link", "Link list")),
55071
+ fs.classes.map(Ln.createUi("linkClass", "Class"))
55070
55072
  ])
55071
55073
  ])
55072
55074
  },
@@ -55822,8 +55824,8 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
55822
55824
  vs = vs.next, an += vs.value.length;
55823
55825
  if (an -= vs.value.length, so = an, vs.value instanceof _t)
55824
55826
  continue;
55825
- for (var $n = vs; $n !== $.tail && (an < ro || typeof $n.value == "string"); $n = $n.next)
55826
- Yt++, an += $n.value.length;
55827
+ for (var Bn = vs; Bn !== $.tail && (an < ro || typeof Bn.value == "string"); Bn = Bn.next)
55828
+ Yt++, an += Bn.value.length;
55827
55829
  Yt--, at = Q.slice(so, an), kn.index -= so;
55828
55830
  } else if (kn = H(Gn, 0, at, Kt), !kn)
55829
55831
  continue;
@@ -56095,8 +56097,8 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
56095
56097
  }), $t.languages.insertBefore("inside", "double-colon", { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i }, $t.languages.cpp["base-clause"]);
56096
56098
  }(Ne), function($t) {
56097
56099
  function hn(kn, ro) {
56098
- return kn.replace(/<<(\d+)>>/g, function(an, $n) {
56099
- return "(?:" + ro[+$n] + ")";
56100
+ return kn.replace(/<<(\d+)>>/g, function(an, Bn) {
56101
+ return "(?:" + ro[+Bn] + ")";
56100
56102
  });
56101
56103
  }
56102
56104
  function ot(kn, ro, an) {
@@ -57915,8 +57917,8 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
57915
57917
  let Ze = $e;
57916
57918
  return {
57917
57919
  get: () => Ze,
57918
- set: (Ln) => {
57919
- Ze = Ln;
57920
+ set: ($n) => {
57921
+ Ze = $n;
57920
57922
  }
57921
57923
  };
57922
57924
  };
@@ -58004,15 +58006,15 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58004
58006
  var U = tinymce.util.Tools.resolve("tinymce.Env"), be = tinymce.util.Tools.resolve("tinymce.util.Tools");
58005
58007
  const it = Array.prototype.slice, He = Array.prototype.push, B = ($e, Ze) => {
58006
58008
  const sn = $e.length, dn = new Array(sn);
58007
- for (let Ln = 0; Ln < sn; Ln++) {
58008
- const fo = $e[Ln];
58009
- dn[Ln] = Ze(fo, Ln);
58009
+ for (let $n = 0; $n < sn; $n++) {
58010
+ const fo = $e[$n];
58011
+ dn[$n] = Ze(fo, $n);
58010
58012
  }
58011
58013
  return dn;
58012
58014
  }, vt = ($e, Ze) => {
58013
58015
  for (let sn = 0, dn = $e.length; sn < dn; sn++) {
58014
- const Ln = $e[sn];
58015
- Ze(Ln, sn);
58016
+ const $n = $e[sn];
58017
+ Ze($n, sn);
58016
58018
  }
58017
58019
  }, St = ($e, Ze) => {
58018
58020
  for (let sn = $e.length - 1; sn >= 0; sn--) {
@@ -58025,15 +58027,15 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58025
58027
  {
58026
58028
  let sn = Ze($e[0]);
58027
58029
  const dn = [];
58028
- let Ln = [];
58030
+ let $n = [];
58029
58031
  for (let fo = 0, co = $e.length; fo < co; fo++) {
58030
58032
  const bo = $e[fo], Po = Ze(bo);
58031
- Po !== sn && (dn.push(Ln), Ln = []), sn = Po, Ln.push(bo);
58033
+ Po !== sn && (dn.push($n), $n = []), sn = Po, $n.push(bo);
58032
58034
  }
58033
- return Ln.length !== 0 && dn.push(Ln), dn;
58035
+ return $n.length !== 0 && dn.push($n), dn;
58034
58036
  }
58035
- }, We = ($e, Ze, sn) => (vt($e, (dn, Ln) => {
58036
- sn = Ze(sn, dn, Ln);
58037
+ }, We = ($e, Ze, sn) => (vt($e, (dn, $n) => {
58038
+ sn = Ze(sn, dn, $n);
58037
58039
  }), sn), ye = ($e) => {
58038
58040
  const Ze = [];
58039
58041
  for (let sn = 0, dn = $e.length; sn < dn; ++sn) {
@@ -58057,8 +58059,8 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58057
58059
  }, Pe = ($e, Ze) => {
58058
58060
  const dn = (Ze || document).createElement("div");
58059
58061
  if (dn.innerHTML = $e, !dn.hasChildNodes() || dn.childNodes.length > 1) {
58060
- const Ln = "HTML does not have a single root node";
58061
- throw console.error(Ln, $e), new Error(Ln);
58062
+ const $n = "HTML does not have a single root node";
58063
+ throw console.error($n, $e), new Error($n);
58062
58064
  }
58063
58065
  return ko(dn.childNodes[0]);
58064
58066
  }, _t = ($e, Ze) => {
@@ -58115,7 +58117,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58115
58117
  sOffset: 0,
58116
58118
  fOffset: 0,
58117
58119
  elements: []
58118
- }), at = ($e, Ze) => Q(Zt.fromDom($e), Ze), Yt = ($e, Ze, sn, dn, Ln, fo = !0) => {
58120
+ }), at = ($e, Ze) => Q(Zt.fromDom($e), Ze), Yt = ($e, Ze, sn, dn, $n, fo = !0) => {
58119
58121
  let co = fo ? Ze(!1) : sn;
58120
58122
  for (; co; ) {
58121
58123
  const bo = vn($e, co);
@@ -58129,39 +58131,39 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58129
58131
  break;
58130
58132
  } else
58131
58133
  vs(co) && dn.text(co);
58132
- if (co === Ln)
58134
+ if (co === $n)
58133
58135
  break;
58134
58136
  co = Ze(!1);
58135
58137
  }
58136
- }, kn = ($e, Ze, sn, dn, Ln) => {
58138
+ }, kn = ($e, Ze, sn, dn, $n) => {
58137
58139
  var fo;
58138
58140
  if (Gn($e, sn))
58139
58141
  return;
58140
- const co = (fo = $e.getParent(dn, $e.isBlock)) !== null && fo !== void 0 ? fo : $e.getRoot(), bo = new yt(sn, co), Po = Ln ? bo.next.bind(bo) : bo.prev.bind(bo);
58142
+ const co = (fo = $e.getParent(dn, $e.isBlock)) !== null && fo !== void 0 ? fo : $e.getRoot(), bo = new yt(sn, co), Po = $n ? bo.next.bind(bo) : bo.prev.bind(bo);
58141
58143
  Yt($e, Po, sn, {
58142
58144
  boundary: nt,
58143
58145
  cef: nt,
58144
58146
  text: (Fo) => {
58145
- Ln ? Ze.fOffset += Fo.length : Ze.sOffset += Fo.length, Ze.elements.push(Zt.fromDom(Fo));
58147
+ $n ? Ze.fOffset += Fo.length : Ze.sOffset += Fo.length, Ze.elements.push(Zt.fromDom(Fo));
58146
58148
  }
58147
58149
  });
58148
- }, ro = ($e, Ze, sn, dn, Ln, fo = !0) => {
58150
+ }, ro = ($e, Ze, sn, dn, $n, fo = !0) => {
58149
58151
  const co = new yt(sn, Ze), bo = [];
58150
58152
  let Po = so();
58151
58153
  kn($e, Po, sn, Ze, !1);
58152
58154
  const Fo = () => (Po.elements.length > 0 && (bo.push(Po), Po = so()), !1);
58153
58155
  return Yt($e, co.next.bind(co), sn, {
58154
58156
  boundary: Fo,
58155
- cef: (Ds) => (Fo(), Ln && bo.push(...Ln.cef(Ds)), !1),
58157
+ cef: (Ds) => (Fo(), $n && bo.push(...$n.cef(Ds)), !1),
58156
58158
  text: (Ds) => {
58157
- Po.elements.push(Zt.fromDom(Ds)), Ln && Ln.text(Ds, Po);
58159
+ Po.elements.push(Zt.fromDom(Ds)), $n && $n.text(Ds, Po);
58158
58160
  }
58159
58161
  }, dn, fo), dn && kn($e, Po, dn, Ze, !0), Fo(), bo;
58160
58162
  }, an = ($e, Ze) => {
58161
- const sn = at(Ze.startContainer, Ze.startOffset), dn = sn.element.dom, Ln = at(Ze.endContainer, Ze.endOffset), fo = Ln.element.dom;
58163
+ const sn = at(Ze.startContainer, Ze.startOffset), dn = sn.element.dom, $n = at(Ze.endContainer, Ze.endOffset), fo = $n.element.dom;
58162
58164
  return ro($e, Ze.commonAncestorContainer, dn, fo, {
58163
58165
  text: (co, bo) => {
58164
- co === fo ? bo.fOffset += co.length - Ln.offset : co === dn && (bo.sOffset += sn.offset);
58166
+ co === fo ? bo.fOffset += co.length - $n.offset : co === dn && (bo.sOffset += sn.offset);
58165
58167
  },
58166
58168
  cef: (co) => {
58167
58169
  const bo = Vn(Ve(Zt.fromDom(co), "*[contenteditable=true]"), (Po) => {
@@ -58171,28 +58173,28 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58171
58173
  return ze(bo, (Po, Fo) => At(Po.elements[0].dom, Fo.elements[0].dom) ? 1 : -1);
58172
58174
  }
58173
58175
  }, !1);
58174
- }, $n = ($e, Ze) => Ze.collapsed ? [] : an($e, Ze), wt = ($e, Ze) => {
58176
+ }, Bn = ($e, Ze) => Ze.collapsed ? [] : an($e, Ze), wt = ($e, Ze) => {
58175
58177
  const sn = $e.createRng();
58176
- return sn.selectNode(Ze), $n($e, sn);
58178
+ return sn.selectNode(Ze), Bn($e, sn);
58177
58179
  }, bn = ($e, Ze) => Vn(Ze, (sn) => wt($e, sn)), Xn = ($e, Ze, sn = 0, dn = $e.length) => {
58178
- const Ln = Ze.regex;
58179
- Ln.lastIndex = sn;
58180
+ const $n = Ze.regex;
58181
+ $n.lastIndex = sn;
58180
58182
  const fo = [];
58181
58183
  let co;
58182
- for (; co = Ln.exec($e); ) {
58184
+ for (; co = $n.exec($e); ) {
58183
58185
  const bo = co[Ze.matchIndex], Po = co.index + co[0].indexOf(bo), Fo = Po + bo.length;
58184
58186
  if (Fo > dn)
58185
58187
  break;
58186
58188
  fo.push({
58187
58189
  start: Po,
58188
58190
  finish: Fo
58189
- }), Ln.lastIndex = Fo;
58191
+ }), $n.lastIndex = Fo;
58190
58192
  }
58191
58193
  return fo;
58192
58194
  }, Lo = ($e, Ze) => {
58193
- const sn = We($e, (dn, Ln) => {
58194
- const fo = En(Ln), co = dn.last, bo = co + fo.length, Po = Vn(Ze, (Fo, Ds) => Fo.start < bo && Fo.finish > co ? [{
58195
- element: Ln,
58195
+ const sn = We($e, (dn, $n) => {
58196
+ const fo = En($n), co = dn.last, bo = co + fo.length, Po = Vn(Ze, (Fo, Ds) => Fo.start < bo && Fo.finish > co ? [{
58197
+ element: $n,
58196
58198
  start: Math.max(co, Fo.start) - co,
58197
58199
  finish: Math.min(bo, Fo.finish) - co,
58198
58200
  matchId: Ds
@@ -58207,34 +58209,34 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58207
58209
  }).results;
58208
58210
  return Bt(sn, (dn) => dn.matchId);
58209
58211
  }, Es = ($e, Ze) => Vn(Ze, (sn) => {
58210
- const dn = sn.elements, Ln = B(dn, En).join(""), fo = Xn(Ln, $e, sn.sOffset, Ln.length - sn.fOffset);
58212
+ const dn = sn.elements, $n = B(dn, En).join(""), fo = Xn($n, $e, sn.sOffset, $n.length - sn.fOffset);
58211
58213
  return Lo(dn, fo);
58212
58214
  }), Us = ($e, Ze) => {
58213
58215
  St($e, (sn, dn) => {
58214
- St(sn, (Ln) => {
58216
+ St(sn, ($n) => {
58215
58217
  const fo = Zt.fromDom(Ze.cloneNode(!1));
58216
58218
  Mt(fo, "data-mce-index", dn);
58217
- const co = Ln.element.dom;
58218
- if (co.length === Ln.finish && Ln.start === 0)
58219
- ue(Ln.element, fo);
58219
+ const co = $n.element.dom;
58220
+ if (co.length === $n.finish && $n.start === 0)
58221
+ ue($n.element, fo);
58220
58222
  else {
58221
- co.length !== Ln.finish && co.splitText(Ln.finish);
58222
- const bo = co.splitText(Ln.start);
58223
+ co.length !== $n.finish && co.splitText($n.finish);
58224
+ const bo = co.splitText($n.start);
58223
58225
  ue(Zt.fromDom(bo), fo);
58224
58226
  }
58225
58227
  });
58226
58228
  });
58227
58229
  }, uo = ($e, Ze, sn, dn) => {
58228
- const Ln = wt($e, sn), fo = Es(Ze, Ln);
58230
+ const $n = wt($e, sn), fo = Es(Ze, $n);
58229
58231
  return Us(fo, dn), fo.length;
58230
58232
  }, ss = ($e, Ze, sn, dn) => {
58231
- const Ln = sn.getBookmark(), fo = $e.select("td[data-mce-selected],th[data-mce-selected]"), co = fo.length > 0 ? bn($e, fo) : $n($e, sn.getRng()), bo = Es(Ze, co);
58232
- return Us(bo, dn), sn.moveToBookmark(Ln), bo.length;
58233
+ const $n = sn.getBookmark(), fo = $e.select("td[data-mce-selected],th[data-mce-selected]"), co = fo.length > 0 ? bn($e, fo) : Bn($e, sn.getRng()), bo = Es(Ze, co);
58234
+ return Us(bo, dn), sn.moveToBookmark($n), bo.length;
58233
58235
  }, zs = ($e) => $e.getAttribute("data-mce-index"), us = ($e, Ze, sn, dn) => {
58234
- const Ln = $e.dom.create("span", { "data-mce-bogus": 1 });
58235
- Ln.className = "mce-match-marker";
58236
+ const $n = $e.dom.create("span", { "data-mce-bogus": 1 });
58237
+ $n.className = "mce-match-marker";
58236
58238
  const fo = $e.getBody();
58237
- return _r($e, Ze, !1), dn ? ss($e.dom, sn, $e.selection, Ln) : uo($e.dom, sn, fo, Ln);
58239
+ return _r($e, Ze, !1), dn ? ss($e.dom, sn, $e.selection, $n) : uo($e.dom, sn, fo, $n);
58238
58240
  }, lo = ($e) => {
58239
58241
  var Ze;
58240
58242
  const sn = $e.parentNode;
@@ -58242,26 +58244,26 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58242
58244
  }, Gs = ($e, Ze) => {
58243
58245
  const sn = [], dn = be.toArray($e.getBody().getElementsByTagName("span"));
58244
58246
  if (dn.length)
58245
- for (let Ln = 0; Ln < dn.length; Ln++) {
58246
- const fo = zs(dn[Ln]);
58247
- fo === null || !fo.length || fo === Ze.toString() && sn.push(dn[Ln]);
58247
+ for (let $n = 0; $n < dn.length; $n++) {
58248
+ const fo = zs(dn[$n]);
58249
+ fo === null || !fo.length || fo === Ze.toString() && sn.push(dn[$n]);
58248
58250
  }
58249
58251
  return sn;
58250
58252
  }, dt = ($e, Ze, sn) => {
58251
58253
  const dn = Ze.get();
58252
- let Ln = dn.index;
58254
+ let $n = dn.index;
58253
58255
  const fo = $e.dom;
58254
- sn ? Ln + 1 === dn.count ? Ln = 0 : Ln++ : Ln - 1 === -1 ? Ln = dn.count - 1 : Ln--, fo.removeClass(Gs($e, dn.index), "mce-match-marker-selected");
58255
- const co = Gs($e, Ln);
58256
- return co.length ? (fo.addClass(Gs($e, Ln), "mce-match-marker-selected"), $e.selection.scrollIntoView(co[0]), Ln) : -1;
58256
+ sn ? $n + 1 === dn.count ? $n = 0 : $n++ : $n - 1 === -1 ? $n = dn.count - 1 : $n--, fo.removeClass(Gs($e, dn.index), "mce-match-marker-selected");
58257
+ const co = Gs($e, $n);
58258
+ return co.length ? (fo.addClass(Gs($e, $n), "mce-match-marker-selected"), $e.selection.scrollIntoView(co[0]), $n) : -1;
58257
58259
  }, Nt = ($e, Ze) => {
58258
58260
  const sn = Ze.parentNode;
58259
58261
  $e.remove(Ze), sn && $e.isEmpty(sn) && $e.remove(sn);
58260
58262
  }, Dn = ($e, Ze) => {
58261
58263
  const dn = "(" + $e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&").replace(/\s/g, "[^\\S\\r\\n\\uFEFF]") + ")";
58262
58264
  return Ze ? `(?:^|\\s|${re()})` + dn + `(?=$|\\s|${re()})` : dn;
58263
- }, Bn = ($e, Ze, sn, dn, Ln, fo) => {
58264
- const co = $e.selection, bo = Dn(sn, Ln), Po = co.isForward(), Fo = {
58265
+ }, Ln = ($e, Ze, sn, dn, $n, fo) => {
58266
+ const co = $e.selection, bo = Dn(sn, $n), Po = co.isForward(), Fo = {
58265
58267
  regex: new RegExp(bo, dn ? "g" : "gi"),
58266
58268
  matchIndex: 1
58267
58269
  }, Ds = us($e, Ze, Fo, fo);
@@ -58272,7 +58274,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58272
58274
  count: Ds,
58273
58275
  text: sn,
58274
58276
  matchCase: dn,
58275
- wholeWord: Ln,
58277
+ wholeWord: $n,
58276
58278
  inSelection: fo
58277
58279
  });
58278
58280
  }
@@ -58292,7 +58294,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58292
58294
  }, Ir = ($e) => {
58293
58295
  const Ze = zs($e);
58294
58296
  return Ze !== null && Ze.length > 0;
58295
- }, Mr = ($e, Ze, sn, dn, Ln) => {
58297
+ }, Mr = ($e, Ze, sn, dn, $n) => {
58296
58298
  const fo = Ze.get(), co = fo.index;
58297
58299
  let bo, Po = co;
58298
58300
  dn = dn !== !1;
@@ -58300,7 +58302,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58300
58302
  for (let Ls = 0; Ls < Ds.length; Ls++) {
58301
58303
  const Ys = zs(Ds[Ls]);
58302
58304
  let Ea = bo = parseInt(Ys, 10);
58303
- if (Ln || Ea === fo.index) {
58305
+ if ($n || Ea === fo.index) {
58304
58306
  for (sn.length ? (Ds[Ls].innerText = sn, lo(Ds[Ls])) : Nt($e.dom, Ds[Ls]); Ds[++Ls]; )
58305
58307
  if (Ea = parseInt(zs(Ds[Ls]), 10), Ea === bo)
58306
58308
  Nt($e.dom, Ds[Ls]);
@@ -58314,29 +58316,29 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58314
58316
  }
58315
58317
  return Ze.set({
58316
58318
  ...fo,
58317
- count: Ln ? 0 : fo.count - 1,
58319
+ count: $n ? 0 : fo.count - 1,
58318
58320
  index: Po
58319
- }), dn ? Ko($e, Ze) : ps($e, Ze), !Ln && Ze.get().count > 0;
58321
+ }), dn ? Ko($e, Ze) : ps($e, Ze), !$n && Ze.get().count > 0;
58320
58322
  }, _r = ($e, Ze, sn) => {
58321
- let dn, Ln;
58323
+ let dn, $n;
58322
58324
  const fo = Ze.get(), co = be.toArray($e.getBody().getElementsByTagName("span"));
58323
58325
  for (let bo = 0; bo < co.length; bo++) {
58324
58326
  const Po = zs(co[bo]);
58325
- Po !== null && Po.length && (Po === fo.index.toString() && (dn || (dn = co[bo].firstChild), Ln = co[bo].firstChild), lo(co[bo]));
58327
+ Po !== null && Po.length && (Po === fo.index.toString() && (dn || (dn = co[bo].firstChild), $n = co[bo].firstChild), lo(co[bo]));
58326
58328
  }
58327
58329
  if (Ze.set({
58328
58330
  ...fo,
58329
58331
  index: -1,
58330
58332
  count: 0,
58331
58333
  text: ""
58332
- }), dn && Ln) {
58334
+ }), dn && $n) {
58333
58335
  const bo = $e.dom.createRng();
58334
- return bo.setStart(dn, 0), bo.setEnd(Ln, Ln.data.length), sn !== !1 && $e.selection.setRng(bo), bo;
58336
+ return bo.setStart(dn, 0), bo.setEnd($n, $n.data.length), sn !== !1 && $e.selection.setRng(bo), bo;
58335
58337
  } else
58336
58338
  return;
58337
58339
  }, yr = ($e, Ze) => Ze.get().count > 1, Ks = ($e, Ze) => Ze.get().count > 1, Pr = ($e, Ze) => ({
58338
58340
  done: (bo) => _r($e, Ze, bo),
58339
- find: (bo, Po, Fo, Ds = !1) => Bn($e, Ze, bo, Po, Fo, Ds),
58341
+ find: (bo, Po, Fo, Ds = !1) => Ln($e, Ze, bo, Po, Fo, Ds),
58340
58342
  next: () => Ko($e, Ze),
58341
58343
  prev: () => ps($e, Ze),
58342
58344
  replace: (bo, Po, Fo) => Mr($e, Ze, bo, Po, Fo)
@@ -58361,7 +58363,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58361
58363
  }, dl = ($e, Ze) => {
58362
58364
  const sn = Dc();
58363
58365
  $e.undoManager.add();
58364
- const dn = be.trim($e.selection.getContent({ format: "text" })), Ln = (wo) => {
58366
+ const dn = be.trim($e.selection.getContent({ format: "text" })), $n = (wo) => {
58365
58367
  wo.setEnabled("next", yr($e, Ze)), wo.setEnabled("prev", Ks($e, Ze));
58366
58368
  }, fo = (wo) => {
58367
58369
  const ds = wo.getData(), hs = Ze.get();
@@ -58383,7 +58385,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58383
58385
  }, Po = (wo, ds) => {
58384
58386
  U.browser.isSafari() && U.deviceType.isTouch() && (ds === "find" || ds === "replace" || ds === "replaceall") && wo.focus(ds);
58385
58387
  }, Fo = (wo) => {
58386
- _r($e, Ze, !1), co(wo, !0), Ln(wo);
58388
+ _r($e, Ze, !1), co(wo, !0), $n(wo);
58387
58389
  }, Ds = (wo) => {
58388
58390
  const ds = wo.getData(), hs = Ze.get();
58389
58391
  if (!ds.findtext.length) {
@@ -58393,10 +58395,10 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58393
58395
  if (hs.text === ds.findtext && hs.matchCase === ds.matchcase && hs.wholeWord === ds.wholewords)
58394
58396
  Ko($e, Ze);
58395
58397
  else {
58396
- const ia = Bn($e, Ze, ds.findtext, ds.matchcase, ds.wholewords, ds.inselection);
58398
+ const ia = Ln($e, Ze, ds.findtext, ds.matchcase, ds.wholewords, ds.inselection);
58397
58399
  ia <= 0 && bo(!0, wo), co(wo, ia === 0);
58398
58400
  }
58399
- Ln(wo);
58401
+ $n(wo);
58400
58402
  }, Ls = Ze.get(), Ys = {
58401
58403
  findtext: dn,
58402
58404
  replacetext: "",
@@ -58512,16 +58514,16 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58512
58514
  Ds(hs);
58513
58515
  break;
58514
58516
  case "replace":
58515
- Mr($e, Ze, sa.replacetext) ? Ln(hs) : Fo(hs);
58517
+ Mr($e, Ze, sa.replacetext) ? $n(hs) : Fo(hs);
58516
58518
  break;
58517
58519
  case "replaceall":
58518
58520
  Mr($e, Ze, sa.replacetext, !0, !0), Fo(hs);
58519
58521
  break;
58520
58522
  case "prev":
58521
- ps($e, Ze), Ln(hs);
58523
+ ps($e, Ze), $n(hs);
58522
58524
  break;
58523
58525
  case "next":
58524
- Ko($e, Ze), Ln(hs);
58526
+ Ko($e, Ze), $n(hs);
58525
58527
  break;
58526
58528
  case "matchcase":
58527
58529
  case "wholewords":
@@ -58966,11 +58968,11 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
58966
58968
  };
58967
58969
  var D = tinymce.util.Tools.resolve("tinymce.PluginManager");
58968
58970
  const W = (dt) => ({ isEnabled: () => dt.get() }), j = (dt, Nt) => dt.dispatch("VisualChars", { state: Nt }), q = (dt, Nt, Dn) => {
58969
- var Bn;
58970
- return Dn(dt, Nt.prototype) ? !0 : ((Bn = dt.constructor) === null || Bn === void 0 ? void 0 : Bn.name) === Nt.name;
58971
+ var Ln;
58972
+ return Dn(dt, Nt.prototype) ? !0 : ((Ln = dt.constructor) === null || Ln === void 0 ? void 0 : Ln.name) === Nt.name;
58971
58973
  }, te = (dt) => {
58972
58974
  const Nt = typeof dt;
58973
- return dt === null ? "null" : Nt === "object" && Array.isArray(dt) ? "array" : Nt === "object" && q(dt, String, (Dn, Bn) => Bn.isPrototypeOf(Dn)) ? "string" : Nt;
58975
+ return dt === null ? "null" : Nt === "object" && Array.isArray(dt) ? "array" : Nt === "object" && q(dt, String, (Dn, Ln) => Ln.isPrototypeOf(Dn)) ? "string" : Nt;
58974
58976
  }, oe = (dt) => (Nt) => te(Nt) === dt, Y = (dt) => (Nt) => typeof Nt === dt, me = (dt) => (Nt) => dt === Nt, Ge = oe("string"), lt = oe("object"), bt = me(null), Fe = Y("boolean"), et = (dt) => dt == null, nt = (dt) => !et(dt), Ye = Y("number");
58975
58977
  class Me {
58976
58978
  constructor(Nt, Dn) {
@@ -59044,34 +59046,34 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59044
59046
  }
59045
59047
  Me.singletonNone = new Me(!1);
59046
59048
  const Se = (dt, Nt) => {
59047
- const Dn = dt.length, Bn = new Array(Dn);
59049
+ const Dn = dt.length, Ln = new Array(Dn);
59048
59050
  for (let Ko = 0; Ko < Dn; Ko++) {
59049
59051
  const ps = dt[Ko];
59050
- Bn[Ko] = Nt(ps, Ko);
59052
+ Ln[Ko] = Nt(ps, Ko);
59051
59053
  }
59052
- return Bn;
59054
+ return Ln;
59053
59055
  }, re = (dt, Nt) => {
59054
- for (let Dn = 0, Bn = dt.length; Dn < Bn; Dn++) {
59056
+ for (let Dn = 0, Ln = dt.length; Dn < Ln; Dn++) {
59055
59057
  const Ko = dt[Dn];
59056
59058
  Nt(Ko, Dn);
59057
59059
  }
59058
59060
  }, U = (dt, Nt) => {
59059
59061
  const Dn = [];
59060
- for (let Bn = 0, Ko = dt.length; Bn < Ko; Bn++) {
59061
- const ps = dt[Bn];
59062
- Nt(ps, Bn) && Dn.push(ps);
59062
+ for (let Ln = 0, Ko = dt.length; Ln < Ko; Ln++) {
59063
+ const ps = dt[Ln];
59064
+ Nt(ps, Ln) && Dn.push(ps);
59063
59065
  }
59064
59066
  return Dn;
59065
59067
  }, be = Object.keys, it = (dt, Nt) => {
59066
59068
  const Dn = be(dt);
59067
- for (let Bn = 0, Ko = Dn.length; Bn < Ko; Bn++) {
59068
- const ps = Dn[Bn], Ir = dt[ps];
59069
+ for (let Ln = 0, Ko = Dn.length; Ln < Ko; Ln++) {
59070
+ const ps = Dn[Ln], Ir = dt[ps];
59069
59071
  Nt(Ir, ps);
59070
59072
  }
59071
59073
  }, He = typeof window < "u" ? window : Function("return this;")(), B = (dt, Nt) => {
59072
59074
  let Dn = Nt ?? He;
59073
- for (let Bn = 0; Bn < dt.length && Dn !== void 0 && Dn !== null; ++Bn)
59074
- Dn = Dn[dt[Bn]];
59075
+ for (let Ln = 0; Ln < dt.length && Dn !== void 0 && Dn !== null; ++Ln)
59076
+ Dn = Dn[dt[Ln]];
59075
59077
  return Dn;
59076
59078
  }, vt = (dt, Nt) => {
59077
59079
  const Dn = dt.split(".");
@@ -59103,8 +59105,8 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59103
59105
  const Ko = Pe(dt, Nt).concat([Dn]);
59104
59106
  return hn(dt, Nt, Ko.join(" ")), !0;
59105
59107
  }, H = (dt, Nt, Dn) => {
59106
- const Bn = U(Pe(dt, Nt), (Ko) => Ko !== Dn);
59107
- return Bn.length > 0 ? hn(dt, Nt, Bn.join(" ")) : Mt(dt, Nt), !1;
59108
+ const Ln = U(Pe(dt, Nt), (Ko) => Ko !== Dn);
59109
+ return Ln.length > 0 ? hn(dt, Nt, Ln.join(" ")) : Mt(dt, Nt), !1;
59108
59110
  }, ko = (dt) => dt.dom.classList !== void 0, xt = (dt) => Pe(dt, "class"), Zt = (dt, Nt) => _t(dt, "class", Nt), ft = (dt, Nt) => H(dt, "class", Nt), Dt = (dt, Nt) => {
59109
59111
  ko(dt) ? dt.dom.classList.add(Nt) : Zt(dt, Nt);
59110
59112
  }, ie = (dt) => {
@@ -59112,18 +59114,18 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59112
59114
  }, pe = (dt, Nt) => {
59113
59115
  ko(dt) ? dt.dom.classList.remove(Nt) : ft(dt, Nt), ie(dt);
59114
59116
  }, Oe = (dt, Nt) => {
59115
- const Bn = (Nt || document).createElement("div");
59116
- if (Bn.innerHTML = dt, !Bn.hasChildNodes() || Bn.childNodes.length > 1) {
59117
+ const Ln = (Nt || document).createElement("div");
59118
+ if (Ln.innerHTML = dt, !Ln.hasChildNodes() || Ln.childNodes.length > 1) {
59117
59119
  const Ko = "HTML does not have a single root node";
59118
59120
  throw console.error(Ko, dt), new Error(Ko);
59119
59121
  }
59120
- return G(Bn.childNodes[0]);
59122
+ return G(Ln.childNodes[0]);
59121
59123
  }, Q = (dt, Nt) => {
59122
- const Bn = (Nt || document).createElement(dt);
59123
- return G(Bn);
59124
+ const Ln = (Nt || document).createElement(dt);
59125
+ return G(Ln);
59124
59126
  }, $ = (dt, Nt) => {
59125
- const Bn = (Nt || document).createTextNode(dt);
59126
- return G(Bn);
59127
+ const Ln = (Nt || document).createTextNode(dt);
59128
+ return G(Ln);
59127
59129
  }, G = (dt) => {
59128
59130
  if (dt == null)
59129
59131
  throw new Error("Node cannot be null or undefined");
@@ -59139,7 +59141,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59139
59141
  "­": "shy"
59140
59142
  }, En = (dt, Nt) => {
59141
59143
  let Dn = "";
59142
- return it(dt, (Bn, Ko) => {
59144
+ return it(dt, (Ln, Ko) => {
59143
59145
  Dn += Ko;
59144
59146
  }), new RegExp("[" + Dn + "]", Nt ? "g" : "");
59145
59147
  }, Jt = (dt) => {
@@ -59160,11 +59162,11 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59160
59162
  }
59161
59163
  return Nt;
59162
59164
  }, at = (dt, Nt, Dn) => {
59163
- let Bn = [];
59165
+ let Ln = [];
59164
59166
  const Ko = dt.dom, ps = Se(Ko.childNodes, rt.fromDom), Ir = (Mr) => ao(Mr.dom) || !vs(Mr);
59165
59167
  return re(ps, (Mr) => {
59166
- Dn && Ir(Mr) && Nt(Mr) && (Bn = Bn.concat([Mr])), Bn = Bn.concat(at(Mr, Nt, so(Mr, Dn)));
59167
- }), Bn;
59168
+ Dn && Ir(Mr) && Nt(Mr) && (Ln = Ln.concat([Mr])), Ln = Ln.concat(at(Mr, Nt, so(Mr, Dn)));
59169
+ }), Ln;
59168
59170
  }, Yt = (dt, Nt) => {
59169
59171
  for (; dt.parentNode; ) {
59170
59172
  if (dt.parentNode === Nt)
@@ -59172,8 +59174,8 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59172
59174
  dt = dt.parentNode;
59173
59175
  }
59174
59176
  }, kn = (dt) => dt.replace(Ve, Oo), ro = (dt, Nt) => {
59175
- const Dn = dt.dom, Bn = at(rt.fromDom(Nt), Gn, dt.dom.isEditable(Nt));
59176
- re(Bn, (Ko) => {
59177
+ const Dn = dt.dom, Ln = at(rt.fromDom(Nt), Gn, dt.dom.isEditable(Nt));
59178
+ re(Ln, (Ko) => {
59177
59179
  var ps;
59178
59180
  const Ir = Ko.dom.parentNode;
59179
59181
  if (ao(Ir))
@@ -59188,13 +59190,13 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59188
59190
  });
59189
59191
  }, an = (dt, Nt) => {
59190
59192
  const Dn = dt.dom.select(yt, Nt);
59191
- re(Dn, (Bn) => {
59192
- ao(Bn) ? pe(rt.fromDom(Bn), Kt) : dt.dom.remove(Bn, !0);
59193
+ re(Dn, (Ln) => {
59194
+ ao(Ln) ? pe(rt.fromDom(Ln), Kt) : dt.dom.remove(Ln, !0);
59193
59195
  });
59194
- }, $n = (dt) => {
59196
+ }, Bn = (dt) => {
59195
59197
  const Nt = dt.getBody(), Dn = dt.selection.getBookmark();
59196
- let Bn = Yt(dt.selection.getNode(), Nt);
59197
- Bn = Bn !== void 0 ? Bn : Nt, an(dt, Bn), ro(dt, Bn), dt.selection.moveToBookmark(Dn);
59198
+ let Ln = Yt(dt.selection.getNode(), Nt);
59199
+ Ln = Ln !== void 0 ? Ln : Nt, an(dt, Ln), ro(dt, Ln), dt.selection.moveToBookmark(Dn);
59198
59200
  }, wt = (dt, Nt) => {
59199
59201
  j(dt, Nt.get());
59200
59202
  const Dn = dt.getBody();
@@ -59231,15 +59233,15 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
59231
59233
  };
59232
59234
  }, zs = (dt, Nt) => {
59233
59235
  const Dn = ss(() => {
59234
- $n(dt);
59236
+ Bn(dt);
59235
59237
  }, 300);
59236
- dt.on("keydown", (Bn) => {
59237
- Nt.get() === !0 && (Bn.keyCode === 13 ? $n(dt) : Dn.throttle());
59238
+ dt.on("keydown", (Ln) => {
59239
+ Nt.get() === !0 && (Ln.keyCode === 13 ? Bn(dt) : Dn.throttle());
59238
59240
  }), dt.on("remove", Dn.cancel);
59239
59241
  }, us = (dt, Nt) => (Dn) => {
59240
59242
  Dn.setActive(Nt.get());
59241
- const Bn = (Ko) => Dn.setActive(Ko.state);
59242
- return dt.on("VisualChars", Bn), () => dt.off("VisualChars", Bn);
59243
+ const Ln = (Ko) => Dn.setActive(Ko.state);
59244
+ return dt.on("VisualChars", Ln), () => dt.off("VisualChars", Ln);
59243
59245
  }, lo = (dt, Nt) => {
59244
59246
  const Dn = () => dt.execCommand("mceVisualChars");
59245
59247
  dt.ui.registry.addToggleButton("visualchars", {
@@ -61185,12 +61187,12 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
61185
61187
  }, Yt = (X) => at(X, 0), kn = (X) => ot(X) && bt(X.dom.host), ro = (X) => Q.fromDom(X.dom.getRootNode()), an = (X) => {
61186
61188
  const Te = ro(X);
61187
61189
  return kn(Te) ? re.some(Te) : re.none();
61188
- }, $n = (X) => Q.fromDom(X.dom.host), wt = (X) => {
61190
+ }, Bn = (X) => Q.fromDom(X.dom.host), wt = (X) => {
61189
61191
  const Te = $t(X) ? X.dom.parentNode : X.dom;
61190
61192
  if (Te == null || Te.ownerDocument === null)
61191
61193
  return !1;
61192
61194
  const je = Te.ownerDocument;
61193
- return an(Q.fromDom(Te)).fold(() => je.body.contains(Te), nt(wt, $n));
61195
+ return an(Q.fromDom(Te)).fold(() => je.body.contains(Te), nt(wt, Bn));
61194
61196
  }, bn = (X, Te, je) => {
61195
61197
  if (!me(je))
61196
61198
  throw console.error("Invalid call to CSS.set. Property ", Te, ":: Value ", je, ":: Element ", X), new Error("CSS value must be a string: " + je);
@@ -61240,10 +61242,10 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
61240
61242
  B(Te, (je) => {
61241
61243
  Gs(X, je);
61242
61244
  });
61243
- }, Bn = (X, Te) => {
61245
+ }, Ln = (X, Te) => {
61244
61246
  let je = [];
61245
61247
  return B(so(X), (rn) => {
61246
- Te(rn) && (je = je.concat([rn])), je = je.concat(Bn(rn, Te));
61248
+ Te(rn) && (je = je.concat([rn])), je = je.concat(Ln(rn, Te));
61247
61249
  }), je;
61248
61250
  };
61249
61251
  var Ko = (X, Te, je, rn, Wo) => X(je, rn) ? re.some(je) : Fe(Wo) && Wo(je) ? re.none() : Te(je, rn, Wo);
@@ -61345,7 +61347,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
61345
61347
  }),
61346
61348
  down: Ye({
61347
61349
  selector: _r,
61348
- predicate: Bn
61350
+ predicate: Ln
61349
61351
  }),
61350
61352
  styles: Ye({
61351
61353
  get: Es,
@@ -61411,7 +61413,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
61411
61413
  return oa(je, Ze(X, je));
61412
61414
  const rn = X.property().children(je);
61413
61415
  return rn.length > 0 ? sn(X, rn[rn.length - 1]) : oa(je, Ze(X, je));
61414
- }, dn = sn, Ln = ut(), fo = (X) => dn(Ln, X), co = (X, Te, je) => X.dispatch("ToggledAccordion", {
61416
+ }, dn = sn, $n = ut(), fo = (X) => dn($n, X), co = (X, Te, je) => X.dispatch("ToggledAccordion", {
61415
61417
  element: Te,
61416
61418
  state: je
61417
61419
  }), bo = (X, Te, je) => X.dispatch("ToggledAllAccordions", {
@@ -61943,7 +61945,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
61943
61945
  fromText: Yt,
61944
61946
  fromDom: kn,
61945
61947
  fromPoint: (de, ve, ht) => St.from(de.dom.elementFromPoint(ve, ht)).map(kn)
61946
- }, $n = (de, ve) => {
61948
+ }, Bn = (de, ve) => {
61947
61949
  const ht = de.dom;
61948
61950
  if (ht.nodeType !== $)
61949
61951
  return !1;
@@ -61989,12 +61991,12 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
61989
61991
  }
61990
61992
  }
61991
61993
  return St.from(de.target);
61992
- }, Dn = (de) => Ye(de.dom.shadowRoot), Bn = (de) => {
61994
+ }, Dn = (de) => Ye(de.dom.shadowRoot), Ln = (de) => {
61993
61995
  const ve = Jt(de) ? de.dom.parentNode : de.dom;
61994
61996
  if (ve == null || ve.ownerDocument === null)
61995
61997
  return !1;
61996
61998
  const ht = ve.ownerDocument;
61997
- return Gs(an.fromDom(ve)).fold(() => ht.body.contains(ve), be(Bn, dt));
61999
+ return Gs(an.fromDom(ve)).fold(() => ht.body.contains(ve), be(Ln, dt));
61998
62000
  }, Ko = (de) => {
61999
62001
  const ve = de.dom.body;
62000
62002
  if (ve == null)
@@ -62014,7 +62016,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
62014
62016
  });
62015
62017
  }, _r = (de, ve) => {
62016
62018
  const ht = de.dom, Co = window.getComputedStyle(ht).getPropertyValue(ve);
62017
- return Co === "" && !Bn(de) ? yr(ht, ve) : Co;
62019
+ return Co === "" && !Ln(de) ? yr(ht, ve) : Co;
62018
62020
  }, yr = (de, ve) => vs(de) ? de.style.getPropertyValue(ve) : "", Ks = (de, ve, ht, Wt, Co, $o, Fs) => ({
62019
62021
  target: de,
62020
62022
  x: ve,
@@ -62066,14 +62068,14 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
62066
62068
  return fo(Wt(1), Wt(2));
62067
62069
  }, dn = (de, ve) => {
62068
62070
  const ht = String(ve).toLowerCase();
62069
- return de.length === 0 ? Ln() : sn(de, ht);
62070
- }, Ln = () => fo(0, 0), fo = (de, ve) => ({
62071
+ return de.length === 0 ? $n() : sn(de, ht);
62072
+ }, $n = () => fo(0, 0), fo = (de, ve) => ({
62071
62073
  major: de,
62072
62074
  minor: ve
62073
62075
  }), co = {
62074
62076
  nu: fo,
62075
62077
  detect: dn,
62076
- unknown: Ln
62078
+ unknown: $n
62077
62079
  }, bo = (de, ve) => jt(ve.brands, (ht) => {
62078
62080
  const Wt = ht.brand.toLowerCase();
62079
62081
  return xe(de, (Co) => {
@@ -62296,13 +62298,13 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
62296
62298
  }, P = (de) => {
62297
62299
  const ve = de.dom;
62298
62300
  ve.exitFullscreen ? ve.exitFullscreen() : ve.msExitFullscreen ? ve.msExitFullscreen() : ve.webkitCancelFullScreen && ve.webkitCancelFullScreen();
62299
- }, le = (de) => de.dom === je(Lo(de).dom), De = (de, ve, ht) => Vn(Us(de, ht), ve), pt = (de, ve) => Vn(uo(de), ve), Et = (de) => bn(de), xo = (de, ve, ht) => De(de, (Wt) => $n(Wt, ve), ht), $s = (de, ve) => pt(de, (ht) => $n(ht, ve)), Is = "data-ephox-mobile-fullscreen-style", nn = "display:none!important;", Ws = "position:absolute!important;", ka = "top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;", _c = "background-color:rgb(255,255,255)!important;", Xo = Un.os.isAndroid(), kc = (de) => {
62301
+ }, le = (de) => de.dom === je(Lo(de).dom), De = (de, ve, ht) => Vn(Us(de, ht), ve), pt = (de, ve) => Vn(uo(de), ve), Et = (de) => bn(de), xo = (de, ve, ht) => De(de, (Wt) => Bn(Wt, ve), ht), $s = (de, ve) => pt(de, (ht) => Bn(ht, ve)), Is = "data-ephox-mobile-fullscreen-style", nn = "display:none!important;", Ws = "position:absolute!important;", ka = "top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;", _c = "background-color:rgb(255,255,255)!important;", Xo = Un.os.isAndroid(), kc = (de) => {
62300
62302
  const ve = _r(de, "background-color");
62301
62303
  return ve !== void 0 && ve !== "" ? "background-color:" + ve + "!important" : _c;
62302
62304
  }, Qr = (de, ve, ht) => {
62303
62305
  const Wt = (wc) => $s(wc, "*:not(.tox-silver-sink)"), Co = (wc) => (da) => {
62304
- const Cc = Kt(da, "style"), ur = Cc === void 0 ? "no-styles" : Cc.trim();
62305
- ur !== wc && (yt(da, Is, ur), Mr(da, de.parseStyle(wc)));
62306
+ const Cc = Kt(da, "style"), dr = Cc === void 0 ? "no-styles" : Cc.trim();
62307
+ dr !== wc && (yt(da, Is, dr), Mr(da, de.parseStyle(wc)));
62306
62308
  }, $o = xo(ve, "*"), Fs = gt($o, Wt), ar = kc(ht);
62307
62309
  ye(Fs, Co(nn)), ye($o, Co(Ws + ka + ar)), Co((Xo === !0 ? "" : Ws) + ka + ar)(ve);
62308
62310
  }, pu = (de) => {
@@ -62311,7 +62313,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
62311
62313
  const Wt = Kt(ht, Is);
62312
62314
  Wt && Wt !== "no-styles" ? Mr(ht, de.parseStyle(Wt)) : vn(ht, "style"), vn(ht, Is);
62313
62315
  });
62314
- }, ir = fn.DOM, oi = () => tt(window), hf = (de) => window.scrollTo(de.x, de.y), Um = se().fold(() => ({
62316
+ }, ur = fn.DOM, oi = () => tt(window), hf = (de) => window.scrollTo(de.x, de.y), Um = se().fold(() => ({
62315
62317
  bind: re,
62316
62318
  unbind: re
62317
62319
  }), (de) => {
@@ -62340,12 +62342,12 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
62340
62342
  }
62341
62343
  };
62342
62344
  }), Dr = (de, ve) => {
62343
- const ht = document.body, Wt = document.documentElement, Co = de.getContainer(), $o = an.fromDom(Co), Fs = ss($o).filter((Lr) => Ct(Lr) && ao(Lr, "tox-silver-sink")), ar = Te(de), Za = ve.get(), wc = an.fromDom(de.getBody()), da = Un.deviceType.isTouch(), Cc = Co.style, ur = de.iframeElement, Nc = ur == null ? void 0 : ur.style, lc = (Lr) => {
62345
+ const ht = document.body, Wt = document.documentElement, Co = de.getContainer(), $o = an.fromDom(Co), Fs = ss($o).filter((Lr) => Ct(Lr) && ao(Lr, "tox-silver-sink")), ar = Te(de), Za = ve.get(), wc = an.fromDom(de.getBody()), da = Un.deviceType.isTouch(), Cc = Co.style, dr = de.iframeElement, Nc = dr == null ? void 0 : dr.style, lc = (Lr) => {
62344
62346
  Lr(ht, "tox-fullscreen"), Lr(Wt, "tox-fullscreen"), Lr(Co, "tox-fullscreen"), Gs($o).map((kr) => dt(kr).dom).each((kr) => {
62345
62347
  Lr(kr, "tox-fullscreen"), Lr(kr, "tox-shadowhost");
62346
62348
  });
62347
62349
  }, Xr = () => {
62348
- da && pu(de.dom), lc(ir.removeClass), Um.unbind(), St.from(ve.get()).each((Lr) => Lr.fullscreenChangeHandler.unbind());
62350
+ da && pu(de.dom), lc(ur.removeClass), Um.unbind(), St.from(ve.get()).each((Lr) => Lr.fullscreenChangeHandler.unbind());
62349
62351
  };
62350
62352
  if (Za)
62351
62353
  Za.fullscreenChangeHandler.unbind(), X(de) && le(ar) && P(Lo(ar)), Nc.width = Za.iframeWidth, Nc.height = Za.iframeHeight, Cc.width = Za.containerWidth, Cc.height = Za.containerHeight, Cc.top = Za.containerTop, Cc.left = Za.containerLeft, Ne(Fs, Za.sinkCssPosition, (Lr, kr) => {
@@ -62365,7 +62367,7 @@ window.tinymce.Resource.add("tinymce.plugins.emoticons", { grinning: { keywords:
62365
62367
  fullscreenChangeHandler: Lr,
62366
62368
  sinkCssPosition: Fs.map((Vu) => _r(Vu, "position"))
62367
62369
  };
62368
- da && Qr(de.dom, $o, wc), Nc.width = Nc.height = "100%", Cc.width = Cc.height = "", lc(ir.addClass), Fs.each((Vu) => {
62370
+ da && Qr(de.dom, $o, wc), Nc.width = Nc.height = "100%", Cc.width = Cc.height = "", lc(ur.addClass), Fs.each((Vu) => {
62369
62371
  Ir(Vu, "position", "fixed");
62370
62372
  }), Um.bind($o), de.on("remove", Xr), ve.set(kr), X(de) && Wo(ar), rs(de, !0);
62371
62373
  }
@@ -62431,7 +62433,7 @@ const Ate = { style: { height: "100%", overflow: "hidden" } }, EQ = {
62431
62433
  },
62432
62434
  emits: ["update:modelValue", "setHtml"],
62433
62435
  setup(w, { expose: D, emit: W }) {
62434
- const j = W, q = w, te = gr("vue-tinymce-" + +/* @__PURE__ */ new Date() + ((Math.random() * 1e3).toFixed(0) + "")), oe = nS({
62436
+ const j = W, q = w, te = ir("vue-tinymce-" + +/* @__PURE__ */ new Date() + ((Math.random() * 1e3).toFixed(0) + "")), oe = nS({
62435
62437
  selector: "#" + te.value,
62436
62438
  //富文本编辑器的id,
62437
62439
  language_url: "tinymce/langs/zh_CN.js",
@@ -62581,7 +62583,7 @@ const Ite = { class: "upload-container" }, Mte = { class: "el-upload__text" }, P
62581
62583
  pdf: /(pdf)$/,
62582
62584
  excel: /(xls|xlsx)$/
62583
62585
  };
62584
- let lt = gr(!1), bt = gr({}), Fe = gr(!1), et = gr(null), nt = null, Ye = Pb({
62586
+ let lt = ir(!1), bt = ir({}), Fe = ir(!1), et = ir(null), nt = null, Ye = Pb({
62585
62587
  get() {
62586
62588
  return U(me.modelValue);
62587
62589
  },
@@ -62943,6 +62945,7 @@ export {
62943
62945
  ine as C,
62944
62946
  Vee as F,
62945
62947
  Gte as P,
62948
+ Uee as S,
62946
62949
  une as T,
62947
62950
  jee as U,
62948
62951
  k1 as _,