@konnectio/core 4.0.96 → 4.0.98

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