@konnectio/core 4.3.18 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +274 -274
  2. package/dist/{ActionField-Bg0yFXyo.js → ActionField-CMFQS0Tu.js} +4 -4
  3. package/dist/ActionField-CMFQS0Tu.js.br +0 -0
  4. package/dist/ActionField-CMFQS0Tu.js.gz +0 -0
  5. package/dist/{AvailabilitySkeleton-DLjqFg6U.js → AvailabilitySkeleton-Bxse3JWw.js} +8 -8
  6. package/dist/AvailabilitySkeleton-Bxse3JWw.js.br +0 -0
  7. package/dist/AvailabilitySkeleton-Bxse3JWw.js.gz +0 -0
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js +10189 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.br +0 -0
  10. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.gz +0 -0
  11. package/dist/{CheckoutWindow-BMdnoHy9.js → CheckoutWindow-DbyK9q3i.js} +13 -13
  12. package/dist/CheckoutWindow-DbyK9q3i.js.br +0 -0
  13. package/dist/CheckoutWindow-DbyK9q3i.js.gz +0 -0
  14. package/dist/{ErrorMessage-jEofs6LL.js → ErrorMessage-CHJAgZQF.js} +4 -4
  15. package/dist/ErrorMessage-CHJAgZQF.js.br +0 -0
  16. package/dist/ErrorMessage-CHJAgZQF.js.gz +0 -0
  17. package/dist/{EventAvailabilityForm-DP2s7m8v.js → EventAvailabilityForm-C12USIHw.js} +5 -5
  18. package/dist/EventAvailabilityForm-C12USIHw.js.br +0 -0
  19. package/dist/EventAvailabilityForm-C12USIHw.js.gz +0 -0
  20. package/dist/{Field-3KNgiKPM.js → Field-DeO4xsFg.js} +7 -7
  21. package/dist/Field-DeO4xsFg.js.br +0 -0
  22. package/dist/Field-DeO4xsFg.js.gz +0 -0
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js +21 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.br +0 -0
  25. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.gz +0 -0
  26. package/dist/{SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js → SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js} +4834 -4233
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.br +0 -0
  28. package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.gz +0 -0
  29. package/dist/{TermsOfService-CAwgDlMG.js → TermsOfService-DSR9-slK.js} +8 -8
  30. package/dist/TermsOfService-DSR9-slK.js.br +0 -0
  31. package/dist/TermsOfService-DSR9-slK.js.gz +0 -0
  32. package/dist/_-PjpC4p-e.js +5 -0
  33. package/dist/_-PjpC4p-e.js.br +0 -0
  34. package/dist/_-PjpC4p-e.js.gz +0 -0
  35. package/dist/{_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js → _.vue_vue_type_style_index_0_lang-C_u0UT6W.js} +3 -3
  36. package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.br +0 -0
  37. package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.gz +0 -0
  38. package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
  39. package/dist/availability.js +9 -9
  40. package/dist/availability.js.br +0 -0
  41. package/dist/availability.js.gz +0 -0
  42. package/dist/cancel-reservation.js +7 -7
  43. package/dist/cancel-reservation.js.br +0 -0
  44. package/dist/cancel-reservation.js.gz +0 -0
  45. package/dist/core.css +1 -1
  46. package/dist/core.css.br +0 -0
  47. package/dist/core.css.gz +0 -0
  48. package/dist/deep-link.js +1 -1
  49. package/dist/deep-link.js.br +0 -0
  50. package/dist/deep-link.js.gz +0 -0
  51. package/dist/event.js +186 -192
  52. package/dist/event.js.br +0 -0
  53. package/dist/event.js.gz +0 -0
  54. package/dist/gift-card-validation.js +14 -14
  55. package/dist/gift-card-validation.js.br +0 -0
  56. package/dist/gift-card-validation.js.gz +0 -0
  57. package/dist/gift-card.js +14 -14
  58. package/dist/gift-card.js.br +0 -0
  59. package/dist/gift-card.js.gz +0 -0
  60. package/dist/{giftCard-CrwgJ6Fm.js → giftCard-D1GA4BA0.js} +3 -3
  61. package/dist/giftCard-D1GA4BA0.js.br +0 -0
  62. package/dist/giftCard-D1GA4BA0.js.gz +0 -0
  63. package/dist/hotel.js +523 -518
  64. package/dist/hotel.js.br +0 -0
  65. package/dist/hotel.js.gz +0 -0
  66. package/dist/{index-DR2Ax4hj.js → index-D4nA_tEk.js} +5 -4
  67. package/dist/index-D4nA_tEk.js.br +0 -0
  68. package/dist/index-D4nA_tEk.js.gz +0 -0
  69. package/dist/{masonry.plugin-CKPCoYcs.js → masonry.plugin-DDRglIja.js} +121 -158
  70. package/dist/masonry.plugin-DDRglIja.js.br +0 -0
  71. package/dist/masonry.plugin-DDRglIja.js.gz +0 -0
  72. package/dist/{mitt-CqW9zFaX.js → mitt-CvmiLPAX.js} +4643 -4431
  73. package/dist/mitt-CvmiLPAX.js.br +0 -0
  74. package/dist/mitt-CvmiLPAX.js.gz +0 -0
  75. package/dist/polyfill.js +5965 -5688
  76. package/dist/polyfill.js.br +0 -0
  77. package/dist/polyfill.js.gz +0 -0
  78. package/dist/style-DijlEV9B.js +1750 -0
  79. package/dist/style-DijlEV9B.js.br +0 -0
  80. package/dist/style-DijlEV9B.js.gz +0 -0
  81. package/package.json +118 -118
  82. package/dist/ActionField-Bg0yFXyo.js.br +0 -0
  83. package/dist/ActionField-Bg0yFXyo.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton-DLjqFg6U.js.br +0 -0
  85. package/dist/AvailabilitySkeleton-DLjqFg6U.js.gz +0 -0
  86. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js +0 -9324
  87. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js.br +0 -0
  88. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js.gz +0 -0
  89. package/dist/CheckoutWindow-BMdnoHy9.js.br +0 -0
  90. package/dist/CheckoutWindow-BMdnoHy9.js.gz +0 -0
  91. package/dist/ErrorMessage-jEofs6LL.js.br +0 -0
  92. package/dist/ErrorMessage-jEofs6LL.js.gz +0 -0
  93. package/dist/EventAvailabilityForm-DP2s7m8v.js.br +0 -0
  94. package/dist/EventAvailabilityForm-DP2s7m8v.js.gz +0 -0
  95. package/dist/Field-3KNgiKPM.js.br +0 -0
  96. package/dist/Field-3KNgiKPM.js.gz +0 -0
  97. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js +0 -21
  98. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js.br +0 -0
  99. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js.gz +0 -0
  100. package/dist/SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js.br +0 -0
  101. package/dist/SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js.gz +0 -0
  102. package/dist/TermsOfService-CAwgDlMG.js.br +0 -0
  103. package/dist/TermsOfService-CAwgDlMG.js.gz +0 -0
  104. package/dist/_-DQD4tHzx.js +0 -5
  105. package/dist/_-DQD4tHzx.js.br +0 -0
  106. package/dist/_-DQD4tHzx.js.gz +0 -2
  107. package/dist/_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js.br +0 -0
  108. package/dist/_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js.gz +0 -0
  109. package/dist/giftCard-CrwgJ6Fm.js.br +0 -0
  110. package/dist/giftCard-CrwgJ6Fm.js.gz +0 -0
  111. package/dist/index-DR2Ax4hj.js.br +0 -0
  112. package/dist/index-DR2Ax4hj.js.gz +0 -0
  113. package/dist/masonry.plugin-CKPCoYcs.js.br +0 -0
  114. package/dist/masonry.plugin-CKPCoYcs.js.gz +0 -0
  115. package/dist/mitt-CqW9zFaX.js.br +0 -0
  116. package/dist/mitt-CqW9zFaX.js.gz +0 -0
  117. package/dist/style-Tyu_krEp.js +0 -2340
  118. package/dist/style-Tyu_krEp.js.br +0 -0
  119. package/dist/style-Tyu_krEp.js.gz +0 -0
