@konnectio/core 4.0.56-rc24 → 4.0.56-rc26

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