@konnectio/core 4.0.107 → 4.0.108

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-GmUJLTO4.js → ActionField-BCpBUzYq.js} +2 -2
  2. package/dist/ActionField-BCpBUzYq.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-Bp8OgpA3.js → AvailabilitySkeleton-D68rsszW.js} +5 -5
  4. package/dist/AvailabilitySkeleton-D68rsszW.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-fX0HGGOm.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-qkLuMUy_.js} +2944 -2943
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-qkLuMUy_.js.br +0 -0
  7. package/dist/{CheckoutWindow-DaOAtoMf.js → CheckoutWindow-DlOjAnXi.js} +2 -2
  8. package/dist/CheckoutWindow-DlOjAnXi.js.br +0 -0
  9. package/dist/{ErrorMessage-CfLhLTxL.js → ErrorMessage-B9ZZcPka.js} +2 -2
  10. package/dist/ErrorMessage-B9ZZcPka.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CqbXunlX.js → EventAvailabilityForm-C04qNvIk.js} +3 -3
  12. package/dist/EventAvailabilityForm-C04qNvIk.js.br +0 -0
  13. package/dist/{Field-BI2UQR8e.js → Field-1V5lhiBZ.js} +3 -3
  14. package/dist/Field-1V5lhiBZ.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bp1cwQb7.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-WXxPldPi.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-A3o_IPWl.js → SelectField.vue_vue_type_style_index_0_lang-rrFXq3tL.js} +2 -2
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-rrFXq3tL.js.br +0 -0
  18. package/dist/{TermsOfService-C5bnEpit.js → TermsOfService-CHWko7NP.js} +3 -3
  19. package/dist/_-yLT1KaDj.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-D4PTXgRM.js → _.vue_vue_type_style_index_0_lang-BcTbsuuY.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/event.js +169 -164
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +7 -7
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +8 -8
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/{giftCard-C3Q08SsE.js → giftCard-BAuLpbSY.js} +2 -2
  32. package/dist/giftCard-BAuLpbSY.js.br +0 -0
  33. package/dist/hotel.js +7 -7
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-DrFLo4My.js → masonry.plugin-6QBXYaGi.js} +6 -6
  36. package/dist/masonry.plugin-6QBXYaGi.js.br +0 -0
  37. package/dist/polyfill.js +91 -91
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField-GmUJLTO4.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-Bp8OgpA3.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-fX0HGGOm.js.br +0 -0
  45. package/dist/CheckoutWindow-DaOAtoMf.js.br +0 -0
  46. package/dist/ErrorMessage-CfLhLTxL.js.br +0 -0
  47. package/dist/EventAvailabilityForm-CqbXunlX.js.br +0 -0
  48. package/dist/Field-BI2UQR8e.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-A3o_IPWl.js.br +0 -0
  50. package/dist/_-BIvEC6DV.js +0 -5
  51. package/dist/giftCard-C3Q08SsE.js.br +0 -0
  52. package/dist/masonry.plugin-DrFLo4My.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,18 +1,18 @@
1
- import { d as j, u as le, s as z, r as Xe, c as J, a, b as P, w as p, v as ne, i as e, e as t, j as v, f, n as Ze, g as c, t as l, x as et, y as tt, F as A, z as q, A as R, S as nt, B as he, k as ot, l as lt, m as at, p as st, q as it } from "./mitt-BvlSsOyy.js";
2
- import { a as Ne, f as oe, l as rt, s as U, d as ve, B as ut, _ as ae, g as ke, I as fe, h as dt, i as be, j as H, u as _e, k as ct, m as De, T as te, O as mt, C as pt, n as vt, o as ft, p as bt } from "./SelectField.vue_vue_type_style_index_0_lang-A3o_IPWl.js";
1
+ import { d as j, u as le, s as z, r as Xe, c as J, a, b as E, w as p, v as ne, i as e, e as t, j as v, f, n as Ze, g as c, t as l, x as et, y as tt, F as A, z as q, A as R, S as nt, B as _e, k as ot, l as lt, m as at, p as st, q as it } from "./mitt-BvlSsOyy.js";
2
+ import { a as Fe, f as oe, l as rt, s as U, d as fe, B as ut, _ as ae, g as ye, I as be, h as dt, i as ge, j as H, u as Pe, k as ct, m as De, T as te, O as mt, C as pt, n as vt, o as ft, p as bt } from "./SelectField.vue_vue_type_style_index_0_lang-rrFXq3tL.js";
3
3
  import { G as gt } from "./style-CYxgAqoT.js";
