@konnectio/core 4.3.7 → 4.3.9

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 (112) hide show
  1. package/dist/{ActionField-BsC9Ocw1.js → ActionField-CpOCDefv.js} +32 -32
  2. package/dist/ActionField-CpOCDefv.js.br +0 -0
  3. package/dist/ActionField-CpOCDefv.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-BSayecfH.js → AvailabilitySkeleton-C9mc3ZB2.js} +83 -83
  5. package/dist/AvailabilitySkeleton-C9mc3ZB2.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-C9mc3ZB2.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-MOaKYUhP.js} +636 -636
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-MOaKYUhP.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-MOaKYUhP.js.gz +0 -0
  10. package/dist/{CheckoutWindow-Dsu7J2JM.js → CheckoutWindow-hdgJvYdM.js} +250 -250
  11. package/dist/CheckoutWindow-hdgJvYdM.js.br +0 -0
  12. package/dist/CheckoutWindow-hdgJvYdM.js.gz +0 -0
  13. package/dist/{ErrorMessage-wq4rzUJ_.js → ErrorMessage-YkoThqmx.js} +5 -5
  14. package/dist/ErrorMessage-YkoThqmx.js.br +0 -0
  15. package/dist/ErrorMessage-YkoThqmx.js.gz +0 -0
  16. package/dist/EventAvailabilityForm-B9a2hQUw.js +119 -0
  17. package/dist/EventAvailabilityForm-B9a2hQUw.js.br +0 -0
  18. package/dist/EventAvailabilityForm-B9a2hQUw.js.gz +0 -0
  19. package/dist/{Field-o8hQK9VW.js → Field-FIse2yfZ.js} +15 -15
  20. package/dist/Field-FIse2yfZ.js.br +0 -0
  21. package/dist/Field-FIse2yfZ.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js} +5 -5
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js → SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js} +3672 -3637
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js.gz +0 -0
  28. package/dist/TermsOfService-BRQktuy2.js +28 -0
  29. package/dist/TermsOfService-BRQktuy2.js.br +0 -0
  30. package/dist/TermsOfService-BRQktuy2.js.gz +0 -0
  31. package/dist/_-C-gM9gHv.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-JSCio5G8.js → _.vue_vue_type_style_index_0_lang-Dld6EdIi.js} +3 -3
  33. package/dist/_.vue_vue_type_style_index_0_lang-Dld6EdIi.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-Dld6EdIi.js.gz +0 -0
  35. package/dist/availability.js +33 -33
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +32 -32
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/core.css +1 -1
  42. package/dist/core.css.br +0 -0
  43. package/dist/core.css.gz +0 -0
  44. package/dist/deep-link.js +1 -1
  45. package/dist/deep-link.js.br +0 -0
  46. package/dist/deep-link.js.gz +0 -0
  47. package/dist/event.js +755 -712
  48. package/dist/event.js.br +0 -0
  49. package/dist/event.js.gz +0 -0
  50. package/dist/gift-card-validation.js +48 -48
  51. package/dist/gift-card-validation.js.br +0 -0
  52. package/dist/gift-card-validation.js.gz +0 -0
  53. package/dist/gift-card.js +168 -168
  54. package/dist/gift-card.js.br +0 -0
  55. package/dist/gift-card.js.gz +0 -0
  56. package/dist/{giftCard-CdLzbiLr.js → giftCard-xAmpKnRT.js} +3 -3
  57. package/dist/giftCard-xAmpKnRT.js.br +0 -0
  58. package/dist/giftCard-xAmpKnRT.js.gz +0 -0
  59. package/dist/hotel.js +2314 -2312
  60. package/dist/hotel.js.br +0 -0
  61. package/dist/hotel.js.gz +0 -0
  62. package/dist/{index-Bi5dgk5O.js → index-CB97lqiE.js} +46 -43
  63. package/dist/index-CB97lqiE.js.br +0 -0
  64. package/dist/index-CB97lqiE.js.gz +0 -0
  65. package/dist/{masonry.plugin-CD7BGwYC.js → masonry.plugin-Deuktrut.js} +961 -961
  66. package/dist/masonry.plugin-Deuktrut.js.br +0 -0
  67. package/dist/masonry.plugin-Deuktrut.js.gz +0 -0
  68. package/dist/{mitt-bGMsQrYA.js → mitt-478x9nh_.js} +3345 -3296
  69. package/dist/mitt-478x9nh_.js.br +0 -0
  70. package/dist/mitt-478x9nh_.js.gz +0 -0
  71. package/dist/polyfill.js +1 -1
  72. package/dist/polyfill.js.br +0 -0
  73. package/dist/polyfill.js.gz +0 -0
  74. package/dist/{style-C4ivj8SO.js → style-DpAb9hNM.js} +2 -2
  75. package/dist/style-DpAb9hNM.js.br +0 -0
  76. package/dist/style-DpAb9hNM.js.gz +0 -0
  77. package/package.json +23 -23
  78. package/dist/ActionField-BsC9Ocw1.js.br +0 -5
  79. package/dist/ActionField-BsC9Ocw1.js.gz +0 -0
  80. package/dist/AvailabilitySkeleton-BSayecfH.js.br +0 -0
  81. package/dist/AvailabilitySkeleton-BSayecfH.js.gz +0 -0
  82. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js.br +0 -0
  83. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js.gz +0 -0
  84. package/dist/CheckoutWindow-Dsu7J2JM.js.br +0 -0
  85. package/dist/CheckoutWindow-Dsu7J2JM.js.gz +0 -0
  86. package/dist/ErrorMessage-wq4rzUJ_.js.br +0 -0
  87. package/dist/ErrorMessage-wq4rzUJ_.js.gz +0 -0
  88. package/dist/EventAvailabilityForm-CjiJZ89T.js +0 -119
  89. package/dist/EventAvailabilityForm-CjiJZ89T.js.br +0 -0
  90. package/dist/EventAvailabilityForm-CjiJZ89T.js.gz +0 -0
  91. package/dist/Field-o8hQK9VW.js.br +0 -0
  92. package/dist/Field-o8hQK9VW.js.gz +0 -0
  93. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js.br +0 -0
  94. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js.gz +0 -0
  95. package/dist/SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js.br +0 -0
  96. package/dist/SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js.gz +0 -0
  97. package/dist/TermsOfService-_5UMkvTm.js +0 -28
  98. package/dist/TermsOfService-_5UMkvTm.js.br +0 -0
  99. package/dist/TermsOfService-_5UMkvTm.js.gz +0 -0
  100. package/dist/_-Dv4fC4hQ.js +0 -5
  101. package/dist/_.vue_vue_type_style_index_0_lang-JSCio5G8.js.br +0 -0
  102. package/dist/_.vue_vue_type_style_index_0_lang-JSCio5G8.js.gz +0 -0
  103. package/dist/giftCard-CdLzbiLr.js.br +0 -0
  104. package/dist/giftCard-CdLzbiLr.js.gz +0 -0
  105. package/dist/index-Bi5dgk5O.js.br +0 -0
  106. package/dist/index-Bi5dgk5O.js.gz +0 -0
  107. package/dist/masonry.plugin-CD7BGwYC.js.br +0 -0
  108. package/dist/masonry.plugin-CD7BGwYC.js.gz +0 -0
  109. package/dist/mitt-bGMsQrYA.js.br +0 -0
  110. package/dist/mitt-bGMsQrYA.js.gz +0 -0
  111. package/dist/style-C4ivj8SO.js.br +0 -0
  112. package/dist/style-C4ivj8SO.js.gz +0 -0
