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