@konnectio/core 4.0.57 → 4.0.58

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 (64) hide show
  1. package/dist/{ActionField-BsgBhqwb.js → ActionField-SljqGQe4.js} +3 -3
  2. package/dist/ActionField-SljqGQe4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BCiyhi6I.js → AvailabilitySkeleton-VxFPbzvu.js} +6 -6
  4. package/dist/AvailabilitySkeleton-VxFPbzvu.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js} +365 -371
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js.br +0 -0
  7. package/dist/{CheckoutWindow-COyV5n05.js → CheckoutWindow-BsR9w1sU.js} +4 -4
  8. package/dist/CheckoutWindow-BsR9w1sU.js.br +0 -0
  9. package/dist/{ErrorMessage-Bqmjetwk.js → ErrorMessage-Bv8Sjw4c.js} +3 -3
  10. package/dist/ErrorMessage-Bv8Sjw4c.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CnfdAPBG.js → EventAvailabilityForm-Cjn9eC1i.js} +5 -5
  12. package/dist/EventAvailabilityForm-Cjn9eC1i.js.br +0 -0
  13. package/dist/{Field-8j4srvwh.js → Field-Dv-tx0DG.js} +3 -3
  14. package/dist/Field-Dv-tx0DG.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js} +2182 -2184
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js.br +0 -0
  17. package/dist/{TermsOfService-DzB0damA.js → TermsOfService-DudxcmqT.js} +5 -5
  18. package/dist/TermsOfService-DudxcmqT.js.br +0 -0
  19. package/dist/{_-BtSFcDLj.js → _-3oY9YKKN.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-zf2i08XL.js → _.vue_vue_type_style_index_0_lang-Cm6NL02H.js} +5 -5
  21. package/dist/_.vue_vue_type_style_index_0_lang-Cm6NL02H.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DzP9V0uJ.js → _commonjsHelpers-BljBhQM7.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-fvkcFI33.js → _sentry-release-injection-file-D0NAFAC9.js} +3327 -3253
  24. package/dist/_sentry-release-injection-file-D0NAFAC9.js.br +0 -0
  25. package/dist/availability.js +74 -71
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +195 -195
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +8 -8
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +9 -9
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-DbcQz3eJ.js → giftCard-vxErFkoV.js} +12 -12
  36. package/dist/giftCard-vxErFkoV.js.br +0 -0
  37. package/dist/hotel.js +94 -94
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-BX1LxkhS.js → masonry.plugin-BKhDyXyM.js} +1317 -1328
  40. package/dist/masonry.plugin-BKhDyXyM.js.br +0 -0
  41. package/dist/{mitt-l8QPdH4v.js → mitt-bU37KQKU.js} +6 -7
  42. package/dist/mitt-bU37KQKU.js.br +0 -0
  43. package/dist/polyfill.js +9 -10
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/dist/{tracing-z3gaNes7.js → tracing-CMlyHB3J.js} +5 -5
  48. package/dist/tracing-CMlyHB3J.js.br +0 -0
  49. package/package.json +1 -1
  50. package/dist/ActionField-BsgBhqwb.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-BCiyhi6I.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js.br +0 -0
  53. package/dist/CheckoutWindow-COyV5n05.js.br +0 -0
  54. package/dist/ErrorMessage-Bqmjetwk.js.br +0 -0
  55. package/dist/EventAvailabilityForm-CnfdAPBG.js.br +0 -0
  56. package/dist/Field-8j4srvwh.js.br +0 -0
  57. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js.br +0 -0
  58. package/dist/TermsOfService-DzB0damA.js.br +0 -0
  59. package/dist/_.vue_vue_type_style_index_0_lang-zf2i08XL.js.br +0 -0
  60. package/dist/_sentry-release-injection-file-fvkcFI33.js.br +0 -0
  61. package/dist/giftCard-DbcQz3eJ.js.br +0 -0
  62. package/dist/masonry.plugin-BX1LxkhS.js.br +0 -0
  63. package/dist/mitt-l8QPdH4v.js.br +0 -0
  64. package/dist/tracing-z3gaNes7.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,57 +1,57 @@
