@konnectio/core 4.0.56-rc54 → 4.0.56-rc55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/{ActionField-BAp2vX0c.js → ActionField-BAL1bpnL.js} +2 -2
  2. package/dist/ActionField-BAL1bpnL.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CLbK0aiV.js → AvailabilitySkeleton-BX61UaDK.js} +4 -4
  4. package/dist/AvailabilitySkeleton-BX61UaDK.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DcvDunKe.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js.br +0 -0
  7. package/dist/{CheckoutWindow-DmfC4Srp.js → CheckoutWindow-DufEgcza.js} +2 -2
  8. package/dist/CheckoutWindow-DufEgcza.js.br +0 -0
  9. package/dist/{ErrorMessage-CS4ye8ja.js → ErrorMessage-CbGOS1Nq.js} +2 -2
  10. package/dist/ErrorMessage-CbGOS1Nq.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-pZs44xQJ.js → EventAvailabilityForm-CO2Vt9WR.js} +3 -3
  12. package/dist/EventAvailabilityForm-CO2Vt9WR.js.br +0 -0
  13. package/dist/{Field-BYo5ZgcX.js → Field-flvSuRTL.js} +2 -2
  14. package/dist/Field-flvSuRTL.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BOfUKyXB.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js} +9 -11
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js.br +0 -0
  17. package/dist/{TermsOfService-DGenO4ja.js → TermsOfService-ZtJSXzfs.js} +3 -3
  18. package/dist/TermsOfService-ZtJSXzfs.js.br +0 -0
  19. package/dist/{_-DkHrmIh0.js → _-Wr8LhfrM.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-owYAL2LB.js → _.vue_vue_type_style_index_0_lang-1ZRqGUnk.js} +2 -2
  21. package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js.br +0 -0
  22. package/dist/availability.js +5 -5
  23. package/dist/availability.js.br +0 -0
  24. package/dist/deep-link.js +2 -2
  25. package/dist/event.js +6 -6
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +6 -6
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +7 -7
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/{giftCard-DEu3JXkl.js → giftCard-DHP_enh5.js} +9 -9
  32. package/dist/giftCard-DHP_enh5.js.br +0 -0
  33. package/dist/hotel.js +429 -427
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-CCsASN-l.js → masonry.plugin-BMRfOcVe.js} +2460 -2446
  36. package/dist/masonry.plugin-BMRfOcVe.js.br +0 -0
  37. package/dist/polyfill.js +203 -203
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField-BAp2vX0c.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-CLbK0aiV.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DcvDunKe.js.br +0 -0
  45. package/dist/CheckoutWindow-DmfC4Srp.js.br +0 -0
  46. package/dist/ErrorMessage-CS4ye8ja.js.br +0 -0
  47. package/dist/EventAvailabilityForm-pZs44xQJ.js.br +0 -0
  48. package/dist/Field-BYo5ZgcX.js.br +0 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BOfUKyXB.js.br +0 -0
  50. package/dist/TermsOfService-DGenO4ja.js.br +0 -0
  51. package/dist/_.vue_vue_type_style_index_0_lang-owYAL2LB.js.br +0 -0
  52. package/dist/giftCard-DEu3JXkl.js.br +0 -0
  53. package/dist/masonry.plugin-CCsASN-l.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,20 +1,20 @@
1
- import { d as X, r as le, o as c, b as A, w as $, v as Ge, g as a, t as v, u as o, y as qe, z as We, f as g, a as f, A as F, F as E, e as _, D as Je, x as N, i as Ce, c as G, p as kt, j as bt, h as et, q as Pe, n as Ae, S as Zt, N as eo, K as to, O as oo, k as lo } from "./_commonjsHelpers-04Qj4xBt.js";
2
- import { h as ne, s as oe, b as be, y as pe, m as De, z as K, B as ue, Q as Qe, H as rt, R as re, A as te, D as no, _ as ce, k as Ie, U as _t, l as Xe, C as de, j as Vt, J as Tt, r as dt, T as se, I as ao, V as io, a as so, n as ro, N as ut, W as uo, X as ct, o as co, p as po, F as mo, q as fo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BOfUKyXB.js";
3
- import { R as ho, B as Be, L as vo, S as yo, M as go, a as Ke, C as ko, T as bo, V as _o, G as Vo } from "./masonry.plugin-CCsASN-l.js";
4
- import { A as To, H as $o } from "./AvailabilitySkeleton-CLbK0aiV.js";
5
- import { S as wo } from "./TermsOfService-DGenO4ja.js";
6
- import { a as He, B as Co, P as Po, C as Ao } from "./CheckoutWindow-DmfC4Srp.js";
7
- import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DcvDunKe.js";
1
+ import { d as Y, r as oe, o as c, b as A, w as $, v as qe, u as o, a as f, g as a, t as y, y as We, z as Ke, f as g, e as _, A as F, F as E, D as Qe, x as N, i as Ce, c as G, p as bt, j as _t, h as tt, q as Pe, n as Ae, S as Zt, N as eo, K as to, O as oo, k as lo } from "./_commonjsHelpers-04Qj4xBt.js";
2
+ import { h as ne, s as X, b as _e, y as pe, m as be, z as K, B as ue, Q as Xe, H as dt, R as re, A as te, D as no, _ as ce, k as Se, U as Vt, l as Ye, C as de, j as Tt, J as $t, r as ut, T as se, I as ao, V as io, a as so, n as ro, N as ct, W as uo, X as pt, o as co, p as po, F as mo, q as fo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js";
3
+ import { R as ho, B as Ie, L as yo, S as vo, M as go, a as ze, C as ko, T as bo, V as _o, G as Vo } from "./masonry.plugin-BMRfOcVe.js";
4
+ import { A as To, H as $o } from "./AvailabilitySkeleton-BX61UaDK.js";
5
+ import { S as wo } from "./TermsOfService-ZtJSXzfs.js";
6
+ import { a as De, B as Co, P as Po, C as Ao } from "./CheckoutWindow-DufEgcza.js";
7
+ import { _ as wt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js";
8
8
  import "./deep-link.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] = "ed6200a4-2906-4277-878b-b8753df383ac", n._sentryDebugIdIdentifier = "sentry-dbid-ed6200a4-2906-4277-878b-b8753df383ac");
12
+ l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "f434d3c7-640c-4a32-a25c-5809b1b7c5df", n._sentryDebugIdIdentifier = "sentry-dbid-f434d3c7-640c-4a32-a25c-5809b1b7c5df");
13
13
  } catch {
14
14
  }
15
15
  })();
16
- const Do = { class: "konnectio-hotel-reservation-warning" }, Ho = { class: "konnectio-hotel-reservation-warning" }, So = { class: "konnectio-hotel-reservation-warning" };
17
- const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnectio-reservation-actions" }, Lo = /* @__PURE__ */ X({
16
+ const Do = { key: 0 }, Ho = { class: "konnectio-hotel-reservation-warning" }, So = { class: "konnectio-hotel-reservation-warning" }, Io = { class: "konnectio-hotel-reservation-warning" };
17
+ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnectio-reservation-actions" }, Uo = /* @__PURE__ */ Y({
18
18
  __name: "HotelReservationForm",
19
19
  props: {
20
20
  showGiftCard: { type: Boolean, default: !1 },
@@ -29,7 +29,7 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
29
29
  departureDefault: m,
30
30
  disableNewsletterSignup: p,
31
31
  currency: u
32
- } = oe(be()), {
32
+ } = X(_e()), {
33
33
  arrivalTime: r,
34
34
  departureTime: d,
35
35
  roomDisplay: h,
@@ -46,150 +46,150 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
46
46
  locationMismatch: Q,
47
47
  newsMails: R,
48
48
  termsOfService: x,
49
- discountCode: Y,
50
- hasTermOfService: Ee,
49
+ discountCode: Z,
50
+ hasTermOfService: Be,
51
51
  acceptTerms: M,
52
52
  totalTemplateAddonPrice: me
53
- } = oe(pe()), { removeRoom: _e, validateDiscountCode: fe } = pe(), { getHotelLocationName: Me } = De(), he = le(!1);
54
- function ve(Z) {
55
- return Z.reduce((L, { totalPrice: ye }) => L + ye, 0);
53
+ } = X(pe()), { hasHotelLocations: ye } = X(be()), { removeRoom: Ve, validateDiscountCode: Ee } = pe(), { getHotelLocationName: Me } = be(), fe = oe(!1);
54
+ function ve(le) {
55
+ return le.reduce((L, { totalPrice: ge }) => L + ge, 0);
56
56
  }
