@konnectio/core 4.0.56-rc62 → 4.0.56-rc63

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 (61) hide show
  1. package/dist/{ActionField-BAmWCmNj.js → ActionField-CaZyWiC0.js} +3 -3
  2. package/dist/ActionField-CaZyWiC0.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-hnj2IB72.js → AvailabilitySkeleton-DwbcJXaG.js} +6 -6
  4. package/dist/AvailabilitySkeleton-DwbcJXaG.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DNhFVa3I.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Bd-pBmI_.js} +96 -95
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Bd-pBmI_.js.br +0 -0
  7. package/dist/{CheckoutWindow-D-2StEA9.js → CheckoutWindow-DcU_jmlL.js} +4 -4
  8. package/dist/CheckoutWindow-DcU_jmlL.js.br +0 -0
  9. package/dist/{ErrorMessage-meGV_pjV.js → ErrorMessage-CQjnuNY9.js} +3 -3
  10. package/dist/ErrorMessage-CQjnuNY9.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-8BS4vRPQ.js → EventAvailabilityForm-HZ49CEtf.js} +5 -5
  12. package/dist/EventAvailabilityForm-HZ49CEtf.js.br +0 -0
  13. package/dist/{Field-cQkCPR1i.js → Field-Cw2CsM6g.js} +3 -3
  14. package/dist/Field-Cw2CsM6g.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CaK9Vq45.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BUd1ZbSL.js} +6786 -6563
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BUd1ZbSL.js.br +0 -0
  17. package/dist/{TermsOfService-C4NdU9pI.js → TermsOfService-DByeIQJb.js} +5 -5
  18. package/dist/TermsOfService-DByeIQJb.js.br +0 -0
  19. package/dist/{_-DKwTcGqD.js → _-CyR4coUq.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-D3ANvLnT.js → _.vue_vue_type_style_index_0_lang-DtNawT-n.js} +4 -4
  21. package/dist/_.vue_vue_type_style_index_0_lang-DtNawT-n.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DH5UFFrM.js → _commonjsHelpers-DL55vE5x.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-Bm35dIRL.js → _sentry-release-injection-file-ntkxLyXO.js} +3 -3
  24. package/dist/_sentry-release-injection-file-ntkxLyXO.js.br +0 -0
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +324 -321
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +8 -8
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +9 -9
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-h9CkNr7M.js → giftCard-CWI0IHsB.js} +14 -14
  36. package/dist/giftCard-CWI0IHsB.js.br +0 -0
  37. package/dist/hotel.js +250 -250
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-CKtOKvjw.js → masonry.plugin-CEcJXGw-.js} +1021 -1021
  40. package/dist/masonry.plugin-CEcJXGw-.js.br +0 -0
  41. package/dist/{mitt-CtCsoiRh.js → mitt-CIY-HxuB.js} +2 -2
  42. package/dist/mitt-CIY-HxuB.js.br +0 -0
  43. package/dist/polyfill.js +943 -943
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/package.json +7 -7
  48. package/dist/ActionField-BAmWCmNj.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-hnj2IB72.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DNhFVa3I.js.br +0 -0
  51. package/dist/CheckoutWindow-D-2StEA9.js.br +0 -0
  52. package/dist/ErrorMessage-meGV_pjV.js.br +0 -0
  53. package/dist/EventAvailabilityForm-8BS4vRPQ.js.br +0 -0
  54. package/dist/Field-cQkCPR1i.js.br +0 -0
  55. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CaK9Vq45.js.br +0 -0
  56. package/dist/TermsOfService-C4NdU9pI.js.br +0 -0
  57. package/dist/_.vue_vue_type_style_index_0_lang-D3ANvLnT.js.br +0 -0
  58. package/dist/_sentry-release-injection-file-Bm35dIRL.js.br +0 -0
  59. package/dist/giftCard-h9CkNr7M.js.br +0 -0
  60. package/dist/masonry.plugin-CKtOKvjw.js.br +0 -0
  61. package/dist/mitt-CtCsoiRh.js.br +0 -0
@@ -1,10 +1,10 @@
1
- import { V as Aa, r as W, d as Ue, m as Xt, Z as xa, o as et, D as bt, W as Fa, z as xt, c as C, a as $, g as U, f as ut, q as Ze, s as Se, w as he, l as ue, M as qe, N as ot, u as v, L as Ge, v as Fn, b as _e, T as va, i as J, _ as La, $ as Ur, n as Me, O as Qr, a0 as Ln, e as fe, h as mn, F as ke, J as pt, t as Xe, x as Ot, a1 as Xr, A as Ya, B as Ia, K as Jr, a2 as Kr, a3 as Zr } from "./_sentry-release-injection-file-Bm35dIRL.js";
2
- import { D as el, o as zt, p as tl, r as al, q as nl, a as rl, d as Vn, u as ll, H as mt, t as Ga, O as Hn, S as Ua, J as ol, v as ta, K as il } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CaK9Vq45.js";
3
- import { d as sl, s as Wn, a as Rt } from "./mitt-CtCsoiRh.js";
1
+ import { V as Aa, r as W, d as Ue, m as Xt, Z as xa, o as et, D as bt, W as Fa, z as xt, c as C, a as $, g as U, f as ut, q as Ze, s as Se, w as he, l as ue, M as qe, N as ot, u as v, L as Ge, v as Fn, b as _e, T as va, i as J, _ as La, $ as Ur, n as Me, O as Qr, a0 as Ln, e as fe, h as mn, F as ke, J as pt, t as Xe, x as Ot, a1 as Xr, A as Ya, B as Ia, K as Jr, a2 as Kr, a3 as Zr } from "./_sentry-release-injection-file-ntkxLyXO.js";
2
+ import { D as el, o as zt, p as tl, r as al, q as nl, a as rl, d as Vn, u as ll, H as mt, t as Ga, O as Hn, S as Ua, J as ol, v as ta, K as il } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BUd1ZbSL.js";
3
+ import { d as sl, s as Wn, a as Rt } from "./mitt-CIY-HxuB.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] = "5e46fd27-5788-412b-89ba-bab12ee11e96", e._sentryDebugIdIdentifier = "sentry-dbid-5e46fd27-5788-412b-89ba-bab12ee11e96");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ba6a114d-d5db-4e4b-ac78-c8c1c3745872", e._sentryDebugIdIdentifier = "sentry-dbid-ba6a114d-d5db-4e4b-ac78-c8c1c3745872");
8
8
  } catch {
9
9
  }
10
10
  })();
@@ -3591,7 +3591,7 @@ const wi = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Rr = (e, t) =
3591
3591
  de(f[0]),
3592
3592
  f[1] ? de(f[1]) : na(l.value.partialRange)
3593
3593
  ];
