@konnectio/core 4.0.56-rc42 → 4.0.56-rc43

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