@konnectio/core 4.0.40 → 4.0.41

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 (69) hide show
  1. package/dist/{ActionField-ce9af539.js → ActionField-054975da.js} +2 -2
  2. package/dist/ActionField-054975da.js.br +0 -0
  3. package/dist/{ActionField-33ba228b.cjs → ActionField-79f8bfae.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-487e3a2a.js → AvailabilitySkeleton-3e6890a1.js} +32 -32
  5. package/dist/AvailabilitySkeleton-3e6890a1.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-959fb7c6.cjs → AvailabilitySkeleton-c92fc1d1.cjs} +1 -1
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-4d72d3b1.cjs → DateField.vue_vue_type_style_index_0_lang-56ca7795.cjs} +1 -1
  8. package/dist/{DateField.vue_vue_type_style_index_0_lang-dbdaef35.js → DateField.vue_vue_type_style_index_0_lang-77ca2367.js} +1 -1
  9. package/dist/DateField.vue_vue_type_style_index_0_lang-77ca2367.js.br +0 -0
  10. package/dist/{Field-3b931fce.cjs → Field-73b09327.cjs} +1 -1
  11. package/dist/{Field-6603f54c.js → Field-dffa8f30.js} +2 -2
  12. package/dist/Field-dffa8f30.js.br +0 -0
  13. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-bedb3288.cjs → NumberField.vue_vue_type_script_setup_true_lang-1108dcd6.cjs} +1 -1
  14. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-23d1fa57.js → NumberField.vue_vue_type_script_setup_true_lang-3517aeda.js} +1 -1
  15. package/dist/NumberField.vue_vue_type_script_setup_true_lang-3517aeda.js.br +0 -0
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-af2d2c7c.cjs → SelectField.vue_vue_type_style_index_0_lang-9544cd25.cjs} +56 -56
  17. package/dist/{SelectField.vue_vue_type_style_index_0_lang-342d05ad.js → SelectField.vue_vue_type_style_index_0_lang-bc4ca9a5.js} +4889 -4868
  18. package/dist/SelectField.vue_vue_type_style_index_0_lang-bc4ca9a5.js.br +0 -0
  19. package/dist/{ThankYou-812bee60.js → ThankYou-d42a4e49.js} +548 -545
  20. package/dist/ThankYou-d42a4e49.js.br +0 -0
  21. package/dist/{ThankYou-3a3c3984.cjs → ThankYou-da4c5f50.cjs} +6 -6
  22. package/dist/{_-74b1365b.cjs → _-b8fd5e7f.cjs} +1 -1
  23. package/dist/{_-7dca6f46.js → _-f51b7e1b.js} +1 -1
  24. package/dist/availability.cjs +1 -1
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
  28. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  29. package/dist/components/listings/Base.vue.d.ts +1 -1
  30. package/dist/components/listings/Template.vue.d.ts +1 -1
  31. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +1 -1
  32. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
  33. package/dist/components/skeletons/Listing.vue.d.ts +1 -1
  34. package/dist/components/skeletons/Sidebar.vue.d.ts +1 -1
  35. package/dist/{event-c569e301.js → event-0c5b54ea.js} +7 -7
  36. package/dist/event-0c5b54ea.js.br +0 -0
  37. package/dist/{event-13b95ff7.cjs → event-6671499b.cjs} +1 -1
  38. package/dist/event.cjs +1 -1
  39. package/dist/event.js +8 -8
  40. package/dist/event.js.br +0 -0
  41. package/dist/gift-card-validation.cjs +1 -1
  42. package/dist/gift-card-validation.js +3 -3
  43. package/dist/gift-card-validation.js.br +0 -0
  44. package/dist/gift-card.cjs +1 -1
  45. package/dist/gift-card.js +5 -5
  46. package/dist/gift-card.js.br +0 -0
  47. package/dist/hotel.cjs +8 -8
  48. package/dist/hotel.js +1182 -1177
  49. package/dist/hotel.js.br +0 -0
  50. package/dist/{index-61dd1f61.cjs → index-2920831d.cjs} +1 -1
  51. package/dist/{index-2d4ba4ce.js → index-906997b4.js} +1 -1
  52. package/dist/index-906997b4.js.br +0 -0
  53. package/dist/polyfill.cjs +1 -1
  54. package/dist/polyfill.js +1 -1
  55. package/dist/polyfill.js.br +0 -0
  56. package/dist/store/hotel.d.ts +8 -2
  57. package/dist/style.css +1 -1
  58. package/dist/style.css.br +0 -0
  59. package/dist/types/index.d.ts +1 -1
  60. package/package.json +5 -5
  61. package/dist/ActionField-ce9af539.js.br +0 -0
  62. package/dist/AvailabilitySkeleton-487e3a2a.js.br +0 -0
  63. package/dist/DateField.vue_vue_type_style_index_0_lang-dbdaef35.js.br +0 -0
  64. package/dist/Field-6603f54c.js.br +0 -0
  65. package/dist/NumberField.vue_vue_type_script_setup_true_lang-23d1fa57.js.br +0 -0
  66. package/dist/SelectField.vue_vue_type_style_index_0_lang-342d05ad.js.br +0 -0
  67. package/dist/ThankYou-812bee60.js.br +0 -0
  68. package/dist/event-c569e301.js.br +0 -0
  69. package/dist/index-2d4ba4ce.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,81 +1,83 @@
1
- import { k as K, D as he, aD as Fo, s as Z, c as De, ab as no, ac as Ce, m as E, n as z, W as ro, q as c, w as L, aa as Ee, A as y, F as A, K as fe, Y as Bt, aE as No, v as T, a3 as q, a2 as U, aF as Qe, a5 as Et, p as C, H as ie, x as V, J as pe, f as Y, B as nt, P as ao, Q as so, _ as ne, r as N, o as Fe, ag as Mt, ah as ze, aG as lo, aB as Uo, a1 as Oe, aH as qo, aI as Go, ap as jo, ai as zt, ak as ut, ad as Wt, y as se, aJ as Yo, an as wt, C as Le, aK as Ko, I as uo, l as xt, T as ce, az as Qo, b as Xo, N as Jo, a6 as Zo, L as Ft, G as X, M as ei, aL as ti, U as oi, a8 as ii, R as ni, V as ri, a9 as ai } from "./SelectField.vue_vue_type_style_index_0_lang-342d05ad.js";
2
- import { R as si, S as li, F as ui, _ as di, B as It, I as ci, a as fi, M as pi, T as hi, x as mi } from "./ThankYou-812bee60.js";
3
- import { A as vi, H as yi } from "./AvailabilitySkeleton-487e3a2a.js";
4
- import { _ as co } from "./NumberField.vue_vue_type_script_setup_true_lang-23d1fa57.js";
5
- import { _ as gi } from "./DateField.vue_vue_type_style_index_0_lang-dbdaef35.js";
6
- import { C as Tt, P as bi, a as _i, S as ki } from "./index-2d4ba4ce.js";
7
- import { E as oe } from "./_-7dca6f46.js";
1
+ import { k as K, D as me, aD as No, s as Z, c as Re, ab as no, ac as he, m as E, n as z, W as ro, q as f, w as H, aa as Te, A as y, F as A, K as fe, Y as Bt, aE as Uo, v as T, a3 as q, a2 as U, aF as Pe, a5 as Et, p as C, H as ie, x as V, J as pe, f as j, B as nt, P as ao, Q as so, _ as ne, r as N, o as Ne, ag as Mt, ah as We, aG as lo, aB as qo, a1 as De, aH as Go, aI as jo, ap as Yo, ai as zt, ak as ut, ad as Wt, y as se, aJ as Ko, an as wt, C as He, aK as Qo, I as uo, l as xt, T as ce, az as Xo, b as Jo, N as Zo, a6 as ei, L as Ft, G as X, M as ti, aL as oi, U as ii, a8 as ni, R as ri, V as ai, a9 as si } from "./SelectField.vue_vue_type_style_index_0_lang-bc4ca9a5.js";
2
+ import { R as li, S as ui, F as di, _ as ci, B as It, a as fi, M as pi, T as hi, x as mi } from "./ThankYou-d42a4e49.js";
3
+ import { A as vi, H as yi } from "./AvailabilitySkeleton-3e6890a1.js";
4
+ import { _ as co } from "./NumberField.vue_vue_type_script_setup_true_lang-3517aeda.js";
5
+ import { _ as gi } from "./DateField.vue_vue_type_style_index_0_lang-77ca2367.js";
6
+ import { C as Tt, P as bi, a as _i, S as ki } from "./index-906997b4.js";
7
+ import { E as oe } from "./_-f51b7e1b.js";
8
8
  import { c as fo, a as po } from "./_commonjsHelpers-aeeeeb92.js";
