@konnectio/core 4.0.51 → 4.0.53

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 (65) hide show
  1. package/dist/{ActionField-e9ca199c.js → ActionField-a8098e1b.js} +2 -2
  2. package/dist/ActionField-a8098e1b.js.br +0 -0
  3. package/dist/{ActionField-478027b3.cjs → ActionField-c57dc826.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-e17caf62.js → AvailabilitySkeleton-00e9ed20.js} +5 -5
  5. package/dist/AvailabilitySkeleton-00e9ed20.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-566426af.cjs → AvailabilitySkeleton-1689ccd0.cjs} +1 -1
  7. package/dist/{CheckoutWindow-98e3584c.js → CheckoutWindow-ca95e6f3.js} +1 -1
  8. package/dist/CheckoutWindow-ca95e6f3.js.br +0 -0
  9. package/dist/{CheckoutWindow-5f0acea5.cjs → CheckoutWindow-f9cd7561.cjs} +1 -1
  10. package/dist/{Container-f044532f.cjs → Container-0b6c4829.cjs} +1 -1
  11. package/dist/{Container-a006e569.js → Container-b2931bf7.js} +1 -1
  12. package/dist/Container-b2931bf7.js.br +0 -0
  13. package/dist/{DateField.vue_vue_type_style_index_0_lang-7b829d81.js → DateField.vue_vue_type_style_index_0_lang-20478ecc.js} +1 -1
  14. package/dist/DateField.vue_vue_type_style_index_0_lang-20478ecc.js.br +0 -0
  15. package/dist/{DateField.vue_vue_type_style_index_0_lang-82f7e9c7.cjs → DateField.vue_vue_type_style_index_0_lang-47f53da2.cjs} +1 -1
  16. package/dist/{Field-2839d976.cjs → Field-4d35e324.cjs} +1 -1
  17. package/dist/{Field-1121f643.js → Field-b0f63dbd.js} +2 -2
  18. package/dist/Field-b0f63dbd.js.br +0 -0
  19. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-fd01e54d.cjs → NumberField.vue_vue_type_script_setup_true_lang-1a214c17.cjs} +1 -1
  20. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-3d0815e4.js → NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js} +1 -1
  21. package/dist/NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js.br +0 -0
  22. package/dist/{SelectField.vue_vue_type_style_index_0_lang-113f6c36.js → SelectField.vue_vue_type_style_index_0_lang-6a191855.js} +1998 -1995
  23. package/dist/SelectField.vue_vue_type_style_index_0_lang-6a191855.js.br +0 -0
  24. package/dist/{SelectField.vue_vue_type_style_index_0_lang-ab8bdbaa.cjs → SelectField.vue_vue_type_style_index_0_lang-f4c7c28a.cjs} +28 -28
  25. package/dist/{ThankYou-6b839d4c.cjs → ThankYou-5d34bf4e.cjs} +7 -7
  26. package/dist/{ThankYou-94db96aa.js → ThankYou-acd605eb.js} +1186 -1154
  27. package/dist/ThankYou-acd605eb.js.br +0 -0
  28. package/dist/{_-ef7cbf18.js → _-3d23ad37.js} +1 -1
  29. package/dist/{_-8aaa6e92.cjs → _-8f85509a.cjs} +1 -1
  30. package/dist/availability.cjs +1 -1
  31. package/dist/availability.js +8 -8
  32. package/dist/availability.js.br +0 -0
  33. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  34. package/dist/{event-5fe26a0d.cjs → event-05a2242f.cjs} +1 -1
  35. package/dist/{event-f7f3ce58.js → event-3389dfd0.js} +7 -7
  36. package/dist/event-3389dfd0.js.br +0 -0
  37. package/dist/event.cjs +1 -1
  38. package/dist/event.js +8 -8
  39. package/dist/event.js.br +0 -0
  40. package/dist/gift-card-validation.cjs +1 -1
  41. package/dist/gift-card-validation.js +4 -4
  42. package/dist/gift-card-validation.js.br +0 -0
  43. package/dist/gift-card.cjs +1 -1
  44. package/dist/gift-card.js +6 -6
  45. package/dist/gift-card.js.br +0 -0
  46. package/dist/hotel.cjs +7 -7
  47. package/dist/hotel.js +416 -416
  48. package/dist/hotel.js.br +0 -0
  49. package/dist/polyfill.cjs +1 -1
  50. package/dist/polyfill.js +1 -1
  51. package/dist/polyfill.js.br +0 -0
  52. package/dist/style.css +1 -1
  53. package/dist/style.css.br +0 -0
  54. package/dist/types/index.d.ts +1 -0
  55. package/package.json +4 -4
  56. package/dist/ActionField-e9ca199c.js.br +0 -0
  57. package/dist/AvailabilitySkeleton-e17caf62.js.br +0 -0
  58. package/dist/CheckoutWindow-98e3584c.js.br +0 -0
  59. package/dist/Container-a006e569.js.br +0 -0
  60. package/dist/DateField.vue_vue_type_style_index_0_lang-7b829d81.js.br +0 -0
  61. package/dist/Field-1121f643.js.br +0 -0
  62. package/dist/NumberField.vue_vue_type_script_setup_true_lang-3d0815e4.js.br +0 -0
  63. package/dist/SelectField.vue_vue_type_style_index_0_lang-113f6c36.js.br +0 -0
  64. package/dist/ThankYou-94db96aa.js.br +0 -0
  65. package/dist/event-f7f3ce58.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,14 +1,14 @@
1
- import { k as J, F as de, aF as _o, s as Q, c as Ie, aa as zt, ab as ue, m as T, n as W, X as bo, q as a, w as P, D as et, A as g, H as A, M as ae, Z as Ct, aG as ko, v as I, a4 as q, a3 as N, x as w, aH as Te, a6 as ht, p as C, K as te, L as le, f as Y, B as Ke, Q as Ft, R as Nt, _ as oe, r as $e, aI as Ut, o as yt, a2 as Ge, C as Ee, aA as Eo, y as je, I as qt, l as St, T as se, aD as To, G as Co, a7 as So, N as $t, J as j, P as $o, al as Gt, aJ as Io, V as Lo, U as Ao, W as Oo, a9 as Vo } from "./SelectField.vue_vue_type_style_index_0_lang-113f6c36.js";
2
- import { R as Ho, B as _t, a as wo, S as Po, M as Ro, T as Do, x as Mo } from "./ThankYou-94db96aa.js";
3
- import { C as xo } from "./Container-a006e569.js";
4
- import { A as Wo, H as Bo } from "./AvailabilitySkeleton-e17caf62.js";
5
- import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-3d0815e4.js";
6
- import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-7b829d81.js";
7
- import { C as pt, P as Fo, a as No } from "./CheckoutWindow-98e3584c.js";
8
- import { E as Z } from "./_-ef7cbf18.js";
1
+ import { k as J, F as de, aF as _o, s as Q, c as Ie, aa as zt, ab as ue, m as T, n as W, X as bo, q as a, w as P, D as et, A as g, H as A, M as ae, Z as Ct, aG as ko, v as I, a4 as q, a3 as N, x as w, aH as Te, a6 as pt, p as C, K as te, L as le, f as Y, B as Ke, Q as Ft, R as Nt, _ as oe, r as $e, aI as Ut, o as yt, a2 as Ge, C as Ee, aA as Eo, y as je, I as qt, l as St, T as se, aD as To, G as Co, a7 as So, N as $t, J as j, P as $o, al as Gt, aJ as Io, V as Lo, U as Ao, W as Oo, a9 as Vo } from "./SelectField.vue_vue_type_style_index_0_lang-6a191855.js";
2
+ import { R as Ho, B as _t, a as wo, S as Po, M as Ro, T as Do, x as Mo } from "./ThankYou-acd605eb.js";
3
+ import { C as xo } from "./Container-b2931bf7.js";
4
+ import { A as Wo, H as Bo } from "./AvailabilitySkeleton-00e9ed20.js";
5
+ import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-b2e01b68.js";
6
+ import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-20478ecc.js";
7
+ import { C as ht, P as Fo, a as No } from "./CheckoutWindow-ca95e6f3.js";
8
+ import { E as Z } from "./_-3d23ad37.js";
9
9
  import { c as Yt, a as Kt } from "./_commonjsHelpers-aeeeeb92.js";
10
- import "./ActionField-e9ca199c.js";
11
- import "./Field-1121f643.js";
10
+ import "./ActionField-a8098e1b.js";
11
+ import "./Field-b0f63dbd.js";
12
12
  const Uo = /* @__PURE__ */ g("br", null, null, -1);
13
13
  const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
14
14
  __name: "HotelReservationForm",
@@ -21,9 +21,9 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
21
21
  hideArrivalDepartureInputs: i,
22
22
  disableArrivalUserSelection: u,
23
23
  disableDepartureUserSelection: r,
24
- arrivalDefault: f,
24
+ arrivalDefault: p,
25
25
  departureDefault: d,
26
- currency: h
26
+ currency: f
27
27
  } = Q(Ie()), {
28
28
  arrivalDate: l,
29
29
  departureDate: v
@@ -35,7 +35,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
35
35
  totalPrice: b,
36
36
  areListingsLoading: c,
37
37
  getSelectedPackageRoom: n,
38
- selectedPackage: p,
38
+ selectedPackage: h,
39
39
  discountVouchers: _
40
40
  } = Q(ue()), { removeRoom: S } = ue();
41
41
  function E($) {
@@ -54,7 +54,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
54
54
  "reservation-summary": P(() => [
55
55
  g("li", null, [
56
56
  g("span", null, A(a(e)("booking.reservation.arrival")), 1),
57
- g("b", null, A(a(i) ? a(ae)(a(l)) : `${a(ae)(a(l))}, ${a(u) ? a(f) : a(m)}`), 1)
57
+ g("b", null, A(a(i) ? a(ae)(a(l)) : `${a(ae)(a(l))}, ${a(u) ? a(p) : a(m)}`), 1)
58
58
  ]),
59
59
  g("li", null, [
60
60
  g("span", null, A(a(e)("booking.reservation.departure")), 1),
@@ -87,7 +87,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
87
87
  g("span", null, A(a(Te)(D.name)), 1),
88
88
  Uo,
89
89
  g("span", null, [
90
- ht("( "),
90
+ pt("( "),
91
91
  C(te, {
92
92
  icon: "male",
93
93
  type: "fas",
@@ -102,24 +102,24 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
102
102
  }),
103
103
  g("span", null, A(z.childrenCount), 1)
104
104
  ], 64)) : w("", !0),
105
- ht(") ")
105
+ pt(") ")
106
106
  ])
107
107
  ]),
108
108
  g("b", null, [
109
- g("span", null, A(a(le)(z.totalPrice, a(h))), 1),
109
+ g("span", null, A(a(le)(z.totalPrice, a(f))), 1),
110
110
  w("", !0)
111
111
  ])
112
112
  ]),
113
113
  E(z.roomAddons) > 0 ? (T(), I("li", qo, [
114
114
  g("span", null, A(a(e)("booking.reservation.addons")), 1),
115
- g("b", null, A(a(le)(E(z.roomAddons), a(h))), 1)
115
+ g("b", null, A(a(le)(E(z.roomAddons), a(f))), 1)
116
116
  ])) : w("", !0)
117
117
  ]))), 128))
118
118
  ]))), 128))
119
119
  ]))), 128)) : w("", !0),
