@konnectio/core 4.2.22 → 4.2.24

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 (52) hide show
  1. package/dist/{ActionField-CwUn7-It.js → ActionField-DQSHl4P5.js} +2 -2
  2. package/dist/ActionField-DQSHl4P5.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-wF1iLhv5.js → AvailabilitySkeleton-iTh1cXM0.js} +5 -5
  4. package/dist/AvailabilitySkeleton-iTh1cXM0.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D4gq_yIB.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D4gq_yIB.js.br +0 -0
  7. package/dist/{CheckoutWindow-BO107mLq.js → CheckoutWindow-CZwosj_K.js} +2 -2
  8. package/dist/CheckoutWindow-CZwosj_K.js.br +0 -0
  9. package/dist/{ErrorMessage-CkeII6hz.js → ErrorMessage-Q-vhLJxb.js} +2 -2
  10. package/dist/ErrorMessage-Q-vhLJxb.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-PKidQdAn.js → EventAvailabilityForm-Dln-UKU0.js} +3 -3
  12. package/dist/EventAvailabilityForm-Dln-UKU0.js.br +0 -0
  13. package/dist/{Field-B7FDm5Rr.js → Field-QDM21IEX.js} +3 -3
  14. package/dist/Field-QDM21IEX.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSN6czES.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BN2D-jcx.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js → SelectField.vue_vue_type_style_index_0_lang-Cje3bbGg.js} +117 -117
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-Cje3bbGg.js.br +0 -0
  18. package/dist/{TermsOfService-BiWRTVKf.js → TermsOfService-Bt6_gcR7.js} +3 -3
  19. package/dist/_-BLuuoSAa.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BWNxK9qc.js → _.vue_vue_type_style_index_0_lang-D9o2CFtJ.js} +2 -2
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/event.js +206 -197
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-FmibKpLS.js → giftCard-B3P4BLxk.js} +2 -2
  34. package/dist/giftCard-B3P4BLxk.js.br +0 -0
  35. package/dist/hotel.js +8 -8
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CAvgZtpB.js → masonry.plugin-Bd50J7zl.js} +8 -8
  38. package/dist/masonry.plugin-Bd50J7zl.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField-CwUn7-It.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-wF1iLhv5.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js.br +0 -0
  45. package/dist/CheckoutWindow-BO107mLq.js.br +0 -0
  46. package/dist/ErrorMessage-CkeII6hz.js.br +0 -0
  47. package/dist/EventAvailabilityForm-PKidQdAn.js.br +0 -0
  48. package/dist/Field-B7FDm5Rr.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js.br +0 -0
  50. package/dist/_-BPqwtc4x.js +0 -5
  51. package/dist/giftCard-FmibKpLS.js.br +0 -0
  52. package/dist/masonry.plugin-CAvgZtpB.js.br +0 -0
@@ -1,4 +1,4 @@
1
- import { ak as Qs, D as aa, aa as e1, ab as t1, a3 as n1, r as N, al as a1, am as _t, an as o1, a8 as bt, o as oa, Q as xa, X as Zs, $ as Ri, c as d, g as Q, ao as r1, I as M, H as Ut, s as an, _ as i1, ap as s1, d as Ke, W as l1, a as We, b as R, n as qe, h as U, i as ie, f as cn, e as K, t as Re, q as be, K as ga, F as ir, u as el, x as Gn, J as Yn, w as bn, N as tl, E as Cn, aq as c1, ar as u1, j as sr, a4 as je, a5 as et, v as _i, a6 as jo, L as f1, G as Fi, T as d1 } from "./mitt-gcxZCriv.js";
1
+ import { ak as Qs, D as aa, aa as e1, ab as t1, a3 as n1, r as N, al as a1, am as _t, an as o1, a8 as bt, o as oa, Q as xa, X as Zs, $ as Ri, c as d, g as Q, ao as r1, I as M, H as Ut, s as an, _ as i1, ap as s1, d as Ke, W as l1, a as We, b as R, n as qe, h as U, i as se, f as cn, e as K, t as Re, q as be, K as ga, F as ir, u as el, x as Gn, J as Yn, w as bn, N as tl, E as Cn, aq as c1, ar as u1, j as sr, a4 as je, a5 as et, v as _i, a6 as jo, L as f1, G as Fi, T as d1 } from "./mitt-gcxZCriv.js";
2
2
  function Kr(e) {
3
3
  return e1() ? (t1(e), !0) : !1;
4
4
  }
