@konnectio/core 4.0.56-rc4 → 4.0.56-rc6

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