120
- a(n) && a(p) ? (T(), I("div", Go, [
120
+ a(n) && a(h) ? (T(), I("div", Go, [
121
121
  g("h6", null, [
122
- g("span", null, A(a(Te)(a(p).name)), 1)
122
+ g("span", null, A(a(Te)(a(h).name)), 1)
123
123
  ]),
124
124
  g("div", null, [
125
125
  g("ul", null, [
@@ -128,7 +128,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
128
128
  g("span", null, A(a(Te)(a(n).title)), 1)
129
129
  ]),
130
130
  g("b", null, [
131
- g("span", null, A(a(le)(a(n).extraPrice, a(h))), 1)
131
+ g("span", null, A(a(le)(a(n).extraPrice, a(f))), 1)
132
132
  ])
133
133
  ])
134
134
  ])
@@ -161,24 +161,24 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
161
161
  emits: ["update:modelValue"],
162
162
  setup(t, { emit: e }) {
163
163
  const { t: o } = de(), { currency: i } = Q(Ie()), u = e, r = t;
164
- function f(h) {
165
- u("update:modelValue", h);
164
+ function p(f) {
165
+ u("update:modelValue", f);
166
166
  }
167
167
  const d = Y({
168
168
  get: () => r.modelValue,
169
- set: (h) => f(h)
169
+ set: (f) => p(f)
170
170
  });
171
- return (h, l) => (T(), W(Ke, {
171
+ return (f, l) => (T(), W(Ke, {
172
172
  modelValue: d.value,
173
173
  "onUpdate:modelValue": l[0] || (l[0] = (v) => d.value = v),
174
- label: h.label,
174
+ label: f.label,
175
175
  placeholder: "Select guest configuration",
176
176
  labelKey: "label",
177
177
  valueKey: "value",
178
178
  "icon-placement": "label",
179
- options: h.options,
180
- readonly: h.readonly,
181
- required: h.required,
179
+ options: f.options,
180
+ readonly: f.readonly,
181
+ required: f.required,
182
182
  searchable: !1
183
183
  }, {
184
184
  option: P(({ data: v }) => [
@@ -214,7 +214,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
214
214
  ]),
215
215
  g("div", Jo, [
216
216
  Zo,
217
- ht(" " + A(`(${a(le)(v.price, a(i))})`), 1)
217
+ pt(" " + A(`(${a(le)(v.price, a(i))})`), 1)
218
218
  ])
219
219
  ])
220
220
  ]),
@@ -241,9 +241,9 @@ const si = /* @__PURE__ */ J({
241
241
  const r = Y(() => o.room.rates.map((E) => ({
242
242
  label: E.name,
243
243
  value: E.id
244
- }))), f = Y(() => i.value.flatMap((E) => E.id));
245
- Y(() => r.value.filter((E) => !f.value.includes(E.value)));
246
- const { hideAvailableRoomAmount: d, currency: h } = Q(Ie()), { roomSelect: l } = Q(ue()), { viewItem: v, addToCart: m, removeFromCart: k } = Ut(), s = (E, $) => o.room.rates.find((O) => O.id === E)?.occupantRates.find((O) => O.index === $), y = Y(() => o.room.rates.reduce(
244
+ }))), p = Y(() => i.value.flatMap((E) => E.id));
245
+ Y(() => r.value.filter((E) => !p.value.includes(E.value)));
246
+ const { hideAvailableRoomAmount: d, currency: f } = Q(Ie()), { roomSelect: l } = Q(ue()), { viewItem: v, addToCart: m, removeFromCart: k } = Ut(), s = (E, $) => o.room.rates.find((O) => O.id === E)?.occupantRates.find((O) => O.index === $), y = Y(() => o.room.rates.reduce(
247
247
  (E, $) => E < $.rackRate ? E : $.rackRate,
248
248
  1 / 0
249
249
  )), b = Y(() => o.room.rates.every((E) => E.isBreakfastIncluded === !0)), c = (E, $) => s(E, $) ? s(E, $)?.rooms : null, n = (E) => o.room.rates.length > 0 ? o.room.rates.find(($) => $.id === E)?.occupantRates.map(($) => ({
@@ -252,9 +252,9 @@ const si = /* @__PURE__ */ J({
252
252
  adults: $.adultsCount,
253
253
  children: $.childrenCount,
254
254
  hasBreakfast: $.hasBreakfast
255
- })) || [] : [], p = Y(() => o.room.rates.length > 1);
255
+ })) || [] : [], h = Y(() => o.room.rates.length > 1);
256
256
  function _() {
257
- p.value ? i.value.push({
257
+ h.value ? i.value.push({
258
258
  id: void 0,
259
259
  config: [{
260
260
  id: o.room.rates[0].occupantRateIndex || NaN,
@@ -307,7 +307,7 @@ const si = /* @__PURE__ */ J({
307
307
  key: O.id,
308
308
  class: "freshbooking-hotel-room"
309
309
  }, [
310
- p.value ? (T(), W(Ke, {
310
+ h.value ? (T(), W(Ke, {
311
311
  key: 0,
312
312
  modelValue: O.id,
313
313
  "onUpdate:modelValue": (H) => O.id = H,
@@ -371,18 +371,18 @@ const ai = /* @__PURE__ */ oe(si, [["__scopeId", "data-v-79268706"]]), li = { cl
371
371
  callback: { type: Function }
372
372
  },
373
373
  setup(t) {
374
- const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q(Ie()), { clearRoomSelection: r } = ue(), f = t;
375
- function d(h) {
376
- o.value = f.templateId, i.value = h, r(), f.callback(2);
374
+ const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q(Ie()), { clearRoomSelection: r } = ue(), p = t;
375
+ function d(f) {
376
+ o.value = p.templateId, i.value = f, r(), p.callback(2);
377
377
  }
378
- return (h, l) => (T(), W(wo, {
379
- title: h.title,
380
- description: h.description,
378
+ return (f, l) => (T(), W(wo, {
379
+ title: f.title,
380
+ description: f.description,
381
381
  subtitle: a(e)("booking.availability.selectATemplateRoom")
382
382
  }, {
383
383
  default: P(() => [
384
384
  g("div", li, [
385
- (T(!0), I(N, null, q(h.roomGroups, ({
385
+ (T(!0), I(N, null, q(f.roomGroups, ({
386
386
  id: v,
387
387
  title: m,
388
388
  description: k,
@@ -476,13 +476,13 @@ var ci = [
476
476
  "tr",
477
477
  "ul",
478
478
  "video"
479
- ], Be = ["audio", "math", "svg", "video"], Ce = 10, fi = 33, hi = 34, pi = 38, mi = 39, we = 47, mt = 59, Ne = 60, vi = 61, ot = 62, gi = /[<&\n\ud800-\udbff]/, yi = /[<&\ud800-\udbff]/, _i = /\s+/g;
479
+ ], Be = ["audio", "math", "svg", "video"], Ce = 10, fi = 33, pi = 34, hi = 38, mi = 39, we = 47, mt = 59, Ne = 60, vi = 61, ot = 62, gi = /[<&\n\ud800-\udbff]/, yi = /[<&\ud800-\udbff]/, _i = /\s+/g;
480
480
  function bi(t, e, o) {
481
481
  return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? ki(t, e, o) : Ei(t, e, o)) : "";
482
482
  }
483
483
  Qt.default = bi;
484
484
  function ki(t, e, o) {
485
- for (var i = o.imageWeight, u = i === void 0 ? 2 : i, r = o.indicator, f = r === void 0 ? "…" : r, d = o.maxLines, h = d === void 0 ? 1 / 0 : d, l = o.stripTags, v = l === void 0 ? !1 : l, m = f.length, k = 1, s = typeof v == "boolean" ? function() {
485
+ for (var i = o.imageWeight, u = i === void 0 ? 2 : i, r = o.indicator, p = r === void 0 ? "…" : r, d = o.maxLines, f = d === void 0 ? 1 / 0 : d, l = o.stripTags, v = l === void 0 ? !1 : l, m = p.length, k = 1, s = typeof v == "boolean" ? function() {
486
486
  return v;
487
487
  } : function(ee) {
488
488
  return v.includes(ee);
@@ -490,7 +490,7 @@ function ki(t, e, o) {
490
490
  for (var _e; _e = y.pop(), _e !== void 0; )
491
491
  s(_e) || (ee += "</" + _e + ">");
492
492
  return ee;
493
- }, c = 0, n = -1, p = t.length; c < p; c++) {
493
+ }, c = 0, n = -1, h = t.length; c < h; c++) {
494
494
  var _ = c ? t.slice(c) : t, S = Ci(y), E = n > -1 || S ? yi : gi, $ = _.search(E), O = $ > -1 ? $ : _.length;
495
495
  if (n === -1) {
496
496
  if (S) {
@@ -524,7 +524,7 @@ function ki(t, e, o) {
524
524
  break;
525
525
  }
526
526
  for (var ge = 0, U = c, ce = !1; ; ) {
527
- if (U++, U >= p)
527
+ if (U++, U >= h)
528
528
  throw new Error("Invalid HTML: " + t);
529
529
  var fe = t.charCodeAt(U);
530
530
  if (ce)
@@ -534,7 +534,7 @@ function ki(t, e, o) {
534
534
  U++;
535
535
  ce = !0;
536
536
  var Oe = t.charCodeAt(U + 1);
537
- Oe === hi || Oe === mi ? (ge = Oe, U++) : ge = 0;
537
+ Oe === pi || Oe === mi ? (ge = Oe, U++) : ge = 0;
538
538
  } else if (fe === ot) {
539
539
  var Re = c + (Ae ? 2 : 1), Ve = Math.min(Ti(t, Re), U), B = t.slice(Re, Ve).toLowerCase();
540
540
  B.charCodeAt(B.length - 1) === we && (B = B.slice(0, B.length - 1));
@@ -552,14 +552,14 @@ function ki(t, e, o) {
552
552
  break;
553
553
  }
554
554
  var Xe = Xt.includes(B);
555
- if (Xe && n === -1 && !ne && (k++, k > h)) {
555
+ if (Xe && n === -1 && !ne && (k++, k > f)) {
556
556
  y.push(B);
557
557
  break;
558
558
  }
559
559
  } else if (ci.includes(B) || t.charCodeAt(U - 1) === we) {
560
560
  if (!ne) {
561
561
  if (B === "br") {
562
- if (k++, k > h)
562
+ if (k++, k > f)
563
563
  break;
564
564
  } else if (B === "img" && (m += u, m > e))
565
565
  break;
@@ -572,10 +572,10 @@ function ki(t, e, o) {
572
572
  break;
573
573
  }
574
574
  }
575
- if (m > e || k > h)
575
+ if (m > e || k > f)
576
576
  break;
577
577
  }
578
- } else if (D === pi) {
578
+ } else if (D === hi) {
579
579
  for (var U = c + 1, De = !0; ; ) {
580
580
  var Me = t.charCodeAt(U);
581
581
  if (Jt(Me))
@@ -591,7 +591,7 @@ function ki(t, e, o) {
591
591
  break;
592
592
  De && (c = U);
593
593
  } else if (D === Ce) {
594
- if (m++, m > e || (k++, k > h))
594
+ if (m++, m > e || (k++, k > f))
595
595
  break;
596
596
  } else {
597
597
  if (n === -1 && (m++, m > e))
@@ -603,52 +603,52 @@ function ki(t, e, o) {
603
603
  }
604
604
  }
605
605
  if (m > e) {
606
- var he = $i(t, c);
607
- if (f) {
608
- for (var ie = c + he.length; t.charCodeAt(ie) === Ne && t.charCodeAt(ie + 1) === we; ) {
606
+ var pe = $i(t, c);
607
+ if (p) {
608
+ for (var ie = c + pe.length; t.charCodeAt(ie) === Ne && t.charCodeAt(ie + 1) === we; ) {
609
609
  var xe = t.indexOf(">", ie + 2) + 1;
610
610
  if (xe)
611
611
  ie = xe;
612
612
  else
613
613
  break;
614
614
  }
615
- ie && (ie === t.length || It(t, ie)) && (c += he.length, he = t.charAt(c));
615
+ ie && (ie === t.length || It(t, ie)) && (c += pe.length, pe = t.charAt(c));
616
616
  }
617
- for (; he === "<" && t.charCodeAt(c + 1) === we; ) {
617
+ for (; pe === "<" && t.charCodeAt(c + 1) === we; ) {
618
618
  var B = y.pop();
619
619
  if (!B)
620
620
  break;
621
621
  var ye = t.indexOf(">", c + 2);
622
622
  if (ye === -1 || t.slice(c + 2, ye).trim() !== B)
623
623
  throw new Error("Invalid HTML: " + t);
624
- s(B) ? t = t.slice(0, c) + t.slice(ye + 1) : c = ye + 1, he = t.charAt(c);
624
+ s(B) ? t = t.slice(0, c) + t.slice(ye + 1) : c = ye + 1, pe = t.charAt(c);
625
625
  }
626
626
  if (c < t.length) {
627
627
  if (!o.breakWords)
628
- for (var pe = c - f.length; pe >= 0; pe--) {
629
- var D = t.charCodeAt(pe);
628
+ for (var he = c - p.length; he >= 0; he--) {
629
+ var D = t.charCodeAt(he);
630
630
  if (D === ot || D === mt)
631
631
  break;
632
632
  if (D === Ce || D === Ne) {
633
- c = pe;
633
+ c = he;
634
634
  break;
635
635
  } else if (me(D)) {
636
- c = pe + (f ? 1 : 0);
636
+ c = he + (p ? 1 : 0);
637
637
  break;
638
638
  }
639
639
  }
640
640
  var We = t.slice(0, c);
641
- return It(t, c) || (We += f), b(We);
641
+ return It(t, c) || (We += p), b(We);
642
642
  }
643
- } else if (k > h)
643
+ } else if (k > f)
644
644
  return b(t.slice(0, c));
645
645
  return t;
646
646
  }
647
647
  function Ei(t, e, o) {
648
- for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r, d = u.length, h = 1, l = 0, v = t.length; l < v && (d++, !(d > e)); l++) {
648
+ for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines, p = r === void 0 ? 1 / 0 : r, d = u.length, f = 1, l = 0, v = t.length; l < v && (d++, !(d > e)); l++) {
649
649
  var m = t.charCodeAt(l);
650
650
  if (m === Ce) {
651
- if (h++, h > f)
651
+ if (f++, f > p)
652
652
  break;
653
653
  } else if ((m & 64512) === 55296) {
654
654
  var k = t.charCodeAt(l + 1);
@@ -678,7 +678,7 @@ function Ei(t, e, o) {
678
678
  }
679
679
  return t.slice(0, l) + (s === `
680
680
  ` ? "" : u);
681
- } else if (h > f)
681
+ } else if (f > p)
682
682
  return t.slice(0, l);
683
683
  return t;
684
684
  }
@@ -765,13 +765,13 @@ const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
765
765
  function u() {
766
766
  i.value = !0;
767
767
  }
768
- function r(f) {
769
- e.callback(f), i.value = !1;
768
+ function r(p) {
769
+ e.callback(p), i.value = !1;
770
770
  }
771
- return (f, d) => (T(), W(_t, {
772
- "listing-id": f.id,
773
- name: f.name,
774
- description: f.description,
771
+ return (p, d) => (T(), W(_t, {
772
+ "listing-id": p.id,
773
+ name: p.name,
774
+ description: p.description,
775
775
  gallery: o.value,
776
776
  "includes-breakfast": !1,
777
777
  "hide-info-button": !0
@@ -779,7 +779,7 @@ const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
779
779
  description: P(() => [
780
780
  w("", !0),
781
781
  g("p", {
782
- innerHTML: a(Eo)(f.description)
782
+ innerHTML: a(Eo)(p.description)
783
783
  }, null, 8, Ii)
784
784
  ]),
785
785
  action: P(() => [
@@ -794,10 +794,10 @@ const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
794
794
  default: P(() => [
795
795
  C(di, {
796
796
  modelValue: i.value,
797
- "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
798
- title: f.name,
799
- "template-id": f.id,
800
- roomGroups: f.roomGroups,
797
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
798
+ title: p.name,
799
+ "template-id": p.id,
800
+ roomGroups: p.roomGroups,
801
801
  callback: r
802
802
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
803
803
  ]),
@@ -831,25 +831,25 @@ const Ai = /* @__PURE__ */ oe(Li, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @
831
831
  emits: ["update:modelValue"],
832
832
  setup(t, { emit: e }) {
833
833
  const o = e, i = t;
834
- function u(f) {
835
- o("update:modelValue", f);
834
+ function u(p) {
835
+ o("update:modelValue", p);
836
836
  }
837
837
  const r = $e(i.modelValue);
838
- return Ge(r, (f) => {
839
- u(f);
840
- }), (f, d) => (T(), W(zo, {
838
+ return Ge(r, (p) => {
839
+ u(p);
840
+ }), (p, d) => (T(), W(zo, {
841
841
  modelValue: r.value,
842
- "onUpdate:modelValue": d[0] || (d[0] = (h) => r.value = h),
842
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => r.value = f),
843
843
  type: "time",
844
- label: f.label,
845
- id: f.id,
846
- name: f.name,
847
- icon: f.icon,
848
- "icon-type": f.iconType,
849
- "icon-color": f.iconColor,
844
+ label: p.label,
845
+ id: p.id,
846
+ name: p.name,
847
+ icon: p.icon,
848
+ "icon-type": p.iconType,
849
+ "icon-color": p.iconColor,
850
850
  "auto-apply": !0,
851
- required: f.required,
852
- readonly: f.readonly
851
+ required: p.required,
852
+ readonly: p.readonly
853
853
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
854
854
  }
855
855
  });
@@ -869,13 +869,13 @@ const Oi = { style: { display: "flex", "align-items": "baseline" } }, Vi = /* @_
869
869
  function r(d) {
870
870
  i("update:modelValue", d);
871
871
  }
872
- const f = Y({
872
+ const p = Y({
873
873
  get: () => u.modelValue,
874
874
  set: (d) => r(d)
875
875
  });
876
- return (d, h) => (T(), W(Ke, {
877
- modelValue: f.value,
878
- "onUpdate:modelValue": h[0] || (h[0] = (l) => f.value = l),
876
+ return (d, f) => (T(), W(Ke, {
877
+ modelValue: p.value,
878
+ "onUpdate:modelValue": f[0] || (f[0] = (l) => p.value = l),
879
879
  label: d.label,
880
880
  placeholder: a(o)("booking.reservation.countryPlaceholder"),
881
881
  labelKey: "name",
@@ -912,25 +912,25 @@ const Hi = /* @__PURE__ */ oe(Vi, [["__scopeId", "data-v-1462612d"]]), wi = { cl
912
912
  emits: ["update:modelValue"],
913
913
  setup(t, { emit: e }) {
914
914
  const o = e, i = t;
915
- function u(f) {
916
- o("update:modelValue", f);
915
+ function u(p) {
916
+ o("update:modelValue", p);
917
917
  }
918
918
  const r = Y({
919
919
  get: () => i.modelValue,
920
- set: (f) => u(f)
920
+ set: (p) => u(p)
921
921
  });
922
- return (f, d) => (T(), W(qt, {
923
- label: f.label,
922
+ return (p, d) => (T(), W(qt, {
923
+ label: p.label,
924
924
  type: "multi-radio"
925
925
  }, {
926
926
  default: P(() => [
927
927
  g("ul", wi, [
928
- (T(!0), I(N, null, q(f.checkboxes, ({ label: h, value: l }, v) => (T(), I("li", { key: v }, [
929
- C(pt, {
928
+ (T(!0), I(N, null, q(p.checkboxes, ({ label: f, value: l }, v) => (T(), I("li", { key: v }, [
929
+ C(ht, {
930
930
  modelValue: r.value,
931
931
  "onUpdate:modelValue": d[0] || (d[0] = (m) => r.value = m),
932
- label: h,
933
- name: f.name,
932
+ label: f,
933
+ name: p.name,
934
934
  type: "radio",
935
935
  val: l
936
936
  }, null, 8, ["modelValue", "label", "name", "val"])
@@ -963,16 +963,16 @@ const Ri = /* @__PURE__ */ oe(Pi, [["__scopeId", "data-v-d8d42a8a"]]), Di = /* @
963
963
  },
964
964
  emits: ["update:modelValue", "update:title"],
965
965
  setup(t, { emit: e }) {
966
- const o = t, i = e, u = o.id || St(), r = $e(""), f = $e(2);
966
+ const o = t, i = e, u = o.id || St(), r = $e(""), p = $e(2);
967
967
  function d() {
968
968
  i("update:modelValue", r.value);
969
969
  }
970
- Ge(f, (l) => {
970
+ Ge(p, (l) => {
971
971
  i("update:title", l);
972
972
  });
973
- const { t: h } = de();
973
+ const { t: f } = de();
974
974
  return yt(() => {
975
- o.modelValue && (r.value = o.modelValue), o.title && (f.value = o.title);
975
+ o.modelValue && (r.value = o.modelValue), o.title && (p.value = o.title);
976
976
  }), (l, v) => (T(), W(qt, {
977
977
  label: l.label,
978
978
  id: a(u),
@@ -990,31 +990,31 @@ const Ri = /* @__PURE__ */ oe(Pi, [["__scopeId", "data-v-d8d42a8a"]]), Di = /* @
990
990
  }, [
991
991
  l.excludeTitle ? w("", !0) : (T(), W(Ke, {
992
992
  key: 0,
993
- modelValue: f.value,
994
- "onUpdate:modelValue": v[0] || (v[0] = (m) => f.value = m),
993
+ modelValue: p.value,
994
+ "onUpdate:modelValue": v[0] || (v[0] = (m) => p.value = m),
995
995
  id: a(St)(),
996
996
  icon: l.icon,
997
997
  "icon-color": l.iconColor,
998
998
  "icon-type": l.iconType,
999
999
  options: [
1000
1000
  {
1001
- label: a(h)("booking.reservation.noNameTitle"),
1001
+ label: a(f)("booking.reservation.noNameTitle"),
1002
1002
  value: 1
1003
1003
  },
1004
1004
  {
1005
- label: a(h)("booking.reservation.nameTitleMr"),
1005
+ label: a(f)("booking.reservation.nameTitleMr"),
1006
1006
  value: 2
1007
1007
  },
1008
1008
  {
1009
- label: a(h)("booking.reservation.nameTitleMs"),
1009
+ label: a(f)("booking.reservation.nameTitleMs"),
1010
1010
  value: 3
1011
1011
  },
1012
1012
  {
1013
- label: a(h)("booking.reservation.nameTitleMrs"),
1013
+ label: a(f)("booking.reservation.nameTitleMrs"),
1014
1014
  value: 4
1015
1015
  },
1016
1016
  {
1017
- label: a(h)("booking.reservation.nameTitleDr"),
1017
+ label: a(f)("booking.reservation.nameTitleDr"),
1018
1018
  value: 5
1019
1019
  }
1020
1020
  ],
@@ -1139,7 +1139,7 @@ const tn = { key: 1 }, on = { key: 0 }, nn = {
1139
1139
  }, fn = {
1140
1140
  key: 2,
1141
1141
  id: "reservation-availability-next-dates"
1142
- }, hn = { class: "konnectio-hotel-availability-title" }, pn = { class: "reservation-special-offers-grid" }, mn = ["title"];
1142
+ }, pn = { class: "konnectio-hotel-availability-title" }, hn = { class: "reservation-special-offers-grid" }, mn = ["title"];
1143
1143
  const vn = {
1144
1144
  key: 2,
1145
1145
  class: "konnectio-listing-loading"
@@ -1162,9 +1162,9 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1162
1162
  countries: i,
1163
1163
  areListingsLoading: u,
1164
1164
  isPaymentLoading: r,
1165
- isReservationFormFilled: f,
1165
+ isReservationFormFilled: p,
1166
1166
  travelingFor: d,
1167
- arrivalTime: h,
1167
+ arrivalTime: f,
1168
1168
  departureTime: l,
1169
1169
  name: v,
1170
1170
  nameTitle: m,
@@ -1174,7 +1174,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1174
1174
  postal: b,
1175
1175
  city: c,
1176
1176
  address: n,
1177
- country: p,
1177
+ country: h,
1178
1178
  remark: _,
1179
1179
  allergies: S,
1180
1180
  newsMails: E,
@@ -1204,11 +1204,11 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1204
1204
  disableTravelingForBleasure: Xe,
1205
1205
  disableCompanyField: De,
1206
1206
  hasPaymentGateway: Me
1207
- } = Q(Ie()), { beginCheckout: he } = Ut(), {
1207
+ } = Q(Ie()), { beginCheckout: pe } = Ut(), {
1208
1208
  initialize: ie,
1209
1209
  resetTemplate: xe,
1210
1210
  resetDiscountVoucher: ye,
1211
- createReservation: pe
1211
+ createReservation: he
1212
1212
  } = ue(), We = $e(!0), ee = Y(() => {
1213
1213
  const M = [
1214
1214
  {
@@ -1250,16 +1250,16 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1250
1250
  G.value = new Date(V), D.value = new Date(M), location.reload();
1251
1251
  }
1252
1252
  async function fo(M) {
1253
- await pe(M);
1253
+ await he(M);
1254
1254
  }
1255
- function ho(M) {
1256
- ce.value && he(), F.value ? M(2) : M();
1255
+ function po(M) {
1256
+ ce.value && pe(), F.value ? M(2) : M();
1257
1257
  }
1258
- function po() {
1259
- h.value === "" && (h.value = fe.value), l.value === "" && (l.value = Oe.value);
1258
+ function ho() {
1259
+ f.value === "" && (f.value = fe.value), l.value === "" && (l.value = Oe.value);
1260
1260
  }
1261
1261
  return yt(() => {
1262
- ie(), po();
1262
+ ie(), ho();
1263
1263
  }), (M, V) => (T(), W(xo, { styling: M.styling }, {
1264
1264
  default: P(() => [
1265
1265
  (T(), W(Co, null, {
@@ -1337,7 +1337,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1337
1337
  ])) : a(H).nextAvailableDates.length === 0 ? (T(), I("div", cn, [
1338
1338
  g("span", null, A(a(e)("booking.availability.nothingAvailable")), 1)
1339
1339
  ])) : (T(), I("div", fn, [
1340
- g("h2", hn, [
1340
+ g("h2", pn, [
1341
1341
  C(te, {
1342
1342
  icon: "calendar-circle-exclamation",
1343
1343
  type: "fal",
@@ -1345,7 +1345,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1345
1345
  }),
1346
1346
  g("span", null, A(a(e)("booking.availability.nextAvailableDates")), 1)
1347
1347
  ]),
1348
- g("ul", pn, [
1348
+ g("ul", hn, [
1349
1349
  (T(!0), I(N, null, q(a(H).nextAvailableDates, (x, L) => (T(), I("li", { key: L }, [
1350
1350
  g("h3", {
1351
1351
  title: `${a(ae)(x.fromDate)} - ${a(ae)(x.toDate)}`
@@ -1380,7 +1380,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1380
1380
  disabled: !a(R),
1381
1381
  "is-loading": !1,
1382
1382
  "full-width": "",
1383
- onClickEvent: (x) => ho(X)
1383
+ onClickEvent: (x) => po(X)
1384
1384
  }, null, 8, ["label", "disabled", "onClickEvent"])
1385
1385
  ]),
1386
1386
  _: 2
@@ -1454,7 +1454,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1454
1454
  small: !0,
1455
1455
  "min-value": 0,
1456
1456
  "max-value": vo || 1 / 0
1457
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (T(), W(pt, {
1457
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (T(), W(ht, {
1458
1458
  key: 1,
1459
1459
  modelValue: a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
1460
1460
  "onUpdate:modelValue": (Ze) => a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
@@ -1502,8 +1502,8 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1502
1502
  }, [
1503
1503
  a(Ve) ? w("", !0) : (T(), I("li", Cn, [
1504
1504
  C(Lt, {
1505
- modelValue: a(h),
1506
- "onUpdate:modelValue": V[1] || (V[1] = (L) => j(h) ? h.value = L : null),
1505
+ modelValue: a(f),
1506
+ "onUpdate:modelValue": V[1] || (V[1] = (L) => j(f) ? f.value = L : null),
1507
1507
  label: a(e)("booking.reservation.arrivalTime"),
1508
1508
  icon: "hourglass-start",
1509
1509
  "hour-range": lo.value,
@@ -1543,7 +1543,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1543
1543
  placeholder: a(e)("booking.reservation.emailPlaceholder"),
1544
1544
  required: ""
1545
1545
  }, null, 8, ["modelValue", "label", "placeholder"]),
1546
- a(Le) ? w("", !0) : (T(), W(pt, {
1546
+ a(Le) ? w("", !0) : (T(), W(ht, {
1547
1547
  key: 1,
1548
1548
  modelValue: a(E),
1549
1549
  "onUpdate:modelValue": V[6] || (V[6] = (L) => j(E) ? E.value = L : null),
@@ -1571,8 +1571,8 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1571
1571
  required: ""
1572
1572
  }, null, 8, ["modelValue", "label", "placeholder"]),
1573
1573
  C(Hi, {
1574
- modelValue: a(p),
1575
- "onUpdate:modelValue": V[9] || (V[9] = (L) => j(p) ? p.value = L : null),
1574
+ modelValue: a(h),
1575
+ "onUpdate:modelValue": V[9] || (V[9] = (L) => j(h) ? h.value = L : null),
1576
1576
  label: a(e)("booking.reservation.country"),
1577
1577
  placeholder: a(e)("booking.reservation.countryPlaceholder"),
1578
1578
  options: a(i),
@@ -1647,7 +1647,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
1647
1647
  g("div", null, [
1648
1648
  C(Ee, {
1649
1649
  label: a(Me) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1650
- disabled: !a(f),
1650
+ disabled: !a(p),
1651
1651
  "is-loading": a(r),
1652
1652
  "full-width": "",
1653
1653
  onClickEvent: (L) => fo(X)
@@ -1699,28 +1699,28 @@ function bt() {
1699
1699
  var o = e.prototype;
1700
1700
  return o.on = function(i, u) {
1701
1701
  if (!(!i || !u)) {
1702
- var r = this._events = this._events || {}, f = r[i] = r[i] || [];
1703
- return f.indexOf(u) == -1 && f.push(u), this;
1702
+ var r = this._events = this._events || {}, p = r[i] = r[i] || [];
1703
+ return p.indexOf(u) == -1 && p.push(u), this;
1704
1704
  }
1705
1705
  }, o.once = function(i, u) {
1706
1706
  if (!(!i || !u)) {
1707
1707
  this.on(i, u);
1708
- var r = this._onceEvents = this._onceEvents || {}, f = r[i] = r[i] || {};
1709
- return f[u] = !0, this;
1708
+ var r = this._onceEvents = this._onceEvents || {}, p = r[i] = r[i] || {};
1709
+ return p[u] = !0, this;
1710
1710
  }
1711
1711
  }, o.off = function(i, u) {
1712
1712
  var r = this._events && this._events[i];
1713
1713
  if (!(!r || !r.length)) {
1714
- var f = r.indexOf(u);
1715
- return f != -1 && r.splice(f, 1), this;
1714
+ var p = r.indexOf(u);
1715
+ return p != -1 && r.splice(p, 1), this;
1716
1716
  }
1717
1717
  }, o.emitEvent = function(i, u) {
1718
1718
  var r = this._events && this._events[i];
1719
1719
  if (!(!r || !r.length)) {
1720
1720
  r = r.slice(0), u = u || [];
1721
- for (var f = this._onceEvents && this._onceEvents[i], d = 0; d < r.length; d++) {
1722
- var h = r[d], l = f && f[h];
1723
- l && (this.off(i, h), delete f[h]), h.apply(this, u);
1721
+ for (var p = this._onceEvents && this._onceEvents[i], d = 0; d < r.length; d++) {
1722
+ var f = r[d], l = p && p[f];
1723
+ l && (this.off(i, f), delete p[f]), f.apply(this, u);
1724
1724
  }
1725
1725
  return this;
1726
1726
  }
@@ -1763,7 +1763,7 @@ function kt() {
1763
1763
  "borderRightWidth",
1764
1764
  "borderTopWidth",
1765
1765
  "borderBottomWidth"
1766
- ], f = r.length;
1766
+ ], p = r.length;
1767
1767
  function d() {
1768
1768
  for (var s = {
1769
1769
  width: 0,
@@ -1772,13 +1772,13 @@ function kt() {
1772
1772
  innerHeight: 0,
1773
1773
  outerWidth: 0,
1774
1774
  outerHeight: 0
1775
- }, y = 0; y < f; y++) {
1775
+ }, y = 0; y < p; y++) {
1776
1776
  var b = r[y];
1777
1777
  s[b] = 0;
1778
1778
  }
1779
1779
  return s;
1780
1780
  }
1781
- function h(s) {
1781
+ function f(s) {
1782
1782
  var y = getComputedStyle(s);
1783
1783
  return y || u("Style returned " + y + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), y;
1784
1784
  }
@@ -1790,20 +1790,20 @@ function kt() {
1790
1790
  s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
1791
1791
  var y = document.body || document.documentElement;
1792
1792
  y.appendChild(s);
1793
- var b = h(s);
1793
+ var b = f(s);
1794
1794
  v = Math.round(o(b.width)) == 200, k.isBoxSizeOuter = v, y.removeChild(s);
1795
1795
  }
1796
1796
  }
1797
1797
  function k(s) {
1798
1798
  if (m(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
1799
- var y = h(s);
1799
+ var y = f(s);
1800
1800
  if (y.display == "none")
1801
1801
  return d();
1802
1802
  var b = {};
1803
1803
  b.width = s.offsetWidth, b.height = s.offsetHeight;
1804
- for (var c = b.isBorderBox = y.boxSizing == "border-box", n = 0; n < f; n++) {
1805
- var p = r[n], _ = y[p], S = parseFloat(_);
1806
- b[p] = isNaN(S) ? 0 : S;
1804
+ for (var c = b.isBorderBox = y.boxSizing == "border-box", n = 0; n < p; n++) {
1805
+ var h = r[n], _ = y[h], S = parseFloat(_);
1806
+ b[h] = isNaN(S) ? 0 : S;
1807
1807
  }
1808
1808
  var E = b.paddingLeft + b.paddingRight, $ = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, R = b.marginTop + b.marginBottom, H = b.borderLeftWidth + b.borderRightWidth, F = b.borderTopWidth + b.borderBottomWidth, D = c && v, G = o(y.width);
1809
1809
  G !== !1 && (b.width = G + // add padding and border unless it's already including it
@@ -1830,7 +1830,7 @@ function On() {
1830
1830
  if (i.matchesSelector)
1831
1831
  return "matchesSelector";
1832
1832
  for (var u = ["webkit", "moz", "ms", "o"], r = 0; r < u.length; r++) {
1833
- var f = u[r], d = f + "MatchesSelector";
1833
+ var p = u[r], d = p + "MatchesSelector";
1834
1834
  if (i[d])
1835
1835
  return d;
1836
1836
  }
@@ -1854,12 +1854,12 @@ function Vn() {
1854
1854
  );
1855
1855
  })(window, function(o, i) {
1856
1856
  var u = {};
1857
- u.extend = function(d, h) {
1858
- for (var l in h)
1859
- d[l] = h[l];
1857
+ u.extend = function(d, f) {
1858
+ for (var l in f)
1859
+ d[l] = f[l];
1860
1860
  return d;
1861
- }, u.modulo = function(d, h) {
1862
- return (d % h + h) % h;
1861
+ }, u.modulo = function(d, f) {
1862
+ return (d % f + f) % f;
1863
1863
  };
1864
1864
  var r = Array.prototype.slice;
1865
1865
  u.makeArray = function(d) {
@@ -1867,38 +1867,38 @@ function Vn() {
1867
1867
  return d;
1868
1868
  if (d == null)
1869
1869
  return [];
1870
- var h = typeof d == "object" && typeof d.length == "number";
1871
- return h ? r.call(d) : [d];
1872
- }, u.removeFrom = function(d, h) {
1873
- var l = d.indexOf(h);
1870
+ var f = typeof d == "object" && typeof d.length == "number";
1871
+ return f ? r.call(d) : [d];
1872
+ }, u.removeFrom = function(d, f) {
1873
+ var l = d.indexOf(f);
1874
1874
  l != -1 && d.splice(l, 1);
1875
- }, u.getParent = function(d, h) {
1875
+ }, u.getParent = function(d, f) {
1876
1876
  for (; d.parentNode && d != document.body; )
1877
- if (d = d.parentNode, i(d, h))
1877
+ if (d = d.parentNode, i(d, f))
1878
1878
  return d;
1879
1879
  }, u.getQueryElement = function(d) {
1880
1880
  return typeof d == "string" ? document.querySelector(d) : d;
1881
1881
  }, u.handleEvent = function(d) {
1882
- var h = "on" + d.type;
1883
- this[h] && this[h](d);
1884
- }, u.filterFindElements = function(d, h) {
1882
+ var f = "on" + d.type;
1883
+ this[f] && this[f](d);
1884
+ }, u.filterFindElements = function(d, f) {
1885
1885
  d = u.makeArray(d);
1886
1886
  var l = [];
1887
1887
  return d.forEach(function(v) {
1888
1888
  if (v instanceof HTMLElement) {
1889
- if (!h) {
1889
+ if (!f) {
1890
1890
  l.push(v);
1891
1891
  return;
1892
1892
  }
1893
- i(v, h) && l.push(v);
1894
- for (var m = v.querySelectorAll(h), k = 0; k < m.length; k++)
1893
+ i(v, f) && l.push(v);
1894
+ for (var m = v.querySelectorAll(f), k = 0; k < m.length; k++)
1895
1895
  l.push(m[k]);
1896
1896
  }
1897
1897
  }), l;
1898
- }, u.debounceMethod = function(d, h, l) {
1898
+ }, u.debounceMethod = function(d, f, l) {
1899
1899
  l = l || 100;
1900
- var v = d.prototype[h], m = h + "Timeout";
1901
- d.prototype[h] = function() {
1900
+ var v = d.prototype[f], m = f + "Timeout";
1901
+ d.prototype[f] = function() {
1902
1902
  var k = this[m];
1903
1903
  clearTimeout(k);
1904
1904
  var s = arguments, y = this;
@@ -1907,27 +1907,27 @@ function Vn() {
1907
1907
  }, l);
1908
1908
  };
1909
1909
  }, u.docReady = function(d) {
1910
- var h = document.readyState;
1911
- h == "complete" || h == "interactive" ? setTimeout(d) : document.addEventListener("DOMContentLoaded", d);
1910
+ var f = document.readyState;
1911
+ f == "complete" || f == "interactive" ? setTimeout(d) : document.addEventListener("DOMContentLoaded", d);
1912
1912
  }, u.toDashed = function(d) {
1913
- return d.replace(/(.)([A-Z])/g, function(h, l, v) {
1913
+ return d.replace(/(.)([A-Z])/g, function(f, l, v) {
1914
1914
  return l + "-" + v;
1915
1915
  }).toLowerCase();
1916
1916
  };
1917
- var f = o.console;
1918
- return u.htmlInit = function(d, h) {
1917
+ var p = o.console;
1918
+ return u.htmlInit = function(d, f) {
1919
1919
  u.docReady(function() {
1920
- var l = u.toDashed(h), v = "data-" + l, m = document.querySelectorAll("[" + v + "]"), k = document.querySelectorAll(".js-" + l), s = u.makeArray(m).concat(u.makeArray(k)), y = v + "-options", b = o.jQuery;
1920
+ var l = u.toDashed(f), v = "data-" + l, m = document.querySelectorAll("[" + v + "]"), k = document.querySelectorAll(".js-" + l), s = u.makeArray(m).concat(u.makeArray(k)), y = v + "-options", b = o.jQuery;
1921
1921
  s.forEach(function(c) {
1922
- var n = c.getAttribute(v) || c.getAttribute(y), p;
1922
+ var n = c.getAttribute(v) || c.getAttribute(y), h;
1923
1923
  try {
1924
- p = n && JSON.parse(n);
1924
+ h = n && JSON.parse(n);
1925
1925
  } catch (S) {
1926
- f && f.error("Error parsing " + v + " on " + c.className + ": " + S);
1926
+ p && p.error("Error parsing " + v + " on " + c.className + ": " + S);
1927
1927
  return;
1928
1928
  }
1929
- var _ = new d(c, p);
1930
- b && b.data(c, h, _);
1929
+ var _ = new d(c, h);
1930
+ b && b.data(c, f, _);
1931
1931
  });
1932
1932
  });
1933
1933
  }, u;
@@ -1951,15 +1951,15 @@ function Hn() {
1951
1951
  return !1;
1952
1952
  return n = null, !0;
1953
1953
  }
1954
- var r = document.documentElement.style, f = typeof r.transition == "string" ? "transition" : "WebkitTransition", d = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
1954
+ var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition", d = typeof r.transform == "string" ? "transform" : "WebkitTransform", f = {
1955
1955
  WebkitTransition: "webkitTransitionEnd",
1956
1956
  transition: "transitionend"
1957
- }[f], l = {
1957
+ }[p], l = {
1958
1958
  transform: d,
1959
- transition: f,
1960
- transitionDuration: f + "Duration",
1961
- transitionProperty: f + "Property",
1962
- transitionDelay: f + "Delay"
1959
+ transition: p,
1960
+ transitionDuration: p + "Duration",
1961
+ transitionProperty: p + "Property",
1962
+ transitionDelay: p + "Delay"
1963
1963
  };
1964
1964
  function v(c, n) {
1965
1965
  c && (this.element = c, this.layout = n, this.position = {
@@ -1983,15 +1983,15 @@ function Hn() {
1983
1983
  this.size = i(this.element);
1984
1984
  }, m.css = function(c) {
1985
1985
  var n = this.element.style;
1986
- for (var p in c) {
1987
- var _ = l[p] || p;
1988
- n[_] = c[p];
1986
+ for (var h in c) {
1987
+ var _ = l[h] || h;
1988
+ n[_] = c[h];
1989
1989
  }
1990
1990
  }, m.getPosition = function() {
1991
- var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), _ = c[n ? "left" : "right"], S = c[p ? "top" : "bottom"], E = parseFloat(_), $ = parseFloat(S), O = this.layout.size;
1992
- _.indexOf("%") != -1 && (E = E / 100 * O.width), S.indexOf("%") != -1 && ($ = $ / 100 * O.height), E = isNaN(E) ? 0 : E, $ = isNaN($) ? 0 : $, E -= n ? O.paddingLeft : O.paddingRight, $ -= p ? O.paddingTop : O.paddingBottom, this.position.x = E, this.position.y = $;
1991
+ var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), h = this.layout._getOption("originTop"), _ = c[n ? "left" : "right"], S = c[h ? "top" : "bottom"], E = parseFloat(_), $ = parseFloat(S), O = this.layout.size;
1992
+ _.indexOf("%") != -1 && (E = E / 100 * O.width), S.indexOf("%") != -1 && ($ = $ / 100 * O.height), E = isNaN(E) ? 0 : E, $ = isNaN($) ? 0 : $, E -= n ? O.paddingLeft : O.paddingRight, $ -= h ? O.paddingTop : O.paddingBottom, this.position.x = E, this.position.y = $;
1993
1993
  }, m.layoutPosition = function() {
1994
- var c = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"), S = p ? "paddingLeft" : "paddingRight", E = p ? "left" : "right", $ = p ? "right" : "left", O = this.position.x + c[S];
1994
+ var c = this.layout.size, n = {}, h = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"), S = h ? "paddingLeft" : "paddingRight", E = h ? "left" : "right", $ = h ? "right" : "left", O = this.position.x + c[S];
1995
1995
  n[E] = this.getXValue(O), n[$] = "";
1996
1996
  var R = _ ? "paddingTop" : "paddingBottom", H = _ ? "top" : "bottom", F = _ ? "bottom" : "top", D = this.position.y + c[R];
1997
1997
  n[H] = this.getYValue(D), n[F] = "", this.css(n), this.emitEvent("layout", [this]);
@@ -2003,12 +2003,12 @@ function Hn() {
2003
2003
  return this.layout.options.percentPosition && n ? c / this.layout.size.height * 100 + "%" : c + "px";
2004
2004
  }, m._transitionTo = function(c, n) {
2005
2005
  this.getPosition();
2006
- var p = this.position.x, _ = this.position.y, S = c == this.position.x && n == this.position.y;
2006
+ var h = this.position.x, _ = this.position.y, S = c == this.position.x && n == this.position.y;
2007
2007
  if (this.setPosition(c, n), S && !this.isTransitioning) {
2008
2008
  this.layoutPosition();
2009
2009
  return;
2010
2010
  }
2011
- var E = c - p, $ = n - _, O = {};
2011
+ var E = c - h, $ = n - _, O = {};
2012
2012
  O.transform = this.getTranslate(E, $), this.transition({
2013
2013
  to: O,
2014
2014
  onTransitionEnd: {
@@ -2017,8 +2017,8 @@ function Hn() {
2017
2017
  isCleaning: !0
2018
2018
  });
2019
2019
  }, m.getTranslate = function(c, n) {
2020
- var p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop");
2021
- return c = p ? c : -c, n = _ ? n : -n, "translate3d(" + c + "px, " + n + "px, 0)";
2020
+ var h = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop");
2021
+ return c = h ? c : -c, n = _ ? n : -n, "translate3d(" + c + "px, " + n + "px, 0)";
2022
2022
  }, m.goTo = function(c, n) {
2023
2023
  this.setPosition(c, n), this.layoutPosition();
2024
2024
  }, m.moveTo = m._transitionTo, m.setPosition = function(c, n) {
@@ -2033,10 +2033,10 @@ function Hn() {
2033
2033
  return;
2034
2034
  }
2035
2035
  var n = this._transn;
2036
- for (var p in c.onTransitionEnd)
2037
- n.onEnd[p] = c.onTransitionEnd[p];
2038
- for (p in c.to)
2039
- n.ingProperties[p] = !0, c.isCleaning && (n.clean[p] = !0);
2036
+ for (var h in c.onTransitionEnd)
2037
+ n.onEnd[h] = c.onTransitionEnd[h];
2038
+ for (h in c.to)
2039
+ n.ingProperties[h] = !0, c.isCleaning && (n.clean[h] = !0);
2040
2040
  c.from && (this.css(c.from), this.element.offsetHeight), this.enableTransition(c.to), this.css(c.to), this.isTransitioning = !0;
2041
2041
  };
2042
2042
  function k(c) {
@@ -2052,7 +2052,7 @@ function Hn() {
2052
2052
  transitionProperty: s,
2053
2053
  transitionDuration: c,
2054
2054
  transitionDelay: this.staggerDelay || 0
2055
- }), this.element.addEventListener(h, this, !1);
2055
+ }), this.element.addEventListener(f, this, !1);
2056
2056
  }
2057
2057
  }, m.onwebkitTransitionEnd = function(c) {
2058
2058
  this.ontransitionend(c);
@@ -2064,19 +2064,19 @@ function Hn() {
2064
2064
  };
2065
2065
  m.ontransitionend = function(c) {
2066
2066
  if (c.target === this.element) {
2067
- var n = this._transn, p = y[c.propertyName] || c.propertyName;
2068
- if (delete n.ingProperties[p], u(n.ingProperties) && this.disableTransition(), p in n.clean && (this.element.style[c.propertyName] = "", delete n.clean[p]), p in n.onEnd) {
2069
- var _ = n.onEnd[p];
2070
- _.call(this), delete n.onEnd[p];
2067
+ var n = this._transn, h = y[c.propertyName] || c.propertyName;
2068
+ if (delete n.ingProperties[h], u(n.ingProperties) && this.disableTransition(), h in n.clean && (this.element.style[c.propertyName] = "", delete n.clean[h]), h in n.onEnd) {
2069
+ var _ = n.onEnd[h];
2070
+ _.call(this), delete n.onEnd[h];
2071
2071
  }
2072
2072
  this.emitEvent("transitionEnd", [this]);
2073
2073
  }
2074
2074
  }, m.disableTransition = function() {
2075
- this.removeTransitionStyles(), this.element.removeEventListener(h, this, !1), this.isTransitioning = !1;
2075
+ this.removeTransitionStyles(), this.element.removeEventListener(f, this, !1), this.isTransitioning = !1;
2076
2076
  }, m._removeStyles = function(c) {
2077
2077
  var n = {};
2078
- for (var p in c)
2079
- n[p] = "";
2078
+ for (var h in c)
2079
+ n[h] = "";
2080
2080
  this.css(n);
2081
2081
  };
2082
2082
  var b = {
@@ -2091,7 +2091,7 @@ function Hn() {
2091
2091
  }, m.removeElem = function() {
2092
2092
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
2093
2093
  }, m.remove = function() {
2094
- if (!f || !parseFloat(this.layout.options.transitionDuration)) {
2094
+ if (!p || !parseFloat(this.layout.options.transitionDuration)) {
2095
2095
  this.removeElem();
2096
2096
  return;
2097
2097
  }
@@ -2100,8 +2100,8 @@ function Hn() {
2100
2100
  }), this.hide();
2101
2101
  }, m.reveal = function() {
2102
2102
  delete this.isHidden, this.css({ display: "" });
2103
- var c = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("visibleStyle");
2104
- n[p] = this.onRevealTransitionEnd, this.transition({
2103
+ var c = this.layout.options, n = {}, h = this.getHideRevealTransitionEndProperty("visibleStyle");
2104
+ n[h] = this.onRevealTransitionEnd, this.transition({
2105
2105
  from: c.hiddenStyle,
2106
2106
  to: c.visibleStyle,
2107
2107
  isCleaning: !0,
@@ -2113,12 +2113,12 @@ function Hn() {
2113
2113
  var n = this.layout.options[c];
2114
2114
  if (n.opacity)
2115
2115
  return "opacity";
2116
- for (var p in n)
2117
- return p;
2116
+ for (var h in n)
2117
+ return h;
2118
2118
  }, m.hide = function() {
2119
2119
  this.isHidden = !0, this.css({ display: "" });
2120
- var c = this.layout.options, n = {}, p = this.getHideRevealTransitionEndProperty("hiddenStyle");
2121
- n[p] = this.onHideTransitionEnd, this.transition({
2120
+ var c = this.layout.options, n = {}, h = this.getHideRevealTransitionEndProperty("hiddenStyle");
2121
+ n[h] = this.onHideTransitionEnd, this.transition({
2122
2122
  from: c.visibleStyle,
2123
2123
  to: c.hiddenStyle,
2124
2124
  // keep hidden stuff hidden
@@ -2163,22 +2163,22 @@ function wn() {
2163
2163
  e.fizzyUIUtils,
2164
2164
  e.Outlayer.Item
2165
2165
  );
2166
- })(window, function(o, i, u, r, f) {
2167
- var d = o.console, h = o.jQuery, l = function() {
2166
+ })(window, function(o, i, u, r, p) {
2167
+ var d = o.console, f = o.jQuery, l = function() {
2168
2168
  }, v = 0, m = {};
2169
- function k(n, p) {
2169
+ function k(n, h) {
2170
2170
  var _ = r.getQueryElement(n);
2171
2171
  if (!_) {
2172
2172
  d && d.error("Bad element for " + this.constructor.namespace + ": " + (_ || n));
2173
2173
  return;
2174
2174
  }
2175
- this.element = _, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(p);
2175
+ this.element = _, f && (this.$element = f(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(h);
2176
2176
  var S = ++v;
2177
2177
  this.element.outlayerGUID = S, m[S] = this, this._create();
2178
2178
  var E = this._getOption("initLayout");
2179
2179
  E && this.layout();
2180
2180
  }
2181
- k.namespace = "outlayer", k.Item = f, k.defaults = {
2181
+ k.namespace = "outlayer", k.Item = p, k.defaults = {
2182
2182
  containerStyle: {
2183
2183
  position: "relative"
2184
2184
  },
@@ -2202,8 +2202,8 @@ function wn() {
2202
2202
  r.extend(s, i.prototype), s.option = function(n) {
2203
2203
  r.extend(this.options, n);
2204
2204
  }, s._getOption = function(n) {
2205
- var p = this.constructor.compatOptions[n];
2206
- return p && this.options[p] !== void 0 ? this.options[p] : this.options[n];
2205
+ var h = this.constructor.compatOptions[n];
2206
+ return h && this.options[h] !== void 0 ? this.options[h] : this.options[n];
2207
2207
  }, k.compatOptions = {
2208
2208
  // currentName: oldName
2209
2209
  initLayout: "isInitLayout",
@@ -2220,8 +2220,8 @@ function wn() {
2220
2220
  }, s.reloadItems = function() {
2221
2221
  this.items = this._itemize(this.element.children);
2222
2222
  }, s._itemize = function(n) {
2223
- for (var p = this._filterFindItemElements(n), _ = this.constructor.Item, S = [], E = 0; E < p.length; E++) {
2224
- var $ = p[E], O = new _($, this);
2223
+ for (var h = this._filterFindItemElements(n), _ = this.constructor.Item, S = [], E = 0; E < h.length; E++) {
2224
+ var $ = h[E], O = new _($, this);
2225
2225
  S.push(O);
2226
2226
  }
2227
2227
  return S;
@@ -2233,27 +2233,27 @@ function wn() {
2233
2233
  });
2234
2234
  }, s.layout = function() {
2235
2235
  this._resetLayout(), this._manageStamps();
2236
- var n = this._getOption("layoutInstant"), p = n !== void 0 ? n : !this._isLayoutInited;
2237
- this.layoutItems(this.items, p), this._isLayoutInited = !0;
2236
+ var n = this._getOption("layoutInstant"), h = n !== void 0 ? n : !this._isLayoutInited;
2237
+ this.layoutItems(this.items, h), this._isLayoutInited = !0;
2238
2238
  }, s._init = s.layout, s._resetLayout = function() {
2239
2239
  this.getSize();
2240
2240
  }, s.getSize = function() {
2241
2241
  this.size = u(this.element);
2242
- }, s._getMeasurement = function(n, p) {
2242
+ }, s._getMeasurement = function(n, h) {
2243
2243
  var _ = this.options[n], S;
2244
- _ ? (typeof _ == "string" ? S = this.element.querySelector(_) : _ instanceof HTMLElement && (S = _), this[n] = S ? u(S)[p] : _) : this[n] = 0;
2245
- }, s.layoutItems = function(n, p) {
2246
- n = this._getItemsForLayout(n), this._layoutItems(n, p), this._postLayout();
2244
+ _ ? (typeof _ == "string" ? S = this.element.querySelector(_) : _ instanceof HTMLElement && (S = _), this[n] = S ? u(S)[h] : _) : this[n] = 0;
2245
+ }, s.layoutItems = function(n, h) {
2246
+ n = this._getItemsForLayout(n), this._layoutItems(n, h), this._postLayout();
2247
2247
  }, s._getItemsForLayout = function(n) {
2248
- return n.filter(function(p) {
2249
- return !p.isIgnored;
2248
+ return n.filter(function(h) {
2249
+ return !h.isIgnored;
2250
2250
  });
2251
- }, s._layoutItems = function(n, p) {
2251
+ }, s._layoutItems = function(n, h) {
2252
2252
  if (this._emitCompleteOnItems("layout", n), !(!n || !n.length)) {
2253
2253
  var _ = [];
2254
2254
  n.forEach(function(S) {
2255
2255
  var E = this._getItemLayoutPosition(S);
2256
- E.item = S, E.isInstant = p || S.isLayoutInstant, _.push(E);
2256
+ E.item = S, E.isInstant = h || S.isLayoutInstant, _.push(E);
2257
2257
  }, this), this._processLayoutQueue(_);
2258
2258
  }
2259
2259
  }, s._getItemLayoutPosition = function() {
@@ -2262,8 +2262,8 @@ function wn() {
2262
2262
  y: 0
2263
2263
  };
2264
2264
  }, s._processLayoutQueue = function(n) {
2265
- this.updateStagger(), n.forEach(function(p, _) {
2266
- this._positionItem(p.item, p.x, p.y, p.isInstant, _);
2265
+ this.updateStagger(), n.forEach(function(h, _) {
2266
+ this._positionItem(h.item, h.x, h.y, h.isInstant, _);
2267
2267
  }, this);
2268
2268
  }, s.updateStagger = function() {
2269
2269
  var n = this.options.stagger;
@@ -2272,28 +2272,28 @@ function wn() {
2272
2272
  return;
2273
2273
  }
2274
2274
  return this.stagger = c(n), this.stagger;
2275
- }, s._positionItem = function(n, p, _, S, E) {
2276
- S ? n.goTo(p, _) : (n.stagger(E * this.stagger), n.moveTo(p, _));
2275
+ }, s._positionItem = function(n, h, _, S, E) {
2276
+ S ? n.goTo(h, _) : (n.stagger(E * this.stagger), n.moveTo(h, _));
2277
2277
  }, s._postLayout = function() {
2278
2278
  this.resizeContainer();
2279
2279
  }, s.resizeContainer = function() {
2280
2280
  var n = this._getOption("resizeContainer");
2281
2281
  if (n) {
2282
- var p = this._getContainerSize();
2283
- p && (this._setContainerMeasure(p.width, !0), this._setContainerMeasure(p.height, !1));
2282
+ var h = this._getContainerSize();
2283
+ h && (this._setContainerMeasure(h.width, !0), this._setContainerMeasure(h.height, !1));
2284
2284
  }
2285
- }, s._getContainerSize = l, s._setContainerMeasure = function(n, p) {
2285
+ }, s._getContainerSize = l, s._setContainerMeasure = function(n, h) {
2286
2286
  if (n !== void 0) {
2287
2287
  var _ = this.size;
2288
- _.isBorderBox && (n += p ? _.paddingLeft + _.paddingRight + _.borderLeftWidth + _.borderRightWidth : _.paddingBottom + _.paddingTop + _.borderTopWidth + _.borderBottomWidth), n = Math.max(n, 0), this.element.style[p ? "width" : "height"] = n + "px";
2288
+ _.isBorderBox && (n += h ? _.paddingLeft + _.paddingRight + _.borderLeftWidth + _.borderRightWidth : _.paddingBottom + _.paddingTop + _.borderTopWidth + _.borderBottomWidth), n = Math.max(n, 0), this.element.style[h ? "width" : "height"] = n + "px";
2289
2289
  }
2290
- }, s._emitCompleteOnItems = function(n, p) {
2290
+ }, s._emitCompleteOnItems = function(n, h) {
2291
2291
  var _ = this;
2292
2292
  function S() {
2293
- _.dispatchEvent(n + "Complete", null, [p]);
2293
+ _.dispatchEvent(n + "Complete", null, [h]);
2294
2294
  }
2295
- var E = p.length;
2296
- if (!p || !E) {
2295
+ var E = h.length;
2296
+ if (!h || !E) {
2297
2297
  S();
2298
2298
  return;
2299
2299
  }
@@ -2301,28 +2301,28 @@ function wn() {
2301
2301
  function O() {
2302
2302
  $++, $ == E && S();
2303
2303
  }
2304
- p.forEach(function(R) {
2304
+ h.forEach(function(R) {
2305
2305
  R.once(n, O);
2306
2306
  });
2307
- }, s.dispatchEvent = function(n, p, _) {
2308
- var S = p ? [p].concat(_) : _;
2309
- if (this.emitEvent(n, S), h)
2310
- if (this.$element = this.$element || h(this.element), p) {
2311
- var E = h.Event(p);
2307
+ }, s.dispatchEvent = function(n, h, _) {
2308
+ var S = h ? [h].concat(_) : _;
2309
+ if (this.emitEvent(n, S), f)
2310
+ if (this.$element = this.$element || f(this.element), h) {
2311
+ var E = f.Event(h);
2312
2312
  E.type = n, this.$element.trigger(E, _);
2313
2313
  } else
2314
2314
  this.$element.trigger(n, _);
2315
2315
  }, s.ignore = function(n) {
2316
- var p = this.getItem(n);
2317
- p && (p.isIgnored = !0);
2316
+ var h = this.getItem(n);
2317
+ h && (h.isIgnored = !0);
2318
2318
  }, s.unignore = function(n) {
2319
- var p = this.getItem(n);
2320
- p && delete p.isIgnored;
2319
+ var h = this.getItem(n);
2320
+ h && delete h.isIgnored;
2321
2321
  }, s.stamp = function(n) {
2322
2322
  n = this._find(n), n && (this.stamps = this.stamps.concat(n), n.forEach(this.ignore, this));
2323
2323
  }, s.unstamp = function(n) {
2324
- n = this._find(n), n && n.forEach(function(p) {
2325
- r.removeFrom(this.stamps, p), this.unignore(p);
2324
+ n = this._find(n), n && n.forEach(function(h) {
2325
+ r.removeFrom(this.stamps, h), this.unignore(h);
2326
2326
  }, this);
2327
2327
  }, s._find = function(n) {
2328
2328
  if (n)
@@ -2330,19 +2330,19 @@ function wn() {
2330
2330
  }, s._manageStamps = function() {
2331
2331
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
2332
2332
  }, s._getBoundingRect = function() {
2333
- var n = this.element.getBoundingClientRect(), p = this.size;
2333
+ var n = this.element.getBoundingClientRect(), h = this.size;
2334
2334
  this._boundingRect = {
2335
- left: n.left + p.paddingLeft + p.borderLeftWidth,
2336
- top: n.top + p.paddingTop + p.borderTopWidth,
2337
- right: n.right - (p.paddingRight + p.borderRightWidth),
2338
- bottom: n.bottom - (p.paddingBottom + p.borderBottomWidth)
2335
+ left: n.left + h.paddingLeft + h.borderLeftWidth,
2336
+ top: n.top + h.paddingTop + h.borderTopWidth,
2337
+ right: n.right - (h.paddingRight + h.borderRightWidth),
2338
+ bottom: n.bottom - (h.paddingBottom + h.borderBottomWidth)
2339
2339
  };
2340
2340
  }, s._manageStamp = l, s._getElementOffset = function(n) {
2341
- var p = n.getBoundingClientRect(), _ = this._boundingRect, S = u(n), E = {
2342
- left: p.left - _.left - S.marginLeft,
2343
- top: p.top - _.top - S.marginTop,
2344
- right: _.right - p.right - S.marginRight,
2345
- bottom: _.bottom - p.bottom - S.marginBottom
2341
+ var h = n.getBoundingClientRect(), _ = this._boundingRect, S = u(n), E = {
2342
+ left: h.left - _.left - S.marginLeft,
2343
+ top: h.top - _.top - S.marginTop,
2344
+ right: _.right - h.right - S.marginRight,
2345
+ bottom: _.bottom - h.bottom - S.marginBottom
2346
2346
  };
2347
2347
  return E;
2348
2348
  }, s.handleEvent = r.handleEvent, s.bindResize = function() {
@@ -2354,56 +2354,56 @@ function wn() {
2354
2354
  }, r.debounceMethod(k, "onresize", 100), s.resize = function() {
2355
2355
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2356
2356
  }, s.needsResizeLayout = function() {
2357
- var n = u(this.element), p = this.size && n;
2358
- return p && n.innerWidth !== this.size.innerWidth;
2357
+ var n = u(this.element), h = this.size && n;
2358
+ return h && n.innerWidth !== this.size.innerWidth;
2359
2359
  }, s.addItems = function(n) {
2360
- var p = this._itemize(n);
2361
- return p.length && (this.items = this.items.concat(p)), p;
2360
+ var h = this._itemize(n);
2361
+ return h.length && (this.items = this.items.concat(h)), h;
2362
2362
  }, s.appended = function(n) {
2363
- var p = this.addItems(n);
2364
- p.length && (this.layoutItems(p, !0), this.reveal(p));
2363
+ var h = this.addItems(n);
2364
+ h.length && (this.layoutItems(h, !0), this.reveal(h));
2365
2365
  }, s.prepended = function(n) {
2366
- var p = this._itemize(n);
2367
- if (p.length) {
2366
+ var h = this._itemize(n);
2367
+ if (h.length) {
2368
2368
  var _ = this.items.slice(0);
2369
- this.items = p.concat(_), this._resetLayout(), this._manageStamps(), this.layoutItems(p, !0), this.reveal(p), this.layoutItems(_);
2369
+ this.items = h.concat(_), this._resetLayout(), this._manageStamps(), this.layoutItems(h, !0), this.reveal(h), this.layoutItems(_);
2370
2370
  }
2371
2371
  }, s.reveal = function(n) {
2372
2372
  if (this._emitCompleteOnItems("reveal", n), !(!n || !n.length)) {
2373
- var p = this.updateStagger();
2373
+ var h = this.updateStagger();
2374
2374
  n.forEach(function(_, S) {
2375
- _.stagger(S * p), _.reveal();
2375
+ _.stagger(S * h), _.reveal();
2376
2376
  });
2377
2377
  }
2378
2378
  }, s.hide = function(n) {
2379
2379
  if (this._emitCompleteOnItems("hide", n), !(!n || !n.length)) {
2380
- var p = this.updateStagger();
2380
+ var h = this.updateStagger();
2381
2381
  n.forEach(function(_, S) {
2382
- _.stagger(S * p), _.hide();
2382
+ _.stagger(S * h), _.hide();
2383
2383
  });
2384
2384
  }
2385
2385
  }, s.revealItemElements = function(n) {
2386
- var p = this.getItems(n);
2387
- this.reveal(p);
2386
+ var h = this.getItems(n);
2387
+ this.reveal(h);
2388
2388
  }, s.hideItemElements = function(n) {
2389
- var p = this.getItems(n);
2390
- this.hide(p);
2389
+ var h = this.getItems(n);
2390
+ this.hide(h);
2391
2391
  }, s.getItem = function(n) {
2392
- for (var p = 0; p < this.items.length; p++) {
2393
- var _ = this.items[p];
2392
+ for (var h = 0; h < this.items.length; h++) {
2393
+ var _ = this.items[h];
2394
2394
  if (_.element == n)
2395
2395
  return _;
2396
2396
  }
2397
2397
  }, s.getItems = function(n) {
2398
2398
  n = r.makeArray(n);
2399
- var p = [];
2399
+ var h = [];
2400
2400
  return n.forEach(function(_) {
2401
2401
  var S = this.getItem(_);
2402
- S && p.push(S);
2403
- }, this), p;
2402
+ S && h.push(S);
2403
+ }, this), h;
2404
2404
  }, s.remove = function(n) {
2405
- var p = this.getItems(n);
2406
- this._emitCompleteOnItems("remove", p), !(!p || !p.length) && p.forEach(function(_) {
2405
+ var h = this.getItems(n);
2406
+ this._emitCompleteOnItems("remove", h), !(!h || !h.length) && h.forEach(function(_) {
2407
2407
  _.remove(), r.removeFrom(this.items, _);
2408
2408
  }, this);
2409
2409
  }, s.destroy = function() {
@@ -2411,21 +2411,21 @@ function wn() {
2411
2411
  n.height = "", n.position = "", n.width = "", this.items.forEach(function(_) {
2412
2412
  _.destroy();
2413
2413
  }), this.unbindResize();
2414
- var p = this.element.outlayerGUID;
2415
- delete m[p], delete this.element.outlayerGUID, h && h.removeData(this.element, this.constructor.namespace);
2414
+ var h = this.element.outlayerGUID;
2415
+ delete m[h], delete this.element.outlayerGUID, f && f.removeData(this.element, this.constructor.namespace);
2416
2416
  }, k.data = function(n) {
2417
2417
  n = r.getQueryElement(n);
2418
- var p = n && n.outlayerGUID;
2419
- return p && m[p];
2420
- }, k.create = function(n, p) {
2418
+ var h = n && n.outlayerGUID;
2419
+ return h && m[h];
2420
+ }, k.create = function(n, h) {
2421
2421
  var _ = y(k);
2422
- return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults, p), _.compatOptions = r.extend({}, k.compatOptions), _.namespace = n, _.data = k.data, _.Item = y(f), r.htmlInit(_, n), h && h.bridget && h.bridget(n, _), _;
2422
+ return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults, h), _.compatOptions = r.extend({}, k.compatOptions), _.namespace = n, _.data = k.data, _.Item = y(p), r.htmlInit(_, n), f && f.bridget && f.bridget(n, _), _;
2423
2423
  };
2424
2424
  function y(n) {
2425
- function p() {
2425
+ function h() {
2426
2426
  n.apply(this, arguments);
2427
2427
  }
2428
- return p.prototype = Object.create(n.prototype), p.prototype.constructor = p, p;
2428
+ return h.prototype = Object.create(n.prototype), h.prototype.constructor = h, h;
2429
2429
  }
2430
2430
  var b = {
2431
2431
  ms: 1,
@@ -2434,14 +2434,14 @@ function wn() {
2434
2434
  function c(n) {
2435
2435
  if (typeof n == "number")
2436
2436
  return n;
2437
- var p = n.match(/(^\d*\.?\d*)(\w*)/), _ = p && p[1], S = p && p[2];
2437
+ var h = n.match(/(^\d*\.?\d*)(\w*)/), _ = h && h[1], S = h && h[2];
2438
2438
  if (!_.length)
2439
2439
  return 0;
2440
2440
  _ = parseFloat(_);
2441
2441
  var E = b[S] || 1;
2442
2442
  return _ * E;
2443
2443
  }
2444
- return k.Item = f, k;
2444
+ return k.Item = p, k;
2445
2445
  });
2446
2446
  }(it)), it.exports;
2447
2447
  }
@@ -2467,75 +2467,75 @@ function wn() {
2467
2467
  var r = u.prototype;
2468
2468
  return r._resetLayout = function() {
2469
2469
  this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
2470
- for (var f = 0; f < this.cols; f++)
2470
+ for (var p = 0; p < this.cols; p++)
2471
2471
  this.colYs.push(0);
2472
2472
  this.maxY = 0, this.horizontalColIndex = 0;
2473
2473
  }, r.measureColumns = function() {
2474
2474
  if (this.getContainerWidth(), !this.columnWidth) {
2475
- var f = this.items[0], d = f && f.element;
2475
+ var p = this.items[0], d = p && p.element;
2476
2476
  this.columnWidth = d && i(d).outerWidth || // if first elem has no width, default to size of container
2477
2477
  this.containerWidth;
2478
2478
  }
2479
- var h = this.columnWidth += this.gutter, l = this.containerWidth + this.gutter, v = l / h, m = h - l % h, k = m && m < 1 ? "round" : "floor";
2479
+ var f = this.columnWidth += this.gutter, l = this.containerWidth + this.gutter, v = l / f, m = f - l % f, k = m && m < 1 ? "round" : "floor";
2480
2480
  v = Math[k](v), this.cols = Math.max(v, 1);
2481
2481
  }, r.getContainerWidth = function() {
2482
- var f = this._getOption("fitWidth"), d = f ? this.element.parentNode : this.element, h = i(d);
2483
- this.containerWidth = h && h.innerWidth;
2484
- }, r._getItemLayoutPosition = function(f) {
2485
- f.getSize();
2486
- var d = f.size.outerWidth % this.columnWidth, h = d && d < 1 ? "round" : "ceil", l = Math[h](f.size.outerWidth / this.columnWidth);
2482
+ var p = this._getOption("fitWidth"), d = p ? this.element.parentNode : this.element, f = i(d);
2483
+ this.containerWidth = f && f.innerWidth;
2484
+ }, r._getItemLayoutPosition = function(p) {
2485
+ p.getSize();
2486
+ var d = p.size.outerWidth % this.columnWidth, f = d && d < 1 ? "round" : "ceil", l = Math[f](p.size.outerWidth / this.columnWidth);
2487
2487
  l = Math.min(l, this.cols);
2488
- for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](l, f), k = {
2488
+ for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](l, p), k = {
2489
2489
  x: this.columnWidth * m.col,
2490
2490
  y: m.y
2491
- }, s = m.y + f.size.outerHeight, y = l + m.col, b = m.col; b < y; b++)
2491
+ }, s = m.y + p.size.outerHeight, y = l + m.col, b = m.col; b < y; b++)
2492
2492
  this.colYs[b] = s;
2493
2493
  return k;
2494
- }, r._getTopColPosition = function(f) {
2495
- var d = this._getTopColGroup(f), h = Math.min.apply(Math, d);
2494
+ }, r._getTopColPosition = function(p) {
2495
+ var d = this._getTopColGroup(p), f = Math.min.apply(Math, d);
2496
2496
  return {
2497
- col: d.indexOf(h),
2498
- y: h
2497
+ col: d.indexOf(f),
2498
+ y: f
2499
2499
  };
2500
- }, r._getTopColGroup = function(f) {
2501
- if (f < 2)
2500
+ }, r._getTopColGroup = function(p) {
2501
+ if (p < 2)
2502
2502
  return this.colYs;
2503
- for (var d = [], h = this.cols + 1 - f, l = 0; l < h; l++)
2504
- d[l] = this._getColGroupY(l, f);
2503
+ for (var d = [], f = this.cols + 1 - p, l = 0; l < f; l++)
2504
+ d[l] = this._getColGroupY(l, p);
2505
2505
  return d;
2506
- }, r._getColGroupY = function(f, d) {
2506
+ }, r._getColGroupY = function(p, d) {
2507
2507
  if (d < 2)
2508
- return this.colYs[f];
2509
- var h = this.colYs.slice(f, f + d);
2510
- return Math.max.apply(Math, h);
2511
- }, r._getHorizontalColPosition = function(f, d) {
2512
- var h = this.horizontalColIndex % this.cols, l = f > 1 && h + f > this.cols;
2513
- h = l ? 0 : h;
2508
+ return this.colYs[p];
2509
+ var f = this.colYs.slice(p, p + d);
2510
+ return Math.max.apply(Math, f);
2511
+ }, r._getHorizontalColPosition = function(p, d) {
2512
+ var f = this.horizontalColIndex % this.cols, l = p > 1 && f + p > this.cols;
2513
+ f = l ? 0 : f;
2514
2514
  var v = d.size.outerWidth && d.size.outerHeight;
2515
- return this.horizontalColIndex = v ? h + f : this.horizontalColIndex, {
2516
- col: h,
2517
- y: this._getColGroupY(h, f)
2515
+ return this.horizontalColIndex = v ? f + p : this.horizontalColIndex, {
2516
+ col: f,
2517
+ y: this._getColGroupY(f, p)
2518
2518
  };
2519
- }, r._manageStamp = function(f) {
2520
- var d = i(f), h = this._getElementOffset(f), l = this._getOption("originLeft"), v = l ? h.left : h.right, m = v + d.outerWidth, k = Math.floor(v / this.columnWidth);
2519
+ }, r._manageStamp = function(p) {
2520
+ var d = i(p), f = this._getElementOffset(p), l = this._getOption("originLeft"), v = l ? f.left : f.right, m = v + d.outerWidth, k = Math.floor(v / this.columnWidth);
2521
2521
  k = Math.max(0, k);
2522
2522
  var s = Math.floor(m / this.columnWidth);
2523
2523
  s -= m % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
2524
- for (var y = this._getOption("originTop"), b = (y ? h.top : h.bottom) + d.outerHeight, c = k; c <= s; c++)
2524
+ for (var y = this._getOption("originTop"), b = (y ? f.top : f.bottom) + d.outerHeight, c = k; c <= s; c++)
2525
2525
  this.colYs[c] = Math.max(b, this.colYs[c]);
2526
2526
  }, r._getContainerSize = function() {
2527
2527
  this.maxY = Math.max.apply(Math, this.colYs);
2528
- var f = {
2528
+ var p = {
2529
2529
  height: this.maxY
2530
2530
  };
2531
- return this._getOption("fitWidth") && (f.width = this._getContainerFitWidth()), f;
2531
+ return this._getOption("fitWidth") && (p.width = this._getContainerFitWidth()), p;
2532
2532
  }, r._getContainerFitWidth = function() {
2533
- for (var f = 0, d = this.cols; --d && this.colYs[d] === 0; )
2534
- f++;
2535
- return (this.cols - f) * this.columnWidth - this.gutter;
2533
+ for (var p = 0, d = this.cols; --d && this.colYs[d] === 0; )
2534
+ p++;
2535
+ return (this.cols - p) * this.columnWidth - this.gutter;
2536
2536
  }, r.needsResizeLayout = function() {
2537
- var f = this.containerWidth;
2538
- return this.getContainerWidth(), f != this.containerWidth;
2537
+ var p = this.containerWidth;
2538
+ return this.getContainerWidth(), p != this.containerWidth;
2539
2539
  }, u;
2540
2540
  });
2541
2541
  })(eo);
@@ -2561,13 +2561,13 @@ var to = { exports: {} };
2561
2561
  // -------------------------- factory -------------------------- //
2562
2562
  function(o, i) {
2563
2563
  var u = o.jQuery, r = o.console;
2564
- function f(s, y) {
2564
+ function p(s, y) {
2565
2565
  for (var b in y)
2566
2566
  s[b] = y[b];
2567
2567
  return s;
2568
2568
  }
2569
2569
  var d = Array.prototype.slice;
2570
- function h(s) {
2570
+ function f(s) {
2571
2571
  if (Array.isArray(s))
2572
2572
  return s;
2573
2573
  var y = typeof s == "object" && typeof s.length == "number";
@@ -2581,7 +2581,7 @@ var to = { exports: {} };
2581
2581
  r.error("Bad element for imagesLoaded " + (c || s));
2582
2582
  return;
2583
2583
  }
2584
- this.elements = h(c), this.options = f({}, this.options), typeof y == "function" ? b = y : f(this.options, y), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
2584
+ this.elements = f(c), this.options = p({}, this.options), typeof y == "function" ? b = y : p(this.options, y), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
2585
2585
  }
2586
2586
  l.prototype = Object.create(i.prototype), l.prototype.options = {}, l.prototype.getImages = function() {
2587
2587
  this.images = [], this.elements.forEach(this.addElementImages, this);
@@ -2594,9 +2594,9 @@ var to = { exports: {} };
2594
2594
  this.addImage(n);
2595
2595
  }
2596
2596
  if (typeof this.options.background == "string") {
2597
- var p = s.querySelectorAll(this.options.background);
2598
- for (c = 0; c < p.length; c++) {
2599
- var _ = p[c];
2597
+ var h = s.querySelectorAll(this.options.background);
2598
+ for (c = 0; c < h.length; c++) {
2599
+ var _ = h[c];
2600
2600
  this.addElementBackgroundImages(_);
2601
2601
  }
2602
2602
  }
@@ -2732,11 +2732,11 @@ oo.install = function(t, e) {
2732
2732
  const o = Mn(), i = "VueMasonry", u = t;
2733
2733
  u.directive("masonry", {
2734
2734
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2735
- mounted: function(r, f) {
2735
+ mounted: function(r, p) {
2736
2736
  if (!Rt)
2737
2737
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2738
- const d = Bn(r.attributes), h = new Rt(r, d), l = f.value || i, v = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, m = function() {
2739
- h.reloadItems(), h.layout();
2738
+ const d = Bn(r.attributes), f = new Rt(r, d), l = p.value || i, v = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, m = function() {
2739
+ f.reloadItems(), f.layout();
2740
2740
  };
2741
2741
  Gt(() => {
2742
2742
  m();
@@ -2747,18 +2747,18 @@ oo.install = function(t, e) {
2747
2747
  o["off"](`${Fe}__${l}`, k), o["off"](`${ut}__${l}`, k), o["off"](`${dt}__${l}`, k), o["off"](`${ct}__${l}`, s);
2748
2748
  const b = v && !Number.isNaN(v) ? v : 0;
2749
2749
  setTimeout(function() {
2750
- h.destroy();
2750
+ f.destroy();
2751
2751
  }, b);
2752
2752
  };
2753
2753
  o["on"](`${Fe}__${l}`, k), o["on"](`${ut}__${l}`, k), o["on"](`${dt}__${l}`, k), o["on"](`${ct}__${l}`, s);
2754
2754
  },
2755
- unbind: function(r, f) {
2756
- const d = f.value || i;
2755
+ unbind: function(r, p) {
2756
+ const d = p.value || i;
2757
2757
  o["emit"](`${ct}__${d}`);
2758
2758
  }
2759
2759
  }), u.directive("masonryTile", {
2760
- mounted: function(r, f) {
2761
- const d = f.value || i;
2760
+ mounted: function(r, p) {
2761
+ const d = p.value || i;
2762
2762
  o["emit"](`${Fe}__${d}`, {
2763
2763
  element: r
2764
2764
  }), new Dn(r, function() {
@@ -2767,16 +2767,16 @@ oo.install = function(t, e) {
2767
2767
  });
2768
2768
  });
2769
2769
  },
2770
- unbind: function(r, f) {
2771
- const d = f.value || i;
2770
+ unbind: function(r, p) {
2771
+ const d = p.value || i;
2772
2772
  o["emit"](`${ut}__${d}`, {
2773
2773
  element: r
2774
2774
  });
2775
2775
  }
2776
2776
  });
2777
2777
  {
2778
- const r = function(f) {
2779
- const d = f || i;
2778
+ const r = function(p) {
2779
+ const d = p || i;
2780
2780
  o["emit"](`${Fe}__${d}`);
2781
2781
  };
2782
2782
  t.config.globalProperties.$redrawVueMasonry = r, t.provide("redrawVueMasonry", r);
@@ -2818,8 +2818,8 @@ class qn {
2818
2818
  for (; this._deprecatedHooks[e]; )
2819
2819
  r = this._deprecatedHooks[e], e = r.to;
2820
2820
  if (r && !i.allowDeprecated) {
2821
- let f = r.message;
2822
- f || (f = `${u} hook has been deprecated` + (r.to ? `, please use ${r.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(f) || (console.warn(f), this._deprecatedMessages.add(f));
2821
+ let p = r.message;
2822
+ p || (p = `${u} hook has been deprecated` + (r.to ? `, please use ${r.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
2823
2823
  }
2824
2824
  if (!o.name)
2825
2825
  try {
@@ -2954,8 +2954,8 @@ function ro(t, e) {
2954
2954
  i === "meta" && u.push("name", "property", "http-equiv");
2955
2955
  for (const r of u)
2956
2956
  if (typeof o[r] < "u") {
2957
- const f = String(o[r]);
2958
- return e && !e(f) ? !1 : `${i}:${r}:${f}`;
2957
+ const p = String(o[r]);
2958
+ return e && !e(p) ? !1 : `${i}:${r}:${p}`;
2959
2959
  }
2960
2960
  return !1;
2961
2961
  }
@@ -3020,18 +3020,18 @@ const or = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }],
3020
3020
  function qe(t, e, o) {
3021
3021
  if (typeof t != "string" || !t.includes("%"))
3022
3022
  return t;
3023
- function i(f) {
3023
+ function i(p) {
3024
3024
  let d;
3025
- return ["s", "pageTitle"].includes(f) ? d = e.pageTitle : f.includes(".") ? d = f.split(".").reduce((h, l) => h && h[l] || void 0, e) : d = e[f], typeof d < "u" ? (d || "").replace(/"/g, '\\"') : !1;
3025
+ return ["s", "pageTitle"].includes(p) ? d = e.pageTitle : p.includes(".") ? d = p.split(".").reduce((f, l) => f && f[l] || void 0, e) : d = e[p], typeof d < "u" ? (d || "").replace(/"/g, '\\"') : !1;
3026
3026
  }
3027
3027
  let u = t;
3028
3028
  try {
3029
3029
  u = decodeURI(t);
3030
3030
  } catch {
3031
3031
  }
3032
- return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((f) => {
3033
- const d = i(f.slice(1));
3034
- typeof d == "string" && (t = t.replace(new RegExp(`\\${f}(\\W|$)`, "g"), (h, l) => `${d}${l}`).trim());
3032
+ return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
3033
+ const d = i(p.slice(1));
3034
+ typeof d == "string" && (t = t.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (f, l) => `${d}${l}`).trim());
3035
3035
  }), t.includes(re) && (t.endsWith(re) && (t = t.slice(0, -re.length).trim()), t.startsWith(re) && (t = t.slice(re.length).trim()), t = t.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), t = qe(t, { separator: o }, o)), t;
3036
3036
  }
3037
3037
  async function ir(t) {
@@ -3068,7 +3068,7 @@ async function nr(t, e = {}) {
3068
3068
  }
3069
3069
  }
3070
3070
  r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
3071
- function f(v, m, k) {
3071
+ function p(v, m, k) {
3072
3072
  const s = `${v}:${m}`;
3073
3073
  r.sideEffects[s] = k, delete r.pendingSideEffects[s];
3074
3074
  }
@@ -3076,18 +3076,18 @@ async function nr(t, e = {}) {
3076
3076
  const s = k.tag.endsWith("Attrs");
3077
3077
  r.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((y) => {
3078
3078
  k[y] && k[y] !== m[y] && (m[y] = k[y]);
3079
- }), f(v, "el", () => {
3079
+ }), p(v, "el", () => {
3080
3080
  r.elMap[v].remove(), delete r.elMap[v];
3081
3081
  })), Object.entries(k.props).forEach(([y, b]) => {
3082
3082
  const c = `attr:${y}`;
3083
3083
  if (y === "class")
3084
3084
  for (const n of (b || "").split(" ").filter(Boolean))
3085
- s && f(v, `${c}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
3085
+ s && p(v, `${c}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
3086
3086
  else
3087
- m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), s && f(v, c, () => m.removeAttribute(y));
3087
+ m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), s && p(v, c, () => m.removeAttribute(y));
3088
3088
  });
3089
3089
  }
3090
- const h = [], l = {
3090
+ const f = [], l = {
3091
3091
  bodyClose: void 0,
3092
3092
  bodyOpen: void 0,
3093
3093
  head: void 0
@@ -3099,15 +3099,15 @@ async function nr(t, e = {}) {
3099
3099
  o.title = m.textContent;
3100
3100
  continue;
3101
3101
  }
3102
- v.$el = v.$el || r.elMap[s], v.$el ? d(v) : Ue.includes(m.tag) && h.push(v);
3102
+ v.$el = v.$el || r.elMap[s], v.$el ? d(v) : Ue.includes(m.tag) && f.push(v);
3103
3103
  }
3104
3104
  }
3105
- for (const v of h) {
3105
+ for (const v of f) {
3106
3106
  const m = v.tag.tagPosition || "head";
3107
3107
  v.$el = o.createElement(v.tag.tag), d(v), l[m] = l[m] || o.createDocumentFragment(), l[m].appendChild(v.$el);
3108
3108
  }
3109
3109
  for (const v of u)
3110
- await t.hooks.callHook("dom:renderTag", v, o, f);
3110
+ await t.hooks.callHook("dom:renderTag", v, o, p);
3111
3111
  l.head && o.head.appendChild(l.head), l.bodyOpen && o.body.insertBefore(l.bodyOpen, o.body.firstChild), l.bodyClose && o.body.appendChild(l.bodyClose), Object.values(r.pendingSideEffects).forEach((v) => v()), t._dom = r, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: u });
3112
3112
  }
3113
3113
  async function rr(t, e = {}) {
@@ -3146,11 +3146,11 @@ const ar = ["templateParams", "htmlAttrs", "bodyAttrs"], lr = {
3146
3146
  if (r) {
3147
3147
  let d = i?.tagDuplicateStrategy;
3148
3148
  if (!d && ar.includes(i.tag) && (d = "merge"), d === "merge") {
3149
- const h = r.props;
3149
+ const f = r.props;
3150
3150
  ["class", "style"].forEach((l) => {
3151
- i.props[l] && h[l] && (l === "style" && !h[l].endsWith(";") && (h[l] += ";"), i.props[l] = `${h[l]} ${i.props[l]}`);
3151
+ f[l] && (i.props[l] ? (l === "style" && !f[l].endsWith(";") && (f[l] += ";"), i.props[l] = `${f[l]} ${i.props[l]}`) : i.props[l] = f[l]);
3152
3152
  }), e[u].props = {
3153
- ...h,
3153
+ ...f,
3154
3154
  ...i.props
3155
3155
  };
3156
3156
  return;
@@ -3160,8 +3160,8 @@ const ar = ["templateParams", "htmlAttrs", "bodyAttrs"], lr = {
3160
3160
  } else if (Ye(i) > Ye(r))
3161
3161
  return;
3162
3162
  }
3163
- const f = Object.keys(i.props).length + (i.innerHTML ? 1 : 0) + (i.textContent ? 1 : 0);
3164
- if (Ue.includes(i.tag) && f === 0) {
3163
+ const p = Object.keys(i.props).length + (i.innerHTML ? 1 : 0) + (i.textContent ? 1 : 0);
3164
+ if (Ue.includes(i.tag) && p === 0) {
3165
3165
  delete e[u];
3166
3166
  return;
3167
3167
  }
@@ -3208,30 +3208,30 @@ const fr = (t) => ({
3208
3208
  if (!e.tag._eventHandlers)
3209
3209
  return;
3210
3210
  const u = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
3211
- Object.entries(e.tag._eventHandlers).forEach(([r, f]) => {
3212
- const d = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), l = `data-h-${h}`;
3211
+ Object.entries(e.tag._eventHandlers).forEach(([r, p]) => {
3212
+ const d = `${e.tag._d || e.tag._p}:${r}`, f = r.slice(2).toLowerCase(), l = `data-h-${f}`;
3213
3213
  if (i(e.id, d, () => {
3214
3214
  }), e.$el.hasAttribute(l))
3215
3215
  return;
3216
3216
  e.$el.setAttribute(l, "");
3217
3217
  let v;
3218
3218
  const m = (k) => {
3219
- f(k), v?.disconnect();
3219
+ p(k), v?.disconnect();
3220
3220
  };
3221
3221
  r in e.$el.dataset ? m(new Event(r.replace("on", ""))) : ao.includes(r) && typeof MutationObserver < "u" ? (v = new MutationObserver((k) => {
3222
3222
  k.some((y) => y.attributeName === `data-${r}`) && (m(new Event(r.replace("on", ""))), v?.disconnect());
3223
3223
  }), v.observe(e.$el, {
3224
3224
  attributes: !0
3225
- })) : u.addEventListener(h, m), i(e.id, d, () => {
3226
- v?.disconnect(), u.removeEventListener(h, m), e.$el.removeAttribute(l);
3225
+ })) : u.addEventListener(f, m), i(e.id, d, () => {
3226
+ v?.disconnect(), u.removeEventListener(f, m), e.$el.removeAttribute(l);
3227
3227
  });
3228
3228
  });
3229
3229
  }
3230
3230
  }
3231
- }), hr = ["link", "style", "script", "noscript"], pr = {
3231
+ }), pr = ["link", "style", "script", "noscript"], hr = {
3232
3232
  hooks: {
3233
3233
  "tag:normalise": ({ tag: t }) => {
3234
- t.key && hr.includes(t.tag) && (t.props["data-hid"] = t._h = Et(t.key));
3234
+ t.key && pr.includes(t.tag) && (t.props["data-hid"] = t._h = Et(t.key));
3235
3235
  }
3236
3236
  }
3237
3237
  }, mr = {
@@ -3255,15 +3255,15 @@ const fr = (t) => ({
3255
3255
  }, gr = (t) => ({
3256
3256
  hooks: {
3257
3257
  "tags:resolve": (e) => {
3258
- const { tags: o } = e, i = o.find((d) => d.tag === "title")?.textContent, u = o.findIndex((d) => d.tag === "templateParams"), r = u !== -1 ? o[u].props : {}, f = r.separator || "|";
3259
- delete r.separator, r.pageTitle = qe(r.pageTitle || i || "", r, f);
3260
- for (const d of o.filter((h) => h.processTemplateParams !== !1)) {
3261
- const h = vr[d.tag];
3262
- h && typeof d.props[h] == "string" ? d.props[h] = qe(d.props[h], r, f) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((l) => {
3263
- typeof d[l] == "string" && (d[l] = qe(d[l], r, f));
3258
+ const { tags: o } = e, i = o.find((d) => d.tag === "title")?.textContent, u = o.findIndex((d) => d.tag === "templateParams"), r = u !== -1 ? o[u].props : {}, p = r.separator || "|";
3259
+ delete r.separator, r.pageTitle = qe(r.pageTitle || i || "", r, p);
3260
+ for (const d of o.filter((f) => f.processTemplateParams !== !1)) {
3261
+ const f = vr[d.tag];
3262
+ f && typeof d.props[f] == "string" ? d.props[f] = qe(d.props[f], r, p) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((l) => {
3263
+ typeof d[l] == "string" && (d[l] = qe(d[l], r, p));
3264
3264
  });
3265
3265
  }
3266
- t._templateParams = r, t._separator = f, e.tags = o.filter((d) => d.tag !== "templateParams");
3266
+ t._templateParams = r, t._separator = p, e.tags = o.filter((d) => d.tag !== "templateParams");
3267
3267
  }
3268
3268
  }
3269
3269
  }), yr = {
@@ -3310,23 +3310,23 @@ function kr(t = {}) {
3310
3310
  d.dirty = !0, e.callHook("entries:updated", d);
3311
3311
  };
3312
3312
  let u = 0, r = [];
3313
- const f = [], d = {
3314
- plugins: f,
3313
+ const p = [], d = {
3314
+ plugins: p,
3315
3315
  dirty: !1,
3316
3316
  resolvedOptions: t,
3317
3317
  hooks: e,
3318
3318
  headEntries() {
3319
3319
  return r;
3320
3320
  },
3321
- use(h) {
3322
- const l = typeof h == "function" ? h(d) : h;
3323
- (!l.key || !f.some((v) => v.key === l.key)) && (f.push(l), Bt(l.mode, o) && e.addHooks(l.hooks || {}));
3321
+ use(f) {
3322
+ const l = typeof f == "function" ? f(d) : f;
3323
+ (!l.key || !p.some((v) => v.key === l.key)) && (p.push(l), Bt(l.mode, o) && e.addHooks(l.hooks || {}));
3324
3324
  },
3325
- push(h, l) {
3325
+ push(f, l) {
3326
3326
  delete l?.head;
3327
3327
  const v = {
3328
3328
  _i: u++,
3329
- input: h,
3329
+ input: f,
3330
3330
  ...l
3331
3331
  };
3332
3332
  return Bt(v.mode, o) && (r.push(v), i()), {
@@ -3340,17 +3340,17 @@ function kr(t = {}) {
3340
3340
  };
3341
3341
  },
3342
3342
  async resolveTags() {
3343
- const h = { tags: [], entries: [...r] };
3344
- await e.callHook("entries:resolve", h);
3345
- for (const l of h.entries) {
3343
+ const f = { tags: [], entries: [...r] };
3344
+ await e.callHook("entries:resolve", f);
3345
+ for (const l of f.entries) {
3346
3346
  const v = l.resolvedInput || l.input;
3347
3347
  if (l.resolvedInput = await (l.transform ? l.transform(v) : v), l.resolvedInput)
3348
3348
  for (const m of await tr(l)) {
3349
3349
  const k = { tag: m, entry: l, resolvedOptions: d.resolvedOptions };
3350
- await e.callHook("tag:normalise", k), h.tags.push(k.tag);
3350
+ await e.callHook("tag:normalise", k), f.tags.push(k.tag);
3351
3351
  }
3352
3352
  }
3353
- return await e.callHook("tags:beforeResolve", h), await e.callHook("tags:resolve", h), await e.callHook("tags:afterResolve", h), h.tags;
3353
+ return await e.callHook("tags:beforeResolve", f), await e.callHook("tags:resolve", f), await e.callHook("tags:afterResolve", f), f.tags;
3354
3354
  },
3355
3355
  ssr: o
3356
3356
  };
@@ -3358,13 +3358,13 @@ function kr(t = {}) {
3358
3358
  lr,
3359
3359
  ur,
3360
3360
  fr,
3361
- pr,
3361
+ hr,
3362
3362
  mr,
3363
3363
  gr,
3364
3364
  yr,
3365
3365
  _r,
3366
3366
  ...t?.plugins || []
3367
- ].forEach((h) => d.use(h)), d.hooks.callHook("init", d), d;
3367
+ ].forEach((f) => d.use(f)), d.hooks.callHook("init", d), d;
3368
3368
  }
3369
3369
  const Er = Io.startsWith("3");
3370
3370
  function Tr(t) {