3594
- }, oe = () => a.value[1] ? Z() : de(je(a.value[0])), ce = () => (a.value || []).map((f) => de(f)), I = (f = !1) => (f || X(), t.modelAuto ? oe() : o.value.enabled ? ce() : Array.isArray(a.value) ? Sa(() => Z(), l.value.enabled) : de(je(a.value))), F = (f) => !f || Array.isArray(f) && !f.length ? null : t.timePicker ? N(je(f)) : t.monthPicker ? S(je(f)) : t.yearPicker ? Q(je(f)) : o.value.enabled ? z(je(f)) : t.weekPicker ? R(je(f)) : T(je(f)), re = (f) => {
3594
+ }, oe = () => a.value[1] ? Z() : de(je(a.value[0])), ve = () => (a.value || []).map((f) => de(f)), I = (f = !1) => (f || X(), t.modelAuto ? oe() : o.value.enabled ? ve() : Array.isArray(a.value) ? Sa(() => Z(), l.value.enabled) : de(je(a.value))), F = (f) => !f || Array.isArray(f) && !f.length ? null : t.timePicker ? N(je(f)) : t.monthPicker ? S(je(f)) : t.yearPicker ? Q(je(f)) : o.value.enabled ? z(je(f)) : t.weekPicker ? R(je(f)) : T(je(f)), re = (f) => {
3595
3595
  const ie = F(f);
3596
3596
  vn(je(ie)) ? (a.value = je(ie), j()) : (a.value = null, y.value = "");
3597
3597
  }, c = () => {
@@ -3713,7 +3713,7 @@ const Gi = ({
3713
3713
  const D = s.teleport ? (p = t.value) == null ? void 0 : p.$el : e.value;
3714
3714
  D && (k.value = D.getBoundingClientRect()), l("recalculate-position");
3715
3715
  }
3716
- return ce();
3716
+ return ve();
3717
3717
  }
3718
3718
  }, z = ({ inputEl: c, left: p, width: D }) => {
3719
3719
  window.screen.width > 768 && !y.value && E(p, D), X(c);
@@ -3743,7 +3743,7 @@ const Gi = ({
3743
3743
  return p <= ne ? qt.bottom : p > ne && p <= de ? qt.top : ne >= de ? qt.bottom : qt.top;
3744
3744
  }
3745
3745
  return qt.bottom;
3746
- }, oe = (c) => Z() === qt.bottom ? R(c) : T(c), ce = () => {
3746
+ }, oe = (c) => Z() === qt.bottom ? R(c) : T(c), ve = () => {
3747
3747
  const c = ze(n);
3748
3748
  if (c)
3749
3749
  return s.autoPosition ? oe(c) : R(c);
@@ -3946,7 +3946,7 @@ const Gi = ({
3946
3946
  return !1;
3947
3947
  const A = o.value.enabled ? !E(i) && !E(i, !1) : !0;
3948
3948
  return !k(i.value) && !q(i) && !(!i.current && t.hideOffsetDates) && A;
3949
- }, oe = (i) => o.value.enabled ? t.modelAuto ? T() && q(i) : !1 : q(i), ce = (i) => r.value ? ki(i.value, s.value.highlight) : !1, I = (i) => {
3949
+ }, oe = (i) => o.value.enabled ? t.modelAuto ? T() && q(i) : !1 : q(i), ve = (i) => r.value ? ki(i.value, s.value.highlight) : !1, I = (i) => {
3950
3950
  const A = k(i.value);
3951
3951
  return A && (typeof r.value == "function" ? !r.value(i.value, A) : !r.value.options.highlightDisabled);
3952
3952
  }, F = (i) => {
@@ -3958,8 +3958,8 @@ const Gi = ({
3958
3958
  dp__cell_offset: !i.current,
3959
3959
  dp__pointer: !t.disabled && !(!i.current && t.hideOffsetDates) && !k(i.value),
3960
3960
  dp__cell_disabled: k(i.value),
3961
- dp__cell_highlight: !I(i) && (ce(i) || F(i)) && !oe(i) && !ae && !z(i) && !(re(i) && t.weekPicker) && !te,
3962
- dp__cell_highlight_active: !I(i) && (ce(i) || F(i)) && oe(i),
3961
+ dp__cell_highlight: !I(i) && (ve(i) || F(i)) && !oe(i) && !ae && !z(i) && !(re(i) && t.weekPicker) && !te,
3962
+ dp__cell_highlight_active: !I(i) && (ve(i) || F(i)) && oe(i),
3963
3963
  dp__today: !t.noToday && we(i.value, b.value) && i.current,
3964
3964
  "dp--past": Ee(i.value, b.value),
3965
3965
  "dp--future": Fe(i.value, b.value)
@@ -4097,7 +4097,7 @@ const Gi = ({
4097
4097
  F = Ee(re, c) || we(re, c);
4098
4098
  }
4099
4099
  return F;
4100
- }, oe = C(() => (I) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : X(I)), ce = C(() => (I) => e.monthPicker ? Array.isArray(I) && (n.value.enabled || r.value.enabled) ? !I.filter((F) => !Z(F)).length : Z(I) : !0);
4100
+ }, oe = C(() => (I) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : X(I)), ve = C(() => (I) => e.monthPicker ? Array.isArray(I) && (n.value.enabled || r.value.enabled) ? !I.filter((F) => !Z(F)).length : Z(I) : !0);
4101
4101
  return {
4102
4102
  isDisabled: m,
4103
4103
  validateDate: s,
@@ -4106,7 +4106,7 @@ const Gi = ({
4106
4106
  checkMinMaxRange: E,
4107
4107
  isValidTime: X,
4108
4108
  isTimeValid: oe,
4109
- isMonthValid: ce
4109
+ isMonthValid: ve
4110
4110
  };
4111
4111
  }, Ha = () => {
4112
4112
  const e = C(() => (a, r) => a?.includes(r)), t = C(() => (a, r) => a.count ? a.solo ? !0 : r === 0 : !0), n = C(() => (a, r) => a.count ? a.solo ? !0 : r === a.count - 1 : !0);
@@ -4371,7 +4371,7 @@ const Gi = ({
4371
4371
  l.value.enabled ? (T(p.target.value), l.value.enterSubmit && vn(_.value) && r.inputValue !== "" ? (a("set-input-date", _.value, !0), _.value = null) : l.value.enterSubmit && r.inputValue === "" && (_.value = null, a("clear"))) : I(p);
4372
4372
  }, oe = (p) => {
4373
4373
  l.value.enabled && l.value.tabSubmit && T(p.target.value), l.value.tabSubmit && vn(_.value) && r.inputValue !== "" ? (a("set-input-date", _.value, !0, !0), _.value = null) : l.value.tabSubmit && r.inputValue === "" && (_.value = null, a("clear", !0));
4374
- }, ce = () => {
4374
+ }, ve = () => {
4375
4375
  E.value = !0, a("focus"), bt().then(() => {
4376
4376
  var p;
4377
4377
  l.value.enabled && l.value.selectOnFocus && ((p = h.value) == null || p.select());
@@ -4437,7 +4437,7 @@ const Gi = ({
4437
4437
  "aria-invalid": p.state === !1 ? !0 : void 0,
4438
4438
  onInput: X,
4439
4439
  onBlur: F,
4440
- onFocus: ce,
4440
+ onFocus: ve,
4441
4441
  onKeypress: c,
4442
4442
  onKeydown: c,
4443
4443
  onPaste: R
@@ -4519,8 +4519,8 @@ const Gi = ({
4519
4519
  o.value.rangeSeparator,
4520
4520
  a.modelAuto,
4521
4521
  u()
4522
- ), ce = C(() => !a.internalModelValue || !a.menuMount ? "" : typeof l.value == "string" ? Array.isArray(a.internalModelValue) ? a.internalModelValue.length === 2 && a.internalModelValue[1] ? Z() : b.value.enabled ? a.internalModelValue.map((c) => `${oe(c)}`) : a.modelAuto ? `${oe(a.internalModelValue[0])}` : `${oe(a.internalModelValue[0])} -` : oe(a.internalModelValue) : X()), I = () => b.value.enabled ? "; " : " - ", F = C(
4523
- () => Array.isArray(ce.value) ? ce.value.join(I()) : ce.value
4522
+ ), ve = C(() => !a.internalModelValue || !a.menuMount ? "" : typeof l.value == "string" ? Array.isArray(a.internalModelValue) ? a.internalModelValue.length === 2 && a.internalModelValue[1] ? Z() : b.value.enabled ? a.internalModelValue.map((c) => `${oe(c)}`) : a.modelAuto ? `${oe(a.internalModelValue[0])}` : `${oe(a.internalModelValue[0])} -` : oe(a.internalModelValue) : X()), I = () => b.value.enabled ? "; " : " - ", F = C(
4523
+ () => Array.isArray(ve.value) ? ve.value.join(I()) : ve.value
4524
4524
  ), re = () => {
4525
4525
  m.value(a.internalModelValue) && M.value(a.internalModelValue) && R.value ? n("select-date") : n("invalid-select");
4526
4526
  };
@@ -4620,7 +4620,7 @@ const Gi = ({
4620
4620
  Xr(() => {
4621
4621
  M.value = null;
4622
4622
  }), et(() => {
4623
- bt().then(() => ce()), o.noOverlayFocus || z(), S(!0);
4623
+ bt().then(() => ve()), o.noOverlayFocus || z(), S(!0);
4624
4624
  }), Fa(() => S(!1));
4625
4625
  const S = (Y) => {
4626
4626
  var i;
@@ -4657,10 +4657,10 @@ const Gi = ({
4657
4657
  });
4658
4658
  xt(
4659
4659
  () => o.items,
4660
- () => ce(!1),
4660
+ () => ve(!1),
4661
4661
  { deep: !0 }
4662
4662
  );
4663
- const ce = (Y = !0) => {
4663
+ const ve = (Y = !0) => {
4664
4664
  bt().then(() => {
4665
4665
  const i = ze(M), A = ze(_), te = ze(Q), ae = ze(N), f = te ? te.getBoundingClientRect().height : 0;
4666
4666
  A && (A.getBoundingClientRect().height ? q.value = A.getBoundingClientRect().height - f : q.value = b.value.modeHeight - f), i && ae && Y && (ae.scrollTop = i.offsetTop - ae.offsetTop - (q.value / 2 - i.getBoundingClientRect().height) - f);
@@ -5020,8 +5020,8 @@ const Gi = ({
5020
5020
  T.value,
5021
5021
  ca(n.value.minDate),
5022
5022
  ca(n.value.maxDate)
5023
- ) || ((X = s.value.years) == null ? void 0 : X.includes(o.value(R))), ce = $n(t.value, T.value);
5024
- return { active: Z, disabled: oe, highlighted: ce };
5023
+ ) || ((X = s.value.years) == null ? void 0 : X.includes(o.value(R))), ve = $n(t.value, T.value);
5024
+ return { active: Z, disabled: oe, highlighted: ve };
5025
5025
  })), N = (R, T) => {
5026
5026
  Q(R, T), z(T);
5027
5027
  }, S = (R, T = !1) => {
@@ -5076,16 +5076,16 @@ const Gi = ({
5076
5076
  et(() => {
5077
5077
  e.startDate && (m.value && e.focusStartDate || !m.value) && N(ge(V(e.startDate)), 0);
5078
5078
  });
5079
- const oe = (i) => i ? { month: be(i), year: ge(i) } : { month: null, year: null }, ce = () => m.value ? Array.isArray(m.value) ? m.value.map((i) => oe(i)) : oe(m.value) : oe(), I = (i, A) => {
5080
- const te = h.value[i], ae = ce();
5079
+ const oe = (i) => i ? { month: be(i), year: ge(i) } : { month: null, year: null }, ve = () => m.value ? Array.isArray(m.value) ? m.value.map((i) => oe(i)) : oe(m.value) : oe(), I = (i, A) => {
5080
+ const te = h.value[i], ae = ve();
5081
5081
  return Array.isArray(ae) ? ae.some((f) => f.year === te?.year && f.month === A) : te?.year === ae.year && A === ae.month;
5082
5082
  }, F = (i, A, te) => {
5083
5083
  var ae, f;
5084
- const ie = ce();
5084
+ const ie = ve();
5085
5085
  return Array.isArray(ie) ? M.value(A) === ((ae = ie[te]) == null ? void 0 : ae.year) && i === ((f = ie[te]) == null ? void 0 : f.month) : !1;
5086
5086
  }, re = (i, A) => {
5087
5087
  if (s.value.enabled) {
5088
- const te = ce();
5088
+ const te = ve();
5089
5089
  if (Array.isArray(m.value) && Array.isArray(te)) {
5090
5090
  const ae = F(i, A, 0) || F(i, A, 1), f = Ct(ht(V()), i, M.value(A));
5091
5091
  return Va(m.value, Q.value, f) && !ae;
@@ -5116,7 +5116,7 @@ const Gi = ({
5116
5116
  }, Y = (i, A, te) => {
5117
5117
  let ae = te;
5118
5118
  if (!ae && ae !== 0) {
5119
- const f = ce();
5119
+ const f = ve();
5120
5120
  ae = Array.isArray(f) ? f[i].month : f.month;
5121
5121
  }
5122
5122
  t("update-month-year", { instance: i, year: A, month: ae });
@@ -5148,7 +5148,7 @@ const Gi = ({
5148
5148
  toggleYearPicker: R,
5149
5149
  handleYearSelect: T,
5150
5150
  handleYear: X,
5151
- getModelMonthYear: ce
5151
+ getModelMonthYear: ve
5152
5152
  };
5153
5153
  }, vs = /* @__PURE__ */ Ue({
5154
5154
  compatConfig: {
@@ -5243,7 +5243,7 @@ const Gi = ({
5243
5243
  onYearSelect: (oe) => v(S)(oe, Z),
5244
5244
  onToggleYearPicker: (oe) => v(N)(Z, oe?.flow, oe?.show)
5245
5245
  }), Ze({ _: 2 }, [
5246
- Se(v(l), (oe, ce) => ({
5246
+ Se(v(l), (oe, ve) => ({
5247
5247
  name: oe,
5248
5248
  fn: he((I) => [
5249
5249
  ue(T.$slots, oe, qe(ot(I)))
@@ -5404,7 +5404,7 @@ const Gi = ({
5404
5404
  return !r.validateTime(d, B);
5405
5405
  }
5406
5406
  return !1;
5407
- }, X = C(() => (d) => !O(+r[d] + +r[`${d}Increment`], d) || T(d, !0)), Z = C(() => (d) => !O(+r[d] - +r[`${d}Increment`], d) || T(d, !1)), oe = (d, L) => ir(Oe(V(), d), L), ce = (d, L) => ui(Oe(V(), d), L), I = C(
5407
+ }, X = C(() => (d) => !O(+r[d] + +r[`${d}Increment`], d) || T(d, !0)), Z = C(() => (d) => !O(+r[d] - +r[`${d}Increment`], d) || T(d, !1)), oe = (d, L) => ir(Oe(V(), d), L), ve = (d, L) => ui(Oe(V(), d), L), I = C(
5408
5408
  () => ({
5409
5409
  dp__time_col: !0,
5410
5410
  dp__time_col_block: !r.timePickerInline,
@@ -5452,7 +5452,7 @@ const Gi = ({
5452
5452
  }, A = (d) => d === "hours" ? $t : d === "minutes" ? Ft : ia, te = () => {
5453
5453
  q.value && clearTimeout(q.value);
5454
5454
  }, ae = (d, L = !0, se) => {
5455
- const B = L ? oe : ce, g = L ? +r[`${d}Increment`] : -+r[`${d}Increment`];
5455
+ const B = L ? oe : ve, g = L ? +r[`${d}Increment`] : -+r[`${d}Increment`];
5456
5456
  O(+r[d] + g, d) && a(
5457
5457
  `update:${d}`,
5458
5458
  A(d)(B({ [d]: +r[d] }, { [d]: +r[`${d}Increment`] }))
@@ -5691,7 +5691,7 @@ const Gi = ({
5691
5691
  dp__btn: !0,
5692
5692
  dp__button: !0,
5693
5693
  dp__button_bottom: r.autoApply && !u.value.keepActionRow
5694
- })), oe = st(o, "timePicker"), ce = (D, j, ne) => m.value.enabled ? j === 0 ? [D, T.value[1][ne]] : [T.value[0][ne], D] : D, I = (D) => {
5694
+ })), oe = st(o, "timePicker"), ve = (D, j, ne) => m.value.enabled ? j === 0 ? [D, T.value[1][ne]] : [T.value[0][ne], D] : D, I = (D) => {
5695
5695
  a("update:hours", D);
5696
5696
  }, F = (D) => {
5697
5697
  a("update:minutes", D);
@@ -5779,10 +5779,10 @@ const Gi = ({
5779
5779
  ref_for: !0,
5780
5780
  ref_key: "timeInputRefs",
5781
5781
  ref: q,
5782
- "validate-time": (i, A) => e.validateTime(i, ce(A, Y, i)),
5783
- "onUpdate:hours": (i) => I(ce(i, Y, "hours")),
5784
- "onUpdate:minutes": (i) => F(ce(i, Y, "minutes")),
5785
- "onUpdate:seconds": (i) => re(ce(i, Y, "seconds")),
5782
+ "validate-time": (i, A) => e.validateTime(i, ve(A, Y, i)),
5783
+ "onUpdate:hours": (i) => I(ve(i, Y, "hours")),
5784
+ "onUpdate:minutes": (i) => F(ve(i, Y, "minutes")),
5785
+ "onUpdate:seconds": (i) => re(ve(i, Y, "seconds")),
5786
5786
  onMounted: c,
5787
5787
  onOverlayClosed: p,
5788
5788
  onOverlayOpened: j[2] || (j[2] = (i) => D.$emit("overlay-opened", i)),
@@ -6040,7 +6040,7 @@ const Gi = ({
6040
6040
  instance: r.instance,
6041
6041
  updateMonthYear: Q,
6042
6042
  toggle: O === ft.month ? c : p
6043
- })), ce = C(() => r.months.find((Y) => Y.value === r.month) || { text: "", value: 0 }), I = C(() => da(r.months, (O) => {
6043
+ })), ve = C(() => r.months.find((Y) => Y.value === r.month) || { text: "", value: 0 }), I = C(() => da(r.months, (O) => {
6044
6044
  const Y = r.month === O.value, i = Ta(
6045
6045
  O.value,
6046
6046
  Yr(r.year, u.value.minDate),
@@ -6073,7 +6073,7 @@ const Gi = ({
6073
6073
  toggle: c,
6074
6074
  modelValue: X.value,
6075
6075
  updateModelValue: (i) => X.value = i,
6076
- text: ce.value.text,
6076
+ text: ve.value.text,
6077
6077
  showSelectionGrid: S.value,
6078
6078
  items: I.value,
6079
6079
  ariaLabel: (O = s.value) == null ? void 0 : O.openMonthsOverlay
@@ -6297,7 +6297,7 @@ const Gi = ({
6297
6297
  () => ({
6298
6298
  [r.calendarClassName]: !!r.calendarClassName
6299
6299
  })
6300
- ), ce = C(() => (ee) => {
6300
+ ), ve = C(() => (ee) => {
6301
6301
  const K = yi(ee);
6302
6302
  return {
6303
6303
  dp__marker_dot: K.type === "dot",
@@ -6449,7 +6449,7 @@ const Gi = ({
6449
6449
  date: g.value
6450
6450
  }) : ($(), U("div", {
6451
6451
  key: 1,
6452
- class: Me(ce.value(g.marker)),
6452
+ class: Me(ve.value(g.marker)),
6453
6453
  style: pt(g.marker.color ? { backgroundColor: g.marker.color } : {})
6454
6454
  }, null, 6))
6455
6455
  ], 64)) : J("", !0),
@@ -6511,13 +6511,13 @@ const Gi = ({
6511
6511
  defaultedTz: h,
6512
6512
  propDates: E,
6513
6513
  defaultedMultiDates: Q
6514
- } = Ie(e), { validateMonthYearInRange: q, isDisabled: N, isDateRangeAllowed: S, checkMinMaxRange: z } = Vt(e), { updateTimeValues: R, getSetDateTime: T, setTime: X, assignStartTime: Z, validateTime: oe, disabledTimesConfig: ce } = Gr(e, y, o, a), I = C(
6514
+ } = Ie(e), { validateMonthYearInRange: q, isDisabled: N, isDateRangeAllowed: S, checkMinMaxRange: z } = Vt(e), { updateTimeValues: R, getSetDateTime: T, setTime: X, assignStartTime: Z, validateTime: oe, disabledTimesConfig: ve } = Gr(e, y, o, a), I = C(
6515
6515
  () => (x) => k.value[x] ? k.value[x].month : 0
6516
6516
  ), F = C(
6517
6517
  () => (x) => k.value[x] ? k.value[x].year : 0
6518
6518
  ), re = (x) => !_.value.keepViewOnOffsetClick || x ? !0 : !s.value, c = (x, w, G, P = !1) => {
6519
- var ve, xe;
6520
- re(P) && (k.value[x] || (k.value[x] = { month: 0, year: 0 }), k.value[x].month = er(w) ? (ve = k.value[x]) == null ? void 0 : ve.month : w, k.value[x].year = er(G) ? (xe = k.value[x]) == null ? void 0 : xe.year : G);
6519
+ var ce, xe;
6520
+ re(P) && (k.value[x] || (k.value[x] = { month: 0, year: 0 }), k.value[x].month = er(w) ? (ce = k.value[x]) == null ? void 0 : ce.month : w, k.value[x].year = er(G) ? (xe = k.value[x]) == null ? void 0 : xe.year : G);
6521
6521
  }, p = () => {
6522
6522
  e.autoApply && t("select-date");
6523
6523
  };
@@ -6543,8 +6543,8 @@ const Gi = ({
6543
6543
  }, de = () => Array.isArray(o.value) && M.value.enabled ? be(o.value[0]) === be(o.value[1] ?? o.value[0]) : !1, O = (x, w = !1) => {
6544
6544
  if ((!u.value.count || !u.value.static || w) && c(0, be(x), ge(x)), u.value.count && (!u.value.solo || !o.value || de()))
6545
6545
  for (let G = 1; G < u.value.count; G++) {
6546
- const P = Oe(V(), { month: I.value(G - 1), year: F.value(G - 1) }), ve = ir(P, { months: 1 });
6547
- k.value[G] = { month: be(ve), year: ge(ve) };
6546
+ const P = Oe(V(), { month: I.value(G - 1), year: F.value(G - 1) }), ce = ir(P, { months: 1 });
6547
+ k.value[G] = { month: be(ce), year: ge(ce) };
6548
6548
  }
6549
6549
  }, Y = (x, w) => {
6550
6550
  O(x), X("hours", $t(x)), X("minutes", Ft(x)), X("seconds", ia(x)), u.value.count && w && ye();
@@ -6558,9 +6558,9 @@ const Gi = ({
6558
6558
  return 1;
6559
6559
  }, A = (x, w) => {
6560
6560
  x[1] && M.value.showLastInRange ? O(x[i(x)], w) : O(x[0], w);
6561
- const G = (P, ve) => [
6561
+ const G = (P, ce) => [
6562
6562
  P(x[0]),
6563
- x[1] ? P(x[1]) : y[ve][1]
6563
+ x[1] ? P(x[1]) : y[ce][1]
6564
6564
  ];
6565
6565
  X("hours", G($t, "hours")), X("minutes", G(Ft, "minutes")), X("seconds", G(ia, "seconds"));
6566
6566
  }, te = (x, w) => {
@@ -6589,8 +6589,8 @@ const Gi = ({
6589
6589
  if (Array.isArray(o.value) && o.value.length === 2) {
6590
6590
  const x = V(
6591
6591
  V(o.value[1] ? o.value[1] : gt(o.value[0], 1))
6592
- ), [w, G] = [be(o.value[0]), ge(o.value[0])], [P, ve] = [be(o.value[1]), ge(o.value[1])];
6593
- (w !== P || w === P && G !== ve) && u.value.solo && c(1, be(x), ge(x));
6592
+ ), [w, G] = [be(o.value[0]), ge(o.value[0])], [P, ce] = [be(o.value[1]), ge(o.value[1])];
6593
+ (w !== P || w === P && G !== ce) && u.value.solo && c(1, be(x), ge(x));
6594
6594
  } else
6595
6595
  o.value && !Array.isArray(o.value) && (c(0, be(o.value), ge(o.value)), O(V()));
6596
6596
  }, ee = () => {
@@ -6598,8 +6598,8 @@ const Gi = ({
6598
6598
  }, K = (x, w) => {
6599
6599
  if (e.monthChangeOnScroll) {
6600
6600
  const G = (/* @__PURE__ */ new Date()).getTime() - l.value.getTime(), P = Math.abs(x.deltaY);
6601
- let ve = 500;
6602
- P > 1 && (ve = 100), P > 100 && (ve = 0), G > ve && (l.value = /* @__PURE__ */ new Date(), f(e.monthChangeOnScroll !== "inverse" ? -x.deltaY : x.deltaY, w));
6601
+ let ce = 500;
6602
+ P > 1 && (ce = 100), P > 100 && (ce = 0), G > ce && (l.value = /* @__PURE__ */ new Date(), f(e.monthChangeOnScroll !== "inverse" ? -x.deltaY : x.deltaY, w));
6603
6603
  }
6604
6604
  }, d = (x, w, G = !1) => {
6605
6605
  e.monthChangeOnArrows && e.vertical === G && L(x, w);
@@ -6623,8 +6623,8 @@ const Gi = ({
6623
6623
  }
6624
6624
  }, g = (x, w, G, P) => {
6625
6625
  if (e.sixWeeks && x.length < 6) {
6626
- const ve = 6 - x.length, xe = (w.getDay() + 7 - P) % 7, He = 6 - (G.getDay() + 7 - P) % 7, [We, vt] = B(xe, He);
6627
- for (let lt = 1; lt <= ve; lt++)
6626
+ const ce = 6 - x.length, xe = (w.getDay() + 7 - P) % 7, He = 6 - (G.getDay() + 7 - P) % 7, [We, vt] = B(xe, He);
6627
+ for (let lt = 1; lt <= ce; lt++)
6628
6628
  if (vt ? !!(lt % 2) == We : We) {
6629
6629
  const Qe = x[0].days[0], nt = H(yt(Qe.value, -7), be(w));
6630
6630
  x.unshift({ days: nt });
@@ -6636,8 +6636,8 @@ const Gi = ({
6636
6636
  return x;
6637
6637
  }, H = (x, w) => {
6638
6638
  const G = V(x), P = [];
6639
- for (let ve = 0; ve < 7; ve++) {
6640
- const xe = yt(G, ve), He = be(xe) !== w;
6639
+ for (let ce = 0; ce < 7; ce++) {
6640
+ const xe = yt(G, ce), He = be(xe) !== w;
6641
6641
  P.push({
6642
6642
  text: e.hideOffsetDates && He ? "" : xe.getDate(),
6643
6643
  value: xe,
@@ -6647,16 +6647,16 @@ const Gi = ({
6647
6647
  }
6648
6648
  return P;
6649
6649
  }, pe = (x, w) => {
6650
- const G = [], P = new Date(w, x), ve = new Date(w, x + 1, 0), xe = e.weekStart, He = wt(P, { weekStartsOn: xe }), We = (vt) => {
6650
+ const G = [], P = new Date(w, x), ce = new Date(w, x + 1, 0), xe = e.weekStart, He = wt(P, { weekStartsOn: xe }), We = (vt) => {
6651
6651
  const lt = H(vt, x);
6652
6652
  if (G.push({ days: lt }), !G[G.length - 1].days.some(
6653
- (Qe) => we(dt(Qe.value), dt(ve))
6653
+ (Qe) => we(dt(Qe.value), dt(ce))
6654
6654
  )) {
6655
6655
  const Qe = yt(vt, 7);
6656
6656
  We(Qe);
6657
6657
  }
6658
6658
  };
6659
- return We(He), g(G, P, ve, xe);
6659
+ return We(He), g(G, P, ce, xe);
6660
6660
  }, Ae = (x) => {
6661
6661
  const w = Bt(V(x.value), y.hours, y.minutes, at());
6662
6662
  t("date-update", w), Q.value.enabled ? Sn(w, o, Q.value.limit) : o.value = w, a(), bt().then(() => {
@@ -6674,10 +6674,10 @@ const Gi = ({
6674
6674
  const w = be(V(x)), G = ge(V(x));
6675
6675
  if (c(0, w, G), u.value.count > 0)
6676
6676
  for (let P = 1; P < u.value.count; P++) {
6677
- const ve = Mi(
6677
+ const ce = Mi(
6678
6678
  Oe(V(x), { year: I.value(P - 1), month: F.value(P - 1) })
6679
6679
  );
6680
- c(P, ve.month, ve.year);
6680
+ c(P, ce.month, ce.year);
6681
6681
  }
6682
6682
  }, Kt = (x) => {
6683
6683
  if (De(x.value) || !z(x.value, o.value, M.value.fixedStart ? 0 : 1))
@@ -6738,7 +6738,7 @@ const Gi = ({
6738
6738
  month: I,
6739
6739
  year: F,
6740
6740
  time: y,
6741
- disabledTimesConfig: ce,
6741
+ disabledTimesConfig: ve,
6742
6742
  today: b,
6743
6743
  validateTime: oe,
6744
6744
  getCalendarDays: pe,
@@ -6803,7 +6803,7 @@ const Gi = ({
6803
6803
  presetDate: S,
6804
6804
  selectCurrentDate: z,
6805
6805
  updateTime: R
6806
- } = Us(r, a, de, O), T = Xt(), { setHoverDate: X, getDayClassData: Z, clearHoverDate: oe } = Xi(k, r), { defaultedMultiCalendars: ce } = Ie(r), I = W([]), F = W([]), re = W(null), c = st(T, "calendar"), p = st(T, "monthYear"), D = st(T, "timePicker"), j = (K) => {
6806
+ } = Us(r, a, de, O), T = Xt(), { setHoverDate: X, getDayClassData: Z, clearHoverDate: oe } = Xi(k, r), { defaultedMultiCalendars: ve } = Ie(r), I = W([]), F = W([]), re = W(null), c = st(T, "calendar"), p = st(T, "monthYear"), D = st(T, "timePicker"), j = (K) => {
6807
6807
  r.shadow || a("mount", K);
6808
6808
  };
6809
6809
  xt(
@@ -6881,7 +6881,7 @@ const Gi = ({
6881
6881
  selectWeekDate: ae
6882
6882
  }), (K, d) => ($(), U(ke, null, [
6883
6883
  ut(za, {
6884
- "multi-calendars": v(ce).count,
6884
+ "multi-calendars": v(ve).count,
6885
6885
  collapse: K.collapse
6886
6886
  }, {
6887
6887
  default: he(({ instance: L, index: se }) => [
@@ -6998,7 +6998,7 @@ const Gi = ({
6998
6998
  return !1;
6999
6999
  }
7000
7000
  return !1;
7001
- }, Z = (c, p) => c.quarter === jn(p) && c.year === ge(p), oe = (c) => typeof l.value == "function" ? l.value({ quarter: jn(c), year: ge(c) }) : !!l.value.quarters.find((p) => Z(p, c)), ce = C(() => (c) => {
7001
+ }, Z = (c, p) => c.quarter === jn(p) && c.year === ge(p), oe = (c) => typeof l.value == "function" ? l.value({ quarter: jn(c), year: ge(c) }) : !!l.value.quarters.find((p) => Z(p, c)), ve = C(() => (c) => {
7002
7002
  const p = Oe(/* @__PURE__ */ new Date(), { year: u.value(c) });
7003
7003
  return hl({
7004
7004
  start: fn(p),
@@ -7027,7 +7027,7 @@ const Gi = ({
7027
7027
  groupedYears: E,
7028
7028
  year: u,
7029
7029
  isDisabled: q,
7030
- quarters: ce,
7030
+ quarters: ve,
7031
7031
  showYearPicker: Q,
7032
7032
  modelValue: b,
7033
7033
  setHoverDate: (c) => {
@@ -7224,7 +7224,7 @@ const Gi = ({
7224
7224
  const N = () => {
7225
7225
  const g = ze(E);
7226
7226
  g && (h.value = g.getBoundingClientRect().width);
7227
- }, { arrowRight: S, arrowLeft: z, arrowDown: R, arrowUp: T } = Lt(), { flowStep: X, updateFlowStep: Z, childMount: oe, resetFlow: ce } = Ji(r, a, q), I = C(() => r.monthPicker ? vs : r.yearPicker ? ps : r.timePicker ? $s : r.quarterPicker ? eu : Xs), F = C(() => {
7227
+ }, { arrowRight: S, arrowLeft: z, arrowDown: R, arrowUp: T } = Lt(), { flowStep: X, updateFlowStep: Z, childMount: oe, resetFlow: ve } = Ji(r, a, q), I = C(() => r.monthPicker ? vs : r.yearPicker ? ps : r.timePicker ? $s : r.quarterPicker ? eu : Xs), F = C(() => {
7228
7228
  var g;
7229
7229
  if (M.value.arrowLeft)
7230
7230
  return M.value.arrowLeft;
@@ -7382,7 +7382,7 @@ const Gi = ({
7382
7382
  "flow-step": v(X),
7383
7383
  onMount: v(oe),
7384
7384
  onUpdateFlowStep: v(Z),
7385
- onResetFlow: v(ce),
7385
+ onResetFlow: v(ve),
7386
7386
  onFocusMenu: re,
7387
7387
  onSelectDate: H[0] || (H[0] = (le) => g.$emit("select-date")),
7388
7388
  onDateUpdate: H[1] || (H[1] = (le) => g.$emit("date-update", le)),
@@ -7505,7 +7505,7 @@ const Gi = ({
7505
7505
  defaultedInline: X,
7506
7506
  defaultedConfig: Z,
7507
7507
  defaultedRange: oe,
7508
- defaultedMultiDates: ce
7508
+ defaultedMultiDates: ve
7509
7509
  } = Ie(r), { menuTransition: I, showTransition: F } = Ca(R);
7510
7510
  et(() => {
7511
7511
  A(r.modelValue), bt().then(() => {
@@ -7578,7 +7578,7 @@ const Gi = ({
7578
7578
  Y.value = "", Ht(), (w = u.value) == null || w.setParsedDate(null), a("update:model-value", null), a("update:model-timezone-value", null), a("cleared"), Z.value.closeOnClearValue && at();
7579
7579
  }, De = () => {
7580
7580
  const w = i.value;
7581
- return !w || !Array.isArray(w) && S(w) ? !0 : Array.isArray(w) ? ce.value.enabled || w.length === 2 && S(w[0]) && S(w[1]) ? !0 : oe.value.partialRange && !r.timePicker ? S(w[0]) : !1 : !1;
7581
+ return !w || !Array.isArray(w) && S(w) ? !0 : Array.isArray(w) ? ve.value.enabled || w.length === 2 && S(w[0]) && S(w[1]) ? !0 : oe.value.partialRange && !r.timePicker ? S(w[0]) : !1 : !1;
7582
7582
  }, le = () => {
7583
7583
  f() && De() ? (te(), at()) : a("invalid-select", i.value);
7584
7584
  }, ct = (w) => {
@@ -7596,8 +7596,8 @@ const Gi = ({
7596
7596
  i.value = null;
7597
7597
  return;
7598
7598
  }
7599
- const ve = Array.isArray(w) ? !w.some((He) => !S(He)) : S(w), xe = z(w);
7600
- ve && xe && (i.value = w, G && (_.value = P, le(), a("text-submit")));
7599
+ const ce = Array.isArray(w) ? !w.some((He) => !S(He)) : S(w), xe = z(w);
7600
+ ce && xe && (i.value = w, G && (_.value = P, le(), a("text-submit")));
7601
7601
  }, pa = () => {
7602
7602
  r.autoApply && z(i.value) && te(), tt();
7603
7603
  }, Zt = () => s.value ? at() : pe(), fa = (w) => {
@@ -7659,7 +7659,7 @@ const Gi = ({
7659
7659
  onBlur: ya,
7660
7660
  onRealBlur: G[1] || (G[1] = (P) => m.value = !1)
7661
7661
  }), Ze({ _: 2 }, [
7662
- Se(v(c), (P, ve) => ({
7662
+ Se(v(c), (P, ce) => ({
7663
7663
  name: P,
7664
7664
  fn: he((xe) => [
7665
7665
  ue(w.$slots, P, qe(ot(xe)))
@@ -7713,7 +7713,7 @@ const Gi = ({
7713
7713
  onInvalidDate: G[16] || (G[16] = (P) => w.$emit("invalid-date", P)),
7714
7714
  onOverlayToggle: G[17] || (G[17] = (P) => w.$emit("overlay-toggle", P))
7715
7715
  }), Ze({ _: 2 }, [
7716
- Se(v(re), (P, ve) => ({
7716
+ Se(v(re), (P, ce) => ({
7717
7717
  name: P,
7718
7718
  fn: he((xe) => [
7719
7719
  ue(w.$slots, P, qe(ot({ ...xe })))
@@ -7863,13 +7863,13 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
7863
7863
  function Z(P) {
7864
7864
  return P ? P.templateId !== void 0 : !1;
7865
7865
  }
7866
- const oe = C(() => l.metaData.hotels.findIndex((P) => P.id === s.eventLocation) || 0), ce = C(() => l.metaData.hotels[oe.value]), I = C(() => ce.value ? ce.value.maxNumberPerBooking : 1 / 0), F = C(() => ce.value.name ? ce.value.name : ""), re = C(() => ce.value.subtitle ? ce.value.subtitle : ""), c = W(s.eventDate), p = W(s.eventLocation), D = C(() => c.value !== s.eventDate), j = C(() => p.value !== s.eventLocation), ne = C(() => D.value || j.value), de = C(() => s.eventDate.toISOString()), O = C(() => Z(y.value)), Y = C(() => Z(y.value) ? y.value.numberOfDays : M.value), i = C(() => Z(y.value) ? y.value.packageCount : 0), A = C(() => Z(y.value) ? y.value.fromDate : ""), te = C(() => o.value.events !== void 0 ? o.value.events.find((P) => P.id === _.value) : void 0), ae = C(() => te.value ? te.value.length : void 0), f = C(() => Z(y.value) ? y.value.templateId : 0), ie = C(() => o.value.events), ye = C(() => o.value.templates), ee = C(() => o.value.events.length > 0), K = C(() => o.value.templates.length > 0), d = C(() => te.value && te.value.eventRateType ? te.value.eventRateType : Hn.None), L = C(() => {
7866
+ const oe = C(() => l.metaData.hotels.findIndex((P) => P.id === s.eventLocation) || 0), ve = C(() => l.metaData.hotels[oe.value]), I = C(() => ve.value ? ve.value.maxNumberPerBooking : 1 / 0), F = C(() => ve.value.name ? ve.value.name : ""), re = C(() => ve.value.subtitle ? ve.value.subtitle : ""), c = W(s.eventDate), p = W(s.eventLocation), D = C(() => c.value !== s.eventDate), j = C(() => p.value !== s.eventLocation), ne = C(() => D.value || j.value), de = C(() => s.eventDate.toISOString()), O = C(() => Z(y.value)), Y = C(() => Z(y.value) ? y.value.numberOfDays : M.value), i = C(() => Z(y.value) ? y.value.packageCount : 0), A = C(() => Z(y.value) ? y.value.fromDate : ""), te = C(() => o.value.events !== void 0 ? o.value.events.find((P) => P.id === _.value) : void 0), ae = C(() => te.value ? te.value.length : void 0), f = C(() => Z(y.value) ? y.value.templateId : 0), ie = C(() => o.value.events), ye = C(() => o.value.templates), ee = C(() => o.value.events.length > 0), K = C(() => o.value.templates.length > 0), d = C(() => te.value && te.value.eventRateType ? te.value.eventRateType : Hn.None), L = C(() => {
7867
7867
  if (!Z(y.value))
7868
7868
  return y.value;
7869
7869
  }), se = C(() => {
7870
7870
  if (L.value !== void 0) {
7871
7871
  const P = L.value.find(
7872
- (ve) => ve.time === E.value
7872
+ (ce) => ce.time === E.value
7873
7873
  );
7874
7874
  if (P && P.price)
7875
7875
  return P.price;
@@ -7879,12 +7879,12 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
7879
7879
  if (Z(y.value))
7880
7880
  return y.value.rooms;
7881
7881
  });
7882
- function g(P, ve, xe) {
7882
+ function g(P, ce, xe) {
7883
7883
  let He = 0;
7884
7884
  if (Z(y.value)) {
7885
7885
  const We = y.value.rooms[xe];
7886
7886
  if (We) {
7887
- const vt = We.addons, lt = R.value[`${ve}.${P}.${xe}`] || 0;
7887
+ const vt = We.addons, lt = R.value[`${ce}.${P}.${xe}`] || 0;
7888
7888
  if (lt > 0) {
7889
7889
  const Qe = vt?.find((St) => St.id === P), nt = typeof lt == "boolean" ? 1 : lt;
7890
7890
  He += ol(Qe?.price, Qe?.quantityStrategy, Y.value, We.adultPerRoom) * nt;
@@ -7899,12 +7899,12 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
7899
7899
  }
7900
7900
  return He;
7901
7901
  }
7902
- function H(P, ve) {
7902
+ function H(P, ce) {
7903
7903
  let xe = 0;
7904
7904
  if (Z(y.value))
7905
7905
  for (const He in R.value) {
7906
7906
  const We = He.split(".");
7907
- parseInt(We[0]) === P && parseInt(We[2]) === ve && (xe += g(parseInt(We[1]), P, ve));
7907
+ parseInt(We[0]) === P && parseInt(We[2]) === ce && (xe += g(parseInt(We[1]), P, ce));
7908
7908
  }
7909
7909
  else
7910
7910
  for (const He in T.value)
@@ -7914,19 +7914,19 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
7914
7914
  const pe = C(() => Z(y.value) && y.value.totalPrice || 0), Ae = C(() => {
7915
7915
  if (Z(y.value))
7916
7916
  return y.value.rooms === void 0 ? NaN : y.value.rooms.flatMap((P) => P.roomGroupId).reduce(
7917
- (P, ve, xe) => P + H(ve, xe),
7917
+ (P, ce, xe) => P + H(ce, xe),
7918
7918
  pe.value
7919
7919
  ) || 0;
7920
7920
  {
7921
7921
  let P = H();
7922
7922
  return P += se.value, P;
7923
7923
  }
7924
- }), De = C(() => Z(y.value) && y.value.rooms !== void 0 && y.value.rooms.flatMap((P) => P.weekendFee).reduce((P, ve) => P + ve, 0) || 0), le = C(() => Z(y.value) && y.value.rooms !== void 0 && y.value.rooms.flatMap((P) => P.roomUpgrade).reduce((P, ve) => P + ve, 0) || 0), ct = C(() => {
7924
+ }), De = C(() => Z(y.value) && y.value.rooms !== void 0 && y.value.rooms.flatMap((P) => P.weekendFee).reduce((P, ce) => P + ce, 0) || 0), le = C(() => Z(y.value) && y.value.rooms !== void 0 && y.value.rooms.flatMap((P) => P.roomUpgrade).reduce((P, ce) => P + ce, 0) || 0), ct = C(() => {
7925
7925
  const P = T.value;
7926
- let ve = 0;
7926
+ let ce = 0;
7927
7927
  for (const xe in P)
7928
- ve += Number.isNaN(P[xe]) ? 0 : P[xe];
7929
- return ve > 0;
7928
+ ce += Number.isNaN(P[xe]) ? 0 : P[xe];
7929
+ return ce > 0;
7930
7930
  }), tt = C(() => Z(y.value) ? !1 : Object.keys(T.value).length > 0), Kt = C(() => d.value !== Hn.FullDayEvent && !O.value), Ht = C(() => Q.value !== "" && N.value !== "" && q.value.length >= 5 && // (hasProducts.value ? hasSelectedProducts.value : true) &&
7931
7931
  (!Kt.value || E.value !== ""));
7932
7932
  function at(P) {
@@ -7952,21 +7952,22 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
7952
7952
  });
7953
7953
  }
7954
7954
  }
7955
- async function ya() {
7955
+ async function ya(P) {
7956
7956
  u.value = mt.AvailabilityState, b.value = !0;
7957
7957
  try {
7958
- const P = (await ta.get("https://production.hotel-service.konnectio.dk/api/event/get", {
7958
+ const ce = (await ta.get("https://production.hotel-service.konnectio.dk/api/event/get", {
7959
7959
  params: {
7960
7960
  language: zt(),
7961
7961
  date: s.eventDate,
7962
- restaurantId: s.eventLocation
7962
+ restaurantId: s.eventLocation,
7963
+ eventId: P
7963
7964
  },
7964
7965
  headers: {
7965
7966
  Authorization: a.value,
7966
7967
  Accept: "application/json"
7967
7968
  }
7968
7969
  })).data;
7969
- o.value = P, c.value = s.eventDate, p.value = s.eventLocation, b.value = !1;
7970
+ o.value = ce, c.value = s.eventDate, p.value = s.eventLocation, b.value = !1;
7970
7971
  } catch {
7971
7972
  n({
7972
7973
  message: Rt.t("alert.error.couldntFetchListings"),
@@ -7977,7 +7978,7 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
7977
7978
  async function ha(P) {
7978
7979
  u.value = mt.ReservationState, b.value = !0;
7979
7980
  try {
7980
- const ve = (await ta.get("https://production.hotel-service.konnectio.dk/api/event/get-template", {
7981
+ const ce = (await ta.get("https://production.hotel-service.konnectio.dk/api/event/get-template", {
7981
7982
  params: {
7982
7983
  language: zt(),
7983
7984
  date: c.value,
@@ -7990,10 +7991,10 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
7990
7991
  Accept: "application/json"
7991
7992
  }
7992
7993
  })).data;
7993
- ve.rooms.length === 0 ? n({
7994
+ ce.rooms.length === 0 ? n({
7994
7995
  message: Rt.t("alert.error.eventNotAvailable"),
7995
7996
  type: "warning"
7996
- }) : (y.value = ve, P()), b.value = !1;
7997
+ }) : (y.value = ce, P()), b.value = !1;
7997
7998
  } catch {
7998
7999
  b.value = !1, u.value = mt.AvailabilityState, n({
7999
8000
  message: Rt.t("alert.error.couldntFetchEvent"),
@@ -8004,7 +8005,7 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
8004
8005
  async function ga(P) {
8005
8006
  u.value = mt.ReservationState, b.value = !0;
8006
8007
  try {
8007
- const ve = (await ta.get("https://production.hotel-service.konnectio.dk/api/event/vacant-times", {
8008
+ const ce = (await ta.get("https://production.hotel-service.konnectio.dk/api/event/vacant-times", {
8008
8009
  params: {
8009
8010
  language: zt(),
8010
8011
  date: c.value,
@@ -8018,7 +8019,7 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
8018
8019
  Accept: "application/json"
8019
8020
  }
8020
8021
  })).data;
8021
- y.value = ve, b.value = !1, tt.value ? P() : P(2);
8022
+ y.value = ce, b.value = !1, tt.value ? P() : P(2);
8022
8023
  } catch {
8023
8024
  b.value = !1, u.value = mt.AvailabilityState, n({
8024
8025
  message: Rt.t("alert.error.couldntFetchEvent"),
@@ -8055,7 +8056,7 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
8055
8056
  }
8056
8057
  async function x(P) {
8057
8058
  u.value = mt.PaymentState, b.value = !0;
8058
- const ve = () => {
8059
+ const ce = () => {
8059
8060
  b.value = !1, u.value = mt.ReservationState, n({
8060
8061
  message: Rt.t("booking.other.errorMessage"),
8061
8062
  type: "warning"
@@ -8123,7 +8124,7 @@ const fu = ["name", "value"], _u = /* @__PURE__ */ Ue({
8123
8124
  callback: P,
8124
8125
  response: nt.data
8125
8126
  });
8126
- }).catch(() => ve());
8127
+ }).catch(() => ce());
8127
8128
  }
8128
8129
  function w(P) {
8129
8130
  R.value = {}, T.value = {}, E.value = "", O.value || tt.value ? P() : P(2);
@@ -8210,4 +8211,4 @@ export {
8210
8211
  me as t,
8211
8212
  Du as u
8212
8213
  };
8213
- //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DNhFVa3I.js.map
8214
+ //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Bd-pBmI_.js.map