package/dist/event.js CHANGED
@@ -1,52 +1,52 @@
1
- import { d as U, u as x, s as z, c as Z, r as Ie, a as v, b as l, g as e, w as p, q as K, e as t, i as u, f, n as rt, h as r, t as o, F as A, v as M, o as dt, j as ut, x as ve, y as ct, z as S, A as mt, S as pt, k as vt, _ as bt, l as gt, m as ft, p as kt } from "./mitt-bGMsQrYA.js";
2
- import { G as yt } from "./style-C4ivj8SO.js";
3
- import { a as we, f as re, g as X, h as Se, B as ht, i as se, l as Dt, s as G, e as be, _ as q, I as ie, j as Pt, k as ge, u as $e, m as Et, n as $t, o as wt, p as J, T as pe, O as Ot, q as Tt, r as Ve, C as Vt, t as _t, v as Nt } from "./SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js";
4
- import { _ as Ft } from "./_.vue_vue_type_style_index_0_lang-JSCio5G8.js";
5
- import { B as Ct, _ as Lt, R as Bt, L as Re, S as At, M as It, T as St, C as Rt, V as Mt, a as Ut } from "./masonry.plugin-CD7BGwYC.js";
6
- import { g as Ht, e as Gt, c as zt, n as qt, a as _e, m as Ne, b as Fe, d as Ce, f as Le, _ as Yt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js";
7
- import { C as jt, P as Wt, a as Be } from "./CheckoutWindow-Dsu7J2JM.js";
8
- import { E as Zt } from "./EventAvailabilityForm-CjiJZ89T.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js";
10
- import { f as Qt } from "./index-Bi5dgk5O.js";
11
- function Jt(E) {
12
- return (a) => {
13
- const h = (E ? Math[E] : Math.trunc)(a);
14
- return h === 0 ? 0 : h;
1
+ import { d as R, u as _, s as q, c as Z, r as Ie, a as m, b as l, g as e, w as v, q as K, e as n, i as r, f as h, n as lt, h as s, t as o, F as N, v as S, o as ot, j as it, x as ue, y as st, z as A, A as rt, S as ct, k as dt, _ as ut, l as mt, m as vt, p as bt } from "./mitt-478x9nh_.js";
2
+ import { G as gt } from "./style-DpAb9hNM.js";
3
+ import { a as Ee, f as oe, g as X, h as Ae, B as ft, i as ae, l as kt, s as z, e as me, _ as G, I as le, j as yt, k as ve, u as Pe, m as ht, n as pt, o as Dt, p as J, T as de, O as Pt, q as Et, r as xe, C as $t, t as wt, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js";
4
+ import { _ as Ot } from "./_.vue_vue_type_style_index_0_lang-Dld6EdIi.js";
5
+ import { B as Tt, _ as Vt, R as Ft, L as Se, S as Nt, M as Lt, T as Ct, C as Bt, V as It, a as At } from "./masonry.plugin-Deuktrut.js";
6
+ import { g as St, e as Rt, c as Mt, n as Ut, a as Oe, m as Te, b as Ve, d as Fe, f as Ne, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-MOaKYUhP.js";
7
+ import { C as Gt, P as zt, a as Le } from "./CheckoutWindow-hdgJvYdM.js";
8
+ import { E as qt } from "./EventAvailabilityForm-B9a2hQUw.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js";
10
+ import { f as Yt } from "./index-CB97lqiE.js";
11
+ function jt(t) {
12
+ return (i) => {
13
+ const f = (t ? Math[t] : Math.trunc)(i);
14
+ return f === 0 ? 0 : f;
15
15
  };
16
16
  }
17
- function Kt(E, a, n) {
18
- const h = Ht(), b = n?.locale ?? h.locale ?? Gt, k = zt(E, a);
17
+ function Wt(t, i, a) {
18
+ const f = St(), b = a?.locale ?? f.locale ?? Rt, k = Mt(t, i);
19
19
  if (isNaN(k))
20
20
  throw new RangeError("Invalid time value");
21
- const i = Object.assign({}, n, {
22
- addSuffix: n?.addSuffix,
21
+ const g = Object.assign({}, a, {
22
+ addSuffix: a?.addSuffix,
23
23
  comparison: k
24
- }), [D, P] = qt(
25
- n?.in,
26
- ...k > 0 ? [a, E] : [E, a]
27
- ), s = Jt("round"), T = P.getTime() - D.getTime(), $ = T / Le, C = _e(P) - _e(D), V = (T - C) / Le, N = n?.unit;
28
- let m;
29
- if ($ < 1 ? m = "second" : $ < 60 ? m = "minute" : $ < Ne ? m = "hour" : V < Fe ? m = "day" : V < Ce ? m = "month" : m = "year", m === "second") {
30
- const w = s(T / 1e3);
31
- return b.formatDistance("xSeconds", w, i);
32
- } else if (m === "minute") {
33
- const w = s($);
34
- return b.formatDistance("xMinutes", w, i);
35
- } else if (m === "hour") {
36
- const w = s($ / 60);
37
- return b.formatDistance("xHours", w, i);
38
- } else if (m === "day") {
39
- const w = s(V / Ne);
40
- return b.formatDistance("xDays", w, i);
41
- } else if (m === "month") {
42
- const w = s(V / Fe);
43
- return w === 12 && N !== "month" ? b.formatDistance("xYears", 1, i) : b.formatDistance("xMonths", w, i);
24
+ }), [y, p] = Ut(
25
+ a?.in,
26
+ ...k > 0 ? [i, t] : [t, i]
27
+ ), P = jt("round"), $ = p.getTime() - y.getTime(), E = $ / Ne, T = Oe(p) - Oe(y), w = ($ - T) / Ne, O = a?.unit;
28
+ let u;
29
+ if (E < 1 ? u = "second" : E < 60 ? u = "minute" : E < Te ? u = "hour" : w < Ve ? u = "day" : w < Fe ? u = "month" : u = "year", u === "second") {
30
+ const D = P($ / 1e3);
31
+ return b.formatDistance("xSeconds", D, g);
32
+ } else if (u === "minute") {
33
+ const D = P(E);
34
+ return b.formatDistance("xMinutes", D, g);
35
+ } else if (u === "hour") {
36
+ const D = P(E / 60);
37
+ return b.formatDistance("xHours", D, g);
38
+ } else if (u === "day") {
39
+ const D = P(w / Te);
40
+ return b.formatDistance("xDays", D, g);
41
+ } else if (u === "month") {
42
+ const D = P(w / Ve);
43
+ return D === 12 && O !== "month" ? b.formatDistance("xYears", 1, g) : b.formatDistance("xMonths", D, g);
44
44
  } else {
45
- const w = s(V / Ce);
46
- return b.formatDistance("xYears", w, i);
45
+ const D = P(w / Fe);
46
+ return b.formatDistance("xYears", D, g);
47
47
  }
48
48
  }
49
- const Xt = { class: "konnectio-event-listing-action-button" }, xt = /* @__PURE__ */ U({
49
+ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ R({
50
50
  __name: "_",
51
51
  props: {
52
52
  name: {},
@@ -70,88 +70,88 @@ const Xt = { class: "konnectio-event-listing-action-button" }, xt = /* @__PURE__
70
70
  disableDeepLink: { type: Boolean, default: !1 },
71
71
  callback: {}
72
72
  },
73
- setup(E) {
74
- const { t: a } = x(), n = E, { display: h } = we(), {
73
+ setup(t) {
74
+ const { t: i } = _(), a = t, { display: f } = Ee(), {
75
75
  hideEventGuestAmount: b
76
- } = z(re()), {
76
+ } = q(oe()), {
77
77
  maxNumberOfPeople: k,
78
- numberOfPeople: i,
79
- eventId: D,
80
- currentEventDate: P,
81
- tableGroupId: s
82
- } = z(X()), {
83
- getTemplateAvailability: T,
84
- getEventAvailability: $,
85
- isEventListingLoading: C
86
- } = X(), { addToCart: V } = Se(), N = Z(() => n.maxGuests || n.maxOnlineReservationLimit || k.value || 1 / 0), m = Ie(0), w = Z(() => C(n.listingId)), ee = () => {
87
- if (!n.useNumberOfProductsForPersons && (m.value === 0 || isNaN(m.value))) {
88
- h({
78
+ numberOfPeople: g,
79
+ eventId: y,
80
+ currentEventDate: p,
81
+ tableGroupId: P
82
+ } = q(X()), {
83
+ getTemplateAvailability: $,
84
+ getEventAvailability: E,
85
+ isEventListingLoading: T
86
+ } = X(), { addToCart: w } = Ae(), O = Z(() => a.maxGuests || a.maxOnlineReservationLimit || k.value || 1 / 0), u = Ie(0), D = Z(() => T(a.listingId)), Y = () => {
87
+ if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
88
+ f({
89
89
  type: "error",
90
- message: a("alert.error.selectPeople")
90
+ message: i("alert.error.selectPeople")
91
91
  });
92
92
  return;
93
93
  }
94
- n.trackingEnabled && V({
95
- id: n.listingId,
96
- name: n.name,
97
- value: n.fromPrice || 0
98
- }), D.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : m.value, T(n.callback);
99
- }, Y = () => {
100
- if (!n.useNumberOfProductsForPersons && (m.value === 0 || isNaN(m.value))) {
101
- h({
94
+ a.trackingEnabled && w({
95
+ id: a.listingId,
96
+ name: a.name,
97
+ value: a.fromPrice || 0
98
+ }), y.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
99
+ }, M = () => {
100
+ if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
101
+ f({
102
102
  type: "error",
103
- message: a("alert.error.selectPeople")
103
+ message: i("alert.error.selectPeople")
104
104
  });
105
105
  return;
106
106
  }
107
- n.trackingEnabled && V({
108
- id: n.listingId,
109
- name: n.name,
110
- value: n.fromPrice || 0
111
- }), D.value = n.listingId, s.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : m.value, $(n.callback);
107
+ a.trackingEnabled && w({
108
+ id: a.listingId,
109
+ name: a.name,
110
+ value: a.fromPrice || 0
111
+ }), y.value = a.listingId, P.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, E(a.callback);
112
112
  };
113
- return (y, R) => (l(), v(Ct, {
113
+ return (C, U) => (l(), m(Tt, {
114
114
  type: "event",
115
- "listing-id": y.listingId,
116
- gallery: y.gallery,
117
- name: y.name,
118
- description: y.description,
119
- "prices-from": y.fromPrice,
120
- "to-date": y.toDate,
121
- layout: e(ht).Event,
122
- "disable-deep-link": y.disableDeepLink
115
+ "listing-id": t.listingId,
116
+ gallery: t.gallery,
117
+ name: t.name,
118
+ description: t.description,
119
+ "prices-from": t.fromPrice,
120
+ "to-date": t.toDate,
121
+ layout: e(ft).Event,
122
+ "disable-deep-link": t.disableDeepLink
123
123
  }, {
124
- description: p(() => [
125
- K(y.$slots, "description", { maxNumberOfPeople: e(k) }, void 0, !0)
124
+ description: v(() => [
125
+ K(C.$slots, "description", { maxNumberOfPeople: e(k) }, void 0, !0)
126
126
  ]),
127
- action: p(() => [
128
- K(y.$slots, "action", {}, () => [
129
- t("div", {
130
- class: rt([
127
+ action: v(() => [
128
+ K(C.$slots, "action", {}, () => [
129
+ n("div", {
130
+ class: lt([
131
131
  "konnectio-event-listing-action",
132
- { "no-selectable-people": y.useNumberOfProductsForPersons }
132
+ { "no-selectable-people": t.useNumberOfProductsForPersons }
133
133
  ])
134
134
  }, [
135
- y.useNumberOfProductsForPersons ? u("", !0) : (l(), v(se, {
135
+ t.useNumberOfProductsForPersons ? r("", !0) : (l(), m(ae, {
136
136
  key: 0,
137
- modelValue: m.value,
138
- "onUpdate:modelValue": R[0] || (R[0] = (Q) => m.value = Q),
139
- label: e(a)("event.numberOfGuests"),
137
+ modelValue: u.value,
138
+ "onUpdate:modelValue": U[0] || (U[0] = (Q) => u.value = Q),
139
+ label: e(i)("event.numberOfGuests"),
140
140
  icon: "users",
141
141
  "icon-type": "fas",
142
142
  "icon-placement": "label",
143
- description: N.value <= 20 && !e(b) ? `${e(a)("general.availableFor")}: 1 - ${N.value} ${e(Dt)(e(a)("general.guests"))}` : void 0,
143
+ description: O.value <= 20 && !e(b) ? `${e(i)("general.availableFor")}: 1 - ${O.value} ${e(kt)(e(i)("general.guests"))}` : void 0,
144
144
  "min-value": 0,
145
- "max-value": N.value
145
+ "max-value": O.value
146
146
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
147
- t("div", Xt, [
148
- f(be, {
149
- label: y.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
150
- disabled: y.soldOut,
151
- "is-loading": w.value,
147
+ n("div", Zt, [
148
+ h(me, {
149
+ label: t.soldOut ? e(i)("event.soldOut") : e(i)("event.bookNowButton"),
150
+ disabled: t.soldOut,
151
+ "is-loading": D.value,
152
152
  "full-width": "",
153
- "sub-label": e(G)(e(P)),
154
- onClickEvent: R[1] || (R[1] = (Q) => y.type === "event" ? Y() : ee())
153
+ "sub-label": e(z)(e(p)),
154
+ onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? M() : Y())
155
155
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
156
156
  ])
157
157
  ], 2)
@@ -160,14 +160,14 @@ const Xt = { class: "konnectio-event-listing-action-button" }, xt = /* @__PURE__
160
160
  _: 3
161
161
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
162
162
  }
163
- }), Me = /* @__PURE__ */ q(xt, [["__scopeId", "data-v-23ac9949"]]), en = { class: "konnectio-event-listing-information-new" };
164
- const tn = {
163
+ }), Re = /* @__PURE__ */ G(Qt, [["__scopeId", "data-v-23ac9949"]]), Jt = { class: "konnectio-event-listing-information-new" };
164
+ const Kt = {
165
165
  key: 1,
166
166
  class: "konnectio-pill-button"
167
- }, nn = {
167
+ }, Xt = {
168
168
  key: 2,
169
169
  class: "konnectio-pill-button"
170
- }, an = { key: 0 }, ln = { key: 1 }, on = /* @__PURE__ */ U({
170
+ }, _t = { key: 0 }, en = { key: 1 }, tn = /* @__PURE__ */ R({
171
171
  __name: "Event",
172
172
  props: {
173
173
  name: {},
@@ -189,73 +189,73 @@ const tn = {
189
189
  trackingEnabled: { type: Boolean },
190
190
  callback: {}
191
191
  },
192
- setup(E) {
193
- const a = E, { t: n } = x(), {
194
- hideEventLength: h,
192
+ setup(t) {
193
+ const i = t, { t: a } = _(), {
194
+ hideEventLength: f,
195
195
  hideEventEndTime: b
196
- } = z(re()), k = Z(() => {
197
- if (!a.length)
196
+ } = q(oe()), k = Z(() => {
197
+ if (!i.length)
198
198
  return;
199
- const i = a.length.split(":");
200
- return Kt(
201
- new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
199
+ const g = i.length.split(":");
200
+ return Wt(
201
+ new Date(2e3, 0, 1, Number(g[0]), Number(g[1]), 0),
202
202
  new Date(2e3, 0, 1, 0, 0, 0)
203
203
  );
204
204
  });
205
- return (i, D) => (l(), v(Me, {
206
- "listing-id": i.listingId,
207
- name: i.name,
208
- description: i.description,
209
- gallery: i.gallery,
210
- "prices-from": i.fromPrice,
211
- "table-group-id": i.tableGroupId,
212
- "max-guests": i.maxOnlineReservationLimit,
213
- "use-number-of-products-for-persons": i.useNumberOfProductsForPersons,
214
- "to-date": i.toDate,
215
- "sold-out": i.soldOut,
205
+ return (g, y) => (l(), m(Re, {
206
+ "listing-id": t.listingId,
207
+ name: t.name,
208
+ description: t.description,
209
+ gallery: t.gallery,
210
+ "prices-from": t.fromPrice,
211
+ "table-group-id": t.tableGroupId,
212
+ "max-guests": t.maxOnlineReservationLimit,
213
+ "use-number-of-products-for-persons": t.useNumberOfProductsForPersons,
214
+ "to-date": t.toDate,
215
+ "sold-out": t.soldOut,
216
216
  type: "event",
217
- "tracking-enabled": i.trackingEnabled,
218
- callback: i.callback
217
+ "tracking-enabled": t.trackingEnabled,
218
+ callback: t.callback
219
219
  }, {
220
- description: p(() => [
221
- i.description ? (l(), v(Lt, {
220
+ description: v(() => [
221
+ t.description ? (l(), m(Vt, {
222
222
  key: 0,
223
- text: i.description
224
- }, null, 8, ["text"])) : u("", !0),
225
- t("ul", en, [
226
- u("", !0),
227
- !e(h) && k.value ? (l(), r("li", tn, [
228
- t("div", null, [
229
- f(ie, {
223
+ text: t.description
224
+ }, null, 8, ["text"])) : r("", !0),
225
+ n("ul", Jt, [
226
+ r("", !0),
227
+ !e(f) && k.value ? (l(), s("li", Kt, [
228
+ n("div", null, [
229
+ h(le, {
230
230
  icon: "calendar-clock",
231
231
  color: "header"
232
232
  }),
233
- t("span", null, o(e(n)("event.lengthOfEvent")), 1)
233
+ n("span", null, o(e(a)("event.lengthOfEvent")), 1)
234
234
  ]),
235
- t("span", null, o(k.value), 1)
236
- ])) : u("", !0),
237
- i.timeFrom ? (l(), r("li", nn, [
238
- t("div", null, [
239
- f(ie, {
235
+ n("span", null, o(k.value), 1)
236
+ ])) : r("", !0),
237
+ t.timeFrom ? (l(), s("li", Xt, [
238
+ n("div", null, [
239
+ h(le, {
240
240
  icon: "calendar-clock",
241
241
  color: "header"
242
242
  }),
243
- t("span", null, o(e(n)("event.startAndEndTime")), 1)
243
+ n("span", null, o(e(a)("event.startAndEndTime")), 1)
244
244
  ]),
245
- e(b) ? (l(), r("span", ln, o(e(ge)(i.timeFrom)), 1)) : (l(), r("span", an, o(e(Pt)(i.timeFrom, i.timeTo)), 1))
246
- ])) : u("", !0)
245
+ e(b) ? (l(), s("span", en, o(e(ve)(t.timeFrom)), 1)) : (l(), s("span", _t, o(e(yt)(t.timeFrom, t.timeTo)), 1))
246
+ ])) : r("", !0)
247
247
  ])
248
248
  ]),
249
- action: p(() => [
250
- K(i.$slots, "action", {}, void 0, !0)
249
+ action: v(() => [
250
+ K(g.$slots, "action", {}, void 0, !0)
251
251
  ]),
252
252
  _: 3
253
253
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "tracking-enabled", "callback"]));
254
254
  }
255
- }), fe = /* @__PURE__ */ q(on, [["__scopeId", "data-v-40cbbf2c"]]), sn = {
255
+ }), be = /* @__PURE__ */ G(tn, [["__scopeId", "data-v-40cbbf2c"]]), nn = {
256
256
  key: 0,
257
257
  class: "konnectio-event-grouped-listings-container"
258
- }, rn = { class: "konnectio-event-grouped-listings" }, dn = /* @__PURE__ */ U({
258
+ }, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ R({
259
259
  __name: "Event",
260
260
  props: {
261
261
  name: {},
@@ -263,66 +263,66 @@ const tn = {
263
263
  trackingEnabled: { type: Boolean },
264
264
  callback: { type: Function }
265
265
  },
266
- setup(E) {
267
- return (a, n) => a.events && a.events.length > 1 ? (l(), r("div", sn, [
268
- u("", !0),
269
- t("ul", rn, [
270
- (l(!0), r(A, null, M(a.events, ({
271
- id: h,
266
+ setup(t) {
267
+ return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", nn, [
268
+ r("", !0),
269
+ n("ul", an, [
270
+ (l(!0), s(N, null, S(t.events, ({
271
+ id: f,
272
272
  days: b,
273
273
  name: k,
274
- timeFrom: i,
275
- timeTo: D,
276
- tableGroupId: P,
277
- description: s,
278
- soldOut: T,
279
- length: $,
280
- images: C,
281
- maxOnlineReservationLimit: V,
282
- maxPaxPerReservation: N,
283
- useNumberOfProductsForPersons: m,
284
- maxTicketsLimit: w
285
- }) => (l(), v(fe, {
286
- key: h,
274
+ timeFrom: g,
275
+ timeTo: y,
276
+ tableGroupId: p,
277
+ description: P,
278
+ soldOut: $,
279
+ length: E,
280
+ images: T,
281
+ maxOnlineReservationLimit: w,
282
+ maxPaxPerReservation: O,
283
+ useNumberOfProductsForPersons: u,
284
+ maxTicketsLimit: D
285
+ }) => (l(), m(be, {
286
+ key: f,
287
287
  type: "event",
288
- "listing-id": h,
289
- "table-group-id": P,
290
- description: s,
288
+ "listing-id": f,
289
+ "table-group-id": p,
290
+ description: P,
291
291
  name: k,
292
- length: $,
293
- gallery: C,
292
+ length: E,
293
+ gallery: T,
294
294
  days: b,
295
- "max-online-reservation-limit": N || V || w || void 0,
296
- "time-from": i,
297
- "time-to": D,
298
- "sold-out": T,
299
- "use-number-of-products-for-persons": m,
300
- "tracking-enabled": a.trackingEnabled,
301
- callback: a.callback
295
+ "max-online-reservation-limit": O || w || D || void 0,
296
+ "time-from": g,
297
+ "time-to": y,
298
+ "sold-out": $,
299
+ "use-number-of-products-for-persons": u,
300
+ "tracking-enabled": t.trackingEnabled,
301
+ callback: t.callback
302
302
  }, 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", "tracking-enabled", "callback"]))), 128))
303
303
  ])
304
- ])) : a.events ? (l(), v(fe, {
305
- key: a.events[0].id,
304
+ ])) : t.events ? (l(), m(be, {
305
+ key: t.events[0].id,
306
306
  type: "event",
307
- "listing-id": a.events[0].id,
308
- "table-group-id": a.events[0].tableGroupId,
309
- description: a.events[0].description,
310
- name: a.events[0].name,
311
- length: a.events[0].length,
312
- gallery: a.events[0].images,
313
- days: a.events[0].days,
314
- "from-date": a.events[0].fromDate,
315
- "to-date": a.events[0].toDate,
316
- "max-online-reservation-limit": a.events[0].maxPaxPerReservation || a.events[0].maxOnlineReservationLimit || a.events[0].maxTicketsLimit || void 0,
317
- "time-from": a.events[0].timeFrom,
318
- "time-to": a.events[0].timeTo,
319
- "sold-out": a.events[0].soldOut,
320
- "use-number-of-products-for-persons": a.events[0].useNumberOfProductsForPersons,
321
- "tracking-enabled": a.trackingEnabled,
322
- callback: a.callback
323
- }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : u("", !0);
307
+ "listing-id": t.events[0].id,
308
+ "table-group-id": t.events[0].tableGroupId,
309
+ description: t.events[0].description,
310
+ name: t.events[0].name,
311
+ length: t.events[0].length,
312
+ gallery: t.events[0].images,
313
+ days: t.events[0].days,
314
+ "from-date": t.events[0].fromDate,
315
+ "to-date": t.events[0].toDate,
316
+ "max-online-reservation-limit": t.events[0].maxPaxPerReservation || t.events[0].maxOnlineReservationLimit || t.events[0].maxTicketsLimit || void 0,
317
+ "time-from": t.events[0].timeFrom,
318
+ "time-to": t.events[0].timeTo,
319
+ "sold-out": t.events[0].soldOut,
320
+ "use-number-of-products-for-persons": t.events[0].useNumberOfProductsForPersons,
321
+ "tracking-enabled": t.trackingEnabled,
322
+ callback: t.callback
323
+ }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
324
324
  }
325
- }), un = /* @__PURE__ */ q(dn, [["__scopeId", "data-v-374ad034"]]), cn = { class: "konnectio-special-offer-availability" }, mn = { class: "konnectio-special-offer-availability-button" }, pn = { class: "konnectio-warning-notice" }, vn = { key: 0 }, bn = { key: 1 }, gn = /* @__PURE__ */ U({
325
+ }), on = /* @__PURE__ */ G(ln, [["__scopeId", "data-v-374ad034"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, cn = { class: "konnectio-warning-notice" }, dn = { key: 0 }, un = { key: 1 }, mn = /* @__PURE__ */ R({
326
326
  __name: "NextEvent",
327
327
  props: {
328
328
  name: {},
@@ -343,67 +343,67 @@ const tn = {
343
343
  trackingEnabled: { type: Boolean },
344
344
  callback: { type: Function }
345
345
  },
346
- setup(E) {
347
- const { t: a } = x(), { updateEventDate: n } = $e(), { display: h } = we(), b = Ie(), k = E;
348
- function i() {
349
- b.value ? n(b.value) : h({
350
- message: a("alert.error.selectDate"),
346
+ setup(t) {
347
+ const { t: i } = _(), { updateEventDate: a } = Pe(), { display: f } = Ee(), b = Ie(), k = t;
348
+ function g() {
349
+ b.value ? a(b.value) : f({
350
+ message: i("alert.error.selectDate"),
351
351
  type: "error"
352
352
  });
353
353
  }
354
- const D = Z(() => Et(k.fromDate, k.toDate) <= 1), P = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !$t(k.days).includes(s)));
355
- return dt(() => {
356
- D.value && (b.value = new Date(k.fromDate));
357
- }), (s, T) => (l(), v(fe, {
358
- name: s.name,
359
- description: s.description,
360
- "from-date": s.fromDate,
361
- "to-date": s.toDate,
362
- length: s.length,
363
- "time-from": s.timeFrom,
364
- "time-to": s.timeTo,
365
- gallery: s.gallery,
366
- days: s.days,
367
- "listing-id": s.listingId,
368
- "table-group-id": s.tableGroupId,
369
- "max-online-reservation-limit": s.maxOnlineReservationLimit,
370
- "minimum-person-count": s.minimumPersonCount,
371
- "use-number-of-products-for-persons": s.useNumberOfProductsForPersons,
372
- "tracking-enabled": s.trackingEnabled,
373
- "sold-out": s.soldOut,
374
- callback: s.callback,
354
+ const y = Z(() => ht(k.fromDate, k.toDate) <= 1), p = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((P) => !pt(k.days).includes(P)));
355
+ return ot(() => {
356
+ y.value && (b.value = new Date(k.fromDate));
357
+ }), (P, $) => (l(), m(be, {
358
+ name: t.name,
359
+ description: t.description,
360
+ "from-date": t.fromDate,
361
+ "to-date": t.toDate,
362
+ length: t.length,
363
+ "time-from": t.timeFrom,
364
+ "time-to": t.timeTo,
365
+ gallery: t.gallery,
366
+ days: t.days,
367
+ "listing-id": t.listingId,
368
+ "table-group-id": t.tableGroupId,
369
+ "max-online-reservation-limit": t.maxOnlineReservationLimit,
370
+ "minimum-person-count": t.minimumPersonCount,
371
+ "use-number-of-products-for-persons": t.useNumberOfProductsForPersons,
372
+ "tracking-enabled": t.trackingEnabled,
373
+ "sold-out": t.soldOut,
374
+ callback: t.callback,
375
375
  "disable-deep-link": !0
376
376
  }, {
377
- action: p(() => [
378
- t("div", null, [
379
- t("div", cn, [
380
- f(Yt, {
377
+ action: v(() => [
378
+ n("div", null, [
379
+ n("div", sn, [
380
+ h(Ht, {
381
381
  modelValue: b.value,
382
- "onUpdate:modelValue": T[0] || (T[0] = ($) => b.value = $),
383
- label: `${e(a)("event.selectDate")}*`,
384
- placeholder: e(a)("event.selectDate"),
382
+ "onUpdate:modelValue": $[0] || ($[0] = (E) => b.value = E),
383
+ label: `${e(i)("event.selectDate")}*`,
384
+ placeholder: e(i)("event.selectDate"),
385
385
  "icon-type": "fas",
386
386
  "icon-placement": "label",
387
- readonly: D.value,
388
- "start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
389
- "min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
390
- "max-date": new Date(s.toDate),
391
- "disabled-week-days": P.value
387
+ readonly: y.value,
388
+ "start-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
389
+ "min-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
390
+ "max-date": new Date(t.toDate),
391
+ "disabled-week-days": p.value
392
392
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
393
- t("div", mn, [
394
- f(be, {
395
- label: e(a)("availability.buttonLabel"),
396
- onClick: ut(i, ["prevent"])
393
+ n("div", rn, [
394
+ h(me, {
395
+ label: e(i)("availability.buttonLabel"),
396
+ onClick: it(g, ["prevent"])
397
397
  }, null, 8, ["label"])
398
398
  ])
399
399
  ]),
400
- t("div", pn, [
401
- D.value ? (l(), r("span", vn, [
402
- ve("*" + o(e(a)("event.canBeBooked")) + " ", 1),
403
- t("u", null, o(e(G)(s.fromDate)), 1)
404
- ])) : (l(), r("span", bn, [
405
- ve("*" + o(e(a)("event.canBeBooked")) + " ", 1),
406
- t("u", null, o(e(wt)(s.days)), 1)
400
+ n("div", cn, [
401
+ y.value ? (l(), s("span", dn, [
402
+ ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
403
+ n("u", null, o(e(z)(t.fromDate)), 1)
404
+ ])) : (l(), s("span", un, [
405
+ ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
406
+ n("u", null, o(e(Dt)(t.days)), 1)
407
407
  ]))
408
408
  ])
409
409
  ])
@@ -411,7 +411,81 @@ const tn = {
411
411
  _: 1
412
412
  }, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
413
413
  }
414
- }), fn = /* @__PURE__ */ q(gn, [["__scopeId", "data-v-f6aed3b0"]]), kn = ["innerHTML"], yn = /* @__PURE__ */ U({
414
+ }), Ce = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-f6aed3b0"]]), vn = {
415
+ key: 0,
416
+ class: "konnectio-event-grouped-listings-container"
417
+ }, bn = { class: "konnectio-event-grouped-listings" }, gn = /* @__PURE__ */ R({
418
+ __name: "NextEvent",
419
+ props: {
420
+ name: {},
421
+ events: {},
422
+ trackingEnabled: { type: Boolean },
423
+ callback: { type: Function }
424
+ },
425
+ setup(t) {
426
+ return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", vn, [
427
+ r("", !0),
428
+ n("ul", bn, [
429
+ (l(!0), s(N, null, S(t.events, ({
430
+ id: f,
431
+ days: b,
432
+ name: k,
433
+ timeFrom: g,
434
+ timeTo: y,
435
+ fromDate: p,
436
+ toDate: P,
437
+ tableGroupId: $,
438
+ description: E,
439
+ soldOut: T,
440
+ length: w,
441
+ images: O,
442
+ maxOnlineReservationLimit: u,
443
+ maxPaxPerReservation: D,
444
+ useNumberOfProductsForPersons: Y,
445
+ maxTicketsLimit: M
446
+ }) => (l(), m(Ce, {
447
+ key: f,
448
+ type: "event",
449
+ "listing-id": f,
450
+ "table-group-id": $,
451
+ description: E,
452
+ name: k,
453
+ length: w,
454
+ gallery: O,
455
+ days: b,
456
+ "from-date": p,
457
+ "to-date": P,
458
+ "max-online-reservation-limit": D || u || M || void 0,
459
+ "time-from": g,
460
+ "time-to": y,
461
+ "sold-out": T,
462
+ "use-number-of-products-for-persons": Y,
463
+ "tracking-enabled": t.trackingEnabled,
464
+ callback: t.callback
465
+ }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
466
+ ])
467
+ ])) : t.events ? (l(), m(Ce, {
468
+ key: t.events[0].id,
469
+ type: "event",
470
+ "listing-id": t.events[0].id,
471
+ "table-group-id": t.events[0].tableGroupId,
472
+ description: t.events[0].description,
473
+ name: t.events[0].name,
474
+ length: t.events[0].length,
475
+ gallery: t.events[0].images,
476
+ days: t.events[0].days,
477
+ "from-date": t.events[0].fromDate,
478
+ "to-date": t.events[0].toDate,
479
+ "max-online-reservation-limit": t.events[0].maxPaxPerReservation || t.events[0].maxOnlineReservationLimit || t.events[0].maxTicketsLimit || void 0,
480
+ "time-from": t.events[0].timeFrom,
481
+ "time-to": t.events[0].timeTo,
482
+ "sold-out": t.events[0].soldOut,
483
+ "use-number-of-products-for-persons": t.events[0].useNumberOfProductsForPersons,
484
+ "tracking-enabled": t.trackingEnabled,
485
+ callback: t.callback
486
+ }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
487
+ }
488
+ }), fn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-39263761"]]), kn = ["innerHTML"], yn = /* @__PURE__ */ R({
415
489
  __name: "FallbackEvent",
416
490
  props: {
417
491
  name: {},
@@ -423,29 +497,29 @@ const tn = {
423
497
  trackingEnabled: { type: Boolean },
424
498
  callback: { type: Function }
425
499
  },
426
- setup(E) {
427
- const { t: a } = x();
428
- return (n, h) => (l(), v(fe, {
429
- name: n.name,
430
- description: n.description,
431
- "from-date": n.fromDate,
432
- gallery: n.gallery,
433
- days: n.days,
434
- "listing-id": n.listingId,
435
- "tracking-enabled": n.trackingEnabled,
436
- callback: n.callback,
500
+ setup(t) {
501
+ const { t: i } = _();
502
+ return (a, f) => (l(), m(be, {
503
+ name: t.name,
504
+ description: t.description,
505
+ "from-date": t.fromDate,
506
+ gallery: t.gallery,
507
+ days: t.days,
508
+ "listing-id": t.listingId,
509
+ "tracking-enabled": t.trackingEnabled,
510
+ callback: t.callback,
437
511
  "disable-deep-link": !0
438
512
  }, {
439
- action: p(() => [
440
- t("div", {
513
+ action: v(() => [
514
+ n("div", {
441
515
  class: "konnectio-filter-notice konnectio-top-message",
442
- innerHTML: e(a)("event.notAvailable", { name: `<b>${n.name}</b>` })
516
+ innerHTML: e(i)("event.notAvailable", { name: `<b>${t.name}</b>` })
443
517
  }, null, 8, kn)
444
518
  ]),
445
519
  _: 1
446
520
  }, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
447
521
  }
448
- }), hn = /* @__PURE__ */ q(yn, [["__scopeId", "data-v-0167deff"]]), Dn = /* @__PURE__ */ U({
522
+ }), hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-0167deff"]]), pn = /* @__PURE__ */ R({
449
523
  __name: "Template",
450
524
  props: {
451
525
  name: {},
@@ -461,183 +535,183 @@ const tn = {
461
535
  trackingEnabled: { type: Boolean },
462
536
  callback: {}
463
537
  },
464
- setup(E) {
465
- return (a, n) => (l(), v(Me, {
466
- "listing-id": a.listingId,
467
- gallery: a.images,
468
- name: a.name,
469
- description: a.description,
470
- "prices-from": a.fromPrice,
471
- "to-date": a.toDate,
538
+ setup(t) {
539
+ return (i, a) => (l(), m(Re, {
540
+ "listing-id": t.listingId,
541
+ gallery: t.images,
542
+ name: t.name,
543
+ description: t.description,
544
+ "prices-from": t.fromPrice,
545
+ "to-date": t.toDate,
472
546
  type: "template",
473
- "tracking-enabled": a.trackingEnabled,
474
- callback: a.callback
547
+ "tracking-enabled": t.trackingEnabled,
548
+ callback: t.callback
475
549
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "tracking-enabled", "callback"]));
476
550
  }
477
- }), Pn = {
551
+ }), Dn = {
478
552
  key: 0,
479
553
  class: "konnectio-panel konnectio-reservation-notice-mobile"
480
- }, En = ["innerHTML"], $n = { key: 0 }, wn = { key: 1 }, On = { key: 2 }, Tn = { key: 0 }, Vn = { key: 4 }, _n = { key: 5 }, Nn = { key: 6 }, Fn = { key: 0 }, Cn = { key: 0 }, Ln = { key: 1 }, Bn = {
554
+ }, Pn = ["innerHTML"], En = { key: 0 }, $n = { key: 1 }, wn = { key: 2 }, xn = { key: 0 }, On = { key: 4 }, Tn = { key: 5 }, Vn = { key: 6 }, Fn = { key: 0 }, Nn = { key: 0 }, Ln = { key: 1 }, Cn = {
481
555
  key: 0,
482
556
  class: "konnectio-capitalize"
483
- }, An = /* @__PURE__ */ U({
557
+ }, Bn = /* @__PURE__ */ R({
484
558
  __name: "EventReservationForm",
485
559
  props: {
486
560
  showGiftCard: { type: Boolean, default: !1 },
487
561
  showTermsNotice: { type: Boolean, default: !1 },
488
562
  prevCallback: {}
489
563
  },
490
- setup(E) {
491
- const { t: a } = x(), n = ct(), {
492
- areListingsAvailable: h,
564
+ setup(t) {
565
+ const { t: i } = _(), a = st(), {
566
+ areListingsAvailable: f,
493
567
  arrivalTime: b,
494
568
  numberOfPeople: k,
495
- numberOfRooms: i,
496
- numberOfTotalDays: D,
497
- isTemplateEvent: P,
498
- currentEventDate: s,
499
- length: T,
500
- fromDate: $,
501
- tableBasePrice: C,
502
- getTemplateData: V,
503
- basePrice: N,
504
- totalPrice: m,
505
- weekendFee: w,
506
- roomUpgrade: ee,
507
- discountCode: Y,
508
- totalSelectedProducts: y,
509
- discountValue: R,
569
+ numberOfRooms: g,
570
+ numberOfTotalDays: y,
571
+ isTemplateEvent: p,
572
+ currentEventDate: P,
573
+ length: $,
574
+ fromDate: E,
575
+ tableBasePrice: T,
576
+ getTemplateData: w,
577
+ basePrice: O,
578
+ totalPrice: u,
579
+ weekendFee: D,
580
+ roomUpgrade: Y,
581
+ discountCode: M,
582
+ totalSelectedProducts: C,
583
+ discountValue: U,
510
584
  appliedDiscountCode: Q
511
- } = z(X()), { totalAddonPrice: de, validateDiscountCode: ke } = X(), { currency: ue, hideEventLength: ye } = z(re()), te = a("event.reservationNotice");
512
- return (H, ce) => (l(), v(Bt, {
513
- "discount-code": e(Y),
514
- "onUpdate:discountCode": ce[0] || (ce[0] = (j) => S(Y) ? Y.value = j : null),
515
- "validate-discount-code": e(ke),
516
- "show-gift-card": H.showGiftCard,
517
- "show-terms-notice": H.showTermsNotice,
518
- "is-sidebar-loading": !e(h),
519
- "base-price": e(N),
520
- "total-price": e(m),
521
- "weekend-fee": e(w),
522
- "room-upgrade": e(ee),
523
- notice: e(te),
524
- "prev-callback": H.prevCallback
525
- }, mt({
526
- form: p(() => [
527
- K(H.$slots, "form", {}, void 0, !0),
528
- e(te) ? (l(), r("div", Pn, [
529
- t("p", {
530
- innerHTML: e(te),
585
+ } = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength: fe } = q(oe()), ee = i("event.reservationNotice");
586
+ return (te, re) => (l(), m(Ft, {
587
+ "discount-code": e(M),
588
+ "onUpdate:discountCode": re[0] || (re[0] = (j) => A(M) ? M.value = j : null),
589
+ "validate-discount-code": e(ge),
590
+ "show-gift-card": t.showGiftCard,
591
+ "show-terms-notice": t.showTermsNotice,
592
+ "is-sidebar-loading": !e(f),
593
+ "base-price": e(O),
594
+ "total-price": e(u),
595
+ "weekend-fee": e(D),
596
+ "room-upgrade": e(Y),
597
+ notice: e(ee),
598
+ "prev-callback": t.prevCallback
599
+ }, rt({
600
+ form: v(() => [
601
+ K(te.$slots, "form", {}, void 0, !0),
602
+ e(ee) ? (l(), s("div", Dn, [
603
+ n("p", {
604
+ innerHTML: e(ee),
531
605
  class: "konnectio-wysiwyg"
532
- }, null, 8, En)
533
- ])) : u("", !0)
606
+ }, null, 8, Pn)
607
+ ])) : r("", !0)
534
608
  ]),
535
- "reservation-summary": p(() => [
536
- e(P) ? u("", !0) : (l(), r("li", $n, [
537
- t("span", null, o(e(a)("general.date")), 1),
538
- t("b", null, o(e(G)(e(s))), 1)
609
+ "reservation-summary": v(() => [
610
+ e(p) ? r("", !0) : (l(), s("li", En, [
611
+ n("span", null, o(e(i)("general.date")), 1),
612
+ n("b", null, o(e(z)(e(P))), 1)
539
613
  ])),
540
- e(k) > 0 ? (l(), r("li", wn, [
541
- t("span", null, o(e(a)("event.numberOfGuests")), 1),
542
- t("b", null, o(e(k)), 1)
543
- ])) : u("", !0),
544
- !e(P) && e(y) > 0 ? (l(), r("li", On, [
545
- t("span", null, o(e(a)("event.numberOfProducts")), 1),
546
- t("b", null, o(e(y)), 1)
547
- ])) : u("", !0),
548
- e(P) ? (l(), r(A, { key: 3 }, [
549
- t("li", null, [
550
- t("span", null, o(e(a)("booking.reservation.arrival")), 1),
551
- t("b", null, o(e(G)(e($))), 1)
614
+ e(k) > 0 ? (l(), s("li", $n, [
615
+ n("span", null, o(e(i)("event.numberOfGuests")), 1),
616
+ n("b", null, o(e(k)), 1)
617
+ ])) : r("", !0),
618
+ !e(p) && e(C) > 0 ? (l(), s("li", wn, [
619
+ n("span", null, o(e(i)("event.numberOfProducts")), 1),
620
+ n("b", null, o(e(C)), 1)
621
+ ])) : r("", !0),
622
+ e(p) ? (l(), s(N, { key: 3 }, [
623
+ n("li", null, [
624
+ n("span", null, o(e(i)("booking.reservation.arrival")), 1),
625
+ n("b", null, o(e(z)(e(E))), 1)
552
626
  ]),
553
- t("li", null, [
554
- t("span", null, o(e(a)("booking.reservation.departure")), 1),
555
- t("b", null, o(e(G)(e($), e(D))), 1)
627
+ n("li", null, [
628
+ n("span", null, o(e(i)("booking.reservation.departure")), 1),
629
+ n("b", null, o(e(z)(e(E), e(y))), 1)
556
630
  ]),
557
- t("li", null, [
558
- t("span", null, o(e(a)("event.numberOfRooms")), 1),
559
- t("b", null, o(e(i)), 1)
631
+ n("li", null, [
632
+ n("span", null, o(e(i)("event.numberOfRooms")), 1),
633
+ n("b", null, o(e(g)), 1)
560
634
  ]),
561
- e(D) > 0 ? (l(), r("li", Tn, [
562
- t("span", null, o(e(a)("event.numberOfDays")), 1),
563
- t("b", null, o(e(D)), 1)
564
- ])) : u("", !0)
565
- ], 64)) : u("", !0),
566
- !e(P) && e(b) ? (l(), r("li", Vn, [
567
- t("span", null, o(e(a)("event.startOfEvent")), 1),
568
- t("b", null, o(e(ge)(e(b))), 1)
569
- ])) : u("", !0),
570
- !e(P) && e(T) && !e(ye) ? (l(), r("li", _n, [
571
- t("span", null, o(e(a)("event.lengthOfEvent")), 1),
572
- t("b", null, o(e(ge)(e(T))), 1)
573
- ])) : u("", !0),
574
- e(R) ? (l(), r("li", Nn, [
575
- t("span", null, o(e(a)("general.discountCode")), 1),
576
- t("b", null, o(e(Q)), 1)
577
- ])) : u("", !0)
635
+ e(y) > 0 ? (l(), s("li", xn, [
636
+ n("span", null, o(e(i)("event.numberOfDays")), 1),
637
+ n("b", null, o(e(y)), 1)
638
+ ])) : r("", !0)
639
+ ], 64)) : r("", !0),
640
+ !e(p) && e(b) ? (l(), s("li", On, [
641
+ n("span", null, o(e(i)("event.startOfEvent")), 1),
642
+ n("b", null, o(e(ve)(e(b))), 1)
643
+ ])) : r("", !0),
644
+ !e(p) && e($) && !e(fe) ? (l(), s("li", Tn, [
645
+ n("span", null, o(e(i)("event.lengthOfEvent")), 1),
646
+ n("b", null, o(e(ve)(e($))), 1)
647
+ ])) : r("", !0),
648
+ e(U) ? (l(), s("li", Vn, [
649
+ n("span", null, o(e(i)("general.discountCode")), 1),
650
+ n("b", null, o(e(Q)), 1)
651
+ ])) : r("", !0)
578
652
  ]),
579
- "price-summary": p(() => [
580
- !e(P) && e(C) > 0 ? (l(), r("li", Fn, [
581
- t("span", null, o(e(a)("booking.availability.basePrice")), 1),
582
- t("b", null, o(e(J)(e(C), e(ue))), 1)
583
- ])) : u("", !0),
584
- e(V) ? (l(!0), r(A, { key: 1 }, M(e(V), ({ roomGroupId: j }, W) => (l(), r(A, null, [
585
- e(de)(j, W) > 0 ? (l(), r("li", { key: j }, [
586
- t("span", null, o(e(a)("booking.reservation.addons")) + " - " + o(e(a)("booking.reservation.room")) + " #" + o(W + 1), 1),
587
- t("b", null, o(e(J)(e(de)(j, W), e(ue))), 1)
588
- ])) : u("", !0)
589
- ], 64))), 256)) : u("", !0)
653
+ "price-summary": v(() => [
654
+ !e(p) && e(T) > 0 ? (l(), s("li", Fn, [
655
+ n("span", null, o(e(i)("booking.availability.basePrice")), 1),
656
+ n("b", null, o(e(J)(e(T), e(se))), 1)
657
+ ])) : r("", !0),
658
+ e(w) ? (l(!0), s(N, { key: 1 }, S(e(w), ({ roomGroupId: j }, W) => (l(), s(N, null, [
659
+ e(ie)(j, W) > 0 ? (l(), s("li", { key: j }, [
660
+ n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(W + 1), 1),
661
+ n("b", null, o(e(J)(e(ie)(j, W), e(se))), 1)
662
+ ])) : r("", !0)
663
+ ], 64))), 256)) : r("", !0)
590
664
  ]),
591
- navigation: p(() => [
592
- K(H.$slots, "navigation", {}, void 0, !0)
665
+ navigation: v(() => [
666
+ K(te.$slots, "navigation", {}, void 0, !0)
593
667
  ]),
594
- "mobile-under-price": p(() => [
595
- e(P) && e(D) > 0 ? (l(), r("div", Cn, [
596
- t("span", null, o(e(G)(e($))) + " - " + o(e(G)(e($), e(D))), 1)
597
- ])) : (l(), r("div", Ln, [
598
- t("span", null, o(e(G)(e(s))), 1)
668
+ "mobile-under-price": v(() => [
669
+ e(p) && e(y) > 0 ? (l(), s("div", Nn, [
670
+ n("span", null, o(e(z)(e(E))) + " - " + o(e(z)(e(E), e(y))), 1)
671
+ ])) : (l(), s("div", Ln, [
672
+ n("span", null, o(e(z)(e(P))), 1)
599
673
  ]))
600
674
  ]),
601
- "mobile-summary": p(() => [
602
- !e(P) && e(y) > 0 ? (l(), r("span", Bn, o(e(a)("event.numberOfProducts")) + ": " + o(e(y)), 1)) : u("", !0)
675
+ "mobile-summary": v(() => [
676
+ !e(p) && e(C) > 0 ? (l(), s("span", Cn, o(e(i)("event.numberOfProducts")) + ": " + o(e(C)), 1)) : r("", !0)
603
677
  ]),
604
678
  _: 2
605
679
  }, [
606
- e(n).sidebar ? {
680
+ e(a).sidebar ? {
607
681
  name: "sidebar",
608
- fn: p(() => [
609
- K(H.$slots, "sidebar", {}, void 0, !0)
682
+ fn: v(() => [
683
+ K(te.$slots, "sidebar", {}, void 0, !0)
610
684
  ]),
611
685
  key: "0"
612
686
  } : void 0
613
687
  ]), 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"]));
614
688
  }
615
- }), Ee = /* @__PURE__ */ q(An, [["__scopeId", "data-v-d2ff3f68"]]), In = { class: "event-skeleton" }, Sn = { class: "event-skeleton-content" }, Rn = { class: "event-skeleton-sidebar" }, Mn = /* @__PURE__ */ U({
689
+ }), De = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-d2ff3f68"]]), In = { class: "event-skeleton" }, An = { class: "event-skeleton-content" }, Sn = { class: "event-skeleton-sidebar" }, Rn = /* @__PURE__ */ R({
616
690
  __name: "EventSkeleton",
617
- setup(E) {
618
- return (a, n) => (l(), r("div", In, [
619
- t("div", Sn, [
620
- f(Re)
691
+ setup(t) {
692
+ return (i, a) => (l(), s("div", In, [
693
+ n("div", An, [
694
+ h(Se)
621
695
  ]),
622
- t("div", Rn, [
623
- u("", !0),
624
- f(At)
696
+ n("div", Sn, [
697
+ r("", !0),
698
+ h(Nt)
625
699
  ])
626
700
  ]));
627
701
  }
628
- }), Un = /* @__PURE__ */ q(Mn, [["__scopeId", "data-v-3e15c4e3"]]), Hn = {
702
+ }), Mn = /* @__PURE__ */ G(Rn, [["__scopeId", "data-v-3e15c4e3"]]), Un = {
629
703
  key: 0,
630
704
  id: "konnectio-event-listings-wrapper"
631
- }, Gn = {
705
+ }, Hn = {
632
706
  key: 1,
633
707
  class: "konnectio-hotel-availability-title"
634
- }, zn = { class: "konnectio-event-listings" }, qn = { class: "konnectio-hotel-availability-title" }, Yn = { class: "konnectio-event-listings" }, jn = ["innerHTML"], Wn = { class: "konnectio-panel" }, Zn = {
708
+ }, Gn = { class: "konnectio-event-listings" }, zn = { class: "konnectio-hotel-availability-title" }, qn = { class: "konnectio-event-listings" }, Yn = ["innerHTML"], jn = { class: "konnectio-panel" }, Wn = {
635
709
  key: 0,
636
710
  id: "konnectio-event-addons"
637
- }, Qn = { class: "konnectio-table with-lines" }, Jn = { class: "konnectio-event-addons-price" }, Kn = { class: "konnectio-event-addons-input" }, Xn = { class: "konnectio-event-addons-price" }, xn = { class: "konnectio-event-addons-price" }, ea = {
711
+ }, Zn = { class: "konnectio-table with-lines" }, Qn = { class: "konnectio-event-addons-price" }, Jn = { class: "konnectio-event-addons-input" }, Kn = { class: "konnectio-event-addons-price" }, Xn = { class: "konnectio-event-addons-price" }, _n = {
638
712
  key: 1,
639
713
  class: "konnectio-table with-lines without-header"
640
- }, ta = { class: "konnectio-table-addons-information" }, na = { key: 0 }, aa = { class: "konnectio-table-addons-option" }, la = { class: "konnectio-panel" }, oa = /* @__PURE__ */ U({
714
+ }, ea = { class: "konnectio-table-addons-information" }, ta = { key: 0 }, na = { class: "konnectio-table-addons-option" }, aa = { class: "konnectio-panel" }, la = /* @__PURE__ */ R({
641
715
  name: "EventLayout",
642
716
  __name: "Event",
643
717
  props: {
@@ -652,61 +726,61 @@ const tn = {
652
726
  showHighChairs: {},
653
727
  styling: {}
654
728
  },
655
- setup(E) {
656
- const a = E, { t: n } = x(), {
657
- addons: h,
729
+ setup(t) {
730
+ const i = t, { t: a } = _(), {
731
+ addons: f,
658
732
  products: b,
659
733
  numberOfDays: k,
660
- flagOnTable: i,
661
- numberOfHighChairs: D,
662
- name: P,
663
- phone: s,
664
- email: T,
665
- remark: $,
666
- allergies: C,
667
- arrivalTime: V,
668
- hasEvents: N,
669
- hasTemplates: m,
670
- getEvents: w,
671
- getTemplates: ee,
672
- getEventData: Y,
673
- getTemplateData: y,
674
- getEventTableData: R,
734
+ flagOnTable: g,
735
+ numberOfHighChairs: y,
736
+ name: p,
737
+ phone: P,
738
+ email: $,
739
+ remark: E,
740
+ allergies: T,
741
+ arrivalTime: w,
742
+ hasEvents: O,
743
+ hasTemplates: u,
744
+ getEvents: D,
745
+ getTemplates: Y,
746
+ getEventData: M,
747
+ getTemplateData: C,
748
+ getEventTableData: U,
675
749
  hasProducts: Q,
676
- eventRateType: de,
677
- areListingsAvailable: ke,
678
- isAvailabilityDataAvailable: ue,
679
- hasListingData: ye,
680
- isPaymentLoading: te,
681
- isReservationFormFilled: H,
682
- requiresArrivalTime: ce,
750
+ eventRateType: ie,
751
+ areListingsAvailable: ge,
752
+ isAvailabilityDataAvailable: se,
753
+ hasListingData: fe,
754
+ isPaymentLoading: ee,
755
+ isReservationFormFilled: te,
756
+ requiresArrivalTime: re,
683
757
  hasSelectedRequiredProducts: j,
684
758
  getUnavailableEvents: W,
685
- hasFallbackEvents: Oe,
686
- getFallbackEvents: Ue
687
- } = z(X()), { currency: me, enableTracking: ne } = z(re()), { setActiveIdFilter: He } = re(), { eventDate: Ge, eventLocation: ze } = z($e()), { isValidRestaurantId: qe } = $e(), {
688
- initialize: Ye,
689
- fetchListings: je,
690
- createBooking: We,
691
- localAddonPrice: Ze,
692
- totalAddonPrice: Qe,
693
- reset: Je,
694
- goBack: Te
695
- } = X(), { beginEventCheckout: Ke } = Se(), { display: he } = we(), Xe = Z(() => [
759
+ hasFallbackEvents: $e,
760
+ getFallbackEvents: Me
761
+ } = q(X()), { currency: ce, enableTracking: ne } = q(oe()), { setActiveIdFilter: Ue } = oe(), { eventDate: He, eventLocation: Ge } = q(Pe()), { isValidRestaurantId: ze } = Pe(), {
762
+ initialize: qe,
763
+ fetchListings: Ye,
764
+ createBooking: je,
765
+ localAddonPrice: We,
766
+ totalAddonPrice: Ze,
767
+ reset: Qe,
768
+ goBack: we
769
+ } = X(), { beginEventCheckout: Je } = Ae(), { display: ke } = Ee(), Ke = Z(() => [
696
770
  {
697
771
  id: "availability",
698
- label: n("booking.availability.title"),
772
+ label: a("booking.availability.title"),
699
773
  icon: "search"
700
774
  },
701
775
  {
702
776
  id: "addons",
703
- label: n("general.addons"),
777
+ label: a("general.addons"),
704
778
  icon: "shopping-cart",
705
779
  hidden: !1
706
780
  },
707
781
  {
708
782
  id: "reservation",
709
- label: n("booking.reservation.title"),
783
+ label: a("booking.reservation.title"),
710
784
  icon: "concierge-bell"
711
785
  },
712
786
  {
@@ -715,408 +789,377 @@ const tn = {
715
789
  },
716
790
  {
717
791
  id: "confirmation",
718
- label: n("booking.confirmation.title"),
792
+ label: a("booking.confirmation.title"),
719
793
  icon: "calendar-check"
720
794
  }
721
- ]), xe = Z(() => {
722
- const g = [];
723
- return R.value && R.value.forEach((c) => {
724
- g.find((F) => F.value === c.time) || g.push({
725
- label: ge(c.time),
726
- value: c.time
795
+ ]), Xe = Z(() => {
796
+ const L = [];
797
+ return U.value && U.value.forEach((d) => {
798
+ L.find((V) => V.value === d.time) || L.push({
799
+ label: ve(d.time),
800
+ value: d.time
727
801
  });
728
- }), g;
802
+ }), L;
729
803
  });
730
- function et() {
731
- Je(a.resetDate === "yes");
804
+ function _e() {
805
+ Qe(i.resetDate === "yes");
732
806
  }
733
- function tt(g) {
734
- ne.value && Ke(), We(g);
807
+ function et(L) {
808
+ ne.value && Je(), je(L);
735
809
  }
736
- function nt() {
737
- const g = _t("history", {
810
+ function tt() {
811
+ const L = wt("history", {
738
812
  removeNullishValues: !0
739
- }), c = parseInt(g.rid), F = g.d, O = parseInt(g.eid);
740
- if (F)
741
- if (Nt(F)) {
742
- const d = new Date(F), L = d.setHours(12, 0, 0, 0), I = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
743
- L >= I ? Ge.value = d : (he({
744
- message: n("alert.error.invalidDateRange"),
813
+ }), d = parseInt(L.rid), V = L.d, x = parseInt(L.eid);
814
+ if (V)
815
+ if (xt(V)) {
816
+ const c = new Date(V), B = c.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
817
+ B >= H ? He.value = c : (ke({
818
+ message: a("alert.error.invalidDateRange"),
745
819
  type: "error"
746
- }), g.d = void 0);
820
+ }), L.d = void 0);
747
821
  } else
748
- he({
749
- message: n("alert.error.wrongDateFormat"),
822
+ ke({
823
+ message: a("alert.error.wrongDateFormat"),
750
824
  type: "error"
751
825
  });
752
- isNaN(c) || (qe(c) ? ze.value = c : (g.rid = void 0, he({
753
- message: n("alert.error.hotelIdNotFound"),
826
+ isNaN(d) || (ze(d) ? Ge.value = d : (L.rid = void 0, ke({
827
+ message: a("alert.error.hotelIdNotFound"),
754
828
  type: "error"
755
- }))), isNaN(O) || He(O), je();
829
+ }))), isNaN(x) || Ue(x), Ye();
756
830
  }
757
- return (g, c) => (l(), v(Vt, { styling: g.styling }, {
758
- default: p(() => [
759
- (l(), v(pt, { onResolve: nt }, {
760
- default: p(() => [
761
- f(Ft, {
831
+ return (L, d) => (l(), m($t, { styling: t.styling }, {
832
+ default: v(() => [
833
+ (l(), m(ct, { onResolve: tt }, {
834
+ default: v(() => [
835
+ h(Ot, {
762
836
  id: "konnectio-event-module",
763
- "access-token": g.accessToken,
764
- callback: e(Ye)
837
+ "access-token": t.accessToken,
838
+ callback: e(qe)
765
839
  }, {
766
- default: p(() => [
767
- f(It, {
768
- steps: Xe.value,
769
- onReset: et
840
+ default: v(() => [
841
+ h(Lt, {
842
+ steps: Ke.value,
843
+ onReset: _e
770
844
  }, {
771
- availability: p(({ next: F }) => [
772
- f(Ee, null, {
773
- sidebar: p(() => [
774
- f(Zt, {
845
+ availability: v(({ next: V }) => [
846
+ h(De, null, {
847
+ sidebar: v(() => [
848
+ h(qt, {
775
849
  redirection: !1,
776
- "selected-location": Number(g.selectedLocation),
777
- "hide-locations": g.hideLocations === "yes"
850
+ "selected-location": Number(t.selectedLocation),
851
+ "hide-locations": t.hideLocations === "yes"
778
852
  }, null, 8, ["selected-location", "hide-locations"])
779
853
  ]),
780
- form: p(() => [
781
- e(ye) && e(ke) ? (l(), r("div", Hn, [
782
- e(Oe) ? (l(!0), r(A, { key: 0 }, M(e(Ue), ({
783
- id: O,
784
- name: d,
785
- description: L,
786
- images: I
787
- }) => (l(), v(hn, {
788
- key: O,
854
+ form: v(() => [
855
+ e(fe) && e(ge) ? (l(), s("div", Un, [
856
+ e($e) ? (l(!0), s(N, { key: 0 }, S(e(Me), ({
857
+ id: x,
858
+ name: c,
859
+ description: B,
860
+ images: H
861
+ }) => (l(), m(hn, {
862
+ key: x,
789
863
  type: "event",
790
- "listing-id": O,
791
- description: L,
792
- name: d,
793
- gallery: I,
864
+ "listing-id": x,
865
+ description: B,
866
+ name: c,
867
+ gallery: H,
794
868
  "tracking-enabled": e(ne),
795
- callback: F
796
- }, null, 8, ["listing-id", "description", "name", "gallery", "tracking-enabled", "callback"]))), 128)) : u("", !0),
797
- e(N) && e(W).length > 0 ? (l(), r("h2", Gn, [
798
- f(ie, {
869
+ callback: V
870
+ }, null, 8, ["listing-id", "description", "name", "gallery", "tracking-enabled", "callback"]))), 128)) : r("", !0),
871
+ e(D).length > 0 && e(W).length > 0 ? (l(), s("h2", Hn, [
872
+ h(le, {
799
873
  icon: "calendar-clock",
800
874
  type: "fal",
801
875
  color: "header"
802
876
  }),
803
- t("span", null, o(e(n)("event.availableNow")), 1)
804
- ])) : u("", !0),
805
- t("ul", zn, [
806
- e(N) && g.onlyShow !== "templates" ? (l(!0), r(A, { key: 0 }, M(e(w), (O) => (l(), v(un, {
807
- name: O.name,
808
- events: O.events,
877
+ n("span", null, o(e(a)("event.availableNow")), 1)
878
+ ])) : r("", !0),
879
+ n("ul", Gn, [
880
+ e(O) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, S(e(D), (x) => (l(), m(on, {
881
+ name: x.name,
882
+ events: x.events,
809
883
  "tracking-enabled": e(ne),
810
- callback: F
811
- }, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : u("", !0),
812
- e(m) && g.onlyShow !== "events" ? (l(!0), r(A, { key: 1 }, M(e(ee), ({
813
- id: O,
814
- name: d,
815
- fromDate: L,
816
- toDate: I,
817
- minimumPersonCount: _,
818
- fromPrice: B,
819
- description: ae,
820
- images: le
821
- }) => (l(), v(Dn, {
822
- key: O,
823
- "listing-id": O,
824
- name: d,
825
- images: le,
826
- description: ae,
827
- "from-date": L,
828
- "to-date": I,
829
- "minimum-person-count": _,
830
- fromPrice: B,
884
+ callback: V
885
+ }, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : r("", !0),
886
+ e(u) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, S(e(Y), ({
887
+ id: x,
888
+ name: c,
889
+ fromDate: B,
890
+ toDate: H,
891
+ minimumPersonCount: F,
892
+ fromPrice: I,
893
+ description: ye,
894
+ images: he
895
+ }) => (l(), m(pn, {
896
+ key: x,
897
+ "listing-id": x,
898
+ name: c,
899
+ images: he,
900
+ description: ye,
901
+ "from-date": B,
902
+ "to-date": H,
903
+ "minimum-person-count": F,
904
+ fromPrice: I,
831
905
  "tracking-enabled": e(ne),
832
- callback: F
833
- }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "tracking-enabled", "callback"]))), 128)) : u("", !0)
906
+ callback: V
907
+ }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "tracking-enabled", "callback"]))), 128)) : r("", !0)
834
908
  ]),
835
- e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(A, { key: 2 }, [
836
- t("h2", qn, [
837
- f(ie, {
909
+ e(W).length > 0 && t.onlyShow !== "templates" ? (l(), s(N, { key: 2 }, [
910
+ n("h2", zn, [
911
+ h(le, {
838
912
  icon: "calendar-circle-exclamation",
839
913
  type: "fal",
840
914
  color: "header"
841
915
  }),
842
- t("span", null, o(e(n)("event.availableLater")), 1)
916
+ n("span", null, o(e(a)("event.availableLater")), 1)
843
917
  ]),
844
- t("ul", Yn, [
845
- (l(!0), r(A, null, M(e(W), ({
846
- id: O,
847
- days: d,
848
- name: L,
849
- timeFrom: I,
850
- timeTo: _,
851
- fromDate: B,
852
- toDate: ae,
853
- tableGroupId: le,
854
- description: De,
855
- soldOut: Pe,
856
- length: oe,
857
- images: at,
858
- maxOnlineReservationLimit: lt,
859
- maxPaxPerReservation: ot,
860
- useNumberOfProductsForPersons: st,
861
- maxTicketsLimit: it
862
- }) => (l(), v(fn, {
863
- key: O,
864
- type: "event",
865
- "listing-id": O,
866
- "table-group-id": le,
867
- description: De,
868
- name: L,
869
- length: oe,
870
- gallery: at,
871
- days: d,
872
- "from-date": B,
873
- "to-date": ae,
874
- "max-online-reservation-limit": ot || lt || it,
875
- "time-from": I,
876
- "time-to": _,
877
- "sold-out": Pe,
878
- "use-number-of-products-for-persons": st,
918
+ n("ul", qn, [
919
+ (l(!0), s(N, null, S(e(W), (x) => (l(), m(fn, {
920
+ name: x.name,
921
+ events: x.events,
879
922
  "tracking-enabled": e(ne),
880
- callback: F
881
- }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
923
+ callback: V
924
+ }, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256))
882
925
  ])
883
- ], 64)) : u("", !0),
884
- (!e(N) && !e(m) || !e(N) && g.onlyShow === "events" || !e(m) && g.onlyShow === "templates") && !e(Oe) ? (l(), r("div", {
926
+ ], 64)) : r("", !0),
927
+ (!e(O) && !e(u) || !e(O) && t.onlyShow === "events" || !e(u) && t.onlyShow === "templates") && !e($e) ? (l(), s("div", {
885
928
  key: 3,
886
929
  class: "konnectio-panel",
887
- innerHTML: e(n)("event.nothingAvailable")
888
- }, null, 8, jn)) : u("", !0)
889
- ])) : (l(), v(Re, { key: 1 }))
930
+ innerHTML: e(a)("event.nothingAvailable")
931
+ }, null, 8, Yn)) : r("", !0)
932
+ ])) : (l(), m(Se, { key: 1 }))
890
933
  ]),
891
934
  _: 2
892
935
  }, 1024)
893
936
  ]),
894
- addons: p(({ next: F, prev: O }) => [
895
- e(ue) ? (l(), v(Ee, {
937
+ addons: v(({ next: V, prev: x }) => [
938
+ e(se) ? (l(), m(De, {
896
939
  key: 0,
897
- "prev-callback": () => e(Te)(O)
940
+ "prev-callback": () => e(we)(x)
898
941
  }, {
899
- form: p(() => [
900
- t("form", Wn, [
901
- t("h2", null, [
902
- t("span", null, o(e(n)("event.selectProducts")), 1)
942
+ form: v(() => [
943
+ n("form", jn, [
944
+ n("h2", null, [
945
+ n("span", null, o(e(a)("event.selectProducts")), 1)
903
946
  ]),
904
- e(y) && e(y).length > 0 ? (l(), r("ul", Zn, [
905
- (l(!0), r(A, null, M(e(y), ({
906
- roomGroupId: d,
907
- addons: L,
908
- adultPerRoom: I
909
- }, _) => (l(), r("li", { key: d }, [
910
- t("h5", null, [
911
- t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(_ + 1), 1),
912
- c[9] || (c[9] = ve(" (", -1)),
913
- f(ie, {
947
+ e(C) && e(C).length > 0 ? (l(), s("ul", Wn, [
948
+ (l(!0), s(N, null, S(e(C), ({
949
+ roomGroupId: c,
950
+ addons: B,
951
+ adultPerRoom: H
952
+ }, F) => (l(), s("li", { key: c }, [
953
+ n("h5", null, [
954
+ n("span", null, o(e(a)("booking.reservation.room")) + " #" + o(F + 1), 1),
955
+ d[9] || (d[9] = ue(" (", -1)),
956
+ h(le, {
914
957
  icon: "male",
915
958
  type: "fas",
916
959
  color: "header"
917
960
  }),
918
- ve(" " + o(I) + ") ", 1)
961
+ ue(" " + o(H) + ") ", 1)
919
962
  ]),
920
- t("table", Qn, [
921
- t("thead", null, [
922
- t("tr", null, [
923
- t("th", null, [
924
- t("span", null, o(e(n)("booking.reservation.addons")), 1)
963
+ n("table", Zn, [
964
+ n("thead", null, [
965
+ n("tr", null, [
966
+ n("th", null, [
967
+ n("span", null, o(e(a)("booking.reservation.addons")), 1)
925
968
  ]),
926
- c[10] || (c[10] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
927
- t("th", Jn, [
928
- t("span", null, o(e(n)("booking.availability.price")), 1)
969
+ d[10] || (d[10] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
970
+ n("th", Qn, [
971
+ n("span", null, o(e(a)("booking.availability.price")), 1)
929
972
  ])
930
973
  ])
931
974
  ]),
932
- t("tbody", null, [
933
- (l(!0), r(A, null, M(L, ({
934
- id: B,
935
- cardinality: ae,
936
- name: le,
937
- price: De,
938
- quantityStrategy: Pe
939
- }) => (l(), r("tr", { key: B }, [
940
- t("td", null, [
941
- t("b", null, o(le), 1),
942
- c[11] || (c[11] = t("br", null, null, -1)),
943
- t("span", null, o(e(J)(De, e(me))) + " " + o(e(Tt)(Pe)), 1)
975
+ n("tbody", null, [
976
+ (l(!0), s(N, null, S(B, ({
977
+ id: I,
978
+ cardinality: ye,
979
+ name: he,
980
+ price: nt,
981
+ quantityStrategy: at
982
+ }) => (l(), s("tr", { key: I }, [
983
+ n("td", null, [
984
+ n("b", null, o(he), 1),
985
+ d[11] || (d[11] = n("br", null, null, -1)),
986
+ n("span", null, o(e(J)(nt, e(ce))) + " " + o(e(Et)(at)), 1)
944
987
  ]),
945
- t("td", Kn, [
946
- ae === 3 ? (l(), v(se, {
988
+ n("td", Jn, [
989
+ ye === 3 ? (l(), m(ae, {
947
990
  key: 0,
948
- modelValue: e(h)[`${d}.${B}.${_}`],
949
- "onUpdate:modelValue": (oe) => e(h)[`${d}.${B}.${_}`] = oe,
991
+ modelValue: e(f)[`${c}.${I}.${F}`],
992
+ "onUpdate:modelValue": (pe) => e(f)[`${c}.${I}.${F}`] = pe,
950
993
  small: !0,
951
994
  "min-value": 0
952
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), v(Be, {
995
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), m(Le, {
953
996
  key: 1,
954
- modelValue: e(h)[`${d}.${B}.${_}`],
955
- "onUpdate:modelValue": (oe) => e(h)[`${d}.${B}.${_}`] = oe,
997
+ modelValue: e(f)[`${c}.${I}.${F}`],
998
+ "onUpdate:modelValue": (pe) => e(f)[`${c}.${I}.${F}`] = pe,
956
999
  numeric: !0
957
1000
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
958
1001
  ]),
959
- t("td", Xn, [
960
- t("span", null, o(e(J)(e(Ze)(B, d, _), e(me))), 1)
1002
+ n("td", Kn, [
1003
+ n("span", null, o(e(J)(e(We)(I, c, F), e(ce))), 1)
961
1004
  ])
962
1005
  ]))), 128))
963
1006
  ]),
964
- t("tfoot", null, [
965
- t("tr", null, [
966
- c[12] || (c[12] = t("td", null, null, -1)),
967
- c[13] || (c[13] = t("td", null, null, -1)),
968
- t("td", xn, [
969
- t("u", null, [
970
- t("span", null, o(e(J)(e(Qe)(d, _), e(me))), 1)
1007
+ n("tfoot", null, [
1008
+ n("tr", null, [
1009
+ d[12] || (d[12] = n("td", null, null, -1)),
1010
+ d[13] || (d[13] = n("td", null, null, -1)),
1011
+ n("td", Xn, [
1012
+ n("u", null, [
1013
+ n("span", null, o(e(J)(e(Ze)(c, F), e(ce))), 1)
971
1014
  ])
972
1015
  ])
973
1016
  ])
974
1017
  ])
975
1018
  ])
976
1019
  ]))), 128))
977
- ])) : u("", !0),
978
- e(Q) ? (l(), r("table", ea, [
979
- t("tbody", null, [
980
- (l(!0), r(A, null, M(e(Y).products, ({ id: d, name: L, price: I, description: _ }) => (l(), r("tr", { key: d }, [
981
- t("td", ta, [
982
- t("b", null, [
983
- t("span", null, o(e(Ve)(L)), 1)
1020
+ ])) : r("", !0),
1021
+ e(Q) ? (l(), s("table", _n, [
1022
+ n("tbody", null, [
1023
+ (l(!0), s(N, null, S(e(M).products, ({ id: c, name: B, price: H, description: F }) => (l(), s("tr", { key: c }, [
1024
+ n("td", ea, [
1025
+ n("b", null, [
1026
+ n("span", null, o(e(xe)(B)), 1)
984
1027
  ]),
985
- _ && _ !== L ? (l(), r("span", na, o(e(Ve)(_)), 1)) : u("", !0),
986
- t("u", null, o(e(J)(I, e(me))), 1)
1028
+ F && F !== B ? (l(), s("span", ta, o(e(xe)(F)), 1)) : r("", !0),
1029
+ n("u", null, o(e(J)(H, e(ce))), 1)
987
1030
  ]),
988
- t("td", aa, [
989
- f(se, {
990
- modelValue: e(b)[d],
991
- "onUpdate:modelValue": (B) => e(b)[d] = B,
1031
+ n("td", na, [
1032
+ h(ae, {
1033
+ modelValue: e(b)[c],
1034
+ "onUpdate:modelValue": (I) => e(b)[c] = I,
992
1035
  small: !0,
993
1036
  "min-value": 0
994
1037
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
995
1038
  ])
996
1039
  ]))), 128))
997
1040
  ])
998
- ])) : u("", !0)
1041
+ ])) : r("", !0)
999
1042
  ])
1000
1043
  ]),
1001
- navigation: p(() => [
1002
- f(be, {
1003
- label: e(n)("event.startReservation"),
1044
+ navigation: v(() => [
1045
+ h(me, {
1046
+ label: e(a)("event.startReservation"),
1004
1047
  disabled: !e(j),
1005
1048
  "full-width": "",
1006
- onClickEvent: F
1049
+ onClickEvent: V
1007
1050
  }, null, 8, ["label", "disabled", "onClickEvent"])
1008
1051
  ]),
1009
1052
  _: 2
1010
- }, 1032, ["prev-callback"])) : u("", !0)
1053
+ }, 1032, ["prev-callback"])) : r("", !0)
1011
1054
  ]),
1012
- reservation: p(({ next: F, prev: O }) => [
1013
- f(Ee, {
1055
+ reservation: v(({ next: V, prev: x }) => [
1056
+ h(De, {
1014
1057
  "show-terms-notice": !0,
1015
1058
  "show-gift-card": !0,
1016
- "prev-callback": () => e(Te)(O)
1059
+ "prev-callback": () => e(we)(x)
1017
1060
  }, {
1018
- form: p(() => [
1019
- t("form", la, [
1020
- t("h2", null, [
1021
- t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
1061
+ form: v(() => [
1062
+ n("form", aa, [
1063
+ n("h2", null, [
1064
+ n("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
1022
1065
  ]),
1023
- f(pe, {
1024
- modelValue: e(P),
1025
- "onUpdate:modelValue": c[0] || (c[0] = (d) => S(P) ? P.value = d : null),
1066
+ h(de, {
1067
+ modelValue: e(p),
1068
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => A(p) ? p.value = c : null),
1026
1069
  type: "text",
1027
- label: e(n)("booking.reservation.name"),
1070
+ label: e(a)("booking.reservation.name"),
1028
1071
  icon: "user-alt",
1029
- placeholder: e(n)("booking.reservation.namePlaceholder"),
1072
+ placeholder: e(a)("booking.reservation.namePlaceholder"),
1030
1073
  required: ""
1031
1074
  }, null, 8, ["modelValue", "label", "placeholder"]),
1032
- f(pe, {
1033
- modelValue: e(T),
1034
- "onUpdate:modelValue": c[1] || (c[1] = (d) => S(T) ? T.value = d : null),
1035
- label: e(n)("booking.reservation.email"),
1075
+ h(de, {
1076
+ modelValue: e($),
1077
+ "onUpdate:modelValue": d[1] || (d[1] = (c) => A($) ? $.value = c : null),
1078
+ label: e(a)("booking.reservation.email"),
1036
1079
  type: "email",
1037
1080
  name: "email",
1038
1081
  autocomplete: "email",
1039
1082
  icon: "at",
1040
- placeholder: e(n)("booking.reservation.emailPlaceholder"),
1083
+ placeholder: e(a)("booking.reservation.emailPlaceholder"),
1041
1084
  required: ""
1042
1085
  }, null, 8, ["modelValue", "label", "placeholder"]),
1043
- f(Wt, {
1044
- modelValue: e(s),
1045
- "onUpdate:modelValue": c[2] || (c[2] = (d) => S(s) ? s.value = d : null),
1046
- label: e(n)("booking.reservation.phone"),
1086
+ h(zt, {
1087
+ modelValue: e(P),
1088
+ "onUpdate:modelValue": d[2] || (d[2] = (c) => A(P) ? P.value = c : null),
1089
+ label: e(a)("booking.reservation.phone"),
1047
1090
  icon: "phone-office",
1048
- placeholder: e(n)("booking.reservation.phonePlaceholder"),
1091
+ placeholder: e(a)("booking.reservation.phonePlaceholder"),
1049
1092
  required: ""
1050
1093
  }, null, 8, ["modelValue", "label", "placeholder"]),
1051
- e(ce) ? (l(), v(Rt, {
1094
+ e(re) ? (l(), m(Bt, {
1052
1095
  key: 0,
1053
- modelValue: e(V),
1054
- "onUpdate:modelValue": c[3] || (c[3] = (d) => S(V) ? V.value = d : null),
1055
- label: e(n)("event.selectArrivalTime"),
1096
+ modelValue: e(w),
1097
+ "onUpdate:modelValue": d[3] || (d[3] = (c) => A(w) ? w.value = c : null),
1098
+ label: e(a)("event.selectArrivalTime"),
1056
1099
  name: "eventTimeTable",
1057
- checkboxes: xe.value,
1100
+ checkboxes: Xe.value,
1058
1101
  required: ""
1059
- }, null, 8, ["modelValue", "label", "checkboxes"])) : u("", !0),
1060
- e(de) === e(Ot).FullDayEvent ? (l(), v(se, {
1102
+ }, null, 8, ["modelValue", "label", "checkboxes"])) : r("", !0),
1103
+ e(ie) === e(Pt).FullDayEvent ? (l(), m(ae, {
1061
1104
  key: 1,
1062
1105
  modelValue: e(k),
1063
- "onUpdate:modelValue": c[4] || (c[4] = (d) => S(k) ? k.value = d : null),
1064
- label: e(n)("event.numberOfDays"),
1106
+ "onUpdate:modelValue": d[4] || (d[4] = (c) => A(k) ? k.value = c : null),
1107
+ label: e(a)("event.numberOfDays"),
1065
1108
  "min-value": 1,
1066
1109
  required: ""
1067
- }, null, 8, ["modelValue", "label"])) : u("", !0),
1068
- g.showHighChairs === "yes" ? (l(), v(se, {
1110
+ }, null, 8, ["modelValue", "label"])) : r("", !0),
1111
+ t.showHighChairs === "yes" ? (l(), m(ae, {
1069
1112
  key: 2,
1070
- modelValue: e(D),
1071
- "onUpdate:modelValue": c[5] || (c[5] = (d) => S(D) ? D.value = d : null),
1072
- label: e(n)("event.numberOfHighChairs"),
1113
+ modelValue: e(y),
1114
+ "onUpdate:modelValue": d[5] || (d[5] = (c) => A(y) ? y.value = c : null),
1115
+ label: e(a)("event.numberOfHighChairs"),
1073
1116
  icon: "baby",
1074
1117
  "no-optional-label": !1
1075
- }, null, 8, ["modelValue", "label"])) : u("", !0),
1076
- g.showFlagOnTable === "yes" ? (l(), v(Be, {
1118
+ }, null, 8, ["modelValue", "label"])) : r("", !0),
1119
+ t.showFlagOnTable === "yes" ? (l(), m(Le, {
1077
1120
  key: 3,
1078
- modelValue: e(i),
1079
- "onUpdate:modelValue": c[6] || (c[6] = (d) => S(i) ? i.value = d : null),
1080
- label: e(n)("event.flagOnTable")
1081
- }, null, 8, ["modelValue", "label"])) : u("", !0),
1082
- g.hideRemarks !== "yes" ? (l(), v(pe, {
1121
+ modelValue: e(g),
1122
+ "onUpdate:modelValue": d[6] || (d[6] = (c) => A(g) ? g.value = c : null),
1123
+ label: e(a)("event.flagOnTable")
1124
+ }, null, 8, ["modelValue", "label"])) : r("", !0),
1125
+ t.hideRemarks !== "yes" ? (l(), m(de, {
1083
1126
  key: 4,
1084
- modelValue: e($),
1085
- "onUpdate:modelValue": c[7] || (c[7] = (d) => S($) ? $.value = d : null),
1127
+ modelValue: e(E),
1128
+ "onUpdate:modelValue": d[7] || (d[7] = (c) => A(E) ? E.value = c : null),
1086
1129
  type: "textarea",
1087
- label: e(n)("booking.reservation.remark"),
1130
+ label: e(a)("booking.reservation.remark"),
1088
1131
  icon: "info-circle",
1089
- placeholder: e(n)("booking.reservation.remarkPlaceholder")
1090
- }, null, 8, ["modelValue", "label", "placeholder"])) : u("", !0),
1091
- g.hideAllergies !== "yes" ? (l(), v(pe, {
1132
+ placeholder: e(a)("booking.reservation.remarkPlaceholder")
1133
+ }, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0),
1134
+ t.hideAllergies !== "yes" ? (l(), m(de, {
1092
1135
  key: 5,
1093
- modelValue: e(C),
1094
- "onUpdate:modelValue": c[8] || (c[8] = (d) => S(C) ? C.value = d : null),
1136
+ modelValue: e(T),
1137
+ "onUpdate:modelValue": d[8] || (d[8] = (c) => A(T) ? T.value = c : null),
1095
1138
  type: "textarea",
1096
- label: e(n)("booking.reservation.allergies"),
1139
+ label: e(a)("booking.reservation.allergies"),
1097
1140
  icon: "allergies",
1098
- placeholder: e(n)("booking.reservation.allergiesPlaceholder")
1099
- }, null, 8, ["modelValue", "label", "placeholder"])) : u("", !0)
1141
+ placeholder: e(a)("booking.reservation.allergiesPlaceholder")
1142
+ }, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0)
1100
1143
  ])
1101
1144
  ]),
1102
- navigation: p(() => [
1103
- f(be, {
1104
- label: e(n)("general.confirmReservation"),
1105
- "is-loading": e(te),
1106
- disabled: !e(H),
1145
+ navigation: v(() => [
1146
+ h(me, {
1147
+ label: e(a)("general.confirmReservation"),
1148
+ "is-loading": e(ee),
1149
+ disabled: !e(te),
1107
1150
  "full-width": "",
1108
- onClickEvent: (d) => tt(F)
1151
+ onClickEvent: (c) => et(V)
1109
1152
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
1110
1153
  ]),
1111
1154
  _: 2
1112
1155
  }, 1032, ["prev-callback"])
1113
1156
  ]),
1114
- payment: p(() => [
1115
- f(jt)
1157
+ payment: v(() => [
1158
+ h(Gt)
1116
1159
  ]),
1117
- confirmation: p(() => [
1118
- f(St, {
1119
- message: e(n)("event.confirmationMessage")
1160
+ confirmation: v(() => [
1161
+ h(Ct, {
1162
+ message: e(a)("event.confirmationMessage")
1120
1163
  }, null, 8, ["message"])
1121
1164
  ]),
1122
1165
  _: 1
@@ -1125,8 +1168,8 @@ const tn = {
1125
1168
  _: 1
1126
1169
  }, 8, ["access-token", "callback"])
1127
1170
  ]),
1128
- fallback: p(() => [
1129
- f(Un)
1171
+ fallback: v(() => [
1172
+ h(Mn)
1130
1173
  ]),
1131
1174
  _: 1
1132
1175
  }))
@@ -1134,8 +1177,8 @@ const tn = {
1134
1177
  _: 1
1135
1178
  }, 8, ["styling"]));
1136
1179
  }
1137
- }), Ae = /* @__PURE__ */ q(oa, [["__scopeId", "data-v-b0302ba5"]]), sa = vt(), ia = bt, ra = ia();
1138
- class da extends HTMLElement {
1180
+ }), Be = /* @__PURE__ */ G(la, [["__scopeId", "data-v-1ad818b0"]]), oa = dt(), ia = ut, sa = ia();
1181
+ class ra extends HTMLElement {
1139
1182
  vueApp;
1140
1183
  constructor() {
1141
1184
  super();
@@ -1144,14 +1187,14 @@ class da extends HTMLElement {
1144
1187
  this.vueApp.unmount();
1145
1188
  }
1146
1189
  connectedCallback() {
1147
- const a = gt(Ae, this.attributes);
1148
- this.vueApp = ft(Ae, a), this.vueApp.provide("emitter", ra), this.vueApp.use(Qt), this.vueApp.use(kt), this.vueApp.use(sa), this.vueApp.use(Mt), this.vueApp.use(yt), this.vueApp.use(Ut);
1149
- const n = document.createElement("div");
1150
- this.vueApp.mount(n), this.appendChild(n.children[0]);
1190
+ const i = mt(Be, this.attributes);
1191
+ this.vueApp = vt(Be, i), this.vueApp.provide("emitter", sa), this.vueApp.use(Yt), this.vueApp.use(bt), this.vueApp.use(oa), this.vueApp.use(It), this.vueApp.use(gt), this.vueApp.use(At);
1192
+ const a = document.createElement("div");
1193
+ this.vueApp.mount(a), this.appendChild(a.children[0]);
1151
1194
  }
1152
1195
  }
1153
- window.customElements.define("konnectio-event", da);
1196
+ window.customElements.define("konnectio-event", ra);
1154
1197
  export {
1155
- da as default
1198
+ ra as default
1156
1199
  };
1157
1200
  //# sourceMappingURL=event.js.map