@konnectio/core 4.0.65 → 4.0.67

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