@kong/kongponents 9.45.1 → 9.45.2-pr.2957.da143ec.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var N1 = Object.defineProperty;
2
2
  var L1 = (e, t, a) => t in e ? N1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var Ja = (e, t, a) => L1(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { defineComponent as le, renderSlot as W, reactive as Vr, ref as N, useSlots as St, createCommentVNode as H, computed as b, createBlock as J, openBlock as m, resolveDynamicComponent as He, normalizeStyle as Oe, withCtx as L, createElementBlock as $, normalizeClass as ue, createElementVNode as z, unref as D, toDisplayString as re, withKeys as ut, withModifiers as Ve, shallowRef as ng, watch as ie, getCurrentScope as rg, onScopeDispose as ig, shallowReadonly as vr, useAttrs as ta, onMounted as nt, mergeProps as Fe, toHandlers as Ll, Teleport as B1, toValue as Dn, getCurrentInstance as Pu, useId as bt, onBeforeUnmount as fn, createVNode as Q, createTextVNode as ye, Transition as Jt, withDirectives as ga, vShow as Zn, useCssVars as qt, nextTick as ct, Fragment as Ee, renderList as ze, onUnmounted as ma, isReadonly as R1, toRefs as og, watchEffect as Nu, useTemplateRef as ht, createSlots as $t, isVNode as lg, normalizeProps as ia, warn as F1, inject as Li, toRef as Yo, provide as Bi, guardReactiveProps as Ma, isRef as Cr, resolveComponent as Ht, resolveDirective as z1, mergeModels as Js, useModel as _s, vModelText as eu, Comment as Y1, cloneVNode as H1, onBeforeMount as q1, TransitionGroup as W1, render as Hc, h as ds, createPropsRestProxy as sg } from "vue";
4
+ import { defineComponent as le, renderSlot as W, reactive as Vr, ref as N, useSlots as St, createCommentVNode as H, computed as b, createBlock as J, openBlock as m, resolveDynamicComponent as He, normalizeStyle as Oe, withCtx as L, createElementBlock as $, normalizeClass as ue, createElementVNode as z, unref as D, toDisplayString as re, withKeys as ut, withModifiers as Ve, shallowRef as ng, watch as ie, getCurrentScope as rg, onScopeDispose as ig, shallowReadonly as vr, useAttrs as ta, onMounted as nt, mergeProps as Fe, toHandlers as Ll, Teleport as B1, toValue as Dn, getCurrentInstance as Pu, useId as bt, onBeforeUnmount as fn, createVNode as Q, createTextVNode as ye, Transition as Jt, withDirectives as ga, vShow as Zn, useCssVars as qt, nextTick as vt, Fragment as Ee, renderList as ze, onUnmounted as ma, isReadonly as R1, toRefs as og, watchEffect as Nu, useTemplateRef as ht, createSlots as $t, isVNode as lg, normalizeProps as ia, warn as F1, inject as Li, toRef as Yo, provide as Bi, guardReactiveProps as Ma, isRef as Cr, resolveComponent as Ht, resolveDirective as z1, mergeModels as Js, useModel as _s, vModelText as eu, Comment as Y1, cloneVNode as H1, onBeforeMount as q1, TransitionGroup as W1, render as Hc, h as ds, createPropsRestProxy as sg } from "vue";
5
5
  async function ug(e) {
6
6
  var n, r;
7
7
  if (navigator.clipboard)
@@ -4320,7 +4320,7 @@ const pb = async (e, t, a) => {
4320
4320
  x: p,
4321
4321
  y: w,
4322
4322
  data: k,
4323
- reset: x
4323
+ reset: S
4324
4324
  } = await g({
4325
4325
  x: c,
4326
4326
  y: f,
@@ -4341,11 +4341,11 @@ const pb = async (e, t, a) => {
4341
4341
  ...v[h],
4342
4342
  ...k
4343
4343
  }
4344
- }, x && y <= 50 && (y++, typeof x == "object" && (x.placement && (d = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
4344
+ }, S && y <= 50 && (y++, typeof S == "object" && (S.placement && (d = S.placement), S.rects && (l = S.rects === !0 ? await o.getElementRects({
4345
4345
  reference: e,
4346
4346
  floating: t,
4347
4347
  strategy: r
4348
- }) : x.rects), {
4348
+ }) : S.rects), {
4349
4349
  x: c,
4350
4350
  y: f
4351
4351
  } = Ad(l, d, s)), C = -1);
@@ -4390,17 +4390,17 @@ async function Yu(e, t) {
4390
4390
  } : {
4391
4391
  x: 1,
4392
4392
  y: 1
4393
- }, x = il(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
4393
+ }, S = il(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
4394
4394
  elements: u,
4395
4395
  rect: p,
4396
4396
  offsetParent: w,
4397
4397
  strategy: s
4398
4398
  }) : p);
4399
4399
  return {
4400
- top: (g.top - x.top + y.top) / k.y,
4401
- bottom: (x.bottom - g.bottom + y.bottom) / k.y,
4402
- left: (g.left - x.left + y.left) / k.x,
4403
- right: (x.right - g.right + y.right) / k.x
4400
+ top: (g.top - S.top + y.top) / k.y,
4401
+ bottom: (S.bottom - g.bottom + y.bottom) / k.y,
4402
+ left: (g.left - S.left + y.left) / k.x,
4403
+ right: (S.right - g.right + y.right) / k.x
4404
4404
  };
4405
4405
  }
4406
4406
  function yb(e, t, a) {
@@ -4434,7 +4434,7 @@ const bb = function(e) {
4434
4434
  placement: C[0]
4435
4435
  }
4436
4436
  };
