@konnectio/core 4.0.56-rc11 → 4.0.56-rc13

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 (40) hide show
  1. package/dist/{ActionField-BCGIGizy.js → ActionField-G62UF21r.js} +1 -1
  2. package/dist/ActionField-G62UF21r.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-d30Akjrq.js → AvailabilitySkeleton-tqSi5vyB.js} +4 -4
  4. package/dist/AvailabilitySkeleton-tqSi5vyB.js.br +0 -0
  5. package/dist/{CheckoutWindow-Er5Fh6JL.js → CheckoutWindow-UxtOqUd7.js} +32 -32
  6. package/dist/CheckoutWindow-UxtOqUd7.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-uh-8PtWD.js → DateField.vue_vue_type_style_index_0_lang-6SUJIqhT.js} +1 -1
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-6SUJIqhT.js.br +0 -0
  9. package/dist/{Field-yVjo13cY.js → Field-yoYCuzcb.js} +2 -2
  10. package/dist/Field-yoYCuzcb.js.br +0 -0
  11. package/dist/{SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js → SelectField.vue_vue_type_style_index_0_lang--ARrh9rv.js} +9 -9
  12. package/dist/SelectField.vue_vue_type_style_index_0_lang--ARrh9rv.js.br +0 -0
  13. package/dist/{ThankYou-HHVwQVzN.js → ThankYou-RDRdoNH4.js} +5 -5
  14. package/dist/ThankYou-RDRdoNH4.js.br +0 -0
  15. package/dist/{_-3f6HQpXv.js → _-7jA-u2Qn.js} +1 -1
  16. package/dist/availability.js +97 -87
  17. package/dist/availability.js.br +0 -0
  18. package/dist/{event-ZitNye5j.js → event-8kXgxJW7.js} +7 -7
  19. package/dist/event-8kXgxJW7.js.br +0 -0
  20. package/dist/event.js +7 -7
  21. package/dist/event.js.br +0 -0
  22. package/dist/gift-card-validation.js +2 -2
  23. package/dist/gift-card-validation.js.br +0 -0
  24. package/dist/gift-card.js +5 -5
  25. package/dist/gift-card.js.br +0 -0
  26. package/dist/hotel.js +732 -732
  27. package/dist/hotel.js.br +0 -0
  28. package/dist/polyfill.js +1 -1
  29. package/dist/polyfill.js.br +0 -0
  30. package/dist/style.css +1 -1
  31. package/dist/style.css.br +0 -0
  32. package/package.json +1 -1
  33. package/dist/ActionField-BCGIGizy.js.br +0 -0
  34. package/dist/AvailabilitySkeleton-d30Akjrq.js.br +0 -0
  35. package/dist/CheckoutWindow-Er5Fh6JL.js.br +0 -0
  36. package/dist/DateField.vue_vue_type_style_index_0_lang-uh-8PtWD.js.br +0 -0
  37. package/dist/Field-yVjo13cY.js.br +0 -0
  38. package/dist/SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js.br +0 -0
  39. package/dist/ThankYou-HHVwQVzN.js.br +0 -0
  40. package/dist/event-ZitNye5j.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,13 +1,13 @@
