@zyui/components 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  var _1e = Object.defineProperty;
2
2
  var E1e = (n, s, i) => s in n ? _1e(n, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[s] = i;
3
3
  var hu = (n, s, i) => E1e(n, typeof s != "symbol" ? s + "" : s, i);
4
- import { defineComponent as wo, reactive as w$, provide as ng, inject as og, ref as on, watch as Mo, toValue as st, computed as qt, openBlock as ze, createElementBlock as Mt, createElementVNode as dt, mergeModels as cr, useModel as Cs, Fragment as _s, renderList as ur, createVNode as Lt, unref as he, withCtx as Kt, createCommentVNode as no, toDisplayString as Ro, createTextVNode as ns, createBlock as Mn, withDirectives as Oy, mergeProps as Nc, resolveComponent as Q4, isRef as ah, onUnmounted as gd, watchEffect as cse, onMounted as Ai, onBeforeUnmount as x$, nextTick as Gl, toRefs as gx, getCurrentScope as use, onScopeDispose as qM, renderSlot as Mr, normalizeStyle as wl, onActivated as T1e, onDeactivated as k1e, h as Ka, withModifiers as px, Teleport as dse, normalizeClass as Kr, resolveDynamicComponent as wy, normalizeProps as rde, guardReactiveProps as ade, createPropsRestProxy as A1e, toRef as ui, effectScope as ide, getCurrentInstance as hx, useSlots as $1e, onBeforeMount as O1e, useAttrs as D1e, isMemoSame as N1e, customRef as I1e, markRaw as YM, readonly as M1e, createStaticVNode as R1e, createSlots as lde, withKeys as SR, resolveDirective as _R } from "vue";
5
- import { ElImage as zu, ElIcon as lc, ElPopover as vx, ElForm as bx, ElFormItem as Qm, ElInput as zd, ElButton as cc, ElScrollbar as uj, ElLoadingDirective as fse, ElSelect as ix, ElOption as lx, ElDialog as ER, ElTabs as mse, ElTabPane as gse, useFormItem as P1e, ClickOutside as B1e, ElTooltip as dj, ElTable as F1e, ElTableColumn as Fz, ElCheckbox as Jc, ElMessageBox as L1e, ElRadioGroup as cde, ElRadio as sg, ElTree as TR, ElDropdown as V1e, ElDropdownMenu as H1e, ElDropdownItem as z1e, ElCheckboxGroup as U1e } from "element-plus";
6
- const j1e = "1.0.16";
4
+ import { defineComponent as wo, reactive as w$, provide as ng, inject as og, ref as on, watch as Mo, toValue as st, computed as qt, openBlock as ze, createElementBlock as Mt, createElementVNode as dt, mergeModels as cr, useModel as Cs, Fragment as _s, renderList as ur, createVNode as Lt, unref as he, withCtx as Kt, createCommentVNode as no, toDisplayString as Ro, createTextVNode as ns, createBlock as Mn, withDirectives as Oy, mergeProps as lc, resolveComponent as Q4, isRef as ah, onUnmounted as gd, watchEffect as cse, onMounted as Ai, onBeforeUnmount as x$, nextTick as Gl, toRefs as gx, getCurrentScope as use, onScopeDispose as qM, renderSlot as Mr, normalizeStyle as wl, onActivated as T1e, onDeactivated as k1e, h as Ka, withModifiers as px, Teleport as dse, normalizeClass as Kr, resolveDynamicComponent as wy, normalizeProps as rde, guardReactiveProps as ade, createPropsRestProxy as A1e, toRef as ui, effectScope as ide, getCurrentInstance as hx, useSlots as $1e, onBeforeMount as O1e, useAttrs as D1e, isMemoSame as N1e, customRef as I1e, markRaw as YM, readonly as M1e, createStaticVNode as R1e, createSlots as lde, withKeys as SR, resolveDirective as _R } from "vue";
5
+ import { ElImage as zu, ElIcon as cc, ElPopover as vx, ElForm as bx, ElFormItem as Qm, ElInput as zd, ElButton as uc, ElScrollbar as uj, ElLoadingDirective as fse, ElSelect as ix, ElOption as lx, ElDialog as ER, ElTabs as mse, ElTabPane as gse, useFormItem as P1e, ClickOutside as B1e, ElTooltip as dj, ElTable as F1e, ElTableColumn as Fz, ElCheckbox as Jc, ElMessageBox as L1e, ElRadioGroup as cde, ElRadio as sg, ElTree as TR, ElDropdown as V1e, ElDropdownMenu as H1e, ElDropdownItem as z1e, ElCheckboxGroup as U1e } from "element-plus";
6
+ const j1e = "1.0.18";
7
7
  var W1e = Object.defineProperty, Z1e = (n, s, i) => s in n ? W1e(n, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[s] = i, Yte = (n, s, i) => Z1e(n, typeof s != "symbol" ? s + "" : s, i);
8
8
  function ude(n, s) {
9
9
  return function() {
@@ -4112,7 +4112,7 @@ function() {
4112
4112
  }
4113
4113
  var N = h.join(u.delimiter), z = u.addQueryPrefix === !0 ? "?" : "";
4114
4114
  return u.charsetSentinel && (u.charset === "iso-8859-1" ? z += "utf8=%26%2310003%3B&" : z += "utf8=%E2%9C%93&"), N.length > 0 ? z + N : "";
4115
- }, TE = xfe, Coe = Object.prototype.hasOwnProperty, Jie = Array.isArray, Dc = {
4115
+ }, TE = xfe, Coe = Object.prototype.hasOwnProperty, Jie = Array.isArray, Nc = {
4116
4116
  allowDots: !1,
4117
4117
  allowEmptyArrays: !1,
4118
4118
  allowPrototypes: !1,
@@ -4160,14 +4160,14 @@ function() {
4160
4160
  for (w = 0; w < h.length; ++w)
4161
4161
  if (w !== y) {
4162
4162
  var T = h[w], A = T.indexOf("]="), O = A === -1 ? T.indexOf("=") : A + 1, N, z;
4163
- O === -1 ? (N = i.decoder(T, Dc.decoder, _, "key"), z = i.strictNullHandling ? null : "") : (N = i.decoder(T.slice(0, O), Dc.decoder, _, "key"), z = TE.maybeMap(
4163
+ O === -1 ? (N = i.decoder(T, Nc.decoder, _, "key"), z = i.strictNullHandling ? null : "") : (N = i.decoder(T.slice(0, O), Nc.decoder, _, "key"), z = TE.maybeMap(
4164
4164
  Efe(
4165
4165
  T.slice(O + 1),
4166
4166
  i,
4167
4167
  Jie(u[N]) ? u[N].length : 0
4168
4168
  ),
4169
4169
  function(j) {
4170
- return i.decoder(j, Dc.decoder, _, "value");
4170
+ return i.decoder(j, Nc.decoder, _, "value");
4171
4171
  }
4172
4172
  )), z && i.interpretNumericEntities && _ === "iso-8859-1" && (z = Xwe(String(z))), T.indexOf("[]=") > -1 && (z = Jie(z) ? [z] : z);
4173
4173
  var B = Coe.call(u, N);
@@ -4214,7 +4214,7 @@ function() {
4214
4214
  }
4215
4215
  }, o2e = function(s) {
4216
4216
  if (!s)
4217
- return Dc;
4217
+ return Nc;
4218
4218
  if (typeof s.allowEmptyArrays < "u" && typeof s.allowEmptyArrays != "boolean")
4219
4219
  throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
4220
4220
  if (typeof s.decodeDotInKeys < "u" && typeof s.decodeDotInKeys != "boolean")
@@ -4225,32 +4225,32 @@ function() {
4225
4225
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
4226
4226
  if (typeof s.throwOnLimitExceeded < "u" && typeof s.throwOnLimitExceeded != "boolean")
4227
4227
  throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
4228
- var i = typeof s.charset > "u" ? Dc.charset : s.charset, u = typeof s.duplicates > "u" ? Dc.duplicates : s.duplicates;
4228
+ var i = typeof s.charset > "u" ? Nc.charset : s.charset, u = typeof s.duplicates > "u" ? Nc.duplicates : s.duplicates;
4229
4229
  if (u !== "combine" && u !== "first" && u !== "last")
4230
4230
  throw new TypeError("The duplicates option must be either combine, first, or last");
4231
- var d = typeof s.allowDots > "u" ? s.decodeDotInKeys === !0 ? !0 : Dc.allowDots : !!s.allowDots;
4231
+ var d = typeof s.allowDots > "u" ? s.decodeDotInKeys === !0 ? !0 : Nc.allowDots : !!s.allowDots;
4232
4232
  return {
4233
4233
  allowDots: d,
4234
- allowEmptyArrays: typeof s.allowEmptyArrays == "boolean" ? !!s.allowEmptyArrays : Dc.allowEmptyArrays,
4235
- allowPrototypes: typeof s.allowPrototypes == "boolean" ? s.allowPrototypes : Dc.allowPrototypes,
4236
- allowSparse: typeof s.allowSparse == "boolean" ? s.allowSparse : Dc.allowSparse,
4237
- arrayLimit: typeof s.arrayLimit == "number" ? s.arrayLimit : Dc.arrayLimit,
4234
+ allowEmptyArrays: typeof s.allowEmptyArrays == "boolean" ? !!s.allowEmptyArrays : Nc.allowEmptyArrays,
4235
+ allowPrototypes: typeof s.allowPrototypes == "boolean" ? s.allowPrototypes : Nc.allowPrototypes,
4236
+ allowSparse: typeof s.allowSparse == "boolean" ? s.allowSparse : Nc.allowSparse,
4237
+ arrayLimit: typeof s.arrayLimit == "number" ? s.arrayLimit : Nc.arrayLimit,
4238
4238
  charset: i,
4239
- charsetSentinel: typeof s.charsetSentinel == "boolean" ? s.charsetSentinel : Dc.charsetSentinel,
4240
- comma: typeof s.comma == "boolean" ? s.comma : Dc.comma,
4241
- decodeDotInKeys: typeof s.decodeDotInKeys == "boolean" ? s.decodeDotInKeys : Dc.decodeDotInKeys,
4242
- decoder: typeof s.decoder == "function" ? s.decoder : Dc.decoder,
4243
- delimiter: typeof s.delimiter == "string" || TE.isRegExp(s.delimiter) ? s.delimiter : Dc.delimiter,
4239
+ charsetSentinel: typeof s.charsetSentinel == "boolean" ? s.charsetSentinel : Nc.charsetSentinel,
4240
+ comma: typeof s.comma == "boolean" ? s.comma : Nc.comma,
4241
+ decodeDotInKeys: typeof s.decodeDotInKeys == "boolean" ? s.decodeDotInKeys : Nc.decodeDotInKeys,
4242
+ decoder: typeof s.decoder == "function" ? s.decoder : Nc.decoder,
4243
+ delimiter: typeof s.delimiter == "string" || TE.isRegExp(s.delimiter) ? s.delimiter : Nc.delimiter,
4244
4244
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
4245
- depth: typeof s.depth == "number" || s.depth === !1 ? +s.depth : Dc.depth,
4245
+ depth: typeof s.depth == "number" || s.depth === !1 ? +s.depth : Nc.depth,
4246
4246
  duplicates: u,
4247
4247
  ignoreQueryPrefix: s.ignoreQueryPrefix === !0,
4248
- interpretNumericEntities: typeof s.interpretNumericEntities == "boolean" ? s.interpretNumericEntities : Dc.interpretNumericEntities,
4249
- parameterLimit: typeof s.parameterLimit == "number" ? s.parameterLimit : Dc.parameterLimit,
4248
+ interpretNumericEntities: typeof s.interpretNumericEntities == "boolean" ? s.interpretNumericEntities : Nc.interpretNumericEntities,
4249
+ parameterLimit: typeof s.parameterLimit == "number" ? s.parameterLimit : Nc.parameterLimit,
4250
4250
  parseArrays: s.parseArrays !== !1,
4251
- plainObjects: typeof s.plainObjects == "boolean" ? s.plainObjects : Dc.plainObjects,
4252
- strictDepth: typeof s.strictDepth == "boolean" ? !!s.strictDepth : Dc.strictDepth,
4253
- strictNullHandling: typeof s.strictNullHandling == "boolean" ? s.strictNullHandling : Dc.strictNullHandling,
4251
+ plainObjects: typeof s.plainObjects == "boolean" ? s.plainObjects : Nc.plainObjects,
4252
+ strictDepth: typeof s.strictDepth == "boolean" ? !!s.strictDepth : Nc.strictDepth,
4253
+ strictNullHandling: typeof s.strictNullHandling == "boolean" ? s.strictNullHandling : Nc.strictNullHandling,
4254
4254
  throwOnLimitExceeded: typeof s.throwOnLimitExceeded == "boolean" ? s.throwOnLimitExceeded : !1
4255
4255
  };
4256
4256
  }, s2e = function(n, s) {
@@ -5913,7 +5913,7 @@ const Xr = (n, s) => {
5913
5913
  }, {
5914
5914
  error: Kt(() => [
5915
5915
  dt("div", aTe, [
5916
- Lt(he(lc), { size: "16" }, {
5916
+ Lt(he(cc), { size: "16" }, {
5917
5917
  default: Kt(() => [
5918
5918
  Lt(he(x1), { color: "#fff" })
5919
5919
  ]),
@@ -5924,7 +5924,7 @@ const Xr = (n, s) => {
5924
5924
  _: 2
5925
5925
  }, 1032, ["src"]),
5926
5926
  (_ = i.value) != null && _.includes(y == null ? void 0 : y[s == null ? void 0 : s.idKey]) && (s == null ? void 0 : s.mode) === "select" ? (ze(), Mt("div", iTe, [
5927
- Lt(he(lc), {
5927
+ Lt(he(cc), {
5928
5928
  size: "16",
5929
5929
  style: { display: "block" }
5930
5930
  }, {
@@ -5939,7 +5939,7 @@ const Xr = (n, s) => {
5939
5939
  class: "selected-icon remove-icon",
5940
5940
  onClick: (T) => d(y)
5941
5941
  }, [
5942
- Lt(he(lc), {
5942
+ Lt(he(cc), {
5943
5943
  size: "16",
5944
5944
  style: { display: "block" }
5945
5945
  }, {
@@ -6067,7 +6067,7 @@ const Xr = (n, s) => {
6067
6067
  }),
6068
6068
  Lt(he(Qm), null, {
6069
6069
  default: Kt(() => [
6070
- Lt(he(cc), {
6070
+ Lt(he(uc), {
6071
6071
  type: "primary",
6072
6072
  onClick: A
6073
6073
  }, {
@@ -6185,7 +6185,7 @@ const Xr = (n, s) => {
6185
6185
  }),
6186
6186
  Lt(he(Qm), null, {
6187
6187
  default: Kt(() => [
6188
- Lt(he(cc), {
6188
+ Lt(he(uc), {
6189
6189
  type: "primary",
6190
6190
  onClick: O
6191
6191
  }, {
@@ -6334,7 +6334,7 @@ const Xr = (n, s) => {
6334
6334
  }),
6335
6335
  Lt(he(Qm), null, {
6336
6336
  default: Kt(() => [
6337
- Lt(he(cc), {
6337
+ Lt(he(uc), {
6338
6338
  type: "primary",
6339
6339
  onClick: O
6340
6340
  }, {
@@ -6459,7 +6459,7 @@ const Xr = (n, s) => {
6459
6459
  }, {
6460
6460
  footer: Kt(() => [
6461
6461
  dt("div", xTe, [
6462
- Lt(he(cc), {
6462
+ Lt(he(uc), {
6463
6463
  type: "primary",
6464
6464
  onClick: j
6465
6465
  }, {
@@ -6469,7 +6469,7 @@ const Xr = (n, s) => {
6469
6469
  _: 1
6470
6470
  }),
6471
6471
  dt("div", null, [
6472
- Lt(he(cc), {
6472
+ Lt(he(uc), {
6473
6473
  onClick: F[4] || (F[4] = (P) => A.value = !1)
6474
6474
  }, {
6475
6475
  default: Kt(() => F[7] || (F[7] = [
@@ -6477,7 +6477,7 @@ const Xr = (n, s) => {
6477
6477
  ])),
6478
6478
  _: 1
6479
6479
  }),
6480
- Lt(he(cc), {
6480
+ Lt(he(uc), {
6481
6481
  type: "primary",
6482
6482
  onClick: z
6483
6483
  }, {
@@ -6506,7 +6506,7 @@ const Xr = (n, s) => {
6506
6506
  ]),
6507
6507
  _: 1
6508
6508
  }, 8, ["modelValue"]),
6509
- w.value === "groupIds" ? (ze(), Mn(bTe, Nc({
6509
+ w.value === "groupIds" ? (ze(), Mn(bTe, lc({
6510
6510
  key: 0,
6511
6511
  "model-value": ((P = O.value) == null ? void 0 : P.groupIds) || [],
6512
6512
  "onUpdate:modelValue": F[1] || (F[1] = (Se) => {
@@ -6516,7 +6516,7 @@ const Xr = (n, s) => {
6516
6516
  ref_key: "groupRef",
6517
6517
  ref: g
6518
6518
  }), null, 16, ["model-value"])) : no("", !0),
6519
- w.value === "roleIds" ? (ze(), Mn(yTe, Nc({
6519
+ w.value === "roleIds" ? (ze(), Mn(yTe, lc({
6520
6520
  key: 1,
6521
6521
  "model-value": ((ee = O.value) == null ? void 0 : ee.roleIds) || [],
6522
6522
  "onUpdate:modelValue": F[2] || (F[2] = (Se) => {
@@ -6526,7 +6526,7 @@ const Xr = (n, s) => {
6526
6526
  ref_key: "roleRef",
6527
6527
  ref: h
6528
6528
  }), null, 16, ["model-value"])) : no("", !0),
6529
- w.value === "userIds" ? (ze(), Mn(wTe, Nc({
6529
+ w.value === "userIds" ? (ze(), Mn(wTe, lc({
6530
6530
  key: 2,
6531
6531
  "model-value": ((Te = O.value) == null ? void 0 : Te.userIds) || [],
6532
6532
  "onUpdate:modelValue": F[3] || (F[3] = (Se) => {
@@ -6622,7 +6622,7 @@ const Xr = (n, s) => {
6622
6622
  g.value[he(w)] = [];
6623
6623
  })
6624
6624
  }, [
6625
- Lt(he(lc), { class: "mr-1" }, {
6625
+ Lt(he(cc), { class: "mr-1" }, {
6626
6626
  default: Kt(() => [
6627
6627
  Lt(he(lme))
6628
6628
  ]),
@@ -6654,7 +6654,7 @@ const Xr = (n, s) => {
6654
6654
  dt("span", { class: "num" }, "0", -1),
6655
6655
  ns(" 人 ")
6656
6656
  ]))),
6657
- d != null && d.disabled ? no("", !0) : (ze(), Mn(he(cc), {
6657
+ d != null && d.disabled ? no("", !0) : (ze(), Mn(he(uc), {
6658
6658
  key: 2,
6659
6659
  type: "primary",
6660
6660
  icon: he(eTe),
@@ -9268,7 +9268,7 @@ var SMe = [
9268
9268
  ], Pi = {
9269
9269
  browsers: le(pr),
9270
9270
  oses: le(Su)
9271
- }, Ic = "Edge", Es = "Chromium", tl = "IE", _r = "Opera", uc = "Firefox", $i = "Safari", xl = () => Ea({
9271
+ }, Ic = "Edge", Es = "Chromium", tl = "IE", _r = "Opera", dc = "Firefox", $i = "Safari", xl = () => Ea({
9272
9272
  current: void 0,
9273
9273
  version: Qe.unknown()
9274
9274
  }), Ea = (e) => {
@@ -9280,19 +9280,19 @@ var SMe = [
9280
9280
  isChromium: l(Es),
9281
9281
  isIE: l(tl),
9282
9282
  isOpera: l(_r),
9283
- isFirefox: l(uc),
9283
+ isFirefox: l(dc),
9284
9284
  isSafari: l($i)
9285
9285
  };
9286
- }, dc = {
9286
+ }, fc = {
9287
9287
  unknown: xl,
9288
9288
  nu: Ea,
9289
9289
  edge: le(Ic),
9290
9290
  chromium: le(Es),
9291
9291
  ie: le(tl),
9292
9292
  opera: le(_r),
9293
- firefox: le(uc),
9293
+ firefox: le(dc),
9294
9294
  safari: le($i)
9295
- }, Bi = "Windows", fc = "iOS", ql = "Android", mc = "Linux", ea = "macOS", nl = "Solaris", Yl = "FreeBSD", Kl = "ChromeOS", Qc = () => Fi({
9295
+ }, Bi = "Windows", mc = "iOS", ql = "Android", gc = "Linux", ea = "macOS", nl = "Solaris", Yl = "FreeBSD", Kl = "ChromeOS", Qc = () => Fi({
9296
9296
  current: void 0,
9297
9297
  version: Qe.unknown()
9298
9298
  }), Fi = (e) => {
@@ -9301,10 +9301,10 @@ var SMe = [
9301
9301
  current: o,
9302
9302
  version: r,
9303
9303
  isWindows: l(Bi),
9304
- isiOS: l(fc),
9304
+ isiOS: l(mc),
9305
9305
  isAndroid: l(ql),
9306
9306
  isMacOS: l(ea),
9307
- isLinux: l(mc),
9307
+ isLinux: l(gc),
9308
9308
  isSolaris: l(nl),
9309
9309
  isFreeBSD: l(Yl),
9310
9310
  isChromeOS: l(Kl)
@@ -9313,15 +9313,15 @@ var SMe = [
9313
9313
  unknown: Qc,
9314
9314
  nu: Fi,
9315
9315
  windows: le(Bi),
9316
- ios: le(fc),
9316
+ ios: le(mc),
9317
9317
  android: le(ql),
9318
- linux: le(mc),
9318
+ linux: le(gc),
9319
9319
  macos: le(ea),
9320
9320
  solaris: le(nl),
9321
9321
  freebsd: le(Yl),
9322
9322
  chromeos: le(Kl)
9323
9323
  }, xi = { detect: (e, o, r) => {
9324
- const l = Pi.browsers(), f = Pi.oses(), v = o.bind((M) => nt(l, M)).orThunk(() => dn(l, e)).fold(dc.unknown, dc.nu), C = Vn(f, e).fold(ia.unknown, ia.nu), $ = Rt(C, v, e, r);
9324
+ const l = Pi.browsers(), f = Pi.oses(), v = o.bind((M) => nt(l, M)).orThunk(() => dn(l, e)).fold(fc.unknown, fc.nu), C = Vn(f, e).fold(ia.unknown, ia.nu), $ = Rt(C, v, e, r);
9325
9325
  return {
9326
9326
  browser: v,
9327
9327
  os: C,
@@ -9464,8 +9464,8 @@ var SMe = [
9464
9464
  }, Mf = (e, o, r) => {
9465
9465
  const l = He(hd(e, o), (f) => f !== r);
9466
9466
  return l.length > 0 ? Ta(e, o, l.join(" ")) : hr(e, o), !1;
9467
- }, Ud = (e) => e.dom.classList !== void 0, jd = (e) => hd(e, "class"), gc = (e, o) => If(e, "class", o), sl = (e, o) => Mf(e, "class", o), _1 = (e, o) => te(jd(e), o) ? sl(e, o) : gc(e, o), ju = (e, o) => {
9468
- Ud(e) ? e.dom.classList.add(o) : gc(e, o);
9467
+ }, Ud = (e) => e.dom.classList !== void 0, jd = (e) => hd(e, "class"), pc = (e, o) => If(e, "class", o), sl = (e, o) => Mf(e, "class", o), _1 = (e, o) => te(jd(e), o) ? sl(e, o) : pc(e, o), ju = (e, o) => {
9468
+ Ud(e) ? e.dom.classList.add(o) : pc(e, o);
9469
9469
  }, rp = (e) => {
9470
9470
  (Ud(e) ? e.dom.classList : jd(e)).length === 0 && hr(e, "class");
9471
9471
  }, Rf = (e, o) => {
@@ -9632,7 +9632,7 @@ var SMe = [
9632
9632
  o[f] = r.style[f];
9633
9633
  }
9634
9634
  return o;
9635
- }, pc = (e, o) => {
9635
+ }, hc = (e, o) => {
9636
9636
  const r = e.dom;
9637
9637
  dp(r, o), Ia(xa(e, "style").map(Hs), "") && hr(e, "style");
9638
9638
  }, Ci = (e) => e.dom.offsetWidth, Sl = (e, o) => {
@@ -9730,7 +9730,7 @@ var SMe = [
9730
9730
  }, Vc = (e) => {
9731
9731
  const o = e === void 0 ? window : e;
9732
9732
  return Xa().browser.isFirefox() ? oe.none() : oe.from(o.visualViewport);
9733
- }, hc = (e, o, r, l) => ({
9733
+ }, vc = (e, o, r, l) => ({
9734
9734
  x: e,
9735
9735
  y: o,
9736
9736
  width: r,
@@ -9741,8 +9741,8 @@ var SMe = [
9741
9741
  const o = e === void 0 ? window : e, r = o.document, l = Ao(ut.fromDom(r));
9742
9742
  return Vc(o).fold(() => {
9743
9743
  const f = o.document.documentElement, v = f.clientWidth, C = f.clientHeight;
9744
- return hc(l.left, l.top, v, C);
9745
- }, (f) => hc(Math.max(f.pageLeft, l.left), Math.max(f.pageTop, l.top), f.width, f.height));
9744
+ return vc(l.left, l.top, v, C);
9745
+ }, (f) => vc(Math.max(f.pageLeft, l.left), Math.max(f.pageTop, l.top), f.width, f.height));
9746
9746
  }, vm = (e, o) => He(Di(e), o), O1 = (e, o) => {
9747
9747
  let r = [];
9748
9748
  return X(Di(e), (l) => {
@@ -9860,7 +9860,7 @@ var SMe = [
9860
9860
  "audio",
9861
9861
  "object",
9862
9862
  "embed"
9863
- ]), Sx = yg("li"), Jd = yg("details"), Ly = yg("summary"), vc = {
9863
+ ]), Sx = yg("li"), Jd = yg("details"), Ly = yg("summary"), bc = {
9864
9864
  skipBogus: !0,
9865
9865
  includeZwsp: !1,
9866
9866
  checkRootAsContent: !1
@@ -9869,7 +9869,7 @@ var SMe = [
9869
9869
  return D1(f, ($) => _o(v, qe($)), fe(Ys, l));
9870
9870
  }, Qd = (e) => co(e) && e.nodeName === "A" && !e.hasAttribute("href") && (e.hasAttribute("name") || e.hasAttribute("id")), gh = (e, o) => co(e) && _o(o.getNonEmptyElements(), e.nodeName), La = ym("data-mce-bookmark"), ph = (e) => ug(ut.fromDom(e)).exists((o) => !Cd(o)), zf = (e, o, r) => $u(e.data) && !ir(e, o, r), Vy = (e, o, r, l) => Pn(e) && !zf(e, o, r) && (!l.includeZwsp || !bg(e.data)), Ql = (e, o, r, l) => ce(l.isContent) && l.isContent(o) || gh(o, e) || La(o) || Qd(o) || Vy(o, r, e, l) || sr(o) || wn(o) && ph(o), nu = (e, o, r) => {
9871
9871
  const l = {
9872
- ...vc,
9872
+ ...bc,
9873
9873
  ...r
9874
9874
  };
9875
9875
  if (l.checkRootAsContent && Ql(e, o, o, l))
@@ -9903,7 +9903,7 @@ var SMe = [
9903
9903
  checkRootAsContent: !0,
9904
9904
  ...r
9905
9905
  }), Hc = (e, o, r) => Ql(e, o, o, {
9906
- includeZwsp: vc.includeZwsp,
9906
+ includeZwsp: bc.includeZwsp,
9907
9907
  ...r
9908
9908
  }), Ei = (e) => {
9909
9909
  let o = e;
@@ -10011,7 +10011,7 @@ var SMe = [
10011
10011
  const r = jn(e.getBlockElements());
10012
10012
  To(r, o);
10013
10013
  }
10014
- }, bc = (e, o, r) => {
10014
+ }, yc = (e, o, r) => {
10015
10015
  const l = (v) => Ys(v, ut.fromDom(o)), f = dg(ut.fromDom(r), l);
10016
10016
  yn(f, f.length - 2).filter(xs).fold(() => ec(e, o), (v) => ec(e, v.dom));
10017
10017
  }, Yu = (e) => e.hasAttribute(yt), vp = (e, o) => _o(e.getTransparentElements(), o), bp = (e, o) => co(o) && vp(e, o.nodeName), tc = (e, o) => bp(e, o) && Yu(o), yp = (e, o) => bp(e, o) && !Yu(o), wp = (e, o) => o.type === 1 && vp(e, o.name) && P(o.attr(yt)), P1 = Xa().browser, hh = (e) => Ut(e, xs), Ni = (e) => P1.isFirefox() && qe(e) === "table" ? hh(Di(e)).filter((o) => qe(o) === "caption").bind((o) => hh(fg(o)).map((r) => {
@@ -10926,7 +10926,7 @@ var SMe = [
10926
10926
  Fn(o, kd, l);
10927
10927
  }, UE = (e, o) => Pt(e) ? _o(Xu, o) ? e + "" : e + "px" : e, Pb = (e, o, r) => {
10928
10928
  const l = HE(o);
10929
- Pe(r) || r === "" ? pc(e, l) : dh(e, l, UE(r, l));
10929
+ Pe(r) || r === "" ? hc(e, l) : dh(e, l, UE(r, l));
10930
10930
  }, Dx = (e, o, r) => {
10931
10931
  const l = o.keep_values, f = {
10932
10932
  set: (C, $, M) => {
@@ -11153,7 +11153,7 @@ var SMe = [
11153
11153
  const to = et(Yt), qn = nn.split(" ");
11154
11154
  return Ce(to) && En(qn, (Jo) => lg(to, Jo));
11155
11155
  }, er = (Yt) => {
11156
- zo(Yt, (nn) => pc(ut.fromDom(nn), "display"));
11156
+ zo(Yt, (nn) => hc(ut.fromDom(nn), "display"));
11157
11157
  }, oi = (Yt) => {
11158
11158
  zo(Yt, (nn) => dh(ut.fromDom(nn), "display", "none"));
11159
11159
  }, Qi = (Yt) => {
@@ -11794,7 +11794,7 @@ var SMe = [
11794
11794
  if (Ip(C)) {
11795
11795
  if ($d(C))
11796
11796
  return C;
11797
- if (wc(C))
11797
+ if (xc(C))
11798
11798
  return C.splitText(1), C;
11799
11799
  }
11800
11800
  e.nextSibling ? v == null || v.insertBefore(f, e.nextSibling) : v == null || v.appendChild(f);
@@ -11812,7 +11812,7 @@ var SMe = [
11812
11812
  v.setAttribute("data-mce-caret", r ? "before" : "after"), v.setAttribute("data-mce-bogus", "all"), v.appendChild(Dp().dom);
11813
11813
  const C = o.parentNode;
11814
11814
  return r ? C == null || C.insertBefore(v, o) : o.nextSibling ? C == null || C.insertBefore(v, o.nextSibling) : C == null || C.appendChild(v), v;
11815
- }, wc = (e) => Ip(e) && e.data[0] === ji, Qu = (e) => Ip(e) && e.data[e.data.length - 1] === ji, Fx = (e) => {
11815
+ }, xc = (e) => Ip(e) && e.data[0] === ji, Qu = (e) => Ip(e) && e.data[e.data.length - 1] === ji, Fx = (e) => {
11816
11816
  var o;
11817
11817
  const r = e.getElementsByTagName("br"), l = r[r.length - 1];
11818
11818
  wg(l) && ((o = l.parentNode) === null || o === void 0 || o.removeChild(l));
@@ -13020,7 +13020,7 @@ Required: ` + o.join(", "));
13020
13020
  default: dl.getAttrib(e.getElement(), "placeholder")
13021
13021
  });
13022
13022
  });
13023
- }, xO = Co("iframe_attrs"), CO = Co("doctype"), lu = Co("document_base_url"), vw = Co("body_id"), IT = Co("body_class"), xc = Co("content_security_policy"), Dm = Co("br_in_pre"), Zi = Co("forced_root_block"), Dd = Co("forced_root_block_attrs"), Cc = Co("newline_behavior"), rC = Co("br_newline_selector"), bw = Co("no_newline_selector"), aC = Co("keep_styles"), MT = Co("end_container_on_empty_block"), yw = Co("automatic_uploads"), RT = Co("images_reuse_filename"), PT = Co("images_replace_blob_uris"), BT = Co("icons"), SO = Co("icons_url"), _O = Co("images_upload_url"), EO = Co("images_upload_base_path"), iC = Co("images_upload_credentials"), ww = Co("images_upload_handler"), FT = Co("content_css_cors"), t0 = Co("referrer_policy"), sv = Co("language"), Pp = Co("language_url"), xw = Co("indent_use_margin"), TO = Co("indentation"), LT = Co("content_css"), kO = Co("content_style"), VT = Co("font_css"), HT = Co("directionality"), Zc = Co("inline_boundaries_selector"), Cw = Co("object_resizing"), zT = Co("resize_img_proportional"), lC = Co("placeholder"), n0 = Co("event_root"), AO = Co("service_message"), rv = Co("theme"), $O = Co("theme_url"), cC = Co("model"), OO = Co("model_url"), o0 = Co("inline_boundaries"), DO = Co("formats"), NO = Co("preview_styles"), Sw = Co("format_empty_lines"), UT = Co("format_noneditable_selector"), uC = Co("custom_ui_selector"), s0 = Co("inline"), jT = Co("hidden_input"), dC = Co("submit_patch"), fC = Co("add_form_submit_trigger"), mC = Co("add_unload_trigger"), Rh = Co("custom_undo_redo_levels"), WT = Co("disable_nodechange"), gC = Co("readonly"), ZT = Co("editable_root"), GT = Co("content_css_cors"), Gc = Co("plugins"), _w = Co("external_plugins"), Ew = Co("block_unsupported_drop"), pC = Co("visual"), hC = Co("visual_table_class"), Nm = Co("visual_anchor_class"), Tw = Co("iframe_aria_text"), IO = Co("setup"), Bp = Co("init_instance_callback"), kw = Co("urlconverter_callback"), qc = Co("auto_focus"), aP = Co("browser_spellcheck"), av = Co("protect"), MO = Co("paste_block_drop"), r0 = Co("paste_data_images"), RO = Co("paste_preprocess"), PO = Co("paste_postprocess"), qT = Co("newdocument_content"), YT = Co("paste_webkit_styles"), Aw = Co("paste_remove_styles_if_webkit"), BO = Co("paste_merge_formats"), FO = Co("smart_paste"), a0 = Co("paste_as_text"), vC = Co("paste_tab_spaces"), bC = Co("allow_html_data_urls"), KT = Co("text_patterns"), XT = Co("text_patterns_lookup"), $w = Co("noneditable_class"), iP = Co("editable_class"), iv = Co("noneditable_regexp"), pW = Co("preserve_cdata"), i0 = Co("highlight_on_focus"), l0 = Co("xss_sanitization"), Ow = Co("init_content_sync"), LO = (e) => e.options.isSet("text_patterns_lookup"), JT = (e) => hn.explode(e.options.get("font_size_style_values")), VO = (e) => hn.explode(e.options.get("font_size_classes")), yC = (e) => e.options.get("encoding") === "xml", wC = (e) => hn.explode(e.options.get("images_file_types")), Dg = Co("table_tab_navigation"), c0 = Co("details_initial_state"), HO = Co("details_serialized_state"), xC = Co("sandbox_iframes"), QT = (e) => e.options.get("sandbox_iframes_exclusions"), lP = Co("convert_unsafe_embeds"), ek = Co("license_key"), CC = Co("api_key"), Fp = Co("disabled"), zO = co, SC = Pn, _C = (e) => {
13023
+ }, xO = Co("iframe_attrs"), CO = Co("doctype"), lu = Co("document_base_url"), vw = Co("body_id"), IT = Co("body_class"), Cc = Co("content_security_policy"), Dm = Co("br_in_pre"), Zi = Co("forced_root_block"), Dd = Co("forced_root_block_attrs"), Sc = Co("newline_behavior"), rC = Co("br_newline_selector"), bw = Co("no_newline_selector"), aC = Co("keep_styles"), MT = Co("end_container_on_empty_block"), yw = Co("automatic_uploads"), RT = Co("images_reuse_filename"), PT = Co("images_replace_blob_uris"), BT = Co("icons"), SO = Co("icons_url"), _O = Co("images_upload_url"), EO = Co("images_upload_base_path"), iC = Co("images_upload_credentials"), ww = Co("images_upload_handler"), FT = Co("content_css_cors"), t0 = Co("referrer_policy"), sv = Co("language"), Pp = Co("language_url"), xw = Co("indent_use_margin"), TO = Co("indentation"), LT = Co("content_css"), kO = Co("content_style"), VT = Co("font_css"), HT = Co("directionality"), Zc = Co("inline_boundaries_selector"), Cw = Co("object_resizing"), zT = Co("resize_img_proportional"), lC = Co("placeholder"), n0 = Co("event_root"), AO = Co("service_message"), rv = Co("theme"), $O = Co("theme_url"), cC = Co("model"), OO = Co("model_url"), o0 = Co("inline_boundaries"), DO = Co("formats"), NO = Co("preview_styles"), Sw = Co("format_empty_lines"), UT = Co("format_noneditable_selector"), uC = Co("custom_ui_selector"), s0 = Co("inline"), jT = Co("hidden_input"), dC = Co("submit_patch"), fC = Co("add_form_submit_trigger"), mC = Co("add_unload_trigger"), Rh = Co("custom_undo_redo_levels"), WT = Co("disable_nodechange"), gC = Co("readonly"), ZT = Co("editable_root"), GT = Co("content_css_cors"), Gc = Co("plugins"), _w = Co("external_plugins"), Ew = Co("block_unsupported_drop"), pC = Co("visual"), hC = Co("visual_table_class"), Nm = Co("visual_anchor_class"), Tw = Co("iframe_aria_text"), IO = Co("setup"), Bp = Co("init_instance_callback"), kw = Co("urlconverter_callback"), qc = Co("auto_focus"), aP = Co("browser_spellcheck"), av = Co("protect"), MO = Co("paste_block_drop"), r0 = Co("paste_data_images"), RO = Co("paste_preprocess"), PO = Co("paste_postprocess"), qT = Co("newdocument_content"), YT = Co("paste_webkit_styles"), Aw = Co("paste_remove_styles_if_webkit"), BO = Co("paste_merge_formats"), FO = Co("smart_paste"), a0 = Co("paste_as_text"), vC = Co("paste_tab_spaces"), bC = Co("allow_html_data_urls"), KT = Co("text_patterns"), XT = Co("text_patterns_lookup"), $w = Co("noneditable_class"), iP = Co("editable_class"), iv = Co("noneditable_regexp"), pW = Co("preserve_cdata"), i0 = Co("highlight_on_focus"), l0 = Co("xss_sanitization"), Ow = Co("init_content_sync"), LO = (e) => e.options.isSet("text_patterns_lookup"), JT = (e) => hn.explode(e.options.get("font_size_style_values")), VO = (e) => hn.explode(e.options.get("font_size_classes")), yC = (e) => e.options.get("encoding") === "xml", wC = (e) => hn.explode(e.options.get("images_file_types")), Dg = Co("table_tab_navigation"), c0 = Co("details_initial_state"), HO = Co("details_serialized_state"), xC = Co("sandbox_iframes"), QT = (e) => e.options.get("sandbox_iframes_exclusions"), lP = Co("convert_unsafe_embeds"), ek = Co("license_key"), CC = Co("api_key"), Fp = Co("disabled"), zO = co, SC = Pn, _C = (e) => {
13024
13024
  const o = e.parentNode;
13025
13025
  o && o.removeChild(e);
13026
13026
  }, EC = (e) => {
@@ -13064,7 +13064,7 @@ Required: ` + o.join(", "));
13064
13064
  const $ = C.data;
13065
13065
  $.length === 1 ? (o = C.parentNode) === null || o === void 0 || o.removeChild(C) : C.deleteData($.length - 1, 1);
13066
13066
  }
13067
- C = v.nextSibling, wc(C) && (C.data.length === 1 ? (r = C.parentNode) === null || r === void 0 || r.removeChild(C) : C.deleteData(0, 1));
13067
+ C = v.nextSibling, xc(C) && (C.data.length === 1 ? (r = C.parentNode) === null || r === void 0 || r.removeChild(C) : C.deleteData(0, 1));
13068
13068
  }
13069
13069
  }, nk = (e, o, r, l) => {
13070
13070
  const f = Va();
@@ -13199,7 +13199,7 @@ Required: ` + o.join(", "));
13199
13199
  }
13200
13200
  if (Qu(C) && $ >= C.data.length - 1)
13201
13201
  return e === 1 && (l = v(C), l) ? Lh(l) : r;
13202
- if (wc(C) && $ <= 1)
13202
+ if (xc(C) && $ <= 1)
13203
13203
  return e === -1 && (l = f(C), l) ? fv(l) : r;
13204
13204
  if ($ === C.data.length)
13205
13205
  return l = v(C), l ? Lh(l) : r;
@@ -14011,11 +14011,11 @@ Required: ` + o.join(", "));
14011
14011
  -1,
14012
14012
  1
14013
14013
  ]
14014
- }, Sc = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, Zp = (e, o) => {
14014
+ }, _c = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, Zp = (e, o) => {
14015
14015
  const r = o.dom, l = o.getDoc(), f = document, v = o.getBody();
14016
14016
  let C, $, M, U, Q, se, ue, Oe, Ze, Me, et, mt, $t, zt, Qt;
14017
14017
  const An = ($n) => Ce($n) && (R1($n) || r.is($n, "figure.image")), Zn = ($n) => Ui($n) || r.hasClass($n, "mce-preview-object"), eo = ($n, go) => {
14018
- if (Sc($n)) {
14018
+ if (_c($n)) {
14019
14019
  const rs = $n.touches[0];
14020
14020
  return An($n.target) && !Pk(rs.clientX, rs.clientY, go);
14021
14021
  } else
@@ -14203,7 +14203,7 @@ Required: ` + o.join(", "));
14203
14203
  }), mf = (e, o) => {
14204
14204
  const r = o.ltr();
14205
14205
  return r.collapsed ? o.rtl().filter((f) => f.collapsed === !1).map((f) => qi.rtl(ut.fromDom(f.endContainer), f.endOffset, ut.fromDom(f.startContainer), f.startOffset)).getOrThunk(() => Md(e, qi.ltr, r)) : Md(e, qi.ltr, r);
14206
- }, _c = (e, o) => {
14206
+ }, Ec = (e, o) => {
14207
14207
  const r = Ul(e, o);
14208
14208
  return mf(e, r);
14209
14209
  };
@@ -14248,7 +14248,7 @@ Required: ` + o.join(", "));
14248
14248
  }), ut.fromDom(l);
14249
14249
  }, lS = (e) => {
14250
14250
  const o = xv.getWin(e).dom, r = (f, v, C, $) => zl(o, f, v, C, $), l = vD(e);
14251
- return _c(o, l).match({
14251
+ return Ec(o, l).match({
14252
14252
  ltr: r,
14253
14253
  rtl: r
14254
14254
  });
@@ -15673,7 +15673,7 @@ Required: ` + o.join(", "));
15673
15673
  const On = He(mn, (bo) => l5(e.schema, bo, an));
15674
15674
  mr(On, e.schema, eo), a5($.getNodeFilters(), $.getAttributeFilters(), An), o = U.serialize(An), $t === Qt ? C.setHTML(Qt, o) : C.setOuterHTML($t, o);
15675
15675
  }
15676
- return K8(e, M), X8(e, C.get("mce_marker")), kZ(e.getBody()), TZ(C, v.getStart(), e.schema), bc(e.schema, e.getBody(), v.getStart()), o;
15676
+ return K8(e, M), X8(e, C.get("mce_marker")), kZ(e.getBody()), TZ(C, v.getStart(), e.schema), yc(e.schema, e.getBody(), v.getStart()), o;
15677
15677
  }, fu = (e) => e instanceof Mu, TS = (e) => {
15678
15678
  Un(e) && Mi(e.getBody()).each((o) => {
15679
15679
  const r = o.getNode(), l = _d(r) ? Mi(r).getOr(o) : o;
@@ -17920,7 +17920,7 @@ Required: ` + o.join(", "));
17920
17920
  }), U0 = (e) => {
17921
17921
  const o = e.serializer.getTempAttrs(), r = KP(e.getBody(), o);
17922
17922
  return RG(r) ? x7(NG(r)) : PG(Ju(r.innerHTML));
17923
- }, Ec = (e, o, r) => {
17923
+ }, Tc = (e, o, r) => {
17924
17924
  const l = r ? o.beforeBookmark : o.bookmark;
17925
17925
  o.type === "fragmented" ? IG(o.fragments, e.getBody()) : e.setContent(o.content, {
17926
17926
  format: "raw",
@@ -17969,14 +17969,14 @@ Required: ` + o.join(", "));
17969
17969
  }, cN = (e, o, r, l, f) => {
17970
17970
  if (o.transact(l)) {
17971
17971
  const v = o.data[r.get()].bookmark, C = o.data[r.get() - 1];
17972
- Ec(e, C, !0), o.transact(f) && (o.data[r.get() - 1].beforeBookmark = v);
17972
+ Tc(e, C, !0), o.transact(f) && (o.data[r.get() - 1].beforeBookmark = v);
17973
17973
  }
17974
17974
  }, FG = (e, o, r) => {
17975
17975
  let l;
17976
- return o.get() < r.length - 1 && (o.set(o.get() + 1), l = r[o.get()], Ec(e, l, !1), e.setDirty(!0), e.dispatch("Redo", { level: l })), l;
17976
+ return o.get() < r.length - 1 && (o.set(o.get() + 1), l = r[o.get()], Tc(e, l, !1), e.setDirty(!0), e.dispatch("Redo", { level: l })), l;
17977
17977
  }, T7 = (e, o, r, l) => {
17978
17978
  let f;
17979
- return o.typing && (o.add(), o.typing = !1, GS(o, !1, r)), l.get() > 0 && (l.set(l.get() - 1), f = o.data[l.get()], Ec(e, f, !0), e.setDirty(!0), e.dispatch("Undo", { level: f })), f;
17979
+ return o.typing && (o.add(), o.typing = !1, GS(o, !1, r)), l.get() > 0 && (l.set(l.get() - 1), f = o.data[l.get()], Tc(e, f, !0), e.setDirty(!0), e.dispatch("Undo", { level: f })), f;
17980
17980
  }, LG = (e) => {
17981
17981
  e.clear(), e.add();
17982
17982
  }, uN = (e, o, r) => r.get() > 0 || o.typing && o.data[0] && !Pu(U0(e), o.data[0]), dN = (e, o) => o.get() < e.data.length - 1 && !e.typing, VG = (e, o, r) => (S7(e, o), e.beforeChange(), e.ignore(r), e.add()), HG = (e, o) => {
@@ -18580,7 +18580,7 @@ Required: ` + o.join(", "));
18580
18580
  const v = bN(e, f.content, f);
18581
18581
  return H0(e, v.html, f), v.content;
18582
18582
  }).getOr(o);
18583
- }, Qre = "autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists,template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","), eae = [], Tc = "bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,template,textcolor,rtc".split(","), xN = [], CN = (e, o) => {
18583
+ }, Qre = "autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists,template_cdate_classes,template_mdate_classes,template_selected_content_classes,template_preview_replace_values,template_replace_values,templates,template_cdate_format,template_mdate_format".split(","), eae = [], kc = "bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,template,textcolor,rtc".split(","), xN = [], CN = (e, o) => {
18584
18584
  const r = He(o, (l) => _o(e, l));
18585
18585
  return Ht(r);
18586
18586
  }, Z7 = (e) => {
@@ -18589,7 +18589,7 @@ Required: ` + o.join(", "));
18589
18589
  }, bq = (e) => CN(e, eae), G7 = (e, o) => {
18590
18590
  const r = hn.makeMap(e.plugins, " "), f = He(o, (v) => _o(r, v));
18591
18591
  return Ht(f);
18592
- }, X3 = (e) => G7(e, Tc), yq = (e) => G7(e, xN.map((o) => o.name)), SN = (e, o) => {
18592
+ }, X3 = (e) => G7(e, kc), yq = (e) => G7(e, xN.map((o) => o.name)), SN = (e, o) => {
18593
18593
  const r = Z7(e), l = X3(o), f = l.length > 0, v = r.length > 0, C = o.theme === "mobile";
18594
18594
  if (f || v || C) {
18595
18595
  const $ = `
@@ -19949,22 +19949,22 @@ Options:${C}${r.join(C)}` : "";
19949
19949
  }), i1 = (e) => {
19950
19950
  const o = ut.fromDom(e.getBody()), r = e.selection.getRng();
19951
19951
  return OF(o, r) ? DF(e) : iA(o, e.selection, e.schema);
19952
- }, Xp = (e, o) => e.selection.isCollapsed() ? oe.none() : i1(e), kc = (e, o, r, l, f) => oe.from(o._selectionOverrides.showCaret(e, r, l, f)), sY = (e) => {
19952
+ }, Xp = (e, o) => e.selection.isCollapsed() ? oe.none() : i1(e), Ac = (e, o, r, l, f) => oe.from(o._selectionOverrides.showCaret(e, r, l, f)), sY = (e) => {
19953
19953
  const o = e.ownerDocument.createRange();
19954
19954
  return o.selectNode(e), o;
19955
19955
  }, r_ = (e, o) => e.dispatch("BeforeObjectSelected", { target: o }).isDefaultPrevented() ? oe.none() : oe.some(sY(o)), rY = (e, o, r) => {
19956
19956
  const l = ik(1, e.getBody(), o), f = cn.fromRangeStart(l), v = f.getNode();
19957
19957
  if (d0(v))
19958
- return kc(1, e, v, !f.isAtEnd(), !1);
19958
+ return Ac(1, e, v, !f.isAtEnd(), !1);
19959
19959
  const C = f.getNode(!0);
19960
19960
  if (d0(C))
19961
- return kc(1, e, C, !1, !1);
19961
+ return Ac(1, e, C, !1, !1);
19962
19962
  const $ = Lm(e.dom.getRoot(), f.getNode());
19963
- return d0($) ? kc(1, e, $, !1, r) : oe.none();
19963
+ return d0($) ? Ac(1, e, $, !1, r) : oe.none();
19964
19964
  }, HN = (e, o, r) => o.collapsed ? rY(e, o, r).getOr(o) : o, aY = (e) => Tv(e) || A0(e), iY = (e) => kv(e) || mS(e), lY = (e, o) => {
19965
19965
  Pn(o) && o.data.length === 0 && e.remove(o);
19966
19966
  }, NF = (e, o, r, l, f, v) => {
19967
- kc(l, e, v.getNode(!f), f, !0).each((C) => {
19967
+ Ac(l, e, v.getNode(!f), f, !0).each((C) => {
19968
19968
  if (o.collapsed) {
19969
19969
  const $ = o.cloneRange();
19970
19970
  f ? $.setEnd(C.startContainer, C.startOffset) : $.setStart(C.endContainer, C.endOffset), $.deleteContents();
@@ -20281,14 +20281,14 @@ Options:${C}${r.join(C)}` : "";
20281
20281
  U.push(Oe);
20282
20282
  } while (M = v(M));
20283
20283
  return U;
20284
- }, IY = (e) => (o) => cI(e, o), aL = (e) => (o) => OY(e, o), Ac = (e, o) => {
20284
+ }, IY = (e) => (o) => cI(e, o), aL = (e) => (o) => OY(e, o), $c = (e, o) => {
20285
20285
  e.selection.setRng(o), n2(e, e.selection.getRng());
20286
20286
  }, uI = (e, o, r) => oe.some(HN(e, o, r)), iL = (e, o, r, l, f, v) => {
20287
20287
  const C = o === 1, $ = ed(e.getBody()), M = fe(p0, C ? $.next : $.prev), U = C ? l : f;
20288
20288
  if (!r.collapsed) {
20289
20289
  const Ze = qb(r);
20290
20290
  if (v(Ze))
20291
- return kc(o, e, Ze, o === -1, !1);
20291
+ return Ac(o, e, Ze, o === -1, !1);
20292
20292
  if (jN(e)) {
20293
20293
  const Me = r.cloneRange();
20294
20294
  return Me.collapse(o === -1), oe.from(Me);
@@ -20304,9 +20304,9 @@ Options:${C}${r.join(C)}` : "";
20304
20304
  else
20305
20305
  return ue ? oe.some(r) : oe.none();
20306
20306
  if (U(se))
20307
- return kc(o, e, se.getNode(!C), C, !1);
20307
+ return Ac(o, e, se.getNode(!C), C, !1);
20308
20308
  const Oe = M(se);
20309
- return Oe && U(Oe) && Mw(se, Oe) ? kc(o, e, Oe.getNode(!C), C, !1) : ue ? uI(e, se.toRange(), !1) : oe.none();
20309
+ return Oe && U(Oe) && Mw(se, Oe) ? Ac(o, e, Oe.getNode(!C), C, !1) : ue ? uI(e, se.toRange(), !1) : oe.none();
20310
20310
  }, Lv = (e, o, r, l, f, v) => {
20311
20311
  const C = g0(o, e.getBody(), r), $ = Ie(C.getClientRects()), M = o === Fv.Down, U = e.getBody();
20312
20312
  if (!$)
@@ -20318,7 +20318,7 @@ Options:${C}${r.join(C)}` : "";
20318
20318
  const se = (M ? NY : DY)(U, IY(1), C), ue = He(se, aL(1)), Oe = $.left, Ze = oL(ue, Oe);
20319
20319
  if (Ze && v(Ze.node)) {
20320
20320
  const et = Math.abs(Oe - Ze.left), mt = Math.abs(Oe - Ze.right);
20321
- return kc(o, e, Ze.node, et < mt, !1);
20321
+ return Ac(o, e, Ze.node, et < mt, !1);
20322
20322
  }
20323
20323
  let Me;
20324
20324
  if (l(C) ? Me = C.getNode() : f(C) ? Me = C.getNode(!0) : Me = qb(r), Me) {
@@ -20695,10 +20695,10 @@ Options:${C}${r.join(C)}` : "";
20695
20695
  }, OA = (e, o) => {
20696
20696
  const r = o ? e.getEnd(!0) : e.getStart(!0);
20697
20697
  return HD(r) ? !o : o;
20698
- }, DA = (e, o) => c1(e, OA(e.selection, o)).exists((r) => (Ac(e, r), !0)), NA = (e, o) => J0(e, o).exists((r) => (Ac(e, r), !0)), kI = (e, o) => lL(e, o, o ? kv : Tv), IA = (e, o) => UN(e, !o).map((r) => {
20698
+ }, DA = (e, o) => c1(e, OA(e.selection, o)).exists((r) => ($c(e, r), !0)), NA = (e, o) => J0(e, o).exists((r) => ($c(e, r), !0)), kI = (e, o) => lL(e, o, o ? kv : Tv), IA = (e, o) => UN(e, !o).map((r) => {
20699
20699
  const l = r.toRange(), f = e.selection.getRng();
20700
20700
  return o ? l.setStart(f.startContainer, f.startOffset) : l.setEnd(f.endContainer, f.endOffset), l;
20701
- }).exists((r) => (Ac(e, r), !0)), RL = (e) => te(["figcaption"], qe(e)), PL = (e, o, r) => {
20701
+ }).exists((r) => ($c(e, r), !0)), RL = (e) => te(["figcaption"], qe(e)), PL = (e, o, r) => {
20702
20702
  const l = fe(Ys, o);
20703
20703
  return la(ut.fromDom(e.container()), (f) => r.isBlock(qe(f)), l).filter(RL);
20704
20704
  }, dK = (e, o, r) => o ? rm(e.dom, r) : TY(e.dom, r), fK = (e, o) => {
@@ -20730,10 +20730,10 @@ Options:${C}${r.join(C)}` : "";
20730
20730
  ...o
20731
20731
  })), hK = (e, o) => o.keyCode === e.keyCode && o.shiftKey === e.shiftKey && o.altKey === e.altKey && o.ctrlKey === e.ctrlKey && o.metaKey === e.metaKey, vK = (e, o) => Zt(cae(e), (r) => hK(r, o) ? [r] : []), dae = (e, o) => Zt(uae(e), (r) => hK(r, o) ? [r] : []), us = (e, ...o) => () => e.apply(null, o), p_ = (e, o) => Ut(vK(e, o), (r) => r.action()), FL = (e, o) => jo(dae(e, o), (r) => r.action()), bK = (e, o) => {
20732
20732
  const r = o ? 1 : -1, l = e.selection.getRng();
20733
- return iL(e, r, l, A0, mS, Ui).exists((f) => (Ac(e, f), !0));
20733
+ return iL(e, r, l, A0, mS, Ui).exists((f) => ($c(e, f), !0));
20734
20734
  }, LL = (e, o) => {
20735
20735
  const r = o ? 1 : -1, l = e.selection.getRng();
20736
- return Lv(e, r, l, A0, mS, Ui).exists((f) => (Ac(e, f), !0));
20736
+ return Lv(e, r, l, A0, mS, Ui).exists((f) => ($c(e, f), !0));
20737
20737
  }, Lu = (e, o) => lL(e, o, o ? mS : A0), OI = fr.generate([
20738
20738
  { none: ["current"] },
20739
20739
  { first: ["current"] },
@@ -20811,8 +20811,8 @@ Options:${C}${r.join(C)}` : "";
20811
20811
  return uf(!e, r).exists((f) => f.isEqual(l));
20812
20812
  }, gae = (e, o, r, l) => {
20813
20813
  const f = e.selection.getRng(), v = o ? 1 : -1;
20814
- return ok() && XL(o, f, r) ? (kc(v, e, r, !o, !1).each((C) => {
20815
- Ac(e, C);
20814
+ return ok() && XL(o, f, r) ? (Ac(v, e, r, !o, !1).each((C) => {
20815
+ $c(e, C);
20816
20816
  }), !0) : !1;
20817
20817
  }, pae = (e, o, r) => kK(o, r).orThunk(() => pn(r.getClientRects()).bind((l) => rI(XF(e, cn.before(o)), l.left))).getOr(cn.before(o)), hae = (e, o, r) => RI(o, r).orThunk(() => pn(r.getClientRects()).bind((l) => rI(JF(e, cn.after(o)), l.left))).getOr(cn.after(o)), DK = (e, o) => {
20818
20818
  const r = o.getNode(e);
@@ -20820,11 +20820,11 @@ Options:${C}${r.join(C)}` : "";
20820
20820
  }, NK = (e, o, r) => {
20821
20821
  o.undoManager.transact(() => {
20822
20822
  const l = e ? Fc : Sl, f = OL(o, ut.fromDom(r), l);
20823
- Ac(o, f);
20823
+ $c(o, f);
20824
20824
  });
20825
20825
  }, v_ = (e, o, r) => {
20826
20826
  const l = DK(!!o, r), f = o === !1;
20827
- l.fold(() => Ac(e, r.toRange()), (v) => uf(f, e.getBody()).filter((C) => C.isEqual(r)).fold(() => Ac(e, r.toRange()), (C) => NK(o, e, v)));
20827
+ l.fold(() => $c(e, r.toRange()), (v) => uf(f, e.getBody()).filter((C) => C.isEqual(r)).fold(() => $c(e, r.toRange()), (C) => NK(o, e, v)));
20828
20828
  }, IK = (e, o, r, l) => {
20829
20829
  const f = e.selection.getRng(), v = cn.fromRangeStart(f), C = e.getBody();
20830
20830
  if (!o && Zm(l, v)) {
@@ -22058,7 +22058,7 @@ Input object: ` + wf(e.input), QI = (e, o) => S_(e, Xo(o, __)), y9 = le(nX), jA
22058
22058
  if (e.mode.isReadOnly())
22059
22059
  return;
22060
22060
  const r = () => e4(G9, e, o), l = () => e4(N_, e, o), f = pJ(e, o);
22061
- switch (Cc(e)) {
22061
+ switch (Sc(e)) {
22062
22062
  case "linebreak":
22063
22063
  f.fold(r, r, be);
22064
22064
  break;
@@ -23229,7 +23229,7 @@ Input object: ` + wf(e.input), QI = (e, o) => S_(e, Xo(o, __)), y9 = le(nX), jA
23229
23229
  const an = mn.range, On = an.startContainer.parentElement;
23230
23230
  !Me(an) && !eo(On) && Zn(), M(On) || Qt();
23231
23231
  }), HQ(e), zQ(e), bH(e);
23232
- }, Ze = (eo) => $d(eo) || wc(eo) || Qu(eo), Me = (eo) => Ze(eo.startContainer) || Ze(eo.endContainer), et = (eo) => {
23232
+ }, Ze = (eo) => $d(eo) || xc(eo) || Qu(eo), Me = (eo) => Ze(eo.startContainer) || Ze(eo.endContainer), et = (eo) => {
23233
23233
  const mn = e.schema.getVoidElements(), an = r.createRng(), On = eo.startContainer, bo = eo.startOffset, Ho = eo.endContainer, Is = eo.endOffset;
23234
23234
  return _o(mn, On.nodeName.toLowerCase()) ? bo === 0 ? an.setStartBefore(On) : an.setStartAfter(On) : an.setStart(On, bo), _o(mn, Ho.nodeName.toLowerCase()) ? Is === 0 ? an.setEndBefore(Ho) : an.setEndAfter(Ho) : an.setEnd(Ho, Is), an;
23235
23235
  }, mt = (eo, mn) => {
@@ -24043,7 +24043,7 @@ Input object: ` + wf(e.input), QI = (e, o) => S_(e, Xo(o, __)), y9 = le(nX), jA
24043
24043
  let o = CO(e) + "<html><head>";
24044
24044
  lu(e) !== e.documentBaseUrl && (o += '<base href="' + e.documentBaseURI.getURI() + '" />'), o += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
24045
24045
  const r = vw(e), l = IT(e), f = e.translate(Tw(e));
24046
- return xc(e) && (o += '<meta http-equiv="Content-Security-Policy" content="' + xc(e) + '" />'), o += `</head><body id="${r}" class="mce-content-body ${l}" data-id="${e.id}" aria-label="${f}"><br></body></html>`, o;
24046
+ return Cc(e) && (o += '<meta http-equiv="Content-Security-Policy" content="' + Cc(e) + '" />'), o += `</head><body id="${r}" class="mce-content-body ${l}" data-id="${e.id}" aria-label="${f}"><br></body></html>`, o;
24047
24047
  }, u1 = (e, o) => {
24048
24048
  const r = ft.browser.isFirefox() ? Tw(e) : "Rich Text Area", l = e.translate(r), f = xa(ut.fromDom(e.getElement()), "tabindex").bind(Da), v = S4(e.id, l, xO(e), f).dom;
24049
24049
  v.onload = () => {
@@ -26307,7 +26307,7 @@ tinymce.IconManager.add("default", {
26307
26307
  }, Es = (t, a) => t.dom === a.dom, tl = (t, a) => {
26308
26308
  const c = t.dom, m = a.dom;
26309
26309
  return c === m ? !1 : c.contains(m);
26310
- }, _r = (t) => At.fromDom(t.dom.ownerDocument), uc = (t) => Da(t) ? t : _r(t), $i = (t) => At.fromDom(uc(t).dom.documentElement), xl = (t) => At.fromDom(uc(t).dom.defaultView), Ea = (t) => D.from(t.dom.parentNode).map(At.fromDom), dc = (t) => Ea(t), Bi = (t) => D.from(t.dom.parentElement).map(At.fromDom), fc = (t, a) => {
26310
+ }, _r = (t) => At.fromDom(t.dom.ownerDocument), dc = (t) => Da(t) ? t : _r(t), $i = (t) => At.fromDom(dc(t).dom.documentElement), xl = (t) => At.fromDom(dc(t).dom.defaultView), Ea = (t) => D.from(t.dom.parentNode).map(At.fromDom), fc = (t) => Ea(t), Bi = (t) => D.from(t.dom.parentElement).map(At.fromDom), mc = (t, a) => {
26311
26311
  const c = j(a) ? a : me;
26312
26312
  let m = t.dom;
26313
26313
  const b = [];
@@ -26318,7 +26318,7 @@ tinymce.IconManager.add("default", {
26318
26318
  m = S;
26319
26319
  }
26320
26320
  return b;
26321
- }, ql = (t) => D.from(t.dom.offsetParent).map(At.fromDom), mc = (t) => D.from(t.dom.nextSibling).map(At.fromDom), ea = (t) => Fe(t.dom.childNodes, At.fromDom), nl = (t, a) => {
26321
+ }, ql = (t) => D.from(t.dom.offsetParent).map(At.fromDom), gc = (t) => D.from(t.dom.nextSibling).map(At.fromDom), ea = (t) => Fe(t.dom.childNodes, At.fromDom), nl = (t, a) => {
26322
26322
  const c = t.dom.childNodes;
26323
26323
  return D.from(c[a]).map(At.fromDom);
26324
26324
  }, Yl = (t) => nl(t, 0), Kl = (t, a) => ({
@@ -26327,7 +26327,7 @@ tinymce.IconManager.add("default", {
26327
26327
  }), Qc = (t, a) => {
26328
26328
  const c = ea(t);
26329
26329
  return c.length > 0 && a < c.length ? Kl(c[a], 0) : Kl(t, a);
26330
- }, Fi = (t) => _a(t) && B(t.dom.host), ia = (t) => At.fromDom(t.dom.getRootNode()), ga = (t) => Fi(t) ? t : At.fromDom(uc(t).dom.body), xi = (t) => Mc(t).isSome(), Mc = (t) => {
26330
+ }, Fi = (t) => _a(t) && B(t.dom.host), ia = (t) => At.fromDom(t.dom.getRootNode()), ga = (t) => Fi(t) ? t : At.fromDom(dc(t).dom.body), xi = (t) => Mc(t).isSome(), Mc = (t) => {
26331
26331
  const a = ia(t);
26332
26332
  return Fi(a) ? D.some(a) : D.none();
26333
26333
  }, Rc = (t) => At.fromDom(t.dom.host), Xa = (t) => {
@@ -26637,7 +26637,7 @@ tinymce.IconManager.add("default", {
26637
26637
  ], hd = {
26638
26638
  browsers: Y(Tu),
26639
26639
  oses: Y(ig)
26640
- }, If = "Edge", Mf = "Chromium", Ud = "IE", jd = "Opera", gc = "Firefox", sl = "Safari", _1 = () => ju({
26640
+ }, If = "Edge", Mf = "Chromium", Ud = "IE", jd = "Opera", pc = "Firefox", sl = "Safari", _1 = () => ju({
26641
26641
  current: void 0,
26642
26642
  version: ta.unknown()
26643
26643
  }), ju = (t) => {
@@ -26649,7 +26649,7 @@ tinymce.IconManager.add("default", {
26649
26649
  isChromium: m(Mf),
26650
26650
  isIE: m(Ud),
26651
26651
  isOpera: m(jd),
26652
- isFirefox: m(gc),
26652
+ isFirefox: m(pc),
26653
26653
  isSafari: m(sl)
26654
26654
  };
26655
26655
  }, rp = {
@@ -26659,7 +26659,7 @@ tinymce.IconManager.add("default", {
26659
26659
  chromium: Y(Mf),
26660
26660
  ie: Y(Ud),
26661
26661
  opera: Y(jd),
26662
- firefox: Y(gc),
26662
+ firefox: Y(pc),
26663
26663
  safari: Y(sl)
26664
26664
  }, Rf = "Windows", ap = "iOS", lg = "Android", Pf = "Linux", cg = "macOS", ip = "Solaris", Wd = "FreeBSD", lp = "ChromeOS", ut = () => Bf({
26665
26665
  current: void 0,
@@ -26721,7 +26721,7 @@ tinymce.IconManager.add("default", {
26721
26721
  m.dom.insertBefore(a.dom, t.dom);
26722
26722
  });
26723
26723
  }, yd = (t, a) => {
26724
- mc(t).fold(() => {
26724
+ gc(t).fold(() => {
26725
26725
  Ea(t).each((b) => {
26726
26726
  Bc(b, a);
26727
26727
  });
@@ -26922,7 +26922,7 @@ tinymce.IconManager.add("default", {
26922
26922
  }, Rl = (t, a) => t.stype === Fa.Error ? {
26923
26923
  stype: Fa.Error,
26924
26924
  serror: a(t.serror)
26925
- } : t, pc = (t, a) => t.stype === Fa.Value ? {
26925
+ } : t, hc = (t, a) => t.stype === Fa.Value ? {
26926
26926
  stype: Fa.Value,
26927
26927
  svalue: a(t.svalue)
26928
26928
  } : t, Ci = (t, a) => t.stype === Fa.Value ? a(t.svalue) : t, Sl = (t, a) => t.stype === Fa.Error ? a(t.serror) : t, Fc = (t) => ({
@@ -26939,7 +26939,7 @@ tinymce.IconManager.add("default", {
26939
26939
  serror: fp,
26940
26940
  bind: Ci,
26941
26941
  bindError: Sl,
26942
- map: pc,
26942
+ map: hc,
26943
26943
  mapError: Rl,
26944
26944
  fold: qd
26945
26945
  }, Yd = (t, a, c, m) => ({
@@ -27000,7 +27000,7 @@ tinymce.IconManager.add("default", {
27000
27000
  }, Ao = (t, a) => Za.serror([{
27001
27001
  path: t,
27002
27002
  getErrorInfo: a
27003
- }]), ca = (t, a, c) => Ao(t, () => 'Could not find valid *required* value for "' + a + '" in ' + ys(c)), Aa = (t, a) => Ao(t, () => 'Choice schema did not contain choice key: "' + a + '"'), Vc = (t, a, c) => Ao(t, () => 'The chosen schema: "' + c + '" did not exist in branches: ' + ys(a)), hc = (t, a) => Ao(t, () => "There are unsupported fields: [" + a.join(", ") + "] specified"), Tb = (t, a) => Ao(t, Y(a)), vm = (t) => {
27003
+ }]), ca = (t, a, c) => Ao(t, () => 'Could not find valid *required* value for "' + a + '" in ' + ys(c)), Aa = (t, a) => Ao(t, () => 'Choice schema did not contain choice key: "' + a + '"'), Vc = (t, a, c) => Ao(t, () => 'The chosen schema: "' + c + '" did not exist in branches: ' + ys(a)), vc = (t, a) => Ao(t, () => "There are unsupported fields: [" + a.join(", ") + "] specified"), Tb = (t, a) => Ao(t, Y(a)), vm = (t) => {
27004
27004
  const a = (m, b) => Za.bindError(t(b), (S) => Tb(m, S)), c = Y("val");
27005
27005
  return {
27006
27006
  extract: a,
@@ -27054,7 +27054,7 @@ tinymce.IconManager.add("default", {
27054
27054
  return {
27055
27055
  extract: (b, S) => {
27056
27056
  const E = O(S) ? [] : kb(S), R = bt(E, (V) => !rr(c, V));
27057
- return R.length === 0 ? a.extract(b, S) : hc(b, R);
27057
+ return R.length === 0 ? a.extract(b, S) : vc(b, R);
27058
27058
  },
27059
27059
  toString: a.toString
27060
27060
  };
@@ -27144,7 +27144,7 @@ tinymce.IconManager.add("default", {
27144
27144
  ` + fs(t.errors).join(`
27145
27145
  `) + `
27146
27146
 
27147
- Input object: ` + ys(t.input), Si = (t, a) => ym(t, Ht(a, es)), hp = (t, a) => By(t, a), _i = Yd, or = Zu, R1 = (t) => mh((a) => Ge(t, a) ? ps.value(a) : ps.error(`Unsupported value: "${a}", choose one of "${t.join(", ")}".`)), wn = (t) => _i(t, t, Lc(), Gu()), sr = (t, a) => _i(t, t, Lc(), a), $b = (t) => sr(t, bm), ei = (t) => sr(t, co), Ou = (t, a) => _i(t, t, Lc(), R1(a)), Ui = (t) => sr(t, Ab), Sx = (t, a) => _i(t, t, gp(), vm((c) => Za.serror("The field: " + t + " is forbidden. " + a))), Jd = (t, a) => _i(t, t, Lc(), es(a)), Ly = (t, a) => _i(t, t, Lc(), M1(a)), vc = (t, a) => _i(t, t, Lc(), $u(a)), ir = (t) => _i(t, t, gp(), Gu()), Qd = (t, a) => _i(t, t, gp(), a), gh = (t) => Qd(t, bm), La = (t) => Qd(t, co), ph = (t, a) => Qd(t, R1(a)), zf = (t) => Qd(t, Ab), Vy = (t, a) => Qd(t, $u(a)), Ql = (t, a) => Qd(t, es(a)), nu = (t, a) => Qd(t, cl(a)), Ft = (t, a) => _i(t, t, Hf(a), Gu()), Hc = (t, a, c) => _i(t, t, Hf(a), c), Ei = (t, a) => Hc(t, a, bm), ha = (t, a) => Hc(t, a, co), ou = (t, a, c) => Hc(t, a, R1(c)), Va = (t, a) => Hc(t, a, tu), Fr = (t, a) => Hc(t, a, Ab), xg = (t, a) => Hc(t, a, qu), L = (t, a, c) => Hc(t, a, $u(c)), q = (t, a, c) => Hc(t, a, es(c)), Be = { generate: (t) => {
27147
+ Input object: ` + ys(t.input), Si = (t, a) => ym(t, Ht(a, es)), hp = (t, a) => By(t, a), _i = Yd, or = Zu, R1 = (t) => mh((a) => Ge(t, a) ? ps.value(a) : ps.error(`Unsupported value: "${a}", choose one of "${t.join(", ")}".`)), wn = (t) => _i(t, t, Lc(), Gu()), sr = (t, a) => _i(t, t, Lc(), a), $b = (t) => sr(t, bm), ei = (t) => sr(t, co), Ou = (t, a) => _i(t, t, Lc(), R1(a)), Ui = (t) => sr(t, Ab), Sx = (t, a) => _i(t, t, gp(), vm((c) => Za.serror("The field: " + t + " is forbidden. " + a))), Jd = (t, a) => _i(t, t, Lc(), es(a)), Ly = (t, a) => _i(t, t, Lc(), M1(a)), bc = (t, a) => _i(t, t, Lc(), $u(a)), ir = (t) => _i(t, t, gp(), Gu()), Qd = (t, a) => _i(t, t, gp(), a), gh = (t) => Qd(t, bm), La = (t) => Qd(t, co), ph = (t, a) => Qd(t, R1(a)), zf = (t) => Qd(t, Ab), Vy = (t, a) => Qd(t, $u(a)), Ql = (t, a) => Qd(t, es(a)), nu = (t, a) => Qd(t, cl(a)), Ft = (t, a) => _i(t, t, Hf(a), Gu()), Hc = (t, a, c) => _i(t, t, Hf(a), c), Ei = (t, a) => Hc(t, a, bm), ha = (t, a) => Hc(t, a, co), ou = (t, a, c) => Hc(t, a, R1(c)), Va = (t, a) => Hc(t, a, tu), Fr = (t, a) => Hc(t, a, Ab), xg = (t, a) => Hc(t, a, qu), L = (t, a, c) => Hc(t, a, $u(c)), q = (t, a, c) => Hc(t, a, es(c)), Be = { generate: (t) => {
27148
27148
  if (!T(t))
27149
27149
  throw new Error("cases must be an array");
27150
27150
  if (t.length === 0)
@@ -27243,7 +27243,7 @@ Required: ` + a.join(", "));
27243
27243
  }, ls = (t, a) => bn(t, a), hs = (t, a) => jn(t, a), Tr = (t) => To(t), Sr = (t, a) => t.length === 0 ? ps.value(a) : ps.value(oa(a, Sd.apply(void 0, t))), va = (t) => ps.error(de(t)), ec = (t, a) => {
27244
27244
  const c = yt(t);
27245
27245
  return c.errors.length > 0 ? va(c.errors) : Sr(c.values, a);
27246
- }, Td = (t) => j(t) ? t : me, bc = (t, a, c) => {
27246
+ }, Td = (t) => j(t) ? t : me, yc = (t, a, c) => {
27247
27247
  let m = t.dom;
27248
27248
  const b = Td(c);
27249
27249
  for (; m.parentNode; ) {
@@ -27257,7 +27257,7 @@ Required: ` + a.join(", "));
27257
27257
  return D.none();
27258
27258
  }, Yu = (t, a, c) => {
27259
27259
  const m = a(t), b = Td(c);
27260
- return m.orThunk(() => b(t) ? D.none() : bc(t, a, b));
27260
+ return m.orThunk(() => b(t) ? D.none() : yc(t, a, b));
27261
27261
  }, vp = (t, a) => Es(t.element, a.event.target), bp = {
27262
27262
  can: be,
27263
27263
  abort: me,
@@ -27284,7 +27284,7 @@ Required: ` + a.join(", "));
27284
27284
  });
27285
27285
  }
27286
27286
  };
27287
- }, Ni = Y, Ku = Ni("touchstart"), Ks = Ni("touchmove"), Hr = Ni("touchend"), yc = Ni("touchcancel"), Ga = Ni("mousedown"), B1 = Ni("mousemove"), vh = Ni("mouseout"), wm = Ni("mouseup"), zc = Ni("mouseover"), ef = Ni("focusin"), BE = Ni("focusout"), Pl = Ni("keydown"), Hy = Ni("keyup"), xm = Ni("input"), Cg = Ni("change"), Cm = Ni("click"), P$ = Ni("transitioncancel"), F1 = Ni("transitionend"), B$ = Ni("transitionstart"), xp = Ni("selectstart"), ti = (t) => Y("alloy." + t), FE = { tap: ti("tap") }, Sm = ti("focus"), Sg = ti("blur.post"), bh = ti("paste.post"), tf = ti("receive"), nc = ti("execute"), yh = ti("focus.item"), Ob = FE.tap, JR = ti("longpress"), _m = ti("sandbox.close"), _l = ti("typeahead.cancel"), Db = ti("system.init"), F$ = ti("system.touchmove"), L$ = ti("system.touchend"), _x = ti("system.scroll"), L1 = ti("system.resize"), nf = ti("system.attached"), of = ti("system.detached"), Cp = ti("system.dismissRequested"), wh = ti("system.repositionRequested"), Nb = ti("focusmanager.shifted"), V1 = ti("slotcontainer.visibility"), _g = ti("system.external.element.scroll"), Sp = ti("change.tab"), Ib = ti("dismiss.tab"), zy = ti("highlight"), Uy = ti("dehighlight"), Ps = (t, a) => {
27287
+ }, Ni = Y, Ku = Ni("touchstart"), Ks = Ni("touchmove"), Hr = Ni("touchend"), wc = Ni("touchcancel"), Ga = Ni("mousedown"), B1 = Ni("mousemove"), vh = Ni("mouseout"), wm = Ni("mouseup"), zc = Ni("mouseover"), ef = Ni("focusin"), BE = Ni("focusout"), Pl = Ni("keydown"), Hy = Ni("keyup"), xm = Ni("input"), Cg = Ni("change"), Cm = Ni("click"), P$ = Ni("transitioncancel"), F1 = Ni("transitionend"), B$ = Ni("transitionstart"), xp = Ni("selectstart"), ti = (t) => Y("alloy." + t), FE = { tap: ti("tap") }, Sm = ti("focus"), Sg = ti("blur.post"), bh = ti("paste.post"), tf = ti("receive"), nc = ti("execute"), yh = ti("focus.item"), Ob = FE.tap, JR = ti("longpress"), _m = ti("sandbox.close"), _l = ti("typeahead.cancel"), Db = ti("system.init"), F$ = ti("system.touchmove"), L$ = ti("system.touchend"), _x = ti("system.scroll"), L1 = ti("system.resize"), nf = ti("system.attached"), of = ti("system.detached"), Cp = ti("system.dismissRequested"), wh = ti("system.repositionRequested"), Nb = ti("focusmanager.shifted"), V1 = ti("slotcontainer.visibility"), _g = ti("system.external.element.scroll"), Sp = ti("change.tab"), Ib = ti("dismiss.tab"), zy = ti("highlight"), Uy = ti("dehighlight"), Ps = (t, a) => {
27288
27288
  Wy(t, t.element, a, {});
27289
27289
  }, Vo = (t, a, c) => {
27290
27290
  Wy(t, t.element, a, c);
@@ -27839,7 +27839,7 @@ Required: ` + a.join(", "));
27839
27839
  const Wf = Y(es(kh())), $d = Jd("initSize", [
27840
27840
  wn("numColumns"),
27841
27841
  wn("numRows")
27842
- ]), Bx = () => sr("markers", Wf()), Zb = () => Jd("markers", [wn("backgroundMenu")].concat(Ip()).concat(kh())), Zf = (t) => Jd("markers", Fe(t, wn)), K1 = (t, a, c) => (ow(), _i(a, a, c, mh((m) => ps.value((...b) => m.apply(void 0, b))))), Js = (t) => K1("onHandler", t, Hf(P)), wc = (t) => K1("onKeyboardHandler", t, Hf(D.none)), Qu = (t) => K1("onHandler", t, Lc()), Fx = (t) => K1("onKeyboardHandler", t, Lc()), ua = (t, a) => or(t, Y(a)), Lx = (t) => or(t, ve), Mp = Y($d);
27842
+ ]), Bx = () => sr("markers", Wf()), Zb = () => Jd("markers", [wn("backgroundMenu")].concat(Ip()).concat(kh())), Zf = (t) => Jd("markers", Fe(t, wn)), K1 = (t, a, c) => (ow(), _i(a, a, c, mh((m) => ps.value((...b) => m.apply(void 0, b))))), Js = (t) => K1("onHandler", t, Hf(P)), xc = (t) => K1("onKeyboardHandler", t, Hf(D.none)), Qu = (t) => K1("onHandler", t, Lc()), Fx = (t) => K1("onKeyboardHandler", t, Lc()), ua = (t, a) => or(t, Y(a)), Lx = (t) => or(t, ve), Mp = Y($d);
27843
27843
  var Ah = [
27844
27844
  Ql("contextual", [
27845
27845
  ei("fadeInClass"),
@@ -28464,17 +28464,17 @@ Receiver: ` + au(a.element), G, S.data);
28464
28464
  styles: a.useFixed() ? {} : { position: "relative" }
28465
28465
  })
28466
28466
  });
28467
- const xc = (t, a = !1) => t.dom.focus({ preventScroll: a }), Dm = (t) => t.dom.blur(), Zi = (t) => {
28467
+ const Cc = (t, a = !1) => t.dom.focus({ preventScroll: a }), Dm = (t) => t.dom.blur(), Zi = (t) => {
28468
28468
  const a = ia(t).dom;
28469
28469
  return t.dom === a.activeElement;
28470
- }, Dd = (t = Lf()) => D.from(t.dom.activeElement).map(At.fromDom), Cc = (t) => Dd(ia(t)).filter((a) => t.dom.contains(a.dom)), rC = (t, a) => {
28470
+ }, Dd = (t = Lf()) => D.from(t.dom.activeElement).map(At.fromDom), Sc = (t) => Dd(ia(t)).filter((a) => t.dom.contains(a.dom)), rC = (t, a) => {
28471
28471
  const c = ia(a), m = Dd(c).bind((S) => {
28472
28472
  const E = (R) => Es(S, R);
28473
28473
  return E(a) ? D.some(a) : Gx(a, E);
28474
28474
  }), b = t(a);
28475
28475
  return m.each((S) => {
28476
28476
  Dd(c).filter((E) => Es(E, S)).fold(() => {
28477
- xc(S);
28477
+ Cc(S);
28478
28478
  }, P);
28479
28479
  }), b;
28480
28480
  }, bw = Be.generate([
@@ -29035,7 +29035,7 @@ Receiver: ` + au(a.element), G, S.data);
29035
29035
  }
29036
29036
  });
29037
29037
  lv.ltr, lv.rtl;
29038
- const tk = (t, a, c) => bt(fc(t, c), a), Yc = (t, a) => Pi(a, t), cP = (t, a, c, m) => {
29038
+ const tk = (t, a, c) => bt(mc(t, c), a), Yc = (t, a) => Pi(a, t), cP = (t, a, c, m) => {
29039
29039
  const S = _r(t).dom.createRange();
29040
29040
  return S.setStart(t.dom, a), S.setEnd(c.dom, m), S;
29041
29041
  }, WO = (t, a, c, m) => {
@@ -29168,7 +29168,7 @@ Receiver: ` + au(a.element), G, S.data);
29168
29168
  makeshift: MO
29169
29169
  });
29170
29170
  const Iw = [
29171
- vc("classes", co),
29171
+ bc("classes", co),
29172
29172
  ou("mode", "all", [
29173
29173
  "all",
29174
29174
  "layout",
@@ -29968,7 +29968,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
29968
29968
  }, Io = (t) => (a) => {
29969
29969
  const c = a.raw;
29970
29970
  return Ge(t, c.which);
29971
- }, qr = (t) => (a) => _e(t, (c) => c(a)), Sc = (t) => t.raw.shiftKey === !0, Zp = (t) => t.raw.ctrlKey === !0, ff = Ce(Sc), zs = (t, a) => ({
29971
+ }, qr = (t) => (a) => _e(t, (c) => c(a)), _c = (t) => t.raw.shiftKey === !0, Zp = (t) => t.raw.ctrlKey === !0, ff = Ce(_c), zs = (t, a) => ({
29972
29972
  matches: t,
29973
29973
  classification: a
29974
29974
  }), Or = (t, a) => te(t, (m) => m.matches(a)).map((m) => m.classification), zl = (t, a, c) => {
@@ -29977,7 +29977,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
29977
29977
  newFocus: c
29978
29978
  });
29979
29979
  }, qi = () => {
29980
- const t = (c) => Cc(c.element);
29980
+ const t = (c) => Sc(c.element);
29981
29981
  return {
29982
29982
  get: t,
29983
29983
  set: (c, m) => {
@@ -30048,7 +30048,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30048
30048
  }
30049
30049
  };
30050
30050
  return V;
30051
- }, _c = (t) => {
30051
+ }, Ec = (t) => {
30052
30052
  const a = [
30053
30053
  ir("onEscape"),
30054
30054
  ir("onEnter"),
@@ -30075,9 +30075,9 @@ Components: ` + JSON.stringify(a.components, null, 2));
30075
30075
  }, K = (at, Dt, _t) => {
30076
30076
  const tn = _t.cyclic ? xr : Cr;
30077
30077
  return V(at, Dt, _t, tn);
30078
- }, re = (at) => dc(at).bind(Yl).exists((Dt) => Es(Dt, at)), we = (at, Dt, _t) => b(at, _t).filter((tn) => !_t.useTabstopAt(tn)).bind((tn) => (re(tn) ? G : K)(at, Dt, _t)), De = (at, Dt, _t) => _t.onEnter.bind((tn) => tn(at, Dt)), Ye = (at, Dt, _t) => _t.onEscape.bind((tn) => tn(at, Dt)), Je = Y([
30078
+ }, re = (at) => fc(at).bind(Yl).exists((Dt) => Es(Dt, at)), we = (at, Dt, _t) => b(at, _t).filter((tn) => !_t.useTabstopAt(tn)).bind((tn) => (re(tn) ? G : K)(at, Dt, _t)), De = (at, Dt, _t) => _t.onEnter.bind((tn) => tn(at, Dt)), Ye = (at, Dt, _t) => _t.onEscape.bind((tn) => tn(at, Dt)), Je = Y([
30079
30079
  zs(qr([
30080
- Sc,
30080
+ _c,
30081
30081
  Io(Wt)
30082
30082
  ]), G),
30083
30083
  zs(Io(Wt), K),
@@ -30091,7 +30091,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30091
30091
  ]);
30092
30092
  return mf(a, kd.init, Je, Tt, () => D.some(E));
30093
30093
  };
30094
- var rS = _c(or("cyclic", me)), T0 = _c(or("cyclic", be));
30094
+ var rS = Ec(or("cyclic", me)), T0 = Ec(or("cyclic", be));
30095
30095
  const Fm = (t, a, c) => (jy(t, c, nc()), D.some(!0)), Yi = (t, a, c) => wv(c) && Io(Un)(a.event) ? D.none() : Fm(t, a, c), Fg = (t, a) => D.some(!0), hD = [
30096
30096
  Ft("execute", Yi),
30097
30097
  Ft("useSpace", !1),
@@ -30167,7 +30167,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30167
30167
  }), _P = (t, a, c, m) => CP(t, a, c, m, 1), vW = (t, a, c, m) => CP(t, a, c, m, -1), $re = (t, a, c, m) => SP(t, a, c, m, -1), Ore = (t, a, c, m) => SP(t, a, c, m, 1), bW = [
30168
30168
  wn("selector"),
30169
30169
  Ft("execute", Yi),
30170
- wc("onEscape"),
30170
+ xc("onEscape"),
30171
30171
  Ft("captureTab", !1),
30172
30172
  Mp()
30173
30173
  ], yW = (t, a, c) => {
@@ -30180,7 +30180,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30180
30180
  zs(Io(ko), yP($P)),
30181
30181
  zs(Io(Yo), wP(OP)),
30182
30182
  zs(qr([
30183
- Sc,
30183
+ _c,
30184
30184
  Io(Wt)
30185
30185
  ]), EP),
30186
30186
  zs(qr([
@@ -30209,7 +30209,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30209
30209
  wn("selector"),
30210
30210
  Ft("getInitial", D.none),
30211
30211
  Ft("execute", Yi),
30212
- wc("onEscape"),
30212
+ xc("onEscape"),
30213
30213
  Ft("executeOnMove", !1),
30214
30214
  Ft("allowVertical", !0),
30215
30215
  Ft("allowHorizontal", !0),
@@ -30262,7 +30262,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30262
30262
  }).each((b) => {
30263
30263
  a.focusManager.set(t, b);
30264
30264
  });
30265
- }, ZP = (t, a, c) => Cc(t.element).bind((m) => c.execute(t, a, m)), $W = (t, a) => Fe(t, (c) => Yc(c, a.selectors.cell)), Jk = (t, a) => (c, m, b) => {
30265
+ }, ZP = (t, a, c) => Sc(t.element).bind((m) => c.execute(t, a, m)), $W = (t, a) => Fe(t, (c) => Yc(c, a.selectors.cell)), Jk = (t, a) => (c, m, b) => {
30266
30266
  const S = b.cycles ? t : a;
30267
30267
  return af(m, b.selectors.row).bind((E) => {
30268
30268
  const R = Yc(E, b.selectors.cell);
@@ -30294,7 +30294,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30294
30294
  zs(Io(ko), t2(e8)),
30295
30295
  zs(Io(Yo), t2(t8)),
30296
30296
  zs(qr([
30297
- Sc,
30297
+ _c,
30298
30298
  Io(Wt)
30299
30299
  ]), n8),
30300
30300
  zs(qr([
@@ -30306,16 +30306,16 @@ Components: ` + JSON.stringify(a.components, null, 2));
30306
30306
  ]), s8 = Y([zs(Io(Un), Fg)]);
30307
30307
  var r8 = mf(JP, kd.init, _v, s8, () => D.some(NW));
30308
30308
  const a8 = [
30309
- wc("onSpace"),
30310
- wc("onEnter"),
30311
- wc("onShiftEnter"),
30312
- wc("onLeft"),
30313
- wc("onRight"),
30314
- wc("onTab"),
30315
- wc("onShiftTab"),
30316
- wc("onUp"),
30317
- wc("onDown"),
30318
- wc("onEscape"),
30309
+ xc("onSpace"),
30310
+ xc("onEnter"),
30311
+ xc("onShiftEnter"),
30312
+ xc("onLeft"),
30313
+ xc("onRight"),
30314
+ xc("onTab"),
30315
+ xc("onShiftTab"),
30316
+ xc("onUp"),
30317
+ xc("onDown"),
30318
+ xc("onEscape"),
30319
30319
  Ft("stopSpaceKeyup", !1),
30320
30320
  ir("focusIn")
30321
30321
  ], IW = (t, a, c) => [
@@ -30325,11 +30325,11 @@ Components: ` + JSON.stringify(a.components, null, 2));
30325
30325
  Io(Dn)
30326
30326
  ]), c.onEnter),
30327
30327
  zs(qr([
30328
- Sc,
30328
+ _c,
30329
30329
  Io(Dn)
30330
30330
  ]), c.onShiftEnter),
30331
30331
  zs(qr([
30332
- Sc,
30332
+ _c,
30333
30333
  Io(Wt)
30334
30334
  ]), c.onShiftTab),
30335
30335
  zs(qr([
@@ -30445,7 +30445,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30445
30445
  }
30446
30446
  };
30447
30447
  }, $D = (t, a) => {
30448
- a.ignore || (xc(t.element), a.onFocus(t));
30448
+ a.ignore || (Cc(t.element), a.onFocus(t));
30449
30449
  };
30450
30450
  var m8 = /* @__PURE__ */ Object.freeze({
30451
30451
  __proto__: null,
@@ -30571,7 +30571,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30571
30571
  r2()
30572
30572
  ]));
30573
30573
  }, ND = "alloy.item-hover", ID = "alloy.item-focus", b8 = "alloy.item-toggled", y8 = (t) => {
30574
- (Cc(t.element).isNone() || ts.isFocused(t)) && (ts.isFocused(t) || ts.focus(t), Vo(t, ND, { item: t }));
30574
+ (Sc(t.element).isNone() || ts.isFocused(t)) && (ts.isFocused(t) || ts.focus(t), Vo(t, ND, { item: t }));
30575
30575
  }, MD = (t) => {
30576
30576
  Vo(t, ID, { item: t });
30577
30577
  }, XW = (t, a) => {
@@ -31723,7 +31723,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
31723
31723
  case "children-normal":
31724
31724
  return [
31725
31725
  gn(ef(), (E, R) => {
31726
- Cc(E.element).each((V) => {
31726
+ Sc(E.element).each((V) => {
31727
31727
  pr(R.event.target, "[data-mce-tooltip]") && a.getTooltip().fold(() => {
31728
31728
  Ps(E, SS);
31729
31729
  }, (G) => {
@@ -31732,7 +31732,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
31732
31732
  });
31733
31733
  }),
31734
31734
  gn(Sg(), (E) => {
31735
- Cc(E.element).fold(() => {
31735
+ Sc(E.element).fold(() => {
31736
31736
  Ps(E, CS);
31737
31737
  }, P);
31738
31738
  }),
@@ -31754,7 +31754,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
31754
31754
  default:
31755
31755
  return [
31756
31756
  gn(ef(), (E, R) => {
31757
- Cc(E.element).each((V) => {
31757
+ Sc(E.element).each((V) => {
31758
31758
  pr(R.event.target, "[data-mce-tooltip]") && a.getTooltip().fold(() => {
31759
31759
  Ps(E, SS);
31760
31760
  }, (G) => {
@@ -31763,7 +31763,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
31763
31763
  });
31764
31764
  }),
31765
31765
  gn(Sg(), (E) => {
31766
- Cc(E.element).fold(() => {
31766
+ Sc(E.element).fold(() => {
31767
31767
  Ps(E, CS);
31768
31768
  }, P);
31769
31769
  })
@@ -32093,7 +32093,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
32093
32093
  enumerable: !0,
32094
32094
  value: !1
32095
32095
  }
32096
- })), _f = null, $c = null, Ef = !0, Tf = !0, Km = !1, X_ = !0, oh = !1, AM = !0, my = !1, $M = !1, zte = !1, P4 = !1, Nz = !1, Iz = !1, Wae = !0, Zae = !1;
32096
+ })), _f = null, Oc = null, Ef = !0, Tf = !0, Km = !1, X_ = !0, oh = !1, AM = !0, my = !1, $M = !1, zte = !1, P4 = !1, Nz = !1, Iz = !1, Wae = !0, Zae = !1;
32097
32097
  const p1e = "user-content-";
32098
32098
  let Ute = !0, OM = !1, B4 = {}, F4 = null;
32099
32099
  const Gae = da({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -32114,7 +32114,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
32114
32114
  let rn = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
32115
32115
  if (!(V4 && V4 === rn)) {
32116
32116
  if ((!rn || typeof rn != "object") && (rn = {}), rn = Rv(rn), DM = // eslint-disable-next-line unicorn/prefer-includes
32117
- b1e.indexOf(rn.PARSER_MEDIA_TYPE) === -1 ? y1e : rn.PARSER_MEDIA_TYPE, dd = DM === "application/xhtml+xml" ? m5 : C3, ds = Vg(rn, "ALLOWED_TAGS") ? da({}, rn.ALLOWED_TAGS, dd) : Ur, Nr = Vg(rn, "ALLOWED_ATTR") ? da({}, rn.ALLOWED_ATTR, dd) : ud, Zte = Vg(rn, "ALLOWED_NAMESPACES") ? da({}, rn.ALLOWED_NAMESPACES, m5) : h1e, jte = Vg(rn, "ADD_URI_SAFE_ATTR") ? da(Rv(Kae), rn.ADD_URI_SAFE_ATTR, dd) : Kae, qae = Vg(rn, "ADD_DATA_URI_TAGS") ? da(Rv(Yae), rn.ADD_DATA_URI_TAGS, dd) : Yae, F4 = Vg(rn, "FORBID_CONTENTS") ? da({}, rn.FORBID_CONTENTS, dd) : Gae, _f = Vg(rn, "FORBID_TAGS") ? da({}, rn.FORBID_TAGS, dd) : {}, $c = Vg(rn, "FORBID_ATTR") ? da({}, rn.FORBID_ATTR, dd) : {}, B4 = Vg(rn, "USE_PROFILES") ? rn.USE_PROFILES : !1, Ef = rn.ALLOW_ARIA_ATTR !== !1, Tf = rn.ALLOW_DATA_ATTR !== !1, Km = rn.ALLOW_UNKNOWN_PROTOCOLS || !1, X_ = rn.ALLOW_SELF_CLOSE_IN_ATTR !== !1, oh = rn.SAFE_FOR_TEMPLATES || !1, AM = rn.SAFE_FOR_XML !== !1, my = rn.WHOLE_DOCUMENT || !1, P4 = rn.RETURN_DOM || !1, Nz = rn.RETURN_DOM_FRAGMENT || !1, Iz = rn.RETURN_TRUSTED_TYPE || !1, zte = rn.FORCE_BODY || !1, Wae = rn.SANITIZE_DOM !== !1, Zae = rn.SANITIZE_NAMED_PROPS || !1, Ute = rn.KEEP_CONTENT !== !1, OM = rn.IN_PLACE || !1, Zo = rn.ALLOWED_URI_REGEXP || tB, L4 = rn.NAMESPACE || gy, Pz = rn.MATHML_TEXT_INTEGRATION_POINTS || Pz, Bz = rn.HTML_INTEGRATION_POINTS || Bz, ja = rn.CUSTOM_ELEMENT_HANDLING || {}, rn.CUSTOM_ELEMENT_HANDLING && Xae(rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ja.tagNameCheck = rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck), rn.CUSTOM_ELEMENT_HANDLING && Xae(rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ja.attributeNameCheck = rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), rn.CUSTOM_ELEMENT_HANDLING && typeof rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ja.allowCustomizedBuiltInElements = rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), oh && (Tf = !1), Nz && (P4 = !0), B4 && (ds = da({}, Hg), Nr = [], B4.html === !0 && (da(ds, S3), da(Nr, E3)), B4.svg === !0 && (da(ds, AS), da(Nr, p5), da(Nr, T3)), B4.svgFilters === !0 && (da(ds, _3), da(Nr, p5), da(Nr, T3)), B4.mathMl === !0 && (da(ds, u2), da(Nr, Q8), da(Nr, T3))), rn.ADD_TAGS && (ds === Ur && (ds = Rv(ds)), da(ds, rn.ADD_TAGS, dd)), rn.ADD_ATTR && (Nr === ud && (Nr = Rv(Nr)), da(Nr, rn.ADD_ATTR, dd)), rn.ADD_URI_SAFE_ATTR && da(jte, rn.ADD_URI_SAFE_ATTR, dd), rn.FORBID_CONTENTS && (F4 === Gae && (F4 = Rv(F4)), da(F4, rn.FORBID_CONTENTS, dd)), Ute && (ds["#text"] = !0), my && da(ds, ["html", "head", "body"]), ds.table && (da(ds, ["tbody"]), delete _f.tbody), rn.TRUSTED_TYPES_POLICY) {
32117
+ b1e.indexOf(rn.PARSER_MEDIA_TYPE) === -1 ? y1e : rn.PARSER_MEDIA_TYPE, dd = DM === "application/xhtml+xml" ? m5 : C3, ds = Vg(rn, "ALLOWED_TAGS") ? da({}, rn.ALLOWED_TAGS, dd) : Ur, Nr = Vg(rn, "ALLOWED_ATTR") ? da({}, rn.ALLOWED_ATTR, dd) : ud, Zte = Vg(rn, "ALLOWED_NAMESPACES") ? da({}, rn.ALLOWED_NAMESPACES, m5) : h1e, jte = Vg(rn, "ADD_URI_SAFE_ATTR") ? da(Rv(Kae), rn.ADD_URI_SAFE_ATTR, dd) : Kae, qae = Vg(rn, "ADD_DATA_URI_TAGS") ? da(Rv(Yae), rn.ADD_DATA_URI_TAGS, dd) : Yae, F4 = Vg(rn, "FORBID_CONTENTS") ? da({}, rn.FORBID_CONTENTS, dd) : Gae, _f = Vg(rn, "FORBID_TAGS") ? da({}, rn.FORBID_TAGS, dd) : {}, Oc = Vg(rn, "FORBID_ATTR") ? da({}, rn.FORBID_ATTR, dd) : {}, B4 = Vg(rn, "USE_PROFILES") ? rn.USE_PROFILES : !1, Ef = rn.ALLOW_ARIA_ATTR !== !1, Tf = rn.ALLOW_DATA_ATTR !== !1, Km = rn.ALLOW_UNKNOWN_PROTOCOLS || !1, X_ = rn.ALLOW_SELF_CLOSE_IN_ATTR !== !1, oh = rn.SAFE_FOR_TEMPLATES || !1, AM = rn.SAFE_FOR_XML !== !1, my = rn.WHOLE_DOCUMENT || !1, P4 = rn.RETURN_DOM || !1, Nz = rn.RETURN_DOM_FRAGMENT || !1, Iz = rn.RETURN_TRUSTED_TYPE || !1, zte = rn.FORCE_BODY || !1, Wae = rn.SANITIZE_DOM !== !1, Zae = rn.SANITIZE_NAMED_PROPS || !1, Ute = rn.KEEP_CONTENT !== !1, OM = rn.IN_PLACE || !1, Zo = rn.ALLOWED_URI_REGEXP || tB, L4 = rn.NAMESPACE || gy, Pz = rn.MATHML_TEXT_INTEGRATION_POINTS || Pz, Bz = rn.HTML_INTEGRATION_POINTS || Bz, ja = rn.CUSTOM_ELEMENT_HANDLING || {}, rn.CUSTOM_ELEMENT_HANDLING && Xae(rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ja.tagNameCheck = rn.CUSTOM_ELEMENT_HANDLING.tagNameCheck), rn.CUSTOM_ELEMENT_HANDLING && Xae(rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ja.attributeNameCheck = rn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), rn.CUSTOM_ELEMENT_HANDLING && typeof rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ja.allowCustomizedBuiltInElements = rn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), oh && (Tf = !1), Nz && (P4 = !0), B4 && (ds = da({}, Hg), Nr = [], B4.html === !0 && (da(ds, S3), da(Nr, E3)), B4.svg === !0 && (da(ds, AS), da(Nr, p5), da(Nr, T3)), B4.svgFilters === !0 && (da(ds, _3), da(Nr, p5), da(Nr, T3)), B4.mathMl === !0 && (da(ds, u2), da(Nr, Q8), da(Nr, T3))), rn.ADD_TAGS && (ds === Ur && (ds = Rv(ds)), da(ds, rn.ADD_TAGS, dd)), rn.ADD_ATTR && (Nr === ud && (Nr = Rv(Nr)), da(Nr, rn.ADD_ATTR, dd)), rn.ADD_URI_SAFE_ATTR && da(jte, rn.ADD_URI_SAFE_ATTR, dd), rn.FORBID_CONTENTS && (F4 === Gae && (F4 = Rv(F4)), da(F4, rn.FORBID_CONTENTS, dd)), Ute && (ds["#text"] = !0), my && da(ds, ["html", "head", "body"]), ds.table && (da(ds, ["tbody"]), delete _f.tbody), rn.TRUSTED_TYPES_POLICY) {
32118
32118
  if (typeof rn.TRUSTED_TYPES_POLICY.createHTML != "function")
32119
32119
  throw TS('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
32120
32120
  if (typeof rn.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -32239,9 +32239,9 @@ Components: ` + JSON.stringify(a.components, null, 2));
32239
32239
  }, sie = function(rn, Go, Ls) {
32240
32240
  if (Wae && (Go === "id" || Go === "name") && (Ls in c || Ls in w1e))
32241
32241
  return !1;
32242
- if (!(Tf && !$c[Go] && fu($o, Go))) {
32242
+ if (!(Tf && !Oc[Go] && fu($o, Go))) {
32243
32243
  if (!(Ef && fu(Bn, Go))) {
32244
- if (!Nr[Go] || $c[Go]) {
32244
+ if (!Nr[Go] || Oc[Go]) {
32245
32245
  if (
32246
32246
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
32247
32247
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -33141,7 +33141,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
33141
33141
  contextformtogglebutton: UB
33142
33142
  }), tm = [
33143
33143
  R5,
33144
- vc("commands", eG),
33144
+ bc("commands", eG),
33145
33145
  Qd("launch", Si("type", {
33146
33146
  contextformbutton: FS,
33147
33147
  contextformtogglebutton: QZ
@@ -33180,7 +33180,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
33180
33180
  M1([
33181
33181
  La("name"),
33182
33182
  La("label"),
33183
- vc("items", co)
33183
+ bc("items", co)
33184
33184
  ])
33185
33185
  ]))
33186
33186
  ].concat(B0)), F0 = (t) => ({
@@ -33209,7 +33209,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
33209
33209
  ha("direction", "horizontal"),
33210
33210
  ha("align", "left"),
33211
33211
  ha("valign", "middle"),
33212
- vc("items", WB)
33212
+ bc("items", WB)
33213
33213
  ]), L0 = [
33214
33214
  Hm,
33215
33215
  t1,
@@ -33221,7 +33221,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
33221
33221
  ], j5 = es([
33222
33222
  ki,
33223
33223
  R5,
33224
- vc("items", WB),
33224
+ bc("items", WB),
33225
33225
  M0,
33226
33226
  H3
33227
33227
  ].concat(L0)), GB = (t) => $a("cardmenuitem", j5, t), j3 = es([
@@ -33758,7 +33758,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
33758
33758
  t.dispatch("ContextFormSlideBack");
33759
33759
  }, U0 = (t, a) => () => {
33760
33760
  t(), a();
33761
- }, Ec = (t) => j0(t, "NodeChange", (a) => {
33761
+ }, Tc = (t) => j0(t, "NodeChange", (a) => {
33762
33762
  a.setEnabled(t.selection.isEditable());
33763
33763
  }), lN = (t, a) => (c) => {
33764
33764
  const m = Ml(), b = () => {
@@ -33770,7 +33770,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
33770
33770
  t.off("init", b), m.clear();
33771
33771
  };
33772
33772
  }, ZS = (t, a) => (c) => {
33773
- const m = Ec(t)(c), b = lN(t, a)(c);
33773
+ const m = Tc(t)(c), b = lN(t, a)(c);
33774
33774
  return () => {
33775
33775
  m(), b();
33776
33776
  };
@@ -34017,7 +34017,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34017
34017
  const S = (E) => {
34018
34018
  E.name === a && (hN(b, E.name, E.color), N7(b, vN(t, c, E.color)));
34019
34019
  };
34020
- return t.on("TextColorChange", S), U0(Ec(t)(b), () => {
34020
+ return t.on("TextColorChange", S), U0(Tc(t)(b), () => {
34021
34021
  t.off("TextColorChange", S);
34022
34022
  });
34023
34023
  }
@@ -34026,7 +34026,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34026
34026
  t.ui.registry.addNestedMenuItem(a, {
34027
34027
  text: m,
34028
34028
  icon: a === "forecolor" ? "text-color" : "highlight-bg-color",
34029
- onSetup: (S) => (N7(S, vN(t, c, b.get())), hN(S, a, b.get()), Ec(t)(S)),
34029
+ onSetup: (S) => (N7(S, vN(t, c, b.get())), hN(S, a, b.get()), Tc(t)(S)),
34030
34030
  getSubmenuItems: () => [{
34031
34031
  type: "fancymenuitem",
34032
34032
  fancytype: "colorswatch",
@@ -34433,7 +34433,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34433
34433
  toPromise: t,
34434
34434
  get: a
34435
34435
  };
34436
- }, Tc = {
34436
+ }, kc = {
34437
34437
  nu: (t) => Pv(() => new Promise(t)),
34438
34438
  pure: (t) => Pv(() => Promise.resolve(t))
34439
34439
  }, xN = Y("sink"), CN = Y(uu({
@@ -34509,7 +34509,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34509
34509
  }, (K) => {
34510
34510
  Qs.cloak(m), Qs.open(m, K), S(m);
34511
34511
  }), m));
34512
- }, yq = (t, a, c, m, b, S, E) => (Qs.close(m), Tc.pure(m)), SN = (t, a, c, m, b, S) => {
34512
+ }, yq = (t, a, c, m, b, S, E) => (Qs.close(m), kc.pure(m)), SN = (t, a, c, m, b, S) => {
34513
34513
  const E = ii.getCoupled(c, "sandbox");
34514
34514
  return (Qs.isOpen(E) ? yq : X3)(t, a, c, E, m, b, S);
34515
34515
  }, wq = (t, a, c) => {
@@ -34571,7 +34571,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34571
34571
  wn("dom"),
34572
34572
  wn("fetch"),
34573
34573
  Js("onOpen"),
34574
- wc("onExecute"),
34574
+ xc("onExecute"),
34575
34575
  Ft("getHotspot", D.some),
34576
34576
  Ft("getAnchorOverrides", Y({})),
34577
34577
  Bp(),
@@ -35126,7 +35126,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35126
35126
  },
35127
35127
  triggerFocus: (at, Dt) => {
35128
35128
  $h(at).fold(() => {
35129
- xc(at);
35129
+ Cc(at);
35130
35130
  }, (_t) => {
35131
35131
  Px(Sm(), at, (tn) => (Pq(m, Sm(), {
35132
35132
  originator: Dt,
@@ -35353,7 +35353,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35353
35353
  });
35354
35354
  }), G = [
35355
35355
  gn(zc(), E((De, Ye, Je) => {
35356
- xc(Je, !0);
35356
+ Cc(Je, !0);
35357
35357
  })),
35358
35358
  gn(Cm(), V),
35359
35359
  gn(Ob(), V),
@@ -35481,7 +35481,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35481
35481
  Ra(E, m);
35482
35482
  }), S.onInvalid(t, m);
35483
35483
  });
35484
- }, hF = (t, a, c) => a.validator.fold(() => Tc.pure(ps.value(!0)), (m) => m.validate(t)), DN = (t, a, c) => (a.notify.each((m) => {
35484
+ }, hF = (t, a, c) => a.validator.fold(() => kc.pure(ps.value(!0)), (m) => m.validate(t)), DN = (t, a, c) => (a.notify.each((m) => {
35485
35485
  m.onValidate(t);
35486
35486
  }), hF(t, a).map((m) => t.getSystem().isConnected() ? m.fold((b) => (ON(t, a, c, b), ps.error(b)), (b) => ($N(t, a), ps.value(b))) : ps.error("No longer in system")));
35487
35487
  var Zq = /* @__PURE__ */ Object.freeze({
@@ -35526,7 +35526,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35526
35526
  extra: {
35527
35527
  validation: (t) => (a) => {
35528
35528
  const c = fo.getValue(a);
35529
- return Tc.pure(t(c));
35529
+ return kc.pure(t(c));
35530
35530
  }
35531
35531
  }
35532
35532
  });
@@ -35560,7 +35560,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35560
35560
  layouts: t.layouts,
35561
35561
  sandboxClasses: ["tox-dialog__popups"],
35562
35562
  lazySink: a.getSink,
35563
- fetch: (c) => Tc.nu((m) => t.fetch(m)).map((m) => D.from(_N(oa(bN(mo("menu-value"), m, (b) => {
35563
+ fetch: (c) => kc.nu((m) => t.fetch(m)).map((m) => D.from(_N(oa(bN(mo("menu-value"), m, (b) => {
35564
35564
  t.onItemAction(c, b);
35565
35565
  }, t.columns, t.presets, Qf.CLOSE_ON_EXECUTE, me, a.providers), { movement: K3(t.columns, t.presets) })))),
35566
35566
  parts: { menu: M3(!1, 1, t.presets) }
@@ -35588,12 +35588,12 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35588
35588
  validate: (G) => {
35589
35589
  const K = fo.getValue(G);
35590
35590
  if (K.length === 0)
35591
- return Tc.pure(ps.value(!0));
35591
+ return kc.pure(ps.value(!0));
35592
35592
  {
35593
35593
  const re = At.fromTag("span");
35594
35594
  Hn(re, "background-color", K);
35595
35595
  const we = ar(re, "background-color").fold(() => ps.error("blah"), (De) => ps.value(K));
35596
- return Tc.pure(we);
35596
+ return kc.pure(we);
35597
35597
  }
35598
35598
  }
35599
35599
  }
@@ -35694,7 +35694,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35694
35694
  xh(wm(), t, "spectrum")
35695
35695
  ])
35696
35696
  })
35697
- }), nA = (t) => Sc(t.event), Qq = Hl({
35697
+ }), nA = (t) => _c(t.event), Qq = Hl({
35698
35698
  schema: [or("mouseIsDown", () => Oo(!1))],
35699
35699
  name: "spectrum",
35700
35700
  overrides: (t) => {
@@ -35747,32 +35747,32 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
35747
35747
  }, tY = "top", EF = "right", nY = "bottom", oY = "left", W0 = (t) => t.model.minX, Z0 = (t) => t.model.minY, oA = (t) => t.model.minX - 1, sA = (t) => t.model.minY - 1, G0 = (t) => t.model.maxX, Bv = (t) => t.model.maxY, s_ = (t) => t.model.maxX + 1, rA = (t) => t.model.maxY + 1, TF = (t, a, c) => a(t) - c(t), PN = (t) => TF(t, G0, W0), BN = (t) => TF(t, Bv, Z0), kF = (t) => PN(t) / 2, AF = (t) => BN(t) / 2, q0 = (t, a) => a ? t.stepSize * t.speedMultiplier : t.stepSize, FN = (t) => t.snapToGrid, LN = (t) => t.snapStart, aA = (t) => t.rounded, iA = (t, a) => t[a + "-edge"] !== void 0, VN = (t) => iA(t, oY), $F = (t) => iA(t, EF), OF = (t) => iA(t, tY), DF = (t) => iA(t, nY), i1 = (t) => t.model.value.get(), Xp = (t, a) => ({
35748
35748
  x: t,
35749
35749
  y: a
35750
- }), kc = (t, a) => {
35750
+ }), Ac = (t, a) => {
35751
35751
  Vo(t, o_(), { value: a });
35752
35752
  }, sY = (t, a) => {
35753
- kc(t, Xp(oA(a), sA(a)));
35753
+ Ac(t, Xp(oA(a), sA(a)));
35754
35754
  }, r_ = (t, a) => {
35755
- kc(t, sA(a));
35755
+ Ac(t, sA(a));
35756
35756
  }, rY = (t, a) => {
35757
- kc(t, Xp(kF(a), sA(a)));
35757
+ Ac(t, Xp(kF(a), sA(a)));
35758
35758
  }, HN = (t, a) => {
35759
- kc(t, Xp(s_(a), sA(a)));
35759
+ Ac(t, Xp(s_(a), sA(a)));
35760
35760
  }, aY = (t, a) => {
35761
- kc(t, s_(a));
35761
+ Ac(t, s_(a));
35762
35762
  }, iY = (t, a) => {
35763
- kc(t, Xp(s_(a), AF(a)));
35763
+ Ac(t, Xp(s_(a), AF(a)));
35764
35764
  }, lY = (t, a) => {
35765
- kc(t, Xp(s_(a), rA(a)));
35765
+ Ac(t, Xp(s_(a), rA(a)));
35766
35766
  }, NF = (t, a) => {
35767
- kc(t, rA(a));
35767
+ Ac(t, rA(a));
35768
35768
  }, cY = (t, a) => {
35769
- kc(t, Xp(kF(a), rA(a)));
35769
+ Ac(t, Xp(kF(a), rA(a)));
35770
35770
  }, zN = (t, a) => {
35771
- kc(t, Xp(oA(a), rA(a)));
35771
+ Ac(t, Xp(oA(a), rA(a)));
35772
35772
  }, UN = (t, a) => {
35773
- kc(t, oA(a));
35773
+ Ac(t, oA(a));
35774
35774
  }, jN = (t, a) => {
35775
- kc(t, Xp(oA(a), AF(a)));
35775
+ Ac(t, Xp(oA(a), AF(a)));
35776
35776
  }, WN = (t, a, c, m) => t < a ? t : t > c ? c : t === a ? a - 1 : Math.max(a, t - m), rd = (t, a, c, m) => t > c ? t : t < a ? a : t === c ? c + 1 : Math.min(c, t + m), IF = (t, a, c) => Math.max(a, Math.min(c, t)), uY = (t, a, c, m, b) => b.fold(() => {
35777
35777
  const S = t - a, E = Math.round(S / m) * m;
35778
35778
  return IF(a + E, a - 1, c + 1);
@@ -36272,7 +36272,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
36272
36272
  validator: {
36273
36273
  validate: (Dt) => {
36274
36274
  const _t = fo.getValue(Dt), tn = Tt(_t) ? ps.value(!0) : ps.error(t("aria.input.invalid"));
36275
- return Tc.pure(tn);
36275
+ return kc.pure(tn);
36276
36276
  },
36277
36277
  validateOnLoad: !1
36278
36278
  }
@@ -36611,7 +36611,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
36611
36611
  ],
36612
36612
  factory: b
36613
36613
  });
36614
- }, Ac = {
36614
+ }, $c = {
36615
36615
  self: () => Ws.config({ find: D.some }),
36616
36616
  memento: (t) => Ws.config({ find: t.getOpt }),
36617
36617
  childAt: (t) => Ws.config({ find: (a) => nl(a.element, t).bind((c) => a.getSystem().getByDom(c).toOptional()) })
@@ -36707,7 +36707,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
36707
36707
  });
36708
36708
  });
36709
36709
  }),
36710
- Ac.self()
36710
+ $c.self()
36711
36711
  ])
36712
36712
  };
36713
36713
  };
@@ -36741,7 +36741,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
36741
36741
  Lv(D.none(), () => a.get().fold(() => m.get().getOr(""), (S) => S.getValue()), (S, E) => {
36742
36742
  a.get().fold(() => m.set(E), (R) => R.setValue(E));
36743
36743
  }),
36744
- Ac.self()
36744
+ $c.self()
36745
36745
  ].concat(b)),
36746
36746
  components: [c.asSpec()]
36747
36747
  };
@@ -36799,7 +36799,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
36799
36799
  V.get(we).element.dom.click();
36800
36800
  },
36801
36801
  buttonBehaviours: Fn([
36802
- Ac.self(),
36802
+ $c.self(),
36803
36803
  K0(c.getOr([])),
36804
36804
  ra.config({}),
36805
36805
  nm.button(() => a.checkUiComponentContext(t.context).shouldDisable),
@@ -36929,7 +36929,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
36929
36929
  a,
36930
36930
  mI([SA])
36931
36931
  ],
36932
- behaviours: Fn([Ac.childAt(1)])
36932
+ behaviours: Fn([$c.childAt(1)])
36933
36933
  }), gL = (t, a) => {
36934
36934
  Vo(t, Pl(), {
36935
36935
  raw: {
@@ -37077,7 +37077,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
37077
37077
  },
37078
37078
  components: [b.asSpec()],
37079
37079
  behaviours: Fn([
37080
- Ac.self(),
37080
+ $c.self(),
37081
37081
  Lv(R, () => c.get(), S)
37082
37082
  ])
37083
37083
  };
@@ -37103,7 +37103,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
37103
37103
  ...R
37104
37104
  ],
37105
37105
  behaviours: Fn([
37106
- Ac.self(),
37106
+ $c.self(),
37107
37107
  as.config({}),
37108
37108
  lL(D.none()),
37109
37109
  Lo.config({ mode: "acyclic" }),
@@ -37272,7 +37272,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
37272
37272
  mC()(Je, Tt - 10);
37273
37273
  }
37274
37274
  }),
37275
- fetch: (Je) => Tc.nu(Pe(t.fetch, Je))
37275
+ fetch: (Je) => kc.nu(Pe(t.fetch, Je))
37276
37276
  })).asSpec();
37277
37277
  }, SL = (t) => y(t), xI = (t) => t.type === "separator", XY = (t) => Xo(t, "getSubmenuItems"), _L = { type: "separator" }, EL = (t, a) => {
37278
37278
  const c = Jt(t, (m, b) => SL(b) ? b === "" ? m : b === "|" ? m.length > 0 && !xI(m[m.length - 1]) ? m.concat([_L]) : m : Xo(a, b.toLowerCase()) ? m.concat([a[b.toLowerCase()]]) : m : m.concat([b]), []);
@@ -37777,7 +37777,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
37777
37777
  S
37778
37778
  ],
37779
37779
  sliderBehaviours: Fn([
37780
- Ac.self(),
37780
+ $c.self(),
37781
37781
  ts.config({})
37782
37782
  ]),
37783
37783
  onChoose: (E, R, V) => {
@@ -37856,7 +37856,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
37856
37856
  validator: {
37857
37857
  validate: (Ye) => {
37858
37858
  const Je = fo.getValue(Ye), Tt = De.validator(Je);
37859
- return Tc.pure(Tt === !0 ? ps.value(Je) : ps.error(Tt));
37859
+ return kc.pure(Tt === !0 ? ps.value(Je) : ps.error(Tt));
37860
37860
  },
37861
37861
  validateOnLoad: De.validateOnLoad
37862
37862
  }
@@ -38081,7 +38081,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
38081
38081
  const R = !E.isActive();
38082
38082
  E.setActive(R), S.storage.set(R), c.shared.getSink().each((V) => {
38083
38083
  a().getOpt(V).each((G) => {
38084
- xc(G.element), Vo(G, Yp, {
38084
+ Cc(G.element), Vo(G, Yp, {
38085
38085
  name: S.name,
38086
38086
  value: S.storage.get()
38087
38087
  });
@@ -38565,7 +38565,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
38565
38565
  })
38566
38566
  ].concat(t.dismissOnBlur ? [gn(Sg(), (re) => {
38567
38567
  const we = ii.getCoupled(re, "sandbox");
38568
- Cc(we.element).isNone() && Qs.close(we);
38568
+ Sc(we.element).isNone() && Qs.close(we);
38569
38569
  })] : []))
38570
38570
  ], K = {
38571
38571
  [of()]: [
@@ -38606,7 +38606,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
38606
38606
  Ft("populateFromBrowse", !0)
38607
38607
  ]),
38608
38608
  Js("onSetValue"),
38609
- wc("onExecute"),
38609
+ xc("onExecute"),
38610
38610
  Js("onItemExecute"),
38611
38611
  Ft("inputClasses", []),
38612
38612
  Ft("inputAttributes", {}),
@@ -38658,12 +38658,12 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
38658
38658
  }), Zm = (t) => ({
38659
38659
  ...t,
38660
38660
  toCached: () => Zm(t.toCached()),
38661
- bindFuture: (V) => Zm(t.bind((G) => G.fold((K) => Tc.pure(ps.error(K)), (K) => V(K)))),
38661
+ bindFuture: (V) => Zm(t.bind((G) => G.fold((K) => kc.pure(ps.error(K)), (K) => V(K)))),
38662
38662
  bindResult: (V) => Zm(t.map((G) => G.bind(V))),
38663
38663
  mapResult: (V) => Zm(t.map((G) => G.map(V))),
38664
38664
  mapError: (V) => Zm(t.map((G) => G.mapError(V))),
38665
38665
  foldResult: (V, G) => t.map((K) => K.fold(V, G)),
38666
- withTimeout: (V, G) => Zm(Tc.nu((K) => {
38666
+ withTimeout: (V, G) => Zm(kc.nu((K) => {
38667
38667
  let re = !1;
38668
38668
  const we = setTimeout(() => {
38669
38669
  re = !0, K(ps.error(G()));
@@ -38672,13 +38672,13 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
38672
38672
  re || (clearTimeout(we), K(De));
38673
38673
  });
38674
38674
  }))
38675
- }), KL = (t) => Zm(Tc.nu(t)), XL = (t) => Zm(Tc.pure(ps.value(t))), NK = {
38675
+ }), KL = (t) => Zm(kc.nu(t)), XL = (t) => Zm(kc.pure(ps.value(t))), NK = {
38676
38676
  nu: KL,
38677
38677
  wrap: Zm,
38678
38678
  pure: XL,
38679
38679
  value: XL,
38680
- error: (t) => Zm(Tc.pure(ps.error(t))),
38681
- fromResult: (t) => Zm(Tc.pure(t)),
38680
+ error: (t) => Zm(kc.pure(ps.error(t))),
38681
+ fromResult: (t) => Zm(kc.pure(t)),
38682
38682
  fromFuture: (t) => Zm(t.map(ps.value)),
38683
38683
  fromPromise: (t) => KL((a) => {
38684
38684
  t.then((c) => {
@@ -38819,7 +38819,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
38819
38819
  factory: Ki,
38820
38820
  ...PI(t, D.some(c), a, [
38821
38821
  K0(""),
38822
- Ac.self()
38822
+ $c.self()
38823
38823
  ])
38824
38824
  }));
38825
38825
  }, t9 = { type: "separator" }, BK = (t) => ({
@@ -38876,7 +38876,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
38876
38876
  isHorizontalMenu: !1,
38877
38877
  search: D.none()
38878
38878
  });
38879
- return Tc.pure(tn);
38879
+ return kc.pure(tn);
38880
38880
  },
38881
38881
  getHotspot: (Dt) => Ye.getOpt(Dt),
38882
38882
  onSetValue: (Dt, _t) => {
@@ -39085,7 +39085,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
39085
39085
  attributes: { type: "checkbox" }
39086
39086
  },
39087
39087
  behaviours: Fn([
39088
- Ac.self(),
39088
+ $c.self(),
39089
39089
  So.config({
39090
39090
  disabled: () => !t.enabled || a.checkUiComponentContext(t.context).shouldDisable,
39091
39091
  onDisabled: (V) => {
@@ -39164,7 +39164,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
39164
39164
  ...a.tooltips.getConfig({
39165
39165
  tooltipText: "",
39166
39166
  onShow: (b) => {
39167
- fr(b.element, "[data-mce-tooltip]:hover").orThunk(() => Cc(b.element)).each((S) => {
39167
+ fr(b.element, "[data-mce-tooltip]:hover").orThunk(() => Sc(b.element)).each((S) => {
39168
39168
  Yn(S, "data-mce-tooltip").each((E) => {
39169
39169
  Ha.setComponents(b, a.tooltips.getComponents({ tooltipText: E }));
39170
39170
  });
@@ -39174,7 +39174,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
39174
39174
  mode: "children-normal",
39175
39175
  anchor: (b) => ({
39176
39176
  type: "node",
39177
- node: fr(b.element, "[data-mce-tooltip]:hover").orThunk(() => Cc(b.element).filter((S) => Yn(S, "data-mce-tooltip").isSome())),
39177
+ node: fr(b.element, "[data-mce-tooltip]:hover").orThunk(() => Sc(b.element).filter((S) => Yn(S, "data-mce-tooltip").isSome())),
39178
39178
  root: b.element,
39179
39179
  layouts: {
39180
39180
  onLtr: Y([
@@ -39713,7 +39713,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
39713
39713
  }, bX = (t, a) => {
39714
39714
  const c = vX(t);
39715
39715
  return O(c) ? c ? c6(t) : D.none() : c[a] ? c6(t) : D.none();
39716
- }, yX = (t, a) => bX(t, a).map((c) => (m) => Tc.nu((b) => {
39716
+ }, yX = (t, a) => bX(t, a).map((c) => (m) => kc.nu((b) => {
39717
39717
  const S = (R, V) => {
39718
39718
  if (!y(R))
39719
39719
  throw new Error("Expected value to be string");
@@ -39982,8 +39982,8 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
39982
39982
  a ? (qa(c, u6), ni(c, $9)) : (qa(c, $9), ni(c, u6));
39983
39983
  }, DX = (t, a) => {
39984
39984
  const c = _r(a);
39985
- Dd(c).filter((m) => !Es(a, m)).filter((m) => Es(m, At.fromDom(c.dom.body)) || tl(t, m)).each(() => xc(a));
39986
- }, N9 = (t, a) => Cc(t).orThunk(() => a().toOptional().bind((c) => Cc(c.element))), I9 = (t, a, c) => {
39985
+ Dd(c).filter((m) => !Es(a, m)).filter((m) => Es(m, At.fromDom(c.dom.body)) || tl(t, m)).each(() => Cc(a));
39986
+ }, N9 = (t, a) => Sc(t).orThunk(() => a().toOptional().bind((c) => Sc(c.element))), I9 = (t, a, c) => {
39987
39987
  t.inline || (a.header.isPositionedAtTop() || t.on("ResizeEditor", () => {
39988
39988
  c().each(ya.reset);
39989
39989
  }), t.on("ResizeWindow ResizeEditor", () => {
@@ -40084,7 +40084,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
40084
40084
  sr("items", bg([
40085
40085
  M1([
40086
40086
  I5,
40087
- vc("items", co)
40087
+ bc("items", co)
40088
40088
  ]),
40089
40089
  co
40090
40090
  ]))
@@ -40392,7 +40392,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
40392
40392
  ])
40393
40393
  }],
40394
40394
  behaviours: Fn([
40395
- Ac.childAt(0),
40395
+ $c.childAt(0),
40396
40396
  cs("sidebar-sliding-events", [
40397
40397
  gn(KA, (a, c) => {
40398
40398
  Hn(a.element, "width", c.event.width);
@@ -40455,7 +40455,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
40455
40455
  classes: ["tox-throbber__busy-spinner"]
40456
40456
  },
40457
40457
  components: [{ dom: Lg('<div class="tox-spinner"><div></div><div></div><div></div></div>') }]
40458
- }), XA = (t) => Ws.getCurrent(t).each((a) => xc(a.element, !0)), XX = (t, a) => {
40458
+ }), XA = (t) => Ws.getCurrent(t).each((a) => Cc(a.element, !0)), XX = (t, a) => {
40459
40459
  const c = "tabindex", m = `data-mce-${c}`;
40460
40460
  D.from(t.iframeElement).map(At.fromDom).each((b) => {
40461
40461
  a ? (Yn(b, c).each((S) => ke(b, m, S)), ke(b, c, -1)) : (Ee(b, c), Yn(b, m).each((S) => {
@@ -40543,7 +40543,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
40543
40543
  }, j9 = (t, a) => {
40544
40544
  const c = Fe(a, (m) => Nu(m));
40545
40545
  qg.setGroups(t, c);
40546
- }, lJ = (t) => En(t, (a) => Cc(a.element).bind((c) => a.getSystem().getByDom(c).toOptional())), b6 = (t, a, c) => {
40546
+ }, lJ = (t) => En(t, (a) => Sc(a.element).bind((c) => a.getSystem().getByDom(c).toOptional())), b6 = (t, a, c) => {
40547
40547
  const m = a.builtGroups.get();
40548
40548
  if (m.length === 0)
40549
40549
  return;
@@ -40750,7 +40750,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
40750
40750
  });
40751
40751
  }, gJ = (t, a, c, m) => {
40752
40752
  const b = mr(Hv.sketch({
40753
- fetch: () => Tc.nu((S) => {
40753
+ fetch: () => kc.nu((S) => {
40754
40754
  S(R_(t.overflowGroups.get()));
40755
40755
  }),
40756
40756
  layouts: {
@@ -41168,7 +41168,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
41168
41168
  }, ln = (Gt) => {
41169
41169
  const io = _t.element;
41170
41170
  Gt ? (qa(io, "tox-button--enabled"), ke(io, "aria-pressed", !0)) : (ni(io, "tox-button--enabled"), Ee(io, "aria-pressed"));
41171
- }, oo = () => oc(_t.element, "tox-button--enabled"), po = () => xc(_t.element);
41171
+ }, oo = () => oc(_t.element, "tox-button--enabled"), po = () => Cc(_t.element);
41172
41172
  if (b)
41173
41173
  return t.onAction({
41174
41174
  setIcon: tn,
@@ -41906,7 +41906,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
41906
41906
  const c = zv(a, D6(t));
41907
41907
  t.ui.registry.addNestedMenuItem("align", {
41908
41908
  text: a.shared.providers.translate(EV),
41909
- onSetup: Ec(t),
41909
+ onSetup: Tc(t),
41910
41910
  getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
41911
41911
  });
41912
41912
  }, AV = (t, a) => {
@@ -41940,7 +41940,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
41940
41940
  const c = zv(a, $V(t));
41941
41941
  t.ui.registry.addNestedMenuItem("blocks", {
41942
41942
  text: N6,
41943
- onSetup: Ec(t),
41943
+ onSetup: Tc(t),
41944
41944
  getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
41945
41945
  });
41946
41946
  }, YJ = "Fonts", OV = Y("Font {0}"), M6 = "System Font", KJ = [
@@ -42002,7 +42002,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
42002
42002
  const c = zv(a, i4(t));
42003
42003
  t.ui.registry.addNestedMenuItem("fontfamily", {
42004
42004
  text: a.shared.providers.translate(YJ),
42005
- onSetup: Ec(t),
42005
+ onSetup: Tc(t),
42006
42006
  getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
42007
42007
  });
42008
42008
  }, IV = {
@@ -42074,7 +42074,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
42074
42074
  c.onAction(po, ln), b.each((ho) => {
42075
42075
  fo.setValue(ho, po), tn && (io.each((ks) => ho.element.dom.selectionStart = ks), Kn.each((ks) => ho.element.dom.selectionEnd = ks));
42076
42076
  });
42077
- }, re = (_t, tn) => K((ln, oo) => ln - oo, _t, tn), we = (_t, tn) => K((ln, oo) => ln + oo, _t, tn), De = (_t) => Bi(_t.element).fold(D.none, (tn) => (xc(tn), D.some(!0))), Ye = (_t) => Zi(_t.element) ? (Yl(_t.element).each((tn) => xc(tn)), D.some(!0)) : D.none(), Je = (_t, tn, ln, oo) => {
42077
+ }, re = (_t, tn) => K((ln, oo) => ln - oo, _t, tn), we = (_t, tn) => K((ln, oo) => ln + oo, _t, tn), De = (_t) => Bi(_t.element).fold(D.none, (tn) => (Cc(tn), D.some(!0))), Ye = (_t) => Zi(_t.element) ? (Yl(_t.element).each((tn) => Cc(tn)), D.some(!0)) : D.none(), Je = (_t, tn, ln, oo) => {
42078
42078
  const po = Oo(P), Gt = a.shared.providers.translate(ln), io = mo("altExecuting"), Kn = j0(t, "NodeChange SwitchMode DisabledStateChange", (ks) => {
42079
42079
  So.set(ks.getComponent(), !t.selection.isEditable() || l3(t));
42080
42080
  }), ho = (ks) => {
@@ -42204,7 +42204,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
42204
42204
  focusInside: Ul.OnEnterOrSpaceMode,
42205
42205
  cycles: !1,
42206
42206
  selector: "button, .tox-input-wrapper",
42207
- onEscape: (_t) => Zi(_t.element) ? D.none() : (xc(_t.element), D.some(!0))
42207
+ onEscape: (_t) => Zi(_t.element) ? D.none() : (Cc(_t.element), D.some(!0))
42208
42208
  })
42209
42209
  ])
42210
42210
  };
@@ -42299,7 +42299,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
42299
42299
  const c = zv(a, PV(t));
42300
42300
  t.ui.registry.addNestedMenuItem("fontsize", {
42301
42301
  text: tQ,
42302
- onSetup: Ec(t),
42302
+ onSetup: Tc(t),
42303
42303
  getSubmenuItems: () => c.items.validateItems(c.getStyleItems())
42304
42304
  });
42305
42305
  }, cQ = "Formats", HV = (t) => rt(t) ? "Formats" : "Format {0}", zV = (t, a) => {
@@ -42348,7 +42348,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
42348
42348
  }, m = zv(a, zV(t, c));
42349
42349
  t.ui.registry.addNestedMenuItem("styles", {
42350
42350
  text: cQ,
42351
- onSetup: Ec(t),
42351
+ onSetup: Tc(t),
42352
42352
  getSubmenuItems: () => m.items.validateItems(m.getStyleItems())
42353
42353
  });
42354
42354
  }, jV = Y([
@@ -42594,7 +42594,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
42594
42594
  ];
42595
42595
  return Hv.sketch({
42596
42596
  lazySink: S.getSink,
42597
- fetch: () => Tc.nu((G) => {
42597
+ fetch: () => kc.nu((G) => {
42598
42598
  G(Fe(c(t.items), n4));
42599
42599
  }),
42600
42600
  markers: { toggledClass: "tox-tbtn--enabled" },
@@ -42648,7 +42648,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
42648
42648
  ].concat(c.length > 0 ? [cs("toolbarToggleButtonWith", c)] : []),
42649
42649
  getApi: pQ,
42650
42650
  onSetup: t.onSetup
42651
- }, a, m), yQ = (t, a, c) => (m) => Tc.nu((b) => a.fetch(b)).map((b) => D.from(_N(oa(bN(mo("menu-value"), b, (S) => {
42651
+ }, a, m), yQ = (t, a, c) => (m) => kc.nu((b) => a.fetch(b)).map((b) => D.from(_N(oa(bN(mo("menu-value"), b, (S) => {
42652
42652
  a.onItemAction(t(m), S);
42653
42653
  }, a.columns, a.presets, Qf.CLOSE_ON_EXECUTE, a.select.getOr(me), c), {
42654
42654
  movement: K3(a.columns, a.presets),
@@ -43009,16 +43009,16 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43009
43009
  });
43010
43010
  }, oo = ($o, Bn) => {
43011
43011
  b.on((lo) => {
43012
- const ss = ma.getToolbar(S.outerContainer), Ss = Dt(ss), Zo = mi(a), ds = po(t, S.outerContainer.element), Ur = () => ds.fold(() => Zo.x, ($c) => {
43013
- const Ef = mi($c);
43014
- return Es($c, xt()) ? Zo.x : Zo.x - Ef.x;
43015
- }), Nr = () => ds.fold(() => we() ? Math.max(Zo.y - Ma(lo.element) + Ss, 0) : Zo.bottom, ($c) => {
43012
+ const ss = ma.getToolbar(S.outerContainer), Ss = Dt(ss), Zo = mi(a), ds = po(t, S.outerContainer.element), Ur = () => ds.fold(() => Zo.x, (Oc) => {
43013
+ const Ef = mi(Oc);
43014
+ return Es(Oc, xt()) ? Zo.x : Zo.x - Ef.x;
43015
+ }), Nr = () => ds.fold(() => we() ? Math.max(Zo.y - Ma(lo.element) + Ss, 0) : Zo.bottom, (Oc) => {
43016
43016
  var Ef;
43017
- const Tf = mi($c), Km = (Ef = $c.dom.scrollTop) !== null && Ef !== void 0 ? Ef : 0, oh = Es($c, xt()) ? Math.max(Zo.y - Ma(lo.element) + Ss, 0) : Zo.y - Tf.y + Km - Ma(lo.element) + Ss;
43017
+ const Tf = mi(Oc), Km = (Ef = Oc.dom.scrollTop) !== null && Ef !== void 0 ? Ef : 0, oh = Es(Oc, xt()) ? Math.max(Zo.y - Ma(lo.element) + Ss, 0) : Zo.y - Tf.y + Km - Ma(lo.element) + Ss;
43018
43018
  return we() ? oh : Zo.bottom;
43019
- }), ud = Ur(), ja = _o($o, Math.ceil(S.outerContainer.element.dom.getBoundingClientRect().width)).filter(($c) => $c > De).map(($c) => {
43020
- const Ef = Bn.getOr(al()), Tf = window.innerWidth - (ud - Ef.left), Km = Math.max(Math.min($c, Tf), De);
43021
- return Tf < $c && Hn(S.outerContainer.element, "width", Km + "px"), { width: Km + "px" };
43019
+ }), ud = Ur(), ja = _o($o, Math.ceil(S.outerContainer.element.dom.getBoundingClientRect().width)).filter((Oc) => Oc > De).map((Oc) => {
43020
+ const Ef = Bn.getOr(al()), Tf = window.innerWidth - (ud - Ef.left), Km = Math.max(Math.min(Oc, Tf), De);
43021
+ return Tf < Oc && Hn(S.outerContainer.element, "width", Km + "px"), { width: Km + "px" };
43022
43022
  }).getOr({ width: "max-content" }), _f = {
43023
43023
  position: "absolute",
43024
43024
  left: Math.round(ud) + "px",
@@ -43153,11 +43153,11 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43153
43153
  };
43154
43154
  }, m4 = "contexttoolbar-show", z_ = "contexttoolbar-hide", iH = ".tox-toolbar-slider__input,.tox-toolbar-textfield", z6 = (t) => {
43155
43155
  Pa.getContent(t).each((a) => {
43156
- fr(a.element, iH).fold(() => Lo.focusIn(a), xc);
43156
+ fr(a.element, iH).fold(() => Lo.focusIn(a), Cc);
43157
43157
  });
43158
- }, RQ = (t) => Cc(t.element).each((a) => {
43158
+ }, RQ = (t) => Sc(t.element).each((a) => {
43159
43159
  $m(a, '[tabindex="-1"]').each((c) => {
43160
- xc(c);
43160
+ Cc(c);
43161
43161
  });
43162
43162
  }), lH = mo("forward-slide"), U6 = mo("backward-slide"), j6 = mo("change-slide-event"), F2 = "tox-pop--resizing", cH = (t) => {
43163
43163
  const a = Oo([]);
@@ -43187,7 +43187,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43187
43187
  Ts(b, "left"), Ts(b, "right"), Ts(b, "max-width"), Pa.setContent(c, m.event.contents), qa(b, F2);
43188
43188
  const E = qe(b);
43189
43189
  Hn(b, "transition", "none"), Pa.reposition(c), Ts(b, "transition"), Hn(b, "width", S + "px"), m.event.focus.fold(() => z6(c), (R) => {
43190
- xc(R), Cc(b).isNone() && z6(c);
43190
+ Cc(R), Sc(b).isNone() && z6(c);
43191
43191
  }), setTimeout(() => {
43192
43192
  Hn(c.element, "width", E + "px");
43193
43193
  }, 0);
@@ -43221,7 +43221,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43221
43221
  });
43222
43222
  }, sy = (t, a, c) => ({
43223
43223
  setInputEnabled: (m) => {
43224
- !m && c && xc(c), So.set(t, !m);
43224
+ !m && c && Cc(c), So.set(t, !m);
43225
43225
  },
43226
43226
  isInputEnabled: () => !So.isDisabled(t),
43227
43227
  hide: () => {
@@ -43295,7 +43295,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43295
43295
  classes: ["tox-context-form__group"]
43296
43296
  },
43297
43297
  components: Gt
43298
- }), Tt = (Gt) => $m(Gt.element, "div.tox-focusable-wrapper").fold(D.none, (Kn) => (xc(Kn), D.some(!0))), at = (Gt) => Fs.parts.field({
43298
+ }), Tt = (Gt) => $m(Gt.element, "div.tox-focusable-wrapper").fold(D.none, (Kn) => (Cc(Kn), D.some(!0))), at = (Gt) => Fs.parts.field({
43299
43299
  factory: Jh,
43300
43300
  inputClasses: [
43301
43301
  "tox-textfield",
@@ -43336,7 +43336,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43336
43336
  ts.config({}),
43337
43337
  Lo.config({
43338
43338
  mode: "special",
43339
- onEnter: (io) => fr(io.element, "input").fold(D.none, (ho) => (xc(ho), D.some(!0)))
43339
+ onEnter: (io) => fr(io.element, "input").fold(D.none, (ho) => (Cc(ho), D.some(!0)))
43340
43340
  })
43341
43341
  ])
43342
43342
  }), tn = _t(li.parts.field1(Je([
@@ -43736,7 +43736,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43736
43736
  } else
43737
43737
  return D.none();
43738
43738
  }
43739
- }, K6 = (t, a, c) => t(a) ? D.none() : bc(a, (m) => {
43739
+ }, K6 = (t, a, c) => t(a) ? D.none() : yc(a, (m) => {
43740
43740
  if (gs(m)) {
43741
43741
  const { contextToolbars: b, contextForms: S } = Wv(m, c.inNodeScope), E = S.length > 0 ? S : h4(b);
43742
43742
  return E.length > 0 ? D.some({
@@ -43879,7 +43879,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43879
43879
  });
43880
43880
  }), t.on("focusout", (Kn) => {
43881
43881
  r3.setEditorTimeout(t, () => {
43882
- Cc(c.element).isNone() && Cc(K.element).isNone() && Je();
43882
+ Sc(c.element).isNone() && Sc(K.element).isNone() && Je();
43883
43883
  }, 0);
43884
43884
  }), t.on("SwitchMode", () => {
43885
43885
  t.mode.isReadOnly() && Je();
@@ -43894,7 +43894,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43894
43894
  }), t.on("dragend drop", () => {
43895
43895
  Gt = !1;
43896
43896
  }), t.on("NodeChange", (Kn) => {
43897
- Cc(K.element).fold(io.throttle, P);
43897
+ Sc(K.element).fold(io.throttle, P);
43898
43898
  });
43899
43899
  });
43900
43900
  }, X6 = (t) => {
@@ -43933,7 +43933,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43933
43933
  }), t.ui.registry.addButton("alignnone", {
43934
43934
  tooltip: "No alignment",
43935
43935
  icon: "align-none",
43936
- onSetup: Ec(t),
43936
+ onSetup: Tc(t),
43937
43937
  onAction: Pu(t, "JustifyNone")
43938
43938
  });
43939
43939
  }, EH = (t, a) => {
@@ -43980,8 +43980,8 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
43980
43980
  watcher: (a, c, m) => a.formatter.formatChanged("lineheight", m, !1, { value: c }).unbind,
43981
43981
  getCurrent: (a) => D.from(a.queryCommandValue("LineHeight")),
43982
43982
  setCurrent: (a, c) => a.execCommand("LineHeight", !1, c),
43983
- onToolbarSetup: Ec(t),
43984
- onMenuSetup: Ec(t)
43983
+ onToolbarSetup: Tc(t),
43984
+ onMenuSetup: Tc(t)
43985
43985
  }), WQ = (t) => D.from($8(t)).map((c) => ({
43986
43986
  name: "language",
43987
43987
  text: "Language",
@@ -44010,9 +44010,9 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
44010
44010
  setCurrent: (m, b) => m.execCommand("Lang", !1, b),
44011
44011
  onToolbarSetup: (m) => {
44012
44012
  const b = Ml();
44013
- return m.setActive(t.formatter.match("lang", {}, void 0, !0)), b.set(t.formatter.formatChanged("lang", m.setActive, !0)), U0(b.clear, Ec(t)(m));
44013
+ return m.setActive(t.formatter.match("lang", {}, void 0, !0)), b.set(t.formatter.formatChanged("lang", m.setActive, !0)), U0(b.clear, Tc(t)(m));
44014
44014
  },
44015
- onMenuSetup: Ec(t)
44015
+ onMenuSetup: Tc(t)
44016
44016
  })), ZQ = (t) => {
44017
44017
  EH(t, TH(t)), WQ(t).each((a) => EH(t, a));
44018
44018
  }, y4 = (t, a) => {
@@ -44030,7 +44030,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
44030
44030
  }), t.ui.registry.addButton("indent", {
44031
44031
  tooltip: "Increase indent",
44032
44032
  icon: "indent",
44033
- onSetup: Ec(t),
44033
+ onSetup: Tc(t),
44034
44034
  onAction: Pu(t, "indent")
44035
44035
  });
44036
44036
  }, YQ = (t) => {
@@ -44040,7 +44040,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
44040
44040
  const m = (b) => {
44041
44041
  a.set(b.state), c.setActive(b.state);
44042
44042
  };
44043
- return t.on("PastePlainTextToggle", m), U0(() => t.off("PastePlainTextToggle", m), Ec(t)(c));
44043
+ return t.on("PastePlainTextToggle", m), U0(() => t.off("PastePlainTextToggle", m), Tc(t)(c));
44044
44044
  }, KQ = (t) => {
44045
44045
  const a = Oo(V8(t)), c = () => t.execCommand("mceTogglePlainTextPaste");
44046
44046
  t.ui.registry.addToggleButton("pastetext", {
@@ -44193,7 +44193,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
44193
44193
  t.ui.registry.addButton(a.name, {
44194
44194
  tooltip: a.text,
44195
44195
  icon: a.icon,
44196
- onSetup: Ec(t),
44196
+ onSetup: Tc(t),
44197
44197
  onAction: Pu(t, a.action)
44198
44198
  });
44199
44199
  });
@@ -44324,13 +44324,13 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
44324
44324
  text: a.text,
44325
44325
  icon: a.icon,
44326
44326
  shortcut: a.shortcut,
44327
- onSetup: Ec(t),
44327
+ onSetup: Tc(t),
44328
44328
  onAction: Pu(t, a.action)
44329
44329
  });
44330
44330
  }), t.ui.registry.addMenuItem("codeformat", {
44331
44331
  text: "Code",
44332
44332
  icon: "sourcecode",
44333
- onSetup: Ec(t),
44333
+ onSetup: Tc(t),
44334
44334
  onAction: w4(t, "code")
44335
44335
  });
44336
44336
  }, IH = (t) => {
@@ -44895,7 +44895,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
44895
44895
  ], Uee = (t) => sa([
44896
44896
  gn(Ku(), t.forceDrop),
44897
44897
  gn(Hr(), t.drop),
44898
- gn(yc(), t.drop),
44898
+ gn(wc(), t.drop),
44899
44899
  gn(Ks(), (a, c) => {
44900
44900
  t.move(c.event);
44901
44901
  })
@@ -44936,7 +44936,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
44936
44936
  gn(Hr(), (S, E) => {
44937
44937
  E.stop(), b(S);
44938
44938
  }),
44939
- gn(yc(), b)
44939
+ gn(wc(), b)
44940
44940
  ];
44941
44941
  }, Wee = [
44942
44942
  ...lM,
@@ -45418,7 +45418,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45418
45418
  t.focus();
45419
45419
  },
45420
45420
  type: Ye
45421
- }), ud = yS(t), ja = h3(t), _f = p3(t), $c = e5(t), Ef = Kn(), Tf = ud || ja || _f, Km = () => ud ? [Nr] : ja ? [Ur] : [], X_ = $c ? [
45421
+ }), ud = yS(t), ja = h3(t), _f = p3(t), Oc = e5(t), Ef = Kn(), Tf = ud || ja || _f, Km = () => ud ? [Nr] : ja ? [Ur] : [], X_ = Oc ? [
45422
45422
  Ef,
45423
45423
  ds
45424
45424
  ] : [ds];
@@ -45523,10 +45523,10 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45523
45523
  ja,
45524
45524
  c ? [] : [Tt.asSpec()]
45525
45525
  ])
45526
- }), $c = s5(t), Ef = {
45526
+ }), Oc = s5(t), Ef = {
45527
45527
  role: "application",
45528
45528
  ...Jf.isRtl() ? { dir: "rtl" } : {},
45529
- ...$c ? { "aria-hidden": "true" } : {}
45529
+ ...Oc ? { "aria-hidden": "true" } : {}
45530
45530
  }, Tf = sc(ma.sketch({
45531
45531
  dom: {
45532
45532
  tag: "div",
@@ -45536,7 +45536,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45536
45536
  ].concat(c ? ["tox-tinymce-inline"] : []).concat(De ? ["tox-tinymce--toolbar-bottom"] : []).concat(we),
45537
45537
  styles: {
45538
45538
  visibility: "hidden",
45539
- ...$c ? {
45539
+ ...Oc ? {
45540
45540
  opacity: "0",
45541
45541
  border: "0"
45542
45542
  } : {}
@@ -45580,14 +45580,14 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45580
45580
  Ht(c3(t), (my, $M) => {
45581
45581
  t.ui.registry.addGroupToolbarButton($M, my);
45582
45582
  });
45583
- const { buttons: ud, menuItems: ja, contextToolbars: _f, sidebars: $c, views: Ef } = t.ui.registry.getAll(), Tf = v3(t), Km = {
45583
+ const { buttons: ud, menuItems: ja, contextToolbars: _f, sidebars: Oc, views: Ef } = t.ui.registry.getAll(), Tf = v3(t), Km = {
45584
45584
  menuItems: ja,
45585
45585
  menus: W8(t),
45586
45586
  menubar: I8(t),
45587
45587
  toolbar: Tf.getOrThunk(() => d3(t)),
45588
45588
  allowToolbarGroups: Ye === gf.floating,
45589
45589
  buttons: ud,
45590
- sidebar: $c,
45590
+ sidebar: Oc,
45591
45591
  views: Ef
45592
45592
  };
45593
45593
  Bn(ds.outerContainer), CX(t, ds.mothership, Nr), b.setup(t, Gt.popup.shared, at), see(t, Gt.popup), _ee(t, Gt.popup.shared.getSink, Gt.popup), V9(t), tJ(t, po, Gt.popup.shared), _H(t, _f, Ur.sink, { backstage: Gt.popup }), Yee(t, Ur.sink);
@@ -45632,7 +45632,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45632
45632
  Ft("firstTabstop", 0),
45633
45633
  Ft("eventOrder", {}),
45634
45634
  fl("modalBehaviours", [Lo]),
45635
- wc("onExecute"),
45635
+ xc("onExecute"),
45636
45636
  Fx("onEscape")
45637
45637
  ]), gM = { sketch: ve }, az = Y([
45638
45638
  uu({
@@ -45805,7 +45805,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45805
45805
  t1,
45806
45806
  PS,
45807
45807
  em,
45808
- vc("items", cte),
45808
+ bc("items", cte),
45809
45809
  ...pM
45810
45810
  ], lz = [
45811
45811
  ...pM,
@@ -45918,12 +45918,12 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45918
45918
  m2
45919
45919
  ], Dte = [
45920
45920
  e1,
45921
- vc("items", hp("items", () => Y_))
45921
+ bc("items", hp("items", () => Y_))
45922
45922
  ], Y_ = bg([
45923
45923
  es(yz),
45924
45924
  es(Dte)
45925
45925
  ]), V2 = Cf.concat([
45926
- vc("items", Y_),
45926
+ bc("items", Y_),
45927
45927
  Hm,
45928
45928
  ha("context", "mode:design")
45929
45929
  ]), D4 = es(V2), wz = co, N4 = Cf.concat([
@@ -45947,8 +45947,8 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45947
45947
  Ei("max", 0)
45948
45948
  ]), qv = es(Nte), Vae = bm, Ite = [
45949
45949
  ki,
45950
- vc("header", co),
45951
- vc("cells", $u(co))
45950
+ bc("header", co),
45951
+ bc("cells", $u(co))
45952
45952
  ], _z = es(Ite), H2 = Cf.concat([
45953
45953
  La("placeholder"),
45954
45954
  Va("maximized", !1),
@@ -45964,7 +45964,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45964
45964
  Qd("menu", $_),
45965
45965
  La("customStateIcon"),
45966
45966
  La("customStateIconTooltip")
45967
- ], kz = es(Tz), Mte = Tz.concat([vc("children", hp("children", () => ym("type", {
45967
+ ], kz = es(Tz), Mte = Tz.concat([bc("children", hp("children", () => ym("type", {
45968
45968
  directory: uy,
45969
45969
  leaf: kz
45970
45970
  })))]), uy = es(Mte), zae = ym("type", {
@@ -45972,7 +45972,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
45972
45972
  leaf: kz
45973
45973
  }), Rte = [
45974
45974
  ki,
45975
- vc("items", zae),
45975
+ bc("items", zae),
45976
45976
  zf("onLeafAction"),
45977
45977
  zf("onToggleExpand"),
45978
45978
  L("defaultExpandedIds", [], co),
@@ -46017,11 +46017,11 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
46017
46017
  })), Lte = [
46018
46018
  ki,
46019
46019
  Ft("classes", []),
46020
- vc("items", xM)
46020
+ bc("items", xM)
46021
46021
  ], CM = es(Lte), Vte = [
46022
46022
  F5("tab"),
46023
46023
  RB,
46024
- vc("items", xM)
46024
+ bc("items", xM)
46025
46025
  ], jae = [
46026
46026
  ki,
46027
46027
  Ly("tabs", Vte)
@@ -46184,7 +46184,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
46184
46184
  mode: "acyclic",
46185
46185
  useTabstopAt: Ce(u_)
46186
46186
  }),
46187
- Ac.memento(b),
46187
+ $c.memento(b),
46188
46188
  iL(b, {
46189
46189
  postprocess: (S) => mn(S).fold((E) => (console.error(E), {}), ve)
46190
46190
  }),
@@ -46442,7 +46442,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
46442
46442
  const K = R.dom.getBoundingClientRect().height;
46443
46443
  G.forall((we) => K > we) ? (a.set(K), ld(E, R, a)) : G.each((we) => {
46444
46444
  jl(R, we);
46445
- }), Ts(R, "visibility"), V.each(xc);
46445
+ }), Ts(R, "visibility"), V.each(Cc);
46446
46446
  });
46447
46447
  })
46448
46448
  ],
@@ -46556,7 +46556,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
46556
46556
  },
46557
46557
  components: [],
46558
46558
  behaviours: Fn([
46559
- Ac.childAt(0),
46559
+ $c.childAt(0),
46560
46560
  eo.config({
46561
46561
  channel: `${hL}-${a}`,
46562
46562
  updateState: R,
@@ -47941,17 +47941,17 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
47941
47941
  }, _r = (p) => {
47942
47942
  const x = p.dom;
47943
47943
  x.parentNode !== null && x.parentNode.removeChild(x);
47944
- }, uc = (p) => {
47944
+ }, dc = (p) => {
47945
47945
  const x = os(p);
47946
47946
  x.length > 0 && Ic(p, x), _r(p);
47947
- }, $i = (p, x) => It.fromDom(p.dom.cloneNode(x)), xl = (p) => $i(p, !1), Ea = (p) => $i(p, !0), dc = (p, x) => {
47947
+ }, $i = (p, x) => It.fromDom(p.dom.cloneNode(x)), xl = (p) => $i(p, !1), Ea = (p) => $i(p, !0), fc = (p, x) => {
47948
47948
  const k = It.fromTag(x), I = Ie(p);
47949
47949
  return kr(k, I), k;
47950
47950
  }, Bi = (p, x) => {
47951
- const k = dc(p, x), I = os(Ea(p));
47951
+ const k = fc(p, x), I = os(Ea(p));
47952
47952
  return Es(k, I), k;
47953
- }, fc = (p, x) => {
47954
- const k = dc(p, x);
47953
+ }, mc = (p, x) => {
47954
+ const k = fc(p, x);
47955
47955
  _a(p, k);
47956
47956
  const I = os(p);
47957
47957
  return Es(k, I), _r(p), k;
@@ -47960,7 +47960,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
47960
47960
  "thead",
47961
47961
  "tbody",
47962
47962
  "colgroup"
47963
- ], mc = (p) => Ae(ql, p), ea = (p, x) => ({
47963
+ ], gc = (p) => Ae(ql, p), ea = (p, x) => ({
47964
47964
  rows: p,
47965
47965
  columns: x
47966
47966
  }), nl = (p, x) => ({
@@ -48120,9 +48120,9 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48120
48120
  }, Ud = (p, x) => Mf([
48121
48121
  "td",
48122
48122
  "th"
48123
- ], p, x), jd = (p) => hd(p, "th,td"), gc = (p) => At(p, "colgroup") ? Hn(p, "col") : Et(ju(p), (x) => Hn(x, "col")), sl = (p, x) => Ja(p, "table", x), _1 = (p) => hd(p, "tr"), ju = (p) => sl(p).fold(P([]), (x) => Hn(x, "colgroup")), rp = (p, x) => Ke(p, (k) => {
48123
+ ], p, x), jd = (p) => hd(p, "th,td"), pc = (p) => At(p, "colgroup") ? Hn(p, "col") : Et(ju(p), (x) => Hn(x, "col")), sl = (p, x) => Ja(p, "table", x), _1 = (p) => hd(p, "tr"), ju = (p) => sl(p).fold(P([]), (x) => Hn(x, "colgroup")), rp = (p, x) => Ke(p, (k) => {
48124
48124
  if (Vs(k) === "colgroup") {
48125
- const I = Ke(gc(k), (Z) => {
48125
+ const I = Ke(pc(k), (Z) => {
48126
48126
  const J = Wa(Z, "span", 1);
48127
48127
  return Yl(Z, 1, J);
48128
48128
  });
@@ -48136,7 +48136,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48136
48136
  }
48137
48137
  }), Rf = (p) => is(p).map((x) => {
48138
48138
  const k = Vs(x);
48139
- return mc(k) ? k : "tbody";
48139
+ return gc(k) ? k : "tbody";
48140
48140
  }).getOr("tbody"), ap = (p) => {
48141
48141
  const x = _1(p), I = [
48142
48142
  ...ju(p),
@@ -48403,7 +48403,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48403
48403
  }, Fa = (p, x) => xi(p.element, x, p.section, p.isNew), qd = (p, x) => {
48404
48404
  const k = p.cells, I = Ke(k, x);
48405
48405
  return xi(p.element, I, p.section, p.isNew);
48406
- }, Xl = (p, x) => p.cells[x], Rl = (p, x) => Xl(p, x).element, pc = (p) => p.cells.length, Ci = (p) => {
48406
+ }, Xl = (p, x) => p.cells[x], Rl = (p, x) => Xl(p, x).element, hc = (p) => p.cells.length, Ci = (p) => {
48407
48407
  const x = Ct(p, (k) => k.section === "colgroup");
48408
48408
  return {
48409
48409
  rows: x.fail,
@@ -48535,8 +48535,8 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48535
48535
  if (k === p.dom)
48536
48536
  return Ao(k.offsetLeft, k.offsetTop);
48537
48537
  const J = Aa(I == null ? void 0 : I.pageYOffset, Z.scrollTop), pe = Aa(I == null ? void 0 : I.pageXOffset, Z.scrollLeft), Ne = Aa(Z.clientTop, k.clientTop), Re = Aa(Z.clientLeft, k.clientLeft);
48538
- return hc(p).translate(pe - Re, J - Ne);
48539
- }, hc = (p) => {
48538
+ return vc(p).translate(pe - Re, J - Ne);
48539
+ }, vc = (p) => {
48540
48540
  const x = p.dom, I = x.ownerDocument.body;
48541
48541
  return I === x ? Ao(I.offsetLeft, I.offsetTop) : un(p) ? ca(x) : Ao(0, 0);
48542
48542
  }, Tb = (p, x) => ({
@@ -48642,7 +48642,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48642
48642
  "empty"
48643
48643
  ])), wn = (p, x, k) => {
48644
48644
  xs(p, "width", x + k);
48645
- }, sr = (p) => Ml(p) + "px", $b = (p) => Nn(p) + "px", ei = (p) => yg(p, Ml, Vf) + "%", Ou = (p) => Ed(p).exists((x) => bm.test(x)), Ui = (p) => Ed(p).exists((x) => co.test(x)), Sx = (p) => Ed(p).isNone(), Jd = P(bm), Ly = xo("col"), vc = (p) => Ed(p).getOrThunk(() => _i(p) + "px"), ir = (p) => Si(p).getOrThunk(() => or(p) + "px"), Qd = (p) => Ke(Rs.justColumns(p), (x) => ce.from(x.element)), gh = (p) => {
48645
+ }, sr = (p) => Ml(p) + "px", $b = (p) => Nn(p) + "px", ei = (p) => yg(p, Ml, Vf) + "%", Ou = (p) => Ed(p).exists((x) => bm.test(x)), Ui = (p) => Ed(p).exists((x) => co.test(x)), Sx = (p) => Ed(p).isNone(), Jd = P(bm), Ly = xo("col"), bc = (p) => Ed(p).getOrThunk(() => _i(p) + "px"), ir = (p) => Si(p).getOrThunk(() => or(p) + "px"), Qd = (p) => Ke(Rs.justColumns(p), (x) => ce.from(x.element)), gh = (p) => {
48646
48646
  const x = Wu().browser, k = x.isChromium() || x.isFirefox();
48647
48647
  return Ly(p) ? k : !0;
48648
48648
  }, La = (p, x, k, I, Z, J) => p.filter(I).fold(() => J(ne(k, x)), (pe) => Z(pe)), ph = (p, x, k, I) => {
@@ -48655,7 +48655,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48655
48655
  return La(Dn, gt, pe, Ne, (ao) => I(ce.some(Ml(ao))), I);
48656
48656
  }
48657
48657
  }, I));
48658
- }, zf = (p) => p.map((x) => x + "px").getOr(""), Vy = (p, x) => ph(p, x, vc, zf), Ql = (p, x, k) => ph(p, x, hp, (I) => I.fold(() => k.minCellWidth(), (Z) => Z / k.pixelWidth() * 100)), nu = (p, x, k) => ph(p, x, _i, (I) => I.getOrThunk(k.minCellWidth)), Ft = (p, x, k, I) => {
48658
+ }, zf = (p) => p.map((x) => x + "px").getOr(""), Vy = (p, x) => ph(p, x, bc, zf), Ql = (p, x, k) => ph(p, x, hp, (I) => I.fold(() => k.minCellWidth(), (Z) => Z / k.pixelWidth() * 100)), nu = (p, x, k) => ph(p, x, _i, (I) => I.getOrThunk(k.minCellWidth)), Ft = (p, x, k, I) => {
48659
48659
  const Z = W(p), J = Ke(p.all, (Ne) => ce.some(Ne.element)), pe = [ce.some(cl.edge(x))].concat(Ke(cl.positions(Z, x), (Ne) => Ne.map((Re) => Re.y)));
48660
48660
  return Ke(J, (Ne, Re) => La(Ne, Re, pe, Ce, k, I));
48661
48661
  }, Hc = (p, x) => Ft(p, x, or, (k) => k.getOrThunk(ig)), Ei = (p, x) => Ft(p, x, ir, zf), ha = (p, x) => () => un(p) ? x(p) : parseFloat(Hi(p, "width").getOr("0")), ou = (p) => {
@@ -48772,7 +48772,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48772
48772
  J.dom.nodeValue = pe;
48773
48773
  }
48774
48774
  };
48775
- })(Nt, "text"), va = (p) => Sr.get(p), ec = (p) => Sr.getOption(p), Td = (p, x) => Sr.set(p, x), bc = (p) => Vs(p) === "img" ? 1 : ec(p).fold(() => os(p).length, (x) => x.length), Yu = (p) => ec(p).filter((x) => x.trim().length !== 0 || x.indexOf(hs) > -1).isSome(), vp = (p) => _o(p) && wr(p, "contenteditable") === "false", bp = [
48775
+ })(Nt, "text"), va = (p) => Sr.get(p), ec = (p) => Sr.getOption(p), Td = (p, x) => Sr.set(p, x), yc = (p) => Vs(p) === "img" ? 1 : ec(p).fold(() => os(p).length, (x) => x.length), Yu = (p) => ec(p).filter((x) => x.trim().length !== 0 || x.indexOf(hs) > -1).isSome(), vp = (p) => _o(p) && wr(p, "contenteditable") === "false", bp = [
48776
48776
  "img",
48777
48777
  "br"
48778
48778
  ], tc = (p) => Yu(p) || Ae(bp, Vs(p)) || vp(p), yp = (p) => Pc(p, tc), wp = (p) => P1(p, tc), P1 = (p, x) => {
@@ -48797,7 +48797,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48797
48797
  }, Ni = (p) => () => {
48798
48798
  const x = It.fromTag("td", p.dom);
48799
48799
  return pr(x, It.fromTag("br", p.dom)), x;
48800
- }, Ku = (p) => () => It.fromTag("col", p.dom), Ks = (p) => () => It.fromTag("colgroup", p.dom), Hr = (p) => () => It.fromTag("tr", p.dom), yc = (p, x, k) => {
48800
+ }, Ku = (p) => () => It.fromTag("col", p.dom), Ks = (p) => () => It.fromTag("colgroup", p.dom), Hr = (p) => () => It.fromTag("tr", p.dom), wc = (p, x, k) => {
48801
48801
  const I = Bi(p, x);
48802
48802
  return tt(k, (Z, J) => {
48803
48803
  Z === null ? rt(I, J) : vs(I, J, Z);
@@ -48840,7 +48840,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48840
48840
  colgroup: Ks(x),
48841
48841
  row: Hr(x),
48842
48842
  cell: Z,
48843
- replace: yc,
48843
+ replace: wc,
48844
48844
  colGap: Ku(x),
48845
48845
  gap: Ni(x)
48846
48846
  };
@@ -48948,7 +48948,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
48948
48948
  }, L1 = (p) => p.inline && _x(p).isSome(), nf = Pl("ui_mode"), of = (p) => !L1(p) && nf(p) === "split", Cp = (p) => Ja(p, "[contenteditable]"), wh = (p, x = !1) => un(p) ? p.dom.isContentEditable : Cp(p).fold(P(x), (k) => Nb(k) === "true"), Nb = (p) => p.dom.contentEditable, V1 = (p) => It.fromDom(p.getBody()), _g = (p) => (x) => dn(x, V1(p)), Sp = (p) => {
48949
48949
  rt(p, "data-mce-style");
48950
48950
  const x = (k) => rt(k, "data-mce-style");
48951
- fe(jd(p), x), fe(gc(p), x), fe(_1(p), x);
48951
+ fe(jd(p), x), fe(pc(p), x), fe(_1(p), x);
48952
48952
  }, Ib = (p) => It.fromDom(p.selection.getStart()), zy = (p) => p.getBoundingClientRect().width, Uy = (p) => p.getBoundingClientRect().height, Ps = (p) => (x, k) => {
48953
48953
  const I = x.dom.getStyle(k, p) || x.dom.getAttrib(k, p);
48954
48954
  return ce.from(I).filter(qe);
@@ -49075,7 +49075,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49075
49075
  wrap: Pi
49076
49076
  }),
49077
49077
  remove: P({
49078
- unwrap: uc,
49078
+ unwrap: dc,
49079
49079
  remove: _r
49080
49080
  }),
49081
49081
  create: P({
@@ -49371,7 +49371,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49371
49371
  }), Eh = (p, x, k) => ga(k(p.element, x), !0, p.isLocked), Mx = (p, x) => p.section !== x ? xi(p.element, p.cells, x, p.isNew) : p, XE = () => ({
49372
49372
  transformRow: Mx,
49373
49373
  transformCell: (p, x, k) => {
49374
- const I = k(p.element, x), Z = Vs(I) !== "td" ? fc(I, "td") : I;
49374
+ const I = k(p.element, x), Z = Vs(I) !== "td" ? mc(I, "td") : I;
49375
49375
  return ga(Z, p.isNew, p.isLocked);
49376
49376
  }
49377
49377
  }), ew = () => ({
@@ -49543,7 +49543,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49543
49543
  const Z = Ci(p).rows;
49544
49544
  let J = !0;
49545
49545
  for (let pe = 0; pe < Z.length; pe++)
49546
- for (let Ne = 0; Ne < pc(Z[0]); Ne++) {
49546
+ for (let Ne = 0; Ne < hc(Z[0]); Ne++) {
49547
49547
  const Re = Z[pe], gt = Xl(Re, Ne), Wt = gt.element, Dn = k(Wt, x);
49548
49548
  Dn && !J ? ps(Re, Ne, ga(I(), !0, gt.isLocked)) : Dn && (J = !1);
49549
49549
  }
@@ -49561,7 +49561,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49561
49561
  fe(pe, (Ne) => {
49562
49562
  let Re = ce.none();
49563
49563
  for (let gt = x; gt < Z.length; gt++)
49564
- for (let Wt = 0; Wt < pc(Z[0]); Wt++) {
49564
+ for (let Wt = 0; Wt < hc(Z[0]); Wt++) {
49565
49565
  const Dn = Z[gt], ao = Xl(Dn, Wt);
49566
49566
  k(ao.element, Ne.element) && (Re.isNone() && (Re = ce.some(I())), Re.each((Wn) => {
49567
49567
  ps(Dn, Wt, ga(Wn, !0, ao.isLocked));
@@ -49619,15 +49619,15 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49619
49619
  error: Ip,
49620
49620
  fromOption: (p, x) => p.fold(() => Ip(x), nT)
49621
49621
  }, $d = (p, x, k) => {
49622
- if (p.row >= x.length || p.column > pc(x[0]))
49622
+ if (p.row >= x.length || p.column > hc(x[0]))
49623
49623
  return Wf.error("invalid start address out of table bounds, row: " + p.row + ", column: " + p.column);
49624
- const I = x.slice(p.row), Z = I[0].cells.slice(p.column), J = pc(k[0]), pe = k.length;
49624
+ const I = x.slice(p.row), Z = I[0].cells.slice(p.column), J = hc(k[0]), pe = k.length;
49625
49625
  return Wf.value({
49626
49626
  rowDelta: I.length - pe,
49627
49627
  colDelta: Z.length - J
49628
49628
  });
49629
49629
  }, Bx = (p, x) => {
49630
- const k = pc(p[0]), I = pc(x[0]);
49630
+ const k = hc(p[0]), I = hc(x[0]);
49631
49631
  return {
49632
49632
  rowDelta: 0,
49633
49633
  colDelta: k - I
@@ -49650,17 +49650,17 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49650
49650
  }, Js = (p, x, k, I) => Ke(p, (Z) => {
49651
49651
  const J = Zf(x, Z, k, Pe);
49652
49652
  return dp(Z, I, J);
49653
- }), wc = (p, x, k) => Ke(p, (I) => Fe(k, (Z, J) => {
49653
+ }), xc = (p, x, k) => Ke(p, (I) => Fe(k, (Z, J) => {
49654
49654
  const pe = Zf(1, I, x, Ce)[0];
49655
49655
  return dh(Z, J, pe);
49656
49656
  }, I)), Qu = (p, x, k) => {
49657
- const I = x.colDelta < 0 ? Js : ee, Z = x.rowDelta < 0 ? K1 : ee, J = na(p), pe = pc(p[0]), Ne = le(J, (Wt) => Wt === pe - 1), Re = I(p, Math.abs(x.colDelta), k, Ne ? pe - 1 : pe), gt = na(Re);
49657
+ const I = x.colDelta < 0 ? Js : ee, Z = x.rowDelta < 0 ? K1 : ee, J = na(p), pe = hc(p[0]), Ne = le(J, (Wt) => Wt === pe - 1), Re = I(p, Math.abs(x.colDelta), k, Ne ? pe - 1 : pe), gt = na(Re);
49658
49658
  return Z(Re, Math.abs(x.rowDelta), k, te(gt, Ce));
49659
49659
  }, Fx = (p, x, k, I) => {
49660
49660
  const Z = Xl(p[x], k), J = Se(I, Z.element), pe = p[x];
49661
- return p.length > 1 && pc(pe) > 1 && (k > 0 && J(Rl(pe, k - 1)) || k < pe.cells.length - 1 && J(Rl(pe, k + 1)) || x > 0 && J(Rl(p[x - 1], k)) || x < p.length - 1 && J(Rl(p[x + 1], k)));
49661
+ return p.length > 1 && hc(pe) > 1 && (k > 0 && J(Rl(pe, k - 1)) || k < pe.cells.length - 1 && J(Rl(pe, k + 1)) || x > 0 && J(Rl(p[x - 1], k)) || x < p.length - 1 && J(Rl(p[x + 1], k)));
49662
49662
  }, ua = (p, x, k, I, Z, J) => {
49663
- const pe = p.row, Ne = p.column, Re = k.length, gt = pc(k[0]), Wt = pe + Re, Dn = Ne + gt + J.length, ao = te(J, Ce);
49663
+ const pe = p.row, Ne = p.column, Re = k.length, gt = hc(k[0]), Wt = pe + Re, Dn = Ne + gt + J.length, ao = te(J, Ce);
49664
49664
  for (let Un = pe; Un < Wt; Un++) {
49665
49665
  let Wn = 0;
49666
49666
  for (let ko = Ne; ko < Dn; ko++) {
@@ -49675,12 +49675,12 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49675
49675
  }
49676
49676
  return x;
49677
49677
  }, Lx = (p, x, k) => {
49678
- const I = pc(x[0]), Z = Ci(x).cols.length + p.row, J = We(I - p.column, (Ne) => Ne + p.column), pe = oe(J, (Ne) => Jt(k, (Re) => Re !== Ne)).getOr(I - 1);
49678
+ const I = hc(x[0]), Z = Ci(x).cols.length + p.row, J = We(I - p.column, (Ne) => Ne + p.column), pe = oe(J, (Ne) => Jt(k, (Re) => Re !== Ne)).getOr(I - 1);
49679
49679
  return {
49680
49680
  row: Z,
49681
49681
  column: pe
49682
49682
  };
49683
- }, Mp = (p, x, k) => je(k, (I) => I >= p.column && I <= pc(x[0]) + p.column), Ah = (p, x, k, I, Z) => {
49683
+ }, Mp = (p, x, k) => je(k, (I) => I >= p.column && I <= hc(x[0]) + p.column), Ah = (p, x, k, I, Z) => {
49684
49684
  const J = na(x), pe = Lx(p, x, J), Ne = Ci(k).rows, Re = Mp(pe, Ne, J);
49685
49685
  return $d(pe, x, Ne).map((Wt) => {
49686
49686
  const Dn = {
@@ -49704,7 +49704,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49704
49704
  } = Ci(Re), Dn = na(Re), ao = Bx(k, x), Un = {
49705
49705
  ...ao,
49706
49706
  colDelta: ao.colDelta + Dn.length
49707
- }, Wn = wc(k, I, Dn), ko = Qu(Wn, Un, I);
49707
+ }, Wn = xc(k, I, Dn), ko = Qu(Wn, Un, I);
49708
49708
  return [
49709
49709
  ...gt,
49710
49710
  ...Wt.slice(0, p),
@@ -49726,7 +49726,7 @@ The conflicting element is` + (ot(re.element) ? " " : " not ") + "already in the
49726
49726
  } else
49727
49727
  return Xl(p, x);
49728
49728
  }, rT = (p, x, k, I, Z) => Ke(p, (J) => {
49729
- const pe = x > 0 && x < pc(J) && I(Rl(J, x - 1), Rl(J, x)), Ne = Gb(J, x, J.section, pe, k, I, Z);
49729
+ const pe = x > 0 && x < hc(J) && I(Rl(J, x - 1), Rl(J, x)), Ne = Gb(J, x, J.section, pe, k, I, Z);
49730
49730
  return dh(J, x, Ne);
49731
49731
  }), J1 = (p, x) => Et(p, (k) => {
49732
49732
  const I = k.cells, Z = vt(x, (J, pe) => pe >= 0 && pe < J.length ? J.slice(0, pe).concat(J.slice(pe + 1)) : J, I);
@@ -50170,7 +50170,7 @@ Required: ` + x.join(", "));
50170
50170
  structure: !0,
50171
50171
  style: !0
50172
50172
  }, hw = (p, x) => bh(p) ? q.percentageSize(x) : tf(p) ? q.pixelSize(x) : q.getTableSize(x), Co = (p, x, k) => {
50173
- const I = (_c) => Vs(V1(_c)) === "table", Z = (_c) => !I(p) || _h(_c).rows > 1, J = (_c) => !I(p) || _h(_c).columns > 1, pe = F1(p), Ne = Sm(p) ? j : Sh, Re = (_c) => {
50173
+ const I = (Ec) => Vs(V1(Ec)) === "table", Z = (Ec) => !I(p) || _h(Ec).rows > 1, J = (Ec) => !I(p) || _h(Ec).columns > 1, pe = F1(p), Ne = Sm(p) ? j : Sh, Re = (Ec) => {
50174
50174
  switch (xp(p)) {
50175
50175
  case "section":
50176
50176
  return Ub.section();
@@ -50179,26 +50179,26 @@ Required: ` + x.join(", "));
50179
50179
  case "cells":
50180
50180
  return Ub.cells();
50181
50181
  default:
50182
- return Ub.getTableSectionType(_c, "section");
50182
+ return Ub.getTableSectionType(Ec, "section");
50183
50183
  }
50184
- }, gt = (_c, rS) => rS.cursor.fold(() => {
50185
- const T0 = jd(_c);
50184
+ }, gt = (Ec, rS) => rS.cursor.fold(() => {
50185
+ const T0 = jd(Ec);
50186
50186
  return X(T0).filter(un).map((Fm) => {
50187
- k.clearSelectedCells(_c.dom);
50187
+ k.clearSelectedCells(Ec.dom);
50188
50188
  const Yi = p.dom.createRng();
50189
50189
  return Yi.selectNode(Fm.dom), p.selection.setRng(Yi), vs(Fm, "data-mce-selected", "1"), Yi;
50190
50190
  });
50191
50191
  }, (T0) => {
50192
50192
  const Fm = Tp(T0), Yi = p.dom.createRng();
50193
- return Yi.setStart(Fm.element.dom, Fm.offset), Yi.setEnd(Fm.element.dom, Fm.offset), p.selection.setRng(Yi), k.clearSelectedCells(_c.dom), ce.some(Yi);
50194
- }), Wt = (_c, rS, T0, Fm) => (Yi, Fg, hD = !1) => {
50193
+ return Yi.setStart(Fm.element.dom, Fm.offset), Yi.setEnd(Fm.element.dom, Fm.offset), p.selection.setRng(Yi), k.clearSelectedCells(Ec.dom), ce.some(Yi);
50194
+ }), Wt = (Ec, rS, T0, Fm) => (Yi, Fg, hD = !1) => {
50195
50195
  Sp(Yi);
50196
50196
  const aS = It.fromDom(p.getDoc()), vD = wm(T0, aS, pe), iS = {
50197
50197
  sizing: hw(p, Yi),
50198
50198
  resize: Sm(p) ? ZE() : Jy(),
50199
50199
  section: Re(Yi)
50200
50200
  };
50201
- return rS(Yi) ? _c(Yi, Fg, vD, iS).bind((lS) => {
50201
+ return rS(Yi) ? Ec(Yi, Fg, vD, iS).bind((lS) => {
50202
50202
  x.refresh(Yi.dom), fe(lS.newRows, (k0) => {
50203
50203
  Ti(p, k0.dom);
50204
50204
  }), fe(lS.newCells, (k0) => {
@@ -50210,7 +50210,7 @@ Required: ` + x.join(", "));
50210
50210
  effect: Fm
50211
50211
  }));
50212
50212
  }) : ce.none();
50213
- }, Dn = Wt(Jx, Z, j, dl), ao = Wt(Xx, J, j, dl), Un = Wt(TT, Ce, j, dl), Wn = Wt(hO, Ce, j, dl), ko = Wt(gw, Ce, Ne, dl), In = Wt(Kx, Ce, Ne, dl), Yo = Wt(Og, Ce, j, dl), _n = Wt(Qx, Ce, j, dl), vo = Wt(DT, Ce, j, dl), xr = Wt(pw, Ce, j, dl), Cr = Wt(tC, Ce, j, dl), Io = Wt(nC, Ce, j, dl), qr = Wt(eC, Ce, j, NT), Sc = Wt(Fl, Ce, j, dl), Zp = Wt(bO, Ce, j, dl), ff = Wt(kT, Ce, j, dl), zs = Wt(AT, Ce, j, dl), Or = Wt($T, Ce, j, dl), zl = Wt(OT, Ce, j, dl), qi = Wt(vO, Ce, j, dl);
50213
+ }, Dn = Wt(Jx, Z, j, dl), ao = Wt(Xx, J, j, dl), Un = Wt(TT, Ce, j, dl), Wn = Wt(hO, Ce, j, dl), ko = Wt(gw, Ce, Ne, dl), In = Wt(Kx, Ce, Ne, dl), Yo = Wt(Og, Ce, j, dl), _n = Wt(Qx, Ce, j, dl), vo = Wt(DT, Ce, j, dl), xr = Wt(pw, Ce, j, dl), Cr = Wt(tC, Ce, j, dl), Io = Wt(nC, Ce, j, dl), qr = Wt(eC, Ce, j, NT), _c = Wt(Fl, Ce, j, dl), Zp = Wt(bO, Ce, j, dl), ff = Wt(kT, Ce, j, dl), zs = Wt(AT, Ce, j, dl), Or = Wt($T, Ce, j, dl), zl = Wt(OT, Ce, j, dl), qi = Wt(vO, Ce, j, dl);
50214
50214
  return {
50215
50215
  deleteRow: Dn,
50216
50216
  deleteColumn: ao,
@@ -50225,7 +50225,7 @@ Required: ` + x.join(", "));
50225
50225
  pasteRowsBefore: Cr,
50226
50226
  pasteRowsAfter: Io,
50227
50227
  pasteCells: qr,
50228
- makeCellsHeader: Sc,
50228
+ makeCellsHeader: _c,
50229
50229
  unmakeCellsHeader: Zp,
50230
50230
  makeColumnsHeader: ff,
50231
50231
  unmakeColumnsHeader: zs,
@@ -50291,7 +50291,7 @@ Required: ` + x.join(", "));
50291
50291
  }, Zi = (p, x) => Ke(p, (k) => Dm.from(k).fold(() => k, (Z) => Z / x * 100 + "%", (Z) => Z + "%")), Dd = (p, x, k) => {
50292
50292
  const I = k / x;
50293
50293
  return Ke(p, (Z) => Dm.from(Z).fold(() => Z, (pe) => pe * I + "px", (pe) => pe / 100 * k + "px"));
50294
- }, Cc = (p, x) => {
50294
+ }, Sc = (p, x) => {
50295
50295
  const k = p.fold(() => P(""), (I) => {
50296
50296
  const Z = I / x;
50297
50297
  return P(Z + "px");
@@ -50301,7 +50301,7 @@ Required: ` + x.join(", "));
50301
50301
  });
50302
50302
  return We(x, k);
50303
50303
  }, rC = (p, x, k) => p.fold(() => x, (I) => Dd(x, k, I), (I) => Zi(x, k)), bw = (p, x, k) => {
50304
- const I = Dm.from(k), Z = Jt(p, (J) => J === "0px") ? Cc(I, p.length) : rC(I, p, x);
50304
+ const I = Dm.from(k), Z = Jt(p, (J) => J === "0px") ? Sc(I, p.length) : rC(I, p, x);
50305
50305
  return RT(Z);
50306
50306
  }, aC = (p, x) => p.length === 0 ? x : vt(p, (k, I) => Dm.from(I).fold(P(0), ee, ee) + k, 0), MT = (p, x) => {
50307
50307
  const k = Math.floor(p);
@@ -50367,7 +50367,7 @@ Required: ` + x.join(", "));
50367
50367
  iC(p, ce.none(), ce.some(x)), sv(p);
50368
50368
  }, LT = (p) => {
50369
50369
  ta(p, "width");
50370
- const x = gc(p), k = x.length > 0 ? x : jd(p);
50370
+ const x = pc(p), k = x.length > 0 ? x : jd(p);
50371
50371
  fe(k, (I) => {
50372
50372
  ta(I, "width"), sv(I);
50373
50373
  }), sv(p);
@@ -50554,8 +50554,8 @@ Required: ` + x.join(", "));
50554
50554
  const xr = Zt(Yo, (Cr, Io) => p.formatter.has(_n(Io)) && h(Cr));
50555
50555
  yn(xr) || (tt(xr, (Cr, Io) => {
50556
50556
  const qr = _n(Io);
50557
- fe(vo, (Sc) => {
50558
- Cr === "" ? p.formatter.remove(qr, { value: null }, Sc.dom, !0) : p.formatter.apply(qr, { value: Cr }, Sc.dom);
50557
+ fe(vo, (_c) => {
50558
+ Cr === "" ? p.formatter.remove(qr, { value: null }, _c.dom, !0) : p.formatter.apply(qr, { value: Cr }, _c.dom);
50559
50559
  });
50560
50560
  }), J(vo[0]).each((Cr) => vi(p, Cr.dom, e0)));
50561
50561
  });
@@ -50685,7 +50685,7 @@ Required: ` + x.join(", "));
50685
50685
  return iv.create(It.fromDom(k.startContainer), k.startOffset, It.fromDom(k.endContainer), k.endOffset);
50686
50686
  }, Ow = i0.create, LO = (p, x, k, I, Z, J, pe) => dn(k, Z) && I === J ? ce.none() : Ja(k, "td,th", x).bind((Ne) => Ja(Z, "td,th", x).bind((Re) => JT(p, x, Ne, Re, pe))), JT = (p, x, k, I, Z) => dn(k, I) ? ce.none() : Ky(k, I, x).bind((J) => {
50687
50687
  const pe = J.boxes.getOr([]);
50688
- return pe.length > 1 ? (Z(p, pe, J.start, J.finish), ce.some(av.create(ce.some(Ow(k, 0, k, bc(k))), !0))) : ce.none();
50688
+ return pe.length > 1 ? (Z(p, pe, J.start, J.finish), ce.some(av.create(ce.some(Ow(k, 0, k, yc(k))), !0))) : ce.none();
50689
50689
  }), VO = (p, x, k, I, Z) => {
50690
50690
  const J = (pe) => (Z.clearBeforeUpdate(k), Z.selectRange(k, pe.boxes, pe.start, pe.finish), pe.boxes);
50691
50691
  return Xu(I, p, x, Z.firstSelectedSelector, Z.lastSelectedSelector).map(J);
@@ -50730,7 +50730,7 @@ Required: ` + x.join(", "));
50730
50730
  return Z.right > I.left && Z.left < I.right;
50731
50731
  }, Yc = (p) => Ja(p, "tr"), cv = {
50732
50732
  ...u0,
50733
- verify: (p, x, k, I, Z, J, pe) => Ja(I, "td,th", pe).bind((Ne) => Ja(x, "td,th", pe).map((Re) => dn(Ne, Re) ? dn(I, Ne) && bc(Ne) === Z ? J(Re) : u0.none("in same cell") : z1(Yc, [
50733
+ verify: (p, x, k, I, Z, J, pe) => Ja(I, "td,th", pe).bind((Ne) => Ja(x, "td,th", pe).map((Re) => dn(Ne, Re) ? dn(I, Ne) && yc(Ne) === Z ? J(Re) : u0.none("in same cell") : z1(Yc, [
50734
50734
  Ne,
50735
50735
  Re
50736
50736
  ]).fold(() => tk(p, Re, Ne) ? u0.success() : J(Re), (gt) => J(Re)))).getOr(u0.none("default")),
@@ -50746,7 +50746,7 @@ Required: ` + x.join(", "));
50746
50746
  }), d0 = (p, x) => xn(p, Se(dn, x)), Lp = xo("br"), AC = (p, x, k) => x(p, k).bind((I) => Nt(I) && va(I).trim().length === 0 ? AC(I, x, k) : ce.some(I)), sk = (p, x, k) => k.traverse(x).orThunk(() => AC(x, k.gather, p)).map(k.relative), ZO = (p, x) => gs(p, x).filter(Lp).orThunk(() => gs(p, x - 1).filter(Lp)), rk = (p, x, k, I) => ZO(x, k).bind((Z) => I.traverse(Z).fold(() => AC(Z, I.gather, p).map(I.relative), (J) => ok(J).map((pe) => qc.on(pe.parent, pe.index)))), f0 = (p, x, k, I) => (Lp(x) ? sk(p, x, I) : rk(p, x, k, I)).map((J) => ({
50747
50747
  start: J,
50748
50748
  finish: J
50749
- })), ak = (p) => cv.cata(p, (x) => ce.none(), () => ce.none(), (x) => ce.some(su(x, 0)), (x) => ce.some(su(x, bc(x)))), m0 = (p, x) => ({
50749
+ })), ak = (p) => cv.cata(p, (x) => ce.none(), () => ce.none(), (x) => ce.some(su(x, 0)), (x) => ce.some(su(x, yc(x)))), m0 = (p, x) => ({
50750
50750
  left: p.left,
50751
50751
  top: p.top + x,
50752
50752
  right: p.right,
@@ -50761,12 +50761,12 @@ Required: ` + x.join(", "));
50761
50761
  top: p.top + k,
50762
50762
  right: p.right + x,
50763
50763
  bottom: p.bottom + k
50764
- }), dv = (p) => p.top, Bh = (p) => p.bottom, Fh = (p, x, k) => k >= 0 && k < bc(x) ? p.getRangedRect(x, k, x, k + 1) : k > 0 ? p.getRangedRect(x, k - 1, x, k) : ce.none(), Ng = (p) => ({
50764
+ }), dv = (p) => p.top, Bh = (p) => p.bottom, Fh = (p, x, k) => k >= 0 && k < yc(x) ? p.getRangedRect(x, k, x, k + 1) : k > 0 ? p.getRangedRect(x, k - 1, x, k) : ce.none(), Ng = (p) => ({
50765
50765
  left: p.left,
50766
50766
  top: p.top,
50767
50767
  right: p.right,
50768
50768
  bottom: p.bottom
50769
- }), OC = (p, x) => ce.some(p.getRect(x)), Im = (p, x, k) => Gs(x) ? OC(p, x).map(Ng) : Nt(x) ? Fh(p, x, k).map(Ng) : ce.none(), lf = (p, x) => Gs(x) ? OC(p, x).map(Ng) : Nt(x) ? p.getRangedRect(x, 0, x, bc(x)).map(Ng) : ce.none(), Mm = 5, DC = 100, qf = jc.generate([
50769
+ }), OC = (p, x) => ce.some(p.getRect(x)), Im = (p, x, k) => Gs(x) ? OC(p, x).map(Ng) : Nt(x) ? Fh(p, x, k).map(Ng) : ce.none(), lf = (p, x) => Gs(x) ? OC(p, x).map(Ng) : Nt(x) ? p.getRangedRect(x, 0, x, yc(x)).map(Ng) : ce.none(), Mm = 5, DC = 100, qf = jc.generate([
50770
50770
  { none: [] },
50771
50771
  { retry: ["caret"] }
50772
50772
  ]), NC = (p, x) => p.left < x.left || Math.abs(x.right - p.left) < 1 || p.left > x.right, Lh = (p, x, k) => Ia(x, ev).fold(Pe, (I) => lf(p, I).exists((Z) => NC(k, Z))), fv = (p, x, k, I, Z) => {
@@ -50797,7 +50797,7 @@ Required: ` + x.join(", "));
50797
50797
  return ak(pe);
50798
50798
  })), Vh = (p, x, k, I, Z, J) => J === 0 ? ce.none() : uP(p, x, k, I, Z).bind((pe) => {
50799
50799
  const Ne = p.fromSitus(pe), Re = cv.verify(p, k, I, Ne.finish, Ne.foffset, Z.failure, x);
50800
- return cv.cata(Re, () => ce.none(), () => ce.some(pe), (gt) => dn(k, gt) && I === 0 ? dk(p, k, I, uv, Z) : Vh(p, x, gt, 0, Z, J - 1), (gt) => dn(k, gt) && I === bc(gt) ? dk(p, k, I, m0, Z) : Vh(p, x, gt, bc(gt), Z, J - 1));
50800
+ return cv.cata(Re, () => ce.none(), () => ce.some(pe), (gt) => dn(k, gt) && I === 0 ? dk(p, k, I, uv, Z) : Vh(p, x, gt, 0, Z, J - 1), (gt) => dn(k, gt) && I === yc(gt) ? dk(p, k, I, m0, Z) : Vh(p, x, gt, yc(gt), Z, J - 1));
50801
50801
  }), dk = (p, x, k, I, Z) => Im(p, x, k).bind((J) => h0(p, Z, I(J, cf.getJumpSize()))), h0 = (p, x, k) => {
50802
50802
  const I = Wu().browser;
50803
50803
  return I.isChromium() || I.isSafari() || I.isFirefox() ? x.retry(p, k) : ce.none();
@@ -50811,7 +50811,7 @@ Required: ` + x.join(", "));
50811
50811
  })), ed = (p, x) => Ja(p, "tr", x).bind((k) => Ja(k, "table", x).bind((I) => {
50812
50812
  const Z = Os(I, "tr");
50813
50813
  return dn(k, Z[0]) ? UO(I, (J) => wp(J).isSome(), x).map((J) => {
50814
- const pe = bc(J);
50814
+ const pe = yc(J);
50815
50815
  return av.create(ce.some(Ow(J, pe, J, pe)), !0);
50816
50816
  }) : ce.none();
50817
50817
  })), mk = (p, x) => Ja(p, "tr", x).bind((k) => Ja(k, "table", x).bind((I) => {
@@ -51247,14 +51247,14 @@ Required: ` + x.join(", "));
51247
51247
  const zl = Rg(Or);
51248
51248
  x.hide();
51249
51249
  const qi = p.selection.getRng(), Md = It.fromDom(qi.startContainer), Ul = It.fromDom(qi.endContainer), mf = xe(df, Fw)(It.fromDom(p.selection.getStart()));
51250
- Wn.keydown(zl, Md, qi.startOffset, Ul, qi.endOffset, mf).each((_c) => {
51251
- Yo(zl, _c);
51250
+ Wn.keydown(zl, Md, qi.startOffset, Ul, qi.endOffset, mf).each((Ec) => {
51251
+ Yo(zl, Ec);
51252
51252
  }), x.show();
51253
51253
  }, xr = (Or) => Or.button === 0, Cr = (Or) => Or.buttons === void 0 ? !0 : (Or.buttons & 1) !== 0, Io = (Or) => {
51254
51254
  Un.clearstate();
51255
51255
  }, qr = (Or) => {
51256
51256
  xr(Or) && Wp(Or) && Un.mousedown(Rg(Or));
51257
- }, Sc = (Or) => {
51257
+ }, _c = (Or) => {
51258
51258
  Cr(Or) && Wp(Or) && Un.mouseover(Rg(Or));
51259
51259
  }, Zp = (Or) => {
51260
51260
  xr(Or) && Wp(Or) && Un.mouseup(Rg(Or));
@@ -51263,13 +51263,13 @@ Required: ` + x.join(", "));
51263
51263
  return { touchEnd: (Md) => {
51264
51264
  const Ul = It.fromDom(Md.target);
51265
51265
  if (xo("td")(Ul) || xo("th")(Ul)) {
51266
- const mf = Or.get(), _c = zl.get();
51267
- dn(mf, Ul) && Md.timeStamp - _c < 300 && (Md.preventDefault(), ko(Ul, Ul));
51266
+ const mf = Or.get(), Ec = zl.get();
51267
+ dn(mf, Ul) && Md.timeStamp - Ec < 300 && (Md.preventDefault(), ko(Ul, Ul));
51268
51268
  }
51269
51269
  Or.set(Ul), zl.set(Md.timeStamp);
51270
51270
  } };
51271
51271
  })();
51272
- p.on("dragstart", Io), p.on("mousedown", qr), p.on("mouseover", Sc), p.on("mouseup", Zp), p.on("touchend", zs.touchEnd), p.on("keyup", _n), p.on("keydown", vo), p.on("NodeChange", ao);
51272
+ p.on("dragstart", Io), p.on("mousedown", qr), p.on("mouseover", _c), p.on("mouseup", Zp), p.on("touchend", zs.touchEnd), p.on("keyup", _n), p.on("keydown", vo), p.on("NodeChange", ao);
51273
51273
  }), p.on("PreInit", () => {
51274
51274
  p.serializer.addTempAttr(Du.firstSelected), p.serializer.addTempAttr(Du.lastSelected);
51275
51275
  }), {
@@ -51766,10 +51766,10 @@ Required: ` + x.join(", "));
51766
51766
  const x = b0(), k = b0(), I = b0();
51767
51767
  let Z, J, pe, Ne;
51768
51768
  const Re = (vo) => hw(p, vo), gt = () => FE(p) ? Jy() : ZE(), Wt = (vo) => _h(vo).columns, Dn = (vo) => _h(vo).rows, ao = (vo, xr, Cr, Io) => {
51769
- const qr = oS(xr), Sc = ol(qr, "e"), Zp = di(qr, "n");
51769
+ const qr = oS(xr), _c = ol(qr, "e"), Zp = di(qr, "n");
51770
51770
  if (J === "" && Pp(vo), Ne === "" && TO(vo), Cr !== Z && J !== "") {
51771
51771
  xs(vo, "width", J);
51772
- const ff = gt(), zs = Re(vo), Or = FE(p) || Sc ? Wt(vo) - 1 : 0;
51772
+ const ff = gt(), zs = Re(vo), Or = FE(p) || _c ? Wt(vo) - 1 : 0;
51773
51773
  sw(vo, Cr - Z, Or, ff, zs);
51774
51774
  } else if (jy(J)) {
51775
51775
  const ff = parseFloat(J.replace("%", "")), zs = Cr * ff / Z;
@@ -51797,10 +51797,10 @@ Required: ` + x.join(", "));
51797
51797
  const qr = Io.table.dom;
51798
51798
  oC(p, qr, zy(qr), Uy(qr), nS + Io.type);
51799
51799
  }), Cr.events.afterResize.bind((Io) => {
51800
- const qr = Io.table, Sc = qr.dom;
51800
+ const qr = Io.table, _c = qr.dom;
51801
51801
  Sp(qr), x.on((Zp) => {
51802
51802
  p.selection.setRng(Zp), p.focus();
51803
- }), Qb(p, Sc, zy(Sc), Uy(Sc), nS + Io.type), p.undoManager.add();
51803
+ }), Qb(p, _c, zy(_c), Uy(_c), nS + Io.type), p.undoManager.add();
51804
51804
  }), k.set(Cr);
51805
51805
  }
51806
51806
  }), p.on("ObjectResizeStart", (vo) => {
@@ -52731,10 +52731,10 @@ tinymce.addI18n("zh_CN", {
52731
52731
  const ft = Ic(ge);
52732
52732
  ke.prepend(ft), ge.selection.setCursorLocation(ft, 0);
52733
52733
  }
52734
- }, uc = (ge) => (ke) => {
52734
+ }, dc = (ge) => (ke) => {
52735
52735
  tl(ge, ke), _r(ge, ke);
52736
52736
  }, $i = (ge) => {
52737
- wi.each(wi.grep(ge.dom.select("details", ge.getBody())), uc(ge));
52737
+ wi.each(wi.grep(ge.dom.select("details", ge.getBody())), dc(ge));
52738
52738
  }, xl = (ge) => {
52739
52739
  if (!_a(ge))
52740
52740
  return;
@@ -52755,7 +52755,7 @@ tinymce.addI18n("zh_CN", {
52755
52755
  }, Ea = (ge, ke) => {
52756
52756
  const ft = ke ?? !gs(ge);
52757
52757
  return ft ? ge.setAttribute("open", "open") : ge.removeAttribute("open"), ft;
52758
- }, dc = (ge, ke) => {
52758
+ }, fc = (ge, ke) => {
52759
52759
  Na(ge).each((ft) => {
52760
52760
  so(ge, ft, Ea(ft, ke));
52761
52761
  });
@@ -52764,13 +52764,13 @@ tinymce.addI18n("zh_CN", {
52764
52764
  const { nextSibling: ft } = ke;
52765
52765
  ft ? (ge.selection.select(ft, !0), ge.selection.collapse(!0)) : Es(ge, ke), ke.remove();
52766
52766
  });
52767
- }, fc = (ge, ke) => {
52767
+ }, mc = (ge, ke) => {
52768
52768
  const ft = Array.from(ge.getBody().querySelectorAll("details"));
52769
52769
  ft.length !== 0 && (Y(ft, (un) => Ea(un, ke ?? !gs(un))), Qn(ge, ft, ke));
52770
52770
  }, ql = (ge) => {
52771
- ge.addCommand("InsertAccordion", () => xl(ge)), ge.addCommand("ToggleAccordion", (ke, ft) => dc(ge, ft)), ge.addCommand("ToggleAllAccordions", (ke, ft) => fc(ge, ft)), ge.addCommand("RemoveAccordion", () => Bi(ge));
52771
+ ge.addCommand("InsertAccordion", () => xl(ge)), ge.addCommand("ToggleAccordion", (ke, ft) => fc(ge, ft)), ge.addCommand("ToggleAllAccordions", (ke, ft) => mc(ge, ft)), ge.addCommand("RemoveAccordion", () => Bi(ge));
52772
52772
  };
52773
- var mc = tinymce.util.Tools.resolve("tinymce.html.Node");
52773
+ var gc = tinymce.util.Tools.resolve("tinymce.html.Node");
52774
52774
  const ea = (ge) => {
52775
52775
  var ke, ft;
52776
52776
  return (ft = (ke = ge.attr("class")) === null || ke === void 0 ? void 0 : ke.split(" ")) !== null && ft !== void 0 ? ft : [];
@@ -52797,7 +52797,7 @@ tinymce.addI18n("zh_CN", {
52797
52797
  otherNodes: Yn
52798
52798
  };
52799
52799
  }, ia = (ge) => {
52800
- const ke = new mc("br", 1);
52800
+ const ke = new gc("br", 1);
52801
52801
  ke.attr("data-mce-bogus", "1"), ge.empty(), ge.append(ke);
52802
52802
  }, ga = (ge) => {
52803
52803
  ge.on("PreInit", () => {
@@ -52806,16 +52806,16 @@ tinymce.addI18n("zh_CN", {
52806
52806
  for (let Yn = 0; Yn < un.length; Yn++) {
52807
52807
  const ae = un[Yn];
52808
52808
  if (Kl(ae)) {
52809
- const Ee = ae, { summaryNode: it, wrapperNode: Vt, otherNodes: Ln } = Fi(Ee), Hn = A(it), Os = Hn ? it : new mc("summary", 1);
52809
+ const Ee = ae, { summaryNode: it, wrapperNode: Vt, otherNodes: Ln } = Fi(Ee), Hn = A(it), Os = Hn ? it : new gc("summary", 1);
52810
52810
  T(Os.firstChild) && ia(Os), nl(Os, [is]), Hn || (A(Ee.firstChild) ? Ee.insert(Os, Ee.firstChild, !0) : Ee.append(Os));
52811
- const wa = A(Vt), hn = wa ? Vt : new mc(Hs, 1);
52811
+ const wa = A(Vt), hn = wa ? Vt : new gc(Hs, 1);
52812
52812
  if (hn.attr("data-mce-bogus", "1"), nl(hn, [qs]), Ln.length > 0)
52813
52813
  for (let Ia = 0; Ia < Ln.length; Ia++) {
52814
52814
  const ar = Ln[Ia];
52815
52815
  hn.append(ar);
52816
52816
  }
52817
52817
  if (T(hn.firstChild)) {
52818
- const Ia = new mc("p", 1);
52818
+ const Ia = new gc("p", 1);
52819
52819
  ia(Ia), hn.append(Ia);
52820
52820
  }
52821
52821
  wa || Ee.append(hn);
@@ -58132,10 +58132,10 @@ tinymce.addI18n("zh_CN", {
58132
58132
  opera: Te(_a),
58133
58133
  firefox: Te(Na),
58134
58134
  safari: Te(pr)
58135
- }, Es = "Windows", tl = "iOS", _r = "Android", uc = "Linux", $i = "macOS", xl = "Solaris", Ea = "FreeBSD", dc = "ChromeOS", Bi = () => fc({
58135
+ }, Es = "Windows", tl = "iOS", _r = "Android", dc = "Linux", $i = "macOS", xl = "Solaris", Ea = "FreeBSD", fc = "ChromeOS", Bi = () => mc({
58136
58136
  current: void 0,
58137
58137
  version: so.unknown()
58138
- }), fc = (Ue) => {
58138
+ }), mc = (Ue) => {
58139
58139
  const qe = Ue.current, jt = Ue.version, vn = (No) => () => qe === No;
58140
58140
  return {
58141
58141
  current: qe,
@@ -58144,22 +58144,22 @@ tinymce.addI18n("zh_CN", {
58144
58144
  isiOS: vn(tl),
58145
58145
  isAndroid: vn(_r),
58146
58146
  isMacOS: vn($i),
58147
- isLinux: vn(uc),
58147
+ isLinux: vn(dc),
58148
58148
  isSolaris: vn(xl),
58149
58149
  isFreeBSD: vn(Ea),
58150
- isChromeOS: vn(dc)
58150
+ isChromeOS: vn(fc)
58151
58151
  };
58152
58152
  }, ql = {
58153
58153
  unknown: Bi,
58154
- nu: fc,
58154
+ nu: mc,
58155
58155
  windows: Te(Es),
58156
58156
  ios: Te(tl),
58157
58157
  android: Te(_r),
58158
- linux: Te(uc),
58158
+ linux: Te(dc),
58159
58159
  macos: Te($i),
58160
58160
  solaris: Te(xl),
58161
58161
  freebsd: Te(Ea),
58162
- chromeos: Te(dc)
58162
+ chromeos: Te(fc)
58163
58163
  }, ea = { detect: (Ue, qe, jt) => {
58164
58164
  const vn = os.browsers(), No = os.oses(), Ms = qe.bind((Ba) => Qn(vn, Ba)).orThunk(() => Fo(vn, Ue)).fold(Ic.unknown, Ic.nu), xs = is(No, Ue).fold(ql.unknown, ql.nu), Er = Qe(xs, Ms, Ue, jt);
58165
58165
  return {
@@ -59705,7 +59705,7 @@ tinymce.addI18n("zh_CN", {
59705
59705
  borderstyle: ae.borderStyle,
59706
59706
  fileinput: [],
59707
59707
  isDecorative: ae.isDecorative
59708
- }), uc = (ae, Ee) => ({
59708
+ }), dc = (ae, Ee) => ({
59709
59709
  src: ae.src.value,
59710
59710
  alt: (ae.alt === null || ae.alt.length === 0) && Ee ? null : ae.alt,
59711
59711
  title: ae.title,
@@ -59733,7 +59733,7 @@ tinymce.addI18n("zh_CN", {
59733
59733
  ae.hasDescription && w(it.alt) && (Ee.alt = it.alt), ae.hasAccessibilityOptions && (Ee.isDecorative = it.isDecorative || Ee.isDecorative || !1), ae.hasImageTitle && w(it.title) && (Ee.title = it.title), ae.hasDimensions && (w(it.width) && (Ee.dimensions.width = it.width), w(it.height) && (Ee.dimensions.height = it.height)), w(it.class) && bs.findEntry(ae.classList, it.class).each((Vt) => {
59734
59734
  Ee.classes = Vt.value;
59735
59735
  }), ae.hasImageCaption && N(it.caption) && (Ee.caption = it.caption), ae.hasAdvTab && (w(it.style) && (Ee.style = it.style), w(it.vspace) && (Ee.vspace = it.vspace), w(it.border) && (Ee.border = it.border), w(it.hspace) && (Ee.hspace = it.hspace), w(it.borderstyle) && (Ee.borderstyle = it.borderstyle));
59736
- }, dc = (ae, Ee) => {
59736
+ }, fc = (ae, Ee) => {
59737
59737
  const it = Ee.getData(), Vt = it.src.meta;
59738
59738
  if (Vt !== void 0) {
59739
59739
  const Ln = so({}, it);
@@ -59749,12 +59749,12 @@ tinymce.addI18n("zh_CN", {
59749
59749
  height: ""
59750
59750
  }
59751
59751
  }));
59752
- }, fc = (ae, Ee, it) => {
59752
+ }, mc = (ae, Ee, it) => {
59753
59753
  const Vt = it.getData(), Ln = bs.findEntry(ae.imageList, Vt.src.value);
59754
59754
  Ee.prevImage = Ln, it.setData({ images: Ln.map((Hn) => Hn.value).getOr("") });
59755
59755
  }, ql = (ae, Ee, it, Vt) => {
59756
- xl(Ee, Vt), dc(Ee, Vt), Bi(ae, Ee, it, Vt), fc(Ee, it, Vt);
59757
- }, mc = (ae, Ee, it, Vt) => {
59756
+ xl(Ee, Vt), fc(Ee, Vt), Bi(ae, Ee, it, Vt), mc(Ee, it, Vt);
59757
+ }, gc = (ae, Ee, it, Vt) => {
59758
59758
  const Ln = Vt.getData(), Hn = bs.findEntry(Ee.imageList, Ln.images);
59759
59759
  Hn.each((Os) => {
59760
59760
  Ln.alt === "" || it.prevImage.map((hn) => hn.text === Ln.alt).getOr(!1) ? Os.value === "" ? Vt.setData({
@@ -59792,7 +59792,7 @@ tinymce.addI18n("zh_CN", {
59792
59792
  });
59793
59793
  });
59794
59794
  }, nl = (ae, Ee, it) => (Vt, Ln) => {
59795
- Ln.name === "src" ? ql(ae, Ee, it, Vt) : Ln.name === "images" ? mc(ae, Ee, it, Vt) : Ln.name === "alt" ? it.prevAlt = Vt.getData().alt : Ln.name === "fileinput" ? ea(ae, Ee, it, Vt) : Ln.name === "isDecorative" && Vt.setEnabled("alt", !Vt.getData().isDecorative);
59795
+ Ln.name === "src" ? ql(ae, Ee, it, Vt) : Ln.name === "images" ? gc(ae, Ee, it, Vt) : Ln.name === "alt" ? it.prevAlt = Vt.getData().alt : Ln.name === "fileinput" ? ea(ae, Ee, it, Vt) : Ln.name === "isDecorative" && Vt.setEnabled("alt", !Vt.getData().isDecorative);
59796
59796
  }, Yl = (ae) => () => {
59797
59797
  ae.open = !1;
59798
59798
  }, Kl = (ae) => ae.hasAdvTab || ae.hasUploadUrl || ae.hasUploadHandler ? {
@@ -59808,9 +59808,9 @@ tinymce.addI18n("zh_CN", {
59808
59808
  }, Qc = (ae, Ee, it) => (Vt) => {
59809
59809
  const Ln = so(_r(Ee.image), Vt.getData()), Hn = {
59810
59810
  ...Ln,
59811
- style: vs(it.normalizeCss, uc(Ln, !1))
59811
+ style: vs(it.normalizeCss, dc(Ln, !1))
59812
59812
  };
59813
- ae.execCommand("mceUpdateImage", !1, uc(Hn, Ee.hasAccessibilityOptions)), ae.editorUpload.uploadImagesAuto(), Vt.close();
59813
+ ae.execCommand("mceUpdateImage", !1, dc(Hn, Ee.hasAccessibilityOptions)), ae.editorUpload.uploadImagesAuto(), Vt.close();
59814
59814
  }, Fi = (ae) => (Ee) => pn(ae, Ee) ? Ot(ae.documentBaseURI.toAbsolute(Ee)).then((it) => ({
59815
59815
  width: String(it.width),
59816
59816
  height: String(it.height)
@@ -60805,7 +60805,7 @@ tinymce.addI18n("zh_CN", {
60805
60805
  on: (xt) => $e.get().each(xt)
60806
60806
  };
60807
60807
  }, Ic = ($e, ot) => $e.substring(ot), Es = ($e, ot, xt) => ot === "" || $e.length >= ot.length && $e.substr(xt, xt + ot.length) === ot, tl = ($e, ot) => _r($e, ot) ? Ic($e, ot.length) : $e, _r = ($e, ot) => Es($e, ot, 0);
60808
- var uc = tinymce.util.Tools.resolve("tinymce.util.VK");
60808
+ var dc = tinymce.util.Tools.resolve("tinymce.util.VK");
60809
60809
  const $i = ($e, ot) => {
60810
60810
  document.body.appendChild($e), $e.dispatchEvent(ot), document.body.removeChild($e);
60811
60811
  }, xl = ($e) => {
@@ -60817,7 +60817,7 @@ tinymce.addI18n("zh_CN", {
60817
60817
  view: window
60818
60818
  });
60819
60819
  document.dispatchEvent(xt), $i(ot, xt);
60820
- }, Ea = ($e) => $e.altKey === !0 && $e.shiftKey === !1 && $e.ctrlKey === !1 && $e.metaKey === !1, dc = ($e, ot) => {
60820
+ }, Ea = ($e) => $e.altKey === !0 && $e.shiftKey === !1 && $e.ctrlKey === !1 && $e.metaKey === !1, fc = ($e, ot) => {
60821
60821
  if (ot) {
60822
60822
  const xt = Tn(ot);
60823
60823
  if (/^#/.test(xt)) {
@@ -60829,25 +60829,25 @@ tinymce.addI18n("zh_CN", {
60829
60829
  }, Bi = ($e) => {
60830
60830
  const ot = $e.selection.getRng(), xt = ot.startContainer;
60831
60831
  return tt(xt) && ot.startContainer === ot.endContainer && $e.dom.select("img", xt).length === 1;
60832
- }, fc = ($e, ot) => {
60832
+ }, mc = ($e, ot) => {
60833
60833
  const xt = Ht($e.dom.getParents(ot));
60834
60834
  return be(xt.length === 1, xt[0]);
60835
60835
  }, ql = ($e) => {
60836
60836
  const ot = uo($e.selection.getRng());
60837
- return be(ot.length > 0, ot[0]).or(fc($e, $e.selection.getNode()));
60838
- }, mc = ($e) => $e.selection.isCollapsed() || Bi($e) ? fc($e, $e.selection.getStart()) : ql($e), ea = ($e) => {
60839
- const ot = Pi(), xt = () => ot.get().or(mc($e)), fn = () => xt().each((ge) => dc($e, ge));
60837
+ return be(ot.length > 0, ot[0]).or(mc($e, $e.selection.getNode()));
60838
+ }, gc = ($e) => $e.selection.isCollapsed() || Bi($e) ? mc($e, $e.selection.getStart()) : ql($e), ea = ($e) => {
60839
+ const ot = Pi(), xt = () => ot.get().or(gc($e)), fn = () => xt().each((ge) => fc($e, ge));
60840
60840
  return $e.on("contextmenu", (ge) => {
60841
- fc($e, ge.target).each(ot.set);
60841
+ mc($e, ge.target).each(ot.set);
60842
60842
  }), $e.on("SelectionChange", () => {
60843
- ot.isSet() || mc($e).each(ot.set);
60843
+ ot.isSet() || gc($e).each(ot.set);
60844
60844
  }), $e.on("click", (ge) => {
60845
60845
  ot.clear();
60846
60846
  const ke = Ht($e.dom.getParents(ge.target));
60847
- ke.length === 1 && uc.metaKeyPressed(ge) && (ge.preventDefault(), dc($e, ke[0]));
60847
+ ke.length === 1 && dc.metaKeyPressed(ge) && (ge.preventDefault(), fc($e, ke[0]));
60848
60848
  }), $e.on("keydown", (ge) => {
60849
60849
  ot.clear(), !ge.isDefaultPrevented() && ge.keyCode === 13 && Ea(ge) && xt().each((ke) => {
60850
- ge.preventDefault(), dc($e, ke);
60850
+ ge.preventDefault(), fc($e, ke);
60851
60851
  });
60852
60852
  }), { gotoSelectedLink: fn };
60853
60853
  }, nl = ($e) => () => {
@@ -61303,17 +61303,17 @@ tinymce.addI18n("zh_CN", {
61303
61303
  const wi = (W) => (ne) => T(ne) && ne.nodeName.toLowerCase() === W, Sa = (W) => (ne) => T(ne) && W.test(ne.nodeName), os = (W) => T(W) && W.nodeType === 3, gs = (W) => T(W) && W.nodeType === 1, bs = Sa(/^(OL|UL|DL)$/), Da = Sa(/^(OL|UL)$/), _a = wi("ol"), Na = Sa(/^(LI|DT|DD)$/), pr = Sa(/^(DT|DD)$/), Su = Sa(/^(TH|TD)$/), Pi = wi("br"), Ic = (W) => {
61304
61304
  var ne;
61305
61305
  return ((ne = W.parentNode) === null || ne === void 0 ? void 0 : ne.firstChild) === W;
61306
- }, Es = (W, ne) => T(ne) && ne.nodeName in W.schema.getTextBlockElements(), tl = (W, ne) => T(W) && W.nodeName in ne, _r = (W, ne) => T(ne) && ne.nodeName in W.schema.getVoidElements(), uc = (W, ne) => Pi(ne) ? W.isBlock(ne.nextSibling) && !Pi(ne.previousSibling) : !1, $i = (W, ne, xe) => {
61306
+ }, Es = (W, ne) => T(ne) && ne.nodeName in W.schema.getTextBlockElements(), tl = (W, ne) => T(W) && W.nodeName in ne, _r = (W, ne) => T(ne) && ne.nodeName in W.schema.getVoidElements(), dc = (W, ne) => Pi(ne) ? W.isBlock(ne.nextSibling) && !Pi(ne.previousSibling) : !1, $i = (W, ne, xe) => {
61307
61307
  const ct = W.isEmpty(ne);
61308
61308
  return xe && W.select("span[data-mce-type=bookmark]", ne).length > 0 ? !1 : ct;
61309
- }, xl = (W, ne) => W.isChildOf(ne, W.getRoot()), Ea = (W) => (ne) => ne.options.get(W), dc = (W) => {
61309
+ }, xl = (W, ne) => W.isChildOf(ne, W.getRoot()), Ea = (W) => (ne) => ne.options.get(W), fc = (W) => {
61310
61310
  const ne = W.options.register;
61311
61311
  ne("lists_indent_on_tab", {
61312
61312
  processor: "boolean",
61313
61313
  default: !0
61314
61314
  });
61315
- }, Bi = Ea("lists_indent_on_tab"), fc = Ea("forced_root_block"), ql = Ea("forced_root_block_attrs"), mc = (W, ne, xe = {}) => {
61316
- const ct = W.dom, pt = W.schema.getBlockElements(), Nn = ct.createFragment(), qo = fc(W), ys = ql(W);
61315
+ }, Bi = Ea("lists_indent_on_tab"), mc = Ea("forced_root_block"), ql = Ea("forced_root_block_attrs"), gc = (W, ne, xe = {}) => {
61316
+ const ct = W.dom, pt = W.schema.getBlockElements(), Nn = ct.createFragment(), qo = mc(W), ys = ql(W);
61317
61317
  let fs, Ao, ca = !1;
61318
61318
  for (Ao = ct.create(qo, {
61319
61319
  ...ys,
@@ -61329,7 +61329,7 @@ tinymce.addI18n("zh_CN", {
61329
61329
  ca && Hs.each(pt, (Aa) => {
61330
61330
  ca.insertBefore(Aa, xe.parentNode);
61331
61331
  }), ea.remove(Ao);
61332
- }, pt = ea.select('span[data-mce-type="bookmark"]', ne), Nn = mc(W, xe), qo = ea.createRng();
61332
+ }, pt = ea.select('span[data-mce-type="bookmark"]', ne), Nn = gc(W, xe), qo = ea.createRng();
61333
61333
  qo.setStartAfter(xe), qo.setEndAfter(ne);
61334
61334
  const ys = qo.extractContents();
61335
61335
  for (let Ao = ys.firstChild; Ao; Ao = Ao.firstChild)
@@ -61394,7 +61394,7 @@ tinymce.addI18n("zh_CN", {
61394
61394
  const xe = W.dom.getParents(ne, "TD,TH");
61395
61395
  return xe.length > 0 ? xe[0] : W.getBody();
61396
61396
  }, un = (W, ne) => !bs(ne) && !Na(ne) && Pe(Mc, (xe) => W.isValidChild(ne.nodeName, xe)), Yn = (W, ne) => {
61397
- const xe = W.dom.getParents(ne, W.dom.isBlock), ct = (Nn) => Nn.nodeName.toLowerCase() !== fc(W);
61397
+ const xe = W.dom.getParents(ne, W.dom.isBlock), ct = (Nn) => Nn.nodeName.toLowerCase() !== mc(W);
61398
61398
  return Ae(xe, (Nn) => ct(Nn) && un(W.schema, Nn)).getOr(W.getBody());
61399
61399
  }, ae = (W) => Do(W).exists((ne) => Na(ne.dom) && nr(ne).exists((xe) => !bs(xe.dom)) && Zr(ne).exists((xe) => !bs(xe.dom))), Ee = (W, ne) => {
61400
61400
  const xe = W.dom.getParents(ne, "ol,ul", Yn(W, ne));
@@ -61554,7 +61554,7 @@ tinymce.addI18n("zh_CN", {
61554
61554
  ne.each((ys) => {
61555
61555
  Le(ys.end, ct) && xe.set(!1);
61556
61556
  });
61557
- const qo = Zr(ct).filter(Br).map((ys) => gc(W, ne, xe, ys)).getOr([]);
61557
+ const qo = Zr(ct).filter(Br).map((ys) => pc(W, ne, xe, ys)).getOr([]);
61558
61558
  return Nn.toArray().concat(qo);
61559
61559
  }, jd = (W, ne, xe, ct) => nr(ct).filter(Br).fold(() => Ud(W, ne, xe, ct), (pt) => {
61560
61560
  const Nn = be(Xo(ct), (qo, ys, fs) => {
@@ -61574,21 +61574,21 @@ tinymce.addI18n("zh_CN", {
61574
61574
  return qo.concat(Ao);
61575
61575
  }
61576
61576
  }, []);
61577
- return gc(W, ne, xe, pt).concat(Nn);
61578
- }), gc = (W, ne, xe, ct) => We(Xo(ct), (pt) => {
61579
- const Nn = Br(pt) ? gc : jd, qo = W + 1;
61577
+ return pc(W, ne, xe, pt).concat(Nn);
61578
+ }), pc = (W, ne, xe, ct) => We(Xo(ct), (pt) => {
61579
+ const Nn = Br(pt) ? pc : jd, qo = W + 1;
61580
61580
  return Nn(qo, ne, xe, pt);
61581
61581
  }), sl = (W, ne) => {
61582
61582
  const xe = Mf(!1), ct = 0;
61583
61583
  return Ce(W, (pt) => ({
61584
61584
  sourceList: pt,
61585
- entries: gc(ct, ne, xe, pt)
61585
+ entries: pc(ct, ne, xe, pt)
61586
61586
  }));
61587
61587
  }, _1 = (W, ne) => {
61588
61588
  const xe = If(ne);
61589
61589
  return Ce(xe, (ct) => {
61590
61590
  const pt = Uu(ct) ? pa([X.fromHtml(`<!--${ct.content}-->`)]) : pa(ct.content), Nn = ol(ct) ? ct.itemAttributes : {};
61591
- return X.fromDom(mc(W, pt.dom, Nn));
61591
+ return X.fromDom(gc(W, pt.dom, Nn));
61592
61592
  });
61593
61593
  }, ju = (W, ne) => {
61594
61594
  const xe = If(ne);
@@ -61689,10 +61689,10 @@ tinymce.addI18n("zh_CN", {
61689
61689
  }, ys = (fs, Ao) => {
61690
61690
  var ca;
61691
61691
  const Aa = new Sn(fs, qo(fs)), Vc = Ao ? "next" : "prev";
61692
- let hc;
61693
- for (; hc = Aa[Vc](); )
61694
- if (!(_r(W, hc) || Bf(hc.textContent) || ((ca = hc.textContent) === null || ca === void 0 ? void 0 : ca.length) === 0))
61695
- return ee.some(hc);
61692
+ let vc;
61693
+ for (; vc = Aa[Vc](); )
61694
+ if (!(_r(W, vc) || Bf(vc.textContent) || ((ca = vc.textContent) === null || ca === void 0 ? void 0 : ca.length) === 0))
61695
+ return ee.some(vc);
61696
61696
  return ee.none();
61697
61697
  };
61698
61698
  if (xe && os(pt))
@@ -61857,7 +61857,7 @@ tinymce.addI18n("zh_CN", {
61857
61857
  const qo = W.schema.getNonEmptyElements();
61858
61858
  gs(pt) && (pt = Bt.getNode(pt, Nn));
61859
61859
  const ys = new Sn(pt, ct);
61860
- xe && uc(W.dom, pt) && ys.next();
61860
+ xe && dc(W.dom, pt) && ys.next();
61861
61861
  const fs = xe ? ys.next.bind(ys) : ys.prev2.bind(ys);
61862
61862
  for (; pt = fs(); )
61863
61863
  if (pt.nodeName === "LI" && !pt.hasChildNodes() || qo[pt.nodeName] || os(pt) && pt.data.length > 0)
@@ -61917,8 +61917,8 @@ tinymce.addI18n("zh_CN", {
61917
61917
  return !Aa || xe.isChildOf(Ao, Aa) ? !1 : (W.undoManager.transact(() => {
61918
61918
  const Vc = Ys(fs);
61919
61919
  mi(xe, Aa, Ao), Aa.remove();
61920
- const hc = ka(Vc);
61921
- W.selection.setRng(hc);
61920
+ const vc = ka(Vc);
61921
+ W.selection.setRng(vc);
61922
61922
  }), !0);
61923
61923
  } else if (!Ao && !ne && fs.startOffset === 0 && fs.endOffset === 0)
61924
61924
  return W.undoManager.transact(() => {
@@ -61934,14 +61934,14 @@ tinymce.addI18n("zh_CN", {
61934
61934
  if (Nn && xe.isEmpty(Nn, void 0, { checkRootAsContent: !0 })) {
61935
61935
  const qo = xi(W.selection.getRng()), ys = xd(W, qo, ne, pt), fs = xe.getParent(ys, "LI", pt);
61936
61936
  if (ys && fs) {
61937
- const Ao = (hc) => Ve([
61937
+ const Ao = (vc) => Ve([
61938
61938
  "td",
61939
61939
  "th",
61940
61940
  "caption"
61941
- ], Po(hc)), ca = (hc) => hc.dom === pt, Aa = Nt(X.fromDom(fs), Ao, ca), Vc = Nt(X.fromDom(qo.startContainer), Ao, ca);
61941
+ ], Po(vc)), ca = (vc) => vc.dom === pt, Aa = Nt(X.fromDom(fs), Ao, ca), Vc = Nt(X.fromDom(qo.startContainer), Ao, ca);
61942
61942
  return Fe(Aa, Vc, Le) ? (W.undoManager.transact(() => {
61943
- const hc = fs.parentNode;
61944
- hg(xe, Nn, pt), Gd(xe, hc), W.selection.select(ys, !0), W.selection.collapse(ne);
61943
+ const vc = fs.parentNode;
61944
+ hg(xe, Nn, pt), Gd(xe, vc), W.selection.select(ys, !0), W.selection.collapse(ne);
61945
61945
  }), !0) : !1;
61946
61946
  }
61947
61947
  }
@@ -61985,7 +61985,7 @@ tinymce.addI18n("zh_CN", {
61985
61985
  const ne = W % 26, xe = Math.floor(W / 26), ct = qd(xe), pt = String.fromCharCode(65 + ne);
61986
61986
  return ct + pt;
61987
61987
  }
61988
- }, Xl = (W) => /^[A-Z]+$/.test(W), Rl = (W) => /^[a-z]+$/.test(W), pc = (W) => /^[0-9]+$/.test(W), Ci = (W) => pc(W) ? 2 : Xl(W) ? 0 : Rl(W) ? 1 : Ma(W) ? 3 : 4, Sl = (W) => {
61988
+ }, Xl = (W) => /^[A-Z]+$/.test(W), Rl = (W) => /^[a-z]+$/.test(W), hc = (W) => /^[0-9]+$/.test(W), Ci = (W) => hc(W) ? 2 : Xl(W) ? 0 : Rl(W) ? 1 : Ma(W) ? 3 : 4, Sl = (W) => {
61989
61989
  switch (Ci(W)) {
61990
61990
  case 2:
61991
61991
  return ee.some({
@@ -62136,7 +62136,7 @@ tinymce.addI18n("zh_CN", {
62136
62136
  });
62137
62137
  };
62138
62138
  var gp = () => {
62139
- n.add("lists", (W) => (dc(W), hm(W), W.hasPlugin("rtc", !0) ? mp(W) : (oa(W), Za(W)), Lc(W), Hf(W), dh(W)));
62139
+ n.add("lists", (W) => (fc(W), hm(W), W.hasPlugin("rtc", !0) ? mp(W) : (oa(W), Za(W)), Lc(W), Hf(W), dh(W)));
62140
62140
  };
62141
62141
  gp();
62142
62142
  })();
@@ -64750,10 +64750,10 @@ tinymce.addI18n("zh_CN", {
64750
64750
  for (let Be = 0; Be < L.length; Be++)
64751
64751
  L[Be].each(ye);
64752
64752
  return q;
64753
- }, Ic = (L, q, ye) => L.isSome() && q.isSome() ? Y.some(ye(L.getOrDie(), q.getOrDie())) : Y.none(), Es = (L) => L.bind(H), tl = (L, q) => L ? Y.some(q) : Y.none(), _r = (L, q) => L.substring(q), uc = (L, q, ye) => q === "" || L.length >= q.length && L.substr(ye, ye + q.length) === q, $i = (L, q) => xl(L, q) ? _r(L, q.length) : L, xl = (L, q) => uc(L, q, 0), dc = ((L) => (q) => q.replace(L, ""))(/^\s+|\s+$/g), Bi = (L) => L.length > 0, fc = (L) => !Bi(L), ql = (L, q = 10) => {
64753
+ }, Ic = (L, q, ye) => L.isSome() && q.isSome() ? Y.some(ye(L.getOrDie(), q.getOrDie())) : Y.none(), Es = (L) => L.bind(H), tl = (L, q) => L ? Y.some(q) : Y.none(), _r = (L, q) => L.substring(q), dc = (L, q, ye) => q === "" || L.length >= q.length && L.substr(ye, ye + q.length) === q, $i = (L, q) => xl(L, q) ? _r(L, q.length) : L, xl = (L, q) => dc(L, q, 0), fc = ((L) => (q) => q.replace(L, ""))(/^\s+|\s+$/g), Bi = (L) => L.length > 0, mc = (L) => !Bi(L), ql = (L, q = 10) => {
64754
64754
  const ye = parseInt(L, q);
64755
64755
  return isNaN(ye) ? Y.none() : Y.some(ye);
64756
- }, mc = (L) => {
64756
+ }, gc = (L) => {
64757
64757
  const q = parseFloat(L);
64758
64758
  return isNaN(q) ? Y.none() : Y.some(q);
64759
64759
  }, ea = (L) => L.style !== void 0 && O(L.style.getPropertyValue), nl = (L, q, ye) => {
@@ -64773,7 +64773,7 @@ tinymce.addI18n("zh_CN", {
64773
64773
  return Y.from(Be).filter((yt) => yt.length > 0);
64774
64774
  }, ga = (L, q) => {
64775
64775
  const ye = L.dom;
64776
- Yl(ye, q), Su(_a(L, "style").map(dc), "") && Na(L, "style");
64776
+ Yl(ye, q), Su(_a(L, "style").map(fc), "") && Na(L, "style");
64777
64777
  }, xi = (L, q, ye = 0) => _a(L, q).map((Be) => parseInt(Be, 10)).getOr(ye), Mc = (L, q) => Rc(L, q, Se), Rc = (L, q, ye) => X(xo(L), (Be) => zn(Be, q) ? ye(Be) ? [Be] : [] : Rc(Be, q, ye)), Xa = [
64778
64778
  "tfoot",
64779
64779
  "thead",
@@ -64867,13 +64867,13 @@ tinymce.addI18n("zh_CN", {
64867
64867
  } = bt(L, (ec) => ec.section === "colgroup");
64868
64868
  oe(hs, (ec) => {
64869
64869
  const Td = [];
64870
- oe(ec.cells, (bc) => {
64870
+ oe(ec.cells, (yc) => {
64871
64871
  let Yu = 0;
64872
64872
  for (; q[Pc(To, Yu)] !== void 0; )
64873
64873
  Yu++;
64874
- const vp = We(yt, Yu.toString()), bp = fn(bc.element, bc.rowspan, bc.colspan, To, Yu, vp);
64875
- for (let tc = 0; tc < bc.colspan; tc++)
64876
- for (let yp = 0; yp < bc.rowspan; yp++) {
64874
+ const vp = We(yt, Yu.toString()), bp = fn(yc.element, yc.rowspan, yc.colspan, To, Yu, vp);
64875
+ for (let tc = 0; tc < yc.colspan; tc++)
64876
+ for (let yp = 0; yp < yc.rowspan; yp++) {
64877
64877
  const wp = To + yp, P1 = Yu + tc, hh = Pc(wp, P1);
64878
64878
  q[hh] = bp, jn = Math.max(jn, P1 + 1);
64879
64879
  }
@@ -64934,7 +64934,7 @@ tinymce.addI18n("zh_CN", {
64934
64934
  ...ye,
64935
64935
  table: q
64936
64936
  });
64937
- }, qe = (L, q) => mc(L).getOr(q), jt = (L, q, ye) => qe(Qc(L, q), ye), vn = (L, q, ye, Be) => {
64937
+ }, qe = (L, q) => gc(L).getOr(q), jt = (L, q, ye) => qe(Qc(L, q), ye), vn = (L, q, ye, Be) => {
64938
64938
  const yt = jt(L, `padding-${ye}`, 0), bn = jt(L, `padding-${Be}`, 0), jn = jt(L, `border-${ye}-width`, 0), To = jt(L, `border-${Be}-width`, 0);
64939
64939
  return q - yt - bn - jn - To;
64940
64940
  }, No = (L, q) => {
@@ -64966,13 +64966,13 @@ tinymce.addI18n("zh_CN", {
64966
64966
  var q;
64967
64967
  const ye = L.dom, Be = (q = ye.getParent(L.selection.getStart(), ye.isBlock)) !== null && q !== void 0 ? q : L.getBody();
64968
64968
  return xs(pn.fromDom(Be)) + "px";
64969
- }, Wa = (L, q) => Pf(L) || !gc(L) ? q : lg(L) ? {
64969
+ }, Wa = (L, q) => Pf(L) || !pc(L) ? q : lg(L) ? {
64970
64970
  ...q,
64971
64971
  width: Ta(L)
64972
64972
  } : {
64973
64973
  ...q,
64974
64974
  width: ta
64975
- }, Oi = (L, q) => Pf(L) || gc(L) ? q : lg(L) ? {
64975
+ }, Oi = (L, q) => Pf(L) || pc(L) ? q : lg(L) ? {
64976
64976
  ...q,
64977
64977
  width: Ta(L)
64978
64978
  } : {
@@ -65020,7 +65020,7 @@ tinymce.addI18n("zh_CN", {
65020
65020
  processor: "object[]",
65021
65021
  default: []
65022
65022
  });
65023
- }, hr = xa("table_sizing_mode"), Tu = xa("table_border_widths"), ig = xa("table_border_styles"), hd = xa("table_cell_advtab"), If = xa("table_row_advtab"), Mf = xa("table_advtab"), Ud = xa("table_appearance_options"), jd = xa("table_grid"), gc = xa("table_style_by_css"), sl = xa("table_cell_class_list"), _1 = xa("table_row_class_list"), ju = xa("table_class_list"), rp = xa("table_toolbar"), Rf = xa("table_background_color_map"), ap = xa("table_border_color_map"), lg = (L) => hr(L) === "fixed", Pf = (L) => hr(L) === "responsive", cg = (L) => {
65023
+ }, hr = xa("table_sizing_mode"), Tu = xa("table_border_widths"), ig = xa("table_border_styles"), hd = xa("table_cell_advtab"), If = xa("table_row_advtab"), Mf = xa("table_advtab"), Ud = xa("table_appearance_options"), jd = xa("table_grid"), pc = xa("table_style_by_css"), sl = xa("table_cell_class_list"), _1 = xa("table_row_class_list"), ju = xa("table_class_list"), rp = xa("table_toolbar"), Rf = xa("table_background_color_map"), ap = xa("table_border_color_map"), lg = (L) => hr(L) === "fixed", Pf = (L) => hr(L) === "responsive", cg = (L) => {
65024
65024
  const q = L.options, ye = q.get("table_default_styles");
65025
65025
  return q.isSet("table_default_styles") ? ye : Wa(L, ye);
65026
65026
  }, ip = (L) => {
@@ -65271,14 +65271,14 @@ tinymce.addI18n("zh_CN", {
65271
65271
  }, qd = (L) => {
65272
65272
  const q = Fa(L.red) + Fa(L.green) + Fa(L.blue);
65273
65273
  return dr(q);
65274
- }, Xl = /^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i, Rl = /^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i, pc = (L, q, ye, Be) => ({
65274
+ }, Xl = /^\s*rgb\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*\)\s*$/i, Rl = /^\s*rgba\s*\(\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*(\d+)\s*[,\s]\s*((?:\d?\.\d+|\d+)%?)\s*\)\s*$/i, hc = (L, q, ye, Be) => ({
65275
65275
  red: L,
65276
65276
  green: q,
65277
65277
  blue: ye,
65278
65278
  alpha: Be
65279
65279
  }), Ci = (L, q, ye, Be) => {
65280
65280
  const yt = parseInt(L, 10), bn = parseInt(q, 10), jn = parseInt(ye, 10), To = parseFloat(Be);
65281
- return pc(yt, bn, jn, To);
65281
+ return hc(yt, bn, jn, To);
65282
65282
  }, Sl = (L) => {
65283
65283
  const q = Xl.exec(L);
65284
65284
  if (q !== null)
@@ -65291,7 +65291,7 @@ tinymce.addI18n("zh_CN", {
65291
65291
  const ye = q.getContext("2d");
65292
65292
  ye.clearRect(0, 0, q.width, q.height), ye.fillStyle = "#FFFFFF", ye.fillStyle = L, ye.fillRect(0, 0, 1, 1);
65293
65293
  const Be = ye.getImageData(0, 0, 1, 1).data, yt = Be[0], bn = Be[1], jn = Be[2], To = Be[3];
65294
- return qd(pc(yt, bn, jn, To));
65294
+ return qd(hc(yt, bn, jn, To));
65295
65295
  }), fp = (L) => Sl(L).map(qd).map((q) => "#" + q.value).getOr(L), na = (L) => {
65296
65296
  let q = L;
65297
65297
  return {
@@ -65313,7 +65313,7 @@ tinymce.addI18n("zh_CN", {
65313
65313
  }
65314
65314
  };
65315
65315
  }, Za = () => mp((L) => L.unbind()), Yd = (L, q, ye) => (Be) => {
65316
- const yt = Za(), bn = fc(ye), jn = () => {
65316
+ const yt = Za(), bn = mc(ye), jn = () => {
65317
65317
  const To = hg(L), ls = (hs) => L.formatter.match(q, { value: ye }, hs.dom, bn);
65318
65318
  bn ? (Be.setActive(!vt(To, ls)), yt.set(L.formatter.formatChanged(q, (hs) => Be.setActive(!hs), !0))) : (Be.setActive(_e(To, ls)), yt.set(L.formatter.formatChanged(q, Be.setActive, !1, { value: ye })));
65319
65319
  };
@@ -65523,7 +65523,7 @@ tinymce.addI18n("zh_CN", {
65523
65523
  }, Aa = (L, q) => St(L.all, (ye) => ie(ye.cells, (Be) => Do(q, Be.element))), Vc = (L, q, ye) => {
65524
65524
  const Be = ht(q.selection, (bn) => ae(bn).bind((jn) => Aa(L, jn)).filter(ye)), yt = Pi(Be);
65525
65525
  return tl(yt.length > 0, yt);
65526
- }, hc = (L, q) => q.mergable, Tb = (L, q) => q.unmergable, vm = (L, q) => Vc(L, q, Se), O1 = (L, q) => Aa(L, q).exists((ye) => !ye.isLocked), il = (L, q) => _e(q, (ye) => O1(L, ye)), D1 = (L, q) => hc(L, q).filter((ye) => il(L, ye.cells)), Py = (L, q) => Tb(L, q).filter((ye) => il(L, ye));
65526
+ }, vc = (L, q) => q.mergable, Tb = (L, q) => q.unmergable, vm = (L, q) => Vc(L, q, Se), O1 = (L, q) => Aa(L, q).exists((ye) => !ye.isLocked), il = (L, q) => _e(q, (ye) => O1(L, ye)), D1 = (L, q) => vc(L, q).filter((ye) => il(L, ye.cells)), Py = (L, q) => Tb(L, q).filter((ye) => il(L, ye));
65527
65527
  ({ ...{ generate: (L) => {
65528
65528
  if (!y(L))
65529
65529
  throw new Error("cases must be an array");
@@ -65642,7 +65642,7 @@ Required: ` + q.join(", "));
65642
65642
  border: ""
65643
65643
  }, jn = () => {
65644
65644
  const Tr = ye["border-width"];
65645
- return gc(L) && Tr ? { border: Tr } : Ae(Be, "border").fold(() => ({}), (Sr) => ({ border: Sr }));
65645
+ return pc(L) && Tr ? { border: Tr } : Ae(Be, "border").fold(() => ({}), (Sr) => ({ border: Sr }));
65646
65646
  }, To = q ? yt() : {}, ls = () => {
65647
65647
  const Tr = Ae(ye, "border-spacing").or(Ae(Be, "cellspacing")).fold(() => ({}), (va) => ({ cellspacing: va })), Sr = Ae(ye, "border-padding").or(Ae(Be, "cellpadding")).fold(() => ({}), (va) => ({ cellpadding: va }));
65648
65648
  return {
@@ -65664,8 +65664,8 @@ Required: ` + q.join(", "));
65664
65664
  }).getOr(""), Xd = (L, q, ye) => {
65665
65665
  const Be = (To, ls) => {
65666
65666
  const hs = ia(pn.fromDom(ls), "border-width");
65667
- return gc(L) && hs.isSome() ? hs.getOr("") : To.getAttrib(ls, "border") || di(L.dom, ls, "border-width") || di(L.dom, ls, "border") || "";
65668
- }, yt = L.dom, bn = gc(L) ? yt.getStyle(q, "border-spacing") || yt.getAttrib(q, "cellspacing") : yt.getAttrib(q, "cellspacing") || yt.getStyle(q, "border-spacing"), jn = gc(L) ? di(yt, q, "padding") || yt.getAttrib(q, "cellpadding") : yt.getAttrib(q, "cellpadding") || di(yt, q, "padding");
65667
+ return pc(L) && hs.isSome() ? hs.getOr("") : To.getAttrib(ls, "border") || di(L.dom, ls, "border-width") || di(L.dom, ls, "border") || "";
65668
+ }, yt = L.dom, bn = pc(L) ? yt.getStyle(q, "border-spacing") || yt.getAttrib(q, "cellspacing") : yt.getAttrib(q, "cellspacing") || yt.getStyle(q, "border-spacing"), jn = pc(L) ? di(yt, q, "padding") || yt.getAttrib(q, "cellpadding") : yt.getAttrib(q, "cellpadding") || di(yt, q, "padding");
65669
65669
  return {
65670
65670
  width: yt.getStyle(q, "width") || yt.getAttrib(q, "width"),
65671
65671
  height: yt.getStyle(q, "height") || yt.getAttrib(q, "height"),
@@ -65991,7 +65991,7 @@ Required: ` + q.join(", "));
65991
65991
  for (let yt = 0; yt < q.children.length; yt++)
65992
65992
  sr(L, q.children[yt], ye, Be);
65993
65993
  }, $b = (L, q, ye, Be) => {
65994
- const yt = L.dom, bn = {}, jn = {}, To = gc(L), ls = Mf(L), hs = parseFloat(ye.border) === 0;
65994
+ const yt = L.dom, bn = {}, jn = {}, To = pc(L), ls = Mf(L), hs = parseFloat(ye.border) === 0;
65995
65995
  if (!_(ye.class) && ye.class !== "mce-no-match" && (bn.class = ye.class), jn.height = Qn(ye.height), To ? jn.width = Qn(ye.width) : yt.getAttrib(q, "width") && (bn.width = so(ye.width)), To ? (hs ? (bn.border = 0, jn["border-width"] = "") : (jn["border-width"] = Qn(ye.border), bn.border = 1), jn["border-spacing"] = Qn(ye.cellspacing)) : (bn.border = hs ? 0 : ye.border, bn.cellpadding = ye.cellpadding, bn.cellspacing = ye.cellspacing), To && q.children) {
65996
65996
  const Tr = {};
65997
65997
  if (hs ? Tr["border-width"] = "" : Be.border && (Tr["border-width"] = Qn(ye.border)), Be.cellpadding && (Tr.padding = Qn(ye.cellpadding)), ls && Be.bordercolor && (Tr["border-color"] = ye.bordercolor), !Ke(Tr))
@@ -66094,7 +66094,7 @@ Required: ` + q.join(", "));
66094
66094
  }, Sx = (L, q) => kn(L, q).isSome(), Jd = H, Ly = (L) => {
66095
66095
  const q = (Be, yt) => _a(Be, yt).exists((bn) => parseInt(bn, 10) > 1), ye = (Be) => q(Be, "rowspan") || q(Be, "colspan");
66096
66096
  return L.length > 0 && _e(L, ye) ? Y.some(L) : Y.none();
66097
- }, vc = (L, q, ye) => q.length <= 1 ? Y.none() : A1(L, ye.firstSelectedSelector, ye.lastSelectedSelector).map((Be) => ({
66097
+ }, bc = (L, q, ye) => q.length <= 1 ? Y.none() : A1(L, ye.firstSelectedSelector, ye.lastSelectedSelector).map((Be) => ({
66098
66098
  bounds: Be,
66099
66099
  cells: q
66100
66100
  })), ir = (L) => ({
@@ -66104,14 +66104,14 @@ Required: ` + q.join(", "));
66104
66104
  selection: [L]
66105
66105
  }), Qd = (L, q, ye) => ({
66106
66106
  element: ye,
66107
- mergable: vc(q, L, Il),
66107
+ mergable: bc(q, L, Il),
66108
66108
  unmergable: Ly(L),
66109
66109
  selection: Jd(L)
66110
66110
  }), gh = (L) => {
66111
66111
  const q = na(Y.none()), ye = na([]);
66112
66112
  let Be = Y.none();
66113
- const yt = Qr("caption"), bn = (Ks) => Be.forall((Hr) => !Hr[Ks]), jn = () => gi(Eo(L), Jn(L)), To = () => gi(Fo(L), Jn(L)), ls = () => jn().bind((Ks) => Es(Ic(Vt(Ks), To().bind(Vt), (Hr, yc) => Do(Hr, yc) ? yt(Ks) ? Y.some(ir(Ks)) : Y.some(Qd(hg(L), Hr, Ks)) : Y.none()))), hs = (Ks) => Vt(Ks.element).map((yc) => {
66114
- const Ga = Eu.fromTable(yc), B1 = vm(Ga, Ks).getOr([]), vh = kt(B1, (wm, zc) => (zc.isLocked && (wm.onAny = !0, zc.column === 0 ? wm.onFirst = !0 : zc.column + zc.colspan >= Ga.grid.columns && (wm.onLast = !0)), wm), {
66113
+ const yt = Qr("caption"), bn = (Ks) => Be.forall((Hr) => !Hr[Ks]), jn = () => gi(Eo(L), Jn(L)), To = () => gi(Fo(L), Jn(L)), ls = () => jn().bind((Ks) => Es(Ic(Vt(Ks), To().bind(Vt), (Hr, wc) => Do(Hr, wc) ? yt(Ks) ? Y.some(ir(Ks)) : Y.some(Qd(hg(L), Hr, Ks)) : Y.none()))), hs = (Ks) => Vt(Ks.element).map((wc) => {
66114
+ const Ga = Eu.fromTable(wc), B1 = vm(Ga, Ks).getOr([]), vh = kt(B1, (wm, zc) => (zc.isLocked && (wm.onAny = !0, zc.column === 0 ? wm.onFirst = !0 : zc.column + zc.colspan >= Ga.grid.columns && (wm.onLast = !0)), wm), {
66115
66115
  onAny: !1,
66116
66116
  onFirst: !1,
66117
66117
  onLast: !1
@@ -66127,15 +66127,15 @@ Required: ` + q.join(", "));
66127
66127
  ye.set(Et(ye.get(), (Hr) => Hr !== Ks));
66128
66128
  }), va = (Ks, Hr) => Sr(() => q.get().fold(() => {
66129
66129
  Ks.setEnabled(!1);
66130
- }, (yc) => {
66131
- Ks.setEnabled(!Hr(yc) && L.selection.isEditable());
66132
- })), ec = (Ks, Hr, yc) => Sr(() => q.get().fold(() => {
66130
+ }, (wc) => {
66131
+ Ks.setEnabled(!Hr(wc) && L.selection.isEditable());
66132
+ })), ec = (Ks, Hr, wc) => Sr(() => q.get().fold(() => {
66133
66133
  Ks.setEnabled(!1), Ks.setActive(!1);
66134
66134
  }, (Ga) => {
66135
- Ks.setEnabled(!Hr(Ga) && L.selection.isEditable()), Ks.setActive(yc(Ga));
66136
- })), Td = (Ks) => Be.exists((Hr) => Hr.locked[Ks]), bc = (Ks) => va(Ks, (Hr) => !1), Yu = (Ks) => va(Ks, (Hr) => yt(Hr.element)), vp = (Ks) => (Hr) => va(Hr, (yc) => yt(yc.element) || Td(Ks)), bp = (Ks) => (Hr) => va(Hr, (yc) => yt(yc.element) || Ks().isNone()), tc = (Ks, Hr) => (yc) => va(yc, (Ga) => yt(Ga.element) || Ks().isNone() || Td(Hr)), yp = (Ks) => va(Ks, (Hr) => bn("mergeable")), wp = (Ks) => va(Ks, (Hr) => bn("unmergeable")), P1 = (Ks) => ec(Ks, Te, (Hr) => Vt(Hr.element, Jn(L)).exists((Ga) => Sx(Ga, "caption"))), hh = (Ks, Hr) => (yc) => ec(yc, (Ga) => yt(Ga.element), () => L.queryCommandValue(Ks) === Hr), Ni = hh("mceTableRowType", "header"), Ku = hh("mceTableColType", "th");
66135
+ Ks.setEnabled(!Hr(Ga) && L.selection.isEditable()), Ks.setActive(wc(Ga));
66136
+ })), Td = (Ks) => Be.exists((Hr) => Hr.locked[Ks]), yc = (Ks) => va(Ks, (Hr) => !1), Yu = (Ks) => va(Ks, (Hr) => yt(Hr.element)), vp = (Ks) => (Hr) => va(Hr, (wc) => yt(wc.element) || Td(Ks)), bp = (Ks) => (Hr) => va(Hr, (wc) => yt(wc.element) || Ks().isNone()), tc = (Ks, Hr) => (wc) => va(wc, (Ga) => yt(Ga.element) || Ks().isNone() || Td(Hr)), yp = (Ks) => va(Ks, (Hr) => bn("mergeable")), wp = (Ks) => va(Ks, (Hr) => bn("unmergeable")), P1 = (Ks) => ec(Ks, Te, (Hr) => Vt(Hr.element, Jn(L)).exists((Ga) => Sx(Ga, "caption"))), hh = (Ks, Hr) => (wc) => ec(wc, (Ga) => yt(Ga.element), () => L.queryCommandValue(Ks) === Hr), Ni = hh("mceTableRowType", "header"), Ku = hh("mceTableColType", "th");
66137
66137
  return L.on("NodeChange ExecCommand TableSelectorChange", Tr), {
66138
- onSetupTable: bc,
66138
+ onSetupTable: yc,
66139
66139
  onSetupCellOrRow: Yu,
66140
66140
  onSetupColumn: vp,
66141
66141
  onSetupPasteable: bp,
@@ -70295,6 +70295,10 @@ const jU = {
70295
70295
  autoHeight: {
70296
70296
  type: Boolean,
70297
70297
  default: !0
70298
+ },
70299
+ class: {
70300
+ type: String,
70301
+ default: ""
70298
70302
  }
70299
70303
  },
70300
70304
  emits: ["onUiReady"],
@@ -70460,7 +70464,7 @@ const jU = {
70460
70464
  ])
70461
70465
  ], 512),
70462
70466
  dt("html", {
70463
- class: Kr(["nodes-editor", `nodes-editor-${he(_)}`]),
70467
+ class: Kr(["nodes-editor", [`nodes-editor-${he(_)}`, O.class]]),
70464
70468
  ref_key: "containerRef",
70465
70469
  ref: d,
70466
70470
  style: wl([{ position: "relative" }, {
@@ -70604,6 +70608,10 @@ const jU = {
70604
70608
  autoHeight: {
70605
70609
  type: Boolean,
70606
70610
  default: !1
70611
+ },
70612
+ htmlRenderProps: {
70613
+ type: Object,
70614
+ default: () => ({})
70607
70615
  }
70608
70616
  }, {
70609
70617
  selectedNodes: { default: [] },
@@ -70705,7 +70713,7 @@ const jU = {
70705
70713
  disabledNodes: n.disabledNodes
70706
70714
  }, {
70707
70715
  default: Kt(() => [
70708
- Lt(rPe, {
70716
+ Lt(rPe, lc({
70709
70717
  ref_key: "htmlRenderRef",
70710
70718
  ref: y,
70711
70719
  headerHtml: n.headerHtml,
@@ -70713,7 +70721,7 @@ const jU = {
70713
70721
  pagesize: u == null ? void 0 : u.pagesize,
70714
70722
  onOnUiReady: w,
70715
70723
  autoHeight: u == null ? void 0 : u.autoHeight
70716
- }, null, 8, ["headerHtml", "footerHtml", "pagesize", "autoHeight"]),
70724
+ }, u == null ? void 0 : u.htmlRenderProps), null, 16, ["headerHtml", "footerHtml", "pagesize", "autoHeight"]),
70717
70725
  (ze(), Mn(wy(A.value), {
70718
70726
  renderType: T.value,
70719
70727
  pagesize: n.pagesize,
@@ -76608,7 +76616,7 @@ const MLe = rW, RLe = ["transform"], PLe = ["width", "height", "x", "y", "rx", "
76608
76616
  rx: g.labelBgBorderRadius,
76609
76617
  ry: g.labelBgBorderRadius
76610
76618
  }, null, 12, PLe)) : no("", !0),
76611
- dt("text", Nc(g.$attrs, {
76619
+ dt("text", lc(g.$attrs, {
76612
76620
  ref_key: "el",
76613
76621
  ref: i,
76614
76622
  class: "vue-flow__edge-text",
@@ -76652,7 +76660,7 @@ const MLe = rW, RLe = ["transform"], PLe = ["width", "height", "x", "y", "rx", "
76652
76660
  interactionEl: u,
76653
76661
  labelEl: d
76654
76662
  }), (h, y) => (ze(), Mt(_s, null, [
76655
- dt("path", Nc(he(g), {
76663
+ dt("path", lc(he(g), {
76656
76664
  id: h.id,
76657
76665
  ref_key: "pathEl",
76658
76666
  ref: i,
@@ -82051,7 +82059,7 @@ const vWe = {
82051
82059
  Lt(mhe)
82052
82060
  ]),
82053
82061
  "edge-default": Kt((P) => [
82054
- Lt(ghe, Nc(P, { onDblclick: z }), null, 16)
82062
+ Lt(ghe, lc(P, { onDblclick: z }), null, 16)
82055
82063
  ]),
82056
82064
  default: Kt(() => [
82057
82065
  Lt(uhe),
@@ -82585,7 +82593,7 @@ var jWe = ["evt"], Jm = function(n, s) {
82585
82593
  var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, u = i.evt, d = MWe(i, jWe);
82586
82594
  YR.pluginEvent.bind(yr)(n, s, xb({
82587
82595
  dragEl: Qo,
82588
- parentEl: Oc,
82596
+ parentEl: Dc,
82589
82597
  ghostEl: Ir,
82590
82598
  rootEl: Zl,
82591
82599
  nextEl: cE,
@@ -82629,7 +82637,7 @@ function mm(n) {
82629
82637
  newDraggableIndex: X2
82630
82638
  }, n));
82631
82639
  }
82632
- var Qo, Oc, Ir, Zl, cE, xU, ic, Q2, J4, Qg, rR, X2, tU, Hd, Y4 = !1, aj = !1, ij = [], rE, f1, eoe, toe, Xue, Jue, WM, Z4, aR, iR = !1, nU = !1, CU, Af, noe = [], sse = !1, lj = [], fW = typeof document < "u", oU = xhe, Que = qR || Ry ? "cssFloat" : "float", WWe = fW && !Che && !xhe && "draggable" in document.createElement("div"), $he = function() {
82640
+ var Qo, Dc, Ir, Zl, cE, xU, ic, Q2, J4, Qg, rR, X2, tU, Hd, Y4 = !1, aj = !1, ij = [], rE, f1, eoe, toe, Xue, Jue, WM, Z4, aR, iR = !1, nU = !1, CU, Af, noe = [], sse = !1, lj = [], fW = typeof document < "u", oU = xhe, Que = qR || Ry ? "cssFloat" : "float", WWe = fW && !Che && !xhe && "draggable" in document.createElement("div"), $he = function() {
82633
82641
  if (fW) {
82634
82642
  if (Ry)
82635
82643
  return !1;
@@ -82811,7 +82819,7 @@ yr.prototype = /** @lends Sortable.prototype */
82811
82819
  var u = this, d = u.el, g = u.options, h = d.ownerDocument, y;
82812
82820
  if (i && !Qo && i.parentNode === d) {
82813
82821
  var w = yu(i);
82814
- if (Zl = d, Qo = i, Oc = Qo.parentNode, cE = Qo.nextSibling, xU = i, tU = g.group, yr.dragged = Qo, rE = {
82822
+ if (Zl = d, Qo = i, Dc = Qo.parentNode, cE = Qo.nextSibling, xU = i, tU = g.group, yr.dragged = Qo, rE = {
82815
82823
  target: Qo,
82816
82824
  clientX: (s || n).clientX,
82817
82825
  clientY: (s || n).clientY
@@ -82993,23 +83001,23 @@ yr.prototype = /** @lends Sortable.prototype */
82993
83001
  return z;
82994
83002
  if (Qo.contains(n.target) || i.animated && i.animatingX && i.animatingY || N._ignoreWhileAnimating === i)
82995
83003
  return H(!1);
82996
- if (aj = !1, w && !h.disabled && (_ ? T || (g = Oc !== Zl) : Hd === this || (this.lastPutMode = tU.checkPull(this, w, Qo, n)) && y.checkPut(this, w, Qo, n))) {
83004
+ if (aj = !1, w && !h.disabled && (_ ? T || (g = Dc !== Zl) : Hd === this || (this.lastPutMode = tU.checkPull(this, w, Qo, n)) && y.checkPut(this, w, Qo, n))) {
82997
83005
  if (O = this._getDirection(n, i) === "vertical", u = yu(Qo), B("dragOverValid"), yr.eventCanceled)
82998
83006
  return z;
82999
83007
  if (g)
83000
- return Oc = Zl, j(), this._hideClone(), B("revert"), yr.eventCanceled || (cE ? Zl.insertBefore(Qo, cE) : Zl.appendChild(Qo)), H(!0);
83008
+ return Dc = Zl, j(), this._hideClone(), B("revert"), yr.eventCanceled || (cE ? Zl.insertBefore(Qo, cE) : Zl.appendChild(Qo)), H(!0);
83001
83009
  var P = Sre(s, h.draggable);
83002
83010
  if (!P || JWe(n, O, this) && !P.animated) {
83003
83011
  if (P === Qo)
83004
83012
  return H(!1);
83005
83013
  if (P && s === n.target && (i = P), i && (d = yu(i)), sU(Zl, s, Qo, u, i, d, n, !!i) !== !1)
83006
- return j(), P && P.nextSibling ? s.insertBefore(Qo, P.nextSibling) : s.appendChild(Qo), Oc = s, F(), H(!0);
83014
+ return j(), P && P.nextSibling ? s.insertBefore(Qo, P.nextSibling) : s.appendChild(Qo), Dc = s, F(), H(!0);
83007
83015
  } else if (P && XWe(n, O, this)) {
83008
83016
  var ee = y$(s, 0, h, !0);
83009
83017
  if (ee === Qo)
83010
83018
  return H(!1);
83011
83019
  if (i = ee, d = yu(i), sU(Zl, s, Qo, u, i, d, n, !1) !== !1)
83012
- return j(), s.insertBefore(Qo, ee), Oc = s, F(), H(!0);
83020
+ return j(), s.insertBefore(Qo, ee), Dc = s, F(), H(!0);
83013
83021
  } else if (i.parentNode === s) {
83014
83022
  d = yu(i);
83015
83023
  var Te = 0, Se, Y = Qo.parentNode !== s, ve = !ZWe(Qo.animated && Qo.toRect || u, i.animated && i.toRect || d, O), Ve = O ? "top" : "left", Pe = Yue(i, "top", "top") || Yue(Qo, "top", "top"), Ce = Pe ? Pe.scrollTop : void 0;
@@ -83018,7 +83026,7 @@ yr.prototype = /** @lends Sortable.prototype */
83018
83026
  if (Te !== 0) {
83019
83027
  var Pt = sh(Qo);
83020
83028
  do
83021
- Pt -= Te, ce = Oc.children[Pt];
83029
+ Pt -= Te, ce = Dc.children[Pt];
83022
83030
  while (ce && (br(ce, "display") === "none" || ce === Ir));
83023
83031
  }
83024
83032
  if (Te === 0 || ce === i)
@@ -83028,7 +83036,7 @@ yr.prototype = /** @lends Sortable.prototype */
83028
83036
  be = Te === 1;
83029
83037
  var D = sU(Zl, s, Qo, u, i, d, n, be);
83030
83038
  if (D !== !1)
83031
- return (D === 1 || D === -1) && (be = D === 1), sse = !0, setTimeout(KWe, 30), j(), be && !me ? s.appendChild(Qo) : i.parentNode.insertBefore(Qo, be ? me : i), Pe && The(Pe, 0, Ce - Pe.scrollTop), Oc = Qo.parentNode, Se !== void 0 && !nU && (CU = Math.abs(Se - yu(i)[Ve])), F(), H(!0);
83039
+ return (D === 1 || D === -1) && (be = D === 1), sse = !0, setTimeout(KWe, 30), j(), be && !me ? s.appendChild(Qo) : i.parentNode.insertBefore(Qo, be ? me : i), Pe && The(Pe, 0, Ce - Pe.scrollTop), Dc = Qo.parentNode, Se !== void 0 && !nU && (CU = Math.abs(Se - yu(i)[Ve])), F(), H(!0);
83032
83040
  }
83033
83041
  if (s.contains(Qo))
83034
83042
  return H(!1);
@@ -83047,58 +83055,58 @@ yr.prototype = /** @lends Sortable.prototype */
83047
83055
  var s = this.el, i = this.options;
83048
83056
  if (Qg = sh(Qo), X2 = sh(Qo, i.draggable), Jm("drop", this, {
83049
83057
  evt: n
83050
- }), Oc = Qo && Qo.parentNode, Qg = sh(Qo), X2 = sh(Qo, i.draggable), yr.eventCanceled) {
83058
+ }), Dc = Qo && Qo.parentNode, Qg = sh(Qo), X2 = sh(Qo, i.draggable), yr.eventCanceled) {
83051
83059
  this._nulling();
83052
83060
  return;
83053
83061
  }
83054
- Y4 = !1, nU = !1, iR = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), rse(this.cloneId), rse(this._dragStartId), this.nativeDraggable && (Ya(document, "drop", this), Ya(s, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), oR && br(document.body, "user-select", ""), br(Qo, "transform", ""), n && (WM && (n.cancelable && n.preventDefault(), !i.dropBubble && n.stopPropagation()), Ir && Ir.parentNode && Ir.parentNode.removeChild(Ir), (Zl === Oc || Hd && Hd.lastPutMode !== "clone") && ic && ic.parentNode && ic.parentNode.removeChild(ic), Qo && (this.nativeDraggable && Ya(Qo, "dragend", this), ooe(Qo), Qo.style["will-change"] = "", WM && !Y4 && Jg(Qo, Hd ? Hd.options.ghostClass : this.options.ghostClass, !1), Jg(Qo, this.options.chosenClass, !1), mm({
83062
+ Y4 = !1, nU = !1, iR = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), rse(this.cloneId), rse(this._dragStartId), this.nativeDraggable && (Ya(document, "drop", this), Ya(s, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), oR && br(document.body, "user-select", ""), br(Qo, "transform", ""), n && (WM && (n.cancelable && n.preventDefault(), !i.dropBubble && n.stopPropagation()), Ir && Ir.parentNode && Ir.parentNode.removeChild(Ir), (Zl === Dc || Hd && Hd.lastPutMode !== "clone") && ic && ic.parentNode && ic.parentNode.removeChild(ic), Qo && (this.nativeDraggable && Ya(Qo, "dragend", this), ooe(Qo), Qo.style["will-change"] = "", WM && !Y4 && Jg(Qo, Hd ? Hd.options.ghostClass : this.options.ghostClass, !1), Jg(Qo, this.options.chosenClass, !1), mm({
83055
83063
  sortable: this,
83056
83064
  name: "unchoose",
83057
- toEl: Oc,
83065
+ toEl: Dc,
83058
83066
  newIndex: null,
83059
83067
  newDraggableIndex: null,
83060
83068
  originalEvent: n
83061
- }), Zl !== Oc ? (Qg >= 0 && (mm({
83062
- rootEl: Oc,
83069
+ }), Zl !== Dc ? (Qg >= 0 && (mm({
83070
+ rootEl: Dc,
83063
83071
  name: "add",
83064
- toEl: Oc,
83072
+ toEl: Dc,
83065
83073
  fromEl: Zl,
83066
83074
  originalEvent: n
83067
83075
  }), mm({
83068
83076
  sortable: this,
83069
83077
  name: "remove",
83070
- toEl: Oc,
83078
+ toEl: Dc,
83071
83079
  originalEvent: n
83072
83080
  }), mm({
83073
- rootEl: Oc,
83081
+ rootEl: Dc,
83074
83082
  name: "sort",
83075
- toEl: Oc,
83083
+ toEl: Dc,
83076
83084
  fromEl: Zl,
83077
83085
  originalEvent: n
83078
83086
  }), mm({
83079
83087
  sortable: this,
83080
83088
  name: "sort",
83081
- toEl: Oc,
83089
+ toEl: Dc,
83082
83090
  originalEvent: n
83083
83091
  })), Hd && Hd.save()) : Qg !== J4 && Qg >= 0 && (mm({
83084
83092
  sortable: this,
83085
83093
  name: "update",
83086
- toEl: Oc,
83094
+ toEl: Dc,
83087
83095
  originalEvent: n
83088
83096
  }), mm({
83089
83097
  sortable: this,
83090
83098
  name: "sort",
83091
- toEl: Oc,
83099
+ toEl: Dc,
83092
83100
  originalEvent: n
83093
83101
  })), yr.active && ((Qg == null || Qg === -1) && (Qg = J4, X2 = rR), mm({
83094
83102
  sortable: this,
83095
83103
  name: "end",
83096
- toEl: Oc,
83104
+ toEl: Dc,
83097
83105
  originalEvent: n
83098
83106
  }), this.save()))), this._nulling();
83099
83107
  },
83100
83108
  _nulling: function() {
83101
- Jm("nulling", this), Zl = Qo = Oc = Ir = cE = ic = xU = Q2 = rE = f1 = WM = Qg = X2 = J4 = rR = Z4 = aR = Hd = tU = yr.dragged = yr.ghost = yr.clone = yr.active = null, lj.forEach(function(n) {
83109
+ Jm("nulling", this), Zl = Qo = Dc = Ir = cE = ic = xU = Q2 = rE = f1 = WM = Qg = X2 = J4 = rR = Z4 = aR = Hd = tU = yr.dragged = yr.ghost = yr.clone = yr.active = null, lj.forEach(function(n) {
83102
83110
  n.checked = !0;
83103
83111
  }), lj.length = eoe = toe = 0;
83104
83112
  },
@@ -83772,7 +83780,7 @@ const lse = [
83772
83780
  }, {
83773
83781
  default: Kt(({ row: T }) => [
83774
83782
  dt("div", fZe, [
83775
- Lt(he(lc), {
83783
+ Lt(he(cc), {
83776
83784
  size: 18,
83777
83785
  class: "cursor-pointer",
83778
83786
  onClick: () => g(T)
@@ -84282,7 +84290,7 @@ const lse = [
84282
84290
  class: Kr(["flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group", { "opacity-50": g(T) }])
84283
84291
  }, [
84284
84292
  dt("div", AZe, Ro(T == null ? void 0 : T.name), 1),
84285
- g(T) ? no("", !0) : (ze(), Mn(he(lc), {
84293
+ g(T) ? no("", !0) : (ze(), Mn(he(cc), {
84286
84294
  key: 0,
84287
84295
  onClick: (A) => y(T),
84288
84296
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -84461,7 +84469,7 @@ const lse = [
84461
84469
  }, {
84462
84470
  error: Kt(() => [
84463
84471
  dt("div", MZe, [
84464
- Lt(he(lc), { size: "14" }, {
84472
+ Lt(he(cc), { size: "14" }, {
84465
84473
  default: Kt(() => [
84466
84474
  Lt(he(x1), { color: "#fff" })
84467
84475
  ]),
@@ -84605,7 +84613,7 @@ const lse = [
84605
84613
  }, {
84606
84614
  error: Kt(() => [
84607
84615
  dt("div", UZe, [
84608
- Lt(he(lc), { size: "16" }, {
84616
+ Lt(he(cc), { size: "16" }, {
84609
84617
  default: Kt(() => [
84610
84618
  Lt(he(x1), { color: "#fff" })
84611
84619
  ]),
@@ -84822,7 +84830,7 @@ const lse = [
84822
84830
  }, {
84823
84831
  error: Kt(() => [
84824
84832
  dt("div", KZe, [
84825
- Lt(he(lc), { size: "14" }, {
84833
+ Lt(he(cc), { size: "14" }, {
84826
84834
  default: Kt(() => [
84827
84835
  Lt(he(x1), { color: "#fff" })
84828
84836
  ]),
@@ -84900,7 +84908,7 @@ const lse = [
84900
84908
  value: "role"
84901
84909
  }
84902
84910
  ], d = Cs(n, "modelValue"), g = on("people");
84903
- return (h, y) => (ze(), Mn(Fhe, Nc({
84911
+ return (h, y) => (ze(), Mn(Fhe, lc({
84904
84912
  modelValue: d.value,
84905
84913
  "onUpdate:modelValue": y[5] || (y[5] = (w) => d.value = w)
84906
84914
  }, s), {
@@ -84989,7 +84997,7 @@ const lse = [
84989
84997
  dt("div", iGe, [
84990
84998
  _[5] || (_[5] = dt("div", null, null, -1)),
84991
84999
  dt("div", null, [
84992
- Lt(he(cc), {
85000
+ Lt(he(uc), {
84993
85001
  onClick: _[1] || (_[1] = (T) => u.value = !1)
84994
85002
  }, {
84995
85003
  default: Kt(() => _[3] || (_[3] = [
@@ -84997,7 +85005,7 @@ const lse = [
84997
85005
  ])),
84998
85006
  _: 1
84999
85007
  }),
85000
- Lt(he(cc), {
85008
+ Lt(he(uc), {
85001
85009
  type: "primary",
85002
85010
  onClick: h
85003
85011
  }, {
@@ -85010,7 +85018,7 @@ const lse = [
85010
85018
  ])
85011
85019
  ]),
85012
85020
  default: Kt(() => [
85013
- Lt(Vhe, Nc(he(i), {
85021
+ Lt(Vhe, lc(he(i), {
85014
85022
  modelValue: g.value,
85015
85023
  "onUpdate:modelValue": _[0] || (_[0] = (T) => g.value = T)
85016
85024
  }), null, 16, ["modelValue"])
@@ -85066,7 +85074,7 @@ const lse = [
85066
85074
  }, {
85067
85075
  error: Kt(() => [
85068
85076
  dt("div", fGe, [
85069
- Lt(he(lc), { size: "16" }, {
85077
+ Lt(he(cc), { size: "16" }, {
85070
85078
  default: Kt(() => [
85071
85079
  Lt(he(x1), { color: "#fff" })
85072
85080
  ]),
@@ -85218,7 +85226,7 @@ const lse = [
85218
85226
  }
85219
85227
  });
85220
85228
  };
85221
- return (_, T) => (ze(), Mn(Fhe, Nc({
85229
+ return (_, T) => (ze(), Mn(Fhe, lc({
85222
85230
  modelValue: u.value,
85223
85231
  "onUpdate:modelValue": T[1] || (T[1] = (A) => u.value = A)
85224
85232
  }, i), {
@@ -85235,7 +85243,7 @@ const lse = [
85235
85243
  showCount: i == null ? void 0 : i.showCount,
85236
85244
  disabled: i == null ? void 0 : i.disabled
85237
85245
  }, null, 8, ["value", "isAbbr", "showCount", "disabled"]),
85238
- i.disabled ? no("", !0) : (ze(), Mn(he(cc), {
85246
+ i.disabled ? no("", !0) : (ze(), Mn(he(uc), {
85239
85247
  key: 0,
85240
85248
  size: "small",
85241
85249
  class: Kr(["align-middle", {
@@ -85398,7 +85406,7 @@ const lse = [
85398
85406
  }), g = (y) => {
85399
85407
  s.value.keyword = y;
85400
85408
  }, h = n;
85401
- return (y, w) => (ze(), Mn(he(ix), Nc({
85409
+ return (y, w) => (ze(), Mn(he(ix), lc({
85402
85410
  modelValue: i.value,
85403
85411
  "onUpdate:modelValue": w[0] || (w[0] = (_) => i.value = _),
85404
85412
  filterable: "",
@@ -85406,7 +85414,7 @@ const lse = [
85406
85414
  "remote-show-suffix": "",
85407
85415
  "remote-method": g,
85408
85416
  loading: he(d)
85409
- }, Nc(y.$attrs, h)), {
85417
+ }, lc(y.$attrs, h)), {
85410
85418
  default: Kt(() => [
85411
85419
  (ze(!0), Mt(_s, null, ur(he(u), (_) => (ze(), Mn(he(lx), {
85412
85420
  key: _.id,
@@ -85573,7 +85581,7 @@ const lse = [
85573
85581
  class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
85574
85582
  }, [
85575
85583
  dt("div", FGe, Ro(y == null ? void 0 : y.name), 1),
85576
- Lt(he(lc), {
85584
+ Lt(he(cc), {
85577
85585
  onClick: (w) => d(y),
85578
85586
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
85579
85587
  }, {
@@ -85684,7 +85692,7 @@ const lse = [
85684
85692
  }, {
85685
85693
  error: Kt(() => [
85686
85694
  dt("div", jGe, [
85687
- Lt(he(lc), { size: "16" }, {
85695
+ Lt(he(cc), { size: "16" }, {
85688
85696
  default: Kt(() => [
85689
85697
  Lt(he(x1), { color: "#fff" })
85690
85698
  ]),
@@ -85726,7 +85734,7 @@ const lse = [
85726
85734
  dt("div", QGe, [
85727
85735
  _[6] || (_[6] = dt("div", null, null, -1)),
85728
85736
  dt("div", null, [
85729
- Lt(he(cc), {
85737
+ Lt(he(uc), {
85730
85738
  onClick: _[2] || (_[2] = (T) => i.value = !1)
85731
85739
  }, {
85732
85740
  default: Kt(() => _[4] || (_[4] = [
@@ -85734,7 +85742,7 @@ const lse = [
85734
85742
  ])),
85735
85743
  _: 1
85736
85744
  }),
85737
- Lt(he(cc), {
85745
+ Lt(he(uc), {
85738
85746
  type: "primary",
85739
85747
  onClick: h
85740
85748
  }, {
@@ -85935,7 +85943,7 @@ const lse = [
85935
85943
  isAbbr: s.isAbbr,
85936
85944
  showCount: s.showCount
85937
85945
  }, null, 8, ["value", "isAbbr", "showCount"]),
85938
- s.disabled ? no("", !0) : (ze(), Mn(he(cc), {
85946
+ s.disabled ? no("", !0) : (ze(), Mn(he(uc), {
85939
85947
  key: 0,
85940
85948
  size: "small",
85941
85949
  class: Kr(["align-middle", {
@@ -86098,7 +86106,7 @@ const lse = [
86098
86106
  }), g = (y) => {
86099
86107
  s.value.keyword = y;
86100
86108
  }, h = n;
86101
- return (y, w) => (ze(), Mn(he(ix), Nc({
86109
+ return (y, w) => (ze(), Mn(he(ix), lc({
86102
86110
  modelValue: i.value,
86103
86111
  "onUpdate:modelValue": w[0] || (w[0] = (_) => i.value = _),
86104
86112
  filterable: "",
@@ -86106,7 +86114,7 @@ const lse = [
86106
86114
  "remote-show-suffix": "",
86107
86115
  "remote-method": g,
86108
86116
  loading: he(d)
86109
- }, Nc(y.$attrs, h)), {
86117
+ }, lc(y.$attrs, h)), {
86110
86118
  default: Kt(() => [
86111
86119
  (ze(!0), Mt(_s, null, ur(he(u), (_) => (ze(), Mn(he(lx), {
86112
86120
  key: _.id,
@@ -86276,7 +86284,7 @@ const lse = [
86276
86284
  class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
86277
86285
  }, [
86278
86286
  dt("div", Oqe, Ro(y == null ? void 0 : y.name), 1),
86279
- Lt(he(lc), {
86287
+ Lt(he(cc), {
86280
86288
  onClick: (w) => d(y),
86281
86289
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
86282
86290
  }, {
@@ -86424,7 +86432,7 @@ const lse = [
86424
86432
  dt("div", jqe, [
86425
86433
  _[6] || (_[6] = dt("div", null, null, -1)),
86426
86434
  dt("div", null, [
86427
- Lt(he(cc), {
86435
+ Lt(he(uc), {
86428
86436
  onClick: _[2] || (_[2] = (T) => i.value = !1)
86429
86437
  }, {
86430
86438
  default: Kt(() => _[4] || (_[4] = [
@@ -86432,7 +86440,7 @@ const lse = [
86432
86440
  ])),
86433
86441
  _: 1
86434
86442
  }),
86435
- Lt(he(cc), {
86443
+ Lt(he(uc), {
86436
86444
  type: "primary",
86437
86445
  onClick: h
86438
86446
  }, {
@@ -86633,7 +86641,7 @@ const lse = [
86633
86641
  isAbbr: s.isAbbr,
86634
86642
  showCount: s.showCount
86635
86643
  }, null, 8, ["value", "isAbbr", "showCount"]),
86636
- s.disabled ? no("", !0) : (ze(), Mn(he(cc), {
86644
+ s.disabled ? no("", !0) : (ze(), Mn(he(uc), {
86637
86645
  key: 0,
86638
86646
  size: "small",
86639
86647
  class: Kr(["align-middle", {
@@ -86796,7 +86804,7 @@ const lse = [
86796
86804
  }), g = (y) => {
86797
86805
  s.value.keyword = y;
86798
86806
  }, h = n;
86799
- return (y, w) => (ze(), Mn(he(ix), Nc({
86807
+ return (y, w) => (ze(), Mn(he(ix), lc({
86800
86808
  modelValue: i.value,
86801
86809
  "onUpdate:modelValue": w[0] || (w[0] = (_) => i.value = _),
86802
86810
  filterable: "",
@@ -86804,7 +86812,7 @@ const lse = [
86804
86812
  "remote-show-suffix": "",
86805
86813
  "remote-method": g,
86806
86814
  loading: he(d)
86807
- }, Nc(y.$attrs, h)), {
86815
+ }, lc(y.$attrs, h)), {
86808
86816
  default: Kt(() => [
86809
86817
  (ze(!0), Mt(_s, null, ur(he(u), (_) => (ze(), Mn(he(lx), {
86810
86818
  key: _.roleId,
@@ -87026,7 +87034,7 @@ const lse = [
87026
87034
  dt("span", { class: "font-bold" }, "提示:"),
87027
87035
  ns(" 若部门和岗位均选择不限则视为不限制 ")
87028
87036
  ], -1)),
87029
- Lt(he(cc), {
87037
+ Lt(he(uc), {
87030
87038
  size: "small",
87031
87039
  type: "primary",
87032
87040
  onClick: g
@@ -87132,7 +87140,7 @@ const lse = [
87132
87140
  onAfterLeave: T
87133
87141
  }, {
87134
87142
  reference: Kt(() => [
87135
- Lt(he(cc), { link: "" }, {
87143
+ Lt(he(uc), { link: "" }, {
87136
87144
  default: Kt(() => O[2] || (O[2] = [
87137
87145
  dt("div", { class: "i-bi:plus-lg mr-1" }, null, -1),
87138
87146
  ns(" 增加 ")
@@ -87150,7 +87158,7 @@ const lse = [
87150
87158
  ]),
87151
87159
  _: 1
87152
87160
  }, 512),
87153
- Lt(he(cc), {
87161
+ Lt(he(uc), {
87154
87162
  link: "",
87155
87163
  onClick: _
87156
87164
  }, {
@@ -87302,10 +87310,17 @@ const lse = [
87302
87310
  }), y = async () => {
87303
87311
  const w = st(s) || {}, _ = (w == null ? void 0 : w.groupIds) && st(i) === "role", T = _ ? YYe : qYe;
87304
87312
  g.value = !0, await (T == null ? void 0 : T(w, d).then((A) => {
87313
+ var O, N;
87305
87314
  _ ? h.value = {
87306
87315
  ...h.value,
87307
87316
  rolelist: A == null ? void 0 : A.data
87308
- } : h.value = A == null ? void 0 : A.data, u == null || u(A == null ? void 0 : A.data);
87317
+ } : h.value = {
87318
+ ...A == null ? void 0 : A.data,
87319
+ rolelist: ((N = (O = A == null ? void 0 : A.data) == null ? void 0 : O.rolelist) == null ? void 0 : N.map((z) => ({
87320
+ ...z,
87321
+ id: (z == null ? void 0 : z.roleId) || (z == null ? void 0 : z.id)
87322
+ }))) || []
87323
+ }, u == null || u(A == null ? void 0 : A.data);
87309
87324
  }).finally(() => {
87310
87325
  g.value = !1;
87311
87326
  }));
@@ -87331,7 +87346,11 @@ const lse = [
87331
87346
  const { keyword: _, unitId: T, groupIds: A } = st(s) || {};
87332
87347
  let O = { keyword: _, unitId: T };
87333
87348
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = w1(O), O;
87334
- }), { loading: g, refresh: h, allData: y } = R$({ params: d, type: i, onSuccess: u }), w = qt(() => {
87349
+ }), { loading: g, refresh: h, allData: y } = R$({
87350
+ params: d,
87351
+ type: i,
87352
+ onSuccess: u
87353
+ }), w = qt(() => {
87335
87354
  var z, B, j, H, F;
87336
87355
  let _ = [];
87337
87356
  const { groupIds: T, roleIds: A } = st(s) || {}, O = (z = T == null ? void 0 : T.split(",")) == null ? void 0 : z.filter(Boolean), N = (B = A == null ? void 0 : A.split(",")) == null ? void 0 : B.filter(Boolean);
@@ -87526,7 +87545,7 @@ const lse = [
87526
87545
  class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
87527
87546
  }, [
87528
87547
  dt("div", XYe, Ro(w == null ? void 0 : w.label), 1),
87529
- i != null && i.disabled ? no("", !0) : (ze(), Mn(he(lc), {
87548
+ i != null && i.disabled ? no("", !0) : (ze(), Mn(he(cc), {
87530
87549
  key: 0,
87531
87550
  onClick: (T) => u(w),
87532
87551
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -87655,7 +87674,7 @@ const lse = [
87655
87674
  y[0] || (y[0] = dt("div", { class: "i-bi:chevron-right inline-block text-[10px] text-[#C0C4CC]" }, null, -1)),
87656
87675
  ns(" " + Ro(((O = _ == null ? void 0 : _.role) == null ? void 0 : O.name) || "-"), 1)
87657
87676
  ]),
87658
- i != null && i.disabled ? no("", !0) : (ze(), Mn(he(lc), {
87677
+ i != null && i.disabled ? no("", !0) : (ze(), Mn(he(cc), {
87659
87678
  key: 0,
87660
87679
  onClick: (N) => d(_),
87661
87680
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -87995,7 +88014,7 @@ const lse = [
87995
88014
  }, {
87996
88015
  error: Kt(() => [
87997
88016
  dt("div", dKe, [
87998
- Lt(he(lc), { size: "14" }, {
88017
+ Lt(he(cc), { size: "14" }, {
87999
88018
  default: Kt(() => [
88000
88019
  Lt(he(x1), { color: "#fff" })
88001
88020
  ]),
@@ -88264,7 +88283,7 @@ const lse = [
88264
88283
  }, {
88265
88284
  error: Kt(() => [
88266
88285
  dt("div", wKe, [
88267
- Lt(he(lc), { size: "14" }, {
88286
+ Lt(he(cc), { size: "14" }, {
88268
88287
  default: Kt(() => [
88269
88288
  Lt(he(x1), { color: "#fff" })
88270
88289
  ]),
@@ -88402,7 +88421,7 @@ const lse = [
88402
88421
  }, {
88403
88422
  error: Kt(() => [
88404
88423
  dt("div", OKe, [
88405
- Lt(he(lc), { size: "16" }, {
88424
+ Lt(he(cc), { size: "16" }, {
88406
88425
  default: Kt(() => [
88407
88426
  Lt(he(x1), { color: "#fff" })
88408
88427
  ]),
@@ -88509,7 +88528,7 @@ const lse = [
88509
88528
  class: "inline-block cursor-pointer",
88510
88529
  onClick: A
88511
88530
  }, [
88512
- Lt(he(lc), {
88531
+ Lt(he(cc), {
88513
88532
  color: st(u.value) ? "#409eff" : ""
88514
88533
  }, {
88515
88534
  default: Kt(() => [
@@ -88547,7 +88566,7 @@ const lse = [
88547
88566
  }, {
88548
88567
  error: Kt(() => [
88549
88568
  dt("div", LKe, [
88550
- Lt(he(lc), { size: "16" }, {
88569
+ Lt(he(cc), { size: "16" }, {
88551
88570
  default: Kt(() => [
88552
88571
  Lt(he(x1), { color: "#fff" })
88553
88572
  ]),
@@ -88652,7 +88671,7 @@ const lse = [
88652
88671
  })
88653
88672
  ]),
88654
88673
  default: Kt(() => [
88655
- Lt(he(cc), {
88674
+ Lt(he(uc), {
88656
88675
  type: "primary",
88657
88676
  link: ""
88658
88677
  }, {
@@ -88660,7 +88679,7 @@ const lse = [
88660
88679
  var A;
88661
88680
  return [
88662
88681
  ns(Ro((A = h.value) == null ? void 0 : A.label) + " ", 1),
88663
- Lt(he(lc), { class: "el-icon--right" }, {
88682
+ Lt(he(cc), { class: "el-icon--right" }, {
88664
88683
  default: Kt(() => [
88665
88684
  Lt(he(ZEe))
88666
88685
  ]),
@@ -88676,7 +88695,7 @@ const lse = [
88676
88695
  ])
88677
88696
  ]),
88678
88697
  dt("div", GKe, [
88679
- (ze(), Mn(wy(h.value.component), Nc({
88698
+ (ze(), Mn(wy(h.value.component), lc({
88680
88699
  keyword: (T = i.value) == null ? void 0 : T.keyword,
88681
88700
  "model-value": u.value || [],
88682
88701
  "onUpdate:modelValue": _[1] || (_[1] = (A) => {
@@ -88771,10 +88790,11 @@ const lse = [
88771
88790
  }), z;
88772
88791
  }), A = qt({
88773
88792
  get: () => {
88774
- var B, j;
88775
- if (!i || !((B = T.value) != null && B.length) || !((j = g.value) != null && j.length)) return !1;
88793
+ var B;
88794
+ if (!i || !((B = T.value) != null && B.length) || Array.isArray(g.value) && !g.value.length)
88795
+ return !1;
88776
88796
  const z = Array.isArray(g.value) ? g.value : [];
88777
- return T.value.every((H) => z.includes(H));
88797
+ return T.value.every((j) => z.includes(j));
88778
88798
  },
88779
88799
  set: (z) => {
88780
88800
  if (i)
@@ -88793,7 +88813,7 @@ const lse = [
88793
88813
  H.forEach((ee) => {
88794
88814
  if (ee.startsWith("role_")) {
88795
88815
  const Te = ee.replace("role_", "");
88796
- u.includes(Te) || j.push(Te);
88816
+ u.includes(Te) || j.push(Number(Te));
88797
88817
  }
88798
88818
  });
88799
88819
  const P = (Array.isArray(g.value) ? g.value : []).filter((ee) => u.includes(ee));
@@ -88801,7 +88821,7 @@ const lse = [
88801
88821
  }, N = (z) => {
88802
88822
  if (!i && (z == null ? void 0 : z.type) === "role" && !(z != null && z.disabled)) {
88803
88823
  const B = z.id.replace("role_", "");
88804
- g.value = B;
88824
+ g.value = Number(B);
88805
88825
  }
88806
88826
  };
88807
88827
  return (z, B) => {
@@ -88859,7 +88879,7 @@ const lse = [
88859
88879
  }, {
88860
88880
  error: Kt(() => [
88861
88881
  dt("div", QKe, [
88862
- Lt(he(lc), { size: "14" }, {
88882
+ Lt(he(cc), { size: "14" }, {
88863
88883
  default: Kt(() => [
88864
88884
  Lt(he(x1))
88865
88885
  ]),
@@ -88894,7 +88914,7 @@ const lse = [
88894
88914
  ]);
88895
88915
  };
88896
88916
  }
88897
- }), u1e = /* @__PURE__ */ Xr(nXe, [["__scopeId", "data-v-0d9df4e6"]]), oXe = { class: "h-full flex flex-col w-full gap-y-2" }, sXe = { class: "flex justify-between gap-x-2 items-center flex-shrink-0" }, rXe = { class: "flex-1" }, aXe = { class: "flex-1 h-[100px]" }, iXe = { class: "h-full flex flex-col w-full" }, lXe = { class: "flex-shrink-0 flex items-center gap-x-2" }, cXe = { class: "flex-1 overflow-auto" }, uXe = ["onClick"], dXe = { class: "flex items-center gap-2" }, fXe = { class: "img text-[12px]" }, mXe = /* @__PURE__ */ wo({
88917
+ }), u1e = /* @__PURE__ */ Xr(nXe, [["__scopeId", "data-v-211a3cbb"]]), oXe = { class: "h-full flex flex-col w-full gap-y-2" }, sXe = { class: "flex justify-between gap-x-2 items-center flex-shrink-0" }, rXe = { class: "flex-1" }, aXe = { class: "flex-1 h-[100px]" }, iXe = { class: "h-full flex flex-col w-full" }, lXe = { class: "flex-shrink-0 flex items-center gap-x-2" }, cXe = { class: "flex-1 overflow-auto" }, uXe = ["onClick"], dXe = { class: "flex items-center gap-2" }, fXe = { class: "img text-[12px]" }, mXe = /* @__PURE__ */ wo({
88898
88918
  __name: "index",
88899
88919
  props: /* @__PURE__ */ cr({
88900
88920
  multiple: {
@@ -88987,7 +89007,7 @@ const lse = [
88987
89007
  class: "inline-block cursor-pointer",
88988
89008
  onClick: g
88989
89009
  }, [
88990
- Lt(he(lc), {
89010
+ Lt(he(cc), {
88991
89011
  color: st(d.value) ? "#409eff" : ""
88992
89012
  }, {
88993
89013
  default: Kt(() => [
@@ -89325,35 +89345,35 @@ const lse = [
89325
89345
  dt("div", {
89326
89346
  class: Kr(["flex-1 pr-1 h-[200px]", { "pointer-events-none opacity-60": ((O = n.modelValue) == null ? void 0 : O.allUser) === 1 }])
89327
89347
  }, [
89328
- h.value === "user" ? (ze(), Mn(c1e, Nc({ key: 0 }, d.value, {
89348
+ h.value === "user" ? (ze(), Mn(c1e, lc({ key: 0 }, d.value, {
89329
89349
  disabled: (i == null ? void 0 : i.disabled) || ((N = n.modelValue) == null ? void 0 : N.allUser) === 1,
89330
89350
  "model-value": ((z = n.modelValue) == null ? void 0 : z.userIds) || [],
89331
89351
  "onUpdate:modelValue": A[1] || (A[1] = (ve) => {
89332
89352
  w("userIds", ve || []);
89333
89353
  })
89334
89354
  }), null, 16, ["disabled", "model-value"])) : no("", !0),
89335
- h.value === "role" ? (ze(), Mn(u1e, Nc({ key: 1 }, d.value, {
89355
+ h.value === "role" ? (ze(), Mn(u1e, lc({ key: 1 }, d.value, {
89336
89356
  disabled: (i == null ? void 0 : i.disabled) || ((B = n.modelValue) == null ? void 0 : B.allUser) === 1,
89337
89357
  "model-value": ((j = n.modelValue) == null ? void 0 : j.roleIds) || [],
89338
89358
  "onUpdate:modelValue": A[2] || (A[2] = (ve) => {
89339
89359
  w("roleIds", ve || []);
89340
89360
  })
89341
89361
  }), null, 16, ["disabled", "model-value"])) : no("", !0),
89342
- h.value === "department" ? (ze(), Mn(d1e, Nc({ key: 2 }, d.value, {
89362
+ h.value === "department" ? (ze(), Mn(d1e, lc({ key: 2 }, d.value, {
89343
89363
  disabled: (i == null ? void 0 : i.disabled) || ((H = n.modelValue) == null ? void 0 : H.allUser) === 1,
89344
89364
  "model-value": ((F = n.modelValue) == null ? void 0 : F.groupIds) || [],
89345
89365
  "onUpdate:modelValue": A[3] || (A[3] = (ve) => {
89346
89366
  w("groupIds", ve || []);
89347
89367
  })
89348
89368
  }), null, 16, ["disabled", "model-value"])) : no("", !0),
89349
- h.value === "roleAndDepartment" ? (ze(), Mn(f1e, Nc({ key: 3 }, d.value, {
89369
+ h.value === "roleAndDepartment" ? (ze(), Mn(f1e, lc({ key: 3 }, d.value, {
89350
89370
  disabled: (i == null ? void 0 : i.disabled) || ((P = n.modelValue) == null ? void 0 : P.allUser) === 1,
89351
89371
  "model-value": ((ee = n.modelValue) == null ? void 0 : ee.groupRoles) || [],
89352
89372
  "onUpdate:modelValue": A[4] || (A[4] = (ve) => {
89353
89373
  w("groupRoles", ve || []);
89354
89374
  })
89355
89375
  }), null, 16, ["disabled", "model-value"])) : no("", !0),
89356
- h.value === "draftTarget" ? (ze(), Mn(gXe, Nc({ key: 4 }, d.value, {
89376
+ h.value === "draftTarget" ? (ze(), Mn(gXe, lc({ key: 4 }, d.value, {
89357
89377
  disabled: (i == null ? void 0 : i.disabled) || ((Te = n.modelValue) == null ? void 0 : Te.allUser) === 1,
89358
89378
  "model-value": ((Se = n.modelValue) == null ? void 0 : Se.draftTarget) || [],
89359
89379
  "onUpdate:modelValue": A[5] || (A[5] = (ve) => {
@@ -89434,7 +89454,7 @@ const lse = [
89434
89454
  dt("div", DXe, [
89435
89455
  O[12] || (O[12] = dt("div", null, null, -1)),
89436
89456
  dt("div", null, [
89437
- Lt(he(cc), {
89457
+ Lt(he(uc), {
89438
89458
  onClick: O[6] || (O[6] = (N) => u.value = !1)
89439
89459
  }, {
89440
89460
  default: Kt(() => O[10] || (O[10] = [
@@ -89442,7 +89462,7 @@ const lse = [
89442
89462
  ])),
89443
89463
  _: 1
89444
89464
  }),
89445
- Lt(he(cc), {
89465
+ Lt(he(uc), {
89446
89466
  type: "primary",
89447
89467
  onClick: y
89448
89468
  }, {
@@ -89637,7 +89657,7 @@ const lse = [
89637
89657
  displayMaxLength: g == null ? void 0 : g.displayMaxLength,
89638
89658
  value: u.value || {}
89639
89659
  }, null, 8, ["displayType", "displayMaxLength", "value"]),
89640
- g.disabled ? no("", !0) : (ze(), Mn(he(cc), {
89660
+ g.disabled ? no("", !0) : (ze(), Mn(he(uc), {
89641
89661
  key: 0,
89642
89662
  size: "small",
89643
89663
  class: "ml-2",
@@ -89651,7 +89671,7 @@ const lse = [
89651
89671
  _: 1
89652
89672
  }))
89653
89673
  ]),
89654
- Lt(NXe, Nc({
89674
+ Lt(NXe, lc({
89655
89675
  ref_key: "dialogRef",
89656
89676
  ref: h
89657
89677
  }, g, {