1
- import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f as g, g as d, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as U, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-fvkcFI33.js";
2
- import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-l8QPdH4v.js";
3
- import { a as Ae, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Oe, I as ge, f as lt, g as fe, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as ct, m as dt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js";
4
- import { B as ut, R as mt, L as Se, S as pt, M as vt, C as bt, T as gt, V as ft, G as ht } from "./masonry.plugin-BX1LxkhS.js";
5
- import { e as kt, c as yt, t as ee, g as Ve, m as De, a as Ee, b as Te, d as _t, f as Pe, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js";
6
- import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-zf2i08XL.js";
7
- import { C as wt, P as Vt, a as Dt } from "./CheckoutWindow-COyV5n05.js";
8
- import { E as Et } from "./EventAvailabilityForm-CnfdAPBG.js";
1
+ import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f, g as c, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as M, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-D0NAFAC9.js";
2
+ import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-bU37KQKU.js";
3
+ import { a as Oe, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Ae, I as fe, f as lt, g as ge, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as dt, m as ct } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js";
4
+ import { B as ut, R as mt, L as Se, S as pt, M as vt, C as bt, T as ft, V as gt, G as ht } from "./masonry.plugin-BKhDyXyM.js";
5
+ import { c as kt, t as ee, g as Ve, e as yt, m as De, a as Ee, b as Te, d as _t, f as Pe, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js";
6
+ import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-Cm6NL02H.js";
7
+ import { C as wt, P as Vt, a as Dt } from "./CheckoutWindow-BsR9w1sU.js";
8
+ import { E as Et } from "./EventAvailabilityForm-Cjn9eC1i.js";
9
9
  (function() {
10
10
  try {
11
11
  var u = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
12
- n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "3e5fedb9-7f88-4aec-8442-69462a26d141", u._sentryDebugIdIdentifier = "sentry-dbid-3e5fedb9-7f88-4aec-8442-69462a26d141");
12
+ n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "24b16f45-5e62-48b6-9398-6ee1aeffbd8e", u._sentryDebugIdIdentifier = "sentry-dbid-24b16f45-5e62-48b6-9398-6ee1aeffbd8e");
13
13
  } catch {
14
14
  }
15
15
  })();
16
16
  function Tt(u) {
17
17
  return (n) => {
18
- const m = (u ? Math[u] : Math.trunc)(n);
18
+ const d = Math[u], m = d(n);
19
19
  return m === 0 ? 0 : m;
20
20
  };
21
21
  }
22
- function Pt(u, n, r) {
23
- const m = _t(), f = r?.locale ?? m.locale ?? kt, s = yt(u, n);
22
+ function Pt(u, n, d) {
23
+ const g = _t().locale ?? yt, s = kt(u, n);
24
24
  if (isNaN(s))
25
25
  throw new RangeError("Invalid time value");
26
- const b = Object.assign({}, r, {
27
- addSuffix: r?.addSuffix,
26
+ const b = Object.assign({}, d, {
27
+ addSuffix: d?.addSuffix,
28
28
  comparison: s
29
29
  });
30
- let $, c;
31
- s > 0 ? ($ = ee(n), c = ee(u)) : ($ = ee(u), c = ee(n));
32
- const h = Tt(r?.roundingMethod ?? "round"), y = c.getTime() - $.getTime(), E = y / Pe, V = Ve(c) - Ve($), P = (y - V) / Pe, I = r?.unit;
30
+ let $, r;
31
+ s > 0 ? ($ = ee(n), r = ee(u)) : ($ = ee(u), r = ee(n));
32
+ const h = Tt("round"), y = r.getTime() - $.getTime(), E = y / Pe, V = Ve(r) - Ve($), P = (y - V) / Pe, U = d?.unit;
33
33
  let _;
34
- if (I ? _ = I : E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E < De ? _ = "hour" : P < Ee ? _ = "day" : P < Te ? _ = "month" : _ = "year", _ === "second") {
34
+ if (E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E < De ? _ = "hour" : P < Ee ? _ = "day" : P < Te ? _ = "month" : _ = "year", _ === "second") {
35
35
  const i = h(y / 1e3);
36
- return f.formatDistance("xSeconds", i, b);
36
+ return g.formatDistance("xSeconds", i, b);
37
37
  } else if (_ === "minute") {
38
38
  const i = h(E);
39
- return f.formatDistance("xMinutes", i, b);
39
+ return g.formatDistance("xMinutes", i, b);
40
40
  } else if (_ === "hour") {
41
41
  const i = h(E / 60);
42
- return f.formatDistance("xHours", i, b);
42
+ return g.formatDistance("xHours", i, b);
43
43
  } else if (_ === "day") {
44
44
  const i = h(P / De);
45
- return f.formatDistance("xDays", i, b);
45
+ return g.formatDistance("xDays", i, b);
46
46
  } else if (_ === "month") {
47
47
  const i = h(P / Ee);
48
- return i === 12 && I !== "month" ? f.formatDistance("xYears", 1, b) : f.formatDistance("xMonths", i, b);
48
+ return i === 12 && U !== "month" ? g.formatDistance("xYears", 1, b) : g.formatDistance("xMonths", i, b);
49
49
  } else {
50
50
  const i = h(P / Te);
51
- return f.formatDistance("xYears", i, b);
51
+ return g.formatDistance("xYears", i, b);
52
52
  }
53
53
  }
54
- const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio-event-listing-action-button" }, St = /* @__PURE__ */ Z({
54
+ const Ot = { class: "konnectio-event-listing-action" }, At = { class: "konnectio-event-listing-action-button" }, St = /* @__PURE__ */ Z({
55
55
  __name: "_",
56
56
  props: {
57
57
  name: {},
@@ -74,28 +74,28 @@ const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio
74
74
  callback: {}
75
75
  },
76
76
  setup(u) {
77
- const { t: n } = se(), r = u, { display: m } = Ae(), {
78
- maxNumberOfPeople: f,
77
+ const { t: n } = se(), d = u, { display: m } = Oe(), {
78
+ maxNumberOfPeople: g,
79
79
  numberOfPeople: s,
80
80
  eventId: b,
81
81
  currentEventDate: $,
82
- tableGroupId: c
82
+ tableGroupId: r
83
83
  } = q(Y()), {
84
84
  getTemplateAvailability: h,
85
85
  getEventAvailability: y,
86
86
  isEventListingLoading: E
87
- } = Y(), V = Ye(0), P = ae(() => E(r.listingId)), I = () => {
88
- V.value > 0 ? (b.value = r.listingId, s.value = V.value, h(r.callback)) : m({
87
+ } = Y(), V = Ye(0), P = ae(() => E(d.listingId)), U = () => {
88
+ V.value > 0 ? (b.value = d.listingId, s.value = V.value, h(d.callback)) : m({
89
89
  type: "error",
90
90
  message: n("alert.error.selectPeople")
91
91
  });
92
92
  }, _ = () => {
93
- V.value > 0 ? (b.value = r.listingId, c.value = r.tableGroupId, s.value = V.value, y(r.callback)) : m({
93
+ V.value > 0 ? (b.value = d.listingId, r.value = d.tableGroupId, s.value = V.value, y(d.callback)) : m({
94
94
  type: "error",
95
95
  message: n("alert.error.selectPeople")
96
96
  });
97
97
  };
98
- return (i, L) => (l(), T(ut, {
98
+ return (i, I) => (l(), T(ut, {
99
99
  type: "event",
100
100
  "listing-id": i.listingId,
101
101
  gallery: i.gallery,
@@ -106,28 +106,28 @@ const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio
106
106
  layout: e(ot).Event
107
107
  }, {
108
108
  description: p(() => [
109
- ne(i.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
109
+ ne(i.$slots, "description", { maxNumberOfPeople: e(g) }, void 0, !0)
110
110
  ]),
111
111
  action: p(() => [
112
- t("div", At, [
113
- g(oe, {
112
+ t("div", Ot, [
113
+ f(oe, {
114
114
  modelValue: V.value,
115
- "onUpdate:modelValue": L[0] || (L[0] = (N) => V.value = N),
115
+ "onUpdate:modelValue": I[0] || (I[0] = (B) => V.value = B),
116
116
  label: e(n)("event.numberOfGuests"),
117
117
  icon: "users",
118
118
  "icon-type": "fas",
119
119
  "icon-placement": "label",
120
120
  description: i.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${i.maxGuests} ${e(nt)(e(n)("general.guests"))}` : void 0,
121
121
  "min-value": 0,
122
- "max-value": i.maxOnlineReservationLimit || i.maxGuests || e(f) || 1 / 0
122
+ "max-value": i.maxOnlineReservationLimit || i.maxGuests || e(g) || 1 / 0
123
123
  }, null, 8, ["modelValue", "label", "description", "max-value"]),
124
- t("div", Ot, [
125
- g(be, {
124
+ t("div", At, [
125
+ f(be, {
126
126
  label: i.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
127
127
  disabled: i.soldOut,
128
128
  "is-loading": P.value,
129
129
  "sub-label": e(le)(e($)),
130
- onClickEvent: L[1] || (L[1] = (N) => i.type === "event" ? _() : I())
130
+ onClickEvent: I[1] || (I[1] = (B) => i.type === "event" ? _() : U())
131
131
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
132
132
  ])
133
133
  ])
@@ -161,7 +161,7 @@ const Lt = {
161
161
  callback: {}
162
162
  },
163
163
  setup(u) {
164
- const n = u, { t: r } = se(), { hideEventLength: m } = q(he()), f = ae(() => {
164
+ const n = u, { t: d } = se(), { hideEventLength: m } = q(he()), g = ae(() => {
165
165
  const s = n.length.split(":");
166
166
  return console.log(s), Pt(
167
167
  new Date(2e3, 0, 1, Number(s[0]), Number(s[1]), 0),
@@ -181,29 +181,29 @@ const Lt = {
181
181
  callback: s.callback
182
182
  }, {
183
183
  description: p(() => [
184
- s.description ? (l(), d("p", {
184
+ s.description ? (l(), c("p", {
185
185
  key: 0,
186
- innerHTML: e(Oe)(s.description)
186
+ innerHTML: e(Ae)(s.description)
187
187
  }, null, 8, Ct)) : v("", !0),
188
188
  t("ul", It, [
189
189
  v("", !0),
190
- e(m) ? v("", !0) : (l(), d("li", Lt, [
190
+ e(m) ? v("", !0) : (l(), c("li", Lt, [
191
191
  t("div", null, [
192
- g(ge, {
192
+ f(fe, {
193
193
  icon: "calendar-clock",
194
194
  color: "header"
195
195
  }),
196
- t("span", null, o(e(r)("event.lengthOfEvent")), 1)
196
+ t("span", null, o(e(d)("event.lengthOfEvent")), 1)
197
197
  ]),
198
- t("span", null, o(f.value), 1)
198
+ t("span", null, o(g.value), 1)
199
199
  ])),
200
200
  t("li", Bt, [
201
201
  t("div", null, [
202
- g(ge, {
202
+ f(fe, {
203
203
  icon: "calendar-clock",
204
204
  color: "header"
205
205
  }),
206
- t("span", null, o(e(r)("event.startAndEndTime")), 1)
206
+ t("span", null, o(e(d)("event.startAndEndTime")), 1)
207
207
  ]),
208
208
  t("span", null, o(e(lt)(s.timeFrom, s.timeTo)), 1)
209
209
  ])
@@ -212,7 +212,7 @@ const Lt = {
212
212
  _: 1
213
213
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
214
214
  }
215
- }), Mt = /* @__PURE__ */ ie(Nt, [["__scopeId", "data-v-93456ccd"]]), Rt = ["innerHTML"], Ut = /* @__PURE__ */ Z({
215
+ }), Rt = /* @__PURE__ */ ie(Nt, [["__scopeId", "data-v-93456ccd"]]), Mt = ["innerHTML"], Ut = /* @__PURE__ */ Z({
216
216
  __name: "Template",
217
217
  props: {
218
218
  name: {},
@@ -229,7 +229,7 @@ const Lt = {
229
229
  callback: {}
230
230
  },
231
231
  setup(u) {
232
- const n = u, r = ae(() => {
232
+ const n = u, d = ae(() => {
233
233
  if (n.image)
234
234
  return [{
235
235
  large: n.image,
@@ -238,9 +238,9 @@ const Lt = {
238
238
  url: n.image
239
239
  }];
240
240
  });
241
- return (m, f) => (l(), T(Ce, {
241
+ return (m, g) => (l(), T(Ce, {
242
242
  "listing-id": m.listingId,
243
- gallery: r.value,
243
+ gallery: d.value,
244
244
  name: m.name,
245
245
  description: m.description,
246
246
  "prices-from": m.fromPrice,
@@ -249,10 +249,10 @@ const Lt = {
249
249
  callback: m.callback
250
250
  }, {
251
251
  description: p(() => [
252
- m.description ? (l(), d("p", {
252
+ m.description ? (l(), c("p", {
253
253
  key: 0,
254
- innerHTML: e(Oe)(m.description)
255
- }, null, 8, Rt)) : v("", !0)
254
+ innerHTML: e(Ae)(m.description)
255
+ }, null, 8, Mt)) : v("", !0)
256
256
  ]),
257
257
  _: 1
258
258
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
@@ -264,50 +264,50 @@ const Lt = {
264
264
  showTermsNotice: { type: Boolean, default: !1 }
265
265
  },
266
266
  setup(u) {
267
- const { t: n } = se(), r = Ze(), {
267
+ const { t: n } = se(), d = Ze(), {
268
268
  areListingsAvailable: m,
269
- arrivalTime: f,
269
+ arrivalTime: g,
270
270
  numberOfPeople: s,
271
271
  numberOfRooms: b,
272
272
  numberOfTotalDays: $,
273
- isTemplateEvent: c,
273
+ isTemplateEvent: r,
274
274
  currentEventDate: h,
275
275
  length: y,
276
276
  fromDate: E,
277
277
  tableBasePrice: V,
278
278
  getTemplateData: P,
279
- basePrice: I,
279
+ basePrice: U,
280
280
  totalPrice: _,
281
281
  weekendFee: i,
282
- roomUpgrade: L,
283
- discountCode: N
284
- } = q(Y()), { totalAddonPrice: re, validateDiscountCode: ce } = Y(), { currency: K, hideEventLength: de } = q(he());
282
+ roomUpgrade: I,
283
+ discountCode: B
284
+ } = q(Y()), { totalAddonPrice: re, validateDiscountCode: de } = Y(), { currency: K, hideEventLength: ce } = q(he());
285
285
  return (F, X) => (l(), T(mt, {
286
- "discount-code": e(N),
287
- "onUpdate:discountCode": X[0] || (X[0] = (H) => U(N) ? N.value = H : null),
288
- "validate-discount-code": e(ce),
286
+ "discount-code": e(B),
287
+ "onUpdate:discountCode": X[0] || (X[0] = (H) => M(B) ? B.value = H : null),
288
+ "validate-discount-code": e(de),
289
289
  "show-gift-card": F.showGiftCard,
290
290
  "show-terms-notice": F.showTermsNotice,
291
291
  "is-sidebar-loading": !e(m),
292
- "base-price": e(I),
292
+ "base-price": e(U),
293
293
  "total-price": e(_),
294
294
  "weekend-fee": e(i),
295
- "room-upgrade": e(L),
295
+ "room-upgrade": e(I),
296
296
  notice: e(n)("event.reservationNotice")
297
297
  }, Qe({
298
298
  form: p(() => [
299
299
  ne(F.$slots, "form")
300
300
  ]),
301
301
  "reservation-summary": p(() => [
302
- e(c) ? (l(), d("li", Ft, [
302
+ e(r) ? (l(), c("li", Ft, [
303
303
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
304
304
  t("b", null, o(e(le)(e(E))), 1)
305
305
  ])) : v("", !0),
306
- e(c) ? (l(), d("li", Gt, [
306
+ e(r) ? (l(), c("li", Gt, [
307
307
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
308
308
  t("b", null, o(e(le)(e(E), e($))), 1)
309
309
  ])) : v("", !0),
310
- e(c) ? v("", !0) : (l(), d("li", qt, [
310
+ e(r) ? v("", !0) : (l(), c("li", qt, [
311
311
  t("span", null, o(e(n)("general.date")), 1),
312
312
  t("b", null, o(e(le)(e(h))), 1)
313
313
  ])),
@@ -315,31 +315,31 @@ const Lt = {
315
315
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
316
316
  t("b", null, o(e(s)), 1)
317
317
  ]),
318
- e(c) ? (l(), d("li", zt, [
318
+ e(r) ? (l(), c("li", zt, [
319
319
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
320
320
  t("b", null, o(e(b)), 1)
321
321
  ])) : v("", !0),
322
- e(c) ? (l(), d("li", Ht, [
322
+ e(r) ? (l(), c("li", Ht, [
323
323
  t("span", null, o(e(n)("event.numberOfDays")), 1),
324
324
  t("b", null, o(e($)), 1)
325
325
  ])) : v("", !0),
326
- !e(c) && e(f) ? (l(), d("li", jt, [
326
+ !e(r) && e(g) ? (l(), c("li", jt, [
327
327
  t("span", null, o(e(n)("event.startOfEvent")), 1),
328
- t("b", null, o(e(fe)(e(f))), 1)
328
+ t("b", null, o(e(ge)(e(g))), 1)
329
329
  ])) : v("", !0),
330
- !e(c) && e(y) && !e(de) ? (l(), d("li", Yt, [
330
+ !e(r) && e(y) && !e(ce) ? (l(), c("li", Yt, [
331
331
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
332
- t("b", null, o(e(fe)(e(y))), 1)
332
+ t("b", null, o(e(ge)(e(y))), 1)
333
333
  ])) : v("", !0)
334
334
  ]),
335
335
  "price-summary": p(() => [
336
- !e(c) && e(V) > 0 ? (l(), d("li", Zt, [
336
+ !e(r) && e(V) > 0 ? (l(), c("li", Zt, [
337
337
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
338
338
  t("b", null, o(e(G)(e(V), e(K))), 1)
339
339
  ])) : v("", !0),
340
- e(P) ? (l(!0), d(R, { key: 1 }, j(e(P), ({ roomGroupId: H }, M) => (l(), d("li", { key: H }, [
341
- t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(M + 1), 1),
342
- t("b", null, o(e(G)(e(re)(H, M), e(K))), 1)
340
+ e(P) ? (l(!0), c(R, { key: 1 }, j(e(P), ({ roomGroupId: H }, N) => (l(), c("li", { key: H }, [
341
+ t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(N + 1), 1),
342
+ t("b", null, o(e(G)(e(re)(H, N), e(K))), 1)
343
343
  ]))), 128)) : v("", !0)
344
344
  ]),
345
345
  navigation: p(() => [
@@ -347,7 +347,7 @@ const Lt = {
347
347
  ]),
348
348
  _: 2
349
349
  }, [
350
- e(r).sidebar ? {
350
+ e(d).sidebar ? {
351
351
  name: "sidebar",
352
352
  fn: p(() => [
353
353
  ne(F.$slots, "sidebar")
@@ -359,13 +359,13 @@ const Lt = {
359
359
  }), Qt = { class: "event-skeleton" }, Wt = { class: "event-skeleton-content" }, Jt = { class: "event-skeleton-sidebar" }, Kt = /* @__PURE__ */ Z({
360
360
  __name: "EventSkeleton",
361
361
  setup(u) {
362
- return (n, r) => (l(), d("div", Qt, [
362
+ return (n, d) => (l(), c("div", Qt, [
363
363
  t("div", Wt, [
364
- g(Se)
364
+ f(Se)
365
365
  ]),
366
366
  t("div", Jt, [
367
367
  v("", !0),
368
- g(pt)
368
+ f(pt)
369
369
  ])
370
370
  ]));
371
371
  }
@@ -380,7 +380,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
380
380
  }, on = { class: "konnectio-panel" }, ln = {
381
381
  key: 0,
382
382
  id: "konnectio-event-addons"
383
- }, an = { class: "konnectio-table with-lines" }, sn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), rn = { class: "konnectio-event-addons-price" }, cn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), dn = { class: "konnectio-event-addons-input" }, un = { class: "konnectio-event-addons-price" }, mn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), pn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), vn = { class: "konnectio-event-addons-price" }, bn = { key: 1 }, gn = { class: "konnectio-label required" }, fn = { class: "konnectio-table with-lines" }, hn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), kn = { class: "konnectio-event-addons-price" }, yn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), _n = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), $n = { class: "konnectio-event-addons-input" }, wn = { class: "konnectio-event-addons-price" }, Vn = ["onClick"], Dn = { class: "konnectio-panel" }, En = ["onClick"], Tn = /* @__PURE__ */ Z({
383
+ }, an = { class: "konnectio-table with-lines" }, sn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), rn = { class: "konnectio-event-addons-price" }, dn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), cn = { class: "konnectio-event-addons-input" }, un = { class: "konnectio-event-addons-price" }, mn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), pn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("td", null, null, -1)), vn = { class: "konnectio-event-addons-price" }, bn = { key: 1 }, fn = { class: "konnectio-label required" }, gn = { class: "konnectio-table with-lines" }, hn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), kn = { class: "konnectio-event-addons-price" }, yn = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), _n = /* @__PURE__ */ z(() => /* @__PURE__ */ t("br", null, null, -1)), $n = { class: "konnectio-event-addons-input" }, wn = { class: "konnectio-event-addons-price" }, Vn = ["onClick"], Dn = { class: "konnectio-panel" }, En = ["onClick"], Tn = /* @__PURE__ */ Z({
384
384
  name: "EventLayout",
385
385
  __name: "Event",
386
386
  props: {
@@ -391,38 +391,38 @@ const tn = { class: "konnectio-event-listings" }, nn = {
391
391
  },
392
392
  setup(u) {
393
393
  const { t: n } = se(), {
394
- addons: r,
394
+ addons: d,
395
395
  products: m,
396
- numberOfDays: f,
396
+ numberOfDays: g,
397
397
  name: s,
398
398
  phone: b,
399
399
  email: $,
400
- remark: c,
400
+ remark: r,
401
401
  allergies: h,
402
402
  arrivalTime: y,
403
403
  hasEvents: E,
404
404
  hasTemplates: V,
405
405
  getEvents: P,
406
- getTemplates: I,
406
+ getTemplates: U,
407
407
  getEventData: _,
408
408
  getTemplateData: i,
409
- getEventTableData: L,
410
- hasProducts: N,
409
+ getEventTableData: I,
410
+ hasProducts: B,
411
411
  eventRateType: re,
412
- areListingsAvailable: ce,
412
+ areListingsAvailable: de,
413
413
  isAvailabilityDataAvailable: K,
414
- hasListingData: de,
414
+ hasListingData: ce,
415
415
  isPaymentLoading: F,
416
416
  isReservationFormFilled: X,
417
417
  requiresArrivalTime: H
418
- } = q(Y()), { currency: M } = q(he()), { eventDate: Ie, eventLocation: Le } = q(we()), { isValidRestaurantId: Be } = we(), {
418
+ } = q(Y()), { currency: N } = q(he()), { eventDate: Ie, eventLocation: Le } = q(we()), { isValidRestaurantId: Be } = we(), {
419
419
  initialize: Ne,
420
- fetchListings: Me,
421
- createBooking: Re,
420
+ fetchListings: Re,
421
+ createBooking: Me,
422
422
  localAddonPrice: ke,
423
423
  totalAddonPrice: Ue,
424
424
  reset: ye
425
- } = Y(), { display: ue } = Ae(), Fe = [
425
+ } = Y(), { display: ue } = Oe(), Fe = [
426
426
  {
427
427
  id: "availability",
428
428
  label: n("booking.availability.title"),
@@ -450,9 +450,9 @@ const tn = { class: "konnectio-event-listings" }, nn = {
450
450
  }
451
451
  ], Ge = ae(() => {
452
452
  const w = [];
453
- return L.value && L.value.forEach((k) => {
453
+ return I.value && I.value.forEach((k) => {
454
454
  w.push({
455
- label: fe(k.time),
455
+ label: ge(k.time),
456
456
  value: k.time
457
457
  });
458
458
  }), w;
@@ -460,11 +460,11 @@ const tn = { class: "konnectio-event-listings" }, nn = {
460
460
  function qe() {
461
461
  const w = rt("hash-params", {
462
462
  removeNullishValues: !0
463
- }), k = parseInt(w.rid), S = w.d, A = parseInt(w.eid);
463
+ }), k = parseInt(w.rid), S = w.d, O = parseInt(w.eid);
464
464
  if (S)
465
- if (ct(S)) {
466
- const C = new Date(S), B = C.setHours(12, 0, 0, 0), D = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
467
- B >= D ? (Ie.value = C, w.d = void 0) : ue({
465
+ if (dt(S)) {
466
+ const C = new Date(S), L = C.setHours(12, 0, 0, 0), D = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
467
+ L >= D ? (Ie.value = C, w.d = void 0) : ue({
468
468
  message: n("alert.error.invalidDateRange"),
469
469
  type: "error"
470
470
  });
@@ -478,39 +478,39 @@ const tn = { class: "konnectio-event-listings" }, nn = {
478
478
  type: "error"
479
479
  }));
480
480
  let a;
481
- isNaN(A) || (a = A), Me(a);
481
+ isNaN(O) || (a = O), Re(a);
482
482
  }
483
483
  return (w, k) => (l(), T(it, { styling: w.styling }, {
484
484
  default: p(() => [
485
485
  (l(), T(We, { onResolve: qe }, {
486
486
  default: p(() => [
487
- g($t, {
487
+ f($t, {
488
488
  id: "konnectio-event-module",
489
489
  "access-token": w.accessToken,
490
490
  callback: e(Ne)
491
491
  }, {
492
492
  default: p(() => [
493
- g(vt, { steps: Fe }, {
493
+ f(vt, { steps: Fe }, {
494
494
  availability: p(({ next: S }) => [
495
- g(ve, null, {
495
+ f(ve, null, {
496
496
  sidebar: p(() => [
497
- g(Et, {
497
+ f(Et, {
498
498
  redirection: !1,
499
499
  "selected-location": Number(w.selectedLocation)
500
500
  }, null, 8, ["selected-location"])
501
501
  ]),
502
502
  form: p(() => [
503
- e(de) && e(ce) ? (l(), d("div", xt, [
504
- e(E) && w.onlyShow !== "templates" ? (l(), d(R, { key: 0 }, [
503
+ e(ce) && e(de) ? (l(), c("div", xt, [
504
+ e(E) && w.onlyShow !== "templates" ? (l(), c(R, { key: 0 }, [
505
505
  v("", !0),
506
506
  t("ul", en, [
507
- (l(!0), d(R, null, j(e(P), ({
508
- id: A,
507
+ (l(!0), c(R, null, j(e(P), ({
508
+ id: O,
509
509
  days: a,
510
510
  name: C,
511
- timeFrom: B,
511
+ timeFrom: L,
512
512
  timeTo: D,
513
- fromDate: O,
513
+ fromDate: A,
514
514
  toDate: Q,
515
515
  tableGroupId: W,
516
516
  description: me,
@@ -519,53 +519,53 @@ const tn = { class: "konnectio-event-listings" }, nn = {
519
519
  images: ze,
520
520
  maxOnlineReservationLimit: He,
521
521
  maxPaxPerReservation: je
522
- }) => (l(), T(Mt, {
523
- key: A,
522
+ }) => (l(), T(Rt, {
523
+ key: O,
524
524
  type: "event",
525
- "listing-id": A,
525
+ "listing-id": O,
526
526
  "table-group-id": W,
527
527
  description: me,
528
528
  name: C,
529
529
  length: J,
530
530
  gallery: ze,
531
531
  days: a,
532
- "from-date": O,
532
+ "from-date": A,
533
533
  "to-date": Q,
534
534
  "max-online-reservation-limit": je || He,
535
- "time-from": B,
535
+ "time-from": L,
536
536
  "time-to": D,
537
537
  "sold-out": pe,
538
538
  callback: S
539
539
  }, 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", "callback"]))), 128))
540
540
  ])
541
541
  ], 64)) : v("", !0),
542
- e(V) && w.onlyShow !== "events" ? (l(), d(R, { key: 1 }, [
542
+ e(V) && w.onlyShow !== "events" ? (l(), c(R, { key: 1 }, [
543
543
  v("", !0),
544
544
  t("ul", tn, [
545
- (l(!0), d(R, null, j(e(I), ({
546
- id: A,
545
+ (l(!0), c(R, null, j(e(U), ({
546
+ id: O,
547
547
  name: a,
548
548
  fromDate: C,
549
- toDate: B,
549
+ toDate: L,
550
550
  minimumPersonCount: D,
551
- fromPrice: O,
551
+ fromPrice: A,
552
552
  description: Q,
553
553
  imageUrl: W
554
554
  }) => (l(), T(Ut, {
555
- key: A,
556
- "listing-id": A,
555
+ key: O,
556
+ "listing-id": O,
557
557
  name: a,
558
558
  image: W,
559
559
  description: Q,
560
560
  "from-date": C,
561
- "to-date": B,
561
+ "to-date": L,
562
562
  "minimum-person-count": D,
563
- fromPrice: O,
563
+ fromPrice: A,
564
564
  callback: S
565
565
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
566
566
  ])
567
567
  ], 64)) : v("", !0),
568
- !e(E) && !e(V) || !e(E) && w.onlyShow === "events" || !e(V) && w.onlyShow === "templates" ? (l(), d("div", nn, [
568
+ !e(E) && !e(V) || !e(E) && w.onlyShow === "events" || !e(V) && w.onlyShow === "templates" ? (l(), c("div", nn, [
569
569
  t("span", null, o(e(n)("event.nothingAvailable")), 1)
570
570
  ])) : v("", !0)
571
571
  ])) : (l(), T(Se, { key: 1 }))
@@ -573,28 +573,28 @@ const tn = { class: "konnectio-event-listings" }, nn = {
573
573
  _: 2
574
574
  }, 1024)
575
575
  ]),
576
- addons: p(({ next: S, prev: A }) => [
576
+ addons: p(({ next: S, prev: O }) => [
577
577
  e(K) ? (l(), T(ve, { key: 0 }, {
578
578
  form: p(() => [
579
579
  t("form", on, [
580
580
  t("h2", null, [
581
581
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
582
582
  ]),
583
- e(i) && e(i).length > 0 ? (l(), d("ul", ln, [
584
- (l(!0), d(R, null, j(e(i), ({
583
+ e(i) && e(i).length > 0 ? (l(), c("ul", ln, [
584
+ (l(!0), c(R, null, j(e(i), ({
585
585
  roomGroupId: a,
586
586
  addons: C,
587
- adultPerRoom: B
588
- }, D) => (l(), d("li", { key: a }, [
587
+ adultPerRoom: L
588
+ }, D) => (l(), c("li", { key: a }, [
589
589
  t("h5", null, [
590
590
  t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(D + 1), 1),
591
591
  _e(" ("),
592
- g(ge, {
592
+ f(fe, {
593
593
  icon: "male",
594
594
  type: "fas",
595
595
  color: "header"
596
596
  }),
597
- _e(" " + o(B) + ") ", 1)
597
+ _e(" " + o(L) + ") ", 1)
598
598
  ]),
599
599
  t("table", an, [
600
600
  t("thead", null, [
@@ -609,34 +609,34 @@ const tn = { class: "konnectio-event-listings" }, nn = {
609
609
  ])
610
610
  ]),
611
611
  t("tbody", null, [
612
- (l(!0), d(R, null, j(C, ({
613
- id: O,
612
+ (l(!0), c(R, null, j(C, ({
613
+ id: A,
614
614
  cardinality: Q,
615
615
  name: W,
616
616
  price: me,
617
617
  quantityStrategy: pe
618
- }) => (l(), d("tr", { key: O }, [
618
+ }) => (l(), c("tr", { key: A }, [
619
619
  t("td", null, [
620
620
  t("b", null, o(W), 1),
621
- cn,
622
- t("span", null, o(e(G)(me, e(M))) + " " + o(e(at)(pe)), 1)
621
+ dn,
622
+ t("span", null, o(e(G)(me, e(N))) + " " + o(e(at)(pe)), 1)
623
623
  ]),
624
- t("td", dn, [
624
+ t("td", cn, [
625
625
  Q === 3 ? (l(), T(oe, {
626
626
  key: 0,
627
- modelValue: e(r)[`${a}.${O}.${D}`],
628
- "onUpdate:modelValue": (J) => e(r)[`${a}.${O}.${D}`] = J,
627
+ modelValue: e(d)[`${a}.${A}.${D}`],
628
+ "onUpdate:modelValue": (J) => e(d)[`${a}.${A}.${D}`] = J,
629
629
  small: !0,
630
630
  "min-value": 0
631
631
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), T(wt, {
632
632
  key: 1,
633
- modelValue: e(r)[`${a}.${O}.${D}`],
634
- "onUpdate:modelValue": (J) => e(r)[`${a}.${O}.${D}`] = J,
633
+ modelValue: e(d)[`${a}.${A}.${D}`],
634
+ "onUpdate:modelValue": (J) => e(d)[`${a}.${A}.${D}`] = J,
635
635
  numeric: !0
636
636
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
637
637
  ]),
638
638
  t("td", un, [
639
- t("span", null, o(e(G)(e(ke)(O, a, D), e(M))), 1)
639
+ t("span", null, o(e(G)(e(ke)(A, a, D), e(N))), 1)
640
640
  ])
641
641
  ]))), 128))
642
642
  ]),
@@ -646,7 +646,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
646
646
  pn,
647
647
  t("td", vn, [
648
648
  t("u", null, [
649
- t("span", null, o(e(G)(e(Ue)(a, D), e(M))), 1)
649
+ t("span", null, o(e(G)(e(Ue)(a, D), e(N))), 1)
650
650
  ])
651
651
  ])
652
652
  ])
@@ -654,11 +654,11 @@ const tn = { class: "konnectio-event-listings" }, nn = {
654
654
  ])
655
655
  ]))), 128))
656
656
  ])) : v("", !0),
657
- e(N) ? (l(), d("div", bn, [
658
- t("label", gn, [
657
+ e(B) ? (l(), c("div", bn, [
658
+ t("label", fn, [
659
659
  t("span", null, o(e(n)("event.selectProducts")), 1)
660
660
  ]),
661
- t("table", fn, [
661
+ t("table", gn, [
662
662
  t("thead", null, [
663
663
  t("tr", null, [
664
664
  t("th", null, [
@@ -671,7 +671,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
671
671
  ])
672
672
  ]),
673
673
  t("tbody", null, [
674
- (l(!0), d(R, null, j(e(_).products, ({ productID: a, productName: C, price: B, description: D }) => (l(), d("tr", { key: a }, [
674
+ (l(!0), c(R, null, j(e(_).products, ({ productID: a, productName: C, price: L, description: D }) => (l(), c("tr", { key: a }, [
675
675
  t("td", null, [
676
676
  t("b", null, [
677
677
  t("span", null, o(C), 1)
@@ -679,18 +679,18 @@ const tn = { class: "konnectio-event-listings" }, nn = {
679
679
  yn,
680
680
  t("span", null, o(D), 1),
681
681
  _n,
682
- t("span", null, o(e(G)(B, e(M))), 1)
682
+ t("span", null, o(e(G)(L, e(N))), 1)
683
683
  ]),
684
684
  t("td", $n, [
685
- g(oe, {
685
+ f(oe, {
686
686
  modelValue: e(m)[a],
687
- "onUpdate:modelValue": (O) => e(m)[a] = O,
687
+ "onUpdate:modelValue": (A) => e(m)[a] = A,
688
688
  small: !0,
689
689
  "min-value": 0
690
690
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
691
691
  ]),
692
692
  t("td", wn, [
693
- t("span", null, o(e(G)(e(ke)(a), e(M))), 1)
693
+ t("span", null, o(e(G)(e(ke)(a), e(N))), 1)
694
694
  ])
695
695
  ]))), 128))
696
696
  ])
@@ -699,14 +699,14 @@ const tn = { class: "konnectio-event-listings" }, nn = {
699
699
  ])
700
700
  ]),
701
701
  navigation: p(() => [
702
- g(be, {
702
+ f(be, {
703
703
  label: e(n)("event.startReservation"),
704
704
  "full-width": "",
705
705
  onClickEvent: S
706
706
  }, null, 8, ["label", "onClickEvent"]),
707
707
  t("button", {
708
708
  class: "konnectio-abort-reservation link",
709
- onClick: $e((a) => e(ye)(A), ["prevent"])
709
+ onClick: $e((a) => e(ye)(O), ["prevent"])
710
710
  }, [
711
711
  t("span", null, o(e(n)("general.goAStepBack")), 1)
712
712
  ], 8, Vn)
@@ -714,8 +714,8 @@ const tn = { class: "konnectio-event-listings" }, nn = {
714
714
  _: 2
715
715
  }, 1024)) : v("", !0)
716
716
  ]),
717
- reservation: p(({ next: S, prev: A }) => [
718
- g(ve, {
717
+ reservation: p(({ next: S, prev: O }) => [
718
+ f(ve, {
719
719
  "show-terms-notice": !0,
720
720
  "show-gift-card": !0
721
721
  }, {
@@ -724,18 +724,18 @@ const tn = { class: "konnectio-event-listings" }, nn = {
724
724
  t("h2", null, [
725
725
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
726
726
  ]),
727
- g(x, {
727
+ f(x, {
728
728
  modelValue: e(s),
729
- "onUpdate:modelValue": k[0] || (k[0] = (a) => U(s) ? s.value = a : null),
729
+ "onUpdate:modelValue": k[0] || (k[0] = (a) => M(s) ? s.value = a : null),
730
730
  type: "text",
731
731
  label: e(n)("booking.reservation.name"),
732
732
  icon: "user-alt",
733
733
  placeholder: e(n)("booking.reservation.namePlaceholder"),
734
734
  required: ""
735
735
  }, null, 8, ["modelValue", "label", "placeholder"]),
736
- g(x, {
736
+ f(x, {
737
737
  modelValue: e($),
738
- "onUpdate:modelValue": k[1] || (k[1] = (a) => U($) ? $.value = a : null),
738
+ "onUpdate:modelValue": k[1] || (k[1] = (a) => M($) ? $.value = a : null),
739
739
  label: e(n)("booking.reservation.email"),
740
740
  type: "email",
741
741
  name: "email",
@@ -744,9 +744,9 @@ const tn = { class: "konnectio-event-listings" }, nn = {
744
744
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
745
745
  required: ""
746
746
  }, null, 8, ["modelValue", "label", "placeholder"]),
747
- g(Vt, {
747
+ f(Vt, {
748
748
  modelValue: e(b),
749
- "onUpdate:modelValue": k[2] || (k[2] = (a) => U(b) ? b.value = a : null),
749
+ "onUpdate:modelValue": k[2] || (k[2] = (a) => M(b) ? b.value = a : null),
750
750
  label: e(n)("booking.reservation.phone"),
751
751
  icon: "phone-office",
752
752
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
@@ -755,7 +755,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
755
755
  e(H) ? (l(), T(bt, {
756
756
  key: 0,
757
757
  modelValue: e(y),
758
- "onUpdate:modelValue": k[3] || (k[3] = (a) => U(y) ? y.value = a : null),
758
+ "onUpdate:modelValue": k[3] || (k[3] = (a) => M(y) ? y.value = a : null),
759
759
  label: e(n)("event.selectArrivalTime"),
760
760
  name: "eventTimeTable",
761
761
  checkboxes: Ge.value,
@@ -763,23 +763,23 @@ const tn = { class: "konnectio-event-listings" }, nn = {
763
763
  }, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
764
764
  e(re) === e(st).FullDayEvent ? (l(), T(oe, {
765
765
  key: 1,
766
- modelValue: e(f),
767
- "onUpdate:modelValue": k[4] || (k[4] = (a) => U(f) ? f.value = a : null),
766
+ modelValue: e(g),
767
+ "onUpdate:modelValue": k[4] || (k[4] = (a) => M(g) ? g.value = a : null),
768
768
  label: e(n)("event.numberOfDays"),
769
769
  "min-value": 1,
770
770
  required: ""
771
771
  }, null, 8, ["modelValue", "label"])) : v("", !0),
772
- g(x, {
773
- modelValue: e(c),
774
- "onUpdate:modelValue": k[5] || (k[5] = (a) => U(c) ? c.value = a : null),
772
+ f(x, {
773
+ modelValue: e(r),
774
+ "onUpdate:modelValue": k[5] || (k[5] = (a) => M(r) ? r.value = a : null),
775
775
  type: "textarea",
776
776
  label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
777
777
  icon: "info-circle",
778
778
  placeholder: e(n)("booking.reservation.remarkPlaceholder")
779
779
  }, null, 8, ["modelValue", "label", "placeholder"]),
780
- g(x, {
780
+ f(x, {
781
781
  modelValue: e(h),
782
- "onUpdate:modelValue": k[6] || (k[6] = (a) => U(h) ? h.value = a : null),
782
+ "onUpdate:modelValue": k[6] || (k[6] = (a) => M(h) ? h.value = a : null),
783
783
  type: "textarea",
784
784
  label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
785
785
  icon: "allergies",
@@ -788,16 +788,16 @@ const tn = { class: "konnectio-event-listings" }, nn = {
788
788
  ])
789
789
  ]),
790
790
  navigation: p(() => [
791
- g(be, {
791
+ f(be, {
792
792
  label: e(n)("general.confirmReservation"),
793
793
  "is-loading": e(F),
794
794
  disabled: !e(X),
795
795
  "full-width": "",
796
- onClickEvent: (a) => e(Re)(S)
796
+ onClickEvent: (a) => e(Me)(S)
797
797
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"]),
798
798
  t("button", {
799
799
  class: "konnectio-abort-reservation link",
800
- onClick: $e((a) => e(ye)(A), ["prevent"])
800
+ onClick: $e((a) => e(ye)(O), ["prevent"])
801
801
  }, [
802
802
  t("span", null, o(e(n)("general.goAStepBack")), 1)
803
803
  ], 8, En)
@@ -806,10 +806,10 @@ const tn = { class: "konnectio-event-listings" }, nn = {
806
806
  }, 1024)
807
807
  ]),
808
808
  payment: p(() => [
809
- g(Dt)
809
+ f(Dt)
810
810
  ]),
811
811
  confirmation: p(() => [
812
- g(gt, {
812
+ f(ft, {
813
813
  message: e(n)("event.confirmationMessage")
814
814
  }, null, 8, ["message"])
815
815
  ]),
@@ -820,7 +820,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
820
820
  }, 8, ["access-token", "callback"])
821
821
  ]),
822
822
  fallback: p(() => [
823
- g(Xt)
823
+ f(Xt)
824
824
  ]),
825
825
  _: 1
826
826
  }))
@@ -828,8 +828,8 @@ const tn = { class: "konnectio-event-listings" }, nn = {
828
828
  _: 1
829
829
  }, 8, ["styling"]));
830
830
  }
831
- }), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-62ec24db"]]), Pn = xe(), An = tt();
832
- class On extends HTMLElement {
831
+ }), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-62ec24db"]]), Pn = xe(), On = tt();
832
+ class An extends HTMLElement {
833
833
  vueApp;
834
834
  constructor() {
835
835
  super();
@@ -839,25 +839,25 @@ class On extends HTMLElement {
839
839
  }
840
840
  connectedCallback() {
841
841
  const n = typeof te == "function" ? te.options : te;
842
- let r = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
843
- const m = (c) => c.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (h, y) => (y ? "-" : "") + h.toLowerCase()), f = (c) => c.replace(/-./g, (h) => h[1].toUpperCase()), s = {};
844
- r = r.map(m);
842
+ let d = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
843
+ const m = (r) => r.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (h, y) => (y ? "-" : "") + h.toLowerCase()), g = (r) => r.replace(/-./g, (h) => h[1].toUpperCase()), s = {};
844
+ d = d.map(m);
845
845
  const b = {};
846
- for (const c of this.attributes) {
847
- const y = c.name.split(".");
848
- y.length > 1 && (b[y[0]] || (b[y[0]] = {}), b[y[0]][f(y[1])] = c.value);
846
+ for (const r of this.attributes) {
847
+ const y = r.name.split(".");
848
+ y.length > 1 && (b[y[0]] || (b[y[0]] = {}), b[y[0]][g(y[1])] = r.value);
849
849
  }
850
- for (const c of r) {
851
- let h = this.attributes.getNamedItem(c)?.value;
852
- b.hasOwnProperty(c) && (h = b[c]), s[c] = h;
850
+ for (const r of d) {
851
+ let h = this.attributes.getNamedItem(r)?.value;
852
+ b.hasOwnProperty(r) && (h = b[r]), s[r] = h;
853
853
  }
854
- this.vueApp = Xe(te, s), this.vueApp.provide("emitter", An), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use(ft), this.vueApp.use(ht), this.vueApp.use(dt, { bootstrap: !0 });
854
+ this.vueApp = Xe(te, s), this.vueApp.provide("emitter", On), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use(gt), this.vueApp.use(ht), this.vueApp.use(ct, { bootstrap: !0 });
855
855
  const $ = document.createElement("div");
856
856
  this.vueApp.mount($), this.appendChild($.children[0]);
857
857
  }
858
858
  }
859
- window.customElements.define("konnectio-event", On);
859
+ window.customElements.define("konnectio-event", An);
860
860
  export {
861
- On as default
861
+ An as default
862
862
  };
863
863
  //# sourceMappingURL=event.js.map