@konnectio/core 4.0.111 → 4.0.112

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 (54) hide show
  1. package/dist/{ActionField-BIZxHX7x.js → ActionField-DI-ULm-r.js} +2 -2
  2. package/dist/ActionField-DI-ULm-r.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-Dmc1NsxJ.js → AvailabilitySkeleton-Csh8QvFZ.js} +5 -5
  4. package/dist/AvailabilitySkeleton-Csh8QvFZ.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-B8esbsyA.js +9062 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-B8esbsyA.js.br +0 -0
  7. package/dist/{CheckoutWindow-BQ4Yd-jj.js → CheckoutWindow-BFskX4U1.js} +2 -2
  8. package/dist/CheckoutWindow-BFskX4U1.js.br +0 -0
  9. package/dist/{ErrorMessage-DeAxlBUC.js → ErrorMessage-mG19dj2Y.js} +2 -2
  10. package/dist/ErrorMessage-mG19dj2Y.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-lFl1MFHk.js → EventAvailabilityForm-CmjbkSat.js} +4 -4
  12. package/dist/EventAvailabilityForm-CmjbkSat.js.br +0 -0
  13. package/dist/{Field-DAod_0r8.js → Field-ChVeeJd5.js} +3 -3
  14. package/dist/Field-ChVeeJd5.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bMyefgIh.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CMX2Ln2H.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js → SelectField.vue_vue_type_style_index_0_lang-D00K1N6y.js} +4614 -4641
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-D00K1N6y.js.br +0 -0
  18. package/dist/{TermsOfService-C-KmfA7-.js → TermsOfService-TupcHiBZ.js} +3 -3
  19. package/dist/_-DZP0EO5k.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-HN2ehFgL.js → _.vue_vue_type_style_index_0_lang-C_bebiDH.js} +5 -5
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/event.js +7 -7
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +7 -7
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +8 -8
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-CLuzEQsh.js +109 -0
  32. package/dist/giftCard-CLuzEQsh.js.br +0 -0
  33. package/dist/hotel.js +614 -607
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-yGwNNx2b.js → masonry.plugin-3hI9OVJR.js} +71 -68
  36. package/dist/masonry.plugin-3hI9OVJR.js.br +0 -0
  37. package/dist/polyfill.js +1 -1
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/package.json +5 -5
  42. package/dist/ActionField-BIZxHX7x.js.br +0 -4
  43. package/dist/AvailabilitySkeleton-Dmc1NsxJ.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js +0 -9089
  45. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js.br +0 -0
  46. package/dist/CheckoutWindow-BQ4Yd-jj.js.br +0 -0
  47. package/dist/ErrorMessage-DeAxlBUC.js.br +0 -0
  48. package/dist/EventAvailabilityForm-lFl1MFHk.js.br +0 -0
  49. package/dist/Field-DAod_0r8.js.br +0 -0
  50. package/dist/SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js.br +0 -0
  51. package/dist/_-BLWJQG6h.js +0 -5
  52. package/dist/giftCard-BJ5gZfYt.js +0 -118
  53. package/dist/giftCard-BJ5gZfYt.js.br +0 -0
  54. package/dist/masonry.plugin-yGwNNx2b.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,16 +1,16 @@
