@konnectio/core 4.0.56-rc35 → 4.0.56-rc37

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 (53) hide show
  1. package/dist/{ActionField-Bruv7ZZW.js → ActionField-BhYhC0aQ.js} +43 -34
  2. package/dist/ActionField-BhYhC0aQ.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-CXRs2yLp.js +286 -0
  4. package/dist/AvailabilitySkeleton-CXRs2yLp.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js} +2687 -2676
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js.br +0 -0
  7. package/dist/{CheckoutWindow-Dn3fiFuv.js → CheckoutWindow-DPJ2GFqg.js} +143 -134
  8. package/dist/CheckoutWindow-DPJ2GFqg.js.br +0 -0
  9. package/dist/{ErrorMessage-VK8egk99.js → ErrorMessage-4DJnsYbI.js} +27 -18
  10. package/dist/ErrorMessage-4DJnsYbI.js.br +0 -0
  11. package/dist/EventAvailabilityForm-rUB2CJ24.js +432 -0
  12. package/dist/EventAvailabilityForm-rUB2CJ24.js.br +0 -0
  13. package/dist/Field-Dr6RF4JV.js +50 -0
  14. package/dist/Field-Dr6RF4JV.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js +21280 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js.br +0 -0
  17. package/dist/TermsOfService-B94i1jM5.js +35 -0
  18. package/dist/TermsOfService-B94i1jM5.js.br +0 -0
  19. package/dist/_commonjsHelpers-UWZO_9XV.js +11796 -0
  20. package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
  21. package/dist/availability.js +60 -50
  22. package/dist/availability.js.br +0 -0
  23. package/dist/event.js +279 -269
  24. package/dist/event.js.br +0 -0
  25. package/dist/gift-card-validation.js +80 -70
  26. package/dist/gift-card-validation.js.br +0 -0
  27. package/dist/gift-card.js +234 -224
  28. package/dist/gift-card.js.br +0 -0
  29. package/dist/hotel.js +696 -692
  30. package/dist/hotel.js.br +0 -0
  31. package/dist/{masonry.plugin-WFnnzw7L.js → masonry.plugin-DPkIO3nk.js} +58 -49
  32. package/dist/masonry.plugin-DPkIO3nk.js.br +0 -0
  33. package/dist/navigation.js +10 -1
  34. package/dist/polyfill.js +14757 -4715
  35. package/dist/polyfill.js.br +0 -0
  36. package/dist/style.css +1 -1
  37. package/dist/style.css.br +0 -0
  38. package/package.json +15 -13
  39. package/dist/ActionField-Bruv7ZZW.js.br +0 -0
  40. package/dist/AvailabilitySkeleton-DxVPZPw3.js +0 -277
  41. package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
  42. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
  43. package/dist/CheckoutWindow-Dn3fiFuv.js.br +0 -0
  44. package/dist/ErrorMessage-VK8egk99.js.br +0 -0
  45. package/dist/EventAvailabilityForm-DbkL5luy.js +0 -422
  46. package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
  47. package/dist/Field-fZ3Q2e9-.js +0 -41
  48. package/dist/Field-fZ3Q2e9-.js.br +0 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js +0 -30755
  50. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
  51. package/dist/TermsOfService-2g29W45E.js +0 -26
  52. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  53. package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,26 +1,35 @@