@@ -332,7 +332,7 @@ function Z(e, t, n, a = {}) {
332
332
  f && s && (n instanceof Storage ? Sn(f, "storage", I, { passive: !0 }) : Sn(f, $i, J)), y ? S1(() => {
333
333
  z = !0, G();
334
334
  }) : G();
335
- function se(P, W) {
335
+ function le(P, W) {
336
336
  if (f) {
337
337
  const V = {
338
338
  key: g.value,
@@ -349,10 +349,10 @@ function Z(e, t, n, a = {}) {
349
349
  try {
350
350
  const W = n.getItem(g.value);
351
351
  if (P == null)
352
- se(W, null), n.removeItem(g.value);
352
+ le(W, null), n.removeItem(g.value);
353
353
  else {
354
354
  const V = A.write(P);
355
- W !== V && (n.setItem(g.value, V), se(W, V));
355
+ W !== V && (n.setItem(g.value, V), le(W, V));
356
356
  }
357
357
  } catch (W) {
358
358
  C(W);
@@ -1100,7 +1100,7 @@ function H1({
1100
1100
  $(A, e.numeric, L);
1101
1101
  const w = Me(wa), z = Me();
1102
1102
  $(w, t, w), $(w, n, z), $(z, t, w), $(z, n, z), S(v, at, w), S(L, at, w);
1103
- const I = S(s, It), J = S(l, It), se = S(J, at), H = S(se, at);
1103
+ const I = S(s, It), J = S(l, It), le = S(J, at), H = S(le, at);
1104
1104
  $(s, e.domain, i), S(s, nt, b), S(s, Ie, g), $(l, e.domain, i), S(l, nt, b), S(l, Ie, g), $(I, e.domain, w), S(I, at, w), S(I, Hn, w), $(H, e.domain, w), $(H, t, w), S(H, at, w);
1105
1105
  const fe = [
1106
1106
  [$n, Un],
@@ -1913,47 +1913,47 @@ function fu(e) {
1913
1913
  }
1914
1914
  return t;
1915
1915
  }
1916
- var yr = /* @__PURE__ */ ((e) => (e[e.Accept = 0] = "Accept", e[e.Error = 1] = "Error", e[e.Cancel = 2] = "Cancel", e[e.Close = 3] = "Close", e[e.Open = 4] = "Open", e[e.CheckResult = 5] = "CheckResult", e))(yr || {}), oe = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.PerUnit = 1] = "PerUnit", e[e.PerPerson = 2] = "PerPerson", e[e.PerAdult = 3] = "PerAdult", e[e.PerChild = 4] = "PerChild", e[e.PerNight = 5] = "PerNight", e[e.PerPersonPerNight = 6] = "PerPersonPerNight", e[e.PerAdultPerNight = 7] = "PerAdultPerNight", e[e.PerChildPerNight = 8] = "PerChildPerNight", e[e.Consumption = 9] = "Consumption", e[e.EarlyCheckIn = 10] = "EarlyCheckIn", e[e.EarlyCheckOut = 11] = "EarlyCheckOut", e[e.OneTimePayment = 12] = "OneTimePayment", e))(oe || {}), vl = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.Mandatory = 1] = "Mandatory", e[e.OptionalSingle = 2] = "OptionalSingle", e[e.OptionalMultiple = 3] = "OptionalMultiple", e[e.DefaultSingle = 4] = "DefaultSingle", e))(vl || {}), Zt = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.AskForCreditCard = 2] = "AskForCreditCard", e[e.Stripe = 18] = "Stripe", e[e.DIBS = 47] = "DIBS", e[e.EasyPay = 56] = "EasyPay", e[e.ReePay = 57] = "ReePay", e))(Zt || {}), du = /* @__PURE__ */ ((e) => (e.Selective = "selective", e.Wholesale = "wholesale", e.Simplified = "simplified", e.Template = "template", e.Event = "event", e))(du || {}), pu = /* @__PURE__ */ ((e) => (e.Default = "default", e.Minimal = "minimal", e))(pu || {}), mu = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.WaitingForResponse = 1] = "WaitingForResponse", e[e.ReadyToPay = 2] = "ReadyToPay", e[e.PaymentSuccess = 3] = "PaymentSuccess", e))(mu || {}), br = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Hourly = 1] = "Hourly", e[e.FullDayEvent = 2] = "FullDayEvent", e[e.Weekly = 3] = "Weekly", e))(br || {}), Oe = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.AvailabilityState = 1] = "AvailabilityState", e[e.ReservationState = 2] = "ReservationState", e[e.PaymentState = 3] = "PaymentState", e))(Oe || {}), hu = /* @__PURE__ */ ((e) => (e[e.NoShow = 1] = "NoShow", e[e.Other = 2] = "Other", e[e.Regret = 3] = "Regret", e[e.Sickness = 5] = "Sickness", e[e.Postponed = 6] = "Postponed", e[e.OnlinePaymentFailure = 7] = "OnlinePaymentFailure", e[e.TestBooking = 8] = "TestBooking", e[e.Corona = 9] = "Corona", e[e.BookingMistake = 10] = "BookingMistake", e[e.MissingPayment = 11] = "MissingPayment", e[e.BadWeather = 12] = "BadWeather", e))(hu || {});
1916
+ var yr = /* @__PURE__ */ ((e) => (e[e.Accept = 0] = "Accept", e[e.Error = 1] = "Error", e[e.Cancel = 2] = "Cancel", e[e.Close = 3] = "Close", e[e.Open = 4] = "Open", e[e.CheckResult = 5] = "CheckResult", e))(yr || {}), re = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.PerUnit = 1] = "PerUnit", e[e.PerPerson = 2] = "PerPerson", e[e.PerAdult = 3] = "PerAdult", e[e.PerChild = 4] = "PerChild", e[e.PerNight = 5] = "PerNight", e[e.PerPersonPerNight = 6] = "PerPersonPerNight", e[e.PerAdultPerNight = 7] = "PerAdultPerNight", e[e.PerChildPerNight = 8] = "PerChildPerNight", e[e.Consumption = 9] = "Consumption", e[e.EarlyCheckIn = 10] = "EarlyCheckIn", e[e.EarlyCheckOut = 11] = "EarlyCheckOut", e[e.OneTimePayment = 12] = "OneTimePayment", e))(re || {}), vl = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.Mandatory = 1] = "Mandatory", e[e.OptionalSingle = 2] = "OptionalSingle", e[e.OptionalMultiple = 3] = "OptionalMultiple", e[e.DefaultSingle = 4] = "DefaultSingle", e))(vl || {}), Zt = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.AskForCreditCard = 2] = "AskForCreditCard", e[e.Stripe = 18] = "Stripe", e[e.DIBS = 47] = "DIBS", e[e.EasyPay = 56] = "EasyPay", e[e.ReePay = 57] = "ReePay", e))(Zt || {}), du = /* @__PURE__ */ ((e) => (e.Selective = "selective", e.Wholesale = "wholesale", e.Simplified = "simplified", e.Template = "template", e.Event = "event", e))(du || {}), pu = /* @__PURE__ */ ((e) => (e.Default = "default", e.Minimal = "minimal", e))(pu || {}), mu = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.WaitingForResponse = 1] = "WaitingForResponse", e[e.ReadyToPay = 2] = "ReadyToPay", e[e.PaymentSuccess = 3] = "PaymentSuccess", e))(mu || {}), br = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Hourly = 1] = "Hourly", e[e.FullDayEvent = 2] = "FullDayEvent", e[e.Weekly = 3] = "Weekly", e))(br || {}), Oe = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.AvailabilityState = 1] = "AvailabilityState", e[e.ReservationState = 2] = "ReservationState", e[e.PaymentState = 3] = "PaymentState", e))(Oe || {}), hu = /* @__PURE__ */ ((e) => (e[e.NoShow = 1] = "NoShow", e[e.Other = 2] = "Other", e[e.Regret = 3] = "Regret", e[e.Sickness = 5] = "Sickness", e[e.Postponed = 6] = "Postponed", e[e.OnlinePaymentFailure = 7] = "OnlinePaymentFailure", e[e.TestBooking = 8] = "TestBooking", e[e.Corona = 9] = "Corona", e[e.BookingMistake = 10] = "BookingMistake", e[e.MissingPayment = 11] = "MissingPayment", e[e.BadWeather = 12] = "BadWeather", e))(hu || {});
1917
1917
  function Sp(e) {
1918
1918
  switch (e) {
1919
- case oe.PerUnit:
1919
+ case re.PerUnit:
1920
1920
  return M.t("general.perUnit");
1921
- case oe.PerPerson:
1921
+ case re.PerPerson:
1922
1922
  return M.t("general.perPerson");
1923
- case oe.PerAdult:
1923
+ case re.PerAdult:
1924
1924
  return M.t("general.perAdult");
1925
- case oe.PerChild:
1925
+ case re.PerChild:
1926
1926
  return M.t("general.perChild");
1927
- case oe.PerNight:
1927
+ case re.PerNight:
1928
1928
  return M.t("general.perNight");
1929
- case oe.PerPersonPerNight:
1929
+ case re.PerPersonPerNight:
1930
1930
  return M.t("general.perPersonPerNight");
1931
- case oe.PerAdultPerNight:
1931
+ case re.PerAdultPerNight:
1932
1932
  return M.t("general.perAdultPerNight");
1933
- case oe.PerChildPerNight:
1933
+ case re.PerChildPerNight:
1934
1934
  return M.t("general.perChildPerNight");
1935
1935
  }
1936
1936
  }