1
- import { d as Z, u as se, s as X, r as ie, a as d, b as D, y as uo, i as e, w as C, g as h, e as s, t as f, G as Se, H as We, f as v, j as _, z as q, F as O, v as Ke, B as Xe, A as F, h as Tt, D as co, K as po, c as K, o as at, E as Ne, n as Me, S as mo, L as fo, M as ho, N as vo, k as yo, l as go, m as ko, p as bo, q as _o } from "./mitt-CTfj-lXy.js";
2
- import { g as he, b as ve, u as Ce, I as x, s as te, z as we, l as Je, m as ae, j as oe, _ as me, c as Ie, A as Vt, f as Ze, d as pe, B as wt, a as Ct, D as pt, T as ue, r as To, E as Vo, C as wo, k as mt, n as Co, o as ft, p as $o } from "./SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js";
3
- import { G as Po } from "./style-BSDdyhMN.js";
4
- import { R as Ao, B as Le, L as So, S as Ho, M as Do, b as ze, C as No, T as Mo, V as Ro, a as Bo } from "./masonry.plugin-yGwNNx2b.js";
5
- import { A as Io, H as Lo } from "./AvailabilitySkeleton-Dmc1NsxJ.js";
6
- import { S as Eo } from "./TermsOfService-C-KmfA7-.js";
7
- import { C as et, B as Uo, P as Oo, a as Fo } from "./CheckoutWindow-BQ4Yd-jj.js";
8
- import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js";
9
- const qo = { key: 0 }, Go = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" }, xo = { class: "konnectio-hotel-reservation-warning" };
10
- const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnectio-reservation-actions" }, Yo = {
1
+ import { d as Z, u as se, s as X, r as ie, a as d, b as H, y as fo, i as e, w as C, g as h, e as s, t as f, G as De, H as We, f as v, j as _, z as F, F as E, v as Ke, B as Xe, A as U, h as Vt, D as ho, K as vo, c as K, o as at, E as Me, n as Be, S as yo, L as go, M as ko, N as bo, k as _o, l as To, m as Vo, p as wo, q as Co } from "./mitt-CTfj-lXy.js";
2
+ import { g as fe, b as he, u as $e, I as x, s as te, z as Ce, l as Je, m as ae, j as oe, _ as me, c as Le, A as wt, f as Ze, d as pe, B as Ct, a as $t, D as mt, T as ce, r as $o, E as Po, C as Ao, k as ft, n as So, o as ht, p as Do } from "./SelectField.vue_vue_type_style_index_0_lang-D00K1N6y.js";
3
+ import { G as Ho } from "./style-BSDdyhMN.js";
4
+ import { R as No, B as Ee, L as Mo, S as Bo, M as Io, b as ze, C as Ro, T as Lo, V as Eo, a as Uo } from "./masonry.plugin-3hI9OVJR.js";
5
+ import { A as Oo, H as Fo } from "./AvailabilitySkeleton-Csh8QvFZ.js";
6
+ import { S as qo } from "./TermsOfService-TupcHiBZ.js";
7
+ import { C as et, B as Go, P as jo, a as xo } from "./CheckoutWindow-BFskX4U1.js";
8
+ import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-B8esbsyA.js";
9
+ const Wo = { key: 0 }, Ko = { class: "konnectio-hotel-reservation-warning" }, Jo = { class: "konnectio-hotel-reservation-warning" }, zo = { class: "konnectio-hotel-reservation-warning" };
10
+ const Yo = { key: 0 }, Qo = { key: 1 }, Xo = { key: 0 }, Zo = { class: "konnectio-reservation-actions" }, en = {
11
11
  key: 0,
12
12
  class: "konnectio-newsletter-signup"
13
- }, Qo = { class: "konnectio-hotel-reservation-tooltip" }, Xo = /* @__PURE__ */ Z({
13
+ }, tn = { class: "konnectio-hotel-reservation-tooltip" }, on = /* @__PURE__ */ Z({
14
14
  __name: "HotelReservationForm",
15
15
  props: {
16
16
  showGiftCard: { type: Boolean, default: !1 },
@@ -21,14 +21,14 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
21
21
  const { t } = se(), {
22
22
  disableNewsletterSignup: n,
23
23
  currency: o
24
- } = X(he()), {
24
+ } = X(fe()), {
25
25
  hasArrivalDepartureInputs: a
26
- } = he(), {
26
+ } = fe(), {
27
27
  arrivalTime: i,
28
28
  departureTime: r,
29
29
  roomDisplay: p,
30
- templateID: c,
31
- totalPrice: u,
30
+ templateID: u,
31
+ totalPrice: c,
32
32
  areListingsLoading: y,
33
33
  getSelectedPackageRoom: m,
34
34
  selectedPackage: g,
@@ -36,62 +36,62 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
36
36
  currentArrivalDate: P,
37
37
  currentDepartureDate: $,
38
38
  datesMismatch: M,
39
- currentLocation: L,
39
+ currentLocation: R,
40
40
  locationMismatch: N,
41
41
  newsMails: T,
42
42
  termsOfService: S,
43
- discountCode: H,
43
+ discountCode: D,
44
44
  hasTermOfService: z,
45
- acceptTerms: E,
45
+ acceptTerms: L,
46
46
  totalTemplateAddonPrice: Y,
47
- totalRooms: G,
47
+ totalRooms: q,
48
48
  totalAdults: ne,
49
49
  totalChildren: le,
50
- templateRoomTotalPrice: j,
50
+ templateRoomTotalPrice: G,
51
51
  weekendFee: ke
52
- } = X(ve()), { hasHotelLocations: be } = X(Ce()), { removeRoom: $e, validateDiscountCode: Ee } = ve(), { getHotelLocationName: Ue } = Ce(), _e = ie(!1);
52
+ } = X(he()), { hasHotelLocations: be } = X($e()), { removeRoom: Pe, validateDiscountCode: Ue } = he(), { getHotelLocationName: Oe } = $e(), _e = ie(!1);
53
53
  function Te(Q) {
54
- return Q.reduce((fe, { totalPrice: B }) => fe + B, 0);
54
+ return Q.reduce((Ae, { totalPrice: O }) => Ae + O, 0);
55
55
  }
56
- return (Q, U) => {
57
- const fe = po("tooltip");
58
- return d(), D(Ao, {
59
- "discount-code": e(H),
60
- "onUpdate:discountCode": U[4] || (U[4] = (B) => F(H) ? H.value = B : null),
61
- "validate-discount-code": e(Ee),
62
- "total-price": e(u),
56
+ return (Q, j) => {
57
+ const Ae = vo("tooltip");
58
+ return d(), H(No, {
59
+ "discount-code": e(D),
60
+ "onUpdate:discountCode": j[4] || (j[4] = (O) => U(D) ? D.value = O : null),
61
+ "validate-discount-code": e(Ue),
62
+ "total-price": e(c),
63
63
  "weekend-fee": e(ke),
64
64
  "show-gift-card": Q.showGiftCard,
65
65
  "show-terms-notice": Q.showTermsNotice,
66
66
  "is-sidebar-loading": e(y),
67
67
  notice: e(t)("hotel.reservationNotice"),
68
68
  "prev-callback": Q.prevCallback
69
- }, uo({
69
+ }, fo({
70
70
  form: C(() => [
71
71
  Ke(Q.$slots, "form", {}, void 0, !0)
72
72
  ]),
73
73
  "price-summary": C(() => [
74
- isNaN(e(c)) && e(p).length > 0 ? (d(!0), h(O, { key: 0 }, q(e(p), ({
75
- roomGroupID: B,
76
- title: Oe,
77
- variants: Fe
78
- }) => (d(), h("div", { key: B }, [
74
+ isNaN(e(u)) && e(p).length > 0 ? (d(!0), h(E, { key: 0 }, F(e(p), ({
75
+ roomGroupID: O,
76
+ title: it,
77
+ variants: Ve
78
+ }) => (d(), h("div", { key: O }, [
79
79
  s("h6", null, [
80
- s("span", null, f(e(ae)(Oe)), 1)
80
+ s("span", null, f(e(ae)(it)), 1)
81
81
  ]),
82
- (d(!0), h(O, null, q(Fe, (Pe, qe) => (d(), h("div", { key: qe }, [
83
- (d(!0), h(O, null, q(Pe.rooms, (re, Ve) => (d(), h("ul", { key: Ve }, [
82
+ (d(!0), h(E, null, F(Ve, (ve, we) => (d(), h("div", { key: we }, [
83
+ (d(!0), h(E, null, F(ve.rooms, (re, Fe) => (d(), h("ul", { key: Fe }, [
84
84
  s("li", null, [
85
85
  s("span", null, [
86
86
  s("span", null, [
87
- Xe(f(e(ae)(Pe.name)) + " ( ", 1),
87
+ Xe(f(e(ae)(ve.name)) + " ( ", 1),
88
88
  v(x, {
89
89
  icon: "male",
90
90
  type: "fas",
91
91
  color: "font"
92
92
  }),
93
93
  s("span", null, f(re.adultsCount), 1),
94
- re.childrenCount > 0 ? (d(), h(O, { key: 0 }, [
94
+ re.childrenCount > 0 ? (d(), h(E, { key: 0 }, [
95
95
  v(x, {
96
96
  icon: "child",
97
97
  type: "fas",
@@ -99,7 +99,7 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
99
99
  }),
100
100
  s("span", null, f(re.childrenCount), 1)
101
101
  ], 64)) : _("", !0),
102
- U[5] || (U[5] = Xe(") "))
102
+ j[5] || (j[5] = Xe(") "))
103
103
  ])
104
104
  ]),
105
105
  s("b", null, [
@@ -107,14 +107,14 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
107
107
  _("", !0)
108
108
  ])
109
109
  ]),
110
- Te(re.roomAddons) > 0 ? (d(), h("li", Wo, [
110
+ Te(re.roomAddons) > 0 ? (d(), h("li", Yo, [
111
111
  s("span", null, f(e(t)("general.addons")), 1),
112
112
  s("b", null, f(e(oe)(Te(re.roomAddons), e(o))), 1)
113
113
  ])) : _("", !0)
114
114
  ]))), 128))
115
115
  ]))), 128))
116
116
  ]))), 128)) : _("", !0),
117
- e(m) && e(g) ? (d(), h("div", Ko, [
117
+ e(m) && e(g) ? (d(), h("div", Qo, [
118
118
  s("h6", null, [
119
119
  s("span", null, f(e(ae)(e(g).name)), 1)
120
120
  ]),
@@ -125,10 +125,10 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
125
125
  s("span", null, f(e(ae)(e(m).title)), 1)
126
126
  ]),
127
127
  s("b", null, [
128
- s("span", null, f(e(oe)(e(j), e(o))), 1)
128
+ s("span", null, f(e(oe)(e(G), e(o))), 1)
129
129
  ])
130
130
  ]),
131
- e(Y) ? (d(), h("li", Jo, [
131
+ e(Y) ? (d(), h("li", Xo, [
132
132
  s("span", null, f(e(t)("general.addons")), 1),
133
133
  s("b", null, f(e(oe)(e(Y), e(o))), 1)
134
134
  ])) : _("", !0)
@@ -137,25 +137,25 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
137
137
  ])) : _("", !0)
138
138
  ]),
139
139
  actions: C(() => [
140
- s("ul", zo, [
141
- e(n) ? _("", !0) : (d(), h("div", Yo, [
140
+ s("ul", Zo, [
141
+ e(n) ? _("", !0) : (d(), h("div", en, [
142
142
  v(et, {
143
143
  modelValue: e(T),
144
- "onUpdate:modelValue": U[0] || (U[0] = (B) => F(T) ? T.value = B : null),
144
+ "onUpdate:modelValue": j[0] || (j[0] = (O) => U(T) ? T.value = O : null),
145
145
  type: "checkbox",
146
146
  name: "newsletter",
147
147
  label: e(t)("booking.reservation.newsletterSignUp")
148
148
  }, null, 8, ["modelValue", "label"])
149
149
  ])),
150
- e(z) ? (d(), D(et, {
150
+ e(z) ? (d(), H(et, {
151
151
  key: 1,
152
- modelValue: e(E),
153
- "onUpdate:modelValue": U[2] || (U[2] = (B) => F(E) ? E.value = B : null),
152
+ modelValue: e(L),
153
+ "onUpdate:modelValue": j[2] || (j[2] = (O) => U(L) ? L.value = O : null),
154
154
  type: "checkbox",
155
155
  name: "terms"
156
156
  }, {
157
157
  default: C(() => [
158
- v(e(co), {
158
+ v(e(ho), {
159
159
  keypath: "general.termsAndConditionsCheckbox",
160
160
  tag: "span",
161
161
  scope: "global"
@@ -163,7 +163,7 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
163
163
  terms: C(() => [
164
164
  s("a", {
165
165
  class: "konnectio-accept-terms-link",
166
- onClick: U[1] || (U[1] = Tt((B) => _e.value = !0, ["prevent"]))
166
+ onClick: j[1] || (j[1] = Vt((O) => _e.value = !0, ["prevent"]))
167
167
  }, [
168
168
  s("span", null, f(e(Je)(e(t)("general.termsAndConditions"))), 1)
169
169
  ])
@@ -174,9 +174,9 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
174
174
  _: 1
175
175
  }, 8, ["modelValue"])) : _("", !0),
176
176
  Ke(Q.$slots, "actions", {}, void 0, !0),
177
- v(Eo, {
177
+ v(qo, {
178
178
  modelValue: _e.value,
179
- "onUpdate:modelValue": U[3] || (U[3] = (B) => _e.value = B),
179
+ "onUpdate:modelValue": j[3] || (j[3] = (O) => _e.value = O),
180
180
  description: e(S)
181
181
  }, null, 8, ["modelValue", "description"])
182
182
  ])
@@ -185,15 +185,15 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
185
185
  Ke(Q.$slots, "navigation", {}, void 0, !0)
186
186
  ]),
187
187
  "mobile-under-price": C(() => [
188
- U[6] || (U[6] = s("span", null, "For ", -1)),
189
- s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Je)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1),
190
- Se((d(), h("span", Qo, [
188
+ j[6] || (j[6] = s("span", null, "For ", -1)),
189
+ s("b", null, f(e(Ce)(e(P), e($))) + " " + f(e(Je)(e(Ce)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1),
190
+ De((d(), h("span", tn, [
191
191
  v(x, {
192
192
  icon: "circle-info",
193
193
  type: "fas"
194
194
  })
195
195
  ])), [
196
- [fe, {
196
+ [Ae, {
197
197
  content: `<span>(${e(te)(e(P))} - ${e(te)(e($))})</span>`,
198
198
  classes: ["tooltip", "konnectio-tooltip"],
199
199
  html: !0
@@ -203,18 +203,18 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
203
203
  "mobile-summary": C(() => [
204
204
  s("span", null, f(`${e(ne)} ${e(ne) === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1),
205
205
  s("span", null, f(`${e(le)} ${e(le) === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1),
206
- s("span", null, f(`${e(G)} ${e(G) === 1 ? e(t)("booking.reservation.room") : e(t)("booking.reservation.rooms")}`), 1)
206
+ s("span", null, f(`${e(q)} ${e(q) === 1 ? e(t)("booking.reservation.room") : e(t)("booking.reservation.rooms")}`), 1)
207
207
  ]),
208
208
  _: 2
209
209
  }, [
210
- isNaN(e(L)) ? void 0 : {
210
+ isNaN(e(R)) ? void 0 : {
211
211
  name: "reservation-summary",
212
212
  fn: C(() => [
213
- e(be) ? (d(), h("li", qo, [
213
+ e(be) ? (d(), h("li", Wo, [
214
214
  s("span", null, f(e(t)("general.location")), 1),
215
215
  s("b", null, [
216
- s("span", null, f(e(Ue)(e(L))), 1),
217
- Se(s("span", Go, [
216
+ s("span", null, f(e(Oe)(e(R))), 1),
217
+ De(s("span", Ko, [
218
218
  v(x, {
219
219
  icon: "exclamation-triangle",
220
220
  type: "fas"
@@ -227,8 +227,8 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
227
227
  s("li", null, [
228
228
  s("span", null, f(e(t)("booking.reservation.arrival")), 1),
229
229
  s("b", null, [
230
- s("span", null, f(e(a)(e(L)) ? `${e(te)(e(P))}, ${e(i)}` : e(te)(e(P))), 1),
231
- Se(s("span", jo, [
230
+ s("span", null, f(e(a)(e(R)) ? `${e(te)(e(P))}, ${e(i)}` : e(te)(e(P))), 1),
231
+ De(s("span", Jo, [
232
232
  v(x, {
233
233
  icon: "exclamation-triangle",
234
234
  type: "fas"
@@ -241,8 +241,8 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
241
241
  s("li", null, [
242
242
  s("span", null, f(e(t)("booking.reservation.departure")), 1),
243
243
  s("b", null, [
244
- s("span", null, f(e(a)(e(L)) ? `${e(te)(e($))}, ${e(r)}` : e(te)(e($))), 1),
245
- Se(s("span", xo, [
244
+ s("span", null, f(e(a)(e(R)) ? `${e(te)(e($))}, ${e(r)}` : e(te)(e($))), 1),
245
+ De(s("span", zo, [
246
246
  v(x, {
247
247
  icon: "exclamation-triangle",
248
248
  type: "fas"
@@ -254,13 +254,13 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
254
254
  ]),
255
255
  s("li", null, [
256
256
  s("span", null, f(e(t)("booking.reservation.nights")), 1),
257
- s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Je)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1)
257
+ s("b", null, f(e(Ce)(e(P), e($))) + " " + f(e(Je)(e(Ce)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1)
258
258
  ]),
259
- e(w) ? (d(!0), h(O, { key: 1 }, q(e(w), (B) => (d(), h("li", {
260
- key: B.id
259
+ e(w) ? (d(!0), h(E, { key: 1 }, F(e(w), (O) => (d(), h("li", {
260
+ key: O.id
261
261
  }, [
262
- s("span", null, f(`${e(t)("general.discountCode")} (${B.value})`), 1),
263
- s("b", null, f(B.key), 1)
262
+ s("span", null, f(`${e(t)("general.discountCode")} (${O.value})`), 1),
263
+ s("b", null, f(O.key), 1)
264
264
  ]))), 128)) : _("", !0)
265
265
  ]),
266
266
  key: "0"
@@ -268,7 +268,7 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
268
268
  ]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
269
269
  };
270
270
  }
271
- }), Ye = /* @__PURE__ */ me(Xo, [["__scopeId", "data-v-e8b9b2ba"]]), Zo = { class: "konnectio-room-config-option" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config" }, on = { class: "konnectio-selected-room-config-people" }, nn = { key: 0 }, ln = { class: "konnectio-selected-room-config-price" }, an = /* @__PURE__ */ Z({
271
+ }), Ye = /* @__PURE__ */ me(on, [["__scopeId", "data-v-e8b9b2ba"]]), nn = { class: "konnectio-room-config-option" }, ln = { key: 0 }, an = { class: "konnectio-selected-room-config" }, sn = { class: "konnectio-selected-room-config-people" }, rn = { key: 0 }, dn = { class: "konnectio-selected-room-config-price" }, cn = /* @__PURE__ */ Z({
272
272
  __name: "RoomConfigField",
273
273
  props: {
274
274
  modelValue: {},
@@ -279,29 +279,29 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
279
279
  },
280
280
  emits: ["update:modelValue"],
281
281
  setup(l, { emit: t }) {
282
- const { t: n } = se(), { currency: o } = X(he()), a = t, i = l;
283
- function r(c) {
284
- a("update:modelValue", c);
282
+ const { t: n } = se(), { currency: o } = X(fe()), a = t, i = l;
283
+ function r(u) {
284
+ a("update:modelValue", u);
285
285
  }
286
286
  const p = K({
287
287
  get: () => i.modelValue,
288
- set: (c) => r(c)
288
+ set: (u) => r(u)
289
289
  });
290
- return (c, u) => (d(), D(Ie, {
290
+ return (u, c) => (d(), H(Le, {
291
291
  modelValue: p.value,
292
- "onUpdate:modelValue": u[0] || (u[0] = (y) => p.value = y),
293
- label: c.label,
292
+ "onUpdate:modelValue": c[0] || (c[0] = (y) => p.value = y),
293
+ label: u.label,
294
294
  placeholder: "Select guest configuration",
295
295
  labelKey: "label",
296
296
  valueKey: "value",
297
297
  "icon-placement": "label",
298
- options: c.options,
299
- readonly: c.readonly,
300
- required: c.required,
298
+ options: u.options,
299
+ readonly: u.readonly,
300
+ required: u.required,
301
301
  searchable: !1
302
302
  }, {
303
303
  option: C(({ data: y }) => [
304
- s("span", Zo, [
304
+ s("span", nn, [
305
305
  s("div", null, [
306
306
  v(x, {
307
307
  icon: "male",
@@ -309,7 +309,7 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
309
309
  color: "font"
310
310
  }),
311
311
  s("span", null, f(`${y.adults}`), 1),
312
- y.children > 0 ? (d(), h("span", en, [
312
+ y.children > 0 ? (d(), h("span", ln, [
313
313
  v(x, {
314
314
  icon: "child",
315
315
  type: "fas",
@@ -322,19 +322,19 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
322
322
  ])
323
323
  ]),
324
324
  "selected-option": C(({ data: y }) => [
325
- s("div", tn, [
326
- s("div", on, [
325
+ s("div", an, [
326
+ s("div", sn, [
327
327
  s("div", null, [
328
328
  _("", !0),
329
329
  s("span", null, f(`${y.adults} ${y.adults === 1 ? e(n)("general.adult") : e(n)("general.adults")}`), 1)
330
330
  ]),
331
- y.children > 0 ? (d(), h("div", nn, [
331
+ y.children > 0 ? (d(), h("div", rn, [
332
332
  _("", !0),
333
333
  s("span", null, f(`& ${y.children} ${y.children === 1 ? e(n)("general.child") : e(n)("general.children")}`), 1)
334
334
  ])) : _("", !0)
335
335
  ]),
336
- s("div", ln, [
337
- u[1] || (u[1] = s("span", null, null, -1)),
336
+ s("div", dn, [
337
+ c[1] || (c[1] = s("span", null, null, -1)),
338
338
  Xe(" " + f(`(${e(oe)(y.price, e(o))})`), 1)
339
339
  ])
340
340
  ])
@@ -342,8 +342,8 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
342
342
  _: 1
343
343
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
344
344
  }
345
- }), sn = /* @__PURE__ */ me(an, [["__scopeId", "data-v-69fe83d8"]]), rn = { class: "konnectio-availability-listing-selection" }, dn = { key: 1 }, un = { class: "konnectio-listing-config-body" }, cn = { class: "konnectio-listing-units-body" };
346
- const pn = /* @__PURE__ */ Z({
345
+ }), un = /* @__PURE__ */ me(cn, [["__scopeId", "data-v-69fe83d8"]]), pn = { class: "konnectio-availability-listing-selection" }, mn = { key: 1 }, fn = { class: "konnectio-listing-config-body" }, hn = { class: "konnectio-listing-units-body" };
346
+ const vn = /* @__PURE__ */ Z({
347
347
  __name: "Hotel",
348
348
  props: {
349
349
  room: {},
@@ -361,7 +361,7 @@ const pn = /* @__PURE__ */ Z({
361
361
  const i = K(() => n.room.rates.map((T) => ({
362
362
  label: T.name,
363
363
  value: T.id
364
- }))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = X(he()), { roomSelect: c } = X(ve()), { addToCart: u, removeFromCart: y } = Vt(), m = (T, S) => n.room.rates.find((H) => H.id === T)?.occupantRates.find((H) => H.index === S), g = K(() => n.room.rates.every((T) => T.isBreakfastIncluded === !0)), w = (T, S) => m(T, S) ? m(T, S)?.rooms : null, P = (T) => n.room.rates.length > 0 ? n.room.rates.find((S) => S.id === T)?.occupantRates.map((S) => ({
364
+ }))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = X(fe()), { roomSelect: u } = X(he()), { addToCart: c, removeFromCart: y } = wt(), m = (T, S) => n.room.rates.find((D) => D.id === T)?.occupantRates.find((D) => D.index === S), g = K(() => n.room.rates.every((T) => T.isBreakfastIncluded === !0)), w = (T, S) => m(T, S) ? m(T, S)?.rooms : null, P = (T) => n.room.rates.length > 0 ? n.room.rates.find((S) => S.id === T)?.occupantRates.map((S) => ({
365
365
  value: S.index,
366
366
  price: S.totalPrice,
367
367
  adults: S.adultsCount,
@@ -369,9 +369,9 @@ const pn = /* @__PURE__ */ Z({
369
369
  hasBreakfast: S.hasBreakfast
370
370
  })) || [] : [], $ = K(() => n.room.rates.length > 1);
371
371
  function M(T, S) {
372
- o.value[T].config[0].id = n.room.rates.find((H) => H.id === S.value)?.occupantRateIndex || NaN;
372
+ o.value[T].config[0].id = n.room.rates.find((D) => D.id === S.value)?.occupantRateIndex || NaN;
373
373
  }
374
- function L() {
374
+ function R() {
375
375
  $.value ? p.value ? o.value.push({
376
376
  id: n.room.bestRateMatch || void 0,
377
377
  config: [{
@@ -396,14 +396,14 @@ const pn = /* @__PURE__ */ Z({
396
396
  });
397
397
  }
398
398
  at(() => {
399
- L();
399
+ R();
400
400
  });
401
401
  const N = K(() => JSON.parse(JSON.stringify(o.value)));
402
- return Ne(N, (T, S) => {
403
- S.length > 0 && T.forEach((H, z) => {
404
- H.config.forEach((E, Y) => {
405
- const G = E.units, ne = S[z].config[Y].units;
406
- G !== ne && (G > ne ? (o.value[z].config[Y].addons.push({}), u({
402
+ return Me(N, (T, S) => {
403
+ S.length > 0 && T.forEach((D, z) => {
404
+ D.config.forEach((L, Y) => {
405
+ const q = L.units, ne = S[z].config[Y].units;
406
+ q !== ne && (q > ne ? (o.value[z].config[Y].addons.push({}), c({
407
407
  id: n.room.id,
408
408
  name: n.room.title,
409
409
  value: n.room.rates[z].rackRate
@@ -414,9 +414,9 @@ const pn = /* @__PURE__ */ Z({
414
414
  })));
415
415
  });
416
416
  });
417
- }, { deep: !0 }), Ne(o, () => {
418
- c.value[n.room.id] = o.value;
419
- }, { deep: !0 }), (T, S) => (d(), D(Le, {
417
+ }, { deep: !0 }), Me(o, () => {
418
+ u.value[n.room.id] = o.value;
419
+ }, { deep: !0 }), (T, S) => (d(), H(Ee, {
420
420
  type: "hotel",
421
421
  "listing-id": T.room.id,
422
422
  gallery: T.room.images,
@@ -428,56 +428,56 @@ const pn = /* @__PURE__ */ Z({
428
428
  "includes-breakfast": g.value
429
429
  }, {
430
430
  action: C(() => [
431
- s("div", rn, [
432
- (d(!0), h(O, null, q(o.value, (H, z) => (d(), h("div", {
433
- key: H.id,
431
+ s("div", pn, [
432
+ (d(!0), h(E, null, F(o.value, (D, z) => (d(), h("div", {
433
+ key: D.id,
434
434
  class: "konnectio-hotel-room"
435
435
  }, [
436
- $.value ? (d(), D(Ie, {
436
+ $.value ? (d(), H(Le, {
437
437
  key: 0,
438
- modelValue: H.id,
439
- "onUpdate:modelValue": (E) => H.id = E,
438
+ modelValue: D.id,
439
+ "onUpdate:modelValue": (L) => D.id = L,
440
440
  label: e(t)("hotel.roomVariant"),
441
441
  placeholder: e(t)("hotel.chooseARoomVariant"),
442
442
  options: i.value,
443
443
  searchable: !1,
444
- onChanged: (E) => M(z, E)
444
+ onChanged: (L) => M(z, L)
445
445
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
446
- H.id ? (d(), h("div", dn, [
447
- (d(!0), h(O, null, q(T.room.rates, ({
448
- id: E,
446
+ D.id ? (d(), h("div", mn, [
447
+ (d(!0), h(E, null, F(T.room.rates, ({
448
+ id: L,
449
449
  maximumOccupants: Y
450
450
  }) => (d(), h("div", {
451
- key: E,
451
+ key: L,
452
452
  class: "konnectio-listing-action-selective-i"
453
453
  }, [
454
- H.id === E ? (d(!0), h(O, { key: 0 }, q(H.config, (G, ne) => (d(), h("div", {
454
+ D.id === L ? (d(!0), h(E, { key: 0 }, F(D.config, (q, ne) => (d(), h("div", {
455
455
  key: ne,
456
456
  class: "konnectio-listing-action-selective"
457
457
  }, [
458
- s("ul", un, [
459
- v(sn, {
460
- modelValue: G.id,
461
- "onUpdate:modelValue": (le) => G.id = le,
458
+ s("ul", fn, [
459
+ v(un, {
460
+ modelValue: q.id,
461
+ "onUpdate:modelValue": (le) => q.id = le,
462
462
  icon: "male",
463
463
  "icon-type": "fas",
464
464
  label: e(t)("general.guests"),
465
465
  description: Y === 0 ? void 0 : `${e(t)("general.maximumGuests")}: ${Y}`,
466
- options: P(E),
467
- readonly: !(P(E).length > 1)
466
+ options: P(L),
467
+ readonly: !(P(L).length > 1)
468
468
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
469
469
  ]),
470
- s("ul", cn, [
470
+ s("ul", hn, [
471
471
  v(Ze, {
472
- modelValue: G.units,
473
- "onUpdate:modelValue": (le) => G.units = le,
474
- description: e(r) ? void 0 : `${e(t)("booking.availability.availableUnits")}: ${w(H.id, G.id)}`,
472
+ modelValue: q.units,
473
+ "onUpdate:modelValue": (le) => q.units = le,
474
+ description: e(r) ? void 0 : `${e(t)("booking.availability.availableUnits")}: ${w(D.id, q.id)}`,
475
475
  icon: "house",
476
476
  "icon-type": "fas",
477
477
  "icon-placement": "label",
478
478
  label: e(t)("booking.availability.units"),
479
479
  minValue: 0,
480
- "max-value": w(E, G.id) || 1 / 0
480
+ "max-value": w(L, q.id) || 1 / 0
481
481
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
482
482
  ]),
483
483
  _("", !0)
@@ -490,7 +490,7 @@ const pn = /* @__PURE__ */ Z({
490
490
  _: 1
491
491
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
492
492
  }
493
- }), mn = /* @__PURE__ */ me(pn, [["__scopeId", "data-v-9211600c"]]), fn = { class: "konnectio-template-side-panel" }, hn = { class: "konnectio-template-side-panel-listings" }, vn = /* @__PURE__ */ Z({
493
+ }), yn = /* @__PURE__ */ me(vn, [["__scopeId", "data-v-9211600c"]]), gn = { class: "konnectio-template-side-panel" }, kn = { class: "konnectio-template-side-panel-listings" }, bn = /* @__PURE__ */ Z({
494
494
  __name: "Template",
495
495
  props: {
496
496
  title: {},
@@ -500,9 +500,9 @@ const pn = /* @__PURE__ */ Z({
500
500
  callback: { type: Function }
501
501
  },
502
502
  setup(l) {
503
- const { t } = se(), { templateID: n, roomGroupID: o, selectionHasNoAddons: a } = X(ve()), { currency: i } = X(he()), { clearRoomSelection: r } = ve(), p = l, c = ie(!0), u = K(() => {
503
+ const { t } = se(), { templateID: n, roomGroupID: o, selectionHasNoAddons: a } = X(he()), { currency: i } = X(fe()), { clearRoomSelection: r } = he(), p = l, u = ie(!0), c = K(() => {
504
504
  function m(g, w) {
505
- return c.value === !0 ? g.extraPrice > w.extraPrice ? -1 : 1 : g.extraPrice > w.extraPrice ? 1 : -1;
505
+ return u.value === !0 ? g.extraPrice > w.extraPrice ? -1 : 1 : g.extraPrice > w.extraPrice ? 1 : -1;
506
506
  }
507
507
  return p.roomGroups?.slice().sort(m);
508
508
  });
@@ -513,27 +513,27 @@ const pn = /* @__PURE__ */ Z({
513
513
  }
514
514
  p.callback(2);
515
515
  }
516
- return (m, g) => (d(), D(Uo, {
516
+ return (m, g) => (d(), H(Go, {
517
517
  title: m.title,
518
518
  subtitle: e(t)("booking.availability.selectATemplateRoom")
519
519
  }, {
520
520
  default: C(() => [
521
- s("div", fn, [
522
- s("div", hn, [
523
- (d(!0), h(O, null, q(u.value, ({
521
+ s("div", gn, [
522
+ s("div", kn, [
523
+ (d(!0), h(E, null, F(c.value, ({
524
524
  id: w,
525
525
  title: P,
526
526
  description: $,
527
527
  images: M,
528
- facilities: L,
528
+ facilities: R,
529
529
  extraPrice: N
530
- }) => (d(), D(Le, {
530
+ }) => (d(), H(Ee, {
531
531
  type: "hotel",
532
532
  key: w,
533
533
  "listing-id": w,
534
534
  name: P,
535
535
  description: $,
536
- facilities: L,
536
+ facilities: R,
537
537
  gallery: M,
538
538
  "includes-breakfast": !1,
539
539
  "hide-info-button": !0
@@ -555,7 +555,7 @@ const pn = /* @__PURE__ */ Z({
555
555
  _: 1
556
556
  }, 8, ["title", "subtitle"]));
557
557
  }
558
- }), yn = /* @__PURE__ */ me(vn, [["__scopeId", "data-v-d65a8a63"]]), gn = { class: "konnectio-template-select-package" }, kn = /* @__PURE__ */ Z({
558
+ }), _n = /* @__PURE__ */ me(bn, [["__scopeId", "data-v-d65a8a63"]]), Tn = { class: "konnectio-template-select-package" }, Vn = /* @__PURE__ */ Z({
559
559
  __name: "Template",
560
560
  props: {
561
561
  id: {},
@@ -569,7 +569,7 @@ const pn = /* @__PURE__ */ Z({
569
569
  },
570
570
  setup(l) {
571
571
  const { t } = se(), n = l, o = K(() => n.roomGroups.reduce(
572
- (c, u) => c < u.extraPrice ? c : u.extraPrice,
572
+ (u, c) => u < c.extraPrice ? u : c.extraPrice,
573
573
  1 / 0
574
574
  )), a = K(() => {
575
575
  if (n.image)
@@ -583,22 +583,22 @@ const pn = /* @__PURE__ */ Z({
583
583
  function r() {
584
584
  i.value = !0;
585
585
  }
586
- function p(c) {
587
- n.callback(c), i.value = !1;
586
+ function p(u) {
587
+ n.callback(u), i.value = !1;
588
588
  }
589
- return (c, u) => (d(), D(Le, {
589
+ return (u, c) => (d(), H(Ee, {
590
590
  type: "template",
591
- "listing-id": c.id,
592
- name: c.name,
593
- description: c.description,
591
+ "listing-id": u.id,
592
+ name: u.name,
593
+ description: u.description,
594
594
  gallery: a.value,
595
- layout: e(wt).Template,
595
+ layout: e(Ct).Template,
596
596
  "includes-breakfast": !1,
597
597
  "hide-info-button": !1,
598
598
  "prices-from": o.value
599
599
  }, {
600
600
  action: C(() => [
601
- s("div", gn, [
601
+ s("div", Tn, [
602
602
  v(pe, {
603
603
  onClickEvent: r,
604
604
  label: e(t)("booking.availability.selectPackage"),
@@ -607,20 +607,20 @@ const pn = /* @__PURE__ */ Z({
607
607
  ])
608
608
  ]),
609
609
  default: C(() => [
610
- v(yn, {
610
+ v(_n, {
611
611
  modelValue: i.value,
612
- "onUpdate:modelValue": u[0] || (u[0] = (y) => i.value = y),
613
- title: c.name,
614
- "template-id": c.id,
615
- "room-groups": c.roomGroups,
616
- "hide-addons": c.hideAddons,
612
+ "onUpdate:modelValue": c[0] || (c[0] = (y) => i.value = y),
613
+ title: u.name,
614
+ "template-id": u.id,
615
+ "room-groups": u.roomGroups,
616
+ "hide-addons": u.hideAddons,
617
617
  callback: p
618
618
  }, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
619
619
  ]),
620
620
  _: 1
621
621
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
622
622
  }
623
- }), bn = { class: "konnectio-special-offer-availability" }, _n = { class: "konnectio-special-offer-availability-button" }, Tn = /* @__PURE__ */ Z({
623
+ }), wn = { class: "konnectio-special-offer-availability" }, Cn = { class: "konnectio-special-offer-availability-button" }, $n = /* @__PURE__ */ Z({
624
624
  __name: "SpecialOffer",
625
625
  props: {
626
626
  id: {},
@@ -633,13 +633,13 @@ const pn = /* @__PURE__ */ Z({
633
633
  roomGroups: {}
634
634
  },
635
635
  setup(l) {
636
- const { t } = se(), { updateDates: n } = Ce(), { display: o } = Ct(), a = l, i = ie([]), r = K(() => we(a.fromDate, a.toDate) === 1), p = K(() => [{
636
+ const { t } = se(), { updateDates: n } = $e(), { display: o } = $t(), a = l, i = ie([]), r = K(() => Ce(a.fromDate, a.toDate) === 1), p = K(() => [{
637
637
  large: a.image.url,
638
638
  medium: a.image.url,
639
639
  thumb: a.image.url,
640
640
  url: a.image.url
641
641
  }]);
642
- function c() {
642
+ function u() {
643
643
  i.value.length > 0 ? n(i.value[0], i.value[1]) : o({
644
644
  message: t("alert.error.selectDates"),
645
645
  type: "error"
@@ -647,21 +647,21 @@ const pn = /* @__PURE__ */ Z({
647
647
  }
648
648
  return at(() => {
649
649
  r.value && (i.value = [new Date(a.fromDate), new Date(a.toDate)]);
650
- }), (u, y) => (d(), D(Le, {
650
+ }), (c, y) => (d(), H(Ee, {
651
651
  type: "template",
652
- "listing-id": u.id,
653
- name: u.name,
654
- description: u.description,
652
+ "listing-id": c.id,
653
+ name: c.name,
654
+ description: c.description,
655
655
  gallery: p.value,
656
- layout: e(wt).Template,
656
+ layout: e(Ct).Template,
657
657
  "includes-breakfast": !1,
658
658
  "hide-info-button": !1,
659
- "to-date": u.toDate,
660
- "from-date": u.fromDate
659
+ "to-date": c.toDate,
660
+ "from-date": c.fromDate
661
661
  }, {
662
662
  action: C(() => [
663
- s("div", bn, [
664
- v($t, {
663
+ s("div", wn, [
664
+ v(Pt, {
665
665
  modelValue: i.value,
666
666
  "onUpdate:modelValue": y[0] || (y[0] = (m) => i.value = m),
667
667
  label: e(t)("availability.checkInOut"),
@@ -669,16 +669,16 @@ const pn = /* @__PURE__ */ Z({
669
669
  "icon-type": "fas",
670
670
  "icon-placement": "label",
671
671
  "min-range": 1,
672
- "start-date": new Date(u.fromDate),
673
- "min-date": new Date(u.fromDate),
674
- "max-date": new Date(u.toDate),
672
+ "start-date": new Date(c.fromDate),
673
+ "min-date": new Date(c.fromDate),
674
+ "max-date": new Date(c.toDate),
675
675
  readonly: r.value,
676
676
  range: ""
677
677
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
678
- s("div", _n, [
678
+ s("div", Cn, [
679
679
  v(pe, {
680
680
  label: e(t)("availability.buttonLabel"),
681
- onClick: Tt(c, ["prevent"])
681
+ onClick: Vt(u, ["prevent"])
682
682
  }, null, 8, ["label"])
683
683
  ])
684
684
  ])
@@ -686,7 +686,7 @@ const pn = /* @__PURE__ */ Z({
686
686
  _: 1
687
687
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
688
688
  }
689
- }), ht = /* @__PURE__ */ Z({
689
+ }), vt = /* @__PURE__ */ Z({
690
690
  __name: "TimeField",
691
691
  props: {
692
692
  modelValue: {},
@@ -709,11 +709,11 @@ const pn = /* @__PURE__ */ Z({
709
709
  n("update:modelValue", r);
710
710
  }
711
711
  const i = ie(o.modelValue);
712
- return Ne(i, (r) => {
712
+ return Me(i, (r) => {
713
713
  a(r);
714
- }), (r, p) => (d(), D($t, {
714
+ }), (r, p) => (d(), H(Pt, {
715
715
  modelValue: i.value,
716
- "onUpdate:modelValue": p[0] || (p[0] = (c) => i.value = c),
716
+ "onUpdate:modelValue": p[0] || (p[0] = (u) => i.value = u),
717
717
  type: "time",
718
718
  label: r.label,
719
719
  id: r.id,
@@ -728,7 +728,7 @@ const pn = /* @__PURE__ */ Z({
728
728
  "max-time": r.maxTime
729
729
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
730
730
  }
731
- }), Vn = { style: { display: "flex", "align-items": "baseline" } }, wn = /* @__PURE__ */ Z({
731
+ }), Pn = { style: { display: "flex", "align-items": "baseline" } }, An = /* @__PURE__ */ Z({
732
732
  __name: "CountryField",
733
733
  props: {
734
734
  modelValue: {},
@@ -748,9 +748,9 @@ const pn = /* @__PURE__ */ Z({
748
748
  get: () => a.modelValue,
749
749
  set: (p) => i(p)
750
750
  });
751
- return (p, c) => (d(), D(Ie, {
751
+ return (p, u) => (d(), H(Le, {
752
752
  modelValue: r.value,
753
- "onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
753
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => r.value = c),
754
754
  label: p.label,
755
755
  placeholder: e(n)("booking.reservation.countryPlaceholder"),
756
756
  labelKey: "name",
@@ -758,24 +758,24 @@ const pn = /* @__PURE__ */ Z({
758
758
  options: p.options,
759
759
  required: p.required
760
760
  }, {
761
- option: C(({ data: u }) => [
761
+ option: C(({ data: c }) => [
762
762
  s("i", {
763
- class: Me(["konnectio-flag-icon", u.iso])
763
+ class: Be(["konnectio-flag-icon", c.iso])
764
764
  }, null, 2),
765
- s("span", null, f(u.name), 1)
765
+ s("span", null, f(c.name), 1)
766
766
  ]),
767
- "selected-option": C(({ data: u }) => [
768
- s("div", Vn, [
767
+ "selected-option": C(({ data: c }) => [
768
+ s("div", Pn, [
769
769
  s("i", {
770
- class: Me(["konnectio-flag-icon", u.iso])
770
+ class: Be(["konnectio-flag-icon", c.iso])
771
771
  }, null, 2),
772
- s("span", null, f(u.name), 1)
772
+ s("span", null, f(c.name), 1)
773
773
  ])
774
774
  ]),
775
775
  _: 1
776
776
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
777
777
  }
778
- }), Cn = /* @__PURE__ */ me(wn, [["__scopeId", "data-v-0d9707d3"]]), $n = /* @__PURE__ */ Z({
778
+ }), Sn = /* @__PURE__ */ me(An, [["__scopeId", "data-v-0d9707d3"]]), Dn = /* @__PURE__ */ Z({
779
779
  __name: "NameField",
780
780
  props: {
781
781
  modelValue: {},
@@ -797,148 +797,149 @@ const pn = /* @__PURE__ */ Z({
797
797
  },
798
798
  emits: ["update:modelValue", "update:title"],
799
799
  setup(l, { emit: t }) {
800
- const n = l, o = t, a = n.id || pt(), i = ie(""), r = ie(2);
800
+ const n = l, o = t, a = n.id || mt(), i = ie(""), r = ie(2);
801
801
  function p() {
802
802
  o("update:modelValue", i.value);
803
803
  }
804
- Ne(r, (u) => {
805
- o("update:title", u);
804
+ Me(r, (c) => {
805
+ o("update:title", c);
806
806
  });
807
- const { t: c } = se();
807
+ const { t: u } = se();
808
808
  return at(() => {
809
809
  n.modelValue && (i.value = n.modelValue), n.title && (r.value = n.title);
810
- }), (u, y) => (d(), D(To, {
811
- label: u.label,
810
+ }), (c, y) => (d(), H($o, {
811
+ label: c.label,
812
812
  id: e(a),
813
- required: u.required,
813
+ required: c.required,
814
814
  type: "konnectio-name-field",
815
- readonly: u.readonly,
816
- limit: u.limit
815
+ readonly: c.readonly,
816
+ limit: c.limit
817
817
  }, {
818
818
  default: C(() => [
819
819
  s("div", {
820
- class: Me([
820
+ class: Be([
821
821
  "konnectio-name-input",
822
- { "no-title": u.excludeTitle }
822
+ { "no-title": c.excludeTitle }
823
823
  ])
824
824
  }, [
825
- u.excludeTitle ? _("", !0) : (d(), D(Ie, {
825
+ c.excludeTitle ? _("", !0) : (d(), H(Le, {
826
826
  key: 0,
827
827
  modelValue: r.value,
828
828
  "onUpdate:modelValue": y[0] || (y[0] = (m) => r.value = m),
829
- id: e(pt)(),
830
- icon: u.icon,
831
- "icon-color": u.iconColor,
832
- "icon-type": u.iconType,
829
+ id: e(mt)(),
830
+ icon: c.icon,
831
+ "icon-color": c.iconColor,
832
+ "icon-type": c.iconType,
833
833
  options: [
834
834
  {
835
- label: e(c)("booking.reservation.noNameTitle"),
835
+ label: e(u)("booking.reservation.noNameTitle"),
836
836
  value: 1
837
837
  },
838
838
  {
839
- label: e(c)("booking.reservation.nameTitleMr"),
839
+ label: e(u)("booking.reservation.nameTitleMr"),
840
840
  value: 2
841
841
  },
842
842
  {
843
- label: e(c)("booking.reservation.nameTitleMs"),
843
+ label: e(u)("booking.reservation.nameTitleMs"),
844
844
  value: 3
845
845
  },
846
846
  {
847
- label: e(c)("booking.reservation.nameTitleMrs"),
847
+ label: e(u)("booking.reservation.nameTitleMrs"),
848
848
  value: 4
849
849
  },
850
850
  {
851
- label: e(c)("booking.reservation.nameTitleDr"),
851
+ label: e(u)("booking.reservation.nameTitleDr"),
852
852
  value: 5
853
853
  }
854
854
  ],
855
- readonly: u.readonly,
855
+ readonly: c.readonly,
856
856
  "hide-button": "",
857
- "input-style": u.inputStyle,
857
+ "input-style": c.inputStyle,
858
858
  searchable: !1
859
859
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
860
- v(ue, {
860
+ v(ce, {
861
861
  modelValue: i.value,
862
862
  "onUpdate:modelValue": y[1] || (y[1] = (m) => i.value = m),
863
863
  type: "text",
864
864
  name: "name",
865
865
  autocomplete: "name",
866
866
  id: e(a),
867
- icon: u.excludeTitle ? u.icon : void 0,
868
- "icon-color": u.iconColor,
869
- "icon-type": u.iconType,
870
- placeholder: u.placeholder,
871
- required: u.required,
872
- readonly: u.readonly,
873
- limit: u.limit,
867
+ icon: c.excludeTitle ? c.icon : void 0,
868
+ "icon-color": c.iconColor,
869
+ "icon-type": c.iconType,
870
+ placeholder: c.placeholder,
871
+ required: c.required,
872
+ readonly: c.readonly,
873
+ limit: c.limit,
874
874
  onInput: y[2] || (y[2] = (m) => p()),
875
- "input-style": u.inputStyle
875
+ "input-style": c.inputStyle
876
876
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
877
877
  ], 2)
878
878
  ]),
879
879
  _: 1
880
880
  }, 8, ["label", "id", "required", "readonly", "limit"]));
881
881
  }
882
- }), Pn = /* @__PURE__ */ me($n, [["__scopeId", "data-v-e288c8ae"]]), An = { class: "hotel-skeleton" }, Sn = { class: "hotel-skeleton-content" }, Hn = { class: "hotel-skeleton-sidebar" }, Dn = /* @__PURE__ */ Z({
882
+ }), Hn = /* @__PURE__ */ me(Dn, [["__scopeId", "data-v-e288c8ae"]]), Nn = { class: "hotel-skeleton" }, Mn = { class: "hotel-skeleton-content" }, Bn = { class: "hotel-skeleton-sidebar" }, In = /* @__PURE__ */ Z({
883
883
  __name: "HotelSkeleton",
884
884
  setup(l) {
885
- return (t, n) => (d(), h("div", An, [
886
- s("div", Sn, [
887
- v(Io, { hotel: "" }),
888
- v(So)
885
+ return (t, n) => (d(), h("div", Nn, [
886
+ s("div", Mn, [
887
+ v(Oo, { hotel: "" }),
888
+ v(Mo)
889
889
  ]),
890
- s("div", Hn, [
891
- v(Ho)
890
+ s("div", Bn, [
891
+ v(Bo)
892
892
  ])
893
893
  ]));
894
894
  }
895
- }), Nn = /* @__PURE__ */ me(Dn, [["__scopeId", "data-v-1bb21da4"]]), Mn = { id: "booking-availability-container" }, Rn = { id: "booking-availability-controls" };
896
- const Bn = { key: 1 }, In = { key: 0 }, Ln = {
895
+ }), Rn = /* @__PURE__ */ me(In, [["__scopeId", "data-v-1bb21da4"]]), Ln = { id: "booking-availability-container" }, En = { id: "booking-availability-controls" };
896
+ const Un = { key: 1 }, On = { key: 0 }, Fn = {
897
897
  key: 0,
898
898
  id: "booking-availability-packages"
899
- }, En = {
899
+ }, qn = {
900
900
  key: 0,
901
901
  class: "konnectio-hotel-availability-title"
902
- }, Un = { id: "booking-availability-packages-wrapper" }, On = { key: 1 }, Fn = {
902
+ }, Gn = { id: "booking-availability-packages-wrapper" }, jn = { key: 1 }, xn = {
903
903
  key: 0,
904
904
  class: "konnectio-hotel-availability-title"
905
- }, qn = { id: "konnectio-listings" }, Gn = {
905
+ }, Wn = { id: "konnectio-listings" }, Kn = {
906
906
  key: 2,
907
907
  id: "booking-availability-packages"
908
- }, jn = { class: "konnectio-hotel-availability-title" }, xn = { id: "booking-availability-packages-wrapper" }, Wn = {
908
+ }, Jn = { class: "konnectio-hotel-availability-title" }, zn = { id: "booking-availability-packages-wrapper" }, Yn = {
909
909
  key: 3,
910
910
  id: "booking-availability-no-listings",
911
911
  class: "konnectio-panel"
912
- }, Kn = {
912
+ }, Qn = {
913
913
  key: 1,
914
914
  id: "booking-availability-no-listings"
915
- }, Jn = {
915
+ }, Xn = {
916
916
  key: 2,
917
917
  id: "reservation-availability-next-dates"
918
- }, zn = { class: "konnectio-hotel-availability-title" }, Yn = { class: "reservation-special-offers-grid" }, Qn = ["title"], Xn = { key: 0 }, Zn = {
918
+ }, Zn = { class: "konnectio-hotel-availability-title" }, el = { class: "reservation-special-offers-grid" }, tl = ["title"], ol = { key: 0 }, nl = {
919
919
  key: 2,
920
920
  class: "konnectio-panel"
921
- }, el = {
921
+ }, ll = {
922
922
  key: 3,
923
923
  class: "konnectio-listing-loading"
924
- }, tl = { class: "konnectio-panel" }, ol = {
924
+ };
925
+ const al = { class: "konnectio-panel" }, il = {
925
926
  key: 0,
926
927
  id: "konnectio-hotel-addons"
927
- }, nl = { key: 0 };
928
- const ll = { class: "konnectio-event-addons-price" }, al = { key: 1 }, il = { class: "konnectio-table-addons-information" }, sl = { class: "konnectio-table-addons-option" }, rl = {
928
+ }, sl = { key: 0 };
929
+ const rl = { class: "konnectio-event-addons-price" }, dl = { key: 1 }, cl = { class: "konnectio-table-addons-information" }, ul = { class: "konnectio-table-addons-option" }, pl = {
929
930
  key: 1,
930
931
  id: "konnectio-hotel-addons"
931
- }, dl = { class: "konnectio-table with-lines" };
932
- const ul = { class: "konnectio-table-addons-information" }, cl = { class: "konnectio-table-addons-option" }, pl = { class: "konnectio-panel" }, ml = { key: 0 }, fl = { key: 1 }, hl = {
932
+ }, ml = { class: "konnectio-table with-lines" };
933
+ const fl = { class: "konnectio-table-addons-information" }, hl = { class: "konnectio-table-addons-option" }, vl = { class: "konnectio-panel" }, yl = { key: 0 }, gl = { key: 1 }, kl = {
933
934
  key: 1,
934
935
  class: "konnectio-show-on-mobile"
935
- }, vl = { class: "konnectio-split-inputs" };
936
- const yl = /* @__PURE__ */ Z({
936
+ }, bl = { class: "konnectio-split-inputs" };
937
+ const _l = /* @__PURE__ */ Z({
937
938
  name: "HotelLayout",
938
939
  __name: "Hotel",
939
940
  props: {
940
941
  accessToken: {},
941
- headerLayout: { default: Vo.Minimal },
942
+ headerLayout: { default: Po.Minimal },
942
943
  onlyShow: { default: "everything" },
943
944
  hideAddons: { default: "no" },
944
945
  disableDefaultLocation: { default: "no" },
@@ -947,13 +948,13 @@ const yl = /* @__PURE__ */ Z({
947
948
  styling: {}
948
949
  },
949
950
  setup(l) {
950
- const t = fo(() => import("./_-BLWJQG6h.js")), n = l, { t: o } = se(), {
951
+ const t = go(() => import("./_-DZP0EO5k.js")), n = l, { t: o } = se(), {
951
952
  currentLocation: a,
952
953
  templateID: i,
953
954
  templateAddons: r,
954
955
  countries: p,
955
- areListingsLoading: c,
956
- isPaymentLoading: u,
956
+ areListingsLoading: u,
957
+ isPaymentLoading: c,
957
958
  isReservationFormFilled: y,
958
959
  travelingFor: m,
959
960
  arrivalTime: g,
@@ -961,63 +962,67 @@ const yl = /* @__PURE__ */ Z({
961
962
  name: P,
962
963
  nameTitle: $,
963
964
  email: M,
964
- phone: L,
965
+ phone: R,
965
966
  firmName: N,
966
967
  postal: T,
967
968
  city: S,
968
- address: H,
969
+ address: D,
969
970
  country: z,
970
- remark: E,
971
+ remark: L,
971
972
  allergies: Y,
972
- roomSelect: G,
973
+ roomSelect: q,
973
974
  roomDisplay: ne,
974
975
  hasValidRoomSelection: le,
975
- availabilityData: j,
976
+ availabilityData: G,
976
977
  selectionHasNoAddons: ke,
977
978
  isAvailabilityDataAvailable: be,
978
- getSelectedPackageRoom: $e,
979
- selectedPackage: Ee,
980
- isSearchOutdated: Ue,
979
+ getSelectedPackageRoom: Pe,
980
+ selectedPackage: Ue,
981
+ isSearchOutdated: Oe,
981
982
  currentChildren: _e,
982
983
  isTemplateReservation: Te,
983
- newsMails: Q
984
- } = X(ve()), {
985
- adults: U,
986
- children: fe,
987
- location: B,
988
- arrivalDate: Oe,
989
- departureDate: Fe,
990
- hasHotelLocations: Pe
991
- } = X(Ce()), { isValidHotelId: qe, updateDates: re } = Ce(), {
992
- currency: Ve,
993
- enableTracking: it,
994
- disableNamePrefix: Mt,
995
- disableTravelingFor: Rt,
996
- disableTravelingForBleasure: Bt,
997
- disableCompanyField: It,
998
- hasPaymentGateway: Lt,
999
- maxAdultAmount: st,
1000
- maxChildAmount: rt,
1001
- defaultAdultAmount: Et,
1002
- defaultChildAmount: Ut,
1003
- disableNewsletterSignup: Ot
984
+ newsMails: Q,
985
+ adultsMismatch: j,
986
+ childrenMismatch: Ae,
987
+ totalAdults: O,
988
+ totalChildren: it
1004
989
  } = X(he()), {
1005
- hasArrivalDepartureInputs: Ft,
990
+ adults: Ve,
991
+ children: ve,
992
+ location: we,
993
+ arrivalDate: re,
994
+ departureDate: Fe,
995
+ hasHotelLocations: st
996
+ } = X($e()), { isValidHotelId: Bt, updateDates: It } = $e(), {
997
+ currency: qe,
998
+ enableTracking: Rt,
999
+ disableNamePrefix: Lt,
1000
+ disableTravelingFor: Et,
1001
+ disableTravelingForBleasure: Ut,
1002
+ disableCompanyField: Ot,
1003
+ hasPaymentGateway: Ft,
1004
+ maxAdultAmount: rt,
1005
+ maxChildAmount: dt,
1006
+ defaultAdultAmount: qt,
1007
+ defaultChildAmount: Gt,
1008
+ disableNewsletterSignup: jt
1009
+ } = X(fe()), {
1010
+ hasArrivalDepartureInputs: xt,
1006
1011
  hasUserArrivalSelection: Ge,
1007
1012
  hasUserDepartureSelection: je,
1008
- earliestArrivalTime: qt,
1009
- latestArrivalTime: Gt,
1010
- earliestDepartureTime: jt,
1011
- latestDepartureTime: xt
1012
- } = he(), { beginCheckout: Wt } = Vt(), { display: Ae } = Ct(), {
1013
- resetTemplate: Kt,
1014
- resetDiscountVoucher: Jt,
1015
- createReservation: zt,
1016
- fetchMetadata: Yt,
1017
- fetchAvailabilityData: dt,
1013
+ earliestArrivalTime: Wt,
1014
+ latestArrivalTime: Kt,
1015
+ earliestDepartureTime: Jt,
1016
+ latestDepartureTime: zt
1017
+ } = fe(), { beginCheckout: Yt } = wt(), { display: Se } = $t(), {
1018
+ resetTemplate: Qt,
1019
+ resetDiscountVoucher: Xt,
1020
+ createReservation: Zt,
1021
+ fetchMetadata: eo,
1022
+ fetchAvailabilityData: ct,
1018
1023
  filterAddons: ut,
1019
- hasAvailableRoomAddons: Qt
1020
- } = ve(), Xt = ie(!0), Zt = K(() => [
1024
+ hasAvailableRoomAddons: to
1025
+ } = he(), oo = ie(!0), no = K(() => [
1021
1026
  {
1022
1027
  id: "availability",
1023
1028
  label: o("booking.availability.title"),
@@ -1042,8 +1047,8 @@ const yl = /* @__PURE__ */ Z({
1042
1047
  label: o("booking.confirmation.title"),
1043
1048
  icon: "calendar-check"
1044
1049
  }
1045
- ]), eo = K(() => {
1046
- const b = [
1050
+ ]), lo = K(() => {
1051
+ const k = [
1047
1052
  {
1048
1053
  label: o("booking.reservation.business"),
1049
1054
  value: "Business"
@@ -1053,90 +1058,91 @@ const yl = /* @__PURE__ */ Z({
1053
1058
  value: "Pleasure"
1054
1059
  }
1055
1060
  ];
1056
- return Bt.value || b.push({
1061
+ return Ut.value || k.push({
1057
1062
  label: o("booking.reservation.bleasure"),
1058
1063
  value: "Bleasure"
1059
- }), b;
1060
- }), to = K(() => {
1061
- const b = j.value.roomGroups.slice();
1064
+ }), k;
1065
+ }), ao = K(() => {
1066
+ const k = G.value.roomGroups.slice();
1062
1067
  function V(J, A) {
1063
- return Xt.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
1068
+ return oo.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
1064
1069
  }
1065
- return n.sortBy === "price" ? b.sort(V) : b;
1070
+ return n.sortBy === "price" ? k.sort(V) : k;
1066
1071
  }), xe = K(() => n.hideAddons === "yes" || Te.value && n.hideAddons === "packages" || !Te.value && n.hideAddons === "rooms");
1067
- function ct(b) {
1068
- xe.value || ke.value ? b(2) : b(), Jt();
1072
+ function pt(k) {
1073
+ xe.value || ke.value ? k(2) : k(), Xt();
1069
1074
  }
1070
- async function oo(b, V) {
1071
- await zt(b, V);
1075
+ async function io(k, V) {
1076
+ await Zt(k, V);
1072
1077
  }
1073
- function no() {
1074
- if (isNaN(B.value) && Pe.value) {
1075
- Ae({
1078
+ function so() {
1079
+ if (isNaN(we.value) && st.value) {
1080
+ Se({
1076
1081
  message: o("alert.error.selectHotelId"),
1077
1082
  type: "error"
1078
1083
  });
1079
1084
  return;
1080
1085
  }
1081
- dt();
1086
+ ct();
1082
1087
  }
1083
- function lo(b) {
1084
- it.value && Wt(), xe.value || ke.value ? b(2) : b();
1088
+ function ro(k) {
1089
+ Rt.value && Yt(), xe.value || ke.value ? k(2) : k();
1085
1090
  }
1086
- function ao() {
1087
- const b = Co("history", {
1091
+ function co() {
1092
+ const k = So("history", {
1088
1093
  removeNullishValues: !0
1089
- }), V = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid), R = parseInt(b.n), k = b.ci, W = b.co, I = b.id;
1094
+ }), V = parseInt(k.a), J = parseInt(k.c), A = parseInt(k.hid), B = parseInt(k.n), b = k.ci, W = k.co, I = k.id;
1095
+ parseInt(k.gid);
1090
1096
  let ee = !1;
1091
- if (isNaN(V) || (V > st.value ? U.value = st.value : U.value = V, U.value === Et.value && (b.a = void 0)), isNaN(J) || (J > rt.value ? fe.value = rt.value : fe.value = J, fe.value === Ut.value && (b.c = void 0)), isNaN(R) || R > 0 && (b.n = void 0), isNaN(A) || (qe(A) ? (B.value = A, ee = !0) : Ae({
1097
+ if (isNaN(V) || (V > rt.value ? Ve.value = rt.value : Ve.value = V, Ve.value === qt.value && (k.a = void 0)), isNaN(J) || (J > dt.value ? ve.value = dt.value : ve.value = J, ve.value === Gt.value && (k.c = void 0)), isNaN(B) || B > 0 && (k.n = void 0), isNaN(A) || (Bt(A) ? (we.value = A, ee = !0) : Se({
1092
1098
  message: o("alert.error.hotelIdNotFound"),
1093
1099
  type: "error"
1094
- })), k && W)
1095
- if (ft(k) && ft(W)) {
1096
- const ye = new Date(k), ge = new Date(W);
1097
- ye <= ge ? (Oe.value = ye, Fe.value = ge) : (b.ci = void 0, b.co = void 0, Ae({
1100
+ })), b && W)
1101
+ if (ht(b) && ht(W)) {
1102
+ const ye = new Date(b), ge = new Date(W);
1103
+ ye <= ge ? (re.value = ye, Fe.value = ge) : (k.ci = void 0, k.co = void 0, Se({
1098
1104
  message: o("alert.error.invalidDateRange"),
1099
1105
  type: "error"
1100
1106
  }));
1101
1107
  } else
1102
- Ae({
1108
+ Se({
1103
1109
  message: o("alert.error.wrongDateFormat"),
1104
1110
  type: "error"
1105
1111
  });
1106
1112
  let de = null;
1107
- I && (de = I), n.disableDefaultLocation === "yes" && ee === !1 ? (B.value = void 0, a.value = void 0) : dt(de);
1113
+ I && (de = I), n.disableDefaultLocation === "yes" && ee === !1 ? (we.value = void 0, a.value = void 0) : ct(de);
1108
1114
  }
1109
- return (b, V) => (d(), D(wo, { styling: b.styling }, {
1115
+ return (k, V) => (d(), H(Ao, { styling: k.styling }, {
1110
1116
  default: C(() => [
1111
- (d(), D(mo, { onResolve: ao }, {
1117
+ (d(), H(yo, { onResolve: co }, {
1112
1118
  default: C(() => [
1113
1119
  v(e(t), {
1114
1120
  id: "konnectio-hotel-module",
1115
- "access-token": b.accessToken,
1116
- callback: e(Yt)
1121
+ "access-token": k.accessToken,
1122
+ callback: e(eo)
1117
1123
  }, {
1118
1124
  default: C(() => [
1119
- v(Do, {
1120
- layout: b.headerLayout,
1121
- steps: Zt.value,
1122
- onReset: e(Kt)
1125
+ v(Io, {
1126
+ layout: k.headerLayout,
1127
+ steps: no.value,
1128
+ onReset: e(Qt)
1123
1129
  }, {
1124
1130
  availability: C(({ next: J }) => [
1125
1131
  v(Ye, null, {
1126
1132
  form: C(() => [
1127
- s("div", Mn, [
1128
- s("div", Rn, [
1129
- v(Lo, {
1133
+ s("div", Ln, [
1134
+ s("div", En, [
1135
+ v(Fo, {
1130
1136
  booking: !0,
1131
- "selected-location": Number(b.selectedLocation),
1132
- "disable-default-location": b.disableDefaultLocation === "yes"
1137
+ "selected-location": Number(k.selectedLocation),
1138
+ "disable-default-location": k.disableDefaultLocation === "yes"
1133
1139
  }, null, 8, ["selected-location", "disable-default-location"])
1134
1140
  ]),
1135
1141
  _("", !0),
1136
- !e(c) && e(be) ? (d(), h("div", Bn, [
1137
- e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (d(), h("div", In, [
1138
- e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Ln, [
1139
- b.onlyShow !== "packages" ? (d(), h("h2", En, [
1142
+ !e(u) && e(be) ? (d(), h("div", Un, [
1143
+ e(G).roomGroups.length > 0 || e(G).templates.length > 0 || e(G).specialTemplates.length > 0 ? (d(), h("div", On, [
1144
+ e(G).templates.length > 0 && k.onlyShow !== "rooms" ? (d(), h("div", Fn, [
1145
+ k.onlyShow !== "packages" ? (d(), h("h2", qn, [
1140
1146
  v(x, {
1141
1147
  icon: "box",
1142
1148
  type: "fal",
@@ -1144,29 +1150,29 @@ const yl = /* @__PURE__ */ Z({
1144
1150
  }),
1145
1151
  s("span", null, f(e(o)("booking.availability.packagesTitle")), 1)
1146
1152
  ])) : _("", !0),
1147
- s("ul", Un, [
1148
- (d(!0), h(O, null, q(e(j).templates, ({
1153
+ s("ul", Gn, [
1154
+ (d(!0), h(E, null, F(e(G).templates, ({
1149
1155
  id: A,
1150
- name: R,
1151
- templateRoomGroups: k,
1156
+ name: B,
1157
+ templateRoomGroups: b,
1152
1158
  image: W,
1153
1159
  description: I,
1154
1160
  weekendFee: ee
1155
- }) => (d(), D(kn, {
1161
+ }) => (d(), H(Vn, {
1156
1162
  key: A,
1157
1163
  id: A,
1158
1164
  description: I,
1159
- name: R,
1165
+ name: B,
1160
1166
  image: W,
1161
1167
  weekendFee: ee,
1162
- "room-groups": k,
1168
+ "room-groups": b,
1163
1169
  callback: J,
1164
- "hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
1170
+ "hide-addons": k.hideAddons === "yes" || k.hideAddons === "packages"
1165
1171
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1166
1172
  ])
1167
1173
  ])) : _("", !0),
1168
- e(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (d(), h("div", On, [
1169
- e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2", Fn, [
1174
+ e(G).roomGroups.length > 0 && k.onlyShow !== "packages" ? (d(), h("div", jn, [
1175
+ e(G).templates.length > 0 && k.onlyShow !== "rooms" ? (d(), h("h2", xn, [
1170
1176
  v(x, {
1171
1177
  icon: "house",
1172
1178
  type: "fal",
@@ -1174,15 +1180,15 @@ const yl = /* @__PURE__ */ Z({
1174
1180
  }),
1175
1181
  s("span", null, f(e(o)("booking.availability.roomsTitle")), 1)
1176
1182
  ])) : _("", !0),
1177
- s("ul", qn, [
1178
- (d(!0), h(O, null, q(to.value, (A, R) => (d(), D(mn, {
1183
+ s("ul", Wn, [
1184
+ (d(!0), h(E, null, F(ao.value, (A, B) => (d(), H(yn, {
1179
1185
  room: A,
1180
- key: R
1186
+ key: B
1181
1187
  }, null, 8, ["room"]))), 128))
1182
1188
  ])
1183
1189
  ])) : _("", !0),
1184
- e(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Gn, [
1185
- s("h2", jn, [
1190
+ e(G).specialTemplates.length > 0 && k.onlyShow !== "rooms" ? (d(), h("div", Kn, [
1191
+ s("h2", Jn, [
1186
1192
  v(x, {
1187
1193
  icon: "sparkles",
1188
1194
  type: "fal",
@@ -1190,36 +1196,36 @@ const yl = /* @__PURE__ */ Z({
1190
1196
  }),
1191
1197
  s("span", null, f(e(o)("hotel.specialOffers")), 1)
1192
1198
  ]),
1193
- s("ul", xn, [
1194
- (d(!0), h(O, null, q(e(j).specialTemplates, ({
1199
+ s("ul", zn, [
1200
+ (d(!0), h(E, null, F(e(G).specialTemplates, ({
1195
1201
  id: A,
1196
- name: R,
1197
- templateRoomGroups: k,
1202
+ name: B,
1203
+ templateRoomGroups: b,
1198
1204
  image: W,
1199
1205
  description: I,
1200
1206
  weekendFee: ee,
1201
1207
  fromDate: de,
1202
1208
  toDate: ye
1203
- }) => (d(), D(Tn, {
1209
+ }) => (d(), H($n, {
1204
1210
  key: A,
1205
1211
  id: A,
1206
1212
  description: I,
1207
- name: R,
1213
+ name: B,
1208
1214
  image: W,
1209
1215
  fromDate: de,
1210
1216
  toDate: ye,
1211
1217
  weekendFee: ee,
1212
- "room-groups": k
1218
+ "room-groups": b
1213
1219
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
1214
1220
  ])
1215
1221
  ])) : _("", !0),
1216
- (e(j).templates.length === 0 && b.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (d(), h("div", Wn, [
1222
+ (e(G).templates.length === 0 && k.onlyShow !== "rooms" || e(G).roomGroups.length === 0 && k.onlyShow !== "packages") && (k.onlyShow === "rooms" || k.onlyShow === "packages") ? (d(), h("div", Yn, [
1217
1223
  s("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
1218
1224
  ])) : _("", !0)
1219
- ])) : e(j).nextAvailableDates.length === 0 ? (d(), h("div", Kn, [
1225
+ ])) : e(G).nextAvailableDates.length === 0 ? (d(), h("div", Qn, [
1220
1226
  s("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
1221
- ])) : (d(), h("div", Jn, [
1222
- s("h2", zn, [
1227
+ ])) : (d(), h("div", Xn, [
1228
+ s("h2", Zn, [
1223
1229
  v(x, {
1224
1230
  icon: "calendar-circle-exclamation",
1225
1231
  type: "fal",
@@ -1227,15 +1233,15 @@ const yl = /* @__PURE__ */ Z({
1227
1233
  }),
1228
1234
  s("span", null, f(e(o)("booking.availability.nextAvailableDates")), 1)
1229
1235
  ]),
1230
- s("ul", Yn, [
1231
- (d(!0), h(O, null, q(e(j).nextAvailableDates, (A, R) => (d(), h("li", { key: R }, [
1236
+ s("ul", el, [
1237
+ (d(!0), h(E, null, F(e(G).nextAvailableDates, (A, B) => (d(), h("li", { key: B }, [
1232
1238
  s("h3", {
1233
1239
  title: `${e(te)(A.fromDate, 0, !0)} - ${e(te)(A.toDate, 0, !0)}`
1234
1240
  }, [
1235
1241
  s("span", null, f(`${e(te)(A.fromDate, 0, !0)} - ${e(te)(A.toDate, 0, !0)}`), 1)
1236
- ], 8, Qn),
1242
+ ], 8, tl),
1237
1243
  s("ul", null, [
1238
- isNaN(A.roomCount) ? _("", !0) : (d(), h("li", Xn, [
1244
+ isNaN(A.roomCount) ? _("", !0) : (d(), h("li", ol, [
1239
1245
  v(x, {
1240
1246
  icon: "house",
1241
1247
  type: "fal",
@@ -1249,20 +1255,20 @@ const yl = /* @__PURE__ */ Z({
1249
1255
  type: "fal",
1250
1256
  color: "header"
1251
1257
  }),
1252
- s("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(oe)(A.priceStartFrom, e(Ve))), 1)
1258
+ s("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(oe)(A.priceStartFrom, e(qe))), 1)
1253
1259
  ])
1254
1260
  ]),
1255
1261
  v(pe, {
1256
1262
  label: e(o)("booking.availability.selectDates"),
1257
1263
  "full-width": "",
1258
- onClickEvent: (k) => e(re)(new Date(A.fromDate), new Date(A.toDate))
1264
+ onClickEvent: (b) => e(It)(new Date(A.fromDate), new Date(A.toDate))
1259
1265
  }, null, 8, ["label", "onClickEvent"])
1260
1266
  ]))), 128))
1261
1267
  ])
1262
1268
  ]))
1263
- ])) : isNaN(e(a)) && !e(c) ? (d(), h("div", Zn, [
1269
+ ])) : isNaN(e(a)) && !e(u) ? (d(), h("div", nl, [
1264
1270
  s("span", null, f(e(o)("alert.info.selectHotelToStart")), 1)
1265
- ])) : (d(), h("div", el, [
1271
+ ])) : (d(), h("div", ll, [
1266
1272
  v(ze),
1267
1273
  v(ze),
1268
1274
  v(ze)
@@ -1270,56 +1276,57 @@ const yl = /* @__PURE__ */ Z({
1270
1276
  ])
1271
1277
  ]),
1272
1278
  navigation: C(() => [
1273
- e(Ue) ? (d(), D(pe, {
1279
+ e(Oe) ? (d(), H(pe, {
1274
1280
  key: 0,
1275
1281
  label: isNaN(e(a)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
1276
- "is-loading": e(c),
1282
+ "is-loading": e(u),
1277
1283
  "full-width": "",
1278
- onClickEvent: V[1] || (V[1] = (A) => no())
1279
- }, null, 8, ["label", "is-loading"])) : (d(), D(pe, {
1284
+ onClickEvent: V[1] || (V[1] = (A) => so())
1285
+ }, null, 8, ["label", "is-loading"])) : (d(), H(pe, {
1280
1286
  key: 1,
1281
1287
  label: e(ke) || xe.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
1282
1288
  disabled: !e(le),
1283
1289
  "full-width": "",
1284
- onClickEvent: (A) => lo(J)
1285
- }, null, 8, ["label", "disabled", "onClickEvent"]))
1290
+ onClickEvent: (A) => ro(J)
1291
+ }, null, 8, ["label", "disabled", "onClickEvent"])),
1292
+ _("", !0)
1286
1293
  ]),
1287
1294
  _: 2
1288
1295
  }, 1024)
1289
1296
  ]),
1290
1297
  addons: C(({ next: J, prev: A }) => [
1291
- e(be) ? (d(), D(Ye, {
1298
+ e(be) ? (d(), H(Ye, {
1292
1299
  key: 0,
1293
- "prev-callback": () => ct(A)
1300
+ "prev-callback": () => pt(A)
1294
1301
  }, {
1295
1302
  form: C(() => [
1296
- s("form", tl, [
1303
+ s("form", al, [
1297
1304
  s("h2", null, [
1298
1305
  s("span", null, f(e(o)("booking.reservation.addons")), 1)
1299
1306
  ]),
1300
1307
  s("div", null, [
1301
- isNaN(e(i)) ? (d(), h("div", ol, [
1302
- (d(!0), h(O, null, q(e(ne), (R) => (d(), h(O, {
1303
- key: R.roomGroupID
1308
+ isNaN(e(i)) ? (d(), h("div", il, [
1309
+ (d(!0), h(E, null, F(e(ne), (B) => (d(), h(E, {
1310
+ key: B.roomGroupID
1304
1311
  }, [
1305
- e(Qt)(R) ? (d(), h("ul", nl, [
1306
- (d(!0), h(O, null, q(R.variants, (k, W) => (d(), h("li", {
1307
- key: k.ratePlanID
1312
+ e(to)(B) ? (d(), h("ul", sl, [
1313
+ (d(!0), h(E, null, F(B.variants, (b, W) => (d(), h("li", {
1314
+ key: b.ratePlanID
1308
1315
  }, [
1309
1316
  s("h4", null, [
1310
- s("span", null, f(e(ae)(R.title)), 1)
1317
+ s("span", null, f(e(ae)(B.title)), 1)
1311
1318
  ]),
1312
- (d(!0), h(O, null, q(k.rooms, (I, ee) => (d(), h("table", {
1319
+ (d(!0), h(E, null, F(b.rooms, (I, ee) => (d(), h("table", {
1313
1320
  key: ee,
1314
1321
  class: "konnectio-table with-lines"
1315
1322
  }, [
1316
1323
  s("thead", null, [
1317
1324
  s("tr", null, [
1318
1325
  s("th", null, [
1319
- s("span", null, f(e(ae)(k.name)), 1)
1326
+ s("span", null, f(e(ae)(b.name)), 1)
1320
1327
  ]),
1321
1328
  _("", !0),
1322
- s("th", ll, [
1329
+ s("th", rl, [
1323
1330
  s("b", null, [
1324
1331
  v(x, {
1325
1332
  icon: "male",
@@ -1327,34 +1334,34 @@ const yl = /* @__PURE__ */ Z({
1327
1334
  color: "font"
1328
1335
  }),
1329
1336
  s("span", null, f(I.adultsCount), 1),
1330
- I.childrenCount > 0 ? (d(), D(x, {
1337
+ I.childrenCount > 0 ? (d(), H(x, {
1331
1338
  key: 0,
1332
1339
  icon: "child",
1333
1340
  type: "fas",
1334
1341
  color: "font"
1335
1342
  })) : _("", !0),
1336
- I.childrenCount > 0 ? (d(), h("span", al, f(I.childrenCount), 1)) : _("", !0)
1343
+ I.childrenCount > 0 ? (d(), h("span", dl, f(I.childrenCount), 1)) : _("", !0)
1337
1344
  ])
1338
1345
  ])
1339
1346
  ])
1340
1347
  ]),
1341
1348
  s("tbody", null, [
1342
- (d(!0), h(O, null, q(e(ut)(k.addons, I.childrenCount), ({
1349
+ (d(!0), h(E, null, F(e(ut)(b.addons, I.childrenCount), ({
1343
1350
  quantityStrategy: de,
1344
1351
  maximumNumber: ye,
1345
1352
  id: ge,
1346
- name: io,
1347
- price: so
1353
+ name: uo,
1354
+ price: po
1348
1355
  }) => (d(), h("tr", { key: ge }, [
1349
- s("td", il, [
1350
- s("b", null, f(e(ae)(io)), 1),
1351
- s("span", null, f(e(oe)(so, e(Ve))) + " " + f(e(mt)(de)), 1)
1356
+ s("td", cl, [
1357
+ s("b", null, f(e(ae)(uo)), 1),
1358
+ s("span", null, f(e(oe)(po, e(qe))) + " " + f(e(ft)(de)), 1)
1352
1359
  ]),
1353
- s("td", sl, [
1354
- e(G)[R.roomGroupID][W].config[I.configIdx].addons[I.roomIdx] ? (d(), D(Ze, {
1360
+ s("td", ul, [
1361
+ e(q)[B.roomGroupID][W].config[I.configIdx].addons[I.roomIdx] ? (d(), H(Ze, {
1355
1362
  key: 0,
1356
- modelValue: e(G)[R.roomGroupID][W].config[I.configIdx].addons[I.roomIdx][ge],
1357
- "onUpdate:modelValue": (ro) => e(G)[R.roomGroupID][W].config[I.configIdx].addons[I.roomIdx][ge] = ro,
1363
+ modelValue: e(q)[B.roomGroupID][W].config[I.configIdx].addons[I.roomIdx][ge],
1364
+ "onUpdate:modelValue": (mo) => e(q)[B.roomGroupID][W].config[I.configIdx].addons[I.roomIdx][ge] = mo,
1358
1365
  small: !0,
1359
1366
  "min-value": 0,
1360
1367
  "max-value": ye || 1 / 0
@@ -1366,40 +1373,40 @@ const yl = /* @__PURE__ */ Z({
1366
1373
  ]))), 128))
1367
1374
  ])) : _("", !0)
1368
1375
  ], 64))), 128))
1369
- ])) : e($e) ? (d(), h("div", rl, [
1376
+ ])) : e(Pe) ? (d(), h("div", pl, [
1370
1377
  s("div", null, [
1371
1378
  s("h4", null, [
1372
- s("span", null, f(e(Ee).name), 1)
1379
+ s("span", null, f(e(Ue).name), 1)
1373
1380
  ]),
1374
- s("table", dl, [
1381
+ s("table", ml, [
1375
1382
  s("thead", null, [
1376
1383
  s("tr", null, [
1377
1384
  s("th", null, [
1378
- s("span", null, f(e(ae)(e($e).title)), 1)
1385
+ s("span", null, f(e(ae)(e(Pe).title)), 1)
1379
1386
  ]),
1380
1387
  _("", !0),
1381
1388
  V[19] || (V[19] = s("th", { class: "konnectio-event-addons-price" }, null, -1))
1382
1389
  ])
1383
1390
  ]),
1384
1391
  s("tbody", null, [
1385
- (d(!0), h(O, null, q(e(ut)(e($e).addons, e(_e)), ({
1386
- quantityStrategy: R,
1387
- maximumNumber: k,
1392
+ (d(!0), h(E, null, F(e(ut)(e(Pe).addons, e(_e)), ({
1393
+ quantityStrategy: B,
1394
+ maximumNumber: b,
1388
1395
  id: W,
1389
1396
  name: I,
1390
1397
  price: ee
1391
1398
  }) => (d(), h("tr", { key: W }, [
1392
- s("td", ul, [
1399
+ s("td", fl, [
1393
1400
  s("b", null, f(e(ae)(I)), 1),
1394
- s("span", null, f(e(oe)(ee, e(Ve))) + " " + f(e(mt)(R)), 1)
1401
+ s("span", null, f(e(oe)(ee, e(qe))) + " " + f(e(ft)(B)), 1)
1395
1402
  ]),
1396
- s("td", cl, [
1403
+ s("td", hl, [
1397
1404
  v(Ze, {
1398
1405
  modelValue: e(r)[W],
1399
1406
  "onUpdate:modelValue": (de) => e(r)[W] = de,
1400
1407
  small: !0,
1401
1408
  "min-value": 0,
1402
- "max-value": k || 1 / 0
1409
+ "max-value": b || 1 / 0
1403
1410
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])
1404
1411
  ])
1405
1412
  ]))), 128))
@@ -1420,59 +1427,59 @@ const yl = /* @__PURE__ */ Z({
1420
1427
  _: 2
1421
1428
  }, 1032, ["prev-callback"])) : _("", !0)
1422
1429
  ]),
1423
- reservation: C(({ next: J, prev: A, reset: R }) => [
1424
- e(be) ? (d(), D(Ye, {
1430
+ reservation: C(({ next: J, prev: A, reset: B }) => [
1431
+ e(be) ? (d(), H(Ye, {
1425
1432
  key: 0,
1426
- "prev-callback": () => ct(A),
1433
+ "prev-callback": () => pt(A),
1427
1434
  "show-terms-notice": !0,
1428
1435
  "show-gift-card": !0
1429
1436
  }, {
1430
1437
  form: C(() => [
1431
- s("form", pl, [
1438
+ s("form", vl, [
1432
1439
  s("h2", null, [
1433
1440
  s("span", null, f(e(o)("booking.reservation.detailsTitle")), 1)
1434
1441
  ]),
1435
- e(Ft)(e(a)) && e(Ge)(e(a)) && e(je)(e(a)) ? (d(), h("ul", {
1442
+ e(xt)(e(a)) && e(Ge)(e(a)) && e(je)(e(a)) ? (d(), h("ul", {
1436
1443
  key: 0,
1437
- class: Me(["konnectio-reservation-timepicker", { "konnectio-split-inputs": e(Ge)(e(a)) && e(je)(e(a)) }])
1444
+ class: Be(["konnectio-reservation-timepicker", { "konnectio-split-inputs": e(Ge)(e(a)) && e(je)(e(a)) }])
1438
1445
  }, [
1439
- e(Ge)(e(a)) ? (d(), h("li", ml, [
1440
- v(ht, {
1446
+ e(Ge)(e(a)) ? (d(), h("li", yl, [
1447
+ v(vt, {
1441
1448
  modelValue: e(g),
1442
- "onUpdate:modelValue": V[2] || (V[2] = (k) => F(g) ? g.value = k : null),
1449
+ "onUpdate:modelValue": V[2] || (V[2] = (b) => U(g) ? g.value = b : null),
1443
1450
  label: e(o)("booking.reservation.arrivalTime"),
1444
1451
  icon: "hourglass-start",
1445
- "min-time": e(qt)(e(a)),
1446
- "max-time": e(Gt)(e(a)),
1452
+ "min-time": e(Wt)(e(a)),
1453
+ "max-time": e(Kt)(e(a)),
1447
1454
  required: ""
1448
1455
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
1449
1456
  ])) : _("", !0),
1450
- e(je)(e(a)) ? (d(), h("li", fl, [
1451
- v(ht, {
1457
+ e(je)(e(a)) ? (d(), h("li", gl, [
1458
+ v(vt, {
1452
1459
  modelValue: e(w),
1453
- "onUpdate:modelValue": V[3] || (V[3] = (k) => F(w) ? w.value = k : null),
1460
+ "onUpdate:modelValue": V[3] || (V[3] = (b) => U(w) ? w.value = b : null),
1454
1461
  label: e(o)("booking.reservation.departureTime"),
1455
1462
  icon: "hourglass-end",
1456
- "min-time": e(jt)(e(a)),
1457
- "max-time": e(xt)(e(a)),
1463
+ "min-time": e(Jt)(e(a)),
1464
+ "max-time": e(zt)(e(a)),
1458
1465
  required: ""
1459
1466
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
1460
1467
  ])) : _("", !0)
1461
1468
  ], 2)) : _("", !0),
1462
- v(Pn, {
1469
+ v(Hn, {
1463
1470
  modelValue: e(P),
1464
- "onUpdate:modelValue": V[4] || (V[4] = (k) => F(P) ? P.value = k : null),
1471
+ "onUpdate:modelValue": V[4] || (V[4] = (b) => U(P) ? P.value = b : null),
1465
1472
  title: e($),
1466
- "onUpdate:title": V[5] || (V[5] = (k) => F($) ? $.value = k : null),
1467
- "exclude-title": e(Mt),
1473
+ "onUpdate:title": V[5] || (V[5] = (b) => U($) ? $.value = b : null),
1474
+ "exclude-title": e(Lt),
1468
1475
  label: e(o)("booking.reservation.name"),
1469
1476
  icon: "user-alt",
1470
1477
  placeholder: e(o)("booking.reservation.namePlaceholder"),
1471
1478
  required: ""
1472
1479
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1473
- v(ue, {
1480
+ v(ce, {
1474
1481
  modelValue: e(M),
1475
- "onUpdate:modelValue": V[6] || (V[6] = (k) => F(M) ? M.value = k : null),
1482
+ "onUpdate:modelValue": V[6] || (V[6] = (b) => U(M) ? M.value = b : null),
1476
1483
  type: "email",
1477
1484
  name: "email",
1478
1485
  autocomplete: "email",
@@ -1482,19 +1489,19 @@ const yl = /* @__PURE__ */ Z({
1482
1489
  placeholder: e(o)("booking.reservation.emailPlaceholder"),
1483
1490
  required: ""
1484
1491
  }, null, 8, ["modelValue", "label", "placeholder"]),
1485
- e(Ot) ? _("", !0) : (d(), h("div", hl, [
1492
+ e(jt) ? _("", !0) : (d(), h("div", kl, [
1486
1493
  v(et, {
1487
1494
  modelValue: e(Q),
1488
- "onUpdate:modelValue": V[7] || (V[7] = (k) => F(Q) ? Q.value = k : null),
1495
+ "onUpdate:modelValue": V[7] || (V[7] = (b) => U(Q) ? Q.value = b : null),
1489
1496
  type: "checkbox",
1490
1497
  name: "newsletter",
1491
1498
  label: e(o)("booking.reservation.newsletterSignUp")
1492
1499
  }, null, 8, ["modelValue", "label"])
1493
1500
  ])),
1494
- e(It) ? _("", !0) : (d(), D(ue, {
1501
+ e(Ot) ? _("", !0) : (d(), H(ce, {
1495
1502
  key: 2,
1496
1503
  modelValue: e(N),
1497
- "onUpdate:modelValue": V[8] || (V[8] = (k) => F(N) ? N.value = k : null),
1504
+ "onUpdate:modelValue": V[8] || (V[8] = (b) => U(N) ? N.value = b : null),
1498
1505
  type: "text",
1499
1506
  name: "firm",
1500
1507
  autocomplete: "firm",
@@ -1502,25 +1509,25 @@ const yl = /* @__PURE__ */ Z({
1502
1509
  icon: "id-card",
1503
1510
  placeholder: e(o)("booking.reservation.companyNamePlaceholder")
1504
1511
  }, null, 8, ["modelValue", "label", "placeholder"])),
1505
- v(Oo, {
1506
- modelValue: e(L),
1507
- "onUpdate:modelValue": V[9] || (V[9] = (k) => F(L) ? L.value = k : null),
1512
+ v(jo, {
1513
+ modelValue: e(R),
1514
+ "onUpdate:modelValue": V[9] || (V[9] = (b) => U(R) ? R.value = b : null),
1508
1515
  icon: "phone-office",
1509
1516
  label: e(o)("booking.reservation.phone"),
1510
1517
  placeholder: e(o)("booking.reservation.phonePlaceholder"),
1511
1518
  required: ""
1512
1519
  }, null, 8, ["modelValue", "label", "placeholder"]),
1513
- v(Cn, {
1520
+ v(Sn, {
1514
1521
  modelValue: e(z),
1515
- "onUpdate:modelValue": V[10] || (V[10] = (k) => F(z) ? z.value = k : null),
1522
+ "onUpdate:modelValue": V[10] || (V[10] = (b) => U(z) ? z.value = b : null),
1516
1523
  label: e(o)("booking.reservation.country"),
1517
1524
  placeholder: e(o)("booking.reservation.countryPlaceholder"),
1518
1525
  options: e(p),
1519
1526
  required: ""
1520
1527
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1521
- v(ue, {
1522
- modelValue: e(H),
1523
- "onUpdate:modelValue": V[11] || (V[11] = (k) => F(H) ? H.value = k : null),
1528
+ v(ce, {
1529
+ modelValue: e(D),
1530
+ "onUpdate:modelValue": V[11] || (V[11] = (b) => U(D) ? D.value = b : null),
1524
1531
  type: "textarea",
1525
1532
  name: "address",
1526
1533
  autocomplete: "street-address",
@@ -1529,11 +1536,11 @@ const yl = /* @__PURE__ */ Z({
1529
1536
  placeholder: e(o)("booking.reservation.streetAddressPlaceholder"),
1530
1537
  required: ""
1531
1538
  }, null, 8, ["modelValue", "label", "placeholder"]),
1532
- s("ul", vl, [
1539
+ s("ul", bl, [
1533
1540
  s("li", null, [
1534
- v(ue, {
1541
+ v(ce, {
1535
1542
  modelValue: e(T),
1536
- "onUpdate:modelValue": V[12] || (V[12] = (k) => F(T) ? T.value = k : null),
1543
+ "onUpdate:modelValue": V[12] || (V[12] = (b) => U(T) ? T.value = b : null),
1537
1544
  type: "text",
1538
1545
  name: "postal",
1539
1546
  autocomplete: "postal-code",
@@ -1544,9 +1551,9 @@ const yl = /* @__PURE__ */ Z({
1544
1551
  }, null, 8, ["modelValue", "label", "placeholder"])
1545
1552
  ]),
1546
1553
  s("li", null, [
1547
- v(ue, {
1554
+ v(ce, {
1548
1555
  modelValue: e(S),
1549
- "onUpdate:modelValue": V[13] || (V[13] = (k) => F(S) ? S.value = k : null),
1556
+ "onUpdate:modelValue": V[13] || (V[13] = (b) => U(S) ? S.value = b : null),
1550
1557
  type: "text",
1551
1558
  name: "city",
1552
1559
  autocomplete: "address-level2",
@@ -1557,40 +1564,40 @@ const yl = /* @__PURE__ */ Z({
1557
1564
  }, null, 8, ["modelValue", "label", "placeholder"])
1558
1565
  ])
1559
1566
  ]),
1560
- v(ue, {
1561
- modelValue: e(E),
1562
- "onUpdate:modelValue": V[14] || (V[14] = (k) => F(E) ? E.value = k : null),
1567
+ v(ce, {
1568
+ modelValue: e(L),
1569
+ "onUpdate:modelValue": V[14] || (V[14] = (b) => U(L) ? L.value = b : null),
1563
1570
  type: "textarea",
1564
1571
  label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
1565
1572
  icon: "info-circle",
1566
1573
  placeholder: e(o)("booking.reservation.remarkPlaceholder")
1567
1574
  }, null, 8, ["modelValue", "label", "placeholder"]),
1568
- v(ue, {
1575
+ v(ce, {
1569
1576
  modelValue: e(Y),
1570
- "onUpdate:modelValue": V[15] || (V[15] = (k) => F(Y) ? Y.value = k : null),
1577
+ "onUpdate:modelValue": V[15] || (V[15] = (b) => U(Y) ? Y.value = b : null),
1571
1578
  type: "textarea",
1572
1579
  label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
1573
1580
  icon: "allergies",
1574
1581
  placeholder: e(o)("booking.reservation.allergiesPlaceholder")
1575
1582
  }, null, 8, ["modelValue", "label", "placeholder"]),
1576
- e(Rt) ? _("", !0) : (d(), D(No, {
1583
+ e(Et) ? _("", !0) : (d(), H(Ro, {
1577
1584
  key: 3,
1578
1585
  modelValue: e(m),
1579
- "onUpdate:modelValue": V[16] || (V[16] = (k) => F(m) ? m.value = k : null),
1586
+ "onUpdate:modelValue": V[16] || (V[16] = (b) => U(m) ? m.value = b : null),
1580
1587
  label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
1581
1588
  name: "travelingFor",
1582
- checkboxes: eo.value
1589
+ checkboxes: lo.value
1583
1590
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1584
1591
  ])
1585
1592
  ]),
1586
1593
  navigation: C(() => [
1587
1594
  s("div", null, [
1588
1595
  v(pe, {
1589
- label: e(Lt) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
1596
+ label: e(Ft) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
1590
1597
  disabled: !e(y),
1591
- "is-loading": e(u),
1598
+ "is-loading": e(c),
1592
1599
  "full-width": "",
1593
- onClickEvent: (k) => oo(J, R)
1600
+ onClickEvent: (b) => io(J, B)
1594
1601
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
1595
1602
  ])
1596
1603
  ]),
@@ -1598,11 +1605,11 @@ const yl = /* @__PURE__ */ Z({
1598
1605
  }, 1032, ["prev-callback"])) : _("", !0)
1599
1606
  ]),
1600
1607
  payment: C(({ prev: J }) => [
1601
- v(Fo),
1608
+ v(xo),
1602
1609
  _("", !0)
1603
1610
  ]),
1604
1611
  confirmation: C(() => [
1605
- v(Mo, {
1612
+ v(Lo, {
1606
1613
  message: e(o)("booking.confirmation.thankYou")
1607
1614
  }, null, 8, ["message"])
1608
1615
  ]),
@@ -1613,7 +1620,7 @@ const yl = /* @__PURE__ */ Z({
1613
1620
  }, 8, ["access-token", "callback"])
1614
1621
  ]),
1615
1622
  fallback: C(() => [
1616
- v(Nn)
1623
+ v(Rn)
1617
1624
  ]),
1618
1625
  _: 1
1619
1626
  }))
@@ -1621,14 +1628,14 @@ const yl = /* @__PURE__ */ Z({
1621
1628
  _: 1
1622
1629
  }, 8, ["styling"]));
1623
1630
  }
1624
- }), vt = /* @__PURE__ */ me(yl, [["__scopeId", "data-v-a07c295c"]]), gl = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), De = /* @__PURE__ */ new Set([
1631
+ }), yt = /* @__PURE__ */ me(_l, [["__scopeId", "data-v-c25b6a80"]]), Tl = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), Ne = /* @__PURE__ */ new Set([
1625
1632
  "base",
1626
1633
  "meta",
1627
1634
  "link",
1628
1635
  "style",
1629
1636
  "script",
1630
1637
  "noscript"
1631
- ]), kl = /* @__PURE__ */ new Set([
1638
+ ]), Vl = /* @__PURE__ */ new Set([
1632
1639
  "title",
1633
1640
  "titleTemplate",
1634
1641
  "templateParams",
@@ -1640,8 +1647,8 @@ const yl = /* @__PURE__ */ Z({
1640
1647
  "style",
1641
1648
  "script",
1642
1649
  "noscript"
1643
- ]), bl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), Pt = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), _l = typeof window < "u";
1644
- function Re(l) {
1650
+ ]), wl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), At = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), Cl = typeof window < "u";
1651
+ function Ie(l) {
1645
1652
  let t = 9;
1646
1653
  for (let n = 0; n < l.length; )
1647
1654
  t = Math.imul(t ^ l.charCodeAt(n++), 9 ** 9);
@@ -1651,17 +1658,17 @@ function tt(l) {
1651
1658
  if (l._h)
1652
1659
  return l._h;
1653
1660
  if (l._d)
1654
- return Re(l._d);
1661
+ return Ie(l._d);
1655
1662
  let t = `${l.tag}:${l.textContent || l.innerHTML || ""}:`;
1656
1663
  for (const n in l.props)
1657
1664
  t += `${n}:${String(l.props[n])},`;
1658
- return Re(t);
1665
+ return Ie(t);
1659
1666
  }
1660
- function Tl(l, t) {
1667
+ function $l(l, t) {
1661
1668
  return l instanceof Promise ? l.then(t) : t(l);
1662
1669
  }
1663
1670
  function ot(l, t, n, o) {
1664
- const a = o || St(
1671
+ const a = o || Dt(
1665
1672
  // explicitly check for an object
1666
1673
  // @ts-expect-error untyped
1667
1674
  typeof t == "object" && typeof t != "function" && !(t instanceof Promise) ? { ...t } : { [l === "script" || l === "noscript" || l === "style" ? "innerHTML" : "textContent"]: t },
@@ -1673,36 +1680,36 @@ function ot(l, t, n, o) {
1673
1680
  tag: l,
1674
1681
  props: a
1675
1682
  };
1676
- for (const r of Pt) {
1683
+ for (const r of At) {
1677
1684
  const p = i.props[r] !== void 0 ? i.props[r] : n[r];
1678
- p !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || gl.has(i.tag)) && (i[r === "children" ? "innerHTML" : r] = p), delete i.props[r]);
1685
+ p !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || Tl.has(i.tag)) && (i[r === "children" ? "innerHTML" : r] = p), delete i.props[r]);
1679
1686
  }
1680
1687
  return i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((r) => ({ ...i, props: { ...i.props, content: r } })) : i;
1681
1688
  }
1682
- function Vl(l, t) {
1689
+ function Pl(l, t) {
1683
1690
  const n = l === "class" ? " " : ";";
1684
1691
  return t && typeof t == "object" && !Array.isArray(t) && (t = Object.entries(t).filter(([, o]) => o).map(([o, a]) => l === "style" ? `${o}:${a}` : o)), String(Array.isArray(t) ? t.join(n) : t)?.split(n).filter((o) => !!o.trim()).join(n);
1685
1692
  }
1686
- function At(l, t, n, o) {
1693
+ function St(l, t, n, o) {
1687
1694
  for (let a = o; a < n.length; a += 1) {
1688
1695
  const i = n[a];
1689
1696
  if (i === "class" || i === "style") {
1690
- l[i] = Vl(i, l[i]);
1697
+ l[i] = Pl(i, l[i]);
1691
1698
  continue;
1692
1699
  }
1693
1700
  if (l[i] instanceof Promise)
1694
- return l[i].then((r) => (l[i] = r, At(l, t, n, a)));
1695
- if (!t && !Pt.has(i)) {
1701
+ return l[i].then((r) => (l[i] = r, St(l, t, n, a)));
1702
+ if (!t && !At.has(i)) {
1696
1703
  const r = String(l[i]), p = i.startsWith("data-");
1697
1704
  r === "true" || r === "" ? l[i] = p ? "true" : !0 : l[i] || (p && r === "false" ? l[i] = "false" : delete l[i]);
1698
1705
  }
1699
1706
  }
1700
1707
  }
1701
- function St(l, t = !1) {
1702
- const n = At(l, t, Object.keys(l), 0);
1708
+ function Dt(l, t = !1) {
1709
+ const n = St(l, t, Object.keys(l), 0);
1703
1710
  return n instanceof Promise ? n.then(() => l) : l;
1704
1711
  }
1705
- const wl = 10;
1712
+ const Al = 10;
1706
1713
  function Ht(l, t, n) {
1707
1714
  for (let o = n; o < t.length; o += 1) {
1708
1715
  const a = t[o];
@@ -1711,13 +1718,13 @@ function Ht(l, t, n) {
1711
1718
  Array.isArray(a) ? l.push(...a) : l.push(a);
1712
1719
  }
1713
1720
  }
1714
- function Cl(l) {
1721
+ function Sl(l) {
1715
1722
  const t = [], n = l.resolvedInput;
1716
1723
  for (const a in n) {
1717
1724
  if (!Object.prototype.hasOwnProperty.call(n, a))
1718
1725
  continue;
1719
1726
  const i = n[a];
1720
- if (!(i === void 0 || !kl.has(a))) {
1727
+ if (!(i === void 0 || !Vl.has(a))) {
1721
1728
  if (Array.isArray(i)) {
1722
1729
  for (const r of i)
1723
1730
  t.push(ot(a, r, l));
@@ -1729,29 +1736,29 @@ function Cl(l) {
1729
1736
  if (t.length === 0)
1730
1737
  return [];
1731
1738
  const o = [];
1732
- return Tl(Ht(o, t, 0), () => o.map((a, i) => (a._e = l._i, l.mode && (a._m = l.mode), a._p = (l._i << wl) + i, a)));
1739
+ return $l(Ht(o, t, 0), () => o.map((a, i) => (a._e = l._i, l.mode && (a._m = l.mode), a._p = (l._i << Al) + i, a)));
1733
1740
  }
1734
- const yt = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), gt = {
1741
+ const gt = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), kt = {
1735
1742
  // tags
1736
1743
  base: -10,
1737
1744
  title: 10
1738
- }, kt = {
1745
+ }, bt = {
1739
1746
  // relative scores to their default values
1740
1747
  critical: -80,
1741
1748
  high: -10,
1742
1749
  low: 20
1743
1750
  };
1744
- function Be(l) {
1751
+ function Re(l) {
1745
1752
  const t = l.tagPriority;
1746
1753
  if (typeof t == "number")
1747
1754
  return t;
1748
1755
  let n = 100;
1749
- return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in gt && (n = gt[l.tag]), t && t in kt ? n + kt[t] : n;
1756
+ return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in kt && (n = kt[l.tag]), t && t in bt ? n + bt[t] : n;
1750
1757
  }
1751
- const $l = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Pl = ["name", "property", "http-equiv"];
1752
- function Dt(l) {
1758
+ const Dl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Hl = ["name", "property", "http-equiv"];
1759
+ function Nt(l) {
1753
1760
  const { props: t, tag: n } = l;
1754
- if (bl.has(n))
1761
+ if (wl.has(n))
1755
1762
  return n;
1756
1763
  if (n === "link" && t.rel === "canonical")
1757
1764
  return "canonical";
@@ -1759,13 +1766,13 @@ function Dt(l) {
1759
1766
  return "charset";
1760
1767
  if (t.id)
1761
1768
  return `${n}:id:${t.id}`;
1762
- for (const o of Pl)
1769
+ for (const o of Hl)
1763
1770
  if (t[o] !== void 0)
1764
1771
  return `${n}:${o}:${t[o]}`;
1765
1772
  return !1;
1766
1773
  }
1767
- const ce = "%separator";
1768
- function Al(l, t) {
1774
+ const ue = "%separator";
1775
+ function Nl(l, t) {
1769
1776
  let n;
1770
1777
  if (t === "s" || t === "pageTitle")
1771
1778
  n = l.pageTitle;
@@ -1776,7 +1783,7 @@ function Al(l, t) {
1776
1783
  n = l[t];
1777
1784
  return n !== void 0 ? (n || "").replace(/"/g, '\\"') : void 0;
1778
1785
  }
1779
- const Sl = new RegExp(`${ce}(?:\\s*${ce})*`, "g");
1786
+ const Ml = new RegExp(`${ue}(?:\\s*${ue})*`, "g");
1780
1787
  function He(l, t, n) {
1781
1788
  if (typeof l != "string" || !l.includes("%"))
1782
1789
  return l;
@@ -1788,18 +1795,18 @@ function He(l, t, n) {
1788
1795
  const a = o.match(/%\w+(?:\.\w+)?/g);
1789
1796
  if (!a)
1790
1797
  return l;
1791
- const i = l.includes(ce);
1798
+ const i = l.includes(ue);
1792
1799
  return l = l.replace(/%\w+(?:\.\w+)?/g, (r) => {
1793
- if (r === ce || !a.includes(r))
1800
+ if (r === ue || !a.includes(r))
1794
1801
  return r;
1795
- const p = Al(t, r.slice(1));
1802
+ const p = Nl(t, r.slice(1));
1796
1803
  return p !== void 0 ? p : r;
1797
- }).trim(), i && (l.endsWith(ce) && (l = l.slice(0, -ce.length)), l.startsWith(ce) && (l = l.slice(ce.length)), l = l.replace(Sl, n).trim()), l;
1804
+ }).trim(), i && (l.endsWith(ue) && (l = l.slice(0, -ue.length)), l.startsWith(ue) && (l = l.slice(ue.length)), l = l.replace(Ml, n).trim()), l;
1798
1805
  }
1799
- function bt(l, t) {
1806
+ function _t(l, t) {
1800
1807
  return l == null ? t || null : typeof l == "function" ? l(t) : l;
1801
1808
  }
1802
- async function Hl(l, t = {}) {
1809
+ async function Bl(l, t = {}) {
1803
1810
  const n = t.document || l.resolvedOptions.document;
1804
1811
  if (!n || !l.dirty)
1805
1812
  return;
@@ -1808,7 +1815,7 @@ async function Hl(l, t = {}) {
1808
1815
  return l._domUpdatePromise || (l._domUpdatePromise = new Promise(async (a) => {
1809
1816
  const i = (await l.resolveTags()).map((m) => ({
1810
1817
  tag: m,
1811
- id: De.has(m.tag) ? tt(m) : m.tag,
1818
+ id: Ne.has(m.tag) ? tt(m) : m.tag,
1812
1819
  shouldRender: !0
1813
1820
  }));
1814
1821
  let r = l._dom;
@@ -1821,18 +1828,18 @@ async function Hl(l, t = {}) {
1821
1828
  const w = n[g]?.children;
1822
1829
  for (const P of w) {
1823
1830
  const $ = P.tagName.toLowerCase();
1824
- if (!De.has($))
1831
+ if (!Ne.has($))
1825
1832
  continue;
1826
1833
  const M = {
1827
1834
  tag: $,
1828
- props: await St(
1829
- P.getAttributeNames().reduce((S, H) => ({ ...S, [H]: P.getAttribute(H) }), {})
1835
+ props: await Dt(
1836
+ P.getAttributeNames().reduce((S, D) => ({ ...S, [D]: P.getAttribute(D) }), {})
1830
1837
  ),
1831
1838
  innerHTML: P.innerHTML
1832
- }, L = Dt(M);
1833
- let N = L, T = 1;
1839
+ }, R = Nt(M);
1840
+ let N = R, T = 1;
1834
1841
  for (; N && m.has(N); )
1835
- N = `${L}:${T++}`;
1842
+ N = `${R}:${T++}`;
1836
1843
  N && (M._d = N, m.add(N)), r.elMap[P.getAttribute("data-hid") || tt(M)] = P;
1837
1844
  }
1838
1845
  }
@@ -1842,7 +1849,7 @@ async function Hl(l, t = {}) {
1842
1849
  const P = `${m}:${g}`;
1843
1850
  r.sideEffects[P] = w, delete r.pendingSideEffects[P];
1844
1851
  }
1845
- function c({ id: m, $el: g, tag: w }) {
1852
+ function u({ id: m, $el: g, tag: w }) {
1846
1853
  const P = w.tag.endsWith("Attrs");
1847
1854
  if (r.elMap[m] = g, P || (w.textContent && w.textContent !== g.textContent && (g.textContent = w.textContent), w.innerHTML && w.innerHTML !== g.innerHTML && (g.innerHTML = w.innerHTML), p(m, "el", () => {
1848
1855
  r.elMap[m]?.remove(), delete r.elMap[m];
@@ -1856,26 +1863,26 @@ async function Hl(l, t = {}) {
1856
1863
  for (const $ in w.props) {
1857
1864
  if (!Object.prototype.hasOwnProperty.call(w.props, $))
1858
1865
  continue;
1859
- const M = w.props[$], L = `attr:${$}`;
1866
+ const M = w.props[$], R = `attr:${$}`;
1860
1867
  if ($ === "class") {
1861
1868
  if (!M)
1862
1869
  continue;
1863
1870
  for (const N of M.split(" "))
1864
- P && p(m, `${L}:${N}`, () => g.classList.remove(N)), !g.classList.contains(N) && g.classList.add(N);
1871
+ P && p(m, `${R}:${N}`, () => g.classList.remove(N)), !g.classList.contains(N) && g.classList.add(N);
1865
1872
  } else if ($ === "style") {
1866
1873
  if (!M)
1867
1874
  continue;
1868
1875
  for (const N of M.split(";")) {
1869
- const T = N.indexOf(":"), S = N.substring(0, T).trim(), H = N.substring(T + 1).trim();
1870
- p(m, `${L}:${S}`, () => {
1876
+ const T = N.indexOf(":"), S = N.substring(0, T).trim(), D = N.substring(T + 1).trim();
1877
+ p(m, `${R}:${S}`, () => {
1871
1878
  g.style.removeProperty(S);
1872
- }), g.style.setProperty(S, H);
1879
+ }), g.style.setProperty(S, D);
1873
1880
  }
1874
1881
  } else
1875
- g.getAttribute($) !== M && g.setAttribute($, M === !0 ? "" : String(M)), P && p(m, L, () => g.removeAttribute($));
1882
+ g.getAttribute($) !== M && g.setAttribute($, M === !0 ? "" : String(M)), P && p(m, R, () => g.removeAttribute($));
1876
1883
  }
1877
1884
  }
1878
- const u = [], y = {
1885
+ const c = [], y = {
1879
1886
  bodyClose: void 0,
1880
1887
  bodyOpen: void 0,
1881
1888
  head: void 0
@@ -1887,12 +1894,12 @@ async function Hl(l, t = {}) {
1887
1894
  n.title = g.textContent;
1888
1895
  continue;
1889
1896
  }
1890
- m.$el = m.$el || r.elMap[P], m.$el ? c(m) : De.has(g.tag) && u.push(m);
1897
+ m.$el = m.$el || r.elMap[P], m.$el ? u(m) : Ne.has(g.tag) && c.push(m);
1891
1898
  }
1892
1899
  }
1893
- for (const m of u) {
1900
+ for (const m of c) {
1894
1901
  const g = m.tag.tagPosition || "head";
1895
- m.$el = n.createElement(m.tag.tag), c(m), y[g] = y[g] || n.createDocumentFragment(), y[g].appendChild(m.$el);
1902
+ m.$el = n.createElement(m.tag.tag), u(m), y[g] = y[g] || n.createDocumentFragment(), y[g].appendChild(m.$el);
1896
1903
  }
1897
1904
  for (const m of i)
1898
1905
  await l.hooks.callHook("dom:renderTag", m, n, p);
@@ -1904,21 +1911,21 @@ async function Hl(l, t = {}) {
1904
1911
  l._domUpdatePromise = void 0, l.dirty = !1;
1905
1912
  })), l._domUpdatePromise;
1906
1913
  }
1907
- function Dl(l, t = {}) {
1914
+ function Il(l, t = {}) {
1908
1915
  const n = t.delayFn || ((o) => setTimeout(o, 10));
1909
- return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() => Hl(l, t).then(() => {
1916
+ return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() => Bl(l, t).then(() => {
1910
1917
  delete l._domDebouncedUpdatePromise, o();
1911
1918
  })));
1912
1919
  }
1913
1920
  // @__NO_SIDE_EFFECTS__
1914
- function Nl(l) {
1921
+ function Rl(l) {
1915
1922
  return (t) => {
1916
1923
  const n = t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1917
1924
  return n && t.push(JSON.parse(n)), {
1918
1925
  mode: "client",
1919
1926
  hooks: {
1920
1927
  "entries:updated": (o) => {
1921
- Dl(o, l);
1928
+ Il(o, l);
1922
1929
  }
1923
1930
  }
1924
1931
  };
@@ -1931,23 +1938,23 @@ function nt(l, t = {}, n) {
1931
1938
  }
1932
1939
  return t;
1933
1940
  }
1934
- const Ml = { run: (l) => l() }, Rl = () => Ml, Nt = typeof console.createTask < "u" ? console.createTask : Rl;
1935
- function Bl(l, t) {
1936
- const n = t.shift(), o = Nt(n);
1941
+ const Ll = { run: (l) => l() }, El = () => Ll, Mt = typeof console.createTask < "u" ? console.createTask : El;
1942
+ function Ul(l, t) {
1943
+ const n = t.shift(), o = Mt(n);
1937
1944
  return l.reduce(
1938
1945
  (a, i) => a.then(() => o.run(() => i(...t))),
1939
1946
  Promise.resolve()
1940
1947
  );
1941
1948
  }
1942
- function Il(l, t) {
1943
- const n = t.shift(), o = Nt(n);
1949
+ function Ol(l, t) {
1950
+ const n = t.shift(), o = Mt(n);
1944
1951
  return Promise.all(l.map((a) => o.run(() => a(...t))));
1945
1952
  }
1946
1953
  function Qe(l, t) {
1947
1954
  for (const n of [...l])
1948
1955
  n(t);
1949
1956
  }
1950
- class Ll {
1957
+ class Fl {
1951
1958
  constructor() {
1952
1959
  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);
1953
1960
  }
@@ -2016,10 +2023,10 @@ class Ll {
2016
2023
  delete this._hooks[t];
2017
2024
  }
2018
2025
  callHook(t, ...n) {
2019
- return n.unshift(t), this.callHookWith(Bl, t, ...n);
2026
+ return n.unshift(t), this.callHookWith(Ul, t, ...n);
2020
2027
  }
2021
2028
  callHookParallel(t, ...n) {
2022
- return n.unshift(t), this.callHookWith(Il, t, ...n);
2029
+ return n.unshift(t), this.callHookWith(Ol, t, ...n);
2023
2030
  }
2024
2031
  callHookWith(t, n, ...o) {
2025
2032
  const a = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
@@ -2049,14 +2056,14 @@ class Ll {
2049
2056
  };
2050
2057
  }
2051
2058
  }
2052
- function El() {
2053
- return new Ll();
2059
+ function ql() {
2060
+ return new Fl();
2054
2061
  }
2055
- const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), Ol = {
2062
+ const Gl = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), jl = {
2056
2063
  hooks: {
2057
2064
  "tag:normalise": ({ tag: l }) => {
2058
2065
  l.props.hid && (l.key = l.props.hid, delete l.props.hid), l.props.vmid && (l.key = l.props.vmid, delete l.props.vmid), l.props.key && (l.key = l.props.key, delete l.props.key);
2059
- const t = Dt(l);
2066
+ const t = Nt(l);
2060
2067
  t && !t.startsWith("meta:og:") && !t.startsWith("meta:twitter:") && delete l.key;
2061
2068
  const n = t || (l.key ? `${l.tag}:${l.key}` : !1);
2062
2069
  n && (l._d = n);
@@ -2067,20 +2074,20 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2067
2074
  const a = (o.key ? `${o.tag}:${o.key}` : o._d) || tt(o), i = t[a];
2068
2075
  if (i) {
2069
2076
  let p = o?.tagDuplicateStrategy;
2070
- if (!p && Ul.has(o.tag) && (p = "merge"), p === "merge") {
2071
- const c = i.props;
2072
- c.style && o.props.style && (c.style[c.style.length - 1] !== ";" && (c.style += ";"), o.props.style = `${c.style} ${o.props.style}`), c.class && o.props.class ? o.props.class = `${c.class} ${o.props.class}` : c.class && (o.props.class = c.class), t[a].props = {
2073
- ...c,
2077
+ if (!p && Gl.has(o.tag) && (p = "merge"), p === "merge") {
2078
+ const u = i.props;
2079
+ u.style && o.props.style && (u.style[u.style.length - 1] !== ";" && (u.style += ";"), o.props.style = `${u.style} ${o.props.style}`), u.class && o.props.class ? o.props.class = `${u.class} ${o.props.class}` : u.class && (o.props.class = u.class), t[a].props = {
2080
+ ...u,
2074
2081
  ...o.props
2075
2082
  };
2076
2083
  continue;
2077
2084
  } else if (o._e === i._e) {
2078
2085
  i._duped = i._duped || [], o._d = `${i._d}:${i._duped.length + 1}`, i._duped.push(o);
2079
2086
  continue;
2080
- } else if (Be(o) > Be(i))
2087
+ } else if (Re(o) > Re(i))
2081
2088
  continue;
2082
2089
  }
2083
- if (!(o.innerHTML || o.textContent || Object.keys(o.props).length !== 0) && De.has(o.tag)) {
2090
+ if (!(o.innerHTML || o.textContent || Object.keys(o.props).length !== 0) && Ne.has(o.tag)) {
2084
2091
  delete t[a];
2085
2092
  continue;
2086
2093
  }
@@ -2094,20 +2101,20 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2094
2101
  l.tags = n, l.tags = l.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
2095
2102
  }
2096
2103
  }
2097
- }, Fl = /* @__PURE__ */ new Set(["script", "link", "bodyAttrs"]), ql = (l) => ({
2104
+ }, xl = /* @__PURE__ */ new Set(["script", "link", "bodyAttrs"]), Wl = (l) => ({
2098
2105
  hooks: {
2099
2106
  "tags:resolve": (t) => {
2100
2107
  for (const n of t.tags) {
2101
- if (!Fl.has(n.tag))
2108
+ if (!xl.has(n.tag))
2102
2109
  continue;
2103
2110
  const o = n.props;
2104
2111
  for (const a in o) {
2105
2112
  if (a[0] !== "o" || a[1] !== "n" || !Object.prototype.hasOwnProperty.call(o, a))
2106
2113
  continue;
2107
2114
  const i = o[a];
2108
- typeof i == "function" && (l.ssr && yt.has(a) ? o[a] = `this.dataset.${a}fired = true` : delete o[a], n._eventHandlers = n._eventHandlers || {}, n._eventHandlers[a] = i);
2115
+ typeof i == "function" && (l.ssr && gt.has(a) ? o[a] = `this.dataset.${a}fired = true` : delete o[a], n._eventHandlers = n._eventHandlers || {}, n._eventHandlers[a] = i);
2109
2116
  }
2110
- l.ssr && n._eventHandlers && (n.props.src || n.props.href) && (n.key = n.key || Re(n.props.src || n.props.href));
2117
+ l.ssr && n._eventHandlers && (n.props.src || n.props.href) && (n.key = n.key || Ie(n.props.src || n.props.href));
2111
2118
  }
2112
2119
  },
2113
2120
  "dom:renderTag": ({ $el: t, tag: n }) => {
@@ -2117,17 +2124,17 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2117
2124
  if (!a.endsWith("fired"))
2118
2125
  continue;
2119
2126
  const i = a.slice(0, -5);
2120
- yt.has(i) && n._eventHandlers?.[i]?.call(t, new Event(i.substring(2)));
2127
+ gt.has(i) && n._eventHandlers?.[i]?.call(t, new Event(i.substring(2)));
2121
2128
  }
2122
2129
  }
2123
2130
  }
2124
- }), Gl = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), jl = {
2131
+ }), Kl = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Jl = {
2125
2132
  hooks: {
2126
2133
  "tag:normalise": ({ tag: l }) => {
2127
- l.key && Gl.has(l.tag) && (l.props["data-hid"] = l._h = Re(l.key));
2134
+ l.key && Kl.has(l.tag) && (l.props["data-hid"] = l._h = Ie(l.key));
2128
2135
  }
2129
2136
  }
2130
- }, xl = {
2137
+ }, zl = {
2131
2138
  mode: "server",
2132
2139
  hooks: {
2133
2140
  "tags:beforeResolve": (l) => {
@@ -2142,12 +2149,12 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2142
2149
  });
2143
2150
  }
2144
2151
  }
2145
- }, Wl = {
2152
+ }, Yl = {
2146
2153
  hooks: {
2147
2154
  "tags:resolve": (l) => {
2148
2155
  for (const t of l.tags)
2149
2156
  if (typeof t.tagPriority == "string")
2150
- for (const { prefix: n, offset: o } of $l) {
2157
+ for (const { prefix: n, offset: o } of Dl) {
2151
2158
  if (!t.tagPriority.startsWith(n))
2152
2159
  continue;
2153
2160
  const a = t.tagPriority.substring(n.length), i = l.tags.find((r) => r._d === a)?._p;
@@ -2157,16 +2164,16 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2157
2164
  }
2158
2165
  }
2159
2166
  l.tags.sort((t, n) => {
2160
- const o = Be(t), a = Be(n);
2167
+ const o = Re(t), a = Re(n);
2161
2168
  return o < a ? -1 : o > a ? 1 : t._p - n._p;
2162
2169
  });
2163
2170
  }
2164
2171
  }
2165
- }, Kl = {
2172
+ }, Ql = {
2166
2173
  meta: "content",
2167
2174
  link: "href",
2168
2175
  htmlAttrs: "lang"
2169
- }, Jl = ["innerHTML", "textContent"], zl = (l) => ({
2176
+ }, Xl = ["innerHTML", "textContent"], Zl = (l) => ({
2170
2177
  hooks: {
2171
2178
  "tags:resolve": (t) => {
2172
2179
  const { tags: n } = t;
@@ -2183,12 +2190,12 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2183
2190
  for (const r of n) {
2184
2191
  if (r.processTemplateParams === !1)
2185
2192
  continue;
2186
- const p = Kl[r.tag];
2193
+ const p = Ql[r.tag];
2187
2194
  if (p && typeof r.props[p] == "string")
2188
2195
  r.props[p] = He(r.props[p], a, i);
2189
2196
  else if (r.processTemplateParams || r.tag === "titleTemplate" || r.tag === "title")
2190
- for (const c of Jl)
2191
- typeof r[c] == "string" && (r[c] = He(r[c], a, i));
2197
+ for (const u of Xl)
2198
+ typeof r[u] == "string" && (r[u] = He(r[u], a, i));
2192
2199
  }
2193
2200
  l._templateParams = a, l._separator = i;
2194
2201
  },
@@ -2201,7 +2208,7 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2201
2208
  n?.textContent && (n.textContent = He(n.textContent, l._templateParams, l._separator));
2202
2209
  }
2203
2210
  }
2204
- }), Yl = {
2211
+ }), ea = {
2205
2212
  hooks: {
2206
2213
  "tags:resolve": (l) => {
2207
2214
  const { tags: t } = l;
@@ -2211,13 +2218,13 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2211
2218
  i.tag === "title" ? n = i : i.tag === "titleTemplate" && (o = i);
2212
2219
  }
2213
2220
  if (o && n) {
2214
- const a = bt(
2221
+ const a = _t(
2215
2222
  o.textContent,
2216
2223
  n.textContent
2217
2224
  );
2218
2225
  a !== null ? n.textContent = a || n.textContent : l.tags.splice(l.tags.indexOf(n), 1);
2219
2226
  } else if (o) {
2220
- const a = bt(
2227
+ const a = _t(
2221
2228
  o.textContent
2222
2229
  );
2223
2230
  a !== null && (o.textContent = a, o.tag = "title", o = void 0);
@@ -2225,7 +2232,7 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2225
2232
  o && l.tags.splice(l.tags.indexOf(o), 1);
2226
2233
  }
2227
2234
  }
2228
- }, Ql = {
2235
+ }, ta = {
2229
2236
  hooks: {
2230
2237
  "tags:afterResolve": (l) => {
2231
2238
  for (const t of l.tags)
@@ -2234,16 +2241,16 @@ const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
2234
2241
  }
2235
2242
  };
2236
2243
  // @__NO_SIDE_EFFECTS__
2237
- function Xl(l = {}) {
2238
- const t = Zl(l);
2239
- return t.use(/* @__PURE__ */ Nl()), t;
2244
+ function oa(l = {}) {
2245
+ const t = na(l);
2246
+ return t.use(/* @__PURE__ */ Rl()), t;
2240
2247
  }
2241
- function _t(l, t) {
2248
+ function Tt(l, t) {
2242
2249
  return !l || l === "server" && t || l === "client" && !t;
2243
2250
  }
2244
- function Zl(l = {}) {
2245
- const t = El();
2246
- t.addHooks(l.hooks || {}), l.document = l.document || (_l ? document : void 0);
2251
+ function na(l = {}) {
2252
+ const t = ql();
2253
+ t.addHooks(l.hooks || {}), l.document = l.document || (Cl ? document : void 0);
2247
2254
  const n = !l.document, o = () => {
2248
2255
  p.dirty = !0, t.callHook("entries:updated", p);
2249
2256
  };
@@ -2256,18 +2263,18 @@ function Zl(l = {}) {
2256
2263
  headEntries() {
2257
2264
  return i;
2258
2265
  },
2259
- use(c) {
2260
- const u = typeof c == "function" ? c(p) : c;
2261
- (!u.key || !r.some((y) => y.key === u.key)) && (r.push(u), _t(u.mode, n) && t.addHooks(u.hooks || {}));
2266
+ use(u) {
2267
+ const c = typeof u == "function" ? u(p) : u;
2268
+ (!c.key || !r.some((y) => y.key === c.key)) && (r.push(c), Tt(c.mode, n) && t.addHooks(c.hooks || {}));
2262
2269
  },
2263
- push(c, u) {
2264
- delete u?.head;
2270
+ push(u, c) {
2271
+ delete c?.head;
2265
2272
  const y = {
2266
2273
  _i: a++,
2267
- input: c,
2268
- ...u
2274
+ input: u,
2275
+ ...c
2269
2276
  };
2270
- return _t(y.mode, n) && (i.push(y), o()), {
2277
+ return Tt(y.mode, n) && (i.push(y), o()), {
2271
2278
  dispose() {
2272
2279
  i = i.filter((m) => m._i !== y._i), o();
2273
2280
  },
@@ -2280,40 +2287,40 @@ function Zl(l = {}) {
2280
2287
  };
2281
2288
  },
2282
2289
  async resolveTags() {
2283
- const c = { tags: [], entries: [...i] };
2284
- await t.callHook("entries:resolve", c);
2285
- for (const u of c.entries) {
2286
- const y = u.resolvedInput || u.input;
2287
- if (u.resolvedInput = await (u.transform ? u.transform(y) : y), u.resolvedInput)
2288
- for (const m of await Cl(u)) {
2289
- const g = { tag: m, entry: u, resolvedOptions: p.resolvedOptions };
2290
- await t.callHook("tag:normalise", g), c.tags.push(g.tag);
2290
+ const u = { tags: [], entries: [...i] };
2291
+ await t.callHook("entries:resolve", u);
2292
+ for (const c of u.entries) {
2293
+ const y = c.resolvedInput || c.input;
2294
+ if (c.resolvedInput = await (c.transform ? c.transform(y) : y), c.resolvedInput)
2295
+ for (const m of await Sl(c)) {
2296
+ const g = { tag: m, entry: c, resolvedOptions: p.resolvedOptions };
2297
+ await t.callHook("tag:normalise", g), u.tags.push(g.tag);
2291
2298
  }
2292
2299
  }
2293
- return await t.callHook("tags:beforeResolve", c), await t.callHook("tags:resolve", c), await t.callHook("tags:afterResolve", c), c.tags;
2300
+ return await t.callHook("tags:beforeResolve", u), await t.callHook("tags:resolve", u), await t.callHook("tags:afterResolve", u), u.tags;
2294
2301
  },
2295
2302
  ssr: n
2296
2303
  };
2297
2304
  return [
2298
- Ol,
2299
- xl,
2300
- ql,
2301
2305
  jl,
2302
- Wl,
2303
2306
  zl,
2307
+ Wl,
2308
+ Jl,
2304
2309
  Yl,
2305
- Ql,
2310
+ Zl,
2311
+ ea,
2312
+ ta,
2306
2313
  ...l?.plugins || []
2307
- ].forEach((c) => p.use(c)), p.hooks.callHook("init", p), p;
2314
+ ].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
2308
2315
  }
2309
- const ea = vo[0] === "3";
2310
- function ta(l) {
2316
+ const la = bo[0] === "3";
2317
+ function aa(l) {
2311
2318
  return typeof l == "function" ? l() : e(l);
2312
2319
  }
2313
2320
  function lt(l) {
2314
2321
  if (l instanceof Promise || l instanceof Date || l instanceof RegExp)
2315
2322
  return l;
2316
- const t = ta(l);
2323
+ const t = aa(l);
2317
2324
  if (!l || !t)
2318
2325
  return t;
2319
2326
  if (Array.isArray(t))
@@ -2332,28 +2339,28 @@ function lt(l) {
2332
2339
  }
2333
2340
  return t;
2334
2341
  }
2335
- const oa = {
2342
+ const ia = {
2336
2343
  hooks: {
2337
2344
  "entries:resolve": (l) => {
2338
2345
  for (const t of l.entries)
2339
2346
  t.resolvedInput = lt(t.input);
2340
2347
  }
2341
2348
  }
2342
- }, na = "usehead";
2343
- function la(l) {
2349
+ }, sa = "usehead";
2350
+ function ra(l) {
2344
2351
  return {
2345
2352
  install(n) {
2346
- ea && (n.config.globalProperties.$unhead = l, n.config.globalProperties.$head = l, n.provide(na, l));
2353
+ la && (n.config.globalProperties.$unhead = l, n.config.globalProperties.$head = l, n.provide(sa, l));
2347
2354
  }
2348
2355
  }.install;
2349
2356
  }
2350
- function aa(l = {}) {
2351
- l.domDelayFn = l.domDelayFn || ((n) => ho(() => setTimeout(() => n(), 0)));
2352
- const t = /* @__PURE__ */ Xl(l);
2353
- return t.use(oa), t.install = la(t), t;
2357
+ function da(l = {}) {
2358
+ l.domDelayFn = l.domDelayFn || ((n) => ko(() => setTimeout(() => n(), 0)));
2359
+ const t = /* @__PURE__ */ oa(l);
2360
+ return t.use(ia), t.install = ra(t), t;
2354
2361
  }
2355
- const ia = yo(), sa = aa(), ra = _o();
2356
- class da extends HTMLElement {
2362
+ const ca = _o(), ua = da(), pa = Co();
2363
+ class ma extends HTMLElement {
2357
2364
  vueApp;
2358
2365
  constructor() {
2359
2366
  super();
@@ -2362,14 +2369,14 @@ class da extends HTMLElement {
2362
2369
  this.vueApp.unmount();
2363
2370
  }
2364
2371
  connectedCallback() {
2365
- const t = go(vt, this.attributes);
2366
- this.vueApp = ko(vt, t), this.vueApp.provide("emitter", ra), this.vueApp.use(sa), this.vueApp.use(ia), this.vueApp.use(Ro), this.vueApp.use(bo), this.vueApp.use(Bo), this.vueApp.use(Po), this.vueApp.use($o, { bootstrap: !0 });
2372
+ const t = To(yt, this.attributes);
2373
+ this.vueApp = Vo(yt, t), this.vueApp.provide("emitter", pa), this.vueApp.use(ua), this.vueApp.use(ca), this.vueApp.use(Eo), this.vueApp.use(wo), this.vueApp.use(Uo), this.vueApp.use(Ho), this.vueApp.use(Do, { bootstrap: !0 });
2367
2374
  const n = document.createElement("div");
2368
2375
  this.vueApp.mount(n), this.appendChild(n.children[0]);
2369
2376
  }
2370
2377
  }
2371
- window.customElements.define("konnectio-hotel", da);
2378
+ window.customElements.define("konnectio-hotel", ma);
2372
2379
  export {
2373
- da as default
2380
+ ma as default
2374
2381
  };
2375
2382
  //# sourceMappingURL=hotel.js.map