@konnectio/core 4.0.24 → 4.0.26

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