@konnectio/core 4.0.56-rc46 → 4.0.56-rc48

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