@konnectio/core 4.0.17 → 4.0.19

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