@konnectio/core 4.0.60 → 4.0.61

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