@konnectio/core 4.0.45 → 4.0.47

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