57
- return (Z, z) => (c(), A(ho, {
58
- "discount-code": o(Y),
59
- "onUpdate:discountCode": z[4] || (z[4] = (L) => N(Y) ? Y.value = L : null),
60
- "validate-discount-code": o(fe),
57
+ return (le, z) => (c(), A(ho, {
58
+ "discount-code": o(Z),
59
+ "onUpdate:discountCode": z[4] || (z[4] = (L) => N(Z) ? Z.value = L : null),
60
+ "validate-discount-code": o(Ee),
61
61
  "total-price": o(P),
62
- "show-gift-card": Z.showGiftCard,
63
- "show-terms-notice": Z.showTermsNotice,
62
+ "show-gift-card": le.showGiftCard,
63
+ "show-terms-notice": le.showTermsNotice,
64
64
  "is-sidebar-loading": o(w),
65
65
  notice: o(l)("hotel.reservationNotice")
66
66
  }, {
67
67
  form: $(() => [
68
- Ge(Z.$slots, "form", {}, void 0, !0)
68
+ qe(le.$slots, "form", {}, void 0, !0)
69
69
  ]),
70
70
  "reservation-summary": $(() => [
71
- a("li", null, [
72
- a("span", null, v(o(l)("general.location")), 1),
71
+ o(ye) ? (c(), f("li", Do, [
72
+ a("span", null, y(o(l)("general.location")), 1),
73
73
  a("b", null, [
74
- a("span", null, v(o(Me)(o(j))), 1),
75
- qe(a("span", Do, [
74
+ a("span", null, y(o(Me)(o(j))), 1),
75
+ We(a("span", Ho, [
76
76
  g(K, {
77
77
  icon: "exclamation-triangle",
78
78
  type: "fas"
79
79
  })
80
80
  ], 512), [
81
- [We, o(Q)]
81
+ [Ke, o(Q)]
82
82
  ])
83
83
  ])
84
- ]),
84
+ ])) : _("", !0),
85
85
  a("li", null, [
86
- a("span", null, v(o(l)("booking.reservation.arrival")), 1),
86
+ a("span", null, y(o(l)("booking.reservation.arrival")), 1),
87
87
  a("b", null, [
88
- a("span", null, v(o(t) ? o(ue)(o(C)) : `${o(ue)(o(C))}, ${o(e) ? o(s) : o(r)}`), 1),
89
- qe(a("span", Ho, [
88
+ a("span", null, y(o(t) ? o(ue)(o(C)) : `${o(ue)(o(C))}, ${o(e) ? o(s) : o(r)}`), 1),
89
+ We(a("span", So, [
90
90
  g(K, {
91
91
  icon: "exclamation-triangle",
92
92
  type: "fas"
93
93
  })
94
94
  ], 512), [
95
- [We, o(O)]
95
+ [Ke, o(O)]
96
96
  ])
97
97
  ])
98
98
  ]),
99
99
  a("li", null, [
100
- a("span", null, v(o(l)("booking.reservation.departure")), 1),
100
+ a("span", null, y(o(l)("booking.reservation.departure")), 1),
101
101
  a("b", null, [
102
- a("span", null, v(o(t) ? o(ue)(o(H)) : `${o(ue)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
103
- qe(a("span", So, [
102
+ a("span", null, y(o(t) ? o(ue)(o(H)) : `${o(ue)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
103
+ We(a("span", Io, [
104
104
  g(K, {
105
105
  icon: "exclamation-triangle",
106
106
  type: "fas"
107
107
  })
108
108
  ], 512), [
109
- [We, o(O)]
109
+ [Ke, o(O)]
110
110
  ])
111
111
  ])
112
112
  ]),
113
113
  a("li", null, [
114
- a("span", null, v(o(l)("booking.reservation.nights")), 1),
115
- a("b", null, v(o(Qe)(o(C), o(H))) + " " + v(o(rt)(o(Qe)(o(C), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
114
+ a("span", null, y(o(l)("booking.reservation.nights")), 1),
115
+ a("b", null, y(o(Xe)(o(C), o(H))) + " " + y(o(dt)(o(Xe)(o(C), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
116
116
  ]),
117
- o(k) ? (c(!0), f(E, { key: 0 }, F(o(k), (L) => (c(), f("li", {
117
+ o(k) ? (c(!0), f(E, { key: 1 }, F(o(k), (L) => (c(), f("li", {
118
118
  key: L.id
119
119
  }, [
120
- a("span", null, v(`${o(l)("general.discountCode")} (${L.value})`), 1),
121
- a("b", null, v(L.key), 1)
120
+ a("span", null, y(`${o(l)("general.discountCode")} (${L.value})`), 1),
121
+ a("b", null, y(L.key), 1)
122
122
  ]))), 128)) : _("", !0)
123
123
  ]),
124
124
  "price-summary": $(() => [
125
125
  isNaN(o(V)) && o(h).length > 0 ? (c(!0), f(E, { key: 0 }, F(o(h), ({
126
126
  roomGroupID: L,
127
- title: ye,
127
+ title: ge,
128
128
  variants: Le
129
129
  }) => (c(), f("div", { key: L }, [
130
130
  a("h6", null, [
131
- a("span", null, v(ye), 1)
131
+ a("span", null, y(ge), 1)
132
132
  ]),
133
- (c(!0), f(E, null, F(Le, (Ve, ge) => (c(), f("div", { key: ge }, [
134
- (c(!0), f(E, null, F(Ve.rooms, (ae, Ue) => (c(), f("ul", { key: Ue }, [
133
+ (c(!0), f(E, null, F(Le, (he, Ue) => (c(), f("div", { key: Ue }, [
134
+ (c(!0), f(E, null, F(he.rooms, (ae, Re) => (c(), f("ul", { key: Re }, [
135
135
  a("li", null, [
136
136
  a("span", null, [
137
137
  a("span", null, [
138
- Je(v(o(re)(Ve.name)) + " ( ", 1),
138
+ Qe(y(o(re)(he.name)) + " ( ", 1),
139
139
  g(K, {
140
140
  icon: "male",
141
141
  type: "fas",
142
142
  color: "font"
143
143
  }),
144
- a("span", null, v(ae.adultsCount), 1),
144
+ a("span", null, y(ae.adultsCount), 1),
145
145
  ae.childrenCount > 0 ? (c(), f(E, { key: 0 }, [
146
146
  g(K, {
147
147
  icon: "child",
148
148
  type: "fas",
149
149
  color: "font"
150
150
  }),
151
- a("span", null, v(ae.childrenCount), 1)
151
+ a("span", null, y(ae.childrenCount), 1)
152
152
  ], 64)) : _("", !0),
153
- Je(") ")
153
+ Qe(") ")
154
154
  ])
155
155
  ]),
156
156
  a("b", null, [
157
- a("span", null, v(o(te)(ae.totalPrice, o(u))), 1),
157
+ a("span", null, y(o(te)(ae.totalPrice, o(u))), 1),
158
158
  _("", !0)
159
159
  ])
160
160
  ]),
161
- ve(ae.roomAddons) > 0 ? (c(), f("li", Io, [
162
- a("span", null, v(o(l)("general.addons")), 1),
163
- a("b", null, v(o(te)(ve(ae.roomAddons), o(u))), 1)
161
+ ve(ae.roomAddons) > 0 ? (c(), f("li", Bo, [
162
+ a("span", null, y(o(l)("general.addons")), 1),
163
+ a("b", null, y(o(te)(ve(ae.roomAddons), o(u))), 1)
164
164
  ])) : _("", !0)
165
165
  ]))), 128))
166
166
  ]))), 128))
167
167
  ]))), 128)) : _("", !0),
168
- o(I) && o(B) ? (c(), f("div", Bo, [
168
+ o(I) && o(B) ? (c(), f("div", Eo, [
169
169
  a("h6", null, [
170
- a("span", null, v(o(re)(o(B).name)), 1)
170
+ a("span", null, y(o(re)(o(B).name)), 1)
171
171
  ]),
172
172
  a("div", null, [
173
173
  a("ul", null, [
174
174
  a("li", null, [
175
175
  a("span", null, [
176
- a("span", null, v(o(re)(o(I).title)), 1)
176
+ a("span", null, y(o(re)(o(I).title)), 1)
177
177
  ]),
178
178
  a("b", null, [
179
- a("span", null, v(o(te)(o(I).extraPrice, o(u))), 1)
179
+ a("span", null, y(o(te)(o(I).extraPrice, o(u))), 1)
180
180
  ])
181
181
  ]),
182
- o(me) ? (c(), f("li", Eo, [
183
- a("span", null, v(o(l)("general.addons")), 1),
184
- a("b", null, v(o(te)(o(me), o(u))), 1)
182
+ o(me) ? (c(), f("li", Mo, [
183
+ a("span", null, y(o(l)("general.addons")), 1),
184
+ a("b", null, y(o(te)(o(me), o(u))), 1)
185
185
  ])) : _("", !0)
186
186
  ])
187
187
  ])
188
188
  ])) : _("", !0)
189
189
  ]),
190
190
  actions: $(() => [
191
- a("ul", Mo, [
192
- o(p) ? _("", !0) : (c(), A(He, {
191
+ a("ul", Lo, [
192
+ o(p) ? _("", !0) : (c(), A(De, {
193
193
  key: 0,
194
194
  modelValue: o(R),
195
195
  "onUpdate:modelValue": z[0] || (z[0] = (L) => N(R) ? R.value = L : null),
@@ -197,7 +197,7 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
197
197
  name: "newsletter",
198
198
  label: o(l)("booking.reservation.newsletterSignUp")
199
199
  }, null, 8, ["modelValue", "label"])),
200
- o(Ee) ? (c(), A(He, {
200
+ o(Be) ? (c(), A(De, {
201
201
  key: 1,
202
202
  modelValue: o(M),
203
203
  "onUpdate:modelValue": z[2] || (z[2] = (L) => N(M) ? M.value = L : null),
@@ -213,9 +213,9 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
213
213
  terms: $(() => [
214
214
  a("a", {
215
215
  class: "konnectio-accept-terms-link",
216
- onClick: z[1] || (z[1] = Ce((L) => he.value = !0, ["prevent"]))
216
+ onClick: z[1] || (z[1] = Ce((L) => fe.value = !0, ["prevent"]))
217
217
  }, [
218
- a("span", null, v(o(rt)(o(l)("general.termsAndConditions"))), 1)
218
+ a("span", null, y(o(dt)(o(l)("general.termsAndConditions"))), 1)
219
219
  ])
220
220
  ]),
221
221
  _: 1
@@ -223,21 +223,21 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
223
223
  ]),
224
224
  _: 1
225
225
  }, 8, ["modelValue"])) : _("", !0),
226
- Ge(Z.$slots, "actions", {}, void 0, !0),
226
+ qe(le.$slots, "actions", {}, void 0, !0),
227
227
  g(wo, {
228
- modelValue: he.value,
229
- "onUpdate:modelValue": z[3] || (z[3] = (L) => he.value = L),
228
+ modelValue: fe.value,
229
+ "onUpdate:modelValue": z[3] || (z[3] = (L) => fe.value = L),
230
230
  description: o(x)
231
231
  }, null, 8, ["modelValue", "description"])
232
232
  ])
233
233
  ]),
234
234
  navigation: $(() => [
235
- Ge(Z.$slots, "navigation", {}, void 0, !0)
235
+ qe(le.$slots, "navigation", {}, void 0, !0)
236
236
  ]),
237
237
  _: 3
238
238
  }, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
239
239
  }
240
- }), ze = /* @__PURE__ */ ce(Lo, [["__scopeId", "data-v-0a5b4844"]]), Uo = (n) => (kt("data-v-69fe83d8"), n = n(), bt(), n), Ro = { class: "konnectio-room-config-option" }, No = { key: 0 }, Fo = { class: "konnectio-selected-room-config" }, Oo = { class: "konnectio-selected-room-config-people" }, jo = { key: 0 }, Go = { class: "konnectio-selected-room-config-price" }, qo = /* @__PURE__ */ Uo(() => /* @__PURE__ */ a("span", null, null, -1)), Wo = /* @__PURE__ */ X({
240
+ }), xe = /* @__PURE__ */ ce(Uo, [["__scopeId", "data-v-61664f48"]]), Ro = (n) => (bt("data-v-69fe83d8"), n = n(), _t(), n), No = { class: "konnectio-room-config-option" }, Fo = { key: 0 }, Oo = { class: "konnectio-selected-room-config" }, jo = { class: "konnectio-selected-room-config-people" }, Go = { key: 0 }, qo = { class: "konnectio-selected-room-config-price" }, Wo = /* @__PURE__ */ Ro(() => /* @__PURE__ */ a("span", null, null, -1)), Ko = /* @__PURE__ */ Y({
241
241
  __name: "RoomConfigField",
242
242
  props: {
243
243
  modelValue: {},
@@ -248,7 +248,7 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
248
248
  },
249
249
  emits: ["update:modelValue"],
250
250
  setup(n, { emit: l }) {
251
- const { t } = ne(), { currency: e } = oe(be()), i = l, s = n;
251
+ const { t } = ne(), { currency: e } = X(_e()), i = l, s = n;
252
252
  function m(u) {
253
253
  i("update:modelValue", u);
254
254
  }
@@ -256,7 +256,7 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
256
256
  get: () => s.modelValue,
257
257
  set: (u) => m(u)
258
258
  });
259
- return (u, r) => (c(), A(Ie, {
259
+ return (u, r) => (c(), A(Se, {
260
260
  modelValue: p.value,
261
261
  "onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
262
262
  label: u.label,
@@ -270,56 +270,56 @@ const Io = { key: 0 }, Bo = { key: 1 }, Eo = { key: 0 }, Mo = { class: "konnecti
270
270
  searchable: !1
271
271
  }, {
272
272
  option: $(({ data: d }) => [
273
- a("span", Ro, [
273
+ a("span", No, [
274
274
  a("div", null, [
275
275
  g(K, {
276
276
  icon: "male",
277
277
  type: "fas",
278
278
  color: "font"
279
279
  }),
280
- a("span", null, v(`${d.adults}`), 1),
281
- d.children > 0 ? (c(), f("span", No, [
280
+ a("span", null, y(`${d.adults}`), 1),
281
+ d.children > 0 ? (c(), f("span", Fo, [
282
282
  g(K, {
283
283
  icon: "child",
284
284
  type: "fas",
285
285
  color: "font"
286
286
  }),
287
- a("span", null, v(`${d.children}`), 1)
287
+ a("span", null, y(`${d.children}`), 1)
288
288
  ])) : _("", !0)
289
289
  ]),
290
- a("span", null, v(`(${o(te)(d.price, o(e))})`), 1)
290
+ a("span", null, y(`(${o(te)(d.price, o(e))})`), 1)
291
291
  ])
292
292
  ]),
293
293
  "selected-option": $(({ data: d }) => [
294
- a("div", Fo, [
295
- a("div", Oo, [
294
+ a("div", Oo, [
295
+ a("div", jo, [
296
296
  a("div", null, [
297
297
  _("", !0),
298
- a("span", null, v(`${d.adults} ${d.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
298
+ a("span", null, y(`${d.adults} ${d.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
299
299
  ]),
300
- d.children > 0 ? (c(), f("div", jo, [
300
+ d.children > 0 ? (c(), f("div", Go, [
301
301
  _("", !0),
302
- a("span", null, v(`& ${d.children} ${d.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
302
+ a("span", null, y(`& ${d.children} ${d.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
303
303
  ])) : _("", !0)
304
304
  ]),
305
- a("div", Go, [
306
- qo,
307
- Je(" " + v(`(${o(te)(d.price, o(e))})`), 1)
305
+ a("div", qo, [
306
+ Wo,
307
+ Qe(" " + y(`(${o(te)(d.price, o(e))})`), 1)
308
308
  ])
309
309
  ])
310
310
  ]),
311
311
  _: 1
312
312
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
313
313
  }
314
- }), Ko = /* @__PURE__ */ ce(Wo, [["__scopeId", "data-v-69fe83d8"]]), zo = { class: "konnectio-availability-listing-selection" }, xo = { key: 1 }, Jo = { class: "konnectio-listing-config-body" }, Qo = { class: "konnectio-listing-units-body" };
315
- const Xo = /* @__PURE__ */ X({
314
+ }), zo = /* @__PURE__ */ ce(Ko, [["__scopeId", "data-v-69fe83d8"]]), xo = { class: "konnectio-availability-listing-selection" }, Jo = { key: 1 }, Qo = { class: "konnectio-listing-config-body" }, Xo = { class: "konnectio-listing-units-body" };
315
+ const Yo = /* @__PURE__ */ Y({
316
316
  __name: "Hotel",
317
317
  props: {
318
318
  room: {},
319
319
  layout: {}
320
320
  },
321
321
  setup(n) {
322
- const { t: l } = ne(), t = n, e = le([]);
322
+ const { t: l } = ne(), t = n, e = oe([]);
323
323
  function i(k) {
324
324
  e.value[k].config.push({
325
325
  id: NaN,
@@ -330,7 +330,7 @@ const Xo = /* @__PURE__ */ X({
330
330
  const s = G(() => t.room.rates.map((k) => ({
331
331
  label: k.name,
332
332
  value: k.id
333
- }))), { hideAvailableRoomAmount: m } = oe(be()), { roomSelect: p } = oe(pe()), { addToCart: u, removeFromCart: r } = _t(), d = (k, C) => t.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === C), h = G(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), V = (k, C) => d(k, C) ? d(k, C)?.rooms : null, P = (k) => t.room.rates.length > 0 ? t.room.rates.find((C) => C.id === k)?.occupantRates.map((C) => ({
333
+ }))), { hideAvailableRoomAmount: m } = X(_e()), { roomSelect: p } = X(pe()), { addToCart: u, removeFromCart: r } = Vt(), d = (k, C) => t.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === C), h = G(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), V = (k, C) => d(k, C) ? d(k, C)?.rooms : null, P = (k) => t.room.rates.length > 0 ? t.room.rates.find((C) => C.id === k)?.occupantRates.map((C) => ({
334
334
  value: C.index,
335
335
  price: C.totalPrice,
336
336
  adults: C.adultsCount,
@@ -354,7 +354,7 @@ const Xo = /* @__PURE__ */ X({
354
354
  }]
355
355
  });
356
356
  }
357
- et(() => {
357
+ tt(() => {
358
358
  I();
359
359
  });
360
360
  const B = G(() => JSON.parse(JSON.stringify(e.value)));
@@ -375,7 +375,7 @@ const Xo = /* @__PURE__ */ X({
375
375
  });
376
376
  }, { deep: !0 }), Pe(e, () => {
377
377
  p.value[t.room.id] = e.value;
378
- }, { deep: !0 }), (k, C) => (c(), A(Be, {
378
+ }, { deep: !0 }), (k, C) => (c(), A(Ie, {
379
379
  type: "hotel",
380
380
  "listing-id": k.room.id,
381
381
  gallery: k.room.images,
@@ -387,12 +387,12 @@ const Xo = /* @__PURE__ */ X({
387
387
  "includes-breakfast": h.value
388
388
  }, {
389
389
  action: $(() => [
390
- a("div", zo, [
390
+ a("div", xo, [
391
391
  (c(!0), f(E, null, F(e.value, (H, O) => (c(), f("div", {
392
392
  key: H.id,
393
393
  class: "freshbooking-hotel-room"
394
394
  }, [
395
- w.value ? (c(), A(Ie, {
395
+ w.value ? (c(), A(Se, {
396
396
  key: 0,
397
397
  modelValue: H.id,
398
398
  "onUpdate:modelValue": (j) => H.id = j,
@@ -401,7 +401,7 @@ const Xo = /* @__PURE__ */ X({
401
401
  options: s.value,
402
402
  searchable: !1
403
403
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
404
- H.id ? (c(), f("div", xo, [
404
+ H.id ? (c(), f("div", Jo, [
405
405
  (c(!0), f(E, null, F(k.room.rates, ({
406
406
  id: j,
407
407
  maximumOccupants: Q
@@ -413,10 +413,10 @@ const Xo = /* @__PURE__ */ X({
413
413
  key: x,
414
414
  class: "konnectio-listing-action-selective"
415
415
  }, [
416
- a("ul", Jo, [
417
- g(Ko, {
416
+ a("ul", Qo, [
417
+ g(zo, {
418
418
  modelValue: R.id,
419
- "onUpdate:modelValue": (Y) => R.id = Y,
419
+ "onUpdate:modelValue": (Z) => R.id = Z,
420
420
  icon: "male",
421
421
  "icon-type": "fas",
422
422
  label: o(l)("general.guests"),
@@ -425,10 +425,10 @@ const Xo = /* @__PURE__ */ X({
425
425
  readonly: !(P(j).length > 1)
426
426
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
427
427
  ]),
428
- a("ul", Qo, [
429
- g(Xe, {
428
+ a("ul", Xo, [
429
+ g(Ye, {
430
430
  modelValue: R.units,
431
- "onUpdate:modelValue": (Y) => R.units = Y,
431
+ "onUpdate:modelValue": (Z) => R.units = Z,
432
432
  description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, R.id)}`,
433
433
  icon: "house",
434
434
  "icon-type": "fas",
@@ -448,7 +448,7 @@ const Xo = /* @__PURE__ */ X({
448
448
  _: 1
449
449
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
450
450
  }
451
- }), Yo = /* @__PURE__ */ ce(Xo, [["__scopeId", "data-v-090cdca2"]]), Zo = { class: "konnectio-template-side-panel" }, el = { class: "konnectio-template-side-panel-listings" }, tl = /* @__PURE__ */ X({
451
+ }), Zo = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-090cdca2"]]), el = { class: "konnectio-template-side-panel" }, tl = { class: "konnectio-template-side-panel-listings" }, ol = /* @__PURE__ */ Y({
452
452
  __name: "Template",
453
453
  props: {
454
454
  title: {},
@@ -458,7 +458,7 @@ const Xo = /* @__PURE__ */ X({
458
458
  callback: { type: Function }
459
459
  },
460
460
  setup(n) {
461
- const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = oe(pe()), { currency: s } = oe(be()), { clearRoomSelection: m } = pe(), p = n, u = le(!0), r = G(() => {
461
+ const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = X(pe()), { currency: s } = X(_e()), { clearRoomSelection: m } = pe(), p = n, u = oe(!0), r = G(() => {
462
462
  function h(V, P) {
463
463
  return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
464
464
  }
@@ -472,8 +472,8 @@ const Xo = /* @__PURE__ */ X({
472
472
  subtitle: o(l)("booking.availability.selectATemplateRoom")
473
473
  }, {
474
474
  default: $(() => [
475
- a("div", Zo, [
476
- a("div", el, [
475
+ a("div", el, [
476
+ a("div", tl, [
477
477
  (c(!0), f(E, null, F(r.value, ({
478
478
  id: P,
479
479
  title: w,
@@ -481,7 +481,7 @@ const Xo = /* @__PURE__ */ X({
481
481
  images: B,
482
482
  facilities: k,
483
483
  extraPrice: C
484
- }) => (c(), A(Be, {
484
+ }) => (c(), A(Ie, {
485
485
  key: P,
486
486
  "listing-id": P,
487
487
  name: w,
@@ -508,7 +508,7 @@ const Xo = /* @__PURE__ */ X({
508
508
  _: 1
509
509
  }, 8, ["title", "subtitle"]));
510
510
  }
511
- }), wt = /* @__PURE__ */ ce(tl, [["__scopeId", "data-v-35a96ba4"]]), ol = ["innerHTML"], ll = { class: "konnectio-template-select-package" }, nl = /* @__PURE__ */ X({
511
+ }), Ct = /* @__PURE__ */ ce(ol, [["__scopeId", "data-v-35a96ba4"]]), ll = ["innerHTML"], nl = { class: "konnectio-template-select-package" }, al = /* @__PURE__ */ Y({
512
512
  __name: "Template",
513
513
  props: {
514
514
  id: {},
@@ -532,19 +532,20 @@ const Xo = /* @__PURE__ */ X({
532
532
  thumb: t.image.url,
533
533
  url: t.image.url
534
534
  }];
535
- }), s = le(!1);
535
+ }), s = oe(!1);
536
536
  function m() {
537
537
  s.value = !0;
538
538
  }
539
539
  function p(u) {
540
540
  t.callback(u), s.value = !1;
541
541
  }
542
- return (u, r) => (c(), A(Be, {
542
+ return (u, r) => (c(), A(Ie, {
543
+ type: "template",
543
544
  "listing-id": u.id,
544
545
  name: u.name,
545
546
  description: u.description,
546
547
  gallery: i.value,
547
- layout: o(Tt).Template,
548
+ layout: o($t).Template,
548
549
  "includes-breakfast": !1,
549
550
  "hide-info-button": !1,
550
551
  "prices-from": e.value
@@ -552,11 +553,11 @@ const Xo = /* @__PURE__ */ X({
552
553
  description: $(() => [
553
554
  u.description ? (c(), f("p", {
554
555
  key: 0,
555
- innerHTML: o(Vt)(u.description)
556
- }, null, 8, ol)) : _("", !0)
556
+ innerHTML: o(Tt)(u.description)
557
+ }, null, 8, ll)) : _("", !0)
557
558
  ]),
558
559
  action: $(() => [
559
- a("div", ll, [
560
+ a("div", nl, [
560
561
  g(de, {
561
562
  onClickEvent: m,
562
563
  label: o(l)("booking.availability.selectPackage"),
@@ -565,7 +566,7 @@ const Xo = /* @__PURE__ */ X({
565
566
  ])
566
567
  ]),
567
568
  default: $(() => [
568
- g(wt, {
569
+ g(Ct, {
569
570
  modelValue: s.value,
570
571
  "onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
571
572
  title: u.name,
@@ -578,7 +579,7 @@ const Xo = /* @__PURE__ */ X({
578
579
  _: 1
579
580
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
580
581
  }
581
- }), al = ["innerHTML"], il = { class: "konnectio-special-offer-availability" }, sl = { class: "konnectio-special-offer-availability-button" }, rl = /* @__PURE__ */ X({
582
+ }), il = ["innerHTML"], sl = { class: "konnectio-special-offer-availability" }, rl = { class: "konnectio-special-offer-availability-button" }, dl = /* @__PURE__ */ Y({
582
583
  __name: "SpecialOffer",
583
584
  props: {
584
585
  id: {},
@@ -592,26 +593,27 @@ const Xo = /* @__PURE__ */ X({
592
593
  callback: { type: Function }
593
594
  },
594
595
  setup(n) {
595
- const { t: l } = ne(), { updateDates: t } = De(), e = n, i = le([]), s = G(() => Qe(e.fromDate, e.toDate) === 1), m = G(() => [{
596
+ const { t: l } = ne(), { updateDates: t } = be(), e = n, i = oe([]), s = G(() => Xe(e.fromDate, e.toDate) === 1), m = G(() => [{
596
597
  large: e.image.url,
597
598
  medium: e.image.url,
598
599
  thumb: e.image.url,
599
600
  url: e.image.url
600
- }]), p = le(!1);
601
+ }]), p = oe(!1);
601
602
  function u(d) {
602
603
  e.callback(d), p.value = !1;
603
604
  }
604
605
  function r() {
605
606
  t(i.value[0], i.value[1]);
606
607
  }
607
- return et(() => {
608
+ return tt(() => {
608
609
  s.value && (i.value = [new Date(e.fromDate), new Date(e.toDate)]);
609
- }), (d, h) => (c(), A(Be, {
610
+ }), (d, h) => (c(), A(Ie, {
611
+ type: "template",
610
612
  "listing-id": d.id,
611
613
  name: d.name,
612
614
  description: d.description,
613
615
  gallery: m.value,
614
- layout: o(Tt).Template,
616
+ layout: o($t).Template,
615
617
  "includes-breakfast": !1,
616
618
  "hide-info-button": !1,
617
619
  "to-date": d.toDate,
@@ -620,12 +622,12 @@ const Xo = /* @__PURE__ */ X({
620
622
  description: $(() => [
621
623
  d.description ? (c(), f("p", {
622
624
  key: 0,
623
- innerHTML: o(Vt)(d.description)
624
- }, null, 8, al)) : _("", !0)
625
+ innerHTML: o(Tt)(d.description)
626
+ }, null, 8, il)) : _("", !0)
625
627
  ]),
626
628
  action: $(() => [
627
- a("div", il, [
628
- g($t, {
629
+ a("div", sl, [
630
+ g(wt, {
629
631
  modelValue: i.value,
630
632
  "onUpdate:modelValue": h[0] || (h[0] = (V) => i.value = V),
631
633
  label: o(l)("availability.checkInOut"),
@@ -639,7 +641,7 @@ const Xo = /* @__PURE__ */ X({
639
641
  readonly: s.value,
640
642
  range: ""
641
643
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
642
- a("div", sl, [
644
+ a("div", rl, [
643
645
  g(de, {
644
646
  label: o(l)("availability.buttonLabel"),
645
647
  onClick: Ce(r, ["prevent"])
@@ -648,7 +650,7 @@ const Xo = /* @__PURE__ */ X({
648
650
  ])
649
651
  ]),
650
652
  default: $(() => [
651
- g(wt, {
653
+ g(Ct, {
652
654
  modelValue: p.value,
653
655
  "onUpdate:modelValue": h[1] || (h[1] = (V) => p.value = V),
654
656
  title: d.name,
@@ -660,7 +662,7 @@ const Xo = /* @__PURE__ */ X({
660
662
  _: 1
661
663
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
662
664
  }
663
- }), pt = /* @__PURE__ */ X({
665
+ }), mt = /* @__PURE__ */ Y({
664
666
  __name: "TimeField",
665
667
  props: {
666
668
  modelValue: {},
@@ -689,10 +691,10 @@ const Xo = /* @__PURE__ */ X({
689
691
  function i(m) {
690
692
  t("update:modelValue", m);
691
693
  }
692
- const s = le(e.modelValue);
694
+ const s = oe(e.modelValue);
693
695
  return Pe(s, (m) => {
694
696
  i(m);
695
- }), (m, p) => (c(), A($t, {
697
+ }), (m, p) => (c(), A(wt, {
696
698
  modelValue: s.value,
697
699
  "onUpdate:modelValue": p[0] || (p[0] = (u) => s.value = u),
698
700
  type: "time",
@@ -707,7 +709,7 @@ const Xo = /* @__PURE__ */ X({
707
709
  readonly: m.readonly
708
710
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
709
711
  }
710
- }), dl = { style: { display: "flex", "align-items": "baseline" } }, ul = /* @__PURE__ */ X({
712
+ }), ul = { style: { display: "flex", "align-items": "baseline" } }, cl = /* @__PURE__ */ Y({
711
713
  __name: "CountryField",
712
714
  props: {
713
715
  modelValue: {},
@@ -727,7 +729,7 @@ const Xo = /* @__PURE__ */ X({
727
729
  get: () => i.modelValue,
728
730
  set: (p) => s(p)
729
731
  });
730
- return (p, u) => (c(), A(Ie, {
732
+ return (p, u) => (c(), A(Se, {
731
733
  modelValue: m.value,
732
734
  "onUpdate:modelValue": u[0] || (u[0] = (r) => m.value = r),
733
735
  label: p.label,
@@ -741,20 +743,20 @@ const Xo = /* @__PURE__ */ X({
741
743
  a("i", {
742
744
  class: Ae(["konnectio-flag-icon", r.iso])
743
745
  }, null, 2),
744
- a("span", null, v(r.name), 1)
746
+ a("span", null, y(r.name), 1)
745
747
  ]),
746
748
  "selected-option": $(({ data: r }) => [
747
- a("div", dl, [
749
+ a("div", ul, [
748
750
  a("i", {
749
751
  class: Ae(["konnectio-flag-icon", r.iso])
750
752
  }, null, 2),
751
- a("span", null, v(r.name), 1)
753
+ a("span", null, y(r.name), 1)
752
754
  ])
753
755
  ]),
754
756
  _: 1
755
757
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
756
758
  }
757
- }), cl = /* @__PURE__ */ ce(ul, [["__scopeId", "data-v-1462612d"]]), pl = /* @__PURE__ */ X({
759
+ }), pl = /* @__PURE__ */ ce(cl, [["__scopeId", "data-v-1462612d"]]), ml = /* @__PURE__ */ Y({
758
760
  __name: "NameField",
759
761
  props: {
760
762
  modelValue: {},
@@ -776,7 +778,7 @@ const Xo = /* @__PURE__ */ X({
776
778
  },
777
779
  emits: ["update:modelValue", "update:title"],
778
780
  setup(n, { emit: l }) {
779
- const t = n, e = l, i = t.id || dt(), s = le(""), m = le(2);
781
+ const t = n, e = l, i = t.id || ut(), s = oe(""), m = oe(2);
780
782
  function p() {
781
783
  e("update:modelValue", s.value);
782
784
  }
@@ -784,7 +786,7 @@ const Xo = /* @__PURE__ */ X({
784
786
  e("update:title", r);
785
787
  });
786
788
  const { t: u } = ne();
787
- return et(() => {
789
+ return tt(() => {
788
790
  t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
789
791
  }), (r, d) => (c(), A(ao, {
790
792
  label: r.label,
@@ -801,11 +803,11 @@ const Xo = /* @__PURE__ */ X({
801
803
  { "no-title": r.excludeTitle }
802
804
  ])
803
805
  }, [
804
- r.excludeTitle ? _("", !0) : (c(), A(Ie, {
806
+ r.excludeTitle ? _("", !0) : (c(), A(Se, {
805
807
  key: 0,
806
808
  modelValue: m.value,
807
809
  "onUpdate:modelValue": d[0] || (d[0] = (h) => m.value = h),
808
- id: o(dt)(),
810
+ id: o(ut)(),
809
811
  icon: r.icon,
810
812
  "icon-color": r.iconColor,
811
813
  "icon-type": r.iconType,
@@ -858,58 +860,58 @@ const Xo = /* @__PURE__ */ X({
858
860
  _: 1
859
861
  }, 8, ["label", "id", "required", "readonly", "limit"]));
860
862
  }
861
- }), ml = /* @__PURE__ */ ce(pl, [["__scopeId", "data-v-78b0b319"]]), fl = { class: "hotel-skeleton" }, hl = { class: "hotel-skeleton-content" }, vl = { class: "hotel-skeleton-sidebar" }, yl = /* @__PURE__ */ X({
863
+ }), fl = /* @__PURE__ */ ce(ml, [["__scopeId", "data-v-78b0b319"]]), hl = { class: "hotel-skeleton" }, yl = { class: "hotel-skeleton-content" }, vl = { class: "hotel-skeleton-sidebar" }, gl = /* @__PURE__ */ Y({
862
864
  __name: "HotelSkeleton",
863
865
  setup(n) {
864
- return (l, t) => (c(), f("div", fl, [
865
- a("div", hl, [
866
+ return (l, t) => (c(), f("div", hl, [
867
+ a("div", yl, [
866
868
  g(To, { hotel: "" }),
867
- g(vo)
869
+ g(yo)
868
870
  ]),
869
871
  a("div", vl, [
870
- g(yo)
872
+ g(vo)
871
873
  ])
872
874
  ]));
873
875
  }
874
- }), gl = /* @__PURE__ */ ce(yl, [["__scopeId", "data-v-1bb21da4"]]), tt = (n) => (kt("data-v-d6dad1ac"), n = n(), bt(), n), kl = { id: "booking-availability-container" }, bl = { id: "booking-availability-controls" };
875
- const _l = { key: 1 }, Vl = { key: 0 }, Tl = {
876
+ }), kl = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-1bb21da4"]]), ot = (n) => (bt("data-v-d6dad1ac"), n = n(), _t(), n), bl = { id: "booking-availability-container" }, _l = { id: "booking-availability-controls" };
877
+ const Vl = { key: 1 }, Tl = { key: 0 }, $l = {
876
878
  key: 0,
877
879
  id: "booking-availability-packages"
878
- }, $l = {
880
+ }, wl = {
879
881
  key: 0,
880
882
  class: "konnectio-hotel-availability-title"
881
- }, wl = { id: "booking-availability-packages-wrapper" }, Cl = { key: 1 }, Pl = {
883
+ }, Cl = { id: "booking-availability-packages-wrapper" }, Pl = { key: 1 }, Al = {
882
884
  key: 0,
883
885
  class: "konnectio-hotel-availability-title"
884
- }, Al = { id: "konnectio-listings" }, Dl = {
886
+ }, Dl = { id: "konnectio-listings" }, Hl = {
885
887
  key: 2,
886
888
  id: "booking-availability-packages"
887
- }, Hl = {
889
+ }, Sl = {
888
890
  key: 0,
889
891
  class: "konnectio-hotel-availability-title"
890
- }, Sl = { id: "booking-availability-packages-wrapper" }, Il = {
892
+ }, Il = { id: "booking-availability-packages-wrapper" }, Bl = {
891
893
  key: 3,
892
894
  id: "booking-availability-no-listings",
893
895
  class: "konnectio-panel"
894
- }, Bl = {
896
+ }, El = {
895
897
  key: 1,
896
898
  id: "booking-availability-no-listings"
897
- }, El = {
899
+ }, Ml = {
898
900
  key: 2,
899
901
  id: "reservation-availability-next-dates"
900
- }, Ml = { class: "konnectio-hotel-availability-title" }, Ll = { class: "reservation-special-offers-grid" }, Ul = ["title"];
901
- const Rl = {
902
+ }, Ll = { class: "konnectio-hotel-availability-title" }, Ul = { class: "reservation-special-offers-grid" }, Rl = ["title"];
903
+ const Nl = {
902
904
  key: 2,
903
905
  class: "konnectio-listing-loading"
904
- }, Nl = { class: "konnectio-panel" }, Fl = {
906
+ }, Fl = { class: "konnectio-panel" }, Ol = {
905
907
  key: 0,
906
908
  id: "konnectio-hotel-addons"
907
909
  };
908
- const Ol = { class: "konnectio-event-addons-price" }, jl = { key: 1 }, Gl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("br", null, null, -1)), ql = { class: "konnectio-hotel-addons-option" }, Wl = {
910
+ const jl = { class: "konnectio-event-addons-price" }, Gl = { key: 1 }, ql = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Wl = { class: "konnectio-hotel-addons-option" }, Kl = {
909
911
  key: 1,
910
912
  id: "konnectio-hotel-addons"
911
- }, Kl = { class: "konnectio-table with-lines" };
912
- const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), xl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("br", null, null, -1)), Jl = { class: "konnectio-hotel-addons-option" }, Ql = ["onClick"], Xl = { class: "konnectio-panel" }, Yl = { key: 0 }, Zl = { key: 1 }, en = { class: "konnectio-split-inputs" }, tn = ["onClick"], on = /* @__PURE__ */ X({
913
+ }, zl = { class: "konnectio-table with-lines" };
914
+ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Ql = { class: "konnectio-hotel-addons-option" }, Xl = ["onClick"], Yl = { class: "konnectio-panel" }, Zl = { key: 0 }, en = { key: 1 }, tn = { class: "konnectio-split-inputs" }, on = ["onClick"], ln = /* @__PURE__ */ Y({
913
915
  name: "HotelLayout",
914
916
  __name: "Hotel",
915
917
  props: {
@@ -921,7 +923,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
921
923
  styling: {}
922
924
  },
923
925
  setup(n) {
924
- const l = eo(() => import("./_-DkHrmIh0.js")), t = n, { t: e } = ne(), {
926
+ const l = eo(() => import("./_-Wr8LhfrM.js")), t = n, { t: e } = ne(), {
925
927
  templateID: i,
926
928
  templateAddons: s,
927
929
  countries: m,
@@ -943,44 +945,44 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
943
945
  remark: Q,
944
946
  allergies: R,
945
947
  roomSelect: x,
946
- roomDisplay: Y,
947
- hasValidRoomSelection: Ee,
948
+ roomDisplay: Z,
949
+ hasValidRoomSelection: Be,
948
950
  availabilityData: M,
949
951
  selectionHasNoAddons: me,
950
- isAvailabilityDataAvailable: _e,
951
- getSelectedPackageRoom: fe,
952
- selectedPackage: Me,
953
- isSearchOutdated: he
954
- } = oe(pe()), {
955
- adults: ve,
956
- children: Z,
957
- location: z,
958
- arrivalDate: L,
959
- departureDate: ye
960
- } = oe(De()), { isValidHotelId: Le, updateDates: Ve } = De(), {
961
- currency: ge,
962
- arrivalEarliest: ae,
963
- arrivalLatest: Ue,
964
- departureEarliest: lt,
965
- departureLatest: Ht,
952
+ isAvailabilityDataAvailable: ye,
953
+ getSelectedPackageRoom: Ve,
954
+ selectedPackage: Ee,
955
+ isSearchOutdated: Me
956
+ } = X(pe()), {
957
+ adults: fe,
958
+ children: ve,
959
+ location: le,
960
+ arrivalDate: z,
961
+ departureDate: L
962
+ } = X(be()), { isValidHotelId: ge, updateDates: Le } = be(), {
963
+ currency: he,
964
+ arrivalEarliest: Ue,
965
+ arrivalLatest: ae,
966
+ departureEarliest: Re,
967
+ departureLatest: nt,
966
968
  enableTracking: St,
967
969
  hideArrivalDepartureInputs: It,
968
- disableArrivalUserSelection: Re,
970
+ disableArrivalUserSelection: Ne,
969
971
  disableNamePrefix: Bt,
970
- disableDepartureUserSelection: Ne,
972
+ disableDepartureUserSelection: Fe,
971
973
  disableTravelingFor: Et,
972
974
  disableTravelingForBleasure: Mt,
973
975
  disableCompanyField: Lt,
974
976
  hasPaymentGateway: Ut,
975
- maxAdultAmount: nt,
976
- maxChildAmount: at
977
- } = oe(be()), { beginCheckout: Rt } = _t(), { display: Fe } = so(), {
977
+ maxAdultAmount: at,
978
+ maxChildAmount: it
979
+ } = X(_e()), { beginCheckout: Rt } = Vt(), { display: Oe } = so(), {
978
980
  resetTemplate: Nt,
979
981
  resetDiscountVoucher: Ft,
980
982
  createReservation: Ot,
981
983
  fetchMetadata: jt,
982
- fetchAvailabilityData: it
983
- } = pe(), Gt = le(!0), qt = G(() => {
984
+ fetchAvailabilityData: st
985
+ } = pe(), Gt = oe(!0), qt = G(() => {
984
986
  const b = [
985
987
  {
986
988
  label: e("booking.reservation.business"),
@@ -1002,13 +1004,13 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1002
1004
  }
1003
1005
  return b.sort(T);
1004
1006
  }), Kt = G(() => [[
1005
- parseInt(ae.value.split(":")[0]),
1006
- parseInt(Ue.value.split(":")[0])
1007
+ parseInt(Ue.value.split(":")[0]),
1008
+ parseInt(ae.value.split(":")[0])
1007
1009
  ]]), zt = G(() => [[
1008
- parseInt(lt.value.split(":")[0]),
1009
- parseInt(Ht.value.split(":")[0])
1010
+ parseInt(Re.value.split(":")[0]),
1011
+ parseInt(nt.value.split(":")[0])
1010
1012
  ]]);
1011
- function st(b) {
1013
+ function rt(b) {
1012
1014
  t.hideAddons === "yes" || me.value ? b(2) : b(), Ft();
1013
1015
  }
1014
1016
  async function xt(b) {
@@ -1020,24 +1022,24 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1020
1022
  function Qt() {
1021
1023
  const b = uo("hash-params", {
1022
1024
  removeNullishValues: !0
1023
- }), T = parseInt(b.adults), q = parseInt(b.children), D = parseInt(b.hId), y = b.checkin, W = b.checkout, U = b.roomGroupId;
1024
- if (isNaN(T) || (T > nt.value ? ve.value = nt.value : ve.value = T, b.adults = void 0), isNaN(q) || (q > at.value ? Z.value = at.value : Z.value = q, b.children = void 0), isNaN(D) || (Le(D) ? (z.value = D, b.hId = void 0) : Fe({
1025
+ }), T = parseInt(b.adults), q = parseInt(b.children), D = parseInt(b.hId), v = b.checkin, W = b.checkout, U = b.roomGroupId;
1026
+ if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T, b.adults = void 0), isNaN(q) || (q > it.value ? ve.value = it.value : ve.value = q, b.children = void 0), isNaN(D) || (ge(D) ? (le.value = D, b.hId = void 0) : Oe({
1025
1027
  message: e("alert.error.hotelIdNotFound"),
1026
1028
  type: "error"
1027
- })), y && W)
1028
- if (ct(y) && ct(W)) {
1029
- const ee = new Date(y), J = new Date(W);
1030
- ee <= J ? (L.value = ee, ye.value = J, b.checkin = void 0, b.checkout = void 0) : Fe({
1029
+ })), v && W)
1030
+ if (pt(v) && pt(W)) {
1031
+ const ee = new Date(v), J = new Date(W);
1032
+ ee <= J ? (z.value = ee, L.value = J, b.checkin = void 0, b.checkout = void 0) : Oe({
1031
1033
  message: e("alert.error.invalidDateRange"),
1032
1034
  type: "error"
1033
1035
  });
1034
1036
  } else
1035
- Fe({
1037
+ Oe({
1036
1038
  message: e("alert.error.wrongDateFormat"),
1037
1039
  type: "error"
1038
1040
  });
1039
1041
  let S = null;
1040
- U && (S = U), it(S);
1042
+ U && (S = U), st(S);
1041
1043
  }
1042
1044
  return (b, T) => (c(), A(ro, { styling: b.styling }, {
1043
1045
  default: $(() => [
@@ -1054,40 +1056,40 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1054
1056
  onReset: o(Nt)
1055
1057
  }, {
1056
1058
  availability: $(({ next: q }) => [
1057
- g(ze, null, {
1059
+ g(xe, null, {
1058
1060
  form: $(() => [
1059
- a("div", kl, [
1060
- a("div", bl, [
1061
+ a("div", bl, [
1062
+ a("div", _l, [
1061
1063
  g($o, {
1062
1064
  booking: !0,
1063
1065
  "selected-location": Number(b.selectedLocation)
1064
1066
  }, null, 8, ["selected-location"])
1065
1067
  ]),
1066
1068
  _("", !0),
1067
- !o(p) && o(_e) ? (c(), f("div", _l, [
1068
- o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div", Vl, [
1069
- o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Tl, [
1070
- b.onlyShow !== "packages" ? (c(), f("h2", $l, [
1069
+ !o(p) && o(ye) ? (c(), f("div", Vl, [
1070
+ o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div", Tl, [
1071
+ o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", $l, [
1072
+ b.onlyShow !== "packages" ? (c(), f("h2", wl, [
1071
1073
  g(K, {
1072
1074
  icon: "box",
1073
1075
  type: "fal",
1074
1076
  color: "header"
1075
1077
  }),
1076
- a("span", null, v(o(e)("booking.availability.packagesTitle")), 1)
1078
+ a("span", null, y(o(e)("booking.availability.packagesTitle")), 1)
1077
1079
  ])) : _("", !0),
1078
- a("ul", wl, [
1080
+ a("ul", Cl, [
1079
1081
  (c(!0), f(E, null, F(o(M).templates, ({
1080
1082
  id: D,
1081
- name: y,
1083
+ name: v,
1082
1084
  templateRoomGroups: W,
1083
1085
  image: U,
1084
1086
  description: S,
1085
1087
  weekendFee: ee
1086
- }) => (c(), A(nl, {
1088
+ }) => (c(), A(al, {
1087
1089
  key: D,
1088
1090
  id: D,
1089
1091
  description: S,
1090
- name: y,
1092
+ name: v,
1091
1093
  image: U,
1092
1094
  weekendFee: ee,
1093
1095
  "room-groups": W,
@@ -1096,76 +1098,76 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1096
1098
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1097
1099
  ])
1098
1100
  ])) : _("", !0),
1099
- o(M).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", Cl, [
1100
- o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", Pl, [
1101
+ o(M).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", Pl, [
1102
+ o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", Al, [
1101
1103
  g(K, {
1102
1104
  icon: "house",
1103
1105
  type: "fal",
1104
1106
  color: "header"
1105
1107
  }),
1106
- a("span", null, v(o(e)("booking.availability.roomsTitle")), 1)
1108
+ a("span", null, y(o(e)("booking.availability.roomsTitle")), 1)
1107
1109
  ])) : _("", !0),
1108
- a("ul", Al, [
1109
- (c(!0), f(E, null, F(Wt.value, (D, y) => (c(), A(Yo, {
1110
+ a("ul", Dl, [
1111
+ (c(!0), f(E, null, F(Wt.value, (D, v) => (c(), A(Zo, {
1110
1112
  room: D,
1111
- key: y
1113
+ key: v
1112
1114
  }, null, 8, ["room"]))), 128))
1113
1115
  ])
1114
1116
  ])) : _("", !0),
1115
- o(M).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Dl, [
1116
- b.onlyShow !== "packages" ? (c(), f("h2", Hl, [
1117
+ o(M).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Hl, [
1118
+ b.onlyShow !== "packages" ? (c(), f("h2", Sl, [
1117
1119
  g(K, {
1118
1120
  icon: "sparkles",
1119
1121
  type: "fal",
1120
1122
  color: "header"
1121
1123
  }),
1122
- a("span", null, v(o(e)("hotel.specialOffers")), 1)
1124
+ a("span", null, y(o(e)("hotel.specialOffers")), 1)
1123
1125
  ])) : _("", !0),
1124
- a("ul", Sl, [
1126
+ a("ul", Il, [
1125
1127
  (c(!0), f(E, null, F(o(M).specialTemplates, ({
1126
1128
  id: D,
1127
- name: y,
1129
+ name: v,
1128
1130
  templateRoomGroups: W,
1129
1131
  image: U,
1130
1132
  description: S,
1131
1133
  weekendFee: ee,
1132
1134
  fromDate: J,
1133
- toDate: Oe
1134
- }) => (c(), A(rl, {
1135
+ toDate: je
1136
+ }) => (c(), A(dl, {
1135
1137
  key: D,
1136
1138
  id: D,
1137
1139
  description: S,
1138
- name: y,
1140
+ name: v,
1139
1141
  image: U,
1140
1142
  fromDate: J,
1141
- toDate: Oe,
1143
+ toDate: je,
1142
1144
  weekendFee: ee,
1143
1145
  "room-groups": W,
1144
1146
  callback: q
1145
1147
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1146
1148
  ])
1147
1149
  ])) : _("", !0),
1148
- (o(M).templates.length === 0 && b.onlyShow !== "rooms" || o(M).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Il, [
1149
- a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1150
+ (o(M).templates.length === 0 && b.onlyShow !== "rooms" || o(M).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Bl, [
1151
+ a("span", null, y(o(e)("booking.availability.nothingAvailable")), 1)
1150
1152
  ])) : _("", !0)
1151
- ])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div", Bl, [
1152
- a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1153
- ])) : (c(), f("div", El, [
1154
- a("h2", Ml, [
1153
+ ])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div", El, [
1154
+ a("span", null, y(o(e)("booking.availability.nothingAvailable")), 1)
1155
+ ])) : (c(), f("div", Ml, [
1156
+ a("h2", Ll, [
1155
1157
  g(K, {
1156
1158
  icon: "calendar-circle-exclamation",
1157
1159
  type: "fal",
1158
1160
  color: "header"
1159
1161
  }),
1160
- a("span", null, v(o(e)("booking.availability.nextAvailableDates")), 1)
1162
+ a("span", null, y(o(e)("booking.availability.nextAvailableDates")), 1)
1161
1163
  ]),
1162
- a("ul", Ll, [
1163
- (c(!0), f(E, null, F(o(M).nextAvailableDates, (D, y) => (c(), f("li", { key: y }, [
1164
+ a("ul", Ul, [
1165
+ (c(!0), f(E, null, F(o(M).nextAvailableDates, (D, v) => (c(), f("li", { key: v }, [
1164
1166
  a("h3", {
1165
1167
  title: `${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`
1166
1168
  }, [
1167
- a("span", null, v(`${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`), 1)
1168
- ], 8, Ul),
1169
+ a("span", null, y(`${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`), 1)
1170
+ ], 8, Rl),
1169
1171
  a("ul", null, [
1170
1172
  _("", !0),
1171
1173
  a("li", null, [
@@ -1174,35 +1176,35 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1174
1176
  type: "fal",
1175
1177
  color: "header"
1176
1178
  }),
1177
- a("span", null, v(o(e)("booking.availability.pricesFrom")) + ": " + v(o(te)(D.priceStartFrom, o(ge))), 1)
1179
+ a("span", null, y(o(e)("booking.availability.pricesFrom")) + ": " + y(o(te)(D.priceStartFrom, o(he))), 1)
1178
1180
  ])
1179
1181
  ]),
1180
1182
  g(de, {
1181
1183
  label: o(e)("booking.availability.selectDates"),
1182
1184
  "full-width": "",
1183
- onClickEvent: (W) => o(Ve)(new Date(D.fromDate), new Date(D.toDate))
1185
+ onClickEvent: (W) => o(Le)(new Date(D.fromDate), new Date(D.toDate))
1184
1186
  }, null, 8, ["label", "onClickEvent"])
1185
1187
  ]))), 128))
1186
1188
  ])
1187
1189
  ]))
1188
- ])) : (c(), f("div", Rl, [
1189
- g(Ke),
1190
- g(Ke),
1191
- g(Ke)
1190
+ ])) : (c(), f("div", Nl, [
1191
+ g(ze),
1192
+ g(ze),
1193
+ g(ze)
1192
1194
  ]))
1193
1195
  ])
1194
1196
  ]),
1195
1197
  navigation: $(() => [
1196
- o(he) ? (c(), A(de, {
1198
+ o(Me) ? (c(), A(de, {
1197
1199
  key: 0,
1198
1200
  label: o(e)("general.searchAgain"),
1199
1201
  "is-loading": o(p),
1200
1202
  "full-width": "",
1201
- onClickEvent: T[1] || (T[1] = (D) => o(it)())
1203
+ onClickEvent: T[1] || (T[1] = (D) => o(st)())
1202
1204
  }, null, 8, ["label", "is-loading"])) : (c(), A(de, {
1203
1205
  key: 1,
1204
1206
  label: o(me) || b.hideAddons === "yes" ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
1205
- disabled: !o(Ee),
1207
+ disabled: !o(Be),
1206
1208
  "full-width": "",
1207
1209
  onClickEvent: (D) => Jt(q)
1208
1210
  }, null, 8, ["label", "disabled", "onClickEvent"]))
@@ -1211,22 +1213,22 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1211
1213
  }, 1024)
1212
1214
  ]),
1213
1215
  addons: $(({ next: q, prev: D }) => [
1214
- o(_e) ? (c(), A(ze, { key: 0 }, {
1216
+ o(ye) ? (c(), A(xe, { key: 0 }, {
1215
1217
  form: $(() => [
1216
- a("form", Nl, [
1218
+ a("form", Fl, [
1217
1219
  a("h2", null, [
1218
- a("span", null, v(o(e)("booking.reservation.addons")), 1)
1220
+ a("span", null, y(o(e)("booking.reservation.addons")), 1)
1219
1221
  ]),
1220
1222
  a("div", null, [
1221
- isNaN(o(i)) ? (c(), f("div", Fl, [
1222
- (c(!0), f(E, null, F(o(Y), (y) => (c(), f("ul", {
1223
- key: y.roomGroupID
1223
+ isNaN(o(i)) ? (c(), f("div", Ol, [
1224
+ (c(!0), f(E, null, F(o(Z), (v) => (c(), f("ul", {
1225
+ key: v.roomGroupID
1224
1226
  }, [
1225
- (c(!0), f(E, null, F(y.variants, (W, U) => (c(), f("li", {
1227
+ (c(!0), f(E, null, F(v.variants, (W, U) => (c(), f("li", {
1226
1228
  key: W.ratePlanID
1227
1229
  }, [
1228
1230
  a("h4", null, [
1229
- a("span", null, v(o(re)(y.title)), 1)
1231
+ a("span", null, y(o(re)(v.title)), 1)
1230
1232
  ]),
1231
1233
  (c(!0), f(E, null, F(W.rooms, (S, ee) => (c(), f("table", {
1232
1234
  key: ee,
@@ -1235,54 +1237,54 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1235
1237
  a("thead", null, [
1236
1238
  a("tr", null, [
1237
1239
  a("th", null, [
1238
- a("span", null, v(o(re)(W.name)), 1)
1240
+ a("span", null, y(o(re)(W.name)), 1)
1239
1241
  ]),
1240
1242
  _("", !0),
1241
- a("th", Ol, [
1243
+ a("th", jl, [
1242
1244
  a("b", null, [
1243
1245
  g(K, {
1244
1246
  icon: "male",
1245
1247
  type: "fas",
1246
1248
  color: "font"
1247
1249
  }),
1248
- a("span", null, v(S.adultsCount), 1),
1250
+ a("span", null, y(S.adultsCount), 1),
1249
1251
  S.childrenCount > 0 ? (c(), A(K, {
1250
1252
  key: 0,
1251
1253
  icon: "child",
1252
1254
  type: "fas",
1253
1255
  color: "font"
1254
1256
  })) : _("", !0),
1255
- S.childrenCount > 0 ? (c(), f("span", jl, v(S.childrenCount), 1)) : _("", !0)
1257
+ S.childrenCount > 0 ? (c(), f("span", Gl, y(S.childrenCount), 1)) : _("", !0)
1256
1258
  ])
1257
1259
  ])
1258
1260
  ])
1259
1261
  ]),
1260
1262
  a("tbody", null, [
1261
- (c(!0), f(E, null, F(y.addons, ({
1263
+ (c(!0), f(E, null, F(v.addons, ({
1262
1264
  quantityStrategy: J,
1263
- maximumNumber: Oe,
1265
+ maximumNumber: je,
1264
1266
  id: ke,
1265
1267
  name: Xt,
1266
1268
  price: Yt
1267
1269
  }) => (c(), f("tr", { key: ke }, [
1268
1270
  a("td", null, [
1269
- a("b", null, v(o(re)(Xt)), 1),
1270
- Gl,
1271
- a("span", null, v(o(te)(Yt, o(ge))) + " " + v(o(ut)(J)), 1)
1271
+ a("b", null, y(o(re)(Xt)), 1),
1272
+ ql,
1273
+ a("span", null, y(o(te)(Yt, o(he))) + " " + y(o(ct)(J)), 1)
1272
1274
  ]),
1273
- a("td", ql, [
1274
- o(x)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx] ? (c(), f(E, { key: 0 }, [
1275
- J === 1 || J === 12 ? (c(), A(Xe, {
1275
+ a("td", Wl, [
1276
+ o(x)[v.roomGroupID][U].config[S.configIdx].addons[S.roomIdx] ? (c(), f(E, { key: 0 }, [
1277
+ J === 1 || J === 12 ? (c(), A(Ye, {
1276
1278
  key: 0,
1277
- modelValue: o(x)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
1278
- "onUpdate:modelValue": (je) => o(x)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = je,
1279
+ modelValue: o(x)[v.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
1280
+ "onUpdate:modelValue": (Ge) => o(x)[v.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
1279
1281
  small: !0,
1280
1282
  "min-value": 0,
1281
- "max-value": Oe || 1 / 0
1282
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(He, {
1283
+ "max-value": je || 1 / 0
1284
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(De, {
1283
1285
  key: 1,
1284
- modelValue: o(x)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
1285
- "onUpdate:modelValue": (je) => o(x)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = je,
1286
+ modelValue: o(x)[v.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
1287
+ "onUpdate:modelValue": (Ge) => o(x)[v.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
1286
1288
  numeric: !0
1287
1289
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1288
1290
  ], 64)) : _("", !0)
@@ -1292,43 +1294,43 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1292
1294
  ]))), 128))
1293
1295
  ]))), 128))
1294
1296
  ]))), 128))
1295
- ])) : o(fe) ? (c(), f("div", Wl, [
1297
+ ])) : o(Ve) ? (c(), f("div", Kl, [
1296
1298
  a("div", null, [
1297
1299
  a("h4", null, [
1298
- a("span", null, v(o(Me).name), 1)
1300
+ a("span", null, y(o(Ee).name), 1)
1299
1301
  ]),
1300
- a("table", Kl, [
1302
+ a("table", zl, [
1301
1303
  a("thead", null, [
1302
1304
  a("tr", null, [
1303
1305
  a("th", null, [
1304
- a("span", null, v(o(re)(o(fe).title)), 1)
1306
+ a("span", null, y(o(re)(o(Ve).title)), 1)
1305
1307
  ]),
1306
1308
  _("", !0),
1307
- zl
1309
+ xl
1308
1310
  ])
1309
1311
  ]),
1310
1312
  a("tbody", null, [
1311
- (c(!0), f(E, null, F(o(fe).addons, ({
1312
- quantityStrategy: y,
1313
+ (c(!0), f(E, null, F(o(Ve).addons, ({
1314
+ quantityStrategy: v,
1313
1315
  maximumNumber: W,
1314
1316
  id: U,
1315
1317
  name: S,
1316
1318
  price: ee
1317
1319
  }) => (c(), f("tr", { key: U }, [
1318
1320
  a("td", null, [
1319
- a("b", null, v(o(re)(S)), 1),
1320
- xl,
1321
- a("span", null, v(o(te)(ee, o(ge))) + " " + v(o(ut)(y)), 1)
1321
+ a("b", null, y(o(re)(S)), 1),
1322
+ Jl,
1323
+ a("span", null, y(o(te)(ee, o(he))) + " " + y(o(ct)(v)), 1)
1322
1324
  ]),
1323
- a("td", Jl, [
1324
- y === 1 || y === 12 ? (c(), A(Xe, {
1325
+ a("td", Ql, [
1326
+ v === 1 || v === 12 ? (c(), A(Ye, {
1325
1327
  key: 0,
1326
1328
  modelValue: o(s)[U],
1327
1329
  "onUpdate:modelValue": (J) => o(s)[U] = J,
1328
1330
  small: !0,
1329
1331
  "min-value": 0,
1330
1332
  "max-value": W || 1 / 0
1331
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(He, {
1333
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(De, {
1332
1334
  key: 1,
1333
1335
  modelValue: o(s)[U],
1334
1336
  "onUpdate:modelValue": (J) => o(s)[U] = J,
@@ -1351,43 +1353,43 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1351
1353
  }, null, 8, ["label", "onClickEvent"]),
1352
1354
  a("button", {
1353
1355
  class: "konnectio-abort-reservation link",
1354
- onClick: Ce((y) => st(D), ["prevent"])
1356
+ onClick: Ce((v) => rt(D), ["prevent"])
1355
1357
  }, [
1356
- a("span", null, v(o(e)("general.goAStepBack")), 1)
1357
- ], 8, Ql)
1358
+ a("span", null, y(o(e)("general.goAStepBack")), 1)
1359
+ ], 8, Xl)
1358
1360
  ]),
1359
1361
  _: 2
1360
1362
  }, 1024)) : _("", !0)
1361
1363
  ]),
1362
1364
  reservation: $(({ next: q, prev: D }) => [
1363
- o(_e) ? (c(), A(ze, {
1365
+ o(ye) ? (c(), A(xe, {
1364
1366
  key: 0,
1365
1367
  "show-terms-notice": !0,
1366
1368
  "show-gift-card": !0
1367
1369
  }, {
1368
1370
  form: $(() => [
1369
- a("form", Xl, [
1371
+ a("form", Yl, [
1370
1372
  a("h2", null, [
1371
- a("span", null, v(o(e)("booking.reservation.detailsTitle")), 1)
1373
+ a("span", null, y(o(e)("booking.reservation.detailsTitle")), 1)
1372
1374
  ]),
1373
- !o(It) && !(o(Re) && o(Ne)) ? (c(), f("ul", {
1375
+ !o(It) && !(o(Ne) && o(Fe)) ? (c(), f("ul", {
1374
1376
  key: 0,
1375
- class: Ae({ "konnectio-split-inputs": !o(Re) && !o(Ne) })
1377
+ class: Ae({ "konnectio-split-inputs": !o(Ne) && !o(Fe) })
1376
1378
  }, [
1377
- o(Re) ? _("", !0) : (c(), f("li", Yl, [
1378
- g(pt, {
1379
+ o(Ne) ? _("", !0) : (c(), f("li", Zl, [
1380
+ g(mt, {
1379
1381
  modelValue: o(h),
1380
- "onUpdate:modelValue": T[2] || (T[2] = (y) => N(h) ? h.value = y : null),
1382
+ "onUpdate:modelValue": T[2] || (T[2] = (v) => N(h) ? h.value = v : null),
1381
1383
  label: o(e)("booking.reservation.arrivalTime"),
1382
1384
  icon: "hourglass-start",
1383
1385
  "hour-range": Kt.value,
1384
1386
  required: ""
1385
1387
  }, null, 8, ["modelValue", "label", "hour-range"])
1386
1388
  ])),
1387
- o(Ne) ? _("", !0) : (c(), f("li", Zl, [
1388
- g(pt, {
1389
+ o(Fe) ? _("", !0) : (c(), f("li", en, [
1390
+ g(mt, {
1389
1391
  modelValue: o(V),
1390
- "onUpdate:modelValue": T[3] || (T[3] = (y) => N(V) ? V.value = y : null),
1392
+ "onUpdate:modelValue": T[3] || (T[3] = (v) => N(V) ? V.value = v : null),
1391
1393
  label: o(e)("booking.reservation.departureTime"),
1392
1394
  icon: "hourglass-end",
1393
1395
  "hour-range": zt.value,
@@ -1395,11 +1397,11 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1395
1397
  }, null, 8, ["modelValue", "label", "hour-range"])
1396
1398
  ]))
1397
1399
  ], 2)) : _("", !0),
1398
- g(ml, {
1400
+ g(fl, {
1399
1401
  modelValue: o(P),
1400
- "onUpdate:modelValue": T[4] || (T[4] = (y) => N(P) ? P.value = y : null),
1402
+ "onUpdate:modelValue": T[4] || (T[4] = (v) => N(P) ? P.value = v : null),
1401
1403
  title: o(w),
1402
- "onUpdate:title": T[5] || (T[5] = (y) => N(w) ? w.value = y : null),
1404
+ "onUpdate:title": T[5] || (T[5] = (v) => N(w) ? w.value = v : null),
1403
1405
  "exclude-title": o(Bt),
1404
1406
  label: o(e)("booking.reservation.name"),
1405
1407
  icon: "user-alt",
@@ -1408,7 +1410,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1408
1410
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1409
1411
  g(se, {
1410
1412
  modelValue: o(I),
1411
- "onUpdate:modelValue": T[6] || (T[6] = (y) => N(I) ? I.value = y : null),
1413
+ "onUpdate:modelValue": T[6] || (T[6] = (v) => N(I) ? I.value = v : null),
1412
1414
  type: "email",
1413
1415
  name: "email",
1414
1416
  autocomplete: "email",
@@ -1420,7 +1422,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1420
1422
  o(Lt) ? _("", !0) : (c(), A(se, {
1421
1423
  key: 1,
1422
1424
  modelValue: o(k),
1423
- "onUpdate:modelValue": T[7] || (T[7] = (y) => N(k) ? k.value = y : null),
1425
+ "onUpdate:modelValue": T[7] || (T[7] = (v) => N(k) ? k.value = v : null),
1424
1426
  type: "text",
1425
1427
  name: "firm",
1426
1428
  autocomplete: "firm",
@@ -1430,15 +1432,15 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1430
1432
  }, null, 8, ["modelValue", "label", "placeholder"])),
1431
1433
  g(Po, {
1432
1434
  modelValue: o(B),
1433
- "onUpdate:modelValue": T[8] || (T[8] = (y) => N(B) ? B.value = y : null),
1435
+ "onUpdate:modelValue": T[8] || (T[8] = (v) => N(B) ? B.value = v : null),
1434
1436
  icon: "phone-office",
1435
1437
  label: o(e)("booking.reservation.phone"),
1436
1438
  placeholder: o(e)("booking.reservation.phonePlaceholder"),
1437
1439
  required: ""
1438
1440
  }, null, 8, ["modelValue", "label", "placeholder"]),
1439
- g(cl, {
1441
+ g(pl, {
1440
1442
  modelValue: o(j),
1441
- "onUpdate:modelValue": T[9] || (T[9] = (y) => N(j) ? j.value = y : null),
1443
+ "onUpdate:modelValue": T[9] || (T[9] = (v) => N(j) ? j.value = v : null),
1442
1444
  label: o(e)("booking.reservation.country"),
1443
1445
  placeholder: o(e)("booking.reservation.countryPlaceholder"),
1444
1446
  options: o(m),
@@ -1446,7 +1448,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1446
1448
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1447
1449
  g(se, {
1448
1450
  modelValue: o(O),
1449
- "onUpdate:modelValue": T[10] || (T[10] = (y) => N(O) ? O.value = y : null),
1451
+ "onUpdate:modelValue": T[10] || (T[10] = (v) => N(O) ? O.value = v : null),
1450
1452
  type: "textarea",
1451
1453
  name: "address",
1452
1454
  autocomplete: "street-address",
@@ -1455,11 +1457,11 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1455
1457
  placeholder: o(e)("booking.reservation.streetAddressPlaceholder"),
1456
1458
  required: ""
1457
1459
  }, null, 8, ["modelValue", "label", "placeholder"]),
1458
- a("ul", en, [
1460
+ a("ul", tn, [
1459
1461
  a("li", null, [
1460
1462
  g(se, {
1461
1463
  modelValue: o(C),
1462
- "onUpdate:modelValue": T[11] || (T[11] = (y) => N(C) ? C.value = y : null),
1464
+ "onUpdate:modelValue": T[11] || (T[11] = (v) => N(C) ? C.value = v : null),
1463
1465
  type: "text",
1464
1466
  name: "postal",
1465
1467
  autocomplete: "postal-code",
@@ -1472,7 +1474,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1472
1474
  a("li", null, [
1473
1475
  g(se, {
1474
1476
  modelValue: o(H),
1475
- "onUpdate:modelValue": T[12] || (T[12] = (y) => N(H) ? H.value = y : null),
1477
+ "onUpdate:modelValue": T[12] || (T[12] = (v) => N(H) ? H.value = v : null),
1476
1478
  type: "text",
1477
1479
  name: "city",
1478
1480
  autocomplete: "address-level2",
@@ -1485,7 +1487,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1485
1487
  ]),
1486
1488
  g(se, {
1487
1489
  modelValue: o(Q),
1488
- "onUpdate:modelValue": T[13] || (T[13] = (y) => N(Q) ? Q.value = y : null),
1490
+ "onUpdate:modelValue": T[13] || (T[13] = (v) => N(Q) ? Q.value = v : null),
1489
1491
  type: "textarea",
1490
1492
  label: `${o(e)("booking.reservation.remark")} (${o(e)("booking.reservation.optional")})`,
1491
1493
  icon: "info-circle",
@@ -1493,7 +1495,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1493
1495
  }, null, 8, ["modelValue", "label", "placeholder"]),
1494
1496
  g(se, {
1495
1497
  modelValue: o(R),
1496
- "onUpdate:modelValue": T[14] || (T[14] = (y) => N(R) ? R.value = y : null),
1498
+ "onUpdate:modelValue": T[14] || (T[14] = (v) => N(R) ? R.value = v : null),
1497
1499
  type: "textarea",
1498
1500
  label: `${o(e)("booking.reservation.allergies")} (${o(e)("booking.reservation.optional")})`,
1499
1501
  icon: "allergies",
@@ -1502,7 +1504,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1502
1504
  o(Et) ? _("", !0) : (c(), A(ko, {
1503
1505
  key: 2,
1504
1506
  modelValue: o(d),
1505
- "onUpdate:modelValue": T[15] || (T[15] = (y) => N(d) ? d.value = y : null),
1507
+ "onUpdate:modelValue": T[15] || (T[15] = (v) => N(d) ? d.value = v : null),
1506
1508
  label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
1507
1509
  name: "travelingFor",
1508
1510
  checkboxes: qt.value
@@ -1516,14 +1518,14 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1516
1518
  disabled: !o(r),
1517
1519
  "is-loading": o(u),
1518
1520
  "full-width": "",
1519
- onClickEvent: (y) => xt(q)
1521
+ onClickEvent: (v) => xt(q)
1520
1522
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1521
1523
  a("button", {
1522
1524
  class: "konnectio-abort-reservation link",
1523
- onClick: Ce((y) => st(D), ["prevent"])
1525
+ onClick: Ce((v) => rt(D), ["prevent"])
1524
1526
  }, [
1525
- a("span", null, v(o(e)("general.goAStepBack")), 1)
1526
- ], 8, tn)
1527
+ a("span", null, y(o(e)("general.goAStepBack")), 1)
1528
+ ], 8, on)
1527
1529
  ])
1528
1530
  ]),
1529
1531
  _: 2
@@ -1544,7 +1546,7 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1544
1546
  }, 8, ["access-token", "callback"])
1545
1547
  ]),
1546
1548
  fallback: $(() => [
1547
- g(gl)
1549
+ g(kl)
1548
1550
  ]),
1549
1551
  _: 1
1550
1552
  }))
@@ -1552,31 +1554,31 @@ const zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-
1552
1554
  _: 1
1553
1555
  }, 8, ["styling"]));
1554
1556
  }
1555
- }), Te = /* @__PURE__ */ ce(on, [["__scopeId", "data-v-d6dad1ac"]]);
1556
- function Ye(n, l = {}, t) {
1557
+ }), Te = /* @__PURE__ */ ce(ln, [["__scopeId", "data-v-d6dad1ac"]]);
1558
+ function Ze(n, l = {}, t) {
1557
1559
  for (const e in n) {
1558
1560
  const i = n[e], s = t ? `${t}:${e}` : e;
1559
- typeof i == "object" && i !== null ? Ye(i, l, s) : typeof i == "function" && (l[s] = i);
1561
+ typeof i == "object" && i !== null ? Ze(i, l, s) : typeof i == "function" && (l[s] = i);
1560
1562
  }
1561
1563
  return l;
1562
1564
  }
1563
- const ln = { run: (n) => n() }, nn = () => ln, Ct = typeof console.createTask < "u" ? console.createTask : nn;
1564
- function an(n, l) {
1565
- const t = l.shift(), e = Ct(t);
1565
+ const nn = { run: (n) => n() }, an = () => nn, Pt = typeof console.createTask < "u" ? console.createTask : an;
1566
+ function sn(n, l) {
1567
+ const t = l.shift(), e = Pt(t);
1566
1568
  return n.reduce(
1567
1569
  (i, s) => i.then(() => e.run(() => s(...l))),
1568
1570
  Promise.resolve()
1569
1571
  );
1570
1572
  }
1571
- function sn(n, l) {
1572
- const t = l.shift(), e = Ct(t);
1573
+ function rn(n, l) {
1574
+ const t = l.shift(), e = Pt(t);
1573
1575
  return Promise.all(n.map((i) => e.run(() => i(...l))));
1574
1576
  }
1575
- function xe(n, l) {
1577
+ function Je(n, l) {
1576
1578
  for (const t of [...n])
1577
1579
  t(l);
1578
1580
  }
1579
- class rn {
1581
+ class dn {
1580
1582
  constructor() {
1581
1583
  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);
1582
1584
  }
@@ -1627,7 +1629,7 @@ class rn {
1627
1629
  this.deprecateHook(t, l[t]);
1628
1630
  }
1629
1631
  addHooks(l) {
1630
- const t = Ye(l), e = Object.keys(t).map(
1632
+ const t = Ze(l), e = Object.keys(t).map(
1631
1633
  (i) => this.hook(i, t[i])
1632
1634
  );
1633
1635
  return () => {
@@ -1636,7 +1638,7 @@ class rn {
1636
1638
  };
1637
1639
  }
1638
1640
  removeHooks(l) {
1639
- const t = Ye(l);
1641
+ const t = Ze(l);
1640
1642
  for (const e in t)
1641
1643
  this.removeHook(e, t[e]);
1642
1644
  }
@@ -1645,21 +1647,21 @@ class rn {
1645
1647
  delete this._hooks[l];
1646
1648
  }
1647
1649
  callHook(l, ...t) {
1648
- return t.unshift(l), this.callHookWith(an, l, ...t);
1650
+ return t.unshift(l), this.callHookWith(sn, l, ...t);
1649
1651
  }
1650
1652
  callHookParallel(l, ...t) {
1651
- return t.unshift(l), this.callHookWith(sn, l, ...t);
1653
+ return t.unshift(l), this.callHookWith(rn, l, ...t);
1652
1654
  }
1653
1655
  callHookWith(l, t, ...e) {
1654
1656
  const i = this._before || this._after ? { name: t, args: e, context: {} } : void 0;
1655
- this._before && xe(this._before, i);
1657
+ this._before && Je(this._before, i);
1656
1658
  const s = l(
1657
1659
  t in this._hooks ? [...this._hooks[t]] : [],
1658
1660
  e
1659
1661
  );
1660
1662
  return s instanceof Promise ? s.finally(() => {
1661
- this._after && i && xe(this._after, i);
1662
- }) : (this._after && i && xe(this._after, i), s);
1663
+ this._after && i && Je(this._after, i);
1664
+ }) : (this._after && i && Je(this._after, i), s);
1663
1665
  }
1664
1666
  beforeEach(l) {
1665
1667
  return this._before = this._before || [], this._before.push(l), () => {
@@ -1678,20 +1680,20 @@ class rn {
1678
1680
  };
1679
1681
  }
1680
1682
  }
1681
- function dn() {
1682
- return new rn();
1683
+ function un() {
1684
+ return new dn();
1683
1685
  }
1684
- function un(n) {
1686
+ function cn(n) {
1685
1687
  return Array.isArray(n) ? n : [n];
1686
1688
  }
1687
- const cn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
1689
+ const pn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
1688
1690
  "base",
1689
1691
  "meta",
1690
1692
  "link",
1691
1693
  "style",
1692
1694
  "script",
1693
1695
  "noscript"
1694
- ], pn = [
1696
+ ], mn = [
1695
1697
  "title",
1696
1698
  "titleTemplate",
1697
1699
  "templateParams",
@@ -1703,19 +1705,19 @@ const cn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
1703
1705
  "style",
1704
1706
  "script",
1705
1707
  "noscript"
1706
- ], mn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Pt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], fn = typeof window < "u";
1707
- function ot(n) {
1708
+ ], fn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], At = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], hn = typeof window < "u";
1709
+ function lt(n) {
1708
1710
  let l = 9;
1709
1711
  for (let t = 0; t < n.length; )
1710
1712
  l = Math.imul(l ^ n.charCodeAt(t++), 9 ** 9);
1711
1713
  return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
1712
1714
  }
1713
- function mt(n) {
1714
- return n._h || ot(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
1715
+ function ft(n) {
1716
+ return n._h || lt(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
1715
1717
  }
1716
- function At(n, l) {
1718
+ function Dt(n, l) {
1717
1719
  const { props: t, tag: e } = n;
1718
- if (mn.includes(e))
1720
+ if (fn.includes(e))
1719
1721
  return e;
1720
1722
  if (e === "link" && t.rel === "canonical")
1721
1723
  return "canonical";
@@ -1730,50 +1732,50 @@ function At(n, l) {
1730
1732
  }
1731
1733
  return !1;
1732
1734
  }
1733
- function ft(n, l) {
1735
+ function ht(n, l) {
1734
1736
  return n == null ? l || null : typeof n == "function" ? n(l) : n;
1735
1737
  }
1736
- async function hn(n, l, t) {
1738
+ async function yn(n, l, t) {
1737
1739
  const e = {
1738
1740
  tag: n,
1739
- props: await Dt(
1741
+ props: await Ht(
1740
1742
  // explicitly check for an object
1741
1743
  // @ts-expect-error untyped
1742
1744
  typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
1743
1745
  ["templateParams", "titleTemplate"].includes(n)
1744
1746
  )
1745
1747
  };
1746
- return Pt.forEach((i) => {
1748
+ return At.forEach((i) => {
1747
1749
  const s = typeof e.props[i] < "u" ? e.props[i] : t[i];
1748
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || cn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1750
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || pn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1749
1751
  }), e.props.body && (e.tagPosition = "bodyClose", delete e.props.body), e.tag === "script" && typeof e.innerHTML == "object" && (e.innerHTML = JSON.stringify(e.innerHTML), e.props.type = e.props.type || "application/json"), Array.isArray(e.props.content) ? e.props.content.map((i) => ({ ...e, props: { ...e.props, content: i } })) : e;
1750
1752
  }
1751
1753
  function vn(n, l) {
1752
1754
  const t = n === "class" ? " " : ";";
1753
1755
  return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, e]) => e).map(([e, i]) => n === "style" ? `${e}:${i}` : e)), (Array.isArray(l) ? l.join(t) : l)?.split(t).filter((e) => e.trim()).filter(Boolean).join(t);
1754
1756
  }
1755
- async function Dt(n, l) {
1757
+ async function Ht(n, l) {
1756
1758
  for (const t of Object.keys(n)) {
1757
1759
  if (["class", "style"].includes(t)) {
1758
1760
  n[t] = vn(t, n[t]);
1759
1761
  continue;
1760
1762
  }
1761
- if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Pt.includes(t)) {
1763
+ if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !At.includes(t)) {
1762
1764
  const e = String(n[t]), i = t.startsWith("data-");
1763
1765
  e === "true" || e === "" ? n[t] = i ? "true" : !0 : n[t] || (i && e === "false" ? n[t] = "false" : delete n[t]);
1764
1766
  }
1765
1767
  }
1766
1768
  return n;
1767
1769
  }
1768
- const yn = 10;
1769
- async function gn(n) {
1770
+ const gn = 10;
1771
+ async function kn(n) {
1770
1772
  const l = [];
1771
- return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && pn.includes(t)).forEach(([t, e]) => {
1772
- const i = un(e);
1773
- l.push(...i.map((s) => hn(t, s, n)).flat());
1774
- }), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << yn) + e, t));
1773
+ return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && mn.includes(t)).forEach(([t, e]) => {
1774
+ const i = cn(e);
1775
+ l.push(...i.map((s) => yn(t, s, n)).flat());
1776
+ }), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << gn) + e, t));
1775
1777
  }
1776
- const ht = {
1778
+ const yt = {
1777
1779
  // tags
1778
1780
  base: -10,
1779
1781
  title: 10
@@ -1783,12 +1785,12 @@ const ht = {
1783
1785
  high: -10,
1784
1786
  low: 20
1785
1787
  };
1786
- function Se(n) {
1788
+ function He(n) {
1787
1789
  let l = 100;
1788
1790
  const t = n.tagPriority;
1789
- return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in ht && (l = ht[n.tag]), typeof t == "string" && t in vt ? l + vt[t] : l);
1791
+ return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in yt && (l = yt[n.tag]), typeof t == "string" && t in vt ? l + vt[t] : l);
1790
1792
  }
1791
- const kn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], yt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
1793
+ const bn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
1792
1794
  function we(n, l, t) {
1793
1795
  if (typeof n != "string" || !n.includes("%"))
1794
1796
  return n;
@@ -1806,7 +1808,7 @@ function we(n, l, t) {
1806
1808
  typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
1807
1809
  }), 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 = we(n, { separator: t }, t)), n;
1808
1810
  }
1809
- async function bn(n, l = {}) {
1811
+ async function _n(n, l = {}) {
1810
1812
  const t = l.document || n.resolvedOptions.document;
1811
1813
  if (!t || !n.dirty)
1812
1814
  return;
@@ -1815,7 +1817,7 @@ async function bn(n, l = {}) {
1815
1817
  return;
1816
1818
  const i = (await n.resolveTags()).map((d) => ({
1817
1819
  tag: d,
1818
- id: $e.includes(d.tag) ? mt(d) : d.tag,
1820
+ id: $e.includes(d.tag) ? ft(d) : d.tag,
1819
1821
  shouldRender: !0
1820
1822
  }));
1821
1823
  let s = n._dom;
@@ -1828,15 +1830,15 @@ async function bn(n, l = {}) {
1828
1830
  for (const P of [...h].filter((w) => $e.includes(w.tagName.toLowerCase()))) {
1829
1831
  const w = {
1830
1832
  tag: P.tagName.toLowerCase(),
1831
- props: await Dt(
1833
+ props: await Ht(
1832
1834
  P.getAttributeNames().reduce((k, C) => ({ ...k, [C]: P.getAttribute(C) }), {})
1833
1835
  ),
1834
1836
  innerHTML: P.innerHTML
1835
1837
  };
1836
- let I = 1, B = At(w);
1838
+ let I = 1, B = Dt(w);
1837
1839
  for (; B && V.find((k) => k._d === B); )
1838
1840
  B = `${B}:${I++}`;
1839
- w._d = B || void 0, V.push(w), s.elMap[P.getAttribute("data-hid") || mt(w)] = P;
1841
+ w._d = B || void 0, V.push(w), s.elMap[P.getAttribute("data-hid") || ft(w)] = P;
1840
1842
  }
1841
1843
  }
1842
1844
  }
@@ -1893,33 +1895,33 @@ async function bn(n, l = {}) {
1893
1895
  await n.hooks.callHook("dom:renderTag", d, t, m);
1894
1896
  r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
1895
1897
  }
1896
- async function _n(n, l = {}) {
1898
+ async function Vn(n, l = {}) {
1897
1899
  const t = l.delayFn || ((e) => setTimeout(e, 10));
1898
1900
  return n._domUpdatePromise = n._domUpdatePromise || new Promise((e) => t(async () => {
1899
- await bn(n, l), delete n._domUpdatePromise, e();
1901
+ await _n(n, l), delete n._domUpdatePromise, e();
1900
1902
  }));
1901
1903
  }
1902
1904
  // @__NO_SIDE_EFFECTS__
1903
- function Vn(n) {
1905
+ function Tn(n) {
1904
1906
  return (l) => {
1905
1907
  const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1906
1908
  return t && l.push(JSON.parse(t)), {
1907
1909
  mode: "client",
1908
1910
  hooks: {
1909
1911
  "entries:updated": function(e) {
1910
- _n(e, n);
1912
+ Vn(e, n);
1911
1913
  }
1912
1914
  }
1913
1915
  };
1914
1916
  };
1915
1917
  }
1916
- const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
1918
+ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1917
1919
  hooks: {
1918
1920
  "tag:normalise": function({ tag: n }) {
1919
1921
  ["hid", "vmid", "key"].forEach((e) => {
1920
1922
  n.props[e] && (n.key = n.props[e], delete n.props[e]);
1921
1923
  });
1922
- const t = At(n) || (n.key ? `${n.tag}:${n.key}` : !1);
1924
+ const t = Dt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
1923
1925
  t && (n._d = t);
1924
1926
  },
1925
1927
  "tags:resolve": function(n) {
@@ -1928,7 +1930,7 @@ const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
1928
1930
  const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = l[i];
1929
1931
  if (s) {
1930
1932
  let p = e?.tagDuplicateStrategy;
1931
- if (!p && Tn.includes(e.tag) && (p = "merge"), p === "merge") {
1933
+ if (!p && $n.includes(e.tag) && (p = "merge"), p === "merge") {
1932
1934
  const u = s.props;
1933
1935
  ["class", "style"].forEach((r) => {
1934
1936
  u[r] && (e.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), e.props[r] = `${u[r]} ${e.props[r]}`) : e.props[r] = u[r]);
@@ -1940,7 +1942,7 @@ const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
1940
1942
  } else if (e._e === s._e) {
1941
1943
  s._duped = s._duped || [], e._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(e);
1942
1944
  return;
1943
- } else if (Se(e) > Se(s))
1945
+ } else if (He(e) > He(s))
1944
1946
  return;
1945
1947
  }
1946
1948
  const m = Object.keys(e.props).length + (e.innerHTML ? 1 : 0) + (e.textContent ? 1 : 0);
@@ -1957,7 +1959,7 @@ const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
1957
1959
  }), n.tags = t, n.tags = n.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
1958
1960
  }
1959
1961
  }
1960
- }, wn = {
1962
+ }, Cn = {
1961
1963
  mode: "server",
1962
1964
  hooks: {
1963
1965
  "tags:resolve": function(n) {
@@ -1971,52 +1973,52 @@ const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
1971
1973
  });
1972
1974
  }
1973
1975
  }
1974
- }, Cn = ["script", "link", "bodyAttrs"], Pn = (n) => ({
1976
+ }, Pn = ["script", "link", "bodyAttrs"], An = (n) => ({
1975
1977
  hooks: {
1976
1978
  "tags:resolve": function(l) {
1977
- for (const t of l.tags.filter((e) => Cn.includes(e.tag)))
1979
+ for (const t of l.tags.filter((e) => Pn.includes(e.tag)))
1978
1980
  Object.entries(t.props).forEach(([e, i]) => {
1979
- e.startsWith("on") && typeof i == "function" && (n.ssr && yt.includes(e) ? t.props[e] = `this.dataset.${e}fired = true` : delete t.props[e], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[e] = i);
1980
- }), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || ot(t.props.src || t.props.href));
1981
+ e.startsWith("on") && typeof i == "function" && (n.ssr && gt.includes(e) ? t.props[e] = `this.dataset.${e}fired = true` : delete t.props[e], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[e] = i);
1982
+ }), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || lt(t.props.src || t.props.href));
1981
1983
  },
1982
1984
  "dom:renderTag": function({ $el: l, tag: t }) {
1983
- for (const e of Object.keys(l?.dataset || {}).filter((i) => yt.some((s) => `${s}fired` === i))) {
1985
+ for (const e of Object.keys(l?.dataset || {}).filter((i) => gt.some((s) => `${s}fired` === i))) {
1984
1986
  const i = e.replace("fired", "");
1985
1987
  t._eventHandlers?.[i]?.call(l, new Event(i.replace("on", "")));
1986
1988
  }
1987
1989
  }
1988
1990
  }
1989
- }), An = ["link", "style", "script", "noscript"], Dn = {
1991
+ }), Dn = ["link", "style", "script", "noscript"], Hn = {
1990
1992
  hooks: {
1991
1993
  "tag:normalise": ({ tag: n }) => {
1992
- n.key && An.includes(n.tag) && (n.props["data-hid"] = n._h = ot(n.key));
1994
+ n.key && Dn.includes(n.tag) && (n.props["data-hid"] = n._h = lt(n.key));
1993
1995
  }
1994
1996
  }
1995
- }, Hn = {
1997
+ }, Sn = {
1996
1998
  hooks: {
1997
1999
  "tags:resolve": (n) => {
1998
2000
  const l = (t) => n.tags.find((e) => e._d === t)?._p;
1999
- for (const { prefix: t, offset: e } of kn)
2001
+ for (const { prefix: t, offset: e } of bn)
2000
2002
  for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2001
2003
  const s = l(
2002
2004
  i.tagPriority.replace(t, "")
2003
2005
  );
2004
2006
  typeof s < "u" && (i._p = s + e);
2005
2007
  }
2006
- n.tags.sort((t, e) => t._p - e._p).sort((t, e) => Se(t) - Se(e));
2008
+ n.tags.sort((t, e) => t._p - e._p).sort((t, e) => He(t) - He(e));
2007
2009
  }
2008
2010
  }
2009
- }, Sn = {
2011
+ }, In = {
2010
2012
  meta: "content",
2011
2013
  link: "href",
2012
2014
  htmlAttrs: "lang"
2013
- }, In = (n) => ({
2015
+ }, Bn = (n) => ({
2014
2016
  hooks: {
2015
2017
  "tags:resolve": (l) => {
2016
2018
  const { tags: t } = l, e = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
2017
2019
  delete s.separator, s.pageTitle = we(s.pageTitle || e || "", s, m);
2018
2020
  for (const p of t.filter((u) => u.processTemplateParams !== !1)) {
2019
- const u = Sn[p.tag];
2021
+ const u = In[p.tag];
2020
2022
  u && typeof p.props[u] == "string" ? p.props[u] = we(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2021
2023
  typeof p[r] == "string" && (p[r] = we(p[r], s, m));
2022
2024
  });
@@ -2024,20 +2026,20 @@ const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
2024
2026
  n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
2025
2027
  }
2026
2028
  }
2027
- }), Bn = {
2029
+ }), En = {
2028
2030
  hooks: {
2029
2031
  "tags:resolve": (n) => {
2030
2032
  const { tags: l } = n;
2031
2033
  let t = l.findIndex((i) => i.tag === "titleTemplate");
2032
2034
  const e = l.findIndex((i) => i.tag === "title");
2033
2035
  if (e !== -1 && t !== -1) {
2034
- const i = ft(
2036
+ const i = ht(
2035
2037
  l[t].textContent,
2036
2038
  l[e].textContent
2037
2039
  );
2038
2040
  i !== null ? l[e].textContent = i || l[e].textContent : delete l[e];
2039
2041
  } else if (t !== -1) {
2040
- const i = ft(
2042
+ const i = ht(
2041
2043
  l[t].textContent
2042
2044
  );
2043
2045
  i !== null && (l[t].textContent = i, l[t].tag = "title", t = -1);
@@ -2045,7 +2047,7 @@ const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
2045
2047
  t !== -1 && delete l[t], n.tags = l.filter(Boolean);
2046
2048
  }
2047
2049
  }
2048
- }, En = {
2050
+ }, Mn = {
2049
2051
  hooks: {
2050
2052
  "tags:afterResolve": function(n) {
2051
2053
  for (const l of n.tags)
@@ -2054,16 +2056,16 @@ const Tn = ["templateParams", "htmlAttrs", "bodyAttrs"], $n = {
2054
2056
  }
2055
2057
  };
2056
2058
  // @__NO_SIDE_EFFECTS__
2057
- function Mn(n = {}) {
2058
- const l = Ln(n);
2059
- return l.use(/* @__PURE__ */ Vn()), l;
2059
+ function Ln(n = {}) {
2060
+ const l = Un(n);
2061
+ return l.use(/* @__PURE__ */ Tn()), l;
2060
2062
  }
2061
- function gt(n, l) {
2063
+ function kt(n, l) {
2062
2064
  return !n || n === "server" && l || n === "client" && !l;
2063
2065
  }
2064
- function Ln(n = {}) {
2065
- const l = dn();
2066
- l.addHooks(n.hooks || {}), n.document = n.document || (fn ? document : void 0);
2066
+ function Un(n = {}) {
2067
+ const l = un();
2068
+ l.addHooks(n.hooks || {}), n.document = n.document || (hn ? document : void 0);
2067
2069
  const t = !n.document, e = () => {
2068
2070
  p.dirty = !0, l.callHook("entries:updated", p);
2069
2071
  };
@@ -2078,7 +2080,7 @@ function Ln(n = {}) {
2078
2080
  },
2079
2081
  use(u) {
2080
2082
  const r = typeof u == "function" ? u(p) : u;
2081
- (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), gt(r.mode, t) && l.addHooks(r.hooks || {}));
2083
+ (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), kt(r.mode, t) && l.addHooks(r.hooks || {}));
2082
2084
  },
2083
2085
  push(u, r) {
2084
2086
  delete r?.head;
@@ -2087,7 +2089,7 @@ function Ln(n = {}) {
2087
2089
  input: u,
2088
2090
  ...r
2089
2091
  };
2090
- return gt(d.mode, t) && (s.push(d), e()), {
2092
+ return kt(d.mode, t) && (s.push(d), e()), {
2091
2093
  dispose() {
2092
2094
  s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), e();
2093
2095
  },
@@ -2103,7 +2105,7 @@ function Ln(n = {}) {
2103
2105
  for (const r of u.entries) {
2104
2106
  const d = r.resolvedInput || r.input;
2105
2107
  if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
2106
- for (const h of await gn(r)) {
2108
+ for (const h of await kn(r)) {
2107
2109
  const V = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
2108
2110
  await l.callHook("tag:normalise", V), u.tags.push(V.tag);
2109
2111
  }
@@ -2113,51 +2115,51 @@ function Ln(n = {}) {
2113
2115
  ssr: t
2114
2116
  };
2115
2117
  return [
2116
- $n,
2117
2118
  wn,
2118
- Pn,
2119
- Dn,
2119
+ Cn,
2120
+ An,
2120
2121
  Hn,
2121
- In,
2122
+ Sn,
2122
2123
  Bn,
2123
2124
  En,
2125
+ Mn,
2124
2126
  ...n?.plugins || []
2125
2127
  ].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
2126
2128
  }
2127
- const Un = oo.startsWith("3");
2128
- function Rn(n) {
2129
+ const Rn = oo.startsWith("3");
2130
+ function Nn(n) {
2129
2131
  return typeof n == "function" ? n() : o(n);
2130
2132
  }
2131
- function Ze(n, l = "") {
2133
+ function et(n, l = "") {
2132
2134
  if (n instanceof Promise)
2133
2135
  return n;
2134
- const t = Rn(n);
2135
- return !n || !t ? t : Array.isArray(t) ? t.map((e) => Ze(e, l)) : typeof t == "object" ? Object.fromEntries(
2136
- Object.entries(t).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, o(i)] : [e, Ze(i, e)])
2136
+ const t = Nn(n);
2137
+ return !n || !t ? t : Array.isArray(t) ? t.map((e) => et(e, l)) : typeof t == "object" ? Object.fromEntries(
2138
+ Object.entries(t).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, o(i)] : [e, et(i, e)])
2137
2139
  ) : t;
2138
2140
  }
2139
- const Nn = {
2141
+ const Fn = {
2140
2142
  hooks: {
2141
2143
  "entries:resolve": function(n) {
2142
2144
  for (const l of n.entries)
2143
- l.resolvedInput = Ze(l.input);
2145
+ l.resolvedInput = et(l.input);
2144
2146
  }
2145
2147
  }
2146
- }, Fn = "usehead";
2147
- function On(n) {
2148
+ }, On = "usehead";
2149
+ function jn(n) {
2148
2150
  return {
2149
2151
  install(t) {
2150
- Un && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(Fn, n));
2152
+ Rn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(On, n));
2151
2153
  }
2152
2154
  }.install;
2153
2155
  }
2154
- function jn(n = {}) {
2156
+ function Gn(n = {}) {
2155
2157
  n.domDelayFn = n.domDelayFn || ((t) => to(() => setTimeout(() => t(), 0)));
2156
- const l = /* @__PURE__ */ Mn(n);
2157
- return l.use(Nn), l.install = On(l), l;
2158
+ const l = /* @__PURE__ */ Ln(n);
2159
+ return l.use(Fn), l.install = jn(l), l;
2158
2160
  }
2159
- const Gn = co(), qn = jn(), Wn = fo();
2160
- class Kn extends HTMLElement {
2161
+ const qn = co(), Wn = Gn(), Kn = fo();
2162
+ class zn extends HTMLElement {
2161
2163
  vueApp;
2162
2164
  constructor() {
2163
2165
  super();
@@ -2179,13 +2181,13 @@ class Kn extends HTMLElement {
2179
2181
  let r = this.attributes.getNamedItem(u)?.value;
2180
2182
  m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
2181
2183
  }
2182
- this.vueApp = lo(Te, s), this.vueApp.provide("emitter", Wn), this.vueApp.use(qn), this.vueApp.use(Gn), this.vueApp.use(_o), this.vueApp.use(po), this.vueApp.use(Vo), this.vueApp.use(mo, { bootstrap: !0 });
2184
+ this.vueApp = lo(Te, s), this.vueApp.provide("emitter", Kn), this.vueApp.use(Wn), this.vueApp.use(qn), this.vueApp.use(_o), this.vueApp.use(po), this.vueApp.use(Vo), this.vueApp.use(mo, { bootstrap: !0 });
2183
2185
  const p = document.createElement("div");
2184
2186
  this.vueApp.mount(p), this.appendChild(p.children[0]);
2185
2187
  }
2186
2188
  }
2187
- window.customElements.define("konnectio-hotel", Kn);
2189
+ window.customElements.define("konnectio-hotel", zn);
2188
2190
  export {
2189
- Kn as default
2191
+ zn as default
2190
2192
  };
2191
2193
  //# sourceMappingURL=hotel.js.map