@namba_one/ui-kit-2 1.0.178 → 1.0.180

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.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Iv = Object.defineProperty;
2
2
  var Lv = (n, e, t) => e in n ? Iv(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Te = (n, e, t) => Lv(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as ue, useCssModule as sn, computed as R, createBlock as re, openBlock as v, resolveDynamicComponent as _r, mergeProps as tt, withCtx as P, renderSlot as se, createElementBlock as S, normalizeClass as y, createVNode as H, unref as p, useTemplateRef as po, watch as Ze, ref as Y, createCommentVNode as N, withDirectives as cn, createElementVNode as W, vShow as Fr, normalizeStyle as je, h as Fo, Transition as fn, useSlots as Wr, toHandlers as Hi, useModel as ut, mergeModels as pt, createTextVNode as we, toDisplayString as me, withModifiers as Nn, onMounted as ft, resolveComponent as gs, TransitionGroup as lu, Fragment as $e, renderList as Le, provide as Qo, useId as uu, onBeforeUnmount as ji, Teleport as ia, inject as Vi, isRef as vr, onUnmounted as Cr, readonly as Pv, toRef as dr, nextTick as bt, getCurrentScope as Wh, onScopeDispose as qh, vModelText as sa, getCurrentInstance as cu, reactive as Yi, createSlots as Yt, normalizeProps as Ht, guardReactiveProps as un, render as Dd, useAttrs as Rv, toValue as Fv, onBeforeUpdate as Nv, withKeys as zv, resolveDirective as Hv, vModelDynamic as jv } from "vue";
4
+ import { defineComponent as ue, useCssModule as an, computed as R, createBlock as re, openBlock as v, resolveDynamicComponent as kr, mergeProps as tt, withCtx as P, renderSlot as se, createElementBlock as S, normalizeClass as y, createVNode as H, unref as p, useTemplateRef as po, watch as Ze, ref as Y, createCommentVNode as N, withDirectives as dn, createElementVNode as W, vShow as Rr, normalizeStyle as je, h as Fo, Transition as fn, useSlots as Ur, toHandlers as Hi, useModel as ut, mergeModels as pt, createTextVNode as we, toDisplayString as me, withModifiers as Nn, onMounted as ft, resolveComponent as gs, TransitionGroup as lu, Fragment as $e, renderList as Le, provide as Qo, useId as uu, onBeforeUnmount as ji, Teleport as ia, inject as Vi, isRef as vr, onUnmounted as _r, readonly as Pv, toRef as dr, nextTick as vt, getCurrentScope as Wh, onScopeDispose as qh, vModelText as sa, getCurrentInstance as cu, reactive as Yi, createSlots as Yt, normalizeProps as Ht, guardReactiveProps as cn, render as Dd, useAttrs as Rv, toValue as Fv, onBeforeUpdate as Nv, withKeys as zv, resolveDirective as Hv, vModelDynamic as jv } from "vue";
5
5
  const Vv = /* @__PURE__ */ ue({
6
6
  __name: "TheText",
7
7
  props: {
@@ -14,7 +14,7 @@ const Vv = /* @__PURE__ */ ue({
14
14
  isMono: { type: Boolean, default: !1 }
15
15
  },
16
16
  setup(n) {
17
- const e = sn(), t = R(() => [
17
+ const e = an(), t = R(() => [
18
18
  e.root,
19
19
  e[`font_${n.size}`],
20
20
  e.color,
@@ -32,7 +32,7 @@ const Vv = /* @__PURE__ */ ue({
32
32
  "text-overflow": "ellipsis"
33
33
  }
34
34
  } : null);
35
- return (o, i) => (v(), re(_r(o.tag), tt({ class: t.value }, r.value), {
35
+ return (o, i) => (v(), re(kr(o.tag), tt({ class: t.value }, r.value), {
36
36
  default: P(() => [
37
37
  se(o.$slots, "default")
38
38
  ]),
@@ -183,7 +183,7 @@ const Vv = /* @__PURE__ */ ue({
183
183
  }, null, 8, _g)
184
184
  ])
185
185
  ], 2)) : N("", !0),
186
- cn(W("img", tt({ key: "image" }, r.value, {
186
+ dn(W("img", tt({ key: "image" }, r.value, {
187
187
  class: [a.$style.image, a.$style[`objectFit_${a.objectFit}`]],
188
188
  style: o.value,
189
189
  width: a.width,
@@ -194,7 +194,7 @@ const Vv = /* @__PURE__ */ ue({
194
194
  onLoad: i,
195
195
  onError: s
196
196
  }), null, 16, Cg), [
197
- [Fr, t.value !== "error"]
197
+ [Rr, t.value !== "error"]
198
198
  ])
199
199
  ], 2));
200
200
  }
@@ -256,7 +256,7 @@ const Ps = (n) => `${Number(n / 12).toFixed(3)}rem`, Vg = /* @__PURE__ */ ue({
256
256
  size: {}
257
257
  },
258
258
  setup(n) {
259
- const e = sn(), t = R(() => [e.root, n.color]), r = R(() => ({
259
+ const e = an(), t = R(() => [e.root, n.color]), r = R(() => ({
260
260
  width: Ps(Number(n.size)),
261
261
  height: Ps(Number(n.size))
262
262
  }));
@@ -285,7 +285,7 @@ const Ps = (n) => `${Number(n / 12).toFixed(3)}rem`, Vg = /* @__PURE__ */ ue({
285
285
  "fade-leave-active": "TransitionFade__fade-leave-active_95a44",
286
286
  "fade-enter-from": "TransitionFade__fade-enter-from_edaa1",
287
287
  "fade-leave-to": "TransitionFade__fade-leave-to_013a6"
288
- }, gr = ue({
288
+ }, lo = ue({
289
289
  name: "TransitionFade",
290
290
  props: {
291
291
  appear: {
@@ -351,7 +351,7 @@ const os = {
351
351
  "fade-leave-active": "TransitionFadeBlur__fade-leave-active_b3dd4",
352
352
  "fade-enter-from": "TransitionFadeBlur__fade-enter-from_1eed6",
353
353
  "fade-leave-to": "TransitionFadeBlur__fade-leave-to_9518f"
354
- }, dn = ue({
354
+ }, Qt = ue({
355
355
  name: "TransitionFadeBlur",
356
356
  props: {
357
357
  appear: {
@@ -399,7 +399,7 @@ const os = {
399
399
  },
400
400
  emits: ["click"],
401
401
  setup(n, { emit: e }) {
402
- const t = e, r = sn(), o = R(() => [
402
+ const t = e, r = an(), o = R(() => [
403
403
  r.root,
404
404
  r.color,
405
405
  { [n.color]: n.color !== "inherit" },
@@ -666,7 +666,7 @@ const ob = /* @__PURE__ */ ue({
666
666
  },
667
667
  emits: ["click"],
668
668
  setup(n, { emit: e }) {
669
- const t = sn(), r = e, o = Wr(), i = R(() => du({ isDisabled: n.isDisabled, href: n.href, tag: n.tag })), s = R(
669
+ const t = an(), r = e, o = Ur(), i = R(() => du({ isDisabled: n.isDisabled, href: n.href, tag: n.tag })), s = R(
670
670
  () => Qh({
671
671
  tag: n.tag,
672
672
  emits: r
@@ -696,9 +696,9 @@ const ob = /* @__PURE__ */ ue({
696
696
  var g;
697
697
  return (((g = o.default) == null ? void 0 : g.call(o)[0].children) ?? "") + (n.iconLeft ?? "") + (n.iconRight ?? "");
698
698
  }), h = R(() => rb(n.size)), m = R(() => Id({ isDisabled: n.isDisabled, view: n.view })), f = R(() => Id({ isDisabled: n.isDisabled, view: n.view }));
699
- return (g, M) => (v(), re(_r(g.tag), tt({ class: a.value }, i.value, Hi(s.value)), {
699
+ return (g, M) => (v(), re(kr(g.tag), tt({ class: a.value }, i.value, Hi(s.value)), {
700
700
  default: P(() => [
701
- H(p(dn), null, {
701
+ H(p(Qt), null, {
702
702
  default: P(() => [
703
703
  (v(), S("div", { key: c.value }, [
704
704
  W("div", {
@@ -734,7 +734,7 @@ const ob = /* @__PURE__ */ ue({
734
734
  ]),
735
735
  _: 3
736
736
  }),
737
- H(p(gr), null, {
737
+ H(p(lo), null, {
738
738
  default: P(() => [
739
739
  g.isLoading ? (v(), re(p(aa), {
740
740
  key: 0,
@@ -784,7 +784,7 @@ const ob = /* @__PURE__ */ ue({
784
784
  isWide: { type: Boolean, default: !0 }
785
785
  },
786
786
  setup(n) {
787
- const e = sn(), t = R(() => [
787
+ const e = an(), t = R(() => [
788
788
  e.root,
789
789
  e[`size_${n.size}`],
790
790
  e[`view_${n.view}`],
@@ -926,7 +926,7 @@ const Sb = /* @__PURE__ */ ue({
926
926
  },
927
927
  emits: ["click"],
928
928
  setup(n, { emit: e }) {
929
- const t = sn(), r = e, o = R(() => du({ isDisabled: n.isDisabled, href: n.href, tag: n.tag })), i = R(
929
+ const t = an(), r = e, o = R(() => du({ isDisabled: n.isDisabled, href: n.href, tag: n.tag })), i = R(
930
930
  () => Qh({
931
931
  tag: n.tag,
932
932
  emits: r
@@ -941,7 +941,7 @@ const Sb = /* @__PURE__ */ ue({
941
941
  [t["is-round"]]: n.isRound
942
942
  }
943
943
  ]), a = R(() => Cb(n.view)), l = R(() => xb(n.size)), u = R(() => Eb(n.size)), d = R(() => Tb({ isDisabled: n.isDisabled, view: n.view }));
944
- return (c, h) => (v(), re(_r(c.tag), tt({ class: s.value }, o.value, Hi(i.value)), {
944
+ return (c, h) => (v(), re(kr(c.tag), tt({ class: s.value }, o.value, Hi(i.value)), {
945
945
  default: P(() => [
946
946
  W("div", {
947
947
  class: y(c.$style.content)
@@ -953,7 +953,7 @@ const Sb = /* @__PURE__ */ ue({
953
953
  color: d.value
954
954
  }, null, 8, ["class", "name", "size", "color"])
955
955
  ], 2),
956
- H(p(gr), null, {
956
+ H(p(lo), null, {
957
957
  default: P(() => [
958
958
  c.isLoading ? (v(), re(p(aa), {
959
959
  key: 0,
@@ -1001,7 +1001,7 @@ const Sb = /* @__PURE__ */ ue({
1001
1001
  isRound: { type: Boolean }
1002
1002
  },
1003
1003
  setup(n) {
1004
- const e = sn(), t = R(() => [
1004
+ const e = an(), t = R(() => [
1005
1005
  e.root,
1006
1006
  e[`size_${n.size}`],
1007
1007
  e[`view_${n.view}`],
@@ -1023,7 +1023,7 @@ const Sb = /* @__PURE__ */ ue({
1023
1023
  },
1024
1024
  emits: ["update:value"],
1025
1025
  setup(n) {
1026
- const e = ut(n, "value"), t = sn(), r = R(() => [
1026
+ const e = ut(n, "value"), t = an(), r = R(() => [
1027
1027
  t.root,
1028
1028
  e.value && t["is-active"]
1029
1029
  ]);
@@ -1155,7 +1155,7 @@ const Sb = /* @__PURE__ */ ue({
1155
1155
  color: {}
1156
1156
  },
1157
1157
  setup(n) {
1158
- const e = sn(), t = Y(), r = Y(""), o = R(() => [e.root, e[`size_${n.size}`], e.view, n.color]);
1158
+ const e = an(), t = Y(), r = Y(""), o = R(() => [e.root, e[`size_${n.size}`], e.view, n.color]);
1159
1159
  function i() {
1160
1160
  if (n.widthRange && n.widthRange[0] && n.widthRange[1] && t.value) {
1161
1161
  const s = Jh(t.value, "max-width");
@@ -1277,15 +1277,15 @@ function yy(n, e, t) {
1277
1277
  writable: !0
1278
1278
  }) : n[e] = t, n;
1279
1279
  }
1280
- function br() {
1281
- return br = Object.assign || function(n) {
1280
+ function gr() {
1281
+ return gr = Object.assign || function(n) {
1282
1282
  for (var e = 1; e < arguments.length; e++) {
1283
1283
  var t = arguments[e];
1284
1284
  for (var r in t)
1285
1285
  Object.prototype.hasOwnProperty.call(t, r) && (n[r] = t[r]);
1286
1286
  }
1287
1287
  return n;
1288
- }, br.apply(this, arguments);
1288
+ }, gr.apply(this, arguments);
1289
1289
  }
1290
1290
  function wy(n, e) {
1291
1291
  if (n == null) return {};
@@ -1309,15 +1309,15 @@ function mr(n) {
1309
1309
  if (typeof window < "u" && window.navigator)
1310
1310
  return !!/* @__PURE__ */ navigator.userAgent.match(n);
1311
1311
  }
1312
- var xr = mr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Wi = mr(/Edge/i), Pd = mr(/firefox/i), wi = mr(/safari/i) && !mr(/chrome/i) && !mr(/android/i), rp = mr(/iP(ad|od|hone)/i), Cy = mr(/chrome/i) && mr(/android/i), op = {
1312
+ var Cr = mr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Wi = mr(/Edge/i), Pd = mr(/firefox/i), wi = mr(/safari/i) && !mr(/chrome/i) && !mr(/android/i), rp = mr(/iP(ad|od|hone)/i), Cy = mr(/chrome/i) && mr(/android/i), op = {
1313
1313
  capture: !1,
1314
1314
  passive: !1
1315
1315
  };
1316
1316
  function st(n, e, t) {
1317
- n.addEventListener(e, t, !xr && op);
1317
+ n.addEventListener(e, t, !Cr && op);
1318
1318
  }
1319
1319
  function it(n, e, t) {
1320
- n.removeEventListener(e, t, !xr && op);
1320
+ n.removeEventListener(e, t, !Cr && op);
1321
1321
  }
1322
1322
  function Rs(n, e) {
1323
1323
  if (e) {
@@ -1396,7 +1396,7 @@ function er() {
1396
1396
  function Nt(n, e, t, r, o) {
1397
1397
  if (!(!n.getBoundingClientRect && n !== window)) {
1398
1398
  var i, s, a, l, u, d, c;
1399
- if (n !== window && n.parentNode && n !== er() ? (i = n.getBoundingClientRect(), s = i.top, a = i.left, l = i.bottom, u = i.right, d = i.height, c = i.width) : (s = 0, a = 0, l = window.innerHeight, u = window.innerWidth, d = window.innerHeight, c = window.innerWidth), (e || t) && n !== window && (o = o || n.parentNode, !xr))
1399
+ if (n !== window && n.parentNode && n !== er() ? (i = n.getBoundingClientRect(), s = i.top, a = i.left, l = i.bottom, u = i.right, d = i.height, c = i.width) : (s = 0, a = 0, l = window.innerHeight, u = window.innerWidth, d = window.innerHeight, c = window.innerWidth), (e || t) && n !== window && (o = o || n.parentNode, !Cr))
1400
1400
  do
1401
1401
  if (o && o.getBoundingClientRect && (Fe(o, "transform") !== "none" || t && Fe(o, "position") !== "static")) {
1402
1402
  var h = o.getBoundingClientRect();
@@ -1419,11 +1419,11 @@ function Nt(n, e, t, r, o) {
1419
1419
  }
1420
1420
  }
1421
1421
  function Fd(n, e, t) {
1422
- for (var r = Lr(n, !0), o = Nt(n)[e]; r; ) {
1422
+ for (var r = Ir(n, !0), o = Nt(n)[e]; r; ) {
1423
1423
  var i = Nt(r)[t], s = void 0;
1424
1424
  if (s = o >= i, !s) return r;
1425
1425
  if (r === er()) break;
1426
- r = Lr(r, !1);
1426
+ r = Ir(r, !1);
1427
1427
  }
1428
1428
  return !1;
1429
1429
  }
@@ -1468,7 +1468,7 @@ function Ey(n, e) {
1468
1468
  }
1469
1469
  return -1;
1470
1470
  }
1471
- function Lr(n, e) {
1471
+ function Ir(n, e) {
1472
1472
  if (!n || !n.getBoundingClientRect) return er();
1473
1473
  var t = n, r = !1;
1474
1474
  do
@@ -1608,7 +1608,7 @@ var yo = [], Ya = {
1608
1608
  var l = a.pluginName;
1609
1609
  if (!(!e.options[l] && !a.initializeByDefault)) {
1610
1610
  var u = new a(e, t, e.options);
1611
- u.sortable = e, u.options = e.options, e[l] = u, br(r, u.defaults);
1611
+ u.sortable = e, u.options = e.options, e[l] = u, gr(r, u.defaults);
1612
1612
  }
1613
1613
  });
1614
1614
  for (var i in e.options)
@@ -1620,7 +1620,7 @@ var yo = [], Ya = {
1620
1620
  getEventProperties: function(e, t) {
1621
1621
  var r = {};
1622
1622
  return yo.forEach(function(o) {
1623
- typeof o.eventProperties == "function" && br(r, o.eventProperties.call(t[o.pluginName], e));
1623
+ typeof o.eventProperties == "function" && gr(r, o.eventProperties.call(t[o.pluginName], e));
1624
1624
  }), r;
1625
1625
  },
1626
1626
  modifyOption: function(e, t, r) {
@@ -1634,7 +1634,7 @@ function Ay(n) {
1634
1634
  var e = n.sortable, t = n.rootEl, r = n.name, o = n.targetEl, i = n.cloneEl, s = n.toEl, a = n.fromEl, l = n.oldIndex, u = n.newIndex, d = n.oldDraggableIndex, c = n.newDraggableIndex, h = n.originalEvent, m = n.putSortable, f = n.extraEventProperties;
1635
1635
  if (e = e || t && t[kn], !!e) {
1636
1636
  var g, M = e.options, x = "on" + r.charAt(0).toUpperCase() + r.substr(1);
1637
- window.CustomEvent && !xr && !Wi ? g = new CustomEvent(r, {
1637
+ window.CustomEvent && !Cr && !Wi ? g = new CustomEvent(r, {
1638
1638
  bubbles: !0,
1639
1639
  cancelable: !0
1640
1640
  }) : (g = document.createEvent("Event"), g.initEvent(r, !0, !0)), g.to = s || t, g.from = a || t, g.item = o || t, g.clone = i, g.oldIndex = l, g.newIndex = u, g.oldDraggableIndex = d, g.newDraggableIndex = c, g.originalEvent = h, g.pullMode = m ? m.lastPutMode : void 0;
@@ -1644,17 +1644,17 @@ function Ay(n) {
1644
1644
  t && t.dispatchEvent(g), M[x] && M[x].call(e, g);
1645
1645
  }
1646
1646
  }
1647
- var Oy = ["evt"], an = function(e, t) {
1647
+ var Oy = ["evt"], ln = function(e, t) {
1648
1648
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = r.evt, i = ky(r, Oy);
1649
1649
  qi.pluginEvent.bind(Ne)(e, t, rr({
1650
1650
  dragEl: Ee,
1651
1651
  parentEl: Et,
1652
1652
  ghostEl: Ge,
1653
1653
  rootEl: yt,
1654
- nextEl: eo,
1654
+ nextEl: Jr,
1655
1655
  lastDownEl: ys,
1656
1656
  cloneEl: St,
1657
- cloneHidden: Ir,
1657
+ cloneHidden: Dr,
1658
1658
  dragStarted: pi,
1659
1659
  putSortable: Vt,
1660
1660
  activeSortable: Ne.active,
@@ -1662,17 +1662,17 @@ var Oy = ["evt"], an = function(e, t) {
1662
1662
  oldIndex: Bo,
1663
1663
  oldDraggableIndex: _i,
1664
1664
  newIndex: yn,
1665
- newDraggableIndex: Or,
1665
+ newDraggableIndex: Ar,
1666
1666
  hideGhostForTarget: hp,
1667
1667
  unhideGhostForTarget: pp,
1668
1668
  cloneNowHidden: function() {
1669
- Ir = !0;
1669
+ Dr = !0;
1670
1670
  },
1671
1671
  cloneNowShown: function() {
1672
- Ir = !1;
1672
+ Dr = !1;
1673
1673
  },
1674
1674
  dispatchSortableEvent: function(a) {
1675
- en({
1675
+ tn({
1676
1676
  sortable: t,
1677
1677
  name: a,
1678
1678
  originalEvent: o
@@ -1680,7 +1680,7 @@ var Oy = ["evt"], an = function(e, t) {
1680
1680
  }
1681
1681
  }, i));
1682
1682
  };
1683
- function en(n) {
1683
+ function tn(n) {
1684
1684
  Ay(rr({
1685
1685
  putSortable: Vt,
1686
1686
  cloneEl: St,
@@ -1689,12 +1689,12 @@ function en(n) {
1689
1689
  oldIndex: Bo,
1690
1690
  oldDraggableIndex: _i,
1691
1691
  newIndex: yn,
1692
- newDraggableIndex: Or
1692
+ newDraggableIndex: Ar
1693
1693
  }, n));
1694
1694
  }
1695
- var Ee, Et, Ge, yt, eo, ys, St, Ir, Bo, yn, _i, Or, is, Vt, Eo = !1, Fs = !1, Ns = [], Qr, An, Ua, Wa, zd, Hd, pi, wo, Ci, xi = !1, ss = !1, ws, qt, qa = [], Ol = !1, zs = [], la = typeof document < "u", as = rp, jd = Wi || xr ? "cssFloat" : "float", Dy = la && !Cy && !rp && "draggable" in document.createElement("div"), up = function() {
1695
+ var Ee, Et, Ge, yt, Jr, ys, St, Dr, Bo, yn, _i, Ar, is, Vt, Eo = !1, Fs = !1, Ns = [], Xr, An, Ua, Wa, zd, Hd, pi, wo, Ci, xi = !1, ss = !1, ws, qt, qa = [], Ol = !1, zs = [], la = typeof document < "u", as = rp, jd = Wi || Cr ? "cssFloat" : "float", Dy = la && !Cy && !rp && "draggable" in document.createElement("div"), up = function() {
1696
1696
  if (la) {
1697
- if (xr)
1697
+ if (Cr)
1698
1698
  return !1;
1699
1699
  var n = document.createElement("x");
1700
1700
  return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
@@ -1752,7 +1752,7 @@ la && document.addEventListener("click", function(n) {
1752
1752
  if (Fs)
1753
1753
  return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Fs = !1, !1;
1754
1754
  }, !0);
1755
- var Zr = function(e) {
1755
+ var Qr = function(e) {
1756
1756
  if (Ee) {
1757
1757
  e = e.touches ? e.touches[0] : e;
1758
1758
  var t = Ly(e.clientX, e.clientY);
@@ -1769,7 +1769,7 @@ var Zr = function(e) {
1769
1769
  function Ne(n, e) {
1770
1770
  if (!(n && n.nodeType && n.nodeType === 1))
1771
1771
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));
1772
- this.el = n, this.options = e = br({}, e), n[kn] = this;
1772
+ this.el = n, this.options = e = gr({}, e), n[kn] = this;
1773
1773
  var t = {
1774
1774
  group: null,
1775
1775
  sort: !0,
@@ -1821,7 +1821,7 @@ function Ne(n, e) {
1821
1821
  dp(e);
1822
1822
  for (var o in this)
1823
1823
  o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
1824
- this.nativeDraggable = e.forceFallback ? !1 : Dy, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? st(n, "pointerdown", this._onTapStart) : (st(n, "mousedown", this._onTapStart), st(n, "touchstart", this._onTapStart)), this.nativeDraggable && (st(n, "dragover", this), st(n, "dragenter", this)), Ns.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), br(this, My());
1824
+ this.nativeDraggable = e.forceFallback ? !1 : Dy, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? st(n, "pointerdown", this._onTapStart) : (st(n, "mousedown", this._onTapStart), st(n, "touchstart", this._onTapStart)), this.nativeDraggable && (st(n, "dragover", this), st(n, "dragenter", this)), Ns.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), gr(this, My());
1825
1825
  }
1826
1826
  Ne.prototype = /** @lends Sortable.prototype */
1827
1827
  {
@@ -1838,28 +1838,28 @@ Ne.prototype = /** @lends Sortable.prototype */
1838
1838
  if (Yy(r), !Ee && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !u.isContentEditable && !(!this.nativeDraggable && wi && l && l.tagName.toUpperCase() === "SELECT") && (l = Un(l, o.draggable, r, !1), !(l && l.animated) && ys !== l)) {
1839
1839
  if (Bo = Tn(l), _i = Tn(l, o.draggable), typeof d == "function") {
1840
1840
  if (d.call(this, e, l, this)) {
1841
- en({
1841
+ tn({
1842
1842
  sortable: t,
1843
1843
  rootEl: u,
1844
1844
  name: "filter",
1845
1845
  targetEl: l,
1846
1846
  toEl: r,
1847
1847
  fromEl: r
1848
- }), an("filter", t, {
1848
+ }), ln("filter", t, {
1849
1849
  evt: e
1850
1850
  }), i && e.cancelable && e.preventDefault();
1851
1851
  return;
1852
1852
  }
1853
1853
  } else if (d && (d = d.split(",").some(function(c) {
1854
1854
  if (c = Un(u, c.trim(), r, !1), c)
1855
- return en({
1855
+ return tn({
1856
1856
  sortable: t,
1857
1857
  rootEl: c,
1858
1858
  name: "filter",
1859
1859
  targetEl: l,
1860
1860
  fromEl: r,
1861
1861
  toEl: r
1862
- }), an("filter", t, {
1862
+ }), ln("filter", t, {
1863
1863
  evt: e
1864
1864
  }), !0;
1865
1865
  }), d)) {
@@ -1874,27 +1874,27 @@ Ne.prototype = /** @lends Sortable.prototype */
1874
1874
  var o = this, i = o.el, s = o.options, a = i.ownerDocument, l;
1875
1875
  if (r && !Ee && r.parentNode === i) {
1876
1876
  var u = Nt(r);
1877
- if (yt = i, Ee = r, Et = Ee.parentNode, eo = Ee.nextSibling, ys = r, is = s.group, Ne.dragged = Ee, Qr = {
1877
+ if (yt = i, Ee = r, Et = Ee.parentNode, Jr = Ee.nextSibling, ys = r, is = s.group, Ne.dragged = Ee, Xr = {
1878
1878
  target: Ee,
1879
1879
  clientX: (t || e).clientX,
1880
1880
  clientY: (t || e).clientY
1881
- }, zd = Qr.clientX - u.left, Hd = Qr.clientY - u.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, Ee.style["will-change"] = "all", l = function() {
1882
- if (an("delayEnded", o, {
1881
+ }, zd = Xr.clientX - u.left, Hd = Xr.clientY - u.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, Ee.style["will-change"] = "all", l = function() {
1882
+ if (ln("delayEnded", o, {
1883
1883
  evt: e
1884
1884
  }), Ne.eventCanceled) {
1885
1885
  o._onDrop();
1886
1886
  return;
1887
1887
  }
1888
- o._disableDelayedDragEvents(), !Pd && o.nativeDraggable && (Ee.draggable = !0), o._triggerDragStart(e, t), en({
1888
+ o._disableDelayedDragEvents(), !Pd && o.nativeDraggable && (Ee.draggable = !0), o._triggerDragStart(e, t), tn({
1889
1889
  sortable: o,
1890
1890
  name: "choose",
1891
1891
  originalEvent: e
1892
1892
  }), gn(Ee, s.chosenClass, !0);
1893
1893
  }, s.ignore.split(",").forEach(function(d) {
1894
1894
  ip(Ee, d.trim(), Ga);
1895
- }), st(a, "dragover", Zr), st(a, "mousemove", Zr), st(a, "touchmove", Zr), st(a, "mouseup", o._onDrop), st(a, "touchend", o._onDrop), st(a, "touchcancel", o._onDrop), Pd && this.nativeDraggable && (this.options.touchStartThreshold = 4, Ee.draggable = !0), an("delayStart", this, {
1895
+ }), st(a, "dragover", Qr), st(a, "mousemove", Qr), st(a, "touchmove", Qr), st(a, "mouseup", o._onDrop), st(a, "touchend", o._onDrop), st(a, "touchcancel", o._onDrop), Pd && this.nativeDraggable && (this.options.touchStartThreshold = 4, Ee.draggable = !0), ln("delayStart", this, {
1896
1896
  evt: e
1897
- }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Wi || xr))) {
1897
+ }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Wi || Cr))) {
1898
1898
  if (Ne.eventCanceled) {
1899
1899
  this._onDrop();
1900
1900
  return;
@@ -1926,11 +1926,11 @@ Ne.prototype = /** @lends Sortable.prototype */
1926
1926
  },
1927
1927
  _dragStarted: function(e, t) {
1928
1928
  if (Eo = !1, yt && Ee) {
1929
- an("dragStarted", this, {
1929
+ ln("dragStarted", this, {
1930
1930
  evt: t
1931
1931
  }), this.nativeDraggable && st(document, "dragover", Py);
1932
1932
  var r = this.options;
1933
- !e && gn(Ee, r.dragClass, !1), gn(Ee, r.ghostClass, !0), Ne.active = this, e && this._appendGhost(), en({
1933
+ !e && gn(Ee, r.dragClass, !1), gn(Ee, r.ghostClass, !0), Ne.active = this, e && this._appendGhost(), tn({
1934
1934
  sortable: this,
1935
1935
  name: "start",
1936
1936
  originalEvent: t
@@ -1961,8 +1961,8 @@ Ne.prototype = /** @lends Sortable.prototype */
1961
1961
  }
1962
1962
  },
1963
1963
  _onTouchMove: function(e) {
1964
- if (Qr) {
1965
- var t = this.options, r = t.fallbackTolerance, o = t.fallbackOffset, i = e.touches ? e.touches[0] : e, s = Ge && Io(Ge, !0), a = Ge && s && s.a, l = Ge && s && s.d, u = as && qt && Nd(qt), d = (i.clientX - Qr.clientX + o.x) / (a || 1) + (u ? u[0] - qa[0] : 0) / (a || 1), c = (i.clientY - Qr.clientY + o.y) / (l || 1) + (u ? u[1] - qa[1] : 0) / (l || 1);
1964
+ if (Xr) {
1965
+ var t = this.options, r = t.fallbackTolerance, o = t.fallbackOffset, i = e.touches ? e.touches[0] : e, s = Ge && Io(Ge, !0), a = Ge && s && s.a, l = Ge && s && s.d, u = as && qt && Nd(qt), d = (i.clientX - Xr.clientX + o.x) / (a || 1) + (u ? u[0] - qa[0] : 0) / (a || 1), c = (i.clientY - Xr.clientY + o.y) / (l || 1) + (u ? u[1] - qa[1] : 0) / (l || 1);
1966
1966
  if (!Ne.active && !Eo) {
1967
1967
  if (r && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < r)
1968
1968
  return;
@@ -1996,14 +1996,14 @@ Ne.prototype = /** @lends Sortable.prototype */
1996
1996
  },
1997
1997
  _onDragStart: function(e, t) {
1998
1998
  var r = this, o = e.dataTransfer, i = r.options;
1999
- if (an("dragStart", this, {
1999
+ if (ln("dragStart", this, {
2000
2000
  evt: e
2001
2001
  }), Ne.eventCanceled) {
2002
2002
  this._onDrop();
2003
2003
  return;
2004
2004
  }
2005
- an("setupClone", this), Ne.eventCanceled || (St = lp(Ee), St.draggable = !1, St.style["will-change"] = "", this._hideClone(), gn(St, this.options.chosenClass, !1), Ne.clone = St), r.cloneId = ks(function() {
2006
- an("clone", r), !Ne.eventCanceled && (r.options.removeCloneOnHide || yt.insertBefore(St, Ee), r._hideClone(), en({
2005
+ ln("setupClone", this), Ne.eventCanceled || (St = lp(Ee), St.draggable = !1, St.style["will-change"] = "", this._hideClone(), gn(St, this.options.chosenClass, !1), Ne.clone = St), r.cloneId = ks(function() {
2006
+ ln("clone", r), !Ne.eventCanceled && (r.options.removeCloneOnHide || yt.insertBefore(St, Ee), r._hideClone(), tn({
2007
2007
  sortable: r,
2008
2008
  name: "clone"
2009
2009
  }));
@@ -2014,7 +2014,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2014
2014
  var t = this.el, r = e.target, o, i, s, a = this.options, l = a.group, u = Ne.active, d = is === l, c = a.sort, h = Vt || u, m, f = this, g = !1;
2015
2015
  if (Ol) return;
2016
2016
  function M(V, U) {
2017
- an(V, f, rr({
2017
+ ln(V, f, rr({
2018
2018
  evt: e,
2019
2019
  isOwner: d,
2020
2020
  axis: m ? "vertical" : "horizontal",
@@ -2039,15 +2039,15 @@ Ne.prototype = /** @lends Sortable.prototype */
2039
2039
  insertion: V
2040
2040
  }), V && (d ? u._hideClone() : u._showClone(f), f !== h && (gn(Ee, Vt ? Vt.options.ghostClass : u.options.ghostClass, !1), gn(Ee, a.ghostClass, !0)), Vt !== f && f !== Ne.active ? Vt = f : f === Ne.active && Vt && (Vt = null), h === f && (f._ignoreWhileAnimating = r), f.animateAll(function() {
2041
2041
  M("dragOverAnimationComplete"), f._ignoreWhileAnimating = null;
2042
- }), f !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (r === Ee && !Ee.animated || r === t && !r.animated) && (wo = null), !a.dragoverBubble && !e.rootEl && r !== document && (Ee.parentNode[kn]._isOutsideThisEl(e.target), !V && Zr(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), g = !0;
2042
+ }), f !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (r === Ee && !Ee.animated || r === t && !r.animated) && (wo = null), !a.dragoverBubble && !e.rootEl && r !== document && (Ee.parentNode[kn]._isOutsideThisEl(e.target), !V && Qr(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), g = !0;
2043
2043
  }
2044
2044
  function O() {
2045
- yn = Tn(Ee), Or = Tn(Ee, a.draggable), en({
2045
+ yn = Tn(Ee), Ar = Tn(Ee, a.draggable), tn({
2046
2046
  sortable: f,
2047
2047
  name: "change",
2048
2048
  toEl: t,
2049
2049
  newIndex: yn,
2050
- newDraggableIndex: Or,
2050
+ newDraggableIndex: Ar,
2051
2051
  originalEvent: e
2052
2052
  });
2053
2053
  }
@@ -2057,7 +2057,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2057
2057
  if (Fs = !1, u && !a.disabled && (d ? c || (s = Et !== yt) : Vt === this || (this.lastPutMode = is.checkPull(this, u, Ee, e)) && l.checkPut(this, u, Ee, e))) {
2058
2058
  if (m = this._getDirection(e, r) === "vertical", o = Nt(Ee), M("dragOverValid"), Ne.eventCanceled) return g;
2059
2059
  if (s)
2060
- return Et = yt, x(), this._hideClone(), M("revert"), Ne.eventCanceled || (eo ? yt.insertBefore(Ee, eo) : yt.appendChild(Ee)), B(!0);
2060
+ return Et = yt, x(), this._hideClone(), M("revert"), Ne.eventCanceled || (Jr ? yt.insertBefore(Ee, Jr) : yt.appendChild(Ee)), B(!0);
2061
2061
  var K = hu(t, a.draggable);
2062
2062
  if (!K || zy(e, m, this) && !K.animated) {
2063
2063
  if (K === Ee)
@@ -2097,7 +2097,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2097
2097
  },
2098
2098
  _ignoreWhileAnimating: null,
2099
2099
  _offMoveEvents: function() {
2100
- it(document, "mousemove", this._onTouchMove), it(document, "touchmove", this._onTouchMove), it(document, "pointermove", this._onTouchMove), it(document, "dragover", Zr), it(document, "mousemove", Zr), it(document, "touchmove", Zr);
2100
+ it(document, "mousemove", this._onTouchMove), it(document, "touchmove", this._onTouchMove), it(document, "pointermove", this._onTouchMove), it(document, "dragover", Qr), it(document, "mousemove", Qr), it(document, "touchmove", Qr);
2101
2101
  },
2102
2102
  _offUpEvents: function() {
2103
2103
  var e = this.el.ownerDocument;
@@ -2105,52 +2105,52 @@ Ne.prototype = /** @lends Sortable.prototype */
2105
2105
  },
2106
2106
  _onDrop: function(e) {
2107
2107
  var t = this.el, r = this.options;
2108
- if (yn = Tn(Ee), Or = Tn(Ee, r.draggable), an("drop", this, {
2108
+ if (yn = Tn(Ee), Ar = Tn(Ee, r.draggable), ln("drop", this, {
2109
2109
  evt: e
2110
- }), Et = Ee && Ee.parentNode, yn = Tn(Ee), Or = Tn(Ee, r.draggable), Ne.eventCanceled) {
2110
+ }), Et = Ee && Ee.parentNode, yn = Tn(Ee), Ar = Tn(Ee, r.draggable), Ne.eventCanceled) {
2111
2111
  this._nulling();
2112
2112
  return;
2113
2113
  }
2114
- Eo = !1, ss = !1, xi = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Dl(this.cloneId), Dl(this._dragStartId), this.nativeDraggable && (it(document, "drop", this), it(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wi && Fe(document.body, "user-select", ""), Fe(Ee, "transform", ""), e && (pi && (e.cancelable && e.preventDefault(), !r.dropBubble && e.stopPropagation()), Ge && Ge.parentNode && Ge.parentNode.removeChild(Ge), (yt === Et || Vt && Vt.lastPutMode !== "clone") && St && St.parentNode && St.parentNode.removeChild(St), Ee && (this.nativeDraggable && it(Ee, "dragend", this), Ga(Ee), Ee.style["will-change"] = "", pi && !Eo && gn(Ee, Vt ? Vt.options.ghostClass : this.options.ghostClass, !1), gn(Ee, this.options.chosenClass, !1), en({
2114
+ Eo = !1, ss = !1, xi = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Dl(this.cloneId), Dl(this._dragStartId), this.nativeDraggable && (it(document, "drop", this), it(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wi && Fe(document.body, "user-select", ""), Fe(Ee, "transform", ""), e && (pi && (e.cancelable && e.preventDefault(), !r.dropBubble && e.stopPropagation()), Ge && Ge.parentNode && Ge.parentNode.removeChild(Ge), (yt === Et || Vt && Vt.lastPutMode !== "clone") && St && St.parentNode && St.parentNode.removeChild(St), Ee && (this.nativeDraggable && it(Ee, "dragend", this), Ga(Ee), Ee.style["will-change"] = "", pi && !Eo && gn(Ee, Vt ? Vt.options.ghostClass : this.options.ghostClass, !1), gn(Ee, this.options.chosenClass, !1), tn({
2115
2115
  sortable: this,
2116
2116
  name: "unchoose",
2117
2117
  toEl: Et,
2118
2118
  newIndex: null,
2119
2119
  newDraggableIndex: null,
2120
2120
  originalEvent: e
2121
- }), yt !== Et ? (yn >= 0 && (en({
2121
+ }), yt !== Et ? (yn >= 0 && (tn({
2122
2122
  rootEl: Et,
2123
2123
  name: "add",
2124
2124
  toEl: Et,
2125
2125
  fromEl: yt,
2126
2126
  originalEvent: e
2127
- }), en({
2127
+ }), tn({
2128
2128
  sortable: this,
2129
2129
  name: "remove",
2130
2130
  toEl: Et,
2131
2131
  originalEvent: e
2132
- }), en({
2132
+ }), tn({
2133
2133
  rootEl: Et,
2134
2134
  name: "sort",
2135
2135
  toEl: Et,
2136
2136
  fromEl: yt,
2137
2137
  originalEvent: e
2138
- }), en({
2138
+ }), tn({
2139
2139
  sortable: this,
2140
2140
  name: "sort",
2141
2141
  toEl: Et,
2142
2142
  originalEvent: e
2143
- })), Vt && Vt.save()) : yn !== Bo && yn >= 0 && (en({
2143
+ })), Vt && Vt.save()) : yn !== Bo && yn >= 0 && (tn({
2144
2144
  sortable: this,
2145
2145
  name: "update",
2146
2146
  toEl: Et,
2147
2147
  originalEvent: e
2148
- }), en({
2148
+ }), tn({
2149
2149
  sortable: this,
2150
2150
  name: "sort",
2151
2151
  toEl: Et,
2152
2152
  originalEvent: e
2153
- })), Ne.active && ((yn == null || yn === -1) && (yn = Bo, Or = _i), en({
2153
+ })), Ne.active && ((yn == null || yn === -1) && (yn = Bo, Ar = _i), tn({
2154
2154
  sortable: this,
2155
2155
  name: "end",
2156
2156
  toEl: Et,
@@ -2158,7 +2158,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2158
2158
  }), this.save()))), this._nulling();
2159
2159
  },
2160
2160
  _nulling: function() {
2161
- an("nulling", this), yt = Ee = Et = Ge = eo = St = ys = Ir = Qr = An = pi = yn = Or = Bo = _i = wo = Ci = Vt = is = Ne.dragged = Ne.ghost = Ne.clone = Ne.active = null, zs.forEach(function(e) {
2161
+ ln("nulling", this), yt = Ee = Et = Ge = Jr = St = ys = Dr = Xr = An = pi = yn = Ar = Bo = _i = wo = Ci = Vt = is = Ne.dragged = Ne.ghost = Ne.clone = Ne.active = null, zs.forEach(function(e) {
2162
2162
  e.checked = !0;
2163
2163
  }), zs.length = Ua = Wa = 0;
2164
2164
  },
@@ -2232,16 +2232,16 @@ Ne.prototype = /** @lends Sortable.prototype */
2232
2232
  * Destroy
2233
2233
  */
2234
2234
  destroy: function() {
2235
- an("destroy", this);
2235
+ ln("destroy", this);
2236
2236
  var e = this.el;
2237
2237
  e[kn] = null, it(e, "mousedown", this._onTapStart), it(e, "touchstart", this._onTapStart), it(e, "pointerdown", this._onTapStart), this.nativeDraggable && (it(e, "dragover", this), it(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
2238
2238
  t.removeAttribute("draggable");
2239
2239
  }), this._onDrop(), this._disableDelayedDragEvents(), Ns.splice(Ns.indexOf(this.el), 1), this.el = e = null;
2240
2240
  },
2241
2241
  _hideClone: function() {
2242
- if (!Ir) {
2243
- if (an("hideClone", this), Ne.eventCanceled) return;
2244
- Fe(St, "display", "none"), this.options.removeCloneOnHide && St.parentNode && St.parentNode.removeChild(St), Ir = !0;
2242
+ if (!Dr) {
2243
+ if (ln("hideClone", this), Ne.eventCanceled) return;
2244
+ Fe(St, "display", "none"), this.options.removeCloneOnHide && St.parentNode && St.parentNode.removeChild(St), Dr = !0;
2245
2245
  }
2246
2246
  },
2247
2247
  _showClone: function(e) {
@@ -2249,9 +2249,9 @@ Ne.prototype = /** @lends Sortable.prototype */
2249
2249
  this._hideClone();
2250
2250
  return;
2251
2251
  }
2252
- if (Ir) {
2253
- if (an("showClone", this), Ne.eventCanceled) return;
2254
- Ee.parentNode == yt && !this.options.group.revertClone ? yt.insertBefore(St, Ee) : eo ? yt.insertBefore(St, eo) : yt.appendChild(St), this.options.group.revertClone && this.animate(Ee, St), Fe(St, "display", ""), Ir = !1;
2252
+ if (Dr) {
2253
+ if (ln("showClone", this), Ne.eventCanceled) return;
2254
+ Ee.parentNode == yt && !this.options.group.revertClone ? yt.insertBefore(St, Ee) : Jr ? yt.insertBefore(St, Jr) : yt.appendChild(St), this.options.group.revertClone && this.animate(Ee, St), Fe(St, "display", ""), Dr = !1;
2255
2255
  }
2256
2256
  }
2257
2257
  };
@@ -2260,7 +2260,7 @@ function Ry(n) {
2260
2260
  }
2261
2261
  function ls(n, e, t, r, o, i, s, a) {
2262
2262
  var l, u = n[kn], d = u.options.onMove, c;
2263
- return window.CustomEvent && !xr && !Wi ? l = new CustomEvent("move", {
2263
+ return window.CustomEvent && !Cr && !Wi ? l = new CustomEvent("move", {
2264
2264
  bubbles: !0,
2265
2265
  cancelable: !0
2266
2266
  }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = e, l.from = n, l.dragged = t, l.draggedRect = r, l.related = o || e, l.relatedRect = i || Nt(e), l.willInsertAfter = a, l.originalEvent = s, n.dispatchEvent(l), d && (c = d.call(u, l, s)), c;
@@ -2384,22 +2384,22 @@ function Uy() {
2384
2384
  },
2385
2385
  _handleAutoScroll: function(t, r) {
2386
2386
  var o = this, i = (t.touches ? t.touches[0] : t).clientX, s = (t.touches ? t.touches[0] : t).clientY, a = document.elementFromPoint(i, s);
2387
- if (Hs = t, r || this.options.forceAutoScrollFallback || Wi || xr || wi) {
2387
+ if (Hs = t, r || this.options.forceAutoScrollFallback || Wi || Cr || wi) {
2388
2388
  Qa(t, this.options, a, r);
2389
- var l = Lr(a, !0);
2389
+ var l = Ir(a, !0);
2390
2390
  Ll && (!mi || i !== Ka || s !== Xa) && (mi && Vd(), mi = setInterval(function() {
2391
- var u = Lr(document.elementFromPoint(i, s), !0);
2391
+ var u = Ir(document.elementFromPoint(i, s), !0);
2392
2392
  u !== l && (l = u, _s()), Qa(t, o.options, u, r);
2393
2393
  }, 10), Ka = i, Xa = s);
2394
2394
  } else {
2395
- if (!this.options.bubbleScroll || Lr(a, !0) === er()) {
2395
+ if (!this.options.bubbleScroll || Ir(a, !0) === er()) {
2396
2396
  _s();
2397
2397
  return;
2398
2398
  }
2399
- Qa(t, this.options, Lr(a, !1), !1);
2399
+ Qa(t, this.options, Ir(a, !1), !1);
2400
2400
  }
2401
2401
  }
2402
- }, br(n, {
2402
+ }, gr(n, {
2403
2403
  pluginName: "scroll",
2404
2404
  initializeByDefault: !0
2405
2405
  });
@@ -2415,7 +2415,7 @@ function Vd() {
2415
2415
  var Qa = sp(function(n, e, t, r) {
2416
2416
  if (e.scroll) {
2417
2417
  var o = (n.touches ? n.touches[0] : n).clientX, i = (n.touches ? n.touches[0] : n).clientY, s = e.scrollSensitivity, a = e.scrollSpeed, l = er(), u = !1, d;
2418
- Il !== t && (Il = t, _s(), fi = e.scroll, d = e.scrollFn, fi === !0 && (fi = Lr(t, !0)));
2418
+ Il !== t && (Il = t, _s(), fi = e.scroll, d = e.scrollFn, fi === !0 && (fi = Ir(t, !0)));
2419
2419
  var c = 0, h = fi;
2420
2420
  do {
2421
2421
  var m = h, f = Nt(m), g = f.top, M = f.bottom, x = f.left, B = f.right, O = f.width, K = f.height, A = void 0, D = void 0, z = m.scrollWidth, I = m.scrollHeight, w = Fe(m), T = m.scrollLeft, j = m.scrollTop;
@@ -2431,7 +2431,7 @@ var Qa = sp(function(n, e, t, r) {
2431
2431
  }).bind({
2432
2432
  layer: c
2433
2433
  }), 24))), c++;
2434
- } while (e.bubbleScroll && h !== l && (h = Lr(h, !1)));
2434
+ } while (e.bubbleScroll && h !== l && (h = Ir(h, !1)));
2435
2435
  Ll = u;
2436
2436
  }
2437
2437
  }, 30), fp = function(e) {
@@ -2462,7 +2462,7 @@ pu.prototype = {
2462
2462
  },
2463
2463
  drop: fp
2464
2464
  };
2465
- br(pu, {
2465
+ gr(pu, {
2466
2466
  pluginName: "revertOnSpill"
2467
2467
  });
2468
2468
  function fu() {
@@ -2474,7 +2474,7 @@ fu.prototype = {
2474
2474
  },
2475
2475
  drop: fp
2476
2476
  };
2477
- br(fu, {
2477
+ gr(fu, {
2478
2478
  pluginName: "removeOnSpill"
2479
2479
  });
2480
2480
  Ne.mount(new Uy());
@@ -2894,7 +2894,7 @@ const r0 = {
2894
2894
  value: r.value,
2895
2895
  onChange: o[0] || (o[0] = (i) => t("update:value", !r.value))
2896
2896
  }, null, 42, c0),
2897
- H(p(gr), null, {
2897
+ H(p(lo), null, {
2898
2898
  default: P(() => [
2899
2899
  !r.isIndeterminate && r.value ? (v(), re(p(Ke), {
2900
2900
  key: 0,
@@ -3098,7 +3098,7 @@ const r0 = {
3098
3098
  },
3099
3099
  emits: ["click"],
3100
3100
  setup(n, { emit: e }) {
3101
- const t = e, r = sn(), o = R0(), i = Y(n.isActive ?? !1), s = R(() => [i.value && r["is-open"]]);
3101
+ const t = e, r = an(), o = R0(), i = Y(n.isActive ?? !1), s = R(() => [i.value && r["is-open"]]);
3102
3102
  function a() {
3103
3103
  i.value = !i.value, t("click", i.value);
3104
3104
  }
@@ -3307,7 +3307,7 @@ const X0 = ["accept", "disabled"], Q0 = /* @__PURE__ */ ue({
3307
3307
  }),
3308
3308
  emits: /* @__PURE__ */ pt(["update:value"], ["update:value", "update:isError"]),
3309
3309
  setup(n, { emit: e }) {
3310
- const t = e, r = ut(n, "value"), o = ut(n, "isError"), i = sn(), s = Y(), a = Y(""), l = Y(""), u = Y({
3310
+ const t = e, r = ut(n, "value"), o = ut(n, "isError"), i = an(), s = Y(), a = Y(""), l = Y(""), u = Y({
3311
3311
  format: !1,
3312
3312
  size: !1
3313
3313
  }), d = R(() => a.value ? "file" : "empty"), {
@@ -3407,13 +3407,13 @@ const X0 = ["accept", "disabled"], Q0 = /* @__PURE__ */ ue({
3407
3407
  W("div", {
3408
3408
  class: y(ce.value)
3409
3409
  }, [
3410
- H(p(dn), null, {
3410
+ H(p(Qt), null, {
3411
3411
  default: P(() => [
3412
3412
  d.value === "empty" ? (v(), S("div", {
3413
3413
  key: "empty",
3414
3414
  class: y(p(i).empty)
3415
3415
  }, [
3416
- H(p(dn), null, {
3416
+ H(p(Qt), null, {
3417
3417
  default: P(() => [
3418
3418
  p(M) ? (v(), S("div", {
3419
3419
  key: "empty-drop",
@@ -3459,7 +3459,7 @@ const X0 = ["accept", "disabled"], Q0 = /* @__PURE__ */ ue({
3459
3459
  key: "file",
3460
3460
  class: y(p(i)["file-data"])
3461
3461
  }, [
3462
- H(p(gr), null, {
3462
+ H(p(lo), null, {
3463
3463
  default: P(() => [
3464
3464
  C.isLoading ? (v(), re(p(aa), {
3465
3465
  key: 0,
@@ -3511,7 +3511,7 @@ const X0 = ["accept", "disabled"], Q0 = /* @__PURE__ */ ue({
3511
3511
  _: 1
3512
3512
  })
3513
3513
  ], 2),
3514
- H(p(dn), null, {
3514
+ H(p(Qt), null, {
3515
3515
  default: P(() => [
3516
3516
  w.value ? (v(), re(p(Be), {
3517
3517
  key: w.value,
@@ -3972,7 +3972,7 @@ Available fill gap methods: `).concat(ve, "."));
3972
3972
  down: ve > Ae,
3973
3973
  left: Me < mn,
3974
3974
  right: Me > mn
3975
- }, Er = {
3975
+ }, xr = {
3976
3976
  up: ve + I < Ae,
3977
3977
  down: ve - I > Ae,
3978
3978
  left: Me + I < mn,
@@ -3985,7 +3985,7 @@ Available fill gap methods: `).concat(ve, "."));
3985
3985
  return !1;
3986
3986
  if (Ie || O(de) && h(de, Bn) || m(de, Bn)) {
3987
3987
  var ae = !1;
3988
- x(de) && B(de) ? (En.up && g(de) || En.down && M(de)) && (ae = !0) : g(de) && M(de) ? (En.left && x(de) || En.right && B(de)) && (ae = !0) : (Er.up && g(de) || Er.down && M(de) || Er.left && x(de) || Er.right && B(de)) && (ae = !0), ae && (We ? Q(We, !0) : $.cancelable && $.preventDefault());
3988
+ x(de) && B(de) ? (En.up && g(de) || En.down && M(de)) && (ae = !0) : g(de) && M(de) ? (En.left && x(de) || En.right && B(de)) && (ae = !0) : (xr.up && g(de) || xr.down && M(de) || xr.left && x(de) || xr.right && B(de)) && (ae = !0), ae && (We ? Q(We, !0) : $.cancelable && $.preventDefault());
3989
3989
  } else
3990
3990
  Q(We);
3991
3991
  } else
@@ -4085,7 +4085,7 @@ const l1 = ["id"], u1 = /* @__PURE__ */ ue({
4085
4085
  Ze(i, () => {
4086
4086
  i.value ? l() : u();
4087
4087
  });
4088
- const s = sn();
4088
+ const s = an();
4089
4089
  function a(m) {
4090
4090
  var g;
4091
4091
  const f = document.querySelectorAll(`.${s.root}`);
@@ -4117,7 +4117,7 @@ const l1 = ["id"], u1 = /* @__PURE__ */ ue({
4117
4117
  class: y([m.$style.root, m.$attrs.class]),
4118
4118
  id: p(o)
4119
4119
  }, [
4120
- H(p(dn), { appear: "" }, {
4120
+ H(p(Qt), { appear: "" }, {
4121
4121
  default: P(() => [
4122
4122
  W("div", {
4123
4123
  class: y([
@@ -4332,7 +4332,7 @@ const L6 = () => Vi(
4332
4332
  }), W1 = {
4333
4333
  $style: wp
4334
4334
  }, R6 = /* @__PURE__ */ ge(U1, [["__cssModules", W1]]);
4335
- function Nr(n) {
4335
+ function Fr(n) {
4336
4336
  return typeof n == "string" || n instanceof String;
4337
4337
  }
4338
4338
  function Gd(n) {
@@ -4442,7 +4442,7 @@ function Ye(n, e) {
4442
4442
  }
4443
4443
  function _p(n) {
4444
4444
  if (n == null) throw new Error("mask property should be defined");
4445
- return n instanceof RegExp ? Ye.MaskedRegExp : Nr(n) ? Ye.MaskedPattern : n === Date ? Ye.MaskedDate : n === Number ? Ye.MaskedNumber : Array.isArray(n) || n === Array ? Ye.MaskedDynamic : Ye.Masked && n.prototype instanceof Ye.Masked ? n : Ye.Masked && n instanceof Ye.Masked ? n.constructor : n instanceof Function ? Ye.MaskedFunction : (console.warn("Mask not found for mask", n), Ye.Masked);
4445
+ return n instanceof RegExp ? Ye.MaskedRegExp : Fr(n) ? Ye.MaskedPattern : n === Date ? Ye.MaskedDate : n === Number ? Ye.MaskedNumber : Array.isArray(n) || n === Array ? Ye.MaskedDynamic : Ye.Masked && n.prototype instanceof Ye.Masked ? n : Ye.Masked && n instanceof Ye.Masked ? n.constructor : n instanceof Function ? Ye.MaskedFunction : (console.warn("Mask not found for mask", n), Ye.Masked);
4446
4446
  }
4447
4447
  function Ai(n) {
4448
4448
  if (!n) throw new Error("Options in not defined");
@@ -4472,13 +4472,13 @@ function Ai(n) {
4472
4472
  mask: n
4473
4473
  };
4474
4474
  }
4475
- function yr(n) {
4475
+ function br(n) {
4476
4476
  if (Ye.Masked && n instanceof Ye.Masked) return n;
4477
4477
  const e = Ai(n), t = _p(e.mask);
4478
4478
  if (!t) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
4479
4479
  return e.mask === t && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new t(e);
4480
4480
  }
4481
- Ye.createMask = yr;
4481
+ Ye.createMask = br;
4482
4482
  class vu {
4483
4483
  /** */
4484
4484
  /** */
@@ -4647,7 +4647,7 @@ class Q1 {
4647
4647
  */
4648
4648
  /** Internal {@link Masked} model */
4649
4649
  constructor(e, t) {
4650
- this.el = e instanceof vu ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new Cp(e) : new X1(e), this.masked = yr(t), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ca(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this.updateValue(), this._onChange();
4650
+ this.el = e instanceof vu ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new Cp(e) : new X1(e), this.masked = br(t), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ca(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this.updateValue(), this._onChange();
4651
4651
  }
4652
4652
  maskEquals(e) {
4653
4653
  var t;
@@ -4665,7 +4665,7 @@ class Q1 {
4665
4665
  });
4666
4666
  return;
4667
4667
  }
4668
- const t = e instanceof Ye.Masked ? e : yr({
4668
+ const t = e instanceof Ye.Masked ? e : br({
4669
4669
  mask: e
4670
4670
  });
4671
4671
  t.unmaskedValue = this.masked.unmaskedValue, this.masked = t;
@@ -4922,7 +4922,7 @@ class Xn {
4922
4922
  return this.value = this.value.slice(0, -1), e;
4923
4923
  }
4924
4924
  }
4925
- class Qt {
4925
+ class Zt {
4926
4926
  /** */
4927
4927
  /** */
4928
4928
  /** Transforms value before mask processing */
@@ -4938,7 +4938,7 @@ class Qt {
4938
4938
  /** */
4939
4939
  constructor(e) {
4940
4940
  this._value = "", this._update({
4941
- ...Qt.DEFAULTS,
4941
+ ...Zt.DEFAULTS,
4942
4942
  ...e
4943
4943
  }), this._initialized = !0;
4944
4944
  }
@@ -5027,7 +5027,7 @@ class Qt {
5027
5027
  }
5028
5028
  /** Appends tail */
5029
5029
  appendTail(e) {
5030
- return Nr(e) && (e = new Xn(String(e))), e.appendTo(this);
5030
+ return Fr(e) && (e = new Xn(String(e))), e.appendTo(this);
5031
5031
  }
5032
5032
  /** Appends char */
5033
5033
  _appendCharRaw(e, t) {
@@ -5080,8 +5080,8 @@ class Qt {
5080
5080
  }
5081
5081
  /** Appends symbols considering flags */
5082
5082
  append(e, t, r) {
5083
- if (!Nr(e)) throw new Error("value should be string");
5084
- const o = Nr(r) ? new Xn(String(r)) : r;
5083
+ if (!Fr(e)) throw new Error("value should be string");
5084
+ const o = Fr(r) ? new Xn(String(r)) : r;
5085
5085
  t != null && t.tail && (t._beforeTailState = this.state);
5086
5086
  let i;
5087
5087
  [e, i] = this.doPrepare(e, t);
@@ -5156,18 +5156,18 @@ class Qt {
5156
5156
  }
5157
5157
  typedValueEquals(e) {
5158
5158
  const t = this.typedValue;
5159
- return e === t || Qt.EMPTY_VALUES.includes(e) && Qt.EMPTY_VALUES.includes(t) || (this.format ? this.format(e, this) === this.format(this.typedValue, this) : !1);
5159
+ return e === t || Zt.EMPTY_VALUES.includes(e) && Zt.EMPTY_VALUES.includes(t) || (this.format ? this.format(e, this) === this.format(this.typedValue, this) : !1);
5160
5160
  }
5161
5161
  pad(e) {
5162
5162
  return new Qe();
5163
5163
  }
5164
5164
  }
5165
- Qt.DEFAULTS = {
5165
+ Zt.DEFAULTS = {
5166
5166
  skipInvalid: !0
5167
5167
  };
5168
- Qt.EMPTY_VALUES = [void 0, null, ""];
5169
- Ye.Masked = Qt;
5170
- class no {
5168
+ Zt.EMPTY_VALUES = [void 0, null, ""];
5169
+ Ye.Masked = Zt;
5170
+ class to {
5171
5171
  /** */
5172
5172
  constructor(e, t) {
5173
5173
  e === void 0 && (e = []), t === void 0 && (t = 0), this.chunks = e, this.from = t;
@@ -5177,13 +5177,13 @@ class no {
5177
5177
  }
5178
5178
  extend(e) {
5179
5179
  if (!String(e)) return;
5180
- e = Nr(e) ? new Xn(String(e)) : e;
5180
+ e = Fr(e) ? new Xn(String(e)) : e;
5181
5181
  const t = this.chunks[this.chunks.length - 1], r = t && // if stops are same or tail has no stop
5182
5182
  (t.stop === e.stop || e.stop == null) && // if tail chunk goes just after last chunk
5183
5183
  e.from === t.from + t.toString().length;
5184
5184
  if (e instanceof Xn)
5185
5185
  r ? t.extend(e.toString()) : this.chunks.push(e);
5186
- else if (e instanceof no) {
5186
+ else if (e instanceof to) {
5187
5187
  if (e.stop == null) {
5188
5188
  let o;
5189
5189
  for (; e.chunks.length && e.chunks[0].stop == null; )
@@ -5200,8 +5200,8 @@ class no {
5200
5200
  const o = this.chunks[r], i = e._mapPosToBlock(e.displayValue.length), s = o.stop;
5201
5201
  let a;
5202
5202
  if (s != null && // if block not found or stop is behind lastBlock
5203
- (!i || i.index <= s) && ((o instanceof no || // for continuous block also check if stop is exist
5204
- e._stops.indexOf(s) >= 0) && t.aggregate(e._appendPlaceholder(s)), a = o instanceof no && e._blocks[s]), a) {
5203
+ (!i || i.index <= s) && ((o instanceof to || // for continuous block also check if stop is exist
5204
+ e._stops.indexOf(s) >= 0) && t.aggregate(e._appendPlaceholder(s)), a = o instanceof to && e._blocks[s]), a) {
5205
5205
  const l = a.appendTail(o);
5206
5206
  t.aggregate(l);
5207
5207
  const u = o.toString().slice(l.rawInserted.length);
@@ -5229,7 +5229,7 @@ class no {
5229
5229
  ...r
5230
5230
  } = e;
5231
5231
  Object.assign(this, r), this.chunks = t.map((o) => {
5232
- const i = "chunks" in o ? new no() : new Xn();
5232
+ const i = "chunks" in o ? new to() : new Xn();
5233
5233
  return i.state = o, i;
5234
5234
  });
5235
5235
  }
@@ -5434,7 +5434,7 @@ class xp {
5434
5434
  return new Xn("");
5435
5435
  }
5436
5436
  appendTail(e) {
5437
- return Nr(e) && (e = new Xn(String(e))), e.appendTo(this);
5437
+ return Fr(e) && (e = new Xn(String(e))), e.appendTo(this);
5438
5438
  }
5439
5439
  append(e, t, r) {
5440
5440
  const o = this._appendChar(e[0], t);
@@ -5474,7 +5474,7 @@ class Vs {
5474
5474
  eager: a,
5475
5475
  ...l
5476
5476
  } = e;
5477
- this.masked = yr(l), Object.assign(this, {
5477
+ this.masked = br(l), Object.assign(this, {
5478
5478
  parent: t,
5479
5479
  isOptional: r,
5480
5480
  placeholderChar: o,
@@ -5582,7 +5582,7 @@ Vs.DEFAULT_DEFINITIONS = {
5582
5582
  // http://stackoverflow.com/a/22075070
5583
5583
  "*": /./
5584
5584
  };
5585
- class J1 extends Qt {
5585
+ class J1 extends Zt {
5586
5586
  /** */
5587
5587
  /** Enable characters overwriting */
5588
5588
  /** */
@@ -5597,7 +5597,7 @@ class J1 extends Qt {
5597
5597
  }
5598
5598
  }
5599
5599
  Ye.MaskedRegExp = J1;
5600
- class Zt extends Qt {
5600
+ class Jt extends Zt {
5601
5601
  /** */
5602
5602
  /** */
5603
5603
  /** Single char for empty input */
@@ -5609,7 +5609,7 @@ class Zt extends Qt {
5609
5609
  /** */
5610
5610
  constructor(e) {
5611
5611
  super({
5612
- ...Zt.DEFAULTS,
5612
+ ...Jt.DEFAULTS,
5613
5613
  ...e,
5614
5614
  definitions: Object.assign({}, Vs.DEFAULT_DEFINITIONS, e == null ? void 0 : e.definitions)
5615
5615
  });
@@ -5649,13 +5649,13 @@ class Zt extends Qt {
5649
5649
  }, M = m != null ? new Ye.RepeatBlock(
5650
5650
  g
5651
5651
  /* TODO */
5652
- ) : yr(g);
5652
+ ) : br(g);
5653
5653
  M && (this._blocks.push(M), h && (this.exposeBlock = M), this._maskedBlocks[c] || (this._maskedBlocks[c] = []), this._maskedBlocks[c].push(this._blocks.length - 1)), i += c.length - 1;
5654
5654
  continue;
5655
5655
  }
5656
5656
  }
5657
5657
  let s = t[i], a = s in e;
5658
- if (s === Zt.STOP_CHAR) {
5658
+ if (s === Jt.STOP_CHAR) {
5659
5659
  this._stops.push(this._blocks.length);
5660
5660
  continue;
5661
5661
  }
@@ -5667,7 +5667,7 @@ class Zt extends Qt {
5667
5667
  o = !o;
5668
5668
  continue;
5669
5669
  }
5670
- if (s === Zt.ESCAPE_CHAR) {
5670
+ if (s === Jt.ESCAPE_CHAR) {
5671
5671
  if (++i, s = t[i], !s) break;
5672
5672
  a = !1;
5673
5673
  }
@@ -5787,10 +5787,10 @@ class Zt extends Qt {
5787
5787
  }
5788
5788
  extractTail(e, t) {
5789
5789
  e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length);
5790
- const r = new no();
5790
+ const r = new to();
5791
5791
  return e === t || this._forEachBlocksInRange(e, t, (o, i, s, a) => {
5792
5792
  const l = o.extractTail(s, a);
5793
- l.stop = this._findStopBefore(i), l.from = this._blockStartPos(i), l instanceof no && (l.blockIndex = i), r.extend(l);
5793
+ l.stop = this._findStopBefore(i), l.from = this._blockStartPos(i), l instanceof to && (l.blockIndex = i), r.extend(l);
5794
5794
  }), r;
5795
5795
  }
5796
5796
  extractInput(e, t, r) {
@@ -5896,17 +5896,17 @@ class Zt extends Qt {
5896
5896
  return this._forEachBlocksInRange(0, this.displayValue.length, (r) => t.aggregate(r.pad(e))), t;
5897
5897
  }
5898
5898
  }
5899
- Zt.DEFAULTS = {
5900
- ...Qt.DEFAULTS,
5899
+ Jt.DEFAULTS = {
5900
+ ...Zt.DEFAULTS,
5901
5901
  lazy: !0,
5902
5902
  placeholderChar: "_"
5903
5903
  };
5904
- Zt.STOP_CHAR = "`";
5905
- Zt.ESCAPE_CHAR = "\\";
5906
- Zt.InputDefinition = Vs;
5907
- Zt.FixedDefinition = xp;
5908
- Ye.MaskedPattern = Zt;
5909
- class xs extends Zt {
5904
+ Jt.STOP_CHAR = "`";
5905
+ Jt.ESCAPE_CHAR = "\\";
5906
+ Jt.InputDefinition = Vs;
5907
+ Jt.FixedDefinition = xp;
5908
+ Ye.MaskedPattern = Jt;
5909
+ class xs extends Jt {
5910
5910
  /**
5911
5911
  Optionally sets max length of pattern.
5912
5912
  Used when pattern length is longer then `to` param length. Pads zeros at start in this case.
@@ -5975,7 +5975,7 @@ class xs extends Zt {
5975
5975
  }
5976
5976
  Ye.MaskedRange = xs;
5977
5977
  const ew = "d{.}`m{.}`Y";
5978
- class cr extends Zt {
5978
+ class cr extends Jt {
5979
5979
  static extractPatternOptions(e) {
5980
5980
  const {
5981
5981
  mask: t,
@@ -5984,7 +5984,7 @@ class cr extends Zt {
5984
5984
  } = e;
5985
5985
  return {
5986
5986
  ...o,
5987
- mask: Nr(t) ? t : r
5987
+ mask: Fr(t) ? t : r
5988
5988
  };
5989
5989
  }
5990
5990
  /** Pattern mask for date according to {@link MaskedDate#format} */
@@ -6013,7 +6013,7 @@ class cr extends Zt {
6013
6013
  }, s = Object.assign({}, cr.GET_DEFAULT_BLOCKS());
6014
6014
  e.min && (s.Y.from = e.min.getFullYear()), e.max && (s.Y.to = e.max.getFullYear()), e.min && e.max && s.Y.from === s.Y.to && (s.m.from = e.min.getMonth() + 1, s.m.to = e.max.getMonth() + 1, s.m.from === s.m.to && (s.d.from = e.min.getDate(), s.d.to = e.max.getDate())), Object.assign(s, this.blocks, o), super._update({
6015
6015
  ...i,
6016
- mask: Nr(t) ? t : r,
6016
+ mask: Fr(t) ? t : r,
6017
6017
  blocks: s
6018
6018
  });
6019
6019
  }
@@ -6065,7 +6065,7 @@ cr.GET_DEFAULT_BLOCKS = () => ({
6065
6065
  }
6066
6066
  });
6067
6067
  cr.DEFAULTS = {
6068
- ...Zt.DEFAULTS,
6068
+ ...Jt.DEFAULTS,
6069
6069
  mask: Date,
6070
6070
  pattern: ew,
6071
6071
  format: (n, e) => {
@@ -6079,7 +6079,7 @@ cr.DEFAULTS = {
6079
6079
  }
6080
6080
  };
6081
6081
  Ye.MaskedDate = cr;
6082
- class da extends Qt {
6082
+ class da extends Zt {
6083
6083
  constructor(e) {
6084
6084
  super({
6085
6085
  ...da.DEFAULTS,
@@ -6094,7 +6094,7 @@ class da extends Qt {
6094
6094
  const {
6095
6095
  expose: r,
6096
6096
  ...o
6097
- } = Ai(t), i = yr({
6097
+ } = Ai(t), i = br({
6098
6098
  overwrite: this._overwrite,
6099
6099
  eager: this._eager,
6100
6100
  skipInvalid: this._skipInvalid,
@@ -6276,7 +6276,7 @@ class da extends Qt {
6276
6276
  }
6277
6277
  }
6278
6278
  da.DEFAULTS = {
6279
- ...Qt.DEFAULTS,
6279
+ ...Zt.DEFAULTS,
6280
6280
  dispatch: (n, e, t, r) => {
6281
6281
  if (!e.compiledMasks.length) return;
6282
6282
  const o = e.rawInputValue, i = e.compiledMasks.map((s, a) => {
@@ -6293,7 +6293,7 @@ da.DEFAULTS = {
6293
6293
  }
6294
6294
  };
6295
6295
  Ye.MaskedDynamic = da;
6296
- class ha extends Zt {
6296
+ class ha extends Jt {
6297
6297
  constructor(e) {
6298
6298
  super({
6299
6299
  ...ha.DEFAULTS,
@@ -6346,11 +6346,11 @@ class ha extends Zt {
6346
6346
  }
6347
6347
  }
6348
6348
  ha.DEFAULTS = {
6349
- ...Zt.DEFAULTS,
6349
+ ...Jt.DEFAULTS,
6350
6350
  matchValue: (n, e, t) => n.indexOf(e, t) === t
6351
6351
  };
6352
6352
  Ye.MaskedEnum = ha;
6353
- class tw extends Qt {
6353
+ class tw extends Zt {
6354
6354
  /** */
6355
6355
  /** Enable characters overwriting */
6356
6356
  /** */
@@ -6368,7 +6368,7 @@ class tw extends Qt {
6368
6368
  }
6369
6369
  Ye.MaskedFunction = tw;
6370
6370
  var Ep;
6371
- class wn extends Qt {
6371
+ class wn extends Zt {
6372
6372
  /** Single char */
6373
6373
  /** Single char */
6374
6374
  /** Array of single chars */
@@ -6553,9 +6553,9 @@ class wn extends Qt {
6553
6553
  }
6554
6554
  Ep = wn;
6555
6555
  wn.UNMASKED_RADIX = ".";
6556
- wn.EMPTY_VALUES = [...Qt.EMPTY_VALUES, 0];
6556
+ wn.EMPTY_VALUES = [...Zt.EMPTY_VALUES, 0];
6557
6557
  wn.DEFAULTS = {
6558
- ...Qt.DEFAULTS,
6558
+ ...Zt.DEFAULTS,
6559
6559
  mask: Number,
6560
6560
  radix: ",",
6561
6561
  thousandsSeparator: "",
@@ -6579,7 +6579,7 @@ const Fl = {
6579
6579
  };
6580
6580
  function Tp(n, e, t) {
6581
6581
  e === void 0 && (e = Fl.MASKED), t === void 0 && (t = Fl.MASKED);
6582
- const r = yr(n);
6582
+ const r = br(n);
6583
6583
  return (o) => r.runIsolated((i) => (i[e] = o, i[t]));
6584
6584
  }
6585
6585
  function nw(n, e, t, r) {
@@ -6588,7 +6588,7 @@ function nw(n, e, t, r) {
6588
6588
  Ye.PIPE_TYPE = Fl;
6589
6589
  Ye.createPipe = Tp;
6590
6590
  Ye.pipe = nw;
6591
- class rw extends Zt {
6591
+ class rw extends Jt {
6592
6592
  get repeatFrom() {
6593
6593
  var e;
6594
6594
  return (e = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? e : 0;
@@ -6610,7 +6610,7 @@ class rw extends Zt {
6610
6610
  ...s
6611
6611
  } = Ai(e);
6612
6612
  this._blockOpts = Object.assign({}, this._blockOpts, s);
6613
- const a = yr(this._blockOpts);
6613
+ const a = br(this._blockOpts);
6614
6614
  this.repeat = (t = (r = i ?? a.repeat) != null ? r : this.repeat) != null ? t : 1 / 0, super._update({
6615
6615
  mask: "m".repeat(Math.max(this.repeatTo === 1 / 0 && ((o = this._blocks) == null ? void 0 : o.length) || 0, this.repeatFrom)),
6616
6616
  blocks: {
@@ -6627,7 +6627,7 @@ class rw extends Zt {
6627
6627
  _allocateBlock(e) {
6628
6628
  if (e < this._blocks.length) return this._blocks[e];
6629
6629
  if (this.repeatTo === 1 / 0 || this._blocks.length < this.repeatTo)
6630
- return this._blocks.push(yr(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
6630
+ return this._blocks.push(br(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
6631
6631
  }
6632
6632
  _appendCharRaw(e, t) {
6633
6633
  t === void 0 && (t = {});
@@ -6794,7 +6794,7 @@ function iw(n, e) {
6794
6794
  var T;
6795
6795
  (T = d.value) == null || T.destroy(), d.value = void 0;
6796
6796
  }
6797
- return ft(I), Cr(w), Ze([u, l], () => {
6797
+ return ft(I), _r(w), Ze([u, l], () => {
6798
6798
  const T = u.value, j = l.value;
6799
6799
  (!(j != null && j.mask) || T !== f) && w(), T && (d.value ? d.value.updateOptions(j) : I());
6800
6800
  }), {
@@ -6950,7 +6950,7 @@ const uw = {
6950
6950
  l.style.height = "0", l.style.opacity = "0", l.style.overflow = "hidden";
6951
6951
  }, o = async (a, l) => {
6952
6952
  const u = a;
6953
- await bt(), u.style.transition = "height 0.3s ease, opacity 0.3s ease", u.style.height = u.scrollHeight + "px", u.style.opacity = "1", t(u, () => {
6953
+ await vt(), u.style.transition = "height 0.3s ease, opacity 0.3s ease", u.style.height = u.scrollHeight + "px", u.style.opacity = "1", t(u, () => {
6954
6954
  u.style.transition = "", u.style.height = "auto", l();
6955
6955
  });
6956
6956
  }, i = (a) => {
@@ -6984,10 +6984,10 @@ const uw = {
6984
6984
  "leave-to-class": a.$style.fadeLeaveTo
6985
6985
  }, {
6986
6986
  default: P(() => [
6987
- cn(W("div", null, [
6987
+ dn(W("div", null, [
6988
6988
  se(a.$slots, "default")
6989
6989
  ], 512), [
6990
- [Fr, a.isShow]
6990
+ [Rr, a.isShow]
6991
6991
  ])
6992
6992
  ]),
6993
6993
  _: 3
@@ -7135,7 +7135,7 @@ const uw = {
7135
7135
  "is-show": h.errorText && h.isError || !!h.description && !h.isError
7136
7136
  }, {
7137
7137
  default: P(() => [
7138
- H(p(dn), null, {
7138
+ H(p(Qt), null, {
7139
7139
  default: P(() => [
7140
7140
  h.description && !h.isError ? (v(), re(p(Be), {
7141
7141
  class: y(h.$style.bottom),
@@ -7223,10 +7223,10 @@ const uw = {
7223
7223
  },
7224
7224
  emits: ["click"],
7225
7225
  setup(n, { emit: e }) {
7226
- const t = e, r = sn(), o = R(() => [r.root, r[`view_${n.view}`]]), i = R(() => du({ tag: n.tag, href: n.href })), s = R(() => n.tag === "button" ? {
7226
+ const t = e, r = an(), o = R(() => [r.root, r[`view_${n.view}`]]), i = R(() => du({ tag: n.tag, href: n.href })), s = R(() => n.tag === "button" ? {
7227
7227
  click: () => t("click")
7228
7228
  } : {});
7229
- return (a, l) => (v(), re(_r(a.tag), tt(i.value, { class: o.value }, Hi(s.value)), {
7229
+ return (a, l) => (v(), re(kr(a.tag), tt(i.value, { class: o.value }, Hi(s.value)), {
7230
7230
  default: P(() => [
7231
7231
  a.iconLeft ? (v(), re(p(Ke), {
7232
7232
  key: 0,
@@ -7435,7 +7435,7 @@ const uw = {
7435
7435
  align: { default: "left" }
7436
7436
  },
7437
7437
  setup(n) {
7438
- const e = sn(), t = R(() => Number(n.value) > 0 && n.isShowPlusSign ? "+" : Number(n.value) < 0 ? "-" : ""), r = R(
7438
+ const e = an(), t = R(() => Number(n.value) > 0 && n.isShowPlusSign ? "+" : Number(n.value) < 0 ? "-" : ""), r = R(
7439
7439
  () => Intl.NumberFormat("ru", {
7440
7440
  maximumFractionDigits: 2
7441
7441
  // minimumFractionDigits: 2,
@@ -7770,7 +7770,7 @@ const Hk = /* @__PURE__ */ ue({
7770
7770
  return Ze(
7771
7771
  () => i.value,
7772
7772
  async (c) => {
7773
- c && (await bt(), l());
7773
+ c && (await vt(), l());
7774
7774
  }
7775
7775
  ), Ze(
7776
7776
  () => n.isOpen,
@@ -7783,7 +7783,17 @@ const Hk = /* @__PURE__ */ ue({
7783
7783
  t("clickOutside");
7784
7784
  }), Nl(i, () => {
7785
7785
  t("clickOutsideDropdown");
7786
- }), (c, h) => (v(), S("div", {
7786
+ }), Ze(
7787
+ () => n.isOpen,
7788
+ (c) => {
7789
+ c && vt(() => {
7790
+ const h = i.value, m = document.querySelectorAll(
7791
+ '[data-select-base-is-active-item = "true"]'
7792
+ )[0];
7793
+ !h || !m || (h.scrollTop = m.offsetTop - h.getBoundingClientRect().height / 2 + m.getBoundingClientRect().height / 2);
7794
+ });
7795
+ }
7796
+ ), (c, h) => (v(), S("div", {
7787
7797
  ref_key: "rootRef",
7788
7798
  ref: r,
7789
7799
  class: y([
@@ -7814,7 +7824,7 @@ const Hk = /* @__PURE__ */ ue({
7814
7824
  se(c.$slots, "field")
7815
7825
  ], 2),
7816
7826
  (v(), re(ia, { to: "body" }, [
7817
- H(p(dn), null, {
7827
+ H(p(Qt), null, {
7818
7828
  default: P(() => [
7819
7829
  c.isOpen ? (v(), S("div", {
7820
7830
  key: 0,
@@ -7829,7 +7839,7 @@ const Hk = /* @__PURE__ */ ue({
7829
7839
  _: 3
7830
7840
  })
7831
7841
  ])),
7832
- c.description || c.errorText ? (v(), re(p(dn), { key: 1 }, {
7842
+ c.description || c.errorText ? (v(), re(p(Qt), { key: 1 }, {
7833
7843
  default: P(() => [
7834
7844
  c.description && !c.isError ? (v(), re(p(Be), {
7835
7845
  key: "description",
@@ -7865,7 +7875,7 @@ const Hk = /* @__PURE__ */ ue({
7865
7875
  "is-focused": "SelectBase__is-focused_c29c9"
7866
7876
  }, Wk = {
7867
7877
  $style: Uk
7868
- }, Ap = /* @__PURE__ */ ge(Hk, [["__cssModules", Wk]]), qk = ["onClick"], Gk = /* @__PURE__ */ ue({
7878
+ }, Ap = /* @__PURE__ */ ge(Hk, [["__cssModules", Wk]]), qk = ["data-select-base-is-active-item", "onClick"], Gk = /* @__PURE__ */ ue({
7869
7879
  __name: "Select",
7870
7880
  props: /* @__PURE__ */ pt({
7871
7881
  label: {},
@@ -7910,7 +7920,7 @@ const Hk = /* @__PURE__ */ ue({
7910
7920
  size: 18,
7911
7921
  color: "icon-input-base-primary"
7912
7922
  }, null, 8, ["name"])) : N("", !0),
7913
- H(p(gr), {
7923
+ H(p(Qt), {
7914
7924
  class: y(i.$style["field-inner"])
7915
7925
  }, {
7916
7926
  default: P(() => [
@@ -7956,6 +7966,7 @@ const Hk = /* @__PURE__ */ ue({
7956
7966
  }, [
7957
7967
  (v(!0), S($e, null, Le(i.data, (a) => (v(), S("div", {
7958
7968
  key: a.id,
7969
+ "data-select-base-is-active-item": a.id === e.value,
7959
7970
  class: y([
7960
7971
  i.$style.item,
7961
7972
  {
@@ -7979,7 +7990,7 @@ const Hk = /* @__PURE__ */ ue({
7979
7990
  ]),
7980
7991
  _: 2
7981
7992
  }, 1024),
7982
- H(p(gr), null, {
7993
+ H(p(Qt), null, {
7983
7994
  default: P(() => [
7984
7995
  a.id === e.value ? (v(), re(p(Ke), {
7985
7996
  key: 0,
@@ -8039,7 +8050,7 @@ function Op(n) {
8039
8050
  function cs(n) {
8040
8051
  return n <= 1 ? "".concat(Number(n) * 100, "%") : n;
8041
8052
  }
8042
- function ro(n) {
8053
+ function no(n) {
8043
8054
  return n.length === 1 ? "0" + n : String(n);
8044
8055
  }
8045
8056
  function r_(n, e, t) {
@@ -8112,18 +8123,18 @@ function i_(n, e, t) {
8112
8123
  }
8113
8124
  function eh(n, e, t, r) {
8114
8125
  var o = [
8115
- ro(Math.round(n).toString(16)),
8116
- ro(Math.round(e).toString(16)),
8117
- ro(Math.round(t).toString(16))
8126
+ no(Math.round(n).toString(16)),
8127
+ no(Math.round(e).toString(16)),
8128
+ no(Math.round(t).toString(16))
8118
8129
  ];
8119
8130
  return r && o[0].startsWith(o[0].charAt(1)) && o[1].startsWith(o[1].charAt(1)) && o[2].startsWith(o[2].charAt(1)) ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) : o.join("");
8120
8131
  }
8121
8132
  function s_(n, e, t, r, o) {
8122
8133
  var i = [
8123
- ro(Math.round(n).toString(16)),
8124
- ro(Math.round(e).toString(16)),
8125
- ro(Math.round(t).toString(16)),
8126
- ro(a_(r))
8134
+ no(Math.round(n).toString(16)),
8135
+ no(Math.round(e).toString(16)),
8136
+ no(Math.round(t).toString(16)),
8137
+ no(a_(r))
8127
8138
  ];
8128
8139
  return o && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
8129
8140
  }
@@ -8304,8 +8315,8 @@ function u_(n) {
8304
8315
  a: t
8305
8316
  };
8306
8317
  }
8307
- var c_ = "[-\\+]?\\d+%?", d_ = "[-\\+]?\\d*\\.\\d+%?", Pr = "(?:".concat(d_, ")|(?:").concat(c_, ")"), rl = "[\\s|\\(]+(".concat(Pr, ")[,|\\s]+(").concat(Pr, ")[,|\\s]+(").concat(Pr, ")\\s*\\)?"), ol = "[\\s|\\(]+(".concat(Pr, ")[,|\\s]+(").concat(Pr, ")[,|\\s]+(").concat(Pr, ")[,|\\s]+(").concat(Pr, ")\\s*\\)?"), On = {
8308
- CSS_UNIT: new RegExp(Pr),
8318
+ var c_ = "[-\\+]?\\d+%?", d_ = "[-\\+]?\\d*\\.\\d+%?", Lr = "(?:".concat(d_, ")|(?:").concat(c_, ")"), rl = "[\\s|\\(]+(".concat(Lr, ")[,|\\s]+(").concat(Lr, ")[,|\\s]+(").concat(Lr, ")\\s*\\)?"), ol = "[\\s|\\(]+(".concat(Lr, ")[,|\\s]+(").concat(Lr, ")[,|\\s]+(").concat(Lr, ")[,|\\s]+(").concat(Lr, ")\\s*\\)?"), On = {
8319
+ CSS_UNIT: new RegExp(Lr),
8309
8320
  rgb: new RegExp("rgb" + rl),
8310
8321
  rgba: new RegExp("rgba" + ol),
8311
8322
  hsl: new RegExp("hsl" + rl),
@@ -8529,13 +8540,13 @@ var p_ = (
8529
8540
  }, n;
8530
8541
  }()
8531
8542
  );
8532
- function Dr(...n) {
8543
+ function Or(...n) {
8533
8544
  return new p_(...n);
8534
8545
  }
8535
8546
  function il(n, e) {
8536
8547
  const t = n && n.a;
8537
8548
  let r;
8538
- n && n.hsl ? r = Dr(n.hsl) : n && n.hex && n.hex.length > 0 ? r = Dr(n.hex) : n && n.hsv ? r = Dr(n.hsv) : n && n.rgba ? r = Dr(n.rgba) : n && n.rgb ? r = Dr(n.rgb) : r = Dr(n), r && (r._a === void 0 || r._a === null) && r.setAlpha(t || r.getAlpha());
8549
+ n && n.hsl ? r = Or(n.hsl) : n && n.hex && n.hex.length > 0 ? r = Or(n.hex) : n && n.hsv ? r = Or(n.hsv) : n && n.rgba ? r = Or(n.rgba) : n && n.rgb ? r = Or(n.rgb) : r = Or(n), r && (r._a === void 0 || r._a === null) && r.setAlpha(t || r.getAlpha());
8539
8550
  const o = r.toHsl(), i = r.toHsv();
8540
8551
  return o.s === 0 && (i.h = o.h = n.h || n.hsl && n.hsl.h || e || 0), i.v < 0.0164 && (i.h = n.h || n.hsv && n.hsv.h || 0, i.s = n.s || n.hsv && n.hsv.s || 0), o.l < 0.01 && (o.h = n.h || n.hsl && n.hsl.h || 0, o.s = n.s || n.hsl && n.hsl.s || 0), {
8541
8552
  hsl: o,
@@ -8579,7 +8590,7 @@ var f_ = {
8579
8590
  this.oldHue = this.colors.hsl.h, this.colors = il(n, e || this.oldHue);
8580
8591
  },
8581
8592
  isValidHex(n) {
8582
- return Dr(n).isValid;
8593
+ return Or(n).isValid;
8583
8594
  },
8584
8595
  simpleCheckForValidColor(n) {
8585
8596
  const e = ["r", "g", "b", "a", "h", "s", "l", "v"];
@@ -8595,7 +8606,7 @@ var f_ = {
8595
8606
  return n.map((e) => e.toUpperCase());
8596
8607
  },
8597
8608
  isTransparent(n) {
8598
- return Dr(n).getAlpha() === 0;
8609
+ return Or(n).getAlpha() === 0;
8599
8610
  }
8600
8611
  }
8601
8612
  }, ma = {
@@ -8663,7 +8674,7 @@ var f_ = {
8663
8674
  const m_ = { class: "vc-editable-input" }, v_ = ["aria-labelledby"], g_ = ["id", "for"], b_ = { class: "vc-input__desc" };
8664
8675
  function y_(n, e, t, r, o, i) {
8665
8676
  return v(), S("div", m_, [
8666
- cn(W("input", {
8677
+ dn(W("input", {
8667
8678
  ref: "input",
8668
8679
  "onUpdate:modelValue": e[0] || (e[0] = (s) => i.val = s),
8669
8680
  "aria-labelledby": i.labelId,
@@ -9275,7 +9286,7 @@ const Q_ = /* @__PURE__ */ ue({
9275
9286
  W("div", {
9276
9287
  class: y(d.$style["color-box-wrapper"])
9277
9288
  }, [
9278
- H(p(gr), {
9289
+ H(p(lo), {
9279
9290
  class: y(d.$style["color-box"])
9280
9291
  }, {
9281
9292
  default: P(() => [
@@ -9729,7 +9740,7 @@ function Jo() {
9729
9740
  function a() {
9730
9741
  e(!n.value);
9731
9742
  }
9732
- Cr(() => {
9743
+ _r(() => {
9733
9744
  document.removeEventListener("keydown", l);
9734
9745
  }), Nl(i, () => e(!1), {
9735
9746
  ignore: ["[data-ignore-click-outside]", r.value]
@@ -9816,18 +9827,18 @@ const Rp = Symbol(), J6 = () => Vi(
9816
9827
  return ft(() => {
9817
9828
  var c;
9818
9829
  n.isStretchToParent && (i.value.width = `${(c = d.value) == null ? void 0 : c.clientWidth}px`);
9819
- }), Cr(() => {
9830
+ }), _r(() => {
9820
9831
  window.removeEventListener("resize", l), window.removeEventListener("scroll", u);
9821
9832
  }), Ze(
9822
9833
  r,
9823
9834
  (c) => {
9824
9835
  c ? (window.addEventListener("scroll", u, {
9825
9836
  passive: !0
9826
- }), window.addEventListener("resize", l), bt(l)) : (window.removeEventListener("scroll", u), window.removeEventListener("resize", l));
9837
+ }), window.addEventListener("resize", l), vt(l)) : (window.removeEventListener("scroll", u), window.removeEventListener("resize", l));
9827
9838
  },
9828
9839
  { immediate: !0 }
9829
9840
  ), (c, h) => (v(), re(ia, { to: "#teleports" }, [
9830
- H(p(dn), null, {
9841
+ H(p(Qt), null, {
9831
9842
  default: P(() => [
9832
9843
  r.value ? (v(), S("div", {
9833
9844
  key: 0,
@@ -10019,7 +10030,7 @@ const Rp = Symbol(), J6 = () => Vi(
10019
10030
  }), r.value.style.height = `${D}px`, r.value.style.width = `${z}px`;
10020
10031
  }
10021
10032
  function m() {
10022
- bt(() => {
10033
+ vt(() => {
10023
10034
  const [A, D, z] = o.value.sort(B), I = K("0");
10024
10035
  if (c(I, "main"), D) {
10025
10036
  const w = O({
@@ -10037,7 +10048,7 @@ const Rp = Symbol(), J6 = () => Vi(
10037
10048
  translateY: "-30%",
10038
10049
  index: 2
10039
10050
  });
10040
- c(w, "third"), bt(() => {
10051
+ c(w, "third"), vt(() => {
10041
10052
  var j;
10042
10053
  const T = (j = r.value) == null ? void 0 : j.querySelector(
10043
10054
  ".toaster-leave-active"
@@ -10377,15 +10388,15 @@ function qp(n, e) {
10377
10388
  l.push(dt(t, s)), s.setDate(s.getDate() + a), s.setHours(0, 0, 0, 0);
10378
10389
  return o ? l.reverse() : l;
10379
10390
  }
10380
- function oo(n, e) {
10391
+ function ro(n, e) {
10381
10392
  const t = Pe(n, e == null ? void 0 : e.in), r = t.getMonth(), o = r - r % 3;
10382
10393
  return t.setMonth(o, 1), t.setHours(0, 0, 0, 0), t;
10383
10394
  }
10384
10395
  function kC(n, e) {
10385
10396
  const { start: t, end: r } = Wp(e == null ? void 0 : e.in, n);
10386
10397
  let o = +t > +r;
10387
- const i = o ? +oo(t) : +oo(r);
10388
- let s = oo(o ? r : t), a = 1;
10398
+ const i = o ? +ro(t) : +ro(r);
10399
+ let s = ro(o ? r : t), a = 1;
10389
10400
  const l = [];
10390
10401
  for (; +s <= i; )
10391
10402
  l.push(dt(t, s)), s = bC(s, a);
@@ -10873,7 +10884,7 @@ function ct(n, e) {
10873
10884
  const t = n < 0 ? "-" : "", r = Math.abs(n).toString().padStart(e, "0");
10874
10885
  return t + r;
10875
10886
  }
10876
- const Sr = {
10887
+ const Tr = {
10877
10888
  // Year
10878
10889
  y(n, e) {
10879
10890
  const t = n.getFullYear(), r = t > 0 ? t : 1 - t;
@@ -10959,7 +10970,7 @@ const Sr = {
10959
10970
  const r = n.getFullYear(), o = r > 0 ? r : 1 - r;
10960
10971
  return t.ordinalNumber(o, { unit: "year" });
10961
10972
  }
10962
- return Sr.y(n, e);
10973
+ return Tr.y(n, e);
10963
10974
  },
10964
10975
  // Local week-numbering year
10965
10976
  Y: function(n, e, t, r) {
@@ -11062,7 +11073,7 @@ const Sr = {
11062
11073
  switch (e) {
11063
11074
  case "M":
11064
11075
  case "MM":
11065
- return Sr.M(n, e);
11076
+ return Tr.M(n, e);
11066
11077
  // 1st, 2nd, ..., 12th
11067
11078
  case "Mo":
11068
11079
  return t.ordinalNumber(r + 1, { unit: "month" });
@@ -11127,7 +11138,7 @@ const Sr = {
11127
11138
  },
11128
11139
  // Day of the month
11129
11140
  d: function(n, e, t) {
11130
- return e === "do" ? t.ordinalNumber(n.getDate(), { unit: "date" }) : Sr.d(n, e);
11141
+ return e === "do" ? t.ordinalNumber(n.getDate(), { unit: "date" }) : Tr.d(n, e);
11131
11142
  },
11132
11143
  // Day of year
11133
11144
  D: function(n, e, t) {
@@ -11373,11 +11384,11 @@ const Sr = {
11373
11384
  let r = n.getHours() % 12;
11374
11385
  return r === 0 && (r = 12), t.ordinalNumber(r, { unit: "hour" });
11375
11386
  }
11376
- return Sr.h(n, e);
11387
+ return Tr.h(n, e);
11377
11388
  },
11378
11389
  // Hour [0-23]
11379
11390
  H: function(n, e, t) {
11380
- return e === "Ho" ? t.ordinalNumber(n.getHours(), { unit: "hour" }) : Sr.H(n, e);
11391
+ return e === "Ho" ? t.ordinalNumber(n.getHours(), { unit: "hour" }) : Tr.H(n, e);
11381
11392
  },
11382
11393
  // Hour [0-11]
11383
11394
  K: function(n, e, t) {
@@ -11391,15 +11402,15 @@ const Sr = {
11391
11402
  },
11392
11403
  // Minute
11393
11404
  m: function(n, e, t) {
11394
- return e === "mo" ? t.ordinalNumber(n.getMinutes(), { unit: "minute" }) : Sr.m(n, e);
11405
+ return e === "mo" ? t.ordinalNumber(n.getMinutes(), { unit: "minute" }) : Tr.m(n, e);
11395
11406
  },
11396
11407
  // Second
11397
11408
  s: function(n, e, t) {
11398
- return e === "so" ? t.ordinalNumber(n.getSeconds(), { unit: "second" }) : Sr.s(n, e);
11409
+ return e === "so" ? t.ordinalNumber(n.getSeconds(), { unit: "second" }) : Tr.s(n, e);
11399
11410
  },
11400
11411
  // Fraction of second
11401
11412
  S: function(n, e) {
11402
- return Sr.S(n, e);
11413
+ return Tr.S(n, e);
11403
11414
  },
11404
11415
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
11405
11416
  X: function(n, e, t) {
@@ -11415,7 +11426,7 @@ const Sr = {
11415
11426
  // so this token always has the same output as `XX`
11416
11427
  case "XXXX":
11417
11428
  case "XX":
11418
- return to(r);
11429
+ return eo(r);
11419
11430
  // Hours, minutes and optional seconds with `:` delimiter
11420
11431
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
11421
11432
  // so this token always has the same output as `XXX`
@@ -11423,7 +11434,7 @@ const Sr = {
11423
11434
  case "XXX":
11424
11435
  // Hours and minutes with `:` delimiter
11425
11436
  default:
11426
- return to(r, ":");
11437
+ return eo(r, ":");
11427
11438
  }
11428
11439
  },
11429
11440
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -11438,7 +11449,7 @@ const Sr = {
11438
11449
  // so this token always has the same output as `xx`
11439
11450
  case "xxxx":
11440
11451
  case "xx":
11441
- return to(r);
11452
+ return eo(r);
11442
11453
  // Hours, minutes and optional seconds with `:` delimiter
11443
11454
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
11444
11455
  // so this token always has the same output as `xxx`
@@ -11446,7 +11457,7 @@ const Sr = {
11446
11457
  case "xxx":
11447
11458
  // Hours and minutes with `:` delimiter
11448
11459
  default:
11449
- return to(r, ":");
11460
+ return eo(r, ":");
11450
11461
  }
11451
11462
  },
11452
11463
  // Timezone (GMT)
@@ -11461,7 +11472,7 @@ const Sr = {
11461
11472
  // Long
11462
11473
  case "OOOO":
11463
11474
  default:
11464
- return "GMT" + to(r, ":");
11475
+ return "GMT" + eo(r, ":");
11465
11476
  }
11466
11477
  },
11467
11478
  // Timezone (specific non-location)
@@ -11476,7 +11487,7 @@ const Sr = {
11476
11487
  // Long
11477
11488
  case "zzzz":
11478
11489
  default:
11479
- return "GMT" + to(r, ":");
11490
+ return "GMT" + eo(r, ":");
11480
11491
  }
11481
11492
  },
11482
11493
  // Seconds timestamp
@@ -11494,9 +11505,9 @@ function lh(n, e = "") {
11494
11505
  return i === 0 ? t + String(o) : t + String(o) + e + ct(i, 2);
11495
11506
  }
11496
11507
  function uh(n, e) {
11497
- return n % 60 === 0 ? (n > 0 ? "-" : "+") + ct(Math.abs(n) / 60, 2) : to(n, e);
11508
+ return n % 60 === 0 ? (n > 0 ? "-" : "+") + ct(Math.abs(n) / 60, 2) : eo(n, e);
11498
11509
  }
11499
- function to(n, e = "") {
11510
+ function eo(n, e = "") {
11500
11511
  const t = n > 0 ? "-" : "+", r = Math.abs(n), o = ct(Math.trunc(r / 60), 2), i = ct(r % 60, 2);
11501
11512
  return t + o + e + i;
11502
11513
  }
@@ -11618,14 +11629,14 @@ function mx(n, e) {
11618
11629
  function vx() {
11619
11630
  return Object.assign({}, fo());
11620
11631
  }
11621
- function wr(n, e) {
11632
+ function yr(n, e) {
11622
11633
  return Pe(n, e == null ? void 0 : e.in).getHours();
11623
11634
  }
11624
11635
  function gx(n, e) {
11625
11636
  const t = Pe(n, e == null ? void 0 : e.in).getDay();
11626
11637
  return t === 0 ? 7 : t;
11627
11638
  }
11628
- function jr(n, e) {
11639
+ function Hr(n, e) {
11629
11640
  return Pe(n, e == null ? void 0 : e.in).getMinutes();
11630
11641
  }
11631
11642
  function Je(n, e) {
@@ -13237,7 +13248,7 @@ function dh(n, e, t) {
13237
13248
  n,
13238
13249
  e
13239
13250
  );
13240
- return +oo(r) == +oo(o);
13251
+ return +ro(r) == +ro(o);
13241
13252
  }
13242
13253
  function of(n, e, t) {
13243
13254
  return Sn(n, -e, t);
@@ -13469,9 +13480,9 @@ const hn = (n, e) => e ? new Date(n.toLocaleString("en-US", { timeZone: e })) :
13469
13480
  const t = /* @__PURE__ */ new Date(), r = new Date(t.toLocaleString("en-US", { timeZone: "UTC" })), o = new Date(t.toLocaleString("en-US", { timeZone: n })), i = (gE(e ?? o) ? o : e ?? o).getTimezoneOffset() / 60;
13470
13481
  return (+r - +o) / (1e3 * 60 * 60) - i;
13471
13482
  };
13472
- var Dn = /* @__PURE__ */ ((n) => (n.month = "month", n.year = "year", n))(Dn || {}), In = /* @__PURE__ */ ((n) => (n.top = "top", n.bottom = "bottom", n))(In || {}), so = /* @__PURE__ */ ((n) => (n.header = "header", n.calendar = "calendar", n.timePicker = "timePicker", n))(so || {}), Kt = /* @__PURE__ */ ((n) => (n.month = "month", n.year = "year", n.calendar = "calendar", n.time = "time", n.minutes = "minutes", n.hours = "hours", n.seconds = "seconds", n))(Kt || {});
13483
+ var Dn = /* @__PURE__ */ ((n) => (n.month = "month", n.year = "year", n))(Dn || {}), In = /* @__PURE__ */ ((n) => (n.top = "top", n.bottom = "bottom", n))(In || {}), io = /* @__PURE__ */ ((n) => (n.header = "header", n.calendar = "calendar", n.timePicker = "timePicker", n))(io || {}), Kt = /* @__PURE__ */ ((n) => (n.month = "month", n.year = "year", n.calendar = "calendar", n.time = "time", n.minutes = "minutes", n.hours = "hours", n.seconds = "seconds", n))(Kt || {});
13473
13484
  const yE = ["timestamp", "date", "iso"];
13474
- var tn = /* @__PURE__ */ ((n) => (n.up = "up", n.down = "down", n.left = "left", n.right = "right", n))(tn || {}), gt = /* @__PURE__ */ ((n) => (n.arrowUp = "ArrowUp", n.arrowDown = "ArrowDown", n.arrowLeft = "ArrowLeft", n.arrowRight = "ArrowRight", n.enter = "Enter", n.space = " ", n.esc = "Escape", n.tab = "Tab", n.home = "Home", n.end = "End", n.pageUp = "PageUp", n.pageDown = "PageDown", n))(gt || {}), Lo = /* @__PURE__ */ ((n) => (n.MONTH_AND_YEAR = "MM-yyyy", n.YEAR = "yyyy", n.DATE = "dd-MM-yyyy", n))(Lo || {});
13485
+ var nn = /* @__PURE__ */ ((n) => (n.up = "up", n.down = "down", n.left = "left", n.right = "right", n))(nn || {}), bt = /* @__PURE__ */ ((n) => (n.arrowUp = "ArrowUp", n.arrowDown = "ArrowDown", n.arrowLeft = "ArrowLeft", n.arrowRight = "ArrowRight", n.enter = "Enter", n.space = " ", n.esc = "Escape", n.tab = "Tab", n.home = "Home", n.end = "End", n.pageUp = "PageUp", n.pageDown = "PageDown", n))(bt || {}), Lo = /* @__PURE__ */ ((n) => (n.MONTH_AND_YEAR = "MM-yyyy", n.YEAR = "yyyy", n.DATE = "dd-MM-yyyy", n))(Lo || {});
13475
13486
  function hh(n) {
13476
13487
  return (e) => {
13477
13488
  const t = new Intl.DateTimeFormat(n, {
@@ -13564,7 +13575,7 @@ const kE = (n, e, t) => {
13564
13575
  "dp--highlighted": a
13565
13576
  }
13566
13577
  };
13567
- })), zr = (n, e, t = !1) => {
13578
+ })), Nr = (n, e, t = !1) => {
13568
13579
  n && e.allowStopPropagation && (t && n.stopImmediatePropagation(), n.stopPropagation());
13569
13580
  }, EE = () => [
13570
13581
  "a[href]",
@@ -13583,8 +13594,8 @@ function TE(n, e) {
13583
13594
  if (r >= 0 && (e ? r - 1 >= 0 : r + 1 <= t.length))
13584
13595
  return t[r + (e ? -1 : 1)];
13585
13596
  }
13586
- const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e}"]`), ff = (n, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(n), Lu = (n, e) => tr(n, e ?? Lo.DATE), ll = (n) => Array.isArray(n), Ws = (n, e, t) => e.get(Lu(n, t)), SE = (n, e) => n ? e ? e instanceof Map ? !!Ws(n, e) : e(pe(n)) : !1 : !0, rn = (n, e, t = !1, r) => {
13587
- if (n.key === gt.enter || n.key === gt.space)
13597
+ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e}"]`), ff = (n, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(n), Lu = (n, e) => tr(n, e ?? Lo.DATE), ll = (n) => Array.isArray(n), Ws = (n, e, t) => e.get(Lu(n, t)), SE = (n, e) => n ? e ? e instanceof Map ? !!Ws(n, e) : e(pe(n)) : !1 : !0, on = (n, e, t = !1, r) => {
13598
+ if (n.key === bt.enter || n.key === bt.space)
13588
13599
  return t && n.preventDefault(), e();
13589
13600
  if (r) return r(n);
13590
13601
  }, ME = () => "ontouchstart" in window || navigator.maxTouchPoints > 0, mf = (n, e) => n ? Lo.MONTH_AND_YEAR : e ? Lo.YEAR : Lo.DATE, vf = (n) => n < 10 ? `0${n}` : n, mh = (n, e, t, r, o, i) => {
@@ -13624,7 +13635,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13624
13635
  }, jt = (n, e) => {
13625
13636
  const t = pe(JSON.parse(JSON.stringify(n))), r = ht(t, { hours: 0, minutes: 0, seconds: 0, milliseconds: 0 });
13626
13637
  return e ? _C(r) : r;
13627
- }, Hr = (n, e, t, r) => {
13638
+ }, zr = (n, e, t, r) => {
13628
13639
  let o = n ? pe(n) : pe();
13629
13640
  return (e || e === 0) && (o = pE(o, +e)), (t || t === 0) && (o = fE(o, +t)), (r || r === 0) && (o = lf(o, +r)), af(o, 0);
13630
13641
  }, Mt = (n, e) => !n || !e ? !1 : Vo(jt(n), jt(e)), et = (n, e) => !n || !e ? !1 : Ao(jt(n), jt(e)), Ot = (n, e) => !n || !e ? !1 : uo(jt(n), jt(e)), Li = (n, e, t) => n != null && n[0] && n != null && n[1] ? Ot(t, n[0]) && Mt(t, n[1]) : n != null && n[0] && e ? Ot(t, n[0]) && Mt(t, e) || Mt(t, n[0]) && Ot(t, e) : !1, Ln = (n) => {
@@ -13636,9 +13647,9 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13636
13647
  hours: isNaN(+n.hours) ? void 0 : +n.hours,
13637
13648
  minutes: isNaN(+n.minutes) ? void 0 : +n.minutes,
13638
13649
  seconds: isNaN(+n.seconds) ? void 0 : +n.seconds
13639
- }, ao = (n) => ({
13640
- hours: wr(n),
13641
- minutes: jr(n),
13650
+ }, so = (n) => ({
13651
+ hours: yr(n),
13652
+ minutes: Hr(n),
13642
13653
  seconds: jo(n)
13643
13654
  }), gf = (n, e) => {
13644
13655
  if (e) {
@@ -13664,19 +13675,19 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13664
13675
  return [t, r];
13665
13676
  }, wf = (n, e) => {
13666
13677
  const t = {
13667
- hours: wr(pe()),
13668
- minutes: jr(pe()),
13678
+ hours: yr(pe()),
13679
+ minutes: Hr(pe()),
13669
13680
  seconds: e ? jo(pe()) : 0
13670
13681
  };
13671
13682
  return Object.assign(t, n);
13672
- }, Rr = (n, e, t) => [ht(pe(n), { date: 1 }), ht(pe(), { month: e, year: t, date: 1 })], hr = (n, e, t) => {
13683
+ }, Pr = (n, e, t) => [ht(pe(n), { date: 1 }), ht(pe(), { month: e, year: t, date: 1 })], hr = (n, e, t) => {
13673
13684
  let r = n ? pe(n) : pe();
13674
13685
  return (e || e === 0) && (r = sf(r, e)), t && (r = Qn(r, t)), r;
13675
13686
  }, kf = (n, e, t, r, o) => {
13676
13687
  if (!r || o && !e || !o && !t) return !1;
13677
13688
  const i = o ? Rn(n, 1) : Yo(n, 1), s = [Je(i), Ve(i)];
13678
13689
  return o ? !DE(...s, e) : !OE(...s, t);
13679
- }, OE = (n, e, t) => Mt(...Rr(t, n, e)) || et(...Rr(t, n, e)), DE = (n, e, t) => Ot(...Rr(t, n, e)) || et(...Rr(t, n, e)), _f = (n, e, t, r, o, i, s) => {
13690
+ }, OE = (n, e, t) => Mt(...Pr(t, n, e)) || et(...Pr(t, n, e)), DE = (n, e, t) => Ot(...Pr(t, n, e)) || et(...Pr(t, n, e)), _f = (n, e, t, r, o, i, s) => {
13680
13691
  if (typeof e == "function" && !s) return e(n);
13681
13692
  const a = t ? { locale: t } : void 0;
13682
13693
  return Array.isArray(n) ? `${tr(n[0], i, a)}${o && !n[1] ? "" : r}${n[1] ? tr(n[1], i, a) : ""}` : tr(n, i, a);
@@ -13704,7 +13715,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13704
13715
  }
13705
13716
  const i = dl(n, r, e);
13706
13717
  return cl(r, i, t, !!e) && o;
13707
- }, hl = (n) => ht(pe(), ao(n)), LE = (n, e, t) => {
13718
+ }, hl = (n) => ht(pe(), so(n)), LE = (n, e, t) => {
13708
13719
  if (n instanceof Map) {
13709
13720
  const r = `${vf(t + 1)}-${e}`;
13710
13721
  return n.size ? n.has(r) : !1;
@@ -13733,7 +13744,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13733
13744
  setMenuFocused: n,
13734
13745
  setShiftKey: e
13735
13746
  };
13736
- }, vt = Yi({
13747
+ }, gt = Yi({
13737
13748
  monthYear: [],
13738
13749
  calendar: [],
13739
13750
  time: [],
@@ -13744,13 +13755,13 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13744
13755
  1: []
13745
13756
  },
13746
13757
  monthPicker: []
13747
- }), pl = Y(null), hs = Y(!1), fl = Y(!1), ml = Y(!1), vl = Y(!1), Gt = Y(0), At = Y(0), qr = () => {
13748
- const n = R(() => hs.value ? [...vt.selectionGrid, vt.actionRow].filter((c) => c.length) : fl.value ? [
13749
- ...vt.timePicker[0],
13750
- ...vt.timePicker[1],
13758
+ }), pl = Y(null), hs = Y(!1), fl = Y(!1), ml = Y(!1), vl = Y(!1), Gt = Y(0), At = Y(0), Wr = () => {
13759
+ const n = R(() => hs.value ? [...gt.selectionGrid, gt.actionRow].filter((c) => c.length) : fl.value ? [
13760
+ ...gt.timePicker[0],
13761
+ ...gt.timePicker[1],
13751
13762
  vl.value ? [] : [pl.value],
13752
- vt.actionRow
13753
- ].filter((c) => c.length) : ml.value ? [...vt.monthPicker, vt.actionRow] : [vt.monthYear, ...vt.calendar, vt.time, vt.actionRow].filter((c) => c.length)), e = (c) => {
13763
+ gt.actionRow
13764
+ ].filter((c) => c.length) : ml.value ? [...gt.monthPicker, gt.actionRow] : [gt.monthYear, ...gt.calendar, gt.time, gt.actionRow].filter((c) => c.length)), e = (c) => {
13754
13765
  Gt.value = c ? Gt.value + 1 : Gt.value - 1;
13755
13766
  let h = null;
13756
13767
  n.value[At.value] && (h = n.value[At.value][Gt.value]), !h && n.value[At.value + (c ? 1 : -1)] ? (At.value = At.value + (c ? 1 : -1), Gt.value = c ? 0 : n.value[At.value].length - 1) : h || (Gt.value = c ? Gt.value - 1 : Gt.value + 1);
@@ -13768,9 +13779,9 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13768
13779
  }, a = () => {
13769
13780
  t(!0), r(!0);
13770
13781
  }, l = (c, h) => {
13771
- vt[h] = c;
13782
+ gt[h] = c;
13772
13783
  }, u = (c, h) => {
13773
- vt[h] = c;
13784
+ gt[h] = c;
13774
13785
  }, d = () => {
13775
13786
  Gt.value = 0, At.value = 0;
13776
13787
  };
@@ -13781,25 +13792,25 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13781
13792
  pl.value = c;
13782
13793
  },
13783
13794
  setSelectionGrid: (c) => {
13784
- hs.value = c, d(), c || (vt.selectionGrid = []);
13795
+ hs.value = c, d(), c || (gt.selectionGrid = []);
13785
13796
  },
13786
13797
  setTimePicker: (c, h = !1) => {
13787
- fl.value = c, vl.value = h, d(), c || (vt.timePicker[0] = [], vt.timePicker[1] = []);
13798
+ fl.value = c, vl.value = h, d(), c || (gt.timePicker[0] = [], gt.timePicker[1] = []);
13788
13799
  },
13789
13800
  setTimePickerElements: (c, h = 0) => {
13790
- vt.timePicker[h] = c;
13801
+ gt.timePicker[h] = c;
13791
13802
  },
13792
13803
  arrowRight: o,
13793
13804
  arrowLeft: i,
13794
13805
  arrowUp: s,
13795
13806
  arrowDown: a,
13796
13807
  clearArrowNav: () => {
13797
- vt.monthYear = [], vt.calendar = [], vt.time = [], vt.actionRow = [], vt.selectionGrid = [], vt.timePicker[0] = [], vt.timePicker[1] = [], hs.value = !1, fl.value = !1, vl.value = !1, ml.value = !1, d(), pl.value = null;
13808
+ gt.monthYear = [], gt.calendar = [], gt.time = [], gt.actionRow = [], gt.selectionGrid = [], gt.timePicker[0] = [], gt.timePicker[1] = [], hs.value = !1, fl.value = !1, vl.value = !1, ml.value = !1, d(), pl.value = null;
13798
13809
  },
13799
13810
  setMonthPicker: (c) => {
13800
13811
  ml.value = c, d();
13801
13812
  },
13802
- refSets: vt
13813
+ refSets: gt
13803
13814
  // exposed for testing
13804
13815
  };
13805
13816
  }, bh = (n) => ({
@@ -14025,8 +14036,8 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14025
14036
  Z ?? l(),
14026
14037
  be
14027
14038
  ), g = (b) => b ? e.modelType ? ne(b) : {
14028
- hours: wr(b),
14029
- minutes: jr(b),
14039
+ hours: yr(b),
14040
+ minutes: Hr(b),
14030
14041
  seconds: e.enableSeconds ? jo(b) : 0
14031
14042
  } : null, M = (b) => e.modelType ? ne(b) : { month: Je(b), year: Ve(b) }, x = (b) => Array.isArray(b) ? a.value.enabled ? b.map((Z) => B(Z, Qn(pe(), Z))) : ds(
14032
14043
  () => [
@@ -14037,13 +14048,13 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14037
14048
  ) : Qn(pe(), +b), B = (b, Z) => (typeof b == "string" || typeof b == "number") && e.modelType ? U(b) : Z, O = (b) => Array.isArray(b) ? [
14038
14049
  B(
14039
14050
  b[0],
14040
- Hr(null, +b[0].hours, +b[0].minutes, b[0].seconds)
14051
+ zr(null, +b[0].hours, +b[0].minutes, b[0].seconds)
14041
14052
  ),
14042
14053
  B(
14043
14054
  b[1],
14044
- Hr(null, +b[1].hours, +b[1].minutes, b[1].seconds)
14055
+ zr(null, +b[1].hours, +b[1].minutes, b[1].seconds)
14045
14056
  )
14046
- ] : B(b, Hr(null, b.hours, b.minutes, b.seconds)), K = (b) => {
14057
+ ] : B(b, zr(null, b.hours, b.minutes, b.seconds)), K = (b) => {
14047
14058
  const Z = ht(pe(), { date: 1 });
14048
14059
  return Array.isArray(b) ? a.value.enabled ? b.map((be) => B(be, hr(Z, +be.month, +be.year))) : ds(
14049
14060
  () => [
@@ -14128,7 +14139,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14128
14139
  emitModelValue: le
14129
14140
  };
14130
14141
  }, tT = (n, e) => {
14131
- const { defaultedFilters: t, propDates: r } = kt(n), { validateMonthYearInRange: o } = Gr(n), i = (d, c) => {
14142
+ const { defaultedFilters: t, propDates: r } = kt(n), { validateMonthYearInRange: o } = qr(n), i = (d, c) => {
14132
14143
  let h = d;
14133
14144
  return t.value.months.includes(Je(h)) ? (h = c ? Rn(d, 1) : Yo(d, 1), i(h, c)) : h;
14134
14145
  }, s = (d, c) => {
@@ -14304,10 +14315,10 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14304
14315
  defaultedInline: l,
14305
14316
  defaultedRange: u,
14306
14317
  defaultedMultiDates: d
14307
- } = kt(r), { isTimeValid: c, isMonthValid: h } = Gr(r), { buildMatrix: m } = qr(), f = Y(null), g = Y(null), M = Y(!1), x = Y({}), B = Y(null), O = Y(null);
14318
+ } = kt(r), { isTimeValid: c, isMonthValid: h } = qr(r), { buildMatrix: m } = Wr(), f = Y(null), g = Y(null), M = Y(!1), x = Y({}), B = Y(null), O = Y(null);
14308
14319
  ft(() => {
14309
14320
  r.arrowNavigation && m([Rt(f), Rt(g)], "actionRow"), K(), window.addEventListener("resize", K);
14310
- }), Cr(() => {
14321
+ }), _r(() => {
14311
14322
  window.removeEventListener("resize", K);
14312
14323
  });
14313
14324
  const K = () => {
@@ -14379,14 +14390,14 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14379
14390
  type: "button",
14380
14391
  class: "dp__action_button dp__action_cancel",
14381
14392
  onClick: k[0] || (k[0] = (_) => C.$emit("close-picker")),
14382
- onKeydown: k[1] || (k[1] = (_) => p(rn)(_, () => C.$emit("close-picker")))
14393
+ onKeydown: k[1] || (k[1] = (_) => p(on)(_, () => C.$emit("close-picker")))
14383
14394
  }, me(C.cancelText), 545)) : N("", !0),
14384
14395
  p(o).showNow ? (v(), S("button", {
14385
14396
  key: 1,
14386
14397
  type: "button",
14387
14398
  class: "dp__action_button dp__action_cancel",
14388
14399
  onClick: k[2] || (k[2] = (_) => C.$emit("select-now")),
14389
- onKeydown: k[3] || (k[3] = (_) => p(rn)(_, () => C.$emit("select-now")))
14400
+ onKeydown: k[3] || (k[3] = (_) => p(on)(_, () => C.$emit("select-now")))
14390
14401
  }, me(C.nowButtonLabel), 33)) : N("", !0),
14391
14402
  p(o).showSelect ? (v(), S("button", {
14392
14403
  key: 2,
@@ -14396,7 +14407,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14396
14407
  class: "dp__action_button dp__action_select",
14397
14408
  disabled: D.value,
14398
14409
  "data-test-id": "select-button",
14399
- onKeydown: k[4] || (k[4] = (_) => p(rn)(_, () => ce())),
14410
+ onKeydown: k[4] || (k[4] = (_) => p(on)(_, () => ce())),
14400
14411
  onClick: ce
14401
14412
  }, me(C.selectText), 41, rT)) : N("", !0)
14402
14413
  ], 64))
@@ -14427,14 +14438,14 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14427
14438
  },
14428
14439
  emits: ["selected", "toggle", "reset-flow", "hover-value"],
14429
14440
  setup(n, { expose: e, emit: t }) {
14430
- const { setSelectionGrid: r, buildMultiLevelMatrix: o, setMonthPicker: i } = qr(), s = t, a = n, { defaultedAriaLabels: l, defaultedTextInput: u, defaultedConfig: d, handleEventPropagation: c } = kt(
14441
+ const { setSelectionGrid: r, buildMultiLevelMatrix: o, setMonthPicker: i } = Wr(), s = t, a = n, { defaultedAriaLabels: l, defaultedTextInput: u, defaultedConfig: d, handleEventPropagation: c } = kt(
14431
14442
  a
14432
14443
  ), { hideNavigationButtons: h } = _a(), m = Y(!1), f = Y(null), g = Y(null), M = Y([]), x = Y(), B = Y(null), O = Y(0), K = Y(null);
14433
14444
  Nv(() => {
14434
14445
  f.value = null;
14435
14446
  }), ft(() => {
14436
- bt().then(() => te()), a.noOverlayFocus || D(), A(!0);
14437
- }), Cr(() => A(!1));
14447
+ vt().then(() => te()), a.noOverlayFocus || D(), A(!0);
14448
+ }), _r(() => A(!1));
14438
14449
  const A = (L) => {
14439
14450
  var G;
14440
14451
  a.arrowNavigation && ((G = a.headerRefs) != null && G.length ? i(L) : r(L));
@@ -14474,7 +14485,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14474
14485
  { deep: !0 }
14475
14486
  );
14476
14487
  const te = (L = !0) => {
14477
- bt().then(() => {
14488
+ vt().then(() => {
14478
14489
  const G = Rt(f), ee = Rt(g), le = Rt(B), b = Rt(K), Z = le ? le.getBoundingClientRect().height : 0;
14479
14490
  ee && (ee.getBoundingClientRect().height ? O.value = ee.getBoundingClientRect().height - Z : O.value = d.value.modeHeight - Z), G && b && L && (b.scrollTop = G.offsetTop - b.offsetTop - (O.value / 2 - G.getBoundingClientRect().height) - Z);
14480
14491
  });
@@ -14491,7 +14502,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14491
14502
  const ee = (L = a.headerRefs) != null && L.length ? [a.headerRefs].concat(M.value) : M.value.concat([a.skipButtonRef ? [] : [B.value]]);
14492
14503
  o(zt(ee), (G = a.headerRefs) != null && G.length ? "monthPicker" : "selectionGrid");
14493
14504
  }, V = (L) => {
14494
- a.arrowNavigation || zr(L, d.value, !0);
14505
+ a.arrowNavigation || Nr(L, d.value, !0);
14495
14506
  }, U = (L) => {
14496
14507
  x.value = L, s("hover-value", L);
14497
14508
  }, ne = () => {
@@ -14504,22 +14515,22 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14504
14515
  }
14505
14516
  }, q = (L) => {
14506
14517
  switch (L.key) {
14507
- case gt.esc:
14518
+ case bt.esc:
14508
14519
  return k(L);
14509
- case gt.arrowLeft:
14520
+ case bt.arrowLeft:
14510
14521
  return V(L);
14511
- case gt.arrowRight:
14522
+ case bt.arrowRight:
14512
14523
  return V(L);
14513
- case gt.arrowUp:
14524
+ case bt.arrowUp:
14514
14525
  return V(L);
14515
- case gt.arrowDown:
14526
+ case bt.arrowDown:
14516
14527
  return V(L);
14517
14528
  default:
14518
14529
  return;
14519
14530
  }
14520
14531
  }, fe = (L) => {
14521
- if (L.key === gt.enter) return C();
14522
- if (L.key === gt.tab) return ne();
14532
+ if (L.key === bt.enter) return C();
14533
+ if (L.key === bt.tab) return ne();
14523
14534
  };
14524
14535
  return e({ focusGrid: D }), (L, G) => {
14525
14536
  var ee;
@@ -14561,7 +14572,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14561
14572
  tabindex: "0",
14562
14573
  "data-test-id": Z.text,
14563
14574
  onClick: Nn((Re) => ce(Z), ["prevent"]),
14564
- onKeydown: (Re) => p(rn)(Re, () => ce(Z), !0),
14575
+ onKeydown: (Re) => p(on)(Re, () => ce(Z), !0),
14565
14576
  onMouseover: (Re) => U(Z.value)
14566
14577
  }, [
14567
14578
  W("div", {
@@ -14578,7 +14589,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14578
14589
  ], 42, aT))), 128))
14579
14590
  ], 2))), 128))
14580
14591
  ], 6),
14581
- L.$slots["button-icon"] ? cn((v(), S("button", {
14592
+ L.$slots["button-icon"] ? dn((v(), S("button", {
14582
14593
  key: 0,
14583
14594
  ref_key: "toggleButton",
14584
14595
  ref: B,
@@ -14591,7 +14602,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14591
14602
  }, [
14592
14603
  se(L.$slots, "button-icon")
14593
14604
  ], 42, lT)), [
14594
- [Fr, !p(h)(L.hideNavigation, L.type)]
14605
+ [Rr, !p(h)(L.hideNavigation, L.type)]
14595
14606
  ]) : N("", !0)
14596
14607
  ], 46, iT);
14597
14608
  };
@@ -14653,7 +14664,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14653
14664
  "aria-label": o.ariaLabel,
14654
14665
  "aria-disabled": o.disabled || void 0,
14655
14666
  onClick: i[0] || (i[0] = (s) => o.$emit("activate")),
14656
- onKeydown: i[1] || (i[1] = (s) => p(rn)(s, () => o.$emit("activate"), !0))
14667
+ onKeydown: i[1] || (i[1] = (s) => p(on)(s, () => o.$emit("activate"), !0))
14657
14668
  }, [
14658
14669
  W("span", {
14659
14670
  class: y(["dp__inner_nav", { dp__inner_nav_disabled: o.disabled }])
@@ -14894,7 +14905,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14894
14905
  defaultedMultiDates: c
14895
14906
  } = kt(n), h = () => {
14896
14907
  n.isTextInputDate && K(Ve(pe(n.startDate)), 0);
14897
- }, { modelValue: m, year: f, month: g, calendars: M } = Qi(n, e, h), x = R(() => df(n.formatLocale, n.locale, n.monthNameFormat)), B = Y(null), { checkMinMaxRange: O } = Gr(n), {
14908
+ }, { modelValue: m, year: f, month: g, calendars: M } = Qi(n, e, h), x = R(() => df(n.formatLocale, n.locale, n.monthNameFormat)), B = Y(null), { checkMinMaxRange: O } = qr(n), {
14898
14909
  selectYear: K,
14899
14910
  groupedYears: A,
14900
14911
  showYearPicker: D,
@@ -14948,7 +14959,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14948
14959
  m.value = hr(le, G, f.value(ee)), e("auto-apply"), e("update-flow-step");
14949
14960
  }, U = (G, ee) => {
14950
14961
  const le = F(G, ee);
14951
- s.value.fixedEnd || s.value.fixedStart ? m.value = Sf(le, m, e, s) : m.value ? O(le, m.value) && (m.value = Fu(m, F(G, ee), e)) : m.value = [F(G, ee)], bt().then(() => {
14962
+ s.value.fixedEnd || s.value.fixedStart ? m.value = Sf(le, m, e, s) : m.value ? O(le, m.value) && (m.value = Fu(m, F(G, ee), e)) : m.value = [F(G, ee)], vt().then(() => {
14952
14963
  ka(m.value, e, n.autoApply, n.modelAuto);
14953
14964
  });
14954
14965
  }, ne = (G, ee) => {
@@ -15014,7 +15025,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15014
15025
  "overlay-toggle"
15015
15026
  ],
15016
15027
  setup(n, { expose: e, emit: t }) {
15017
- const r = t, o = Wr(), i = _n(o, "yearMode"), s = n;
15028
+ const r = t, o = Ur(), i = _n(o, "yearMode"), s = n;
15018
15029
  ft(() => {
15019
15030
  s.shadow || r("mount", null);
15020
15031
  });
@@ -15089,7 +15100,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15089
15100
  Le(p(i), (T, j) => ({
15090
15101
  name: T,
15091
15102
  fn: P((te) => [
15092
- se(z.$slots, T, Ht(un(te)))
15103
+ se(z.$slots, T, Ht(cn(te)))
15093
15104
  ])
15094
15105
  }))
15095
15106
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
@@ -15137,7 +15148,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15137
15148
  var B;
15138
15149
  if (e("update-month-year", { instance: 0, year: x }), s.value.enabled)
15139
15150
  return r.value ? Array.isArray(r.value) && (((B = r.value) == null ? void 0 : B.map((O) => Ve(O))).includes(x) ? r.value = r.value.filter((O) => Ve(O) !== x) : r.value.push(Qn(jt(pe()), x))) : r.value = [Qn(jt(Di(pe())), x)], e("auto-apply", !0);
15140
- l.value.enabled ? (r.value = Fu(r, M(x), e), bt().then(() => {
15151
+ l.value.enabled ? (r.value = Fu(r, M(x), e), vt().then(() => {
15141
15152
  ka(r.value, e, n.autoApply, n.modelAuto);
15142
15153
  })) : (r.value = M(x), e("auto-apply"));
15143
15154
  }
@@ -15228,7 +15239,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15228
15239
  "am-pm-change"
15229
15240
  ],
15230
15241
  setup(n, { expose: e, emit: t }) {
15231
- const r = t, o = n, { setTimePickerElements: i, setTimePickerBackRef: s } = qr(), {
15242
+ const r = t, o = n, { setTimePickerElements: i, setTimePickerBackRef: s } = Wr(), {
15232
15243
  defaultedAriaLabels: a,
15233
15244
  defaultedTransitions: l,
15234
15245
  defaultedFilters: u,
@@ -15302,7 +15313,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15302
15313
  return _e && Ce ? (Vo(Xe, Ce) || Ao(Xe, Ce)) && (uo(Xe, _e) || Ao(Xe, _e)) : _e ? uo(Xe, _e) || Ao(Xe, _e) : Ce ? Vo(Xe, Ce) || Ao(Xe, Ce) : !0;
15303
15314
  }, ee = (E) => o[`no${E[0].toUpperCase() + E.slice(1)}Overlay`], le = (E) => {
15304
15315
  ee(E) || (g[E] = !g[E], g[E] ? (K.value = !0, r("overlay-opened", E)) : (K.value = !1, r("overlay-closed", E)));
15305
- }, b = (E) => E === "hours" ? wr : E === "minutes" ? jr : jo, Z = () => {
15316
+ }, b = (E) => E === "hours" ? yr : E === "minutes" ? Hr : jo, Z = () => {
15306
15317
  O.value && clearTimeout(O.value);
15307
15318
  }, be = (E, ye = !0, _e) => {
15308
15319
  const Ce = ye ? te : ce, Xe = ye ? +o[`${E}Increment`] : -+o[`${E}Increment`];
@@ -15357,7 +15368,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15357
15368
  "data-test-id": `${Ce.type}-time-inc-btn-${o.order}`,
15358
15369
  "aria-label": (qe = p(a)) == null ? void 0 : qe.incrementValue(Ce.type),
15359
15370
  tabindex: "0",
15360
- onKeydown: (X) => p(rn)(X, () => be(Ce.type, !0, { keyboard: !0 }), !0),
15371
+ onKeydown: (X) => p(on)(X, () => be(Ce.type, !0, { keyboard: !0 }), !0),
15361
15372
  onClick: (X) => p(d).timeArrowHoldThreshold ? void 0 : be(Ce.type, !0),
15362
15373
  onMousedown: (X) => p(d).timeArrowHoldThreshold ? be(Ce.type, !0) : void 0,
15363
15374
  onMouseup: Z
@@ -15388,7 +15399,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15388
15399
  disabled: ee(Ce.type),
15389
15400
  tabindex: "0",
15390
15401
  "data-test-id": `${Ce.type}-toggle-overlay-btn-${o.order}`,
15391
- onKeydown: (X) => p(rn)(X, () => le(Ce.type), !0),
15402
+ onKeydown: (X) => p(on)(X, () => le(Ce.type), !0),
15392
15403
  onClick: (X) => le(Ce.type)
15393
15404
  }, [
15394
15405
  E.$slots[Ce.type] ? se(E.$slots, Ce.type, {
@@ -15415,7 +15426,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15415
15426
  "data-test-id": `${Ce.type}-time-dec-btn-${o.order}`,
15416
15427
  "aria-label": (_t = p(a)) == null ? void 0 : _t.decrementValue(Ce.type),
15417
15428
  tabindex: "0",
15418
- onKeydown: (X) => p(rn)(X, () => be(Ce.type, !1, { keyboard: !0 }), !0),
15429
+ onKeydown: (X) => p(on)(X, () => be(Ce.type, !1, { keyboard: !0 }), !0),
15419
15430
  onClick: (X) => p(d).timeArrowHoldThreshold ? void 0 : be(Ce.type, !1),
15420
15431
  onMousedown: (X) => p(d).timeArrowHoldThreshold ? be(Ce.type, !1) : void 0,
15421
15432
  onMouseup: Z
@@ -15450,7 +15461,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15450
15461
  tabindex: "0",
15451
15462
  "data-compact": k.value,
15452
15463
  onClick: J,
15453
- onKeydown: ye[0] || (ye[0] = (Ce) => p(rn)(Ce, () => J(), !0))
15464
+ onKeydown: ye[0] || (ye[0] = (Ce) => p(on)(Ce, () => J(), !0))
15454
15465
  }, me(M.value), 41, _T))
15455
15466
  ])),
15456
15467
  (v(!0), S($e, null, Le(F.value, (Ce, Xe) => (v(), re(fn, {
@@ -15478,7 +15489,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15478
15489
  }, Yt({
15479
15490
  "button-icon": P(() => [
15480
15491
  E.$slots["clock-icon"] ? se(E.$slots, "clock-icon", { key: 0 }) : N("", !0),
15481
- E.$slots["clock-icon"] ? N("", !0) : (v(), re(_r(E.timePickerInline ? p(ti) : p($u)), { key: 1 }))
15492
+ E.$slots["clock-icon"] ? N("", !0) : (v(), re(kr(E.timePickerInline ? p(ti) : p($u)), { key: 1 }))
15482
15493
  ]),
15483
15494
  _: 2
15484
15495
  }, [
@@ -15536,7 +15547,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15536
15547
  "am-pm-change"
15537
15548
  ],
15538
15549
  setup(n, { expose: e, emit: t }) {
15539
- const r = t, o = n, { buildMatrix: i, setTimePicker: s } = qr(), a = Wr(), { defaultedTransitions: l, defaultedAriaLabels: u, defaultedTextInput: d, defaultedConfig: c, defaultedRange: h } = kt(o), { transitionName: m, showTransition: f } = Xi(l), { hideNavigationButtons: g } = _a(), M = Y(null), x = Y(null), B = Y([]), O = Y(null), K = Y(!1);
15550
+ const r = t, o = n, { buildMatrix: i, setTimePicker: s } = Wr(), a = Ur(), { defaultedTransitions: l, defaultedAriaLabels: u, defaultedTextInput: d, defaultedConfig: c, defaultedRange: h } = kt(o), { transitionName: m, showTransition: f } = Xi(l), { hideNavigationButtons: g } = _a(), M = Y(null), x = Y(null), B = Y([]), O = Y(null), K = Y(!1);
15540
15551
  ft(() => {
15541
15552
  r("mount"), !o.timePicker && o.arrowNavigation ? i([Rt(M.value)], "time") : s(!0, o.timePicker);
15542
15553
  });
@@ -15553,7 +15564,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15553
15564
  U.push(z(0));
15554
15565
  return U;
15555
15566
  }), w = (U, ne = !1, q = "") => {
15556
- ne || r("reset-flow"), D.value = U, r(U ? "overlay-opened" : "overlay-closed", Kt.time), o.arrowNavigation && s(U), bt(() => {
15567
+ ne || r("reset-flow"), D.value = U, r(U ? "overlay-opened" : "overlay-closed", Kt.time), o.arrowNavigation && s(U), vt(() => {
15557
15568
  q !== "" && B.value[0] && B.value[0].openChildCmp(q);
15558
15569
  });
15559
15570
  }, T = R(() => ({
@@ -15582,7 +15593,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15582
15593
  class: "dp--tp-wrap",
15583
15594
  "data-dp-mobile": U.isMobile
15584
15595
  }, [
15585
- !U.timePicker && !U.timePickerInline ? cn((v(), S("button", {
15596
+ !U.timePicker && !U.timePickerInline ? dn((v(), S("button", {
15586
15597
  key: 0,
15587
15598
  ref_key: "openTimePickerBtn",
15588
15599
  ref: M,
@@ -15591,13 +15602,13 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15591
15602
  "aria-label": (q = p(u)) == null ? void 0 : q.openTimePicker,
15592
15603
  tabindex: U.noOverlayFocus ? void 0 : 0,
15593
15604
  "data-test-id": "open-time-picker-btn",
15594
- onKeydown: ne[0] || (ne[0] = (fe) => p(rn)(fe, () => w(!0))),
15605
+ onKeydown: ne[0] || (ne[0] = (fe) => p(on)(fe, () => w(!0))),
15595
15606
  onClick: ne[1] || (ne[1] = (fe) => w(!0))
15596
15607
  }, [
15597
15608
  U.$slots["clock-icon"] ? se(U.$slots, "clock-icon", { key: 0 }) : N("", !0),
15598
15609
  U.$slots["clock-icon"] ? N("", !0) : (v(), re(p($u), { key: 1 }))
15599
15610
  ], 42, ET)), [
15600
- [Fr, !p(g)(U.hideNavigation, "time")]
15611
+ [Rr, !p(g)(U.hideNavigation, "time")]
15601
15612
  ]) : N("", !0),
15602
15613
  H(fn, {
15603
15614
  name: p(m)(D.value),
@@ -15639,7 +15650,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15639
15650
  key: 1,
15640
15651
  class: y(U.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
15641
15652
  }, [
15642
- (v(!0), S($e, null, Le(I.value, (G, ee) => cn((v(), re(CT, tt({
15653
+ (v(!0), S($e, null, Le(I.value, (G, ee) => dn((v(), re(CT, tt({
15643
15654
  key: ee,
15644
15655
  ref_for: !0
15645
15656
  }, {
@@ -15671,10 +15682,10 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15671
15682
  ])
15672
15683
  }))
15673
15684
  ]), 1040, ["validate-time", "onUpdate:hours", "onUpdate:minutes", "onUpdate:seconds"])), [
15674
- [Fr, ee === 0 ? !0 : A.value]
15685
+ [Rr, ee === 0 ? !0 : A.value]
15675
15686
  ])), 128))
15676
15687
  ], 2)),
15677
- !U.timePicker && !U.timePickerInline ? cn((v(), S("button", {
15688
+ !U.timePicker && !U.timePickerInline ? dn((v(), S("button", {
15678
15689
  key: 2,
15679
15690
  ref_key: "closeTimePickerBtn",
15680
15691
  ref: x,
@@ -15682,13 +15693,13 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15682
15693
  class: y({ ...T.value, "dp--hidden-el": K.value }),
15683
15694
  "aria-label": (L = p(u)) == null ? void 0 : L.closeTimePicker,
15684
15695
  tabindex: "0",
15685
- onKeydown: ne[3] || (ne[3] = (G) => p(rn)(G, () => w(!1))),
15696
+ onKeydown: ne[3] || (ne[3] = (G) => p(on)(G, () => w(!1))),
15686
15697
  onClick: ne[4] || (ne[4] = (G) => w(!1))
15687
15698
  }, [
15688
15699
  U.$slots["calendar-icon"] ? se(U.$slots, "calendar-icon", { key: 0 }) : N("", !0),
15689
15700
  U.$slots["calendar-icon"] ? N("", !0) : (v(), re(p(ti), { key: 1 }))
15690
15701
  ], 42, ST)), [
15691
- [Fr, !p(g)(U.hideNavigation, "time")]
15702
+ [Rr, !p(g)(U.hideNavigation, "time")]
15692
15703
  ]) : N("", !0)
15693
15704
  ], 2)
15694
15705
  ], 14, TT)) : N("", !0)
@@ -15700,14 +15711,14 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15700
15711
  };
15701
15712
  }
15702
15713
  }), Bf = (n, e, t, r) => {
15703
- const { defaultedRange: o } = kt(n), i = (O, K) => Array.isArray(e[O]) ? e[O][K] : e[O], s = (O) => n.enableSeconds ? Array.isArray(e.seconds) ? e.seconds[O] : e.seconds : 0, a = (O, K) => O ? K !== void 0 ? Hr(O, i("hours", K), i("minutes", K), s(K)) : Hr(O, e.hours, e.minutes, s()) : lf(pe(), s(K)), l = (O, K) => {
15714
+ const { defaultedRange: o } = kt(n), i = (O, K) => Array.isArray(e[O]) ? e[O][K] : e[O], s = (O) => n.enableSeconds ? Array.isArray(e.seconds) ? e.seconds[O] : e.seconds : 0, a = (O, K) => O ? K !== void 0 ? zr(O, i("hours", K), i("minutes", K), s(K)) : zr(O, e.hours, e.minutes, s()) : lf(pe(), s(K)), l = (O, K) => {
15704
15715
  e[O] = K;
15705
15716
  }, u = R(() => n.modelAuto && o.value.enabled ? Array.isArray(t.value) ? t.value.length > 1 : !1 : o.value.enabled), d = (O, K) => {
15706
15717
  const A = Object.fromEntries(
15707
15718
  Object.keys(e).map((D) => D === O ? [D, K] : [D, e[D]].slice())
15708
15719
  );
15709
15720
  if (u.value && !o.value.disableTimeRangeValidation) {
15710
- const D = (I) => t.value ? Hr(
15721
+ const D = (I) => t.value ? zr(
15711
15722
  t.value[I],
15712
15723
  A.hours[I],
15713
15724
  A.minutes[I],
@@ -15790,7 +15801,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15790
15801
  ];
15791
15802
  } else
15792
15803
  r.value = hn(u(M()), a.value.timezone);
15793
- }, B = (D) => Array.isArray(D) ? [ao(pe(D[0])), ao(pe(D[1]))] : [ao(D ?? pe())], O = (D, z, I) => {
15804
+ }, B = (D) => Array.isArray(D) ? [so(pe(D[0])), so(pe(D[1]))] : [so(D ?? pe())], O = (D, z, I) => {
15794
15805
  d("hours", D), d("minutes", z), d("seconds", n.enableSeconds ? I : 0);
15795
15806
  }, K = () => {
15796
15807
  const [D, z] = B(r.value);
@@ -15834,7 +15845,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15834
15845
  "overlay-toggle"
15835
15846
  ],
15836
15847
  setup(n, { expose: e, emit: t }) {
15837
- const r = t, o = n, i = Wr(), s = _n(i, "timePicker"), a = Y(null), { time: l, modelValue: u, disabledTimesConfig: d, updateTime: c, validateTime: h } = MT(o, r);
15848
+ const r = t, o = n, i = Ur(), s = _n(i, "timePicker"), a = Y(null), { time: l, modelValue: u, disabledTimesConfig: d, updateTime: c, validateTime: h } = MT(o, r);
15838
15849
  return ft(() => {
15839
15850
  o.shadow || r("mount", null);
15840
15851
  }), e({ getSidebarProps: () => ({
@@ -15871,7 +15882,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15871
15882
  Le(p(s), (g, M) => ({
15872
15883
  name: g,
15873
15884
  fn: P((x) => [
15874
- se(m.$slots, g, Ht(un(x)))
15885
+ se(m.$slots, g, Ht(cn(x)))
15875
15886
  ])
15876
15887
  }))
15877
15888
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"])
@@ -15906,7 +15917,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15906
15917
  defaultedHighlight: d,
15907
15918
  propDates: c,
15908
15919
  defaultedUI: h
15909
- } = kt(o), { transitionName: m, showTransition: f } = Xi(i), { buildMatrix: g } = qr(), { handleMonthYearChange: M, isDisabled: x, updateMonthYear: B } = tT(o, r), { showLeftIcon: O, showRightIcon: K } = _a(), A = Y(!1), D = Y(!1), z = Y(!1), I = Y([null, null, null, null]);
15920
+ } = kt(o), { transitionName: m, showTransition: f } = Xi(i), { buildMatrix: g } = Wr(), { handleMonthYearChange: M, isDisabled: x, updateMonthYear: B } = tT(o, r), { showLeftIcon: O, showRightIcon: K } = _a(), A = Y(!1), D = Y(!1), z = Y(!1), I = Y([null, null, null, null]);
15910
15921
  ft(() => {
15911
15922
  r("mount");
15912
15923
  });
@@ -15984,7 +15995,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15984
15995
  var ee, le, b, Z, be, Re;
15985
15996
  return v(), S("div", BT, [
15986
15997
  L.$slots["month-year"] ? (v(), S("div", AT, [
15987
- se(L.$slots, "month-year", Ht(un({
15998
+ se(L.$slots, "month-year", Ht(cn({
15988
15999
  month: n.month,
15989
16000
  year: n.year,
15990
16001
  months: n.months,
@@ -16031,7 +16042,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16031
16042
  "aria-label": `${J.text}-${J.ariaLabel}`,
16032
16043
  "data-test-id": `${J.type}-toggle-overlay-${n.instance}`,
16033
16044
  onClick: J.toggle,
16034
- onKeydown: (he) => p(rn)(he, () => J.toggle(), !0)
16045
+ onKeydown: (he) => p(on)(he, () => J.toggle(), !0)
16035
16046
  }, [
16036
16047
  L.$slots[J.type] ? se(L.$slots, J.type, {
16037
16048
  key: 0,
@@ -16129,7 +16140,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16129
16140
  }, {
16130
16141
  default: P(() => [
16131
16142
  L.$slots[L.vertical ? "arrow-down" : "arrow-right"] ? se(L.$slots, L.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : N("", !0),
16132
- L.$slots[L.vertical ? "arrow-down" : "arrow-right"] ? N("", !0) : (v(), re(_r(L.vertical ? p(Au) : p(Mu)), { key: 1 }))
16143
+ L.$slots[L.vertical ? "arrow-down" : "arrow-right"] ? N("", !0) : (v(), re(kr(L.vertical ? p(Au) : p(Mu)), { key: 1 }))
16133
16144
  ]),
16134
16145
  _: 3
16135
16146
  }, 8, ["disabled", "aria-label", "class"])) : N("", !0)
@@ -16172,7 +16183,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16172
16183
  "tooltip-close"
16173
16184
  ],
16174
16185
  setup(n, { expose: e, emit: t }) {
16175
- const r = t, o = n, { buildMultiLevelMatrix: i } = qr(), {
16186
+ const r = t, o = n, { buildMultiLevelMatrix: i } = Wr(), {
16176
16187
  defaultedTransitions: s,
16177
16188
  defaultedConfig: a,
16178
16189
  defaultedAriaLabels: l,
@@ -16187,13 +16198,13 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16187
16198
  }), g = Y([]), M = Y(null), x = Y(!0), B = Y(""), O = Y({ startX: 0, endX: 0, startY: 0, endY: 0 }), K = Y([]), A = Y({ left: "50%" }), D = Y(!1), z = R(() => o.calendar ? o.calendar(o.mappedDates) : o.mappedDates), I = R(() => o.dayNames ? Array.isArray(o.dayNames) ? o.dayNames : o.dayNames(o.locale, +o.weekStart) : kE(o.formatLocale, o.locale, +o.weekStart));
16188
16199
  ft(() => {
16189
16200
  r("mount", { cmp: "calendar", refs: g }), a.value.noSwipe || M.value && (M.value.addEventListener("touchstart", ne, { passive: !1 }), M.value.addEventListener("touchend", q, { passive: !1 }), M.value.addEventListener("touchmove", fe, { passive: !1 })), o.monthChangeOnScroll && M.value && M.value.addEventListener("wheel", ee, { passive: !1 });
16190
- }), Cr(() => {
16201
+ }), _r(() => {
16191
16202
  a.value.noSwipe || M.value && (M.value.removeEventListener("touchstart", ne), M.value.removeEventListener("touchend", q), M.value.removeEventListener("touchmove", fe)), o.monthChangeOnScroll && M.value && M.value.removeEventListener("wheel", ee);
16192
16203
  });
16193
16204
  const w = (J) => J ? o.vertical ? "vNext" : "next" : o.vertical ? "vPrevious" : "previous", T = (J, He) => {
16194
16205
  if (o.transitions) {
16195
16206
  const he = jt(hr(pe(), o.month, o.year));
16196
- B.value = Ot(jt(hr(pe(), J, He)), he) ? s.value[w(!0)] : s.value[w(!1)], x.value = !1, bt(() => {
16207
+ B.value = Ot(jt(hr(pe(), J, He)), he) ? s.value[w(!0)] : s.value[w(!1)], x.value = !1, vt(() => {
16197
16208
  x.value = !0;
16198
16209
  });
16199
16210
  }
@@ -16214,7 +16225,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16214
16225
  const { width: he, height: ke } = J.getBoundingClientRect();
16215
16226
  m.value = He.value;
16216
16227
  let E = { left: `${he / 2}px` }, ye = -50;
16217
- if (await bt(), K.value[0]) {
16228
+ if (await vt(), K.value[0]) {
16218
16229
  const { left: _e, width: Ce } = K.value[0].getBoundingClientRect();
16219
16230
  _e < 0 && (E = { left: "0" }, ye = 0, A.value.left = `${he / 2}px`), window.innerWidth < _e + Ce && (E = { right: "0" }, ye = 0, A.value.left = `${Ce - he / 2}px`);
16220
16231
  }
@@ -16254,9 +16265,9 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16254
16265
  const He = J[0];
16255
16266
  return d.value.hideOnOffsetDates ? J.some((he) => he.current) ? le(He) : "" : le(He);
16256
16267
  }, Z = (J, He, he = !0) => {
16257
- !he && ME() || (!c.value.enabled || a.value.allowPreventDefault) && (zr(J, a.value), r("select-date", He));
16268
+ !he && ME() || (!c.value.enabled || a.value.allowPreventDefault) && (Nr(J, a.value), r("select-date", He));
16258
16269
  }, be = (J) => {
16259
- zr(J, a.value);
16270
+ Nr(J, a.value);
16260
16271
  }, Re = (J) => {
16261
16272
  c.value.enabled && c.value.dragSelect ? (D.value = !0, r("select-date", J)) : c.value.enabled && r("select-date", J);
16262
16273
  };
@@ -16327,7 +16338,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16327
16338
  "data-test-id": p(ql)(E.value),
16328
16339
  onClick: Nn((qe) => Z(qe, E), ["prevent"]),
16329
16340
  onTouchend: (qe) => Z(qe, E, !1),
16330
- onKeydown: (qe) => p(rn)(qe, () => J.$emit("select-date", E)),
16341
+ onKeydown: (qe) => p(on)(qe, () => J.$emit("select-date", E)),
16331
16342
  onMouseenter: (qe) => V(E, ke, ye),
16332
16343
  onMouseleave: (qe) => U(E),
16333
16344
  onMousedown: (qe) => Re(E),
@@ -16412,7 +16423,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16412
16423
  defaultedTz: M,
16413
16424
  propDates: x,
16414
16425
  defaultedMultiDates: B
16415
- } = kt(n), { validateMonthYearInRange: O, isDisabled: K, isDateRangeAllowed: A, checkMinMaxRange: D } = Gr(n), { updateTimeValues: z, getSetDateTime: I, setTime: w, assignStartTime: T, validateTime: j, disabledTimesConfig: te } = Bf(n, d, l, r), ce = R(
16426
+ } = kt(n), { validateMonthYearInRange: O, isDisabled: K, isDateRangeAllowed: A, checkMinMaxRange: D } = qr(n), { updateTimeValues: z, getSetDateTime: I, setTime: w, assignStartTime: T, validateTime: j, disabledTimesConfig: te } = Bf(n, d, l, r), ce = R(
16416
16427
  () => (Q) => u.value[Q] ? u.value[Q].month : 0
16417
16428
  ), C = R(
16418
16429
  () => (Q) => u.value[Q] ? u.value[Q].year : 0
@@ -16444,7 +16455,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16444
16455
  u.value[Ie] = { month: Je(ae), year: Ve(ae) };
16445
16456
  }
16446
16457
  }, G = (Q, de) => {
16447
- L(Q), w("hours", wr(Q)), w("minutes", jr(Q)), w("seconds", jo(Q)), h.value.count && de && J();
16458
+ L(Q), w("hours", yr(Q)), w("minutes", Hr(Q)), w("seconds", jo(Q)), h.value.count && de && J();
16448
16459
  }, ee = (Q) => {
16449
16460
  if (h.value.count) {
16450
16461
  if (h.value.solo) return 0;
@@ -16458,7 +16469,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16458
16469
  We(Q[0]),
16459
16470
  Q[1] ? We(Q[1]) : d[ae][1]
16460
16471
  ];
16461
- w("hours", Ie(wr, "hours")), w("minutes", Ie(jr, "minutes")), w("seconds", Ie(jo, "seconds"));
16472
+ w("hours", Ie(yr, "hours")), w("minutes", Ie(Hr, "minutes")), w("seconds", Ie(jo, "seconds"));
16462
16473
  }, b = (Q, de) => {
16463
16474
  if ((f.value.enabled || n.weekPicker) && !B.value.enabled)
16464
16475
  return le(Q, de);
@@ -16519,12 +16530,12 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16519
16530
  }, Ce = (Q, de, Ie, We) => {
16520
16531
  if (n.sixWeeks && Q.length < 6) {
16521
16532
  const ae = 6 - Q.length, Se = (de.getDay() + 7 - We) % 7, Oe = 6 - (Ie.getDay() + 7 - We) % 7, [or, jn] = _e(Se, Oe);
16522
- for (let Xr = 1; Xr <= ae; Xr++)
16523
- if (jn ? !!(Xr % 2) == or : or) {
16524
- const Tr = Q[0].days[0], ja = Xe(Sn(Tr.value, -7), Je(de));
16533
+ for (let Kr = 1; Kr <= ae; Kr++)
16534
+ if (jn ? !!(Kr % 2) == or : or) {
16535
+ const Er = Q[0].days[0], ja = Xe(Sn(Er.value, -7), Je(de));
16525
16536
  Q.unshift({ days: ja });
16526
16537
  } else {
16527
- const Tr = Q[Q.length - 1], ja = Tr.days[Tr.days.length - 1], Dv = Xe(Sn(ja.value, 1), Je(de));
16538
+ const Er = Q[Q.length - 1], ja = Er.days[Er.days.length - 1], Dv = Xe(Sn(ja.value, 1), Je(de));
16528
16539
  Q.push({ days: Dv });
16529
16540
  }
16530
16541
  }
@@ -16543,18 +16554,18 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16543
16554
  return We;
16544
16555
  }, qe = (Q, de) => {
16545
16556
  const Ie = [], We = new Date(de, Q), ae = new Date(de, Q + 1, 0), Se = n.weekStart, Oe = zn(We, { weekStartsOn: Se }), or = (jn) => {
16546
- const Xr = Xe(jn, Q);
16547
- if (Ie.push({ days: Xr }), !Ie[Ie.length - 1].days.some(
16548
- (Tr) => et(jt(Tr.value), jt(ae))
16557
+ const Kr = Xe(jn, Q);
16558
+ if (Ie.push({ days: Kr }), !Ie[Ie.length - 1].days.some(
16559
+ (Er) => et(jt(Er.value), jt(ae))
16549
16560
  )) {
16550
- const Tr = Sn(jn, 7);
16551
- or(Tr);
16561
+ const Er = Sn(jn, 7);
16562
+ or(Er);
16552
16563
  }
16553
16564
  };
16554
16565
  return or(Oe), Ce(Ie, We, ae, Se);
16555
16566
  }, ot = (Q) => {
16556
- const de = Hr(pe(Q.value), d.hours, d.minutes, oe());
16557
- e("date-update", de), B.value.enabled ? Ru(de, l, B.value.limit) : l.value = de, r(), bt().then(() => {
16567
+ const de = zr(pe(Q.value), d.hours, d.minutes, oe());
16568
+ e("date-update", de), B.value.enabled ? Ru(de, l, B.value.limit) : l.value = de, r(), vt().then(() => {
16558
16569
  ne();
16559
16570
  });
16560
16571
  }, _t = (Q) => f.value.noDisabledRange ? yf(o.value[0], Q).some((de) => K(de)) : !1, X = () => {
@@ -16583,7 +16594,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16583
16594
  if (f.value.fixedStart || f.value.fixedEnd) return Bt(Q);
16584
16595
  o.value[0] ? D(pe(Q.value), l.value) && !_t(Q.value) ? Mt(pe(Q.value), pe(o.value[0])) ? (o.value.unshift(pe(Q.value)), e("range-end", o.value[0])) : (o.value[1] = pe(Q.value), e("range-end", o.value[1])) : (n.autoApply && e("auto-apply-invalid", Q.value), e("invalid-date", Q.value)) : (o.value[0] = pe(Q.value), e("range-start", o.value[0]));
16585
16596
  }, oe = (Q = !0) => n.enableSeconds ? Array.isArray(d.seconds) ? Q ? d.seconds[0] : d.seconds[1] : d.seconds : 0, $ = (Q) => {
16586
- o.value[Q] = Hr(
16597
+ o.value[Q] = zr(
16587
16598
  o.value[Q],
16588
16599
  d.hours[Q],
16589
16600
  d.minutes[Q],
@@ -16609,11 +16620,11 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16609
16620
  modelValue: l,
16610
16621
  range: f.value.enabled,
16611
16622
  timezone: de ? void 0 : M.value.timezone
16612
- }), F(), n.multiCalendars && bt().then(() => q(!0));
16623
+ }), F(), n.multiCalendars && vt().then(() => q(!0));
16613
16624
  }, En = () => {
16614
16625
  const Q = Ou(pe(), M.value);
16615
16626
  !f.value.enabled && !B.value.enabled ? l.value = Q : l.value && Array.isArray(l.value) && l.value[0] ? B.value.enabled ? l.value = [...l.value, Q] : l.value = Mt(Q, l.value[0]) ? [Q, l.value[0]] : [l.value[0], Q] : l.value = [Q], F();
16616
- }, Er = () => {
16627
+ }, xr = () => {
16617
16628
  if (Array.isArray(l.value))
16618
16629
  if (B.value.enabled) {
16619
16630
  const Q = oi();
@@ -16643,7 +16654,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16643
16654
  presetDate: Bn,
16644
16655
  selectCurrentDate: En,
16645
16656
  updateTime: (Q, de = !0, Ie = !1) => {
16646
- z(Q, de, Ie, Er);
16657
+ z(Q, de, Ie, xr);
16647
16658
  },
16648
16659
  assignMonthAndYear: L,
16649
16660
  setStartTime: V
@@ -16699,7 +16710,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16699
16710
  updateTime: D,
16700
16711
  assignMonthAndYear: z,
16701
16712
  setStartTime: I
16702
- } = VT(o, r, fe, L), w = Wr(), { setHoverDate: T, getDayClassData: j, clearHoverDate: te } = lS(l, o), { defaultedMultiCalendars: ce } = kt(o), C = Y([]), k = Y([]), _ = Y(null), F = _n(w, "calendar"), V = _n(w, "monthYear"), U = _n(w, "timePicker"), ne = (he) => {
16713
+ } = VT(o, r, fe, L), w = Ur(), { setHoverDate: T, getDayClassData: j, clearHoverDate: te } = lS(l, o), { defaultedMultiCalendars: ce } = kt(o), C = Y([]), k = Y([]), _ = Y(null), F = _n(w, "calendar"), V = _n(w, "monthYear"), U = _n(w, "timePicker"), ne = (he) => {
16703
16714
  o.shadow || r("mount", he);
16704
16715
  };
16705
16716
  Ze(
@@ -16801,7 +16812,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16801
16812
  year: p(a)(E),
16802
16813
  instance: E
16803
16814
  }, he.$props, {
16804
- onMount: ke[0] || (ke[0] = (_e) => ne(p(so).header)),
16815
+ onMount: ke[0] || (ke[0] = (_e) => ne(p(io).header)),
16805
16816
  onResetFlow: ke[1] || (ke[1] = (_e) => he.$emit("reset-flow")),
16806
16817
  onUpdateMonthYear: (_e) => p(O)(E, _e),
16807
16818
  onOverlayClosed: He,
@@ -16810,7 +16821,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16810
16821
  Le(p(V), (_e, Ce) => ({
16811
16822
  name: _e,
16812
16823
  fn: P((Xe) => [
16813
- se(he.$slots, _e, Ht(un(Xe)))
16824
+ se(he.$slots, _e, Ht(cn(Xe)))
16814
16825
  ])
16815
16826
  }))
16816
16827
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
@@ -16828,7 +16839,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16828
16839
  onSetHoverDate: ke[3] || (ke[3] = (_e) => p(T)(_e)),
16829
16840
  onHandleScroll: (_e) => p(M)(_e, E),
16830
16841
  onHandleSwipe: (_e) => p(x)(_e, E),
16831
- onMount: ke[4] || (ke[4] = (_e) => ne(p(so).calendar)),
16842
+ onMount: ke[4] || (ke[4] = (_e) => ne(p(io).calendar)),
16832
16843
  onResetFlow: ke[5] || (ke[5] = (_e) => he.$emit("reset-flow")),
16833
16844
  onTooltipOpen: ke[6] || (ke[6] = (_e) => he.$emit("tooltip-open", _e)),
16834
16845
  onTooltipClose: ke[7] || (ke[7] = (_e) => he.$emit("tooltip-close", _e))
@@ -16836,7 +16847,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16836
16847
  Le(p(F), (_e, Ce) => ({
16837
16848
  name: _e,
16838
16849
  fn: P((Xe) => [
16839
- se(he.$slots, _e, Ht(un({ ...Xe })))
16850
+ se(he.$slots, _e, Ht(cn({ ...Xe })))
16840
16851
  ])
16841
16852
  }))
16842
16853
  ]), 1040, ["mapped-dates", "month", "year", "instance", "onSelectDate", "onHandleSpace", "onHandleScroll", "onHandleSwipe"])
@@ -16855,7 +16866,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16855
16866
  "internal-model-value": he.internalModelValue,
16856
16867
  "disabled-times-config": p(d),
16857
16868
  "validate-time": p(h),
16858
- onMount: ke[8] || (ke[8] = (E) => ne(p(so).timePicker)),
16869
+ onMount: ke[8] || (ke[8] = (E) => ne(p(io).timePicker)),
16859
16870
  "onUpdate:hours": ke[9] || (ke[9] = (E) => p(D)(E)),
16860
16871
  "onUpdate:minutes": ke[10] || (ke[10] = (E) => p(D)(E, !1)),
16861
16872
  "onUpdate:seconds": ke[11] || (ke[11] = (E) => p(D)(E, !1, !0)),
@@ -16867,7 +16878,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16867
16878
  Le(p(U), (E, ye) => ({
16868
16879
  name: E,
16869
16880
  fn: P((_e) => [
16870
- se(he.$slots, E, Ht(un(_e)))
16881
+ se(he.$slots, E, Ht(cn(_e)))
16871
16882
  ])
16872
16883
  }))
16873
16884
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"]))
@@ -16883,7 +16894,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16883
16894
  propDates: a,
16884
16895
  defaultedFilters: l,
16885
16896
  defaultedMultiDates: u
16886
- } = kt(n), { modelValue: d, year: c, month: h, calendars: m } = Qi(n, e), { isDisabled: f } = Gr(n), { selectYear: g, groupedYears: M, showYearPicker: x, isDisabled: B, toggleYearPicker: O, handleYearSelect: K, handleYear: A } = Mf({
16897
+ } = kt(n), { modelValue: d, year: c, month: h, calendars: m } = Qi(n, e), { isDisabled: f } = qr(n), { selectYear: g, groupedYears: M, showYearPicker: x, isDisabled: B, toggleYearPicker: O, handleYearSelect: K, handleYear: A } = Mf({
16887
16898
  modelValue: d,
16888
16899
  multiCalendars: r,
16889
16900
  range: s,
@@ -16910,7 +16921,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16910
16921
  start: Di(_),
16911
16922
  end: Gp(_)
16912
16923
  }).map((F) => {
16913
- const V = oo(F), U = sh(F), ne = f(F), q = I(V), fe = T(V);
16924
+ const V = ro(F), U = sh(F), ne = f(F), q = I(V), fe = T(V);
16914
16925
  return {
16915
16926
  text: D(V, U),
16916
16927
  value: V,
@@ -16967,7 +16978,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16967
16978
  "update-month-year"
16968
16979
  ],
16969
16980
  setup(n, { expose: e, emit: t }) {
16970
- const r = t, o = n, i = Wr(), s = _n(i, "yearMode"), {
16981
+ const r = t, o = n, i = Ur(), s = _n(i, "yearMode"), {
16971
16982
  defaultedMultiCalendars: a,
16972
16983
  defaultedConfig: l,
16973
16984
  groupedYears: u,
@@ -17017,7 +17028,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17017
17028
  Le(p(s), (z, I) => ({
17018
17029
  name: z,
17019
17030
  fn: P((w) => [
17020
- se(K.$slots, z, Ht(un(w)))
17031
+ se(K.$slots, z, Ht(cn(w)))
17021
17032
  ])
17022
17033
  }))
17023
17034
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
@@ -17056,7 +17067,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17056
17067
  const t = Y(0);
17057
17068
  ft(() => {
17058
17069
  r(), window.addEventListener("resize", r, { passive: !0 });
17059
- }), Cr(() => {
17070
+ }), _r(() => {
17060
17071
  window.removeEventListener("resize", r);
17061
17072
  });
17062
17073
  const r = () => {
@@ -17130,8 +17141,8 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17130
17141
  flowStep: ce.value,
17131
17142
  menuWrapRef: i.value
17132
17143
  };
17133
- }), { setMenuFocused: a, setShiftKey: l, control: u } = xf(), d = Wr(), { defaultedTextInput: c, defaultedInline: h, defaultedConfig: m, defaultedUI: f, handleEventPropagation: g } = kt(o), { isMobile: M } = Af(m, o.shadow), x = Y(null), B = Y(0), O = Y(null), K = Y(!1), A = Y(null), D = Y(!1), z = (X) => {
17134
- D.value = !0, m.value.allowPreventDefault && X.preventDefault(), zr(X, m.value, !0);
17144
+ }), { setMenuFocused: a, setShiftKey: l, control: u } = xf(), d = Ur(), { defaultedTextInput: c, defaultedInline: h, defaultedConfig: m, defaultedUI: f, handleEventPropagation: g } = kt(o), { isMobile: M } = Af(m, o.shadow), x = Y(null), B = Y(0), O = Y(null), K = Y(!1), A = Y(null), D = Y(!1), z = (X) => {
17145
+ D.value = !0, m.value.allowPreventDefault && X.preventDefault(), Nr(X, m.value, !0);
17135
17146
  };
17136
17147
  ft(() => {
17137
17148
  if (!o.shadow) {
@@ -17140,7 +17151,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17140
17151
  X && !c.value.enabled && !h.value.enabled && (a(!0), ne()), X && (X.addEventListener("pointerdown", z), X.addEventListener("mousedown", z));
17141
17152
  }
17142
17153
  document.addEventListener("mousedown", _t);
17143
- }), Cr(() => {
17154
+ }), _r(() => {
17144
17155
  window.removeEventListener("resize", I), document.removeEventListener("mousedown", _t);
17145
17156
  const X = Rt(i);
17146
17157
  X && (X.removeEventListener("pointerdown", z), X.removeEventListener("mousedown", z));
@@ -17148,7 +17159,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17148
17159
  const I = () => {
17149
17160
  const X = Rt(O);
17150
17161
  X && (B.value = X.getBoundingClientRect().width);
17151
- }, { arrowRight: w, arrowLeft: T, arrowDown: j, arrowUp: te } = qr(), { flowStep: ce, updateFlowStep: C, childMount: k, resetFlow: _, handleFlow: F } = uS(o, r, A), V = R(() => o.monthPicker ? pT : o.yearPicker ? mT : o.timePicker ? $T : o.quarterPicker ? KT : UT), U = R(() => {
17162
+ }, { arrowRight: w, arrowLeft: T, arrowDown: j, arrowUp: te } = Wr(), { flowStep: ce, updateFlowStep: C, childMount: k, resetFlow: _, handleFlow: F } = uS(o, r, A), V = R(() => o.monthPicker ? pT : o.yearPicker ? mT : o.timePicker ? $T : o.quarterPicker ? KT : UT), U = R(() => {
17152
17163
  var X;
17153
17164
  if (m.value.arrowLeft) return m.value.arrowLeft;
17154
17165
  const xe = (X = i.value) == null ? void 0 : X.getBoundingClientRect(), nt = o.getInputRect();
@@ -17173,18 +17184,18 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17173
17184
  ...f.value.menu ?? {}
17174
17185
  })
17175
17186
  ), Z = (X) => {
17176
- zr(X, m.value, !0);
17187
+ Nr(X, m.value, !0);
17177
17188
  }, be = (X) => {
17178
17189
  o.escClose && (r("close-picker"), g(X));
17179
17190
  }, Re = (X) => {
17180
17191
  if (o.arrowNavigation) {
17181
- if (X === tn.up) return te();
17182
- if (X === tn.down) return j();
17183
- if (X === tn.left) return T();
17184
- if (X === tn.right) return w();
17185
- } else X === tn.left || X === tn.up ? E("handleArrow", tn.left, 0, X === tn.up) : E("handleArrow", tn.right, 0, X === tn.down);
17192
+ if (X === nn.up) return te();
17193
+ if (X === nn.down) return j();
17194
+ if (X === nn.left) return T();
17195
+ if (X === nn.right) return w();
17196
+ } else X === nn.left || X === nn.up ? E("handleArrow", nn.left, 0, X === nn.up) : E("handleArrow", nn.right, 0, X === nn.down);
17186
17197
  }, J = (X) => {
17187
- l(X.shiftKey), !o.disableMonthYearSelect && X.code === gt.tab && X.target.classList.contains("dp__menu") && u.value.shiftKeyInMenu && (X.preventDefault(), zr(X, m.value, !0), r("close-picker"));
17198
+ l(X.shiftKey), !o.disableMonthYearSelect && X.code === bt.tab && X.target.classList.contains("dp__menu") && u.value.shiftKeyInMenu && (X.preventDefault(), Nr(X, m.value, !0), r("close-picker"));
17188
17199
  }, He = () => {
17189
17200
  ne(), r("time-picker-close");
17190
17201
  }, he = (X) => {
@@ -17208,23 +17219,23 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17208
17219
  X.preventDefault(), Re(xe);
17209
17220
  }, ot = (X) => {
17210
17221
  var xe, nt, Bt;
17211
- if (J(X), X.key === gt.home || X.key === gt.end)
17222
+ if (J(X), X.key === bt.home || X.key === bt.end)
17212
17223
  return E(
17213
17224
  "selectWeekDate",
17214
- X.key === gt.home,
17225
+ X.key === bt.home,
17215
17226
  X.target.getAttribute("id")
17216
17227
  );
17217
- switch ((X.key === gt.pageUp || X.key === gt.pageDown) && (X.shiftKey ? (E("changeYear", X.key === gt.pageUp), (xe = Ul(i.value, "overlay-year")) == null || xe.focus()) : (E("changeMonth", X.key === gt.pageUp), (nt = Ul(i.value, X.key === gt.pageUp ? "action-prev" : "action-next")) == null || nt.focus()), X.target.getAttribute("id") && ((Bt = i.value) == null || Bt.focus({ preventScroll: !0 }))), X.key) {
17218
- case gt.esc:
17228
+ switch ((X.key === bt.pageUp || X.key === bt.pageDown) && (X.shiftKey ? (E("changeYear", X.key === bt.pageUp), (xe = Ul(i.value, "overlay-year")) == null || xe.focus()) : (E("changeMonth", X.key === bt.pageUp), (nt = Ul(i.value, X.key === bt.pageUp ? "action-prev" : "action-next")) == null || nt.focus()), X.target.getAttribute("id") && ((Bt = i.value) == null || Bt.focus({ preventScroll: !0 }))), X.key) {
17229
+ case bt.esc:
17219
17230
  return be(X);
17220
- case gt.arrowLeft:
17221
- return qe(X, tn.left);
17222
- case gt.arrowRight:
17223
- return qe(X, tn.right);
17224
- case gt.arrowUp:
17225
- return qe(X, tn.up);
17226
- case gt.arrowDown:
17227
- return qe(X, tn.down);
17231
+ case bt.arrowLeft:
17232
+ return qe(X, nn.left);
17233
+ case bt.arrowRight:
17234
+ return qe(X, nn.right);
17235
+ case bt.arrowUp:
17236
+ return qe(X, nn.up);
17237
+ case bt.arrowDown:
17238
+ return qe(X, nn.down);
17228
17239
  default:
17229
17240
  return;
17230
17241
  }
@@ -17281,7 +17292,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17281
17292
  style: je({ "--dp-menu-width": `${B.value}px` })
17282
17293
  }, [
17283
17294
  X.$slots["left-sidebar"] ? (v(), S("div", eS, [
17284
- se(X.$slots, "left-sidebar", Ht(un(q.value)))
17295
+ se(X.$slots, "left-sidebar", Ht(cn(q.value)))
17285
17296
  ])) : N("", !0),
17286
17297
  X.presetDates.length ? (v(), S("div", {
17287
17298
  key: 1,
@@ -17302,7 +17313,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17302
17313
  "data-test-id": oe.testId ?? void 0,
17303
17314
  "data-dp-mobile": p(M),
17304
17315
  onClick: Nn((ve) => _e(oe.value, oe.noTz), ["prevent"]),
17305
- onKeydown: (ve) => p(rn)(ve, () => _e(oe.value, oe.noTz), !0)
17316
+ onKeydown: (ve) => p(on)(ve, () => _e(oe.value, oe.noTz), !0)
17306
17317
  }, me(oe.label), 47, nS))
17307
17318
  ], 64))), 128))
17308
17319
  ], 10, tS)) : N("", !0),
@@ -17312,7 +17323,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17312
17323
  class: "dp__instance_calendar",
17313
17324
  role: "document"
17314
17325
  }, [
17315
- (v(), re(_r(V.value), tt({
17326
+ (v(), re(kr(V.value), tt({
17316
17327
  ref_key: "dynCmpRef",
17317
17328
  ref: A
17318
17329
  }, s.value, {
@@ -17343,13 +17354,13 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17343
17354
  Le(G.value, (oe, $) => ({
17344
17355
  name: oe,
17345
17356
  fn: P((ve) => [
17346
- se(X.$slots, oe, Ht(un({ ...ve })))
17357
+ se(X.$slots, oe, Ht(cn({ ...ve })))
17347
17358
  ])
17348
17359
  }))
17349
17360
  ]), 1040, ["flow-step", "onMount", "onUpdateFlowStep", "onResetFlow"]))
17350
17361
  ], 512),
17351
17362
  X.$slots["right-sidebar"] ? (v(), S("div", rS, [
17352
- se(X.$slots, "right-sidebar", Ht(un(q.value)))
17363
+ se(X.$slots, "right-sidebar", Ht(cn(q.value)))
17353
17364
  ])) : N("", !0),
17354
17365
  X.$slots["action-extra"] ? (v(), S("div", oS, [
17355
17366
  X.$slots["action-extra"] ? se(X.$slots, "action-extra", {
@@ -17371,7 +17382,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17371
17382
  Le(p(L), (oe, $) => ({
17372
17383
  name: oe,
17373
17384
  fn: P((ve) => [
17374
- se(X.$slots, oe, Ht(un({ ...ve })))
17385
+ se(X.$slots, oe, Ht(cn({ ...ve })))
17375
17386
  ])
17376
17387
  }))
17377
17388
  ]), 1040, ["menu-mount", "calendar-width"])) : N("", !0)
@@ -17513,7 +17524,7 @@ const iS = ({
17513
17524
  _ != null && (b.appContext = _.appContext), Dd(b, fe), u.value = (q = b.el) == null ? void 0 : q.getBoundingClientRect(), Dd(null, fe), G.removeChild(fe);
17514
17525
  }
17515
17526
  };
17516
- }, Mr = [
17527
+ }, Sr = [
17517
17528
  { name: "clock-icon", use: ["time", "calendar", "shared"] },
17518
17529
  { name: "arrow-left", use: ["month-year", "calendar", "shared", "year-mode"] },
17519
17530
  { name: "arrow-right", use: ["month-year", "calendar", "shared", "year-mode"] },
@@ -17556,15 +17567,15 @@ const iS = ({
17556
17567
  { name: "tp-inline-arrow-down", use: ["shared", "time"] },
17557
17568
  { name: "menu-header", use: ["menu"] }
17558
17569
  ], sS = [{ name: "trigger" }, { name: "input-icon" }, { name: "clear-icon" }, { name: "dp-input" }], aS = {
17559
- all: () => Mr,
17560
- monthYear: () => Mr.filter((n) => n.use.includes("month-year")),
17570
+ all: () => Sr,
17571
+ monthYear: () => Sr.filter((n) => n.use.includes("month-year")),
17561
17572
  input: () => sS,
17562
- timePicker: () => Mr.filter((n) => n.use.includes("time")),
17563
- action: () => Mr.filter((n) => n.use.includes("action")),
17564
- calendar: () => Mr.filter((n) => n.use.includes("calendar")),
17565
- menu: () => Mr.filter((n) => n.use.includes("menu")),
17566
- shared: () => Mr.filter((n) => n.use.includes("shared")),
17567
- yearMode: () => Mr.filter((n) => n.use.includes("year-mode"))
17573
+ timePicker: () => Sr.filter((n) => n.use.includes("time")),
17574
+ action: () => Sr.filter((n) => n.use.includes("action")),
17575
+ calendar: () => Sr.filter((n) => n.use.includes("calendar")),
17576
+ menu: () => Sr.filter((n) => n.use.includes("menu")),
17577
+ shared: () => Sr.filter((n) => n.use.includes("shared")),
17578
+ yearMode: () => Sr.filter((n) => n.use.includes("year-mode"))
17568
17579
  }, _n = (n, e, t) => {
17569
17580
  const r = [];
17570
17581
  return aS[e]().forEach((o) => {
@@ -17578,8 +17589,8 @@ const iS = ({
17578
17589
  }, Qi = (n, e, t) => {
17579
17590
  const { defaultedRange: r, defaultedTz: o } = kt(n), i = pe(hn(pe(), o.value.timezone)), s = Y([{ month: Je(i), year: Ve(i) }]), a = (h) => {
17580
17591
  const m = {
17581
- hours: wr(i),
17582
- minutes: jr(i),
17592
+ hours: yr(i),
17593
+ minutes: Hr(i),
17583
17594
  seconds: 0
17584
17595
  };
17585
17596
  return r.value.enabled ? [m[h], m[h]] : m[h];
@@ -17628,7 +17639,7 @@ const iS = ({
17628
17639
  defaultedTz: s,
17629
17640
  propDates: a,
17630
17641
  defaultedRange: l
17631
- } = kt(e), { isDisabled: u } = Gr(e), d = Y(null), c = Y(hn(/* @__PURE__ */ new Date(), s.value.timezone)), h = (b) => {
17642
+ } = kt(e), { isDisabled: u } = qr(e), d = Y(null), c = Y(hn(/* @__PURE__ */ new Date(), s.value.timezone)), h = (b) => {
17632
17643
  !b.current && e.hideOffsetDates || (d.value = b.value);
17633
17644
  }, m = () => {
17634
17645
  d.value = null;
@@ -17768,11 +17779,11 @@ const iS = ({
17768
17779
  ...o.value.calendarCell ?? {}
17769
17780
  }
17770
17781
  };
17771
- }, Gr = (n) => {
17782
+ }, qr = (n) => {
17772
17783
  const { defaultedFilters: e, defaultedRange: t, propDates: r, defaultedMultiDates: o } = kt(n), i = (C) => r.value.disabledDates ? typeof r.value.disabledDates == "function" ? r.value.disabledDates(pe(C)) : !!Ws(C, r.value.disabledDates) : !1, s = (C) => r.value.maxDate ? n.yearPicker ? Ve(C) > Ve(r.value.maxDate) : Ot(C, r.value.maxDate) : !1, a = (C) => r.value.minDate ? n.yearPicker ? Ve(C) < Ve(r.value.minDate) : Mt(C, r.value.minDate) : !1, l = (C) => {
17773
17784
  const k = s(C), _ = a(C), F = i(C), V = e.value.months.map((L) => +L).includes(Je(C)), U = n.disabledWeekDays.length ? n.disabledWeekDays.some((L) => +L === fx(C)) : !1, ne = m(C), q = Ve(C), fe = q < +n.yearRange[0] || q > +n.yearRange[1];
17774
17785
  return !(k || _ || F || V || fe || U || ne);
17775
- }, u = (C, k) => Mt(...Rr(r.value.minDate, C, k)) || et(...Rr(r.value.minDate, C, k)), d = (C, k) => Ot(...Rr(r.value.maxDate, C, k)) || et(...Rr(r.value.maxDate, C, k)), c = (C, k, _) => {
17786
+ }, u = (C, k) => Mt(...Pr(r.value.minDate, C, k)) || et(...Pr(r.value.minDate, C, k)), d = (C, k) => Ot(...Pr(r.value.maxDate, C, k)) || et(...Pr(r.value.maxDate, C, k)), c = (C, k, _) => {
17776
17787
  let F = !1;
17777
17788
  return r.value.maxDate && _ && d(C, k) && (F = !0), r.value.minDate && !_ && u(C, k) && (F = !0), F;
17778
17789
  }, h = (C, k, _, F) => {
@@ -17794,7 +17805,7 @@ const iS = ({
17794
17805
  }
17795
17806
  return !0;
17796
17807
  }, O = () => !n.enableTimePicker || n.monthPicker || n.yearPicker || n.ignoreTimeValidation, K = (C) => Array.isArray(C) ? [C[0] ? hl(C[0]) : null, C[1] ? hl(C[1]) : null] : hl(C), A = (C, k, _) => C.find(
17797
- (F) => +F.hours === wr(k) && F.minutes === "*" ? !0 : +F.minutes === jr(k) && +F.hours === wr(k)
17808
+ (F) => +F.hours === yr(k) && F.minutes === "*" ? !0 : +F.minutes === Hr(k) && +F.hours === yr(k)
17798
17809
  ) && _, D = (C, k, _) => {
17799
17810
  const [F, V] = C, [U, ne] = k;
17800
17811
  return !A(F, U, _) && !A(V, ne, _) && _;
@@ -17802,7 +17813,7 @@ const iS = ({
17802
17813
  const _ = Array.isArray(k) ? k : [k];
17803
17814
  return Array.isArray(n.disabledTimes) ? Array.isArray(n.disabledTimes[0]) ? D(n.disabledTimes, _, C) : !_.some((F) => A(n.disabledTimes, F, C)) : C;
17804
17815
  }, I = (C, k) => {
17805
- const _ = Array.isArray(k) ? [ao(k[0]), k[1] ? ao(k[1]) : void 0] : ao(k), F = !n.disabledTimes(_);
17816
+ const _ = Array.isArray(k) ? [so(k[0]), k[1] ? so(k[1]) : void 0] : so(k), F = !n.disabledTimes(_);
17806
17817
  return C && F;
17807
17818
  }, w = (C, k) => n.disabledTimes ? Array.isArray(n.disabledTimes) ? z(k, C) : I(k, C) : k, T = (C) => {
17808
17819
  let k = !0;
@@ -17854,9 +17865,9 @@ const iS = ({
17854
17865
  return { hideNavigationButtons: n, showLeftIcon: e, showRightIcon: t };
17855
17866
  }, uS = (n, e, t) => {
17856
17867
  const r = Y(0), o = Yi({
17857
- [so.timePicker]: !n.enableTimePicker || n.timePicker || n.monthPicker,
17858
- [so.calendar]: !1,
17859
- [so.header]: !1
17868
+ [io.timePicker]: !n.enableTimePicker || n.timePicker || n.monthPicker,
17869
+ [io.calendar]: !1,
17870
+ [io.header]: !1
17860
17871
  }), i = R(() => n.monthPicker || n.timePicker), s = (c) => {
17861
17872
  var h;
17862
17873
  if ((h = n.flow) != null && h.length) {
@@ -17865,7 +17876,7 @@ const iS = ({
17865
17876
  }
17866
17877
  }, a = () => {
17867
17878
  var c, h;
17868
- (c = n.flow) != null && c.length && r.value !== -1 && (r.value += 1, e("flow-step", r.value), d()), ((h = n.flow) == null ? void 0 : h.length) === r.value && bt().then(() => l());
17879
+ (c = n.flow) != null && c.length && r.value !== -1 && (r.value += 1, e("flow-step", r.value), d()), ((h = n.flow) == null ? void 0 : h.length) === r.value && vt().then(() => l());
17869
17880
  }, l = () => {
17870
17881
  r.value = -1;
17871
17882
  }, u = (c, h, ...m) => {
@@ -17919,7 +17930,7 @@ const iS = ({
17919
17930
  defaultedUI: c,
17920
17931
  getDefaultPattern: h,
17921
17932
  getDefaultStartTime: m
17922
- } = kt(o), { checkMinMaxRange: f } = Gr(o), g = Y(), M = Y(null), x = Y(!1), B = Y(!1), O = R(
17933
+ } = kt(o), { checkMinMaxRange: f } = qr(o), g = Y(), M = Y(null), x = Y(!1), B = Y(!1), O = R(
17923
17934
  () => ({
17924
17935
  dp__pointer: !o.disabled && !o.readonly && !i.value.enabled,
17925
17936
  dp__disabled: o.disabled,
@@ -17971,19 +17982,19 @@ const iS = ({
17971
17982
  }, j = (q, fe) => {
17972
17983
  i.value.enabled && i.value.tabSubmit && !fe && I(q.target.value), i.value.tabSubmit && Wl(g.value) && o.inputValue !== "" ? (r("set-input-date", g.value, !0, !0), g.value = null) : i.value.tabSubmit && o.inputValue === "" && (g.value = null, r("clear", !0));
17973
17984
  }, te = () => {
17974
- x.value = !0, r("focus"), bt().then(() => {
17985
+ x.value = !0, r("focus"), vt().then(() => {
17975
17986
  var q;
17976
17987
  i.value.enabled && i.value.selectOnFocus && ((q = M.value) == null || q.select());
17977
17988
  });
17978
17989
  }, ce = (q) => {
17979
- if (zr(q, l.value, !0), i.value.enabled && i.value.openMenu && !a.value.input) {
17990
+ if (Nr(q, l.value, !0), i.value.enabled && i.value.openMenu && !a.value.input) {
17980
17991
  if (i.value.openMenu === "open" && !o.isMenuOpen) return r("open");
17981
17992
  if (i.value.openMenu === "toggle") return r("toggle");
17982
17993
  } else i.value.enabled || r("toggle");
17983
17994
  }, C = () => {
17984
17995
  r("real-blur"), x.value = !1, (!o.isMenuOpen || a.value.enabled && a.value.input) && r("blur"), o.autoApply && i.value.enabled && g.value && !o.isMenuOpen && (r("set-input-date", g.value), r("select-date"), g.value = null);
17985
17996
  }, k = (q) => {
17986
- zr(q, l.value, !0), r("clear");
17997
+ Nr(q, l.value, !0), r("clear");
17987
17998
  }, _ = () => {
17988
17999
  r("close");
17989
18000
  }, F = (q) => {
@@ -17997,7 +18008,7 @@ const iS = ({
17997
18008
  }, U = (q) => {
17998
18009
  g.value = q;
17999
18010
  }, ne = (q) => {
18000
- q.key === gt.tab && j(q, !0);
18011
+ q.key === bt.tab && j(q, !0);
18001
18012
  };
18002
18013
  return e({
18003
18014
  focusInput: V,
@@ -18073,7 +18084,7 @@ const iS = ({
18073
18084
  "aria-label": (ee = p(s)) == null ? void 0 : ee.clearInput,
18074
18085
  class: "dp--clear-btn",
18075
18086
  type: "button",
18076
- onKeydown: fe[4] || (fe[4] = (le) => p(rn)(le, () => k(le), !0, ne)),
18087
+ onKeydown: fe[4] || (fe[4] = (le) => p(on)(le, () => k(le), !0, ne)),
18077
18088
  onClick: fe[5] || (fe[5] = Nn((le) => k(le), ["prevent"]))
18078
18089
  }, [
18079
18090
  H(p(cf), {
@@ -18143,7 +18154,7 @@ const iS = ({
18143
18154
  "text-input"
18144
18155
  ],
18145
18156
  setup(n, { expose: e, emit: t }) {
18146
- const r = t, o = n, i = Wr(), s = Y(!1), a = dr(o, "modelValue"), l = dr(o, "timezone"), u = Y(null), d = Y(null), c = Y(null), h = Y(!1), m = Y(null), f = Y(!1), g = Y(!1), M = Y(!1), x = Y(!1), { setMenuFocused: B, setShiftKey: O } = xf(), { clearArrowNav: K } = qr(), { validateDate: A, isValidTime: D } = Gr(o), {
18157
+ const r = t, o = n, i = Ur(), s = Y(!1), a = dr(o, "modelValue"), l = dr(o, "timezone"), u = Y(null), d = Y(null), c = Y(null), h = Y(!1), m = Y(null), f = Y(!1), g = Y(!1), M = Y(!1), x = Y(!1), { setMenuFocused: B, setShiftKey: O } = xf(), { clearArrowNav: K } = Wr(), { validateDate: A, isValidTime: D } = qr(o), {
18147
18158
  defaultedTransitions: z,
18148
18159
  defaultedTextInput: I,
18149
18160
  defaultedInline: w,
@@ -18152,13 +18163,13 @@ const iS = ({
18152
18163
  defaultedMultiDates: te
18153
18164
  } = kt(o), { menuTransition: ce, showTransition: C } = Xi(z), { isMobile: k } = Af(T), _ = cu();
18154
18165
  ft(() => {
18155
- b(o.modelValue), bt().then(() => {
18166
+ b(o.modelValue), vt().then(() => {
18156
18167
  if (!w.value.enabled) {
18157
18168
  const ae = L(m.value);
18158
18169
  ae == null || ae.addEventListener("scroll", _e), window == null || window.addEventListener("resize", Ce);
18159
18170
  }
18160
18171
  }), w.value.enabled && (s.value = !0), window == null || window.addEventListener("keyup", Xe), window == null || window.addEventListener("keydown", qe);
18161
- }), Cr(() => {
18172
+ }), _r(() => {
18162
18173
  if (!w.value.enabled) {
18163
18174
  const ae = L(m.value);
18164
18175
  ae == null || ae.removeEventListener("scroll", _e), window == null || window.removeEventListener("resize", Ce);
@@ -18241,8 +18252,8 @@ const iS = ({
18241
18252
  le.value = null;
18242
18253
  return;
18243
18254
  }
18244
- const or = Array.isArray(ae) ? !ae.some((Xr) => !A(Xr)) : A(ae), jn = D(ae);
18245
- or && jn ? (x.value = !0, le.value = ae, Se ? (f.value = Oe, xe(), r("text-submit")) : o.autoApply && xn(), bt().then(() => {
18255
+ const or = Array.isArray(ae) ? !ae.some((Kr) => !A(Kr)) : A(ae), jn = D(ae);
18256
+ or && jn ? (x.value = !0, le.value = ae, Se ? (f.value = Oe, xe(), r("text-submit")) : o.autoApply && xn(), vt().then(() => {
18246
18257
  x.value = !1;
18247
18258
  })) : r("invalid-date", ae);
18248
18259
  }, Me = () => {
@@ -18257,7 +18268,7 @@ const iS = ({
18257
18268
  ae == null || ae.focus();
18258
18269
  }
18259
18270
  r("blur");
18260
- }, Er = (ae) => {
18271
+ }, xr = (ae) => {
18261
18272
  d.value && d.value.updateMonthYear(0, {
18262
18273
  month: ph(ae.month),
18263
18274
  year: ph(ae.year)
@@ -18285,7 +18296,7 @@ const iS = ({
18285
18296
  // exposed for testing purposes
18286
18297
  updateInternalModelValue: mn,
18287
18298
  // modify internal modelValue
18288
- setMonthYear: Er,
18299
+ setMonthYear: xr,
18289
18300
  parseModel: oi,
18290
18301
  switchView: Q,
18291
18302
  toggleMenu: Ae,
@@ -18320,11 +18331,11 @@ const iS = ({
18320
18331
  Le(p(V), (Oe, or) => ({
18321
18332
  name: Oe,
18322
18333
  fn: P((jn) => [
18323
- se(ae.$slots, Oe, Ht(un(jn)))
18334
+ se(ae.$slots, Oe, Ht(cn(jn)))
18324
18335
  ])
18325
18336
  }))
18326
18337
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
18327
- (v(), re(_r(ae.teleport ? ia : "div"), Ht(un(he.value)), {
18338
+ (v(), re(kr(ae.teleport ? ia : "div"), Ht(cn(he.value)), {
18328
18339
  default: P(() => [
18329
18340
  H(fn, {
18330
18341
  name: p(ce)(p(U)),
@@ -18376,7 +18387,7 @@ const iS = ({
18376
18387
  Le(p(F), (Oe, or) => ({
18377
18388
  name: Oe,
18378
18389
  fn: P((jn) => [
18379
- se(ae.$slots, Oe, Ht(un({ ...jn })))
18390
+ se(ae.$slots, Oe, Ht(cn({ ...jn })))
18380
18391
  ])
18381
18392
  }))
18382
18393
  ]), 1040, ["internal-model-value", "class", "open-on-top", "no-overlay-focus", "collapse", "is-text-input-date", "onRecalculatePosition"])
@@ -18905,7 +18916,7 @@ const Po = /* @__PURE__ */ i1(SS), MS = /* @__PURE__ */ ue({
18905
18916
  ]),
18906
18917
  _: 1
18907
18918
  }),
18908
- H(p(gr), null, {
18919
+ H(p(lo), null, {
18909
18920
  default: P(() => [
18910
18921
  i.value > 0 ? (v(), re(p(Jn), {
18911
18922
  key: 0,
@@ -18962,7 +18973,7 @@ const Po = /* @__PURE__ */ i1(SS), MS = /* @__PURE__ */ ue({
18962
18973
  ])
18963
18974
  ], 2))), 128))
18964
18975
  ], 2),
18965
- H(p(gr), null, {
18976
+ H(p(lo), null, {
18966
18977
  default: P(() => [
18967
18978
  t.value ? (v(), S("div", {
18968
18979
  key: 0,
@@ -19192,13 +19203,13 @@ const sM = /* @__PURE__ */ ue({
19192
19203
  }, uM = {
19193
19204
  $style: lM
19194
19205
  }, cM = /* @__PURE__ */ ge(sM, [["__cssModules", uM]]), Pf = /* @__PURE__ */ new Set(), pn = /* @__PURE__ */ new WeakMap(), qo = /* @__PURE__ */ new WeakMap(), co = /* @__PURE__ */ new WeakMap(), Gl = /* @__PURE__ */ new WeakMap(), dM = /* @__PURE__ */ new WeakMap(), Go = /* @__PURE__ */ new WeakMap(), qs = /* @__PURE__ */ new WeakMap(), gi = /* @__PURE__ */ new WeakSet();
19195
- let Vr, zu = 0, Hu = 0;
19206
+ let jr, zu = 0, Hu = 0;
19196
19207
  const pr = "__aa_tgt", Pi = "__aa_del", Gs = "__aa_new", hM = (n) => {
19197
19208
  const e = bM(n);
19198
19209
  e && e.forEach((t) => yM(t));
19199
19210
  }, pM = (n) => {
19200
19211
  n.forEach((e) => {
19201
- e.target === Vr && mM(), pn.has(e.target) && mo(e.target);
19212
+ e.target === jr && mM(), pn.has(e.target) && mo(e.target);
19202
19213
  });
19203
19214
  };
19204
19215
  function fM(n) {
@@ -19207,7 +19218,7 @@ function fM(n) {
19207
19218
  let t = pn.get(n), r = 0;
19208
19219
  const o = 5;
19209
19220
  t || (t = Ko(n), pn.set(n, t));
19210
- const { offsetWidth: i, offsetHeight: s } = Vr, l = [
19221
+ const { offsetWidth: i, offsetHeight: s } = jr, l = [
19211
19222
  t.top - o,
19212
19223
  i - (t.left + o + t.width),
19213
19224
  s - (t.top + o + t.height),
@@ -19215,7 +19226,7 @@ function fM(n) {
19215
19226
  ].map((d) => `${-1 * Math.floor(d)}px`).join(" "), u = new IntersectionObserver(() => {
19216
19227
  ++r > 1 && mo(n);
19217
19228
  }, {
19218
- root: Vr,
19229
+ root: jr,
19219
19230
  threshold: 1,
19220
19231
  rootMargin: l
19221
19232
  });
@@ -19233,7 +19244,7 @@ function mo(n) {
19233
19244
  }, t));
19234
19245
  }
19235
19246
  function mM() {
19236
- clearTimeout(qs.get(Vr)), qs.set(Vr, setTimeout(() => {
19247
+ clearTimeout(qs.get(jr)), qs.set(jr, setTimeout(() => {
19237
19248
  Pf.forEach((n) => Nf(n, (e) => Rf(() => mo(e))));
19238
19249
  }, 100));
19239
19250
  }
@@ -19247,9 +19258,9 @@ function Rf(n) {
19247
19258
  }
19248
19259
  let Kl, Oo;
19249
19260
  const gM = typeof window < "u" && "ResizeObserver" in window;
19250
- gM && (Vr = document.documentElement, Kl = new MutationObserver(hM), Oo = new ResizeObserver(pM), window.addEventListener("scroll", () => {
19261
+ gM && (jr = document.documentElement, Kl = new MutationObserver(hM), Oo = new ResizeObserver(pM), window.addEventListener("scroll", () => {
19251
19262
  Hu = window.scrollY, zu = window.scrollX;
19252
- }), Oo.observe(Vr));
19263
+ }), Oo.observe(jr));
19253
19264
  function bM(n) {
19254
19265
  return n.reduce((r, o) => [
19255
19266
  ...r,
@@ -19442,7 +19453,7 @@ function _M(n) {
19442
19453
  }
19443
19454
  function CM(n, e, t, r) {
19444
19455
  const o = zu - e, i = Hu - t, s = document.documentElement.style.scrollBehavior;
19445
- if (getComputedStyle(Vr).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + o, window.scrollY + i), !n.parentElement)
19456
+ if (getComputedStyle(jr).scrollBehavior === "smooth" && (document.documentElement.style.scrollBehavior = "auto"), window.scrollTo(window.scrollX + o, window.scrollY + i), !n.parentElement)
19446
19457
  return;
19447
19458
  const l = n.parentElement;
19448
19459
  let u = l.clientHeight, d = l.clientWidth;
@@ -19898,7 +19909,7 @@ const Hf = Symbol("ToastService"), nP = new qM(), GM = ["id"], KM = /* @__PURE__
19898
19909
  }), r.value.style.height = `${D}px`, r.value.style.width = `${z}px`;
19899
19910
  }
19900
19911
  function m() {
19901
- bt(() => {
19912
+ vt(() => {
19902
19913
  const [A, D, z] = o.value.sort(B), I = K("0");
19903
19914
  if (c(I, "main"), D) {
19904
19915
  const w = O({
@@ -19916,7 +19927,7 @@ const Hf = Symbol("ToastService"), nP = new qM(), GM = ["id"], KM = /* @__PURE__
19916
19927
  translateY: "-30%",
19917
19928
  index: 2
19918
19929
  });
19919
- c(w, "third"), bt(() => {
19930
+ c(w, "third"), vt(() => {
19920
19931
  var j;
19921
19932
  const T = (j = r.value) == null ? void 0 : j.querySelector(
19922
19933
  ".toaster-leave-active"
@@ -20176,7 +20187,7 @@ const oP = new a$(), l$ = ["disabled"], u$ = ["onClick"], c$ = /* @__PURE__ */ u
20176
20187
  ref: i,
20177
20188
  class: y(f.$style.wrapper)
20178
20189
  }, [
20179
- H(p(dn), null, {
20190
+ H(p(Qt), null, {
20180
20191
  default: P(() => {
20181
20192
  var x;
20182
20193
  return [
@@ -20210,7 +20221,7 @@ const oP = new a$(), l$ = ["disabled"], u$ = ["onClick"], c$ = /* @__PURE__ */ u
20210
20221
  size: "16",
20211
20222
  color: c.value
20212
20223
  }, null, 8, ["class", "color"])),
20213
- H(p(dn), null, {
20224
+ H(p(Qt), null, {
20214
20225
  default: P(() => [
20215
20226
  f.isLoading ? (v(), re(p(aa), {
20216
20227
  key: 0,
@@ -20248,7 +20259,7 @@ const oP = new a$(), l$ = ["disabled"], u$ = ["onClick"], c$ = /* @__PURE__ */ u
20248
20259
  ]),
20249
20260
  _: 2
20250
20261
  }, 1024),
20251
- H(p(dn), null, {
20262
+ H(p(Qt), null, {
20252
20263
  default: P(() => [
20253
20264
  x.id === s.value ? (v(), S("div", {
20254
20265
  key: 0,
@@ -20408,7 +20419,7 @@ const oP = new a$(), l$ = ["disabled"], u$ = ["onClick"], c$ = /* @__PURE__ */ u
20408
20419
  return (t, r) => (v(), S("div", {
20409
20420
  class: y(t.$style.root)
20410
20421
  }, [
20411
- (v(!0), S($e, null, Le(t.list, (o) => (v(), re(_r(t.tag), tt({
20422
+ (v(!0), S($e, null, Le(t.list, (o) => (v(), re(kr(t.tag), tt({
20412
20423
  class: t.$style.breadcrumb,
20413
20424
  key: o.text + o.href,
20414
20425
  ref_for: !0
@@ -20637,7 +20648,7 @@ const oP = new a$(), l$ = ["disabled"], u$ = ["onClick"], c$ = /* @__PURE__ */ u
20637
20648
  ]),
20638
20649
  _: 1
20639
20650
  }, 8, ["color", "class"]),
20640
- H(p(dn), null, {
20651
+ H(p(Qt), null, {
20641
20652
  default: P(() => [
20642
20653
  t.isChecked ? (v(), S("div", oB, [
20643
20654
  H(p(Ke), {
@@ -21190,7 +21201,7 @@ function xt(n) {
21190
21201
  function Wt(n) {
21191
21202
  return ho(n) === "object";
21192
21203
  }
21193
- function kr(n) {
21204
+ function wr(n) {
21194
21205
  return ho(n) === "string";
21195
21206
  }
21196
21207
  function f3(n) {
@@ -21329,7 +21340,7 @@ function C3(n, e) {
21329
21340
  const t = Array.isArray(n) || Wt(n), r = Array.isArray(e) || Wt(e);
21330
21341
  return t || r ? JSON.stringify(n) === JSON.stringify(e) : n === e;
21331
21342
  }
21332
- let ie = class nn {
21343
+ let ie = class rn {
21333
21344
  /**
21334
21345
  * Check if passed tag has no closed tag
21335
21346
  *
@@ -21470,7 +21481,7 @@ let ie = class nn {
21470
21481
  * @param holder - element where to find inputs
21471
21482
  */
21472
21483
  static findAllInputs(e) {
21473
- return Xf(e.querySelectorAll(nn.allInputsSelector)).reduce((t, r) => nn.isNativeInput(r) || nn.containsOnlyInlineElements(r) ? [...t, r] : [...t, ...nn.getDeepestBlockElements(r)], []);
21484
+ return Xf(e.querySelectorAll(rn.allInputsSelector)).reduce((t, r) => rn.isNativeInput(r) || rn.containsOnlyInlineElements(r) ? [...t, r] : [...t, ...rn.getDeepestBlockElements(r)], []);
21474
21485
  }
21475
21486
  /**
21476
21487
  * Search for deepest node which is Leaf.
@@ -21487,7 +21498,7 @@ let ie = class nn {
21487
21498
  const r = t ? "lastChild" : "firstChild", o = t ? "previousSibling" : "nextSibling";
21488
21499
  if (e && e.nodeType === Node.ELEMENT_NODE && e[r]) {
21489
21500
  let i = e[r];
21490
- if (nn.isSingleTag(i) && !nn.isNativeInput(i) && !nn.isLineBreakTag(i))
21501
+ if (rn.isSingleTag(i) && !rn.isNativeInput(i) && !rn.isLineBreakTag(i))
21491
21502
  if (i[o])
21492
21503
  i = i[o];
21493
21504
  else if (i.parentNode[o])
@@ -21549,7 +21560,7 @@ let ie = class nn {
21549
21560
  */
21550
21561
  static canSetCaret(e) {
21551
21562
  let t = !0;
21552
- if (nn.isNativeInput(e))
21563
+ if (rn.isNativeInput(e))
21553
21564
  switch (e.type) {
21554
21565
  case "file":
21555
21566
  case "checkbox":
@@ -21563,7 +21574,7 @@ let ie = class nn {
21563
21574
  break;
21564
21575
  }
21565
21576
  else
21566
- t = nn.isContentEditable(e);
21577
+ t = rn.isContentEditable(e);
21567
21578
  return t;
21568
21579
  }
21569
21580
  /**
@@ -21614,7 +21625,7 @@ let ie = class nn {
21614
21625
  * @returns {boolean}
21615
21626
  */
21616
21627
  static isHTMLString(e) {
21617
- const t = nn.make("div");
21628
+ const t = rn.make("div");
21618
21629
  return t.innerHTML = e, t.childElementCount > 0;
21619
21630
  }
21620
21631
  /**
@@ -21624,7 +21635,7 @@ let ie = class nn {
21624
21635
  * @returns {number}
21625
21636
  */
21626
21637
  static getContentLength(e) {
21627
- return nn.isNativeInput(e) ? e.value.length : e.nodeType === Node.TEXT_NODE ? e.length : e.textContent.length;
21638
+ return rn.isNativeInput(e) ? e.value.length : e.nodeType === Node.TEXT_NODE ? e.length : e.textContent.length;
21628
21639
  }
21629
21640
  /**
21630
21641
  * Return array of names of block html elements
@@ -21682,8 +21693,8 @@ let ie = class nn {
21682
21693
  */
21683
21694
  static containsOnlyInlineElements(e) {
21684
21695
  let t;
21685
- kr(e) ? (t = document.createElement("div"), t.innerHTML = e) : t = e;
21686
- const r = (o) => !nn.blockElements.includes(o.tagName.toLowerCase()) && Array.from(o.children).every(r);
21696
+ wr(e) ? (t = document.createElement("div"), t.innerHTML = e) : t = e;
21697
+ const r = (o) => !rn.blockElements.includes(o.tagName.toLowerCase()) && Array.from(o.children).every(r);
21687
21698
  return Array.from(t.children).every(r);
21688
21699
  }
21689
21700
  /**
@@ -21693,7 +21704,7 @@ let ie = class nn {
21693
21704
  * @returns {HTMLElement[]}
21694
21705
  */
21695
21706
  static getDeepestBlockElements(e) {
21696
- return nn.containsOnlyInlineElements(e) ? [e] : Array.from(e.children).reduce((t, r) => [...t, ...nn.getDeepestBlockElements(r)], []);
21707
+ return rn.containsOnlyInlineElements(e) ? [e] : Array.from(e.children).reduce((t, r) => [...t, ...rn.getDeepestBlockElements(r)], []);
21697
21708
  }
21698
21709
  /**
21699
21710
  * Helper for get holder from {string} or return HTMLElement
@@ -21702,7 +21713,7 @@ let ie = class nn {
21702
21713
  * @returns {HTMLElement}
21703
21714
  */
21704
21715
  static getHolder(e) {
21705
- return kr(e) ? document.getElementById(e) : e;
21716
+ return wr(e) ? document.getElementById(e) : e;
21706
21717
  }
21707
21718
  /**
21708
21719
  * Returns true if element is anchor (is A tag)
@@ -21878,7 +21889,7 @@ const T3 = {
21878
21889
  }
21879
21890
  };
21880
21891
  em.currentDictionary = Jf;
21881
- let on = em;
21892
+ let sn = em;
21882
21893
  class tm extends Error {
21883
21894
  }
21884
21895
  let Ji = class {
@@ -22248,7 +22259,7 @@ let es = class {
22248
22259
  get isRtl() {
22249
22260
  return this.config.i18n.direction === "rtl";
22250
22261
  }
22251
- }, ze = class $r {
22262
+ }, ze = class Mr {
22252
22263
  constructor() {
22253
22264
  this.instance = null, this.selection = null, this.savedSelectionRange = null, this.isFakeBackgroundEnabled = !1, this.commandBackground = "backColor", this.commandRemoveFormat = "removeFormat";
22254
22265
  }
@@ -22310,7 +22321,7 @@ let es = class {
22310
22321
  * @returns {boolean}
22311
22322
  */
22312
22323
  static get isAtEditor() {
22313
- return this.isSelectionAtEditor($r.get());
22324
+ return this.isSelectionAtEditor(Mr.get());
22314
22325
  }
22315
22326
  /**
22316
22327
  * Check if passed selection is at Editor's zone
@@ -22323,7 +22334,7 @@ let es = class {
22323
22334
  let t = e.anchorNode || e.focusNode;
22324
22335
  t && t.nodeType === Node.TEXT_NODE && (t = t.parentNode);
22325
22336
  let r = null;
22326
- return t && t instanceof Element && (r = t.closest(`.${$r.CSS.editorZone}`)), r ? r.nodeType === Node.ELEMENT_NODE : !1;
22337
+ return t && t instanceof Element && (r = t.closest(`.${Mr.CSS.editorZone}`)), r ? r.nodeType === Node.ELEMENT_NODE : !1;
22327
22338
  }
22328
22339
  /**
22329
22340
  * Check if passed range at Editor zone
@@ -22336,13 +22347,13 @@ let es = class {
22336
22347
  let t = e.startContainer;
22337
22348
  t && t.nodeType === Node.TEXT_NODE && (t = t.parentNode);
22338
22349
  let r = null;
22339
- return t && t instanceof Element && (r = t.closest(`.${$r.CSS.editorZone}`)), r ? r.nodeType === Node.ELEMENT_NODE : !1;
22350
+ return t && t instanceof Element && (r = t.closest(`.${Mr.CSS.editorZone}`)), r ? r.nodeType === Node.ELEMENT_NODE : !1;
22340
22351
  }
22341
22352
  /**
22342
22353
  * Methods return boolean that true if selection exists on the page
22343
22354
  */
22344
22355
  static get isSelectionExists() {
22345
- return !!$r.get().anchorNode;
22356
+ return !!Mr.get().anchorNode;
22346
22357
  }
22347
22358
  /**
22348
22359
  * Return first range
@@ -22423,14 +22434,14 @@ let es = class {
22423
22434
  * @param container - where range should be
22424
22435
  */
22425
22436
  static isRangeInsideContainer(e) {
22426
- const t = $r.range;
22437
+ const t = Mr.range;
22427
22438
  return t === null ? !1 : e.contains(t.startContainer);
22428
22439
  }
22429
22440
  /**
22430
22441
  * Adds fake cursor to the current range
22431
22442
  */
22432
22443
  static addFakeCursor() {
22433
- const e = $r.range;
22444
+ const e = Mr.range;
22434
22445
  if (e === null)
22435
22446
  return;
22436
22447
  const t = ie.make("span", "codex-editor__fake-cursor");
@@ -22469,7 +22480,7 @@ let es = class {
22469
22480
  * Save SelectionUtils's range
22470
22481
  */
22471
22482
  save() {
22472
- this.savedSelectionRange = $r.range;
22483
+ this.savedSelectionRange = Mr.range;
22473
22484
  }
22474
22485
  /**
22475
22486
  * Restore saved SelectionUtils's range
@@ -22536,7 +22547,7 @@ function tu(n, e) {
22536
22547
  if (!n.conversionConfig)
22537
22548
  return !1;
22538
22549
  const t = n.conversionConfig[e];
22539
- return xt(t) || kr(t);
22550
+ return xt(t) || wr(t);
22540
22551
  }
22541
22552
  function Qs(n, e) {
22542
22553
  return tu(n.tool, e);
@@ -22570,16 +22581,16 @@ function $h(n, e) {
22570
22581
  }
22571
22582
  function A3(n, e) {
22572
22583
  const t = e == null ? void 0 : e.export;
22573
- return xt(t) ? t(n) : kr(t) ? n[t] : (t !== void 0 && lt("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."), "");
22584
+ return xt(t) ? t(n) : wr(t) ? n[t] : (t !== void 0 && lt("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."), "");
22574
22585
  }
22575
22586
  function Bh(n, e, t) {
22576
22587
  const r = e == null ? void 0 : e.import;
22577
- return xt(r) ? r(n, t) : kr(r) ? {
22588
+ return xt(r) ? r(n, t) : wr(r) ? {
22578
22589
  [r]: n
22579
22590
  } : (r !== void 0 && lt("Conversion «import» property must be a string or function. String means key of tool data to import. Function accepts a imported string and return composed tool data."), {});
22580
22591
  }
22581
22592
  var wt = /* @__PURE__ */ ((n) => (n.Default = "default", n.Separator = "separator", n.Html = "html", n))(wt || {}), ur = /* @__PURE__ */ ((n) => (n.APPEND_CALLBACK = "appendCallback", n.RENDERED = "rendered", n.MOVED = "moved", n.UPDATED = "updated", n.REMOVED = "removed", n.ON_PASTE = "onPaste", n))(ur || {});
22582
- let fr = class Br extends Ji {
22593
+ let fr = class $r extends Ji {
22583
22594
  /**
22584
22595
  * @param options - block constructor options
22585
22596
  * @param [options.id] - block's id. Will be generated if omitted.
@@ -22751,7 +22762,7 @@ let fr = class Br extends Ji {
22751
22762
  */
22752
22763
  set selected(e) {
22753
22764
  var t, r;
22754
- this.holder.classList.toggle(Br.CSS.selected, e);
22765
+ this.holder.classList.toggle($r.CSS.selected, e);
22755
22766
  const o = e === !0 && ze.isRangeInsideContainer(this.holder), i = e === !1 && ze.isFakeCursorInsideContainer(this.holder);
22756
22767
  (o || i) && ((t = this.editorEventBus) == null || t.emit(om, { state: e }), o ? ze.addFakeCursor() : ze.removeFakeCursor(this.holder), (r = this.editorEventBus) == null || r.emit(im, { state: e }));
22757
22768
  }
@@ -22761,7 +22772,7 @@ let fr = class Br extends Ji {
22761
22772
  * @returns {boolean}
22762
22773
  */
22763
22774
  get selected() {
22764
- return this.holder.classList.contains(Br.CSS.selected);
22775
+ return this.holder.classList.contains($r.CSS.selected);
22765
22776
  }
22766
22777
  /**
22767
22778
  * Set stretched state
@@ -22769,7 +22780,7 @@ let fr = class Br extends Ji {
22769
22780
  * @param {boolean} state - 'true' to enable, 'false' to disable stretched state
22770
22781
  */
22771
22782
  set stretched(e) {
22772
- this.holder.classList.toggle(Br.CSS.wrapperStretched, e);
22783
+ this.holder.classList.toggle($r.CSS.wrapperStretched, e);
22773
22784
  }
22774
22785
  /**
22775
22786
  * Return Block's stretched state
@@ -22777,7 +22788,7 @@ let fr = class Br extends Ji {
22777
22788
  * @returns {boolean}
22778
22789
  */
22779
22790
  get stretched() {
22780
- return this.holder.classList.contains(Br.CSS.wrapperStretched);
22791
+ return this.holder.classList.contains($r.CSS.wrapperStretched);
22781
22792
  }
22782
22793
  /**
22783
22794
  * Toggle drop target state
@@ -22785,7 +22796,7 @@ let fr = class Br extends Ji {
22785
22796
  * @param {boolean} state - 'true' if block is drop target, false otherwise
22786
22797
  */
22787
22798
  set dropTarget(e) {
22788
- this.holder.classList.toggle(Br.CSS.dropTarget, e);
22799
+ this.holder.classList.toggle($r.CSS.dropTarget, e);
22789
22800
  }
22790
22801
  /**
22791
22802
  * Returns Plugins content
@@ -22932,7 +22943,7 @@ let fr = class Br extends Ji {
22932
22943
  * @returns {HTMLDivElement}
22933
22944
  */
22934
22945
  compose() {
22935
- const e = ie.make("div", Br.CSS.wrapper), t = ie.make("div", Br.CSS.content), r = this.toolInstance.render();
22946
+ const e = ie.make("div", $r.CSS.wrapper), t = ie.make("div", $r.CSS.content), r = this.toolInstance.render();
22936
22947
  e.dataset.id = this.id, this.toolRenderedElement = r, t.appendChild(this.toolRenderedElement);
22937
22948
  let o = t;
22938
22949
  return [...this.tunesInstances.values(), ...this.defaultTunesInstances.values()].forEach((i) => {
@@ -23364,7 +23375,7 @@ let P3 = class lm extends rt {
23364
23375
  return Object.assign(
23365
23376
  this.methods,
23366
23377
  {
23367
- t: (r) => on.t(lm.getNamespace(e, t), r)
23378
+ t: (r) => sn.t(lm.getNamespace(e, t), r)
23368
23379
  }
23369
23380
  );
23370
23381
  }
@@ -23949,7 +23960,7 @@ function Zn(n, e = {}) {
23949
23960
  return new W3(t).clean(n);
23950
23961
  }
23951
23962
  function Gu(n, e) {
23952
- return Array.isArray(n) ? q3(n, e) : Wt(n) ? G3(n, e) : kr(n) ? K3(n, e) : n;
23963
+ return Array.isArray(n) ? q3(n, e) : Wt(n) ? G3(n, e) : wr(n) ? K3(n, e) : n;
23953
23964
  }
23954
23965
  function q3(n, e) {
23955
23966
  return n.map((t) => Gu(t, e));
@@ -24397,7 +24408,7 @@ function hm(n, e) {
24397
24408
  return Object.entries(n).forEach(([r, o]) => {
24398
24409
  if (Wt(o)) {
24399
24410
  const i = e ? `${e}.${r}` : r;
24400
- Object.values(o).every((s) => kr(s)) ? t[r] = i : t[r] = hm(o, i);
24411
+ Object.values(o).every((s) => wr(s)) ? t[r] = i : t[r] = hm(o, i);
24401
24412
  return;
24402
24413
  }
24403
24414
  t[r] = o;
@@ -24629,10 +24640,10 @@ let ui = pm, ea = class nu {
24629
24640
  }
24630
24641
  };
24631
24642
  const cA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9 12L9 7.1C9 7.04477 9.04477 7 9.1 7H10.4C11.5 7 14 7.1 14 9.5C14 9.5 14 12 11 12M9 12V16.8C9 16.9105 9.08954 17 9.2 17H12.5C14 17 15 16 15 14.5C15 11.7046 11 12 11 12M9 12H11"/></svg>', dA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 10L11.8586 14.8586C11.9367 14.9367 12.0633 14.9367 12.1414 14.8586L17 10"/></svg>', hA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.5 17.5L9.64142 12.6414C9.56331 12.5633 9.56331 12.4367 9.64142 12.3586L14.5 7.5"/></svg>', pA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9.58284 17.5L14.4414 12.6414C14.5195 12.5633 14.5195 12.4367 14.4414 12.3586L9.58284 7.5"/></svg>', fA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 15L11.8586 10.1414C11.9367 10.0633 12.0633 10.0633 12.1414 10.1414L17 15"/></svg>', mA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 8L12 12M12 12L16 16M12 12L16 8M12 12L8 16"/></svg>', vA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" stroke="currentColor" stroke-width="2"/></svg>', gA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M13.34 10C12.4223 12.7337 11 17 11 17"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.21 7H14.2"/></svg>', Ah = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.69998 12.6L7.67896 12.62C6.53993 13.7048 6.52012 15.5155 7.63516 16.625V16.625C8.72293 17.7073 10.4799 17.7102 11.5712 16.6314L13.0263 15.193C14.0703 14.1609 14.2141 12.525 13.3662 11.3266L13.22 11.12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16.22 11.12L16.3564 10.9805C17.2895 10.0265 17.3478 8.5207 16.4914 7.49733V7.49733C15.5691 6.39509 13.9269 6.25143 12.8271 7.17675L11.3901 8.38588C10.0935 9.47674 9.95706 11.4241 11.0888 12.6852L11.12 12.72"/></svg>', bA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 7.29999H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 7.29999H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.30999 12H9.3"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 12H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 16.7H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 16.7H14.59"/></svg>', yA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 7V12M12 17V12M17 12H12M12 12H7"/></svg>', fm = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M11.5 17.5L5 11M5 11V15.5M5 11H9.5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12.5 6.5L19 13M19 13V8.5M19 13H14.5"/></svg>', wA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="10.5" cy="10.5" r="5.5" stroke="currentColor" stroke-width="2"/><line x1="15.4142" x2="19" y1="15" y2="18.5858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', kA = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M15.7795 11.5C15.7795 11.5 16.053 11.1962 16.5497 10.6722C17.4442 9.72856 17.4701 8.2475 16.5781 7.30145V7.30145C15.6482 6.31522 14.0873 6.29227 13.1288 7.25073L11.8796 8.49999"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8.24517 12.3883C8.24517 12.3883 7.97171 12.6922 7.47504 13.2161C6.58051 14.1598 6.55467 15.6408 7.44666 16.5869V16.5869C8.37653 17.5731 9.93744 17.5961 10.8959 16.6376L12.1452 15.3883"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M17.7802 15.1032L16.597 14.9422C16.0109 14.8624 15.4841 15.3059 15.4627 15.8969L15.4199 17.0818"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6.39064 9.03238L7.58432 9.06668C8.17551 9.08366 8.6522 8.58665 8.61056 7.99669L8.5271 6.81397"/><line x1="12.1142" x2="11.7" y1="12.2" y2="11.7858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', _A = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/><line x1="12" x2="12" y1="9" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 15.02V15.01"/></svg>', CA = "__", xA = "--";
24632
- function Kr(n) {
24643
+ function Gr(n) {
24633
24644
  return (e, t) => [[n, e].filter((r) => !!r).join(CA), t].filter((r) => !!r).join(xA);
24634
24645
  }
24635
- const ci = Kr("ce-hint"), di = {
24646
+ const ci = Gr("ce-hint"), di = {
24636
24647
  root: ci(),
24637
24648
  alignedStart: ci(null, "align-left"),
24638
24649
  alignedCenter: ci(null, "align-center"),
@@ -24761,7 +24772,7 @@ let Xu = class {
24761
24772
  return this.params === void 0 || !("isActive" in this.params) ? !1 : typeof this.params.isActive == "function" ? this.params.isActive() : this.params.isActive === !0;
24762
24773
  }
24763
24774
  };
24764
- const vn = Kr("ce-popover-item"), Tt = {
24775
+ const vn = Gr("ce-popover-item"), Tt = {
24765
24776
  container: vn(),
24766
24777
  active: vn(null, "active"),
24767
24778
  disabled: vn(null, "disabled"),
@@ -24775,9 +24786,9 @@ const vn = Kr("ce-popover-item"), Tt = {
24775
24786
  icon: vn("icon"),
24776
24787
  iconTool: vn("icon", "tool"),
24777
24788
  iconChevronRight: vn("icon", "chevron-right"),
24778
- wobbleAnimation: Kr("wobble")()
24789
+ wobbleAnimation: Gr("wobble")()
24779
24790
  };
24780
- let io = class extends Xu {
24791
+ let oo = class extends Xu {
24781
24792
  /**
24782
24793
  * Constructs popover item instance
24783
24794
  *
@@ -24963,7 +24974,7 @@ let io = class extends Xu {
24963
24974
  (e = this.nodes.icon) != null && e.classList.contains(Tt.wobbleAnimation) || ((t = this.nodes.icon) == null || t.classList.add(Tt.wobbleAnimation), (r = this.nodes.icon) == null || r.addEventListener("animationend", this.onErrorAnimationEnd));
24964
24975
  }
24965
24976
  };
24966
- const kl = Kr("ce-popover-item-separator"), _l = {
24977
+ const kl = Gr("ce-popover-item-separator"), _l = {
24967
24978
  container: kl(),
24968
24979
  line: kl("line"),
24969
24980
  hidden: kl(null, "hidden")
@@ -24995,25 +25006,25 @@ class mm extends Xu {
24995
25006
  }
24996
25007
  }
24997
25008
  var nr = /* @__PURE__ */ ((n) => (n.Closed = "closed", n.ClosedOnActivate = "closed-on-activate", n))(nr || {});
24998
- const Jt = Kr("ce-popover"), Dt = {
24999
- popover: Jt(),
25000
- popoverContainer: Jt("container"),
25001
- popoverOpenTop: Jt(null, "open-top"),
25002
- popoverOpenLeft: Jt(null, "open-left"),
25003
- popoverOpened: Jt(null, "opened"),
25004
- search: Jt("search"),
25005
- nothingFoundMessage: Jt("nothing-found-message"),
25006
- nothingFoundMessageDisplayed: Jt("nothing-found-message", "displayed"),
25007
- items: Jt("items"),
25008
- overlay: Jt("overlay"),
25009
- overlayHidden: Jt("overlay", "hidden"),
25010
- popoverNested: Jt(null, "nested"),
25011
- getPopoverNestedClass: (n) => Jt(null, `nested-level-${n.toString()}`),
25012
- popoverInline: Jt(null, "inline"),
25013
- popoverHeader: Jt("header")
25009
+ const en = Gr("ce-popover"), Dt = {
25010
+ popover: en(),
25011
+ popoverContainer: en("container"),
25012
+ popoverOpenTop: en(null, "open-top"),
25013
+ popoverOpenLeft: en(null, "open-left"),
25014
+ popoverOpened: en(null, "opened"),
25015
+ search: en("search"),
25016
+ nothingFoundMessage: en("nothing-found-message"),
25017
+ nothingFoundMessageDisplayed: en("nothing-found-message", "displayed"),
25018
+ items: en("items"),
25019
+ overlay: en("overlay"),
25020
+ overlayHidden: en("overlay", "hidden"),
25021
+ popoverNested: en(null, "nested"),
25022
+ getPopoverNestedClass: (n) => en(null, `nested-level-${n.toString()}`),
25023
+ popoverInline: en(null, "inline"),
25024
+ popoverHeader: en("header")
25014
25025
  };
25015
25026
  var Ro = /* @__PURE__ */ ((n) => (n.NestingLevel = "--nesting-level", n.PopoverHeight = "--popover-height", n.InlinePopoverWidth = "--inline-popover-width", n.TriggerItemLeft = "--trigger-item-left", n.TriggerItemTop = "--trigger-item-top", n))(Ro || {});
25016
- const Oh = Kr("ce-popover-item-html"), Dh = {
25027
+ const Oh = Gr("ce-popover-item-html"), Dh = {
25017
25028
  root: Oh(),
25018
25029
  hidden: Oh(null, "hidden")
25019
25030
  };
@@ -25088,7 +25099,7 @@ class vm extends Ji {
25088
25099
  * List of default popover items that are searchable and may have confirmation state
25089
25100
  */
25090
25101
  get itemsDefault() {
25091
- return this.items.filter((e) => e instanceof io);
25102
+ return this.items.filter((e) => e instanceof oo);
25092
25103
  }
25093
25104
  /**
25094
25105
  * Returns HTML element corresponding to the popover
@@ -25137,7 +25148,7 @@ class vm extends Ji {
25137
25148
  case wt.Html:
25138
25149
  return new zi(t, this.itemsRenderParams[wt.Html]);
25139
25150
  default:
25140
- return new io(t, this.itemsRenderParams[wt.Default]);
25151
+ return new oo(t, this.itemsRenderParams[wt.Default]);
25141
25152
  }
25142
25153
  });
25143
25154
  }
@@ -25147,7 +25158,7 @@ class vm extends Ji {
25147
25158
  * @param event - event to retrieve popover item from
25148
25159
  */
25149
25160
  getTargetItem(e) {
25150
- return this.items.filter((t) => t instanceof io || t instanceof zi).find((t) => {
25161
+ return this.items.filter((t) => t instanceof oo || t instanceof zi).find((t) => {
25151
25162
  const r = t.getElement();
25152
25163
  return r === null ? !1 : e.composedPath().includes(r);
25153
25164
  });
@@ -25184,7 +25195,7 @@ class vm extends Ji {
25184
25195
  * @param clickedItem - popover item that was clicked
25185
25196
  */
25186
25197
  toggleItemActivenessIfNeeded(e) {
25187
- if (e instanceof io && (e.toggle === !0 && e.toggleActive(), typeof e.toggle == "string")) {
25198
+ if (e instanceof oo && (e.toggle === !0 && e.toggleActive(), typeof e.toggle == "string")) {
25188
25199
  const t = this.itemsDefault.filter((r) => r.toggle === e.toggle);
25189
25200
  if (t.length === 1) {
25190
25201
  e.toggleActive();
@@ -25197,7 +25208,7 @@ class vm extends Ji {
25197
25208
  }
25198
25209
  }
25199
25210
  var ta = /* @__PURE__ */ ((n) => (n.Search = "search", n))(ta || {});
25200
- const Cl = Kr("cdx-search-field"), xl = {
25211
+ const Cl = Gr("cdx-search-field"), xl = {
25201
25212
  wrapper: Cl(),
25202
25213
  icon: Cl("icon"),
25203
25214
  input: Cl("input")
@@ -25297,7 +25308,7 @@ const gm = class bm extends vm {
25297
25308
  const i = r.query === "", s = r.items.length === 0;
25298
25309
  this.items.forEach((l) => {
25299
25310
  let u = !1;
25300
- l instanceof io ? u = !r.items.includes(l) : (l instanceof mm || l instanceof zi) && (u = s || !i), l.toggleHidden(u);
25311
+ l instanceof oo ? u = !r.items.includes(l) : (l instanceof mm || l instanceof zi) && (u = s || !i), l.toggleHidden(u);
25301
25312
  }), this.toggleNothingFoundMessage(s);
25302
25313
  const a = r.query === "" ? this.flippableElements : r.items.map((l) => l.getElement());
25303
25314
  (o = this.flipper) != null && o.isActivated && (this.flipper.deactivate(), this.flipper.activate(a));
@@ -25434,7 +25445,7 @@ const gm = class bm extends vm {
25434
25445
  */
25435
25446
  get flippableElements() {
25436
25447
  return this.items.map((e) => {
25437
- if (e instanceof io)
25448
+ if (e instanceof oo)
25438
25449
  return e.getElement();
25439
25450
  if (e instanceof zi)
25440
25451
  return e.getControls();
@@ -25500,7 +25511,7 @@ class BA extends Qu {
25500
25511
  }
25501
25512
  }
25502
25513
  ), this.items.forEach((r) => {
25503
- !(r instanceof io) && !(r instanceof zi) || r.hasChildren && r.isChildrenOpen && this.showNestedItems(r);
25514
+ !(r instanceof oo) && !(r instanceof zi) || r.hasChildren && r.isChildrenOpen && this.showNestedItems(r);
25504
25515
  });
25505
25516
  }
25506
25517
  /**
@@ -25609,7 +25620,7 @@ ym.CSS = {
25609
25620
  scrollLockedHard: "ce-scroll-locked--hard"
25610
25621
  };
25611
25622
  let AA = ym;
25612
- const El = Kr("ce-popover-header"), Tl = {
25623
+ const El = Gr("ce-popover-header"), Tl = {
25613
25624
  root: El(),
25614
25625
  text: El("text"),
25615
25626
  backButton: El("back-button")
@@ -25821,8 +25832,8 @@ class IA extends rt {
25821
25832
  items: await this.getTunesItems(e, o, r),
25822
25833
  scopeElement: this.Editor.API.methods.ui.nodes.redactor,
25823
25834
  messages: {
25824
- nothingFound: on.ui(Cn.ui.popover, "Nothing found"),
25825
- search: on.ui(Cn.ui.popover, "Filter")
25835
+ nothingFound: sn.ui(Cn.ui.popover, "Nothing found"),
25836
+ search: sn.ui(Cn.ui.popover, "Filter")
25826
25837
  }
25827
25838
  }), this.popover.on(nr.Closed, this.onPopoverClose), (t = this.nodes.wrapper) == null || t.append(this.popover.getElement()), this.popover.show();
25828
25839
  }
@@ -25848,7 +25859,7 @@ class IA extends rt {
25848
25859
  const i = Array.from(this.Editor.Tools.blockTools.values()), s = (await am(e, i)).reduce((a, l) => (l.toolbox.forEach((u) => {
25849
25860
  a.push({
25850
25861
  icon: u.icon,
25851
- title: on.t(Cn.toolNames, u.title),
25862
+ title: sn.t(Cn.toolNames, u.title),
25852
25863
  name: l.name,
25853
25864
  closeOnActivate: !0,
25854
25865
  onActivate: async () => {
@@ -25860,7 +25871,7 @@ class IA extends rt {
25860
25871
  return s.length > 0 && (o.push({
25861
25872
  icon: fm,
25862
25873
  name: "convert-to",
25863
- title: on.ui(Cn.ui.popover, "Convert to"),
25874
+ title: sn.ui(Cn.ui.popover, "Convert to"),
25864
25875
  children: {
25865
25876
  searchable: !0,
25866
25877
  items: s
@@ -26160,7 +26171,7 @@ const Zu = class Cm extends Ji {
26160
26171
  get toolboxItemsToBeDisplayed() {
26161
26172
  const e = (t, r, o = !0) => ({
26162
26173
  icon: t.icon,
26163
- title: on.t(Cn.toolNames, t.title || Xs(r.name)),
26174
+ title: sn.t(Cn.toolNames, t.title || Xs(r.name)),
26164
26175
  name: r.name,
26165
26176
  onActivate: () => {
26166
26177
  this.toolButtonActivated(r.name, t.data);
@@ -26426,14 +26437,14 @@ class jA extends rt {
26426
26437
  Zs(!0), this.plusButtonClicked();
26427
26438
  }, !1);
26428
26439
  const e = ie.make("div");
26429
- e.appendChild(document.createTextNode(on.ui(Cn.ui.toolbar.toolbox, "Add"))), e.appendChild(ie.make("div", this.CSS.plusButtonShortcut, {
26440
+ e.appendChild(document.createTextNode(sn.ui(Cn.ui.toolbar.toolbox, "Add"))), e.appendChild(ie.make("div", this.CSS.plusButtonShortcut, {
26430
26441
  textContent: "/"
26431
26442
  })), Js(this.nodes.plusButton, e, {
26432
26443
  hidingDelay: 400
26433
26444
  }), this.nodes.settingsToggler = ie.make("span", this.CSS.settingsToggler, {
26434
26445
  innerHTML: bA
26435
26446
  }), ie.append(this.nodes.actions, this.nodes.settingsToggler);
26436
- const t = ie.make("div"), r = ie.text(on.ui(Cn.ui.blockTunes.toggler, "Click to tune")), o = await HA("Slash", "/");
26447
+ const t = ie.make("div"), r = ie.text(sn.ui(Cn.ui.blockTunes.toggler, "Click to tune")), o = await HA("Slash", "/");
26437
26448
  t.appendChild(r), t.appendChild(ie.make("div", this.CSS.plusButtonShortcut, {
26438
26449
  textContent: Wu(`CMD + ${o}`)
26439
26450
  })), Js(this.nodes.settingsToggler, t, {
@@ -26448,8 +26459,8 @@ class jA extends rt {
26448
26459
  api: this.Editor.API.methods,
26449
26460
  tools: this.Editor.Tools.blockTools,
26450
26461
  i18nLabels: {
26451
- filter: on.ui(Cn.ui.popover, "Filter"),
26452
- nothingFound: on.ui(Cn.ui.popover, "Nothing found")
26462
+ filter: sn.ui(Cn.ui.popover, "Filter"),
26463
+ nothingFound: sn.ui(Cn.ui.popover, "Nothing found")
26453
26464
  }
26454
26465
  }), this.toolboxInstance.on(Ms.Opened, () => {
26455
26466
  this.Editor.UI.nodes.wrapper.classList.add(this.CSS.openedToolboxHolderModifier);
@@ -26513,7 +26524,7 @@ class jA extends rt {
26513
26524
  this.removeAllNodes(), this.toolboxInstance && this.toolboxInstance.destroy();
26514
26525
  }
26515
26526
  }
26516
- var lo = /* @__PURE__ */ ((n) => (n[n.Block = 0] = "Block", n[n.Inline = 1] = "Inline", n[n.Tune = 2] = "Tune", n))(lo || {}), $s = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.Toolbox = "toolbox", n.EnabledInlineTools = "inlineToolbar", n.EnabledBlockTunes = "tunes", n.Config = "config", n))($s || {}), Em = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.SanitizeConfig = "sanitize", n))(Em || {}), Mo = /* @__PURE__ */ ((n) => (n.IsEnabledLineBreaks = "enableLineBreaks", n.Toolbox = "toolbox", n.ConversionConfig = "conversionConfig", n.IsReadOnlySupported = "isReadOnlySupported", n.PasteConfig = "pasteConfig", n))(Mo || {}), na = /* @__PURE__ */ ((n) => (n.IsInline = "isInline", n.Title = "title", n.IsReadOnlySupported = "isReadOnlySupported", n))(na || {}), ru = /* @__PURE__ */ ((n) => (n.IsTune = "isTune", n))(ru || {});
26527
+ var ao = /* @__PURE__ */ ((n) => (n[n.Block = 0] = "Block", n[n.Inline = 1] = "Inline", n[n.Tune = 2] = "Tune", n))(ao || {}), $s = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.Toolbox = "toolbox", n.EnabledInlineTools = "inlineToolbar", n.EnabledBlockTunes = "tunes", n.Config = "config", n))($s || {}), Em = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.SanitizeConfig = "sanitize", n))(Em || {}), Mo = /* @__PURE__ */ ((n) => (n.IsEnabledLineBreaks = "enableLineBreaks", n.Toolbox = "toolbox", n.ConversionConfig = "conversionConfig", n.IsReadOnlySupported = "isReadOnlySupported", n.PasteConfig = "pasteConfig", n))(Mo || {}), na = /* @__PURE__ */ ((n) => (n.IsInline = "isInline", n.Title = "title", n.IsReadOnlySupported = "isReadOnlySupported", n))(na || {}), ru = /* @__PURE__ */ ((n) => (n.IsTune = "isTune", n))(ru || {});
26517
26528
  let Ju = class {
26518
26529
  /**
26519
26530
  * @class
@@ -26571,19 +26582,19 @@ let Ju = class {
26571
26582
  * Returns true if Tools is inline
26572
26583
  */
26573
26584
  isInline() {
26574
- return this.type === lo.Inline;
26585
+ return this.type === ao.Inline;
26575
26586
  }
26576
26587
  /**
26577
26588
  * Returns true if Tools is block
26578
26589
  */
26579
26590
  isBlock() {
26580
- return this.type === lo.Block;
26591
+ return this.type === ao.Block;
26581
26592
  }
26582
26593
  /**
26583
26594
  * Returns true if Tools is tune
26584
26595
  */
26585
26596
  isTune() {
26586
- return this.type === lo.Tune;
26597
+ return this.type === ao.Tune;
26587
26598
  }
26588
26599
  };
26589
26600
  class VA extends rt {
@@ -26665,8 +26676,8 @@ class VA extends rt {
26665
26676
  items: t,
26666
26677
  scopeElement: this.Editor.API.methods.ui.nodes.redactor,
26667
26678
  messages: {
26668
- nothingFound: on.ui(Cn.ui.popover, "Nothing found"),
26669
- search: on.ui(Cn.ui.popover, "Filter")
26679
+ nothingFound: sn.ui(Cn.ui.popover, "Nothing found"),
26680
+ search: sn.ui(Cn.ui.popover, "Filter")
26670
26681
  }
26671
26682
  }), this.move(this.popover.size.width), (e = this.nodes.wrapper) == null || e.append(this.popover.getElement()), this.popover.show();
26672
26683
  }
@@ -26738,7 +26749,7 @@ class VA extends rt {
26738
26749
  this.enableShortcuts(r.name, s);
26739
26750
  } catch {
26740
26751
  }
26741
- const a = s !== void 0 ? Wu(s) : void 0, l = on.t(
26752
+ const a = s !== void 0 ? Wu(s) : void 0, l = sn.t(
26742
26753
  Cn.toolNames,
26743
26754
  r.title || Xs(r.name)
26744
26755
  );
@@ -27107,32 +27118,32 @@ function iO(n, e, t) {
27107
27118
  window.clearTimeout(r), r = window.setTimeout(s, e), a && n.apply(i, o);
27108
27119
  };
27109
27120
  }
27110
- function Yr(n) {
27121
+ function Vr(n) {
27111
27122
  return Object.prototype.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
27112
27123
  }
27113
27124
  function sO(n) {
27114
- return Yr(n) === "boolean";
27125
+ return Vr(n) === "boolean";
27115
27126
  }
27116
27127
  function Dm(n) {
27117
- return Yr(n) === "function" || Yr(n) === "asyncfunction";
27128
+ return Vr(n) === "function" || Vr(n) === "asyncfunction";
27118
27129
  }
27119
27130
  function aO(n) {
27120
27131
  return Dm(n) && /^\s*class\s+/.test(n.toString());
27121
27132
  }
27122
27133
  function lO(n) {
27123
- return Yr(n) === "number";
27134
+ return Vr(n) === "number";
27124
27135
  }
27125
27136
  function Os(n) {
27126
- return Yr(n) === "object";
27137
+ return Vr(n) === "object";
27127
27138
  }
27128
27139
  function uO(n) {
27129
27140
  return Promise.resolve(n) === n;
27130
27141
  }
27131
27142
  function cO(n) {
27132
- return Yr(n) === "string";
27143
+ return Vr(n) === "string";
27133
27144
  }
27134
27145
  function dO(n) {
27135
- return Yr(n) === "undefined";
27146
+ return Vr(n) === "undefined";
27136
27147
  }
27137
27148
  function ou(n, ...e) {
27138
27149
  if (!e.length)
@@ -27234,7 +27245,7 @@ const yO = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27234
27245
  mouseButtons: vO,
27235
27246
  notEmpty: hc,
27236
27247
  throttle: bO,
27237
- typeOf: Yr
27248
+ typeOf: Vr
27238
27249
  }, Symbol.toStringTag, { value: "Module" })), pc = /* @__PURE__ */ c3(yO);
27239
27250
  Object.defineProperty(dc, "__esModule", { value: !0 });
27240
27251
  dc.containsOnlyInlineElements = _O;
@@ -29707,7 +29718,7 @@ const Zm = class Jm extends rt {
29707
29718
  * @returns {string[]} array of tags.
29708
29719
  */
29709
29720
  collectTagNames(e) {
29710
- return kr(e) ? [e] : Wt(e) ? Object.keys(e) : [];
29721
+ return wr(e) ? [e] : Wt(e) ? Object.keys(e) : [];
29711
29722
  }
29712
29723
  /**
29713
29724
  * Get tags to substitute by Tool
@@ -30941,7 +30952,7 @@ let ev = class {
30941
30952
  return (c = d.toolbox) == null || c.forEach((h) => {
30942
30953
  u.push({
30943
30954
  icon: h.icon,
30944
- title: on.t(Cn.toolNames, h.title),
30955
+ title: sn.t(Cn.toolNames, h.title),
30945
30956
  name: d.name,
30946
30957
  closeOnActivate: !0,
30947
30958
  onActivate: async () => {
@@ -31018,7 +31029,7 @@ let tv = class {
31018
31029
  tv.isReadOnlySupported = !0;
31019
31030
  class ND extends Ju {
31020
31031
  constructor() {
31021
- super(...arguments), this.type = lo.Inline;
31032
+ super(...arguments), this.type = ao.Inline;
31022
31033
  }
31023
31034
  /**
31024
31035
  * Returns title for Inline Tool if specified by user
@@ -31045,7 +31056,7 @@ class ND extends Ju {
31045
31056
  }
31046
31057
  class zD extends Ju {
31047
31058
  constructor() {
31048
- super(...arguments), this.type = lo.Tune;
31059
+ super(...arguments), this.type = ao.Tune;
31049
31060
  }
31050
31061
  /**
31051
31062
  * Constructs new BlockTune instance from constructable
@@ -31106,7 +31117,7 @@ var HD = Object.defineProperty, jD = Object.getOwnPropertyDescriptor, nv = (n, e
31106
31117
  };
31107
31118
  class Yc extends Ju {
31108
31119
  constructor() {
31109
- super(...arguments), this.type = lo.Block, this.inlineTools = new Yn(), this.tunes = new Yn();
31120
+ super(...arguments), this.type = ao.Block, this.inlineTools = new Yn(), this.tunes = new Yn();
31110
31121
  }
31111
31122
  /**
31112
31123
  * Creates new Tool instance
@@ -32070,7 +32081,7 @@ class XD {
32070
32081
  a: !0
32071
32082
  }, this.config.hideToolbar = this.config.hideToolbar ? this.config.hideToolbar : !1, this.config.tools = this.config.tools || {}, this.config.i18n = this.config.i18n || {}, this.config.data = this.config.data || { blocks: [] }, this.config.onReady = this.config.onReady || (() => {
32072
32083
  }), this.config.onChange = this.config.onChange || (() => {
32073
- }), this.config.inlineToolbar = this.config.inlineToolbar !== void 0 ? this.config.inlineToolbar : !0, ($n(this.config.data) || !this.config.data.blocks || this.config.data.blocks.length === 0) && (this.config.data = { blocks: [o] }), this.config.readOnly = this.config.readOnly || !1, (t = this.config.i18n) != null && t.messages && on.setDictionary(this.config.i18n.messages), this.config.i18n.direction = ((r = this.config.i18n) == null ? void 0 : r.direction) || "ltr";
32084
+ }), this.config.inlineToolbar = this.config.inlineToolbar !== void 0 ? this.config.inlineToolbar : !0, ($n(this.config.data) || !this.config.data.blocks || this.config.data.blocks.length === 0) && (this.config.data = { blocks: [o] }), this.config.readOnly = this.config.readOnly || !1, (t = this.config.i18n) != null && t.messages && sn.setDictionary(this.config.i18n.messages), this.config.i18n.direction = ((r = this.config.i18n) == null ? void 0 : r.direction) || "ltr";
32074
32085
  }
32075
32086
  /**
32076
32087
  * Returns private property
@@ -32087,7 +32098,7 @@ class XD {
32087
32098
  const { holderId: e, holder: t } = this.config;
32088
32099
  if (e && t)
32089
32100
  throw Error("«holderId» and «holder» param can't assign at the same time.");
32090
- if (kr(t) && !ie.get(t))
32101
+ if (wr(t) && !ie.get(t))
32091
32102
  throw Error(`element with ID «${t}» is missing. Pass correct holder's ID.`);
32092
32103
  if (t && Wt(t) && !ie.isElement(t))
32093
32104
  throw Error("«holder» value must be an Element node");
@@ -33364,32 +33375,32 @@ function YI(n, e, t) {
33364
33375
  window.clearTimeout(r), r = window.setTimeout(s, e), a && n.apply(i, o);
33365
33376
  };
33366
33377
  }
33367
- function Ur(n) {
33378
+ function Yr(n) {
33368
33379
  return Object.prototype.toString.call(n).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
33369
33380
  }
33370
33381
  function UI(n) {
33371
- return Ur(n) === "boolean";
33382
+ return Yr(n) === "boolean";
33372
33383
  }
33373
33384
  function hv(n) {
33374
- return Ur(n) === "function" || Ur(n) === "asyncfunction";
33385
+ return Yr(n) === "function" || Yr(n) === "asyncfunction";
33375
33386
  }
33376
33387
  function WI(n) {
33377
33388
  return hv(n) && /^\s*class\s+/.test(n.toString());
33378
33389
  }
33379
33390
  function qI(n) {
33380
- return Ur(n) === "number";
33391
+ return Yr(n) === "number";
33381
33392
  }
33382
33393
  function Is(n) {
33383
- return Ur(n) === "object";
33394
+ return Yr(n) === "object";
33384
33395
  }
33385
33396
  function GI(n) {
33386
33397
  return Promise.resolve(n) === n;
33387
33398
  }
33388
33399
  function KI(n) {
33389
- return Ur(n) === "string";
33400
+ return Yr(n) === "string";
33390
33401
  }
33391
33402
  function XI(n) {
33392
- return Ur(n) === "undefined";
33403
+ return Yr(n) === "undefined";
33393
33404
  }
33394
33405
  function au(n, ...e) {
33395
33406
  if (!e.length)
@@ -33491,7 +33502,7 @@ const o5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33491
33502
  mouseButtons: t5,
33492
33503
  notEmpty: od,
33493
33504
  throttle: r5,
33494
- typeOf: Ur
33505
+ typeOf: Yr
33495
33506
  }, Symbol.toStringTag, { value: "Module" })), id = /* @__PURE__ */ MI(o5);
33496
33507
  Object.defineProperty(rd, "__esModule", { value: !0 });
33497
33508
  rd.containsOnlyInlineElements = a5;
@@ -33922,11 +33933,11 @@ function H5(n, e) {
33922
33933
  return w.prepend;
33923
33934
  } });
33924
33935
  })(mt);
33925
- const ln = "cdx-list", Xt = {
33926
- wrapper: ln,
33927
- item: `${ln}__item`,
33928
- itemContent: `${ln}__item-content`,
33929
- itemChildren: `${ln}__item-children`
33936
+ const un = "cdx-list", Xt = {
33937
+ wrapper: un,
33938
+ item: `${un}__item`,
33939
+ itemContent: `${un}__item-content`,
33940
+ itemChildren: `${un}__item-children`
33930
33941
  };
33931
33942
  class Wn {
33932
33943
  /**
@@ -33935,7 +33946,7 @@ class Wn {
33935
33946
  static get CSS() {
33936
33947
  return {
33937
33948
  ...Xt,
33938
- orderedList: `${ln}-ordered`
33949
+ orderedList: `${un}-ordered`
33939
33950
  };
33940
33951
  }
33941
33952
  /**
@@ -33998,7 +34009,7 @@ class qn {
33998
34009
  static get CSS() {
33999
34010
  return {
34000
34011
  ...Xt,
34001
- unorderedList: `${ln}-unordered`
34012
+ unorderedList: `${un}-unordered`
34002
34013
  };
34003
34014
  }
34004
34015
  /**
@@ -34054,7 +34065,7 @@ class qn {
34054
34065
  return {};
34055
34066
  }
34056
34067
  }
34057
- function Jr(n) {
34068
+ function Zr(n) {
34058
34069
  return n.nodeType === Node.ELEMENT_NODE;
34059
34070
  }
34060
34071
  var Bi = {}, Sd = {}, Fa = {}, Na = {};
@@ -34273,11 +34284,11 @@ class Ft {
34273
34284
  static get CSS() {
34274
34285
  return {
34275
34286
  ...Xt,
34276
- checklist: `${ln}-checklist`,
34277
- itemChecked: `${ln}__checkbox--checked`,
34278
- noHover: `${ln}__checkbox--no-hover`,
34279
- checkbox: `${ln}__checkbox-check`,
34280
- checkboxContainer: `${ln}__checkbox`
34287
+ checklist: `${un}-checklist`,
34288
+ itemChecked: `${un}__checkbox--checked`,
34289
+ noHover: `${un}__checkbox--no-hover`,
34290
+ checkbox: `${un}__checkbox-check`,
34291
+ checkboxContainer: `${un}__checkbox`
34281
34292
  };
34282
34293
  }
34283
34294
  /**
@@ -34382,12 +34393,12 @@ function s4(n) {
34382
34393
  function a4(n) {
34383
34394
  return n.querySelector(`.${Xt.itemChildren}`) !== null;
34384
34395
  }
34385
- function Ar(n) {
34396
+ function Br(n) {
34386
34397
  return n.querySelector(`.${Xt.itemChildren}`);
34387
34398
  }
34388
34399
  function Bl(n) {
34389
34400
  let e = n;
34390
- n.classList.contains(Xt.item) && (e = Ar(n)), e !== null && sr(e).length === 0 && e.remove();
34401
+ n.classList.contains(Xt.item) && (e = Br(n)), e !== null && sr(e).length === 0 && e.remove();
34391
34402
  }
34392
34403
  function Ls(n) {
34393
34404
  return n.querySelector(`.${Xt.itemContent}`);
@@ -34406,7 +34417,7 @@ class Al {
34406
34417
  if (!e)
34407
34418
  return null;
34408
34419
  let t = e.anchorNode;
34409
- return !t || (Jr(t) || (t = t.parentNode), !t) || !Jr(t) ? null : t.closest(`.${Xt.item}`);
34420
+ return !t || (Zr(t) || (t = t.parentNode), !t) || !Zr(t) ? null : t.closest(`.${Xt.item}`);
34410
34421
  }
34411
34422
  /**
34412
34423
  * Method that returns nesting level of the current item, null if there is no selection
@@ -34417,7 +34428,7 @@ class Al {
34417
34428
  return null;
34418
34429
  let t = e.parentNode, r = 0;
34419
34430
  for (; t !== null && t !== this.listWrapper; )
34420
- Jr(t) && t.classList.contains(Xt.item) && (r += 1), t = t.parentNode;
34431
+ Zr(t) && t.classList.contains(Xt.item) && (r += 1), t = t.parentNode;
34421
34432
  return r + 1;
34422
34433
  }
34423
34434
  /**
@@ -34471,7 +34482,7 @@ class Al {
34471
34482
  */
34472
34483
  save(e) {
34473
34484
  const t = e ?? this.listWrapper, r = (s) => sr(s).map((a) => {
34474
- const l = Ar(a), u = this.renderer.getItemContent(a), d = this.renderer.getItemMeta(a), c = l ? r(l) : [];
34485
+ const l = Br(a), u = this.renderer.getItemContent(a), d = this.renderer.getItemMeta(a), c = l ? r(l) : [];
34475
34486
  return {
34476
34487
  content: u,
34477
34488
  meta: d,
@@ -34514,7 +34525,7 @@ class Al {
34514
34525
  if (i.length === 0)
34515
34526
  return;
34516
34527
  const s = i[i.length - 1];
34517
- let a = Ar(s);
34528
+ let a = Br(s);
34518
34529
  const l = e.items.shift();
34519
34530
  l !== void 0 && (l.items.length !== 0 && (a === null && (a = this.renderer.renderWrapper(!1)), this.appendItems(l.items, a)), e.items.length > 0 && this.appendItems(e.items, this.listWrapper));
34520
34531
  }
@@ -34626,12 +34637,12 @@ class Al {
34626
34637
  * @param item - list item to be unshifted
34627
34638
  */
34628
34639
  unshiftItem(e) {
34629
- if (!e.parentNode || !Jr(e.parentNode))
34640
+ if (!e.parentNode || !Zr(e.parentNode))
34630
34641
  return;
34631
34642
  const t = e.parentNode.closest(`.${Xt.item}`);
34632
34643
  if (!t)
34633
34644
  return;
34634
- let r = Ar(e);
34645
+ let r = Br(e);
34635
34646
  if (e.parentElement === null)
34636
34647
  return;
34637
34648
  const o = $l(e);
@@ -34674,7 +34685,7 @@ class Al {
34674
34685
  const o = Ls(e);
34675
34686
  let i;
34676
34687
  o === null ? i = "" : i = Bi.getContenteditableSlice(o, t, r, "right", !0);
34677
- const s = Ar(e), a = this.renderItem(i);
34688
+ const s = Br(e), a = this.renderItem(i);
34678
34689
  e == null || e.after(a), s && a.appendChild(s), Co(a);
34679
34690
  }
34680
34691
  /**
@@ -34685,10 +34696,10 @@ class Al {
34685
34696
  */
34686
34697
  mergeItemWithPrevious(e) {
34687
34698
  const t = e.previousElementSibling, r = e.parentNode;
34688
- if (r === null || !Jr(r))
34699
+ if (r === null || !Zr(r))
34689
34700
  return;
34690
34701
  const o = r.closest(`.${Xt.item}`);
34691
- if (!t && !o || t && !Jr(t))
34702
+ if (!t && !o || t && !Zr(t))
34692
34703
  return;
34693
34704
  let i;
34694
34705
  if (t) {
@@ -34709,12 +34720,12 @@ class Al {
34709
34720
  e.remove(), Bl(i);
34710
34721
  return;
34711
34722
  }
34712
- const u = t || o, d = Ar(u) ?? this.renderer.renderWrapper(!1);
34723
+ const u = t || o, d = Br(u) ?? this.renderer.renderWrapper(!1);
34713
34724
  t ? l.forEach((c) => {
34714
34725
  d.appendChild(c);
34715
34726
  }) : l.forEach((c) => {
34716
34727
  d.prepend(c);
34717
- }), Ar(u) === null && i.appendChild(d), e.remove();
34728
+ }), Br(u) === null && i.appendChild(d), e.remove();
34718
34729
  }
34719
34730
  /**
34720
34731
  * Add indentation to current item
@@ -34732,9 +34743,9 @@ class Al {
34732
34743
  return;
34733
34744
  }
34734
34745
  const o = r.previousSibling;
34735
- if (o === null || !Jr(o))
34746
+ if (o === null || !Zr(o))
34736
34747
  return;
34737
- const i = Ar(o);
34748
+ const i = Br(o);
34738
34749
  if (i)
34739
34750
  i.appendChild(r), sr(r).forEach((s) => {
34740
34751
  i.appendChild(s);
@@ -34808,9 +34819,9 @@ class Al {
34808
34819
  }
34809
34820
  }
34810
34821
  const xo = {
34811
- wrapper: `${ln}-start-with-field`,
34812
- input: `${ln}-start-with-field__input`,
34813
- startWithElementWrapperInvalid: `${ln}-start-with-field--invalid`
34822
+ wrapper: `${un}-start-with-field`,
34823
+ input: `${un}-start-with-field__input`,
34824
+ startWithElementWrapperInvalid: `${un}-start-with-field--invalid`
34814
34825
  };
34815
34826
  function l4(n, { value: e, placeholder: t, attributes: r, sanitize: o }) {
34816
34827
  const i = mt.make("div", xo.wrapper), s = mt.make("input", xo.input, {
@@ -35263,7 +35274,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
35263
35274
  },
35264
35275
  placeholder: n.placeholder,
35265
35276
  onReady: async () => {
35266
- await bt(), m(), l.value = await tI({
35277
+ await vt(), m(), l.value = await tI({
35267
35278
  editor: s.value,
35268
35279
  limit: n.maxLength
35269
35280
  });
@@ -35627,7 +35638,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
35627
35638
  const e = ut(n, "isError");
35628
35639
  return (t, r) => {
35629
35640
  const o = Hv("auto-animate");
35630
- return cn((v(), S("label", {
35641
+ return dn((v(), S("label", {
35631
35642
  class: y(t.$style.root)
35632
35643
  }, [
35633
35644
  t.label ? (v(), re(p(Be), {
@@ -35647,7 +35658,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
35647
35658
  key: 1,
35648
35659
  class: y(t.$style.bottom)
35649
35660
  }, [
35650
- H(p(dn), null, {
35661
+ H(p(Qt), null, {
35651
35662
  default: P(() => [
35652
35663
  e.value && t.errorText ? (v(), re(p(Be), {
35653
35664
  key: 0,
@@ -35736,7 +35747,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
35736
35747
  se(o.$slots, "after")
35737
35748
  ]),
35738
35749
  default: P(() => [
35739
- cn(W("input", {
35750
+ dn(W("input", {
35740
35751
  type: o.type,
35741
35752
  inputmode: o.inputmode,
35742
35753
  autocomplete: o.autocomplete,
@@ -35976,7 +35987,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
35976
35987
  x === !1 && (e.value = !1);
35977
35988
  });
35978
35989
  function h(x) {
35979
- n.list.find((B) => B.id === B.id), i.value.includes(x.id) ? i.value = i.value.filter((B) => B !== x.id) : i.value.push(x.id), bt(() => {
35990
+ n.list.find((B) => B.id === B.id), i.value.includes(x.id) ? i.value = i.value.filter((B) => B !== x.id) : i.value.push(x.id), vt(() => {
35980
35991
  var B;
35981
35992
  (B = s.value) == null || B.focus();
35982
35993
  });
@@ -36044,7 +36055,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36044
36055
  }, null, 8, ["class"])
36045
36056
  ]),
36046
36057
  default: P(() => [
36047
- cn(W("input", {
36058
+ dn(W("input", {
36048
36059
  id: p(r),
36049
36060
  ref: "input",
36050
36061
  class: y(x.$style.field),
@@ -36177,7 +36188,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36177
36188
  }, null, 8, ["class"])
36178
36189
  ]),
36179
36190
  default: P(() => [
36180
- cn(W("input", {
36191
+ dn(W("input", {
36181
36192
  class: y(u.$style.field),
36182
36193
  readonly: !u.hasSearch,
36183
36194
  "onUpdate:modelValue": d[0] || (d[0] = (c) => t.value = c),
@@ -36305,7 +36316,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36305
36316
  ], 2))), 128))
36306
36317
  ]),
36307
36318
  default: P(() => [
36308
- cn(W("input", {
36319
+ dn(W("input", {
36309
36320
  class: y(l.$style.field),
36310
36321
  placeholder: l.placeholder,
36311
36322
  "onUpdate:modelValue": u[0] || (u[0] = (d) => e.value = d),
@@ -36342,7 +36353,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36342
36353
  }),
36343
36354
  emits: ["update:value"],
36344
36355
  setup(n) {
36345
- const e = ut(n, "value"), t = sn(), r = Y([]), o = Y({
36356
+ const e = ut(n, "value"), t = an(), r = Y([]), o = Y({
36346
36357
  transform: "translateX(0)",
36347
36358
  width: "0",
36348
36359
  height: "0"
@@ -36373,10 +36384,10 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36373
36384
  }
36374
36385
  function d() {
36375
36386
  const g = l(e.value);
36376
- g !== -1 && bt(() => a(g));
36387
+ g !== -1 && vt(() => a(g));
36377
36388
  }
36378
36389
  ft(() => {
36379
- bt(() => {
36390
+ vt(() => {
36380
36391
  const g = l(e.value);
36381
36392
  g !== -1 && a(g), i.value = !0;
36382
36393
  }), window.addEventListener("resize", d, { passive: !0 });
@@ -36384,7 +36395,7 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36384
36395
  window.removeEventListener("resize", d);
36385
36396
  }), Ze(e, (g) => {
36386
36397
  const M = l(g);
36387
- M !== -1 && bt(() => a(M));
36398
+ M !== -1 && vt(() => a(M));
36388
36399
  });
36389
36400
  const c = R(() => ({
36390
36401
  default: "text-common-base-primary-default",
@@ -36569,11 +36580,11 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36569
36580
  ref: "items",
36570
36581
  class: y(i.$style.items)
36571
36582
  }, [
36572
- cn(W("div", {
36583
+ dn(W("div", {
36573
36584
  class: y(i.$style.selector),
36574
36585
  style: je(o.value)
36575
36586
  }, null, 6), [
36576
- [Fr, r.value.width > 0]
36587
+ [Rr, r.value.width > 0]
36577
36588
  ]),
36578
36589
  se(i.$slots, "default")
36579
36590
  ], 2)
@@ -36637,11 +36648,11 @@ const f4 = ["id"], m4 = /* @__PURE__ */ ue({
36637
36648
  ref: "items",
36638
36649
  class: y(a.$style.items)
36639
36650
  }, [
36640
- cn(W("div", {
36651
+ dn(W("div", {
36641
36652
  class: y(a.$style.selector),
36642
36653
  style: je(o.value)
36643
36654
  }, null, 6), [
36644
- [Fr, r.value.width > 0]
36655
+ [Rr, r.value.width > 0]
36645
36656
  ]),
36646
36657
  se(a.$slots, "default"),
36647
36658
  H(p(Zo), {
@@ -36749,8 +36760,8 @@ export {
36749
36760
  eP as ToasterProvider,
36750
36761
  tp as Toggle,
36751
36762
  jB as Tooltip,
36752
- gr as TransitionFade,
36753
- dn as TransitionFadeBlur,
36763
+ lo as TransitionFade,
36764
+ Qt as TransitionFadeBlur,
36754
36765
  q6 as TransitionHeight,
36755
36766
  Z6 as TransitionSlideDown,
36756
36767
  Q6 as TransitionSlideRight,