@konnectio/core 4.2.0 → 4.2.2

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-Cei5VUkT.js → ActionField-D4-xFqsi.js} +2 -2
  2. package/dist/ActionField-D4-xFqsi.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BAgiQvYR.js → AvailabilitySkeleton-PECkwtXv.js} +5 -5
  4. package/dist/AvailabilitySkeleton-PECkwtXv.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CZHXl0PQ.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js.br +0 -0
  7. package/dist/{CheckoutWindow-DmfjZCEl.js → CheckoutWindow-BiVijMff.js} +2 -2
  8. package/dist/CheckoutWindow-BiVijMff.js.br +0 -0
  9. package/dist/{ErrorMessage-CoskusRs.js → ErrorMessage-CA9UHGeN.js} +2 -2
  10. package/dist/ErrorMessage-CA9UHGeN.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BWu9C9SD.js → EventAvailabilityForm-BegeTLnc.js} +3 -3
  12. package/dist/EventAvailabilityForm-BegeTLnc.js.br +0 -0
  13. package/dist/{Field-Bhrt8_SZ.js → Field-BkQsgaIV.js} +3 -3
  14. package/dist/Field-BkQsgaIV.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DyIhtXFf.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-ysPyDXQ-.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BNBhMRxK.js → SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js} +808 -804
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js.br +0 -0
  18. package/dist/{TermsOfService-DibOjEFL.js → TermsOfService-DEMDueQM.js} +3 -3
  19. package/dist/_-DXRM8SN0.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BrtUPaN9.js → _.vue_vue_type_style_index_0_lang-CqZnPVm4.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 +232 -228
  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-yaW_7V8M.js → giftCard-DsZ5JsJN.js} +2 -2
  34. package/dist/giftCard-DsZ5JsJN.js.br +0 -0
  35. package/dist/hotel.js +1073 -1072
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-DlwFce-7.js → masonry.plugin-B7soNeYB.js} +5 -5
  38. package/dist/masonry.plugin-B7soNeYB.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-Cei5VUkT.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-BAgiQvYR.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CZHXl0PQ.js.br +0 -0
  45. package/dist/CheckoutWindow-DmfjZCEl.js.br +0 -0
  46. package/dist/ErrorMessage-CoskusRs.js.br +0 -0
  47. package/dist/EventAvailabilityForm-BWu9C9SD.js.br +0 -0
  48. package/dist/Field-Bhrt8_SZ.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-BNBhMRxK.js.br +0 -0
  50. package/dist/_-BsBWeVw0.js +0 -5
  51. package/dist/giftCard-yaW_7V8M.js.br +0 -0
  52. package/dist/masonry.plugin-DlwFce-7.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,48 +1,48 @@
