@konnectio/core 4.0.56-rc21 → 4.0.56-rc22

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 (43) hide show
  1. package/dist/{ActionField-mMYGNb-7.js → ActionField-ZJdtBRXa.js} +1 -1
  2. package/dist/ActionField-ZJdtBRXa.js.br +4 -0
  3. package/dist/AvailabilitySkeleton-tfEBupNq.js +234 -0
  4. package/dist/AvailabilitySkeleton-tfEBupNq.js.br +0 -0
  5. package/dist/{CheckoutWindow-T32YH60g.js → CheckoutWindow-orJD6dJy.js} +1 -1
  6. package/dist/CheckoutWindow-orJD6dJy.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js → DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js} +1 -1
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js.br +0 -0
  9. package/dist/{ErrorMessage-4GwDZEsl.js → ErrorMessage-mUpn7ZBU.js} +1 -1
  10. package/dist/ErrorMessage-mUpn7ZBU.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-jvxOZKWx.js → EventAvailabilityForm-cAOEZVnn.js} +7 -7
  12. package/dist/EventAvailabilityForm-cAOEZVnn.js.br +0 -0
  13. package/dist/{Field-EqFBeBE_.js → Field-Kwm-GcDa.js} +1 -1
  14. package/dist/Field-Kwm-GcDa.js.br +0 -0
  15. package/dist/{ThankYou-pu1PDfhl.js → ThankYou-EiAxaHd8.js} +318 -318
  16. package/dist/ThankYou-EiAxaHd8.js.br +0 -0
  17. package/dist/{_--L3VvP-p.js → _-KavQ60qi.js} +2191 -2187
  18. package/dist/_-KavQ60qi.js.br +0 -0
  19. package/dist/availability.js +18 -18
  20. package/dist/availability.js.br +0 -0
  21. package/dist/event.js +5 -5
  22. package/dist/event.js.br +0 -0
  23. package/dist/gift-card-validation.js +3 -3
  24. package/dist/gift-card-validation.js.br +0 -0
  25. package/dist/gift-card.js +5 -5
  26. package/dist/gift-card.js.br +0 -0
  27. package/dist/hotel.js +938 -931
  28. package/dist/hotel.js.br +0 -0
  29. package/dist/polyfill.js +1 -1
  30. package/dist/polyfill.js.br +0 -0
  31. package/dist/style.css +1 -1
  32. package/dist/style.css.br +0 -0
  33. package/package.json +2 -1
  34. package/dist/ActionField-mMYGNb-7.js.br +0 -0
  35. package/dist/AvailabilitySkeleton-iD7Vbt5K.js +0 -215
  36. package/dist/AvailabilitySkeleton-iD7Vbt5K.js.br +0 -0
  37. package/dist/CheckoutWindow-T32YH60g.js.br +0 -0
  38. package/dist/DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js.br +0 -0
  39. package/dist/ErrorMessage-4GwDZEsl.js.br +0 -0
  40. package/dist/EventAvailabilityForm-jvxOZKWx.js.br +0 -0
  41. package/dist/Field-EqFBeBE_.js.br +0 -0
  42. package/dist/ThankYou-pu1PDfhl.js.br +0 -0
  43. package/dist/_--L3VvP-p.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,28 +1,28 @@
