@konnectio/core 4.0.25 → 4.0.27

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