4437
- const k = [h[En(p)], h[w[0]], h[w[1]]], x = [...((n = o.autoPlacement) == null ? void 0 : n.overflows) || [], {
4437
+ const k = [h[En(p)], h[w[0]], h[w[1]]], S = [...((n = o.autoPlacement) == null ? void 0 : n.overflows) || [], {
4438
4438
  placement: p,
4439
4439
  overflows: k
4440
4440
  }], T = C[g + 1];
@@ -4442,17 +4442,17 @@ const bb = function(e) {
4442
4442
  return {
4443
4443
  data: {
4444
4444
  index: g + 1,
4445
- overflows: x
4445
+ overflows: S
4446
4446
  },
4447
4447
  reset: {
4448
4448
  placement: T
4449
4449
  }
4450
4450
  };
4451
- const A = x.map((O) => {
4451
+ const A = S.map((O) => {
4452
4452
  const Y = An(O.placement);
4453
4453
  return [O.placement, Y && c ? (
4454
4454
  // Check along the mainAxis and main crossAxis side.
4455
- O.overflows.slice(0, 2).reduce((Z, S) => Z + S, 0)
4455
+ O.overflows.slice(0, 2).reduce((Z, x) => Z + x, 0)
4456
4456
  ) : (
4457
4457
  // Check only the mainAxis.
4458
4458
  O.overflows[0]
@@ -4466,7 +4466,7 @@ const bb = function(e) {
4466
4466
  return X !== u ? {
4467
4467
  data: {
4468
4468
  index: g + 1,
4469
- overflows: x
4469
+ overflows: S
4470
4470
  },
4471
4471
  reset: {
4472
4472
  placement: X
@@ -4498,9 +4498,9 @@ const bb = function(e) {
4498
4498
  } = Yl(e, t);
4499
4499
  if ((a = i.arrow) != null && a.alignmentOffset)
4500
4500
  return {};
4501
- const g = En(r), p = Kn(u), w = En(u) === u, k = await (s.isRTL == null ? void 0 : s.isRTL(l.floating)), x = d || (w || !C ? [rl(u)] : cb(u)), T = y !== "none";
4502
- !d && T && x.push(...hb(u, C, y, k));
4503
- const A = [u, ...x], R = await Yu(t, h), X = [];
4501
+ const g = En(r), p = Kn(u), w = En(u) === u, k = await (s.isRTL == null ? void 0 : s.isRTL(l.floating)), S = d || (w || !C ? [rl(u)] : cb(u)), T = y !== "none";
4502
+ !d && T && S.push(...hb(u, C, y, k));
4503
+ const A = [u, ...S], R = await Yu(t, h), X = [];
4504
4504
  let O = ((n = i.flip) == null ? void 0 : n.overflows) || [];
4505
4505
  if (c && X.push(R[g]), f) {
4506
4506
  const E = Dg(r, o, k);
@@ -4528,8 +4528,8 @@ const bb = function(e) {
4528
4528
  if (!P)
4529
4529
  switch (v) {
4530
4530
  case "bestFit": {
4531
- var S;
4532
- const F = (S = O.filter((U) => {
4531
+ var x;
4532
+ const F = (x = O.filter((U) => {
4533
4533
  if (T) {
4534
4534
  const te = Kn(U.placement);
4535
4535
  return te === p || // Create a bias to the `y` side axis due to horizontal
@@ -4537,7 +4537,7 @@ const bb = function(e) {
4537
4537
  te === "y";
4538
4538
  }
4539
4539
  return !0;
4540
- }).map((U) => [U.placement, U.overflows.filter((te) => te > 0).reduce((te, q) => te + q, 0)]).sort((U, te) => U[1] - te[1])[0]) == null ? void 0 : S[0];
4540
+ }).map((U) => [U.placement, U.overflows.filter((te) => te > 0).reduce((te, q) => te + q, 0)]).sort((U, te) => U[1] - te[1])[0]) == null ? void 0 : x[0];
4541
4541
  F && (P = F);
4542
4542
  break;
4543
4543
  }
@@ -5039,7 +5039,7 @@ function Vb(e, t) {
5039
5039
  threshold: Gn(0, tl(1, s)) || 1
5040
5040
  };
5041
5041
  let k = !0;
5042
- function x(T) {
5042
+ function S(T) {
5043
5043
  const A = T[0].intersectionRatio;
5044
5044
  if (A !== s) {
5045
5045
  if (!k)
@@ -5051,13 +5051,13 @@ function Vb(e, t) {
5051
5051
  A === 1 && !Ng(l, e.getBoundingClientRect()) && o(), k = !1;
5052
5052
  }
5053
5053
  try {
5054
- a = new IntersectionObserver(x, {
5054
+ a = new IntersectionObserver(S, {
5055
5055
  ...w,
5056
5056
  // Handle <iframe>s
5057
5057
  root: r.ownerDocument
5058
5058
  });
5059
5059
  } catch {
5060
- a = new IntersectionObserver(x, w);
5060
+ a = new IntersectionObserver(S, w);
5061
5061
  }
5062
5062
  a.observe(e);
5063
5063
  }
@@ -5183,7 +5183,7 @@ function _b(e, t, a) {
5183
5183
  function k() {
5184
5184
  typeof p == "function" && (p(), p = void 0);
5185
5185
  }
5186
- function x() {
5186
+ function S() {
5187
5187
  if (k(), n === void 0) {
5188
5188
  w();
5189
5189
  return;
@@ -5198,7 +5198,7 @@ function _b(e, t, a) {
5198
5198
  }
5199
5199
  return ie([i, o, u, r], w, {
5200
5200
  flush: "sync"
5201
- }), ie([l, c], x, {
5201
+ }), ie([l, c], S, {
5202
5202
  flush: "sync"
5203
5203
  }), ie(r, T, {
5204
5204
  flush: "sync"
@@ -5521,11 +5521,11 @@ const It = (e) => {
5521
5521
  return;
5522
5522
  const I = E.target, P = (U = u.value) == null ? void 0 : U.contains(I), F = (te = s.value) == null ? void 0 : te.contains(I);
5523
5523
  P || F || g();
5524
- }, x = b(() => e.placement.trim().replace(/ /g, "-").replace(/[A-Z]+(?![a-z])|[A-Z]/g, (E, I) => (I ? "-" : "") + E.toLowerCase()).replace(/--+/g, "-").replace(/-+$/g, "")), { floatingStyles: T, placement: A, update: R } = _b(c, s, {
5525
- ...x.value === "auto" && { middleware: [Gb()] },
5524
+ }, S = b(() => e.placement.trim().replace(/ /g, "-").replace(/[A-Z]+(?![a-z])|[A-Z]/g, (E, I) => (I ? "-" : "") + E.toLowerCase()).replace(/--+/g, "-").replace(/-+$/g, "")), { floatingStyles: T, placement: A, update: R } = _b(c, s, {
5525
+ ...S.value === "auto" && { middleware: [Gb()] },
5526
5526
  // when placement is auto just use autoPlacement middleware
5527
- ...x.value !== "auto" && {
5528
- placement: x.value,
5527
+ ...S.value !== "auto" && {
5528
+ placement: S.value,
5529
5529
  middleware: [
5530
5530
  Qb(),
5531
5531
  // Shifts the floating element to keep it in view.
@@ -5551,7 +5551,7 @@ const It = (e) => {
5551
5551
  width: It(e.width),
5552
5552
  maxWidth: It(e.maxWidth),
5553
5553
  maxHeight: It(e.maxHeight)
5554
- })), S = b(() => [e.popoverClasses, { "hide-caret": e.hideCaret }]);
5554
+ })), x = b(() => [e.popoverClasses, { "hide-caret": e.hideCaret }]);
5555
5555
  return t({
5556
5556
  hidePopover: g,
5557
5557
  showPopover: h
@@ -5602,7 +5602,7 @@ const It = (e) => {
5602
5602
  ref_key: "popoverElement",
5603
5603
  ref: s,
5604
5604
  "aria-labelledby": r.title || e.title ? D(o) : void 0,
5605
- class: ["popover", S.value],
5605
+ class: ["popover", x.value],
5606
5606
  role: "dialog",
5607
5607
  style: Y.value,
5608
5608
  "x-placement": D(A),
@@ -5723,7 +5723,7 @@ const It = (e) => {
5723
5723
  }));
5724
5724
  const t = b(() => Object.keys(fg).includes(e.appearance)), a = N(), n = N(!1), r = b(() => It(e.maxWidth)), i = async () => {
5725
5725
  var u, s;
5726
- a.value && (await ct(), n.value = ((u = a.value) == null ? void 0 : u.offsetWidth) < ((s = a.value) == null ? void 0 : s.scrollWidth));
5726
+ a.value && (await vt(), n.value = ((u = a.value) == null ? void 0 : u.offsetWidth) < ((s = a.value) == null ? void 0 : s.scrollWidth));
5727
5727
  }, o = b(() => e.tooltip ? e.truncationTooltip ? n.value : !0 : !1);
5728
5728
  return nt(() => {
5729
5729
  i();
@@ -6126,11 +6126,11 @@ function q0() {
6126
6126
  }));
6127
6127
  var y = function(p, w) {
6128
6128
  return kr(e, void 0, void 0, function() {
6129
- var k, x, T, A, R, X, O, Y = this;
6129
+ var k, S, T, A, R, X, O, Y = this;
6130
6130
  return $r(this, function(Z) {
6131
6131
  switch (Z.label) {
6132
6132
  case 0:
6133
- return k = v.data === void 0, x = d.value, x ? (T = i.cache.get(x), A = T && T.data, v.isValidating = !0, v.isLoading = !A, A && (v.data = A.data, v.error = A.error), R = p || r, !R || !i.isDocumentVisible() && !k || (w == null ? void 0 : w.forceRevalidate) !== void 0 && !(w != null && w.forceRevalidate) ? (v.isValidating = !1, v.isLoading = !1, [
6133
+ return k = v.data === void 0, S = d.value, S ? (T = i.cache.get(S), A = T && T.data, v.isValidating = !0, v.isLoading = !A, A && (v.data = A.data, v.error = A.error), R = p || r, !R || !i.isDocumentVisible() && !k || (w == null ? void 0 : w.forceRevalidate) !== void 0 && !(w != null && w.forceRevalidate) ? (v.isValidating = !1, v.isLoading = !1, [
6134
6134
  2
6135
6135
  /*return*/
6136
6136
  ]) : T && (X = !!(Date.now() - T.createdAt >= i.dedupingInterval || w != null && w.forceRevalidate), !X) ? (v.isValidating = !1, v.isLoading = !1, [
@@ -6138,19 +6138,19 @@ function q0() {
6138
6138
  /*return*/
6139
6139
  ]) : (O = function() {
6140
6140
  return kr(Y, void 0, void 0, function() {
6141
- var S, E, I, P;
6141
+ var x, E, I, P;
6142
6142
  return $r(this, function(F) {
6143
6143
  switch (F.label) {
6144
6144
  case 0:
6145
- return S = ms.get(x), S ? [3, 2] : (E = Array.isArray(x) ? x : [x], I = R.apply(void 0, z0([], F0(E), !1)), ms.set(x, I, i.dedupingInterval), [4, Rd(x, I, i.cache, f)]);
6145
+ return x = ms.get(S), x ? [3, 2] : (E = Array.isArray(S) ? S : [S], I = R.apply(void 0, z0([], F0(E), !1)), ms.set(S, I, i.dedupingInterval), [4, Rd(S, I, i.cache, f)]);
6146
6146
  case 1:
6147
6147
  return F.sent(), [3, 4];
6148
6148
  case 2:
6149
- return [4, Rd(x, S.data, i.cache, f)];
6149
+ return [4, Rd(S, x.data, i.cache, f)];
6150
6150
  case 3:
6151
6151
  F.sent(), F.label = 4;
6152
6152
  case 4:
6153
- return v.isValidating = !1, v.isLoading = !1, ms.delete(x), v.error !== void 0 && (P = !o && i.shouldRetryOnError && (w ? w.shouldRetryOnError : !0), P && H0(y, w ? w.errorRetryCount : 1, i)), [
6153
+ return v.isValidating = !1, v.isLoading = !1, ms.delete(S), v.error !== void 0 && (P = !o && i.shouldRetryOnError && (w ? w.shouldRetryOnError : !0), P && H0(y, w ? w.errorRetryCount : 1, i)), [
6154
6154
  2
6155
6155
  /*return*/
6156
6156
  ];
@@ -6159,12 +6159,12 @@ function q0() {
6159
6159
  });
6160
6160
  }, A && i.revalidateDebounce ? (setTimeout(function() {
6161
6161
  return kr(Y, void 0, void 0, function() {
6162
- return $r(this, function(S) {
6163
- switch (S.label) {
6162
+ return $r(this, function(x) {
6163
+ switch (x.label) {
6164
6164
  case 0:
6165
6165
  return o ? [3, 2] : [4, O()];
6166
6166
  case 1:
6167
- S.sent(), S.label = 2;
6167
+ x.sent(), x.label = 2;
6168
6168
  case 2:
6169
6169
  return [
6170
6170
  2
@@ -7080,7 +7080,7 @@ const N2 = {
7080
7080
  key: `size-${te}`,
7081
7081
  value: U,
7082
7082
  selected: U === u.value
7083
- })), c = b(() => `${u.value} ${u.value === 1 ? "item per page" : " items per page"}`), f = N(e.neighbors), d = N(3), v = async () => (await ct(), r.value ? r.value.scrollWidth > r.value.clientWidth : !1), y = async () => {
7083
+ })), c = b(() => `${u.value} ${u.value === 1 ? "item per page" : " items per page"}`), f = N(e.neighbors), d = N(3), v = async () => (await vt(), r.value ? r.value.scrollWidth > r.value.clientWidth : !1), y = async () => {
7084
7084
  await v() && (f.value > 1 || d.value > 1) && (f.value > 1 ? f.value-- : d.value > 1 && d.value--, O.value = C(o.value, s.value, R.value, X.value));
7085
7085
  }, C = (U, te, q, ce) => {
7086
7086
  if (e.disablePageJump)
@@ -7093,7 +7093,7 @@ const N2 = {
7093
7093
  }, h = N(o.value === 1), g = N(o.value === s.value), p = b(() => (o.value - 1) * u.value + 1), w = b(() => {
7094
7094
  const U = p.value - 1 + u.value;
7095
7095
  return U > e.totalCount ? e.totalCount : U;
7096
- }), k = b(() => `${p.value} to ${w.value}`), x = b(() => ` of ${e.totalCount}`), T = b(() => e.currentPage ? e.currentPage : o.value), A = b(() => 5 + 2 * f.value), R = N(T.value >= f.value + (d.value + 1) && s.value > A.value), X = N(s.value > d.value + 2 + 2 * f.value), O = N(C(
7096
+ }), k = b(() => `${p.value} to ${w.value}`), S = b(() => ` of ${e.totalCount}`), T = b(() => e.currentPage ? e.currentPage : o.value), A = b(() => 5 + 2 * f.value), R = N(T.value >= f.value + (d.value + 1) && s.value > A.value), X = N(s.value > d.value + 2 + 2 * f.value), O = N(C(
7097
7097
  T.value,
7098
7098
  s.value,
7099
7099
  R.value,
@@ -7102,7 +7102,7 @@ const N2 = {
7102
7102
  o.value++, E();
7103
7103
  }, Z = () => {
7104
7104
  o.value--, E();
7105
- }, S = (U) => {
7105
+ }, x = (U) => {
7106
7106
  o.value = U, E();
7107
7107
  }, E = () => {
7108
7108
  const U = (o.value - 1) * u.value + u.value;
@@ -7117,14 +7117,14 @@ const N2 = {
7117
7117
  u.value !== U.value && (u.value = U.value, n("pageSizeChange", {
7118
7118
  pageSize: u.value,
7119
7119
  pageCount: s.value
7120
- }), e.currentPage !== 1 && S(1));
7120
+ }), e.currentPage !== 1 && x(1));
7121
7121
  }, P = () => {
7122
7122
  n("getNextOffset");
7123
7123
  }, F = () => {
7124
7124
  n("getPreviousOffset");
7125
7125
  };
7126
7126
  return ie(() => e.currentPage, (U, te) => {
7127
- U !== te && U && S(U);
7127
+ U !== te && U && x(U);
7128
7128
  }), ie(s, (U, te) => {
7129
7129
  U !== te && (g.value = o.value === U, X.value = U > d.value + 2 + 2 * f.value, O.value = C(
7130
7130
  T.value,
@@ -7154,7 +7154,7 @@ const N2 = {
7154
7154
  }, null, 8, ["next-button-disabled", "previous-button-disabled"])) : (m(), $(Ee, { key: 0 }, [
7155
7155
  z("span", N2, [
7156
7156
  z("span", L2, re(k.value), 1),
7157
- ye(" " + re(x.value), 1)
7157
+ ye(" " + re(S.value), 1)
7158
7158
  ]),
7159
7159
  z("ul", B2, [
7160
7160
  z("li", null, [
@@ -7184,7 +7184,7 @@ const N2 = {
7184
7184
  class: "pagination-button",
7185
7185
  "data-testid": "page-1-button",
7186
7186
  type: "button",
7187
- onClick: te[0] || (te[0] = (q) => S(1))
7187
+ onClick: te[0] || (te[0] = (q) => x(1))
7188
7188
  }, " 1 ")
7189
7189
  ])) : H("", !0),
7190
7190
  !e.disablePageJump && R.value ? (m(), $("li", F2, " ... ")) : H("", !0),
@@ -7195,7 +7195,7 @@ const N2 = {
7195
7195
  class: ue(["pagination-button", { active: q == T.value }]),
7196
7196
  "data-testid": `page-${q}-button`,
7197
7197
  type: "button",
7198
- onClick: (ce) => S(q)
7198
+ onClick: (ce) => x(q)
7199
7199
  }, re(q), 11, z2)
7200
7200
  ]))), 128)),
7201
7201
  !e.disablePageJump && X.value ? (m(), $("li", Y2, " ... ")) : H("", !0),
@@ -7205,7 +7205,7 @@ const N2 = {
7205
7205
  class: "pagination-button",
7206
7206
  "data-testid": "last-button",
7207
7207
  type: "button",
7208
- onClick: te[1] || (te[1] = (q) => S(s.value))
7208
+ onClick: te[1] || (te[1] = (q) => x(s.value))
7209
7209
  }, re(s.value), 1)
7210
7210
  ])) : H("", !0),
7211
7211
  z("li", null, [
@@ -7234,7 +7234,7 @@ const N2 = {
7234
7234
  z("div", q2, [
7235
7235
  !e.disablePageJump && !e.offset ? (m(), $("span", W2, [
7236
7236
  z("span", U2, re(k.value), 1),
7237
- ye(" " + re(x.value), 1)
7237
+ ye(" " + re(S.value), 1)
7238
7238
  ])) : H("", !0),
7239
7239
  Q(Rr, {
7240
7240
  class: "page-size-dropdown",
@@ -7362,7 +7362,7 @@ const N2 = {
7362
7362
  var me;
7363
7363
  const pe = (me = e.paginationPageSizes) == null ? void 0 : me[0];
7364
7364
  return pe || Fd;
7365
- }, l = N([]), c = N(0), f = N(""), d = N(1), v = N(s()), y = N(null), C = N([]), h = b(() => C.value[d.value - 1]), g = N(null), p = N(!0), w = N(!1), k = b(() => !!o.toolbar), x = {
7365
+ }, l = N([]), c = N(0), f = N(""), d = N(1), v = N(s()), y = N(null), C = N([]), h = b(() => C.value[d.value - 1]), g = N(null), p = N(!0), w = N(!1), k = b(() => !!o.toolbar), S = {
7366
7366
  page: 1,
7367
7367
  pageSize: v.value,
7368
7368
  query: "",
@@ -7382,17 +7382,17 @@ const N2 = {
7382
7382
  return l.value = pe.data, c.value = e.paginationTotalItems || pe.total || ((me = pe.data) == null ? void 0 : me.length), e.paginationOffset && ((ge = pe.pagination) != null && ge.offset ? (g.value = pe.pagination.offset, C.value[d.value] || C.value.push(pe.pagination.offset)) : g.value = null, p.value = pe.pagination && "hasNextPage" in pe.pagination ? !!pe.pagination.hasNextPage : !0), l.value.length === 0 && d.value > 1 && (d.value = 1, C.value = [null], y.value = null), X.value = !1, pe;
7383
7383
  }, Y = () => {
7384
7384
  const pe = {
7385
- ...x,
7385
+ ...S,
7386
7386
  ...e.initialFetcherParams
7387
7387
  };
7388
- d.value = pe.page ?? x.page, v.value = pe.pageSize ?? x.pageSize, f.value = pe.query ?? x.query, e.paginationOffset && (y.value = pe.offset, C.value.push(pe.offset)), w.value = !0;
7388
+ d.value = pe.page ?? S.page, v.value = pe.pageSize ?? S.pageSize, f.value = pe.query ?? S.query, e.paginationOffset && (y.value = pe.offset, C.value.push(pe.offset)), w.value = !0;
7389
7389
  }, Z = b(() => {
7390
7390
  if (!e.fetcher || !w.value)
7391
7391
  return "";
7392
7392
  let pe = u;
7393
7393
  return e.cacheIdentifier && (pe = e.cacheIdentifier), e.fetcherCacheKey && (pe += `-${e.fetcherCacheKey}`), `k-catalog_${pe}`;
7394
- }), S = N(""), { debouncedFn: E, generateDebouncedFn: I } = n((pe) => {
7395
- S.value = pe;
7394
+ }), x = N(""), { debouncedFn: E, generateDebouncedFn: I } = n((pe) => {
7395
+ x.value = pe;
7396
7396
  }, 350), P = I(0), { data: F, error: U, revalidate: te, isValidating: q } = a(
7397
7397
  () => Z.value,
7398
7398
  () => O(),
@@ -7441,7 +7441,7 @@ const N2 = {
7441
7441
  d.value !== 1 && (d.value = 1), pe === "" ? P(pe) : E(pe);
7442
7442
  }, { immediate: !0 });
7443
7443
  const et = N(!1);
7444
- return ie([S, d, v], async (pe, me) => {
7444
+ return ie([x, d, v], async (pe, me) => {
7445
7445
  const ge = me == null ? void 0 : me[0], K = pe[0], xe = pe[1];
7446
7446
  K !== ge && xe !== 1 && (d.value = 1, C.value = [null], y.value = null), w.value && !X.value && (et.value = !0, await te(), et.value = !1);
7447
7447
  }, { deep: !0, immediate: !0 }), ie(R, (pe) => {
@@ -7763,7 +7763,7 @@ const N2 = {
7763
7763
  return e.i = a ? -1 : Or(t - 1, e.i), e.l = t, n > 0 ? (sl(e.u, n), sl(e.t, n, a), e.o * n) : (e.u.splice(n), (a ? e.t.splice(0, -n) : e.t.splice(n)).reduce(((r, i) => r - (i === -1 ? e.o : i)), 0));
7764
7764
  }, sw = typeof window < "u", Wg = () => document.documentElement, uw = (e) => e.ownerDocument, cw = (e) => e.defaultView, Ug = /* @__PURE__ */ Gu((() => !!sw && getComputedStyle(Wg()).direction === "rtl")), Kg = /* @__PURE__ */ Gu((() => !!/iP(hone|od|ad)/.test(navigator.userAgent) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 0)), dw = /* @__PURE__ */ Gu((() => "scrollBehavior" in Wg().style)), fw = (e, t = 40, a = 4, n = 0, r, i = !1) => {
7765
7765
  let o = !!n, u = 1, s = 0, l = 0, c = 0, f = 0, d = 0, v = 0, y = 0, C = 0, h = o ? [0, tn(n - 1, 0)] : Mr, g = [0, 0], p = 0;
7766
- const w = ((S, E) => ({ o: E, t: sl([], S), l: S, i: -1, u: sl([], S) }))(e, t), k = /* @__PURE__ */ new Set(), x = () => c - l, T = () => x() + d + f, A = (S) => ((E, I, P, F) => {
7766
+ const w = ((x, E) => ({ o: E, t: sl([], x), l: x, i: -1, u: sl([], x) }))(e, t), k = /* @__PURE__ */ new Set(), S = () => c - l, T = () => S() + d + f, A = (x) => ((E, I, P, F) => {
7767
7767
  if (F = Or(F, E.l - 1), Ho(E, F) <= I) {
7768
7768
  const U = Fn(E, I + P, F);
7769
7769
  return [Fn(E, I, F, U), U];
@@ -7772,26 +7772,26 @@ const N2 = {
7772
7772
  const U = Fn(E, I, void 0, F);
7773
7773
  return [U, Fn(E, I + P, U)];
7774
7774
  }
7775
- })(w, S, s, g[0]), R = () => ((S) => S.l ? Ho(S, S.l - 1) + ul(S, S.l - 1) : 0)(w), X = (S) => Ho(w, S) - d, O = (S) => ul(w, S), Y = (S, E = -1) => w.t[S] === E, Z = (S) => {
7776
- S && (Kg() && y !== 0 || h && C === 1 ? d += S : f += S);
7775
+ })(w, x, s, g[0]), R = () => ((x) => x.l ? Ho(x, x.l - 1) + ul(x, x.l - 1) : 0)(w), X = (x) => Ho(w, x) - d, O = (x) => ul(w, x), Y = (x, E = -1) => w.t[x] === E, Z = (x) => {
7776
+ x && (Kg() && y !== 0 || h && C === 1 ? d += x : f += x);
7777
7777
  };
7778
- return { p: () => u, m: () => ((S) => [S.t.slice(), S.o])(w), h: () => {
7779
- let S, E;
7780
- return v ? [S, E] = g : ([S, E] = g = A(tn(0, T())), h && (S = Or(S, h[0]), E = tn(E, h[1]))), y !== 1 && (S -= tn(0, a)), y !== 2 && (E += tn(0, a)), [tn(S, 0), Or(E, w.l - 1)];
7781
- }, v: () => Fn(w, T()), S: () => Fn(w, T() + s), I: Y, k: X, O, j: () => w.l, T: () => c, q: () => y !== 0, B: () => s, M: () => l, N: R, P: () => (v = f, f = 0, [v, C === 2]), R: (S, E) => {
7782
- const I = [S, E];
7778
+ return { p: () => u, m: () => ((x) => [x.t.slice(), x.o])(w), h: () => {
7779
+ let x, E;
7780
+ return v ? [x, E] = g : ([x, E] = g = A(tn(0, T())), h && (x = Or(x, h[0]), E = tn(E, h[1]))), y !== 1 && (x -= tn(0, a)), y !== 2 && (E += tn(0, a)), [tn(x, 0), Or(E, w.l - 1)];
7781
+ }, v: () => Fn(w, T()), S: () => Fn(w, T() + s), I: Y, k: X, O, j: () => w.l, T: () => c, q: () => y !== 0, B: () => s, M: () => l, N: R, P: () => (v = f, f = 0, [v, C === 2]), R: (x, E) => {
7782
+ const I = [x, E];
7783
7783
  return k.add(I), () => {
7784
7784
  k.delete(I);
7785
7785
  };
7786
- }, A: (S, E) => {
7786
+ }, A: (x, E) => {
7787
7787
  let I, P, F = 0;
7788
- switch (S) {
7788
+ switch (x) {
7789
7789
  case 1: {
7790
7790
  const U = v;
7791
7791
  v = 0;
7792
7792
  const te = E - c, q = zd(te);
7793
7793
  U && q < zd(U) + 1 || C !== 0 || (y = te < 0 ? 2 : 1), o && (h = Mr, o = !1), c = E, F = 4;
7794
- const ce = x();
7794
+ const ce = S();
7795
7795
  ce >= -s && ce <= R() && (F += 1, P = q > s);
7796
7796
  break;
7797
7797
  }
@@ -7801,7 +7801,7 @@ const N2 = {
7801
7801
  case 3: {
7802
7802
  const U = E.filter((([te, q]) => !Y(te, q)));
7803
7803
  if (!U.length) break;
7804
- Z(U.reduce(((te, [q, ce]) => ((C === 2 || (h && C === 1 ? q < h[0] : X(q) + (y === 0 && C === 0 ? O(q) : 0) < x())) && (te += ce - O(q)), te)), 0));
7804
+ Z(U.reduce(((te, [q, ce]) => ((C === 2 || (h && C === 1 ? q < h[0] : X(q) + (y === 0 && C === 0 ? O(q) : 0) < S())) && (te += ce - O(q)), te)), 0));
7805
7805
  for (const [te, q] of U) {
7806
7806
  const ce = O(te), ve = lw(w, te, q);
7807
7807
  i && (p += ve ? q : q - ce);
@@ -7936,42 +7936,42 @@ const N2 = {
7936
7936
  let r = !!e.ssrCount;
7937
7937
  const i = e.horizontal, o = N(), u = fw(e.data.length, e.itemSize, e.overscan, e.ssrCount, 0, !e.itemSize), s = ((g, p) => {
7938
7938
  let w;
7939
- const k = p ? "width" : "height", x = /* @__PURE__ */ new WeakMap(), T = gw(((A) => {
7939
+ const k = p ? "width" : "height", S = /* @__PURE__ */ new WeakMap(), T = gw(((A) => {
7940
7940
  const R = [];
7941
7941
  for (const { target: X, contentRect: O } of A) if (X.offsetParent) if (X === w) g.A(4, O[k]);
7942
7942
  else {
7943
- const Y = x.get(X);
7943
+ const Y = S.get(X);
7944
7944
  Y != Mr && R.push([Y, O[k]]);
7945
7945
  }
7946
7946
  R.length && g.A(3, R);
7947
7947
  }));
7948
7948
  return { ee(A) {
7949
7949
  T.F(w = A);
7950
- }, te: (A, R) => (x.set(A, R), T.F(A), () => {
7951
- x.delete(A), T.J(A);
7950
+ }, te: (A, R) => (S.set(A, R), T.F(A), () => {
7951
+ S.delete(A), T.J(A);
7952
7952
  }), oe: T.V };
7953
7953
  })(u, i), l = ((g, p) => {
7954
- let w, k, x = nu();
7955
- const T = p ? "scrollLeft" : "scrollTop", A = p ? "overflowX" : "overflowY", [R, X] = hw(g, (() => x[0]), ((O, Y) => {
7954
+ let w, k, S = nu();
7955
+ const T = p ? "scrollLeft" : "scrollTop", A = p ? "overflowX" : "overflowY", [R, X] = hw(g, (() => S[0]), ((O, Y) => {
7956
7956
  O = ru(O, p), Y ? w.scrollTo({ [p ? "left" : "top"]: O, behavior: "smooth" }) : w[T] = O;
7957
7957
  }));
7958
7958
  return { re(O) {
7959
- w = O, k = vw(g, O, p, (() => ru(O[T], p)), ((Y, Z, S) => {
7960
- if (S) {
7959
+ w = O, k = vw(g, O, p, (() => ru(O[T], p)), ((Y, Z, x) => {
7960
+ if (x) {
7961
7961
  const E = O.style, I = E[A];
7962
7962
  E[A] = "hidden", Qu((() => {
7963
7963
  E[A] = I;
7964
7964
  }));
7965
7965
  }
7966
7966
  O[T] = g.T() + Y, Z && X();
7967
- })), x[1](!0);
7967
+ })), S[1](!0);
7968
7968
  }, oe() {
7969
- k && k.V(), x[1](!1), x = nu();
7969
+ k && k.V(), S[1](!1), S = nu();
7970
7970
  }, ne(O) {
7971
7971
  R((() => O));
7972
7972
  }, se(O) {
7973
7973
  O += g.T(), R((() => O));
7974
- }, ie(O, { align: Y, smooth: Z, offset: S = 0 } = {}) {
7974
+ }, ie(O, { align: Y, smooth: Z, offset: x = 0 } = {}) {
7975
7975
  if (O = Hg(O, 0, g.j() - 1), Y === "nearest") {
7976
7976
  const E = g.k(O), I = g.T();
7977
7977
  if (E < I) Y = "start";
@@ -7980,7 +7980,7 @@ const N2 = {
7980
7980
  Y = "end";
7981
7981
  }
7982
7982
  }
7983
- R((() => S + g.M() + g.k(O) + (Y === "end" ? g.O(O) - g.B() : Y === "center" ? (g.O(O) - g.B()) / 2 : 0)), Z);
7983
+ R((() => x + g.M() + g.k(O) + (Y === "end" ? g.O(O) - g.B() : Y === "center" ? (g.O(O) - g.B()) / 2 : 0)), Z);
7984
7984
  }, le: () => {
7985
7985
  k && k.C();
7986
7986
  } };
@@ -8021,7 +8021,7 @@ const N2 = {
8021
8021
  }, get viewportSize() {
8022
8022
  return u.B();
8023
8023
  }, findStartIndex: u.v, findEndIndex: u.S, getItemOffset: u.k, getItemSize: u.O, scrollToIndex: l.ie, scrollTo: l.ne, scrollBy: l.se }), () => {
8024
- const g = e.as, p = e.item, w = h.value, k = [], x = (A) => {
8024
+ const g = e.as, p = e.item, w = h.value, k = [], S = (A) => {
8025
8025
  var R;
8026
8026
  const X = n.default({ item: e.data[A], index: A })[0];
8027
8027
  return Q(mw, { key: pw(X, A), L: c, W: u, Y: s.te, D: A, X, U: i, G: r, K: p, Z: (R = e.itemProps) === null || R === void 0 ? void 0 : R.call(e, { item: e.data[A], index: A }) }, null, 8, ["L", "W", "Y", "D", "X", "U", "G", "K", "Z"]);
@@ -8030,9 +8030,9 @@ const N2 = {
8030
8030
  const A = new Set(e.keepMounted);
8031
8031
  for (let [R, X] = y.value; R <= X; R++) A.add(R);
8032
8032
  qg([...A]).forEach(((R) => {
8033
- k.push(x(R));
8033
+ k.push(S(R));
8034
8034
  }));
8035
- } else for (let [A, R] = y.value; A <= R; A++) k.push(x(A));
8035
+ } else for (let [A, R] = y.value; A <= R; A++) k.push(S(A));
8036
8036
  return Q(g, { ref: o, style: { contain: "size paint style", overflowAnchor: "none", overflow: "clip", flex: "none", position: "relative", width: i ? w + "px" : "100%", height: i ? "100%" : w + "px", pointerEvents: C.value ? "none" : void 0 } }, typeof (T = k) == "function" || Object.prototype.toString.call(T) === "[object Object]" && !lg(T) ? k : { default: () => [k], _: 2 }, 8, ["style"]);
8037
8037
  var T;
8038
8038
  };
@@ -8671,8 +8671,8 @@ function k$(e, t, a, n, r, i) {
8671
8671
  h || (h = d == "constructor");
8672
8672
  }
8673
8673
  if (C && !h) {
8674
- var k = e.constructor, x = t.constructor;
8675
- k != x && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof x == "function" && x instanceof x) && (C = !1);
8674
+ var k = e.constructor, S = t.constructor;
8675
+ k != S && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof S == "function" && S instanceof S) && (C = !1);
8676
8676
  }
8677
8677
  return i.delete(e), i.delete(t), C;
8678
8678
  }
@@ -8836,7 +8836,7 @@ function V$(e, t, a) {
8836
8836
  function k() {
8837
8837
  return u === void 0 ? o : p(ws());
8838
8838
  }
8839
- function x() {
8839
+ function S() {
8840
8840
  var T = ws(), A = h(T);
8841
8841
  if (n = arguments, r = this, s = T, A) {
8842
8842
  if (u === void 0)
@@ -8846,7 +8846,7 @@ function V$(e, t, a) {
8846
8846
  }
8847
8847
  return u === void 0 && (u = setTimeout(g, t)), o;
8848
8848
  }
8849
- return x.cancel = w, x.flush = k, x;
8849
+ return S.cancel = w, S.flush = k, S;
8850
8850
  }
8851
8851
  var mm = /[\\^$.*+?()[\]{}|]/g, j$ = RegExp(mm.source);
8852
8852
  function G$(e) {
@@ -8910,7 +8910,7 @@ const _$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], eS = ["a
8910
8910
  setup(e, { expose: t, emit: a }) {
8911
8911
  qt((P) => ({
8912
8912
  v468789b2: Z.value,
8913
- v3da179ce: S.value
8913
+ v3da179ce: x.value
8914
8914
  })), ie(() => e.hasError, (P) => {
8915
8915
  P && console.warn("KInput: `hasError` prop is deprecated. Please use `error` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kinput");
8916
8916
  }, { immediate: !0 }), ie(() => e.labelAttributes.help, (P) => {
@@ -8937,7 +8937,7 @@ const _$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], eS = ["a
8937
8937
  }), k = b(() => {
8938
8938
  var P, F;
8939
8939
  return w.value ? u.value ? `${(P = o.value) == null ? void 0 : P.toString().length} / ${e.characterLimit}` : `${(F = e.modelValue) == null ? void 0 : F.toString().length} / ${e.characterLimit}` : "";
8940
- }), x = b(() => !w.value && !e.error && !e.hasError && !!(e.help || r.help)), T = b(() => w.value ? k.value : (e.error || e.hasError) && e.errorMessage ? e.errorMessage : e.help);
8940
+ }), S = b(() => !w.value && !e.error && !e.hasError && !!(e.help || r.help)), T = b(() => w.value ? k.value : (e.error || e.hasError) && e.errorMessage ? e.errorMessage : e.help);
8941
8941
  ie(w, (P, F) => {
8942
8942
  P !== F && (n("char-limit-exceeded", {
8943
8943
  value: o.value,
@@ -8958,10 +8958,10 @@ const _$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], eS = ["a
8958
8958
  ie(() => e.error, (P, F) => {
8959
8959
  P !== F && (s.value += 1);
8960
8960
  });
8961
- const O = N(null), Y = N(null), Z = N(Gt), S = N(Gt), E = N(!1), I = b(() => e.type === "password" && E.value ? "text" : e.type);
8961
+ const O = N(null), Y = N(null), Z = N(Gt), x = N(Gt), E = N(!1), I = b(() => e.type === "password" && E.value ? "text" : e.type);
8962
8962
  return nt(async () => {
8963
8963
  var P, F;
8964
- await ct(), (P = O.value) != null && P.offsetWidth && (Z.value = O.value.offsetWidth + "px"), (F = Y.value) != null && F.offsetWidth && (S.value = Y.value.offsetWidth + "px");
8964
+ await vt(), (P = O.value) != null && P.offsetWidth && (Z.value = O.value.offsetWidth + "px"), (F = Y.value) != null && F.offsetWidth && (x.value = Y.value.offsetWidth + "px");
8965
8965
  }), t({
8966
8966
  input: i
8967
8967
  }), (P, F) => (m(), $("div", {
@@ -9043,7 +9043,7 @@ const _$ = ["id", "aria-describedby", "aria-invalid", "type", "value"], eS = ["a
9043
9043
  key: String(s.value),
9044
9044
  class: "help-text"
9045
9045
  }, [
9046
- x.value ? W(P.$slots, "help", { key: 0 }, () => [
9046
+ S.value ? W(P.$slots, "help", { key: 0 }, () => [
9047
9047
  ye(re(T.value), 1)
9048
9048
  ], !0) : (m(), $(Ee, { key: 1 }, [
9049
9049
  ye(re(T.value), 1)
@@ -9275,11 +9275,11 @@ const pS = ["id"], yS = {
9275
9275
  "KCodeBlock: `highlightedLineNumbers` prop should be either a properly formatted string (e.g. '1,3-5,7'), an array of numbers or tuples of numbers."
9276
9276
  );
9277
9277
  }, { immediate: !0 });
9278
- const r = t, i = St(), o = N(e.query), u = N(!1), s = N(e.initialRegExpMode), l = N(e.initialFilterMode), c = N(null), f = N(e.query), d = N(0), v = N([]), y = N(null), C = ht("codeBlock"), h = ht("codeBlockContent"), g = ht("codeBlockLineNumbers"), p = N(!1), w = N(!1), k = b(() => new Set(v.value)), x = b(() => {
9278
+ const r = t, i = St(), o = N(e.query), u = N(!1), s = N(e.initialRegExpMode), l = N(e.initialFilterMode), c = N(null), f = N(e.query), d = N(0), v = N([]), y = N(null), C = ht("codeBlock"), h = ht("codeBlockContent"), g = ht("codeBlockLineNumbers"), p = N(!1), w = N(!1), k = b(() => new Set(v.value)), S = b(() => {
9279
9279
  var me;
9280
9280
  return Array.from({ length: (me = e.code) == null ? void 0 : me.split(`
9281
9281
  `).length }, (ge, K) => K + 1);
9282
- }), T = b(() => x.value[x.value.length - 1].toString().length + "ch"), A = b(() => e.processing || u.value), R = b(() => l.value && Z.value !== ""), X = b(() => e.id.toLowerCase().replace(/\s+/g, "-"));
9282
+ }), T = b(() => S.value[S.value.length - 1].toString().length + "ch"), A = b(() => e.processing || u.value), R = b(() => l.value && Z.value !== ""), X = b(() => e.id.toLowerCase().replace(/\s+/g, "-"));
9283
9283
  function O(me) {
9284
9284
  return `${X.value}-L${me}`;
9285
9285
  }
@@ -9291,12 +9291,12 @@ const pS = ["id"], yS = {
9291
9291
  `).filter((K, xe) => k.value.has(xe + 1)).join(`
9292
9292
  `);
9293
9293
  return dS(me, f.value, s.value);
9294
- }), S = b(() => !e.singleLine && e.searchable), E = b(
9294
+ }), x = b(() => !e.singleLine && e.searchable), E = b(
9295
9295
  () => e.singleLine ? vf(e.code).replaceAll(`
9296
9296
  `, "") : vf(e.code)
9297
9297
  ), I = b(() => It(e.maxHeight));
9298
9298
  ie(() => e.code, async function() {
9299
- await ct(), te(), de();
9299
+ await vt(), te(), de();
9300
9300
  }), ie(() => s.value, function() {
9301
9301
  de();
9302
9302
  }), ie(() => e.highlightedLineNumbers, function() {
@@ -9384,10 +9384,10 @@ const pS = ["id"], yS = {
9384
9384
  f.value !== o.value && (u.value = !0, n());
9385
9385
  }
9386
9386
  async function ae() {
9387
- await ct(), r("query-change", f.value), de();
9387
+ await vt(), r("query-change", f.value), de();
9388
9388
  }
9389
9389
  function ne() {
9390
- u.value = !0, c.value = null, v.value = vS(e.highlightedLineNumbers, x.value.length), d.value = v.value.length, q(), u.value = !1;
9390
+ u.value = !0, c.value = null, v.value = vS(e.highlightedLineNumbers, S.value.length), d.value = v.value.length, q(), u.value = !1;
9391
9391
  }
9392
9392
  function de() {
9393
9393
  u.value = !0, c.value = null;
@@ -9449,7 +9449,7 @@ const pS = ["id"], yS = {
9449
9449
  // </span>
9450
9450
  as: "span",
9451
9451
  class: "line-number-rows",
9452
- data: me ? v.value : x.value,
9452
+ data: me ? v.value : S.value,
9453
9453
  item: "span",
9454
9454
  itemProps: ({ item: ge }) => ({
9455
9455
  class: ue({
@@ -9479,7 +9479,7 @@ const pS = ["id"], yS = {
9479
9479
  tabindex: "-1",
9480
9480
  onBlur: ge[1] || (ge[1] = (K) => y.value = null)
9481
9481
  }, [
9482
- S.value ? (m(), $("div", yS, [
9482
+ x.value ? (m(), $("div", yS, [
9483
9483
  Q(Pn, {
9484
9484
  modelValue: f.value,
9485
9485
  "onUpdate:modelValue": ge[0] || (ge[0] = (K) => f.value = K),
@@ -11065,7 +11065,7 @@ var xx = /^(\d+)(th|st|nd|rd)?/i, Tx = /\d+/i, Dx = {
11065
11065
  function zt(e, t, a) {
11066
11066
  var n, r, i, o, u, s, l, c, f, d, v, y, C, h, g, p, w, k;
11067
11067
  Bt(2, arguments);
11068
- var x = String(t), T = Jl(), A = (n = (r = a == null ? void 0 : a.locale) !== null && r !== void 0 ? r : T.locale) !== null && n !== void 0 ? n : Fx, R = er((i = (o = (u = (s = a == null ? void 0 : a.firstWeekContainsDate) !== null && s !== void 0 ? s : a == null || (l = a.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && u !== void 0 ? u : T.firstWeekContainsDate) !== null && o !== void 0 ? o : (f = T.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
11068
+ var S = String(t), T = Jl(), A = (n = (r = a == null ? void 0 : a.locale) !== null && r !== void 0 ? r : T.locale) !== null && n !== void 0 ? n : Fx, R = er((i = (o = (u = (s = a == null ? void 0 : a.firstWeekContainsDate) !== null && s !== void 0 ? s : a == null || (l = a.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && u !== void 0 ? u : T.firstWeekContainsDate) !== null && o !== void 0 ? o : (f = T.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
11069
11069
  if (!(R >= 1 && R <= 7))
11070
11070
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
11071
11071
  var X = er((v = (y = (C = (h = a == null ? void 0 : a.weekStartsOn) !== null && h !== void 0 ? h : a == null || (g = a.locale) === null || g === void 0 || (p = g.options) === null || p === void 0 ? void 0 : p.weekStartsOn) !== null && C !== void 0 ? C : T.weekStartsOn) !== null && y !== void 0 ? y : (w = T.locale) === null || w === void 0 || (k = w.options) === null || k === void 0 ? void 0 : k.weekStartsOn) !== null && v !== void 0 ? v : 0);
@@ -11078,12 +11078,12 @@ function zt(e, t, a) {
11078
11078
  var O = sa(e);
11079
11079
  if (!WS(O))
11080
11080
  throw new RangeError("Invalid time value");
11081
- var Y = YS(O), Z = US(O, Y), S = {
11081
+ var Y = YS(O), Z = US(O, Y), x = {
11082
11082
  firstWeekContainsDate: R,
11083
11083
  weekStartsOn: X,
11084
11084
  locale: A,
11085
11085
  _originalDate: O
11086
- }, E = x.match(Yx).map(function(I) {
11086
+ }, E = S.match(Yx).map(function(I) {
11087
11087
  var P = I[0];
11088
11088
  if (P === "p" || P === "P") {
11089
11089
  var F = tx[P];
@@ -11098,7 +11098,7 @@ function zt(e, t, a) {
11098
11098
  return Ux(I);
11099
11099
  var F = _S[P];
11100
11100
  if (F)
11101
- return !(a != null && a.useAdditionalWeekYearTokens) && ix(I) && pf(I, t, String(e)), !(a != null && a.useAdditionalDayOfYearTokens) && rx(I) && pf(I, t, String(e)), F(Z, I, A.localize, S);
11101
+ return !(a != null && a.useAdditionalWeekYearTokens) && ix(I) && pf(I, t, String(e)), !(a != null && a.useAdditionalDayOfYearTokens) && rx(I) && pf(I, t, String(e)), F(Z, I, A.localize, x);
11102
11102
  if (P.match(Wx))
11103
11103
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + P + "`");
11104
11104
  return I;
@@ -11369,7 +11369,7 @@ function ic() {
11369
11369
  var p = (0, o.getDefaultOptions)(), w = (0, i.default)((c = (f = (d = (v = l == null ? void 0 : l.weekStartsOn) !== null && v !== void 0 ? v : l == null || (y = l.locale) === null || y === void 0 || (C = y.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && d !== void 0 ? d : p.weekStartsOn) !== null && f !== void 0 ? f : (h = p.locale) === null || h === void 0 || (g = h.options) === null || g === void 0 ? void 0 : g.weekStartsOn) !== null && c !== void 0 ? c : 0);
11370
11370
  if (!(w >= 0 && w <= 6))
11371
11371
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
11372
- var k = (0, n.default)(s), x = k.getUTCDay(), T = (x < w ? 7 : 0) + x - w;
11372
+ var k = (0, n.default)(s), S = k.getUTCDay(), T = (S < w ? 7 : 0) + S - w;
11373
11373
  return k.setUTCDate(k.getUTCDate() - T), k.setUTCHours(0, 0, 0, 0), k;
11374
11374
  }
11375
11375
  e.exports = t.default;
@@ -11386,7 +11386,7 @@ function Am() {
11386
11386
  function s(l, c) {
11387
11387
  var f, d, v, y, C, h, g, p;
11388
11388
  (0, r.default)(1, arguments);
11389
- var w = (0, n.default)(l), k = w.getUTCFullYear(), x = (0, u.getDefaultOptions)(), T = (0, o.default)((f = (d = (v = (y = c == null ? void 0 : c.firstWeekContainsDate) !== null && y !== void 0 ? y : c == null || (C = c.locale) === null || C === void 0 || (h = C.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && v !== void 0 ? v : x.firstWeekContainsDate) !== null && d !== void 0 ? d : (g = x.locale) === null || g === void 0 || (p = g.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && f !== void 0 ? f : 1);
11389
+ var w = (0, n.default)(l), k = w.getUTCFullYear(), S = (0, u.getDefaultOptions)(), T = (0, o.default)((f = (d = (v = (y = c == null ? void 0 : c.firstWeekContainsDate) !== null && y !== void 0 ? y : c == null || (C = c.locale) === null || C === void 0 || (h = C.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && v !== void 0 ? v : S.firstWeekContainsDate) !== null && d !== void 0 ? d : (g = S.locale) === null || g === void 0 || (p = g.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && f !== void 0 ? f : 1);
11390
11390
  if (!(T >= 1 && T <= 7))
11391
11391
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
11392
11392
  var A = /* @__PURE__ */ new Date(0);
@@ -11410,8 +11410,8 @@ function e5() {
11410
11410
  function s(l, c) {
11411
11411
  var f, d, v, y, C, h, g, p;
11412
11412
  (0, r.default)(1, arguments);
11413
- var w = (0, u.getDefaultOptions)(), k = (0, o.default)((f = (d = (v = (y = c == null ? void 0 : c.firstWeekContainsDate) !== null && y !== void 0 ? y : c == null || (C = c.locale) === null || C === void 0 || (h = C.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && v !== void 0 ? v : w.firstWeekContainsDate) !== null && d !== void 0 ? d : (g = w.locale) === null || g === void 0 || (p = g.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && f !== void 0 ? f : 1), x = (0, n.default)(l, c), T = /* @__PURE__ */ new Date(0);
11414
- T.setUTCFullYear(x, 0, k), T.setUTCHours(0, 0, 0, 0);
11413
+ var w = (0, u.getDefaultOptions)(), k = (0, o.default)((f = (d = (v = (y = c == null ? void 0 : c.firstWeekContainsDate) !== null && y !== void 0 ? y : c == null || (C = c.locale) === null || C === void 0 || (h = C.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && v !== void 0 ? v : w.firstWeekContainsDate) !== null && d !== void 0 ? d : (g = w.locale) === null || g === void 0 || (p = g.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && f !== void 0 ? f : 1), S = (0, n.default)(l, c), T = /* @__PURE__ */ new Date(0);
11414
+ T.setUTCFullYear(S, 0, k), T.setUTCHours(0, 0, 0, 0);
11415
11415
  var A = (0, i.default)(T, c);
11416
11416
  return A;
11417
11417
  }
@@ -11553,8 +11553,8 @@ function n5() {
11553
11553
  // Year
11554
11554
  y: function(g, p, w) {
11555
11555
  if (p === "yo") {
11556
- var k = g.getUTCFullYear(), x = k > 0 ? k : 1 - k;
11557
- return w.ordinalNumber(x, {
11556
+ var k = g.getUTCFullYear(), S = k > 0 ? k : 1 - k;
11557
+ return w.ordinalNumber(S, {
11558
11558
  unit: "year"
11559
11559
  });
11560
11560
  }
@@ -11562,7 +11562,7 @@ function n5() {
11562
11562
  },
11563
11563
  // Local week-numbering year
11564
11564
  Y: function(g, p, w, k) {
11565
- var x = (0, u.default)(g, k), T = x > 0 ? x : 1 - x;
11565
+ var S = (0, u.default)(g, k), T = S > 0 ? S : 1 - S;
11566
11566
  if (p === "YY") {
11567
11567
  var A = T % 100;
11568
11568
  return (0, s.default)(A, 2);
@@ -11732,10 +11732,10 @@ function n5() {
11732
11732
  },
11733
11733
  // Local week of year
11734
11734
  w: function(g, p, w, k) {
11735
- var x = (0, o.default)(g, k);
11736
- return p === "wo" ? w.ordinalNumber(x, {
11735
+ var S = (0, o.default)(g, k);
11736
+ return p === "wo" ? w.ordinalNumber(S, {
11737
11737
  unit: "week"
11738
- }) : (0, s.default)(x, p.length);
11738
+ }) : (0, s.default)(S, p.length);
11739
11739
  },
11740
11740
  // ISO week of year
11741
11741
  I: function(g, p, w) {
@@ -11792,7 +11792,7 @@ function n5() {
11792
11792
  },
11793
11793
  // Local day of week
11794
11794
  e: function(g, p, w, k) {
11795
- var x = g.getUTCDay(), T = (x - k.weekStartsOn + 8) % 7 || 7;
11795
+ var S = g.getUTCDay(), T = (S - k.weekStartsOn + 8) % 7 || 7;
11796
11796
  switch (p) {
11797
11797
  // Numerical value (Nth day of week with current locale or weekStartsOn)
11798
11798
  case "e":
@@ -11806,26 +11806,26 @@ function n5() {
11806
11806
  unit: "day"
11807
11807
  });
11808
11808
  case "eee":
11809
- return w.day(x, {
11809
+ return w.day(S, {
11810
11810
  width: "abbreviated",
11811
11811
  context: "formatting"
11812
11812
  });
11813
11813
  // T
11814
11814
  case "eeeee":
11815
- return w.day(x, {
11815
+ return w.day(S, {
11816
11816
  width: "narrow",
11817
11817
  context: "formatting"
11818
11818
  });
11819
11819
  // Tu
11820
11820
  case "eeeeee":
11821
- return w.day(x, {
11821
+ return w.day(S, {
11822
11822
  width: "short",
11823
11823
  context: "formatting"
11824
11824
  });
11825
11825
  // Tuesday
11826
11826
  case "eeee":
11827
11827
  default:
11828
- return w.day(x, {
11828
+ return w.day(S, {
11829
11829
  width: "wide",
11830
11830
  context: "formatting"
11831
11831
  });
@@ -11833,7 +11833,7 @@ function n5() {
11833
11833
  },
11834
11834
  // Stand-alone local day of week
11835
11835
  c: function(g, p, w, k) {
11836
- var x = g.getUTCDay(), T = (x - k.weekStartsOn + 8) % 7 || 7;
11836
+ var S = g.getUTCDay(), T = (S - k.weekStartsOn + 8) % 7 || 7;
11837
11837
  switch (p) {
11838
11838
  // Numerical value (same as in `e`)
11839
11839
  case "c":
@@ -11847,26 +11847,26 @@ function n5() {
11847
11847
  unit: "day"
11848
11848
  });
11849
11849
  case "ccc":
11850
- return w.day(x, {
11850
+ return w.day(S, {
11851
11851
  width: "abbreviated",
11852
11852
  context: "standalone"
11853
11853
  });
11854
11854
  // T
11855
11855
  case "ccccc":
11856
- return w.day(x, {
11856
+ return w.day(S, {
11857
11857
  width: "narrow",
11858
11858
  context: "standalone"
11859
11859
  });
11860
11860
  // Tu
11861
11861
  case "cccccc":
11862
- return w.day(x, {
11862
+ return w.day(S, {
11863
11863
  width: "short",
11864
11864
  context: "standalone"
11865
11865
  });
11866
11866
  // Tuesday
11867
11867
  case "cccc":
11868
11868
  default:
11869
- return w.day(x, {
11869
+ return w.day(S, {
11870
11870
  width: "wide",
11871
11871
  context: "standalone"
11872
11872
  });
@@ -11874,17 +11874,17 @@ function n5() {
11874
11874
  },
11875
11875
  // ISO day of week
11876
11876
  i: function(g, p, w) {
11877
- var k = g.getUTCDay(), x = k === 0 ? 7 : k;
11877
+ var k = g.getUTCDay(), S = k === 0 ? 7 : k;
11878
11878
  switch (p) {
11879
11879
  // 2
11880
11880
  case "i":
11881
- return String(x);
11881
+ return String(S);
11882
11882
  // 02
11883
11883
  case "ii":
11884
- return (0, s.default)(x, p.length);
11884
+ return (0, s.default)(S, p.length);
11885
11885
  // 2nd
11886
11886
  case "io":
11887
- return w.ordinalNumber(x, {
11887
+ return w.ordinalNumber(S, {
11888
11888
  unit: "day"
11889
11889
  });
11890
11890
  // Tue
@@ -11916,27 +11916,27 @@ function n5() {
11916
11916
  },
11917
11917
  // AM or PM
11918
11918
  a: function(g, p, w) {
11919
- var k = g.getUTCHours(), x = k / 12 >= 1 ? "pm" : "am";
11919
+ var k = g.getUTCHours(), S = k / 12 >= 1 ? "pm" : "am";
11920
11920
  switch (p) {
11921
11921
  case "a":
11922
11922
  case "aa":
11923
- return w.dayPeriod(x, {
11923
+ return w.dayPeriod(S, {
11924
11924
  width: "abbreviated",
11925
11925
  context: "formatting"
11926
11926
  });
11927
11927
  case "aaa":
11928
- return w.dayPeriod(x, {
11928
+ return w.dayPeriod(S, {
11929
11929
  width: "abbreviated",
11930
11930
  context: "formatting"
11931
11931
  }).toLowerCase();
11932
11932
  case "aaaaa":
11933
- return w.dayPeriod(x, {
11933
+ return w.dayPeriod(S, {
11934
11934
  width: "narrow",
11935
11935
  context: "formatting"
11936
11936
  });
11937
11937
  case "aaaa":
11938
11938
  default:
11939
- return w.dayPeriod(x, {
11939
+ return w.dayPeriod(S, {
11940
11940
  width: "wide",
11941
11941
  context: "formatting"
11942
11942
  });
@@ -11944,27 +11944,27 @@ function n5() {
11944
11944
  },
11945
11945
  // AM, PM, midnight, noon
11946
11946
  b: function(g, p, w) {
11947
- var k = g.getUTCHours(), x;
11948
- switch (k === 12 ? x = c.noon : k === 0 ? x = c.midnight : x = k / 12 >= 1 ? "pm" : "am", p) {
11947
+ var k = g.getUTCHours(), S;
11948
+ switch (k === 12 ? S = c.noon : k === 0 ? S = c.midnight : S = k / 12 >= 1 ? "pm" : "am", p) {
11949
11949
  case "b":
11950
11950
  case "bb":
11951
- return w.dayPeriod(x, {
11951
+ return w.dayPeriod(S, {
11952
11952
  width: "abbreviated",
11953
11953
  context: "formatting"
11954
11954
  });
11955
11955
  case "bbb":
11956
- return w.dayPeriod(x, {
11956
+ return w.dayPeriod(S, {
11957
11957
  width: "abbreviated",
11958
11958
  context: "formatting"
11959
11959
  }).toLowerCase();
11960
11960
  case "bbbbb":
11961
- return w.dayPeriod(x, {
11961
+ return w.dayPeriod(S, {
11962
11962
  width: "narrow",
11963
11963
  context: "formatting"
11964
11964
  });
11965
11965
  case "bbbb":
11966
11966
  default:
11967
- return w.dayPeriod(x, {
11967
+ return w.dayPeriod(S, {
11968
11968
  width: "wide",
11969
11969
  context: "formatting"
11970
11970
  });
@@ -11972,23 +11972,23 @@ function n5() {
11972
11972
  },
11973
11973
  // in the morning, in the afternoon, in the evening, at night
11974
11974
  B: function(g, p, w) {
11975
- var k = g.getUTCHours(), x;
11976
- switch (k >= 17 ? x = c.evening : k >= 12 ? x = c.afternoon : k >= 4 ? x = c.morning : x = c.night, p) {
11975
+ var k = g.getUTCHours(), S;
11976
+ switch (k >= 17 ? S = c.evening : k >= 12 ? S = c.afternoon : k >= 4 ? S = c.morning : S = c.night, p) {
11977
11977
  case "B":
11978
11978
  case "BB":
11979
11979
  case "BBB":
11980
- return w.dayPeriod(x, {
11980
+ return w.dayPeriod(S, {
11981
11981
  width: "abbreviated",
11982
11982
  context: "formatting"
11983
11983
  });
11984
11984
  case "BBBBB":
11985
- return w.dayPeriod(x, {
11985
+ return w.dayPeriod(S, {
11986
11986
  width: "narrow",
11987
11987
  context: "formatting"
11988
11988
  });
11989
11989
  case "BBBB":
11990
11990
  default:
11991
- return w.dayPeriod(x, {
11991
+ return w.dayPeriod(S, {
11992
11992
  width: "wide",
11993
11993
  context: "formatting"
11994
11994
  });
@@ -12042,7 +12042,7 @@ function n5() {
12042
12042
  },
12043
12043
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
12044
12044
  X: function(g, p, w, k) {
12045
- var x = k._originalDate || g, T = x.getTimezoneOffset();
12045
+ var S = k._originalDate || g, T = S.getTimezoneOffset();
12046
12046
  if (T === 0)
12047
12047
  return "Z";
12048
12048
  switch (p) {
@@ -12067,7 +12067,7 @@ function n5() {
12067
12067
  },
12068
12068
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
12069
12069
  x: function(g, p, w, k) {
12070
- var x = k._originalDate || g, T = x.getTimezoneOffset();
12070
+ var S = k._originalDate || g, T = S.getTimezoneOffset();
12071
12071
  switch (p) {
12072
12072
  // Hours and optional minutes
12073
12073
  case "x":
@@ -12090,7 +12090,7 @@ function n5() {
12090
12090
  },
12091
12091
  // Timezone (GMT)
12092
12092
  O: function(g, p, w, k) {
12093
- var x = k._originalDate || g, T = x.getTimezoneOffset();
12093
+ var S = k._originalDate || g, T = S.getTimezoneOffset();
12094
12094
  switch (p) {
12095
12095
  // Short
12096
12096
  case "O":
@@ -12105,7 +12105,7 @@ function n5() {
12105
12105
  },
12106
12106
  // Timezone (specific non-location)
12107
12107
  z: function(g, p, w, k) {
12108
- var x = k._originalDate || g, T = x.getTimezoneOffset();
12108
+ var S = k._originalDate || g, T = S.getTimezoneOffset();
12109
12109
  switch (p) {
12110
12110
  // Short
12111
12111
  case "z":
@@ -12120,21 +12120,21 @@ function n5() {
12120
12120
  },
12121
12121
  // Seconds timestamp
12122
12122
  t: function(g, p, w, k) {
12123
- var x = k._originalDate || g, T = Math.floor(x.getTime() / 1e3);
12123
+ var S = k._originalDate || g, T = Math.floor(S.getTime() / 1e3);
12124
12124
  return (0, s.default)(T, p.length);
12125
12125
  },
12126
12126
  // Milliseconds timestamp
12127
12127
  T: function(g, p, w, k) {
12128
- var x = k._originalDate || g, T = x.getTime();
12128
+ var S = k._originalDate || g, T = S.getTime();
12129
12129
  return (0, s.default)(T, p.length);
12130
12130
  }
12131
12131
  };
12132
12132
  function d(h, g) {
12133
- var p = h > 0 ? "-" : "+", w = Math.abs(h), k = Math.floor(w / 60), x = w % 60;
12134
- if (x === 0)
12133
+ var p = h > 0 ? "-" : "+", w = Math.abs(h), k = Math.floor(w / 60), S = w % 60;
12134
+ if (S === 0)
12135
12135
  return p + String(k);
12136
12136
  var T = g;
12137
- return p + String(k) + T + (0, s.default)(x, 2);
12137
+ return p + String(k) + T + (0, s.default)(S, 2);
12138
12138
  }
12139
12139
  function v(h, g) {
12140
12140
  if (h % 60 === 0) {
@@ -12144,8 +12144,8 @@ function n5() {
12144
12144
  return y(h, g);
12145
12145
  }
12146
12146
  function y(h, g) {
12147
- var p = g || "", w = h > 0 ? "-" : "+", k = Math.abs(h), x = (0, s.default)(Math.floor(k / 60), 2), T = (0, s.default)(k % 60, 2);
12148
- return w + x + p + T;
12147
+ var p = g || "", w = h > 0 ? "-" : "+", k = Math.abs(h), S = (0, s.default)(Math.floor(k / 60), 2), T = (0, s.default)(k % 60, 2);
12148
+ return w + S + p + T;
12149
12149
  }
12150
12150
  var C = f;
12151
12151
  t.default = C, e.exports = t.default;
@@ -12766,10 +12766,10 @@ function p5() {
12766
12766
  value: !0
12767
12767
  }), t.default = w;
12768
12768
  var n = a(/* @__PURE__ */ Gx()), r = a(/* @__PURE__ */ Zx()), i = a(/* @__PURE__ */ Va()), o = a(/* @__PURE__ */ n5()), u = a(/* @__PURE__ */ r5()), s = a(/* @__PURE__ */ Em()), l = /* @__PURE__ */ i5(), c = a(/* @__PURE__ */ ur()), f = a(/* @__PURE__ */ Qt()), d = /* @__PURE__ */ es(), v = a(/* @__PURE__ */ m5()), y = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, C = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, h = /^'([^]*?)'?$/, g = /''/g, p = /[a-zA-Z]/;
12769
- function w(x, T, A) {
12770
- var R, X, O, Y, Z, S, E, I, P, F, U, te, q, ce, ve, ae, ne, de;
12769
+ function w(S, T, A) {
12770
+ var R, X, O, Y, Z, x, E, I, P, F, U, te, q, ce, ve, ae, ne, de;
12771
12771
  (0, f.default)(2, arguments);
12772
- var Ie = String(T), Te = (0, d.getDefaultOptions)(), Ne = (R = (X = A == null ? void 0 : A.locale) !== null && X !== void 0 ? X : Te.locale) !== null && R !== void 0 ? R : v.default, Ye = (0, c.default)((O = (Y = (Z = (S = A == null ? void 0 : A.firstWeekContainsDate) !== null && S !== void 0 ? S : A == null || (E = A.locale) === null || E === void 0 || (I = E.options) === null || I === void 0 ? void 0 : I.firstWeekContainsDate) !== null && Z !== void 0 ? Z : Te.firstWeekContainsDate) !== null && Y !== void 0 ? Y : (P = Te.locale) === null || P === void 0 || (F = P.options) === null || F === void 0 ? void 0 : F.firstWeekContainsDate) !== null && O !== void 0 ? O : 1);
12772
+ var Ie = String(T), Te = (0, d.getDefaultOptions)(), Ne = (R = (X = A == null ? void 0 : A.locale) !== null && X !== void 0 ? X : Te.locale) !== null && R !== void 0 ? R : v.default, Ye = (0, c.default)((O = (Y = (Z = (x = A == null ? void 0 : A.firstWeekContainsDate) !== null && x !== void 0 ? x : A == null || (E = A.locale) === null || E === void 0 || (I = E.options) === null || I === void 0 ? void 0 : I.firstWeekContainsDate) !== null && Z !== void 0 ? Z : Te.firstWeekContainsDate) !== null && Y !== void 0 ? Y : (P = Te.locale) === null || P === void 0 || (F = P.options) === null || F === void 0 ? void 0 : F.firstWeekContainsDate) !== null && O !== void 0 ? O : 1);
12773
12773
  if (!(Ye >= 1 && Ye <= 7))
12774
12774
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
12775
12775
  var Je = (0, c.default)((U = (te = (q = (ce = A == null ? void 0 : A.weekStartsOn) !== null && ce !== void 0 ? ce : A == null || (ve = A.locale) === null || ve === void 0 || (ae = ve.options) === null || ae === void 0 ? void 0 : ae.weekStartsOn) !== null && q !== void 0 ? q : Te.weekStartsOn) !== null && te !== void 0 ? te : (ne = Te.locale) === null || ne === void 0 || (de = ne.options) === null || de === void 0 ? void 0 : de.weekStartsOn) !== null && U !== void 0 ? U : 0);
@@ -12779,7 +12779,7 @@ function p5() {
12779
12779
  throw new RangeError("locale must contain localize property");
12780
12780
  if (!Ne.formatLong)
12781
12781
  throw new RangeError("locale must contain formatLong property");
12782
- var Ze = (0, i.default)(x);
12782
+ var Ze = (0, i.default)(S);
12783
12783
  if (!(0, n.default)(Ze))
12784
12784
  throw new RangeError("Invalid time value");
12785
12785
  var _e = (0, s.default)(Ze), et = (0, r.default)(Ze, _e), pe = {
@@ -12802,16 +12802,16 @@ function p5() {
12802
12802
  return k(ge);
12803
12803
  var xe = o.default[K];
12804
12804
  if (xe)
12805
- return !(A != null && A.useAdditionalWeekYearTokens) && (0, l.isProtectedWeekYearToken)(ge) && (0, l.throwProtectedError)(ge, T, String(x)), !(A != null && A.useAdditionalDayOfYearTokens) && (0, l.isProtectedDayOfYearToken)(ge) && (0, l.throwProtectedError)(ge, T, String(x)), xe(et, ge, Ne.localize, pe);
12805
+ return !(A != null && A.useAdditionalWeekYearTokens) && (0, l.isProtectedWeekYearToken)(ge) && (0, l.throwProtectedError)(ge, T, String(S)), !(A != null && A.useAdditionalDayOfYearTokens) && (0, l.isProtectedDayOfYearToken)(ge) && (0, l.throwProtectedError)(ge, T, String(S)), xe(et, ge, Ne.localize, pe);
12806
12806
  if (K.match(p))
12807
12807
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + K + "`");
12808
12808
  return ge;
12809
12809
  }).join("");
12810
12810
  return me;
12811
12811
  }
12812
- function k(x) {
12813
- var T = x.match(h);
12814
- return T ? T[1].replace(g, "'") : x;
12812
+ function k(S) {
12813
+ var T = S.match(h);
12814
+ return T ? T[1].replace(g, "'") : S;
12815
12815
  }
12816
12816
  e.exports = t.default;
12817
12817
  })(Qi, Qi.exports)), Qi.exports;
@@ -13569,7 +13569,7 @@ var C3 = function(t, a) {
13569
13569
  function k3(e) {
13570
13570
  var t, a = e.state, n = e.name, r = e.options, i = a.elements.arrow, o = a.modifiersData.popperOffsets, u = Ra(a.placement), s = cc(u), l = [ea, ba].indexOf(u) >= 0, c = l ? "height" : "width";
13571
13571
  if (!(!i || !o)) {
13572
- var f = C3(r.padding, a), d = uc(i), v = s === "y" ? _t : ea, y = s === "y" ? ya : ba, C = a.rects.reference[c] + a.rects.reference[s] - o[s] - a.rects.popper[c], h = o[s] - a.rects.reference[s], g = Hi(i), p = g ? s === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, w = C / 2 - h / 2, k = f[v], x = p - d[c] - f[y], T = p / 2 - d[c] / 2 + w, A = bi(k, T, x), R = s;
13572
+ var f = C3(r.padding, a), d = uc(i), v = s === "y" ? _t : ea, y = s === "y" ? ya : ba, C = a.rects.reference[c] + a.rects.reference[s] - o[s] - a.rects.popper[c], h = o[s] - a.rects.reference[s], g = Hi(i), p = g ? s === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, w = C / 2 - h / 2, k = f[v], S = p - d[c] - f[y], T = p / 2 - d[c] / 2 + w, A = bi(k, T, S), R = s;
13573
13573
  a.modifiersData[n] = (t = {}, t[R] = A, t.centerOffset = A - T, t);
13574
13574
  }
13575
13575
  }
@@ -13611,12 +13611,12 @@ function gv(e) {
13611
13611
  y: C
13612
13612
  };
13613
13613
  v = h.x, C = h.y;
13614
- var g = o.hasOwnProperty("x"), p = o.hasOwnProperty("y"), w = ea, k = _t, x = window;
13614
+ var g = o.hasOwnProperty("x"), p = o.hasOwnProperty("y"), w = ea, k = _t, S = window;
13615
13615
  if (l) {
13616
13616
  var T = Hi(a), A = "clientHeight", R = "clientWidth";
13617
13617
  if (T === ua(a) && (T = Bn(a), sn(T).position !== "static" && u === "absolute" && (A = "scrollHeight", R = "scrollWidth")), T = T, r === _t || (r === ea || r === ba) && i === Ei) {
13618
13618
  k = ya;
13619
- var X = f && T === x && x.visualViewport ? x.visualViewport.height : (
13619
+ var X = f && T === S && S.visualViewport ? S.visualViewport.height : (
13620
13620
  // $FlowFixMe[prop-missing]
13621
13621
  T[A]
13622
13622
  );
@@ -13624,7 +13624,7 @@ function gv(e) {
13624
13624
  }
13625
13625
  if (r === ea || (r === _t || r === ya) && i === Ei) {
13626
13626
  w = ba;
13627
- var O = f && T === x && x.visualViewport ? x.visualViewport.width : (
13627
+ var O = f && T === S && S.visualViewport ? S.visualViewport.width : (
13628
13628
  // $FlowFixMe[prop-missing]
13629
13629
  T[R]
13630
13630
  );
@@ -13641,8 +13641,8 @@ function gv(e) {
13641
13641
  y: C
13642
13642
  };
13643
13643
  if (v = Z.x, C = Z.y, s) {
13644
- var S;
13645
- return Object.assign({}, Y, (S = {}, S[k] = p ? "0" : "", S[w] = g ? "0" : "", S.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + C + "px)" : "translate3d(" + v + "px, " + C + "px, 0)", S));
13644
+ var x;
13645
+ return Object.assign({}, Y, (x = {}, x[k] = p ? "0" : "", x[w] = g ? "0" : "", x.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + C + "px)" : "translate3d(" + v + "px, " + C + "px, 0)", x));
13646
13646
  }
13647
13647
  return Object.assign({}, Y, (t = {}, t[k] = p ? C + "px" : "", t[w] = g ? v + "px" : "", t.transform = "", t));
13648
13648
  }
@@ -13844,21 +13844,21 @@ function Wm(e) {
13844
13844
  }
13845
13845
  function Mi(e, t) {
13846
13846
  t === void 0 && (t = {});
13847
- var a = t, n = a.placement, r = n === void 0 ? e.placement : n, i = a.strategy, o = i === void 0 ? e.strategy : i, u = a.boundary, s = u === void 0 ? n3 : u, l = a.rootBoundary, c = l === void 0 ? Lm : l, f = a.elementContext, d = f === void 0 ? li : f, v = a.altBoundary, y = v === void 0 ? !1 : v, C = a.padding, h = C === void 0 ? 0 : C, g = Ym(typeof h != "number" ? h : Hm(h, Yi)), p = d === li ? r3 : li, w = e.rects.popper, k = e.elements[y ? p : d], x = R3(tr(k) ? k : k.contextElement || Bn(e.elements.popper), s, c, o), T = Hr(e.elements.reference), A = Wm({
13847
+ var a = t, n = a.placement, r = n === void 0 ? e.placement : n, i = a.strategy, o = i === void 0 ? e.strategy : i, u = a.boundary, s = u === void 0 ? n3 : u, l = a.rootBoundary, c = l === void 0 ? Lm : l, f = a.elementContext, d = f === void 0 ? li : f, v = a.altBoundary, y = v === void 0 ? !1 : v, C = a.padding, h = C === void 0 ? 0 : C, g = Ym(typeof h != "number" ? h : Hm(h, Yi)), p = d === li ? r3 : li, w = e.rects.popper, k = e.elements[y ? p : d], S = R3(tr(k) ? k : k.contextElement || Bn(e.elements.popper), s, c, o), T = Hr(e.elements.reference), A = Wm({
13848
13848
  reference: T,
13849
13849
  element: w,
13850
13850
  placement: r
13851
13851
  }), R = vu(Object.assign({}, w, A)), X = d === li ? R : T, O = {
13852
- top: x.top - X.top + g.top,
13853
- bottom: X.bottom - x.bottom + g.bottom,
13854
- left: x.left - X.left + g.left,
13855
- right: X.right - x.right + g.right
13852
+ top: S.top - X.top + g.top,
13853
+ bottom: X.bottom - S.bottom + g.bottom,
13854
+ left: S.left - X.left + g.left,
13855
+ right: X.right - S.right + g.right
13856
13856
  }, Y = e.modifiersData.offset;
13857
13857
  if (d === li && Y) {
13858
13858
  var Z = Y[r];
13859
- Object.keys(O).forEach(function(S) {
13860
- var E = [ba, ya].indexOf(S) >= 0 ? 1 : -1, I = [_t, ya].indexOf(S) >= 0 ? "y" : "x";
13861
- O[S] += Z[I] * E;
13859
+ Object.keys(O).forEach(function(x) {
13860
+ var E = [ba, ya].indexOf(x) >= 0 ? 1 : -1, I = [_t, ya].indexOf(x) >= 0 ? "y" : "x";
13861
+ O[x] += Z[I] * E;
13862
13862
  });
13863
13863
  }
13864
13864
  return O;
@@ -13901,15 +13901,15 @@ function Y3(e) {
13901
13901
  flipVariations: y,
13902
13902
  allowedAutoPlacements: C
13903
13903
  }) : de);
13904
- }, []), x = t.rects.reference, T = t.rects.popper, A = /* @__PURE__ */ new Map(), R = !0, X = k[0], O = 0; O < k.length; O++) {
13905
- var Y = k[O], Z = Ra(Y), S = qr(Y) === zr, E = [_t, ya].indexOf(Z) >= 0, I = E ? "width" : "height", P = Mi(t, {
13904
+ }, []), S = t.rects.reference, T = t.rects.popper, A = /* @__PURE__ */ new Map(), R = !0, X = k[0], O = 0; O < k.length; O++) {
13905
+ var Y = k[O], Z = Ra(Y), x = qr(Y) === zr, E = [_t, ya].indexOf(Z) >= 0, I = E ? "width" : "height", P = Mi(t, {
13906
13906
  placement: Y,
13907
13907
  boundary: c,
13908
13908
  rootBoundary: f,
13909
13909
  altBoundary: d,
13910
13910
  padding: l
13911
- }), F = E ? S ? ba : ea : S ? ya : _t;
13912
- x[I] > T[I] && (F = Wo(F));
13911
+ }), F = E ? x ? ba : ea : x ? ya : _t;
13912
+ S[I] > T[I] && (F = Wo(F));
13913
13913
  var U = Wo(F), te = [];
13914
13914
  if (i && te.push(P[Z] <= 0), u && te.push(P[F] <= 0, P[U] <= 0), te.every(function(ne) {
13915
13915
  return ne;
@@ -14035,7 +14035,7 @@ function Z3(e) {
14035
14035
  rootBoundary: l,
14036
14036
  padding: f,
14037
14037
  altBoundary: c
14038
- }), g = Ra(t.placement), p = qr(t.placement), w = !p, k = cc(g), x = Q3(k), T = t.modifiersData.popperOffsets, A = t.rects.reference, R = t.rects.popper, X = typeof C == "function" ? C(Object.assign({}, t.rects, {
14038
+ }), g = Ra(t.placement), p = qr(t.placement), w = !p, k = cc(g), S = Q3(k), T = t.modifiersData.popperOffsets, A = t.rects.reference, R = t.rects.popper, X = typeof C == "function" ? C(Object.assign({}, t.rects, {
14039
14039
  placement: t.placement
14040
14040
  })) : C, O = typeof X == "number" ? {
14041
14041
  mainAxis: X,
@@ -14049,15 +14049,15 @@ function Z3(e) {
14049
14049
  };
14050
14050
  if (T) {
14051
14051
  if (i) {
14052
- var S, E = k === "y" ? _t : ea, I = k === "y" ? ya : ba, P = k === "y" ? "height" : "width", F = T[k], U = F + h[E], te = F - h[I], q = v ? -R[P] / 2 : 0, ce = p === zr ? A[P] : R[P], ve = p === zr ? -R[P] : -A[P], ae = t.elements.arrow, ne = v && ae ? uc(ae) : {
14052
+ var x, E = k === "y" ? _t : ea, I = k === "y" ? ya : ba, P = k === "y" ? "height" : "width", F = T[k], U = F + h[E], te = F - h[I], q = v ? -R[P] / 2 : 0, ce = p === zr ? A[P] : R[P], ve = p === zr ? -R[P] : -A[P], ae = t.elements.arrow, ne = v && ae ? uc(ae) : {
14053
14053
  width: 0,
14054
14054
  height: 0
14055
- }, de = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zm(), Ie = de[E], Te = de[I], Ne = bi(0, A[P], ne[P]), Ye = w ? A[P] / 2 - q - Ne - Ie - O.mainAxis : ce - Ne - Ie - O.mainAxis, Je = w ? -A[P] / 2 + q + Ne + Te + O.mainAxis : ve + Ne + Te + O.mainAxis, Ze = t.elements.arrow && Hi(t.elements.arrow), _e = Ze ? k === "y" ? Ze.clientTop || 0 : Ze.clientLeft || 0 : 0, et = (S = Y == null ? void 0 : Y[k]) != null ? S : 0, pe = F + Ye - et - _e, me = F + Je - et, ge = bi(v ? gl(U, pe) : U, F, v ? Qn(te, me) : te);
14055
+ }, de = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zm(), Ie = de[E], Te = de[I], Ne = bi(0, A[P], ne[P]), Ye = w ? A[P] / 2 - q - Ne - Ie - O.mainAxis : ce - Ne - Ie - O.mainAxis, Je = w ? -A[P] / 2 + q + Ne + Te + O.mainAxis : ve + Ne + Te + O.mainAxis, Ze = t.elements.arrow && Hi(t.elements.arrow), _e = Ze ? k === "y" ? Ze.clientTop || 0 : Ze.clientLeft || 0 : 0, et = (x = Y == null ? void 0 : Y[k]) != null ? x : 0, pe = F + Ye - et - _e, me = F + Je - et, ge = bi(v ? gl(U, pe) : U, F, v ? Qn(te, me) : te);
14056
14056
  T[k] = ge, Z[k] = ge - F;
14057
14057
  }
14058
14058
  if (u) {
14059
- var K, xe = k === "x" ? _t : ea, Be = k === "x" ? ya : ba, Me = T[x], je = x === "y" ? "height" : "width", gt = Me + h[xe], ft = Me - h[Be], Xe = [_t, ea].indexOf(g) !== -1, lt = (K = Y == null ? void 0 : Y[x]) != null ? K : 0, Tt = Xe ? gt : Me - A[je] - R[je] - lt + O.altAxis, Ot = Xe ? Me + A[je] + R[je] - lt - O.altAxis : ft, Zt = v && Xe ? w3(Tt, Me, Ot) : bi(v ? Tt : gt, Me, v ? Ot : ft);
14060
- T[x] = Zt, Z[x] = Zt - Me;
14059
+ var K, xe = k === "x" ? _t : ea, Be = k === "x" ? ya : ba, Me = T[S], je = S === "y" ? "height" : "width", gt = Me + h[xe], dt = Me - h[Be], Xe = [_t, ea].indexOf(g) !== -1, lt = (K = Y == null ? void 0 : Y[S]) != null ? K : 0, Tt = Xe ? gt : Me - A[je] - R[je] - lt + O.altAxis, Ot = Xe ? Me + A[je] + R[je] - lt - O.altAxis : dt, Zt = v && Xe ? w3(Tt, Me, Ot) : bi(v ? Tt : gt, Me, v ? Ot : dt);
14060
+ T[S] = Zt, Z[S] = Zt - Me;
14061
14061
  }
14062
14062
  t.modifiersData[n] = Z;
14063
14063
  }
@@ -14209,7 +14209,7 @@ function oT(e) {
14209
14209
  c.reset = !1, k = -1;
14210
14210
  continue;
14211
14211
  }
14212
- var x = c.orderedModifiers[k], T = x.fn, A = x.options, R = A === void 0 ? {} : A, X = x.name;
14212
+ var S = c.orderedModifiers[k], T = S.fn, A = S.options, R = A === void 0 ? {} : A, X = S.name;
14213
14213
  typeof T == "function" && (c = T({
14214
14214
  state: c,
14215
14215
  options: R,
@@ -14240,14 +14240,14 @@ function oT(e) {
14240
14240
  c.orderedModifiers.forEach(function(h) {
14241
14241
  var g = h.name, p = h.options, w = p === void 0 ? {} : p, k = h.effect;
14242
14242
  if (typeof k == "function") {
14243
- var x = k({
14243
+ var S = k({
14244
14244
  state: c,
14245
14245
  name: g,
14246
14246
  instance: v,
14247
14247
  options: w
14248
14248
  }), T = function() {
14249
14249
  };
14250
- f.push(x || T);
14250
+ f.push(S || T);
14251
14251
  }
14252
14252
  });
14253
14253
  }
@@ -14890,8 +14890,8 @@ function eM(e, t, a, n, r, i) {
14890
14890
  h || (h = d == "constructor");
14891
14891
  }
14892
14892
  if (C && !h) {
14893
- var k = e.constructor, x = t.constructor;
14894
- k != x && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof x == "function" && x instanceof x) && (C = !1);
14893
+ var k = e.constructor, S = t.constructor;
14894
+ k != S && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof S == "function" && S instanceof S) && (C = !1);
14895
14895
  }
14896
14896
  return i.delete(e), i.delete(t), C;
14897
14897
  }
@@ -15876,11 +15876,11 @@ function F6({
15876
15876
  month: "short",
15877
15877
  day: "numeric"
15878
15878
  });
15879
- let g = t.numDays - f + 1, p = t.numDays - g + 1, w = Math.floor((g - 1) / Yt + 1), k = 1, x = t.numWeeks, T = 1, A = t.month, R = t.year;
15879
+ let g = t.numDays - f + 1, p = t.numDays - g + 1, w = Math.floor((g - 1) / Yt + 1), k = 1, S = t.numWeeks, T = 1, A = t.month, R = t.year;
15880
15880
  const X = /* @__PURE__ */ new Date(), O = X.getDate(), Y = X.getMonth() + 1, Z = X.getFullYear();
15881
- for (let S = 1; S <= EN; S++) {
15881
+ for (let x = 1; x <= EN; x++) {
15882
15882
  for (let E = 1, I = i; E <= Yt; E++, I += I === Yt ? 1 - Yt : 1) {
15883
- d && I === o && (g = 1, p = e.numDays, w = Math.floor((g - 1) / Yt + 1), k = Math.floor((l - g) / Yt + 1), x = 1, T = c, A = e.month, R = e.year, d = !1, v = !0);
15883
+ d && I === o && (g = 1, p = e.numDays, w = Math.floor((g - 1) / Yt + 1), k = Math.floor((l - g) / Yt + 1), S = 1, T = c, A = e.month, R = e.year, d = !1, v = !0);
15884
15884
  const P = n.getDateFromParams(R, A, g, 0, 0, 0, 0), F = n.getDateFromParams(R, A, g, 12, 0, 0, 0), U = n.getDateFromParams(
15885
15885
  R,
15886
15886
  A,
@@ -15889,7 +15889,7 @@ function F6({
15889
15889
  59,
15890
15890
  59,
15891
15891
  999
15892
- ), te = P, q = `${ot(R, 4)}-${ot(A, 2)}-${ot(g, 2)}`, ce = E, ve = Yt - E, ae = s[S - 1], ne = u[S - 1], de = g === O && A === Y && R === Z, Ie = v && g === 1, Te = v && g === l, Ne = S === 1, Ye = S === c, Je = E === 1, Ze = E === Yt, _e = qp(R, A, g);
15892
+ ), te = P, q = `${ot(R, 4)}-${ot(A, 2)}-${ot(g, 2)}`, ce = E, ve = Yt - E, ae = s[x - 1], ne = u[x - 1], de = g === O && A === Y && R === Z, Ie = v && g === 1, Te = v && g === l, Ne = x === 1, Ye = x === c, Je = E === 1, Ze = E === Yt, _e = qp(R, A, g);
15893
15893
  r.push({
15894
15894
  locale: n,
15895
15895
  id: q,
@@ -15903,9 +15903,9 @@ function F6({
15903
15903
  weekdayPositionFromEnd: ve,
15904
15904
  weekdayOrdinal: w,
15905
15905
  weekdayOrdinalFromEnd: k,
15906
- week: x,
15906
+ week: S,
15907
15907
  weekFromEnd: T,
15908
- weekPosition: S,
15908
+ weekPosition: x,
15909
15909
  weeknumber: ae,
15910
15910
  isoWeeknumber: ne,
15911
15911
  month: A,
@@ -15936,7 +15936,7 @@ function F6({
15936
15936
  `weekday-position-${ce}`,
15937
15937
  `weekday-ordinal-${w}`,
15938
15938
  `weekday-ordinal-from-end-${k}`,
15939
- `week-${x}`,
15939
+ `week-${S}`,
15940
15940
  `week-from-end-${T}`,
15941
15941
  {
15942
15942
  "is-today": de,
@@ -15951,9 +15951,9 @@ function F6({
15951
15951
  "on-right": Ze
15952
15952
  }
15953
15953
  ]
15954
- }), v && Te ? (v = !1, y = !0, g = 1, p = l, w = 1, k = Math.floor((l - g) / Yt + 1), x = 1, T = a.numWeeks, A = a.month, R = a.year) : (g++, p--, w = Math.floor((g - 1) / Yt + 1), k = Math.floor((l - g) / Yt + 1));
15954
+ }), v && Te ? (v = !1, y = !0, g = 1, p = l, w = 1, k = Math.floor((l - g) / Yt + 1), S = 1, T = a.numWeeks, A = a.month, R = a.year) : (g++, p--, w = Math.floor((g - 1) / Yt + 1), k = Math.floor((l - g) / Yt + 1));
15955
15955
  }
15956
- x++, T--;
15956
+ S++, T--;
15957
15957
  }
15958
15958
  return r;
15959
15959
  }
@@ -16856,7 +16856,7 @@ const IN = {
16856
16856
  a.charAt(0).toUpperCase() + a.substr(1).toLowerCase()
16857
16857
  );
16858
16858
  ~r && (t.month = r);
16859
- }, dt = {
16859
+ }, ct = {
16860
16860
  D: [
16861
16861
  bn,
16862
16862
  (e, t) => {
@@ -16947,15 +16947,15 @@ const IN = {
16947
16947
  }
16948
16948
  ]
16949
16949
  };
16950
- dt.DD = dt.D;
16951
- dt.dd = dt.d;
16952
- dt.WWWW = dt.WWW = dt.WW = dt.W;
16953
- dt.MM = dt.M;
16954
- dt.mm = dt.m;
16955
- dt.hh = dt.H = dt.HH = dt.h;
16956
- dt.ss = dt.s;
16957
- dt.A = dt.a;
16958
- dt.ZZZZ = dt.ZZZ = dt.ZZ = dt.Z;
16950
+ ct.DD = ct.D;
16951
+ ct.dd = ct.d;
16952
+ ct.WWWW = ct.WWW = ct.WW = ct.W;
16953
+ ct.MM = ct.M;
16954
+ ct.mm = ct.m;
16955
+ ct.hh = ct.H = ct.HH = ct.h;
16956
+ ct.ss = ct.s;
16957
+ ct.A = ct.a;
16958
+ ct.ZZZZ = ct.ZZZ = ct.ZZ = ct.Z;
16959
16959
  function Hp(e, t) {
16960
16960
  return (an(e) && e || [
16961
16961
  Na(e) && e || "YYYY-MM-DD"
@@ -17174,11 +17174,11 @@ function Ah(e, t, a) {
17174
17174
  let o = !0;
17175
17175
  const u = {};
17176
17176
  if (r.replace(Yp, (c) => {
17177
- if (dt[c]) {
17178
- const f = dt[c], d = i.search(f[0]);
17177
+ if (ct[c]) {
17178
+ const f = ct[c], d = i.search(f[0]);
17179
17179
  ~d ? i.replace(f[0], (v) => (f[1](u, v, a), i = i.substr(d + v.length), v)) : o = !1;
17180
17180
  }
17181
- return dt[c] ? "" : c.slice(1, c.length - 1);
17181
+ return ct[c] ? "" : c.slice(1, c.length - 1);
17182
17182
  }), !o)
17183
17183
  return !1;
17184
17184
  const s = /* @__PURE__ */ new Date();
@@ -17744,19 +17744,19 @@ function fL(e, { slots: t, emit: a }) {
17744
17744
  masks: p,
17745
17745
  minDate: w,
17746
17746
  maxDate: k,
17747
- disabledAttribute: x,
17747
+ disabledAttribute: S,
17748
17748
  disabledDates: T
17749
17749
  } = uL(e), A = b(() => e.rows * e.columns), R = b(() => e.step || A.value), X = b(() => xp(c.value) ?? null), O = b(() => Ar(c.value) ?? null), Y = b(
17750
17750
  () => e.minPage || (w.value ? ve(w.value) : null)
17751
17751
  ), Z = b(
17752
17752
  () => e.maxPage || (k.value ? ve(k.value) : null)
17753
- ), S = b(() => e.navVisibility), E = b(() => !!e.showWeeknumbers), I = b(() => !!e.showIsoWeeknumbers), P = b(() => l.value === "monthly"), F = b(() => l.value === "weekly"), U = b(() => l.value === "daily"), te = () => {
17753
+ ), x = b(() => e.navVisibility), E = b(() => !!e.showWeeknumbers), I = b(() => !!e.showIsoWeeknumbers), P = b(() => l.value === "monthly"), F = b(() => l.value === "weekly"), U = b(() => l.value === "daily"), te = () => {
17754
17754
  o.value = !0, a("transition-start");
17755
17755
  }, q = () => {
17756
17756
  o.value = !1, a("transition-end"), d && (d.resolve(!0), d = null);
17757
17757
  }, ce = (j, M, G = l.value) => Op(j, M, G, g.value), ve = (j) => Mp(j, l.value, g.value), ae = (j) => {
17758
- !x.value || !Ye.value || (j.isDisabled = Ye.value.cellExists(
17759
- x.value.key,
17758
+ !S.value || !Ye.value || (j.isDisabled = Ye.value.cellExists(
17759
+ S.value.key,
17760
17760
  j.dayIndex
17761
17761
  ));
17762
17762
  }, ne = (j) => {
@@ -17781,7 +17781,7 @@ function fL(e, { slots: t, emit: a }) {
17781
17781
  g.value
17782
17782
  )
17783
17783
  );
17784
- }), x.value && j.push(x.value), j;
17784
+ }), S.value && j.push(S.value), j;
17785
17785
  }), Ne = b(() => an(Te.value)), Ye = b(() => {
17786
17786
  const j = new j6();
17787
17787
  return Te.value.forEach((M) => {
@@ -17808,8 +17808,8 @@ function fL(e, { slots: t, emit: a }) {
17808
17808
  return La(j) ? j : ve(/* @__PURE__ */ new Date());
17809
17809
  }, pe = (j, M = {}) => {
17810
17810
  const { view: G = l.value, position: he = 1, force: $e } = M, st = he > 0 ? 1 - he : -(A.value + he);
17811
- let kt = ce(j, st, G), vt = ce(kt, A.value - 1, G);
17812
- return $e || (wu(kt, Y.value) ? kt = Y.value : $l(vt, Z.value) && (kt = ce(Z.value, 1 - A.value)), vt = ce(kt, A.value - 1)), { fromPage: kt, toPage: vt };
17811
+ let kt = ce(j, st, G), ft = ce(kt, A.value - 1, G);
17812
+ return $e || (wu(kt, Y.value) ? kt = Y.value : $l(ft, Z.value) && (kt = ce(Z.value, 1 - A.value)), ft = ce(kt, A.value - 1)), { fromPage: kt, toPage: ft };
17813
17813
  }, me = (j, M, G = "") => {
17814
17814
  if (G === "none" || G === "fade")
17815
17815
  return G;
@@ -17818,12 +17818,12 @@ function fL(e, { slots: t, emit: a }) {
17818
17818
  const he = $l(M, j), $e = wu(M, j);
17819
17819
  return !he && !$e ? "fade" : G === "slide-v" ? $e ? "slide-down" : "slide-up" : $e ? "slide-right" : "slide-left";
17820
17820
  }, ge = (j = {}) => new Promise((M, G) => {
17821
- const { position: he = 1, force: $e = !1, transition: st } = j, kt = La(j.page) ? j.page : et(), { fromPage: vt } = pe(kt, {
17821
+ const { position: he = 1, force: $e = !1, transition: st } = j, kt = La(j.page) ? j.page : et(), { fromPage: ft } = pe(kt, {
17822
17822
  position: he,
17823
17823
  force: $e
17824
17824
  }), Ia = [];
17825
17825
  for (let Ea = 0; Ea < A.value; Ea++) {
17826
- const Qa = ce(vt, Ea), wt = Ea + 1, oe = Math.ceil(wt / e.columns), Se = e.rows - oe + 1, ke = wt % e.columns || e.columns, B = e.columns - ke + 1, V = Ze(ke, B);
17826
+ const Qa = ce(ft, Ea), wt = Ea + 1, oe = Math.ceil(wt / e.columns), Se = e.rows - oe + 1, ke = wt % e.columns || e.columns, B = e.columns - ke + 1, V = Ze(ke, B);
17827
17827
  Ia.push(
17828
17828
  g.value.getPage({
17829
17829
  ...Qa,
@@ -17871,7 +17871,7 @@ function fL(e, { slots: t, emit: a }) {
17871
17871
  page: M.fromPage,
17872
17872
  position: 1,
17873
17873
  force: !0
17874
- }), a("did-move", c.value)), !0), ft = (j, M = {}) => gt(K(j), M), Xe = () => ft(-R.value), lt = () => ft(R.value), Tt = (j) => {
17874
+ }), a("did-move", c.value)), !0), dt = (j, M = {}) => gt(K(j), M), Xe = () => dt(-R.value), lt = () => dt(R.value), Tt = (j) => {
17875
17875
  const M = P.value ? ".in-month" : "", G = `.id-${g.value.getDayId(j)}${M}`, he = `${G}.vc-focusable, ${G} .vc-focusable`, $e = n.value;
17876
17876
  if ($e) {
17877
17877
  const st = $e.querySelector(he);
@@ -17991,7 +17991,7 @@ function fL(e, { slots: t, emit: a }) {
17991
17991
  locale: g,
17992
17992
  masks: p,
17993
17993
  attributes: Te,
17994
- disabledAttribute: x,
17994
+ disabledAttribute: S,
17995
17995
  disabledDates: T,
17996
17996
  attributeContext: Ye,
17997
17997
  days: Ie,
@@ -18007,14 +18007,14 @@ function fL(e, { slots: t, emit: a }) {
18007
18007
  isMonthly: P,
18008
18008
  isWeekly: F,
18009
18009
  isDaily: U,
18010
- navVisibility: S,
18010
+ navVisibility: x,
18011
18011
  showWeeknumbers: E,
18012
18012
  showIsoWeeknumbers: I,
18013
18013
  getDateAddress: ve,
18014
18014
  canMove: xe,
18015
18015
  canMoveBy: Be,
18016
18016
  move: gt,
18017
- moveBy: ft,
18017
+ moveBy: dt,
18018
18018
  movePrev: Xe,
18019
18019
  moveNext: lt,
18020
18020
  onTransitionBeforeEnter: te,
@@ -18102,7 +18102,7 @@ const vL = le({
18102
18102
  i && (i.destroy(), i = null);
18103
18103
  }
18104
18104
  function d() {
18105
- ct(() => {
18105
+ vt(() => {
18106
18106
  const q = yl(o.target);
18107
18107
  !q || !n.value || (i && i.state.elements.reference !== q && f(), i ? i.update() : i = sT(
18108
18108
  q,
@@ -18148,7 +18148,7 @@ const vL = le({
18148
18148
  function k(q) {
18149
18149
  (q.key === "Esc" || q.key === "Escape") && g();
18150
18150
  }
18151
- function x({ detail: q }) {
18151
+ function S({ detail: q }) {
18152
18152
  !q.id || q.id !== e.id || h(q);
18153
18153
  }
18154
18154
  function T({ detail: q }) {
@@ -18158,10 +18158,10 @@ const vL = le({
18158
18158
  !q.id || q.id !== e.id || p(q);
18159
18159
  }
18160
18160
  function R() {
18161
- Sn(document, "keydown", k), Sn(document, "click", w), Sn(document, "show-popover", x), Sn(document, "hide-popover", T), Sn(document, "toggle-popover", A);
18161
+ Sn(document, "keydown", k), Sn(document, "click", w), Sn(document, "show-popover", S), Sn(document, "hide-popover", T), Sn(document, "toggle-popover", A);
18162
18162
  }
18163
18163
  function X() {
18164
- $n(document, "keydown", k), $n(document, "click", w), $n(document, "show-popover", x), $n(document, "hide-popover", T), $n(document, "toggle-popover", A);
18164
+ $n(document, "keydown", k), $n(document, "click", w), $n(document, "show-popover", S), $n(document, "hide-popover", T), $n(document, "toggle-popover", A);
18165
18165
  }
18166
18166
  function O(q) {
18167
18167
  t("before-show", q);
@@ -18172,7 +18172,7 @@ const vL = le({
18172
18172
  function Z(q) {
18173
18173
  t("before-hide", q);
18174
18174
  }
18175
- function S(q) {
18175
+ function x(q) {
18176
18176
  o.force = !1, f(), t("after-hide", q);
18177
18177
  }
18178
18178
  function E(q) {
@@ -18218,7 +18218,7 @@ const vL = le({
18218
18218
  beforeEnter: O,
18219
18219
  afterEnter: Y,
18220
18220
  beforeLeave: Z,
18221
- afterLeave: S,
18221
+ afterLeave: x,
18222
18222
  onClick: E,
18223
18223
  onMouseOver: I,
18224
18224
  onMouseLeave: P,
@@ -18651,7 +18651,7 @@ const _L = { class: "vc-nav-header" }, eB = ["disabled"], tB = ["disabled"], aB
18651
18651
  F.value && (o.value && p(), k());
18652
18652
  }
18653
18653
  function g() {
18654
- U.value && (o.value && w(), x());
18654
+ U.value && (o.value && w(), S());
18655
18655
  }
18656
18656
  function p() {
18657
18657
  s.value--;
@@ -18662,7 +18662,7 @@ const _L = { class: "vc-nav-header" }, eB = ["disabled"], tB = ["disabled"], aB
18662
18662
  function k() {
18663
18663
  l.value--;
18664
18664
  }
18665
- function x() {
18665
+ function S() {
18666
18666
  l.value++;
18667
18667
  }
18668
18668
  const T = b(
@@ -18696,7 +18696,7 @@ const _L = { class: "vc-nav-header" }, eB = ["disabled"], tB = ["disabled"], aB
18696
18696
  y(l.value - 1),
18697
18697
  C(l.value - 1)
18698
18698
  )
18699
- ), S = b(
18699
+ ), x = b(
18700
18700
  () => Z.value.some((ve) => !ve.isDisabled)
18701
18701
  ), E = b(
18702
18702
  () => i(
@@ -18708,7 +18708,7 @@ const _L = { class: "vc-nav-header" }, eB = ["disabled"], tB = ["disabled"], aB
18708
18708
  ), P = b(
18709
18709
  () => o.value ? T.value : Y.value
18710
18710
  ), F = b(
18711
- () => o.value ? R.value : S.value
18711
+ () => o.value ? R.value : x.value
18712
18712
  ), U = b(
18713
18713
  () => o.value ? O.value : I.value
18714
18714
  ), te = b(() => xp(Y.value.map((ve) => ve.year))), q = b(() => Ar(Y.value.map((ve) => ve.year))), ce = b(() => o.value ? s.value : `${te.value} - ${q.value}`);
@@ -18876,7 +18876,7 @@ const _L = { class: "vc-nav-header" }, eB = ["disabled"], tB = ["disabled"], aB
18876
18876
  return d.value.forEach((P) => {
18877
18877
  a.value.render(P, I), C(P, I);
18878
18878
  }), I;
18879
- }), g = b(() => h.value.highlights), p = b(() => !!an(g.value)), w = b(() => h.value.content), k = b(() => h.value.dots), x = b(() => !!an(k.value)), T = b(() => h.value.bars), A = b(() => !!an(T.value)), R = b(() => h.value.popovers), X = b(
18879
+ }), g = b(() => h.value.highlights), p = b(() => !!an(g.value)), w = b(() => h.value.content), k = b(() => h.value.dots), S = b(() => !!an(k.value)), T = b(() => h.value.bars), A = b(() => !!an(T.value)), R = b(() => h.value.popovers), X = b(
18880
18880
  () => R.value.map((I) => I.attribute)
18881
18881
  ), O = a1("day-content"), Y = b(() => [
18882
18882
  "vc-day",
@@ -18903,7 +18903,7 @@ const _L = { class: "vc-nav-header" }, eB = ["disabled"], tB = ["disabled"], aB
18903
18903
  "aria-disabled": !!f.value.isDisabled,
18904
18904
  role: "button"
18905
18905
  };
18906
- }), S = b(() => ({
18906
+ }), x = b(() => ({
18907
18907
  click(I) {
18908
18908
  i(y.value, I);
18909
18909
  },
@@ -18935,11 +18935,11 @@ const _L = { class: "vc-nav-header" }, eB = ["disabled"], tB = ["disabled"], aB
18935
18935
  bars: T,
18936
18936
  dayClasses: Y,
18937
18937
  dayContentProps: Z,
18938
- dayContentEvents: S,
18938
+ dayContentEvents: x,
18939
18939
  dayPopover: E,
18940
18940
  glyphs: h,
18941
18941
  dots: k,
18942
- hasDots: x,
18942
+ hasDots: S,
18943
18943
  hasBars: A,
18944
18944
  highlights: g,
18945
18945
  hasHighlights: p,
@@ -19200,7 +19200,7 @@ function SB(e, { emit: t, slots: a }) {
19200
19200
  () => g.value && l.value != null ? l.value.start : null
19201
19201
  ), w = b(
19202
19202
  () => g.value && l.value != null ? l.value.end : null
19203
- ), k = b(() => e.mode.toLowerCase() === "date"), x = b(
19203
+ ), k = b(() => e.mode.toLowerCase() === "date"), S = b(
19204
19204
  () => e.mode.toLowerCase() === "datetime"
19205
19205
  ), T = b(() => e.mode.toLowerCase() === "time"), A = b(() => !!c.value), R = b(() => {
19206
19206
  let M = "date";
@@ -19209,9 +19209,9 @@ function SB(e, { emit: t, slots: a }) {
19209
19209
  return ae({ type: M, mask: G });
19210
19210
  }), X = b(
19211
19211
  () => Be(c.value ?? l.value)
19212
- ), O = b(() => T.value ? e.is24hr ? i.value.inputTime24hr : i.value.inputTime : x.value ? e.is24hr ? i.value.inputDateTime24hr : i.value.inputDateTime : i.value.input), Y = b(() => /[Hh]/g.test(O.value)), Z = b(
19212
+ ), O = b(() => T.value ? e.is24hr ? i.value.inputTime24hr : i.value.inputTime : S.value ? e.is24hr ? i.value.inputDateTime24hr : i.value.inputDateTime : i.value.input), Y = b(() => /[Hh]/g.test(O.value)), Z = b(
19213
19213
  () => /[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(O.value)
19214
- ), S = b(() => {
19214
+ ), x = b(() => {
19215
19215
  if (Y.value && Z.value)
19216
19216
  return "dateTime";
19217
19217
  if (Z.value)
@@ -19375,7 +19375,7 @@ function SB(e, { emit: t, slots: a }) {
19375
19375
  clearIfEqual: $e = !1,
19376
19376
  formatInput: st = !0,
19377
19377
  hidePopover: kt = !1,
19378
- dragging: vt = A.value,
19378
+ dragging: ft = A.value,
19379
19379
  targetPriority: Ia,
19380
19380
  moveToValue: Ea = !1
19381
19381
  } = {}) {
@@ -19387,23 +19387,23 @@ function SB(e, { emit: t, slots: a }) {
19387
19387
  Ia
19388
19388
  );
19389
19389
  if (Ye(wt)) {
19390
- if (vt)
19390
+ if (ft)
19391
19391
  return null;
19392
19392
  wt = l.value, kt = !1;
19393
19393
  } else wt == null && e.isRequired ? wt = l.value : (
19394
19394
  // Clear value if same value was passed
19395
19395
  wt != null && Ne(l.value, wt) && $e && (wt = null)
19396
19396
  );
19397
- const Se = vt ? c : l, ke = !Ne(Se.value, wt);
19398
- Se.value = wt, vt || (c.value = null);
19397
+ const Se = ft ? c : l, ke = !Ne(Se.value, wt);
19398
+ Se.value = wt, ft || (c.value = null);
19399
19399
  const B = Ze(
19400
19400
  wt,
19401
19401
  R.value
19402
19402
  );
19403
- return ke && (h = !1, t(vt ? "drag" : "update:modelValue", B), ct(() => h = !0)), kt && !vt && Pt(), st && pe(), Ea && ct(() => fe(Ia ?? "start")), B;
19403
+ return ke && (h = !1, t(ft ? "drag" : "update:modelValue", B), vt(() => h = !0)), kt && !ft && Pt(), st && pe(), Ea && vt(() => fe(Ia ?? "start")), B;
19404
19404
  }
19405
19405
  function pe() {
19406
- ct(() => {
19406
+ vt(() => {
19407
19407
  const M = ne({
19408
19408
  type: "string",
19409
19409
  mask: O.value
@@ -19426,7 +19426,7 @@ function SB(e, { emit: t, slots: a }) {
19426
19426
  _e($e, {
19427
19427
  ...he,
19428
19428
  config: st,
19429
- patch: S.value,
19429
+ patch: x.value,
19430
19430
  targetPriority: G,
19431
19431
  moveToValue: !0
19432
19432
  });
@@ -19469,7 +19469,7 @@ function SB(e, { emit: t, slots: a }) {
19469
19469
  function gt(M) {
19470
19470
  t("popover-did-show", M);
19471
19471
  }
19472
- function ft(M) {
19472
+ function dt(M) {
19473
19473
  Me(), t("popover-will-hide", M);
19474
19474
  }
19475
19475
  function Xe(M) {
@@ -19562,8 +19562,8 @@ function SB(e, { emit: t, slots: a }) {
19562
19562
  const he = l.value;
19563
19563
  if (v.value == null || !Te(he))
19564
19564
  return !1;
19565
- const $e = M !== "end", st = $e ? 1 : -1, kt = Ie(he) ? $e ? he.start : he.end : he, vt = Mp(kt, "monthly", r.value);
19566
- return v.value.move(vt, { position: st, ...G });
19565
+ const $e = M !== "end", st = $e ? 1 : -1, kt = Ie(he) ? $e ? he.start : he.end : he, ft = Mp(kt, "monthly", r.value);
19566
+ return v.value.move(ft, { position: st, ...G });
19567
19567
  }
19568
19568
  ie(
19569
19569
  () => e.isRange,
@@ -19613,7 +19613,7 @@ function SB(e, { emit: t, slots: a }) {
19613
19613
  formatInput: !0,
19614
19614
  hidePopover: !1
19615
19615
  });
19616
- }), ct(() => u.value = !0);
19616
+ }), vt(() => u.value = !0);
19617
19617
  const j = {
19618
19618
  ...n,
19619
19619
  showCalendar: u,
@@ -19623,7 +19623,7 @@ function SB(e, { emit: t, slots: a }) {
19623
19623
  calendarRef: v,
19624
19624
  isRange: g,
19625
19625
  isTimeMode: T,
19626
- isDateTimeMode: x,
19626
+ isDateTimeMode: S,
19627
19627
  is24hr: Yo(e, "is24hr"),
19628
19628
  hideTimeHeader: Yo(e, "hideTimeHeader"),
19629
19629
  timeAccuracy: Yo(e, "timeAccuracy"),
@@ -19645,7 +19645,7 @@ function SB(e, { emit: t, slots: a }) {
19645
19645
  onDayMouseEnter: Zt,
19646
19646
  onPopoverBeforeShow: je,
19647
19647
  onPopoverAfterShow: gt,
19648
- onPopoverBeforeHide: ft,
19648
+ onPopoverBeforeHide: dt,
19649
19649
  onPopoverAfterHide: Xe
19650
19650
  };
19651
19651
  return Bi(s1, j), j;
@@ -19699,13 +19699,13 @@ function DB(e) {
19699
19699
  } = t;
19700
19700
  function f(Z) {
19701
19701
  Z = Object.assign(v.value, Z);
19702
- let S = null;
19702
+ let x = null;
19703
19703
  if (n.value) {
19704
19704
  const E = d.value ? Z : i.value[0], I = d.value ? i.value[1] : Z;
19705
- S = { start: E, end: I };
19705
+ x = { start: E, end: I };
19706
19706
  } else
19707
- S = Z;
19708
- c(S, {
19707
+ x = Z;
19708
+ c(x, {
19709
19709
  patch: "time",
19710
19710
  targetPriority: d.value ? "start" : "end",
19711
19711
  moveToValue: !0
@@ -19739,7 +19739,7 @@ function DB(e) {
19739
19739
  set(Z) {
19740
19740
  f({ seconds: Z });
19741
19741
  }
19742
- }), x = b({
19742
+ }), S = b({
19743
19743
  get() {
19744
19744
  return v.value.milliseconds;
19745
19745
  },
@@ -19752,15 +19752,15 @@ function DB(e) {
19752
19752
  },
19753
19753
  set(Z) {
19754
19754
  Z = String(Z).toLowerCase() == "true";
19755
- let S = p.value;
19756
- Z && S >= 12 ? S -= 12 : !Z && S < 12 && (S += 12), f({ hours: S });
19755
+ let x = p.value;
19756
+ Z && x >= 12 ? x -= 12 : !Z && x < 12 && (x += 12), f({ hours: x });
19757
19757
  }
19758
19758
  }), A = b(
19759
19759
  () => KN(v.value, o.value[e.position])
19760
19760
  ), R = b(() => xB.filter(
19761
- (Z) => A.value.hours.some((S) => S.value === Z.value)
19761
+ (Z) => A.value.hours.some((x) => x.value === Z.value)
19762
19762
  )), X = b(() => TB.filter(
19763
- (Z) => A.value.hours.some((S) => S.value === Z.value)
19763
+ (Z) => A.value.hours.some((x) => x.value === Z.value)
19764
19764
  )), O = b(() => u.value ? A.value.hours : T.value ? R.value : X.value), Y = b(() => {
19765
19765
  const Z = [];
19766
19766
  return an(R.value) && Z.push({ value: !0, label: "AM" }), an(X.value) && Z.push({ value: !1, label: "PM" }), Z;
@@ -19775,7 +19775,7 @@ function DB(e) {
19775
19775
  hours: p,
19776
19776
  minutes: w,
19777
19777
  seconds: k,
19778
- milliseconds: x,
19778
+ milliseconds: S,
19779
19779
  options: A,
19780
19780
  hourOptions: O,
19781
19781
  isAM: T,
@@ -19883,7 +19883,7 @@ const AB = ["value"], IB = ["value", "disabled"], EB = {
19883
19883
  }),
19884
19884
  Q(ci, {
19885
19885
  modelValue: D(u),
19886
- "onUpdate:modelValue": k[0] || (k[0] = (x) => Cr(u) ? u.value = x : null),
19886
+ "onUpdate:modelValue": k[0] || (k[0] = (S) => Cr(u) ? u.value = S : null),
19887
19887
  modelModifiers: { number: !0 },
19888
19888
  options: D(d),
19889
19889
  class: "vc-time-select-hours",
@@ -19893,7 +19893,7 @@ const AB = ["value"], IB = ["value", "disabled"], EB = {
19893
19893
  FB,
19894
19894
  Q(ci, {
19895
19895
  modelValue: D(s),
19896
- "onUpdate:modelValue": k[1] || (k[1] = (x) => Cr(s) ? s.value = x : null),
19896
+ "onUpdate:modelValue": k[1] || (k[1] = (S) => Cr(s) ? s.value = S : null),
19897
19897
  modelModifiers: { number: !0 },
19898
19898
  options: D(f).minutes,
19899
19899
  class: "vc-time-select-minutes",
@@ -19904,7 +19904,7 @@ const AB = ["value"], IB = ["value", "disabled"], EB = {
19904
19904
  zB,
19905
19905
  Q(ci, {
19906
19906
  modelValue: D(l),
19907
- "onUpdate:modelValue": k[2] || (k[2] = (x) => Cr(l) ? l.value = x : null),
19907
+ "onUpdate:modelValue": k[2] || (k[2] = (S) => Cr(l) ? l.value = S : null),
19908
19908
  modelModifiers: { number: !0 },
19909
19909
  options: D(f).seconds,
19910
19910
  class: "vc-time-select-seconds",
@@ -19915,7 +19915,7 @@ const AB = ["value"], IB = ["value", "disabled"], EB = {
19915
19915
  YB,
19916
19916
  Q(ci, {
19917
19917
  modelValue: D(c),
19918
- "onUpdate:modelValue": k[3] || (k[3] = (x) => Cr(c) ? c.value = x : null),
19918
+ "onUpdate:modelValue": k[3] || (k[3] = (S) => Cr(c) ? c.value = S : null),
19919
19919
  modelModifiers: { number: !0 },
19920
19920
  options: D(f).milliseconds,
19921
19921
  class: "vc-time-select-milliseconds",
@@ -19925,7 +19925,7 @@ const AB = ["value"], IB = ["value", "disabled"], EB = {
19925
19925
  D(h) ? H("", !0) : (m(), J(ci, {
19926
19926
  key: 3,
19927
19927
  modelValue: D(y),
19928
- "onUpdate:modelValue": k[4] || (k[4] = (x) => Cr(y) ? y.value = x : null),
19928
+ "onUpdate:modelValue": k[4] || (k[4] = (S) => Cr(y) ? y.value = S : null),
19929
19929
  options: D(C)
19930
19930
  }, null, 8, ["modelValue", "options"]))
19931
19931
  ])
@@ -20060,7 +20060,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20060
20060
  modelConfig: y,
20061
20061
  selectAttribute: h,
20062
20062
  transparent: !0
20063
- })), f = b(() => ["time", "dateTime", "relativeDateTime"].includes(a.kDatePickerMode)), d = (k, x) => k > x, v = () => {
20063
+ })), f = b(() => ["time", "dateTime", "relativeDateTime"].includes(a.kDatePickerMode)), d = (k, S) => k > S, v = () => {
20064
20064
  if (n.value && f.value)
20065
20065
  if (a.isRange && n.value.start && n.value.end) {
20066
20066
  const k = n.value;
@@ -20088,44 +20088,44 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20088
20088
  ie(() => i.value, (k) => {
20089
20089
  if (k) {
20090
20090
  if (n.value && a.isRange && "start" in n.value && n.value.start instanceof Date && "end" in n.value && n.value.end instanceof Date) {
20091
- const x = /* @__PURE__ */ new Date(), T = k.split(":");
20092
- x.setHours(parseInt(T[0], 10), parseInt(T[1], 10), 0, 0), n.value.start.setHours(x.getHours(), x.getMinutes(), 0, 0), r.value = d(n.value.start, n.value.end);
20091
+ const S = /* @__PURE__ */ new Date(), T = k.split(":");
20092
+ S.setHours(parseInt(T[0], 10), parseInt(T[1], 10), 0, 0), n.value.start.setHours(S.getHours(), S.getMinutes(), 0, 0), r.value = d(n.value.start, n.value.end);
20093
20093
  } else if (n.value instanceof Date) {
20094
- const x = /* @__PURE__ */ new Date(), T = k.split(":");
20095
- x.setHours(parseInt(T[0], 10), parseInt(T[1], 10), 0, 0), n.value.setHours(x.getHours(), x.getMinutes(), x.getSeconds(), 0);
20094
+ const S = /* @__PURE__ */ new Date(), T = k.split(":");
20095
+ S.setHours(parseInt(T[0], 10), parseInt(T[1], 10), 0, 0), n.value.setHours(S.getHours(), S.getMinutes(), S.getSeconds(), 0);
20096
20096
  }
20097
20097
  }
20098
20098
  }), ie(() => o.value, (k) => {
20099
20099
  if (k && n.value && a.isRange && "end" in n.value && n.value.end instanceof Date && "start" in n.value && n.value.start instanceof Date) {
20100
- const x = /* @__PURE__ */ new Date(), T = k.split(":");
20101
- x.setHours(parseInt(T[0], 10), parseInt(T[1], 10), 0, 0), n.value.end.setHours(x.getHours(), x.getMinutes(), 0, 0), r.value = d(n.value.start, n.value.end);
20100
+ const S = /* @__PURE__ */ new Date(), T = k.split(":");
20101
+ S.setHours(parseInt(T[0], 10), parseInt(T[1], 10), 0, 0), n.value.end.setHours(S.getHours(), S.getMinutes(), 0, 0), r.value = d(n.value.start, n.value.end);
20102
20102
  }
20103
20103
  }), ie(() => n.value, () => {
20104
20104
  n.value && a.isRange && "start" in n.value && n.value.start instanceof Date && "end" in n.value && n.value.end instanceof Date ? (i.value = zt(n.value.start, "HH:mm"), o.value = zt(n.value.end, "HH:mm"), r.value = d(n.value.start, n.value.end)) : n.value instanceof Date && (i.value = zt(n.value, "HH:mm"));
20105
20105
  }, { immediate: !0, deep: !0 });
20106
20106
  const g = (k) => {
20107
- const x = n.value;
20108
- return a.isRange && x && k in x && x[k] instanceof Date;
20107
+ const S = n.value;
20108
+ return a.isRange && S && k in S && S[k] instanceof Date;
20109
20109
  }, p = () => {
20110
20110
  i.value = u.value.start, o.value = u.value.end;
20111
20111
  }, w = (k) => {
20112
20112
  try {
20113
20113
  return zt(k, "EEE MMM d yyyy");
20114
- } catch (x) {
20115
- console.warn("Error formatting date:", x);
20114
+ } catch (S) {
20115
+ console.warn("Error formatting date:", S);
20116
20116
  }
20117
20117
  };
20118
20118
  return t({
20119
20119
  resetTime: p,
20120
20120
  initTimeInputs: v
20121
- }), (k, x) => (m(), $("div", KB, [
20121
+ }), (k, S) => (m(), $("div", KB, [
20122
20122
  e.isRange ? (m(), J(D(Oh), Fe({ key: 0 }, c.value, {
20123
20123
  modelValue: n.value,
20124
- "onUpdate:modelValue": x[0] || (x[0] = (T) => n.value = T),
20124
+ "onUpdate:modelValue": S[0] || (S[0] = (T) => n.value = T),
20125
20125
  modelModifiers: { range: !0 }
20126
20126
  }), null, 16, ["modelValue"])) : (m(), J(D(Oh), Fe({ key: 1 }, c.value, {
20127
20127
  modelValue: n.value,
20128
- "onUpdate:modelValue": x[1] || (x[1] = (T) => n.value = T)
20128
+ "onUpdate:modelValue": S[1] || (S[1] = (T) => n.value = T)
20129
20129
  }), null, 16, ["modelValue"])),
20130
20130
  f.value ? (m(), $("div", VB, [
20131
20131
  z("div", jB, [
@@ -20137,7 +20137,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20137
20137
  ], 8, GB),
20138
20138
  ga(z("input", {
20139
20139
  id: `time-input-start-${D(s)}`,
20140
- "onUpdate:modelValue": x[2] || (x[2] = (T) => i.value = T),
20140
+ "onUpdate:modelValue": S[2] || (S[2] = (T) => i.value = T),
20141
20141
  class: ue(["time-input-start", { "input-error": r.value }]),
20142
20142
  "data-testid": "time-input-start",
20143
20143
  step: 60,
@@ -20154,7 +20154,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20154
20154
  e.isRange ? ga((m(), $("input", {
20155
20155
  key: 0,
20156
20156
  id: `time-input-end-${D(s)}`,
20157
- "onUpdate:modelValue": x[3] || (x[3] = (T) => o.value = T),
20157
+ "onUpdate:modelValue": S[3] || (S[3] = (T) => o.value = T),
20158
20158
  class: ue(["time-input-end", { "input-error": r.value }]),
20159
20159
  "data-testid": "time-input-end",
20160
20160
  step: 60,
@@ -20203,7 +20203,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20203
20203
  },
20204
20204
  emits: ["change", "update:modelValue"],
20205
20205
  setup(e, { emit: t }) {
20206
- var S, E;
20206
+ var x, E;
20207
20207
  const a = t, n = N(null), r = b(() => e.mode !== Rl.Relative), i = b(() => K1.includes(e.mode) && !e.range), o = b(() => e.timePeriods.length > 0), u = b(() => p.tabName === "custom" || !o.value), s = N(!0), l = N(!1), c = N(0), f = {
20208
20208
  start: null,
20209
20209
  end: null
@@ -20215,7 +20215,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20215
20215
  popoverOpen: !1,
20216
20216
  selectedRange: { start: /* @__PURE__ */ new Date(), end: /* @__PURE__ */ new Date() },
20217
20217
  previouslySelectedRange: { start: /* @__PURE__ */ new Date(), end: /* @__PURE__ */ new Date() },
20218
- selectedTimeframe: (S = e.timePeriods[0]) == null ? void 0 : S.values[0],
20218
+ selectedTimeframe: (x = e.timePeriods[0]) == null ? void 0 : x.values[0],
20219
20219
  previouslySelectedTimeframe: (E = e.timePeriods[0]) == null ? void 0 : E.values[0],
20220
20220
  tabName: "relative"
20221
20221
  }), w = (I) => {
@@ -20234,7 +20234,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20234
20234
  } else
20235
20235
  p.fullRangeDisplay = "";
20236
20236
  s.value = !1, P && A();
20237
- }, x = () => {
20237
+ }, S = () => {
20238
20238
  var I;
20239
20239
  v.value = f, d.value = null, p.abbreviatedDisplay = e.placeholder, p.fullRangeDisplay = "", o.value && (p.selectedTimeframe = (I = e.timePeriods[0]) == null ? void 0 : I.values[0]), p.selectedRange = p.previouslySelectedRange = f, a("change", p.selectedRange), a("update:modelValue", p.selectedRange);
20240
20240
  }, T = (I, P) => {
@@ -20346,7 +20346,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20346
20346
  appearance: "tertiary",
20347
20347
  class: "action-button",
20348
20348
  "data-testid": "datetime-picker-clear",
20349
- onClick: P[4] || (P[4] = (F) => x())
20349
+ onClick: P[4] || (P[4] = (F) => S())
20350
20350
  }, {
20351
20351
  default: L(() => [...P[6] || (P[6] = [
20352
20352
  ye(" Clear ", -1)
@@ -20434,7 +20434,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20434
20434
  return h.value >= 1024 && h.value < 1024 * 1024 && (P = h.value / 1024, I = "KB"), h.value >= 1024 * 1024 && (P = h.value / (1024 * 1024), I = "MB"), `File size must be less than ${P}${I}.`;
20435
20435
  }
20436
20436
  return "";
20437
- }), h = b(() => e.maxFileSize || e.maxFileSize === 0 ? e.maxFileSize : 5 * 1024 * 1024), g = b(() => O.value || y.value || e.error), p = N(0), w = N(""), k = N(null), x = ht("dropzone"), T = (I) => {
20437
+ }), h = b(() => e.maxFileSize || e.maxFileSize === 0 ? e.maxFileSize : 5 * 1024 * 1024), g = b(() => O.value || y.value || e.error), p = N(0), w = N(""), k = N(null), S = ht("dropzone"), T = (I) => {
20438
20438
  var te, q, ce, ve, ae;
20439
20439
  O.value = !1;
20440
20440
  const P = I.target.files, F = (te = P[0]) == null ? void 0 : te.size;
@@ -20459,10 +20459,10 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20459
20459
  return I.type.startsWith(F);
20460
20460
  } else
20461
20461
  return I.type === P;
20462
- }), Z = b(() => O.value ? `Unsupported file type. Please upload one of the following: ${e.accept.join(", ")}` : ""), S = (I) => {
20462
+ }), Z = b(() => O.value ? `Unsupported file type. Please upload one of the following: ${e.accept.join(", ")}` : ""), x = (I) => {
20463
20463
  var P, F, U, te, q;
20464
20464
  if (!e.disabled) {
20465
- E.value ? (P = x.value) == null || P.focus() : (U = (F = l.value) == null ? void 0 : F.input) == null || U.focus(), X.value = !1;
20465
+ E.value ? (P = S.value) == null || P.focus() : (U = (F = l.value) == null ? void 0 : F.input) == null || U.focus(), X.value = !1;
20466
20466
  const ce = (te = I.dataTransfer) == null ? void 0 : te.files;
20467
20467
  if (ce && ce.length) {
20468
20468
  const ve = (q = ce[0]) == null ? void 0 : q.size;
@@ -20480,7 +20480,7 @@ const Oh = /* @__PURE__ */ Rn(WB, [["render", UB]]), KB = { class: "calendar-wra
20480
20480
  role: e.disabled ? void 0 : "region",
20481
20481
  onDragleave: P[0] || (P[0] = Ve((F) => X.value = !1, ["prevent"])),
20482
20482
  onDragover: P[1] || (P[1] = Ve((F) => X.value = !0, ["prevent"])),
20483
- onDrop: Ve(S, ["prevent"])
20483
+ onDrop: Ve(x, ["prevent"])
20484
20484
  }), [
20485
20485
  e.label ? (m(), J(Ua, Fe({ key: 0 }, e.labelAttributes, {
20486
20486
  id: E.value ? `file-upload-dropzone-label-${u.value}` : void 0,
@@ -21021,58 +21021,58 @@ var Bh = {
21021
21021
  delayInitialFocusTimer: void 0,
21022
21022
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
21023
21023
  recentNavEvent: void 0
21024
- }, u, s = function(S, E, I) {
21025
- return S && S[E] !== void 0 ? S[E] : i[I || E];
21026
- }, l = function(S, E) {
21024
+ }, u, s = function(x, E, I) {
21025
+ return x && x[E] !== void 0 ? x[E] : i[I || E];
21026
+ }, l = function(x, E) {
21027
21027
  var I = typeof (E == null ? void 0 : E.composedPath) == "function" ? E.composedPath() : void 0;
21028
21028
  return o.containerGroups.findIndex(function(P) {
21029
21029
  var F = P.container, U = P.tabbableNodes;
21030
- return F.contains(S) || // fall back to explicit tabbable search which will take into consideration any
21030
+ return F.contains(x) || // fall back to explicit tabbable search which will take into consideration any
21031
21031
  // web components if the `tabbableOptions.getShadowRoot` option was used for
21032
21032
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
21033
21033
  // look inside web components even if open)
21034
21034
  (I == null ? void 0 : I.includes(F)) || U.find(function(te) {
21035
- return te === S;
21035
+ return te === x;
21036
21036
  });
21037
21037
  });
21038
- }, c = function(S) {
21039
- var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = E.hasFallback, P = I === void 0 ? !1 : I, F = E.params, U = F === void 0 ? [] : F, te = i[S];
21038
+ }, c = function(x) {
21039
+ var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = E.hasFallback, P = I === void 0 ? !1 : I, F = E.params, U = F === void 0 ? [] : F, te = i[x];
21040
21040
  if (typeof te == "function" && (te = te.apply(void 0, GR(U))), te === !0 && (te = void 0), !te) {
21041
21041
  if (te === void 0 || te === !1)
21042
21042
  return te;
21043
- throw new Error("`".concat(S, "` was specified but was not a node, or did not return a node"));
21043
+ throw new Error("`".concat(x, "` was specified but was not a node, or did not return a node"));
21044
21044
  }
21045
21045
  var q = te;
21046
21046
  if (typeof te == "string") {
21047
21047
  try {
21048
21048
  q = n.querySelector(te);
21049
21049
  } catch (ce) {
21050
- throw new Error("`".concat(S, '` appears to be an invalid selector; error="').concat(ce.message, '"'));
21050
+ throw new Error("`".concat(x, '` appears to be an invalid selector; error="').concat(ce.message, '"'));
21051
21051
  }
21052
21052
  if (!q && !P)
21053
- throw new Error("`".concat(S, "` as selector refers to no known node"));
21053
+ throw new Error("`".concat(x, "` as selector refers to no known node"));
21054
21054
  }
21055
21055
  return q;
21056
21056
  }, f = function() {
21057
- var S = c("initialFocus", {
21057
+ var x = c("initialFocus", {
21058
21058
  hasFallback: !0
21059
21059
  });
21060
- if (S === !1)
21060
+ if (x === !1)
21061
21061
  return !1;
21062
- if (S === void 0 || S && !Fs(S, i.tabbableOptions))
21062
+ if (x === void 0 || x && !Fs(x, i.tabbableOptions))
21063
21063
  if (l(n.activeElement) >= 0)
21064
- S = n.activeElement;
21064
+ x = n.activeElement;
21065
21065
  else {
21066
21066
  var E = o.tabbableGroups[0], I = E && E.firstTabbableNode;
21067
- S = I || c("fallbackFocus");
21067
+ x = I || c("fallbackFocus");
21068
21068
  }
21069
- else S === null && (S = c("fallbackFocus"));
21070
- if (!S)
21069
+ else x === null && (x = c("fallbackFocus"));
21070
+ if (!x)
21071
21071
  throw new Error("Your focus-trap needs to have at least one focusable element");
21072
- return S;
21072
+ return x;
21073
21073
  }, d = function() {
21074
- if (o.containerGroups = o.containers.map(function(S) {
21075
- var E = HR(S, i.tabbableOptions), I = qR(S, i.tabbableOptions), P = E.length > 0 ? E[0] : void 0, F = E.length > 0 ? E[E.length - 1] : void 0, U = I.find(function(ce) {
21074
+ if (o.containerGroups = o.containers.map(function(x) {
21075
+ var E = HR(x, i.tabbableOptions), I = qR(x, i.tabbableOptions), P = E.length > 0 ? E[0] : void 0, F = E.length > 0 ? E[E.length - 1] : void 0, U = I.find(function(ce) {
21076
21076
  return yr(ce);
21077
21077
  }), te = I.slice().reverse().find(function(ce) {
21078
21078
  return yr(ce);
@@ -21080,7 +21080,7 @@ var Bh = {
21080
21080
  return Un(ce) > 0;
21081
21081
  });
21082
21082
  return {
21083
- container: S,
21083
+ container: x,
21084
21084
  tabbableNodes: E,
21085
21085
  focusableNodes: I,
21086
21086
  /** True if at least one node with positive `tabindex` was found in this container. */
@@ -21117,35 +21117,35 @@ var Bh = {
21117
21117
  }) : E[ne + (ae ? 1 : -1)];
21118
21118
  }
21119
21119
  };
21120
- }), o.tabbableGroups = o.containerGroups.filter(function(S) {
21121
- return S.tabbableNodes.length > 0;
21120
+ }), o.tabbableGroups = o.containerGroups.filter(function(x) {
21121
+ return x.tabbableNodes.length > 0;
21122
21122
  }), o.tabbableGroups.length <= 0 && !c("fallbackFocus"))
21123
21123
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
21124
- if (o.containerGroups.find(function(S) {
21125
- return S.posTabIndexesFound;
21124
+ if (o.containerGroups.find(function(x) {
21125
+ return x.posTabIndexesFound;
21126
21126
  }) && o.containerGroups.length > 1)
21127
21127
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
21128
- }, v = function(S) {
21129
- var E = S.activeElement;
21128
+ }, v = function(x) {
21129
+ var E = x.activeElement;
21130
21130
  if (E)
21131
21131
  return E.shadowRoot && E.shadowRoot.activeElement !== null ? v(E.shadowRoot) : E;
21132
- }, y = function(S) {
21133
- if (S !== !1 && S !== v(document)) {
21134
- if (!S || !S.focus) {
21132
+ }, y = function(x) {
21133
+ if (x !== !1 && x !== v(document)) {
21134
+ if (!x || !x.focus) {
21135
21135
  y(f());
21136
21136
  return;
21137
21137
  }
21138
- S.focus({
21138
+ x.focus({
21139
21139
  preventScroll: !!i.preventScroll
21140
- }), o.mostRecentlyFocusedNode = S, JR(S) && S.select();
21140
+ }), o.mostRecentlyFocusedNode = x, JR(x) && x.select();
21141
21141
  }
21142
- }, C = function(S) {
21142
+ }, C = function(x) {
21143
21143
  var E = c("setReturnFocus", {
21144
- params: [S]
21144
+ params: [x]
21145
21145
  });
21146
- return E || (E === !1 ? !1 : S);
21147
- }, h = function(S) {
21148
- var E = S.target, I = S.event, P = S.isBackward, F = P === void 0 ? !1 : P;
21146
+ return E || (E === !1 ? !1 : x);
21147
+ }, h = function(x) {
21148
+ var E = x.target, I = x.event, P = x.isBackward, F = P === void 0 ? !1 : P;
21149
21149
  E = E || Lo(I), d();
21150
21150
  var U = null;
21151
21151
  if (o.tabbableGroups.length > 0) {
@@ -21174,10 +21174,10 @@ var Bh = {
21174
21174
  } else
21175
21175
  U = c("fallbackFocus");
21176
21176
  return U;
21177
- }, g = function(S) {
21178
- var E = Lo(S);
21179
- if (!(l(E, S) >= 0)) {
21180
- if (di(i.clickOutsideDeactivates, S)) {
21177
+ }, g = function(x) {
21178
+ var E = Lo(x);
21179
+ if (!(l(E, x) >= 0)) {
21180
+ if (di(i.clickOutsideDeactivates, x)) {
21181
21181
  u.deactivate({
21182
21182
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
21183
21183
  // which will result in the outside click setting focus to the node
@@ -21189,14 +21189,14 @@ var Bh = {
21189
21189
  });
21190
21190
  return;
21191
21191
  }
21192
- di(i.allowOutsideClick, S) || S.preventDefault();
21192
+ di(i.allowOutsideClick, x) || x.preventDefault();
21193
21193
  }
21194
- }, p = function(S) {
21195
- var E = Lo(S), I = l(E, S) >= 0;
21194
+ }, p = function(x) {
21195
+ var E = Lo(x), I = l(E, x) >= 0;
21196
21196
  if (I || E instanceof Document)
21197
21197
  I && (o.mostRecentlyFocusedNode = E);
21198
21198
  else {
21199
- S.stopImmediatePropagation();
21199
+ x.stopImmediatePropagation();
21200
21200
  var P, F = !0;
21201
21201
  if (o.mostRecentlyFocusedNode)
21202
21202
  if (Un(o.mostRecentlyFocusedNode) > 0) {
@@ -21223,21 +21223,21 @@ var Bh = {
21223
21223
  })), y(P || o.mostRecentlyFocusedNode || f());
21224
21224
  }
21225
21225
  o.recentNavEvent = void 0;
21226
- }, w = function(S) {
21226
+ }, w = function(x) {
21227
21227
  var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
21228
- o.recentNavEvent = S;
21228
+ o.recentNavEvent = x;
21229
21229
  var I = h({
21230
- event: S,
21230
+ event: x,
21231
21231
  isBackward: E
21232
21232
  });
21233
- I && (Ci(S) && S.preventDefault(), y(I));
21234
- }, k = function(S) {
21235
- (i.isKeyForward(S) || i.isKeyBackward(S)) && w(S, i.isKeyBackward(S));
21236
- }, x = function(S) {
21237
- _R(S) && di(i.escapeDeactivates, S) !== !1 && (S.preventDefault(), u.deactivate());
21238
- }, T = function(S) {
21239
- var E = Lo(S);
21240
- l(E, S) >= 0 || di(i.clickOutsideDeactivates, S) || di(i.allowOutsideClick, S) || (S.preventDefault(), S.stopImmediatePropagation());
21233
+ I && (Ci(x) && x.preventDefault(), y(I));
21234
+ }, k = function(x) {
21235
+ (i.isKeyForward(x) || i.isKeyBackward(x)) && w(x, i.isKeyBackward(x));
21236
+ }, S = function(x) {
21237
+ _R(x) && di(i.escapeDeactivates, x) !== !1 && (x.preventDefault(), u.deactivate());
21238
+ }, T = function(x) {
21239
+ var E = Lo(x);
21240
+ l(E, x) >= 0 || di(i.clickOutsideDeactivates, x) || di(i.allowOutsideClick, x) || (x.preventDefault(), x.stopImmediatePropagation());
21241
21241
  }, A = function() {
21242
21242
  if (o.active)
21243
21243
  return Bh.activateTrap(r, u), o.delayInitialFocusTimer = i.delayInitialFocus ? Rh(function() {
@@ -21254,12 +21254,12 @@ var Bh = {
21254
21254
  }), n.addEventListener("keydown", k, {
21255
21255
  capture: !0,
21256
21256
  passive: !1
21257
- }), n.addEventListener("keydown", x), u;
21257
+ }), n.addEventListener("keydown", S), u;
21258
21258
  }, R = function() {
21259
21259
  if (o.active)
21260
- return n.removeEventListener("focusin", p, !0), n.removeEventListener("mousedown", g, !0), n.removeEventListener("touchstart", g, !0), n.removeEventListener("click", T, !0), n.removeEventListener("keydown", k, !0), n.removeEventListener("keydown", x), u;
21261
- }, X = function(S) {
21262
- var E = S.some(function(I) {
21260
+ return n.removeEventListener("focusin", p, !0), n.removeEventListener("mousedown", g, !0), n.removeEventListener("touchstart", g, !0), n.removeEventListener("click", T, !0), n.removeEventListener("keydown", k, !0), n.removeEventListener("keydown", S), u;
21261
+ }, X = function(x) {
21262
+ var E = x.some(function(I) {
21263
21263
  var P = Array.from(I.removedNodes);
21264
21264
  return P.some(function(F) {
21265
21265
  return F === o.mostRecentlyFocusedNode;
@@ -21267,8 +21267,8 @@ var Bh = {
21267
21267
  });
21268
21268
  E && y(f());
21269
21269
  }, O = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(X) : void 0, Y = function() {
21270
- O && (O.disconnect(), o.active && !o.paused && o.containers.map(function(S) {
21271
- O.observe(S, {
21270
+ O && (O.disconnect(), o.active && !o.paused && o.containers.map(function(x) {
21271
+ O.observe(x, {
21272
21272
  subtree: !0,
21273
21273
  childList: !0
21274
21274
  });
@@ -21281,24 +21281,24 @@ var Bh = {
21281
21281
  get paused() {
21282
21282
  return o.paused;
21283
21283
  },
21284
- activate: function(S) {
21284
+ activate: function(x) {
21285
21285
  if (o.active)
21286
21286
  return this;
21287
- var E = s(S, "onActivate"), I = s(S, "onPostActivate"), P = s(S, "checkCanFocusTrap");
21287
+ var E = s(x, "onActivate"), I = s(x, "onPostActivate"), P = s(x, "checkCanFocusTrap");
21288
21288
  P || d(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = v(n), E == null || E();
21289
21289
  var F = function() {
21290
21290
  P && d(), A(), Y(), I == null || I();
21291
21291
  };
21292
21292
  return P ? (P(o.containers.concat()).then(F, F), this) : (F(), this);
21293
21293
  },
21294
- deactivate: function(S) {
21294
+ deactivate: function(x) {
21295
21295
  if (!o.active)
21296
21296
  return this;
21297
21297
  var E = Lh({
21298
21298
  onDeactivate: i.onDeactivate,
21299
21299
  onPostDeactivate: i.onPostDeactivate,
21300
21300
  checkCanReturnFocus: i.checkCanReturnFocus
21301
- }, S);
21301
+ }, x);
21302
21302
  clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, R(), o.active = !1, o.paused = !1, Y(), Bh.deactivateTrap(r, u);
21303
21303
  var I = s(E, "onDeactivate"), P = s(E, "onPostDeactivate"), F = s(E, "checkCanReturnFocus"), U = s(E, "returnFocus", "returnFocusOnDeactivate");
21304
21304
  I == null || I();
@@ -21309,14 +21309,14 @@ var Bh = {
21309
21309
  };
21310
21310
  return U && F ? (F(C(o.nodeFocusedBeforeActivation)).then(te, te), this) : (te(), this);
21311
21311
  },
21312
- pause: function(S) {
21313
- return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, S)) : this;
21312
+ pause: function(x) {
21313
+ return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, x)) : this;
21314
21314
  },
21315
- unpause: function(S) {
21316
- return o.active ? (o.manuallyPaused = !1, r[r.length - 1] !== this ? this : this._setPausedState(!1, S)) : this;
21315
+ unpause: function(x) {
21316
+ return o.active ? (o.manuallyPaused = !1, r[r.length - 1] !== this ? this : this._setPausedState(!1, x)) : this;
21317
21317
  },
21318
- updateContainerElements: function(S) {
21319
- var E = [].concat(S).filter(Boolean);
21318
+ updateContainerElements: function(x) {
21319
+ var E = [].concat(x).filter(Boolean);
21320
21320
  return o.containers = E.map(function(I) {
21321
21321
  return typeof I == "string" ? n.querySelector(I) : I;
21322
21322
  }), o.active && d(), Y(), this;
@@ -21328,10 +21328,10 @@ var Bh = {
21328
21328
  }
21329
21329
  },
21330
21330
  _setPausedState: {
21331
- value: function(S, E) {
21332
- if (o.paused === S)
21331
+ value: function(x, E) {
21332
+ if (o.paused === x)
21333
21333
  return this;
21334
- if (o.paused = S, S) {
21334
+ if (o.paused = x, x) {
21335
21335
  var I = s(E, "onPause"), P = s(E, "onPostPause");
21336
21336
  I == null || I(), R(), Y(), P == null || P();
21337
21337
  } else {
@@ -21483,23 +21483,23 @@ const rF = {
21483
21483
  }), d = b(() => !!e.title || !!n.title || !e.hideCloseIcon), v = (w) => {
21484
21484
  e.visible && e.closeOnEscape && w.key === "Escape" && y(!0);
21485
21485
  }, y = (w = !1, k) => {
21486
- var x, T;
21487
- (w || (T = (x = k == null ? void 0 : k.target) == null ? void 0 : x.classList) != null && T.contains("modal-backdrop") && e.closeOnBackdropClick && !i.text.value) && a("cancel");
21486
+ var S, T;
21487
+ (w || (T = (S = k == null ? void 0 : k.target) == null ? void 0 : S.classList) != null && T.contains("modal-backdrop") && e.closeOnBackdropClick && !i.text.value) && a("cancel");
21488
21488
  }, C = async (w) => {
21489
- var k, x;
21490
- w ? (await ct(), await new Promise((T) => setTimeout(T, 0)), (k = u.value) == null || k.activate()) : (x = u.value) == null || x.deactivate();
21489
+ var k, S;
21490
+ w ? (await vt(), await new Promise((T) => setTimeout(T, 0)), (k = u.value) == null || k.activate()) : (S = u.value) == null || S.deactivate();
21491
21491
  }, h = (w) => {
21492
21492
  typeof document < "u" && (w ? document == null || document.addEventListener("keydown", v) : document == null || document.removeEventListener("keydown", v));
21493
21493
  }, g = () => {
21494
- var k, x, T;
21495
- const w = (T = (x = (k = u.value) == null ? void 0 : k.$el) == null ? void 0 : x.querySelector(".modal-content")) == null ? void 0 : T.querySelectorAll("input");
21494
+ var k, S, T;
21495
+ const w = (T = (S = (k = u.value) == null ? void 0 : k.$el) == null ? void 0 : S.querySelector(".modal-content")) == null ? void 0 : T.querySelectorAll("input");
21496
21496
  w != null && w.length && Array.from(w).every((A) => !A.disabled && !A.readOnly ? (A.focus(), !1) : !0);
21497
21497
  };
21498
21498
  ie(() => e.visible, async (w) => {
21499
- var k, x;
21500
- w ? (await C(!0), e.inputAutofocus && g(), h(!0)) : (await C(!1), h(!1)), typeof document < "u" && ((x = (k = document == null ? void 0 : document.body) == null ? void 0 : k.classList) == null || x.toggle(o, w));
21499
+ var k, S;
21500
+ w ? (await C(!0), e.inputAutofocus && g(), h(!0)) : (await C(!1), h(!1)), typeof document < "u" && ((S = (k = document == null ? void 0 : document.body) == null ? void 0 : k.classList) == null || S.toggle(o, w));
21501
21501
  }, { immediate: !0 }), ie(() => e.inputAutofocus, async (w) => {
21502
- w && (await ct(), g());
21502
+ w && (await vt(), g());
21503
21503
  });
21504
21504
  const p = N(null);
21505
21505
  return nt(() => {
@@ -21519,7 +21519,7 @@ const rF = {
21519
21519
  ref_key: "modalWrapperElement",
21520
21520
  ref: s,
21521
21521
  class: ue(["modal-backdrop", { "modal-full-screen": e.fullScreen && !w.$slots.content }]),
21522
- onClick: k[3] || (k[3] = (x) => y(!1, x))
21522
+ onClick: k[3] || (k[3] = (S) => y(!1, S))
21523
21523
  }, [
21524
21524
  Q(D(iF), {
21525
21525
  ref_key: "focusTrapElement",
@@ -21546,7 +21546,7 @@ const rF = {
21546
21546
  class: "close-icon",
21547
21547
  "data-testid": "modal-close-icon",
21548
21548
  type: "button",
21549
- onClick: k[0] || (k[0] = (x) => w.$emit("cancel"))
21549
+ onClick: k[0] || (k[0] = (S) => w.$emit("cancel"))
21550
21550
  }, [
21551
21551
  Q(D(fa), {
21552
21552
  color: `var(--kui-color-text-neutral, ${D(za)})`,
@@ -21568,7 +21568,7 @@ const rF = {
21568
21568
  appearance: e.cancelButtonAppearance,
21569
21569
  "data-testid": "modal-cancel-button",
21570
21570
  disabled: e.cancelButtonDisabled,
21571
- onClick: k[1] || (k[1] = (x) => w.$emit("cancel"))
21571
+ onClick: k[1] || (k[1] = (S) => w.$emit("cancel"))
21572
21572
  }, {
21573
21573
  default: L(() => [
21574
21574
  ye(re(e.cancelButtonText), 1)
@@ -21579,7 +21579,7 @@ const rF = {
21579
21579
  appearance: e.actionButtonAppearance,
21580
21580
  "data-testid": "modal-action-button",
21581
21581
  disabled: e.actionButtonDisabled,
21582
- onClick: k[2] || (k[2] = (x) => w.$emit("proceed"))
21582
+ onClick: k[2] || (k[2] = (S) => w.$emit("proceed"))
21583
21583
  }, {
21584
21584
  default: L(() => [
21585
21585
  ye(re(e.actionButtonText), 1)
@@ -21683,7 +21683,7 @@ const rF = {
21683
21683
  setup(e, { emit: t }) {
21684
21684
  const a = e, n = t, r = N(null), i = b(() => !!a.isVisible);
21685
21685
  ie(() => a.isVisible, async () => {
21686
- typeof document > "u" || (i.value ? (document.body.style.overflow = "hidden", await ct(), r.value && r.value.focus()) : document.body.style.overflow = "");
21686
+ typeof document > "u" || (i.value ? (document.body.style.overflow = "hidden", await vt(), r.value && r.value.focus()) : document.body.style.overflow = "");
21687
21687
  });
21688
21688
  const o = (l) => {
21689
21689
  a.isVisible && (l.keyCode === 27 ? u() : l.keyCode === 13 && s());
@@ -22014,7 +22014,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22014
22014
  placement: "bottom-start",
22015
22015
  popoverTimeout: 0,
22016
22016
  popoverClasses: "k-multiselect-popover multiselect-popover"
22017
- }, C = N(0), h = N(0), g = bt(), p = b(() => r.id ? String(r.id) : g), w = bt(), k = ht("multiselectElement"), x = ht("multiselectDropdownInputElement"), T = ht("multiselectSelectionsStagingElement"), A = b(() => e.selectedRowCount * ez), R = N(""), X = b(() => !(!R.value || Y.value.filter((_) => _.label === R.value).length)), O = N(null), Y = N([]), Z = N([]), S = N([]), E = N([]), I = N([]), P = /* @__PURE__ */ new Set(), F = N([]), U = N([]), te = b(() => U.value.map((_) => _.label).join(", ")), q = N(!1), ce = N(!1), ve = N(!1), ae = b(() => (r == null ? void 0 : r.disabled) !== void 0 && String(r == null ? void 0 : r.disabled) !== "false"), ne = b(() => (r == null ? void 0 : r.readonly) !== void 0 && String(r == null ? void 0 : r.readonly) !== "false"), de = b({
22017
+ }, C = N(0), h = N(0), g = bt(), p = b(() => r.id ? String(r.id) : g), w = bt(), k = ht("multiselectElement"), S = ht("multiselectDropdownInputElement"), T = ht("multiselectSelectionsStagingElement"), A = b(() => e.selectedRowCount * ez), R = N(""), X = b(() => !(!R.value || Y.value.filter((_) => _.label === R.value).length)), O = N(null), Y = N([]), Z = N([]), x = N([]), E = N([]), I = N([]), P = /* @__PURE__ */ new Set(), F = N([]), U = N([]), te = b(() => U.value.map((_) => _.label).join(", ")), q = N(!1), ce = N(!1), ve = N(!1), ae = b(() => (r == null ? void 0 : r.disabled) !== void 0 && String(r == null ? void 0 : r.disabled) !== "false"), ne = b(() => (r == null ? void 0 : r.readonly) !== void 0 && String(r == null ? void 0 : r.readonly) !== "false"), de = b({
22018
22018
  get() {
22019
22019
  return e.modelValue;
22020
22020
  },
@@ -22043,13 +22043,13 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22043
22043
  })), _e = b(() => ({
22044
22044
  width: Rt.value + "px"
22045
22045
  })), et = b(() => {
22046
- if (S.value.length === 0) {
22046
+ if (x.value.length === 0) {
22047
22047
  if (!e.collapsedContext && e.placeholder)
22048
22048
  return e.placeholder;
22049
22049
  if (e.collapsedContext && e.searchPlaceholder)
22050
22050
  return e.searchPlaceholder;
22051
22051
  }
22052
- return S.value.length === 1 ? `${S.value.length} item selected` : `${S.value.length} items selected`;
22052
+ return x.value.length === 1 ? `${x.value.length} item selected` : `${x.value.length} items selected`;
22053
22053
  }), pe = b(() => e.autosuggest ? Y.value : e.filterFunction({ items: Y.value, query: R.value })), me = (_) => {
22054
22054
  var fe;
22055
22055
  (ae.value || ((fe = _ == null ? void 0 : _.target) == null ? void 0 : fe.dataset.propagateClicks) === "false") && _.stopPropagation();
@@ -22057,8 +22057,8 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22057
22057
  var j, M;
22058
22058
  if (_) {
22059
22059
  if (!fe.value) {
22060
- R.value = "", Ae(), ft(), await ct();
22061
- const G = (M = (j = x.value) == null ? void 0 : j.$el) == null ? void 0 : M.querySelector("input");
22060
+ R.value = "", Ae(), dt(), await vt();
22061
+ const G = (M = (j = S.value) == null ? void 0 : j.$el) == null ? void 0 : M.querySelector("input");
22062
22062
  G == null || G.focus({ preventScroll: !0 });
22063
22063
  }
22064
22064
  } else
@@ -22083,11 +22083,11 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22083
22083
  _.forEach((fe) => {
22084
22084
  var j;
22085
22085
  const Ae = ((j = Y.value.filter((M) => M.value === fe.value)) == null ? void 0 : j[0]) || null;
22086
- Ae.selected = !0, S.value.filter((M) => M.value === Ae.value).length || (S.value.push(Ae), E.value.push(Ae));
22086
+ Ae.selected = !0, x.value.filter((M) => M.value === Ae.value).length || (x.value.push(Ae), E.value.push(Ae));
22087
22087
  }), K();
22088
22088
  }, Be = (_, fe = !1) => {
22089
22089
  const Ae = new Set(_.map((j) => j.value));
22090
- S.value = S.value.filter((j) => !Ae.has(j.value)), E.value = E.value.filter((j) => !Ae.has(j.value)), I.value = I.value.filter((j) => !Ae.has(j.value)), _.forEach((j) => {
22090
+ x.value = x.value.filter((j) => !Ae.has(j.value)), E.value = E.value.filter((j) => !Ae.has(j.value)), I.value = I.value.filter((j) => !Ae.has(j.value)), _.forEach((j) => {
22091
22091
  if (P.delete(j.value), j.selected = !1, I.value.length) {
22092
22092
  const M = I.value.pop();
22093
22093
  M && (E.value.push(M), P.delete(M.value));
@@ -22097,19 +22097,19 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22097
22097
  }, Me = (_, fe) => {
22098
22098
  var G, he;
22099
22099
  let Ae = !1, j = fe ? _ : ((G = Y.value.filter(($e) => $e.value === _.value)) == null ? void 0 : G[0]) || null;
22100
- if (e.enableItemCreation && (j != null && j.custom) && (Ae = !0), j === null && (j = ((he = S.value.filter(($e) => $e.value === _.value)) == null ? void 0 : he[0]) || null), j === null)
22100
+ if (e.enableItemCreation && (j != null && j.custom) && (Ae = !0), j === null && (j = ((he = x.value.filter(($e) => $e.value === _.value)) == null ? void 0 : he[0]) || null), j === null)
22101
22101
  return;
22102
22102
  if (j.selected) {
22103
- if (S.value = S.value.filter(($e) => $e.value !== _.value), E.value.filter(($e) => $e.value === _.value).length ? E.value = E.value.filter(($e) => $e.value !== _.value) : P.delete(_.value) && (I.value = I.value.filter(($e) => $e.value !== _.value)), j.selected = !1, I.value.length) {
22103
+ if (x.value = x.value.filter(($e) => $e.value !== _.value), E.value.filter(($e) => $e.value === _.value).length ? E.value = E.value.filter(($e) => $e.value !== _.value) : P.delete(_.value) && (I.value = I.value.filter(($e) => $e.value !== _.value)), j.selected = !1, I.value.length) {
22104
22104
  const $e = I.value.pop();
22105
22105
  $e && (E.value.push($e), P.delete($e.value));
22106
22106
  }
22107
22107
  Ae && (Y.value = Y.value.filter(($e) => $e.value !== _.value), s("item-removed", _));
22108
22108
  } else
22109
- j.selected = !0, S.value.push(j), E.value.push(j), fe && (j.custom = !0, Y.value.push(j));
22109
+ j.selected = !0, x.value.push(j), E.value.push(j), fe && (j.custom = !0, Y.value.push(j));
22110
22110
  K();
22111
- const M = S.value.map(($e) => $e.value);
22112
- s("selected", S.value), s("change", j), s("update:modelValue", M);
22111
+ const M = x.value.map(($e) => $e.value);
22112
+ s("selected", x.value), s("change", j), s("update:modelValue", M);
22113
22113
  }, je = (_) => {
22114
22114
  e.enableItemCreation && gt(), _.preventDefault();
22115
22115
  }, gt = () => {
@@ -22122,15 +22122,15 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22122
22122
  key: `${(Ae = Tu(R.value.trim()).replace(/ /gi, "-")) == null ? void 0 : Ae.replace(/[^a-z0-9-_]/gi, "")}-${_}`
22123
22123
  };
22124
22124
  s("item-added", fe), Me(fe, !0), R.value = "";
22125
- }, ft = () => {
22125
+ }, dt = () => {
22126
22126
  const _ = pe.value.filter((G) => G.selected), fe = pe.value.filter((G) => !G.selected), Ae = [..._, ...fe], j = Ae.filter((G) => !G.group), M = Ae.filter((G) => G.group).sort((G, he) => G.group.toLowerCase().localeCompare(he.group.toLowerCase()));
22127
22127
  Z.value = [...j, ...M];
22128
22128
  }, Xe = () => {
22129
22129
  Y.value.forEach((fe) => {
22130
22130
  fe.disabled || (fe.selected = !1, fe.custom && s("item-removed", fe));
22131
- }), Y.value = Y.value.filter((fe) => !(fe.custom && !fe.disabled)), S.value = S.value.filter((fe) => fe.disabled), E.value = E.value.filter((fe) => fe.disabled), I.value = I.value.filter((fe) => (fe.disabled || P.delete(fe.value), fe.disabled)), R.value = "", K();
22132
- const _ = S.value.map((fe) => fe.value);
22133
- s("selected", S.value), s("update:modelValue", _), s("query-change", "");
22131
+ }), Y.value = Y.value.filter((fe) => !(fe.custom && !fe.disabled)), x.value = x.value.filter((fe) => fe.disabled), E.value = E.value.filter((fe) => fe.disabled), I.value = I.value.filter((fe) => (fe.disabled || P.delete(fe.value), fe.disabled)), R.value = "", K();
22132
+ const _ = x.value.map((fe) => fe.value);
22133
+ s("selected", x.value), s("update:modelValue", _), s("query-change", "");
22134
22134
  }, lt = (_) => {
22135
22135
  R.value = _.trim(), s("query-change", _.trim());
22136
22136
  }, Tt = (_, fe) => {
@@ -22162,16 +22162,16 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22162
22162
  F.value = o(E.value), U.value = o(I.value), C.value++;
22163
22163
  }, 0);
22164
22164
  }), ie(C, async () => {
22165
- O.value && typeof O.value.updatePopper == "function" && (await ct(), O.value.updatePopper());
22165
+ O.value && typeof O.value.updatePopper == "function" && (await vt(), O.value.updatePopper());
22166
22166
  }), ie(pe, () => {
22167
- ft();
22167
+ dt();
22168
22168
  }), ie(de, (_, fe) => {
22169
22169
  if (JSON.stringify(_) !== JSON.stringify(fe)) {
22170
22170
  if (!_.length) {
22171
22171
  Xe();
22172
22172
  return;
22173
22173
  }
22174
- const Ae = new Set(fe), j = new Set(_), M = Y.value.filter((he) => j.has(he.value)), G = S.value.filter((he) => !j.has(he.value) && Ae.has(he.value));
22174
+ const Ae = new Set(fe), j = new Set(_), M = Y.value.filter((he) => j.has(he.value)), G = x.value.filter((he) => !j.has(he.value) && Ae.has(he.value));
22175
22175
  G.length && Be(G), M.length && xe(M);
22176
22176
  }
22177
22177
  }), ie(() => e.items, (_, fe) => {
@@ -22183,17 +22183,17 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22183
22183
  let G = `${(j = (Ae = Y.value[M].label) == null ? void 0 : Ae.replace(/ /gi, "-")) == null ? void 0 : j.replace(/[^a-z0-9-_]/gi, "")}-${M}`;
22184
22184
  if (G.includes("undefined") && (G = `multiselect-item-label-${M}`), Y.value[M].key = G, e.modelValue.includes(Y.value[M].value) || Y.value[M].selected) {
22185
22185
  const he = Y.value[M];
22186
- he.selected = !0, S.value.filter(($e) => $e.value === he.value).length || S.value.push(he), E.value.filter(($e) => $e.value === he.value).length || E.value.push(he);
22186
+ he.selected = !0, x.value.filter(($e) => $e.value === he.value).length || x.value.push(he), E.value.filter(($e) => $e.value === he.value).length || E.value.push(he);
22187
22187
  }
22188
22188
  }
22189
- K(), O.value && typeof O.value.updatePopper == "function" && ct(() => {
22189
+ K(), O.value && typeof O.value.updatePopper == "function" && vt(() => {
22190
22190
  O.value.updatePopper();
22191
22191
  });
22192
22192
  }
22193
22193
  }, { deep: !0, immediate: !0 });
22194
22194
  const Rt = N(300), se = async () => {
22195
22195
  var _;
22196
- Rt.value = 300, await ct(), Rt.value = ((_ = k.value) == null ? void 0 : _.clientWidth) || 300, K();
22196
+ Rt.value = 300, await vt(), Rt.value = ((_ = k.value) == null ? void 0 : _.clientWidth) || 300, K();
22197
22197
  }, Ue = N();
22198
22198
  return nt(() => {
22199
22199
  Ca("resize", se), Ue.value = or.create(se), Ue.value.observe(k.value);
@@ -22343,7 +22343,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22343
22343
  onMouseleave: fe[2] || (fe[2] = () => ce.value = !1),
22344
22344
  "onUpdate:modelValue": lt
22345
22345
  }, null, 8, ["class", "disabled", "model-value", "placeholder", "readonly", "onClick", "onKeyup"])
22346
- ])) : S.value.length ? (m(), $("div", {
22346
+ ])) : x.value.length ? (m(), $("div", {
22347
22347
  key: 2,
22348
22348
  class: "selection-badges-container",
22349
22349
  "data-testid": "selection-badges-container",
@@ -22405,7 +22405,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22405
22405
  }, 8, ["text"])) : H("", !0)
22406
22406
  ], 4)) : (m(), $("div", KF, re(et.value), 1)),
22407
22407
  z("div", GF, [
22408
- !e.loading && S.value.length && j.value ? (m(), $("button", {
22408
+ !e.loading && x.value.length && j.value ? (m(), $("button", {
22409
22409
  key: 0,
22410
22410
  "aria-label": "Clear",
22411
22411
  class: "multiselect-clear-icon",
@@ -22891,7 +22891,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22891
22891
  setup(e, { emit: t }) {
22892
22892
  qt((K) => ({
22893
22893
  v7a089d98: Z.value,
22894
- v4d446bc6: S.value,
22894
+ v4d446bc6: x.value,
22895
22895
  v549311c9: P.value
22896
22896
  }));
22897
22897
  const { stripRequiredLabel: a } = Ln(), n = t, r = ta(), i = St(), o = bt(), u = b(() => r.id ? String(r.id) : o), s = N(!1), l = N(), c = b(() => {
@@ -22905,7 +22905,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22905
22905
  }, C = N(0), h = ht("inputElement"), g = b(() => a(e.label, f.value)), p = N(!1), w = N(""), k = b(() => {
22906
22906
  var K, xe;
22907
22907
  return !(!w.value || (xe = (K = A.value) == null ? void 0 : K.filter((Be) => Be.label === w.value)) != null && xe.length);
22908
- }), x = bt(), T = N(null), A = N([]), R = N(!1), X = ht("popperElement"), O = ht("selectWrapperElement"), Y = b({
22908
+ }), S = bt(), T = N(null), A = N([]), R = N(!1), X = ht("popperElement"), O = ht("selectWrapperElement"), Y = b({
22909
22909
  get() {
22910
22910
  return e.modelValue;
22911
22911
  },
@@ -22914,7 +22914,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22914
22914
  const xe = (Be = A.value) == null ? void 0 : Be.filter((Me) => Me.value === K);
22915
22915
  xe != null && xe.length ? de(xe[0]) : K || Ie();
22916
22916
  }
22917
- }), Z = b(() => It(e.width || "100%")), S = N(""), E = b(() => {
22917
+ }), Z = b(() => It(e.width || "100%")), x = N(""), E = b(() => {
22918
22918
  const K = { ...r };
22919
22919
  return delete K.class, K;
22920
22920
  }), I = b(() => {
@@ -22923,8 +22923,8 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22923
22923
  ...y,
22924
22924
  ...e.kpopAttributes,
22925
22925
  popoverClasses: `${y.popoverClasses} ${((K = e.kpopAttributes) == null ? void 0 : K.popoverClasses) ?? ""}`,
22926
- width: String(S.value),
22927
- maxWidth: String(S.value),
22926
+ width: String(x.value),
22927
+ maxWidth: String(x.value),
22928
22928
  disabled: d.value || v.value
22929
22929
  };
22930
22930
  }), P = b(() => It(e.dropdownMaxHeight)), F = b(() => ({ ...I.value })), U = b(() => e.placeholder || r.placeholder || "Select..."), te = b(() => !d.value && e.clearable && !!T.value), q = b(() => !!(T.value && (i["selected-item-template"] || e.reuseItemTemplate && i["item-template"]))), ce = b(() => {
@@ -22956,8 +22956,8 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22956
22956
  }, de = (K, xe) => {
22957
22957
  var Be, Me;
22958
22958
  xe && ((Be = A.value) == null || Be.push(K)), (Me = A.value) == null || Me.forEach((je, gt) => {
22959
- var ft;
22960
- je.key === K.key ? (je.selected = !0, T.value = je) : je.selected ? (je.selected = !1, je.custom && ((ft = A.value) == null || ft.splice(gt, 1), n("item-removed", je))) : je.selected = !1;
22959
+ var dt;
22960
+ je.key === K.key ? (je.selected = !0, T.value = je) : je.selected ? (je.selected = !1, je.custom && ((dt = A.value) == null || dt.splice(gt, 1), n("item-removed", je))) : je.selected = !1;
22961
22961
  }), p.value = !0, w.value = K.label;
22962
22962
  }, Ie = () => {
22963
22963
  var K;
@@ -22999,15 +22999,15 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
22999
22999
  Me != null && Me.length ? de(Me[0]) : K || Ie();
23000
23000
  }
23001
23001
  }), ie(() => e.items, (K, xe) => {
23002
- var Be, Me, je, gt, ft;
23002
+ var Be, Me, je, gt, dt;
23003
23003
  if (JSON.stringify(K) !== JSON.stringify(xe)) {
23004
23004
  A.value = JSON.parse(JSON.stringify(e.items)), (Be = A.value) != null && Be.length && (T.value = null);
23005
23005
  for (let Xe = 0; Xe < ((Me = A.value) == null ? void 0 : Me.length); Xe++) {
23006
23006
  A.value[Xe].selected === void 0 && (A.value[Xe].selected = !1);
23007
23007
  let lt = `${(gt = (je = A.value[Xe].label) == null ? void 0 : je.replace(/ /gi, "-")) == null ? void 0 : gt.replace(/[^a-z0-9-_]/gi, "")}-${Xe}`;
23008
- lt.includes("undefined") && (lt = `select-item-label-${Xe}`), A.value[Xe].key = lt, (A.value[Xe].value === e.modelValue || A.value[Xe].selected) && (A.value[Xe].selected = !0, T.value = A.value[Xe], R.value || (p.value = !0, w.value = T.value.label)), ((ft = T.value) == null ? void 0 : ft.value) === A.value[Xe].value && (A.value[Xe].selected = !0);
23008
+ lt.includes("undefined") && (lt = `select-item-label-${Xe}`), A.value[Xe].key = lt, (A.value[Xe].value === e.modelValue || A.value[Xe].selected) && (A.value[Xe].selected = !0, T.value = A.value[Xe], R.value || (p.value = !0, w.value = T.value.label)), ((dt = T.value) == null ? void 0 : dt.value) === A.value[Xe].value && (A.value[Xe].selected = !0);
23009
23009
  }
23010
- X.value && typeof X.value.updatePopper == "function" && ct(() => {
23010
+ X.value && typeof X.value.updatePopper == "function" && vt(() => {
23011
23011
  X.value.updatePopper();
23012
23012
  });
23013
23013
  }
@@ -23018,7 +23018,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23018
23018
  }, { deep: !0 }), nt(() => {
23019
23019
  O.value && (l.value = or.create(() => {
23020
23020
  var K;
23021
- S.value = `${(K = O.value) == null ? void 0 : K.offsetWidth}px`;
23021
+ x.value = `${(K = O.value) == null ? void 0 : K.offsetWidth}px`;
23022
23022
  }), l.value.observe(O.value)), Ca(document, "keydown", (K) => {
23023
23023
  var xe, Be;
23024
23024
  !e.enableFiltering && ((xe = document.activeElement) == null ? void 0 : xe.tagName) === "BODY" && !R.value && s.value && (K.key === "ArrowDown" || K.key === "ArrowUp") && (K.preventDefault(), (Be = Te.value) == null || Be.setFocus(K.key === "ArrowDown" ? "down" : "up"));
@@ -23107,7 +23107,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23107
23107
  ]),
23108
23108
  default: L(() => [
23109
23109
  z("div", {
23110
- id: D(x),
23110
+ id: D(S),
23111
23111
  ref: "selectWrapperElement",
23112
23112
  class: "select-wrapper",
23113
23113
  "data-testid": "select-wrapper",
@@ -23368,7 +23368,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23368
23368
  }, 500), c = b(() => u.value ? e.columns.filter((y) => (y.label ? y.label : y.key).toLowerCase().includes(u.value.toLowerCase())) : e.columns), f = () => {
23369
23369
  a("update", JSON.parse(JSON.stringify(r.value))), i.value = !1, u.value = "";
23370
23370
  }, d = (y) => {
23371
- n.value = y, y && o.value && ct(() => {
23371
+ n.value = y, y && o.value && vt(() => {
23372
23372
  o.value && v(o.value);
23373
23373
  }), !y && i.value && s(), y || (u.value = "");
23374
23374
  }, v = (y) => {
@@ -23762,7 +23762,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23762
23762
  sortColumnKey: "",
23763
23763
  sortColumnOrder: "desc",
23764
23764
  offset: null
23765
- }, d = N([]), v = N(), y = N([]), C = N([]), h = N(""), g = N(""), p = N(""), w = b(() => y.value.filter((oe) => oe.hidable).length > 0), k = b(() => !!(w.value && !o.error && !se.value && !o.loading && d.value && d.value.length)), x = b(() => y.value.filter((oe) => oe.hidable)), T = b(() => k.value ? o.tablePreferences.columnVisibility || {} : {}), A = N(k.value ? o.tablePreferences.columnVisibility || {} : {}), R = N(0), X = N(!1), O = N(1), Y = N(15), Z = N(""), S = N(""), E = N("desc"), I = N(null), P = N([]), F = N(!0), U = N(!1), te = N(!1), q = b(() => !!l.toolbar || k.value), ce = b(() => ({
23765
+ }, d = N([]), v = N(), y = N([]), C = N([]), h = N(""), g = N(""), p = N(""), w = b(() => y.value.filter((oe) => oe.hidable).length > 0), k = b(() => !!(w.value && !o.error && !se.value && !o.loading && d.value && d.value.length)), S = b(() => y.value.filter((oe) => oe.hidable)), T = b(() => k.value ? o.tablePreferences.columnVisibility || {} : {}), A = N(k.value ? o.tablePreferences.columnVisibility || {} : {}), R = N(0), X = N(!1), O = N(1), Y = N(15), Z = N(""), x = N(""), E = N("desc"), I = N(null), P = N([]), F = N(!0), U = N(!1), te = N(!1), q = b(() => !!l.toolbar || k.value), ce = b(() => ({
23766
23766
  maxHeight: It(o.maxHeight)
23767
23767
  })), ve = (oe) => `column-${oe}`, ae = (oe) => `tooltip-${oe}`, ne = (oe) => oe, de = (oe, Se) => (ke, B) => {
23768
23768
  const V = /^on[^a-z]/, ee = {};
@@ -23821,8 +23821,8 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23821
23821
  // display sort control if column is sortable, label is visible, and sorting is not disabled
23822
23822
  sortable: o.sortable && !oe.hideLabel && !!oe.sortable,
23823
23823
  // display active sorting styles if column is currently sorted
23824
- "active-sort": o.sortable && !oe.hideLabel && !!oe.sortable && oe.key === S.value,
23825
- [E.value]: o.sortable && oe.key === S.value && !oe.hideLabel,
23824
+ "active-sort": o.sortable && !oe.hideLabel && !!oe.sortable && oe.key === x.value,
23825
+ [E.value]: o.sortable && oe.key === x.value && !oe.hideLabel,
23826
23826
  "is-scrolled": X.value,
23827
23827
  "has-tooltip": !!oe.tooltip
23828
23828
  }), Je = b(() => h.value ? "resizing" : g.value ? "resize-hover" : p.value ? "th-hover" : ""), Ze = b(() => {
@@ -23874,7 +23874,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23874
23874
  pageSize: Y.value,
23875
23875
  page: O.value,
23876
23876
  query: oe || Z.value,
23877
- sortColumnKey: S.value,
23877
+ sortColumnKey: x.value,
23878
23878
  sortColumnOrder: E.value,
23879
23879
  offset: I.value
23880
23880
  });
@@ -23884,7 +23884,7 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23884
23884
  ...f,
23885
23885
  ...o.initialFetcherParams
23886
23886
  };
23887
- O.value = oe.page ?? f.page, Y.value = oe.pageSize ?? f.pageSize, Z.value = oe.query ?? f.query, S.value = oe.sortColumnKey ?? f.sortColumnKey, E.value = oe.sortColumnOrder ?? f.sortColumnOrder, o.clientSort && S.value && E.value && i(S.value, "", E.value, d.value), o.paginationOffset && (I.value = oe.offset, P.value.push(oe.offset)), o.headers && o.headers.length && (y.value = o.headers), te.value = !0;
23887
+ O.value = oe.page ?? f.page, Y.value = oe.pageSize ?? f.pageSize, Z.value = oe.query ?? f.query, x.value = oe.sortColumnKey ?? f.sortColumnKey, E.value = oe.sortColumnOrder ?? f.sortColumnOrder, o.clientSort && x.value && E.value && i(x.value, "", E.value, d.value), o.paginationOffset && (I.value = oe.offset, P.value.push(oe.offset)), o.headers && o.headers.length && (y.value = o.headers), te.value = !0;
23888
23888
  };
23889
23889
  ie(() => o.headers, (oe) => {
23890
23890
  oe && oe.length && (y.value = oe);
@@ -23894,9 +23894,9 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23894
23894
  return "";
23895
23895
  let oe = c;
23896
23896
  return o.cacheIdentifier && (oe = o.cacheIdentifier), o.fetcherCacheKey && (oe += `-${o.fetcherCacheKey}`), `k-table_${oe}`;
23897
- }), je = N(""), { debouncedFn: gt, generateDebouncedFn: ft } = a((oe) => {
23897
+ }), je = N(""), { debouncedFn: gt, generateDebouncedFn: dt } = a((oe) => {
23898
23898
  je.value = oe;
23899
- }, 350), Xe = ft(0), { data: lt, error: Tt, revalidate: Ot, isValidating: Zt } = n(
23899
+ }, 350), Xe = dt(0), { data: lt, error: Tt, revalidate: Ot, isValidating: Zt } = n(
23900
23900
  () => Me.value,
23901
23901
  () => ge(),
23902
23902
  { revalidateOnFocus: !1, revalidateDebounce: 0 }
@@ -23904,8 +23904,8 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23904
23904
  hasData: Pt.value,
23905
23905
  state: aa.value
23906
23906
  })), _ = b(() => se.value ? "loading" : Tt.value ? "error" : "success"), { debouncedFn: fe, generateDebouncedFn: Ae } = a(Ot, 500), j = Ae(0), M = (oe) => {
23907
- const { key: Se, useSortHandlerFunction: ke } = oe, B = S.value + "";
23908
- O.value = 1, S.value ? Se === S.value ? E.value === "asc" ? E.value = "desc" : E.value = "asc" : (S.value = Se, E.value = "asc", P.value = [null]) : (S.value = Se, E.value = "asc", P.value = [null]), o.clientSort ? ke && o.sortHandlerFunction ? o.sortHandlerFunction({
23907
+ const { key: Se, useSortHandlerFunction: ke } = oe, B = x.value + "";
23908
+ O.value = 1, x.value ? Se === x.value ? E.value === "asc" ? E.value = "desc" : E.value = "asc" : (x.value = Se, E.value = "asc", P.value = [null]) : (x.value = Se, E.value = "asc", P.value = [null]), o.clientSort ? ke && o.sortHandlerFunction ? o.sortHandlerFunction({
23909
23909
  key: Se,
23910
23910
  prevKey: B,
23911
23911
  sortColumnOrder: E.value,
@@ -23919,13 +23919,13 @@ const us = () => HF(), qF = { "data-testid": "multiselect-container" }, WF = ["i
23919
23919
  oe && oe.target && typeof oe.target.scrollTop == "number" && (oe.target.scrollTop > 1 ? X.value = !0 : oe.target.scrollTop === 0 && (X.value = !X.value));
23920
23920
  }, st = b(() => ({
23921
23921
  pageSize: Y.value,
23922
- sortColumnKey: S.value,
23922
+ sortColumnKey: x.value,
23923
23923
  sortColumnOrder: E.value,
23924
23924
  ...o.resizeColumns ? { columnWidths: Te.value } : {},
23925
23925
  ...w.value ? { columnVisibility: A.value } : {}
23926
23926
  })), kt = () => {
23927
23927
  _.value === "success" && u("update:table-preferences", st.value);
23928
- }, vt = () => {
23928
+ }, ft = () => {
23929
23929
  O.value++, I.value = Be.value;
23930
23930
  }, Ia = () => {
23931
23931
  O.value--, I.value = xe.value;
@@ -23973,7 +23973,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), K();
23973
23973
  W(oe.$slots, "toolbar", { state: Ue.value }, void 0, !0),
23974
23974
  k.value ? (m(), $("div", oY, [
23975
23975
  Q(b1, {
23976
- columns: x.value,
23976
+ columns: S.value,
23977
23977
  "table-id": D(c),
23978
23978
  "visibility-preferences": T.value,
23979
23979
  onUpdate: Se[0] || (Se[0] = (ke) => A.value = ke)
@@ -24059,13 +24059,13 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), K();
24059
24059
  }, [
24060
24060
  (m(!0), $(Ee, null, ze(C.value, (ke, B) => (m(), $("th", {
24061
24061
  key: `table-${D(c)}-headers-${B}`,
24062
- "aria-sort": e.sortable && ke.key === S.value ? E.value === "asc" ? "ascending" : "descending" : void 0,
24062
+ "aria-sort": e.sortable && ke.key === x.value ? E.value === "asc" ? "ascending" : "descending" : void 0,
24063
24063
  class: ue(["table-headers", Ye(ke, B)]),
24064
24064
  "data-testid": `table-header-${ke.key}`,
24065
24065
  style: Oe(Ne.value[ke.key]),
24066
24066
  onClick: () => {
24067
24067
  e.sortable && ke.sortable && (oe.$emit("sort", {
24068
- prevKey: S.value,
24068
+ prevKey: x.value,
24069
24069
  sortColumnKey: ke.key,
24070
24070
  sortColumnOrder: E.value === "asc" ? "desc" : "asc"
24071
24071
  // display opposite because sortColumnOrder outdated
@@ -24174,7 +24174,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), K();
24174
24174
  "offset-previous-button-disabled": !xe.value,
24175
24175
  "page-sizes": e.paginationPageSizes,
24176
24176
  "total-count": R.value,
24177
- onGetNextOffset: vt,
24177
+ onGetNextOffset: ft,
24178
24178
  onGetPreviousOffset: Ia,
24179
24179
  onPageChange: G,
24180
24180
  onPageSizeChange: he
@@ -24305,7 +24305,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), K();
24305
24305
  }), ie(d, (T, A) => {
24306
24306
  T !== A && g({ target: { value: T } });
24307
24307
  });
24308
- const k = () => u.value ? u.value : e.modelValue, x = Cm ? () => {
24308
+ const k = () => u.value ? u.value : e.modelValue, S = Cm ? () => {
24309
24309
  } : (T) => {
24310
24310
  const { target: A, clientX: R, clientY: X } = T;
24311
24311
  if (!(A instanceof HTMLTextAreaElement))
@@ -24349,7 +24349,7 @@ Docs: https://kongponents.konghq.com/components/table-data.html`), K();
24349
24349
  rows: e.rows,
24350
24350
  value: k(),
24351
24351
  onDblclick: A[0] || (A[0] = //@ts-ignore
24352
- (...R) => D(x) && D(x)(...R)),
24352
+ (...R) => D(S) && D(S)(...R)),
24353
24353
  onInput: g
24354
24354
  }), null, 16, xY)
24355
24355
  ], 10, SY),
@@ -25344,23 +25344,23 @@ We.prototype = /** @lends Sortable.prototype */
25344
25344
  if (k && a === t.target && (n = k), n && (i = Mt(n)), zo(Ct, a, we, r, n, i, t, !!n) !== !1)
25345
25345
  return g(), a.appendChild(we), Dt = a, w(), p(!0);
25346
25346
  } else if (k && lH(t, v, this)) {
25347
- var x = Kr(a, 0, u, !0);
25348
- if (x === we)
25347
+ var S = Kr(a, 0, u, !0);
25348
+ if (S === we)
25349
25349
  return p(!1);
25350
- if (n = x, i = Mt(n), zo(Ct, a, we, r, n, i, t, !1) !== !1)
25351
- return g(), a.insertBefore(we, x), Dt = a, w(), p(!0);
25350
+ if (n = S, i = Mt(n), zo(Ct, a, we, r, n, i, t, !1) !== !1)
25351
+ return g(), a.insertBefore(we, S), Dt = a, w(), p(!0);
25352
25352
  } else if (n.parentNode === a) {
25353
25353
  i = Mt(n);
25354
25354
  var T = 0, A, R = we.parentNode !== a, X = !aH(we.animated && we.toRect || r, n.animated && n.toRect || i, v), O = v ? "top" : "left", Y = Gh(n, "top", "top") || Gh(we, "top", "top"), Z = Y ? Y.scrollTop : void 0;
25355
25355
  wr !== n && (A = i[O], Ti = !1, Ro = !X && u.invertSwap || R), T = uH(t, n, i, v, X ? 1 : u.swapThreshold, u.invertedSwapThreshold == null ? u.swapThreshold : u.invertedSwapThreshold, Ro, wr === n);
25356
- var S;
25356
+ var x;
25357
25357
  if (T !== 0) {
25358
25358
  var E = ca(we);
25359
25359
  do
25360
- E -= T, S = Dt.children[E];
25361
- while (S && (qe(S, "display") === "none" || S === Qe));
25360
+ E -= T, x = Dt.children[E];
25361
+ while (x && (qe(x, "display") === "none" || x === Qe));
25362
25362
  }
25363
- if (T === 0 || S === n)
25363
+ if (T === 0 || x === n)
25364
25364
  return p(!1);
25365
25365
  wr = n, xi = T;
25366
25366
  var I = n.nextElementSibling, P = !1;
@@ -25697,13 +25697,13 @@ var Zs = S1(function(e, t, a, n) {
25697
25697
  Iu !== a && (Iu = a, el(), mi = t.scroll, c = t.scrollFn, mi === !0 && (mi = Tn(a, !0)));
25698
25698
  var f = 0, d = mi;
25699
25699
  do {
25700
- var v = d, y = Mt(v), C = y.top, h = y.bottom, g = y.left, p = y.right, w = y.width, k = y.height, x = void 0, T = void 0, A = v.scrollWidth, R = v.scrollHeight, X = qe(v), O = v.scrollLeft, Y = v.scrollTop;
25701
- v === s ? (x = w < A && (X.overflowX === "auto" || X.overflowX === "scroll" || X.overflowX === "visible"), T = k < R && (X.overflowY === "auto" || X.overflowY === "scroll" || X.overflowY === "visible")) : (x = w < A && (X.overflowX === "auto" || X.overflowX === "scroll"), T = k < R && (X.overflowY === "auto" || X.overflowY === "scroll"));
25702
- var Z = x && (Math.abs(p - r) <= o && O + w < A) - (Math.abs(g - r) <= o && !!O), S = T && (Math.abs(h - i) <= o && Y + k < R) - (Math.abs(C - i) <= o && !!Y);
25700
+ var v = d, y = Mt(v), C = y.top, h = y.bottom, g = y.left, p = y.right, w = y.width, k = y.height, S = void 0, T = void 0, A = v.scrollWidth, R = v.scrollHeight, X = qe(v), O = v.scrollLeft, Y = v.scrollTop;
25701
+ v === s ? (S = w < A && (X.overflowX === "auto" || X.overflowX === "scroll" || X.overflowX === "visible"), T = k < R && (X.overflowY === "auto" || X.overflowY === "scroll" || X.overflowY === "visible")) : (S = w < A && (X.overflowX === "auto" || X.overflowX === "scroll"), T = k < R && (X.overflowY === "auto" || X.overflowY === "scroll"));
25702
+ var Z = S && (Math.abs(p - r) <= o && O + w < A) - (Math.abs(g - r) <= o && !!O), x = T && (Math.abs(h - i) <= o && Y + k < R) - (Math.abs(C - i) <= o && !!Y);
25703
25703
  if (!Et[f])
25704
25704
  for (var E = 0; E <= f; E++)
25705
25705
  Et[E] || (Et[E] = {});
25706
- (Et[f].vx != Z || Et[f].vy != S || Et[f].el !== v) && (Et[f].el = v, Et[f].vx = Z, Et[f].vy = S, clearInterval(Et[f].pid), (Z != 0 || S != 0) && (l = !0, Et[f].pid = setInterval((function() {
25706
+ (Et[f].vx != Z || Et[f].vy != x || Et[f].el !== v) && (Et[f].el = v, Et[f].vx = Z, Et[f].vy = x, clearInterval(Et[f].pid), (Z != 0 || x != 0) && (l = !0, Et[f].pid = setInterval((function() {
25707
25707
  n && this.layer === 0 && We.active._onTouchMove(Nl);
25708
25708
  var I = Et[this.layer].vy ? Et[this.layer].vy * u : 0, P = Et[this.layer].vx ? Et[this.layer].vx * u : 0;
25709
25709
  typeof c == "function" && c.call(We.dragged.parentNode[oa], P, I, e, Nl, Et[this.layer].el) !== "continue" || x1(Et[this.layer].el, P, I);
@@ -25847,7 +25847,7 @@ const bH = le({
25847
25847
  }
25848
25848
  async function h() {
25849
25849
  var ae;
25850
- await ct(), s.value = gH(C(), ((ae = d == null ? void 0 : d.proxy) == null ? void 0 : ae.$el.children) || [], r.value, u.value);
25850
+ await vt(), s.value = gH(C(), ((ae = d == null ? void 0 : d.proxy) == null ? void 0 : ae.$el.children) || [], r.value, u.value);
25851
25851
  }
25852
25852
  function g(ae) {
25853
25853
  const ne = hH(C() || [], ae);
@@ -25857,7 +25857,7 @@ const bH = le({
25857
25857
  return { index: ne, element: de };
25858
25858
  }
25859
25859
  function p(ae) {
25860
- ct(() => t("change", ae));
25860
+ vt(() => t("change", ae));
25861
25861
  }
25862
25862
  function w(ae) {
25863
25863
  if (e.list) {
@@ -25870,7 +25870,7 @@ const bH = le({
25870
25870
  function k(...ae) {
25871
25871
  w((de) => de.splice(...ae));
25872
25872
  }
25873
- function x(ae, ne) {
25873
+ function S(ae, ne) {
25874
25874
  w((Ie) => Ie.splice(ne, 0, Ie.splice(ae, 1)[0]));
25875
25875
  }
25876
25876
  function T(ae) {
@@ -25915,11 +25915,11 @@ const bH = le({
25915
25915
  var Ie, Te;
25916
25916
  Hs(ae.item), Uh(ae.from, ae.item, ae.oldIndex);
25917
25917
  const ne = (Ie = l.value) == null ? void 0 : Ie.index, de = T(ae.newIndex);
25918
- x(ne, de), p({
25918
+ S(ne, de), p({
25919
25919
  moved: { element: (Te = l.value) == null ? void 0 : Te.element, oldIndex: ne, newIndex: de }
25920
25920
  });
25921
25921
  }
25922
- function S(ae, ne) {
25922
+ function x(ae, ne) {
25923
25923
  Object.prototype.hasOwnProperty.call(ae, ne) && (ae[ne] += o.value);
25924
25924
  }
25925
25925
  function E(ae) {
@@ -25960,7 +25960,7 @@ const bH = le({
25960
25960
  Ie && (c.value = new We(Ie, de), Ie.__draggable_component__ = d == null ? void 0 : d.proxy, h());
25961
25961
  };
25962
25962
  function U(ae, ne) {
25963
- ct(() => t(ae.toLowerCase(), ne));
25963
+ vt(() => t(ae.toLowerCase(), ne));
25964
25964
  }
25965
25965
  function te(ae) {
25966
25966
  return (ne) => {
@@ -26011,7 +26011,7 @@ const bH = le({
26011
26011
  emitChanges: p,
26012
26012
  alterList: w,
26013
26013
  spliceList: k,
26014
- updatePosition: x,
26014
+ updatePosition: S,
26015
26015
  getVmIndex: T,
26016
26016
  getComponent: A,
26017
26017
  resetTransitionData: R,
@@ -26019,7 +26019,7 @@ const bH = le({
26019
26019
  onDragAdd: O,
26020
26020
  onDragRemove: Y,
26021
26021
  onDragUpdate: Z,
26022
- updateProperty: S,
26022
+ updateProperty: x,
26023
26023
  onDragMove: q,
26024
26024
  onDragEnd: ce,
26025
26025
  mounted: F,
@@ -26162,7 +26162,7 @@ const bH = le({
26162
26162
  "fallback-tolerance": 10
26163
26163
  }, u = N(!1), s = b(() => [".tree-item-expanded-button", ...(typeof e.filter == "function" ? e.filter() : e.filter).split(",").map((Y) => Y.trim()).filter(Boolean)].join(", ")), l = (O) => {
26164
26164
  var Y, Z;
26165
- return !((Z = (Y = i.value.filter((S) => S.id === O.id)) == null ? void 0 : Y[0].children) != null && Z.length);
26165
+ return !((Z = (Y = i.value.filter((x) => x.id === O.id)) == null ? void 0 : Y[0].children) != null && Z.length);
26166
26166
  }, c = (O) => O.children || [], f = (O) => {
26167
26167
  e.parentId ? n("child-change", {
26168
26168
  parentId: e.parentId,
@@ -26192,18 +26192,18 @@ const bH = le({
26192
26192
  }), (O = g.value) == null || O.forEach((Y) => {
26193
26193
  Y == null || Y.setExpandedValue(!0);
26194
26194
  });
26195
- }, k = b(() => e.level > e.maxDepth - 1), x = (O) => {
26195
+ }, k = b(() => e.level > e.maxDepth - 1), S = (O) => {
26196
26196
  var I, P, F, U;
26197
26197
  const Y = ((P = (I = O.relatedContext) == null ? void 0 : I.component) == null ? void 0 : P.$attrs.level) || 0, Z = (F = O.draggedContext) == null ? void 0 : F.element;
26198
- let S = 0;
26199
- return (U = Z.children) != null && U.length && (S = Yc(Z)), !(Y + S > e.maxDepth - 1);
26198
+ let x = 0;
26199
+ return (U = Z.children) != null && U.length && (x = Yc(Z)), !(Y + x > e.maxDepth - 1);
26200
26200
  }, T = (O) => {
26201
- var S, E;
26202
- const Y = ((E = (S = O.item) == null ? void 0 : S._underlying_vm_) == null ? void 0 : E.id) || "", Z = i.value.find((I) => I.id === Y);
26201
+ var x, E;
26202
+ const Y = ((E = (x = O.item) == null ? void 0 : x._underlying_vm_) == null ? void 0 : E.id) || "", Z = i.value.find((I) => I.id === Y);
26203
26203
  u.value = !0, Z && n("selected", Z), R(!0);
26204
26204
  }, A = async () => {
26205
26205
  var O;
26206
- u.value = !1, R(!1), r.value++, await ct(), (O = g.value) == null || O.forEach((Y) => {
26206
+ u.value = !1, R(!1), r.value++, await vt(), (O = g.value) == null || O.forEach((Y) => {
26207
26207
  Y == null || Y.setExpandedValue(y.value.get(Y == null ? void 0 : Y.id));
26208
26208
  });
26209
26209
  }, R = (O) => {
@@ -26223,7 +26223,7 @@ const bH = le({
26223
26223
  return nt(async () => {
26224
26224
  i.value = e.items, i.value.forEach((O) => {
26225
26225
  O.children || (O.children = []);
26226
- }), await ct(), e.collapsible && X();
26226
+ }), await vt(), e.collapsible && X();
26227
26227
  }), t({ collapseAll: p, expandAll: w }), (O, Y) => {
26228
26228
  const Z = Ht("KTreeDraggable", !0);
26229
26229
  return m(), J(D(bH), Fe(o, {
@@ -26234,36 +26234,36 @@ const bH = le({
26234
26234
  group: { name: e.group, pull: [e.group], put: k.value ? [] : [e.group] },
26235
26235
  level: e.level,
26236
26236
  list: i.value,
26237
- move: x,
26237
+ move: S,
26238
26238
  tag: "div",
26239
26239
  onChange: f,
26240
26240
  onEnd: A,
26241
26241
  onStart: T
26242
26242
  }), {
26243
26243
  default: L(() => [
26244
- (m(!0), $(Ee, null, ze(i.value, (S) => (m(), $("div", {
26245
- key: S.id,
26244
+ (m(!0), $(Ee, null, ze(i.value, (x) => (m(), $("div", {
26245
+ key: x.id,
26246
26246
  class: ue(["tree-item-container", {
26247
- "has-no-children": l(S)
26247
+ "has-no-children": l(x)
26248
26248
  }])
26249
26249
  }, [
26250
26250
  (m(), J(TH, {
26251
- key: `tree-item-${S.id}-${r.value}`,
26251
+ key: `tree-item-${x.id}-${r.value}`,
26252
26252
  ref_for: !0,
26253
26253
  ref: "tree-items",
26254
26254
  collapsible: e.collapsible,
26255
- "controls-id": S.id,
26255
+ "controls-id": x.id,
26256
26256
  disabled: e.disableDrag,
26257
- "has-children": !l(S),
26257
+ "has-children": !l(x),
26258
26258
  "hide-icons": e.hideIcons,
26259
26259
  "initial-collapse": e.initialCollapseAll,
26260
- item: S,
26261
- onExpanded: (E) => C(E, S.id),
26260
+ item: x,
26261
+ onExpanded: (E) => C(E, x.id),
26262
26262
  onSelected: v
26263
26263
  }, $t({
26264
26264
  "item-label": L(() => [
26265
- W(O.$slots, "item-label", { item: S }, () => [
26266
- ye(re(S.name), 1)
26265
+ W(O.$slots, "item-label", { item: x }, () => [
26266
+ ye(re(x.name), 1)
26267
26267
  ], !0)
26268
26268
  ]),
26269
26269
  _: 2
@@ -26271,14 +26271,14 @@ const bH = le({
26271
26271
  O.$slots["item-icon"] ? {
26272
26272
  name: "item-icon",
26273
26273
  fn: L(() => [
26274
- W(O.$slots, "item-icon", { item: S }, void 0, !0)
26274
+ W(O.$slots, "item-icon", { item: x }, void 0, !0)
26275
26275
  ]),
26276
26276
  key: "0"
26277
26277
  } : void 0
26278
26278
  ]), 1032, ["collapsible", "controls-id", "disabled", "has-children", "hide-icons", "initial-collapse", "item", "onExpanded"])),
26279
26279
  ga((m(), J(Z, {
26280
- id: `tree-list-draggable-${S.id}`,
26281
- key: `tree-item-${S.id}-children-${r.value}`,
26280
+ id: `tree-list-draggable-${x.id}`,
26281
+ key: `tree-item-${x.id}-children-${r.value}`,
26282
26282
  class: ue({
26283
26283
  collapsible: e.collapsible
26284
26284
  }),
@@ -26288,10 +26288,10 @@ const bH = le({
26288
26288
  group: e.group,
26289
26289
  "hide-icons": e.hideIcons,
26290
26290
  "initial-collapse-all": e.initialCollapseAll,
26291
- items: c(S),
26291
+ items: c(x),
26292
26292
  level: e.level + 1,
26293
26293
  "max-depth": e.maxDepth,
26294
- "parent-id": S.id,
26294
+ "parent-id": x.id,
26295
26295
  onChildChange: d,
26296
26296
  onSelected: v
26297
26297
  }, $t({
@@ -26308,7 +26308,7 @@ const bH = le({
26308
26308
  key: "0"
26309
26309
  } : void 0
26310
26310
  ]), 1032, ["id", "class", "collapsible", "disable-drag", "filter", "group", "hide-icons", "initial-collapse-all", "items", "level", "max-depth", "parent-id"])), [
26311
- [Zn, h(S.id)]
26311
+ [Zn, h(x.id)]
26312
26312
  ])
26313
26313
  ], 2))), 128))
26314
26314
  ]),
@@ -26482,9 +26482,9 @@ const bH = le({
26482
26482
  },
26483
26483
  setup(e) {
26484
26484
  qt((C) => ({
26485
- v7164fd89: u.value,
26486
- v5e3d5385: D(s),
26487
- v6972530a: C.rows
26485
+ v33a5f62a: u.value,
26486
+ c9851d34: D(s),
26487
+ v67141d6e: C.rows
26488
26488
  })), ie(
26489
26489
  () => e.rows,
26490
26490
  (C) => {
@@ -26492,15 +26492,17 @@ const bH = le({
26492
26492
  },
26493
26493
  { immediate: !0 }
26494
26494
  );
26495
- const t = N(e.expanded), a = N(!1), n = N(), r = N(), i = N(), o = N(), u = N("0px"), s = zl, l = N(0), c = async () => {
26495
+ const t = N(e.expanded), a = N(!1), n = N(), r = N(), i = N(), o = N(), u = N("0px"), s = zl, l = N(0), c = () => {
26496
26496
  var C;
26497
26497
  if (!e.truncateText && r.value && (C = r.value.children) != null && C.length) {
26498
26498
  const h = r.value.children, g = Number(String(s).replace(/px$/gi, ""));
26499
26499
  let p = 0;
26500
- for (let k = 0; k < h.length; k++)
26501
- p = h[k].offsetHeight > p ? h[k].offsetHeight : p;
26502
- const w = (e.rows === 1 ? 0 : (e.rows - 1) * g) + p * e.rows + 6;
26503
- u.value = r.value.offsetHeight > w ? `${w}px` : "auto", await ct(), f();
26500
+ for (let S = 0; S < h.length; S++)
26501
+ p = h[S].offsetHeight > p ? h[S].offsetHeight : p;
26502
+ const w = (e.rows === 1 ? 0 : (e.rows - 1) * g) + p * e.rows + 6, k = r.value.offsetHeight > w ? `${w}px` : "auto";
26503
+ window.requestAnimationFrame(() => {
26504
+ u.value = k, window.requestAnimationFrame(f);
26505
+ });
26504
26506
  }
26505
26507
  }, f = () => {
26506
26508
  if (r.value && i.value) {
@@ -26514,12 +26516,12 @@ const bH = le({
26514
26516
  C[h].offsetTop > i.value.offsetHeight ? (l.value += 1, C[h].getAttribute("tabindex") && (C[h].tabIndex = -1)) : C[h].getAttribute("tabindex") && (C[h].tabIndex = 0);
26515
26517
  }
26516
26518
  }, v = async () => {
26517
- t.value = !t.value, await ct(), f();
26519
+ t.value = !t.value, await vt(), f();
26518
26520
  }, y = b(() => ({
26519
26521
  width: It(e.width)
26520
26522
  }));
26521
26523
  return nt(() => {
26522
- n.value = or.create(c), n.value.observe(r.value), f();
26524
+ n.value = or.create(c), n.value.observe(r.value), e.truncateText && f();
26523
26525
  }), fn(() => {
26524
26526
  var C;
26525
26527
  (C = n.value) == null || C.unobserve(r.value);
@@ -26606,7 +26608,7 @@ const bH = le({
26606
26608
  ], 6);
26607
26609
  };
26608
26610
  }
26609
- }), YH = /* @__PURE__ */ Pe(zH, [["__scopeId", "data-v-32767851"]]), HH = { class: "k-copy" }, qH = {
26611
+ }), YH = /* @__PURE__ */ Pe(zH, [["__scopeId", "data-v-3404bed6"]]), HH = { class: "k-copy" }, qH = {
26610
26612
  key: 0,
26611
26613
  class: "copy-badge-text"
26612
26614
  }, WH = ["id", "aria-label", "onClick"], UH = /* @__PURE__ */ le({
@@ -26867,10 +26869,10 @@ const bH = le({
26867
26869
  qt((B) => ({
26868
26870
  bbb40330: D(Je).expandable,
26869
26871
  v21f210bf: xe.value,
26870
- v6fe0bcd7: x.value,
26872
+ v6fe0bcd7: S.value,
26871
26873
  v29f9af2b: F.value
26872
26874
  }));
26873
- const a = sg(e, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "tooltipTarget", "data", "headers"]), n = t, r = St(), i = bt(), o = (B) => typeof e.rowKey == "function" && typeof e.rowKey(B) == "string" ? e.rowKey(B) : typeof e.rowKey == "string" && e.rowKey in B && typeof B[e.rowKey] == "string" ? B[e.rowKey] : "", u = ht("table-wrapper"), s = ht("header-row"), l = N([]), c = N([]), f = N(""), d = N(""), v = N(""), y = b(() => l.value.some((B) => B.key === Ge.ACTIONS)), C = b(() => l.value.filter((B) => B.hidable).length > 0), h = b(() => e.nested || !C.value || e.error ? !1 : r.toolbar ? !0 : !e.loading && !!e.data && !!e.data.length), g = b(() => e.loading || !(e.data && e.data.length)), p = b(() => l.value.filter((B) => B.hidable && !ft(B.key))), w = b(() => h.value ? e.tablePreferences.columnVisibility || {} : {}), k = N(h.value ? e.tablePreferences.columnVisibility || {} : {}), x = N("100%"), T = N(!1), A = N(!1), R = N(!1), X = N(!1), O = N(e.tablePreferences.sortColumnKey || ""), Y = N(e.tablePreferences.sortColumnOrder || "desc"), Z = N(!1), S = b(() => !e.hideToolbar && !e.nested && (!!r.toolbar || h.value || ce.value)), E = ht("actionsDropdown"), I = N(!1), P = b(() => ({
26875
+ const a = sg(e, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "tooltipTarget", "data", "headers"]), n = t, r = St(), i = bt(), o = (B) => typeof e.rowKey == "function" && typeof e.rowKey(B) == "string" ? e.rowKey(B) : typeof e.rowKey == "string" && e.rowKey in B && typeof B[e.rowKey] == "string" ? B[e.rowKey] : "", u = ht("table-wrapper"), s = ht("header-row"), l = N([]), c = N([]), f = N(""), d = N(""), v = N(""), y = b(() => l.value.some((B) => B.key === Ge.ACTIONS)), C = b(() => l.value.filter((B) => B.hidable).length > 0), h = b(() => e.nested || !C.value || e.error ? !1 : r.toolbar ? !0 : !e.loading && !!e.data && !!e.data.length), g = b(() => e.loading || !(e.data && e.data.length)), p = b(() => l.value.filter((B) => B.hidable && !dt(B.key))), w = b(() => h.value ? e.tablePreferences.columnVisibility || {} : {}), k = N(h.value ? e.tablePreferences.columnVisibility || {} : {}), S = N("100%"), T = N(!1), A = N(!1), R = N(!1), X = N(!1), O = N(e.tablePreferences.sortColumnKey || ""), Y = N(e.tablePreferences.sortColumnOrder || "desc"), Z = N(!1), x = b(() => !e.hideToolbar && !e.nested && (!!r.toolbar || h.value || ce.value)), E = ht("actionsDropdown"), I = N(!1), P = b(() => ({
26874
26876
  maxHeight: It(e.maxHeight)
26875
26877
  })), F = b(() => `${km()}px`), U = N([]), te = b(() => !e.nested && !e.error && l.value.some((B) => B.key === Ge.BULK_ACTIONS) && !!(r["bulk-action-items"] || r["bulk-actions"]) && !!e.data.every((B) => o(B))), q = N([]), ce = b(() => e.nested || !te.value || e.error ? !1 : r.toolbar ? !0 : !e.loading && !!e.data && !!e.data.length), ve = b(() => {
26876
26878
  const B = U.value.length;
@@ -26997,17 +26999,17 @@ const bH = le({
26997
26999
  const Nt = window == null ? void 0 : window.getComputedStyle(be);
26998
27000
  Nt != null && Nt.width && (Ce = parseInt(Nt.width, 10)), document == null || document.addEventListener("mousemove", Ke), document == null || document.addEventListener("mouseup", Re);
26999
27001
  }
27000
- }, Me = (B) => R.value ? B === Ge.BULK_ACTIONS || B === Ge.EXPANDABLE : !1, je = (B) => B === Ge.BULK_ACTIONS && $e.value, gt = (B) => R.value ? te.value ? B === Ge.BULK_ACTIONS : $e.value ? B === Ge.EXPANDABLE : !1 : !1, ft = (B) => B === Ge.EXPANDABLE || B === Ge.BULK_ACTIONS || B === Ge.ACTIONS, Xe = (B, V = !1) => {
27002
+ }, Me = (B) => R.value ? B === Ge.BULK_ACTIONS || B === Ge.EXPANDABLE : !1, je = (B) => B === Ge.BULK_ACTIONS && $e.value, gt = (B) => R.value ? te.value ? B === Ge.BULK_ACTIONS : $e.value ? B === Ge.EXPANDABLE : !1 : !1, dt = (B) => B === Ge.EXPANDABLE || B === Ge.BULK_ACTIONS || B === Ge.ACTIONS, Xe = (B, V = !1) => {
27001
27003
  if (!e.resizeColumns || e.nested)
27002
27004
  return !1;
27003
27005
  if (V) {
27004
27006
  if (c.value.indexOf(B) === c.value.length - 1)
27005
27007
  return !1;
27006
27008
  const Ce = c.value[c.value.indexOf(B) - 1];
27007
- return !ft(Ce.key);
27009
+ return !dt(Ce.key);
27008
27010
  }
27009
27011
  const ee = c.value[c.value.indexOf(B) + 1];
27010
- return !ft(B.key) && !ft(ee.key);
27012
+ return !dt(B.key) && !dt(ee.key);
27011
27013
  }, lt = (B, V, ee) => {
27012
27014
  n("row-actions-toggle", { row: B, open: V }), setTimeout(() => {
27013
27015
  ee.isRowActionsDropdownOpen = V;
@@ -27069,8 +27071,8 @@ const bH = le({
27069
27071
  return e.data.forEach((V, ee) => {
27070
27072
  e.rowExpanded(V) && B.push(ee);
27071
27073
  }), B;
27072
- }, vt = N(kt()), Ia = async (B, V) => {
27073
- wt(), await ct(), vt.value.includes(B) ? (vt.value = vt.value.filter((ee) => ee !== B), n("update:row-expanded", { row: V, expanded: !1 })) : (vt.value = [...vt.value, B], n("update:row-expanded", { row: V, expanded: !0 }));
27074
+ }, ft = N(kt()), Ia = async (B, V) => {
27075
+ wt(), await vt(), ft.value.includes(B) ? (ft.value = ft.value.filter((ee) => ee !== B), n("update:row-expanded", { row: V, expanded: !1 })) : (ft.value = [...ft.value, B], n("update:row-expanded", { row: V, expanded: !0 }));
27074
27076
  }, Ea = b(() => c.value.filter((B) => B.key !== Ge.EXPANDABLE && B.key !== Ge.BULK_ACTIONS)), Qa = N({}), wt = () => {
27075
27077
  if (typeof document > "u")
27076
27078
  return;
@@ -27123,7 +27125,7 @@ const bH = le({
27123
27125
  V.find((Nt) => o(Re) === o(Nt)) || Ke.push(Re);
27124
27126
  }), U.value = [...Ke, ...be];
27125
27127
  }
27126
- vt.value = kt();
27128
+ ft.value = kt();
27127
27129
  }, { deep: !0, immediate: !0 }), ie(U, (B) => {
27128
27130
  n("row-select", B);
27129
27131
  }), ie(() => e.tablePreferences, (B) => {
@@ -27131,11 +27133,11 @@ const bH = le({
27131
27133
  }), d0(u, (B) => {
27132
27134
  var ee;
27133
27135
  const V = (ee = B[0]) == null ? void 0 : ee.target;
27134
- V && (X.value = V.scrollWidth > V.clientWidth, x.value = V.clientHeight + "px", T.value = V.scrollHeight > V.clientHeight);
27136
+ V && (X.value = V.scrollWidth > V.clientWidth, S.value = V.clientHeight + "px", T.value = V.scrollHeight > V.clientHeight);
27135
27137
  }), (B, V) => (m(), $("div", {
27136
27138
  class: ue(["k-table-view", { "hide-headers": e.hideHeaders }])
27137
27139
  }, [
27138
- S.value ? (m(), $("div", QH, [
27140
+ x.value ? (m(), $("div", QH, [
27139
27141
  W(B.$slots, "toolbar", {}, void 0, !0),
27140
27142
  ce.value || h.value ? (m(), $("div", ZH, [
27141
27143
  ce.value ? W(B.$slots, "bulk-actions", {
@@ -27356,7 +27358,7 @@ const bH = le({
27356
27358
  }, [
27357
27359
  z("tr", Fe({
27358
27360
  class: {
27359
- "last-row": Ce === e.data.length - 1 && !vt.value.includes(Ce)
27361
+ "last-row": Ce === e.data.length - 1 && !ft.value.includes(Ce)
27360
27362
  },
27361
27363
  role: e.rowLink(ee).to ? "link" : void 0,
27362
27364
  tabindex: Z.value && !e.rowLink(ee).to ? 0 : void 0
@@ -27449,9 +27451,9 @@ const bH = le({
27449
27451
  }, 1040)) : e.rowExpandable(ee) ? (m(), $("div", lq, [
27450
27452
  z("button", {
27451
27453
  "aria-controls": `table-${D(i)}-row-${Ce}-expandable-content`,
27452
- "aria-expanded": vt.value.includes(Ce),
27454
+ "aria-expanded": ft.value.includes(Ce),
27453
27455
  "aria-label": "Toggle row expandable content",
27454
- class: ue(["expandable-row-control", { expanded: vt.value.includes(Ce) }]),
27456
+ class: ue(["expandable-row-control", { expanded: ft.value.includes(Ce) }]),
27455
27457
  "data-testid": "expandable-row-control",
27456
27458
  type: "button",
27457
27459
  onClick: (mt) => Ia(Ce, ee)
@@ -27499,7 +27501,7 @@ const bH = le({
27499
27501
  ])
27500
27502
  ], 8, cq)
27501
27503
  ], 8, uq)), [
27502
- [Zn, vt.value.includes(Ce)]
27504
+ [Zn, ft.value.includes(Ce)]
27503
27505
  ]) : H("", !0)
27504
27506
  ], 64))), 128))
27505
27507
  ])
@@ -27616,7 +27618,7 @@ const bH = le({
27616
27618
  const n = sg(e, ["resizeColumns", "tablePreferences", "rowHover", "rowAttrs", "rowLink", "rowBulkActionEnabled", "rowKey", "cellAttrs", "loading", "emptyStateTitle", "emptyStateMessage", "emptyStateActionMessage", "emptyStateIconVariant", "emptyStateButtonAppearance", "emptyStateActionRoute", "error", "errorStateTitle", "errorStateMessage", "errorStateActionMessage", "errorStateActionRoute", "maxHeight", "hidePagination", "paginationAttributes", "rowExpandable", "rowExpanded", "hideHeaders", "nested", "hidePaginationWhenOptional", "hideToolbar", "headers", "fetcherCacheKey", "cacheIdentifier", "searchInput", "initialFetcherParams", "clientSort", "sortable", "fetcher", "sortHandlerFunction", "tooltipTarget"]), r = b(() => {
27617
27619
  const se = /^on[^a-z]/;
27618
27620
  return J$(n, (Ue, _) => se.test(_));
27619
- }), i = a, o = St(), { useDebounce: u, useRequest: s, useSwrvState: l, clientSideSorter: c } = Ln(), f = bt(), d = N([]), v = b(() => e.sortable ? e.headers : e.headers.map((se) => ({ ...se, sortable: !1 }))), y = b(() => e.emptyStateButtonAppearance ? e.emptyStateButtonAppearance : e.searchInput ? "tertiary" : "primary"), C = N(0), h = N(1), g = N(y1(e.tablePreferences, e.paginationAttributes)), p = N(e.searchInput ?? ""), w = N(e.tablePreferences.sortColumnKey || e.initialFetcherParams.sortColumnKey || ""), k = N(e.tablePreferences.sortColumnOrder || e.initialFetcherParams.sortColumnOrder || "desc"), x = N(!(w.value && e.clientSort)), T = N(null), A = N([]), R = N(!0), X = N(!1), O = {
27621
+ }), i = a, o = St(), { useDebounce: u, useRequest: s, useSwrvState: l, clientSideSorter: c } = Ln(), f = bt(), d = N([]), v = b(() => e.sortable ? e.headers : e.headers.map((se) => ({ ...se, sortable: !1 }))), y = b(() => e.emptyStateButtonAppearance ? e.emptyStateButtonAppearance : e.searchInput ? "tertiary" : "primary"), C = N(0), h = N(1), g = N(y1(e.tablePreferences, e.paginationAttributes)), p = N(e.searchInput ?? ""), w = N(e.tablePreferences.sortColumnKey || e.initialFetcherParams.sortColumnKey || ""), k = N(e.tablePreferences.sortColumnOrder || e.initialFetcherParams.sortColumnOrder || "desc"), S = N(!(w.value && e.clientSort)), T = N(null), A = N([]), R = N(!0), X = N(!1), O = {
27620
27622
  pageSize: g.value,
27621
27623
  page: h.value,
27622
27624
  query: p.value,
@@ -27630,7 +27632,7 @@ const bH = le({
27630
27632
  offsetPreviousButtonDisabled: !ne.value,
27631
27633
  offsetNextButtonDisabled: !de.value || !R.value,
27632
27634
  ...e.paginationAttributes
27633
- })), Z = (se) => se.startsWith("column-"), S = (se) => se.startsWith("tooltip-"), E = (se) => v.value.some((Ue) => Ue.key === se), I = b(() => o ? Object.keys(o).filter(Z) : []), P = b(() => o ? Object.keys(o).filter(S) : []), F = b(() => o ? Object.keys(o).filter(E) : []), U = b(() => ({
27635
+ })), Z = (se) => se.startsWith("column-"), x = (se) => se.startsWith("tooltip-"), E = (se) => v.value.some((Ue) => Ue.key === se), I = b(() => o ? Object.keys(o).filter(Z) : []), P = b(() => o ? Object.keys(o).filter(x) : []), F = b(() => o ? Object.keys(o).filter(E) : []), U = b(() => ({
27634
27636
  sortColumnKey: w.value,
27635
27637
  sortColumnOrder: k.value
27636
27638
  })), te = b(() => ({
@@ -27688,7 +27690,7 @@ const bH = le({
27688
27690
  state: ge.value
27689
27691
  })), Be = b(() => me.value ? "loading" : _e.value ? "error" : "success"), { debouncedFn: Me } = u(et, 500), je = ({ sortColumnKey: se, prevKey: Ue, sortColumnOrder: _ }, fe = !0) => {
27690
27692
  var M;
27691
- x.value = !0;
27693
+ S.value = !0;
27692
27694
  const Ae = v.value.find((G) => G.key === se) || {}, { useSortHandlerFunction: j } = Ae;
27693
27695
  if (fe && i("sort", {
27694
27696
  prevKey: Ue,
@@ -27708,7 +27710,7 @@ const bH = le({
27708
27710
  else (M = e.paginationAttributes) != null && M.offset || Me();
27709
27711
  }, gt = ({ page: se }) => {
27710
27712
  h.value = se;
27711
- }, ft = ({ pageSize: se }) => {
27713
+ }, dt = ({ pageSize: se }) => {
27712
27714
  A.value = [null], T.value = null, g.value = se, h.value = 1;
27713
27715
  }, Xe = ({ columnWidths: se, columnVisibility: Ue }) => {
27714
27716
  lt.value = {
@@ -27747,7 +27749,7 @@ const bH = le({
27747
27749
  });
27748
27750
  return ie(Ze, (se) => {
27749
27751
  var Ue, _, fe, Ae;
27750
- se != null && se.data && (d.value = [...se.data], C.value = ((Ue = e.paginationAttributes) == null ? void 0 : Ue.totalCount) || se.total || ((_ = se.data) == null ? void 0 : _.length) || 0, (fe = e.paginationAttributes) != null && fe.offset && ((Ae = se.pagination) != null && Ae.offset ? (de.value = se.pagination.offset, A.value[h.value] || A.value.push(se.pagination.offset)) : de.value = null, R.value = se.pagination && "hasNextPage" in se.pagination ? se.pagination.hasNextPage || !1 : !0), d.value.length === 0 && h.value > 1 && (h.value = 1, A.value = [null], T.value = null), e.sortable && !x.value && je({ sortColumnKey: w.value, prevKey: "", sortColumnOrder: k.value }, !1));
27752
+ se != null && se.data && (d.value = [...se.data], C.value = ((Ue = e.paginationAttributes) == null ? void 0 : Ue.totalCount) || se.total || ((_ = se.data) == null ? void 0 : _.length) || 0, (fe = e.paginationAttributes) != null && fe.offset && ((Ae = se.pagination) != null && Ae.offset ? (de.value = se.pagination.offset, A.value[h.value] || A.value.push(se.pagination.offset)) : de.value = null, R.value = se.pagination && "hasNextPage" in se.pagination ? se.pagination.hasNextPage || !1 : !0), d.value.length === 0 && h.value > 1 && (h.value = 1, A.value = [null], T.value = null), e.sortable && !S.value && je({ sortColumnKey: w.value, prevKey: "", sortColumnOrder: k.value }, !1));
27751
27753
  }, { deep: !0, immediate: !0 }), ie([xe, Be], (se) => {
27752
27754
  const [Ue, _] = se;
27753
27755
  i("state", {
@@ -27805,7 +27807,7 @@ const bH = le({
27805
27807
  onGetNextOffset: aa,
27806
27808
  onGetPreviousOffset: Pt,
27807
27809
  onPageChange: gt,
27808
- onPageSizeChange: ft,
27810
+ onPageSizeChange: dt,
27809
27811
  onRowActionsToggle: Ue[2] || (Ue[2] = (_) => se.$emit("row-actions-toggle", _)),
27810
27812
  onRowSelect: Ue[3] || (Ue[3] = (_) => i("row-select", _)),
27811
27813
  onSort: je,