@quoreadmin/ui 0.22.24 → 0.22.25

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
@@ -1,4 +1,4 @@
1
- import { defineComponent as de, computed as U, resolveComponent as W, openBlock as v, createElementBlock as k, normalizeClass as B, renderSlot as $, normalizeProps as Xt, guardReactiveProps as Gn, createElementVNode as I, createCommentVNode as P, toDisplayString as Q, createVNode as A, Transition as gr, withCtx as re, ref as V, getCurrentInstance as ai, onMounted as Ke, onUnmounted as Xn, nextTick as Wn, unref as Sn, inject as er, cloneVNode as _4, h as Ot, Fragment as oe, provide as ni, watchEffect as rt, watch as Xe, getCurrentScope as z4, onScopeDispose as j4, useSlots as hd, reactive as to, onUpdated as Z4, createBlock as R, pushScopeId as pd, popScopeId as md, mergeProps as O, readonly as W4, resolveDirective as tr, renderList as Pe, withDirectives as st, Teleport as gd, toRef as U4, shallowRef as yd, isVNode as K4, Text as G4, createTextVNode as Qe, withModifiers as De, withKeys as Ht, toHandlerKey as q4, normalizeStyle as Lg, vShow as cs, resolveDynamicComponent as le, createSlots as zs, toHandlers as a0, onBeforeUnmount as Jo, markRaw as Y4, customRef as J4 } from "vue";
1
+ import { defineComponent as de, computed as U, resolveComponent as W, openBlock as v, createElementBlock as k, normalizeClass as B, renderSlot as $, normalizeProps as Lt, guardReactiveProps as gn, createElementVNode as I, createCommentVNode as P, toDisplayString as Q, createVNode as A, Transition as gr, withCtx as re, ref as V, getCurrentInstance as ai, onMounted as Ke, onUnmounted as Xn, nextTick as Un, unref as Cn, inject as er, cloneVNode as _4, h as Ot, Fragment as oe, provide as ni, watchEffect as rt, watch as Xe, getCurrentScope as z4, onScopeDispose as j4, useSlots as hd, reactive as to, onUpdated as Z4, createBlock as R, pushScopeId as pd, popScopeId as md, mergeProps as O, readonly as W4, resolveDirective as tr, renderList as Pe, withDirectives as st, Teleport as gd, toRef as U4, shallowRef as yd, isVNode as K4, Text as G4, createTextVNode as Qe, withModifiers as De, withKeys as _t, toHandlerKey as q4, normalizeStyle as Lg, vShow as cs, resolveDynamicComponent as le, createSlots as zs, toHandlers as a0, onBeforeUnmount as Jo, markRaw as Y4, customRef as J4 } from "vue";
2
2
  const Q4 = de({
3
3
  name: "QAccordion",
4
4
  props: {
@@ -89,7 +89,7 @@ function nb(t, e, n, r, i, o) {
89
89
  { "is-open": !!t.modelValue }
90
90
  ])
91
91
  }, [
92
- $(t.$slots, "toggle", Xt(Gn({ onToggle: t.onToggle })), () => [
92
+ $(t.$slots, "toggle", Lt(gn({ onToggle: t.onToggle })), () => [
93
93
  I("div", {
94
94
  class: B([
95
95
  "accordion-trigger",
@@ -405,24 +405,24 @@ function ju() {
405
405
  });
406
406
  return { shared: t, drag: e, pinch: n, wheel: r, move: i, scroll: o };
407
407
  }
408
- var mb = Object.defineProperty, gb = (t, e, n) => e in t ? mb(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Bt = (t, e, n) => (gb(t, typeof e != "symbol" ? e + "" : e, n), n);
408
+ var mb = Object.defineProperty, gb = (t, e, n) => e in t ? mb(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Vt = (t, e, n) => (gb(t, typeof e != "symbol" ? e + "" : e, n), n);
409
409
  class yb {
410
410
  constructor(e) {
411
- this.classes = e, Bt(this, "nativeRefs"), Bt(this, "config"), Bt(this, "handlers"), Bt(this, "state"), Bt(this, "timeouts"), Bt(this, "domListeners"), Bt(this, "windowListeners"), Bt(this, "pointerIds", /* @__PURE__ */ new Set()), Bt(this, "touchIds", /* @__PURE__ */ new Set()), Bt(this, "supportsTouchEvents", Ng()), Bt(this, "supportsGestureEvents", hb()), Bt(this, "bind", (...n) => {
411
+ this.classes = e, Vt(this, "nativeRefs"), Vt(this, "config"), Vt(this, "handlers"), Vt(this, "state"), Vt(this, "timeouts"), Vt(this, "domListeners"), Vt(this, "windowListeners"), Vt(this, "pointerIds", /* @__PURE__ */ new Set()), Vt(this, "touchIds", /* @__PURE__ */ new Set()), Vt(this, "supportsTouchEvents", Ng()), Vt(this, "supportsGestureEvents", hb()), Vt(this, "bind", (...n) => {
412
412
  const r = {};
413
413
  for (let i of this.classes)
414
414
  new i(this, n).addBindings(r);
415
415
  for (let i in this.nativeRefs)
416
- Bn(
416
+ Vn(
417
417
  r,
418
418
  i,
419
419
  (o) => this.nativeRefs[i]({ ...this.state.shared, event: o, args: n })
420
420
  );
421
421
  return this.config.domTarget ? kb(this, r) : Ob(this, r);
422
- }), Bt(this, "clean", () => {
423
- const { eventOptions: n, domTarget: r } = this.config, i = Sn(r);
422
+ }), Vt(this, "clean", () => {
423
+ const { eventOptions: n, domTarget: r } = this.config, i = Cn(r);
424
424
  i && Ha(i, Hg(this.domListeners), n), Object.values(this.timeouts).forEach(clearTimeout), wb(this);
425
- }), Bt(this, "reset", () => {
425
+ }), Vt(this, "reset", () => {
426
426
  this.state = ju();
427
427
  }), this.classes = e, this.state = ju(), this.timeouts = {}, this.domListeners = [], this.windowListeners = {};
428
428
  }
@@ -437,7 +437,7 @@ function wb(t) {
437
437
  const {
438
438
  config: { window: e, eventOptions: n },
439
439
  windowListeners: r
440
- } = t, i = Sn(e);
440
+ } = t, i = Cn(e);
441
441
  if (i) {
442
442
  for (let o in r) {
443
443
  const s = r[o];
@@ -447,15 +447,15 @@ function wb(t) {
447
447
  }
448
448
  }
449
449
  function Sb({ config: t, windowListeners: e }, n, r = t.eventOptions) {
450
- const i = Sn(t.window);
450
+ const i = Cn(t.window);
451
451
  i && (Ha(i, e[n], r), delete e[n]);
452
452
  }
453
453
  function Cb({ config: t, windowListeners: e }, n, r = [], i = t.eventOptions) {
454
- const o = Sn(t.window);
454
+ const o = Cn(t.window);
455
455
  o && (Ha(o, e[n], i), _g(o, e[n] = r, i));
456
456
  }
457
457
  function kb({ config: t, domListeners: e }, n) {
458
- const { eventOptions: r, domTarget: i } = t, o = Sn(i);
458
+ const { eventOptions: r, domTarget: i } = t, o = Cn(i);
459
459
  if (!o)
460
460
  throw new Error("domTarget must be defined");
461
461
  Ha(o, Hg(e), r);
@@ -476,7 +476,7 @@ function Ob({ config: t }, e) {
476
476
  function Hg(t = []) {
477
477
  return t.splice(0, t.length);
478
478
  }
479
- function Bn(t, e, n) {
479
+ function Vn(t, e, n) {
480
480
  t[e] || (t[e] = []), t[e].push(n);
481
481
  }
482
482
  function _g(t, e = [], n = {}) {
@@ -793,7 +793,7 @@ class Fb extends Rb {
793
793
  }), dt(this, "clean", () => {
794
794
  super.clean(), this.state._dragStarted = !1, this.releasePointerCapture(), Sb(this.controller, this.stateKey);
795
795
  }), dt(this, "onCancel", () => {
796
- this.state.canceled || (this.updateGestureState({ canceled: !0, _active: !1 }), this.updateSharedState({ buttons: 0 }), Wn(this.fireGestureHandler));
796
+ this.state.canceled || (this.updateGestureState({ canceled: !0, _active: !1 }), this.updateSharedState({ buttons: 0 }), Un(this.fireGestureHandler));
797
797
  }), dt(this, "onClick", (e) => {
798
798
  this.state._dragIsTap || e.stopPropagation();
799
799
  });
@@ -808,9 +808,9 @@ class Fb extends Rb {
808
808
  }), this.clearTimeout(), this.fireGestureHandler());
809
809
  }
810
810
  addBindings(e) {
811
- if (this.config.useTouch ? (Bn(e, "onTouchStart", this.onDragStart), Bn(e, "onTouchMove", this.onDragChange), Bn(e, "onTouchEnd", this.onDragEnd), Bn(e, "onTouchCancel", this.onDragEnd)) : (Bn(e, "onPointerDown", this.onDragStart), Bn(e, "onPointerMove", this.onDragChange), Bn(e, "onPointerUp", this.onDragEnd), Bn(e, "onPointerCancel", this.onDragEnd)), this.config.filterTaps) {
811
+ if (this.config.useTouch ? (Vn(e, "onTouchStart", this.onDragStart), Vn(e, "onTouchMove", this.onDragChange), Vn(e, "onTouchEnd", this.onDragEnd), Vn(e, "onTouchCancel", this.onDragEnd)) : (Vn(e, "onPointerDown", this.onDragStart), Vn(e, "onPointerMove", this.onDragChange), Vn(e, "onPointerUp", this.onDragEnd), Vn(e, "onPointerCancel", this.onDragEnd)), this.config.filterTaps) {
812
812
  const n = this.controller.config.eventOptions.capture ? "onClick" : "onClickCapture";
813
- Bn(e, n, this.onClick);
813
+ Vn(e, n, this.onClick);
814
814
  }
815
815
  }
816
816
  }
@@ -1336,8 +1336,8 @@ let Xg = Wg.RenderStrategy, y6 = de({ props: { as: { type: [Object, String], def
1336
1336
  j(q), y.value = !1;
1337
1337
  }, { immediate: !0 });
1338
1338
  }), ni(Sd, w), u6(U(() => js(m.value, { visible: ur.Open, hidden: ur.Closed }) | o.value)), () => {
1339
- let { appear: J, show: se, enter: q, enterFrom: ne, enterTo: fe, 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, ...E, ...S]) } : {} };
1340
- return Ug({ theirProps: Kt, ourProps: Cn, slot: {}, slots: r, attrs: n, features: Xg, visible: m.value === "visible", name: "TransitionChild" });
1339
+ let { appear: J, show: se, enter: q, enterFrom: ne, enterTo: fe, entered: be, leave: ct, leaveFrom: xt, leaveTo: vt, ...bt } = t, kn = { ref: c }, Gt = { ...bt, ...h.value && f.value && s6.isServer ? { class: B([n.class, bt.class, ...E, ...S]) } : {} };
1340
+ return Ug({ theirProps: Gt, ourProps: kn, slot: {}, slots: r, attrs: n, features: Xg, visible: m.value === "visible", name: "TransitionChild" });
1341
1341
  };
1342
1342
  } }), v6 = y6, e5 = de({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r }) {
1343
1343
  let i = Jg(), o = U(() => t.show === null && i !== null ? (i.value & ur.Open) === ur.Open : t.show);
@@ -1361,7 +1361,7 @@ function Cd(t) {
1361
1361
  return z4() ? (j4(t), !0) : !1;
1362
1362
  }
1363
1363
  function ri(t) {
1364
- return typeof t == "function" ? t() : Sn(t);
1364
+ return typeof t == "function" ? t() : Cn(t);
1365
1365
  }
1366
1366
  const t5 = typeof window < "u" && typeof document < "u";
1367
1367
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -1848,7 +1848,7 @@ const ec = {
1848
1848
  test: Md("#"),
1849
1849
  parse: Y6,
1850
1850
  transform: Ur.transform
1851
- }, _t = {
1851
+ }, zt = {
1852
1852
  test: (t) => Ur.test(t) || ec.test(t) || Li.test(t),
1853
1853
  parse: (t) => Ur.test(t) ? Ur.parse(t) : Li.test(t) ? Li.parse(t) : ec.parse(t),
1854
1854
  transform: (t) => za(t) ? t : t.hasOwnProperty("red") ? Ur.transform(t) : Li.transform(t)
@@ -1862,7 +1862,7 @@ function p5(t) {
1862
1862
  const e = [];
1863
1863
  let n = 0;
1864
1864
  const r = t.match(Xu);
1865
- r && (n = r.length, t = t.replace(Xu, f5), e.push(...r.map(_t.parse)));
1865
+ r && (n = r.length, t = t.replace(Xu, f5), e.push(...r.map(zt.parse)));
1866
1866
  const i = t.match(Us);
1867
1867
  return i && (t = t.replace(Us, h5), e.push(...i.map(ja.parse))), { values: e, numColors: n, tokenised: t };
1868
1868
  }
@@ -1874,7 +1874,7 @@ function g5(t) {
1874
1874
  return (o) => {
1875
1875
  let s = r;
1876
1876
  for (let a = 0; a < i; a++)
1877
- s = s.replace(a < n ? f5 : h5, a < n ? _t.transform(o[a]) : Ts(o[a]));
1877
+ s = s.replace(a < n ? f5 : h5, a < n ? zt.transform(o[a]) : Ts(o[a]));
1878
1878
  return s;
1879
1879
  };
1880
1880
  }
@@ -1934,7 +1934,7 @@ const r8 = (t, e, n) => {
1934
1934
  };
1935
1935
  }, o8 = (t) => typeof t == "number", s8 = (t, e) => (n) => e(t(n)), v5 = (...t) => t.reduce(s8);
1936
1936
  function b5(t, e) {
1937
- return o8(t) ? (n) => Td(t, e, n) : _t.test(t) ? y5(t, e) : S5(t, e);
1937
+ return o8(t) ? (n) => Td(t, e, n) : zt.test(t) ? y5(t, e) : S5(t, e);
1938
1938
  }
1939
1939
  const w5 = (t, e) => {
1940
1940
  const n = [...t], r = n.length, i = t.map((o, s) => b5(o, e[s]));
@@ -1968,7 +1968,7 @@ function u8(t) {
1968
1968
  if (typeof t == "number")
1969
1969
  return l8;
1970
1970
  if (typeof t == "string")
1971
- return _t.test(t) ? y5 : S5;
1971
+ return zt.test(t) ? y5 : S5;
1972
1972
  if (Array.isArray(t))
1973
1973
  return w5;
1974
1974
  if (typeof t == "object")
@@ -2227,7 +2227,7 @@ class Y8 {
2227
2227
  this.subscriptions.clear();
2228
2228
  }
2229
2229
  }
2230
- var J8 = Object.defineProperty, Q8 = (t, e, n) => e in t ? J8(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, $n = (t, e, n) => (Q8(t, typeof e != "symbol" ? e + "" : e, n), n);
2230
+ var J8 = Object.defineProperty, Q8 = (t, e, n) => e in t ? J8(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Fn = (t, e, n) => (Q8(t, typeof e != "symbol" ? e + "" : e, n), n);
2231
2231
  function I1(t) {
2232
2232
  return !isNaN(parseFloat(t));
2233
2233
  }
@@ -2237,11 +2237,11 @@ class X8 {
2237
2237
  * @param config - Optional configuration options
2238
2238
  */
2239
2239
  constructor(e) {
2240
- $n(this, "current"), $n(this, "prev"), $n(this, "timeDelta", 0), $n(this, "lastUpdated", 0), $n(this, "updateSubscribers", new Y8()), $n(this, "stopAnimation"), $n(this, "canTrackVelocity", !1), $n(this, "updateAndNotify", (n) => {
2240
+ Fn(this, "current"), Fn(this, "prev"), Fn(this, "timeDelta", 0), Fn(this, "lastUpdated", 0), Fn(this, "updateSubscribers", new Y8()), Fn(this, "stopAnimation"), Fn(this, "canTrackVelocity", !1), Fn(this, "updateAndNotify", (n) => {
2241
2241
  this.prev = this.current, this.current = n;
2242
2242
  const { delta: r, timestamp: i } = a5();
2243
2243
  this.lastUpdated !== i && (this.timeDelta = r, this.lastUpdated = i), Yu.postRender(this.scheduleVelocityCheck), this.updateSubscribers.notify(this.current);
2244
- }), $n(this, "scheduleVelocityCheck", () => Yu.postRender(this.velocityCheck)), $n(this, "velocityCheck", ({ timestamp: n }) => {
2244
+ }), Fn(this, "scheduleVelocityCheck", () => Yu.postRender(this.velocityCheck)), Fn(this, "velocityCheck", ({ timestamp: n }) => {
2245
2245
  this.canTrackVelocity || (this.canTrackVelocity = I1(this.current)), n !== this.lastUpdated && (this.prev = this.current);
2246
2246
  }), this.prev = this.current = e, this.canTrackVelocity = I1(this.current);
2247
2247
  }
@@ -2415,17 +2415,17 @@ const D1 = {
2415
2415
  transform: Math.round
2416
2416
  }, F5 = {
2417
2417
  // Color props
2418
- color: _t,
2419
- backgroundColor: _t,
2420
- outlineColor: _t,
2421
- fill: _t,
2422
- stroke: _t,
2418
+ color: zt,
2419
+ backgroundColor: zt,
2420
+ outlineColor: zt,
2421
+ fill: zt,
2422
+ stroke: zt,
2423
2423
  // Border props
2424
- borderColor: _t,
2425
- borderTopColor: _t,
2426
- borderRightColor: _t,
2427
- borderBottomColor: _t,
2428
- borderLeftColor: _t,
2424
+ borderColor: zt,
2425
+ borderTopColor: zt,
2426
+ borderRightColor: zt,
2427
+ borderBottomColor: zt,
2428
+ borderLeftColor: zt,
2429
2429
  borderWidth: he,
2430
2430
  borderTopWidth: he,
2431
2431
  borderRightWidth: he,
@@ -2595,7 +2595,7 @@ function Dd() {
2595
2595
  } };
2596
2596
  }
2597
2597
  function mw(t, e = {}, { motionValues: n, push: r, stop: i } = Dd()) {
2598
- const o = Sn(e), s = V(!1);
2598
+ const o = Cn(e), s = V(!1);
2599
2599
  Xe(
2600
2600
  n,
2601
2601
  (d) => {
@@ -2645,7 +2645,7 @@ function mw(t, e = {}, { motionValues: n, push: r, stop: i } = Dd()) {
2645
2645
  }
2646
2646
  const Rd = typeof window < "u", gw = () => Rd && window.onpointerdown === null, yw = () => Rd && window.ontouchstart === null, vw = () => Rd && window.onmousedown === null;
2647
2647
  function bw({ target: t, state: e, variants: n, apply: r }) {
2648
- const i = Sn(n), o = V(!1), s = V(!1), a = V(!1), l = U(() => {
2648
+ const i = Cn(n), o = V(!1), s = V(!1), a = V(!1), l = U(() => {
2649
2649
  let c = [];
2650
2650
  return i && (i.hovered && (c = [...c, ...Object.keys(i.hovered)]), i.tapped && (c = [...c, ...Object.keys(i.tapped)]), i.focused && (c = [...c, ...Object.keys(i.focused)])), c;
2651
2651
  }), u = U(() => {
@@ -2662,7 +2662,7 @@ function bw({ target: t, state: e, variants: n, apply: r }) {
2662
2662
  })), i.tapped && (vw() && (It(t, "mousedown", () => s.value = !0), It(t, "mouseup", () => s.value = !1)), gw() && (It(t, "pointerdown", () => s.value = !0), It(t, "pointerup", () => s.value = !1)), yw() && (It(t, "touchstart", () => s.value = !0), It(t, "touchend", () => s.value = !1))), i.focused && (It(t, "focus", () => a.value = !0), It(t, "blur", () => a.value = !1)), Xe(u, r);
2663
2663
  }
2664
2664
  function ww({ set: t, target: e, variants: n, variant: r }) {
2665
- const i = Sn(n);
2665
+ const i = Cn(n);
2666
2666
  Xe(
2667
2667
  () => e,
2668
2668
  () => {
@@ -2686,7 +2686,7 @@ function Sw({ state: t, apply: e }) {
2686
2686
  );
2687
2687
  }
2688
2688
  function Cw({ target: t, variants: e, variant: n }) {
2689
- const r = Sn(e);
2689
+ const r = Cn(e);
2690
2690
  r && (r.visible || r.visibleOnce) && P6(t, ([{ isIntersecting: i }]) => {
2691
2691
  r.visible ? i ? n.value = "visible" : n.value = "initial" : r.visibleOnce && (i && n.value !== "visibleOnce" ? n.value = "visibleOnce" : n.value || (n.value = "initial"));
2692
2692
  });
@@ -2898,7 +2898,7 @@ function $d(t, e) {
2898
2898
  };
2899
2899
  }
2900
2900
  function Nw(t = {}) {
2901
- const e = Sn(t), n = V();
2901
+ const e = Cn(t), n = V();
2902
2902
  return {
2903
2903
  state: U(() => {
2904
2904
  if (n.value)
@@ -3421,7 +3421,7 @@ const p9 = de({
3421
3421
  }, y = () => {
3422
3422
  f.value = !0;
3423
3423
  }, b = async (S = { clickOutside: !1 }) => {
3424
- if (f.value = !1, await Wn(), S.clickOutside) {
3424
+ if (f.value = !1, await Un(), S.clickOutside) {
3425
3425
  f.value = !1;
3426
3426
  return;
3427
3427
  }
@@ -3526,7 +3526,7 @@ function O9(t, e, n, r, i, o) {
3526
3526
  t.allowDrag ? (v(), k("div", y9, b9)) : P("", !0),
3527
3527
  I("div", w9, [
3528
3528
  I("div", S9, [
3529
- $(t.$slots, "backAction", Xt(Gn({ onClose: t.onClose })), () => [
3529
+ $(t.$slots, "backAction", Lt(gn({ onClose: t.onClose })), () => [
3530
3530
  t.showCloseButton ? (v(), R(s, {
3531
3531
  key: 0,
3532
3532
  icon: "close",
@@ -4960,7 +4960,7 @@ function fS(t, e) {
4960
4960
  }
4961
4961
  function hS(t) {
4962
4962
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
4963
- ai() ? Ke(t) : e ? t() : Wn(t);
4963
+ ai() ? Ke(t) : e ? t() : Un(t);
4964
4964
  }
4965
4965
  var pS = 0;
4966
4966
  function W5(t) {
@@ -6365,7 +6365,7 @@ function pC(t, e, n, r, i, o) {
6365
6365
  width: t.width,
6366
6366
  height: t.height
6367
6367
  }, [
6368
- I("use", Xt(Gn({ href: t.iconPath })), null, 16)
6368
+ I("use", Lt(gn({ href: t.iconPath })), null, 16)
6369
6369
  ], 10, hC))
6370
6370
  ], 2)) : P("", !0);
6371
6371
  }
@@ -6540,26 +6540,26 @@ class Q5 extends no {
6540
6540
  super(`Invalid unit ${e}`);
6541
6541
  }
6542
6542
  }
6543
- class zt extends no {
6543
+ class jt extends no {
6544
6544
  }
6545
6545
  class Ar extends no {
6546
6546
  constructor() {
6547
6547
  super("Zone is an abstract class");
6548
6548
  }
6549
6549
  }
6550
- const G = "numeric", Dn = "short", en = "long", J0 = {
6550
+ const G = "numeric", Rn = "short", en = "long", J0 = {
6551
6551
  year: G,
6552
6552
  month: G,
6553
6553
  day: G
6554
6554
  }, X5 = {
6555
6555
  year: G,
6556
- month: Dn,
6556
+ month: Rn,
6557
6557
  day: G
6558
6558
  }, kC = {
6559
6559
  year: G,
6560
- month: Dn,
6560
+ month: Rn,
6561
6561
  day: G,
6562
- weekday: Dn
6562
+ weekday: Rn
6563
6563
  }, e3 = {
6564
6564
  year: G,
6565
6565
  month: en,
@@ -6580,7 +6580,7 @@ const G = "numeric", Dn = "short", en = "long", J0 = {
6580
6580
  hour: G,
6581
6581
  minute: G,
6582
6582
  second: G,
6583
- timeZoneName: Dn
6583
+ timeZoneName: Rn
6584
6584
  }, o3 = {
6585
6585
  hour: G,
6586
6586
  minute: G,
@@ -6600,7 +6600,7 @@ const G = "numeric", Dn = "short", en = "long", J0 = {
6600
6600
  minute: G,
6601
6601
  second: G,
6602
6602
  hourCycle: "h23",
6603
- timeZoneName: Dn
6603
+ timeZoneName: Rn
6604
6604
  }, u3 = {
6605
6605
  hour: G,
6606
6606
  minute: G,
@@ -6622,22 +6622,22 @@ const G = "numeric", Dn = "short", en = "long", J0 = {
6622
6622
  second: G
6623
6623
  }, f3 = {
6624
6624
  year: G,
6625
- month: Dn,
6625
+ month: Rn,
6626
6626
  day: G,
6627
6627
  hour: G,
6628
6628
  minute: G
6629
6629
  }, h3 = {
6630
6630
  year: G,
6631
- month: Dn,
6631
+ month: Rn,
6632
6632
  day: G,
6633
6633
  hour: G,
6634
6634
  minute: G,
6635
6635
  second: G
6636
6636
  }, OC = {
6637
6637
  year: G,
6638
- month: Dn,
6638
+ month: Rn,
6639
6639
  day: G,
6640
- weekday: Dn,
6640
+ weekday: Rn,
6641
6641
  hour: G,
6642
6642
  minute: G
6643
6643
  }, p3 = {
@@ -6646,7 +6646,7 @@ const G = "numeric", Dn = "short", en = "long", J0 = {
6646
6646
  day: G,
6647
6647
  hour: G,
6648
6648
  minute: G,
6649
- timeZoneName: Dn
6649
+ timeZoneName: Rn
6650
6650
  }, m3 = {
6651
6651
  year: G,
6652
6652
  month: en,
@@ -6654,7 +6654,7 @@ const G = "numeric", Dn = "short", en = "long", J0 = {
6654
6654
  hour: G,
6655
6655
  minute: G,
6656
6656
  second: G,
6657
- timeZoneName: Dn
6657
+ timeZoneName: Rn
6658
6658
  }, g3 = {
6659
6659
  year: G,
6660
6660
  month: en,
@@ -7456,7 +7456,7 @@ class Ue {
7456
7456
  xe.resetCache(), yr.resetCache();
7457
7457
  }
7458
7458
  }
7459
- class In {
7459
+ class Pn {
7460
7460
  constructor(e, n) {
7461
7461
  this.reason = e, this.explanation = n;
7462
7462
  }
@@ -7466,7 +7466,7 @@ class In {
7466
7466
  }
7467
7467
  const v3 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], b3 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
7468
7468
  function hn(t, e) {
7469
- return new In(
7469
+ return new Pn(
7470
7470
  "unit out of range",
7471
7471
  `you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`
7472
7472
  );
@@ -7589,9 +7589,9 @@ function hc(t) {
7589
7589
  if (t == null)
7590
7590
  return null;
7591
7591
  if (typeof t != "object")
7592
- throw new zt("Week settings must be an object");
7592
+ throw new jt("Week settings must be an object");
7593
7593
  if (!pn(t.firstDay, 1, 7) || !pn(t.minimalDays, 1, 7) || !Array.isArray(t.weekend) || t.weekend.some((e) => !pn(e, 1, 7)))
7594
- throw new zt("Invalid week settings");
7594
+ throw new jt("Invalid week settings");
7595
7595
  return {
7596
7596
  firstDay: t.firstDay,
7597
7597
  minimalDays: t.minimalDays,
@@ -7681,7 +7681,7 @@ function l2(t, e) {
7681
7681
  function M3(t) {
7682
7682
  const e = Number(t);
7683
7683
  if (typeof t == "boolean" || t === "" || Number.isNaN(e))
7684
- throw new zt(`Invalid unit value ${t}`);
7684
+ throw new jt(`Invalid unit value ${t}`);
7685
7685
  return e;
7686
7686
  }
7687
7687
  function el(t, e) {
@@ -8426,7 +8426,7 @@ class Ce {
8426
8426
  */
8427
8427
  static fromObject(e, n = {}) {
8428
8428
  if (e == null || typeof e != "object")
8429
- throw new zt(
8429
+ throw new jt(
8430
8430
  `Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
8431
8431
  );
8432
8432
  return new Ce({
@@ -8453,7 +8453,7 @@ class Ce {
8453
8453
  return e;
8454
8454
  if (typeof e == "object")
8455
8455
  return Ce.fromObject(e);
8456
- throw new zt(
8456
+ throw new jt(
8457
8457
  `Unknown duration argument ${e} of type ${typeof e}`
8458
8458
  );
8459
8459
  }
@@ -8503,8 +8503,8 @@ class Ce {
8503
8503
  */
8504
8504
  static invalid(e, n = null) {
8505
8505
  if (!e)
8506
- throw new zt("need to specify a reason the Duration is invalid");
8507
- const r = e instanceof In ? e : new In(e, n);
8506
+ throw new jt("need to specify a reason the Duration is invalid");
8507
+ const r = e instanceof Pn ? e : new Pn(e, n);
8508
8508
  if (Ue.throwOnInvalid)
8509
8509
  throw new CC(r);
8510
8510
  return new Ce({ invalid: r });
@@ -8998,8 +8998,8 @@ class Ze {
8998
8998
  */
8999
8999
  static invalid(e, n = null) {
9000
9000
  if (!e)
9001
- throw new zt("need to specify a reason the Interval is invalid");
9002
- const r = e instanceof In ? e : new In(e, n);
9001
+ throw new jt("need to specify a reason the Interval is invalid");
9002
+ const r = e instanceof Pn ? e : new Pn(e, n);
9003
9003
  if (Ue.throwOnInvalid)
9004
9004
  throw new SC(r);
9005
9005
  return new Ze({ invalid: r });
@@ -9700,7 +9700,7 @@ function eO(t) {
9700
9700
  } else
9701
9701
  return e;
9702
9702
  }
9703
- function En({ numberingSystem: t }, e = "") {
9703
+ function Mn({ numberingSystem: t }, e = "") {
9704
9704
  return new RegExp(`${Ud[t || "latn"]}${e}`);
9705
9705
  }
9706
9706
  const tO = "missing Intl.DateTimeFormat.formatToParts support";
@@ -9714,7 +9714,7 @@ function rO(t) {
9714
9714
  function vh(t) {
9715
9715
  return t.replace(/\./g, "").replace(Z3, " ").toLowerCase();
9716
9716
  }
9717
- function Mn(t, e) {
9717
+ function xn(t, e) {
9718
9718
  return t === null ? null : {
9719
9719
  regex: RegExp(t.map(rO).join("|")),
9720
9720
  deser: ([n]) => t.findIndex((r) => vh(n) === vh(r)) + e
@@ -9730,14 +9730,14 @@ function iO(t) {
9730
9730
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
9731
9731
  }
9732
9732
  function oO(t, e) {
9733
- 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(iO(m.val)), deser: ([y]) => y, literal: !0 }), g = ((m) => {
9733
+ const n = Mn(e), r = Mn(e, "{2}"), i = Mn(e, "{3}"), o = Mn(e, "{4}"), s = Mn(e, "{6}"), a = Mn(e, "{1,2}"), l = Mn(e, "{1,3}"), u = Mn(e, "{1,6}"), c = Mn(e, "{1,9}"), d = Mn(e, "{2,4}"), f = Mn(e, "{4,6}"), h = (m) => ({ regex: RegExp(iO(m.val)), deser: ([y]) => y, literal: !0 }), g = ((m) => {
9734
9734
  if (t.literal)
9735
9735
  return h(m);
9736
9736
  switch (m.val) {
9737
9737
  case "G":
9738
- return Mn(e.eras("short"), 0);
9738
+ return xn(e.eras("short"), 0);
9739
9739
  case "GG":
9740
- return Mn(e.eras("long"), 0);
9740
+ return xn(e.eras("long"), 0);
9741
9741
  case "y":
9742
9742
  return Oe(u);
9743
9743
  case "yy":
@@ -9753,17 +9753,17 @@ function oO(t, e) {
9753
9753
  case "MM":
9754
9754
  return Oe(r);
9755
9755
  case "MMM":
9756
- return Mn(e.months("short", !0), 1);
9756
+ return xn(e.months("short", !0), 1);
9757
9757
  case "MMMM":
9758
- return Mn(e.months("long", !0), 1);
9758
+ return xn(e.months("long", !0), 1);
9759
9759
  case "L":
9760
9760
  return Oe(a);
9761
9761
  case "LL":
9762
9762
  return Oe(r);
9763
9763
  case "LLL":
9764
- return Mn(e.months("short", !1), 1);
9764
+ return xn(e.months("short", !1), 1);
9765
9765
  case "LLLL":
9766
- return Mn(e.months("long", !1), 1);
9766
+ return xn(e.months("long", !1), 1);
9767
9767
  case "d":
9768
9768
  return Oe(a);
9769
9769
  case "dd":
@@ -9803,7 +9803,7 @@ function oO(t, e) {
9803
9803
  case "uuu":
9804
9804
  return Oe(n);
9805
9805
  case "a":
9806
- return Mn(e.meridiems(), 0);
9806
+ return xn(e.meridiems(), 0);
9807
9807
  case "kkkk":
9808
9808
  return Oe(o);
9809
9809
  case "kk":
@@ -9816,13 +9816,13 @@ function oO(t, e) {
9816
9816
  case "c":
9817
9817
  return Oe(n);
9818
9818
  case "EEE":
9819
- return Mn(e.weekdays("short", !1), 1);
9819
+ return xn(e.weekdays("short", !1), 1);
9820
9820
  case "EEEE":
9821
- return Mn(e.weekdays("long", !1), 1);
9821
+ return xn(e.weekdays("long", !1), 1);
9822
9822
  case "ccc":
9823
- return Mn(e.weekdays("short", !0), 1);
9823
+ return xn(e.weekdays("short", !0), 1);
9824
9824
  case "cccc":
9825
- return Mn(e.weekdays("long", !0), 1);
9825
+ return xn(e.weekdays("long", !0), 1);
9826
9826
  case "Z":
9827
9827
  case "ZZ":
9828
9828
  return bh(new RegExp(`([+-]${a.source})(?::(${r.source}))?`), 2);
@@ -9996,7 +9996,7 @@ function K3(t, e) {
9996
9996
  }
9997
9997
  const tu = "Invalid DateTime", wh = 864e13;
9998
9998
  function y0(t) {
9999
- return new In("unsupported zone", `the zone "${t.name}" is not supported`);
9999
+ return new Pn("unsupported zone", `the zone "${t.name}" is not supported`);
10000
10000
  }
10001
10001
  function nu(t) {
10002
10002
  return t.weekData === null && (t.weekData = Q0(t.c)), t.weekData;
@@ -10075,7 +10075,7 @@ function hs(t, e, n, r, i, o) {
10075
10075
  return s ? u : u.setZone(a);
10076
10076
  } else
10077
10077
  return _e.invalid(
10078
- new In("unparsable", `the input "${i}" can't be parsed as ${r}`)
10078
+ new Pn("unparsable", `the input "${i}" can't be parsed as ${r}`)
10079
10079
  );
10080
10080
  }
10081
10081
  function b0(t, e, n = !0) {
@@ -10205,7 +10205,7 @@ let _e = class je {
10205
10205
  */
10206
10206
  constructor(e) {
10207
10207
  const n = e.zone || Ue.defaultZone;
10208
- let r = e.invalid || (Number.isNaN(e.ts) ? new In("invalid input") : null) || (n.isValid ? null : y0(n));
10208
+ let r = e.invalid || (Number.isNaN(e.ts) ? new Pn("invalid input") : null) || (n.isValid ? null : y0(n));
10209
10209
  this.ts = ue(e.ts) ? Ue.now() : e.ts;
10210
10210
  let i = null, o = null;
10211
10211
  if (!r)
@@ -10213,7 +10213,7 @@ let _e = class je {
10213
10213
  [i, o] = [e.old.c, e.old.o];
10214
10214
  else {
10215
10215
  const a = n.offset(this.ts);
10216
- i = v0(this.ts, a), r = Number.isNaN(i.year) ? new In("invalid input") : null, i = r ? null : i, o = r ? null : a;
10216
+ i = v0(this.ts, a), r = Number.isNaN(i.year) ? new Pn("invalid input") : null, i = r ? null : i, o = r ? null : a;
10217
10217
  }
10218
10218
  this._zone = n, this.loc = e.loc || xe.create(), this.invalid = r, this.weekData = null, this.localWeekData = null, this.c = i, this.o = o, this.isLuxonDateTime = !0;
10219
10219
  }
@@ -10316,7 +10316,7 @@ let _e = class je {
10316
10316
  zone: zr(n.zone, Ue.defaultZone),
10317
10317
  loc: xe.fromObject(n)
10318
10318
  });
10319
- throw new zt(
10319
+ throw new jt(
10320
10320
  `fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`
10321
10321
  );
10322
10322
  }
@@ -10337,7 +10337,7 @@ let _e = class je {
10337
10337
  zone: zr(n.zone, Ue.defaultZone),
10338
10338
  loc: xe.fromObject(n)
10339
10339
  });
10340
- throw new zt("fromSeconds requires a numerical input");
10340
+ throw new jt("fromSeconds requires a numerical input");
10341
10341
  }
10342
10342
  /**
10343
10343
  * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
@@ -10477,7 +10477,7 @@ let _e = class je {
10477
10477
  */
10478
10478
  static fromFormat(e, n, r = {}) {
10479
10479
  if (ue(e) || ue(n))
10480
- throw new zt("fromFormat requires an input string and a format");
10480
+ throw new jt("fromFormat requires an input string and a format");
10481
10481
  const { locale: i = null, numberingSystem: o = null } = r, s = xe.fromOpts({
10482
10482
  locale: i,
10483
10483
  numberingSystem: o,
@@ -10523,8 +10523,8 @@ let _e = class je {
10523
10523
  */
10524
10524
  static invalid(e, n = null) {
10525
10525
  if (!e)
10526
- throw new zt("need to specify a reason the DateTime is invalid");
10527
- const r = e instanceof In ? e : new In(e, n);
10526
+ throw new jt("need to specify a reason the DateTime is invalid");
10527
+ const r = e instanceof Pn ? e : new Pn(e, n);
10528
10528
  if (Ue.throwOnInvalid)
10529
10529
  throw new wC(r);
10530
10530
  return new je({ invalid: r });
@@ -11500,7 +11500,7 @@ let _e = class je {
11500
11500
  */
11501
11501
  static min(...e) {
11502
11502
  if (!e.every(je.isDateTime))
11503
- throw new zt("min requires all arguments be DateTimes");
11503
+ throw new jt("min requires all arguments be DateTimes");
11504
11504
  return ch(e, (n) => n.valueOf(), Math.min);
11505
11505
  }
11506
11506
  /**
@@ -11510,7 +11510,7 @@ let _e = class je {
11510
11510
  */
11511
11511
  static max(...e) {
11512
11512
  if (!e.every(je.isDateTime))
11513
- throw new zt("max requires all arguments be DateTimes");
11513
+ throw new jt("max requires all arguments be DateTimes");
11514
11514
  return ch(e, (n) => n.valueOf(), Math.max);
11515
11515
  }
11516
11516
  // MISC
@@ -11698,7 +11698,7 @@ function ps(t) {
11698
11698
  return _e.fromJSDate(t);
11699
11699
  if (t && typeof t == "object")
11700
11700
  return _e.fromObject(t);
11701
- throw new zt(
11701
+ throw new jt(
11702
11702
  `Unknown datetime argument: ${t}, of type ${typeof t}`
11703
11703
  );
11704
11704
  }
@@ -11889,7 +11889,7 @@ var Gd = {
11889
11889
  firstDayOfWeek: 0,
11890
11890
  firstWeekContainsDate: 1
11891
11891
  }, HO = /\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;
11892
- function qt(t) {
11892
+ function Yt(t) {
11893
11893
  for (var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2, n = "".concat(Math.abs(t)), r = t < 0 ? "-" : ""; n.length < e; )
11894
11894
  n = "0".concat(n);
11895
11895
  return r + n;
@@ -11899,7 +11899,7 @@ function Mh(t) {
11899
11899
  }
11900
11900
  function xh(t) {
11901
11901
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", n = t > 0 ? "-" : "+", r = Math.abs(t), i = Math.floor(r / 60), o = r % 60;
11902
- return n + qt(i, 2) + e + qt(o, 2);
11902
+ return n + Yt(i, 2) + e + Yt(o, 2);
11903
11903
  }
11904
11904
  var Ah = function(e, n, r) {
11905
11905
  var i = e < 12 ? "AM" : "PM";
@@ -11911,11 +11911,11 @@ var Ah = function(e, n, r) {
11911
11911
  },
11912
11912
  // Year: 00, 01, ..., 99
11913
11913
  YY: function(e) {
11914
- return qt(e.getFullYear(), 4).substr(2);
11914
+ return Yt(e.getFullYear(), 4).substr(2);
11915
11915
  },
11916
11916
  // Year: 1900, 1901, ..., 2099
11917
11917
  YYYY: function(e) {
11918
- return qt(e.getFullYear(), 4);
11918
+ return Yt(e.getFullYear(), 4);
11919
11919
  },
11920
11920
  // Month: 1, 2, ..., 12
11921
11921
  M: function(e) {
@@ -11923,7 +11923,7 @@ var Ah = function(e, n, r) {
11923
11923
  },
11924
11924
  // Month: 01, 02, ..., 12
11925
11925
  MM: function(e) {
11926
- return qt(e.getMonth() + 1, 2);
11926
+ return Yt(e.getMonth() + 1, 2);
11927
11927
  },
11928
11928
  MMM: function(e, n) {
11929
11929
  return n.monthsShort[e.getMonth()];
@@ -11937,7 +11937,7 @@ var Ah = function(e, n, r) {
11937
11937
  },
11938
11938
  // Day of month: 01, 02, ..., 31
11939
11939
  DD: function(e) {
11940
- return qt(e.getDate(), 2);
11940
+ return Yt(e.getDate(), 2);
11941
11941
  },
11942
11942
  // Hour: 0, 1, ... 23
11943
11943
  H: function(e) {
@@ -11945,7 +11945,7 @@ var Ah = function(e, n, r) {
11945
11945
  },
11946
11946
  // Hour: 00, 01, ..., 23
11947
11947
  HH: function(e) {
11948
- return qt(e.getHours(), 2);
11948
+ return Yt(e.getHours(), 2);
11949
11949
  },
11950
11950
  // Hour: 1, 2, ..., 12
11951
11951
  h: function(e) {
@@ -11955,7 +11955,7 @@ var Ah = function(e, n, r) {
11955
11955
  // Hour: 01, 02, ..., 12
11956
11956
  hh: function() {
11957
11957
  var e = Ps.h.apply(Ps, arguments);
11958
- return qt(e, 2);
11958
+ return Yt(e, 2);
11959
11959
  },
11960
11960
  // Minute: 0, 1, ..., 59
11961
11961
  m: function(e) {
@@ -11963,7 +11963,7 @@ var Ah = function(e, n, r) {
11963
11963
  },
11964
11964
  // Minute: 00, 01, ..., 59
11965
11965
  mm: function(e) {
11966
- return qt(e.getMinutes(), 2);
11966
+ return Yt(e.getMinutes(), 2);
11967
11967
  },
11968
11968
  // Second: 0, 1, ..., 59
11969
11969
  s: function(e) {
@@ -11971,7 +11971,7 @@ var Ah = function(e, n, r) {
11971
11971
  },
11972
11972
  // Second: 00, 01, ..., 59
11973
11973
  ss: function(e) {
11974
- return qt(e.getSeconds(), 2);
11974
+ return Yt(e.getSeconds(), 2);
11975
11975
  },
11976
11976
  // 1/10 of second: 0, 1, ..., 9
11977
11977
  S: function(e) {
@@ -11979,11 +11979,11 @@ var Ah = function(e, n, r) {
11979
11979
  },
11980
11980
  // 1/100 of second: 00, 01, ..., 99
11981
11981
  SS: function(e) {
11982
- return qt(Math.floor(e.getMilliseconds() / 10), 2);
11982
+ return Yt(Math.floor(e.getMilliseconds() / 10), 2);
11983
11983
  },
11984
11984
  // Millisecond: 000, 001, ..., 999
11985
11985
  SSS: function(e) {
11986
- return qt(e.getMilliseconds(), 3);
11986
+ return Yt(e.getMilliseconds(), 3);
11987
11987
  },
11988
11988
  // Day of week: 0, 1, ..., 6
11989
11989
  d: function(e) {
@@ -12034,7 +12034,7 @@ var Ah = function(e, n, r) {
12034
12034
  });
12035
12035
  },
12036
12036
  ww: function(e, n) {
12037
- return qt(Ps.w(e, n), 2);
12037
+ return Yt(Ps.w(e, n), 2);
12038
12038
  }
12039
12039
  };
12040
12040
  function qd(t, e) {
@@ -12281,7 +12281,7 @@ var cT = Object.defineProperty, dT = Object.defineProperties, fT = Object.getOwn
12281
12281
  for (var n of tl(e))
12282
12282
  ly.call(e, n) && Dh(t, n, e[n]);
12283
12283
  return t;
12284
- }, vn = (t, e) => dT(t, fT(e)), hT = (t, e) => {
12284
+ }, bn = (t, e) => dT(t, fT(e)), hT = (t, e) => {
12285
12285
  var n = {};
12286
12286
  for (var r in t)
12287
12287
  ay.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
@@ -12336,7 +12336,7 @@ function cy(t, e) {
12336
12336
  return Kr(e) && Object.keys(e).forEach((r) => {
12337
12337
  let i = e[r];
12338
12338
  const o = t[r];
12339
- Kr(i) && Kr(o) && (i = cy(o, i)), n = vn(it({}, n), { [r]: i });
12339
+ Kr(i) && Kr(o) && (i = cy(o, i)), n = bn(it({}, n), { [r]: i });
12340
12340
  }), n;
12341
12341
  }
12342
12342
  function ou(t) {
@@ -12358,7 +12358,7 @@ function gT(t) {
12358
12358
  function yT(t) {
12359
12359
  ni(fy, t);
12360
12360
  }
12361
- function Ft() {
12361
+ function Bt() {
12362
12362
  return er(fy, "mx");
12363
12363
  }
12364
12364
  function vT(t) {
@@ -12430,7 +12430,7 @@ function TT(t, {
12430
12430
  }) {
12431
12431
  const n = kr(t, {
12432
12432
  appendToBody: !0
12433
- }), r = Ft(), i = V(null), o = V({
12433
+ }), r = Bt(), i = V(null), o = V({
12434
12434
  left: "",
12435
12435
  top: ""
12436
12436
  }), s = () => {
@@ -12604,7 +12604,7 @@ function WT(t, {
12604
12604
  clearable: !0,
12605
12605
  range: !1,
12606
12606
  multiple: !1
12607
- }), r = Ft(), i = V(null), o = U(() => n.separator || (n.range ? " ~ " : ",")), s = (h) => n.range ? Fi(h) : n.multiple ? _T(h) : vr(h), a = (h) => Array.isArray(h) ? h.some((p) => n.disabledDate(p)) : n.disabledDate(h), l = U(() => i.value !== null ? i.value : typeof n.renderInputText == "function" ? n.renderInputText(n.value) : s(n.value) ? Array.isArray(n.value) ? n.value.map((h) => n.formatDate(h)).join(o.value) : n.formatDate(n.value) : ""), u = (h) => {
12607
+ }), r = Bt(), i = V(null), o = U(() => n.separator || (n.range ? " ~ " : ",")), s = (h) => n.range ? Fi(h) : n.multiple ? _T(h) : vr(h), a = (h) => Array.isArray(h) ? h.some((p) => n.disabledDate(p)) : n.disabledDate(h), l = U(() => i.value !== null ? i.value : typeof n.renderInputText == "function" ? n.renderInputText(n.value) : s(n.value) ? Array.isArray(n.value) ? n.value.map((h) => n.formatDate(h)).join(o.value) : n.formatDate(n.value) : ""), u = (h) => {
12608
12608
  var p;
12609
12609
  h && h.stopPropagation(), n.onChange(n.range ? [null, null] : null), (p = n.onClear) == null || p.call(n);
12610
12610
  }, c = () => {
@@ -12633,7 +12633,7 @@ function WT(t, {
12633
12633
  };
12634
12634
  return () => {
12635
12635
  var h, p, g;
12636
- const m = !n.disabled && n.clearable && l.value, y = vn(it({
12636
+ const m = !n.disabled && n.clearable && l.value, y = bn(it({
12637
12637
  name: "date",
12638
12638
  type: "text",
12639
12639
  autocomplete: "off",
@@ -12781,7 +12781,7 @@ function GT(t, {
12781
12781
  [`${M}-datepicker-range`]: z,
12782
12782
  disabled: F
12783
12783
  }
12784
- }, [A(KT, vn(it({}, pr(r, tf)), {
12784
+ }, [A(KT, bn(it({}, pr(r, tf)), {
12785
12785
  value: g.value,
12786
12786
  formatDate: d,
12787
12787
  parseDate: f,
@@ -12812,8 +12812,8 @@ function S0(t) {
12812
12812
  } = e, r = hT(e, [
12813
12813
  "value"
12814
12814
  ]);
12815
- const i = Ft();
12816
- return A("button", vn(it({}, r), {
12815
+ const i = Bt();
12816
+ return A("button", bn(it({}, r), {
12817
12817
  type: "button",
12818
12818
  class: `${i}-btn ${i}-btn-text ${i}-btn-icon-${n}`
12819
12819
  }), [A("i", {
@@ -12828,7 +12828,7 @@ function nf({
12828
12828
  slots: r
12829
12829
  }) {
12830
12830
  var i;
12831
- const o = Ft(), s = () => {
12831
+ const o = Bt(), s = () => {
12832
12832
  n(nl(e, (f) => f - 1));
12833
12833
  }, a = () => {
12834
12834
  n(nl(e, (f) => f + 1));
@@ -12872,7 +12872,7 @@ function JT({
12872
12872
  onDateMouseEnter: u,
12873
12873
  onDateMouseLeave: c
12874
12874
  }) {
12875
- const d = Ft(), f = bT(), h = Xd().value, {
12875
+ const d = Bt(), f = bT(), h = Xd().value, {
12876
12876
  yearFormat: p,
12877
12877
  monthBeforeYear: g,
12878
12878
  monthFormat: m = "MMM",
@@ -12950,7 +12950,7 @@ function QT({
12950
12950
  onUpdateCalendar: r,
12951
12951
  onUpdatePanel: i
12952
12952
  }) {
12953
- const o = Ft(), s = Xd().value, a = s.months || s.formatLocale.monthsShort, l = (c) => $i(t.getFullYear(), c), u = (c) => {
12953
+ const o = Bt(), s = Xd().value, a = s.months || s.formatLocale.monthsShort, l = (c) => $i(t.getFullYear(), c), u = (c) => {
12954
12954
  const f = c.currentTarget.getAttribute("data-month");
12955
12955
  n(l(parseInt(f, 10)));
12956
12956
  };
@@ -12995,7 +12995,7 @@ function eE({
12995
12995
  onSelect: r,
12996
12996
  onUpdateCalendar: i
12997
12997
  }) {
12998
- const o = Ft(), s = (d) => $i(d, 0), a = (d) => {
12998
+ const o = Bt(), s = (d) => $i(d, 0), a = (d) => {
12999
12999
  const h = d.currentTarget.getAttribute("data-year");
13000
13000
  r(s(parseInt(h, 10)));
13001
13001
  }, l = n(new Date(t)), u = l[0][0], c = Rh(Rh(l));
@@ -13125,7 +13125,7 @@ function nE(t) {
13125
13125
  const e = kr(t, {
13126
13126
  defaultValue: /* @__PURE__ */ new Date(),
13127
13127
  type: "date"
13128
- }), n = Ft(), r = U(() => {
13128
+ }), n = Bt(), r = U(() => {
13129
13129
  let m = Array.isArray(e.defaultValue) ? e.defaultValue : [e.defaultValue, e.defaultValue];
13130
13130
  return m = m.map((y) => oi(y)), Fi(m) ? m : [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()].map((y) => oi(y));
13131
13131
  }), i = V([/* @__PURE__ */ new Date(NaN), /* @__PURE__ */ new Date(NaN)]);
@@ -13159,7 +13159,7 @@ function nE(t) {
13159
13159
  };
13160
13160
  return () => {
13161
13161
  const m = a.value.map((y, b) => {
13162
- const C = vn(it({}, e), {
13162
+ const C = bn(it({}, e), {
13163
13163
  calendar: y,
13164
13164
  value: i.value,
13165
13165
  defaultValue: r.value[b],
@@ -13184,7 +13184,7 @@ const my = de({
13184
13184
  setup(t, {
13185
13185
  slots: e
13186
13186
  }) {
13187
- const n = Ft(), r = V(), i = V(""), o = V("");
13187
+ const n = Bt(), r = V(), i = V(""), o = V("");
13188
13188
  Ke(() => {
13189
13189
  if (!r.value)
13190
13190
  return;
@@ -13255,7 +13255,7 @@ function rE({
13255
13255
  getClasses: e,
13256
13256
  onSelect: n
13257
13257
  }) {
13258
- const r = Ft(), i = (o) => {
13258
+ const r = Bt(), i = (o) => {
13259
13259
  const s = o.target, a = o.currentTarget;
13260
13260
  if (s.tagName.toUpperCase() !== "LI")
13261
13261
  return;
@@ -13285,7 +13285,7 @@ function iE(t) {
13285
13285
  }
13286
13286
  function oE(t) {
13287
13287
  let e;
13288
- const n = Ft();
13288
+ const n = Bt();
13289
13289
  return A(my, null, iE(e = t.options.map((r) => A("div", {
13290
13290
  key: r.text,
13291
13291
  class: [`${n}-time-option`, t.getClasses(r.value, "time")],
@@ -13407,7 +13407,7 @@ function lE(t) {
13407
13407
  timeTitleFormat: "YYYY-MM-DD",
13408
13408
  disabledTime: () => !1,
13409
13409
  scrollDuration: 100
13410
- }), n = Ft(), r = Xd(), i = (g, m) => qd(g, m, {
13410
+ }), n = Bt(), r = Xd(), i = (g, m) => qd(g, m, {
13411
13411
  locale: r.value.formatLocale
13412
13412
  }), o = V(/* @__PURE__ */ new Date());
13413
13413
  rt(() => {
@@ -13477,7 +13477,7 @@ function uE(t) {
13477
13477
  const e = kr(t, {
13478
13478
  defaultValue: oi(/* @__PURE__ */ new Date()),
13479
13479
  disabledTime: () => !1
13480
- }), n = Ft(), r = V([/* @__PURE__ */ new Date(NaN), /* @__PURE__ */ new Date(NaN)]);
13480
+ }), n = Bt(), r = V([/* @__PURE__ */ new Date(NaN), /* @__PURE__ */ new Date(NaN)]);
13481
13481
  rt(() => {
13482
13482
  Fi(e.value) ? r.value = e.value : r.value = [/* @__PURE__ */ new Date(NaN), /* @__PURE__ */ new Date(NaN)];
13483
13483
  });
@@ -13493,12 +13493,12 @@ function uE(t) {
13493
13493
  const u = Array.isArray(e.defaultValue) ? e.defaultValue : [e.defaultValue, e.defaultValue];
13494
13494
  return A("div", {
13495
13495
  class: `${n}-time-range`
13496
- }, [A(ta, vn(it({}, e), {
13496
+ }, [A(ta, bn(it({}, e), {
13497
13497
  "onUpdate:value": o,
13498
13498
  value: r.value[0],
13499
13499
  defaultValue: u[0],
13500
13500
  disabledTime: a
13501
- }), null), A(ta, vn(it({}, e), {
13501
+ }), null), A(ta, bn(it({}, e), {
13502
13502
  "onUpdate:value": s,
13503
13503
  value: r.value[1],
13504
13504
  defaultValue: u[1],
@@ -13541,12 +13541,12 @@ function cE(t) {
13541
13541
  (u = e["onUpdate:value"]) == null || u.call(e, c, l);
13542
13542
  };
13543
13543
  return () => {
13544
- const a = Ft(), l = vn(it({}, pr(e, h2)), {
13544
+ const a = Bt(), l = bn(it({}, pr(e, h2)), {
13545
13545
  multiple: !1,
13546
13546
  type: "date",
13547
13547
  value: n.value,
13548
13548
  "onUpdate:value": s
13549
- }), u = vn(it({}, pr(e, m2)), {
13549
+ }), u = bn(it({}, pr(e, m2)), {
13550
13550
  showTimeHeader: !0,
13551
13551
  value: n.value,
13552
13552
  "onUpdate:value": e["onUpdate:value"],
@@ -13586,11 +13586,11 @@ function fE(t) {
13586
13586
  (u = e["onUpdate:value"]) == null || u.call(e, d, l);
13587
13587
  };
13588
13588
  return () => {
13589
- const a = Ft(), l = vn(it({}, pr(e, rf)), {
13589
+ const a = Bt(), l = bn(it({}, pr(e, rf)), {
13590
13590
  type: "date",
13591
13591
  value: n.value,
13592
13592
  "onUpdate:value": s
13593
- }), u = vn(it({}, pr(e, sf)), {
13593
+ }), u = bn(it({}, pr(e, sf)), {
13594
13594
  showTimeHeader: !0,
13595
13595
  value: n.value,
13596
13596
  "onUpdate:value": e["onUpdate:value"],
@@ -13614,7 +13614,7 @@ const pE = ci()(["range", "open", "appendToBody", "clearable", "confirm", "disab
13614
13614
  function Sy(t, {
13615
13615
  slots: e
13616
13616
  }) {
13617
- const n = t.type || "date", r = t.format || Bh[n] || Bh.date, i = vn(it({}, OT(t, pE)), {
13617
+ const n = t.type || "date", r = t.format || Bh[n] || Bh.date, i = bn(it({}, OT(t, pE)), {
13618
13618
  type: n,
13619
13619
  format: r
13620
13620
  });
@@ -13814,7 +13814,7 @@ const EE = de({
13814
13814
  u && (e.value = parseInt(u.style.top) < 0 ? "top" : "bottom");
13815
13815
  };
13816
13816
  return Xe(r, async (u) => {
13817
- u ? window.addEventListener("scroll", l) : window.removeEventListener("scroll", l), await Wn(), l();
13817
+ u ? window.addEventListener("scroll", l) : window.removeEventListener("scroll", l), await Un(), l();
13818
13818
  }), {
13819
13819
  // Refs
13820
13820
  calendarPosition: e,
@@ -14046,11 +14046,11 @@ const Yj = /* @__PURE__ */ Ee(NE, [["render", HE], ["__scopeId", "data-v-f2d32e2
14046
14046
  * Released under the MIT License.
14047
14047
  */
14048
14048
  const br = typeof window < "u";
14049
- let Qt, Gi;
14049
+ let Xt, Gi;
14050
14050
  if (process.env.NODE_ENV !== "production") {
14051
14051
  const t = br && window.performance;
14052
14052
  t && t.mark && t.measure && t.clearMarks && // @ts-ignore browser compat
14053
- t.clearMeasures && (Qt = (e) => {
14053
+ t.clearMeasures && (Xt = (e) => {
14054
14054
  t.mark(e);
14055
14055
  }, Gi = (e, n, r) => {
14056
14056
  t.measure(e, n, r), t.clearMarks(n), t.clearMarks(r);
@@ -14800,7 +14800,7 @@ function Ly(t, e, n, r, i, o) {
14800
14800
  }
14801
14801
  d = s[f] || {};
14802
14802
  let b = null, C, w;
14803
- if (process.env.NODE_ENV !== "production" && br && (b = window.performance.now(), C = "intlify-message-resolve-start", w = "intlify-message-resolve-end", Qt && Qt(C)), (h = l(d, e)) === null && (h = d[e]), process.env.NODE_ENV !== "production" && br) {
14803
+ if (process.env.NODE_ENV !== "production" && br && (b = window.performance.now(), C = "intlify-message-resolve-start", w = "intlify-message-resolve-end", Xt && Xt(C)), (h = l(d, e)) === null && (h = d[e]), process.env.NODE_ENV !== "production" && br) {
14804
14804
  const S = window.performance.now(), T = t.__v_emitter;
14805
14805
  T && b && h && T.emit("message-resolve", {
14806
14806
  type: "message-resolve",
@@ -14808,7 +14808,7 @@ function Ly(t, e, n, r, i, o) {
14808
14808
  message: h,
14809
14809
  time: S - b,
14810
14810
  groupId: `${m}:${e}`
14811
- }), C && w && Qt && Gi && (Qt(w), Gi("intlify message resolve", C, w));
14811
+ }), C && w && Xt && Gi && (Xt(w), Gi("intlify message resolve", C, w));
14812
14812
  }
14813
14813
  if (te(h) || Vo(h) || fn(h))
14814
14814
  break;
@@ -14835,7 +14835,7 @@ function Ny(t, e, n, r, i, o) {
14835
14835
  return f.locale = n, f.key = e, f;
14836
14836
  }
14837
14837
  let l = null, u, c;
14838
- process.env.NODE_ENV !== "production" && br && (l = window.performance.now(), u = "intlify-message-compilation-start", c = "intlify-message-compilation-end", Qt && Qt(u));
14838
+ process.env.NODE_ENV !== "production" && br && (l = window.performance.now(), u = "intlify-message-compilation-start", c = "intlify-message-compilation-end", Xt && Xt(u));
14839
14839
  const d = s(r, VM(t, n, i, r, a, o));
14840
14840
  if (process.env.NODE_ENV !== "production" && br) {
14841
14841
  const f = window.performance.now(), h = t.__v_emitter;
@@ -14844,13 +14844,13 @@ function Ny(t, e, n, r, i, o) {
14844
14844
  message: r,
14845
14845
  time: f - l,
14846
14846
  groupId: `translate:${e}`
14847
- }), u && c && Qt && Gi && (Qt(c), Gi("intlify message compilation", u, c));
14847
+ }), u && c && Xt && Gi && (Xt(c), Gi("intlify message compilation", u, c));
14848
14848
  }
14849
14849
  return d.locale = n, d.key = e, d.source = r, d;
14850
14850
  }
14851
14851
  function BM(t, e, n) {
14852
14852
  let r = null, i, o;
14853
- process.env.NODE_ENV !== "production" && br && (r = window.performance.now(), i = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", Qt && Qt(i));
14853
+ process.env.NODE_ENV !== "production" && br && (r = window.performance.now(), i = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", Xt && Xt(i));
14854
14854
  const s = e(n);
14855
14855
  if (process.env.NODE_ENV !== "production" && br) {
14856
14856
  const a = window.performance.now(), l = t.__v_emitter;
@@ -14859,7 +14859,7 @@ function BM(t, e, n) {
14859
14859
  value: s,
14860
14860
  time: a - r,
14861
14861
  groupId: `translate:${e.key}`
14862
- }), i && o && Qt && Gi && (Qt(o), Gi("intlify message evaluation", i, o));
14862
+ }), i && o && Xt && Gi && (Xt(o), Gi("intlify message evaluation", i, o));
14863
14863
  }
14864
14864
  return s;
14865
14865
  }
@@ -15132,33 +15132,33 @@ const Vy = Pt.__EXTEND_POINT__, Pr = uf(Vy), cn = {
15132
15132
  function ff(t, ...e) {
15133
15133
  return ky(ZM[t], ...e);
15134
15134
  }
15135
- const Hy = pt.__EXTEND_POINT__, Vt = uf(Hy), Ge = {
15135
+ const Hy = pt.__EXTEND_POINT__, Ht = uf(Hy), Ge = {
15136
15136
  // composer module errors
15137
15137
  UNEXPECTED_RETURN_TYPE: Hy,
15138
15138
  // legacy module errors
15139
- INVALID_ARGUMENT: Vt(),
15139
+ INVALID_ARGUMENT: Ht(),
15140
15140
  // i18n module errors
15141
- MUST_BE_CALL_SETUP_TOP: Vt(),
15142
- NOT_INSTALLED: Vt(),
15143
- NOT_AVAILABLE_IN_LEGACY_MODE: Vt(),
15141
+ MUST_BE_CALL_SETUP_TOP: Ht(),
15142
+ NOT_INSTALLED: Ht(),
15143
+ NOT_AVAILABLE_IN_LEGACY_MODE: Ht(),
15144
15144
  // directive module errors
15145
- REQUIRED_VALUE: Vt(),
15146
- INVALID_VALUE: Vt(),
15145
+ REQUIRED_VALUE: Ht(),
15146
+ INVALID_VALUE: Ht(),
15147
15147
  // vue-devtools errors
15148
- CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: Vt(),
15149
- NOT_INSTALLED_WITH_PROVIDE: Vt(),
15148
+ CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: Ht(),
15149
+ NOT_INSTALLED_WITH_PROVIDE: Ht(),
15150
15150
  // unexpected error
15151
- UNEXPECTED_ERROR: Vt(),
15151
+ UNEXPECTED_ERROR: Ht(),
15152
15152
  // not compatible legacy vue-i18n constructor
15153
- NOT_COMPATIBLE_LEGACY_VUE_I18N: Vt(),
15153
+ NOT_COMPATIBLE_LEGACY_VUE_I18N: Ht(),
15154
15154
  // bridge support vue 2.x only
15155
- BRIDGE_SUPPORT_VUE_2_ONLY: Vt(),
15155
+ BRIDGE_SUPPORT_VUE_2_ONLY: Ht(),
15156
15156
  // need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``
15157
- MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: Vt(),
15157
+ MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: Ht(),
15158
15158
  // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
15159
- NOT_AVAILABLE_COMPOSITION_IN_LEGACY: Vt(),
15159
+ NOT_AVAILABLE_COMPOSITION_IN_LEGACY: Ht(),
15160
15160
  // for enhancement
15161
- __EXTEND_POINT__: Vt()
15161
+ __EXTEND_POINT__: Ht()
15162
15162
  // 40
15163
15163
  };
15164
15164
  function ra(t, ...e) {
@@ -15363,23 +15363,23 @@ function JM(t = {}, e) {
15363
15363
  function bt(...L) {
15364
15364
  return vt((_) => Reflect.apply(Jh, null, [_, ...L]), () => gc(...L), "translate", (_) => Reflect.apply(_.t, _, [...L]), (_) => _, (_) => te(_));
15365
15365
  }
15366
- function Cn(...L) {
15366
+ function kn(...L) {
15367
15367
  const [_, ye, Fe] = L;
15368
15368
  if (Fe && !Te(Fe))
15369
15369
  throw ra(Ge.INVALID_ARGUMENT);
15370
15370
  return bt(_, ye, Tt({ resolvedMessage: !0 }, Fe || {}));
15371
15371
  }
15372
- function Kt(...L) {
15372
+ function Gt(...L) {
15373
15373
  return vt((_) => Reflect.apply(Xh, null, [_, ...L]), () => yc(...L), "datetime format", (_) => Reflect.apply(_.d, _, [...L]), () => al, (_) => te(_));
15374
15374
  }
15375
- function Gt(...L) {
15375
+ function qt(...L) {
15376
15376
  return vt((_) => Reflect.apply(tp, null, [_, ...L]), () => vc(...L), "number format", (_) => Reflect.apply(_.n, _, [...L]), () => al, (_) => te(_));
15377
15377
  }
15378
- function kn(L) {
15378
+ function On(L) {
15379
15379
  return L.map((_) => te(_) || Ct(_) || Ye(_) ? rp(String(_)) : _);
15380
15380
  }
15381
- const On = {
15382
- normalize: kn,
15381
+ const Tn = {
15382
+ normalize: On,
15383
15383
  interpolate: (L) => L,
15384
15384
  type: "vnode"
15385
15385
  };
@@ -15389,7 +15389,7 @@ function JM(t = {}, e) {
15389
15389
  let ye;
15390
15390
  const Fe = _;
15391
15391
  try {
15392
- Fe.processor = On, ye = Reflect.apply(Jh, null, [Fe, ...L]);
15392
+ Fe.processor = Tn, ye = Reflect.apply(Jh, null, [Fe, ...L]);
15393
15393
  } finally {
15394
15394
  Fe.processor = null;
15395
15395
  }
@@ -15403,7 +15403,7 @@ function JM(t = {}, e) {
15403
15403
  (_) => nt(_)
15404
15404
  );
15405
15405
  }
15406
- function Ln(...L) {
15406
+ function Nn(...L) {
15407
15407
  return vt(
15408
15408
  (_) => Reflect.apply(tp, null, [_, ...L]),
15409
15409
  () => vc(...L),
@@ -15475,10 +15475,10 @@ function JM(t = {}, e) {
15475
15475
  function ao(L) {
15476
15476
  return d.value[L] || {};
15477
15477
  }
15478
- function Tn(L, _) {
15478
+ function En(L, _) {
15479
15479
  d.value[L] = _, M.datetimeFormats = d.value, ep(M, L, _);
15480
15480
  }
15481
- function Nn(L, _) {
15481
+ function $n(L, _) {
15482
15482
  d.value[L] = Tt(d.value[L] || {}, _), M.datetimeFormats = d.value, ep(M, L, _);
15483
15483
  }
15484
15484
  function bi(L) {
@@ -15564,7 +15564,7 @@ function JM(t = {}, e) {
15564
15564
  setMissingHandler: ct,
15565
15565
  [UM]: ro
15566
15566
  };
15567
- return Re.datetimeFormats = se, Re.numberFormats = q, Re.rt = Cn, Re.te = yi, Re.tm = oo, Re.d = Kt, Re.n = Gt, Re.getDateTimeFormat = ao, Re.setDateTimeFormat = Tn, Re.mergeDateTimeFormat = Nn, Re.getNumberFormat = bi, Re.setNumberFormat = nr, Re.mergeNumberFormat = wi, Re[KM] = r, Re[bc] = Tr, Re[wc] = Er, Re[Sc] = Ln, process.env.NODE_ENV !== "production" && (Re[Cc] = (L) => {
15567
+ return Re.datetimeFormats = se, Re.numberFormats = q, Re.rt = kn, Re.te = yi, Re.tm = oo, Re.d = Gt, Re.n = qt, Re.getDateTimeFormat = ao, Re.setDateTimeFormat = En, Re.mergeDateTimeFormat = $n, Re.getNumberFormat = bi, Re.setNumberFormat = nr, Re.mergeNumberFormat = wi, Re[KM] = r, Re[bc] = Tr, Re[wc] = Er, Re[Sc] = Nn, process.env.NODE_ENV !== "production" && (Re[Cc] = (L) => {
15568
15568
  M.__v_emitter = L;
15569
15569
  }, Re[kc] = () => {
15570
15570
  M.__v_emitter = void 0;
@@ -16354,7 +16354,7 @@ function Sx(t, e, n, r, i, o) {
16354
16354
  key: 0,
16355
16355
  class: B(["flex", { "order-first pr-2": t.iconPosition === "left" }])
16356
16356
  }, [
16357
- $(t.$slots, "default", Xt(Gn({ icon: t.icon, onClickIcon: t.onClickIcon })), () => [
16357
+ $(t.$slots, "default", Lt(gn({ icon: t.icon, onClickIcon: t.onClickIcon })), () => [
16358
16358
  A(s, {
16359
16359
  icon: t.icon,
16360
16360
  size: "md",
@@ -16495,7 +16495,7 @@ const Qj = /* @__PURE__ */ Ee(bx, [["render", Sx], ["__scopeId", "data-v-320db1d
16495
16495
  const S = E.direction[1], T = S >= 0, M = S <= 0 && n.value <= 0;
16496
16496
  !a.value && (T || M) && C(!M), o.value = !1;
16497
16497
  }, C = async (E) => {
16498
- a.value = E, await Wn();
16498
+ a.value = E, await Un();
16499
16499
  const S = c.value ? c.value.offsetHeight : 0;
16500
16500
  f("y", S, d, l);
16501
16501
  }, w = M6(() => {
@@ -16657,7 +16657,7 @@ function Kx(t, e, n, r, i, o) {
16657
16657
  class: "list-item",
16658
16658
  onClick: (d) => t.$emit("click:list-item", u)
16659
16659
  }, [
16660
- $(t.$slots, "list-item", Xt(Gn({ item: u })), () => [
16660
+ $(t.$slots, "list-item", Lt(gn({ item: u })), () => [
16661
16661
  Qe(Q(u), 1)
16662
16662
  ], !0)
16663
16663
  ], 8, Bx))), 128))
@@ -16667,7 +16667,7 @@ function Kx(t, e, n, r, i, o) {
16667
16667
  class: "list-item",
16668
16668
  onClick: (d) => t.$emit("click:list-item", u)
16669
16669
  }, [
16670
- $(t.$slots, "list-item", Xt(Gn({ item: u })), () => [
16670
+ $(t.$slots, "list-item", Lt(gn({ item: u })), () => [
16671
16671
  Qe(Q(u), 1)
16672
16672
  ], !0)
16673
16673
  ], 8, Hx))), 128))
@@ -16759,7 +16759,7 @@ function qx(t, e, n, r, i, o) {
16759
16759
  return v(), k("div", {
16760
16760
  ref: "currentModal",
16761
16761
  class: B(["q-modal", t.overlay]),
16762
- onKeydown: e[3] || (e[3] = Ht((...a) => t.onCloseModal && t.onCloseModal(...a), ["escape"]))
16762
+ onKeydown: e[3] || (e[3] = _t((...a) => t.onCloseModal && t.onCloseModal(...a), ["escape"]))
16763
16763
  }, [
16764
16764
  I("div", O({ class: "overlay" }, {
16765
16765
  [q4(t.dismissibleOverlay && "click")]: e[0] || (e[0] = (...a) => t.onCloseModal && t.onCloseModal(...a))
@@ -17927,11 +17927,11 @@ function kA(t, e, n, r, i, o) {
17927
17927
  onFocus: e[14] || (e[14] = (s) => t.activate()),
17928
17928
  onBlur: e[15] || (e[15] = (s) => t.searchable ? !1 : t.deactivate()),
17929
17929
  onKeydown: [
17930
- e[16] || (e[16] = Ht(De((s) => t.pointerForward(), ["self", "prevent"]), ["down"])),
17931
- e[17] || (e[17] = Ht(De((s) => t.pointerBackward(), ["self", "prevent"]), ["up"]))
17930
+ e[16] || (e[16] = _t(De((s) => t.pointerForward(), ["self", "prevent"]), ["down"])),
17931
+ e[17] || (e[17] = _t(De((s) => t.pointerBackward(), ["self", "prevent"]), ["up"]))
17932
17932
  ],
17933
- onKeypress: e[18] || (e[18] = Ht(De((s) => t.addPointerElement(s), ["stop", "self"]), ["enter", "tab"])),
17934
- onKeyup: e[19] || (e[19] = Ht((s) => t.deactivate(), ["esc"])),
17933
+ onKeypress: e[18] || (e[18] = _t(De((s) => t.addPointerElement(s), ["stop", "self"]), ["enter", "tab"])),
17934
+ onKeyup: e[19] || (e[19] = _t((s) => t.deactivate(), ["esc"])),
17935
17935
  role: "combobox",
17936
17936
  "aria-owns": "listbox-" + t.id
17937
17937
  }, [
@@ -17979,7 +17979,7 @@ function kA(t, e, n, r, i, o) {
17979
17979
  }, null, 8, ["textContent"]),
17980
17980
  A("i", {
17981
17981
  tabindex: "1",
17982
- onKeypress: Ht(De((l) => t.removeElement(s), ["prevent"]), ["enter"]),
17982
+ onKeypress: _t(De((l) => t.removeElement(s), ["prevent"]), ["enter"]),
17983
17983
  onMousedown: De((l) => t.removeElement(s), ["prevent"]),
17984
17984
  class: "multiselect__tag-icon"
17985
17985
  }, null, 40, ["onKeypress", "onMousedown"])
@@ -18034,13 +18034,13 @@ function kA(t, e, n, r, i, o) {
18034
18034
  onInput: e[2] || (e[2] = (s) => t.updateSearch(s.target.value)),
18035
18035
  onFocus: e[3] || (e[3] = De((s) => t.activate(), ["prevent"])),
18036
18036
  onBlur: e[4] || (e[4] = De((s) => t.deactivate(), ["prevent"])),
18037
- onKeyup: e[5] || (e[5] = Ht((s) => t.deactivate(), ["esc"])),
18037
+ onKeyup: e[5] || (e[5] = _t((s) => t.deactivate(), ["esc"])),
18038
18038
  onKeydown: [
18039
- e[6] || (e[6] = Ht(De((s) => t.pointerForward(), ["prevent"]), ["down"])),
18040
- e[7] || (e[7] = Ht(De((s) => t.pointerBackward(), ["prevent"]), ["up"])),
18041
- e[9] || (e[9] = Ht(De((s) => t.removeLastElement(), ["stop"]), ["delete"]))
18039
+ e[6] || (e[6] = _t(De((s) => t.pointerForward(), ["prevent"]), ["down"])),
18040
+ e[7] || (e[7] = _t(De((s) => t.pointerBackward(), ["prevent"]), ["up"])),
18041
+ e[9] || (e[9] = _t(De((s) => t.removeLastElement(), ["stop"]), ["delete"]))
18042
18042
  ],
18043
- onKeypress: e[8] || (e[8] = Ht(De((s) => t.addPointerElement(s), ["prevent", "stop", "self"]), ["enter"])),
18043
+ onKeypress: e[8] || (e[8] = _t(De((s) => t.addPointerElement(s), ["prevent", "stop", "self"]), ["enter"])),
18044
18044
  class: "multiselect__input",
18045
18045
  "aria-controls": "listbox-" + t.id
18046
18046
  }, null, 44, ["name", "id", "placeholder", "value", "disabled", "tabindex", "aria-controls"])) : P("v-if", !0),
@@ -18374,20 +18374,20 @@ const OA = de({
18374
18374
  // maybe change this to class - I am going to use this for external emails
18375
18375
  };
18376
18376
  if (!t.validationMethod(C)) {
18377
- await Wn(), i.value.search = b;
18377
+ await Un(), i.value.search = b;
18378
18378
  return;
18379
18379
  }
18380
18380
  }, g = (b) => {
18381
- typeof b == "number" && b >= 0 ? s.value.splice(b, 1) : s.value = [], Wn(() => {
18381
+ typeof b == "number" && b >= 0 ? s.value.splice(b, 1) : s.value = [], Un(() => {
18382
18382
  n("update:model-value", s.value);
18383
18383
  });
18384
18384
  }, m = (b) => {
18385
- t.multiple && s.value && b.length === s.value.length && Wn(() => {
18385
+ t.multiple && s.value && b.length === s.value.length && Un(() => {
18386
18386
  s.value = [], n("update:model-value", s.value);
18387
18387
  });
18388
18388
  }, y = async () => {
18389
18389
  if (o.value && t.searchable) {
18390
- await Wn();
18390
+ await Un();
18391
18391
  const b = o.value.querySelector(
18392
18392
  ".multiselect__content-wrapper"
18393
18393
  ), C = o.value.querySelector(
@@ -18530,7 +18530,7 @@ function _A(t, e, n, r, i, o) {
18530
18530
  key: 0,
18531
18531
  icon: u.icon
18532
18532
  }, null, 8, ["icon"])) : P("", !0),
18533
- $(t.$slots, "optionPrefix", {}, void 0, !0),
18533
+ $(t.$slots, "optionPrefix", Lt(gn(u)), void 0, !0),
18534
18534
  I("span", xA, Q(u.label || u.name || u), 1)
18535
18535
  ]),
18536
18536
  selection: re(({ values: u, isOpen: c }) => {
@@ -18652,6 +18652,7 @@ function _A(t, e, n, r, i, o) {
18652
18652
  icon: u.icon,
18653
18653
  class: "mr-1"
18654
18654
  }, null, 8, ["icon"])) : P("", !0),
18655
+ $(t.$slots, "optionPrefix", Lt(gn(u)), void 0, !0),
18655
18656
  I("div", {
18656
18657
  class: B(["option-name", [
18657
18658
  u.optionClass ? u.optionClass : ""
@@ -18673,7 +18674,7 @@ function _A(t, e, n, r, i, o) {
18673
18674
  }, 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", "open-direction", "onOpen", "onTag"])
18674
18675
  ], 8, TA);
18675
18676
  }
18676
- const oZ = /* @__PURE__ */ Ee(OA, [["render", _A], ["__scopeId", "data-v-8504a3dd"]]);
18677
+ const oZ = /* @__PURE__ */ Ee(OA, [["render", _A], ["__scopeId", "data-v-efa39d33"]]);
18677
18678
  var et = {
18678
18679
  STARTS_WITH: "startsWith",
18679
18680
  CONTAINS: "contains",
@@ -20915,7 +20916,7 @@ function wp(t, e) {
20915
20916
  }
20916
20917
  return n;
20917
20918
  }
20918
- function Fn(t) {
20919
+ function Bn(t) {
20919
20920
  for (var e = 1; e < arguments.length; e++) {
20920
20921
  var n = arguments[e] != null ? arguments[e] : {};
20921
20922
  e % 2 ? wp(Object(n), !0).forEach(function(r) {
@@ -20987,7 +20988,7 @@ function XI(t, e, n, r, i, o) {
20987
20988
  onInput: e[3] || (e[3] = function() {
20988
20989
  return o.onEditableInput && o.onEditableInput.apply(o, arguments);
20989
20990
  })
20990
- }, Fn(Fn({}, t.inputProps), t.ptm("input"))), null, 16, KI)) : (v(), k("span", O({
20991
+ }, Bn(Bn({}, t.inputProps), t.ptm("input"))), null, 16, KI)) : (v(), k("span", O({
20991
20992
  key: 1,
20992
20993
  ref: "focusInput",
20993
20994
  id: t.inputId,
@@ -21011,7 +21012,7 @@ function XI(t, e, n, r, i, o) {
21011
21012
  onKeydown: e[6] || (e[6] = function() {
21012
21013
  return o.onKeyDown && o.onKeyDown.apply(o, arguments);
21013
21014
  })
21014
- }, Fn(Fn({}, t.inputProps), t.ptm("input"))), [$(t.$slots, "value", {
21015
+ }, Bn(Bn({}, t.inputProps), t.ptm("input"))), [$(t.$slots, "value", {
21015
21016
  value: t.modelValue,
21016
21017
  placeholder: t.placeholder
21017
21018
  }, function() {
@@ -21026,7 +21027,7 @@ function XI(t, e, n, r, i, o) {
21026
21027
  ref: "clearIcon",
21027
21028
  class: [t.cx("clearIcon"), t.clearIcon],
21028
21029
  onClick: o.onClearClick
21029
- }, Fn(Fn({}, t.clearIconProps), t.ptm("clearIcon")), {
21030
+ }, Bn(Bn({}, t.clearIconProps), t.ptm("clearIcon")), {
21030
21031
  "data-pc-section": "clearicon"
21031
21032
  }), null, 16, ["class", "onClick"]))];
21032
21033
  }) : P("", !0), I("div", O({
@@ -21076,7 +21077,7 @@ function XI(t, e, n, r, i, o) {
21076
21077
  onKeydown: e[15] || (e[15] = function() {
21077
21078
  return o.onOverlayKeyDown && o.onOverlayKeyDown.apply(o, arguments);
21078
21079
  })
21079
- }, Fn(Fn({}, t.panelProps), t.ptm("panel"))), [I("span", O({
21080
+ }, Bn(Bn({}, t.panelProps), t.ptm("panel"))), [I("span", O({
21080
21081
  ref: "firstHiddenFocusableElementOnOverlay",
21081
21082
  role: "presentation",
21082
21083
  "aria-hidden": "true",
@@ -21121,7 +21122,7 @@ function XI(t, e, n, r, i, o) {
21121
21122
  onInput: e[12] || (e[12] = function() {
21122
21123
  return o.onFilterChange && o.onFilterChange.apply(o, arguments);
21123
21124
  })
21124
- }, Fn(Fn({}, t.filterInputProps), t.ptm("filterInput"))), null, 16, qI), $(t.$slots, "filtericon", {
21125
+ }, Bn(Bn({}, t.filterInputProps), t.ptm("filterInput"))), null, 16, qI), $(t.$slots, "filtericon", {
21125
21126
  class: B(t.cx("filterIcon"))
21126
21127
  }, function() {
21127
21128
  return [(v(), R(le(t.filterIcon ? "span" : "SearchIcon"), O({
@@ -23392,7 +23393,7 @@ var bv = {
23392
23393
  };
23393
23394
  function aD(t, e, n, r, i, o) {
23394
23395
  var s = W("FirstPageLink"), a = W("PrevPageLink"), l = W("NextPageLink"), u = W("LastPageLink"), c = W("PageLinks"), d = W("CurrentPageReport"), f = W("RowsPerPageDropdown"), h = W("JumpToPageDropdown"), p = W("JumpToPageInput");
23395
- return t.alwaysShow || o.pageLinks && o.pageLinks.length > 1 ? (v(), k("nav", Xt(O({
23396
+ return t.alwaysShow || o.pageLinks && o.pageLinks.length > 1 ? (v(), k("nav", Lt(O({
23396
23397
  key: 0
23397
23398
  }, t.ptmi("paginatorWrapper"))), [(v(!0), k(oe, null, Pe(o.templateItems, function(g, m) {
23398
23399
  return v(), k("div", O({
@@ -27356,14 +27357,14 @@ function aL(t, e, n, r, i, o) {
27356
27357
  onKeydown: e[1] || (e[1] = function(c) {
27357
27358
  return o.onToggleButtonKeyDown(c);
27358
27359
  })
27359
- }, o.getColumnPT("filterMenuButton", o.ptmFilterMenuParams)), [(v(), R(le(n.filterIconTemplate || "FilterIcon"), Xt(Gn(o.getColumnPT("filterMenuIcon"))), null, 16))], 16, iL)) : P("", !0), n.showClearButton && n.display === "row" ? (v(), k("button", O({
27360
+ }, o.getColumnPT("filterMenuButton", o.ptmFilterMenuParams)), [(v(), R(le(n.filterIconTemplate || "FilterIcon"), Lt(gn(o.getColumnPT("filterMenuIcon"))), null, 16))], 16, iL)) : P("", !0), n.showClearButton && n.display === "row" ? (v(), k("button", O({
27360
27361
  key: 2,
27361
27362
  class: t.cx("headerFilterClearButton"),
27362
27363
  type: "button",
27363
27364
  onClick: e[2] || (e[2] = function(c) {
27364
27365
  return o.clearFilter();
27365
27366
  })
27366
- }, o.getColumnPT("headerFilterClearButton", o.ptmHeaderFilterClearParams)), [(v(), R(le(n.filterClearIconTemplate || "FilterSlashIcon"), Xt(Gn(o.getColumnPT("filterClearIcon"))), null, 16))], 16)) : P("", !0), A(l, null, {
27367
+ }, o.getColumnPT("headerFilterClearButton", o.ptmHeaderFilterClearParams)), [(v(), R(le(n.filterClearIconTemplate || "FilterSlashIcon"), Lt(gn(o.getColumnPT("filterClearIcon"))), null, 16))], 16)) : P("", !0), A(l, null, {
27367
27368
  default: re(function() {
27368
27369
  return [A(gr, O({
27369
27370
  name: "p-connected-overlay",
@@ -27380,7 +27381,7 @@ function aL(t, e, n, r, i, o) {
27380
27381
  "aria-modal": i.overlayVisible,
27381
27382
  role: "dialog",
27382
27383
  class: [t.cx("filterOverlay"), n.filterMenuClass],
27383
- onKeydown: e[10] || (e[10] = Ht(function() {
27384
+ onKeydown: e[10] || (e[10] = _t(function() {
27384
27385
  return o.hide && o.hide.apply(o, arguments);
27385
27386
  }, ["escape"])),
27386
27387
  onClick: e[11] || (e[11] = function() {
@@ -27407,7 +27408,7 @@ function aL(t, e, n, r, i, o) {
27407
27408
  },
27408
27409
  onKeydown: [e[3] || (e[3] = function(f) {
27409
27410
  return o.onRowMatchModeKeyDown(f);
27410
- }), Ht(De(function(f) {
27411
+ }), _t(De(function(f) {
27411
27412
  return o.onRowMatchModeChange(c.value);
27412
27413
  }, ["prevent"]), ["enter"])],
27413
27414
  tabindex: d === 0 ? "0" : null
@@ -27421,7 +27422,7 @@ function aL(t, e, n, r, i, o) {
27421
27422
  }),
27422
27423
  onKeydown: [e[5] || (e[5] = function(c) {
27423
27424
  return o.onRowMatchModeKeyDown(c);
27424
- }), e[6] || (e[6] = Ht(function(c) {
27425
+ }), e[6] || (e[6] = _t(function(c) {
27425
27426
  return t.onRowClearItemClick();
27426
27427
  }, ["enter"]))]
27427
27428
  }, o.getColumnPT("filterRowItem")), Q(o.noFilterLabel), 17)], 16)) : (v(), k(oe, {
@@ -27466,7 +27467,7 @@ function aL(t, e, n, r, i, o) {
27466
27467
  filterModel: c,
27467
27468
  filterCallback: o.filterCallback,
27468
27469
  applyFilter: o.applyFilter
27469
- }, null, 8, ["field", "filterModel", "filterCallback", "applyFilter"])) : P("", !0), I("div", Xt(Gn(o.getColumnPT("filterRemove"))), [o.showRemoveIcon ? (v(), R(a, {
27470
+ }, null, 8, ["field", "filterModel", "filterCallback", "applyFilter"])) : P("", !0), I("div", Lt(gn(o.getColumnPT("filterRemove"))), [o.showRemoveIcon ? (v(), R(a, {
27470
27471
  key: 0,
27471
27472
  type: "button",
27472
27473
  class: B(t.cx("filterRemoveButton")),
@@ -27979,7 +27980,7 @@ function hL(t, e, n, r, i, o) {
27979
27980
  }, null, 8, ["column"])) : P("", !0), o.columnProp("header") ? (v(), k("span", O({
27980
27981
  key: 1,
27981
27982
  class: t.cx("headerTitle")
27982
- }, o.getColumnPT("headerTitle")), Q(o.columnProp("header")), 17)) : P("", !0), o.columnProp("sortable") ? (v(), k("span", Xt(O({
27983
+ }, o.getColumnPT("headerTitle")), Q(o.columnProp("header")), 17)) : P("", !0), o.columnProp("sortable") ? (v(), k("span", Lt(O({
27983
27984
  key: 2
27984
27985
  }, o.getColumnPT("sort"))), [(v(), R(le(n.column.children && n.column.children.sorticon || o.sortableColumnIcon), O({
27985
27986
  sorted: o.sortState.sorted,
@@ -30887,7 +30888,7 @@ function XL(t, e, n, r, i, o) {
30887
30888
  t.loading ? t.loading ? (v(), k("div", {
30888
30889
  key: 1,
30889
30890
  class: B(["animate-shimmer", f.shimmer])
30890
- }, "   ", 2)) : P("", !0) : $(t.$slots, d.key, Xt(O({ key: 0 }, f)), () => [
30891
+ }, "   ", 2)) : P("", !0) : $(t.$slots, d.key, Lt(O({ key: 0 }, f)), () => [
30891
30892
  d.key.match(/\./) ? (v(), k("div", YL, Q(f[d.key.split(".")[0]][d.key.split(".")[1]]), 1)) : (v(), k("div", qL, Q(f[d.key]), 1))
30892
30893
  ], !0)
30893
30894
  ]),
@@ -30903,7 +30904,7 @@ function XL(t, e, n, r, i, o) {
30903
30904
  src: t.noResultsPath
30904
30905
  }, null, 8, QL)
30905
30906
  ], !0),
30906
- $(t.$slots, "no-results-text", Xt(Gn({ tableFilters: t.tableFilters })), void 0, !0)
30907
+ $(t.$slots, "no-results-text", Lt(gn({ tableFilters: t.tableFilters })), void 0, !0)
30907
30908
  ])) : P("", !0)
30908
30909
  ], 10, jL);
30909
30910
  }
@@ -33863,7 +33864,7 @@ function $N(t, e) {
33863
33864
  if (t.eq(e[n]))
33864
33865
  return e[n];
33865
33866
  }
33866
- class Un {
33867
+ class Kn {
33867
33868
  /**
33868
33869
  Create a serializer. `nodes` should map node names to functions
33869
33870
  that take a node and return a description of the corresponding
@@ -33912,7 +33913,7 @@ class Un {
33912
33913
  @internal
33913
33914
  */
33914
33915
  serializeNodeInner(e, n) {
33915
- let { dom: r, contentDOM: i } = Un.renderSpec(pu(n), this.nodes[e.type.name](e));
33916
+ let { dom: r, contentDOM: i } = Kn.renderSpec(pu(n), this.nodes[e.type.name](e));
33916
33917
  if (i) {
33917
33918
  if (e.isLeaf)
33918
33919
  throw new RangeError("Content hole not allowed in a leaf node spec");
@@ -33940,7 +33941,7 @@ class Un {
33940
33941
  */
33941
33942
  serializeMark(e, n, r = {}) {
33942
33943
  let i = this.marks[e.type.name];
33943
- return i && Un.renderSpec(pu(r), i(e, n));
33944
+ return i && Kn.renderSpec(pu(r), i(e, n));
33944
33945
  }
33945
33946
  /**
33946
33947
  Render an [output spec](https://prosemirror.net/docs/ref/#model.DOMOutputSpec) to a DOM node. If
@@ -33972,7 +33973,7 @@ class Un {
33972
33973
  throw new RangeError("Content hole must be the only child of its parent node");
33973
33974
  return { dom: a, contentDOM: a };
33974
33975
  } else {
33975
- let { dom: f, contentDOM: h } = Un.renderSpec(e, d, r);
33976
+ let { dom: f, contentDOM: h } = Kn.renderSpec(e, d, r);
33976
33977
  if (a.appendChild(f), h) {
33977
33978
  if (s)
33978
33979
  throw new RangeError("Multiple content holes");
@@ -33987,7 +33988,7 @@ class Un {
33987
33988
  properties in a schema's node and mark specs.
33988
33989
  */
33989
33990
  static fromSchema(e) {
33990
- return e.cached.domSerializer || (e.cached.domSerializer = new Un(this.nodesFromSchema(e), this.marksFromSchema(e)));
33991
+ return e.cached.domSerializer || (e.cached.domSerializer = new Kn(this.nodesFromSchema(e), this.marksFromSchema(e)));
33991
33992
  }
33992
33993
  /**
33993
33994
  Gather the serializers in a schema's node specs into an object.
@@ -34062,15 +34063,15 @@ class Bc {
34062
34063
  return (this.delInfo & j0) > 0;
34063
34064
  }
34064
34065
  }
34065
- class Yt {
34066
+ class Jt {
34066
34067
  /**
34067
34068
  Create a position map. The modifications to the document are
34068
34069
  represented as an array of numbers, in which each group of three
34069
34070
  represents a modified chunk as `[start, oldSize, newSize]`.
34070
34071
  */
34071
34072
  constructor(e, n = !1) {
34072
- if (this.ranges = e, this.inverted = n, !e.length && Yt.empty)
34073
- return Yt.empty;
34073
+ if (this.ranges = e, this.inverted = n, !e.length && Jt.empty)
34074
+ return Jt.empty;
34074
34075
  }
34075
34076
  /**
34076
34077
  @internal
@@ -34141,7 +34142,7 @@ class Yt {
34141
34142
  map positions in the post-step document to the pre-step document.
34142
34143
  */
34143
34144
  invert() {
34144
- return new Yt(this.ranges, !this.inverted);
34145
+ return new Jt(this.ranges, !this.inverted);
34145
34146
  }
34146
34147
  /**
34147
34148
  @internal
@@ -34155,10 +34156,10 @@ class Yt {
34155
34156
  sub-document to a larger document, or vice-versa.
34156
34157
  */
34157
34158
  static offset(e) {
34158
- return e == 0 ? Yt.empty : new Yt(e < 0 ? [0, -e, 0] : [0, 0, e]);
34159
+ return e == 0 ? Jt.empty : new Jt(e < 0 ? [0, -e, 0] : [0, 0, e]);
34159
34160
  }
34160
34161
  }
34161
- Yt.empty = new Yt([]);
34162
+ Jt.empty = new Jt([]);
34162
34163
  class Ro {
34163
34164
  /**
34164
34165
  Create a new mapping with the given position maps.
@@ -34274,7 +34275,7 @@ class Mt {
34274
34275
  and the new document.
34275
34276
  */
34276
34277
  getMap() {
34277
- return Yt.empty;
34278
+ return Jt.empty;
34278
34279
  }
34279
34280
  /**
34280
34281
  Try to merge this step with another one, to be applied directly
@@ -34362,7 +34363,7 @@ class qr extends Mt {
34362
34363
  return Je.fromReplace(e, this.from, this.to, o);
34363
34364
  }
34364
34365
  invert() {
34365
- return new Kn(this.from, this.to, this.mark);
34366
+ return new Gn(this.from, this.to, this.mark);
34366
34367
  }
34367
34368
  map(e) {
34368
34369
  let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
@@ -34389,7 +34390,7 @@ class qr extends Mt {
34389
34390
  }
34390
34391
  }
34391
34392
  Mt.jsonID("addMark", qr);
34392
- class Kn extends Mt {
34393
+ class Gn extends Mt {
34393
34394
  /**
34394
34395
  Create a mark-removing step.
34395
34396
  */
@@ -34405,10 +34406,10 @@ class Kn extends Mt {
34405
34406
  }
34406
34407
  map(e) {
34407
34408
  let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
34408
- return n.deleted && r.deleted || n.pos >= r.pos ? null : new Kn(n.pos, r.pos, this.mark);
34409
+ return n.deleted && r.deleted || n.pos >= r.pos ? null : new Gn(n.pos, r.pos, this.mark);
34409
34410
  }
34410
34411
  merge(e) {
34411
- return e instanceof Kn && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new Kn(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
34412
+ return e instanceof Gn && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new Gn(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
34412
34413
  }
34413
34414
  toJSON() {
34414
34415
  return {
@@ -34424,10 +34425,10 @@ class Kn extends Mt {
34424
34425
  static fromJSON(e, n) {
34425
34426
  if (typeof n.from != "number" || typeof n.to != "number")
34426
34427
  throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");
34427
- return new Kn(n.from, n.to, e.markFromJSON(n.mark));
34428
+ return new Gn(n.from, n.to, e.markFromJSON(n.mark));
34428
34429
  }
34429
34430
  }
34430
- Mt.jsonID("removeMark", Kn);
34431
+ Mt.jsonID("removeMark", Gn);
34431
34432
  class Yr extends Mt {
34432
34433
  /**
34433
34434
  Create a node mark step.
@@ -34524,7 +34525,7 @@ class ot extends Mt {
34524
34525
  return this.structure && Vc(e, this.from, this.to) ? Je.fail("Structure replace would overwrite content") : Je.fromReplace(e, this.from, this.to, this.slice);
34525
34526
  }
34526
34527
  getMap() {
34527
- return new Yt([this.from, this.to - this.from, this.slice.size]);
34528
+ return new Jt([this.from, this.to - this.from, this.slice.size]);
34528
34529
  }
34529
34530
  invert(e) {
34530
34531
  return new ot(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
@@ -34579,7 +34580,7 @@ class at extends Mt {
34579
34580
  return r ? Je.fromReplace(e, this.from, this.to, r) : Je.fail("Content does not fit in gap");
34580
34581
  }
34581
34582
  getMap() {
34582
- return new Yt([
34583
+ return new Jt([
34583
34584
  this.from,
34584
34585
  this.gapFrom - this.from,
34585
34586
  this.insert,
@@ -34640,7 +34641,7 @@ function VN(t, e, n, r) {
34640
34641
  if (!r.isInSet(d) && c.type.allowsMarkType(r.type)) {
34641
34642
  let f = Math.max(u, e), h = Math.min(u + l.nodeSize, n), p = r.addToSet(d);
34642
34643
  for (let g = 0; g < d.length; g++)
34643
- d[g].isInSet(p) || (s && s.to == f && s.mark.eq(d[g]) ? s.to = h : i.push(s = new Kn(f, h, d[g])));
34644
+ d[g].isInSet(p) || (s && s.to == f && s.mark.eq(d[g]) ? s.to = h : i.push(s = new Gn(f, h, d[g])));
34644
34645
  a && a.to == f ? a.to = h : o.push(a = new qr(f, h, r));
34645
34646
  }
34646
34647
  }), i.forEach((l) => t.step(l)), o.forEach((l) => t.step(l));
@@ -34669,7 +34670,7 @@ function HN(t, e, n, r) {
34669
34670
  f ? (f.to = u, f.step = o) : i.push({ style: d, from: Math.max(a, e), to: u, step: o });
34670
34671
  }
34671
34672
  }
34672
- }), i.forEach((s) => t.step(new Kn(s.from, s.to, s.style)));
34673
+ }), i.forEach((s) => t.step(new Gn(s.from, s.to, s.style)));
34673
34674
  }
34674
34675
  function _N(t, e, n, r = n.contentMatch) {
34675
34676
  let i = t.doc.nodeAt(e), o = [], s = e + 1;
@@ -34680,7 +34681,7 @@ function _N(t, e, n, r = n.contentMatch) {
34680
34681
  else {
34681
34682
  r = c;
34682
34683
  for (let d = 0; d < l.marks.length; d++)
34683
- n.allowsMarkType(l.marks[d].type) || t.step(new Kn(s, u, l.marks[d]));
34684
+ n.allowsMarkType(l.marks[d].type) || t.step(new Gn(s, u, l.marks[d]));
34684
34685
  if (l.isText && !n.spec.code) {
34685
34686
  let d, f = /\r?\n|\r/g, h;
34686
34687
  for (; d = f.exec(l.text); )
@@ -35172,7 +35173,7 @@ class No extends Mt {
35172
35173
  return Je.fromReplace(e, this.pos, this.pos + 1, new Y(H.from(i), 0, n.isLeaf ? 0 : 1));
35173
35174
  }
35174
35175
  getMap() {
35175
- return Yt.empty;
35176
+ return Jt.empty;
35176
35177
  }
35177
35178
  invert(e) {
35178
35179
  return new No(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
@@ -35207,7 +35208,7 @@ class Ea extends Mt {
35207
35208
  return Je.ok(r);
35208
35209
  }
35209
35210
  getMap() {
35210
- return Yt.empty;
35211
+ return Jt.empty;
35211
35212
  }
35212
35213
  invert(e) {
35213
35214
  return new Ea(this.attr, e.attrs[this.attr]);
@@ -35565,7 +35566,7 @@ class ge {
35565
35566
  negative, it will search backwards first.
35566
35567
  */
35567
35568
  static near(e, n = 1) {
35568
- return this.findFrom(e, n) || this.findFrom(e, -n) || new Pn(e.node(0));
35569
+ return this.findFrom(e, n) || this.findFrom(e, -n) || new Dn(e.node(0));
35569
35570
  }
35570
35571
  /**
35571
35572
  Find the cursor or leaf node selection closest to the start of
@@ -35574,14 +35575,14 @@ class ge {
35574
35575
  exists.
35575
35576
  */
35576
35577
  static atStart(e) {
35577
- return So(e, e, 0, 0, 1) || new Pn(e);
35578
+ return So(e, e, 0, 0, 1) || new Dn(e);
35578
35579
  }
35579
35580
  /**
35580
35581
  Find the cursor or leaf node selection closest to the end of the
35581
35582
  given document.
35582
35583
  */
35583
35584
  static atEnd(e) {
35584
- return So(e, e, e.content.size, e.childCount, -1) || new Pn(e);
35585
+ return So(e, e, e.content.size, e.childCount, -1) || new Dn(e);
35585
35586
  }
35586
35587
  /**
35587
35588
  Deserialize the JSON representation of a selection. Must be
@@ -35777,7 +35778,7 @@ class Tf {
35777
35778
  return r && ie.isSelectable(r) ? new ie(n) : ge.near(n);
35778
35779
  }
35779
35780
  }
35780
- class Pn extends ge {
35781
+ class Dn extends ge {
35781
35782
  /**
35782
35783
  Create an all-selection over the given document.
35783
35784
  */
@@ -35799,25 +35800,25 @@ class Pn extends ge {
35799
35800
  @internal
35800
35801
  */
35801
35802
  static fromJSON(e) {
35802
- return new Pn(e);
35803
+ return new Dn(e);
35803
35804
  }
35804
35805
  map(e) {
35805
- return new Pn(e);
35806
+ return new Dn(e);
35806
35807
  }
35807
35808
  eq(e) {
35808
- return e instanceof Pn;
35809
+ return e instanceof Dn;
35809
35810
  }
35810
35811
  getBookmark() {
35811
35812
  return s$;
35812
35813
  }
35813
35814
  }
35814
- ge.jsonID("all", Pn);
35815
+ ge.jsonID("all", Dn);
35815
35816
  const s$ = {
35816
35817
  map() {
35817
35818
  return this;
35818
35819
  },
35819
35820
  resolve(t) {
35820
- return new Pn(t);
35821
+ return new Dn(t);
35821
35822
  }
35822
35823
  };
35823
35824
  function So(t, e, n, r, i, o = !1) {
@@ -36282,7 +36283,7 @@ function dm(t, e, n, r, i) {
36282
36283
  for (; ; ) {
36283
36284
  if (t == n && e == r)
36284
36285
  return !0;
36285
- if (e == (i < 0 ? 0 : Zn(t))) {
36286
+ if (e == (i < 0 ? 0 : Wn(t))) {
36286
36287
  let o = t.parentNode;
36287
36288
  if (!o || o.nodeType != 1 || Ef(t) || u$.test(t.nodeName) || t.contentEditable == "false")
36288
36289
  return !1;
@@ -36290,22 +36291,22 @@ function dm(t, e, n, r, i) {
36290
36291
  } else if (t.nodeType == 1) {
36291
36292
  if (t = t.childNodes[e + (i < 0 ? -1 : 0)], t.contentEditable == "false")
36292
36293
  return !1;
36293
- e = i < 0 ? Zn(t) : 0;
36294
+ e = i < 0 ? Wn(t) : 0;
36294
36295
  } else
36295
36296
  return !1;
36296
36297
  }
36297
36298
  }
36298
- function Zn(t) {
36299
+ function Wn(t) {
36299
36300
  return t.nodeType == 3 ? t.nodeValue.length : t.childNodes.length;
36300
36301
  }
36301
36302
  function c$(t, e, n) {
36302
- for (let r = e == 0, i = e == Zn(t); r || i; ) {
36303
+ for (let r = e == 0, i = e == Wn(t); r || i; ) {
36303
36304
  if (t == n)
36304
36305
  return !0;
36305
36306
  let o = Dt(t);
36306
36307
  if (t = t.parentNode, !t)
36307
36308
  return !1;
36308
- r = r && o == 0, i = i && o == Zn(t);
36309
+ r = r && o == 0, i = i && o == Wn(t);
36309
36310
  }
36310
36311
  }
36311
36312
  function Ef(t) {
@@ -36341,9 +36342,9 @@ function f$(t, e, n) {
36341
36342
  return { node: r.startContainer, offset: r.startOffset };
36342
36343
  }
36343
36344
  }
36344
- const Yn = typeof navigator < "u" ? navigator : null, fm = typeof document < "u" ? document : null, hi = Yn && Yn.userAgent || "", Hc = /Edge\/(\d+)/.exec(hi), h7 = /MSIE \d/.exec(hi), _c = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(hi), Zt = !!(h7 || _c || Hc), Qr = h7 ? document.documentMode : _c ? +_c[1] : Hc ? +Hc[1] : 0, Rn = !Zt && /gecko\/(\d+)/i.test(hi);
36345
- Rn && +(/Firefox\/(\d+)/.exec(hi) || [0, 0])[1];
36346
- const zc = !Zt && /Chrome\/(\d+)/.exec(hi), kt = !!zc, h$ = zc ? +zc[1] : 0, Lt = !Zt && !!Yn && /Apple Computer/.test(Yn.vendor), jo = Lt && (/Mobile\/\w+/.test(hi) || !!Yn && Yn.maxTouchPoints > 2), dn = jo || (Yn ? /Mac/.test(Yn.platform) : !1), p$ = Yn ? /Win/.test(Yn.platform) : !1, xn = /Android \d/.test(hi), e0 = !!fm && "webkitFontSmoothing" in fm.documentElement.style, m$ = e0 ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
36345
+ const Yn = typeof navigator < "u" ? navigator : null, fm = typeof document < "u" ? document : null, hi = Yn && Yn.userAgent || "", Hc = /Edge\/(\d+)/.exec(hi), h7 = /MSIE \d/.exec(hi), _c = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(hi), Wt = !!(h7 || _c || Hc), Qr = h7 ? document.documentMode : _c ? +_c[1] : Hc ? +Hc[1] : 0, Ln = !Wt && /gecko\/(\d+)/i.test(hi);
36346
+ Ln && +(/Firefox\/(\d+)/.exec(hi) || [0, 0])[1];
36347
+ const zc = !Wt && /Chrome\/(\d+)/.exec(hi), kt = !!zc, h$ = zc ? +zc[1] : 0, Nt = !Wt && !!Yn && /Apple Computer/.test(Yn.vendor), jo = Nt && (/Mobile\/\w+/.test(hi) || !!Yn && Yn.maxTouchPoints > 2), dn = jo || (Yn ? /Mac/.test(Yn.platform) : !1), p$ = Yn ? /Win/.test(Yn.platform) : !1, An = /Android \d/.test(hi), e0 = !!fm && "webkitFontSmoothing" in fm.documentElement.style, m$ = e0 ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
36347
36348
  function g$(t) {
36348
36349
  return {
36349
36350
  left: 0,
@@ -36522,11 +36523,11 @@ function T$(t, e) {
36522
36523
  if (!Mf(e, u) || (s = y7(t.dom, e, u), !s))
36523
36524
  return null;
36524
36525
  }
36525
- if (Lt)
36526
+ if (Nt)
36526
36527
  for (let u = s; r && u; u = Ma(u))
36527
36528
  u.draggable && (r = void 0);
36528
36529
  if (s = C$(s, e), r) {
36529
- if (Rn && r.nodeType == 1 && (i = Math.min(i, r.childNodes.length), i < r.childNodes.length)) {
36530
+ if (Ln && r.nodeType == 1 && (i = Math.min(i, r.childNodes.length), i < r.childNodes.length)) {
36530
36531
  let c = r.childNodes[i], d;
36531
36532
  c.nodeName == "IMG" && (d = c.getBoundingClientRect()).right <= e.left && d.bottom > e.top && i++;
36532
36533
  }
@@ -36551,11 +36552,11 @@ function $r(t, e) {
36551
36552
  }
36552
36553
  const E$ = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
36553
36554
  function v7(t, e, n) {
36554
- let { node: r, offset: i, atom: o } = t.docView.domFromPos(e, n < 0 ? -1 : 1), s = e0 || Rn;
36555
+ let { node: r, offset: i, atom: o } = t.docView.domFromPos(e, n < 0 ? -1 : 1), s = e0 || Ln;
36555
36556
  if (r.nodeType == 3)
36556
36557
  if (s && (E$.test(r.nodeValue) || (n < 0 ? !i : i == r.nodeValue.length))) {
36557
36558
  let l = $r(ar(r, i, i), n);
36558
- if (Rn && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
36559
+ if (Ln && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
36559
36560
  let u = $r(ar(r, i - 1, i - 1), -1);
36560
36561
  if (u.top == l.top) {
36561
36562
  let c = $r(ar(r, i, i + 1), -1);
@@ -36569,24 +36570,24 @@ function v7(t, e, n) {
36569
36570
  return n < 0 && !i ? (u++, c = -1) : n >= 0 && i == r.nodeValue.length ? (l--, c = 1) : n < 0 ? l-- : u++, vs($r(ar(r, l, u), c), c < 0);
36570
36571
  }
36571
36572
  if (!t.state.doc.resolve(e - (o || 0)).parent.inlineContent) {
36572
- if (o == null && i && (n < 0 || i == Zn(r))) {
36573
+ if (o == null && i && (n < 0 || i == Wn(r))) {
36573
36574
  let l = r.childNodes[i - 1];
36574
36575
  if (l.nodeType == 1)
36575
36576
  return Su(l.getBoundingClientRect(), !1);
36576
36577
  }
36577
- if (o == null && i < Zn(r)) {
36578
+ if (o == null && i < Wn(r)) {
36578
36579
  let l = r.childNodes[i];
36579
36580
  if (l.nodeType == 1)
36580
36581
  return Su(l.getBoundingClientRect(), !0);
36581
36582
  }
36582
36583
  return Su(r.getBoundingClientRect(), n >= 0);
36583
36584
  }
36584
- if (o == null && i && (n < 0 || i == Zn(r))) {
36585
- let l = r.childNodes[i - 1], u = l.nodeType == 3 ? ar(l, Zn(l) - (s ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
36585
+ if (o == null && i && (n < 0 || i == Wn(r))) {
36586
+ let l = r.childNodes[i - 1], u = l.nodeType == 3 ? ar(l, Wn(l) - (s ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
36586
36587
  if (u)
36587
36588
  return vs($r(u, 1), !1);
36588
36589
  }
36589
- if (o == null && i < Zn(r)) {
36590
+ if (o == null && i < Wn(r)) {
36590
36591
  let l = r.childNodes[i];
36591
36592
  for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
36592
36593
  l = l.nextSibling;
@@ -36670,10 +36671,10 @@ let mm = null, gm = null, ym = !1;
36670
36671
  function I$(t, e, n) {
36671
36672
  return mm == e && gm == n ? ym : (mm = e, gm = n, ym = n == "up" || n == "down" ? M$(t, e, n) : A$(t, e, n));
36672
36673
  }
36673
- const gn = 0, vm = 1, Bi = 2, Jn = 3;
36674
+ const yn = 0, vm = 1, Bi = 2, Jn = 3;
36674
36675
  class t0 {
36675
36676
  constructor(e, n, r, i) {
36676
- this.parent = e, this.children = n, this.dom = r, this.contentDOM = i, this.dirty = gn, r.pmViewDesc = this;
36677
+ this.parent = e, this.children = n, this.dom = r, this.contentDOM = i, this.dirty = yn, r.pmViewDesc = this;
36677
36678
  }
36678
36679
  // Used to check whether a given description corresponds to a
36679
36680
  // widget/mark/node.
@@ -36924,7 +36925,7 @@ class t0 {
36924
36925
  h = g;
36925
36926
  }
36926
36927
  let a = this.domFromPos(e, e ? -1 : 1), l = n == e ? a : this.domFromPos(n, n ? -1 : 1), u = r.getSelection(), c = !1;
36927
- if ((Rn || Lt) && e == n) {
36928
+ if ((Ln || Nt) && e == n) {
36928
36929
  let { node: f, offset: h } = a;
36929
36930
  if (f.nodeType == 3) {
36930
36931
  if (c = !!(h && f.nodeValue[h - 1] == `
@@ -36943,11 +36944,11 @@ class t0 {
36943
36944
  c = p && (p.nodeName == "BR" || p.contentEditable == "false");
36944
36945
  }
36945
36946
  }
36946
- if (Rn && u.focusNode && u.focusNode != l.node && u.focusNode.nodeType == 1) {
36947
+ if (Ln && u.focusNode && u.focusNode != l.node && u.focusNode.nodeType == 1) {
36947
36948
  let f = u.focusNode.childNodes[u.focusOffset];
36948
36949
  f && f.contentEditable == "false" && (i = !0);
36949
36950
  }
36950
- if (!(i || c && Lt) && Ji(a.node, a.offset, u.anchorNode, u.anchorOffset) && Ji(l.node, l.offset, u.focusNode, u.focusOffset))
36951
+ if (!(i || c && Nt) && Ji(a.node, a.offset, u.anchorNode, u.anchorOffset) && Ji(l.node, l.offset, u.focusNode, u.focusOffset))
36951
36952
  return;
36952
36953
  let d = !1;
36953
36954
  if ((u.extend || e == n) && !c) {
@@ -37021,7 +37022,7 @@ class w7 extends t0 {
37021
37022
  super(e, [], s, null), this.widget = n, this.widget = n, o = this;
37022
37023
  }
37023
37024
  matchesWidget(e) {
37024
- return this.dirty == gn && e.type.eq(this.widget.type);
37025
+ return this.dirty == yn && e.type.eq(this.widget.type);
37025
37026
  }
37026
37027
  parseRule() {
37027
37028
  return { ignore: !0 };
@@ -37066,7 +37067,7 @@ class Qi extends t0 {
37066
37067
  }
37067
37068
  static create(e, n, r, i) {
37068
37069
  let o = i.nodeViews[n.type.name], s = o && o(n, i, r);
37069
- return (!s || !s.dom) && (s = Un.renderSpec(document, n.type.spec.toDOM(n, r))), new Qi(e, n, s.dom, s.contentDOM || s.dom);
37070
+ return (!s || !s.dom) && (s = Kn.renderSpec(document, n.type.spec.toDOM(n, r))), new Qi(e, n, s.dom, s.contentDOM || s.dom);
37070
37071
  }
37071
37072
  parseRule() {
37072
37073
  return this.dirty & Jn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
@@ -37075,11 +37076,11 @@ class Qi extends t0 {
37075
37076
  return this.dirty != Jn && this.mark.eq(e);
37076
37077
  }
37077
37078
  markDirty(e, n) {
37078
- if (super.markDirty(e, n), this.dirty != gn) {
37079
+ if (super.markDirty(e, n), this.dirty != yn) {
37079
37080
  let r = this.parent;
37080
37081
  for (; !r.node; )
37081
37082
  r = r.parent;
37082
- r.dirty < this.dirty && (r.dirty = this.dirty), this.dirty = gn;
37083
+ r.dirty < this.dirty && (r.dirty = this.dirty), this.dirty = yn;
37083
37084
  }
37084
37085
  }
37085
37086
  slice(e, n, r) {
@@ -37116,7 +37117,7 @@ class Xr extends t0 {
37116
37117
  else if (c.nodeType != 3)
37117
37118
  throw new RangeError("Text must be rendered as a DOM text node");
37118
37119
  } else
37119
- c || ({ dom: c, contentDOM: d } = Un.renderSpec(document, n.type.spec.toDOM(n)));
37120
+ c || ({ dom: c, contentDOM: d } = Kn.renderSpec(document, n.type.spec.toDOM(n)));
37120
37121
  !d && !n.isText && c.nodeName != "BR" && (c.hasAttribute("contenteditable") || (c.contentEditable = "false"), n.type.spec.draggable && (c.draggable = !0));
37121
37122
  let f = c;
37122
37123
  return c = O7(c, r, n), u ? l = new D$(e, n, r, i, c, d || null, f, u, o, s + 1) : n.isText ? new E2(e, n, r, i, c, f, o) : new Xr(e, n, r, i, c, d || null, f, o, s + 1);
@@ -37142,7 +37143,7 @@ class Xr extends t0 {
37142
37143
  return e;
37143
37144
  }
37144
37145
  matchesNode(e, n, r) {
37145
- return this.dirty == gn && e.eq(this.node) && Zc(n, this.outerDeco) && r.eq(this.innerDeco);
37146
+ return this.dirty == yn && e.eq(this.node) && Zc(n, this.outerDeco) && r.eq(this.innerDeco);
37146
37147
  }
37147
37148
  get size() {
37148
37149
  return this.node.nodeSize;
@@ -37197,7 +37198,7 @@ class Xr extends t0 {
37197
37198
  return this.dirty == Jn || !e.sameMarkup(this.node) ? !1 : (this.updateInner(e, n, r, i), !0);
37198
37199
  }
37199
37200
  updateInner(e, n, r, i) {
37200
- this.updateOuterDeco(n), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(i, this.posAtStart), this.dirty = gn;
37201
+ this.updateOuterDeco(n), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(i, this.posAtStart), this.dirty = yn;
37201
37202
  }
37202
37203
  updateOuterDeco(e) {
37203
37204
  if (Zc(e, this.outerDeco))
@@ -37233,7 +37234,7 @@ class E2 extends Xr {
37233
37234
  return { skip: e || !0 };
37234
37235
  }
37235
37236
  update(e, n, r, i) {
37236
- return this.dirty == Jn || this.dirty != gn && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != gn || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, i.trackWrites == this.nodeDOM && (i.trackWrites = null)), this.node = e, this.dirty = gn, !0);
37237
+ return this.dirty == Jn || this.dirty != yn && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != yn || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, i.trackWrites == this.nodeDOM && (i.trackWrites = null)), this.node = e, this.dirty = yn, !0);
37237
37238
  }
37238
37239
  inParent() {
37239
37240
  let e = this.parent.contentDOM;
@@ -37267,7 +37268,7 @@ class S7 extends t0 {
37267
37268
  return { ignore: !0 };
37268
37269
  }
37269
37270
  matchesHack(e) {
37270
- return this.dirty == gn && this.dom.nodeName == e;
37271
+ return this.dirty == yn && this.dom.nodeName == e;
37271
37272
  }
37272
37273
  get domAtom() {
37273
37274
  return !0;
@@ -37426,7 +37427,7 @@ class L$ {
37426
37427
  for (; i < s && (i == o - 1 ? this.top : this.stack[i + 1 << 1]).matchesMark(e[i]) && e[i].type.spec.spanning !== !1; )
37427
37428
  i++;
37428
37429
  for (; i < o; )
37429
- this.destroyRest(), this.top.dirty = gn, this.index = this.stack.pop(), this.top = this.stack.pop(), o--;
37430
+ this.destroyRest(), this.top.dirty = yn, this.index = this.stack.pop(), this.top = this.stack.pop(), o--;
37430
37431
  for (; o < e.length; ) {
37431
37432
  this.stack.push(this.top, this.index + 1);
37432
37433
  let a = -1;
@@ -37496,7 +37497,7 @@ class L$ {
37496
37497
  if (!f && l.update(e, n, r, i))
37497
37498
  return this.destroyBetween(this.index, a), l.dom != c && (this.changed = !0), this.index++, !0;
37498
37499
  if (!f && (d = this.recreateWrapper(l, e, n, r, i, s)))
37499
- return this.top.children[this.index] = d, d.contentDOM && (d.dirty = Bi, d.updateChildren(i, s + 1), d.dirty = gn), this.changed = !0, this.index++, !0;
37500
+ return this.top.children[this.index] = d, d.contentDOM && (d.dirty = Bi, d.updateChildren(i, s + 1), d.dirty = yn), this.changed = !0, this.index++, !0;
37500
37501
  break;
37501
37502
  }
37502
37503
  }
@@ -37536,7 +37537,7 @@ class L$ {
37536
37537
  for (; e instanceof Qi; )
37537
37538
  n = e, e = n.children[n.children.length - 1];
37538
37539
  (!e || // Empty textblock
37539
- !(e instanceof E2) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Lt || kt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
37540
+ !(e instanceof E2) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Nt || kt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
37540
37541
  }
37541
37542
  addHackNode(e, n) {
37542
37543
  if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(e))
@@ -37644,7 +37645,7 @@ function V$(t, e) {
37644
37645
  if (t.nodeType == 1 && e > 0) {
37645
37646
  if (t.childNodes.length > e && t.childNodes[e].nodeType == 3)
37646
37647
  return t.childNodes[e];
37647
- t = t.childNodes[e - 1], e = Zn(t);
37648
+ t = t.childNodes[e - 1], e = Wn(t);
37648
37649
  } else if (t.nodeType == 1 && e < t.childNodes.length)
37649
37650
  t = t.childNodes[e], e = 0;
37650
37651
  else
@@ -37733,10 +37734,10 @@ function mr(t, e = !1) {
37733
37734
  t.domObserver.setCurSelection(), t.domObserver.connectSelection();
37734
37735
  }
37735
37736
  }
37736
- const Sm = Lt || kt && h$ < 63;
37737
+ const Sm = Nt || kt && h$ < 63;
37737
37738
  function Cm(t, e) {
37738
37739
  let { node: n, offset: r } = t.docView.domFromPos(e, 0), i = r < n.childNodes.length ? n.childNodes[r] : null, o = r ? n.childNodes[r - 1] : null;
37739
- if (Lt && i && i.contentEditable == "false")
37740
+ if (Nt && i && i.contentEditable == "false")
37740
37741
  return Cu(i);
37741
37742
  if ((!i || i.contentEditable == "false") && (!o || o.contentEditable == "false")) {
37742
37743
  if (i)
@@ -37746,7 +37747,7 @@ function Cm(t, e) {
37746
37747
  }
37747
37748
  }
37748
37749
  function Cu(t) {
37749
- return t.contentEditable = "true", Lt && t.draggable && (t.draggable = !1, t.wasDraggable = !0), t;
37750
+ return t.contentEditable = "true", Nt && t.draggable && (t.draggable = !1, t.wasDraggable = !0), t;
37750
37751
  }
37751
37752
  function km(t) {
37752
37753
  t.contentEditable = "false", t.wasDraggable && (t.draggable = !0, t.wasDraggable = null);
@@ -37763,7 +37764,7 @@ function _$(t) {
37763
37764
  }
37764
37765
  function z$(t) {
37765
37766
  let e = t.domSelection(), n = document.createRange(), r = t.cursorWrapper.dom, i = r.nodeName == "IMG";
37766
- i ? n.setEnd(r.parentNode, Dt(r) + 1) : n.setEnd(r, 0), n.collapse(!1), e.removeAllRanges(), e.addRange(n), !i && !t.state.selection.visible && Zt && Qr <= 11 && (r.disabled = !0, r.disabled = !1);
37767
+ i ? n.setEnd(r.parentNode, Dt(r) + 1) : n.setEnd(r, 0), n.collapse(!1), e.removeAllRanges(), e.addRange(n), !i && !t.state.selection.visible && Wt && Qr <= 11 && (r.disabled = !0, r.disabled = !1);
37767
37768
  }
37768
37769
  function E7(t, e) {
37769
37770
  if (e instanceof ie) {
@@ -37848,7 +37849,7 @@ function Z$(t) {
37848
37849
  if (!n)
37849
37850
  return;
37850
37851
  let i, o, s = !1;
37851
- for (Rn && n.nodeType == 1 && r < gl(n) && Ns(n.childNodes[r], -1) && (s = !0); ; )
37852
+ for (Ln && n.nodeType == 1 && r < gl(n) && Ns(n.childNodes[r], -1) && (s = !0); ; )
37852
37853
  if (r > 0) {
37853
37854
  if (n.nodeType != 1)
37854
37855
  break;
@@ -37984,7 +37985,7 @@ function xm(t, e, n) {
37984
37985
  return Br(t, s);
37985
37986
  }
37986
37987
  if (!i.parent.inlineContent) {
37987
- let s = e < 0 ? i : o, a = r instanceof Pn ? ge.near(s, e) : ge.findFrom(s, e);
37988
+ let s = e < 0 ? i : o, a = r instanceof Dn ? ge.near(s, e) : ge.findFrom(s, e);
37988
37989
  return a ? Br(t, a) : !1;
37989
37990
  }
37990
37991
  return !1;
@@ -38010,7 +38011,7 @@ function Im(t, e, n) {
38010
38011
  t.domObserver.stop(), e.contentEditable = n, t.domObserver.start();
38011
38012
  }
38012
38013
  function G$(t) {
38013
- if (!Lt || t.state.selection.$head.parentOffset > 0)
38014
+ if (!Nt || t.state.selection.$head.parentOffset > 0)
38014
38015
  return !1;
38015
38016
  let { focusNode: e, focusOffset: n } = t.domSelectionRange();
38016
38017
  if (e && e.nodeType == 1 && n == 0 && e.firstChild && e.firstChild.contentEditable == "false") {
@@ -38057,7 +38058,7 @@ function A7(t, e) {
38057
38058
  let h = r.firstChild;
38058
38059
  n.push(h.type.name, h.attrs != h.type.defaultAttrs ? h.attrs : null), r = h.content;
38059
38060
  }
38060
- let s = t.someProp("clipboardSerializer") || Un.fromSchema(t.state.schema), a = N7(), l = a.createElement("div");
38061
+ let s = t.someProp("clipboardSerializer") || Kn.fromSchema(t.state.schema), a = N7(), l = a.createElement("div");
38061
38062
  l.appendChild(s.serializeFragment(r, { document: a }));
38062
38063
  let u = l.firstChild, c, d = 0;
38063
38064
  for (; u && u.nodeType == 1 && (c = L7[u.nodeName.toLowerCase()]); ) {
@@ -38090,7 +38091,7 @@ function I7(t, e, n, r, i) {
38090
38091
  if (d)
38091
38092
  a = d;
38092
38093
  else {
38093
- let f = i.marks(), { schema: h } = t.state, p = Un.fromSchema(h);
38094
+ let f = i.marks(), { schema: h } = t.state, p = Kn.fromSchema(h);
38094
38095
  s = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((g) => {
38095
38096
  let m = s.appendChild(document.createElement("p"));
38096
38097
  g && m.appendChild(p.serializeNode(h.text(g, f)));
@@ -38230,20 +38231,20 @@ function tF(t, e) {
38230
38231
  }
38231
38232
  return new Y(i, o, s);
38232
38233
  }
38233
- const Nt = {}, $t = {}, nF = { touchstart: !0, touchmove: !0 };
38234
+ const $t = {}, Ft = {}, nF = { touchstart: !0, touchmove: !0 };
38234
38235
  class rF {
38235
38236
  constructor() {
38236
38237
  this.shiftKey = !1, this.mouseDown = null, this.lastKeyCode = null, this.lastKeyCodeTime = 0, this.lastClick = { time: 0, x: 0, y: 0, type: "" }, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastIOSEnter = 0, this.lastIOSEnterFallbackTimeout = -1, this.lastFocus = 0, this.lastTouch = 0, this.lastAndroidDelete = 0, this.composing = !1, this.composingTimeout = -1, this.compositionNodes = [], this.compositionEndedAt = -2e8, this.compositionID = 1, this.compositionPendingChanges = 0, this.domChangeCount = 0, this.eventHandlers = /* @__PURE__ */ Object.create(null), this.hideSelectionGuard = null;
38237
38238
  }
38238
38239
  }
38239
38240
  function iF(t) {
38240
- for (let e in Nt) {
38241
- let n = Nt[e];
38241
+ for (let e in $t) {
38242
+ let n = $t[e];
38242
38243
  t.dom.addEventListener(e, t.input.eventHandlers[e] = (r) => {
38243
- sF(t, r) && !If(t, r) && (t.editable || !(r.type in $t)) && n(t, r);
38244
+ sF(t, r) && !If(t, r) && (t.editable || !(r.type in Ft)) && n(t, r);
38244
38245
  }, nF[e] ? { passive: !0 } : void 0);
38245
38246
  }
38246
- Lt && t.dom.addEventListener("input", () => null), qc(t);
38247
+ Nt && t.dom.addEventListener("input", () => null), qc(t);
38247
38248
  }
38248
38249
  function Jr(t, e) {
38249
38250
  t.input.lastSelectionOrigin = e, t.input.lastSelectionTime = Date.now();
@@ -38277,11 +38278,11 @@ function sF(t, e) {
38277
38278
  return !0;
38278
38279
  }
38279
38280
  function aF(t, e) {
38280
- !If(t, e) && Nt[e.type] && (t.editable || !(e.type in $t)) && Nt[e.type](t, e);
38281
+ !If(t, e) && $t[e.type] && (t.editable || !(e.type in Ft)) && $t[e.type](t, e);
38281
38282
  }
38282
- $t.keydown = (t, e) => {
38283
+ Ft.keydown = (t, e) => {
38283
38284
  let n = e;
38284
- if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !F7(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(xn && kt && n.keyCode == 13)))
38285
+ if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !F7(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(An && kt && n.keyCode == 13)))
38285
38286
  if (n.keyCode != 229 && t.domObserver.forceFlush(), jo && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
38286
38287
  let r = Date.now();
38287
38288
  t.input.lastIOSEnter = r, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
@@ -38290,10 +38291,10 @@ $t.keydown = (t, e) => {
38290
38291
  } else
38291
38292
  t.someProp("handleKeyDown", (r) => r(t, n)) || Y$(t, n) ? n.preventDefault() : Jr(t, "key");
38292
38293
  };
38293
- $t.keyup = (t, e) => {
38294
+ Ft.keyup = (t, e) => {
38294
38295
  e.keyCode == 16 && (t.input.shiftKey = !1);
38295
38296
  };
38296
- $t.keypress = (t, e) => {
38297
+ Ft.keypress = (t, e) => {
38297
38298
  let n = e;
38298
38299
  if (F7(t, n) || !n.charCode || n.ctrlKey && !n.altKey || dn && n.metaKey)
38299
38300
  return;
@@ -38380,7 +38381,7 @@ function Df(t) {
38380
38381
  return yl(t);
38381
38382
  }
38382
38383
  const $7 = dn ? "metaKey" : "ctrlKey";
38383
- Nt.mousedown = (t, e) => {
38384
+ $t.mousedown = (t, e) => {
38384
38385
  let n = e;
38385
38386
  t.input.shiftKey = n.shiftKey;
38386
38387
  let r = Df(t), i = Date.now(), o = "singleClick";
@@ -38405,7 +38406,7 @@ class mF {
38405
38406
  node: o,
38406
38407
  pos: s,
38407
38408
  addAttr: !!(this.target && !this.target.draggable),
38408
- setUneditable: !!(this.target && Rn && !this.target.hasAttribute("contentEditable"))
38409
+ setUneditable: !!(this.target && Ln && !this.target.hasAttribute("contentEditable"))
38409
38410
  }), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
38410
38411
  this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
38411
38412
  }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Jr(e, "pointer");
@@ -38418,7 +38419,7 @@ class mF {
38418
38419
  return;
38419
38420
  let n = this.pos;
38420
38421
  this.view.state.doc != this.startDoc && (n = this.view.posAtCoords(M2(e))), this.updateAllowDefault(e), this.allowDefault || !n ? Jr(this.view, "pointer") : dF(this.view, n.pos, n.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
38421
- Lt && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
38422
+ Nt && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
38422
38423
  // cursor, but still report that the node is selected
38423
38424
  // when asked through getSelection. You'll then get a
38424
38425
  // situation where clicking at the point where that
@@ -38434,24 +38435,24 @@ class mF {
38434
38435
  !this.allowDefault && (Math.abs(this.event.x - e.clientX) > 4 || Math.abs(this.event.y - e.clientY) > 4) && (this.allowDefault = !0);
38435
38436
  }
38436
38437
  }
38437
- Nt.touchstart = (t) => {
38438
+ $t.touchstart = (t) => {
38438
38439
  t.input.lastTouch = Date.now(), Df(t), Jr(t, "pointer");
38439
38440
  };
38440
- Nt.touchmove = (t) => {
38441
+ $t.touchmove = (t) => {
38441
38442
  t.input.lastTouch = Date.now(), Jr(t, "pointer");
38442
38443
  };
38443
- Nt.contextmenu = (t) => Df(t);
38444
+ $t.contextmenu = (t) => Df(t);
38444
38445
  function F7(t, e) {
38445
- return t.composing ? !0 : Lt && Math.abs(e.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1;
38446
+ return t.composing ? !0 : Nt && Math.abs(e.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1;
38446
38447
  }
38447
- const gF = xn ? 5e3 : -1;
38448
- $t.compositionstart = $t.compositionupdate = (t) => {
38448
+ const gF = An ? 5e3 : -1;
38449
+ Ft.compositionstart = Ft.compositionupdate = (t) => {
38449
38450
  if (!t.composing) {
38450
38451
  t.domObserver.flush();
38451
38452
  let { state: e } = t, n = e.selection.$from;
38452
38453
  if (e.selection.empty && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1)))
38453
38454
  t.markCursor = t.state.storedMarks || n.marks(), yl(t, !0), t.markCursor = null;
38454
- else if (yl(t), Rn && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
38455
+ else if (yl(t), Ln && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
38455
38456
  let r = t.domSelectionRange();
38456
38457
  for (let i = r.focusNode, o = r.focusOffset; i && i.nodeType == 1 && o != 0; ) {
38457
38458
  let s = o < 0 ? i.lastChild : i.childNodes[o - 1];
@@ -38468,7 +38469,7 @@ $t.compositionstart = $t.compositionupdate = (t) => {
38468
38469
  }
38469
38470
  B7(t, gF);
38470
38471
  };
38471
- $t.compositionend = (t, e) => {
38472
+ Ft.compositionend = (t, e) => {
38472
38473
  t.composing && (t.input.composing = !1, t.input.compositionEndedAt = e.timeStamp, t.input.compositionPendingChanges = t.domObserver.pendingRecords().length ? t.input.compositionID : 0, t.input.compositionPendingChanges && Promise.resolve().then(() => t.domObserver.flush()), t.input.compositionID++, B7(t, 20));
38473
38474
  };
38474
38475
  function B7(t, e) {
@@ -38483,7 +38484,7 @@ function yF() {
38483
38484
  return t.initEvent("event", !0, !0), t.timeStamp;
38484
38485
  }
38485
38486
  function yl(t, e = !1) {
38486
- if (!(xn && t.domObserver.flushingSoon >= 0)) {
38487
+ if (!(An && t.domObserver.flushingSoon >= 0)) {
38487
38488
  if (t.domObserver.forceFlush(), V7(t), e || t.docView && t.docView.dirty) {
38488
38489
  let n = xf(t);
38489
38490
  return n && !n.eq(t.state.selection) ? t.dispatch(t.state.tr.setSelection(n)) : t.updateState(t.state), !0;
@@ -38501,8 +38502,8 @@ function vF(t, e) {
38501
38502
  n.parentNode && n.parentNode.removeChild(n), t.focus();
38502
38503
  }, 50);
38503
38504
  }
38504
- const xa = Zt && Qr < 15 || jo && m$ < 604;
38505
- Nt.copy = $t.cut = (t, e) => {
38505
+ const xa = Wt && Qr < 15 || jo && m$ < 604;
38506
+ $t.copy = Ft.cut = (t, e) => {
38506
38507
  let n = e, r = t.state.selection, i = n.type == "cut";
38507
38508
  if (r.empty)
38508
38509
  return;
@@ -38538,9 +38539,9 @@ function H7(t) {
38538
38539
  let n = t.getData("text/uri-list");
38539
38540
  return n ? n.replace(/\r?\n/g, " ") : "";
38540
38541
  }
38541
- $t.paste = (t, e) => {
38542
+ Ft.paste = (t, e) => {
38542
38543
  let n = e;
38543
- if (t.composing && !xn)
38544
+ if (t.composing && !An)
38544
38545
  return;
38545
38546
  let r = xa ? null : n.clipboardData, i = t.input.shiftKey && t.input.lastKeyCode != 45;
38546
38547
  r && Aa(t, H7(r), r.getData("text/html"), i, n) ? n.preventDefault() : wF(t, n);
@@ -38551,7 +38552,7 @@ class _7 {
38551
38552
  }
38552
38553
  }
38553
38554
  const z7 = dn ? "altKey" : "ctrlKey";
38554
- Nt.dragstart = (t, e) => {
38555
+ $t.dragstart = (t, e) => {
38555
38556
  let n = e, r = t.input.mouseDown;
38556
38557
  if (r && r.done(), !n.dataTransfer)
38557
38558
  return;
@@ -38567,14 +38568,14 @@ Nt.dragstart = (t, e) => {
38567
38568
  let a = (s || t.state.selection).content(), { dom: l, text: u } = A7(t, a);
38568
38569
  n.dataTransfer.clearData(), n.dataTransfer.setData(xa ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", xa || n.dataTransfer.setData("text/plain", u), t.dragging = new _7(a, !n[z7], s);
38569
38570
  };
38570
- Nt.dragend = (t) => {
38571
+ $t.dragend = (t) => {
38571
38572
  let e = t.dragging;
38572
38573
  window.setTimeout(() => {
38573
38574
  t.dragging == e && (t.dragging = null);
38574
38575
  }, 50);
38575
38576
  };
38576
- $t.dragover = $t.dragenter = (t, e) => e.preventDefault();
38577
- $t.drop = (t, e) => {
38577
+ Ft.dragover = Ft.dragenter = (t, e) => e.preventDefault();
38578
+ Ft.drop = (t, e) => {
38578
38579
  let n = e, r = t.dragging;
38579
38580
  if (t.dragging = null, !n.dataTransfer)
38580
38581
  return;
@@ -38612,17 +38613,17 @@ $t.drop = (t, e) => {
38612
38613
  }
38613
38614
  t.focus(), t.dispatch(u.setMeta("uiEvent", "drop"));
38614
38615
  };
38615
- Nt.focus = (t) => {
38616
+ $t.focus = (t) => {
38616
38617
  t.input.lastFocus = Date.now(), t.focused || (t.domObserver.stop(), t.dom.classList.add("ProseMirror-focused"), t.domObserver.start(), t.focused = !0, setTimeout(() => {
38617
38618
  t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && mr(t);
38618
38619
  }, 20));
38619
38620
  };
38620
- Nt.blur = (t, e) => {
38621
+ $t.blur = (t, e) => {
38621
38622
  let n = e;
38622
38623
  t.focused && (t.domObserver.stop(), t.dom.classList.remove("ProseMirror-focused"), t.domObserver.start(), n.relatedTarget && t.dom.contains(n.relatedTarget) && t.domObserver.currentSelection.clear(), t.focused = !1);
38623
38624
  };
38624
- Nt.beforeinput = (t, e) => {
38625
- if (kt && xn && e.inputType == "deleteContentBackward") {
38625
+ $t.beforeinput = (t, e) => {
38626
+ if (kt && An && e.inputType == "deleteContentBackward") {
38626
38627
  t.domObserver.flushSoon();
38627
38628
  let { domChangeCount: r } = t.input;
38628
38629
  setTimeout(() => {
@@ -38633,8 +38634,8 @@ Nt.beforeinput = (t, e) => {
38633
38634
  }, 50);
38634
38635
  }
38635
38636
  };
38636
- for (let t in $t)
38637
- Nt[t] = $t[t];
38637
+ for (let t in Ft)
38638
+ $t[t] = Ft[t];
38638
38639
  function Ia(t, e) {
38639
38640
  if (t == e)
38640
38641
  return !0;
@@ -39143,7 +39144,7 @@ const kF = {
39143
39144
  attributes: !0,
39144
39145
  attributeOldValue: !0,
39145
39146
  subtree: !0
39146
- }, OF = Zt && Qr <= 11;
39147
+ }, OF = Wt && Qr <= 11;
39147
39148
  class TF {
39148
39149
  constructor() {
39149
39150
  this.anchorNode = null, this.anchorOffset = 0, this.focusNode = null, this.focusOffset = 0;
@@ -39163,7 +39164,7 @@ class EF {
39163
39164
  this.view = e, this.handleDOMChange = n, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new TF(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.observer = window.MutationObserver && new window.MutationObserver((r) => {
39164
39165
  for (let i = 0; i < r.length; i++)
39165
39166
  this.queue.push(r[i]);
39166
- Zt && Qr <= 11 && r.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush();
39167
+ Wt && Qr <= 11 && r.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush();
39167
39168
  }), OF && (this.onCharData = (r) => {
39168
39169
  this.queue.push({ target: r.target, type: "characterData", oldValue: r.prevValue }), this.flushSoon();
39169
39170
  }), this.onSelectionChange = this.onSelectionChange.bind(this);
@@ -39204,7 +39205,7 @@ class EF {
39204
39205
  if (Tm(this.view)) {
39205
39206
  if (this.suppressingSelectionUpdates)
39206
39207
  return mr(this.view);
39207
- if (Zt && Qr <= 11 && !this.view.state.selection.empty) {
39208
+ if (Wt && Qr <= 11 && !this.view.state.selection.empty) {
39208
39209
  let e = this.view.domSelectionRange();
39209
39210
  if (e.focusNode && Ji(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
39210
39211
  return this.flushSoon();
@@ -39251,7 +39252,7 @@ class EF {
39251
39252
  let d = this.registerMutation(n[c], l);
39252
39253
  d && (o = o < 0 ? d.from : Math.min(d.from, o), s = s < 0 ? d.to : Math.max(d.to, s), d.typeOver && (a = !0));
39253
39254
  }
39254
- if (Rn && l.length > 1) {
39255
+ if (Ln && l.length > 1) {
39255
39256
  let c = l.filter((d) => d.nodeName == "BR");
39256
39257
  if (c.length == 2) {
39257
39258
  let d = c[0], f = c[1];
@@ -39274,7 +39275,7 @@ class EF {
39274
39275
  if (r.contentDOM && r.contentDOM != r.dom && !r.contentDOM.contains(e.target))
39275
39276
  return { from: r.posBefore, to: r.posAfter };
39276
39277
  let i = e.previousSibling, o = e.nextSibling;
39277
- if (Zt && Qr <= 11 && e.addedNodes.length)
39278
+ if (Wt && Qr <= 11 && e.addedNodes.length)
39278
39279
  for (let c = 0; c < e.addedNodes.length; c++) {
39279
39280
  let { previousSibling: d, nextSibling: f } = e.addedNodes[c];
39280
39281
  (!d || Array.prototype.indexOf.call(e.addedNodes, d) < 0) && (i = d), (!f || Array.prototype.indexOf.call(e.addedNodes, f) < 0) && (o = f);
@@ -39296,7 +39297,7 @@ class EF {
39296
39297
  let Lm = /* @__PURE__ */ new WeakMap(), Nm = !1;
39297
39298
  function MF(t) {
39298
39299
  if (!Lm.has(t) && (Lm.set(t, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace) !== -1)) {
39299
- if (t.requiresGeckoHackNode = Rn, Nm)
39300
+ if (t.requiresGeckoHackNode = Ln, Nm)
39300
39301
  return;
39301
39302
  console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), Nm = !0;
39302
39303
  }
@@ -39344,10 +39345,10 @@ function IF(t) {
39344
39345
  if (e)
39345
39346
  return e.parseRule();
39346
39347
  if (t.nodeName == "BR" && t.parentNode) {
39347
- if (Lt && /^(ul|ol)$/i.test(t.parentNode.nodeName)) {
39348
+ if (Nt && /^(ul|ol)$/i.test(t.parentNode.nodeName)) {
39348
39349
  let n = document.createElement("div");
39349
39350
  return n.appendChild(document.createElement("li")), { skip: n };
39350
- } else if (t.parentNode.lastChild == t || Lt && /^(tr|table)$/i.test(t.parentNode.nodeName))
39351
+ } else if (t.parentNode.lastChild == t || Nt && /^(tr|table)$/i.test(t.parentNode.nodeName))
39351
39352
  return { ignore: !0 };
39352
39353
  } else if (t.nodeName == "IMG" && t.getAttribute("mark-placeholder"))
39353
39354
  return { ignore: !0 };
@@ -39359,7 +39360,7 @@ function DF(t, e, n, r, i) {
39359
39360
  if (t.input.compositionPendingChanges = 0, e < 0) {
39360
39361
  let F = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, Z = xf(t, F);
39361
39362
  if (Z && !t.state.selection.eq(Z)) {
39362
- if (kt && xn && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (j) => j(t, Di(13, "Enter"))))
39363
+ if (kt && An && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (j) => j(t, Di(13, "Enter"))))
39363
39364
  return;
39364
39365
  let z = t.state.tr.setSelection(Z);
39365
39366
  F == "pointer" ? z.setMeta("pointer", !0) : F == "key" && z.scrollIntoView(), o && z.setMeta("composition", o), t.dispatch(z);
@@ -39371,7 +39372,7 @@ function DF(t, e, n, r, i) {
39371
39372
  let l = t.state.selection, u = AF(t, e, n), c = t.state.doc, d = c.slice(u.from, u.to), f, h;
39372
39373
  t.input.lastKeyCode === 8 && Date.now() - 100 < t.input.lastKeyCodeTime ? (f = t.state.selection.to, h = "end") : (f = t.state.selection.from, h = "start"), t.input.lastKeyCode = null;
39373
39374
  let p = NF(d.content, u.doc.content, u.from, f, h);
39374
- if ((jo && t.input.lastIOSEnter > Date.now() - 225 || xn) && i.some((F) => F.nodeType == 1 && !PF.test(F.nodeName)) && (!p || p.endA >= p.endB) && t.someProp("handleKeyDown", (F) => F(t, Di(13, "Enter")))) {
39375
+ if ((jo && t.input.lastIOSEnter > Date.now() - 225 || An) && i.some((F) => F.nodeType == 1 && !PF.test(F.nodeName)) && (!p || p.endA >= p.endB) && t.someProp("handleKeyDown", (F) => F(t, Di(13, "Enter")))) {
39375
39376
  t.input.lastIOSEnter = 0;
39376
39377
  return;
39377
39378
  }
@@ -39392,17 +39393,17 @@ function DF(t, e, n, r, i) {
39392
39393
  let F = p.endB - p.start;
39393
39394
  u.sel = { anchor: u.sel.anchor + F, head: u.sel.anchor + F };
39394
39395
  }
39395
- t.input.domChangeCount++, t.state.selection.from < t.state.selection.to && p.start == p.endB && t.state.selection instanceof ce && (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 && Qr <= 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--);
39396
+ t.input.domChangeCount++, t.state.selection.from < t.state.selection.to && p.start == p.endB && t.state.selection instanceof ce && (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)), Wt && Qr <= 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--);
39396
39397
  let g = u.doc.resolveNoCache(p.start - u.from), m = u.doc.resolveNoCache(p.endB - u.from), y = c.resolve(p.start), b = g.sameParent(m) && g.parent.inlineContent && y.end() >= p.endA, C;
39397
39398
  if ((jo && t.input.lastIOSEnter > Date.now() - 225 && (!b || i.some((F) => F.nodeName == "DIV" || F.nodeName == "P")) || !b && g.pos < u.doc.content.size && !g.sameParent(m) && (C = ge.findFrom(u.doc.resolve(g.pos + 1), 1, !0)) && C.head == m.pos) && t.someProp("handleKeyDown", (F) => F(t, Di(13, "Enter")))) {
39398
39399
  t.input.lastIOSEnter = 0;
39399
39400
  return;
39400
39401
  }
39401
39402
  if (t.state.selection.anchor > p.start && LF(c, p.start, p.endA, g, m) && t.someProp("handleKeyDown", (F) => F(t, Di(8, "Backspace")))) {
39402
- xn && kt && t.domObserver.suppressSelectionUpdates();
39403
+ An && kt && t.domObserver.suppressSelectionUpdates();
39403
39404
  return;
39404
39405
  }
39405
- kt && xn && p.endB == p.start && (t.input.lastAndroidDelete = Date.now()), xn && !b && 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(() => {
39406
+ kt && An && p.endB == p.start && (t.input.lastAndroidDelete = Date.now()), An && !b && 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(() => {
39406
39407
  t.someProp("handleKeyDown", function(F) {
39407
39408
  return F(t, Di(13, "Enter"));
39408
39409
  });
@@ -39410,7 +39411,7 @@ function DF(t, e, n, r, i) {
39410
39411
  let w = p.start, E = p.endA, S, T, M;
39411
39412
  if (b) {
39412
39413
  if (g.pos == m.pos)
39413
- Zt && Qr <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => mr(t), 20)), S = t.state.tr.delete(w, E), T = c.resolve(p.start).marksAcross(c.resolve(p.endA));
39414
+ Wt && Qr <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => mr(t), 20)), S = t.state.tr.delete(w, E), T = c.resolve(p.start).marksAcross(c.resolve(p.endA));
39414
39415
  else if (
39415
39416
  // Adding or removing a mark
39416
39417
  p.endA == p.endB && (M = RF(g.parent.content.cut(g.parentOffset, m.parentOffset), y.parent.content.cut(y.parentOffset, p.endA - y.start())))
@@ -39425,7 +39426,7 @@ function DF(t, e, n, r, i) {
39425
39426
  }
39426
39427
  if (S || (S = t.state.tr.replace(w, E, u.doc.slice(p.start - u.from, p.endB - u.from))), u.sel) {
39427
39428
  let F = $m(t, S.doc, u.sel);
39428
- F && !(kt && xn && t.composing && F.empty && (p.start != p.endB || t.input.lastAndroidDelete < Date.now() - 100) && (F.head == w || F.head == S.mapping.map(E) - 1) || Zt && F.empty && F.head == w) && S.setSelection(F);
39429
+ F && !(kt && An && t.composing && F.empty && (p.start != p.endB || t.input.lastAndroidDelete < Date.now() - 100) && (F.head == w || F.head == S.mapping.map(E) - 1) || Wt && F.empty && F.head == w) && S.setSelection(F);
39429
39430
  }
39430
39431
  T && S.ensureMarks(T), o && S.setMeta("composition", o), t.dispatch(S.scrollIntoView());
39431
39432
  }
@@ -39573,7 +39574,7 @@ class $F {
39573
39574
  let f = c == "preserve" && s && this.dom.style.overflowAnchor == null && v$(this);
39574
39575
  if (s) {
39575
39576
  this.domObserver.stop();
39576
- let h = d && (Zt || kt) && !this.composing && !i.selection.empty && !e.selection.empty && FF(i.selection, e.selection);
39577
+ let h = d && (Wt || kt) && !this.composing && !i.selection.empty && !e.selection.empty && FF(i.selection, e.selection);
39577
39578
  if (d) {
39578
39579
  let p = kt ? this.trackWrites = this.domSelectionRange().focusNode : null;
39579
39580
  (o || !this.docView.update(e.doc, u, l, this)) && (this.docView.updateOuterDeco([]), this.docView.destroy(), this.docView = bm(e.doc, u, l, this.dom, this)), p && !this.trackWrites && (h = !0);
@@ -39647,7 +39648,7 @@ class $F {
39647
39648
  Query whether the view has focus.
39648
39649
  */
39649
39650
  hasFocus() {
39650
- if (Zt) {
39651
+ if (Wt) {
39651
39652
  let e = this.root.activeElement;
39652
39653
  if (e == this.dom)
39653
39654
  return !0;
@@ -39819,7 +39820,7 @@ class $F {
39819
39820
  @internal
39820
39821
  */
39821
39822
  domSelectionRange() {
39822
- return Lt && this.root.nodeType === 11 && d$(this.dom.ownerDocument) == this.dom ? xF(this) : this.domSelection();
39823
+ return Nt && this.root.nodeType === 11 && d$(this.dom.ownerDocument) == this.dom ? xF(this) : this.domSelection();
39823
39824
  }
39824
39825
  /**
39825
39826
  @internal
@@ -40219,7 +40220,7 @@ const rB = (t, e) => {
40219
40220
  return !0;
40220
40221
  }, iB = (t, e) => {
40221
40222
  let n = t.selection, { $from: r, $to: i } = n;
40222
- if (n instanceof Pn || r.parent.inlineContent || i.parent.inlineContent)
40223
+ if (n instanceof Dn || r.parent.inlineContent || i.parent.inlineContent)
40223
40224
  return !1;
40224
40225
  let o = Y7(i.parent.contentMatchAt(i.indexAfter()));
40225
40226
  if (!o || !o.isTextblock)
@@ -41556,7 +41557,7 @@ function zf(t) {
41556
41557
  return (e) => TV(e.$from, t);
41557
41558
  }
41558
41559
  function EV(t, e) {
41559
- const n = Un.fromSchema(e).serializeFragment(t), i = document.implementation.createHTMLDocument().createElement("div");
41560
+ const n = Kn.fromSchema(e).serializeFragment(t), i = document.implementation.createHTMLDocument().createElement("div");
41560
41561
  return i.appendChild(n), i.innerHTML;
41561
41562
  }
41562
41563
  function MV(t, e) {
@@ -42831,7 +42832,7 @@ function Xi(t) {
42831
42832
  }
42832
42833
  });
42833
42834
  }
42834
- var Wt = "top", bn = "bottom", wn = "right", Ut = "left", Zf = "auto", r0 = [Wt, bn, wn, Ut], Uo = "start", Ra = "end", dH = "clippingParents", l4 = "viewport", bs = "popper", fH = "reference", Jm = /* @__PURE__ */ r0.reduce(function(t, e) {
42835
+ var Ut = "top", wn = "bottom", Sn = "right", Kt = "left", Zf = "auto", r0 = [Ut, wn, Sn, Kt], Uo = "start", Ra = "end", dH = "clippingParents", l4 = "viewport", bs = "popper", fH = "reference", Jm = /* @__PURE__ */ r0.reduce(function(t, e) {
42835
42836
  return t.concat([e + "-" + Uo, e + "-" + Ra]);
42836
42837
  }, []), u4 = /* @__PURE__ */ [].concat(r0, [Zf]).reduce(function(t, e) {
42837
42838
  return t.concat([e, e + "-" + Uo, e + "-" + Ra]);
@@ -42852,7 +42853,7 @@ function eo(t) {
42852
42853
  var e = nn(t).Element;
42853
42854
  return t instanceof e || t instanceof Element;
42854
42855
  }
42855
- function yn(t) {
42856
+ function vn(t) {
42856
42857
  var e = nn(t).HTMLElement;
42857
42858
  return t instanceof e || t instanceof HTMLElement;
42858
42859
  }
@@ -42866,7 +42867,7 @@ function kH(t) {
42866
42867
  var e = t.state;
42867
42868
  Object.keys(e.elements).forEach(function(n) {
42868
42869
  var r = e.styles[n] || {}, i = e.attributes[n] || {}, o = e.elements[n];
42869
- !yn(o) || !Qn(o) || (Object.assign(o.style, r), Object.keys(i).forEach(function(s) {
42870
+ !vn(o) || !Qn(o) || (Object.assign(o.style, r), Object.keys(i).forEach(function(s) {
42870
42871
  var a = i[s];
42871
42872
  a === !1 ? o.removeAttribute(s) : o.setAttribute(s, a === !0 ? "" : a);
42872
42873
  }));
@@ -42890,7 +42891,7 @@ function OH(t) {
42890
42891
  var i = e.elements[r], o = e.attributes[r] || {}, s = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : n[r]), a = s.reduce(function(l, u) {
42891
42892
  return l[u] = "", l;
42892
42893
  }, {});
42893
- !yn(i) || !Qn(i) || (Object.assign(i.style, a), Object.keys(o).forEach(function(l) {
42894
+ !vn(i) || !Qn(i) || (Object.assign(i.style, a), Object.keys(o).forEach(function(l) {
42894
42895
  i.removeAttribute(l);
42895
42896
  }));
42896
42897
  });
@@ -42920,7 +42921,7 @@ function d4() {
42920
42921
  function Go(t, e, n) {
42921
42922
  e === void 0 && (e = !1), n === void 0 && (n = !1);
42922
42923
  var r = t.getBoundingClientRect(), i = 1, o = 1;
42923
- e && yn(t) && (i = t.offsetWidth > 0 && Ko(r.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Ko(r.height) / t.offsetHeight || 1);
42924
+ e && vn(t) && (i = t.offsetWidth > 0 && Ko(r.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Ko(r.height) / t.offsetHeight || 1);
42924
42925
  var s = eo(t) ? nn(t) : window, a = s.visualViewport, l = !d4() && n, u = (r.left + (l && a ? a.offsetLeft : 0)) / i, c = (r.top + (l && a ? a.offsetTop : 0)) / o, d = r.width / i, f = r.height / o;
42925
42926
  return {
42926
42927
  width: d,
@@ -42981,18 +42982,18 @@ function L2(t) {
42981
42982
  );
42982
42983
  }
42983
42984
  function Qm(t) {
42984
- return !yn(t) || // https://github.com/popperjs/popper-core/issues/837
42985
+ return !vn(t) || // https://github.com/popperjs/popper-core/issues/837
42985
42986
  wr(t).position === "fixed" ? null : t.offsetParent;
42986
42987
  }
42987
42988
  function EH(t) {
42988
42989
  var e = /firefox/i.test(td()), n = /Trident/i.test(td());
42989
- if (n && yn(t)) {
42990
+ if (n && vn(t)) {
42990
42991
  var r = wr(t);
42991
42992
  if (r.position === "fixed")
42992
42993
  return null;
42993
42994
  }
42994
42995
  var i = L2(t);
42995
- for (Wf(i) && (i = i.host); yn(i) && ["html", "body"].indexOf(Qn(i)) < 0; ) {
42996
+ for (Wf(i) && (i = i.host); vn(i) && ["html", "body"].indexOf(Qn(i)) < 0; ) {
42996
42997
  var o = wr(i);
42997
42998
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
42998
42999
  return i;
@@ -43037,9 +43038,9 @@ var xH = function(e, n) {
43037
43038
  })) : e, p4(typeof e != "number" ? e : m4(e, r0));
43038
43039
  };
43039
43040
  function AH(t) {
43040
- var e, n = t.state, r = t.name, i = t.options, o = n.elements.arrow, s = n.modifiersData.popperOffsets, a = qn(n.placement), l = Kf(a), u = [Ut, wn].indexOf(a) >= 0, c = u ? "height" : "width";
43041
+ var e, n = t.state, r = t.name, i = t.options, o = n.elements.arrow, s = n.modifiersData.popperOffsets, a = qn(n.placement), l = Kf(a), u = [Kt, Sn].indexOf(a) >= 0, c = u ? "height" : "width";
43041
43042
  if (!(!o || !s)) {
43042
- var d = xH(i.padding, n), f = Uf(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 = i0(o), b = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, C = g / 2 - m / 2, w = d[h], E = b - f[c] - d[p], S = b / 2 - f[c] / 2 + C, T = $s(w, S, E), M = l;
43043
+ var d = xH(i.padding, n), f = Uf(o), h = l === "y" ? Ut : Kt, p = l === "y" ? wn : Sn, g = n.rects.reference[c] + n.rects.reference[l] - s[l] - n.rects.popper[c], m = s[l] - n.rects.reference[l], y = i0(o), b = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, C = g / 2 - m / 2, w = d[h], E = b - f[c] - d[p], S = b / 2 - f[c] / 2 + C, T = $s(w, S, E), M = l;
43043
43044
  n.modifiersData[r] = (e = {}, e[M] = T, e.centerOffset = T - S, e);
43044
43045
  }
43045
43046
  }
@@ -43081,19 +43082,19 @@ function Xm(t) {
43081
43082
  y: g
43082
43083
  };
43083
43084
  h = m.x, g = m.y;
43084
- var y = s.hasOwnProperty("x"), b = s.hasOwnProperty("y"), C = Ut, w = Wt, E = window;
43085
+ var y = s.hasOwnProperty("x"), b = s.hasOwnProperty("y"), C = Kt, w = Ut, E = window;
43085
43086
  if (u) {
43086
43087
  var S = i0(n), T = "clientHeight", M = "clientWidth";
43087
- if (S === nn(n) && (S = mi(n), wr(S).position !== "static" && a === "absolute" && (T = "scrollHeight", M = "scrollWidth")), S = S, i === Wt || (i === Ut || i === wn) && o === Ra) {
43088
- w = bn;
43088
+ if (S === nn(n) && (S = mi(n), wr(S).position !== "static" && a === "absolute" && (T = "scrollHeight", M = "scrollWidth")), S = S, i === Ut || (i === Kt || i === Sn) && o === Ra) {
43089
+ w = wn;
43089
43090
  var F = d && S === E && E.visualViewport ? E.visualViewport.height : (
43090
43091
  // $FlowFixMe[prop-missing]
43091
43092
  S[T]
43092
43093
  );
43093
43094
  g -= F - r.height, g *= l ? 1 : -1;
43094
43095
  }
43095
- if (i === Ut || (i === Wt || i === bn) && o === Ra) {
43096
- C = wn;
43096
+ if (i === Kt || (i === Ut || i === wn) && o === Ra) {
43097
+ C = Sn;
43097
43098
  var Z = d && S === E && E.visualViewport ? E.visualViewport.width : (
43098
43099
  // $FlowFixMe[prop-missing]
43099
43100
  S[M]
@@ -43226,7 +43227,7 @@ function Yf(t) {
43226
43227
  return /auto|scroll|overlay|hidden/.test(n + i + r);
43227
43228
  }
43228
43229
  function g4(t) {
43229
- return ["html", "body", "#document"].indexOf(Qn(t)) >= 0 ? t.ownerDocument.body : yn(t) && Yf(t) ? t : g4(L2(t));
43230
+ return ["html", "body", "#document"].indexOf(Qn(t)) >= 0 ? t.ownerDocument.body : vn(t) && Yf(t) ? t : g4(L2(t));
43230
43231
  }
43231
43232
  function Fs(t, e) {
43232
43233
  var n;
@@ -43253,7 +43254,7 @@ function tg(t, e, n) {
43253
43254
  return e === l4 ? nd(HH(t, n)) : eo(e) ? zH(e, n) : nd(_H(mi(t)));
43254
43255
  }
43255
43256
  function jH(t) {
43256
- var e = Fs(L2(t)), n = ["absolute", "fixed"].indexOf(wr(t).position) >= 0, r = n && yn(t) ? i0(t) : t;
43257
+ var e = Fs(L2(t)), n = ["absolute", "fixed"].indexOf(wr(t).position) >= 0, r = n && vn(t) ? i0(t) : t;
43257
43258
  return eo(r) ? e.filter(function(i) {
43258
43259
  return eo(i) && f4(i, r) && Qn(i) !== "body";
43259
43260
  }) : [];
@@ -43268,25 +43269,25 @@ function ZH(t, e, n, r) {
43268
43269
  function y4(t) {
43269
43270
  var e = t.reference, n = t.element, r = t.placement, i = r ? qn(r) : null, o = r ? qo(r) : null, s = e.x + e.width / 2 - n.width / 2, a = e.y + e.height / 2 - n.height / 2, l;
43270
43271
  switch (i) {
43271
- case Wt:
43272
+ case Ut:
43272
43273
  l = {
43273
43274
  x: s,
43274
43275
  y: e.y - n.height
43275
43276
  };
43276
43277
  break;
43277
- case bn:
43278
+ case wn:
43278
43279
  l = {
43279
43280
  x: s,
43280
43281
  y: e.y + e.height
43281
43282
  };
43282
43283
  break;
43283
- case wn:
43284
+ case Sn:
43284
43285
  l = {
43285
43286
  x: e.x + e.width,
43286
43287
  y: a
43287
43288
  };
43288
43289
  break;
43289
- case Ut:
43290
+ case Kt:
43290
43291
  l = {
43291
43292
  x: e.x - n.width,
43292
43293
  y: a
@@ -43328,7 +43329,7 @@ function La(t, e) {
43328
43329
  if (f === bs && z) {
43329
43330
  var j = z[i];
43330
43331
  Object.keys(Z).forEach(function(J) {
43331
- var se = [wn, bn].indexOf(J) >= 0 ? 1 : -1, q = [Wt, bn].indexOf(J) >= 0 ? "y" : "x";
43332
+ var se = [Sn, wn].indexOf(J) >= 0 ? 1 : -1, q = [Ut, wn].indexOf(J) >= 0 ? "y" : "x";
43332
43333
  Z[J] += j[q] * se;
43333
43334
  });
43334
43335
  }
@@ -43363,27 +43364,27 @@ function UH(t) {
43363
43364
  function KH(t) {
43364
43365
  var e = t.state, n = t.options, r = t.name;
43365
43366
  if (!e.modifiersData[r]._skip) {
43366
- 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 = qn(m), b = y === m, C = l || (b || !p ? [W0(m)] : UH(m)), w = [m].concat(C).reduce(function(Kt, Gt) {
43367
- return Kt.concat(qn(Gt) === Zf ? WH(e, {
43368
- placement: Gt,
43367
+ 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 = qn(m), b = y === m, C = l || (b || !p ? [W0(m)] : UH(m)), w = [m].concat(C).reduce(function(Gt, qt) {
43368
+ return Gt.concat(qn(qt) === Zf ? WH(e, {
43369
+ placement: qt,
43369
43370
  boundary: c,
43370
43371
  rootBoundary: d,
43371
43372
  padding: u,
43372
43373
  flipVariations: p,
43373
43374
  allowedAutoPlacements: g
43374
- }) : Gt);
43375
+ }) : qt);
43375
43376
  }, []), E = e.rects.reference, S = e.rects.popper, T = /* @__PURE__ */ new Map(), M = !0, F = w[0], Z = 0; Z < w.length; Z++) {
43376
- var z = w[Z], j = qn(z), J = qo(z) === Uo, se = [Wt, bn].indexOf(j) >= 0, q = se ? "width" : "height", ne = La(e, {
43377
+ var z = w[Z], j = qn(z), J = qo(z) === Uo, se = [Ut, wn].indexOf(j) >= 0, q = se ? "width" : "height", ne = La(e, {
43377
43378
  placement: z,
43378
43379
  boundary: c,
43379
43380
  rootBoundary: d,
43380
43381
  altBoundary: f,
43381
43382
  padding: u
43382
- }), fe = se ? J ? wn : Ut : J ? bn : Wt;
43383
+ }), fe = se ? J ? Sn : Kt : J ? wn : Ut;
43383
43384
  E[q] > S[q] && (fe = W0(fe));
43384
43385
  var be = W0(fe), ct = [];
43385
- if (o && ct.push(ne[j] <= 0), a && ct.push(ne[fe] <= 0, ne[be] <= 0), ct.every(function(Kt) {
43386
- return Kt;
43386
+ if (o && ct.push(ne[j] <= 0), a && ct.push(ne[fe] <= 0, ne[be] <= 0), ct.every(function(Gt) {
43387
+ return Gt;
43387
43388
  })) {
43388
43389
  F = z, M = !1;
43389
43390
  break;
@@ -43391,19 +43392,19 @@ function KH(t) {
43391
43392
  T.set(z, ct);
43392
43393
  }
43393
43394
  if (M)
43394
- for (var xt = p ? 3 : 1, vt = function(Gt) {
43395
- var kn = w.find(function(gi) {
43396
- var On = T.get(gi);
43397
- if (On)
43398
- return On.slice(0, Gt).every(function(Tr) {
43395
+ for (var xt = p ? 3 : 1, vt = function(qt) {
43396
+ var On = w.find(function(gi) {
43397
+ var Tn = T.get(gi);
43398
+ if (Tn)
43399
+ return Tn.slice(0, qt).every(function(Tr) {
43399
43400
  return Tr;
43400
43401
  });
43401
43402
  });
43402
- if (kn)
43403
- return F = kn, "break";
43403
+ if (On)
43404
+ return F = On, "break";
43404
43405
  }, bt = xt; bt > 0; bt--) {
43405
- var Cn = vt(bt);
43406
- if (Cn === "break")
43406
+ var kn = vt(bt);
43407
+ if (kn === "break")
43407
43408
  break;
43408
43409
  }
43409
43410
  e.placement !== F && (e.modifiersData[r]._skip = !0, e.placement = F, e.reset = !0);
@@ -43431,7 +43432,7 @@ function ng(t, e, n) {
43431
43432
  };
43432
43433
  }
43433
43434
  function rg(t) {
43434
- return [Wt, wn, bn, Ut].some(function(e) {
43435
+ return [Ut, Sn, wn, Kt].some(function(e) {
43435
43436
  return t[e] >= 0;
43436
43437
  });
43437
43438
  }
@@ -43459,10 +43460,10 @@ const YH = {
43459
43460
  fn: qH
43460
43461
  };
43461
43462
  function JH(t, e, n) {
43462
- var r = qn(t), i = [Ut, Wt].indexOf(r) >= 0 ? -1 : 1, o = typeof n == "function" ? n(Object.assign({}, e, {
43463
+ var r = qn(t), i = [Kt, Ut].indexOf(r) >= 0 ? -1 : 1, o = typeof n == "function" ? n(Object.assign({}, e, {
43463
43464
  placement: t
43464
43465
  })) : n, s = o[0], a = o[1];
43465
- return s = s || 0, a = (a || 0) * i, [Ut, wn].indexOf(r) >= 0 ? {
43466
+ return s = s || 0, a = (a || 0) * i, [Kt, Sn].indexOf(r) >= 0 ? {
43466
43467
  x: a,
43467
43468
  y: s
43468
43469
  } : {
@@ -43522,15 +43523,15 @@ function r_(t) {
43522
43523
  };
43523
43524
  if (S) {
43524
43525
  if (o) {
43525
- var J, se = w === "y" ? Wt : Ut, q = w === "y" ? bn : wn, ne = w === "y" ? "height" : "width", fe = S[w], be = fe + m[se], ct = fe - m[q], xt = h ? -M[ne] / 2 : 0, vt = b === Uo ? T[ne] : M[ne], bt = b === Uo ? -M[ne] : -T[ne], Cn = e.elements.arrow, Kt = h && Cn ? Uf(Cn) : {
43526
+ var J, se = w === "y" ? Ut : Kt, q = w === "y" ? wn : Sn, ne = w === "y" ? "height" : "width", fe = S[w], be = fe + m[se], ct = fe - m[q], xt = h ? -M[ne] / 2 : 0, vt = b === Uo ? T[ne] : M[ne], bt = b === Uo ? -M[ne] : -T[ne], kn = e.elements.arrow, Gt = h && kn ? Uf(kn) : {
43526
43527
  width: 0,
43527
43528
  height: 0
43528
- }, Gt = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : h4(), kn = Gt[se], gi = Gt[q], On = $s(0, T[ne], Kt[ne]), Tr = C ? T[ne] / 2 - xt - On - kn - Z.mainAxis : vt - On - kn - Z.mainAxis, Ln = C ? -T[ne] / 2 + xt + On + gi + Z.mainAxis : bt + On + gi + Z.mainAxis, Er = e.elements.arrow && i0(e.elements.arrow), ro = Er ? w === "y" ? Er.clientTop || 0 : Er.clientLeft || 0 : 0, yi = (J = z == null ? void 0 : z[w]) != null ? J : 0, io = fe + Tr - yi - ro, oo = fe + Ln - yi, Mr = $s(h ? kl(be, io) : be, fe, h ? Ki(ct, oo) : ct);
43529
+ }, qt = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : h4(), On = qt[se], gi = qt[q], Tn = $s(0, T[ne], Gt[ne]), Tr = C ? T[ne] / 2 - xt - Tn - On - Z.mainAxis : vt - Tn - On - Z.mainAxis, Nn = C ? -T[ne] / 2 + xt + Tn + gi + Z.mainAxis : bt + Tn + gi + Z.mainAxis, Er = e.elements.arrow && i0(e.elements.arrow), ro = Er ? w === "y" ? Er.clientTop || 0 : Er.clientLeft || 0 : 0, yi = (J = z == null ? void 0 : z[w]) != null ? J : 0, io = fe + Tr - yi - ro, oo = fe + Nn - yi, Mr = $s(h ? kl(be, io) : be, fe, h ? Ki(ct, oo) : ct);
43529
43530
  S[w] = Mr, j[w] = Mr - fe;
43530
43531
  }
43531
43532
  if (a) {
43532
- var vi, so = w === "x" ? Wt : Ut, ao = w === "x" ? bn : wn, Tn = S[E], Nn = E === "y" ? "height" : "width", bi = Tn + m[so], nr = Tn - m[ao], wi = [Wt, Ut].indexOf(y) !== -1, Re = (vi = z == null ? void 0 : z[E]) != null ? vi : 0, L = wi ? bi : Tn - T[Nn] - M[Nn] - Re + Z.altAxis, _ = wi ? Tn + T[Nn] + M[Nn] - Re - Z.altAxis : nr, ye = h && wi ? MH(L, Tn, _) : $s(h ? L : bi, Tn, h ? _ : nr);
43533
- S[E] = ye, j[E] = ye - Tn;
43533
+ var vi, so = w === "x" ? Ut : Kt, ao = w === "x" ? wn : Sn, En = S[E], $n = E === "y" ? "height" : "width", bi = En + m[so], nr = En - m[ao], wi = [Ut, Kt].indexOf(y) !== -1, Re = (vi = z == null ? void 0 : z[E]) != null ? vi : 0, L = wi ? bi : En - T[$n] - M[$n] - Re + Z.altAxis, _ = wi ? En + T[$n] + M[$n] - Re - Z.altAxis : nr, ye = h && wi ? MH(L, En, _) : $s(h ? L : bi, En, h ? _ : nr);
43534
+ S[E] = ye, j[E] = ye - En;
43534
43535
  }
43535
43536
  e.modifiersData[r] = j;
43536
43537
  }
@@ -43549,7 +43550,7 @@ function o_(t) {
43549
43550
  };
43550
43551
  }
43551
43552
  function s_(t) {
43552
- return t === nn(t) || !yn(t) ? Gf(t) : o_(t);
43553
+ return t === nn(t) || !vn(t) ? Gf(t) : o_(t);
43553
43554
  }
43554
43555
  function a_(t) {
43555
43556
  var e = t.getBoundingClientRect(), n = Ko(e.width) / t.offsetWidth || 1, r = Ko(e.height) / t.offsetHeight || 1;
@@ -43557,7 +43558,7 @@ function a_(t) {
43557
43558
  }
43558
43559
  function l_(t, e, n) {
43559
43560
  n === void 0 && (n = !1);
43560
- var r = yn(e), i = yn(e) && a_(e), o = mi(e), s = Go(t, i, n), a = {
43561
+ var r = vn(e), i = vn(e) && a_(e), o = mi(e), s = Go(t, i, n), a = {
43561
43562
  scrollLeft: 0,
43562
43563
  scrollTop: 0
43563
43564
  }, l = {
@@ -43565,7 +43566,7 @@ function l_(t, e, n) {
43565
43566
  y: 0
43566
43567
  };
43567
43568
  return (r || !r && !n) && ((Qn(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
43568
- Yf(o)) && (a = s_(e)), yn(e) ? (l = Go(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = qf(o))), {
43569
+ Yf(o)) && (a = s_(e)), vn(e) ? (l = Go(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = qf(o))), {
43569
43570
  x: s.left + a.scrollLeft - l.x,
43570
43571
  y: s.top + a.scrollTop - l.y,
43571
43572
  width: s.width,
@@ -43857,15 +43858,15 @@ function cg(t, e) {
43857
43858
  }
43858
43859
  return !1;
43859
43860
  }
43860
- var jn = {
43861
+ var Zn = {
43861
43862
  isTouch: !1
43862
43863
  }, dg = 0;
43863
43864
  function A_() {
43864
- jn.isTouch || (jn.isTouch = !0, window.performance && document.addEventListener("mousemove", k4));
43865
+ Zn.isTouch || (Zn.isTouch = !0, window.performance && document.addEventListener("mousemove", k4));
43865
43866
  }
43866
43867
  function k4() {
43867
43868
  var t = performance.now();
43868
- t - dg < 20 && (jn.isTouch = !1, document.removeEventListener("mousemove", k4)), dg = t;
43869
+ t - dg < 20 && (Zn.isTouch = !1, document.removeEventListener("mousemove", k4)), dg = t;
43869
43870
  }
43870
43871
  function I_() {
43871
43872
  var t = document.activeElement;
@@ -43945,7 +43946,7 @@ var T4 = {
43945
43946
  role: "tooltip",
43946
43947
  theme: "",
43947
43948
  zIndex: 9999
43948
- }, Jt = Object.assign({
43949
+ }, Qt = Object.assign({
43949
43950
  appendTo: S4,
43950
43951
  aria: {
43951
43952
  content: "auto",
@@ -43993,11 +43994,11 @@ var T4 = {
43993
43994
  touch: !0,
43994
43995
  trigger: "mouseenter focus",
43995
43996
  triggerTarget: null
43996
- }, T4, F_), B_ = Object.keys(Jt), V_ = function(e) {
43997
+ }, T4, F_), B_ = Object.keys(Qt), V_ = function(e) {
43997
43998
  process.env.NODE_ENV !== "production" && M4(e, []);
43998
43999
  var n = Object.keys(e);
43999
44000
  n.forEach(function(r) {
44000
- Jt[r] = e[r];
44001
+ Qt[r] = e[r];
44001
44002
  });
44002
44003
  };
44003
44004
  function E4(t) {
@@ -44005,14 +44006,14 @@ function E4(t) {
44005
44006
  var o = i.name, s = i.defaultValue;
44006
44007
  if (o) {
44007
44008
  var a;
44008
- r[o] = t[o] !== void 0 ? t[o] : (a = Jt[o]) != null ? a : s;
44009
+ r[o] = t[o] !== void 0 ? t[o] : (a = Qt[o]) != null ? a : s;
44009
44010
  }
44010
44011
  return r;
44011
44012
  }, {});
44012
44013
  return Object.assign({}, t, n);
44013
44014
  }
44014
44015
  function H_(t, e) {
44015
- var n = e ? Object.keys(E4(Object.assign({}, Jt, {
44016
+ var n = e ? Object.keys(E4(Object.assign({}, Qt, {
44016
44017
  plugins: e
44017
44018
  }))) : B_, r = n.reduce(function(i, o) {
44018
44019
  var s = (t.getAttribute("data-tippy-" + o) || "").trim();
@@ -44034,7 +44035,7 @@ function hg(t, e) {
44034
44035
  var n = Object.assign({}, e, {
44035
44036
  content: C4(e.content, [t])
44036
44037
  }, e.ignoreAttributes ? {} : H_(t, e.plugins));
44037
- return n.aria = Object.assign({}, Jt.aria, n.aria), n.aria = {
44038
+ return n.aria = Object.assign({}, Qt.aria, n.aria), n.aria = {
44038
44039
  expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded,
44039
44040
  content: n.aria.content === "auto" ? e.interactive ? null : "describedby" : n.aria.content
44040
44041
  }, n;
@@ -44043,7 +44044,7 @@ function M4(t, e) {
44043
44044
  t === void 0 && (t = {}), e === void 0 && (e = []);
44044
44045
  var n = Object.keys(t);
44045
44046
  n.forEach(function(r) {
44046
- var i = b_(Jt, Object.keys(T4)), o = !v_(i, r);
44047
+ var i = b_(Qt, Object.keys(T4)), o = !v_(i, r);
44047
44048
  o && (o = e.filter(function(s) {
44048
44049
  return s.name === r;
44049
44050
  }).length === 0), lr(o, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
@@ -44097,7 +44098,7 @@ function x4(t) {
44097
44098
  x4.$$tippy = !0;
44098
44099
  var z_ = 1, I0 = [], Nu = [];
44099
44100
  function j_(t, e) {
44100
- var n = hg(t, Object.assign({}, Jt, E4(lg(e)))), r, i, o, s = !1, a = !1, l = !1, u = !1, c, d, f, h = [], p = sg(io, n.interactiveDebounce), g, m = z_++, y = null, b = S_(n.plugins), C = {
44101
+ var n = hg(t, Object.assign({}, Qt, E4(lg(e)))), r, i, o, s = !1, a = !1, l = !1, u = !1, c, d, f, h = [], p = sg(io, n.interactiveDebounce), g, m = z_++, y = null, b = S_(n.plugins), C = {
44101
44102
  // Is the instance currently enabled?
44102
44103
  isEnabled: !0,
44103
44104
  // Is the tippy currently showing and not transitioning out?
@@ -44163,7 +44164,7 @@ function j_(t, e) {
44163
44164
  return od(S);
44164
44165
  }
44165
44166
  function ne(N) {
44166
- return w.state.isMounted && !w.state.isVisible || jn.isTouch || c && c.type === "focus" ? 0 : Du(w.props.delay, N ? 0 : 1, Jt.delay);
44167
+ return w.state.isMounted && !w.state.isVisible || Zn.isTouch || c && c.type === "focus" ? 0 : Du(w.props.delay, N ? 0 : 1, Qt.delay);
44167
44168
  }
44168
44169
  function fe(N) {
44169
44170
  N === void 0 && (N = !1), S.style.pointerEvents = w.props.interactive && !N ? "" : "none", S.style.zIndex = "" + w.props.zIndex;
@@ -44205,42 +44206,42 @@ function j_(t, e) {
44205
44206
  });
44206
44207
  }
44207
44208
  function bt(N) {
44208
- if (!(jn.isTouch && (l || N.type === "mousedown"))) {
44209
+ if (!(Zn.isTouch && (l || N.type === "mousedown"))) {
44209
44210
  var X = N.composedPath && N.composedPath()[0] || N.target;
44210
44211
  if (!(w.props.interactive && cg(S, X))) {
44211
44212
  if (ko(w.props.triggerTarget || t).some(function(ae) {
44212
44213
  return cg(ae, X);
44213
44214
  })) {
44214
- if (jn.isTouch || w.state.isVisible && w.props.trigger.indexOf("click") >= 0)
44215
+ if (Zn.isTouch || w.state.isVisible && w.props.trigger.indexOf("click") >= 0)
44215
44216
  return;
44216
44217
  } else
44217
44218
  be("onClickOutside", [w, N]);
44218
44219
  w.props.hideOnClick === !0 && (w.clearDelayTimeouts(), w.hide(), a = !0, setTimeout(function() {
44219
44220
  a = !1;
44220
- }), w.state.isMounted || kn());
44221
+ }), w.state.isMounted || On());
44221
44222
  }
44222
44223
  }
44223
44224
  }
44224
- function Cn() {
44225
+ function kn() {
44225
44226
  l = !0;
44226
44227
  }
44227
- function Kt() {
44228
+ function Gt() {
44228
44229
  l = !1;
44229
44230
  }
44230
- function Gt() {
44231
+ function qt() {
44231
44232
  var N = se();
44232
- N.addEventListener("mousedown", bt, !0), N.addEventListener("touchend", bt, Pi), N.addEventListener("touchstart", Kt, Pi), N.addEventListener("touchmove", Cn, Pi);
44233
+ N.addEventListener("mousedown", bt, !0), N.addEventListener("touchend", bt, Pi), N.addEventListener("touchstart", Gt, Pi), N.addEventListener("touchmove", kn, Pi);
44233
44234
  }
44234
- function kn() {
44235
+ function On() {
44235
44236
  var N = se();
44236
- N.removeEventListener("mousedown", bt, !0), N.removeEventListener("touchend", bt, Pi), N.removeEventListener("touchstart", Kt, Pi), N.removeEventListener("touchmove", Cn, Pi);
44237
+ N.removeEventListener("mousedown", bt, !0), N.removeEventListener("touchend", bt, Pi), N.removeEventListener("touchstart", Gt, Pi), N.removeEventListener("touchmove", kn, Pi);
44237
44238
  }
44238
44239
  function gi(N, X) {
44239
44240
  Tr(N, function() {
44240
44241
  !w.state.isVisible && S.parentNode && S.parentNode.contains(S) && X();
44241
44242
  });
44242
44243
  }
44243
- function On(N, X) {
44244
+ function Tn(N, X) {
44244
44245
  Tr(N, X);
44245
44246
  }
44246
44247
  function Tr(N, X) {
@@ -44252,7 +44253,7 @@ function j_(t, e) {
44252
44253
  return X();
44253
44254
  Lu(ae, "remove", d), Lu(ae, "add", Me), d = Me;
44254
44255
  }
44255
- function Ln(N, X, ae) {
44256
+ function Nn(N, X, ae) {
44256
44257
  ae === void 0 && (ae = !1);
44257
44258
  var Me = ko(w.props.triggerTarget || t);
44258
44259
  Me.forEach(function(we) {
@@ -44265,21 +44266,21 @@ function j_(t, e) {
44265
44266
  });
44266
44267
  }
44267
44268
  function Er() {
44268
- z() && (Ln("touchstart", yi, {
44269
+ z() && (Nn("touchstart", yi, {
44269
44270
  passive: !0
44270
- }), Ln("touchend", oo, {
44271
+ }), Nn("touchend", oo, {
44271
44272
  passive: !0
44272
44273
  })), w_(w.props.trigger).forEach(function(N) {
44273
44274
  if (N !== "manual")
44274
- switch (Ln(N, yi), N) {
44275
+ switch (Nn(N, yi), N) {
44275
44276
  case "mouseenter":
44276
- Ln("mouseleave", oo);
44277
+ Nn("mouseleave", oo);
44277
44278
  break;
44278
44279
  case "focus":
44279
- Ln(R_ ? "focusout" : "blur", Mr);
44280
+ Nn(R_ ? "focusout" : "blur", Mr);
44280
44281
  break;
44281
44282
  case "focusin":
44282
- Ln("focusout", Mr);
44283
+ Nn("focusout", Mr);
44283
44284
  break;
44284
44285
  }
44285
44286
  });
@@ -44302,7 +44303,7 @@ function j_(t, e) {
44302
44303
  function io(N) {
44303
44304
  var X = N.target, ae = J().contains(X) || S.contains(X);
44304
44305
  if (!(N.type === "mousemove" && ae)) {
44305
- var Me = Nn().concat(S).map(function(we) {
44306
+ var Me = $n().concat(S).map(function(we) {
44306
44307
  var At, sn = we._tippy, uo = (At = sn.popperInstance) == null ? void 0 : At.state;
44307
44308
  return uo ? {
44308
44309
  popperRect: we.getBoundingClientRect(),
@@ -44327,7 +44328,7 @@ function j_(t, e) {
44327
44328
  w.props.trigger.indexOf("focusin") < 0 && N.target !== J() || w.props.interactive && N.relatedTarget && S.contains(N.relatedTarget) || nr(N);
44328
44329
  }
44329
44330
  function vi(N) {
44330
- return jn.isTouch ? z() !== N.type.indexOf("touch") >= 0 : !1;
44331
+ return Zn.isTouch ? z() !== N.type.indexOf("touch") >= 0 : !1;
44331
44332
  }
44332
44333
  function so() {
44333
44334
  ao();
@@ -44389,9 +44390,9 @@ function j_(t, e) {
44389
44390
  function ao() {
44390
44391
  w.popperInstance && (w.popperInstance.destroy(), w.popperInstance = null);
44391
44392
  }
44392
- function Tn() {
44393
+ function En() {
44393
44394
  var N = w.props.appendTo, X, ae = J();
44394
- w.props.interactive && N === S4 || N === "parent" ? X = ae.parentNode : X = C4(N, [ae]), X.contains(S) || X.appendChild(S), w.state.isMounted = !0, so(), process.env.NODE_ENV !== "production" && lr(w.props.interactive && N === Jt.appendTo && ae.nextElementSibling !== S, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
44395
+ w.props.interactive && N === S4 || N === "parent" ? X = ae.parentNode : X = C4(N, [ae]), X.contains(S) || X.appendChild(S), w.state.isMounted = !0, so(), process.env.NODE_ENV !== "production" && lr(w.props.interactive && N === Qt.appendTo && ae.nextElementSibling !== S, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
44395
44396
 
44396
44397
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
44397
44398
 
@@ -44399,19 +44400,19 @@ function j_(t, e) {
44399
44400
 
44400
44401
  `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
44401
44402
  }
44402
- function Nn() {
44403
+ function $n() {
44403
44404
  return Ol(S.querySelectorAll("[data-tippy-root]"));
44404
44405
  }
44405
44406
  function bi(N) {
44406
- w.clearDelayTimeouts(), N && be("onTrigger", [w, N]), Gt();
44407
+ w.clearDelayTimeouts(), N && be("onTrigger", [w, N]), qt();
44407
44408
  var X = ne(!0), ae = Z(), Me = ae[0], we = ae[1];
44408
- jn.isTouch && Me === "hold" && we && (X = we), X ? r = setTimeout(function() {
44409
+ Zn.isTouch && Me === "hold" && we && (X = we), X ? r = setTimeout(function() {
44409
44410
  w.show();
44410
44411
  }, X) : w.show();
44411
44412
  }
44412
44413
  function nr(N) {
44413
44414
  if (w.clearDelayTimeouts(), be("onUntrigger", [w, N]), !w.state.isVisible) {
44414
- kn();
44415
+ On();
44415
44416
  return;
44416
44417
  }
44417
44418
  if (!(w.props.trigger.indexOf("mouseenter") >= 0 && w.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(N.type) >= 0 && s)) {
@@ -44440,7 +44441,7 @@ function j_(t, e) {
44440
44441
  }));
44441
44442
  w.props = ae, Er(), X.interactiveDebounce !== ae.interactiveDebounce && (vt(), p = sg(io, ae.interactiveDebounce)), X.triggerTarget && !ae.triggerTarget ? ko(X.triggerTarget).forEach(function(Me) {
44442
44443
  Me.removeAttribute("aria-expanded");
44443
- }) : ae.triggerTarget && t.removeAttribute("aria-expanded"), xt(), fe(), T && T(X, ae), w.popperInstance && (so(), Nn().forEach(function(Me) {
44444
+ }) : ae.triggerTarget && t.removeAttribute("aria-expanded"), xt(), fe(), T && T(X, ae), w.popperInstance && (so(), $n().forEach(function(Me) {
44444
44445
  requestAnimationFrame(Me._tippy.popperInstance.forceUpdate);
44445
44446
  })), be("onAfterUpdate", [w, N]);
44446
44447
  }
@@ -44452,9 +44453,9 @@ function j_(t, e) {
44452
44453
  }
44453
44454
  function Fe() {
44454
44455
  process.env.NODE_ENV !== "production" && lr(w.state.isDestroyed, vo("show"));
44455
- var N = w.state.isVisible, X = w.state.isDestroyed, ae = !w.state.isEnabled, Me = jn.isTouch && !w.props.touch, we = Du(w.props.duration, 0, Jt.duration);
44456
+ var N = w.state.isVisible, X = w.state.isDestroyed, ae = !w.state.isEnabled, Me = Zn.isTouch && !w.props.touch, we = Du(w.props.duration, 0, Qt.duration);
44456
44457
  if (!(N || X || ae || Me) && !J().hasAttribute("disabled") && (be("onShow", [w], !1), w.props.onShow(w) !== !1)) {
44457
- if (w.state.isVisible = !0, j() && (S.style.visibility = "visible"), fe(), Gt(), w.state.isMounted || (S.style.transition = "none"), j()) {
44458
+ if (w.state.isVisible = !0, j() && (S.style.visibility = "visible"), fe(), qt(), w.state.isMounted || (S.style.transition = "none"), j()) {
44458
44459
  var At = q(), sn = At.box, uo = At.content;
44459
44460
  Ru([sn, uo], 0);
44460
44461
  }
@@ -44465,18 +44466,18 @@ function j_(t, e) {
44465
44466
  var $2 = q(), o0 = $2.box, co = $2.content;
44466
44467
  Ru([o0, co], we), ug([o0, co], "visible");
44467
44468
  }
44468
- ct(), xt(), ag(Nu, w), (Si = w.popperInstance) == null || Si.forceUpdate(), be("onMount", [w]), w.props.animation && j() && On(we, function() {
44469
+ ct(), xt(), ag(Nu, w), (Si = w.popperInstance) == null || Si.forceUpdate(), be("onMount", [w]), w.props.animation && j() && Tn(we, function() {
44469
44470
  w.state.isShown = !0, be("onShown", [w]);
44470
44471
  });
44471
44472
  }
44472
- }, Tn();
44473
+ }, En();
44473
44474
  }
44474
44475
  }
44475
44476
  function rr() {
44476
44477
  process.env.NODE_ENV !== "production" && lr(w.state.isDestroyed, vo("hide"));
44477
- var N = !w.state.isVisible, X = w.state.isDestroyed, ae = !w.state.isEnabled, Me = Du(w.props.duration, 1, Jt.duration);
44478
+ var N = !w.state.isVisible, X = w.state.isDestroyed, ae = !w.state.isEnabled, Me = Du(w.props.duration, 1, Qt.duration);
44478
44479
  if (!(N || X || ae) && (be("onHide", [w], !1), w.props.onHide(w) !== !1)) {
44479
- if (w.state.isVisible = !1, w.state.isShown = !1, u = !1, s = !1, j() && (S.style.visibility = "hidden"), vt(), kn(), fe(!0), j()) {
44480
+ if (w.state.isVisible = !1, w.state.isShown = !1, u = !1, s = !1, j() && (S.style.visibility = "hidden"), vt(), On(), fe(!0), j()) {
44480
44481
  var we = q(), At = we.box, sn = we.content;
44481
44482
  w.props.animation && (Ru([At, sn], Me), ug([At, sn], "hidden"));
44482
44483
  }
@@ -44487,7 +44488,7 @@ function j_(t, e) {
44487
44488
  process.env.NODE_ENV !== "production" && lr(w.state.isDestroyed, vo("hideWithInteractivity")), se().addEventListener("mousemove", p), ag(I0, p), p(N);
44488
44489
  }
44489
44490
  function xr() {
44490
- process.env.NODE_ENV !== "production" && lr(w.state.isDestroyed, vo("unmount")), w.state.isVisible && w.hide(), w.state.isMounted && (ao(), Nn().forEach(function(N) {
44491
+ process.env.NODE_ENV !== "production" && lr(w.state.isDestroyed, vo("unmount")), w.state.isVisible && w.hide(), w.state.isMounted && (ao(), $n().forEach(function(N) {
44491
44492
  N._tippy.unmount();
44492
44493
  }), S.parentNode && S.parentNode.removeChild(S), Nu = Nu.filter(function(N) {
44493
44494
  return N !== w;
@@ -44499,7 +44500,7 @@ function j_(t, e) {
44499
44500
  }
44500
44501
  function us(t, e) {
44501
44502
  e === void 0 && (e = {});
44502
- var n = Jt.plugins.concat(e.plugins || []);
44503
+ var n = Qt.plugins.concat(e.plugins || []);
44503
44504
  process.env.NODE_ENV !== "production" && ($_(t), M4(e, n)), P_();
44504
44505
  var r = Object.assign({}, e, {
44505
44506
  plugins: n
@@ -44519,9 +44520,9 @@ function us(t, e) {
44519
44520
  }, []);
44520
44521
  return Na(t) ? a[0] : a;
44521
44522
  }
44522
- us.defaultProps = Jt;
44523
+ us.defaultProps = Qt;
44523
44524
  us.setDefaultProps = V_;
44524
- us.currentInput = jn;
44525
+ us.currentInput = Zn;
44525
44526
  Object.assign({}, c4, {
44526
44527
  effect: function(e) {
44527
44528
  var n = e.state, r = {
@@ -44847,10 +44848,10 @@ const K_ = de({
44847
44848
  const e = V(), n = ai();
44848
44849
  return rt(() => {
44849
44850
  const r = t.editor;
44850
- r && r.options.element && e.value && Wn(() => {
44851
+ r && r.options.element && e.value && Un(() => {
44851
44852
  if (!e.value || !r.options.element.firstChild)
44852
44853
  return;
44853
- const i = Sn(e.value);
44854
+ const i = Cn(e.value);
44854
44855
  e.value.append(...r.options.element.childNodes), r.contentComponent = n.ctx._, r.setOptions({
44855
44856
  element: i
44856
44857
  }), r.createNodeViews();
@@ -45857,7 +45858,7 @@ var Oz = /* @__PURE__ */ function(t) {
45857
45858
  }, e;
45858
45859
  }(lt);
45859
45860
  const Tz = 500;
45860
- class An {
45861
+ class In {
45861
45862
  constructor(e, n) {
45862
45863
  this.items = e, this.eventCount = n;
45863
45864
  }
@@ -45881,24 +45882,24 @@ class An {
45881
45882
  return;
45882
45883
  }
45883
45884
  if (i) {
45884
- c.push(new Vn(d.map));
45885
+ c.push(new Hn(d.map));
45885
45886
  let h = d.step.map(i.slice(o)), p;
45886
- h && s.maybeStep(h).doc && (p = s.mapping.maps[s.mapping.maps.length - 1], u.push(new Vn(p, void 0, void 0, u.length + c.length))), o--, p && i.appendMap(p, o);
45887
+ h && s.maybeStep(h).doc && (p = s.mapping.maps[s.mapping.maps.length - 1], u.push(new Hn(p, void 0, void 0, u.length + c.length))), o--, p && i.appendMap(p, o);
45887
45888
  } else
45888
45889
  s.maybeStep(d.step);
45889
45890
  if (d.selection)
45890
- return a = i ? d.selection.map(i.slice(o)) : d.selection, l = new An(this.items.slice(0, r).append(c.reverse().concat(u)), this.eventCount - 1), !1;
45891
+ return a = i ? d.selection.map(i.slice(o)) : d.selection, l = new In(this.items.slice(0, r).append(c.reverse().concat(u)), this.eventCount - 1), !1;
45891
45892
  }, this.items.length, 0), { remaining: l, transform: s, selection: a };
45892
45893
  }
45893
45894
  // Create a new branch with the given transform added.
45894
45895
  addTransform(e, n, r, i) {
45895
45896
  let o = [], s = this.eventCount, a = this.items, l = !i && a.length ? a.get(a.length - 1) : null;
45896
45897
  for (let c = 0; c < e.steps.length; c++) {
45897
- let d = e.steps[c].invert(e.docs[c]), f = new Vn(e.mapping.maps[c], d, n), h;
45898
+ let d = e.steps[c].invert(e.docs[c]), f = new Hn(e.mapping.maps[c], d, n), h;
45898
45899
  (h = l && l.merge(f)) && (f = h, c ? o.pop() : a = a.slice(0, a.length - 1)), o.push(f), n && (s++, n = void 0), i || (l = f);
45899
45900
  }
45900
45901
  let u = s - r.depth;
45901
- return u > Mz && (a = Ez(a, u), s -= u), new An(a.append(o), s);
45902
+ return u > Mz && (a = Ez(a, u), s -= u), new In(a.append(o), s);
45902
45903
  }
45903
45904
  remapping(e, n) {
45904
45905
  let r = new Ro();
@@ -45908,7 +45909,7 @@ class An {
45908
45909
  }, e, n), r;
45909
45910
  }
45910
45911
  addMaps(e) {
45911
- return this.eventCount == 0 ? this : new An(this.items.append(e.map((n) => new Vn(n))), this.eventCount);
45912
+ return this.eventCount == 0 ? this : new In(this.items.append(e.map((n) => new Hn(n))), this.eventCount);
45912
45913
  }
45913
45914
  // When the collab module receives remote changes, the history has
45914
45915
  // to know about those, so that it can adjust the steps that were
@@ -45930,14 +45931,14 @@ class An {
45930
45931
  let p = o.maps[h];
45931
45932
  if (f.step) {
45932
45933
  let g = e.steps[h].invert(e.docs[h]), m = f.selection && f.selection.map(o.slice(l + 1, h));
45933
- m && a++, r.push(new Vn(p, g, m));
45934
+ m && a++, r.push(new Hn(p, g, m));
45934
45935
  } else
45935
- r.push(new Vn(p));
45936
+ r.push(new Hn(p));
45936
45937
  }, i);
45937
45938
  let u = [];
45938
45939
  for (let f = n; f < s; f++)
45939
- u.push(new Vn(o.maps[f]));
45940
- let c = this.items.slice(0, i).append(u).append(r), d = new An(c, a);
45940
+ u.push(new Hn(o.maps[f]));
45941
+ let c = this.items.slice(0, i).append(u).append(r), d = new In(c, a);
45941
45942
  return d.emptyItemCount() > Tz && (d = d.compress(this.items.length - r.length)), d;
45942
45943
  }
45943
45944
  emptyItemCount() {
@@ -45962,15 +45963,15 @@ class An {
45962
45963
  if (r--, u && n.appendMap(u, r), l) {
45963
45964
  let c = s.selection && s.selection.map(n.slice(r));
45964
45965
  c && o++;
45965
- let d = new Vn(u.invert(), l, c), f, h = i.length - 1;
45966
+ let d = new Hn(u.invert(), l, c), f, h = i.length - 1;
45966
45967
  (f = i.length && i[h].merge(d)) ? i[h] = f : i.push(d);
45967
45968
  }
45968
45969
  } else
45969
45970
  s.map && r--;
45970
- }, this.items.length, 0), new An(lt.from(i.reverse()), o);
45971
+ }, this.items.length, 0), new In(lt.from(i.reverse()), o);
45971
45972
  }
45972
45973
  }
45973
- An.empty = new An(lt.empty, 0);
45974
+ In.empty = new In(lt.empty, 0);
45974
45975
  function Ez(t, e) {
45975
45976
  let n;
45976
45977
  return t.forEach((r, i) => {
@@ -45978,7 +45979,7 @@ function Ez(t, e) {
45978
45979
  return n = i, !1;
45979
45980
  }), t.slice(n);
45980
45981
  }
45981
- class Vn {
45982
+ class Hn {
45982
45983
  constructor(e, n, r, i) {
45983
45984
  this.map = e, this.step = n, this.selection = r, this.mirrorOffset = i;
45984
45985
  }
@@ -45986,7 +45987,7 @@ class Vn {
45986
45987
  if (this.step && e.step && !e.selection) {
45987
45988
  let n = e.step.merge(this.step);
45988
45989
  if (n)
45989
- return new Vn(n.getMap().invert(), n, this.selection);
45990
+ return new Hn(n.getMap().invert(), n, this.selection);
45990
45991
  }
45991
45992
  }
45992
45993
  }
@@ -46008,7 +46009,7 @@ function xz(t, e, n, r) {
46008
46009
  return s.getMeta(ti).redo ? new Vr(t.done.addTransform(n, void 0, r, U0(e)), t.undone, bg(n.mapping.maps[n.steps.length - 1]), t.prevTime, t.prevComposition) : new Vr(t.done, t.undone.addTransform(n, void 0, r, U0(e)), null, t.prevTime, t.prevComposition);
46009
46010
  if (n.getMeta("addToHistory") !== !1 && !(s && s.getMeta("addToHistory") === !1)) {
46010
46011
  let a = n.getMeta("composition"), l = t.prevTime == 0 || !s && t.prevComposition != a && (t.prevTime < (n.time || 0) - r.newGroupDelay || !Az(n, t.prevRanges)), u = s ? $u(t.prevRanges, n.mapping) : bg(n.mapping.maps[n.steps.length - 1]);
46011
- return new Vr(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r, U0(e)), An.empty, u, n.time, a ?? t.prevComposition);
46012
+ return new Vr(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r, U0(e)), In.empty, u, n.time, a ?? t.prevComposition);
46012
46013
  } else
46013
46014
  return (o = n.getMeta("rebased")) ? new Vr(t.done.rebased(n, o), t.undone.rebased(n, o), $u(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new Vr(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), $u(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
46014
46015
  }
@@ -46066,7 +46067,7 @@ function Pz(t = {}) {
46066
46067
  key: ti,
46067
46068
  state: {
46068
46069
  init() {
46069
- return new Vr(An.empty, An.empty, null, 0, -1);
46070
+ return new Vr(In.empty, In.empty, null, 0, -1);
46070
46071
  },
46071
46072
  apply(e, n, r) {
46072
46073
  return xz(n, r, e, t);
@@ -46573,11 +46574,11 @@ function nj(t, e) {
46573
46574
  e[r].indexOf(t) >= 0 && (n[r] = !0);
46574
46575
  return n;
46575
46576
  }
46576
- function jt(t) {
46577
+ function Zt(t) {
46577
46578
  t === void 0 && (t = null), this.j = {}, this.jr = [], this.jd = null, this.t = t;
46578
46579
  }
46579
- jt.groups = {};
46580
- jt.prototype = {
46580
+ Zt.groups = {};
46581
+ Zt.prototype = {
46581
46582
  accepts() {
46582
46583
  return !!this.t;
46583
46584
  },
@@ -46630,9 +46631,9 @@ jt.prototype = {
46630
46631
  * @returns {State<T>} taken after the given input
46631
46632
  */
46632
46633
  tr(t, e, n, r) {
46633
- r = r || jt.groups;
46634
+ r = r || Zt.groups;
46634
46635
  let i;
46635
- return e && e.j ? i = e : (i = new jt(e), n && r && Hi(e, n, r)), this.jr.push([t, i]), i;
46636
+ return e && e.j ? i = e : (i = new Zt(e), n && r && Hi(e, n, r)), this.jr.push([t, i]), i;
46636
46637
  },
46637
46638
  /**
46638
46639
  * Short for "take transitions", will take as many sequential transitions as
@@ -46680,13 +46681,13 @@ jt.prototype = {
46680
46681
  * @returns {State<T>} taken after the given input
46681
46682
  */
46682
46683
  tt(t, e, n, r) {
46683
- r = r || jt.groups;
46684
+ r = r || Zt.groups;
46684
46685
  const i = this;
46685
46686
  if (e && e.j)
46686
46687
  return i.j[t] = e, e;
46687
46688
  const o = e;
46688
46689
  let s, a = i.go(t);
46689
- if (a ? (s = new jt(), Yo(s.j, a.j), s.jr.push.apply(s.jr, a.jr), s.jd = a.jd, s.t = a.t) : s = new jt(), o) {
46690
+ if (a ? (s = new Zt(), Yo(s.j, a.j), s.jr.push.apply(s.jr, a.jr), s.jd = a.jd, s.t = a.t) : s = new Zt(), o) {
46690
46691
  if (r)
46691
46692
  if (s.t && typeof s.t == "string") {
46692
46693
  const l = Yo(nj(s.t, r), n);
@@ -46698,7 +46699,7 @@ jt.prototype = {
46698
46699
  return i.j[t] = s, s;
46699
46700
  }
46700
46701
  };
46701
- const pe = (t, e, n, r, i) => t.ta(e, n, r, i), ln = (t, e, n, r, i) => t.tr(e, n, r, i), Og = (t, e, n, r, i) => t.ts(e, n, r, i), K = (t, e, n, r, i) => t.tt(e, n, r, i), sr = "WORD", cd = "UWORD", Fa = "LOCALHOST", dd = "TLD", fd = "UTLD", G0 = "SCHEME", Oo = "SLASH_SCHEME", Xf = "NUM", $4 = "WS", e1 = "NL", Vs = "OPENBRACE", Hs = "CLOSEBRACE", El = "OPENBRACKET", Ml = "CLOSEBRACKET", xl = "OPENPAREN", Al = "CLOSEPAREN", Il = "OPENANGLEBRACKET", Pl = "CLOSEANGLEBRACKET", Dl = "FULLWIDTHLEFTPAREN", Rl = "FULLWIDTHRIGHTPAREN", Ll = "LEFTCORNERBRACKET", Nl = "RIGHTCORNERBRACKET", $l = "LEFTWHITECORNERBRACKET", Fl = "RIGHTWHITECORNERBRACKET", Bl = "FULLWIDTHLESSTHAN", Vl = "FULLWIDTHGREATERTHAN", Hl = "AMPERSAND", _l = "APOSTROPHE", zl = "ASTERISK", Hr = "AT", jl = "BACKSLASH", Zl = "BACKTICK", Wl = "CARET", Zr = "COLON", t1 = "COMMA", Ul = "DOLLAR", Hn = "DOT", Kl = "EQUALS", n1 = "EXCLAMATION", _n = "HYPHEN", Gl = "PERCENT", ql = "PIPE", Yl = "PLUS", Jl = "POUND", Ql = "QUERY", r1 = "QUOTE", i1 = "SEMI", zn = "SLASH", _s = "TILDE", Xl = "UNDERSCORE", F4 = "EMOJI", e2 = "SYM";
46702
+ const pe = (t, e, n, r, i) => t.ta(e, n, r, i), ln = (t, e, n, r, i) => t.tr(e, n, r, i), Og = (t, e, n, r, i) => t.ts(e, n, r, i), K = (t, e, n, r, i) => t.tt(e, n, r, i), sr = "WORD", cd = "UWORD", Fa = "LOCALHOST", dd = "TLD", fd = "UTLD", G0 = "SCHEME", Oo = "SLASH_SCHEME", Xf = "NUM", $4 = "WS", e1 = "NL", Vs = "OPENBRACE", Hs = "CLOSEBRACE", El = "OPENBRACKET", Ml = "CLOSEBRACKET", xl = "OPENPAREN", Al = "CLOSEPAREN", Il = "OPENANGLEBRACKET", Pl = "CLOSEANGLEBRACKET", Dl = "FULLWIDTHLEFTPAREN", Rl = "FULLWIDTHRIGHTPAREN", Ll = "LEFTCORNERBRACKET", Nl = "RIGHTCORNERBRACKET", $l = "LEFTWHITECORNERBRACKET", Fl = "RIGHTWHITECORNERBRACKET", Bl = "FULLWIDTHLESSTHAN", Vl = "FULLWIDTHGREATERTHAN", Hl = "AMPERSAND", _l = "APOSTROPHE", zl = "ASTERISK", Hr = "AT", jl = "BACKSLASH", Zl = "BACKTICK", Wl = "CARET", Zr = "COLON", t1 = "COMMA", Ul = "DOLLAR", _n = "DOT", Kl = "EQUALS", n1 = "EXCLAMATION", zn = "HYPHEN", Gl = "PERCENT", ql = "PIPE", Yl = "PLUS", Jl = "POUND", Ql = "QUERY", r1 = "QUOTE", i1 = "SEMI", jn = "SLASH", _s = "TILDE", Xl = "UNDERSCORE", F4 = "EMOJI", e2 = "SYM";
46702
46703
  var B4 = /* @__PURE__ */ Object.freeze({
46703
46704
  __proto__: null,
46704
46705
  WORD: sr,
@@ -46737,10 +46738,10 @@ var B4 = /* @__PURE__ */ Object.freeze({
46737
46738
  COLON: Zr,
46738
46739
  COMMA: t1,
46739
46740
  DOLLAR: Ul,
46740
- DOT: Hn,
46741
+ DOT: _n,
46741
46742
  EQUALS: Kl,
46742
46743
  EXCLAMATION: n1,
46743
- HYPHEN: _n,
46744
+ HYPHEN: zn,
46744
46745
  PERCENT: Gl,
46745
46746
  PIPE: ql,
46746
46747
  PLUS: Yl,
@@ -46748,7 +46749,7 @@ var B4 = /* @__PURE__ */ Object.freeze({
46748
46749
  QUERY: Ql,
46749
46750
  QUOTE: r1,
46750
46751
  SEMI: i1,
46751
- SLASH: zn,
46752
+ SLASH: jn,
46752
46753
  TILDE: _s,
46753
46754
  UNDERSCORE: Xl,
46754
46755
  EMOJI: F4,
@@ -46760,9 +46761,9 @@ let R0 = null, L0 = null;
46760
46761
  function oj(t) {
46761
46762
  t === void 0 && (t = []);
46762
46763
  const e = {};
46763
- jt.groups = e;
46764
- const n = new jt();
46765
- R0 == null && (R0 = Mg(Jz)), L0 == null && (L0 = Mg(Qz)), K(n, "'", _l), K(n, "{", Vs), K(n, "}", Hs), K(n, "[", El), K(n, "]", Ml), K(n, "(", xl), K(n, ")", Al), K(n, "<", Il), K(n, ">", Pl), K(n, "(", Dl), K(n, ")", Rl), K(n, "「", Ll), K(n, "」", Nl), K(n, "『", $l), K(n, "』", Fl), K(n, "<", Bl), K(n, ">", Vl), K(n, "&", Hl), K(n, "*", zl), K(n, "@", Hr), K(n, "`", Zl), K(n, "^", Wl), K(n, ":", Zr), K(n, ",", t1), K(n, "$", Ul), K(n, ".", Hn), K(n, "=", Kl), K(n, "!", n1), K(n, "-", _n), K(n, "%", Gl), K(n, "|", ql), K(n, "+", Yl), K(n, "#", Jl), K(n, "?", Ql), K(n, '"', r1), K(n, "/", zn), K(n, ";", i1), K(n, "~", _s), K(n, "_", Xl), K(n, "\\", jl);
46764
+ Zt.groups = e;
46765
+ const n = new Zt();
46766
+ R0 == null && (R0 = Mg(Jz)), L0 == null && (L0 = Mg(Qz)), K(n, "'", _l), K(n, "{", Vs), K(n, "}", Hs), K(n, "[", El), K(n, "]", Ml), K(n, "(", xl), K(n, ")", Al), K(n, "<", Il), K(n, ">", Pl), K(n, "(", Dl), K(n, ")", Rl), K(n, "「", Ll), K(n, "」", Nl), K(n, "『", $l), K(n, "』", Fl), K(n, "<", Bl), K(n, ">", Vl), K(n, "&", Hl), K(n, "*", zl), K(n, "@", Hr), K(n, "`", Zl), K(n, "^", Wl), K(n, ":", Zr), K(n, ",", t1), K(n, "$", Ul), K(n, ".", _n), K(n, "=", Kl), K(n, "!", n1), K(n, "-", zn), K(n, "%", Gl), K(n, "|", ql), K(n, "+", Yl), K(n, "#", Jl), K(n, "?", Ql), K(n, '"', r1), K(n, "/", jn), K(n, ";", i1), K(n, "~", _s), K(n, "_", Xl), K(n, "\\", jl);
46766
46767
  const r = ln(n, Hu, Xf, {
46767
46768
  [sd]: !0
46768
46769
  });
@@ -46815,7 +46816,7 @@ function oj(t) {
46815
46816
  }
46816
46817
  return Og(n, "localhost", Fa, {
46817
46818
  ascii: !0
46818
- }), n.jd = new jt(e2), {
46819
+ }), n.jd = new Zt(e2), {
46819
46820
  start: n,
46820
46821
  tokens: Yo({
46821
46822
  groups: e
@@ -46856,9 +46857,9 @@ function Nr(t, e, n, r, i) {
46856
46857
  const s = e.length;
46857
46858
  for (let a = 0; a < s - 1; a++) {
46858
46859
  const l = e[a];
46859
- t.j[l] ? o = t.j[l] : (o = new jt(r), o.jr = i.slice(), t.j[l] = o), t = o;
46860
+ t.j[l] ? o = t.j[l] : (o = new Zt(r), o.jr = i.slice(), t.j[l] = o), t = o;
46860
46861
  }
46861
- return o = new jt(n), o.jr = i.slice(), t.j[e[s - 1]] = o, o;
46862
+ return o = new Zt(n), o.jr = i.slice(), t.j[e[s - 1]] = o, o;
46862
46863
  }
46863
46864
  function Mg(t) {
46864
46865
  const e = [], n = [];
@@ -47109,39 +47110,39 @@ const Ag = N2("email", {
47109
47110
  const t = this.tk;
47110
47111
  return t.length >= 2 && t[0].t !== Fa && t[1].t === Zr;
47111
47112
  }
47112
- }), un = (t) => new jt(t);
47113
+ }), un = (t) => new Zt(t);
47113
47114
  function uj(t) {
47114
47115
  let {
47115
47116
  groups: e
47116
47117
  } = t;
47117
- const n = e.domain.concat([Hl, zl, Hr, jl, Zl, Wl, Ul, Kl, _n, Xf, Gl, ql, Yl, Jl, zn, e2, _s, Xl]), r = [_l, Zr, t1, Hn, n1, Ql, r1, i1, Il, Pl, Vs, Hs, Ml, El, xl, Al, Dl, Rl, Ll, Nl, $l, Fl, Bl, Vl], i = [Hl, _l, zl, jl, Zl, Wl, Ul, Kl, _n, Vs, Hs, Gl, ql, Yl, Jl, Ql, zn, e2, _s, Xl], o = un(), s = K(o, _s);
47118
+ const n = e.domain.concat([Hl, zl, Hr, jl, Zl, Wl, Ul, Kl, zn, Xf, Gl, ql, Yl, Jl, jn, e2, _s, Xl]), r = [_l, Zr, t1, _n, n1, Ql, r1, i1, Il, Pl, Vs, Hs, Ml, El, xl, Al, Dl, Rl, Ll, Nl, $l, Fl, Bl, Vl], i = [Hl, _l, zl, jl, Zl, Wl, Ul, Kl, zn, Vs, Hs, Gl, ql, Yl, Jl, Ql, jn, e2, _s, Xl], o = un(), s = K(o, _s);
47118
47119
  pe(s, i, s), pe(s, e.domain, s);
47119
47120
  const a = un(), l = un(), u = un();
47120
47121
  pe(o, e.domain, a), pe(o, e.scheme, l), pe(o, e.slashscheme, u), pe(a, i, s), pe(a, e.domain, a);
47121
47122
  const c = K(a, Hr);
47122
47123
  K(s, Hr, c), K(l, Hr, c), K(u, Hr, c);
47123
- const d = K(s, Hn);
47124
+ const d = K(s, _n);
47124
47125
  pe(d, i, s), pe(d, e.domain, s);
47125
47126
  const f = un();
47126
47127
  pe(c, e.domain, f), pe(f, e.domain, f);
47127
- const h = K(f, Hn);
47128
+ const h = K(f, _n);
47128
47129
  pe(h, e.domain, f);
47129
47130
  const p = un(Ag);
47130
47131
  pe(h, e.tld, p), pe(h, e.utld, p), K(c, Fa, p);
47131
- const g = K(f, _n);
47132
- pe(g, e.domain, f), pe(p, e.domain, f), K(p, Hn, h), K(p, _n, g);
47132
+ const g = K(f, zn);
47133
+ pe(g, e.domain, f), pe(p, e.domain, f), K(p, _n, h), K(p, zn, g);
47133
47134
  const m = K(p, Zr);
47134
47135
  pe(m, e.numeric, Ag);
47135
- const y = K(a, _n), b = K(a, Hn);
47136
+ const y = K(a, zn), b = K(a, _n);
47136
47137
  pe(y, e.domain, a), pe(b, i, s), pe(b, e.domain, a);
47137
47138
  const C = un(N0);
47138
- pe(b, e.tld, C), pe(b, e.utld, C), pe(C, e.domain, a), pe(C, i, s), K(C, Hn, b), K(C, _n, y), K(C, Hr, c);
47139
+ pe(b, e.tld, C), pe(b, e.utld, C), pe(C, e.domain, a), pe(C, i, s), K(C, _n, b), K(C, zn, y), K(C, Hr, c);
47139
47140
  const w = K(C, Zr), E = un(N0);
47140
47141
  pe(w, e.numeric, E);
47141
47142
  const S = un(N0), T = un();
47142
- pe(S, n, S), pe(S, r, T), pe(T, n, S), pe(T, r, T), K(C, zn, S), K(E, zn, S);
47143
- const M = K(l, Zr), F = K(u, Zr), Z = K(F, zn), z = K(Z, zn);
47144
- pe(l, e.domain, a), K(l, Hn, b), K(l, _n, y), pe(u, e.domain, a), K(u, Hn, b), K(u, _n, y), pe(M, e.domain, S), K(M, zn, S), pe(z, e.domain, S), pe(z, n, S), K(z, zn, S);
47143
+ pe(S, n, S), pe(S, r, T), pe(T, n, S), pe(T, r, T), K(C, jn, S), K(E, jn, S);
47144
+ const M = K(l, Zr), F = K(u, Zr), Z = K(F, jn), z = K(Z, jn);
47145
+ pe(l, e.domain, a), K(l, _n, b), K(l, zn, y), pe(u, e.domain, a), K(u, _n, b), K(u, zn, y), pe(M, e.domain, S), K(M, jn, S), pe(z, e.domain, S), pe(z, n, S), K(z, jn, S);
47145
47146
  const j = [
47146
47147
  [Vs, Hs],
47147
47148
  // {}
@@ -47205,7 +47206,7 @@ const dj = typeof console < "u" && console && console.warn || (() => {
47205
47206
  initialized: !1
47206
47207
  };
47207
47208
  function hj() {
47208
- jt.groups = {}, Ve.scanner = null, Ve.parser = null, Ve.tokenQueue = [], Ve.pluginQueue = [], Ve.customSchemes = [], Ve.initialized = !1;
47209
+ Zt.groups = {}, Ve.scanner = null, Ve.parser = null, Ve.tokenQueue = [], Ve.pluginQueue = [], Ve.customSchemes = [], Ve.initialized = !1;
47209
47210
  }
47210
47211
  function Pg(t, e) {
47211
47212
  if (e === void 0 && (e = !1), Ve.initialized && dj(`linkifyjs: already initialized - will not register custom scheme "${t}" ${fj}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))