@konnectio/core 4.0.66 → 4.0.68

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