package/dist/event.js CHANGED
@@ -1,49 +1,43 @@
1
- import { d as M, u as _, s as q, c as Z, r as Ie, a as m, b as l, g as e, w as v, q as K, e as n, i as r, f as h, n as lt, h as s, t as o, F as N, v as R, o as ot, j as it, x as ue, y as st, z as S, A as rt, S as ct, k as dt, _ as ut, l as mt, m as vt, p as bt } from "./mitt-CqW9zFaX.js";
2
- import { G as gt } from "./style-Tyu_krEp.js";
3
- import { a as Ee, f as oe, g as X, h as Ae, B as kt, i as ae, l as ft, s as z, e as me, _ as G, I as le, j as yt, k as ve, u as Pe, m as ht, n as pt, o as Dt, p as J, T as de, O as Pt, q as Et, r as xe, C as $t, t as wt, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js";
4
- import { _ as Ot } from "./_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js";
5
- import { B as Tt, _ as Vt, R as Ft, L as Se, S as Nt, M as Lt, T as Ct, C as Bt, V as It, a as At } from "./masonry.plugin-CKPCoYcs.js";
6
- import { g as St, e as Rt, c as Mt, n as Ut, a as Oe, m as Te, b as Ve, d as Fe, f as Ne, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js";
7
- import { C as Gt, P as zt, a as Le } from "./CheckoutWindow-BMdnoHy9.js";
8
- import { E as qt } from "./EventAvailabilityForm-DP2s7m8v.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js";
10
- import { f as Yt } from "./index-DR2Ax4hj.js";
11
- function jt(t) {
12
- return (i) => {
13
- const k = (t ? Math[t] : Math.trunc)(i);
14
- return k === 0 ? 0 : k;
15
- };
16
- }
1
+ import { d as M, u as _, s as q, c as Z, r as Ie, a as m, b as l, g as e, w as v, q as K, e as n, i as r, f as y, n as lt, h as s, t as o, F as N, v as R, o as ot, j as it, x as ue, y as st, z as S, A as rt, S as dt, k as ct, _ as ut, l as mt, m as vt, p as bt } from "./mitt-CvmiLPAX.js";
2
+ import { G as gt } from "./style-DijlEV9B.js";
3
+ import { a as Ee, f as oe, g as X, h as Ae, B as kt, i as ae, l as ft, s as z, e as me, _ as G, I as le, j as yt, k as ve, u as Pe, m as ht, n as pt, o as Dt, p as J, T as ce, O as Pt, q as Et, r as xe, C as $t, t as wt, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js";
4
+ import { _ as Ot } from "./_.vue_vue_type_style_index_0_lang-C_u0UT6W.js";
5
+ import { B as Tt, _ as Vt, R as Ft, L as Se, S as Nt, M as Lt, T as Ct, C as Bt, V as It, a as At } from "./masonry.plugin-DDRglIja.js";
6
+ import { g as St, e as Rt, c as Mt, n as Ut, a as Oe, b as Ht, m as Te, d as Ve, f as Fe, h as Ne, _ as Gt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js";
7
+ import { C as zt, P as qt, a as Le } from "./CheckoutWindow-DbyK9q3i.js";
8
+ import { E as Yt } from "./EventAvailabilityForm-C12USIHw.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js";
10
+ import { f as jt } from "./index-D4nA_tEk.js";
17
11
  function Wt(t, i, a) {
18
- const k = St(), b = a?.locale ?? k.locale ?? Rt, f = Mt(t, i);
19
- if (isNaN(f))
12
+ const D = St(), b = a?.locale ?? D.locale ?? Rt, k = Mt(t, i);
13
+ if (isNaN(k))
20
14
  throw new RangeError("Invalid time value");
21
15
  const g = Object.assign({}, a, {
22
16
  addSuffix: a?.addSuffix,
23
- comparison: f
24
- }), [y, p] = Ut(
17
+ comparison: k
18
+ }), [f, h] = Ut(
25
19
  a?.in,
26
- ...f > 0 ? [i, t] : [t, i]
27
- ), P = jt("round"), $ = p.getTime() - y.getTime(), E = $ / Ne, T = Oe(p) - Oe(y), w = ($ - T) / Ne, O = a?.unit;
20
+ ...k > 0 ? [i, t] : [t, i]
21
+ ), P = Ht("round"), $ = h.getTime() - f.getTime(), E = $ / Ne, T = Oe(h) - Oe(f), w = ($ - T) / Ne, O = a?.unit;
28
22
  let u;
29
23
  if (E < 1 ? u = "second" : E < 60 ? u = "minute" : E < Te ? u = "hour" : w < Ve ? u = "day" : w < Fe ? u = "month" : u = "year", u === "second") {
30
- const D = P($ / 1e3);
31
- return b.formatDistance("xSeconds", D, g);
24
+ const p = P($ / 1e3);
25
+ return b.formatDistance("xSeconds", p, g);
32
26
  } else if (u === "minute") {
33
- const D = P(E);
34
- return b.formatDistance("xMinutes", D, g);
27
+ const p = P(E);
28
+ return b.formatDistance("xMinutes", p, g);
35
29
  } else if (u === "hour") {
36
- const D = P(E / 60);
37
- return b.formatDistance("xHours", D, g);
30
+ const p = P(E / 60);
31
+ return b.formatDistance("xHours", p, g);
38
32
  } else if (u === "day") {
39
- const D = P(w / Te);
40
- return b.formatDistance("xDays", D, g);
33
+ const p = P(w / Te);
34
+ return b.formatDistance("xDays", p, g);
41
35
  } else if (u === "month") {
42
- const D = P(w / Ve);
43
- return D === 12 && O !== "month" ? b.formatDistance("xYears", 1, g) : b.formatDistance("xMonths", D, g);
36
+ const p = P(w / Ve);
37
+ return p === 12 && O !== "month" ? b.formatDistance("xYears", 1, g) : b.formatDistance("xMonths", p, g);
44
38
  } else {
45
- const D = P(w / Fe);
46
- return b.formatDistance("xYears", D, g);
39
+ const p = P(w / Fe);
40
+ return b.formatDistance("xYears", p, g);
47
41
  }
48
42
  }
49
43
  const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ M({
@@ -71,21 +65,21 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
71
65
  callback: {}
72
66
  },
73
67
  setup(t) {
74
- const { t: i } = _(), a = t, { display: k } = Ee(), {
68
+ const { t: i } = _(), a = t, { display: D } = Ee(), {
75
69
  hideEventGuestAmount: b
76
70
  } = q(oe()), {
77
- maxNumberOfPeople: f,
71
+ maxNumberOfPeople: k,
78
72
  numberOfPeople: g,
79
- eventId: y,
80
- currentEventDate: p,
73
+ eventId: f,
74
+ currentEventDate: h,
81
75
  tableGroupId: P
82
76
  } = q(X()), {
83
77
  getTemplateAvailability: $,
84
78
  getEventAvailability: E,
85
79
  isEventListingLoading: T
86
- } = X(), { addToCart: w } = Ae(), O = Z(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), u = Ie(0), D = Z(() => T(a.listingId)), Y = () => {
80
+ } = X(), { addToCart: w } = Ae(), O = Z(() => a.maxGuests || a.maxOnlineReservationLimit || k.value || 1 / 0), u = Ie(0), p = Z(() => T(a.listingId)), Y = () => {
87
81
  if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
88
- k({
82
+ D({
89
83
  type: "error",
90
84
  message: i("alert.error.selectPeople")
91
85
  });
@@ -95,10 +89,10 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
95
89
  id: a.listingId,
96
90
  name: a.name,
97
91
  value: a.fromPrice || 0
98
- }), y.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
92
+ }), f.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
99
93
  }, B = () => {
100
94
  if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
101
- k({
95
+ D({
102
96
  type: "error",
103
97
  message: i("alert.error.selectPeople")
104
98
  });
@@ -108,7 +102,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
108
102
  id: a.listingId,
109
103
  name: a.name,
110
104
  value: a.fromPrice || 0
111
- }), y.value = a.listingId, P.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, E(a.callback);
105
+ }), f.value = a.listingId, P.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, E(a.callback);
112
106
  };
113
107
  return (C, U) => (l(), m(Tt, {
114
108
  type: "event",
@@ -122,7 +116,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
122
116
  "disable-deep-link": t.disableDeepLink
123
117
  }, {
124
118
  description: v(() => [
125
- K(C.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
119
+ K(C.$slots, "description", { maxNumberOfPeople: e(k) }, void 0, !0)
126
120
  ]),
127
121
  action: v(() => [
128
122
  K(C.$slots, "action", {}, () => [
@@ -145,12 +139,12 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
145
139
  "max-value": O.value
146
140
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
147
141
  n("div", Zt, [
148
- h(me, {
142
+ y(me, {
149
143
  label: t.soldOut ? e(i)("event.soldOut") : e(i)("event.bookNowButton"),
150
144
  disabled: t.soldOut,
151
- "is-loading": D.value,
145
+ "is-loading": p.value,
152
146
  "full-width": "",
153
- "sub-label": e(z)(e(p)),
147
+ "sub-label": e(z)(e(h)),
154
148
  onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() : Y())
155
149
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
156
150
  ])
@@ -160,7 +154,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
160
154
  _: 3
161
155
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
162
156
  }
163
- }), Re = /* @__PURE__ */ G(Qt, [["__scopeId", "data-v-bfd98c31"]]), Jt = { class: "konnectio-event-listing-information-new" };
157
+ }), Re = /* @__PURE__ */ G(Qt, [["__scopeId", "data-v-23ac9949"]]), Jt = { class: "konnectio-event-listing-information-new" };
164
158
  const Kt = {
165
159
  key: 1,
166
160
  class: "konnectio-pill-button"
@@ -191,9 +185,9 @@ const Kt = {
191
185
  },
192
186
  setup(t) {
193
187
  const i = t, { t: a } = _(), {
194
- hideEventLength: k,
188
+ hideEventLength: D,
195
189
  hideEventEndTime: b
196
- } = q(oe()), f = Z(() => {
190
+ } = q(oe()), k = Z(() => {
197
191
  if (!i.length)
198
192
  return;
199
193
  const g = i.length.split(":");
@@ -202,7 +196,7 @@ const Kt = {
202
196
  new Date(2e3, 0, 1, 0, 0, 0)
203
197
  );
204
198
  });
205
- return (g, y) => (l(), m(Re, {
199
+ return (g, f) => (l(), m(Re, {
206
200
  "listing-id": t.listingId,
207
201
  name: t.name,
208
202
  description: t.description,
@@ -224,19 +218,19 @@ const Kt = {
224
218
  }, null, 8, ["text"])) : r("", !0),
225
219
  n("ul", Jt, [
226
220
  r("", !0),
227
- !e(k) && f.value ? (l(), s("li", Kt, [
221
+ !e(D) && k.value ? (l(), s("li", Kt, [
228
222
  n("div", null, [
229
- h(le, {
223
+ y(le, {
230
224
  icon: "calendar-clock",
231
225
  color: "header"
232
226
  }),
233
227
  n("span", null, o(e(a)("event.lengthOfEvent")), 1)
234
228
  ]),
235
- n("span", null, o(f.value), 1)
229
+ n("span", null, o(k.value), 1)
236
230
  ])) : r("", !0),
237
231
  t.timeFrom ? (l(), s("li", Xt, [
238
232
  n("div", null, [
239
- h(le, {
233
+ y(le, {
240
234
  icon: "calendar-clock",
241
235
  color: "header"
242
236
  }),
@@ -252,7 +246,7 @@ const Kt = {
252
246
  _: 3
253
247
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "tracking-enabled", "callback"]));
254
248
  }
255
- }), be = /* @__PURE__ */ G(tn, [["__scopeId", "data-v-2ecac268"]]), nn = {
249
+ }), be = /* @__PURE__ */ G(tn, [["__scopeId", "data-v-40cbbf2c"]]), nn = {
256
250
  key: 0,
257
251
  class: "konnectio-event-grouped-listings-container"
258
252
  }, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ M({
@@ -268,12 +262,12 @@ const Kt = {
268
262
  r("", !0),
269
263
  n("ul", an, [
270
264
  (l(!0), s(N, null, R(t.events, ({
271
- id: k,
265
+ id: D,
272
266
  days: b,
273
- name: f,
267
+ name: k,
274
268
  timeFrom: g,
275
- timeTo: y,
276
- tableGroupId: p,
269
+ timeTo: f,
270
+ tableGroupId: h,
277
271
  description: P,
278
272
  soldOut: $,
279
273
  length: E,
@@ -281,20 +275,20 @@ const Kt = {
281
275
  maxOnlineReservationLimit: w,
282
276
  maxPaxPerReservation: O,
283
277
  useNumberOfProductsForPersons: u,
284
- maxTicketsLimit: D
278
+ maxTicketsLimit: p
285
279
  }) => (l(), m(be, {
286
- key: k,
280
+ key: D,
287
281
  type: "event",
288
- "listing-id": k,
289
- "table-group-id": p,
282
+ "listing-id": D,
283
+ "table-group-id": h,
290
284
  description: P,
291
- name: f,
285
+ name: k,
292
286
  length: E,
293
287
  gallery: T,
294
288
  days: b,
295
- "max-online-reservation-limit": O || w || D || void 0,
289
+ "max-online-reservation-limit": O || w || p || void 0,
296
290
  "time-from": g,
297
- "time-to": y,
291
+ "time-to": f,
298
292
  "sold-out": $,
299
293
  "use-number-of-products-for-persons": u,
300
294
  "tracking-enabled": t.trackingEnabled,
@@ -322,7 +316,7 @@ const Kt = {
322
316
  callback: t.callback
323
317
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
324
318
  }
325
- }), on = /* @__PURE__ */ G(ln, [["__scopeId", "data-v-20b8c0bd"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, cn = { class: "konnectio-warning-notice" }, dn = { key: 0 }, un = { key: 1 }, mn = /* @__PURE__ */ M({
319
+ }), on = /* @__PURE__ */ G(ln, [["__scopeId", "data-v-374ad034"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, dn = { class: "konnectio-warning-notice" }, cn = { key: 0 }, un = { key: 1 }, mn = /* @__PURE__ */ M({
326
320
  __name: "NextEvent",
327
321
  props: {
328
322
  name: {},
@@ -344,16 +338,16 @@ const Kt = {
344
338
  callback: { type: Function }
345
339
  },
346
340
  setup(t) {
347
- const { t: i } = _(), { updateEventDate: a } = Pe(), { display: k } = Ee(), b = Ie(), f = t;
341
+ const { t: i } = _(), { updateEventDate: a } = Pe(), { display: D } = Ee(), b = Ie(), k = t;
348
342
  function g() {
349
- b.value ? a(b.value) : k({
343
+ b.value ? a(b.value) : D({
350
344
  message: i("alert.error.selectDate"),
351
345
  type: "error"
352
346
  });
353
347
  }
354
- const y = Z(() => ht(f.fromDate, f.toDate) <= 1), p = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((P) => !pt(f.days).includes(P)));
348
+ const f = Z(() => ht(k.fromDate, k.toDate) <= 1), h = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((P) => !pt(k.days).includes(P)));
355
349
  return ot(() => {
356
- y.value && (b.value = new Date(f.fromDate));
350
+ f.value && (b.value = new Date(k.fromDate));
357
351
  }), (P, $) => (l(), m(be, {
358
352
  name: t.name,
359
353
  description: t.description,
@@ -377,28 +371,28 @@ const Kt = {
377
371
  action: v(() => [
378
372
  n("div", null, [
379
373
  n("div", sn, [
380
- h(Ht, {
374
+ y(Gt, {
381
375
  modelValue: b.value,
382
376
  "onUpdate:modelValue": $[0] || ($[0] = (E) => b.value = E),
383
377
  label: `${e(i)("event.selectDate")}*`,
384
378
  placeholder: e(i)("event.selectDate"),
385
379
  "icon-type": "fas",
386
380
  "icon-placement": "label",
387
- readonly: y.value,
381
+ readonly: f.value,
388
382
  "start-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
389
383
  "min-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
390
384
  "max-date": new Date(t.toDate),
391
- "disabled-week-days": p.value
385
+ "disabled-week-days": h.value
392
386
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
393
387
  n("div", rn, [
394
- h(me, {
388
+ y(me, {
395
389
  label: e(i)("availability.buttonLabel"),
396
390
  onClick: it(g, ["prevent"])
397
391
  }, null, 8, ["label"])
398
392
  ])
399
393
  ]),
400
- n("div", cn, [
401
- y.value ? (l(), s("span", dn, [
394
+ n("div", dn, [
395
+ f.value ? (l(), s("span", cn, [
402
396
  ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
403
397
  n("u", null, o(e(z)(t.fromDate)), 1)
404
398
  ])) : (l(), s("span", un, [
@@ -411,7 +405,7 @@ const Kt = {
411
405
  _: 1
412
406
  }, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
413
407
  }
414
- }), Ce = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-91ea584c"]]), vn = {
408
+ }), Ce = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-f6aed3b0"]]), vn = {
415
409
  key: 0,
416
410
  class: "konnectio-event-grouped-listings-container"
417
411
  }, bn = { class: "konnectio-event-grouped-listings" }, gn = /* @__PURE__ */ M({
@@ -427,12 +421,12 @@ const Kt = {
427
421
  r("", !0),
428
422
  n("ul", bn, [
429
423
  (l(!0), s(N, null, R(t.events, ({
430
- id: k,
424
+ id: D,
431
425
  days: b,
432
- name: f,
426
+ name: k,
433
427
  timeFrom: g,
434
- timeTo: y,
435
- fromDate: p,
428
+ timeTo: f,
429
+ fromDate: h,
436
430
  toDate: P,
437
431
  tableGroupId: $,
438
432
  description: E,
@@ -440,24 +434,24 @@ const Kt = {
440
434
  length: w,
441
435
  images: O,
442
436
  maxOnlineReservationLimit: u,
443
- maxPaxPerReservation: D,
437
+ maxPaxPerReservation: p,
444
438
  useNumberOfProductsForPersons: Y,
445
439
  maxTicketsLimit: B
446
440
  }) => (l(), m(Ce, {
447
- key: k,
441
+ key: D,
448
442
  type: "event",
449
- "listing-id": k,
443
+ "listing-id": D,
450
444
  "table-group-id": $,
451
445
  description: E,
452
- name: f,
446
+ name: k,
453
447
  length: w,
454
448
  gallery: O,
455
449
  days: b,
456
- "from-date": p,
450
+ "from-date": h,
457
451
  "to-date": P,
458
- "max-online-reservation-limit": D || u || B || void 0,
452
+ "max-online-reservation-limit": p || u || B || void 0,
459
453
  "time-from": g,
460
- "time-to": y,
454
+ "time-to": f,
461
455
  "sold-out": T,
462
456
  "use-number-of-products-for-persons": Y,
463
457
  "tracking-enabled": t.trackingEnabled,
@@ -485,7 +479,7 @@ const Kt = {
485
479
  callback: t.callback
486
480
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
487
481
  }
488
- }), kn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-dc867986"]]), fn = ["innerHTML"], yn = /* @__PURE__ */ M({
482
+ }), kn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-39263761"]]), fn = ["innerHTML"], yn = /* @__PURE__ */ M({
489
483
  __name: "FallbackEvent",
490
484
  props: {
491
485
  name: {},
@@ -499,7 +493,7 @@ const Kt = {
499
493
  },
500
494
  setup(t) {
501
495
  const { t: i } = _();
502
- return (a, k) => (l(), m(be, {
496
+ return (a, D) => (l(), m(be, {
503
497
  name: t.name,
504
498
  description: t.description,
505
499
  "from-date": t.fromDate,
@@ -519,7 +513,7 @@ const Kt = {
519
513
  _: 1
520
514
  }, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
521
515
  }
522
- }), hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-af0f6d2a"]]), pn = /* @__PURE__ */ M({
516
+ }), hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-0167deff"]]), pn = /* @__PURE__ */ M({
523
517
  __name: "Template",
524
518
  props: {
525
519
  name: {},
@@ -563,12 +557,12 @@ const Kt = {
563
557
  },
564
558
  setup(t) {
565
559
  const { t: i } = _(), a = st(), {
566
- areListingsAvailable: k,
560
+ areListingsAvailable: D,
567
561
  arrivalTime: b,
568
- numberOfPeople: f,
562
+ numberOfPeople: k,
569
563
  numberOfRooms: g,
570
- numberOfTotalDays: y,
571
- isTemplateEvent: p,
564
+ numberOfTotalDays: f,
565
+ isTemplateEvent: h,
572
566
  currentEventDate: P,
573
567
  length: $,
574
568
  fromDate: E,
@@ -576,7 +570,7 @@ const Kt = {
576
570
  getTemplateData: w,
577
571
  basePrice: O,
578
572
  totalPrice: u,
579
- weekendFee: D,
573
+ weekendFee: p,
580
574
  roomUpgrade: Y,
581
575
  discountCode: B,
582
576
  totalSelectedProducts: C,
@@ -589,10 +583,10 @@ const Kt = {
589
583
  "validate-discount-code": e(ge),
590
584
  "show-gift-card": t.showGiftCard,
591
585
  "show-terms-notice": t.showTermsNotice,
592
- "is-sidebar-loading": !e(k),
586
+ "is-sidebar-loading": !e(D),
593
587
  "base-price": e(O),
594
588
  "total-price": e(u),
595
- "weekend-fee": e(D),
589
+ "weekend-fee": e(p),
596
590
  "room-upgrade": e(Y),
597
591
  notice: e(ee),
598
592
  "prev-callback": t.prevCallback
@@ -607,41 +601,41 @@ const Kt = {
607
601
  ])) : r("", !0)
608
602
  ]),
609
603
  "reservation-summary": v(() => [
610
- e(p) ? r("", !0) : (l(), s("li", En, [
604
+ e(h) ? r("", !0) : (l(), s("li", En, [
611
605
  n("span", null, o(e(i)("general.date")), 1),
612
606
  n("b", null, o(e(z)(e(P))), 1)
613
607
  ])),
614
- e(f) > 0 ? (l(), s("li", $n, [
608
+ e(k) > 0 ? (l(), s("li", $n, [
615
609
  n("span", null, o(e(i)("event.numberOfGuests")), 1),
616
- n("b", null, o(e(f)), 1)
610
+ n("b", null, o(e(k)), 1)
617
611
  ])) : r("", !0),
618
- !e(p) && e(C) > 0 ? (l(), s("li", wn, [
612
+ !e(h) && e(C) > 0 ? (l(), s("li", wn, [
619
613
  n("span", null, o(e(i)("event.numberOfProducts")), 1),
620
614
  n("b", null, o(e(C)), 1)
621
615
  ])) : r("", !0),
622
- e(p) ? (l(), s(N, { key: 3 }, [
616
+ e(h) ? (l(), s(N, { key: 3 }, [
623
617
  n("li", null, [
624
618
  n("span", null, o(e(i)("booking.reservation.arrival")), 1),
625
619
  n("b", null, o(e(z)(e(E))), 1)
626
620
  ]),
627
621
  n("li", null, [
628
622
  n("span", null, o(e(i)("booking.reservation.departure")), 1),
629
- n("b", null, o(e(z)(e(E), e(y))), 1)
623
+ n("b", null, o(e(z)(e(E), e(f))), 1)
630
624
  ]),
631
625
  n("li", null, [
632
626
  n("span", null, o(e(i)("event.numberOfRooms")), 1),
633
627
  n("b", null, o(e(g)), 1)
634
628
  ]),
635
- e(y) > 0 ? (l(), s("li", xn, [
629
+ e(f) > 0 ? (l(), s("li", xn, [
636
630
  n("span", null, o(e(i)("event.numberOfDays")), 1),
637
- n("b", null, o(e(y)), 1)
631
+ n("b", null, o(e(f)), 1)
638
632
  ])) : r("", !0)
639
633
  ], 64)) : r("", !0),
640
- !e(p) && e(b) ? (l(), s("li", On, [
634
+ !e(h) && e(b) ? (l(), s("li", On, [
641
635
  n("span", null, o(e(i)("event.startOfEvent")), 1),
642
636
  n("b", null, o(e(ve)(e(b))), 1)
643
637
  ])) : r("", !0),
644
- !e(p) && e($) && !e(ke) ? (l(), s("li", Tn, [
638
+ !e(h) && e($) && !e(ke) ? (l(), s("li", Tn, [
645
639
  n("span", null, o(e(i)("event.lengthOfEvent")), 1),
646
640
  n("b", null, o(e(ve)(e($))), 1)
647
641
  ])) : r("", !0),
@@ -651,7 +645,7 @@ const Kt = {
651
645
  ])) : r("", !0)
652
646
  ]),
653
647
  "price-summary": v(() => [
654
- !e(p) && e(T) > 0 ? (l(), s("li", Fn, [
648
+ !e(h) && e(T) > 0 ? (l(), s("li", Fn, [
655
649
  n("span", null, o(e(i)("booking.availability.basePrice")), 1),
656
650
  n("b", null, o(e(J)(e(T), e(se))), 1)
657
651
  ])) : r("", !0),
@@ -666,14 +660,14 @@ const Kt = {
666
660
  K(te.$slots, "navigation", {}, void 0, !0)
667
661
  ]),
668
662
  "mobile-under-price": v(() => [
669
- e(p) && e(y) > 0 ? (l(), s("div", Nn, [
670
- n("span", null, o(e(z)(e(E))) + " - " + o(e(z)(e(E), e(y))), 1)
663
+ e(h) && e(f) > 0 ? (l(), s("div", Nn, [
664
+ n("span", null, o(e(z)(e(E))) + " - " + o(e(z)(e(E), e(f))), 1)
671
665
  ])) : (l(), s("div", Ln, [
672
666
  n("span", null, o(e(z)(e(P))), 1)
673
667
  ]))
674
668
  ]),
675
669
  "mobile-summary": v(() => [
676
- !e(p) && e(C) > 0 ? (l(), s("span", Cn, o(e(i)("event.numberOfProducts")) + ": " + o(e(C)), 1)) : r("", !0)
670
+ !e(h) && e(C) > 0 ? (l(), s("span", Cn, o(e(i)("event.numberOfProducts")) + ": " + o(e(C)), 1)) : r("", !0)
677
671
  ]),
678
672
  _: 2
679
673
  }, [
@@ -686,20 +680,20 @@ const Kt = {
686
680
  } : void 0
687
681
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
688
682
  }
689
- }), De = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-c1e1c642"]]), In = { class: "event-skeleton" }, An = { class: "event-skeleton-content" }, Sn = { class: "event-skeleton-sidebar" }, Rn = /* @__PURE__ */ M({
683
+ }), De = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-d2ff3f68"]]), In = { class: "event-skeleton" }, An = { class: "event-skeleton-content" }, Sn = { class: "event-skeleton-sidebar" }, Rn = /* @__PURE__ */ M({
690
684
  __name: "EventSkeleton",
691
685
  setup(t) {
692
686
  return (i, a) => (l(), s("div", In, [
693
687
  n("div", An, [
694
- h(Se)
688
+ y(Se)
695
689
  ]),
696
690
  n("div", Sn, [
697
691
  r("", !0),
698
- h(Nt)
692
+ y(Nt)
699
693
  ])
700
694
  ]));
701
695
  }
702
- }), Mn = /* @__PURE__ */ G(Rn, [["__scopeId", "data-v-af0e7efb"]]), Un = {
696
+ }), Mn = /* @__PURE__ */ G(Rn, [["__scopeId", "data-v-3e15c4e3"]]), Un = {
703
697
  key: 0,
704
698
  id: "konnectio-event-listings-wrapper"
705
699
  }, Hn = {
@@ -728,12 +722,12 @@ const Kt = {
728
722
  },
729
723
  setup(t) {
730
724
  const i = t, { t: a } = _(), {
731
- addons: k,
725
+ addons: D,
732
726
  products: b,
733
- numberOfDays: f,
727
+ numberOfDays: k,
734
728
  flagOnTable: g,
735
- numberOfHighChairs: y,
736
- name: p,
729
+ numberOfHighChairs: f,
730
+ name: h,
737
731
  phone: P,
738
732
  email: $,
739
733
  remark: E,
@@ -741,7 +735,7 @@ const Kt = {
741
735
  arrivalTime: w,
742
736
  hasEvents: O,
743
737
  hasTemplates: u,
744
- getEvents: D,
738
+ getEvents: p,
745
739
  getTemplates: Y,
746
740
  getEventData: B,
747
741
  getTemplateData: C,
@@ -758,7 +752,7 @@ const Kt = {
758
752
  getUnavailableEvents: W,
759
753
  hasFallbackEvents: $e,
760
754
  getFallbackEvents: Me
761
- } = q(X()), { currency: ce, enableTracking: ne } = q(oe()), { setActiveIdFilter: Ue } = oe(), { eventDate: He, eventLocation: Ge } = q(Pe()), { isValidRestaurantId: ze } = Pe(), {
755
+ } = q(X()), { currency: de, enableTracking: ne } = q(oe()), { setActiveIdFilter: Ue } = oe(), { eventDate: He, eventLocation: Ge } = q(Pe()), { isValidRestaurantId: ze } = Pe(), {
762
756
  initialize: qe,
763
757
  fetchListings: Ye,
764
758
  createBooking: je,
@@ -794,10 +788,10 @@ const Kt = {
794
788
  }
795
789
  ]), Xe = Z(() => {
796
790
  const L = [];
797
- return U.value && U.value.forEach((d) => {
798
- L.find((V) => V.value === d.time) || L.push({
799
- label: ve(d.time),
800
- value: d.time
791
+ return U.value && U.value.forEach((c) => {
792
+ L.find((V) => V.value === c.time) || L.push({
793
+ label: ve(c.time),
794
+ value: c.time
801
795
  });
802
796
  }), L;
803
797
  });
@@ -810,11 +804,11 @@ const Kt = {
810
804
  function tt() {
811
805
  const L = wt("history", {
812
806
  removeNullishValues: !0
813
- }), d = parseInt(L.rid), V = L.d, x = parseInt(L.eid);
807
+ }), c = parseInt(L.rid), V = L.d, x = parseInt(L.eid);
814
808
  if (V)
815
809
  if (xt(V)) {
816
- const c = new Date(V), I = c.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
817
- I >= H ? He.value = c : (fe({
810
+ const d = new Date(V), I = d.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
811
+ I >= H ? He.value = d : (fe({
818
812
  message: a("alert.error.invalidDateRange"),
819
813
  type: "error"
820
814
  }), L.d = void 0);
@@ -823,29 +817,29 @@ const Kt = {
823
817
  message: a("alert.error.wrongDateFormat"),
824
818
  type: "error"
825
819
  });
826
- isNaN(d) || (ze(d) ? Ge.value = d : (L.rid = void 0, fe({
820
+ isNaN(c) || (ze(c) ? Ge.value = c : (L.rid = void 0, fe({
827
821
  message: a("alert.error.hotelIdNotFound"),
828
822
  type: "error"
829
823
  }))), isNaN(x) || Ue(x), Ye();
830
824
  }
831
- return (L, d) => (l(), m($t, { styling: t.styling }, {
825
+ return (L, c) => (l(), m($t, { styling: t.styling }, {
832
826
  default: v(() => [
833
- (l(), m(ct, { onResolve: tt }, {
827
+ (l(), m(dt, { onResolve: tt }, {
834
828
  default: v(() => [
835
- h(Ot, {
829
+ y(Ot, {
836
830
  id: "konnectio-event-module",
837
831
  "access-token": t.accessToken,
838
832
  callback: e(qe)
839
833
  }, {
840
834
  default: v(() => [
841
- h(Lt, {
835
+ y(Lt, {
842
836
  steps: Ke.value,
843
837
  onReset: _e
844
838
  }, {
845
839
  availability: v(({ next: V }) => [
846
- h(De, null, {
840
+ y(De, null, {
847
841
  sidebar: v(() => [
848
- h(qt, {
842
+ y(Yt, {
849
843
  redirection: !1,
850
844
  "selected-location": Number(t.selectedLocation),
851
845
  "hide-locations": t.hideLocations === "yes"
@@ -855,7 +849,7 @@ const Kt = {
855
849
  e(ke) && e(ge) ? (l(), s("div", Un, [
856
850
  e($e) ? (l(!0), s(N, { key: 0 }, R(e(Me), ({
857
851
  id: x,
858
- name: c,
852
+ name: d,
859
853
  description: I,
860
854
  images: H
861
855
  }) => (l(), m(hn, {
@@ -863,13 +857,13 @@ const Kt = {
863
857
  type: "event",
864
858
  "listing-id": x,
865
859
  description: I,
866
- name: c,
860
+ name: d,
867
861
  gallery: H,
868
862
  "tracking-enabled": e(ne),
869
863
  callback: V
870
864
  }, null, 8, ["listing-id", "description", "name", "gallery", "tracking-enabled", "callback"]))), 128)) : r("", !0),
871
- e(D).length > 0 && e(W).length > 0 ? (l(), s("h2", Hn, [
872
- h(le, {
865
+ e(p).length > 0 && e(W).length > 0 ? (l(), s("h2", Hn, [
866
+ y(le, {
873
867
  icon: "calendar-clock",
874
868
  type: "fal",
875
869
  color: "header"
@@ -877,7 +871,7 @@ const Kt = {
877
871
  n("span", null, o(e(a)("event.availableNow")), 1)
878
872
  ])) : r("", !0),
879
873
  n("ul", Gn, [
880
- e(O) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, R(e(D), (x) => (l(), m(on, {
874
+ e(O) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, R(e(p), (x) => (l(), m(on, {
881
875
  name: x.name,
882
876
  events: x.events,
883
877
  "tracking-enabled": e(ne),
@@ -885,7 +879,7 @@ const Kt = {
885
879
  }, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : r("", !0),
886
880
  e(u) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, R(e(Y), ({
887
881
  id: x,
888
- name: c,
882
+ name: d,
889
883
  fromDate: I,
890
884
  toDate: H,
891
885
  minimumPersonCount: F,
@@ -895,7 +889,7 @@ const Kt = {
895
889
  }) => (l(), m(pn, {
896
890
  key: x,
897
891
  "listing-id": x,
898
- name: c,
892
+ name: d,
899
893
  images: he,
900
894
  description: ye,
901
895
  "from-date": I,
@@ -908,7 +902,7 @@ const Kt = {
908
902
  ]),
909
903
  e(W).length > 0 && t.onlyShow !== "templates" ? (l(), s(N, { key: 2 }, [
910
904
  n("h2", zn, [
911
- h(le, {
905
+ y(le, {
912
906
  icon: "calendar-circle-exclamation",
913
907
  type: "fal",
914
908
  color: "header"
@@ -946,14 +940,14 @@ const Kt = {
946
940
  ]),
947
941
  e(C) && e(C).length > 0 ? (l(), s("ul", Wn, [
948
942
  (l(!0), s(N, null, R(e(C), ({
949
- roomGroupId: c,
943
+ roomGroupId: d,
950
944
  addons: I,
951
945
  adultPerRoom: H
952
- }, F) => (l(), s("li", { key: c }, [
946
+ }, F) => (l(), s("li", { key: d }, [
953
947
  n("h5", null, [
954
948
  n("span", null, o(e(a)("booking.reservation.room")) + " #" + o(F + 1), 1),
955
- d[9] || (d[9] = ue(" (", -1)),
956
- h(le, {
949
+ c[9] || (c[9] = ue(" (", -1)),
950
+ y(le, {
957
951
  icon: "male",
958
952
  type: "fas",
959
953
  color: "header"
@@ -966,7 +960,7 @@ const Kt = {
966
960
  n("th", null, [
967
961
  n("span", null, o(e(a)("booking.reservation.addons")), 1)
968
962
  ]),
969
- d[10] || (d[10] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
963
+ c[10] || (c[10] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
970
964
  n("th", Qn, [
971
965
  n("span", null, o(e(a)("booking.availability.price")), 1)
972
966
  ])
@@ -982,35 +976,35 @@ const Kt = {
982
976
  }) => (l(), s("tr", { key: A }, [
983
977
  n("td", null, [
984
978
  n("b", null, o(he), 1),
985
- d[11] || (d[11] = n("br", null, null, -1)),
986
- n("span", null, o(e(J)(nt, e(ce))) + " " + o(e(Et)(at)), 1)
979
+ c[11] || (c[11] = n("br", null, null, -1)),
980
+ n("span", null, o(e(J)(nt, e(de))) + " " + o(e(Et)(at)), 1)
987
981
  ]),
988
982
  n("td", Jn, [
989
983
  ye === 3 ? (l(), m(ae, {
990
984
  key: 0,
991
- modelValue: e(k)[`${c}.${A}.${F}`],
992
- "onUpdate:modelValue": (pe) => e(k)[`${c}.${A}.${F}`] = pe,
985
+ modelValue: e(D)[`${d}.${A}.${F}`],
986
+ "onUpdate:modelValue": (pe) => e(D)[`${d}.${A}.${F}`] = pe,
993
987
  small: !0,
994
988
  "min-value": 0
995
989
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), m(Le, {
996
990
  key: 1,
997
- modelValue: e(k)[`${c}.${A}.${F}`],
998
- "onUpdate:modelValue": (pe) => e(k)[`${c}.${A}.${F}`] = pe,
991
+ modelValue: e(D)[`${d}.${A}.${F}`],
992
+ "onUpdate:modelValue": (pe) => e(D)[`${d}.${A}.${F}`] = pe,
999
993
  numeric: !0
1000
994
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1001
995
  ]),
1002
996
  n("td", Kn, [
1003
- n("span", null, o(e(J)(e(We)(A, c, F), e(ce))), 1)
997
+ n("span", null, o(e(J)(e(We)(A, d, F), e(de))), 1)
1004
998
  ])
1005
999
  ]))), 128))
1006
1000
  ]),
1007
1001
  n("tfoot", null, [
1008
1002
  n("tr", null, [
1009
- d[12] || (d[12] = n("td", null, null, -1)),
1010
- d[13] || (d[13] = n("td", null, null, -1)),
1003
+ c[12] || (c[12] = n("td", null, null, -1)),
1004
+ c[13] || (c[13] = n("td", null, null, -1)),
1011
1005
  n("td", Xn, [
1012
1006
  n("u", null, [
1013
- n("span", null, o(e(J)(e(Ze)(c, F), e(ce))), 1)
1007
+ n("span", null, o(e(J)(e(Ze)(d, F), e(de))), 1)
1014
1008
  ])
1015
1009
  ])
1016
1010
  ])
@@ -1020,18 +1014,18 @@ const Kt = {
1020
1014
  ])) : r("", !0),
1021
1015
  e(Q) ? (l(), s("table", _n, [
1022
1016
  n("tbody", null, [
1023
- (l(!0), s(N, null, R(e(B).products, ({ id: c, name: I, price: H, description: F }) => (l(), s("tr", { key: c }, [
1017
+ (l(!0), s(N, null, R(e(B).products, ({ id: d, name: I, price: H, description: F }) => (l(), s("tr", { key: d }, [
1024
1018
  n("td", ea, [
1025
1019
  n("b", null, [
1026
1020
  n("span", null, o(e(xe)(I)), 1)
1027
1021
  ]),
1028
1022
  F && F !== I ? (l(), s("span", ta, o(e(xe)(F)), 1)) : r("", !0),
1029
- n("u", null, o(e(J)(H, e(ce))), 1)
1023
+ n("u", null, o(e(J)(H, e(de))), 1)
1030
1024
  ]),
1031
1025
  n("td", na, [
1032
- h(ae, {
1033
- modelValue: e(b)[c],
1034
- "onUpdate:modelValue": (A) => e(b)[c] = A,
1026
+ y(ae, {
1027
+ modelValue: e(b)[d],
1028
+ "onUpdate:modelValue": (A) => e(b)[d] = A,
1035
1029
  small: !0,
1036
1030
  "min-value": 0
1037
1031
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -1042,7 +1036,7 @@ const Kt = {
1042
1036
  ])
1043
1037
  ]),
1044
1038
  navigation: v(() => [
1045
- h(me, {
1039
+ y(me, {
1046
1040
  label: e(a)("event.startReservation"),
1047
1041
  disabled: !e(j),
1048
1042
  "full-width": "",
@@ -1053,7 +1047,7 @@ const Kt = {
1053
1047
  }, 1032, ["prev-callback"])) : r("", !0)
1054
1048
  ]),
1055
1049
  reservation: v(({ next: V, prev: x }) => [
1056
- h(De, {
1050
+ y(De, {
1057
1051
  "show-terms-notice": !0,
1058
1052
  "show-gift-card": !0,
1059
1053
  "prev-callback": () => e(we)(x)
@@ -1063,18 +1057,18 @@ const Kt = {
1063
1057
  n("h2", null, [
1064
1058
  n("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
1065
1059
  ]),
1066
- h(de, {
1067
- modelValue: e(p),
1068
- "onUpdate:modelValue": d[0] || (d[0] = (c) => S(p) ? p.value = c : null),
1060
+ y(ce, {
1061
+ modelValue: e(h),
1062
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => S(h) ? h.value = d : null),
1069
1063
  type: "text",
1070
1064
  label: e(a)("booking.reservation.name"),
1071
1065
  icon: "user-alt",
1072
1066
  placeholder: e(a)("booking.reservation.namePlaceholder"),
1073
1067
  required: ""
1074
1068
  }, null, 8, ["modelValue", "label", "placeholder"]),
1075
- h(de, {
1069
+ y(ce, {
1076
1070
  modelValue: e($),
1077
- "onUpdate:modelValue": d[1] || (d[1] = (c) => S($) ? $.value = c : null),
1071
+ "onUpdate:modelValue": c[1] || (c[1] = (d) => S($) ? $.value = d : null),
1078
1072
  label: e(a)("booking.reservation.email"),
1079
1073
  type: "email",
1080
1074
  name: "email",
@@ -1083,9 +1077,9 @@ const Kt = {
1083
1077
  placeholder: e(a)("booking.reservation.emailPlaceholder"),
1084
1078
  required: ""
1085
1079
  }, null, 8, ["modelValue", "label", "placeholder"]),
1086
- h(zt, {
1080
+ y(qt, {
1087
1081
  modelValue: e(P),
1088
- "onUpdate:modelValue": d[2] || (d[2] = (c) => S(P) ? P.value = c : null),
1082
+ "onUpdate:modelValue": c[2] || (c[2] = (d) => S(P) ? P.value = d : null),
1089
1083
  label: e(a)("booking.reservation.phone"),
1090
1084
  icon: "phone-office",
1091
1085
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
@@ -1094,7 +1088,7 @@ const Kt = {
1094
1088
  e(re) ? (l(), m(Bt, {
1095
1089
  key: 0,
1096
1090
  modelValue: e(w),
1097
- "onUpdate:modelValue": d[3] || (d[3] = (c) => S(w) ? w.value = c : null),
1091
+ "onUpdate:modelValue": c[3] || (c[3] = (d) => S(w) ? w.value = d : null),
1098
1092
  label: e(a)("event.selectArrivalTime"),
1099
1093
  name: "eventTimeTable",
1100
1094
  checkboxes: Xe.value,
@@ -1102,16 +1096,16 @@ const Kt = {
1102
1096
  }, null, 8, ["modelValue", "label", "checkboxes"])) : r("", !0),
1103
1097
  e(ie) === e(Pt).FullDayEvent ? (l(), m(ae, {
1104
1098
  key: 1,
1105
- modelValue: e(f),
1106
- "onUpdate:modelValue": d[4] || (d[4] = (c) => S(f) ? f.value = c : null),
1099
+ modelValue: e(k),
1100
+ "onUpdate:modelValue": c[4] || (c[4] = (d) => S(k) ? k.value = d : null),
1107
1101
  label: e(a)("event.numberOfDays"),
1108
1102
  "min-value": 1,
1109
1103
  required: ""
1110
1104
  }, null, 8, ["modelValue", "label"])) : r("", !0),
1111
1105
  t.showHighChairs === "yes" ? (l(), m(ae, {
1112
1106
  key: 2,
1113
- modelValue: e(y),
1114
- "onUpdate:modelValue": d[5] || (d[5] = (c) => S(y) ? y.value = c : null),
1107
+ modelValue: e(f),
1108
+ "onUpdate:modelValue": c[5] || (c[5] = (d) => S(f) ? f.value = d : null),
1115
1109
  label: e(a)("event.numberOfHighChairs"),
1116
1110
  icon: "baby",
1117
1111
  "no-optional-label": !1
@@ -1119,22 +1113,22 @@ const Kt = {
1119
1113
  t.showFlagOnTable === "yes" ? (l(), m(Le, {
1120
1114
  key: 3,
1121
1115
  modelValue: e(g),
1122
- "onUpdate:modelValue": d[6] || (d[6] = (c) => S(g) ? g.value = c : null),
1116
+ "onUpdate:modelValue": c[6] || (c[6] = (d) => S(g) ? g.value = d : null),
1123
1117
  label: e(a)("event.flagOnTable")
1124
1118
  }, null, 8, ["modelValue", "label"])) : r("", !0),
1125
- t.hideRemarks !== "yes" ? (l(), m(de, {
1119
+ t.hideRemarks !== "yes" ? (l(), m(ce, {
1126
1120
  key: 4,
1127
1121
  modelValue: e(E),
1128
- "onUpdate:modelValue": d[7] || (d[7] = (c) => S(E) ? E.value = c : null),
1122
+ "onUpdate:modelValue": c[7] || (c[7] = (d) => S(E) ? E.value = d : null),
1129
1123
  type: "textarea",
1130
1124
  label: e(a)("booking.reservation.remark"),
1131
1125
  icon: "info-circle",
1132
1126
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
1133
1127
  }, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0),
1134
- t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), m(de, {
1128
+ t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), m(ce, {
1135
1129
  key: 5,
1136
1130
  modelValue: e(T),
1137
- "onUpdate:modelValue": d[8] || (d[8] = (c) => S(T) ? T.value = c : null),
1131
+ "onUpdate:modelValue": c[8] || (c[8] = (d) => S(T) ? T.value = d : null),
1138
1132
  type: "textarea",
1139
1133
  label: e(a)("booking.reservation.allergies"),
1140
1134
  icon: "allergies",
@@ -1143,22 +1137,22 @@ const Kt = {
1143
1137
  ])
1144
1138
  ]),
1145
1139
  navigation: v(() => [
1146
- h(me, {
1140
+ y(me, {
1147
1141
  label: e(a)("general.confirmReservation"),
1148
1142
  "is-loading": e(ee),
1149
1143
  disabled: !e(te),
1150
1144
  "full-width": "",
1151
- onClickEvent: (c) => et(V)
1145
+ onClickEvent: (d) => et(V)
1152
1146
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
1153
1147
  ]),
1154
1148
  _: 2
1155
1149
  }, 1032, ["prev-callback"])
1156
1150
  ]),
1157
1151
  payment: v(() => [
1158
- h(Gt)
1152
+ y(zt)
1159
1153
  ]),
1160
1154
  confirmation: v(() => [
1161
- h(Ct, {
1155
+ y(Ct, {
1162
1156
  message: e(a)("event.confirmationMessage")
1163
1157
  }, null, 8, ["message"])
1164
1158
  ]),
@@ -1169,7 +1163,7 @@ const Kt = {
1169
1163
  }, 8, ["access-token", "callback"])
1170
1164
  ]),
1171
1165
  fallback: v(() => [
1172
- h(Mn)
1166
+ y(Mn)
1173
1167
  ]),
1174
1168
  _: 1
1175
1169
  }))
@@ -1177,7 +1171,7 @@ const Kt = {
1177
1171
  _: 1
1178
1172
  }, 8, ["styling"]));
1179
1173
  }
1180
- }), Be = /* @__PURE__ */ G(la, [["__scopeId", "data-v-ca0645a8"]]), oa = dt(), ia = ut, sa = ia();
1174
+ }), Be = /* @__PURE__ */ G(la, [["__scopeId", "data-v-c8565d9c"]]), oa = ct(), ia = ut, sa = ia();
1181
1175
  class ra extends HTMLElement {
1182
1176
  vueApp;
1183
1177
  constructor() {
@@ -1188,7 +1182,7 @@ class ra extends HTMLElement {
1188
1182
  }
1189
1183
  connectedCallback() {
1190
1184
  const i = mt(Be, this.attributes);
1191
- this.vueApp = vt(Be, i), this.vueApp.provide("emitter", sa), this.vueApp.use(Yt), this.vueApp.use(bt), this.vueApp.use(oa), this.vueApp.use(It), this.vueApp.use(gt), this.vueApp.use(At);
1185
+ this.vueApp = vt(Be, i), this.vueApp.provide("emitter", sa), this.vueApp.use(jt), this.vueApp.use(bt), this.vueApp.use(oa), this.vueApp.use(It), this.vueApp.use(gt), this.vueApp.use(At);
1192
1186
  const a = document.createElement("div");
1193
1187
  this.vueApp.mount(a), this.appendChild(a.children[0]);
1194
1188
  }