1937
1937
  function Cr(e, t, n, a = 0, o = 0) {
1938
1938
  switch (t) {
1939
1939
  // QuantityStrategy.Invalid = 0
1940
- case oe.PerUnit:
1940
+ case re.PerUnit:
1941
1941
  return e;
1942
- case oe.PerPerson:
1942
+ case re.PerPerson:
1943
1943
  return e * (a + o);
1944
- case oe.PerAdult:
1944
+ case re.PerAdult:
1945
1945
  return e * a;
1946
- case oe.PerChild:
1946
+ case re.PerChild:
1947
1947
  return e * o;
1948
- case oe.PerNight:
1948
+ case re.PerNight:
1949
1949
  return e * n;
1950
- case oe.PerPersonPerNight:
1950
+ case re.PerPersonPerNight:
1951
1951
  return e * (a + o) * n;
1952
- case oe.PerAdultPerNight:
1952
+ case re.PerAdultPerNight:
1953
1953
  return e * a * n;
1954
- case oe.PerChildPerNight:
1954
+ case re.PerChildPerNight:
1955
1955
  return e * o * n;
1956
- case oe.OneTimePayment:
1956
+ case re.OneTimePayment:
1957
1957
  return e;
1958
1958
  default:
1959
1959
  return e;
@@ -3471,8 +3471,8 @@ const q2 = async (e) => {
3471
3471
  const A = Lr && (c === "stream" || c === "response");
3472
3472
  if (Lr && (s || A && p)) {
3473
3473
  const w = {};
3474
- ["status", "statusText", "headers"].forEach((se) => {
3475
- w[se] = v[se];
3474
+ ["status", "statusText", "headers"].forEach((le) => {
3475
+ w[le] = v[le];
3476
3476
  });
3477
3477
  const z = h.toFiniteNumber(v.headers.get("content-length")), [I, J] = s && as(
3478
3478
  z,
@@ -3900,26 +3900,26 @@ function Vl(e) {
3900
3900
  return Vl(on(e, o));
3901
3901
  }, n;
3902
3902
  }
3903
- const ae = Vl(ia);
3904
- ae.Axios = nn;
3905
- ae.CanceledError = kn;
3906
- ae.CancelToken = X2;
3907
- ae.isCancel = Il;
3908
- ae.VERSION = jl;
3909
- ae.toFormData = Co;
3910
- ae.AxiosError = F;
3911
- ae.Cancel = ae.CanceledError;
3912
- ae.all = function(t) {
3903
+ const oe = Vl(ia);
3904
+ oe.Axios = nn;
3905
+ oe.CanceledError = kn;
3906
+ oe.CancelToken = X2;
3907
+ oe.isCancel = Il;
3908
+ oe.VERSION = jl;
3909
+ oe.toFormData = Co;
3910
+ oe.AxiosError = F;
3911
+ oe.Cancel = oe.CanceledError;
3912
+ oe.all = function(t) {
3913
3913
  return Promise.all(t);
3914
3914
  };
3915
- ae.spread = Q2;
3916
- ae.isAxiosError = Z2;
3917
- ae.mergeConfig = on;
3918
- ae.AxiosHeaders = Le;
3919
- ae.formToJSON = (e) => Ml(h.isHTMLForm(e) ? new FormData(e) : e);
3920
- ae.getAdapter = Ul.getAdapter;
3921
- ae.HttpStatusCode = Er;
3922
- ae.default = ae;
3915
+ oe.spread = Q2;
3916
+ oe.isAxiosError = Z2;
3917
+ oe.mergeConfig = on;
3918
+ oe.AxiosHeaders = Le;
3919
+ oe.formToJSON = (e) => Ml(h.isHTMLForm(e) ? new FormData(e) : e);
3920
+ oe.getAdapter = Ul.getAdapter;
3921
+ oe.HttpStatusCode = Er;
3922
+ oe.default = oe;
3923
3923
  const {
3924
3924
  Axios: Mp,
3925
3925
  AxiosError: Ip,
@@ -3937,7 +3937,7 @@ const {
3937
3937
  formToJSON: Kp,
3938
3938
  getAdapter: Gp,
3939
3939
  mergeConfig: Yp
3940
- } = ae, un = Ut("alert", () => {
3940
+ } = oe, un = Ut("alert", () => {
3941
3941
  const e = N(""), t = N("default"), n = N("NotActive"), a = N(NaN), o = N("global");
3942
3942
  function r({ message: i, type: s = "default" }) {
3943
3943
  e.value = i, t.value = s, n.value !== "NotActive" ? (n.value = "KeepActive", clearTimeout(a.value), a.value = window.setTimeout(() => {
@@ -4307,9 +4307,9 @@ const r0 = (e) => {
4307
4307
  const e = ci(), t = oc(), n = nc(), { voucher: a, amount: o } = an(tc()), { display: r } = un(), { metaData: i } = an(Ct()), s = Ct(), l = N({}), c = d(() => {
4308
4308
  const k = [];
4309
4309
  for (const D in l.value) {
4310
- const x = parseInt(D), j = _.value.roomGroups.find((zt) => zt.id === x), ce = j?.title || "", Ue = {
4310
+ const x = parseInt(D), j = _.value.roomGroups.find((zt) => zt.id === x), ae = j?.title || "", Ue = {
4311
4311
  roomGroupID: x,
4312
- title: ce
4312
+ title: ae
4313
4313
  }, Jt = [];
4314
4314
  l.value[x].forEach((zt) => {
4315
4315
  const zn = zt.id, ma = j?.rates.find((Pn) => Pn.id === zn);
@@ -4408,17 +4408,17 @@ const r0 = (e) => {
4408
4408
  const x = parseInt(D), j = Ye.value[x];
4409
4409
  if (j > 0) {
4410
4410
  const {
4411
- price: ce,
4411
+ price: ae,
4412
4412
  name: Ue,
4413
4413
  quantityStrategy: Jt
4414
4414
  } = pt.value.addons.find((zt) => zt.id === x);
4415
4415
  k.push({
4416
4416
  addonID: x,
4417
4417
  name: Ue,
4418
- price: ce,
4418
+ price: ae,
4419
4419
  quantity: j,
4420
4420
  totalPrice: Cr(
4421
- ce,
4421
+ ae,
4422
4422
  Jt,
4423
4423
  e.nights,
4424
4424
  e.adults,
@@ -4433,16 +4433,16 @@ const r0 = (e) => {
4433
4433
  const D = 0 - o.value;
4434
4434
  if (ft.value && pt.value) {
4435
4435
  const x = p(pt.value.id) || [];
4436
- k = D + E.value + b.value + A.value + x.reduce((j, { totalPrice: ce }) => j + ce, 0);
4436
+ k = D + E.value + b.value + A.value + x.reduce((j, { totalPrice: ae }) => j + ae, 0);
4437
4437
  } else {
4438
- const x = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).reduce((j, { totalPrice: ce }) => j + ce, D);
4439
- k = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).flatMap(({ roomAddons: j }) => j).reduce((j, { totalPrice: ce }) => j + ce, x);
4438
+ const x = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).reduce((j, { totalPrice: ae }) => j + ae, D);
4439
+ k = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).flatMap(({ roomAddons: j }) => j).reduce((j, { totalPrice: ae }) => j + ae, x);
4440
4440
  }
4441
4441
  return k;
4442
- }), A = d(() => dt.value ? dt.value.weekendFee : 0), L = d(() => c.value.flatMap(({ variants: k }) => k).flatMap(({ rooms: k }) => k)), w = d(() => ft.value ? 1 : L.value.length), z = d(() => ft.value ? G.value : L.value.reduce((k, { adultsCount: D }) => k + D, 0)), I = d(() => ft.value ? ye.value : L.value.reduce((k, { childrenCount: D }) => k + D, 0)), J = d(() => z.value > 0 ? z.value !== e.adults : !1), se = d(() => I.value > 0 ? I.value !== e.children : !1), H = N(e.arrivalDate), fe = N(e.departureDate), G = N(e.adults), ye = N(e.children), P = N(e.location || NaN), W = d(() => H.value !== e.arrivalDate && fe.value !== e.departureDate), V = d(() => P.value !== e.location), ne = d(() => W.value || V.value), _ = N({}), Y = N(!0), de = N(
4442
+ }), A = d(() => dt.value ? dt.value.weekendFee : 0), L = d(() => c.value.flatMap(({ variants: k }) => k).flatMap(({ rooms: k }) => k)), w = d(() => ft.value ? 1 : L.value.length), z = d(() => ft.value ? G.value : L.value.reduce((k, { adultsCount: D }) => k + D, 0)), I = d(() => ft.value ? ye.value : L.value.reduce((k, { childrenCount: D }) => k + D, 0)), J = d(() => z.value > 0 ? z.value !== e.adults : !1), le = d(() => I.value > 0 ? I.value !== e.children : !1), H = N(e.arrivalDate), fe = N(e.departureDate), G = N(e.adults), ye = N(e.children), P = N(e.location || NaN), W = d(() => H.value !== e.arrivalDate && fe.value !== e.departureDate), V = d(() => P.value !== e.location), ne = d(() => W.value || V.value), _ = N({}), Y = N(!0), de = N(
4443
4443
  0
4444
4444
  /* InitialState */
4445
- ), xe = N(NaN), Ye = N({}), _e = N(NaN), st = N(""), Ht = N(""), Vt = N(""), le = N(""), At = N(""), Je = N(null), lt = Z("konnectio_name", "", void 0, { serializer: X.string }), Xe = Z("konnectio_nameTitle", 2, void 0, { serializer: X.number }), Qe = Z("konnectio_email", "", void 0, { serializer: X.string }), Fe = Z("konnectio_phone", "", void 0, { serializer: X.string }), fn = Z("konnectio_company", "", void 0, { serializer: X.string }), Be = Z("konnectio_postal", "", void 0, { serializer: X.string }), Wt = Z("konnectio_city", "", void 0, { serializer: X.string }), qt = Z("konnectio_country", 57, void 0, { serializer: X.number }), ct = Z("konnectio_address", "", void 0, { serializer: X.string }), dn = Z("konnectio_sortingKeys", {
4445
+ ), xe = N(NaN), Ye = N({}), _e = N(NaN), st = N(""), Ht = N(""), Vt = N(""), ce = N(""), At = N(""), Je = N(null), lt = Z("konnectio_name", "", void 0, { serializer: X.string }), Xe = Z("konnectio_nameTitle", 2, void 0, { serializer: X.number }), Qe = Z("konnectio_email", "", void 0, { serializer: X.string }), Fe = Z("konnectio_phone", "", void 0, { serializer: X.string }), fn = Z("konnectio_company", "", void 0, { serializer: X.string }), Be = Z("konnectio_postal", "", void 0, { serializer: X.string }), Wt = Z("konnectio_city", "", void 0, { serializer: X.string }), qt = Z("konnectio_country", 57, void 0, { serializer: X.number }), ct = Z("konnectio_address", "", void 0, { serializer: X.string }), dn = Z("konnectio_sortingKeys", {
4446
4446
  pricesFrom: !1
4447
4447
  }, void 0, { serializer: X.object }), Lt = N(""), kt = N(""), ut = N(!1), Gt = N(!1), pn = N(!1), ft = d(() => !isNaN(xe.value)), Et = d(() => s.metaData.hotels.findIndex((k) => k.id === e.location) || 0), ke = d(() => s.metaData.hotels[Et.value]), Nt = d(() => s.metaData.hotels && s.metaData.hotels.length > 1), B = d(() => s.metaData.hotels ? s.metaData.hotels.flatMap((k) => ({
4448
4448
  id: k.id,
@@ -4467,11 +4467,11 @@ const r0 = (e) => {
4467
4467
  }), E = d(() => Se.value ? Se.value.offer.offerTemplates[0].totalPrice : pt.value?.extraPrice || 0);
4468
4468
  function q(k, D) {
4469
4469
  let x = [];
4470
- k && (x = k.filter((ce) => !((ce.quantityStrategy === oe.PerChild || ce.quantityStrategy === oe.PerChildPerNight) && D == 0)));
4471
- const j = Object.groupBy(x, (ce) => ce.image ? 0 : 1);
4470
+ k && (x = k.filter((ae) => !((ae.quantityStrategy === re.PerChild || ae.quantityStrategy === re.PerChildPerNight) && D == 0)), x = k.filter((ae) => ae.id !== 1266 && ae.id !== 1267));
4471
+ const j = Object.groupBy(x, (ae) => ae.image ? 0 : 1);
4472
4472
  return j[0] ? j[0].concat(j[1] || []) : x;
4473
4473
  }
4474
- function re(k) {
4474
+ function ie(k) {
4475
4475
  return _.value.roomGroups.find(
4476
4476
  (D) => D.id === k
4477
4477
  );
@@ -4571,9 +4571,9 @@ const r0 = (e) => {
4571
4571
  }
4572
4572
  function hn(k = !1) {
4573
4573
  const D = [];
4574
- isNaN(xe.value) ? c.value.forEach(({ variants: ce, roomGroupID: Ue }) => {
4574
+ isNaN(xe.value) ? c.value.forEach(({ variants: ae, roomGroupID: Ue }) => {
4575
4575
  const Jt = p(Ue);
4576
- ce?.forEach(({ rooms: zt, ratePlanID: zn }) => {
4576
+ ae?.forEach(({ rooms: zt, ratePlanID: zn }) => {
4577
4577
  zt?.forEach(({ adultsCount: ma, childrenCount: Pn, roomAddons: Ro, roomId: Dn }) => {
4578
4578
  D.push({
4579
4579
  roomGroupID: Ue,
@@ -4628,7 +4628,7 @@ const r0 = (e) => {
4628
4628
  newsmails: ut.value
4629
4629
  },
4630
4630
  giftCardCode: a.value,
4631
- discountCode: k ? At.value : le.value,
4631
+ discountCode: k ? At.value : ce.value,
4632
4632
  selectedRooms: D,
4633
4633
  remark: Ee(
4634
4634
  pe(H.value, !s.hasUserArrivalSelection(P.value), s.defaultArrivalTime(P.value), !0),
@@ -4641,10 +4641,10 @@ const r0 = (e) => {
4641
4641
  }
4642
4642
  const Se = N(), Yt = N(!1);
4643
4643
  async function Hc() {
4644
- le.value !== "" ? (Yt.value = !0, ue().post("/hotel/validate-discount-code", hn()).then((k) => {
4644
+ ce.value !== "" ? (Yt.value = !0, ue().post("/hotel/validate-discount-code", hn()).then((k) => {
4645
4645
  Yt.value = !1;
4646
4646
  const D = k.data;
4647
- D.discountApplyed === !0 ? (Se.value = D, At.value = le.value, le.value = "", r({
4647
+ D.discountApplyed === !0 ? (Se.value = D, At.value = ce.value, ce.value = "", r({
4648
4648
  message: M.t("alert.success.discountCodeApplied"),
4649
4649
  type: "success"
4650
4650
  })) : D.error == "CodeNotApplicable" ? r({
@@ -4666,7 +4666,7 @@ const r0 = (e) => {
4666
4666
  }
4667
4667
  const Vc = d(() => Se.value?.offer.properties);
4668
4668
  function Ai() {
4669
- Se.value = void 0, le.value = "", At.value = "";
4669
+ Se.value = void 0, ce.value = "", At.value = "";
4670
4670
  }
4671
4671
  async function Wc(k, D) {
4672
4672
  if (pn.value === !1 && ca.value) {
@@ -4729,7 +4729,7 @@ const r0 = (e) => {
4729
4729
  }
4730
4730
  return {
4731
4731
  adultsMismatch: J,
4732
- childrenMismatch: se,
4732
+ childrenMismatch: le,
4733
4733
  totalRooms: w,
4734
4734
  totalAdults: z,
4735
4735
  totalChildren: I,
@@ -4744,7 +4744,7 @@ const r0 = (e) => {
4744
4744
  currentLocation: P,
4745
4745
  isValidatingDiscountCode: Yt,
4746
4746
  discountVouchers: Vc,
4747
- discountCode: le,
4747
+ discountCode: ce,
4748
4748
  datesMismatch: W,
4749
4749
  appliedDiscountCode: At,
4750
4750
  hasGuestDiscountId: we,
@@ -4796,7 +4796,7 @@ const r0 = (e) => {
4796
4796
  totalPrice: v,
4797
4797
  selectedPackage: dt,
4798
4798
  isPaymentLoading: Mo,
4799
- getSingleListing: re,
4799
+ getSingleListing: ie,
4800
4800
  getSpecifiedPackageRoom: Io,
4801
4801
  getBasePrice: mt,
4802
4802
  getSelectedPackageRoom: pt,
@@ -4916,7 +4916,7 @@ const r0 = (e) => {
4916
4916
  viewItemList: r
4917
4917
  };
4918
4918
  }), Ct = Ut("utilities", () => {
4919
- const e = ci(), t = oc(), { display: n } = un(), a = Z("k_utils_settings", {}, void 0, { serializer: X.object }), o = N([]), r = N({}), i = d(() => (B) => o.value[B] ? !o.value[B].disableChildSelection : !0), s = d(() => (B) => o.value[B] ? !o.value[B].hideArrivalDepartureInputs : !1), l = d(() => (B) => o.value[B] ? !o.value[B].disableArrivalUserSelection : !1), c = d(() => (B) => o.value[B] ? !o.value[B].disableDepartureUserSelection : !1), u = d(() => (B) => o.value[B].arrivalEarliest), f = d(() => (B) => o.value[B].arrivalDefault), m = d(() => (B) => o.value[B].arrivalLatest), C = d(() => (B) => o.value[B].departureEarliest), y = d(() => (B) => o.value[B].departureDefault), p = d(() => (B) => o.value[B].departureLatest), g = d(() => a.value.maximumNightsAvailable), b = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), A = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), w = d(() => a.value.defaultChildAmount), z = d(() => a.value.maxAdultAmount), I = d(() => a.value.maxChildAmount), J = d(() => a.value.firstSelectableDateOffset), se = d(() => a.value.lastSelectableDateOffset), H = d(() => a.value.hideTitle), fe = d(() => a.value.headerHeight), G = d(() => a.value.enableStickyHeader), ye = d(() => a.value.disableNamePrefix), P = d(() => a.value.disableGiftCardVoucher), W = d(() => a.value.disableDiscountVoucher), V = d(() => a.value.disablePricesFrom), ne = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), Y = d(() => a.value.disableTravelingFor), de = d(() => a.value.disableTravelingForBleasure), xe = d(() => a.value.disableCompanyField), Ye = d(() => a.value.hideEventLength), _e = d(() => a.value.hideEventEndTime), st = d(() => a.value.hideAvailabilityNotice), Ht = d(() => a.value.autoSelectRateId), Vt = d(() => a.value.splitBookingCalendar), le = d(() => a.value.hideEventGuestAmount), At = d(() => a.value.hideOptionalLabel), Je = d(() => a.value.enableMultipleConfigurations), lt = d(() => a.value.selectGiftCardAsDefault), Xe = N(null), Qe = N(""), Fe = N(!1), fn = d(() => `Bearer ${Qe.value}`), Be = d(() => !!r.value && !!r.value.hotels), Wt = d(() => Be.value ? r.value.hotels[0].currency.currencyCode : ""), qt = d(() => Be.value ? r.value.hotels[0].currency.id : NaN), ct = d(() => Be.value ? r.value.hotels[0].name : ""), Kt = d(() => Be.value && r.value.hotels[0].paymentGatewayId || Zt.None), dn = d(() => !!A.value), Lt = d(() => !!Xe.value), kt = d(() => {
4919
+ const e = ci(), t = oc(), { display: n } = un(), a = Z("k_utils_settings", {}, void 0, { serializer: X.object }), o = N([]), r = N({}), i = d(() => (B) => o.value[B] ? !o.value[B].disableChildSelection : !0), s = d(() => (B) => o.value[B] ? !o.value[B].hideArrivalDepartureInputs : !1), l = d(() => (B) => o.value[B] ? !o.value[B].disableArrivalUserSelection : !1), c = d(() => (B) => o.value[B] ? !o.value[B].disableDepartureUserSelection : !1), u = d(() => (B) => o.value[B].arrivalEarliest), f = d(() => (B) => o.value[B].arrivalDefault), m = d(() => (B) => o.value[B].arrivalLatest), C = d(() => (B) => o.value[B].departureEarliest), y = d(() => (B) => o.value[B].departureDefault), p = d(() => (B) => o.value[B].departureLatest), g = d(() => a.value.maximumNightsAvailable), b = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), A = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), w = d(() => a.value.defaultChildAmount), z = d(() => a.value.maxAdultAmount), I = d(() => a.value.maxChildAmount), J = d(() => a.value.firstSelectableDateOffset), le = d(() => a.value.lastSelectableDateOffset), H = d(() => a.value.hideTitle), fe = d(() => a.value.headerHeight), G = d(() => a.value.enableStickyHeader), ye = d(() => a.value.disableNamePrefix), P = d(() => a.value.disableGiftCardVoucher), W = d(() => a.value.disableDiscountVoucher), V = d(() => a.value.disablePricesFrom), ne = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), Y = d(() => a.value.disableTravelingFor), de = d(() => a.value.disableTravelingForBleasure), xe = d(() => a.value.disableCompanyField), Ye = d(() => a.value.hideEventLength), _e = d(() => a.value.hideEventEndTime), st = d(() => a.value.hideAvailabilityNotice), Ht = d(() => a.value.autoSelectRateId), Vt = d(() => a.value.splitBookingCalendar), ce = d(() => a.value.hideEventGuestAmount), At = d(() => a.value.hideOptionalLabel), Je = d(() => a.value.enableMultipleConfigurations), lt = d(() => a.value.selectGiftCardAsDefault), Xe = N(null), Qe = N(""), Fe = N(!1), fn = d(() => `Bearer ${Qe.value}`), Be = d(() => !!r.value && !!r.value.hotels), Wt = d(() => Be.value ? r.value.hotels[0].currency.currencyCode : ""), qt = d(() => Be.value ? r.value.hotels[0].currency.id : NaN), ct = d(() => Be.value ? r.value.hotels[0].name : ""), Kt = d(() => Be.value && r.value.hotels[0].paymentGatewayId || Zt.None), dn = d(() => !!A.value), Lt = d(() => !!Xe.value), kt = d(() => {
4920
4920
  let B = !0;
4921
4921
  return (Kt.value === Zt.None || Kt.value === Zt.AskForCreditCard) && (B = !1), B;
4922
4922
  }), ut = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + J.value)).setHours(12, 0, 0, 0)), Gt = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + J.value + 1)).setHours(12, 0, 0, 0));
@@ -5001,7 +5001,7 @@ const r0 = (e) => {
5001
5001
  maxAdultAmount: z,
5002
5002
  maxChildAmount: I,
5003
5003
  firstSelectableDateOffset: J,
5004
- lastSelectableDateOffset: se,
5004
+ lastSelectableDateOffset: le,
5005
5005
  hideTitle: H,
5006
5006
  headerHeight: fe,
5007
5007
  disableNamePrefix: ye,
@@ -5013,7 +5013,7 @@ const r0 = (e) => {
5013
5013
  disableCompanyField: xe,
5014
5014
  isRecaptchaEnabled: dn,
5015
5015
  hideAvailabilityNotice: st,
5016
- hideEventGuestAmount: le,
5016
+ hideEventGuestAmount: ce,
5017
5017
  settings: a
5018
5018
  };
5019
5019
  });
@@ -5026,22 +5026,22 @@ async function y0() {
5026
5026
  return rc.value = e.bearerToken, Promise.resolve();
5027
5027
  }
5028
5028
  function ue() {
5029
- return ae.create({
5029
+ return oe.create({
5030
5030
  baseURL: "https://production.hotel-service.konnectio.com/api",
5031
5031
  headers: {
5032
5032
  Accept: "application/json",
5033
5033
  Authorization: rc.value,
5034
- "Konnectio-Version": "4.2.22",
5034
+ "Konnectio-Version": "4.2.24",
5035
5035
  "Konnectio-Ref": v0.ref
5036
5036
  }
5037
5037
  });
5038
5038
  }
5039
5039
  const b0 = Ut("event", () => {
5040
- const e = nc(), { voucher: t } = an(tc()), { display: n } = un(), { metaData: a } = an(Ct()), o = Ct(), r = ci(), i = N({}), s = d(() => Object.keys(i.value).length > 0), l = N(void 0), c = N(!0), u = N(Oe.InitialState), f = N(NaN), m = N(1), C = N(NaN), y = N(NaN), p = N(""), g = Z("konnectio_name", "", void 0, { serializer: X.string }), b = Z("konnectio_phone", "", void 0, { serializer: X.string }), v = Z("konnectio_email", "", void 0, { serializer: X.string }), A = N(""), L = N(""), w = N(!1), z = N(0), I = N({}), J = N({}), se = N("");
5040
+ const e = nc(), { voucher: t } = an(tc()), { display: n } = un(), { metaData: a } = an(Ct()), o = Ct(), r = ci(), i = N({}), s = d(() => Object.keys(i.value).length > 0), l = N(void 0), c = N(!0), u = N(Oe.InitialState), f = N(NaN), m = N(1), C = N(NaN), y = N(NaN), p = N(""), g = Z("konnectio_name", "", void 0, { serializer: X.string }), b = Z("konnectio_phone", "", void 0, { serializer: X.string }), v = Z("konnectio_email", "", void 0, { serializer: X.string }), A = N(""), L = N(""), w = N(!1), z = N(0), I = N({}), J = N({}), le = N("");
5041
5041
  function H(E) {
5042
5042
  return E ? E.templateId !== void 0 : !1;
5043
5043
  }
5044
- const fe = d(() => o.metaData.hotels.findIndex((E) => E.id === r.eventLocation) || 0), G = d(() => o.metaData.hotels[fe.value]), ye = d(() => G.value ? G.value.maxNumberPerBooking : 1 / 0), P = d(() => G.value.name ? G.value.name : ""), W = d(() => G.value.subtitle ? G.value.subtitle : ""), V = d(() => G.value.timezone ? G.value.timezone : ""), ne = N(r.eventDate), _ = N(r.eventLocation), Y = d(() => ne.value !== r.eventDate), de = d(() => _.value !== r.eventLocation), xe = d(() => Y.value || de.value), Ye = d(() => r.eventDate.toISOString()), _e = d(() => H(l.value)), st = d(() => H(l.value) ? l.value.numberOfDays : m.value), Ht = d(() => H(l.value) ? l.value.packageCount : 0), Vt = d(() => H(l.value) ? l.value.fromDate : ""), le = d(() => i.value.events !== void 0 ? i.value.events.flatMap((E) => E.events).find((E) => E.id === C.value) : void 0), At = d(() => le.value ? le.value.length : void 0), Je = d(() => H(l.value) ? l.value.templateId : 0), lt = d(() => i.value.events), Xe = d(() => i.value.events.filter((E) => E.isAvailable === !1 && He(E.fromDate) !== He(ne.value))), Qe = d(() => i.value.templates), Fe = d(() => i.value.fallbackEvents), fn = d(() => i.value.events.length > 0), Be = d(() => i.value.fallbackEvents.length > 0), Wt = d(() => i.value.templates.length > 0), qt = d(() => le.value && le.value.eventRateType ? le.value.eventRateType : br.None), ct = d(() => {
5044
+ const fe = d(() => o.metaData.hotels.findIndex((E) => E.id === r.eventLocation) || 0), G = d(() => o.metaData.hotels[fe.value]), ye = d(() => G.value ? G.value.maxNumberPerBooking : 1 / 0), P = d(() => G.value.name ? G.value.name : ""), W = d(() => G.value.subtitle ? G.value.subtitle : ""), V = d(() => G.value.timezone ? G.value.timezone : ""), ne = N(r.eventDate), _ = N(r.eventLocation), Y = d(() => ne.value !== r.eventDate), de = d(() => _.value !== r.eventLocation), xe = d(() => Y.value || de.value), Ye = d(() => r.eventDate.toISOString()), _e = d(() => H(l.value)), st = d(() => H(l.value) ? l.value.numberOfDays : m.value), Ht = d(() => H(l.value) ? l.value.packageCount : 0), Vt = d(() => H(l.value) ? l.value.fromDate : ""), ce = d(() => i.value.events !== void 0 ? i.value.events.flatMap((E) => E.events).find((E) => E.id === C.value) : void 0), At = d(() => ce.value ? ce.value.length : void 0), Je = d(() => H(l.value) ? l.value.templateId : 0), lt = d(() => i.value.events), Xe = d(() => i.value.events.filter((E) => E.isAvailable === !1 && He(E.fromDate) !== He(ne.value))), Qe = d(() => i.value.templates), Fe = d(() => i.value.fallbackEvents), fn = d(() => i.value.events.length > 0), Be = d(() => i.value.fallbackEvents.length > 0), Wt = d(() => i.value.templates.length > 0), qt = d(() => ce.value && ce.value.eventRateType ? ce.value.eventRateType : br.None), ct = d(() => {
5045
5045
  if (!H(l.value))
5046
5046
  return l.value;
5047
5047
  }), Kt = d(() => {
@@ -5057,12 +5057,12 @@ const b0 = Ut("event", () => {
5057
5057
  if (H(l.value))
5058
5058
  return l.value.rooms;
5059
5059
  });
5060
- function Lt(E, q, re) {
5060
+ function Lt(E, q, ie) {
5061
5061
  let Ee = 0;
5062
5062
  if (H(l.value)) {
5063
- const pe = l.value.rooms[re];
5063
+ const pe = l.value.rooms[ie];
5064
5064
  if (pe) {
5065
- const mt = pe.addons, Ze = I.value[`${q}.${E}.${re}`] || 0;
5065
+ const mt = pe.addons, Ze = I.value[`${q}.${E}.${ie}`] || 0;
5066
5066
  if (Ze > 0) {
5067
5067
  const $e = mt?.find((Ot) => Ot.id === E), Ne = typeof Ze == "boolean" ? 1 : Ze;
5068
5068
  Ee += Cr($e?.price, $e?.quantityStrategy, st.value, pe.adultPerRoom) * Ne;
@@ -5071,28 +5071,28 @@ const b0 = Ut("event", () => {
5071
5071
  } else {
5072
5072
  const pe = J.value[E] || 0;
5073
5073
  if (pe > 0) {
5074
- const mt = le.value?.products?.find((Ze) => Ze.id === E);
5074
+ const mt = ce.value?.products?.find((Ze) => Ze.id === E);
5075
5075
  mt && (Ee += mt.price * pe);
5076
5076
  }
5077
5077
  }
5078
5078
  return Ee;
5079
5079
  }
5080
5080
  function kt(E, q) {
5081
- let re = 0;
5081
+ let ie = 0;
5082
5082
  if (H(l.value))
5083
5083
  for (const Ee in I.value) {
5084
5084
  const pe = Ee.split(".");
5085
- parseInt(pe[0]) === E && parseInt(pe[2]) === q && (re += Lt(parseInt(pe[1]), E, q));
5085
+ parseInt(pe[0]) === E && parseInt(pe[2]) === q && (ie += Lt(parseInt(pe[1]), E, q));
5086
5086
  }
5087
5087
  else
5088
5088
  for (const Ee in J.value)
5089
- re += Lt(parseInt(Ee)) * m.value;
5090
- return re;
5089
+ ie += Lt(parseInt(Ee)) * m.value;
5090
+ return ie;
5091
5091
  }
5092
5092
  const ut = d(() => H(l.value) && l.value.totalPrice || 0), Gt = d(() => {
5093
5093
  if (H(l.value))
5094
5094
  return l.value.rooms === void 0 ? NaN : l.value.rooms.flatMap((E) => E.roomGroupId).reduce(
5095
- (E, q, re) => E + kt(q, re),
5095
+ (E, q, ie) => E + kt(q, ie),
5096
5096
  ut.value
5097
5097
  ) || 0;
5098
5098
  {
@@ -5102,10 +5102,10 @@ const b0 = Ut("event", () => {
5102
5102
  }), pn = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((E) => E.weekendFee).reduce((E, q) => E + q, 0) || 0), ft = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((E) => E.roomUpgrade).reduce((E, q) => E + q, 0) || 0), Et = d(() => {
5103
5103
  const E = J.value;
5104
5104
  let q = 0;
5105
- for (const re in E)
5106
- q += Number.isNaN(E[re]) ? 0 : E[re];
5105
+ for (const ie in E)
5106
+ q += Number.isNaN(E[ie]) ? 0 : E[ie];
5107
5107
  return q;
5108
- }), ke = d(() => Et.value > 0), Nt = d(() => !H(l.value) && le.value ? le.value.products.length > 0 : !1), B = d(() => Nt.value ? ke.value : !0), we = d(() => qt.value !== br.FullDayEvent && !_e.value), mn = d(() => !!(g.value !== "" && v.value !== "" && b.value.length >= 5 && B.value && (!we.value || p.value !== "")));
5108
+ }), ke = d(() => Et.value > 0), Nt = d(() => !H(l.value) && ce.value ? ce.value.products.length > 0 : !1), B = d(() => Nt.value ? ke.value : !0), we = d(() => qt.value !== br.FullDayEvent && !_e.value), mn = d(() => !!(g.value !== "" && v.value !== "" && b.value.length >= 5 && B.value && (!we.value || p.value !== "")));
5109
5109
  function Nn(E) {
5110
5110
  return u.value === Oe.ReservationState && C.value === E && c.value;
5111
5111
  }
@@ -5136,7 +5136,7 @@ const b0 = Ut("event", () => {
5136
5136
  return;
5137
5137
  }
5138
5138
  try {
5139
- const re = (await ue().get("/event/v3/get", {
5139
+ const ie = (await ue().get("/event/v3/get", {
5140
5140
  params: {
5141
5141
  language: Ce(),
5142
5142
  date: He(r.eventDate),
@@ -5144,7 +5144,7 @@ const b0 = Ut("event", () => {
5144
5144
  eventId: o.hasActiveIdFilter ? o.activeIdFilter : null
5145
5145
  }
5146
5146
  })).data;
5147
- i.value = re, ne.value = r.eventDate, _.value = r.eventLocation, li.emit("scrollToTop"), c.value = !1;
5147
+ i.value = ie, ne.value = r.eventDate, _.value = r.eventLocation, li.emit("scrollToTop"), c.value = !1;
5148
5148
  } catch {
5149
5149
  n({
5150
5150
  message: M.t("alert.error.couldntFetchListings"),
@@ -5197,12 +5197,12 @@ const b0 = Ut("event", () => {
5197
5197
  }
5198
5198
  }
5199
5199
  async function Mo() {
5200
- if (se.value !== "")
5200
+ if (le.value !== "")
5201
5201
  try {
5202
5202
  const E = (await ue().post("/event/validate-discount-code", {
5203
5203
  language: Ce(),
5204
5204
  date: ne.value,
5205
- discountCode: se.value,
5205
+ discountCode: le.value,
5206
5206
  restaurantId: _.value
5207
5207
  })).data;
5208
5208
  console.log(E);
@@ -5226,7 +5226,7 @@ const b0 = Ut("event", () => {
5226
5226
  type: "warning"
5227
5227
  });
5228
5228
  };
5229
- let re, Ee, pe;
5229
+ let ie, Ee, pe;
5230
5230
  const mt = [];
5231
5231
  if (H(l.value))
5232
5232
  dn.value?.forEach((Ne, Ot) => {
@@ -5246,7 +5246,7 @@ const b0 = Ut("event", () => {
5246
5246
  roomGroupID: Ne.roomGroupId,
5247
5247
  addons: pa
5248
5248
  });
5249
- }), re = {
5249
+ }), ie = {
5250
5250
  totalPerson: isNaN(f.value) ? Et.value : f.value,
5251
5251
  templateID: Je.value,
5252
5252
  numberOfDays: m.value,
@@ -5275,14 +5275,14 @@ const b0 = Ut("event", () => {
5275
5275
  numberOfPeople: isNaN(f.value) ? Et.value : f.value,
5276
5276
  days: st.value > 0 ? st.value : 1,
5277
5277
  allergyFood: L.value,
5278
- discountCode: se.value,
5278
+ discountCode: le.value,
5279
5279
  giftCardCode: t.value,
5280
5280
  numberOfHighChairs: z.value,
5281
5281
  flagOnTable: w.value,
5282
5282
  checkoutUrl: window.location.origin,
5283
5283
  privacyUrl: window.location.origin
5284
5284
  };
5285
- H(l.value) ? $e.templateGroup = re : ($e.time = pe, $e.eventId = C.value, $e.products = Ee, Ze = "/event/book-event"), await ue().post(Ze, $e).then((Ne) => {
5285
+ H(l.value) ? $e.templateGroup = ie : ($e.time = pe, $e.eventId = C.value, $e.products = Ee, Ze = "/event/book-event"), await ue().post(Ze, $e).then((Ne) => {
5286
5286
  c.value = !1, e.pay({
5287
5287
  callback: E,
5288
5288
  response: Ne.data
@@ -5317,7 +5317,7 @@ const b0 = Ut("event", () => {
5317
5317
  arrivalTime: p,
5318
5318
  addons: I,
5319
5319
  products: J,
5320
- discountCode: se,
5320
+ discountCode: le,
5321
5321
  name: g,
5322
5322
  phone: b,
5323
5323
  email: v,
@@ -5330,7 +5330,7 @@ const b0 = Ut("event", () => {
5330
5330
  numberOfTotalDays: st,
5331
5331
  numberOfRooms: Ht,
5332
5332
  fromDate: Vt,
5333
- getEventData: le,
5333
+ getEventData: ce,
5334
5334
  length: At,
5335
5335
  templateId: Je,
5336
5336
  getEvents: lt,
@@ -5384,7 +5384,7 @@ const b0 = Ut("event", () => {
5384
5384
  if (y.value)
5385
5385
  return o.value.events.some((Y) => Y.id === _);
5386
5386
  }
5387
- function se(_) {
5387
+ function le(_) {
5388
5388
  const Y = g.value.find(({ id: de }) => de === _);
5389
5389
  return Y ? Y.name : "";
5390
5390
  }
@@ -5457,7 +5457,7 @@ const b0 = Ut("event", () => {
5457
5457
  fetchMetadata: ne,
5458
5458
  isValidHotelId: v,
5459
5459
  isValidRestaurantId: J,
5460
- getHotelLocationName: se,
5460
+ getHotelLocationName: le,
5461
5461
  resetEventDate: W,
5462
5462
  updateEventDate: fe
5463
5463
  };
@@ -9060,7 +9060,7 @@ const v6 = {
9060
9060
  icon: t[Q(a)]
9061
9061
  }, null, 8, ["icon"]),
9062
9062
  K("span", null, Re(Q(n)), 1)
9063
- ])) : ie("", !0)
9063
+ ])) : se("", !0)
9064
9064
  ], 2));
9065
9065
  }
9066
9066
  }), Xd = /* @__PURE__ */ jt(Jd, [["__scopeId", "data-v-012f555a"]]), Qd = { class: "konnectio-container" }, Zd = /* @__PURE__ */ Ke({
@@ -9216,10 +9216,10 @@ const r3 = /* @__PURE__ */ jt(n3, [["render", o3], ["__scopeId", "data-v-88ad2e2
9216
9216
  icon: i.icon,
9217
9217
  type: i.iconType,
9218
9218
  "icon-color": i.iconColor
9219
- }, null, 8, ["icon", "type", "icon-color"])) : ie("", !0)
9219
+ }, null, 8, ["icon", "type", "icon-color"])) : se("", !0)
9220
9220
  ]),
9221
- i.label ? (R(), U("span", l3, Re(i.label), 1)) : ie("", !0),
9222
- i.subLabel ? (R(), U("span", c3, Re(i.subLabel), 1)) : ie("", !0),
9221
+ i.label ? (R(), U("span", l3, Re(i.label), 1)) : se("", !0),
9222
+ i.subLabel ? (R(), U("span", c3, Re(i.subLabel), 1)) : se("", !0),
9223
9223
  K("i", u3, [
9224
9224
  cn(na, {
9225
9225
  icon: "chevron-right",
@@ -9280,16 +9280,16 @@ const r3 = /* @__PURE__ */ jt(n3, [["render", o3], ["__scopeId", "data-v-88ad2e2
9280
9280
  icon: l.icon,
9281
9281
  "icon-color": l.iconColor,
9282
9282
  type: l.iconType
9283
- }, null, 8, ["icon", "icon-color", "type"])) : ie("", !0),
9283
+ }, null, 8, ["icon", "icon-color", "type"])) : se("", !0),
9284
9284
  K("span", null, [
9285
9285
  Gn(Re(l.label) + " ", 1),
9286
- !Q(a) && !l.required && !l.noOptionalLabel && !l.readonly ? (R(), U("span", m3, "(" + Re(Q(n)("booking.reservation.optional")) + ")", 1)) : ie("", !0)
9286
+ !Q(a) && !l.required && !l.noOptionalLabel && !l.readonly ? (R(), U("span", m3, "(" + Re(Q(n)("booking.reservation.optional")) + ")", 1)) : se("", !0)
9287
9287
  ])
9288
9288
  ], 2),
9289
9289
  l.description && l.descriptionPlacement === "label" ? (R(), U("div", h3, [
9290
9290
  K("span", null, Re(`(${l.description})`), 1)
9291
- ])) : ie("", !0)
9292
- ], 8, p3)) : ie("", !0),
9291
+ ])) : se("", !0)
9292
+ ], 8, p3)) : se("", !0),
9293
9293
  K("div", {
9294
9294
  class: qe([
9295
9295
  { "has-icon": i.value },
@@ -9309,12 +9309,12 @@ const r3 = /* @__PURE__ */ jt(n3, [["render", o3], ["__scopeId", "data-v-88ad2e2
9309
9309
  "icon-color": l.iconColor,
9310
9310
  type: l.iconType
9311
9311
  }, null, 8, ["icon", "icon-color", "type"])
9312
- ], 8, g3)) : ie("", !0),
9312
+ ], 8, g3)) : se("", !0),
9313
9313
  be(l.$slots, "default")
9314
9314
  ], 2),
9315
9315
  l.description && l.descriptionPlacement === "field" ? (R(), U("div", v3, [
9316
9316
  K("span", { innerHTML: l.description }, null, 8, y3)
9317
- ])) : ie("", !0)
9317
+ ])) : se("", !0)
9318
9318
  ]));
9319
9319
  }
9320
9320
  }), wi = /* @__PURE__ */ jt(b3, [["__scopeId", "data-v-b0727f34"]]);
@@ -9465,7 +9465,7 @@ function L3(e, t, n, a, o, r) {
9465
9465
  tabindex: "-1",
9466
9466
  disabled: e.disabled || e.readonly || !e.decreasable,
9467
9467
  onClick: t[0] || (t[0] = (...i) => e.decrease && e.decrease(...i))
9468
- }, null, 8, S3)) : ie("v-if", !0),
9468
+ }, null, 8, S3)) : se("v-if", !0),
9469
9469
  K("input", Yn({
9470
9470
  ref: "input",
9471
9471
  class: "vue-number-input__input"
@@ -9490,7 +9490,7 @@ function L3(e, t, n, a, o, r) {
9490
9490
  tabindex: "-1",
9491
9491
  disabled: e.disabled || e.readonly || !e.increasable,
9492
9492
  onClick: t[3] || (t[3] = (...i) => e.increase && e.increase(...i))
9493
- }, null, 8, A3)) : ie("v-if", !0)
9493
+ }, null, 8, A3)) : se("v-if", !0)
9494
9494
  ],
9495
9495
  2
9496
9496
  /* CLASS */
@@ -9644,7 +9644,7 @@ const Zp = /* @__PURE__ */ Ke({
9644
9644
  "no-optional-label": p.noOptionalLabel
9645
9645
  }, {
9646
9646
  default: bn(() => [
9647
- m.value ? ie("", !0) : (R(), U("input", {
9647
+ m.value ? se("", !0) : (R(), U("input", {
9648
9648
  key: 0,
9649
9649
  type: "hidden",
9650
9650
  name: p.name,
@@ -9692,7 +9692,7 @@ const Zp = /* @__PURE__ */ Ke({
9692
9692
  K("div", null, [
9693
9693
  K("span", null, Re(p.suffix), 1)
9694
9694
  ])
9695
- ])) : ie("", !0),
9695
+ ])) : se("", !0),
9696
9696
  p.clipboard ? (R(), U("div", D3, [
9697
9697
  Cn((R(), U("div", null, [
9698
9698
  K("button", {
@@ -9710,14 +9710,14 @@ const Zp = /* @__PURE__ */ Ke({
9710
9710
  html: !1
9711
9711
  }]
9712
9712
  ])
9713
- ])) : ie("", !0),
9713
+ ])) : se("", !0),
9714
9714
  u.value !== 1 / 0 ? (R(), U("div", x3, [
9715
9715
  K("span", {
9716
9716
  class: qe({ danger: u.value <= 15 })
9717
9717
  }, Re(u.value), 3),
9718
9718
  g[3] || (g[3] = Gn("/")),
9719
9719
  K("small", null, Re(p.limit), 1)
9720
- ])) : ie("", !0)
9720
+ ])) : se("", !0)
9721
9721
  ]),
9722
9722
  _: 1
9723
9723
  }, 8, ["label", "id", "icon", "icon-color", "icon-type", "required", "type", "readonly", "description", "limit", "no-optional-label"]);
@@ -10406,7 +10406,7 @@ function yp(e, t, n, a, o, r) {
10406
10406
  onClick: (c) => r.deselect(s)
10407
10407
  }, [
10408
10408
  (R(), We(jo(r.childComponents.Deselect)))
10409
- ], 8, cp)) : ie("", !0)
10409
+ ], 8, cp)) : se("", !0)
10410
10410
  ]))
10411
10411
  ])), 256)),
10412
10412
  be(e.$slots, "search", je(et(r.scope.search)), () => [
@@ -10428,7 +10428,7 @@ function yp(e, t, n, a, o, r) {
10428
10428
  [Fi, r.showClearButton]
10429
10429
  ]),
10430
10430
  be(e.$slots, "open-indicator", je(et(r.scope.openIndicator)), () => [
10431
- n.noDrop ? ie("", !0) : (R(), We(jo(r.childComponents.OpenIndicator), je(Yn({ key: 0 }, r.scope.openIndicator.attributes)), null, 16))
10431
+ n.noDrop ? se("", !0) : (R(), We(jo(r.childComponents.OpenIndicator), je(Yn({ key: 0 }, r.scope.openIndicator.attributes)), null, 16))
10432
10432
  ]),
10433
10433
  be(e.$slots, "spinner", je(et(r.scope.spinner)), () => [
10434
10434
  Cn(K("div", dp, "Loading...", 512), [
@@ -10472,7 +10472,7 @@ function yp(e, t, n, a, o, r) {
10472
10472
  be(e.$slots, "no-options", je(et(r.scope.noOptions)), () => [
10473
10473
  gp
10474
10474
  ])
10475
- ])) : ie("", !0),
10475
+ ])) : se("", !0),
10476
10476
  be(e.$slots, "list-footer", je(et(r.scope.listFooter)))
10477
10477
  ], 40, pp)), [
10478
10478
  [i]
@@ -10613,4 +10613,4 @@ export {
10613
10613
  tc as y,
10614
10614
  nc as z
10615
10615
  };
10616
- //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js.map
10616
+ //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-Cje3bbGg.js.map