1
- import { d as W, u as X, K as z, N as ge, a0 as re, m as J, o as p, a as A, w as V, ae as Me, f as i, t as y, g as o, a5 as ne, a9 as Je, aa as xe, e as v, a3 as q, av as Fe, aw as Lt, c as h, ab as O, F as R, b as _, ak as Ne, ax as ue, a4 as ae, a2 as U, a8 as Rt, q as Ve, _ as ie, i as j, j as we, y as lt, z as nt, ay as at, p as Pe, a1 as Te, k as it, C as se, h as st, af as rt, l as ut, n as $e, r as Ye, T as le, I as Ut, az as Ot, x as Ft, S as Nt, al as jt, v as Gt, ar as qt, aA as Wt, A as Kt, B as zt, D as Jt, ad as xt, G as Yt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js";
2
- import { R as Zt, B as He, L as Qt, S as Xt, M as eo, a as Le, C as to, T as oo, V as lo, G as no } from "./masonry.plugin-WFnnzw7L.js";
3
- import { A as ao, H as io } from "./AvailabilitySkeleton-DxVPZPw3.js";
4
- import { S as so } from "./TermsOfService-2g29W45E.js";
5
- import { a as je, B as ro, P as uo, C as co } from "./CheckoutWindow-Dn3fiFuv.js";
6
- import { _ as dt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js";
7
- const po = { class: "konnectio-hotel-reservation-warning" }, fo = { class: "konnectio-hotel-reservation-warning" };
8
- const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-actions" }, go = /* @__PURE__ */ W({
1
+ import { d as W, r as J, o as c, a as A, w as V, z as Me, f as i, t as g, u as l, v as ze, x as Je, e as y, c as h, y as F, F as R, b as _, C as Fe, s as U, i as Ve, g as j, p as lt, j as nt, h as we, q as Te, n as $e, S as Lt, J as Rt, M as Ut, k as Ft } from "./_commonjsHelpers-UWZO_9XV.js";
2
+ import { u as Q, s as z, o as ve, z as re, D as ne, A as q, R as Oe, U as Ot, V as ue, B as ae, H as Nt, _ as ie, a as Pe, W as at, b as it, C as se, c as st, K as rt, d as ut, r as xe, T as le, I as jt, X as Gt, f as qt, P as Wt, e as Kt, g as zt, h as Jt, i as xt, J as Xt, m as Yt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js";
3
+ import { R as Zt, B as De, L as Qt, S as eo, M as to, a as Le, C as oo, T as lo, V as no, G as ao } from "./masonry.plugin-DPkIO3nk.js";
4
+ import { A as io, H as so } from "./AvailabilitySkeleton-CXRs2yLp.js";
5
+ import { S as ro } from "./TermsOfService-B94i1jM5.js";
6
+ import { a as Ne, B as uo, P as co, C as po } from "./CheckoutWindow-DPJ2GFqg.js";
7
+ import { _ as dt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js";
8
+ import "./navigation.js";
9
+ (function() {
10
+ try {
11
+ var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
12
+ e && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[e] = "68912128-5d20-426c-9fec-3c789310ccb1", o._sentryDebugIdIdentifier = "sentry-dbid-68912128-5d20-426c-9fec-3c789310ccb1");
13
+ } catch {
14
+ }
15
+ })();
16
+ const fo = { class: "konnectio-hotel-reservation-warning" }, mo = { class: "konnectio-hotel-reservation-warning" };
17
+ const ho = { key: 0 }, yo = { key: 1 }, vo = { class: "konnectio-reservation-actions" }, go = /* @__PURE__ */ W({
9
18
  __name: "HotelReservationForm",
10
19
  props: {
11
20
  showGiftCard: { type: Boolean, default: !1 },
12
21
  showTermsNotice: { type: Boolean, default: !1 }
13
22
  },
14
- setup(l) {
15
- const { t: e } = X(), {
23
+ setup(o) {
24
+ const { t: e } = Q(), {
16
25
  hideArrivalDepartureInputs: t,
17
26
  disableArrivalUserSelection: n,
18
27
  disableDepartureUserSelection: a,
19
28
  arrivalDefault: s,
20
- departureDefault: c,
29
+ departureDefault: p,
21
30
  disableNewsletterSignup: f,
22
31
  currency: d
23
- } = z(ge()), {
32
+ } = z(ve()), {
24
33
  arrivalTime: r,
25
34
  departureTime: u,
26
35
  roomDisplay: m,
@@ -28,128 +37,128 @@ const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-act
28
37
  totalPrice: P,
29
38
  areListingsLoading: T,
30
39
  getSelectedPackageRoom: I,
31
- selectedPackage: E,
40
+ selectedPackage: B,
32
41
  discountVouchers: b,
33
42
  currentArrivalDate: $,
34
- currentDepartureDate: H,
35
- datesMismatch: F,
36
- newsMails: B,
43
+ currentDepartureDate: D,
44
+ datesMismatch: O,
45
+ newsMails: E,
37
46
  termsOfService: x,
38
47
  discountCode: N,
39
- acceptTerms: D
40
- } = z(re()), { removeRoom: Y, validateDiscountCode: Se } = re(), de = J(!1);
41
- function ce(Z) {
42
- return Z.reduce((M, { totalPrice: pe }) => M + pe, 0);
48
+ acceptTerms: S
49
+ } = z(re()), { removeRoom: X, validateDiscountCode: He } = re(), de = J(!1);
50
+ function ce(Y) {
51
+ return Y.reduce((M, { totalPrice: pe }) => M + pe, 0);
43
52
  }
44
- return (Z, G) => (p(), A(Zt, {
45
- "discount-code": o(N),
53
+ return (Y, G) => (c(), A(Zt, {
54
+ "discount-code": l(N),
46
55
  "onUpdate:discountCode": G[4] || (G[4] = (M) => U(N) ? N.value = M : null),
47
- "validate-discount-code": o(Se),
48
- "total-price": o(P),
49
- "show-gift-card": Z.showGiftCard,
50
- "show-terms-notice": Z.showTermsNotice,
51
- "is-sidebar-loading": o(T),
52
- notice: o(e)("hotel.reservationNotice")
56
+ "validate-discount-code": l(He),
57
+ "total-price": l(P),
58
+ "show-gift-card": Y.showGiftCard,
59
+ "show-terms-notice": Y.showTermsNotice,
60
+ "is-sidebar-loading": l(T),
61
+ notice: l(e)("hotel.reservationNotice")
53
62
  }, {
54
63
  form: V(() => [
55
- Me(Z.$slots, "form", {}, void 0, !0)
64
+ Me(Y.$slots, "form", {}, void 0, !0)
56
65
  ]),
57
66
  "reservation-summary": V(() => [
58
67
  i("li", null, [
59
- i("span", null, y(o(e)("booking.reservation.arrival")), 1),
68
+ i("span", null, g(l(e)("booking.reservation.arrival")), 1),
60
69
  i("b", null, [
61
- i("span", null, y(o(t) ? o(ne)(o($)) : `${o(ne)(o($))}, ${o(n) ? o(s) : o(r)}`), 1),
62
- Je(i("span", po, [
63
- v(q, {
70
+ i("span", null, g(l(t) ? l(ne)(l($)) : `${l(ne)(l($))}, ${l(n) ? l(s) : l(r)}`), 1),
71
+ ze(i("span", fo, [
72
+ y(q, {
64
73
  icon: "exclamation-triangle",
65
74
  type: "fas"
66
75
  })
67
76
  ], 512), [
68
- [xe, o(F)]
77
+ [Je, l(O)]
69
78
  ])
70
79
  ])
71
80
  ]),
72
81
  i("li", null, [
73
- i("span", null, y(o(e)("booking.reservation.departure")), 1),
82
+ i("span", null, g(l(e)("booking.reservation.departure")), 1),
74
83
  i("b", null, [
75
- i("span", null, y(o(t) ? o(ne)(o(H)) : `${o(ne)(o(H))}, ${o(a) ? o(c) : o(u)}`), 1),
76
- Je(i("span", fo, [
77
- v(q, {
84
+ i("span", null, g(l(t) ? l(ne)(l(D)) : `${l(ne)(l(D))}, ${l(a) ? l(p) : l(u)}`), 1),
85
+ ze(i("span", mo, [
86
+ y(q, {
78
87
  icon: "exclamation-triangle",
79
88
  type: "fas"
80
89
  })
81
90
  ], 512), [
82
- [xe, o(F)]
91
+ [Je, l(O)]
83
92
  ])
84
93
  ])
85
94
  ]),
86
95
  i("li", null, [
87
- i("span", null, y(o(e)("booking.reservation.nights")), 1),
88
- i("b", null, y(o(Fe)(o($), o(H))) + " " + y(o(Lt)(o(Fe)(o($), o(H)) === 1 ? o(e)("booking.reservation.night") : o(e)("booking.reservation.nights"))), 1)
96
+ i("span", null, g(l(e)("booking.reservation.nights")), 1),
97
+ i("b", null, g(l(Oe)(l($), l(D))) + " " + g(l(Ot)(l(Oe)(l($), l(D)) === 1 ? l(e)("booking.reservation.night") : l(e)("booking.reservation.nights"))), 1)
89
98
  ]),
90
- o(b) ? (p(!0), h(R, { key: 0 }, O(o(b), (M) => (p(), h("li", {
99
+ l(b) ? (c(!0), h(R, { key: 0 }, F(l(b), (M) => (c(), h("li", {
91
100
  key: M.id
92
101
  }, [
93
- i("span", null, y(`${o(e)("general.discountCode")} (${M.value})`), 1),
94
- i("b", null, y(M.key), 1)
102
+ i("span", null, g(`${l(e)("general.discountCode")} (${M.value})`), 1),
103
+ i("b", null, g(M.key), 1)
95
104
  ]))), 128)) : _("", !0)
96
105
  ]),
97
106
  "price-summary": V(() => [
98
- isNaN(o(k)) && o(m).length > 0 ? (p(!0), h(R, { key: 0 }, O(o(m), ({
107
+ isNaN(l(k)) && l(m).length > 0 ? (c(!0), h(R, { key: 0 }, F(l(m), ({
99
108
  roomGroupID: M,
100
109
  title: pe,
101
- variants: De
102
- }) => (p(), h("div", { key: M }, [
110
+ variants: Se
111
+ }) => (c(), h("div", { key: M }, [
103
112
  i("h6", null, [
104
- i("span", null, y(pe), 1)
113
+ i("span", null, g(pe), 1)
105
114
  ]),
106
- (p(!0), h(R, null, O(De, (ye, Ae) => (p(), h("div", { key: Ae }, [
107
- (p(!0), h(R, null, O(ye.rooms, (ee, fe) => (p(), h("ul", { key: fe }, [
115
+ (c(!0), h(R, null, F(Se, (ge, Ae) => (c(), h("div", { key: Ae }, [
116
+ (c(!0), h(R, null, F(ge.rooms, (ee, fe) => (c(), h("ul", { key: fe }, [
108
117
  i("li", null, [
109
118
  i("span", null, [
110
119
  i("span", null, [
111
- Ne(y(o(ue)(ye.name)) + " ( ", 1),
112
- v(q, {
120
+ Fe(g(l(ue)(ge.name)) + " ( ", 1),
121
+ y(q, {
113
122
  icon: "male",
114
123
  type: "fas",
115
124
  color: "font"
116
125
  }),
117
- i("span", null, y(ee.adultsCount), 1),
118
- ee.childrenCount > 0 ? (p(), h(R, { key: 0 }, [
119
- v(q, {
126
+ i("span", null, g(ee.adultsCount), 1),
127
+ ee.childrenCount > 0 ? (c(), h(R, { key: 0 }, [
128
+ y(q, {
120
129
  icon: "child",
121
130
  type: "fas",
122
131
  color: "font"
123
132
  }),
124
- i("span", null, y(ee.childrenCount), 1)
133
+ i("span", null, g(ee.childrenCount), 1)
125
134
  ], 64)) : _("", !0),
126
- Ne(") ")
135
+ Fe(") ")
127
136
  ])
128
137
  ]),
129
138
  i("b", null, [
130
- i("span", null, y(o(ae)(ee.totalPrice, o(d))), 1),
139
+ i("span", null, g(l(ae)(ee.totalPrice, l(d))), 1),
131
140
  _("", !0)
132
141
  ])
133
142
  ]),
134
- ce(ee.roomAddons) > 0 ? (p(), h("li", mo, [
135
- i("span", null, y(o(e)("general.addons")), 1),
136
- i("b", null, y(o(ae)(ce(ee.roomAddons), o(d))), 1)
143
+ ce(ee.roomAddons) > 0 ? (c(), h("li", ho, [
144
+ i("span", null, g(l(e)("general.addons")), 1),
145
+ i("b", null, g(l(ae)(ce(ee.roomAddons), l(d))), 1)
137
146
  ])) : _("", !0)
138
147
  ]))), 128))
139
148
  ]))), 128))
140
149
  ]))), 128)) : _("", !0),
141
- o(I) && o(E) ? (p(), h("div", ho, [
150
+ l(I) && l(B) ? (c(), h("div", yo, [
142
151
  i("h6", null, [
143
- i("span", null, y(o(ue)(o(E).name)), 1)
152
+ i("span", null, g(l(ue)(l(B).name)), 1)
144
153
  ]),
145
154
  i("div", null, [
146
155
  i("ul", null, [
147
156
  i("li", null, [
148
157
  i("span", null, [
149
- i("span", null, y(o(ue)(o(I).title)), 1)
158
+ i("span", null, g(l(ue)(l(I).title)), 1)
150
159
  ]),
151
160
  i("b", null, [
152
- i("span", null, y(o(ae)(o(I).extraPrice, o(d))), 1)
161
+ i("span", null, g(l(ae)(l(I).extraPrice, l(d))), 1)
153
162
  ])
154
163
  ])
155
164
  ])
@@ -158,22 +167,22 @@ const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-act
158
167
  ]),
159
168
  actions: V(() => [
160
169
  i("ul", vo, [
161
- o(f) ? _("", !0) : (p(), A(je, {
170
+ l(f) ? _("", !0) : (c(), A(Ne, {
162
171
  key: 0,
163
- modelValue: o(B),
164
- "onUpdate:modelValue": G[0] || (G[0] = (M) => U(B) ? B.value = M : null),
172
+ modelValue: l(E),
173
+ "onUpdate:modelValue": G[0] || (G[0] = (M) => U(E) ? E.value = M : null),
165
174
  type: "checkbox",
166
175
  name: "newsletter",
167
- label: o(e)("booking.reservation.newsletterSignUp")
176
+ label: l(e)("booking.reservation.newsletterSignUp")
168
177
  }, null, 8, ["modelValue", "label"])),
169
- v(je, {
170
- modelValue: o(D),
171
- "onUpdate:modelValue": G[2] || (G[2] = (M) => U(D) ? D.value = M : null),
178
+ y(Ne, {
179
+ modelValue: l(S),
180
+ "onUpdate:modelValue": G[2] || (G[2] = (M) => U(S) ? S.value = M : null),
172
181
  type: "checkbox",
173
182
  name: "terms"
174
183
  }, {
175
184
  default: V(() => [
176
- v(o(Rt), {
185
+ y(l(Nt), {
177
186
  keypath: "general.termsAndConditionsCheckbox",
178
187
  tag: "span",
179
188
  scope: "global"
@@ -183,7 +192,7 @@ const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-act
183
192
  class: "konnectio-accept-terms-link",
184
193
  onClick: G[1] || (G[1] = Ve((M) => de.value = !0, ["prevent"]))
185
194
  }, [
186
- i("span", null, y(o(e)("general.termsAndConditions")), 1)
195
+ i("span", null, g(l(e)("general.termsAndConditions")), 1)
187
196
  ])
188
197
  ]),
189
198
  _: 1
@@ -191,21 +200,21 @@ const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-act
191
200
  ]),
192
201
  _: 1
193
202
  }, 8, ["modelValue"]),
194
- Me(Z.$slots, "actions", {}, void 0, !0),
195
- v(so, {
203
+ Me(Y.$slots, "actions", {}, void 0, !0),
204
+ y(ro, {
196
205
  modelValue: de.value,
197
206
  "onUpdate:modelValue": G[3] || (G[3] = (M) => de.value = M),
198
- description: o(x)
207
+ description: l(x)
199
208
  }, null, 8, ["modelValue", "description"])
200
209
  ])
201
210
  ]),
202
211
  navigation: V(() => [
203
- Me(Z.$slots, "navigation", {}, void 0, !0)
212
+ Me(Y.$slots, "navigation", {}, void 0, !0)
204
213
  ]),
205
214
  _: 3
206
215
  }, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
207
216
  }
208
- }), Re = /* @__PURE__ */ ie(go, [["__scopeId", "data-v-db2668d8"]]), yo = (l) => (lt("data-v-69fe83d8"), l = l(), nt(), l), bo = { class: "konnectio-room-config-option" }, ko = { key: 0 }, _o = { class: "konnectio-selected-room-config" }, Vo = { class: "konnectio-selected-room-config-people" }, To = { key: 0 }, $o = { class: "konnectio-selected-room-config-price" }, Co = /* @__PURE__ */ yo(() => /* @__PURE__ */ i("span", null, null, -1)), wo = /* @__PURE__ */ W({
217
+ }), Re = /* @__PURE__ */ ie(go, [["__scopeId", "data-v-13d34ae8"]]), bo = (o) => (lt("data-v-69fe83d8"), o = o(), nt(), o), ko = { class: "konnectio-room-config-option" }, _o = { key: 0 }, Vo = { class: "konnectio-selected-room-config" }, To = { class: "konnectio-selected-room-config-people" }, $o = { key: 0 }, Co = { class: "konnectio-selected-room-config-price" }, wo = /* @__PURE__ */ bo(() => /* @__PURE__ */ i("span", null, null, -1)), Po = /* @__PURE__ */ W({
209
218
  __name: "RoomConfigField",
210
219
  props: {
211
220
  modelValue: {},
@@ -215,16 +224,16 @@ const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-act
215
224
  label: {}
216
225
  },
217
226
  emits: ["update:modelValue"],
218
- setup(l, { emit: e }) {
219
- const { t } = X(), { currency: n } = z(ge()), a = e, s = l;
220
- function c(d) {
227
+ setup(o, { emit: e }) {
228
+ const { t } = Q(), { currency: n } = z(ve()), a = e, s = o;
229
+ function p(d) {
221
230
  a("update:modelValue", d);
222
231
  }
223
232
  const f = j({
224
233
  get: () => s.modelValue,
225
- set: (d) => c(d)
234
+ set: (d) => p(d)
226
235
  });
227
- return (d, r) => (p(), A(we, {
236
+ return (d, r) => (c(), A(Pe, {
228
237
  modelValue: f.value,
229
238
  "onUpdate:modelValue": r[0] || (r[0] = (u) => f.value = u),
230
239
  label: d.label,
@@ -238,56 +247,56 @@ const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-act
238
247
  searchable: !1
239
248
  }, {
240
249
  option: V(({ data: u }) => [
241
- i("span", bo, [
250
+ i("span", ko, [
242
251
  i("div", null, [
243
- v(q, {
252
+ y(q, {
244
253
  icon: "male",
245
254
  type: "fas",
246
255
  color: "font"
247
256
  }),
248
- i("span", null, y(`${u.adults}`), 1),
249
- u.children > 0 ? (p(), h("span", ko, [
250
- v(q, {
257
+ i("span", null, g(`${u.adults}`), 1),
258
+ u.children > 0 ? (c(), h("span", _o, [
259
+ y(q, {
251
260
  icon: "child",
252
261
  type: "fas",
253
262
  color: "font"
254
263
  }),
255
- i("span", null, y(`${u.children}`), 1)
264
+ i("span", null, g(`${u.children}`), 1)
256
265
  ])) : _("", !0)
257
266
  ]),
258
- i("span", null, y(`(${o(ae)(u.price, o(n))})`), 1)
267
+ i("span", null, g(`(${l(ae)(u.price, l(n))})`), 1)
259
268
  ])
260
269
  ]),
261
270
  "selected-option": V(({ data: u }) => [
262
- i("div", _o, [
263
- i("div", Vo, [
271
+ i("div", Vo, [
272
+ i("div", To, [
264
273
  i("div", null, [
265
274
  _("", !0),
266
- i("span", null, y(`${u.adults} ${u.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
275
+ i("span", null, g(`${u.adults} ${u.adults === 1 ? l(t)("general.adult") : l(t)("general.adults")}`), 1)
267
276
  ]),
268
- u.children > 0 ? (p(), h("div", To, [
277
+ u.children > 0 ? (c(), h("div", $o, [
269
278
  _("", !0),
270
- i("span", null, y(`& ${u.children} ${u.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
279
+ i("span", null, g(`& ${u.children} ${u.children === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1)
271
280
  ])) : _("", !0)
272
281
  ]),
273
- i("div", $o, [
274
- Co,
275
- Ne(" " + y(`(${o(ae)(u.price, o(n))})`), 1)
282
+ i("div", Co, [
283
+ wo,
284
+ Fe(" " + g(`(${l(ae)(u.price, l(n))})`), 1)
276
285
  ])
277
286
  ])
278
287
  ]),
279
288
  _: 1
280
289
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
281
290
  }
282
- }), Po = /* @__PURE__ */ ie(wo, [["__scopeId", "data-v-69fe83d8"]]), Ho = { class: "konnectio-availability-listing-selection" }, So = { key: 1 }, Do = { class: "fresh-booking-listing-config-body" }, Ao = { class: "fresh-booking-listing-units-body" };
283
- const Io = /* @__PURE__ */ W({
291
+ }), Do = /* @__PURE__ */ ie(Po, [["__scopeId", "data-v-69fe83d8"]]), Ho = { class: "konnectio-availability-listing-selection" }, So = { key: 1 }, Ao = { class: "fresh-booking-listing-config-body" }, Io = { class: "fresh-booking-listing-units-body" };
292
+ const Bo = /* @__PURE__ */ W({
284
293
  __name: "Hotel",
285
294
  props: {
286
295
  room: {},
287
296
  layout: {}
288
297
  },
289
- setup(l) {
290
- const { t: e } = X(), t = l, n = J([]);
298
+ setup(o) {
299
+ const { t: e } = Q(), t = o, n = J([]);
291
300
  function a(b) {
292
301
  n.value[b].config.push({
293
302
  id: NaN,
@@ -298,7 +307,7 @@ const Io = /* @__PURE__ */ W({
298
307
  const s = j(() => t.room.rates.map((b) => ({
299
308
  label: b.name,
300
309
  value: b.id
301
- }))), { hideAvailableRoomAmount: c } = z(ge()), { roomSelect: f } = z(re()), { addToCart: d, removeFromCart: r } = at(), u = (b, $) => t.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === $), m = j(() => t.room.rates.every((b) => b.isBreakfastIncluded === !0)), k = (b, $) => u(b, $) ? u(b, $)?.rooms : null, P = (b) => t.room.rates.length > 0 ? t.room.rates.find(($) => $.id === b)?.occupantRates.map(($) => ({
310
+ }))), { hideAvailableRoomAmount: p } = z(ve()), { roomSelect: f } = z(re()), { addToCart: d, removeFromCart: r } = at(), u = (b, $) => t.room.rates.find((D) => D.id === b)?.occupantRates.find((D) => D.index === $), m = j(() => t.room.rates.every((b) => b.isBreakfastIncluded === !0)), k = (b, $) => u(b, $) ? u(b, $)?.rooms : null, P = (b) => t.room.rates.length > 0 ? t.room.rates.find(($) => $.id === b)?.occupantRates.map(($) => ({
302
311
  value: $.index,
303
312
  price: $.totalPrice,
304
313
  adults: $.adultsCount,
@@ -322,28 +331,28 @@ const Io = /* @__PURE__ */ W({
322
331
  }]
323
332
  });
324
333
  }
325
- Pe(() => {
334
+ we(() => {
326
335
  I();
327
336
  });
328
- const E = j(() => JSON.parse(JSON.stringify(n.value)));
329
- return Te(E, (b, $) => {
330
- $.length > 0 && b.forEach((H, F) => {
331
- H.config.forEach((B, x) => {
332
- const N = B.units, D = $[F].config[x].units;
333
- N !== D && (N > D ? (n.value[F].config[x].addons.push({}), d({
337
+ const B = j(() => JSON.parse(JSON.stringify(n.value)));
338
+ return Te(B, (b, $) => {
339
+ $.length > 0 && b.forEach((D, O) => {
340
+ D.config.forEach((E, x) => {
341
+ const N = E.units, S = $[O].config[x].units;
342
+ N !== S && (N > S ? (n.value[O].config[x].addons.push({}), d({
334
343
  id: t.room.id,
335
344
  name: t.room.title,
336
- value: t.room.rates[F].rackRate
337
- })) : (n.value[F].config[x].addons.pop(), r({
345
+ value: t.room.rates[O].rackRate
346
+ })) : (n.value[O].config[x].addons.pop(), r({
338
347
  id: t.room.id,
339
348
  name: t.room.title,
340
- value: t.room.rates[F].rackRate
349
+ value: t.room.rates[O].rackRate
341
350
  })));
342
351
  });
343
352
  });
344
353
  }, { deep: !0 }), Te(n, () => {
345
354
  f.value[t.room.id] = n.value;
346
- }, { deep: !0 }), (b, $) => (p(), A(He, {
355
+ }, { deep: !0 }), (b, $) => (c(), A(De, {
347
356
  "listing-id": b.room.id,
348
357
  gallery: b.room.images,
349
358
  name: b.room.title,
@@ -355,54 +364,54 @@ const Io = /* @__PURE__ */ W({
355
364
  }, {
356
365
  action: V(() => [
357
366
  i("div", Ho, [
358
- (p(!0), h(R, null, O(n.value, (H, F) => (p(), h("div", {
359
- key: H.id,
367
+ (c(!0), h(R, null, F(n.value, (D, O) => (c(), h("div", {
368
+ key: D.id,
360
369
  class: "freshbooking-hotel-room"
361
370
  }, [
362
- T.value ? (p(), A(we, {
371
+ T.value ? (c(), A(Pe, {
363
372
  key: 0,
364
- modelValue: H.id,
365
- "onUpdate:modelValue": (B) => H.id = B,
366
- label: o(e)("hotel.roomVariant"),
367
- placeholder: o(e)("hotel.chooseARoomVariant"),
373
+ modelValue: D.id,
374
+ "onUpdate:modelValue": (E) => D.id = E,
375
+ label: l(e)("hotel.roomVariant"),
376
+ placeholder: l(e)("hotel.chooseARoomVariant"),
368
377
  options: s.value,
369
378
  searchable: !1
370
379
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
371
- H.id ? (p(), h("div", So, [
372
- (p(!0), h(R, null, O(b.room.rates, ({
373
- id: B,
380
+ D.id ? (c(), h("div", So, [
381
+ (c(!0), h(R, null, F(b.room.rates, ({
382
+ id: E,
374
383
  maximumOccupants: x
375
- }) => (p(), h("div", {
376
- key: B,
384
+ }) => (c(), h("div", {
385
+ key: E,
377
386
  class: "booking-availability-listing-action-selective-i"
378
387
  }, [
379
- H.id === B ? (p(!0), h(R, { key: 0 }, O(H.config, (N, D) => (p(), h("div", {
380
- key: D,
388
+ D.id === E ? (c(!0), h(R, { key: 0 }, F(D.config, (N, S) => (c(), h("div", {
389
+ key: S,
381
390
  class: "booking-availability-listing-action-selective"
382
391
  }, [
383
- i("ul", Do, [
384
- v(Po, {
392
+ i("ul", Ao, [
393
+ y(Do, {
385
394
  modelValue: N.id,
386
- "onUpdate:modelValue": (Y) => N.id = Y,
395
+ "onUpdate:modelValue": (X) => N.id = X,
387
396
  icon: "male",
388
397
  "icon-type": "fas",
389
- label: o(e)("general.guests"),
390
- description: `${o(e)("general.maximumGuests")}: ${x}`,
391
- options: P(B),
392
- readonly: !(P(B).length > 1)
398
+ label: l(e)("general.guests"),
399
+ description: `${l(e)("general.maximumGuests")}: ${x}`,
400
+ options: P(E),
401
+ readonly: !(P(E).length > 1)
393
402
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
394
403
  ]),
395
- i("ul", Ao, [
396
- v(it, {
404
+ i("ul", Io, [
405
+ y(it, {
397
406
  modelValue: N.units,
398
- "onUpdate:modelValue": (Y) => N.units = Y,
399
- description: o(c) ? void 0 : `${o(e)("booking.availability.availableUnits")}: ${k(H.id, N.id)}`,
407
+ "onUpdate:modelValue": (X) => N.units = X,
408
+ description: l(p) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${k(D.id, N.id)}`,
400
409
  icon: "house",
401
410
  "icon-type": "fas",
402
411
  "icon-placement": "label",
403
- label: o(e)("booking.availability.units"),
412
+ label: l(e)("booking.availability.units"),
404
413
  minValue: 0,
405
- "max-value": k(B, N.id) || 1 / 0
414
+ "max-value": k(E, N.id) || 1 / 0
406
415
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
407
416
  ]),
408
417
  _("", !0)
@@ -415,7 +424,7 @@ const Io = /* @__PURE__ */ W({
415
424
  _: 1
416
425
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
417
426
  }
418
- }), Eo = /* @__PURE__ */ ie(Io, [["__scopeId", "data-v-2121431c"]]), Bo = { class: "konnectio-template-side-panel" }, Mo = { class: "konnectio-template-side-panel-listings" }, Lo = /* @__PURE__ */ W({
427
+ }), Eo = /* @__PURE__ */ ie(Bo, [["__scopeId", "data-v-2121431c"]]), Mo = { class: "konnectio-template-side-panel" }, Lo = { class: "konnectio-template-side-panel-listings" }, Ro = /* @__PURE__ */ W({
419
428
  __name: "Template",
420
429
  props: {
421
430
  title: {},
@@ -423,45 +432,45 @@ const Io = /* @__PURE__ */ W({
423
432
  roomGroups: {},
424
433
  callback: { type: Function }
425
434
  },
426
- setup(l) {
427
- const { t: e } = X(), { templateID: t, roomGroupID: n } = z(re()), { currency: a } = z(ge()), { clearRoomSelection: s } = re(), c = l, f = J(!0), d = j(() => {
435
+ setup(o) {
436
+ const { t: e } = Q(), { templateID: t, roomGroupID: n } = z(re()), { currency: a } = z(ve()), { clearRoomSelection: s } = re(), p = o, f = J(!0), d = j(() => {
428
437
  function u(m, k) {
429
438
  return f.value === !0 ? m.extraPrice > k.extraPrice ? -1 : 1 : m.extraPrice > k.extraPrice ? 1 : -1;
430
439
  }
431
- return c.roomGroups?.slice().sort(u);
440
+ return p.roomGroups?.slice().sort(u);
432
441
  });
433
442
  function r(u) {
434
- t.value = c.templateId, n.value = u, s(), c.callback(2);
443
+ t.value = p.templateId, n.value = u, s(), p.callback(2);
435
444
  }
436
- return (u, m) => (p(), A(ro, {
445
+ return (u, m) => (c(), A(uo, {
437
446
  title: u.title,
438
- subtitle: o(e)("booking.availability.selectATemplateRoom")
447
+ subtitle: l(e)("booking.availability.selectATemplateRoom")
439
448
  }, {
440
449
  default: V(() => [
441
- i("div", Bo, [
442
- i("div", Mo, [
443
- (p(!0), h(R, null, O(d.value, ({
450
+ i("div", Mo, [
451
+ i("div", Lo, [
452
+ (c(!0), h(R, null, F(d.value, ({
444
453
  id: k,
445
454
  title: P,
446
455
  description: T,
447
456
  images: I,
448
- facilities: E,
457
+ facilities: B,
449
458
  extraPrice: b
450
- }) => (p(), A(He, {
459
+ }) => (c(), A(De, {
451
460
  key: k,
452
461
  "listing-id": k,
453
462
  name: P,
454
463
  description: T,
455
- facilities: E,
464
+ facilities: B,
456
465
  gallery: I,
457
466
  "includes-breakfast": !1,
458
467
  "hide-info-button": !0
459
468
  }, {
460
469
  action: V(() => [
461
470
  i("div", null, [
462
- v(se, {
471
+ y(se, {
463
472
  onClickEvent: ($) => r(k),
464
- label: `${o(e)("booking.availability.selectThisRoom")} (${o(ae)(b, o(a))})`,
473
+ label: `${l(e)("booking.availability.selectThisRoom")} (${l(ae)(b, l(a))})`,
465
474
  "full-width": ""
466
475
  }, null, 8, ["onClickEvent", "label"])
467
476
  ])
@@ -474,7 +483,7 @@ const Io = /* @__PURE__ */ W({
474
483
  _: 1
475
484
  }, 8, ["title", "subtitle"]));
476
485
  }
477
- }), ct = /* @__PURE__ */ ie(Lo, [["__scopeId", "data-v-f7af0f66"]]), Ro = ["innerHTML"], Uo = { class: "konnectio-template-select-package" }, Oo = /* @__PURE__ */ W({
486
+ }), ct = /* @__PURE__ */ ie(Ro, [["__scopeId", "data-v-f7af0f66"]]), Uo = ["innerHTML"], Fo = { class: "konnectio-template-select-package" }, Oo = /* @__PURE__ */ W({
478
487
  __name: "Template",
479
488
  props: {
480
489
  id: {},
@@ -485,8 +494,8 @@ const Io = /* @__PURE__ */ W({
485
494
  roomGroups: {},
486
495
  callback: { type: Function }
487
496
  },
488
- setup(l) {
489
- const { t: e } = X(), t = l, n = j(() => t.roomGroups.reduce(
497
+ setup(o) {
498
+ const { t: e } = Q(), t = o, n = j(() => t.roomGroups.reduce(
490
499
  (d, r) => d < r.extraPrice ? d : r.extraPrice,
491
500
  1 / 0
492
501
  )), a = j(() => {
@@ -498,39 +507,39 @@ const Io = /* @__PURE__ */ W({
498
507
  url: t.image.url
499
508
  }];
500
509
  }), s = J(!1);
501
- function c() {
510
+ function p() {
502
511
  s.value = !0;
503
512
  }
504
513
  function f(d) {
505
514
  t.callback(d), s.value = !1;
506
515
  }
507
- return (d, r) => (p(), A(He, {
516
+ return (d, r) => (c(), A(De, {
508
517
  "listing-id": d.id,
509
518
  name: d.name,
510
519
  description: d.description,
511
520
  gallery: a.value,
512
- layout: o(rt).Template,
521
+ layout: l(rt).Template,
513
522
  "includes-breakfast": !1,
514
523
  "hide-info-button": !1,
515
524
  "prices-from": n.value
516
525
  }, {
517
526
  description: V(() => [
518
- d.description ? (p(), h("p", {
527
+ d.description ? (c(), h("p", {
519
528
  key: 0,
520
- innerHTML: o(st)(d.description)
521
- }, null, 8, Ro)) : _("", !0)
529
+ innerHTML: l(st)(d.description)
530
+ }, null, 8, Uo)) : _("", !0)
522
531
  ]),
523
532
  action: V(() => [
524
- i("div", Uo, [
525
- v(se, {
526
- onClickEvent: c,
527
- label: o(e)("booking.availability.selectPackage"),
533
+ i("div", Fo, [
534
+ y(se, {
535
+ onClickEvent: p,
536
+ label: l(e)("booking.availability.selectPackage"),
528
537
  "full-width": ""
529
538
  }, null, 8, ["label"])
530
539
  ])
531
540
  ]),
532
541
  default: V(() => [
533
- v(ct, {
542
+ y(ct, {
534
543
  modelValue: s.value,
535
544
  "onUpdate:modelValue": r[0] || (r[0] = (u) => s.value = u),
536
545
  title: d.name,
@@ -542,7 +551,7 @@ const Io = /* @__PURE__ */ W({
542
551
  _: 1
543
552
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
544
553
  }
545
- }), Fo = ["innerHTML"], No = { class: "konnectio-special-offer-availability" }, jo = { class: "konnectio-special-offer-availability-button" }, Go = /* @__PURE__ */ W({
554
+ }), No = ["innerHTML"], jo = { class: "konnectio-special-offer-availability" }, Go = { class: "konnectio-special-offer-availability-button" }, qo = /* @__PURE__ */ W({
546
555
  __name: "SpecialOffer",
547
556
  props: {
548
557
  id: {},
@@ -555,8 +564,8 @@ const Io = /* @__PURE__ */ W({
555
564
  roomGroups: {},
556
565
  callback: { type: Function }
557
566
  },
558
- setup(l) {
559
- const { t: e } = X(), { updateDates: t } = ut(), n = l, a = J([]), s = j(() => Fe(n.fromDate, n.toDate) === 1), c = j(() => [{
567
+ setup(o) {
568
+ const { t: e } = Q(), { updateDates: t } = ut(), n = o, a = J([]), s = j(() => Oe(n.fromDate, n.toDate) === 1), p = j(() => [{
560
569
  large: n.image.url,
561
570
  medium: n.image.url,
562
571
  thumb: n.image.url,
@@ -568,32 +577,32 @@ const Io = /* @__PURE__ */ W({
568
577
  function r() {
569
578
  t(a.value[0], a.value[1]);
570
579
  }
571
- return Pe(() => {
580
+ return we(() => {
572
581
  s.value && (a.value = [new Date(n.fromDate), new Date(n.toDate)]);
573
- }), (u, m) => (p(), A(He, {
582
+ }), (u, m) => (c(), A(De, {
574
583
  "listing-id": u.id,
575
584
  name: u.name,
576
585
  description: u.description,
577
- gallery: c.value,
578
- layout: o(rt).Template,
586
+ gallery: p.value,
587
+ layout: l(rt).Template,
579
588
  "includes-breakfast": !1,
580
589
  "hide-info-button": !1,
581
590
  "to-date": u.toDate,
582
591
  "from-date": u.fromDate
583
592
  }, {
584
593
  description: V(() => [
585
- u.description ? (p(), h("p", {
594
+ u.description ? (c(), h("p", {
586
595
  key: 0,
587
- innerHTML: o(st)(u.description)
588
- }, null, 8, Fo)) : _("", !0)
596
+ innerHTML: l(st)(u.description)
597
+ }, null, 8, No)) : _("", !0)
589
598
  ]),
590
599
  action: V(() => [
591
- i("div", No, [
592
- v(dt, {
600
+ i("div", jo, [
601
+ y(dt, {
593
602
  modelValue: a.value,
594
603
  "onUpdate:modelValue": m[0] || (m[0] = (k) => a.value = k),
595
- label: o(e)("availability.checkInOut"),
596
- placeholder: o(e)("booking.availability.selectDates"),
604
+ label: l(e)("availability.checkInOut"),
605
+ placeholder: l(e)("booking.availability.selectDates"),
597
606
  "icon-type": "fas",
598
607
  "icon-placement": "label",
599
608
  "min-range": 1,
@@ -603,16 +612,16 @@ const Io = /* @__PURE__ */ W({
603
612
  readonly: s.value,
604
613
  range: ""
605
614
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
606
- i("div", jo, [
607
- v(se, {
608
- label: o(e)("availability.buttonLabel"),
615
+ i("div", Go, [
616
+ y(se, {
617
+ label: l(e)("availability.buttonLabel"),
609
618
  onClick: Ve(r, ["prevent"])
610
619
  }, null, 8, ["label"])
611
620
  ])
612
621
  ])
613
622
  ]),
614
623
  default: V(() => [
615
- v(ct, {
624
+ y(ct, {
616
625
  modelValue: f.value,
617
626
  "onUpdate:modelValue": m[1] || (m[1] = (k) => f.value = k),
618
627
  title: u.name,
@@ -624,7 +633,7 @@ const Io = /* @__PURE__ */ W({
624
633
  _: 1
625
634
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
626
635
  }
627
- }), Ze = /* @__PURE__ */ W({
636
+ }), Xe = /* @__PURE__ */ W({
628
637
  __name: "TimeField",
629
638
  props: {
630
639
  modelValue: {},
@@ -648,30 +657,30 @@ const Io = /* @__PURE__ */ W({
648
657
  inputStyle: {}
649
658
  },
650
659
  emits: ["update:modelValue"],
651
- setup(l, { emit: e }) {
652
- const t = e, n = l;
653
- function a(c) {
654
- t("update:modelValue", c);
660
+ setup(o, { emit: e }) {
661
+ const t = e, n = o;
662
+ function a(p) {
663
+ t("update:modelValue", p);
655
664
  }
656
665
  const s = J(n.modelValue);
657
- return Te(s, (c) => {
658
- a(c);
659
- }), (c, f) => (p(), A(dt, {
666
+ return Te(s, (p) => {
667
+ a(p);
668
+ }), (p, f) => (c(), A(dt, {
660
669
  modelValue: s.value,
661
670
  "onUpdate:modelValue": f[0] || (f[0] = (d) => s.value = d),
662
671
  type: "time",
663
- label: c.label,
664
- id: c.id,
665
- name: c.name,
666
- icon: c.icon,
667
- "icon-type": c.iconType,
668
- "icon-color": c.iconColor,
672
+ label: p.label,
673
+ id: p.id,
674
+ name: p.name,
675
+ icon: p.icon,
676
+ "icon-type": p.iconType,
677
+ "icon-color": p.iconColor,
669
678
  "auto-apply": !0,
670
- required: c.required,
671
- readonly: c.readonly
679
+ required: p.required,
680
+ readonly: p.readonly
672
681
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
673
682
  }
674
- }), qo = { style: { display: "flex", "align-items": "baseline" } }, Wo = /* @__PURE__ */ W({
683
+ }), Wo = { style: { display: "flex", "align-items": "baseline" } }, Ko = /* @__PURE__ */ W({
675
684
  __name: "CountryField",
676
685
  props: {
677
686
  modelValue: {},
@@ -682,20 +691,20 @@ const Io = /* @__PURE__ */ W({
682
691
  placeholder: {}
683
692
  },
684
693
  emits: ["update:modelValue"],
685
- setup(l, { emit: e }) {
686
- const { t } = X(), n = e, a = l;
694
+ setup(o, { emit: e }) {
695
+ const { t } = Q(), n = e, a = o;
687
696
  function s(f) {
688
697
  n("update:modelValue", f);
689
698
  }
690
- const c = j({
699
+ const p = j({
691
700
  get: () => a.modelValue,
692
701
  set: (f) => s(f)
693
702
  });
694
- return (f, d) => (p(), A(we, {
695
- modelValue: c.value,
696
- "onUpdate:modelValue": d[0] || (d[0] = (r) => c.value = r),
703
+ return (f, d) => (c(), A(Pe, {
704
+ modelValue: p.value,
705
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => p.value = r),
697
706
  label: f.label,
698
- placeholder: o(t)("booking.reservation.countryPlaceholder"),
707
+ placeholder: l(t)("booking.reservation.countryPlaceholder"),
699
708
  labelKey: "name",
700
709
  valueKey: "id",
701
710
  options: f.options,
@@ -705,20 +714,20 @@ const Io = /* @__PURE__ */ W({
705
714
  i("i", {
706
715
  class: $e(["konnectio-flag-icon", r.iso])
707
716
  }, null, 2),
708
- i("span", null, y(r.name), 1)
717
+ i("span", null, g(r.name), 1)
709
718
  ]),
710
719
  "selected-option": V(({ data: r }) => [
711
- i("div", qo, [
720
+ i("div", Wo, [
712
721
  i("i", {
713
722
  class: $e(["konnectio-flag-icon", r.iso])
714
723
  }, null, 2),
715
- i("span", null, y(r.name), 1)
724
+ i("span", null, g(r.name), 1)
716
725
  ])
717
726
  ]),
718
727
  _: 1
719
728
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
720
729
  }
721
- }), Ko = /* @__PURE__ */ ie(Wo, [["__scopeId", "data-v-1462612d"]]), zo = /* @__PURE__ */ W({
730
+ }), zo = /* @__PURE__ */ ie(Ko, [["__scopeId", "data-v-1462612d"]]), Jo = /* @__PURE__ */ W({
722
731
  __name: "NameField",
723
732
  props: {
724
733
  modelValue: {},
@@ -739,20 +748,20 @@ const Io = /* @__PURE__ */ W({
739
748
  excludeTitle: { type: Boolean, default: !1 }
740
749
  },
741
750
  emits: ["update:modelValue", "update:title"],
742
- setup(l, { emit: e }) {
743
- const t = l, n = e, a = t.id || Ye(), s = J(""), c = J(2);
751
+ setup(o, { emit: e }) {
752
+ const t = o, n = e, a = t.id || xe(), s = J(""), p = J(2);
744
753
  function f() {
745
754
  n("update:modelValue", s.value);
746
755
  }
747
- Te(c, (r) => {
756
+ Te(p, (r) => {
748
757
  n("update:title", r);
749
758
  });
750
- const { t: d } = X();
751
- return Pe(() => {
752
- t.modelValue && (s.value = t.modelValue), t.title && (c.value = t.title);
753
- }), (r, u) => (p(), A(Ut, {
759
+ const { t: d } = Q();
760
+ return we(() => {
761
+ t.modelValue && (s.value = t.modelValue), t.title && (p.value = t.title);
762
+ }), (r, u) => (c(), A(jt, {
754
763
  label: r.label,
755
- id: o(a),
764
+ id: l(a),
756
765
  required: r.required,
757
766
  type: "fresh-booking-name-field",
758
767
  readonly: r.readonly,
@@ -765,33 +774,33 @@ const Io = /* @__PURE__ */ W({
765
774
  { "no-title": r.excludeTitle }
766
775
  ])
767
776
  }, [
768
- r.excludeTitle ? _("", !0) : (p(), A(we, {
777
+ r.excludeTitle ? _("", !0) : (c(), A(Pe, {
769
778
  key: 0,
770
- modelValue: c.value,
771
- "onUpdate:modelValue": u[0] || (u[0] = (m) => c.value = m),
772
- id: o(Ye)(),
779
+ modelValue: p.value,
780
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => p.value = m),
781
+ id: l(xe)(),
773
782
  icon: r.icon,
774
783
  "icon-color": r.iconColor,
775
784
  "icon-type": r.iconType,
776
785
  options: [
777
786
  {
778
- label: o(d)("booking.reservation.noNameTitle"),
787
+ label: l(d)("booking.reservation.noNameTitle"),
779
788
  value: 1
780
789
  },
781
790
  {
782
- label: o(d)("booking.reservation.nameTitleMr"),
791
+ label: l(d)("booking.reservation.nameTitleMr"),
783
792
  value: 2
784
793
  },
785
794
  {
786
- label: o(d)("booking.reservation.nameTitleMs"),
795
+ label: l(d)("booking.reservation.nameTitleMs"),
787
796
  value: 3
788
797
  },
789
798
  {
790
- label: o(d)("booking.reservation.nameTitleMrs"),
799
+ label: l(d)("booking.reservation.nameTitleMrs"),
791
800
  value: 4
792
801
  },
793
802
  {
794
- label: o(d)("booking.reservation.nameTitleDr"),
803
+ label: l(d)("booking.reservation.nameTitleDr"),
795
804
  value: 5
796
805
  }
797
806
  ],
@@ -800,13 +809,13 @@ const Io = /* @__PURE__ */ W({
800
809
  "input-style": r.inputStyle,
801
810
  searchable: !1
802
811
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
803
- v(le, {
812
+ y(le, {
804
813
  modelValue: s.value,
805
814
  "onUpdate:modelValue": u[1] || (u[1] = (m) => s.value = m),
806
815
  type: "text",
807
816
  name: "name",
808
817
  autocomplete: "name",
809
- id: o(a),
818
+ id: l(a),
810
819
  icon: r.excludeTitle ? r.icon : void 0,
811
820
  "icon-color": r.iconColor,
812
821
  "icon-type": r.iconType,
@@ -822,69 +831,69 @@ const Io = /* @__PURE__ */ W({
822
831
  _: 1
823
832
  }, 8, ["label", "id", "required", "readonly", "limit"]));
824
833
  }
825
- }), Jo = /* @__PURE__ */ ie(zo, [["__scopeId", "data-v-78b0b319"]]), xo = { class: "hotel-skeleton" }, Yo = { class: "hotel-skeleton-content" }, Zo = { class: "hotel-skeleton-sidebar" }, Qo = /* @__PURE__ */ W({
834
+ }), xo = /* @__PURE__ */ ie(Jo, [["__scopeId", "data-v-78b0b319"]]), Xo = { class: "hotel-skeleton" }, Yo = { class: "hotel-skeleton-content" }, Zo = { class: "hotel-skeleton-sidebar" }, Qo = /* @__PURE__ */ W({
826
835
  __name: "HotelSkeleton",
827
- setup(l) {
828
- return (e, t) => (p(), h("div", xo, [
836
+ setup(o) {
837
+ return (e, t) => (c(), h("div", Xo, [
829
838
  i("div", Yo, [
830
- v(ao, { hotel: "" }),
831
- v(Qt)
839
+ y(io, { hotel: "" }),
840
+ y(Qt)
832
841
  ]),
833
842
  i("div", Zo, [
834
- v(Xt)
843
+ y(eo)
835
844
  ])
836
845
  ]));
837
846
  }
838
- }), Xo = /* @__PURE__ */ ie(Qo, [["__scopeId", "data-v-1bb21da4"]]), el = (l) => (lt("data-v-5d57983d"), l = l(), nt(), l), tl = { id: "booking-availability-container" }, ol = { id: "booking-availability-controls" };
839
- const ll = { key: 1 }, nl = { key: 0 }, al = {
847
+ }), el = /* @__PURE__ */ ie(Qo, [["__scopeId", "data-v-1bb21da4"]]), tl = (o) => (lt("data-v-76a15791"), o = o(), nt(), o), ol = { id: "booking-availability-container" }, ll = { id: "booking-availability-controls" };
848
+ const nl = { key: 1 }, al = { key: 0 }, il = {
840
849
  key: 0,
841
850
  id: "booking-availability-packages"
842
- }, il = {
851
+ }, sl = {
843
852
  key: 0,
844
853
  class: "konnectio-hotel-availability-title"
845
- }, sl = { id: "booking-availability-packages-wrapper" }, rl = { key: 1 }, ul = {
854
+ }, rl = { id: "booking-availability-packages-wrapper" }, ul = { key: 1 }, dl = {
846
855
  key: 0,
847
856
  class: "konnectio-hotel-availability-title"
848
- }, dl = { id: "booking-availability-listings" }, cl = {
857
+ }, cl = { id: "booking-availability-listings" }, pl = {
849
858
  key: 2,
850
859
  id: "booking-availability-packages"
851
- }, pl = {
860
+ }, fl = {
852
861
  key: 0,
853
862
  class: "konnectio-hotel-availability-title"
854
- }, fl = { id: "booking-availability-packages-wrapper" }, ml = {
863
+ }, ml = { id: "booking-availability-packages-wrapper" }, hl = {
855
864
  key: 3,
856
865
  id: "booking-availability-no-listings",
857
- class: "fresh-booking-panel"
858
- }, hl = {
866
+ class: "konnectio-panel"
867
+ }, yl = {
859
868
  key: 1,
860
869
  id: "booking-availability-no-listings"
861
870
  }, vl = {
862
871
  key: 2,
863
872
  id: "reservation-availability-next-dates"
864
- }, gl = { class: "konnectio-hotel-availability-title" }, yl = { class: "reservation-special-offers-grid" }, bl = ["title"];
865
- const kl = {
873
+ }, gl = { class: "konnectio-hotel-availability-title" }, bl = { class: "reservation-special-offers-grid" }, kl = ["title"];
874
+ const _l = {
866
875
  key: 2,
867
876
  class: "konnectio-listing-loading"
868
- }, _l = { class: "fresh-booking-panel" }, Vl = {
877
+ }, Vl = { class: "konnectio-panel" }, Tl = {
869
878
  key: 0,
870
879
  id: "konnectio-hotel-addons"
871
880
  };
872
- const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl = /* @__PURE__ */ el(() => /* @__PURE__ */ i("br", null, null, -1)), wl = { class: "konnectio-hotel-addons-option" }, Pl = ["onClick"], Hl = { class: "fresh-booking-panel" }, Sl = { key: 0 }, Dl = { key: 1 }, Al = { class: "fresh-booking-split-inputs" }, Il = ["onClick"], El = /* @__PURE__ */ W({
881
+ const $l = { class: "fresh-booking-event-addons-price" }, Cl = { key: 1 }, wl = /* @__PURE__ */ tl(() => /* @__PURE__ */ i("br", null, null, -1)), Pl = { class: "konnectio-hotel-addons-option" }, Dl = ["onClick"], Hl = { class: "konnectio-panel" }, Sl = { key: 0 }, Al = { key: 1 }, Il = { class: "fresh-booking-split-inputs" }, Bl = ["onClick"], El = /* @__PURE__ */ W({
873
882
  name: "HotelLayout",
874
883
  __name: "Hotel",
875
884
  props: {
876
885
  accessToken: {},
877
- headerLayout: { default: Ot.Minimal },
886
+ headerLayout: { default: Gt.Minimal },
878
887
  onlyShow: { default: "everything" },
879
888
  styling: {}
880
889
  },
881
- setup(l) {
882
- const { t: e } = X(), {
890
+ setup(o) {
891
+ const { t: e } = Q(), {
883
892
  templateID: t,
884
893
  countries: n,
885
894
  areListingsLoading: a,
886
895
  isPaymentLoading: s,
887
- isReservationFormFilled: c,
896
+ isReservationFormFilled: p,
888
897
  travelingFor: f,
889
898
  arrivalTime: d,
890
899
  departureTime: r,
@@ -894,37 +903,37 @@ const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl =
894
903
  phone: P,
895
904
  firmName: T,
896
905
  postal: I,
897
- city: E,
906
+ city: B,
898
907
  address: b,
899
908
  country: $,
900
- remark: H,
901
- allergies: F,
902
- roomSelect: B,
909
+ remark: D,
910
+ allergies: O,
911
+ roomSelect: E,
903
912
  roomDisplay: x,
904
913
  hasValidRoomSelection: N,
905
- availabilityData: D,
906
- selectionHasNoAddons: Y
914
+ availabilityData: S,
915
+ selectionHasNoAddons: X
907
916
  } = z(re()), {
908
- arrivalDate: Se,
917
+ arrivalDate: He,
909
918
  departureDate: de
910
919
  } = z(ut()), {
911
920
  currency: ce,
912
- arrivalEarliest: Z,
921
+ arrivalEarliest: Y,
913
922
  arrivalLatest: G,
914
923
  departureEarliest: M,
915
924
  departureLatest: pe,
916
- enableTracking: De,
917
- arrivalDefault: ye,
925
+ enableTracking: Se,
926
+ arrivalDefault: ge,
918
927
  departureDefault: Ae,
919
928
  hideArrivalDepartureInputs: ee,
920
929
  disableArrivalUserSelection: fe,
921
- disableNamePrefix: Ke,
930
+ disableNamePrefix: We,
922
931
  disableDepartureUserSelection: Ie,
923
- disableTravelingFor: vt,
924
- disableTravelingForBleasure: gt,
925
- disableCompanyField: yt,
932
+ disableTravelingFor: yt,
933
+ disableTravelingForBleasure: vt,
934
+ disableCompanyField: gt,
926
935
  hasPaymentGateway: bt
927
- } = z(ge()), { beginCheckout: kt } = at(), {
936
+ } = z(ve()), { beginCheckout: kt } = at(), {
928
937
  initialize: _t,
929
938
  resetTemplate: Vt,
930
939
  resetDiscountVoucher: Tt,
@@ -940,182 +949,182 @@ const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl =
940
949
  value: "Pleasure"
941
950
  }
942
951
  ];
943
- return gt.value || w.push({
952
+ return vt.value || w.push({
944
953
  label: e("booking.reservation.bleasure"),
945
954
  value: "Bleasure"
946
955
  }), w;
947
956
  }), Pt = j(() => {
948
- const w = D.value.roomGroups.slice();
949
- function C(K, S) {
950
- return Ct.value === !0 ? K.pricesFrom > S.pricesFrom ? -1 : 1 : K.pricesFrom > S.pricesFrom ? 1 : -1;
957
+ const w = S.value.roomGroups.slice();
958
+ function C(K, H) {
959
+ return Ct.value === !0 ? K.pricesFrom > H.pricesFrom ? -1 : 1 : K.pricesFrom > H.pricesFrom ? 1 : -1;
951
960
  }
952
961
  return w.sort(C);
953
- }), Ht = j(() => [[
954
- parseInt(Z.value.split(":")[0]),
962
+ }), Dt = j(() => [[
963
+ parseInt(Y.value.split(":")[0]),
955
964
  parseInt(G.value.split(":")[0])
956
- ]]), St = j(() => [[
965
+ ]]), Ht = j(() => [[
957
966
  parseInt(M.value.split(":")[0]),
958
967
  parseInt(pe.value.split(":")[0])
959
968
  ]]);
960
- function ze(w) {
961
- Y.value ? w(2) : w(), Tt();
969
+ function Ke(w) {
970
+ X.value ? w(2) : w(), Tt();
962
971
  }
963
- function Dt(w, C) {
964
- de.value = new Date(C), Se.value = new Date(w), location.reload();
972
+ function St(w, C) {
973
+ de.value = new Date(C), He.value = new Date(w), location.reload();
965
974
  }
966
975
  async function At(w) {
967
976
  await $t(w);
968
977
  }
969
978
  function It(w) {
970
- De.value && kt(), Y.value ? w(2) : w();
979
+ Se.value && kt(), X.value ? w(2) : w();
971
980
  }
972
- function Et() {
973
- d.value === "" && (d.value = ye.value), r.value === "" && (r.value = Ae.value);
981
+ function Bt() {
982
+ d.value === "" && (d.value = ge.value), r.value === "" && (r.value = Ae.value);
974
983
  }
975
- return Pe(() => {
976
- _t(), Et();
977
- }), (w, C) => (p(), A(Ft, { styling: w.styling }, {
984
+ return we(() => {
985
+ _t(), Bt();
986
+ }), (w, C) => (c(), A(qt, { styling: w.styling }, {
978
987
  default: V(() => [
979
- (p(), A(Nt, null, {
988
+ (c(), A(Lt, null, {
980
989
  default: V(() => [
981
- v(Gt, {
982
- id: "fresh-booking-hotel-module",
990
+ y(Kt, {
991
+ id: "konnectio-hotel-module",
983
992
  "access-token": w.accessToken,
984
993
  type: "hotel"
985
994
  }, {
986
995
  default: V(() => [
987
- v(eo, {
996
+ y(to, {
988
997
  layout: w.headerLayout,
989
- onReset: o(Vt)
998
+ onReset: l(Vt)
990
999
  }, {
991
1000
  availability: V(({ next: K }) => [
992
- v(Re, null, {
1001
+ y(Re, null, {
993
1002
  form: V(() => [
994
- i("div", tl, [
995
- i("div", ol, [
996
- v(io, { booking: !0 })
1003
+ i("div", ol, [
1004
+ i("div", ll, [
1005
+ y(so, { booking: !0 })
997
1006
  ]),
998
1007
  _("", !0),
999
- o(a) ? (p(), h("div", kl, [
1000
- v(Le),
1001
- v(Le),
1002
- v(Le)
1003
- ])) : (p(), h("div", ll, [
1004
- o(D).roomGroups.length > 0 || o(D).templates.length > 0 || o(D).specialTemplates.length > 0 ? (p(), h("div", nl, [
1005
- o(D).templates.length > 0 && w.onlyShow !== "rooms" ? (p(), h("div", al, [
1006
- w.onlyShow !== "packages" ? (p(), h("h2", il, [
1007
- v(q, {
1008
+ l(a) ? (c(), h("div", _l, [
1009
+ y(Le),
1010
+ y(Le),
1011
+ y(Le)
1012
+ ])) : (c(), h("div", nl, [
1013
+ l(S).roomGroups.length > 0 || l(S).templates.length > 0 || l(S).specialTemplates.length > 0 ? (c(), h("div", al, [
1014
+ l(S).templates.length > 0 && w.onlyShow !== "rooms" ? (c(), h("div", il, [
1015
+ w.onlyShow !== "packages" ? (c(), h("h2", sl, [
1016
+ y(q, {
1008
1017
  icon: "box",
1009
1018
  type: "fal",
1010
1019
  color: "header"
1011
1020
  }),
1012
- i("span", null, y(o(e)("booking.availability.packagesTitle")), 1)
1021
+ i("span", null, g(l(e)("booking.availability.packagesTitle")), 1)
1013
1022
  ])) : _("", !0),
1014
- i("ul", sl, [
1015
- (p(!0), h(R, null, O(o(D).templates, ({
1016
- id: S,
1017
- name: g,
1023
+ i("ul", rl, [
1024
+ (c(!0), h(R, null, F(l(S).templates, ({
1025
+ id: H,
1026
+ name: v,
1018
1027
  templateRoomGroups: te,
1019
- image: Q,
1028
+ image: Z,
1020
1029
  description: L,
1021
1030
  weekendFee: me
1022
- }) => (p(), A(Oo, {
1023
- key: S,
1024
- id: S,
1031
+ }) => (c(), A(Oo, {
1032
+ key: H,
1033
+ id: H,
1025
1034
  description: L,
1026
- name: g,
1027
- image: Q,
1035
+ name: v,
1036
+ image: Z,
1028
1037
  weekendFee: me,
1029
1038
  "room-groups": te,
1030
1039
  callback: K
1031
1040
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
1032
1041
  ])
1033
1042
  ])) : _("", !0),
1034
- o(D).roomGroups.length > 0 && w.onlyShow !== "packages" ? (p(), h("div", rl, [
1035
- o(D).templates.length > 0 && w.onlyShow !== "rooms" ? (p(), h("h2", ul, [
1036
- v(q, {
1043
+ l(S).roomGroups.length > 0 && w.onlyShow !== "packages" ? (c(), h("div", ul, [
1044
+ l(S).templates.length > 0 && w.onlyShow !== "rooms" ? (c(), h("h2", dl, [
1045
+ y(q, {
1037
1046
  icon: "house",
1038
1047
  type: "fal",
1039
1048
  color: "header"
1040
1049
  }),
1041
- i("span", null, y(o(e)("booking.availability.roomsTitle")), 1)
1050
+ i("span", null, g(l(e)("booking.availability.roomsTitle")), 1)
1042
1051
  ])) : _("", !0),
1043
- i("ul", dl, [
1044
- (p(!0), h(R, null, O(Pt.value, (S, g) => (p(), A(Eo, {
1045
- room: S,
1046
- key: g
1052
+ i("ul", cl, [
1053
+ (c(!0), h(R, null, F(Pt.value, (H, v) => (c(), A(Eo, {
1054
+ room: H,
1055
+ key: v
1047
1056
  }, null, 8, ["room"]))), 128))
1048
1057
  ])
1049
1058
  ])) : _("", !0),
1050
- o(D).specialTemplates.length > 0 && w.onlyShow !== "rooms" ? (p(), h("div", cl, [
1051
- w.onlyShow !== "packages" ? (p(), h("h2", pl, [
1052
- v(q, {
1059
+ l(S).specialTemplates.length > 0 && w.onlyShow !== "rooms" ? (c(), h("div", pl, [
1060
+ w.onlyShow !== "packages" ? (c(), h("h2", fl, [
1061
+ y(q, {
1053
1062
  icon: "sparkles",
1054
1063
  type: "fal",
1055
1064
  color: "header"
1056
1065
  }),
1057
- i("span", null, y(o(e)("hotel.specialOffers")), 1)
1066
+ i("span", null, g(l(e)("hotel.specialOffers")), 1)
1058
1067
  ])) : _("", !0),
1059
- i("ul", fl, [
1060
- (p(!0), h(R, null, O(o(D).specialTemplates, ({
1061
- id: S,
1062
- name: g,
1068
+ i("ul", ml, [
1069
+ (c(!0), h(R, null, F(l(S).specialTemplates, ({
1070
+ id: H,
1071
+ name: v,
1063
1072
  templateRoomGroups: te,
1064
- image: Q,
1073
+ image: Z,
1065
1074
  description: L,
1066
1075
  weekendFee: me,
1067
1076
  fromDate: he,
1068
- toDate: Ee
1069
- }) => (p(), A(Go, {
1070
- key: S,
1071
- id: S,
1077
+ toDate: Be
1078
+ }) => (c(), A(qo, {
1079
+ key: H,
1080
+ id: H,
1072
1081
  description: L,
1073
- name: g,
1074
- image: Q,
1082
+ name: v,
1083
+ image: Z,
1075
1084
  fromDate: he,
1076
- toDate: Ee,
1085
+ toDate: Be,
1077
1086
  weekendFee: me,
1078
1087
  "room-groups": te,
1079
1088
  callback: K
1080
1089
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1081
1090
  ])
1082
1091
  ])) : _("", !0),
1083
- (o(D).templates.length === 0 && w.onlyShow !== "rooms" || o(D).roomGroups.length === 0 && w.onlyShow !== "packages") && (w.onlyShow === "rooms" || w.onlyShow === "packages") ? (p(), h("div", ml, [
1084
- i("span", null, y(o(e)("booking.availability.nothingAvailable")), 1)
1092
+ (l(S).templates.length === 0 && w.onlyShow !== "rooms" || l(S).roomGroups.length === 0 && w.onlyShow !== "packages") && (w.onlyShow === "rooms" || w.onlyShow === "packages") ? (c(), h("div", hl, [
1093
+ i("span", null, g(l(e)("booking.availability.nothingAvailable")), 1)
1085
1094
  ])) : _("", !0)
1086
- ])) : o(D).nextAvailableDates.length === 0 ? (p(), h("div", hl, [
1087
- i("span", null, y(o(e)("booking.availability.nothingAvailable")), 1)
1088
- ])) : (p(), h("div", vl, [
1095
+ ])) : l(S).nextAvailableDates.length === 0 ? (c(), h("div", yl, [
1096
+ i("span", null, g(l(e)("booking.availability.nothingAvailable")), 1)
1097
+ ])) : (c(), h("div", vl, [
1089
1098
  i("h2", gl, [
1090
- v(q, {
1099
+ y(q, {
1091
1100
  icon: "calendar-circle-exclamation",
1092
1101
  type: "fal",
1093
1102
  color: "header"
1094
1103
  }),
1095
- i("span", null, y(o(e)("booking.availability.nextAvailableDates")), 1)
1104
+ i("span", null, g(l(e)("booking.availability.nextAvailableDates")), 1)
1096
1105
  ]),
1097
- i("ul", yl, [
1098
- (p(!0), h(R, null, O(o(D).nextAvailableDates, (S, g) => (p(), h("li", { key: g }, [
1106
+ i("ul", bl, [
1107
+ (c(!0), h(R, null, F(l(S).nextAvailableDates, (H, v) => (c(), h("li", { key: v }, [
1099
1108
  i("h3", {
1100
- title: `${o(ne)(S.fromDate)} - ${o(ne)(S.toDate)}`
1109
+ title: `${l(ne)(H.fromDate)} - ${l(ne)(H.toDate)}`
1101
1110
  }, [
1102
- i("span", null, y(`${o(ne)(S.fromDate)} - ${o(ne)(S.toDate)}`), 1)
1103
- ], 8, bl),
1111
+ i("span", null, g(`${l(ne)(H.fromDate)} - ${l(ne)(H.toDate)}`), 1)
1112
+ ], 8, kl),
1104
1113
  i("ul", null, [
1105
1114
  _("", !0),
1106
1115
  i("li", null, [
1107
- v(q, {
1116
+ y(q, {
1108
1117
  icon: "money-bill",
1109
1118
  type: "fal",
1110
1119
  color: "header"
1111
1120
  }),
1112
- i("span", null, y(o(e)("booking.availability.pricesFrom")) + ": " + y(o(ae)(S.priceStartFrom, o(ce))), 1)
1121
+ i("span", null, g(l(e)("booking.availability.pricesFrom")) + ": " + g(l(ae)(H.priceStartFrom, l(ce))), 1)
1113
1122
  ])
1114
1123
  ]),
1115
- v(se, {
1116
- label: o(e)("booking.availability.selectDates"),
1124
+ y(se, {
1125
+ label: l(e)("booking.availability.selectDates"),
1117
1126
  "full-width": "",
1118
- onClickEvent: (te) => Dt(S.fromDate, S.toDate)
1127
+ onClickEvent: (te) => St(H.fromDate, H.toDate)
1119
1128
  }, null, 8, ["label", "onClickEvent"])
1120
1129
  ]))), 128))
1121
1130
  ])
@@ -1124,90 +1133,90 @@ const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl =
1124
1133
  ])
1125
1134
  ]),
1126
1135
  navigation: V(() => [
1127
- v(se, {
1128
- label: o(Y) ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
1129
- disabled: !o(N),
1136
+ y(se, {
1137
+ label: l(X) ? l(e)("booking.availability.nextButton") : l(e)("general.chooseAddons"),
1138
+ disabled: !l(N),
1130
1139
  "is-loading": !1,
1131
1140
  "full-width": "",
1132
- onClickEvent: (S) => It(K)
1141
+ onClickEvent: (H) => It(K)
1133
1142
  }, null, 8, ["label", "disabled", "onClickEvent"])
1134
1143
  ]),
1135
1144
  _: 2
1136
1145
  }, 1024)
1137
1146
  ]),
1138
- addons: V(({ next: K, prev: S }) => [
1139
- v(Re, null, {
1147
+ addons: V(({ next: K, prev: H }) => [
1148
+ y(Re, null, {
1140
1149
  form: V(() => [
1141
- i("form", _l, [
1150
+ i("form", Vl, [
1142
1151
  i("h2", null, [
1143
- i("span", null, y(o(e)("booking.reservation.addons")), 1)
1152
+ i("span", null, g(l(e)("booking.reservation.addons")), 1)
1144
1153
  ]),
1145
1154
  i("div", null, [
1146
- isNaN(o(t)) ? (p(), h("div", Vl, [
1147
- (p(!0), h(R, null, O(o(x), (g) => (p(), h("ul", {
1148
- key: g.roomGroupID
1155
+ isNaN(l(t)) ? (c(), h("div", Tl, [
1156
+ (c(!0), h(R, null, F(l(x), (v) => (c(), h("ul", {
1157
+ key: v.roomGroupID
1149
1158
  }, [
1150
- (p(!0), h(R, null, O(g.variants, (te, Q) => (p(), h("li", {
1159
+ (c(!0), h(R, null, F(v.variants, (te, Z) => (c(), h("li", {
1151
1160
  key: te.ratePlanID
1152
1161
  }, [
1153
1162
  i("h4", null, [
1154
- i("span", null, y(o(ue)(g.title)), 1)
1163
+ i("span", null, g(l(ue)(v.title)), 1)
1155
1164
  ]),
1156
- (p(!0), h(R, null, O(te.rooms, (L, me) => (p(), h("table", {
1165
+ (c(!0), h(R, null, F(te.rooms, (L, me) => (c(), h("table", {
1157
1166
  key: me,
1158
- class: "fresh-booking-table with-lines"
1167
+ class: "konnectio-table with-lines"
1159
1168
  }, [
1160
1169
  i("thead", null, [
1161
1170
  i("tr", null, [
1162
1171
  i("th", null, [
1163
- i("span", null, y(o(ue)(te.name)), 1)
1172
+ i("span", null, g(l(ue)(te.name)), 1)
1164
1173
  ]),
1165
1174
  _("", !0),
1166
- i("th", Tl, [
1175
+ i("th", $l, [
1167
1176
  i("b", null, [
1168
- v(q, {
1177
+ y(q, {
1169
1178
  icon: "male",
1170
1179
  type: "fas",
1171
1180
  color: "font"
1172
1181
  }),
1173
- i("span", null, y(L.adultsCount), 1),
1174
- L.childrenCount > 0 ? (p(), A(q, {
1182
+ i("span", null, g(L.adultsCount), 1),
1183
+ L.childrenCount > 0 ? (c(), A(q, {
1175
1184
  key: 0,
1176
1185
  icon: "child",
1177
1186
  type: "fas",
1178
1187
  color: "font"
1179
1188
  })) : _("", !0),
1180
- L.childrenCount > 0 ? (p(), h("span", $l, y(L.childrenCount), 1)) : _("", !0)
1189
+ L.childrenCount > 0 ? (c(), h("span", Cl, g(L.childrenCount), 1)) : _("", !0)
1181
1190
  ])
1182
1191
  ])
1183
1192
  ])
1184
1193
  ]),
1185
1194
  i("tbody", null, [
1186
- (p(!0), h(R, null, O(g.addons, ({
1195
+ (c(!0), h(R, null, F(v.addons, ({
1187
1196
  quantityStrategy: he,
1188
- maximumNumber: Ee,
1189
- id: ve,
1190
- name: Bt,
1197
+ maximumNumber: Be,
1198
+ id: ye,
1199
+ name: Et,
1191
1200
  price: Mt
1192
- }) => (p(), h("tr", { key: ve }, [
1201
+ }) => (c(), h("tr", { key: ye }, [
1193
1202
  i("td", null, [
1194
- i("b", null, y(o(ue)(Bt)), 1),
1195
- Cl,
1196
- i("span", null, y(o(ae)(Mt, o(ce))) + " " + y(o(jt)(he)), 1)
1203
+ i("b", null, g(l(ue)(Et)), 1),
1204
+ wl,
1205
+ i("span", null, g(l(ae)(Mt, l(ce))) + " " + g(l(Wt)(he)), 1)
1197
1206
  ]),
1198
- i("td", wl, [
1199
- o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx] ? (p(), h(R, { key: 0 }, [
1200
- he === 1 || he === 12 ? (p(), A(it, {
1207
+ i("td", Pl, [
1208
+ l(E)[v.roomGroupID][Z].config[L.configIdx].addons[L.roomIdx] ? (c(), h(R, { key: 0 }, [
1209
+ he === 1 || he === 12 ? (c(), A(it, {
1201
1210
  key: 0,
1202
- modelValue: o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve],
1203
- "onUpdate:modelValue": (Be) => o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve] = Be,
1211
+ modelValue: l(E)[v.roomGroupID][Z].config[L.configIdx].addons[L.roomIdx][ye],
1212
+ "onUpdate:modelValue": (Ee) => l(E)[v.roomGroupID][Z].config[L.configIdx].addons[L.roomIdx][ye] = Ee,
1204
1213
  small: !0,
1205
1214
  "min-value": 0,
1206
- "max-value": Ee || 1 / 0
1207
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (p(), A(je, {
1215
+ "max-value": Be || 1 / 0
1216
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(Ne, {
1208
1217
  key: 1,
1209
- modelValue: o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve],
1210
- "onUpdate:modelValue": (Be) => o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve] = Be,
1218
+ modelValue: l(E)[v.roomGroupID][Z].config[L.configIdx].addons[L.roomIdx][ye],
1219
+ "onUpdate:modelValue": (Ee) => l(E)[v.roomGroupID][Z].config[L.configIdx].addons[L.roomIdx][ye] = Ee,
1211
1220
  numeric: !0
1212
1221
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1213
1222
  ], 64)) : _("", !0)
@@ -1222,165 +1231,165 @@ const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl =
1222
1231
  ])
1223
1232
  ]),
1224
1233
  navigation: V(() => [
1225
- v(se, {
1226
- label: o(e)("general.startReservation"),
1234
+ y(se, {
1235
+ label: l(e)("general.startReservation"),
1227
1236
  "full-width": "",
1228
1237
  onClickEvent: K
1229
1238
  }, null, 8, ["label", "onClickEvent"]),
1230
1239
  i("button", {
1231
1240
  class: "konnectio-abort-reservation link",
1232
- onClick: Ve((g) => ze(S), ["prevent"])
1241
+ onClick: Ve((v) => Ke(H), ["prevent"])
1233
1242
  }, [
1234
- i("span", null, y(o(e)("general.goAStepBack")), 1)
1235
- ], 8, Pl)
1243
+ i("span", null, g(l(e)("general.goAStepBack")), 1)
1244
+ ], 8, Dl)
1236
1245
  ]),
1237
1246
  _: 2
1238
1247
  }, 1024)
1239
1248
  ]),
1240
- reservation: V(({ next: K, prev: S }) => [
1241
- v(Re, {
1249
+ reservation: V(({ next: K, prev: H }) => [
1250
+ y(Re, {
1242
1251
  "show-terms-notice": !0,
1243
1252
  "show-gift-card": !0
1244
1253
  }, {
1245
1254
  form: V(() => [
1246
1255
  i("form", Hl, [
1247
1256
  i("h2", null, [
1248
- i("span", null, y(o(e)("booking.reservation.detailsTitle")), 1)
1257
+ i("span", null, g(l(e)("booking.reservation.detailsTitle")), 1)
1249
1258
  ]),
1250
- !o(ee) && !(o(fe) && o(Ie)) ? (p(), h("ul", {
1259
+ !l(ee) && !(l(fe) && l(Ie)) ? (c(), h("ul", {
1251
1260
  key: 0,
1252
- class: $e({ "fresh-booking-split-inputs": !o(fe) && !o(Ie) })
1261
+ class: $e({ "fresh-booking-split-inputs": !l(fe) && !l(Ie) })
1253
1262
  }, [
1254
- o(fe) ? _("", !0) : (p(), h("li", Sl, [
1255
- v(Ze, {
1256
- modelValue: o(d),
1257
- "onUpdate:modelValue": C[1] || (C[1] = (g) => U(d) ? d.value = g : null),
1258
- label: o(e)("booking.reservation.arrivalTime"),
1263
+ l(fe) ? _("", !0) : (c(), h("li", Sl, [
1264
+ y(Xe, {
1265
+ modelValue: l(d),
1266
+ "onUpdate:modelValue": C[1] || (C[1] = (v) => U(d) ? d.value = v : null),
1267
+ label: l(e)("booking.reservation.arrivalTime"),
1259
1268
  icon: "hourglass-start",
1260
- "hour-range": Ht.value,
1269
+ "hour-range": Dt.value,
1261
1270
  required: ""
1262
1271
  }, null, 8, ["modelValue", "label", "hour-range"])
1263
1272
  ])),
1264
- o(Ie) ? _("", !0) : (p(), h("li", Dl, [
1265
- v(Ze, {
1266
- modelValue: o(r),
1267
- "onUpdate:modelValue": C[2] || (C[2] = (g) => U(r) ? r.value = g : null),
1268
- label: o(e)("booking.reservation.departureTime"),
1273
+ l(Ie) ? _("", !0) : (c(), h("li", Al, [
1274
+ y(Xe, {
1275
+ modelValue: l(r),
1276
+ "onUpdate:modelValue": C[2] || (C[2] = (v) => U(r) ? r.value = v : null),
1277
+ label: l(e)("booking.reservation.departureTime"),
1269
1278
  icon: "hourglass-end",
1270
- "hour-range": St.value,
1279
+ "hour-range": Ht.value,
1271
1280
  required: ""
1272
1281
  }, null, 8, ["modelValue", "label", "hour-range"])
1273
1282
  ]))
1274
1283
  ], 2)) : _("", !0),
1275
- v(Jo, {
1276
- modelValue: o(u),
1277
- "onUpdate:modelValue": C[3] || (C[3] = (g) => U(u) ? u.value = g : null),
1278
- title: o(m),
1279
- "onUpdate:title": C[4] || (C[4] = (g) => U(m) ? m.value = g : null),
1280
- "exclude-title": o(Ke),
1281
- label: o(e)("booking.reservation.name"),
1284
+ y(xo, {
1285
+ modelValue: l(u),
1286
+ "onUpdate:modelValue": C[3] || (C[3] = (v) => U(u) ? u.value = v : null),
1287
+ title: l(m),
1288
+ "onUpdate:title": C[4] || (C[4] = (v) => U(m) ? m.value = v : null),
1289
+ "exclude-title": l(We),
1290
+ label: l(e)("booking.reservation.name"),
1282
1291
  icon: "user-alt",
1283
- placeholder: o(e)("booking.reservation.namePlaceholder"),
1292
+ placeholder: l(e)("booking.reservation.namePlaceholder"),
1284
1293
  required: ""
1285
1294
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1286
- v(le, {
1287
- modelValue: o(k),
1288
- "onUpdate:modelValue": C[5] || (C[5] = (g) => U(k) ? k.value = g : null),
1295
+ y(le, {
1296
+ modelValue: l(k),
1297
+ "onUpdate:modelValue": C[5] || (C[5] = (v) => U(k) ? k.value = v : null),
1289
1298
  type: "email",
1290
1299
  name: "email",
1291
1300
  autocomplete: "email",
1292
- label: o(e)("booking.reservation.email"),
1301
+ label: l(e)("booking.reservation.email"),
1293
1302
  icon: "at",
1294
- placeholder: o(e)("booking.reservation.emailPlaceholder"),
1303
+ placeholder: l(e)("booking.reservation.emailPlaceholder"),
1295
1304
  required: ""
1296
1305
  }, null, 8, ["modelValue", "label", "placeholder"]),
1297
- o(yt) ? _("", !0) : (p(), A(le, {
1306
+ l(gt) ? _("", !0) : (c(), A(le, {
1298
1307
  key: 1,
1299
- modelValue: o(T),
1300
- "onUpdate:modelValue": C[6] || (C[6] = (g) => U(T) ? T.value = g : null),
1308
+ modelValue: l(T),
1309
+ "onUpdate:modelValue": C[6] || (C[6] = (v) => U(T) ? T.value = v : null),
1301
1310
  type: "text",
1302
1311
  name: "firm",
1303
1312
  autocomplete: "firm",
1304
- label: `${o(e)("booking.reservation.companyName")} (${o(e)("booking.reservation.optional")})`,
1313
+ label: `${l(e)("booking.reservation.companyName")} (${l(e)("booking.reservation.optional")})`,
1305
1314
  icon: "id-card",
1306
- placeholder: o(e)("booking.reservation.companyNamePlaceholder")
1315
+ placeholder: l(e)("booking.reservation.companyNamePlaceholder")
1307
1316
  }, null, 8, ["modelValue", "label", "placeholder"])),
1308
- v(uo, {
1309
- modelValue: o(P),
1310
- "onUpdate:modelValue": C[7] || (C[7] = (g) => U(P) ? P.value = g : null),
1317
+ y(co, {
1318
+ modelValue: l(P),
1319
+ "onUpdate:modelValue": C[7] || (C[7] = (v) => U(P) ? P.value = v : null),
1311
1320
  icon: "phone-office",
1312
- label: o(e)("booking.reservation.phone"),
1313
- placeholder: o(e)("booking.reservation.phonePlaceholder"),
1321
+ label: l(e)("booking.reservation.phone"),
1322
+ placeholder: l(e)("booking.reservation.phonePlaceholder"),
1314
1323
  required: ""
1315
1324
  }, null, 8, ["modelValue", "label", "placeholder"]),
1316
- v(Ko, {
1317
- modelValue: o($),
1318
- "onUpdate:modelValue": C[8] || (C[8] = (g) => U($) ? $.value = g : null),
1319
- label: o(e)("booking.reservation.country"),
1320
- placeholder: o(e)("booking.reservation.countryPlaceholder"),
1321
- options: o(n),
1325
+ y(zo, {
1326
+ modelValue: l($),
1327
+ "onUpdate:modelValue": C[8] || (C[8] = (v) => U($) ? $.value = v : null),
1328
+ label: l(e)("booking.reservation.country"),
1329
+ placeholder: l(e)("booking.reservation.countryPlaceholder"),
1330
+ options: l(n),
1322
1331
  required: ""
1323
1332
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1324
- v(le, {
1325
- modelValue: o(b),
1326
- "onUpdate:modelValue": C[9] || (C[9] = (g) => U(b) ? b.value = g : null),
1333
+ y(le, {
1334
+ modelValue: l(b),
1335
+ "onUpdate:modelValue": C[9] || (C[9] = (v) => U(b) ? b.value = v : null),
1327
1336
  type: "textarea",
1328
1337
  name: "address",
1329
1338
  autocomplete: "street-address",
1330
- label: o(e)("booking.reservation.streetAddress"),
1339
+ label: l(e)("booking.reservation.streetAddress"),
1331
1340
  icon: "map-marked",
1332
- placeholder: o(e)("booking.reservation.streetAddressPlaceholder"),
1341
+ placeholder: l(e)("booking.reservation.streetAddressPlaceholder"),
1333
1342
  required: ""
1334
1343
  }, null, 8, ["modelValue", "label", "placeholder"]),
1335
- i("ul", Al, [
1344
+ i("ul", Il, [
1336
1345
  i("li", null, [
1337
- v(le, {
1338
- modelValue: o(I),
1339
- "onUpdate:modelValue": C[10] || (C[10] = (g) => U(I) ? I.value = g : null),
1346
+ y(le, {
1347
+ modelValue: l(I),
1348
+ "onUpdate:modelValue": C[10] || (C[10] = (v) => U(I) ? I.value = v : null),
1340
1349
  type: "text",
1341
1350
  name: "postal",
1342
1351
  autocomplete: "postal-code",
1343
- label: o(e)("booking.reservation.postal"),
1352
+ label: l(e)("booking.reservation.postal"),
1344
1353
  icon: "mailbox",
1345
- placeholder: o(e)("booking.reservation.postalPlaceholder"),
1354
+ placeholder: l(e)("booking.reservation.postalPlaceholder"),
1346
1355
  required: ""
1347
1356
  }, null, 8, ["modelValue", "label", "placeholder"])
1348
1357
  ]),
1349
1358
  i("li", null, [
1350
- v(le, {
1351
- modelValue: o(E),
1352
- "onUpdate:modelValue": C[11] || (C[11] = (g) => U(E) ? E.value = g : null),
1359
+ y(le, {
1360
+ modelValue: l(B),
1361
+ "onUpdate:modelValue": C[11] || (C[11] = (v) => U(B) ? B.value = v : null),
1353
1362
  type: "text",
1354
1363
  name: "city",
1355
1364
  autocomplete: "address-level2",
1356
- label: o(e)("booking.reservation.city"),
1365
+ label: l(e)("booking.reservation.city"),
1357
1366
  icon: "city",
1358
- placeholder: o(e)("booking.reservation.cityPlaceholder"),
1367
+ placeholder: l(e)("booking.reservation.cityPlaceholder"),
1359
1368
  required: ""
1360
1369
  }, null, 8, ["modelValue", "label", "placeholder"])
1361
1370
  ])
1362
1371
  ]),
1363
- v(le, {
1364
- modelValue: o(H),
1365
- "onUpdate:modelValue": C[12] || (C[12] = (g) => U(H) ? H.value = g : null),
1372
+ y(le, {
1373
+ modelValue: l(D),
1374
+ "onUpdate:modelValue": C[12] || (C[12] = (v) => U(D) ? D.value = v : null),
1366
1375
  type: "textarea",
1367
- label: `${o(e)("booking.reservation.remark")} (${o(e)("booking.reservation.optional")})`,
1376
+ label: `${l(e)("booking.reservation.remark")} (${l(e)("booking.reservation.optional")})`,
1368
1377
  icon: "info-circle",
1369
- placeholder: o(e)("booking.reservation.remarkPlaceholder")
1378
+ placeholder: l(e)("booking.reservation.remarkPlaceholder")
1370
1379
  }, null, 8, ["modelValue", "label", "placeholder"]),
1371
- v(le, {
1372
- modelValue: o(F),
1373
- "onUpdate:modelValue": C[13] || (C[13] = (g) => U(F) ? F.value = g : null),
1380
+ y(le, {
1381
+ modelValue: l(O),
1382
+ "onUpdate:modelValue": C[13] || (C[13] = (v) => U(O) ? O.value = v : null),
1374
1383
  type: "textarea",
1375
- label: `${o(e)("booking.reservation.allergies")} (${o(e)("booking.reservation.optional")})`,
1384
+ label: `${l(e)("booking.reservation.allergies")} (${l(e)("booking.reservation.optional")})`,
1376
1385
  icon: "allergies",
1377
- placeholder: o(e)("booking.reservation.allergiesPlaceholder")
1386
+ placeholder: l(e)("booking.reservation.allergiesPlaceholder")
1378
1387
  }, null, 8, ["modelValue", "label", "placeholder"]),
1379
- o(vt) ? _("", !0) : (p(), A(to, {
1388
+ l(yt) ? _("", !0) : (c(), A(oo, {
1380
1389
  key: 2,
1381
- modelValue: o(f),
1382
- "onUpdate:modelValue": C[14] || (C[14] = (g) => U(f) ? f.value = g : null),
1383
- label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
1390
+ modelValue: l(f),
1391
+ "onUpdate:modelValue": C[14] || (C[14] = (v) => U(f) ? f.value = v : null),
1392
+ label: `${l(e)("booking.reservation.purposeOfStay")} (${l(e)("booking.reservation.optional")})`,
1384
1393
  name: "travelingFor",
1385
1394
  checkboxes: wt.value
1386
1395
  }, null, 8, ["modelValue", "label", "checkboxes"]))
@@ -1388,30 +1397,30 @@ const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl =
1388
1397
  ]),
1389
1398
  navigation: V(() => [
1390
1399
  i("div", null, [
1391
- v(se, {
1392
- label: o(bt) ? o(e)("booking.reservation.nextButton") : o(e)("general.confirmReservation"),
1393
- disabled: !o(c),
1394
- "is-loading": o(s),
1400
+ y(se, {
1401
+ label: l(bt) ? l(e)("booking.reservation.nextButton") : l(e)("general.confirmReservation"),
1402
+ disabled: !l(p),
1403
+ "is-loading": l(s),
1395
1404
  "full-width": "",
1396
- onClickEvent: (g) => At(K)
1405
+ onClickEvent: (v) => At(K)
1397
1406
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1398
1407
  i("button", {
1399
1408
  class: "konnectio-abort-reservation link",
1400
- onClick: Ve((g) => ze(S), ["prevent"])
1409
+ onClick: Ve((v) => Ke(H), ["prevent"])
1401
1410
  }, [
1402
- i("span", null, y(o(e)("general.goAStepBack")), 1)
1403
- ], 8, Il)
1411
+ i("span", null, g(l(e)("general.goAStepBack")), 1)
1412
+ ], 8, Bl)
1404
1413
  ])
1405
1414
  ]),
1406
1415
  _: 2
1407
1416
  }, 1024)
1408
1417
  ]),
1409
1418
  payment: V(() => [
1410
- v(co)
1419
+ y(po)
1411
1420
  ]),
1412
1421
  confirmation: V(() => [
1413
- v(oo, {
1414
- message: o(e)("booking.confirmation.thankYou")
1422
+ y(lo, {
1423
+ message: l(e)("booking.confirmation.thankYou")
1415
1424
  }, null, 8, ["message"])
1416
1425
  ]),
1417
1426
  _: 1
@@ -1421,7 +1430,7 @@ const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl =
1421
1430
  }, 8, ["access-token"])
1422
1431
  ]),
1423
1432
  fallback: V(() => [
1424
- v(Xo)
1433
+ y(el)
1425
1434
  ]),
1426
1435
  _: 1
1427
1436
  }))
@@ -1429,31 +1438,31 @@ const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl =
1429
1438
  _: 1
1430
1439
  }, 8, ["styling"]));
1431
1440
  }
1432
- }), be = /* @__PURE__ */ ie(El, [["__scopeId", "data-v-5d57983d"]]);
1433
- function Ge(l, e = {}, t) {
1434
- for (const n in l) {
1435
- const a = l[n], s = t ? `${t}:${n}` : n;
1436
- typeof a == "object" && a !== null ? Ge(a, e, s) : typeof a == "function" && (e[s] = a);
1441
+ }), be = /* @__PURE__ */ ie(El, [["__scopeId", "data-v-76a15791"]]);
1442
+ function je(o, e = {}, t) {
1443
+ for (const n in o) {
1444
+ const a = o[n], s = t ? `${t}:${n}` : n;
1445
+ typeof a == "object" && a !== null ? je(a, e, s) : typeof a == "function" && (e[s] = a);
1437
1446
  }
1438
1447
  return e;
1439
1448
  }
1440
- const Bl = { run: (l) => l() }, Ml = () => Bl, pt = typeof console.createTask < "u" ? console.createTask : Ml;
1441
- function Ll(l, e) {
1449
+ const Ml = { run: (o) => o() }, Ll = () => Ml, pt = typeof console.createTask < "u" ? console.createTask : Ll;
1450
+ function Rl(o, e) {
1442
1451
  const t = e.shift(), n = pt(t);
1443
- return l.reduce(
1452
+ return o.reduce(
1444
1453
  (a, s) => a.then(() => n.run(() => s(...e))),
1445
1454
  Promise.resolve()
1446
1455
  );
1447
1456
  }
1448
- function Rl(l, e) {
1457
+ function Ul(o, e) {
1449
1458
  const t = e.shift(), n = pt(t);
1450
- return Promise.all(l.map((a) => n.run(() => a(...e))));
1459
+ return Promise.all(o.map((a) => n.run(() => a(...e))));
1451
1460
  }
1452
- function Ue(l, e) {
1453
- for (const t of [...l])
1461
+ function Ue(o, e) {
1462
+ for (const t of [...o])
1454
1463
  t(e);
1455
1464
  }
1456
- class Ul {
1465
+ class Fl {
1457
1466
  constructor() {
1458
1467
  this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
1459
1468
  }
@@ -1466,8 +1475,8 @@ class Ul {
1466
1475
  for (; this._deprecatedHooks[e]; )
1467
1476
  s = this._deprecatedHooks[e], e = s.to;
1468
1477
  if (s && !n.allowDeprecated) {
1469
- let c = s.message;
1470
- c || (c = `${a} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(c) || (console.warn(c), this._deprecatedMessages.add(c));
1478
+ let p = s.message;
1479
+ p || (p = `${a} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
1471
1480
  }
1472
1481
  if (!t.name)
1473
1482
  try {
@@ -1504,7 +1513,7 @@ class Ul {
1504
1513
  this.deprecateHook(t, e[t]);
1505
1514
  }
1506
1515
  addHooks(e) {
1507
- const t = Ge(e), n = Object.keys(t).map(
1516
+ const t = je(e), n = Object.keys(t).map(
1508
1517
  (a) => this.hook(a, t[a])
1509
1518
  );
1510
1519
  return () => {
@@ -1513,7 +1522,7 @@ class Ul {
1513
1522
  };
1514
1523
  }
1515
1524
  removeHooks(e) {
1516
- const t = Ge(e);
1525
+ const t = je(e);
1517
1526
  for (const n in t)
1518
1527
  this.removeHook(n, t[n]);
1519
1528
  }
@@ -1522,10 +1531,10 @@ class Ul {
1522
1531
  delete this._hooks[e];
1523
1532
  }
1524
1533
  callHook(e, ...t) {
1525
- return t.unshift(e), this.callHookWith(Ll, e, ...t);
1534
+ return t.unshift(e), this.callHookWith(Rl, e, ...t);
1526
1535
  }
1527
1536
  callHookParallel(e, ...t) {
1528
- return t.unshift(e), this.callHookWith(Rl, e, ...t);
1537
+ return t.unshift(e), this.callHookWith(Ul, e, ...t);
1529
1538
  }
1530
1539
  callHookWith(e, t, ...n) {
1531
1540
  const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
@@ -1556,19 +1565,19 @@ class Ul {
1556
1565
  }
1557
1566
  }
1558
1567
  function Ol() {
1559
- return new Ul();
1568
+ return new Fl();
1560
1569
  }
1561
- function Fl(l) {
1562
- return Array.isArray(l) ? l : [l];
1570
+ function Nl(o) {
1571
+ return Array.isArray(o) ? o : [o];
1563
1572
  }
1564
- const Nl = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
1573
+ const jl = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
1565
1574
  "base",
1566
1575
  "meta",
1567
1576
  "link",
1568
1577
  "style",
1569
1578
  "script",
1570
1579
  "noscript"
1571
- ], jl = [
1580
+ ], Gl = [
1572
1581
  "title",
1573
1582
  "titleTemplate",
1574
1583
  "templateParams",
@@ -1580,19 +1589,19 @@ const Nl = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
1580
1589
  "style",
1581
1590
  "script",
1582
1591
  "noscript"
1583
- ], Gl = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], ft = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], ql = typeof window < "u";
1584
- function We(l) {
1592
+ ], ql = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], ft = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Wl = typeof window < "u";
1593
+ function qe(o) {
1585
1594
  let e = 9;
1586
- for (let t = 0; t < l.length; )
1587
- e = Math.imul(e ^ l.charCodeAt(t++), 9 ** 9);
1595
+ for (let t = 0; t < o.length; )
1596
+ e = Math.imul(e ^ o.charCodeAt(t++), 9 ** 9);
1588
1597
  return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
1589
1598
  }
1590
- function Qe(l) {
1591
- return l._h || We(l._d ? l._d : `${l.tag}:${l.textContent || l.innerHTML || ""}:${Object.entries(l.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
1599
+ function Ye(o) {
1600
+ return o._h || qe(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
1592
1601
  }
1593
- function mt(l, e) {
1594
- const { props: t, tag: n } = l;
1595
- if (Gl.includes(n))
1602
+ function mt(o, e) {
1603
+ const { props: t, tag: n } = o;
1604
+ if (ql.includes(n))
1596
1605
  return n;
1597
1606
  if (n === "link" && t.rel === "canonical")
1598
1607
  return "canonical";
@@ -1602,100 +1611,100 @@ function mt(l, e) {
1602
1611
  n === "meta" && a.push("name", "property", "http-equiv");
1603
1612
  for (const s of a)
1604
1613
  if (typeof t[s] < "u") {
1605
- const c = String(t[s]);
1606
- return e && !e(c) ? !1 : `${n}:${s}:${c}`;
1614
+ const p = String(t[s]);
1615
+ return e && !e(p) ? !1 : `${n}:${s}:${p}`;
1607
1616
  }
1608
1617
  return !1;
1609
1618
  }
1610
- function Xe(l, e) {
1611
- return l == null ? e || null : typeof l == "function" ? l(e) : l;
1619
+ function Ze(o, e) {
1620
+ return o == null ? e || null : typeof o == "function" ? o(e) : o;
1612
1621
  }
1613
- async function Wl(l, e, t) {
1622
+ async function Kl(o, e, t) {
1614
1623
  const n = {
1615
- tag: l,
1624
+ tag: o,
1616
1625
  props: await ht(
1617
1626
  // explicitly check for an object
1618
1627
  // @ts-expect-error untyped
1619
- typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(l) ? "innerHTML" : "textContent"]: e },
1620
- ["templateParams", "titleTemplate"].includes(l)
1628
+ typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
1629
+ ["templateParams", "titleTemplate"].includes(o)
1621
1630
  )
1622
1631
  };
1623
1632
  return ft.forEach((a) => {
1624
1633
  const s = typeof n.props[a] < "u" ? n.props[a] : t[a];
1625
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(a) || Nl.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = s), delete n.props[a]);
1634
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(a) || jl.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = s), delete n.props[a]);
1626
1635
  }), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((a) => ({ ...n, props: { ...n.props, content: a } })) : n;
1627
1636
  }
1628
- function Kl(l, e) {
1629
- const t = l === "class" ? " " : ";";
1630
- return typeof e == "object" && !Array.isArray(e) && (e = Object.entries(e).filter(([, n]) => n).map(([n, a]) => l === "style" ? `${n}:${a}` : n)), (Array.isArray(e) ? e.join(t) : e).split(t).filter((n) => n.trim()).filter(Boolean).join(t);
1637
+ function zl(o, e) {
1638
+ const t = o === "class" ? " " : ";";
1639
+ return typeof e == "object" && !Array.isArray(e) && (e = Object.entries(e).filter(([, n]) => n).map(([n, a]) => o === "style" ? `${n}:${a}` : n)), (Array.isArray(e) ? e.join(t) : e).split(t).filter((n) => n.trim()).filter(Boolean).join(t);
1631
1640
  }
1632
- async function ht(l, e) {
1633
- for (const t of Object.keys(l)) {
1641
+ async function ht(o, e) {
1642
+ for (const t of Object.keys(o)) {
1634
1643
  if (["class", "style"].includes(t)) {
1635
- l[t] = Kl(t, l[t]);
1644
+ o[t] = zl(t, o[t]);
1636
1645
  continue;
1637
1646
  }
1638
- if (l[t] instanceof Promise && (l[t] = await l[t]), !e && !ft.includes(t)) {
1639
- const n = String(l[t]), a = t.startsWith("data-");
1640
- n === "true" || n === "" ? l[t] = a ? "true" : !0 : l[t] || (a && n === "false" ? l[t] = "false" : delete l[t]);
1647
+ if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !ft.includes(t)) {
1648
+ const n = String(o[t]), a = t.startsWith("data-");
1649
+ n === "true" || n === "" ? o[t] = a ? "true" : !0 : o[t] || (a && n === "false" ? o[t] = "false" : delete o[t]);
1641
1650
  }
1642
1651
  }
1643
- return l;
1652
+ return o;
1644
1653
  }
1645
- const zl = 10;
1646
- async function Jl(l) {
1654
+ const Jl = 10;
1655
+ async function xl(o) {
1647
1656
  const e = [];
1648
- return Object.entries(l.resolvedInput).filter(([t, n]) => typeof n < "u" && jl.includes(t)).forEach(([t, n]) => {
1649
- const a = Fl(n);
1650
- e.push(...a.map((s) => Wl(t, s, l)).flat());
1651
- }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = l._i, l.mode && (t._m = l.mode), t._p = (l._i << zl) + n, t));
1657
+ return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Gl.includes(t)).forEach(([t, n]) => {
1658
+ const a = Nl(n);
1659
+ e.push(...a.map((s) => Kl(t, s, o)).flat());
1660
+ }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Jl) + n, t));
1652
1661
  }
1653
- const et = {
1662
+ const Qe = {
1654
1663
  // tags
1655
1664
  base: -10,
1656
1665
  title: 10
1657
- }, tt = {
1666
+ }, et = {
1658
1667
  // relative scores to their default values
1659
1668
  critical: -80,
1660
1669
  high: -10,
1661
1670
  low: 20
1662
1671
  };
1663
- function Ce(l) {
1672
+ function Ce(o) {
1664
1673
  let e = 100;
1665
- const t = l.tagPriority;
1666
- return typeof t == "number" ? t : (l.tag === "meta" ? (l.props["http-equiv"] === "content-security-policy" && (e = -30), l.props.charset && (e = -20), l.props.name === "viewport" && (e = -15)) : l.tag === "link" && l.props.rel === "preconnect" ? e = 20 : l.tag in et && (e = et[l.tag]), typeof t == "string" && t in tt ? e + tt[t] : e);
1674
+ const t = o.tagPriority;
1675
+ return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in Qe && (e = Qe[o.tag]), typeof t == "string" && t in et ? e + et[t] : e);
1667
1676
  }
1668
- const xl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Oe = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
1669
- function _e(l, e, t) {
1670
- if (typeof l != "string" || !l.includes("%"))
1671
- return l;
1672
- function n(c) {
1677
+ const Xl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], tt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
1678
+ function _e(o, e, t) {
1679
+ if (typeof o != "string" || !o.includes("%"))
1680
+ return o;
1681
+ function n(p) {
1673
1682
  let f;
1674
- return ["s", "pageTitle"].includes(c) ? f = e.pageTitle : c.includes(".") ? f = c.split(".").reduce((d, r) => d && d[r] || void 0, e) : f = e[c], typeof f < "u" ? (f || "").replace(/"/g, '\\"') : !1;
1683
+ return ["s", "pageTitle"].includes(p) ? f = e.pageTitle : p.includes(".") ? f = p.split(".").reduce((d, r) => d && d[r] || void 0, e) : f = e[p], typeof f < "u" ? (f || "").replace(/"/g, '\\"') : !1;
1675
1684
  }
1676
- let a = l;
1685
+ let a = o;
1677
1686
  try {
1678
- a = decodeURI(l);
1687
+ a = decodeURI(o);
1679
1688
  } catch {
1680
1689
  }
1681
- return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((c) => {
1682
- const f = n(c.slice(1));
1683
- typeof f == "string" && (l = l.replace(new RegExp(`\\${c}(\\W|$)`, "g"), (d, r) => `${f}${r}`).trim());
1684
- }), l.includes(oe) && (l.endsWith(oe) && (l = l.slice(0, -oe.length).trim()), l.startsWith(oe) && (l = l.slice(oe.length).trim()), l = l.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), l = _e(l, { separator: t }, t)), l;
1690
+ return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
1691
+ const f = n(p.slice(1));
1692
+ typeof f == "string" && (o = o.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (d, r) => `${f}${r}`).trim());
1693
+ }), o.includes(oe) && (o.endsWith(oe) && (o = o.slice(0, -oe.length).trim()), o.startsWith(oe) && (o = o.slice(oe.length).trim()), o = o.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), o = _e(o, { separator: t }, t)), o;
1685
1694
  }
1686
- async function Yl(l, e = {}) {
1687
- const t = e.document || l.resolvedOptions.document;
1688
- if (!t || !l.dirty)
1695
+ async function Yl(o, e = {}) {
1696
+ const t = e.document || o.resolvedOptions.document;
1697
+ if (!t || !o.dirty)
1689
1698
  return;
1690
1699
  const n = { shouldRender: !0, tags: [] };
1691
- if (await l.hooks.callHook("dom:beforeRender", n), !n.shouldRender)
1700
+ if (await o.hooks.callHook("dom:beforeRender", n), !n.shouldRender)
1692
1701
  return;
1693
- const a = (await l.resolveTags()).map((u) => ({
1702
+ const a = (await o.resolveTags()).map((u) => ({
1694
1703
  tag: u,
1695
- id: ke.includes(u.tag) ? Qe(u) : u.tag,
1704
+ id: ke.includes(u.tag) ? Ye(u) : u.tag,
1696
1705
  shouldRender: !0
1697
1706
  }));
1698
- let s = l._dom;
1707
+ let s = o._dom;
1699
1708
  if (!s) {
1700
1709
  s = {
1701
1710
  elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
@@ -1710,15 +1719,15 @@ async function Yl(l, e = {}) {
1710
1719
  ),
1711
1720
  innerHTML: P.innerHTML
1712
1721
  };
1713
- let I = 1, E = mt(T);
1714
- for (; E && k.find((b) => b._d === E); )
1715
- E = `${E}:${I++}`;
1716
- T._d = E || void 0, k.push(T), s.elMap[P.getAttribute("data-hid") || Qe(T)] = P;
1722
+ let I = 1, B = mt(T);
1723
+ for (; B && k.find((b) => b._d === B); )
1724
+ B = `${B}:${I++}`;
1725
+ T._d = B || void 0, k.push(T), s.elMap[P.getAttribute("data-hid") || Ye(T)] = P;
1717
1726
  }
1718
1727
  }
1719
1728
  }
1720
1729
  s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
1721
- function c(u, m, k) {
1730
+ function p(u, m, k) {
1722
1731
  const P = `${u}:${m}`;
1723
1732
  s.sideEffects[P] = k, delete s.pendingSideEffects[P];
1724
1733
  }
@@ -1726,25 +1735,25 @@ async function Yl(l, e = {}) {
1726
1735
  const P = k.tag.endsWith("Attrs");
1727
1736
  s.elMap[u] = m, P || (["textContent", "innerHTML"].forEach((T) => {
1728
1737
  k[T] && k[T] !== m[T] && (m[T] = k[T]);
1729
- }), c(u, "el", () => {
1738
+ }), p(u, "el", () => {
1730
1739
  s.elMap[u]?.remove(), delete s.elMap[u];
1731
1740
  }));
1732
1741
  for (const [T, I] of Object.entries(k._eventHandlers || {}))
1733
1742
  m.getAttribute(`data-${T}`) !== "" && ((k.tag === "bodyAttrs" ? t.defaultView : m).addEventListener(T.replace("on", ""), I.bind(m)), m.setAttribute(`data-${T}`, ""));
1734
1743
  Object.entries(k.props).forEach(([T, I]) => {
1735
- const E = `attr:${T}`;
1744
+ const B = `attr:${T}`;
1736
1745
  if (T === "class")
1737
1746
  for (const b of (I || "").split(" ").filter(Boolean))
1738
- P && c(u, `${E}:${b}`, () => m.classList.remove(b)), !m.classList.contains(b) && m.classList.add(b);
1747
+ P && p(u, `${B}:${b}`, () => m.classList.remove(b)), !m.classList.contains(b) && m.classList.add(b);
1739
1748
  else if (T === "style")
1740
1749
  for (const b of (I || "").split(";").filter(Boolean)) {
1741
- const [$, ...H] = b.split(":").map((F) => F.trim());
1742
- c(u, `${E}:${b}:${$}`, () => {
1750
+ const [$, ...D] = b.split(":").map((O) => O.trim());
1751
+ p(u, `${B}:${b}:${$}`, () => {
1743
1752
  m.style.removeProperty($);
1744
- }), m.style.setProperty($, H.join(":"));
1753
+ }), m.style.setProperty($, D.join(":"));
1745
1754
  }
1746
1755
  else
1747
- m.getAttribute(T) !== I && m.setAttribute(T, I === !0 ? "" : String(I)), P && c(u, E, () => m.removeAttribute(T));
1756
+ m.getAttribute(T) !== I && m.setAttribute(T, I === !0 ? "" : String(I)), P && p(u, B, () => m.removeAttribute(T));
1748
1757
  });
1749
1758
  }
1750
1759
  const d = [], r = {
@@ -1767,45 +1776,45 @@ async function Yl(l, e = {}) {
1767
1776
  u.$el = t.createElement(u.tag.tag), f(u), r[m] = r[m] || t.createDocumentFragment(), r[m].appendChild(u.$el);
1768
1777
  }
1769
1778
  for (const u of a)
1770
- await l.hooks.callHook("dom:renderTag", u, t, c);
1771
- r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((u) => u()), l._dom = s, l.dirty = !1, await l.hooks.callHook("dom:rendered", { renders: a });
1779
+ await o.hooks.callHook("dom:renderTag", u, t, p);
1780
+ r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((u) => u()), o._dom = s, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: a });
1772
1781
  }
1773
- async function Zl(l, e = {}) {
1782
+ async function Zl(o, e = {}) {
1774
1783
  const t = e.delayFn || ((n) => setTimeout(n, 10));
1775
- return l._domUpdatePromise = l._domUpdatePromise || new Promise((n) => t(async () => {
1776
- await Yl(l, e), delete l._domUpdatePromise, n();
1784
+ return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
1785
+ await Yl(o, e), delete o._domUpdatePromise, n();
1777
1786
  }));
1778
1787
  }
1779
1788
  // @__NO_SIDE_EFFECTS__
1780
- function Ql(l) {
1789
+ function Ql(o) {
1781
1790
  return (e) => {
1782
1791
  const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1783
1792
  return t && e.push(JSON.parse(t)), {
1784
1793
  mode: "client",
1785
1794
  hooks: {
1786
1795
  "entries:updated": function(n) {
1787
- Zl(n, l);
1796
+ Zl(n, o);
1788
1797
  }
1789
1798
  }
1790
1799
  };
1791
1800
  };
1792
1801
  }
1793
- const Xl = ["templateParams", "htmlAttrs", "bodyAttrs"], en = {
1802
+ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
1794
1803
  hooks: {
1795
- "tag:normalise": function({ tag: l }) {
1804
+ "tag:normalise": function({ tag: o }) {
1796
1805
  ["hid", "vmid", "key"].forEach((n) => {
1797
- l.props[n] && (l.key = l.props[n], delete l.props[n]);
1806
+ o.props[n] && (o.key = o.props[n], delete o.props[n]);
1798
1807
  });
1799
- const t = mt(l) || (l.key ? `${l.tag}:${l.key}` : !1);
1800
- t && (l._d = t);
1808
+ const t = mt(o) || (o.key ? `${o.tag}:${o.key}` : !1);
1809
+ t && (o._d = t);
1801
1810
  },
1802
- "tags:resolve": function(l) {
1811
+ "tags:resolve": function(o) {
1803
1812
  const e = {};
1804
- l.tags.forEach((n) => {
1813
+ o.tags.forEach((n) => {
1805
1814
  const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, s = e[a];
1806
1815
  if (s) {
1807
1816
  let f = n?.tagDuplicateStrategy;
1808
- if (!f && Xl.includes(n.tag) && (f = "merge"), f === "merge") {
1817
+ if (!f && en.includes(n.tag) && (f = "merge"), f === "merge") {
1809
1818
  const d = s.props;
1810
1819
  ["class", "style"].forEach((r) => {
1811
1820
  d[r] && (n.props[r] ? (r === "style" && !d[r].endsWith(";") && (d[r] += ";"), n.props[r] = `${d[r]} ${n.props[r]}`) : n.props[r] = d[r]);
@@ -1820,8 +1829,8 @@ const Xl = ["templateParams", "htmlAttrs", "bodyAttrs"], en = {
1820
1829
  } else if (Ce(n) > Ce(s))
1821
1830
  return;
1822
1831
  }
1823
- const c = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
1824
- if (ke.includes(n.tag) && c === 0) {
1832
+ const p = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
1833
+ if (ke.includes(n.tag) && p === 0) {
1825
1834
  delete e[a];
1826
1835
  return;
1827
1836
  }
@@ -1831,137 +1840,131 @@ const Xl = ["templateParams", "htmlAttrs", "bodyAttrs"], en = {
1831
1840
  Object.values(e).forEach((n) => {
1832
1841
  const a = n._duped;
1833
1842
  delete n._duped, t.push(n), a && t.push(...a);
1834
- }), l.tags = t, l.tags = l.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
1843
+ }), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
1835
1844
  }
1836
1845
  }
1837
- }, tn = {
1846
+ }, on = {
1838
1847
  mode: "server",
1839
1848
  hooks: {
1840
- "tags:resolve": function(l) {
1849
+ "tags:resolve": function(o) {
1841
1850
  const e = {};
1842
- l.tags.filter((t) => ["titleTemplate", "templateParams", "title"].includes(t.tag) && t._m === "server").forEach((t) => {
1851
+ o.tags.filter((t) => ["titleTemplate", "templateParams", "title"].includes(t.tag) && t._m === "server").forEach((t) => {
1843
1852
  e[t.tag] = t.tag.startsWith("title") ? t.textContent : t.props;
1844
- }), Object.keys(e).length && l.tags.push({
1853
+ }), Object.keys(e).length && o.tags.push({
1845
1854
  tag: "script",
1846
1855
  innerHTML: JSON.stringify(e),
1847
1856
  props: { id: "unhead:payload", type: "application/json" }
1848
1857
  });
1849
1858
  }
1850
1859
  }
1851
- }, on = ["script", "link", "bodyAttrs"], ln = (l) => ({
1860
+ }, ln = ["script", "link", "bodyAttrs"], nn = (o) => ({
1852
1861
  hooks: {
1853
1862
  "tags:resolve": function(e) {
1854
- for (const t of e.tags.filter((n) => on.includes(n.tag)))
1863
+ for (const t of e.tags.filter((n) => ln.includes(n.tag)))
1855
1864
  Object.entries(t.props).forEach(([n, a]) => {
1856
- n.startsWith("on") && typeof a == "function" && (l.ssr && Oe.includes(n) ? (t.props[n] = `this.dataset.${n} = true`, t.props["data-unhead-events"] = "") : delete t.props[n], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[n] = a);
1857
- }), l.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || We(t.props.src || t.props.href));
1865
+ n.startsWith("on") && typeof a == "function" && (o.ssr && tt.includes(n) ? t.props[n] = `this.dataset.${n}fired = true` : delete t.props[n], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[n] = a);
1866
+ }), o.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || qe(t.props.src || t.props.href));
1858
1867
  },
1859
- "dom:renderTag": function(e) {
1860
- const t = e.$el;
1861
- if (!t?.dataset || !("unheadEvents" in t.dataset))
1862
- return;
1863
- delete t.dataset.unheadEvents;
1864
- const n = (a) => e.tag._eventHandlers?.[a]?.call(e.$el, new Event(a.replace("on", "")));
1865
- for (const a of Object.keys(t.dataset).filter((s) => Oe.includes(s)))
1866
- n(a);
1867
- typeof MutationObserver < "u" && new MutationObserver((s) => {
1868
- s.filter((c) => c.attributeName && Oe.includes(c.attributeName.replace("data-", ""))).map((c) => c.attributeName.replace("data-", "")).map(n);
1869
- }).observe(e.$el, { attributes: !0 });
1868
+ "dom:renderTag": function({ $el: e, tag: t }) {
1869
+ for (const n of Object.keys(e?.dataset || {}).filter((a) => tt.some((s) => `${s}fired` === a))) {
1870
+ const a = n.replace("fired", "");
1871
+ t._eventHandlers?.[a]?.call(e, new Event(a.replace("on", "")));
1872
+ }
1870
1873
  }
1871
1874
  }
1872
- }), nn = ["link", "style", "script", "noscript"], an = {
1875
+ }), an = ["link", "style", "script", "noscript"], sn = {
1873
1876
  hooks: {
1874
- "tag:normalise": ({ tag: l }) => {
1875
- l.key && nn.includes(l.tag) && (l.props["data-hid"] = l._h = We(l.key));
1877
+ "tag:normalise": ({ tag: o }) => {
1878
+ o.key && an.includes(o.tag) && (o.props["data-hid"] = o._h = qe(o.key));
1876
1879
  }
1877
1880
  }
1878
- }, sn = {
1881
+ }, rn = {
1879
1882
  hooks: {
1880
- "tags:resolve": (l) => {
1881
- const e = (t) => l.tags.find((n) => n._d === t)?._p;
1882
- for (const { prefix: t, offset: n } of xl)
1883
- for (const a of l.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
1883
+ "tags:resolve": (o) => {
1884
+ const e = (t) => o.tags.find((n) => n._d === t)?._p;
1885
+ for (const { prefix: t, offset: n } of Xl)
1886
+ for (const a of o.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
1884
1887
  const s = e(
1885
1888
  a.tagPriority.replace(t, "")
1886
1889
  );
1887
1890
  typeof s < "u" && (a._p = s + n);
1888
1891
  }
1889
- l.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ce(t) - Ce(n));
1892
+ o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ce(t) - Ce(n));
1890
1893
  }
1891
1894
  }
1892
- }, rn = {
1895
+ }, un = {
1893
1896
  meta: "content",
1894
1897
  link: "href",
1895
1898
  htmlAttrs: "lang"
1896
- }, un = (l) => ({
1899
+ }, dn = (o) => ({
1897
1900
  hooks: {
1898
1901
  "tags:resolve": (e) => {
1899
- const { tags: t } = e, n = t.find((f) => f.tag === "title")?.textContent, a = t.findIndex((f) => f.tag === "templateParams"), s = a !== -1 ? t[a].props : {}, c = s.separator || "|";
1900
- delete s.separator, s.pageTitle = _e(s.pageTitle || n || "", s, c);
1902
+ const { tags: t } = e, n = t.find((f) => f.tag === "title")?.textContent, a = t.findIndex((f) => f.tag === "templateParams"), s = a !== -1 ? t[a].props : {}, p = s.separator || "|";
1903
+ delete s.separator, s.pageTitle = _e(s.pageTitle || n || "", s, p);
1901
1904
  for (const f of t.filter((d) => d.processTemplateParams !== !1)) {
1902
- const d = rn[f.tag];
1903
- d && typeof f.props[d] == "string" ? f.props[d] = _e(f.props[d], s, c) : (f.processTemplateParams === !0 || ["titleTemplate", "title"].includes(f.tag)) && ["innerHTML", "textContent"].forEach((r) => {
1904
- typeof f[r] == "string" && (f[r] = _e(f[r], s, c));
1905
+ const d = un[f.tag];
1906
+ d && typeof f.props[d] == "string" ? f.props[d] = _e(f.props[d], s, p) : (f.processTemplateParams === !0 || ["titleTemplate", "title"].includes(f.tag)) && ["innerHTML", "textContent"].forEach((r) => {
1907
+ typeof f[r] == "string" && (f[r] = _e(f[r], s, p));
1905
1908
  });
1906
1909
  }
1907
- l._templateParams = s, l._separator = c, e.tags = t.filter((f) => f.tag !== "templateParams");
1910
+ o._templateParams = s, o._separator = p, e.tags = t.filter((f) => f.tag !== "templateParams");
1908
1911
  }
1909
1912
  }
1910
- }), dn = {
1913
+ }), cn = {
1911
1914
  hooks: {
1912
- "tags:resolve": (l) => {
1913
- const { tags: e } = l;
1915
+ "tags:resolve": (o) => {
1916
+ const { tags: e } = o;
1914
1917
  let t = e.findIndex((a) => a.tag === "titleTemplate");
1915
1918
  const n = e.findIndex((a) => a.tag === "title");
1916
1919
  if (n !== -1 && t !== -1) {
1917
- const a = Xe(
1920
+ const a = Ze(
1918
1921
  e[t].textContent,
1919
1922
  e[n].textContent
1920
1923
  );
1921
1924
  a !== null ? e[n].textContent = a || e[n].textContent : delete e[n];
1922
1925
  } else if (t !== -1) {
1923
- const a = Xe(
1926
+ const a = Ze(
1924
1927
  e[t].textContent
1925
1928
  );
1926
1929
  a !== null && (e[t].textContent = a, e[t].tag = "title", t = -1);
1927
1930
  }
1928
- t !== -1 && delete e[t], l.tags = e.filter(Boolean);
1931
+ t !== -1 && delete e[t], o.tags = e.filter(Boolean);
1929
1932
  }
1930
1933
  }
1931
- }, cn = {
1934
+ }, pn = {
1932
1935
  hooks: {
1933
- "tags:afterResolve": function(l) {
1934
- for (const e of l.tags)
1936
+ "tags:afterResolve": function(o) {
1937
+ for (const e of o.tags)
1935
1938
  typeof e.innerHTML == "string" && (e.innerHTML && ["application/ld+json", "application/json"].includes(e.props.type) ? e.innerHTML = e.innerHTML.replace(/</g, "\\u003C") : e.innerHTML = e.innerHTML.replace(new RegExp(`</${e.tag}`, "g"), `<\\/${e.tag}`));
1936
1939
  }
1937
1940
  }
1938
1941
  };
1939
1942
  // @__NO_SIDE_EFFECTS__
1940
- function pn(l = {}) {
1941
- const e = fn(l);
1943
+ function fn(o = {}) {
1944
+ const e = mn(o);
1942
1945
  return e.use(/* @__PURE__ */ Ql()), e;
1943
1946
  }
1944
- function ot(l, e) {
1945
- return !l || l === "server" && e || l === "client" && !e;
1947
+ function ot(o, e) {
1948
+ return !o || o === "server" && e || o === "client" && !e;
1946
1949
  }
1947
- function fn(l = {}) {
1950
+ function mn(o = {}) {
1948
1951
  const e = Ol();
1949
- e.addHooks(l.hooks || {}), l.document = l.document || (ql ? document : void 0);
1950
- const t = !l.document, n = () => {
1952
+ e.addHooks(o.hooks || {}), o.document = o.document || (Wl ? document : void 0);
1953
+ const t = !o.document, n = () => {
1951
1954
  f.dirty = !0, e.callHook("entries:updated", f);
1952
1955
  };
1953
1956
  let a = 0, s = [];
1954
- const c = [], f = {
1955
- plugins: c,
1957
+ const p = [], f = {
1958
+ plugins: p,
1956
1959
  dirty: !1,
1957
- resolvedOptions: l,
1960
+ resolvedOptions: o,
1958
1961
  hooks: e,
1959
1962
  headEntries() {
1960
1963
  return s;
1961
1964
  },
1962
1965
  use(d) {
1963
1966
  const r = typeof d == "function" ? d(f) : d;
1964
- (!r.key || !c.some((u) => u.key === r.key)) && (c.push(r), ot(r.mode, t) && e.addHooks(r.hooks || {}));
1967
+ (!r.key || !p.some((u) => u.key === r.key)) && (p.push(r), ot(r.mode, t) && e.addHooks(r.hooks || {}));
1965
1968
  },
1966
1969
  push(d, r) {
1967
1970
  delete r?.head;
@@ -1986,7 +1989,7 @@ function fn(l = {}) {
1986
1989
  for (const r of d.entries) {
1987
1990
  const u = r.resolvedInput || r.input;
1988
1991
  if (r.resolvedInput = await (r.transform ? r.transform(u) : u), r.resolvedInput)
1989
- for (const m of await Jl(r)) {
1992
+ for (const m of await xl(r)) {
1990
1993
  const k = { tag: m, entry: r, resolvedOptions: f.resolvedOptions };
1991
1994
  await e.callHook("tag:normalise", k), d.tags.push(k.tag);
1992
1995
  }
@@ -1996,51 +1999,51 @@ function fn(l = {}) {
1996
1999
  ssr: t
1997
2000
  };
1998
2001
  return [
1999
- en,
2000
2002
  tn,
2001
- ln,
2002
- an,
2003
+ on,
2004
+ nn,
2003
2005
  sn,
2004
- un,
2006
+ rn,
2005
2007
  dn,
2006
2008
  cn,
2007
- ...l?.plugins || []
2009
+ pn,
2010
+ ...o?.plugins || []
2008
2011
  ].forEach((d) => f.use(d)), f.hooks.callHook("init", f), f;
2009
2012
  }
2010
- const mn = Wt.startsWith("3");
2011
- function hn(l) {
2012
- return typeof l == "function" ? l() : o(l);
2013
+ const hn = Ut.startsWith("3");
2014
+ function yn(o) {
2015
+ return typeof o == "function" ? o() : l(o);
2013
2016
  }
2014
- function qe(l, e = "") {
2015
- if (l instanceof Promise)
2016
- return l;
2017
- const t = hn(l);
2018
- return !l || !t ? t : Array.isArray(t) ? t.map((n) => qe(n, e)) : typeof t == "object" ? Object.fromEntries(
2019
- Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, o(a)] : [n, qe(a, n)])
2017
+ function Ge(o, e = "") {
2018
+ if (o instanceof Promise)
2019
+ return o;
2020
+ const t = yn(o);
2021
+ return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ge(n, e)) : typeof t == "object" ? Object.fromEntries(
2022
+ Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, l(a)] : [n, Ge(a, n)])
2020
2023
  ) : t;
2021
2024
  }
2022
2025
  const vn = {
2023
2026
  hooks: {
2024
- "entries:resolve": function(l) {
2025
- for (const e of l.entries)
2026
- e.resolvedInput = qe(e.input);
2027
+ "entries:resolve": function(o) {
2028
+ for (const e of o.entries)
2029
+ e.resolvedInput = Ge(e.input);
2027
2030
  }
2028
2031
  }
2029
2032
  }, gn = "usehead";
2030
- function yn(l) {
2033
+ function bn(o) {
2031
2034
  return {
2032
2035
  install(t) {
2033
- mn && (t.config.globalProperties.$unhead = l, t.config.globalProperties.$head = l, t.provide(gn, l));
2036
+ hn && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(gn, o));
2034
2037
  }
2035
2038
  }.install;
2036
2039
  }
2037
- function bn(l = {}) {
2038
- l.domDelayFn = l.domDelayFn || ((t) => qt(() => setTimeout(() => t(), 0)));
2039
- const e = /* @__PURE__ */ pn(l);
2040
- return e.use(vn), e.install = yn(e), e;
2040
+ function kn(o = {}) {
2041
+ o.domDelayFn = o.domDelayFn || ((t) => Rt(() => setTimeout(() => t(), 0)));
2042
+ const e = /* @__PURE__ */ fn(o);
2043
+ return e.use(vn), e.install = bn(e), e;
2041
2044
  }
2042
- const kn = Kt(), _n = bn(), Vn = Yt();
2043
- class Tn extends HTMLElement {
2045
+ const _n = zt(), Vn = kn(), Tn = Yt();
2046
+ class $n extends HTMLElement {
2044
2047
  vueApp;
2045
2048
  constructor() {
2046
2049
  super();
@@ -2053,21 +2056,22 @@ class Tn extends HTMLElement {
2053
2056
  let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
2054
2057
  const n = (d) => d.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (r, u) => (u ? "-" : "") + r.toLowerCase()), a = (d) => d.replace(/-./g, (r) => r[1].toUpperCase()), s = {};
2055
2058
  t = t.map(n);
2056
- const c = {};
2059
+ const p = {};
2057
2060
  for (const d of this.attributes) {
2058
2061
  const u = d.name.split(".");
2059
- u.length > 1 && (c[u[0]] || (c[u[0]] = {}), c[u[0]][a(u[1])] = d.value);
2062
+ u.length > 1 && (p[u[0]] || (p[u[0]] = {}), p[u[0]][a(u[1])] = d.value);
2060
2063
  }
2061
2064
  for (const d of t) {
2062
2065
  let r = this.attributes.getNamedItem(d)?.value;
2063
- c.hasOwnProperty(d) && (r = c[d]), s[d] = r;
2066
+ p.hasOwnProperty(d) && (r = p[d]), s[d] = r;
2064
2067
  }
2065
- this.vueApp = zt(be, s), this.vueApp.provide("emitter", Vn), this.vueApp.use(_n), this.vueApp.use(kn), this.vueApp.use(lo), this.vueApp.use(Jt), this.vueApp.use(no), this.vueApp.use(xt, { bootstrap: !0 });
2068
+ this.vueApp = Ft(be, s), Jt(this.vueApp), this.vueApp.provide("emitter", Tn), this.vueApp.use(Vn), this.vueApp.use(_n), this.vueApp.use(no), this.vueApp.use(xt), this.vueApp.use(ao), this.vueApp.use(Xt, { bootstrap: !0 });
2066
2069
  const f = document.createElement("div");
2067
2070
  this.vueApp.mount(f), this.appendChild(f.children[0]);
2068
2071
  }
2069
2072
  }
2070
- window.customElements.define("konnectio-hotel", Tn);
2073
+ window.customElements.define("konnectio-hotel", $n);
2071
2074
  export {
2072
- Tn as default
2075
+ $n as default
2073
2076
  };
2077
+ //# sourceMappingURL=hotel.js.map