9
- import "./ActionField-ce9af539.js";
10
- import "./Field-6603f54c.js";
11
- const Ei = { key: 0 }, Ti = { key: 1 }, dt = /* @__PURE__ */ K({
9
+ import "./ActionField-054975da.js";
10
+ import "./Field-dffa8f30.js";
11
+ const Ei = /* @__PURE__ */ y("br", null, null, -1);
12
+ const Ti = { key: 0 }, Ci = { key: 1 }, dt = /* @__PURE__ */ K({
12
13
  __name: "HotelReservationForm",
13
14
  props: {
14
15
  showGiftCard: { type: Boolean, default: !1 },
15
16
  showTermsNotice: { type: Boolean, default: !1 }
16
17
  },
17
18
  setup(t) {
18
- const { t: e } = he(), o = Fo(), {
19
+ const { t: e } = me(), o = No(), {
19
20
  hideArrivalDepartureInputs: i,
20
- disableArrivalUserSelection: a,
21
- disableDepartureUserSelection: r,
22
- arrivalDefault: f,
23
- departureDefault: s,
21
+ disableArrivalUserSelection: r,
22
+ disableDepartureUserSelection: a,
23
+ arrivalDefault: d,
24
+ departureDefault: l,
24
25
  currency: h
25
- } = Z(De()), {
26
+ } = Z(Re()), {
26
27
  arrivalDate: u,
27
28
  departureDate: v
28
29
  } = Z(no()), {
29
30
  arrivalTime: m,
30
31
  departureTime: _,
31
- roomDisplay: l,
32
+ roomDisplay: s,
32
33
  templateID: g,
33
34
  totalPrice: k,
34
- areListingsLoading: d,
35
+ areListingsLoading: c,
35
36
  getSelectedPackageRoom: n,
36
37
  selectedPackage: p
37
- } = Z(Ce()), { removeRoom: b } = Ce();
38
+ } = Z(he()), { removeRoom: b } = he();
38
39
  function $(w) {
39
- return w.reduce((P, { totalPrice: S }) => P + S, 0);
40
+ return w.reduce((L, { totalPrice: S }) => L + S, 0);
40
41
  }
41
- return (w, O) => (E(), z(si, {
42
- "total-price": c(k),
42
+ return (w, O) => (E(), z(li, {
43
+ "total-price": f(k),
43
44
  "show-gift-card": w.showGiftCard,
44
45
  "show-terms-notice": w.showTermsNotice,
45
- "is-sidebar-loading": c(d),
46
- notice: c(e)("hotel.reservationNotice")
46
+ "is-sidebar-loading": f(c),
47
+ notice: f(e)("hotel.reservationNotice")
47
48
  }, ro({
48
- form: L(() => [
49
- Ee(w.$slots, "form")
49
+ form: H(() => [
50
+ Te(w.$slots, "form")
50
51
  ]),
51
- "reservation-summary": L(() => [
52
+ "reservation-summary": H(() => [
52
53
  y("li", null, [
53
- y("span", null, A(c(e)("booking.reservation.arrival")), 1),
54
- y("b", null, A(c(i) ? c(fe)(c(u)) : `${c(fe)(c(u))}, ${c(a) ? c(f) : c(m)}`), 1)
54
+ y("span", null, A(f(e)("booking.reservation.arrival")), 1),
55
+ y("b", null, A(f(i) ? f(fe)(f(u)) : `${f(fe)(f(u))}, ${f(r) ? f(d) : f(m)}`), 1)
55
56
  ]),
56
57
  y("li", null, [
57
- y("span", null, A(c(e)("booking.reservation.departure")), 1),
58
- y("b", null, A(c(i) ? c(fe)(c(v)) : `${c(fe)(c(v))}, ${c(r) ? c(s) : c(_)}`), 1)
58
+ y("span", null, A(f(e)("booking.reservation.departure")), 1),
59
+ y("b", null, A(f(i) ? f(fe)(f(v)) : `${f(fe)(f(v))}, ${f(a) ? f(l) : f(_)}`), 1)
59
60
  ]),
60
61
  y("li", null, [
61
- y("span", null, A(c(e)("booking.reservation.nights")), 1),
62
- y("b", null, A(c(Bt)(c(u), c(v))) + " " + A(c(No)(c(Bt)(c(u), c(v)) === 1 ? c(e)("booking.reservation.night") : c(e)("booking.reservation.nights"))), 1)
62
+ y("span", null, A(f(e)("booking.reservation.nights")), 1),
63
+ y("b", null, A(f(Bt)(f(u), f(v))) + " " + A(f(Uo)(f(Bt)(f(u), f(v)) === 1 ? f(e)("booking.reservation.night") : f(e)("booking.reservation.nights"))), 1)
63
64
  ])
64
65
  ]),
65
- "price-summary": L(() => [
66
- isNaN(c(g)) && c(l).length > 0 ? (E(!0), T(U, { key: 0 }, q(c(l), ({
67
- roomGroupID: P,
66
+ "price-summary": H(() => [
67
+ isNaN(f(g)) && f(s).length > 0 ? (E(!0), T(U, { key: 0 }, q(f(s), ({
68
+ roomGroupID: L,
68
69
  title: S,
69
- variants: H
70
- }) => (E(), T("div", { key: P }, [
70
+ variants: P
71
+ }) => (E(), T("div", { key: L }, [
71
72
  y("h6", null, [
72
73
  y("span", null, A(S), 1)
73
74
  ]),
74
- (E(!0), T(U, null, q(H, (B, R) => (E(), T("div", { key: R }, [
75
+ (E(!0), T(U, null, q(P, (B, R) => (E(), T("div", { key: R }, [
75
76
  (E(!0), T(U, null, q(B.rooms, (M, W) => (E(), T("ul", { key: W }, [
76
77
  y("li", null, [
77
78
  y("span", null, [
78
- y("span", null, A(c(Qe)(B.name)), 1),
79
+ y("span", null, A(f(Pe)(B.name)), 1),
80
+ Ei,
79
81
  y("span", null, [
80
82
  Et("( "),
81
83
  C(ie, {
@@ -96,50 +98,50 @@ const Ei = { key: 0 }, Ti = { key: 1 }, dt = /* @__PURE__ */ K({
96
98
  ])
97
99
  ]),
98
100
  y("b", null, [
99
- y("span", null, A(c(pe)(M.totalPrice, c(h))), 1),
101
+ y("span", null, A(f(pe)(M.totalPrice, f(h))), 1),
100
102
  V("", !0)
101
103
  ])
102
104
  ]),
103
- $(M.roomAddons) > 0 ? (E(), T("li", Ei, [
104
- y("span", null, A(c(e)("booking.reservation.addons")), 1),
105
- y("b", null, A(c(pe)($(M.roomAddons), c(h))), 1)
105
+ $(M.roomAddons) > 0 ? (E(), T("li", Ti, [
106
+ y("span", null, A(f(e)("booking.reservation.addons")), 1),
107
+ y("b", null, A(f(pe)($(M.roomAddons), f(h))), 1)
106
108
  ])) : V("", !0)
107
109
  ]))), 128))
108
110
  ]))), 128))
109
111
  ]))), 128)) : V("", !0),
110
- c(n) && c(p) ? (E(), T("div", Ti, [
112
+ f(n) && f(p) ? (E(), T("div", Ci, [
111
113
  y("h6", null, [
112
- y("span", null, A(c(p).name), 1)
114
+ y("span", null, A(f(Pe)(f(p).name)), 1)
113
115
  ]),
114
116
  y("div", null, [
115
117
  y("ul", null, [
116
118
  y("li", null, [
117
119
  y("span", null, [
118
- y("span", null, A(c(n).title), 1)
120
+ y("span", null, A(f(Pe)(f(n).title)), 1)
119
121
  ]),
120
122
  y("b", null, [
121
- y("span", null, A(c(pe)(c(n).extraPrice, c(h))), 1)
123
+ y("span", null, A(f(pe)(f(n).extraPrice, f(h))), 1)
122
124
  ])
123
125
  ])
124
126
  ])
125
127
  ])
126
128
  ])) : V("", !0)
127
129
  ]),
128
- navigation: L(() => [
129
- Ee(w.$slots, "navigation")
130
+ navigation: H(() => [
131
+ Te(w.$slots, "navigation")
130
132
  ]),
131
133
  _: 2
132
134
  }, [
133
- c(o).addons ? {
135
+ f(o).addons ? {
134
136
  name: "addons",
135
- fn: L(() => [
136
- Ee(w.$slots, "addons")
137
+ fn: H(() => [
138
+ Te(w.$slots, "addons")
137
139
  ]),
138
140
  key: "0"
139
141
  } : void 0
140
142
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
141
143
  }
142
- }), Ci = (t) => (ao("data-v-c84b41ba"), t = t(), so(), t), Si = { key: 0 }, $i = { class: "konnectio-selected-room-config" }, wi = { class: "konnectio-selected-room-config-people" }, Ii = { key: 0 }, Pi = { class: "konnectio-selected-room-config-price" }, Ai = /* @__PURE__ */ Ci(() => /* @__PURE__ */ y("span", null, null, -1)), Li = /* @__PURE__ */ K({
144
+ }), Si = (t) => (ao("data-v-c84b41ba"), t = t(), so(), t), $i = { key: 0 }, wi = { class: "konnectio-selected-room-config" }, Ii = { class: "konnectio-selected-room-config-people" }, Li = { key: 0 }, Ai = { class: "konnectio-selected-room-config-price" }, Hi = /* @__PURE__ */ Si(() => /* @__PURE__ */ y("span", null, null, -1)), Pi = /* @__PURE__ */ K({
143
145
  __name: "RoomConfigField",
144
146
  props: {
145
147
  modelValue: {},
@@ -150,17 +152,17 @@ const Ei = { key: 0 }, Ti = { key: 1 }, dt = /* @__PURE__ */ K({
150
152
  },
151
153
  emits: ["update:modelValue"],
152
154
  setup(t, { emit: e }) {
153
- const { t: o } = he(), { currency: i } = Z(De()), a = e, r = t;
154
- function f(h) {
155
- a("update:modelValue", h);
155
+ const { t: o } = me(), { currency: i } = Z(Re()), r = e, a = t;
156
+ function d(h) {
157
+ r("update:modelValue", h);
156
158
  }
157
- const s = Y({
158
- get: () => r.modelValue,
159
- set: (h) => f(h)
159
+ const l = j({
160
+ get: () => a.modelValue,
161
+ set: (h) => d(h)
160
162
  });
161
163
  return (h, u) => (E(), z(nt, {
162
- modelValue: s.value,
163
- "onUpdate:modelValue": u[0] || (u[0] = (v) => s.value = v),
164
+ modelValue: l.value,
165
+ "onUpdate:modelValue": u[0] || (u[0] = (v) => l.value = v),
164
166
  label: h.label,
165
167
  placeholder: "Select guest configuration",
166
168
  labelKey: "label",
@@ -171,7 +173,7 @@ const Ei = { key: 0 }, Ti = { key: 1 }, dt = /* @__PURE__ */ K({
171
173
  required: h.required,
172
174
  searchable: !1
173
175
  }, {
174
- option: L(({ data: v }) => [
176
+ option: H(({ data: v }) => [
175
177
  y("span", null, [
176
178
  C(ie, {
177
179
  icon: "male",
@@ -179,7 +181,7 @@ const Ei = { key: 0 }, Ti = { key: 1 }, dt = /* @__PURE__ */ K({
179
181
  color: "font"
180
182
  }),
181
183
  y("span", null, A(`${v.adults}`), 1),
182
- v.children > 0 ? (E(), T("span", Si, [
184
+ v.children > 0 ? (E(), T("span", $i, [
183
185
  C(ie, {
184
186
  icon: "child",
185
187
  type: "fas",
@@ -187,24 +189,24 @@ const Ei = { key: 0 }, Ti = { key: 1 }, dt = /* @__PURE__ */ K({
187
189
  }),
188
190
  y("span", null, A(`${v.children}`), 1)
189
191
  ])) : V("", !0),
190
- y("span", null, A(`(${c(pe)(v.price, c(i))})`), 1)
192
+ y("span", null, A(`(${f(pe)(v.price, f(i))})`), 1)
191
193
  ])
192
194
  ]),
193
- "selected-option": L(({ data: v }) => [
194
- y("div", $i, [
195
- y("div", wi, [
195
+ "selected-option": H(({ data: v }) => [
196
+ y("div", wi, [
197
+ y("div", Ii, [
196
198
  y("div", null, [
197
199
  V("", !0),
198
- y("span", null, A(`${v.adults} ${v.adults === 1 ? c(o)("general.adult") : c(o)("general.adults")}`), 1)
200
+ y("span", null, A(`${v.adults} ${v.adults === 1 ? f(o)("general.adult") : f(o)("general.adults")}`), 1)
199
201
  ]),
200
- v.children > 0 ? (E(), T("div", Ii, [
202
+ v.children > 0 ? (E(), T("div", Li, [
201
203
  V("", !0),
202
- y("span", null, A(`& ${v.children} ${v.children === 1 ? c(o)("general.child") : c(o)("general.children")}`), 1)
204
+ y("span", null, A(`& ${v.children} ${v.children === 1 ? f(o)("general.child") : f(o)("general.children")}`), 1)
203
205
  ])) : V("", !0)
204
206
  ]),
205
- y("div", Pi, [
206
- Ai,
207
- Et(" " + A(`(${c(pe)(v.price, c(i))})`), 1)
207
+ y("div", Ai, [
208
+ Hi,
209
+ Et(" " + A(`(${f(pe)(v.price, f(i))})`), 1)
208
210
  ])
209
211
  ])
210
212
  ]),
@@ -212,7 +214,7 @@ const Ei = { key: 0 }, Ti = { key: 1 }, dt = /* @__PURE__ */ K({
212
214
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
213
215
  }
214
216
  });
215
- const Hi = /* @__PURE__ */ ne(Li, [["__scopeId", "data-v-c84b41ba"]]), Vi = ["src"], Oi = /* @__PURE__ */ K({
217
+ const Vi = /* @__PURE__ */ ne(Pi, [["__scopeId", "data-v-c84b41ba"]]), Oi = ["src"], Di = /* @__PURE__ */ K({
216
218
  __name: "Gallery",
217
219
  props: {
218
220
  gallery: {}
@@ -221,8 +223,8 @@ const Hi = /* @__PURE__ */ ne(Li, [["__scopeId", "data-v-c84b41ba"]]), Vi = ["sr
221
223
  const e = N();
222
224
  N();
223
225
  const o = N();
224
- return Fe(() => {
225
- o.value = [new li({
226
+ return Ne(() => {
227
+ o.value = [new ui({
226
228
  type: "index",
227
229
  synchronizedFlickingOptions: [
228
230
  {
@@ -236,37 +238,37 @@ const Hi = /* @__PURE__ */ ne(Li, [["__scopeId", "data-v-c84b41ba"]]), Vi = ["sr
236
238
  }*/
237
239
  ]
238
240
  })];
239
- }), (i, a) => (E(), T("div", null, [
240
- i.gallery.length > 1 ? (E(), z(c(ui), {
241
+ }), (i, r) => (E(), T("div", null, [
242
+ i.gallery.length > 1 ? (E(), z(f(di), {
241
243
  ref_key: "slideshow",
242
244
  ref: e,
243
245
  key: i.gallery.length,
244
246
  options: { align: "prev", circular: !0, bounce: 30 },
245
247
  plugins: o.value
246
248
  }, {
247
- default: L(() => [
248
- (E(!0), T(U, null, q(i.gallery, ({ medium: r, large: f }, s) => (E(), T("div", {
249
- key: s,
249
+ default: H(() => [
250
+ (E(!0), T(U, null, q(i.gallery, ({ medium: a, large: d }, l) => (E(), T("div", {
251
+ key: l,
250
252
  class: "booking-availability-listing-featured-img"
251
253
  }, [
252
- y("img", { src: f }, null, 8, Vi)
254
+ y("img", { src: d }, null, 8, Oi)
253
255
  ]))), 128))
254
256
  ]),
255
257
  _: 1
256
258
  }, 8, ["plugins"])) : V("", !0)
257
259
  ]));
258
260
  }
259
- }), Di = { class: "fresh-booking-modal-gallery" }, Ri = {
261
+ }), Ri = { class: "fresh-booking-modal-gallery" }, Bi = {
260
262
  key: 0,
261
263
  class: "fresh-booking-modal-facilities"
262
- }, Bi = {
264
+ }, Mi = {
263
265
  class: "fresh-booking-modal-facilities-masonry",
264
266
  "transition-duration": "0s",
265
267
  "destroy-delay": 0,
266
268
  "percent-position": !0,
267
269
  "column-width": ".grid-sizer",
268
270
  "item-selector": ".fresh-booking-modal-facility"
269
- }, Mi = { class: "grid-sizer" }, zi = /* @__PURE__ */ K({
271
+ }, zi = { class: "grid-sizer" }, Wi = /* @__PURE__ */ K({
270
272
  __name: "Info",
271
273
  props: {
272
274
  title: {},
@@ -276,32 +278,32 @@ const Hi = /* @__PURE__ */ ne(Li, [["__scopeId", "data-v-c84b41ba"]]), Vi = ["sr
276
278
  },
277
279
  setup(t) {
278
280
  return (e, o) => {
279
- const i = Mt("masonry-tile"), a = Mt("masonry");
280
- return E(), z(di, {
281
+ const i = Mt("masonry-tile"), r = Mt("masonry");
282
+ return E(), z(ci, {
281
283
  title: e.title,
282
284
  description: e.description
283
285
  }, ro({
284
- default: L(() => [
285
- e.facilities && e.facilities.length !== 0 ? (E(), T("div", Ri, [
286
- ze((E(), T("ul", Bi, [
287
- ze(y("div", Mi, null, 512), [
286
+ default: H(() => [
287
+ e.facilities && e.facilities.length !== 0 ? (E(), T("div", Bi, [
288
+ We((E(), T("ul", Mi, [
289
+ We(y("div", zi, null, 512), [
288
290
  [i]
289
291
  ]),
290
- (E(!0), T(U, null, q(e.facilities, ({ name: r, subFacilities: f }, s) => ze((E(), T("li", {
291
- key: s,
292
+ (E(!0), T(U, null, q(e.facilities, ({ name: a, subFacilities: d }, l) => We((E(), T("li", {
293
+ key: l,
292
294
  class: "fresh-booking-modal-facility"
293
295
  }, [
294
296
  y("h6", null, [
295
- y("span", null, A(r), 1)
297
+ y("span", null, A(a), 1)
296
298
  ]),
297
299
  y("ul", null, [
298
- (E(!0), T(U, null, q(f, ({ name: h }, u) => (E(), T("li", { key: u }, A(h), 1))), 128))
300
+ (E(!0), T(U, null, q(d, ({ name: h }, u) => (E(), T("li", { key: u }, A(h), 1))), 128))
299
301
  ])
300
302
  ])), [
301
303
  [i]
302
304
  ])), 128))
303
305
  ])), [
304
- [a]
306
+ [r]
305
307
  ])
306
308
  ])) : V("", !0)
307
309
  ]),
@@ -309,9 +311,9 @@ const Hi = /* @__PURE__ */ ne(Li, [["__scopeId", "data-v-c84b41ba"]]), Vi = ["sr
309
311
  }, [
310
312
  e.gallery ? {
311
313
  name: "above-description",
312
- fn: L(() => [
313
- y("div", Di, [
314
- C(Oi, { gallery: e.gallery }, null, 8, ["gallery"])
314
+ fn: H(() => [
315
+ y("div", Ri, [
316
+ C(Di, { gallery: e.gallery }, null, 8, ["gallery"])
315
317
  ])
316
318
  ]),
317
319
  key: "0"
@@ -320,38 +322,38 @@ const Hi = /* @__PURE__ */ ne(Li, [["__scopeId", "data-v-c84b41ba"]]), Vi = ["sr
320
322
  };
321
323
  }
322
324
  });
323
- const Wi = /* @__PURE__ */ ne(zi, [["__scopeId", "data-v-9a91cedb"]]), xi = { class: "konnectio-availability-listing-selection" }, Fi = { key: 1 }, Ni = { class: "fresh-booking-listing-config-body" }, Ui = { class: "fresh-booking-listing-units-body" };
324
- const qi = /* @__PURE__ */ K({
325
+ const xi = /* @__PURE__ */ ne(Wi, [["__scopeId", "data-v-9a91cedb"]]), Fi = { class: "konnectio-availability-listing-selection" }, Ni = { key: 1 }, Ui = { class: "fresh-booking-listing-config-body" }, qi = { class: "fresh-booking-listing-units-body" };
326
+ const Gi = /* @__PURE__ */ K({
325
327
  __name: "Hotel",
326
328
  props: {
327
329
  room: {},
328
330
  layout: {}
329
331
  },
330
332
  setup(t) {
331
- const { t: e } = he(), o = t, i = N([]);
332
- function a(S) {
333
+ const { t: e } = me(), o = t, i = N([]);
334
+ function r(S) {
333
335
  i.value[S].config.push({
334
336
  id: NaN,
335
337
  units: 0,
336
338
  addons: []
337
339
  });
338
340
  }
339
- const r = Y(() => o.room.rates.map((S) => ({
341
+ const a = j(() => o.room.rates.map((S) => ({
340
342
  label: S.name,
341
343
  value: S.id
342
- }))), f = Y(() => i.value.flatMap((S) => S.id));
343
- Y(() => r.value.filter((S) => !f.value.includes(S.value)));
344
- const { hideAvailableRoomAmount: s, currency: h } = Z(De()), { roomSelect: u } = Z(Ce()), { viewItem: v, addToCart: m, removeFromCart: _ } = lo(), l = (S, H) => o.room.rates.find((B) => B.id === S)?.occupantRates.find((B) => B.index === H), g = Y(() => o.room.rates.reduce(
345
- (S, H) => S < H.rackRate ? S : H.rackRate,
344
+ }))), d = j(() => i.value.flatMap((S) => S.id));
345
+ j(() => a.value.filter((S) => !d.value.includes(S.value)));
346
+ const { hideAvailableRoomAmount: l, currency: h } = Z(Re()), { roomSelect: u } = Z(he()), { viewItem: v, addToCart: m, removeFromCart: _ } = lo(), s = (S, P) => o.room.rates.find((B) => B.id === S)?.occupantRates.find((B) => B.index === P), g = j(() => o.room.rates.reduce(
347
+ (S, P) => S < P.rackRate ? S : P.rackRate,
346
348
  1 / 0
347
- )), k = Y(() => o.room.rates.every((S) => S.isBreakfastIncluded === !0)), d = (S, H) => l(S, H) ? l(S, H)?.rooms : null, n = (S) => o.room.rates.length > 0 ? o.room.rates.find((H) => H.id === S)?.occupantRates.map((H) => ({
348
- value: H.index,
349
- price: H.totalPrice,
350
- adults: H.adultsCount,
351
- children: H.childrenCount,
352
- hasBreakfast: H.hasBreakfast
353
- })) || [] : [], p = Y(() => o.room.rates.length > 1), { open: b, close: $ } = Uo({
354
- component: Wi,
349
+ )), k = j(() => o.room.rates.every((S) => S.isBreakfastIncluded === !0)), c = (S, P) => s(S, P) ? s(S, P)?.rooms : null, n = (S) => o.room.rates.length > 0 ? o.room.rates.find((P) => P.id === S)?.occupantRates.map((P) => ({
350
+ value: P.index,
351
+ price: P.totalPrice,
352
+ adults: P.adultsCount,
353
+ children: P.childrenCount,
354
+ hasBreakfast: P.hasBreakfast
355
+ })) || [] : [], p = j(() => o.room.rates.length > 1), { open: b, close: $ } = qo({
356
+ component: xi,
355
357
  attrs: {
356
358
  title: o.room.title,
357
359
  description: o.room.description,
@@ -382,14 +384,14 @@ const qi = /* @__PURE__ */ K({
382
384
  }]
383
385
  });
384
386
  }
385
- Fe(() => {
387
+ Ne(() => {
386
388
  O();
387
389
  });
388
- const P = Y(() => JSON.parse(JSON.stringify(i.value)));
389
- return Oe(P, (S, H) => {
390
- H.length > 0 && S.forEach((B, R) => {
390
+ const L = j(() => JSON.parse(JSON.stringify(i.value)));
391
+ return De(L, (S, P) => {
392
+ P.length > 0 && S.forEach((B, R) => {
391
393
  B.config.forEach((M, W) => {
392
- const Q = M.units, ue = H[R].config[W].units;
394
+ const Q = M.units, ue = P[R].config[W].units;
393
395
  Q !== ue && (Q > ue ? (i.value[R].config[W].addons.push({}), m({
394
396
  id: o.room.id,
395
397
  name: o.room.title,
@@ -401,9 +403,9 @@ const qi = /* @__PURE__ */ K({
401
403
  })));
402
404
  });
403
405
  });
404
- }, { deep: !0 }), Oe(i, () => {
406
+ }, { deep: !0 }), De(i, () => {
405
407
  u.value[o.room.id] = i.value;
406
- }, { deep: !0 }), (S, H) => (E(), z(It, {
408
+ }, { deep: !0 }), (S, P) => (E(), z(It, {
407
409
  "listing-id": S.room.id,
408
410
  gallery: S.room.images,
409
411
  name: S.room.title,
@@ -414,8 +416,8 @@ const qi = /* @__PURE__ */ K({
414
416
  "includes-breakfast": k.value,
415
417
  callback: w
416
418
  }, {
417
- action: L(() => [
418
- y("div", xi, [
419
+ action: H(() => [
420
+ y("div", Fi, [
419
421
  (E(!0), T(U, null, q(i.value, (B, R) => (E(), T("div", {
420
422
  key: B.id,
421
423
  class: "freshbooking-hotel-room"
@@ -424,12 +426,12 @@ const qi = /* @__PURE__ */ K({
424
426
  key: 0,
425
427
  modelValue: B.id,
426
428
  "onUpdate:modelValue": (M) => B.id = M,
427
- label: c(e)("hotel.roomVariant"),
428
- placeholder: c(e)("hotel.chooseARoomVariant"),
429
- options: r.value,
429
+ label: f(e)("hotel.roomVariant"),
430
+ placeholder: f(e)("hotel.chooseARoomVariant"),
431
+ options: a.value,
430
432
  searchable: !1
431
433
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : V("", !0),
432
- B.id ? (E(), T("div", Fi, [
434
+ B.id ? (E(), T("div", Ni, [
433
435
  (E(!0), T(U, null, q(S.room.rates, ({
434
436
  id: M,
435
437
  maximumOccupants: W
@@ -438,29 +440,29 @@ const qi = /* @__PURE__ */ K({
438
440
  key: ue,
439
441
  class: "booking-availability-listing-action-selective"
440
442
  }, [
441
- y("ul", Ni, [
442
- C(Hi, {
443
+ y("ul", Ui, [
444
+ C(Vi, {
443
445
  modelValue: Q.id,
444
446
  "onUpdate:modelValue": (re) => Q.id = re,
445
447
  icon: "male",
446
448
  "icon-type": "fas",
447
- label: c(e)("general.guests"),
448
- description: `${c(e)("general.maximumGuests")}: ${W}`,
449
+ label: f(e)("general.guests"),
450
+ description: `${f(e)("general.maximumGuests")}: ${W}`,
449
451
  options: n(M),
450
452
  readonly: !(n(M).length > 1)
451
453
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
452
454
  ]),
453
- y("ul", Ui, [
455
+ y("ul", qi, [
454
456
  C(co, {
455
457
  modelValue: Q.units,
456
458
  "onUpdate:modelValue": (re) => Q.units = re,
457
- description: c(s) ? void 0 : `${c(e)("booking.availability.availableUnits")}: ${d(B.id, Q.id)}`,
459
+ description: f(l) ? void 0 : `${f(e)("booking.availability.availableUnits")}: ${c(B.id, Q.id)}`,
458
460
  icon: "house",
459
461
  "icon-type": "fas",
460
462
  "icon-placement": "label",
461
- label: c(e)("booking.availability.units"),
463
+ label: f(e)("booking.availability.units"),
462
464
  minValue: 0,
463
- "max-value": d(M, Q.id) || 1 / 0
465
+ "max-value": c(M, Q.id) || 1 / 0
464
466
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
465
467
  ]),
466
468
  V("", !0)
@@ -474,8 +476,8 @@ const qi = /* @__PURE__ */ K({
474
476
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
475
477
  }
476
478
  });
477
- const Gi = /* @__PURE__ */ ne(qi, [["__scopeId", "data-v-7fe13e0e"]]);
478
- function ji(t) {
479
+ const ji = /* @__PURE__ */ ne(Gi, [["__scopeId", "data-v-7fe13e0e"]]);
480
+ function Yi(t) {
479
481
  if (Array.isArray(t)) {
480
482
  for (var e = 0, o = Array(t.length); e < t.length; e++)
481
483
  o[e] = t[e];
@@ -483,108 +485,108 @@ function ji(t) {
483
485
  } else
484
486
  return Array.from(t);
485
487
  }
486
- var Pt = !1;
488
+ var Lt = !1;
487
489
  if (typeof window < "u") {
488
490
  var Nt = {
489
491
  get passive() {
490
- Pt = !0;
492
+ Lt = !0;
491
493
  }
492
494
  };
493
495
  window.addEventListener("testPassive", null, Nt), window.removeEventListener("testPassive", null, Nt);
494
496
  }
495
- var et = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), Te = [], tt = !1, ho = -1, We = void 0, _e = void 0, xe = void 0, mo = function(e) {
496
- return Te.some(function(o) {
497
+ var et = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), Ce = [], tt = !1, ho = -1, xe = void 0, ke = void 0, Fe = void 0, mo = function(e) {
498
+ return Ce.some(function(o) {
497
499
  return !!(o.options.allowTouchMove && o.options.allowTouchMove(e));
498
500
  });
499
501
  }, ot = function(e) {
500
502
  var o = e || window.event;
501
503
  return mo(o.target) || o.touches.length > 1 ? !0 : (o.preventDefault && o.preventDefault(), !1);
502
- }, Yi = function(e) {
503
- if (xe === void 0) {
504
+ }, Ki = function(e) {
505
+ if (Fe === void 0) {
504
506
  var o = !!e && e.reserveScrollBarGap === !0, i = window.innerWidth - document.documentElement.clientWidth;
505
507
  if (o && i > 0) {
506
- var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
507
- xe = document.body.style.paddingRight, document.body.style.paddingRight = a + i + "px";
508
+ var r = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
509
+ Fe = document.body.style.paddingRight, document.body.style.paddingRight = r + i + "px";
508
510
  }
509
511
  }
510
- We === void 0 && (We = document.body.style.overflow, document.body.style.overflow = "hidden");
511
- }, Ki = function() {
512
- xe !== void 0 && (document.body.style.paddingRight = xe, xe = void 0), We !== void 0 && (document.body.style.overflow = We, We = void 0);
512
+ xe === void 0 && (xe = document.body.style.overflow, document.body.style.overflow = "hidden");
513
513
  }, Qi = function() {
514
+ Fe !== void 0 && (document.body.style.paddingRight = Fe, Fe = void 0), xe !== void 0 && (document.body.style.overflow = xe, xe = void 0);
515
+ }, Xi = function() {
514
516
  return window.requestAnimationFrame(function() {
515
- if (_e === void 0) {
516
- _e = {
517
+ if (ke === void 0) {
518
+ ke = {
517
519
  position: document.body.style.position,
518
520
  top: document.body.style.top,
519
521
  left: document.body.style.left
520
522
  };
521
- var e = window, o = e.scrollY, i = e.scrollX, a = e.innerHeight;
523
+ var e = window, o = e.scrollY, i = e.scrollX, r = e.innerHeight;
522
524
  document.body.style.position = "fixed", document.body.style.top = -o, document.body.style.left = -i, setTimeout(function() {
523
525
  return window.requestAnimationFrame(function() {
524
- var r = a - window.innerHeight;
525
- r && o >= a && (document.body.style.top = -(o + r));
526
+ var a = r - window.innerHeight;
527
+ a && o >= r && (document.body.style.top = -(o + a));
526
528
  });
527
529
  }, 300);
528
530
  }
529
531
  });
530
- }, Xi = function() {
531
- if (_e !== void 0) {
532
+ }, Ji = function() {
533
+ if (ke !== void 0) {
532
534
  var e = -parseInt(document.body.style.top, 10), o = -parseInt(document.body.style.left, 10);
533
- document.body.style.position = _e.position, document.body.style.top = _e.top, document.body.style.left = _e.left, window.scrollTo(o, e), _e = void 0;
535
+ document.body.style.position = ke.position, document.body.style.top = ke.top, document.body.style.left = ke.left, window.scrollTo(o, e), ke = void 0;
534
536
  }
535
- }, Ji = function(e) {
537
+ }, Zi = function(e) {
536
538
  return e ? e.scrollHeight - e.scrollTop <= e.clientHeight : !1;
537
- }, Zi = function(e, o) {
538
- var i = e.targetTouches[0].clientY - ho;
539
- return mo(e.target) ? !1 : o && o.scrollTop === 0 && i > 0 || Ji(o) && i < 0 ? ot(e) : (e.stopPropagation(), !0);
540
539
  }, en = function(e, o) {
540
+ var i = e.targetTouches[0].clientY - ho;
541
+ return mo(e.target) ? !1 : o && o.scrollTop === 0 && i > 0 || Zi(o) && i < 0 ? ot(e) : (e.stopPropagation(), !0);
542
+ }, tn = function(e, o) {
541
543
  if (!e) {
542
544
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
543
545
  return;
544
546
  }
545
- if (!Te.some(function(a) {
546
- return a.targetElement === e;
547
+ if (!Ce.some(function(r) {
548
+ return r.targetElement === e;
547
549
  })) {
548
550
  var i = {
549
551
  targetElement: e,
550
552
  options: o || {}
551
553
  };
552
- Te = [].concat(ji(Te), [i]), et ? Qi() : Yi(o), et && (e.ontouchstart = function(a) {
553
- a.targetTouches.length === 1 && (ho = a.targetTouches[0].clientY);
554
- }, e.ontouchmove = function(a) {
555
- a.targetTouches.length === 1 && Zi(a, e);
556
- }, tt || (document.addEventListener("touchmove", ot, Pt ? { passive: !1 } : void 0), tt = !0));
554
+ Ce = [].concat(Yi(Ce), [i]), et ? Xi() : Ki(o), et && (e.ontouchstart = function(r) {
555
+ r.targetTouches.length === 1 && (ho = r.targetTouches[0].clientY);
556
+ }, e.ontouchmove = function(r) {
557
+ r.targetTouches.length === 1 && en(r, e);
558
+ }, tt || (document.addEventListener("touchmove", ot, Lt ? { passive: !1 } : void 0), tt = !0));
557
559
  }
558
- }, tn = function(e) {
560
+ }, on = function(e) {
559
561
  if (!e) {
560
562
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
561
563
  return;
562
564
  }
563
- Te = Te.filter(function(o) {
565
+ Ce = Ce.filter(function(o) {
564
566
  return o.targetElement !== e;
565
- }), et && (e.ontouchstart = null, e.ontouchmove = null, tt && Te.length === 0 && (document.removeEventListener("touchmove", ot, Pt ? { passive: !1 } : void 0), tt = !1)), et ? Xi() : Ki();
567
+ }), et && (e.ontouchstart = null, e.ontouchmove = null, tt && Ce.length === 0 && (document.removeEventListener("touchmove", ot, Lt ? { passive: !1 } : void 0), tt = !1)), et ? Ji() : Qi();
566
568
  }, At = K({
567
569
  name: "SidePanelCloseButton",
568
570
  emits: ["close"]
569
571
  });
570
- const on = /* @__PURE__ */ y(
572
+ const nn = /* @__PURE__ */ y(
571
573
  "span",
572
574
  { class: "vsp-close__x" },
573
575
  null,
574
576
  -1
575
577
  /* HOISTED */
576
- ), nn = [
577
- on
578
+ ), rn = [
579
+ nn
578
580
  ];
579
- function rn(t, e, o, i, a, r) {
581
+ function an(t, e, o, i, r, a) {
580
582
  return E(), T("div", {
581
583
  class: "vsp-close",
582
- onClick: e[0] || (e[0] = (f) => t.$emit("close"))
583
- }, [...nn]);
584
+ onClick: e[0] || (e[0] = (d) => t.$emit("close"))
585
+ }, [...rn]);
584
586
  }
585
- At.render = rn;
587
+ At.render = an;
586
588
  At.__file = "src/components/SidePanelCloseButton.vue";
587
- var Lt = K({
589
+ var Ht = K({
588
590
  name: "VueSidePanel",
589
591
  components: {
590
592
  SidePanelCloseButton: At
@@ -676,52 +678,52 @@ var Lt = K({
676
678
  emits: ["update:modelValue", "closed", "opened"],
677
679
  setup(t, { emit: e, attrs: o }) {
678
680
  let i;
679
- const a = N(null), r = N(null), f = N(null), s = N(null), h = N(null), u = N(0), v = N(0), m = N(0), _ = N(0), l = N(0), g = N(), k = N(!1), d = async () => {
680
- window?.innerHeight > 0 && (l.value = window.innerHeight), u.value = f.value ? f.value.clientHeight : 0, m.value = s.value ? s.value.clientHeight : 0, v.value = h.value ? h.value.scrollHeight : 0, _.value = a.value ? a.value.clientHeight : 0;
681
- }, n = () => e("update:modelValue", !1), p = (P, S) => {
681
+ const r = N(null), a = N(null), d = N(null), l = N(null), h = N(null), u = N(0), v = N(0), m = N(0), _ = N(0), s = N(0), g = N(), k = N(!1), c = async () => {
682
+ window?.innerHeight > 0 && (s.value = window.innerHeight), u.value = d.value ? d.value.clientHeight : 0, m.value = l.value ? l.value.clientHeight : 0, v.value = h.value ? h.value.scrollHeight : 0, _.value = r.value ? r.value.clientHeight : 0;
683
+ }, n = () => e("update:modelValue", !1), p = (L, S) => {
682
684
  if (S) {
683
685
  setTimeout(() => {
684
- en(P, { reserveScrollBarGap: !0 }), t.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
686
+ tn(L, { reserveScrollBarGap: !0 }), t.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
685
687
  }, 0);
686
688
  return;
687
689
  }
688
- tn(P), t.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
689
- }, b = () => Math.max(...Array.from(document.querySelectorAll("body *"), (P) => parseFloat(window.getComputedStyle(P).zIndex)).filter((P) => !Number.isNaN(P)), 0);
690
- Fe(() => {
690
+ on(L), t.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
691
+ }, b = () => Math.max(...Array.from(document.querySelectorAll("body *"), (L) => parseFloat(window.getComputedStyle(L).zIndex)).filter((L) => !Number.isNaN(L)), 0);
692
+ Ne(() => {
691
693
  g.value = t.zIndex === "auto" ? b() : t.zIndex;
692
- }), qo(() => {
693
- document.getElementById(t.idName) || (i = document.createElement("div"), i.setAttribute("id", t.idName), document.body.appendChild(i));
694
694
  }), Go(() => {
695
- const { modelValue: P, lockScroll: S } = t;
696
- S && a.value && P && p(a.value, !1), i && document.body.removeChild(i), window.removeEventListener("resize", d);
697
- }), Oe(() => [s.value, f.value, t.height, t.width, t.side, t.modelValue], () => {
698
- wt(() => d());
699
- }), Oe(() => [t.modelValue, a.value], (P, S) => {
700
- const H = S ? S[0] : !1, [B, R] = P, M = B, W = H && !B;
695
+ document.getElementById(t.idName) || (i = document.createElement("div"), i.setAttribute("id", t.idName), document.body.appendChild(i));
696
+ }), jo(() => {
697
+ const { modelValue: L, lockScroll: S } = t;
698
+ S && r.value && L && p(r.value, !1), i && document.body.removeChild(i), window.removeEventListener("resize", c);
699
+ }), De(() => [l.value, d.value, t.height, t.width, t.side, t.modelValue], () => {
700
+ wt(() => c());
701
+ }), De(() => [t.modelValue, r.value], (L, S) => {
702
+ const P = S ? S[0] : !1, [B, R] = L, M = B, W = P && !B;
701
703
  if (R) {
702
704
  if (M && (k.value = !!document.body.style.overflow), B) {
703
- t.lockScroll && p(R, !0), d(), window.addEventListener("resize", d);
705
+ t.lockScroll && p(R, !0), c(), window.addEventListener("resize", c);
704
706
  return;
705
707
  }
706
708
  !t.lockScroll || !W || k.value || (setTimeout(() => {
707
709
  R && p(R, !1);
708
- }, t.panelDuration), window.removeEventListener("resize", d));
710
+ }, t.panelDuration), window.removeEventListener("resize", c));
709
711
  }
710
712
  }, { immediate: !0 });
711
- const $ = Y(() => {
713
+ const $ = j(() => {
712
714
  if (!_.value)
713
715
  return;
714
- const P = v.value + m.value + u.value;
716
+ const L = v.value + m.value + u.value;
715
717
  let S = _.value - m.value - u.value;
716
- return ["top", "bottom"].includes(t.side) && t.height === "auto" && (S = l.value >= P ? v.value : l.value - m.value - u.value), S;
717
- }), w = Y(() => ({
718
+ return ["top", "bottom"].includes(t.side) && t.height === "auto" && (S = s.value >= L ? v.value : s.value - m.value - u.value), S;
719
+ }), w = j(() => ({
718
720
  zIndex: g.value,
719
721
  animationDuration: `${t.overlayDuration}ms`,
720
722
  "--overlay-opacity": t.overlayOpacity,
721
723
  opacity: t.modelValue ? t.overlayOpacity : 0,
722
724
  backgroundColor: t.overlayColor,
723
725
  pointerEvents: t.modelValue ? "all" : "none"
724
- })), O = Y(() => ({
726
+ })), O = j(() => ({
725
727
  width: ["left", "right"].includes(t.side) ? t.width : void 0,
726
728
  maxWidth: "100%",
727
729
  ...["top", "bottom"].includes(t.side) ? {
@@ -736,20 +738,20 @@ var Lt = K({
736
738
  }));
737
739
  return {
738
740
  body: h,
739
- panel: a,
740
- overlay: r,
741
+ panel: r,
742
+ overlay: a,
741
743
  overlayStyles: w,
742
- header: s,
743
- footer: f,
744
+ header: l,
745
+ footer: d,
744
746
  closePanel: n,
745
747
  panelStyles: O,
746
748
  bodyHeight: $
747
749
  };
748
750
  }
749
751
  });
750
- function an(t, e, o, i, a, r) {
751
- const f = jo("SidePanelCloseButton");
752
- return E(), z(Yo, {
752
+ function sn(t, e, o, i, r, a) {
753
+ const d = Yo("SidePanelCloseButton");
754
+ return E(), z(Ko, {
753
755
  to: `#${t.idName}`
754
756
  }, [
755
757
  y(
@@ -762,8 +764,8 @@ function an(t, e, o, i, a, r) {
762
764
  name: "overlay",
763
765
  persisted: ""
764
766
  }, {
765
- default: L(() => [
766
- ze(y(
767
+ default: H(() => [
768
+ We(y(
767
769
  "div",
768
770
  {
769
771
  ref: "overlay",
@@ -783,11 +785,11 @@ function an(t, e, o, i, a, r) {
783
785
  }),
784
786
  C(Wt, {
785
787
  name: t.transitionName || `slide-${t.side}`,
786
- onAfterEnter: e[1] || (e[1] = (s) => t.$emit("opened")),
787
- onAfterLeave: e[2] || (e[2] = (s) => t.$emit("closed"))
788
+ onAfterEnter: e[1] || (e[1] = (l) => t.$emit("opened")),
789
+ onAfterLeave: e[2] || (e[2] = (l) => t.$emit("closed"))
788
790
  }, {
789
- default: L(() => [
790
- !t.rerender || t.modelValue ? ze((E(), T(
791
+ default: H(() => [
792
+ !t.rerender || t.modelValue ? We((E(), T(
791
793
  "div",
792
794
  {
793
795
  key: 0,
@@ -804,7 +806,7 @@ function an(t, e, o, i, a, r) {
804
806
  class: se([t.headerClass, "vsp__header"])
805
807
  },
806
808
  [
807
- Ee(t.$slots, "header", { close: t.closePanel })
809
+ Te(t.$slots, "header", { close: t.closePanel })
808
810
  ],
809
811
  2
810
812
  /* CLASS */
@@ -817,8 +819,8 @@ function an(t, e, o, i, a, r) {
817
819
  style: ut({ height: `${t.bodyHeight}px` })
818
820
  },
819
821
  [
820
- Ee(t.$slots, "default", { close: t.closePanel }),
821
- t.hideCloseBtn ? V("v-if", !0) : (E(), z(f, {
822
+ Te(t.$slots, "default", { close: t.closePanel }),
823
+ t.hideCloseBtn ? V("v-if", !0) : (E(), z(d, {
822
824
  key: 0,
823
825
  onClose: t.closePanel
824
826
  }, null, 8, ["onClose"]))
@@ -834,7 +836,7 @@ function an(t, e, o, i, a, r) {
834
836
  class: se([t.footerClass, "vsp__footer"])
835
837
  },
836
838
  [
837
- Ee(t.$slots, "footer")
839
+ Te(t.$slots, "footer")
838
840
  ],
839
841
  2
840
842
  /* CLASS */
@@ -855,12 +857,12 @@ function an(t, e, o, i, a, r) {
855
857
  )
856
858
  ], 8, ["to"]);
857
859
  }
858
- Lt.render = an;
859
- Lt.__file = "src/components/SidePanel.vue";
860
- const sn = { id: "konnectio-side-panel-header" }, ln = { id: "konnectio-side-panel-title" }, un = {
860
+ Ht.render = sn;
861
+ Ht.__file = "src/components/SidePanel.vue";
862
+ const ln = { id: "konnectio-side-panel-header" }, un = { id: "konnectio-side-panel-title" }, dn = {
861
863
  key: 0,
862
864
  id: "konnectio-side-panel-subtitle"
863
- }, dn = ["innerHTML"], cn = /* @__PURE__ */ K({
865
+ }, cn = ["innerHTML"], fn = /* @__PURE__ */ K({
864
866
  __name: "Base",
865
867
  props: {
866
868
  modelValue: { type: Boolean },
@@ -874,16 +876,16 @@ const sn = { id: "konnectio-side-panel-header" }, ln = { id: "konnectio-side-pan
874
876
  },
875
877
  emits: ["update:modelValue"],
876
878
  setup(t) {
877
- return (e, o) => (E(), z(c(Lt), {
879
+ return (e, o) => (E(), z(f(Ht), {
878
880
  modelValue: e.modelValue,
879
881
  "onUpdate:modelValue": o[1] || (o[1] = (i) => e.$emit("update:modelValue", i)),
880
882
  "lock-scroll": e.lockScroll,
881
883
  "hide-close-btn": e.hideCloseButton,
882
884
  width: "900px"
883
885
  }, {
884
- header: L(() => [
885
- y("div", sn, [
886
- y("h2", ln, [
886
+ header: H(() => [
887
+ y("div", ln, [
888
+ y("h2", un, [
887
889
  y("span", null, A(e.title), 1),
888
890
  y("button", {
889
891
  id: "konnectio-side-panel-close",
@@ -896,25 +898,25 @@ const sn = { id: "konnectio-side-panel-header" }, ln = { id: "konnectio-side-pan
896
898
  })
897
899
  ])
898
900
  ]),
899
- e.subtitle ? (E(), T("h4", un, [
901
+ e.subtitle ? (E(), T("h4", dn, [
900
902
  y("span", null, A(e.subtitle), 1)
901
903
  ])) : V("", !0)
902
904
  ])
903
905
  ]),
904
- default: L(() => [
906
+ default: H(() => [
905
907
  y("div", null, [
906
908
  y("div", {
907
909
  class: "konnectio-side-panel-description",
908
910
  innerHTML: e.description
909
- }, null, 8, dn),
910
- Ee(e.$slots, "default", {}, void 0, !0)
911
+ }, null, 8, cn),
912
+ Te(e.$slots, "default", {}, void 0, !0)
911
913
  ])
912
914
  ]),
913
915
  _: 3
914
916
  }, 8, ["modelValue", "lock-scroll", "hide-close-btn"]));
915
917
  }
916
918
  });
917
- const fn = /* @__PURE__ */ ne(cn, [["__scopeId", "data-v-595c6f25"]]), pn = /* @__PURE__ */ K({
919
+ const pn = /* @__PURE__ */ ne(fn, [["__scopeId", "data-v-595c6f25"]]), hn = /* @__PURE__ */ K({
918
920
  __name: "Template",
919
921
  props: {
920
922
  title: {},
@@ -924,39 +926,39 @@ const fn = /* @__PURE__ */ ne(cn, [["__scopeId", "data-v-595c6f25"]]), pn = /* @
924
926
  callback: { type: Function }
925
927
  },
926
928
  setup(t) {
927
- const { t: e } = he(), { templateID: o, roomGroupID: i } = Z(Ce()), { currency: a } = Z(De()), r = t;
928
- function f(s) {
929
- o.value = r.templateId, i.value = s, r.callback(2);
929
+ const { t: e } = me(), { templateID: o, roomGroupID: i } = Z(he()), { currency: r } = Z(Re()), { clearRoomSelection: a } = he(), d = t;
930
+ function l(h) {
931
+ o.value = d.templateId, i.value = h, a(), d.callback(2);
930
932
  }
931
- return (s, h) => (E(), z(fn, {
932
- title: s.title,
933
- description: s.description,
934
- subtitle: c(e)("booking.availability.selectATemplateRoom")
933
+ return (h, u) => (E(), z(pn, {
934
+ title: h.title,
935
+ description: h.description,
936
+ subtitle: f(e)("booking.availability.selectATemplateRoom")
935
937
  }, {
936
- default: L(() => [
938
+ default: H(() => [
937
939
  y("div", null, [
938
- (E(!0), T(U, null, q(s.roomGroups, ({
939
- id: u,
940
- title: v,
941
- description: m,
942
- images: _,
943
- facilities: l,
944
- extraPrice: g
945
- }, k) => (E(), T("div", { key: u }, [
940
+ (E(!0), T(U, null, q(h.roomGroups, ({
941
+ id: v,
942
+ title: m,
943
+ description: _,
944
+ images: s,
945
+ facilities: g,
946
+ extraPrice: k
947
+ }, c) => (E(), T("div", { key: v }, [
946
948
  C(It, {
947
- "listing-id": u,
948
- name: v,
949
- description: m,
950
- facilities: l,
951
- gallery: _,
949
+ "listing-id": v,
950
+ name: m,
951
+ description: _,
952
+ facilities: g,
953
+ gallery: s,
952
954
  "includes-breakfast": !1,
953
955
  "hide-info-button": !0
954
956
  }, {
955
- action: L(() => [
957
+ action: H(() => [
956
958
  y("div", null, [
957
- C(Le, {
958
- onClickEvent: (d) => f(u),
959
- label: `${c(e)("booking.availability.selectThisRoom")} (${c(pe)(g, c(a))})`,
959
+ C(He, {
960
+ onClickEvent: (n) => l(v),
961
+ label: `${f(e)("booking.availability.selectThisRoom")} (${f(pe)(k, f(r))})`,
960
962
  "full-width": ""
961
963
  }, null, 8, ["onClickEvent", "label"])
962
964
  ])
@@ -972,7 +974,7 @@ const fn = /* @__PURE__ */ ne(cn, [["__scopeId", "data-v-595c6f25"]]), pn = /* @
972
974
  });
973
975
  var vo = {};
974
976
  Object.defineProperty(vo, "__esModule", { value: !0 });
975
- var hn = [
977
+ var mn = [
976
978
  "area",
977
979
  "base",
978
980
  "br",
@@ -1029,79 +1031,79 @@ var hn = [
1029
1031
  "tr",
1030
1032
  "ul",
1031
1033
  "video"
1032
- ], je = ["audio", "math", "svg", "video"], He = 10, mn = 33, vn = 34, yn = 38, gn = 39, Me = 47, Ct = 59, Xe = 60, bn = 61, ct = 62, _n = /[<&\n\ud800-\udbff]/, kn = /[<&\ud800-\udbff]/, En = /\s+/g;
1033
- function Tn(t, e, o) {
1034
+ ], Ye = ["audio", "math", "svg", "video"], Ve = 10, vn = 33, yn = 34, gn = 38, bn = 39, ze = 47, Ct = 59, Xe = 60, _n = 61, ct = 62, kn = /[<&\n\ud800-\udbff]/, En = /[<&\ud800-\udbff]/, Tn = /\s+/g;
1035
+ function Cn(t, e, o) {
1034
1036
  return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? Sn(t, e, o) : $n(t, e, o)) : "";
1035
1037
  }
1036
- var Cn = vo.default = Tn;
1038
+ vo.default = Cn;
1037
1039
  function Sn(t, e, o) {
1038
- for (var i = o.imageWeight, a = i === void 0 ? 2 : i, r = o.indicator, f = r === void 0 ? "…" : r, s = o.maxLines, h = s === void 0 ? 1 / 0 : s, u = o.stripTags, v = u === void 0 ? !1 : u, m = f.length, _ = 1, l = typeof v == "boolean" ? function() {
1040
+ for (var i = o.imageWeight, r = i === void 0 ? 2 : i, a = o.indicator, d = a === void 0 ? "…" : a, l = o.maxLines, h = l === void 0 ? 1 / 0 : l, u = o.stripTags, v = u === void 0 ? !1 : u, m = d.length, _ = 1, s = typeof v == "boolean" ? function() {
1039
1041
  return v;
1040
1042
  } : function(ae) {
1041
1043
  return v.includes(ae);
1042
1044
  }, g = [], k = function(ae) {
1043
1045
  for (var Ie; Ie = g.pop(), Ie !== void 0; )
1044
- l(Ie) || (ae += "</" + Ie + ">");
1046
+ s(Ie) || (ae += "</" + Ie + ">");
1045
1047
  return ae;
1046
- }, d = 0, n = -1, p = t.length; d < p; d++) {
1047
- var b = d ? t.slice(d) : t, $ = In(g), w = n > -1 || $ ? kn : _n, O = b.search(w), P = O > -1 ? O : b.length;
1048
+ }, c = 0, n = -1, p = t.length; c < p; c++) {
1049
+ var b = c ? t.slice(c) : t, $ = In(g), w = n > -1 || $ ? En : kn, O = b.search(w), L = O > -1 ? O : b.length;
1048
1050
  if (n === -1) {
1049
1051
  if ($) {
1050
- var S = Pn(P === b.length ? b : b.slice(0, O));
1051
- if (l(g[g.length - 1])) {
1052
- var H = d > 0 && !ke(t.charCodeAt(d - 1)), B = !ke(t.charCodeAt(d + P));
1053
- S.length > 0 ? S = (H ? " " : "") + S + (B ? " " : "") : H && B && (S = " "), t = t.slice(0, d) + S + t.slice(d + P), P = S.length;
1052
+ var S = Ln(L === b.length ? b : b.slice(0, O));
1053
+ if (s(g[g.length - 1])) {
1054
+ var P = c > 0 && !Ee(t.charCodeAt(c - 1)), B = !Ee(t.charCodeAt(c + L));
1055
+ S.length > 0 ? S = (P ? " " : "") + S + (B ? " " : "") : P && B && (S = " "), t = t.slice(0, c) + S + t.slice(c + L), L = S.length;
1054
1056
  }
1055
1057
  if (m += S.length, m > e)
1056
1058
  break;
1057
- } else if (m += P, m > e) {
1058
- d = Math.max(d + P - m + e, 0);
1059
+ } else if (m += L, m > e) {
1060
+ c = Math.max(c + L - m + e, 0);
1059
1061
  break;
1060
1062
  }
1061
1063
  }
1062
- if (d += P, O === -1)
1064
+ if (c += L, O === -1)
1063
1065
  break;
1064
- var R = t.charCodeAt(d);
1066
+ var R = t.charCodeAt(c);
1065
1067
  if (R === Xe) {
1066
- var M = t.charCodeAt(d + 1), W = M === mn;
1067
- if (W && t.substr(d + 2, 2) === "--") {
1068
- var Q = t.indexOf("-->", d + 4) + 3;
1069
- d = Q - 1;
1070
- } else if (W && t.substr(d + 2, 7) === "[CDATA[") {
1071
- var ue = t.indexOf("]]>", d + 9) + 3;
1072
- d = ue - 1;
1068
+ var M = t.charCodeAt(c + 1), W = M === vn;
1069
+ if (W && t.substr(c + 2, 2) === "--") {
1070
+ var Q = t.indexOf("-->", c + 4) + 3;
1071
+ c = Q - 1;
1072
+ } else if (W && t.substr(c + 2, 7) === "[CDATA[") {
1073
+ var ue = t.indexOf("]]>", c + 9) + 3;
1074
+ c = ue - 1;
1073
1075
  } else {
1074
- var re = M === Me;
1076
+ var re = M === ze;
1075
1077
  if (m === e && !re) {
1076
1078
  m++;
1077
1079
  break;
1078
1080
  }
1079
- for (var me = 0, j = d, ve = !1; ; ) {
1080
- if (j++, j >= p)
1081
+ for (var ve = 0, Y = c, ye = !1; ; ) {
1082
+ if (Y++, Y >= p)
1081
1083
  throw new Error("Invalid HTML: " + t);
1082
- var ye = t.charCodeAt(j);
1083
- if (ve)
1084
- me ? ye === me && (ve = !1) : ke(ye) ? ve = !1 : ye === ct && (ve = !1, j--);
1085
- else if (ye === bn) {
1086
- for (; ke(t.charCodeAt(j + 1)); )
1087
- j++;
1088
- ve = !0;
1089
- var Re = t.charCodeAt(j + 1);
1090
- Re === vn || Re === gn ? (me = Re, j++) : me = 0;
1091
- } else if (ye === ct) {
1092
- var Ne = d + (re ? 2 : 1), rt = Math.min(wn(t, Ne), j), F = t.slice(Ne, rt).toLowerCase();
1093
- F.charCodeAt(F.length - 1) === Me && (F = F.slice(0, F.length - 1));
1094
- var Se = l(F);
1084
+ var ge = t.charCodeAt(Y);
1085
+ if (ye)
1086
+ ve ? ge === ve && (ye = !1) : Ee(ge) ? ye = !1 : ge === ct && (ye = !1, Y--);
1087
+ else if (ge === _n) {
1088
+ for (; Ee(t.charCodeAt(Y + 1)); )
1089
+ Y++;
1090
+ ye = !0;
1091
+ var Be = t.charCodeAt(Y + 1);
1092
+ Be === yn || Be === bn ? (ve = Be, Y++) : ve = 0;
1093
+ } else if (ge === ct) {
1094
+ var Ue = c + (re ? 2 : 1), rt = Math.min(wn(t, Ue), Y), F = t.slice(Ue, rt).toLowerCase();
1095
+ F.charCodeAt(F.length - 1) === ze && (F = F.slice(0, F.length - 1));
1096
+ var Se = s(F);
1095
1097
  if (re) {
1096
1098
  var at = g.pop();
1097
1099
  if (at !== F)
1098
1100
  throw new Error("Invalid HTML: " + t);
1099
- if (je.includes(F) && !je.some(function(ae) {
1101
+ if (Ye.includes(F) && !Ye.some(function(ae) {
1100
1102
  return g.includes(ae);
1101
1103
  })) {
1102
1104
  if (Se)
1103
- d = n, n = -1;
1104
- else if (n = -1, m += a, m > e)
1105
+ c = n, n = -1;
1106
+ else if (n = -1, m += r, m > e)
1105
1107
  break;
1106
1108
  }
1107
1109
  var Dt = yo.includes(F);
@@ -1109,135 +1111,135 @@ function Sn(t, e, o) {
1109
1111
  g.push(F);
1110
1112
  break;
1111
1113
  }
1112
- } else if (hn.includes(F) || t.charCodeAt(j - 1) === Me) {
1114
+ } else if (mn.includes(F) || t.charCodeAt(Y - 1) === ze) {
1113
1115
  if (!Se) {
1114
1116
  if (F === "br") {
1115
1117
  if (_++, _ > h)
1116
1118
  break;
1117
- } else if (F === "img" && (m += a, m > e))
1119
+ } else if (F === "img" && (m += r, m > e))
1118
1120
  break;
1119
1121
  }
1120
1122
  } else
1121
- je.some(function(ae) {
1123
+ Ye.some(function(ae) {
1122
1124
  return g.includes(ae);
1123
- }) || je.includes(F) && (n = d), g.push(F);
1124
- Se && n === -1 ? (t = t.slice(0, d) + t.slice(j + 1), d--) : d = j;
1125
+ }) || Ye.includes(F) && (n = c), g.push(F);
1126
+ Se && n === -1 ? (t = t.slice(0, c) + t.slice(Y + 1), c--) : c = Y;
1125
1127
  break;
1126
1128
  }
1127
1129
  }
1128
1130
  if (m > e || _ > h)
1129
1131
  break;
1130
1132
  }
1131
- } else if (R === yn) {
1132
- for (var j = d + 1, Ue = !0; ; ) {
1133
- var $e = t.charCodeAt(j);
1133
+ } else if (R === gn) {
1134
+ for (var Y = c + 1, qe = !0; ; ) {
1135
+ var $e = t.charCodeAt(Y);
1134
1136
  if (go($e))
1135
- j++;
1137
+ Y++;
1136
1138
  else {
1137
1139
  if ($e === Ct)
1138
1140
  break;
1139
- Ue = !1;
1141
+ qe = !1;
1140
1142
  break;
1141
1143
  }
1142
1144
  }
1143
1145
  if (n === -1 && (m++, m > e))
1144
1146
  break;
1145
- Ue && (d = j);
1146
- } else if (R === He) {
1147
+ qe && (c = Y);
1148
+ } else if (R === Ve) {
1147
1149
  if (m++, m > e || (_++, _ > h))
1148
1150
  break;
1149
1151
  } else {
1150
1152
  if (n === -1 && (m++, m > e))
1151
1153
  break;
1152
1154
  if ((R & 64512) === 55296) {
1153
- var M = t.charCodeAt(d + 1);
1154
- (M & 64512) === 56320 && d++;
1155
+ var M = t.charCodeAt(c + 1);
1156
+ (M & 64512) === 56320 && c++;
1155
1157
  }
1156
1158
  }
1157
1159
  }
1158
1160
  if (m > e) {
1159
- var ge = An(t, d);
1160
- if (f) {
1161
- for (var te = d + ge.length; t.charCodeAt(te) === Xe && t.charCodeAt(te + 1) === Me; ) {
1162
- var qe = t.indexOf(">", te + 2) + 1;
1163
- if (qe)
1164
- te = qe;
1161
+ var be = An(t, c);
1162
+ if (d) {
1163
+ for (var te = c + be.length; t.charCodeAt(te) === Xe && t.charCodeAt(te + 1) === ze; ) {
1164
+ var Ge = t.indexOf(">", te + 2) + 1;
1165
+ if (Ge)
1166
+ te = Ge;
1165
1167
  else
1166
1168
  break;
1167
1169
  }
1168
- te && (te === t.length || Ut(t, te)) && (d += ge.length, ge = t.charAt(d));
1170
+ te && (te === t.length || Ut(t, te)) && (c += be.length, be = t.charAt(c));
1169
1171
  }
1170
- for (; ge === "<" && t.charCodeAt(d + 1) === Me; ) {
1172
+ for (; be === "<" && t.charCodeAt(c + 1) === ze; ) {
1171
1173
  var F = g.pop();
1172
1174
  if (!F)
1173
1175
  break;
1174
- var we = t.indexOf(">", d + 2);
1175
- if (we === -1 || t.slice(d + 2, we).trim() !== F)
1176
+ var we = t.indexOf(">", c + 2);
1177
+ if (we === -1 || t.slice(c + 2, we).trim() !== F)
1176
1178
  throw new Error("Invalid HTML: " + t);
1177
- l(F) ? t = t.slice(0, d) + t.slice(we + 1) : d = we + 1, ge = t.charAt(d);
1179
+ s(F) ? t = t.slice(0, c) + t.slice(we + 1) : c = we + 1, be = t.charAt(c);
1178
1180
  }
1179
- if (d < t.length) {
1181
+ if (c < t.length) {
1180
1182
  if (!o.breakWords)
1181
- for (var be = d - f.length; be >= 0; be--) {
1182
- var R = t.charCodeAt(be);
1183
+ for (var _e = c - d.length; _e >= 0; _e--) {
1184
+ var R = t.charCodeAt(_e);
1183
1185
  if (R === ct || R === Ct)
1184
1186
  break;
1185
- if (R === He || R === Xe) {
1186
- d = be;
1187
+ if (R === Ve || R === Xe) {
1188
+ c = _e;
1187
1189
  break;
1188
- } else if (ke(R)) {
1189
- d = be + (f ? 1 : 0);
1190
+ } else if (Ee(R)) {
1191
+ c = _e + (d ? 1 : 0);
1190
1192
  break;
1191
1193
  }
1192
1194
  }
1193
- var Ge = t.slice(0, d);
1194
- return Ut(t, d) || (Ge += f), k(Ge);
1195
+ var je = t.slice(0, c);
1196
+ return Ut(t, c) || (je += d), k(je);
1195
1197
  }
1196
1198
  } else if (_ > h)
1197
- return k(t.slice(0, d));
1199
+ return k(t.slice(0, c));
1198
1200
  return t;
1199
1201
  }
1200
1202
  function $n(t, e, o) {
1201
- for (var i = o.indicator, a = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r, s = a.length, h = 1, u = 0, v = t.length; u < v && (s++, !(s > e)); u++) {
1203
+ for (var i = o.indicator, r = i === void 0 ? "…" : i, a = o.maxLines, d = a === void 0 ? 1 / 0 : a, l = r.length, h = 1, u = 0, v = t.length; u < v && (l++, !(l > e)); u++) {
1202
1204
  var m = t.charCodeAt(u);
1203
- if (m === He) {
1204
- if (h++, h > f)
1205
+ if (m === Ve) {
1206
+ if (h++, h > d)
1205
1207
  break;
1206
1208
  } else if ((m & 64512) === 55296) {
1207
1209
  var _ = t.charCodeAt(u + 1);
1208
1210
  (_ & 64512) === 56320 && u++;
1209
1211
  }
1210
1212
  }
1211
- if (s > e) {
1212
- var l = bo(t, u);
1213
- if (a) {
1214
- var g = u + l.length;
1213
+ if (l > e) {
1214
+ var s = bo(t, u);
1215
+ if (r) {
1216
+ var g = u + s.length;
1215
1217
  if (g === t.length)
1216
1218
  return t;
1217
- if (t.charCodeAt(g) === He)
1218
- return t.slice(0, u + l.length);
1219
+ if (t.charCodeAt(g) === Ve)
1220
+ return t.slice(0, u + s.length);
1219
1221
  }
1220
1222
  if (!o.breakWords)
1221
- for (var k = u - a.length; k >= 0; k--) {
1223
+ for (var k = u - r.length; k >= 0; k--) {
1222
1224
  var m = t.charCodeAt(k);
1223
- if (m === He) {
1224
- u = k, l = `
1225
+ if (m === Ve) {
1226
+ u = k, s = `
1225
1227
  `;
1226
1228
  break;
1227
- } else if (ke(m)) {
1228
- u = k + (a ? 1 : 0);
1229
+ } else if (Ee(m)) {
1230
+ u = k + (r ? 1 : 0);
1229
1231
  break;
1230
1232
  }
1231
1233
  }
1232
- return t.slice(0, u) + (l === `
1233
- ` ? "" : a);
1234
- } else if (h > f)
1234
+ return t.slice(0, u) + (s === `
1235
+ ` ? "" : r);
1236
+ } else if (h > d)
1235
1237
  return t.slice(0, u);
1236
1238
  return t;
1237
1239
  }
1238
1240
  function wn(t, e) {
1239
1241
  for (var o = t.length, i = e; i < o; i++)
1240
- if (ke(t.charCodeAt(i)))
1242
+ if (Ee(t.charCodeAt(i)))
1241
1243
  return i;
1242
1244
  return o;
1243
1245
  }
@@ -1246,16 +1248,16 @@ function go(t) {
1246
1248
  }
1247
1249
  function Ut(t, e) {
1248
1250
  var o = t.charCodeAt(e);
1249
- if (o === He)
1251
+ if (o === Ve)
1250
1252
  return !0;
1251
1253
  if (o === Xe) {
1252
- var i = "(" + yo.join("|") + "|br)", a = new RegExp("^<" + i + `[
1254
+ var i = "(" + yo.join("|") + "|br)", r = new RegExp("^<" + i + `[
1253
1255
  \f\r ]*/?>`, "i");
1254
- return a.test(t.slice(e));
1256
+ return r.test(t.slice(e));
1255
1257
  } else
1256
1258
  return !1;
1257
1259
  }
1258
- function ke(t) {
1260
+ function Ee(t) {
1259
1261
  return t === 9 || t === 10 || t === 12 || t === 13 || t === 32;
1260
1262
  }
1261
1263
  function In(t) {
@@ -1268,8 +1270,8 @@ function In(t) {
1268
1270
  }
1269
1271
  return !1;
1270
1272
  }
1271
- function Pn(t) {
1272
- return t.trim().replace(En, " ");
1273
+ function Ln(t) {
1274
+ return t.trim().replace(Tn, " ");
1273
1275
  }
1274
1276
  function bo(t, e) {
1275
1277
  var o = t.charCodeAt(e);
@@ -1296,7 +1298,7 @@ function An(t, e) {
1296
1298
  }
1297
1299
  return o;
1298
1300
  }
1299
- const Ln = ["innerHTML"], Hn = /* @__PURE__ */ K({
1301
+ const Hn = ["innerHTML"], Pn = /* @__PURE__ */ K({
1300
1302
  __name: "Template",
1301
1303
  props: {
1302
1304
  id: {},
@@ -1308,58 +1310,57 @@ const Ln = ["innerHTML"], Hn = /* @__PURE__ */ K({
1308
1310
  callback: { type: Function }
1309
1311
  },
1310
1312
  setup(t) {
1311
- Z(Ce()), Z(De()), he();
1312
- const e = t, o = N(!1);
1313
- function i() {
1314
- o.value = !0;
1313
+ Z(he()), Z(Re()), me();
1314
+ const e = t, o = j(() => [{
1315
+ large: e.image.url,
1316
+ medium: e.image.url,
1317
+ thumb: e.image.url,
1318
+ url: e.image.url
1319
+ }]), i = N(!1);
1320
+ function r() {
1321
+ i.value = !0;
1315
1322
  }
1316
- function a(r) {
1317
- e.callback(r), o.value = !1;
1323
+ function a(d) {
1324
+ e.callback(d), i.value = !1;
1318
1325
  }
1319
- return (r, f) => (E(), z(It, {
1320
- "listing-id": r.id,
1321
- name: r.name,
1322
- description: r.description,
1326
+ return (d, l) => (E(), z(It, {
1327
+ "listing-id": d.id,
1328
+ name: d.name,
1329
+ description: d.description,
1330
+ gallery: o.value,
1323
1331
  "includes-breakfast": !1,
1324
1332
  "hide-info-button": !0
1325
1333
  }, {
1326
- description: L(() => [
1327
- r.image ? (E(), z(c(ci), {
1328
- key: 0,
1329
- src: r.image.url,
1330
- zoomScale: 1,
1331
- zoomType: "click",
1332
- zoomPreload: !0,
1333
- fullscreenOnMobile: !1
1334
- }, null, 8, ["src"])) : V("", !0),
1334
+ description: H(() => [
1335
+ V("", !0),
1335
1336
  y("p", {
1336
- innerHTML: c(Cn)(c(Ko)(r.description), 140, { html: !0, maxLines: 3 })
1337
- }, null, 8, Ln)
1337
+ innerHTML: f(Qo)(d.description)
1338
+ }, null, 8, Hn)
1338
1339
  ]),
1339
- action: L(() => [
1340
+ action: H(() => [
1340
1341
  y("div", null, [
1341
- C(Le, {
1342
- onClickEvent: i,
1342
+ C(He, {
1343
+ onClickEvent: r,
1343
1344
  label: "Vælg dette ophold",
1344
1345
  "full-width": ""
1345
1346
  })
1346
1347
  ])
1347
1348
  ]),
1348
- default: L(() => [
1349
- C(pn, {
1350
- modelValue: o.value,
1351
- "onUpdate:modelValue": f[0] || (f[0] = (s) => o.value = s),
1352
- title: r.name,
1353
- "template-id": r.id,
1354
- roomGroups: r.roomGroups,
1349
+ default: H(() => [
1350
+ C(hn, {
1351
+ modelValue: i.value,
1352
+ "onUpdate:modelValue": l[0] || (l[0] = (h) => i.value = h),
1353
+ title: d.name,
1354
+ "template-id": d.id,
1355
+ roomGroups: d.roomGroups,
1355
1356
  callback: a
1356
1357
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
1357
1358
  ]),
1358
1359
  _: 1
1359
- }, 8, ["listing-id", "name", "description"]));
1360
+ }, 8, ["listing-id", "name", "description", "gallery"]));
1360
1361
  }
1361
1362
  });
1362
- const Vn = /* @__PURE__ */ ne(Hn, [["__scopeId", "data-v-56515b5c"]]), qt = /* @__PURE__ */ K({
1363
+ const Vn = /* @__PURE__ */ ne(Pn, [["__scopeId", "data-v-f277e2e5"]]), qt = /* @__PURE__ */ K({
1363
1364
  __name: "TimeField",
1364
1365
  props: {
1365
1366
  modelValue: {},
@@ -1385,25 +1386,25 @@ const Vn = /* @__PURE__ */ ne(Hn, [["__scopeId", "data-v-56515b5c"]]), qt = /* @
1385
1386
  emits: ["update:modelValue"],
1386
1387
  setup(t, { emit: e }) {
1387
1388
  const o = e, i = t;
1388
- function a(f) {
1389
- o("update:modelValue", f);
1389
+ function r(d) {
1390
+ o("update:modelValue", d);
1390
1391
  }
1391
- const r = N(i.modelValue);
1392
- return Oe(r, (f) => {
1393
- a(f);
1394
- }), (f, s) => (E(), z(gi, {
1395
- modelValue: r.value,
1396
- "onUpdate:modelValue": s[0] || (s[0] = (h) => r.value = h),
1392
+ const a = N(i.modelValue);
1393
+ return De(a, (d) => {
1394
+ r(d);
1395
+ }), (d, l) => (E(), z(gi, {
1396
+ modelValue: a.value,
1397
+ "onUpdate:modelValue": l[0] || (l[0] = (h) => a.value = h),
1397
1398
  type: "time",
1398
- label: f.label,
1399
- id: f.id,
1400
- name: f.name,
1401
- icon: f.icon,
1402
- "icon-type": f.iconType,
1403
- "icon-color": f.iconColor,
1399
+ label: d.label,
1400
+ id: d.id,
1401
+ name: d.name,
1402
+ icon: d.icon,
1403
+ "icon-type": d.iconType,
1404
+ "icon-color": d.iconColor,
1404
1405
  "auto-apply": !0,
1405
- required: f.required,
1406
- readonly: f.readonly
1406
+ required: d.required,
1407
+ readonly: d.readonly
1407
1408
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
1408
1409
  }
1409
1410
  });
@@ -1419,31 +1420,31 @@ const On = { style: { display: "flex", "align-items": "baseline" } }, Dn = /* @_
1419
1420
  },
1420
1421
  emits: ["update:modelValue"],
1421
1422
  setup(t, { emit: e }) {
1422
- const { t: o } = he(), i = e, a = t;
1423
- function r(s) {
1424
- i("update:modelValue", s);
1423
+ const { t: o } = me(), i = e, r = t;
1424
+ function a(l) {
1425
+ i("update:modelValue", l);
1425
1426
  }
1426
- const f = Y({
1427
- get: () => a.modelValue,
1428
- set: (s) => r(s)
1427
+ const d = j({
1428
+ get: () => r.modelValue,
1429
+ set: (l) => a(l)
1429
1430
  });
1430
- return (s, h) => (E(), z(nt, {
1431
- modelValue: f.value,
1432
- "onUpdate:modelValue": h[0] || (h[0] = (u) => f.value = u),
1433
- label: s.label,
1434
- placeholder: c(o)("booking.reservation.countryPlaceholder"),
1431
+ return (l, h) => (E(), z(nt, {
1432
+ modelValue: d.value,
1433
+ "onUpdate:modelValue": h[0] || (h[0] = (u) => d.value = u),
1434
+ label: l.label,
1435
+ placeholder: f(o)("booking.reservation.countryPlaceholder"),
1435
1436
  labelKey: "name",
1436
1437
  valueKey: "id",
1437
- options: s.options,
1438
- required: s.required
1438
+ options: l.options,
1439
+ required: l.required
1439
1440
  }, {
1440
- option: L(({ data: u }) => [
1441
+ option: H(({ data: u }) => [
1441
1442
  y("i", {
1442
1443
  class: se(["konnectio-flag-icon", u.iso])
1443
1444
  }, null, 2),
1444
1445
  y("span", null, A(u.name), 1)
1445
1446
  ]),
1446
- "selected-option": L(({ data: u }) => [
1447
+ "selected-option": H(({ data: u }) => [
1447
1448
  y("div", On, [
1448
1449
  y("i", {
1449
1450
  class: se(["konnectio-flag-icon", u.iso])
@@ -1466,25 +1467,25 @@ const Rn = /* @__PURE__ */ ne(Dn, [["__scopeId", "data-v-1462612d"]]), Bn = { cl
1466
1467
  emits: ["update:modelValue"],
1467
1468
  setup(t, { emit: e }) {
1468
1469
  const o = e, i = t;
1469
- function a(f) {
1470
- o("update:modelValue", f);
1470
+ function r(d) {
1471
+ o("update:modelValue", d);
1471
1472
  }
1472
- const r = Y({
1473
+ const a = j({
1473
1474
  get: () => i.modelValue,
1474
- set: (f) => a(f)
1475
+ set: (d) => r(d)
1475
1476
  });
1476
- return (f, s) => (E(), z(uo, {
1477
- label: f.label,
1477
+ return (d, l) => (E(), z(uo, {
1478
+ label: d.label,
1478
1479
  type: "multi-radio"
1479
1480
  }, {
1480
- default: L(() => [
1481
+ default: H(() => [
1481
1482
  y("ul", Bn, [
1482
- (E(!0), T(U, null, q(f.checkboxes, ({ label: h, value: u }, v) => (E(), T("li", { key: v }, [
1483
+ (E(!0), T(U, null, q(d.checkboxes, ({ label: h, value: u }, v) => (E(), T("li", { key: v }, [
1483
1484
  C(Tt, {
1484
- modelValue: r.value,
1485
- "onUpdate:modelValue": s[0] || (s[0] = (m) => r.value = m),
1485
+ modelValue: a.value,
1486
+ "onUpdate:modelValue": l[0] || (l[0] = (m) => a.value = m),
1486
1487
  label: h,
1487
- name: f.name,
1488
+ name: d.name,
1488
1489
  type: "radio",
1489
1490
  val: u
1490
1491
  }, null, 8, ["modelValue", "label", "name", "val"])
@@ -1517,25 +1518,25 @@ const zn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-d8d42a8a"]]), Wn = /* @
1517
1518
  },
1518
1519
  emits: ["update:modelValue", "update:title"],
1519
1520
  setup(t, { emit: e }) {
1520
- const o = t, i = e, a = o.id || xt(), r = N(""), f = N(2);
1521
- function s() {
1522
- i("update:modelValue", r.value);
1521
+ const o = t, i = e, r = o.id || xt(), a = N(""), d = N(2);
1522
+ function l() {
1523
+ i("update:modelValue", a.value);
1523
1524
  }
1524
- Oe(f, (u) => {
1525
+ De(d, (u) => {
1525
1526
  i("update:title", u);
1526
1527
  });
1527
- const { t: h } = he();
1528
- return Fe(() => {
1529
- o.modelValue && (r.value = o.modelValue), o.title && (f.value = o.title);
1528
+ const { t: h } = me();
1529
+ return Ne(() => {
1530
+ o.modelValue && (a.value = o.modelValue), o.title && (d.value = o.title);
1530
1531
  }), (u, v) => (E(), z(uo, {
1531
1532
  label: u.label,
1532
- id: c(a),
1533
+ id: f(r),
1533
1534
  required: u.required,
1534
1535
  type: "fresh-booking-name-field",
1535
1536
  readonly: u.readonly,
1536
1537
  limit: u.limit
1537
1538
  }, {
1538
- default: L(() => [
1539
+ default: H(() => [
1539
1540
  y("div", {
1540
1541
  class: se([
1541
1542
  "fresh-booking-name-input",
@@ -1544,31 +1545,31 @@ const zn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-d8d42a8a"]]), Wn = /* @
1544
1545
  }, [
1545
1546
  u.excludeTitle ? V("", !0) : (E(), z(nt, {
1546
1547
  key: 0,
1547
- modelValue: f.value,
1548
- "onUpdate:modelValue": v[0] || (v[0] = (m) => f.value = m),
1549
- id: c(xt)(),
1548
+ modelValue: d.value,
1549
+ "onUpdate:modelValue": v[0] || (v[0] = (m) => d.value = m),
1550
+ id: f(xt)(),
1550
1551
  icon: u.icon,
1551
1552
  "icon-color": u.iconColor,
1552
1553
  "icon-type": u.iconType,
1553
1554
  options: [
1554
1555
  {
1555
- label: c(h)("booking.reservation.noNameTitle"),
1556
+ label: f(h)("booking.reservation.noNameTitle"),
1556
1557
  value: 1
1557
1558
  },
1558
1559
  {
1559
- label: c(h)("booking.reservation.nameTitleMr"),
1560
+ label: f(h)("booking.reservation.nameTitleMr"),
1560
1561
  value: 2
1561
1562
  },
1562
1563
  {
1563
- label: c(h)("booking.reservation.nameTitleMs"),
1564
+ label: f(h)("booking.reservation.nameTitleMs"),
1564
1565
  value: 3
1565
1566
  },
1566
1567
  {
1567
- label: c(h)("booking.reservation.nameTitleMrs"),
1568
+ label: f(h)("booking.reservation.nameTitleMrs"),
1568
1569
  value: 4
1569
1570
  },
1570
1571
  {
1571
- label: c(h)("booking.reservation.nameTitleDr"),
1572
+ label: f(h)("booking.reservation.nameTitleDr"),
1572
1573
  value: 5
1573
1574
  }
1574
1575
  ],
@@ -1578,12 +1579,12 @@ const zn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-d8d42a8a"]]), Wn = /* @
1578
1579
  searchable: !1
1579
1580
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
1580
1581
  C(ce, {
1581
- modelValue: r.value,
1582
- "onUpdate:modelValue": v[1] || (v[1] = (m) => r.value = m),
1582
+ modelValue: a.value,
1583
+ "onUpdate:modelValue": v[1] || (v[1] = (m) => a.value = m),
1583
1584
  type: "text",
1584
1585
  name: "name",
1585
1586
  autocomplete: "name",
1586
- id: c(a),
1587
+ id: f(r),
1587
1588
  icon: u.excludeTitle ? u.icon : void 0,
1588
1589
  "icon-color": u.iconColor,
1589
1590
  "icon-type": u.iconType,
@@ -1591,7 +1592,7 @@ const zn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-d8d42a8a"]]), Wn = /* @
1591
1592
  required: u.required,
1592
1593
  readonly: u.readonly,
1593
1594
  limit: u.limit,
1594
- onInput: v[2] || (v[2] = (m) => s()),
1595
+ onInput: v[2] || (v[2] = (m) => l()),
1595
1596
  "input-style": u.inputStyle
1596
1597
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
1597
1598
  ], 2)
@@ -1657,15 +1658,15 @@ const xn = /* @__PURE__ */ ne(Wn, [["__scopeId", "data-v-78b0b319"]]), Fn = { cl
1657
1658
  ]));
1658
1659
  }
1659
1660
  });
1660
- const Ve = /* @__PURE__ */ ne(Qn, [["__scopeId", "data-v-5c132d7f"]]), Xn = { class: "hotel-skeleton" }, Jn = { class: "hotel-skeleton-content" }, Zn = { class: "hotel-skeleton-sidebar" }, er = /* @__PURE__ */ K({
1661
+ const Oe = /* @__PURE__ */ ne(Qn, [["__scopeId", "data-v-a5347d60"]]), Xn = { class: "hotel-skeleton" }, Jn = { class: "hotel-skeleton-content" }, Zn = { class: "hotel-skeleton-sidebar" }, er = /* @__PURE__ */ K({
1661
1662
  __name: "HotelSkeleton",
1662
1663
  setup(t) {
1663
1664
  return (e, o) => (E(), T("div", Xn, [
1664
1665
  y("div", Jn, [
1665
1666
  C(vi),
1666
- C(Ve),
1667
- C(Ve),
1668
- C(Ve)
1667
+ C(Oe),
1668
+ C(Oe),
1669
+ C(Oe)
1669
1670
  ]),
1670
1671
  y("div", Zn, [
1671
1672
  C(fi)
@@ -1673,7 +1674,7 @@ const Ve = /* @__PURE__ */ ne(Qn, [["__scopeId", "data-v-5c132d7f"]]), Xn = { cl
1673
1674
  ]));
1674
1675
  }
1675
1676
  });
1676
- const tr = /* @__PURE__ */ ne(er, [["__scopeId", "data-v-4e50a5a1"]]), or = (t) => (ao("data-v-c4c84b9e"), t = t(), so(), t), ir = { id: "booking-availability-container" }, nr = { id: "booking-availability-controls" };
1677
+ const tr = /* @__PURE__ */ ne(er, [["__scopeId", "data-v-5fa1400b"]]), or = (t) => (ao("data-v-85e8c154"), t = t(), so(), t), ir = { id: "booking-availability-container" }, nr = { id: "booking-availability-controls" };
1677
1678
  const rr = {
1678
1679
  key: 1,
1679
1680
  "sticky-container": ""
@@ -1700,76 +1701,77 @@ const br = {
1700
1701
  key: 0,
1701
1702
  id: "konnectio-hotel-addons"
1702
1703
  };
1703
- const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr = /* @__PURE__ */ or(() => /* @__PURE__ */ y("br", null, null, -1)), Sr = ["onClick"], $r = { class: "fresh-booking-panel" }, wr = { key: 0 }, Ir = { key: 1 }, Pr = { class: "fresh-booking-split-inputs" }, Ar = ["onClick"], Lr = /* @__PURE__ */ K({
1704
+ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr = /* @__PURE__ */ or(() => /* @__PURE__ */ y("br", null, null, -1)), Sr = ["onClick"], $r = { class: "fresh-booking-panel" }, wr = { key: 0 }, Ir = { key: 1 }, Lr = { class: "fresh-booking-split-inputs" }, Ar = ["onClick"], Hr = /* @__PURE__ */ K({
1704
1705
  name: "HotelLayout",
1705
1706
  __name: "Hotel",
1706
1707
  props: {
1707
1708
  accessToken: {},
1708
- headerLayout: { default: Qo.Minimal },
1709
+ headerLayout: { default: Xo.Minimal },
1709
1710
  styling: {}
1710
1711
  },
1711
1712
  setup(t) {
1712
- const { t: e } = he(), {
1713
+ const { t: e } = me(), {
1713
1714
  templateID: o,
1714
1715
  title: i,
1715
- countries: a,
1716
- areListingsLoading: r,
1717
- isAvailabilityDataAvailable: f,
1718
- isPaymentLoading: s,
1716
+ countries: r,
1717
+ areListingsLoading: a,
1718
+ isAvailabilityDataAvailable: d,
1719
+ isPaymentLoading: l,
1719
1720
  isReservationFormFilled: h,
1720
1721
  selectedPackage: u,
1721
1722
  travelingFor: v,
1722
1723
  arrivalTime: m,
1723
1724
  departureTime: _,
1724
- name: l,
1725
+ name: s,
1725
1726
  nameTitle: g,
1726
1727
  email: k,
1727
- phone: d,
1728
+ phone: c,
1728
1729
  firmName: n,
1729
1730
  postal: p,
1730
1731
  city: b,
1731
1732
  address: $,
1732
1733
  country: w,
1733
1734
  remark: O,
1734
- allergies: P,
1735
+ allergies: L,
1735
1736
  newsMails: S,
1736
- roomSelect: H,
1737
+ roomSelect: P,
1737
1738
  roomDisplay: B,
1738
1739
  hasValidRoomSelection: R,
1739
1740
  //canStartReservation,
1740
1741
  getSelectedPackageRoom: M,
1741
1742
  availabilityData: W,
1742
1743
  selectionHasNoAddons: Q
1743
- } = Z(Ce()), {
1744
+ } = Z(he()), {
1744
1745
  arrivalDate: ue,
1745
1746
  departureDate: re
1746
1747
  } = Z(no()), {
1747
- currency: me,
1748
- isRecaptchaEnabled: j,
1749
- disableNewsletterSignup: ve,
1750
- arrivalEarliest: ye,
1751
- arrivalLatest: Re,
1752
- departureEarliest: Ne,
1748
+ currency: ve,
1749
+ isRecaptchaEnabled: Y,
1750
+ disableNewsletterSignup: ye,
1751
+ arrivalEarliest: ge,
1752
+ arrivalLatest: Be,
1753
+ departureEarliest: Ue,
1753
1754
  departureLatest: rt,
1754
1755
  enableTracking: F,
1755
1756
  arrivalDefault: Se,
1756
1757
  departureDefault: at,
1757
1758
  enablePackages: Dt,
1758
- hideArrivalDepartureInputs: Ue,
1759
+ hideArrivalDepartureInputs: qe,
1759
1760
  disableArrivalUserSelection: $e,
1760
- disableNamePrefix: ge,
1761
+ disableNamePrefix: be,
1761
1762
  disableDepartureUserSelection: te,
1762
- disableTravelingFor: qe,
1763
+ disableTravelingFor: Ge,
1763
1764
  disableTravelingForBleasure: we,
1764
- disableCompanyField: be,
1765
- hasPaymentGateway: Ge
1766
- } = Z(De());
1767
- Xo();
1765
+ disableCompanyField: _e,
1766
+ hasPaymentGateway: je
1767
+ } = Z(Re());
1768
+ Jo();
1768
1769
  const { beginCheckout: ae } = lo(), {
1769
1770
  initialize: Ie,
1770
- createReservation: Io,
1771
+ resetTemplate: Io,
1772
+ createReservation: Lo,
1771
1773
  getSingleListing: Oa
1772
- } = Ce(), Po = N(!0), Ao = Y(() => {
1774
+ } = he(), Ao = N(!0), Ho = j(() => {
1773
1775
  const G = [
1774
1776
  {
1775
1777
  label: e("booking.reservation.business"),
@@ -1784,7 +1786,7 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
1784
1786
  label: e("booking.reservation.bleasure"),
1785
1787
  value: "Bleasure"
1786
1788
  }), G;
1787
- }), Lo = Y(() => {
1789
+ }), Po = j(() => {
1788
1790
  const G = W.value.roomGroups.slice();
1789
1791
  G.forEach((ee) => {
1790
1792
  ee.pricesFrom = ee.rates.reduce(
@@ -1793,71 +1795,74 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
1793
1795
  );
1794
1796
  });
1795
1797
  function D(ee, x) {
1796
- return Po.value === !0 ? ee.pricesFrom > x.pricesFrom ? -1 : 1 : ee.pricesFrom > x.pricesFrom ? 1 : -1;
1798
+ return Ao.value === !0 ? ee.pricesFrom > x.pricesFrom ? -1 : 1 : ee.pricesFrom > x.pricesFrom ? 1 : -1;
1797
1799
  }
1798
1800
  return G.sort(D);
1799
- }), Ho = Y(() => [[
1800
- parseInt(ye.value.split(":")[0]),
1801
- parseInt(Re.value.split(":")[0])
1802
- ]]), Vo = Y(() => [[
1803
- parseInt(Ne.value.split(":")[0]),
1801
+ }), Vo = j(() => [[
1802
+ parseInt(ge.value.split(":")[0]),
1803
+ parseInt(Be.value.split(":")[0])
1804
+ ]]), Oo = j(() => [[
1805
+ parseInt(Ue.value.split(":")[0]),
1804
1806
  parseInt(rt.value.split(":")[0])
1805
1807
  ]]);
1806
1808
  function Rt(G) {
1807
1809
  Q.value ? G(2) : G();
1808
1810
  }
1809
- function Oo(G, D) {
1811
+ function Do(G, D) {
1810
1812
  re.value = new Date(D), ue.value = new Date(G), location.reload();
1811
1813
  }
1812
- async function Do(G) {
1813
- await Io(G);
1814
+ async function Ro(G) {
1815
+ await Lo(G);
1814
1816
  }
1815
- function Ro(G) {
1817
+ function Bo(G) {
1816
1818
  F.value && ae(), Q.value ? G(2) : G();
1817
1819
  }
1818
- function Bo() {
1820
+ function Mo() {
1819
1821
  m.value === "" && (m.value = Se.value), _.value === "" && (_.value = at.value);
1820
1822
  }
1821
- return Fe(() => {
1822
- Ie(), Bo();
1823
- }), (G, D) => (E(), z(Jo, null, {
1824
- default: L(() => [
1825
- C(ei, {
1823
+ return Ne(() => {
1824
+ Ie(), Mo();
1825
+ }), (G, D) => (E(), z(Zo, null, {
1826
+ default: H(() => [
1827
+ C(ti, {
1826
1828
  id: "fresh-booking-hotel-module",
1827
1829
  "access-token": G.accessToken,
1828
1830
  type: "hotel",
1829
1831
  styling: G.styling
1830
1832
  }, {
1831
- default: L(() => [
1832
- C(pi, { layout: G.headerLayout }, {
1833
- availability: L(({ next: ee }) => [
1833
+ default: H(() => [
1834
+ C(pi, {
1835
+ layout: G.headerLayout,
1836
+ onReset: f(Io)
1837
+ }, {
1838
+ availability: H(({ next: ee }) => [
1834
1839
  C(dt, null, {
1835
- form: L(() => [
1840
+ form: H(() => [
1836
1841
  y("div", ir, [
1837
1842
  y("div", nr, [
1838
1843
  C(yi, { booking: !0 })
1839
1844
  ]),
1840
1845
  V("", !0),
1841
- c(r) ? (E(), T("div", br, [
1842
- C(Ve),
1843
- C(Ve),
1844
- C(Ve)
1846
+ f(a) ? (E(), T("div", br, [
1847
+ C(Oe),
1848
+ C(Oe),
1849
+ C(Oe)
1845
1850
  ])) : (E(), T("div", rr, [
1846
- c(W).roomGroups.length > 0 ? (E(), T("div", ar, [
1847
- c(W).templates.length > 0 ? (E(), T("div", sr, [
1851
+ f(W).roomGroups.length > 0 ? (E(), T("div", ar, [
1852
+ f(W).templates.length > 0 ? (E(), T("div", sr, [
1848
1853
  y("h2", lr, [
1849
1854
  C(ie, {
1850
1855
  icon: "box",
1851
1856
  type: "fal",
1852
1857
  color: "header"
1853
1858
  }),
1854
- y("span", null, A(c(e)("booking.availability.packagesTitle")), 1)
1859
+ y("span", null, A(f(e)("booking.availability.packagesTitle")), 1)
1855
1860
  ]),
1856
1861
  y("ul", ur, [
1857
- (E(!0), T(U, null, q(c(W).templates, ({
1862
+ (E(!0), T(U, null, q(f(W).templates, ({
1858
1863
  id: x,
1859
1864
  name: I,
1860
- templateRoomGroups: Pe,
1865
+ templateRoomGroups: Le,
1861
1866
  image: Ae,
1862
1867
  description: J
1863
1868
  }) => (E(), z(Vn, {
@@ -1866,31 +1871,31 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
1866
1871
  description: J,
1867
1872
  name: I,
1868
1873
  image: Ae,
1869
- "room-groups": Pe,
1874
+ "room-groups": Le,
1870
1875
  callback: ee
1871
1876
  }, null, 8, ["id", "description", "name", "image", "room-groups", "callback"]))), 128))
1872
1877
  ])
1873
1878
  ])) : V("", !0),
1874
- c(W).roomGroups.length > 0 ? (E(), T("div", dr, [
1875
- c(W).templates.length > 0 ? (E(), T("h2", cr, [
1879
+ f(W).roomGroups.length > 0 ? (E(), T("div", dr, [
1880
+ f(W).templates.length > 0 ? (E(), T("h2", cr, [
1876
1881
  C(ie, {
1877
1882
  icon: "house",
1878
1883
  type: "fal",
1879
1884
  color: "header"
1880
1885
  }),
1881
- y("span", null, A(c(e)("booking.availability.roomsTitle")), 1)
1886
+ y("span", null, A(f(e)("booking.availability.roomsTitle")), 1)
1882
1887
  ])) : V("", !0),
1883
1888
  y("ul", fr, [
1884
- (E(!0), T(U, null, q(Lo.value, (x, I) => (E(), z(Gi, {
1889
+ (E(!0), T(U, null, q(Po.value, (x, I) => (E(), z(ji, {
1885
1890
  room: x,
1886
1891
  key: I
1887
1892
  }, null, 8, ["room"]))), 128))
1888
1893
  ])
1889
1894
  ])) : (E(), T("div", pr, [
1890
- y("span", null, A(c(e)("booking.availability.nothingAvailable")), 1)
1895
+ y("span", null, A(f(e)("booking.availability.nothingAvailable")), 1)
1891
1896
  ]))
1892
- ])) : c(W).nextAvailableDates.length === 0 ? (E(), T("div", hr, [
1893
- y("span", null, A(c(e)("booking.availability.nothingAvailable")), 1)
1897
+ ])) : f(W).nextAvailableDates.length === 0 ? (E(), T("div", hr, [
1898
+ y("span", null, A(f(e)("booking.availability.nothingAvailable")), 1)
1894
1899
  ])) : (E(), T("div", mr, [
1895
1900
  y("h2", vr, [
1896
1901
  C(ie, {
@@ -1898,14 +1903,14 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
1898
1903
  type: "fal",
1899
1904
  color: "header"
1900
1905
  }),
1901
- y("span", null, A(c(e)("booking.availability.nextAvailableDates")), 1)
1906
+ y("span", null, A(f(e)("booking.availability.nextAvailableDates")), 1)
1902
1907
  ]),
1903
1908
  y("ul", yr, [
1904
- (E(!0), T(U, null, q(c(W).nextAvailableDates, (x, I) => (E(), T("li", { key: I }, [
1909
+ (E(!0), T(U, null, q(f(W).nextAvailableDates, (x, I) => (E(), T("li", { key: I }, [
1905
1910
  y("h3", {
1906
- title: `${c(fe)(x.fromDate)} - ${c(fe)(x.toDate)}`
1911
+ title: `${f(fe)(x.fromDate)} - ${f(fe)(x.toDate)}`
1907
1912
  }, [
1908
- y("span", null, A(`${c(fe)(x.fromDate)} - ${c(fe)(x.toDate)}`), 1)
1913
+ y("span", null, A(`${f(fe)(x.fromDate)} - ${f(fe)(x.toDate)}`), 1)
1909
1914
  ], 8, gr),
1910
1915
  y("ul", null, [
1911
1916
  V("", !0),
@@ -1915,13 +1920,13 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
1915
1920
  type: "fal",
1916
1921
  color: "header"
1917
1922
  }),
1918
- y("span", null, A(c(e)("booking.availability.pricesFrom")) + ": " + A(c(pe)(x.priceStartFrom, c(me))), 1)
1923
+ y("span", null, A(f(e)("booking.availability.pricesFrom")) + ": " + A(f(pe)(x.priceStartFrom, f(ve))), 1)
1919
1924
  ])
1920
1925
  ]),
1921
- C(Le, {
1922
- label: c(e)("booking.availability.selectDates"),
1926
+ C(He, {
1927
+ label: f(e)("booking.availability.selectDates"),
1923
1928
  "full-width": "",
1924
- onClickEvent: (Pe) => Oo(x.fromDate, x.toDate)
1929
+ onClickEvent: (Le) => Do(x.fromDate, x.toDate)
1925
1930
  }, null, 8, ["label", "onClickEvent"])
1926
1931
  ]))), 128))
1927
1932
  ])
@@ -1929,44 +1934,44 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
1929
1934
  ]))
1930
1935
  ])
1931
1936
  ]),
1932
- navigation: L(() => [
1933
- C(Le, {
1934
- label: c(Q) ? c(e)("booking.availability.nextButton") : c(e)("general.chooseAddons"),
1935
- disabled: !c(R),
1937
+ navigation: H(() => [
1938
+ C(He, {
1939
+ label: f(Q) ? f(e)("booking.availability.nextButton") : f(e)("general.chooseAddons"),
1940
+ disabled: !f(R),
1936
1941
  "is-loading": !1,
1937
1942
  "full-width": "",
1938
- onClickEvent: (x) => Ro(ee)
1943
+ onClickEvent: (x) => Bo(ee)
1939
1944
  }, null, 8, ["label", "disabled", "onClickEvent"])
1940
1945
  ]),
1941
1946
  _: 2
1942
1947
  }, 1024)
1943
1948
  ]),
1944
- addons: L(({ next: ee, prev: x }) => [
1949
+ addons: H(({ next: ee, prev: x }) => [
1945
1950
  C(dt, null, {
1946
- form: L(() => [
1951
+ form: H(() => [
1947
1952
  y("form", _r, [
1948
1953
  y("h2", null, [
1949
- y("span", null, A(c(e)("booking.reservation.addons")), 1)
1954
+ y("span", null, A(f(e)("booking.reservation.addons")), 1)
1950
1955
  ]),
1951
1956
  y("div", null, [
1952
- isNaN(c(o)) ? (E(), T("div", kr, [
1953
- (E(!0), T(U, null, q(c(B), (I) => (E(), T("ul", {
1957
+ isNaN(f(o)) ? (E(), T("div", kr, [
1958
+ (E(!0), T(U, null, q(f(B), (I) => (E(), T("ul", {
1954
1959
  key: I.roomGroupID
1955
1960
  }, [
1956
- (E(!0), T(U, null, q(I.variants, (Pe, Ae) => (E(), T("li", {
1957
- key: Pe.ratePlanID
1961
+ (E(!0), T(U, null, q(I.variants, (Le, Ae) => (E(), T("li", {
1962
+ key: Le.ratePlanID
1958
1963
  }, [
1959
1964
  y("h4", null, [
1960
- y("span", null, A(c(Qe)(I.title)), 1)
1965
+ y("span", null, A(f(Pe)(I.title)), 1)
1961
1966
  ]),
1962
- (E(!0), T(U, null, q(Pe.rooms, (J, Mo) => (E(), T("table", {
1963
- key: Mo,
1967
+ (E(!0), T(U, null, q(Le.rooms, (J, zo) => (E(), T("table", {
1968
+ key: zo,
1964
1969
  class: "fresh-booking-table"
1965
1970
  }, [
1966
1971
  y("thead", null, [
1967
1972
  y("tr", null, [
1968
1973
  y("th", null, [
1969
- y("span", null, A(c(Qe)(Pe.name)), 1)
1974
+ y("span", null, A(f(Pe)(Le.name)), 1)
1970
1975
  ]),
1971
1976
  V("", !0),
1972
1977
  y("th", Er, [
@@ -1991,28 +1996,28 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
1991
1996
  y("tbody", null, [
1992
1997
  (E(!0), T(U, null, q(I.addons, ({
1993
1998
  quantityStrategy: st,
1994
- maximumNumber: zo,
1995
- id: Be,
1996
- name: Wo,
1997
- price: xo
1998
- }) => (E(), T("tr", { key: Be }, [
1999
+ maximumNumber: Wo,
2000
+ id: Me,
2001
+ name: xo,
2002
+ price: Fo
2003
+ }) => (E(), T("tr", { key: Me }, [
1999
2004
  y("td", null, [
2000
- y("b", null, A(c(Qe)(Wo)), 1),
2005
+ y("b", null, A(f(Pe)(xo)), 1),
2001
2006
  Cr,
2002
- y("span", null, A(c(pe)(xo, c(me))) + " " + A(c(Zo)(st)), 1)
2007
+ y("span", null, A(f(pe)(Fo, f(ve))) + " " + A(f(ei)(st)), 1)
2003
2008
  ]),
2004
2009
  y("td", null, [
2005
2010
  st === 1 || st === 12 ? (E(), z(co, {
2006
2011
  key: 0,
2007
- modelValue: c(H)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Be],
2008
- "onUpdate:modelValue": (lt) => c(H)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Be] = lt,
2012
+ modelValue: f(P)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me],
2013
+ "onUpdate:modelValue": (lt) => f(P)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me] = lt,
2009
2014
  small: !0,
2010
2015
  "min-value": 0,
2011
- "max-value": zo || 1 / 0
2016
+ "max-value": Wo || 1 / 0
2012
2017
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), z(Tt, {
2013
2018
  key: 1,
2014
- modelValue: c(H)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Be],
2015
- "onUpdate:modelValue": (lt) => c(H)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Be] = lt,
2019
+ modelValue: f(P)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me],
2020
+ "onUpdate:modelValue": (lt) => f(P)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me] = lt,
2016
2021
  numeric: !0
2017
2022
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
2018
2023
  ])
@@ -2025,9 +2030,9 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
2025
2030
  ])
2026
2031
  ])
2027
2032
  ]),
2028
- navigation: L(() => [
2029
- C(Le, {
2030
- label: c(e)("general.startReservation"),
2033
+ navigation: H(() => [
2034
+ C(He, {
2035
+ label: f(e)("general.startReservation"),
2031
2036
  "full-width": "",
2032
2037
  onClickEvent: ee
2033
2038
  }, null, 8, ["label", "onClickEvent"]),
@@ -2035,213 +2040,213 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
2035
2040
  class: "konnectio-abort-reservation link",
2036
2041
  onClick: Ft((I) => Rt(x), ["prevent"])
2037
2042
  }, [
2038
- y("span", null, A(c(e)("general.goAStepBack")), 1)
2043
+ y("span", null, A(f(e)("general.goAStepBack")), 1)
2039
2044
  ], 8, Sr)
2040
2045
  ]),
2041
2046
  _: 2
2042
2047
  }, 1024)
2043
2048
  ]),
2044
- reservation: L(({ next: ee, prev: x }) => [
2049
+ reservation: H(({ next: ee, prev: x }) => [
2045
2050
  C(dt, {
2046
2051
  "show-terms-notice": !0,
2047
2052
  "show-gift-card": !0
2048
2053
  }, {
2049
- form: L(() => [
2054
+ form: H(() => [
2050
2055
  y("form", $r, [
2051
2056
  y("h2", null, [
2052
- y("span", null, A(c(e)("booking.reservation.detailsTitle")), 1)
2057
+ y("span", null, A(f(e)("booking.reservation.detailsTitle")), 1)
2053
2058
  ]),
2054
- !c(Ue) && !(c($e) && c(te)) ? (E(), T("ul", {
2059
+ !f(qe) && !(f($e) && f(te)) ? (E(), T("ul", {
2055
2060
  key: 0,
2056
- class: se({ "fresh-booking-split-inputs": !c($e) && !c(te) })
2061
+ class: se({ "fresh-booking-split-inputs": !f($e) && !f(te) })
2057
2062
  }, [
2058
- c($e) ? V("", !0) : (E(), T("li", wr, [
2063
+ f($e) ? V("", !0) : (E(), T("li", wr, [
2059
2064
  C(qt, {
2060
- modelValue: c(m),
2065
+ modelValue: f(m),
2061
2066
  "onUpdate:modelValue": D[1] || (D[1] = (I) => X(m) ? m.value = I : null),
2062
- label: c(e)("booking.reservation.arrivalTime"),
2067
+ label: f(e)("booking.reservation.arrivalTime"),
2063
2068
  icon: "hourglass-start",
2064
- "hour-range": Ho.value,
2069
+ "hour-range": Vo.value,
2065
2070
  required: ""
2066
2071
  }, null, 8, ["modelValue", "label", "hour-range"])
2067
2072
  ])),
2068
- c(te) ? V("", !0) : (E(), T("li", Ir, [
2073
+ f(te) ? V("", !0) : (E(), T("li", Ir, [
2069
2074
  C(qt, {
2070
- modelValue: c(_),
2075
+ modelValue: f(_),
2071
2076
  "onUpdate:modelValue": D[2] || (D[2] = (I) => X(_) ? _.value = I : null),
2072
- label: c(e)("booking.reservation.departureTime"),
2077
+ label: f(e)("booking.reservation.departureTime"),
2073
2078
  icon: "hourglass-end",
2074
- "hour-range": Vo.value,
2079
+ "hour-range": Oo.value,
2075
2080
  required: ""
2076
2081
  }, null, 8, ["modelValue", "label", "hour-range"])
2077
2082
  ]))
2078
2083
  ], 2)) : V("", !0),
2079
2084
  C(xn, {
2080
- modelValue: c(l),
2081
- "onUpdate:modelValue": D[3] || (D[3] = (I) => X(l) ? l.value = I : null),
2082
- title: c(g),
2085
+ modelValue: f(s),
2086
+ "onUpdate:modelValue": D[3] || (D[3] = (I) => X(s) ? s.value = I : null),
2087
+ title: f(g),
2083
2088
  "onUpdate:title": D[4] || (D[4] = (I) => X(g) ? g.value = I : null),
2084
- "exclude-title": c(ge),
2085
- label: c(e)("booking.reservation.name"),
2089
+ "exclude-title": f(be),
2090
+ label: f(e)("booking.reservation.name"),
2086
2091
  icon: "user-alt",
2087
- placeholder: c(e)("booking.reservation.namePlaceholder"),
2092
+ placeholder: f(e)("booking.reservation.namePlaceholder"),
2088
2093
  required: ""
2089
2094
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
2090
2095
  C(ce, {
2091
- modelValue: c(k),
2096
+ modelValue: f(k),
2092
2097
  "onUpdate:modelValue": D[5] || (D[5] = (I) => X(k) ? k.value = I : null),
2093
2098
  type: "email",
2094
2099
  name: "email",
2095
2100
  autocomplete: "email",
2096
- label: c(e)("booking.reservation.email"),
2101
+ label: f(e)("booking.reservation.email"),
2097
2102
  icon: "at",
2098
- placeholder: c(e)("booking.reservation.emailPlaceholder"),
2103
+ placeholder: f(e)("booking.reservation.emailPlaceholder"),
2099
2104
  required: ""
2100
2105
  }, null, 8, ["modelValue", "label", "placeholder"]),
2101
- c(ve) ? V("", !0) : (E(), z(Tt, {
2106
+ f(ye) ? V("", !0) : (E(), z(Tt, {
2102
2107
  key: 1,
2103
- modelValue: c(S),
2108
+ modelValue: f(S),
2104
2109
  "onUpdate:modelValue": D[6] || (D[6] = (I) => X(S) ? S.value = I : null),
2105
2110
  type: "checkbox",
2106
2111
  name: "newsletter",
2107
- label: c(e)("booking.reservation.newsletterSignUp")
2112
+ label: f(e)("booking.reservation.newsletterSignUp")
2108
2113
  }, null, 8, ["modelValue", "label"])),
2109
- c(be) ? V("", !0) : (E(), z(ce, {
2114
+ f(_e) ? V("", !0) : (E(), z(ce, {
2110
2115
  key: 2,
2111
- modelValue: c(n),
2116
+ modelValue: f(n),
2112
2117
  "onUpdate:modelValue": D[7] || (D[7] = (I) => X(n) ? n.value = I : null),
2113
2118
  type: "text",
2114
2119
  name: "firm",
2115
2120
  autocomplete: "firm",
2116
- label: `${c(e)("booking.reservation.companyName")} (${c(e)("booking.reservation.optional")})`,
2121
+ label: `${f(e)("booking.reservation.companyName")} (${f(e)("booking.reservation.optional")})`,
2117
2122
  icon: "id-card",
2118
- placeholder: c(e)("booking.reservation.companyNamePlaceholder")
2123
+ placeholder: f(e)("booking.reservation.companyNamePlaceholder")
2119
2124
  }, null, 8, ["modelValue", "label", "placeholder"])),
2120
2125
  C(bi, {
2121
- modelValue: c(d),
2122
- "onUpdate:modelValue": D[8] || (D[8] = (I) => X(d) ? d.value = I : null),
2126
+ modelValue: f(c),
2127
+ "onUpdate:modelValue": D[8] || (D[8] = (I) => X(c) ? c.value = I : null),
2123
2128
  icon: "phone-office",
2124
- label: c(e)("booking.reservation.phone"),
2125
- placeholder: c(e)("booking.reservation.phonePlaceholder"),
2129
+ label: f(e)("booking.reservation.phone"),
2130
+ placeholder: f(e)("booking.reservation.phonePlaceholder"),
2126
2131
  required: ""
2127
2132
  }, null, 8, ["modelValue", "label", "placeholder"]),
2128
2133
  C(Rn, {
2129
- modelValue: c(w),
2134
+ modelValue: f(w),
2130
2135
  "onUpdate:modelValue": D[9] || (D[9] = (I) => X(w) ? w.value = I : null),
2131
- label: c(e)("booking.reservation.country"),
2132
- placeholder: c(e)("booking.reservation.countryPlaceholder"),
2133
- options: c(a),
2136
+ label: f(e)("booking.reservation.country"),
2137
+ placeholder: f(e)("booking.reservation.countryPlaceholder"),
2138
+ options: f(r),
2134
2139
  required: ""
2135
2140
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
2136
2141
  C(ce, {
2137
- modelValue: c($),
2142
+ modelValue: f($),
2138
2143
  "onUpdate:modelValue": D[10] || (D[10] = (I) => X($) ? $.value = I : null),
2139
2144
  type: "textarea",
2140
2145
  name: "address",
2141
2146
  autocomplete: "street-address",
2142
- label: c(e)("booking.reservation.streetAddress"),
2147
+ label: f(e)("booking.reservation.streetAddress"),
2143
2148
  icon: "map-marked",
2144
- placeholder: c(e)("booking.reservation.streetAddressPlaceholder"),
2149
+ placeholder: f(e)("booking.reservation.streetAddressPlaceholder"),
2145
2150
  required: ""
2146
2151
  }, null, 8, ["modelValue", "label", "placeholder"]),
2147
- y("ul", Pr, [
2152
+ y("ul", Lr, [
2148
2153
  y("li", null, [
2149
2154
  C(ce, {
2150
- modelValue: c(p),
2155
+ modelValue: f(p),
2151
2156
  "onUpdate:modelValue": D[11] || (D[11] = (I) => X(p) ? p.value = I : null),
2152
2157
  type: "text",
2153
2158
  name: "postal",
2154
2159
  autocomplete: "postal-code",
2155
- label: c(e)("booking.reservation.postal"),
2160
+ label: f(e)("booking.reservation.postal"),
2156
2161
  icon: "mailbox",
2157
- placeholder: c(e)("booking.reservation.postalPlaceholder"),
2162
+ placeholder: f(e)("booking.reservation.postalPlaceholder"),
2158
2163
  required: ""
2159
2164
  }, null, 8, ["modelValue", "label", "placeholder"])
2160
2165
  ]),
2161
2166
  y("li", null, [
2162
2167
  C(ce, {
2163
- modelValue: c(b),
2168
+ modelValue: f(b),
2164
2169
  "onUpdate:modelValue": D[12] || (D[12] = (I) => X(b) ? b.value = I : null),
2165
2170
  type: "text",
2166
2171
  name: "city",
2167
2172
  autocomplete: "address-level2",
2168
- label: c(e)("booking.reservation.city"),
2173
+ label: f(e)("booking.reservation.city"),
2169
2174
  icon: "city",
2170
- placeholder: c(e)("booking.reservation.cityPlaceholder"),
2175
+ placeholder: f(e)("booking.reservation.cityPlaceholder"),
2171
2176
  required: ""
2172
2177
  }, null, 8, ["modelValue", "label", "placeholder"])
2173
2178
  ])
2174
2179
  ]),
2175
2180
  C(ce, {
2176
- modelValue: c(O),
2181
+ modelValue: f(O),
2177
2182
  "onUpdate:modelValue": D[13] || (D[13] = (I) => X(O) ? O.value = I : null),
2178
2183
  type: "textarea",
2179
- label: `${c(e)("booking.reservation.remark")} (${c(e)("booking.reservation.optional")})`,
2184
+ label: `${f(e)("booking.reservation.remark")} (${f(e)("booking.reservation.optional")})`,
2180
2185
  icon: "info-circle",
2181
- placeholder: c(e)("booking.reservation.remarkPlaceholder")
2186
+ placeholder: f(e)("booking.reservation.remarkPlaceholder")
2182
2187
  }, null, 8, ["modelValue", "label", "placeholder"]),
2183
2188
  C(ce, {
2184
- modelValue: c(P),
2185
- "onUpdate:modelValue": D[14] || (D[14] = (I) => X(P) ? P.value = I : null),
2189
+ modelValue: f(L),
2190
+ "onUpdate:modelValue": D[14] || (D[14] = (I) => X(L) ? L.value = I : null),
2186
2191
  type: "textarea",
2187
- label: `${c(e)("booking.reservation.allergies")} (${c(e)("booking.reservation.optional")})`,
2192
+ label: `${f(e)("booking.reservation.allergies")} (${f(e)("booking.reservation.optional")})`,
2188
2193
  icon: "allergies",
2189
- placeholder: c(e)("booking.reservation.allergiesPlaceholder")
2194
+ placeholder: f(e)("booking.reservation.allergiesPlaceholder")
2190
2195
  }, null, 8, ["modelValue", "label", "placeholder"]),
2191
- c(qe) ? V("", !0) : (E(), z(zn, {
2196
+ f(Ge) ? V("", !0) : (E(), z(zn, {
2192
2197
  key: 3,
2193
- modelValue: c(v),
2198
+ modelValue: f(v),
2194
2199
  "onUpdate:modelValue": D[15] || (D[15] = (I) => X(v) ? v.value = I : null),
2195
- label: `${c(e)("booking.reservation.purposeOfStay")} (${c(e)("booking.reservation.optional")})`,
2200
+ label: `${f(e)("booking.reservation.purposeOfStay")} (${f(e)("booking.reservation.optional")})`,
2196
2201
  name: "travelingFor",
2197
- checkboxes: Ao.value
2202
+ checkboxes: Ho.value
2198
2203
  }, null, 8, ["modelValue", "label", "checkboxes"]))
2199
2204
  ])
2200
2205
  ]),
2201
- navigation: L(() => [
2206
+ navigation: H(() => [
2202
2207
  y("div", null, [
2203
- C(Le, {
2204
- label: c(Ge) ? c(e)("booking.reservation.nextButton") : c(e)("general.confirmReservation"),
2205
- disabled: !c(h),
2206
- "is-loading": c(s),
2208
+ C(He, {
2209
+ label: f(je) ? f(e)("booking.reservation.nextButton") : f(e)("general.confirmReservation"),
2210
+ disabled: !f(h),
2211
+ "is-loading": f(l),
2207
2212
  "full-width": "",
2208
- onClickEvent: (I) => Do(ee)
2213
+ onClickEvent: (I) => Ro(ee)
2209
2214
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
2210
2215
  y("button", {
2211
2216
  class: "konnectio-abort-reservation link",
2212
2217
  onClick: Ft((I) => Rt(x), ["prevent"])
2213
2218
  }, [
2214
- y("span", null, A(c(e)("general.goAStepBack")), 1)
2219
+ y("span", null, A(f(e)("general.goAStepBack")), 1)
2215
2220
  ], 8, Ar)
2216
2221
  ])
2217
2222
  ]),
2218
2223
  _: 2
2219
2224
  }, 1024)
2220
2225
  ]),
2221
- payment: L(() => [
2226
+ payment: H(() => [
2222
2227
  C(_i)
2223
2228
  ]),
2224
- confirmation: L(() => [
2229
+ confirmation: H(() => [
2225
2230
  C(hi, {
2226
- message: c(e)("booking.confirmation.thankYou")
2231
+ message: f(e)("booking.confirmation.thankYou")
2227
2232
  }, null, 8, ["message"])
2228
2233
  ]),
2229
2234
  _: 1
2230
- }, 8, ["layout"])
2235
+ }, 8, ["layout", "onReset"])
2231
2236
  ]),
2232
2237
  _: 1
2233
2238
  }, 8, ["access-token", "styling"])
2234
2239
  ]),
2235
- fallback: L(() => [
2240
+ fallback: H(() => [
2236
2241
  C(tr)
2237
2242
  ]),
2238
2243
  _: 1
2239
2244
  }));
2240
2245
  }
2241
2246
  });
2242
- const Hr = /* @__PURE__ */ ne(Lr, [["__scopeId", "data-v-c4c84b9e"]]);
2247
+ const Pr = /* @__PURE__ */ ne(Hr, [["__scopeId", "data-v-85e8c154"]]);
2243
2248
  var _o = { exports: {} }, ft = { exports: {} }, pt = { exports: {} }, Gt;
2244
- function Ht() {
2249
+ function Pt() {
2245
2250
  return Gt || (Gt = 1, function(t) {
2246
2251
  (function(e, o) {
2247
2252
  t.exports ? t.exports = o() : e.EvEmitter = o();
@@ -2249,30 +2254,30 @@ function Ht() {
2249
2254
  function e() {
2250
2255
  }
2251
2256
  var o = e.prototype;
2252
- return o.on = function(i, a) {
2253
- if (!(!i || !a)) {
2254
- var r = this._events = this._events || {}, f = r[i] = r[i] || [];
2255
- return f.indexOf(a) == -1 && f.push(a), this;
2257
+ return o.on = function(i, r) {
2258
+ if (!(!i || !r)) {
2259
+ var a = this._events = this._events || {}, d = a[i] = a[i] || [];
2260
+ return d.indexOf(r) == -1 && d.push(r), this;
2256
2261
  }
2257
- }, o.once = function(i, a) {
2258
- if (!(!i || !a)) {
2259
- this.on(i, a);
2260
- var r = this._onceEvents = this._onceEvents || {}, f = r[i] = r[i] || {};
2261
- return f[a] = !0, this;
2262
+ }, o.once = function(i, r) {
2263
+ if (!(!i || !r)) {
2264
+ this.on(i, r);
2265
+ var a = this._onceEvents = this._onceEvents || {}, d = a[i] = a[i] || {};
2266
+ return d[r] = !0, this;
2262
2267
  }
2263
- }, o.off = function(i, a) {
2264
- var r = this._events && this._events[i];
2265
- if (!(!r || !r.length)) {
2266
- var f = r.indexOf(a);
2267
- return f != -1 && r.splice(f, 1), this;
2268
+ }, o.off = function(i, r) {
2269
+ var a = this._events && this._events[i];
2270
+ if (!(!a || !a.length)) {
2271
+ var d = a.indexOf(r);
2272
+ return d != -1 && a.splice(d, 1), this;
2268
2273
  }
2269
- }, o.emitEvent = function(i, a) {
2270
- var r = this._events && this._events[i];
2271
- if (!(!r || !r.length)) {
2272
- r = r.slice(0), a = a || [];
2273
- for (var f = this._onceEvents && this._onceEvents[i], s = 0; s < r.length; s++) {
2274
- var h = r[s], u = f && f[h];
2275
- u && (this.off(i, h), delete f[h]), h.apply(this, a);
2274
+ }, o.emitEvent = function(i, r) {
2275
+ var a = this._events && this._events[i];
2276
+ if (!(!a || !a.length)) {
2277
+ a = a.slice(0), r = r || [];
2278
+ for (var d = this._onceEvents && this._onceEvents[i], l = 0; l < a.length; l++) {
2279
+ var h = a[l], u = d && d[h];
2280
+ u && (this.off(i, h), delete d[h]), h.apply(this, r);
2276
2281
  }
2277
2282
  return this;
2278
2283
  }
@@ -2294,15 +2299,15 @@ function Vt() {
2294
2299
  (function(e, o) {
2295
2300
  t.exports ? t.exports = o() : e.getSize = o();
2296
2301
  })(window, function() {
2297
- function o(l) {
2298
- var g = parseFloat(l), k = l.indexOf("%") == -1 && !isNaN(g);
2302
+ function o(s) {
2303
+ var g = parseFloat(s), k = s.indexOf("%") == -1 && !isNaN(g);
2299
2304
  return k && g;
2300
2305
  }
2301
2306
  function i() {
2302
2307
  }
2303
- var a = typeof console > "u" ? i : function(l) {
2304
- console.error(l);
2305
- }, r = [
2308
+ var r = typeof console > "u" ? i : function(s) {
2309
+ console.error(s);
2310
+ }, a = [
2306
2311
  "paddingLeft",
2307
2312
  "paddingRight",
2308
2313
  "paddingTop",
@@ -2315,54 +2320,54 @@ function Vt() {
2315
2320
  "borderRightWidth",
2316
2321
  "borderTopWidth",
2317
2322
  "borderBottomWidth"
2318
- ], f = r.length;
2319
- function s() {
2320
- for (var l = {
2323
+ ], d = a.length;
2324
+ function l() {
2325
+ for (var s = {
2321
2326
  width: 0,
2322
2327
  height: 0,
2323
2328
  innerWidth: 0,
2324
2329
  innerHeight: 0,
2325
2330
  outerWidth: 0,
2326
2331
  outerHeight: 0
2327
- }, g = 0; g < f; g++) {
2328
- var k = r[g];
2329
- l[k] = 0;
2332
+ }, g = 0; g < d; g++) {
2333
+ var k = a[g];
2334
+ s[k] = 0;
2330
2335
  }
2331
- return l;
2336
+ return s;
2332
2337
  }
2333
- function h(l) {
2334
- var g = getComputedStyle(l);
2335
- return g || a("Style returned " + g + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), g;
2338
+ function h(s) {
2339
+ var g = getComputedStyle(s);
2340
+ return g || r("Style returned " + g + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), g;
2336
2341
  }
2337
2342
  var u = !1, v;
2338
2343
  function m() {
2339
2344
  if (!u) {
2340
2345
  u = !0;
2341
- var l = document.createElement("div");
2342
- l.style.width = "200px", l.style.padding = "1px 2px 3px 4px", l.style.borderStyle = "solid", l.style.borderWidth = "1px 2px 3px 4px", l.style.boxSizing = "border-box";
2346
+ var s = document.createElement("div");
2347
+ s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
2343
2348
  var g = document.body || document.documentElement;
2344
- g.appendChild(l);
2345
- var k = h(l);
2346
- v = Math.round(o(k.width)) == 200, _.isBoxSizeOuter = v, g.removeChild(l);
2349
+ g.appendChild(s);
2350
+ var k = h(s);
2351
+ v = Math.round(o(k.width)) == 200, _.isBoxSizeOuter = v, g.removeChild(s);
2347
2352
  }
2348
2353
  }
2349
- function _(l) {
2350
- if (m(), typeof l == "string" && (l = document.querySelector(l)), !(!l || typeof l != "object" || !l.nodeType)) {
2351
- var g = h(l);
2354
+ function _(s) {
2355
+ if (m(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
2356
+ var g = h(s);
2352
2357
  if (g.display == "none")
2353
- return s();
2358
+ return l();
2354
2359
  var k = {};
2355
- k.width = l.offsetWidth, k.height = l.offsetHeight;
2356
- for (var d = k.isBorderBox = g.boxSizing == "border-box", n = 0; n < f; n++) {
2357
- var p = r[n], b = g[p], $ = parseFloat(b);
2360
+ k.width = s.offsetWidth, k.height = s.offsetHeight;
2361
+ for (var c = k.isBorderBox = g.boxSizing == "border-box", n = 0; n < d; n++) {
2362
+ var p = a[n], b = g[p], $ = parseFloat(b);
2358
2363
  k[p] = isNaN($) ? 0 : $;
2359
2364
  }
2360
- var w = k.paddingLeft + k.paddingRight, O = k.paddingTop + k.paddingBottom, P = k.marginLeft + k.marginRight, S = k.marginTop + k.marginBottom, H = k.borderLeftWidth + k.borderRightWidth, B = k.borderTopWidth + k.borderBottomWidth, R = d && v, M = o(g.width);
2365
+ var w = k.paddingLeft + k.paddingRight, O = k.paddingTop + k.paddingBottom, L = k.marginLeft + k.marginRight, S = k.marginTop + k.marginBottom, P = k.borderLeftWidth + k.borderRightWidth, B = k.borderTopWidth + k.borderBottomWidth, R = c && v, M = o(g.width);
2361
2366
  M !== !1 && (k.width = M + // add padding and border unless it's already including it
2362
- (R ? 0 : w + H));
2367
+ (R ? 0 : w + P));
2363
2368
  var W = o(g.height);
2364
2369
  return W !== !1 && (k.height = W + // add padding and border unless it's already including it
2365
- (R ? 0 : O + B)), k.innerWidth = k.width - (w + H), k.innerHeight = k.height - (O + B), k.outerWidth = k.width + P, k.outerHeight = k.height + S, k;
2370
+ (R ? 0 : O + B)), k.innerWidth = k.width - (w + P), k.innerHeight = k.height - (O + B), k.outerWidth = k.width + L, k.outerHeight = k.height + S, k;
2366
2371
  }
2367
2372
  }
2368
2373
  return _;
@@ -2381,14 +2386,14 @@ function Vr() {
2381
2386
  return "matches";
2382
2387
  if (i.matchesSelector)
2383
2388
  return "matchesSelector";
2384
- for (var a = ["webkit", "moz", "ms", "o"], r = 0; r < a.length; r++) {
2385
- var f = a[r], s = f + "MatchesSelector";
2386
- if (i[s])
2387
- return s;
2389
+ for (var r = ["webkit", "moz", "ms", "o"], a = 0; a < r.length; a++) {
2390
+ var d = r[a], l = d + "MatchesSelector";
2391
+ if (i[l])
2392
+ return l;
2388
2393
  }
2389
2394
  }();
2390
- return function(a, r) {
2391
- return a[o](r);
2395
+ return function(r, a) {
2396
+ return r[o](a);
2392
2397
  };
2393
2398
  });
2394
2399
  }(vt)), vt.exports;
@@ -2405,38 +2410,38 @@ function Or() {
2405
2410
  e.matchesSelector
2406
2411
  );
2407
2412
  })(window, function(o, i) {
2408
- var a = {};
2409
- a.extend = function(s, h) {
2413
+ var r = {};
2414
+ r.extend = function(l, h) {
2410
2415
  for (var u in h)
2411
- s[u] = h[u];
2412
- return s;
2413
- }, a.modulo = function(s, h) {
2414
- return (s % h + h) % h;
2416
+ l[u] = h[u];
2417
+ return l;
2418
+ }, r.modulo = function(l, h) {
2419
+ return (l % h + h) % h;
2415
2420
  };
2416
- var r = Array.prototype.slice;
2417
- a.makeArray = function(s) {
2418
- if (Array.isArray(s))
2419
- return s;
2420
- if (s == null)
2421
+ var a = Array.prototype.slice;
2422
+ r.makeArray = function(l) {
2423
+ if (Array.isArray(l))
2424
+ return l;
2425
+ if (l == null)
2421
2426
  return [];
2422
- var h = typeof s == "object" && typeof s.length == "number";
2423
- return h ? r.call(s) : [s];
2424
- }, a.removeFrom = function(s, h) {
2425
- var u = s.indexOf(h);
2426
- u != -1 && s.splice(u, 1);
2427
- }, a.getParent = function(s, h) {
2428
- for (; s.parentNode && s != document.body; )
2429
- if (s = s.parentNode, i(s, h))
2430
- return s;
2431
- }, a.getQueryElement = function(s) {
2432
- return typeof s == "string" ? document.querySelector(s) : s;
2433
- }, a.handleEvent = function(s) {
2434
- var h = "on" + s.type;
2435
- this[h] && this[h](s);
2436
- }, a.filterFindElements = function(s, h) {
2437
- s = a.makeArray(s);
2427
+ var h = typeof l == "object" && typeof l.length == "number";
2428
+ return h ? a.call(l) : [l];
2429
+ }, r.removeFrom = function(l, h) {
2430
+ var u = l.indexOf(h);
2431
+ u != -1 && l.splice(u, 1);
2432
+ }, r.getParent = function(l, h) {
2433
+ for (; l.parentNode && l != document.body; )
2434
+ if (l = l.parentNode, i(l, h))
2435
+ return l;
2436
+ }, r.getQueryElement = function(l) {
2437
+ return typeof l == "string" ? document.querySelector(l) : l;
2438
+ }, r.handleEvent = function(l) {
2439
+ var h = "on" + l.type;
2440
+ this[h] && this[h](l);
2441
+ }, r.filterFindElements = function(l, h) {
2442
+ l = r.makeArray(l);
2438
2443
  var u = [];
2439
- return s.forEach(function(v) {
2444
+ return l.forEach(function(v) {
2440
2445
  if (v instanceof HTMLElement) {
2441
2446
  if (!h) {
2442
2447
  u.push(v);
@@ -2447,42 +2452,42 @@ function Or() {
2447
2452
  u.push(m[_]);
2448
2453
  }
2449
2454
  }), u;
2450
- }, a.debounceMethod = function(s, h, u) {
2455
+ }, r.debounceMethod = function(l, h, u) {
2451
2456
  u = u || 100;
2452
- var v = s.prototype[h], m = h + "Timeout";
2453
- s.prototype[h] = function() {
2457
+ var v = l.prototype[h], m = h + "Timeout";
2458
+ l.prototype[h] = function() {
2454
2459
  var _ = this[m];
2455
2460
  clearTimeout(_);
2456
- var l = arguments, g = this;
2461
+ var s = arguments, g = this;
2457
2462
  this[m] = setTimeout(function() {
2458
- v.apply(g, l), delete g[m];
2463
+ v.apply(g, s), delete g[m];
2459
2464
  }, u);
2460
2465
  };
2461
- }, a.docReady = function(s) {
2466
+ }, r.docReady = function(l) {
2462
2467
  var h = document.readyState;
2463
- h == "complete" || h == "interactive" ? setTimeout(s) : document.addEventListener("DOMContentLoaded", s);
2464
- }, a.toDashed = function(s) {
2465
- return s.replace(/(.)([A-Z])/g, function(h, u, v) {
2468
+ h == "complete" || h == "interactive" ? setTimeout(l) : document.addEventListener("DOMContentLoaded", l);
2469
+ }, r.toDashed = function(l) {
2470
+ return l.replace(/(.)([A-Z])/g, function(h, u, v) {
2466
2471
  return u + "-" + v;
2467
2472
  }).toLowerCase();
2468
2473
  };
2469
- var f = o.console;
2470
- return a.htmlInit = function(s, h) {
2471
- a.docReady(function() {
2472
- var u = a.toDashed(h), v = "data-" + u, m = document.querySelectorAll("[" + v + "]"), _ = document.querySelectorAll(".js-" + u), l = a.makeArray(m).concat(a.makeArray(_)), g = v + "-options", k = o.jQuery;
2473
- l.forEach(function(d) {
2474
- var n = d.getAttribute(v) || d.getAttribute(g), p;
2474
+ var d = o.console;
2475
+ return r.htmlInit = function(l, h) {
2476
+ r.docReady(function() {
2477
+ var u = r.toDashed(h), v = "data-" + u, m = document.querySelectorAll("[" + v + "]"), _ = document.querySelectorAll(".js-" + u), s = r.makeArray(m).concat(r.makeArray(_)), g = v + "-options", k = o.jQuery;
2478
+ s.forEach(function(c) {
2479
+ var n = c.getAttribute(v) || c.getAttribute(g), p;
2475
2480
  try {
2476
2481
  p = n && JSON.parse(n);
2477
2482
  } catch ($) {
2478
- f && f.error("Error parsing " + v + " on " + d.className + ": " + $);
2483
+ d && d.error("Error parsing " + v + " on " + c.className + ": " + $);
2479
2484
  return;
2480
2485
  }
2481
- var b = new s(d, p);
2482
- k && k.data(d, h, b);
2486
+ var b = new l(c, p);
2487
+ k && k.data(c, h, b);
2483
2488
  });
2484
2489
  });
2485
- }, a;
2490
+ }, r;
2486
2491
  });
2487
2492
  }(mt)), mt.exports;
2488
2493
  }
@@ -2491,30 +2496,30 @@ function Dr() {
2491
2496
  return Qt || (Qt = 1, function(t) {
2492
2497
  (function(e, o) {
2493
2498
  t.exports ? t.exports = o(
2494
- Ht(),
2499
+ Pt(),
2495
2500
  Vt()
2496
2501
  ) : (e.Outlayer = {}, e.Outlayer.Item = o(
2497
2502
  e.EvEmitter,
2498
2503
  e.getSize
2499
2504
  ));
2500
2505
  })(window, function(o, i) {
2501
- function a(d) {
2502
- for (var n in d)
2506
+ function r(c) {
2507
+ for (var n in c)
2503
2508
  return !1;
2504
2509
  return n = null, !0;
2505
2510
  }
2506
- var r = document.documentElement.style, f = typeof r.transition == "string" ? "transition" : "WebkitTransition", s = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
2511
+ var a = document.documentElement.style, d = typeof a.transition == "string" ? "transition" : "WebkitTransition", l = typeof a.transform == "string" ? "transform" : "WebkitTransform", h = {
2507
2512
  WebkitTransition: "webkitTransitionEnd",
2508
2513
  transition: "transitionend"
2509
- }[f], u = {
2510
- transform: s,
2511
- transition: f,
2512
- transitionDuration: f + "Duration",
2513
- transitionProperty: f + "Property",
2514
- transitionDelay: f + "Delay"
2514
+ }[d], u = {
2515
+ transform: l,
2516
+ transition: d,
2517
+ transitionDuration: d + "Duration",
2518
+ transitionProperty: d + "Property",
2519
+ transitionDelay: d + "Delay"
2515
2520
  };
2516
- function v(d, n) {
2517
- d && (this.element = d, this.layout = n, this.position = {
2521
+ function v(c, n) {
2522
+ c && (this.element = c, this.layout = n, this.position = {
2518
2523
  x: 0,
2519
2524
  y: 0
2520
2525
  }, this._create());
@@ -2528,96 +2533,96 @@ function Dr() {
2528
2533
  }, this.css({
2529
2534
  position: "absolute"
2530
2535
  });
2531
- }, m.handleEvent = function(d) {
2532
- var n = "on" + d.type;
2533
- this[n] && this[n](d);
2536
+ }, m.handleEvent = function(c) {
2537
+ var n = "on" + c.type;
2538
+ this[n] && this[n](c);
2534
2539
  }, m.getSize = function() {
2535
2540
  this.size = i(this.element);
2536
- }, m.css = function(d) {
2541
+ }, m.css = function(c) {
2537
2542
  var n = this.element.style;
2538
- for (var p in d) {
2543
+ for (var p in c) {
2539
2544
  var b = u[p] || p;
2540
- n[b] = d[p];
2545
+ n[b] = c[p];
2541
2546
  }
2542
2547
  }, m.getPosition = function() {
2543
- var d = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), b = d[n ? "left" : "right"], $ = d[p ? "top" : "bottom"], w = parseFloat(b), O = parseFloat($), P = this.layout.size;
2544
- b.indexOf("%") != -1 && (w = w / 100 * P.width), $.indexOf("%") != -1 && (O = O / 100 * P.height), w = isNaN(w) ? 0 : w, O = isNaN(O) ? 0 : O, w -= n ? P.paddingLeft : P.paddingRight, O -= p ? P.paddingTop : P.paddingBottom, this.position.x = w, this.position.y = O;
2548
+ var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), b = c[n ? "left" : "right"], $ = c[p ? "top" : "bottom"], w = parseFloat(b), O = parseFloat($), L = this.layout.size;
2549
+ b.indexOf("%") != -1 && (w = w / 100 * L.width), $.indexOf("%") != -1 && (O = O / 100 * L.height), w = isNaN(w) ? 0 : w, O = isNaN(O) ? 0 : O, w -= n ? L.paddingLeft : L.paddingRight, O -= p ? L.paddingTop : L.paddingBottom, this.position.x = w, this.position.y = O;
2545
2550
  }, m.layoutPosition = function() {
2546
- var d = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), b = this.layout._getOption("originTop"), $ = p ? "paddingLeft" : "paddingRight", w = p ? "left" : "right", O = p ? "right" : "left", P = this.position.x + d[$];
2547
- n[w] = this.getXValue(P), n[O] = "";
2548
- var S = b ? "paddingTop" : "paddingBottom", H = b ? "top" : "bottom", B = b ? "bottom" : "top", R = this.position.y + d[S];
2549
- n[H] = this.getYValue(R), n[B] = "", this.css(n), this.emitEvent("layout", [this]);
2550
- }, m.getXValue = function(d) {
2551
+ var c = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), b = this.layout._getOption("originTop"), $ = p ? "paddingLeft" : "paddingRight", w = p ? "left" : "right", O = p ? "right" : "left", L = this.position.x + c[$];
2552
+ n[w] = this.getXValue(L), n[O] = "";
2553
+ var S = b ? "paddingTop" : "paddingBottom", P = b ? "top" : "bottom", B = b ? "bottom" : "top", R = this.position.y + c[S];
2554
+ n[P] = this.getYValue(R), n[B] = "", this.css(n), this.emitEvent("layout", [this]);
2555
+ }, m.getXValue = function(c) {
2551
2556
  var n = this.layout._getOption("horizontal");
2552
- return this.layout.options.percentPosition && !n ? d / this.layout.size.width * 100 + "%" : d + "px";
2553
- }, m.getYValue = function(d) {
2557
+ return this.layout.options.percentPosition && !n ? c / this.layout.size.width * 100 + "%" : c + "px";
2558
+ }, m.getYValue = function(c) {
2554
2559
  var n = this.layout._getOption("horizontal");
2555
- return this.layout.options.percentPosition && n ? d / this.layout.size.height * 100 + "%" : d + "px";
2556
- }, m._transitionTo = function(d, n) {
2560
+ return this.layout.options.percentPosition && n ? c / this.layout.size.height * 100 + "%" : c + "px";
2561
+ }, m._transitionTo = function(c, n) {
2557
2562
  this.getPosition();
2558
- var p = this.position.x, b = this.position.y, $ = d == this.position.x && n == this.position.y;
2559
- if (this.setPosition(d, n), $ && !this.isTransitioning) {
2563
+ var p = this.position.x, b = this.position.y, $ = c == this.position.x && n == this.position.y;
2564
+ if (this.setPosition(c, n), $ && !this.isTransitioning) {
2560
2565
  this.layoutPosition();
2561
2566
  return;
2562
2567
  }
2563
- var w = d - p, O = n - b, P = {};
2564
- P.transform = this.getTranslate(w, O), this.transition({
2565
- to: P,
2568
+ var w = c - p, O = n - b, L = {};
2569
+ L.transform = this.getTranslate(w, O), this.transition({
2570
+ to: L,
2566
2571
  onTransitionEnd: {
2567
2572
  transform: this.layoutPosition
2568
2573
  },
2569
2574
  isCleaning: !0
2570
2575
  });
2571
- }, m.getTranslate = function(d, n) {
2576
+ }, m.getTranslate = function(c, n) {
2572
2577
  var p = this.layout._getOption("originLeft"), b = this.layout._getOption("originTop");
2573
- return d = p ? d : -d, n = b ? n : -n, "translate3d(" + d + "px, " + n + "px, 0)";
2574
- }, m.goTo = function(d, n) {
2575
- this.setPosition(d, n), this.layoutPosition();
2576
- }, m.moveTo = m._transitionTo, m.setPosition = function(d, n) {
2577
- this.position.x = parseFloat(d), this.position.y = parseFloat(n);
2578
- }, m._nonTransition = function(d) {
2579
- this.css(d.to), d.isCleaning && this._removeStyles(d.to);
2580
- for (var n in d.onTransitionEnd)
2581
- d.onTransitionEnd[n].call(this);
2582
- }, m.transition = function(d) {
2578
+ return c = p ? c : -c, n = b ? n : -n, "translate3d(" + c + "px, " + n + "px, 0)";
2579
+ }, m.goTo = function(c, n) {
2580
+ this.setPosition(c, n), this.layoutPosition();
2581
+ }, m.moveTo = m._transitionTo, m.setPosition = function(c, n) {
2582
+ this.position.x = parseFloat(c), this.position.y = parseFloat(n);
2583
+ }, m._nonTransition = function(c) {
2584
+ this.css(c.to), c.isCleaning && this._removeStyles(c.to);
2585
+ for (var n in c.onTransitionEnd)
2586
+ c.onTransitionEnd[n].call(this);
2587
+ }, m.transition = function(c) {
2583
2588
  if (!parseFloat(this.layout.options.transitionDuration)) {
2584
- this._nonTransition(d);
2589
+ this._nonTransition(c);
2585
2590
  return;
2586
2591
  }
2587
2592
  var n = this._transn;
2588
- for (var p in d.onTransitionEnd)
2589
- n.onEnd[p] = d.onTransitionEnd[p];
2590
- for (p in d.to)
2591
- n.ingProperties[p] = !0, d.isCleaning && (n.clean[p] = !0);
2592
- d.from && (this.css(d.from), this.element.offsetHeight), this.enableTransition(d.to), this.css(d.to), this.isTransitioning = !0;
2593
+ for (var p in c.onTransitionEnd)
2594
+ n.onEnd[p] = c.onTransitionEnd[p];
2595
+ for (p in c.to)
2596
+ n.ingProperties[p] = !0, c.isCleaning && (n.clean[p] = !0);
2597
+ c.from && (this.css(c.from), this.element.offsetHeight), this.enableTransition(c.to), this.css(c.to), this.isTransitioning = !0;
2593
2598
  };
2594
- function _(d) {
2595
- return d.replace(/([A-Z])/g, function(n) {
2599
+ function _(c) {
2600
+ return c.replace(/([A-Z])/g, function(n) {
2596
2601
  return "-" + n.toLowerCase();
2597
2602
  });
2598
2603
  }
2599
- var l = "opacity," + _(s);
2604
+ var s = "opacity," + _(l);
2600
2605
  m.enableTransition = function() {
2601
2606
  if (!this.isTransitioning) {
2602
- var d = this.layout.options.transitionDuration;
2603
- d = typeof d == "number" ? d + "ms" : d, this.css({
2604
- transitionProperty: l,
2605
- transitionDuration: d,
2607
+ var c = this.layout.options.transitionDuration;
2608
+ c = typeof c == "number" ? c + "ms" : c, this.css({
2609
+ transitionProperty: s,
2610
+ transitionDuration: c,
2606
2611
  transitionDelay: this.staggerDelay || 0
2607
2612
  }), this.element.addEventListener(h, this, !1);
2608
2613
  }
2609
- }, m.onwebkitTransitionEnd = function(d) {
2610
- this.ontransitionend(d);
2611
- }, m.onotransitionend = function(d) {
2612
- this.ontransitionend(d);
2614
+ }, m.onwebkitTransitionEnd = function(c) {
2615
+ this.ontransitionend(c);
2616
+ }, m.onotransitionend = function(c) {
2617
+ this.ontransitionend(c);
2613
2618
  };
2614
2619
  var g = {
2615
2620
  "-webkit-transform": "transform"
2616
2621
  };
2617
- m.ontransitionend = function(d) {
2618
- if (d.target === this.element) {
2619
- var n = this._transn, p = g[d.propertyName] || d.propertyName;
2620
- if (delete n.ingProperties[p], a(n.ingProperties) && this.disableTransition(), p in n.clean && (this.element.style[d.propertyName] = "", delete n.clean[p]), p in n.onEnd) {
2622
+ m.ontransitionend = function(c) {
2623
+ if (c.target === this.element) {
2624
+ var n = this._transn, p = g[c.propertyName] || c.propertyName;
2625
+ if (delete n.ingProperties[p], r(n.ingProperties) && this.disableTransition(), p in n.clean && (this.element.style[c.propertyName] = "", delete n.clean[p]), p in n.onEnd) {
2621
2626
  var b = n.onEnd[p];
2622
2627
  b.call(this), delete n.onEnd[p];
2623
2628
  }
@@ -2625,9 +2630,9 @@ function Dr() {
2625
2630
  }
2626
2631
  }, m.disableTransition = function() {
2627
2632
  this.removeTransitionStyles(), this.element.removeEventListener(h, this, !1), this.isTransitioning = !1;
2628
- }, m._removeStyles = function(d) {
2633
+ }, m._removeStyles = function(c) {
2629
2634
  var n = {};
2630
- for (var p in d)
2635
+ for (var p in c)
2631
2636
  n[p] = "";
2632
2637
  this.css(n);
2633
2638
  };
@@ -2638,12 +2643,12 @@ function Dr() {
2638
2643
  };
2639
2644
  return m.removeTransitionStyles = function() {
2640
2645
  this.css(k);
2641
- }, m.stagger = function(d) {
2642
- d = isNaN(d) ? 0 : d, this.staggerDelay = d + "ms";
2646
+ }, m.stagger = function(c) {
2647
+ c = isNaN(c) ? 0 : c, this.staggerDelay = c + "ms";
2643
2648
  }, m.removeElem = function() {
2644
2649
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
2645
2650
  }, m.remove = function() {
2646
- if (!f || !parseFloat(this.layout.options.transitionDuration)) {
2651
+ if (!d || !parseFloat(this.layout.options.transitionDuration)) {
2647
2652
  this.removeElem();
2648
2653
  return;
2649
2654
  }
@@ -2652,27 +2657,27 @@ function Dr() {
2652
2657
  }), this.hide();
2653
2658
  }, m.reveal = function() {
2654
2659
  delete this.isHidden, this.css({ display: "" });
2655
- var d = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("visibleStyle");
2660
+ var c = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("visibleStyle");
2656
2661
  n[p] = this.onRevealTransitionEnd, this.transition({
2657
- from: d.hiddenStyle,
2658
- to: d.visibleStyle,
2662
+ from: c.hiddenStyle,
2663
+ to: c.visibleStyle,
2659
2664
  isCleaning: !0,
2660
2665
  onTransitionEnd: n
2661
2666
  });
2662
2667
  }, m.onRevealTransitionEnd = function() {
2663
2668
  this.isHidden || this.emitEvent("reveal");
2664
- }, m.getHideRevealTransitionEndProperty = function(d) {
2665
- var n = this.layout.options[d];
2669
+ }, m.getHideRevealTransitionEndProperty = function(c) {
2670
+ var n = this.layout.options[c];
2666
2671
  if (n.opacity)
2667
2672
  return "opacity";
2668
2673
  for (var p in n)
2669
2674
  return p;
2670
2675
  }, m.hide = function() {
2671
2676
  this.isHidden = !0, this.css({ display: "" });
2672
- var d = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("hiddenStyle");
2677
+ var c = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("hiddenStyle");
2673
2678
  n[p] = this.onHideTransitionEnd, this.transition({
2674
- from: d.visibleStyle,
2675
- to: d.hiddenStyle,
2679
+ from: c.visibleStyle,
2680
+ to: c.hiddenStyle,
2676
2681
  // keep hidden stuff hidden
2677
2682
  isCleaning: !0,
2678
2683
  onTransitionEnd: n
@@ -2704,7 +2709,7 @@ function Rr() {
2704
2709
  (function(e, o) {
2705
2710
  t.exports ? t.exports = o(
2706
2711
  e,
2707
- Ht(),
2712
+ Pt(),
2708
2713
  Vt(),
2709
2714
  Or(),
2710
2715
  Dr()
@@ -2715,22 +2720,22 @@ function Rr() {
2715
2720
  e.fizzyUIUtils,
2716
2721
  e.Outlayer.Item
2717
2722
  );
2718
- })(window, function(o, i, a, r, f) {
2719
- var s = o.console, h = o.jQuery, u = function() {
2723
+ })(window, function(o, i, r, a, d) {
2724
+ var l = o.console, h = o.jQuery, u = function() {
2720
2725
  }, v = 0, m = {};
2721
2726
  function _(n, p) {
2722
- var b = r.getQueryElement(n);
2727
+ var b = a.getQueryElement(n);
2723
2728
  if (!b) {
2724
- s && s.error("Bad element for " + this.constructor.namespace + ": " + (b || n));
2729
+ l && l.error("Bad element for " + this.constructor.namespace + ": " + (b || n));
2725
2730
  return;
2726
2731
  }
2727
- this.element = b, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(p);
2732
+ this.element = b, h && (this.$element = h(this.element)), this.options = a.extend({}, this.constructor.defaults), this.option(p);
2728
2733
  var $ = ++v;
2729
2734
  this.element.outlayerGUID = $, m[$] = this, this._create();
2730
2735
  var w = this._getOption("initLayout");
2731
2736
  w && this.layout();
2732
2737
  }
2733
- _.namespace = "outlayer", _.Item = f, _.defaults = {
2738
+ _.namespace = "outlayer", _.Item = d, _.defaults = {
2734
2739
  containerStyle: {
2735
2740
  position: "relative"
2736
2741
  },
@@ -2750,10 +2755,10 @@ function Rr() {
2750
2755
  transform: "scale(1)"
2751
2756
  }
2752
2757
  };
2753
- var l = _.prototype;
2754
- r.extend(l, i.prototype), l.option = function(n) {
2755
- r.extend(this.options, n);
2756
- }, l._getOption = function(n) {
2758
+ var s = _.prototype;
2759
+ a.extend(s, i.prototype), s.option = function(n) {
2760
+ a.extend(this.options, n);
2761
+ }, s._getOption = function(n) {
2757
2762
  var p = this.constructor.compatOptions[n];
2758
2763
  return p && this.options[p] !== void 0 ? this.options[p] : this.options[n];
2759
2764
  }, _.compatOptions = {
@@ -2765,42 +2770,42 @@ function Rr() {
2765
2770
  originTop: "isOriginTop",
2766
2771
  resize: "isResizeBound",
2767
2772
  resizeContainer: "isResizingContainer"
2768
- }, l._create = function() {
2769
- this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
2773
+ }, s._create = function() {
2774
+ this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), a.extend(this.element.style, this.options.containerStyle);
2770
2775
  var n = this._getOption("resize");
2771
2776
  n && this.bindResize();
2772
- }, l.reloadItems = function() {
2777
+ }, s.reloadItems = function() {
2773
2778
  this.items = this._itemize(this.element.children);
2774
- }, l._itemize = function(n) {
2779
+ }, s._itemize = function(n) {
2775
2780
  for (var p = this._filterFindItemElements(n), b = this.constructor.Item, $ = [], w = 0; w < p.length; w++) {
2776
- var O = p[w], P = new b(O, this);
2777
- $.push(P);
2781
+ var O = p[w], L = new b(O, this);
2782
+ $.push(L);
2778
2783
  }
2779
2784
  return $;
2780
- }, l._filterFindItemElements = function(n) {
2781
- return r.filterFindElements(n, this.options.itemSelector);
2782
- }, l.getItemElements = function() {
2785
+ }, s._filterFindItemElements = function(n) {
2786
+ return a.filterFindElements(n, this.options.itemSelector);
2787
+ }, s.getItemElements = function() {
2783
2788
  return this.items.map(function(n) {
2784
2789
  return n.element;
2785
2790
  });
2786
- }, l.layout = function() {
2791
+ }, s.layout = function() {
2787
2792
  this._resetLayout(), this._manageStamps();
2788
2793
  var n = this._getOption("layoutInstant"), p = n !== void 0 ? n : !this._isLayoutInited;
2789
2794
  this.layoutItems(this.items, p), this._isLayoutInited = !0;
2790
- }, l._init = l.layout, l._resetLayout = function() {
2795
+ }, s._init = s.layout, s._resetLayout = function() {
2791
2796
  this.getSize();
2792
- }, l.getSize = function() {
2793
- this.size = a(this.element);
2794
- }, l._getMeasurement = function(n, p) {
2797
+ }, s.getSize = function() {
2798
+ this.size = r(this.element);
2799
+ }, s._getMeasurement = function(n, p) {
2795
2800
  var b = this.options[n], $;
2796
- b ? (typeof b == "string" ? $ = this.element.querySelector(b) : b instanceof HTMLElement && ($ = b), this[n] = $ ? a($)[p] : b) : this[n] = 0;
2797
- }, l.layoutItems = function(n, p) {
2801
+ b ? (typeof b == "string" ? $ = this.element.querySelector(b) : b instanceof HTMLElement && ($ = b), this[n] = $ ? r($)[p] : b) : this[n] = 0;
2802
+ }, s.layoutItems = function(n, p) {
2798
2803
  n = this._getItemsForLayout(n), this._layoutItems(n, p), this._postLayout();
2799
- }, l._getItemsForLayout = function(n) {
2804
+ }, s._getItemsForLayout = function(n) {
2800
2805
  return n.filter(function(p) {
2801
2806
  return !p.isIgnored;
2802
2807
  });
2803
- }, l._layoutItems = function(n, p) {
2808
+ }, s._layoutItems = function(n, p) {
2804
2809
  if (this._emitCompleteOnItems("layout", n), !(!n || !n.length)) {
2805
2810
  var b = [];
2806
2811
  n.forEach(function($) {
@@ -2808,38 +2813,38 @@ function Rr() {
2808
2813
  w.item = $, w.isInstant = p || $.isLayoutInstant, b.push(w);
2809
2814
  }, this), this._processLayoutQueue(b);
2810
2815
  }
2811
- }, l._getItemLayoutPosition = function() {
2816
+ }, s._getItemLayoutPosition = function() {
2812
2817
  return {
2813
2818
  x: 0,
2814
2819
  y: 0
2815
2820
  };
2816
- }, l._processLayoutQueue = function(n) {
2821
+ }, s._processLayoutQueue = function(n) {
2817
2822
  this.updateStagger(), n.forEach(function(p, b) {
2818
2823
  this._positionItem(p.item, p.x, p.y, p.isInstant, b);
2819
2824
  }, this);
2820
- }, l.updateStagger = function() {
2825
+ }, s.updateStagger = function() {
2821
2826
  var n = this.options.stagger;
2822
2827
  if (n == null) {
2823
2828
  this.stagger = 0;
2824
2829
  return;
2825
2830
  }
2826
- return this.stagger = d(n), this.stagger;
2827
- }, l._positionItem = function(n, p, b, $, w) {
2831
+ return this.stagger = c(n), this.stagger;
2832
+ }, s._positionItem = function(n, p, b, $, w) {
2828
2833
  $ ? n.goTo(p, b) : (n.stagger(w * this.stagger), n.moveTo(p, b));
2829
- }, l._postLayout = function() {
2834
+ }, s._postLayout = function() {
2830
2835
  this.resizeContainer();
2831
- }, l.resizeContainer = function() {
2836
+ }, s.resizeContainer = function() {
2832
2837
  var n = this._getOption("resizeContainer");
2833
2838
  if (n) {
2834
2839
  var p = this._getContainerSize();
2835
2840
  p && (this._setContainerMeasure(p.width, !0), this._setContainerMeasure(p.height, !1));
2836
2841
  }
2837
- }, l._getContainerSize = u, l._setContainerMeasure = function(n, p) {
2842
+ }, s._getContainerSize = u, s._setContainerMeasure = function(n, p) {
2838
2843
  if (n !== void 0) {
2839
2844
  var b = this.size;
2840
2845
  b.isBorderBox && (n += p ? b.paddingLeft + b.paddingRight + b.borderLeftWidth + b.borderRightWidth : b.paddingBottom + b.paddingTop + b.borderTopWidth + b.borderBottomWidth), n = Math.max(n, 0), this.element.style[p ? "width" : "height"] = n + "px";
2841
2846
  }
2842
- }, l._emitCompleteOnItems = function(n, p) {
2847
+ }, s._emitCompleteOnItems = function(n, p) {
2843
2848
  var b = this;
2844
2849
  function $() {
2845
2850
  b.dispatchEvent(n + "Complete", null, [p]);
@@ -2850,13 +2855,13 @@ function Rr() {
2850
2855
  return;
2851
2856
  }
2852
2857
  var O = 0;
2853
- function P() {
2858
+ function L() {
2854
2859
  O++, O == w && $();
2855
2860
  }
2856
2861
  p.forEach(function(S) {
2857
- S.once(n, P);
2862
+ S.once(n, L);
2858
2863
  });
2859
- }, l.dispatchEvent = function(n, p, b) {
2864
+ }, s.dispatchEvent = function(n, p, b) {
2860
2865
  var $ = p ? [p].concat(b) : b;
2861
2866
  if (this.emitEvent(n, $), h)
2862
2867
  if (this.$element = this.$element || h(this.element), p) {
@@ -2864,24 +2869,24 @@ function Rr() {
2864
2869
  w.type = n, this.$element.trigger(w, b);
2865
2870
  } else
2866
2871
  this.$element.trigger(n, b);
2867
- }, l.ignore = function(n) {
2872
+ }, s.ignore = function(n) {
2868
2873
  var p = this.getItem(n);
2869
2874
  p && (p.isIgnored = !0);
2870
- }, l.unignore = function(n) {
2875
+ }, s.unignore = function(n) {
2871
2876
  var p = this.getItem(n);
2872
2877
  p && delete p.isIgnored;
2873
- }, l.stamp = function(n) {
2878
+ }, s.stamp = function(n) {
2874
2879
  n = this._find(n), n && (this.stamps = this.stamps.concat(n), n.forEach(this.ignore, this));
2875
- }, l.unstamp = function(n) {
2880
+ }, s.unstamp = function(n) {
2876
2881
  n = this._find(n), n && n.forEach(function(p) {
2877
- r.removeFrom(this.stamps, p), this.unignore(p);
2882
+ a.removeFrom(this.stamps, p), this.unignore(p);
2878
2883
  }, this);
2879
- }, l._find = function(n) {
2884
+ }, s._find = function(n) {
2880
2885
  if (n)
2881
- return typeof n == "string" && (n = this.element.querySelectorAll(n)), n = r.makeArray(n), n;
2882
- }, l._manageStamps = function() {
2886
+ return typeof n == "string" && (n = this.element.querySelectorAll(n)), n = a.makeArray(n), n;
2887
+ }, s._manageStamps = function() {
2883
2888
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
2884
- }, l._getBoundingRect = function() {
2889
+ }, s._getBoundingRect = function() {
2885
2890
  var n = this.element.getBoundingClientRect(), p = this.size;
2886
2891
  this._boundingRect = {
2887
2892
  left: n.left + p.paddingLeft + p.borderLeftWidth,
@@ -2889,76 +2894,76 @@ function Rr() {
2889
2894
  right: n.right - (p.paddingRight + p.borderRightWidth),
2890
2895
  bottom: n.bottom - (p.paddingBottom + p.borderBottomWidth)
2891
2896
  };
2892
- }, l._manageStamp = u, l._getElementOffset = function(n) {
2893
- var p = n.getBoundingClientRect(), b = this._boundingRect, $ = a(n), w = {
2897
+ }, s._manageStamp = u, s._getElementOffset = function(n) {
2898
+ var p = n.getBoundingClientRect(), b = this._boundingRect, $ = r(n), w = {
2894
2899
  left: p.left - b.left - $.marginLeft,
2895
2900
  top: p.top - b.top - $.marginTop,
2896
2901
  right: b.right - p.right - $.marginRight,
2897
2902
  bottom: b.bottom - p.bottom - $.marginBottom
2898
2903
  };
2899
2904
  return w;
2900
- }, l.handleEvent = r.handleEvent, l.bindResize = function() {
2905
+ }, s.handleEvent = a.handleEvent, s.bindResize = function() {
2901
2906
  o.addEventListener("resize", this), this.isResizeBound = !0;
2902
- }, l.unbindResize = function() {
2907
+ }, s.unbindResize = function() {
2903
2908
  o.removeEventListener("resize", this), this.isResizeBound = !1;
2904
- }, l.onresize = function() {
2909
+ }, s.onresize = function() {
2905
2910
  this.resize();
2906
- }, r.debounceMethod(_, "onresize", 100), l.resize = function() {
2911
+ }, a.debounceMethod(_, "onresize", 100), s.resize = function() {
2907
2912
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2908
- }, l.needsResizeLayout = function() {
2909
- var n = a(this.element), p = this.size && n;
2913
+ }, s.needsResizeLayout = function() {
2914
+ var n = r(this.element), p = this.size && n;
2910
2915
  return p && n.innerWidth !== this.size.innerWidth;
2911
- }, l.addItems = function(n) {
2916
+ }, s.addItems = function(n) {
2912
2917
  var p = this._itemize(n);
2913
2918
  return p.length && (this.items = this.items.concat(p)), p;
2914
- }, l.appended = function(n) {
2919
+ }, s.appended = function(n) {
2915
2920
  var p = this.addItems(n);
2916
2921
  p.length && (this.layoutItems(p, !0), this.reveal(p));
2917
- }, l.prepended = function(n) {
2922
+ }, s.prepended = function(n) {
2918
2923
  var p = this._itemize(n);
2919
2924
  if (p.length) {
2920
2925
  var b = this.items.slice(0);
2921
2926
  this.items = p.concat(b), this._resetLayout(), this._manageStamps(), this.layoutItems(p, !0), this.reveal(p), this.layoutItems(b);
2922
2927
  }
2923
- }, l.reveal = function(n) {
2928
+ }, s.reveal = function(n) {
2924
2929
  if (this._emitCompleteOnItems("reveal", n), !(!n || !n.length)) {
2925
2930
  var p = this.updateStagger();
2926
2931
  n.forEach(function(b, $) {
2927
2932
  b.stagger($ * p), b.reveal();
2928
2933
  });
2929
2934
  }
2930
- }, l.hide = function(n) {
2935
+ }, s.hide = function(n) {
2931
2936
  if (this._emitCompleteOnItems("hide", n), !(!n || !n.length)) {
2932
2937
  var p = this.updateStagger();
2933
2938
  n.forEach(function(b, $) {
2934
2939
  b.stagger($ * p), b.hide();
2935
2940
  });
2936
2941
  }
2937
- }, l.revealItemElements = function(n) {
2942
+ }, s.revealItemElements = function(n) {
2938
2943
  var p = this.getItems(n);
2939
2944
  this.reveal(p);
2940
- }, l.hideItemElements = function(n) {
2945
+ }, s.hideItemElements = function(n) {
2941
2946
  var p = this.getItems(n);
2942
2947
  this.hide(p);
2943
- }, l.getItem = function(n) {
2948
+ }, s.getItem = function(n) {
2944
2949
  for (var p = 0; p < this.items.length; p++) {
2945
2950
  var b = this.items[p];
2946
2951
  if (b.element == n)
2947
2952
  return b;
2948
2953
  }
2949
- }, l.getItems = function(n) {
2950
- n = r.makeArray(n);
2954
+ }, s.getItems = function(n) {
2955
+ n = a.makeArray(n);
2951
2956
  var p = [];
2952
2957
  return n.forEach(function(b) {
2953
2958
  var $ = this.getItem(b);
2954
2959
  $ && p.push($);
2955
2960
  }, this), p;
2956
- }, l.remove = function(n) {
2961
+ }, s.remove = function(n) {
2957
2962
  var p = this.getItems(n);
2958
2963
  this._emitCompleteOnItems("remove", p), !(!p || !p.length) && p.forEach(function(b) {
2959
- b.remove(), r.removeFrom(this.items, b);
2964
+ b.remove(), a.removeFrom(this.items, b);
2960
2965
  }, this);
2961
- }, l.destroy = function() {
2966
+ }, s.destroy = function() {
2962
2967
  var n = this.element.style;
2963
2968
  n.height = "", n.position = "", n.width = "", this.items.forEach(function(b) {
2964
2969
  b.destroy();
@@ -2966,12 +2971,12 @@ function Rr() {
2966
2971
  var p = this.element.outlayerGUID;
2967
2972
  delete m[p], delete this.element.outlayerGUID, h && h.removeData(this.element, this.constructor.namespace);
2968
2973
  }, _.data = function(n) {
2969
- n = r.getQueryElement(n);
2974
+ n = a.getQueryElement(n);
2970
2975
  var p = n && n.outlayerGUID;
2971
2976
  return p && m[p];
2972
2977
  }, _.create = function(n, p) {
2973
2978
  var b = g(_);
2974
- return b.defaults = r.extend({}, _.defaults), r.extend(b.defaults, p), b.compatOptions = r.extend({}, _.compatOptions), b.namespace = n, b.data = _.data, b.Item = g(f), r.htmlInit(b, n), h && h.bridget && h.bridget(n, b), b;
2979
+ return b.defaults = a.extend({}, _.defaults), a.extend(b.defaults, p), b.compatOptions = a.extend({}, _.compatOptions), b.namespace = n, b.data = _.data, b.Item = g(d), a.htmlInit(b, n), h && h.bridget && h.bridget(n, b), b;
2975
2980
  };
2976
2981
  function g(n) {
2977
2982
  function p() {
@@ -2983,7 +2988,7 @@ function Rr() {
2983
2988
  ms: 1,
2984
2989
  s: 1e3
2985
2990
  };
2986
- function d(n) {
2991
+ function c(n) {
2987
2992
  if (typeof n == "number")
2988
2993
  return n;
2989
2994
  var p = n.match(/(^\d*\.?\d*)(\w*)/), b = p && p[1], $ = p && p[2];
@@ -2993,7 +2998,7 @@ function Rr() {
2993
2998
  var w = k[$] || 1;
2994
2999
  return b * w;
2995
3000
  }
2996
- return _.Item = f, _;
3001
+ return _.Item = d, _;
2997
3002
  });
2998
3003
  }(ft)), ft.exports;
2999
3004
  }
@@ -3014,81 +3019,81 @@ function Rr() {
3014
3019
  e.getSize
3015
3020
  );
3016
3021
  })(window, function(o, i) {
3017
- var a = o.create("masonry");
3018
- a.compatOptions.fitWidth = "isFitWidth";
3019
- var r = a.prototype;
3020
- return r._resetLayout = function() {
3022
+ var r = o.create("masonry");
3023
+ r.compatOptions.fitWidth = "isFitWidth";
3024
+ var a = r.prototype;
3025
+ return a._resetLayout = function() {
3021
3026
  this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
3022
- for (var f = 0; f < this.cols; f++)
3027
+ for (var d = 0; d < this.cols; d++)
3023
3028
  this.colYs.push(0);
3024
3029
  this.maxY = 0, this.horizontalColIndex = 0;
3025
- }, r.measureColumns = function() {
3030
+ }, a.measureColumns = function() {
3026
3031
  if (this.getContainerWidth(), !this.columnWidth) {
3027
- var f = this.items[0], s = f && f.element;
3028
- this.columnWidth = s && i(s).outerWidth || // if first elem has no width, default to size of container
3032
+ var d = this.items[0], l = d && d.element;
3033
+ this.columnWidth = l && i(l).outerWidth || // if first elem has no width, default to size of container
3029
3034
  this.containerWidth;
3030
3035
  }
3031
3036
  var h = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, v = u / h, m = h - u % h, _ = m && m < 1 ? "round" : "floor";
3032
3037
  v = Math[_](v), this.cols = Math.max(v, 1);
3033
- }, r.getContainerWidth = function() {
3034
- var f = this._getOption("fitWidth"), s = f ? this.element.parentNode : this.element, h = i(s);
3038
+ }, a.getContainerWidth = function() {
3039
+ var d = this._getOption("fitWidth"), l = d ? this.element.parentNode : this.element, h = i(l);
3035
3040
  this.containerWidth = h && h.innerWidth;
3036
- }, r._getItemLayoutPosition = function(f) {
3037
- f.getSize();
3038
- var s = f.size.outerWidth % this.columnWidth, h = s && s < 1 ? "round" : "ceil", u = Math[h](f.size.outerWidth / this.columnWidth);
3041
+ }, a._getItemLayoutPosition = function(d) {
3042
+ d.getSize();
3043
+ var l = d.size.outerWidth % this.columnWidth, h = l && l < 1 ? "round" : "ceil", u = Math[h](d.size.outerWidth / this.columnWidth);
3039
3044
  u = Math.min(u, this.cols);
3040
- for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](u, f), _ = {
3045
+ for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](u, d), _ = {
3041
3046
  x: this.columnWidth * m.col,
3042
3047
  y: m.y
3043
- }, l = m.y + f.size.outerHeight, g = u + m.col, k = m.col; k < g; k++)
3044
- this.colYs[k] = l;
3048
+ }, s = m.y + d.size.outerHeight, g = u + m.col, k = m.col; k < g; k++)
3049
+ this.colYs[k] = s;
3045
3050
  return _;
3046
- }, r._getTopColPosition = function(f) {
3047
- var s = this._getTopColGroup(f), h = Math.min.apply(Math, s);
3051
+ }, a._getTopColPosition = function(d) {
3052
+ var l = this._getTopColGroup(d), h = Math.min.apply(Math, l);
3048
3053
  return {
3049
- col: s.indexOf(h),
3054
+ col: l.indexOf(h),
3050
3055
  y: h
3051
3056
  };
3052
- }, r._getTopColGroup = function(f) {
3053
- if (f < 2)
3057
+ }, a._getTopColGroup = function(d) {
3058
+ if (d < 2)
3054
3059
  return this.colYs;
3055
- for (var s = [], h = this.cols + 1 - f, u = 0; u < h; u++)
3056
- s[u] = this._getColGroupY(u, f);
3057
- return s;
3058
- }, r._getColGroupY = function(f, s) {
3059
- if (s < 2)
3060
- return this.colYs[f];
3061
- var h = this.colYs.slice(f, f + s);
3060
+ for (var l = [], h = this.cols + 1 - d, u = 0; u < h; u++)
3061
+ l[u] = this._getColGroupY(u, d);
3062
+ return l;
3063
+ }, a._getColGroupY = function(d, l) {
3064
+ if (l < 2)
3065
+ return this.colYs[d];
3066
+ var h = this.colYs.slice(d, d + l);
3062
3067
  return Math.max.apply(Math, h);
3063
- }, r._getHorizontalColPosition = function(f, s) {
3064
- var h = this.horizontalColIndex % this.cols, u = f > 1 && h + f > this.cols;
3068
+ }, a._getHorizontalColPosition = function(d, l) {
3069
+ var h = this.horizontalColIndex % this.cols, u = d > 1 && h + d > this.cols;
3065
3070
  h = u ? 0 : h;
3066
- var v = s.size.outerWidth && s.size.outerHeight;
3067
- return this.horizontalColIndex = v ? h + f : this.horizontalColIndex, {
3071
+ var v = l.size.outerWidth && l.size.outerHeight;
3072
+ return this.horizontalColIndex = v ? h + d : this.horizontalColIndex, {
3068
3073
  col: h,
3069
- y: this._getColGroupY(h, f)
3074
+ y: this._getColGroupY(h, d)
3070
3075
  };
3071
- }, r._manageStamp = function(f) {
3072
- var s = i(f), h = this._getElementOffset(f), u = this._getOption("originLeft"), v = u ? h.left : h.right, m = v + s.outerWidth, _ = Math.floor(v / this.columnWidth);
3076
+ }, a._manageStamp = function(d) {
3077
+ var l = i(d), h = this._getElementOffset(d), u = this._getOption("originLeft"), v = u ? h.left : h.right, m = v + l.outerWidth, _ = Math.floor(v / this.columnWidth);
3073
3078
  _ = Math.max(0, _);
3074
- var l = Math.floor(m / this.columnWidth);
3075
- l -= m % this.columnWidth ? 0 : 1, l = Math.min(this.cols - 1, l);
3076
- for (var g = this._getOption("originTop"), k = (g ? h.top : h.bottom) + s.outerHeight, d = _; d <= l; d++)
3077
- this.colYs[d] = Math.max(k, this.colYs[d]);
3078
- }, r._getContainerSize = function() {
3079
+ var s = Math.floor(m / this.columnWidth);
3080
+ s -= m % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
3081
+ for (var g = this._getOption("originTop"), k = (g ? h.top : h.bottom) + l.outerHeight, c = _; c <= s; c++)
3082
+ this.colYs[c] = Math.max(k, this.colYs[c]);
3083
+ }, a._getContainerSize = function() {
3079
3084
  this.maxY = Math.max.apply(Math, this.colYs);
3080
- var f = {
3085
+ var d = {
3081
3086
  height: this.maxY
3082
3087
  };
3083
- return this._getOption("fitWidth") && (f.width = this._getContainerFitWidth()), f;
3084
- }, r._getContainerFitWidth = function() {
3085
- for (var f = 0, s = this.cols; --s && this.colYs[s] === 0; )
3086
- f++;
3087
- return (this.cols - f) * this.columnWidth - this.gutter;
3088
- }, r.needsResizeLayout = function() {
3089
- var f = this.containerWidth;
3090
- return this.getContainerWidth(), f != this.containerWidth;
3091
- }, a;
3088
+ return this._getOption("fitWidth") && (d.width = this._getContainerFitWidth()), d;
3089
+ }, a._getContainerFitWidth = function() {
3090
+ for (var d = 0, l = this.cols; --l && this.colYs[l] === 0; )
3091
+ d++;
3092
+ return (this.cols - d) * this.columnWidth - this.gutter;
3093
+ }, a.needsResizeLayout = function() {
3094
+ var d = this.containerWidth;
3095
+ return this.getContainerWidth(), d != this.containerWidth;
3096
+ }, r;
3092
3097
  });
3093
3098
  })(_o);
3094
3099
  var Br = _o.exports;
@@ -3103,7 +3108,7 @@ var ko = { exports: {} };
3103
3108
  (function(e, o) {
3104
3109
  t.exports ? t.exports = o(
3105
3110
  e,
3106
- Ht()
3111
+ Pt()
3107
3112
  ) : e.imagesLoaded = o(
3108
3113
  e,
3109
3114
  e.EvEmitter
@@ -3112,43 +3117,43 @@ var ko = { exports: {} };
3112
3117
  typeof window < "u" ? window : fo,
3113
3118
  // -------------------------- factory -------------------------- //
3114
3119
  function(o, i) {
3115
- var a = o.jQuery, r = o.console;
3116
- function f(l, g) {
3120
+ var r = o.jQuery, a = o.console;
3121
+ function d(s, g) {
3117
3122
  for (var k in g)
3118
- l[k] = g[k];
3119
- return l;
3123
+ s[k] = g[k];
3124
+ return s;
3120
3125
  }
3121
- var s = Array.prototype.slice;
3122
- function h(l) {
3123
- if (Array.isArray(l))
3124
- return l;
3125
- var g = typeof l == "object" && typeof l.length == "number";
3126
- return g ? s.call(l) : [l];
3126
+ var l = Array.prototype.slice;
3127
+ function h(s) {
3128
+ if (Array.isArray(s))
3129
+ return s;
3130
+ var g = typeof s == "object" && typeof s.length == "number";
3131
+ return g ? l.call(s) : [s];
3127
3132
  }
3128
- function u(l, g, k) {
3133
+ function u(s, g, k) {
3129
3134
  if (!(this instanceof u))
3130
- return new u(l, g, k);
3131
- var d = l;
3132
- if (typeof l == "string" && (d = document.querySelectorAll(l)), !d) {
3133
- r.error("Bad element for imagesLoaded " + (d || l));
3135
+ return new u(s, g, k);
3136
+ var c = s;
3137
+ if (typeof s == "string" && (c = document.querySelectorAll(s)), !c) {
3138
+ a.error("Bad element for imagesLoaded " + (c || s));
3134
3139
  return;
3135
3140
  }
3136
- this.elements = h(d), this.options = f({}, this.options), typeof g == "function" ? k = g : f(this.options, g), k && this.on("always", k), this.getImages(), a && (this.jqDeferred = new a.Deferred()), setTimeout(this.check.bind(this));
3141
+ this.elements = h(c), this.options = d({}, this.options), typeof g == "function" ? k = g : d(this.options, g), k && this.on("always", k), this.getImages(), r && (this.jqDeferred = new r.Deferred()), setTimeout(this.check.bind(this));
3137
3142
  }
3138
3143
  u.prototype = Object.create(i.prototype), u.prototype.options = {}, u.prototype.getImages = function() {
3139
3144
  this.images = [], this.elements.forEach(this.addElementImages, this);
3140
- }, u.prototype.addElementImages = function(l) {
3141
- l.nodeName == "IMG" && this.addImage(l), this.options.background === !0 && this.addElementBackgroundImages(l);
3142
- var g = l.nodeType;
3145
+ }, u.prototype.addElementImages = function(s) {
3146
+ s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
3147
+ var g = s.nodeType;
3143
3148
  if (!(!g || !v[g])) {
3144
- for (var k = l.querySelectorAll("img"), d = 0; d < k.length; d++) {
3145
- var n = k[d];
3149
+ for (var k = s.querySelectorAll("img"), c = 0; c < k.length; c++) {
3150
+ var n = k[c];
3146
3151
  this.addImage(n);
3147
3152
  }
3148
3153
  if (typeof this.options.background == "string") {
3149
- var p = l.querySelectorAll(this.options.background);
3150
- for (d = 0; d < p.length; d++) {
3151
- var b = p[d];
3154
+ var p = s.querySelectorAll(this.options.background);
3155
+ for (c = 0; c < p.length; c++) {
3156
+ var b = p[c];
3152
3157
  this.addElementBackgroundImages(b);
3153
3158
  }
3154
3159
  }
@@ -3159,59 +3164,59 @@ var ko = { exports: {} };
3159
3164
  9: !0,
3160
3165
  11: !0
3161
3166
  };
3162
- u.prototype.addElementBackgroundImages = function(l) {
3163
- var g = getComputedStyle(l);
3167
+ u.prototype.addElementBackgroundImages = function(s) {
3168
+ var g = getComputedStyle(s);
3164
3169
  if (g)
3165
- for (var k = /url\((['"])?(.*?)\1\)/gi, d = k.exec(g.backgroundImage); d !== null; ) {
3166
- var n = d && d[2];
3167
- n && this.addBackground(n, l), d = k.exec(g.backgroundImage);
3170
+ for (var k = /url\((['"])?(.*?)\1\)/gi, c = k.exec(g.backgroundImage); c !== null; ) {
3171
+ var n = c && c[2];
3172
+ n && this.addBackground(n, s), c = k.exec(g.backgroundImage);
3168
3173
  }
3169
- }, u.prototype.addImage = function(l) {
3170
- var g = new m(l);
3174
+ }, u.prototype.addImage = function(s) {
3175
+ var g = new m(s);
3171
3176
  this.images.push(g);
3172
- }, u.prototype.addBackground = function(l, g) {
3173
- var k = new _(l, g);
3177
+ }, u.prototype.addBackground = function(s, g) {
3178
+ var k = new _(s, g);
3174
3179
  this.images.push(k);
3175
3180
  }, u.prototype.check = function() {
3176
- var l = this;
3181
+ var s = this;
3177
3182
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
3178
3183
  this.complete();
3179
3184
  return;
3180
3185
  }
3181
- function g(k, d, n) {
3186
+ function g(k, c, n) {
3182
3187
  setTimeout(function() {
3183
- l.progress(k, d, n);
3188
+ s.progress(k, c, n);
3184
3189
  });
3185
3190
  }
3186
3191
  this.images.forEach(function(k) {
3187
3192
  k.once("progress", g), k.check();
3188
3193
  });
3189
- }, u.prototype.progress = function(l, g, k) {
3190
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !l.isLoaded, this.emitEvent("progress", [this, l, g]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, l), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + k, l, g);
3194
+ }, u.prototype.progress = function(s, g, k) {
3195
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, g]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && a && a.log("progress: " + k, s, g);
3191
3196
  }, u.prototype.complete = function() {
3192
- var l = this.hasAnyBroken ? "fail" : "done";
3193
- if (this.isComplete = !0, this.emitEvent(l, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
3197
+ var s = this.hasAnyBroken ? "fail" : "done";
3198
+ if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
3194
3199
  var g = this.hasAnyBroken ? "reject" : "resolve";
3195
3200
  this.jqDeferred[g](this);
3196
3201
  }
3197
3202
  };
3198
- function m(l) {
3199
- this.img = l;
3203
+ function m(s) {
3204
+ this.img = s;
3200
3205
  }
3201
3206
  m.prototype = Object.create(i.prototype), m.prototype.check = function() {
3202
- var l = this.getIsImageComplete();
3203
- if (l) {
3207
+ var s = this.getIsImageComplete();
3208
+ if (s) {
3204
3209
  this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
3205
3210
  return;
3206
3211
  }
3207
3212
  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;
3208
3213
  }, m.prototype.getIsImageComplete = function() {
3209
3214
  return this.img.complete && this.img.naturalWidth;
3210
- }, m.prototype.confirm = function(l, g) {
3211
- this.isLoaded = l, this.emitEvent("progress", [this, this.img, g]);
3212
- }, m.prototype.handleEvent = function(l) {
3213
- var g = "on" + l.type;
3214
- this[g] && this[g](l);
3215
+ }, m.prototype.confirm = function(s, g) {
3216
+ this.isLoaded = s, this.emitEvent("progress", [this, this.img, g]);
3217
+ }, m.prototype.handleEvent = function(s) {
3218
+ var g = "on" + s.type;
3219
+ this[g] && this[g](s);
3215
3220
  }, m.prototype.onload = function() {
3216
3221
  this.confirm(!0, "onload"), this.unbindEvents();
3217
3222
  }, m.prototype.onerror = function() {
@@ -3219,21 +3224,21 @@ var ko = { exports: {} };
3219
3224
  }, m.prototype.unbindEvents = function() {
3220
3225
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
3221
3226
  };
3222
- function _(l, g) {
3223
- this.url = l, this.element = g, this.img = new Image();
3227
+ function _(s, g) {
3228
+ this.url = s, this.element = g, this.img = new Image();
3224
3229
  }
3225
3230
  return _.prototype = Object.create(m.prototype), _.prototype.check = function() {
3226
3231
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
3227
- var l = this.getIsImageComplete();
3228
- l && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
3232
+ var s = this.getIsImageComplete();
3233
+ s && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
3229
3234
  }, _.prototype.unbindEvents = function() {
3230
3235
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
3231
- }, _.prototype.confirm = function(l, g) {
3232
- this.isLoaded = l, this.emitEvent("progress", [this, this.element, g]);
3233
- }, u.makeJQueryPlugin = function(l) {
3234
- l = l || o.jQuery, l && (a = l, a.fn.imagesLoaded = function(g, k) {
3235
- var d = new u(this, g, k);
3236
- return d.jqDeferred.promise(a(this));
3236
+ }, _.prototype.confirm = function(s, g) {
3237
+ this.isLoaded = s, this.emitEvent("progress", [this, this.element, g]);
3238
+ }, u.makeJQueryPlugin = function(s) {
3239
+ s = s || o.jQuery, s && (r = s, r.fn.imagesLoaded = function(g, k) {
3240
+ var c = new u(this, g, k);
3241
+ return c.jqDeferred.promise(r(this));
3237
3242
  });
3238
3243
  }, u.makeJQueryPlugin(), u;
3239
3244
  }
@@ -3250,14 +3255,14 @@ function Wr(t) {
3250
3255
  i && (o ? i.splice(i.indexOf(o) >>> 0, 1) : t.set(e, []));
3251
3256
  }, emit: function(e, o) {
3252
3257
  var i = t.get(e);
3253
- i && i.slice().map(function(a) {
3254
- a(o);
3255
- }), (i = t.get("*")) && i.slice().map(function(a) {
3256
- a(e, o);
3258
+ i && i.slice().map(function(r) {
3259
+ r(o);
3260
+ }), (i = t.get("*")) && i.slice().map(function(r) {
3261
+ r(e, o);
3257
3262
  });
3258
3263
  } };
3259
3264
  }
3260
- const Ye = {
3265
+ const Ke = {
3261
3266
  "column-width": "columnWidth",
3262
3267
  "transition-duration": "transitionDuration",
3263
3268
  "item-selector": "itemSelector",
@@ -3270,24 +3275,24 @@ const Ye = {
3270
3275
  "horizontal-order": "horizontalOrder",
3271
3276
  stagger: "stagger",
3272
3277
  "destroy-delay": "destroyDelay"
3273
- }, Ke = "vuemasonry.itemAdded", gt = "vuemasonry.itemRemoved", bt = "vuemasonry.imageLoaded", _t = "vuemasonry.destroy", xr = function(t) {
3278
+ }, Qe = "vuemasonry.itemAdded", gt = "vuemasonry.itemRemoved", bt = "vuemasonry.imageLoaded", _t = "vuemasonry.destroy", xr = function(t) {
3274
3279
  return (t + "").toLowerCase() === "true";
3275
3280
  }, Fr = function(t) {
3276
3281
  return isNaN(t) ? t : parseInt(t);
3277
3282
  }, Nr = function(t) {
3278
3283
  const e = {};
3279
3284
  return Array.prototype.slice.call(t).forEach(function(i) {
3280
- Object.keys(Ye).indexOf(i.name) > -1 && (i.name.indexOf("origin") > -1 ? e[Ye[i.name]] = xr(i.value) : i.name === "column-width" || i.name === "gutter" ? e[Ye[i.name]] = Fr(i.value) : e[Ye[i.name]] = i.value);
3285
+ Object.keys(Ke).indexOf(i.name) > -1 && (i.name.indexOf("origin") > -1 ? e[Ke[i.name]] = xr(i.value) : i.name === "column-width" || i.name === "gutter" ? e[Ke[i.name]] = Fr(i.value) : e[Ke[i.name]] = i.value);
3281
3286
  }), e;
3282
3287
  }, Eo = {};
3283
3288
  Eo.install = function(t, e) {
3284
- const o = Wr(), i = "VueMasonry", a = t;
3285
- a.directive("masonry", {
3289
+ const o = Wr(), i = "VueMasonry", r = t;
3290
+ r.directive("masonry", {
3286
3291
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
3287
- mounted: function(r, f) {
3292
+ mounted: function(a, d) {
3288
3293
  if (!Jt)
3289
3294
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
3290
- const s = Nr(r.attributes), h = new Jt(r, s), u = f.value || i, v = s.destroyDelay ? parseInt(s.destroyDelay, 10) : void 0, m = function() {
3295
+ const l = Nr(a.attributes), h = new Jt(a, l), u = d.value || i, v = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, m = function() {
3291
3296
  h.reloadItems(), h.layout();
3292
3297
  };
3293
3298
  wt(() => {
@@ -3295,49 +3300,49 @@ Eo.install = function(t, e) {
3295
3300
  });
3296
3301
  const _ = function(g) {
3297
3302
  m();
3298
- }, l = function(g) {
3299
- o["off"](`${Ke}__${u}`, _), o["off"](`${gt}__${u}`, _), o["off"](`${bt}__${u}`, _), o["off"](`${_t}__${u}`, l);
3303
+ }, s = function(g) {
3304
+ o["off"](`${Qe}__${u}`, _), o["off"](`${gt}__${u}`, _), o["off"](`${bt}__${u}`, _), o["off"](`${_t}__${u}`, s);
3300
3305
  const k = v && !Number.isNaN(v) ? v : 0;
3301
3306
  setTimeout(function() {
3302
3307
  h.destroy();
3303
3308
  }, k);
3304
3309
  };
3305
- o["on"](`${Ke}__${u}`, _), o["on"](`${gt}__${u}`, _), o["on"](`${bt}__${u}`, _), o["on"](`${_t}__${u}`, l);
3310
+ o["on"](`${Qe}__${u}`, _), o["on"](`${gt}__${u}`, _), o["on"](`${bt}__${u}`, _), o["on"](`${_t}__${u}`, s);
3306
3311
  },
3307
- unbind: function(r, f) {
3308
- const s = f.value || i;
3309
- o["emit"](`${_t}__${s}`);
3312
+ unbind: function(a, d) {
3313
+ const l = d.value || i;
3314
+ o["emit"](`${_t}__${l}`);
3310
3315
  }
3311
- }), a.directive("masonryTile", {
3312
- mounted: function(r, f) {
3313
- const s = f.value || i;
3314
- o["emit"](`${Ke}__${s}`, {
3315
- element: r
3316
- }), new zr(r, function() {
3317
- o["emit"](`${bt}__${s}`, {
3318
- element: r
3316
+ }), r.directive("masonryTile", {
3317
+ mounted: function(a, d) {
3318
+ const l = d.value || i;
3319
+ o["emit"](`${Qe}__${l}`, {
3320
+ element: a
3321
+ }), new zr(a, function() {
3322
+ o["emit"](`${bt}__${l}`, {
3323
+ element: a
3319
3324
  });
3320
3325
  });
3321
3326
  },
3322
- unbind: function(r, f) {
3323
- const s = f.value || i;
3324
- o["emit"](`${gt}__${s}`, {
3325
- element: r
3327
+ unbind: function(a, d) {
3328
+ const l = d.value || i;
3329
+ o["emit"](`${gt}__${l}`, {
3330
+ element: a
3326
3331
  });
3327
3332
  }
3328
3333
  });
3329
3334
  {
3330
- const r = function(f) {
3331
- const s = f || i;
3332
- o["emit"](`${Ke}__${s}`);
3335
+ const a = function(d) {
3336
+ const l = d || i;
3337
+ o["emit"](`${Qe}__${l}`);
3333
3338
  };
3334
- t.config.globalProperties.$redrawVueMasonry = r, t.provide("redrawVueMasonry", r);
3339
+ t.config.globalProperties.$redrawVueMasonry = a, t.provide("redrawVueMasonry", a);
3335
3340
  }
3336
3341
  };
3337
3342
  function St(t, e = {}, o) {
3338
3343
  for (const i in t) {
3339
- const a = t[i], r = o ? `${o}:${i}` : i;
3340
- typeof a == "object" && a !== null ? St(a, e, r) : typeof a == "function" && (e[r] = a);
3344
+ const r = t[i], a = o ? `${o}:${i}` : i;
3345
+ typeof r == "object" && r !== null ? St(r, e, a) : typeof r == "function" && (e[a] = r);
3341
3346
  }
3342
3347
  return e;
3343
3348
  }
@@ -3345,13 +3350,13 @@ const Ur = { run: (t) => t() }, qr = () => Ur, To = typeof console.createTask <
3345
3350
  function Gr(t, e) {
3346
3351
  const o = e.shift(), i = To(o);
3347
3352
  return t.reduce(
3348
- (a, r) => a.then(() => i.run(() => r(...e))),
3353
+ (r, a) => r.then(() => i.run(() => a(...e))),
3349
3354
  Promise.resolve()
3350
3355
  );
3351
3356
  }
3352
3357
  function jr(t, e) {
3353
3358
  const o = e.shift(), i = To(o);
3354
- return Promise.all(t.map((a) => i.run(() => a(...e))));
3359
+ return Promise.all(t.map((r) => i.run(() => r(...e))));
3355
3360
  }
3356
3361
  function kt(t, e) {
3357
3362
  for (const o of [...t])
@@ -3365,13 +3370,13 @@ class Yr {
3365
3370
  if (!e || typeof o != "function")
3366
3371
  return () => {
3367
3372
  };
3368
- const a = e;
3369
- let r;
3373
+ const r = e;
3374
+ let a;
3370
3375
  for (; this._deprecatedHooks[e]; )
3371
- r = this._deprecatedHooks[e], e = r.to;
3372
- if (r && !i.allowDeprecated) {
3373
- let f = r.message;
3374
- f || (f = `${a} hook has been deprecated` + (r.to ? `, please use ${r.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(f) || (console.warn(f), this._deprecatedMessages.add(f));
3376
+ a = this._deprecatedHooks[e], e = a.to;
3377
+ if (a && !i.allowDeprecated) {
3378
+ let d = a.message;
3379
+ d || (d = `${r} hook has been deprecated` + (a.to ? `, please use ${a.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(d) || (console.warn(d), this._deprecatedMessages.add(d));
3375
3380
  }
3376
3381
  if (!o.name)
3377
3382
  try {
@@ -3386,8 +3391,8 @@ class Yr {
3386
3391
  };
3387
3392
  }
3388
3393
  hookOnce(e, o) {
3389
- let i, a = (...r) => (typeof i == "function" && i(), i = void 0, a = void 0, o(...r));
3390
- return i = this.hook(e, a), i;
3394
+ let i, r = (...a) => (typeof i == "function" && i(), i = void 0, r = void 0, o(...a));
3395
+ return i = this.hook(e, r), i;
3391
3396
  }
3392
3397
  removeHook(e, o) {
3393
3398
  if (this._hooks[e]) {
@@ -3399,8 +3404,8 @@ class Yr {
3399
3404
  this._deprecatedHooks[e] = typeof o == "string" ? { to: o } : o;
3400
3405
  const i = this._hooks[e] || [];
3401
3406
  delete this._hooks[e];
3402
- for (const a of i)
3403
- this.hook(e, a);
3407
+ for (const r of i)
3408
+ this.hook(e, r);
3404
3409
  }
3405
3410
  deprecateHooks(e) {
3406
3411
  Object.assign(this._deprecatedHooks, e);
@@ -3409,11 +3414,11 @@ class Yr {
3409
3414
  }
3410
3415
  addHooks(e) {
3411
3416
  const o = St(e), i = Object.keys(o).map(
3412
- (a) => this.hook(a, o[a])
3417
+ (r) => this.hook(r, o[r])
3413
3418
  );
3414
3419
  return () => {
3415
- for (const a of i.splice(0, i.length))
3416
- a();
3420
+ for (const r of i.splice(0, i.length))
3421
+ r();
3417
3422
  };
3418
3423
  }
3419
3424
  removeHooks(e) {
@@ -3432,15 +3437,15 @@ class Yr {
3432
3437
  return o.unshift(e), this.callHookWith(jr, e, ...o);
3433
3438
  }
3434
3439
  callHookWith(e, o, ...i) {
3435
- const a = this._before || this._after ? { name: o, args: i, context: {} } : void 0;
3436
- this._before && kt(this._before, a);
3437
- const r = e(
3440
+ const r = this._before || this._after ? { name: o, args: i, context: {} } : void 0;
3441
+ this._before && kt(this._before, r);
3442
+ const a = e(
3438
3443
  o in this._hooks ? [...this._hooks[o]] : [],
3439
3444
  i
3440
3445
  );
3441
- return r instanceof Promise ? r.finally(() => {
3442
- this._after && a && kt(this._after, a);
3443
- }) : (this._after && a && kt(this._after, a), r);
3446
+ return a instanceof Promise ? a.finally(() => {
3447
+ this._after && r && kt(this._after, r);
3448
+ }) : (this._after && r && kt(this._after, r), a);
3444
3449
  }
3445
3450
  beforeEach(e) {
3446
3451
  return this._before = this._before || [], this._before.push(e), () => {
@@ -3502,12 +3507,12 @@ function So(t, e) {
3502
3507
  return "canonical";
3503
3508
  if (o.charset)
3504
3509
  return "charset";
3505
- const a = ["id"];
3506
- i === "meta" && a.push("name", "property", "http-equiv");
3507
- for (const r of a)
3508
- if (typeof o[r] < "u") {
3509
- const f = String(o[r]);
3510
- return e && !e(f) ? !1 : `${i}:${r}:${f}`;
3510
+ const r = ["id"];
3511
+ i === "meta" && r.push("name", "property", "http-equiv");
3512
+ for (const a of r)
3513
+ if (typeof o[a] < "u") {
3514
+ const d = String(o[a]);
3515
+ return e && !e(d) ? !1 : `${i}:${a}:${d}`;
3511
3516
  }
3512
3517
  return !1;
3513
3518
  }
@@ -3524,10 +3529,10 @@ async function ta(t, e, o) {
3524
3529
  ["templateParams", "titleTemplate"].includes(t)
3525
3530
  )
3526
3531
  };
3527
- return Co.forEach((a) => {
3528
- const r = typeof i.props[a] < "u" ? i.props[a] : o[a];
3529
- typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(a) || Xr.includes(i.tag)) && (i[a === "children" ? "innerHTML" : a] = r), delete i.props[a]);
3530
- }), i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((a) => ({ ...i, props: { ...i.props, content: a } })) : i;
3532
+ return Co.forEach((r) => {
3533
+ const a = typeof i.props[r] < "u" ? i.props[r] : o[r];
3534
+ typeof a < "u" && ((!["innerHTML", "textContent", "children"].includes(r) || Xr.includes(i.tag)) && (i[r === "children" ? "innerHTML" : r] = a), delete i.props[r]);
3535
+ }), i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((r) => ({ ...i, props: { ...i.props, content: r } })) : i;
3531
3536
  }
3532
3537
  function oa(t) {
3533
3538
  return typeof t == "object" && !Array.isArray(t) && (t = Object.keys(t).filter((e) => t[e])), (Array.isArray(t) ? t.join(" ") : t).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
@@ -3539,8 +3544,8 @@ async function $o(t, e) {
3539
3544
  continue;
3540
3545
  }
3541
3546
  if (t[o] instanceof Promise && (t[o] = await t[o]), !e && !Co.includes(o)) {
3542
- const i = String(t[o]), a = o.startsWith("data-");
3543
- i === "true" || i === "" ? t[o] = a ? "true" : !0 : t[o] || (a && i === "false" ? t[o] = "false" : delete t[o]);
3547
+ const i = String(t[o]), r = o.startsWith("data-");
3548
+ i === "true" || i === "" ? t[o] = r ? "true" : !0 : t[o] || (r && i === "false" ? t[o] = "false" : delete t[o]);
3544
3549
  }
3545
3550
  }
3546
3551
  return t;
@@ -3549,8 +3554,8 @@ const ia = 10;
3549
3554
  async function na(t) {
3550
3555
  const e = [];
3551
3556
  return Object.entries(t.resolvedInput).filter(([o, i]) => typeof i < "u" && Jr.includes(o)).forEach(([o, i]) => {
3552
- const a = Qr(i);
3553
- e.push(...a.map((r) => ta(o, r, t)).flat());
3557
+ const r = Qr(i);
3558
+ e.push(...r.map((a) => ta(o, a, t)).flat());
3554
3559
  }), (await Promise.all(e)).flat().filter(Boolean).map((o, i) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i << ia) + i, o));
3555
3560
  }
3556
3561
  const to = {
@@ -3572,18 +3577,18 @@ const ra = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }],
3572
3577
  function Ze(t, e, o) {
3573
3578
  if (typeof t != "string" || !t.includes("%"))
3574
3579
  return t;
3575
- function i(f) {
3576
- let s;
3577
- return ["s", "pageTitle"].includes(f) ? s = e.pageTitle : f.includes(".") ? s = f.split(".").reduce((h, u) => h && h[u] || void 0, e) : s = e[f], typeof s < "u" ? (s || "").replace(/"/g, '\\"') : !1;
3580
+ function i(d) {
3581
+ let l;
3582
+ return ["s", "pageTitle"].includes(d) ? l = e.pageTitle : d.includes(".") ? l = d.split(".").reduce((h, u) => h && h[u] || void 0, e) : l = e[d], typeof l < "u" ? (l || "").replace(/"/g, '\\"') : !1;
3578
3583
  }
3579
- let a = t;
3584
+ let r = t;
3580
3585
  try {
3581
- a = decodeURI(t);
3586
+ r = decodeURI(t);
3582
3587
  } catch {
3583
3588
  }
3584
- return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((f) => {
3585
- const s = i(f.slice(1));
3586
- typeof s == "string" && (t = t.replace(new RegExp(`\\${f}(\\W|$)`, "g"), (h, u) => `${s}${u}`).trim());
3589
+ return (r.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((d) => {
3590
+ const l = i(d.slice(1));
3591
+ typeof l == "string" && (t = t.replace(new RegExp(`\\${d}(\\W|$)`, "g"), (h, u) => `${l}${u}`).trim());
3587
3592
  }), t.includes(de) && (t.endsWith(de) && (t = t.slice(0, -de.length).trim()), t.startsWith(de) && (t = t.slice(de.length).trim()), t = t.replace(new RegExp(`\\${de}\\s*\\${de}`, "g"), de), t = Ze(t, { separator: o }, o)), t;
3588
3593
  }
3589
3594
  async function aa(t) {
@@ -3603,40 +3608,40 @@ async function sa(t, e = {}) {
3603
3608
  const i = { shouldRender: t.dirty, tags: [] };
3604
3609
  if (await t.hooks.callHook("dom:beforeRender", i), !i.shouldRender)
3605
3610
  return;
3606
- const a = (await t.resolveTags()).map((v) => ({
3611
+ const r = (await t.resolveTags()).map((v) => ({
3607
3612
  tag: v,
3608
3613
  id: Je.includes(v.tag) ? Zt(v) : v.tag,
3609
3614
  shouldRender: !0
3610
3615
  }));
3611
- let r = t._dom;
3612
- if (!r) {
3613
- r = {
3616
+ let a = t._dom;
3617
+ if (!a) {
3618
+ a = {
3614
3619
  elMap: { htmlAttrs: o.documentElement, bodyAttrs: o.body }
3615
3620
  };
3616
3621
  for (const v of ["body", "head"]) {
3617
3622
  const m = o?.[v]?.children;
3618
- for (const _ of [...m].filter((l) => Je.includes(l.tagName.toLowerCase())))
3619
- r.elMap[_.getAttribute("data-hid") || Zt(await aa(_))] = _;
3623
+ for (const _ of [...m].filter((s) => Je.includes(s.tagName.toLowerCase())))
3624
+ a.elMap[_.getAttribute("data-hid") || Zt(await aa(_))] = _;
3620
3625
  }
3621
3626
  }
3622
- r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
3623
- function f(v, m, _) {
3624
- const l = `${v}:${m}`;
3625
- r.sideEffects[l] = _, delete r.pendingSideEffects[l];
3627
+ a.pendingSideEffects = { ...a.sideEffects || {} }, a.sideEffects = {};
3628
+ function d(v, m, _) {
3629
+ const s = `${v}:${m}`;
3630
+ a.sideEffects[s] = _, delete a.pendingSideEffects[s];
3626
3631
  }
3627
- function s({ id: v, $el: m, tag: _ }) {
3628
- const l = _.tag.endsWith("Attrs");
3629
- r.elMap[v] = m, l || (["textContent", "innerHTML"].forEach((g) => {
3632
+ function l({ id: v, $el: m, tag: _ }) {
3633
+ const s = _.tag.endsWith("Attrs");
3634
+ a.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((g) => {
3630
3635
  _[g] && _[g] !== m[g] && (m[g] = _[g]);
3631
- }), f(v, "el", () => {
3632
- r.elMap[v].remove(), delete r.elMap[v];
3636
+ }), d(v, "el", () => {
3637
+ a.elMap[v].remove(), delete a.elMap[v];
3633
3638
  })), Object.entries(_.props).forEach(([g, k]) => {
3634
- const d = `attr:${g}`;
3639
+ const c = `attr:${g}`;
3635
3640
  if (g === "class")
3636
3641
  for (const n of (k || "").split(" ").filter(Boolean))
3637
- l && f(v, `${d}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
3642
+ s && d(v, `${c}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
3638
3643
  else
3639
- m.getAttribute(g) !== k && m.setAttribute(g, k === !0 ? "" : String(k)), l && f(v, d, () => m.removeAttribute(g));
3644
+ m.getAttribute(g) !== k && m.setAttribute(g, k === !0 ? "" : String(k)), s && d(v, c, () => m.removeAttribute(g));
3640
3645
  });
3641
3646
  }
3642
3647
  const h = [], u = {
@@ -3644,23 +3649,23 @@ async function sa(t, e = {}) {
3644
3649
  bodyOpen: void 0,
3645
3650
  head: void 0
3646
3651
  };
3647
- for (const v of a) {
3648
- const { tag: m, shouldRender: _, id: l } = v;
3652
+ for (const v of r) {
3653
+ const { tag: m, shouldRender: _, id: s } = v;
3649
3654
  if (_) {
3650
3655
  if (m.tag === "title") {
3651
3656
  o.title = m.textContent;
3652
3657
  continue;
3653
3658
  }
3654
- v.$el = v.$el || r.elMap[l], v.$el ? s(v) : Je.includes(m.tag) && h.push(v);
3659
+ v.$el = v.$el || a.elMap[s], v.$el ? l(v) : Je.includes(m.tag) && h.push(v);
3655
3660
  }
3656
3661
  }
3657
3662
  for (const v of h) {
3658
3663
  const m = v.tag.tagPosition || "head";
3659
- v.$el = o.createElement(v.tag.tag), s(v), u[m] = u[m] || o.createDocumentFragment(), u[m].appendChild(v.$el);
3664
+ v.$el = o.createElement(v.tag.tag), l(v), u[m] = u[m] || o.createDocumentFragment(), u[m].appendChild(v.$el);
3660
3665
  }
3661
- for (const v of a)
3662
- await t.hooks.callHook("dom:renderTag", v, o, f);
3663
- u.head && o.head.appendChild(u.head), u.bodyOpen && o.body.insertBefore(u.bodyOpen, o.body.firstChild), u.bodyClose && o.body.appendChild(u.bodyClose), Object.values(r.pendingSideEffects).forEach((v) => v()), t._dom = r, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: a });
3666
+ for (const v of r)
3667
+ await t.hooks.callHook("dom:renderTag", v, o, d);
3668
+ u.head && o.head.appendChild(u.head), u.bodyOpen && o.body.insertBefore(u.bodyOpen, o.body.firstChild), u.bodyClose && o.body.appendChild(u.bodyClose), Object.values(a.pendingSideEffects).forEach((v) => v()), t._dom = a, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: r });
3664
3669
  }
3665
3670
  async function la(t, e = {}) {
3666
3671
  const o = e.delayFn || ((i) => setTimeout(i, 10));
@@ -3694,35 +3699,35 @@ const da = ["templateParams", "htmlAttrs", "bodyAttrs"], ca = {
3694
3699
  "tags:resolve": function(t) {
3695
3700
  const e = {};
3696
3701
  t.tags.forEach((i) => {
3697
- const a = (i.key ? `${i.tag}:${i.key}` : i._d) || i._p, r = e[a];
3698
- if (r) {
3699
- let s = i?.tagDuplicateStrategy;
3700
- if (!s && da.includes(i.tag) && (s = "merge"), s === "merge") {
3701
- const h = r.props;
3702
+ const r = (i.key ? `${i.tag}:${i.key}` : i._d) || i._p, a = e[r];
3703
+ if (a) {
3704
+ let l = i?.tagDuplicateStrategy;
3705
+ if (!l && da.includes(i.tag) && (l = "merge"), l === "merge") {
3706
+ const h = a.props;
3702
3707
  ["class", "style"].forEach((u) => {
3703
3708
  i.props[u] && h[u] && (u === "style" && !h[u].endsWith(";") && (h[u] += ";"), i.props[u] = `${h[u]} ${i.props[u]}`);
3704
- }), e[a].props = {
3709
+ }), e[r].props = {
3705
3710
  ...h,
3706
3711
  ...i.props
3707
3712
  };
3708
3713
  return;
3709
- } else if (i._e === r._e) {
3710
- r._duped = r._duped || [], i._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(i);
3714
+ } else if (i._e === a._e) {
3715
+ a._duped = a._duped || [], i._d = `${a._d}:${a._duped.length + 1}`, a._duped.push(i);
3711
3716
  return;
3712
- } else if (it(i) > it(r))
3717
+ } else if (it(i) > it(a))
3713
3718
  return;
3714
3719
  }
3715
- const f = Object.keys(i.props).length + (i.innerHTML ? 1 : 0) + (i.textContent ? 1 : 0);
3716
- if (Je.includes(i.tag) && f === 0) {
3717
- delete e[a];
3720
+ const d = Object.keys(i.props).length + (i.innerHTML ? 1 : 0) + (i.textContent ? 1 : 0);
3721
+ if (Je.includes(i.tag) && d === 0) {
3722
+ delete e[r];
3718
3723
  return;
3719
3724
  }
3720
- e[a] = i;
3725
+ e[r] = i;
3721
3726
  });
3722
3727
  const o = [];
3723
3728
  Object.values(e).forEach((i) => {
3724
- const a = i._duped;
3725
- delete i._duped, o.push(i), a && o.push(...a);
3729
+ const r = i._duped;
3730
+ delete i._duped, o.push(i), r && o.push(...r);
3726
3731
  }), t.tags = o, t.tags = t.tags.filter((i) => !(i.tag === "meta" && (i.props.name || i.props.property) && !i.props.content));
3727
3732
  }
3728
3733
  }
@@ -3743,8 +3748,8 @@ const da = ["templateParams", "htmlAttrs", "bodyAttrs"], ca = {
3743
3748
  }, pa = ["script", "link", "bodyAttrs"];
3744
3749
  function ha(t) {
3745
3750
  const e = {}, o = {};
3746
- return Object.entries(t.props).forEach(([i, a]) => {
3747
- i.startsWith("on") && typeof a == "function" ? (wo.includes(i) && (e[i] = `this.dataset.${i} = true`), o[i] = a) : e[i] = a;
3751
+ return Object.entries(t.props).forEach(([i, r]) => {
3752
+ i.startsWith("on") && typeof r == "function" ? (wo.includes(i) && (e[i] = `this.dataset.${i} = true`), o[i] = r) : e[i] = r;
3748
3753
  }), { props: e, eventHandlers: o };
3749
3754
  }
3750
3755
  const ma = (t) => ({
@@ -3752,30 +3757,30 @@ const ma = (t) => ({
3752
3757
  "tags:resolve": function(e) {
3753
3758
  for (const o of e.tags)
3754
3759
  if (pa.includes(o.tag)) {
3755
- const { props: i, eventHandlers: a } = ha(o);
3756
- o.props = i, Object.keys(a).length && ((o.props.src || o.props.href) && (o.key = o.key || Ot(o.props.src || o.props.href)), o._eventHandlers = a);
3760
+ const { props: i, eventHandlers: r } = ha(o);
3761
+ o.props = i, Object.keys(r).length && ((o.props.src || o.props.href) && (o.key = o.key || Ot(o.props.src || o.props.href)), o._eventHandlers = r);
3757
3762
  }
3758
3763
  },
3759
3764
  "dom:renderTag": function(e, o, i) {
3760
3765
  if (!e.tag._eventHandlers)
3761
3766
  return;
3762
- const a = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
3763
- Object.entries(e.tag._eventHandlers).forEach(([r, f]) => {
3764
- const s = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), u = `data-h-${h}`;
3765
- if (i(e.id, s, () => {
3767
+ const r = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
3768
+ Object.entries(e.tag._eventHandlers).forEach(([a, d]) => {
3769
+ const l = `${e.tag._d || e.tag._p}:${a}`, h = a.slice(2).toLowerCase(), u = `data-h-${h}`;
3770
+ if (i(e.id, l, () => {
3766
3771
  }), e.$el.hasAttribute(u))
3767
3772
  return;
3768
3773
  e.$el.setAttribute(u, "");
3769
3774
  let v;
3770
3775
  const m = (_) => {
3771
- f(_), v?.disconnect();
3776
+ d(_), v?.disconnect();
3772
3777
  };
3773
- r in e.$el.dataset ? m(new Event(r.replace("on", ""))) : wo.includes(r) && typeof MutationObserver < "u" ? (v = new MutationObserver((_) => {
3774
- _.some((g) => g.attributeName === `data-${r}`) && (m(new Event(r.replace("on", ""))), v?.disconnect());
3778
+ a in e.$el.dataset ? m(new Event(a.replace("on", ""))) : wo.includes(a) && typeof MutationObserver < "u" ? (v = new MutationObserver((_) => {
3779
+ _.some((g) => g.attributeName === `data-${a}`) && (m(new Event(a.replace("on", ""))), v?.disconnect());
3775
3780
  }), v.observe(e.$el, {
3776
3781
  attributes: !0
3777
- })) : a.addEventListener(h, m), i(e.id, s, () => {
3778
- v?.disconnect(), a.removeEventListener(h, m), e.$el.removeAttribute(u);
3782
+ })) : r.addEventListener(h, m), i(e.id, l, () => {
3783
+ v?.disconnect(), r.removeEventListener(h, m), e.$el.removeAttribute(u);
3779
3784
  });
3780
3785
  });
3781
3786
  }
@@ -3791,11 +3796,11 @@ const ma = (t) => ({
3791
3796
  "tags:resolve": (t) => {
3792
3797
  const e = (o) => t.tags.find((i) => i._d === o)?._p;
3793
3798
  for (const { prefix: o, offset: i } of ra)
3794
- for (const a of t.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(o))) {
3795
- const r = e(
3796
- a.tagPriority.replace(o, "")
3799
+ for (const r of t.tags.filter((a) => typeof a.tagPriority == "string" && a.tagPriority.startsWith(o))) {
3800
+ const a = e(
3801
+ r.tagPriority.replace(o, "")
3797
3802
  );
3798
- typeof r < "u" && (a._p = r + i);
3803
+ typeof a < "u" && (r._p = a + i);
3799
3804
  }
3800
3805
  t.tags.sort((o, i) => o._p - i._p).sort((o, i) => it(o) - it(i));
3801
3806
  }
@@ -3807,34 +3812,34 @@ const ma = (t) => ({
3807
3812
  }, _a = (t) => ({
3808
3813
  hooks: {
3809
3814
  "tags:resolve": (e) => {
3810
- const { tags: o } = e, i = o.find((s) => s.tag === "title")?.textContent, a = o.findIndex((s) => s.tag === "templateParams"), r = a !== -1 ? o[a].props : {}, f = r.separator || "|";
3811
- delete r.separator, r.pageTitle = Ze(r.pageTitle || i || "", r, f);
3812
- for (const s of o.filter((h) => h.processTemplateParams !== !1)) {
3813
- const h = ba[s.tag];
3814
- h && typeof s.props[h] == "string" ? s.props[h] = Ze(s.props[h], r, f) : (s.processTemplateParams === !0 || ["titleTemplate", "title"].includes(s.tag)) && ["innerHTML", "textContent"].forEach((u) => {
3815
- typeof s[u] == "string" && (s[u] = Ze(s[u], r, f));
3815
+ const { tags: o } = e, i = o.find((l) => l.tag === "title")?.textContent, r = o.findIndex((l) => l.tag === "templateParams"), a = r !== -1 ? o[r].props : {}, d = a.separator || "|";
3816
+ delete a.separator, a.pageTitle = Ze(a.pageTitle || i || "", a, d);
3817
+ for (const l of o.filter((h) => h.processTemplateParams !== !1)) {
3818
+ const h = ba[l.tag];
3819
+ h && typeof l.props[h] == "string" ? l.props[h] = Ze(l.props[h], a, d) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((u) => {
3820
+ typeof l[u] == "string" && (l[u] = Ze(l[u], a, d));
3816
3821
  });
3817
3822
  }
3818
- t._templateParams = r, t._separator = f, e.tags = o.filter((s) => s.tag !== "templateParams");
3823
+ t._templateParams = a, t._separator = d, e.tags = o.filter((l) => l.tag !== "templateParams");
3819
3824
  }
3820
3825
  }
3821
3826
  }), ka = {
3822
3827
  hooks: {
3823
3828
  "tags:resolve": (t) => {
3824
3829
  const { tags: e } = t;
3825
- let o = e.findIndex((a) => a.tag === "titleTemplate");
3826
- const i = e.findIndex((a) => a.tag === "title");
3830
+ let o = e.findIndex((r) => r.tag === "titleTemplate");
3831
+ const i = e.findIndex((r) => r.tag === "title");
3827
3832
  if (i !== -1 && o !== -1) {
3828
- const a = eo(
3833
+ const r = eo(
3829
3834
  e[o].textContent,
3830
3835
  e[i].textContent
3831
3836
  );
3832
- a !== null ? e[i].textContent = a || e[i].textContent : delete e[i];
3837
+ r !== null ? e[i].textContent = r || e[i].textContent : delete e[i];
3833
3838
  } else if (o !== -1) {
3834
- const a = eo(
3839
+ const r = eo(
3835
3840
  e[o].textContent
3836
3841
  );
3837
- a !== null && (e[o].textContent = a, e[o].tag = "title", o = -1);
3842
+ r !== null && (e[o].textContent = r, e[o].tag = "title", o = -1);
3838
3843
  }
3839
3844
  o !== -1 && delete e[o], t.tags = e.filter(Boolean);
3840
3845
  }
@@ -3859,46 +3864,46 @@ function Ca(t = {}) {
3859
3864
  const e = Kr();
3860
3865
  e.addHooks(t.hooks || {}), t.document = t.document || (ea ? document : void 0);
3861
3866
  const o = !t.document, i = () => {
3862
- s.dirty = !0, e.callHook("entries:updated", s);
3867
+ l.dirty = !0, e.callHook("entries:updated", l);
3863
3868
  };
3864
- let a = 0, r = [];
3865
- const f = [], s = {
3866
- plugins: f,
3869
+ let r = 0, a = [];
3870
+ const d = [], l = {
3871
+ plugins: d,
3867
3872
  dirty: !1,
3868
3873
  resolvedOptions: t,
3869
3874
  hooks: e,
3870
3875
  headEntries() {
3871
- return r;
3876
+ return a;
3872
3877
  },
3873
3878
  use(h) {
3874
- const u = typeof h == "function" ? h(s) : h;
3875
- (!u.key || !f.some((v) => v.key === u.key)) && (f.push(u), io(u.mode, o) && e.addHooks(u.hooks || {}));
3879
+ const u = typeof h == "function" ? h(l) : h;
3880
+ (!u.key || !d.some((v) => v.key === u.key)) && (d.push(u), io(u.mode, o) && e.addHooks(u.hooks || {}));
3876
3881
  },
3877
3882
  push(h, u) {
3878
3883
  delete u?.head;
3879
3884
  const v = {
3880
- _i: a++,
3885
+ _i: r++,
3881
3886
  input: h,
3882
3887
  ...u
3883
3888
  };
3884
- return io(v.mode, o) && (r.push(v), i()), {
3889
+ return io(v.mode, o) && (a.push(v), i()), {
3885
3890
  dispose() {
3886
- r = r.filter((m) => m._i !== v._i), e.callHook("entries:updated", s), i();
3891
+ a = a.filter((m) => m._i !== v._i), e.callHook("entries:updated", l), i();
3887
3892
  },
3888
3893
  // a patch is the same as creating a new entry, just a nice DX
3889
3894
  patch(m) {
3890
- r = r.map((_) => (_._i === v._i && (_.input = v.input = m), _)), i();
3895
+ a = a.map((_) => (_._i === v._i && (_.input = v.input = m), _)), i();
3891
3896
  }
3892
3897
  };
3893
3898
  },
3894
3899
  async resolveTags() {
3895
- const h = { tags: [], entries: [...r] };
3900
+ const h = { tags: [], entries: [...a] };
3896
3901
  await e.callHook("entries:resolve", h);
3897
3902
  for (const u of h.entries) {
3898
3903
  const v = u.resolvedInput || u.input;
3899
3904
  if (u.resolvedInput = await (u.transform ? u.transform(v) : v), u.resolvedInput)
3900
3905
  for (const m of await na(u)) {
3901
- const _ = { tag: m, entry: u, resolvedOptions: s.resolvedOptions };
3906
+ const _ = { tag: m, entry: u, resolvedOptions: l.resolvedOptions };
3902
3907
  await e.callHook("tag:normalise", _), h.tags.push(_.tag);
3903
3908
  }
3904
3909
  }
@@ -3916,18 +3921,18 @@ function Ca(t = {}) {
3916
3921
  ka,
3917
3922
  Ea,
3918
3923
  ...t?.plugins || []
3919
- ].forEach((h) => s.use(h)), s.hooks.callHook("init", s), s;
3924
+ ].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
3920
3925
  }
3921
- const Sa = ti.startsWith("3");
3926
+ const Sa = oi.startsWith("3");
3922
3927
  function $a(t) {
3923
- return typeof t == "function" ? t() : c(t);
3928
+ return typeof t == "function" ? t() : f(t);
3924
3929
  }
3925
3930
  function $t(t, e = "") {
3926
3931
  if (t instanceof Promise)
3927
3932
  return t;
3928
3933
  const o = $a(t);
3929
3934
  return !t || !o ? o : Array.isArray(o) ? o.map((i) => $t(i, e)) : typeof o == "object" ? Object.fromEntries(
3930
- Object.entries(o).map(([i, a]) => i === "titleTemplate" || i.startsWith("on") ? [i, c(a)] : [i, $t(a, i)])
3935
+ Object.entries(o).map(([i, r]) => i === "titleTemplate" || i.startsWith("on") ? [i, f(r)] : [i, $t(r, i)])
3931
3936
  ) : o;
3932
3937
  }
3933
3938
  const wa = {
@@ -3938,7 +3943,7 @@ const wa = {
3938
3943
  }
3939
3944
  }
3940
3945
  }, Ia = "usehead";
3941
- function Pa(t) {
3946
+ function La(t) {
3942
3947
  return {
3943
3948
  install(o) {
3944
3949
  Sa && (o.config.globalProperties.$unhead = t, o.config.globalProperties.$head = t, o.provide(Ia, t));
@@ -3948,15 +3953,15 @@ function Pa(t) {
3948
3953
  function Aa(t = {}) {
3949
3954
  t.domDelayFn = t.domDelayFn || ((o) => wt(() => setTimeout(() => o(), 0)));
3950
3955
  const e = /* @__PURE__ */ Ta(t);
3951
- return e.use(wa), e.install = Pa(e), e;
3956
+ return e.use(wa), e.install = La(e), e;
3952
3957
  }
3953
- const La = oi(), Ha = Aa(), Va = ii(), le = ni({ components: { Hotel: Hr } });
3958
+ const Ha = ii(), Pa = Aa(), Va = ni(), le = ri({ components: { Hotel: Pr } });
3959
+ le.use(Pa);
3954
3960
  le.use(Ha);
3955
- le.use(La);
3956
3961
  le.use(Va);
3957
3962
  le.use(Eo);
3958
3963
  le.use(ki);
3959
- le.use(ri);
3964
+ le.use(ai);
3960
3965
  le.use(mi);
3961
- le.use(ai, { bootstrap: !0 });
3966
+ le.use(si, { bootstrap: !0 });
3962
3967
  le.mount("#konnectio-hotel-app");