@konnectio/core 4.0.56-rc2 → 4.0.56-rc20

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