1
- import { k as j, B as ne, am as so, s as K, c as he, W as ft, X as ie, o as E, m as R, a0 as ao, z as a, w, ac as Le, x as y, F as V, K as te, a2 as Xe, an as lo, l as I, a6 as z, $ as B, n as x, a8 as We, ao as ue, p as C, H as Q, J as oe, f as q, y as Ee, P as mt, Q as gt, _ as J, r as ce, ap as vt, Z as Ue, Y as be, A as yt, C as le, aq as uo, a5 as co, q as ke, I as bt, v as Ze, T as ee, ar as po, N as ho, D as fo, a9 as mo, L as et, G as N, M as go, as as kt, at as vo, R as yo, U as bo, V as ko, ab as _o } from "./SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js";
2
- import { R as Eo, B as Ge, a as To, S as Co, M as Io, T as $o, V as So } from "./ThankYou-HHVwQVzN.js";
3
- import { A as Vo, H as Lo } from "./AvailabilitySkeleton-d30Akjrq.js";
4
- import { _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-uh-8PtWD.js";
5
- import { C as Ne, P as xo, a as wo } from "./CheckoutWindow-Er5Fh6JL.js";
6
- import { E as Y } from "./_-3f6HQpXv.js";
1
+ import { k as j, B as ne, am as so, s as K, c as he, W as ft, X as ie, o as E, m as R, a0 as ao, z as l, w, ac as Le, x as y, F as V, K as te, a2 as Xe, an as lo, l as I, a6 as z, $ as B, n as x, a8 as We, ao as ue, p as C, H as Q, J as oe, f as q, y as Ee, P as mt, Q as gt, _ as J, r as ce, ap as vt, Z as Ue, Y as be, A as yt, C as le, aq as uo, a5 as co, q as ke, I as bt, v as Ze, T as ee, ar as po, N as ho, D as fo, a9 as mo, L as et, G as N, M as go, as as kt, at as vo, R as yo, U as bo, V as ko, ab as _o } from "./SelectField.vue_vue_type_style_index_0_lang--ARrh9rv.js";
2
+ import { R as Eo, B as Ge, a as To, S as Co, M as Io, T as $o, V as So } from "./ThankYou-RDRdoNH4.js";
3
+ import { A as Vo, H as Lo } from "./AvailabilitySkeleton-tqSi5vyB.js";
4
+ import { _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-6SUJIqhT.js";
5
+ import { C as Ne, P as xo, a as wo } from "./CheckoutWindow-UxtOqUd7.js";
6
+ import { E as Y } from "./_-7jA-u2Qn.js";
7
7
  import { c as _t, g as Et } from "./_commonjsHelpers-2ufMB8rV.js";
8
- import "./ActionField-BCGIGizy.js";
9
- import "./Field-yVjo13cY.js";
10
- const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
8
+ import "./ActionField-G62UF21r.js";
9
+ import "./Field-yoYCuzcb.js";
10
+ const Oo = { key: 0 }, Ao = { key: 1 }, Pe = /* @__PURE__ */ j({
11
11
  __name: "HotelReservationForm",
12
12
  props: {
13
13
  showGiftCard: { type: Boolean, default: !1 },
@@ -19,61 +19,61 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
19
19
  disableArrivalUserSelection: p,
20
20
  disableDepartureUserSelection: s,
21
21
  arrivalDefault: h,
22
- departureDefault: u,
23
- currency: d
22
+ departureDefault: c,
23
+ currency: a
24
24
  } = K(he()), {
25
- arrivalDate: l,
25
+ arrivalDate: u,
26
26
  departureDate: f
27
27
  } = K(ft()), {
28
- arrivalTime: m,
28
+ arrivalTime: g,
29
29
  departureTime: _,
30
- roomDisplay: c,
30
+ roomDisplay: d,
31
31
  templateID: b,
32
32
  totalPrice: k,
33
- areListingsLoading: g,
33
+ areListingsLoading: m,
34
34
  getSelectedPackageRoom: i,
35
35
  selectedPackage: r,
36
36
  discountVouchers: v
37
37
  } = K(ie()), { removeRoom: T } = ie();
38
38
  function $(L) {
39
- return L.reduce((A, { totalPrice: D }) => A + D, 0);
39
+ return L.reduce((H, { totalPrice: D }) => H + D, 0);
40
40
  }
41
41
  return (L, O) => (E(), R(Eo, {
42
- "total-price": a(k),
42
+ "total-price": l(k),
43
43
  "show-gift-card": L.showGiftCard,
44
44
  "show-terms-notice": L.showTermsNotice,
45
- "is-sidebar-loading": a(g),
46
- notice: a(e)("hotel.reservationNotice")
45
+ "is-sidebar-loading": l(m),
46
+ notice: l(e)("hotel.reservationNotice")
47
47
  }, ao({
48
48
  form: w(() => [
49
49
  Le(L.$slots, "form")
50
50
  ]),
51
51
  "reservation-summary": w(() => [
52
52
  y("li", null, [
53
- y("span", null, V(a(e)("booking.reservation.arrival")), 1),
54
- y("b", null, V(a(n) ? a(te)(a(l)) : `${a(te)(a(l))}, ${a(p) ? a(h) : a(m)}`), 1)
53
+ y("span", null, V(l(e)("booking.reservation.arrival")), 1),
54
+ y("b", null, V(l(n) ? l(te)(l(u)) : `${l(te)(l(u))}, ${l(p) ? l(h) : l(g)}`), 1)
55
55
  ]),
56
56
  y("li", null, [
57
- y("span", null, V(a(e)("booking.reservation.departure")), 1),
58
- y("b", null, V(a(n) ? a(te)(a(f)) : `${a(te)(a(f))}, ${a(s) ? a(u) : a(_)}`), 1)
57
+ y("span", null, V(l(e)("booking.reservation.departure")), 1),
58
+ y("b", null, V(l(n) ? l(te)(l(f)) : `${l(te)(l(f))}, ${l(s) ? l(c) : l(_)}`), 1)
59
59
  ]),
60
60
  y("li", null, [
61
- y("span", null, V(a(e)("booking.reservation.nights")), 1),
62
- y("b", null, V(a(Xe)(a(l), a(f))) + " " + V(a(lo)(a(Xe)(a(l), a(f)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
61
+ y("span", null, V(l(e)("booking.reservation.nights")), 1),
62
+ y("b", null, V(l(Xe)(l(u), l(f))) + " " + V(l(lo)(l(Xe)(l(u), l(f)) === 1 ? l(e)("booking.reservation.night") : l(e)("booking.reservation.nights"))), 1)
63
63
  ]),
64
- a(v) ? (E(!0), I(B, { key: 0 }, z(a(v), (A) => (E(), I("li", {
65
- key: A.id
64
+ l(v) ? (E(!0), I(B, { key: 0 }, z(l(v), (H) => (E(), I("li", {
65
+ key: H.id
66
66
  }, [
67
- y("span", null, V(`${a(e)("general.discountCode")} (${A.value})`), 1),
68
- y("b", null, V(A.key), 1)
67
+ y("span", null, V(`${l(e)("general.discountCode")} (${H.value})`), 1),
68
+ y("b", null, V(H.key), 1)
69
69
  ]))), 128)) : x("", !0)
70
70
  ]),
71
71
  "price-summary": w(() => [
72
- isNaN(a(b)) && a(c).length > 0 ? (E(!0), I(B, { key: 0 }, z(a(c), ({
73
- roomGroupID: A,
72
+ isNaN(l(b)) && l(d).length > 0 ? (E(!0), I(B, { key: 0 }, z(l(d), ({
73
+ roomGroupID: H,
74
74
  title: D,
75
75
  variants: W
76
- }) => (E(), I("div", { key: A }, [
76
+ }) => (E(), I("div", { key: H }, [
77
77
  y("h6", null, [
78
78
  y("span", null, V(D), 1)
79
79
  ]),
@@ -82,7 +82,7 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
82
82
  y("li", null, [
83
83
  y("span", null, [
84
84
  y("span", null, [
85
- We(V(a(ue)(X.name)) + " ( ", 1),
85
+ We(V(l(ue)(X.name)) + " ( ", 1),
86
86
  C(Q, {
87
87
  icon: "male",
88
88
  type: "fas",
@@ -101,29 +101,29 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
101
101
  ])
102
102
  ]),
103
103
  y("b", null, [
104
- y("span", null, V(a(oe)(U.totalPrice, a(d))), 1),
104
+ y("span", null, V(l(oe)(U.totalPrice, l(a))), 1),
105
105
  x("", !0)
106
106
  ])
107
107
  ]),
108
108
  $(U.roomAddons) > 0 ? (E(), I("li", Oo, [
109
- y("span", null, V(a(e)("booking.reservation.addons")), 1),
110
- y("b", null, V(a(oe)($(U.roomAddons), a(d))), 1)
109
+ y("span", null, V(l(e)("booking.reservation.addons")), 1),
110
+ y("b", null, V(l(oe)($(U.roomAddons), l(a))), 1)
111
111
  ])) : x("", !0)
112
112
  ]))), 128))
113
113
  ]))), 128))
114
114
  ]))), 128)) : x("", !0),
115
- a(i) && a(r) ? (E(), I("div", Ho, [
115
+ l(i) && l(r) ? (E(), I("div", Ao, [
116
116
  y("h6", null, [
117
- y("span", null, V(a(ue)(a(r).name)), 1)
117
+ y("span", null, V(l(ue)(l(r).name)), 1)
118
118
  ]),
119
119
  y("div", null, [
120
120
  y("ul", null, [
121
121
  y("li", null, [
122
122
  y("span", null, [
123
- y("span", null, V(a(ue)(a(i).title)), 1)
123
+ y("span", null, V(l(ue)(l(i).title)), 1)
124
124
  ]),
125
125
  y("b", null, [
126
- y("span", null, V(a(oe)(a(i).extraPrice, a(d))), 1)
126
+ y("span", null, V(l(oe)(l(i).extraPrice, l(a))), 1)
127
127
  ])
128
128
  ])
129
129
  ])
@@ -135,7 +135,7 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
135
135
  ]),
136
136
  _: 2
137
137
  }, [
138
- a(t).addons ? {
138
+ l(t).addons ? {
139
139
  name: "addons",
140
140
  fn: w(() => [
141
141
  Le(L.$slots, "addons")
@@ -144,7 +144,7 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
144
144
  } : void 0
145
145
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
146
146
  }
147
- }), Ao = (o) => (mt("data-v-69fe83d8"), o = o(), gt(), o), Do = { class: "konnectio-room-config-option" }, Mo = { key: 0 }, Ro = { class: "konnectio-selected-room-config" }, Bo = { class: "konnectio-selected-room-config-people" }, zo = { key: 0 }, Wo = { class: "konnectio-selected-room-config-price" }, No = /* @__PURE__ */ Ao(() => /* @__PURE__ */ y("span", null, null, -1)), Fo = /* @__PURE__ */ j({
147
+ }), Ho = (o) => (mt("data-v-69fe83d8"), o = o(), gt(), o), Do = { class: "konnectio-room-config-option" }, Mo = { key: 0 }, Ro = { class: "konnectio-selected-room-config" }, Bo = { class: "konnectio-selected-room-config-people" }, zo = { key: 0 }, Wo = { class: "konnectio-selected-room-config-price" }, No = /* @__PURE__ */ Ho(() => /* @__PURE__ */ y("span", null, null, -1)), Fo = /* @__PURE__ */ j({
148
148
  __name: "RoomConfigField",
149
149
  props: {
150
150
  modelValue: {},
@@ -156,24 +156,24 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
156
156
  emits: ["update:modelValue"],
157
157
  setup(o, { emit: e }) {
158
158
  const { t } = ne(), { currency: n } = K(he()), p = e, s = o;
159
- function h(d) {
160
- p("update:modelValue", d);
159
+ function h(a) {
160
+ p("update:modelValue", a);
161
161
  }
162
- const u = q({
162
+ const c = q({
163
163
  get: () => s.modelValue,
164
- set: (d) => h(d)
164
+ set: (a) => h(a)
165
165
  });
166
- return (d, l) => (E(), R(Ee, {
167
- modelValue: u.value,
168
- "onUpdate:modelValue": l[0] || (l[0] = (f) => u.value = f),
169
- label: d.label,
166
+ return (a, u) => (E(), R(Ee, {
167
+ modelValue: c.value,
168
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => c.value = f),
169
+ label: a.label,
170
170
  placeholder: "Select guest configuration",
171
171
  labelKey: "label",
172
172
  valueKey: "value",
173
173
  "icon-placement": "label",
174
- options: d.options,
175
- readonly: d.readonly,
176
- required: d.required,
174
+ options: a.options,
175
+ readonly: a.readonly,
176
+ required: a.required,
177
177
  searchable: !1
178
178
  }, {
179
179
  option: w(({ data: f }) => [
@@ -194,7 +194,7 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
194
194
  y("span", null, V(`${f.children}`), 1)
195
195
  ])) : x("", !0)
196
196
  ]),
197
- y("span", null, V(`(${a(oe)(f.price, a(n))})`), 1)
197
+ y("span", null, V(`(${l(oe)(f.price, l(n))})`), 1)
198
198
  ])
199
199
  ]),
200
200
  "selected-option": w(({ data: f }) => [
@@ -202,16 +202,16 @@ const Oo = { key: 0 }, Ho = { key: 1 }, Pe = /* @__PURE__ */ j({
202
202
  y("div", Bo, [
203
203
  y("div", null, [
204
204
  x("", !0),
205
- y("span", null, V(`${f.adults} ${f.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
205
+ y("span", null, V(`${f.adults} ${f.adults === 1 ? l(t)("general.adult") : l(t)("general.adults")}`), 1)
206
206
  ]),
207
207
  f.children > 0 ? (E(), I("div", zo, [
208
208
  x("", !0),
209
- y("span", null, V(`& ${f.children} ${f.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
209
+ y("span", null, V(`& ${f.children} ${f.children === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1)
210
210
  ])) : x("", !0)
211
211
  ]),
212
212
  y("div", Wo, [
213
213
  No,
214
- We(" " + V(`(${a(oe)(f.price, a(n))})`), 1)
214
+ We(" " + V(`(${l(oe)(f.price, l(n))})`), 1)
215
215
  ])
216
216
  ])
217
217
  ]),
@@ -237,17 +237,17 @@ const Ko = /* @__PURE__ */ j({
237
237
  const s = q(() => t.room.rates.map((r) => ({
238
238
  label: r.name,
239
239
  value: r.id
240
- }))), { hideAvailableRoomAmount: h } = K(he()), { roomSelect: u } = K(ie()), { addToCart: d, removeFromCart: l } = vt(), f = (r, v) => t.room.rates.find((T) => T.id === r)?.occupantRates.find((T) => T.index === v), m = q(() => t.room.rates.reduce(
240
+ }))), { hideAvailableRoomAmount: h } = K(he()), { roomSelect: c } = K(ie()), { addToCart: a, removeFromCart: u } = vt(), f = (r, v) => t.room.rates.find((T) => T.id === r)?.occupantRates.find((T) => T.index === v), g = q(() => t.room.rates.reduce(
241
241
  (r, v) => r < v.rackRate ? r : v.rackRate,
242
242
  1 / 0
243
- )), _ = q(() => t.room.rates.every((r) => r.isBreakfastIncluded === !0)), c = (r, v) => f(r, v) ? f(r, v)?.rooms : null, b = (r) => t.room.rates.length > 0 ? t.room.rates.find((v) => v.id === r)?.occupantRates.map((v) => ({
243
+ )), _ = q(() => t.room.rates.every((r) => r.isBreakfastIncluded === !0)), d = (r, v) => f(r, v) ? f(r, v)?.rooms : null, b = (r) => t.room.rates.length > 0 ? t.room.rates.find((v) => v.id === r)?.occupantRates.map((v) => ({
244
244
  value: v.index,
245
245
  price: v.totalPrice,
246
246
  adults: v.adultsCount,
247
247
  children: v.childrenCount,
248
248
  hasBreakfast: v.hasBreakfast
249
249
  })) || [] : [], k = q(() => t.room.rates.length > 1);
250
- function g() {
250
+ function m() {
251
251
  k.value ? n.value.push({
252
252
  id: void 0,
253
253
  config: [{
@@ -265,18 +265,18 @@ const Ko = /* @__PURE__ */ j({
265
265
  });
266
266
  }
267
267
  Ue(() => {
268
- g();
268
+ m();
269
269
  });
270
270
  const i = q(() => JSON.parse(JSON.stringify(n.value)));
271
271
  return be(i, (r, v) => {
272
272
  v.length > 0 && r.forEach((T, $) => {
273
273
  T.config.forEach((L, O) => {
274
- const A = L.units, D = v[$].config[O].units;
275
- A !== D && (A > D ? (n.value[$].config[O].addons.push({}), d({
274
+ const H = L.units, D = v[$].config[O].units;
275
+ H !== D && (H > D ? (n.value[$].config[O].addons.push({}), a({
276
276
  id: t.room.id,
277
277
  name: t.room.title,
278
278
  value: t.room.rates[$].rackRate
279
- })) : (n.value[$].config[O].addons.pop(), l({
279
+ })) : (n.value[$].config[O].addons.pop(), u({
280
280
  id: t.room.id,
281
281
  name: t.room.title,
282
282
  value: t.room.rates[$].rackRate
@@ -284,7 +284,7 @@ const Ko = /* @__PURE__ */ j({
284
284
  });
285
285
  });
286
286
  }, { deep: !0 }), be(n, () => {
287
- u.value[t.room.id] = n.value;
287
+ c.value[t.room.id] = n.value;
288
288
  }, { deep: !0 }), (r, v) => (E(), R(Ge, {
289
289
  "listing-id": r.room.id,
290
290
  gallery: r.room.images,
@@ -292,7 +292,7 @@ const Ko = /* @__PURE__ */ j({
292
292
  description: r.room.description,
293
293
  layout: r.layout,
294
294
  facilities: r.room.facilities,
295
- "prices-from": m.value,
295
+ "prices-from": g.value,
296
296
  "includes-breakfast": _.value
297
297
  }, {
298
298
  action: w(() => [
@@ -305,8 +305,8 @@ const Ko = /* @__PURE__ */ j({
305
305
  key: 0,
306
306
  modelValue: T.id,
307
307
  "onUpdate:modelValue": (L) => T.id = L,
308
- label: a(e)("hotel.roomVariant"),
309
- placeholder: a(e)("hotel.chooseARoomVariant"),
308
+ label: l(e)("hotel.roomVariant"),
309
+ placeholder: l(e)("hotel.chooseARoomVariant"),
310
310
  options: s.value,
311
311
  searchable: !1
312
312
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : x("", !0),
@@ -318,33 +318,33 @@ const Ko = /* @__PURE__ */ j({
318
318
  key: L,
319
319
  class: "booking-availability-listing-action-selective-i"
320
320
  }, [
321
- T.id === L ? (E(!0), I(B, { key: 0 }, z(T.config, (A, D) => (E(), I("div", {
321
+ T.id === L ? (E(!0), I(B, { key: 0 }, z(T.config, (H, D) => (E(), I("div", {
322
322
  key: D,
323
323
  class: "booking-availability-listing-action-selective"
324
324
  }, [
325
325
  y("ul", jo, [
326
326
  C(qo, {
327
- modelValue: A.id,
328
- "onUpdate:modelValue": (W) => A.id = W,
327
+ modelValue: H.id,
328
+ "onUpdate:modelValue": (W) => H.id = W,
329
329
  icon: "male",
330
330
  "icon-type": "fas",
331
- label: a(e)("general.guests"),
332
- description: `${a(e)("general.maximumGuests")}: ${O}`,
331
+ label: l(e)("general.guests"),
332
+ description: `${l(e)("general.maximumGuests")}: ${O}`,
333
333
  options: b(L),
334
334
  readonly: !(b(L).length > 1)
335
335
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
336
336
  ]),
337
337
  y("ul", Yo, [
338
338
  C(yt, {
339
- modelValue: A.units,
340
- "onUpdate:modelValue": (W) => A.units = W,
341
- description: a(h) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${c(T.id, A.id)}`,
339
+ modelValue: H.units,
340
+ "onUpdate:modelValue": (W) => H.units = W,
341
+ description: l(h) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${d(T.id, H.id)}`,
342
342
  icon: "house",
343
343
  "icon-type": "fas",
344
344
  "icon-placement": "label",
345
- label: a(e)("booking.availability.units"),
345
+ label: l(e)("booking.availability.units"),
346
346
  minValue: 0,
347
- "max-value": c(L, A.id) || 1 / 0
347
+ "max-value": d(L, H.id) || 1 / 0
348
348
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
349
349
  ]),
350
350
  x("", !0)
@@ -367,38 +367,38 @@ const Ko = /* @__PURE__ */ j({
367
367
  },
368
368
  setup(o) {
369
369
  const { t: e } = ne(), { templateID: t, roomGroupID: n } = K(ie()), { currency: p } = K(he()), { clearRoomSelection: s } = ie(), h = o;
370
- function u(d) {
371
- t.value = h.templateId, n.value = d, s(), h.callback(2);
370
+ function c(a) {
371
+ t.value = h.templateId, n.value = a, s(), h.callback(2);
372
372
  }
373
- return (d, l) => (E(), R(To, {
374
- title: d.title,
375
- subtitle: a(e)("booking.availability.selectATemplateRoom")
373
+ return (a, u) => (E(), R(To, {
374
+ title: a.title,
375
+ subtitle: l(e)("booking.availability.selectATemplateRoom")
376
376
  }, {
377
377
  default: w(() => [
378
378
  y("div", Jo, [
379
379
  y("div", Xo, [
380
- (E(!0), I(B, null, z(d.roomGroups, ({
380
+ (E(!0), I(B, null, z(a.roomGroups, ({
381
381
  id: f,
382
- title: m,
382
+ title: g,
383
383
  description: _,
384
- images: c,
384
+ images: d,
385
385
  facilities: b,
386
386
  extraPrice: k
387
387
  }) => (E(), R(Ge, {
388
388
  key: f,
389
389
  "listing-id": f,
390
- name: m,
390
+ name: g,
391
391
  description: _,
392
392
  facilities: b,
393
- gallery: c,
393
+ gallery: d,
394
394
  "includes-breakfast": !1,
395
395
  "hide-info-button": !0
396
396
  }, {
397
397
  action: w(() => [
398
398
  y("div", null, [
399
399
  C(le, {
400
- onClickEvent: (g) => u(f),
401
- label: `${a(e)("booking.availability.selectThisRoom")} (${a(oe)(k, a(p))})`,
400
+ onClickEvent: (m) => c(f),
401
+ label: `${l(e)("booking.availability.selectThisRoom")} (${l(oe)(k, l(p))})`,
402
402
  "full-width": ""
403
403
  }, null, 8, ["onClickEvent", "label"])
404
404
  ])
@@ -424,7 +424,7 @@ const Ko = /* @__PURE__ */ j({
424
424
  },
425
425
  setup(o) {
426
426
  const { t: e } = ne(), t = o, n = q(() => t.roomGroups.reduce(
427
- (d, l) => d < l.extraPrice ? d : l.extraPrice,
427
+ (a, u) => a < u.extraPrice ? a : u.extraPrice,
428
428
  1 / 0
429
429
  )), p = q(() => [{
430
430
  large: t.image.url,
@@ -435,30 +435,30 @@ const Ko = /* @__PURE__ */ j({
435
435
  function h() {
436
436
  s.value = !0;
437
437
  }
438
- function u(d) {
439
- t.callback(d), s.value = !1;
438
+ function c(a) {
439
+ t.callback(a), s.value = !1;
440
440
  }
441
- return (d, l) => (E(), R(Ge, {
442
- "listing-id": d.id,
443
- name: d.name,
444
- description: d.description,
441
+ return (a, u) => (E(), R(Ge, {
442
+ "listing-id": a.id,
443
+ name: a.name,
444
+ description: a.description,
445
445
  gallery: p.value,
446
- layout: a(co).Template,
446
+ layout: l(co).Template,
447
447
  "includes-breakfast": !1,
448
448
  "hide-info-button": !1,
449
449
  "prices-from": n.value
450
450
  }, {
451
451
  description: w(() => [
452
- d.description ? (E(), I("p", {
452
+ a.description ? (E(), I("p", {
453
453
  key: 0,
454
- innerHTML: a(uo)(d.description)
454
+ innerHTML: l(uo)(a.description)
455
455
  }, null, 8, tn)) : x("", !0)
456
456
  ]),
457
457
  action: w(() => [
458
458
  y("div", null, [
459
459
  C(le, {
460
460
  onClickEvent: h,
461
- label: a(e)("booking.availability.selectPackage"),
461
+ label: l(e)("booking.availability.selectPackage"),
462
462
  "full-width": ""
463
463
  }, null, 8, ["label"])
464
464
  ])
@@ -466,11 +466,11 @@ const Ko = /* @__PURE__ */ j({
466
466
  default: w(() => [
467
467
  C(en, {
468
468
  modelValue: s.value,
469
- "onUpdate:modelValue": l[0] || (l[0] = (f) => s.value = f),
470
- title: d.name,
471
- "template-id": d.id,
472
- roomGroups: d.roomGroups,
473
- callback: u
469
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => s.value = f),
470
+ title: a.name,
471
+ "template-id": a.id,
472
+ roomGroups: a.roomGroups,
473
+ callback: c
474
474
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
475
475
  ]),
476
476
  _: 1
@@ -508,9 +508,9 @@ const Ko = /* @__PURE__ */ j({
508
508
  const s = ce(n.modelValue);
509
509
  return be(s, (h) => {
510
510
  p(h);
511
- }), (h, u) => (E(), R(Po, {
511
+ }), (h, c) => (E(), R(Po, {
512
512
  modelValue: s.value,
513
- "onUpdate:modelValue": u[0] || (u[0] = (d) => s.value = d),
513
+ "onUpdate:modelValue": c[0] || (c[0] = (a) => s.value = a),
514
514
  type: "time",
515
515
  label: h.label,
516
516
  id: h.id,
@@ -536,35 +536,35 @@ const Ko = /* @__PURE__ */ j({
536
536
  emits: ["update:modelValue"],
537
537
  setup(o, { emit: e }) {
538
538
  const { t } = ne(), n = e, p = o;
539
- function s(u) {
540
- n("update:modelValue", u);
539
+ function s(c) {
540
+ n("update:modelValue", c);
541
541
  }
542
542
  const h = q({
543
543
  get: () => p.modelValue,
544
- set: (u) => s(u)
544
+ set: (c) => s(c)
545
545
  });
546
- return (u, d) => (E(), R(Ee, {
546
+ return (c, a) => (E(), R(Ee, {
547
547
  modelValue: h.value,
548
- "onUpdate:modelValue": d[0] || (d[0] = (l) => h.value = l),
549
- label: u.label,
550
- placeholder: a(t)("booking.reservation.countryPlaceholder"),
548
+ "onUpdate:modelValue": a[0] || (a[0] = (u) => h.value = u),
549
+ label: c.label,
550
+ placeholder: l(t)("booking.reservation.countryPlaceholder"),
551
551
  labelKey: "name",
552
552
  valueKey: "id",
553
- options: u.options,
554
- required: u.required
553
+ options: c.options,
554
+ required: c.required
555
555
  }, {
556
- option: w(({ data: l }) => [
556
+ option: w(({ data: u }) => [
557
557
  y("i", {
558
- class: ke(["konnectio-flag-icon", l.iso])
558
+ class: ke(["konnectio-flag-icon", u.iso])
559
559
  }, null, 2),
560
- y("span", null, V(l.name), 1)
560
+ y("span", null, V(u.name), 1)
561
561
  ]),
562
- "selected-option": w(({ data: l }) => [
562
+ "selected-option": w(({ data: u }) => [
563
563
  y("div", rn, [
564
564
  y("i", {
565
- class: ke(["konnectio-flag-icon", l.iso])
565
+ class: ke(["konnectio-flag-icon", u.iso])
566
566
  }, null, 2),
567
- y("span", null, V(l.name), 1)
567
+ y("span", null, V(u.name), 1)
568
568
  ])
569
569
  ]),
570
570
  _: 1
@@ -588,20 +588,20 @@ const Ko = /* @__PURE__ */ j({
588
588
  get: () => n.modelValue,
589
589
  set: (h) => p(h)
590
590
  });
591
- return (h, u) => (E(), R(bt, {
591
+ return (h, c) => (E(), R(bt, {
592
592
  label: h.label,
593
593
  type: "multi-radio"
594
594
  }, {
595
595
  default: w(() => [
596
596
  y("ul", ln, [
597
- (E(!0), I(B, null, z(h.checkboxes, ({ label: d, value: l }, f) => (E(), I("li", { key: f }, [
597
+ (E(!0), I(B, null, z(h.checkboxes, ({ label: a, value: u }, f) => (E(), I("li", { key: f }, [
598
598
  C(Ne, {
599
599
  modelValue: s.value,
600
- "onUpdate:modelValue": u[0] || (u[0] = (m) => s.value = m),
601
- label: d,
600
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => s.value = g),
601
+ label: a,
602
602
  name: h.name,
603
603
  type: "radio",
604
- val: l
604
+ val: u
605
605
  }, null, 8, ["modelValue", "label", "name", "val"])
606
606
  ]))), 128))
607
607
  ])
@@ -632,81 +632,81 @@ const Ko = /* @__PURE__ */ j({
632
632
  emits: ["update:modelValue", "update:title"],
633
633
  setup(o, { emit: e }) {
634
634
  const t = o, n = e, p = t.id || Ze(), s = ce(""), h = ce(2);
635
- function u() {
635
+ function c() {
636
636
  n("update:modelValue", s.value);
637
637
  }
638
- be(h, (l) => {
639
- n("update:title", l);
638
+ be(h, (u) => {
639
+ n("update:title", u);
640
640
  });
641
- const { t: d } = ne();
641
+ const { t: a } = ne();
642
642
  return Ue(() => {
643
643
  t.modelValue && (s.value = t.modelValue), t.title && (h.value = t.title);
644
- }), (l, f) => (E(), R(bt, {
645
- label: l.label,
646
- id: a(p),
647
- required: l.required,
644
+ }), (u, f) => (E(), R(bt, {
645
+ label: u.label,
646
+ id: l(p),
647
+ required: u.required,
648
648
  type: "fresh-booking-name-field",
649
- readonly: l.readonly,
650
- limit: l.limit
649
+ readonly: u.readonly,
650
+ limit: u.limit
651
651
  }, {
652
652
  default: w(() => [
653
653
  y("div", {
654
654
  class: ke([
655
655
  "fresh-booking-name-input",
656
- { "no-title": l.excludeTitle }
656
+ { "no-title": u.excludeTitle }
657
657
  ])
658
658
  }, [
659
- l.excludeTitle ? x("", !0) : (E(), R(Ee, {
659
+ u.excludeTitle ? x("", !0) : (E(), R(Ee, {
660
660
  key: 0,
661
661
  modelValue: h.value,
662
- "onUpdate:modelValue": f[0] || (f[0] = (m) => h.value = m),
663
- id: a(Ze)(),
664
- icon: l.icon,
665
- "icon-color": l.iconColor,
666
- "icon-type": l.iconType,
662
+ "onUpdate:modelValue": f[0] || (f[0] = (g) => h.value = g),
663
+ id: l(Ze)(),
664
+ icon: u.icon,
665
+ "icon-color": u.iconColor,
666
+ "icon-type": u.iconType,
667
667
  options: [
668
668
  {
669
- label: a(d)("booking.reservation.noNameTitle"),
669
+ label: l(a)("booking.reservation.noNameTitle"),
670
670
  value: 1
671
671
  },
672
672
  {
673
- label: a(d)("booking.reservation.nameTitleMr"),
673
+ label: l(a)("booking.reservation.nameTitleMr"),
674
674
  value: 2
675
675
  },
676
676
  {
677
- label: a(d)("booking.reservation.nameTitleMs"),
677
+ label: l(a)("booking.reservation.nameTitleMs"),
678
678
  value: 3
679
679
  },
680
680
  {
681
- label: a(d)("booking.reservation.nameTitleMrs"),
681
+ label: l(a)("booking.reservation.nameTitleMrs"),
682
682
  value: 4
683
683
  },
684
684
  {
685
- label: a(d)("booking.reservation.nameTitleDr"),
685
+ label: l(a)("booking.reservation.nameTitleDr"),
686
686
  value: 5
687
687
  }
688
688
  ],
689
- readonly: l.readonly,
689
+ readonly: u.readonly,
690
690
  "hide-button": "",
691
- "input-style": l.inputStyle,
691
+ "input-style": u.inputStyle,
692
692
  searchable: !1
693
693
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
694
694
  C(ee, {
695
695
  modelValue: s.value,
696
- "onUpdate:modelValue": f[1] || (f[1] = (m) => s.value = m),
696
+ "onUpdate:modelValue": f[1] || (f[1] = (g) => s.value = g),
697
697
  type: "text",
698
698
  name: "name",
699
699
  autocomplete: "name",
700
- id: a(p),
701
- icon: l.excludeTitle ? l.icon : void 0,
702
- "icon-color": l.iconColor,
703
- "icon-type": l.iconType,
704
- placeholder: l.placeholder,
705
- required: l.required,
706
- readonly: l.readonly,
707
- limit: l.limit,
708
- onInput: f[2] || (f[2] = (m) => u()),
709
- "input-style": l.inputStyle
700
+ id: l(p),
701
+ icon: u.excludeTitle ? u.icon : void 0,
702
+ "icon-color": u.iconColor,
703
+ "icon-type": u.iconType,
704
+ placeholder: u.placeholder,
705
+ required: u.required,
706
+ readonly: u.readonly,
707
+ limit: u.limit,
708
+ onInput: f[2] || (f[2] = (g) => c()),
709
+ "input-style": u.inputStyle
710
710
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
711
711
  ], 2)
712
712
  ]),
@@ -791,7 +791,7 @@ const Pn = { key: 1 }, xn = { key: 0 }, wn = {
791
791
  }, On = {
792
792
  key: 0,
793
793
  class: "konnectio-hotel-availability-title"
794
- }, Hn = { id: "booking-availability-packages-wrapper" }, An = { key: 1 }, Dn = {
794
+ }, An = { id: "booking-availability-packages-wrapper" }, Hn = { key: 1 }, Dn = {
795
795
  key: 0,
796
796
  class: "konnectio-hotel-availability-title"
797
797
  }, Mn = { id: "booking-availability-listings" }, Rn = {
@@ -828,16 +828,16 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
828
828
  areListingsLoading: p,
829
829
  isPaymentLoading: s,
830
830
  isReservationFormFilled: h,
831
- travelingFor: u,
832
- arrivalTime: d,
833
- departureTime: l,
831
+ travelingFor: c,
832
+ arrivalTime: a,
833
+ departureTime: u,
834
834
  name: f,
835
- nameTitle: m,
835
+ nameTitle: g,
836
836
  email: _,
837
- phone: c,
837
+ phone: d,
838
838
  firmName: b,
839
839
  postal: k,
840
- city: g,
840
+ city: m,
841
841
  address: i,
842
842
  country: r,
843
843
  remark: v,
@@ -845,7 +845,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
845
845
  newsMails: $,
846
846
  roomSelect: L,
847
847
  roomDisplay: O,
848
- hasValidRoomSelection: A,
848
+ hasValidRoomSelection: H,
849
849
  availabilityData: D,
850
850
  selectionHasNoAddons: W
851
851
  } = K(ie()), {
@@ -858,8 +858,8 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
858
858
  arrivalLatest: xt,
859
859
  departureEarliest: wt,
860
860
  departureLatest: Ot,
861
- enableTracking: Ht,
862
- arrivalDefault: At,
861
+ enableTracking: At,
862
+ arrivalDefault: Ht,
863
863
  departureDefault: Dt,
864
864
  hideArrivalDepartureInputs: Mt,
865
865
  disableArrivalUserSelection: Ce,
@@ -875,7 +875,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
875
875
  resetDiscountVoucher: Gt,
876
876
  createReservation: jt
877
877
  } = ie(), Yt = ce(!0), Kt = q(() => {
878
- const H = [
878
+ const A = [
879
879
  {
880
880
  label: e("booking.reservation.business"),
881
881
  value: "Business"
@@ -885,13 +885,13 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
885
885
  value: "Pleasure"
886
886
  }
887
887
  ];
888
- return zt.value || H.push({
888
+ return zt.value || A.push({
889
889
  label: e("booking.reservation.bleasure"),
890
890
  value: "Bleasure"
891
- }), H;
891
+ }), A;
892
892
  }), Qt = q(() => {
893
- const H = D.value.roomGroups.slice();
894
- H.forEach((G) => {
893
+ const A = D.value.roomGroups.slice();
894
+ A.forEach((G) => {
895
895
  G.pricesFrom = G.rates.reduce(
896
896
  (M, S) => M < S.rackRate ? M : S.rackRate,
897
897
  1 / 0
@@ -900,7 +900,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
900
900
  function P(G, M) {
901
901
  return Yt.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
902
902
  }
903
- return H.sort(P);
903
+ return A.sort(P);
904
904
  }), Jt = q(() => [[
905
905
  parseInt(Qe.value.split(":")[0]),
906
906
  parseInt(xt.value.split(":")[0])
@@ -908,36 +908,36 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
908
908
  parseInt(wt.value.split(":")[0]),
909
909
  parseInt(Ot.value.split(":")[0])
910
910
  ]]);
911
- function Je(H) {
912
- W.value ? H(2) : H(), Gt();
911
+ function Je(A) {
912
+ W.value ? A(2) : A(), Gt();
913
913
  }
914
- function Zt(H, P) {
915
- re.value = new Date(P), X.value = new Date(H), location.reload();
914
+ function Zt(A, P) {
915
+ re.value = new Date(P), X.value = new Date(A), location.reload();
916
916
  }
917
- async function eo(H) {
918
- await jt(H);
917
+ async function eo(A) {
918
+ await jt(A);
919
919
  }
920
- function to(H) {
921
- Ht.value && Ft(), W.value ? H(2) : H();
920
+ function to(A) {
921
+ At.value && Ft(), W.value ? A(2) : A();
922
922
  }
923
923
  function oo() {
924
- d.value === "" && (d.value = At.value), l.value === "" && (l.value = Dt.value);
924
+ a.value === "" && (a.value = Ht.value), u.value === "" && (u.value = Dt.value);
925
925
  }
926
926
  return Ue(() => {
927
927
  qt(), oo();
928
- }), (H, P) => (E(), R(ho, { styling: H.styling }, {
928
+ }), (A, P) => (E(), R(ho, { styling: A.styling }, {
929
929
  default: w(() => [
930
930
  (E(), R(fo, null, {
931
931
  default: w(() => [
932
932
  C(go, {
933
933
  id: "fresh-booking-hotel-module",
934
- "access-token": H.accessToken,
934
+ "access-token": A.accessToken,
935
935
  type: "hotel"
936
936
  }, {
937
937
  default: w(() => [
938
938
  C(Io, {
939
- layout: H.headerLayout,
940
- onReset: a(Ut)
939
+ layout: A.headerLayout,
940
+ onReset: l(Ut)
941
941
  }, {
942
942
  availability: w(({ next: G }) => [
943
943
  C(Pe, null, {
@@ -947,23 +947,23 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
947
947
  C(Lo, { booking: !0 })
948
948
  ]),
949
949
  x("", !0),
950
- a(p) ? (E(), I("div", qn, [
950
+ l(p) ? (E(), I("div", qn, [
951
951
  C(de),
952
952
  C(de),
953
953
  C(de)
954
954
  ])) : (E(), I("div", Pn, [
955
- a(D).roomGroups.length > 0 || a(D).templates.length > 0 ? (E(), I("div", xn, [
956
- a(D).templates.length > 0 && H.onlyShow !== "rooms" ? (E(), I("div", wn, [
957
- H.onlyShow !== "packages" ? (E(), I("h2", On, [
955
+ l(D).roomGroups.length > 0 || l(D).templates.length > 0 ? (E(), I("div", xn, [
956
+ l(D).templates.length > 0 && A.onlyShow !== "rooms" ? (E(), I("div", wn, [
957
+ A.onlyShow !== "packages" ? (E(), I("h2", On, [
958
958
  C(Q, {
959
959
  icon: "box",
960
960
  type: "fal",
961
961
  color: "header"
962
962
  }),
963
- y("span", null, V(a(e)("booking.availability.packagesTitle")), 1)
963
+ y("span", null, V(l(e)("booking.availability.packagesTitle")), 1)
964
964
  ])) : x("", !0),
965
- y("ul", Hn, [
966
- (E(!0), I(B, null, z(a(D).templates, ({
965
+ y("ul", An, [
966
+ (E(!0), I(B, null, z(l(D).templates, ({
967
967
  id: M,
968
968
  name: S,
969
969
  templateRoomGroups: se,
@@ -982,14 +982,14 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
982
982
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
983
983
  ])
984
984
  ])) : x("", !0),
985
- a(D).roomGroups.length > 0 && H.onlyShow !== "packages" ? (E(), I("div", An, [
986
- a(D).templates.length > 0 && H.onlyShow !== "rooms" ? (E(), I("h2", Dn, [
985
+ l(D).roomGroups.length > 0 && A.onlyShow !== "packages" ? (E(), I("div", Hn, [
986
+ l(D).templates.length > 0 && A.onlyShow !== "rooms" ? (E(), I("h2", Dn, [
987
987
  C(Q, {
988
988
  icon: "house",
989
989
  type: "fal",
990
990
  color: "header"
991
991
  }),
992
- y("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
992
+ y("span", null, V(l(e)("booking.availability.roomsTitle")), 1)
993
993
  ])) : x("", !0),
994
994
  y("ul", Mn, [
995
995
  (E(!0), I(B, null, z(Qt.value, (M, S) => (E(), R(Qo, {
@@ -998,11 +998,11 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
998
998
  }, null, 8, ["room"]))), 128))
999
999
  ])
1000
1000
  ])) : x("", !0),
1001
- (a(D).templates.length === 0 && H.onlyShow !== "rooms" || a(D).roomGroups.length === 0 && H.onlyShow !== "packages") && (H.onlyShow === "rooms" || H.onlyShow === "packages") ? (E(), I("div", Rn, [
1002
- y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1001
+ (l(D).templates.length === 0 && A.onlyShow !== "rooms" || l(D).roomGroups.length === 0 && A.onlyShow !== "packages") && (A.onlyShow === "rooms" || A.onlyShow === "packages") ? (E(), I("div", Rn, [
1002
+ y("span", null, V(l(e)("booking.availability.nothingAvailable")), 1)
1003
1003
  ])) : x("", !0)
1004
- ])) : a(D).nextAvailableDates.length === 0 ? (E(), I("div", Bn, [
1005
- y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1004
+ ])) : l(D).nextAvailableDates.length === 0 ? (E(), I("div", Bn, [
1005
+ y("span", null, V(l(e)("booking.availability.nothingAvailable")), 1)
1006
1006
  ])) : (E(), I("div", zn, [
1007
1007
  y("h2", Wn, [
1008
1008
  C(Q, {
@@ -1010,14 +1010,14 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1010
1010
  type: "fal",
1011
1011
  color: "header"
1012
1012
  }),
1013
- y("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
1013
+ y("span", null, V(l(e)("booking.availability.nextAvailableDates")), 1)
1014
1014
  ]),
1015
1015
  y("ul", Nn, [
1016
- (E(!0), I(B, null, z(a(D).nextAvailableDates, (M, S) => (E(), I("li", { key: S }, [
1016
+ (E(!0), I(B, null, z(l(D).nextAvailableDates, (M, S) => (E(), I("li", { key: S }, [
1017
1017
  y("h3", {
1018
- title: `${a(te)(M.fromDate)} - ${a(te)(M.toDate)}`
1018
+ title: `${l(te)(M.fromDate)} - ${l(te)(M.toDate)}`
1019
1019
  }, [
1020
- y("span", null, V(`${a(te)(M.fromDate)} - ${a(te)(M.toDate)}`), 1)
1020
+ y("span", null, V(`${l(te)(M.fromDate)} - ${l(te)(M.toDate)}`), 1)
1021
1021
  ], 8, Fn),
1022
1022
  y("ul", null, [
1023
1023
  x("", !0),
@@ -1027,11 +1027,11 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1027
1027
  type: "fal",
1028
1028
  color: "header"
1029
1029
  }),
1030
- y("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(oe)(M.priceStartFrom, a(U))), 1)
1030
+ y("span", null, V(l(e)("booking.availability.pricesFrom")) + ": " + V(l(oe)(M.priceStartFrom, l(U))), 1)
1031
1031
  ])
1032
1032
  ]),
1033
1033
  C(le, {
1034
- label: a(e)("booking.availability.selectDates"),
1034
+ label: l(e)("booking.availability.selectDates"),
1035
1035
  "full-width": "",
1036
1036
  onClickEvent: (se) => Zt(M.fromDate, M.toDate)
1037
1037
  }, null, 8, ["label", "onClickEvent"])
@@ -1043,8 +1043,8 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1043
1043
  ]),
1044
1044
  navigation: w(() => [
1045
1045
  C(le, {
1046
- label: a(W) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
1047
- disabled: !a(A),
1046
+ label: l(W) ? l(e)("booking.availability.nextButton") : l(e)("general.chooseAddons"),
1047
+ disabled: !l(H),
1048
1048
  "is-loading": !1,
1049
1049
  "full-width": "",
1050
1050
  onClickEvent: (M) => to(G)
@@ -1058,18 +1058,18 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1058
1058
  form: w(() => [
1059
1059
  y("form", Un, [
1060
1060
  y("h2", null, [
1061
- y("span", null, V(a(e)("booking.reservation.addons")), 1)
1061
+ y("span", null, V(l(e)("booking.reservation.addons")), 1)
1062
1062
  ]),
1063
1063
  y("div", null, [
1064
- isNaN(a(t)) ? (E(), I("div", Gn, [
1065
- (E(!0), I(B, null, z(a(O), (S) => (E(), I("ul", {
1064
+ isNaN(l(t)) ? (E(), I("div", Gn, [
1065
+ (E(!0), I(B, null, z(l(O), (S) => (E(), I("ul", {
1066
1066
  key: S.roomGroupID
1067
1067
  }, [
1068
1068
  (E(!0), I(B, null, z(S.variants, (se, ae) => (E(), I("li", {
1069
1069
  key: se.ratePlanID
1070
1070
  }, [
1071
1071
  y("h4", null, [
1072
- y("span", null, V(a(ue)(S.title)), 1)
1072
+ y("span", null, V(l(ue)(S.title)), 1)
1073
1073
  ]),
1074
1074
  (E(!0), I(B, null, z(se.rooms, (F, $e) => (E(), I("table", {
1075
1075
  key: $e,
@@ -1078,7 +1078,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1078
1078
  y("thead", null, [
1079
1079
  y("tr", null, [
1080
1080
  y("th", null, [
1081
- y("span", null, V(a(ue)(se.name)), 1)
1081
+ y("span", null, V(l(ue)(se.name)), 1)
1082
1082
  ]),
1083
1083
  x("", !0),
1084
1084
  y("th", jn, [
@@ -1109,22 +1109,22 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1109
1109
  price: ro
1110
1110
  }) => (E(), I("tr", { key: pe }, [
1111
1111
  y("td", null, [
1112
- y("b", null, V(a(ue)(io)), 1),
1112
+ y("b", null, V(l(ue)(io)), 1),
1113
1113
  Kn,
1114
- y("span", null, V(a(oe)(ro, a(U))) + " " + V(a(mo)(Se)), 1)
1114
+ y("span", null, V(l(oe)(ro, l(U))) + " " + V(l(mo)(Se)), 1)
1115
1115
  ]),
1116
1116
  y("td", null, [
1117
1117
  Se === 1 || Se === 12 ? (E(), R(yt, {
1118
1118
  key: 0,
1119
- modelValue: a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
1120
- "onUpdate:modelValue": (Ve) => a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
1119
+ modelValue: l(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
1120
+ "onUpdate:modelValue": (Ve) => l(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
1121
1121
  small: !0,
1122
1122
  "min-value": 0,
1123
1123
  "max-value": no || 1 / 0
1124
1124
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), R(Ne, {
1125
1125
  key: 1,
1126
- modelValue: a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
1127
- "onUpdate:modelValue": (Ve) => a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
1126
+ modelValue: l(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
1127
+ "onUpdate:modelValue": (Ve) => l(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
1128
1128
  numeric: !0
1129
1129
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1130
1130
  ])
@@ -1139,7 +1139,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1139
1139
  ]),
1140
1140
  navigation: w(() => [
1141
1141
  C(le, {
1142
- label: a(e)("general.startReservation"),
1142
+ label: l(e)("general.startReservation"),
1143
1143
  "full-width": "",
1144
1144
  onClickEvent: G
1145
1145
  }, null, 8, ["label", "onClickEvent"]),
@@ -1147,7 +1147,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1147
1147
  class: "konnectio-abort-reservation link",
1148
1148
  onClick: et((S) => Je(M), ["prevent"])
1149
1149
  }, [
1150
- y("span", null, V(a(e)("general.goAStepBack")), 1)
1150
+ y("span", null, V(l(e)("general.goAStepBack")), 1)
1151
1151
  ], 8, Qn)
1152
1152
  ]),
1153
1153
  _: 2
@@ -1161,27 +1161,27 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1161
1161
  form: w(() => [
1162
1162
  y("form", Jn, [
1163
1163
  y("h2", null, [
1164
- y("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
1164
+ y("span", null, V(l(e)("booking.reservation.detailsTitle")), 1)
1165
1165
  ]),
1166
- !a(Mt) && !(a(Ce) && a(Ie)) ? (E(), I("ul", {
1166
+ !l(Mt) && !(l(Ce) && l(Ie)) ? (E(), I("ul", {
1167
1167
  key: 0,
1168
- class: ke({ "fresh-booking-split-inputs": !a(Ce) && !a(Ie) })
1168
+ class: ke({ "fresh-booking-split-inputs": !l(Ce) && !l(Ie) })
1169
1169
  }, [
1170
- a(Ce) ? x("", !0) : (E(), I("li", Xn, [
1170
+ l(Ce) ? x("", !0) : (E(), I("li", Xn, [
1171
1171
  C(tt, {
1172
- modelValue: a(d),
1173
- "onUpdate:modelValue": P[1] || (P[1] = (S) => N(d) ? d.value = S : null),
1174
- label: a(e)("booking.reservation.arrivalTime"),
1172
+ modelValue: l(a),
1173
+ "onUpdate:modelValue": P[1] || (P[1] = (S) => N(a) ? a.value = S : null),
1174
+ label: l(e)("booking.reservation.arrivalTime"),
1175
1175
  icon: "hourglass-start",
1176
1176
  "hour-range": Jt.value,
1177
1177
  required: ""
1178
1178
  }, null, 8, ["modelValue", "label", "hour-range"])
1179
1179
  ])),
1180
- a(Ie) ? x("", !0) : (E(), I("li", Zn, [
1180
+ l(Ie) ? x("", !0) : (E(), I("li", Zn, [
1181
1181
  C(tt, {
1182
- modelValue: a(l),
1183
- "onUpdate:modelValue": P[2] || (P[2] = (S) => N(l) ? l.value = S : null),
1184
- label: a(e)("booking.reservation.departureTime"),
1182
+ modelValue: l(u),
1183
+ "onUpdate:modelValue": P[2] || (P[2] = (S) => N(u) ? u.value = S : null),
1184
+ label: l(e)("booking.reservation.departureTime"),
1185
1185
  icon: "hourglass-end",
1186
1186
  "hour-range": Xt.value,
1187
1187
  required: ""
@@ -1189,122 +1189,122 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1189
1189
  ]))
1190
1190
  ], 2)) : x("", !0),
1191
1191
  C(pn, {
1192
- modelValue: a(f),
1192
+ modelValue: l(f),
1193
1193
  "onUpdate:modelValue": P[3] || (P[3] = (S) => N(f) ? f.value = S : null),
1194
- title: a(m),
1195
- "onUpdate:title": P[4] || (P[4] = (S) => N(m) ? m.value = S : null),
1196
- "exclude-title": a(Rt),
1197
- label: a(e)("booking.reservation.name"),
1194
+ title: l(g),
1195
+ "onUpdate:title": P[4] || (P[4] = (S) => N(g) ? g.value = S : null),
1196
+ "exclude-title": l(Rt),
1197
+ label: l(e)("booking.reservation.name"),
1198
1198
  icon: "user-alt",
1199
- placeholder: a(e)("booking.reservation.namePlaceholder"),
1199
+ placeholder: l(e)("booking.reservation.namePlaceholder"),
1200
1200
  required: ""
1201
1201
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1202
1202
  C(ee, {
1203
- modelValue: a(_),
1203
+ modelValue: l(_),
1204
1204
  "onUpdate:modelValue": P[5] || (P[5] = (S) => N(_) ? _.value = S : null),
1205
1205
  type: "email",
1206
1206
  name: "email",
1207
1207
  autocomplete: "email",
1208
- label: a(e)("booking.reservation.email"),
1208
+ label: l(e)("booking.reservation.email"),
1209
1209
  icon: "at",
1210
- placeholder: a(e)("booking.reservation.emailPlaceholder"),
1210
+ placeholder: l(e)("booking.reservation.emailPlaceholder"),
1211
1211
  required: ""
1212
1212
  }, null, 8, ["modelValue", "label", "placeholder"]),
1213
- a(Te) ? x("", !0) : (E(), R(Ne, {
1213
+ l(Te) ? x("", !0) : (E(), R(Ne, {
1214
1214
  key: 1,
1215
- modelValue: a($),
1215
+ modelValue: l($),
1216
1216
  "onUpdate:modelValue": P[6] || (P[6] = (S) => N($) ? $.value = S : null),
1217
1217
  type: "checkbox",
1218
1218
  name: "newsletter",
1219
- label: a(e)("booking.reservation.newsletterSignUp")
1219
+ label: l(e)("booking.reservation.newsletterSignUp")
1220
1220
  }, null, 8, ["modelValue", "label"])),
1221
- a(Wt) ? x("", !0) : (E(), R(ee, {
1221
+ l(Wt) ? x("", !0) : (E(), R(ee, {
1222
1222
  key: 2,
1223
- modelValue: a(b),
1223
+ modelValue: l(b),
1224
1224
  "onUpdate:modelValue": P[7] || (P[7] = (S) => N(b) ? b.value = S : null),
1225
1225
  type: "text",
1226
1226
  name: "firm",
1227
1227
  autocomplete: "firm",
1228
- label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
1228
+ label: `${l(e)("booking.reservation.companyName")} (${l(e)("booking.reservation.optional")})`,
1229
1229
  icon: "id-card",
1230
- placeholder: a(e)("booking.reservation.companyNamePlaceholder")
1230
+ placeholder: l(e)("booking.reservation.companyNamePlaceholder")
1231
1231
  }, null, 8, ["modelValue", "label", "placeholder"])),
1232
1232
  C(xo, {
1233
- modelValue: a(c),
1234
- "onUpdate:modelValue": P[8] || (P[8] = (S) => N(c) ? c.value = S : null),
1233
+ modelValue: l(d),
1234
+ "onUpdate:modelValue": P[8] || (P[8] = (S) => N(d) ? d.value = S : null),
1235
1235
  icon: "phone-office",
1236
- label: a(e)("booking.reservation.phone"),
1237
- placeholder: a(e)("booking.reservation.phonePlaceholder"),
1236
+ label: l(e)("booking.reservation.phone"),
1237
+ placeholder: l(e)("booking.reservation.phonePlaceholder"),
1238
1238
  required: ""
1239
1239
  }, null, 8, ["modelValue", "label", "placeholder"]),
1240
1240
  C(an, {
1241
- modelValue: a(r),
1241
+ modelValue: l(r),
1242
1242
  "onUpdate:modelValue": P[9] || (P[9] = (S) => N(r) ? r.value = S : null),
1243
- label: a(e)("booking.reservation.country"),
1244
- placeholder: a(e)("booking.reservation.countryPlaceholder"),
1245
- options: a(n),
1243
+ label: l(e)("booking.reservation.country"),
1244
+ placeholder: l(e)("booking.reservation.countryPlaceholder"),
1245
+ options: l(n),
1246
1246
  required: ""
1247
1247
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1248
1248
  C(ee, {
1249
- modelValue: a(i),
1249
+ modelValue: l(i),
1250
1250
  "onUpdate:modelValue": P[10] || (P[10] = (S) => N(i) ? i.value = S : null),
1251
1251
  type: "textarea",
1252
1252
  name: "address",
1253
1253
  autocomplete: "street-address",
1254
- label: a(e)("booking.reservation.streetAddress"),
1254
+ label: l(e)("booking.reservation.streetAddress"),
1255
1255
  icon: "map-marked",
1256
- placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
1256
+ placeholder: l(e)("booking.reservation.streetAddressPlaceholder"),
1257
1257
  required: ""
1258
1258
  }, null, 8, ["modelValue", "label", "placeholder"]),
1259
1259
  y("ul", ei, [
1260
1260
  y("li", null, [
1261
1261
  C(ee, {
1262
- modelValue: a(k),
1262
+ modelValue: l(k),
1263
1263
  "onUpdate:modelValue": P[11] || (P[11] = (S) => N(k) ? k.value = S : null),
1264
1264
  type: "text",
1265
1265
  name: "postal",
1266
1266
  autocomplete: "postal-code",
1267
- label: a(e)("booking.reservation.postal"),
1267
+ label: l(e)("booking.reservation.postal"),
1268
1268
  icon: "mailbox",
1269
- placeholder: a(e)("booking.reservation.postalPlaceholder"),
1269
+ placeholder: l(e)("booking.reservation.postalPlaceholder"),
1270
1270
  required: ""
1271
1271
  }, null, 8, ["modelValue", "label", "placeholder"])
1272
1272
  ]),
1273
1273
  y("li", null, [
1274
1274
  C(ee, {
1275
- modelValue: a(g),
1276
- "onUpdate:modelValue": P[12] || (P[12] = (S) => N(g) ? g.value = S : null),
1275
+ modelValue: l(m),
1276
+ "onUpdate:modelValue": P[12] || (P[12] = (S) => N(m) ? m.value = S : null),
1277
1277
  type: "text",
1278
1278
  name: "city",
1279
1279
  autocomplete: "address-level2",
1280
- label: a(e)("booking.reservation.city"),
1280
+ label: l(e)("booking.reservation.city"),
1281
1281
  icon: "city",
1282
- placeholder: a(e)("booking.reservation.cityPlaceholder"),
1282
+ placeholder: l(e)("booking.reservation.cityPlaceholder"),
1283
1283
  required: ""
1284
1284
  }, null, 8, ["modelValue", "label", "placeholder"])
1285
1285
  ])
1286
1286
  ]),
1287
1287
  C(ee, {
1288
- modelValue: a(v),
1288
+ modelValue: l(v),
1289
1289
  "onUpdate:modelValue": P[13] || (P[13] = (S) => N(v) ? v.value = S : null),
1290
1290
  type: "textarea",
1291
- label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
1291
+ label: `${l(e)("booking.reservation.remark")} (${l(e)("booking.reservation.optional")})`,
1292
1292
  icon: "info-circle",
1293
- placeholder: a(e)("booking.reservation.remarkPlaceholder")
1293
+ placeholder: l(e)("booking.reservation.remarkPlaceholder")
1294
1294
  }, null, 8, ["modelValue", "label", "placeholder"]),
1295
1295
  C(ee, {
1296
- modelValue: a(T),
1296
+ modelValue: l(T),
1297
1297
  "onUpdate:modelValue": P[14] || (P[14] = (S) => N(T) ? T.value = S : null),
1298
1298
  type: "textarea",
1299
- label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
1299
+ label: `${l(e)("booking.reservation.allergies")} (${l(e)("booking.reservation.optional")})`,
1300
1300
  icon: "allergies",
1301
- placeholder: a(e)("booking.reservation.allergiesPlaceholder")
1301
+ placeholder: l(e)("booking.reservation.allergiesPlaceholder")
1302
1302
  }, null, 8, ["modelValue", "label", "placeholder"]),
1303
- a(Bt) ? x("", !0) : (E(), R(dn, {
1303
+ l(Bt) ? x("", !0) : (E(), R(dn, {
1304
1304
  key: 3,
1305
- modelValue: a(u),
1306
- "onUpdate:modelValue": P[15] || (P[15] = (S) => N(u) ? u.value = S : null),
1307
- label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
1305
+ modelValue: l(c),
1306
+ "onUpdate:modelValue": P[15] || (P[15] = (S) => N(c) ? c.value = S : null),
1307
+ label: `${l(e)("booking.reservation.purposeOfStay")} (${l(e)("booking.reservation.optional")})`,
1308
1308
  name: "travelingFor",
1309
1309
  checkboxes: Kt.value
1310
1310
  }, null, 8, ["modelValue", "label", "checkboxes"]))
@@ -1313,9 +1313,9 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1313
1313
  navigation: w(() => [
1314
1314
  y("div", null, [
1315
1315
  C(le, {
1316
- label: a(Nt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1317
- disabled: !a(h),
1318
- "is-loading": a(s),
1316
+ label: l(Nt) ? l(e)("booking.reservation.nextButton") : l(e)("general.confirmReservation"),
1317
+ disabled: !l(h),
1318
+ "is-loading": l(s),
1319
1319
  "full-width": "",
1320
1320
  onClickEvent: (S) => eo(G)
1321
1321
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
@@ -1323,7 +1323,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1323
1323
  class: "konnectio-abort-reservation link",
1324
1324
  onClick: et((S) => Je(M), ["prevent"])
1325
1325
  }, [
1326
- y("span", null, V(a(e)("general.goAStepBack")), 1)
1326
+ y("span", null, V(l(e)("general.goAStepBack")), 1)
1327
1327
  ], 8, ti)
1328
1328
  ])
1329
1329
  ]),
@@ -1335,7 +1335,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1335
1335
  ]),
1336
1336
  confirmation: w(() => [
1337
1337
  C($o, {
1338
- message: a(e)("booking.confirmation.thankYou")
1338
+ message: l(e)("booking.confirmation.thankYou")
1339
1339
  }, null, 8, ["message"])
1340
1340
  ]),
1341
1341
  _: 1
@@ -1384,9 +1384,9 @@ function je() {
1384
1384
  var s = this._events && this._events[n];
1385
1385
  if (!(!s || !s.length)) {
1386
1386
  s = s.slice(0), p = p || [];
1387
- for (var h = this._onceEvents && this._onceEvents[n], u = 0; u < s.length; u++) {
1388
- var d = s[u], l = h && h[d];
1389
- l && (this.off(n, d), delete h[d]), d.apply(this, p);
1387
+ for (var h = this._onceEvents && this._onceEvents[n], c = 0; c < s.length; c++) {
1388
+ var a = s[c], u = h && h[a];
1389
+ u && (this.off(n, a), delete h[a]), a.apply(this, p);
1390
1390
  }
1391
1391
  return this;
1392
1392
  }
@@ -1408,14 +1408,14 @@ function Ye() {
1408
1408
  (function(e, t) {
1409
1409
  o.exports ? o.exports = t() : e.getSize = t();
1410
1410
  })(window, function() {
1411
- function t(c) {
1412
- var b = parseFloat(c), k = c.indexOf("%") == -1 && !isNaN(b);
1411
+ function t(d) {
1412
+ var b = parseFloat(d), k = d.indexOf("%") == -1 && !isNaN(b);
1413
1413
  return k && b;
1414
1414
  }
1415
1415
  function n() {
1416
1416
  }
1417
- var p = typeof console > "u" ? n : function(c) {
1418
- console.error(c);
1417
+ var p = typeof console > "u" ? n : function(d) {
1418
+ console.error(d);
1419
1419
  }, s = [
1420
1420
  "paddingLeft",
1421
1421
  "paddingRight",
@@ -1430,8 +1430,8 @@ function Ye() {
1430
1430
  "borderTopWidth",
1431
1431
  "borderBottomWidth"
1432
1432
  ], h = s.length;
1433
- function u() {
1434
- for (var c = {
1433
+ function c() {
1434
+ for (var d = {
1435
1435
  width: 0,
1436
1436
  height: 0,
1437
1437
  innerWidth: 0,
@@ -1440,50 +1440,50 @@ function Ye() {
1440
1440
  outerHeight: 0
1441
1441
  }, b = 0; b < h; b++) {
1442
1442
  var k = s[b];
1443
- c[k] = 0;
1443
+ d[k] = 0;
1444
1444
  }
1445
- return c;
1445
+ return d;
1446
1446
  }
1447
- function d(c) {
1448
- var b = getComputedStyle(c);
1447
+ function a(d) {
1448
+ var b = getComputedStyle(d);
1449
1449
  return b || p("Style returned " + b + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), b;
1450
1450
  }
1451
- var l = !1, f;
1452
- function m() {
1453
- if (!l) {
1454
- l = !0;
1455
- var c = document.createElement("div");
1456
- c.style.width = "200px", c.style.padding = "1px 2px 3px 4px", c.style.borderStyle = "solid", c.style.borderWidth = "1px 2px 3px 4px", c.style.boxSizing = "border-box";
1451
+ var u = !1, f;
1452
+ function g() {
1453
+ if (!u) {
1454
+ u = !0;
1455
+ var d = document.createElement("div");
1456
+ d.style.width = "200px", d.style.padding = "1px 2px 3px 4px", d.style.borderStyle = "solid", d.style.borderWidth = "1px 2px 3px 4px", d.style.boxSizing = "border-box";
1457
1457
  var b = document.body || document.documentElement;
1458
- b.appendChild(c);
1459
- var k = d(c);
1460
- f = Math.round(t(k.width)) == 200, _.isBoxSizeOuter = f, b.removeChild(c);
1458
+ b.appendChild(d);
1459
+ var k = a(d);
1460
+ f = Math.round(t(k.width)) == 200, _.isBoxSizeOuter = f, b.removeChild(d);
1461
1461
  }
1462
1462
  }
1463
- function _(c) {
1464
- if (m(), typeof c == "string" && (c = document.querySelector(c)), !(!c || typeof c != "object" || !c.nodeType)) {
1465
- var b = d(c);
1463
+ function _(d) {
1464
+ if (g(), typeof d == "string" && (d = document.querySelector(d)), !(!d || typeof d != "object" || !d.nodeType)) {
1465
+ var b = a(d);
1466
1466
  if (b.display == "none")
1467
- return u();
1467
+ return c();
1468
1468
  var k = {};
1469
- k.width = c.offsetWidth, k.height = c.offsetHeight;
1470
- for (var g = k.isBorderBox = b.boxSizing == "border-box", i = 0; i < h; i++) {
1469
+ k.width = d.offsetWidth, k.height = d.offsetHeight;
1470
+ for (var m = k.isBorderBox = b.boxSizing == "border-box", i = 0; i < h; i++) {
1471
1471
  var r = s[i], v = b[r], T = parseFloat(v);
1472
1472
  k[r] = isNaN(T) ? 0 : T;
1473
1473
  }
1474
- var $ = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, O = k.marginLeft + k.marginRight, A = k.marginTop + k.marginBottom, D = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = g && f, re = t(b.width);
1474
+ var $ = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, O = k.marginLeft + k.marginRight, H = k.marginTop + k.marginBottom, D = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = m && f, re = t(b.width);
1475
1475
  re !== !1 && (k.width = re + // add padding and border unless it's already including it
1476
1476
  (X ? 0 : $ + D));
1477
1477
  var U = t(b.height);
1478
1478
  return U !== !1 && (k.height = U + // add padding and border unless it's already including it
1479
- (X ? 0 : L + W)), k.innerWidth = k.width - ($ + D), k.innerHeight = k.height - (L + W), k.outerWidth = k.width + O, k.outerHeight = k.height + A, k;
1479
+ (X ? 0 : L + W)), k.innerWidth = k.width - ($ + D), k.innerHeight = k.height - (L + W), k.outerWidth = k.width + O, k.outerHeight = k.height + H, k;
1480
1480
  }
1481
1481
  }
1482
1482
  return _;
1483
1483
  });
1484
1484
  }(Oe)), Oe.exports;
1485
1485
  }
1486
- var He = { exports: {} }, Ae = { exports: {} }, it;
1486
+ var Ae = { exports: {} }, He = { exports: {} }, it;
1487
1487
  function ni() {
1488
1488
  return it || (it = 1, function(o) {
1489
1489
  (function(e, t) {
@@ -1496,16 +1496,16 @@ function ni() {
1496
1496
  if (n.matchesSelector)
1497
1497
  return "matchesSelector";
1498
1498
  for (var p = ["webkit", "moz", "ms", "o"], s = 0; s < p.length; s++) {
1499
- var h = p[s], u = h + "MatchesSelector";
1500
- if (n[u])
1501
- return u;
1499
+ var h = p[s], c = h + "MatchesSelector";
1500
+ if (n[c])
1501
+ return c;
1502
1502
  }
1503
1503
  }();
1504
1504
  return function(p, s) {
1505
1505
  return p[t](s);
1506
1506
  };
1507
1507
  });
1508
- }(Ae)), Ae.exports;
1508
+ }(He)), He.exports;
1509
1509
  }
1510
1510
  var rt;
1511
1511
  function ii() {
@@ -1520,85 +1520,85 @@ function ii() {
1520
1520
  );
1521
1521
  })(window, function(t, n) {
1522
1522
  var p = {};
1523
- p.extend = function(u, d) {
1524
- for (var l in d)
1525
- u[l] = d[l];
1526
- return u;
1527
- }, p.modulo = function(u, d) {
1528
- return (u % d + d) % d;
1523
+ p.extend = function(c, a) {
1524
+ for (var u in a)
1525
+ c[u] = a[u];
1526
+ return c;
1527
+ }, p.modulo = function(c, a) {
1528
+ return (c % a + a) % a;
1529
1529
  };
1530
1530
  var s = Array.prototype.slice;
1531
- p.makeArray = function(u) {
1532
- if (Array.isArray(u))
1533
- return u;
1534
- if (u == null)
1531
+ p.makeArray = function(c) {
1532
+ if (Array.isArray(c))
1533
+ return c;
1534
+ if (c == null)
1535
1535
  return [];
1536
- var d = typeof u == "object" && typeof u.length == "number";
1537
- return d ? s.call(u) : [u];
1538
- }, p.removeFrom = function(u, d) {
1539
- var l = u.indexOf(d);
1540
- l != -1 && u.splice(l, 1);
1541
- }, p.getParent = function(u, d) {
1542
- for (; u.parentNode && u != document.body; )
1543
- if (u = u.parentNode, n(u, d))
1544
- return u;
1545
- }, p.getQueryElement = function(u) {
1546
- return typeof u == "string" ? document.querySelector(u) : u;
1547
- }, p.handleEvent = function(u) {
1548
- var d = "on" + u.type;
1549
- this[d] && this[d](u);
1550
- }, p.filterFindElements = function(u, d) {
1551
- u = p.makeArray(u);
1552
- var l = [];
1553
- return u.forEach(function(f) {
1536
+ var a = typeof c == "object" && typeof c.length == "number";
1537
+ return a ? s.call(c) : [c];
1538
+ }, p.removeFrom = function(c, a) {
1539
+ var u = c.indexOf(a);
1540
+ u != -1 && c.splice(u, 1);
1541
+ }, p.getParent = function(c, a) {
1542
+ for (; c.parentNode && c != document.body; )
1543
+ if (c = c.parentNode, n(c, a))
1544
+ return c;
1545
+ }, p.getQueryElement = function(c) {
1546
+ return typeof c == "string" ? document.querySelector(c) : c;
1547
+ }, p.handleEvent = function(c) {
1548
+ var a = "on" + c.type;
1549
+ this[a] && this[a](c);
1550
+ }, p.filterFindElements = function(c, a) {
1551
+ c = p.makeArray(c);
1552
+ var u = [];
1553
+ return c.forEach(function(f) {
1554
1554
  if (f instanceof HTMLElement) {
1555
- if (!d) {
1556
- l.push(f);
1555
+ if (!a) {
1556
+ u.push(f);
1557
1557
  return;
1558
1558
  }
1559
- n(f, d) && l.push(f);
1560
- for (var m = f.querySelectorAll(d), _ = 0; _ < m.length; _++)
1561
- l.push(m[_]);
1559
+ n(f, a) && u.push(f);
1560
+ for (var g = f.querySelectorAll(a), _ = 0; _ < g.length; _++)
1561
+ u.push(g[_]);
1562
1562
  }
1563
- }), l;
1564
- }, p.debounceMethod = function(u, d, l) {
1565
- l = l || 100;
1566
- var f = u.prototype[d], m = d + "Timeout";
1567
- u.prototype[d] = function() {
1568
- var _ = this[m];
1563
+ }), u;
1564
+ }, p.debounceMethod = function(c, a, u) {
1565
+ u = u || 100;
1566
+ var f = c.prototype[a], g = a + "Timeout";
1567
+ c.prototype[a] = function() {
1568
+ var _ = this[g];
1569
1569
  clearTimeout(_);
1570
- var c = arguments, b = this;
1571
- this[m] = setTimeout(function() {
1572
- f.apply(b, c), delete b[m];
1573
- }, l);
1570
+ var d = arguments, b = this;
1571
+ this[g] = setTimeout(function() {
1572
+ f.apply(b, d), delete b[g];
1573
+ }, u);
1574
1574
  };
1575
- }, p.docReady = function(u) {
1576
- var d = document.readyState;
1577
- d == "complete" || d == "interactive" ? setTimeout(u) : document.addEventListener("DOMContentLoaded", u);
1578
- }, p.toDashed = function(u) {
1579
- return u.replace(/(.)([A-Z])/g, function(d, l, f) {
1580
- return l + "-" + f;
1575
+ }, p.docReady = function(c) {
1576
+ var a = document.readyState;
1577
+ a == "complete" || a == "interactive" ? setTimeout(c) : document.addEventListener("DOMContentLoaded", c);
1578
+ }, p.toDashed = function(c) {
1579
+ return c.replace(/(.)([A-Z])/g, function(a, u, f) {
1580
+ return u + "-" + f;
1581
1581
  }).toLowerCase();
1582
1582
  };
1583
1583
  var h = t.console;
1584
- return p.htmlInit = function(u, d) {
1584
+ return p.htmlInit = function(c, a) {
1585
1585
  p.docReady(function() {
1586
- var l = p.toDashed(d), f = "data-" + l, m = document.querySelectorAll("[" + f + "]"), _ = document.querySelectorAll(".js-" + l), c = p.makeArray(m).concat(p.makeArray(_)), b = f + "-options", k = t.jQuery;
1587
- c.forEach(function(g) {
1588
- var i = g.getAttribute(f) || g.getAttribute(b), r;
1586
+ var u = p.toDashed(a), f = "data-" + u, g = document.querySelectorAll("[" + f + "]"), _ = document.querySelectorAll(".js-" + u), d = p.makeArray(g).concat(p.makeArray(_)), b = f + "-options", k = t.jQuery;
1587
+ d.forEach(function(m) {
1588
+ var i = m.getAttribute(f) || m.getAttribute(b), r;
1589
1589
  try {
1590
1590
  r = i && JSON.parse(i);
1591
1591
  } catch (T) {
1592
- h && h.error("Error parsing " + f + " on " + g.className + ": " + T);
1592
+ h && h.error("Error parsing " + f + " on " + m.className + ": " + T);
1593
1593
  return;
1594
1594
  }
1595
- var v = new u(g, r);
1596
- k && k.data(g, d, v);
1595
+ var v = new c(m, r);
1596
+ k && k.data(m, a, v);
1597
1597
  });
1598
1598
  });
1599
1599
  }, p;
1600
1600
  });
1601
- }(He)), He.exports;
1601
+ }(Ae)), Ae.exports;
1602
1602
  }
1603
1603
  var De = { exports: {} }, st;
1604
1604
  function ri() {
@@ -1612,29 +1612,29 @@ function ri() {
1612
1612
  e.getSize
1613
1613
  ));
1614
1614
  })(window, function(t, n) {
1615
- function p(g) {
1616
- for (var i in g)
1615
+ function p(m) {
1616
+ for (var i in m)
1617
1617
  return !1;
1618
1618
  return i = null, !0;
1619
1619
  }
1620
- var s = document.documentElement.style, h = typeof s.transition == "string" ? "transition" : "WebkitTransition", u = typeof s.transform == "string" ? "transform" : "WebkitTransform", d = {
1620
+ var s = document.documentElement.style, h = typeof s.transition == "string" ? "transition" : "WebkitTransition", c = typeof s.transform == "string" ? "transform" : "WebkitTransform", a = {
1621
1621
  WebkitTransition: "webkitTransitionEnd",
1622
1622
  transition: "transitionend"
1623
- }[h], l = {
1624
- transform: u,
1623
+ }[h], u = {
1624
+ transform: c,
1625
1625
  transition: h,
1626
1626
  transitionDuration: h + "Duration",
1627
1627
  transitionProperty: h + "Property",
1628
1628
  transitionDelay: h + "Delay"
1629
1629
  };
1630
- function f(g, i) {
1631
- g && (this.element = g, this.layout = i, this.position = {
1630
+ function f(m, i) {
1631
+ m && (this.element = m, this.layout = i, this.position = {
1632
1632
  x: 0,
1633
1633
  y: 0
1634
1634
  }, this._create());
1635
1635
  }
1636
- var m = f.prototype = Object.create(t.prototype);
1637
- m.constructor = f, m._create = function() {
1636
+ var g = f.prototype = Object.create(t.prototype);
1637
+ g.constructor = f, g._create = function() {
1638
1638
  this._transn = {
1639
1639
  ingProperties: {},
1640
1640
  clean: {},
@@ -1642,39 +1642,39 @@ function ri() {
1642
1642
  }, this.css({
1643
1643
  position: "absolute"
1644
1644
  });
1645
- }, m.handleEvent = function(g) {
1646
- var i = "on" + g.type;
1647
- this[i] && this[i](g);
1648
- }, m.getSize = function() {
1645
+ }, g.handleEvent = function(m) {
1646
+ var i = "on" + m.type;
1647
+ this[i] && this[i](m);
1648
+ }, g.getSize = function() {
1649
1649
  this.size = n(this.element);
1650
- }, m.css = function(g) {
1650
+ }, g.css = function(m) {
1651
1651
  var i = this.element.style;
1652
- for (var r in g) {
1653
- var v = l[r] || r;
1654
- i[v] = g[r];
1652
+ for (var r in m) {
1653
+ var v = u[r] || r;
1654
+ i[v] = m[r];
1655
1655
  }
1656
- }, m.getPosition = function() {
1657
- var g = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), v = g[i ? "left" : "right"], T = g[r ? "top" : "bottom"], $ = parseFloat(v), L = parseFloat(T), O = this.layout.size;
1656
+ }, g.getPosition = function() {
1657
+ var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[r ? "top" : "bottom"], $ = parseFloat(v), L = parseFloat(T), O = this.layout.size;
1658
1658
  v.indexOf("%") != -1 && ($ = $ / 100 * O.width), T.indexOf("%") != -1 && (L = L / 100 * O.height), $ = isNaN($) ? 0 : $, L = isNaN(L) ? 0 : L, $ -= i ? O.paddingLeft : O.paddingRight, L -= r ? O.paddingTop : O.paddingBottom, this.position.x = $, this.position.y = L;
1659
- }, m.layoutPosition = function() {
1660
- var g = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left", O = this.position.x + g[T];
1659
+ }, g.layoutPosition = function() {
1660
+ var m = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left", O = this.position.x + m[T];
1661
1661
  i[$] = this.getXValue(O), i[L] = "";
1662
- var A = v ? "paddingTop" : "paddingBottom", D = v ? "top" : "bottom", W = v ? "bottom" : "top", X = this.position.y + g[A];
1662
+ var H = v ? "paddingTop" : "paddingBottom", D = v ? "top" : "bottom", W = v ? "bottom" : "top", X = this.position.y + m[H];
1663
1663
  i[D] = this.getYValue(X), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1664
- }, m.getXValue = function(g) {
1664
+ }, g.getXValue = function(m) {
1665
1665
  var i = this.layout._getOption("horizontal");
1666
- return this.layout.options.percentPosition && !i ? g / this.layout.size.width * 100 + "%" : g + "px";
1667
- }, m.getYValue = function(g) {
1666
+ return this.layout.options.percentPosition && !i ? m / this.layout.size.width * 100 + "%" : m + "px";
1667
+ }, g.getYValue = function(m) {
1668
1668
  var i = this.layout._getOption("horizontal");
1669
- return this.layout.options.percentPosition && i ? g / this.layout.size.height * 100 + "%" : g + "px";
1670
- }, m._transitionTo = function(g, i) {
1669
+ return this.layout.options.percentPosition && i ? m / this.layout.size.height * 100 + "%" : m + "px";
1670
+ }, g._transitionTo = function(m, i) {
1671
1671
  this.getPosition();
1672
- var r = this.position.x, v = this.position.y, T = g == this.position.x && i == this.position.y;
1673
- if (this.setPosition(g, i), T && !this.isTransitioning) {
1672
+ var r = this.position.x, v = this.position.y, T = m == this.position.x && i == this.position.y;
1673
+ if (this.setPosition(m, i), T && !this.isTransitioning) {
1674
1674
  this.layoutPosition();
1675
1675
  return;
1676
1676
  }
1677
- var $ = g - r, L = i - v, O = {};
1677
+ var $ = m - r, L = i - v, O = {};
1678
1678
  O.transform = this.getTranslate($, L), this.transition({
1679
1679
  to: O,
1680
1680
  onTransitionEnd: {
@@ -1682,66 +1682,66 @@ function ri() {
1682
1682
  },
1683
1683
  isCleaning: !0
1684
1684
  });
1685
- }, m.getTranslate = function(g, i) {
1685
+ }, g.getTranslate = function(m, i) {
1686
1686
  var r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop");
1687
- return g = r ? g : -g, i = v ? i : -i, "translate3d(" + g + "px, " + i + "px, 0)";
1688
- }, m.goTo = function(g, i) {
1689
- this.setPosition(g, i), this.layoutPosition();
1690
- }, m.moveTo = m._transitionTo, m.setPosition = function(g, i) {
1691
- this.position.x = parseFloat(g), this.position.y = parseFloat(i);
1692
- }, m._nonTransition = function(g) {
1693
- this.css(g.to), g.isCleaning && this._removeStyles(g.to);
1694
- for (var i in g.onTransitionEnd)
1695
- g.onTransitionEnd[i].call(this);
1696
- }, m.transition = function(g) {
1687
+ return m = r ? m : -m, i = v ? i : -i, "translate3d(" + m + "px, " + i + "px, 0)";
1688
+ }, g.goTo = function(m, i) {
1689
+ this.setPosition(m, i), this.layoutPosition();
1690
+ }, g.moveTo = g._transitionTo, g.setPosition = function(m, i) {
1691
+ this.position.x = parseFloat(m), this.position.y = parseFloat(i);
1692
+ }, g._nonTransition = function(m) {
1693
+ this.css(m.to), m.isCleaning && this._removeStyles(m.to);
1694
+ for (var i in m.onTransitionEnd)
1695
+ m.onTransitionEnd[i].call(this);
1696
+ }, g.transition = function(m) {
1697
1697
  if (!parseFloat(this.layout.options.transitionDuration)) {
1698
- this._nonTransition(g);
1698
+ this._nonTransition(m);
1699
1699
  return;
1700
1700
  }
1701
1701
  var i = this._transn;
1702
- for (var r in g.onTransitionEnd)
1703
- i.onEnd[r] = g.onTransitionEnd[r];
1704
- for (r in g.to)
1705
- i.ingProperties[r] = !0, g.isCleaning && (i.clean[r] = !0);
1706
- g.from && (this.css(g.from), this.element.offsetHeight), this.enableTransition(g.to), this.css(g.to), this.isTransitioning = !0;
1702
+ for (var r in m.onTransitionEnd)
1703
+ i.onEnd[r] = m.onTransitionEnd[r];
1704
+ for (r in m.to)
1705
+ i.ingProperties[r] = !0, m.isCleaning && (i.clean[r] = !0);
1706
+ m.from && (this.css(m.from), this.element.offsetHeight), this.enableTransition(m.to), this.css(m.to), this.isTransitioning = !0;
1707
1707
  };
1708
- function _(g) {
1709
- return g.replace(/([A-Z])/g, function(i) {
1708
+ function _(m) {
1709
+ return m.replace(/([A-Z])/g, function(i) {
1710
1710
  return "-" + i.toLowerCase();
1711
1711
  });
1712
1712
  }
1713
- var c = "opacity," + _(u);
1714
- m.enableTransition = function() {
1713
+ var d = "opacity," + _(c);
1714
+ g.enableTransition = function() {
1715
1715
  if (!this.isTransitioning) {
1716
- var g = this.layout.options.transitionDuration;
1717
- g = typeof g == "number" ? g + "ms" : g, this.css({
1718
- transitionProperty: c,
1719
- transitionDuration: g,
1716
+ var m = this.layout.options.transitionDuration;
1717
+ m = typeof m == "number" ? m + "ms" : m, this.css({
1718
+ transitionProperty: d,
1719
+ transitionDuration: m,
1720
1720
  transitionDelay: this.staggerDelay || 0
1721
- }), this.element.addEventListener(d, this, !1);
1721
+ }), this.element.addEventListener(a, this, !1);
1722
1722
  }
1723
- }, m.onwebkitTransitionEnd = function(g) {
1724
- this.ontransitionend(g);
1725
- }, m.onotransitionend = function(g) {
1726
- this.ontransitionend(g);
1723
+ }, g.onwebkitTransitionEnd = function(m) {
1724
+ this.ontransitionend(m);
1725
+ }, g.onotransitionend = function(m) {
1726
+ this.ontransitionend(m);
1727
1727
  };
1728
1728
  var b = {
1729
1729
  "-webkit-transform": "transform"
1730
1730
  };
1731
- m.ontransitionend = function(g) {
1732
- if (g.target === this.element) {
1733
- var i = this._transn, r = b[g.propertyName] || g.propertyName;
1734
- if (delete i.ingProperties[r], p(i.ingProperties) && this.disableTransition(), r in i.clean && (this.element.style[g.propertyName] = "", delete i.clean[r]), r in i.onEnd) {
1731
+ g.ontransitionend = function(m) {
1732
+ if (m.target === this.element) {
1733
+ var i = this._transn, r = b[m.propertyName] || m.propertyName;
1734
+ if (delete i.ingProperties[r], p(i.ingProperties) && this.disableTransition(), r in i.clean && (this.element.style[m.propertyName] = "", delete i.clean[r]), r in i.onEnd) {
1735
1735
  var v = i.onEnd[r];
1736
1736
  v.call(this), delete i.onEnd[r];
1737
1737
  }
1738
1738
  this.emitEvent("transitionEnd", [this]);
1739
1739
  }
1740
- }, m.disableTransition = function() {
1741
- this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
1742
- }, m._removeStyles = function(g) {
1740
+ }, g.disableTransition = function() {
1741
+ this.removeTransitionStyles(), this.element.removeEventListener(a, this, !1), this.isTransitioning = !1;
1742
+ }, g._removeStyles = function(m) {
1743
1743
  var i = {};
1744
- for (var r in g)
1744
+ for (var r in m)
1745
1745
  i[r] = "";
1746
1746
  this.css(i);
1747
1747
  };
@@ -1750,13 +1750,13 @@ function ri() {
1750
1750
  transitionDuration: "",
1751
1751
  transitionDelay: ""
1752
1752
  };
1753
- return m.removeTransitionStyles = function() {
1753
+ return g.removeTransitionStyles = function() {
1754
1754
  this.css(k);
1755
- }, m.stagger = function(g) {
1756
- g = isNaN(g) ? 0 : g, this.staggerDelay = g + "ms";
1757
- }, m.removeElem = function() {
1755
+ }, g.stagger = function(m) {
1756
+ m = isNaN(m) ? 0 : m, this.staggerDelay = m + "ms";
1757
+ }, g.removeElem = function() {
1758
1758
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
1759
- }, m.remove = function() {
1759
+ }, g.remove = function() {
1760
1760
  if (!h || !parseFloat(this.layout.options.transitionDuration)) {
1761
1761
  this.removeElem();
1762
1762
  return;
@@ -1764,36 +1764,36 @@ function ri() {
1764
1764
  this.once("transitionEnd", function() {
1765
1765
  this.removeElem();
1766
1766
  }), this.hide();
1767
- }, m.reveal = function() {
1767
+ }, g.reveal = function() {
1768
1768
  delete this.isHidden, this.css({ display: "" });
1769
- var g = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("visibleStyle");
1769
+ var m = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("visibleStyle");
1770
1770
  i[r] = this.onRevealTransitionEnd, this.transition({
1771
- from: g.hiddenStyle,
1772
- to: g.visibleStyle,
1771
+ from: m.hiddenStyle,
1772
+ to: m.visibleStyle,
1773
1773
  isCleaning: !0,
1774
1774
  onTransitionEnd: i
1775
1775
  });
1776
- }, m.onRevealTransitionEnd = function() {
1776
+ }, g.onRevealTransitionEnd = function() {
1777
1777
  this.isHidden || this.emitEvent("reveal");
1778
- }, m.getHideRevealTransitionEndProperty = function(g) {
1779
- var i = this.layout.options[g];
1778
+ }, g.getHideRevealTransitionEndProperty = function(m) {
1779
+ var i = this.layout.options[m];
1780
1780
  if (i.opacity)
1781
1781
  return "opacity";
1782
1782
  for (var r in i)
1783
1783
  return r;
1784
- }, m.hide = function() {
1784
+ }, g.hide = function() {
1785
1785
  this.isHidden = !0, this.css({ display: "" });
1786
- var g = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("hiddenStyle");
1786
+ var m = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("hiddenStyle");
1787
1787
  i[r] = this.onHideTransitionEnd, this.transition({
1788
- from: g.visibleStyle,
1789
- to: g.hiddenStyle,
1788
+ from: m.visibleStyle,
1789
+ to: m.hiddenStyle,
1790
1790
  // keep hidden stuff hidden
1791
1791
  isCleaning: !0,
1792
1792
  onTransitionEnd: i
1793
1793
  });
1794
- }, m.onHideTransitionEnd = function() {
1794
+ }, g.onHideTransitionEnd = function() {
1795
1795
  this.isHidden && (this.css({ display: "none" }), this.emitEvent("hide"));
1796
- }, m.destroy = function() {
1796
+ }, g.destroy = function() {
1797
1797
  this.css({
1798
1798
  position: "",
1799
1799
  left: "",
@@ -1830,17 +1830,17 @@ function si() {
1830
1830
  e.Outlayer.Item
1831
1831
  );
1832
1832
  })(window, function(t, n, p, s, h) {
1833
- var u = t.console, d = t.jQuery, l = function() {
1834
- }, f = 0, m = {};
1833
+ var c = t.console, a = t.jQuery, u = function() {
1834
+ }, f = 0, g = {};
1835
1835
  function _(i, r) {
1836
1836
  var v = s.getQueryElement(i);
1837
1837
  if (!v) {
1838
- u && u.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
1838
+ c && c.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
1839
1839
  return;
1840
1840
  }
1841
- this.element = v, d && (this.$element = d(this.element)), this.options = s.extend({}, this.constructor.defaults), this.option(r);
1841
+ this.element = v, a && (this.$element = a(this.element)), this.options = s.extend({}, this.constructor.defaults), this.option(r);
1842
1842
  var T = ++f;
1843
- this.element.outlayerGUID = T, m[T] = this, this._create();
1843
+ this.element.outlayerGUID = T, g[T] = this, this._create();
1844
1844
  var $ = this._getOption("initLayout");
1845
1845
  $ && this.layout();
1846
1846
  }
@@ -1864,10 +1864,10 @@ function si() {
1864
1864
  transform: "scale(1)"
1865
1865
  }
1866
1866
  };
1867
- var c = _.prototype;
1868
- s.extend(c, n.prototype), c.option = function(i) {
1867
+ var d = _.prototype;
1868
+ s.extend(d, n.prototype), d.option = function(i) {
1869
1869
  s.extend(this.options, i);
1870
- }, c._getOption = function(i) {
1870
+ }, d._getOption = function(i) {
1871
1871
  var r = this.constructor.compatOptions[i];
1872
1872
  return r && this.options[r] !== void 0 ? this.options[r] : this.options[i];
1873
1873
  }, _.compatOptions = {
@@ -1879,42 +1879,42 @@ function si() {
1879
1879
  originTop: "isOriginTop",
1880
1880
  resize: "isResizeBound",
1881
1881
  resizeContainer: "isResizingContainer"
1882
- }, c._create = function() {
1882
+ }, d._create = function() {
1883
1883
  this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), s.extend(this.element.style, this.options.containerStyle);
1884
1884
  var i = this._getOption("resize");
1885
1885
  i && this.bindResize();
1886
- }, c.reloadItems = function() {
1886
+ }, d.reloadItems = function() {
1887
1887
  this.items = this._itemize(this.element.children);
1888
- }, c._itemize = function(i) {
1888
+ }, d._itemize = function(i) {
1889
1889
  for (var r = this._filterFindItemElements(i), v = this.constructor.Item, T = [], $ = 0; $ < r.length; $++) {
1890
1890
  var L = r[$], O = new v(L, this);
1891
1891
  T.push(O);
1892
1892
  }
1893
1893
  return T;
1894
- }, c._filterFindItemElements = function(i) {
1894
+ }, d._filterFindItemElements = function(i) {
1895
1895
  return s.filterFindElements(i, this.options.itemSelector);
1896
- }, c.getItemElements = function() {
1896
+ }, d.getItemElements = function() {
1897
1897
  return this.items.map(function(i) {
1898
1898
  return i.element;
1899
1899
  });
1900
- }, c.layout = function() {
1900
+ }, d.layout = function() {
1901
1901
  this._resetLayout(), this._manageStamps();
1902
1902
  var i = this._getOption("layoutInstant"), r = i !== void 0 ? i : !this._isLayoutInited;
1903
1903
  this.layoutItems(this.items, r), this._isLayoutInited = !0;
1904
- }, c._init = c.layout, c._resetLayout = function() {
1904
+ }, d._init = d.layout, d._resetLayout = function() {
1905
1905
  this.getSize();
1906
- }, c.getSize = function() {
1906
+ }, d.getSize = function() {
1907
1907
  this.size = p(this.element);
1908
- }, c._getMeasurement = function(i, r) {
1908
+ }, d._getMeasurement = function(i, r) {
1909
1909
  var v = this.options[i], T;
1910
1910
  v ? (typeof v == "string" ? T = this.element.querySelector(v) : v instanceof HTMLElement && (T = v), this[i] = T ? p(T)[r] : v) : this[i] = 0;
1911
- }, c.layoutItems = function(i, r) {
1911
+ }, d.layoutItems = function(i, r) {
1912
1912
  i = this._getItemsForLayout(i), this._layoutItems(i, r), this._postLayout();
1913
- }, c._getItemsForLayout = function(i) {
1913
+ }, d._getItemsForLayout = function(i) {
1914
1914
  return i.filter(function(r) {
1915
1915
  return !r.isIgnored;
1916
1916
  });
1917
- }, c._layoutItems = function(i, r) {
1917
+ }, d._layoutItems = function(i, r) {
1918
1918
  if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
1919
1919
  var v = [];
1920
1920
  i.forEach(function(T) {
@@ -1922,38 +1922,38 @@ function si() {
1922
1922
  $.item = T, $.isInstant = r || T.isLayoutInstant, v.push($);
1923
1923
  }, this), this._processLayoutQueue(v);
1924
1924
  }
1925
- }, c._getItemLayoutPosition = function() {
1925
+ }, d._getItemLayoutPosition = function() {
1926
1926
  return {
1927
1927
  x: 0,
1928
1928
  y: 0
1929
1929
  };
1930
- }, c._processLayoutQueue = function(i) {
1930
+ }, d._processLayoutQueue = function(i) {
1931
1931
  this.updateStagger(), i.forEach(function(r, v) {
1932
1932
  this._positionItem(r.item, r.x, r.y, r.isInstant, v);
1933
1933
  }, this);
1934
- }, c.updateStagger = function() {
1934
+ }, d.updateStagger = function() {
1935
1935
  var i = this.options.stagger;
1936
1936
  if (i == null) {
1937
1937
  this.stagger = 0;
1938
1938
  return;
1939
1939
  }
1940
- return this.stagger = g(i), this.stagger;
1941
- }, c._positionItem = function(i, r, v, T, $) {
1940
+ return this.stagger = m(i), this.stagger;
1941
+ }, d._positionItem = function(i, r, v, T, $) {
1942
1942
  T ? i.goTo(r, v) : (i.stagger($ * this.stagger), i.moveTo(r, v));
1943
- }, c._postLayout = function() {
1943
+ }, d._postLayout = function() {
1944
1944
  this.resizeContainer();
1945
- }, c.resizeContainer = function() {
1945
+ }, d.resizeContainer = function() {
1946
1946
  var i = this._getOption("resizeContainer");
1947
1947
  if (i) {
1948
1948
  var r = this._getContainerSize();
1949
1949
  r && (this._setContainerMeasure(r.width, !0), this._setContainerMeasure(r.height, !1));
1950
1950
  }
1951
- }, c._getContainerSize = l, c._setContainerMeasure = function(i, r) {
1951
+ }, d._getContainerSize = u, d._setContainerMeasure = function(i, r) {
1952
1952
  if (i !== void 0) {
1953
1953
  var v = this.size;
1954
1954
  v.isBorderBox && (i += r ? v.paddingLeft + v.paddingRight + v.borderLeftWidth + v.borderRightWidth : v.paddingBottom + v.paddingTop + v.borderTopWidth + v.borderBottomWidth), i = Math.max(i, 0), this.element.style[r ? "width" : "height"] = i + "px";
1955
1955
  }
1956
- }, c._emitCompleteOnItems = function(i, r) {
1956
+ }, d._emitCompleteOnItems = function(i, r) {
1957
1957
  var v = this;
1958
1958
  function T() {
1959
1959
  v.dispatchEvent(i + "Complete", null, [r]);
@@ -1967,35 +1967,35 @@ function si() {
1967
1967
  function O() {
1968
1968
  L++, L == $ && T();
1969
1969
  }
1970
- r.forEach(function(A) {
1971
- A.once(i, O);
1970
+ r.forEach(function(H) {
1971
+ H.once(i, O);
1972
1972
  });
1973
- }, c.dispatchEvent = function(i, r, v) {
1973
+ }, d.dispatchEvent = function(i, r, v) {
1974
1974
  var T = r ? [r].concat(v) : v;
1975
- if (this.emitEvent(i, T), d)
1976
- if (this.$element = this.$element || d(this.element), r) {
1977
- var $ = d.Event(r);
1975
+ if (this.emitEvent(i, T), a)
1976
+ if (this.$element = this.$element || a(this.element), r) {
1977
+ var $ = a.Event(r);
1978
1978
  $.type = i, this.$element.trigger($, v);
1979
1979
  } else
1980
1980
  this.$element.trigger(i, v);
1981
- }, c.ignore = function(i) {
1981
+ }, d.ignore = function(i) {
1982
1982
  var r = this.getItem(i);
1983
1983
  r && (r.isIgnored = !0);
1984
- }, c.unignore = function(i) {
1984
+ }, d.unignore = function(i) {
1985
1985
  var r = this.getItem(i);
1986
1986
  r && delete r.isIgnored;
1987
- }, c.stamp = function(i) {
1987
+ }, d.stamp = function(i) {
1988
1988
  i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
1989
- }, c.unstamp = function(i) {
1989
+ }, d.unstamp = function(i) {
1990
1990
  i = this._find(i), i && i.forEach(function(r) {
1991
1991
  s.removeFrom(this.stamps, r), this.unignore(r);
1992
1992
  }, this);
1993
- }, c._find = function(i) {
1993
+ }, d._find = function(i) {
1994
1994
  if (i)
1995
1995
  return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = s.makeArray(i), i;
1996
- }, c._manageStamps = function() {
1996
+ }, d._manageStamps = function() {
1997
1997
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
1998
- }, c._getBoundingRect = function() {
1998
+ }, d._getBoundingRect = function() {
1999
1999
  var i = this.element.getBoundingClientRect(), r = this.size;
2000
2000
  this._boundingRect = {
2001
2001
  left: i.left + r.paddingLeft + r.borderLeftWidth,
@@ -2003,7 +2003,7 @@ function si() {
2003
2003
  right: i.right - (r.paddingRight + r.borderRightWidth),
2004
2004
  bottom: i.bottom - (r.paddingBottom + r.borderBottomWidth)
2005
2005
  };
2006
- }, c._manageStamp = l, c._getElementOffset = function(i) {
2006
+ }, d._manageStamp = u, d._getElementOffset = function(i) {
2007
2007
  var r = i.getBoundingClientRect(), v = this._boundingRect, T = p(i), $ = {
2008
2008
  left: r.left - v.left - T.marginLeft,
2009
2009
  top: r.top - v.top - T.marginTop,
@@ -2011,81 +2011,81 @@ function si() {
2011
2011
  bottom: v.bottom - r.bottom - T.marginBottom
2012
2012
  };
2013
2013
  return $;
2014
- }, c.handleEvent = s.handleEvent, c.bindResize = function() {
2014
+ }, d.handleEvent = s.handleEvent, d.bindResize = function() {
2015
2015
  t.addEventListener("resize", this), this.isResizeBound = !0;
2016
- }, c.unbindResize = function() {
2016
+ }, d.unbindResize = function() {
2017
2017
  t.removeEventListener("resize", this), this.isResizeBound = !1;
2018
- }, c.onresize = function() {
2018
+ }, d.onresize = function() {
2019
2019
  this.resize();
2020
- }, s.debounceMethod(_, "onresize", 100), c.resize = function() {
2020
+ }, s.debounceMethod(_, "onresize", 100), d.resize = function() {
2021
2021
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2022
- }, c.needsResizeLayout = function() {
2022
+ }, d.needsResizeLayout = function() {
2023
2023
  var i = p(this.element), r = this.size && i;
2024
2024
  return r && i.innerWidth !== this.size.innerWidth;
2025
- }, c.addItems = function(i) {
2025
+ }, d.addItems = function(i) {
2026
2026
  var r = this._itemize(i);
2027
2027
  return r.length && (this.items = this.items.concat(r)), r;
2028
- }, c.appended = function(i) {
2028
+ }, d.appended = function(i) {
2029
2029
  var r = this.addItems(i);
2030
2030
  r.length && (this.layoutItems(r, !0), this.reveal(r));
2031
- }, c.prepended = function(i) {
2031
+ }, d.prepended = function(i) {
2032
2032
  var r = this._itemize(i);
2033
2033
  if (r.length) {
2034
2034
  var v = this.items.slice(0);
2035
2035
  this.items = r.concat(v), this._resetLayout(), this._manageStamps(), this.layoutItems(r, !0), this.reveal(r), this.layoutItems(v);
2036
2036
  }
2037
- }, c.reveal = function(i) {
2037
+ }, d.reveal = function(i) {
2038
2038
  if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
2039
2039
  var r = this.updateStagger();
2040
2040
  i.forEach(function(v, T) {
2041
2041
  v.stagger(T * r), v.reveal();
2042
2042
  });
2043
2043
  }
2044
- }, c.hide = function(i) {
2044
+ }, d.hide = function(i) {
2045
2045
  if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
2046
2046
  var r = this.updateStagger();
2047
2047
  i.forEach(function(v, T) {
2048
2048
  v.stagger(T * r), v.hide();
2049
2049
  });
2050
2050
  }
2051
- }, c.revealItemElements = function(i) {
2051
+ }, d.revealItemElements = function(i) {
2052
2052
  var r = this.getItems(i);
2053
2053
  this.reveal(r);
2054
- }, c.hideItemElements = function(i) {
2054
+ }, d.hideItemElements = function(i) {
2055
2055
  var r = this.getItems(i);
2056
2056
  this.hide(r);
2057
- }, c.getItem = function(i) {
2057
+ }, d.getItem = function(i) {
2058
2058
  for (var r = 0; r < this.items.length; r++) {
2059
2059
  var v = this.items[r];
2060
2060
  if (v.element == i)
2061
2061
  return v;
2062
2062
  }
2063
- }, c.getItems = function(i) {
2063
+ }, d.getItems = function(i) {
2064
2064
  i = s.makeArray(i);
2065
2065
  var r = [];
2066
2066
  return i.forEach(function(v) {
2067
2067
  var T = this.getItem(v);
2068
2068
  T && r.push(T);
2069
2069
  }, this), r;
2070
- }, c.remove = function(i) {
2070
+ }, d.remove = function(i) {
2071
2071
  var r = this.getItems(i);
2072
2072
  this._emitCompleteOnItems("remove", r), !(!r || !r.length) && r.forEach(function(v) {
2073
2073
  v.remove(), s.removeFrom(this.items, v);
2074
2074
  }, this);
2075
- }, c.destroy = function() {
2075
+ }, d.destroy = function() {
2076
2076
  var i = this.element.style;
2077
2077
  i.height = "", i.position = "", i.width = "", this.items.forEach(function(v) {
2078
2078
  v.destroy();
2079
2079
  }), this.unbindResize();
2080
2080
  var r = this.element.outlayerGUID;
2081
- delete m[r], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
2081
+ delete g[r], delete this.element.outlayerGUID, a && a.removeData(this.element, this.constructor.namespace);
2082
2082
  }, _.data = function(i) {
2083
2083
  i = s.getQueryElement(i);
2084
2084
  var r = i && i.outlayerGUID;
2085
- return r && m[r];
2085
+ return r && g[r];
2086
2086
  }, _.create = function(i, r) {
2087
2087
  var v = b(_);
2088
- return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, r), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), s.htmlInit(v, i), d && d.bridget && d.bridget(i, v), v;
2088
+ return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, r), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), s.htmlInit(v, i), a && a.bridget && a.bridget(i, v), v;
2089
2089
  };
2090
2090
  function b(i) {
2091
2091
  function r() {
@@ -2097,7 +2097,7 @@ function si() {
2097
2097
  ms: 1,
2098
2098
  s: 1e3
2099
2099
  };
2100
- function g(i) {
2100
+ function m(i) {
2101
2101
  if (typeof i == "number")
2102
2102
  return i;
2103
2103
  var r = i.match(/(^\d*\.?\d*)(\w*)/), v = r && r[1], T = r && r[2];
@@ -2138,57 +2138,57 @@ function si() {
2138
2138
  this.maxY = 0, this.horizontalColIndex = 0;
2139
2139
  }, s.measureColumns = function() {
2140
2140
  if (this.getContainerWidth(), !this.columnWidth) {
2141
- var h = this.items[0], u = h && h.element;
2142
- this.columnWidth = u && n(u).outerWidth || // if first elem has no width, default to size of container
2141
+ var h = this.items[0], c = h && h.element;
2142
+ this.columnWidth = c && n(c).outerWidth || // if first elem has no width, default to size of container
2143
2143
  this.containerWidth;
2144
2144
  }
2145
- var d = this.columnWidth += this.gutter, l = this.containerWidth + this.gutter, f = l / d, m = d - l % d, _ = m && m < 1 ? "round" : "floor";
2145
+ var a = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, f = u / a, g = a - u % a, _ = g && g < 1 ? "round" : "floor";
2146
2146
  f = Math[_](f), this.cols = Math.max(f, 1);
2147
2147
  }, s.getContainerWidth = function() {
2148
- var h = this._getOption("fitWidth"), u = h ? this.element.parentNode : this.element, d = n(u);
2149
- this.containerWidth = d && d.innerWidth;
2148
+ var h = this._getOption("fitWidth"), c = h ? this.element.parentNode : this.element, a = n(c);
2149
+ this.containerWidth = a && a.innerWidth;
2150
2150
  }, s._getItemLayoutPosition = function(h) {
2151
2151
  h.getSize();
2152
- var u = h.size.outerWidth % this.columnWidth, d = u && u < 1 ? "round" : "ceil", l = Math[d](h.size.outerWidth / this.columnWidth);
2153
- l = Math.min(l, this.cols);
2154
- for (var f = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[f](l, h), _ = {
2155
- x: this.columnWidth * m.col,
2156
- y: m.y
2157
- }, c = m.y + h.size.outerHeight, b = l + m.col, k = m.col; k < b; k++)
2158
- this.colYs[k] = c;
2152
+ var c = h.size.outerWidth % this.columnWidth, a = c && c < 1 ? "round" : "ceil", u = Math[a](h.size.outerWidth / this.columnWidth);
2153
+ u = Math.min(u, this.cols);
2154
+ for (var f = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[f](u, h), _ = {
2155
+ x: this.columnWidth * g.col,
2156
+ y: g.y
2157
+ }, d = g.y + h.size.outerHeight, b = u + g.col, k = g.col; k < b; k++)
2158
+ this.colYs[k] = d;
2159
2159
  return _;
2160
2160
  }, s._getTopColPosition = function(h) {
2161
- var u = this._getTopColGroup(h), d = Math.min.apply(Math, u);
2161
+ var c = this._getTopColGroup(h), a = Math.min.apply(Math, c);
2162
2162
  return {
2163
- col: u.indexOf(d),
2164
- y: d
2163
+ col: c.indexOf(a),
2164
+ y: a
2165
2165
  };
2166
2166
  }, s._getTopColGroup = function(h) {
2167
2167
  if (h < 2)
2168
2168
  return this.colYs;
2169
- for (var u = [], d = this.cols + 1 - h, l = 0; l < d; l++)
2170
- u[l] = this._getColGroupY(l, h);
2171
- return u;
2172
- }, s._getColGroupY = function(h, u) {
2173
- if (u < 2)
2169
+ for (var c = [], a = this.cols + 1 - h, u = 0; u < a; u++)
2170
+ c[u] = this._getColGroupY(u, h);
2171
+ return c;
2172
+ }, s._getColGroupY = function(h, c) {
2173
+ if (c < 2)
2174
2174
  return this.colYs[h];
2175
- var d = this.colYs.slice(h, h + u);
2176
- return Math.max.apply(Math, d);
2177
- }, s._getHorizontalColPosition = function(h, u) {
2178
- var d = this.horizontalColIndex % this.cols, l = h > 1 && d + h > this.cols;
2179
- d = l ? 0 : d;
2180
- var f = u.size.outerWidth && u.size.outerHeight;
2181
- return this.horizontalColIndex = f ? d + h : this.horizontalColIndex, {
2182
- col: d,
2183
- y: this._getColGroupY(d, h)
2175
+ var a = this.colYs.slice(h, h + c);
2176
+ return Math.max.apply(Math, a);
2177
+ }, s._getHorizontalColPosition = function(h, c) {
2178
+ var a = this.horizontalColIndex % this.cols, u = h > 1 && a + h > this.cols;
2179
+ a = u ? 0 : a;
2180
+ var f = c.size.outerWidth && c.size.outerHeight;
2181
+ return this.horizontalColIndex = f ? a + h : this.horizontalColIndex, {
2182
+ col: a,
2183
+ y: this._getColGroupY(a, h)
2184
2184
  };
2185
2185
  }, s._manageStamp = function(h) {
2186
- var u = n(h), d = this._getElementOffset(h), l = this._getOption("originLeft"), f = l ? d.left : d.right, m = f + u.outerWidth, _ = Math.floor(f / this.columnWidth);
2186
+ var c = n(h), a = this._getElementOffset(h), u = this._getOption("originLeft"), f = u ? a.left : a.right, g = f + c.outerWidth, _ = Math.floor(f / this.columnWidth);
2187
2187
  _ = Math.max(0, _);
2188
- var c = Math.floor(m / this.columnWidth);
2189
- c -= m % this.columnWidth ? 0 : 1, c = Math.min(this.cols - 1, c);
2190
- for (var b = this._getOption("originTop"), k = (b ? d.top : d.bottom) + u.outerHeight, g = _; g <= c; g++)
2191
- this.colYs[g] = Math.max(k, this.colYs[g]);
2188
+ var d = Math.floor(g / this.columnWidth);
2189
+ d -= g % this.columnWidth ? 0 : 1, d = Math.min(this.cols - 1, d);
2190
+ for (var b = this._getOption("originTop"), k = (b ? a.top : a.bottom) + c.outerHeight, m = _; m <= d; m++)
2191
+ this.colYs[m] = Math.max(k, this.colYs[m]);
2192
2192
  }, s._getContainerSize = function() {
2193
2193
  this.maxY = Math.max.apply(Math, this.colYs);
2194
2194
  var h = {
@@ -2196,7 +2196,7 @@ function si() {
2196
2196
  };
2197
2197
  return this._getOption("fitWidth") && (h.width = this._getContainerFitWidth()), h;
2198
2198
  }, s._getContainerFitWidth = function() {
2199
- for (var h = 0, u = this.cols; --u && this.colYs[u] === 0; )
2199
+ for (var h = 0, c = this.cols; --c && this.colYs[c] === 0; )
2200
2200
  h++;
2201
2201
  return (this.cols - h) * this.columnWidth - this.gutter;
2202
2202
  }, s.needsResizeLayout = function() {
@@ -2227,42 +2227,42 @@ var Ct = { exports: {} };
2227
2227
  // -------------------------- factory -------------------------- //
2228
2228
  function(t, n) {
2229
2229
  var p = t.jQuery, s = t.console;
2230
- function h(c, b) {
2230
+ function h(d, b) {
2231
2231
  for (var k in b)
2232
- c[k] = b[k];
2233
- return c;
2232
+ d[k] = b[k];
2233
+ return d;
2234
2234
  }
2235
- var u = Array.prototype.slice;
2236
- function d(c) {
2237
- if (Array.isArray(c))
2238
- return c;
2239
- var b = typeof c == "object" && typeof c.length == "number";
2240
- return b ? u.call(c) : [c];
2235
+ var c = Array.prototype.slice;
2236
+ function a(d) {
2237
+ if (Array.isArray(d))
2238
+ return d;
2239
+ var b = typeof d == "object" && typeof d.length == "number";
2240
+ return b ? c.call(d) : [d];
2241
2241
  }
2242
- function l(c, b, k) {
2243
- if (!(this instanceof l))
2244
- return new l(c, b, k);
2245
- var g = c;
2246
- if (typeof c == "string" && (g = document.querySelectorAll(c)), !g) {
2247
- s.error("Bad element for imagesLoaded " + (g || c));
2242
+ function u(d, b, k) {
2243
+ if (!(this instanceof u))
2244
+ return new u(d, b, k);
2245
+ var m = d;
2246
+ if (typeof d == "string" && (m = document.querySelectorAll(d)), !m) {
2247
+ s.error("Bad element for imagesLoaded " + (m || d));
2248
2248
  return;
2249
2249
  }
2250
- this.elements = d(g), this.options = h({}, this.options), typeof b == "function" ? k = b : h(this.options, b), k && this.on("always", k), this.getImages(), p && (this.jqDeferred = new p.Deferred()), setTimeout(this.check.bind(this));
2250
+ this.elements = a(m), this.options = h({}, this.options), typeof b == "function" ? k = b : h(this.options, b), k && this.on("always", k), this.getImages(), p && (this.jqDeferred = new p.Deferred()), setTimeout(this.check.bind(this));
2251
2251
  }
2252
- l.prototype = Object.create(n.prototype), l.prototype.options = {}, l.prototype.getImages = function() {
2252
+ u.prototype = Object.create(n.prototype), u.prototype.options = {}, u.prototype.getImages = function() {
2253
2253
  this.images = [], this.elements.forEach(this.addElementImages, this);
2254
- }, l.prototype.addElementImages = function(c) {
2255
- c.nodeName == "IMG" && this.addImage(c), this.options.background === !0 && this.addElementBackgroundImages(c);
2256
- var b = c.nodeType;
2254
+ }, u.prototype.addElementImages = function(d) {
2255
+ d.nodeName == "IMG" && this.addImage(d), this.options.background === !0 && this.addElementBackgroundImages(d);
2256
+ var b = d.nodeType;
2257
2257
  if (!(!b || !f[b])) {
2258
- for (var k = c.querySelectorAll("img"), g = 0; g < k.length; g++) {
2259
- var i = k[g];
2258
+ for (var k = d.querySelectorAll("img"), m = 0; m < k.length; m++) {
2259
+ var i = k[m];
2260
2260
  this.addImage(i);
2261
2261
  }
2262
2262
  if (typeof this.options.background == "string") {
2263
- var r = c.querySelectorAll(this.options.background);
2264
- for (g = 0; g < r.length; g++) {
2265
- var v = r[g];
2263
+ var r = d.querySelectorAll(this.options.background);
2264
+ for (m = 0; m < r.length; m++) {
2265
+ var v = r[m];
2266
2266
  this.addElementBackgroundImages(v);
2267
2267
  }
2268
2268
  }
@@ -2273,83 +2273,83 @@ var Ct = { exports: {} };
2273
2273
  9: !0,
2274
2274
  11: !0
2275
2275
  };
2276
- l.prototype.addElementBackgroundImages = function(c) {
2277
- var b = getComputedStyle(c);
2276
+ u.prototype.addElementBackgroundImages = function(d) {
2277
+ var b = getComputedStyle(d);
2278
2278
  if (b)
2279
- for (var k = /url\((['"])?(.*?)\1\)/gi, g = k.exec(b.backgroundImage); g !== null; ) {
2280
- var i = g && g[2];
2281
- i && this.addBackground(i, c), g = k.exec(b.backgroundImage);
2279
+ for (var k = /url\((['"])?(.*?)\1\)/gi, m = k.exec(b.backgroundImage); m !== null; ) {
2280
+ var i = m && m[2];
2281
+ i && this.addBackground(i, d), m = k.exec(b.backgroundImage);
2282
2282
  }
2283
- }, l.prototype.addImage = function(c) {
2284
- var b = new m(c);
2283
+ }, u.prototype.addImage = function(d) {
2284
+ var b = new g(d);
2285
2285
  this.images.push(b);
2286
- }, l.prototype.addBackground = function(c, b) {
2287
- var k = new _(c, b);
2286
+ }, u.prototype.addBackground = function(d, b) {
2287
+ var k = new _(d, b);
2288
2288
  this.images.push(k);
2289
- }, l.prototype.check = function() {
2290
- var c = this;
2289
+ }, u.prototype.check = function() {
2290
+ var d = this;
2291
2291
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
2292
2292
  this.complete();
2293
2293
  return;
2294
2294
  }
2295
- function b(k, g, i) {
2295
+ function b(k, m, i) {
2296
2296
  setTimeout(function() {
2297
- c.progress(k, g, i);
2297
+ d.progress(k, m, i);
2298
2298
  });
2299
2299
  }
2300
2300
  this.images.forEach(function(k) {
2301
2301
  k.once("progress", b), k.check();
2302
2302
  });
2303
- }, l.prototype.progress = function(c, b, k) {
2304
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !c.isLoaded, this.emitEvent("progress", [this, c, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, c), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " + k, c, b);
2305
- }, l.prototype.complete = function() {
2306
- var c = this.hasAnyBroken ? "fail" : "done";
2307
- if (this.isComplete = !0, this.emitEvent(c, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2303
+ }, u.prototype.progress = function(d, b, k) {
2304
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !d.isLoaded, this.emitEvent("progress", [this, d, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, d), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " + k, d, b);
2305
+ }, u.prototype.complete = function() {
2306
+ var d = this.hasAnyBroken ? "fail" : "done";
2307
+ if (this.isComplete = !0, this.emitEvent(d, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2308
2308
  var b = this.hasAnyBroken ? "reject" : "resolve";
2309
2309
  this.jqDeferred[b](this);
2310
2310
  }
2311
2311
  };
2312
- function m(c) {
2313
- this.img = c;
2312
+ function g(d) {
2313
+ this.img = d;
2314
2314
  }
2315
- m.prototype = Object.create(n.prototype), m.prototype.check = function() {
2316
- var c = this.getIsImageComplete();
2317
- if (c) {
2315
+ g.prototype = Object.create(n.prototype), g.prototype.check = function() {
2316
+ var d = this.getIsImageComplete();
2317
+ if (d) {
2318
2318
  this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
2319
2319
  return;
2320
2320
  }
2321
2321
  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;
2322
- }, m.prototype.getIsImageComplete = function() {
2322
+ }, g.prototype.getIsImageComplete = function() {
2323
2323
  return this.img.complete && this.img.naturalWidth;
2324
- }, m.prototype.confirm = function(c, b) {
2325
- this.isLoaded = c, this.emitEvent("progress", [this, this.img, b]);
2326
- }, m.prototype.handleEvent = function(c) {
2327
- var b = "on" + c.type;
2328
- this[b] && this[b](c);
2329
- }, m.prototype.onload = function() {
2324
+ }, g.prototype.confirm = function(d, b) {
2325
+ this.isLoaded = d, this.emitEvent("progress", [this, this.img, b]);
2326
+ }, g.prototype.handleEvent = function(d) {
2327
+ var b = "on" + d.type;
2328
+ this[b] && this[b](d);
2329
+ }, g.prototype.onload = function() {
2330
2330
  this.confirm(!0, "onload"), this.unbindEvents();
2331
- }, m.prototype.onerror = function() {
2331
+ }, g.prototype.onerror = function() {
2332
2332
  this.confirm(!1, "onerror"), this.unbindEvents();
2333
- }, m.prototype.unbindEvents = function() {
2333
+ }, g.prototype.unbindEvents = function() {
2334
2334
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2335
2335
  };
2336
- function _(c, b) {
2337
- this.url = c, this.element = b, this.img = new Image();
2336
+ function _(d, b) {
2337
+ this.url = d, this.element = b, this.img = new Image();
2338
2338
  }
2339
- return _.prototype = Object.create(m.prototype), _.prototype.check = function() {
2339
+ return _.prototype = Object.create(g.prototype), _.prototype.check = function() {
2340
2340
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
2341
- var c = this.getIsImageComplete();
2342
- c && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2341
+ var d = this.getIsImageComplete();
2342
+ d && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2343
2343
  }, _.prototype.unbindEvents = function() {
2344
2344
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2345
- }, _.prototype.confirm = function(c, b) {
2346
- this.isLoaded = c, this.emitEvent("progress", [this, this.element, b]);
2347
- }, l.makeJQueryPlugin = function(c) {
2348
- c = c || t.jQuery, c && (p = c, p.fn.imagesLoaded = function(b, k) {
2349
- var g = new l(this, b, k);
2350
- return g.jqDeferred.promise(p(this));
2345
+ }, _.prototype.confirm = function(d, b) {
2346
+ this.isLoaded = d, this.emitEvent("progress", [this, this.element, b]);
2347
+ }, u.makeJQueryPlugin = function(d) {
2348
+ d = d || t.jQuery, d && (p = d, p.fn.imagesLoaded = function(b, k) {
2349
+ var m = new u(this, b, k);
2350
+ return m.jqDeferred.promise(p(this));
2351
2351
  });
2352
- }, l.makeJQueryPlugin(), l;
2352
+ }, u.makeJQueryPlugin(), u;
2353
2353
  }
2354
2354
  );
2355
2355
  })(Ct);
@@ -2401,49 +2401,49 @@ It.install = function(o, e) {
2401
2401
  mounted: function(s, h) {
2402
2402
  if (!lt)
2403
2403
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2404
- const u = hi(s.attributes), d = new lt(s, u), l = h.value || n, f = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, m = function() {
2405
- d.reloadItems(), d.layout();
2404
+ const c = hi(s.attributes), a = new lt(s, c), u = h.value || n, f = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, g = function() {
2405
+ a.reloadItems(), a.layout();
2406
2406
  };
2407
2407
  kt(() => {
2408
- m();
2408
+ g();
2409
2409
  });
2410
2410
  const _ = function(b) {
2411
- m();
2412
- }, c = function(b) {
2413
- t.off(`${ge}__${l}`, _), t.off(`${Me}__${l}`, _), t.off(`${Re}__${l}`, _), t.off(`${Be}__${l}`, c);
2411
+ g();
2412
+ }, d = function(b) {
2413
+ t.off(`${ge}__${u}`, _), t.off(`${Me}__${u}`, _), t.off(`${Re}__${u}`, _), t.off(`${Be}__${u}`, d);
2414
2414
  const k = f && !Number.isNaN(f) ? f : 0;
2415
2415
  setTimeout(function() {
2416
- d.destroy();
2416
+ a.destroy();
2417
2417
  }, k);
2418
2418
  };
2419
- t.on(`${ge}__${l}`, _), t.on(`${Me}__${l}`, _), t.on(`${Re}__${l}`, _), t.on(`${Be}__${l}`, c);
2419
+ t.on(`${ge}__${u}`, _), t.on(`${Me}__${u}`, _), t.on(`${Re}__${u}`, _), t.on(`${Be}__${u}`, d);
2420
2420
  },
2421
2421
  unbind: function(s, h) {
2422
- const u = h.value || n;
2423
- t.emit(`${Be}__${u}`);
2422
+ const c = h.value || n;
2423
+ t.emit(`${Be}__${c}`);
2424
2424
  }
2425
2425
  }), p.directive("masonryTile", {
2426
2426
  mounted: function(s, h) {
2427
- const u = h.value || n;
2428
- t.emit(`${ge}__${u}`, {
2427
+ const c = h.value || n;
2428
+ t.emit(`${ge}__${c}`, {
2429
2429
  element: s
2430
2430
  }), new ui(s, function() {
2431
- t.emit(`${Re}__${u}`, {
2431
+ t.emit(`${Re}__${c}`, {
2432
2432
  element: s
2433
2433
  });
2434
2434
  });
2435
2435
  },
2436
2436
  unbind: function(s, h) {
2437
- const u = h.value || n;
2438
- t.emit(`${Me}__${u}`, {
2437
+ const c = h.value || n;
2438
+ t.emit(`${Me}__${c}`, {
2439
2439
  element: s
2440
2440
  });
2441
2441
  }
2442
2442
  });
2443
2443
  {
2444
2444
  const s = function(h) {
2445
- const u = h || n;
2446
- t.emit(`${ge}__${u}`);
2445
+ const c = h || n;
2446
+ t.emit(`${ge}__${c}`);
2447
2447
  };
2448
2448
  o.config.globalProperties.$redrawVueMasonry = s, o.provide("redrawVueMasonry", s);
2449
2449
  }
@@ -2687,8 +2687,8 @@ function ye(o, e, t) {
2687
2687
  if (typeof o != "string" || !o.includes("%"))
2688
2688
  return o;
2689
2689
  function n(h) {
2690
- let u;
2691
- return ["s", "pageTitle"].includes(h) ? u = e.pageTitle : h.includes(".") ? u = h.split(".").reduce((d, l) => d && d[l] || void 0, e) : u = e[h], typeof u < "u" ? (u || "").replace(/"/g, '\\"') : !1;
2690
+ let c;
2691
+ return ["s", "pageTitle"].includes(h) ? c = e.pageTitle : h.includes(".") ? c = h.split(".").reduce((a, u) => a && a[u] || void 0, e) : c = e[h], typeof c < "u" ? (c || "").replace(/"/g, '\\"') : !1;
2692
2692
  }
2693
2693
  let p = o;
2694
2694
  try {
@@ -2696,8 +2696,8 @@ function ye(o, e, t) {
2696
2696
  } catch {
2697
2697
  }
2698
2698
  return (p.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
2699
- const u = n(h.slice(1));
2700
- typeof u == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (d, l) => `${u}${l}`).trim());
2699
+ const c = n(h.slice(1));
2700
+ typeof c == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (a, u) => `${c}${u}`).trim());
2701
2701
  }), o.includes(Z) && (o.endsWith(Z) && (o = o.slice(0, -Z.length).trim()), o.startsWith(Z) && (o = o.slice(Z.length).trim()), o = o.replace(new RegExp(`\\${Z}\\s*\\${Z}`, "g"), Z), o = ye(o, { separator: t }, t)), o;
2702
2702
  }
2703
2703
  async function Pi(o) {
@@ -2728,53 +2728,53 @@ async function xi(o, e = {}) {
2728
2728
  elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
2729
2729
  };
2730
2730
  for (const f of ["body", "head"]) {
2731
- const m = t?.[f]?.children;
2732
- for (const _ of [...m].filter((c) => ve.includes(c.tagName.toLowerCase())))
2731
+ const g = t?.[f]?.children;
2732
+ for (const _ of [...g].filter((d) => ve.includes(d.tagName.toLowerCase())))
2733
2733
  s.elMap[_.getAttribute("data-hid") || ut(await Pi(_))] = _;
2734
2734
  }
2735
2735
  }
2736
2736
  s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
2737
- function h(f, m, _) {
2738
- const c = `${f}:${m}`;
2739
- s.sideEffects[c] = _, delete s.pendingSideEffects[c];
2737
+ function h(f, g, _) {
2738
+ const d = `${f}:${g}`;
2739
+ s.sideEffects[d] = _, delete s.pendingSideEffects[d];
2740
2740
  }
2741
- function u({ id: f, $el: m, tag: _ }) {
2742
- const c = _.tag.endsWith("Attrs");
2743
- s.elMap[f] = m, c || (["textContent", "innerHTML"].forEach((b) => {
2744
- _[b] && _[b] !== m[b] && (m[b] = _[b]);
2741
+ function c({ id: f, $el: g, tag: _ }) {
2742
+ const d = _.tag.endsWith("Attrs");
2743
+ s.elMap[f] = g, d || (["textContent", "innerHTML"].forEach((b) => {
2744
+ _[b] && _[b] !== g[b] && (g[b] = _[b]);
2745
2745
  }), h(f, "el", () => {
2746
2746
  s.elMap[f].remove(), delete s.elMap[f];
2747
2747
  })), Object.entries(_.props).forEach(([b, k]) => {
2748
- const g = `attr:${b}`;
2748
+ const m = `attr:${b}`;
2749
2749
  if (b === "class")
2750
2750
  for (const i of (k || "").split(" ").filter(Boolean))
2751
- c && h(f, `${g}:${i}`, () => m.classList.remove(i)), !m.classList.contains(i) && m.classList.add(i);
2751
+ d && h(f, `${m}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
2752
2752
  else
2753
- m.getAttribute(b) !== k && m.setAttribute(b, k === !0 ? "" : String(k)), c && h(f, g, () => m.removeAttribute(b));
2753
+ g.getAttribute(b) !== k && g.setAttribute(b, k === !0 ? "" : String(k)), d && h(f, m, () => g.removeAttribute(b));
2754
2754
  });
2755
2755
  }
2756
- const d = [], l = {
2756
+ const a = [], u = {
2757
2757
  bodyClose: void 0,
2758
2758
  bodyOpen: void 0,
2759
2759
  head: void 0
2760
2760
  };
2761
2761
  for (const f of p) {
2762
- const { tag: m, shouldRender: _, id: c } = f;
2762
+ const { tag: g, shouldRender: _, id: d } = f;
2763
2763
  if (_) {
2764
- if (m.tag === "title") {
2765
- t.title = m.textContent;
2764
+ if (g.tag === "title") {
2765
+ t.title = g.textContent;
2766
2766
  continue;
2767
2767
  }
2768
- f.$el = f.$el || s.elMap[c], f.$el ? u(f) : ve.includes(m.tag) && d.push(f);
2768
+ f.$el = f.$el || s.elMap[d], f.$el ? c(f) : ve.includes(g.tag) && a.push(f);
2769
2769
  }
2770
2770
  }
2771
- for (const f of d) {
2772
- const m = f.tag.tagPosition || "head";
2773
- f.$el = t.createElement(f.tag.tag), u(f), l[m] = l[m] || t.createDocumentFragment(), l[m].appendChild(f.$el);
2771
+ for (const f of a) {
2772
+ const g = f.tag.tagPosition || "head";
2773
+ f.$el = t.createElement(f.tag.tag), c(f), u[g] = u[g] || t.createDocumentFragment(), u[g].appendChild(f.$el);
2774
2774
  }
2775
2775
  for (const f of p)
2776
2776
  await o.hooks.callHook("dom:renderTag", f, t, h);
2777
- l.head && t.head.appendChild(l.head), l.bodyOpen && t.body.insertBefore(l.bodyOpen, t.body.firstChild), l.bodyClose && t.body.appendChild(l.bodyClose), Object.values(s.pendingSideEffects).forEach((f) => f()), o._dom = s, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
2777
+ u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(s.pendingSideEffects).forEach((f) => f()), o._dom = s, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
2778
2778
  }
2779
2779
  async function wi(o, e = {}) {
2780
2780
  const t = e.delayFn || ((n) => setTimeout(n, 10));
@@ -2796,7 +2796,7 @@ function Oi(o) {
2796
2796
  };
2797
2797
  };
2798
2798
  }
2799
- const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
2799
+ const Ai = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
2800
2800
  hooks: {
2801
2801
  "tag:normalise": function({ tag: o }) {
2802
2802
  ["hid", "vmid", "key"].forEach((n) => {
@@ -2810,13 +2810,13 @@ const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
2810
2810
  o.tags.forEach((n) => {
2811
2811
  const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, s = e[p];
2812
2812
  if (s) {
2813
- let u = n?.tagDuplicateStrategy;
2814
- if (!u && Hi.includes(n.tag) && (u = "merge"), u === "merge") {
2815
- const d = s.props;
2816
- ["class", "style"].forEach((l) => {
2817
- d[l] && (n.props[l] ? (l === "style" && !d[l].endsWith(";") && (d[l] += ";"), n.props[l] = `${d[l]} ${n.props[l]}`) : n.props[l] = d[l]);
2813
+ let c = n?.tagDuplicateStrategy;
2814
+ if (!c && Ai.includes(n.tag) && (c = "merge"), c === "merge") {
2815
+ const a = s.props;
2816
+ ["class", "style"].forEach((u) => {
2817
+ a[u] && (n.props[u] ? (u === "style" && !a[u].endsWith(";") && (a[u] += ";"), n.props[u] = `${a[u]} ${n.props[u]}`) : n.props[u] = a[u]);
2818
2818
  }), e[p].props = {
2819
- ...d,
2819
+ ...a,
2820
2820
  ...n.props
2821
2821
  };
2822
2822
  return;
@@ -2875,21 +2875,21 @@ const Bi = (o) => ({
2875
2875
  return;
2876
2876
  const p = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2877
2877
  Object.entries(e.tag._eventHandlers).forEach(([s, h]) => {
2878
- const u = `${e.tag._d || e.tag._p}:${s}`, d = s.slice(2).toLowerCase(), l = `data-h-${d}`;
2879
- if (n(e.id, u, () => {
2880
- }), e.$el.hasAttribute(l))
2878
+ const c = `${e.tag._d || e.tag._p}:${s}`, a = s.slice(2).toLowerCase(), u = `data-h-${a}`;
2879
+ if (n(e.id, c, () => {
2880
+ }), e.$el.hasAttribute(u))
2881
2881
  return;
2882
- e.$el.setAttribute(l, "");
2882
+ e.$el.setAttribute(u, "");
2883
2883
  let f;
2884
- const m = (_) => {
2884
+ const g = (_) => {
2885
2885
  h(_), f?.disconnect();
2886
2886
  };
2887
- s in e.$el.dataset ? m(new Event(s.replace("on", ""))) : Pt.includes(s) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
2888
- _.some((b) => b.attributeName === `data-${s}`) && (m(new Event(s.replace("on", ""))), f?.disconnect());
2887
+ s in e.$el.dataset ? g(new Event(s.replace("on", ""))) : Pt.includes(s) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
2888
+ _.some((b) => b.attributeName === `data-${s}`) && (g(new Event(s.replace("on", ""))), f?.disconnect());
2889
2889
  }), f.observe(e.$el, {
2890
2890
  attributes: !0
2891
- })) : p.addEventListener(d, m), n(e.id, u, () => {
2892
- f?.disconnect(), p.removeEventListener(d, m), e.$el.removeAttribute(l);
2891
+ })) : p.addEventListener(a, g), n(e.id, c, () => {
2892
+ f?.disconnect(), p.removeEventListener(a, g), e.$el.removeAttribute(u);
2893
2893
  });
2894
2894
  });
2895
2895
  }
@@ -2921,15 +2921,15 @@ const Bi = (o) => ({
2921
2921
  }, qi = (o) => ({
2922
2922
  hooks: {
2923
2923
  "tags:resolve": (e) => {
2924
- const { tags: t } = e, n = t.find((u) => u.tag === "title")?.textContent, p = t.findIndex((u) => u.tag === "templateParams"), s = p !== -1 ? t[p].props : {}, h = s.separator || "|";
2924
+ const { tags: t } = e, n = t.find((c) => c.tag === "title")?.textContent, p = t.findIndex((c) => c.tag === "templateParams"), s = p !== -1 ? t[p].props : {}, h = s.separator || "|";
2925
2925
  delete s.separator, s.pageTitle = ye(s.pageTitle || n || "", s, h);
2926
- for (const u of t.filter((d) => d.processTemplateParams !== !1)) {
2927
- const d = Fi[u.tag];
2928
- d && typeof u.props[d] == "string" ? u.props[d] = ye(u.props[d], s, h) : (u.processTemplateParams === !0 || ["titleTemplate", "title"].includes(u.tag)) && ["innerHTML", "textContent"].forEach((l) => {
2929
- typeof u[l] == "string" && (u[l] = ye(u[l], s, h));
2926
+ for (const c of t.filter((a) => a.processTemplateParams !== !1)) {
2927
+ const a = Fi[c.tag];
2928
+ a && typeof c.props[a] == "string" ? c.props[a] = ye(c.props[a], s, h) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((u) => {
2929
+ typeof c[u] == "string" && (c[u] = ye(c[u], s, h));
2930
2930
  });
2931
2931
  }
2932
- o._templateParams = s, o._separator = h, e.tags = t.filter((u) => u.tag !== "templateParams");
2932
+ o._templateParams = s, o._separator = h, e.tags = t.filter((c) => c.tag !== "templateParams");
2933
2933
  }
2934
2934
  }
2935
2935
  }), Ui = {
@@ -2973,10 +2973,10 @@ function Yi(o = {}) {
2973
2973
  const e = bi();
2974
2974
  e.addHooks(o.hooks || {}), o.document = o.document || (Ci ? document : void 0);
2975
2975
  const t = !o.document, n = () => {
2976
- u.dirty = !0, e.callHook("entries:updated", u);
2976
+ c.dirty = !0, e.callHook("entries:updated", c);
2977
2977
  };
2978
2978
  let p = 0, s = [];
2979
- const h = [], u = {
2979
+ const h = [], c = {
2980
2980
  plugins: h,
2981
2981
  dirty: !1,
2982
2982
  resolvedOptions: o,
@@ -2984,44 +2984,44 @@ function Yi(o = {}) {
2984
2984
  headEntries() {
2985
2985
  return s;
2986
2986
  },
2987
- use(d) {
2988
- const l = typeof d == "function" ? d(u) : d;
2989
- (!l.key || !h.some((f) => f.key === l.key)) && (h.push(l), ht(l.mode, t) && e.addHooks(l.hooks || {}));
2987
+ use(a) {
2988
+ const u = typeof a == "function" ? a(c) : a;
2989
+ (!u.key || !h.some((f) => f.key === u.key)) && (h.push(u), ht(u.mode, t) && e.addHooks(u.hooks || {}));
2990
2990
  },
2991
- push(d, l) {
2992
- delete l?.head;
2991
+ push(a, u) {
2992
+ delete u?.head;
2993
2993
  const f = {
2994
2994
  _i: p++,
2995
- input: d,
2996
- ...l
2995
+ input: a,
2996
+ ...u
2997
2997
  };
2998
2998
  return ht(f.mode, t) && (s.push(f), n()), {
2999
2999
  dispose() {
3000
- s = s.filter((m) => m._i !== f._i), e.callHook("entries:updated", u), n();
3000
+ s = s.filter((g) => g._i !== f._i), e.callHook("entries:updated", c), n();
3001
3001
  },
3002
3002
  // a patch is the same as creating a new entry, just a nice DX
3003
- patch(m) {
3004
- s = s.map((_) => (_._i === f._i && (_.input = f.input = m), _)), n();
3003
+ patch(g) {
3004
+ s = s.map((_) => (_._i === f._i && (_.input = f.input = g), _)), n();
3005
3005
  }
3006
3006
  };
3007
3007
  },
3008
3008
  async resolveTags() {
3009
- const d = { tags: [], entries: [...s] };
3010
- await e.callHook("entries:resolve", d);
3011
- for (const l of d.entries) {
3012
- const f = l.resolvedInput || l.input;
3013
- if (l.resolvedInput = await (l.transform ? l.transform(f) : f), l.resolvedInput)
3014
- for (const m of await Vi(l)) {
3015
- const _ = { tag: m, entry: l, resolvedOptions: u.resolvedOptions };
3016
- await e.callHook("tag:normalise", _), d.tags.push(_.tag);
3009
+ const a = { tags: [], entries: [...s] };
3010
+ await e.callHook("entries:resolve", a);
3011
+ for (const u of a.entries) {
3012
+ const f = u.resolvedInput || u.input;
3013
+ if (u.resolvedInput = await (u.transform ? u.transform(f) : f), u.resolvedInput)
3014
+ for (const g of await Vi(u)) {
3015
+ const _ = { tag: g, entry: u, resolvedOptions: c.resolvedOptions };
3016
+ await e.callHook("tag:normalise", _), a.tags.push(_.tag);
3017
3017
  }
3018
3018
  }
3019
- return await e.callHook("tags:beforeResolve", d), await e.callHook("tags:resolve", d), await e.callHook("tags:afterResolve", d), d.tags;
3019
+ return await e.callHook("tags:beforeResolve", a), await e.callHook("tags:resolve", a), await e.callHook("tags:afterResolve", a), a.tags;
3020
3020
  },
3021
3021
  ssr: t
3022
3022
  };
3023
3023
  return [
3024
- Ai,
3024
+ Hi,
3025
3025
  Di,
3026
3026
  Bi,
3027
3027
  Wi,
@@ -3030,18 +3030,18 @@ function Yi(o = {}) {
3030
3030
  Ui,
3031
3031
  Gi,
3032
3032
  ...o?.plugins || []
3033
- ].forEach((d) => u.use(d)), u.hooks.callHook("init", u), u;
3033
+ ].forEach((a) => c.use(a)), c.hooks.callHook("init", c), c;
3034
3034
  }
3035
3035
  const Ki = vo.startsWith("3");
3036
3036
  function Qi(o) {
3037
- return typeof o == "function" ? o() : a(o);
3037
+ return typeof o == "function" ? o() : l(o);
3038
3038
  }
3039
3039
  function qe(o, e = "") {
3040
3040
  if (o instanceof Promise)
3041
3041
  return o;
3042
3042
  const t = Qi(o);
3043
3043
  return !o || !t ? t : Array.isArray(t) ? t.map((n) => qe(n, e)) : typeof t == "object" ? Object.fromEntries(
3044
- Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, a(p)] : [n, qe(p, n)])
3044
+ Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, l(p)] : [n, qe(p, n)])
3045
3045
  ) : t;
3046
3046
  }
3047
3047
  const Ji = {
@@ -3066,28 +3066,28 @@ function er(o = {}) {
3066
3066
  }
3067
3067
  const tr = yo(), or = er();
3068
3068
  class nr extends HTMLElement {
3069
+ vueApp;
3069
3070
  constructor() {
3070
3071
  super();
3071
3072
  }
3072
3073
  connectedCallback() {
3073
3074
  const e = typeof fe == "function" ? fe.options : fe;
3074
3075
  let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
3075
- const n = (l) => l.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (f, m) => (m ? "-" : "") + f.toLowerCase()), p = (l) => l.replace(/-./g, (f) => f[1].toUpperCase()), s = {};
3076
+ const n = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (u, f) => (f ? "-" : "") + u.toLowerCase()), p = (a) => a.replace(/-./g, (u) => u[1].toUpperCase()), s = {};
3076
3077
  t = t.map(n);
3077
3078
  const h = {};
3078
- for (const l of this.attributes) {
3079
- const f = l.name, m = f.split(".");
3080
- console.log(f, m.length), m.length > 1 && (h[m[0]] || (h[m[0]] = {}), h[m[0]][p(m[1])] = l.value);
3079
+ for (const a of this.attributes) {
3080
+ const u = a.name, f = u.split(".");
3081
+ console.log(u, f.length), f.length > 1 && (h[f[0]] || (h[f[0]] = {}), h[f[0]][p(f[1])] = a.value);
3081
3082
  }
3082
3083
  console.log(h), console.log(t);
3083
- for (const l of t) {
3084
- let f = this.attributes.getNamedItem(l)?.value;
3085
- h.hasOwnProperty(l) && (f = h[l]), console.log(f, l), s[l] = f;
3084
+ for (const a of t) {
3085
+ let u = this.attributes.getNamedItem(a)?.value;
3086
+ h.hasOwnProperty(a) && (u = h[a]), console.log(u, a), s[a] = u;
3086
3087
  }
3087
- const u = bo(fe, s);
3088
- u.use(or), u.use(tr), u.use(It), u.use(ko), u.use(So), u.use(_o, { bootstrap: !0 });
3089
- const d = document.createElement("div");
3090
- u.mount(d), this.appendChild(d.children[0]);
3088
+ this.vueApp = bo(fe, s), this.vueApp.use(or), this.vueApp.use(tr), this.vueApp.use(It), this.vueApp.use(ko), this.vueApp.use(So), this.vueApp.use(_o, { bootstrap: !0 });
3089
+ const c = document.createElement("div");
3090
+ this.vueApp.mount(c), this.appendChild(c.children[0]);
3091
3091
  }
3092
3092
  }
3093
3093
  window.customElements.define("konnectio-hotel", nr);