@konnectio/core 4.0.56-rc45 → 4.0.56-rc47

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