4
- import { b as me, f as kt, a as yt, l as ht, m as _t, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-fX0HGGOm.js";
5
- import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-D4PTXgRM.js";
6
- import { B as Pt, _ as Et, R as Vt, L as Fe, S as $t, M as wt, C as Tt, T as Ot, V as Nt, a as Ft } from "./masonry.plugin-DrFLo4My.js";
7
- import { C as St, P as Mt, a as Bt } from "./CheckoutWindow-DaOAtoMf.js";
8
- import { E as Ct } from "./EventAvailabilityForm-CqbXunlX.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bp1cwQb7.js";
10
- const Pe = 6e4, Ee = 525600, Ve = 43200, $e = 1440, we = Symbol.for("constructDateFrom");
11
- function Se(s, o) {
12
- return typeof s == "function" ? s(o) : s && typeof s == "object" && we in s ? s[we](o) : s instanceof Date ? new s.constructor(o) : new Date(o);
4
+ import { b as pe, f as kt, a as yt, l as ht, m as _t, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-qkLuMUy_.js";
5
+ import { _ as Pt } from "./_.vue_vue_type_style_index_0_lang-BcTbsuuY.js";
6
+ import { B as Dt, _ as Et, R as Vt, L as Se, S as $t, M as wt, C as Tt, T as Nt, V as Ot, a as Ft } from "./masonry.plugin-6QBXYaGi.js";
7
+ import { C as St, P as Mt, a as Bt } from "./CheckoutWindow-DlOjAnXi.js";
8
+ import { E as Ct } from "./EventAvailabilityForm-C04qNvIk.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-WXxPldPi.js";
10
+ const Ee = 6e4, Ve = 525600, $e = 43200, we = 1440, Te = Symbol.for("constructDateFrom");
11
+ function Me(s, o) {
12
+ return typeof s == "function" ? s(o) : s && typeof s == "object" && Te in s ? s[Te](o) : s instanceof Date ? new s.constructor(o) : new Date(o);
13
13
  }
14
14
  function Lt(s, ...o) {
15
- const n = Se.bind(
15
+ const n = Me.bind(
16
16
  null,
17
17
  s || o.find((m) => typeof m == "object")
18
18
  );
@@ -22,8 +22,8 @@ let At = {};
22
22
  function It() {
23
23
  return At;
24
24
  }
25
- function ge(s, o) {
26
- return Se(s, s);
25
+ function ke(s, o) {
26
+ return Me(s, s);
27
27
  }
28
28
  const Rt = {
29
29
  full: "EEEE, MMMM do, y",
@@ -41,15 +41,15 @@ const Rt = {
41
41
  medium: "{{date}}, {{time}}",
42
42
  short: "{{date}}, {{time}}"
43
43
  }, Gt = {
44
- date: me({
44
+ date: pe({
45
45
  formats: Rt,
46
46
  defaultWidth: "full"
47
47
  }),
48
- time: me({
48
+ time: pe({
49
49
  formats: Ut,
50
50
  defaultWidth: "full"
51
51
  }),
52
- dateTime: me({
52
+ dateTime: pe({
53
53
  formats: zt,
54
54
  defaultWidth: "full"
55
55
  })
@@ -65,8 +65,8 @@ const Rt = {
65
65
  firstWeekContainsDate: 1
66
66
  }
67
67
  };
68
- function Te(s) {
69
- const o = ge(s), n = new Date(
68
+ function Ne(s) {
69
+ const o = ke(s), n = new Date(
70
70
  Date.UTC(
71
71
  o.getFullYear(),
72
72
  o.getMonth(),
@@ -80,7 +80,7 @@ function Te(s) {
80
80
  return n.setUTCFullYear(o.getFullYear()), +s - +n;
81
81
  }
82
82
  function Ht(s, o) {
83
- const n = +ge(s) - +ge(o);
83
+ const n = +ke(s) - +ke(o);
84
84
  return n < 0 ? -1 : n > 0 ? 1 : n;
85
85
  }
86
86
  function Yt(s) {
@@ -96,28 +96,28 @@ function jt(s, o, n) {
96
96
  const k = Object.assign({}, n, {
97
97
  addSuffix: n?.addSuffix,
98
98
  comparison: d
99
- }), [w, E] = Lt(
99
+ }), [w, _] = Lt(
100
100
  n?.in,
101
101
  ...d > 0 ? [o, s] : [s, o]
102
- ), V = Yt(n?.roundingMethod ?? "round"), T = E.getTime() - w.getTime(), _ = T / Pe, y = Te(E) - Te(w), $ = (T - y) / Pe, B = n?.unit;
102
+ ), V = Yt(n?.roundingMethod ?? "round"), T = _.getTime() - w.getTime(), P = T / Ee, y = Ne(_) - Ne(w), $ = (T - y) / Ee, B = n?.unit;
103
103
  let g;
104
- if (B ? g = B : _ < 1 ? g = "second" : _ < 60 ? g = "minute" : _ < $e ? g = "hour" : $ < Ve ? g = "day" : $ < Ee ? g = "month" : g = "year", g === "second") {
104
+ if (B ? g = B : P < 1 ? g = "second" : P < 60 ? g = "minute" : P < we ? g = "hour" : $ < $e ? g = "day" : $ < Ve ? g = "month" : g = "year", g === "second") {
105
105
  const i = V(T / 1e3);
106
106
  return b.formatDistance("xSeconds", i, k);
107
107
  } else if (g === "minute") {
108
- const i = V(_);
108
+ const i = V(P);
109
109
  return b.formatDistance("xMinutes", i, k);
110
110
  } else if (g === "hour") {
111
- const i = V(_ / 60);
111
+ const i = V(P / 60);
112
112
  return b.formatDistance("xHours", i, k);
113
113
  } else if (g === "day") {
114
- const i = V($ / $e);
114
+ const i = V($ / we);
115
115
  return b.formatDistance("xDays", i, k);
116
116
  } else if (g === "month") {
117
- const i = V($ / Ve);
117
+ const i = V($ / $e);
118
118
  return i === 12 && B !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", i, k);
119
119
  } else {
120
- const i = V($ / Ee);
120
+ const i = V($ / Ve);
121
121
  return b.formatDistance("xYears", i, k);
122
122
  }
123
123
  }
@@ -145,17 +145,17 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
145
145
  callback: {}
146
146
  },
147
147
  setup(s) {
148
- const { t: o } = le(), n = s, { display: m } = Ne(), {
148
+ const { t: o } = le(), n = s, { display: m } = Fe(), {
149
149
  maxNumberOfPeople: b,
150
150
  numberOfPeople: d,
151
151
  eventId: k,
152
152
  currentEventDate: w,
153
- tableGroupId: E
153
+ tableGroupId: _
154
154
  } = z(Y()), {
155
155
  getTemplateAvailability: V,
156
156
  getEventAvailability: T,
157
- isEventListingLoading: _
158
- } = Y(), y = Xe(0), $ = J(() => _(n.listingId)), B = () => {
157
+ isEventListingLoading: P
158
+ } = Y(), y = Xe(0), $ = J(() => P(n.listingId)), B = () => {
159
159
  if (!n.useNumberOfProductsForPersons && (y.value === 0 || isNaN(y.value))) {
160
160
  m({
161
161
  type: "error",
@@ -163,7 +163,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
163
163
  });
164
164
  return;
165
165
  }
166
- k.value = n.listingId, d.value = y.value, V(n.callback);
166
+ k.value = n.listingId, d.value = n.useNumberOfProductsForPersons ? NaN : y.value, V(n.callback);
167
167
  }, g = () => {
168
168
  if (!n.useNumberOfProductsForPersons && (y.value === 0 || isNaN(y.value))) {
169
169
  m({
@@ -172,9 +172,9 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
172
172
  });
173
173
  return;
174
174
  }
175
- k.value = n.listingId, E.value = n.tableGroupId, d.value = n.useNumberOfProductsForPersons ? 1 : y.value, T(n.callback);
175
+ k.value = n.listingId, _.value = n.tableGroupId, d.value = n.useNumberOfProductsForPersons ? NaN : y.value, T(n.callback);
176
176
  };
177
- return (i, M) => (a(), P(Pt, {
177
+ return (i, M) => (a(), E(Dt, {
178
178
  type: "event",
179
179
  "listing-id": i.listingId,
180
180
  gallery: i.gallery,
@@ -194,7 +194,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
194
194
  { "no-selectable-people": i.useNumberOfProductsForPersons }
195
195
  ])
196
196
  }, [
197
- i.useNumberOfProductsForPersons ? v("", !0) : (a(), P(oe, {
197
+ i.useNumberOfProductsForPersons ? v("", !0) : (a(), E(oe, {
198
198
  key: 0,
199
199
  modelValue: y.value,
200
200
  "onUpdate:modelValue": M[0] || (M[0] = (C) => y.value = C),
@@ -207,7 +207,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
207
207
  "max-value": i.maxOnlineReservationLimit || i.maxGuests || e(b) || 1 / 0
208
208
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
209
209
  t("div", Wt, [
210
- f(ve, {
210
+ f(fe, {
211
211
  label: i.soldOut ? e(o)("event.soldOut") : e(o)("event.bookNowButton"),
212
212
  disabled: i.soldOut,
213
213
  "is-loading": $.value,
@@ -221,7 +221,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
221
221
  _: 3
222
222
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
223
223
  }
224
- }), Me = /* @__PURE__ */ ae(Qt, [["__scopeId", "data-v-9c08c856"]]), xt = { class: "konnectio-event-listing-information-new" };
224
+ }), Be = /* @__PURE__ */ ae(Qt, [["__scopeId", "data-v-65dec7be"]]), xt = { class: "konnectio-event-listing-information-new" };
225
225
  const Jt = {
226
226
  key: 1,
227
227
  class: "konnectio-pill-button"
@@ -248,14 +248,14 @@ const Jt = {
248
248
  callback: {}
249
249
  },
250
250
  setup(s) {
251
- const o = s, { t: n } = le(), { hideEventLength: m } = z(ke()), b = J(() => {
251
+ const o = s, { t: n } = le(), { hideEventLength: m } = z(ye()), b = J(() => {
252
252
  const d = o.length.split(":");
253
253
  return jt(
254
254
  new Date(2e3, 0, 1, Number(d[0]), Number(d[1]), 0),
255
255
  new Date(2e3, 0, 1, 0, 0, 0)
256
256
  );
257
257
  });
258
- return (d, k) => (a(), P(Me, {
258
+ return (d, k) => (a(), E(Be, {
259
259
  "listing-id": d.listingId,
260
260
  name: d.name,
261
261
  description: d.description,
@@ -269,7 +269,7 @@ const Jt = {
269
269
  callback: d.callback
270
270
  }, {
271
271
  description: p(() => [
272
- d.description ? (a(), P(Et, {
272
+ d.description ? (a(), E(Et, {
273
273
  key: 0,
274
274
  text: d.description
275
275
  }, null, 8, ["text"])) : v("", !0),
@@ -277,7 +277,7 @@ const Jt = {
277
277
  v("", !0),
278
278
  e(m) ? v("", !0) : (a(), c("li", Jt, [
279
279
  t("div", null, [
280
- f(fe, {
280
+ f(be, {
281
281
  icon: "calendar-clock",
282
282
  color: "header"
283
283
  }),
@@ -287,7 +287,7 @@ const Jt = {
287
287
  ])),
288
288
  t("li", Kt, [
289
289
  t("div", null, [
290
- f(fe, {
290
+ f(be, {
291
291
  icon: "calendar-clock",
292
292
  color: "header"
293
293
  }),
@@ -326,7 +326,7 @@ const Jt = {
326
326
  url: o.image
327
327
  }];
328
328
  });
329
- return (m, b) => (a(), P(Me, {
329
+ return (m, b) => (a(), E(Be, {
330
330
  "listing-id": m.listingId,
331
331
  gallery: n.value,
332
332
  name: m.name,
@@ -337,7 +337,7 @@ const Jt = {
337
337
  callback: m.callback
338
338
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
339
339
  }
340
- }), tn = { key: 0 }, nn = { key: 1 }, on = { key: 3 }, ln = { key: 4 }, an = { key: 0 }, sn = { key: 0 }, rn = { key: 1 }, pe = /* @__PURE__ */ j({
340
+ }), tn = { key: 0 }, nn = { key: 1 }, on = { key: 2 }, ln = { key: 4 }, an = { key: 5 }, sn = { key: 0 }, rn = { key: 0 }, un = { key: 1 }, ve = /* @__PURE__ */ j({
341
341
  __name: "EventReservationForm",
342
342
  props: {
343
343
  showGiftCard: { type: Boolean, default: !1 },
@@ -351,22 +351,23 @@ const Jt = {
351
351
  numberOfPeople: d,
352
352
  numberOfRooms: k,
353
353
  numberOfTotalDays: w,
354
- isTemplateEvent: E,
354
+ isTemplateEvent: _,
355
355
  currentEventDate: V,
356
356
  length: T,
357
- fromDate: _,
357
+ fromDate: P,
358
358
  tableBasePrice: y,
359
359
  getTemplateData: $,
360
360
  basePrice: B,
361
361
  totalPrice: g,
362
362
  weekendFee: i,
363
363
  roomUpgrade: M,
364
- discountCode: C
365
- } = z(Y()), { totalAddonPrice: se, validateDiscountCode: ie } = Y(), { currency: K, hideEventLength: re } = z(ke());
366
- return (I, X) => (a(), P(Vt, {
364
+ discountCode: C,
365
+ totalSelectedProducts: se
366
+ } = z(Y()), { totalAddonPrice: ie, validateDiscountCode: re } = Y(), { currency: K, hideEventLength: ue } = z(ye());
367
+ return (I, X) => (a(), E(Vt, {
367
368
  "discount-code": e(C),
368
369
  "onUpdate:discountCode": X[0] || (X[0] = (G) => R(C) ? C.value = G : null),
369
- "validate-discount-code": e(ie),
370
+ "validate-discount-code": e(re),
370
371
  "show-gift-card": I.showGiftCard,
371
372
  "show-terms-notice": I.showTermsNotice,
372
373
  "is-sidebar-loading": !e(m),
@@ -381,7 +382,7 @@ const Jt = {
381
382
  ne(I.$slots, "form")
382
383
  ]),
383
384
  "reservation-summary": p(() => [
384
- e(E) ? v("", !0) : (a(), c("li", tn, [
385
+ e(_) ? v("", !0) : (a(), c("li", tn, [
385
386
  t("span", null, l(e(o)("general.date")), 1),
386
387
  t("b", null, l(e(U)(e(V))), 1)
387
388
  ])),
@@ -389,14 +390,18 @@ const Jt = {
389
390
  t("span", null, l(e(o)("event.numberOfGuests")), 1),
390
391
  t("b", null, l(e(d)), 1)
391
392
  ])) : v("", !0),
392
- e(E) ? (a(), c(A, { key: 2 }, [
393
+ e(_) ? v("", !0) : (a(), c("li", on, [
394
+ t("span", null, l(e(o)("event.numberOfProducts")), 1),
395
+ t("b", null, l(e(se)), 1)
396
+ ])),
397
+ e(_) ? (a(), c(A, { key: 3 }, [
393
398
  t("li", null, [
394
399
  t("span", null, l(e(o)("booking.reservation.arrival")), 1),
395
- t("b", null, l(e(U)(e(_))), 1)
400
+ t("b", null, l(e(U)(e(P))), 1)
396
401
  ]),
397
402
  t("li", null, [
398
403
  t("span", null, l(e(o)("booking.reservation.departure")), 1),
399
- t("b", null, l(e(U)(e(_), e(w))), 1)
404
+ t("b", null, l(e(U)(e(P), e(w))), 1)
400
405
  ]),
401
406
  t("li", null, [
402
407
  t("span", null, l(e(o)("event.numberOfRooms")), 1),
@@ -407,32 +412,32 @@ const Jt = {
407
412
  t("b", null, l(e(w)), 1)
408
413
  ])
409
414
  ], 64)) : v("", !0),
410
- !e(E) && e(b) ? (a(), c("li", on, [
415
+ !e(_) && e(b) ? (a(), c("li", ln, [
411
416
  t("span", null, l(e(o)("event.startOfEvent")), 1),
412
- t("b", null, l(e(be)(e(b))), 1)
417
+ t("b", null, l(e(ge)(e(b))), 1)
413
418
  ])) : v("", !0),
414
- !e(E) && e(T) && !e(re) ? (a(), c("li", ln, [
419
+ !e(_) && e(T) && !e(ue) ? (a(), c("li", an, [
415
420
  t("span", null, l(e(o)("event.lengthOfEvent")), 1),
416
- t("b", null, l(e(be)(e(T))), 1)
421
+ t("b", null, l(e(ge)(e(T))), 1)
417
422
  ])) : v("", !0)
418
423
  ]),
419
424
  "price-summary": p(() => [
420
- !e(E) && e(y) > 0 ? (a(), c("li", an, [
425
+ !e(_) && e(y) > 0 ? (a(), c("li", sn, [
421
426
  t("span", null, l(e(o)("booking.availability.basePrice")), 1),
422
427
  t("b", null, l(e(H)(e(y), e(K))), 1)
423
428
  ])) : v("", !0),
424
429
  e($) ? (a(!0), c(A, { key: 1 }, q(e($), ({ roomGroupId: G }, Z) => (a(), c("li", { key: G }, [
425
430
  t("span", null, l(e(o)("booking.reservation.addons")) + " - " + l(e(o)("booking.reservation.room")) + " #" + l(Z + 1), 1),
426
- t("b", null, l(e(H)(e(se)(G, Z), e(K))), 1)
431
+ t("b", null, l(e(H)(e(ie)(G, Z), e(K))), 1)
427
432
  ]))), 128)) : v("", !0)
428
433
  ]),
429
434
  navigation: p(() => [
430
435
  ne(I.$slots, "navigation")
431
436
  ]),
432
437
  "mobile-under-price": p(() => [
433
- e(E) ? (a(), c("div", sn, [
434
- t("span", null, l(e(U)(e(_))) + " - " + l(e(U)(e(_), e(w))), 1)
435
- ])) : (a(), c("div", rn, [
438
+ e(_) ? (a(), c("div", rn, [
439
+ t("span", null, l(e(U)(e(P))) + " - " + l(e(U)(e(P), e(w))), 1)
440
+ ])) : (a(), c("div", un, [
436
441
  t("span", null, l(e(U)(e(V))), 1)
437
442
  ]))
438
443
  ]),
@@ -447,31 +452,31 @@ const Jt = {
447
452
  } : void 0
448
453
  ]), 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"]));
449
454
  }
450
- }), un = { class: "event-skeleton" }, dn = { class: "event-skeleton-content" }, cn = { class: "event-skeleton-sidebar" }, mn = /* @__PURE__ */ j({
455
+ }), dn = { class: "event-skeleton" }, cn = { class: "event-skeleton-content" }, mn = { class: "event-skeleton-sidebar" }, pn = /* @__PURE__ */ j({
451
456
  __name: "EventSkeleton",
452
457
  setup(s) {
453
- return (o, n) => (a(), c("div", un, [
454
- t("div", dn, [
455
- f(Fe)
456
- ]),
458
+ return (o, n) => (a(), c("div", dn, [
457
459
  t("div", cn, [
460
+ f(Se)
461
+ ]),
462
+ t("div", mn, [
458
463
  v("", !0),
459
464
  f($t)
460
465
  ])
461
466
  ]));
462
467
  }
463
- }), pn = /* @__PURE__ */ ae(mn, [["__scopeId", "data-v-3e15c4e3"]]), vn = {
468
+ }), vn = /* @__PURE__ */ ae(pn, [["__scopeId", "data-v-3e15c4e3"]]), fn = {
464
469
  key: 0,
465
470
  id: "konnectio-event-listings-wrapper"
466
471
  };
467
- const fn = { class: "konnectio-event-listings" };
468
- const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { class: "konnectio-panel" }, yn = {
472
+ const bn = { class: "konnectio-event-listings" };
473
+ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { class: "konnectio-panel" }, hn = {
469
474
  key: 0,
470
475
  id: "konnectio-event-addons"
471
- }, hn = { class: "konnectio-table with-lines" }, _n = { class: "konnectio-event-addons-price" }, Dn = { class: "konnectio-event-addons-input" }, Pn = { class: "konnectio-event-addons-price" }, En = { class: "konnectio-event-addons-price" }, Vn = {
476
+ }, _n = { class: "konnectio-table with-lines" }, Pn = { class: "konnectio-event-addons-price" }, Dn = { class: "konnectio-event-addons-input" }, En = { class: "konnectio-event-addons-price" }, Vn = { class: "konnectio-event-addons-price" }, $n = {
472
477
  key: 1,
473
478
  class: "konnectio-table with-lines"
474
- }, $n = { class: "konnectio-table-addons-information" }, wn = { key: 0 }, Tn = { class: "konnectio-table-addons-option" }, On = { class: "konnectio-panel" }, Nn = /* @__PURE__ */ j({
479
+ }, wn = { class: "konnectio-table-addons-information" }, Tn = { key: 0 }, Nn = { class: "konnectio-table-addons-option" }, On = { class: "konnectio-panel" }, Fn = /* @__PURE__ */ j({
475
480
  name: "EventLayout",
476
481
  __name: "Event",
477
482
  props: {
@@ -488,10 +493,10 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
488
493
  numberOfDays: d,
489
494
  name: k,
490
495
  phone: w,
491
- email: E,
496
+ email: _,
492
497
  remark: V,
493
498
  allergies: T,
494
- arrivalTime: _,
499
+ arrivalTime: P,
495
500
  hasEvents: y,
496
501
  hasTemplates: $,
497
502
  getEvents: B,
@@ -501,22 +506,22 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
501
506
  getEventTableData: C,
502
507
  hasProducts: se,
503
508
  eventRateType: ie,
504
- areListingsAvailable: K,
505
- isAvailabilityDataAvailable: re,
506
- hasListingData: I,
507
- isPaymentLoading: X,
508
- isReservationFormFilled: G,
509
- requiresArrivalTime: Z,
510
- hasSelectedRequiredProducts: Be
511
- } = z(Y()), { currency: ee } = z(ke()), { eventDate: Ce, eventLocation: Le } = z(_e()), { isValidRestaurantId: Ae } = _e(), {
509
+ areListingsAvailable: re,
510
+ isAvailabilityDataAvailable: K,
511
+ hasListingData: ue,
512
+ isPaymentLoading: I,
513
+ isReservationFormFilled: X,
514
+ requiresArrivalTime: G,
515
+ hasSelectedRequiredProducts: Z
516
+ } = z(Y()), { currency: ee } = z(ye()), { eventDate: Ce, eventLocation: Le } = z(Pe()), { isValidRestaurantId: Ae } = Pe(), {
512
517
  initialize: Ie,
513
518
  fetchListings: Re,
514
519
  createBooking: Ue,
515
520
  localAddonPrice: ze,
516
521
  totalAddonPrice: Ge,
517
522
  reset: qe,
518
- goBack: ye
519
- } = Y(), { display: ue } = Ne(), He = J(() => [
523
+ goBack: he
524
+ } = Y(), { display: de } = Fe(), He = J(() => [
520
525
  {
521
526
  id: "availability",
522
527
  label: n("booking.availability.title"),
@@ -545,8 +550,8 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
545
550
  ]), Ye = J(() => {
546
551
  const D = [];
547
552
  return C.value && C.value.forEach((u) => {
548
- D.find((O) => O.value === u.time) || D.push({
549
- label: be(u.time),
553
+ D.find((N) => N.value === u.time) || D.push({
554
+ label: ge(u.time),
550
555
  value: u.time
551
556
  });
552
557
  }), D;
@@ -557,31 +562,31 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
557
562
  function We() {
558
563
  const D = vt("history", {
559
564
  removeNullishValues: !0
560
- }), u = parseInt(D.rid), O = D.d, N = parseInt(D.eid);
561
- if (O)
562
- if (ft(O)) {
563
- const S = new Date(O), L = S.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
564
- L >= h ? (Ce.value = S, D.d = void 0) : ue({
565
+ }), u = parseInt(D.rid), N = D.d, O = parseInt(D.eid);
566
+ if (N)
567
+ if (ft(N)) {
568
+ const S = new Date(N), L = S.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
569
+ L >= h ? (Ce.value = S, D.d = void 0) : de({
565
570
  message: n("alert.error.invalidDateRange"),
566
571
  type: "error"
567
572
  });
568
573
  } else
569
- ue({
574
+ de({
570
575
  message: n("alert.error.wrongDateFormat"),
571
576
  type: "error"
572
577
  });
573
- isNaN(u) || (Ae(u) ? Le.value = u : ue({
578
+ isNaN(u) || (Ae(u) ? Le.value = u : de({
574
579
  message: n("alert.error.hotelIdNotFound"),
575
580
  type: "error"
576
581
  }));
577
582
  let r;
578
- isNaN(N) || (r = N), Re(r);
583
+ isNaN(O) || (r = O), Re(r);
579
584
  }
580
- return (D, u) => (a(), P(pt, { styling: D.styling }, {
585
+ return (D, u) => (a(), E(pt, { styling: D.styling }, {
581
586
  default: p(() => [
582
- (a(), P(nt, { onResolve: We }, {
587
+ (a(), E(nt, { onResolve: We }, {
583
588
  default: p(() => [
584
- f(Dt, {
589
+ f(Pt, {
585
590
  id: "konnectio-event-module",
586
591
  "access-token": D.accessToken,
587
592
  callback: e(Ie)
@@ -591,8 +596,8 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
591
596
  steps: He.value,
592
597
  onReset: je
593
598
  }, {
594
- availability: p(({ next: O }) => [
595
- f(pe, null, {
599
+ availability: p(({ next: N }) => [
600
+ f(ve, null, {
596
601
  sidebar: p(() => [
597
602
  f(Ct, {
598
603
  redirection: !1,
@@ -600,12 +605,12 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
600
605
  }, null, 8, ["selected-location"])
601
606
  ]),
602
607
  form: p(() => [
603
- e(I) && e(K) ? (a(), c("div", vn, [
608
+ e(ue) && e(re) ? (a(), c("div", fn, [
604
609
  e(y) && D.onlyShow !== "templates" ? (a(), c(A, { key: 0 }, [
605
610
  v("", !0),
606
- t("ul", fn, [
611
+ t("ul", bn, [
607
612
  (a(!0), c(A, null, q(e(B), ({
608
- id: N,
613
+ id: O,
609
614
  days: r,
610
615
  name: S,
611
616
  timeFrom: L,
@@ -613,19 +618,19 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
613
618
  fromDate: F,
614
619
  toDate: W,
615
620
  tableGroupId: Q,
616
- description: de,
617
- soldOut: ce,
621
+ description: ce,
622
+ soldOut: me,
618
623
  length: x,
619
624
  images: Qe,
620
625
  maxOnlineReservationLimit: xe,
621
626
  maxPaxPerReservation: Je,
622
627
  useNumberOfProductsForPersons: Ke
623
- }) => (a(), P(Zt, {
624
- key: N,
628
+ }) => (a(), E(Zt, {
629
+ key: O,
625
630
  type: "event",
626
- "listing-id": N,
631
+ "listing-id": O,
627
632
  "table-group-id": Q,
628
- description: de,
633
+ description: ce,
629
634
  name: S,
630
635
  length: x,
631
636
  gallery: Qe,
@@ -635,17 +640,17 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
635
640
  "max-online-reservation-limit": Je || xe,
636
641
  "time-from": L,
637
642
  "time-to": h,
638
- "sold-out": ce,
643
+ "sold-out": me,
639
644
  "use-number-of-products-for-persons": Ke,
640
- callback: O
645
+ callback: N
641
646
  }, 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))
642
647
  ])
643
648
  ], 64)) : v("", !0),
644
649
  e($) && D.onlyShow !== "events" ? (a(), c(A, { key: 1 }, [
645
650
  v("", !0),
646
- t("ul", bn, [
651
+ t("ul", gn, [
647
652
  (a(!0), c(A, null, q(e(g), ({
648
- id: N,
653
+ id: O,
649
654
  name: r,
650
655
  fromDate: S,
651
656
  toDate: L,
@@ -653,9 +658,9 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
653
658
  fromPrice: F,
654
659
  description: W,
655
660
  imageUrl: Q
656
- }) => (a(), P(en, {
657
- key: N,
658
- "listing-id": N,
661
+ }) => (a(), E(en, {
662
+ key: O,
663
+ "listing-id": O,
659
664
  name: r,
660
665
  image: Q,
661
666
  description: W,
@@ -663,7 +668,7 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
663
668
  "to-date": L,
664
669
  "minimum-person-count": h,
665
670
  fromPrice: F,
666
- callback: O
671
+ callback: N
667
672
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
668
673
  ])
669
674
  ], 64)) : v("", !0),
@@ -671,23 +676,23 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
671
676
  key: 2,
672
677
  class: "konnectio-panel",
673
678
  innerHTML: e(n)("event.nothingAvailable")
674
- }, null, 8, gn)) : v("", !0)
675
- ])) : (a(), P(Fe, { key: 1 }))
679
+ }, null, 8, kn)) : v("", !0)
680
+ ])) : (a(), E(Se, { key: 1 }))
676
681
  ]),
677
682
  _: 2
678
683
  }, 1024)
679
684
  ]),
680
- addons: p(({ next: O, prev: N }) => [
681
- e(re) ? (a(), P(pe, {
685
+ addons: p(({ next: N, prev: O }) => [
686
+ e(K) ? (a(), E(ve, {
682
687
  key: 0,
683
- "prev-callback": () => e(ye)(N)
688
+ "prev-callback": () => e(he)(O)
684
689
  }, {
685
690
  form: p(() => [
686
- t("form", kn, [
691
+ t("form", yn, [
687
692
  t("h2", null, [
688
693
  t("span", null, l(e(n)("event.selectProducts")), 1)
689
694
  ]),
690
- e(M) && e(M).length > 0 ? (a(), c("ul", yn, [
695
+ e(M) && e(M).length > 0 ? (a(), c("ul", hn, [
691
696
  (a(!0), c(A, null, q(e(M), ({
692
697
  roomGroupId: r,
693
698
  addons: S,
@@ -695,22 +700,22 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
695
700
  }, h) => (a(), c("li", { key: r }, [
696
701
  t("h5", null, [
697
702
  t("span", null, l(e(n)("booking.reservation.room")) + " #" + l(h + 1), 1),
698
- u[7] || (u[7] = he(" (")),
699
- f(fe, {
703
+ u[7] || (u[7] = _e(" (")),
704
+ f(be, {
700
705
  icon: "male",
701
706
  type: "fas",
702
707
  color: "header"
703
708
  }),
704
- he(" " + l(L) + ") ", 1)
709
+ _e(" " + l(L) + ") ", 1)
705
710
  ]),
706
- t("table", hn, [
711
+ t("table", _n, [
707
712
  t("thead", null, [
708
713
  t("tr", null, [
709
714
  t("th", null, [
710
715
  t("span", null, l(e(n)("booking.reservation.addons")), 1)
711
716
  ]),
712
717
  u[8] || (u[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
713
- t("th", _n, [
718
+ t("th", Pn, [
714
719
  t("span", null, l(e(n)("booking.availability.price")), 1)
715
720
  ])
716
721
  ])
@@ -720,29 +725,29 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
720
725
  id: F,
721
726
  cardinality: W,
722
727
  name: Q,
723
- price: de,
724
- quantityStrategy: ce
728
+ price: ce,
729
+ quantityStrategy: me
725
730
  }) => (a(), c("tr", { key: F }, [
726
731
  t("td", null, [
727
732
  t("b", null, l(Q), 1),
728
733
  u[9] || (u[9] = t("br", null, null, -1)),
729
- t("span", null, l(e(H)(de, e(ee))) + " " + l(e(ct)(ce)), 1)
734
+ t("span", null, l(e(H)(ce, e(ee))) + " " + l(e(ct)(me)), 1)
730
735
  ]),
731
736
  t("td", Dn, [
732
- W === 3 ? (a(), P(oe, {
737
+ W === 3 ? (a(), E(oe, {
733
738
  key: 0,
734
739
  modelValue: e(m)[`${r}.${F}.${h}`],
735
740
  "onUpdate:modelValue": (x) => e(m)[`${r}.${F}.${h}`] = x,
736
741
  small: !0,
737
742
  "min-value": 0
738
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(St, {
743
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), E(St, {
739
744
  key: 1,
740
745
  modelValue: e(m)[`${r}.${F}.${h}`],
741
746
  "onUpdate:modelValue": (x) => e(m)[`${r}.${F}.${h}`] = x,
742
747
  numeric: !0
743
748
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
744
749
  ]),
745
- t("td", Pn, [
750
+ t("td", En, [
746
751
  t("span", null, l(e(H)(e(ze)(F, r, h), e(ee))), 1)
747
752
  ])
748
753
  ]))), 128))
@@ -751,7 +756,7 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
751
756
  t("tr", null, [
752
757
  u[10] || (u[10] = t("td", null, null, -1)),
753
758
  u[11] || (u[11] = t("td", null, null, -1)),
754
- t("td", En, [
759
+ t("td", Vn, [
755
760
  t("u", null, [
756
761
  t("span", null, l(e(H)(e(Ge)(r, h), e(ee))), 1)
757
762
  ])
@@ -761,17 +766,17 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
761
766
  ])
762
767
  ]))), 128))
763
768
  ])) : v("", !0),
764
- e(se) ? (a(), c("table", Vn, [
769
+ e(se) ? (a(), c("table", $n, [
765
770
  t("tbody", null, [
766
771
  (a(!0), c(A, null, q(e(i).products, ({ id: r, name: S, price: L, description: h }) => (a(), c("tr", { key: r }, [
767
- t("td", $n, [
772
+ t("td", wn, [
768
773
  t("b", null, [
769
774
  t("span", null, l(e(De)(S)), 1)
770
775
  ]),
771
- h && h !== S ? (a(), c("span", wn, l(e(De)(h)), 1)) : v("", !0),
776
+ h && h !== S ? (a(), c("span", Tn, l(e(De)(h)), 1)) : v("", !0),
772
777
  t("span", null, l(e(H)(L, e(ee))), 1)
773
778
  ]),
774
- t("td", Tn, [
779
+ t("td", Nn, [
775
780
  f(oe, {
776
781
  modelValue: e(b)[r],
777
782
  "onUpdate:modelValue": (F) => e(b)[r] = F,
@@ -785,21 +790,21 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
785
790
  ])
786
791
  ]),
787
792
  navigation: p(() => [
788
- f(ve, {
793
+ f(fe, {
789
794
  label: e(n)("event.startReservation"),
790
- disabled: !e(Be),
795
+ disabled: !e(Z),
791
796
  "full-width": "",
792
- onClickEvent: O
797
+ onClickEvent: N
793
798
  }, null, 8, ["label", "disabled", "onClickEvent"])
794
799
  ]),
795
800
  _: 2
796
801
  }, 1032, ["prev-callback"])) : v("", !0)
797
802
  ]),
798
- reservation: p(({ next: O, prev: N }) => [
799
- f(pe, {
803
+ reservation: p(({ next: N, prev: O }) => [
804
+ f(ve, {
800
805
  "show-terms-notice": !0,
801
806
  "show-gift-card": !0,
802
- "prev-callback": () => e(ye)(N)
807
+ "prev-callback": () => e(he)(O)
803
808
  }, {
804
809
  form: p(() => [
805
810
  t("form", On, [
@@ -816,8 +821,8 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
816
821
  required: ""
817
822
  }, null, 8, ["modelValue", "label", "placeholder"]),
818
823
  f(te, {
819
- modelValue: e(E),
820
- "onUpdate:modelValue": u[1] || (u[1] = (r) => R(E) ? E.value = r : null),
824
+ modelValue: e(_),
825
+ "onUpdate:modelValue": u[1] || (u[1] = (r) => R(_) ? _.value = r : null),
821
826
  label: e(n)("booking.reservation.email"),
822
827
  type: "email",
823
828
  name: "email",
@@ -834,16 +839,16 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
834
839
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
835
840
  required: ""
836
841
  }, null, 8, ["modelValue", "label", "placeholder"]),
837
- e(Z) ? (a(), P(Tt, {
842
+ e(G) ? (a(), E(Tt, {
838
843
  key: 0,
839
- modelValue: e(_),
840
- "onUpdate:modelValue": u[3] || (u[3] = (r) => R(_) ? _.value = r : null),
844
+ modelValue: e(P),
845
+ "onUpdate:modelValue": u[3] || (u[3] = (r) => R(P) ? P.value = r : null),
841
846
  label: e(n)("event.selectArrivalTime"),
842
847
  name: "eventTimeTable",
843
848
  checkboxes: Ye.value,
844
849
  required: ""
845
850
  }, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
846
- e(ie) === e(mt).FullDayEvent ? (a(), P(oe, {
851
+ e(ie) === e(mt).FullDayEvent ? (a(), E(oe, {
847
852
  key: 1,
848
853
  modelValue: e(d),
849
854
  "onUpdate:modelValue": u[4] || (u[4] = (r) => R(d) ? d.value = r : null),
@@ -870,12 +875,12 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
870
875
  ])
871
876
  ]),
872
877
  navigation: p(() => [
873
- f(ve, {
878
+ f(fe, {
874
879
  label: e(n)("general.confirmReservation"),
875
- "is-loading": e(X),
876
- disabled: !e(G),
880
+ "is-loading": e(I),
881
+ disabled: !e(X),
877
882
  "full-width": "",
878
- onClickEvent: (r) => e(Ue)(O)
883
+ onClickEvent: (r) => e(Ue)(N)
879
884
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
880
885
  ]),
881
886
  _: 2
@@ -885,7 +890,7 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
885
890
  f(Bt)
886
891
  ]),
887
892
  confirmation: p(() => [
888
- f(Ot, {
893
+ f(Nt, {
889
894
  message: e(n)("event.confirmationMessage")
890
895
  }, null, 8, ["message"])
891
896
  ]),
@@ -896,7 +901,7 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
896
901
  }, 8, ["access-token", "callback"])
897
902
  ]),
898
903
  fallback: p(() => [
899
- f(pn)
904
+ f(vn)
900
905
  ]),
901
906
  _: 1
902
907
  }))
@@ -904,8 +909,8 @@ const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { cla
904
909
  _: 1
905
910
  }, 8, ["styling"]));
906
911
  }
907
- }), Oe = /* @__PURE__ */ ae(Nn, [["__scopeId", "data-v-92eae590"]]), Fn = ot(), Sn = it();
908
- class Mn extends HTMLElement {
912
+ }), Oe = /* @__PURE__ */ ae(Fn, [["__scopeId", "data-v-92eae590"]]), Sn = ot(), Mn = it();
913
+ class Bn extends HTMLElement {
909
914
  vueApp;
910
915
  constructor() {
911
916
  super();
@@ -915,13 +920,13 @@ class Mn extends HTMLElement {
915
920
  }
916
921
  connectedCallback() {
917
922
  const o = lt(Oe, this.attributes);
918
- this.vueApp = at(Oe, o), this.vueApp.provide("emitter", Sn), this.vueApp.use(st), this.vueApp.use(Fn), this.vueApp.use(Nt), this.vueApp.use(gt), this.vueApp.use(Ft), this.vueApp.use(bt, { bootstrap: !0 });
923
+ this.vueApp = at(Oe, o), this.vueApp.provide("emitter", Mn), this.vueApp.use(st), this.vueApp.use(Sn), this.vueApp.use(Ot), this.vueApp.use(gt), this.vueApp.use(Ft), this.vueApp.use(bt, { bootstrap: !0 });
919
924
  const n = document.createElement("div");
920
925
  this.vueApp.mount(n), this.appendChild(n.children[0]);
921
926
  }
922
927
  }
923
- window.customElements.define("konnectio-event", Mn);
928
+ window.customElements.define("konnectio-event", Bn);
924
929
  export {
925
- Mn as default
930
+ Bn as default
926
931
  };
927
932
  //# sourceMappingURL=event.js.map