@quoreadmin/ui 0.22.10 → 0.22.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -606,21 +606,21 @@ class Ib {
606
606
  } = this.state, c = this.getInternalMovement(e, this.state), d = this.transform(r).map(Math.abs), f = a[0] === !1 ? d1(c[0], d[0]) : a[0], h = a[1] === !1 ? d1(c[1], d[1]) : a[1], p = this.checkIntentionality([f, h], c);
607
607
  if (p._blocked)
608
608
  return { ...p, _movement: c, delta: [0, 0] };
609
- const y = p._intentional, m = c;
610
- let g = [
611
- y[0] !== !1 ? c[0] - y[0] : 0,
612
- y[1] !== !1 ? c[1] - y[1] : 0
609
+ const g = p._intentional, m = c;
610
+ let y = [
611
+ g[0] !== !1 ? c[0] - g[0] : 0,
612
+ g[1] !== !1 ? c[1] - g[1] : 0
613
613
  ];
614
- const v = zu(g, l), S = s ? n : [0, 0];
615
- return g = f1(i, zu(g, o), S), {
614
+ const v = zu(y, l), S = s ? n : [0, 0];
615
+ return y = f1(i, zu(y, o), S), {
616
616
  ...p,
617
- intentional: y[0] !== !1 || y[1] !== !1,
617
+ intentional: g[0] !== !1 || g[1] !== !1,
618
618
  _initial: o,
619
619
  _movement: m,
620
- movement: g,
620
+ movement: y,
621
621
  values: e,
622
622
  offset: f1(i, v, S),
623
- delta: Hg(g, u)
623
+ delta: Hg(y, u)
624
624
  };
625
625
  }
626
626
  // Cleans the gesture. Can be overriden by gestures.
@@ -788,8 +788,8 @@ class $b extends Db {
788
788
  const n = this.state._dragIsTap, [r, i] = this.state.velocities, [o, s] = this.state.movement, [a, l] = this.state._intentional, [u, c] = this.config.swipeVelocity, [d, f] = this.config.swipeDistance, h = this.config.swipeDuration, p = {
789
789
  ...$2(this, e),
790
790
  ...this.getMovement(this.state.values)
791
- }, y = [0, 0];
792
- p.elapsedTime < h && (a !== !1 && Math.abs(r) > u && Math.abs(o) > d && (y[0] = Zu(r)), l !== !1 && Math.abs(i) > c && Math.abs(s) > f && (y[1] = Zu(i))), this.updateSharedState({ buttons: 0 }), this.updateGestureState({ ...p, tap: n, swipe: y }), this.fireGestureHandler(this.config.filterTaps && n === !0);
791
+ }, g = [0, 0];
792
+ p.elapsedTime < h && (a !== !1 && Math.abs(r) > u && Math.abs(o) > d && (g[0] = Zu(r)), l !== !1 && Math.abs(i) > c && Math.abs(s) > f && (g[1] = Zu(i))), this.updateSharedState({ buttons: 0 }), this.updateGestureState({ ...p, tap: n, swipe: g }), this.fireGestureHandler(this.config.filterTaps && n === !0);
793
793
  }), dt(this, "clean", () => {
794
794
  super.clean(), this.state._dragStarted = !1, this.releasePointerCapture(), wb(this.controller, this.stateKey);
795
795
  }), dt(this, "onCancel", () => {
@@ -1104,13 +1104,13 @@ function F2({ props: t, attrs: e, slots: n, slot: r, name: i }) {
1104
1104
  if (u = Zg(u ?? []), Object.keys(l).length > 0 || Object.keys(e).length > 0) {
1105
1105
  let [d, ...f] = u ?? [];
1106
1106
  if (!a6(d) || f.length > 0)
1107
- throw new Error(['Passing props on "template"!', "", `The current component <${i} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(l).concat(Object.keys(e)).map((y) => y.trim()).filter((y, m, g) => g.indexOf(y) === m).sort((y, m) => y.localeCompare(m)).map((y) => ` - ${y}`).join(`
1108
- `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((y) => ` - ${y}`).join(`
1107
+ throw new Error(['Passing props on "template"!', "", `The current component <${i} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(l).concat(Object.keys(e)).map((g) => g.trim()).filter((g, m, y) => y.indexOf(g) === m).sort((g, m) => g.localeCompare(m)).map((g) => ` - ${g}`).join(`
1108
+ `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((g) => ` - ${g}`).join(`
1109
1109
  `)].join(`
1110
1110
  `));
1111
1111
  let h = Wg((s = d.props) != null ? s : {}, l, c), p = H4(d, h, !0);
1112
- for (let y in h)
1113
- y.startsWith("on") && (p.props || (p.props = {}), p.props[y] = h[y]);
1112
+ for (let g in h)
1113
+ g.startsWith("on") && (p.props || (p.props = {}), p.props[g] = h[g]);
1114
1114
  return p;
1115
1115
  }
1116
1116
  return Array.isArray(u) && u.length === 1 ? u[0] : u;
@@ -1298,8 +1298,8 @@ let Yg = zg.RenderStrategy, y6 = ce({ props: { as: { type: [Object, String], def
1298
1298
  return () => Ot(Jg, { ...t, onBeforeEnter: s, onAfterEnter: a, onBeforeLeave: l, onAfterLeave: u }, r);
1299
1299
  let c = _(null), d = U(() => t.unmount ? jr.Unmount : jr.Hidden);
1300
1300
  i({ el: c, $el: c });
1301
- let { show: f, appear: h } = m6(), { register: p, unregister: y } = g6(), m = _(f.value ? "visible" : "hidden"), g = { value: !0 }, v = n6(), S = { value: !1 }, w = qg(() => {
1302
- !S.value && m.value !== "hidden" && (m.value = "hidden", y(v), u());
1301
+ let { show: f, appear: h } = m6(), { register: p, unregister: g } = g6(), m = _(f.value ? "visible" : "hidden"), y = { value: !0 }, v = n6(), S = { value: !1 }, w = qg(() => {
1302
+ !S.value && m.value !== "hidden" && (m.value = "hidden", g(v), u());
1303
1303
  });
1304
1304
  Je(() => {
1305
1305
  let te = p(v);
@@ -1310,7 +1310,7 @@ let Yg = zg.RenderStrategy, y6 = ce({ props: { as: { type: [Object, String], def
1310
1310
  m.value = "visible";
1311
1311
  return;
1312
1312
  }
1313
- zs(m.value, { hidden: () => y(v), visible: () => p(v) });
1313
+ zs(m.value, { hidden: () => g(v), visible: () => p(v) });
1314
1314
  }
1315
1315
  });
1316
1316
  let T = wi(t.enter), C = wi(t.enterFrom), E = wi(t.enterTo), A = wi(t.entered), $ = wi(t.leave), z = wi(t.leaveFrom), j = wi(t.leaveTo);
@@ -1324,16 +1324,16 @@ let Yg = zg.RenderStrategy, y6 = ce({ props: { as: { type: [Object, String], def
1324
1324
  });
1325
1325
  });
1326
1326
  function q(te) {
1327
- let me = g.value && !h.value, Y = p1(c);
1327
+ let me = y.value && !h.value, Y = p1(c);
1328
1328
  !Y || !(Y instanceof HTMLElement) || me || (S.value = !0, f.value && s(), f.value || l(), te(f.value ? g1(Y, T, C, E, A, (oe) => {
1329
1329
  S.value = !1, oe === Wu.Finished && a();
1330
1330
  }) : g1(Y, $, z, j, A, (oe) => {
1331
- S.value = !1, oe === Wu.Finished && (e2(w) || (m.value = "hidden", y(v), u()));
1331
+ S.value = !1, oe === Wu.Finished && (e2(w) || (m.value = "hidden", g(v), u()));
1332
1332
  })));
1333
1333
  }
1334
1334
  return Je(() => {
1335
1335
  Qe([f], (te, me, Y) => {
1336
- q(Y), g.value = !1;
1336
+ q(Y), y.value = !1;
1337
1337
  }, { immediate: !0 });
1338
1338
  }), ti(wd, w), u6(U(() => zs(m.value, { visible: ar.Open, hidden: ar.Closed }) | o.value)), () => {
1339
1339
  let { appear: te, show: me, enter: Y, enterFrom: oe, enterTo: ge, entered: be, leave: ct, leaveFrom: xt, leaveTo: vt, ...bt } = t, Cn = { ref: c }, Kt = { ...bt, ...h.value && f.value && s6.isServer ? { class: B([n.class, bt.class, ...T, ...C]) } : {} };
@@ -1542,18 +1542,18 @@ function x6(t, e, n = {}) {
1542
1542
  let c = Vi;
1543
1543
  const d = _(a), f = l.value ? Qe(
1544
1544
  () => [u.value, ur(r), d.value],
1545
- ([p, y]) => {
1545
+ ([p, g]) => {
1546
1546
  if (c(), !d.value || !p.length)
1547
1547
  return;
1548
1548
  const m = new IntersectionObserver(
1549
1549
  e,
1550
1550
  {
1551
- root: ur(y),
1551
+ root: ur(g),
1552
1552
  rootMargin: i,
1553
1553
  threshold: o
1554
1554
  }
1555
1555
  );
1556
- p.forEach((g) => g && m.observe(g)), c = () => {
1556
+ p.forEach((y) => y && m.observe(y)), c = () => {
1557
1557
  m.disconnect(), c = Vi;
1558
1558
  };
1559
1559
  },
@@ -1648,8 +1648,8 @@ function B6({ duration: t = 800, bounce: e = 0.25, velocity: n = 0, mass: r = 1
1648
1648
  const c = u * s, d = c * t, f = c - n, h = Yu(u, s), p = Math.exp(-d);
1649
1649
  return V2 - f / h * p;
1650
1650
  }, o = (u) => {
1651
- const d = u * s * t, f = d * n + n, h = Math.pow(s, 2) * Math.pow(u, 2) * t, p = Math.exp(-d), y = Yu(Math.pow(u, 2), s);
1652
- return (-i(u) + V2 > 0 ? -1 : 1) * ((f - h) * p) / y;
1651
+ const d = u * s * t, f = d * n + n, h = Math.pow(s, 2) * Math.pow(u, 2) * t, p = Math.exp(-d), g = Yu(Math.pow(u, 2), s);
1652
+ return (-i(u) + V2 > 0 ? -1 : 1) * ((f - h) * p) / g;
1653
1653
  }) : (i = (u) => {
1654
1654
  const c = Math.exp(-u * t), d = (u - n) * t + 1;
1655
1655
  return -V2 + c * d;
@@ -1699,40 +1699,40 @@ function kd(t) {
1699
1699
  var { from: e = 0, to: n = 1, restSpeed: r = 2, restDelta: i } = t, o = o5(t, ["from", "to", "restSpeed", "restDelta"]);
1700
1700
  const s = { done: !1, value: e };
1701
1701
  let { stiffness: a, damping: l, mass: u, velocity: c, duration: d, isResolvedFromDuration: f } = j6(o), h = S1, p = S1;
1702
- function y() {
1703
- const m = c ? -(c / 1e3) : 0, g = n - e, v = l / (2 * Math.sqrt(a * u)), S = Math.sqrt(a / u) / 1e3;
1702
+ function g() {
1703
+ const m = c ? -(c / 1e3) : 0, y = n - e, v = l / (2 * Math.sqrt(a * u)), S = Math.sqrt(a / u) / 1e3;
1704
1704
  if (i === void 0 && (i = Math.min(Math.abs(n - e) / 100, 0.4)), v < 1) {
1705
1705
  const w = Yu(S, v);
1706
1706
  h = (T) => {
1707
1707
  const C = Math.exp(-v * S * T);
1708
- return n - C * ((m + v * S * g) / w * Math.sin(w * T) + g * Math.cos(w * T));
1708
+ return n - C * ((m + v * S * y) / w * Math.sin(w * T) + y * Math.cos(w * T));
1709
1709
  }, p = (T) => {
1710
1710
  const C = Math.exp(-v * S * T);
1711
- return v * S * C * (Math.sin(w * T) * (m + v * S * g) / w + g * Math.cos(w * T)) - C * (Math.cos(w * T) * (m + v * S * g) - w * g * Math.sin(w * T));
1711
+ return v * S * C * (Math.sin(w * T) * (m + v * S * y) / w + y * Math.cos(w * T)) - C * (Math.cos(w * T) * (m + v * S * y) - w * y * Math.sin(w * T));
1712
1712
  };
1713
1713
  } else if (v === 1)
1714
- h = (w) => n - Math.exp(-S * w) * (g + (m + S * g) * w);
1714
+ h = (w) => n - Math.exp(-S * w) * (y + (m + S * y) * w);
1715
1715
  else {
1716
1716
  const w = S * Math.sqrt(v * v - 1);
1717
1717
  h = (T) => {
1718
1718
  const C = Math.exp(-v * S * T), E = Math.min(w * T, 300);
1719
- return n - C * ((m + v * S * g) * Math.sinh(E) + w * g * Math.cosh(E)) / w;
1719
+ return n - C * ((m + v * S * y) * Math.sinh(E) + w * y * Math.cosh(E)) / w;
1720
1720
  };
1721
1721
  }
1722
1722
  }
1723
- return y(), {
1723
+ return g(), {
1724
1724
  next: (m) => {
1725
- const g = h(m);
1725
+ const y = h(m);
1726
1726
  if (f)
1727
1727
  s.done = m >= d;
1728
1728
  else {
1729
- const v = p(m) * 1e3, S = Math.abs(v) <= r, w = Math.abs(n - g) <= i;
1729
+ const v = p(m) * 1e3, S = Math.abs(v) <= r, w = Math.abs(n - y) <= i;
1730
1730
  s.done = S && w;
1731
1731
  }
1732
- return s.value = s.done ? n : g, s;
1732
+ return s.value = s.done ? n : y, s;
1733
1733
  },
1734
1734
  flipTarget: () => {
1735
- c = -c, [e, n] = [n, e], y();
1735
+ c = -c, [e, n] = [n, e], g();
1736
1736
  }
1737
1737
  };
1738
1738
  }
@@ -2018,18 +2018,18 @@ const P8 = (t) => {
2018
2018
  };
2019
2019
  };
2020
2020
  function M5(t) {
2021
- var e, n, { from: r, autoplay: i = !0, driver: o = P8, elapsed: s = 0, repeat: a = 0, repeatType: l = "loop", repeatDelay: u = 0, onPlay: c, onStop: d, onComplete: f, onRepeat: h, onUpdate: p } = t, y = o5(t, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
2022
- let { to: m } = y, g, v = 0, S = y.duration, w, T = !1, C = !0, E;
2023
- const A = x8(y);
2021
+ var e, n, { from: r, autoplay: i = !0, driver: o = P8, elapsed: s = 0, repeat: a = 0, repeatType: l = "loop", repeatDelay: u = 0, onPlay: c, onStop: d, onComplete: f, onRepeat: h, onUpdate: p } = t, g = o5(t, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
2022
+ let { to: m } = g, y, v = 0, S = g.duration, w, T = !1, C = !0, E;
2023
+ const A = x8(g);
2024
2024
  !((n = (e = A).needsInterpolation) === null || n === void 0) && n.call(e, r, m) && (E = b5([0, 100], [r, m], {
2025
2025
  clamp: !1
2026
2026
  }), r = 0, m = 100);
2027
- const $ = A(Object.assign(Object.assign({}, y), { from: r, to: m }));
2027
+ const $ = A(Object.assign(Object.assign({}, g), { from: r, to: m }));
2028
2028
  function z() {
2029
2029
  v++, l === "reverse" ? (C = v % 2 === 0, s = A8(s, S, u, C)) : (s = E5(s, S, u), l === "mirror" && $.flipTarget()), T = !1, h && h();
2030
2030
  }
2031
2031
  function j() {
2032
- g.stop(), f && f();
2032
+ y.stop(), f && f();
2033
2033
  }
2034
2034
  function q(me) {
2035
2035
  if (C || (me = -me), s += me, !T) {
@@ -2039,11 +2039,11 @@ function M5(t) {
2039
2039
  p == null || p(w), T && (v === 0 && (S ?? (S = s)), v < a ? I8(s, S, u, C) && z() : j());
2040
2040
  }
2041
2041
  function te() {
2042
- c == null || c(), g = o(q), g.start();
2042
+ c == null || c(), y = o(q), y.start();
2043
2043
  }
2044
2044
  return i && te(), {
2045
2045
  stop: () => {
2046
- d == null || d(), g.stop();
2046
+ d == null || d(), y.stop();
2047
2047
  }
2048
2048
  };
2049
2049
  }
@@ -2052,13 +2052,13 @@ function x5(t, e) {
2052
2052
  }
2053
2053
  function D8({ from: t = 0, velocity: e = 0, min: n, max: r, power: i = 0.8, timeConstant: o = 750, bounceStiffness: s = 500, bounceDamping: a = 10, restDelta: l = 1, modifyTarget: u, driver: c, onUpdate: d, onComplete: f, onStop: h }) {
2054
2054
  let p;
2055
- function y(S) {
2055
+ function g(S) {
2056
2056
  return n !== void 0 && S < n || r !== void 0 && S > r;
2057
2057
  }
2058
2058
  function m(S) {
2059
2059
  return n === void 0 ? r : r === void 0 || Math.abs(n - S) < Math.abs(r - S) ? n : r;
2060
2060
  }
2061
- function g(S) {
2061
+ function y(S) {
2062
2062
  p == null || p.stop(), p = M5(Object.assign(Object.assign({}, S), {
2063
2063
  driver: c,
2064
2064
  onUpdate: (w) => {
@@ -2070,9 +2070,9 @@ function D8({ from: t = 0, velocity: e = 0, min: n, max: r, power: i = 0.8, time
2070
2070
  }));
2071
2071
  }
2072
2072
  function v(S) {
2073
- g(Object.assign({ type: "spring", stiffness: s, damping: a, restDelta: l }, S));
2073
+ y(Object.assign({ type: "spring", stiffness: s, damping: a, restDelta: l }, S));
2074
2074
  }
2075
- if (y(t))
2075
+ if (g(t))
2076
2076
  v({ from: t, velocity: e, to: m(t) });
2077
2077
  else {
2078
2078
  let S = i * e + t;
@@ -2082,7 +2082,7 @@ function D8({ from: t = 0, velocity: e = 0, min: n, max: r, power: i = 0.8, time
2082
2082
  const A = ($) => {
2083
2083
  C = E, E = $, e = x5($ - C, i5().delta), (T === 1 && $ > w || T === -1 && $ < w) && v({ from: $, to: w, velocity: e });
2084
2084
  };
2085
- g({
2085
+ y({
2086
2086
  type: "decay",
2087
2087
  from: t,
2088
2088
  velocity: e,
@@ -2090,7 +2090,7 @@ function D8({ from: t = 0, velocity: e = 0, min: n, max: r, power: i = 0.8, time
2090
2090
  power: i,
2091
2091
  restDelta: l,
2092
2092
  modifyTarget: u,
2093
- onUpdate: y(S) ? A : void 0
2093
+ onUpdate: g(S) ? A : void 0
2094
2094
  });
2095
2095
  }
2096
2096
  return {
@@ -3341,11 +3341,11 @@ const c9 = ce({
3341
3341
  set: (T) => e("update:model-value", T)
3342
3342
  }), f = U(() => t.modelValue ? "z-[201]" : "-z-40"), h = U(() => !!(n != null && n.headerAction)), p = () => {
3343
3343
  o.value = window.innerHeight;
3344
- }, y = () => {
3345
- t.allowOnClickOutside && g({ clickOutside: !0 });
3344
+ }, g = () => {
3345
+ t.allowOnClickOutside && y({ clickOutside: !0 });
3346
3346
  }, m = () => {
3347
3347
  d.value = !0;
3348
- }, g = async (T = { clickOutside: !1 }) => {
3348
+ }, y = async (T = { clickOutside: !1 }) => {
3349
3349
  if (d.value = !1, await lr(), T.clickOutside) {
3350
3350
  d.value = !1;
3351
3351
  return;
@@ -3373,7 +3373,7 @@ const c9 = ce({
3373
3373
  movement: [, E]
3374
3374
  } = T;
3375
3375
  if (C > 0) {
3376
- g();
3376
+ y();
3377
3377
  return;
3378
3378
  } else if (C < 0) {
3379
3379
  m();
@@ -3383,12 +3383,12 @@ const c9 = ce({
3383
3383
  m();
3384
3384
  return;
3385
3385
  } else {
3386
- g();
3386
+ y();
3387
3387
  return;
3388
3388
  }
3389
3389
  };
3390
3390
  return vr(() => {
3391
- document.body.classList.remove("scroll-disabled"), g();
3391
+ document.body.classList.remove("scroll-disabled"), y();
3392
3392
  }), Je(() => {
3393
3393
  m(), document.body.classList.add("scroll-disabled"), window.addEventListener("resize", p);
3394
3394
  }), Xb(v, {
@@ -3408,8 +3408,8 @@ const c9 = ce({
3408
3408
  show: d,
3409
3409
  hasHeaderAction: h,
3410
3410
  // methods
3411
- onClickOutside: y,
3412
- onClose: g,
3411
+ onClickOutside: g,
3412
+ onClose: y,
3413
3413
  onOpen: m,
3414
3414
  dragHandler: v,
3415
3415
  handleDrag: S,
@@ -3828,12 +3828,12 @@ var M = {
3828
3828
  if (h === "string" || h === "number")
3829
3829
  d.push(f);
3830
3830
  else if (h === "object") {
3831
- var p = Array.isArray(f) ? o(s, f) : Object.entries(f).map(function(y) {
3832
- var m = W2(y, 2), g = m[0], v = m[1];
3833
- return s === "style" && (v || v === 0) ? "".concat(g.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), ":").concat(v) : v ? g : void 0;
3831
+ var p = Array.isArray(f) ? o(s, f) : Object.entries(f).map(function(g) {
3832
+ var m = W2(g, 2), y = m[0], v = m[1];
3833
+ return s === "style" && (v || v === 0) ? "".concat(y.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), ":").concat(v) : v ? y : void 0;
3834
3834
  });
3835
- d = p.length ? d.concat(p.filter(function(y) {
3836
- return !!y;
3835
+ d = p.length ? d.concat(p.filter(function(g) {
3836
+ return !!g;
3837
3837
  })) : d;
3838
3838
  }
3839
3839
  }
@@ -3881,8 +3881,8 @@ var M = {
3881
3881
  var i = e.offsetParent ? {
3882
3882
  width: e.offsetWidth,
3883
3883
  height: e.offsetHeight
3884
- } : this.getHiddenElementDimensions(e), o = i.height, s = i.width, a = n.offsetHeight, l = n.offsetWidth, u = n.getBoundingClientRect(), c = this.getWindowScrollTop(), d = this.getWindowScrollLeft(), f = this.getViewport(), h, p, y = "top";
3885
- u.top + a + o > f.height ? (h = u.top + c - o, y = "bottom", h < 0 && (h = c)) : h = a + u.top + c, u.left + s > f.width ? p = Math.max(0, u.left + d + l - s) : p = u.left + d, e.style.top = h + "px", e.style.left = p + "px", e.style.transformOrigin = y, r && (e.style.marginTop = y === "bottom" ? "calc(var(--p-anchor-gutter) * -1)" : "calc(var(--p-anchor-gutter))");
3884
+ } : this.getHiddenElementDimensions(e), o = i.height, s = i.width, a = n.offsetHeight, l = n.offsetWidth, u = n.getBoundingClientRect(), c = this.getWindowScrollTop(), d = this.getWindowScrollLeft(), f = this.getViewport(), h, p, g = "top";
3885
+ u.top + a + o > f.height ? (h = u.top + c - o, g = "bottom", h < 0 && (h = c)) : h = a + u.top + c, u.left + s > f.width ? p = Math.max(0, u.left + d + l - s) : p = u.left + d, e.style.top = h + "px", e.style.left = p + "px", e.style.transformOrigin = g, r && (e.style.marginTop = g === "bottom" ? "calc(var(--p-anchor-gutter) * -1)" : "calc(var(--p-anchor-gutter))");
3886
3886
  }
3887
3887
  },
3888
3888
  relativePosition: function(e, n) {
@@ -3914,8 +3914,8 @@ var M = {
3914
3914
  if (e) {
3915
3915
  var r = this.getParents(e), i = /(auto|scroll)/, o = function(m) {
3916
3916
  try {
3917
- var g = window.getComputedStyle(m, null);
3918
- return i.test(g.getPropertyValue("overflow")) || i.test(g.getPropertyValue("overflowX")) || i.test(g.getPropertyValue("overflowY"));
3917
+ var y = window.getComputedStyle(m, null);
3918
+ return i.test(y.getPropertyValue("overflow")) || i.test(y.getPropertyValue("overflowX")) || i.test(y.getPropertyValue("overflowY"));
3919
3919
  } catch {
3920
3920
  return !1;
3921
3921
  }
@@ -3930,16 +3930,16 @@ var M = {
3930
3930
  var h = f.value, p = this.findSingle(l, h);
3931
3931
  p && o(p) && n.push(p);
3932
3932
  }
3933
- } catch (y) {
3934
- d.e(y);
3933
+ } catch (g) {
3934
+ d.e(g);
3935
3935
  } finally {
3936
3936
  d.f();
3937
3937
  }
3938
3938
  }
3939
3939
  l.nodeType !== 9 && o(l) && n.push(l);
3940
3940
  }
3941
- } catch (y) {
3942
- s.e(y);
3941
+ } catch (g) {
3942
+ s.e(g);
3943
3943
  } finally {
3944
3944
  s.f();
3945
3945
  }
@@ -4884,15 +4884,15 @@ function uS(t) {
4884
4884
  }
4885
4885
  var cS = 0;
4886
4886
  function Z5(t) {
4887
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = _(!1), r = _(t), i = _(null), o = M.isClient() ? window.document : void 0, s = e.document, a = s === void 0 ? o : s, l = e.immediate, u = l === void 0 ? !0 : l, c = e.manual, d = c === void 0 ? !1 : c, f = e.name, h = f === void 0 ? "style_".concat(++cS) : f, p = e.id, y = p === void 0 ? void 0 : p, m = e.media, g = m === void 0 ? void 0 : m, v = e.nonce, S = v === void 0 ? void 0 : v, w = e.props, T = w === void 0 ? {} : w, C = function() {
4887
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = _(!1), r = _(t), i = _(null), o = M.isClient() ? window.document : void 0, s = e.document, a = s === void 0 ? o : s, l = e.immediate, u = l === void 0 ? !0 : l, c = e.manual, d = c === void 0 ? !1 : c, f = e.name, h = f === void 0 ? "style_".concat(++cS) : f, p = e.id, g = p === void 0 ? void 0 : p, m = e.media, y = m === void 0 ? void 0 : m, v = e.nonce, S = v === void 0 ? void 0 : v, w = e.props, T = w === void 0 ? {} : w, C = function() {
4888
4888
  }, E = function(z) {
4889
4889
  var j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4890
4890
  if (a) {
4891
- var q = H1(H1({}, T), j), te = q.name || h, me = q.id || y, Y = q.nonce || S;
4891
+ var q = H1(H1({}, T), j), te = q.name || h, me = q.id || g, Y = q.nonce || S;
4892
4892
  i.value = a.querySelector('style[data-primevue-style-id="'.concat(te, '"]')) || a.getElementById(me) || a.createElement("style"), i.value.isConnected || (r.value = z || t, M.setAttributes(i.value, {
4893
4893
  type: "text/css",
4894
4894
  id: me,
4895
- media: g,
4895
+ media: y,
4896
4896
  nonce: Y
4897
4897
  }), a.head.appendChild(i.value), M.setAttribute(i.value, "data-primevue-style-id", h), M.setAttributes(i.value, q)), !n.value && (C = Qe(r, function(oe) {
4898
4898
  i.value.textContent = oe;
@@ -4904,7 +4904,7 @@ function Z5(t) {
4904
4904
  !a || !n.value || (C(), M.isExist(i.value) && a.head.removeChild(i.value), n.value = !1);
4905
4905
  };
4906
4906
  return u && !d && uS(E), {
4907
- id: y,
4907
+ id: g,
4908
4908
  name: h,
4909
4909
  css: r,
4910
4910
  unload: A,
@@ -5185,10 +5185,10 @@ var Se = {
5185
5185
  return D.isString(v) || D.isArray(v) ? {
5186
5186
  class: v
5187
5187
  } : v;
5188
- }, u = ((e = r.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = r.$config) === null || n === void 0 ? void 0 : n.ptOptions) || {}, c = u.mergeSections, d = c === void 0 ? !0 : c, f = u.mergeProps, h = f === void 0 ? !1 : f, p = a ? Se._useDefaultPT(r, r.defaultPT(), l, o, s) : void 0, y = Se._usePT(r, Se._getPT(i, r.$name), l, o, Be(Be({}, s), {}, {
5188
+ }, u = ((e = r.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = r.$config) === null || n === void 0 ? void 0 : n.ptOptions) || {}, c = u.mergeSections, d = c === void 0 ? !0 : c, f = u.mergeProps, h = f === void 0 ? !1 : f, p = a ? Se._useDefaultPT(r, r.defaultPT(), l, o, s) : void 0, g = Se._usePT(r, Se._getPT(i, r.$name), l, o, Be(Be({}, s), {}, {
5189
5189
  global: p || {}
5190
5190
  })), m = Se._getPTDatasets(r, o);
5191
- return d || !d && y ? h ? Se._mergeProps(r, h, p, y, m) : Be(Be(Be({}, p), y), m) : Be(Be({}, y), m);
5191
+ return d || !d && g ? h ? Se._mergeProps(r, h, p, g, m) : Be(Be(Be({}, p), g), m) : Be(Be({}, g), m);
5192
5192
  },
5193
5193
  _getPTDatasets: function() {
5194
5194
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = "data-pc-";
@@ -5256,30 +5256,30 @@ var Se = {
5256
5256
  /* computed instance variables */
5257
5257
  defaultPT: function() {
5258
5258
  return Se._getPT(f == null ? void 0 : f.pt, void 0, function(m) {
5259
- var g;
5260
- return m == null || (g = m.directives) === null || g === void 0 ? void 0 : g[e];
5259
+ var y;
5260
+ return m == null || (y = m.directives) === null || y === void 0 ? void 0 : y[e];
5261
5261
  });
5262
5262
  },
5263
5263
  isUnstyled: function() {
5264
- var m, g;
5265
- return ((m = s.$instance) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.unstyled) !== void 0 ? (g = s.$instance) === null || g === void 0 || (g = g.$binding) === null || g === void 0 || (g = g.value) === null || g === void 0 ? void 0 : g.unstyled : f == null ? void 0 : f.unstyled;
5264
+ var m, y;
5265
+ return ((m = s.$instance) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.unstyled) !== void 0 ? (y = s.$instance) === null || y === void 0 || (y = y.$binding) === null || y === void 0 || (y = y.value) === null || y === void 0 ? void 0 : y.unstyled : f == null ? void 0 : f.unstyled;
5266
5266
  },
5267
5267
  /* instance's methods */
5268
5268
  ptm: function() {
5269
- var m, g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5270
- return Se._getPTValue(s.$instance, (m = s.$instance) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.pt, g, Be({}, v));
5269
+ var m, y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5270
+ return Se._getPTValue(s.$instance, (m = s.$instance) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.pt, y, Be({}, v));
5271
5271
  },
5272
5272
  ptmo: function() {
5273
- var m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", v = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5274
- return Se._getPTValue(s.$instance, m, g, v, !1);
5273
+ var m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", v = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5274
+ return Se._getPTValue(s.$instance, m, y, v, !1);
5275
5275
  },
5276
5276
  cx: function() {
5277
- var m, g, v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5278
- return (m = s.$instance) !== null && m !== void 0 && m.isUnstyled() ? void 0 : Se._getOptionValue((g = s.$instance) === null || g === void 0 || (g = g.$style) === null || g === void 0 ? void 0 : g.classes, v, Be({}, S));
5277
+ var m, y, v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5278
+ return (m = s.$instance) !== null && m !== void 0 && m.isUnstyled() ? void 0 : Se._getOptionValue((y = s.$instance) === null || y === void 0 || (y = y.$style) === null || y === void 0 ? void 0 : y.classes, v, Be({}, S));
5279
5279
  },
5280
5280
  sx: function() {
5281
- var m, g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5282
- return v ? Se._getOptionValue((m = s.$instance) === null || m === void 0 || (m = m.$style) === null || m === void 0 ? void 0 : m.inlineStyles, g, Be({}, S)) : void 0;
5281
+ var m, y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5282
+ return v ? Se._getOptionValue((m = s.$instance) === null || m === void 0 || (m = m.$style) === null || m === void 0 ? void 0 : m.inlineStyles, y, Be({}, S)) : void 0;
5283
5283
  }
5284
5284
  }, p), s.$instance = s._$instances[e], (c = (d = s.$instance)[o]) === null || c === void 0 || c.call(d, s, a, l, u), s["$".concat(e)] = s.$instance, Se._hook(e, o, s, a, l, u);
5285
5285
  };
@@ -5626,8 +5626,8 @@ var ve = {
5626
5626
  beforeCreate: function() {
5627
5627
  var e, n, r, i, o, s, a, l, u, c, d, f = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, h = f ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, p = f ? (r = this.pt) === null || r === void 0 || (r = r.value) === null || r === void 0 ? void 0 : r[this.$.type.name] : this.pt;
5628
5628
  (i = p || h) === null || i === void 0 || (i = i.hooks) === null || i === void 0 || (o = i.onBeforeCreate) === null || o === void 0 || o.call(i);
5629
- var y = (s = this.$config) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s._usept, m = y ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.originalValue : void 0, g = y ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
5630
- (c = g || m) === null || c === void 0 || (c = c[this.$.type.name]) === null || c === void 0 || (c = c.hooks) === null || c === void 0 || (d = c.onBeforeCreate) === null || d === void 0 || d.call(c);
5629
+ var g = (s = this.$config) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s._usept, m = g ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.originalValue : void 0, y = g ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
5630
+ (c = y || m) === null || c === void 0 || (c = c[this.$.type.name]) === null || c === void 0 || (c = c.hooks) === null || c === void 0 || (d = c.onBeforeCreate) === null || d === void 0 || d.call(c);
5631
5631
  },
5632
5632
  created: function() {
5633
5633
  this._hook("onCreated");
@@ -5722,8 +5722,8 @@ var ve = {
5722
5722
  } : o(e, !0);
5723
5723
  },
5724
5724
  _usePT: function(e, n, r, i) {
5725
- var o = function(y) {
5726
- return n(y, r, i);
5725
+ var o = function(g) {
5726
+ return n(g, r, i);
5727
5727
  };
5728
5728
  if (e != null && e.hasOwnProperty("_usept")) {
5729
5729
  var s, a = e._usept || ((s = this.$config) === null || s === void 0 ? void 0 : s.ptOptions) || {}, l = a.mergeSections, u = l === void 0 ? !0 : l, c = a.mergeProps, d = c === void 0 ? !1 : c, f = o(e.originalValue), h = o(e.value);
@@ -9650,7 +9650,7 @@ function eO(t) {
9650
9650
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
9651
9651
  }
9652
9652
  function tO(t, e) {
9653
- const n = En(e), r = En(e, "{2}"), i = En(e, "{3}"), o = En(e, "{4}"), s = En(e, "{6}"), a = En(e, "{1,2}"), l = En(e, "{1,3}"), u = En(e, "{1,6}"), c = En(e, "{1,9}"), d = En(e, "{2,4}"), f = En(e, "{4,6}"), h = (m) => ({ regex: RegExp(eO(m.val)), deser: ([g]) => g, literal: !0 }), y = ((m) => {
9653
+ const n = En(e), r = En(e, "{2}"), i = En(e, "{3}"), o = En(e, "{4}"), s = En(e, "{6}"), a = En(e, "{1,2}"), l = En(e, "{1,3}"), u = En(e, "{1,6}"), c = En(e, "{1,9}"), d = En(e, "{2,4}"), f = En(e, "{4,6}"), h = (m) => ({ regex: RegExp(eO(m.val)), deser: ([y]) => y, literal: !0 }), g = ((m) => {
9654
9654
  if (t.literal)
9655
9655
  return h(m);
9656
9656
  switch (m.val) {
@@ -9758,7 +9758,7 @@ function tO(t, e) {
9758
9758
  })(t) || {
9759
9759
  invalidReason: Jk
9760
9760
  };
9761
- return y.token = t, y;
9761
+ return g.token = t, g;
9762
9762
  }
9763
9763
  const nO = {
9764
9764
  year: {
@@ -10303,18 +10303,18 @@ let _e = class je {
10303
10303
  );
10304
10304
  if (f && c)
10305
10305
  throw new Oo("Can't mix ordinal dates with month/day");
10306
- const y = p || o.weekday && !h;
10307
- let m, g, v = y0(l, u);
10308
- y ? (m = fO, g = cO, v = J0(v, s, a)) : c ? (m = hO, g = dO, v = J2(v)) : (m = q3, g = G3);
10306
+ const g = p || o.weekday && !h;
10307
+ let m, y, v = y0(l, u);
10308
+ g ? (m = fO, y = cO, v = J0(v, s, a)) : c ? (m = hO, y = dO, v = J2(v)) : (m = q3, y = G3);
10309
10309
  let S = !1;
10310
10310
  for (const z of m) {
10311
10311
  const j = o[z];
10312
- le(j) ? S ? o[z] = g[z] : o[z] = v[z] : S = !0;
10312
+ le(j) ? S ? o[z] = y[z] : o[z] = v[z] : S = !0;
10313
10313
  }
10314
- const w = y ? HC(o, s, a) : c ? _C(o) : S3(o), T = w || C3(o);
10314
+ const w = g ? HC(o, s, a) : c ? _C(o) : S3(o), T = w || C3(o);
10315
10315
  if (T)
10316
10316
  return je.invalid(T);
10317
- const C = y ? oh(o, s, a) : c ? sh(o) : o, [E, A] = H0(C, u, r), $ = new je({
10317
+ const C = g ? oh(o, s, a) : c ? sh(o) : o, [E, A] = H0(C, u, r), $ = new je({
10318
10318
  ts: E,
10319
10319
  zone: r,
10320
10320
  o: A,
@@ -12174,11 +12174,11 @@ function rT(t, e, n) {
12174
12174
  function iT(t, e) {
12175
12175
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
12176
12176
  try {
12177
- var r = n.locale, i = r === void 0 ? Wd : r, o = n.backupDate, s = o === void 0 ? /* @__PURE__ */ new Date() : o, a = rT(t, e, i), l = a.year, u = a.month, c = a.day, d = a.hour, f = a.minute, h = a.second, p = a.millisecond, y = a.isPM, m = a.date, g = a.offset, v = a.weekday, S = a.week;
12177
+ var r = n.locale, i = r === void 0 ? Wd : r, o = n.backupDate, s = o === void 0 ? /* @__PURE__ */ new Date() : o, a = rT(t, e, i), l = a.year, u = a.month, c = a.day, d = a.hour, f = a.minute, h = a.second, p = a.millisecond, g = a.isPM, m = a.date, y = a.offset, v = a.weekday, S = a.week;
12178
12178
  if (m)
12179
12179
  return m;
12180
12180
  var w = [l, u, c, d, f, h, p];
12181
- if (w[3] = XO(w[3], y), S !== void 0 && u === void 0 && c === void 0) {
12181
+ if (w[3] = XO(w[3], g), S !== void 0 && u === void 0 && c === void 0) {
12182
12182
  var T = Q3(l === void 0 ? s : new Date(l, 3), {
12183
12183
  firstDayOfWeek: i.firstDayOfWeek,
12184
12184
  firstWeekContainsDate: i.firstWeekContainsDate
@@ -12186,7 +12186,7 @@ function iT(t, e) {
12186
12186
  return new Date(T.getTime() + (S - 1) * 7 * 24 * 3600 * 1e3);
12187
12187
  }
12188
12188
  var C, E = eT(w, s);
12189
- return g !== void 0 ? (E[6] += g * 60 * 1e3, C = nT.apply(void 0, xh(E))) : C = tT.apply(void 0, xh(E)), v !== void 0 && C.getDay() !== v ? /* @__PURE__ */ new Date(NaN) : C;
12189
+ return y !== void 0 ? (E[6] += y * 60 * 1e3, C = nT.apply(void 0, xh(E))) : C = tT.apply(void 0, xh(E)), v !== void 0 && C.getDay() !== v ? /* @__PURE__ */ new Date(NaN) : C;
12190
12190
  } catch {
12191
12191
  return /* @__PURE__ */ new Date(NaN);
12192
12192
  }
@@ -12533,13 +12533,13 @@ function HT(t, {
12533
12533
  u();
12534
12534
  return;
12535
12535
  }
12536
- let y;
12536
+ let g;
12537
12537
  if (n.range) {
12538
12538
  let m = p.split(o.value);
12539
- m.length !== 2 && (m = p.split(o.value.trim())), y = m.map((g) => n.parseDate(g.trim()));
12539
+ m.length !== 2 && (m = p.split(o.value.trim())), g = m.map((y) => n.parseDate(y.trim()));
12540
12540
  } else
12541
- n.multiple ? y = p.split(o.value).map((m) => n.parseDate(m.trim())) : y = n.parseDate(p);
12542
- s(y) && !a(y) ? n.onChange(y) : (h = n.onInputError) == null || h.call(n, p);
12541
+ n.multiple ? g = p.split(o.value).map((m) => n.parseDate(m.trim())) : g = n.parseDate(p);
12542
+ s(g) && !a(g) ? n.onChange(g) : (h = n.onInputError) == null || h.call(n, p);
12543
12543
  }, d = (h) => {
12544
12544
  i.value = typeof h == "string" ? h : h.target.value;
12545
12545
  }, f = (h) => {
@@ -12549,8 +12549,8 @@ function HT(t, {
12549
12549
  p === 9 ? n.onBlur() : p === 13 && c();
12550
12550
  };
12551
12551
  return () => {
12552
- var h, p, y;
12553
- const m = !n.disabled && n.clearable && l.value, g = vn(it({
12552
+ var h, p, g;
12553
+ const m = !n.disabled && n.clearable && l.value, y = vn(it({
12554
12554
  name: "date",
12555
12555
  type: "text",
12556
12556
  autocomplete: "off",
@@ -12568,12 +12568,12 @@ function HT(t, {
12568
12568
  return x("div", {
12569
12569
  class: `${r}-input-wrapper`,
12570
12570
  onClick: n.onClick
12571
- }, [((h = e.input) == null ? void 0 : h.call(e, g)) || x("input", g, null), m ? x("i", {
12571
+ }, [((h = e.input) == null ? void 0 : h.call(e, y)) || x("input", y, null), m ? x("i", {
12572
12572
  class: `${r}-icon-clear`,
12573
12573
  onClick: u
12574
12574
  }, [((p = e["icon-clear"]) == null ? void 0 : p.call(e)) || x(AT, null, null)]) : null, x("i", {
12575
12575
  class: `${r}-icon-calendar`
12576
- }, [((y = e["icon-calendar"]) == null ? void 0 : y.call(e)) || x(hy, null, null)])]);
12576
+ }, [((g = e["icon-calendar"]) == null ? void 0 : g.call(e)) || x(hy, null, null)])]);
12577
12577
  };
12578
12578
  }
12579
12579
  const Qd = li()(["placeholder", "editable", "disabled", "clearable", "inputClass", "inputAttr", "range", "multiple", "separator", "renderInputText", "onInputError", "onClear"]), _T = li()(["value", "formatDate", "parseDate", "disabledDate", "onChange", "onFocus", "onBlur", "onClick", ...Qd]);
@@ -12632,22 +12632,22 @@ function jT(t, {
12632
12632
  default:
12633
12633
  return d(C, r.valueType);
12634
12634
  }
12635
- }, y = U(() => {
12635
+ }, g = U(() => {
12636
12636
  const C = r.value;
12637
12637
  return r.range ? (Array.isArray(C) ? C.slice(0, 2) : [null, null]).map(h) : r.multiple ? (Array.isArray(C) ? C : []).map(h) : h(C);
12638
12638
  }), m = (C, E, A = !0) => {
12639
12639
  var $, z;
12640
12640
  const j = Array.isArray(C) ? C.map(p) : p(C);
12641
12641
  return ($ = r["onUpdate:value"]) == null || $.call(r, j), (z = r.onChange) == null || z.call(r, j, E), A && c(), j;
12642
- }, g = _(/* @__PURE__ */ new Date());
12642
+ }, y = _(/* @__PURE__ */ new Date());
12643
12643
  nt(() => {
12644
- l.value && (g.value = y.value);
12644
+ l.value && (y.value = g.value);
12645
12645
  });
12646
12646
  const v = (C, E) => {
12647
- r.confirm ? g.value = C : m(C, E, !r.multiple && (E === r.type || E === "time"));
12647
+ r.confirm ? y.value = C : m(C, E, !r.multiple && (E === r.type || E === "time"));
12648
12648
  }, S = () => {
12649
12649
  var C;
12650
- const E = m(g.value);
12650
+ const E = m(y.value);
12651
12651
  (C = r.onConfirm) == null || C.call(r, E);
12652
12652
  }, w = (C) => r.disabledDate(C) || r.disabledTime(C), T = (C) => {
12653
12653
  var E;
@@ -12679,7 +12679,7 @@ function jT(t, {
12679
12679
  popupStyle: te,
12680
12680
  appendToBody: me
12681
12681
  } = r, Y = {
12682
- value: g.value,
12682
+ value: y.value,
12683
12683
  "onUpdate:value": v,
12684
12684
  emit: m
12685
12685
  }, oe = e.header && x("div", {
@@ -12699,7 +12699,7 @@ function jT(t, {
12699
12699
  disabled: $
12700
12700
  }
12701
12701
  }, [x(zT, vn(it({}, fr(r, Qd)), {
12702
- value: y.value,
12702
+ value: g.value,
12703
12703
  formatDate: d,
12704
12704
  parseDate: f,
12705
12705
  disabledDate: w,
@@ -12791,11 +12791,11 @@ function UT({
12791
12791
  }) {
12792
12792
  const d = $t(), f = pT(), h = Yd().value, {
12793
12793
  yearFormat: p,
12794
- monthBeforeYear: y,
12794
+ monthBeforeYear: g,
12795
12795
  monthFormat: m = "MMM",
12796
- formatLocale: g
12797
- } = h, v = g.firstDayOfWeek || 0;
12798
- let S = h.days || g.weekdaysMin;
12796
+ formatLocale: y
12797
+ } = h, v = y.firstDayOfWeek || 0;
12798
+ let S = h.days || y.weekdaysMin;
12799
12799
  S = S.concat(S).slice(v, v + 7);
12800
12800
  const w = t.getFullYear(), T = t.getMonth(), C = qd(BT({
12801
12801
  firstDayOfWeek: v,
@@ -12832,7 +12832,7 @@ function UT({
12832
12832
  calendar: t,
12833
12833
  onUpdateCalendar: l
12834
12834
  }, {
12835
- default: () => [y ? [me, te] : [te, me]]
12835
+ default: () => [g ? [me, te] : [te, me]]
12836
12836
  }), x("div", {
12837
12837
  class: `${d}-calendar-content`
12838
12838
  }, [x("table", {
@@ -12948,58 +12948,58 @@ function YT(t) {
12948
12948
  titleFormat: "YYYY-MM-DD"
12949
12949
  }), n = U(() => (Array.isArray(e.value) ? e.value : [e.value]).filter(mr).map((v) => e.type === "year" ? FT(v) : e.type === "month" ? Rh(v) : ri(v))), r = _(/* @__PURE__ */ new Date());
12950
12950
  nt(() => {
12951
- let g = e.calendar;
12952
- if (!mr(g)) {
12951
+ let y = e.calendar;
12952
+ if (!mr(y)) {
12953
12953
  const {
12954
12954
  length: v
12955
12955
  } = n.value;
12956
- g = c2(v > 0 ? n.value[v - 1] : e.defaultValue);
12956
+ y = c2(v > 0 ? n.value[v - 1] : e.defaultValue);
12957
12957
  }
12958
- r.value = Rh(g);
12958
+ r.value = Rh(y);
12959
12959
  });
12960
- const i = (g) => {
12960
+ const i = (y) => {
12961
12961
  var v;
12962
- r.value = g, (v = e.onCalendarChange) == null || v.call(e, g);
12962
+ r.value = y, (v = e.onCalendarChange) == null || v.call(e, y);
12963
12963
  }, o = _("date");
12964
12964
  nt(() => {
12965
- const g = ["date", "month", "year"], v = Math.max(g.indexOf(e.type), g.indexOf(e.defaultPanel));
12966
- o.value = v !== -1 ? g[v] : "date";
12965
+ const y = ["date", "month", "year"], v = Math.max(y.indexOf(e.type), y.indexOf(e.defaultPanel));
12966
+ o.value = v !== -1 ? y[v] : "date";
12967
12967
  });
12968
- const s = (g) => {
12968
+ const s = (y) => {
12969
12969
  var v;
12970
12970
  const S = o.value;
12971
- o.value = g, (v = e.onPanelChange) == null || v.call(e, g, S);
12972
- }, a = (g) => e.disabledDate(new Date(g), n.value), l = (g, v) => {
12971
+ o.value = y, (v = e.onPanelChange) == null || v.call(e, y, S);
12972
+ }, a = (y) => e.disabledDate(new Date(y), n.value), l = (y, v) => {
12973
12973
  var S, w, T;
12974
- if (!a(g))
12975
- if ((S = e.onPick) == null || S.call(e, g), e.multiple === !0) {
12976
- const C = n.value.filter((E) => E.getTime() !== g.getTime());
12977
- C.length === n.value.length && C.push(g), (w = e["onUpdate:value"]) == null || w.call(e, C, v);
12974
+ if (!a(y))
12975
+ if ((S = e.onPick) == null || S.call(e, y), e.multiple === !0) {
12976
+ const C = n.value.filter((E) => E.getTime() !== y.getTime());
12977
+ C.length === n.value.length && C.push(y), (w = e["onUpdate:value"]) == null || w.call(e, C, v);
12978
12978
  } else
12979
- (T = e["onUpdate:value"]) == null || T.call(e, g, v);
12980
- }, u = (g) => {
12981
- l(g, e.type === "week" ? "week" : "date");
12982
- }, c = (g) => {
12979
+ (T = e["onUpdate:value"]) == null || T.call(e, y, v);
12980
+ }, u = (y) => {
12981
+ l(y, e.type === "week" ? "week" : "date");
12982
+ }, c = (y) => {
12983
12983
  if (e.type === "year")
12984
- l(g, "year");
12985
- else if (i(g), s("month"), e.partialUpdate && n.value.length === 1) {
12986
- const v = To(n.value[0], g.getFullYear());
12984
+ l(y, "year");
12985
+ else if (i(y), s("month"), e.partialUpdate && n.value.length === 1) {
12986
+ const v = To(n.value[0], y.getFullYear());
12987
12987
  l(v, "year");
12988
12988
  }
12989
- }, d = (g) => {
12989
+ }, d = (y) => {
12990
12990
  if (e.type === "month")
12991
- l(g, "month");
12992
- else if (i(g), s("date"), e.partialUpdate && n.value.length === 1) {
12993
- const v = tl(To(n.value[0], g.getFullYear()), g.getMonth());
12991
+ l(y, "month");
12992
+ else if (i(y), s("date"), e.partialUpdate && n.value.length === 1) {
12993
+ const v = tl(To(n.value[0], y.getFullYear()), y.getMonth());
12994
12994
  l(v, "month");
12995
12995
  }
12996
- }, f = (g, v = []) => (a(g) ? v.push("disabled") : n.value.some((S) => S.getTime() === g.getTime()) && v.push("active"), v.concat(e.getClasses(g, n.value, v.join(" ")))), h = (g) => {
12997
- const v = g.getMonth() !== r.value.getMonth(), S = [];
12998
- return g.getTime() === (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0) && S.push("today"), v && S.push("not-current-month"), f(g, S);
12999
- }, p = (g) => e.type !== "month" ? r.value.getMonth() === g.getMonth() ? "active" : "" : f(g), y = (g) => e.type !== "year" ? r.value.getFullYear() === g.getFullYear() ? "active" : "" : f(g), m = (g) => {
12996
+ }, f = (y, v = []) => (a(y) ? v.push("disabled") : n.value.some((S) => S.getTime() === y.getTime()) && v.push("active"), v.concat(e.getClasses(y, n.value, v.join(" ")))), h = (y) => {
12997
+ const v = y.getMonth() !== r.value.getMonth(), S = [];
12998
+ return y.getTime() === (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0) && S.push("today"), v && S.push("not-current-month"), f(y, S);
12999
+ }, p = (y) => e.type !== "month" ? r.value.getMonth() === y.getMonth() ? "active" : "" : f(y), g = (y) => e.type !== "year" ? r.value.getFullYear() === y.getFullYear() ? "active" : "" : f(y), m = (y) => {
13000
13000
  if (e.type !== "week")
13001
13001
  return !1;
13002
- const v = g[0].getTime(), S = g[6].getTime();
13002
+ const v = y[0].getTime(), S = y[6].getTime();
13003
13003
  return n.value.some((w) => {
13004
13004
  const T = w.getTime();
13005
13005
  return T >= v && T <= S;
@@ -13007,7 +13007,7 @@ function YT(t) {
13007
13007
  };
13008
13008
  return () => o.value === "year" ? x(qT, {
13009
13009
  calendar: r.value,
13010
- getCellClasses: y,
13010
+ getCellClasses: g,
13011
13011
  getYearPanel: e.getYearPanel,
13012
13012
  onSelect: c,
13013
13013
  onUpdateCalendar: i
@@ -13044,23 +13044,23 @@ function JT(t) {
13044
13044
  type: "date"
13045
13045
  }), n = $t(), r = U(() => {
13046
13046
  let m = Array.isArray(e.defaultValue) ? e.defaultValue : [e.defaultValue, e.defaultValue];
13047
- return m = m.map((g) => ri(g)), Ni(m) ? m : [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()].map((g) => ri(g));
13047
+ return m = m.map((y) => ri(y)), Ni(m) ? m : [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()].map((y) => ri(y));
13048
13048
  }), i = _([/* @__PURE__ */ new Date(NaN), /* @__PURE__ */ new Date(NaN)]);
13049
13049
  nt(() => {
13050
13050
  Ni(e.value) && (i.value = e.value);
13051
13051
  });
13052
- const o = (m, g) => {
13052
+ const o = (m, y) => {
13053
13053
  var v;
13054
13054
  const [S, w] = i.value;
13055
- mr(S) && !mr(w) ? (S.getTime() > m.getTime() ? i.value = [m, S] : i.value = [S, m], (v = e["onUpdate:value"]) == null || v.call(e, i.value, g)) : i.value = [m, /* @__PURE__ */ new Date(NaN)];
13056
- }, s = _([/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()]), a = U(() => Ni(e.calendar) ? e.calendar : s.value), l = U(() => e.type === "year" ? 10 * 12 : e.type === "month" ? 1 * 12 : 1), u = (m, g) => {
13055
+ mr(S) && !mr(w) ? (S.getTime() > m.getTime() ? i.value = [m, S] : i.value = [S, m], (v = e["onUpdate:value"]) == null || v.call(e, i.value, y)) : i.value = [m, /* @__PURE__ */ new Date(NaN)];
13056
+ }, s = _([/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()]), a = U(() => Ni(e.calendar) ? e.calendar : s.value), l = U(() => e.type === "year" ? 10 * 12 : e.type === "month" ? 1 * 12 : 1), u = (m, y) => {
13057
13057
  var v;
13058
13058
  const S = VT(m[0], m[1]), w = l.value - S;
13059
13059
  if (w > 0) {
13060
- const T = g === 1 ? 0 : 1;
13060
+ const T = y === 1 ? 0 : 1;
13061
13061
  m[T] = tl(m[T], (C) => C + (T === 0 ? -w : w));
13062
13062
  }
13063
- s.value = m, (v = e.onCalendarChange) == null || v.call(e, m, g);
13063
+ s.value = m, (v = e.onCalendarChange) == null || v.call(e, m, y);
13064
13064
  }, c = (m) => {
13065
13065
  u([m, a.value[1]], 0);
13066
13066
  }, d = (m) => {
@@ -13070,17 +13070,17 @@ function JT(t) {
13070
13070
  const m = Ni(e.value) ? e.value : r.value;
13071
13071
  u(m.slice(0, 2));
13072
13072
  });
13073
- const f = _(null), h = (m) => f.value = m, p = () => f.value = null, y = (m, g, v) => {
13074
- const S = e.getClasses ? e.getClasses(m, g, v) : [], w = Array.isArray(S) ? S : [S];
13075
- return /disabled|active/.test(v) ? w : (g.length === 2 && Nh(m, g) && w.push("in-range"), g.length === 1 && f.value && Nh(m, [g[0], f.value]) ? w.concat("hover-in-range") : w);
13073
+ const f = _(null), h = (m) => f.value = m, p = () => f.value = null, g = (m, y, v) => {
13074
+ const S = e.getClasses ? e.getClasses(m, y, v) : [], w = Array.isArray(S) ? S : [S];
13075
+ return /disabled|active/.test(v) ? w : (y.length === 2 && Nh(m, y) && w.push("in-range"), y.length === 1 && f.value && Nh(m, [y[0], f.value]) ? w.concat("hover-in-range") : w);
13076
13076
  };
13077
13077
  return () => {
13078
- const m = a.value.map((g, v) => {
13078
+ const m = a.value.map((y, v) => {
13079
13079
  const S = vn(it({}, e), {
13080
- calendar: g,
13080
+ calendar: y,
13081
13081
  value: i.value,
13082
13082
  defaultValue: r.value[v],
13083
- getClasses: y,
13083
+ getClasses: g,
13084
13084
  partialUpdate: !1,
13085
13085
  multiple: !1,
13086
13086
  "onUpdate:value": o,
@@ -13105,32 +13105,32 @@ const py = ce({
13105
13105
  Je(() => {
13106
13106
  if (!r.value)
13107
13107
  return;
13108
- const p = r.value, y = p.clientHeight * 100 / p.scrollHeight;
13109
- i.value = y < 100 ? `${y}%` : "";
13108
+ const p = r.value, g = p.clientHeight * 100 / p.scrollHeight;
13109
+ i.value = g < 100 ? `${g}%` : "";
13110
13110
  });
13111
13111
  const a = yT(), l = (p) => {
13112
- const y = p.currentTarget, {
13112
+ const g = p.currentTarget, {
13113
13113
  scrollHeight: m,
13114
- scrollTop: g
13115
- } = y;
13116
- o.value = `${g * 100 / m}%`;
13114
+ scrollTop: y
13115
+ } = g;
13116
+ o.value = `${y * 100 / m}%`;
13117
13117
  };
13118
13118
  let u = !1, c = 0;
13119
13119
  const d = (p) => {
13120
13120
  p.stopImmediatePropagation();
13121
- const y = p.currentTarget, {
13121
+ const g = p.currentTarget, {
13122
13122
  offsetTop: m
13123
- } = y;
13123
+ } = g;
13124
13124
  u = !0, c = p.clientY - m;
13125
13125
  }, f = (p) => {
13126
13126
  if (!u || !r.value)
13127
13127
  return;
13128
13128
  const {
13129
- clientY: y
13129
+ clientY: g
13130
13130
  } = p, {
13131
13131
  scrollHeight: m,
13132
- clientHeight: g
13133
- } = r.value, S = (y - c) * m / g;
13132
+ clientHeight: y
13133
+ } = r.value, S = (g - c) * m / y;
13134
13134
  r.value.scrollTop = S;
13135
13135
  }, h = () => {
13136
13136
  u = !1;
@@ -13291,10 +13291,10 @@ function nE({
13291
13291
  if (o && s && a) {
13292
13292
  const u = o.minutes + o.hours * 60, c = s.minutes + s.hours * 60, d = a.minutes + a.hours * 60, f = Math.floor((c - u) / d);
13293
13293
  for (let h = 0; h <= f; h++) {
13294
- const p = u + h * d, y = Math.floor(p / 60), m = p % 60, g = new Date(t);
13295
- g.setHours(y, m, 0), i.push({
13296
- value: g,
13297
- text: r(g, l)
13294
+ const p = u + h * d, g = Math.floor(p / 60), m = p % 60, y = new Date(t);
13295
+ y.setHours(g, m, 0), i.push({
13296
+ value: y,
13297
+ text: r(y, l)
13298
13298
  });
13299
13299
  }
13300
13300
  }
@@ -13324,44 +13324,44 @@ function rE(t) {
13324
13324
  timeTitleFormat: "YYYY-MM-DD",
13325
13325
  disabledTime: () => !1,
13326
13326
  scrollDuration: 100
13327
- }), n = $t(), r = Yd(), i = (y, m) => Ud(y, m, {
13327
+ }), n = $t(), r = Yd(), i = (g, m) => Ud(g, m, {
13328
13328
  locale: r.value.formatLocale
13329
13329
  }), o = _(/* @__PURE__ */ new Date());
13330
13330
  nt(() => {
13331
13331
  o.value = c2(e.value, e.defaultValue);
13332
13332
  });
13333
- const s = (y) => Array.isArray(y) ? y.every((m) => e.disabledTime(new Date(m))) : e.disabledTime(new Date(y)), a = (y) => {
13334
- const m = new Date(y);
13333
+ const s = (g) => Array.isArray(g) ? g.every((m) => e.disabledTime(new Date(m))) : e.disabledTime(new Date(g)), a = (g) => {
13334
+ const m = new Date(g);
13335
13335
  return s([m.getTime(), m.setMinutes(0, 0, 0), m.setMinutes(59, 59, 999)]);
13336
- }, l = (y) => {
13337
- const m = new Date(y);
13336
+ }, l = (g) => {
13337
+ const m = new Date(g);
13338
13338
  return s([m.getTime(), m.setSeconds(0, 0), m.setSeconds(59, 999)]);
13339
- }, u = (y) => {
13340
- const m = new Date(y), g = m.getHours() < 12 ? 0 : 12, v = g + 11;
13341
- return s([m.getTime(), m.setHours(g, 0, 0, 0), m.setHours(v, 59, 59, 999)]);
13342
- }, c = (y, m) => m === "hour" ? a(y) : m === "minute" ? l(y) : m === "ampm" ? u(y) : s(y), d = (y, m) => {
13343
- var g;
13344
- if (!c(y, m)) {
13345
- const v = new Date(y);
13346
- o.value = v, s(v) || (g = e["onUpdate:value"]) == null || g.call(e, v, m);
13347
- }
13348
- }, f = (y, m) => c(y, m) ? "disabled" : y.getTime() === o.value.getTime() ? "active" : "", h = _(), p = (y) => {
13339
+ }, u = (g) => {
13340
+ const m = new Date(g), y = m.getHours() < 12 ? 0 : 12, v = y + 11;
13341
+ return s([m.getTime(), m.setHours(y, 0, 0, 0), m.setHours(v, 59, 59, 999)]);
13342
+ }, c = (g, m) => m === "hour" ? a(g) : m === "minute" ? l(g) : m === "ampm" ? u(g) : s(g), d = (g, m) => {
13343
+ var y;
13344
+ if (!c(g, m)) {
13345
+ const v = new Date(g);
13346
+ o.value = v, s(v) || (y = e["onUpdate:value"]) == null || y.call(e, v, m);
13347
+ }
13348
+ }, f = (g, m) => c(g, m) ? "disabled" : g.getTime() === o.value.getTime() ? "active" : "", h = _(), p = (g) => {
13349
13349
  if (!h.value)
13350
13350
  return;
13351
13351
  const m = h.value.querySelectorAll(".active");
13352
- for (let g = 0; g < m.length; g++) {
13353
- const v = m[g], S = Jd(v, h.value);
13352
+ for (let y = 0; y < m.length; y++) {
13353
+ const v = m[y], S = Jd(v, h.value);
13354
13354
  if (S) {
13355
13355
  const w = v.offsetTop;
13356
- my(S, w, y);
13356
+ my(S, w, g);
13357
13357
  }
13358
13358
  }
13359
13359
  };
13360
13360
  return Je(() => p(0)), Qe(o, () => p(e.scrollDuration), {
13361
13361
  flush: "post"
13362
13362
  }), () => {
13363
- let y;
13364
- return e.timePickerOptions ? y = x(eE, {
13363
+ let g;
13364
+ return e.timePickerOptions ? g = x(eE, {
13365
13365
  onSelect: d,
13366
13366
  getClasses: f,
13367
13367
  options: nE({
@@ -13370,7 +13370,7 @@ function rE(t) {
13370
13370
  option: e.timePickerOptions,
13371
13371
  formatDate: i
13372
13372
  })
13373
- }, null) : y = x(QT, {
13373
+ }, null) : g = x(QT, {
13374
13374
  options: tE(o.value, e),
13375
13375
  onSelect: d,
13376
13376
  getClasses: f
@@ -13385,7 +13385,7 @@ function rE(t) {
13385
13385
  onClick: e.onClickTitle
13386
13386
  }, [i(o.value, e.timeTitleFormat)])]), x("div", {
13387
13387
  class: `${n}-time-content`
13388
- }, [y])]);
13388
+ }, [g])]);
13389
13389
  };
13390
13390
  }
13391
13391
  const h2 = li()(["value", "defaultValue", "format", "timeTitleFormat", "showTimeHeader", "disabledTime", "timePickerOptions", "hourOptions", "minuteOptions", "secondOptions", "hourStep", "minuteStep", "secondStep", "showHour", "showMinute", "showSecond", "use12h", "scrollDuration", "onClickTitle", "onUpdate:value"]);
@@ -13904,25 +13904,29 @@ const jj = /* @__PURE__ */ Ee(IE, [["render", NE], ["__scopeId", "data-v-f2d32e2
13904
13904
  const l = [];
13905
13905
  n.forEach((c) => {
13906
13906
  let d = c.selected;
13907
+ if (!d)
13908
+ return;
13907
13909
  const f = c.key;
13908
- Array.isArray(d) || (d = [d]), d.forEach((h) => {
13909
- const p = h && h.key ? h.key : f, y = h && p;
13910
- let m, g = "", v = null;
13911
- y && (m = p.split(/\./), g = m[0], v = m[1] || null, // If only a key, check the value of that key.
13912
- !v && // If the selected value is a string,
13910
+ Array.isArray(d) || (d = [d]);
13911
+ let h = !1;
13912
+ d.forEach((p) => {
13913
+ const g = p && p.key ? p.key : f, m = p && g;
13914
+ let y, v = "", S = null;
13915
+ m && (y = g.split(/\./), v = y[0], S = y[1] || null, // If only a key, check the value of that key.
13916
+ !S && // If the selected value is a string,
13913
13917
  // compare it to the row value.
13914
- (typeof h.value != "boolean" && a[g] !== h.value || // This checks if there's an object when
13918
+ (typeof p.value != "boolean" && a[v] !== p.value || // This checks if there's an object when
13915
13919
  // the selected value is a boolean.
13916
- typeof h.value == "boolean" && typeof a[g] != "boolean" && !!a[g] !== h.value || // This checks a boolean against a boolean
13917
- typeof h.value == "boolean" && typeof a[g] == "boolean" && a[g] !== h.value) || // If there is a key/attribute combo, need to
13920
+ typeof p.value == "boolean" && typeof a[v] != "boolean" && !!a[v] !== p.value || // This checks a boolean against a boolean
13921
+ typeof p.value == "boolean" && typeof a[v] == "boolean" && a[v] !== p.value) || // If there is a key/attribute combo, need to
13918
13922
  // dig down to check the attribute value.
13919
- v && // If the selected value is a string,
13923
+ S && // If the selected value is a string,
13920
13924
  // compare it to the row value.
13921
- (typeof h.value != "boolean" && a[g][v] !== h.value || // This checks if there's an object when
13925
+ (typeof p.value != "boolean" && a[v][S] !== p.value || // This checks if there's an object when
13922
13926
  // the selected value is a boolean.
13923
- typeof h.value == "boolean" && typeof a[g][v] != "boolean" && !!a[g][v] !== h.value || // This checks a boolean against a boolean
13924
- typeof h.value == "boolean" && typeof a[g][v] == "boolean" && a[g][v] !== h.value) ? l.push(!1) : l.push(!0));
13925
- });
13927
+ typeof p.value == "boolean" && typeof a[v][S] != "boolean" && !!a[v][S] !== p.value || // This checks a boolean against a boolean
13928
+ typeof p.value == "boolean" && typeof a[v][S] == "boolean" && a[v][S] !== p.value) || (h = !0));
13929
+ }), l.push(h);
13926
13930
  });
13927
13931
  const u = l.filter((c) => !!c).length;
13928
13932
  if (l.length > 0 && u !== l.length)
@@ -14415,22 +14419,22 @@ function fM(t, e) {
14415
14419
  e.count || (e.count = t), e.n || (e.n = t);
14416
14420
  }
14417
14421
  function hM(t = {}) {
14418
- const e = t.locale, n = dM(t), r = Te(t.pluralRules) && ee(e) && He(t.pluralRules[e]) ? t.pluralRules[e] : zh, i = Te(t.pluralRules) && ee(e) && He(t.pluralRules[e]) ? zh : void 0, o = (g) => g[r(n, g.length, i)], s = t.list || [], a = (g) => s[g], l = t.named || {};
14422
+ const e = t.locale, n = dM(t), r = Te(t.pluralRules) && ee(e) && He(t.pluralRules[e]) ? t.pluralRules[e] : zh, i = Te(t.pluralRules) && ee(e) && He(t.pluralRules[e]) ? zh : void 0, o = (y) => y[r(n, y.length, i)], s = t.list || [], a = (y) => s[y], l = t.named || {};
14419
14423
  Ct(t.pluralIndex) && fM(n, l);
14420
- const u = (g) => l[g];
14421
- function c(g) {
14422
- const v = He(t.messages) ? t.messages(g) : Te(t.messages) ? t.messages[g] : !1;
14423
- return v || (t.parent ? t.parent.message(g) : aM);
14424
+ const u = (y) => l[y];
14425
+ function c(y) {
14426
+ const v = He(t.messages) ? t.messages(y) : Te(t.messages) ? t.messages[y] : !1;
14427
+ return v || (t.parent ? t.parent.message(y) : aM);
14424
14428
  }
14425
- const d = (g) => t.modifiers ? t.modifiers[g] : sM, f = ke(t.processor) && He(t.processor.normalize) ? t.processor.normalize : uM, h = ke(t.processor) && He(t.processor.interpolate) ? t.processor.interpolate : cM, p = ke(t.processor) && ee(t.processor.type) ? t.processor.type : lM, m = {
14429
+ const d = (y) => t.modifiers ? t.modifiers[y] : sM, f = ke(t.processor) && He(t.processor.normalize) ? t.processor.normalize : uM, h = ke(t.processor) && He(t.processor.interpolate) ? t.processor.interpolate : cM, p = ke(t.processor) && ee(t.processor.type) ? t.processor.type : lM, m = {
14426
14430
  list: a,
14427
14431
  named: u,
14428
14432
  plural: o,
14429
- linked: (g, ...v) => {
14433
+ linked: (y, ...v) => {
14430
14434
  const [S, w] = v;
14431
14435
  let T = "text", C = "";
14432
14436
  v.length === 1 ? Te(S) ? (C = S.modifier || C, T = S.type || T) : ee(S) && (C = S || C) : v.length === 2 && (ee(S) && (C = S || C), ee(w) && (T = w || T));
14433
- const E = c(g)(m), A = (
14437
+ const E = c(y)(m), A = (
14434
14438
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
14435
14439
  T === "vnode" && tt(E) && C ? E[0] : E
14436
14440
  );
@@ -14599,7 +14603,7 @@ const Uh = (t) => {
14599
14603
  }, IM = () => Py;
14600
14604
  let Kh = 0;
14601
14605
  function PM(t = {}) {
14602
- const e = He(t.onWarn) ? t.onWarn : is, n = ee(t.version) ? t.version : kM, r = ee(t.locale) || He(t.locale) ? t.locale : ol, i = He(r) ? ol : r, o = tt(t.fallbackLocale) || ke(t.fallbackLocale) || ee(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : i, s = ke(t.messages) ? t.messages : { [i]: {} }, a = ke(t.datetimeFormats) ? t.datetimeFormats : { [i]: {} }, l = ke(t.numberFormats) ? t.numberFormats : { [i]: {} }, u = Tt({}, t.modifiers || {}, OM()), c = t.pluralRules || {}, d = He(t.missing) ? t.missing : null, f = qe(t.missingWarn) || rl(t.missingWarn) ? t.missingWarn : !0, h = qe(t.fallbackWarn) || rl(t.fallbackWarn) ? t.fallbackWarn : !0, p = !!t.fallbackFormat, y = !!t.unresolving, m = He(t.postTranslation) ? t.postTranslation : null, g = ke(t.processor) ? t.processor : null, v = qe(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, S = !!t.escapeParameter, w = He(t.messageCompiler) ? t.messageCompiler : TM;
14606
+ const e = He(t.onWarn) ? t.onWarn : is, n = ee(t.version) ? t.version : kM, r = ee(t.locale) || He(t.locale) ? t.locale : ol, i = He(r) ? ol : r, o = tt(t.fallbackLocale) || ke(t.fallbackLocale) || ee(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : i, s = ke(t.messages) ? t.messages : { [i]: {} }, a = ke(t.datetimeFormats) ? t.datetimeFormats : { [i]: {} }, l = ke(t.numberFormats) ? t.numberFormats : { [i]: {} }, u = Tt({}, t.modifiers || {}, OM()), c = t.pluralRules || {}, d = He(t.missing) ? t.missing : null, f = qe(t.missingWarn) || rl(t.missingWarn) ? t.missingWarn : !0, h = qe(t.fallbackWarn) || rl(t.fallbackWarn) ? t.fallbackWarn : !0, p = !!t.fallbackFormat, g = !!t.unresolving, m = He(t.postTranslation) ? t.postTranslation : null, y = ke(t.processor) ? t.processor : null, v = qe(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, S = !!t.escapeParameter, w = He(t.messageCompiler) ? t.messageCompiler : TM;
14603
14607
  process.env.NODE_ENV !== "production" && He(t.messageCompiler) && WE(Gi(It.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
14604
14608
  const T = He(t.messageResolver) ? t.messageResolver : xy || iM, C = He(t.localeFallbacker) ? t.localeFallbacker : Ay || wM, E = Te(t.fallbackContext) ? t.fallbackContext : void 0, A = t, $ = Te(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), z = Te(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), j = Te(A.__meta) ? A.__meta : {};
14605
14609
  Kh++;
@@ -14615,9 +14619,9 @@ function PM(t = {}) {
14615
14619
  missingWarn: f,
14616
14620
  fallbackWarn: h,
14617
14621
  fallbackFormat: p,
14618
- unresolving: y,
14622
+ unresolving: g,
14619
14623
  postTranslation: m,
14620
- processor: g,
14624
+ processor: y,
14621
14625
  warnHtmlMessage: v,
14622
14626
  escapeParameter: S,
14623
14627
  messageCompiler: w,
@@ -14658,14 +14662,14 @@ function ps(t, e, n) {
14658
14662
  }
14659
14663
  const Vo = (t) => Te(t) && (t.t === 0 || t.type === 0) && ("b" in t || "body" in t), Gh = () => "", fn = (t) => He(t);
14660
14664
  function qh(t, ...e) {
14661
- const { fallbackFormat: n, postTranslation: r, unresolving: i, messageCompiler: o, fallbackLocale: s, messages: a } = t, [l, u] = pc(...e), c = qe(u.missingWarn) ? u.missingWarn : t.missingWarn, d = qe(u.fallbackWarn) ? u.fallbackWarn : t.fallbackWarn, f = qe(u.escapeParameter) ? u.escapeParameter : t.escapeParameter, h = !!u.resolvedMessage, p = ee(u.default) || qe(u.default) ? qe(u.default) ? o ? l : () => l : u.default : n ? o ? l : () => l : "", y = n || p !== "", m = af(t, u);
14665
+ const { fallbackFormat: n, postTranslation: r, unresolving: i, messageCompiler: o, fallbackLocale: s, messages: a } = t, [l, u] = pc(...e), c = qe(u.missingWarn) ? u.missingWarn : t.missingWarn, d = qe(u.fallbackWarn) ? u.fallbackWarn : t.fallbackWarn, f = qe(u.escapeParameter) ? u.escapeParameter : t.escapeParameter, h = !!u.resolvedMessage, p = ee(u.default) || qe(u.default) ? qe(u.default) ? o ? l : () => l : u.default : n ? o ? l : () => l : "", g = n || p !== "", m = af(t, u);
14662
14666
  f && DM(u);
14663
- let [g, v, S] = h ? [
14667
+ let [y, v, S] = h ? [
14664
14668
  l,
14665
14669
  m,
14666
14670
  a[m] || {}
14667
- ] : Ry(t, l, m, s, d, c), w = g, T = l;
14668
- if (!h && !(ee(w) || Vo(w) || fn(w)) && y && (w = p, T = w), !h && (!(ee(w) || Vo(w) || fn(w)) || !ee(v)))
14671
+ ] : Ry(t, l, m, s, d, c), w = y, T = l;
14672
+ if (!h && !(ee(w) || Vo(w) || fn(w)) && g && (w = p, T = w), !h && (!(ee(w) || Vo(w) || fn(w)) || !ee(v)))
14669
14673
  return i ? m2 : l;
14670
14674
  if (process.env.NODE_ENV !== "production" && ee(w) && t.messageCompiler == null)
14671
14675
  return is(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`), l;
@@ -14695,10 +14699,10 @@ function DM(t) {
14695
14699
  }
14696
14700
  function Ry(t, e, n, r, i, o) {
14697
14701
  const { messages: s, onWarn: a, messageResolver: l, localeFallbacker: u } = t, c = u(t, r, n);
14698
- let d = {}, f, h = null, p = n, y = null;
14702
+ let d = {}, f, h = null, p = n, g = null;
14699
14703
  const m = "translate";
14700
- for (let g = 0; g < c.length; g++) {
14701
- if (f = y = c[g], process.env.NODE_ENV !== "production" && n !== f && g2(i, e) && a(Gi(It.FALLBACK_TO_TRANSLATE, {
14704
+ for (let y = 0; y < c.length; y++) {
14705
+ if (f = g = c[y], process.env.NODE_ENV !== "production" && n !== f && g2(i, e) && a(Gi(It.FALLBACK_TO_TRANSLATE, {
14702
14706
  key: e,
14703
14707
  target: f
14704
14708
  })), process.env.NODE_ENV !== "production" && n !== f) {
@@ -14707,7 +14711,7 @@ function Ry(t, e, n, r, i, o) {
14707
14711
  type: m,
14708
14712
  key: e,
14709
14713
  from: p,
14710
- to: y,
14714
+ to: g,
14711
14715
  groupId: `${m}:${e}`
14712
14716
  });
14713
14717
  }
@@ -14733,7 +14737,7 @@ function Ry(t, e, n, r, i, o) {
14733
14737
  o,
14734
14738
  m
14735
14739
  );
14736
- T !== e && (h = T), p = y;
14740
+ T !== e && (h = T), p = g;
14737
14741
  }
14738
14742
  return [h, f, d];
14739
14743
  }
@@ -14819,15 +14823,15 @@ function $M(t, e, n, r) {
14819
14823
  messages: (h) => {
14820
14824
  let p = s(n, h);
14821
14825
  if (p == null && c) {
14822
- const [, , y] = Ry(c, h, e, a, l, u);
14823
- p = s(y, h);
14826
+ const [, , g] = Ry(c, h, e, a, l, u);
14827
+ p = s(g, h);
14824
14828
  }
14825
14829
  if (ee(p) || Vo(p)) {
14826
- let y = !1;
14827
- const g = Ly(t, h, e, p, h, () => {
14828
- y = !0;
14830
+ let g = !1;
14831
+ const y = Ly(t, h, e, p, h, () => {
14832
+ g = !0;
14829
14833
  });
14830
- return y ? Gh : g;
14834
+ return g ? Gh : y;
14831
14835
  } else
14832
14836
  return fn(p) ? p : Gh;
14833
14837
  }
@@ -14842,21 +14846,21 @@ function Jh(t, ...e) {
14842
14846
  const { datetimeFormats: n, unresolving: r, fallbackLocale: i, onWarn: o, localeFallbacker: s } = t, { __datetimeFormatters: a } = t;
14843
14847
  if (process.env.NODE_ENV !== "production" && !Ny.dateTimeFormat)
14844
14848
  return o(Gi(It.CANNOT_FORMAT_DATE)), sl;
14845
- const [l, u, c, d] = mc(...e), f = qe(c.missingWarn) ? c.missingWarn : t.missingWarn, h = qe(c.fallbackWarn) ? c.fallbackWarn : t.fallbackWarn, p = !!c.part, y = af(t, c), m = s(
14849
+ const [l, u, c, d] = mc(...e), f = qe(c.missingWarn) ? c.missingWarn : t.missingWarn, h = qe(c.fallbackWarn) ? c.fallbackWarn : t.fallbackWarn, p = !!c.part, g = af(t, c), m = s(
14846
14850
  t,
14847
14851
  // eslint-disable-line @typescript-eslint/no-explicit-any
14848
14852
  i,
14849
- y
14853
+ g
14850
14854
  );
14851
14855
  if (!ee(l) || l === "")
14852
- return new Intl.DateTimeFormat(y, d).format(u);
14853
- let g = {}, v, S = null, w = y, T = null;
14856
+ return new Intl.DateTimeFormat(g, d).format(u);
14857
+ let y = {}, v, S = null, w = g, T = null;
14854
14858
  const C = "datetime format";
14855
14859
  for (let $ = 0; $ < m.length; $++) {
14856
- if (v = T = m[$], process.env.NODE_ENV !== "production" && y !== v && g2(h, l) && o(Gi(It.FALLBACK_TO_DATE_FORMAT, {
14860
+ if (v = T = m[$], process.env.NODE_ENV !== "production" && g !== v && g2(h, l) && o(Gi(It.FALLBACK_TO_DATE_FORMAT, {
14857
14861
  key: l,
14858
14862
  target: v
14859
- })), process.env.NODE_ENV !== "production" && y !== v) {
14863
+ })), process.env.NODE_ENV !== "production" && g !== v) {
14860
14864
  const z = t.__v_emitter;
14861
14865
  z && z.emit("fallback", {
14862
14866
  type: C,
@@ -14866,7 +14870,7 @@ function Jh(t, ...e) {
14866
14870
  groupId: `${C}:${l}`
14867
14871
  });
14868
14872
  }
14869
- if (g = n[v] || {}, S = g[l], ke(S))
14873
+ if (y = n[v] || {}, S = y[l], ke(S))
14870
14874
  break;
14871
14875
  lf(t, l, v, f, C), w = T;
14872
14876
  }
@@ -14936,21 +14940,21 @@ function Xh(t, ...e) {
14936
14940
  const { numberFormats: n, unresolving: r, fallbackLocale: i, onWarn: o, localeFallbacker: s } = t, { __numberFormatters: a } = t;
14937
14941
  if (process.env.NODE_ENV !== "production" && !Ny.numberFormat)
14938
14942
  return o(Gi(It.CANNOT_FORMAT_NUMBER)), sl;
14939
- const [l, u, c, d] = gc(...e), f = qe(c.missingWarn) ? c.missingWarn : t.missingWarn, h = qe(c.fallbackWarn) ? c.fallbackWarn : t.fallbackWarn, p = !!c.part, y = af(t, c), m = s(
14943
+ const [l, u, c, d] = gc(...e), f = qe(c.missingWarn) ? c.missingWarn : t.missingWarn, h = qe(c.fallbackWarn) ? c.fallbackWarn : t.fallbackWarn, p = !!c.part, g = af(t, c), m = s(
14940
14944
  t,
14941
14945
  // eslint-disable-line @typescript-eslint/no-explicit-any
14942
14946
  i,
14943
- y
14947
+ g
14944
14948
  );
14945
14949
  if (!ee(l) || l === "")
14946
- return new Intl.NumberFormat(y, d).format(u);
14947
- let g = {}, v, S = null, w = y, T = null;
14950
+ return new Intl.NumberFormat(g, d).format(u);
14951
+ let y = {}, v, S = null, w = g, T = null;
14948
14952
  const C = "number format";
14949
14953
  for (let $ = 0; $ < m.length; $++) {
14950
- if (v = T = m[$], process.env.NODE_ENV !== "production" && y !== v && g2(h, l) && o(Gi(It.FALLBACK_TO_NUMBER_FORMAT, {
14954
+ if (v = T = m[$], process.env.NODE_ENV !== "production" && g !== v && g2(h, l) && o(Gi(It.FALLBACK_TO_NUMBER_FORMAT, {
14951
14955
  key: l,
14952
14956
  target: v
14953
- })), process.env.NODE_ENV !== "production" && y !== v) {
14957
+ })), process.env.NODE_ENV !== "production" && g !== v) {
14954
14958
  const z = t.__v_emitter;
14955
14959
  z && z.emit("fallback", {
14956
14960
  type: C,
@@ -14960,7 +14964,7 @@ function Xh(t, ...e) {
14960
14964
  groupId: `${C}:${l}`
14961
14965
  });
14962
14966
  }
14963
- if (g = n[v] || {}, S = g[l], ke(S))
14967
+ if (y = n[v] || {}, S = y[l], ke(S))
14964
14968
  break;
14965
14969
  lf(t, l, v, f, C), w = T;
14966
14970
  }
@@ -15180,7 +15184,7 @@ function UM(t = {}, e) {
15180
15184
  // prettier-ignore
15181
15185
  n && a ? n.fallbackLocale.value : ee(t.fallbackLocale) || tt(t.fallbackLocale) || ke(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : l.value
15182
15186
  ), c = s(Hy(l.value, t)), d = s(ke(t.datetimeFormats) ? t.datetimeFormats : { [l.value]: {} }), f = s(ke(t.numberFormats) ? t.numberFormats : { [l.value]: {} });
15183
- let h = n ? n.missingWarn : qe(t.missingWarn) || rl(t.missingWarn) ? t.missingWarn : !0, p = n ? n.fallbackWarn : qe(t.fallbackWarn) || rl(t.fallbackWarn) ? t.fallbackWarn : !0, y = n ? n.fallbackRoot : qe(t.fallbackRoot) ? t.fallbackRoot : !0, m = !!t.fallbackFormat, g = He(t.missing) ? t.missing : null, v = He(t.missing) ? op(t.missing) : null, S = He(t.postTranslation) ? t.postTranslation : null, w = n ? n.warnHtmlMessage : qe(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, T = !!t.escapeParameter;
15187
+ let h = n ? n.missingWarn : qe(t.missingWarn) || rl(t.missingWarn) ? t.missingWarn : !0, p = n ? n.fallbackWarn : qe(t.fallbackWarn) || rl(t.fallbackWarn) ? t.fallbackWarn : !0, g = n ? n.fallbackRoot : qe(t.fallbackRoot) ? t.fallbackRoot : !0, m = !!t.fallbackFormat, y = He(t.missing) ? t.missing : null, v = He(t.missing) ? op(t.missing) : null, S = He(t.postTranslation) ? t.postTranslation : null, w = n ? n.warnHtmlMessage : qe(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, T = !!t.escapeParameter;
15184
15188
  const C = n ? n.modifiers : ke(t.modifiers) ? t.modifiers : {};
15185
15189
  let E = t.pluralRules || n && n.pluralRules, A;
15186
15190
  A = (() => {
@@ -15235,10 +15239,10 @@ function UM(t = {}, e) {
15235
15239
  S = L, A.postTranslation = L;
15236
15240
  }
15237
15241
  function be() {
15238
- return g;
15242
+ return y;
15239
15243
  }
15240
15244
  function ct(L) {
15241
- L !== null && (v = op(L)), g = L, A.missing = v;
15245
+ L !== null && (v = op(L)), y = L, A.missing = v;
15242
15246
  }
15243
15247
  function xt(L, H) {
15244
15248
  return L !== "translate" || !H.resolvedMessage;
@@ -15254,19 +15258,19 @@ function UM(t = {}, e) {
15254
15258
  if (ye !== "translate exists" && // for not `te` (e.g `t`)
15255
15259
  Ct(Er) && Er === m2 || ye === "translate exists" && !Er) {
15256
15260
  const [nr, N] = H();
15257
- if (process.env.NODE_ENV !== "production" && n && ee(nr) && xt(ye, N) && (y && (g2(p, nr) || Dy(h, nr)) && is(uf(cn.FALLBACK_TO_ROOT, {
15261
+ if (process.env.NODE_ENV !== "production" && n && ee(nr) && xt(ye, N) && (g && (g2(p, nr) || Dy(h, nr)) && is(uf(cn.FALLBACK_TO_ROOT, {
15258
15262
  key: nr,
15259
15263
  type: ye
15260
15264
  })), process.env.NODE_ENV !== "production")) {
15261
15265
  const { __v_emitter: J } = A;
15262
- J && y && J.emit("fallback", {
15266
+ J && g && J.emit("fallback", {
15263
15267
  type: ye,
15264
15268
  key: nr,
15265
15269
  to: "global",
15266
15270
  groupId: `${ye}:${nr}`
15267
15271
  });
15268
15272
  }
15269
- return n && y ? Fe(n) : tr(nr);
15273
+ return n && g ? Fe(n) : tr(nr);
15270
15274
  } else {
15271
15275
  if (ao(Er))
15272
15276
  return Er;
@@ -15444,10 +15448,10 @@ function UM(t = {}, e) {
15444
15448
  p = L, A.fallbackWarn = p;
15445
15449
  },
15446
15450
  get fallbackRoot() {
15447
- return y;
15451
+ return g;
15448
15452
  },
15449
15453
  set fallbackRoot(L) {
15450
- y = L;
15454
+ g = L;
15451
15455
  },
15452
15456
  get fallbackFormat() {
15453
15457
  return m;
@@ -15537,8 +15541,8 @@ function jy(t, e, n, r) {
15537
15541
  const l = r(t.value, s, a);
15538
15542
  let u = [s.key];
15539
15543
  tt(l) ? u = l.map((f, h) => {
15540
- const p = i[f.type], y = p ? p({ [f.type]: f.value, index: h, parts: l }) : [f.value];
15541
- return GM(y) && (y[0].key = `${f.type}-${h}`), y;
15544
+ const p = i[f.type], g = p ? p({ [f.type]: f.value, index: h, parts: l }) : [f.value];
15545
+ return GM(g) && (g[0].key = `${f.type}-${h}`), g;
15542
15546
  }) : ee(l) && (u = [l]);
15543
15547
  const c = Tt({}, o), d = ee(t.tag) || Te(t.tag) ? t.tag : zy();
15544
15548
  return Ot(d, c, u);
@@ -15994,16 +15998,16 @@ const Zy = {
15994
15998
  getCellClasses: (d) => {
15995
15999
  const f = i.value.length ? i.value : l.value, h = Math.ceil(
15996
16000
  f.length / t.columns
15997
- ), p = Math.floor(d / t.columns), y = p === 0, m = p === h - 1, g = d === f.length - 1, v = p === h - 2, S = d + t.columns >= f.length;
16001
+ ), p = Math.floor(d / t.columns), g = p === 0, m = p === h - 1, y = d === f.length - 1, v = p === h - 2, S = d + t.columns >= f.length;
15998
16002
  return {
15999
- "!border-t-[0.09375rem]": y,
16003
+ "!border-t-[0.09375rem]": g,
16000
16004
  "!border-b-[0.09375rem]": m || S && v,
16001
16005
  "!border-l-[0.09375rem]": d % t.columns === 0,
16002
- "!border-r-[0.09375rem]": d % t.columns === t.columns - 1 || g,
16003
- "!rounded-tl-md": y && d % t.columns === 0,
16004
- "!rounded-tr-md": y && (d % t.columns === t.columns - 1 || g),
16006
+ "!border-r-[0.09375rem]": d % t.columns === t.columns - 1 || y,
16007
+ "!rounded-tl-md": g && d % t.columns === 0,
16008
+ "!rounded-tr-md": g && (d % t.columns === t.columns - 1 || y),
16005
16009
  "!rounded-bl-md": m && d % t.columns === 0,
16006
- "!rounded-br-md": g || v && f.length % t.columns !== 0 && d % t.columns === t.columns - 1
16010
+ "!rounded-br-md": y || v && f.length % t.columns !== 0 && d % t.columns === t.columns - 1
16007
16011
  };
16008
16012
  },
16009
16013
  selectGridItem: (d) => {
@@ -16190,8 +16194,8 @@ const Zj = /* @__PURE__ */ Ee(rx, [["render", fx], ["__scopeId", "data-v-d37c3c4
16190
16194
  { [t.inputClass]: !!t.inputClass },
16191
16195
  { populated: !!t.modelValue }
16192
16196
  ]), c = U(() => !!(n != null && n.default)), d = () => {
16193
- const p = t.type === "password", y = t.type === "text" && o.value === lp;
16194
- (p || y) && f();
16197
+ const p = t.type === "password", g = t.type === "text" && o.value === lp;
16198
+ (p || g) && f();
16195
16199
  }, f = () => {
16196
16200
  const p = t.type === "text" ? "password" : "text";
16197
16201
  o.value = p === "text" ? lp : ap, e("update-type", p);
@@ -16791,28 +16795,28 @@ const Yj = /* @__PURE__ */ Ee(qx, [["render", Jx], ["__scopeId", "data-v-bddbe9b
16791
16795
  const n = _(!1), r = _(""), i = _(null), o = U(() => n.value === !0 && t.reposition === !0 ? a(t.align) : t.align), s = U(() => n.value === !0 && t.reposition === !0 ? l(t.position) : t.position), a = (m) => {
16792
16796
  if (!i.value || u(i.value.children[1]))
16793
16797
  return m;
16794
- const g = i.value.children[0].getBoundingClientRect(), v = i.value.children[1].getBoundingClientRect();
16798
+ const y = i.value.children[0].getBoundingClientRect(), v = i.value.children[1].getBoundingClientRect();
16795
16799
  if (m === "left" || m === "right" || m === "center") {
16796
- const S = g.left;
16800
+ const S = y.left;
16797
16801
  return window.innerWidth - S < v.width ? "right" : "left";
16798
16802
  } else {
16799
- const S = g.top;
16803
+ const S = y.top;
16800
16804
  return window.innerHeight - S < v.height ? "bottom" : "top";
16801
16805
  }
16802
16806
  }, l = (m) => {
16803
16807
  if (!i.value || u(i.value.children[1]))
16804
16808
  return m;
16805
- const g = i.value.children[0].getBoundingClientRect(), v = i.value.children[1].getBoundingClientRect();
16809
+ const y = i.value.children[0].getBoundingClientRect(), v = i.value.children[1].getBoundingClientRect();
16806
16810
  if (m === "top" || m === "bottom") {
16807
- const S = g.top;
16811
+ const S = y.top;
16808
16812
  return window.innerHeight - S < v.height ? "top" : "bottom";
16809
16813
  } else {
16810
- const S = g.left;
16814
+ const S = y.left;
16811
16815
  return window.innerWidth - S < v.width ? "left" : "right";
16812
16816
  }
16813
16817
  }, u = (m) => {
16814
- const g = m.getBoundingClientRect();
16815
- return g ? g.top >= 0 && g.left >= 0 && g.bottom <= (window.innerHeight || document.documentElement.clientHeight) && g.right <= (window.innerWidth || document.documentElement.clientWidth) : !1;
16818
+ const y = m.getBoundingClientRect();
16819
+ return y ? y.top >= 0 && y.left >= 0 && y.bottom <= (window.innerHeight || document.documentElement.clientHeight) && y.right <= (window.innerWidth || document.documentElement.clientWidth) : !1;
16816
16820
  }, c = () => {
16817
16821
  (t.trigger === "click" || t.trigger === "both") && e("update:modelValue", !t.modelValue);
16818
16822
  }, d = () => {
@@ -16820,8 +16824,8 @@ const Yj = /* @__PURE__ */ Ee(qx, [["render", Jx], ["__scopeId", "data-v-bddbe9b
16820
16824
  }, f = () => {
16821
16825
  t.trigger !== "click" && e("update:modelValue", !0);
16822
16826
  }, h = () => {
16823
- var g;
16824
- const m = (g = i.value) == null ? void 0 : g.children[0];
16827
+ var y;
16828
+ const m = (y = i.value) == null ? void 0 : y.children[0];
16825
16829
  if (m) {
16826
16830
  const v = m.clientWidth, S = m.clientHeight;
16827
16831
  switch (o.value) {
@@ -16846,7 +16850,7 @@ const Yj = /* @__PURE__ */ Ee(qx, [["render", Jx], ["__scopeId", "data-v-bddbe9b
16846
16850
  function p() {
16847
16851
  n.value = !1;
16848
16852
  }
16849
- function y() {
16853
+ function g() {
16850
16854
  var m;
16851
16855
  n.value = !0, !u((m = i.value) == null ? void 0 : m.children[1]) && t.reposition === !0 && h();
16852
16856
  }
@@ -16865,7 +16869,7 @@ const Yj = /* @__PURE__ */ Ee(qx, [["render", Jx], ["__scopeId", "data-v-bddbe9b
16865
16869
  onAfterLeave: p,
16866
16870
  onClick: c,
16867
16871
  onClickOutside: v1,
16868
- onEnter: y,
16872
+ onEnter: g,
16869
16873
  onMouseLeave: d,
16870
16874
  onMouseOver: f
16871
16875
  };
@@ -18183,7 +18187,7 @@ const gA = ce({
18183
18187
  await lr(), i.value.search = v;
18184
18188
  return;
18185
18189
  }
18186
- }, y = (v) => {
18190
+ }, g = (v) => {
18187
18191
  typeof v == "number" && v >= 0 ? s.value.splice(v, 1) : s.value = [], lr(() => {
18188
18192
  n("update:model-value", s.value);
18189
18193
  });
@@ -18191,7 +18195,7 @@ const gA = ce({
18191
18195
  t.multiple && s.value && v.length === s.value.length && lr(() => {
18192
18196
  s.value = [], n("update:model-value", s.value);
18193
18197
  });
18194
- }, g = async () => {
18198
+ }, y = async () => {
18195
18199
  if (o.value && t.searchable) {
18196
18200
  await lr();
18197
18201
  const v = o.value.querySelector(
@@ -18213,10 +18217,10 @@ const gA = ce({
18213
18217
  noTagFound: u,
18214
18218
  useTags: d,
18215
18219
  addTag: p,
18216
- onOpen: g,
18220
+ onOpen: y,
18217
18221
  onRemove: m,
18218
18222
  onUpdateValue: f,
18219
- removeElement: y,
18223
+ removeElement: g,
18220
18224
  searchChange: h
18221
18225
  };
18222
18226
  }
@@ -18360,9 +18364,10 @@ function DA(t, e, n, r, i, o) {
18360
18364
  (b(!0), k(ie, null, Pe(!t.expand && t.limitShown ? u.slice(0, t.limitShown) : u, (h, p) => (b(), k("div", {
18361
18365
  key: p,
18362
18366
  class: B([
18363
- "multiselect__tag inline-flex items-center justify-center rounded mr-2",
18367
+ "multiselect__tag !inline-flex items-center justify-center rounded mr-2",
18364
18368
  { "tag-added": h.added },
18365
- { "tag-gray": !!t.showTags }
18369
+ { "tag-gray": !!t.showTags },
18370
+ h.tagClass ? h.tagClass : ""
18366
18371
  ])
18367
18372
  }, [
18368
18373
  h.icon ? (b(), R(s, {
@@ -18379,14 +18384,15 @@ function DA(t, e, n, r, i, o) {
18379
18384
  P("span", {
18380
18385
  class: "tag-remove cursor-pointer shrink",
18381
18386
  tabindex: "1",
18382
- onClick: (y) => t.removeElement(p)
18387
+ onClick: (g) => t.removeElement(p)
18383
18388
  }, [
18384
18389
  x(s, {
18385
- icon: "close",
18390
+ icon: "close-thick",
18386
18391
  color: "white",
18392
+ size: "sm",
18387
18393
  class: B([
18388
- "tag-close flex rounded-full p-1",
18389
- t.showTags ? "bg-inkwell-30" : t.taggable && h.added ? "bg-green-40" : "bg-blue-40"
18394
+ "!p-[0.3rem] tag-close flex rounded-full p-1",
18395
+ h.closeTagClass ? h.closeTagClass : t.showTags ? "bg-inkwell-30" : t.taggable && h.added ? "bg-green-40" : "bg-blue-40"
18390
18396
  ]),
18391
18397
  type: "line"
18392
18398
  }, null, 8, ["class"])
@@ -18466,7 +18472,7 @@ function DA(t, e, n, r, i, o) {
18466
18472
  }, 8, ["id", "modelValue", "options", "searchable", "multiple", "taggable", "label", "track-by", "group-values", "group-label", "group-select", "class", "disabled", "allow-empty", "close-on-select", "show-tags", "tag-placeholder", "placeholder", "onOpen", "onTag"])
18467
18473
  ], 8, yA);
18468
18474
  }
18469
- const Qj = /* @__PURE__ */ Ee(gA, [["render", DA], ["__scopeId", "data-v-7e358c27"]]);
18475
+ const Qj = /* @__PURE__ */ Ee(gA, [["render", DA], ["__scopeId", "data-v-e0d3121b"]]);
18470
18476
  var Xe = {
18471
18477
  STARTS_WITH: "startsWith",
18472
18478
  CONTAINS: "contains",
@@ -19363,7 +19369,7 @@ var pf = {
19363
19369
  return E > -1;
19364
19370
  }) : e > -1;
19365
19371
  if (s) {
19366
- var a = this.first, l = this.element, u = l.scrollTop, c = u === void 0 ? 0 : u, d = l.scrollLeft, f = d === void 0 ? 0 : d, h = this.calculateNumItems(), p = h.numToleratedItems, y = this.getContentPosition(), m = this.itemSize, g = function() {
19372
+ var a = this.first, l = this.element, u = l.scrollTop, c = u === void 0 ? 0 : u, d = l.scrollLeft, f = d === void 0 ? 0 : d, h = this.calculateNumItems(), p = h.numToleratedItems, g = this.getContentPosition(), m = this.itemSize, y = function() {
19367
19373
  var A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, $ = arguments.length > 1 ? arguments[1] : void 0;
19368
19374
  return A <= $ ? 0 : A;
19369
19375
  }, v = function(A, $, z) {
@@ -19380,9 +19386,9 @@ var pf = {
19380
19386
  cols: 0
19381
19387
  } : 0, T = !1, C = !1;
19382
19388
  i ? (w = {
19383
- rows: g(e[0], p[0]),
19384
- cols: g(e[1], p[1])
19385
- }, S(v(w.cols, m[1], y.left), v(w.rows, m[0], y.top)), C = this.lastScrollPos.top !== c || this.lastScrollPos.left !== f, T = w.rows !== a.rows || w.cols !== a.cols) : (w = g(e, p), o ? S(v(w, m, y.left), c) : S(f, v(w, m, y.top)), C = this.lastScrollPos !== (o ? f : c), T = w !== a), this.isRangeChanged = T, C && (this.first = w);
19389
+ rows: y(e[0], p[0]),
19390
+ cols: y(e[1], p[1])
19391
+ }, S(v(w.cols, m[1], g.left), v(w.rows, m[0], g.top)), C = this.lastScrollPos.top !== c || this.lastScrollPos.left !== f, T = w.rows !== a.rows || w.cols !== a.cols) : (w = y(e, p), o ? S(v(w, m, g.left), c) : S(f, v(w, m, g.top)), C = this.lastScrollPos !== (o ? f : c), T = w !== a), this.isRangeChanged = T, C && (this.first = w);
19386
19392
  }
19387
19393
  },
19388
19394
  scrollInView: function(e, n) {
@@ -19393,9 +19399,9 @@ var pf = {
19393
19399
  }) : e > -1;
19394
19400
  if (a) {
19395
19401
  var l = this.getRenderedRange(), u = l.first, c = l.viewport, d = function() {
19396
- var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
19402
+ var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
19397
19403
  return r.scrollTo({
19398
- left: g,
19404
+ left: y,
19399
19405
  top: v,
19400
19406
  behavior: i
19401
19407
  });
@@ -19411,8 +19417,8 @@ var pf = {
19411
19417
  if (o)
19412
19418
  c.last.rows - u.rows <= e[0] + 1 ? d(c.first.cols * this.itemSize[1], (c.first.rows + 1) * this.itemSize[0]) : c.last.cols - u.cols <= e[1] + 1 && d((c.first.cols + 1) * this.itemSize[1], c.first.rows * this.itemSize[0]);
19413
19419
  else if (c.last - u <= e + 1) {
19414
- var y = (c.first + 1) * this.itemSize;
19415
- s ? d(y, 0) : d(0, y);
19420
+ var g = (c.first + 1) * this.itemSize;
19421
+ s ? d(g, 0) : d(0, g);
19416
19422
  }
19417
19423
  }
19418
19424
  }
@@ -19577,7 +19583,7 @@ var pf = {
19577
19583
  }, f = a(r.scrollTop, s.top), h = a(r.scrollLeft, s.left), p = i ? {
19578
19584
  rows: 0,
19579
19585
  cols: 0
19580
- } : 0, y = this.last, m = !1, g = this.lastScrollPos;
19586
+ } : 0, g = this.last, m = !1, y = this.lastScrollPos;
19581
19587
  if (i) {
19582
19588
  var v = this.lastScrollPos.top <= f, S = this.lastScrollPos.left <= h;
19583
19589
  if (!this.appendOnly || this.appendOnly && (v || S)) {
@@ -19591,10 +19597,10 @@ var pf = {
19591
19597
  p = {
19592
19598
  rows: c(w.rows, T.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], v),
19593
19599
  cols: c(w.cols, T.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], S)
19594
- }, y = {
19600
+ }, g = {
19595
19601
  rows: d(w.rows, p.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
19596
19602
  cols: d(w.cols, p.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], !0)
19597
- }, m = p.rows !== this.first.rows || y.rows !== this.last.rows || p.cols !== this.first.cols || y.cols !== this.last.cols || this.isRangeChanged, g = {
19603
+ }, m = p.rows !== this.first.rows || g.rows !== this.last.rows || p.cols !== this.first.cols || g.cols !== this.last.cols || this.isRangeChanged, y = {
19598
19604
  top: f,
19599
19605
  left: h
19600
19606
  };
@@ -19603,14 +19609,14 @@ var pf = {
19603
19609
  var C = o ? h : f, E = this.lastScrollPos <= C;
19604
19610
  if (!this.appendOnly || this.appendOnly && E) {
19605
19611
  var A = l(C, this.itemSize), $ = u(A, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, E);
19606
- p = c(A, $, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, E), y = d(A, p, this.last, this.numItemsInViewport, this.d_numToleratedItems), m = p !== this.first || y !== this.last || this.isRangeChanged, g = C;
19612
+ p = c(A, $, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, E), g = d(A, p, this.last, this.numItemsInViewport, this.d_numToleratedItems), m = p !== this.first || g !== this.last || this.isRangeChanged, y = C;
19607
19613
  }
19608
19614
  }
19609
19615
  return {
19610
19616
  first: p,
19611
- last: y,
19617
+ last: g,
19612
19618
  isRangeChanged: m,
19613
- scrollPos: g
19619
+ scrollPos: y
19614
19620
  };
19615
19621
  },
19616
19622
  onScrollChange: function(e) {
@@ -20943,16 +20949,16 @@ function ZI(t, e, n, r, i, o) {
20943
20949
  pt: t.ptm("virtualScroller")
20944
20950
  }), _s({
20945
20951
  content: ne(function(f) {
20946
- var h = f.styleClass, p = f.contentRef, y = f.items, m = f.getItemOptions, g = f.contentStyle, v = f.itemSize;
20952
+ var h = f.styleClass, p = f.contentRef, g = f.items, m = f.getItemOptions, y = f.contentStyle, v = f.itemSize;
20947
20953
  return [P("ul", O({
20948
20954
  ref: function(w) {
20949
20955
  return o.listRef(w, p);
20950
20956
  },
20951
20957
  id: i.id + "_list",
20952
20958
  class: [t.cx("list"), h],
20953
- style: g,
20959
+ style: y,
20954
20960
  role: "listbox"
20955
- }, t.ptm("list")), [(b(!0), k(ie, null, Pe(y, function(S, w) {
20961
+ }, t.ptm("list")), [(b(!0), k(ie, null, Pe(g, function(S, w) {
20956
20962
  return b(), k(ie, {
20957
20963
  key: o.getOptionRenderKey(S, o.getOptionIndex(w, m))
20958
20964
  }, [o.isOptionGroup(S) ? (b(), k("li", O({
@@ -21011,7 +21017,7 @@ function ZI(t, e, n, r, i, o) {
21011
21017
  class: t.cx("itemLabel")
21012
21018
  }, t.ptm("itemLabel")), X(o.getOptionLabel(S)), 17)];
21013
21019
  })], 16, jI)), [[d]])], 64);
21014
- }), 128)), i.filterValue && (!y || y && y.length === 0) ? (b(), k("li", O({
21020
+ }), 128)), i.filterValue && (!g || g && g.length === 0) ? (b(), k("li", O({
21015
21021
  key: 0,
21016
21022
  class: t.cx("emptyMessage"),
21017
21023
  role: "option"
@@ -21994,7 +22000,7 @@ var iv = {
21994
22000
  }
21995
22001
  case "Delete":
21996
22002
  if (e.preventDefault(), n === r) {
21997
- var f = i.charAt(n), h = this.getDecimalCharIndexes(i), p = h.decimalCharIndex, y = h.decimalCharIndexWithoutPrefix;
22003
+ var f = i.charAt(n), h = this.getDecimalCharIndexes(i), p = h.decimalCharIndex, g = h.decimalCharIndexWithoutPrefix;
21998
22004
  if (this.isNumeralChar(f)) {
21999
22005
  var m = this.getDecimalLength(i);
22000
22006
  if (this._group.test(f))
@@ -22002,10 +22008,10 @@ var iv = {
22002
22008
  else if (this._decimal.test(f))
22003
22009
  this._decimal.lastIndex = 0, m ? this.$refs.input.$el.setSelectionRange(n + 1, n + 1) : o = i.slice(0, n) + i.slice(n + 1);
22004
22010
  else if (p > 0 && n > p) {
22005
- var g = this.isDecimalMode() && (this.minFractionDigits || 0) < m ? "" : "0";
22006
- o = i.slice(0, n) + g + i.slice(n + 1);
22011
+ var y = this.isDecimalMode() && (this.minFractionDigits || 0) < m ? "" : "0";
22012
+ o = i.slice(0, n) + y + i.slice(n + 1);
22007
22013
  } else
22008
- y === 1 ? (o = i.slice(0, n) + "0" + i.slice(n + 1), o = this.parseValue(o) > 0 ? o : "") : o = i.slice(0, n) + i.slice(n + 1);
22014
+ g === 1 ? (o = i.slice(0, n) + "0" + i.slice(n + 1), o = this.parseValue(o) > 0 ? o : "") : o = i.slice(0, n) + i.slice(n + 1);
22009
22015
  }
22010
22016
  this.updateValue(e, o, null, "delete-back-single");
22011
22017
  } else
@@ -22086,14 +22092,14 @@ var iv = {
22086
22092
  else if (r.isDecimalSign)
22087
22093
  u > 0 && o === u ? this.updateValue(e, a, n, "insert") : u > o && u < s ? (h = this.insertText(a, n, o, s), this.updateValue(e, h, n, "insert")) : u === -1 && this.maxFractionDigits && (h = this.insertText(a, n, o, s), this.updateValue(e, h, n, "insert"));
22088
22094
  else {
22089
- var p = this.numberFormat.resolvedOptions().maximumFractionDigits, y = o !== s ? "range-insert" : "insert";
22095
+ var p = this.numberFormat.resolvedOptions().maximumFractionDigits, g = o !== s ? "range-insert" : "insert";
22090
22096
  if (u > 0 && o > u) {
22091
22097
  if (o + n.length - (u + 1) <= p) {
22092
22098
  var m = f >= o ? f - 1 : d >= o ? d : a.length;
22093
- h = a.slice(0, o) + n + a.slice(o + n.length, m) + a.slice(m), this.updateValue(e, h, n, y);
22099
+ h = a.slice(0, o) + n + a.slice(o + n.length, m) + a.slice(m), this.updateValue(e, h, n, g);
22094
22100
  }
22095
22101
  } else
22096
- h = this.insertText(a, n, o, s), this.updateValue(e, h, n, y);
22102
+ h = this.insertText(a, n, o, s), this.updateValue(e, h, n, g);
22097
22103
  }
22098
22104
  }
22099
22105
  },
@@ -22179,9 +22185,9 @@ var iv = {
22179
22185
  this.$refs.input.$el.value = s;
22180
22186
  var f = s.length;
22181
22187
  if (r === "range-insert") {
22182
- var h = this.parseValue((o || "").slice(0, c)), p = h !== null ? h.toString() : "", y = p.split("").join("(".concat(this.groupChar, ")?")), m = new RegExp(y, "g");
22188
+ var h = this.parseValue((o || "").slice(0, c)), p = h !== null ? h.toString() : "", g = p.split("").join("(".concat(this.groupChar, ")?")), m = new RegExp(g, "g");
22183
22189
  m.test(s);
22184
- var g = n.split("").join("(".concat(this.groupChar, ")?")), v = new RegExp(g, "g");
22190
+ var y = n.split("").join("(".concat(this.groupChar, ")?")), v = new RegExp(y, "g");
22185
22191
  v.test(s.slice(m.lastIndex)), d = m.lastIndex + v.lastIndex, this.$refs.input.$el.setSelectionRange(d, d);
22186
22192
  } else if (f === a)
22187
22193
  if (r === "insert" || r === "delete-back-single") {
@@ -23073,8 +23079,8 @@ var vv = {
23073
23079
  var n;
23074
23080
  this.styleElement = document.createElement("style"), this.styleElement.type = "text/css", M.setAttribute(this.styleElement, "nonce", (n = this.$primevue) === null || n === void 0 || (n = n.config) === null || n === void 0 || (n = n.csp) === null || n === void 0 ? void 0 : n.nonce), document.head.appendChild(this.styleElement);
23075
23081
  var r = "", i = Object.keys(this.template), o = {};
23076
- i.sort(function(p, y) {
23077
- return parseInt(p) - parseInt(y);
23082
+ i.sort(function(p, g) {
23083
+ return parseInt(p) - parseInt(g);
23078
23084
  }).forEach(function(p) {
23079
23085
  o[p] = e.template[p];
23080
23086
  });
@@ -23187,7 +23193,7 @@ function QP(t, e, n, r, i, o) {
23187
23193
  var s = Z("FirstPageLink"), a = Z("PrevPageLink"), l = Z("NextPageLink"), u = Z("LastPageLink"), c = Z("PageLinks"), d = Z("CurrentPageReport"), f = Z("RowsPerPageDropdown"), h = Z("JumpToPageDropdown"), p = Z("JumpToPageInput");
23188
23194
  return t.alwaysShow || o.pageLinks && o.pageLinks.length > 1 ? (b(), k("nav", Xt(O({
23189
23195
  key: 0
23190
- }, t.ptmi("paginatorWrapper"))), [(b(!0), k(ie, null, Pe(o.templateItems, function(y, m) {
23196
+ }, t.ptmi("paginatorWrapper"))), [(b(!0), k(ie, null, Pe(o.templateItems, function(g, m) {
23191
23197
  return b(), k("div", O({
23192
23198
  key: m,
23193
23199
  ref_for: !0,
@@ -23200,10 +23206,10 @@ function QP(t, e, n, r, i, o) {
23200
23206
  class: t.cx("start")
23201
23207
  }, t.ptm("start")), [F(t.$slots, "start", {
23202
23208
  state: o.currentState
23203
- })], 16)) : I("", !0), (b(!0), k(ie, null, Pe(y, function(g) {
23209
+ })], 16)) : I("", !0), (b(!0), k(ie, null, Pe(g, function(y) {
23204
23210
  return b(), k(ie, {
23205
- key: g
23206
- }, [g === "FirstPageLink" ? (b(), R(s, {
23211
+ key: y
23212
+ }, [y === "FirstPageLink" ? (b(), R(s, {
23207
23213
  key: 0,
23208
23214
  "aria-label": o.getAriaLabel("firstPageLabel"),
23209
23215
  template: t.$slots.firstpagelinkicon,
@@ -23213,7 +23219,7 @@ function QP(t, e, n, r, i, o) {
23213
23219
  disabled: o.isFirstPage || o.empty,
23214
23220
  unstyled: t.unstyled,
23215
23221
  pt: t.pt
23216
- }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : g === "PrevPageLink" ? (b(), R(a, {
23222
+ }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : y === "PrevPageLink" ? (b(), R(a, {
23217
23223
  key: 1,
23218
23224
  "aria-label": o.getAriaLabel("prevPageLabel"),
23219
23225
  template: t.$slots.prevpagelinkicon,
@@ -23223,7 +23229,7 @@ function QP(t, e, n, r, i, o) {
23223
23229
  disabled: o.isFirstPage || o.empty,
23224
23230
  unstyled: t.unstyled,
23225
23231
  pt: t.pt
23226
- }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : g === "NextPageLink" ? (b(), R(l, {
23232
+ }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : y === "NextPageLink" ? (b(), R(l, {
23227
23233
  key: 2,
23228
23234
  "aria-label": o.getAriaLabel("nextPageLabel"),
23229
23235
  template: t.$slots.nextpagelinkicon,
@@ -23233,7 +23239,7 @@ function QP(t, e, n, r, i, o) {
23233
23239
  disabled: o.isLastPage || o.empty,
23234
23240
  unstyled: t.unstyled,
23235
23241
  pt: t.pt
23236
- }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : g === "LastPageLink" ? (b(), R(u, {
23242
+ }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : y === "LastPageLink" ? (b(), R(u, {
23237
23243
  key: 3,
23238
23244
  "aria-label": o.getAriaLabel("lastPageLabel"),
23239
23245
  template: t.$slots.lastpagelinkicon,
@@ -23243,7 +23249,7 @@ function QP(t, e, n, r, i, o) {
23243
23249
  disabled: o.isLastPage || o.empty,
23244
23250
  unstyled: t.unstyled,
23245
23251
  pt: t.pt
23246
- }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : g === "PageLinks" ? (b(), R(c, {
23252
+ }, null, 8, ["aria-label", "template", "disabled", "unstyled", "pt"])) : y === "PageLinks" ? (b(), R(c, {
23247
23253
  key: 4,
23248
23254
  "aria-label": o.getAriaLabel("pageLabel"),
23249
23255
  value: o.pageLinks,
@@ -23252,7 +23258,7 @@ function QP(t, e, n, r, i, o) {
23252
23258
  return o.changePageLink(v);
23253
23259
  }),
23254
23260
  pt: t.pt
23255
- }, null, 8, ["aria-label", "value", "page", "pt"])) : g === "CurrentPageReport" ? (b(), R(d, {
23261
+ }, null, 8, ["aria-label", "value", "page", "pt"])) : y === "CurrentPageReport" ? (b(), R(d, {
23256
23262
  key: 5,
23257
23263
  "aria-live": "polite",
23258
23264
  template: t.currentPageReportTemplate,
@@ -23264,7 +23270,7 @@ function QP(t, e, n, r, i, o) {
23264
23270
  totalRecords: t.totalRecords,
23265
23271
  unstyled: t.unstyled,
23266
23272
  pt: t.pt
23267
- }, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords", "unstyled", "pt"])) : g === "RowsPerPageDropdown" && t.rowsPerPageOptions ? (b(), R(f, {
23273
+ }, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords", "unstyled", "pt"])) : y === "RowsPerPageDropdown" && t.rowsPerPageOptions ? (b(), R(f, {
23268
23274
  key: 6,
23269
23275
  "aria-label": o.getAriaLabel("rowsPerPageLabel"),
23270
23276
  rows: i.d_rows,
@@ -23276,7 +23282,7 @@ function QP(t, e, n, r, i, o) {
23276
23282
  templates: t.$slots,
23277
23283
  unstyled: t.unstyled,
23278
23284
  pt: t.pt
23279
- }, null, 8, ["aria-label", "rows", "options", "disabled", "templates", "unstyled", "pt"])) : g === "JumpToPageDropdown" ? (b(), R(h, {
23285
+ }, null, 8, ["aria-label", "rows", "options", "disabled", "templates", "unstyled", "pt"])) : y === "JumpToPageDropdown" ? (b(), R(h, {
23280
23286
  key: 7,
23281
23287
  "aria-label": o.getAriaLabel("jumpToPageDropdownLabel"),
23282
23288
  page: o.page,
@@ -23288,7 +23294,7 @@ function QP(t, e, n, r, i, o) {
23288
23294
  templates: t.$slots,
23289
23295
  unstyled: t.unstyled,
23290
23296
  pt: t.pt
23291
- }, null, 8, ["aria-label", "page", "pageCount", "disabled", "templates", "unstyled", "pt"])) : g === "JumpToPageInput" ? (b(), R(p, {
23297
+ }, null, 8, ["aria-label", "page", "pageCount", "disabled", "templates", "unstyled", "pt"])) : y === "JumpToPageInput" ? (b(), R(p, {
23292
23298
  key: 8,
23293
23299
  page: o.currentPage,
23294
23300
  onPageChange: e[7] || (e[7] = function(v) {
@@ -23990,7 +23996,7 @@ var RD = AD.extend("focustrap", {
23990
23996
  M.focus(o);
23991
23997
  },
23992
23998
  createHiddenFocusableElements: function(e, n) {
23993
- var r = this, i = n.value || {}, o = i.tabIndex, s = o === void 0 ? 0 : o, a = i.firstFocusableSelector, l = a === void 0 ? "" : a, u = i.lastFocusableSelector, c = u === void 0 ? "" : u, d = function(y) {
23999
+ var r = this, i = n.value || {}, o = i.tabIndex, s = o === void 0 ? 0 : o, a = i.firstFocusableSelector, l = a === void 0 ? "" : a, u = i.lastFocusableSelector, c = u === void 0 ? "" : u, d = function(g) {
23994
24000
  return M.createElement("span", {
23995
24001
  class: "p-hidden-accessible p-hidden-focusable",
23996
24002
  tabIndex: s,
@@ -23998,7 +24004,7 @@ var RD = AD.extend("focustrap", {
23998
24004
  "aria-hidden": !0,
23999
24005
  "data-p-hidden-accessible": !0,
24000
24006
  "data-p-hidden-focusable": !0,
24001
- onFocus: y == null ? void 0 : y.bind(r)
24007
+ onFocus: g == null ? void 0 : g.bind(r)
24002
24008
  });
24003
24009
  }, f = d(this.onFirstHiddenElementFocus), h = d(this.onLastHiddenElementFocus);
24004
24010
  f.$_pfocustrap_lasthiddenfocusableelement = h, f.$_pfocustrap_focusableselector = l, f.setAttribute("data-pc-section", "firstfocusableelement"), h.$_pfocustrap_firsthiddenfocusableelement = f, h.$_pfocustrap_focusableselector = c, h.setAttribute("data-pc-section", "lastfocusableelement"), e.prepend(f), e.append(h);
@@ -28683,8 +28689,8 @@ var Nv = {
28683
28689
  var h = gs(f.constraints), p;
28684
28690
  try {
28685
28691
  for (h.s(); !(p = h.n()).done; ) {
28686
- var y = p.value;
28687
- if (a = this.executeLocalFilter(d, e[s], y), f.operator === al.OR && a || f.operator === al.AND && !a)
28692
+ var g = p.value;
28693
+ if (a = this.executeLocalFilter(d, e[s], g), f.operator === al.OR && a || f.operator === al.AND && !a)
28688
28694
  break;
28689
28695
  }
28690
28696
  } catch (w) {
@@ -28699,8 +28705,8 @@ var Nv = {
28699
28705
  }
28700
28706
  if (a && r.global && !l && i)
28701
28707
  for (var m = 0; m < i.length; m++) {
28702
- var g = i[m];
28703
- if (l = kc.filters[r.global.matchMode || Xe.CONTAINS](D.resolveFieldData(e[s], g), r.global.value, this.filterLocale), l)
28708
+ var y = i[m];
28709
+ if (l = kc.filters[r.global.matchMode || Xe.CONTAINS](D.resolveFieldData(e[s], y), r.global.value, this.filterLocale), l)
28704
28710
  break;
28705
28711
  }
28706
28712
  var v = void 0;
@@ -28781,8 +28787,8 @@ var Nv = {
28781
28787
  type: "row"
28782
28788
  });
28783
28789
  } else {
28784
- var y = this.selection ? [].concat(Ne(this.selection), [o]) : [o];
28785
- this.$emit("update:selection", y), this.$emit("row-select", {
28790
+ var g = this.selection ? [].concat(Ne(this.selection), [o]) : [o];
28791
+ this.$emit("update:selection", g), this.$emit("row-select", {
28786
28792
  originalEvent: n,
28787
28793
  data: o,
28788
28794
  index: s,
@@ -28792,8 +28798,8 @@ var Nv = {
28792
28798
  }
28793
28799
  }
28794
28800
  if (this.rowTouched = !1, i) {
28795
- var m, g, v;
28796
- if (((m = n.target) === null || m === void 0 ? void 0 : m.getAttribute("data-pc-section")) === "rowtogglericon" || ((g = n.target) === null || g === void 0 || (g = g.parentElement) === null || g === void 0 ? void 0 : g.getAttribute("data-pc-section")) === "rowtogglericon")
28801
+ var m, y, v;
28802
+ if (((m = n.target) === null || m === void 0 ? void 0 : m.getAttribute("data-pc-section")) === "rowtogglericon" || ((y = n.target) === null || y === void 0 || (y = y.parentElement) === null || y === void 0 ? void 0 : y.getAttribute("data-pc-section")) === "rowtogglericon")
28797
28803
  return;
28798
28804
  var S = (v = n.target) === null || v === void 0 ? void 0 : v.closest('tr[data-p-selectable-row="true"]');
28799
28805
  i.tabIndex = "-1", S.tabIndex = "0";
@@ -29067,11 +29073,11 @@ var Nv = {
29067
29073
  var p = r.columns[h];
29068
29074
  if (r.columnProp(p, "exportable") !== !1 && r.columnProp(p, "field")) {
29069
29075
  f ? i += r.csvSeparator : f = !0;
29070
- var y = D.resolveFieldData(d, r.columnProp(p, "field"));
29071
- y != null ? r.exportFunction ? y = r.exportFunction({
29072
- data: y,
29076
+ var g = D.resolveFieldData(d, r.columnProp(p, "field"));
29077
+ g != null ? r.exportFunction ? g = r.exportFunction({
29078
+ data: g,
29073
29079
  field: r.columnProp(p, "field")
29074
- }) : y = String(y).replace(/"/g, '""') : y = "", i += '"' + y + '"';
29080
+ }) : g = String(g).replace(/"/g, '""') : g = "", i += '"' + g + '"';
29075
29081
  }
29076
29082
  }
29077
29083
  });
@@ -29175,8 +29181,8 @@ var Nv = {
29175
29181
  if (r.preventDefault(), this.draggedColumnElement) {
29176
29182
  var o = M.index(this.draggedColumnElement), s = M.index(this.findParentHeader(r.target)), a = o !== s;
29177
29183
  if (a && (s - o === 1 && this.dropPosition === -1 || s - o === -1 && this.dropPosition === 1) && (a = !1), a) {
29178
- var l = function(g, v) {
29179
- return n.columnProp(g, "columnKey") || n.columnProp(v, "columnKey") ? n.columnProp(g, "columnKey") === n.columnProp(v, "columnKey") : n.columnProp(g, "field") === n.columnProp(v, "field");
29184
+ var l = function(y, v) {
29185
+ return n.columnProp(y, "columnKey") || n.columnProp(v, "columnKey") ? n.columnProp(y, "columnKey") === n.columnProp(v, "columnKey") : n.columnProp(y, "field") === n.columnProp(v, "field");
29180
29186
  }, u = this.columns.findIndex(function(m) {
29181
29187
  return l(m, n.draggedColumn);
29182
29188
  }), c = this.columns.findIndex(function(m) {
@@ -29185,12 +29191,12 @@ var Nv = {
29185
29191
  f.forEach(function(m) {
29186
29192
  return d.push(M.getOuterWidth(m));
29187
29193
  });
29188
- var h = d.find(function(m, g) {
29189
- return g === u;
29190
- }), p = d.filter(function(m, g) {
29191
- return g !== u;
29192
- }), y = [].concat(Ne(p.slice(0, c)), [h], Ne(p.slice(c)));
29193
- this.addColumnWidthStyles(y), c < u && this.dropPosition === 1 && c++, c > u && this.dropPosition === -1 && c--, D.reorderArray(this.columns, u, c), this.updateReorderableColumns(), this.$emit("column-reorder", {
29194
+ var h = d.find(function(m, y) {
29195
+ return y === u;
29196
+ }), p = d.filter(function(m, y) {
29197
+ return y !== u;
29198
+ }), g = [].concat(Ne(p.slice(0, c)), [h], Ne(p.slice(c)));
29199
+ this.addColumnWidthStyles(g), c < u && this.dropPosition === 1 && c++, c > u && this.dropPosition === -1 && c--, D.reorderArray(this.columns, u, c), this.updateReorderableColumns(), this.$emit("column-reorder", {
29194
29200
  originalEvent: r,
29195
29201
  dragIndex: u,
29196
29202
  dropIndex: c
@@ -30459,23 +30465,23 @@ const DL = "data:image/svg+xml,%3csvg%20width='118'%20height='99'%20viewBox='0%2
30459
30465
  // Merge any other filters passed in via prop.
30460
30466
  ...t.filters
30461
30467
  }), c = U(() => {
30462
- const g = [], v = {};
30468
+ const y = [], v = {};
30463
30469
  return t.columns.forEach((S) => {
30464
30470
  v[S.key] = "";
30465
30471
  }), [...Array(t.skeletonRows)].forEach(() => {
30466
- g.push(v);
30467
- }), g;
30472
+ y.push(v);
30473
+ }), y;
30468
30474
  }), d = () => {
30469
- var g, v;
30470
- i.value.scrollWidth > i.value.clientWidth ? (e.value = !0, (g = i.value) == null || g.classList.add("is-scrolled")) : (e.value = !1, (v = i.value) == null || v.classList.remove("is-scrolled")), m();
30471
- }, f = (g) => {
30472
- t.rowSelect(g);
30473
- }, h = (g) => {
30474
- t.rowUnselect(g);
30475
+ var y, v;
30476
+ i.value.scrollWidth > i.value.clientWidth ? (e.value = !0, (y = i.value) == null || y.classList.add("is-scrolled")) : (e.value = !1, (v = i.value) == null || v.classList.remove("is-scrolled")), m();
30477
+ }, f = (y) => {
30478
+ t.rowSelect(y);
30479
+ }, h = (y) => {
30480
+ t.rowUnselect(y);
30475
30481
  }, p = () => {
30476
30482
  var w, T;
30477
- const g = a.value.offsetTop - t.fixedTopOffset, v = document.querySelector('div[data-pc-section="header"]'), S = (w = i.value) == null ? void 0 : w.querySelector("thead");
30478
- if (n.value = !!t.fixedTopOffset && a.value && window.scrollY >= g, n.value) {
30483
+ const y = a.value.offsetTop - t.fixedTopOffset, v = document.querySelector('div[data-pc-section="header"]'), S = (w = i.value) == null ? void 0 : w.querySelector("thead");
30484
+ if (n.value = !!t.fixedTopOffset && a.value && window.scrollY >= y, n.value) {
30479
30485
  if (v.style.top = t.fixedTopOffset + "px", !e.value) {
30480
30486
  const C = t.fixedTopOffset + v.clientHeight + 1;
30481
30487
  S.style.top = C + "px";
@@ -30495,12 +30501,12 @@ const DL = "data:image/svg+xml,%3csvg%20width='118'%20height='99'%20viewBox='0%2
30495
30501
  });
30496
30502
  }
30497
30503
  m();
30498
- }, y = () => {
30504
+ }, g = () => {
30499
30505
  var v, S, w, T;
30500
- const g = (v = i.value) == null ? void 0 : v.cloneNode(!0);
30501
- if (g) {
30506
+ const y = (v = i.value) == null ? void 0 : v.cloneNode(!0);
30507
+ if (y) {
30502
30508
  const C = document.querySelector('div[data-pc-section="header"]');
30503
- C == null || C.append(g);
30509
+ C == null || C.append(y);
30504
30510
  const E = C == null ? void 0 : C.querySelector('div[data-pc-section="wrapper"]');
30505
30511
  (S = E == null ? void 0 : E.querySelector("tbody")) == null || S.remove(), E == null || E.addEventListener("scroll", () => {
30506
30512
  i.value.scrollLeft = E.scrollLeft;
@@ -30519,11 +30525,11 @@ const DL = "data:image/svg+xml,%3csvg%20width='118'%20height='99'%20viewBox='0%2
30519
30525
  });
30520
30526
  }
30521
30527
  }, m = () => {
30522
- const g = i.value.clientWidth + "px", v = document.querySelector('div[data-pc-section="header"]'), S = v.querySelector('div[data-pc-section="wrapper"] thead');
30523
- v.style.width = g, i.value.querySelector("thead").style.width = g, S && (S.style.width = g);
30528
+ const y = i.value.clientWidth + "px", v = document.querySelector('div[data-pc-section="header"]'), S = v.querySelector('div[data-pc-section="wrapper"] thead');
30529
+ v.style.width = y, i.value.querySelector("thead").style.width = y, S && (S.style.width = y);
30524
30530
  };
30525
30531
  return Je(() => {
30526
- i.value = document.querySelector('div[data-pc-section="wrapper"]'), d(), window.addEventListener("resize", d), window.addEventListener("scroll", p), y();
30532
+ i.value = document.querySelector('div[data-pc-section="wrapper"]'), d(), window.addEventListener("resize", d), window.addEventListener("scroll", p), g();
30527
30533
  }), vr(() => {
30528
30534
  window.removeEventListener("resize", d), window.removeEventListener("scroll", p);
30529
30535
  }), {
@@ -33870,8 +33876,8 @@ class Yt {
33870
33876
  let f = u ? e == l ? -1 : e == d ? 1 : n : n, h = l + i + (f < 0 ? 0 : c);
33871
33877
  if (r)
33872
33878
  return h;
33873
- let p = e == (n < 0 ? l : d) ? null : AN(a / 3, e - l), y = e == l ? t7 : e == d ? e7 : z0;
33874
- return (n < 0 ? e != l : e != d) && (y |= n7), new $c(h, y, p);
33879
+ let p = e == (n < 0 ? l : d) ? null : AN(a / 3, e - l), g = e == l ? t7 : e == d ? e7 : z0;
33880
+ return (n < 0 ? e != l : e != d) && (g |= n7), new $c(h, g, p);
33875
33881
  }
33876
33882
  i += c - u;
33877
33883
  }
@@ -34407,8 +34413,8 @@ function PN(t, e, n, r) {
34407
34413
  let d = l.marks;
34408
34414
  if (!r.isInSet(d) && c.type.allowsMarkType(r.type)) {
34409
34415
  let f = Math.max(u, e), h = Math.min(u + l.nodeSize, n), p = r.addToSet(d);
34410
- for (let y = 0; y < d.length; y++)
34411
- d[y].isInSet(p) || (s && s.to == f && s.mark.eq(d[y]) ? s.to = h : i.push(s = new Un(f, h, d[y])));
34416
+ for (let g = 0; g < d.length; g++)
34417
+ d[g].isInSet(p) || (s && s.to == f && s.mark.eq(d[g]) ? s.to = h : i.push(s = new Un(f, h, d[g])));
34412
34418
  a && a.to == f ? a.to = h : o.push(a = new Kr(f, h, r));
34413
34419
  }
34414
34420
  }), i.forEach((l) => t.step(l)), o.forEach((l) => t.step(l));
@@ -34480,11 +34486,11 @@ function as(t) {
34480
34486
  }
34481
34487
  function NN(t, e, n) {
34482
34488
  let { $from: r, $to: i, depth: o } = e, s = r.before(o + 1), a = i.after(o + 1), l = s, u = a, c = V.empty, d = 0;
34483
- for (let p = o, y = !1; p > n; p--)
34484
- y || r.index(p) > 0 ? (y = !0, c = V.from(r.node(p).copy(c)), d++) : l--;
34489
+ for (let p = o, g = !1; p > n; p--)
34490
+ g || r.index(p) > 0 ? (g = !0, c = V.from(r.node(p).copy(c)), d++) : l--;
34485
34491
  let f = V.empty, h = 0;
34486
- for (let p = o, y = !1; p > n; p--)
34487
- y || i.after(p + 1) < i.end(p) ? (y = !0, f = V.from(i.node(p).copy(f)), h++) : u++;
34492
+ for (let p = o, g = !1; p > n; p--)
34493
+ g || i.after(p + 1) < i.end(p) ? (g = !0, f = V.from(i.node(p).copy(f)), h++) : u++;
34488
34494
  t.step(new at(l, u, s, a, new G(c.append(f), d, h), c.size - d, !0));
34489
34495
  }
34490
34496
  function Cf(t, e, n = null, r = t) {
@@ -34561,8 +34567,8 @@ function Ro(t, e, n = 1, r) {
34561
34567
  return !1;
34562
34568
  let h = d.content.cutByIndex(f, d.childCount), p = r && r[c + 1];
34563
34569
  p && (h = h.replaceChild(0, p.type.create(p.attrs)));
34564
- let y = r && r[c] || d;
34565
- if (!d.canReplace(f + 1, d.childCount) || !y.type.validContent(h))
34570
+ let g = r && r[c] || d;
34571
+ if (!d.canReplace(f + 1, d.childCount) || !g.type.validContent(h))
34566
34572
  return !1;
34567
34573
  }
34568
34574
  let a = i.indexAfter(o), l = r && r[0];
@@ -34729,26 +34735,26 @@ class WN {
34729
34735
  for (; this.depth > n; )
34730
34736
  this.closeFrontierNode();
34731
34737
  if (o)
34732
- for (let y = 0; y < o.length; y++)
34733
- this.openFrontierNode(o[y]);
34738
+ for (let g = 0; g < o.length; g++)
34739
+ this.openFrontierNode(o[g]);
34734
34740
  let s = this.unplaced, a = r ? r.content : s.content, l = s.openStart - e, u = 0, c = [], { match: d, type: f } = this.frontier[n];
34735
34741
  if (i) {
34736
- for (let y = 0; y < i.childCount; y++)
34737
- c.push(i.child(y));
34742
+ for (let g = 0; g < i.childCount; g++)
34743
+ c.push(i.child(g));
34738
34744
  d = d.matchFragment(i);
34739
34745
  }
34740
34746
  let h = a.size + e - (s.content.size - s.openEnd);
34741
34747
  for (; u < a.childCount; ) {
34742
- let y = a.child(u), m = d.matchType(y.type);
34748
+ let g = a.child(u), m = d.matchType(g.type);
34743
34749
  if (!m)
34744
34750
  break;
34745
- u++, (u > 1 || l == 0 || y.content.size) && (d = m, c.push(s7(y.mark(f.allowedMarks(y.marks)), u == 1 ? l : 0, u == a.childCount ? h : -1)));
34751
+ u++, (u > 1 || l == 0 || g.content.size) && (d = m, c.push(s7(g.mark(f.allowedMarks(g.marks)), u == 1 ? l : 0, u == a.childCount ? h : -1)));
34746
34752
  }
34747
34753
  let p = u == a.childCount;
34748
34754
  p || (h = -1), this.placed = Cs(this.placed, n, V.from(c)), this.frontier[n].match = d, p && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
34749
- for (let y = 0, m = a; y < h; y++) {
34750
- let g = m.lastChild;
34751
- this.frontier.push({ type: g.type, match: g.contentMatchAt(g.childCount) }), m = g.content;
34755
+ for (let g = 0, m = a; g < h; g++) {
34756
+ let y = m.lastChild;
34757
+ this.frontier.push({ type: y.type, match: y.contentMatchAt(y.childCount) }), m = y.content;
34752
34758
  }
34753
34759
  this.unplaced = p ? e == 0 ? G.empty : new G(Ss(s.content, e - 1, 1), e - 1, h < 0 ? s.openEnd : e - 1) : new G(Ss(s.content, e, u), s.openStart, s.openEnd);
34754
34760
  }
@@ -34865,12 +34871,12 @@ function GN(t, e, n, r) {
34865
34871
  for (let f = r.openStart; f >= 0; f--) {
34866
34872
  let h = (f + c + 1) % (r.openStart + 1), p = u[h];
34867
34873
  if (p)
34868
- for (let y = 0; y < s.length; y++) {
34869
- let m = s[(y + l) % s.length], g = !0;
34870
- m < 0 && (g = !1, m = -m);
34874
+ for (let g = 0; g < s.length; g++) {
34875
+ let m = s[(g + l) % s.length], y = !0;
34876
+ m < 0 && (y = !1, m = -m);
34871
34877
  let v = i.node(m - 1), S = i.index(m - 1);
34872
34878
  if (v.canReplaceWith(S, S, p.type, p.marks))
34873
- return t.replace(i.before(m), g ? o.after(m) : n, new G(a7(r.content, 0, r.openStart, h), h, r.openEnd));
34879
+ return t.replace(i.before(m), y ? o.after(m) : n, new G(a7(r.content, 0, r.openStart, h), h, r.openEnd));
34874
34880
  }
34875
34881
  }
34876
34882
  let d = t.steps.length;
@@ -36144,8 +36150,8 @@ function dm(t, e, n) {
36144
36150
  else {
36145
36151
  let f = a.scrollLeft, h = a.scrollTop;
36146
36152
  d && (a.scrollTop += d), c && (a.scrollLeft += c);
36147
- let p = a.scrollLeft - f, y = a.scrollTop - h;
36148
- e = { left: e.left - p, top: e.top - y, right: e.right - p, bottom: e.bottom - y };
36153
+ let p = a.scrollLeft - f, g = a.scrollTop - h;
36154
+ e = { left: e.left - p, top: e.top - g, right: e.right - p, bottom: e.bottom - g };
36149
36155
  }
36150
36156
  if (l || /^(fixed|sticky)$/.test(getComputedStyle(s).position))
36151
36157
  break;
@@ -36208,12 +36214,12 @@ function m7(t, e) {
36208
36214
  let p = f[h];
36209
36215
  if (p.top <= s && p.bottom >= a) {
36210
36216
  s = Math.max(p.bottom, s), a = Math.min(p.top, a);
36211
- let y = p.left > e.left ? p.left - e.left : p.right < e.left ? e.left - p.right : 0;
36212
- if (y < r) {
36213
- n = c, r = y, i = y && n.nodeType == 3 ? {
36217
+ let g = p.left > e.left ? p.left - e.left : p.right < e.left ? e.left - p.right : 0;
36218
+ if (g < r) {
36219
+ n = c, r = g, i = g && n.nodeType == 3 ? {
36214
36220
  left: p.right < e.left ? p.right : p.left,
36215
36221
  top: e.top
36216
- } : e, c.nodeType == 1 && y && (o = d + (e.left >= (p.left + p.right) / 2 ? 1 : 0));
36222
+ } : e, c.nodeType == 1 && g && (o = d + (e.left >= (p.left + p.right) / 2 ? 1 : 0));
36217
36223
  continue;
36218
36224
  }
36219
36225
  } else
@@ -36426,7 +36432,7 @@ function S$(t, e, n) {
36426
36432
  return !w$.test(r.parent.textContent) || !a.modify ? n == "left" || n == "backward" ? o : s : v7(t, e, () => {
36427
36433
  let { focusNode: l, focusOffset: u, anchorNode: c, anchorOffset: d } = t.domSelectionRange(), f = a.caretBidiLevel;
36428
36434
  a.modify("move", n, "character");
36429
- let h = r.depth ? t.docView.domAfterPos(r.before()) : t.dom, { focusNode: p, focusOffset: y } = t.domSelectionRange(), m = p && !h.contains(p.nodeType == 1 ? p : p.parentNode) || l == p && u == y;
36435
+ let h = r.depth ? t.docView.domAfterPos(r.before()) : t.dom, { focusNode: p, focusOffset: g } = t.domSelectionRange(), m = p && !h.contains(p.nodeType == 1 ? p : p.parentNode) || l == p && u == g;
36430
36436
  try {
36431
36437
  a.collapse(c, d), l && (l != c || u != d) && a.extend && a.extend(l, u);
36432
36438
  } catch {
@@ -36686,10 +36692,10 @@ class e0 {
36686
36692
  setSelection(e, n, r, i = !1) {
36687
36693
  let o = Math.min(e, n), s = Math.max(e, n);
36688
36694
  for (let f = 0, h = 0; f < this.children.length; f++) {
36689
- let p = this.children[f], y = h + p.size;
36690
- if (o > h && s < y)
36695
+ let p = this.children[f], g = h + p.size;
36696
+ if (o > h && s < g)
36691
36697
  return p.setSelection(e - h - p.border, n - h - p.border, r, i);
36692
- h = y;
36698
+ h = g;
36693
36699
  }
36694
36700
  let a = this.domFromPos(e, e ? -1 : 1), l = n == e ? a : this.domFromPos(n, n ? -1 : 1), u = r.getSelection(), c = !1;
36695
36701
  if ((Rn || Rt) && e == n) {
@@ -36697,9 +36703,9 @@ class e0 {
36697
36703
  if (f.nodeType == 3) {
36698
36704
  if (c = !!(h && f.nodeValue[h - 1] == `
36699
36705
  `), c && h == f.nodeValue.length)
36700
- for (let p = f, y; p; p = p.parentNode) {
36701
- if (y = p.nextSibling) {
36702
- y.nodeName == "BR" && (a = l = { node: y.parentNode, offset: Pt(y) + 1 });
36706
+ for (let p = f, g; p; p = p.parentNode) {
36707
+ if (g = p.nextSibling) {
36708
+ g.nodeName == "BR" && (a = l = { node: g.parentNode, offset: Pt(g) + 1 });
36703
36709
  break;
36704
36710
  }
36705
36711
  let m = p.pmViewDesc;
@@ -37389,14 +37395,14 @@ function A$(t, e, n, r) {
37389
37395
  if (f.isText) {
37390
37396
  let m = p;
37391
37397
  s < i.length && i[s].from < m && (m = i[s].from);
37392
- for (let g = 0; g < a.length; g++)
37393
- a[g].to < m && (m = a[g].to);
37398
+ for (let y = 0; y < a.length; y++)
37399
+ a[y].to < m && (m = a[y].to);
37394
37400
  m < p && (l = f.cut(m - o), f = f.cut(0, m - o), p = m, h = -1);
37395
37401
  } else
37396
37402
  for (; s < i.length && i[s].to < p; )
37397
37403
  s++;
37398
- let y = f.isInline && !f.isLeaf ? a.filter((m) => !m.inline) : a.slice();
37399
- r(f, y, e.forChild(o, f), h), o = p;
37404
+ let g = f.isInline && !f.isLeaf ? a.filter((m) => !m.inline) : a.slice();
37405
+ r(f, g, e.forChild(o, f), h), o = p;
37400
37406
  }
37401
37407
  }
37402
37408
  function I$(t) {
@@ -37859,9 +37865,9 @@ function A7(t, e, n, r, i) {
37859
37865
  a = d;
37860
37866
  else {
37861
37867
  let f = i.marks(), { schema: h } = t.state, p = Wn.fromSchema(h);
37862
- s = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((y) => {
37868
+ s = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((g) => {
37863
37869
  let m = s.appendChild(document.createElement("p"));
37864
- y && m.appendChild(p.serializeNode(h.text(y, f)));
37870
+ g && m.appendChild(p.serializeNode(h.text(g, f)));
37865
37871
  });
37866
37872
  }
37867
37873
  } else
@@ -38376,7 +38382,7 @@ Nt.drop = (t, e) => {
38376
38382
  u.setSelection(new re(h));
38377
38383
  else {
38378
38384
  let p = u.mapping.map(l);
38379
- u.mapping.maps[u.mapping.maps.length - 1].forEach((y, m, g, v) => p = v), u.setSelection(Mf(t, h, u.doc.resolve(p)));
38385
+ u.mapping.maps[u.mapping.maps.length - 1].forEach((g, m, y, v) => p = v), u.setSelection(Mf(t, h, u.doc.resolve(p)));
38380
38386
  }
38381
38387
  t.focus(), t.dispatch(u.setMeta("uiEvent", "drop"));
38382
38388
  };
@@ -38774,14 +38780,14 @@ function hF(t, e, n, r, i, o, s) {
38774
38780
  let a = t.slice();
38775
38781
  for (let u = 0, c = o; u < n.maps.length; u++) {
38776
38782
  let d = 0;
38777
- n.maps[u].forEach((f, h, p, y) => {
38778
- let m = y - p - (h - f);
38779
- for (let g = 0; g < a.length; g += 3) {
38780
- let v = a[g + 1];
38783
+ n.maps[u].forEach((f, h, p, g) => {
38784
+ let m = g - p - (h - f);
38785
+ for (let y = 0; y < a.length; y += 3) {
38786
+ let v = a[y + 1];
38781
38787
  if (v < 0 || f > v + c - d)
38782
38788
  continue;
38783
- let S = a[g] + c - d;
38784
- h >= S ? a[g + 1] = f <= S ? -2 : -1 : f >= c && m && (a[g] += m, a[g + 1] += m);
38789
+ let S = a[y] + c - d;
38790
+ h >= S ? a[y + 1] = f <= S ? -2 : -1 : f >= c && m && (a[y] += m, a[y + 1] += m);
38785
38791
  }
38786
38792
  d += m;
38787
38793
  }), c = n.maps[u].map(c, -1);
@@ -38798,10 +38804,10 @@ function hF(t, e, n, r, i, o, s) {
38798
38804
  l = !0;
38799
38805
  continue;
38800
38806
  }
38801
- let f = n.map(t[u + 1] + o, -1), h = f - i, { index: p, offset: y } = r.content.findIndex(d), m = r.maybeChild(p);
38802
- if (m && y == d && y + m.nodeSize == h) {
38803
- let g = a[u + 2].mapInner(n, m, c + 1, t[u] + o + 1, s);
38804
- g != wt ? (a[u] = d, a[u + 1] = h, a[u + 2] = g) : (a[u + 1] = -2, l = !0);
38807
+ let f = n.map(t[u + 1] + o, -1), h = f - i, { index: p, offset: g } = r.content.findIndex(d), m = r.maybeChild(p);
38808
+ if (m && g == d && g + m.nodeSize == h) {
38809
+ let y = a[u + 2].mapInner(n, m, c + 1, t[u] + o + 1, s);
38810
+ y != wt ? (a[u] = d, a[u + 1] = h, a[u + 2] = y) : (a[u + 1] = -2, l = !0);
38805
38811
  } else
38806
38812
  l = !0;
38807
38813
  }
@@ -39082,15 +39088,15 @@ function SF(t, e, n) {
39082
39088
  let { node: r, fromOffset: i, toOffset: o, from: s, to: a } = t.docView.parseRange(e, n), l = t.domSelectionRange(), u, c = l.anchorNode;
39083
39089
  if (c && t.dom.contains(c.nodeType == 1 ? c : c.parentNode) && (u = [{ node: c, offset: l.anchorOffset }], k2(l) || u.push({ node: l.focusNode, offset: l.focusOffset })), kt && t.input.lastKeyCode === 8)
39084
39090
  for (let m = o; m > i; m--) {
39085
- let g = r.childNodes[m - 1], v = g.pmViewDesc;
39086
- if (g.nodeName == "BR" && !v) {
39091
+ let y = r.childNodes[m - 1], v = y.pmViewDesc;
39092
+ if (y.nodeName == "BR" && !v) {
39087
39093
  o = m;
39088
39094
  break;
39089
39095
  }
39090
39096
  if (!v || v.size)
39091
39097
  break;
39092
39098
  }
39093
- let d = t.state.doc, f = t.someProp("domParser") || Ho.fromSchema(t.state.schema), h = d.resolve(s), p = null, y = f.parse(r, {
39099
+ let d = t.state.doc, f = t.someProp("domParser") || Ho.fromSchema(t.state.schema), h = d.resolve(s), p = null, g = f.parse(r, {
39094
39100
  topNode: h.parent,
39095
39101
  topMatch: h.parent.contentMatchAt(h.index()),
39096
39102
  topOpen: !0,
@@ -39102,10 +39108,10 @@ function SF(t, e, n) {
39102
39108
  context: h
39103
39109
  });
39104
39110
  if (u && u[0].pos != null) {
39105
- let m = u[0].pos, g = u[1] && u[1].pos;
39106
- g == null && (g = m), p = { anchor: m + s, head: g + s };
39111
+ let m = u[0].pos, y = u[1] && u[1].pos;
39112
+ y == null && (y = m), p = { anchor: m + s, head: y + s };
39107
39113
  }
39108
- return { doc: y, sel: p, from: s, to: a };
39114
+ return { doc: g, sel: p, from: s, to: a };
39109
39115
  }
39110
39116
  function CF(t) {
39111
39117
  let e = t.pmViewDesc;
@@ -39161,31 +39167,31 @@ function OF(t, e, n, r, i) {
39161
39167
  u.sel = { anchor: u.sel.anchor + $, head: u.sel.anchor + $ };
39162
39168
  }
39163
39169
  t.input.domChangeCount++, t.state.selection.from < t.state.selection.to && p.start == p.endB && t.state.selection instanceof ue && (p.start > t.state.selection.from && p.start <= t.state.selection.from + 2 && t.state.selection.from >= u.from ? p.start = t.state.selection.from : p.endA < t.state.selection.to && p.endA >= t.state.selection.to - 2 && t.state.selection.to <= u.to && (p.endB += t.state.selection.to - p.endA, p.endA = t.state.selection.to)), Zt && Yr <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > u.from && u.doc.textBetween(p.start - u.from - 1, p.start - u.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
39164
- let y = u.doc.resolveNoCache(p.start - u.from), m = u.doc.resolveNoCache(p.endB - u.from), g = c.resolve(p.start), v = y.sameParent(m) && y.parent.inlineContent && g.end() >= p.endA, S;
39165
- if ((jo && t.input.lastIOSEnter > Date.now() - 225 && (!v || i.some(($) => $.nodeName == "DIV" || $.nodeName == "P")) || !v && y.pos < u.doc.content.size && !y.sameParent(m) && (S = pe.findFrom(u.doc.resolve(y.pos + 1), 1, !0)) && S.head == m.pos) && t.someProp("handleKeyDown", ($) => $(t, Ii(13, "Enter")))) {
39170
+ let g = u.doc.resolveNoCache(p.start - u.from), m = u.doc.resolveNoCache(p.endB - u.from), y = c.resolve(p.start), v = g.sameParent(m) && g.parent.inlineContent && y.end() >= p.endA, S;
39171
+ if ((jo && t.input.lastIOSEnter > Date.now() - 225 && (!v || i.some(($) => $.nodeName == "DIV" || $.nodeName == "P")) || !v && g.pos < u.doc.content.size && !g.sameParent(m) && (S = pe.findFrom(u.doc.resolve(g.pos + 1), 1, !0)) && S.head == m.pos) && t.someProp("handleKeyDown", ($) => $(t, Ii(13, "Enter")))) {
39166
39172
  t.input.lastIOSEnter = 0;
39167
39173
  return;
39168
39174
  }
39169
- if (t.state.selection.anchor > p.start && EF(c, p.start, p.endA, y, m) && t.someProp("handleKeyDown", ($) => $(t, Ii(8, "Backspace")))) {
39175
+ if (t.state.selection.anchor > p.start && EF(c, p.start, p.endA, g, m) && t.someProp("handleKeyDown", ($) => $(t, Ii(8, "Backspace")))) {
39170
39176
  xn && kt && t.domObserver.suppressSelectionUpdates();
39171
39177
  return;
39172
39178
  }
39173
- kt && xn && p.endB == p.start && (t.input.lastAndroidDelete = Date.now()), xn && !v && y.start() != m.start() && m.parentOffset == 0 && y.depth == m.depth && u.sel && u.sel.anchor == u.sel.head && u.sel.head == p.endA && (p.endB -= 2, m = u.doc.resolveNoCache(p.endB - u.from), setTimeout(() => {
39179
+ kt && xn && p.endB == p.start && (t.input.lastAndroidDelete = Date.now()), xn && !v && g.start() != m.start() && m.parentOffset == 0 && g.depth == m.depth && u.sel && u.sel.anchor == u.sel.head && u.sel.head == p.endA && (p.endB -= 2, m = u.doc.resolveNoCache(p.endB - u.from), setTimeout(() => {
39174
39180
  t.someProp("handleKeyDown", function($) {
39175
39181
  return $(t, Ii(13, "Enter"));
39176
39182
  });
39177
39183
  }, 20));
39178
39184
  let w = p.start, T = p.endA, C, E, A;
39179
39185
  if (v) {
39180
- if (y.pos == m.pos)
39181
- Zt && Yr <= 11 && y.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => hr(t), 20)), C = t.state.tr.delete(w, T), E = c.resolve(p.start).marksAcross(c.resolve(p.endA));
39186
+ if (g.pos == m.pos)
39187
+ Zt && Yr <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => hr(t), 20)), C = t.state.tr.delete(w, T), E = c.resolve(p.start).marksAcross(c.resolve(p.endA));
39182
39188
  else if (
39183
39189
  // Adding or removing a mark
39184
- p.endA == p.endB && (A = TF(y.parent.content.cut(y.parentOffset, m.parentOffset), g.parent.content.cut(g.parentOffset, p.endA - g.start())))
39190
+ p.endA == p.endB && (A = TF(g.parent.content.cut(g.parentOffset, m.parentOffset), y.parent.content.cut(y.parentOffset, p.endA - y.start())))
39185
39191
  )
39186
39192
  C = t.state.tr, A.type == "add" ? C.addMark(w, T, A.mark) : C.removeMark(w, T, A.mark);
39187
- else if (y.parent.child(y.index()).isText && y.index() == m.index() - (m.textOffset ? 0 : 1)) {
39188
- let $ = y.parent.textBetween(y.parentOffset, m.parentOffset);
39193
+ else if (g.parent.child(g.index()).isText && g.index() == m.index() - (m.textOffset ? 0 : 1)) {
39194
+ let $ = g.parent.textBetween(g.parentOffset, m.parentOffset);
39189
39195
  if (t.someProp("handleTextInput", (z) => z(t, w, T, $)))
39190
39196
  return;
39191
39197
  C = t.state.tr.insertText($, w, T);
@@ -40026,8 +40032,8 @@ function Y7(t, e, n) {
40026
40032
  if (a && (o = (s = r.contentMatchAt(r.childCount)).findWrapping(i.type)) && s.matchType(o[0] || i.type).validEnd) {
40027
40033
  if (n) {
40028
40034
  let d = e.pos + i.nodeSize, f = V.empty;
40029
- for (let y = o.length - 1; y >= 0; y--)
40030
- f = V.from(o[y].create(null, f));
40035
+ for (let g = o.length - 1; g >= 0; g--)
40036
+ f = V.from(o[g].create(null, f));
40031
40037
  f = V.from(r.copy(f));
40032
40038
  let h = t.tr.step(new at(e.pos - 1, d, e.pos, d, new G(f, 1, 0), o.length, !0)), p = d + 2 * o.length;
40033
40039
  ci(h.doc, p) && h.join(p), n(h.scrollIntoView());
@@ -40046,10 +40052,10 @@ function Y7(t, e, n) {
40046
40052
  p++;
40047
40053
  if (d.canReplace(d.childCount, d.childCount, h.content)) {
40048
40054
  if (n) {
40049
- let y = V.empty;
40050
- for (let g = f.length - 1; g >= 0; g--)
40051
- y = V.from(f[g].copy(y));
40052
- let m = t.tr.step(new at(e.pos - f.length, e.pos + i.nodeSize, e.pos + p, e.pos + i.nodeSize - p, new G(y, f.length, 0), 0, !0));
40055
+ let g = V.empty;
40056
+ for (let y = f.length - 1; y >= 0; y--)
40057
+ g = V.from(f[y].copy(g));
40058
+ let m = t.tr.step(new at(e.pos - f.length, e.pos + i.nodeSize, e.pos + p, e.pos + i.nodeSize - p, new G(g, f.length, 0), 0, !0));
40053
40059
  n(m.scrollIntoView());
40054
40060
  }
40055
40061
  return !0;
@@ -40152,7 +40158,7 @@ function sB(t, e, n, r) {
40152
40158
  }
40153
40159
  function aB(t, e, n) {
40154
40160
  let r = t.tr, i = n.parent;
40155
- for (let h = n.end, p = n.endIndex - 1, y = n.startIndex; p > y; p--)
40161
+ for (let h = n.end, p = n.endIndex - 1, g = n.startIndex; p > g; p--)
40156
40162
  h -= i.child(p).nodeSize, r.delete(h - 1, h + 1);
40157
40163
  let o = r.doc.resolve(n.start), s = o.nodeAfter;
40158
40164
  if (r.mapping.map(n.end) != n.start + o.nodeAfter.nodeSize)
@@ -40231,9 +40237,9 @@ class M2 {
40231
40237
  }
40232
40238
  createChain(e, n = !0) {
40233
40239
  const { rawCommands: r, editor: i, state: o } = this, { view: s } = i, a = [], l = !!e, u = e || o.tr, c = () => (!l && n && !u.getMeta("preventDispatch") && !this.hasCustomState && s.dispatch(u), a.every((f) => f === !0)), d = {
40234
- ...Object.fromEntries(Object.entries(r).map(([f, h]) => [f, (...y) => {
40235
- const m = this.buildProps(u, n), g = h(...y)(m);
40236
- return a.push(g), d;
40240
+ ...Object.fromEntries(Object.entries(r).map(([f, h]) => [f, (...g) => {
40241
+ const m = this.buildProps(u, n), y = h(...g)(m);
40242
+ return a.push(y), d;
40237
40243
  }])),
40238
40244
  run: c
40239
40245
  };
@@ -40420,15 +40426,15 @@ function jm(t) {
40420
40426
  function fB(t, e) {
40421
40427
  var n;
40422
40428
  const r = Q7(t), { nodeExtensions: i, markExtensions: o } = x2(t), s = (n = i.find((u) => Q(u, "topNode"))) === null || n === void 0 ? void 0 : n.name, a = Object.fromEntries(i.map((u) => {
40423
- const c = r.filter((g) => g.type === u.name), d = {
40429
+ const c = r.filter((y) => y.type === u.name), d = {
40424
40430
  name: u.name,
40425
40431
  options: u.options,
40426
40432
  storage: u.storage,
40427
40433
  editor: e
40428
- }, f = t.reduce((g, v) => {
40434
+ }, f = t.reduce((y, v) => {
40429
40435
  const S = Q(v, "extendNodeSchema", d);
40430
40436
  return {
40431
- ...g,
40437
+ ...y,
40432
40438
  ...S ? S(u) : {}
40433
40439
  };
40434
40440
  }, {}), h = jm({
@@ -40443,16 +40449,16 @@ function fB(t, e) {
40443
40449
  code: he(Q(u, "code", d)),
40444
40450
  defining: he(Q(u, "defining", d)),
40445
40451
  isolating: he(Q(u, "isolating", d)),
40446
- attrs: Object.fromEntries(c.map((g) => {
40452
+ attrs: Object.fromEntries(c.map((y) => {
40447
40453
  var v;
40448
- return [g.name, { default: (v = g == null ? void 0 : g.attribute) === null || v === void 0 ? void 0 : v.default }];
40454
+ return [y.name, { default: (v = y == null ? void 0 : y.attribute) === null || v === void 0 ? void 0 : v.default }];
40449
40455
  }))
40450
40456
  }), p = he(Q(u, "parseHTML", d));
40451
- p && (h.parseDOM = p.map((g) => zm(g, c)));
40452
- const y = Q(u, "renderHTML", d);
40453
- y && (h.toDOM = (g) => y({
40454
- node: g,
40455
- HTMLAttributes: Gc(g, c)
40457
+ p && (h.parseDOM = p.map((y) => zm(y, c)));
40458
+ const g = Q(u, "renderHTML", d);
40459
+ g && (h.toDOM = (y) => g({
40460
+ node: y,
40461
+ HTMLAttributes: Gc(y, c)
40456
40462
  }));
40457
40463
  const m = Q(u, "renderText", d);
40458
40464
  return m && (h.toText = m), [u.name, h];
@@ -40462,8 +40468,8 @@ function fB(t, e) {
40462
40468
  options: u.options,
40463
40469
  storage: u.storage,
40464
40470
  editor: e
40465
- }, f = t.reduce((m, g) => {
40466
- const v = Q(g, "extendMarkSchema", d);
40471
+ }, f = t.reduce((m, y) => {
40472
+ const v = Q(y, "extendMarkSchema", d);
40467
40473
  return {
40468
40474
  ...m,
40469
40475
  ...v ? v(u) : {}
@@ -40476,13 +40482,13 @@ function fB(t, e) {
40476
40482
  spanning: he(Q(u, "spanning", d)),
40477
40483
  code: he(Q(u, "code", d)),
40478
40484
  attrs: Object.fromEntries(c.map((m) => {
40479
- var g;
40480
- return [m.name, { default: (g = m == null ? void 0 : m.attribute) === null || g === void 0 ? void 0 : g.default }];
40485
+ var y;
40486
+ return [m.name, { default: (y = m == null ? void 0 : m.attribute) === null || y === void 0 ? void 0 : y.default }];
40481
40487
  }))
40482
40488
  }), p = he(Q(u, "parseHTML", d));
40483
40489
  p && (h.parseDOM = p.map((m) => zm(m, c)));
40484
- const y = Q(u, "renderHTML", d);
40485
- return y && (h.toDOM = (m) => y({
40490
+ const g = Q(u, "renderHTML", d);
40491
+ return g && (h.toDOM = (m) => g({
40486
40492
  mark: m,
40487
40493
  HTMLAttributes: Gc(m, c)
40488
40494
  })), [u.name, h];
@@ -40549,21 +40555,21 @@ function Eu(t) {
40549
40555
  const h = pB(d, f.find);
40550
40556
  if (!h)
40551
40557
  return;
40552
- const p = l.state.tr, y = E2({
40558
+ const p = l.state.tr, g = E2({
40553
40559
  state: l.state,
40554
40560
  transaction: p
40555
40561
  }), m = {
40556
40562
  from: r - (h[0].length - o.length),
40557
40563
  to: i
40558
- }, { commands: g, chain: v, can: S } = new M2({
40564
+ }, { commands: y, chain: v, can: S } = new M2({
40559
40565
  editor: n,
40560
- state: y
40566
+ state: g
40561
40567
  });
40562
40568
  f.handler({
40563
- state: y,
40569
+ state: g,
40564
40570
  range: m,
40565
40571
  match: h,
40566
- commands: g,
40572
+ commands: y,
40567
40573
  chain: v,
40568
40574
  can: S
40569
40575
  }) === null || !p.steps.length || (p.setMeta(a, {
@@ -40656,11 +40662,11 @@ function bB(t) {
40656
40662
  return n.doc.nodesBetween(r, i, (h, p) => {
40657
40663
  if (!h.isTextblock || h.type.spec.code)
40658
40664
  return;
40659
- const y = Math.max(r, p), m = Math.min(i, p + h.content.size), g = h.textBetween(y - p, m - p, void 0, "");
40660
- vB(g, o.find, s).forEach((S) => {
40665
+ const g = Math.max(r, p), m = Math.min(i, p + h.content.size), y = h.textBetween(g - p, m - p, void 0, "");
40666
+ vB(y, o.find, s).forEach((S) => {
40661
40667
  if (S.index === void 0)
40662
40668
  return;
40663
- const w = y + S.index + 1, T = w + S[0].length, C = {
40669
+ const w = g + S.index + 1, T = w + S[0].length, C = {
40664
40670
  from: n.tr.mapping.map(w),
40665
40671
  to: n.tr.mapping.map(T)
40666
40672
  }, E = o.handler({
@@ -40704,11 +40710,11 @@ function wB(t) {
40704
40710
  }
40705
40711
  },
40706
40712
  appendTransaction: (c, d, f) => {
40707
- const h = c[0], p = h.getMeta("uiEvent") === "paste" && !i, y = h.getMeta("uiEvent") === "drop" && !o;
40708
- if (!p && !y)
40713
+ const h = c[0], p = h.getMeta("uiEvent") === "paste" && !i, g = h.getMeta("uiEvent") === "drop" && !o;
40714
+ if (!p && !g)
40709
40715
  return;
40710
- const m = d.doc.content.findDiffStart(f.doc.content), g = d.doc.content.findDiffEnd(f.doc.content);
40711
- if (!gB(m) || !g || m === g.b)
40716
+ const m = d.doc.content.findDiffStart(f.doc.content), y = d.doc.content.findDiffEnd(f.doc.content);
40717
+ if (!gB(m) || !y || m === y.b)
40712
40718
  return;
40713
40719
  const v = f.tr, S = E2({
40714
40720
  state: f,
@@ -40718,7 +40724,7 @@ function wB(t) {
40718
40724
  editor: e,
40719
40725
  state: S,
40720
40726
  from: Math.max(m - 1, 0),
40721
- to: g.b - 1,
40727
+ to: y.b - 1,
40722
40728
  rule: u,
40723
40729
  pasteEvent: s,
40724
40730
  dropEvent: a
@@ -40808,8 +40814,8 @@ class Mo {
40808
40814
  }, l = [], u = Q(s, "addKeyboardShortcuts", a);
40809
40815
  let c = {};
40810
40816
  if (s.type === "mark" && s.config.exitable && (c.ArrowRight = () => tn.handleExit({ editor: e, mark: s })), u) {
40811
- const y = Object.fromEntries(Object.entries(u()).map(([m, g]) => [m, () => g({ editor: e })]));
40812
- c = { ...c, ...y };
40817
+ const g = Object.fromEntries(Object.entries(u()).map(([m, y]) => [m, () => y({ editor: e })]));
40818
+ c = { ...c, ...g };
40813
40819
  }
40814
40820
  const d = FF(c);
40815
40821
  l.push(d);
@@ -40819,8 +40825,8 @@ class Mo {
40819
40825
  Zm(s, e.options.enablePasteRules) && h && i.push(...h());
40820
40826
  const p = Q(s, "addProseMirrorPlugins", a);
40821
40827
  if (p) {
40822
- const y = p();
40823
- l.push(...y);
40828
+ const g = p();
40829
+ l.push(...g);
40824
40830
  }
40825
40831
  return l;
40826
40832
  }).flat();
@@ -40964,8 +40970,8 @@ const kB = Et.create({
40964
40970
  return;
40965
40971
  const p = as(h);
40966
40972
  if (a.type.isTextblock) {
40967
- const { defaultType: y } = d.parent.contentMatchAt(d.index());
40968
- e.setNodeMarkup(h.start, y);
40973
+ const { defaultType: g } = d.parent.contentMatchAt(d.index());
40974
+ e.setNodeMarkup(h.start, g);
40969
40975
  }
40970
40976
  (p || p === 0) && e.lift(h, p);
40971
40977
  });
@@ -41416,13 +41422,13 @@ function Yc(t, e, n = {}) {
41416
41422
  const a = [];
41417
41423
  if (i.forEach(({ $from: d, $to: f }) => {
41418
41424
  const h = d.pos, p = f.pos;
41419
- t.doc.nodesBetween(h, p, (y, m) => {
41420
- if (!y.isText && !y.marks.length)
41425
+ t.doc.nodesBetween(h, p, (g, m) => {
41426
+ if (!g.isText && !g.marks.length)
41421
41427
  return;
41422
- const g = Math.max(h, m), v = Math.min(p, m + y.nodeSize), S = v - g;
41423
- s += S, a.push(...y.marks.map((w) => ({
41428
+ const y = Math.max(h, m), v = Math.min(p, m + g.nodeSize), S = v - y;
41429
+ s += S, a.push(...g.marks.map((w) => ({
41424
41430
  mark: w,
41425
- from: g,
41431
+ from: y,
41426
41432
  to: v
41427
41433
  })));
41428
41434
  });
@@ -41457,7 +41463,7 @@ function EV(t) {
41457
41463
  return t instanceof re;
41458
41464
  }
41459
41465
  function s4(t, e, n) {
41460
- const i = t.state.doc.content.size, o = dr(e, 0, i), s = dr(n, 0, i), a = t.coordsAtPos(o), l = t.coordsAtPos(s, -1), u = Math.min(a.top, l.top), c = Math.max(a.bottom, l.bottom), d = Math.min(a.left, l.left), f = Math.max(a.right, l.right), h = f - d, p = c - u, g = {
41466
+ const i = t.state.doc.content.size, o = dr(e, 0, i), s = dr(n, 0, i), a = t.coordsAtPos(o), l = t.coordsAtPos(s, -1), u = Math.min(a.top, l.top), c = Math.max(a.bottom, l.bottom), d = Math.min(a.left, l.left), f = Math.max(a.right, l.right), h = f - d, p = c - u, y = {
41461
41467
  top: u,
41462
41468
  bottom: c,
41463
41469
  left: d,
@@ -41468,8 +41474,8 @@ function s4(t, e, n) {
41468
41474
  y: u
41469
41475
  };
41470
41476
  return {
41471
- ...g,
41472
- toJSON: () => g
41477
+ ...y,
41478
+ toJSON: () => y
41473
41479
  };
41474
41480
  }
41475
41481
  function MV(t, e, n) {
@@ -41487,7 +41493,7 @@ function MV(t, e, n) {
41487
41493
  if (u)
41488
41494
  return !1;
41489
41495
  if (c.isInline) {
41490
- const h = !f || f.type.allowsMarkType(n), p = !!n.isInSet(c.marks) || !c.marks.some((y) => y.type.excludes(n));
41496
+ const h = !f || f.type.allowsMarkType(n), p = !!n.isInSet(c.marks) || !c.marks.some((g) => g.type.excludes(n));
41491
41497
  u = h && p;
41492
41498
  }
41493
41499
  return !u;
@@ -41507,13 +41513,13 @@ const xV = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
41507
41513
  a.forEach((u) => {
41508
41514
  const c = u.$from.pos, d = u.$to.pos;
41509
41515
  r.doc.nodesBetween(c, d, (f, h) => {
41510
- const p = Math.max(h, c), y = Math.min(h + f.nodeSize, d);
41511
- f.marks.find((g) => g.type === l) ? f.marks.forEach((g) => {
41512
- l === g.type && n.addMark(p, y, l.create({
41513
- ...g.attrs,
41516
+ const p = Math.max(h, c), g = Math.min(h + f.nodeSize, d);
41517
+ f.marks.find((y) => y.type === l) ? f.marks.forEach((y) => {
41518
+ l === y.type && n.addMark(p, g, l.create({
41519
+ ...y.attrs,
41514
41520
  ...e
41515
41521
  }));
41516
- }) : n.addMark(p, y, l.create(e));
41522
+ }) : n.addMark(p, g, l.create(e));
41517
41523
  });
41518
41524
  });
41519
41525
  return MV(r, n, l);
@@ -41565,7 +41571,7 @@ const LV = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
41565
41571
  attrs: c
41566
41572
  }
41567
41573
  ] : void 0), p && (e.split(e.mapping.map(a.pos), 1, h), f && !d && !a.parentOffset && a.parent.type !== f)) {
41568
- const y = e.mapping.map(a.before()), m = e.doc.resolve(y);
41574
+ const g = e.mapping.map(a.before()), m = e.doc.resolve(g);
41569
41575
  a.node(-1).canReplaceWith(m.index(), m.index() + 1, f) && e.setNodeMarkup(e.mapping.map(a.before()), f);
41570
41576
  }
41571
41577
  t && Gm(n, i.extensionManager.splittableMarks), e.scrollIntoView();
@@ -41585,13 +41591,13 @@ const LV = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
41585
41591
  return !1;
41586
41592
  if (r) {
41587
41593
  let m = V.empty;
41588
- const g = a.index(-1) ? 1 : a.index(-2) ? 2 : 3;
41589
- for (let E = a.depth - g; E >= a.depth - 3; E -= 1)
41594
+ const y = a.index(-1) ? 1 : a.index(-2) ? 2 : 3;
41595
+ for (let E = a.depth - y; E >= a.depth - 3; E -= 1)
41590
41596
  m = V.from(a.node(E).copy(m));
41591
41597
  const v = a.indexAfter(-1) < a.node(-2).childCount ? 1 : a.indexAfter(-2) < a.node(-3).childCount ? 2 : 3, S = j0(d, a.node().type.name, a.node().attrs), w = ((o = s.contentMatch.defaultType) === null || o === void 0 ? void 0 : o.createAndFill(S)) || void 0;
41592
41598
  m = m.append(V.from(s.createAndFill(null, w) || void 0));
41593
- const T = a.before(a.depth - (g - 1));
41594
- e.replace(T, a.after(-v), new G(m, 4 - g, 0));
41599
+ const T = a.before(a.depth - (y - 1));
41600
+ e.replace(T, a.after(-v), new G(m, 4 - y, 0));
41595
41601
  let C = -1;
41596
41602
  e.doc.nodesBetween(T, e.doc.content.size, (E, A) => {
41597
41603
  if (C > -1)
@@ -41603,15 +41609,15 @@ const LV = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
41603
41609
  }
41604
41610
  const f = l.pos === a.end() ? c.contentMatchAt(0).defaultType : null, h = j0(d, c.type.name, c.attrs), p = j0(d, a.node().type.name, a.node().attrs);
41605
41611
  e.delete(a.pos, l.pos);
41606
- const y = f ? [
41612
+ const g = f ? [
41607
41613
  { type: s, attrs: h },
41608
41614
  { type: f, attrs: p }
41609
41615
  ] : [{ type: s, attrs: h }];
41610
41616
  if (!Ro(e.doc, a.pos, 2))
41611
41617
  return !1;
41612
41618
  if (r) {
41613
- const { selection: m, storedMarks: g } = n, { splittableMarks: v } = i.extensionManager, S = g || m.$to.parentOffset && m.$from.marks();
41614
- if (e.split(a.pos, 2, y).scrollIntoView(), !S || !r)
41619
+ const { selection: m, storedMarks: y } = n, { splittableMarks: v } = i.extensionManager, S = y || m.$to.parentOffset && m.$from.marks();
41620
+ if (e.split(a.pos, 2, g).scrollIntoView(), !S || !r)
41615
41621
  return !0;
41616
41622
  const w = S.filter((T) => v.includes(T.type.name));
41617
41623
  e.ensureMarks(w);
@@ -41636,10 +41642,10 @@ const LV = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
41636
41642
  const i = t.doc.nodeAt(r);
41637
41643
  return n.node.type === (i == null ? void 0 : i.type) && ci(t.doc, r) && t.join(r), !0;
41638
41644
  }, $V = (t, e, n, r = {}) => ({ editor: i, tr: o, state: s, dispatch: a, chain: l, commands: u, can: c }) => {
41639
- const { extensions: d, splittableMarks: f } = i.extensionManager, h = ut(t, s.schema), p = ut(e, s.schema), { selection: y, storedMarks: m } = s, { $from: g, $to: v } = y, S = g.blockRange(v), w = m || y.$to.parentOffset && y.$from.marks();
41645
+ const { extensions: d, splittableMarks: f } = i.extensionManager, h = ut(t, s.schema), p = ut(e, s.schema), { selection: g, storedMarks: m } = s, { $from: y, $to: v } = g, S = y.blockRange(v), w = m || g.$to.parentOffset && g.$from.marks();
41640
41646
  if (!S)
41641
41647
  return !1;
41642
- const T = Hf((C) => Km(C.type.name, d))(y);
41648
+ const T = Hf((C) => Km(C.type.name, d))(g);
41643
41649
  if (S.depth >= 1 && T && S.depth - T.depth <= 1) {
41644
41650
  if (T.node.type === h)
41645
41651
  return u.liftListItem(p);
@@ -41691,8 +41697,8 @@ const LV = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
41691
41697
  return !0;
41692
41698
  if (c && s) {
41693
41699
  let { from: f, to: h } = a;
41694
- const p = (o = u.marks().find((m) => m.type === l)) === null || o === void 0 ? void 0 : o.attrs, y = $f(u, l, p);
41695
- y && (f = y.from, h = y.to), n.removeMark(f, h, l);
41700
+ const p = (o = u.marks().find((m) => m.type === l)) === null || o === void 0 ? void 0 : o.attrs, g = $f(u, l, p);
41701
+ g && (f = g.from, h = g.to), n.removeMark(f, h, l);
41696
41702
  } else
41697
41703
  d.forEach((f) => {
41698
41704
  n.removeMark(f.$from.pos, f.$to.pos, l);
@@ -41709,8 +41715,8 @@ const LV = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
41709
41715
  ...e
41710
41716
  }), s && d.marks.length && d.marks.forEach((h) => {
41711
41717
  if (s === h.type) {
41712
- const p = Math.max(f, u), y = Math.min(f + d.nodeSize, c);
41713
- n.addMark(p, y, s.create({
41718
+ const p = Math.max(f, u), g = Math.min(f + d.nodeSize, c);
41719
+ n.addMark(p, g, s.create({
41714
41720
  ...h.attrs,
41715
41721
  ...e
41716
41722
  }));
@@ -41836,8 +41842,8 @@ const KV = Et.create({
41836
41842
  () => s.undoInputRule(),
41837
41843
  // maybe convert first text block node to default node
41838
41844
  () => s.command(({ tr: a }) => {
41839
- const { selection: l, doc: u } = a, { empty: c, $anchor: d } = l, { pos: f, parent: h } = d, p = d.parent.isTextblock ? a.doc.resolve(f - 1) : d, y = p.parent.type.spec.isolating, m = d.pos - d.parentOffset, g = y && p.parent.childCount === 1 ? m === d.pos : pe.atStart(u).from === f;
41840
- return !c || !g || !h.type.isTextblock || h.textContent.length ? !1 : s.clearNodes();
41845
+ const { selection: l, doc: u } = a, { empty: c, $anchor: d } = l, { pos: f, parent: h } = d, p = d.parent.isTextblock ? a.doc.resolve(f - 1) : d, g = p.parent.type.spec.isolating, m = d.pos - d.parentOffset, y = g && p.parent.childCount === 1 ? m === d.pos : pe.atStart(u).from === f;
41846
+ return !c || !y || !h.type.isTextblock || h.textContent.length ? !1 : s.clearNodes();
41841
41847
  }),
41842
41848
  () => s.deleteSelection(),
41843
41849
  () => s.joinBackward(),
@@ -42438,7 +42444,7 @@ function Wo(t) {
42438
42444
  const { tr: o } = e, s = r[r.length - 1], a = r[0];
42439
42445
  if (s) {
42440
42446
  const l = a.search(/\S/), u = n.from + a.indexOf(s), c = u + s.length;
42441
- if (_f(n.from, n.to, e.doc).filter((h) => h.mark.type.excluded.find((y) => y === t.type && y !== h.mark.type)).filter((h) => h.to > u).length)
42447
+ if (_f(n.from, n.to, e.doc).filter((h) => h.mark.type.excluded.find((g) => g === t.type && g !== h.mark.type)).filter((h) => h.to > u).length)
42442
42448
  return null;
42443
42449
  c < n.to && o.delete(c, n.to), u > n.from && o.delete(n.from + l, u);
42444
42450
  const f = n.from + l + s.length;
@@ -42487,8 +42493,8 @@ function Ia(t) {
42487
42493
  if (s.wrap(l, u), t.keepMarks && t.editor) {
42488
42494
  const { selection: d, storedMarks: f } = e, { splittableMarks: h } = t.editor.extensionManager, p = f || d.$to.parentOffset && d.$from.marks();
42489
42495
  if (p) {
42490
- const y = p.filter((m) => h.includes(m.type.name));
42491
- s.ensureMarks(y);
42496
+ const g = p.filter((m) => h.includes(m.type.name));
42497
+ s.ensureMarks(g);
42492
42498
  }
42493
42499
  }
42494
42500
  if (t.keepAttributes) {
@@ -42807,7 +42813,7 @@ var wH = function(e, n) {
42807
42813
  function SH(t) {
42808
42814
  var e, n = t.state, r = t.name, i = t.options, o = n.elements.arrow, s = n.modifiersData.popperOffsets, a = Gn(n.placement), l = Wf(a), u = [Ut, wn].indexOf(a) >= 0, c = u ? "height" : "width";
42809
42815
  if (!(!o || !s)) {
42810
- var d = wH(i.padding, n), f = Zf(o), h = l === "y" ? Wt : Ut, p = l === "y" ? bn : wn, y = n.rects.reference[c] + n.rects.reference[l] - s[l] - n.rects.popper[c], m = s[l] - n.rects.reference[l], g = r0(o), v = g ? l === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, S = y / 2 - m / 2, w = d[h], T = v - f[c] - d[p], C = v / 2 - f[c] / 2 + S, E = Ns(w, C, T), A = l;
42816
+ var d = wH(i.padding, n), f = Zf(o), h = l === "y" ? Wt : Ut, p = l === "y" ? bn : wn, g = n.rects.reference[c] + n.rects.reference[l] - s[l] - n.rects.popper[c], m = s[l] - n.rects.reference[l], y = r0(o), v = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, S = g / 2 - m / 2, w = d[h], T = v - f[c] - d[p], C = v / 2 - f[c] / 2 + S, E = Ns(w, C, T), A = l;
42811
42817
  n.modifiersData[r] = (e = {}, e[A] = E, e.centerOffset = E - C, e);
42812
42818
  }
42813
42819
  }
@@ -42841,15 +42847,15 @@ function TH(t, e) {
42841
42847
  };
42842
42848
  }
42843
42849
  function Jm(t) {
42844
- var e, n = t.popper, r = t.popperRect, i = t.placement, o = t.variation, s = t.offsets, a = t.position, l = t.gpuAcceleration, u = t.adaptive, c = t.roundOffsets, d = t.isFixed, f = s.x, h = f === void 0 ? 0 : f, p = s.y, y = p === void 0 ? 0 : p, m = typeof c == "function" ? c({
42850
+ var e, n = t.popper, r = t.popperRect, i = t.placement, o = t.variation, s = t.offsets, a = t.position, l = t.gpuAcceleration, u = t.adaptive, c = t.roundOffsets, d = t.isFixed, f = s.x, h = f === void 0 ? 0 : f, p = s.y, g = p === void 0 ? 0 : p, m = typeof c == "function" ? c({
42845
42851
  x: h,
42846
- y
42852
+ y: g
42847
42853
  }) : {
42848
42854
  x: h,
42849
- y
42855
+ y: g
42850
42856
  };
42851
- h = m.x, y = m.y;
42852
- var g = s.hasOwnProperty("x"), v = s.hasOwnProperty("y"), S = Ut, w = Wt, T = window;
42857
+ h = m.x, g = m.y;
42858
+ var y = s.hasOwnProperty("x"), v = s.hasOwnProperty("y"), S = Ut, w = Wt, T = window;
42853
42859
  if (u) {
42854
42860
  var C = r0(n), E = "clientHeight", A = "clientWidth";
42855
42861
  if (C === nn(n) && (C = hi(n), yr(C).position !== "static" && a === "absolute" && (E = "scrollHeight", A = "scrollWidth")), C = C, i === Wt || (i === Ut || i === wn) && o === Pa) {
@@ -42858,7 +42864,7 @@ function Jm(t) {
42858
42864
  // $FlowFixMe[prop-missing]
42859
42865
  C[E]
42860
42866
  );
42861
- y -= $ - r.height, y *= l ? 1 : -1;
42867
+ g -= $ - r.height, g *= l ? 1 : -1;
42862
42868
  }
42863
42869
  if (i === Ut || (i === Wt || i === bn) && o === Pa) {
42864
42870
  S = wn;
@@ -42873,16 +42879,16 @@ function Jm(t) {
42873
42879
  position: a
42874
42880
  }, u && OH), q = c === !0 ? TH({
42875
42881
  x: h,
42876
- y
42882
+ y: g
42877
42883
  }, nn(n)) : {
42878
42884
  x: h,
42879
- y
42885
+ y: g
42880
42886
  };
42881
- if (h = q.x, y = q.y, l) {
42887
+ if (h = q.x, g = q.y, l) {
42882
42888
  var te;
42883
- return Object.assign({}, j, (te = {}, te[w] = v ? "0" : "", te[S] = g ? "0" : "", te.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", te));
42889
+ return Object.assign({}, j, (te = {}, te[w] = v ? "0" : "", te[S] = y ? "0" : "", te.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", te));
42884
42890
  }
42885
- return Object.assign({}, j, (e = {}, e[w] = v ? y + "px" : "", e[S] = g ? h + "px" : "", e.transform = "", e));
42891
+ return Object.assign({}, j, (e = {}, e[w] = v ? g + "px" : "", e[S] = y ? h + "px" : "", e.transform = "", e));
42886
42892
  }
42887
42893
  function EH(t) {
42888
42894
  var e = t.state, n = t.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, o = n.adaptive, s = o === void 0 ? !0 : o, a = n.roundOffsets, l = a === void 0 ? !0 : a, u = {
@@ -43082,16 +43088,16 @@ function g4(t) {
43082
43088
  }
43083
43089
  function Da(t, e) {
43084
43090
  e === void 0 && (e = {});
43085
- var n = e, r = n.placement, i = r === void 0 ? t.placement : r, o = n.strategy, s = o === void 0 ? t.strategy : o, a = n.boundary, l = a === void 0 ? rH : a, u = n.rootBoundary, c = u === void 0 ? a4 : u, d = n.elementContext, f = d === void 0 ? vs : d, h = n.altBoundary, p = h === void 0 ? !1 : h, y = n.padding, m = y === void 0 ? 0 : y, g = h4(typeof m != "number" ? m : p4(m, n0)), v = f === vs ? iH : vs, S = t.rects.popper, w = t.elements[p ? v : f], T = $H(Xi(w) ? w : w.contextElement || hi(t.elements.popper), l, c, s), C = Go(t.elements.reference), E = g4({
43091
+ var n = e, r = n.placement, i = r === void 0 ? t.placement : r, o = n.strategy, s = o === void 0 ? t.strategy : o, a = n.boundary, l = a === void 0 ? rH : a, u = n.rootBoundary, c = u === void 0 ? a4 : u, d = n.elementContext, f = d === void 0 ? vs : d, h = n.altBoundary, p = h === void 0 ? !1 : h, g = n.padding, m = g === void 0 ? 0 : g, y = h4(typeof m != "number" ? m : p4(m, n0)), v = f === vs ? iH : vs, S = t.rects.popper, w = t.elements[p ? v : f], T = $H(Xi(w) ? w : w.contextElement || hi(t.elements.popper), l, c, s), C = Go(t.elements.reference), E = g4({
43086
43092
  reference: C,
43087
43093
  element: S,
43088
43094
  strategy: "absolute",
43089
43095
  placement: i
43090
43096
  }), A = ed(Object.assign({}, S, E)), $ = f === vs ? A : C, z = {
43091
- top: T.top - $.top + g.top,
43092
- bottom: $.bottom - T.bottom + g.bottom,
43093
- left: T.left - $.left + g.left,
43094
- right: $.right - T.right + g.right
43097
+ top: T.top - $.top + y.top,
43098
+ bottom: $.bottom - T.bottom + y.bottom,
43099
+ left: T.left - $.left + y.left,
43100
+ right: $.right - T.right + y.right
43095
43101
  }, j = t.modifiersData.offset;
43096
43102
  if (f === vs && j) {
43097
43103
  var q = j[i];
@@ -43110,16 +43116,16 @@ function FH(t, e) {
43110
43116
  return u.indexOf(p) >= 0;
43111
43117
  });
43112
43118
  f.length === 0 && (f = d);
43113
- var h = f.reduce(function(p, y) {
43114
- return p[y] = Da(t, {
43115
- placement: y,
43119
+ var h = f.reduce(function(p, g) {
43120
+ return p[g] = Da(t, {
43121
+ placement: g,
43116
43122
  boundary: i,
43117
43123
  rootBoundary: o,
43118
43124
  padding: s
43119
- })[Gn(y)], p;
43125
+ })[Gn(g)], p;
43120
43126
  }, {});
43121
- return Object.keys(h).sort(function(p, y) {
43122
- return h[p] - h[y];
43127
+ return Object.keys(h).sort(function(p, g) {
43128
+ return h[p] - h[g];
43123
43129
  });
43124
43130
  }
43125
43131
  function BH(t) {
@@ -43131,14 +43137,14 @@ function BH(t) {
43131
43137
  function VH(t) {
43132
43138
  var e = t.state, n = t.options, r = t.name;
43133
43139
  if (!e.modifiersData[r]._skip) {
43134
- for (var i = n.mainAxis, o = i === void 0 ? !0 : i, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, p = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, m = e.options.placement, g = Gn(m), v = g === m, S = l || (v || !p ? [Z0(m)] : BH(m)), w = [m].concat(S).reduce(function(Kt, Gt) {
43140
+ for (var i = n.mainAxis, o = i === void 0 ? !0 : i, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, p = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, m = e.options.placement, y = Gn(m), v = y === m, S = l || (v || !p ? [Z0(m)] : BH(m)), w = [m].concat(S).reduce(function(Kt, Gt) {
43135
43141
  return Kt.concat(Gn(Gt) === zf ? FH(e, {
43136
43142
  placement: Gt,
43137
43143
  boundary: c,
43138
43144
  rootBoundary: d,
43139
43145
  padding: u,
43140
43146
  flipVariations: p,
43141
- allowedAutoPlacements: y
43147
+ allowedAutoPlacements: g
43142
43148
  }) : Gt);
43143
43149
  }, []), T = e.rects.reference, C = e.rects.popper, E = /* @__PURE__ */ new Map(), A = !0, $ = w[0], z = 0; z < w.length; z++) {
43144
43150
  var j = w[z], q = Gn(j), te = qo(j) === Uo, me = [Wt, bn].indexOf(q) >= 0, Y = me ? "width" : "height", oe = Da(e, {
@@ -43271,14 +43277,14 @@ function GH(t) {
43271
43277
  return t === "x" ? "y" : "x";
43272
43278
  }
43273
43279
  function qH(t) {
43274
- var e = t.state, n = t.options, r = t.name, i = n.mainAxis, o = i === void 0 ? !0 : i, s = n.altAxis, a = s === void 0 ? !1 : s, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, h = f === void 0 ? !0 : f, p = n.tetherOffset, y = p === void 0 ? 0 : p, m = Da(e, {
43280
+ var e = t.state, n = t.options, r = t.name, i = n.mainAxis, o = i === void 0 ? !0 : i, s = n.altAxis, a = s === void 0 ? !1 : s, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, h = f === void 0 ? !0 : f, p = n.tetherOffset, g = p === void 0 ? 0 : p, m = Da(e, {
43275
43281
  boundary: l,
43276
43282
  rootBoundary: u,
43277
43283
  padding: d,
43278
43284
  altBoundary: c
43279
- }), g = Gn(e.placement), v = qo(e.placement), S = !v, w = Wf(g), T = GH(w), C = e.modifiersData.popperOffsets, E = e.rects.reference, A = e.rects.popper, $ = typeof y == "function" ? y(Object.assign({}, e.rects, {
43285
+ }), y = Gn(e.placement), v = qo(e.placement), S = !v, w = Wf(y), T = GH(w), C = e.modifiersData.popperOffsets, E = e.rects.reference, A = e.rects.popper, $ = typeof g == "function" ? g(Object.assign({}, e.rects, {
43280
43286
  placement: e.placement
43281
- })) : y, z = typeof $ == "number" ? {
43287
+ })) : g, z = typeof $ == "number" ? {
43282
43288
  mainAxis: $,
43283
43289
  altAxis: $
43284
43290
  } : Object.assign({
@@ -43297,7 +43303,7 @@ function qH(t) {
43297
43303
  C[w] = Tr, q[w] = Tr - ge;
43298
43304
  }
43299
43305
  if (a) {
43300
- var gi, oo = w === "x" ? Wt : Ut, so = w === "x" ? bn : wn, Tn = C[T], Nn = T === "y" ? "height" : "width", yi = Tn + m[oo], er = Tn - m[so], vi = [Wt, Ut].indexOf(g) !== -1, Re = (gi = j == null ? void 0 : j[T]) != null ? gi : 0, L = vi ? yi : Tn - E[Nn] - A[Nn] - Re + z.altAxis, H = vi ? Tn + E[Nn] + A[Nn] - Re - z.altAxis : er, ye = h && vi ? bH(L, Tn, H) : Ns(h ? L : yi, Tn, h ? H : er);
43306
+ var gi, oo = w === "x" ? Wt : Ut, so = w === "x" ? bn : wn, Tn = C[T], Nn = T === "y" ? "height" : "width", yi = Tn + m[oo], er = Tn - m[so], vi = [Wt, Ut].indexOf(y) !== -1, Re = (gi = j == null ? void 0 : j[T]) != null ? gi : 0, L = vi ? yi : Tn - E[Nn] - A[Nn] - Re + z.altAxis, H = vi ? Tn + E[Nn] + A[Nn] - Re - z.altAxis : er, ye = h && vi ? bH(L, Tn, H) : Ns(h ? L : yi, Tn, h ? H : er);
43301
43307
  C[T] = ye, q[T] = ye - Tn;
43302
43308
  }
43303
43309
  e.modifiersData[r] = q;
@@ -43419,9 +43425,9 @@ function o_(t) {
43419
43425
  styles: {}
43420
43426
  }, d = [], f = !1, h = {
43421
43427
  state: c,
43422
- setOptions: function(g) {
43423
- var v = typeof g == "function" ? g(c.options) : g;
43424
- y(), c.options = Object.assign({}, o, c.options, v), c.scrollParents = {
43428
+ setOptions: function(y) {
43429
+ var v = typeof y == "function" ? y(c.options) : y;
43430
+ g(), c.options = Object.assign({}, o, c.options, v), c.scrollParents = {
43425
43431
  reference: Xi(a) ? $s(a) : a.contextElement ? $s(a.contextElement) : [],
43426
43432
  popper: $s(l)
43427
43433
  };
@@ -43437,7 +43443,7 @@ function o_(t) {
43437
43443
  // prefer the async Popper#update method
43438
43444
  forceUpdate: function() {
43439
43445
  if (!f) {
43440
- var g = c.elements, v = g.reference, S = g.popper;
43446
+ var y = c.elements, v = y.reference, S = y.popper;
43441
43447
  if (rg(v, S)) {
43442
43448
  c.rects = {
43443
43449
  reference: e_(v, r0(S), c.options.strategy === "fixed"),
@@ -43469,7 +43475,7 @@ function o_(t) {
43469
43475
  });
43470
43476
  }),
43471
43477
  destroy: function() {
43472
- y(), f = !0;
43478
+ g(), f = !0;
43473
43479
  }
43474
43480
  };
43475
43481
  if (!rg(a, l))
@@ -43479,11 +43485,11 @@ function o_(t) {
43479
43485
  });
43480
43486
  function p() {
43481
43487
  c.orderedModifiers.forEach(function(m) {
43482
- var g = m.name, v = m.options, S = v === void 0 ? {} : v, w = m.effect;
43488
+ var y = m.name, v = m.options, S = v === void 0 ? {} : v, w = m.effect;
43483
43489
  if (typeof w == "function") {
43484
43490
  var T = w({
43485
43491
  state: c,
43486
- name: g,
43492
+ name: y,
43487
43493
  instance: h,
43488
43494
  options: S
43489
43495
  }), C = function() {
@@ -43492,7 +43498,7 @@ function o_(t) {
43492
43498
  }
43493
43499
  });
43494
43500
  }
43495
- function y() {
43501
+ function g() {
43496
43502
  d.forEach(function(m) {
43497
43503
  return m();
43498
43504
  }), d = [];
@@ -43606,8 +43612,8 @@ function w_(t, e) {
43606
43612
  var o = i.popperRect, s = i.popperState, a = i.props, l = a.interactiveBorder, u = p_(s.placement), c = s.modifiersData.offset;
43607
43613
  if (!c)
43608
43614
  return !0;
43609
- var d = u === "bottom" ? c.top.y : 0, f = u === "top" ? c.bottom.y : 0, h = u === "right" ? c.left.x : 0, p = u === "left" ? c.right.x : 0, y = o.top - r + d > l, m = r - o.bottom - f > l, g = o.left - n + h > l, v = n - o.right - p > l;
43610
- return y || m || g || v;
43615
+ var d = u === "bottom" ? c.top.y : 0, f = u === "top" ? c.bottom.y : 0, h = u === "right" ? c.left.x : 0, p = u === "left" ? c.right.x : 0, g = o.top - r + d > l, m = r - o.bottom - f > l, y = o.left - n + h > l, v = n - o.right - p > l;
43616
+ return g || m || y || v;
43611
43617
  });
43612
43618
  }
43613
43619
  function Du(t, e, n) {
@@ -43865,7 +43871,7 @@ function M4(t) {
43865
43871
  M4.$$tippy = !0;
43866
43872
  var L_ = 1, A0 = [], Ru = [];
43867
43873
  function N_(t, e) {
43868
- var n = dg(t, Object.assign({}, Jt, T4(sg(e)))), r, i, o, s = !1, a = !1, l = !1, u = !1, c, d, f, h = [], p = ig(ro, n.interactiveDebounce), y, m = L_++, g = null, v = h_(n.plugins), S = {
43874
+ var n = dg(t, Object.assign({}, Jt, T4(sg(e)))), r, i, o, s = !1, a = !1, l = !1, u = !1, c, d, f, h = [], p = ig(ro, n.interactiveDebounce), g, m = L_++, y = null, v = h_(n.plugins), S = {
43869
43875
  // Is the instance currently enabled?
43870
43876
  isEnabled: !0,
43871
43877
  // Is the tippy currently showing and not transitioning out?
@@ -43881,7 +43887,7 @@ function N_(t, e) {
43881
43887
  id: m,
43882
43888
  reference: t,
43883
43889
  popper: Fs(),
43884
- popperInstance: g,
43890
+ popperInstance: y,
43885
43891
  props: n,
43886
43892
  state: S,
43887
43893
  plugins: v,
@@ -43921,7 +43927,7 @@ function N_(t, e) {
43921
43927
  return !!((N = w.props.render) != null && N.$$tippy);
43922
43928
  }
43923
43929
  function te() {
43924
- return y || t;
43930
+ return g || t;
43925
43931
  }
43926
43932
  function me() {
43927
43933
  var N = te().parentNode;
@@ -44062,7 +44068,7 @@ function N_(t, e) {
44062
44068
  var J, se = !1;
44063
44069
  if (!(!w.state.isEnabled || gi(N) || a)) {
44064
44070
  var Me = ((J = c) == null ? void 0 : J.type) === "focus";
44065
- c = N, y = N.currentTarget, xt(), !w.state.isVisible && g_(N) && A0.forEach(function(we) {
44071
+ c = N, g = N.currentTarget, xt(), !w.state.isVisible && g_(N) && A0.forEach(function(we) {
44066
44072
  return we(N);
44067
44073
  }), N.type === "click" && (w.props.trigger.indexOf("mouseenter") < 0 || s) && w.props.hideOnClick !== !1 && w.state.isVisible ? se = !0 : yi(N), N.type === "click" && (s = !se), se && !Me && er(N);
44068
44074
  }
@@ -44313,8 +44319,8 @@ ls.setDefaultProps({
44313
44319
  class $_ {
44314
44320
  constructor({ editor: e, element: n, view: r, tippyOptions: i = {}, updateDelay: o = 250, shouldShow: s }) {
44315
44321
  this.preventHide = !1, this.shouldShow = ({ view: a, state: l, from: u, to: c }) => {
44316
- const { doc: d, selection: f } = l, { empty: h } = f, p = !d.textBetween(u, c).length && Ff(l.selection), y = this.element.contains(document.activeElement);
44317
- return !(!(a.hasFocus() || y) || h || p || !this.editor.isEditable);
44322
+ const { doc: d, selection: f } = l, { empty: h } = f, p = !d.textBetween(u, c).length && Ff(l.selection), g = this.element.contains(document.activeElement);
44323
+ return !(!(a.hasFocus() || g) || h || p || !this.editor.isEditable);
44318
44324
  }, this.mousedownHandler = () => {
44319
44325
  this.preventHide = !0;
44320
44326
  }, this.dragstartHandler = () => {
@@ -44337,8 +44343,8 @@ class $_ {
44337
44343
  }, this.updateDelay));
44338
44344
  }, this.updateHandler = (a, l, u, c) => {
44339
44345
  var d, f, h;
44340
- const { state: p, composing: y } = a, { selection: m } = p;
44341
- if (y || !l && !u)
44346
+ const { state: p, composing: g } = a, { selection: m } = p;
44347
+ if (g || !l && !u)
44342
44348
  return;
44343
44349
  this.createTooltip();
44344
44350
  const { ranges: v } = m, S = Math.min(...v.map((C) => C.$from.pos)), w = Math.max(...v.map((C) => C.$to.pos));
@@ -45697,8 +45703,8 @@ class An {
45697
45703
  s = Math.min(s, h);
45698
45704
  let p = o.maps[h];
45699
45705
  if (f.step) {
45700
- let y = e.steps[h].invert(e.docs[h]), m = f.selection && f.selection.map(o.slice(l + 1, h));
45701
- m && a++, r.push(new Vn(p, y, m));
45706
+ let g = e.steps[h].invert(e.docs[h]), m = f.selection && f.selection.map(o.slice(l + 1, h));
45707
+ m && a++, r.push(new Vn(p, g, m));
45702
45708
  } else
45703
45709
  r.push(new Vn(p));
45704
45710
  }, i);
@@ -46223,9 +46229,9 @@ const D4 = (t, e) => {
46223
46229
  }), Vz = Et.create({
46224
46230
  name: "starterKit",
46225
46231
  addExtensions() {
46226
- var t, e, n, r, i, o, s, a, l, u, c, d, f, h, p, y, m, g;
46232
+ var t, e, n, r, i, o, s, a, l, u, c, d, f, h, p, g, m, y;
46227
46233
  const v = [];
46228
- return this.options.blockquote !== !1 && v.push(z_.configure((t = this.options) === null || t === void 0 ? void 0 : t.blockquote)), this.options.bold !== !1 && v.push(K_.configure((e = this.options) === null || e === void 0 ? void 0 : e.bold)), this.options.bulletList !== !1 && v.push(q_.configure((n = this.options) === null || n === void 0 ? void 0 : n.bulletList)), this.options.code !== !1 && v.push(Q_.configure((r = this.options) === null || r === void 0 ? void 0 : r.code)), this.options.codeBlock !== !1 && v.push(tz.configure((i = this.options) === null || i === void 0 ? void 0 : i.codeBlock)), this.options.document !== !1 && v.push(nz.configure((o = this.options) === null || o === void 0 ? void 0 : o.document)), this.options.dropcursor !== !1 && v.push(oz.configure((s = this.options) === null || s === void 0 ? void 0 : s.dropcursor)), this.options.gapcursor !== !1 && v.push(hz.configure((a = this.options) === null || a === void 0 ? void 0 : a.gapcursor)), this.options.hardBreak !== !1 && v.push(pz.configure((l = this.options) === null || l === void 0 ? void 0 : l.hardBreak)), this.options.heading !== !1 && v.push(mz.configure((u = this.options) === null || u === void 0 ? void 0 : u.heading)), this.options.history !== !1 && v.push(Oz.configure((c = this.options) === null || c === void 0 ? void 0 : c.history)), this.options.horizontalRule !== !1 && v.push(Tz.configure((d = this.options) === null || d === void 0 ? void 0 : d.horizontalRule)), this.options.italic !== !1 && v.push(Iz.configure((f = this.options) === null || f === void 0 ? void 0 : f.italic)), this.options.listItem !== !1 && v.push(Pz.configure((h = this.options) === null || h === void 0 ? void 0 : h.listItem)), this.options.orderedList !== !1 && v.push(Rz.configure((p = this.options) === null || p === void 0 ? void 0 : p.orderedList)), this.options.paragraph !== !1 && v.push(Lz.configure((y = this.options) === null || y === void 0 ? void 0 : y.paragraph)), this.options.strike !== !1 && v.push(Fz.configure((m = this.options) === null || m === void 0 ? void 0 : m.strike)), this.options.text !== !1 && v.push(Bz.configure((g = this.options) === null || g === void 0 ? void 0 : g.text)), v;
46234
+ return this.options.blockquote !== !1 && v.push(z_.configure((t = this.options) === null || t === void 0 ? void 0 : t.blockquote)), this.options.bold !== !1 && v.push(K_.configure((e = this.options) === null || e === void 0 ? void 0 : e.bold)), this.options.bulletList !== !1 && v.push(q_.configure((n = this.options) === null || n === void 0 ? void 0 : n.bulletList)), this.options.code !== !1 && v.push(Q_.configure((r = this.options) === null || r === void 0 ? void 0 : r.code)), this.options.codeBlock !== !1 && v.push(tz.configure((i = this.options) === null || i === void 0 ? void 0 : i.codeBlock)), this.options.document !== !1 && v.push(nz.configure((o = this.options) === null || o === void 0 ? void 0 : o.document)), this.options.dropcursor !== !1 && v.push(oz.configure((s = this.options) === null || s === void 0 ? void 0 : s.dropcursor)), this.options.gapcursor !== !1 && v.push(hz.configure((a = this.options) === null || a === void 0 ? void 0 : a.gapcursor)), this.options.hardBreak !== !1 && v.push(pz.configure((l = this.options) === null || l === void 0 ? void 0 : l.hardBreak)), this.options.heading !== !1 && v.push(mz.configure((u = this.options) === null || u === void 0 ? void 0 : u.heading)), this.options.history !== !1 && v.push(Oz.configure((c = this.options) === null || c === void 0 ? void 0 : c.history)), this.options.horizontalRule !== !1 && v.push(Tz.configure((d = this.options) === null || d === void 0 ? void 0 : d.horizontalRule)), this.options.italic !== !1 && v.push(Iz.configure((f = this.options) === null || f === void 0 ? void 0 : f.italic)), this.options.listItem !== !1 && v.push(Pz.configure((h = this.options) === null || h === void 0 ? void 0 : h.listItem)), this.options.orderedList !== !1 && v.push(Rz.configure((p = this.options) === null || p === void 0 ? void 0 : p.orderedList)), this.options.paragraph !== !1 && v.push(Lz.configure((g = this.options) === null || g === void 0 ? void 0 : g.paragraph)), this.options.strike !== !1 && v.push(Fz.configure((m = this.options) === null || m === void 0 ? void 0 : m.strike)), this.options.text !== !1 && v.push(Bz.configure((y = this.options) === null || y === void 0 ? void 0 : y.text)), v;
46229
46235
  }
46230
46236
  }), Hz = tn.create({
46231
46237
  name: "underline",
@@ -46896,20 +46902,20 @@ function tj(t) {
46896
46902
  fe(h, e.domain, f);
46897
46903
  const p = un(Mg);
46898
46904
  fe(h, e.tld, p), fe(h, e.utld, p), W(c, Na, p);
46899
- const y = W(f, _n);
46900
- fe(y, e.domain, f), fe(p, e.domain, f), W(p, Hn, h), W(p, _n, y);
46905
+ const g = W(f, _n);
46906
+ fe(g, e.domain, f), fe(p, e.domain, f), W(p, Hn, h), W(p, _n, g);
46901
46907
  const m = W(p, zr);
46902
46908
  fe(m, e.numeric, Mg);
46903
- const g = W(a, _n), v = W(a, Hn);
46904
- fe(g, e.domain, a), fe(v, i, s), fe(v, e.domain, a);
46909
+ const y = W(a, _n), v = W(a, Hn);
46910
+ fe(y, e.domain, a), fe(v, i, s), fe(v, e.domain, a);
46905
46911
  const S = un(L0);
46906
- fe(v, e.tld, S), fe(v, e.utld, S), fe(S, e.domain, a), fe(S, i, s), W(S, Hn, v), W(S, _n, g), W(S, Br, c);
46912
+ fe(v, e.tld, S), fe(v, e.utld, S), fe(S, e.domain, a), fe(S, i, s), W(S, Hn, v), W(S, _n, y), W(S, Br, c);
46907
46913
  const w = W(S, zr), T = un(L0);
46908
46914
  fe(w, e.numeric, T);
46909
46915
  const C = un(L0), E = un();
46910
46916
  fe(C, n, C), fe(C, r, E), fe(E, n, C), fe(E, r, E), W(S, zn, C), W(T, zn, C);
46911
46917
  const A = W(l, zr), $ = W(u, zr), z = W($, zn), j = W(z, zn);
46912
- fe(l, e.domain, a), W(l, Hn, v), W(l, _n, g), fe(u, e.domain, a), W(u, Hn, v), W(u, _n, g), fe(A, e.domain, C), W(A, zn, C), fe(j, e.domain, C), fe(j, n, C), W(j, zn, C);
46918
+ fe(l, e.domain, a), W(l, Hn, v), W(l, _n, y), fe(u, e.domain, a), W(u, Hn, v), W(u, _n, y), fe(A, e.domain, C), W(A, zn, C), fe(j, e.domain, C), fe(j, n, C), W(j, zn, C);
46913
46919
  const q = [
46914
46920
  [Bs, Vs],
46915
46921
  // {}
@@ -47028,15 +47034,15 @@ function lj(t) {
47028
47034
  const h = f.split(" ").filter((m) => m !== "");
47029
47035
  if (h.length <= 0)
47030
47036
  return !1;
47031
- const p = h[h.length - 1], y = d.pos + f.lastIndexOf(p);
47037
+ const p = h[h.length - 1], g = d.pos + f.lastIndexOf(p);
47032
47038
  if (!p)
47033
47039
  return !1;
47034
47040
  i1(p).filter((m) => m.isLink).map((m) => ({
47035
47041
  ...m,
47036
- from: y + m.start + 1,
47037
- to: y + m.end + 1
47042
+ from: g + m.start + 1,
47043
+ to: g + m.end + 1
47038
47044
  })).filter((m) => r.schema.marks.code ? !r.doc.rangeHasMark(m.from, m.to, r.schema.marks.code) : !0).filter((m) => t.validate ? t.validate(m.value) : !0).forEach((m) => {
47039
- _f(m.from, m.to, r.doc).some((g) => g.mark.type === t.type) || s.addMark(m.from, m.to, t.type.create({
47045
+ _f(m.from, m.to, r.doc).some((y) => y.mark.type === t.type) || s.addMark(m.from, m.to, t.type.create({
47040
47046
  href: m.href
47041
47047
  }));
47042
47048
  });
@@ -47241,11 +47247,11 @@ const dj = tn.create({
47241
47247
  s.value = !s.value;
47242
47248
  }, p = () => {
47243
47249
  s.value = !1;
47244
- }, y = () => {
47250
+ }, g = () => {
47245
47251
  }, m = (S) => {
47246
47252
  v.value.chain().focus().insertContent(S).run(), i.value.$el.click();
47247
47253
  };
47248
- function g(S) {
47254
+ function y(S) {
47249
47255
  v.value.chain().focus().insertContent(S.i).run(), i.value.$el.click();
47250
47256
  }
47251
47257
  const v = _(
@@ -47315,9 +47321,9 @@ const dj = tn.create({
47315
47321
  selectColor: f,
47316
47322
  showColors: h,
47317
47323
  onClickOutColors: p,
47318
- attachFiles: y,
47324
+ attachFiles: g,
47319
47325
  appendEmoji: m,
47320
- onSelectEmoji: g
47326
+ onSelectEmoji: y
47321
47327
  };
47322
47328
  }
47323
47329
  }), hj = {