1
- import { d as q, u as oe, s as z, c as W, r as Fe, a as P, b as o, g as e, w as m, q as J, e as t, n as xe, i as c, f as p, h as r, t as l, F as S, v as U, o as et, j as tt, x as de, y as nt, z as M, A as at, S as ot, k as lt, _ as st, l as it, m as rt, p as ut } from "./mitt-CgrYtI2g.js";
2
- import { a as Pe, f as ae, g as K, B as dt, h as ue, l as ct, s as G, e as ce, _ as Z, I as ne, i as mt, j as me, u as he, k as pt, m as vt, n as bt, o as Q, T as re, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-BNBhMRxK.js";
1
+ import { d as q, u as oe, s as z, c as W, r as Fe, a as g, b as o, g as e, w as m, q as J, e as t, n as xe, i as c, f as v, h as r, t as l, F as C, v as U, o as et, j as tt, x as de, y as nt, z as M, A as at, S as ot, k as lt, _ as st, l as it, m as rt, p as ut } from "./mitt-CgrYtI2g.js";
2
+ import { a as Pe, f as ae, g as K, B as dt, h as ue, l as ct, s as G, e as ce, _ as Z, I as ne, i as mt, j as me, u as he, k as pt, m as vt, n as bt, o as Q, T as re, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js";
3
3
  import { G as Pt } from "./style-B_8a8HvR.js";
4
- import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-BrtUPaN9.js";
5
- import { B as wt, _ as _t, R as Et, L as Le, S as Ot, M as Vt, T as Tt, C as Nt, V as Ft, a as Lt } from "./masonry.plugin-DlwFce-7.js";
6
- import { g as Bt, e as Ct, c as St, n as At, a as _e, m as Ee, b as Oe, d as Ve, f as Te, _ as It } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CZHXl0PQ.js";
7
- import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-DmfjZCEl.js";
8
- import { E as Gt } from "./EventAvailabilityForm-BWu9C9SD.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DyIhtXFf.js";
10
- function zt($) {
4
+ import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-CqZnPVm4.js";
5
+ import { B as wt, _ as Et, R as _t, L as Le, S as Ot, M as Vt, T as Tt, C as Nt, V as Ft, a as Lt } from "./masonry.plugin-B7soNeYB.js";
6
+ import { g as Bt, e as At, c as Ct, n as St, a as Ee, m as _e, b as Oe, d as Ve, f as Te, _ as It } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js";
7
+ import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-BiVijMff.js";
8
+ import { E as Gt } from "./EventAvailabilityForm-BegeTLnc.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-ysPyDXQ-.js";
10
+ function zt(w) {
11
11
  return (n) => {
12
- const g = ($ ? Math[$] : Math.trunc)(n);
13
- return g === 0 ? 0 : g;
12
+ const k = (w ? Math[w] : Math.trunc)(n);
13
+ return k === 0 ? 0 : k;
14
14
  };
15
15
  }
16
- function qt($, n, a) {
17
- const g = Bt(), v = a?.locale ?? g.locale ?? Ct, b = St($, n);
16
+ function qt(w, n, a) {
17
+ const k = Bt(), p = a?.locale ?? k.locale ?? At, b = Ct(w, n);
18
18
  if (isNaN(b))
19
19
  throw new RangeError("Invalid time value");
20
20
  const i = Object.assign({}, a, {
21
21
  addSuffix: a?.addSuffix,
22
22
  comparison: b
23
- }), [f, k] = At(
23
+ }), [f, y] = St(
24
24
  a?.in,
25
- ...b > 0 ? [n, $] : [$, n]
26
- ), s = zt("round"), O = k.getTime() - f.getTime(), h = O / Te, L = _e(k) - _e(f), E = (O - L) / Te, V = a?.unit;
27
- let w;
28
- if (h < 1 ? w = "second" : h < 60 ? w = "minute" : h < Ee ? w = "hour" : E < Oe ? w = "day" : E < Ve ? w = "month" : w = "year", w === "second") {
29
- const D = s(O / 1e3);
30
- return v.formatDistance("xSeconds", D, i);
31
- } else if (w === "minute") {
32
- const D = s(h);
33
- return v.formatDistance("xMinutes", D, i);
34
- } else if (w === "hour") {
35
- const D = s(h / 60);
36
- return v.formatDistance("xHours", D, i);
37
- } else if (w === "day") {
38
- const D = s(E / Ee);
39
- return v.formatDistance("xDays", D, i);
40
- } else if (w === "month") {
41
- const D = s(E / Oe);
42
- return D === 12 && V !== "month" ? v.formatDistance("xYears", 1, i) : v.formatDistance("xMonths", D, i);
25
+ ...b > 0 ? [n, w] : [w, n]
26
+ ), s = zt("round"), O = y.getTime() - f.getTime(), P = O / Te, L = Ee(y) - Ee(f), _ = (O - L) / Te, V = a?.unit;
27
+ let E;
28
+ if (P < 1 ? E = "second" : P < 60 ? E = "minute" : P < _e ? E = "hour" : _ < Oe ? E = "day" : _ < Ve ? E = "month" : E = "year", E === "second") {
29
+ const $ = s(O / 1e3);
30
+ return p.formatDistance("xSeconds", $, i);
31
+ } else if (E === "minute") {
32
+ const $ = s(P);
33
+ return p.formatDistance("xMinutes", $, i);
34
+ } else if (E === "hour") {
35
+ const $ = s(P / 60);
36
+ return p.formatDistance("xHours", $, i);
37
+ } else if (E === "day") {
38
+ const $ = s(_ / _e);
39
+ return p.formatDistance("xDays", $, i);
40
+ } else if (E === "month") {
41
+ const $ = s(_ / Oe);
42
+ return $ === 12 && V !== "month" ? p.formatDistance("xYears", 1, i) : p.formatDistance("xMonths", $, i);
43
43
  } else {
44
- const D = s(E / Ve);
45
- return v.formatDistance("xYears", D, i);
44
+ const $ = s(_ / Ve);
45
+ return p.formatDistance("xYears", $, i);
46
46
  }
47
47
  }
48
48
  const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__ */ q({
@@ -69,22 +69,22 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
69
69
  disableDeepLink: { type: Boolean, default: !1 },
70
70
  callback: {}
71
71
  },
72
- setup($) {
73
- const { t: n } = oe(), a = $, { display: g } = Pe(), {
74
- hideEventGuestAmount: v
72
+ setup(w) {
73
+ const { t: n } = oe(), a = w, { display: k } = Pe(), {
74
+ hideEventGuestAmount: p
75
75
  } = z(ae()), {
76
76
  maxNumberOfPeople: b,
77
77
  numberOfPeople: i,
78
78
  eventId: f,
79
- currentEventDate: k,
79
+ currentEventDate: y,
80
80
  tableGroupId: s
81
81
  } = z(K()), {
82
82
  getTemplateAvailability: O,
83
- getEventAvailability: h,
83
+ getEventAvailability: P,
84
84
  isEventListingLoading: L
85
- } = K(), E = W(() => a.maxGuests || a.maxOnlineReservationLimit || b.value || 1 / 0), V = Fe(0), w = W(() => L(a.listingId)), D = () => {
85
+ } = K(), _ = W(() => a.maxGuests || a.maxOnlineReservationLimit || b.value || 1 / 0), V = Fe(0), E = W(() => L(a.listingId)), $ = () => {
86
86
  if (!a.useNumberOfProductsForPersons && (V.value === 0 || isNaN(V.value))) {
87
- g({
87
+ k({
88
88
  type: "error",
89
89
  message: n("alert.error.selectPeople")
90
90
  });
@@ -93,56 +93,56 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
93
93
  f.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value, O(a.callback);
94
94
  }, H = () => {
95
95
  if (!a.useNumberOfProductsForPersons && (V.value === 0 || isNaN(V.value))) {
96
- g({
96
+ k({
97
97
  type: "error",
98
98
  message: n("alert.error.selectPeople")
99
99
  });
100
100
  return;
101
101
  }
102
- f.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value, h(a.callback);
102
+ f.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value, P(a.callback);
103
103
  };
104
- return (y, C) => (o(), P(wt, {
104
+ return (h, A) => (o(), g(wt, {
105
105
  type: "event",
106
- "listing-id": y.listingId,
107
- gallery: y.gallery,
108
- name: y.name,
109
- description: y.description,
110
- "prices-from": y.fromPrice,
111
- "to-date": y.toDate,
106
+ "listing-id": h.listingId,
107
+ gallery: h.gallery,
108
+ name: h.name,
109
+ description: h.description,
110
+ "prices-from": h.fromPrice,
111
+ "to-date": h.toDate,
112
112
  layout: e(dt).Event,
113
- "disable-deep-link": y.disableDeepLink
113
+ "disable-deep-link": h.disableDeepLink
114
114
  }, {
115
115
  description: m(() => [
116
- J(y.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
116
+ J(h.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
117
117
  ]),
118
118
  action: m(() => [
119
- J(y.$slots, "action", {}, () => [
119
+ J(h.$slots, "action", {}, () => [
120
120
  t("div", {
121
121
  class: xe([
122
122
  "konnectio-event-listing-action",
123
- { "no-selectable-people": y.useNumberOfProductsForPersons }
123
+ { "no-selectable-people": h.useNumberOfProductsForPersons }
124
124
  ])
125
125
  }, [
126
- y.useNumberOfProductsForPersons ? c("", !0) : (o(), P(ue, {
126
+ h.useNumberOfProductsForPersons ? c("", !0) : (o(), g(ue, {
127
127
  key: 0,
128
128
  modelValue: V.value,
129
- "onUpdate:modelValue": C[0] || (C[0] = (Y) => V.value = Y),
129
+ "onUpdate:modelValue": A[0] || (A[0] = (Y) => V.value = Y),
130
130
  label: e(n)("event.numberOfGuests"),
131
131
  icon: "users",
132
132
  "icon-type": "fas",
133
133
  "icon-placement": "label",
134
- description: E.value <= 20 && !e(v) ? `${e(n)("general.availableFor")}: 1 - ${E.value} ${e(ct)(e(n)("general.guests"))}` : void 0,
134
+ description: _.value <= 20 && !e(p) ? `${e(n)("general.availableFor")}: 1 - ${_.value} ${e(ct)(e(n)("general.guests"))}` : void 0,
135
135
  "min-value": 0,
136
- "max-value": E.value
136
+ "max-value": _.value
137
137
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
138
138
  t("div", Ht, [
139
- p(ce, {
140
- label: y.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
141
- disabled: y.soldOut,
142
- "is-loading": w.value,
139
+ v(ce, {
140
+ label: h.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
141
+ disabled: h.soldOut,
142
+ "is-loading": E.value,
143
143
  "full-width": "",
144
- "sub-label": e(G)(e(k)),
145
- onClickEvent: C[1] || (C[1] = (Y) => y.type === "event" ? H() : D())
144
+ "sub-label": e(G)(e(y)),
145
+ onClickEvent: A[1] || (A[1] = (Y) => h.type === "event" ? H() : $())
146
146
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
147
147
  ])
148
148
  ], 2)
@@ -177,10 +177,10 @@ const Wt = {
177
177
  trackingEnabled: { type: Boolean },
178
178
  callback: {}
179
179
  },
180
- setup($) {
181
- const n = $, { t: a } = oe(), {
182
- hideEventLength: g,
183
- hideEventEndTime: v
180
+ setup(w) {
181
+ const n = w, { t: a } = oe(), {
182
+ hideEventLength: k,
183
+ hideEventEndTime: p
184
184
  } = z(ae()), b = W(() => {
185
185
  const i = n.length.split(":");
186
186
  return qt(
@@ -188,7 +188,7 @@ const Wt = {
188
188
  new Date(2e3, 0, 1, 0, 0, 0)
189
189
  );
190
190
  });
191
- return (i, f) => (o(), P(Be, {
191
+ return (i, f) => (o(), g(Be, {
192
192
  "listing-id": i.listingId,
193
193
  name: i.name,
194
194
  description: i.description,
@@ -203,15 +203,15 @@ const Wt = {
203
203
  callback: i.callback
204
204
  }, {
205
205
  description: m(() => [
206
- i.description ? (o(), P(_t, {
206
+ i.description ? (o(), g(Et, {
207
207
  key: 0,
208
208
  text: i.description
209
209
  }, null, 8, ["text"])) : c("", !0),
210
210
  t("ul", jt, [
211
211
  c("", !0),
212
- e(g) ? c("", !0) : (o(), r("li", Wt, [
212
+ e(k) ? c("", !0) : (o(), r("li", Wt, [
213
213
  t("div", null, [
214
- p(ne, {
214
+ v(ne, {
215
215
  icon: "calendar-clock",
216
216
  color: "header"
217
217
  }),
@@ -221,13 +221,13 @@ const Wt = {
221
221
  ])),
222
222
  t("li", Zt, [
223
223
  t("div", null, [
224
- p(ne, {
224
+ v(ne, {
225
225
  icon: "calendar-clock",
226
226
  color: "header"
227
227
  }),
228
228
  t("span", null, l(e(a)("event.startAndEndTime")), 1)
229
229
  ]),
230
- e(v) ? (o(), r("span", Jt, l(e(me)(i.timeFrom)), 1)) : (o(), r("span", Qt, l(e(mt)(i.timeFrom, i.timeTo)), 1))
230
+ e(p) ? (o(), r("span", Jt, l(e(me)(i.timeFrom)), 1)) : (o(), r("span", Qt, l(e(mt)(i.timeFrom, i.timeTo)), 1))
231
231
  ])
232
232
  ])
233
233
  ]),
@@ -247,44 +247,44 @@ const Wt = {
247
247
  events: {},
248
248
  callback: { type: Function }
249
249
  },
250
- setup($) {
250
+ setup(w) {
251
251
  return (n, a) => n.events && n.events.length > 1 ? (o(), r("div", Xt, [
252
252
  c("", !0),
253
253
  t("ul", xt, [
254
- (o(!0), r(S, null, U(n.events, ({
255
- id: g,
256
- days: v,
254
+ (o(!0), r(C, null, U(n.events, ({
255
+ id: k,
256
+ days: p,
257
257
  name: b,
258
258
  timeFrom: i,
259
259
  timeTo: f,
260
- tableGroupId: k,
260
+ tableGroupId: y,
261
261
  description: s,
262
262
  soldOut: O,
263
- length: h,
263
+ length: P,
264
264
  images: L,
265
- maxOnlineReservationLimit: E,
265
+ maxOnlineReservationLimit: _,
266
266
  maxPaxPerReservation: V,
267
- useNumberOfProductsForPersons: w,
268
- maxTicketsLimit: D
269
- }) => (o(), P(De, {
270
- key: g,
267
+ useNumberOfProductsForPersons: E,
268
+ maxTicketsLimit: $
269
+ }) => (o(), g(De, {
270
+ key: k,
271
271
  type: "event",
272
- "listing-id": g,
273
- "table-group-id": k,
272
+ "listing-id": k,
273
+ "table-group-id": y,
274
274
  description: s,
275
275
  name: b,
276
- length: h,
276
+ length: P,
277
277
  gallery: L,
278
- days: v,
279
- "max-online-reservation-limit": V || E || D,
278
+ days: p,
279
+ "max-online-reservation-limit": V || _ || $,
280
280
  "time-from": i,
281
281
  "time-to": f,
282
282
  "sold-out": O,
283
- "use-number-of-products-for-persons": w,
283
+ "use-number-of-products-for-persons": E,
284
284
  callback: n.callback
285
285
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
286
286
  ])
287
- ])) : n.events ? (o(), P(De, {
287
+ ])) : n.events ? (o(), g(De, {
288
288
  key: n.events[0].id,
289
289
  type: "event",
290
290
  "listing-id": n.events[0].id,
@@ -325,18 +325,18 @@ const Wt = {
325
325
  trackingEnabled: { type: Boolean },
326
326
  callback: { type: Function }
327
327
  },
328
- setup($) {
329
- const { t: n } = oe(), { updateEventDate: a } = he(), { display: g } = Pe(), v = Fe(), b = $;
328
+ setup(w) {
329
+ const { t: n } = oe(), { updateEventDate: a } = he(), { display: k } = Pe(), p = Fe(), b = w;
330
330
  function i() {
331
- v.value ? a(v.value) : g({
331
+ p.value ? a(p.value) : k({
332
332
  message: n("alert.error.selectDate"),
333
333
  type: "error"
334
334
  });
335
335
  }
336
- const f = W(() => pt(b.fromDate, b.toDate) <= 1), k = W(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(b.days).includes(s)));
336
+ const f = W(() => pt(b.fromDate, b.toDate) <= 1), y = W(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(b.days).includes(s)));
337
337
  return et(() => {
338
- f.value && (v.value = new Date(b.fromDate));
339
- }), (s, O) => (o(), P(De, {
338
+ f.value && (p.value = new Date(b.fromDate));
339
+ }), (s, O) => (o(), g(De, {
340
340
  name: s.name,
341
341
  description: s.description,
342
342
  "from-date": s.fromDate,
@@ -359,9 +359,9 @@ const Wt = {
359
359
  action: m(() => [
360
360
  t("div", null, [
361
361
  t("div", nn, [
362
- p(It, {
363
- modelValue: v.value,
364
- "onUpdate:modelValue": O[0] || (O[0] = (h) => v.value = h),
362
+ v(It, {
363
+ modelValue: p.value,
364
+ "onUpdate:modelValue": O[0] || (O[0] = (P) => p.value = P),
365
365
  label: `${e(n)("event.selectDate")}*`,
366
366
  placeholder: e(n)("event.selectDate"),
367
367
  "icon-type": "fas",
@@ -370,10 +370,10 @@ const Wt = {
370
370
  "start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
371
371
  "min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
372
372
  "max-date": new Date(s.toDate),
373
- "disabled-week-days": k.value
373
+ "disabled-week-days": y.value
374
374
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
375
375
  t("div", an, [
376
- p(ce, {
376
+ v(ce, {
377
377
  label: e(n)("availability.buttonLabel"),
378
378
  onClick: tt(i, ["prevent"])
379
379
  }, null, 8, ["label"])
@@ -409,8 +409,8 @@ const Wt = {
409
409
  trackingEnabled: { type: Boolean },
410
410
  callback: {}
411
411
  },
412
- setup($) {
413
- return (n, a) => (o(), P(Be, {
412
+ setup(w) {
413
+ return (n, a) => (o(), g(Be, {
414
414
  "listing-id": n.listingId,
415
415
  gallery: n.images,
416
416
  name: n.name,
@@ -431,36 +431,36 @@ const Wt = {
431
431
  showTermsNotice: { type: Boolean, default: !1 },
432
432
  prevCallback: {}
433
433
  },
434
- setup($) {
434
+ setup(w) {
435
435
  const { t: n } = oe(), a = nt(), {
436
- areListingsAvailable: g,
437
- arrivalTime: v,
436
+ areListingsAvailable: k,
437
+ arrivalTime: p,
438
438
  numberOfPeople: b,
439
439
  numberOfRooms: i,
440
440
  numberOfTotalDays: f,
441
- isTemplateEvent: k,
441
+ isTemplateEvent: y,
442
442
  currentEventDate: s,
443
443
  length: O,
444
- fromDate: h,
444
+ fromDate: P,
445
445
  tableBasePrice: L,
446
- getTemplateData: E,
446
+ getTemplateData: _,
447
447
  basePrice: V,
448
- totalPrice: w,
449
- weekendFee: D,
448
+ totalPrice: E,
449
+ weekendFee: $,
450
450
  roomUpgrade: H,
451
- discountCode: y,
452
- totalSelectedProducts: C
451
+ discountCode: h,
452
+ totalSelectedProducts: A
453
453
  } = z(K()), { totalAddonPrice: Y, validateDiscountCode: pe } = K(), { currency: le, hideEventLength: ve } = z(ae());
454
- return (R, se) => (o(), P(Et, {
455
- "discount-code": e(y),
456
- "onUpdate:discountCode": se[0] || (se[0] = (j) => M(y) ? y.value = j : null),
454
+ return (R, se) => (o(), g(_t, {
455
+ "discount-code": e(h),
456
+ "onUpdate:discountCode": se[0] || (se[0] = (j) => M(h) ? h.value = j : null),
457
457
  "validate-discount-code": e(pe),
458
458
  "show-gift-card": R.showGiftCard,
459
459
  "show-terms-notice": R.showTermsNotice,
460
- "is-sidebar-loading": !e(g),
460
+ "is-sidebar-loading": !e(k),
461
461
  "base-price": e(V),
462
- "total-price": e(w),
463
- "weekend-fee": e(D),
462
+ "total-price": e(E),
463
+ "weekend-fee": e($),
464
464
  "room-upgrade": e(H),
465
465
  notice: e(n)("event.reservationNotice"),
466
466
  "prev-callback": R.prevCallback
@@ -469,7 +469,7 @@ const Wt = {
469
469
  J(R.$slots, "form", {}, void 0, !0)
470
470
  ]),
471
471
  "reservation-summary": m(() => [
472
- e(k) ? c("", !0) : (o(), r("li", cn, [
472
+ e(y) ? c("", !0) : (o(), r("li", cn, [
473
473
  t("span", null, l(e(n)("general.date")), 1),
474
474
  t("b", null, l(e(G)(e(s))), 1)
475
475
  ])),
@@ -477,18 +477,18 @@ const Wt = {
477
477
  t("span", null, l(e(n)("event.numberOfGuests")), 1),
478
478
  t("b", null, l(e(b)), 1)
479
479
  ])) : c("", !0),
480
- !e(k) && e(C) > 0 ? (o(), r("li", pn, [
480
+ !e(y) && e(A) > 0 ? (o(), r("li", pn, [
481
481
  t("span", null, l(e(n)("event.numberOfProducts")), 1),
482
- t("b", null, l(e(C)), 1)
482
+ t("b", null, l(e(A)), 1)
483
483
  ])) : c("", !0),
484
- e(k) ? (o(), r(S, { key: 3 }, [
484
+ e(y) ? (o(), r(C, { key: 3 }, [
485
485
  t("li", null, [
486
486
  t("span", null, l(e(n)("booking.reservation.arrival")), 1),
487
- t("b", null, l(e(G)(e(h))), 1)
487
+ t("b", null, l(e(G)(e(P))), 1)
488
488
  ]),
489
489
  t("li", null, [
490
490
  t("span", null, l(e(n)("booking.reservation.departure")), 1),
491
- t("b", null, l(e(G)(e(h), e(f))), 1)
491
+ t("b", null, l(e(G)(e(P), e(f))), 1)
492
492
  ]),
493
493
  t("li", null, [
494
494
  t("span", null, l(e(n)("event.numberOfRooms")), 1),
@@ -499,21 +499,21 @@ const Wt = {
499
499
  t("b", null, l(e(f)), 1)
500
500
  ])) : c("", !0)
501
501
  ], 64)) : c("", !0),
502
- !e(k) && e(v) ? (o(), r("li", bn, [
502
+ !e(y) && e(p) ? (o(), r("li", bn, [
503
503
  t("span", null, l(e(n)("event.startOfEvent")), 1),
504
- t("b", null, l(e(me)(e(v))), 1)
504
+ t("b", null, l(e(me)(e(p))), 1)
505
505
  ])) : c("", !0),
506
- !e(k) && e(O) && !e(ve) ? (o(), r("li", fn, [
506
+ !e(y) && e(O) && !e(ve) ? (o(), r("li", fn, [
507
507
  t("span", null, l(e(n)("event.lengthOfEvent")), 1),
508
508
  t("b", null, l(e(me)(e(O))), 1)
509
509
  ])) : c("", !0)
510
510
  ]),
511
511
  "price-summary": m(() => [
512
- !e(k) && e(L) > 0 ? (o(), r("li", gn, [
512
+ !e(y) && e(L) > 0 ? (o(), r("li", gn, [
513
513
  t("span", null, l(e(n)("booking.availability.basePrice")), 1),
514
514
  t("b", null, l(e(Q)(e(L), e(le))), 1)
515
515
  ])) : c("", !0),
516
- e(E) ? (o(!0), r(S, { key: 1 }, U(e(E), ({ roomGroupId: j }, X) => (o(), r(S, null, [
516
+ e(_) ? (o(!0), r(C, { key: 1 }, U(e(_), ({ roomGroupId: j }, X) => (o(), r(C, null, [
517
517
  e(Y)(j, X) > 0 ? (o(), r("li", { key: j }, [
518
518
  t("span", null, l(e(n)("booking.reservation.addons")) + " - " + l(e(n)("booking.reservation.room")) + " #" + l(X + 1), 1),
519
519
  t("b", null, l(e(Q)(e(Y)(j, X), e(le))), 1)
@@ -524,14 +524,14 @@ const Wt = {
524
524
  J(R.$slots, "navigation", {}, void 0, !0)
525
525
  ]),
526
526
  "mobile-under-price": m(() => [
527
- e(k) && e(f) > 0 ? (o(), r("div", kn, [
528
- t("span", null, l(e(G)(e(h))) + " - " + l(e(G)(e(h), e(f))), 1)
527
+ e(y) && e(f) > 0 ? (o(), r("div", kn, [
528
+ t("span", null, l(e(G)(e(P))) + " - " + l(e(G)(e(P), e(f))), 1)
529
529
  ])) : (o(), r("div", yn, [
530
530
  t("span", null, l(e(G)(e(s))), 1)
531
531
  ]))
532
532
  ]),
533
533
  "mobile-summary": m(() => [
534
- !e(k) && e(C) > 0 ? (o(), r("span", hn, l(e(n)("event.numberOfProducts")) + ": " + l(e(C)), 1)) : c("", !0)
534
+ !e(y) && e(A) > 0 ? (o(), r("span", hn, l(e(n)("event.numberOfProducts")) + ": " + l(e(A)), 1)) : c("", !0)
535
535
  ]),
536
536
  _: 2
537
537
  }, [
@@ -544,29 +544,29 @@ const Wt = {
544
544
  } : void 0
545
545
  ]), 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"]));
546
546
  }
547
- }), ye = /* @__PURE__ */ Z(Dn, [["__scopeId", "data-v-9b28e490"]]), Pn = { class: "event-skeleton" }, $n = { class: "event-skeleton-content" }, wn = { class: "event-skeleton-sidebar" }, _n = /* @__PURE__ */ q({
547
+ }), ye = /* @__PURE__ */ Z(Dn, [["__scopeId", "data-v-9b28e490"]]), Pn = { class: "event-skeleton" }, $n = { class: "event-skeleton-content" }, wn = { class: "event-skeleton-sidebar" }, En = /* @__PURE__ */ q({
548
548
  __name: "EventSkeleton",
549
- setup($) {
549
+ setup(w) {
550
550
  return (n, a) => (o(), r("div", Pn, [
551
551
  t("div", $n, [
552
- p(Le)
552
+ v(Le)
553
553
  ]),
554
554
  t("div", wn, [
555
555
  c("", !0),
556
- p(Ot)
556
+ v(Ot)
557
557
  ])
558
558
  ]));
559
559
  }
560
- }), En = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-3e15c4e3"]]), On = {
560
+ }), _n = /* @__PURE__ */ Z(En, [["__scopeId", "data-v-3e15c4e3"]]), On = {
561
561
  key: 0,
562
562
  id: "konnectio-event-listings-wrapper"
563
563
  }, Vn = {
564
564
  key: 0,
565
565
  class: "konnectio-hotel-availability-title"
566
- }, Tn = { class: "konnectio-event-listings" }, Nn = { class: "konnectio-hotel-availability-title" }, Fn = { class: "konnectio-event-listings" }, Ln = ["innerHTML"], Bn = { class: "konnectio-panel" }, Cn = {
566
+ }, Tn = { class: "konnectio-event-listings" }, Nn = { class: "konnectio-hotel-availability-title" }, Fn = { class: "konnectio-event-listings" }, Ln = ["innerHTML"], Bn = { class: "konnectio-panel" }, An = {
567
567
  key: 0,
568
568
  id: "konnectio-event-addons"
569
- }, Sn = { class: "konnectio-table with-lines" }, An = { class: "konnectio-event-addons-price" }, In = { class: "konnectio-event-addons-input" }, Rn = { class: "konnectio-event-addons-price" }, Mn = { class: "konnectio-event-addons-price" }, Un = {
569
+ }, Cn = { class: "konnectio-table with-lines" }, Sn = { class: "konnectio-event-addons-price" }, In = { class: "konnectio-event-addons-input" }, Rn = { class: "konnectio-event-addons-price" }, Mn = { class: "konnectio-event-addons-price" }, Un = {
570
570
  key: 1,
571
571
  class: "konnectio-table with-lines without-header"
572
572
  }, Gn = { class: "konnectio-table-addons-information" }, zn = { key: 0 }, qn = { class: "konnectio-table-addons-option" }, Hn = { class: "konnectio-panel" }, Yn = /* @__PURE__ */ q({
@@ -578,27 +578,29 @@ const Wt = {
578
578
  selectedLocation: {},
579
579
  resetDate: { default: "no" },
580
580
  hideLocations: { default: "no" },
581
+ hideRemarks: { default: "no" },
582
+ hideAllergies: { default: "no" },
581
583
  styling: {}
582
584
  },
583
- setup($) {
584
- const n = $, { t: a } = oe(), {
585
- addons: g,
586
- products: v,
585
+ setup(w) {
586
+ const n = w, { t: a } = oe(), {
587
+ addons: k,
588
+ products: p,
587
589
  numberOfDays: b,
588
590
  name: i,
589
591
  phone: f,
590
- email: k,
592
+ email: y,
591
593
  remark: s,
592
594
  allergies: O,
593
- arrivalTime: h,
595
+ arrivalTime: P,
594
596
  hasEvents: L,
595
- hasTemplates: E,
597
+ hasTemplates: _,
596
598
  getEvents: V,
597
- getTemplates: w,
598
- getEventData: D,
599
+ getTemplates: E,
600
+ getEventData: $,
599
601
  getTemplateData: H,
600
- getEventTableData: y,
601
- hasProducts: C,
602
+ getEventTableData: h,
603
+ hasProducts: A,
602
604
  eventRateType: Y,
603
605
  areListingsAvailable: pe,
604
606
  isAvailabilityDataAvailable: le,
@@ -608,7 +610,7 @@ const Wt = {
608
610
  requiresArrivalTime: j,
609
611
  hasSelectedRequiredProducts: X,
610
612
  getUnavailableEvents: be
611
- } = z(K()), { currency: ie } = z(ae()), { setActiveIdFilter: Ce } = ae(), { eventDate: Se, eventLocation: Ae } = z(he()), { isValidRestaurantId: Ie } = he(), {
613
+ } = z(K()), { currency: ie } = z(ae()), { setActiveIdFilter: Ae } = ae(), { eventDate: Ce, eventLocation: Se } = z(he()), { isValidRestaurantId: Ie } = he(), {
612
614
  initialize: Re,
613
615
  fetchListings: Me,
614
616
  createBooking: Ue,
@@ -643,25 +645,25 @@ const Wt = {
643
645
  icon: "calendar-check"
644
646
  }
645
647
  ]), Ye = W(() => {
646
- const _ = [];
647
- return y.value && y.value.forEach((d) => {
648
- _.find((F) => F.value === d.time) || _.push({
648
+ const D = [];
649
+ return h.value && h.value.forEach((d) => {
650
+ D.find((F) => F.value === d.time) || D.push({
649
651
  label: me(d.time),
650
652
  value: d.time
651
653
  });
652
- }), _;
654
+ }), D;
653
655
  });
654
656
  function je() {
655
657
  qe(n.resetDate === "yes");
656
658
  }
657
659
  function We() {
658
- const _ = yt("history", {
660
+ const D = yt("history", {
659
661
  removeNullishValues: !0
660
- }), d = parseInt(_.rid), F = _.d, T = parseInt(_.eid);
662
+ }), d = parseInt(D.rid), F = D.d, T = parseInt(D.eid);
661
663
  if (F)
662
664
  if (ht(F)) {
663
- const u = new Date(F), A = u.setHours(12, 0, 0, 0), I = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
664
- A >= I ? (Se.value = u, _.d = void 0) : fe({
665
+ const u = new Date(F), S = u.setHours(12, 0, 0, 0), I = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
666
+ S >= I ? (Ce.value = u, D.d = void 0) : fe({
665
667
  message: a("alert.error.invalidDateRange"),
666
668
  type: "error"
667
669
  });
@@ -670,38 +672,38 @@ const Wt = {
670
672
  message: a("alert.error.wrongDateFormat"),
671
673
  type: "error"
672
674
  });
673
- isNaN(d) || (Ie(d) ? Ae.value = d : (_.rid = void 0, fe({
675
+ isNaN(d) || (Ie(d) ? Se.value = d : (D.rid = void 0, fe({
674
676
  message: a("alert.error.hotelIdNotFound"),
675
677
  type: "error"
676
- }))), isNaN(T) || Ce(T), Me();
678
+ }))), isNaN(T) || Ae(T), Me();
677
679
  }
678
- return (_, d) => (o(), P(kt, { styling: _.styling }, {
680
+ return (D, d) => (o(), g(kt, { styling: D.styling }, {
679
681
  default: m(() => [
680
- (o(), P(ot, { onResolve: We }, {
682
+ (o(), g(ot, { onResolve: We }, {
681
683
  default: m(() => [
682
- p($t, {
684
+ v($t, {
683
685
  id: "konnectio-event-module",
684
- "access-token": _.accessToken,
686
+ "access-token": D.accessToken,
685
687
  callback: e(Re)
686
688
  }, {
687
689
  default: m(() => [
688
- p(Vt, {
690
+ v(Vt, {
689
691
  steps: He.value,
690
692
  onReset: je
691
693
  }, {
692
694
  availability: m(({ next: F }) => [
693
- p(ye, null, {
695
+ v(ye, null, {
694
696
  sidebar: m(() => [
695
- p(Gt, {
697
+ v(Gt, {
696
698
  redirection: !1,
697
- "selected-location": Number(_.selectedLocation),
698
- "hide-locations": _.hideLocations === "yes"
699
+ "selected-location": Number(D.selectedLocation),
700
+ "hide-locations": D.hideLocations === "yes"
699
701
  }, null, 8, ["selected-location", "hide-locations"])
700
702
  ]),
701
703
  form: m(() => [
702
704
  e(ve) && e(pe) ? (o(), r("div", On, [
703
705
  e(V).length > 0 && e(be).length > 0 ? (o(), r("h2", Vn, [
704
- p(ne, {
706
+ v(ne, {
705
707
  icon: "calendar-clock",
706
708
  type: "fal",
707
709
  color: "header"
@@ -709,36 +711,36 @@ const Wt = {
709
711
  t("span", null, l(e(a)("event.availableNow")), 1)
710
712
  ])) : c("", !0),
711
713
  t("ul", Tn, [
712
- e(L) && _.onlyShow !== "templates" ? (o(!0), r(S, { key: 0 }, U(e(V), (T) => (o(), P(tn, {
714
+ e(L) && D.onlyShow !== "templates" ? (o(!0), r(C, { key: 0 }, U(e(V), (T) => (o(), g(tn, {
713
715
  name: T.name,
714
716
  events: T.events,
715
717
  callback: F
716
718
  }, null, 8, ["name", "events", "callback"]))), 256)) : c("", !0),
717
- e(E) && _.onlyShow !== "events" ? (o(!0), r(S, { key: 1 }, U(e(w), ({
719
+ e(_) && D.onlyShow !== "events" ? (o(!0), r(C, { key: 1 }, U(e(E), ({
718
720
  id: T,
719
721
  name: u,
720
- fromDate: A,
722
+ fromDate: S,
721
723
  toDate: I,
722
724
  minimumPersonCount: N,
723
725
  fromPrice: B,
724
726
  description: x,
725
727
  images: ee
726
- }) => (o(), P(dn, {
728
+ }) => (o(), g(dn, {
727
729
  key: T,
728
730
  "listing-id": T,
729
731
  name: u,
730
732
  images: ee,
731
733
  description: x,
732
- "from-date": A,
734
+ "from-date": S,
733
735
  "to-date": I,
734
736
  "minimum-person-count": N,
735
737
  fromPrice: B,
736
738
  callback: F
737
739
  }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : c("", !0)
738
740
  ]),
739
- e(be).length > 0 && _.onlyShow !== "templates" ? (o(), r(S, { key: 1 }, [
741
+ e(be).length > 0 && D.onlyShow !== "templates" ? (o(), r(C, { key: 1 }, [
740
742
  t("h2", Nn, [
741
- p(ne, {
743
+ v(ne, {
742
744
  icon: "calendar-circle-exclamation",
743
745
  type: "fal",
744
746
  color: "header"
@@ -746,10 +748,10 @@ const Wt = {
746
748
  t("span", null, l(e(a)("event.availableLater")), 1)
747
749
  ]),
748
750
  t("ul", Fn, [
749
- (o(!0), r(S, null, U(e(be), ({
751
+ (o(!0), r(C, null, U(e(be), ({
750
752
  id: T,
751
753
  days: u,
752
- name: A,
754
+ name: S,
753
755
  timeFrom: I,
754
756
  timeTo: N,
755
757
  fromDate: B,
@@ -763,13 +765,13 @@ const Wt = {
763
765
  maxPaxPerReservation: Je,
764
766
  useNumberOfProductsForPersons: Ke,
765
767
  maxTicketsLimit: Xe
766
- }) => (o(), P(un, {
768
+ }) => (o(), g(un, {
767
769
  key: T,
768
770
  type: "event",
769
771
  "listing-id": T,
770
772
  "table-group-id": ee,
771
773
  description: ge,
772
- name: A,
774
+ name: S,
773
775
  length: te,
774
776
  gallery: Ze,
775
777
  days: u,
@@ -784,18 +786,18 @@ const Wt = {
784
786
  }, 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", "callback"]))), 128))
785
787
  ])
786
788
  ], 64)) : c("", !0),
787
- !e(L) && !e(E) || !e(L) && _.onlyShow === "events" || !e(E) && _.onlyShow === "templates" ? (o(), r("div", {
789
+ !e(L) && !e(_) || !e(L) && D.onlyShow === "events" || !e(_) && D.onlyShow === "templates" ? (o(), r("div", {
788
790
  key: 2,
789
791
  class: "konnectio-panel",
790
792
  innerHTML: e(a)("event.nothingAvailable")
791
793
  }, null, 8, Ln)) : c("", !0)
792
- ])) : (o(), P(Le, { key: 1 }))
794
+ ])) : (o(), g(Le, { key: 1 }))
793
795
  ]),
794
796
  _: 2
795
797
  }, 1024)
796
798
  ]),
797
799
  addons: m(({ next: F, prev: T }) => [
798
- e(le) ? (o(), P(ye, {
800
+ e(le) ? (o(), g(ye, {
799
801
  key: 0,
800
802
  "prev-callback": () => e($e)(T)
801
803
  }, {
@@ -804,36 +806,36 @@ const Wt = {
804
806
  t("h2", null, [
805
807
  t("span", null, l(e(a)("event.selectProducts")), 1)
806
808
  ]),
807
- e(H) && e(H).length > 0 ? (o(), r("ul", Cn, [
808
- (o(!0), r(S, null, U(e(H), ({
809
+ e(H) && e(H).length > 0 ? (o(), r("ul", An, [
810
+ (o(!0), r(C, null, U(e(H), ({
809
811
  roomGroupId: u,
810
- addons: A,
812
+ addons: S,
811
813
  adultPerRoom: I
812
814
  }, N) => (o(), r("li", { key: u }, [
813
815
  t("h5", null, [
814
816
  t("span", null, l(e(a)("booking.reservation.room")) + " #" + l(N + 1), 1),
815
817
  d[7] || (d[7] = de(" (")),
816
- p(ne, {
818
+ v(ne, {
817
819
  icon: "male",
818
820
  type: "fas",
819
821
  color: "header"
820
822
  }),
821
823
  de(" " + l(I) + ") ", 1)
822
824
  ]),
823
- t("table", Sn, [
825
+ t("table", Cn, [
824
826
  t("thead", null, [
825
827
  t("tr", null, [
826
828
  t("th", null, [
827
829
  t("span", null, l(e(a)("booking.reservation.addons")), 1)
828
830
  ]),
829
831
  d[8] || (d[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
830
- t("th", An, [
832
+ t("th", Sn, [
831
833
  t("span", null, l(e(a)("booking.availability.price")), 1)
832
834
  ])
833
835
  ])
834
836
  ]),
835
837
  t("tbody", null, [
836
- (o(!0), r(S, null, U(A, ({
838
+ (o(!0), r(C, null, U(S, ({
837
839
  id: B,
838
840
  cardinality: x,
839
841
  name: ee,
@@ -846,16 +848,16 @@ const Wt = {
846
848
  t("span", null, l(e(Q)(ge, e(ie))) + " " + l(e(gt)(ke)), 1)
847
849
  ]),
848
850
  t("td", In, [
849
- x === 3 ? (o(), P(ue, {
851
+ x === 3 ? (o(), g(ue, {
850
852
  key: 0,
851
- modelValue: e(g)[`${u}.${B}.${N}`],
852
- "onUpdate:modelValue": (te) => e(g)[`${u}.${B}.${N}`] = te,
853
+ modelValue: e(k)[`${u}.${B}.${N}`],
854
+ "onUpdate:modelValue": (te) => e(k)[`${u}.${B}.${N}`] = te,
853
855
  small: !0,
854
856
  "min-value": 0
855
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), P(Ut, {
857
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), g(Ut, {
856
858
  key: 1,
857
- modelValue: e(g)[`${u}.${B}.${N}`],
858
- "onUpdate:modelValue": (te) => e(g)[`${u}.${B}.${N}`] = te,
859
+ modelValue: e(k)[`${u}.${B}.${N}`],
860
+ "onUpdate:modelValue": (te) => e(k)[`${u}.${B}.${N}`] = te,
859
861
  numeric: !0
860
862
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
861
863
  ]),
@@ -878,20 +880,20 @@ const Wt = {
878
880
  ])
879
881
  ]))), 128))
880
882
  ])) : c("", !0),
881
- e(C) ? (o(), r("table", Un, [
883
+ e(A) ? (o(), r("table", Un, [
882
884
  t("tbody", null, [
883
- (o(!0), r(S, null, U(e(D).products, ({ id: u, name: A, price: I, description: N }) => (o(), r("tr", { key: u }, [
885
+ (o(!0), r(C, null, U(e($).products, ({ id: u, name: S, price: I, description: N }) => (o(), r("tr", { key: u }, [
884
886
  t("td", Gn, [
885
887
  t("b", null, [
886
- t("span", null, l(e(we)(A)), 1)
888
+ t("span", null, l(e(we)(S)), 1)
887
889
  ]),
888
- N && N !== A ? (o(), r("span", zn, l(e(we)(N)), 1)) : c("", !0),
890
+ N && N !== S ? (o(), r("span", zn, l(e(we)(N)), 1)) : c("", !0),
889
891
  t("u", null, l(e(Q)(I, e(ie))), 1)
890
892
  ]),
891
893
  t("td", qn, [
892
- p(ue, {
893
- modelValue: e(v)[u],
894
- "onUpdate:modelValue": (B) => e(v)[u] = B,
894
+ v(ue, {
895
+ modelValue: e(p)[u],
896
+ "onUpdate:modelValue": (B) => e(p)[u] = B,
895
897
  small: !0,
896
898
  "min-value": 0
897
899
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -902,7 +904,7 @@ const Wt = {
902
904
  ])
903
905
  ]),
904
906
  navigation: m(() => [
905
- p(ce, {
907
+ v(ce, {
906
908
  label: e(a)("event.startReservation"),
907
909
  disabled: !e(X),
908
910
  "full-width": "",
@@ -913,7 +915,7 @@ const Wt = {
913
915
  }, 1032, ["prev-callback"])) : c("", !0)
914
916
  ]),
915
917
  reservation: m(({ next: F, prev: T }) => [
916
- p(ye, {
918
+ v(ye, {
917
919
  "show-terms-notice": !0,
918
920
  "show-gift-card": !0,
919
921
  "prev-callback": () => e($e)(T)
@@ -923,7 +925,7 @@ const Wt = {
923
925
  t("h2", null, [
924
926
  t("span", null, l(e(a)("booking.reservation.detailsTitle")), 1)
925
927
  ]),
926
- p(re, {
928
+ v(re, {
927
929
  modelValue: e(i),
928
930
  "onUpdate:modelValue": d[0] || (d[0] = (u) => M(i) ? i.value = u : null),
929
931
  type: "text",
@@ -932,9 +934,9 @@ const Wt = {
932
934
  placeholder: e(a)("booking.reservation.namePlaceholder"),
933
935
  required: ""
934
936
  }, null, 8, ["modelValue", "label", "placeholder"]),
935
- p(re, {
936
- modelValue: e(k),
937
- "onUpdate:modelValue": d[1] || (d[1] = (u) => M(k) ? k.value = u : null),
937
+ v(re, {
938
+ modelValue: e(y),
939
+ "onUpdate:modelValue": d[1] || (d[1] = (u) => M(y) ? y.value = u : null),
938
940
  label: e(a)("booking.reservation.email"),
939
941
  type: "email",
940
942
  name: "email",
@@ -943,7 +945,7 @@ const Wt = {
943
945
  placeholder: e(a)("booking.reservation.emailPlaceholder"),
944
946
  required: ""
945
947
  }, null, 8, ["modelValue", "label", "placeholder"]),
946
- p(Mt, {
948
+ v(Mt, {
947
949
  modelValue: e(f),
948
950
  "onUpdate:modelValue": d[2] || (d[2] = (u) => M(f) ? f.value = u : null),
949
951
  label: e(a)("booking.reservation.phone"),
@@ -951,16 +953,16 @@ const Wt = {
951
953
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
952
954
  required: ""
953
955
  }, null, 8, ["modelValue", "label", "placeholder"]),
954
- e(j) ? (o(), P(Nt, {
956
+ e(j) ? (o(), g(Nt, {
955
957
  key: 0,
956
- modelValue: e(h),
957
- "onUpdate:modelValue": d[3] || (d[3] = (u) => M(h) ? h.value = u : null),
958
+ modelValue: e(P),
959
+ "onUpdate:modelValue": d[3] || (d[3] = (u) => M(P) ? P.value = u : null),
958
960
  label: e(a)("event.selectArrivalTime"),
959
961
  name: "eventTimeTable",
960
962
  checkboxes: Ye.value,
961
963
  required: ""
962
964
  }, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
963
- e(Y) === e(ft).FullDayEvent ? (o(), P(ue, {
965
+ e(Y) === e(ft).FullDayEvent ? (o(), g(ue, {
964
966
  key: 1,
965
967
  modelValue: e(b),
966
968
  "onUpdate:modelValue": d[4] || (d[4] = (u) => M(b) ? b.value = u : null),
@@ -968,26 +970,28 @@ const Wt = {
968
970
  "min-value": 1,
969
971
  required: ""
970
972
  }, null, 8, ["modelValue", "label"])) : c("", !0),
971
- p(re, {
973
+ D.hideRemarks !== "yes" ? (o(), g(re, {
974
+ key: 2,
972
975
  modelValue: e(s),
973
976
  "onUpdate:modelValue": d[5] || (d[5] = (u) => M(s) ? s.value = u : null),
974
977
  type: "textarea",
975
978
  label: e(a)("booking.reservation.remark"),
976
979
  icon: "info-circle",
977
980
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
978
- }, null, 8, ["modelValue", "label", "placeholder"]),
979
- p(re, {
981
+ }, null, 8, ["modelValue", "label", "placeholder"])) : c("", !0),
982
+ D.hideAllergies !== "yes" ? (o(), g(re, {
983
+ key: 3,
980
984
  modelValue: e(O),
981
985
  "onUpdate:modelValue": d[6] || (d[6] = (u) => M(O) ? O.value = u : null),
982
986
  type: "textarea",
983
987
  label: e(a)("booking.reservation.allergies"),
984
988
  icon: "allergies",
985
989
  placeholder: e(a)("booking.reservation.allergiesPlaceholder")
986
- }, null, 8, ["modelValue", "label", "placeholder"])
990
+ }, null, 8, ["modelValue", "label", "placeholder"])) : c("", !0)
987
991
  ])
988
992
  ]),
989
993
  navigation: m(() => [
990
- p(ce, {
994
+ v(ce, {
991
995
  label: e(a)("general.confirmReservation"),
992
996
  "is-loading": e(R),
993
997
  disabled: !e(se),
@@ -999,10 +1003,10 @@ const Wt = {
999
1003
  }, 1032, ["prev-callback"])
1000
1004
  ]),
1001
1005
  payment: m(() => [
1002
- p(Rt)
1006
+ v(Rt)
1003
1007
  ]),
1004
1008
  confirmation: m(() => [
1005
- p(Tt, {
1009
+ v(Tt, {
1006
1010
  message: e(a)("event.confirmationMessage")
1007
1011
  }, null, 8, ["message"])
1008
1012
  ]),
@@ -1013,7 +1017,7 @@ const Wt = {
1013
1017
  }, 8, ["access-token", "callback"])
1014
1018
  ]),
1015
1019
  fallback: m(() => [
1016
- p(En)
1020
+ v(_n)
1017
1021
  ]),
1018
1022
  _: 1
1019
1023
  }))
@@ -1021,7 +1025,7 @@ const Wt = {
1021
1025
  _: 1
1022
1026
  }, 8, ["styling"]));
1023
1027
  }
1024
- }), Ne = /* @__PURE__ */ Z(Yn, [["__scopeId", "data-v-69a1a78d"]]), jn = lt(), Wn = st, Zn = Wn();
1028
+ }), Ne = /* @__PURE__ */ Z(Yn, [["__scopeId", "data-v-f19648e2"]]), jn = lt(), Wn = st, Zn = Wn();
1025
1029
  class Qn extends HTMLElement {
1026
1030
  vueApp;
1027
1031
  constructor() {