@konnectio/core 4.0.65 → 4.0.67

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.
Files changed (69) hide show
  1. package/dist/{ActionField-D5c9yQMq.js → ActionField-CT_apby-.js} +15 -15
  2. package/dist/ActionField-CT_apby-.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BfyLbK2o.js → AvailabilitySkeleton-CZ8yMhKx.js} +17 -17
  4. package/dist/AvailabilitySkeleton-CZ8yMhKx.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js} +253 -253
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js.br +0 -0
  7. package/dist/{CheckoutWindow-B74NMuGr.js → CheckoutWindow-B5_4BaaS.js} +5 -5
  8. package/dist/CheckoutWindow-B5_4BaaS.js.br +0 -0
  9. package/dist/{ErrorMessage-CWR5rjTx.js → ErrorMessage-M78h-mvR.js} +3 -3
  10. package/dist/ErrorMessage-M78h-mvR.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-lFAnwVMX.js → EventAvailabilityForm-HdD0h2K-.js} +6 -6
  12. package/dist/EventAvailabilityForm-HdD0h2K-.js.br +0 -0
  13. package/dist/{Field-C4DyN4XC.js → Field-B8yANlQ6.js} +3 -3
  14. package/dist/Field-B8yANlQ6.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js} +1940 -1901
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js.br +0 -0
  17. package/dist/{TermsOfService-Bx4b2VxT.js → TermsOfService-BJKKDCJG.js} +13 -13
  18. package/dist/TermsOfService-BJKKDCJG.js.br +0 -0
  19. package/dist/{_-DmU4JLX1.js → _-yypsiI8V.js} +2 -2
  20. package/dist/_.vue_vue_type_style_index_0_lang-CyUM1wWD.js +40 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-CyUM1wWD.js.br +0 -0
  22. package/dist/{tracing-B1Jp160Y.js → _commonjsHelpers-Dn7n5RRb.js} +204 -197
  23. package/dist/_commonjsHelpers-Dn7n5RRb.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-tJBg8sGS.js → _sentry-release-injection-file-gSWd_6hD.js} +3 -3
  25. package/dist/_sentry-release-injection-file-gSWd_6hD.js.br +0 -0
  26. package/dist/availability.js +44 -44
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +2 -2
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +19 -19
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +41 -41
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +20 -20
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-SDJGsDep.js → giftCard-Baweqc3Y.js} +5 -5
  37. package/dist/giftCard-Baweqc3Y.js.br +0 -0
  38. package/dist/hotel.js +563 -559
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-BhK5XQta.js → masonry.plugin-HPRfkQvp.js} +48 -46
  41. package/dist/masonry.plugin-HPRfkQvp.js.br +0 -0
  42. package/dist/{mitt-CGFh35r5.js → mitt-CayBWWiP.js} +2 -2
  43. package/dist/mitt-CayBWWiP.js.br +0 -0
  44. package/dist/polyfill.js +5 -6
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-BQlIFUN3.js → style-B31Ox_CN.js} +153 -160
  47. package/dist/style-B31Ox_CN.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +1 -1
  51. package/dist/ActionField-D5c9yQMq.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-BfyLbK2o.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js.br +0 -0
  54. package/dist/CheckoutWindow-B74NMuGr.js.br +0 -0
  55. package/dist/ErrorMessage-CWR5rjTx.js.br +0 -0
  56. package/dist/EventAvailabilityForm-lFAnwVMX.js.br +0 -0
  57. package/dist/Field-C4DyN4XC.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js.br +0 -0
  59. package/dist/TermsOfService-Bx4b2VxT.js.br +0 -0
  60. package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js +0 -77
  61. package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js.br +0 -0
  62. package/dist/_commonjsHelpers-BbdZelfp.js +0 -25
  63. package/dist/_commonjsHelpers-BbdZelfp.js.br +0 -0
  64. package/dist/_sentry-release-injection-file-tJBg8sGS.js.br +0 -0
  65. package/dist/giftCard-SDJGsDep.js.br +0 -0
  66. package/dist/masonry.plugin-BhK5XQta.js.br +0 -0
  67. package/dist/mitt-CGFh35r5.js.br +0 -0
  68. package/dist/style-BQlIFUN3.js.br +0 -0
  69. package/dist/tracing-B1Jp160Y.js.br +0 -0
@@ -1,10 +1,10 @@
1
- import { N as Ra, r as z, d as Qe, m as ta, U as Ta, o as at, D as pt, O as Wa, z as gt, c as T, a as S, g as G, f as vt, q as tt, s as Ne, w as we, l as se, V as Ke, W as st, u as p, X as Ge, v as Hn, b as Pe, T as ya, i as X, Y as za, Z as tl, n as ke, e as fe, F as De, P as ht, h as Aa, t as Je, J as al, _ as Bn, x as It, $ as nl, A as La, B as Ha, a0 as rl, a1 as ll, a2 as ol } from "./_sentry-release-injection-file-tJBg8sGS.js";
2
- import { o as Qt, A as il, p as sl, r as ul, q as dl, a as cl, d as Vn, u as ml, H as yt, t as Ja, O as qn, S as Za, J as vl, v as la, K as pl } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js";
3
- import { d as fl, s as Wn, a as Ft } from "./mitt-CGFh35r5.js";
1
+ import { N as Ra, r as z, d as Qe, m as ta, U as Ta, o as at, D as pt, O as Wa, z as gt, c as T, a as S, g as G, f as vt, q as tt, s as Ne, w as we, l as se, V as Ke, W as st, u as p, X as Ge, v as Bn, b as Pe, T as ya, i as X, Y as za, Z as tl, n as ke, e as fe, F as De, P as ht, h as Aa, t as Je, J as al, _ as Hn, x as It, $ as nl, A as La, B as Ba, a0 as rl, a1 as ll, a2 as ol } from "./_sentry-release-injection-file-gSWd_6hD.js";
2
+ import { p as Qt, D as il, q as sl, t as ul, r as dl, a as cl, e as Vn, u as ml, J as yt, v as Ja, O as qn, S as Za, K as vl, w as la, M as pl } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js";
3
+ import { d as fl, s as Wn, a as Ft } from "./mitt-CayBWWiP.js";
4
4
  (function() {
5
5
  try {
6
6
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b549a95-8dda-4780-bd5f-f716ab7b238b", e._sentryDebugIdIdentifier = "sentry-dbid-8b549a95-8dda-4780-bd5f-f716ab7b238b");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "32add26f-c0dd-450b-95ac-84bfffc24cf0", e._sentryDebugIdIdentifier = "sentry-dbid-32add26f-c0dd-450b-95ac-84bfffc24cf0");
8
8
  } catch {
9
9
  }
10
10
  })();
@@ -84,7 +84,7 @@ function zn(e) {
84
84
  const t = de(e);
85
85
  return t.setHours(0, 0, 0, 0), t;
86
86
  }