1
- import { g as K, d as j, j as J, aA as co, B as Q, D as ge, a7 as le, o as E, a as M, aB as po, u as s, w as P, a5 as xe, b as y, t as V, R as ie, aa as et, ab as tt, f as C, M as G, aC as ot, aD as ho, h as I, J as z, F as B, i as w, K as Ue, aE as ce, N as re, c as U, _ as Ie, v as yt, x as bt, k as ue, aF as kt, l as Ye, G as Ee, e as _t, C as de, au as Et, ax as Tt, n as Te, I as Ct, r as nt, T as ne, E as Y, ay as fo, a6 as mo, s as go, S as vo, P as yo, m as it, H as N, q as bo, ag as It, aG as ko, y as _o, z as Eo, A as To, U as Co } from "./_--L3VvP-p.js";
2
- import { _ as Io, R as $o, B as So, S as Vo, M as Lo, T as wo, G as Po } from "./ThankYou-pu1PDfhl.js";
3
- import { A as xo, H as Ao } from "./AvailabilitySkeleton-iD7Vbt5K.js";
4
- import { _ as Oo } from "./DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js";
5
- import { C as qe, P as Do, a as Ho } from "./CheckoutWindow-T32YH60g.js";
6
- import { c as $t, g as St } from "./_commonjsHelpers-f3sTPFkQ.js";
7
- const $e = /* @__PURE__ */ K(Io, [["__scopeId", "data-v-852bc23f"]]), Mo = { class: "konnectio-hotel-reservation-warning" }, Bo = { class: "konnectio-hotel-reservation-warning" };
8
- const Ro = { key: 0 }, zo = { key: 1 }, Wo = /* @__PURE__ */ j({
1
+ import { g as K, d as j, j as J, aA as fo, B as Q, D as ge, a8 as de, o as E, a as M, aB as mo, u as r, w as P, a5 as Ae, b as y, t as V, R as ie, ab as ot, ac as nt, f as C, M as G, aC as qe, aD as go, h as I, J as z, F as R, i as L, K as Ge, aE as ce, N as re, c as N, _ as Ie, v as yt, x as bt, k as se, aF as kt, l as $e, G as Ee, e as _t, C as ue, au as Et, ax as Tt, a7 as Ct, m as je, n as Te, I as It, r as it, T as ne, E as Y, ay as vo, s as yo, S as bo, P as ko, H as U, q as _o, ah as $t, aG as Eo, y as To, z as Co, A as Io, U as $o } from "./_-KavQ60qi.js";
2
+ import { _ as So, R as Vo, B as wo, S as Lo, M as Po, T as Do, G as Ao } from "./ThankYou-EiAxaHd8.js";
3
+ import { A as xo, H as Oo, m as St } from "./AvailabilitySkeleton-tfEBupNq.js";
4
+ import { _ as Vt } from "./DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js";
5
+ import { C as Ye, P as Ho, a as Mo } from "./CheckoutWindow-orJD6dJy.js";
6
+ import { c as wt, g as Lt } from "./_commonjsHelpers-f3sTPFkQ.js";
7
+ const Se = /* @__PURE__ */ K(So, [["__scopeId", "data-v-48093561"]]), Ro = { class: "konnectio-hotel-reservation-warning" }, Bo = { class: "konnectio-hotel-reservation-warning" };
8
+ const zo = { key: 0 }, Wo = { key: 1 }, Fo = /* @__PURE__ */ j({
9
9
  __name: "HotelReservationForm",
10
10
  props: {
11
11
  showGiftCard: { type: Boolean, default: !1 },
12
12
  showTermsNotice: { type: Boolean, default: !1 }
13
13
  },
14
14
  setup(o) {
15
- const { t: e } = J(), t = co(), {
15
+ const { t: e } = J(), t = fo(), {
16
16
  hideArrivalDepartureInputs: n,
17
17
  disableArrivalUserSelection: p,
18
- disableDepartureUserSelection: r,
18
+ disableDepartureUserSelection: s,
19
19
  arrivalDefault: h,
20
20
  departureDefault: d,
21
21
  currency: l
22
22
  } = Q(ge()), {
23
23
  arrivalTime: u,
24
24
  departureTime: f,
25
- roomDisplay: v,
25
+ roomDisplay: g,
26
26
  templateID: _,
27
27
  totalPrice: c,
28
28
  areListingsLoading: b,
@@ -30,139 +30,139 @@ const Ro = { key: 0 }, zo = { key: 1 }, Wo = /* @__PURE__ */ j({
30
30
  selectedPackage: m,
31
31
  discountVouchers: i,
32
32
  currentArrivalDate: a,
33
- currentDepartureDate: g,
33
+ currentDepartureDate: v,
34
34
  datesMismatch: T
35
- } = Q(le()), { removeRoom: S } = le();
36
- function L(A) {
37
- return A.reduce((O, { totalPrice: W }) => O + W, 0);
35
+ } = Q(de()), { removeRoom: S } = de();
36
+ function w(A) {
37
+ return A.reduce((x, { totalPrice: W }) => x + W, 0);
38
38
  }
39
- return (A, R) => (E(), M($o, {
40
- "total-price": s(c),
39
+ return (A, B) => (E(), M(Vo, {
40
+ "total-price": r(c),
41
41
  "show-gift-card": A.showGiftCard,
42
42
  "show-terms-notice": A.showTermsNotice,
43
- "is-sidebar-loading": s(b),
44
- notice: s(e)("hotel.reservationNotice")
45
- }, po({
43
+ "is-sidebar-loading": r(b),
44
+ notice: r(e)("hotel.reservationNotice")
45
+ }, mo({
46
46
  form: P(() => [
47
- xe(A.$slots, "form", {}, void 0, !0)
47
+ Ae(A.$slots, "form", {}, void 0, !0)
48
48
  ]),
49
49
  "reservation-summary": P(() => [
50
50
  y("li", null, [
51
- y("span", null, V(s(e)("booking.reservation.arrival")), 1),
51
+ y("span", null, V(r(e)("booking.reservation.arrival")), 1),
52
52
  y("b", null, [
53
- y("span", null, V(s(n) ? s(ie)(s(a)) : `${s(ie)(s(a))}, ${s(p) ? s(h) : s(u)}`), 1),
54
- et(y("span", Mo, [
53
+ y("span", null, V(r(n) ? r(ie)(r(a)) : `${r(ie)(r(a))}, ${r(p) ? r(h) : r(u)}`), 1),
54
+ ot(y("span", Ro, [
55
55
  C(G, {
56
56
  icon: "exclamation-triangle",
57
57
  type: "fas"
58
58
  })
59
59
  ], 512), [
60
- [tt, s(T)]
60
+ [nt, r(T)]
61
61
  ])
62
62
  ])
63
63
  ]),
64
64
  y("li", null, [
65
- y("span", null, V(s(e)("booking.reservation.departure")), 1),
65
+ y("span", null, V(r(e)("booking.reservation.departure")), 1),
66
66
  y("b", null, [
67
- y("span", null, V(s(n) ? s(ie)(s(g)) : `${s(ie)(s(g))}, ${s(r) ? s(d) : s(f)}`), 1),
68
- et(y("span", Bo, [
67
+ y("span", null, V(r(n) ? r(ie)(r(v)) : `${r(ie)(r(v))}, ${r(s) ? r(d) : r(f)}`), 1),
68
+ ot(y("span", Bo, [
69
69
  C(G, {
70
70
  icon: "exclamation-triangle",
71
71
  type: "fas"
72
72
  })
73
73
  ], 512), [
74
- [tt, s(T)]
74
+ [nt, r(T)]
75
75
  ])
76
76
  ])
77
77
  ]),
78
78
  y("li", null, [
79
- y("span", null, V(s(e)("booking.reservation.nights")), 1),
80
- y("b", null, V(s(ot)(s(a), s(g))) + " " + V(s(ho)(s(ot)(s(a), s(g)) === 1 ? s(e)("booking.reservation.night") : s(e)("booking.reservation.nights"))), 1)
79
+ y("span", null, V(r(e)("booking.reservation.nights")), 1),
80
+ y("b", null, V(r(qe)(r(a), r(v))) + " " + V(r(go)(r(qe)(r(a), r(v)) === 1 ? r(e)("booking.reservation.night") : r(e)("booking.reservation.nights"))), 1)
81
81
  ]),
82
- s(i) ? (E(!0), I(B, { key: 0 }, z(s(i), (O) => (E(), I("li", {
83
- key: O.id
82
+ r(i) ? (E(!0), I(R, { key: 0 }, z(r(i), (x) => (E(), I("li", {
83
+ key: x.id
84
84
  }, [
85
- y("span", null, V(`${s(e)("general.discountCode")} (${O.value})`), 1),
86
- y("b", null, V(O.key), 1)
87
- ]))), 128)) : w("", !0)
85
+ y("span", null, V(`${r(e)("general.discountCode")} (${x.value})`), 1),
86
+ y("b", null, V(x.key), 1)
87
+ ]))), 128)) : L("", !0)
88
88
  ]),
89
89
  "price-summary": P(() => [
90
- isNaN(s(_)) && s(v).length > 0 ? (E(!0), I(B, { key: 0 }, z(s(v), ({
91
- roomGroupID: O,
90
+ isNaN(r(_)) && r(g).length > 0 ? (E(!0), I(R, { key: 0 }, z(r(g), ({
91
+ roomGroupID: x,
92
92
  title: W,
93
93
  variants: X
94
- }) => (E(), I("div", { key: O }, [
94
+ }) => (E(), I("div", { key: x }, [
95
95
  y("h6", null, [
96
96
  y("span", null, V(W), 1)
97
97
  ]),
98
- (E(!0), I(B, null, z(X, (se, ae) => (E(), I("div", { key: ae }, [
99
- (E(!0), I(B, null, z(se.rooms, (Z, Se) => (E(), I("ul", { key: Se }, [
98
+ (E(!0), I(R, null, z(X, (ae, le) => (E(), I("div", { key: le }, [
99
+ (E(!0), I(R, null, z(ae.rooms, (Z, Ve) => (E(), I("ul", { key: Ve }, [
100
100
  y("li", null, [
101
101
  y("span", null, [
102
102
  y("span", null, [
103
- Ue(V(s(ce)(se.name)) + " ( ", 1),
103
+ Ge(V(r(ce)(ae.name)) + " ( ", 1),
104
104
  C(G, {
105
105
  icon: "male",
106
106
  type: "fas",
107
107
  color: "font"
108
108
  }),
109
109
  y("span", null, V(Z.adultsCount), 1),
110
- Z.childrenCount > 0 ? (E(), I(B, { key: 0 }, [
110
+ Z.childrenCount > 0 ? (E(), I(R, { key: 0 }, [
111
111
  C(G, {
112
112
  icon: "child",
113
113
  type: "fas",
114
114
  color: "font"
115
115
  }),
116
116
  y("span", null, V(Z.childrenCount), 1)
117
- ], 64)) : w("", !0),
118
- Ue(") ")
117
+ ], 64)) : L("", !0),
118
+ Ge(") ")
119
119
  ])
120
120
  ]),
121
121
  y("b", null, [
122
- y("span", null, V(s(re)(Z.totalPrice, s(l))), 1),
123
- w("", !0)
122
+ y("span", null, V(r(re)(Z.totalPrice, r(l))), 1),
123
+ L("", !0)
124
124
  ])
125
125
  ]),
126
- L(Z.roomAddons) > 0 ? (E(), I("li", Ro, [
127
- y("span", null, V(s(e)("general.addons")), 1),
128
- y("b", null, V(s(re)(L(Z.roomAddons), s(l))), 1)
129
- ])) : w("", !0)
126
+ w(Z.roomAddons) > 0 ? (E(), I("li", zo, [
127
+ y("span", null, V(r(e)("general.addons")), 1),
128
+ y("b", null, V(r(re)(w(Z.roomAddons), r(l))), 1)
129
+ ])) : L("", !0)
130
130
  ]))), 128))
131
131
  ]))), 128))
132
- ]))), 128)) : w("", !0),
133
- s(k) && s(m) ? (E(), I("div", zo, [
132
+ ]))), 128)) : L("", !0),
133
+ r(k) && r(m) ? (E(), I("div", Wo, [
134
134
  y("h6", null, [
135
- y("span", null, V(s(ce)(s(m).name)), 1)
135
+ y("span", null, V(r(ce)(r(m).name)), 1)
136
136
  ]),
137
137
  y("div", null, [
138
138
  y("ul", null, [
139
139
  y("li", null, [
140
140
  y("span", null, [
141
- y("span", null, V(s(ce)(s(k).title)), 1)
141
+ y("span", null, V(r(ce)(r(k).title)), 1)
142
142
  ]),
143
143
  y("b", null, [
144
- y("span", null, V(s(re)(s(k).extraPrice, s(l))), 1)
144
+ y("span", null, V(r(re)(r(k).extraPrice, r(l))), 1)
145
145
  ])
146
146
  ])
147
147
  ])
148
148
  ])
149
- ])) : w("", !0)
149
+ ])) : L("", !0)
150
150
  ]),
151
151
  navigation: P(() => [
152
- xe(A.$slots, "navigation", {}, void 0, !0)
152
+ Ae(A.$slots, "navigation", {}, void 0, !0)
153
153
  ]),
154
154
  _: 2
155
155
  }, [
156
- s(t).addons ? {
156
+ r(t).addons ? {
157
157
  name: "addons",
158
158
  fn: P(() => [
159
- xe(A.$slots, "addons", {}, void 0, !0)
159
+ Ae(A.$slots, "addons", {}, void 0, !0)
160
160
  ]),
161
161
  key: "0"
162
162
  } : void 0
163
163
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
164
164
  }
165
- }), Ae = /* @__PURE__ */ K(Wo, [["__scopeId", "data-v-b2859c46"]]), Fo = (o) => (yt("data-v-69fe83d8"), o = o(), bt(), o), No = { class: "konnectio-room-config-option" }, Uo = { key: 0 }, qo = { class: "konnectio-selected-room-config" }, Go = { class: "konnectio-selected-room-config-people" }, jo = { key: 0 }, Yo = { class: "konnectio-selected-room-config-price" }, Ko = /* @__PURE__ */ Fo(() => /* @__PURE__ */ y("span", null, null, -1)), Qo = /* @__PURE__ */ j({
165
+ }), xe = /* @__PURE__ */ K(Fo, [["__scopeId", "data-v-b2859c46"]]), No = (o) => (yt("data-v-69fe83d8"), o = o(), bt(), o), Uo = { class: "konnectio-room-config-option" }, qo = { key: 0 }, Go = { class: "konnectio-selected-room-config" }, jo = { class: "konnectio-selected-room-config-people" }, Yo = { key: 0 }, Ko = { class: "konnectio-selected-room-config-price" }, Qo = /* @__PURE__ */ No(() => /* @__PURE__ */ y("span", null, null, -1)), Jo = /* @__PURE__ */ j({
166
166
  __name: "RoomConfigField",
167
167
  props: {
168
168
  modelValue: {},
@@ -173,12 +173,12 @@ const Ro = { key: 0 }, zo = { key: 1 }, Wo = /* @__PURE__ */ j({
173
173
  },
174
174
  emits: ["update:modelValue"],
175
175
  setup(o, { emit: e }) {
176
- const { t } = J(), { currency: n } = Q(ge()), p = e, r = o;
176
+ const { t } = J(), { currency: n } = Q(ge()), p = e, s = o;
177
177
  function h(l) {
178
178
  p("update:modelValue", l);
179
179
  }
180
- const d = U({
181
- get: () => r.modelValue,
180
+ const d = N({
181
+ get: () => s.modelValue,
182
182
  set: (l) => h(l)
183
183
  });
184
184
  return (l, u) => (E(), M(Ie, {
@@ -195,7 +195,7 @@ const Ro = { key: 0 }, zo = { key: 1 }, Wo = /* @__PURE__ */ j({
195
195
  searchable: !1
196
196
  }, {
197
197
  option: P(({ data: f }) => [
198
- y("span", No, [
198
+ y("span", Uo, [
199
199
  y("div", null, [
200
200
  C(G, {
201
201
  icon: "male",
@@ -203,48 +203,48 @@ const Ro = { key: 0 }, zo = { key: 1 }, Wo = /* @__PURE__ */ j({
203
203
  color: "font"
204
204
  }),
205
205
  y("span", null, V(`${f.adults}`), 1),
206
- f.children > 0 ? (E(), I("span", Uo, [
206
+ f.children > 0 ? (E(), I("span", qo, [
207
207
  C(G, {
208
208
  icon: "child",
209
209
  type: "fas",
210
210
  color: "font"
211
211
  }),
212
212
  y("span", null, V(`${f.children}`), 1)
213
- ])) : w("", !0)
213
+ ])) : L("", !0)
214
214
  ]),
215
- y("span", null, V(`(${s(re)(f.price, s(n))})`), 1)
215
+ y("span", null, V(`(${r(re)(f.price, r(n))})`), 1)
216
216
  ])
217
217
  ]),
218
218
  "selected-option": P(({ data: f }) => [
219
- y("div", qo, [
220
- y("div", Go, [
219
+ y("div", Go, [
220
+ y("div", jo, [
221
221
  y("div", null, [
222
- w("", !0),
223
- y("span", null, V(`${f.adults} ${f.adults === 1 ? s(t)("general.adult") : s(t)("general.adults")}`), 1)
222
+ L("", !0),
223
+ y("span", null, V(`${f.adults} ${f.adults === 1 ? r(t)("general.adult") : r(t)("general.adults")}`), 1)
224
224
  ]),
225
- f.children > 0 ? (E(), I("div", jo, [
226
- w("", !0),
227
- y("span", null, V(`& ${f.children} ${f.children === 1 ? s(t)("general.child") : s(t)("general.children")}`), 1)
228
- ])) : w("", !0)
225
+ f.children > 0 ? (E(), I("div", Yo, [
226
+ L("", !0),
227
+ y("span", null, V(`& ${f.children} ${f.children === 1 ? r(t)("general.child") : r(t)("general.children")}`), 1)
228
+ ])) : L("", !0)
229
229
  ]),
230
- y("div", Yo, [
231
- Ko,
232
- Ue(" " + V(`(${s(re)(f.price, s(n))})`), 1)
230
+ y("div", Ko, [
231
+ Qo,
232
+ Ge(" " + V(`(${r(re)(f.price, r(n))})`), 1)
233
233
  ])
234
234
  ])
235
235
  ]),
236
236
  _: 1
237
237
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
238
238
  }
239
- }), Jo = /* @__PURE__ */ K(Qo, [["__scopeId", "data-v-69fe83d8"]]), Xo = { class: "konnectio-availability-listing-selection" }, Zo = { key: 1 }, en = { class: "fresh-booking-listing-config-body" }, tn = { class: "fresh-booking-listing-units-body" };
240
- const on = /* @__PURE__ */ j({
239
+ }), Xo = /* @__PURE__ */ K(Jo, [["__scopeId", "data-v-69fe83d8"]]), Zo = { class: "konnectio-availability-listing-selection" }, en = { key: 1 }, tn = { class: "fresh-booking-listing-config-body" }, on = { class: "fresh-booking-listing-units-body" };
240
+ const nn = /* @__PURE__ */ j({
241
241
  __name: "Hotel",
242
242
  props: {
243
243
  room: {},
244
244
  layout: {}
245
245
  },
246
246
  setup(o) {
247
- const { t: e } = J(), t = o, n = ue([]);
247
+ const { t: e } = J(), t = o, n = se([]);
248
248
  function p(a) {
249
249
  n.value[a].config.push({
250
250
  id: NaN,
@@ -252,19 +252,19 @@ const on = /* @__PURE__ */ j({
252
252
  addons: []
253
253
  });
254
254
  }
255
- const r = U(() => t.room.rates.map((a) => ({
255
+ const s = N(() => t.room.rates.map((a) => ({
256
256
  label: a.name,
257
257
  value: a.id
258
- }))), { hideAvailableRoomAmount: h } = Q(ge()), { roomSelect: d } = Q(le()), { addToCart: l, removeFromCart: u } = kt(), f = (a, g) => t.room.rates.find((T) => T.id === a)?.occupantRates.find((T) => T.index === g), v = U(() => t.room.rates.reduce(
259
- (a, g) => a < g.rackRate ? a : g.rackRate,
258
+ }))), { hideAvailableRoomAmount: h } = Q(ge()), { roomSelect: d } = Q(de()), { addToCart: l, removeFromCart: u } = kt(), f = (a, v) => t.room.rates.find((T) => T.id === a)?.occupantRates.find((T) => T.index === v), g = N(() => t.room.rates.reduce(
259
+ (a, v) => a < v.rackRate ? a : v.rackRate,
260
260
  1 / 0
261
- )), _ = U(() => t.room.rates.every((a) => a.isBreakfastIncluded === !0)), c = (a, g) => f(a, g) ? f(a, g)?.rooms : null, b = (a) => t.room.rates.length > 0 ? t.room.rates.find((g) => g.id === a)?.occupantRates.map((g) => ({
262
- value: g.index,
263
- price: g.totalPrice,
264
- adults: g.adultsCount,
265
- children: g.childrenCount,
266
- hasBreakfast: g.hasBreakfast
267
- })) || [] : [], k = U(() => t.room.rates.length > 1);
261
+ )), _ = N(() => t.room.rates.every((a) => a.isBreakfastIncluded === !0)), c = (a, v) => f(a, v) ? f(a, v)?.rooms : null, b = (a) => t.room.rates.length > 0 ? t.room.rates.find((v) => v.id === a)?.occupantRates.map((v) => ({
262
+ value: v.index,
263
+ price: v.totalPrice,
264
+ adults: v.adultsCount,
265
+ children: v.childrenCount,
266
+ hasBreakfast: v.hasBreakfast
267
+ })) || [] : [], k = N(() => t.room.rates.length > 1);
268
268
  function m() {
269
269
  k.value ? n.value.push({
270
270
  id: void 0,
@@ -282,15 +282,15 @@ const on = /* @__PURE__ */ j({
282
282
  }]
283
283
  });
284
284
  }
285
- Ye(() => {
285
+ $e(() => {
286
286
  m();
287
287
  });
288
- const i = U(() => JSON.parse(JSON.stringify(n.value)));
289
- return Ee(i, (a, g) => {
290
- g.length > 0 && a.forEach((T, S) => {
291
- T.config.forEach((L, A) => {
292
- const R = L.units, O = g[S].config[A].units;
293
- R !== O && (R > O ? (n.value[S].config[A].addons.push({}), l({
288
+ const i = N(() => JSON.parse(JSON.stringify(n.value)));
289
+ return Ee(i, (a, v) => {
290
+ v.length > 0 && a.forEach((T, S) => {
291
+ T.config.forEach((w, A) => {
292
+ const B = w.units, x = v[S].config[A].units;
293
+ B !== x && (B > x ? (n.value[S].config[A].addons.push({}), l({
294
294
  id: t.room.id,
295
295
  name: t.room.title,
296
296
  value: t.room.rates[S].rackRate
@@ -303,79 +303,79 @@ const on = /* @__PURE__ */ j({
303
303
  });
304
304
  }, { deep: !0 }), Ee(n, () => {
305
305
  d.value[t.room.id] = n.value;
306
- }, { deep: !0 }), (a, g) => (E(), M($e, {
306
+ }, { deep: !0 }), (a, v) => (E(), M(Se, {
307
307
  "listing-id": a.room.id,
308
308
  gallery: a.room.images,
309
309
  name: a.room.title,
310
310
  description: a.room.description,
311
311
  layout: a.layout,
312
312
  facilities: a.room.facilities,
313
- "prices-from": v.value,
313
+ "prices-from": g.value,
314
314
  "includes-breakfast": _.value
315
315
  }, {
316
316
  action: P(() => [
317
- y("div", Xo, [
318
- (E(!0), I(B, null, z(n.value, (T, S) => (E(), I("div", {
317
+ y("div", Zo, [
318
+ (E(!0), I(R, null, z(n.value, (T, S) => (E(), I("div", {
319
319
  key: T.id,
320
320
  class: "freshbooking-hotel-room"
321
321
  }, [
322
322
  k.value ? (E(), M(Ie, {
323
323
  key: 0,
324
324
  modelValue: T.id,
325
- "onUpdate:modelValue": (L) => T.id = L,
326
- label: s(e)("hotel.roomVariant"),
327
- placeholder: s(e)("hotel.chooseARoomVariant"),
328
- options: r.value,
325
+ "onUpdate:modelValue": (w) => T.id = w,
326
+ label: r(e)("hotel.roomVariant"),
327
+ placeholder: r(e)("hotel.chooseARoomVariant"),
328
+ options: s.value,
329
329
  searchable: !1
330
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : w("", !0),
331
- T.id ? (E(), I("div", Zo, [
332
- (E(!0), I(B, null, z(a.room.rates, ({
333
- id: L,
330
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : L("", !0),
331
+ T.id ? (E(), I("div", en, [
332
+ (E(!0), I(R, null, z(a.room.rates, ({
333
+ id: w,
334
334
  maximumOccupants: A
335
335
  }) => (E(), I("div", {
336
- key: L,
336
+ key: w,
337
337
  class: "booking-availability-listing-action-selective-i"
338
338
  }, [
339
- T.id === L ? (E(!0), I(B, { key: 0 }, z(T.config, (R, O) => (E(), I("div", {
340
- key: O,
339
+ T.id === w ? (E(!0), I(R, { key: 0 }, z(T.config, (B, x) => (E(), I("div", {
340
+ key: x,
341
341
  class: "booking-availability-listing-action-selective"
342
342
  }, [
343
- y("ul", en, [
344
- C(Jo, {
345
- modelValue: R.id,
346
- "onUpdate:modelValue": (W) => R.id = W,
343
+ y("ul", tn, [
344
+ C(Xo, {
345
+ modelValue: B.id,
346
+ "onUpdate:modelValue": (W) => B.id = W,
347
347
  icon: "male",
348
348
  "icon-type": "fas",
349
- label: s(e)("general.guests"),
350
- description: `${s(e)("general.maximumGuests")}: ${A}`,
351
- options: b(L),
352
- readonly: !(b(L).length > 1)
349
+ label: r(e)("general.guests"),
350
+ description: `${r(e)("general.maximumGuests")}: ${A}`,
351
+ options: b(w),
352
+ readonly: !(b(w).length > 1)
353
353
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
354
354
  ]),
355
- y("ul", tn, [
355
+ y("ul", on, [
356
356
  C(_t, {
357
- modelValue: R.units,
358
- "onUpdate:modelValue": (W) => R.units = W,
359
- description: s(h) ? void 0 : `${s(e)("booking.availability.availableUnits")}: ${c(T.id, R.id)}`,
357
+ modelValue: B.units,
358
+ "onUpdate:modelValue": (W) => B.units = W,
359
+ description: r(h) ? void 0 : `${r(e)("booking.availability.availableUnits")}: ${c(T.id, B.id)}`,
360
360
  icon: "house",
361
361
  "icon-type": "fas",
362
362
  "icon-placement": "label",
363
- label: s(e)("booking.availability.units"),
363
+ label: r(e)("booking.availability.units"),
364
364
  minValue: 0,
365
- "max-value": c(L, R.id) || 1 / 0
365
+ "max-value": c(w, B.id) || 1 / 0
366
366
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
367
367
  ]),
368
- w("", !0)
369
- ]))), 128)) : w("", !0)
368
+ L("", !0)
369
+ ]))), 128)) : L("", !0)
370
370
  ]))), 128))
371
- ])) : w("", !0)
371
+ ])) : L("", !0)
372
372
  ]))), 128))
373
373
  ])
374
374
  ]),
375
375
  _: 1
376
376
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
377
377
  }
378
- }), nn = /* @__PURE__ */ K(on, [["__scopeId", "data-v-0c06b41d"]]), rn = { class: "konnectio-template-side-panel" }, sn = { class: "konnectio-template-side-panel-listings" }, an = /* @__PURE__ */ j({
378
+ }), rn = /* @__PURE__ */ K(nn, [["__scopeId", "data-v-eb0eba62"]]), sn = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, ln = /* @__PURE__ */ j({
379
379
  __name: "Template",
380
380
  props: {
381
381
  title: {},
@@ -384,28 +384,28 @@ const on = /* @__PURE__ */ j({
384
384
  callback: { type: Function }
385
385
  },
386
386
  setup(o) {
387
- const { t: e } = J(), { templateID: t, roomGroupID: n } = Q(le()), { currency: p } = Q(ge()), { clearRoomSelection: r } = le(), h = o;
387
+ const { t: e } = J(), { templateID: t, roomGroupID: n } = Q(de()), { currency: p } = Q(ge()), { clearRoomSelection: s } = de(), h = o;
388
388
  function d(l) {
389
- t.value = h.templateId, n.value = l, r(), h.callback(2);
389
+ t.value = h.templateId, n.value = l, s(), h.callback(2);
390
390
  }
391
- return (l, u) => (E(), M(So, {
391
+ return (l, u) => (E(), M(wo, {
392
392
  title: l.title,
393
- subtitle: s(e)("booking.availability.selectATemplateRoom")
393
+ subtitle: r(e)("booking.availability.selectATemplateRoom")
394
394
  }, {
395
395
  default: P(() => [
396
- y("div", rn, [
397
- y("div", sn, [
398
- (E(!0), I(B, null, z(l.roomGroups, ({
396
+ y("div", sn, [
397
+ y("div", an, [
398
+ (E(!0), I(R, null, z(l.roomGroups, ({
399
399
  id: f,
400
- title: v,
400
+ title: g,
401
401
  description: _,
402
402
  images: c,
403
403
  facilities: b,
404
404
  extraPrice: k
405
- }) => (E(), M($e, {
405
+ }) => (E(), M(Se, {
406
406
  key: f,
407
407
  "listing-id": f,
408
- name: v,
408
+ name: g,
409
409
  description: _,
410
410
  facilities: b,
411
411
  gallery: c,
@@ -414,9 +414,9 @@ const on = /* @__PURE__ */ j({
414
414
  }, {
415
415
  action: P(() => [
416
416
  y("div", null, [
417
- C(de, {
417
+ C(ue, {
418
418
  onClickEvent: (m) => d(f),
419
- label: `${s(e)("booking.availability.selectThisRoom")} (${s(re)(k, s(p))})`,
419
+ label: `${r(e)("booking.availability.selectThisRoom")} (${r(re)(k, r(p))})`,
420
420
  "full-width": ""
421
421
  }, null, 8, ["onClickEvent", "label"])
422
422
  ])
@@ -429,7 +429,7 @@ const on = /* @__PURE__ */ j({
429
429
  _: 1
430
430
  }, 8, ["title", "subtitle"]));
431
431
  }
432
- }), Vt = /* @__PURE__ */ K(an, [["__scopeId", "data-v-4c035ea3"]]), ln = ["innerHTML"], un = /* @__PURE__ */ j({
432
+ }), Pt = /* @__PURE__ */ K(ln, [["__scopeId", "data-v-4c035ea3"]]), un = ["innerHTML"], dn = { class: "konnectio-template-select-package" }, cn = /* @__PURE__ */ j({
433
433
  __name: "Template",
434
434
  props: {
435
435
  id: {},
@@ -441,27 +441,27 @@ const on = /* @__PURE__ */ j({
441
441
  callback: { type: Function }
442
442
  },
443
443
  setup(o) {
444
- const { t: e } = J(), t = o, n = U(() => t.roomGroups.reduce(
444
+ const { t: e } = J(), t = o, n = N(() => t.roomGroups.reduce(
445
445
  (l, u) => l < u.extraPrice ? l : u.extraPrice,
446
446
  1 / 0
447
- )), p = U(() => [{
447
+ )), p = N(() => [{
448
448
  large: t.image.url,
449
449
  medium: t.image.url,
450
450
  thumb: t.image.url,
451
451
  url: t.image.url
452
- }]), r = ue(!1);
452
+ }]), s = se(!1);
453
453
  function h() {
454
- r.value = !0;
454
+ s.value = !0;
455
455
  }
456
456
  function d(l) {
457
- t.callback(l), r.value = !1;
457
+ t.callback(l), s.value = !1;
458
458
  }
459
- return (l, u) => (E(), M($e, {
459
+ return (l, u) => (E(), M(Se, {
460
460
  "listing-id": l.id,
461
461
  name: l.name,
462
462
  description: l.description,
463
463
  gallery: p.value,
464
- layout: s(Tt).Template,
464
+ layout: r(Tt).Template,
465
465
  "includes-breakfast": !1,
466
466
  "hide-info-button": !1,
467
467
  "prices-from": n.value
@@ -469,22 +469,22 @@ const on = /* @__PURE__ */ j({
469
469
  description: P(() => [
470
470
  l.description ? (E(), I("p", {
471
471
  key: 0,
472
- innerHTML: s(Et)(l.description)
473
- }, null, 8, ln)) : w("", !0)
472
+ innerHTML: r(Et)(l.description)
473
+ }, null, 8, un)) : L("", !0)
474
474
  ]),
475
475
  action: P(() => [
476
- y("div", null, [
477
- C(de, {
476
+ y("div", dn, [
477
+ C(ue, {
478
478
  onClickEvent: h,
479
- label: s(e)("booking.availability.selectPackage"),
479
+ label: r(e)("booking.availability.selectPackage"),
480
480
  "full-width": ""
481
481
  }, null, 8, ["label"])
482
482
  ])
483
483
  ]),
484
484
  default: P(() => [
485
- C(Vt, {
486
- modelValue: r.value,
487
- "onUpdate:modelValue": u[0] || (u[0] = (f) => r.value = f),
485
+ C(Pt, {
486
+ modelValue: s.value,
487
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => s.value = f),
488
488
  title: l.name,
489
489
  "template-id": l.id,
490
490
  roomGroups: l.roomGroups,
@@ -494,8 +494,7 @@ const on = /* @__PURE__ */ j({
494
494
  _: 1
495
495
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
496
496
  }
497
- }), dn = ["innerHTML"];
498
- const cn = /* @__PURE__ */ j({
497
+ }), pn = ["innerHTML"], hn = { class: "konnectio-special-offer-availability" }, fn = { class: "konnectio-special-offer-availability-button" }, mn = /* @__PURE__ */ j({
499
498
  __name: "SpecialOffer",
500
499
  props: {
501
500
  id: {},
@@ -509,44 +508,69 @@ const cn = /* @__PURE__ */ j({
509
508
  callback: { type: Function }
510
509
  },
511
510
  setup(o) {
512
- J();
513
- const e = o, t = U(() => [{
514
- large: e.image.url,
515
- medium: e.image.url,
516
- thumb: e.image.url,
517
- url: e.image.url
518
- }]), n = ue(!1);
519
- function p(r) {
520
- e.callback(r), n.value = !1;
511
+ const { t: e } = J(), { updateDates: t } = Ct(), n = o, p = se([]), s = N(() => qe(n.fromDate, n.toDate) === 1), h = N(() => [{
512
+ large: n.image.url,
513
+ medium: n.image.url,
514
+ thumb: n.image.url,
515
+ url: n.image.url
516
+ }]), d = se(!1);
517
+ function l(f) {
518
+ n.callback(f), d.value = !1;
519
+ }
520
+ function u() {
521
+ t(p.value[0], p.value[1]);
521
522
  }
522
- return (r, h) => (E(), M($e, {
523
- "listing-id": r.id,
524
- name: r.name,
525
- description: r.description,
526
- gallery: t.value,
527
- layout: s(Tt).Template,
523
+ return $e(() => {
524
+ s.value && (p.value = [new Date(n.fromDate), new Date(n.toDate)]);
525
+ }), (f, g) => (E(), M(Se, {
526
+ "listing-id": f.id,
527
+ name: f.name,
528
+ description: f.description,
529
+ gallery: h.value,
530
+ layout: r(Tt).Template,
528
531
  "includes-breakfast": !1,
529
532
  "hide-info-button": !1,
530
- "to-date": r.toDate,
531
- "from-date": r.fromDate
533
+ "to-date": f.toDate,
534
+ "from-date": f.fromDate
532
535
  }, {
533
536
  description: P(() => [
534
- r.description ? (E(), I("p", {
537
+ f.description ? (E(), I("p", {
535
538
  key: 0,
536
- innerHTML: s(Et)(r.description)
537
- }, null, 8, dn)) : w("", !0)
539
+ innerHTML: r(Et)(f.description)
540
+ }, null, 8, pn)) : L("", !0)
538
541
  ]),
539
542
  action: P(() => [
540
- w("", !0)
543
+ y("div", hn, [
544
+ C(Vt, {
545
+ modelValue: p.value,
546
+ "onUpdate:modelValue": g[0] || (g[0] = (_) => p.value = _),
547
+ label: r(e)("availability.checkInOut"),
548
+ placeholder: r(e)("booking.availability.selectDates"),
549
+ "icon-type": "fas",
550
+ "icon-placement": "label",
551
+ "min-range": 1,
552
+ "start-date": new Date(f.fromDate),
553
+ "min-date": new Date(f.fromDate),
554
+ "max-date": new Date(f.toDate),
555
+ readonly: s.value,
556
+ range: ""
557
+ }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
558
+ y("div", fn, [
559
+ C(ue, {
560
+ label: r(e)("availability.buttonLabel"),
561
+ onClick: je(u, ["prevent"])
562
+ }, null, 8, ["label"])
563
+ ])
564
+ ])
541
565
  ]),
542
566
  default: P(() => [
543
- C(Vt, {
544
- modelValue: n.value,
545
- "onUpdate:modelValue": h[0] || (h[0] = (d) => n.value = d),
546
- title: r.name,
547
- "template-id": r.id,
548
- roomGroups: r.roomGroups,
549
- callback: p
567
+ C(Pt, {
568
+ modelValue: d.value,
569
+ "onUpdate:modelValue": g[1] || (g[1] = (_) => d.value = _),
570
+ title: f.name,
571
+ "template-id": f.id,
572
+ roomGroups: f.roomGroups,
573
+ callback: l
550
574
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
551
575
  ]),
552
576
  _: 1
@@ -581,12 +605,12 @@ const cn = /* @__PURE__ */ j({
581
605
  function p(h) {
582
606
  t("update:modelValue", h);
583
607
  }
584
- const r = ue(n.modelValue);
585
- return Ee(r, (h) => {
608
+ const s = se(n.modelValue);
609
+ return Ee(s, (h) => {
586
610
  p(h);
587
- }), (h, d) => (E(), M(Oo, {
588
- modelValue: r.value,
589
- "onUpdate:modelValue": d[0] || (d[0] = (l) => r.value = l),
611
+ }), (h, d) => (E(), M(Vt, {
612
+ modelValue: s.value,
613
+ "onUpdate:modelValue": d[0] || (d[0] = (l) => s.value = l),
590
614
  type: "time",
591
615
  label: h.label,
592
616
  id: h.id,
@@ -599,7 +623,7 @@ const cn = /* @__PURE__ */ j({
599
623
  readonly: h.readonly
600
624
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
601
625
  }
602
- }), pn = { style: { display: "flex", "align-items": "baseline" } }, hn = /* @__PURE__ */ j({
626
+ }), gn = { style: { display: "flex", "align-items": "baseline" } }, vn = /* @__PURE__ */ j({
603
627
  __name: "CountryField",
604
628
  props: {
605
629
  modelValue: {},
@@ -612,18 +636,18 @@ const cn = /* @__PURE__ */ j({
612
636
  emits: ["update:modelValue"],
613
637
  setup(o, { emit: e }) {
614
638
  const { t } = J(), n = e, p = o;
615
- function r(d) {
639
+ function s(d) {
616
640
  n("update:modelValue", d);
617
641
  }
618
- const h = U({
642
+ const h = N({
619
643
  get: () => p.modelValue,
620
- set: (d) => r(d)
644
+ set: (d) => s(d)
621
645
  });
622
646
  return (d, l) => (E(), M(Ie, {
623
647
  modelValue: h.value,
624
648
  "onUpdate:modelValue": l[0] || (l[0] = (u) => h.value = u),
625
649
  label: d.label,
626
- placeholder: s(t)("booking.reservation.countryPlaceholder"),
650
+ placeholder: r(t)("booking.reservation.countryPlaceholder"),
627
651
  labelKey: "name",
628
652
  valueKey: "id",
629
653
  options: d.options,
@@ -636,7 +660,7 @@ const cn = /* @__PURE__ */ j({
636
660
  y("span", null, V(u.name), 1)
637
661
  ]),
638
662
  "selected-option": P(({ data: u }) => [
639
- y("div", pn, [
663
+ y("div", gn, [
640
664
  y("i", {
641
665
  class: Te(["konnectio-flag-icon", u.iso])
642
666
  }, null, 2),
@@ -646,7 +670,7 @@ const cn = /* @__PURE__ */ j({
646
670
  _: 1
647
671
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
648
672
  }
649
- }), fn = /* @__PURE__ */ K(hn, [["__scopeId", "data-v-1462612d"]]), mn = { class: "konnectio-radio-checkboxes" }, gn = /* @__PURE__ */ j({
673
+ }), yn = /* @__PURE__ */ K(vn, [["__scopeId", "data-v-1462612d"]]), bn = { class: "konnectio-radio-checkboxes" }, kn = /* @__PURE__ */ j({
650
674
  __name: "CheckboxField",
651
675
  props: {
652
676
  modelValue: {},
@@ -660,20 +684,20 @@ const cn = /* @__PURE__ */ j({
660
684
  function p(h) {
661
685
  t("update:modelValue", h);
662
686
  }
663
- const r = U({
687
+ const s = N({
664
688
  get: () => n.modelValue,
665
689
  set: (h) => p(h)
666
690
  });
667
- return (h, d) => (E(), M(Ct, {
691
+ return (h, d) => (E(), M(It, {
668
692
  label: h.label,
669
693
  type: "multi-radio"
670
694
  }, {
671
695
  default: P(() => [
672
- y("ul", mn, [
673
- (E(!0), I(B, null, z(h.checkboxes, ({ label: l, value: u }, f) => (E(), I("li", { key: f }, [
674
- C(qe, {
675
- modelValue: r.value,
676
- "onUpdate:modelValue": d[0] || (d[0] = (v) => r.value = v),
696
+ y("ul", bn, [
697
+ (E(!0), I(R, null, z(h.checkboxes, ({ label: l, value: u }, f) => (E(), I("li", { key: f }, [
698
+ C(Ye, {
699
+ modelValue: s.value,
700
+ "onUpdate:modelValue": d[0] || (d[0] = (g) => s.value = g),
677
701
  label: l,
678
702
  name: h.name,
679
703
  type: "radio",
@@ -685,7 +709,7 @@ const cn = /* @__PURE__ */ j({
685
709
  _: 1
686
710
  }, 8, ["label"]));
687
711
  }
688
- }), vn = /* @__PURE__ */ K(gn, [["__scopeId", "data-v-7185c7da"]]), yn = /* @__PURE__ */ j({
712
+ }), _n = /* @__PURE__ */ K(kn, [["__scopeId", "data-v-7185c7da"]]), En = /* @__PURE__ */ j({
689
713
  __name: "NameField",
690
714
  props: {
691
715
  modelValue: {},
@@ -707,19 +731,19 @@ const cn = /* @__PURE__ */ j({
707
731
  },
708
732
  emits: ["update:modelValue", "update:title"],
709
733
  setup(o, { emit: e }) {
710
- const t = o, n = e, p = t.id || nt(), r = ue(""), h = ue(2);
734
+ const t = o, n = e, p = t.id || it(), s = se(""), h = se(2);
711
735
  function d() {
712
- n("update:modelValue", r.value);
736
+ n("update:modelValue", s.value);
713
737
  }
714
738
  Ee(h, (u) => {
715
739
  n("update:title", u);
716
740
  });
717
741
  const { t: l } = J();
718
- return Ye(() => {
719
- t.modelValue && (r.value = t.modelValue), t.title && (h.value = t.title);
720
- }), (u, f) => (E(), M(Ct, {
742
+ return $e(() => {
743
+ t.modelValue && (s.value = t.modelValue), t.title && (h.value = t.title);
744
+ }), (u, f) => (E(), M(It, {
721
745
  label: u.label,
722
- id: s(p),
746
+ id: r(p),
723
747
  required: u.required,
724
748
  type: "fresh-booking-name-field",
725
749
  readonly: u.readonly,
@@ -732,33 +756,33 @@ const cn = /* @__PURE__ */ j({
732
756
  { "no-title": u.excludeTitle }
733
757
  ])
734
758
  }, [
735
- u.excludeTitle ? w("", !0) : (E(), M(Ie, {
759
+ u.excludeTitle ? L("", !0) : (E(), M(Ie, {
736
760
  key: 0,
737
761
  modelValue: h.value,
738
- "onUpdate:modelValue": f[0] || (f[0] = (v) => h.value = v),
739
- id: s(nt)(),
762
+ "onUpdate:modelValue": f[0] || (f[0] = (g) => h.value = g),
763
+ id: r(it)(),
740
764
  icon: u.icon,
741
765
  "icon-color": u.iconColor,
742
766
  "icon-type": u.iconType,
743
767
  options: [
744
768
  {
745
- label: s(l)("booking.reservation.noNameTitle"),
769
+ label: r(l)("booking.reservation.noNameTitle"),
746
770
  value: 1
747
771
  },
748
772
  {
749
- label: s(l)("booking.reservation.nameTitleMr"),
773
+ label: r(l)("booking.reservation.nameTitleMr"),
750
774
  value: 2
751
775
  },
752
776
  {
753
- label: s(l)("booking.reservation.nameTitleMs"),
777
+ label: r(l)("booking.reservation.nameTitleMs"),
754
778
  value: 3
755
779
  },
756
780
  {
757
- label: s(l)("booking.reservation.nameTitleMrs"),
781
+ label: r(l)("booking.reservation.nameTitleMrs"),
758
782
  value: 4
759
783
  },
760
784
  {
761
- label: s(l)("booking.reservation.nameTitleDr"),
785
+ label: r(l)("booking.reservation.nameTitleDr"),
762
786
  value: 5
763
787
  }
764
788
  ],
@@ -768,12 +792,12 @@ const cn = /* @__PURE__ */ j({
768
792
  searchable: !1
769
793
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
770
794
  C(ne, {
771
- modelValue: r.value,
772
- "onUpdate:modelValue": f[1] || (f[1] = (v) => r.value = v),
795
+ modelValue: s.value,
796
+ "onUpdate:modelValue": f[1] || (f[1] = (g) => s.value = g),
773
797
  type: "text",
774
798
  name: "name",
775
799
  autocomplete: "name",
776
- id: s(p),
800
+ id: r(p),
777
801
  icon: u.excludeTitle ? u.icon : void 0,
778
802
  "icon-color": u.iconColor,
779
803
  "icon-type": u.iconType,
@@ -781,7 +805,7 @@ const cn = /* @__PURE__ */ j({
781
805
  required: u.required,
782
806
  readonly: u.readonly,
783
807
  limit: u.limit,
784
- onInput: f[2] || (f[2] = (v) => d()),
808
+ onInput: f[2] || (f[2] = (g) => d()),
785
809
  "input-style": u.inputStyle
786
810
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
787
811
  ], 2)
@@ -789,26 +813,26 @@ const cn = /* @__PURE__ */ j({
789
813
  _: 1
790
814
  }, 8, ["label", "id", "required", "readonly", "limit"]));
791
815
  }
792
- }), bn = /* @__PURE__ */ K(yn, [["__scopeId", "data-v-78b0b319"]]), kn = { class: "hotel-listing" }, _n = { class: "hotel-listing-content-gallery" }, En = { class: "hotel-listing-content-thumbs" }, Tn = { class: "hotel-listing-content" }, Cn = { class: "hotel-listing-content-header" }, In = { class: "hotel-listing-content-title" }, $n = { class: "hotel-listing-content-body" }, Sn = { class: "hotel-listing-content-facilities" }, Vn = /* @__PURE__ */ j({
816
+ }), Tn = /* @__PURE__ */ K(En, [["__scopeId", "data-v-78b0b319"]]), Cn = { class: "hotel-listing" }, In = { class: "hotel-listing-content-gallery" }, $n = { class: "hotel-listing-content-thumbs" }, Sn = { class: "hotel-listing-content" }, Vn = { class: "hotel-listing-content-header" }, wn = { class: "hotel-listing-content-title" }, Ln = { class: "hotel-listing-content-body" }, Pn = { class: "hotel-listing-content-facilities" }, Dn = /* @__PURE__ */ j({
793
817
  __name: "Listing",
794
818
  setup(o) {
795
- return (e, t) => (E(), I("div", kn, [
796
- y("div", _n, [
819
+ return (e, t) => (E(), I("div", Cn, [
820
+ y("div", In, [
797
821
  C(Y, {
798
822
  width: "280px",
799
823
  height: "153px"
800
824
  }),
801
- y("div", En, [
802
- (E(), I(B, null, z(3, (n) => C(Y, {
825
+ y("div", $n, [
826
+ (E(), I(R, null, z(3, (n) => C(Y, {
803
827
  key: n,
804
828
  width: "84px",
805
829
  height: "44px"
806
830
  })), 64))
807
831
  ])
808
832
  ]),
809
- y("div", Tn, [
810
- y("div", Cn, [
811
- y("div", In, [
833
+ y("div", Sn, [
834
+ y("div", Vn, [
835
+ y("div", wn, [
812
836
  C(Y, {
813
837
  height: "30px",
814
838
  width: "60%"
@@ -824,7 +848,7 @@ const cn = /* @__PURE__ */ j({
824
848
  width: "25%"
825
849
  })
826
850
  ]),
827
- y("div", $n, [
851
+ y("div", Ln, [
828
852
  C(Y, { height: "15px" }),
829
853
  C(Y, { height: "15px" }),
830
854
  C(Y, { height: "15px" }),
@@ -834,8 +858,8 @@ const cn = /* @__PURE__ */ j({
834
858
  width: "90%"
835
859
  })
836
860
  ]),
837
- y("div", Sn, [
838
- (E(), I(B, null, z(5, (n) => C(Y, {
861
+ y("div", Pn, [
862
+ (E(), I(R, null, z(5, (n) => C(Y, {
839
863
  key: n,
840
864
  height: "25px",
841
865
  width: "25px",
@@ -845,61 +869,61 @@ const cn = /* @__PURE__ */ j({
845
869
  ])
846
870
  ]));
847
871
  }
848
- }), pe = /* @__PURE__ */ K(Vn, [["__scopeId", "data-v-c7574b59"]]), Ln = { class: "hotel-skeleton" }, wn = { class: "hotel-skeleton-content" }, Pn = { class: "hotel-skeleton-sidebar" }, xn = /* @__PURE__ */ j({
872
+ }), pe = /* @__PURE__ */ K(Dn, [["__scopeId", "data-v-c7574b59"]]), An = { class: "hotel-skeleton" }, xn = { class: "hotel-skeleton-content" }, On = { class: "hotel-skeleton-sidebar" }, Hn = /* @__PURE__ */ j({
849
873
  __name: "HotelSkeleton",
850
874
  setup(o) {
851
- return (e, t) => (E(), I("div", Ln, [
852
- y("div", wn, [
875
+ return (e, t) => (E(), I("div", An, [
876
+ y("div", xn, [
853
877
  C(xo, { hotel: "" }),
854
878
  C(pe),
855
879
  C(pe),
856
880
  C(pe)
857
881
  ]),
858
- y("div", Pn, [
859
- C(Vo)
882
+ y("div", On, [
883
+ C(Lo)
860
884
  ])
861
885
  ]));
862
886
  }
863
- }), An = /* @__PURE__ */ K(xn, [["__scopeId", "data-v-49e83cbb"]]), On = (o) => (yt("data-v-37243f0b"), o = o(), bt(), o), Dn = { id: "booking-availability-container" }, Hn = { id: "booking-availability-controls" };
864
- const Mn = { key: 1 }, Bn = { key: 0 }, Rn = {
887
+ }), Mn = /* @__PURE__ */ K(Hn, [["__scopeId", "data-v-49e83cbb"]]), Rn = (o) => (yt("data-v-8f62043c"), o = o(), bt(), o), Bn = { id: "booking-availability-container" }, zn = { id: "booking-availability-controls" };
888
+ const Wn = { key: 1 }, Fn = { key: 0 }, Nn = {
865
889
  key: 0,
866
890
  id: "booking-availability-packages"
867
- }, zn = {
891
+ }, Un = {
868
892
  key: 0,
869
893
  class: "konnectio-hotel-availability-title"
870
- }, Wn = { id: "booking-availability-packages-wrapper" }, Fn = { key: 1 }, Nn = {
894
+ }, qn = { id: "booking-availability-packages-wrapper" }, Gn = { key: 1 }, jn = {
871
895
  key: 0,
872
896
  class: "konnectio-hotel-availability-title"
873
- }, Un = { id: "booking-availability-listings" }, qn = {
897
+ }, Yn = { id: "booking-availability-listings" }, Kn = {
874
898
  key: 2,
875
899
  id: "booking-availability-packages"
876
- }, Gn = {
900
+ }, Qn = {
877
901
  key: 0,
878
902
  class: "konnectio-hotel-availability-title"
879
- }, jn = { id: "booking-availability-packages-wrapper" }, Yn = {
903
+ }, Jn = { id: "booking-availability-packages-wrapper" }, Xn = {
880
904
  key: 3,
881
905
  id: "booking-availability-no-listings",
882
906
  class: "fresh-booking-panel"
883
- }, Kn = {
907
+ }, Zn = {
884
908
  key: 1,
885
909
  id: "booking-availability-no-listings"
886
- }, Qn = {
910
+ }, ei = {
887
911
  key: 2,
888
912
  id: "reservation-availability-next-dates"
889
- }, Jn = { class: "konnectio-hotel-availability-title" }, Xn = { class: "reservation-special-offers-grid" }, Zn = ["title"];
890
- const ei = {
913
+ }, ti = { class: "konnectio-hotel-availability-title" }, oi = { class: "reservation-special-offers-grid" }, ni = ["title"];
914
+ const ii = {
891
915
  key: 2,
892
916
  class: "konnectio-listing-loading"
893
- }, ti = { class: "fresh-booking-panel" }, oi = {
917
+ }, ri = { class: "fresh-booking-panel" }, si = {
894
918
  key: 0,
895
919
  id: "konnectio-hotel-addons"
896
920
  };
897
- const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri = /* @__PURE__ */ On(() => /* @__PURE__ */ y("br", null, null, -1)), si = ["onClick"], ai = { class: "fresh-booking-panel" }, li = { key: 0 }, ui = { key: 1 }, di = { class: "fresh-booking-split-inputs" }, ci = ["onClick"], pi = /* @__PURE__ */ j({
921
+ const ai = { class: "fresh-booking-event-addons-price" }, li = { key: 1 }, ui = /* @__PURE__ */ Rn(() => /* @__PURE__ */ y("br", null, null, -1)), di = ["onClick"], ci = { class: "fresh-booking-panel" }, pi = { key: 0 }, hi = { key: 1 }, fi = { class: "fresh-booking-split-inputs" }, mi = ["onClick"], gi = /* @__PURE__ */ j({
898
922
  name: "HotelLayout",
899
923
  __name: "Hotel",
900
924
  props: {
901
925
  accessToken: {},
902
- headerLayout: { default: fo.Minimal },
926
+ headerLayout: { default: vo.Minimal },
903
927
  onlyShow: { default: "everything" },
904
928
  styling: {}
905
929
  },
@@ -908,13 +932,13 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
908
932
  templateID: t,
909
933
  countries: n,
910
934
  areListingsLoading: p,
911
- isPaymentLoading: r,
935
+ isPaymentLoading: s,
912
936
  isReservationFormFilled: h,
913
937
  travelingFor: d,
914
938
  arrivalTime: l,
915
939
  departureTime: u,
916
940
  name: f,
917
- nameTitle: v,
941
+ nameTitle: g,
918
942
  email: _,
919
943
  phone: c,
920
944
  firmName: b,
@@ -922,42 +946,42 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
922
946
  city: m,
923
947
  address: i,
924
948
  country: a,
925
- remark: g,
949
+ remark: v,
926
950
  allergies: T,
927
951
  newsMails: S,
928
- roomSelect: L,
952
+ roomSelect: w,
929
953
  roomDisplay: A,
930
- hasValidRoomSelection: R,
931
- availabilityData: O,
954
+ hasValidRoomSelection: B,
955
+ availabilityData: x,
932
956
  selectionHasNoAddons: W
933
- } = Q(le()), {
957
+ } = Q(de()), {
934
958
  arrivalDate: X,
935
- departureDate: se
936
- } = Q(mo()), {
937
- currency: ae,
959
+ departureDate: ae
960
+ } = Q(Ct()), {
961
+ currency: le,
938
962
  disableNewsletterSignup: Z,
939
- arrivalEarliest: Se,
940
- arrivalLatest: Xe,
941
- departureEarliest: Mt,
942
- departureLatest: Bt,
943
- enableTracking: Rt,
944
- arrivalDefault: zt,
945
- departureDefault: Wt,
946
- hideArrivalDepartureInputs: Ft,
947
- disableArrivalUserSelection: Ve,
948
- disableNamePrefix: Nt,
963
+ arrivalEarliest: Ve,
964
+ arrivalLatest: et,
965
+ departureEarliest: zt,
966
+ departureLatest: Wt,
967
+ enableTracking: Ft,
968
+ arrivalDefault: Nt,
969
+ departureDefault: Ut,
970
+ hideArrivalDepartureInputs: qt,
971
+ disableArrivalUserSelection: we,
972
+ disableNamePrefix: Gt,
949
973
  disableDepartureUserSelection: Le,
950
- disableTravelingFor: Ut,
951
- disableTravelingForBleasure: qt,
952
- disableCompanyField: Gt,
953
- hasPaymentGateway: jt
954
- } = Q(ge()), { beginCheckout: Yt } = kt(), {
955
- initialize: Kt,
956
- resetTemplate: Qt,
957
- resetDiscountVoucher: Jt,
958
- createReservation: Xt
959
- } = le(), Zt = ue(!0), eo = U(() => {
960
- const D = [
974
+ disableTravelingFor: jt,
975
+ disableTravelingForBleasure: Yt,
976
+ disableCompanyField: Kt,
977
+ hasPaymentGateway: Qt
978
+ } = Q(ge()), { beginCheckout: Jt } = kt(), {
979
+ initialize: Xt,
980
+ resetTemplate: Zt,
981
+ resetDiscountVoucher: eo,
982
+ createReservation: to
983
+ } = de(), oo = se(!0), no = N(() => {
984
+ const O = [
961
985
  {
962
986
  label: e("booking.reservation.business"),
963
987
  value: "Business"
@@ -967,92 +991,92 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
967
991
  value: "Pleasure"
968
992
  }
969
993
  ];
970
- return qt.value || D.push({
994
+ return Yt.value || O.push({
971
995
  label: e("booking.reservation.bleasure"),
972
996
  value: "Bleasure"
973
- }), D;
974
- }), to = U(() => {
975
- const D = O.value.roomGroups.slice();
976
- D.forEach((q) => {
997
+ }), O;
998
+ }), io = N(() => {
999
+ const O = x.value.roomGroups.slice();
1000
+ O.forEach((q) => {
977
1001
  q.pricesFrom = q.rates.reduce(
978
1002
  (H, $) => H < $.rackRate ? H : $.rackRate,
979
1003
  1 / 0
980
1004
  );
981
1005
  });
982
- function x(q, H) {
983
- return Zt.value === !0 ? q.pricesFrom > H.pricesFrom ? -1 : 1 : q.pricesFrom > H.pricesFrom ? 1 : -1;
1006
+ function D(q, H) {
1007
+ return oo.value === !0 ? q.pricesFrom > H.pricesFrom ? -1 : 1 : q.pricesFrom > H.pricesFrom ? 1 : -1;
984
1008
  }
985
- return D.sort(x);
986
- }), oo = U(() => [[
987
- parseInt(Se.value.split(":")[0]),
988
- parseInt(Xe.value.split(":")[0])
989
- ]]), no = U(() => [[
990
- parseInt(Mt.value.split(":")[0]),
991
- parseInt(Bt.value.split(":")[0])
1009
+ return O.sort(D);
1010
+ }), ro = N(() => [[
1011
+ parseInt(Ve.value.split(":")[0]),
1012
+ parseInt(et.value.split(":")[0])
1013
+ ]]), so = N(() => [[
1014
+ parseInt(zt.value.split(":")[0]),
1015
+ parseInt(Wt.value.split(":")[0])
992
1016
  ]]);
993
- function Ze(D) {
994
- W.value ? D(2) : D(), Jt();
1017
+ function tt(O) {
1018
+ W.value ? O(2) : O(), eo();
995
1019
  }
996
- function io(D, x) {
997
- se.value = new Date(x), X.value = new Date(D), location.reload();
1020
+ function ao(O, D) {
1021
+ ae.value = new Date(D), X.value = new Date(O), location.reload();
998
1022
  }
999
- async function ro(D) {
1000
- await Xt(D);
1023
+ async function lo(O) {
1024
+ await to(O);
1001
1025
  }
1002
- function so(D) {
1003
- Rt.value && Yt(), W.value ? D(2) : D();
1026
+ function uo(O) {
1027
+ Ft.value && Jt(), W.value ? O(2) : O();
1004
1028
  }
1005
- function ao() {
1006
- l.value === "" && (l.value = zt.value), u.value === "" && (u.value = Wt.value);
1029
+ function co() {
1030
+ l.value === "" && (l.value = Nt.value), u.value === "" && (u.value = Ut.value);
1007
1031
  }
1008
- return Ye(() => {
1009
- Kt(), ao();
1010
- }), (D, x) => (E(), M(go, { styling: D.styling }, {
1032
+ return $e(() => {
1033
+ Xt(), co();
1034
+ }), (O, D) => (E(), M(yo, { styling: O.styling }, {
1011
1035
  default: P(() => [
1012
- (E(), M(vo, null, {
1036
+ (E(), M(bo, null, {
1013
1037
  default: P(() => [
1014
- C(bo, {
1038
+ C(_o, {
1015
1039
  id: "fresh-booking-hotel-module",
1016
- "access-token": D.accessToken,
1040
+ "access-token": O.accessToken,
1017
1041
  type: "hotel"
1018
1042
  }, {
1019
1043
  default: P(() => [
1020
- C(Lo, {
1021
- layout: D.headerLayout,
1022
- onReset: s(Qt)
1044
+ C(Po, {
1045
+ layout: O.headerLayout,
1046
+ onReset: r(Zt)
1023
1047
  }, {
1024
1048
  availability: P(({ next: q }) => [
1025
- C(Ae, null, {
1049
+ C(xe, null, {
1026
1050
  form: P(() => [
1027
- y("div", Dn, [
1028
- y("div", Hn, [
1029
- C(Ao, { booking: !0 })
1051
+ y("div", Bn, [
1052
+ y("div", zn, [
1053
+ C(Oo, { booking: !0 })
1030
1054
  ]),
1031
- w("", !0),
1032
- s(p) ? (E(), I("div", ei, [
1055
+ L("", !0),
1056
+ r(p) ? (E(), I("div", ii, [
1033
1057
  C(pe),
1034
1058
  C(pe),
1035
1059
  C(pe)
1036
- ])) : (E(), I("div", Mn, [
1037
- s(O).roomGroups.length > 0 || s(O).templates.length > 0 || s(O).specialTemplates.length > 0 ? (E(), I("div", Bn, [
1038
- s(O).templates.length > 0 && D.onlyShow !== "rooms" ? (E(), I("div", Rn, [
1039
- D.onlyShow !== "packages" ? (E(), I("h2", zn, [
1060
+ ])) : (E(), I("div", Wn, [
1061
+ r(x).roomGroups.length > 0 || r(x).templates.length > 0 || r(x).specialTemplates.length > 0 ? (E(), I("div", Fn, [
1062
+ r(x).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", Nn, [
1063
+ O.onlyShow !== "packages" ? (E(), I("h2", Un, [
1040
1064
  C(G, {
1041
1065
  icon: "box",
1042
1066
  type: "fal",
1043
1067
  color: "header"
1044
1068
  }),
1045
- y("span", null, V(s(e)("booking.availability.packagesTitle")), 1)
1046
- ])) : w("", !0),
1047
- y("ul", Wn, [
1048
- (E(!0), I(B, null, z(s(O).templates, ({
1069
+ y("span", null, V(r(e)("booking.availability.packagesTitle")), 1)
1070
+ ])) : L("", !0),
1071
+ y("ul", qn, [
1072
+ (E(!0), I(R, null, z(r(x).templates, ({
1049
1073
  id: H,
1050
1074
  name: $,
1051
1075
  templateRoomGroups: ee,
1052
1076
  image: te,
1053
1077
  description: F,
1054
1078
  weekendFee: he
1055
- }) => (E(), M(un, {
1079
+ }) => (E(), M(cn, {
1056
1080
  key: H,
1057
1081
  id: H,
1058
1082
  description: F,
@@ -1063,34 +1087,34 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
1063
1087
  callback: q
1064
1088
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
1065
1089
  ])
1066
- ])) : w("", !0),
1067
- s(O).roomGroups.length > 0 && D.onlyShow !== "packages" ? (E(), I("div", Fn, [
1068
- s(O).templates.length > 0 && D.onlyShow !== "rooms" ? (E(), I("h2", Nn, [
1090
+ ])) : L("", !0),
1091
+ r(x).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div", Gn, [
1092
+ r(x).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2", jn, [
1069
1093
  C(G, {
1070
1094
  icon: "house",
1071
1095
  type: "fal",
1072
1096
  color: "header"
1073
1097
  }),
1074
- y("span", null, V(s(e)("booking.availability.roomsTitle")), 1)
1075
- ])) : w("", !0),
1076
- y("ul", Un, [
1077
- (E(!0), I(B, null, z(to.value, (H, $) => (E(), M(nn, {
1098
+ y("span", null, V(r(e)("booking.availability.roomsTitle")), 1)
1099
+ ])) : L("", !0),
1100
+ y("ul", Yn, [
1101
+ (E(!0), I(R, null, z(io.value, (H, $) => (E(), M(rn, {
1078
1102
  room: H,
1079
1103
  key: $
1080
1104
  }, null, 8, ["room"]))), 128))
1081
1105
  ])
1082
- ])) : w("", !0),
1083
- s(O).specialTemplates.length > 0 && D.onlyShow !== "rooms" ? (E(), I("div", qn, [
1084
- D.onlyShow !== "packages" ? (E(), I("h2", Gn, [
1106
+ ])) : L("", !0),
1107
+ r(x).specialTemplates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", Kn, [
1108
+ O.onlyShow !== "packages" ? (E(), I("h2", Qn, [
1085
1109
  C(G, {
1086
1110
  icon: "sparkles",
1087
1111
  type: "fal",
1088
1112
  color: "header"
1089
1113
  }),
1090
- y("span", null, V(s(e)("hotel.specialOffers")), 1)
1091
- ])) : w("", !0),
1092
- y("ul", jn, [
1093
- (E(!0), I(B, null, z(s(O).specialTemplates, ({
1114
+ y("span", null, V(r(e)("hotel.specialOffers")), 1)
1115
+ ])) : L("", !0),
1116
+ y("ul", Jn, [
1117
+ (E(!0), I(R, null, z(r(x).specialTemplates, ({
1094
1118
  id: H,
1095
1119
  name: $,
1096
1120
  templateRoomGroups: ee,
@@ -1098,57 +1122,57 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
1098
1122
  description: F,
1099
1123
  weekendFee: he,
1100
1124
  fromDate: fe,
1101
- toDate: we
1102
- }) => (E(), M(cn, {
1125
+ toDate: Pe
1126
+ }) => (E(), M(mn, {
1103
1127
  key: H,
1104
1128
  id: H,
1105
1129
  description: F,
1106
1130
  name: $,
1107
1131
  image: te,
1108
1132
  fromDate: fe,
1109
- toDate: we,
1133
+ toDate: Pe,
1110
1134
  weekendFee: he,
1111
1135
  "room-groups": ee,
1112
1136
  callback: q
1113
1137
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1114
1138
  ])
1115
- ])) : w("", !0),
1116
- (s(O).templates.length === 0 && D.onlyShow !== "rooms" || s(O).roomGroups.length === 0 && D.onlyShow !== "packages") && (D.onlyShow === "rooms" || D.onlyShow === "packages") ? (E(), I("div", Yn, [
1117
- y("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
1118
- ])) : w("", !0)
1119
- ])) : s(O).nextAvailableDates.length === 0 ? (E(), I("div", Kn, [
1120
- y("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
1121
- ])) : (E(), I("div", Qn, [
1122
- y("h2", Jn, [
1139
+ ])) : L("", !0),
1140
+ (r(x).templates.length === 0 && O.onlyShow !== "rooms" || r(x).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div", Xn, [
1141
+ y("span", null, V(r(e)("booking.availability.nothingAvailable")), 1)
1142
+ ])) : L("", !0)
1143
+ ])) : r(x).nextAvailableDates.length === 0 ? (E(), I("div", Zn, [
1144
+ y("span", null, V(r(e)("booking.availability.nothingAvailable")), 1)
1145
+ ])) : (E(), I("div", ei, [
1146
+ y("h2", ti, [
1123
1147
  C(G, {
1124
1148
  icon: "calendar-circle-exclamation",
1125
1149
  type: "fal",
1126
1150
  color: "header"
1127
1151
  }),
1128
- y("span", null, V(s(e)("booking.availability.nextAvailableDates")), 1)
1152
+ y("span", null, V(r(e)("booking.availability.nextAvailableDates")), 1)
1129
1153
  ]),
1130
- y("ul", Xn, [
1131
- (E(!0), I(B, null, z(s(O).nextAvailableDates, (H, $) => (E(), I("li", { key: $ }, [
1154
+ y("ul", oi, [
1155
+ (E(!0), I(R, null, z(r(x).nextAvailableDates, (H, $) => (E(), I("li", { key: $ }, [
1132
1156
  y("h3", {
1133
- title: `${s(ie)(H.fromDate)} - ${s(ie)(H.toDate)}`
1157
+ title: `${r(ie)(H.fromDate)} - ${r(ie)(H.toDate)}`
1134
1158
  }, [
1135
- y("span", null, V(`${s(ie)(H.fromDate)} - ${s(ie)(H.toDate)}`), 1)
1136
- ], 8, Zn),
1159
+ y("span", null, V(`${r(ie)(H.fromDate)} - ${r(ie)(H.toDate)}`), 1)
1160
+ ], 8, ni),
1137
1161
  y("ul", null, [
1138
- w("", !0),
1162
+ L("", !0),
1139
1163
  y("li", null, [
1140
1164
  C(G, {
1141
1165
  icon: "money-bill",
1142
1166
  type: "fal",
1143
1167
  color: "header"
1144
1168
  }),
1145
- y("span", null, V(s(e)("booking.availability.pricesFrom")) + ": " + V(s(re)(H.priceStartFrom, s(ae))), 1)
1169
+ y("span", null, V(r(e)("booking.availability.pricesFrom")) + ": " + V(r(re)(H.priceStartFrom, r(le))), 1)
1146
1170
  ])
1147
1171
  ]),
1148
- C(de, {
1149
- label: s(e)("booking.availability.selectDates"),
1172
+ C(ue, {
1173
+ label: r(e)("booking.availability.selectDates"),
1150
1174
  "full-width": "",
1151
- onClickEvent: (ee) => io(H.fromDate, H.toDate)
1175
+ onClickEvent: (ee) => ao(H.fromDate, H.toDate)
1152
1176
  }, null, 8, ["label", "onClickEvent"])
1153
1177
  ]))), 128))
1154
1178
  ])
@@ -1157,46 +1181,46 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
1157
1181
  ])
1158
1182
  ]),
1159
1183
  navigation: P(() => [
1160
- C(de, {
1161
- label: s(W) ? s(e)("booking.availability.nextButton") : s(e)("general.chooseAddons"),
1162
- disabled: !s(R),
1184
+ C(ue, {
1185
+ label: r(W) ? r(e)("booking.availability.nextButton") : r(e)("general.chooseAddons"),
1186
+ disabled: !r(B),
1163
1187
  "is-loading": !1,
1164
1188
  "full-width": "",
1165
- onClickEvent: (H) => so(q)
1189
+ onClickEvent: (H) => uo(q)
1166
1190
  }, null, 8, ["label", "disabled", "onClickEvent"])
1167
1191
  ]),
1168
1192
  _: 2
1169
1193
  }, 1024)
1170
1194
  ]),
1171
1195
  addons: P(({ next: q, prev: H }) => [
1172
- C(Ae, null, {
1196
+ C(xe, null, {
1173
1197
  form: P(() => [
1174
- y("form", ti, [
1198
+ y("form", ri, [
1175
1199
  y("h2", null, [
1176
- y("span", null, V(s(e)("booking.reservation.addons")), 1)
1200
+ y("span", null, V(r(e)("booking.reservation.addons")), 1)
1177
1201
  ]),
1178
1202
  y("div", null, [
1179
- isNaN(s(t)) ? (E(), I("div", oi, [
1180
- (E(!0), I(B, null, z(s(A), ($) => (E(), I("ul", {
1203
+ isNaN(r(t)) ? (E(), I("div", si, [
1204
+ (E(!0), I(R, null, z(r(A), ($) => (E(), I("ul", {
1181
1205
  key: $.roomGroupID
1182
1206
  }, [
1183
- (E(!0), I(B, null, z($.variants, (ee, te) => (E(), I("li", {
1207
+ (E(!0), I(R, null, z($.variants, (ee, te) => (E(), I("li", {
1184
1208
  key: ee.ratePlanID
1185
1209
  }, [
1186
1210
  y("h4", null, [
1187
- y("span", null, V(s(ce)($.title)), 1)
1211
+ y("span", null, V(r(ce)($.title)), 1)
1188
1212
  ]),
1189
- (E(!0), I(B, null, z(ee.rooms, (F, he) => (E(), I("table", {
1213
+ (E(!0), I(R, null, z(ee.rooms, (F, he) => (E(), I("table", {
1190
1214
  key: he,
1191
1215
  class: "fresh-booking-table"
1192
1216
  }, [
1193
1217
  y("thead", null, [
1194
1218
  y("tr", null, [
1195
1219
  y("th", null, [
1196
- y("span", null, V(s(ce)(ee.name)), 1)
1220
+ y("span", null, V(r(ce)(ee.name)), 1)
1197
1221
  ]),
1198
- w("", !0),
1199
- y("th", ni, [
1222
+ L("", !0),
1223
+ y("th", ai, [
1200
1224
  y("b", null, [
1201
1225
  C(G, {
1202
1226
  icon: "male",
@@ -1209,37 +1233,37 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
1209
1233
  icon: "child",
1210
1234
  type: "fas",
1211
1235
  color: "font"
1212
- })) : w("", !0),
1213
- F.childrenCount > 0 ? (E(), I("span", ii, V(F.childrenCount), 1)) : w("", !0)
1236
+ })) : L("", !0),
1237
+ F.childrenCount > 0 ? (E(), I("span", li, V(F.childrenCount), 1)) : L("", !0)
1214
1238
  ])
1215
1239
  ])
1216
1240
  ])
1217
1241
  ]),
1218
1242
  y("tbody", null, [
1219
- (E(!0), I(B, null, z($.addons, ({
1243
+ (E(!0), I(R, null, z($.addons, ({
1220
1244
  quantityStrategy: fe,
1221
- maximumNumber: we,
1245
+ maximumNumber: Pe,
1222
1246
  id: me,
1223
- name: lo,
1224
- price: uo
1247
+ name: po,
1248
+ price: ho
1225
1249
  }) => (E(), I("tr", { key: me }, [
1226
1250
  y("td", null, [
1227
- y("b", null, V(s(ce)(lo)), 1),
1228
- ri,
1229
- y("span", null, V(s(re)(uo, s(ae))) + " " + V(s(yo)(fe)), 1)
1251
+ y("b", null, V(r(ce)(po)), 1),
1252
+ ui,
1253
+ y("span", null, V(r(re)(ho, r(le))) + " " + V(r(ko)(fe)), 1)
1230
1254
  ]),
1231
1255
  y("td", null, [
1232
1256
  fe === 1 || fe === 12 ? (E(), M(_t, {
1233
1257
  key: 0,
1234
- modelValue: s(L)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me],
1235
- "onUpdate:modelValue": (Pe) => s(L)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me] = Pe,
1258
+ modelValue: r(w)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me],
1259
+ "onUpdate:modelValue": (De) => r(w)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me] = De,
1236
1260
  small: !0,
1237
1261
  "min-value": 0,
1238
- "max-value": we || 1 / 0
1239
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), M(qe, {
1262
+ "max-value": Pe || 1 / 0
1263
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), M(Ye, {
1240
1264
  key: 1,
1241
- modelValue: s(L)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me],
1242
- "onUpdate:modelValue": (Pe) => s(L)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me] = Pe,
1265
+ modelValue: r(w)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me],
1266
+ "onUpdate:modelValue": (De) => r(w)[$.roomGroupID][te].config[F.configIdx].addons[F.roomIdx][me] = De,
1243
1267
  numeric: !0
1244
1268
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1245
1269
  ])
@@ -1248,209 +1272,209 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
1248
1272
  ]))), 128))
1249
1273
  ]))), 128))
1250
1274
  ]))), 128))
1251
- ])) : w("", !0)
1275
+ ])) : L("", !0)
1252
1276
  ])
1253
1277
  ])
1254
1278
  ]),
1255
1279
  navigation: P(() => [
1256
- C(de, {
1257
- label: s(e)("general.startReservation"),
1280
+ C(ue, {
1281
+ label: r(e)("general.startReservation"),
1258
1282
  "full-width": "",
1259
1283
  onClickEvent: q
1260
1284
  }, null, 8, ["label", "onClickEvent"]),
1261
1285
  y("button", {
1262
1286
  class: "konnectio-abort-reservation link",
1263
- onClick: it(($) => Ze(H), ["prevent"])
1287
+ onClick: je(($) => tt(H), ["prevent"])
1264
1288
  }, [
1265
- y("span", null, V(s(e)("general.goAStepBack")), 1)
1266
- ], 8, si)
1289
+ y("span", null, V(r(e)("general.goAStepBack")), 1)
1290
+ ], 8, di)
1267
1291
  ]),
1268
1292
  _: 2
1269
1293
  }, 1024)
1270
1294
  ]),
1271
1295
  reservation: P(({ next: q, prev: H }) => [
1272
- C(Ae, {
1296
+ C(xe, {
1273
1297
  "show-terms-notice": !0,
1274
1298
  "show-gift-card": !0
1275
1299
  }, {
1276
1300
  form: P(() => [
1277
- y("form", ai, [
1301
+ y("form", ci, [
1278
1302
  y("h2", null, [
1279
- y("span", null, V(s(e)("booking.reservation.detailsTitle")), 1)
1303
+ y("span", null, V(r(e)("booking.reservation.detailsTitle")), 1)
1280
1304
  ]),
1281
- !s(Ft) && !(s(Ve) && s(Le)) ? (E(), I("ul", {
1305
+ !r(qt) && !(r(we) && r(Le)) ? (E(), I("ul", {
1282
1306
  key: 0,
1283
- class: Te({ "fresh-booking-split-inputs": !s(Ve) && !s(Le) })
1307
+ class: Te({ "fresh-booking-split-inputs": !r(we) && !r(Le) })
1284
1308
  }, [
1285
- s(Ve) ? w("", !0) : (E(), I("li", li, [
1309
+ r(we) ? L("", !0) : (E(), I("li", pi, [
1286
1310
  C(rt, {
1287
- modelValue: s(l),
1288
- "onUpdate:modelValue": x[1] || (x[1] = ($) => N(l) ? l.value = $ : null),
1289
- label: s(e)("booking.reservation.arrivalTime"),
1311
+ modelValue: r(l),
1312
+ "onUpdate:modelValue": D[1] || (D[1] = ($) => U(l) ? l.value = $ : null),
1313
+ label: r(e)("booking.reservation.arrivalTime"),
1290
1314
  icon: "hourglass-start",
1291
- "hour-range": oo.value,
1315
+ "hour-range": ro.value,
1292
1316
  required: ""
1293
1317
  }, null, 8, ["modelValue", "label", "hour-range"])
1294
1318
  ])),
1295
- s(Le) ? w("", !0) : (E(), I("li", ui, [
1319
+ r(Le) ? L("", !0) : (E(), I("li", hi, [
1296
1320
  C(rt, {
1297
- modelValue: s(u),
1298
- "onUpdate:modelValue": x[2] || (x[2] = ($) => N(u) ? u.value = $ : null),
1299
- label: s(e)("booking.reservation.departureTime"),
1321
+ modelValue: r(u),
1322
+ "onUpdate:modelValue": D[2] || (D[2] = ($) => U(u) ? u.value = $ : null),
1323
+ label: r(e)("booking.reservation.departureTime"),
1300
1324
  icon: "hourglass-end",
1301
- "hour-range": no.value,
1325
+ "hour-range": so.value,
1302
1326
  required: ""
1303
1327
  }, null, 8, ["modelValue", "label", "hour-range"])
1304
1328
  ]))
1305
- ], 2)) : w("", !0),
1306
- C(bn, {
1307
- modelValue: s(f),
1308
- "onUpdate:modelValue": x[3] || (x[3] = ($) => N(f) ? f.value = $ : null),
1309
- title: s(v),
1310
- "onUpdate:title": x[4] || (x[4] = ($) => N(v) ? v.value = $ : null),
1311
- "exclude-title": s(Nt),
1312
- label: s(e)("booking.reservation.name"),
1329
+ ], 2)) : L("", !0),
1330
+ C(Tn, {
1331
+ modelValue: r(f),
1332
+ "onUpdate:modelValue": D[3] || (D[3] = ($) => U(f) ? f.value = $ : null),
1333
+ title: r(g),
1334
+ "onUpdate:title": D[4] || (D[4] = ($) => U(g) ? g.value = $ : null),
1335
+ "exclude-title": r(Gt),
1336
+ label: r(e)("booking.reservation.name"),
1313
1337
  icon: "user-alt",
1314
- placeholder: s(e)("booking.reservation.namePlaceholder"),
1338
+ placeholder: r(e)("booking.reservation.namePlaceholder"),
1315
1339
  required: ""
1316
1340
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1317
1341
  C(ne, {
1318
- modelValue: s(_),
1319
- "onUpdate:modelValue": x[5] || (x[5] = ($) => N(_) ? _.value = $ : null),
1342
+ modelValue: r(_),
1343
+ "onUpdate:modelValue": D[5] || (D[5] = ($) => U(_) ? _.value = $ : null),
1320
1344
  type: "email",
1321
1345
  name: "email",
1322
1346
  autocomplete: "email",
1323
- label: s(e)("booking.reservation.email"),
1347
+ label: r(e)("booking.reservation.email"),
1324
1348
  icon: "at",
1325
- placeholder: s(e)("booking.reservation.emailPlaceholder"),
1349
+ placeholder: r(e)("booking.reservation.emailPlaceholder"),
1326
1350
  required: ""
1327
1351
  }, null, 8, ["modelValue", "label", "placeholder"]),
1328
- s(Z) ? w("", !0) : (E(), M(qe, {
1352
+ r(Z) ? L("", !0) : (E(), M(Ye, {
1329
1353
  key: 1,
1330
- modelValue: s(S),
1331
- "onUpdate:modelValue": x[6] || (x[6] = ($) => N(S) ? S.value = $ : null),
1354
+ modelValue: r(S),
1355
+ "onUpdate:modelValue": D[6] || (D[6] = ($) => U(S) ? S.value = $ : null),
1332
1356
  type: "checkbox",
1333
1357
  name: "newsletter",
1334
- label: s(e)("booking.reservation.newsletterSignUp")
1358
+ label: r(e)("booking.reservation.newsletterSignUp")
1335
1359
  }, null, 8, ["modelValue", "label"])),
1336
- s(Gt) ? w("", !0) : (E(), M(ne, {
1360
+ r(Kt) ? L("", !0) : (E(), M(ne, {
1337
1361
  key: 2,
1338
- modelValue: s(b),
1339
- "onUpdate:modelValue": x[7] || (x[7] = ($) => N(b) ? b.value = $ : null),
1362
+ modelValue: r(b),
1363
+ "onUpdate:modelValue": D[7] || (D[7] = ($) => U(b) ? b.value = $ : null),
1340
1364
  type: "text",
1341
1365
  name: "firm",
1342
1366
  autocomplete: "firm",
1343
- label: `${s(e)("booking.reservation.companyName")} (${s(e)("booking.reservation.optional")})`,
1367
+ label: `${r(e)("booking.reservation.companyName")} (${r(e)("booking.reservation.optional")})`,
1344
1368
  icon: "id-card",
1345
- placeholder: s(e)("booking.reservation.companyNamePlaceholder")
1369
+ placeholder: r(e)("booking.reservation.companyNamePlaceholder")
1346
1370
  }, null, 8, ["modelValue", "label", "placeholder"])),
1347
- C(Do, {
1348
- modelValue: s(c),
1349
- "onUpdate:modelValue": x[8] || (x[8] = ($) => N(c) ? c.value = $ : null),
1371
+ C(Ho, {
1372
+ modelValue: r(c),
1373
+ "onUpdate:modelValue": D[8] || (D[8] = ($) => U(c) ? c.value = $ : null),
1350
1374
  icon: "phone-office",
1351
- label: s(e)("booking.reservation.phone"),
1352
- placeholder: s(e)("booking.reservation.phonePlaceholder"),
1375
+ label: r(e)("booking.reservation.phone"),
1376
+ placeholder: r(e)("booking.reservation.phonePlaceholder"),
1353
1377
  required: ""
1354
1378
  }, null, 8, ["modelValue", "label", "placeholder"]),
1355
- C(fn, {
1356
- modelValue: s(a),
1357
- "onUpdate:modelValue": x[9] || (x[9] = ($) => N(a) ? a.value = $ : null),
1358
- label: s(e)("booking.reservation.country"),
1359
- placeholder: s(e)("booking.reservation.countryPlaceholder"),
1360
- options: s(n),
1379
+ C(yn, {
1380
+ modelValue: r(a),
1381
+ "onUpdate:modelValue": D[9] || (D[9] = ($) => U(a) ? a.value = $ : null),
1382
+ label: r(e)("booking.reservation.country"),
1383
+ placeholder: r(e)("booking.reservation.countryPlaceholder"),
1384
+ options: r(n),
1361
1385
  required: ""
1362
1386
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1363
1387
  C(ne, {
1364
- modelValue: s(i),
1365
- "onUpdate:modelValue": x[10] || (x[10] = ($) => N(i) ? i.value = $ : null),
1388
+ modelValue: r(i),
1389
+ "onUpdate:modelValue": D[10] || (D[10] = ($) => U(i) ? i.value = $ : null),
1366
1390
  type: "textarea",
1367
1391
  name: "address",
1368
1392
  autocomplete: "street-address",
1369
- label: s(e)("booking.reservation.streetAddress"),
1393
+ label: r(e)("booking.reservation.streetAddress"),
1370
1394
  icon: "map-marked",
1371
- placeholder: s(e)("booking.reservation.streetAddressPlaceholder"),
1395
+ placeholder: r(e)("booking.reservation.streetAddressPlaceholder"),
1372
1396
  required: ""
1373
1397
  }, null, 8, ["modelValue", "label", "placeholder"]),
1374
- y("ul", di, [
1398
+ y("ul", fi, [
1375
1399
  y("li", null, [
1376
1400
  C(ne, {
1377
- modelValue: s(k),
1378
- "onUpdate:modelValue": x[11] || (x[11] = ($) => N(k) ? k.value = $ : null),
1401
+ modelValue: r(k),
1402
+ "onUpdate:modelValue": D[11] || (D[11] = ($) => U(k) ? k.value = $ : null),
1379
1403
  type: "text",
1380
1404
  name: "postal",
1381
1405
  autocomplete: "postal-code",
1382
- label: s(e)("booking.reservation.postal"),
1406
+ label: r(e)("booking.reservation.postal"),
1383
1407
  icon: "mailbox",
1384
- placeholder: s(e)("booking.reservation.postalPlaceholder"),
1408
+ placeholder: r(e)("booking.reservation.postalPlaceholder"),
1385
1409
  required: ""
1386
1410
  }, null, 8, ["modelValue", "label", "placeholder"])
1387
1411
  ]),
1388
1412
  y("li", null, [
1389
1413
  C(ne, {
1390
- modelValue: s(m),
1391
- "onUpdate:modelValue": x[12] || (x[12] = ($) => N(m) ? m.value = $ : null),
1414
+ modelValue: r(m),
1415
+ "onUpdate:modelValue": D[12] || (D[12] = ($) => U(m) ? m.value = $ : null),
1392
1416
  type: "text",
1393
1417
  name: "city",
1394
1418
  autocomplete: "address-level2",
1395
- label: s(e)("booking.reservation.city"),
1419
+ label: r(e)("booking.reservation.city"),
1396
1420
  icon: "city",
1397
- placeholder: s(e)("booking.reservation.cityPlaceholder"),
1421
+ placeholder: r(e)("booking.reservation.cityPlaceholder"),
1398
1422
  required: ""
1399
1423
  }, null, 8, ["modelValue", "label", "placeholder"])
1400
1424
  ])
1401
1425
  ]),
1402
1426
  C(ne, {
1403
- modelValue: s(g),
1404
- "onUpdate:modelValue": x[13] || (x[13] = ($) => N(g) ? g.value = $ : null),
1427
+ modelValue: r(v),
1428
+ "onUpdate:modelValue": D[13] || (D[13] = ($) => U(v) ? v.value = $ : null),
1405
1429
  type: "textarea",
1406
- label: `${s(e)("booking.reservation.remark")} (${s(e)("booking.reservation.optional")})`,
1430
+ label: `${r(e)("booking.reservation.remark")} (${r(e)("booking.reservation.optional")})`,
1407
1431
  icon: "info-circle",
1408
- placeholder: s(e)("booking.reservation.remarkPlaceholder")
1432
+ placeholder: r(e)("booking.reservation.remarkPlaceholder")
1409
1433
  }, null, 8, ["modelValue", "label", "placeholder"]),
1410
1434
  C(ne, {
1411
- modelValue: s(T),
1412
- "onUpdate:modelValue": x[14] || (x[14] = ($) => N(T) ? T.value = $ : null),
1435
+ modelValue: r(T),
1436
+ "onUpdate:modelValue": D[14] || (D[14] = ($) => U(T) ? T.value = $ : null),
1413
1437
  type: "textarea",
1414
- label: `${s(e)("booking.reservation.allergies")} (${s(e)("booking.reservation.optional")})`,
1438
+ label: `${r(e)("booking.reservation.allergies")} (${r(e)("booking.reservation.optional")})`,
1415
1439
  icon: "allergies",
1416
- placeholder: s(e)("booking.reservation.allergiesPlaceholder")
1440
+ placeholder: r(e)("booking.reservation.allergiesPlaceholder")
1417
1441
  }, null, 8, ["modelValue", "label", "placeholder"]),
1418
- s(Ut) ? w("", !0) : (E(), M(vn, {
1442
+ r(jt) ? L("", !0) : (E(), M(_n, {
1419
1443
  key: 3,
1420
- modelValue: s(d),
1421
- "onUpdate:modelValue": x[15] || (x[15] = ($) => N(d) ? d.value = $ : null),
1422
- label: `${s(e)("booking.reservation.purposeOfStay")} (${s(e)("booking.reservation.optional")})`,
1444
+ modelValue: r(d),
1445
+ "onUpdate:modelValue": D[15] || (D[15] = ($) => U(d) ? d.value = $ : null),
1446
+ label: `${r(e)("booking.reservation.purposeOfStay")} (${r(e)("booking.reservation.optional")})`,
1423
1447
  name: "travelingFor",
1424
- checkboxes: eo.value
1448
+ checkboxes: no.value
1425
1449
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1426
1450
  ])
1427
1451
  ]),
1428
1452
  navigation: P(() => [
1429
1453
  y("div", null, [
1430
- C(de, {
1431
- label: s(jt) ? s(e)("booking.reservation.nextButton") : s(e)("general.confirmReservation"),
1432
- disabled: !s(h),
1433
- "is-loading": s(r),
1454
+ C(ue, {
1455
+ label: r(Qt) ? r(e)("booking.reservation.nextButton") : r(e)("general.confirmReservation"),
1456
+ disabled: !r(h),
1457
+ "is-loading": r(s),
1434
1458
  "full-width": "",
1435
- onClickEvent: ($) => ro(q)
1459
+ onClickEvent: ($) => lo(q)
1436
1460
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1437
1461
  y("button", {
1438
1462
  class: "konnectio-abort-reservation link",
1439
- onClick: it(($) => Ze(H), ["prevent"])
1463
+ onClick: je(($) => tt(H), ["prevent"])
1440
1464
  }, [
1441
- y("span", null, V(s(e)("general.goAStepBack")), 1)
1442
- ], 8, ci)
1465
+ y("span", null, V(r(e)("general.goAStepBack")), 1)
1466
+ ], 8, mi)
1443
1467
  ])
1444
1468
  ]),
1445
1469
  _: 2
1446
1470
  }, 1024)
1447
1471
  ]),
1448
1472
  payment: P(() => [
1449
- C(Ho)
1473
+ C(Mo)
1450
1474
  ]),
1451
1475
  confirmation: P(() => [
1452
- C(wo, {
1453
- message: s(e)("booking.confirmation.thankYou")
1476
+ C(Do, {
1477
+ message: r(e)("booking.confirmation.thankYou")
1454
1478
  }, null, 8, ["message"])
1455
1479
  ]),
1456
1480
  _: 1
@@ -1460,7 +1484,7 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
1460
1484
  }, 8, ["access-token"])
1461
1485
  ]),
1462
1486
  fallback: P(() => [
1463
- C(An)
1487
+ C(Mn)
1464
1488
  ]),
1465
1489
  _: 1
1466
1490
  }))
@@ -1468,39 +1492,39 @@ const ni = { class: "fresh-booking-event-addons-price" }, ii = { key: 1 }, ri =
1468
1492
  _: 1
1469
1493
  }, 8, ["styling"]));
1470
1494
  }
1471
- }), ve = /* @__PURE__ */ K(pi, [["__scopeId", "data-v-37243f0b"]]);
1472
- var Lt = { exports: {} }, Oe = { exports: {} }, De = { exports: {} }, st;
1473
- function Ke() {
1495
+ }), ve = /* @__PURE__ */ K(gi, [["__scopeId", "data-v-8f62043c"]]);
1496
+ var Dt = { exports: {} }, Oe = { exports: {} }, He = { exports: {} }, st;
1497
+ function Je() {
1474
1498
  return st || (st = 1, function(o) {
1475
1499
  (function(e, t) {
1476
1500
  o.exports ? o.exports = t() : e.EvEmitter = t();
1477
- })(typeof window < "u" ? window : $t, function() {
1501
+ })(typeof window < "u" ? window : wt, function() {
1478
1502
  function e() {
1479
1503
  }
1480
1504
  var t = e.prototype;
1481
1505
  return t.on = function(n, p) {
1482
1506
  if (!(!n || !p)) {
1483
- var r = this._events = this._events || {}, h = r[n] = r[n] || [];
1507
+ var s = this._events = this._events || {}, h = s[n] = s[n] || [];
1484
1508
  return h.indexOf(p) == -1 && h.push(p), this;
1485
1509
  }
1486
1510
  }, t.once = function(n, p) {
1487
1511
  if (!(!n || !p)) {
1488
1512
  this.on(n, p);
1489
- var r = this._onceEvents = this._onceEvents || {}, h = r[n] = r[n] || {};
1513
+ var s = this._onceEvents = this._onceEvents || {}, h = s[n] = s[n] || {};
1490
1514
  return h[p] = !0, this;
1491
1515
  }
1492
1516
  }, t.off = function(n, p) {
1493
- var r = this._events && this._events[n];
1494
- if (!(!r || !r.length)) {
1495
- var h = r.indexOf(p);
1496
- return h != -1 && r.splice(h, 1), this;
1517
+ var s = this._events && this._events[n];
1518
+ if (!(!s || !s.length)) {
1519
+ var h = s.indexOf(p);
1520
+ return h != -1 && s.splice(h, 1), this;
1497
1521
  }
1498
1522
  }, t.emitEvent = function(n, p) {
1499
- var r = this._events && this._events[n];
1500
- if (!(!r || !r.length)) {
1501
- r = r.slice(0), p = p || [];
1502
- for (var h = this._onceEvents && this._onceEvents[n], d = 0; d < r.length; d++) {
1503
- var l = r[d], u = h && h[l];
1523
+ var s = this._events && this._events[n];
1524
+ if (!(!s || !s.length)) {
1525
+ s = s.slice(0), p = p || [];
1526
+ for (var h = this._onceEvents && this._onceEvents[n], d = 0; d < s.length; d++) {
1527
+ var l = s[d], u = h && h[l];
1504
1528
  u && (this.off(n, l), delete h[l]), l.apply(this, p);
1505
1529
  }
1506
1530
  return this;
@@ -1509,16 +1533,16 @@ function Ke() {
1509
1533
  delete this._events, delete this._onceEvents;
1510
1534
  }, e;
1511
1535
  });
1512
- }(De)), De.exports;
1536
+ }(He)), He.exports;
1513
1537
  }
1514
- var He = { exports: {} };
1538
+ var Me = { exports: {} };
1515
1539
  /*!
1516
1540
  * getSize v2.0.3
1517
1541
  * measure size of elements
1518
1542
  * MIT license
1519
1543
  */
1520
1544
  var at;
1521
- function Qe() {
1545
+ function Xe() {
1522
1546
  return at || (at = 1, function(o) {
1523
1547
  (function(e, t) {
1524
1548
  o.exports ? o.exports = t() : e.getSize = t();
@@ -1531,7 +1555,7 @@ function Qe() {
1531
1555
  }
1532
1556
  var p = typeof console > "u" ? n : function(c) {
1533
1557
  console.error(c);
1534
- }, r = [
1558
+ }, s = [
1535
1559
  "paddingLeft",
1536
1560
  "paddingRight",
1537
1561
  "paddingTop",
@@ -1544,7 +1568,7 @@ function Qe() {
1544
1568
  "borderRightWidth",
1545
1569
  "borderTopWidth",
1546
1570
  "borderBottomWidth"
1547
- ], h = r.length;
1571
+ ], h = s.length;
1548
1572
  function d() {
1549
1573
  for (var c = {
1550
1574
  width: 0,
@@ -1554,7 +1578,7 @@ function Qe() {
1554
1578
  outerWidth: 0,
1555
1579
  outerHeight: 0
1556
1580
  }, b = 0; b < h; b++) {
1557
- var k = r[b];
1581
+ var k = s[b];
1558
1582
  c[k] = 0;
1559
1583
  }
1560
1584
  return c;
@@ -1564,7 +1588,7 @@ function Qe() {
1564
1588
  return b || p("Style returned " + b + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), b;
1565
1589
  }
1566
1590
  var u = !1, f;
1567
- function v() {
1591
+ function g() {
1568
1592
  if (!u) {
1569
1593
  u = !0;
1570
1594
  var c = document.createElement("div");
@@ -1576,30 +1600,30 @@ function Qe() {
1576
1600
  }
1577
1601
  }
1578
1602
  function _(c) {
1579
- if (v(), typeof c == "string" && (c = document.querySelector(c)), !(!c || typeof c != "object" || !c.nodeType)) {
1603
+ if (g(), typeof c == "string" && (c = document.querySelector(c)), !(!c || typeof c != "object" || !c.nodeType)) {
1580
1604
  var b = l(c);
1581
1605
  if (b.display == "none")
1582
1606
  return d();
1583
1607
  var k = {};
1584
1608
  k.width = c.offsetWidth, k.height = c.offsetHeight;
1585
1609
  for (var m = k.isBorderBox = b.boxSizing == "border-box", i = 0; i < h; i++) {
1586
- var a = r[i], g = b[a], T = parseFloat(g);
1610
+ var a = s[i], v = b[a], T = parseFloat(v);
1587
1611
  k[a] = isNaN(T) ? 0 : T;
1588
1612
  }
1589
- var S = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, A = k.marginLeft + k.marginRight, R = k.marginTop + k.marginBottom, O = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = m && f, se = t(b.width);
1590
- se !== !1 && (k.width = se + // add padding and border unless it's already including it
1591
- (X ? 0 : S + O));
1592
- var ae = t(b.height);
1593
- return ae !== !1 && (k.height = ae + // add padding and border unless it's already including it
1594
- (X ? 0 : L + W)), k.innerWidth = k.width - (S + O), k.innerHeight = k.height - (L + W), k.outerWidth = k.width + A, k.outerHeight = k.height + R, k;
1613
+ var S = k.paddingLeft + k.paddingRight, w = k.paddingTop + k.paddingBottom, A = k.marginLeft + k.marginRight, B = k.marginTop + k.marginBottom, x = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = m && f, ae = t(b.width);
1614
+ ae !== !1 && (k.width = ae + // add padding and border unless it's already including it
1615
+ (X ? 0 : S + x));
1616
+ var le = t(b.height);
1617
+ return le !== !1 && (k.height = le + // add padding and border unless it's already including it
1618
+ (X ? 0 : w + W)), k.innerWidth = k.width - (S + x), k.innerHeight = k.height - (w + W), k.outerWidth = k.width + A, k.outerHeight = k.height + B, k;
1595
1619
  }
1596
1620
  }
1597
1621
  return _;
1598
1622
  });
1599
- }(He)), He.exports;
1623
+ }(Me)), Me.exports;
1600
1624
  }
1601
- var Me = { exports: {} }, Be = { exports: {} }, lt;
1602
- function hi() {
1625
+ var Re = { exports: {} }, Be = { exports: {} }, lt;
1626
+ function vi() {
1603
1627
  return lt || (lt = 1, function(o) {
1604
1628
  (function(e, t) {
1605
1629
  o.exports ? o.exports = t() : e.matchesSelector = t();
@@ -1610,25 +1634,25 @@ function hi() {
1610
1634
  return "matches";
1611
1635
  if (n.matchesSelector)
1612
1636
  return "matchesSelector";
1613
- for (var p = ["webkit", "moz", "ms", "o"], r = 0; r < p.length; r++) {
1614
- var h = p[r], d = h + "MatchesSelector";
1637
+ for (var p = ["webkit", "moz", "ms", "o"], s = 0; s < p.length; s++) {
1638
+ var h = p[s], d = h + "MatchesSelector";
1615
1639
  if (n[d])
1616
1640
  return d;
1617
1641
  }
1618
1642
  }();
1619
- return function(p, r) {
1620
- return p[t](r);
1643
+ return function(p, s) {
1644
+ return p[t](s);
1621
1645
  };
1622
1646
  });
1623
1647
  }(Be)), Be.exports;
1624
1648
  }
1625
1649
  var ut;
1626
- function fi() {
1650
+ function yi() {
1627
1651
  return ut || (ut = 1, function(o) {
1628
1652
  (function(e, t) {
1629
1653
  o.exports ? o.exports = t(
1630
1654
  e,
1631
- hi()
1655
+ vi()
1632
1656
  ) : e.fizzyUIUtils = t(
1633
1657
  e,
1634
1658
  e.matchesSelector
@@ -1642,14 +1666,14 @@ function fi() {
1642
1666
  }, p.modulo = function(d, l) {
1643
1667
  return (d % l + l) % l;
1644
1668
  };
1645
- var r = Array.prototype.slice;
1669
+ var s = Array.prototype.slice;
1646
1670
  p.makeArray = function(d) {
1647
1671
  if (Array.isArray(d))
1648
1672
  return d;
1649
1673
  if (d == null)
1650
1674
  return [];
1651
1675
  var l = typeof d == "object" && typeof d.length == "number";
1652
- return l ? r.call(d) : [d];
1676
+ return l ? s.call(d) : [d];
1653
1677
  }, p.removeFrom = function(d, l) {
1654
1678
  var u = d.indexOf(l);
1655
1679
  u != -1 && d.splice(u, 1);
@@ -1672,19 +1696,19 @@ function fi() {
1672
1696
  return;
1673
1697
  }
1674
1698
  n(f, l) && u.push(f);
1675
- for (var v = f.querySelectorAll(l), _ = 0; _ < v.length; _++)
1676
- u.push(v[_]);
1699
+ for (var g = f.querySelectorAll(l), _ = 0; _ < g.length; _++)
1700
+ u.push(g[_]);
1677
1701
  }
1678
1702
  }), u;
1679
1703
  }, p.debounceMethod = function(d, l, u) {
1680
1704
  u = u || 100;
1681
- var f = d.prototype[l], v = l + "Timeout";
1705
+ var f = d.prototype[l], g = l + "Timeout";
1682
1706
  d.prototype[l] = function() {
1683
- var _ = this[v];
1707
+ var _ = this[g];
1684
1708
  clearTimeout(_);
1685
1709
  var c = arguments, b = this;
1686
- this[v] = setTimeout(function() {
1687
- f.apply(b, c), delete b[v];
1710
+ this[g] = setTimeout(function() {
1711
+ f.apply(b, c), delete b[g];
1688
1712
  }, u);
1689
1713
  };
1690
1714
  }, p.docReady = function(d) {
@@ -1698,7 +1722,7 @@ function fi() {
1698
1722
  var h = t.console;
1699
1723
  return p.htmlInit = function(d, l) {
1700
1724
  p.docReady(function() {
1701
- var u = p.toDashed(l), f = "data-" + u, v = document.querySelectorAll("[" + f + "]"), _ = document.querySelectorAll(".js-" + u), c = p.makeArray(v).concat(p.makeArray(_)), b = f + "-options", k = t.jQuery;
1725
+ var u = p.toDashed(l), f = "data-" + u, g = document.querySelectorAll("[" + f + "]"), _ = document.querySelectorAll(".js-" + u), c = p.makeArray(g).concat(p.makeArray(_)), b = f + "-options", k = t.jQuery;
1702
1726
  c.forEach(function(m) {
1703
1727
  var i = m.getAttribute(f) || m.getAttribute(b), a;
1704
1728
  try {
@@ -1707,21 +1731,21 @@ function fi() {
1707
1731
  h && h.error("Error parsing " + f + " on " + m.className + ": " + T);
1708
1732
  return;
1709
1733
  }
1710
- var g = new d(m, a);
1711
- k && k.data(m, l, g);
1734
+ var v = new d(m, a);
1735
+ k && k.data(m, l, v);
1712
1736
  });
1713
1737
  });
1714
1738
  }, p;
1715
1739
  });
1716
- }(Me)), Me.exports;
1740
+ }(Re)), Re.exports;
1717
1741
  }
1718
- var Re = { exports: {} }, dt;
1719
- function mi() {
1742
+ var ze = { exports: {} }, dt;
1743
+ function bi() {
1720
1744
  return dt || (dt = 1, function(o) {
1721
1745
  (function(e, t) {
1722
1746
  o.exports ? o.exports = t(
1723
- Ke(),
1724
- Qe()
1747
+ Je(),
1748
+ Xe()
1725
1749
  ) : (e.Outlayer = {}, e.Outlayer.Item = t(
1726
1750
  e.EvEmitter,
1727
1751
  e.getSize
@@ -1732,7 +1756,7 @@ function mi() {
1732
1756
  return !1;
1733
1757
  return i = null, !0;
1734
1758
  }
1735
- var r = document.documentElement.style, h = typeof r.transition == "string" ? "transition" : "WebkitTransition", d = typeof r.transform == "string" ? "transform" : "WebkitTransform", l = {
1759
+ var s = document.documentElement.style, h = typeof s.transition == "string" ? "transition" : "WebkitTransition", d = typeof s.transform == "string" ? "transform" : "WebkitTransform", l = {
1736
1760
  WebkitTransition: "webkitTransitionEnd",
1737
1761
  transition: "transitionend"
1738
1762
  }[h], u = {
@@ -1748,8 +1772,8 @@ function mi() {
1748
1772
  y: 0
1749
1773
  }, this._create());
1750
1774
  }
1751
- var v = f.prototype = Object.create(t.prototype);
1752
- v.constructor = f, v._create = function() {
1775
+ var g = f.prototype = Object.create(t.prototype);
1776
+ g.constructor = f, g._create = function() {
1753
1777
  this._transn = {
1754
1778
  ingProperties: {},
1755
1779
  clean: {},
@@ -1757,58 +1781,58 @@ function mi() {
1757
1781
  }, this.css({
1758
1782
  position: "absolute"
1759
1783
  });
1760
- }, v.handleEvent = function(m) {
1784
+ }, g.handleEvent = function(m) {
1761
1785
  var i = "on" + m.type;
1762
1786
  this[i] && this[i](m);
1763
- }, v.getSize = function() {
1787
+ }, g.getSize = function() {
1764
1788
  this.size = n(this.element);
1765
- }, v.css = function(m) {
1789
+ }, g.css = function(m) {
1766
1790
  var i = this.element.style;
1767
1791
  for (var a in m) {
1768
- var g = u[a] || a;
1769
- i[g] = m[a];
1792
+ var v = u[a] || a;
1793
+ i[v] = m[a];
1770
1794
  }
1771
- }, v.getPosition = function() {
1772
- var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), a = this.layout._getOption("originTop"), g = m[i ? "left" : "right"], T = m[a ? "top" : "bottom"], S = parseFloat(g), L = parseFloat(T), A = this.layout.size;
1773
- g.indexOf("%") != -1 && (S = S / 100 * A.width), T.indexOf("%") != -1 && (L = L / 100 * A.height), S = isNaN(S) ? 0 : S, L = isNaN(L) ? 0 : L, S -= i ? A.paddingLeft : A.paddingRight, L -= a ? A.paddingTop : A.paddingBottom, this.position.x = S, this.position.y = L;
1774
- }, v.layoutPosition = function() {
1775
- var m = this.layout.size, i = {}, a = this.layout._getOption("originLeft"), g = this.layout._getOption("originTop"), T = a ? "paddingLeft" : "paddingRight", S = a ? "left" : "right", L = a ? "right" : "left", A = this.position.x + m[T];
1776
- i[S] = this.getXValue(A), i[L] = "";
1777
- var R = g ? "paddingTop" : "paddingBottom", O = g ? "top" : "bottom", W = g ? "bottom" : "top", X = this.position.y + m[R];
1778
- i[O] = this.getYValue(X), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1779
- }, v.getXValue = function(m) {
1795
+ }, g.getPosition = function() {
1796
+ var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), a = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[a ? "top" : "bottom"], S = parseFloat(v), w = parseFloat(T), A = this.layout.size;
1797
+ v.indexOf("%") != -1 && (S = S / 100 * A.width), T.indexOf("%") != -1 && (w = w / 100 * A.height), S = isNaN(S) ? 0 : S, w = isNaN(w) ? 0 : w, S -= i ? A.paddingLeft : A.paddingRight, w -= a ? A.paddingTop : A.paddingBottom, this.position.x = S, this.position.y = w;
1798
+ }, g.layoutPosition = function() {
1799
+ var m = this.layout.size, i = {}, a = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = a ? "paddingLeft" : "paddingRight", S = a ? "left" : "right", w = a ? "right" : "left", A = this.position.x + m[T];
1800
+ i[S] = this.getXValue(A), i[w] = "";
1801
+ var B = v ? "paddingTop" : "paddingBottom", x = v ? "top" : "bottom", W = v ? "bottom" : "top", X = this.position.y + m[B];
1802
+ i[x] = this.getYValue(X), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1803
+ }, g.getXValue = function(m) {
1780
1804
  var i = this.layout._getOption("horizontal");
1781
1805
  return this.layout.options.percentPosition && !i ? m / this.layout.size.width * 100 + "%" : m + "px";
1782
- }, v.getYValue = function(m) {
1806
+ }, g.getYValue = function(m) {
1783
1807
  var i = this.layout._getOption("horizontal");
1784
1808
  return this.layout.options.percentPosition && i ? m / this.layout.size.height * 100 + "%" : m + "px";
1785
- }, v._transitionTo = function(m, i) {
1809
+ }, g._transitionTo = function(m, i) {
1786
1810
  this.getPosition();
1787
- var a = this.position.x, g = this.position.y, T = m == this.position.x && i == this.position.y;
1811
+ var a = this.position.x, v = this.position.y, T = m == this.position.x && i == this.position.y;
1788
1812
  if (this.setPosition(m, i), T && !this.isTransitioning) {
1789
1813
  this.layoutPosition();
1790
1814
  return;
1791
1815
  }
1792
- var S = m - a, L = i - g, A = {};
1793
- A.transform = this.getTranslate(S, L), this.transition({
1816
+ var S = m - a, w = i - v, A = {};
1817
+ A.transform = this.getTranslate(S, w), this.transition({
1794
1818
  to: A,
1795
1819
  onTransitionEnd: {
1796
1820
  transform: this.layoutPosition
1797
1821
  },
1798
1822
  isCleaning: !0
1799
1823
  });
1800
- }, v.getTranslate = function(m, i) {
1801
- var a = this.layout._getOption("originLeft"), g = this.layout._getOption("originTop");
1802
- return m = a ? m : -m, i = g ? i : -i, "translate3d(" + m + "px, " + i + "px, 0)";
1803
- }, v.goTo = function(m, i) {
1824
+ }, g.getTranslate = function(m, i) {
1825
+ var a = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop");
1826
+ return m = a ? m : -m, i = v ? i : -i, "translate3d(" + m + "px, " + i + "px, 0)";
1827
+ }, g.goTo = function(m, i) {
1804
1828
  this.setPosition(m, i), this.layoutPosition();
1805
- }, v.moveTo = v._transitionTo, v.setPosition = function(m, i) {
1829
+ }, g.moveTo = g._transitionTo, g.setPosition = function(m, i) {
1806
1830
  this.position.x = parseFloat(m), this.position.y = parseFloat(i);
1807
- }, v._nonTransition = function(m) {
1831
+ }, g._nonTransition = function(m) {
1808
1832
  this.css(m.to), m.isCleaning && this._removeStyles(m.to);
1809
1833
  for (var i in m.onTransitionEnd)
1810
1834
  m.onTransitionEnd[i].call(this);
1811
- }, v.transition = function(m) {
1835
+ }, g.transition = function(m) {
1812
1836
  if (!parseFloat(this.layout.options.transitionDuration)) {
1813
1837
  this._nonTransition(m);
1814
1838
  return;
@@ -1826,7 +1850,7 @@ function mi() {
1826
1850
  });
1827
1851
  }
1828
1852
  var c = "opacity," + _(d);
1829
- v.enableTransition = function() {
1853
+ g.enableTransition = function() {
1830
1854
  if (!this.isTransitioning) {
1831
1855
  var m = this.layout.options.transitionDuration;
1832
1856
  m = typeof m == "number" ? m + "ms" : m, this.css({
@@ -1835,26 +1859,26 @@ function mi() {
1835
1859
  transitionDelay: this.staggerDelay || 0
1836
1860
  }), this.element.addEventListener(l, this, !1);
1837
1861
  }
1838
- }, v.onwebkitTransitionEnd = function(m) {
1862
+ }, g.onwebkitTransitionEnd = function(m) {
1839
1863
  this.ontransitionend(m);
1840
- }, v.onotransitionend = function(m) {
1864
+ }, g.onotransitionend = function(m) {
1841
1865
  this.ontransitionend(m);
1842
1866
  };
1843
1867
  var b = {
1844
1868
  "-webkit-transform": "transform"
1845
1869
  };
1846
- v.ontransitionend = function(m) {
1870
+ g.ontransitionend = function(m) {
1847
1871
  if (m.target === this.element) {
1848
1872
  var i = this._transn, a = b[m.propertyName] || m.propertyName;
1849
1873
  if (delete i.ingProperties[a], p(i.ingProperties) && this.disableTransition(), a in i.clean && (this.element.style[m.propertyName] = "", delete i.clean[a]), a in i.onEnd) {
1850
- var g = i.onEnd[a];
1851
- g.call(this), delete i.onEnd[a];
1874
+ var v = i.onEnd[a];
1875
+ v.call(this), delete i.onEnd[a];
1852
1876
  }
1853
1877
  this.emitEvent("transitionEnd", [this]);
1854
1878
  }
1855
- }, v.disableTransition = function() {
1879
+ }, g.disableTransition = function() {
1856
1880
  this.removeTransitionStyles(), this.element.removeEventListener(l, this, !1), this.isTransitioning = !1;
1857
- }, v._removeStyles = function(m) {
1881
+ }, g._removeStyles = function(m) {
1858
1882
  var i = {};
1859
1883
  for (var a in m)
1860
1884
  i[a] = "";
@@ -1865,13 +1889,13 @@ function mi() {
1865
1889
  transitionDuration: "",
1866
1890
  transitionDelay: ""
1867
1891
  };
1868
- return v.removeTransitionStyles = function() {
1892
+ return g.removeTransitionStyles = function() {
1869
1893
  this.css(k);
1870
- }, v.stagger = function(m) {
1894
+ }, g.stagger = function(m) {
1871
1895
  m = isNaN(m) ? 0 : m, this.staggerDelay = m + "ms";
1872
- }, v.removeElem = function() {
1896
+ }, g.removeElem = function() {
1873
1897
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
1874
- }, v.remove = function() {
1898
+ }, g.remove = function() {
1875
1899
  if (!h || !parseFloat(this.layout.options.transitionDuration)) {
1876
1900
  this.removeElem();
1877
1901
  return;
@@ -1879,7 +1903,7 @@ function mi() {
1879
1903
  this.once("transitionEnd", function() {
1880
1904
  this.removeElem();
1881
1905
  }), this.hide();
1882
- }, v.reveal = function() {
1906
+ }, g.reveal = function() {
1883
1907
  delete this.isHidden, this.css({ display: "" });
1884
1908
  var m = this.layout.options, i = {}, a = this.getHideRevealTransitionEndProperty("visibleStyle");
1885
1909
  i[a] = this.onRevealTransitionEnd, this.transition({
@@ -1888,15 +1912,15 @@ function mi() {
1888
1912
  isCleaning: !0,
1889
1913
  onTransitionEnd: i
1890
1914
  });
1891
- }, v.onRevealTransitionEnd = function() {
1915
+ }, g.onRevealTransitionEnd = function() {
1892
1916
  this.isHidden || this.emitEvent("reveal");
1893
- }, v.getHideRevealTransitionEndProperty = function(m) {
1917
+ }, g.getHideRevealTransitionEndProperty = function(m) {
1894
1918
  var i = this.layout.options[m];
1895
1919
  if (i.opacity)
1896
1920
  return "opacity";
1897
1921
  for (var a in i)
1898
1922
  return a;
1899
- }, v.hide = function() {
1923
+ }, g.hide = function() {
1900
1924
  this.isHidden = !0, this.css({ display: "" });
1901
1925
  var m = this.layout.options, i = {}, a = this.getHideRevealTransitionEndProperty("hiddenStyle");
1902
1926
  i[a] = this.onHideTransitionEnd, this.transition({
@@ -1906,9 +1930,9 @@ function mi() {
1906
1930
  isCleaning: !0,
1907
1931
  onTransitionEnd: i
1908
1932
  });
1909
- }, v.onHideTransitionEnd = function() {
1933
+ }, g.onHideTransitionEnd = function() {
1910
1934
  this.isHidden && (this.css({ display: "none" }), this.emitEvent("hide"));
1911
- }, v.destroy = function() {
1935
+ }, g.destroy = function() {
1912
1936
  this.css({
1913
1937
  position: "",
1914
1938
  left: "",
@@ -1920,7 +1944,7 @@ function mi() {
1920
1944
  });
1921
1945
  }, f;
1922
1946
  });
1923
- }(Re)), Re.exports;
1947
+ }(ze)), ze.exports;
1924
1948
  }
1925
1949
  /*!
1926
1950
  * Outlayer v2.1.1
@@ -1928,15 +1952,15 @@ function mi() {
1928
1952
  * MIT license
1929
1953
  */
1930
1954
  var ct;
1931
- function gi() {
1955
+ function ki() {
1932
1956
  return ct || (ct = 1, function(o) {
1933
1957
  (function(e, t) {
1934
1958
  o.exports ? o.exports = t(
1935
1959
  e,
1936
- Ke(),
1937
- Qe(),
1938
- fi(),
1939
- mi()
1960
+ Je(),
1961
+ Xe(),
1962
+ yi(),
1963
+ bi()
1940
1964
  ) : e.Outlayer = t(
1941
1965
  e,
1942
1966
  e.EvEmitter,
@@ -1944,18 +1968,18 @@ function gi() {
1944
1968
  e.fizzyUIUtils,
1945
1969
  e.Outlayer.Item
1946
1970
  );
1947
- })(window, function(t, n, p, r, h) {
1971
+ })(window, function(t, n, p, s, h) {
1948
1972
  var d = t.console, l = t.jQuery, u = function() {
1949
- }, f = 0, v = {};
1973
+ }, f = 0, g = {};
1950
1974
  function _(i, a) {
1951
- var g = r.getQueryElement(i);
1952
- if (!g) {
1953
- d && d.error("Bad element for " + this.constructor.namespace + ": " + (g || i));
1975
+ var v = s.getQueryElement(i);
1976
+ if (!v) {
1977
+ d && d.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
1954
1978
  return;
1955
1979
  }
1956
- this.element = g, l && (this.$element = l(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(a);
1980
+ this.element = v, l && (this.$element = l(this.element)), this.options = s.extend({}, this.constructor.defaults), this.option(a);
1957
1981
  var T = ++f;
1958
- this.element.outlayerGUID = T, v[T] = this, this._create();
1982
+ this.element.outlayerGUID = T, g[T] = this, this._create();
1959
1983
  var S = this._getOption("initLayout");
1960
1984
  S && this.layout();
1961
1985
  }
@@ -1980,8 +2004,8 @@ function gi() {
1980
2004
  }
1981
2005
  };
1982
2006
  var c = _.prototype;
1983
- r.extend(c, n.prototype), c.option = function(i) {
1984
- r.extend(this.options, i);
2007
+ s.extend(c, n.prototype), c.option = function(i) {
2008
+ s.extend(this.options, i);
1985
2009
  }, c._getOption = function(i) {
1986
2010
  var a = this.constructor.compatOptions[i];
1987
2011
  return a && this.options[a] !== void 0 ? this.options[a] : this.options[i];
@@ -1995,19 +2019,19 @@ function gi() {
1995
2019
  resize: "isResizeBound",
1996
2020
  resizeContainer: "isResizingContainer"
1997
2021
  }, c._create = function() {
1998
- this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
2022
+ this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), s.extend(this.element.style, this.options.containerStyle);
1999
2023
  var i = this._getOption("resize");
2000
2024
  i && this.bindResize();
2001
2025
  }, c.reloadItems = function() {
2002
2026
  this.items = this._itemize(this.element.children);
2003
2027
  }, c._itemize = function(i) {
2004
- for (var a = this._filterFindItemElements(i), g = this.constructor.Item, T = [], S = 0; S < a.length; S++) {
2005
- var L = a[S], A = new g(L, this);
2028
+ for (var a = this._filterFindItemElements(i), v = this.constructor.Item, T = [], S = 0; S < a.length; S++) {
2029
+ var w = a[S], A = new v(w, this);
2006
2030
  T.push(A);
2007
2031
  }
2008
2032
  return T;
2009
2033
  }, c._filterFindItemElements = function(i) {
2010
- return r.filterFindElements(i, this.options.itemSelector);
2034
+ return s.filterFindElements(i, this.options.itemSelector);
2011
2035
  }, c.getItemElements = function() {
2012
2036
  return this.items.map(function(i) {
2013
2037
  return i.element;
@@ -2021,8 +2045,8 @@ function gi() {
2021
2045
  }, c.getSize = function() {
2022
2046
  this.size = p(this.element);
2023
2047
  }, c._getMeasurement = function(i, a) {
2024
- var g = this.options[i], T;
2025
- g ? (typeof g == "string" ? T = this.element.querySelector(g) : g instanceof HTMLElement && (T = g), this[i] = T ? p(T)[a] : g) : this[i] = 0;
2048
+ var v = this.options[i], T;
2049
+ v ? (typeof v == "string" ? T = this.element.querySelector(v) : v instanceof HTMLElement && (T = v), this[i] = T ? p(T)[a] : v) : this[i] = 0;
2026
2050
  }, c.layoutItems = function(i, a) {
2027
2051
  i = this._getItemsForLayout(i), this._layoutItems(i, a), this._postLayout();
2028
2052
  }, c._getItemsForLayout = function(i) {
@@ -2031,11 +2055,11 @@ function gi() {
2031
2055
  });
2032
2056
  }, c._layoutItems = function(i, a) {
2033
2057
  if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
2034
- var g = [];
2058
+ var v = [];
2035
2059
  i.forEach(function(T) {
2036
2060
  var S = this._getItemLayoutPosition(T);
2037
- S.item = T, S.isInstant = a || T.isLayoutInstant, g.push(S);
2038
- }, this), this._processLayoutQueue(g);
2061
+ S.item = T, S.isInstant = a || T.isLayoutInstant, v.push(S);
2062
+ }, this), this._processLayoutQueue(v);
2039
2063
  }
2040
2064
  }, c._getItemLayoutPosition = function() {
2041
2065
  return {
@@ -2043,8 +2067,8 @@ function gi() {
2043
2067
  y: 0
2044
2068
  };
2045
2069
  }, c._processLayoutQueue = function(i) {
2046
- this.updateStagger(), i.forEach(function(a, g) {
2047
- this._positionItem(a.item, a.x, a.y, a.isInstant, g);
2070
+ this.updateStagger(), i.forEach(function(a, v) {
2071
+ this._positionItem(a.item, a.x, a.y, a.isInstant, v);
2048
2072
  }, this);
2049
2073
  }, c.updateStagger = function() {
2050
2074
  var i = this.options.stagger;
@@ -2053,8 +2077,8 @@ function gi() {
2053
2077
  return;
2054
2078
  }
2055
2079
  return this.stagger = m(i), this.stagger;
2056
- }, c._positionItem = function(i, a, g, T, S) {
2057
- T ? i.goTo(a, g) : (i.stagger(S * this.stagger), i.moveTo(a, g));
2080
+ }, c._positionItem = function(i, a, v, T, S) {
2081
+ T ? i.goTo(a, v) : (i.stagger(S * this.stagger), i.moveTo(a, v));
2058
2082
  }, c._postLayout = function() {
2059
2083
  this.resizeContainer();
2060
2084
  }, c.resizeContainer = function() {
@@ -2065,34 +2089,34 @@ function gi() {
2065
2089
  }
2066
2090
  }, c._getContainerSize = u, c._setContainerMeasure = function(i, a) {
2067
2091
  if (i !== void 0) {
2068
- var g = this.size;
2069
- g.isBorderBox && (i += a ? g.paddingLeft + g.paddingRight + g.borderLeftWidth + g.borderRightWidth : g.paddingBottom + g.paddingTop + g.borderTopWidth + g.borderBottomWidth), i = Math.max(i, 0), this.element.style[a ? "width" : "height"] = i + "px";
2092
+ var v = this.size;
2093
+ v.isBorderBox && (i += a ? v.paddingLeft + v.paddingRight + v.borderLeftWidth + v.borderRightWidth : v.paddingBottom + v.paddingTop + v.borderTopWidth + v.borderBottomWidth), i = Math.max(i, 0), this.element.style[a ? "width" : "height"] = i + "px";
2070
2094
  }
2071
2095
  }, c._emitCompleteOnItems = function(i, a) {
2072
- var g = this;
2096
+ var v = this;
2073
2097
  function T() {
2074
- g.dispatchEvent(i + "Complete", null, [a]);
2098
+ v.dispatchEvent(i + "Complete", null, [a]);
2075
2099
  }
2076
2100
  var S = a.length;
2077
2101
  if (!a || !S) {
2078
2102
  T();
2079
2103
  return;
2080
2104
  }
2081
- var L = 0;
2105
+ var w = 0;
2082
2106
  function A() {
2083
- L++, L == S && T();
2107
+ w++, w == S && T();
2084
2108
  }
2085
- a.forEach(function(R) {
2086
- R.once(i, A);
2109
+ a.forEach(function(B) {
2110
+ B.once(i, A);
2087
2111
  });
2088
- }, c.dispatchEvent = function(i, a, g) {
2089
- var T = a ? [a].concat(g) : g;
2112
+ }, c.dispatchEvent = function(i, a, v) {
2113
+ var T = a ? [a].concat(v) : v;
2090
2114
  if (this.emitEvent(i, T), l)
2091
2115
  if (this.$element = this.$element || l(this.element), a) {
2092
2116
  var S = l.Event(a);
2093
- S.type = i, this.$element.trigger(S, g);
2117
+ S.type = i, this.$element.trigger(S, v);
2094
2118
  } else
2095
- this.$element.trigger(i, g);
2119
+ this.$element.trigger(i, v);
2096
2120
  }, c.ignore = function(i) {
2097
2121
  var a = this.getItem(i);
2098
2122
  a && (a.isIgnored = !0);
@@ -2103,11 +2127,11 @@ function gi() {
2103
2127
  i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
2104
2128
  }, c.unstamp = function(i) {
2105
2129
  i = this._find(i), i && i.forEach(function(a) {
2106
- r.removeFrom(this.stamps, a), this.unignore(a);
2130
+ s.removeFrom(this.stamps, a), this.unignore(a);
2107
2131
  }, this);
2108
2132
  }, c._find = function(i) {
2109
2133
  if (i)
2110
- return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = r.makeArray(i), i;
2134
+ return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = s.makeArray(i), i;
2111
2135
  }, c._manageStamps = function() {
2112
2136
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
2113
2137
  }, c._getBoundingRect = function() {
@@ -2119,20 +2143,20 @@ function gi() {
2119
2143
  bottom: i.bottom - (a.paddingBottom + a.borderBottomWidth)
2120
2144
  };
2121
2145
  }, c._manageStamp = u, c._getElementOffset = function(i) {
2122
- var a = i.getBoundingClientRect(), g = this._boundingRect, T = p(i), S = {
2123
- left: a.left - g.left - T.marginLeft,
2124
- top: a.top - g.top - T.marginTop,
2125
- right: g.right - a.right - T.marginRight,
2126
- bottom: g.bottom - a.bottom - T.marginBottom
2146
+ var a = i.getBoundingClientRect(), v = this._boundingRect, T = p(i), S = {
2147
+ left: a.left - v.left - T.marginLeft,
2148
+ top: a.top - v.top - T.marginTop,
2149
+ right: v.right - a.right - T.marginRight,
2150
+ bottom: v.bottom - a.bottom - T.marginBottom
2127
2151
  };
2128
2152
  return S;
2129
- }, c.handleEvent = r.handleEvent, c.bindResize = function() {
2153
+ }, c.handleEvent = s.handleEvent, c.bindResize = function() {
2130
2154
  t.addEventListener("resize", this), this.isResizeBound = !0;
2131
2155
  }, c.unbindResize = function() {
2132
2156
  t.removeEventListener("resize", this), this.isResizeBound = !1;
2133
2157
  }, c.onresize = function() {
2134
2158
  this.resize();
2135
- }, r.debounceMethod(_, "onresize", 100), c.resize = function() {
2159
+ }, s.debounceMethod(_, "onresize", 100), c.resize = function() {
2136
2160
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2137
2161
  }, c.needsResizeLayout = function() {
2138
2162
  var i = p(this.element), a = this.size && i;
@@ -2146,21 +2170,21 @@ function gi() {
2146
2170
  }, c.prepended = function(i) {
2147
2171
  var a = this._itemize(i);
2148
2172
  if (a.length) {
2149
- var g = this.items.slice(0);
2150
- this.items = a.concat(g), this._resetLayout(), this._manageStamps(), this.layoutItems(a, !0), this.reveal(a), this.layoutItems(g);
2173
+ var v = this.items.slice(0);
2174
+ this.items = a.concat(v), this._resetLayout(), this._manageStamps(), this.layoutItems(a, !0), this.reveal(a), this.layoutItems(v);
2151
2175
  }
2152
2176
  }, c.reveal = function(i) {
2153
2177
  if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
2154
2178
  var a = this.updateStagger();
2155
- i.forEach(function(g, T) {
2156
- g.stagger(T * a), g.reveal();
2179
+ i.forEach(function(v, T) {
2180
+ v.stagger(T * a), v.reveal();
2157
2181
  });
2158
2182
  }
2159
2183
  }, c.hide = function(i) {
2160
2184
  if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
2161
2185
  var a = this.updateStagger();
2162
- i.forEach(function(g, T) {
2163
- g.stagger(T * a), g.hide();
2186
+ i.forEach(function(v, T) {
2187
+ v.stagger(T * a), v.hide();
2164
2188
  });
2165
2189
  }
2166
2190
  }, c.revealItemElements = function(i) {
@@ -2171,36 +2195,36 @@ function gi() {
2171
2195
  this.hide(a);
2172
2196
  }, c.getItem = function(i) {
2173
2197
  for (var a = 0; a < this.items.length; a++) {
2174
- var g = this.items[a];
2175
- if (g.element == i)
2176
- return g;
2198
+ var v = this.items[a];
2199
+ if (v.element == i)
2200
+ return v;
2177
2201
  }
2178
2202
  }, c.getItems = function(i) {
2179
- i = r.makeArray(i);
2203
+ i = s.makeArray(i);
2180
2204
  var a = [];
2181
- return i.forEach(function(g) {
2182
- var T = this.getItem(g);
2205
+ return i.forEach(function(v) {
2206
+ var T = this.getItem(v);
2183
2207
  T && a.push(T);
2184
2208
  }, this), a;
2185
2209
  }, c.remove = function(i) {
2186
2210
  var a = this.getItems(i);
2187
- this._emitCompleteOnItems("remove", a), !(!a || !a.length) && a.forEach(function(g) {
2188
- g.remove(), r.removeFrom(this.items, g);
2211
+ this._emitCompleteOnItems("remove", a), !(!a || !a.length) && a.forEach(function(v) {
2212
+ v.remove(), s.removeFrom(this.items, v);
2189
2213
  }, this);
2190
2214
  }, c.destroy = function() {
2191
2215
  var i = this.element.style;
2192
- i.height = "", i.position = "", i.width = "", this.items.forEach(function(g) {
2193
- g.destroy();
2216
+ i.height = "", i.position = "", i.width = "", this.items.forEach(function(v) {
2217
+ v.destroy();
2194
2218
  }), this.unbindResize();
2195
2219
  var a = this.element.outlayerGUID;
2196
- delete v[a], delete this.element.outlayerGUID, l && l.removeData(this.element, this.constructor.namespace);
2220
+ delete g[a], delete this.element.outlayerGUID, l && l.removeData(this.element, this.constructor.namespace);
2197
2221
  }, _.data = function(i) {
2198
- i = r.getQueryElement(i);
2222
+ i = s.getQueryElement(i);
2199
2223
  var a = i && i.outlayerGUID;
2200
- return a && v[a];
2224
+ return a && g[a];
2201
2225
  }, _.create = function(i, a) {
2202
- var g = b(_);
2203
- return g.defaults = r.extend({}, _.defaults), r.extend(g.defaults, a), g.compatOptions = r.extend({}, _.compatOptions), g.namespace = i, g.data = _.data, g.Item = b(h), r.htmlInit(g, i), l && l.bridget && l.bridget(i, g), g;
2226
+ var v = b(_);
2227
+ return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, a), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), s.htmlInit(v, i), l && l.bridget && l.bridget(i, v), v;
2204
2228
  };
2205
2229
  function b(i) {
2206
2230
  function a() {
@@ -2215,12 +2239,12 @@ function gi() {
2215
2239
  function m(i) {
2216
2240
  if (typeof i == "number")
2217
2241
  return i;
2218
- var a = i.match(/(^\d*\.?\d*)(\w*)/), g = a && a[1], T = a && a[2];
2219
- if (!g.length)
2242
+ var a = i.match(/(^\d*\.?\d*)(\w*)/), v = a && a[1], T = a && a[2];
2243
+ if (!v.length)
2220
2244
  return 0;
2221
- g = parseFloat(g);
2245
+ v = parseFloat(v);
2222
2246
  var S = k[T] || 1;
2223
- return g * S;
2247
+ return v * S;
2224
2248
  }
2225
2249
  return _.Item = h, _;
2226
2250
  });
@@ -2236,8 +2260,8 @@ function gi() {
2236
2260
  (function(o) {
2237
2261
  (function(e, t) {
2238
2262
  o.exports ? o.exports = t(
2239
- gi(),
2240
- Qe()
2263
+ ki(),
2264
+ Xe()
2241
2265
  ) : e.Masonry = t(
2242
2266
  e.Outlayer,
2243
2267
  e.getSize
@@ -2245,51 +2269,51 @@ function gi() {
2245
2269
  })(window, function(t, n) {
2246
2270
  var p = t.create("masonry");
2247
2271
  p.compatOptions.fitWidth = "isFitWidth";
2248
- var r = p.prototype;
2249
- return r._resetLayout = function() {
2272
+ var s = p.prototype;
2273
+ return s._resetLayout = function() {
2250
2274
  this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
2251
2275
  for (var h = 0; h < this.cols; h++)
2252
2276
  this.colYs.push(0);
2253
2277
  this.maxY = 0, this.horizontalColIndex = 0;
2254
- }, r.measureColumns = function() {
2278
+ }, s.measureColumns = function() {
2255
2279
  if (this.getContainerWidth(), !this.columnWidth) {
2256
2280
  var h = this.items[0], d = h && h.element;
2257
2281
  this.columnWidth = d && n(d).outerWidth || // if first elem has no width, default to size of container
2258
2282
  this.containerWidth;
2259
2283
  }
2260
- var l = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, f = u / l, v = l - u % l, _ = v && v < 1 ? "round" : "floor";
2284
+ var l = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, f = u / l, g = l - u % l, _ = g && g < 1 ? "round" : "floor";
2261
2285
  f = Math[_](f), this.cols = Math.max(f, 1);
2262
- }, r.getContainerWidth = function() {
2286
+ }, s.getContainerWidth = function() {
2263
2287
  var h = this._getOption("fitWidth"), d = h ? this.element.parentNode : this.element, l = n(d);
2264
2288
  this.containerWidth = l && l.innerWidth;
2265
- }, r._getItemLayoutPosition = function(h) {
2289
+ }, s._getItemLayoutPosition = function(h) {
2266
2290
  h.getSize();
2267
2291
  var d = h.size.outerWidth % this.columnWidth, l = d && d < 1 ? "round" : "ceil", u = Math[l](h.size.outerWidth / this.columnWidth);
2268
2292
  u = Math.min(u, this.cols);
2269
- for (var f = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", v = this[f](u, h), _ = {
2270
- x: this.columnWidth * v.col,
2271
- y: v.y
2272
- }, c = v.y + h.size.outerHeight, b = u + v.col, k = v.col; k < b; k++)
2293
+ for (var f = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[f](u, h), _ = {
2294
+ x: this.columnWidth * g.col,
2295
+ y: g.y
2296
+ }, c = g.y + h.size.outerHeight, b = u + g.col, k = g.col; k < b; k++)
2273
2297
  this.colYs[k] = c;
2274
2298
  return _;
2275
- }, r._getTopColPosition = function(h) {
2299
+ }, s._getTopColPosition = function(h) {
2276
2300
  var d = this._getTopColGroup(h), l = Math.min.apply(Math, d);
2277
2301
  return {
2278
2302
  col: d.indexOf(l),
2279
2303
  y: l
2280
2304
  };
2281
- }, r._getTopColGroup = function(h) {
2305
+ }, s._getTopColGroup = function(h) {
2282
2306
  if (h < 2)
2283
2307
  return this.colYs;
2284
2308
  for (var d = [], l = this.cols + 1 - h, u = 0; u < l; u++)
2285
2309
  d[u] = this._getColGroupY(u, h);
2286
2310
  return d;
2287
- }, r._getColGroupY = function(h, d) {
2311
+ }, s._getColGroupY = function(h, d) {
2288
2312
  if (d < 2)
2289
2313
  return this.colYs[h];
2290
2314
  var l = this.colYs.slice(h, h + d);
2291
2315
  return Math.max.apply(Math, l);
2292
- }, r._getHorizontalColPosition = function(h, d) {
2316
+ }, s._getHorizontalColPosition = function(h, d) {
2293
2317
  var l = this.horizontalColIndex % this.cols, u = h > 1 && l + h > this.cols;
2294
2318
  l = u ? 0 : l;
2295
2319
  var f = d.size.outerWidth && d.size.outerHeight;
@@ -2297,32 +2321,32 @@ function gi() {
2297
2321
  col: l,
2298
2322
  y: this._getColGroupY(l, h)
2299
2323
  };
2300
- }, r._manageStamp = function(h) {
2301
- var d = n(h), l = this._getElementOffset(h), u = this._getOption("originLeft"), f = u ? l.left : l.right, v = f + d.outerWidth, _ = Math.floor(f / this.columnWidth);
2324
+ }, s._manageStamp = function(h) {
2325
+ var d = n(h), l = this._getElementOffset(h), u = this._getOption("originLeft"), f = u ? l.left : l.right, g = f + d.outerWidth, _ = Math.floor(f / this.columnWidth);
2302
2326
  _ = Math.max(0, _);
2303
- var c = Math.floor(v / this.columnWidth);
2304
- c -= v % this.columnWidth ? 0 : 1, c = Math.min(this.cols - 1, c);
2327
+ var c = Math.floor(g / this.columnWidth);
2328
+ c -= g % this.columnWidth ? 0 : 1, c = Math.min(this.cols - 1, c);
2305
2329
  for (var b = this._getOption("originTop"), k = (b ? l.top : l.bottom) + d.outerHeight, m = _; m <= c; m++)
2306
2330
  this.colYs[m] = Math.max(k, this.colYs[m]);
2307
- }, r._getContainerSize = function() {
2331
+ }, s._getContainerSize = function() {
2308
2332
  this.maxY = Math.max.apply(Math, this.colYs);
2309
2333
  var h = {
2310
2334
  height: this.maxY
2311
2335
  };
2312
2336
  return this._getOption("fitWidth") && (h.width = this._getContainerFitWidth()), h;
2313
- }, r._getContainerFitWidth = function() {
2337
+ }, s._getContainerFitWidth = function() {
2314
2338
  for (var h = 0, d = this.cols; --d && this.colYs[d] === 0; )
2315
2339
  h++;
2316
2340
  return (this.cols - h) * this.columnWidth - this.gutter;
2317
- }, r.needsResizeLayout = function() {
2341
+ }, s.needsResizeLayout = function() {
2318
2342
  var h = this.containerWidth;
2319
2343
  return this.getContainerWidth(), h != this.containerWidth;
2320
2344
  }, p;
2321
2345
  });
2322
- })(Lt);
2323
- var vi = Lt.exports;
2324
- const pt = /* @__PURE__ */ St(vi);
2325
- var wt = { exports: {} };
2346
+ })(Dt);
2347
+ var _i = Dt.exports;
2348
+ const pt = /* @__PURE__ */ Lt(_i);
2349
+ var At = { exports: {} };
2326
2350
  /*!
2327
2351
  * imagesLoaded v4.1.4
2328
2352
  * JavaScript is all like "You images are done yet or what?"
@@ -2332,16 +2356,16 @@ var wt = { exports: {} };
2332
2356
  (function(e, t) {
2333
2357
  o.exports ? o.exports = t(
2334
2358
  e,
2335
- Ke()
2359
+ Je()
2336
2360
  ) : e.imagesLoaded = t(
2337
2361
  e,
2338
2362
  e.EvEmitter
2339
2363
  );
2340
2364
  })(
2341
- typeof window < "u" ? window : $t,
2365
+ typeof window < "u" ? window : wt,
2342
2366
  // -------------------------- factory -------------------------- //
2343
2367
  function(t, n) {
2344
- var p = t.jQuery, r = t.console;
2368
+ var p = t.jQuery, s = t.console;
2345
2369
  function h(c, b) {
2346
2370
  for (var k in b)
2347
2371
  c[k] = b[k];
@@ -2359,7 +2383,7 @@ var wt = { exports: {} };
2359
2383
  return new u(c, b, k);
2360
2384
  var m = c;
2361
2385
  if (typeof c == "string" && (m = document.querySelectorAll(c)), !m) {
2362
- r.error("Bad element for imagesLoaded " + (m || c));
2386
+ s.error("Bad element for imagesLoaded " + (m || c));
2363
2387
  return;
2364
2388
  }
2365
2389
  this.elements = l(m), this.options = h({}, this.options), typeof b == "function" ? k = b : h(this.options, b), k && this.on("always", k), this.getImages(), p && (this.jqDeferred = new p.Deferred()), setTimeout(this.check.bind(this));
@@ -2377,8 +2401,8 @@ var wt = { exports: {} };
2377
2401
  if (typeof this.options.background == "string") {
2378
2402
  var a = c.querySelectorAll(this.options.background);
2379
2403
  for (m = 0; m < a.length; m++) {
2380
- var g = a[m];
2381
- this.addElementBackgroundImages(g);
2404
+ var v = a[m];
2405
+ this.addElementBackgroundImages(v);
2382
2406
  }
2383
2407
  }
2384
2408
  }
@@ -2396,7 +2420,7 @@ var wt = { exports: {} };
2396
2420
  i && this.addBackground(i, c), m = k.exec(b.backgroundImage);
2397
2421
  }
2398
2422
  }, u.prototype.addImage = function(c) {
2399
- var b = new v(c);
2423
+ var b = new g(c);
2400
2424
  this.images.push(b);
2401
2425
  }, u.prototype.addBackground = function(c, b) {
2402
2426
  var k = new _(c, b);
@@ -2416,7 +2440,7 @@ var wt = { exports: {} };
2416
2440
  k.once("progress", b), k.check();
2417
2441
  });
2418
2442
  }, u.prototype.progress = function(c, b, k) {
2419
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !c.isLoaded, this.emitEvent("progress", [this, c, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, c), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + k, c, b);
2443
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !c.isLoaded, this.emitEvent("progress", [this, c, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, c), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " + k, c, b);
2420
2444
  }, u.prototype.complete = function() {
2421
2445
  var c = this.hasAnyBroken ? "fail" : "done";
2422
2446
  if (this.isComplete = !0, this.emitEvent(c, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
@@ -2424,34 +2448,34 @@ var wt = { exports: {} };
2424
2448
  this.jqDeferred[b](this);
2425
2449
  }
2426
2450
  };
2427
- function v(c) {
2451
+ function g(c) {
2428
2452
  this.img = c;
2429
2453
  }
2430
- v.prototype = Object.create(n.prototype), v.prototype.check = function() {
2454
+ g.prototype = Object.create(n.prototype), g.prototype.check = function() {
2431
2455
  var c = this.getIsImageComplete();
2432
2456
  if (c) {
2433
2457
  this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
2434
2458
  return;
2435
2459
  }
2436
2460
  this.proxyImage = new Image(), this.proxyImage.addEventListener("load", this), this.proxyImage.addEventListener("error", this), this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.proxyImage.src = this.img.src;
2437
- }, v.prototype.getIsImageComplete = function() {
2461
+ }, g.prototype.getIsImageComplete = function() {
2438
2462
  return this.img.complete && this.img.naturalWidth;
2439
- }, v.prototype.confirm = function(c, b) {
2463
+ }, g.prototype.confirm = function(c, b) {
2440
2464
  this.isLoaded = c, this.emitEvent("progress", [this, this.img, b]);
2441
- }, v.prototype.handleEvent = function(c) {
2465
+ }, g.prototype.handleEvent = function(c) {
2442
2466
  var b = "on" + c.type;
2443
2467
  this[b] && this[b](c);
2444
- }, v.prototype.onload = function() {
2468
+ }, g.prototype.onload = function() {
2445
2469
  this.confirm(!0, "onload"), this.unbindEvents();
2446
- }, v.prototype.onerror = function() {
2470
+ }, g.prototype.onerror = function() {
2447
2471
  this.confirm(!1, "onerror"), this.unbindEvents();
2448
- }, v.prototype.unbindEvents = function() {
2472
+ }, g.prototype.unbindEvents = function() {
2449
2473
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2450
2474
  };
2451
2475
  function _(c, b) {
2452
2476
  this.url = c, this.element = b, this.img = new Image();
2453
2477
  }
2454
- return _.prototype = Object.create(v.prototype), _.prototype.check = function() {
2478
+ return _.prototype = Object.create(g.prototype), _.prototype.check = function() {
2455
2479
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
2456
2480
  var c = this.getIsImageComplete();
2457
2481
  c && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
@@ -2467,26 +2491,9 @@ var wt = { exports: {} };
2467
2491
  }, u.makeJQueryPlugin(), u;
2468
2492
  }
2469
2493
  );
2470
- })(wt);
2471
- var yi = wt.exports;
2472
- const bi = /* @__PURE__ */ St(yi);
2473
- function ki(o) {
2474
- return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
2475
- var n = o.get(e);
2476
- n ? n.push(t) : o.set(e, [t]);
2477
- }, off: function(e, t) {
2478
- var n = o.get(e);
2479
- n && (t ? n.splice(n.indexOf(t) >>> 0, 1) : o.set(e, []));
2480
- }, emit: function(e, t) {
2481
- var n = o.get(e);
2482
- n && n.slice().map(function(p) {
2483
- p(t);
2484
- }), (n = o.get("*")) && n.slice().map(function(p) {
2485
- p(e, t);
2486
- });
2487
- } };
2488
- }
2489
- const ye = {
2494
+ })(At);
2495
+ var Ei = At.exports;
2496
+ const Ti = /* @__PURE__ */ Lt(Ei), ye = {
2490
2497
  "column-width": "columnWidth",
2491
2498
  "transition-duration": "transitionDuration",
2492
2499
  "item-selector": "itemSelector",
@@ -2499,94 +2506,94 @@ const ye = {
2499
2506
  "horizontal-order": "horizontalOrder",
2500
2507
  stagger: "stagger",
2501
2508
  "destroy-delay": "destroyDelay"
2502
- }, be = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded", Fe = "vuemasonry.destroy", _i = function(o) {
2509
+ }, be = "vuemasonry.itemAdded", We = "vuemasonry.itemRemoved", Fe = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", Ci = function(o) {
2503
2510
  return (o + "").toLowerCase() === "true";
2504
- }, Ei = function(o) {
2511
+ }, Ii = function(o) {
2505
2512
  return isNaN(o) ? o : parseInt(o);
2506
- }, Ti = function(o) {
2513
+ }, $i = function(o) {
2507
2514
  const e = {};
2508
2515
  return Array.prototype.slice.call(o).forEach(function(n) {
2509
- Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = _i(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = Ei(n.value) : e[ye[n.name]] = n.value);
2516
+ Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = Ci(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = Ii(n.value) : e[ye[n.name]] = n.value);
2510
2517
  }), e;
2511
- }, Pt = {};
2512
- Pt.install = function(o, e) {
2513
- const t = ki(), n = "VueMasonry", p = o;
2518
+ }, xt = {};
2519
+ xt.install = function(o, e) {
2520
+ const t = St(), n = "VueMasonry", p = o;
2514
2521
  p.directive("masonry", {
2515
2522
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2516
- mounted: function(r, h) {
2523
+ mounted: function(s, h) {
2517
2524
  if (!pt)
2518
2525
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2519
- const d = Ti(r.attributes), l = new pt(r, d), u = h.value || n, f = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, v = function() {
2526
+ const d = $i(s.attributes), l = new pt(s, d), u = h.value || n, f = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, g = function() {
2520
2527
  l.reloadItems(), l.layout();
2521
2528
  };
2522
- It(() => {
2523
- v();
2529
+ $t(() => {
2530
+ g();
2524
2531
  });
2525
2532
  const _ = function(b) {
2526
- v();
2533
+ g();
2527
2534
  }, c = function(b) {
2528
- t.off(`${be}__${u}`, _), t.off(`${ze}__${u}`, _), t.off(`${We}__${u}`, _), t.off(`${Fe}__${u}`, c);
2535
+ t.off(`${be}__${u}`, _), t.off(`${We}__${u}`, _), t.off(`${Fe}__${u}`, _), t.off(`${Ne}__${u}`, c);
2529
2536
  const k = f && !Number.isNaN(f) ? f : 0;
2530
2537
  setTimeout(function() {
2531
2538
  l.destroy();
2532
2539
  }, k);
2533
2540
  };
2534
- t.on(`${be}__${u}`, _), t.on(`${ze}__${u}`, _), t.on(`${We}__${u}`, _), t.on(`${Fe}__${u}`, c);
2541
+ t.on(`${be}__${u}`, _), t.on(`${We}__${u}`, _), t.on(`${Fe}__${u}`, _), t.on(`${Ne}__${u}`, c);
2535
2542
  },
2536
- unbind: function(r, h) {
2543
+ unbind: function(s, h) {
2537
2544
  const d = h.value || n;
2538
- t.emit(`${Fe}__${d}`);
2545
+ t.emit(`${Ne}__${d}`);
2539
2546
  }
2540
2547
  }), p.directive("masonryTile", {
2541
- mounted: function(r, h) {
2548
+ mounted: function(s, h) {
2542
2549
  const d = h.value || n;
2543
2550
  t.emit(`${be}__${d}`, {
2544
- element: r
2545
- }), new bi(r, function() {
2546
- t.emit(`${We}__${d}`, {
2547
- element: r
2551
+ element: s
2552
+ }), new Ti(s, function() {
2553
+ t.emit(`${Fe}__${d}`, {
2554
+ element: s
2548
2555
  });
2549
2556
  });
2550
2557
  },
2551
- unbind: function(r, h) {
2558
+ unbind: function(s, h) {
2552
2559
  const d = h.value || n;
2553
- t.emit(`${ze}__${d}`, {
2554
- element: r
2560
+ t.emit(`${We}__${d}`, {
2561
+ element: s
2555
2562
  });
2556
2563
  }
2557
2564
  });
2558
2565
  {
2559
- const r = function(h) {
2566
+ const s = function(h) {
2560
2567
  const d = h || n;
2561
2568
  t.emit(`${be}__${d}`);
2562
2569
  };
2563
- o.config.globalProperties.$redrawVueMasonry = r, o.provide("redrawVueMasonry", r);
2570
+ o.config.globalProperties.$redrawVueMasonry = s, o.provide("redrawVueMasonry", s);
2564
2571
  }
2565
2572
  };
2566
- function Ge(o, e = {}, t) {
2573
+ function Ke(o, e = {}, t) {
2567
2574
  for (const n in o) {
2568
- const p = o[n], r = t ? `${t}:${n}` : n;
2569
- typeof p == "object" && p !== null ? Ge(p, e, r) : typeof p == "function" && (e[r] = p);
2575
+ const p = o[n], s = t ? `${t}:${n}` : n;
2576
+ typeof p == "object" && p !== null ? Ke(p, e, s) : typeof p == "function" && (e[s] = p);
2570
2577
  }
2571
2578
  return e;
2572
2579
  }
2573
- const Ci = { run: (o) => o() }, Ii = () => Ci, xt = typeof console.createTask < "u" ? console.createTask : Ii;
2574
- function $i(o, e) {
2575
- const t = e.shift(), n = xt(t);
2580
+ const Si = { run: (o) => o() }, Vi = () => Si, Ot = typeof console.createTask < "u" ? console.createTask : Vi;
2581
+ function wi(o, e) {
2582
+ const t = e.shift(), n = Ot(t);
2576
2583
  return o.reduce(
2577
- (p, r) => p.then(() => n.run(() => r(...e))),
2584
+ (p, s) => p.then(() => n.run(() => s(...e))),
2578
2585
  Promise.resolve()
2579
2586
  );
2580
2587
  }
2581
- function Si(o, e) {
2582
- const t = e.shift(), n = xt(t);
2588
+ function Li(o, e) {
2589
+ const t = e.shift(), n = Ot(t);
2583
2590
  return Promise.all(o.map((p) => n.run(() => p(...e))));
2584
2591
  }
2585
- function Ne(o, e) {
2592
+ function Ue(o, e) {
2586
2593
  for (const t of [...o])
2587
2594
  t(e);
2588
2595
  }
2589
- class Vi {
2596
+ class Pi {
2590
2597
  constructor() {
2591
2598
  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);
2592
2599
  }
@@ -2595,12 +2602,12 @@ class Vi {
2595
2602
  return () => {
2596
2603
  };
2597
2604
  const p = e;
2598
- let r;
2605
+ let s;
2599
2606
  for (; this._deprecatedHooks[e]; )
2600
- r = this._deprecatedHooks[e], e = r.to;
2601
- if (r && !n.allowDeprecated) {
2602
- let h = r.message;
2603
- h || (h = `${p} hook has been deprecated` + (r.to ? `, please use ${r.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(h) || (console.warn(h), this._deprecatedMessages.add(h));
2607
+ s = this._deprecatedHooks[e], e = s.to;
2608
+ if (s && !n.allowDeprecated) {
2609
+ let h = s.message;
2610
+ h || (h = `${p} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(h) || (console.warn(h), this._deprecatedMessages.add(h));
2604
2611
  }
2605
2612
  if (!t.name)
2606
2613
  try {
@@ -2615,7 +2622,7 @@ class Vi {
2615
2622
  };
2616
2623
  }
2617
2624
  hookOnce(e, t) {
2618
- let n, p = (...r) => (typeof n == "function" && n(), n = void 0, p = void 0, t(...r));
2625
+ let n, p = (...s) => (typeof n == "function" && n(), n = void 0, p = void 0, t(...s));
2619
2626
  return n = this.hook(e, p), n;
2620
2627
  }
2621
2628
  removeHook(e, t) {
@@ -2637,7 +2644,7 @@ class Vi {
2637
2644
  this.deprecateHook(t, e[t]);
2638
2645
  }
2639
2646
  addHooks(e) {
2640
- const t = Ge(e), n = Object.keys(t).map(
2647
+ const t = Ke(e), n = Object.keys(t).map(
2641
2648
  (p) => this.hook(p, t[p])
2642
2649
  );
2643
2650
  return () => {
@@ -2646,7 +2653,7 @@ class Vi {
2646
2653
  };
2647
2654
  }
2648
2655
  removeHooks(e) {
2649
- const t = Ge(e);
2656
+ const t = Ke(e);
2650
2657
  for (const n in t)
2651
2658
  this.removeHook(n, t[n]);
2652
2659
  }
@@ -2655,21 +2662,21 @@ class Vi {
2655
2662
  delete this._hooks[e];
2656
2663
  }
2657
2664
  callHook(e, ...t) {
2658
- return t.unshift(e), this.callHookWith($i, e, ...t);
2665
+ return t.unshift(e), this.callHookWith(wi, e, ...t);
2659
2666
  }
2660
2667
  callHookParallel(e, ...t) {
2661
- return t.unshift(e), this.callHookWith(Si, e, ...t);
2668
+ return t.unshift(e), this.callHookWith(Li, e, ...t);
2662
2669
  }
2663
2670
  callHookWith(e, t, ...n) {
2664
2671
  const p = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2665
- this._before && Ne(this._before, p);
2666
- const r = e(
2672
+ this._before && Ue(this._before, p);
2673
+ const s = e(
2667
2674
  t in this._hooks ? [...this._hooks[t]] : [],
2668
2675
  n
2669
2676
  );
2670
- return r instanceof Promise ? r.finally(() => {
2671
- this._after && p && Ne(this._after, p);
2672
- }) : (this._after && p && Ne(this._after, p), r);
2677
+ return s instanceof Promise ? s.finally(() => {
2678
+ this._after && p && Ue(this._after, p);
2679
+ }) : (this._after && p && Ue(this._after, p), s);
2673
2680
  }
2674
2681
  beforeEach(e) {
2675
2682
  return this._before = this._before || [], this._before.push(e), () => {
@@ -2688,20 +2695,20 @@ class Vi {
2688
2695
  };
2689
2696
  }
2690
2697
  }
2691
- function Li() {
2692
- return new Vi();
2698
+ function Di() {
2699
+ return new Pi();
2693
2700
  }
2694
- function wi(o) {
2701
+ function Ai(o) {
2695
2702
  return Array.isArray(o) ? o : [o];
2696
2703
  }
2697
- const Pi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2704
+ const xi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2698
2705
  "base",
2699
2706
  "meta",
2700
2707
  "link",
2701
2708
  "style",
2702
2709
  "script",
2703
2710
  "noscript"
2704
- ], xi = [
2711
+ ], Oi = [
2705
2712
  "title",
2706
2713
  "titleTemplate",
2707
2714
  "templateParams",
@@ -2713,19 +2720,19 @@ const Pi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2713
2720
  "style",
2714
2721
  "script",
2715
2722
  "noscript"
2716
- ], Ai = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], At = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Oi = typeof window < "u";
2717
- function Je(o) {
2723
+ ], Hi = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Ht = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Mi = typeof window < "u";
2724
+ function Ze(o) {
2718
2725
  let e = 9;
2719
2726
  for (let t = 0; t < o.length; )
2720
2727
  e = Math.imul(e ^ o.charCodeAt(t++), 9 ** 9);
2721
2728
  return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
2722
2729
  }
2723
2730
  function ht(o) {
2724
- return o._h || Je(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2731
+ return o._h || Ze(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2725
2732
  }
2726
- function Ot(o, e) {
2733
+ function Mt(o, e) {
2727
2734
  const { props: t, tag: n } = o;
2728
- if (Ai.includes(n))
2735
+ if (Hi.includes(n))
2729
2736
  return n;
2730
2737
  if (n === "link" && t.rel === "canonical")
2731
2738
  return "canonical";
@@ -2733,54 +2740,54 @@ function Ot(o, e) {
2733
2740
  return "charset";
2734
2741
  const p = ["id"];
2735
2742
  n === "meta" && p.push("name", "property", "http-equiv");
2736
- for (const r of p)
2737
- if (typeof t[r] < "u") {
2738
- const h = String(t[r]);
2739
- return e && !e(h) ? !1 : `${n}:${r}:${h}`;
2743
+ for (const s of p)
2744
+ if (typeof t[s] < "u") {
2745
+ const h = String(t[s]);
2746
+ return e && !e(h) ? !1 : `${n}:${s}:${h}`;
2740
2747
  }
2741
2748
  return !1;
2742
2749
  }
2743
2750
  function ft(o, e) {
2744
2751
  return o == null ? e || null : typeof o == "function" ? o(e) : o;
2745
2752
  }
2746
- async function Di(o, e, t) {
2753
+ async function Ri(o, e, t) {
2747
2754
  const n = {
2748
2755
  tag: o,
2749
- props: await Dt(
2756
+ props: await Rt(
2750
2757
  // explicitly check for an object
2751
2758
  // @ts-expect-error untyped
2752
2759
  typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
2753
2760
  ["templateParams", "titleTemplate"].includes(o)
2754
2761
  )
2755
2762
  };
2756
- return At.forEach((p) => {
2757
- const r = typeof n.props[p] < "u" ? n.props[p] : t[p];
2758
- typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(p) || Pi.includes(n.tag)) && (n[p === "children" ? "innerHTML" : p] = r), delete n.props[p]);
2763
+ return Ht.forEach((p) => {
2764
+ const s = typeof n.props[p] < "u" ? n.props[p] : t[p];
2765
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(p) || xi.includes(n.tag)) && (n[p === "children" ? "innerHTML" : p] = s), delete n.props[p]);
2759
2766
  }), 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((p) => ({ ...n, props: { ...n.props, content: p } })) : n;
2760
2767
  }
2761
- function Hi(o) {
2768
+ function Bi(o) {
2762
2769
  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(" ");
2763
2770
  }
2764
- async function Dt(o, e) {
2771
+ async function Rt(o, e) {
2765
2772
  for (const t of Object.keys(o)) {
2766
2773
  if (t === "class") {
2767
- o[t] = Hi(o[t]);
2774
+ o[t] = Bi(o[t]);
2768
2775
  continue;
2769
2776
  }
2770
- if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !At.includes(t)) {
2777
+ if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Ht.includes(t)) {
2771
2778
  const n = String(o[t]), p = t.startsWith("data-");
2772
2779
  n === "true" || n === "" ? o[t] = p ? "true" : !0 : o[t] || (p && n === "false" ? o[t] = "false" : delete o[t]);
2773
2780
  }
2774
2781
  }
2775
2782
  return o;
2776
2783
  }
2777
- const Mi = 10;
2778
- async function Bi(o) {
2784
+ const zi = 10;
2785
+ async function Wi(o) {
2779
2786
  const e = [];
2780
- return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && xi.includes(t)).forEach(([t, n]) => {
2781
- const p = wi(n);
2782
- e.push(...p.map((r) => Di(t, r, o)).flat());
2783
- }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Mi) + n, t));
2787
+ return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Oi.includes(t)).forEach(([t, n]) => {
2788
+ const p = Ai(n);
2789
+ e.push(...p.map((s) => Ri(t, s, o)).flat());
2790
+ }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << zi) + n, t));
2784
2791
  }
2785
2792
  const mt = {
2786
2793
  // tags
@@ -2797,7 +2804,7 @@ function Ce(o) {
2797
2804
  const t = o.tagPriority;
2798
2805
  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 mt && (e = mt[o.tag]), typeof t == "string" && t in gt ? e + gt[t] : e);
2799
2806
  }
2800
- const Ri = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Ht = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
2807
+ const Fi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Bt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
2801
2808
  function _e(o, e, t) {
2802
2809
  if (typeof o != "string" || !o.includes("%"))
2803
2810
  return o;
@@ -2815,17 +2822,17 @@ function _e(o, e, t) {
2815
2822
  typeof d == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (l, u) => `${d}${u}`).trim());
2816
2823
  }), o.includes(oe) && (o.endsWith(oe) && (o = o.slice(0, -oe.length).trim()), o.startsWith(oe) && (o = o.slice(oe.length).trim()), o = o.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), o = _e(o, { separator: t }, t)), o;
2817
2824
  }
2818
- async function zi(o) {
2825
+ async function Ni(o) {
2819
2826
  const e = {
2820
2827
  tag: o.tagName.toLowerCase(),
2821
- props: await Dt(
2828
+ props: await Rt(
2822
2829
  o.getAttributeNames().reduce((t, n) => ({ ...t, [n]: o.getAttribute(n) }), {})
2823
2830
  ),
2824
2831
  innerHTML: o.innerHTML
2825
2832
  };
2826
- return e._d = Ot(e), e;
2833
+ return e._d = Mt(e), e;
2827
2834
  }
2828
- async function Wi(o, e = {}) {
2835
+ async function Ui(o, e = {}) {
2829
2836
  const t = e.document || o.resolvedOptions.document;
2830
2837
  if (!t)
2831
2838
  return;
@@ -2837,35 +2844,35 @@ async function Wi(o, e = {}) {
2837
2844
  id: ke.includes(f.tag) ? ht(f) : f.tag,
2838
2845
  shouldRender: !0
2839
2846
  }));
2840
- let r = o._dom;
2841
- if (!r) {
2842
- r = {
2847
+ let s = o._dom;
2848
+ if (!s) {
2849
+ s = {
2843
2850
  elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
2844
2851
  };
2845
2852
  for (const f of ["body", "head"]) {
2846
- const v = t?.[f]?.children;
2847
- for (const _ of [...v].filter((c) => ke.includes(c.tagName.toLowerCase())))
2848
- r.elMap[_.getAttribute("data-hid") || ht(await zi(_))] = _;
2853
+ const g = t?.[f]?.children;
2854
+ for (const _ of [...g].filter((c) => ke.includes(c.tagName.toLowerCase())))
2855
+ s.elMap[_.getAttribute("data-hid") || ht(await Ni(_))] = _;
2849
2856
  }
2850
2857
  }
2851
- r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
2852
- function h(f, v, _) {
2853
- const c = `${f}:${v}`;
2854
- r.sideEffects[c] = _, delete r.pendingSideEffects[c];
2858
+ s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
2859
+ function h(f, g, _) {
2860
+ const c = `${f}:${g}`;
2861
+ s.sideEffects[c] = _, delete s.pendingSideEffects[c];
2855
2862
  }
2856
- function d({ id: f, $el: v, tag: _ }) {
2863
+ function d({ id: f, $el: g, tag: _ }) {
2857
2864
  const c = _.tag.endsWith("Attrs");
2858
- r.elMap[f] = v, c || (["textContent", "innerHTML"].forEach((b) => {
2859
- _[b] && _[b] !== v[b] && (v[b] = _[b]);
2865
+ s.elMap[f] = g, c || (["textContent", "innerHTML"].forEach((b) => {
2866
+ _[b] && _[b] !== g[b] && (g[b] = _[b]);
2860
2867
  }), h(f, "el", () => {
2861
- r.elMap[f].remove(), delete r.elMap[f];
2868
+ s.elMap[f].remove(), delete s.elMap[f];
2862
2869
  })), Object.entries(_.props).forEach(([b, k]) => {
2863
2870
  const m = `attr:${b}`;
2864
2871
  if (b === "class")
2865
2872
  for (const i of (k || "").split(" ").filter(Boolean))
2866
- c && h(f, `${m}:${i}`, () => v.classList.remove(i)), !v.classList.contains(i) && v.classList.add(i);
2873
+ c && h(f, `${m}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
2867
2874
  else
2868
- v.getAttribute(b) !== k && v.setAttribute(b, k === !0 ? "" : String(k)), c && h(f, m, () => v.removeAttribute(b));
2875
+ g.getAttribute(b) !== k && g.setAttribute(b, k === !0 ? "" : String(k)), c && h(f, m, () => g.removeAttribute(b));
2869
2876
  });
2870
2877
  }
2871
2878
  const l = [], u = {
@@ -2874,60 +2881,60 @@ async function Wi(o, e = {}) {
2874
2881
  head: void 0
2875
2882
  };
2876
2883
  for (const f of p) {
2877
- const { tag: v, shouldRender: _, id: c } = f;
2884
+ const { tag: g, shouldRender: _, id: c } = f;
2878
2885
  if (_) {
2879
- if (v.tag === "title") {
2880
- t.title = v.textContent;
2886
+ if (g.tag === "title") {
2887
+ t.title = g.textContent;
2881
2888
  continue;
2882
2889
  }
2883
- f.$el = f.$el || r.elMap[c], f.$el ? d(f) : ke.includes(v.tag) && l.push(f);
2890
+ f.$el = f.$el || s.elMap[c], f.$el ? d(f) : ke.includes(g.tag) && l.push(f);
2884
2891
  }
2885
2892
  }
2886
2893
  for (const f of l) {
2887
- const v = f.tag.tagPosition || "head";
2888
- f.$el = t.createElement(f.tag.tag), d(f), u[v] = u[v] || t.createDocumentFragment(), u[v].appendChild(f.$el);
2894
+ const g = f.tag.tagPosition || "head";
2895
+ f.$el = t.createElement(f.tag.tag), d(f), u[g] = u[g] || t.createDocumentFragment(), u[g].appendChild(f.$el);
2889
2896
  }
2890
2897
  for (const f of p)
2891
2898
  await o.hooks.callHook("dom:renderTag", f, t, h);
2892
- u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(r.pendingSideEffects).forEach((f) => f()), o._dom = r, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
2899
+ u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(s.pendingSideEffects).forEach((f) => f()), o._dom = s, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
2893
2900
  }
2894
- async function Fi(o, e = {}) {
2901
+ async function qi(o, e = {}) {
2895
2902
  const t = e.delayFn || ((n) => setTimeout(n, 10));
2896
2903
  return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
2897
- await Wi(o, e), delete o._domUpdatePromise, n();
2904
+ await Ui(o, e), delete o._domUpdatePromise, n();
2898
2905
  }));
2899
2906
  }
2900
2907
  // @__NO_SIDE_EFFECTS__
2901
- function Ni(o) {
2908
+ function Gi(o) {
2902
2909
  return (e) => {
2903
2910
  const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
2904
2911
  return t && e.push(JSON.parse(t)), {
2905
2912
  mode: "client",
2906
2913
  hooks: {
2907
2914
  "entries:updated": function(n) {
2908
- Fi(n, o);
2915
+ qi(n, o);
2909
2916
  }
2910
2917
  }
2911
2918
  };
2912
2919
  };
2913
2920
  }
2914
- const Ui = ["templateParams", "htmlAttrs", "bodyAttrs"], qi = {
2921
+ const ji = ["templateParams", "htmlAttrs", "bodyAttrs"], Yi = {
2915
2922
  hooks: {
2916
2923
  "tag:normalise": function({ tag: o }) {
2917
2924
  ["hid", "vmid", "key"].forEach((n) => {
2918
2925
  o.props[n] && (o.key = o.props[n], delete o.props[n]);
2919
2926
  });
2920
- const t = Ot(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2927
+ const t = Mt(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2921
2928
  t && (o._d = t);
2922
2929
  },
2923
2930
  "tags:resolve": function(o) {
2924
2931
  const e = {};
2925
2932
  o.tags.forEach((n) => {
2926
- const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, r = e[p];
2927
- if (r) {
2933
+ const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, s = e[p];
2934
+ if (s) {
2928
2935
  let d = n?.tagDuplicateStrategy;
2929
- if (!d && Ui.includes(n.tag) && (d = "merge"), d === "merge") {
2930
- const l = r.props;
2936
+ if (!d && ji.includes(n.tag) && (d = "merge"), d === "merge") {
2937
+ const l = s.props;
2931
2938
  ["class", "style"].forEach((u) => {
2932
2939
  l[u] && (n.props[u] ? (u === "style" && !l[u].endsWith(";") && (l[u] += ";"), n.props[u] = `${l[u]} ${n.props[u]}`) : n.props[u] = l[u]);
2933
2940
  }), e[p].props = {
@@ -2935,10 +2942,10 @@ const Ui = ["templateParams", "htmlAttrs", "bodyAttrs"], qi = {
2935
2942
  ...n.props
2936
2943
  };
2937
2944
  return;
2938
- } else if (n._e === r._e) {
2939
- r._duped = r._duped || [], n._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(n);
2945
+ } else if (n._e === s._e) {
2946
+ s._duped = s._duped || [], n._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(n);
2940
2947
  return;
2941
- } else if (Ce(n) > Ce(r))
2948
+ } else if (Ce(n) > Ce(s))
2942
2949
  return;
2943
2950
  }
2944
2951
  const h = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
@@ -2955,7 +2962,7 @@ const Ui = ["templateParams", "htmlAttrs", "bodyAttrs"], qi = {
2955
2962
  }), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
2956
2963
  }
2957
2964
  }
2958
- }, Gi = {
2965
+ }, Ki = {
2959
2966
  mode: "server",
2960
2967
  hooks: {
2961
2968
  "tags:resolve": function(o) {
@@ -2969,85 +2976,85 @@ const Ui = ["templateParams", "htmlAttrs", "bodyAttrs"], qi = {
2969
2976
  });
2970
2977
  }
2971
2978
  }
2972
- }, ji = ["script", "link", "bodyAttrs"];
2973
- function Yi(o) {
2979
+ }, Qi = ["script", "link", "bodyAttrs"];
2980
+ function Ji(o) {
2974
2981
  const e = {}, t = {};
2975
2982
  return Object.entries(o.props).forEach(([n, p]) => {
2976
- n.startsWith("on") && typeof p == "function" ? (Ht.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = p) : e[n] = p;
2983
+ n.startsWith("on") && typeof p == "function" ? (Bt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = p) : e[n] = p;
2977
2984
  }), { props: e, eventHandlers: t };
2978
2985
  }
2979
- const Ki = (o) => ({
2986
+ const Xi = (o) => ({
2980
2987
  hooks: {
2981
2988
  "tags:resolve": function(e) {
2982
2989
  for (const t of e.tags)
2983
- if (ji.includes(t.tag)) {
2984
- const { props: n, eventHandlers: p } = Yi(t);
2985
- t.props = n, Object.keys(p).length && ((t.props.src || t.props.href) && (t.key = t.key || Je(t.props.src || t.props.href)), t._eventHandlers = p);
2990
+ if (Qi.includes(t.tag)) {
2991
+ const { props: n, eventHandlers: p } = Ji(t);
2992
+ t.props = n, Object.keys(p).length && ((t.props.src || t.props.href) && (t.key = t.key || Ze(t.props.src || t.props.href)), t._eventHandlers = p);
2986
2993
  }
2987
2994
  },
2988
2995
  "dom:renderTag": function(e, t, n) {
2989
2996
  if (!e.tag._eventHandlers)
2990
2997
  return;
2991
2998
  const p = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2992
- Object.entries(e.tag._eventHandlers).forEach(([r, h]) => {
2993
- const d = `${e.tag._d || e.tag._p}:${r}`, l = r.slice(2).toLowerCase(), u = `data-h-${l}`;
2999
+ Object.entries(e.tag._eventHandlers).forEach(([s, h]) => {
3000
+ const d = `${e.tag._d || e.tag._p}:${s}`, l = s.slice(2).toLowerCase(), u = `data-h-${l}`;
2994
3001
  if (n(e.id, d, () => {
2995
3002
  }), e.$el.hasAttribute(u))
2996
3003
  return;
2997
3004
  e.$el.setAttribute(u, "");
2998
3005
  let f;
2999
- const v = (_) => {
3006
+ const g = (_) => {
3000
3007
  h(_), f?.disconnect();
3001
3008
  };
3002
- r in e.$el.dataset ? v(new Event(r.replace("on", ""))) : Ht.includes(r) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
3003
- _.some((b) => b.attributeName === `data-${r}`) && (v(new Event(r.replace("on", ""))), f?.disconnect());
3009
+ s in e.$el.dataset ? g(new Event(s.replace("on", ""))) : Bt.includes(s) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
3010
+ _.some((b) => b.attributeName === `data-${s}`) && (g(new Event(s.replace("on", ""))), f?.disconnect());
3004
3011
  }), f.observe(e.$el, {
3005
3012
  attributes: !0
3006
- })) : p.addEventListener(l, v), n(e.id, d, () => {
3007
- f?.disconnect(), p.removeEventListener(l, v), e.$el.removeAttribute(u);
3013
+ })) : p.addEventListener(l, g), n(e.id, d, () => {
3014
+ f?.disconnect(), p.removeEventListener(l, g), e.$el.removeAttribute(u);
3008
3015
  });
3009
3016
  });
3010
3017
  }
3011
3018
  }
3012
- }), Qi = ["link", "style", "script", "noscript"], Ji = {
3019
+ }), Zi = ["link", "style", "script", "noscript"], er = {
3013
3020
  hooks: {
3014
3021
  "tag:normalise": ({ tag: o }) => {
3015
- o.key && Qi.includes(o.tag) && (o.props["data-hid"] = o._h = Je(o.key));
3022
+ o.key && Zi.includes(o.tag) && (o.props["data-hid"] = o._h = Ze(o.key));
3016
3023
  }
3017
3024
  }
3018
- }, Xi = {
3025
+ }, tr = {
3019
3026
  hooks: {
3020
3027
  "tags:resolve": (o) => {
3021
3028
  const e = (t) => o.tags.find((n) => n._d === t)?._p;
3022
- for (const { prefix: t, offset: n } of Ri)
3023
- for (const p of o.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
3024
- const r = e(
3029
+ for (const { prefix: t, offset: n } of Fi)
3030
+ for (const p of o.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
3031
+ const s = e(
3025
3032
  p.tagPriority.replace(t, "")
3026
3033
  );
3027
- typeof r < "u" && (p._p = r + n);
3034
+ typeof s < "u" && (p._p = s + n);
3028
3035
  }
3029
3036
  o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ce(t) - Ce(n));
3030
3037
  }
3031
3038
  }
3032
- }, Zi = {
3039
+ }, or = {
3033
3040
  meta: "content",
3034
3041
  link: "href",
3035
3042
  htmlAttrs: "lang"
3036
- }, er = (o) => ({
3043
+ }, nr = (o) => ({
3037
3044
  hooks: {
3038
3045
  "tags:resolve": (e) => {
3039
- const { tags: t } = e, n = t.find((d) => d.tag === "title")?.textContent, p = t.findIndex((d) => d.tag === "templateParams"), r = p !== -1 ? t[p].props : {}, h = r.separator || "|";
3040
- delete r.separator, r.pageTitle = _e(r.pageTitle || n || "", r, h);
3046
+ const { tags: t } = e, n = t.find((d) => d.tag === "title")?.textContent, p = t.findIndex((d) => d.tag === "templateParams"), s = p !== -1 ? t[p].props : {}, h = s.separator || "|";
3047
+ delete s.separator, s.pageTitle = _e(s.pageTitle || n || "", s, h);
3041
3048
  for (const d of t.filter((l) => l.processTemplateParams !== !1)) {
3042
- const l = Zi[d.tag];
3043
- l && typeof d.props[l] == "string" ? d.props[l] = _e(d.props[l], r, h) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((u) => {
3044
- typeof d[u] == "string" && (d[u] = _e(d[u], r, h));
3049
+ const l = or[d.tag];
3050
+ l && typeof d.props[l] == "string" ? d.props[l] = _e(d.props[l], s, h) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((u) => {
3051
+ typeof d[u] == "string" && (d[u] = _e(d[u], s, h));
3045
3052
  });
3046
3053
  }
3047
- o._templateParams = r, o._separator = h, e.tags = t.filter((d) => d.tag !== "templateParams");
3054
+ o._templateParams = s, o._separator = h, e.tags = t.filter((d) => d.tag !== "templateParams");
3048
3055
  }
3049
3056
  }
3050
- }), tr = {
3057
+ }), ir = {
3051
3058
  hooks: {
3052
3059
  "tags:resolve": (o) => {
3053
3060
  const { tags: e } = o;
@@ -3068,7 +3075,7 @@ const Ki = (o) => ({
3068
3075
  t !== -1 && delete e[t], o.tags = e.filter(Boolean);
3069
3076
  }
3070
3077
  }
3071
- }, or = {
3078
+ }, rr = {
3072
3079
  hooks: {
3073
3080
  "tags:afterResolve": function(o) {
3074
3081
  for (const e of o.tags)
@@ -3077,27 +3084,27 @@ const Ki = (o) => ({
3077
3084
  }
3078
3085
  };
3079
3086
  // @__NO_SIDE_EFFECTS__
3080
- function nr(o = {}) {
3081
- const e = ir(o);
3082
- return e.use(/* @__PURE__ */ Ni()), e;
3087
+ function sr(o = {}) {
3088
+ const e = ar(o);
3089
+ return e.use(/* @__PURE__ */ Gi()), e;
3083
3090
  }
3084
3091
  function vt(o, e) {
3085
3092
  return !o || o === "server" && e || o === "client" && !e;
3086
3093
  }
3087
- function ir(o = {}) {
3088
- const e = Li();
3089
- e.addHooks(o.hooks || {}), o.document = o.document || (Oi ? document : void 0);
3094
+ function ar(o = {}) {
3095
+ const e = Di();
3096
+ e.addHooks(o.hooks || {}), o.document = o.document || (Mi ? document : void 0);
3090
3097
  const t = !o.document, n = () => {
3091
3098
  d.dirty = !0, e.callHook("entries:updated", d);
3092
3099
  };
3093
- let p = 0, r = [];
3100
+ let p = 0, s = [];
3094
3101
  const h = [], d = {
3095
3102
  plugins: h,
3096
3103
  dirty: !1,
3097
3104
  resolvedOptions: o,
3098
3105
  hooks: e,
3099
3106
  headEntries() {
3100
- return r;
3107
+ return s;
3101
3108
  },
3102
3109
  use(l) {
3103
3110
  const u = typeof l == "function" ? l(d) : l;
@@ -3110,24 +3117,24 @@ function ir(o = {}) {
3110
3117
  input: l,
3111
3118
  ...u
3112
3119
  };
3113
- return vt(f.mode, t) && (r.push(f), n()), {
3120
+ return vt(f.mode, t) && (s.push(f), n()), {
3114
3121
  dispose() {
3115
- r = r.filter((v) => v._i !== f._i), e.callHook("entries:updated", d), n();
3122
+ s = s.filter((g) => g._i !== f._i), e.callHook("entries:updated", d), n();
3116
3123
  },
3117
3124
  // a patch is the same as creating a new entry, just a nice DX
3118
- patch(v) {
3119
- r = r.map((_) => (_._i === f._i && (_.input = f.input = v), _)), n();
3125
+ patch(g) {
3126
+ s = s.map((_) => (_._i === f._i && (_.input = f.input = g), _)), n();
3120
3127
  }
3121
3128
  };
3122
3129
  },
3123
3130
  async resolveTags() {
3124
- const l = { tags: [], entries: [...r] };
3131
+ const l = { tags: [], entries: [...s] };
3125
3132
  await e.callHook("entries:resolve", l);
3126
3133
  for (const u of l.entries) {
3127
3134
  const f = u.resolvedInput || u.input;
3128
3135
  if (u.resolvedInput = await (u.transform ? u.transform(f) : f), u.resolvedInput)
3129
- for (const v of await Bi(u)) {
3130
- const _ = { tag: v, entry: u, resolvedOptions: d.resolvedOptions };
3136
+ for (const g of await Wi(u)) {
3137
+ const _ = { tag: g, entry: u, resolvedOptions: d.resolvedOptions };
3131
3138
  await e.callHook("tag:normalise", _), l.tags.push(_.tag);
3132
3139
  }
3133
3140
  }
@@ -3136,51 +3143,51 @@ function ir(o = {}) {
3136
3143
  ssr: t
3137
3144
  };
3138
3145
  return [
3139
- qi,
3140
- Gi,
3146
+ Yi,
3141
3147
  Ki,
3142
- Ji,
3143
3148
  Xi,
3144
3149
  er,
3145
3150
  tr,
3146
- or,
3151
+ nr,
3152
+ ir,
3153
+ rr,
3147
3154
  ...o?.plugins || []
3148
3155
  ].forEach((l) => d.use(l)), d.hooks.callHook("init", d), d;
3149
3156
  }
3150
- const rr = ko.startsWith("3");
3151
- function sr(o) {
3152
- return typeof o == "function" ? o() : s(o);
3157
+ const lr = Eo.startsWith("3");
3158
+ function ur(o) {
3159
+ return typeof o == "function" ? o() : r(o);
3153
3160
  }
3154
- function je(o, e = "") {
3161
+ function Qe(o, e = "") {
3155
3162
  if (o instanceof Promise)
3156
3163
  return o;
3157
- const t = sr(o);
3158
- return !o || !t ? t : Array.isArray(t) ? t.map((n) => je(n, e)) : typeof t == "object" ? Object.fromEntries(
3159
- Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, s(p)] : [n, je(p, n)])
3164
+ const t = ur(o);
3165
+ return !o || !t ? t : Array.isArray(t) ? t.map((n) => Qe(n, e)) : typeof t == "object" ? Object.fromEntries(
3166
+ Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, r(p)] : [n, Qe(p, n)])
3160
3167
  ) : t;
3161
3168
  }
3162
- const ar = {
3169
+ const dr = {
3163
3170
  hooks: {
3164
3171
  "entries:resolve": function(o) {
3165
3172
  for (const e of o.entries)
3166
- e.resolvedInput = je(e.input);
3173
+ e.resolvedInput = Qe(e.input);
3167
3174
  }
3168
3175
  }
3169
- }, lr = "usehead";
3170
- function ur(o) {
3176
+ }, cr = "usehead";
3177
+ function pr(o) {
3171
3178
  return {
3172
3179
  install(t) {
3173
- rr && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(lr, o));
3180
+ lr && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(cr, o));
3174
3181
  }
3175
3182
  }.install;
3176
3183
  }
3177
- function dr(o = {}) {
3178
- o.domDelayFn = o.domDelayFn || ((t) => It(() => setTimeout(() => t(), 0)));
3179
- const e = /* @__PURE__ */ nr(o);
3180
- return e.use(ar), e.install = ur(e), e;
3184
+ function hr(o = {}) {
3185
+ o.domDelayFn = o.domDelayFn || ((t) => $t(() => setTimeout(() => t(), 0)));
3186
+ const e = /* @__PURE__ */ sr(o);
3187
+ return e.use(dr), e.install = pr(e), e;
3181
3188
  }
3182
- const cr = _o(), pr = dr();
3183
- class hr extends HTMLElement {
3189
+ const fr = To(), mr = hr(), gr = St();
3190
+ class vr extends HTMLElement {
3184
3191
  vueApp;
3185
3192
  constructor() {
3186
3193
  super();
@@ -3191,7 +3198,7 @@ class hr extends HTMLElement {
3191
3198
  connectedCallback() {
3192
3199
  const e = typeof ve == "function" ? ve.options : ve;
3193
3200
  let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
3194
- const n = (l) => l.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (u, f) => (f ? "-" : "") + u.toLowerCase()), p = (l) => l.replace(/-./g, (u) => u[1].toUpperCase()), r = {};
3201
+ const n = (l) => l.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (u, f) => (f ? "-" : "") + u.toLowerCase()), p = (l) => l.replace(/-./g, (u) => u[1].toUpperCase()), s = {};
3195
3202
  t = t.map(n);
3196
3203
  const h = {};
3197
3204
  for (const l of this.attributes) {
@@ -3200,14 +3207,14 @@ class hr extends HTMLElement {
3200
3207
  }
3201
3208
  for (const l of t) {
3202
3209
  let u = this.attributes.getNamedItem(l)?.value;
3203
- h.hasOwnProperty(l) && (u = h[l]), r[l] = u;
3210
+ h.hasOwnProperty(l) && (u = h[l]), s[l] = u;
3204
3211
  }
3205
- this.vueApp = Eo(ve, r), this.vueApp.use(pr), this.vueApp.use(cr), this.vueApp.use(Pt), this.vueApp.use(To), this.vueApp.use(Po), this.vueApp.use(Co, { bootstrap: !0 });
3212
+ this.vueApp = Co(ve, s), this.vueApp.provide("emitter", gr), this.vueApp.use(mr), this.vueApp.use(fr), this.vueApp.use(xt), this.vueApp.use(Io), this.vueApp.use(Ao), this.vueApp.use($o, { bootstrap: !0 });
3206
3213
  const d = document.createElement("div");
3207
3214
  this.vueApp.mount(d), this.appendChild(d.children[0]);
3208
3215
  }
3209
3216
  }
3210
- window.customElements.define("konnectio-hotel", hr);
3217
+ window.customElements.define("konnectio-hotel", vr);
3211
3218
  export {
3212
- hr as default
3219
+ vr as default
3213
3220
  };