@konnectio/core 4.0.70 → 4.0.72

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