87
- function Ba(e) {
87
+ function Ha(e) {
88
88
  const t = de(e), n = new Date(
89
89
  Date.UTC(
90
90
  t.getFullYear(),
@@ -99,7 +99,7 @@ function Ba(e) {
99
99
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
100
100
  }
101
101
  function vr(e, t) {
102
- const n = zn(e), a = zn(t), r = +n - Ba(n), l = +a - Ba(a);
102
+ const n = zn(e), a = zn(t), r = +n - Ha(n), l = +a - Ha(a);
103
103
  return Math.round((r - l) / hl);
104
104
  }
105
105
  function _l(e) {
@@ -426,7 +426,7 @@ const Nl = {
426
426
  evening: "in the evening",
427
427
  night: "at night"
428
428
  }
429
- }, Hl = (e, t) => {
429
+ }, Bl = (e, t) => {
430
430
  const n = Number(e), a = n % 100;
431
431
  if (a > 20 || a < 10)
432
432
  switch (a % 10) {
@@ -439,7 +439,7 @@ const Nl = {
439
439
  }
440
440
  return n + "th";
441
441
  }, br = {
442
- ordinalNumber: Hl,
442
+ ordinalNumber: Bl,
443
443
  era: Pt({
444
444
  values: Nl,
445
445
  defaultWidth: "wide"
@@ -471,7 +471,7 @@ function Tt(e) {
471
471
  return null;
472
472
  const o = l[0], v = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], m = Array.isArray(v) ? Vl(v, (y) => y.test(o)) : (
473
473
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
474
- Bl(v, (y) => y.test(o))
474
+ Hl(v, (y) => y.test(o))
475
475
  );
476
476
  let k;
477
477
  k = e.valueCallback ? e.valueCallback(m) : m, k = n.valueCallback ? (
@@ -482,7 +482,7 @@ function Tt(e) {
482
482
  return { value: k, rest: c };
483
483
  };
484
484
  }
485
- function Bl(e, t) {
485
+ function Hl(e, t) {
486
486
  for (const n in e)
487
487
  if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
488
488
  return n;
@@ -2105,7 +2105,7 @@ function _n(e, t, n) {
2105
2105
  const a = aa(), r = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, l = de(e), o = l.getDay(), m = (t % 7 + 7) % 7, k = 7 - r, c = t < 0 || t > 6 ? t - (o + k) % 7 : (m + k) % 7 - (o + k) % 7;
2106
2106
  return kt(l, c);
2107
2107
  }
2108
- class Ho extends Ae {
2108
+ class Bo extends Ae {
2109
2109
  priority = 90;
2110
2110
  parse(t, n, a) {
2111
2111
  switch (n) {
@@ -2139,7 +2139,7 @@ class Ho extends Ae {
2139
2139
  }
2140
2140
  incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
2141
2141
  }
2142
- class Bo extends Ae {
2142
+ class Ho extends Ae {
2143
2143
  priority = 90;
2144
2144
  parse(t, n, a, r) {
2145
2145
  const l = (o) => {
@@ -2630,7 +2630,7 @@ class ti extends Ae {
2630
2630
  set(t, n, a) {
2631
2631
  return n.timestampIsSet ? t : Te(
2632
2632
  t,
2633
- t.getTime() - Ba(t) - a
2633
+ t.getTime() - Ha(t) - a
2634
2634
  );
2635
2635
  }
2636
2636
  incompatibleTokens = ["t", "T", "x"];
@@ -2664,7 +2664,7 @@ class ai extends Ae {
2664
2664
  set(t, n, a) {
2665
2665
  return n.timestampIsSet ? t : Te(
2666
2666
  t,
2667
- t.getTime() - Ba(t) - a
2667
+ t.getTime() - Ha(t) - a
2668
2668
  );
2669
2669
  }
2670
2670
  incompatibleTokens = ["t", "T", "X"];
@@ -2703,8 +2703,8 @@ const li = {
2703
2703
  I: new Io(),
2704
2704
  d: new Fo(),
2705
2705
  D: new Lo(),
2706
- E: new Ho(),
2707
- e: new Bo(),
2706
+ E: new Bo(),
2707
+ e: new Ho(),
2708
2708
  c: new Vo(),
2709
2709
  i: new Wo(),
2710
2710
  a: new zo(),
@@ -2733,16 +2733,16 @@ function pn(e, t, n, a) {
2733
2733
  }, k = [new _o()], c = t.match(ii).map((g) => {
2734
2734
  const M = g[0];
2735
2735
  if (M in mn) {
2736
- const B = mn[M];
2737
- return B(g, l.formatLong);
2736
+ const H = mn[M];
2737
+ return H(g, l.formatLong);
2738
2738
  }
2739
2739
  return g;
2740
2740
  }).join("").match(oi), y = [];
2741
2741
  for (let g of c) {
2742
2742
  !a?.useAdditionalWeekYearTokens && Pr(g) && vn(g, t, e), !a?.useAdditionalDayOfYearTokens && xr(g) && vn(g, t, e);
2743
- const M = g[0], B = li[M];
2744
- if (B) {
2745
- const { incompatibleTokens: J } = B;
2743
+ const M = g[0], H = li[M];
2744
+ if (H) {
2745
+ const { incompatibleTokens: J } = H;
2746
2746
  if (Array.isArray(J)) {
2747
2747
  const W = y.find(
2748
2748
  (Z) => J.includes(Z.token) || Z.token === M
@@ -2751,12 +2751,12 @@ function pn(e, t, n, a) {
2751
2751
  throw new RangeError(
2752
2752
  `The format string mustn't contain \`${W.fullToken}\` and \`${g}\` at the same time`
2753
2753
  );
2754
- } else if (B.incompatibleTokens === "*" && y.length > 0)
2754
+ } else if (H.incompatibleTokens === "*" && y.length > 0)
2755
2755
  throw new RangeError(
2756
2756
  `The format string mustn't contain \`${g}\` and any other token at the same time`
2757
2757
  );
2758
2758
  y.push({ token: M, fullToken: g });
2759
- const O = B.run(
2759
+ const O = H.run(
2760
2760
  e,
2761
2761
  g,
2762
2762
  l.match,
@@ -2778,8 +2778,8 @@ function pn(e, t, n, a) {
2778
2778
  }
2779
2779
  if (e.length > 0 && di.test(e))
2780
2780
  return Te(n, NaN);
2781
- const b = k.map((g) => g.priority).sort((g, M) => M - g).filter((g, M, B) => B.indexOf(g) === M).map(
2782
- (g) => k.filter((M) => M.priority === g).sort((M, B) => B.subPriority - M.subPriority)
2781
+ const b = k.map((g) => g.priority).sort((g, M) => M - g).filter((g, M, H) => H.indexOf(g) === M).map(
2782
+ (g) => k.filter((M) => M.priority === g).sort((M, H) => H.subPriority - M.subPriority)
2783
2783
  ).map((g) => g[0]);
2784
2784
  let h = de(n);
2785
2785
  if (isNaN(h.getTime()))
@@ -3182,13 +3182,13 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3182
3182
  hours: Yt(e),
3183
3183
  minutes: Wt(e),
3184
3184
  seconds: ca(e)
3185
- }), Hr = (e, t) => {
3185
+ }), Br = (e, t) => {
3186
3186
  if (t) {
3187
3187
  const n = he(K(t));
3188
3188
  if (n > e) return 12;
3189
3189
  if (n === e) return _e(K(t));
3190
3190
  }
3191
- }, Br = (e, t) => {
3191
+ }, Hr = (e, t) => {
3192
3192
  if (t) {
3193
3193
  const n = he(K(t));
3194
3194
  return n < e ? -1 : n === e ? _e(K(t)) : void 0;
@@ -3211,14 +3211,14 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3211
3211
  seconds: t ? ca(K()) : 0
3212
3212
  };
3213
3213
  return Object.assign(n, e);
3214
- }, Bt = (e, t, n) => [Se(K(e), { date: 1 }), Se(K(), { month: t, year: n, date: 1 })], Ct = (e, t, n) => {
3214
+ }, Ht = (e, t, n) => [Se(K(e), { date: 1 }), Se(K(), { month: t, year: n, date: 1 })], Ct = (e, t, n) => {
3215
3215
  let a = e ? K(e) : K();
3216
3216
  return (t || t === 0) && (a = Sr(a, t)), n && (a = Ot(a, n)), a;
3217
3217
  }, Wr = (e, t, n, a, r) => {
3218
3218
  if (!a || r && !t || !r && !n) return !1;
3219
3219
  const l = r ? Dt(e, 1) : va(e, 1), o = [_e(l), he(l)];
3220
3220
  return r ? !Ci(...o, t) : !Ri(...o, n);
3221
- }, Ri = (e, t, n) => Fe(...Bt(n, e, t)) || Me(...Bt(n, e, t)), Ci = (e, t, n) => Ve(...Bt(n, e, t)) || Me(...Bt(n, e, t)), zr = (e, t, n, a, r, l, o) => {
3221
+ }, Ri = (e, t, n) => Fe(...Ht(n, e, t)) || Me(...Ht(n, e, t)), Ci = (e, t, n) => Ve(...Ht(n, e, t)) || Me(...Ht(n, e, t)), zr = (e, t, n, a, r, l, o) => {
3222
3222
  if (typeof t == "function" && !o) return t(e);
3223
3223
  const v = n ? { locale: n } : void 0;
3224
3224
  return Array.isArray(e) ? `${St(e[0], l, v)}${r && !e[1] ? "" : a}${e[1] ? St(e[1], l, v) : ""}` : St(e, l, v);
@@ -3271,7 +3271,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3271
3271
  1: []
3272
3272
  },
3273
3273
  monthPicker: []
3274
- }), ln = z(null), Fa = z(!1), on = z(!1), sn = z(!1), un = z(!1), Ze = z(0), Be = z(0), zt = () => {
3274
+ }), ln = z(null), Fa = z(!1), on = z(!1), sn = z(!1), un = z(!1), Ze = z(0), He = z(0), zt = () => {
3275
3275
  const e = T(() => Fa.value ? [...Re.selectionGrid, Re.actionRow].filter((y) => y.length) : on.value ? [
3276
3276
  ...Re.timePicker[0],
3277
3277
  ...Re.timePicker[1],
@@ -3280,12 +3280,12 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3280
3280
  ].filter((y) => y.length) : sn.value ? [...Re.monthPicker, Re.actionRow] : [Re.monthYear, ...Re.calendar, Re.time, Re.actionRow].filter((y) => y.length)), t = (y) => {
3281
3281
  Ze.value = y ? Ze.value + 1 : Ze.value - 1;
3282
3282
  let b = null;
3283
- e.value[Be.value] && (b = e.value[Be.value][Ze.value]), !b && e.value[Be.value + (y ? 1 : -1)] ? (Be.value = Be.value + (y ? 1 : -1), Ze.value = y ? 0 : e.value[Be.value].length - 1) : b || (Ze.value = y ? Ze.value - 1 : Ze.value + 1);
3283
+ e.value[He.value] && (b = e.value[He.value][Ze.value]), !b && e.value[He.value + (y ? 1 : -1)] ? (He.value = He.value + (y ? 1 : -1), Ze.value = y ? 0 : e.value[He.value].length - 1) : b || (Ze.value = y ? Ze.value - 1 : Ze.value + 1);
3284
3284
  }, n = (y) => {
3285
- Be.value === 0 && !y || Be.value === e.value.length && y || (Be.value = y ? Be.value + 1 : Be.value - 1, e.value[Be.value] ? e.value[Be.value] && !e.value[Be.value][Ze.value] && Ze.value !== 0 && (Ze.value = e.value[Be.value].length - 1) : Be.value = y ? Be.value - 1 : Be.value + 1);
3285
+ He.value === 0 && !y || He.value === e.value.length && y || (He.value = y ? He.value + 1 : He.value - 1, e.value[He.value] ? e.value[He.value] && !e.value[He.value][Ze.value] && Ze.value !== 0 && (Ze.value = e.value[He.value].length - 1) : He.value = y ? He.value - 1 : He.value + 1);
3286
3286
  }, a = (y) => {
3287
3287
  let b = null;
3288
- e.value[Be.value] && (b = e.value[Be.value][Ze.value]), b ? b.focus({ preventScroll: !Fa.value }) : Ze.value = y ? Ze.value - 1 : Ze.value + 1;
3288
+ e.value[He.value] && (b = e.value[He.value][Ze.value]), b ? b.focus({ preventScroll: !Fa.value }) : Ze.value = y ? Ze.value - 1 : Ze.value + 1;
3289
3289
  }, r = () => {
3290
3290
  t(!0), a(!0);
3291
3291
  }, l = () => {
@@ -3299,7 +3299,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3299
3299
  }, k = (y, b) => {
3300
3300
  Re[b] = y;
3301
3301
  }, c = () => {
3302
- Ze.value = 0, Be.value = 0;
3302
+ Ze.value = 0, He.value = 0;
3303
3303
  };
3304
3304
  return {
3305
3305
  buildMatrix: m,
@@ -3368,7 +3368,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3368
3368
  if (!e) return { ...n, count: or(!1) };
3369
3369
  const a = t ? e : {}, r = t ? a.count ?? !0 : e, l = or(r);
3370
3370
  return Object.assign(n, a, { count: l });
3371
- }, Fi = (e, t, n) => e || (typeof n == "string" ? n : t), Li = (e) => typeof e == "boolean" ? e ? lr({}) : !1 : lr(e), Hi = (e) => {
3371
+ }, Fi = (e, t, n) => e || (typeof n == "string" ? n : t), Li = (e) => typeof e == "boolean" ? e ? lr({}) : !1 : lr(e), Bi = (e) => {
3372
3372
  const t = {
3373
3373
  enterSubmit: !0,
3374
3374
  tabSubmit: !0,
@@ -3377,7 +3377,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3377
3377
  rangeSeparator: " - "
3378
3378
  };
3379
3379
  return typeof e == "object" ? { ...t, ...e ?? {}, enabled: !0 } : { ...t, enabled: e };
3380
- }, Bi = (e) => ({
3380
+ }, Hi = (e) => ({
3381
3381
  months: [],
3382
3382
  years: [],
3383
3383
  times: { hours: [], minutes: [], seconds: [] },
@@ -3478,9 +3478,9 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3478
3478
  }, n = () => {
3479
3479
  var I;
3480
3480
  return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? t() : e.weekPicker ? `${((I = M.value) == null ? void 0 : I.type) === "iso" ? "RR" : "ww"}-yyyy` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${t()}` : "MM/dd/yyyy";
3481
- }, a = (I) => qr(I, e.enableSeconds), r = () => W.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [a(e.startTime[0]), a(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? a(e.startTime) : null, l = T(() => Ei(e.multiCalendars)), o = T(() => r()), v = T(() => Yi(e.ariaLabels)), m = T(() => Bi(e.filters)), k = T(() => Li(e.transitions)), c = T(() => Vi(e.actionRow)), y = T(
3481
+ }, a = (I) => qr(I, e.enableSeconds), r = () => W.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [a(e.startTime[0]), a(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? a(e.startTime) : null, l = T(() => Ei(e.multiCalendars)), o = T(() => r()), v = T(() => Yi(e.ariaLabels)), m = T(() => Hi(e.filters)), k = T(() => Li(e.transitions)), c = T(() => Vi(e.actionRow)), y = T(
3482
3482
  () => Fi(e.previewFormat, e.format, n())
3483
- ), b = T(() => Hi(e.textInput)), h = T(() => qi(e.inline)), $ = T(() => Wi(e.config)), g = T(() => zi(e.highlight)), M = T(() => ji(e.weekNumbers)), B = T(() => Gi(e.timezone, e.emitTimezone)), J = T(() => Ui(e.multiDates, e.multiDatesLimit)), O = T(
3483
+ ), b = T(() => Bi(e.textInput)), h = T(() => qi(e.inline)), $ = T(() => Wi(e.config)), g = T(() => zi(e.highlight)), M = T(() => ji(e.weekNumbers)), H = T(() => Gi(e.timezone, e.emitTimezone)), J = T(() => Ui(e.multiDates, e.multiDatesLimit)), O = T(
3484
3484
  () => Xi({
3485
3485
  minDate: e.minDate,
3486
3486
  maxDate: e.maxDate,
@@ -3488,7 +3488,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3488
3488
  allowedDates: e.allowedDates,
3489
3489
  highlight: g.value,
3490
3490
  markers: e.markers,
3491
- timezone: B.value,
3491
+ timezone: H.value,
3492
3492
  isSpecific: e.monthPicker || e.yearPicker || e.quarterPicker
3493
3493
  })
3494
3494
  ), W = T(
@@ -3520,7 +3520,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3520
3520
  defaultedWeekNumbers: M,
3521
3521
  defaultedRange: W,
3522
3522
  propDates: O,
3523
- defaultedTz: B,
3523
+ defaultedTz: H,
3524
3524
  defaultedMultiDates: J,
3525
3525
  defaultedUI: Z,
3526
3526
  getDefaultPattern: n,
@@ -3557,7 +3557,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3557
3557
  hours: Yt(f),
3558
3558
  minutes: Wt(f),
3559
3559
  seconds: t.enableSeconds ? ca(f) : 0
3560
- } : null, M = (f) => t.modelType ? ie(f) : { month: _e(f), year: he(f) }, B = (f) => Array.isArray(f) ? v.value.enabled ? f.map((oe) => J(oe, Ot(K(), oe))) : Ea(
3560
+ } : null, M = (f) => t.modelType ? ie(f) : { month: _e(f), year: he(f) }, H = (f) => Array.isArray(f) ? v.value.enabled ? f.map((oe) => J(oe, Ot(K(), oe))) : Ea(
3561
3561
  () => [
3562
3562
  Ot(K(), f[0]),
3563
3563
  f[1] ? Ot(K(), f[1]) : ia(l.value.partialRange)
@@ -3611,7 +3611,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3611
3611
  ie(f[0]),
3612
3612
  f[1] ? ie(f[1]) : ia(l.value.partialRange)
3613
3613
  ];
3614
- }, F = () => a.value[1] ? V() : ie(je(a.value[0])), ae = () => (a.value || []).map((f) => ie(f)), ce = (f = !1) => (f || re(), t.modelAuto ? F() : v.value.enabled ? ae() : Array.isArray(a.value) ? Ea(() => V(), l.value.enabled) : ie(je(a.value))), me = (f) => !f || Array.isArray(f) && !f.length ? null : t.timePicker ? O(je(f)) : t.monthPicker ? W(je(f)) : t.yearPicker ? B(je(f)) : v.value.enabled ? Z(je(f)) : t.weekPicker ? I(je(f)) : C(je(f)), N = (f) => {
3614
+ }, F = () => a.value[1] ? V() : ie(je(a.value[0])), ae = () => (a.value || []).map((f) => ie(f)), ce = (f = !1) => (f || re(), t.modelAuto ? F() : v.value.enabled ? ae() : Array.isArray(a.value) ? Ea(() => V(), l.value.enabled) : ie(je(a.value))), me = (f) => !f || Array.isArray(f) && !f.length ? null : t.timePicker ? O(je(f)) : t.monthPicker ? W(je(f)) : t.yearPicker ? H(je(f)) : v.value.enabled ? Z(je(f)) : t.weekPicker ? I(je(f)) : C(je(f)), N = (f) => {
3615
3615
  const oe = me(f);
3616
3616
  yn(je(oe)) ? (a.value = je(oe), q()) : (a.value = null, k.value = "");
3617
3617
  }, d = () => {
@@ -3847,17 +3847,17 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3847
3847
  defaultedRange: k,
3848
3848
  defaultedMultiDates: c,
3849
3849
  getDefaultPattern: y
3850
- } = Ee(a), { isTimeValid: b, isMonthValid: h } = jt(a), { buildMatrix: $ } = zt(), g = z(null), M = z(null), B = z(!1), J = z({}), O = z(null), W = z(null);
3850
+ } = Ee(a), { isTimeValid: b, isMonthValid: h } = jt(a), { buildMatrix: $ } = zt(), g = z(null), M = z(null), H = z(!1), J = z({}), O = z(null), W = z(null);
3851
3851
  at(() => {
3852
3852
  a.arrowNavigation && $([ze(g), ze(M)], "actionRow"), Z(), window.addEventListener("resize", Z);
3853
3853
  }), Wa(() => {
3854
3854
  window.removeEventListener("resize", Z);
3855
3855
  });
3856
3856
  const Z = () => {
3857
- B.value = !1, setTimeout(() => {
3857
+ H.value = !1, setTimeout(() => {
3858
3858
  var d, x;
3859
3859
  const s = (d = O.value) == null ? void 0 : d.getBoundingClientRect(), q = (x = W.value) == null ? void 0 : x.getBoundingClientRect();
3860
- s && q && (J.value.maxWidth = `${q.width - s.width - 20}px`), B.value = !0;
3860
+ s && q && (J.value.maxWidth = `${q.width - s.width - 20}px`), H.value = !0;
3861
3861
  }, 0);
3862
3862
  }, I = T(() => k.value.enabled && !k.value.partialRange && a.internalModelValue ? a.internalModelValue.length === 2 : !0), C = T(
3863
3863
  () => !b.value(a.internalModelValue) || !h.value(a.internalModelValue) || !I.value
@@ -3896,11 +3896,11 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3896
3896
  title: me.value,
3897
3897
  style: ht(J.value)
3898
3898
  }, [
3899
- d.$slots["action-preview"] && B.value ? se(d.$slots, "action-preview", {
3899
+ d.$slots["action-preview"] && H.value ? se(d.$slots, "action-preview", {
3900
3900
  key: 0,
3901
3901
  value: d.internalModelValue
3902
3902
  }) : X("", !0),
3903
- !d.$slots["action-preview"] && B.value ? (S(), G(De, { key: 1 }, [
3903
+ !d.$slots["action-preview"] && H.value ? (S(), G(De, { key: 1 }, [
3904
3904
  It(Je(me.value), 1)
3905
3905
  ], 64)) : X("", !0)
3906
3906
  ], 12, ts)) : X("", !0),
@@ -3971,7 +3971,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
3971
3971
  setup(e, { expose: t, emit: n }) {
3972
3972
  const { setSelectionGrid: a, buildMultiLevelMatrix: r, setMonthPicker: l } = zt(), o = n, v = e, { defaultedAriaLabels: m, defaultedTextInput: k, defaultedConfig: c } = Ee(
3973
3973
  v
3974
- ), { hideNavigationButtons: y } = Xa(), b = z(!1), h = z(null), $ = z(null), g = z([]), M = z(), B = z(null), J = z(0), O = z(null);
3974
+ ), { hideNavigationButtons: y } = Xa(), b = z(!1), h = z(null), $ = z(null), g = z([]), M = z(), H = z(null), J = z(0), O = z(null);
3975
3975
  nl(() => {
3976
3976
  h.value = null;
3977
3977
  }), at(() => {
@@ -4017,7 +4017,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4017
4017
  );
4018
4018
  const ae = (w = !0) => {
4019
4019
  pt().then(() => {
4020
- const L = ze(h), i = ze($), A = ze(B), le = ze(O), f = A ? A.getBoundingClientRect().height : 0;
4020
+ const L = ze(h), i = ze($), A = ze(H), le = ze(O), f = A ? A.getBoundingClientRect().height : 0;
4021
4021
  i && (i.getBoundingClientRect().height ? J.value = i.getBoundingClientRect().height - f : J.value = c.value.modeHeight - f), L && le && w && (le.scrollTop = L.offsetTop - le.offsetTop - (J.value / 2 - L.getBoundingClientRect().height) - f);
4022
4022
  });
4023
4023
  }, ce = (w) => {
@@ -4030,7 +4030,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4030
4030
  w && ((L.active || L.value === v.focusValue) && (h.value = w), v.arrowNavigation && (Array.isArray(g.value[i]) ? g.value[i][A] = w : g.value[i] = [w], x()));
4031
4031
  }, x = () => {
4032
4032
  var w, L;
4033
- const i = (w = v.headerRefs) != null && w.length ? [v.headerRefs].concat(g.value) : g.value.concat([v.skipButtonRef ? [] : [B.value]]);
4033
+ const i = (w = v.headerRefs) != null && w.length ? [v.headerRefs].concat(g.value) : g.value.concat([v.skipButtonRef ? [] : [H.value]]);
4034
4034
  r(je(i), (L = v.headerRefs) != null && L.length ? "monthPicker" : "selectionGrid");
4035
4035
  }, s = (w) => {
4036
4036
  v.arrowNavigation || Vt(w, c.value, !0);
@@ -4122,7 +4122,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4122
4122
  w.$slots["button-icon"] ? La((S(), G("button", {
4123
4123
  key: 0,
4124
4124
  ref_key: "toggleButton",
4125
- ref: B,
4125
+ ref: H,
4126
4126
  type: "button",
4127
4127
  "aria-label": (i = p(m)) == null ? void 0 : i.toggleOverlay,
4128
4128
  class: ke(V.value),
@@ -4132,7 +4132,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4132
4132
  }, [
4133
4133
  se(w.$slots, "button-icon")
4134
4134
  ], 42, os)), [
4135
- [Ha, !p(y)(w.hideNavigation, w.type)]
4135
+ [Ba, !p(y)(w.hideNavigation, w.type)]
4136
4136
  ]) : X("", !0)
4137
4137
  ], 38);
4138
4138
  };
@@ -4211,14 +4211,14 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4211
4211
  },
4212
4212
  emits: ["toggle-year-picker", "year-select", "handle-year"],
4213
4213
  setup(e, { emit: t }) {
4214
- const n = t, a = e, { showRightIcon: r, showLeftIcon: l } = Xa(), { defaultedConfig: o, defaultedMultiCalendars: v, defaultedAriaLabels: m, defaultedTransitions: k, defaultedUI: c } = Ee(a), { showTransition: y, transitionName: b } = Na(k), h = (M = !1, B) => {
4215
- n("toggle-year-picker", { flow: M, show: B });
4214
+ const n = t, a = e, { showRightIcon: r, showLeftIcon: l } = Xa(), { defaultedConfig: o, defaultedMultiCalendars: v, defaultedAriaLabels: m, defaultedTransitions: k, defaultedUI: c } = Ee(a), { showTransition: y, transitionName: b } = Na(k), h = (M = !1, H) => {
4215
+ n("toggle-year-picker", { flow: M, show: H });
4216
4216
  }, $ = (M) => {
4217
4217
  n("year-select", M);
4218
4218
  }, g = (M = !1) => {
4219
4219
  n("handle-year", M);
4220
4220
  };
4221
- return (M, B) => {
4221
+ return (M, H) => {
4222
4222
  var J, O, W, Z, I;
4223
4223
  return S(), G("div", ss, [
4224
4224
  p(l)(p(v), e.instance) ? (S(), Pe(Pa, {
@@ -4227,7 +4227,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4227
4227
  "aria-label": (J = p(m)) == null ? void 0 : J.prevYear,
4228
4228
  disabled: e.isDisabled(!1),
4229
4229
  class: ke((O = p(c)) == null ? void 0 : O.navBtnPrev),
4230
- onActivate: B[0] || (B[0] = (C) => g(!1))
4230
+ onActivate: H[0] || (H[0] = (C) => g(!1))
4231
4231
  }, {
4232
4232
  default: we(() => [
4233
4233
  M.$slots["arrow-left"] ? se(M.$slots, "arrow-left", { key: 0 }) : X("", !0),
@@ -4241,8 +4241,8 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4241
4241
  type: "button",
4242
4242
  "aria-label": (W = p(m)) == null ? void 0 : W.openYearsOverlay,
4243
4243
  "data-test": `year-mode-btn-${e.instance}`,
4244
- onClick: B[1] || (B[1] = () => h(!1)),
4245
- onKeydown: B[2] || (B[2] = rl(() => h(!1), ["enter"]))
4244
+ onClick: H[1] || (H[1] = () => h(!1)),
4245
+ onKeydown: H[2] || (H[2] = rl(() => h(!1), ["enter"]))
4246
4246
  }, [
4247
4247
  M.$slots.year ? se(M.$slots, "year", {
4248
4248
  key: 0,
@@ -4258,7 +4258,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4258
4258
  "aria-label": (Z = p(m)) == null ? void 0 : Z.nextYear,
4259
4259
  disabled: e.isDisabled(!0),
4260
4260
  class: ke((I = p(c)) == null ? void 0 : I.navBtnNext),
4261
- onActivate: B[3] || (B[3] = (C) => g(!0))
4261
+ onActivate: H[3] || (H[3] = (C) => g(!0))
4262
4262
  }, {
4263
4263
  default: we(() => [
4264
4264
  M.$slots["arrow-right"] ? se(M.$slots, "arrow-right", { key: 0 }) : X("", !0),
@@ -4282,7 +4282,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4282
4282
  "aria-labels": M.ariaLabels,
4283
4283
  type: "year",
4284
4284
  onToggle: h,
4285
- onSelected: B[4] || (B[4] = (C) => $(C))
4285
+ onSelected: H[4] || (H[4] = (C) => $(C))
4286
4286
  }, tt({
4287
4287
  "button-icon": we(() => [
4288
4288
  M.$slots["calendar-icon"] ? se(M.$slots, "calendar-icon", { key: 0 }) : X("", !0),
@@ -4364,10 +4364,10 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4364
4364
  if (!F) return g();
4365
4365
  const ae = Se(K(), r.value[F]);
4366
4366
  return r.value[0].year = he(Nr(ae, e.value.count - 1)), g();
4367
- }, B = (F, ae) => {
4367
+ }, H = (F, ae) => {
4368
4368
  const ce = xl(ae, F);
4369
4369
  return t.value.showLastInRange && ce > 1 ? ae : F;
4370
- }, J = (F) => o.focusStartDate || e.value.solo ? F[0] : F[1] ? B(F[0], F[1]) : F[0], O = () => {
4370
+ }, J = (F) => o.focusStartDate || e.value.solo ? F[0] : F[1] ? H(F[0], F[1]) : F[0], O = () => {
4371
4371
  if (l.value) {
4372
4372
  const F = Array.isArray(l.value) ? J(l.value) : l.value;
4373
4373
  r.value[0] = { month: _e(F), year: he(F) };
@@ -4423,7 +4423,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4423
4423
  defaultedMultiDates: y
4424
4424
  } = Ee(e), b = () => {
4425
4425
  e.isTextInputDate && W(he(K(e.startDate)), 0);
4426
- }, { modelValue: h, year: $, month: g, calendars: M } = Ia(e, t, b), B = T(() => Yr(e.formatLocale, e.locale, e.monthNameFormat)), J = z(null), { checkMinMaxRange: O } = jt(e), {
4426
+ }, { modelValue: h, year: $, month: g, calendars: M } = Ia(e, t, b), H = T(() => Yr(e.formatLocale, e.locale, e.monthNameFormat)), J = z(null), { checkMinMaxRange: O } = jt(e), {
4427
4427
  selectYear: W,
4428
4428
  groupedYears: Z,
4429
4429
  showYearPicker: I,
@@ -4464,12 +4464,12 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4464
4464
  return !1;
4465
4465
  }
4466
4466
  return !1;
4467
- }, x = T(() => (i) => pa(B.value, (A) => {
4467
+ }, x = T(() => (i) => pa(H.value, (A) => {
4468
4468
  var le;
4469
4469
  const f = me(i, A.value), oe = Sa(
4470
4470
  A.value,
4471
- Hr($.value(i), m.value.minDate),
4472
- Br($.value(i), m.value.maxDate)
4471
+ Br($.value(i), m.value.minDate),
4472
+ Hr($.value(i), m.value.maxDate)
4473
4473
  ) || Ii(m.value.disabledDates, $.value(i)).includes(A.value) || ((le = c.value.months) == null ? void 0 : le.includes(A.value)), ge = d(A.value, i), Y = jr(v.value, A.value, $.value(i));
4474
4474
  return { active: f, disabled: oe, isBetween: ge, highlighted: Y };
4475
4475
  })), s = (i, A) => Ct(_t(K()), i, $.value(A)), q = (i, A) => {
@@ -4558,7 +4558,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4558
4558
  modelValue: $,
4559
4559
  presetDate: g,
4560
4560
  setHoverDate: M,
4561
- selectMonth: B,
4561
+ selectMonth: H,
4562
4562
  selectYear: J,
4563
4563
  toggleYearPicker: O,
4564
4564
  handleYearSelect: W,
@@ -4569,7 +4569,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4569
4569
  modelValue: $,
4570
4570
  year: k,
4571
4571
  getModelMonthYear: I,
4572
- selectMonth: B,
4572
+ selectMonth: H,
4573
4573
  selectYear: J,
4574
4574
  handleYear: Z
4575
4575
  }), presetDate: g, toggleYearPicker: (C) => O(0, C) }), (C, re) => (S(), Pe(Ga, {
@@ -4586,7 +4586,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4586
4586
  year: p(k),
4587
4587
  months: p(v)(V),
4588
4588
  years: p(m)(V),
4589
- selectMonth: p(B),
4589
+ selectMonth: p(H),
4590
4590
  selectYear: p(J),
4591
4591
  instance: V
4592
4592
  }))) : (S(), Pe(Ca, {
@@ -4600,7 +4600,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4600
4600
  "no-overlay-focus": !!(C.noOverlayFocus || C.textInput),
4601
4601
  "use-relative": "",
4602
4602
  type: "month",
4603
- onSelected: (F) => p(B)(F, V),
4603
+ onSelected: (F) => p(H)(F, V),
4604
4604
  onHoverValue: (F) => p(M)(F, V)
4605
4605
  }, tt({
4606
4606
  header: we(() => [
@@ -4647,12 +4647,12 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4647
4647
  e.startDate && (a.value && e.focusStartDate || !a.value) && (c.value = he(K(e.startDate)));
4648
4648
  });
4649
4649
  const y = (g) => Array.isArray(a.value) ? a.value.some((M) => he(M) === g) : a.value ? he(a.value) === g : !1, b = (g) => m.value.enabled && Array.isArray(a.value) ? ja(a.value, r.value, $(g)) : !1, h = T(() => pa($n(e.yearRange, e.locale, e.reverseYears), (g) => {
4650
- const M = y(g.value), B = Sa(
4650
+ const M = y(g.value), H = Sa(
4651
4651
  g.value,
4652
4652
  fa(k.value.minDate),
4653
4653
  fa(k.value.maxDate)
4654
4654
  ) || v.value.years.includes(g.value), J = b(g.value) && !M, O = Rn(l.value, g.value);
4655
- return { active: M, disabled: B, isBetween: J, highlighted: O };
4655
+ return { active: M, disabled: H, isBetween: J, highlighted: O };
4656
4656
  })), $ = (g) => Ot(_t($a(/* @__PURE__ */ new Date())), g);
4657
4657
  return {
4658
4658
  groupedYears: h,
@@ -4664,7 +4664,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4664
4664
  selectYear: (g) => {
4665
4665
  var M;
4666
4666
  if (t("update-month-year", { instance: 0, year: g }), o.value.enabled)
4667
- return a.value ? Array.isArray(a.value) && (((M = a.value) == null ? void 0 : M.map((B) => he(B))).includes(g) ? a.value = a.value.filter((B) => he(B) !== g) : a.value.push(Ot(ot(K()), g))) : a.value = [Ot(ot($a(K())), g)], t("auto-apply", !0);
4667
+ return a.value ? Array.isArray(a.value) && (((M = a.value) == null ? void 0 : M.map((H) => he(H))).includes(g) ? a.value = a.value.filter((H) => he(H) !== g) : a.value.push(Ot(ot(K()), g))) : a.value = [Ot(ot($a(K())), g)], t("auto-apply", !0);
4668
4668
  m.value.enabled ? (a.value = Nn(a, $(g), t), pt().then(() => {
4669
4669
  Qa(a.value, t, e.autoApply, e.modelAuto);
4670
4670
  })) : (a.value = $(g), t("auto-apply"));
@@ -4760,7 +4760,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4760
4760
  hours: !1,
4761
4761
  minutes: !1,
4762
4762
  seconds: !1
4763
- }), g = z("AM"), M = z(null), B = z([]), J = z();
4763
+ }), g = z("AM"), M = z(null), H = z([]), J = z();
4764
4764
  at(() => {
4765
4765
  a("mounted");
4766
4766
  });
@@ -4806,26 +4806,26 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4806
4806
  const j = r.disabledTimesConfig(r.order, u === "hours" ? E : void 0);
4807
4807
  return j[u] ? !!((U = j[u]) != null && U.includes(E)) : !0;
4808
4808
  }, s = (u, E) => E !== "hours" || g.value === "AM" ? u : u + 12, q = (u) => {
4809
- const E = r.is24 ? 24 : 12, U = u === "hours" ? E : 60, j = +r[`${u}GridIncrement`], H = u === "hours" && !r.is24 ? j : 0, be = [];
4810
- for (let D = H; D < U; D += j)
4809
+ const E = r.is24 ? 24 : 12, U = u === "hours" ? E : 60, j = +r[`${u}GridIncrement`], B = u === "hours" && !r.is24 ? j : 0, be = [];
4810
+ for (let D = B; D < U; D += j)
4811
4811
  be.push({ value: r.is24 ? D : s(D, u), text: D < 10 ? `0${D}` : `${D}` });
4812
4812
  return u === "hours" && !r.is24 && be.unshift({ value: g.value === "PM" ? 12 : 0, text: "12" }), pa(be, (D) => ({ active: !1, disabled: k.value.times[u].includes(D.value) || !ve(D.value, u) || x(u, D.value) || I(u, D.value) }));
4813
4813
  }, ne = (u) => u >= 0 ? u : 59, ie = (u) => u >= 0 ? u : 23, ve = (u, E) => {
4814
- const U = r.minTime ? O(tn(r.minTime)) : null, j = r.maxTime ? O(tn(r.maxTime)) : null, H = O(
4814
+ const U = r.minTime ? O(tn(r.minTime)) : null, j = r.maxTime ? O(tn(r.maxTime)) : null, B = O(
4815
4815
  tn(
4816
4816
  Z.value,
4817
4817
  E,
4818
4818
  E === "minutes" || E === "seconds" ? ne(u) : ie(u)
4819
4819
  )
4820
4820
  );
4821
- return U && j ? (Oa(H, j) || ua(H, j)) && (ma(H, U) || ua(H, U)) : U ? ma(H, U) || ua(H, U) : j ? Oa(H, j) || ua(H, j) : !0;
4821
+ return U && j ? (Oa(B, j) || ua(B, j)) && (ma(B, U) || ua(B, U)) : U ? ma(B, U) || ua(B, U) : j ? Oa(B, j) || ua(B, j) : !0;
4822
4822
  }, w = (u) => r[`no${u[0].toUpperCase() + u.slice(1)}Overlay`], L = (u) => {
4823
4823
  w(u) || ($[u] = !$[u], $[u] ? a("overlay-opened", u) : a("overlay-closed", u));
4824
4824
  }, i = (u) => u === "hours" ? Yt : u === "minutes" ? Wt : ca, A = () => {
4825
4825
  J.value && clearTimeout(J.value);
4826
4826
  }, le = (u, E = !0, U) => {
4827
- const j = E ? F : ae, H = E ? +r[`${u}Increment`] : -+r[`${u}Increment`];
4828
- ve(+r[u] + H, u) && a(
4827
+ const j = E ? F : ae, B = E ? +r[`${u}Increment`] : -+r[`${u}Increment`];
4828
+ ve(+r[u] + B, u) && a(
4829
4829
  `update:${u}`,
4830
4830
  i(u)(j({ [u]: +r[u] }, { [u]: +r[`${u}Increment`] }))
4831
4831
  ), !(U != null && U.keyboard) && c.value.timeArrowHoldThreshold && (J.value = setTimeout(() => {
@@ -4837,9 +4837,9 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4837
4837
  $[u] = !0;
4838
4838
  }, Y = (u, E, U) => {
4839
4839
  if (u && r.arrowNavigation) {
4840
- Array.isArray(B.value[E]) ? B.value[E][U] = u : B.value[E] = [u];
4841
- const j = B.value.reduce(
4842
- (H, be) => be.map((D, te) => [...H[te] || [], be[te]]),
4840
+ Array.isArray(H.value[E]) ? H.value[E][U] = u : H.value[E] = [u];
4841
+ const j = H.value.reduce(
4842
+ (B, be) => be.map((D, te) => [...B[te] || [], be[te]]),
4843
4843
  []
4844
4844
  );
4845
4845
  o(r.closeTimePickerBtn), M.value && (j[1] = j[1].concat(M.value)), l(j, r.order);
@@ -4848,10 +4848,10 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4848
4848
  return t({ openChildCmp: ge }), (u, E) => {
4849
4849
  var U;
4850
4850
  return u.disabled ? X("", !0) : (S(), G("div", ps, [
4851
- (S(!0), G(De, null, Ne(me.value, (j, H) => {
4851
+ (S(!0), G(De, null, Ne(me.value, (j, B) => {
4852
4852
  var be, D, te;
4853
4853
  return S(), G("div", {
4854
- key: H,
4854
+ key: B,
4855
4855
  class: ke(ce.value)
4856
4856
  }, [
4857
4857
  j.separator ? (S(), G(De, { key: 0 }, [
@@ -4859,7 +4859,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4859
4859
  ], 64)) : (S(), G(De, { key: 1 }, [
4860
4860
  fe("button", {
4861
4861
  ref_for: !0,
4862
- ref: (pe) => Y(pe, H, 0),
4862
+ ref: (pe) => Y(pe, B, 0),
4863
4863
  type: "button",
4864
4864
  class: ke({
4865
4865
  dp__btn: !0,
@@ -4888,7 +4888,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4888
4888
  ], 42, fs),
4889
4889
  fe("button", {
4890
4890
  ref_for: !0,
4891
- ref: (pe) => Y(pe, H, 1),
4891
+ ref: (pe) => Y(pe, B, 1),
4892
4892
  type: "button",
4893
4893
  "aria-label": (D = p(v)) == null ? void 0 : D.openTpOverlay(j.type),
4894
4894
  class: ke({
@@ -4915,7 +4915,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4915
4915
  ], 42, gs),
4916
4916
  fe("button", {
4917
4917
  ref_for: !0,
4918
- ref: (pe) => Y(pe, H, 2),
4918
+ ref: (pe) => Y(pe, B, 2),
4919
4919
  type: "button",
4920
4920
  class: ke({
4921
4921
  dp__btn: !0,
@@ -4964,8 +4964,8 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
4964
4964
  onKeydown: E[0] || (E[0] = (j) => p(ut)(j, () => oe(), !0))
4965
4965
  }, Je(g.value), 41, Ds))
4966
4966
  ])),
4967
- (S(!0), G(De, null, Ne(N.value, (j, H) => (S(), Pe(ya, {
4968
- key: H,
4967
+ (S(!0), G(De, null, Ne(N.value, (j, B) => (S(), Pe(ya, {
4968
+ key: B,
4969
4969
  name: p(b)($[j.type]),
4970
4970
  css: p(h)
4971
4971
  }, {
@@ -5043,7 +5043,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5043
5043
  "am-pm-change"
5044
5044
  ],
5045
5045
  setup(e, { expose: t, emit: n }) {
5046
- const a = n, r = e, { buildMatrix: l, setTimePicker: o } = zt(), v = ta(), { defaultedTransitions: m, defaultedAriaLabels: k, defaultedTextInput: c, defaultedConfig: y, defaultedRange: b } = Ee(r), { transitionName: h, showTransition: $ } = Na(m), { hideNavigationButtons: g } = Xa(), M = z(null), B = z(null), J = z([]), O = z(null);
5046
+ const a = n, r = e, { buildMatrix: l, setTimePicker: o } = zt(), v = ta(), { defaultedTransitions: m, defaultedAriaLabels: k, defaultedTextInput: c, defaultedConfig: y, defaultedRange: b } = Ee(r), { transitionName: h, showTransition: $ } = Na(m), { hideNavigationButtons: g } = Xa(), M = z(null), H = z(null), J = z([]), O = z(null);
5047
5047
  at(() => {
5048
5048
  a("mount"), !r.timePicker && r.arrowNavigation ? l([ze(M.value)], "time") : o(!0, r.timePicker);
5049
5049
  });
@@ -5099,7 +5099,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5099
5099
  s.$slots["clock-icon"] ? se(s.$slots, "clock-icon", { key: 0 }) : X("", !0),
5100
5100
  s.$slots["clock-icon"] ? X("", !0) : (S(), Pe(p(xn), { key: 1 }))
5101
5101
  ], 42, Ps)), [
5102
- [Ha, !p(g)(s.hideNavigation, "time")]
5102
+ [Ba, !p(g)(s.hideNavigation, "time")]
5103
5103
  ]) : X("", !0),
5104
5104
  vt(ya, {
5105
5105
  name: p(h)(Z.value),
@@ -5148,7 +5148,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5148
5148
  hours: ve.hours,
5149
5149
  minutes: ve.minutes,
5150
5150
  seconds: ve.seconds,
5151
- closeTimePickerBtn: B.value,
5151
+ closeTimePickerBtn: H.value,
5152
5152
  disabledTimesConfig: e.disabledTimesConfig,
5153
5153
  disabled: w === 0 ? s.fixedStart : s.fixedEnd
5154
5154
  }, {
@@ -5171,13 +5171,13 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5171
5171
  ])
5172
5172
  }))
5173
5173
  ]), 1040, ["validate-time", "onUpdate:hours", "onUpdate:minutes", "onUpdate:seconds"])), [
5174
- [Ha, w === 0 ? !0 : W.value]
5174
+ [Ba, w === 0 ? !0 : W.value]
5175
5175
  ])), 128))
5176
5176
  ], 2)),
5177
5177
  !s.timePicker && !s.timePickerInline ? La((S(), G("button", {
5178
5178
  key: 2,
5179
5179
  ref_key: "closeTimePickerBtn",
5180
- ref: B,
5180
+ ref: H,
5181
5181
  type: "button",
5182
5182
  class: ke(V.value),
5183
5183
  "aria-label": (ie = p(k)) == null ? void 0 : ie.closeTimePicker,
@@ -5188,7 +5188,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5188
5188
  s.$slots["calendar-icon"] ? se(s.$slots, "calendar-icon", { key: 0 }) : X("", !0),
5189
5189
  s.$slots["calendar-icon"] ? X("", !0) : (S(), Pe(p(ha), { key: 1 }))
5190
5190
  ], 42, As)), [
5191
- [Ha, !p(g)(s.hideNavigation, "time")]
5191
+ [Ba, !p(g)(s.hideNavigation, "time")]
5192
5192
  ]) : X("", !0)
5193
5193
  ], 2)
5194
5194
  ], 14, Ts)) : X("", !0)
@@ -5231,7 +5231,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5231
5231
  const W = Array.isArray(O), Z = W ? [+O[0].hours, +O[1].hours] : +O.hours, I = W ? [+O[0].minutes, +O[1].minutes] : +O.minutes, C = W ? [+O[0].seconds, +O[1].seconds] : +O.seconds;
5232
5232
  m("hours", Z), m("minutes", I), e.enableSeconds && m("seconds", C);
5233
5233
  }
5234
- }, B = (O, W) => {
5234
+ }, H = (O, W) => {
5235
5235
  const Z = {
5236
5236
  hours: Array.isArray(t.hours) ? t.hours[O] : t.hours,
5237
5237
  disabledArr: []
@@ -5240,7 +5240,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5240
5240
  }, J = T(() => (O, W) => {
5241
5241
  var Z;
5242
5242
  if (Array.isArray(e.disabledTimes)) {
5243
- const { disabledArr: I, hours: C } = B(O, W), re = I.filter((V) => +V.hours === C);
5243
+ const { disabledArr: I, hours: C } = H(O, W), re = I.filter((V) => +V.hours === C);
5244
5244
  return ((Z = re[0]) == null ? void 0 : Z.minutes) === "*" ? { hours: [C], minutes: void 0, seconds: void 0 } : {
5245
5245
  hours: [],
5246
5246
  minutes: re?.map((V) => +V.minutes) ?? [],
@@ -5281,7 +5281,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5281
5281
  return Se(K(), I);
5282
5282
  }
5283
5283
  return o.value.enabled ? [null, null] : null;
5284
- }, B = () => {
5284
+ }, H = () => {
5285
5285
  if (o.value.enabled) {
5286
5286
  const [I, C] = M();
5287
5287
  a.value = [
@@ -5302,7 +5302,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5302
5302
  };
5303
5303
  at(() => {
5304
5304
  if (!e.shadow)
5305
- return y(l.value), a.value ? W() : B();
5305
+ return y(l.value), a.value ? W() : H();
5306
5306
  });
5307
5307
  const Z = () => {
5308
5308
  Array.isArray(a.value) ? a.value = a.value.map((I, C) => I && k(I, C)) : a.value = k(a.value), t("time-update");
@@ -5369,8 +5369,8 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5369
5369
  }), tt({ _: 2 }, [
5370
5370
  Ne(p(o), (g, M) => ({
5371
5371
  name: g,
5372
- fn: we((B) => [
5373
- se(h.$slots, g, Ke(st(B)))
5372
+ fn: we((H) => [
5373
+ se(h.$slots, g, Ke(st(H)))
5374
5374
  ])
5375
5375
  }))
5376
5376
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"])
@@ -5405,7 +5405,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5405
5405
  defaultedHighlight: c,
5406
5406
  propDates: y,
5407
5407
  defaultedUI: b
5408
- } = Ee(r), { transitionName: h, showTransition: $ } = Na(l), { buildMatrix: g } = zt(), { handleMonthYearChange: M, isDisabled: B, updateMonthYear: J } = es(r, a), { showLeftIcon: O, showRightIcon: W } = Xa(), Z = z(!1), I = z(!1), C = z([null, null, null, null]);
5408
+ } = Ee(r), { transitionName: h, showTransition: $ } = Na(l), { buildMatrix: g } = zt(), { handleMonthYearChange: M, isDisabled: H, updateMonthYear: J } = es(r, a), { showLeftIcon: O, showRightIcon: W } = Xa(), Z = z(!1), I = z(!1), C = z([null, null, null, null]);
5409
5409
  at(() => {
5410
5410
  a("mount");
5411
5411
  });
@@ -5425,8 +5425,8 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5425
5425
  })), ce = T(() => r.months.find((L) => L.value === r.month) || { text: "", value: 0 }), me = T(() => pa(r.months, (w) => {
5426
5426
  const L = r.month === w.value, i = Sa(
5427
5427
  w.value,
5428
- Hr(r.year, y.value.minDate),
5429
- Br(r.year, y.value.maxDate)
5428
+ Br(r.year, y.value.minDate),
5429
+ Hr(r.year, y.value.maxDate)
5430
5430
  ) || m.value.months.includes(w.value), A = jr(c.value, w.value, r.year);
5431
5431
  return { active: L, disabled: i, highlighted: A };
5432
5432
  })), N = T(() => pa(r.years, (w) => {
@@ -5490,7 +5490,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5490
5490
  p(O)(p(v), e.instance) && !w.vertical ? (S(), Pe(Pa, {
5491
5491
  key: 0,
5492
5492
  "aria-label": (i = p(o)) == null ? void 0 : i.prevMonth,
5493
- disabled: p(B)(!1),
5493
+ disabled: p(H)(!1),
5494
5494
  class: ke((A = p(b)) == null ? void 0 : A.navBtnPrev),
5495
5495
  onActivate: L[0] || (L[0] = (Y) => p(M)(!1, !0)),
5496
5496
  onSetRef: L[1] || (L[1] = (Y) => ne(Y, 0))
@@ -5592,7 +5592,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5592
5592
  p(O)(p(v), e.instance) && w.vertical ? (S(), Pe(Pa, {
5593
5593
  key: 1,
5594
5594
  "aria-label": (le = p(o)) == null ? void 0 : le.prevMonth,
5595
- disabled: p(B)(!1),
5595
+ disabled: p(H)(!1),
5596
5596
  class: ke((f = p(b)) == null ? void 0 : f.navBtnPrev),
5597
5597
  onActivate: L[2] || (L[2] = (Y) => p(M)(!1, !0))
5598
5598
  }, {
@@ -5605,7 +5605,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5605
5605
  p(W)(p(v), e.instance) ? (S(), Pe(Pa, {
5606
5606
  key: 2,
5607
5607
  ref: "rightIcon",
5608
- disabled: p(B)(!0),
5608
+ disabled: p(H)(!0),
5609
5609
  "aria-label": (oe = p(o)) == null ? void 0 : oe.nextMonth,
5610
5610
  class: ke((ge = p(b)) == null ? void 0 : ge.navBtnNext),
5611
5611
  onActivate: L[3] || (L[3] = (Y) => p(M)(!0, !0)),
@@ -5629,7 +5629,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5629
5629
  key: 0,
5630
5630
  class: "dp__calendar_header_item",
5631
5631
  role: "gridcell"
5632
- }, Hs = ["aria-label"], Bs = /* @__PURE__ */ fe("div", { class: "dp__calendar_header_separator" }, null, -1), Vs = ["aria-label"], qs = {
5632
+ }, Bs = ["aria-label"], Hs = /* @__PURE__ */ fe("div", { class: "dp__calendar_header_separator" }, null, -1), Vs = ["aria-label"], qs = {
5633
5633
  key: 0,
5634
5634
  role: "gridcell",
5635
5635
  class: "dp__calendar_item dp__week_num"
@@ -5668,15 +5668,15 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5668
5668
  bottom: "",
5669
5669
  left: "",
5670
5670
  transform: ""
5671
- }), g = z([]), M = z(null), B = z(!0), J = z(""), O = z({ startX: 0, endX: 0, startY: 0, endY: 0 }), W = z([]), Z = z({ left: "50%" }), I = z(!1), C = T(() => r.calendar ? r.calendar(r.mappedDates) : r.mappedDates), re = T(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : ki(r.formatLocale, r.locale, +r.weekStart));
5671
+ }), g = z([]), M = z(null), H = z(!0), J = z(""), O = z({ startX: 0, endX: 0, startY: 0, endY: 0 }), W = z([]), Z = z({ left: "50%" }), I = z(!1), C = T(() => r.calendar ? r.calendar(r.mappedDates) : r.mappedDates), re = T(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : ki(r.formatLocale, r.locale, +r.weekStart));
5672
5672
  at(() => {
5673
5673
  a("mount", { cmp: "calendar", refs: g }), v.value.noSwipe || M.value && (M.value.addEventListener("touchstart", ne, { passive: !1 }), M.value.addEventListener("touchend", ie, { passive: !1 }), M.value.addEventListener("touchmove", ve, { passive: !1 })), r.monthChangeOnScroll && M.value && M.value.addEventListener("wheel", i, { passive: !1 });
5674
5674
  });
5675
5675
  const V = (Y) => Y ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", F = (Y, ye) => {
5676
5676
  if (r.transitions) {
5677
5677
  const u = ot(Ct(K(), r.month, r.year));
5678
- J.value = Ve(ot(Ct(K(), Y, ye)), u) ? o.value[V(!0)] : o.value[V(!1)], B.value = !1, pt(() => {
5679
- B.value = !0;
5678
+ J.value = Ve(ot(Ct(K(), Y, ye)), u) ? o.value[V(!0)] : o.value[V(!1)], H.value = !1, pt(() => {
5679
+ H.value = !0;
5680
5680
  });
5681
5681
  }
5682
5682
  }, ae = T(
@@ -5698,14 +5698,14 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5698
5698
  if (E) {
5699
5699
  const { width: U, height: j } = E.getBoundingClientRect();
5700
5700
  h.value = Y.value;
5701
- let H = { left: `${U / 2}px` }, be = -50;
5701
+ let B = { left: `${U / 2}px` }, be = -50;
5702
5702
  if (await pt(), W.value[0]) {
5703
5703
  const { left: D, width: te } = W.value[0].getBoundingClientRect();
5704
- D < 0 && (H = { left: "0" }, be = 0, Z.value.left = `${U / 2}px`), window.innerWidth < D + te && (H = { right: "0" }, be = 0, Z.value.left = `${te - U / 2}px`);
5704
+ D < 0 && (B = { left: "0" }, be = 0, Z.value.left = `${U / 2}px`), window.innerWidth < D + te && (B = { right: "0" }, be = 0, Z.value.left = `${te - U / 2}px`);
5705
5705
  }
5706
5706
  $.value = {
5707
5707
  bottom: `${j}px`,
5708
- ...H,
5708
+ ...B,
5709
5709
  transform: `translateX(${be}%)`
5710
5710
  }, a("tooltip-open", Y.marker);
5711
5711
  }
@@ -5754,13 +5754,13 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5754
5754
  fe("div", Fs, [
5755
5755
  Y.weekNumbers ? (S(), G("div", Ls, Je(Y.weekNumName), 1)) : X("", !0),
5756
5756
  (S(!0), G(De, null, Ne(re.value, (E, U) => {
5757
- var j, H;
5757
+ var j, B;
5758
5758
  return S(), G("div", {
5759
5759
  key: U,
5760
5760
  class: "dp__calendar_header_item",
5761
5761
  role: "gridcell",
5762
5762
  "data-test": "calendar-header",
5763
- "aria-label": (H = (j = p(m)) == null ? void 0 : j.weekDay) == null ? void 0 : H.call(j, U)
5763
+ "aria-label": (B = (j = p(m)) == null ? void 0 : j.weekDay) == null ? void 0 : B.call(j, U)
5764
5764
  }, [
5765
5765
  Y.$slots["calendar-header"] ? se(Y.$slots, "calendar-header", {
5766
5766
  key: 0,
@@ -5770,10 +5770,10 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5770
5770
  Y.$slots["calendar-header"] ? X("", !0) : (S(), G(De, { key: 1 }, [
5771
5771
  It(Je(E), 1)
5772
5772
  ], 64))
5773
- ], 8, Hs);
5773
+ ], 8, Bs);
5774
5774
  }), 128))
5775
5775
  ]),
5776
- Bs,
5776
+ Hs,
5777
5777
  vt(ya, {
5778
5778
  name: J.value,
5779
5779
  css: !!Y.transitions
@@ -5781,7 +5781,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5781
5781
  default: we(() => {
5782
5782
  var E;
5783
5783
  return [
5784
- B.value ? (S(), G("div", {
5784
+ H.value ? (S(), G("div", {
5785
5785
  key: 0,
5786
5786
  class: "dp__calendar",
5787
5787
  role: "rowgroup",
@@ -5796,51 +5796,51 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5796
5796
  Y.weekNumbers ? (S(), G("div", qs, [
5797
5797
  fe("div", Ws, Je(le(U.days)), 1)
5798
5798
  ])) : X("", !0),
5799
- (S(!0), G(De, null, Ne(U.days, (H, be) => {
5799
+ (S(!0), G(De, null, Ne(U.days, (B, be) => {
5800
5800
  var D, te, pe;
5801
5801
  return S(), G("div", {
5802
- id: p(Kr)(H.value),
5802
+ id: p(Kr)(B.value),
5803
5803
  ref_for: !0,
5804
5804
  ref: (xe) => L(xe, j, be),
5805
5805
  key: be + j,
5806
5806
  role: "gridcell",
5807
5807
  class: "dp__calendar_item",
5808
- "aria-selected": (H.classData.dp__active_date || H.classData.dp__range_start || H.classData.dp__range_start) ?? void 0,
5809
- "aria-disabled": H.classData.dp__cell_disabled || void 0,
5810
- "aria-label": (te = (D = p(m)) == null ? void 0 : D.day) == null ? void 0 : te.call(D, H),
5808
+ "aria-selected": (B.classData.dp__active_date || B.classData.dp__range_start || B.classData.dp__range_start) ?? void 0,
5809
+ "aria-disabled": B.classData.dp__cell_disabled || void 0,
5810
+ "aria-label": (te = (D = p(m)) == null ? void 0 : D.day) == null ? void 0 : te.call(D, B),
5811
5811
  tabindex: "0",
5812
- "data-test": H.value,
5813
- onClick: Aa((xe) => f(xe, H), ["prevent"]),
5814
- onKeydown: (xe) => p(ut)(xe, () => Y.$emit("select-date", H)),
5815
- onMouseenter: (xe) => s(H, j, be),
5816
- onMouseleave: (xe) => q(H),
5817
- onMousedown: (xe) => ge(H),
5812
+ "data-test": B.value,
5813
+ onClick: Aa((xe) => f(xe, B), ["prevent"]),
5814
+ onKeydown: (xe) => p(ut)(xe, () => Y.$emit("select-date", B)),
5815
+ onMouseenter: (xe) => s(B, j, be),
5816
+ onMouseleave: (xe) => q(B),
5817
+ onMousedown: (xe) => ge(B),
5818
5818
  onMouseup: ye[0] || (ye[0] = (xe) => I.value = !1)
5819
5819
  }, [
5820
5820
  fe("div", {
5821
- class: ke(["dp__cell_inner", H.classData])
5821
+ class: ke(["dp__cell_inner", B.classData])
5822
5822
  }, [
5823
- Y.$slots.day && d.value(H) ? se(Y.$slots, "day", {
5823
+ Y.$slots.day && d.value(B) ? se(Y.$slots, "day", {
5824
5824
  key: 0,
5825
- day: +H.text,
5826
- date: H.value
5825
+ day: +B.text,
5826
+ date: B.value
5827
5827
  }) : X("", !0),
5828
5828
  Y.$slots.day ? X("", !0) : (S(), G(De, { key: 1 }, [
5829
- It(Je(H.text), 1)
5829
+ It(Je(B.text), 1)
5830
5830
  ], 64)),
5831
- H.marker && d.value(H) ? (S(), G(De, { key: 2 }, [
5831
+ B.marker && d.value(B) ? (S(), G(De, { key: 2 }, [
5832
5832
  Y.$slots.marker ? se(Y.$slots, "marker", {
5833
5833
  key: 0,
5834
- marker: H.marker,
5835
- day: +H.text,
5836
- date: H.value
5834
+ marker: B.marker,
5835
+ day: +B.text,
5836
+ date: B.value
5837
5837
  }) : (S(), G("div", {
5838
5838
  key: 1,
5839
- class: ke(ce.value(H.marker)),
5840
- style: ht(H.marker.color ? { backgroundColor: H.marker.color } : {})
5839
+ class: ke(ce.value(B.marker)),
5840
+ style: ht(B.marker.color ? { backgroundColor: B.marker.color } : {})
5841
5841
  }, null, 6))
5842
5842
  ], 64)) : X("", !0),
5843
- me.value(H.value) ? (S(), G("div", {
5843
+ me.value(B.value) ? (S(), G("div", {
5844
5844
  key: 3,
5845
5845
  ref_for: !0,
5846
5846
  ref_key: "activeTooltip",
@@ -5848,19 +5848,19 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5848
5848
  class: "dp__marker_tooltip",
5849
5849
  style: ht($.value)
5850
5850
  }, [
5851
- (pe = H.marker) != null && pe.tooltip ? (S(), G("div", {
5851
+ (pe = B.marker) != null && pe.tooltip ? (S(), G("div", {
5852
5852
  key: 0,
5853
5853
  class: "dp__tooltip_content",
5854
5854
  onClick: oe
5855
5855
  }, [
5856
- (S(!0), G(De, null, Ne(H.marker.tooltip, (xe, Xe) => (S(), G("div", {
5856
+ (S(!0), G(De, null, Ne(B.marker.tooltip, (xe, Xe) => (S(), G("div", {
5857
5857
  key: Xe,
5858
5858
  class: "dp__tooltip_text"
5859
5859
  }, [
5860
5860
  Y.$slots["marker-tooltip"] ? se(Y.$slots, "marker-tooltip", {
5861
5861
  key: 0,
5862
5862
  tooltip: xe,
5863
- day: H.value
5863
+ day: B.value
5864
5864
  }) : X("", !0),
5865
5865
  Y.$slots["marker-tooltip"] ? X("", !0) : (S(), G(De, { key: 1 }, [
5866
5866
  fe("div", {
@@ -5896,7 +5896,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5896
5896
  defaultedRange: $,
5897
5897
  defaultedConfig: g,
5898
5898
  defaultedTz: M,
5899
- propDates: B,
5899
+ propDates: H,
5900
5900
  defaultedMultiDates: J
5901
5901
  } = Ee(e), { validateMonthYearInRange: O, isDisabled: W, isDateRangeAllowed: Z, checkMinMaxRange: I } = jt(e), { updateTimeValues: C, getSetDateTime: re, setTime: V, assignStartTime: F, validateTime: ae, disabledTimesConfig: ce } = el(e, c, m, a), me = T(
5902
5902
  () => (_) => k.value[_] ? k.value[_].month : 0
@@ -5985,9 +5985,9 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
5985
5985
  }, U = (_, ee) => {
5986
5986
  oe(_ === "right" ? -1 : 1, ee);
5987
5987
  }, j = (_) => {
5988
- if (B.value.markers)
5989
- return qa(_.value, B.value.markers);
5990
- }, H = (_, ee) => {
5988
+ if (H.value.markers)
5989
+ return qa(_.value, H.value.markers);
5990
+ }, B = (_, ee) => {
5991
5991
  switch (e.sixWeeks === !0 ? "append" : e.sixWeeks) {
5992
5992
  case "prepend":
5993
5993
  return [!0, !1];
@@ -6002,9 +6002,9 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6002
6002
  }
6003
6003
  }, be = (_, ee, R, P) => {
6004
6004
  if (e.sixWeeks && _.length < 6) {
6005
- const Q = 6 - _.length, $e = (ee.getDay() + 7 - P) % 7, Ce = 6 - (R.getDay() + 7 - P) % 7, [He, ft] = H($e, Ce);
6005
+ const Q = 6 - _.length, $e = (ee.getDay() + 7 - P) % 7, Ce = 6 - (R.getDay() + 7 - P) % 7, [Be, ft] = B($e, Ce);
6006
6006
  for (let it = 1; it <= Q; it++)
6007
- if (ft ? !!(it % 2) == He : He) {
6007
+ if (ft ? !!(it % 2) == Be : Be) {
6008
6008
  const Ue = _[0].days[0], rt = D(kt(Ue.value, -7), _e(ee));
6009
6009
  _.unshift({ days: rt });
6010
6010
  } else {
@@ -6026,16 +6026,16 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6026
6026
  }
6027
6027
  return P;
6028
6028
  }, te = (_, ee) => {
6029
- const R = [], P = new Date(ee, _), Q = new Date(ee, _ + 1, 0), $e = e.weekStart, Ce = Mt(P, { weekStartsOn: $e }), He = (ft) => {
6029
+ const R = [], P = new Date(ee, _), Q = new Date(ee, _ + 1, 0), $e = e.weekStart, Ce = Mt(P, { weekStartsOn: $e }), Be = (ft) => {
6030
6030
  const it = D(ft, _);
6031
6031
  if (R.push({ days: it }), !R[R.length - 1].days.some(
6032
6032
  (Ue) => Me(ot(Ue.value), ot(Q))
6033
6033
  )) {
6034
6034
  const Ue = kt(ft, 7);
6035
- He(Ue);
6035
+ Be(Ue);
6036
6036
  }
6037
6037
  };
6038
- return He(Ce), be(R, P, Q, $e);
6038
+ return Be(Ce), be(R, P, Q, $e);
6039
6039
  }, pe = (_) => {
6040
6040
  const ee = qt(K(_.value), c.hours, c.minutes, nt());
6041
6041
  t("date-update", ee), J.value.enabled ? Cn(ee, m, J.value.limit) : m.value = ee, a(), pt().then(() => {
@@ -6174,7 +6174,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6174
6174
  getMarker: $,
6175
6175
  handleArrow: g,
6176
6176
  handleScroll: M,
6177
- handleSwipe: B,
6177
+ handleSwipe: H,
6178
6178
  selectDate: J,
6179
6179
  updateMonthYear: O,
6180
6180
  presetDate: W,
@@ -6224,10 +6224,10 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6224
6224
  }, f = (u, E) => {
6225
6225
  var U;
6226
6226
  if (!r.range) {
6227
- const j = m.value ? m.value : y, H = E ? new Date(E) : j, be = u ? Mt(H, { weekStartsOn: 1 }) : hr(H, { weekStartsOn: 1 });
6227
+ const j = m.value ? m.value : y, B = E ? new Date(E) : j, be = u ? Mt(B, { weekStartsOn: 1 }) : hr(B, { weekStartsOn: 1 });
6228
6228
  J({
6229
6229
  value: be,
6230
- current: _e(H) === o.value(0),
6230
+ current: _e(B) === o.value(0),
6231
6231
  text: "",
6232
6232
  classData: {}
6233
6233
  }), (U = document.getElementById(Kr(be))) == null || U.focus();
@@ -6272,8 +6272,8 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6272
6272
  default: we(({ instance: U, index: j }) => [
6273
6273
  u.disableMonthYearSelect ? X("", !0) : (S(), Pe(Ys, Ge({
6274
6274
  key: 0,
6275
- ref: (H) => {
6276
- H && (me.value[j] = H);
6275
+ ref: (B) => {
6276
+ B && (me.value[j] = B);
6277
6277
  },
6278
6278
  months: p(Yr)(u.formatLocale, u.locale, u.monthNameFormat),
6279
6279
  years: p($n)(u.yearRange, u.locale, u.reverseYears),
@@ -6281,42 +6281,42 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6281
6281
  year: p(v)(U),
6282
6282
  instance: U
6283
6283
  }, u.$props, {
6284
- onMount: E[0] || (E[0] = (H) => ne(p(Zt).header)),
6285
- onResetFlow: E[1] || (E[1] = (H) => u.$emit("reset-flow")),
6286
- onUpdateMonthYear: (H) => p(O)(U, H),
6284
+ onMount: E[0] || (E[0] = (B) => ne(p(Zt).header)),
6285
+ onResetFlow: E[1] || (E[1] = (B) => u.$emit("reset-flow")),
6286
+ onUpdateMonthYear: (B) => p(O)(U, B),
6287
6287
  onOverlayClosed: ye,
6288
- onOverlayOpened: E[2] || (E[2] = (H) => u.$emit("overlay-toggle", { open: !0, overlay: H }))
6288
+ onOverlayOpened: E[2] || (E[2] = (B) => u.$emit("overlay-toggle", { open: !0, overlay: B }))
6289
6289
  }), tt({ _: 2 }, [
6290
- Ne(p(s), (H, be) => ({
6291
- name: H,
6290
+ Ne(p(s), (B, be) => ({
6291
+ name: B,
6292
6292
  fn: we((D) => [
6293
- se(u.$slots, H, Ke(st(D)))
6293
+ se(u.$slots, B, Ke(st(D)))
6294
6294
  ])
6295
6295
  }))
6296
6296
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
6297
6297
  vt(js, Ge({
6298
- ref: (H) => {
6299
- H && (N.value[j] = H);
6298
+ ref: (B) => {
6299
+ B && (N.value[j] = B);
6300
6300
  },
6301
6301
  "mapped-dates": ie.value(U),
6302
6302
  month: p(o)(U),
6303
6303
  year: p(v)(U),
6304
6304
  instance: U
6305
6305
  }, u.$props, {
6306
- onSelectDate: (H) => p(J)(H, U !== 1),
6307
- onHandleSpace: (H) => L(H, U !== 1),
6308
- onSetHoverDate: E[3] || (E[3] = (H) => p(V)(H)),
6309
- onHandleScroll: (H) => p(M)(H, U),
6310
- onHandleSwipe: (H) => p(B)(H, U),
6311
- onMount: E[4] || (E[4] = (H) => ne(p(Zt).calendar)),
6312
- onResetFlow: E[5] || (E[5] = (H) => u.$emit("reset-flow")),
6313
- onTooltipOpen: E[6] || (E[6] = (H) => u.$emit("tooltip-open", H)),
6314
- onTooltipClose: E[7] || (E[7] = (H) => u.$emit("tooltip-close", H))
6306
+ onSelectDate: (B) => p(J)(B, U !== 1),
6307
+ onHandleSpace: (B) => L(B, U !== 1),
6308
+ onSetHoverDate: E[3] || (E[3] = (B) => p(V)(B)),
6309
+ onHandleScroll: (B) => p(M)(B, U),
6310
+ onHandleSwipe: (B) => p(H)(B, U),
6311
+ onMount: E[4] || (E[4] = (B) => ne(p(Zt).calendar)),
6312
+ onResetFlow: E[5] || (E[5] = (B) => u.$emit("reset-flow")),
6313
+ onTooltipOpen: E[6] || (E[6] = (B) => u.$emit("tooltip-open", B)),
6314
+ onTooltipClose: E[7] || (E[7] = (B) => u.$emit("tooltip-close", B))
6315
6315
  }), tt({ _: 2 }, [
6316
- Ne(p(x), (H, be) => ({
6317
- name: H,
6316
+ Ne(p(x), (B, be) => ({
6317
+ name: B,
6318
6318
  fn: we((D) => [
6319
- se(u.$slots, H, Ke(st({ ...D })))
6319
+ se(u.$slots, B, Ke(st({ ...D })))
6320
6320
  ])
6321
6321
  }))
6322
6322
  ]), 1040, ["mapped-dates", "month", "year", "instance", "onSelectDate", "onHandleSpace", "onHandleScroll", "onHandleSwipe"])
@@ -6346,8 +6346,8 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6346
6346
  }), tt({ _: 2 }, [
6347
6347
  Ne(p(q), (U, j) => ({
6348
6348
  name: U,
6349
- fn: we((H) => [
6350
- se(u.$slots, U, Ke(st(H)))
6349
+ fn: we((B) => [
6350
+ se(u.$slots, U, Ke(st(B)))
6351
6351
  ])
6352
6352
  }))
6353
6353
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"]))
@@ -6363,7 +6363,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6363
6363
  propDates: v,
6364
6364
  defaultedFilters: m,
6365
6365
  defaultedMultiDates: k
6366
- } = Ee(e), { modelValue: c, year: y, month: b, calendars: h } = Ia(e, t), { isDisabled: $ } = jt(e), { selectYear: g, groupedYears: M, showYearPicker: B, isDisabled: J, toggleYearPicker: O, handleYearSelect: W, handleYear: Z } = Jr({
6366
+ } = Ee(e), { modelValue: c, year: y, month: b, calendars: h } = Ia(e, t), { isDisabled: $ } = jt(e), { selectYear: g, groupedYears: M, showYearPicker: H, isDisabled: J, toggleYearPicker: O, handleYearSelect: W, handleYear: Z } = Jr({
6367
6367
  modelValue: c,
6368
6368
  multiCalendars: a,
6369
6369
  range: o,
@@ -6414,7 +6414,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6414
6414
  year: y,
6415
6415
  isDisabled: J,
6416
6416
  quarters: ae,
6417
- showYearPicker: B,
6417
+ showYearPicker: H,
6418
6418
  modelValue: c,
6419
6419
  setHoverDate: (d) => {
6420
6420
  n.value = d;
@@ -6458,7 +6458,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6458
6458
  showYearPicker: $,
6459
6459
  setHoverDate: g,
6460
6460
  selectQuarter: M,
6461
- toggleYearPicker: B,
6461
+ toggleYearPicker: H,
6462
6462
  handleYearSelect: J,
6463
6463
  handleYear: O
6464
6464
  } = Xs(r, a);
@@ -6491,7 +6491,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6491
6491
  "is-disabled": (C) => p(y)(I, C),
6492
6492
  onHandleYear: (C) => p(O)(I, C),
6493
6493
  onYearSelect: (C) => p(J)(C, I),
6494
- onToggleYearPicker: (C) => p(B)(I, C?.flow, C?.show)
6494
+ onToggleYearPicker: (C) => p(H)(I, C?.flow, C?.show)
6495
6495
  }), tt({ _: 2 }, [
6496
6496
  Ne(p(o), (C, re) => ({
6497
6497
  name: C,
@@ -6593,7 +6593,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6593
6593
  noOverlayFocus: r.noOverlayFocus,
6594
6594
  menuWrapRef: l.value
6595
6595
  };
6596
- }), { setMenuFocused: v, setShiftKey: m, control: k } = Gr(), c = ta(), { defaultedTextInput: y, defaultedInline: b, defaultedConfig: h, defaultedUI: $ } = Ee(r), g = z(null), M = z(0), B = z(null), J = z(!1), O = z(null);
6596
+ }), { setMenuFocused: v, setShiftKey: m, control: k } = Gr(), c = ta(), { defaultedTextInput: y, defaultedInline: b, defaultedConfig: h, defaultedUI: $ } = Ee(r), g = z(null), M = z(0), H = z(null), J = z(!1), O = z(null);
6597
6597
  at(() => {
6598
6598
  if (!r.shadow) {
6599
6599
  J.value = !0, W(), window.addEventListener("resize", W);
@@ -6609,7 +6609,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6609
6609
  window.removeEventListener("resize", W);
6610
6610
  });
6611
6611
  const W = () => {
6612
- const D = ze(B);
6612
+ const D = ze(H);
6613
6613
  D && (M.value = D.getBoundingClientRect().width);
6614
6614
  }, { arrowRight: Z, arrowLeft: I, arrowDown: C, arrowUp: re } = zt(), { flowStep: V, updateFlowStep: F, childMount: ae, resetFlow: ce, handleFlow: me } = mu(r, a, O), N = T(() => r.monthPicker ? cs : r.yearPicker ? vs : r.timePicker ? Os : r.quarterPicker ? Zs : Qs), d = T(() => {
6615
6615
  var D;
@@ -6668,7 +6668,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6668
6668
  ye("clearHoverDate");
6669
6669
  }, j = (D, te) => {
6670
6670
  ye("updateMonthYear", D, te);
6671
- }, H = (D, te) => {
6671
+ }, B = (D, te) => {
6672
6672
  D.preventDefault(), le(te);
6673
6673
  }, be = (D) => {
6674
6674
  var te;
@@ -6682,13 +6682,13 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6682
6682
  case Ie.esc:
6683
6683
  return A();
6684
6684
  case Ie.arrowLeft:
6685
- return H(D, lt.left);
6685
+ return B(D, lt.left);
6686
6686
  case Ie.arrowRight:
6687
- return H(D, lt.right);
6687
+ return B(D, lt.right);
6688
6688
  case Ie.arrowUp:
6689
- return H(D, lt.up);
6689
+ return B(D, lt.up);
6690
6690
  case Ie.arrowDown:
6691
- return H(D, lt.down);
6691
+ return B(D, lt.down);
6692
6692
  default:
6693
6693
  return;
6694
6694
  }
@@ -6724,7 +6724,7 @@ const Ti = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Lr = (e, t) =
6724
6724
  }, null, 2)) : X("", !0),
6725
6725
  fe("div", {
6726
6726
  ref_key: "innerMenuRef",
6727
- ref: B,
6727
+ ref: H,
6728
6728
  class: ke({
6729
6729
  dp__menu_content_wrapper: ((xe = D.presetDates) == null ? void 0 : xe.length) || !!D.$slots["left-sidebar"] || !!D.$slots["right-sidebar"],
6730
6730
  "dp--menu-content-wrapper-collapsed": e.collapse && (((Xe = D.presetDates) == null ? void 0 : Xe.length) || !!D.$slots["left-sidebar"] || !!D.$slots["right-sidebar"])
@@ -6861,7 +6861,7 @@ const su = ({
6861
6861
  c.value.left = `${d}px`;
6862
6862
  }, M = (d, x) => {
6863
6863
  o.position === sa.left && g(d), o.position === sa.right && $(d, x), o.position === sa.center && (c.value.left = `${d + x / 2 - m.value.width / 2}px`);
6864
- }, B = (d) => {
6864
+ }, H = (d) => {
6865
6865
  const { width: x, height: s } = d.getBoundingClientRect(), { top: q, left: ne } = o.altPosition ? o.altPosition(d) : h(d);
6866
6866
  return { top: +q, left: +ne, width: x, height: s };
6867
6867
  }, J = () => {
@@ -6883,14 +6883,14 @@ const su = ({
6883
6883
  }, Z = ({ inputEl: d, left: x, width: s }) => {
6884
6884
  window.screen.width > 768 && !k.value && M(x, s), re(d);
6885
6885
  }, I = (d) => {
6886
- const { top: x, left: s, height: q, width: ne } = B(d);
6886
+ const { top: x, left: s, height: q, width: ne } = H(d);
6887
6887
  c.value.top = `${q + x + +o.offset}px`, y.value = !1, k.value || (c.value.left = `${s + ne / 2 - m.value.width / 2}px`), Z({ inputEl: d, left: s, width: ne });
6888
6888
  }, C = (d) => {
6889
- const { top: x, left: s, width: q } = B(d);
6889
+ const { top: x, left: s, width: q } = H(d);
6890
6890
  c.value.top = `${x - +o.offset - m.value.height}px`, y.value = !0, Z({ inputEl: d, left: s, width: q });
6891
6891
  }, re = (d) => {
6892
6892
  if (o.autoPosition) {
6893
- const { left: x, width: s } = B(d), { left: q, right: ne } = m.value;
6893
+ const { left: x, width: s } = H(d), { left: q, right: ne } = m.value;
6894
6894
  if (!k.value) {
6895
6895
  if (Math.abs(q) !== Math.abs(ne)) {
6896
6896
  if (q <= 0)
@@ -6955,10 +6955,10 @@ const su = ({
6955
6955
  Object.keys(v).filter((A) => ["right-sidebar", "left-sidebar", "top-extra", "action-extra"].includes(A)).map((A) => [A, v[A]])
6956
6956
  )
6957
6957
  );
6958
- Bn(i, ie), m.value = (ne = i.el) == null ? void 0 : ne.getBoundingClientRect(), Bn(null, ie), w.removeChild(ie);
6958
+ Hn(i, ie), m.value = (ne = i.el) == null ? void 0 : ne.getBoundingClientRect(), Hn(null, ie), w.removeChild(ie);
6959
6959
  }
6960
6960
  };
6961
- }, Ht = [
6961
+ }, Bt = [
6962
6962
  { name: "clock-icon", use: ["time", "calendar", "shared"] },
6963
6963
  { name: "arrow-left", use: ["month-year", "calendar", "shared", "year-mode"] },
6964
6964
  { name: "arrow-right", use: ["month-year", "calendar", "shared", "year-mode"] },
@@ -7000,15 +7000,15 @@ const su = ({
7000
7000
  { name: "tp-inline-arrow-up", use: ["shared", "time"] },
7001
7001
  { name: "tp-inline-arrow-down", use: ["shared", "time"] }
7002
7002
  ], uu = [{ name: "trigger" }, { name: "input-icon" }, { name: "clear-icon" }, { name: "dp-input" }], du = {
7003
- all: () => Ht,
7004
- monthYear: () => Ht.filter((e) => e.use.includes("month-year")),
7003
+ all: () => Bt,
7004
+ monthYear: () => Bt.filter((e) => e.use.includes("month-year")),
7005
7005
  input: () => uu,
7006
- timePicker: () => Ht.filter((e) => e.use.includes("time")),
7007
- action: () => Ht.filter((e) => e.use.includes("action")),
7008
- calendar: () => Ht.filter((e) => e.use.includes("calendar")),
7009
- menu: () => Ht.filter((e) => e.use.includes("menu")),
7010
- shared: () => Ht.filter((e) => e.use.includes("shared")),
7011
- yearMode: () => Ht.filter((e) => e.use.includes("year-mode"))
7006
+ timePicker: () => Bt.filter((e) => e.use.includes("time")),
7007
+ action: () => Bt.filter((e) => e.use.includes("action")),
7008
+ calendar: () => Bt.filter((e) => e.use.includes("calendar")),
7009
+ menu: () => Bt.filter((e) => e.use.includes("menu")),
7010
+ shared: () => Bt.filter((e) => e.use.includes("shared")),
7011
+ yearMode: () => Bt.filter((e) => e.use.includes("year-mode"))
7012
7012
  }, mt = (e, t, n) => {
7013
7013
  const a = [];
7014
7014
  return du[t]().forEach((r) => {
@@ -7082,7 +7082,7 @@ const su = ({
7082
7082
  }, M = (i) => {
7083
7083
  const A = Array.isArray(e.value) ? e.value[0] : null;
7084
7084
  return i ? !Fe(c.value ?? null, A) : !0;
7085
- }, B = (i, A = !0) => (m.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !i.current ? !1 : Me(K(i.value), e.value[A ? 0 : 1]) : m.value.enabled ? g(i, A) && M(A) || Me(i.value, Array.isArray(e.value) ? e.value[0] : null) && $(A) : !1, J = (i, A) => {
7085
+ }, H = (i, A = !0) => (m.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !i.current ? !1 : Me(K(i.value), e.value[A ? 0 : 1]) : m.value.enabled ? g(i, A) && M(A) || Me(i.value, Array.isArray(e.value) ? e.value[0] : null) && $(A) : !1, J = (i, A) => {
7086
7086
  if (Array.isArray(e.value) && e.value[0] && e.value.length === 1) {
7087
7087
  const le = Me(i.value, c.value);
7088
7088
  return A ? Ve(e.value[0], i.value) && le : Fe(e.value[0], i.value) && le;
@@ -7121,7 +7121,7 @@ const su = ({
7121
7121
  return !1;
7122
7122
  }, C = (i) => ja(e.value, c.value, i.value), re = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, V = () => t.modelAuto ? Er(t.internalModelValue) : !0, F = (i) => {
7123
7123
  if (t.weekPicker) return !1;
7124
- const A = m.value.enabled ? !B(i) && !B(i, !1) : !0;
7124
+ const A = m.value.enabled ? !H(i) && !H(i, !1) : !0;
7125
7125
  return !k(i.value) && !O(i) && !(!i.current && t.hideOffsetDates) && A;
7126
7126
  }, ae = (i) => m.value.enabled ? t.modelAuto ? re() && O(i) : !1 : O(i), ce = (i) => l.value ? Ai(i.value, v.value.highlight) : !1, me = (i) => {
7127
7127
  const A = k(i.value);
@@ -7172,7 +7172,7 @@ const su = ({
7172
7172
  ...w(i)
7173
7173
  };
7174
7174
  }, ie = (i) => {
7175
- const A = n.value.count > 0 ? i.current && B(i) && V() : B(i) && V(), le = n.value.count > 0 ? i.current && B(i, !1) && V() : B(i, !1) && V();
7175
+ const A = n.value.count > 0 ? i.current && H(i) && V() : H(i) && V(), le = n.value.count > 0 ? i.current && H(i, !1) && V() : H(i, !1) && V();
7176
7176
  return { isRangeStart: A, isRangeEnd: le };
7177
7177
  }, ve = (i) => {
7178
7178
  const { isRangeStart: A, isRangeEnd: le } = ie(i);
@@ -7205,7 +7205,7 @@ const su = ({
7205
7205
  const { defaultedFilters: t, defaultedRange: n, propDates: a, defaultedMultiDates: r } = Ee(e), l = (N) => a.value.disabledDates ? typeof a.value.disabledDates == "function" ? a.value.disabledDates(K(N)) : !!qa(N, a.value.disabledDates) : !1, o = (N) => a.value.maxDate ? e.yearPicker ? he(N) > he(a.value.maxDate) : Ve(N, a.value.maxDate) : !1, v = (N) => a.value.minDate ? e.yearPicker ? he(N) < he(a.value.minDate) : Fe(N, a.value.minDate) : !1, m = (N) => {
7206
7206
  const d = o(N), x = v(N), s = l(N), q = t.value.months.map((L) => +L).includes(_e(N)), ne = e.disabledWeekDays.length ? e.disabledWeekDays.some((L) => +L === fo(N)) : !1, ie = h(N), ve = he(N), w = ve < +e.yearRange[0] || ve > +e.yearRange[1];
7207
7207
  return !(d || x || s || q || w || ne || ie);
7208
- }, k = (N, d) => Fe(...Bt(a.value.minDate, N, d)) || Me(...Bt(a.value.minDate, N, d)), c = (N, d) => Ve(...Bt(a.value.maxDate, N, d)) || Me(...Bt(a.value.maxDate, N, d)), y = (N, d, x) => {
7208
+ }, k = (N, d) => Fe(...Ht(a.value.minDate, N, d)) || Me(...Ht(a.value.minDate, N, d)), c = (N, d) => Ve(...Ht(a.value.maxDate, N, d)) || Me(...Ht(a.value.maxDate, N, d)), y = (N, d, x) => {
7209
7209
  let s = !1;
7210
7210
  return a.value.maxDate && x && c(N, d) && (s = !0), a.value.minDate && !x && k(N, d) && (s = !0), s;
7211
7211
  }, b = (N, d, x, s) => {
@@ -7217,8 +7217,8 @@ const su = ({
7217
7217
  return d >= +e.yearRange[0] && d <= e.yearRange[1];
7218
7218
  }
7219
7219
  return !0;
7220
- }, B = (N, d) => !!(Array.isArray(N) && N[d] && (n.value.maxRange || n.value.minRange) && M(N[d])), J = (N, d, x = 0) => {
7221
- if (B(d, x) && M(N)) {
7220
+ }, H = (N, d) => !!(Array.isArray(N) && N[d] && (n.value.maxRange || n.value.minRange) && M(N[d])), J = (N, d, x = 0) => {
7221
+ if (H(d, x) && M(N)) {
7222
7222
  const s = vr(N, d[x]), q = Vr(d[x], N), ne = q.length === 1 ? 0 : q.filter((ve) => $(ve)).length, ie = Math.abs(s) - (n.value.minMaxRawRange ? 0 : ne);
7223
7223
  if (n.value.minRange && n.value.maxRange)
7224
7224
  return ie >= +n.value.minRange && ie <= +n.value.maxRange;
@@ -7351,7 +7351,7 @@ const su = ({
7351
7351
  defaultedUI: y,
7352
7352
  getDefaultPattern: b,
7353
7353
  getDefaultStartTime: h
7354
- } = Ee(r), { checkMinMaxRange: $ } = jt(r), g = z(), M = z(null), B = z(!1), J = z(!1), O = T(
7354
+ } = Ee(r), { checkMinMaxRange: $ } = jt(r), g = z(), M = z(null), H = z(!1), J = z(!1), O = T(
7355
7355
  () => ({
7356
7356
  dp__pointer: !r.disabled && !r.readonly && !l.value.enabled,
7357
7357
  dp__disabled: r.disabled,
@@ -7360,7 +7360,7 @@ const su = ({
7360
7360
  dp__input_icon_pad: !r.hideInputIcon,
7361
7361
  dp__input_valid: !!r.state,
7362
7362
  dp__input_invalid: r.state === !1,
7363
- dp__input_focus: B.value || r.isMenuOpen,
7363
+ dp__input_focus: H.value || r.isMenuOpen,
7364
7364
  dp__input_reg: !l.value.enabled,
7365
7365
  [r.inputClassName]: !!r.inputClassName,
7366
7366
  ...y.value.input ?? {}
@@ -7404,14 +7404,14 @@ const su = ({
7404
7404
  }, ae = (s) => {
7405
7405
  l.value.enabled && l.value.tabSubmit && re(s.target.value), l.value.tabSubmit && yn(g.value) && r.inputValue !== "" ? (a("set-input-date", g.value, !0, !0), g.value = null) : l.value.tabSubmit && r.inputValue === "" && (g.value = null, a("clear", !0));
7406
7406
  }, ce = () => {
7407
- B.value = !0, a("focus"), pt().then(() => {
7407
+ H.value = !0, a("focus"), pt().then(() => {
7408
7408
  var s;
7409
7409
  l.value.enabled && l.value.selectOnFocus && ((s = M.value) == null || s.select());
7410
7410
  });
7411
7411
  }, me = (s) => {
7412
7412
  s.preventDefault(), Vt(s, m.value, !0), l.value.enabled && l.value.openMenu && !v.value.input && !r.isMenuOpen ? a("open") : l.value.enabled || a("toggle");
7413
7413
  }, N = () => {
7414
- a("real-blur"), B.value = !1, (!r.isMenuOpen || v.value.enabled && v.value.input) && a("blur"), r.autoApply && l.value.enabled && g.value && !r.isMenuOpen && (a("set-input-date", g.value), a("select-date"), g.value = null);
7414
+ a("real-blur"), H.value = !1, (!r.isMenuOpen || v.value.enabled && v.value.input) && a("blur"), r.autoApply && l.value.enabled && g.value && !r.isMenuOpen && (a("set-input-date", g.value), a("select-date"), g.value = null);
7415
7415
  }, d = (s) => {
7416
7416
  Vt(s, m.value, !0), a("clear");
7417
7417
  }, x = (s) => {
@@ -7560,7 +7560,7 @@ const su = ({
7560
7560
  "overlay-toggle"
7561
7561
  ],
7562
7562
  setup(e, { expose: t, emit: n }) {
7563
- const a = n, r = e, l = ta(), o = z(!1), v = Ta(r, "modelValue"), m = Ta(r, "timezone"), k = z(null), c = z(null), y = z(null), b = z(!1), h = z(null), $ = z(!1), g = z(!1), M = z(!1), B = z(!1), { setMenuFocused: J, setShiftKey: O } = Gr(), { clearArrowNav: W } = zt(), { validateDate: Z, isValidTime: I } = jt(r), {
7563
+ const a = n, r = e, l = ta(), o = z(!1), v = Ta(r, "modelValue"), m = Ta(r, "timezone"), k = z(null), c = z(null), y = z(null), b = z(!1), h = z(null), $ = z(!1), g = z(!1), M = z(!1), H = z(!1), { setMenuFocused: J, setShiftKey: O } = Gr(), { clearArrowNav: W } = zt(), { validateDate: Z, isValidTime: I } = jt(r), {
7564
7564
  defaultedTransitions: C,
7565
7565
  defaultedTextInput: re,
7566
7566
  defaultedInline: V,
@@ -7572,13 +7572,13 @@ const su = ({
7572
7572
  A(r.modelValue), pt().then(() => {
7573
7573
  if (!V.value.enabled) {
7574
7574
  const R = ve(h.value);
7575
- R?.addEventListener("scroll", j), window?.addEventListener("resize", H);
7575
+ R?.addEventListener("scroll", j), window?.addEventListener("resize", B);
7576
7576
  }
7577
7577
  }), V.value.enabled && (o.value = !0), window?.addEventListener("keyup", be), window?.addEventListener("keydown", D);
7578
7578
  }), Wa(() => {
7579
7579
  if (!V.value.enabled) {
7580
7580
  const R = ve(h.value);
7581
- R?.removeEventListener("scroll", j), window?.removeEventListener("resize", H);
7581
+ R?.removeEventListener("scroll", j), window?.removeEventListener("resize", B);
7582
7582
  }
7583
7583
  window?.removeEventListener("keyup", be), window?.removeEventListener("keydown", D);
7584
7584
  });
@@ -7623,7 +7623,7 @@ const su = ({
7623
7623
  return (P = (R = y.value) == null ? void 0 : R.$el) == null ? void 0 : P.getBoundingClientRect();
7624
7624
  }, j = () => {
7625
7625
  o.value && (F.value.closeOnScroll ? nt() : ie());
7626
- }, H = () => {
7626
+ }, B = () => {
7627
7627
  var R;
7628
7628
  o.value && ie();
7629
7629
  const P = (R = c.value) == null ? void 0 : R.$el.getBoundingClientRect().width;
@@ -7657,9 +7657,9 @@ const su = ({
7657
7657
  i.value = null;
7658
7658
  return;
7659
7659
  }
7660
- const $e = Array.isArray(R) ? !R.some((He) => !Z(He)) : Z(R), Ce = I(R);
7661
- $e && Ce && (B.value = !0, i.value = R, P && ($.value = Q, Xe(), a("text-submit")), pt().then(() => {
7662
- B.value = !1;
7660
+ const $e = Array.isArray(R) ? !R.some((Be) => !Z(Be)) : Z(R), Ce = I(R);
7661
+ $e && Ce && (H.value = !0, i.value = R, P && ($.value = Q, Xe(), a("text-submit")), pt().then(() => {
7662
+ H.value = !1;
7663
7663
  }));
7664
7664
  }, ga = () => {
7665
7665
  r.autoApply && I(i.value) && le(), wt();
@@ -7712,7 +7712,7 @@ const su = ({
7712
7712
  ref_key: "inputRef",
7713
7713
  ref: y,
7714
7714
  "input-value": p(L),
7715
- "onUpdate:inputValue": P[0] || (P[0] = (Q) => Hn(L) ? L.value = Q : null),
7715
+ "onUpdate:inputValue": P[0] || (P[0] = (Q) => Bn(L) ? L.value = Q : null),
7716
7716
  "is-menu-open": o.value
7717
7717
  }, R.$props, {
7718
7718
  onClear: pe,
@@ -7753,13 +7753,13 @@ const su = ({
7753
7753
  ref: c
7754
7754
  }, R.$props, {
7755
7755
  "internal-model-value": p(i),
7756
- "onUpdate:internalModelValue": P[2] || (P[2] = (Q) => Hn(i) ? i.value = Q : null),
7756
+ "onUpdate:internalModelValue": P[2] || (P[2] = (Q) => Bn(i) ? i.value = Q : null),
7757
7757
  class: { [Y.value]: !0, "dp--menu-wrapper": R.teleport },
7758
7758
  "open-on-top": p(s),
7759
7759
  "no-overlay-focus": E.value,
7760
7760
  collapse: M.value,
7761
7761
  "get-input-rect": U,
7762
- "is-text-input-date": B.value,
7762
+ "is-text-input-date": H.value,
7763
7763
  onClosePicker: nt,
7764
7764
  onSelectDate: Xe,
7765
7765
  onAutoApply: ct,
@@ -8048,7 +8048,7 @@ const Du = {
8048
8048
  formattingValues: Yu,
8049
8049
  defaultFormattingWidth: "wide"
8050
8050
  })
8051
- }, Lu = /^(\d+)(\.)?/i, Hu = /\d+/i, Bu = {
8051
+ }, Lu = /^(\d+)(\.)?/i, Bu = /\d+/i, Hu = {
8052
8052
  narrow: /^(fKr|fvt|eKr|vt)/i,
8053
8053
  abbreviated: /^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,
8054
8054
  wide: /^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i
@@ -8118,11 +8118,11 @@ const Du = {
8118
8118
  }, Uu = {
8119
8119
  ordinalNumber: kr({
8120
8120
  matchPattern: Lu,
8121
- parsePattern: Hu,
8121
+ parsePattern: Bu,
8122
8122
  valueCallback: (e) => parseInt(e, 10)
8123
8123
  }),
8124
8124
  era: Tt({
8125
- matchPatterns: Bu,
8125
+ matchPatterns: Hu,
8126
8126
  defaultMatchWidth: "wide",
8127
8127
  parsePatterns: Vu,
8128
8128
  defaultParseWidth: "any"
@@ -8322,7 +8322,7 @@ const Du = {
8322
8322
  }, 8, ["label", "id", "icon", "icon-color", "icon-type", "icon-placement", "required", "readonly"]));
8323
8323
  }
8324
8324
  }), md = fl("event", () => {
8325
- const e = ul(), { voucher: t } = Wn(dl()), { display: n } = cl(), { bearerToken: a, metaData: r } = Wn(Vn()), l = Vn(), o = ml(), v = z({}), m = T(() => Object.keys(v.value).length > 0), k = z(void 0), c = z(!0), y = z(yt.InitialState), b = z(NaN), h = z(1), $ = z(NaN), g = z(NaN), M = z(""), B = Ja("konnectio_name", "", void 0, { serializer: Za.string }), J = Ja("konnectio_phone", "", void 0, { serializer: Za.string }), O = Ja("konnectio_email", "", void 0, { serializer: Za.string }), W = z(""), Z = z(""), I = z({}), C = z({}), re = z("");
8325
+ const e = ul(), { voucher: t } = Wn(dl()), { display: n } = cl(), { bearerToken: a, metaData: r } = Wn(Vn()), l = Vn(), o = ml(), v = z({}), m = T(() => Object.keys(v.value).length > 0), k = z(void 0), c = z(!0), y = z(yt.InitialState), b = z(NaN), h = z(1), $ = z(NaN), g = z(NaN), M = z(""), H = Ja("konnectio_name", "", void 0, { serializer: Za.string }), J = Ja("konnectio_phone", "", void 0, { serializer: Za.string }), O = Ja("konnectio_email", "", void 0, { serializer: Za.string }), W = z(""), Z = z(""), I = z({}), C = z({}), re = z("");
8326
8326
  function V(P) {
8327
8327
  return P ? P.templateId !== void 0 : !1;
8328
8328
  }
@@ -8342,22 +8342,22 @@ const Du = {
8342
8342
  if (V(k.value))
8343
8343
  return k.value.rooms;
8344
8344
  });
8345
- function H(P, Q, $e) {
8345
+ function B(P, Q, $e) {
8346
8346
  let Ce = 0;
8347
8347
  if (V(k.value)) {
8348
- const He = k.value.rooms[$e];
8349
- if (He) {
8350
- const ft = He.addons, it = I.value[`${Q}.${P}.${$e}`] || 0;
8348
+ const Be = k.value.rooms[$e];
8349
+ if (Be) {
8350
+ const ft = Be.addons, it = I.value[`${Q}.${P}.${$e}`] || 0;
8351
8351
  if (it > 0) {
8352
8352
  const Ue = ft?.find((Et) => Et.id === P), rt = typeof it == "boolean" ? 1 : it;
8353
- Ce += vl(Ue?.price, Ue?.quantityStrategy, w.value, He.adultPerRoom) * rt;
8353
+ Ce += vl(Ue?.price, Ue?.quantityStrategy, w.value, Be.adultPerRoom) * rt;
8354
8354
  }
8355
8355
  }
8356
8356
  } else {
8357
- const He = C.value[P] || 0;
8358
- if (He > 0) {
8357
+ const Be = C.value[P] || 0;
8358
+ if (Be > 0) {
8359
8359
  const ft = A.value?.products?.find((it) => it.id === P);
8360
- ft && (Ce += ft.price * He);
8360
+ ft && (Ce += ft.price * Be);
8361
8361
  }
8362
8362
  }
8363
8363
  return Ce;
@@ -8366,12 +8366,12 @@ const Du = {
8366
8366
  let $e = 0;
8367
8367
  if (V(k.value))
8368
8368
  for (const Ce in I.value) {
8369
- const He = Ce.split(".");
8370
- parseInt(He[0]) === P && parseInt(He[2]) === Q && ($e += H(parseInt(He[1]), P, Q));
8369
+ const Be = Ce.split(".");
8370
+ parseInt(Be[0]) === P && parseInt(Be[2]) === Q && ($e += B(parseInt(Be[1]), P, Q));
8371
8371
  }
8372
8372
  else
8373
8373
  for (const Ce in C.value)
8374
- $e += H(parseInt(Ce)) * h.value;
8374
+ $e += B(parseInt(Ce)) * h.value;
8375
8375
  return $e;
8376
8376
  }
8377
8377
  const D = T(() => V(k.value) && k.value.totalPrice || 0), te = T(() => {
@@ -8390,7 +8390,7 @@ const Du = {
8390
8390
  for (const $e in P)
8391
8391
  Q += Number.isNaN(P[$e]) ? 0 : P[$e];
8392
8392
  return Q > 0;
8393
- }), ue = T(() => V(k.value) ? !1 : A.value?.products.length > 0), wt = T(() => ue.value ? Xe.value : !0), ct = T(() => u.value !== qn.FullDayEvent && !ve.value), Kt = T(() => !!(B.value !== "" && O.value !== "" && J.value.length >= 5 && wt.value && (!ct.value || M.value !== "")));
8393
+ }), ue = T(() => V(k.value) ? !1 : A.value?.products.length > 0), wt = T(() => ue.value ? Xe.value : !0), ct = T(() => u.value !== qn.FullDayEvent && !ve.value), Kt = T(() => !!(H.value !== "" && O.value !== "" && J.value.length >= 5 && wt.value && (!ct.value || M.value !== "")));
8394
8394
  function nt(P) {
8395
8395
  return y.value === yt.ReservationState && $.value === P && c.value;
8396
8396
  }
@@ -8524,7 +8524,7 @@ const Du = {
8524
8524
  type: "warning"
8525
8525
  });
8526
8526
  };
8527
- let $e, Ce, He;
8527
+ let $e, Ce, Be;
8528
8528
  const ft = [];
8529
8529
  if (V(k.value))
8530
8530
  j.value?.forEach((rt, Et) => {
@@ -8550,7 +8550,7 @@ const Du = {
8550
8550
  templateCounts: ft
8551
8551
  };
8552
8552
  else {
8553
- Ce = [], He = M.value;
8553
+ Ce = [], Be = M.value;
8554
8554
  for (const rt in C.value) {
8555
8555
  const Et = C.value[parseInt(rt)];
8556
8556
  Et > 0 && Ce.push({
@@ -8564,7 +8564,7 @@ const Du = {
8564
8564
  language: Qt(),
8565
8565
  restaurantId: x.value,
8566
8566
  date: pl(d.value),
8567
- name: B.value,
8567
+ name: H.value,
8568
8568
  email: O.value,
8569
8569
  phone: J.value,
8570
8570
  remark: W.value,
@@ -8576,7 +8576,7 @@ const Du = {
8576
8576
  checkoutUrl: window.location.origin,
8577
8577
  privacyUrl: window.location.origin
8578
8578
  };
8579
- V(k.value) ? Ue.templateGroup = $e : (Ue.time = He, Ue.eventId = $.value, Ue.products = Ce, it = "https://production.hotel-service.konnectio.dk/api/event/book-event"), await la.post(it, Ue, {
8579
+ V(k.value) ? Ue.templateGroup = $e : (Ue.time = Be, Ue.eventId = $.value, Ue.products = Ce, it = "https://production.hotel-service.konnectio.dk/api/event/book-event"), await la.post(it, Ue, {
8580
8580
  headers: {
8581
8581
  Authorization: a.value,
8582
8582
  Accept: "application/json"
@@ -8613,7 +8613,7 @@ const Du = {
8613
8613
  addons: I,
8614
8614
  products: C,
8615
8615
  discountCode: re,
8616
- name: B,
8616
+ name: H,
8617
8617
  phone: J,
8618
8618
  email: O,
8619
8619
  remark: W,
@@ -8651,7 +8651,7 @@ const Du = {
8651
8651
  getTemplateAvailability: ka,
8652
8652
  getEventAvailability: _a,
8653
8653
  validateDiscountCode: Da,
8654
- localAddonPrice: H,
8654
+ localAddonPrice: B,
8655
8655
  totalAddonPrice: be,
8656
8656
  createBooking: _,
8657
8657
  reset: ee,
@@ -8670,9 +8670,9 @@ export {
8670
8670
  aa as d,
8671
8671
  Dr as e,
8672
8672
  gl as f,
8673
- Ba as g,
8673
+ Ha as g,
8674
8674
  dd as m,
8675
8675
  de as t,
8676
8676
  md as u
8677
8677
  };
8678
- //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js.map
8678
+ //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js.map